@dt-frames/ui 2.0.4 → 2.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/curd/index.js +80 -75
- package/es/components/curd/src/components/Curd.d.ts +0 -8
- package/es/components/curd/src/props.d.ts +0 -4
- package/es/components/form/index.d.ts +20 -53
- package/es/components/form/index.js +17 -27
- package/es/components/form/index.less +8 -3
- package/es/components/form/src/index.d.ts +16 -41
- package/es/components/source/index.js +8 -5
- package/es/components/source/types/source.type.d.ts +1 -0
- package/es/components/table/index.js +145 -95
- package/es/components/table/index.less +26 -5
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/index.d.ts +10 -0
- package/es/components/table/src/props.d.ts +4 -0
- package/es/components/tree/index.d.ts +2 -0
- package/es/components/tree/index.js +1087 -0
- package/es/components/tree/index.less +119 -0
- package/es/components/tree/src/basicProps.d.ts +146 -0
- package/es/components/tree/src/components/ContextMenu.d.ts +64 -0
- package/es/components/tree/src/components/TreeHeader.d.ts +98 -0
- package/es/components/tree/src/enums/index.d.ts +6 -0
- package/es/components/tree/src/hooks/useContextMenu.d.ts +2 -0
- package/es/components/tree/src/hooks/useTree.d.ts +14 -0
- package/es/components/tree/src/index.d.ts +6526 -0
- package/es/components/tree/src/type/menu.d.ts +33 -0
- package/es/components/tree/src/type/tree.d.ts +55 -0
- package/es/components/tree/src/utils/tree.d.ts +5 -0
- package/es/packages/ui/src/assets/locales/en.d.ts +101 -0
- package/es/packages/ui/src/assets/locales/index.d.ts +2 -0
- package/es/packages/ui/src/assets/locales/zh.d.ts +103 -0
- package/es/packages/ui/src/components/container/index.d.ts +94 -0
- package/es/packages/ui/src/components/container/src/components/bar.d.ts +14 -0
- package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +70 -0
- package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +10 -0
- package/es/packages/ui/src/components/container/src/scroll-container.d.ts +76 -0
- package/es/packages/ui/src/components/container/src/slot-container.d.ts +20 -0
- package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +22 -0
- package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +5 -0
- package/es/packages/ui/src/global.d.ts +7 -0
- package/es/packages/ui/src/theme/index.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/content/index.d.ts +27 -0
- package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/feature/index.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/footer/index.d.ts +31 -0
- package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +5 -0
- package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +11 -0
- package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +23 -0
- package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +56 -0
- package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +24 -0
- package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +223 -0
- package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +282 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +138 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +16 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +58 -0
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +49 -0
- package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +37 -0
- package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +13 -0
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +4 -0
- package/es/packages/ui/src/theme/src/components/header/index.d.ts +720 -0
- package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +806 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +62 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +207 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +127 -0
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +26 -0
- package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +14 -0
- package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +22 -0
- package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +69 -0
- package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +17 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +12 -0
- package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +10 -0
- package/es/packages/ui/src/theme/src/components/sider/index.d.ts +235 -0
- package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +167 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +21 -0
- package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +7 -0
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -0
- package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +63 -0
- package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +7 -0
- package/es/packages/ui/src/theme/src/enums/index.d.ts +1 -0
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +34 -0
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +6 -0
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +2 -0
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +25 -0
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +29 -0
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +8 -0
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +7 -0
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +9 -0
- package/es/packages/ui/src/theme/src/index.d.ts +1851 -0
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +2 -0
- package/es/packages/ui/src/theme/src/stores/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +23 -0
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +18 -0
- package/es/packages/ui/src/theme/src/types/index.d.ts +3 -0
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +15 -0
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +62 -0
- package/es/packages/ui/src/utils/withInstall.d.ts +4 -0
- package/es/theme/index.d.ts +2 -1
- package/es/theme/index.js +658 -665
- package/es/theme/index.less +55 -0
- package/es/theme/src/components/header/components/logo.d.ts +22 -0
- package/es/theme/src/components/header/index.d.ts +87 -0
- package/es/theme/src/components/header/multiple-header.d.ts +88 -0
- package/es/theme/src/components/sider/index.d.ts +22 -0
- package/es/theme/src/components/sider/mix-sider.d.ts +22 -0
- package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
- package/es/theme/src/index.d.ts +197 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/index.d.ts +2 -1
- package/index.js +6 -2
- package/package.json +4 -2
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -0
package/es/theme/src/index.d.ts
CHANGED
|
@@ -52,10 +52,75 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
52
52
|
getShowTopMenu: import("vue").ComputedRef<boolean>;
|
|
53
53
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
54
54
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
55
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
56
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
55
57
|
getSplitType: import("vue").ComputedRef<import("./enums").MenuSplitTye.NONE | import("./enums").MenuSplitTye.TOP>;
|
|
56
58
|
getMenuMode: import("vue").ComputedRef<import("./enums").MenuMode>;
|
|
59
|
+
getShowTab: import("vue").ComputedRef<boolean>;
|
|
57
60
|
props: any;
|
|
58
61
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
62
|
+
MultipleTabs: import("vue").DefineComponent<{}, {
|
|
63
|
+
t: {
|
|
64
|
+
(key: string): string;
|
|
65
|
+
(key: string, locale: string): string;
|
|
66
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
67
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
68
|
+
(key: string, list: unknown[]): string;
|
|
69
|
+
(key: string, named: Record<string, unknown>): string;
|
|
70
|
+
};
|
|
71
|
+
router: import("vue-router").Router;
|
|
72
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
73
|
+
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
74
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
75
|
+
getCachedTabList(): string[];
|
|
76
|
+
getLastDragEndIndex(): number;
|
|
77
|
+
}, {
|
|
78
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
79
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
80
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
81
|
+
closeLeftTabs(path: string): void;
|
|
82
|
+
closeRightTabs(path: string): void;
|
|
83
|
+
closeOtherTabs(path: string): void;
|
|
84
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
85
|
+
updateCacheTab(): void;
|
|
86
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
87
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
88
|
+
}>;
|
|
89
|
+
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
90
|
+
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
91
|
+
menuLabelMap: Map<any, any>;
|
|
92
|
+
activeKeyRef: any;
|
|
93
|
+
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
94
|
+
unClose: import("vue").ComputedRef<boolean>;
|
|
95
|
+
handleChange: (activeKey: string) => void;
|
|
96
|
+
handleEdit: (targetKey: string) => void;
|
|
97
|
+
affixTextList: string[];
|
|
98
|
+
readonly DtTabRedo: import("vue").DefineComponent<{}, {
|
|
99
|
+
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
100
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
101
|
+
getCachedTabList(): string[];
|
|
102
|
+
getLastDragEndIndex(): number;
|
|
103
|
+
}, {
|
|
104
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
105
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
106
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
107
|
+
closeLeftTabs(path: string): void;
|
|
108
|
+
closeRightTabs(path: string): void;
|
|
109
|
+
closeOtherTabs(path: string): void;
|
|
110
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
111
|
+
updateCacheTab(): void;
|
|
112
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
113
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
114
|
+
}>;
|
|
115
|
+
router: import("vue-router").Router;
|
|
116
|
+
handleRedo: () => void;
|
|
117
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
118
|
+
readonly DtTabContent: import("vue").DefineComponent<{}, {
|
|
119
|
+
getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
|
|
120
|
+
handleContext: (e: any) => void;
|
|
121
|
+
handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
|
|
122
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
123
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
59
124
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
60
125
|
toggle: () => Promise<void>;
|
|
61
126
|
isFullscreen: import("vue").Ref<boolean>;
|
|
@@ -78,10 +143,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
78
143
|
(key: string, list: unknown[]): string;
|
|
79
144
|
(key: string, named: Record<string, unknown>): string;
|
|
80
145
|
};
|
|
146
|
+
slots: {
|
|
147
|
+
[name: string]: import("vue").Slot;
|
|
148
|
+
};
|
|
81
149
|
title: string;
|
|
82
150
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
83
151
|
props: any;
|
|
84
152
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
153
|
+
readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
154
|
+
template: {
|
|
155
|
+
type: FunctionConstructor;
|
|
156
|
+
};
|
|
157
|
+
data: {
|
|
158
|
+
type: ObjectConstructor;
|
|
159
|
+
};
|
|
160
|
+
}, {
|
|
161
|
+
props: any;
|
|
162
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
163
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
+
template: {
|
|
165
|
+
type: FunctionConstructor;
|
|
166
|
+
};
|
|
167
|
+
data: {
|
|
168
|
+
type: ObjectConstructor;
|
|
169
|
+
};
|
|
170
|
+
}>>, {}>>;
|
|
171
|
+
readonly logoUrl: string;
|
|
85
172
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
86
173
|
theme: {
|
|
87
174
|
type: StringConstructor;
|
|
@@ -852,10 +939,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
852
939
|
(key: string, list: unknown[]): string;
|
|
853
940
|
(key: string, named: Record<string, unknown>): string;
|
|
854
941
|
};
|
|
942
|
+
slots: {
|
|
943
|
+
[name: string]: import("vue").Slot;
|
|
944
|
+
};
|
|
855
945
|
title: string;
|
|
856
946
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
857
947
|
props: any;
|
|
858
948
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
949
|
+
readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
950
|
+
template: {
|
|
951
|
+
type: FunctionConstructor;
|
|
952
|
+
};
|
|
953
|
+
data: {
|
|
954
|
+
type: ObjectConstructor;
|
|
955
|
+
};
|
|
956
|
+
}, {
|
|
957
|
+
props: any;
|
|
958
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
959
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
960
|
+
template: {
|
|
961
|
+
type: FunctionConstructor;
|
|
962
|
+
};
|
|
963
|
+
data: {
|
|
964
|
+
type: ObjectConstructor;
|
|
965
|
+
};
|
|
966
|
+
}>>, {}>>;
|
|
967
|
+
readonly logoUrl: string;
|
|
859
968
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
860
969
|
theme: {
|
|
861
970
|
type: StringConstructor;
|
|
@@ -956,6 +1065,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
956
1065
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
957
1066
|
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
958
1067
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
1068
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
959
1069
|
getPlaceholderDomStyle: import("vue").ComputedRef<{
|
|
960
1070
|
height: string;
|
|
961
1071
|
}>;
|
|
@@ -982,10 +1092,75 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
982
1092
|
getShowTopMenu: import("vue").ComputedRef<boolean>;
|
|
983
1093
|
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
984
1094
|
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
1095
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
1096
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
985
1097
|
getSplitType: import("vue").ComputedRef<import("./enums").MenuSplitTye.NONE | import("./enums").MenuSplitTye.TOP>;
|
|
986
1098
|
getMenuMode: import("vue").ComputedRef<import("./enums").MenuMode>;
|
|
1099
|
+
getShowTab: import("vue").ComputedRef<boolean>;
|
|
987
1100
|
props: any;
|
|
988
1101
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
1102
|
+
MultipleTabs: import("vue").DefineComponent<{}, {
|
|
1103
|
+
t: {
|
|
1104
|
+
(key: string): string;
|
|
1105
|
+
(key: string, locale: string): string;
|
|
1106
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1107
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1108
|
+
(key: string, list: unknown[]): string;
|
|
1109
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1110
|
+
};
|
|
1111
|
+
router: import("vue-router").Router;
|
|
1112
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
1113
|
+
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
1114
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
1115
|
+
getCachedTabList(): string[];
|
|
1116
|
+
getLastDragEndIndex(): number;
|
|
1117
|
+
}, {
|
|
1118
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1119
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
1120
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1121
|
+
closeLeftTabs(path: string): void;
|
|
1122
|
+
closeRightTabs(path: string): void;
|
|
1123
|
+
closeOtherTabs(path: string): void;
|
|
1124
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
1125
|
+
updateCacheTab(): void;
|
|
1126
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1127
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1128
|
+
}>;
|
|
1129
|
+
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
1130
|
+
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
1131
|
+
menuLabelMap: Map<any, any>;
|
|
1132
|
+
activeKeyRef: any;
|
|
1133
|
+
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
1134
|
+
unClose: import("vue").ComputedRef<boolean>;
|
|
1135
|
+
handleChange: (activeKey: string) => void;
|
|
1136
|
+
handleEdit: (targetKey: string) => void;
|
|
1137
|
+
affixTextList: string[];
|
|
1138
|
+
readonly DtTabRedo: import("vue").DefineComponent<{}, {
|
|
1139
|
+
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
1140
|
+
getTabList(): import("vue-router").RouteLocationNormalized[];
|
|
1141
|
+
getCachedTabList(): string[];
|
|
1142
|
+
getLastDragEndIndex(): number;
|
|
1143
|
+
}, {
|
|
1144
|
+
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1145
|
+
closeTab(path: string, router: import("vue-router").Router): void;
|
|
1146
|
+
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1147
|
+
closeLeftTabs(path: string): void;
|
|
1148
|
+
closeRightTabs(path: string): void;
|
|
1149
|
+
closeOtherTabs(path: string): void;
|
|
1150
|
+
bulkCloseTabs(pathList: string[]): void;
|
|
1151
|
+
updateCacheTab(): void;
|
|
1152
|
+
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1153
|
+
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1154
|
+
}>;
|
|
1155
|
+
router: import("vue-router").Router;
|
|
1156
|
+
handleRedo: () => void;
|
|
1157
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1158
|
+
readonly DtTabContent: import("vue").DefineComponent<{}, {
|
|
1159
|
+
getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
|
|
1160
|
+
handleContext: (e: any) => void;
|
|
1161
|
+
handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
|
|
1162
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1163
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
989
1164
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
990
1165
|
toggle: () => Promise<void>;
|
|
991
1166
|
isFullscreen: import("vue").Ref<boolean>;
|
|
@@ -1008,10 +1183,32 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1008
1183
|
(key: string, list: unknown[]): string;
|
|
1009
1184
|
(key: string, named: Record<string, unknown>): string;
|
|
1010
1185
|
};
|
|
1186
|
+
slots: {
|
|
1187
|
+
[name: string]: import("vue").Slot;
|
|
1188
|
+
};
|
|
1011
1189
|
title: string;
|
|
1012
1190
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
1013
1191
|
props: any;
|
|
1014
1192
|
getLogoClass: import("vue").ComputedRef<string>;
|
|
1193
|
+
readonly DtSlotContainer: import("../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
1194
|
+
template: {
|
|
1195
|
+
type: FunctionConstructor;
|
|
1196
|
+
};
|
|
1197
|
+
data: {
|
|
1198
|
+
type: ObjectConstructor;
|
|
1199
|
+
};
|
|
1200
|
+
}, {
|
|
1201
|
+
props: any;
|
|
1202
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
1203
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1204
|
+
template: {
|
|
1205
|
+
type: FunctionConstructor;
|
|
1206
|
+
};
|
|
1207
|
+
data: {
|
|
1208
|
+
type: ObjectConstructor;
|
|
1209
|
+
};
|
|
1210
|
+
}>>, {}>>;
|
|
1211
|
+
readonly logoUrl: string;
|
|
1015
1212
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1016
1213
|
theme: {
|
|
1017
1214
|
type: StringConstructor;
|
package/index.d.ts
CHANGED
|
@@ -7,4 +7,5 @@ export * from './es/components/source/index.d'
|
|
|
7
7
|
export * from './es/components/form/index.d'
|
|
8
8
|
export * from './es/components/curd/index.d'
|
|
9
9
|
export * from './es/components/table/index.d'
|
|
10
|
-
export * from './es/components/drawer/index.d'
|
|
10
|
+
export * from './es/components/drawer/index.d'
|
|
11
|
+
export * from './es/components/tree/index.d'
|
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DtTheme, uiLang, useThemeStore, useRouteReuseStore, defaultThemeConf } from './es/theme/index'
|
|
1
|
+
import { DtTheme, uiLang, useThemeStore, useRouteReuseStore, defaultThemeConf, UiSize, ContentMode } from './es/theme/index'
|
|
2
2
|
import { DtIcon, DtPickIcon } from './es/components/icons/index'
|
|
3
3
|
import { DtScrollContainer } from './es/components/container/index'
|
|
4
4
|
import { initDirectives } from './es/directives/index'
|
|
@@ -8,8 +8,11 @@ import { DtTable, useTable } from './es/components/table/index'
|
|
|
8
8
|
import { useSource } from './es/components/source/index'
|
|
9
9
|
import { useCurd } from './es/components/curd/index'
|
|
10
10
|
import { DtDrawer, useDrawer, useDrawerOut } from './es/components/drawer/index'
|
|
11
|
+
import { DtTree } from './es/components/tree/index'
|
|
11
12
|
|
|
12
13
|
export {
|
|
14
|
+
UiSize,
|
|
15
|
+
ContentMode,
|
|
13
16
|
uiLang,
|
|
14
17
|
initDirectives,
|
|
15
18
|
useThemeStore,
|
|
@@ -30,5 +33,6 @@ export {
|
|
|
30
33
|
useCurd,
|
|
31
34
|
DtDrawer,
|
|
32
35
|
useDrawer,
|
|
33
|
-
useDrawerOut
|
|
36
|
+
useDrawerOut,
|
|
37
|
+
DtTree
|
|
34
38
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dt-frames/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.ts",
|
|
@@ -40,9 +40,11 @@
|
|
|
40
40
|
"dev:icons": "pnpm dev -f icons",
|
|
41
41
|
"build:icons": "pnpm temp -f icons",
|
|
42
42
|
"build:container": "pnpm temp -f container",
|
|
43
|
+
"dev:tree": "pnpm dev -f tree",
|
|
44
|
+
"build:tree": "pnpm temp -f tree",
|
|
43
45
|
"dev:directives": "pnpm dev -f directives",
|
|
44
46
|
"build:directives": "pnpm temp -f directives",
|
|
45
|
-
"build:all": "npm-run-all clean -s temp build:icons build:directives build:container build:theme build:modal build:form build:table build:source build:curd build:drawer",
|
|
47
|
+
"build:all": "npm-run-all clean -s temp build:icons build:directives build:container build:theme build:modal build:form build:table build:source build:curd build:drawer build:tree",
|
|
46
48
|
"preview": "vite preview"
|
|
47
49
|
},
|
|
48
50
|
"dependencies": {
|
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED