@dt-frames/ui 2.0.3 → 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/assets/locales/en.ts +1 -1
- package/es/components/curd/index.js +346 -331
- package/es/components/curd/src/components/Curd.d.ts +0 -8
- package/es/components/curd/src/props.d.ts +0 -4
- package/es/components/drawer/index.d.ts +1 -1
- package/es/components/drawer/index.js +27 -27
- package/es/components/drawer/src/index.d.ts +2 -3
- package/es/components/form/index.d.ts +0 -33
- package/es/components/form/index.js +72 -36
- package/es/components/form/index.less +212 -9
- package/es/components/form/src/components/FormItem.d.ts +3 -7
- package/es/components/form/src/components/formIcon.d.ts +14 -14
- package/es/components/form/src/components/formInputUseDialog.d.ts +8 -8
- package/es/components/form/src/enums/index.d.ts +1 -1
- package/es/components/form/src/index.d.ts +0 -25
- package/es/components/form/src/props.d.ts +2 -6
- package/es/components/form/src/types/form.type.d.ts +1 -1
- package/es/components/icons/index.less +5 -0
- package/es/components/modal/index.js +35 -34
- package/es/components/modal/index.less +10 -0
- package/es/components/modal/src/components/ModalFooter.d.ts +3 -3
- package/es/components/modal/src/index.d.ts +9 -9
- package/es/components/source/hooks/useSource.d.ts +14 -0
- package/es/components/source/index.js +72 -31
- package/es/components/source/types/source.type.d.ts +5 -8
- package/es/components/table/index.js +418 -305
- package/es/components/table/index.less +62 -14
- package/es/components/table/src/components/TableAction.d.ts +1 -1
- package/es/components/table/src/index.d.ts +30 -10
- package/es/components/table/src/props.d.ts +12 -4
- package/es/components/table/src/types/table.type.d.ts +4 -5
- 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 +898 -683
- package/es/theme/index.less +205 -0
- package/es/theme/src/components/header/components/logo.d.ts +22 -0
- package/es/theme/src/components/header/components/size.d.ts +5 -5
- package/es/theme/src/components/header/helper/menu-tree.d.ts +1 -0
- package/es/theme/src/components/header/index.d.ts +92 -5
- package/es/theme/src/components/header/multiple-header.d.ts +94 -7
- package/es/theme/src/components/sider/components/drag-bar.d.ts +1 -1
- package/es/theme/src/components/sider/components/sider-trigger.d.ts +0 -1
- package/es/theme/src/components/sider/index.d.ts +169 -3
- package/es/theme/src/components/sider/mix-sider.d.ts +168 -0
- package/es/theme/src/enums/theme.enum.d.ts +2 -1
- package/es/theme/src/hooks/useMenu.d.ts +5 -3
- package/es/theme/src/hooks/useMultifyTab.d.ts +1 -0
- package/es/theme/src/index.d.ts +356 -15
- package/es/theme/src/stores/theme.store.d.ts +3 -0
- package/es/theme/src/types/theme.type.d.ts +2 -0
- package/index.d.ts +2 -1
- package/index.js +6 -2
- package/package.json +4 -4
- package/tsconfig.json +1 -0
- package/vite.config.ts +1 -0
|
@@ -3,11 +3,12 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
3
3
|
getMenuFixed: import("vue").ComputedRef<boolean>;
|
|
4
4
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
5
5
|
getMenuHidden: import("vue").ComputedRef<boolean>;
|
|
6
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
6
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
7
7
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
8
8
|
getMenuTheme: import("vue").ComputedRef<import('../../../src/enums').Theme>;
|
|
9
|
-
getRealWidth: import("vue").ComputedRef<
|
|
9
|
+
getRealWidth: import("vue").ComputedRef<number>;
|
|
10
10
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
11
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
11
12
|
getCollapsedWidth: import("vue").ComputedRef<80 | 48 | 0>;
|
|
12
13
|
onBreakPointChange: (broken: boolean) => void;
|
|
13
14
|
getTriggerAttr: import("vue").ComputedRef<{
|
|
@@ -56,7 +57,7 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
56
57
|
DragBar: import("vue").DefineComponent<{}, {
|
|
57
58
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
58
59
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
59
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
60
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
60
61
|
getDragBarStyle: import("vue").ComputedRef<{
|
|
61
62
|
left: string;
|
|
62
63
|
} | {
|
|
@@ -66,5 +67,170 @@ declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
|
66
67
|
'dt-darg-bar--hide': boolean;
|
|
67
68
|
})[]>;
|
|
68
69
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
|
+
MixSider: import("vue").DefineComponent<{}, {
|
|
71
|
+
MENU_WIDTH: number;
|
|
72
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
73
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
74
|
+
getMenuTheme: import("vue").ComputedRef<import('../../../src/enums').Theme>;
|
|
75
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
76
|
+
setMixSiderIsHasMenu: (val: boolean) => void;
|
|
77
|
+
menuModules: any;
|
|
78
|
+
activeId: import("vue").Ref<string>;
|
|
79
|
+
subMenus: import("vue").Ref<any[]>;
|
|
80
|
+
getDomStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
81
|
+
getWrapStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
82
|
+
getSubMenuStyle: import("vue").ComputedRef<import("vue").CSSProperties>;
|
|
83
|
+
setDomWidth: (width: string) => {
|
|
84
|
+
width: string;
|
|
85
|
+
minWidth: string;
|
|
86
|
+
maxWidth: string;
|
|
87
|
+
flex: string;
|
|
88
|
+
transition: string;
|
|
89
|
+
};
|
|
90
|
+
getMenuEvents: {
|
|
91
|
+
onMouseleave: () => void;
|
|
92
|
+
};
|
|
93
|
+
getItemEvents: (item: import("@dt-frames/core").Menus) => {
|
|
94
|
+
onMouseenter: () => void;
|
|
95
|
+
onClick: () => void;
|
|
96
|
+
} | {
|
|
97
|
+
onClick: () => void;
|
|
98
|
+
onMouseenter?: undefined;
|
|
99
|
+
};
|
|
100
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
101
|
+
setActive: (path: string) => void;
|
|
102
|
+
handleModuleClick: (path: string, isHover?: boolean) => void;
|
|
103
|
+
DtLogo: import("vue").DefineComponent<{
|
|
104
|
+
theme: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
validator: (v: string) => boolean;
|
|
107
|
+
};
|
|
108
|
+
showTitle: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}, {
|
|
113
|
+
t: {
|
|
114
|
+
(key: string): string;
|
|
115
|
+
(key: string, locale: string): string;
|
|
116
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
117
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
118
|
+
(key: string, list: unknown[]): string;
|
|
119
|
+
(key: string, named: Record<string, unknown>): string;
|
|
120
|
+
};
|
|
121
|
+
slots: {
|
|
122
|
+
[name: string]: import("vue").Slot;
|
|
123
|
+
};
|
|
124
|
+
title: string;
|
|
125
|
+
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
126
|
+
props: any;
|
|
127
|
+
getLogoClass: import("vue").ComputedRef<string>;
|
|
128
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
129
|
+
template: {
|
|
130
|
+
type: FunctionConstructor;
|
|
131
|
+
};
|
|
132
|
+
data: {
|
|
133
|
+
type: ObjectConstructor;
|
|
134
|
+
};
|
|
135
|
+
}, {
|
|
136
|
+
props: any;
|
|
137
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
138
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
139
|
+
template: {
|
|
140
|
+
type: FunctionConstructor;
|
|
141
|
+
};
|
|
142
|
+
data: {
|
|
143
|
+
type: ObjectConstructor;
|
|
144
|
+
};
|
|
145
|
+
}>>, {}>>;
|
|
146
|
+
readonly logoUrl: string;
|
|
147
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
148
|
+
theme: {
|
|
149
|
+
type: StringConstructor;
|
|
150
|
+
validator: (v: string) => boolean;
|
|
151
|
+
};
|
|
152
|
+
showTitle: {
|
|
153
|
+
type: BooleanConstructor;
|
|
154
|
+
default: boolean;
|
|
155
|
+
};
|
|
156
|
+
}>>, {
|
|
157
|
+
showTitle: boolean;
|
|
158
|
+
}>;
|
|
159
|
+
readonly DtScrollContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
160
|
+
scrollbarRef: any;
|
|
161
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
162
|
+
getScrollWrap: () => any;
|
|
163
|
+
scrollBottom: () => void;
|
|
164
|
+
ScrollBar: import("vue").DefineComponent<{
|
|
165
|
+
wrapClass: {
|
|
166
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
167
|
+
default: string;
|
|
168
|
+
};
|
|
169
|
+
wrapStyle: ArrayConstructor;
|
|
170
|
+
viewClass: {
|
|
171
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
172
|
+
default: string;
|
|
173
|
+
};
|
|
174
|
+
viewStyle: {
|
|
175
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
176
|
+
default: string;
|
|
177
|
+
};
|
|
178
|
+
noresize: BooleanConstructor;
|
|
179
|
+
tag: {
|
|
180
|
+
type: StringConstructor;
|
|
181
|
+
default: string;
|
|
182
|
+
};
|
|
183
|
+
}, {
|
|
184
|
+
sizeWidth: import("vue").Ref<string>;
|
|
185
|
+
sizeHeight: import("vue").Ref<string>;
|
|
186
|
+
moveX: import("vue").Ref<number>;
|
|
187
|
+
moveY: import("vue").Ref<number>;
|
|
188
|
+
wrap: import("vue").Ref<any>;
|
|
189
|
+
resize: import("vue").Ref<any>;
|
|
190
|
+
props: any;
|
|
191
|
+
style: import("vue").ComputedRef<{}>;
|
|
192
|
+
handleScroll: () => void;
|
|
193
|
+
update: () => void;
|
|
194
|
+
readonly Bar: import("vue").DefineComponent<{
|
|
195
|
+
vertical: BooleanConstructor;
|
|
196
|
+
size: StringConstructor;
|
|
197
|
+
move: NumberConstructor;
|
|
198
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
199
|
+
[key: string]: any;
|
|
200
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
+
vertical: BooleanConstructor;
|
|
202
|
+
size: StringConstructor;
|
|
203
|
+
move: NumberConstructor;
|
|
204
|
+
}>>, {
|
|
205
|
+
vertical: boolean;
|
|
206
|
+
}>;
|
|
207
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
208
|
+
wrapClass: {
|
|
209
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
210
|
+
default: string;
|
|
211
|
+
};
|
|
212
|
+
wrapStyle: ArrayConstructor;
|
|
213
|
+
viewClass: {
|
|
214
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
215
|
+
default: string;
|
|
216
|
+
};
|
|
217
|
+
viewStyle: {
|
|
218
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
219
|
+
default: string;
|
|
220
|
+
};
|
|
221
|
+
noresize: BooleanConstructor;
|
|
222
|
+
tag: {
|
|
223
|
+
type: StringConstructor;
|
|
224
|
+
default: string;
|
|
225
|
+
};
|
|
226
|
+
}>>, {
|
|
227
|
+
wrapClass: string | unknown[];
|
|
228
|
+
viewClass: string | unknown[];
|
|
229
|
+
viewStyle: string | unknown[];
|
|
230
|
+
noresize: boolean;
|
|
231
|
+
tag: string;
|
|
232
|
+
}>;
|
|
233
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
234
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
69
235
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
70
236
|
export default _sfc_main;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
import { CSSProperties } from 'vue';
|
|
2
|
+
import { Menus } from '@dt-frames/core';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
4
|
+
MENU_WIDTH: number;
|
|
5
|
+
go: (path: string, isReplace?: boolean) => void;
|
|
6
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
7
|
+
getMenuTheme: import("vue").ComputedRef<import("../../enums").Theme>;
|
|
8
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
9
|
+
setMixSiderIsHasMenu: (val: boolean) => void;
|
|
10
|
+
menuModules: any;
|
|
11
|
+
activeId: import("vue").Ref<string>;
|
|
12
|
+
subMenus: import("vue").Ref<any[]>;
|
|
13
|
+
getDomStyle: import("vue").ComputedRef<CSSProperties>;
|
|
14
|
+
getWrapStyle: import("vue").ComputedRef<CSSProperties>;
|
|
15
|
+
getSubMenuStyle: import("vue").ComputedRef<CSSProperties>;
|
|
16
|
+
setDomWidth: (width: string) => {
|
|
17
|
+
width: string;
|
|
18
|
+
minWidth: string;
|
|
19
|
+
maxWidth: string;
|
|
20
|
+
flex: string;
|
|
21
|
+
transition: string;
|
|
22
|
+
};
|
|
23
|
+
getMenuEvents: {
|
|
24
|
+
onMouseleave: () => void;
|
|
25
|
+
};
|
|
26
|
+
getItemEvents: (item: Menus) => {
|
|
27
|
+
onMouseenter: () => void;
|
|
28
|
+
onClick: () => void;
|
|
29
|
+
} | {
|
|
30
|
+
onClick: () => void;
|
|
31
|
+
onMouseenter?: undefined;
|
|
32
|
+
};
|
|
33
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
34
|
+
setActive: (path: string) => void;
|
|
35
|
+
handleModuleClick: (path: string, isHover?: boolean) => void;
|
|
36
|
+
DtLogo: import("vue").DefineComponent<{
|
|
37
|
+
theme: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
validator: (v: string) => boolean;
|
|
40
|
+
};
|
|
41
|
+
showTitle: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
default: boolean;
|
|
44
|
+
};
|
|
45
|
+
}, {
|
|
46
|
+
t: {
|
|
47
|
+
(key: string): string;
|
|
48
|
+
(key: string, locale: string): string;
|
|
49
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
50
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
51
|
+
(key: string, list: unknown[]): string;
|
|
52
|
+
(key: string, named: Record<string, unknown>): string;
|
|
53
|
+
};
|
|
54
|
+
slots: {
|
|
55
|
+
[name: string]: import("vue").Slot;
|
|
56
|
+
};
|
|
57
|
+
title: string;
|
|
58
|
+
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
59
|
+
props: any;
|
|
60
|
+
getLogoClass: import("vue").ComputedRef<string>;
|
|
61
|
+
readonly DtSlotContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
62
|
+
template: {
|
|
63
|
+
type: FunctionConstructor;
|
|
64
|
+
};
|
|
65
|
+
data: {
|
|
66
|
+
type: ObjectConstructor;
|
|
67
|
+
};
|
|
68
|
+
}, {
|
|
69
|
+
props: any;
|
|
70
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
71
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
72
|
+
template: {
|
|
73
|
+
type: FunctionConstructor;
|
|
74
|
+
};
|
|
75
|
+
data: {
|
|
76
|
+
type: ObjectConstructor;
|
|
77
|
+
};
|
|
78
|
+
}>>, {}>>;
|
|
79
|
+
readonly logoUrl: string;
|
|
80
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
81
|
+
theme: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
validator: (v: string) => boolean;
|
|
84
|
+
};
|
|
85
|
+
showTitle: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
}>>, {
|
|
90
|
+
showTitle: boolean;
|
|
91
|
+
}>;
|
|
92
|
+
readonly DtScrollContainer: import("../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
93
|
+
scrollbarRef: any;
|
|
94
|
+
scrollTo: (to: number, duration?: number) => void;
|
|
95
|
+
getScrollWrap: () => any;
|
|
96
|
+
scrollBottom: () => void;
|
|
97
|
+
ScrollBar: import("vue").DefineComponent<{
|
|
98
|
+
wrapClass: {
|
|
99
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
100
|
+
default: string;
|
|
101
|
+
};
|
|
102
|
+
wrapStyle: ArrayConstructor;
|
|
103
|
+
viewClass: {
|
|
104
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
105
|
+
default: string;
|
|
106
|
+
};
|
|
107
|
+
viewStyle: {
|
|
108
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
109
|
+
default: string;
|
|
110
|
+
};
|
|
111
|
+
noresize: BooleanConstructor;
|
|
112
|
+
tag: {
|
|
113
|
+
type: StringConstructor;
|
|
114
|
+
default: string;
|
|
115
|
+
};
|
|
116
|
+
}, {
|
|
117
|
+
sizeWidth: import("vue").Ref<string>;
|
|
118
|
+
sizeHeight: import("vue").Ref<string>;
|
|
119
|
+
moveX: import("vue").Ref<number>;
|
|
120
|
+
moveY: import("vue").Ref<number>;
|
|
121
|
+
wrap: import("vue").Ref<any>;
|
|
122
|
+
resize: import("vue").Ref<any>;
|
|
123
|
+
props: any;
|
|
124
|
+
style: import("vue").ComputedRef<{}>;
|
|
125
|
+
handleScroll: () => void;
|
|
126
|
+
update: () => void;
|
|
127
|
+
readonly Bar: import("vue").DefineComponent<{
|
|
128
|
+
vertical: BooleanConstructor;
|
|
129
|
+
size: StringConstructor;
|
|
130
|
+
move: NumberConstructor;
|
|
131
|
+
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
132
|
+
[key: string]: any;
|
|
133
|
+
}>, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
134
|
+
vertical: BooleanConstructor;
|
|
135
|
+
size: StringConstructor;
|
|
136
|
+
move: NumberConstructor;
|
|
137
|
+
}>>, {
|
|
138
|
+
vertical: boolean;
|
|
139
|
+
}>;
|
|
140
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
141
|
+
wrapClass: {
|
|
142
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
143
|
+
default: string;
|
|
144
|
+
};
|
|
145
|
+
wrapStyle: ArrayConstructor;
|
|
146
|
+
viewClass: {
|
|
147
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
viewStyle: {
|
|
151
|
+
type: (StringConstructor | ArrayConstructor)[];
|
|
152
|
+
default: string;
|
|
153
|
+
};
|
|
154
|
+
noresize: BooleanConstructor;
|
|
155
|
+
tag: {
|
|
156
|
+
type: StringConstructor;
|
|
157
|
+
default: string;
|
|
158
|
+
};
|
|
159
|
+
}>>, {
|
|
160
|
+
wrapClass: string | unknown[];
|
|
161
|
+
viewClass: string | unknown[];
|
|
162
|
+
viewStyle: string | unknown[];
|
|
163
|
+
noresize: boolean;
|
|
164
|
+
tag: string;
|
|
165
|
+
}>;
|
|
166
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
167
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
168
|
+
export default _sfc_main;
|
|
@@ -9,7 +9,7 @@ export declare function useMenu(): {
|
|
|
9
9
|
getMenuHidden: import("vue").ComputedRef<boolean>;
|
|
10
10
|
getMenuTheme: import("vue").ComputedRef<import("../enums").Theme>;
|
|
11
11
|
getTrigger: import("vue").ComputedRef<boolean>;
|
|
12
|
-
getMenuWidth: import("vue").ComputedRef<
|
|
12
|
+
getMenuWidth: import("vue").ComputedRef<number>;
|
|
13
13
|
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
14
14
|
getMenuType: import("vue").ComputedRef<MenuType>;
|
|
15
15
|
getIsTopMenu: import("vue").ComputedRef<boolean>;
|
|
@@ -17,11 +17,13 @@ export declare function useMenu(): {
|
|
|
17
17
|
getSplit: import("vue").ComputedRef<boolean>;
|
|
18
18
|
getCollapsed: import("vue").ComputedRef<boolean>;
|
|
19
19
|
getIsHorizontal: import("vue").ComputedRef<boolean>;
|
|
20
|
-
getMiniWidthNumber: import("vue").ComputedRef<
|
|
21
|
-
getRealWidth: import("vue").ComputedRef<
|
|
20
|
+
getMiniWidthNumber: import("vue").ComputedRef<48 | 80>;
|
|
21
|
+
getRealWidth: import("vue").ComputedRef<number>;
|
|
22
22
|
getCalcContentWidth: import("vue").ComputedRef<string>;
|
|
23
23
|
getIsMixMode: import("vue").ComputedRef<boolean>;
|
|
24
|
+
getIsMixSidebar: import("vue").ComputedRef<boolean>;
|
|
24
25
|
getCanDrag: import("vue").ComputedRef<boolean>;
|
|
26
|
+
getMixSideTrigger: import("vue").ComputedRef<"hover" | "click">;
|
|
25
27
|
toggleCollapsed: () => void;
|
|
26
28
|
setThemeStore: (conf?: Recordable) => void;
|
|
27
29
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare function useMultipleTab(): {
|
|
2
2
|
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
3
3
|
getShowQuick: import("vue").ComputedRef<boolean>;
|
|
4
|
+
getMultipleTabPosIsTop: import("vue").ComputedRef<boolean>;
|
|
4
5
|
getShowRedo: import("vue").ComputedRef<boolean>;
|
|
5
6
|
getCanCache: import("vue").ComputedRef<boolean>;
|
|
6
7
|
getCanDrag: import("vue").ComputedRef<boolean>;
|