add app-shell, master-detail, pane-transition
This commit is contained in:
@@ -1,6 +1,10 @@
|
||||
/** 导出所有组件 */
|
||||
import RootLayout from "./root-layout";
|
||||
import PageTransition from "./page-transition";
|
||||
import AppShell from "./app-shell";
|
||||
import MasterDetail from "./master-detail";
|
||||
import MasterDetailPage from "./master-detail-page";
|
||||
import PaneTransition from "./pane-transition";
|
||||
import DurationPicker from "./duration-picker";
|
||||
import CodeEditor from "./code-editor";
|
||||
import TiptapEditor from "./tiptap-editor";
|
||||
@@ -23,6 +27,10 @@ import {
|
||||
export default [
|
||||
RootLayout,
|
||||
PageTransition,
|
||||
AppShell,
|
||||
MasterDetail,
|
||||
MasterDetailPage,
|
||||
PaneTransition,
|
||||
DurationPicker,
|
||||
CodeEditor,
|
||||
TiptapEditor,
|
||||
@@ -44,6 +52,10 @@ export default [
|
||||
export {
|
||||
RootLayout,
|
||||
PageTransition,
|
||||
AppShell,
|
||||
MasterDetail,
|
||||
MasterDetailPage,
|
||||
PaneTransition,
|
||||
DurationPicker,
|
||||
CodeEditor,
|
||||
TiptapEditor,
|
||||
@@ -62,6 +74,22 @@ export {
|
||||
AiChatThinking
|
||||
};
|
||||
|
||||
export { createLayoutContext, provideLayout, useLayout } from "./app-shell";
|
||||
export { useExpandToMaster, useMasterDetail, useMasterDetailPane, usePane } from "../composables/use-master-detail";
|
||||
export type { ExpandToMasterOptions, PaneContext, PaneDirection, UseMasterDetailOptions, UseMasterDetailPaneOptions, UseMasterDetailPaneReturn, UseMasterDetailReturn } from "../composables/use-master-detail";
|
||||
|
||||
export type {
|
||||
AppShellItem,
|
||||
AppShellLayoutOptions,
|
||||
AppShellMode,
|
||||
AppShellProps,
|
||||
AppShellValue,
|
||||
LayoutContext
|
||||
} from "./app-shell";
|
||||
|
||||
export type { MasterDetailProps } from "./master-detail";
|
||||
export type { MasterDetailPageProps } from "./master-detail-page";
|
||||
|
||||
export {
|
||||
AiChatHttpError,
|
||||
AiChatStreamError,
|
||||
|
||||
Reference in New Issue
Block a user