fast-element-plus 2.0.18 → 2.0.20

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.
Files changed (130) hide show
  1. package/CHANGELOG.md +52 -19
  2. package/CONTRIBUTING.md +3 -4
  3. package/README.md +80 -27
  4. package/README.zh.md +66 -27
  5. package/dist/component.d.ts +123 -123
  6. package/dist/components/avatar/src/avatar.d.ts +26 -26
  7. package/dist/components/avatar/src/avatar.mjs +10 -10
  8. package/dist/components/avatar/src/avatar.mjs.map +1 -1
  9. package/dist/components/button/src/button.d.ts +32 -27
  10. package/dist/components/button/src/button.mjs +57 -36
  11. package/dist/components/button/src/button.mjs.map +1 -1
  12. package/dist/components/carNumber/src/carNumber.d.ts +8 -8
  13. package/dist/components/carNumber/src/carNumber.mjs +5 -5
  14. package/dist/components/carNumber/src/carNumber.mjs.map +1 -1
  15. package/dist/components/contextMenu/src/contextMenu.d.ts +7 -7
  16. package/dist/components/contextMenu/src/contextMenu.mjs +7 -7
  17. package/dist/components/contextMenu/src/contextMenu.mjs.map +1 -1
  18. package/dist/components/contextMenu/src/contextMenu.type.d.ts +7 -7
  19. package/dist/components/dialog/src/dialog.d.ts +76 -76
  20. package/dist/components/dialog/src/dialog.mjs +34 -34
  21. package/dist/components/dialog/src/dialog.mjs.map +1 -1
  22. package/dist/components/drawer/src/drawer.d.ts +59 -59
  23. package/dist/components/drawer/src/drawer.mjs +27 -27
  24. package/dist/components/drawer/src/drawer.mjs.map +1 -1
  25. package/dist/components/form/src/form.d.ts +30 -30
  26. package/dist/components/form/src/form.mjs +16 -16
  27. package/dist/components/form/src/form.mjs.map +1 -1
  28. package/dist/components/form/src/formItem.d.ts +30 -30
  29. package/dist/components/form/src/formItem.mjs +13 -13
  30. package/dist/components/form/src/formItem.mjs.map +1 -1
  31. package/dist/components/formItemTip/src/formItemTip.d.ts +9 -9
  32. package/dist/components/formItemTip/src/formItemTip.mjs +3 -3
  33. package/dist/components/formItemTip/src/formItemTip.mjs.map +1 -1
  34. package/dist/components/icon/src/icon.d.ts +10 -10
  35. package/dist/components/icon/src/icon.mjs +4 -4
  36. package/dist/components/icon/src/icon.mjs.map +1 -1
  37. package/dist/components/iconSelector/src/iconSelector.d.ts +6 -6
  38. package/dist/components/iconSelector/src/iconSelector.mjs +4 -4
  39. package/dist/components/iconSelector/src/iconSelector.mjs.map +1 -1
  40. package/dist/components/image/src/image.d.ts +36 -36
  41. package/dist/components/image/src/image.mjs +11 -11
  42. package/dist/components/image/src/image.mjs.map +1 -1
  43. package/dist/components/inputDialogPage/src/inputDialogPage.d.ts +37 -37
  44. package/dist/components/inputDialogPage/src/inputDialogPage.mjs +16 -16
  45. package/dist/components/inputDialogPage/src/inputDialogPage.mjs.map +1 -1
  46. package/dist/components/layoutGrid/src/layoutGrid.d.ts +12 -12
  47. package/dist/components/layoutGrid/src/layoutGrid.mjs +6 -6
  48. package/dist/components/layoutGrid/src/layoutGrid.mjs.map +1 -1
  49. package/dist/components/layoutGrid/src/layoutGridItem.d.ts +19 -19
  50. package/dist/components/layoutGrid/src/layoutGridItem.mjs +9 -9
  51. package/dist/components/layoutGrid/src/layoutGridItem.mjs.map +1 -1
  52. package/dist/components/select/src/select.d.ts +89 -89
  53. package/dist/components/select/src/select.mjs +30 -30
  54. package/dist/components/select/src/select.mjs.map +1 -1
  55. package/dist/components/select/src/selectOption.d.ts +13 -13
  56. package/dist/components/select/src/selectOption.mjs +6 -6
  57. package/dist/components/select/src/selectOption.mjs.map +1 -1
  58. package/dist/components/selectPage/src/selectPage.d.ts +76 -76
  59. package/dist/components/selectPage/src/selectPage.mjs +50 -36
  60. package/dist/components/selectPage/src/selectPage.mjs.map +1 -1
  61. package/dist/components/selectV2/index.mjs +2 -1
  62. package/dist/components/selectV2/index.mjs.map +1 -1
  63. package/dist/components/selectV2/src/selectV2.d.ts +161 -852
  64. package/dist/components/selectV2/src/selectV2.mjs +32 -340
  65. package/dist/components/selectV2/src/selectV2.mjs.map +1 -1
  66. package/dist/components/table/index.mjs +3 -2
  67. package/dist/components/table/index.mjs.map +1 -1
  68. package/dist/components/table/src/page.type.d.ts +1 -1
  69. package/dist/components/table/src/table.d.ts +211 -744
  70. package/dist/components/table/src/table.mjs +111 -307
  71. package/dist/components/table/src/table.mjs.map +1 -1
  72. package/dist/components/table/src/table.state.d.ts +3 -3
  73. package/dist/components/table/src/table.type.d.ts +1 -9
  74. package/dist/components/table/src/table.type.mjs.map +1 -1
  75. package/dist/components/table/src/tableColumn.d.ts +102 -399
  76. package/dist/components/table/src/tableColumn.mjs +28 -185
  77. package/dist/components/table/src/tableColumn.mjs.map +1 -1
  78. package/dist/components/table/src/tableColumnSettingDialog.d.ts +4 -4
  79. package/dist/components/table/src/tableColumnSettingDialog.mjs +3 -3
  80. package/dist/components/table/src/tableColumnSettingDialog.mjs.map +1 -1
  81. package/dist/components/table/src/tablePagination.d.ts +4 -4
  82. package/dist/components/table/src/tablePagination.mjs +3 -3
  83. package/dist/components/table/src/tablePagination.mjs.map +1 -1
  84. package/dist/components/table/src/tableSearchForm.d.ts +12 -12
  85. package/dist/components/table/src/tableSearchForm.mjs +6 -6
  86. package/dist/components/table/src/tableSearchForm.mjs.map +1 -1
  87. package/dist/components/table/src/tableSearchFormItem.d.ts +4 -4
  88. package/dist/components/table/src/tableSearchFormItem.mjs +2 -2
  89. package/dist/components/table/src/tableSearchFormItem.mjs.map +1 -1
  90. package/dist/components/table/src/useTable.d.ts +1 -0
  91. package/dist/components/table/src/useTable.mjs +109 -65
  92. package/dist/components/table/src/useTable.mjs.map +1 -1
  93. package/dist/components/table/utils/table.d.ts +4 -4
  94. package/dist/components/table/utils/table.mjs +4 -4
  95. package/dist/components/table/utils/table.mjs.map +1 -1
  96. package/dist/components/tree/src/tree.d.ts +87 -87
  97. package/dist/components/tree/src/tree.mjs +48 -48
  98. package/dist/components/tree/src/tree.mjs.map +1 -1
  99. package/dist/components/treeSelect/src/treeSelect.d.ts +139 -133
  100. package/dist/components/treeSelect/src/treeSelect.mjs +57 -57
  101. package/dist/components/treeSelect/src/treeSelect.mjs.map +1 -1
  102. package/dist/components/upload/src/upload.d.ts +36 -36
  103. package/dist/components/upload/src/upload.mjs +19 -19
  104. package/dist/components/upload/src/upload.mjs.map +1 -1
  105. package/dist/components/uploadImage/src/uploadImage.d.ts +47 -47
  106. package/dist/components/uploadImage/src/uploadImage.mjs +24 -28
  107. package/dist/components/uploadImage/src/uploadImage.mjs.map +1 -1
  108. package/dist/components/uploadImages/src/uploadImages.d.ts +41 -41
  109. package/dist/components/uploadImages/src/uploadImages.mjs +21 -21
  110. package/dist/components/uploadImages/src/uploadImages.mjs.map +1 -1
  111. package/dist/directives/click-debounce/index.mjs +19 -11
  112. package/dist/directives/click-debounce/index.mjs.map +1 -1
  113. package/dist/directives/click-throttle/index.d.ts +4 -2
  114. package/dist/directives/click-throttle/index.mjs +21 -11
  115. package/dist/directives/click-throttle/index.mjs.map +1 -1
  116. package/dist/index.css +1 -1
  117. package/dist/index.css.map +1 -1
  118. package/dist/index.global.min.js +3 -3
  119. package/dist/index.global.min.js.map +1 -1
  120. package/dist/index.mjs +3 -3
  121. package/dist/internal/props.d.ts +685 -0
  122. package/dist/internal/props.mjs +683 -0
  123. package/dist/internal/props.mjs.map +1 -0
  124. package/dist/utils/loading-tasks.d.ts +5 -0
  125. package/dist/utils/loading-tasks.mjs +32 -0
  126. package/dist/utils/loading-tasks.mjs.map +1 -0
  127. package/dist/version.d.ts +1 -1
  128. package/dist/version.mjs +1 -1
  129. package/dist/version.mjs.map +1 -1
  130. package/package.json +5 -10
@@ -1,321 +1,8 @@
1
- import type { SelectV2Props as ElementPlusSelectV2Props, Options, Placement, ScrollbarDirection } from "element-plus";
2
- import type { Component, PropType } from "vue";
1
+ import type { ScrollbarDirection } from "element-plus";
3
2
  import type { ElSelectorModelValue, ElSelectorOutput, ElSelectorValue } from "../../select/src/select.type";
4
3
  import type { PagedInput, PagedResult } from "../../table";
5
- /** 传递给底层 Element Plus 虚拟化选择器的扩展 Props。 */
6
- export interface Props {
7
- label?: string;
8
- value?: string;
9
- disabled?: string;
10
- options?: string;
11
- }
12
- /** FaSelectV2 支持的业务选择器 Props 定义。 */
13
- export declare const SelectV2Props: {
14
- ariaLabel: StringConstructor;
15
- emptyValues: ArrayConstructor;
16
- valueOnClear: import("element-plus/es/utils/vue/props/types.mjs").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>;
17
- /**
18
- * @description whether creating new items is allowed. To use this, `filterable` must be true
19
- */
20
- allowCreate: BooleanConstructor;
21
- /**
22
- * @description autocomplete of select input
23
- */
24
- autocomplete: {
25
- type: PropType<"none" | "both" | "inline" | "list">;
26
- default: string;
27
- };
28
- /**
29
- * @description for non-filterable Select, this prop decides if the option menu pops up when the input is focused
30
- */
31
- automaticDropdown: BooleanConstructor;
32
- /**
33
- * @description whether select can be cleared
34
- */
35
- clearable: BooleanConstructor;
36
- /**
37
- * @description custom clear icon
38
- */
39
- clearIcon: {
40
- type: PropType<string | Component>;
41
- default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
42
- };
43
- /**
44
- * @description tooltip theme, built-in theme: `dark` / `light`
45
- */
46
- effect: {
47
- type: PropType<string>;
48
- default: string;
49
- };
50
- /**
51
- * @description whether to collapse tags to a text when multiple selecting
52
- */
53
- collapseTags: BooleanConstructor;
54
- /**
55
- * @description whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true
56
- */
57
- collapseTagsTooltip: BooleanConstructor;
58
- /** @description collapse-tags tooltip configuration */
59
- tagTooltip: {
60
- type: PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
61
- default: () => {};
62
- };
63
- /**
64
- * @description The max tags number to be shown. To use this, `collapse-tags` must be true
65
- */
66
- maxCollapseTags: {
67
- type: NumberConstructor;
68
- default: number;
69
- };
70
- /**
71
- * @description
72
- */
73
- defaultFirstOption: BooleanConstructor;
74
- /**
75
- * @description is disabled
76
- */
77
- disabled: BooleanConstructor;
78
- /**
79
- * @description
80
- */
81
- estimatedOptionHeight: {
82
- type: NumberConstructor;
83
- default: undefined;
84
- };
85
- /**
86
- * @description is filterable
87
- */
88
- filterable: BooleanConstructor;
89
- /**
90
- * @description
91
- */
92
- filterMethod: PropType<ElementPlusSelectV2Props["filterMethod"]>;
93
- /**
94
- * @description The height of the dropdown panel, 34px for each item
95
- */
96
- height: {
97
- type: NumberConstructor;
98
- default: number;
99
- };
100
- /**
101
- * @description The height of the dropdown item
102
- */
103
- itemHeight: {
104
- type: NumberConstructor;
105
- default: number;
106
- };
107
- /**
108
- * @description
109
- */
110
- id: StringConstructor;
111
- /**
112
- * @description whether Select is loading data from server
113
- */
114
- loading: BooleanConstructor;
115
- /**
116
- * @description displayed text while loading data from server, default is 'Loading'
117
- */
118
- loadingText: StringConstructor;
119
- /**
120
- * @description biding value
121
- */
122
- modelValue: {
123
- type: PropType<ElSelectorModelValue>;
124
- };
125
- /**
126
- * @description is multiple
127
- */
128
- multiple: BooleanConstructor;
129
- /**
130
- * @description maximum number of options user can select when multiple is true. No limit when set to 0
131
- */
132
- multipleLimit: {
133
- type: NumberConstructor;
134
- default: number;
135
- };
136
- /**
137
- * @description the name attribute of select input
138
- */
139
- name: StringConstructor;
140
- /**
141
- * @description displayed text when there is no options, you can also use slot empty, the default is 'No Data'
142
- */
143
- noDataText: StringConstructor;
144
- /**
145
- * @description displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data'
146
- */
147
- noMatchText: StringConstructor;
148
- /**
149
- * @description function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true
150
- */
151
- remoteMethod: PropType<ElementPlusSelectV2Props["remoteMethod"]>;
152
- /**
153
- * @description whether reserve the keyword after select filtered option.
154
- */
155
- reserveKeyword: {
156
- type: BooleanConstructor;
157
- default: boolean;
158
- };
159
- /**
160
- * @description data of the options, the key of `value` and `label` can be customize by `props`
161
- */
162
- options: {
163
- type: PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
164
- };
165
- /**
166
- * @description placeholder, the default is 'Please select'
167
- */
168
- placeholder: {
169
- type: StringConstructor;
170
- };
171
- /**
172
- * @description whether select dropdown is teleported to the body
173
- */
174
- teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
175
- /**
176
- * @description when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed
177
- */
178
- persistent: {
179
- type: BooleanConstructor;
180
- default: boolean;
181
- };
182
- /**
183
- * @description custom class name for Select's dropdown
184
- */
185
- popperClass: {
186
- type: StringConstructor;
187
- default: string;
188
- };
189
- /** @description custom style for Select's dropdown */
190
- 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>;
191
- /**
192
- * @description [popper.js](https://popper.js.org/docs/v2/) parameters
193
- */
194
- popperOptions: {
195
- type: PropType<Partial<Options>>;
196
- default: () => {};
197
- };
198
- /**
199
- * @description whether search data from server
200
- */
201
- remote: BooleanConstructor;
202
- /** @description debounce delay during remote search, in milliseconds */
203
- debounce: {
204
- type: NumberConstructor;
205
- default: number;
206
- };
207
- /**
208
- * @description size of component
209
- */
210
- size: {
211
- readonly type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
212
- readonly required: false;
213
- readonly validator: ((val: unknown) => boolean) | undefined;
214
- __epPropKey: true;
215
- };
216
- /**
217
- * @description configuration options, see the following table
218
- */
219
- props: {
220
- type: PropType<Props>;
221
- default: () => {
222
- label: string;
223
- value: string;
224
- disabled: string;
225
- options: string;
226
- };
227
- };
228
- /**
229
- * @description unique identity key name for value, required when value is an object
230
- */
231
- valueKey: {
232
- type: StringConstructor;
233
- default: string;
234
- };
235
- /**
236
- * @description Controls whether the scrollbar is always displayed
237
- */
238
- scrollbarAlwaysOn: BooleanConstructor;
239
- /**
240
- * @description whether to trigger form validation
241
- */
242
- validateEvent: {
243
- type: BooleanConstructor;
244
- default: boolean;
245
- };
246
- /**
247
- * @description offset of the dropdown
248
- */
249
- offset: {
250
- type: NumberConstructor;
251
- default: number;
252
- };
253
- /** @description whether to show the suffix icon during remote search */
254
- remoteShowSuffix: BooleanConstructor;
255
- /**
256
- * @description Determines whether the arrow is displayed
257
- */
258
- showArrow: {
259
- type: BooleanConstructor;
260
- default: boolean;
261
- };
262
- /**
263
- * @description position of dropdown
264
- */
265
- placement: {
266
- type: PropType<Placement>;
267
- default: string;
268
- };
269
- /**
270
- * @description list of possible positions for dropdown
271
- */
272
- fallbackPlacements: {
273
- type: PropType<Placement[]>;
274
- default: string[];
275
- };
276
- /**
277
- * @description tag type
278
- */
279
- tagType: {
280
- default: string;
281
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
282
- required: false;
283
- validator: ((val: unknown) => boolean) | undefined;
284
- __epPropKey: true;
285
- };
286
- /**
287
- * @description tag effect
288
- */
289
- tagEffect: {
290
- default: string;
291
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
292
- required: false;
293
- validator: ((val: unknown) => boolean) | undefined;
294
- __epPropKey: true;
295
- };
296
- /**
297
- * @description tabindex for input
298
- */
299
- tabindex: {
300
- type: (NumberConstructor | StringConstructor)[];
301
- default: number;
302
- };
303
- /**
304
- * @description which element the select dropdown appends to
305
- */
306
- appendTo: StringConstructor;
307
- /** @description whether the dropdown width follows the input width, or a fixed width */
308
- fitInputWidth: {
309
- type: (NumberConstructor | BooleanConstructor)[];
310
- default: boolean;
311
- validator: (value: boolean | number) => boolean;
312
- };
313
- /** @description select suffix icon */
314
- suffixIcon: {
315
- type: PropType<string | Component>;
316
- default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
317
- };
318
- };
4
+ export { SelectV2Props } from "../../../internal/props";
5
+ export type { Props } from "../../../internal/props";
319
6
  /** 底层虚拟化选择器的运行时 Emits 定义。 */
320
7
  export declare const selectV2Emits: {
321
8
  "update:modelValue": (_value: ElSelectorModelValue) => boolean;
@@ -327,249 +14,159 @@ export declare const selectV2Emits: {
327
14
  blur: (_event: FocusEvent) => boolean;
328
15
  clear: () => boolean;
329
16
  };
330
- /** FaSelectV2 的运行时 Props 定义。 */
17
+ /** FaSelectV2 的运行时 Props 定义 */
331
18
  export declare const faSelectV2Props: {
332
- /** @description whether Select is disabled 重载使其支持 ElForm*/
19
+ /** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
333
20
  disabled: {
334
21
  type: BooleanConstructor;
335
22
  default: undefined;
336
23
  };
337
- /** @description displayed text while loading data from server, default is 'Loading' */
24
+ /** 远程数据加载时显示的文本;默认显示“加载中...”。 */
338
25
  loadingText: {
339
26
  type: StringConstructor;
340
27
  default: string;
341
28
  };
342
- /** @description displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data' */
29
+ /** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
343
30
  noMatchText: {
344
31
  type: StringConstructor;
345
32
  default: string;
346
33
  };
347
- /** @description displayed text when there is no options, you can also use slot `empty`, default is 'No data' */
34
+ /** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
348
35
  noDataText: {
349
36
  type: StringConstructor;
350
37
  default: string;
351
38
  };
352
- /** @description whether to collapse tags to a text when multiple selecting */
39
+ /** 多选时是否折叠已选标签 */
353
40
  collapseTags: {
354
41
  type: BooleanConstructor;
355
42
  default: boolean;
356
43
  };
357
- /** @description whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true */
44
+ /** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
358
45
  collapseTagsTooltip: {
359
46
  type: BooleanConstructor;
360
47
  default: boolean;
361
48
  };
362
- /** @description v-model绑定值 */
49
+ /** v-model 绑定值 */
363
50
  modelValue: {
364
- type: PropType<ElSelectorModelValue>;
51
+ type: import("vue").PropType<ElSelectorModelValue>;
365
52
  default: undefined;
366
53
  };
367
- /** @description v-model:label绑定值 */
368
- label: PropType<string | string[] | null>;
369
- /** @description 宽度 */
54
+ /** v-model:label 绑定值 */
55
+ label: import("vue").PropType<string | string[] | null>;
56
+ /** 宽度 */
370
57
  width: {
371
58
  type: (NumberConstructor | StringConstructor)[];
372
59
  default: string;
373
60
  };
374
- /** @description 更多细节,只有使用slot的时候有用 */
61
+ /** 插槽使用的附加状态 */
375
62
  moreDetail: BooleanConstructor;
376
- /** @description 懒加载远程数据,默认 true。当下拉框第一次显示的时候才会加载远程数据*/
63
+ /** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
377
64
  lazy: {
378
65
  type: BooleanConstructor;
379
66
  default: boolean;
380
67
  };
381
- /** @description 默认选中。不能和懒加载一起使用 */
68
+ /** 是否默认选中;不能与懒加载同时使用。 */
382
69
  defaultSelected: BooleanConstructor;
383
- /** @description 下拉框数据 */
70
+ /** 下拉框数据 */
384
71
  data: {
385
- type: PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
72
+ type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
386
73
  default: () => never[];
387
74
  };
388
75
  /** 分页返回 */
389
76
  pageResult: BooleanConstructor;
390
- /** @description 请求api */
77
+ /** 请求数据的函数 */
391
78
  requestApi: {
392
- type: PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
79
+ type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
393
80
  };
394
81
  /** 初始化参数 */
395
- initParam: PropType<string | number | PagedInput>;
82
+ initParam: import("vue").PropType<string | number | PagedInput>;
396
83
  ariaLabel: StringConstructor;
397
84
  emptyValues: ArrayConstructor;
398
85
  valueOnClear: import("element-plus/es/utils/vue/props/types.mjs").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>;
399
- /**
400
- * @description whether creating new items is allowed. To use this, `filterable` must be true
401
- */
402
86
  allowCreate: BooleanConstructor;
403
- /**
404
- * @description autocomplete of select input
405
- */
406
87
  autocomplete: {
407
- type: PropType<"none" | "both" | "inline" | "list">;
88
+ type: import("vue").PropType<"none" | "both" | "inline" | "list">;
408
89
  default: string;
409
90
  };
410
- /**
411
- * @description for non-filterable Select, this prop decides if the option menu pops up when the input is focused
412
- */
413
91
  automaticDropdown: BooleanConstructor;
414
- /**
415
- * @description whether select can be cleared
416
- */
417
92
  clearable: BooleanConstructor;
418
- /**
419
- * @description custom clear icon
420
- */
421
93
  clearIcon: {
422
- type: PropType<string | Component>;
94
+ type: import("vue").PropType<string | import("vue").Component>;
423
95
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
424
96
  };
425
- /**
426
- * @description tooltip theme, built-in theme: `dark` / `light`
427
- */
428
97
  effect: {
429
- type: PropType<string>;
98
+ type: import("vue").PropType<string>;
430
99
  default: string;
431
100
  };
432
- /** @description collapse-tags tooltip configuration */
433
101
  tagTooltip: {
434
- type: PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
435
- default: () => {};
102
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
103
+ default: () => NonNullable<import("element-plus").SelectV2Props["tagTooltip"]>;
436
104
  };
437
- /**
438
- * @description The max tags number to be shown. To use this, `collapse-tags` must be true
439
- */
440
105
  maxCollapseTags: {
441
106
  type: NumberConstructor;
442
107
  default: number;
443
108
  };
444
- /**
445
- * @description
446
- */
447
109
  defaultFirstOption: BooleanConstructor;
448
- /**
449
- * @description
450
- */
451
110
  estimatedOptionHeight: {
452
111
  type: NumberConstructor;
453
112
  default: undefined;
454
113
  };
455
- /**
456
- * @description is filterable
457
- */
458
114
  filterable: BooleanConstructor;
459
- /**
460
- * @description
461
- */
462
- filterMethod: PropType<ElementPlusSelectV2Props["filterMethod"]>;
463
- /**
464
- * @description The height of the dropdown panel, 34px for each item
465
- */
115
+ filterMethod: import("vue").PropType<import("element-plus").SelectV2Props["filterMethod"]>;
466
116
  height: {
467
117
  type: NumberConstructor;
468
118
  default: number;
469
119
  };
470
- /**
471
- * @description The height of the dropdown item
472
- */
473
120
  itemHeight: {
474
121
  type: NumberConstructor;
475
122
  default: number;
476
123
  };
477
- /**
478
- * @description
479
- */
480
124
  id: StringConstructor;
481
- /**
482
- * @description whether Select is loading data from server
483
- */
484
125
  loading: BooleanConstructor;
485
- /**
486
- * @description is multiple
487
- */
488
126
  multiple: BooleanConstructor;
489
- /**
490
- * @description maximum number of options user can select when multiple is true. No limit when set to 0
491
- */
492
127
  multipleLimit: {
493
128
  type: NumberConstructor;
494
129
  default: number;
495
130
  };
496
- /**
497
- * @description the name attribute of select input
498
- */
499
131
  name: StringConstructor;
500
- /**
501
- * @description function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true
502
- */
503
- remoteMethod: PropType<ElementPlusSelectV2Props["remoteMethod"]>;
504
- /**
505
- * @description whether reserve the keyword after select filtered option.
506
- */
132
+ remoteMethod: import("vue").PropType<import("element-plus").SelectV2Props["remoteMethod"]>;
507
133
  reserveKeyword: {
508
134
  type: BooleanConstructor;
509
135
  default: boolean;
510
136
  };
511
- /**
512
- * @description data of the options, the key of `value` and `label` can be customize by `props`
513
- */
514
137
  options: {
515
- type: PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
138
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
516
139
  };
517
- /**
518
- * @description placeholder, the default is 'Please select'
519
- */
520
140
  placeholder: {
521
141
  type: StringConstructor;
522
142
  };
523
- /**
524
- * @description whether select dropdown is teleported to the body
525
- */
526
143
  teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
527
- /**
528
- * @description when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed
529
- */
530
144
  persistent: {
531
145
  type: BooleanConstructor;
532
146
  default: boolean;
533
147
  };
534
- /**
535
- * @description custom class name for Select's dropdown
536
- */
537
148
  popperClass: {
538
149
  type: StringConstructor;
539
150
  default: string;
540
151
  };
541
- /** @description custom style for Select's dropdown */
542
152
  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>;
543
- /**
544
- * @description [popper.js](https://popper.js.org/docs/v2/) parameters
545
- */
546
153
  popperOptions: {
547
- type: PropType<Partial<Options>>;
548
- default: () => {};
154
+ type: import("vue").PropType<Partial<import("element-plus").Options>>;
155
+ default: () => Partial<import("element-plus").Options>;
549
156
  };
550
- /**
551
- * @description whether search data from server
552
- */
553
157
  remote: BooleanConstructor;
554
- /** @description debounce delay during remote search, in milliseconds */
555
158
  debounce: {
556
159
  type: NumberConstructor;
557
160
  default: number;
558
161
  };
559
- /**
560
- * @description size of component
561
- */
562
162
  size: {
563
- readonly type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
163
+ readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
564
164
  readonly required: false;
565
165
  readonly validator: ((val: unknown) => boolean) | undefined;
566
166
  __epPropKey: true;
567
167
  };
568
- /**
569
- * @description configuration options, see the following table
570
- */
571
168
  props: {
572
- type: PropType<Props>;
169
+ type: import("vue").PropType<import("./selectV2").Props>;
573
170
  default: () => {
574
171
  label: string;
575
172
  value: string;
@@ -577,106 +174,70 @@ export declare const faSelectV2Props: {
577
174
  options: string;
578
175
  };
579
176
  };
580
- /**
581
- * @description unique identity key name for value, required when value is an object
582
- */
583
177
  valueKey: {
584
178
  type: StringConstructor;
585
179
  default: string;
586
180
  };
587
- /**
588
- * @description Controls whether the scrollbar is always displayed
589
- */
590
181
  scrollbarAlwaysOn: BooleanConstructor;
591
- /**
592
- * @description whether to trigger form validation
593
- */
594
182
  validateEvent: {
595
183
  type: BooleanConstructor;
596
184
  default: boolean;
597
185
  };
598
- /**
599
- * @description offset of the dropdown
600
- */
601
186
  offset: {
602
187
  type: NumberConstructor;
603
188
  default: number;
604
189
  };
605
- /** @description whether to show the suffix icon during remote search */
606
190
  remoteShowSuffix: BooleanConstructor;
607
- /**
608
- * @description Determines whether the arrow is displayed
609
- */
610
191
  showArrow: {
611
192
  type: BooleanConstructor;
612
193
  default: boolean;
613
194
  };
614
- /**
615
- * @description position of dropdown
616
- */
617
195
  placement: {
618
- type: PropType<Placement>;
196
+ type: import("vue").PropType<import("element-plus").Placement>;
619
197
  default: string;
620
198
  };
621
- /**
622
- * @description list of possible positions for dropdown
623
- */
624
199
  fallbackPlacements: {
625
- type: PropType<Placement[]>;
200
+ type: import("vue").PropType<import("element-plus").Placement[]>;
626
201
  default: string[];
627
202
  };
628
- /**
629
- * @description tag type
630
- */
631
203
  tagType: {
632
204
  default: string;
633
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
205
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
634
206
  required: false;
635
207
  validator: ((val: unknown) => boolean) | undefined;
636
208
  __epPropKey: true;
637
209
  };
638
- /**
639
- * @description tag effect
640
- */
641
210
  tagEffect: {
642
211
  default: string;
643
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
212
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
644
213
  required: false;
645
214
  validator: ((val: unknown) => boolean) | undefined;
646
215
  __epPropKey: true;
647
216
  };
648
- /**
649
- * @description tabindex for input
650
- */
651
217
  tabindex: {
652
218
  type: (NumberConstructor | StringConstructor)[];
653
219
  default: number;
654
220
  };
655
- /**
656
- * @description which element the select dropdown appends to
657
- */
658
221
  appendTo: StringConstructor;
659
- /** @description whether the dropdown width follows the input width, or a fixed width */
660
222
  fitInputWidth: {
661
223
  type: (NumberConstructor | BooleanConstructor)[];
662
224
  default: boolean;
663
225
  validator: (value: boolean | number) => boolean;
664
226
  };
665
- /** @description select suffix icon */
666
227
  suffixIcon: {
667
- type: PropType<string | Component>;
228
+ type: import("vue").PropType<string | import("vue").Component>;
668
229
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
669
230
  };
670
231
  };
671
- /** FaSelectV2 的运行时 Emits 定义。 */
232
+ /** FaSelectV2 的运行时 Emits 定义 */
672
233
  export declare const faSelectV2Emits: {
673
- /** @description v-model 回调 */
234
+ /** v-model 回调 */
674
235
  "update:modelValue": (value: ElSelectorModelValue) => value is string | number | boolean | object | ElSelectorValue[] | null | undefined;
675
- /** @description 选中数据改变 */
236
+ /** 选中数据改变 */
676
237
  change: (_data: ElSelectorOutput | ElSelectorOutput[] | null, _value?: ElSelectorModelValue) => boolean;
677
- /** @description v-model:label 回调 */
238
+ /** v-model:label 回调 */
678
239
  "update:label": (value: string | string[] | null) => boolean;
679
- /** @description 数据改变 */
240
+ /** 数据改变 */
680
241
  dataChange: (data: ElSelectorOutput[]) => boolean;
681
242
  "end-reached": (_direction: ScrollbarDirection) => boolean;
682
243
  "remove-tag": (_value: ElSelectorValue) => boolean;
@@ -685,274 +246,184 @@ export declare const faSelectV2Emits: {
685
246
  blur: (_event: FocusEvent) => boolean;
686
247
  clear: () => boolean;
687
248
  };
688
- /** FaSelectV2 的插槽参数。 */
249
+ /** FaSelectV2 的插槽参数 */
689
250
  export interface FaSelectV2Slots extends Record<string, unknown> {
690
- /** @description FaSelectOption 默认内容插槽 */
251
+ /** FaSelectOption 默认内容插槽 */
691
252
  default: {
692
253
  item: ElSelectorOutput;
693
254
  index: number;
694
255
  disabled: boolean;
695
256
  };
696
- /** @description 下拉列表顶部的内容 */
257
+ /** 下拉列表顶部的内容 */
697
258
  header: never;
698
- /** @description 下拉列表底部的内容 */
259
+ /** 下拉列表底部的内容 */
699
260
  footer: never;
700
- /** @description Select 组件头部内容 */
261
+ /** Select 组件头部内容 */
701
262
  prefix: never;
702
- /** @description 无选项时的列表 */
263
+ /** 无选项时的列表 */
703
264
  empty: never;
704
- /** @description select 组件自定义标签内容 */
265
+ /** select 组件自定义标签内容 */
705
266
  tag: never;
706
- /** @description select 组件自定义 loading内容 */
267
+ /** Select 组件自定义加载内容 */
707
268
  loading: never;
708
- /** @description select 组件自定义标签内容 */
269
+ /** select 组件自定义标签内容 */
709
270
  label: {
710
271
  label: string;
711
272
  value: string | number | boolean | object;
712
273
  };
713
274
  }
714
275
  declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
715
- /** @description whether Select is disabled 重载使其支持 ElForm*/
276
+ /** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
716
277
  disabled: {
717
278
  type: BooleanConstructor;
718
279
  default: undefined;
719
280
  };
720
- /** @description displayed text while loading data from server, default is 'Loading' */
281
+ /** 远程数据加载时显示的文本;默认显示“加载中...”。 */
721
282
  loadingText: {
722
283
  type: StringConstructor;
723
284
  default: string;
724
285
  };
725
- /** @description displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data' */
286
+ /** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
726
287
  noMatchText: {
727
288
  type: StringConstructor;
728
289
  default: string;
729
290
  };
730
- /** @description displayed text when there is no options, you can also use slot `empty`, default is 'No data' */
291
+ /** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
731
292
  noDataText: {
732
293
  type: StringConstructor;
733
294
  default: string;
734
295
  };
735
- /** @description whether to collapse tags to a text when multiple selecting */
296
+ /** 多选时是否折叠已选标签 */
736
297
  collapseTags: {
737
298
  type: BooleanConstructor;
738
299
  default: boolean;
739
300
  };
740
- /** @description whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true */
301
+ /** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
741
302
  collapseTagsTooltip: {
742
303
  type: BooleanConstructor;
743
304
  default: boolean;
744
305
  };
745
- /** @description v-model绑定值 */
306
+ /** v-model 绑定值 */
746
307
  modelValue: {
747
- type: PropType<ElSelectorModelValue>;
308
+ type: import("vue").PropType<ElSelectorModelValue>;
748
309
  default: undefined;
749
310
  };
750
- /** @description v-model:label绑定值 */
751
- label: PropType<string | string[] | null>;
752
- /** @description 宽度 */
311
+ /** v-model:label 绑定值 */
312
+ label: import("vue").PropType<string | string[] | null>;
313
+ /** 宽度 */
753
314
  width: {
754
315
  type: (NumberConstructor | StringConstructor)[];
755
316
  default: string;
756
317
  };
757
- /** @description 更多细节,只有使用slot的时候有用 */
318
+ /** 插槽使用的附加状态 */
758
319
  moreDetail: BooleanConstructor;
759
- /** @description 懒加载远程数据,默认 true。当下拉框第一次显示的时候才会加载远程数据*/
320
+ /** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
760
321
  lazy: {
761
322
  type: BooleanConstructor;
762
323
  default: boolean;
763
324
  };
764
- /** @description 默认选中。不能和懒加载一起使用 */
325
+ /** 是否默认选中;不能与懒加载同时使用。 */
765
326
  defaultSelected: BooleanConstructor;
766
- /** @description 下拉框数据 */
327
+ /** 下拉框数据 */
767
328
  data: {
768
- type: PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
329
+ type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
769
330
  default: () => never[];
770
331
  };
771
332
  /** 分页返回 */
772
333
  pageResult: BooleanConstructor;
773
- /** @description 请求api */
334
+ /** 请求数据的函数 */
774
335
  requestApi: {
775
- type: PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
336
+ type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
776
337
  };
777
338
  /** 初始化参数 */
778
- initParam: PropType<string | number | PagedInput>;
339
+ initParam: import("vue").PropType<string | number | PagedInput>;
779
340
  ariaLabel: StringConstructor;
780
341
  emptyValues: ArrayConstructor;
781
342
  valueOnClear: import("element-plus/es/utils/vue/props/types.mjs").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>;
782
- /**
783
- * @description whether creating new items is allowed. To use this, `filterable` must be true
784
- */
785
343
  allowCreate: BooleanConstructor;
786
- /**
787
- * @description autocomplete of select input
788
- */
789
344
  autocomplete: {
790
- type: PropType<"none" | "both" | "inline" | "list">;
345
+ type: import("vue").PropType<"none" | "both" | "inline" | "list">;
791
346
  default: string;
792
347
  };
793
- /**
794
- * @description for non-filterable Select, this prop decides if the option menu pops up when the input is focused
795
- */
796
348
  automaticDropdown: BooleanConstructor;
797
- /**
798
- * @description whether select can be cleared
799
- */
800
349
  clearable: BooleanConstructor;
801
- /**
802
- * @description custom clear icon
803
- */
804
350
  clearIcon: {
805
- type: PropType<string | Component>;
351
+ type: import("vue").PropType<string | import("vue").Component>;
806
352
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
807
353
  };
808
- /**
809
- * @description tooltip theme, built-in theme: `dark` / `light`
810
- */
811
354
  effect: {
812
- type: PropType<string>;
355
+ type: import("vue").PropType<string>;
813
356
  default: string;
814
357
  };
815
- /** @description collapse-tags tooltip configuration */
816
358
  tagTooltip: {
817
- type: PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
818
- default: () => {};
359
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
360
+ default: () => NonNullable<import("element-plus").SelectV2Props["tagTooltip"]>;
819
361
  };
820
- /**
821
- * @description The max tags number to be shown. To use this, `collapse-tags` must be true
822
- */
823
362
  maxCollapseTags: {
824
363
  type: NumberConstructor;
825
364
  default: number;
826
365
  };
827
- /**
828
- * @description
829
- */
830
366
  defaultFirstOption: BooleanConstructor;
831
- /**
832
- * @description
833
- */
834
367
  estimatedOptionHeight: {
835
368
  type: NumberConstructor;
836
369
  default: undefined;
837
370
  };
838
- /**
839
- * @description is filterable
840
- */
841
371
  filterable: BooleanConstructor;
842
- /**
843
- * @description
844
- */
845
- filterMethod: PropType<ElementPlusSelectV2Props["filterMethod"]>;
846
- /**
847
- * @description The height of the dropdown panel, 34px for each item
848
- */
372
+ filterMethod: import("vue").PropType<import("element-plus").SelectV2Props["filterMethod"]>;
849
373
  height: {
850
374
  type: NumberConstructor;
851
375
  default: number;
852
376
  };
853
- /**
854
- * @description The height of the dropdown item
855
- */
856
377
  itemHeight: {
857
378
  type: NumberConstructor;
858
379
  default: number;
859
380
  };
860
- /**
861
- * @description
862
- */
863
381
  id: StringConstructor;
864
- /**
865
- * @description whether Select is loading data from server
866
- */
867
382
  loading: BooleanConstructor;
868
- /**
869
- * @description is multiple
870
- */
871
383
  multiple: BooleanConstructor;
872
- /**
873
- * @description maximum number of options user can select when multiple is true. No limit when set to 0
874
- */
875
384
  multipleLimit: {
876
385
  type: NumberConstructor;
877
386
  default: number;
878
387
  };
879
- /**
880
- * @description the name attribute of select input
881
- */
882
388
  name: StringConstructor;
883
- /**
884
- * @description function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true
885
- */
886
- remoteMethod: PropType<ElementPlusSelectV2Props["remoteMethod"]>;
887
- /**
888
- * @description whether reserve the keyword after select filtered option.
889
- */
389
+ remoteMethod: import("vue").PropType<import("element-plus").SelectV2Props["remoteMethod"]>;
890
390
  reserveKeyword: {
891
391
  type: BooleanConstructor;
892
392
  default: boolean;
893
393
  };
894
- /**
895
- * @description data of the options, the key of `value` and `label` can be customize by `props`
896
- */
897
394
  options: {
898
- type: PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
395
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
899
396
  };
900
- /**
901
- * @description placeholder, the default is 'Please select'
902
- */
903
397
  placeholder: {
904
398
  type: StringConstructor;
905
399
  };
906
- /**
907
- * @description whether select dropdown is teleported to the body
908
- */
909
400
  teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
910
- /**
911
- * @description when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed
912
- */
913
401
  persistent: {
914
402
  type: BooleanConstructor;
915
403
  default: boolean;
916
404
  };
917
- /**
918
- * @description custom class name for Select's dropdown
919
- */
920
405
  popperClass: {
921
406
  type: StringConstructor;
922
407
  default: string;
923
408
  };
924
- /** @description custom style for Select's dropdown */
925
409
  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>;
926
- /**
927
- * @description [popper.js](https://popper.js.org/docs/v2/) parameters
928
- */
929
410
  popperOptions: {
930
- type: PropType<Partial<Options>>;
931
- default: () => {};
411
+ type: import("vue").PropType<Partial<import("element-plus").Options>>;
412
+ default: () => Partial<import("element-plus").Options>;
932
413
  };
933
- /**
934
- * @description whether search data from server
935
- */
936
414
  remote: BooleanConstructor;
937
- /** @description debounce delay during remote search, in milliseconds */
938
415
  debounce: {
939
416
  type: NumberConstructor;
940
417
  default: number;
941
418
  };
942
- /**
943
- * @description size of component
944
- */
945
419
  size: {
946
- readonly type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
420
+ readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
947
421
  readonly required: false;
948
422
  readonly validator: ((val: unknown) => boolean) | undefined;
949
423
  __epPropKey: true;
950
424
  };
951
- /**
952
- * @description configuration options, see the following table
953
- */
954
425
  props: {
955
- type: PropType<Props>;
426
+ type: import("vue").PropType<import("./selectV2").Props>;
956
427
  default: () => {
957
428
  label: string;
958
429
  value: string;
@@ -960,121 +431,85 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
960
431
  options: string;
961
432
  };
962
433
  };
963
- /**
964
- * @description unique identity key name for value, required when value is an object
965
- */
966
434
  valueKey: {
967
435
  type: StringConstructor;
968
436
  default: string;
969
437
  };
970
- /**
971
- * @description Controls whether the scrollbar is always displayed
972
- */
973
438
  scrollbarAlwaysOn: BooleanConstructor;
974
- /**
975
- * @description whether to trigger form validation
976
- */
977
439
  validateEvent: {
978
440
  type: BooleanConstructor;
979
441
  default: boolean;
980
442
  };
981
- /**
982
- * @description offset of the dropdown
983
- */
984
443
  offset: {
985
444
  type: NumberConstructor;
986
445
  default: number;
987
446
  };
988
- /** @description whether to show the suffix icon during remote search */
989
447
  remoteShowSuffix: BooleanConstructor;
990
- /**
991
- * @description Determines whether the arrow is displayed
992
- */
993
448
  showArrow: {
994
449
  type: BooleanConstructor;
995
450
  default: boolean;
996
451
  };
997
- /**
998
- * @description position of dropdown
999
- */
1000
452
  placement: {
1001
- type: PropType<Placement>;
453
+ type: import("vue").PropType<import("element-plus").Placement>;
1002
454
  default: string;
1003
455
  };
1004
- /**
1005
- * @description list of possible positions for dropdown
1006
- */
1007
456
  fallbackPlacements: {
1008
- type: PropType<Placement[]>;
457
+ type: import("vue").PropType<import("element-plus").Placement[]>;
1009
458
  default: string[];
1010
459
  };
1011
- /**
1012
- * @description tag type
1013
- */
1014
460
  tagType: {
1015
461
  default: string;
1016
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
462
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
1017
463
  required: false;
1018
464
  validator: ((val: unknown) => boolean) | undefined;
1019
465
  __epPropKey: true;
1020
466
  };
1021
- /**
1022
- * @description tag effect
1023
- */
1024
467
  tagEffect: {
1025
468
  default: string;
1026
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
469
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
1027
470
  required: false;
1028
471
  validator: ((val: unknown) => boolean) | undefined;
1029
472
  __epPropKey: true;
1030
473
  };
1031
- /**
1032
- * @description tabindex for input
1033
- */
1034
474
  tabindex: {
1035
475
  type: (NumberConstructor | StringConstructor)[];
1036
476
  default: number;
1037
477
  };
1038
- /**
1039
- * @description which element the select dropdown appends to
1040
- */
1041
478
  appendTo: StringConstructor;
1042
- /** @description whether the dropdown width follows the input width, or a fixed width */
1043
479
  fitInputWidth: {
1044
480
  type: (NumberConstructor | BooleanConstructor)[];
1045
481
  default: boolean;
1046
482
  validator: (value: boolean | number) => boolean;
1047
483
  };
1048
- /** @description select suffix icon */
1049
484
  suffixIcon: {
1050
- type: PropType<string | Component>;
485
+ type: import("vue").PropType<string | import("vue").Component>;
1051
486
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1052
487
  };
1053
488
  }>, {
1054
- /** @description 使选择器的输入框获取焦点 */
489
+ /** 使选择器的输入框获取焦点 */
1055
490
  focus: import("vue").ComputedRef<(() => void) | undefined>;
1056
- /** @description 使选择器的输入框失去焦点,并隐藏下拉框 */
491
+ /** 使选择器的输入框失去焦点,并隐藏下拉框 */
1057
492
  blur: import("vue").ComputedRef<(() => void) | undefined>;
1058
- /** @description 获取当前选中的标签 */
493
+ /** 获取当前选中的标签 */
1059
494
  selectedLabel: import("vue").ComputedRef<string | string[] | undefined>;
1060
- /** @description 滚动到指定选项索引。 */
495
+ /** 滚动到指定选项索引。 */
1061
496
  scrollTo: import("vue").ComputedRef<((index: number) => void) | undefined>;
1062
- /** @description 加载状态 */
1063
- loading: import("vue").ComputedRef<boolean>;
1064
- /** @description 刷新 */
497
+ /** 加载状态 */
498
+ loading: import("vue").Ref<boolean, boolean>;
499
+ /** 刷新 */
1065
500
  refresh: () => Promise<void>;
1066
- /** @description 设置选择 */
501
+ /** 设置选择 */
1067
502
  setSelection: (value: Exclude<ElSelectorModelValue, null | undefined>) => void;
1068
- /** @description 清除选择 */
503
+ /** 清除选择 */
1069
504
  clearSelection: () => void;
1070
505
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1071
- /** @description v-model 回调 */
506
+ /** v-model 回调 */
1072
507
  "update:modelValue": (value: ElSelectorModelValue) => value is string | number | boolean | object | ElSelectorValue[] | null | undefined;
1073
- /** @description 选中数据改变 */
508
+ /** 选中数据改变 */
1074
509
  change: (_data: ElSelectorOutput | ElSelectorOutput[] | null, _value?: ElSelectorModelValue) => boolean;
1075
- /** @description v-model:label 回调 */
510
+ /** v-model:label 回调 */
1076
511
  "update:label": (value: string | string[] | null) => boolean;
1077
- /** @description 数据改变 */
512
+ /** 数据改变 */
1078
513
  dataChange: (data: ElSelectorOutput[]) => boolean;
1079
514
  "end-reached": (_direction: ScrollbarDirection) => boolean;
1080
515
  "remove-tag": (_value: ElSelectorValue) => boolean;
@@ -1083,247 +518,157 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1083
518
  blur: (_event: FocusEvent) => boolean;
1084
519
  clear: () => boolean;
1085
520
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1086
- /** @description whether Select is disabled 重载使其支持 ElForm*/
521
+ /** 是否禁用选择器;未指定时继承 ElForm 的禁用状态。 */
1087
522
  disabled: {
1088
523
  type: BooleanConstructor;
1089
524
  default: undefined;
1090
525
  };
1091
- /** @description displayed text while loading data from server, default is 'Loading' */
526
+ /** 远程数据加载时显示的文本;默认显示“加载中...”。 */
1092
527
  loadingText: {
1093
528
  type: StringConstructor;
1094
529
  default: string;
1095
530
  };
1096
- /** @description displayed text when no data matches the filtering query, you can also use slot `empty`, default is 'No matching data' */
531
+ /** 筛选结果为空时显示的文本,也可通过 empty 插槽替换。 */
1097
532
  noMatchText: {
1098
533
  type: StringConstructor;
1099
534
  default: string;
1100
535
  };
1101
- /** @description displayed text when there is no options, you can also use slot `empty`, default is 'No data' */
536
+ /** 没有可选数据时显示的文本,也可通过 empty 插槽替换。 */
1102
537
  noDataText: {
1103
538
  type: StringConstructor;
1104
539
  default: string;
1105
540
  };
1106
- /** @description whether to collapse tags to a text when multiple selecting */
541
+ /** 多选时是否折叠已选标签 */
1107
542
  collapseTags: {
1108
543
  type: BooleanConstructor;
1109
544
  default: boolean;
1110
545
  };
1111
- /** @description whether show all selected tags when mouse hover text of collapse-tags. To use this, `collapse-tags` must be true */
546
+ /** 悬停折叠标签时是否显示全部选项;仅在 collapse-tags 开启时有效。 */
1112
547
  collapseTagsTooltip: {
1113
548
  type: BooleanConstructor;
1114
549
  default: boolean;
1115
550
  };
1116
- /** @description v-model绑定值 */
551
+ /** v-model 绑定值 */
1117
552
  modelValue: {
1118
- type: PropType<ElSelectorModelValue>;
553
+ type: import("vue").PropType<ElSelectorModelValue>;
1119
554
  default: undefined;
1120
555
  };
1121
- /** @description v-model:label绑定值 */
1122
- label: PropType<string | string[] | null>;
1123
- /** @description 宽度 */
556
+ /** v-model:label 绑定值 */
557
+ label: import("vue").PropType<string | string[] | null>;
558
+ /** 宽度 */
1124
559
  width: {
1125
560
  type: (NumberConstructor | StringConstructor)[];
1126
561
  default: string;
1127
562
  };
1128
- /** @description 更多细节,只有使用slot的时候有用 */
563
+ /** 插槽使用的附加状态 */
1129
564
  moreDetail: BooleanConstructor;
1130
- /** @description 懒加载远程数据,默认 true。当下拉框第一次显示的时候才会加载远程数据*/
565
+ /** 是否延迟加载远程数据;开启后在首次打开下拉框时请求。 */
1131
566
  lazy: {
1132
567
  type: BooleanConstructor;
1133
568
  default: boolean;
1134
569
  };
1135
- /** @description 默认选中。不能和懒加载一起使用 */
570
+ /** 是否默认选中;不能与懒加载同时使用。 */
1136
571
  defaultSelected: BooleanConstructor;
1137
- /** @description 下拉框数据 */
572
+ /** 下拉框数据 */
1138
573
  data: {
1139
- type: PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
574
+ type: import("vue").PropType<ElSelectorOutput<ElSelectorValue, any>[]>;
1140
575
  default: () => never[];
1141
576
  };
1142
577
  /** 分页返回 */
1143
578
  pageResult: BooleanConstructor;
1144
- /** @description 请求api */
579
+ /** 请求数据的函数 */
1145
580
  requestApi: {
1146
- type: PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
581
+ type: import("vue").PropType<(params?: string | number | PagedInput) => Promise<ElSelectorOutput[] | PagedResult<ElSelectorOutput>>>;
1147
582
  };
1148
583
  /** 初始化参数 */
1149
- initParam: PropType<string | number | PagedInput>;
584
+ initParam: import("vue").PropType<string | number | PagedInput>;
1150
585
  ariaLabel: StringConstructor;
1151
586
  emptyValues: ArrayConstructor;
1152
587
  valueOnClear: import("element-plus/es/utils/vue/props/types.mjs").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>;
1153
- /**
1154
- * @description whether creating new items is allowed. To use this, `filterable` must be true
1155
- */
1156
588
  allowCreate: BooleanConstructor;
1157
- /**
1158
- * @description autocomplete of select input
1159
- */
1160
589
  autocomplete: {
1161
- type: PropType<"none" | "both" | "inline" | "list">;
590
+ type: import("vue").PropType<"none" | "both" | "inline" | "list">;
1162
591
  default: string;
1163
592
  };
1164
- /**
1165
- * @description for non-filterable Select, this prop decides if the option menu pops up when the input is focused
1166
- */
1167
593
  automaticDropdown: BooleanConstructor;
1168
- /**
1169
- * @description whether select can be cleared
1170
- */
1171
594
  clearable: BooleanConstructor;
1172
- /**
1173
- * @description custom clear icon
1174
- */
1175
595
  clearIcon: {
1176
- type: PropType<string | Component>;
596
+ type: import("vue").PropType<string | import("vue").Component>;
1177
597
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1178
598
  };
1179
- /**
1180
- * @description tooltip theme, built-in theme: `dark` / `light`
1181
- */
1182
599
  effect: {
1183
- type: PropType<string>;
600
+ type: import("vue").PropType<string>;
1184
601
  default: string;
1185
602
  };
1186
- /** @description collapse-tags tooltip configuration */
1187
603
  tagTooltip: {
1188
- type: PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
1189
- default: () => {};
604
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps>;
605
+ default: () => NonNullable<import("element-plus").SelectV2Props["tagTooltip"]>;
1190
606
  };
1191
- /**
1192
- * @description The max tags number to be shown. To use this, `collapse-tags` must be true
1193
- */
1194
607
  maxCollapseTags: {
1195
608
  type: NumberConstructor;
1196
609
  default: number;
1197
610
  };
1198
- /**
1199
- * @description
1200
- */
1201
611
  defaultFirstOption: BooleanConstructor;
1202
- /**
1203
- * @description
1204
- */
1205
612
  estimatedOptionHeight: {
1206
613
  type: NumberConstructor;
1207
614
  default: undefined;
1208
615
  };
1209
- /**
1210
- * @description is filterable
1211
- */
1212
616
  filterable: BooleanConstructor;
1213
- /**
1214
- * @description
1215
- */
1216
- filterMethod: PropType<ElementPlusSelectV2Props["filterMethod"]>;
1217
- /**
1218
- * @description The height of the dropdown panel, 34px for each item
1219
- */
617
+ filterMethod: import("vue").PropType<import("element-plus").SelectV2Props["filterMethod"]>;
1220
618
  height: {
1221
619
  type: NumberConstructor;
1222
620
  default: number;
1223
621
  };
1224
- /**
1225
- * @description The height of the dropdown item
1226
- */
1227
622
  itemHeight: {
1228
623
  type: NumberConstructor;
1229
624
  default: number;
1230
625
  };
1231
- /**
1232
- * @description
1233
- */
1234
626
  id: StringConstructor;
1235
- /**
1236
- * @description whether Select is loading data from server
1237
- */
1238
627
  loading: BooleanConstructor;
1239
- /**
1240
- * @description is multiple
1241
- */
1242
628
  multiple: BooleanConstructor;
1243
- /**
1244
- * @description maximum number of options user can select when multiple is true. No limit when set to 0
1245
- */
1246
629
  multipleLimit: {
1247
630
  type: NumberConstructor;
1248
631
  default: number;
1249
632
  };
1250
- /**
1251
- * @description the name attribute of select input
1252
- */
1253
633
  name: StringConstructor;
1254
- /**
1255
- * @description function that gets called when the input value changes. Its parameter is the current input value. To use this, `filterable` must be true
1256
- */
1257
- remoteMethod: PropType<ElementPlusSelectV2Props["remoteMethod"]>;
1258
- /**
1259
- * @description whether reserve the keyword after select filtered option.
1260
- */
634
+ remoteMethod: import("vue").PropType<import("element-plus").SelectV2Props["remoteMethod"]>;
1261
635
  reserveKeyword: {
1262
636
  type: BooleanConstructor;
1263
637
  default: boolean;
1264
638
  };
1265
- /**
1266
- * @description data of the options, the key of `value` and `label` can be customize by `props`
1267
- */
1268
639
  options: {
1269
- type: PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
640
+ type: import("vue").PropType<import("element-plus/es/components/select-v2/src/select.types.mjs").OptionType[]>;
1270
641
  };
1271
- /**
1272
- * @description placeholder, the default is 'Please select'
1273
- */
1274
642
  placeholder: {
1275
643
  type: StringConstructor;
1276
644
  };
1277
- /**
1278
- * @description whether select dropdown is teleported to the body
1279
- */
1280
645
  teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
1281
- /**
1282
- * @description when select dropdown is inactive and `persistent` is `false`, select dropdown will be destroyed
1283
- */
1284
646
  persistent: {
1285
647
  type: BooleanConstructor;
1286
648
  default: boolean;
1287
649
  };
1288
- /**
1289
- * @description custom class name for Select's dropdown
1290
- */
1291
650
  popperClass: {
1292
651
  type: StringConstructor;
1293
652
  default: string;
1294
653
  };
1295
- /** @description custom style for Select's dropdown */
1296
654
  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>;
1297
- /**
1298
- * @description [popper.js](https://popper.js.org/docs/v2/) parameters
1299
- */
1300
655
  popperOptions: {
1301
- type: PropType<Partial<Options>>;
1302
- default: () => {};
656
+ type: import("vue").PropType<Partial<import("element-plus").Options>>;
657
+ default: () => Partial<import("element-plus").Options>;
1303
658
  };
1304
- /**
1305
- * @description whether search data from server
1306
- */
1307
659
  remote: BooleanConstructor;
1308
- /** @description debounce delay during remote search, in milliseconds */
1309
660
  debounce: {
1310
661
  type: NumberConstructor;
1311
662
  default: number;
1312
663
  };
1313
- /**
1314
- * @description size of component
1315
- */
1316
664
  size: {
1317
- readonly type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
665
+ readonly type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
1318
666
  readonly required: false;
1319
667
  readonly validator: ((val: unknown) => boolean) | undefined;
1320
668
  __epPropKey: true;
1321
669
  };
1322
- /**
1323
- * @description configuration options, see the following table
1324
- */
1325
670
  props: {
1326
- type: PropType<Props>;
671
+ type: import("vue").PropType<import("./selectV2").Props>;
1327
672
  default: () => {
1328
673
  label: string;
1329
674
  value: string;
@@ -1331,94 +676,58 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1331
676
  options: string;
1332
677
  };
1333
678
  };
1334
- /**
1335
- * @description unique identity key name for value, required when value is an object
1336
- */
1337
679
  valueKey: {
1338
680
  type: StringConstructor;
1339
681
  default: string;
1340
682
  };
1341
- /**
1342
- * @description Controls whether the scrollbar is always displayed
1343
- */
1344
683
  scrollbarAlwaysOn: BooleanConstructor;
1345
- /**
1346
- * @description whether to trigger form validation
1347
- */
1348
684
  validateEvent: {
1349
685
  type: BooleanConstructor;
1350
686
  default: boolean;
1351
687
  };
1352
- /**
1353
- * @description offset of the dropdown
1354
- */
1355
688
  offset: {
1356
689
  type: NumberConstructor;
1357
690
  default: number;
1358
691
  };
1359
- /** @description whether to show the suffix icon during remote search */
1360
692
  remoteShowSuffix: BooleanConstructor;
1361
- /**
1362
- * @description Determines whether the arrow is displayed
1363
- */
1364
693
  showArrow: {
1365
694
  type: BooleanConstructor;
1366
695
  default: boolean;
1367
696
  };
1368
- /**
1369
- * @description position of dropdown
1370
- */
1371
697
  placement: {
1372
- type: PropType<Placement>;
698
+ type: import("vue").PropType<import("element-plus").Placement>;
1373
699
  default: string;
1374
700
  };
1375
- /**
1376
- * @description list of possible positions for dropdown
1377
- */
1378
701
  fallbackPlacements: {
1379
- type: PropType<Placement[]>;
702
+ type: import("vue").PropType<import("element-plus").Placement[]>;
1380
703
  default: string[];
1381
704
  };
1382
- /**
1383
- * @description tag type
1384
- */
1385
705
  tagType: {
1386
706
  default: string;
1387
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
707
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>>;
1388
708
  required: false;
1389
709
  validator: ((val: unknown) => boolean) | undefined;
1390
710
  __epPropKey: true;
1391
711
  };
1392
- /**
1393
- * @description tag effect
1394
- */
1395
712
  tagEffect: {
1396
713
  default: string;
1397
- type: PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
714
+ type: import("vue").PropType<import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>>;
1398
715
  required: false;
1399
716
  validator: ((val: unknown) => boolean) | undefined;
1400
717
  __epPropKey: true;
1401
718
  };
1402
- /**
1403
- * @description tabindex for input
1404
- */
1405
719
  tabindex: {
1406
720
  type: (NumberConstructor | StringConstructor)[];
1407
721
  default: number;
1408
722
  };
1409
- /**
1410
- * @description which element the select dropdown appends to
1411
- */
1412
723
  appendTo: StringConstructor;
1413
- /** @description whether the dropdown width follows the input width, or a fixed width */
1414
724
  fitInputWidth: {
1415
725
  type: (NumberConstructor | BooleanConstructor)[];
1416
726
  default: boolean;
1417
727
  validator: (value: boolean | number) => boolean;
1418
728
  };
1419
- /** @description select suffix icon */
1420
729
  suffixIcon: {
1421
- type: PropType<string | Component>;
730
+ type: import("vue").PropType<string | import("vue").Component>;
1422
731
  default: import("vue").DefineComponent<{}, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1423
732
  };
1424
733
  }>> & Readonly<{
@@ -1435,22 +744,22 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1435
744
  }>, {
1436
745
  data: ElSelectorOutput<ElSelectorValue, any>[];
1437
746
  loading: boolean;
1438
- props: Props;
747
+ props: import("./selectV2").Props;
1439
748
  offset: number;
1440
- placement: Placement;
749
+ placement: import("element-plus").Placement;
1441
750
  disabled: boolean;
1442
751
  modelValue: ElSelectorModelValue;
1443
752
  autocomplete: "none" | "both" | "inline" | "list";
1444
753
  clearable: boolean;
1445
- clearIcon: string | Component;
1446
- suffixIcon: string | Component;
754
+ clearIcon: string | import("vue").Component;
755
+ suffixIcon: string | import("vue").Component;
1447
756
  tabindex: string | number;
1448
757
  validateEvent: boolean;
1449
758
  effect: string;
1450
759
  popperClass: string;
1451
760
  popperStyle: import("vue").StyleValue;
1452
- fallbackPlacements: Placement[];
1453
- popperOptions: Partial<Options>;
761
+ fallbackPlacements: import("element-plus").Placement[];
762
+ popperOptions: Partial<import("element-plus").Options>;
1454
763
  showArrow: boolean;
1455
764
  persistent: boolean;
1456
765
  teleported: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<BooleanConstructor, unknown, unknown>;
@@ -1458,32 +767,32 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
1458
767
  height: number;
1459
768
  lazy: boolean;
1460
769
  filterable: boolean;
1461
- scrollbarAlwaysOn: boolean;
1462
- loadingText: string;
1463
770
  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>;
771
+ allowCreate: boolean;
1464
772
  automaticDropdown: boolean;
1465
- moreDetail: boolean;
1466
- noMatchText: string;
1467
- noDataText: string;
1468
773
  collapseTags: boolean;
1469
774
  collapseTagsTooltip: boolean;
1470
- defaultSelected: boolean;
1471
- allowCreate: boolean;
1472
- remote: boolean;
1473
- debounce: number;
775
+ tagTooltip: import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps;
776
+ maxCollapseTags: number;
777
+ defaultFirstOption: boolean;
778
+ estimatedOptionHeight: number;
779
+ itemHeight: number;
780
+ loadingText: string;
1474
781
  multiple: boolean;
1475
782
  multipleLimit: number;
1476
- defaultFirstOption: boolean;
783
+ noDataText: string;
784
+ noMatchText: string;
1477
785
  reserveKeyword: boolean;
786
+ remote: boolean;
787
+ debounce: number;
1478
788
  valueKey: string;
1479
- tagTooltip: import("element-plus/es/components/select-v2/src/defaults.mjs").TagTooltipProps;
1480
- maxCollapseTags: number;
1481
- fitInputWidth: number | boolean;
789
+ scrollbarAlwaysOn: boolean;
790
+ remoteShowSuffix: boolean;
1482
791
  tagType: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "primary" | "success" | "warning" | "info" | "danger", unknown>;
1483
792
  tagEffect: import("element-plus/es/utils/vue/props/types.mjs").EpPropMergeType<StringConstructor, "plain" | "dark" | "light", unknown>;
1484
- remoteShowSuffix: boolean;
1485
- estimatedOptionHeight: number;
1486
- itemHeight: number;
793
+ fitInputWidth: number | boolean;
794
+ moreDetail: boolean;
795
+ defaultSelected: boolean;
1487
796
  pageResult: boolean;
1488
797
  }, import("../../../utils").TypedSlotsDeclaration<FaSelectV2Slots>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1489
798
  export default _default;