@dt-frames/ui 2.0.5 → 2.0.6
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/assets/locales/en.d.ts +2 -0
- package/es/assets/locales/en.ts +2 -0
- package/es/assets/locales/zh.d.ts +1 -0
- package/es/assets/locales/zh.ts +6 -5
- package/es/components/curd/index.js +113 -63
- package/es/components/form/index.js +24 -12
- package/es/theme/index.js +208 -71
- package/es/theme/index.less +1 -0
- package/es/theme/src/components/content/index.d.ts +6 -4
- package/es/theme/src/components/header/index.d.ts +43 -20
- package/es/theme/src/components/header/multiple-header.d.ts +86 -40
- package/es/theme/src/components/tabs/components/TabContent.d.ts +33 -3
- package/es/theme/src/components/tabs/components/TabRedo.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabDropdown.d.ts +6 -4
- package/es/theme/src/components/tabs/hooks/useTabs.d.ts +10 -0
- package/es/theme/src/components/tabs/index.d.ts +43 -20
- package/es/theme/src/hooks/useMenu.d.ts +1 -1
- package/es/theme/src/index.d.ts +136 -64
- package/es/theme/src/stores/routeReuse.store.d.ts +6 -4
- package/es/theme/src/stores/theme.store.d.ts +1 -0
- package/es/theme/src/types/theme.type.d.ts +1 -0
- package/package.json +1 -1
- package/es/packages/ui/src/assets/locales/en.d.ts +0 -101
- package/es/packages/ui/src/assets/locales/index.d.ts +0 -2
- package/es/packages/ui/src/assets/locales/zh.d.ts +0 -103
- package/es/packages/ui/src/components/container/index.d.ts +0 -94
- package/es/packages/ui/src/components/container/src/components/bar.d.ts +0 -14
- package/es/packages/ui/src/components/container/src/components/scroll-bar.d.ts +0 -70
- package/es/packages/ui/src/components/container/src/hooks/scroll.d.ts +0 -10
- package/es/packages/ui/src/components/container/src/scroll-container.d.ts +0 -76
- package/es/packages/ui/src/components/container/src/slot-container.d.ts +0 -20
- package/es/packages/ui/src/components/container/src/types/scroll.type.d.ts +0 -22
- package/es/packages/ui/src/components/container/src/utils/scroll.d.ts +0 -5
- package/es/packages/ui/src/global.d.ts +0 -7
- package/es/packages/ui/src/theme/index.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/content/index.d.ts +0 -27
- package/es/packages/ui/src/theme/src/components/feature/back-top.d.ts +0 -5
- package/es/packages/ui/src/theme/src/components/feature/index.d.ts +0 -7
- package/es/packages/ui/src/theme/src/components/footer/index.d.ts +0 -31
- package/es/packages/ui/src/theme/src/components/header/components/bread-crumb.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/header/components/fullscreen.d.ts +0 -5
- package/es/packages/ui/src/theme/src/components/header/components/index.d.ts +0 -11
- package/es/packages/ui/src/theme/src/components/header/components/lang-picker.d.ts +0 -23
- package/es/packages/ui/src/theme/src/components/header/components/logo.d.ts +0 -56
- package/es/packages/ui/src/theme/src/components/header/components/menu-filter.d.ts +0 -22
- package/es/packages/ui/src/theme/src/components/header/components/notify.d.ts +0 -24
- package/es/packages/ui/src/theme/src/components/header/components/setting-theme.d.ts +0 -223
- package/es/packages/ui/src/theme/src/components/header/components/size.d.ts +0 -282
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/feature.d.ts +0 -138
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/menu-type.d.ts +0 -16
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/select.d.ts +0 -58
- package/es/packages/ui/src/theme/src/components/header/components/theme-drawer/switch.d.ts +0 -49
- package/es/packages/ui/src/theme/src/components/header/components/trigger.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/header/components/user-info.d.ts +0 -37
- package/es/packages/ui/src/theme/src/components/header/helper/change-theme.d.ts +0 -13
- package/es/packages/ui/src/theme/src/components/header/helper/menu-tree.d.ts +0 -4
- package/es/packages/ui/src/theme/src/components/header/index.d.ts +0 -720
- package/es/packages/ui/src/theme/src/components/header/multiple-header.d.ts +0 -806
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu-item.d.ts +0 -62
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-menu.d.ts +0 -207
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/basic-sub-menu-item.d.ts +0 -127
- package/es/packages/ui/src/theme/src/components/sider/components/basic-menu/menu-item-content.d.ts +0 -26
- package/es/packages/ui/src/theme/src/components/sider/components/drag-bar.d.ts +0 -14
- package/es/packages/ui/src/theme/src/components/sider/components/layout-menu.d.ts +0 -22
- package/es/packages/ui/src/theme/src/components/sider/components/props.d.ts +0 -69
- package/es/packages/ui/src/theme/src/components/sider/components/sider-trigger.d.ts +0 -17
- package/es/packages/ui/src/theme/src/components/sider/helper/sider.d.ts +0 -12
- package/es/packages/ui/src/theme/src/components/sider/helper/split-menu.d.ts +0 -10
- package/es/packages/ui/src/theme/src/components/sider/index.d.ts +0 -235
- package/es/packages/ui/src/theme/src/components/sider/mix-sider.d.ts +0 -167
- package/es/packages/ui/src/theme/src/components/tabs/components/TabContent.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/tabs/components/TabRedo.d.ts +0 -21
- package/es/packages/ui/src/theme/src/components/tabs/components/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useMultifyTabs.d.ts +0 -7
- package/es/packages/ui/src/theme/src/components/tabs/hooks/useTabDropdown.d.ts +0 -6
- package/es/packages/ui/src/theme/src/components/tabs/index.d.ts +0 -63
- package/es/packages/ui/src/theme/src/components/tabs/types/tabs.type.d.ts +0 -7
- package/es/packages/ui/src/theme/src/enums/index.d.ts +0 -1
- package/es/packages/ui/src/theme/src/enums/theme.enum.d.ts +0 -34
- package/es/packages/ui/src/theme/src/hooks/index.d.ts +0 -6
- package/es/packages/ui/src/theme/src/hooks/useDragLine.d.ts +0 -2
- package/es/packages/ui/src/theme/src/hooks/useHeader.d.ts +0 -25
- package/es/packages/ui/src/theme/src/hooks/useMenu.d.ts +0 -29
- package/es/packages/ui/src/theme/src/hooks/useMultifyTab.d.ts +0 -8
- package/es/packages/ui/src/theme/src/hooks/useOpenKeys.d.ts +0 -7
- package/es/packages/ui/src/theme/src/hooks/useTheme.d.ts +0 -9
- package/es/packages/ui/src/theme/src/index.d.ts +0 -1851
- package/es/packages/ui/src/theme/src/setting/theme.setting.d.ts +0 -2
- package/es/packages/ui/src/theme/src/stores/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/stores/routeReuse.store.d.ts +0 -23
- package/es/packages/ui/src/theme/src/stores/theme.store.d.ts +0 -18
- package/es/packages/ui/src/theme/src/types/index.d.ts +0 -3
- package/es/packages/ui/src/theme/src/types/menu.type.d.ts +0 -15
- package/es/packages/ui/src/theme/src/types/theme.type.d.ts +0 -62
- package/es/packages/ui/src/utils/withInstall.d.ts +0 -4
package/es/theme/src/index.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
18
18
|
background: string;
|
|
19
19
|
}>;
|
|
20
20
|
getContentStyle: import("vue").ComputedRef<CSSProperties>;
|
|
21
|
+
router: import("vue-router").Router;
|
|
21
22
|
readonly RouterView: new () => {
|
|
22
23
|
$props: import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").VNodeProps & import("vue-router").RouterViewProps;
|
|
23
24
|
$slots: {
|
|
@@ -60,14 +61,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
60
61
|
props: any;
|
|
61
62
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
62
63
|
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
64
|
router: import("vue-router").Router;
|
|
72
65
|
go: (path: string, isReplace?: boolean) => void;
|
|
73
66
|
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
@@ -76,19 +69,20 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
76
69
|
getLastDragEndIndex(): number;
|
|
77
70
|
}, {
|
|
78
71
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
79
|
-
closeTab(
|
|
72
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
80
73
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
81
|
-
closeLeftTabs(
|
|
82
|
-
closeRightTabs(
|
|
83
|
-
closeOtherTabs(
|
|
74
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
75
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
76
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
77
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
84
78
|
bulkCloseTabs(pathList: string[]): void;
|
|
85
79
|
updateCacheTab(): void;
|
|
86
80
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
87
81
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
82
|
+
resetState(): void;
|
|
88
83
|
}>;
|
|
89
84
|
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
90
85
|
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
91
|
-
menuLabelMap: Map<any, any>;
|
|
92
86
|
activeKeyRef: any;
|
|
93
87
|
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
94
88
|
unClose: import("vue").ComputedRef<boolean>;
|
|
@@ -102,24 +96,54 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
102
96
|
getLastDragEndIndex(): number;
|
|
103
97
|
}, {
|
|
104
98
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
105
|
-
closeTab(
|
|
99
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
106
100
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
107
|
-
closeLeftTabs(
|
|
108
|
-
closeRightTabs(
|
|
109
|
-
closeOtherTabs(
|
|
101
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
102
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
103
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
104
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
110
105
|
bulkCloseTabs(pathList: string[]): void;
|
|
111
106
|
updateCacheTab(): void;
|
|
112
107
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
113
108
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
109
|
+
resetState(): void;
|
|
114
110
|
}>;
|
|
115
111
|
router: import("vue-router").Router;
|
|
116
112
|
handleRedo: () => void;
|
|
117
113
|
}, {}, {}, {}, 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<{
|
|
114
|
+
readonly DtTabContent: import("vue").DefineComponent<{
|
|
115
|
+
tabItem: {
|
|
116
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
117
|
+
default: any;
|
|
118
|
+
};
|
|
119
|
+
isExtra: BooleanConstructor;
|
|
120
|
+
}, {
|
|
121
|
+
t: {
|
|
122
|
+
(key: string): string;
|
|
123
|
+
(key: string, locale: string): string;
|
|
124
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
125
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
126
|
+
(key: string, list: unknown[]): string;
|
|
127
|
+
(key: string, named: Record<string, unknown>): string;
|
|
128
|
+
};
|
|
129
|
+
props: any;
|
|
130
|
+
menuLabelMap: Map<any, any>;
|
|
131
|
+
getIsTabs: import("vue").ComputedRef<boolean>;
|
|
132
|
+
getTrigger: import("vue").ComputedRef<("hover" | "click" | "contextmenu")[]>;
|
|
119
133
|
getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
|
|
120
|
-
|
|
134
|
+
handleContextMenu: (tabItem: import("vue-router").RouteLocationNormalized) => (e: Event) => void;
|
|
121
135
|
handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
|
|
122
|
-
|
|
136
|
+
handleContext: (e: any) => void;
|
|
137
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
138
|
+
tabItem: {
|
|
139
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
140
|
+
default: any;
|
|
141
|
+
};
|
|
142
|
+
isExtra: BooleanConstructor;
|
|
143
|
+
}>>, {
|
|
144
|
+
tabItem: import("vue-router").RouteLocationNormalized;
|
|
145
|
+
isExtra: boolean;
|
|
146
|
+
}>;
|
|
123
147
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
124
148
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
125
149
|
toggle: () => Promise<void>;
|
|
@@ -1100,14 +1124,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1100
1124
|
props: any;
|
|
1101
1125
|
getHeaderCls: import("vue").ComputedRef<string>;
|
|
1102
1126
|
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
1127
|
router: import("vue-router").Router;
|
|
1112
1128
|
go: (path: string, isReplace?: boolean) => void;
|
|
1113
1129
|
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
@@ -1116,19 +1132,20 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1116
1132
|
getLastDragEndIndex(): number;
|
|
1117
1133
|
}, {
|
|
1118
1134
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1119
|
-
closeTab(
|
|
1135
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1120
1136
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1121
|
-
closeLeftTabs(
|
|
1122
|
-
closeRightTabs(
|
|
1123
|
-
closeOtherTabs(
|
|
1137
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1138
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1139
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1140
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
1124
1141
|
bulkCloseTabs(pathList: string[]): void;
|
|
1125
1142
|
updateCacheTab(): void;
|
|
1126
1143
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1127
1144
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1145
|
+
resetState(): void;
|
|
1128
1146
|
}>;
|
|
1129
1147
|
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
1130
1148
|
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
1131
|
-
menuLabelMap: Map<any, any>;
|
|
1132
1149
|
activeKeyRef: any;
|
|
1133
1150
|
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
1134
1151
|
unClose: import("vue").ComputedRef<boolean>;
|
|
@@ -1142,24 +1159,54 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1142
1159
|
getLastDragEndIndex(): number;
|
|
1143
1160
|
}, {
|
|
1144
1161
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1145
|
-
closeTab(
|
|
1162
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1146
1163
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1147
|
-
closeLeftTabs(
|
|
1148
|
-
closeRightTabs(
|
|
1149
|
-
closeOtherTabs(
|
|
1164
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1165
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1166
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1167
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
1150
1168
|
bulkCloseTabs(pathList: string[]): void;
|
|
1151
1169
|
updateCacheTab(): void;
|
|
1152
1170
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1153
1171
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1172
|
+
resetState(): void;
|
|
1154
1173
|
}>;
|
|
1155
1174
|
router: import("vue-router").Router;
|
|
1156
1175
|
handleRedo: () => void;
|
|
1157
1176
|
}, {}, {}, {}, 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<{
|
|
1177
|
+
readonly DtTabContent: import("vue").DefineComponent<{
|
|
1178
|
+
tabItem: {
|
|
1179
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
1180
|
+
default: any;
|
|
1181
|
+
};
|
|
1182
|
+
isExtra: BooleanConstructor;
|
|
1183
|
+
}, {
|
|
1184
|
+
t: {
|
|
1185
|
+
(key: string): string;
|
|
1186
|
+
(key: string, locale: string): string;
|
|
1187
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1188
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1189
|
+
(key: string, list: unknown[]): string;
|
|
1190
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1191
|
+
};
|
|
1192
|
+
props: any;
|
|
1193
|
+
menuLabelMap: Map<any, any>;
|
|
1194
|
+
getIsTabs: import("vue").ComputedRef<boolean>;
|
|
1195
|
+
getTrigger: import("vue").ComputedRef<("hover" | "click" | "contextmenu")[]>;
|
|
1159
1196
|
getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
|
|
1160
|
-
|
|
1197
|
+
handleContextMenu: (tabItem: import("vue-router").RouteLocationNormalized) => (e: Event) => void;
|
|
1161
1198
|
handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
|
|
1162
|
-
|
|
1199
|
+
handleContext: (e: any) => void;
|
|
1200
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1201
|
+
tabItem: {
|
|
1202
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
1203
|
+
default: any;
|
|
1204
|
+
};
|
|
1205
|
+
isExtra: BooleanConstructor;
|
|
1206
|
+
}>>, {
|
|
1207
|
+
tabItem: import("vue-router").RouteLocationNormalized;
|
|
1208
|
+
isExtra: boolean;
|
|
1209
|
+
}>;
|
|
1163
1210
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1164
1211
|
readonly DtFullScreen: import("vue").DefineComponent<{}, {
|
|
1165
1212
|
toggle: () => Promise<void>;
|
|
@@ -1861,14 +1908,6 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1861
1908
|
fixed: boolean;
|
|
1862
1909
|
}>;
|
|
1863
1910
|
MultipleTabs: import("vue").DefineComponent<{}, {
|
|
1864
|
-
t: {
|
|
1865
|
-
(key: string): string;
|
|
1866
|
-
(key: string, locale: string): string;
|
|
1867
|
-
(key: string, locale: string, list: unknown[]): string;
|
|
1868
|
-
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1869
|
-
(key: string, list: unknown[]): string;
|
|
1870
|
-
(key: string, named: Record<string, unknown>): string;
|
|
1871
|
-
};
|
|
1872
1911
|
router: import("vue-router").Router;
|
|
1873
1912
|
go: (path: string, isReplace?: boolean) => void;
|
|
1874
1913
|
tabStore: import("pinia").Store<"route-reuse", import("./stores/routeReuse.store").RouteReuseState, {
|
|
@@ -1877,19 +1916,20 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1877
1916
|
getLastDragEndIndex(): number;
|
|
1878
1917
|
}, {
|
|
1879
1918
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1880
|
-
closeTab(
|
|
1919
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1881
1920
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1882
|
-
closeLeftTabs(
|
|
1883
|
-
closeRightTabs(
|
|
1884
|
-
closeOtherTabs(
|
|
1921
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1922
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1923
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1924
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
1885
1925
|
bulkCloseTabs(pathList: string[]): void;
|
|
1886
1926
|
updateCacheTab(): void;
|
|
1887
1927
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1888
1928
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1929
|
+
resetState(): void;
|
|
1889
1930
|
}>;
|
|
1890
1931
|
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
1891
1932
|
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
1892
|
-
menuLabelMap: Map<any, any>;
|
|
1893
1933
|
activeKeyRef: any;
|
|
1894
1934
|
getTabsState: import("vue").ComputedRef<import("vue-router").RouteLocationNormalized[]>;
|
|
1895
1935
|
unClose: import("vue").ComputedRef<boolean>;
|
|
@@ -1903,24 +1943,54 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1903
1943
|
getLastDragEndIndex(): number;
|
|
1904
1944
|
}, {
|
|
1905
1945
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1906
|
-
closeTab(
|
|
1946
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1907
1947
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1908
|
-
closeLeftTabs(
|
|
1909
|
-
closeRightTabs(
|
|
1910
|
-
closeOtherTabs(
|
|
1948
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1949
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1950
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1951
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
1911
1952
|
bulkCloseTabs(pathList: string[]): void;
|
|
1912
1953
|
updateCacheTab(): void;
|
|
1913
1954
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1914
1955
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
1956
|
+
resetState(): void;
|
|
1915
1957
|
}>;
|
|
1916
1958
|
router: import("vue-router").Router;
|
|
1917
1959
|
handleRedo: () => void;
|
|
1918
1960
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1919
|
-
readonly DtTabContent: import("vue").DefineComponent<{
|
|
1961
|
+
readonly DtTabContent: import("vue").DefineComponent<{
|
|
1962
|
+
tabItem: {
|
|
1963
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
1964
|
+
default: any;
|
|
1965
|
+
};
|
|
1966
|
+
isExtra: BooleanConstructor;
|
|
1967
|
+
}, {
|
|
1968
|
+
t: {
|
|
1969
|
+
(key: string): string;
|
|
1970
|
+
(key: string, locale: string): string;
|
|
1971
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
1972
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
1973
|
+
(key: string, list: unknown[]): string;
|
|
1974
|
+
(key: string, named: Record<string, unknown>): string;
|
|
1975
|
+
};
|
|
1976
|
+
props: any;
|
|
1977
|
+
menuLabelMap: Map<any, any>;
|
|
1978
|
+
getIsTabs: import("vue").ComputedRef<boolean>;
|
|
1979
|
+
getTrigger: import("vue").ComputedRef<("hover" | "click" | "contextmenu")[]>;
|
|
1920
1980
|
getDropMenuList: import("vue").ComputedRef<import("./components/tabs/types/tabs.type").DropMenu[]>;
|
|
1921
|
-
|
|
1981
|
+
handleContextMenu: (tabItem: import("vue-router").RouteLocationNormalized) => (e: Event) => void;
|
|
1922
1982
|
handleMenuEvent: (item: import("./components/tabs/types/tabs.type").DropMenu) => void;
|
|
1923
|
-
|
|
1983
|
+
handleContext: (e: any) => void;
|
|
1984
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1985
|
+
tabItem: {
|
|
1986
|
+
type: import("vue").PropType<import("vue-router").RouteLocationNormalized>;
|
|
1987
|
+
default: any;
|
|
1988
|
+
};
|
|
1989
|
+
isExtra: BooleanConstructor;
|
|
1990
|
+
}>>, {
|
|
1991
|
+
tabItem: import("vue-router").RouteLocationNormalized;
|
|
1992
|
+
isExtra: boolean;
|
|
1993
|
+
}>;
|
|
1924
1994
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1925
1995
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1926
1996
|
LayoutFooter: import("vue").DefineComponent<{}, {
|
|
@@ -1965,15 +2035,17 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
1965
2035
|
getLastDragEndIndex(): number;
|
|
1966
2036
|
}, {
|
|
1967
2037
|
addTab(route: import("vue-router").RouteLocationNormalized): Promise<void>;
|
|
1968
|
-
closeTab(
|
|
2038
|
+
closeTab(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
1969
2039
|
closeAllTab(currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>, router: import("vue-router").Router): void;
|
|
1970
|
-
closeLeftTabs(
|
|
1971
|
-
closeRightTabs(
|
|
1972
|
-
closeOtherTabs(
|
|
2040
|
+
closeLeftTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
2041
|
+
closeRightTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
2042
|
+
closeOtherTabs(route: import("vue-router").RouteLocationNormalized, router: import("vue-router").Router): void;
|
|
2043
|
+
closeTabByKey(path: string, router: import("vue-router").Router): void;
|
|
1973
2044
|
bulkCloseTabs(pathList: string[]): void;
|
|
1974
2045
|
updateCacheTab(): void;
|
|
1975
2046
|
refreshPage(router: import("vue-router").Router): Promise<void>;
|
|
1976
2047
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
2048
|
+
resetState(): void;
|
|
1977
2049
|
}>;
|
|
1978
2050
|
getTransitionName: (route: import("vue-router").RouteRecordRaw) => string;
|
|
1979
2051
|
getCaches: import("vue").ComputedRef<string[]>;
|
|
@@ -11,13 +11,15 @@ export declare const useRouteReuseStore: import("pinia").StoreDefinition<"route-
|
|
|
11
11
|
getLastDragEndIndex(): number;
|
|
12
12
|
}, {
|
|
13
13
|
addTab(route: RouteLocationNormalized): Promise<void>;
|
|
14
|
-
closeTab(
|
|
14
|
+
closeTab(route: RouteLocationNormalized, router: Router): void;
|
|
15
15
|
closeAllTab(currentRoute: Ref<RouteLocationNormalizedLoaded>, router: Router): void;
|
|
16
|
-
closeLeftTabs(
|
|
17
|
-
closeRightTabs(
|
|
18
|
-
closeOtherTabs(
|
|
16
|
+
closeLeftTabs(route: RouteLocationNormalized, router: Router): void;
|
|
17
|
+
closeRightTabs(route: RouteLocationNormalized, router: Router): void;
|
|
18
|
+
closeOtherTabs(route: RouteLocationNormalized, router: Router): void;
|
|
19
|
+
closeTabByKey(path: string, router: Router): void;
|
|
19
20
|
bulkCloseTabs(pathList: string[]): void;
|
|
20
21
|
updateCacheTab(): void;
|
|
21
22
|
refreshPage(router: Router): Promise<void>;
|
|
22
23
|
sortTabs(oldIndex: number, newIndex: number): void;
|
|
24
|
+
resetState(): void;
|
|
23
25
|
}>;
|
package/package.json
CHANGED
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
export declare const EN: {
|
|
2
|
-
UI: {
|
|
3
|
-
ADD: string;
|
|
4
|
-
DELETE_CONFIRM: string;
|
|
5
|
-
CONFIRM_DELETE: string;
|
|
6
|
-
NEED_CURD: string;
|
|
7
|
-
EDIT: string;
|
|
8
|
-
EMPTY: string;
|
|
9
|
-
EMPTY_URL: string;
|
|
10
|
-
MULTIFY_DELETE_CONFIRM: string;
|
|
11
|
-
CONFIRM_MULTIFY_DELETE: string;
|
|
12
|
-
ADVANCED: string;
|
|
13
|
-
EXPAND: string;
|
|
14
|
-
SELECT_ICON: string;
|
|
15
|
-
MUSE_FUNCTION: string;
|
|
16
|
-
NEED_RENDER: string;
|
|
17
|
-
SEARCH: string;
|
|
18
|
-
RESET: string;
|
|
19
|
-
PLEASE_INPUT: string;
|
|
20
|
-
PLEASE_SELECT: string;
|
|
21
|
-
PLEASE_SET_ICON: string;
|
|
22
|
-
INPUT_FILTER: string;
|
|
23
|
-
EXIT_FULLSCREEN: string;
|
|
24
|
-
FULLSCREEN: string;
|
|
25
|
-
SAVE: string;
|
|
26
|
-
CLOSE: string;
|
|
27
|
-
ADD_SUCCESS: string;
|
|
28
|
-
UPDATE_SUCCESS: string;
|
|
29
|
-
MULTIFY: string;
|
|
30
|
-
DELETE_SUCCESS: string;
|
|
31
|
-
COLUMN_CONTROL: string;
|
|
32
|
-
COLUMN_SHOW: string;
|
|
33
|
-
INDEX: string;
|
|
34
|
-
CHECKBOX: string;
|
|
35
|
-
FIXED_TO_LEFT: string;
|
|
36
|
-
FIXED_TO_RIGHT: string;
|
|
37
|
-
EXPORT: string;
|
|
38
|
-
EXPORT_CURRENT_PAGE: string;
|
|
39
|
-
EXPORT_SELECT_COLUMN: string;
|
|
40
|
-
EXPORT_ALL: string;
|
|
41
|
-
SELECT_ALL: string;
|
|
42
|
-
SETTING_EXPORT_COLUMN: string;
|
|
43
|
-
NO_EXPORT_COLUMN: string;
|
|
44
|
-
NUMBER: string;
|
|
45
|
-
ACTIONS: string;
|
|
46
|
-
TOTAL_PAGE: string;
|
|
47
|
-
FILTER: string;
|
|
48
|
-
EXPAND_ALL: string;
|
|
49
|
-
COLLAPSE_ALL: string;
|
|
50
|
-
SELECT_ALL1: string;
|
|
51
|
-
CANCEL_SELECT_ALL: string;
|
|
52
|
-
LEVEL_CONNECTION: string;
|
|
53
|
-
LEVEL_SOLATE: string;
|
|
54
|
-
LOADING: string;
|
|
55
|
-
SUPPORT_FILES: string;
|
|
56
|
-
MAX_SIZE: string;
|
|
57
|
-
MAX_NUMBER: string;
|
|
58
|
-
SUPPORT_TYPES: string;
|
|
59
|
-
FILE_UPLOAD: string;
|
|
60
|
-
FILE_NAME: string;
|
|
61
|
-
FILE_STATUS: string;
|
|
62
|
-
PREVIEW: string;
|
|
63
|
-
DELETE: string;
|
|
64
|
-
HISTORY_UPLOAD: string;
|
|
65
|
-
MAX_MB: string;
|
|
66
|
-
PRE_UPLOAD: string;
|
|
67
|
-
COMPANY_NAME: string;
|
|
68
|
-
FILTER_MORE: string;
|
|
69
|
-
LARGE_SIZE: string;
|
|
70
|
-
MIDDLE_SIZE: string;
|
|
71
|
-
SMALL_SIZE: string;
|
|
72
|
-
MODIFY_PASSWORD: string;
|
|
73
|
-
LOGIN_OUT: string;
|
|
74
|
-
CLOSE_CURRENT_TAG: string;
|
|
75
|
-
CLOSE_LEFT_TAGS: string;
|
|
76
|
-
CLOSE_RIGHT_TAGS: string;
|
|
77
|
-
CLOSE_OTHER_TAGS: string;
|
|
78
|
-
CLOSE_ALL_TAGE: string;
|
|
79
|
-
SETTING_THEME: string;
|
|
80
|
-
PROJECT_SETTING: string;
|
|
81
|
-
NAV_MODE: string;
|
|
82
|
-
PAGE_SHOW: string;
|
|
83
|
-
COPY: string;
|
|
84
|
-
DRAWER_TIPS: string;
|
|
85
|
-
FULL: string;
|
|
86
|
-
FIXED: string;
|
|
87
|
-
BREAD_CURB: string;
|
|
88
|
-
MENU_FILTER: string;
|
|
89
|
-
NOTICE: string;
|
|
90
|
-
SIZE: string;
|
|
91
|
-
SHOW_FULLE: string;
|
|
92
|
-
LOCAL: string;
|
|
93
|
-
ROUTE_REUSE: string;
|
|
94
|
-
SHOW_FOOTER: string;
|
|
95
|
-
CONTENT_FIXED_WIDTH: string;
|
|
96
|
-
ON: string;
|
|
97
|
-
OFF: string;
|
|
98
|
-
UNKNOWN_ROUTE: string;
|
|
99
|
-
COPY_SUCCESS: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
export declare const ZH: {
|
|
2
|
-
UI: {
|
|
3
|
-
ADD: string;
|
|
4
|
-
DELETE_CONFIRM: string;
|
|
5
|
-
CONFIRM_DELETE: string;
|
|
6
|
-
NEED_CURD: string;
|
|
7
|
-
EDIT: string;
|
|
8
|
-
EMPTY: string;
|
|
9
|
-
EMPTY_URL: string;
|
|
10
|
-
MULTIFY_DELETE_CONFIRM: string;
|
|
11
|
-
CONFIRM_MULTIFY_DELETE: string;
|
|
12
|
-
ADVANCED: string;
|
|
13
|
-
EXPAND: string;
|
|
14
|
-
SELECT_ICON: string;
|
|
15
|
-
MUSE_FUNCTION: string;
|
|
16
|
-
NEED_RENDER: string;
|
|
17
|
-
SEARCH: string;
|
|
18
|
-
RESET: string;
|
|
19
|
-
PLEASE_INPUT: string;
|
|
20
|
-
PLEASE_SELECT: string;
|
|
21
|
-
PLEASE_SET_ICON: string;
|
|
22
|
-
INPUT_FILTER: string;
|
|
23
|
-
EXIT_FULLSCREEN: string;
|
|
24
|
-
FULLSCREEN: string;
|
|
25
|
-
SAVE: string;
|
|
26
|
-
CLOSE: string;
|
|
27
|
-
ADD_SUCCESS: string;
|
|
28
|
-
UPDATE_SUCCESS: string;
|
|
29
|
-
MULTIFY: string;
|
|
30
|
-
DELETE_SUCCESS: string;
|
|
31
|
-
COLUMN_CONTROL: string;
|
|
32
|
-
COLUMN_SHOW: string;
|
|
33
|
-
INDEX: string;
|
|
34
|
-
CHECKBOX: string;
|
|
35
|
-
FIXED_TO_LEFT: string;
|
|
36
|
-
FIXED_TO_RIGHT: string;
|
|
37
|
-
EXPORT: string;
|
|
38
|
-
DOWNLOAD_TEMPLATE: string;
|
|
39
|
-
EXPORT_CURRENT_PAGE: string;
|
|
40
|
-
EXPORT_SELECT_COLUMN: string;
|
|
41
|
-
EXPORT_ALL: string;
|
|
42
|
-
SELECT_ALL: string;
|
|
43
|
-
SETTING_EXPORT_COLUMN: string;
|
|
44
|
-
NO_EXPORT_COLUMN: string;
|
|
45
|
-
NUMBER: string;
|
|
46
|
-
ACTIONS: string;
|
|
47
|
-
TOTAL_PAGE: string;
|
|
48
|
-
FILTER: string;
|
|
49
|
-
EXPAND_ALL: string;
|
|
50
|
-
COLLAPSE_ALL: string;
|
|
51
|
-
SELECT_ALL1: string;
|
|
52
|
-
CANCEL_SELECT_ALL: string;
|
|
53
|
-
LEVEL_CONNECTION: string;
|
|
54
|
-
LEVEL_SOLATE: string;
|
|
55
|
-
LOADING: string;
|
|
56
|
-
SUPPORT_FILES: string;
|
|
57
|
-
MAX_SIZE: string;
|
|
58
|
-
MAX_NUMBER: string;
|
|
59
|
-
SUPPORT_TYPES: string;
|
|
60
|
-
FILE_UPLOAD: string;
|
|
61
|
-
FILE_NAME: string;
|
|
62
|
-
FILE_STATUS: string;
|
|
63
|
-
PREVIEW: string;
|
|
64
|
-
DELETE: string;
|
|
65
|
-
HISTORY_UPLOAD: string;
|
|
66
|
-
MAX_MB: string;
|
|
67
|
-
PRE_UPLOAD: string;
|
|
68
|
-
COMPANY_NAME: string;
|
|
69
|
-
FILTER_MORE: string;
|
|
70
|
-
LARGE_SIZE: string;
|
|
71
|
-
MIDDLE_SIZE: string;
|
|
72
|
-
SMALL_SIZE: string;
|
|
73
|
-
MODIFY_PASSWORD: string;
|
|
74
|
-
LOGIN_OUT: string;
|
|
75
|
-
CLOSE_CURRENT_TAG: string;
|
|
76
|
-
CLOSE_LEFT_TAGS: string;
|
|
77
|
-
CLOSE_RIGHT_TAGS: string;
|
|
78
|
-
CLOSE_OTHER_TAGS: string;
|
|
79
|
-
CLOSE_ALL_TAGE: string;
|
|
80
|
-
SETTING_THEME: string;
|
|
81
|
-
PROJECT_SETTING: string;
|
|
82
|
-
NAV_MODE: string;
|
|
83
|
-
PAGE_SHOW: string;
|
|
84
|
-
COPY: string;
|
|
85
|
-
DRAWER_TIPS: string;
|
|
86
|
-
FULL: string;
|
|
87
|
-
FIXED: string;
|
|
88
|
-
BREAD_CURB: string;
|
|
89
|
-
MENU_FILTER: string;
|
|
90
|
-
NOTICE: string;
|
|
91
|
-
SIZE: string;
|
|
92
|
-
SHOW_FULLE: string;
|
|
93
|
-
LOCAL: string;
|
|
94
|
-
ROUTE_REUSE: string;
|
|
95
|
-
SHOW_FOOTER: string;
|
|
96
|
-
CONTENT_FIXED_WIDTH: string;
|
|
97
|
-
ON: string;
|
|
98
|
-
OFF: string;
|
|
99
|
-
DOWNLOAD: string;
|
|
100
|
-
UNKNOWN_ROUTE: string;
|
|
101
|
-
COPY_SUCCESS: string;
|
|
102
|
-
};
|
|
103
|
-
};
|