ele-admin-plus 1.6.0-beta.1 → 1.6.0
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/ele-admin-layout/components/layout-tabs.d.ts +5 -5
- package/es/ele-admin-layout/index.d.ts +6 -4
- package/es/ele-admin-layout/index.js +12 -12
- package/es/ele-admin-layout/props.d.ts +3 -1
- package/es/ele-admin-layout/props.js +2 -0
- package/es/ele-autocomplete/index.js +2 -0
- package/es/ele-basic-select/components/select-view.d.ts +3 -3
- package/es/ele-basic-select/index.d.ts +3 -3
- package/es/ele-breadcrumb/index.d.ts +2 -2
- package/es/ele-breadcrumb/props.d.ts +1 -1
- package/es/ele-cascader/index.js +4 -0
- package/es/ele-chat/index.js +7 -7
- package/es/ele-checkbox-group/index.d.ts +14 -14
- package/es/ele-checkbox-group/props.d.ts +6 -6
- package/es/ele-crud/components/edit-modal.d.ts +13 -1
- package/es/ele-crud/components/edit-modal.js +36 -2
- package/es/ele-crud/components/table-extra.d.ts +13 -1
- package/es/ele-crud/components/table-extra.js +22 -3
- package/es/ele-crud/index.d.ts +2 -0
- package/es/ele-crud/index.js +14 -0
- package/es/ele-crud/props.d.ts +3 -1
- package/es/ele-crud/props.js +2 -0
- package/es/ele-crud/types.d.ts +8 -0
- package/es/ele-crud-builder/util.js +20 -1
- package/es/ele-data-table/index.d.ts +3 -3
- package/es/ele-data-table/util.d.ts +1 -1
- package/es/ele-drawer/index.d.ts +59 -59
- package/es/ele-drawer/props.d.ts +21 -21
- package/es/ele-dropdown/components/pro-dropdown.d.ts +42 -42
- package/es/ele-dropdown/index.d.ts +42 -42
- package/es/ele-dropdown/props.d.ts +13 -13
- package/es/ele-dropdown-provider/util.d.ts +1 -1
- package/es/ele-icon/index.d.ts +2 -2
- package/es/ele-icon/props.d.ts +1 -1
- package/es/ele-icon-select/index.d.ts +1 -1
- package/es/ele-image-viewer/index.d.ts +20 -20
- package/es/ele-image-viewer/props.d.ts +9 -9
- package/es/ele-menus/components/menu-items.js +1 -1
- package/es/ele-menus/index.d.ts +30 -30
- package/es/ele-menus/props.d.ts +12 -12
- package/es/ele-modal/index.d.ts +52 -48
- package/es/ele-modal/props.d.ts +16 -16
- package/es/ele-pagination/index.d.ts +25 -25
- package/es/ele-pagination/props.d.ts +11 -11
- package/es/ele-popconfirm/index.d.ts +45 -45
- package/es/ele-popconfirm/props.d.ts +18 -18
- package/es/ele-popover/index.d.ts +47 -47
- package/es/ele-popover/props.d.ts +19 -19
- package/es/ele-pro-form/index.d.ts +19 -19
- package/es/ele-pro-form/props.d.ts +7 -7
- package/es/ele-pro-form-builder/style/index.scss +3 -3
- package/es/ele-pro-layout/index.d.ts +8 -6
- package/es/ele-pro-layout/index.js +2 -1
- package/es/ele-pro-layout/props.d.ts +1 -0
- package/es/ele-pro-layout/util.d.ts +5 -0
- package/es/ele-pro-layout/util.js +10 -3
- package/es/ele-pro-table/index.d.ts +4 -4
- package/es/ele-pro-table/style/index.scss +1 -0
- package/es/ele-qr-code-svg/qrcodegen.js +1 -1
- package/es/ele-radio-group/index.d.ts +21 -21
- package/es/ele-radio-group/props.d.ts +9 -9
- package/es/ele-select/index.d.ts +73 -73
- package/es/ele-select/props.d.ts +29 -29
- package/es/ele-select-tree/index.d.ts +91 -91
- package/es/ele-select-tree/props.d.ts +36 -36
- package/es/ele-steps/index.d.ts +18 -18
- package/es/ele-steps/props.d.ts +7 -7
- package/es/ele-tab-tool/index.d.ts +1 -1
- package/es/ele-table-select/index.d.ts +5 -5
- package/es/ele-tabs/index.d.ts +23 -23
- package/es/ele-tabs/props.d.ts +5 -5
- package/es/ele-tool/index.d.ts +1 -1
- package/es/ele-tooltip/index.d.ts +46 -46
- package/es/ele-tooltip/props.d.ts +18 -18
- package/es/ele-transfer/index.d.ts +20 -20
- package/es/ele-transfer/props.d.ts +9 -9
- package/es/ele-tree-select/index.d.ts +5 -5
- package/es/ele-upload-list/components/list-item.d.ts +2 -2
- package/es/ele-virtual-table/components/body-cell.d.ts +6 -6
- package/es/ele-virtual-table/components/cell-filter.d.ts +1 -1
- package/es/ele-virtual-table/components/header-cell.d.ts +2 -2
- package/es/ele-virtual-table/index.d.ts +6 -6
- package/es/utils/common.js +1 -1
- package/es/utils/hook.d.ts +7 -0
- package/es/utils/modal-hook.d.ts +1 -1
- package/es/utils/theme-util.d.ts +4 -0
- package/lib/ele-admin-layout/components/layout-tabs.d.ts +5 -5
- package/lib/ele-admin-layout/index.cjs +12 -12
- package/lib/ele-admin-layout/index.d.ts +6 -4
- package/lib/ele-admin-layout/props.cjs +2 -0
- package/lib/ele-admin-layout/props.d.ts +3 -1
- package/lib/ele-autocomplete/index.cjs +2 -0
- package/lib/ele-basic-select/components/select-view.d.ts +3 -3
- package/lib/ele-basic-select/index.d.ts +3 -3
- package/lib/ele-breadcrumb/index.d.ts +2 -2
- package/lib/ele-breadcrumb/props.d.ts +1 -1
- package/lib/ele-cascader/index.cjs +4 -0
- package/lib/ele-chat/index.cjs +6 -6
- package/lib/ele-checkbox-group/index.d.ts +14 -14
- package/lib/ele-checkbox-group/props.d.ts +6 -6
- package/lib/ele-crud/components/edit-modal.cjs +36 -2
- package/lib/ele-crud/components/edit-modal.d.ts +13 -1
- package/lib/ele-crud/components/table-extra.cjs +22 -3
- package/lib/ele-crud/components/table-extra.d.ts +13 -1
- package/lib/ele-crud/index.cjs +14 -0
- package/lib/ele-crud/index.d.ts +2 -0
- package/lib/ele-crud/props.cjs +2 -0
- package/lib/ele-crud/props.d.ts +3 -1
- package/lib/ele-crud/types.d.ts +8 -0
- package/lib/ele-crud-builder/util.cjs +20 -1
- package/lib/ele-data-table/index.d.ts +3 -3
- package/lib/ele-data-table/util.d.ts +1 -1
- package/lib/ele-drawer/index.d.ts +59 -59
- package/lib/ele-drawer/props.d.ts +21 -21
- package/lib/ele-dropdown/components/pro-dropdown.d.ts +42 -42
- package/lib/ele-dropdown/index.d.ts +42 -42
- package/lib/ele-dropdown/props.d.ts +13 -13
- package/lib/ele-dropdown-provider/util.d.ts +1 -1
- package/lib/ele-icon/index.d.ts +2 -2
- package/lib/ele-icon/props.d.ts +1 -1
- package/lib/ele-icon-select/index.d.ts +1 -1
- package/lib/ele-image-viewer/index.d.ts +20 -20
- package/lib/ele-image-viewer/props.d.ts +9 -9
- package/lib/ele-menus/components/menu-items.cjs +1 -1
- package/lib/ele-menus/index.d.ts +30 -30
- package/lib/ele-menus/props.d.ts +12 -12
- package/lib/ele-modal/index.d.ts +52 -48
- package/lib/ele-modal/props.d.ts +16 -16
- package/lib/ele-pagination/index.d.ts +25 -25
- package/lib/ele-pagination/props.d.ts +11 -11
- package/lib/ele-popconfirm/index.d.ts +45 -45
- package/lib/ele-popconfirm/props.d.ts +18 -18
- package/lib/ele-popover/index.d.ts +47 -47
- package/lib/ele-popover/props.d.ts +19 -19
- package/lib/ele-pro-form/index.d.ts +19 -19
- package/lib/ele-pro-form/props.d.ts +7 -7
- package/lib/ele-pro-form-builder/style/index.scss +3 -3
- package/lib/ele-pro-layout/index.cjs +2 -1
- package/lib/ele-pro-layout/index.d.ts +8 -6
- package/lib/ele-pro-layout/props.d.ts +1 -0
- package/lib/ele-pro-layout/util.cjs +10 -3
- package/lib/ele-pro-layout/util.d.ts +5 -0
- package/lib/ele-pro-table/index.d.ts +4 -4
- package/lib/ele-pro-table/style/index.scss +1 -0
- package/lib/ele-qr-code-svg/qrcodegen.cjs +1 -1
- package/lib/ele-radio-group/index.d.ts +21 -21
- package/lib/ele-radio-group/props.d.ts +9 -9
- package/lib/ele-select/index.d.ts +73 -73
- package/lib/ele-select/props.d.ts +29 -29
- package/lib/ele-select-tree/index.d.ts +91 -91
- package/lib/ele-select-tree/props.d.ts +36 -36
- package/lib/ele-steps/index.d.ts +18 -18
- package/lib/ele-steps/props.d.ts +7 -7
- package/lib/ele-tab-tool/index.d.ts +1 -1
- package/lib/ele-table-select/index.d.ts +5 -5
- package/lib/ele-tabs/index.d.ts +23 -23
- package/lib/ele-tabs/props.d.ts +5 -5
- package/lib/ele-tool/index.d.ts +1 -1
- package/lib/ele-tooltip/index.d.ts +46 -46
- package/lib/ele-tooltip/props.d.ts +18 -18
- package/lib/ele-transfer/index.d.ts +20 -20
- package/lib/ele-transfer/props.d.ts +9 -9
- package/lib/ele-tree-select/index.d.ts +5 -5
- package/lib/ele-upload-list/components/list-item.d.ts +2 -2
- package/lib/ele-virtual-table/components/body-cell.d.ts +6 -6
- package/lib/ele-virtual-table/components/cell-filter.d.ts +1 -1
- package/lib/ele-virtual-table/components/header-cell.d.ts +2 -2
- package/lib/ele-virtual-table/index.d.ts +6 -6
- package/lib/utils/common.cjs +1 -1
- package/lib/utils/hook.d.ts +7 -0
- package/lib/utils/modal-hook.d.ts +1 -1
- package/lib/utils/theme-util.d.ts +4 -0
- package/package.json +45 -4
|
@@ -6,7 +6,7 @@ declare function __VLS_template(): Partial<Record<string, (_: any) => any>> & Pa
|
|
|
6
6
|
item: DropdownItem;
|
|
7
7
|
}) => any>> & {
|
|
8
8
|
default?(_: {
|
|
9
|
-
active: import('element-plus/es/utils/
|
|
9
|
+
active: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
10
10
|
selected: DropdownItem | null | undefined;
|
|
11
11
|
}): any;
|
|
12
12
|
dropdown?(_: {}): any;
|
|
@@ -31,15 +31,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
appendTo: {
|
|
34
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
34
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
splitButton: BooleanConstructor;
|
|
40
|
-
hideOnClick: import('element-plus/es/utils/
|
|
41
|
-
showTimeout: import('element-plus/es/utils/
|
|
42
|
-
hideTimeout: import('element-plus/es/utils/
|
|
40
|
+
hideOnClick: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
41
|
+
showTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
42
|
+
hideTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
43
43
|
buttonProps: {
|
|
44
44
|
readonly type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
45
45
|
readonly required: false;
|
|
@@ -57,21 +57,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
57
57
|
};
|
|
58
58
|
type: import('vue').PropType<import('../ele-app/el').ElButtonProps["type"]>;
|
|
59
59
|
disabled: BooleanConstructor;
|
|
60
|
-
tabindex: import('element-plus/es/utils/
|
|
60
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
61
61
|
ariaLabel: StringConstructor;
|
|
62
|
-
effect: import('element-plus/es/utils/
|
|
62
|
+
effect: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown, "dark", boolean>;
|
|
63
63
|
popperClass: StringConstructor;
|
|
64
64
|
popperStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
65
65
|
virtualTriggering: BooleanConstructor;
|
|
66
66
|
zIndex: NumberConstructor;
|
|
67
|
-
fallbackPlacements: import('element-plus/es/utils/
|
|
68
|
-
placement: import('element-plus/es/utils/
|
|
69
|
-
popperOptions: import('element-plus/es/utils/
|
|
70
|
-
showArrow: import('element-plus/es/utils/
|
|
67
|
+
fallbackPlacements: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]) | (((new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[])) | null)[], unknown, unknown, undefined, boolean>;
|
|
68
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, import('element-plus').Placement, unknown, "bottom", boolean>;
|
|
69
|
+
popperOptions: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | (((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
70
|
+
showArrow: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
71
71
|
persistent: BooleanConstructor;
|
|
72
|
-
teleported: import('element-plus/es/utils/
|
|
73
|
-
trigger: import('element-plus/es/utils/
|
|
74
|
-
triggerKeys: import('element-plus/es/utils/
|
|
72
|
+
teleported: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
73
|
+
trigger: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | (((new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>)) | null)[], unknown, unknown, "hover", boolean>;
|
|
74
|
+
triggerKeys: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
|
|
75
75
|
virtualRef: {
|
|
76
76
|
readonly type: import('vue').PropType<import('element-plus').Measurable>;
|
|
77
77
|
readonly required: false;
|
|
@@ -86,12 +86,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
86
86
|
handleClose: () => void;
|
|
87
87
|
updatePopper: () => void;
|
|
88
88
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
89
|
-
change: (_active: import('element-plus/es/utils/
|
|
90
|
-
"update:modelValue": (_value: import('element-plus/es/utils/
|
|
89
|
+
change: (_active: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => void;
|
|
90
|
+
"update:modelValue": (_value: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => void;
|
|
91
|
+
visibleChange: (_visible: boolean) => void;
|
|
91
92
|
click: (_e: MouseEvent) => void;
|
|
92
|
-
command: (_command: import('element-plus/es/utils/
|
|
93
|
+
command: (_command: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => void;
|
|
93
94
|
"update:visible": (value: boolean) => void;
|
|
94
|
-
visibleChange: (_visible: boolean) => void;
|
|
95
95
|
"before-enter": () => void;
|
|
96
96
|
"before-leave": () => void;
|
|
97
97
|
"after-enter": () => void;
|
|
@@ -115,15 +115,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
115
115
|
default: boolean;
|
|
116
116
|
};
|
|
117
117
|
appendTo: {
|
|
118
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
118
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
119
119
|
readonly required: false;
|
|
120
120
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
121
121
|
__epPropKey: true;
|
|
122
122
|
};
|
|
123
123
|
splitButton: BooleanConstructor;
|
|
124
|
-
hideOnClick: import('element-plus/es/utils/
|
|
125
|
-
showTimeout: import('element-plus/es/utils/
|
|
126
|
-
hideTimeout: import('element-plus/es/utils/
|
|
124
|
+
hideOnClick: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
125
|
+
showTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
126
|
+
hideTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
127
127
|
buttonProps: {
|
|
128
128
|
readonly type: import('vue').PropType<Partial<import('element-plus').ButtonProps>>;
|
|
129
129
|
readonly required: false;
|
|
@@ -141,21 +141,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
141
141
|
};
|
|
142
142
|
type: import('vue').PropType<import('../ele-app/el').ElButtonProps["type"]>;
|
|
143
143
|
disabled: BooleanConstructor;
|
|
144
|
-
tabindex: import('element-plus/es/utils/
|
|
144
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
145
145
|
ariaLabel: StringConstructor;
|
|
146
|
-
effect: import('element-plus/es/utils/
|
|
146
|
+
effect: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown, "dark", boolean>;
|
|
147
147
|
popperClass: StringConstructor;
|
|
148
148
|
popperStyle: import('vue').PropType<import('../ele-app/types').StyleValue>;
|
|
149
149
|
virtualTriggering: BooleanConstructor;
|
|
150
150
|
zIndex: NumberConstructor;
|
|
151
|
-
fallbackPlacements: import('element-plus/es/utils/
|
|
152
|
-
placement: import('element-plus/es/utils/
|
|
153
|
-
popperOptions: import('element-plus/es/utils/
|
|
154
|
-
showArrow: import('element-plus/es/utils/
|
|
151
|
+
fallbackPlacements: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]) | (((new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[])) | null)[], unknown, unknown, undefined, boolean>;
|
|
152
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, import('element-plus').Placement, unknown, "bottom", boolean>;
|
|
153
|
+
popperOptions: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | (((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
154
|
+
showArrow: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
155
155
|
persistent: BooleanConstructor;
|
|
156
|
-
teleported: import('element-plus/es/utils/
|
|
157
|
-
trigger: import('element-plus/es/utils/
|
|
158
|
-
triggerKeys: import('element-plus/es/utils/
|
|
156
|
+
teleported: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
157
|
+
trigger: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | (((new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>)) | null)[], unknown, unknown, "hover", boolean>;
|
|
158
|
+
triggerKeys: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
|
|
159
159
|
virtualRef: {
|
|
160
160
|
readonly type: import('vue').PropType<import('element-plus').Measurable>;
|
|
161
161
|
readonly required: false;
|
|
@@ -165,34 +165,34 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
165
165
|
bg: StringConstructor;
|
|
166
166
|
arrowBg: StringConstructor;
|
|
167
167
|
}>> & Readonly<{
|
|
168
|
-
onChange?: ((_active: import('element-plus/es/utils/
|
|
169
|
-
"onUpdate:modelValue"?: ((_value: import('element-plus/es/utils/
|
|
168
|
+
onChange?: ((_active: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
|
|
169
|
+
"onUpdate:modelValue"?: ((_value: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
|
|
170
|
+
onVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
170
171
|
onClick?: ((_e: MouseEvent) => any) | undefined;
|
|
171
|
-
onCommand?: ((_command: import('element-plus/es/utils/
|
|
172
|
+
onCommand?: ((_command: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [ObjectConstructor, StringConstructor, NumberConstructor], unknown, unknown> | undefined) => any) | undefined;
|
|
172
173
|
"onUpdate:visible"?: ((value: boolean) => any) | undefined;
|
|
173
|
-
onVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
174
174
|
"onBefore-enter"?: (() => any) | undefined;
|
|
175
175
|
"onBefore-leave"?: (() => any) | undefined;
|
|
176
176
|
"onAfter-enter"?: (() => any) | undefined;
|
|
177
177
|
"onAfter-leave"?: (() => any) | undefined;
|
|
178
178
|
}>, {
|
|
179
179
|
disabled: boolean;
|
|
180
|
-
tabindex: import('element-plus/es/utils/
|
|
180
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | ((new (...args: any[]) => string | number) | (() => string | number) | null)[], unknown, unknown>;
|
|
181
181
|
validateEvent: boolean;
|
|
182
|
-
effect: import('element-plus/es/utils/
|
|
182
|
+
effect: import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | ((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | null)[], unknown, unknown>;
|
|
183
183
|
virtualTriggering: boolean;
|
|
184
184
|
fallbackPlacements: import('element-plus').Placement[];
|
|
185
|
-
placement: import('element-plus/es/utils/
|
|
185
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown>;
|
|
186
186
|
popperOptions: Partial<import('element-plus').Options>;
|
|
187
|
-
showArrow: import('element-plus/es/utils/
|
|
187
|
+
showArrow: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
188
188
|
role: string;
|
|
189
189
|
persistent: boolean;
|
|
190
190
|
transition: string;
|
|
191
|
-
teleported: import('element-plus/es/utils/
|
|
192
|
-
trigger: import('element-plus/es/utils/
|
|
191
|
+
teleported: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
192
|
+
trigger: import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | ((new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | null)[], unknown, unknown>;
|
|
193
193
|
triggerKeys: string[];
|
|
194
194
|
splitButton: boolean;
|
|
195
|
-
hideOnClick: import('element-plus/es/utils/
|
|
195
|
+
hideOnClick: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
196
196
|
showTimeout: number;
|
|
197
197
|
hideTimeout: number;
|
|
198
198
|
maxHeight: string | number;
|
|
@@ -39,15 +39,15 @@ export declare const dropdownProps: {
|
|
|
39
39
|
default: boolean;
|
|
40
40
|
};
|
|
41
41
|
appendTo: {
|
|
42
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
42
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | (((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement)) | null)[], unknown, unknown>>;
|
|
43
43
|
readonly required: false;
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
46
46
|
};
|
|
47
47
|
splitButton: BooleanConstructor;
|
|
48
|
-
hideOnClick: import('element-plus/es/utils/
|
|
49
|
-
showTimeout: import('element-plus/es/utils/
|
|
50
|
-
hideTimeout: import('element-plus/es/utils/
|
|
48
|
+
hideOnClick: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
49
|
+
showTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
50
|
+
hideTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 150, boolean>;
|
|
51
51
|
buttonProps: {
|
|
52
52
|
readonly type: PropType<Partial<import('element-plus').ButtonProps>>;
|
|
53
53
|
readonly required: false;
|
|
@@ -65,21 +65,21 @@ export declare const dropdownProps: {
|
|
|
65
65
|
};
|
|
66
66
|
type: PropType<ElButtonProps["type"]>;
|
|
67
67
|
disabled: BooleanConstructor;
|
|
68
|
-
tabindex: import('element-plus/es/utils/
|
|
68
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown, 0, boolean>;
|
|
69
69
|
ariaLabel: StringConstructor;
|
|
70
|
-
effect: import('element-plus/es/utils/
|
|
70
|
+
effect: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown, "dark", boolean>;
|
|
71
71
|
popperClass: StringConstructor;
|
|
72
72
|
popperStyle: PropType<StyleValue>;
|
|
73
73
|
virtualTriggering: BooleanConstructor;
|
|
74
74
|
zIndex: NumberConstructor;
|
|
75
|
-
fallbackPlacements: import('element-plus/es/utils/
|
|
76
|
-
placement: import('element-plus/es/utils/
|
|
77
|
-
popperOptions: import('element-plus/es/utils/
|
|
78
|
-
showArrow: import('element-plus/es/utils/
|
|
75
|
+
fallbackPlacements: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[]) | (((new (...args: any[]) => import('element-plus').Placement[]) | (() => import('element-plus').Placement[])) | null)[], unknown, unknown, undefined, boolean>;
|
|
76
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, import('element-plus').Placement, unknown, "bottom", boolean>;
|
|
77
|
+
popperOptions: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>) | (((new (...args: any[]) => Partial<import('element-plus').Options>) | (() => Partial<import('element-plus').Options>)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
78
|
+
showArrow: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
79
79
|
persistent: BooleanConstructor;
|
|
80
|
-
teleported: import('element-plus/es/utils/
|
|
81
|
-
trigger: import('element-plus/es/utils/
|
|
82
|
-
triggerKeys: import('element-plus/es/utils/
|
|
80
|
+
teleported: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
81
|
+
trigger: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>) | (((new (...args: any[]) => "click" | "focus" | "hover" | "contextmenu" | import('element-plus').TooltipTriggerType[]) | (() => import('element-plus/es/utils/typescript').Arrayable<import('element-plus').TooltipTriggerType>)) | null)[], unknown, unknown, "hover", boolean>;
|
|
82
|
+
triggerKeys: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => string[], boolean>;
|
|
83
83
|
virtualRef: {
|
|
84
84
|
readonly type: PropType<import('element-plus').Measurable>;
|
|
85
85
|
readonly required: false;
|
|
@@ -23,7 +23,7 @@ export declare function useDropdownProvider(): {
|
|
|
23
23
|
*/
|
|
24
24
|
export declare function useDropdown(): DropdownProvider | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* 提供下拉菜单操作, 先调用 ele-app 的方法, 没有才调用自己的
|
|
27
27
|
*/
|
|
28
28
|
export declare function useDropdownProviderPro(): {
|
|
29
29
|
dropdownRef: import('vue').Ref<EleDropdownInstance, EleDropdownInstance>;
|
package/lib/ele-icon/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
8
8
|
name: import('vue').PropType<UserComponent>;
|
|
9
9
|
iconType: import('vue').PropType<import('./types').IconType>;
|
|
10
10
|
size: {
|
|
11
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
11
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>>;
|
|
12
12
|
readonly required: false;
|
|
13
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
__epPropKey: true;
|
|
@@ -25,7 +25,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
25
25
|
name: import('vue').PropType<UserComponent>;
|
|
26
26
|
iconType: import('vue').PropType<import('./types').IconType>;
|
|
27
27
|
size: {
|
|
28
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
28
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>>;
|
|
29
29
|
readonly required: false;
|
|
30
30
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
31
31
|
__epPropKey: true;
|
package/lib/ele-icon/props.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ export declare const iconProps: {
|
|
|
11
11
|
/** 图标类型 */
|
|
12
12
|
iconType: PropType<IconType>;
|
|
13
13
|
size: {
|
|
14
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
14
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | number) | (() => string | number) | (((new (...args: any[]) => string | number) | (() => string | number)) | null)[], unknown, unknown>>;
|
|
15
15
|
readonly required: false;
|
|
16
16
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
17
17
|
__epPropKey: true;
|
|
@@ -156,7 +156,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
156
156
|
transition: string;
|
|
157
157
|
disabled: boolean;
|
|
158
158
|
clearable: boolean;
|
|
159
|
-
placement: import('element-plus/es/utils/
|
|
159
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
160
160
|
persistent: boolean;
|
|
161
161
|
teleported: boolean;
|
|
162
162
|
tooltip: import('./types').ItemTooltip;
|
|
@@ -14,24 +14,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
default: string;
|
|
15
15
|
};
|
|
16
16
|
keepAlive: BooleanConstructor;
|
|
17
|
-
urlList: import('element-plus/es/utils/
|
|
17
|
+
urlList: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
18
18
|
zIndex: {
|
|
19
19
|
readonly type: import('vue').PropType<number>;
|
|
20
20
|
readonly required: false;
|
|
21
21
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
22
22
|
__epPropKey: true;
|
|
23
23
|
};
|
|
24
|
-
initialIndex: import('element-plus/es/utils/
|
|
25
|
-
infinite: import('element-plus/es/utils/
|
|
24
|
+
initialIndex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
25
|
+
infinite: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
26
26
|
hideOnClickModal: BooleanConstructor;
|
|
27
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
28
|
-
zoomRate: import('element-plus/es/utils/
|
|
29
|
-
scale: import('element-plus/es/utils/
|
|
30
|
-
minScale: import('element-plus/es/utils/
|
|
31
|
-
maxScale: import('element-plus/es/utils/
|
|
27
|
+
closeOnPressEscape: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
28
|
+
zoomRate: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
29
|
+
scale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
30
|
+
minScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
31
|
+
maxScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
32
32
|
showProgress: BooleanConstructor;
|
|
33
33
|
crossorigin: {
|
|
34
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
34
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
@@ -57,24 +57,24 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
57
57
|
default: string;
|
|
58
58
|
};
|
|
59
59
|
keepAlive: BooleanConstructor;
|
|
60
|
-
urlList: import('element-plus/es/utils/
|
|
60
|
+
urlList: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
61
61
|
zIndex: {
|
|
62
62
|
readonly type: import('vue').PropType<number>;
|
|
63
63
|
readonly required: false;
|
|
64
64
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
65
65
|
__epPropKey: true;
|
|
66
66
|
};
|
|
67
|
-
initialIndex: import('element-plus/es/utils/
|
|
68
|
-
infinite: import('element-plus/es/utils/
|
|
67
|
+
initialIndex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
68
|
+
infinite: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
69
69
|
hideOnClickModal: BooleanConstructor;
|
|
70
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
71
|
-
zoomRate: import('element-plus/es/utils/
|
|
72
|
-
scale: import('element-plus/es/utils/
|
|
73
|
-
minScale: import('element-plus/es/utils/
|
|
74
|
-
maxScale: import('element-plus/es/utils/
|
|
70
|
+
closeOnPressEscape: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
71
|
+
zoomRate: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
72
|
+
scale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
73
|
+
minScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
74
|
+
maxScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
75
75
|
showProgress: BooleanConstructor;
|
|
76
76
|
crossorigin: {
|
|
77
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
77
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
|
|
78
78
|
readonly required: false;
|
|
79
79
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
80
|
__epPropKey: true;
|
|
@@ -88,10 +88,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
88
88
|
scale: number;
|
|
89
89
|
modelValue: boolean;
|
|
90
90
|
teleported: boolean;
|
|
91
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
91
|
+
closeOnPressEscape: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
92
92
|
hideOnClickModal: boolean;
|
|
93
93
|
initialIndex: number;
|
|
94
|
-
infinite: import('element-plus/es/utils/
|
|
94
|
+
infinite: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
95
95
|
zoomRate: number;
|
|
96
96
|
minScale: number;
|
|
97
97
|
maxScale: number;
|
|
@@ -21,24 +21,24 @@ export declare const imageViewerProps: {
|
|
|
21
21
|
};
|
|
22
22
|
/** 是否失活后仍然显示 */
|
|
23
23
|
keepAlive: BooleanConstructor;
|
|
24
|
-
urlList: import('element-plus/es/utils/
|
|
24
|
+
urlList: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
25
25
|
zIndex: {
|
|
26
26
|
readonly type: import('vue').PropType<number>;
|
|
27
27
|
readonly required: false;
|
|
28
28
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
29
29
|
__epPropKey: true;
|
|
30
30
|
};
|
|
31
|
-
initialIndex: import('element-plus/es/utils/
|
|
32
|
-
infinite: import('element-plus/es/utils/
|
|
31
|
+
initialIndex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
32
|
+
infinite: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
33
33
|
hideOnClickModal: BooleanConstructor;
|
|
34
|
-
closeOnPressEscape: import('element-plus/es/utils/
|
|
35
|
-
zoomRate: import('element-plus/es/utils/
|
|
36
|
-
scale: import('element-plus/es/utils/
|
|
37
|
-
minScale: import('element-plus/es/utils/
|
|
38
|
-
maxScale: import('element-plus/es/utils/
|
|
34
|
+
closeOnPressEscape: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
35
|
+
zoomRate: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1.2, boolean>;
|
|
36
|
+
scale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 1, boolean>;
|
|
37
|
+
minScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0.2, boolean>;
|
|
38
|
+
maxScale: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 7, boolean>;
|
|
39
39
|
showProgress: BooleanConstructor;
|
|
40
40
|
crossorigin: {
|
|
41
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
41
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin) | (((new (...args: any[]) => "" | "anonymous" | "use-credentials") | (() => import('element-plus').ImageViewerCrossorigin)) | null)[], unknown, unknown>>;
|
|
42
42
|
readonly required: false;
|
|
43
43
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
44
|
__epPropKey: true;
|
|
@@ -77,7 +77,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
|
77
77
|
ref_for: true
|
|
78
78
|
}, vue.unref(common.pick)(item, ["route", "disabled", "class", "style"]), {
|
|
79
79
|
key: `${item.key || item.index || item.path}-${__props.tipDisabled}`,
|
|
80
|
-
index: item.index || item.path,
|
|
80
|
+
index: item.index || item.path || "",
|
|
81
81
|
class: [{ "ele-menu-overflow": item.overflow }],
|
|
82
82
|
onClick: handleMenuItemClick
|
|
83
83
|
}), vue.createSlots({
|
package/lib/ele-menus/index.d.ts
CHANGED
|
@@ -24,31 +24,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
24
24
|
tooltipDisabled: BooleanConstructor;
|
|
25
25
|
ellipsisProps: import('vue').PropType<import('./types').EllipsisProps>;
|
|
26
26
|
textEllipsisTooltip: import('vue').PropType<import('./types').TextEllipsisTooltip>;
|
|
27
|
-
defaultActive: import('element-plus/es/utils/
|
|
28
|
-
defaultOpeneds: import('element-plus/es/utils/
|
|
27
|
+
defaultActive: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
28
|
+
defaultOpeneds: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
29
29
|
uniqueOpened: BooleanConstructor;
|
|
30
30
|
router: BooleanConstructor;
|
|
31
|
-
menuTrigger: import('element-plus/es/utils/
|
|
31
|
+
menuTrigger: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
32
32
|
collapse: BooleanConstructor;
|
|
33
33
|
backgroundColor: StringConstructor;
|
|
34
34
|
textColor: StringConstructor;
|
|
35
35
|
activeTextColor: StringConstructor;
|
|
36
36
|
closeOnClickOutside: BooleanConstructor;
|
|
37
|
-
collapseTransition: import('element-plus/es/utils/
|
|
38
|
-
ellipsis: import('element-plus/es/utils/
|
|
39
|
-
popperOffset: import('element-plus/es/utils/
|
|
40
|
-
ellipsisIcon: import('element-plus/es/utils/
|
|
41
|
-
popperEffect: import('element-plus/es/utils/
|
|
37
|
+
collapseTransition: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
38
|
+
ellipsis: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
39
|
+
popperOffset: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
40
|
+
ellipsisIcon: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown, () => import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, boolean>;
|
|
41
|
+
popperEffect: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown, "dark", boolean>;
|
|
42
42
|
popperClass: StringConstructor;
|
|
43
43
|
popperStyle: {
|
|
44
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
44
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | import('vue').CSSProperties) | (() => string | import('vue').CSSProperties) | (((new (...args: any[]) => string | import('vue').CSSProperties) | (() => string | import('vue').CSSProperties)) | null)[], unknown, unknown>>;
|
|
45
45
|
readonly required: false;
|
|
46
46
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
48
48
|
};
|
|
49
|
-
showTimeout: import('element-plus/es/utils/
|
|
50
|
-
hideTimeout: import('element-plus/es/utils/
|
|
51
|
-
persistent: import('element-plus/es/utils/
|
|
49
|
+
showTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
50
|
+
hideTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
51
|
+
persistent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
52
52
|
}>, {
|
|
53
53
|
menuRef: import('vue').Ref<ElMenuInstance, ElMenuInstance>;
|
|
54
54
|
ellipsisRef: import('vue').Ref<ElSubMenuInstance, ElSubMenuInstance>;
|
|
@@ -85,31 +85,31 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
85
85
|
tooltipDisabled: BooleanConstructor;
|
|
86
86
|
ellipsisProps: import('vue').PropType<import('./types').EllipsisProps>;
|
|
87
87
|
textEllipsisTooltip: import('vue').PropType<import('./types').TextEllipsisTooltip>;
|
|
88
|
-
defaultActive: import('element-plus/es/utils/
|
|
89
|
-
defaultOpeneds: import('element-plus/es/utils/
|
|
88
|
+
defaultActive: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
89
|
+
defaultOpeneds: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string[]) | (() => string[]) | (((new (...args: any[]) => string[]) | (() => string[])) | null)[], unknown, unknown, () => [], boolean>;
|
|
90
90
|
uniqueOpened: BooleanConstructor;
|
|
91
91
|
router: BooleanConstructor;
|
|
92
|
-
menuTrigger: import('element-plus/es/utils/
|
|
92
|
+
menuTrigger: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "click" | "hover", unknown, "hover", boolean>;
|
|
93
93
|
collapse: BooleanConstructor;
|
|
94
94
|
backgroundColor: StringConstructor;
|
|
95
95
|
textColor: StringConstructor;
|
|
96
96
|
activeTextColor: StringConstructor;
|
|
97
97
|
closeOnClickOutside: BooleanConstructor;
|
|
98
|
-
collapseTransition: import('element-plus/es/utils/
|
|
99
|
-
ellipsis: import('element-plus/es/utils/
|
|
100
|
-
popperOffset: import('element-plus/es/utils/
|
|
101
|
-
ellipsisIcon: import('element-plus/es/utils/
|
|
102
|
-
popperEffect: import('element-plus/es/utils/
|
|
98
|
+
collapseTransition: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
99
|
+
ellipsis: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
100
|
+
popperOffset: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 6, boolean>;
|
|
101
|
+
ellipsisIcon: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | (((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component)) | null)[], unknown, unknown, () => import('vue').DefineComponent<{}, void, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>, boolean>;
|
|
102
|
+
popperEffect: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | (((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect)) | null)[], unknown, unknown, "dark", boolean>;
|
|
103
103
|
popperClass: StringConstructor;
|
|
104
104
|
popperStyle: {
|
|
105
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
105
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string | import('vue').CSSProperties) | (() => string | import('vue').CSSProperties) | (((new (...args: any[]) => string | import('vue').CSSProperties) | (() => string | import('vue').CSSProperties)) | null)[], unknown, unknown>>;
|
|
106
106
|
readonly required: false;
|
|
107
107
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
108
|
__epPropKey: true;
|
|
109
109
|
};
|
|
110
|
-
showTimeout: import('element-plus/es/utils/
|
|
111
|
-
hideTimeout: import('element-plus/es/utils/
|
|
112
|
-
persistent: import('element-plus/es/utils/
|
|
110
|
+
showTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
111
|
+
hideTimeout: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
112
|
+
persistent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
113
113
|
}>> & Readonly<{
|
|
114
114
|
onSelect?: ((index: string, indexPath: string[], item: MenuItemClicked, routerResult?: Promise<void | NavigationFailure> | undefined) => any) | undefined;
|
|
115
115
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
@@ -120,21 +120,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
120
120
|
onParentMouseenter?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
121
121
|
onParentMouseleave?: ((_item: MenuItem, _e: MouseEvent) => any) | undefined;
|
|
122
122
|
}>, {
|
|
123
|
-
persistent: import('element-plus/es/utils/
|
|
123
|
+
persistent: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
124
124
|
showTimeout: number;
|
|
125
125
|
hideTimeout: number;
|
|
126
126
|
defaultActive: string;
|
|
127
127
|
defaultOpeneds: string[];
|
|
128
128
|
uniqueOpened: boolean;
|
|
129
129
|
router: boolean;
|
|
130
|
-
menuTrigger: import('element-plus/es/utils/
|
|
130
|
+
menuTrigger: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "hover" | "click", unknown>;
|
|
131
131
|
collapse: boolean;
|
|
132
132
|
closeOnClickOutside: boolean;
|
|
133
|
-
collapseTransition: import('element-plus/es/utils/
|
|
134
|
-
ellipsis: import('element-plus/es/utils/
|
|
133
|
+
collapseTransition: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
134
|
+
ellipsis: import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
135
135
|
popperOffset: number;
|
|
136
|
-
ellipsisIcon: import('element-plus/es/utils/
|
|
137
|
-
popperEffect: import('element-plus/es/utils/
|
|
136
|
+
ellipsisIcon: import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | ((new (...args: any[]) => (string | import('vue').Component) & {}) | (() => string | import('vue').Component) | null)[], unknown, unknown>;
|
|
137
|
+
popperEffect: import('element-plus/es/utils/vue/props/types').EpPropMergeType<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | ((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | null)[], unknown, unknown>;
|
|
138
138
|
popupTheme: import('./types').PopupMenuTheme;
|
|
139
139
|
colorful: boolean;
|
|
140
140
|
popupColorful: import('./types').PopupColorful;
|