@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
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
getTarget: () => HTMLElement;
|
|
3
|
+
getShowBackToTop: import("vue").ComputedRef<boolean>;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
DtBackTop: import("vue").DefineComponent<{}, {
|
|
3
|
+
getTarget: () => HTMLElement;
|
|
4
|
+
getShowBackToTop: import("vue").ComputedRef<boolean>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
6
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
7
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
getFooter: import("vue").ComputedRef<import("../../types/theme.type").FooterOptions>;
|
|
3
|
+
title: any;
|
|
4
|
+
subTitle: any;
|
|
5
|
+
height: any;
|
|
6
|
+
footerOptions: import("vue").ComputedRef<{
|
|
7
|
+
lineHeight: string;
|
|
8
|
+
height: string;
|
|
9
|
+
padding: string;
|
|
10
|
+
width: string;
|
|
11
|
+
color: string;
|
|
12
|
+
}>;
|
|
13
|
+
readonly LayoutFooter: import("vue").DefineComponent<{
|
|
14
|
+
prefixCls: StringConstructor;
|
|
15
|
+
hasSider: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
default: any;
|
|
18
|
+
};
|
|
19
|
+
tagName: StringConstructor;
|
|
20
|
+
}, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
+
prefixCls: StringConstructor;
|
|
22
|
+
hasSider: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: any;
|
|
25
|
+
};
|
|
26
|
+
tagName: StringConstructor;
|
|
27
|
+
}>>, {
|
|
28
|
+
hasSider: boolean;
|
|
29
|
+
}>;
|
|
30
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
31
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
getIsZH: import("vue").ComputedRef<boolean>;
|
|
3
|
+
routes: import("vue").Ref<any[]>;
|
|
4
|
+
currentRoute: import("vue").Ref<import("vue-router").RouteLocationNormalizedLoaded>;
|
|
5
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
6
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
toggle: () => Promise<void>;
|
|
3
|
+
isFullscreen: import("vue").Ref<boolean>;
|
|
4
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
5
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as DtFullScreen } from "./fullscreen";
|
|
2
|
+
import { default as DtLogo } from "./logo";
|
|
3
|
+
import { default as DtTrigger } from "./trigger";
|
|
4
|
+
import { default as DtBreadCrumb } from "./bread-crumb";
|
|
5
|
+
import { default as DtMenuFilter } from "./menu-filter";
|
|
6
|
+
import { default as DtLangPicker } from "./lang-picker";
|
|
7
|
+
import { default as DtNotify } from "./notify";
|
|
8
|
+
import { default as DtSize } from "./size";
|
|
9
|
+
import { default as DtUserInfo } from "./user-info";
|
|
10
|
+
import { default as DtSettingTheme } from "./setting-theme";
|
|
11
|
+
export { DtFullScreen, DtLogo, DtTrigger, DtBreadCrumb, DtMenuFilter, DtLangPicker, DtNotify, DtSize, DtUserInfo, DtSettingTheme };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Language } from '@dt-frames/core';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
reload: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
};
|
|
6
|
+
}, {
|
|
7
|
+
visible: import("vue").Ref<boolean>;
|
|
8
|
+
currentLang: any;
|
|
9
|
+
props: any;
|
|
10
|
+
toggleLang: (lang: Language) => Promise<void>;
|
|
11
|
+
readonly localeList: {
|
|
12
|
+
text: string;
|
|
13
|
+
event: Language;
|
|
14
|
+
icon: string;
|
|
15
|
+
}[];
|
|
16
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
|
+
reload: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
};
|
|
20
|
+
}>>, {
|
|
21
|
+
reload: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
theme: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
validator: (v: string) => boolean;
|
|
5
|
+
};
|
|
6
|
+
showTitle: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
}, {
|
|
11
|
+
t: {
|
|
12
|
+
(key: string): string;
|
|
13
|
+
(key: string, locale: string): string;
|
|
14
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
15
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
16
|
+
(key: string, list: unknown[]): string;
|
|
17
|
+
(key: string, named: Record<string, unknown>): string;
|
|
18
|
+
};
|
|
19
|
+
slots: {
|
|
20
|
+
[name: string]: import("vue").Slot;
|
|
21
|
+
};
|
|
22
|
+
title: string;
|
|
23
|
+
getLogoWidth: import("vue").ComputedRef<string | number>;
|
|
24
|
+
props: any;
|
|
25
|
+
getLogoClass: import("vue").ComputedRef<string>;
|
|
26
|
+
readonly DtSlotContainer: import("../../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
27
|
+
template: {
|
|
28
|
+
type: FunctionConstructor;
|
|
29
|
+
};
|
|
30
|
+
data: {
|
|
31
|
+
type: ObjectConstructor;
|
|
32
|
+
};
|
|
33
|
+
}, {
|
|
34
|
+
props: any;
|
|
35
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
36
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
37
|
+
template: {
|
|
38
|
+
type: FunctionConstructor;
|
|
39
|
+
};
|
|
40
|
+
data: {
|
|
41
|
+
type: ObjectConstructor;
|
|
42
|
+
};
|
|
43
|
+
}>>, {}>>;
|
|
44
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
theme: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
validator: (v: string) => boolean;
|
|
48
|
+
};
|
|
49
|
+
showTitle: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
}>>, {
|
|
54
|
+
showTitle: boolean;
|
|
55
|
+
}>;
|
|
56
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { UiSize } from '../../../../src/enums';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
3
|
+
t: {
|
|
4
|
+
(key: string): string;
|
|
5
|
+
(key: string, locale: string): string;
|
|
6
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
7
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
8
|
+
(key: string, list: unknown[]): string;
|
|
9
|
+
(key: string, named: Record<string, unknown>): string;
|
|
10
|
+
};
|
|
11
|
+
menuList: import("vue").Ref<any[]>;
|
|
12
|
+
router: import("vue-router").Router;
|
|
13
|
+
filter: import("vue").Ref<string>;
|
|
14
|
+
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
15
|
+
getIsZH: import("vue").ComputedRef<boolean>;
|
|
16
|
+
isUseDef: import("vue").ComputedRef<boolean>;
|
|
17
|
+
visibleChange: (e: any) => void;
|
|
18
|
+
filterMenu: () => void;
|
|
19
|
+
navigation: (url: string) => void;
|
|
20
|
+
readonly UiSize: typeof UiSize;
|
|
21
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
22
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
2
|
+
slots: {
|
|
3
|
+
[name: string]: import("vue").Slot;
|
|
4
|
+
};
|
|
5
|
+
readonly DtSlotContainer: import("../../../../../utils/withInstall").SFCWithInstall<import("vue").DefineComponent<{
|
|
6
|
+
template: {
|
|
7
|
+
type: FunctionConstructor;
|
|
8
|
+
};
|
|
9
|
+
data: {
|
|
10
|
+
type: ObjectConstructor;
|
|
11
|
+
};
|
|
12
|
+
}, {
|
|
13
|
+
props: any;
|
|
14
|
+
Container: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
15
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
template: {
|
|
17
|
+
type: FunctionConstructor;
|
|
18
|
+
};
|
|
19
|
+
data: {
|
|
20
|
+
type: ObjectConstructor;
|
|
21
|
+
};
|
|
22
|
+
}>>, {}>>;
|
|
23
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
24
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { unref } from 'vue';
|
|
2
|
+
import { MenuType } from '../../../../src/enums';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {
|
|
4
|
+
t: {
|
|
5
|
+
(key: string): string;
|
|
6
|
+
(key: string, locale: string): string;
|
|
7
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
8
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
9
|
+
(key: string, list: unknown[]): string;
|
|
10
|
+
(key: string, named: Record<string, unknown>): string;
|
|
11
|
+
};
|
|
12
|
+
visible: import("vue").Ref<boolean>;
|
|
13
|
+
getShowBread: import("vue").ComputedRef<boolean>;
|
|
14
|
+
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
15
|
+
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
16
|
+
getShowNotice: import("vue").ComputedRef<boolean>;
|
|
17
|
+
getShowFullScreen: import("vue").ComputedRef<boolean>;
|
|
18
|
+
getShowLocale: import("vue").ComputedRef<boolean>;
|
|
19
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
20
|
+
getShowFooter: import("vue").ComputedRef<any>;
|
|
21
|
+
getContentMode: import("vue").ComputedRef<import('../../../../src/enums').ContentMode>;
|
|
22
|
+
getMenuType: import("vue").ComputedRef<MenuType>;
|
|
23
|
+
getMenuMode: import("vue").ComputedRef<import('../../../../src/enums').MenuMode>;
|
|
24
|
+
defaultConf: {
|
|
25
|
+
contentMode: import('../../../../src/enums').ContentMode;
|
|
26
|
+
menuOptions: {
|
|
27
|
+
mode: import('../../../../src/enums').MenuMode;
|
|
28
|
+
type: MenuType;
|
|
29
|
+
split: boolean;
|
|
30
|
+
};
|
|
31
|
+
headOptions: {
|
|
32
|
+
showBreadCrumb: boolean;
|
|
33
|
+
showSearch: boolean;
|
|
34
|
+
notice: boolean;
|
|
35
|
+
showFullScreen: boolean;
|
|
36
|
+
showLocaleSwitch: boolean;
|
|
37
|
+
};
|
|
38
|
+
mulTabsOptions: {
|
|
39
|
+
show: boolean;
|
|
40
|
+
};
|
|
41
|
+
footerOptions: {
|
|
42
|
+
show: any;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
getConfig: () => {
|
|
46
|
+
contentMode: import('../../../../src/enums').ContentMode;
|
|
47
|
+
menuOptions: {
|
|
48
|
+
mode: import('../../../../src/enums').MenuMode;
|
|
49
|
+
type: MenuType;
|
|
50
|
+
split: boolean;
|
|
51
|
+
};
|
|
52
|
+
headOptions: {
|
|
53
|
+
showBreadCrumb: boolean;
|
|
54
|
+
showSearch: boolean;
|
|
55
|
+
notice: boolean;
|
|
56
|
+
showFullScreen: boolean;
|
|
57
|
+
showLocaleSwitch: boolean;
|
|
58
|
+
};
|
|
59
|
+
mulTabsOptions: {
|
|
60
|
+
show: boolean;
|
|
61
|
+
};
|
|
62
|
+
footerOptions: {
|
|
63
|
+
show: any;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
copy: () => void;
|
|
67
|
+
reset: () => void;
|
|
68
|
+
readonly DtMenuType: import("vue").DefineComponent<{}, {
|
|
69
|
+
getMenuType: import("vue").ComputedRef<MenuType>;
|
|
70
|
+
getMenuMode: import("vue").ComputedRef<import('../../../../src/enums').MenuMode>;
|
|
71
|
+
menuTypeList: {
|
|
72
|
+
title: string;
|
|
73
|
+
headTheme: import('../../../../src/enums').Theme;
|
|
74
|
+
menuTheme: import('../../../../src/enums').Theme;
|
|
75
|
+
mode: import('../../../../src/enums').MenuMode;
|
|
76
|
+
type: MenuType;
|
|
77
|
+
split: boolean;
|
|
78
|
+
}[];
|
|
79
|
+
changeMenuType: (item: {
|
|
80
|
+
title: string;
|
|
81
|
+
headTheme: import('../../../../src/enums').Theme;
|
|
82
|
+
menuTheme: import('../../../../src/enums').Theme;
|
|
83
|
+
mode: import('../../../../src/enums').MenuMode;
|
|
84
|
+
type: MenuType;
|
|
85
|
+
split: boolean;
|
|
86
|
+
}) => void;
|
|
87
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
88
|
+
readonly DtFeature: import("vue").DefineComponent<{}, {
|
|
89
|
+
t: {
|
|
90
|
+
(key: string): string;
|
|
91
|
+
(key: string, locale: string): string;
|
|
92
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
93
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
94
|
+
(key: string, list: unknown[]): string;
|
|
95
|
+
(key: string, named: Record<string, unknown>): string;
|
|
96
|
+
};
|
|
97
|
+
getShowBread: import("vue").ComputedRef<boolean>;
|
|
98
|
+
getShowSearch: import("vue").ComputedRef<boolean>;
|
|
99
|
+
getShowUiSize: import("vue").ComputedRef<boolean>;
|
|
100
|
+
getShowNotice: import("vue").ComputedRef<boolean>;
|
|
101
|
+
getShowFullScreen: import("vue").ComputedRef<boolean>;
|
|
102
|
+
getShowLocale: import("vue").ComputedRef<boolean>;
|
|
103
|
+
getShowMultipleTab: import("vue").ComputedRef<boolean>;
|
|
104
|
+
getShowFooter: import("vue").ComputedRef<any>;
|
|
105
|
+
getContentMode: import("vue").ComputedRef<import('../../../../src/enums').ContentMode>;
|
|
106
|
+
switchItems: {
|
|
107
|
+
title: string;
|
|
108
|
+
event: import("../helper/change-theme").HandlerEnum;
|
|
109
|
+
def: import("vue").ComputedRef<any>;
|
|
110
|
+
}[];
|
|
111
|
+
selectItems: {
|
|
112
|
+
title: string;
|
|
113
|
+
event: import("../helper/change-theme").HandlerEnum;
|
|
114
|
+
def: import("vue").ComputedRef<import('../../../../src/enums').ContentMode>;
|
|
115
|
+
options: {
|
|
116
|
+
value: import('../../../../src/enums').ContentMode;
|
|
117
|
+
label: string;
|
|
118
|
+
}[];
|
|
119
|
+
}[];
|
|
120
|
+
unref: typeof unref;
|
|
121
|
+
DtTSelect: import("vue").DefineComponent<{
|
|
122
|
+
event: {
|
|
123
|
+
type: import("vue").PropType<import("../helper/change-theme").HandlerEnum>;
|
|
124
|
+
};
|
|
125
|
+
disabled: {
|
|
126
|
+
type: BooleanConstructor;
|
|
127
|
+
};
|
|
128
|
+
title: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
};
|
|
131
|
+
def: {
|
|
132
|
+
type: import("vue").PropType<string | number>;
|
|
133
|
+
};
|
|
134
|
+
initValue: {
|
|
135
|
+
type: import("vue").PropType<string | number>;
|
|
136
|
+
};
|
|
137
|
+
options: {
|
|
138
|
+
type: import("vue").PropType<import("ant-design-vue/es/select").DefaultOptionType[]>;
|
|
139
|
+
default: () => any[];
|
|
140
|
+
};
|
|
141
|
+
}, {
|
|
142
|
+
props: any;
|
|
143
|
+
getBindValue: import("vue").ComputedRef<{
|
|
144
|
+
value: string | number;
|
|
145
|
+
defaultValue: string | number;
|
|
146
|
+
} | {
|
|
147
|
+
value?: undefined;
|
|
148
|
+
defaultValue?: undefined;
|
|
149
|
+
}>;
|
|
150
|
+
handleChange: (val: any) => void;
|
|
151
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
152
|
+
event: {
|
|
153
|
+
type: import("vue").PropType<import("../helper/change-theme").HandlerEnum>;
|
|
154
|
+
};
|
|
155
|
+
disabled: {
|
|
156
|
+
type: BooleanConstructor;
|
|
157
|
+
};
|
|
158
|
+
title: {
|
|
159
|
+
type: StringConstructor;
|
|
160
|
+
};
|
|
161
|
+
def: {
|
|
162
|
+
type: import("vue").PropType<string | number>;
|
|
163
|
+
};
|
|
164
|
+
initValue: {
|
|
165
|
+
type: import("vue").PropType<string | number>;
|
|
166
|
+
};
|
|
167
|
+
options: {
|
|
168
|
+
type: import("vue").PropType<import("ant-design-vue/es/select").DefaultOptionType[]>;
|
|
169
|
+
default: () => any[];
|
|
170
|
+
};
|
|
171
|
+
}>>, {
|
|
172
|
+
disabled: boolean;
|
|
173
|
+
options: import("ant-design-vue/es/select").DefaultOptionType[];
|
|
174
|
+
}>;
|
|
175
|
+
DtTSwitch: import("vue").DefineComponent<{
|
|
176
|
+
event: {
|
|
177
|
+
type: import("vue").PropType<import("../helper/change-theme").HandlerEnum>;
|
|
178
|
+
};
|
|
179
|
+
disabled: {
|
|
180
|
+
type: BooleanConstructor;
|
|
181
|
+
};
|
|
182
|
+
title: {
|
|
183
|
+
type: StringConstructor;
|
|
184
|
+
};
|
|
185
|
+
def: {
|
|
186
|
+
type: BooleanConstructor;
|
|
187
|
+
};
|
|
188
|
+
}, {
|
|
189
|
+
t: {
|
|
190
|
+
(key: string): string;
|
|
191
|
+
(key: string, locale: string): string;
|
|
192
|
+
(key: string, locale: string, list: unknown[]): string;
|
|
193
|
+
(key: string, locale: string, named: Record<string, unknown>): string;
|
|
194
|
+
(key: string, list: unknown[]): string;
|
|
195
|
+
(key: string, named: Record<string, unknown>): string;
|
|
196
|
+
};
|
|
197
|
+
props: any;
|
|
198
|
+
getBindValue: import("vue").ComputedRef<{
|
|
199
|
+
checked: true;
|
|
200
|
+
} | {
|
|
201
|
+
checked?: undefined;
|
|
202
|
+
}>;
|
|
203
|
+
handleChange: (e: any) => void;
|
|
204
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
205
|
+
event: {
|
|
206
|
+
type: import("vue").PropType<import("../helper/change-theme").HandlerEnum>;
|
|
207
|
+
};
|
|
208
|
+
disabled: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
};
|
|
211
|
+
title: {
|
|
212
|
+
type: StringConstructor;
|
|
213
|
+
};
|
|
214
|
+
def: {
|
|
215
|
+
type: BooleanConstructor;
|
|
216
|
+
};
|
|
217
|
+
}>>, {
|
|
218
|
+
def: boolean;
|
|
219
|
+
disabled: boolean;
|
|
220
|
+
}>;
|
|
221
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
222
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
223
|
+
export default _sfc_main;
|