fast-element-plus 2.0.19 → 2.0.21
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/CHANGELOG.md +47 -20
- package/CONTRIBUTING.md +3 -4
- package/README.md +80 -27
- package/README.zh.md +66 -27
- package/dist/component.d.ts +110 -110
- package/dist/components/avatar/src/avatar.d.ts +26 -26
- package/dist/components/avatar/src/avatar.mjs +10 -10
- package/dist/components/avatar/src/avatar.mjs.map +1 -1
- package/dist/components/button/src/button.d.ts +32 -27
- package/dist/components/button/src/button.mjs +57 -36
- package/dist/components/button/src/button.mjs.map +1 -1
- package/dist/components/carNumber/src/carNumber.d.ts +8 -8
- package/dist/components/carNumber/src/carNumber.mjs +5 -5
- package/dist/components/carNumber/src/carNumber.mjs.map +1 -1
- package/dist/components/contextMenu/src/contextMenu.d.ts +6 -6
- package/dist/components/contextMenu/src/contextMenu.mjs +5 -5
- package/dist/components/contextMenu/src/contextMenu.mjs.map +1 -1
- package/dist/components/contextMenu/src/contextMenu.type.d.ts +7 -7
- package/dist/components/dialog/src/dialog.d.ts +74 -74
- package/dist/components/dialog/src/dialog.mjs +31 -31
- package/dist/components/dialog/src/dialog.mjs.map +1 -1
- package/dist/components/drawer/src/drawer.d.ts +57 -57
- package/dist/components/drawer/src/drawer.mjs +24 -24
- package/dist/components/drawer/src/drawer.mjs.map +1 -1
- package/dist/components/form/src/form.d.ts +30 -30
- package/dist/components/form/src/form.mjs +16 -16
- package/dist/components/form/src/form.mjs.map +1 -1
- package/dist/components/form/src/formItem.d.ts +30 -30
- package/dist/components/form/src/formItem.mjs +13 -13
- package/dist/components/form/src/formItem.mjs.map +1 -1
- package/dist/components/formItemTip/src/formItemTip.d.ts +9 -9
- package/dist/components/formItemTip/src/formItemTip.mjs +3 -3
- package/dist/components/formItemTip/src/formItemTip.mjs.map +1 -1
- package/dist/components/icon/src/icon.d.ts +10 -10
- package/dist/components/icon/src/icon.mjs +4 -4
- package/dist/components/icon/src/icon.mjs.map +1 -1
- package/dist/components/iconSelector/src/iconSelector.d.ts +6 -6
- package/dist/components/iconSelector/src/iconSelector.mjs +4 -4
- package/dist/components/iconSelector/src/iconSelector.mjs.map +1 -1
- package/dist/components/image/src/image.d.ts +36 -36
- package/dist/components/image/src/image.mjs +11 -11
- package/dist/components/image/src/image.mjs.map +1 -1
- package/dist/components/inputDialogPage/src/inputDialogPage.d.ts +37 -37
- package/dist/components/inputDialogPage/src/inputDialogPage.mjs +16 -16
- package/dist/components/inputDialogPage/src/inputDialogPage.mjs.map +1 -1
- package/dist/components/layoutGrid/src/layoutGrid.d.ts +12 -12
- package/dist/components/layoutGrid/src/layoutGrid.mjs +6 -6
- package/dist/components/layoutGrid/src/layoutGrid.mjs.map +1 -1
- package/dist/components/layoutGrid/src/layoutGridItem.d.ts +18 -18
- package/dist/components/layoutGrid/src/layoutGridItem.mjs +8 -8
- package/dist/components/layoutGrid/src/layoutGridItem.mjs.map +1 -1
- package/dist/components/select/src/select.d.ts +88 -88
- package/dist/components/select/src/select.mjs +28 -28
- package/dist/components/select/src/select.mjs.map +1 -1
- package/dist/components/select/src/selectOption.d.ts +13 -13
- package/dist/components/select/src/selectOption.mjs +6 -6
- package/dist/components/select/src/selectOption.mjs.map +1 -1
- package/dist/components/selectPage/src/selectPage.d.ts +78 -84
- package/dist/components/selectPage/src/selectPage.mjs +49 -35
- package/dist/components/selectPage/src/selectPage.mjs.map +1 -1
- package/dist/components/selectV2/index.mjs +2 -1
- package/dist/components/selectV2/index.mjs.map +1 -1
- package/dist/components/selectV2/src/selectV2.d.ts +160 -851
- package/dist/components/selectV2/src/selectV2.mjs +30 -338
- package/dist/components/selectV2/src/selectV2.mjs.map +1 -1
- package/dist/components/table/index.mjs +3 -2
- package/dist/components/table/index.mjs.map +1 -1
- package/dist/components/table/src/page.type.d.ts +1 -1
- package/dist/components/table/src/table.d.ts +211 -744
- package/dist/components/table/src/table.mjs +131 -327
- package/dist/components/table/src/table.mjs.map +1 -1
- package/dist/components/table/src/table.state.d.ts +3 -3
- package/dist/components/table/src/table.type.d.ts +1 -9
- package/dist/components/table/src/table.type.mjs.map +1 -1
- package/dist/components/table/src/tableColumn.d.ts +102 -399
- package/dist/components/table/src/tableColumn.mjs +62 -213
- package/dist/components/table/src/tableColumn.mjs.map +1 -1
- package/dist/components/table/src/tableColumnSettingDialog.d.ts +4 -4
- package/dist/components/table/src/tableColumnSettingDialog.mjs +3 -3
- package/dist/components/table/src/tableColumnSettingDialog.mjs.map +1 -1
- package/dist/components/table/src/tablePagination.d.ts +4 -4
- package/dist/components/table/src/tablePagination.mjs +3 -3
- package/dist/components/table/src/tablePagination.mjs.map +1 -1
- package/dist/components/table/src/tableSearchForm.d.ts +12 -12
- package/dist/components/table/src/tableSearchForm.mjs +6 -6
- package/dist/components/table/src/tableSearchForm.mjs.map +1 -1
- package/dist/components/table/src/tableSearchFormItem.d.ts +4 -4
- package/dist/components/table/src/tableSearchFormItem.mjs +2 -2
- package/dist/components/table/src/tableSearchFormItem.mjs.map +1 -1
- package/dist/components/table/src/useTable.d.ts +1 -0
- package/dist/components/table/src/useTable.mjs +109 -65
- package/dist/components/table/src/useTable.mjs.map +1 -1
- package/dist/components/table/utils/table.d.ts +4 -4
- package/dist/components/table/utils/table.mjs +6 -6
- package/dist/components/table/utils/table.mjs.map +1 -1
- package/dist/components/tree/src/tree.d.ts +86 -86
- package/dist/components/tree/src/tree.mjs +46 -46
- package/dist/components/tree/src/tree.mjs.map +1 -1
- package/dist/components/treeSelect/src/treeSelect.d.ts +144 -150
- package/dist/components/treeSelect/src/treeSelect.mjs +55 -55
- package/dist/components/treeSelect/src/treeSelect.mjs.map +1 -1
- package/dist/components/upload/src/upload.d.ts +36 -36
- package/dist/components/upload/src/upload.mjs +17 -17
- package/dist/components/upload/src/upload.mjs.map +1 -1
- package/dist/components/uploadImage/src/uploadImage.d.ts +47 -47
- package/dist/components/uploadImage/src/uploadImage.mjs +23 -23
- package/dist/components/uploadImage/src/uploadImage.mjs.map +1 -1
- package/dist/components/uploadImages/src/uploadImages.d.ts +41 -41
- package/dist/components/uploadImages/src/uploadImages.mjs +21 -21
- package/dist/components/uploadImages/src/uploadImages.mjs.map +1 -1
- package/dist/directives/click-debounce/index.mjs +19 -11
- package/dist/directives/click-debounce/index.mjs.map +1 -1
- package/dist/directives/click-throttle/index.d.ts +4 -2
- package/dist/directives/click-throttle/index.mjs +21 -11
- package/dist/directives/click-throttle/index.mjs.map +1 -1
- package/dist/index.global.min.js +4 -4
- package/dist/index.global.min.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/internal/props.d.ts +685 -0
- package/dist/internal/props.mjs +683 -0
- package/dist/internal/props.mjs.map +1 -0
- package/dist/utils/loading-tasks.d.ts +5 -0
- package/dist/utils/loading-tasks.mjs +32 -0
- package/dist/utils/loading-tasks.mjs.map +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.mjs +1 -1
- package/dist/version.mjs.map +1 -1
- package/package.json +5 -10
|
@@ -4,7 +4,7 @@ import type { ElSelectorModelValue, ElSelectorOutput, ElSelectorValue } from "..
|
|
|
4
4
|
import type { SelectComponentProps } from "../../select/src/select";
|
|
5
5
|
import type { PagedInput } from "../../table";
|
|
6
6
|
import type { FilterNodeMethodFunction, TreeNode } from "../../tree/src/tree.props";
|
|
7
|
-
/** FaTreeSelect 的运行时 Props
|
|
7
|
+
/** FaTreeSelect 的运行时 Props 定义 */
|
|
8
8
|
export declare const faTreeSelectProps: {
|
|
9
9
|
/** 树节点筛选方法。 */
|
|
10
10
|
filterNodeMethod: {
|
|
@@ -12,7 +12,7 @@ export declare const faTreeSelectProps: {
|
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* 懒加载节点的缓存数据,结构与数据相同,用于获取未加载数据的标签
|
|
15
|
-
*
|
|
15
|
+
* The cached data of the lazy node, the structure is the same as the data, used to get the label of the unloaded data
|
|
16
16
|
*/
|
|
17
17
|
cacheData: {
|
|
18
18
|
type: import("vue").PropType<{
|
|
@@ -22,32 +22,32 @@ export declare const faTreeSelectProps: {
|
|
|
22
22
|
}[]>;
|
|
23
23
|
default: () => never[];
|
|
24
24
|
};
|
|
25
|
-
/**
|
|
25
|
+
/** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
|
|
26
26
|
disabled: {
|
|
27
27
|
type: BooleanConstructor;
|
|
28
28
|
default: undefined;
|
|
29
29
|
};
|
|
30
|
-
/**
|
|
30
|
+
/** 远程数据加载时显示的文本;默认显示“加载中...”。 */
|
|
31
31
|
loadingText: {
|
|
32
32
|
type: StringConstructor;
|
|
33
33
|
default: string;
|
|
34
34
|
};
|
|
35
|
-
/**
|
|
35
|
+
/** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
|
|
36
36
|
noMatchText: {
|
|
37
37
|
type: StringConstructor;
|
|
38
38
|
default: string;
|
|
39
39
|
};
|
|
40
|
-
/**
|
|
40
|
+
/** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
|
|
41
41
|
noDataText: {
|
|
42
42
|
type: StringConstructor;
|
|
43
43
|
default: string;
|
|
44
44
|
};
|
|
45
|
-
/**
|
|
45
|
+
/** 多选时是否折叠已选标签 */
|
|
46
46
|
collapseTags: {
|
|
47
47
|
type: BooleanConstructor;
|
|
48
48
|
default: boolean;
|
|
49
49
|
};
|
|
50
|
-
/**
|
|
50
|
+
/** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
|
|
51
51
|
collapseTagsTooltip: {
|
|
52
52
|
type: BooleanConstructor;
|
|
53
53
|
default: boolean;
|
|
@@ -57,47 +57,47 @@ export declare const faTreeSelectProps: {
|
|
|
57
57
|
type: StringConstructor;
|
|
58
58
|
default: string;
|
|
59
59
|
};
|
|
60
|
-
/**
|
|
60
|
+
/** 是否默认展开所有节点 */
|
|
61
61
|
defaultExpandAll: {
|
|
62
62
|
type: BooleanConstructor;
|
|
63
63
|
default: boolean;
|
|
64
64
|
};
|
|
65
|
-
/**
|
|
65
|
+
/** 是否在点击节点的时候选中节点 */
|
|
66
66
|
checkOnClickNode: {
|
|
67
67
|
type: BooleanConstructor;
|
|
68
68
|
default: boolean;
|
|
69
69
|
};
|
|
70
|
-
/**
|
|
70
|
+
/** 是否高亮当前选中节点 */
|
|
71
71
|
highlightCurrent: {
|
|
72
72
|
type: BooleanConstructor;
|
|
73
73
|
default: boolean;
|
|
74
74
|
};
|
|
75
|
-
/**
|
|
75
|
+
/** 是否在点击节点的时候展开或者收缩节点, 默认值为 true,如果为 false,则只有点箭头图标的时候才会展开或者收缩节点。 */
|
|
76
76
|
expandOnClickNode: BooleanConstructor;
|
|
77
|
-
/**
|
|
77
|
+
/** 点击折叠节点,需要开启 'expandOnClickNode' */
|
|
78
78
|
collapseOnClickNode: BooleanConstructor;
|
|
79
|
-
/**
|
|
79
|
+
/** v-model 绑定值 */
|
|
80
80
|
modelValue: {
|
|
81
81
|
type: import("vue").PropType<ElSelectorModelValue>;
|
|
82
82
|
default: undefined;
|
|
83
83
|
};
|
|
84
|
-
/**
|
|
84
|
+
/** v-model:label 绑定值 */
|
|
85
85
|
label: import("vue").PropType<string | string[] | null>;
|
|
86
|
-
/**
|
|
86
|
+
/** 宽度 */
|
|
87
87
|
width: {
|
|
88
88
|
type: (NumberConstructor | StringConstructor)[];
|
|
89
89
|
default: string;
|
|
90
90
|
};
|
|
91
|
-
/**
|
|
91
|
+
/** 插槽使用的附加状态 */
|
|
92
92
|
moreDetail: BooleanConstructor;
|
|
93
|
-
/**
|
|
93
|
+
/** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
|
|
94
94
|
lazy: {
|
|
95
95
|
type: BooleanConstructor;
|
|
96
96
|
default: boolean;
|
|
97
97
|
};
|
|
98
|
-
/**
|
|
98
|
+
/** 是否默认选中;不能与懒加载同时使用。 */
|
|
99
99
|
defaultSelected: BooleanConstructor;
|
|
100
|
-
/**
|
|
100
|
+
/** 配置选项 */
|
|
101
101
|
props: {
|
|
102
102
|
type: import("vue").PropType<SelectComponentProps>;
|
|
103
103
|
default: () => {
|
|
@@ -107,12 +107,12 @@ export declare const faTreeSelectProps: {
|
|
|
107
107
|
children: string;
|
|
108
108
|
};
|
|
109
109
|
};
|
|
110
|
-
/**
|
|
110
|
+
/** 下拉框数据 */
|
|
111
111
|
data: {
|
|
112
112
|
type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
|
|
113
113
|
default: () => never[];
|
|
114
114
|
};
|
|
115
|
-
/**
|
|
115
|
+
/** 请求数据的函数 */
|
|
116
116
|
requestApi: {
|
|
117
117
|
type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[]>>;
|
|
118
118
|
};
|
|
@@ -194,16 +194,16 @@ export declare const faTreeSelectProps: {
|
|
|
194
194
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
195
195
|
__epPropKey: true;
|
|
196
196
|
};
|
|
197
|
-
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
197
|
+
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
198
|
+
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
199
|
+
...args: any[]) => string) | (() => import("element-plus").PopperEffect) | (((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect)) | null)[], unknown, unknown, string, boolean>;
|
|
198
200
|
clearable: BooleanConstructor;
|
|
199
201
|
filterable: BooleanConstructor;
|
|
200
202
|
allowCreate: BooleanConstructor;
|
|
201
203
|
loading: BooleanConstructor;
|
|
202
|
-
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
203
|
-
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
204
|
-
...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
204
|
+
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
205
205
|
popperStyle: import("element-plus/es/utils/vue/props/types.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, undefined, boolean>;
|
|
206
|
-
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
206
|
+
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
207
207
|
remote: BooleanConstructor;
|
|
208
208
|
debounce: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
209
209
|
remoteMethod: {
|
|
@@ -235,9 +235,7 @@ export declare const faTreeSelectProps: {
|
|
|
235
235
|
persistent: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
236
236
|
clearIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
237
237
|
fitInputWidth: BooleanConstructor;
|
|
238
|
-
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
239
|
-
/** @description select 组件自定义 loading内容 */
|
|
240
|
-
...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>;
|
|
238
|
+
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
241
239
|
tagType: {
|
|
242
240
|
default: string;
|
|
243
241
|
type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
@@ -272,17 +270,17 @@ export declare const faTreeSelectProps: {
|
|
|
272
270
|
__epPropKey: true;
|
|
273
271
|
};
|
|
274
272
|
};
|
|
275
|
-
/** FaTreeSelect 的运行时 Emits
|
|
273
|
+
/** FaTreeSelect 的运行时 Emits 定义 */
|
|
276
274
|
export declare const faTreeSelectEmits: {
|
|
277
|
-
/**
|
|
275
|
+
/** v-model 回调 */
|
|
278
276
|
"update:modelValue": (value: ElSelectorModelValue) => value is string | number | boolean | object | ElSelectorValue[] | null | undefined;
|
|
279
|
-
/**
|
|
277
|
+
/** 选中数据改变 */
|
|
280
278
|
change: (_data: ElSelectorOutput | ElSelectorOutput[] | null, _value?: ElSelectorModelValue) => boolean;
|
|
281
|
-
/**
|
|
279
|
+
/** v-model:label 回调 */
|
|
282
280
|
"update:label": (value: string | string[] | null) => boolean;
|
|
283
|
-
/**
|
|
281
|
+
/** 数据改变 */
|
|
284
282
|
dataChange: (data: ElSelectorOutput[]) => boolean;
|
|
285
|
-
/**
|
|
283
|
+
/** 节点点击 */
|
|
286
284
|
"node-click": (_data: ElSelectorOutput, _node: TreeNode, _instance: ComponentInternalInstance | null) => boolean;
|
|
287
285
|
'check-change': (data: any, checked: boolean, indeterminate: boolean) => any;
|
|
288
286
|
'current-change': (data: any | null, node: import("element-plus/es/components/tree/src/model/node.mjs").default | null) => boolean;
|
|
@@ -307,26 +305,26 @@ export declare const faTreeSelectEmits: {
|
|
|
307
305
|
blur: (evt: FocusEvent) => boolean;
|
|
308
306
|
clear: () => boolean;
|
|
309
307
|
};
|
|
310
|
-
/** FaTreeSelect
|
|
308
|
+
/** FaTreeSelect 的插槽参数 */
|
|
311
309
|
export interface FaTreeSelectSlots extends Record<string, unknown> {
|
|
312
|
-
/**
|
|
310
|
+
/** 默认内容插槽 */
|
|
313
311
|
default: {
|
|
314
312
|
node: TreeNode;
|
|
315
313
|
data: ElSelectorOutput;
|
|
316
314
|
};
|
|
317
|
-
/**
|
|
315
|
+
/** 下拉列表顶部的内容 */
|
|
318
316
|
header: never;
|
|
319
|
-
/**
|
|
317
|
+
/** 下拉列表底部的内容 */
|
|
320
318
|
footer: never;
|
|
321
|
-
/**
|
|
319
|
+
/** Select 组件头部内容 */
|
|
322
320
|
prefix: never;
|
|
323
|
-
/**
|
|
321
|
+
/** 无选项时的列表 */
|
|
324
322
|
empty: never;
|
|
325
|
-
/**
|
|
323
|
+
/** select 组件自定义标签内容 */
|
|
326
324
|
tag: never;
|
|
327
|
-
/**
|
|
325
|
+
/** Select 组件自定义加载内容 */
|
|
328
326
|
loading: never;
|
|
329
|
-
/**
|
|
327
|
+
/** select 组件自定义标签内容 */
|
|
330
328
|
label: {
|
|
331
329
|
label: string;
|
|
332
330
|
value: string | number | boolean | object;
|
|
@@ -339,7 +337,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
339
337
|
};
|
|
340
338
|
/**
|
|
341
339
|
* 懒加载节点的缓存数据,结构与数据相同,用于获取未加载数据的标签
|
|
342
|
-
*
|
|
340
|
+
* The cached data of the lazy node, the structure is the same as the data, used to get the label of the unloaded data
|
|
343
341
|
*/
|
|
344
342
|
cacheData: {
|
|
345
343
|
type: import("vue").PropType<{
|
|
@@ -349,32 +347,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
349
347
|
}[]>;
|
|
350
348
|
default: () => never[];
|
|
351
349
|
};
|
|
352
|
-
/**
|
|
350
|
+
/** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
|
|
353
351
|
disabled: {
|
|
354
352
|
type: BooleanConstructor;
|
|
355
353
|
default: undefined;
|
|
356
354
|
};
|
|
357
|
-
/**
|
|
355
|
+
/** 远程数据加载时显示的文本;默认显示“加载中...”。 */
|
|
358
356
|
loadingText: {
|
|
359
357
|
type: StringConstructor;
|
|
360
358
|
default: string;
|
|
361
359
|
};
|
|
362
|
-
/**
|
|
360
|
+
/** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
|
|
363
361
|
noMatchText: {
|
|
364
362
|
type: StringConstructor;
|
|
365
363
|
default: string;
|
|
366
364
|
};
|
|
367
|
-
/**
|
|
365
|
+
/** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
|
|
368
366
|
noDataText: {
|
|
369
367
|
type: StringConstructor;
|
|
370
368
|
default: string;
|
|
371
369
|
};
|
|
372
|
-
/**
|
|
370
|
+
/** 多选时是否折叠已选标签 */
|
|
373
371
|
collapseTags: {
|
|
374
372
|
type: BooleanConstructor;
|
|
375
373
|
default: boolean;
|
|
376
374
|
};
|
|
377
|
-
/**
|
|
375
|
+
/** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
|
|
378
376
|
collapseTagsTooltip: {
|
|
379
377
|
type: BooleanConstructor;
|
|
380
378
|
default: boolean;
|
|
@@ -384,47 +382,47 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
384
382
|
type: StringConstructor;
|
|
385
383
|
default: string;
|
|
386
384
|
};
|
|
387
|
-
/**
|
|
385
|
+
/** 是否默认展开所有节点 */
|
|
388
386
|
defaultExpandAll: {
|
|
389
387
|
type: BooleanConstructor;
|
|
390
388
|
default: boolean;
|
|
391
389
|
};
|
|
392
|
-
/**
|
|
390
|
+
/** 是否在点击节点的时候选中节点 */
|
|
393
391
|
checkOnClickNode: {
|
|
394
392
|
type: BooleanConstructor;
|
|
395
393
|
default: boolean;
|
|
396
394
|
};
|
|
397
|
-
/**
|
|
395
|
+
/** 是否高亮当前选中节点 */
|
|
398
396
|
highlightCurrent: {
|
|
399
397
|
type: BooleanConstructor;
|
|
400
398
|
default: boolean;
|
|
401
399
|
};
|
|
402
|
-
/**
|
|
400
|
+
/** 是否在点击节点的时候展开或者收缩节点, 默认值为 true,如果为 false,则只有点箭头图标的时候才会展开或者收缩节点。 */
|
|
403
401
|
expandOnClickNode: BooleanConstructor;
|
|
404
|
-
/**
|
|
402
|
+
/** 点击折叠节点,需要开启 'expandOnClickNode' */
|
|
405
403
|
collapseOnClickNode: BooleanConstructor;
|
|
406
|
-
/**
|
|
404
|
+
/** v-model 绑定值 */
|
|
407
405
|
modelValue: {
|
|
408
406
|
type: import("vue").PropType<ElSelectorModelValue>;
|
|
409
407
|
default: undefined;
|
|
410
408
|
};
|
|
411
|
-
/**
|
|
409
|
+
/** v-model:label 绑定值 */
|
|
412
410
|
label: import("vue").PropType<string | string[] | null>;
|
|
413
|
-
/**
|
|
411
|
+
/** 宽度 */
|
|
414
412
|
width: {
|
|
415
413
|
type: (NumberConstructor | StringConstructor)[];
|
|
416
414
|
default: string;
|
|
417
415
|
};
|
|
418
|
-
/**
|
|
416
|
+
/** 插槽使用的附加状态 */
|
|
419
417
|
moreDetail: BooleanConstructor;
|
|
420
|
-
/**
|
|
418
|
+
/** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
|
|
421
419
|
lazy: {
|
|
422
420
|
type: BooleanConstructor;
|
|
423
421
|
default: boolean;
|
|
424
422
|
};
|
|
425
|
-
/**
|
|
423
|
+
/** 是否默认选中;不能与懒加载同时使用。 */
|
|
426
424
|
defaultSelected: BooleanConstructor;
|
|
427
|
-
/**
|
|
425
|
+
/** 配置选项 */
|
|
428
426
|
props: {
|
|
429
427
|
type: import("vue").PropType<SelectComponentProps>;
|
|
430
428
|
default: () => {
|
|
@@ -434,12 +432,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
434
432
|
children: string;
|
|
435
433
|
};
|
|
436
434
|
};
|
|
437
|
-
/**
|
|
435
|
+
/** 下拉框数据 */
|
|
438
436
|
data: {
|
|
439
437
|
type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
|
|
440
438
|
default: () => never[];
|
|
441
439
|
};
|
|
442
|
-
/**
|
|
440
|
+
/** 请求数据的函数 */
|
|
443
441
|
requestApi: {
|
|
444
442
|
type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[]>>;
|
|
445
443
|
};
|
|
@@ -521,16 +519,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
521
519
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
522
520
|
__epPropKey: true;
|
|
523
521
|
};
|
|
524
|
-
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
522
|
+
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
523
|
+
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
524
|
+
...args: any[]) => string) | (() => import("element-plus").PopperEffect) | (((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect)) | null)[], unknown, unknown, string, boolean>;
|
|
525
525
|
clearable: BooleanConstructor;
|
|
526
526
|
filterable: BooleanConstructor;
|
|
527
527
|
allowCreate: BooleanConstructor;
|
|
528
528
|
loading: BooleanConstructor;
|
|
529
|
-
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
530
|
-
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
531
|
-
...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
529
|
+
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
532
530
|
popperStyle: import("element-plus/es/utils/vue/props/types.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, undefined, boolean>;
|
|
533
|
-
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
531
|
+
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
534
532
|
remote: BooleanConstructor;
|
|
535
533
|
debounce: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
536
534
|
remoteMethod: {
|
|
@@ -562,9 +560,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
562
560
|
persistent: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
563
561
|
clearIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
564
562
|
fitInputWidth: BooleanConstructor;
|
|
565
|
-
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
566
|
-
/** @description select 组件自定义 loading内容 */
|
|
567
|
-
...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>;
|
|
563
|
+
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
568
564
|
tagType: {
|
|
569
565
|
default: string;
|
|
570
566
|
type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
@@ -599,70 +595,70 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
599
595
|
__epPropKey: true;
|
|
600
596
|
};
|
|
601
597
|
}>, {
|
|
602
|
-
/**
|
|
598
|
+
/** 使选择器的输入框获取焦点。 */
|
|
603
599
|
focus: import("vue").ComputedRef<(() => void) | undefined>;
|
|
604
|
-
/**
|
|
600
|
+
/** 使选择器的输入框失去焦点,并隐藏下拉框。 */
|
|
605
601
|
blur: import("vue").ComputedRef<(() => void) | undefined>;
|
|
606
|
-
/**
|
|
602
|
+
/** 获取当前选中的标签。 */
|
|
607
603
|
selectedLabel: import("vue").ComputedRef<string | string[] | undefined>;
|
|
608
|
-
/**
|
|
604
|
+
/** 过滤所有树节点,过滤后的节点将被隐藏。 */
|
|
609
605
|
filter: import("vue").ComputedRef<((value: FilterValue) => void) | undefined>;
|
|
610
|
-
/**
|
|
606
|
+
/** 为节点设置新数据,只有设置 node-key 时可用。 */
|
|
611
607
|
updateKeyChildren: import("vue").ComputedRef<((key: import("element-plus").TreeKey, data: import("element-plus").TreeData) => void) | undefined>;
|
|
612
|
-
/**
|
|
608
|
+
/** 获取当前选中的节点。 */
|
|
613
609
|
getCheckedNodes: import("vue").ComputedRef<((leafOnly?: boolean, includeHalfChecked?: boolean) => TreeNodeData[]) | undefined>;
|
|
614
|
-
/**
|
|
610
|
+
/** 设置当前选中的节点。 */
|
|
615
611
|
setCheckedNodes: import("vue").ComputedRef<((nodes: import("element-plus/es/components/tree/src/model/node.mjs").default[], leafOnly?: boolean) => void) | undefined>;
|
|
616
|
-
/**
|
|
612
|
+
/** 获取当前选中的节点 Key。 */
|
|
617
613
|
getCheckedKeys: import("vue").ComputedRef<((leafOnly?: boolean) => import("element-plus").TreeKey[]) | undefined>;
|
|
618
|
-
/**
|
|
614
|
+
/** 设置当前选中的节点 Key。 */
|
|
619
615
|
setCheckedKeys: import("vue").ComputedRef<((keys: import("element-plus").TreeKey[], leafOnly?: boolean) => void) | undefined>;
|
|
620
|
-
/**
|
|
616
|
+
/** 设置节点选中状态。 */
|
|
621
617
|
setChecked: import("vue").ComputedRef<((data: import("element-plus").TreeKey | TreeNodeData, checked: boolean, deep?: boolean) => void) | undefined>;
|
|
622
|
-
/**
|
|
618
|
+
/** 获取当前半选中的节点。 */
|
|
623
619
|
getHalfCheckedNodes: import("vue").ComputedRef<(() => TreeNodeData[]) | undefined>;
|
|
624
|
-
/**
|
|
620
|
+
/** 获取当前半选中的节点 Key。 */
|
|
625
621
|
getHalfCheckedKeys: import("vue").ComputedRef<(() => import("element-plus").TreeKey[]) | undefined>;
|
|
626
|
-
/**
|
|
622
|
+
/** 获取当前节点 Key。 */
|
|
627
623
|
getCurrentKey: import("vue").ComputedRef<(() => import("element-plus").TreeKey | null) | undefined>;
|
|
628
|
-
/**
|
|
624
|
+
/** 获取当前节点。 */
|
|
629
625
|
getCurrentNode: import("vue").ComputedRef<(() => TreeNodeData | null) | undefined>;
|
|
630
|
-
/**
|
|
626
|
+
/** 设置当前节点 Key。 */
|
|
631
627
|
setCurrentKey: import("vue").ComputedRef<((key?: import("element-plus").TreeKey | null, shouldAutoExpandParent?: boolean) => void) | undefined>;
|
|
632
|
-
/**
|
|
628
|
+
/** 设置当前节点。 */
|
|
633
629
|
setCurrentNode: import("vue").ComputedRef<((node: import("element-plus/es/components/tree/src/model/node.mjs").default, shouldAutoExpandParent?: boolean) => void) | undefined>;
|
|
634
|
-
/**
|
|
630
|
+
/** 根据数据或 Key 获取节点。 */
|
|
635
631
|
getNode: import("vue").ComputedRef<((data: import("element-plus").TreeKey | TreeNodeData) => import("element-plus/es/components/tree/src/model/node.mjs").default) | undefined>;
|
|
636
|
-
/**
|
|
632
|
+
/** 删除节点。 */
|
|
637
633
|
remove: import("vue").ComputedRef<((data: TreeNodeData | import("element-plus/es/components/tree/src/model/node.mjs").default) => void) | undefined>;
|
|
638
|
-
/**
|
|
634
|
+
/** 追加子节点。 */
|
|
639
635
|
append: import("vue").ComputedRef<((data: TreeNodeData, parentNode: TreeNodeData | import("element-plus").TreeKey | import("element-plus/es/components/tree/src/model/node.mjs").default) => void) | undefined>;
|
|
640
|
-
/**
|
|
636
|
+
/** 在指定节点前插入节点。 */
|
|
641
637
|
insertBefore: import("vue").ComputedRef<((data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node.mjs").default) => void) | undefined>;
|
|
642
|
-
/**
|
|
638
|
+
/** 在指定节点后插入节点。 */
|
|
643
639
|
insertAfter: import("vue").ComputedRef<((data: TreeNodeData, refNode: import("element-plus").TreeKey | TreeNodeData | import("element-plus/es/components/tree/src/model/node.mjs").default) => void) | undefined>;
|
|
644
|
-
/**
|
|
640
|
+
/** Element Plus Tree 实例。 */
|
|
645
641
|
treeRef: import("vue").ComputedRef<TreeInstance | undefined>;
|
|
646
|
-
/**
|
|
642
|
+
/** Element Plus Select 实例。 */
|
|
647
643
|
selectRef: import("vue").ComputedRef<SelectInstance | undefined>;
|
|
648
|
-
/**
|
|
644
|
+
/** 加载状态 */
|
|
649
645
|
loading: import("vue").Ref<boolean, boolean>;
|
|
650
|
-
/**
|
|
646
|
+
/** 刷新 */
|
|
651
647
|
refresh: () => Promise<void>;
|
|
652
|
-
/**
|
|
648
|
+
/** 设置选择 */
|
|
653
649
|
setSelection: (value: Exclude<ElSelectorModelValue, null | undefined>) => void;
|
|
654
|
-
/**
|
|
650
|
+
/** 清除选择 */
|
|
655
651
|
clearSelection: () => void;
|
|
656
652
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
657
|
-
/**
|
|
653
|
+
/** v-model 回调 */
|
|
658
654
|
"update:modelValue": (value: ElSelectorModelValue) => value is string | number | boolean | object | ElSelectorValue[] | null | undefined;
|
|
659
|
-
/**
|
|
655
|
+
/** 选中数据改变 */
|
|
660
656
|
change: (_data: ElSelectorOutput | ElSelectorOutput[] | null, _value?: ElSelectorModelValue) => boolean;
|
|
661
|
-
/**
|
|
657
|
+
/** v-model:label 回调 */
|
|
662
658
|
"update:label": (value: string | string[] | null) => boolean;
|
|
663
|
-
/**
|
|
659
|
+
/** 数据改变 */
|
|
664
660
|
dataChange: (data: ElSelectorOutput[]) => boolean;
|
|
665
|
-
/**
|
|
661
|
+
/** 节点点击 */
|
|
666
662
|
"node-click": (_data: ElSelectorOutput, _node: TreeNode, _instance: ComponentInternalInstance | null) => boolean;
|
|
667
663
|
'check-change': (data: any, checked: boolean, indeterminate: boolean) => any;
|
|
668
664
|
'current-change': (data: any | null, node: import("element-plus/es/components/tree/src/model/node.mjs").default | null) => boolean;
|
|
@@ -693,7 +689,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
693
689
|
};
|
|
694
690
|
/**
|
|
695
691
|
* 懒加载节点的缓存数据,结构与数据相同,用于获取未加载数据的标签
|
|
696
|
-
*
|
|
692
|
+
* The cached data of the lazy node, the structure is the same as the data, used to get the label of the unloaded data
|
|
697
693
|
*/
|
|
698
694
|
cacheData: {
|
|
699
695
|
type: import("vue").PropType<{
|
|
@@ -703,32 +699,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
703
699
|
}[]>;
|
|
704
700
|
default: () => never[];
|
|
705
701
|
};
|
|
706
|
-
/**
|
|
702
|
+
/** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
|
|
707
703
|
disabled: {
|
|
708
704
|
type: BooleanConstructor;
|
|
709
705
|
default: undefined;
|
|
710
706
|
};
|
|
711
|
-
/**
|
|
707
|
+
/** 远程数据加载时显示的文本;默认显示“加载中...”。 */
|
|
712
708
|
loadingText: {
|
|
713
709
|
type: StringConstructor;
|
|
714
710
|
default: string;
|
|
715
711
|
};
|
|
716
|
-
/**
|
|
712
|
+
/** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
|
|
717
713
|
noMatchText: {
|
|
718
714
|
type: StringConstructor;
|
|
719
715
|
default: string;
|
|
720
716
|
};
|
|
721
|
-
/**
|
|
717
|
+
/** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
|
|
722
718
|
noDataText: {
|
|
723
719
|
type: StringConstructor;
|
|
724
720
|
default: string;
|
|
725
721
|
};
|
|
726
|
-
/**
|
|
722
|
+
/** 多选时是否折叠已选标签 */
|
|
727
723
|
collapseTags: {
|
|
728
724
|
type: BooleanConstructor;
|
|
729
725
|
default: boolean;
|
|
730
726
|
};
|
|
731
|
-
/**
|
|
727
|
+
/** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
|
|
732
728
|
collapseTagsTooltip: {
|
|
733
729
|
type: BooleanConstructor;
|
|
734
730
|
default: boolean;
|
|
@@ -738,47 +734,47 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
738
734
|
type: StringConstructor;
|
|
739
735
|
default: string;
|
|
740
736
|
};
|
|
741
|
-
/**
|
|
737
|
+
/** 是否默认展开所有节点 */
|
|
742
738
|
defaultExpandAll: {
|
|
743
739
|
type: BooleanConstructor;
|
|
744
740
|
default: boolean;
|
|
745
741
|
};
|
|
746
|
-
/**
|
|
742
|
+
/** 是否在点击节点的时候选中节点 */
|
|
747
743
|
checkOnClickNode: {
|
|
748
744
|
type: BooleanConstructor;
|
|
749
745
|
default: boolean;
|
|
750
746
|
};
|
|
751
|
-
/**
|
|
747
|
+
/** 是否高亮当前选中节点 */
|
|
752
748
|
highlightCurrent: {
|
|
753
749
|
type: BooleanConstructor;
|
|
754
750
|
default: boolean;
|
|
755
751
|
};
|
|
756
|
-
/**
|
|
752
|
+
/** 是否在点击节点的时候展开或者收缩节点, 默认值为 true,如果为 false,则只有点箭头图标的时候才会展开或者收缩节点。 */
|
|
757
753
|
expandOnClickNode: BooleanConstructor;
|
|
758
|
-
/**
|
|
754
|
+
/** 点击折叠节点,需要开启 'expandOnClickNode' */
|
|
759
755
|
collapseOnClickNode: BooleanConstructor;
|
|
760
|
-
/**
|
|
756
|
+
/** v-model 绑定值 */
|
|
761
757
|
modelValue: {
|
|
762
758
|
type: import("vue").PropType<ElSelectorModelValue>;
|
|
763
759
|
default: undefined;
|
|
764
760
|
};
|
|
765
|
-
/**
|
|
761
|
+
/** v-model:label 绑定值 */
|
|
766
762
|
label: import("vue").PropType<string | string[] | null>;
|
|
767
|
-
/**
|
|
763
|
+
/** 宽度 */
|
|
768
764
|
width: {
|
|
769
765
|
type: (NumberConstructor | StringConstructor)[];
|
|
770
766
|
default: string;
|
|
771
767
|
};
|
|
772
|
-
/**
|
|
768
|
+
/** 插槽使用的附加状态 */
|
|
773
769
|
moreDetail: BooleanConstructor;
|
|
774
|
-
/**
|
|
770
|
+
/** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
|
|
775
771
|
lazy: {
|
|
776
772
|
type: BooleanConstructor;
|
|
777
773
|
default: boolean;
|
|
778
774
|
};
|
|
779
|
-
/**
|
|
775
|
+
/** 是否默认选中;不能与懒加载同时使用。 */
|
|
780
776
|
defaultSelected: BooleanConstructor;
|
|
781
|
-
/**
|
|
777
|
+
/** 配置选项 */
|
|
782
778
|
props: {
|
|
783
779
|
type: import("vue").PropType<SelectComponentProps>;
|
|
784
780
|
default: () => {
|
|
@@ -788,12 +784,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
788
784
|
children: string;
|
|
789
785
|
};
|
|
790
786
|
};
|
|
791
|
-
/**
|
|
787
|
+
/** 下拉框数据 */
|
|
792
788
|
data: {
|
|
793
789
|
type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
|
|
794
790
|
default: () => never[];
|
|
795
791
|
};
|
|
796
|
-
/**
|
|
792
|
+
/** 请求数据的函数 */
|
|
797
793
|
requestApi: {
|
|
798
794
|
type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[]>>;
|
|
799
795
|
};
|
|
@@ -875,16 +871,16 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
875
871
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
876
872
|
__epPropKey: true;
|
|
877
873
|
};
|
|
878
|
-
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
874
|
+
effect: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
875
|
+
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
876
|
+
...args: any[]) => string) | (() => import("element-plus").PopperEffect) | (((new (...args: any[]) => string) | (() => import("element-plus").PopperEffect)) | null)[], unknown, unknown, string, boolean>;
|
|
879
877
|
clearable: BooleanConstructor;
|
|
880
878
|
filterable: BooleanConstructor;
|
|
881
879
|
allowCreate: BooleanConstructor;
|
|
882
880
|
loading: BooleanConstructor;
|
|
883
|
-
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
884
|
-
/** 每个树节点用来作为唯一标识的属性,整棵树应该是唯一的 */
|
|
885
|
-
...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
881
|
+
popperClass: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue) | (((new (...args: any[]) => string | false | Record<string, any> | import("element-plus/es/utils/typescript.mjs").ClassValue[]) | (() => import("element-plus/es/utils/typescript.mjs").ClassValue)) | null)[], unknown, unknown, string, boolean>;
|
|
886
882
|
popperStyle: import("element-plus/es/utils/vue/props/types.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, undefined, boolean>;
|
|
887
|
-
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
883
|
+
popperOptions: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
888
884
|
remote: BooleanConstructor;
|
|
889
885
|
debounce: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<NumberConstructor, unknown, unknown, number, boolean>;
|
|
890
886
|
remoteMethod: {
|
|
@@ -916,9 +912,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
916
912
|
persistent: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, boolean, boolean>;
|
|
917
913
|
clearIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
918
914
|
fitInputWidth: BooleanConstructor;
|
|
919
|
-
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<(new (
|
|
920
|
-
/** @description select 组件自定义 loading内容 */
|
|
921
|
-
...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>;
|
|
915
|
+
suffixIcon: import("element-plus/es/utils/vue/props/types.mjs").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>;
|
|
922
916
|
tagType: {
|
|
923
917
|
default: string;
|
|
924
918
|
type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "info" | "primary" | "success" | "warning" | "danger", unknown>>;
|
|
@@ -1006,31 +1000,31 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1006
1000
|
draggable: boolean;
|
|
1007
1001
|
lazy: boolean;
|
|
1008
1002
|
filterable: boolean;
|
|
1009
|
-
defaultExpandAll: boolean;
|
|
1010
|
-
indent: number;
|
|
1011
|
-
loadingText: string;
|
|
1012
1003
|
valueOnClear: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<(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>;
|
|
1004
|
+
allowCreate: boolean;
|
|
1013
1005
|
automaticDropdown: boolean;
|
|
1014
|
-
moreDetail: boolean;
|
|
1015
|
-
noMatchText: string;
|
|
1016
|
-
noDataText: string;
|
|
1017
1006
|
collapseTags: boolean;
|
|
1018
1007
|
collapseTagsTooltip: boolean;
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1008
|
+
tagTooltip: import("element-plus").TagTooltipProps;
|
|
1009
|
+
maxCollapseTags: number;
|
|
1010
|
+
defaultFirstOption: boolean;
|
|
1011
|
+
loadingText: string;
|
|
1023
1012
|
multiple: boolean;
|
|
1024
1013
|
multipleLimit: number;
|
|
1025
|
-
|
|
1014
|
+
noDataText: string;
|
|
1015
|
+
noMatchText: string;
|
|
1026
1016
|
reserveKeyword: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1017
|
+
remote: boolean;
|
|
1018
|
+
debounce: number;
|
|
1027
1019
|
valueKey: string;
|
|
1028
|
-
|
|
1029
|
-
maxCollapseTags: number;
|
|
1030
|
-
fitInputWidth: boolean;
|
|
1020
|
+
remoteShowSuffix: boolean;
|
|
1031
1021
|
tagType: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
|
|
1032
1022
|
tagEffect: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>;
|
|
1033
|
-
|
|
1023
|
+
fitInputWidth: boolean;
|
|
1024
|
+
defaultExpandAll: boolean;
|
|
1025
|
+
indent: number;
|
|
1026
|
+
moreDetail: boolean;
|
|
1027
|
+
defaultSelected: boolean;
|
|
1034
1028
|
nodeKey: string;
|
|
1035
1029
|
checkOnClickNode: boolean;
|
|
1036
1030
|
highlightCurrent: boolean;
|