element-less 0.0.54 → 0.0.56
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 +22 -22
- package/custom/aceEditor/index.d.ts +50 -72
- package/custom/aceEditor/src/aceEditor.vue.d.ts +2 -2
- package/custom/button-search/index.d.ts +1 -3
- package/custom/caption/index.d.ts +7 -12
- package/custom/container/index.d.ts +18 -23
- package/custom/container/src/container.vue.d.ts +26 -26
- package/custom/data-modal/index.d.ts +71 -105
- package/custom/data-modal/src/dataModal.vue.d.ts +2 -2
- package/custom/dynamic/create/index.d.ts +31 -37
- package/custom/dynamic/create/src/create.vue.d.ts +23 -23
- package/custom/dynamic/designer/index.d.ts +65 -89
- package/custom/dynamic/designer/src/designer.d.ts +1 -1
- package/custom/dynamic/designer/src/designer.vue.d.ts +2 -2
- package/custom/dynamic/designer/src/innerItem.vue.d.ts +2 -2
- package/custom/dynamic/designerView/index.d.ts +64 -91
- package/custom/dynamic/designerView/src/designerView.d.ts +1 -1
- package/custom/dynamic/designerView/src/designerView.vue.d.ts +2 -2
- package/custom/dynamic/render/index.d.ts +118 -156
- package/custom/dynamic/render/src/form.vue.d.ts +8 -8
- package/custom/dynamic/render/src/innerObjectArray.vue.d.ts +6 -6
- package/custom/dynamic/render/src/render.d.ts +1 -1
- package/custom/dynamic/render/src/render.vue.d.ts +2 -2
- package/custom/dynamic/render/src/renderAsync.vue.d.ts +2 -2
- package/custom/form-node/index.d.ts +49 -65
- package/custom/form-node/src/formNode.vue.d.ts +12 -12
- package/custom/inputTag/index.d.ts +55 -81
- package/custom/inputTag/src/inputTag.vue.d.ts +2 -2
- package/custom/jsonEditor/index.d.ts +46 -63
- package/custom/jsonEditor/src/jsonEditor.vue.d.ts +2 -2
- package/custom/jsonViewer/index.d.ts +3 -3
- package/custom/list/index.d.ts +23 -50
- package/custom/list/src/list.vue.d.ts +1 -1
- package/custom/mdEditor/index.d.ts +51 -72
- package/custom/mdEditor/src/mdEditor.vue.d.ts +2 -2
- package/custom/mdPreview/index.d.ts +3 -4
- package/custom/menu-context/index.d.ts +8 -14
- package/custom/menu-dropdown/index.d.ts +7 -12
- package/custom/menu-tool/index.d.ts +13 -17
- package/custom/qrCode/index.d.ts +1 -1
- package/custom/stampBadge/src/stampBadge.d.ts +2 -2
- package/custom/tipTabEditor/index.d.ts +23 -16
- package/custom/tipTabEditor/src/tipTapEditor.d.ts +1 -0
- package/custom/tipTabEditor/src/tipTapEditor.vue.d.ts +2 -0
- package/custom/uEditor/index.d.ts +56 -76
- package/custom/uEditor/src/uEditor.vue.d.ts +2 -2
- package/custom/wangEditor/index.d.ts +52 -71
- package/custom/wangEditor/src/wangEditor.vue.d.ts +2 -2
- package/custom/waterFall/index.d.ts +21 -33
- package/custom/waterFall/src/lib/components/LazyImg.vue.d.ts +3 -3
- package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +1 -1
- package/custom/waterFall/src/waterFall.vue.d.ts +18 -18
- package/custom/workFlow/index.d.ts +31 -37
- package/custom/workFlow/src/nodeItem.vue.d.ts +23 -23
- package/custom/workFlow/src/workFlow.vue.d.ts +23 -23
- package/element-less.cjs +1 -1
- package/element-less.iife.js +1 -1
- package/element-less.js +1 -1
- package/element-less.umd.cjs +1 -1
- package/elementui/autocomplete/index.d.ts +190 -272
- package/elementui/autocomplete/src/autocomplete.vue.d.ts +33 -24
- package/elementui/cascader/index.d.ts +336 -568
- package/elementui/cascader/src/cascader.vue.d.ts +44 -38
- package/elementui/checkbox/src/checkboxButton.vue.d.ts +20 -20
- package/elementui/col/index.d.ts +12 -23
- package/elementui/collapse-transition/index.d.ts +3 -5
- package/elementui/date-picker/index.d.ts +147 -273
- package/elementui/date-picker/src/datePicker.vue.d.ts +11 -17
- package/elementui/date-picker-range/index.d.ts +148 -263
- package/elementui/date-picker-range/src/datePickerRange.vue.d.ts +11 -17
- package/elementui/dialog/index.d.ts +55 -78
- package/elementui/dialog/src/dialog.d.ts +1 -1
- package/elementui/dialog/src/dialog.vue.d.ts +4 -4
- package/elementui/drawer/src/drawer.d.ts +1 -1
- package/elementui/dropdown/src/dropdown.d.ts +5 -10
- package/elementui/dropdown/src/dropdown.vue.d.ts +15 -24
- package/elementui/form/index.d.ts +33 -51
- package/elementui/form/src/form.d.ts +2 -2
- package/elementui/form/src/form.vue.d.ts +6 -6
- package/elementui/form-item/index.d.ts +44 -60
- package/elementui/form-item/src/formItem.d.ts +1 -1
- package/elementui/form-item/src/formItem.vue.d.ts +2 -2
- package/elementui/form-query/index.d.ts +41 -62
- package/elementui/form-query/src/formQuery.d.ts +2 -2
- package/elementui/form-query/src/formQuery.vue.d.ts +12 -12
- package/elementui/image/index.d.ts +32 -63
- package/elementui/image/src/image.d.ts +1 -1
- package/elementui/image/src/image.vue.d.ts +2 -2
- package/elementui/image-viewer/index.d.ts +18 -44
- package/elementui/input/index.d.ts +130 -144
- package/elementui/input/src/input.vue.d.ts +20 -8
- package/elementui/input-number/index.d.ts +120 -106
- package/elementui/input-number/src/inputNumber.vue.d.ts +35 -8
- package/elementui/input-range/index.d.ts +134 -139
- package/elementui/input-range/src/inputRange.vue.d.ts +19 -7
- package/elementui/menu/index.d.ts +43 -74
- package/elementui/menu/src/menu.vue.d.ts +8 -8
- package/elementui/menu-item/index.d.ts +25 -17
- package/elementui/menu-item/src/menuItem.d.ts +6 -1
- package/elementui/menu-item/src/menuItem.vue.d.ts +12 -3
- package/elementui/menu-sub/index.d.ts +35 -18
- package/elementui/option/index.d.ts +4 -7
- package/elementui/option-group/index.d.ts +3 -3
- package/elementui/radio/index.d.ts +146 -210
- package/elementui/radio/src/radio.vue.d.ts +6 -6
- package/elementui/radio/src/radioButton.vue.d.ts +6 -6
- package/elementui/row/index.d.ts +10 -15
- package/elementui/row/src/row.d.ts +1 -1
- package/elementui/row/src/row.vue.d.ts +2 -2
- package/elementui/segmented/index.d.ts +65 -103
- package/elementui/segmented/src/segmented.vue.d.ts +2 -2
- package/elementui/select/index.d.ts +147 -214
- package/elementui/select/src/select.vue.d.ts +14 -14
- package/elementui/slider/index.d.ts +73 -109
- package/elementui/slider/src/slider.vue.d.ts +4 -4
- package/elementui/switch/index.d.ts +83 -90
- package/elementui/switch/src/switch.vue.d.ts +2 -2
- package/elementui/table/index.d.ts +560 -157
- package/elementui/table/src/table.d.ts +100 -2
- package/elementui/table/src/table.vue.d.ts +222 -9
- package/elementui/table-column/index.d.ts +2826 -1071
- package/elementui/table-column/src/tableColumn.d.ts +57 -1
- package/elementui/table-column/src/tableColumn.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnBool.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnCheckbox.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnEnum.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnExpand.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnHeader.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnImage.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnOperate.vue.d.ts +123 -2
- package/elementui/table-column/src/tableColumnSelect.vue.d.ts +123 -2
- package/elementui/tabs/index.d.ts +26 -51
- package/elementui/tabs/src/tabs.d.ts +1 -1
- package/elementui/tabs/src/tabs.vue.d.ts +2 -2
- package/elementui/textarea/index.d.ts +127 -129
- package/elementui/textarea/src/textarea.vue.d.ts +19 -7
- package/elementui/time-picker/index.d.ts +146 -300
- package/elementui/time-picker/src/timePicker.vue.d.ts +11 -17
- package/elementui/time-picker-range/index.d.ts +146 -300
- package/elementui/time-picker-range/src/timePickerRange.vue.d.ts +11 -17
- package/elementui/tree/index.d.ts +78 -122
- package/elementui/tree/src/tree.vue.d.ts +2 -2
- package/elementui/tree-select/index.d.ts +78 -122
- package/elementui/tree-select/src/treeSelect.vue.d.ts +2 -2
- package/elementui/upload/index.d.ts +96 -173
- package/elementui/upload/src/upload.vue.d.ts +3 -3
- package/{index-CD9eXbbF.js → index-2Bv7b5DP.js} +1163 -175
- package/index-RWIh1MgW.cjs +1 -0
- package/{inner-CWtlykuG.cjs → inner-Co-EBslN.cjs} +1 -1
- package/{inner-LhLoYJ0I.js → inner-YAACwdSB.js} +5 -5
- package/{innerItem-CH1M0mN8.js → innerItem-CnFsIpmO.js} +2 -2
- package/{innerItem-DfgLjnS2.cjs → innerItem-DUKhrCqv.cjs} +1 -1
- package/{mode-csharp-bZdFTxy0.cjs → mode-csharp-B4dXOitJ.cjs} +1 -1
- package/{mode-csharp-z3kb5Yjx.js → mode-csharp-C1pDB4Xs.js} +14 -14
- package/{mode-css-BLyhPcoN.cjs → mode-css-BIt_d2L7.cjs} +1 -1
- package/{mode-css-i2xnJ-FQ.js → mode-css-DHYwb__9.js} +22 -22
- package/{mode-javascript-SSfvDbP6.js → mode-javascript-BVS0PFpM.js} +34 -36
- package/mode-javascript-D8Gt8Zho.cjs +1 -0
- package/{mode-json-DRIAvH6E.js → mode-json-BoxRotGl.js} +10 -10
- package/{mode-json-BT4jeFr0.cjs → mode-json-DmFbbAPv.cjs} +1 -1
- package/{mode-mysql-BMl_HB18.cjs → mode-mysql-C0U6L5uL.cjs} +1 -1
- package/{mode-mysql-DV6AcTms.js → mode-mysql-KyUsrQNc.js} +8 -8
- package/package.json +1 -1
- package/props/formItemProps.d.ts +2 -10
- package/props/formProps.d.ts +2 -2
- package/style.css +1 -1
- package/index-C-pCKR9Q.cjs +0 -1
- package/mode-javascript-CLWBNfwn.cjs +0 -1
|
@@ -22,12 +22,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
22
22
|
trim: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
23
23
|
encode: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
24
24
|
encodeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
25
|
-
inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "text" | "
|
|
25
|
+
inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
26
26
|
name: StringConstructor;
|
|
27
27
|
ariaLabel: StringConstructor;
|
|
28
28
|
id: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
29
29
|
size: {
|
|
30
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
30
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
31
31
|
readonly required: false;
|
|
32
32
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
33
33
|
__epPropKey: true;
|
|
@@ -48,7 +48,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
48
48
|
};
|
|
49
49
|
type: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').InputType) | (((new (...args: any[]) => string) | (() => import('element-plus').InputType)) | null)[], unknown, unknown, "text", boolean>;
|
|
50
50
|
resize: {
|
|
51
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
51
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
52
52
|
readonly required: false;
|
|
53
53
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
54
54
|
__epPropKey: true;
|
|
@@ -107,6 +107,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
107
107
|
tabindex: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
108
108
|
validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
109
109
|
inputStyle: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | (((new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue)) | null)[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
110
|
+
countGraphemes: {
|
|
111
|
+
readonly type: import('vue').PropType<(value: string) => number>;
|
|
112
|
+
readonly required: false;
|
|
113
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
114
|
+
__epPropKey: true;
|
|
115
|
+
};
|
|
110
116
|
autofocus: BooleanConstructor;
|
|
111
117
|
rows: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
112
118
|
aIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -212,12 +218,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
212
218
|
trim: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
213
219
|
encode: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
214
220
|
encodeType: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
215
|
-
inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "text" | "
|
|
221
|
+
inputmode: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | (((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined)) | null)[], unknown, unknown, undefined, boolean>;
|
|
216
222
|
name: StringConstructor;
|
|
217
223
|
ariaLabel: StringConstructor;
|
|
218
224
|
id: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, undefined, boolean>;
|
|
219
225
|
size: {
|
|
220
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "
|
|
226
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
221
227
|
readonly required: false;
|
|
222
228
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
223
229
|
__epPropKey: true;
|
|
@@ -238,7 +244,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
238
244
|
};
|
|
239
245
|
type: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string) | (() => import('element-plus').InputType) | (((new (...args: any[]) => string) | (() => import('element-plus').InputType)) | null)[], unknown, unknown, "text", boolean>;
|
|
240
246
|
resize: {
|
|
241
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "
|
|
247
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical" | "none" | "both", unknown>>;
|
|
242
248
|
readonly required: false;
|
|
243
249
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
244
250
|
__epPropKey: true;
|
|
@@ -297,6 +303,12 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
297
303
|
tabindex: import('element-plus/es/utils/index.mjs').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
298
304
|
validateEvent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
299
305
|
inputStyle: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue) | (((new (...args: any[]) => string | false | import('vue').CSSProperties | import('vue').StyleValue[]) | (() => import('vue').StyleValue)) | null)[], unknown, unknown, () => import('element-plus/es/utils/typescript.mjs').Mutable<{}>, boolean>;
|
|
306
|
+
countGraphemes: {
|
|
307
|
+
readonly type: import('vue').PropType<(value: string) => number>;
|
|
308
|
+
readonly required: false;
|
|
309
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
310
|
+
__epPropKey: true;
|
|
311
|
+
};
|
|
300
312
|
autofocus: BooleanConstructor;
|
|
301
313
|
rows: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 2, boolean>;
|
|
302
314
|
aIndex: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
@@ -402,7 +414,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
402
414
|
width: string;
|
|
403
415
|
encode: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
404
416
|
encodeType: string;
|
|
405
|
-
inputmode: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "text" | "
|
|
417
|
+
inputmode: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | ((new (...args: any[]) => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal") | (() => "text" | "email" | "search" | "tel" | "url" | "none" | "numeric" | "decimal" | undefined) | null)[], unknown, unknown>;
|
|
406
418
|
modelModifiers: import('element-plus').InputModelModifiers;
|
|
407
419
|
autosize: import('element-plus').InputAutoSize;
|
|
408
420
|
autocomplete: AutoFill;
|
|
@@ -117,8 +117,8 @@ export declare const ElsMenu: {
|
|
|
117
117
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
118
118
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
119
119
|
}>> & Readonly<{
|
|
120
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
121
120
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
121
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
122
122
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
123
123
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
124
124
|
[key: string]: any;
|
|
@@ -127,9 +127,9 @@ export declare const ElsMenu: {
|
|
|
127
127
|
open: (index: string, indexPath: string[]) => boolean;
|
|
128
128
|
select: (index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure>) => boolean;
|
|
129
129
|
}, import('vue').PublicProps, {
|
|
130
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
131
130
|
readonly collapse: boolean;
|
|
132
131
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
132
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
133
133
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
134
134
|
readonly showTimeout: number;
|
|
135
135
|
readonly hideTimeout: number;
|
|
@@ -178,15 +178,15 @@ export declare const ElsMenu: {
|
|
|
178
178
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
179
179
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
180
180
|
}>> & Readonly<{
|
|
181
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
182
181
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
182
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
183
183
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
184
184
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
185
185
|
[key: string]: any;
|
|
186
186
|
}>, {}, {}, {}, {
|
|
187
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
188
187
|
readonly collapse: boolean;
|
|
189
188
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
189
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
190
190
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
191
191
|
readonly showTimeout: number;
|
|
192
192
|
readonly hideTimeout: number;
|
|
@@ -394,76 +394,45 @@ export declare const ElsMenu: {
|
|
|
394
394
|
default?(_: {}): any;
|
|
395
395
|
};
|
|
396
396
|
}) & import('vue').ObjectPlugin & {
|
|
397
|
-
setPropsDefaults: (defaults:
|
|
398
|
-
mode
|
|
399
|
-
collapse
|
|
400
|
-
labelField
|
|
401
|
-
filterable
|
|
402
|
-
persistent
|
|
403
|
-
idField
|
|
404
|
-
parentIdField
|
|
405
|
-
rootParentValue
|
|
406
|
-
defaultActive
|
|
407
|
-
defaultOpeneds
|
|
408
|
-
uniqueOpened
|
|
409
|
-
router
|
|
410
|
-
menuTrigger
|
|
411
|
-
closeOnClickOutside
|
|
412
|
-
collapseTransition
|
|
413
|
-
ellipsis
|
|
414
|
-
popperOffset
|
|
415
|
-
ellipsisIcon
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
readonly
|
|
425
|
-
readonly
|
|
426
|
-
readonly
|
|
427
|
-
readonly
|
|
428
|
-
readonly
|
|
429
|
-
readonly
|
|
430
|
-
readonly
|
|
431
|
-
readonly
|
|
432
|
-
readonly
|
|
433
|
-
readonly
|
|
434
|
-
readonly
|
|
435
|
-
|
|
436
|
-
readonly popperOffset: number;
|
|
437
|
-
readonly ellipsisIcon: import('element-plus/es/utils/index.mjs').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>;
|
|
438
|
-
readonly popperEffect: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | ((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | null)[], unknown, unknown>;
|
|
439
|
-
readonly showTimeout: number;
|
|
440
|
-
readonly hideTimeout: number;
|
|
441
|
-
readonly url?: string | undefined;
|
|
442
|
-
readonly data?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(StringConstructor | {
|
|
443
|
-
(arrayLength: number): Object[];
|
|
444
|
-
(...items: Object[]): Object[];
|
|
445
|
-
new (arrayLength: number): Object[];
|
|
446
|
-
new (...items: Object[]): Object[];
|
|
447
|
-
isArray(arg: any): arg is any[];
|
|
448
|
-
readonly prototype: any[];
|
|
449
|
-
from<T>(arrayLike: ArrayLike<T>): T[];
|
|
450
|
-
from<T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
451
|
-
from<T>(iterable: Iterable<T> | ArrayLike<T>): T[];
|
|
452
|
-
from<T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[];
|
|
453
|
-
of<T>(...items: T[]): T[];
|
|
454
|
-
readonly [Symbol.species]: ArrayConstructor;
|
|
455
|
-
})[], unknown, unknown> | undefined;
|
|
456
|
-
readonly width?: string | undefined;
|
|
457
|
-
readonly popperClass?: string | undefined;
|
|
458
|
-
readonly popperStyle?: import('element-plus/es/utils/index.mjs').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> | undefined;
|
|
459
|
-
readonly targetField?: string | undefined;
|
|
460
|
-
readonly iconField?: string | undefined;
|
|
461
|
-
readonly hiddenIds?: (string | number)[] | undefined;
|
|
462
|
-
readonly backgroundColor?: string | undefined;
|
|
463
|
-
readonly textColor?: string | undefined;
|
|
464
|
-
readonly activeTextColor?: string | undefined;
|
|
465
|
-
readonly onClick?: ((item: any) => any) | undefined;
|
|
466
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "mode" | "collapse" | "labelField" | "filterable" | "persistent" | "idField" | "parentIdField" | "rootParentValue" | "defaultActive" | "defaultOpeneds" | "uniqueOpened" | "router" | "menuTrigger" | "closeOnClickOutside" | "collapseTransition" | "ellipsis" | "popperOffset" | "ellipsisIcon" | "popperEffect" | "showTimeout" | "hideTimeout">>) => void;
|
|
397
|
+
setPropsDefaults: (defaults: {
|
|
398
|
+
mode?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown> | (() => "horizontal" | "vertical") | undefined;
|
|
399
|
+
collapse?: boolean | (() => boolean) | undefined;
|
|
400
|
+
labelField?: string | (() => string) | undefined;
|
|
401
|
+
filterable?: boolean | (() => boolean) | undefined;
|
|
402
|
+
persistent?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
403
|
+
idField?: string | (() => string) | undefined;
|
|
404
|
+
parentIdField?: string | (() => string) | undefined;
|
|
405
|
+
rootParentValue?: string | (() => string) | undefined;
|
|
406
|
+
defaultActive?: string | (() => string) | undefined;
|
|
407
|
+
defaultOpeneds?: (() => string[]) | undefined;
|
|
408
|
+
uniqueOpened?: boolean | (() => boolean) | undefined;
|
|
409
|
+
router?: boolean | (() => boolean) | undefined;
|
|
410
|
+
menuTrigger?: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "click" | "hover", unknown> | (() => "click" | "hover") | undefined;
|
|
411
|
+
closeOnClickOutside?: boolean | (() => boolean) | undefined;
|
|
412
|
+
collapseTransition?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
413
|
+
ellipsis?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
414
|
+
popperOffset?: number | (() => number) | undefined;
|
|
415
|
+
ellipsisIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
416
|
+
new (...args: any[]): any;
|
|
417
|
+
__isFragment?: never;
|
|
418
|
+
__isTeleport?: never;
|
|
419
|
+
__isSuspense?: never;
|
|
420
|
+
} | (() => (import('element-plus/es/utils/index.mjs').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> | undefined) & {}) | undefined;
|
|
421
|
+
popperEffect?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | ((new (...args: any[]) => string) | (() => import('element-plus').PopperEffect) | null)[], unknown, unknown> | (() => string) | undefined;
|
|
422
|
+
showTimeout?: number | (() => number) | undefined;
|
|
423
|
+
hideTimeout?: number | (() => number) | undefined;
|
|
424
|
+
readonly url?: string | (() => string) | undefined;
|
|
425
|
+
readonly data?: string | (() => string | Object[]) | undefined;
|
|
426
|
+
readonly width?: string | (() => string) | undefined;
|
|
427
|
+
readonly popperClass?: string | (() => string) | undefined;
|
|
428
|
+
readonly popperStyle?: string | (() => string | import('vue').CSSProperties) | undefined;
|
|
429
|
+
readonly targetField?: string | (() => string) | undefined;
|
|
430
|
+
readonly iconField?: string | (() => string) | undefined;
|
|
431
|
+
readonly hiddenIds?: (() => (string | number)[]) | undefined;
|
|
432
|
+
readonly backgroundColor?: string | (() => string) | undefined;
|
|
433
|
+
readonly textColor?: string | (() => string) | undefined;
|
|
434
|
+
readonly activeTextColor?: string | (() => string) | undefined;
|
|
435
|
+
}) => void;
|
|
467
436
|
} & Record<string, any>;
|
|
468
437
|
export default ElsMenu;
|
|
469
438
|
export * from './src/menu';
|
|
@@ -33,8 +33,8 @@ declare function __VLS_template(): {
|
|
|
33
33
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
34
34
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
35
35
|
}>> & Readonly<{
|
|
36
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
37
36
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
37
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
38
38
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
39
39
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
40
40
|
[key: string]: any;
|
|
@@ -43,9 +43,9 @@ declare function __VLS_template(): {
|
|
|
43
43
|
open: (index: string, indexPath: string[]) => boolean;
|
|
44
44
|
select: (index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure>) => boolean;
|
|
45
45
|
}, import('vue').PublicProps, {
|
|
46
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
47
46
|
readonly collapse: boolean;
|
|
48
47
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
48
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
49
49
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
50
50
|
readonly showTimeout: number;
|
|
51
51
|
readonly hideTimeout: number;
|
|
@@ -94,15 +94,15 @@ declare function __VLS_template(): {
|
|
|
94
94
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
95
95
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
96
96
|
}>> & Readonly<{
|
|
97
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
98
97
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
98
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
99
99
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
100
100
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
101
101
|
[key: string]: any;
|
|
102
102
|
}>, {}, {}, {}, {
|
|
103
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
104
103
|
readonly collapse: boolean;
|
|
105
104
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
105
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
106
106
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
107
107
|
readonly showTimeout: number;
|
|
108
108
|
readonly hideTimeout: number;
|
|
@@ -301,8 +301,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
301
301
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
302
302
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
303
303
|
}>> & Readonly<{
|
|
304
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
305
304
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
305
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
306
306
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
307
307
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
308
308
|
[key: string]: any;
|
|
@@ -311,9 +311,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
311
311
|
open: (index: string, indexPath: string[]) => boolean;
|
|
312
312
|
select: (index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure>) => boolean;
|
|
313
313
|
}, import('vue').PublicProps, {
|
|
314
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
315
314
|
readonly collapse: boolean;
|
|
316
315
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
316
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
317
317
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
318
318
|
readonly showTimeout: number;
|
|
319
319
|
readonly hideTimeout: number;
|
|
@@ -362,15 +362,15 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
362
362
|
readonly hideTimeout: import('element-plus/es/utils/index.mjs').EpPropFinalized<NumberConstructor, unknown, unknown, 300, boolean>;
|
|
363
363
|
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
364
364
|
}>> & Readonly<{
|
|
365
|
-
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
366
365
|
onSelect?: ((index: string, indexPath: string[], item: import('element-plus').MenuItemClicked, routerResult?: Promise<void | import('vue-router').NavigationFailure> | undefined) => any) | undefined;
|
|
366
|
+
onClose?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
367
367
|
onOpen?: ((index: string, indexPath: string[]) => any) | undefined;
|
|
368
368
|
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
369
369
|
[key: string]: any;
|
|
370
370
|
}>, {}, {}, {}, {
|
|
371
|
-
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
372
371
|
readonly collapse: boolean;
|
|
373
372
|
readonly ellipsis: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
373
|
+
readonly persistent: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
374
374
|
readonly mode: import('element-plus/es/utils/index.mjs').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
375
375
|
readonly showTimeout: number;
|
|
376
376
|
readonly hideTimeout: number;
|
|
@@ -12,7 +12,12 @@ export declare const ElsMenuItem: {
|
|
|
12
12
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
13
|
__epPropKey: true;
|
|
14
14
|
};
|
|
15
|
-
index:
|
|
15
|
+
index: {
|
|
16
|
+
readonly type: import('vue').PropType<string>;
|
|
17
|
+
readonly required: true;
|
|
18
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
|
+
__epPropKey: true;
|
|
20
|
+
};
|
|
16
21
|
route: {
|
|
17
22
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
18
23
|
readonly required: false;
|
|
@@ -25,7 +30,6 @@ export declare const ElsMenuItem: {
|
|
|
25
30
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
26
31
|
click: (item: import('element-plus').MenuItemRegistered) => void;
|
|
27
32
|
}, import('vue').PublicProps, {
|
|
28
|
-
index: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null) | null)[], unknown, unknown>;
|
|
29
33
|
disabled: boolean;
|
|
30
34
|
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
31
35
|
P: {};
|
|
@@ -47,7 +51,12 @@ export declare const ElsMenuItem: {
|
|
|
47
51
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
52
|
__epPropKey: true;
|
|
49
53
|
};
|
|
50
|
-
index:
|
|
54
|
+
index: {
|
|
55
|
+
readonly type: import('vue').PropType<string>;
|
|
56
|
+
readonly required: true;
|
|
57
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
58
|
+
__epPropKey: true;
|
|
59
|
+
};
|
|
51
60
|
route: {
|
|
52
61
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
53
62
|
readonly required: false;
|
|
@@ -58,7 +67,6 @@ export declare const ElsMenuItem: {
|
|
|
58
67
|
}>> & Readonly<{
|
|
59
68
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
60
69
|
}>, {}, {}, {}, {}, {
|
|
61
|
-
index: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null) | null)[], unknown, unknown>;
|
|
62
70
|
disabled: boolean;
|
|
63
71
|
}>;
|
|
64
72
|
__isFragment?: never;
|
|
@@ -77,7 +85,12 @@ export declare const ElsMenuItem: {
|
|
|
77
85
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
78
86
|
__epPropKey: true;
|
|
79
87
|
};
|
|
80
|
-
index:
|
|
88
|
+
index: {
|
|
89
|
+
readonly type: import('vue').PropType<string>;
|
|
90
|
+
readonly required: true;
|
|
91
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
92
|
+
__epPropKey: true;
|
|
93
|
+
};
|
|
81
94
|
route: {
|
|
82
95
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
83
96
|
readonly required: false;
|
|
@@ -90,24 +103,19 @@ export declare const ElsMenuItem: {
|
|
|
90
103
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
91
104
|
click: (item: import('element-plus').MenuItemRegistered) => void;
|
|
92
105
|
}, string, {
|
|
93
|
-
index: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null) | null)[], unknown, unknown>;
|
|
94
106
|
disabled: boolean;
|
|
95
107
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
96
108
|
$slots: {
|
|
97
109
|
default?(_: {}): any;
|
|
98
110
|
};
|
|
99
111
|
}) & import('vue').ObjectPlugin & {
|
|
100
|
-
setPropsDefaults: (defaults:
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
readonly
|
|
105
|
-
readonly
|
|
106
|
-
|
|
107
|
-
readonly route?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | ((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | null)[], unknown, unknown> | undefined;
|
|
108
|
-
readonly isRootMenu?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
109
|
-
readonly onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
110
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "index" | "disabled">>) => void;
|
|
112
|
+
setPropsDefaults: (defaults: {
|
|
113
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
114
|
+
readonly index?: string | (() => string) | undefined;
|
|
115
|
+
readonly item?: (() => Record<string, any>) | undefined;
|
|
116
|
+
readonly route?: string | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | undefined;
|
|
117
|
+
readonly isRootMenu?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
118
|
+
}) => void;
|
|
111
119
|
} & Record<string, any>;
|
|
112
120
|
export default ElsMenuItem;
|
|
113
121
|
export * from './src/menuItem';
|
|
@@ -13,7 +13,12 @@ export declare const menuItemProps: {
|
|
|
13
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
__epPropKey: true;
|
|
15
15
|
};
|
|
16
|
-
index:
|
|
16
|
+
index: {
|
|
17
|
+
readonly type: PropType<string>;
|
|
18
|
+
readonly required: true;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
17
22
|
route: {
|
|
18
23
|
readonly type: PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
19
24
|
readonly required: false;
|
|
@@ -20,7 +20,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
22
22
|
};
|
|
23
|
-
index:
|
|
23
|
+
index: {
|
|
24
|
+
readonly type: import('vue').PropType<string>;
|
|
25
|
+
readonly required: true;
|
|
26
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
27
|
+
__epPropKey: true;
|
|
28
|
+
};
|
|
24
29
|
route: {
|
|
25
30
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
26
31
|
readonly required: false;
|
|
@@ -43,7 +48,12 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
43
48
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
44
49
|
__epPropKey: true;
|
|
45
50
|
};
|
|
46
|
-
index:
|
|
51
|
+
index: {
|
|
52
|
+
readonly type: import('vue').PropType<string>;
|
|
53
|
+
readonly required: true;
|
|
54
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
|
+
__epPropKey: true;
|
|
56
|
+
};
|
|
47
57
|
route: {
|
|
48
58
|
readonly type: import('vue').PropType<import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (((new (...args: any[]) => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric) | (() => string | import('vue-router').RouteLocationAsRelativeGeneric | import('vue-router').RouteLocationAsPathGeneric)) | null)[], unknown, unknown>>;
|
|
49
59
|
readonly required: false;
|
|
@@ -54,7 +64,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
54
64
|
}>> & Readonly<{
|
|
55
65
|
onClick?: ((item: import('element-plus').MenuItemRegistered) => any) | undefined;
|
|
56
66
|
}>, {
|
|
57
|
-
index: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => string) | (() => string | null) | ((new (...args: any[]) => string) | (() => string | null) | null)[], unknown, unknown>;
|
|
58
67
|
disabled: boolean;
|
|
59
68
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
60
69
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -157,23 +157,40 @@ export declare const ElsMenuSub: {
|
|
|
157
157
|
default?(_: {}): any;
|
|
158
158
|
};
|
|
159
159
|
}) & import('vue').ObjectPlugin & {
|
|
160
|
-
setPropsDefaults: (defaults:
|
|
161
|
-
disabled
|
|
162
|
-
teleported
|
|
163
|
-
|
|
164
|
-
readonly index
|
|
165
|
-
readonly
|
|
166
|
-
readonly
|
|
167
|
-
readonly
|
|
168
|
-
readonly
|
|
169
|
-
readonly
|
|
170
|
-
readonly
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
readonly
|
|
177
|
-
|
|
160
|
+
setPropsDefaults: (defaults: {
|
|
161
|
+
disabled?: boolean | (() => boolean) | undefined;
|
|
162
|
+
teleported?: import('element-plus/es/utils/index.mjs').EpPropMergeType<BooleanConstructor, unknown, unknown> | (() => boolean) | undefined;
|
|
163
|
+
readonly title?: string | (() => string) | undefined;
|
|
164
|
+
readonly index?: string | (() => string) | undefined;
|
|
165
|
+
readonly popperClass?: string | (() => string) | undefined;
|
|
166
|
+
readonly popperStyle?: string | (() => string | import('vue').CSSProperties) | undefined;
|
|
167
|
+
readonly popperOffset?: number | (() => number) | undefined;
|
|
168
|
+
readonly showTimeout?: number | (() => number) | undefined;
|
|
169
|
+
readonly hideTimeout?: number | (() => number) | undefined;
|
|
170
|
+
readonly expandCloseIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
171
|
+
new (...args: any[]): any;
|
|
172
|
+
__isFragment?: never;
|
|
173
|
+
__isTeleport?: never;
|
|
174
|
+
__isSuspense?: never;
|
|
175
|
+
} | (() => (import('element-plus/es/utils/index.mjs').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> | undefined) & {}) | undefined;
|
|
176
|
+
readonly expandOpenIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
177
|
+
new (...args: any[]): any;
|
|
178
|
+
__isFragment?: never;
|
|
179
|
+
__isTeleport?: never;
|
|
180
|
+
__isSuspense?: never;
|
|
181
|
+
} | (() => (import('element-plus/es/utils/index.mjs').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> | undefined) & {}) | undefined;
|
|
182
|
+
readonly collapseCloseIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
183
|
+
new (...args: any[]): any;
|
|
184
|
+
__isFragment?: never;
|
|
185
|
+
__isTeleport?: never;
|
|
186
|
+
__isSuspense?: never;
|
|
187
|
+
} | (() => (import('element-plus/es/utils/index.mjs').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> | undefined) & {}) | undefined;
|
|
188
|
+
readonly collapseOpenIcon?: string | import('vue').FunctionalComponent<any, {}, any, {}> | {
|
|
189
|
+
new (...args: any[]): any;
|
|
190
|
+
__isFragment?: never;
|
|
191
|
+
__isTeleport?: never;
|
|
192
|
+
__isSuspense?: never;
|
|
193
|
+
} | (() => (import('element-plus/es/utils/index.mjs').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> | undefined) & {}) | undefined;
|
|
194
|
+
}) => void;
|
|
178
195
|
} & Record<string, any>;
|
|
179
196
|
export default ElsMenuSub;
|
|
@@ -29,13 +29,10 @@ export declare const ElsOption: {
|
|
|
29
29
|
label: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
30
30
|
value: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown>;
|
|
31
31
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & import('vue').ObjectPlugin & {
|
|
32
|
-
setPropsDefaults: (defaults:
|
|
33
|
-
label
|
|
34
|
-
value
|
|
35
|
-
}
|
|
36
|
-
readonly label?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown> | undefined;
|
|
37
|
-
readonly value?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown> | undefined;
|
|
38
|
-
} & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps, "label" | "value">>) => void;
|
|
32
|
+
setPropsDefaults: (defaults: {
|
|
33
|
+
label?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown> | (() => string | number | boolean) | undefined;
|
|
34
|
+
value?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(NumberConstructor | StringConstructor | BooleanConstructor)[], unknown, unknown> | (() => string | number | boolean) | undefined;
|
|
35
|
+
}) => void;
|
|
39
36
|
} & Record<string, any>;
|
|
40
37
|
export default ElsOption;
|
|
41
38
|
export * from './src/option';
|
|
@@ -26,9 +26,9 @@ export declare const ElsOptionGroup: {
|
|
|
26
26
|
}): any;
|
|
27
27
|
};
|
|
28
28
|
}) & import('vue').ObjectPlugin & {
|
|
29
|
-
setPropsDefaults: (defaults:
|
|
30
|
-
readonly label?: string | undefined;
|
|
31
|
-
}
|
|
29
|
+
setPropsDefaults: (defaults: {
|
|
30
|
+
readonly label?: string | (() => string) | undefined;
|
|
31
|
+
}) => void;
|
|
32
32
|
} & Record<string, any>;
|
|
33
33
|
export default ElsOptionGroup;
|
|
34
34
|
export * from './src/optionGroup';
|