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
|
@@ -13,15 +13,15 @@ export declare const selectTreeProps: {
|
|
|
13
13
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
14
14
|
__epPropKey: true;
|
|
15
15
|
};
|
|
16
|
-
renderAfterExpand: import('element-plus/es/utils/
|
|
16
|
+
renderAfterExpand: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
17
17
|
nodeKey: StringConstructor;
|
|
18
18
|
checkStrictly: BooleanConstructor;
|
|
19
19
|
defaultExpandAll: BooleanConstructor;
|
|
20
|
-
expandOnClickNode: import('element-plus/es/utils/
|
|
20
|
+
expandOnClickNode: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
21
21
|
checkOnClickNode: BooleanConstructor;
|
|
22
|
-
checkOnClickLeaf: import('element-plus/es/utils/
|
|
22
|
+
checkOnClickLeaf: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
23
23
|
checkDescendants: BooleanConstructor;
|
|
24
|
-
autoExpandParent: import('element-plus/es/utils/
|
|
24
|
+
autoExpandParent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
25
25
|
defaultCheckedKeys: {
|
|
26
26
|
readonly type: PropType<import('element-plus').TreeKey[]>;
|
|
27
27
|
readonly required: false;
|
|
@@ -35,7 +35,7 @@ export declare const selectTreeProps: {
|
|
|
35
35
|
__epPropKey: true;
|
|
36
36
|
};
|
|
37
37
|
currentNodeKey: {
|
|
38
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
38
|
+
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>>;
|
|
39
39
|
readonly required: false;
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
@@ -60,7 +60,7 @@ export declare const selectTreeProps: {
|
|
|
60
60
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
61
61
|
__epPropKey: true;
|
|
62
62
|
};
|
|
63
|
-
props: import('element-plus/es/utils/
|
|
63
|
+
props: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => import('element-plus').TreeOptionProps) | (() => import('element-plus').TreeOptionProps) | (((new (...args: any[]) => import('element-plus').TreeOptionProps) | (() => import('element-plus').TreeOptionProps)) | null)[], unknown, unknown, () => {
|
|
64
64
|
children: string;
|
|
65
65
|
label: string;
|
|
66
66
|
disabled: string;
|
|
@@ -80,43 +80,43 @@ export declare const selectTreeProps: {
|
|
|
80
80
|
__epPropKey: true;
|
|
81
81
|
};
|
|
82
82
|
accordion: BooleanConstructor;
|
|
83
|
-
indent: import('element-plus/es/utils/
|
|
83
|
+
indent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 18, boolean>;
|
|
84
84
|
icon: {
|
|
85
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
85
|
+
readonly type: PropType<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>>;
|
|
86
86
|
readonly required: false;
|
|
87
87
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
88
88
|
__epPropKey: true;
|
|
89
89
|
};
|
|
90
90
|
ariaLabel: StringConstructor;
|
|
91
91
|
emptyValues: ArrayConstructor;
|
|
92
|
-
valueOnClear: import('element-plus/es/utils/
|
|
92
|
+
valueOnClear: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null) | (((new (...args: any[]) => string | number | boolean | Function) | (() => string | number | boolean | Function | null)) | null)[], unknown, unknown, undefined, boolean>;
|
|
93
93
|
name: StringConstructor;
|
|
94
94
|
id: StringConstructor;
|
|
95
|
-
modelValue: import('element-plus/es/utils/
|
|
96
|
-
autocomplete: import('element-plus/es/utils/
|
|
95
|
+
modelValue: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => string | number | boolean | Record<string, any> | import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>[]) | (() => import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown> | import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>[] | null) | (((new (...args: any[]) => string | number | boolean | Record<string, any> | import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>[]) | (() => import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown> | import('element-plus/es/utils/vue/props/types').EpPropMergeType<(BooleanConstructor | ObjectConstructor | StringConstructor | NumberConstructor)[], unknown, unknown>[] | null)) | null)[], unknown, unknown, undefined, boolean>;
|
|
96
|
+
autocomplete: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
97
97
|
automaticDropdown: BooleanConstructor;
|
|
98
98
|
size: {
|
|
99
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
99
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
100
100
|
readonly required: false;
|
|
101
101
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
102
102
|
__epPropKey: true;
|
|
103
103
|
};
|
|
104
|
-
effect: import('element-plus/es/utils/
|
|
105
|
-
disabled: import('element-plus/es/utils/
|
|
104
|
+
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, string, boolean>;
|
|
105
|
+
disabled: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
106
106
|
clearable: BooleanConstructor;
|
|
107
107
|
filterable: BooleanConstructor;
|
|
108
108
|
allowCreate: BooleanConstructor;
|
|
109
109
|
loading: BooleanConstructor;
|
|
110
|
-
popperClass: import('element-plus/es/utils/
|
|
110
|
+
popperClass: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
111
111
|
popperStyle: {
|
|
112
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
112
|
+
readonly type: 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>>;
|
|
113
113
|
readonly required: false;
|
|
114
114
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
115
115
|
__epPropKey: true;
|
|
116
116
|
};
|
|
117
|
-
popperOptions: import('element-plus/es/utils/
|
|
117
|
+
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, () => Partial<import('element-plus').Options>, boolean>;
|
|
118
118
|
remote: BooleanConstructor;
|
|
119
|
-
debounce: import('element-plus/es/utils/
|
|
119
|
+
debounce: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
120
120
|
loadingText: StringConstructor;
|
|
121
121
|
noMatchText: StringConstructor;
|
|
122
122
|
noDataText: StringConstructor;
|
|
@@ -133,7 +133,7 @@ export declare const selectTreeProps: {
|
|
|
133
133
|
__epPropKey: true;
|
|
134
134
|
};
|
|
135
135
|
multiple: BooleanConstructor;
|
|
136
|
-
multipleLimit: import('element-plus/es/utils/
|
|
136
|
+
multipleLimit: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
137
137
|
placeholder: {
|
|
138
138
|
readonly type: PropType<string>;
|
|
139
139
|
readonly required: false;
|
|
@@ -141,40 +141,40 @@ export declare const selectTreeProps: {
|
|
|
141
141
|
__epPropKey: true;
|
|
142
142
|
};
|
|
143
143
|
defaultFirstOption: BooleanConstructor;
|
|
144
|
-
reserveKeyword: import('element-plus/es/utils/
|
|
145
|
-
valueKey: import('element-plus/es/utils/
|
|
144
|
+
reserveKeyword: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
145
|
+
valueKey: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
|
|
146
146
|
collapseTags: BooleanConstructor;
|
|
147
147
|
collapseTagsTooltip: BooleanConstructor;
|
|
148
|
-
tagTooltip: import('element-plus/es/utils/
|
|
149
|
-
maxCollapseTags: import('element-plus/es/utils/
|
|
150
|
-
teleported: import('element-plus/es/utils/
|
|
151
|
-
persistent: import('element-plus/es/utils/
|
|
152
|
-
clearIcon: import('element-plus/es/utils/
|
|
148
|
+
tagTooltip: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => import('element-plus').TagTooltipProps) | (() => import('element-plus').TagTooltipProps) | (((new (...args: any[]) => import('element-plus').TagTooltipProps) | (() => import('element-plus').TagTooltipProps)) | null)[], unknown, unknown, () => {}, boolean>;
|
|
149
|
+
maxCollapseTags: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
150
|
+
teleported: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
151
|
+
persistent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
152
|
+
clearIcon: 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>;
|
|
153
153
|
fitInputWidth: BooleanConstructor;
|
|
154
|
-
suffixIcon: import('element-plus/es/utils/
|
|
154
|
+
suffixIcon: 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>;
|
|
155
155
|
tagType: {
|
|
156
156
|
default: string;
|
|
157
|
-
type: PropType<import('element-plus/es/utils/
|
|
157
|
+
type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
158
158
|
required: false;
|
|
159
159
|
validator: ((val: unknown) => boolean) | undefined;
|
|
160
160
|
__epPropKey: true;
|
|
161
161
|
};
|
|
162
162
|
tagEffect: {
|
|
163
163
|
default: string;
|
|
164
|
-
type: PropType<import('element-plus/es/utils/
|
|
164
|
+
type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "light" | "dark" | "plain", unknown>>;
|
|
165
165
|
required: false;
|
|
166
166
|
validator: ((val: unknown) => boolean) | undefined;
|
|
167
167
|
__epPropKey: true;
|
|
168
168
|
};
|
|
169
|
-
validateEvent: import('element-plus/es/utils/
|
|
169
|
+
validateEvent: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
170
170
|
remoteShowSuffix: BooleanConstructor;
|
|
171
|
-
showArrow: import('element-plus/es/utils/
|
|
172
|
-
offset: import('element-plus/es/utils/
|
|
173
|
-
placement: import('element-plus/es/utils/
|
|
174
|
-
fallbackPlacements: import('element-plus/es/utils/
|
|
175
|
-
tabindex: import('element-plus/es/utils/
|
|
171
|
+
showArrow: import('element-plus/es/utils/vue/props/types').EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
172
|
+
offset: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
173
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement) | (((new (...args: any[]) => "top" | "auto" | "bottom" | "left" | "right" | "auto-start" | "auto-end" | "top-start" | "top-end" | "bottom-start" | "bottom-end" | "right-start" | "right-end" | "left-start" | "left-end") | (() => import('element-plus').Placement)) | null)[], import('element-plus').Placement, unknown, string, boolean>;
|
|
174
|
+
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, string[], boolean>;
|
|
175
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(StringConstructor | NumberConstructor)[], unknown, unknown, number, boolean>;
|
|
176
176
|
appendTo: {
|
|
177
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
177
|
+
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>>;
|
|
178
178
|
readonly required: false;
|
|
179
179
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
180
180
|
__epPropKey: true;
|
package/es/ele-steps/index.d.ts
CHANGED
|
@@ -8,52 +8,52 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
8
8
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
9
9
|
items: import('vue').PropType<StepItem[] | import('./types').StepItemsFunction>;
|
|
10
10
|
type: import('vue').PropType<import('./types').StepType>;
|
|
11
|
-
space: import('element-plus/es/utils/
|
|
12
|
-
active: import('element-plus/es/utils/
|
|
13
|
-
direction: import('element-plus/es/utils/
|
|
11
|
+
space: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
12
|
+
active: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
13
|
+
direction: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
14
14
|
alignCenter: {
|
|
15
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
15
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
16
16
|
readonly required: false;
|
|
17
17
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
18
18
|
__epPropKey: true;
|
|
19
19
|
};
|
|
20
20
|
simple: {
|
|
21
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
21
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
22
22
|
readonly required: false;
|
|
23
23
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
24
24
|
__epPropKey: true;
|
|
25
25
|
};
|
|
26
|
-
finishStatus: import('element-plus/es/utils/
|
|
27
|
-
processStatus: import('element-plus/es/utils/
|
|
26
|
+
finishStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "finish", boolean>;
|
|
27
|
+
processStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "process", boolean>;
|
|
28
28
|
}>, {
|
|
29
29
|
reloadOptions: (params?: any) => void;
|
|
30
30
|
stepsRef: import('vue').Ref<ElStepInstance, ElStepInstance>;
|
|
31
31
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
32
32
|
items: import('vue').PropType<StepItem[] | import('./types').StepItemsFunction>;
|
|
33
33
|
type: import('vue').PropType<import('./types').StepType>;
|
|
34
|
-
space: import('element-plus/es/utils/
|
|
35
|
-
active: import('element-plus/es/utils/
|
|
36
|
-
direction: import('element-plus/es/utils/
|
|
34
|
+
space: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
35
|
+
active: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
36
|
+
direction: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
37
37
|
alignCenter: {
|
|
38
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
38
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
39
39
|
readonly required: false;
|
|
40
40
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
41
41
|
__epPropKey: true;
|
|
42
42
|
};
|
|
43
43
|
simple: {
|
|
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<BooleanConstructor, unknown, unknown>>;
|
|
45
45
|
readonly required: false;
|
|
46
46
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
47
47
|
__epPropKey: true;
|
|
48
48
|
};
|
|
49
|
-
finishStatus: import('element-plus/es/utils/
|
|
50
|
-
processStatus: import('element-plus/es/utils/
|
|
49
|
+
finishStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "finish", boolean>;
|
|
50
|
+
processStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "process", boolean>;
|
|
51
51
|
}>> & Readonly<{}>, {
|
|
52
|
-
direction: import('element-plus/es/utils/
|
|
53
|
-
space: import('element-plus/es/utils/index').EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
52
|
+
direction: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "horizontal" | "vertical", unknown>;
|
|
54
53
|
active: number;
|
|
55
|
-
|
|
56
|
-
|
|
54
|
+
space: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [NumberConstructor, StringConstructor], unknown, unknown>;
|
|
55
|
+
finishStatus: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "success" | "error" | "finish" | "wait" | "process", unknown>;
|
|
56
|
+
processStatus: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "success" | "error" | "finish" | "wait" | "process", unknown>;
|
|
57
57
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
58
58
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
59
59
|
export default _default;
|
package/es/ele-steps/props.d.ts
CHANGED
|
@@ -9,22 +9,22 @@ export declare const stepsProps: {
|
|
|
9
9
|
items: PropType<StepItem[] | StepItemsFunction>;
|
|
10
10
|
/** 类型 */
|
|
11
11
|
type: PropType<StepType>;
|
|
12
|
-
space: import('element-plus/es/utils/
|
|
13
|
-
active: import('element-plus/es/utils/
|
|
14
|
-
direction: import('element-plus/es/utils/
|
|
12
|
+
space: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [NumberConstructor, StringConstructor], unknown, unknown, "", boolean>;
|
|
13
|
+
active: import('element-plus/es/utils/vue/props/types').EpPropFinalized<NumberConstructor, unknown, unknown, 0, boolean>;
|
|
14
|
+
direction: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "horizontal" | "vertical", unknown, "horizontal", boolean>;
|
|
15
15
|
alignCenter: {
|
|
16
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
16
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
17
17
|
readonly required: false;
|
|
18
18
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
19
19
|
__epPropKey: true;
|
|
20
20
|
};
|
|
21
21
|
simple: {
|
|
22
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
22
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
23
23
|
readonly required: false;
|
|
24
24
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
25
25
|
__epPropKey: true;
|
|
26
26
|
};
|
|
27
|
-
finishStatus: import('element-plus/es/utils/
|
|
28
|
-
processStatus: import('element-plus/es/utils/
|
|
27
|
+
finishStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "finish", boolean>;
|
|
28
|
+
processStatus: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "error" | "finish" | "success" | "wait" | "process", unknown, "process", boolean>;
|
|
29
29
|
};
|
|
30
30
|
export type StepsProps = ExtractPropTypes<typeof stepsProps>;
|
|
@@ -10,8 +10,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
10
10
|
active: BooleanConstructor;
|
|
11
11
|
tabName: (NumberConstructor | StringConstructor)[];
|
|
12
12
|
}>> & Readonly<{}>, {
|
|
13
|
-
tab: boolean;
|
|
14
13
|
active: boolean;
|
|
14
|
+
tab: boolean;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
17
17
|
export default _default;
|
|
@@ -95,10 +95,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
change: (_value: SelectValue) => void;
|
|
96
96
|
focus: (_e: FocusEvent) => void;
|
|
97
97
|
"update:modelValue": (_value: SelectValue) => void;
|
|
98
|
-
"update:visible": (_visible: boolean) => void;
|
|
99
98
|
visibleChange: (_visible: boolean) => void;
|
|
100
|
-
filterChange: (_value: string) => void;
|
|
101
99
|
removeTag: (_value: SingleValue) => void;
|
|
100
|
+
"update:visible": (_visible: boolean) => void;
|
|
101
|
+
filterChange: (_value: string) => void;
|
|
102
102
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
103
103
|
transition: {
|
|
104
104
|
type: StringConstructor;
|
|
@@ -176,10 +176,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
176
176
|
onChange?: ((_value: SelectValue) => any) | undefined;
|
|
177
177
|
onFocus?: ((_e: FocusEvent) => any) | undefined;
|
|
178
178
|
"onUpdate:modelValue"?: ((_value: SelectValue) => any) | undefined;
|
|
179
|
-
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
180
179
|
onVisibleChange?: ((_visible: boolean) => any) | undefined;
|
|
181
|
-
onFilterChange?: ((_value: string) => any) | undefined;
|
|
182
180
|
onRemoveTag?: ((_value: SingleValue) => any) | undefined;
|
|
181
|
+
"onUpdate:visible"?: ((_visible: boolean) => any) | undefined;
|
|
182
|
+
onFilterChange?: ((_value: string) => any) | undefined;
|
|
183
183
|
}>, {
|
|
184
184
|
transition: string;
|
|
185
185
|
disabled: boolean;
|
|
@@ -187,7 +187,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
187
187
|
clearable: boolean;
|
|
188
188
|
validateEvent: boolean;
|
|
189
189
|
visible: boolean;
|
|
190
|
-
placement: import('element-plus/es/utils/
|
|
190
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
191
191
|
persistent: boolean;
|
|
192
192
|
teleported: boolean;
|
|
193
193
|
valueKey: string;
|
package/es/ele-tabs/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
|
|
|
11
11
|
label?(_: {
|
|
12
12
|
item: TabPaneItem;
|
|
13
13
|
label: string | undefined;
|
|
14
|
-
active: import('element-plus/es/utils/
|
|
14
|
+
active: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
15
15
|
}): any;
|
|
16
16
|
};
|
|
17
17
|
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
@@ -31,20 +31,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
31
31
|
closable: BooleanConstructor;
|
|
32
32
|
addable: BooleanConstructor;
|
|
33
33
|
modelValue: {
|
|
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<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
35
35
|
readonly required: false;
|
|
36
36
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
37
37
|
__epPropKey: true;
|
|
38
38
|
};
|
|
39
39
|
defaultValue: {
|
|
40
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
40
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
41
41
|
readonly required: false;
|
|
42
42
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
43
|
__epPropKey: true;
|
|
44
44
|
};
|
|
45
45
|
editable: BooleanConstructor;
|
|
46
|
-
tabPosition: import('element-plus/es/utils/
|
|
47
|
-
beforeLeave: import('element-plus/es/utils/
|
|
46
|
+
tabPosition: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
|
|
47
|
+
beforeLeave: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | {
|
|
48
48
|
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>;
|
|
49
49
|
new (): any;
|
|
50
50
|
readonly prototype: any;
|
|
@@ -54,7 +54,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
54
54
|
readonly prototype: any;
|
|
55
55
|
}) | null)[], unknown, unknown, () => true, boolean>;
|
|
56
56
|
stretch: BooleanConstructor;
|
|
57
|
-
tabindex: import('element-plus/es/utils/
|
|
57
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
58
58
|
}>, {
|
|
59
59
|
tabRef: import('vue').Ref<ElTabsInstance, ElTabsInstance>;
|
|
60
60
|
ctxMenuDropdownRef: import('vue').Ref<EleDropdownInstance, EleDropdownInstance>;
|
|
@@ -63,11 +63,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
63
63
|
scrollTabs: (direction: "prev" | "next", done?: () => void) => void;
|
|
64
64
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
65
65
|
"update:modelValue": (name: TabPaneName) => void;
|
|
66
|
-
edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => void;
|
|
67
|
-
tabContextMenu: (_opt: import('./types').TabEventOption) => void;
|
|
68
|
-
tabItemClick: (_opt: import('./types').TabEventOption) => void;
|
|
69
|
-
tabContextOpen: (_ref: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => void;
|
|
70
|
-
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
71
66
|
tabClick: (pane: {
|
|
72
67
|
uid: number;
|
|
73
68
|
getVnode: () => import('vue').VNode;
|
|
@@ -86,8 +81,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
86
81
|
isFocusInsidePane: () => boolean | undefined;
|
|
87
82
|
}, ev: Event) => void;
|
|
88
83
|
tabChange: (name: TabPaneName) => void;
|
|
84
|
+
edit: (paneName: TabPaneName | undefined, action: "add" | "remove") => void;
|
|
89
85
|
tabRemove: (name: TabPaneName) => void;
|
|
90
86
|
tabAdd: () => void;
|
|
87
|
+
tabContextMenu: (_opt: import('./types').TabEventOption) => void;
|
|
88
|
+
tabItemClick: (_opt: import('./types').TabEventOption) => void;
|
|
89
|
+
tabContextOpen: (_ref: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => void;
|
|
90
|
+
tabSortChange: (_data: TabPaneItem[]) => void;
|
|
91
91
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
92
92
|
items: {
|
|
93
93
|
type: import('vue').PropType<TabPaneItem[]>;
|
|
@@ -105,20 +105,20 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
105
105
|
closable: BooleanConstructor;
|
|
106
106
|
addable: BooleanConstructor;
|
|
107
107
|
modelValue: {
|
|
108
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
108
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
109
109
|
readonly required: false;
|
|
110
110
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
111
111
|
__epPropKey: true;
|
|
112
112
|
};
|
|
113
113
|
defaultValue: {
|
|
114
|
-
readonly type: import('vue').PropType<import('element-plus/es/utils/
|
|
114
|
+
readonly type: import('vue').PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
115
115
|
readonly required: false;
|
|
116
116
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
117
|
__epPropKey: true;
|
|
118
118
|
};
|
|
119
119
|
editable: BooleanConstructor;
|
|
120
|
-
tabPosition: import('element-plus/es/utils/
|
|
121
|
-
beforeLeave: import('element-plus/es/utils/
|
|
120
|
+
tabPosition: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
|
|
121
|
+
beforeLeave: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | (() => (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | {
|
|
122
122
|
(): (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>;
|
|
123
123
|
new (): any;
|
|
124
124
|
readonly prototype: any;
|
|
@@ -128,14 +128,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
128
128
|
readonly prototype: any;
|
|
129
129
|
}) | null)[], unknown, unknown, () => true, boolean>;
|
|
130
130
|
stretch: BooleanConstructor;
|
|
131
|
-
tabindex: import('element-plus/es/utils/
|
|
131
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
132
132
|
}>> & Readonly<{
|
|
133
133
|
"onUpdate:modelValue"?: ((name: TabPaneName) => any) | undefined;
|
|
134
|
-
onEdit?: ((paneName: TabPaneName | undefined, action: "add" | "remove") => any) | undefined;
|
|
135
|
-
onTabContextMenu?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
136
|
-
onTabItemClick?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
137
|
-
onTabContextOpen?: ((_ref: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => any) | undefined;
|
|
138
|
-
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
139
134
|
onTabClick?: ((pane: {
|
|
140
135
|
uid: number;
|
|
141
136
|
getVnode: () => import('vue').VNode;
|
|
@@ -154,16 +149,21 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
154
149
|
isFocusInsidePane: () => boolean | undefined;
|
|
155
150
|
}, ev: Event) => any) | undefined;
|
|
156
151
|
onTabChange?: ((name: TabPaneName) => any) | undefined;
|
|
152
|
+
onEdit?: ((paneName: TabPaneName | undefined, action: "add" | "remove") => any) | undefined;
|
|
157
153
|
onTabRemove?: ((name: TabPaneName) => any) | undefined;
|
|
158
154
|
onTabAdd?: (() => any) | undefined;
|
|
155
|
+
onTabContextMenu?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
156
|
+
onTabItemClick?: ((_opt: import('./types').TabEventOption) => any) | undefined;
|
|
157
|
+
onTabContextOpen?: ((_ref: EleDropdownInstance, _item?: TabPaneItem | null | undefined, _name?: string | number | null | undefined) => any) | undefined;
|
|
158
|
+
onTabSortChange?: ((_data: TabPaneItem[]) => any) | undefined;
|
|
159
159
|
}>, {
|
|
160
160
|
mousewheel: boolean;
|
|
161
|
-
tabindex: import('element-plus/es/utils/
|
|
161
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
162
162
|
center: boolean;
|
|
163
163
|
closable: boolean;
|
|
164
164
|
addable: boolean;
|
|
165
165
|
editable: boolean;
|
|
166
|
-
tabPosition: import('element-plus/es/utils/
|
|
166
|
+
tabPosition: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, "bottom" | "left" | "right" | "top", unknown>;
|
|
167
167
|
beforeLeave: (newName: TabPaneName, oldName: TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>;
|
|
168
168
|
stretch: boolean;
|
|
169
169
|
handleClick: boolean;
|
package/es/ele-tabs/props.d.ts
CHANGED
|
@@ -33,20 +33,20 @@ export declare const tabsProps: {
|
|
|
33
33
|
closable: BooleanConstructor;
|
|
34
34
|
addable: BooleanConstructor;
|
|
35
35
|
modelValue: {
|
|
36
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
36
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
37
37
|
readonly required: false;
|
|
38
38
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
39
39
|
__epPropKey: true;
|
|
40
40
|
};
|
|
41
41
|
defaultValue: {
|
|
42
|
-
readonly type: PropType<import('element-plus/es/utils/
|
|
42
|
+
readonly type: PropType<import('element-plus/es/utils/vue/props/types').EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>>;
|
|
43
43
|
readonly required: false;
|
|
44
44
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
45
|
__epPropKey: true;
|
|
46
46
|
};
|
|
47
47
|
editable: BooleanConstructor;
|
|
48
|
-
tabPosition: import('element-plus/es/utils/
|
|
49
|
-
beforeLeave: import('element-plus/es/utils/
|
|
48
|
+
tabPosition: import('element-plus/es/utils/vue/props/types').EpPropFinalized<StringConstructor, "top" | "bottom" | "left" | "right", unknown, "top", boolean>;
|
|
49
|
+
beforeLeave: import('element-plus/es/utils/vue/props/types').EpPropFinalized<(new (...args: any[]) => (newName: import('element-plus').TabPaneName, oldName: import('element-plus').TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | (() => (newName: import('element-plus').TabPaneName, oldName: import('element-plus').TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>) | {
|
|
50
50
|
(): (newName: import('element-plus').TabPaneName, oldName: import('element-plus').TabPaneName) => import('element-plus/es/utils/typescript').Awaitable<void | boolean>;
|
|
51
51
|
new (): any;
|
|
52
52
|
readonly prototype: any;
|
|
@@ -56,7 +56,7 @@ export declare const tabsProps: {
|
|
|
56
56
|
readonly prototype: any;
|
|
57
57
|
}) | null)[], unknown, unknown, () => true, boolean>;
|
|
58
58
|
stretch: BooleanConstructor;
|
|
59
|
-
tabindex: import('element-plus/es/utils/
|
|
59
|
+
tabindex: import('element-plus/es/utils/vue/props/types').EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, 0, boolean>;
|
|
60
60
|
};
|
|
61
61
|
export type TabsProps = ExtractPropTypes<typeof tabsProps>;
|
|
62
62
|
/**
|
package/es/ele-tool/index.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
onClick?: ((_e: MouseEvent) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
disabled: boolean;
|
|
31
|
-
placement: import('element-plus/es/utils/
|
|
31
|
+
placement: import('element-plus/es/utils/vue/props/types').EpPropMergeType<StringConstructor, import('element-plus').Placement, unknown> | undefined;
|
|
32
32
|
clickHideTooltip: boolean;
|
|
33
33
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
34
34
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|