@qqt-product/ui 0.0.11 → 0.0.13
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/README.md +16 -16
- package/dist/components/ComponentsDemo.vue.d.ts +13 -0
- package/dist/components/EditPage.vue.d.ts +6011 -0
- package/dist/components/PreviewList.vue.d.ts +218 -0
- package/dist/components/hook/use-field-select-modal-hook.d.ts +288 -0
- package/dist/components/login.vue.d.ts +19 -0
- package/dist/components/mock.d.ts +260 -0
- package/dist/components/mockList.d.ts +44 -0
- package/dist/index.es.js +79530 -57898
- package/dist/index.umd.js +15319 -54
- package/dist/lib/components/breadcrumb/index.d.ts +10 -0
- package/dist/lib/components/breadcrumb/src/breadcrumb.vue.d.ts +7 -0
- package/dist/lib/components/card-list-layout/index.d.ts +147 -0
- package/dist/lib/components/card-list-layout/src/card-content.vue.d.ts +70 -0
- package/dist/lib/components/card-list-layout/src/cardItem.vue.d.ts +79 -0
- package/dist/lib/components/card-list-layout/src/index.vue.d.ts +144 -0
- package/dist/lib/components/card-list-layout/src/sidebar.vue.d.ts +30 -0
- package/dist/lib/components/card-list-layout/src/types.d.ts +41 -0
- package/dist/lib/components/cascader/index.d.ts +63 -62
- package/dist/lib/components/cascader/src/cascader-types.d.ts +18 -24
- package/dist/lib/components/cascader/src/cascader.vue.d.ts +86 -0
- package/dist/lib/components/cascader/src/use-cascader.d.ts +2 -2
- package/dist/lib/components/checkbox/index.d.ts +113 -0
- package/dist/lib/components/checkbox/src/checkbox-types.d.ts +62 -0
- package/dist/lib/components/{select/src/select.d.ts → checkbox/src/checkbox.vue.d.ts} +53 -48
- package/dist/lib/components/checkbox/src/use-checkbox.d.ts +2 -0
- package/dist/lib/components/codeEditorModel/index.d.ts +187 -0
- package/dist/lib/components/codeEditorModel/src/codeEditorModel.vue.d.ts +184 -0
- package/dist/lib/components/collapse-transition/index.d.ts +16 -0
- package/dist/lib/components/collapse-transition/src/collapse-transition.vue.d.ts +15 -0
- package/dist/lib/components/coutdown/index.d.ts +94 -0
- package/dist/lib/components/coutdown/src/coutdown.d.ts +56 -0
- package/dist/lib/components/coutdown/src/coutdown.vue.d.ts +99 -0
- package/dist/lib/components/currency/index.d.ts +109 -0
- package/dist/lib/components/currency/src/currency-type.d.ts +47 -0
- package/dist/lib/components/currency/src/currency.vue.d.ts +105 -0
- package/dist/lib/components/currency/src/use-currency.d.ts +2 -0
- package/dist/lib/components/currency/src/use-methods.d.ts +14 -0
- package/dist/lib/components/detail-form/index.d.ts +102 -0
- package/dist/lib/components/detail-form/src/detail-form.vue.d.ts +99 -0
- package/dist/lib/components/detail-form/src/use-detail-form.d.ts +2 -0
- package/dist/lib/components/detail-grid/index.d.ts +2633 -0
- package/dist/lib/components/detail-grid/src/detail-grid.vue.d.ts +2630 -0
- package/dist/lib/components/detail-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/detail-grid/src/use-detail-grid.d.ts +2 -0
- package/dist/lib/components/detail-page-layout/index.d.ts +186 -0
- package/dist/lib/components/detail-page-layout/src/detail-page-layout.vue.d.ts +183 -0
- package/dist/lib/components/detail-page-layout/src/use-detail-page-layout.d.ts +2 -0
- package/dist/lib/components/edit-form/index.d.ts +103 -62
- package/dist/lib/components/edit-form/src/edit-form-types.d.ts +29 -25
- package/dist/lib/components/edit-form/src/edit-form.vue.d.ts +104 -62
- package/dist/lib/components/edit-form/src/hook/use-callback-hook.d.ts +11 -0
- package/dist/lib/components/edit-form/src/hook/use-form-config-hook.d.ts +8 -0
- package/dist/lib/components/edit-form/src/use-edit-form.d.ts +1 -1
- package/dist/lib/components/edit-grid/index.d.ts +126 -89
- package/dist/lib/components/edit-grid/src/components/empty/index.d.ts +8 -0
- package/dist/lib/components/edit-grid/src/edit-grid-types.d.ts +34 -25
- package/dist/lib/components/edit-grid/src/edit-grid.vue.d.ts +126 -89
- package/dist/lib/components/edit-grid/src/hook/use-grid-config-hook.d.ts +10 -0
- package/dist/lib/components/edit-grid/src/hook/use-grid-height-hook.d.ts +4 -0
- package/dist/lib/components/edit-grid/src/use-edit-grid.d.ts +1 -1
- package/dist/lib/components/edit-page-layout/index.d.ts +66 -10
- package/dist/lib/components/edit-page-layout/src/edit-page-layout-types.d.ts +210 -42
- package/dist/lib/components/edit-page-layout/src/edit-page-layout.vue.d.ts +66 -10
- package/dist/lib/components/edit-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/editor/index.d.ts +31 -0
- package/dist/lib/components/editor/src/index.vue.d.ts +28 -0
- package/dist/lib/components/field-select-modal/index.d.ts +150 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal-types.d.ts +85 -0
- package/dist/lib/components/field-select-modal/src/field-select-modal.vue.d.ts +146 -0
- package/dist/lib/components/field-select-modal/src/use-field-select-modal.d.ts +6 -0
- package/dist/lib/components/index.d.ts +23 -3
- package/dist/lib/components/item-wrap/index.d.ts +57 -0
- package/dist/lib/components/item-wrap/src/item-wrap-types.d.ts +27 -0
- package/dist/lib/components/item-wrap/src/item-wrap.vue.d.ts +53 -0
- package/dist/lib/components/item-wrap/src/use-item-wrap.d.ts +2 -0
- package/dist/lib/components/layout/index.d.ts +93 -12
- package/dist/lib/components/layout/src/header/index.vue.d.ts +223 -0
- package/dist/lib/components/layout/src/header/navRight/customMessage.vue.d.ts +8 -17
- package/dist/lib/components/layout/src/header/navRight/customPerson.vue.d.ts +19 -0
- package/dist/lib/components/layout/src/header/navRight/index.vue.d.ts +176 -0
- package/dist/lib/components/layout/src/header/navRight/langSwitch.vue.d.ts +26 -6
- package/dist/lib/components/layout/src/header/navRight/rightTool.vue.d.ts +27 -45
- package/dist/lib/components/layout/src/header/navRight/settingDrawer.vue.d.ts +34 -0
- package/dist/lib/components/layout/src/index.vue.d.ts +93 -26
- package/dist/lib/components/layout/src/menu/deepCycleSubMenu.vue.d.ts +4 -1
- package/dist/lib/components/layout/src/menu/menu.vue.d.ts +56 -72
- package/dist/lib/components/layout/src/menu/secondLevelMenu.vue.d.ts +4 -22
- package/dist/lib/components/layout/src/menu/subSecondMenu.vue.d.ts +3 -21
- package/dist/lib/components/layout/src/sider/index.vue.d.ts +23 -24
- package/dist/lib/components/layout/src/sider/logo.vue.d.ts +1 -10
- package/dist/lib/components/layout/src/sider/search.vue.d.ts +77 -2
- package/dist/lib/components/layout/src/types.d.ts +68 -0
- package/dist/lib/components/{layout-auchor → layout-anchor}/index.d.ts +9 -6
- package/dist/lib/components/{layout-auchor/src/layout-auchor-types.d.ts → layout-anchor/src/layout-anchor-types.d.ts} +3 -3
- package/dist/lib/components/{layout-auchor → layout-anchor}/src/layout-auchor.vue.d.ts +6 -3
- package/dist/lib/components/layout-anchor/src/use-layout-anchor.d.ts +2 -0
- package/dist/lib/components/layout-buttons/index.d.ts +38 -1
- package/dist/lib/components/layout-buttons/src/layout-buttons-types.d.ts +17 -1
- package/dist/lib/components/layout-buttons/src/layout-buttons.vue.d.ts +38 -1
- package/dist/lib/components/layout-buttons/src/use-layout-buttons.d.ts +1 -1
- package/dist/lib/components/layout-pattern/index.d.ts +7 -13
- package/dist/lib/components/layout-pattern/src/components/vertical.vue.d.ts +34 -4
- package/dist/lib/components/layout-pattern/src/layout-pattern-types.d.ts +4 -6
- package/dist/lib/components/layout-pattern/src/layout-pattern.vue.d.ts +7 -13
- package/dist/lib/components/list-page-layout/index.d.ts +244 -0
- package/dist/lib/components/list-page-layout/src/components/common/add-modal/add-modal.vue.d.ts +21 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/columnSetting.vue.d.ts +293 -0
- package/dist/lib/components/list-page-layout/src/components/common/columnSetting/use-grid-slot-hook.d.ts +22 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/edit-nav-modal.vue.d.ts +16 -0
- package/dist/lib/components/list-page-layout/src/components/common/edit-nav-modal/types.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/components/common/help-text-modal/help-text-modal.vue.d.ts +8 -0
- package/dist/lib/components/list-page-layout/src/components/common/import-modal/import-modal.vue.d.ts +40 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/mock.d.ts +48 -0
- package/dist/lib/components/list-page-layout/src/components/common/record-modal/record-modal.vue.d.ts +5088 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/events-helper.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/components/list-content/list-content.vue.d.ts +95 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/events-helper.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/components/list-content-buttons/list-content-buttons.vue.d.ts +33 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/list-header.vue.d.ts +27 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/query/index.vue.d.ts +15 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/quick-nav/index.vue.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/searchExtend/index.vue.d.ts +103 -0
- package/dist/lib/components/list-page-layout/src/components/list-header/module/tabs/index.vue.d.ts +56 -0
- package/dist/lib/components/list-page-layout/src/hooks/export-xls-hook.d.ts +4 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-data-hook.d.ts +5 -0
- package/dist/lib/components/list-page-layout/src/hooks/fetch-head-data-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/get-columns-hook.d.ts +6 -0
- package/dist/lib/components/list-page-layout/src/hooks/list-slot-hook.d.ts +9 -0
- package/dist/lib/components/list-page-layout/src/hooks/use-button-function-hook.d.ts +13 -0
- package/dist/lib/components/list-page-layout/src/layout.vue.d.ts +238 -0
- package/dist/lib/components/list-page-layout/src/list-page-layout-types.d.ts +358 -0
- package/dist/lib/components/list-page-layout/src/symbol.d.ts +11 -0
- package/dist/lib/components/list-page-layout/src/tokens.d.ts +12 -0
- package/dist/lib/components/list-page-layout/src/types.d.ts +1 -0
- package/dist/lib/components/list-page-layout/src/utils/gridConfig.d.ts +174 -0
- package/dist/lib/components/page-layout/index.d.ts +11 -1
- package/dist/lib/components/page-layout/src/constant/buttons.d.ts +10 -0
- package/dist/lib/components/page-layout/src/constant/index.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/items.d.ts +3 -0
- package/dist/lib/components/page-layout/src/constant/symbol.d.ts +15 -0
- package/dist/lib/components/page-layout/src/hook/use-merge-defaultValues-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-page-data-hook.d.ts +6 -0
- package/dist/lib/components/page-layout/src/hook/use-promise-step.d.ts +26 -0
- package/dist/lib/components/page-layout/src/hook/use-ref-instance-hook.d.ts +7 -0
- package/dist/lib/components/page-layout/src/hook/use-remote-config-hook.d.ts +5 -2
- package/dist/lib/components/page-layout/src/page-layout-types.d.ts +1 -1
- package/dist/lib/components/page-layout/src/page-layout.vue.d.ts +6 -1
- package/dist/lib/components/page-layout/src/token.d.ts +7 -1
- package/dist/lib/components/page-layout/src/util.d.ts +10 -35
- package/dist/lib/components/radio/index.d.ts +104 -0
- package/dist/lib/components/radio/src/radio-types.d.ts +56 -0
- package/dist/lib/components/radio/src/radio.vue.d.ts +100 -0
- package/dist/lib/components/radio/src/use-radio.d.ts +2 -0
- package/dist/lib/components/remote-select/index.d.ts +122 -0
- package/dist/lib/components/remote-select/src/remote-select-types.d.ts +50 -0
- package/dist/lib/components/remote-select/src/remote-select.vue.d.ts +118 -0
- package/dist/lib/components/remote-select/src/use-remote-select.d.ts +6 -0
- package/dist/lib/components/select/index.d.ts +29 -42
- package/dist/lib/components/select/src/select-types.d.ts +6 -17
- package/dist/lib/components/select/src/select.vue.d.ts +91 -0
- package/dist/lib/components/select/src/use-select.d.ts +2 -2
- package/dist/lib/components/select-modal/index.d.ts +329 -0
- package/dist/lib/components/select-modal/src/select-modal-types.d.ts +51 -0
- package/dist/lib/components/select-modal/src/select-modal.vue.d.ts +325 -0
- package/dist/lib/components/select-modal/src/use-select-modal.d.ts +6 -0
- package/dist/lib/components/shared/hooks/use-namespace-last.d.ts +23 -0
- package/dist/lib/components/shared/hooks/use-namespace.d.ts +4 -4
- package/dist/lib/components/switch/index.d.ts +8 -7
- package/dist/lib/components/switch/src/switch-types.d.ts +1 -3
- package/dist/lib/components/switch/src/{switch.d.ts → switch.vue.d.ts} +9 -8
- package/dist/lib/components/tree-select/index.d.ts +114 -0
- package/dist/lib/components/tree-select/src/tree-select-types.d.ts +60 -0
- package/dist/lib/components/tree-select/src/tree-select.vue.d.ts +110 -0
- package/dist/lib/components/tree-select/src/use-tree-select.d.ts +2 -0
- package/dist/lib/components/upload-file/index.d.ts +266 -0
- package/dist/lib/components/upload-file/src/hook/use-file-column-hook.d.ts +20 -0
- package/dist/lib/components/upload-file/src/hook/use-operation-column-button-hook.d.ts +11 -0
- package/dist/lib/components/upload-file/src/hook/use-operation-column-hook.d.ts +15 -0
- package/dist/lib/components/upload-file/src/upload-file-types.d.ts +154 -0
- package/dist/lib/components/upload-file/src/upload-file.vue.d.ts +258 -0
- package/dist/lib/components/upload-image/index.d.ts +191 -0
- package/dist/lib/components/upload-image/src/upload-image-type.d.ts +53 -0
- package/dist/lib/components/upload-image/src/upload-image.vue.d.ts +187 -0
- package/dist/lib/components/vxe-select/index.d.ts +116 -0
- package/dist/lib/components/vxe-select/src/use-vxe-select.d.ts +2 -0
- package/dist/lib/components/vxe-select/src/vxe-select-types.d.ts +58 -0
- package/dist/lib/components/vxe-select/src/vxe-select.vue.d.ts +112 -0
- package/dist/lib/index.d.ts +16 -2
- package/dist/lib/plugins/table/pro/vxe-table-pro.es6.min.d.ts +7 -7
- package/dist/lib/setting/vxe-table/config.d.ts +3 -0
- package/dist/lib/utils/event.d.ts +37 -0
- package/dist/router/index.d.ts +4 -0
- package/dist/stores/user.d.ts +25 -0
- package/dist/style.css +6 -8
- package/dist/utils/qApiPlugin.d.ts +6 -0
- package/dist/views/dashboard/workspace.vue.d.ts +6972 -0
- package/dist/vite-env.d.ts +23 -8
- package/package.json +25 -12
- package/dist/lib/components/cascader/src/cascader.d.ts +0 -85
- package/dist/lib/components/layout/src/menu/icon.d.ts +0 -6
- package/dist/lib/components/layout-auchor/src/use-layout-auchor.d.ts +0 -2
- package/dist/lib/components/layout-header/index.d.ts +0 -17
- package/dist/lib/components/layout-header/src/layout-header-types.d.ts +0 -8
- package/dist/lib/components/layout-header/src/layout-header.vue.d.ts +0 -13
- package/dist/lib/components/layout-header/src/use-layout-header.d.ts +0 -2
- package/dist/lib/constant/constant.d.ts +0 -1
- package/dist/lib/types/ComponentCustomProperties .d.ts +0 -6
|
@@ -1,106 +1,88 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
declare type ThemeNameType = 'light' | 'dark';
|
|
4
|
-
interface appConfigProvideType {
|
|
5
|
-
theme: Ref<'light' | 'dark'>;
|
|
6
|
-
updateTheme: () => void;
|
|
7
|
-
}
|
|
1
|
+
import type { DefineComponent, Ref, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
type ThemeNameType = 'light' | 'dark';
|
|
8
3
|
declare const _sfc_main: DefineComponent<{}, {
|
|
9
4
|
lightTheme: Ref<ThemeNameType>;
|
|
10
5
|
darkTheme: Ref<ThemeNameType>;
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
Q_APPLICATION_CONFIG: {
|
|
7
|
+
updateTheme: () => void;
|
|
8
|
+
theme: string;
|
|
9
|
+
};
|
|
10
|
+
handleChat: () => void;
|
|
11
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
|
|
12
|
+
handleKefu: () => void;
|
|
13
|
+
theme: string;
|
|
13
14
|
updateTheme: () => void;
|
|
14
|
-
darkImg: Ref<string>;
|
|
15
|
-
lightImg: Ref<string>;
|
|
16
15
|
list: Ref<{
|
|
17
|
-
icon: iconTypes;
|
|
18
|
-
type: string;
|
|
19
16
|
title: string;
|
|
17
|
+
icon: string;
|
|
18
|
+
type: string;
|
|
19
|
+
color?: string | undefined;
|
|
20
20
|
}[]>;
|
|
21
21
|
iconToolClick: (type: string) => void;
|
|
22
22
|
openChat: () => void;
|
|
23
23
|
fetchCustomer: () => void;
|
|
24
|
-
readonly
|
|
24
|
+
readonly QSymbolIcon: DefineComponent<{
|
|
25
25
|
type: {
|
|
26
|
-
type: PropType<
|
|
26
|
+
type: PropType<string>;
|
|
27
27
|
default: string;
|
|
28
28
|
};
|
|
29
29
|
size: {
|
|
30
30
|
type: (StringConstructor | NumberConstructor)[];
|
|
31
|
-
default: number;
|
|
32
31
|
};
|
|
33
32
|
color: {
|
|
34
33
|
type: StringConstructor;
|
|
35
|
-
default: string;
|
|
36
34
|
};
|
|
37
35
|
}, {
|
|
38
|
-
fontSize: ComputedRef<
|
|
39
|
-
fontSize: string;
|
|
40
|
-
}>;
|
|
36
|
+
fontSize: ComputedRef<string>;
|
|
41
37
|
iconType: ComputedRef<string>;
|
|
42
|
-
iconColor: ComputedRef<
|
|
43
|
-
color: string;
|
|
44
|
-
}>;
|
|
38
|
+
iconColor: ComputedRef<string>;
|
|
45
39
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
46
40
|
type: {
|
|
47
|
-
type: PropType<
|
|
41
|
+
type: PropType<string>;
|
|
48
42
|
default: string;
|
|
49
43
|
};
|
|
50
44
|
size: {
|
|
51
45
|
type: (StringConstructor | NumberConstructor)[];
|
|
52
|
-
default: number;
|
|
53
46
|
};
|
|
54
47
|
color: {
|
|
55
48
|
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
49
|
};
|
|
58
50
|
}>>, {
|
|
59
|
-
type:
|
|
60
|
-
size: string | number;
|
|
61
|
-
color: string;
|
|
51
|
+
type: string;
|
|
62
52
|
}>;
|
|
63
53
|
message: DefineComponent<{}, {
|
|
54
|
+
handleMsgRecord: () => void;
|
|
55
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number | undefined) => string;
|
|
64
56
|
msgTotal: Ref<number>;
|
|
65
57
|
toElsMsgRecord: () => void;
|
|
66
|
-
readonly
|
|
58
|
+
readonly QSymbolIcon: DefineComponent<{
|
|
67
59
|
type: {
|
|
68
|
-
type: PropType<
|
|
60
|
+
type: PropType<string>;
|
|
69
61
|
default: string;
|
|
70
62
|
};
|
|
71
63
|
size: {
|
|
72
64
|
type: (StringConstructor | NumberConstructor)[];
|
|
73
|
-
default: number;
|
|
74
65
|
};
|
|
75
66
|
color: {
|
|
76
67
|
type: StringConstructor;
|
|
77
|
-
default: string;
|
|
78
68
|
};
|
|
79
69
|
}, {
|
|
80
|
-
fontSize: ComputedRef<
|
|
81
|
-
fontSize: string;
|
|
82
|
-
}>;
|
|
70
|
+
fontSize: ComputedRef<string>;
|
|
83
71
|
iconType: ComputedRef<string>;
|
|
84
|
-
iconColor: ComputedRef<
|
|
85
|
-
color: string;
|
|
86
|
-
}>;
|
|
72
|
+
iconColor: ComputedRef<string>;
|
|
87
73
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
88
74
|
type: {
|
|
89
|
-
type: PropType<
|
|
75
|
+
type: PropType<string>;
|
|
90
76
|
default: string;
|
|
91
77
|
};
|
|
92
78
|
size: {
|
|
93
79
|
type: (StringConstructor | NumberConstructor)[];
|
|
94
|
-
default: number;
|
|
95
80
|
};
|
|
96
81
|
color: {
|
|
97
82
|
type: StringConstructor;
|
|
98
|
-
default: string;
|
|
99
83
|
};
|
|
100
84
|
}>>, {
|
|
101
|
-
type:
|
|
102
|
-
size: string | number;
|
|
103
|
-
color: string;
|
|
85
|
+
type: string;
|
|
104
86
|
}>;
|
|
105
87
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
106
88
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{}>>, {}>;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { CheckOutlinedIconType } from '@ant-design/icons-vue/lib/icons/CheckOutlined';
|
|
2
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
3
|
+
import type { ColorListType } from '../../types';
|
|
4
|
+
declare const _sfc_main: DefineComponent<{
|
|
5
|
+
visible: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
}, {
|
|
10
|
+
srmI18n: (i18nKey: string, defaultValue: string, account?: string | number) => string;
|
|
11
|
+
props: any;
|
|
12
|
+
emit: (event: "handleClosed", ...args: any[]) => void;
|
|
13
|
+
drawerVisible: Ref<boolean>;
|
|
14
|
+
primaryColor: Ref<string>;
|
|
15
|
+
colorList: ColorListType[];
|
|
16
|
+
changeColor: (color: string) => void;
|
|
17
|
+
close: () => void;
|
|
18
|
+
colorState: {
|
|
19
|
+
primaryColor: string;
|
|
20
|
+
errorColor: string;
|
|
21
|
+
warningColor: string;
|
|
22
|
+
successColor: string;
|
|
23
|
+
infoColor: string;
|
|
24
|
+
};
|
|
25
|
+
readonly CheckOutlined: CheckOutlinedIconType;
|
|
26
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "handleClosed"[], "handleClosed", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
27
|
+
visible: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>> & {
|
|
32
|
+
onHandleClosed?: ((...args: any[]) => any) | undefined;
|
|
33
|
+
}, {}>;
|
|
34
|
+
export default _sfc_main;
|
|
@@ -1,20 +1,10 @@
|
|
|
1
|
-
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
redirect?: string | null;
|
|
4
|
-
path: string;
|
|
5
|
-
component: string;
|
|
6
|
-
route: string;
|
|
7
|
-
children?: MenuProps[];
|
|
8
|
-
meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
[propName: string]: string;
|
|
12
|
-
};
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
1
|
+
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
+
import type { Menu, UserInfoType } from './types';
|
|
17
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
internalOrExternal: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
18
8
|
version: {
|
|
19
9
|
type: StringConstructor;
|
|
20
10
|
};
|
|
@@ -38,10 +28,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
38
28
|
};
|
|
39
29
|
menus: {
|
|
40
30
|
type: {
|
|
41
|
-
(arrayLength: number):
|
|
42
|
-
(...items:
|
|
43
|
-
new (arrayLength: number):
|
|
44
|
-
new (...items:
|
|
31
|
+
(arrayLength: number): Menu[];
|
|
32
|
+
(...items: Menu[]): Menu[];
|
|
33
|
+
new (arrayLength: number): Menu[];
|
|
34
|
+
new (...items: Menu[]): Menu[];
|
|
45
35
|
isArray(arg: any): arg is any[];
|
|
46
36
|
readonly prototype: any[];
|
|
47
37
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -57,6 +47,42 @@ declare const _sfc_main: DefineComponent<{
|
|
|
57
47
|
type: StringConstructor;
|
|
58
48
|
default: string;
|
|
59
49
|
};
|
|
50
|
+
logoutEvent: {
|
|
51
|
+
type: FunctionConstructor;
|
|
52
|
+
};
|
|
53
|
+
userInfo: {
|
|
54
|
+
type: PropType<UserInfoType>;
|
|
55
|
+
};
|
|
56
|
+
defaultLanguage: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
};
|
|
59
|
+
switchLanguageEvent: {
|
|
60
|
+
type: FunctionConstructor;
|
|
61
|
+
};
|
|
62
|
+
msgRecord: {
|
|
63
|
+
type: FunctionConstructor;
|
|
64
|
+
};
|
|
65
|
+
personalSetting: {
|
|
66
|
+
type: FunctionConstructor;
|
|
67
|
+
};
|
|
68
|
+
tanentPageHome: {
|
|
69
|
+
type: FunctionConstructor;
|
|
70
|
+
};
|
|
71
|
+
shoppingMall: {
|
|
72
|
+
type: FunctionConstructor;
|
|
73
|
+
};
|
|
74
|
+
webFinancialCloud: {
|
|
75
|
+
type: FunctionConstructor;
|
|
76
|
+
};
|
|
77
|
+
webProcurement: {
|
|
78
|
+
type: FunctionConstructor;
|
|
79
|
+
};
|
|
80
|
+
chat: {
|
|
81
|
+
type: FunctionConstructor;
|
|
82
|
+
};
|
|
83
|
+
kefu: {
|
|
84
|
+
type: FunctionConstructor;
|
|
85
|
+
};
|
|
60
86
|
}, {
|
|
61
87
|
menuSelect: (obj: any) => void;
|
|
62
88
|
scheduleClick: () => void;
|
|
@@ -64,10 +90,14 @@ declare const _sfc_main: DefineComponent<{
|
|
|
64
90
|
layoutAreaClick: (e: {
|
|
65
91
|
target: Node | null;
|
|
66
92
|
}) => void;
|
|
67
|
-
updateMenuShow: () => void;
|
|
93
|
+
updateMenuShow: (flag: boolean) => void;
|
|
68
94
|
secondMenuShow: Ref<boolean>;
|
|
69
95
|
siderRef: Ref<any>;
|
|
70
96
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "schedule-click" | "services-click")[], "menuSelect" | "schedule-click" | "services-click", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
97
|
+
internalOrExternal: {
|
|
98
|
+
type: BooleanConstructor;
|
|
99
|
+
default: boolean;
|
|
100
|
+
};
|
|
71
101
|
version: {
|
|
72
102
|
type: StringConstructor;
|
|
73
103
|
};
|
|
@@ -91,10 +121,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
91
121
|
};
|
|
92
122
|
menus: {
|
|
93
123
|
type: {
|
|
94
|
-
(arrayLength: number):
|
|
95
|
-
(...items:
|
|
96
|
-
new (arrayLength: number):
|
|
97
|
-
new (...items:
|
|
124
|
+
(arrayLength: number): Menu[];
|
|
125
|
+
(...items: Menu[]): Menu[];
|
|
126
|
+
new (arrayLength: number): Menu[];
|
|
127
|
+
new (...items: Menu[]): Menu[];
|
|
98
128
|
isArray(arg: any): arg is any[];
|
|
99
129
|
readonly prototype: any[];
|
|
100
130
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -110,13 +140,50 @@ declare const _sfc_main: DefineComponent<{
|
|
|
110
140
|
type: StringConstructor;
|
|
111
141
|
default: string;
|
|
112
142
|
};
|
|
143
|
+
logoutEvent: {
|
|
144
|
+
type: FunctionConstructor;
|
|
145
|
+
};
|
|
146
|
+
userInfo: {
|
|
147
|
+
type: PropType<UserInfoType>;
|
|
148
|
+
};
|
|
149
|
+
defaultLanguage: {
|
|
150
|
+
type: StringConstructor;
|
|
151
|
+
};
|
|
152
|
+
switchLanguageEvent: {
|
|
153
|
+
type: FunctionConstructor;
|
|
154
|
+
};
|
|
155
|
+
msgRecord: {
|
|
156
|
+
type: FunctionConstructor;
|
|
157
|
+
};
|
|
158
|
+
personalSetting: {
|
|
159
|
+
type: FunctionConstructor;
|
|
160
|
+
};
|
|
161
|
+
tanentPageHome: {
|
|
162
|
+
type: FunctionConstructor;
|
|
163
|
+
};
|
|
164
|
+
shoppingMall: {
|
|
165
|
+
type: FunctionConstructor;
|
|
166
|
+
};
|
|
167
|
+
webFinancialCloud: {
|
|
168
|
+
type: FunctionConstructor;
|
|
169
|
+
};
|
|
170
|
+
webProcurement: {
|
|
171
|
+
type: FunctionConstructor;
|
|
172
|
+
};
|
|
173
|
+
chat: {
|
|
174
|
+
type: FunctionConstructor;
|
|
175
|
+
};
|
|
176
|
+
kefu: {
|
|
177
|
+
type: FunctionConstructor;
|
|
178
|
+
};
|
|
113
179
|
}>> & {
|
|
114
180
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
115
181
|
"onSchedule-click"?: ((...args: any[]) => any) | undefined;
|
|
116
182
|
"onServices-click"?: ((...args: any[]) => any) | undefined;
|
|
117
183
|
}, {
|
|
184
|
+
menus: Menu[];
|
|
118
185
|
layoutMode: string;
|
|
119
|
-
|
|
186
|
+
internalOrExternal: boolean;
|
|
120
187
|
collapsible: boolean;
|
|
121
188
|
}>;
|
|
122
189
|
export default _sfc_main;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
+
import type { ExtendMenu } from '../types';
|
|
2
3
|
declare const _sfc_main: DefineComponent<{
|
|
3
4
|
menuInfo: {
|
|
4
5
|
type: ObjectConstructor;
|
|
5
6
|
default: () => {};
|
|
6
7
|
};
|
|
7
|
-
}, {
|
|
8
|
+
}, {
|
|
9
|
+
deepCycleMenuRouter: (item: ExtendMenu) => void;
|
|
10
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
8
11
|
menuInfo: {
|
|
9
12
|
type: ObjectConstructor;
|
|
10
13
|
default: () => {};
|
|
@@ -1,26 +1,14 @@
|
|
|
1
1
|
import type { DefineComponent, Ref, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
redirect?: string | null;
|
|
4
|
-
path: string;
|
|
5
|
-
component: string;
|
|
6
|
-
route: string;
|
|
7
|
-
children?: Menu[];
|
|
8
|
-
meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
[propName: string]: string;
|
|
12
|
-
};
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
id: string;
|
|
16
|
-
hasChild?: boolean;
|
|
17
|
-
count?: number | string;
|
|
18
|
-
}
|
|
19
|
-
interface Meta {
|
|
20
|
-
icon: string;
|
|
21
|
-
title: string;
|
|
22
|
-
}
|
|
2
|
+
import type { ExtendMenu, FirstMenuMeta } from '../types';
|
|
23
3
|
declare const _sfc_main: DefineComponent<{
|
|
4
|
+
searchState: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
currentSearchValue: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: string;
|
|
11
|
+
};
|
|
24
12
|
secondMenuShow: {
|
|
25
13
|
type: BooleanConstructor;
|
|
26
14
|
default: boolean;
|
|
@@ -32,10 +20,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
32
20
|
menus: {
|
|
33
21
|
required: true;
|
|
34
22
|
type: {
|
|
35
|
-
(arrayLength: number):
|
|
36
|
-
(...items:
|
|
37
|
-
new (arrayLength: number):
|
|
38
|
-
new (...items:
|
|
23
|
+
(arrayLength: number): ExtendMenu[];
|
|
24
|
+
(...items: ExtendMenu[]): ExtendMenu[];
|
|
25
|
+
new (arrayLength: number): ExtendMenu[];
|
|
26
|
+
new (...items: ExtendMenu[]): ExtendMenu[];
|
|
39
27
|
isArray(arg: any): arg is any[];
|
|
40
28
|
readonly prototype: any[];
|
|
41
29
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -54,30 +42,32 @@ declare const _sfc_main: DefineComponent<{
|
|
|
54
42
|
type: StringConstructor;
|
|
55
43
|
default: string;
|
|
56
44
|
};
|
|
57
|
-
searchOpenKeys: {
|
|
58
|
-
type: {
|
|
59
|
-
(arrayLength: number): string[];
|
|
60
|
-
(...items: string[]): string[];
|
|
61
|
-
new (arrayLength: number): string[];
|
|
62
|
-
new (...items: string[]): string[];
|
|
63
|
-
isArray(arg: any): arg is any[];
|
|
64
|
-
readonly prototype: any[];
|
|
65
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
66
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
67
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
68
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
69
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
70
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
71
|
-
};
|
|
72
|
-
default: () => never[];
|
|
73
|
-
};
|
|
74
45
|
}, {
|
|
75
46
|
firstLevelMenus: Ref<{
|
|
47
|
+
hidden?: boolean | null | undefined;
|
|
48
|
+
isLocal?: boolean | undefined;
|
|
49
|
+
hasChild?: boolean | undefined;
|
|
50
|
+
count?: string | number | undefined;
|
|
76
51
|
redirect?: string | null | undefined;
|
|
77
52
|
path: string;
|
|
78
53
|
component: string;
|
|
79
54
|
route: string;
|
|
80
|
-
children?:
|
|
55
|
+
children?: {
|
|
56
|
+
redirect?: string | null | undefined;
|
|
57
|
+
path: string;
|
|
58
|
+
component: string;
|
|
59
|
+
route: string;
|
|
60
|
+
hidden?: boolean | null | undefined;
|
|
61
|
+
children?: any[] | undefined;
|
|
62
|
+
meta: {
|
|
63
|
+
[x: string]: string;
|
|
64
|
+
title: string;
|
|
65
|
+
icon: string;
|
|
66
|
+
};
|
|
67
|
+
mobile?: boolean | undefined;
|
|
68
|
+
name: string;
|
|
69
|
+
id: string;
|
|
70
|
+
}[] | undefined;
|
|
81
71
|
meta: {
|
|
82
72
|
[x: string]: string;
|
|
83
73
|
title: string;
|
|
@@ -86,15 +76,24 @@ declare const _sfc_main: DefineComponent<{
|
|
|
86
76
|
mobile?: boolean | undefined;
|
|
87
77
|
name: string;
|
|
88
78
|
id: string;
|
|
89
|
-
hasChild?: boolean | undefined;
|
|
90
|
-
count?: string | number | undefined;
|
|
91
79
|
}[]>;
|
|
92
|
-
secondLevelMenus: Ref<
|
|
93
|
-
firstMenuSelect: (item:
|
|
80
|
+
secondLevelMenus: Ref<ExtendMenu[] | undefined>;
|
|
81
|
+
firstMenuSelect: (item: ExtendMenu, index: number) => void;
|
|
94
82
|
currentActive: Ref<number>;
|
|
95
|
-
meta: Ref<
|
|
83
|
+
meta: Ref<FirstMenuMeta | undefined>;
|
|
96
84
|
menuSelect: () => void;
|
|
97
|
-
|
|
85
|
+
expandedKeys: Ref<(string | number)[]>;
|
|
86
|
+
autoExpandParent: Ref<boolean>;
|
|
87
|
+
onSelect: (selectedKeys: string[], e: any) => void;
|
|
88
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, ("menuSelect" | "updateMenuShow" | "updateHistoryList")[], "menuSelect" | "updateMenuShow" | "updateHistoryList", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
89
|
+
searchState: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
currentSearchValue: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
};
|
|
98
97
|
secondMenuShow: {
|
|
99
98
|
type: BooleanConstructor;
|
|
100
99
|
default: boolean;
|
|
@@ -106,10 +105,10 @@ declare const _sfc_main: DefineComponent<{
|
|
|
106
105
|
menus: {
|
|
107
106
|
required: true;
|
|
108
107
|
type: {
|
|
109
|
-
(arrayLength: number):
|
|
110
|
-
(...items:
|
|
111
|
-
new (arrayLength: number):
|
|
112
|
-
new (...items:
|
|
108
|
+
(arrayLength: number): ExtendMenu[];
|
|
109
|
+
(...items: ExtendMenu[]): ExtendMenu[];
|
|
110
|
+
new (arrayLength: number): ExtendMenu[];
|
|
111
|
+
new (...items: ExtendMenu[]): ExtendMenu[];
|
|
113
112
|
isArray(arg: any): arg is any[];
|
|
114
113
|
readonly prototype: any[];
|
|
115
114
|
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
@@ -128,31 +127,16 @@ declare const _sfc_main: DefineComponent<{
|
|
|
128
127
|
type: StringConstructor;
|
|
129
128
|
default: string;
|
|
130
129
|
};
|
|
131
|
-
searchOpenKeys: {
|
|
132
|
-
type: {
|
|
133
|
-
(arrayLength: number): string[];
|
|
134
|
-
(...items: string[]): string[];
|
|
135
|
-
new (arrayLength: number): string[];
|
|
136
|
-
new (...items: string[]): string[];
|
|
137
|
-
isArray(arg: any): arg is any[];
|
|
138
|
-
readonly prototype: any[];
|
|
139
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
140
|
-
from<T_1, U>(arrayLike: ArrayLike<T_1>, mapfn: (v: T_1, k: number) => U, thisArg?: any): U[];
|
|
141
|
-
from<T_2>(iterable: Iterable<T_2> | ArrayLike<T_2>): T_2[];
|
|
142
|
-
from<T_3, U_1>(iterable: Iterable<T_3> | ArrayLike<T_3>, mapfn: (v: T_3, k: number) => U_1, thisArg?: any): U_1[];
|
|
143
|
-
of<T_4>(...items: T_4[]): T_4[];
|
|
144
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
145
|
-
};
|
|
146
|
-
default: () => never[];
|
|
147
|
-
};
|
|
148
130
|
}>> & {
|
|
149
131
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
150
132
|
onUpdateMenuShow?: ((...args: any[]) => any) | undefined;
|
|
133
|
+
onUpdateHistoryList?: ((...args: any[]) => any) | undefined;
|
|
151
134
|
}, {
|
|
152
135
|
mode: string;
|
|
136
|
+
menus: ExtendMenu[];
|
|
153
137
|
collapsed: boolean;
|
|
154
|
-
|
|
155
|
-
|
|
138
|
+
searchState: boolean;
|
|
139
|
+
currentSearchValue: string;
|
|
156
140
|
secondMenuShow: boolean;
|
|
157
141
|
}>;
|
|
158
142
|
export default _sfc_main;
|
|
@@ -1,26 +1,8 @@
|
|
|
1
1
|
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType } from 'vue';
|
|
2
|
-
|
|
3
|
-
redirect?: string | null;
|
|
4
|
-
path: string;
|
|
5
|
-
component: string;
|
|
6
|
-
route: string;
|
|
7
|
-
children?: Menu[];
|
|
8
|
-
meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
[propName: string]: string;
|
|
12
|
-
};
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
|
-
interface Meta {
|
|
18
|
-
icon: string;
|
|
19
|
-
title: string;
|
|
20
|
-
}
|
|
2
|
+
import type { Menu, FirstMenuMeta } from '../types';
|
|
21
3
|
declare const _sfc_main: DefineComponent<{
|
|
22
4
|
meta: {
|
|
23
|
-
type: PropType<
|
|
5
|
+
type: PropType<FirstMenuMeta>;
|
|
24
6
|
default: () => {};
|
|
25
7
|
};
|
|
26
8
|
mode: {
|
|
@@ -51,7 +33,7 @@ declare const _sfc_main: DefineComponent<{
|
|
|
51
33
|
menuSelect: (obj: any) => void;
|
|
52
34
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
53
35
|
meta: {
|
|
54
|
-
type: PropType<
|
|
36
|
+
type: PropType<FirstMenuMeta>;
|
|
55
37
|
default: () => {};
|
|
56
38
|
};
|
|
57
39
|
mode: {
|
|
@@ -82,6 +64,6 @@ declare const _sfc_main: DefineComponent<{
|
|
|
82
64
|
onMenuSelect?: ((...args: any[]) => any) | undefined;
|
|
83
65
|
}, {
|
|
84
66
|
mode: string;
|
|
85
|
-
meta:
|
|
67
|
+
meta: FirstMenuMeta;
|
|
86
68
|
}>;
|
|
87
69
|
export default _sfc_main;
|
|
@@ -1,24 +1,5 @@
|
|
|
1
1
|
import type { DefineComponent, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
redirect?: string | null;
|
|
4
|
-
path: string;
|
|
5
|
-
component: string;
|
|
6
|
-
route: string;
|
|
7
|
-
children?: Menu[];
|
|
8
|
-
meta: {
|
|
9
|
-
title: string;
|
|
10
|
-
icon: string;
|
|
11
|
-
[propName: string]: string;
|
|
12
|
-
};
|
|
13
|
-
mobile?: boolean;
|
|
14
|
-
name: string;
|
|
15
|
-
id: string;
|
|
16
|
-
}
|
|
17
|
-
interface State {
|
|
18
|
-
selectedKeys: string[];
|
|
19
|
-
openKeys: string[];
|
|
20
|
-
menus: Array<Menu>;
|
|
21
|
-
}
|
|
2
|
+
import type { Menu, SelectedMemu, ExtendMenu } from '../types';
|
|
22
3
|
declare const _sfc_main: DefineComponent<{
|
|
23
4
|
menus: {
|
|
24
5
|
type: {
|
|
@@ -62,8 +43,9 @@ declare const _sfc_main: DefineComponent<{
|
|
|
62
43
|
default: () => never[];
|
|
63
44
|
};
|
|
64
45
|
}, {
|
|
65
|
-
state:
|
|
46
|
+
state: SelectedMemu;
|
|
66
47
|
menuSelect: (obj: any) => void;
|
|
48
|
+
secondMenuRouter: (item: ExtendMenu) => void;
|
|
67
49
|
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, "menuSelect"[], "menuSelect", VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
68
50
|
menus: {
|
|
69
51
|
type: {
|