sprintify-ui 0.10.88 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12566 -12743
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +4 -712
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +4 -1091
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +3 -598
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -636
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocompleteFetch.vue +5 -0
  97. package/src/components/BaseBelongsToFetch.vue +3 -0
  98. package/src/components/BaseForm.mdx +1 -1
  99. package/src/components/BaseGantt.mdx +79 -0
  100. package/src/components/BaseGantt.stories.js +25 -10
  101. package/src/components/BaseGantt.vue +192 -58
  102. package/src/services/gantt/format.ts +30 -7
  103. package/src/services/gantt/types.ts +18 -8
@@ -1,884 +1,6 @@
1
1
  import { PropType } from 'vue';
2
2
  import { RawOption, SelectConfiguration } from '@/types';
3
- import BaseAutocomplete from './BaseAutocomplete.vue';
4
- import { t } from '@/i18n';
5
3
  import { Size } from '@/utils/sizes';
6
- declare const showLoading: import("vue").Ref<boolean, boolean>;
7
- declare const firstSearch: import("vue").Ref<boolean, boolean>;
8
- declare const keywords: import("vue").Ref<string, string>;
9
- declare const page: import("vue").Ref<number, number>;
10
- declare const options: import("vue").Ref<RawOption[], RawOption[]>;
11
- declare const autocomplete: import("vue").Ref<({
12
- $: import("vue").ComponentInternalInstance;
13
- $data: {};
14
- $props: Partial<{
15
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
16
- select: SelectConfiguration | undefined;
17
- size: "xs" | "sm" | "md" | "lg" | "xl";
18
- required: boolean;
19
- icon: string;
20
- inline: boolean;
21
- disabled: boolean;
22
- name: string;
23
- modelValue: RawOption | null | undefined;
24
- placeholder: string;
25
- hasError: boolean;
26
- visibleFocus: boolean;
27
- loading: boolean;
28
- loadingBottom: boolean;
29
- optionColor: (option: RawOption) => string;
30
- optionIcon: (option: RawOption) => string;
31
- dropdownShow: "always" | "focus";
32
- showModelValue: boolean;
33
- focusOnMount: boolean;
34
- showEmptyOption: boolean;
35
- showRemoveButton: boolean;
36
- emptyOptionLabel: string;
37
- twInput: string | string[];
38
- twSelect: string | string[];
39
- }> & Omit<{
40
- readonly icon: string;
41
- readonly inline: boolean;
42
- readonly disabled: boolean;
43
- readonly options: RawOption[];
44
- readonly hasError: boolean;
45
- readonly visibleFocus: boolean;
46
- readonly labelKey: string | ((option: RawOption) => string);
47
- readonly valueKey: string | ((option: RawOption) => string);
48
- readonly loading: boolean;
49
- readonly loadingBottom: boolean;
50
- readonly dropdownShow: "always" | "focus";
51
- readonly showModelValue: boolean;
52
- readonly focusOnMount: boolean;
53
- readonly showEmptyOption: boolean;
54
- readonly showRemoveButton: boolean;
55
- readonly emptyOptionLabel: string;
56
- readonly filter?: ((option: import("@/types").NormalizedOption, keywords: string) => boolean) | undefined;
57
- readonly select?: SelectConfiguration | undefined;
58
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
59
- readonly required?: boolean | undefined;
60
- readonly name?: string | undefined;
61
- readonly modelValue?: RawOption | null | undefined;
62
- readonly placeholder?: string | undefined;
63
- readonly optionColor?: ((option: RawOption) => string) | undefined;
64
- readonly optionIcon?: ((option: RawOption) => string) | undefined;
65
- readonly twInput?: string | string[] | undefined;
66
- readonly twSelect?: string | string[] | undefined;
67
- readonly onClose?: ((...args: any[]) => any) | undefined;
68
- readonly onSelect?: ((...args: any[]) => any) | undefined;
69
- readonly onOpen?: ((...args: any[]) => any) | undefined;
70
- readonly onClear?: ((...args: any[]) => any) | undefined;
71
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
72
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
73
- readonly onTyping?: ((...args: any[]) => any) | undefined;
74
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
75
- $attrs: {
76
- [x: string]: unknown;
77
- };
78
- $refs: {
79
- [x: string]: unknown;
80
- };
81
- $slots: Readonly<{
82
- [name: string]: import("vue").Slot<any> | undefined;
83
- }>;
84
- $root: import("vue").ComponentPublicInstance | null;
85
- $parent: import("vue").ComponentPublicInstance | null;
86
- $host: Element | null;
87
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
88
- $el: any;
89
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
90
- modelValue: {
91
- default: undefined;
92
- type: PropType<RawOption | null | undefined>;
93
- };
94
- options: {
95
- required: true;
96
- type: PropType<RawOption[]>;
97
- };
98
- labelKey: {
99
- required: true;
100
- type: PropType<string | ((option: RawOption) => string)>;
101
- };
102
- valueKey: {
103
- required: true;
104
- type: PropType<string | ((option: RawOption) => string)>;
105
- };
106
- name: {
107
- default: undefined;
108
- type: StringConstructor;
109
- };
110
- size: {
111
- default: undefined;
112
- type: PropType<Size>;
113
- };
114
- placeholder: {
115
- default: undefined;
116
- type: StringConstructor;
117
- };
118
- loading: {
119
- default: boolean;
120
- type: BooleanConstructor;
121
- };
122
- loadingBottom: {
123
- default: boolean;
124
- type: BooleanConstructor;
125
- };
126
- required: {
127
- default: undefined;
128
- type: BooleanConstructor;
129
- };
130
- disabled: {
131
- default: boolean;
132
- type: BooleanConstructor;
133
- };
134
- filter: {
135
- default: undefined;
136
- type: PropType<(option: import("@/types").NormalizedOption, keywords: string) => boolean>;
137
- };
138
- hasError: {
139
- default: boolean;
140
- type: BooleanConstructor;
141
- };
142
- inline: {
143
- default: boolean;
144
- type: BooleanConstructor;
145
- };
146
- dropdownShow: {
147
- default: string;
148
- type: PropType<"focus" | "always">;
149
- };
150
- showModelValue: {
151
- default: boolean;
152
- type: BooleanConstructor;
153
- };
154
- visibleFocus: {
155
- default: boolean;
156
- type: BooleanConstructor;
157
- };
158
- focusOnMount: {
159
- default: boolean;
160
- type: BooleanConstructor;
161
- };
162
- showEmptyOption: {
163
- default: boolean;
164
- type: BooleanConstructor;
165
- };
166
- showRemoveButton: {
167
- default: boolean;
168
- type: BooleanConstructor;
169
- };
170
- emptyOptionLabel: {
171
- default(): string;
172
- type: StringConstructor;
173
- };
174
- select: {
175
- default: undefined;
176
- type: PropType<SelectConfiguration | undefined>;
177
- };
178
- icon: {
179
- default(): string;
180
- type: PropType<string>;
181
- };
182
- optionColor: {
183
- default: undefined;
184
- type: PropType<(option: RawOption) => string>;
185
- };
186
- optionIcon: {
187
- default: undefined;
188
- type: PropType<(option: RawOption) => string>;
189
- };
190
- twInput: {
191
- default: undefined;
192
- type: PropType<string | string[]>;
193
- };
194
- twSelect: {
195
- default: undefined;
196
- type: PropType<string | string[]>;
197
- };
198
- }>> & Readonly<{
199
- onClose?: ((...args: any[]) => any) | undefined;
200
- onSelect?: ((...args: any[]) => any) | undefined;
201
- onOpen?: ((...args: any[]) => any) | undefined;
202
- onClear?: ((...args: any[]) => any) | undefined;
203
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
204
- onScrollBottom?: ((...args: any[]) => any) | undefined;
205
- onTyping?: ((...args: any[]) => any) | undefined;
206
- }>, {
207
- focus: () => void;
208
- blur: () => void;
209
- close: () => void;
210
- open: () => void;
211
- setKeywords: (input: string) => void;
212
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
213
- close: (...args: any[]) => void;
214
- select: (...args: any[]) => void;
215
- open: (...args: any[]) => void;
216
- clear: (...args: any[]) => void;
217
- "update:modelValue": (...args: any[]) => void;
218
- scrollBottom: (...args: any[]) => void;
219
- typing: (...args: any[]) => void;
220
- }, string, {
221
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
222
- select: SelectConfiguration | undefined;
223
- size: "xs" | "sm" | "md" | "lg" | "xl";
224
- required: boolean;
225
- icon: string;
226
- inline: boolean;
227
- disabled: boolean;
228
- name: string;
229
- modelValue: RawOption | null | undefined;
230
- placeholder: string;
231
- hasError: boolean;
232
- visibleFocus: boolean;
233
- loading: boolean;
234
- loadingBottom: boolean;
235
- optionColor: (option: RawOption) => string;
236
- optionIcon: (option: RawOption) => string;
237
- dropdownShow: "always" | "focus";
238
- showModelValue: boolean;
239
- focusOnMount: boolean;
240
- showEmptyOption: boolean;
241
- showRemoveButton: boolean;
242
- emptyOptionLabel: string;
243
- twInput: string | string[];
244
- twSelect: string | string[];
245
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
246
- beforeCreate?: (() => void) | (() => void)[];
247
- created?: (() => void) | (() => void)[];
248
- beforeMount?: (() => void) | (() => void)[];
249
- mounted?: (() => void) | (() => void)[];
250
- beforeUpdate?: (() => void) | (() => void)[];
251
- updated?: (() => void) | (() => void)[];
252
- activated?: (() => void) | (() => void)[];
253
- deactivated?: (() => void) | (() => void)[];
254
- beforeDestroy?: (() => void) | (() => void)[];
255
- beforeUnmount?: (() => void) | (() => void)[];
256
- destroyed?: (() => void) | (() => void)[];
257
- unmounted?: (() => void) | (() => void)[];
258
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
259
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
260
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
261
- };
262
- $forceUpdate: () => void;
263
- $nextTick: typeof import("vue").nextTick;
264
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
265
- } & Readonly<{
266
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
267
- select: SelectConfiguration | undefined;
268
- size: "xs" | "sm" | "md" | "lg" | "xl";
269
- required: boolean;
270
- icon: string;
271
- inline: boolean;
272
- disabled: boolean;
273
- name: string;
274
- modelValue: RawOption | null | undefined;
275
- placeholder: string;
276
- hasError: boolean;
277
- visibleFocus: boolean;
278
- loading: boolean;
279
- loadingBottom: boolean;
280
- optionColor: (option: RawOption) => string;
281
- optionIcon: (option: RawOption) => string;
282
- dropdownShow: "always" | "focus";
283
- showModelValue: boolean;
284
- focusOnMount: boolean;
285
- showEmptyOption: boolean;
286
- showRemoveButton: boolean;
287
- emptyOptionLabel: string;
288
- twInput: string | string[];
289
- twSelect: string | string[];
290
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
291
- modelValue: {
292
- default: undefined;
293
- type: PropType<RawOption | null | undefined>;
294
- };
295
- options: {
296
- required: true;
297
- type: PropType<RawOption[]>;
298
- };
299
- labelKey: {
300
- required: true;
301
- type: PropType<string | ((option: RawOption) => string)>;
302
- };
303
- valueKey: {
304
- required: true;
305
- type: PropType<string | ((option: RawOption) => string)>;
306
- };
307
- name: {
308
- default: undefined;
309
- type: StringConstructor;
310
- };
311
- size: {
312
- default: undefined;
313
- type: PropType<Size>;
314
- };
315
- placeholder: {
316
- default: undefined;
317
- type: StringConstructor;
318
- };
319
- loading: {
320
- default: boolean;
321
- type: BooleanConstructor;
322
- };
323
- loadingBottom: {
324
- default: boolean;
325
- type: BooleanConstructor;
326
- };
327
- required: {
328
- default: undefined;
329
- type: BooleanConstructor;
330
- };
331
- disabled: {
332
- default: boolean;
333
- type: BooleanConstructor;
334
- };
335
- filter: {
336
- default: undefined;
337
- type: PropType<(option: import("@/types").NormalizedOption, keywords: string) => boolean>;
338
- };
339
- hasError: {
340
- default: boolean;
341
- type: BooleanConstructor;
342
- };
343
- inline: {
344
- default: boolean;
345
- type: BooleanConstructor;
346
- };
347
- dropdownShow: {
348
- default: string;
349
- type: PropType<"focus" | "always">;
350
- };
351
- showModelValue: {
352
- default: boolean;
353
- type: BooleanConstructor;
354
- };
355
- visibleFocus: {
356
- default: boolean;
357
- type: BooleanConstructor;
358
- };
359
- focusOnMount: {
360
- default: boolean;
361
- type: BooleanConstructor;
362
- };
363
- showEmptyOption: {
364
- default: boolean;
365
- type: BooleanConstructor;
366
- };
367
- showRemoveButton: {
368
- default: boolean;
369
- type: BooleanConstructor;
370
- };
371
- emptyOptionLabel: {
372
- default(): string;
373
- type: StringConstructor;
374
- };
375
- select: {
376
- default: undefined;
377
- type: PropType<SelectConfiguration | undefined>;
378
- };
379
- icon: {
380
- default(): string;
381
- type: PropType<string>;
382
- };
383
- optionColor: {
384
- default: undefined;
385
- type: PropType<(option: RawOption) => string>;
386
- };
387
- optionIcon: {
388
- default: undefined;
389
- type: PropType<(option: RawOption) => string>;
390
- };
391
- twInput: {
392
- default: undefined;
393
- type: PropType<string | string[]>;
394
- };
395
- twSelect: {
396
- default: undefined;
397
- type: PropType<string | string[]>;
398
- };
399
- }>> & Readonly<{
400
- onClose?: ((...args: any[]) => any) | undefined;
401
- onSelect?: ((...args: any[]) => any) | undefined;
402
- onOpen?: ((...args: any[]) => any) | undefined;
403
- onClear?: ((...args: any[]) => any) | undefined;
404
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
405
- onScrollBottom?: ((...args: any[]) => any) | undefined;
406
- onTyping?: ((...args: any[]) => any) | undefined;
407
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
408
- focus: () => void;
409
- blur: () => void;
410
- close: () => void;
411
- open: () => void;
412
- setKeywords: (input: string) => void;
413
- }> & {} & import("vue").ComponentCustomProperties & {} & {
414
- $slots: {
415
- empty?: ((props: {
416
- focus: () => void;
417
- blur: () => void;
418
- open: () => void;
419
- close: () => void;
420
- keywords: import("vue").ComputedRef<string>;
421
- }) => any) | undefined;
422
- option?: ((props: {
423
- focus: () => void;
424
- blur: () => void;
425
- open: () => void;
426
- close: () => void;
427
- keywords: import("vue").ComputedRef<string>;
428
- option: RawOption | null;
429
- value: import("@/types").OptionValue;
430
- label: string;
431
- selected: boolean;
432
- active: boolean;
433
- }) => any) | undefined;
434
- footer?: ((props: {
435
- focus: () => void;
436
- blur: () => void;
437
- open: () => void;
438
- close: () => void;
439
- keywords: import("vue").ComputedRef<string>;
440
- options: import("@/types").NormalizedOption[];
441
- }) => any) | undefined;
442
- };
443
- }) | null, ({
444
- $: import("vue").ComponentInternalInstance;
445
- $data: {};
446
- $props: Partial<{
447
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
448
- select: SelectConfiguration | undefined;
449
- size: "xs" | "sm" | "md" | "lg" | "xl";
450
- required: boolean;
451
- icon: string;
452
- inline: boolean;
453
- disabled: boolean;
454
- name: string;
455
- modelValue: RawOption | null | undefined;
456
- placeholder: string;
457
- hasError: boolean;
458
- visibleFocus: boolean;
459
- loading: boolean;
460
- loadingBottom: boolean;
461
- optionColor: (option: RawOption) => string;
462
- optionIcon: (option: RawOption) => string;
463
- dropdownShow: "always" | "focus";
464
- showModelValue: boolean;
465
- focusOnMount: boolean;
466
- showEmptyOption: boolean;
467
- showRemoveButton: boolean;
468
- emptyOptionLabel: string;
469
- twInput: string | string[];
470
- twSelect: string | string[];
471
- }> & Omit<{
472
- readonly icon: string;
473
- readonly inline: boolean;
474
- readonly disabled: boolean;
475
- readonly options: RawOption[];
476
- readonly hasError: boolean;
477
- readonly visibleFocus: boolean;
478
- readonly labelKey: string | ((option: RawOption) => string);
479
- readonly valueKey: string | ((option: RawOption) => string);
480
- readonly loading: boolean;
481
- readonly loadingBottom: boolean;
482
- readonly dropdownShow: "always" | "focus";
483
- readonly showModelValue: boolean;
484
- readonly focusOnMount: boolean;
485
- readonly showEmptyOption: boolean;
486
- readonly showRemoveButton: boolean;
487
- readonly emptyOptionLabel: string;
488
- readonly filter?: ((option: import("@/types").NormalizedOption, keywords: string) => boolean) | undefined;
489
- readonly select?: SelectConfiguration | undefined;
490
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
491
- readonly required?: boolean | undefined;
492
- readonly name?: string | undefined;
493
- readonly modelValue?: RawOption | null | undefined;
494
- readonly placeholder?: string | undefined;
495
- readonly optionColor?: ((option: RawOption) => string) | undefined;
496
- readonly optionIcon?: ((option: RawOption) => string) | undefined;
497
- readonly twInput?: string | string[] | undefined;
498
- readonly twSelect?: string | string[] | undefined;
499
- readonly onClose?: ((...args: any[]) => any) | undefined;
500
- readonly onSelect?: ((...args: any[]) => any) | undefined;
501
- readonly onOpen?: ((...args: any[]) => any) | undefined;
502
- readonly onClear?: ((...args: any[]) => any) | undefined;
503
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
504
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
505
- readonly onTyping?: ((...args: any[]) => any) | undefined;
506
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect">;
507
- $attrs: {
508
- [x: string]: unknown;
509
- };
510
- $refs: {
511
- [x: string]: unknown;
512
- };
513
- $slots: Readonly<{
514
- [name: string]: import("vue").Slot<any> | undefined;
515
- }>;
516
- $root: import("vue").ComponentPublicInstance | null;
517
- $parent: import("vue").ComponentPublicInstance | null;
518
- $host: Element | null;
519
- $emit: ((event: "close", ...args: any[]) => void) & ((event: "select", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
520
- $el: any;
521
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
522
- modelValue: {
523
- default: undefined;
524
- type: PropType<RawOption | null | undefined>;
525
- };
526
- options: {
527
- required: true;
528
- type: PropType<RawOption[]>;
529
- };
530
- labelKey: {
531
- required: true;
532
- type: PropType<string | ((option: RawOption) => string)>;
533
- };
534
- valueKey: {
535
- required: true;
536
- type: PropType<string | ((option: RawOption) => string)>;
537
- };
538
- name: {
539
- default: undefined;
540
- type: StringConstructor;
541
- };
542
- size: {
543
- default: undefined;
544
- type: PropType<Size>;
545
- };
546
- placeholder: {
547
- default: undefined;
548
- type: StringConstructor;
549
- };
550
- loading: {
551
- default: boolean;
552
- type: BooleanConstructor;
553
- };
554
- loadingBottom: {
555
- default: boolean;
556
- type: BooleanConstructor;
557
- };
558
- required: {
559
- default: undefined;
560
- type: BooleanConstructor;
561
- };
562
- disabled: {
563
- default: boolean;
564
- type: BooleanConstructor;
565
- };
566
- filter: {
567
- default: undefined;
568
- type: PropType<(option: import("@/types").NormalizedOption, keywords: string) => boolean>;
569
- };
570
- hasError: {
571
- default: boolean;
572
- type: BooleanConstructor;
573
- };
574
- inline: {
575
- default: boolean;
576
- type: BooleanConstructor;
577
- };
578
- dropdownShow: {
579
- default: string;
580
- type: PropType<"focus" | "always">;
581
- };
582
- showModelValue: {
583
- default: boolean;
584
- type: BooleanConstructor;
585
- };
586
- visibleFocus: {
587
- default: boolean;
588
- type: BooleanConstructor;
589
- };
590
- focusOnMount: {
591
- default: boolean;
592
- type: BooleanConstructor;
593
- };
594
- showEmptyOption: {
595
- default: boolean;
596
- type: BooleanConstructor;
597
- };
598
- showRemoveButton: {
599
- default: boolean;
600
- type: BooleanConstructor;
601
- };
602
- emptyOptionLabel: {
603
- default(): string;
604
- type: StringConstructor;
605
- };
606
- select: {
607
- default: undefined;
608
- type: PropType<SelectConfiguration | undefined>;
609
- };
610
- icon: {
611
- default(): string;
612
- type: PropType<string>;
613
- };
614
- optionColor: {
615
- default: undefined;
616
- type: PropType<(option: RawOption) => string>;
617
- };
618
- optionIcon: {
619
- default: undefined;
620
- type: PropType<(option: RawOption) => string>;
621
- };
622
- twInput: {
623
- default: undefined;
624
- type: PropType<string | string[]>;
625
- };
626
- twSelect: {
627
- default: undefined;
628
- type: PropType<string | string[]>;
629
- };
630
- }>> & Readonly<{
631
- onClose?: ((...args: any[]) => any) | undefined;
632
- onSelect?: ((...args: any[]) => any) | undefined;
633
- onOpen?: ((...args: any[]) => any) | undefined;
634
- onClear?: ((...args: any[]) => any) | undefined;
635
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
636
- onScrollBottom?: ((...args: any[]) => any) | undefined;
637
- onTyping?: ((...args: any[]) => any) | undefined;
638
- }>, {
639
- focus: () => void;
640
- blur: () => void;
641
- close: () => void;
642
- open: () => void;
643
- setKeywords: (input: string) => void;
644
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
645
- close: (...args: any[]) => void;
646
- select: (...args: any[]) => void;
647
- open: (...args: any[]) => void;
648
- clear: (...args: any[]) => void;
649
- "update:modelValue": (...args: any[]) => void;
650
- scrollBottom: (...args: any[]) => void;
651
- typing: (...args: any[]) => void;
652
- }, string, {
653
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
654
- select: SelectConfiguration | undefined;
655
- size: "xs" | "sm" | "md" | "lg" | "xl";
656
- required: boolean;
657
- icon: string;
658
- inline: boolean;
659
- disabled: boolean;
660
- name: string;
661
- modelValue: RawOption | null | undefined;
662
- placeholder: string;
663
- hasError: boolean;
664
- visibleFocus: boolean;
665
- loading: boolean;
666
- loadingBottom: boolean;
667
- optionColor: (option: RawOption) => string;
668
- optionIcon: (option: RawOption) => string;
669
- dropdownShow: "always" | "focus";
670
- showModelValue: boolean;
671
- focusOnMount: boolean;
672
- showEmptyOption: boolean;
673
- showRemoveButton: boolean;
674
- emptyOptionLabel: string;
675
- twInput: string | string[];
676
- twSelect: string | string[];
677
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
678
- beforeCreate?: (() => void) | (() => void)[];
679
- created?: (() => void) | (() => void)[];
680
- beforeMount?: (() => void) | (() => void)[];
681
- mounted?: (() => void) | (() => void)[];
682
- beforeUpdate?: (() => void) | (() => void)[];
683
- updated?: (() => void) | (() => void)[];
684
- activated?: (() => void) | (() => void)[];
685
- deactivated?: (() => void) | (() => void)[];
686
- beforeDestroy?: (() => void) | (() => void)[];
687
- beforeUnmount?: (() => void) | (() => void)[];
688
- destroyed?: (() => void) | (() => void)[];
689
- unmounted?: (() => void) | (() => void)[];
690
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
691
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
692
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
693
- };
694
- $forceUpdate: () => void;
695
- $nextTick: typeof import("vue").nextTick;
696
- $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
697
- } & Readonly<{
698
- filter: (option: import("@/types").NormalizedOption, keywords: string) => boolean;
699
- select: SelectConfiguration | undefined;
700
- size: "xs" | "sm" | "md" | "lg" | "xl";
701
- required: boolean;
702
- icon: string;
703
- inline: boolean;
704
- disabled: boolean;
705
- name: string;
706
- modelValue: RawOption | null | undefined;
707
- placeholder: string;
708
- hasError: boolean;
709
- visibleFocus: boolean;
710
- loading: boolean;
711
- loadingBottom: boolean;
712
- optionColor: (option: RawOption) => string;
713
- optionIcon: (option: RawOption) => string;
714
- dropdownShow: "always" | "focus";
715
- showModelValue: boolean;
716
- focusOnMount: boolean;
717
- showEmptyOption: boolean;
718
- showRemoveButton: boolean;
719
- emptyOptionLabel: string;
720
- twInput: string | string[];
721
- twSelect: string | string[];
722
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
723
- modelValue: {
724
- default: undefined;
725
- type: PropType<RawOption | null | undefined>;
726
- };
727
- options: {
728
- required: true;
729
- type: PropType<RawOption[]>;
730
- };
731
- labelKey: {
732
- required: true;
733
- type: PropType<string | ((option: RawOption) => string)>;
734
- };
735
- valueKey: {
736
- required: true;
737
- type: PropType<string | ((option: RawOption) => string)>;
738
- };
739
- name: {
740
- default: undefined;
741
- type: StringConstructor;
742
- };
743
- size: {
744
- default: undefined;
745
- type: PropType<Size>;
746
- };
747
- placeholder: {
748
- default: undefined;
749
- type: StringConstructor;
750
- };
751
- loading: {
752
- default: boolean;
753
- type: BooleanConstructor;
754
- };
755
- loadingBottom: {
756
- default: boolean;
757
- type: BooleanConstructor;
758
- };
759
- required: {
760
- default: undefined;
761
- type: BooleanConstructor;
762
- };
763
- disabled: {
764
- default: boolean;
765
- type: BooleanConstructor;
766
- };
767
- filter: {
768
- default: undefined;
769
- type: PropType<(option: import("@/types").NormalizedOption, keywords: string) => boolean>;
770
- };
771
- hasError: {
772
- default: boolean;
773
- type: BooleanConstructor;
774
- };
775
- inline: {
776
- default: boolean;
777
- type: BooleanConstructor;
778
- };
779
- dropdownShow: {
780
- default: string;
781
- type: PropType<"focus" | "always">;
782
- };
783
- showModelValue: {
784
- default: boolean;
785
- type: BooleanConstructor;
786
- };
787
- visibleFocus: {
788
- default: boolean;
789
- type: BooleanConstructor;
790
- };
791
- focusOnMount: {
792
- default: boolean;
793
- type: BooleanConstructor;
794
- };
795
- showEmptyOption: {
796
- default: boolean;
797
- type: BooleanConstructor;
798
- };
799
- showRemoveButton: {
800
- default: boolean;
801
- type: BooleanConstructor;
802
- };
803
- emptyOptionLabel: {
804
- default(): string;
805
- type: StringConstructor;
806
- };
807
- select: {
808
- default: undefined;
809
- type: PropType<SelectConfiguration | undefined>;
810
- };
811
- icon: {
812
- default(): string;
813
- type: PropType<string>;
814
- };
815
- optionColor: {
816
- default: undefined;
817
- type: PropType<(option: RawOption) => string>;
818
- };
819
- optionIcon: {
820
- default: undefined;
821
- type: PropType<(option: RawOption) => string>;
822
- };
823
- twInput: {
824
- default: undefined;
825
- type: PropType<string | string[]>;
826
- };
827
- twSelect: {
828
- default: undefined;
829
- type: PropType<string | string[]>;
830
- };
831
- }>> & Readonly<{
832
- onClose?: ((...args: any[]) => any) | undefined;
833
- onSelect?: ((...args: any[]) => any) | undefined;
834
- onOpen?: ((...args: any[]) => any) | undefined;
835
- onClear?: ((...args: any[]) => any) | undefined;
836
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
837
- onScrollBottom?: ((...args: any[]) => any) | undefined;
838
- onTyping?: ((...args: any[]) => any) | undefined;
839
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("filter" | "select" | "size" | "required" | "icon" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "loading" | "loadingBottom" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "twSelect")> & import("vue").ShallowUnwrapRef<{
840
- focus: () => void;
841
- blur: () => void;
842
- close: () => void;
843
- open: () => void;
844
- setKeywords: (input: string) => void;
845
- }> & {} & import("vue").ComponentCustomProperties & {} & {
846
- $slots: {
847
- empty?: ((props: {
848
- focus: () => void;
849
- blur: () => void;
850
- open: () => void;
851
- close: () => void;
852
- keywords: import("vue").ComputedRef<string>;
853
- }) => any) | undefined;
854
- option?: ((props: {
855
- focus: () => void;
856
- blur: () => void;
857
- open: () => void;
858
- close: () => void;
859
- keywords: import("vue").ComputedRef<string>;
860
- option: RawOption | null;
861
- value: import("@/types").OptionValue;
862
- label: string;
863
- selected: boolean;
864
- active: boolean;
865
- }) => any) | undefined;
866
- footer?: ((props: {
867
- focus: () => void;
868
- blur: () => void;
869
- open: () => void;
870
- close: () => void;
871
- keywords: import("vue").ComputedRef<string>;
872
- options: import("@/types").NormalizedOption[];
873
- }) => any) | undefined;
874
- };
875
- }) | null>;
876
- declare const onTyping: (query: string) => void;
877
- declare const onOpen: () => void;
878
- declare const onClear: () => void;
879
- declare const scrollBottom: import("lodash").DebouncedFuncLeading<() => void>;
880
- declare function filterOptions(option: RawOption): boolean;
881
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
882
4
  declare var __VLS_14: {
883
5
  focus: () => void;
884
6
  blur: () => void;
@@ -905,127 +27,14 @@ declare var __VLS_14: {
905
27
  close: () => void;
906
28
  keywords: import("vue").ComputedRef<string>;
907
29
  };
908
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
30
+ type __VLS_Slots = {} & {
909
31
  option?: (props: typeof __VLS_14) => any;
910
32
  } & {
911
33
  footer?: (props: typeof __VLS_16) => any;
912
34
  } & {
913
35
  empty?: (props: typeof __VLS_18) => any;
914
- }>;
915
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
916
- modelValue: {
917
- default: undefined;
918
- type: PropType<RawOption | null | undefined>;
919
- };
920
- url: {
921
- required: true;
922
- type: StringConstructor;
923
- };
924
- labelKey: {
925
- required: true;
926
- type: PropType<string | ((option: RawOption) => string)>;
927
- };
928
- valueKey: {
929
- required: true;
930
- type: PropType<string | ((option: RawOption) => string)>;
931
- };
932
- name: {
933
- default: undefined;
934
- type: StringConstructor;
935
- };
936
- placeholder: {
937
- default: undefined;
938
- type: StringConstructor;
939
- };
940
- required: {
941
- default: boolean;
942
- type: BooleanConstructor;
943
- };
944
- disabled: {
945
- default: boolean;
946
- type: BooleanConstructor;
947
- };
948
- queryKey: {
949
- default: string;
950
- type: StringConstructor;
951
- };
952
- hasError: {
953
- default: boolean;
954
- type: BooleanConstructor;
955
- };
956
- inline: {
957
- default: boolean;
958
- type: BooleanConstructor;
959
- };
960
- size: {
961
- default: undefined;
962
- type: PropType<Size>;
963
- };
964
- dropdownShow: {
965
- default: string;
966
- type: PropType<"focus" | "always">;
967
- };
968
- showModelValue: {
969
- default: boolean;
970
- type: BooleanConstructor;
971
- };
972
- visibleFocus: {
973
- default: boolean;
974
- type: BooleanConstructor;
975
- };
976
- focusOnMount: {
977
- default: boolean;
978
- type: BooleanConstructor;
979
- };
980
- showEmptyOption: {
981
- default: boolean;
982
- type: BooleanConstructor;
983
- };
984
- showRemoveButton: {
985
- default: boolean;
986
- type: BooleanConstructor;
987
- };
988
- emptyOptionLabel: {
989
- default: undefined;
990
- type: StringConstructor;
991
- };
992
- select: {
993
- default: undefined;
994
- type: PropType<SelectConfiguration | undefined>;
995
- };
996
- optionColor: {
997
- default: undefined;
998
- type: PropType<(option: RawOption) => string>;
999
- };
1000
- optionIcon: {
1001
- default: undefined;
1002
- type: PropType<(option: RawOption) => string>;
1003
- };
1004
- twInput: {
1005
- default: undefined;
1006
- type: PropType<string | string[]>;
1007
- };
1008
- }>, {
1009
- BaseAutocomplete: typeof BaseAutocomplete;
1010
- t: typeof t;
1011
- showLoading: typeof showLoading;
1012
- firstSearch: typeof firstSearch;
1013
- keywords: typeof keywords;
1014
- page: typeof page;
1015
- options: typeof options;
1016
- autocomplete: typeof autocomplete;
1017
- onTyping: typeof onTyping;
1018
- onOpen: typeof onOpen;
1019
- onClear: typeof onClear;
1020
- scrollBottom: typeof scrollBottom;
1021
- filterOptions: typeof filterOptions;
1022
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1023
- focus: (...args: any[]) => void;
1024
- clear: (...args: any[]) => void;
1025
- "update:modelValue": (...args: any[]) => void;
1026
- scrollBottom: (...args: any[]) => void;
1027
- typing: (...args: any[]) => void;
1028
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
36
+ };
37
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1029
38
  modelValue: {
1030
39
  default: undefined;
1031
40
  type: PropType<RawOption | null | undefined>;
@@ -1114,126 +123,9 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
1114
123
  default: undefined;
1115
124
  type: PropType<(option: RawOption) => string>;
1116
125
  };
1117
- twInput: {
1118
- default: undefined;
1119
- type: PropType<string | string[]>;
1120
- };
1121
- }>> & Readonly<{
1122
- onFocus?: ((...args: any[]) => any) | undefined;
1123
- onClear?: ((...args: any[]) => any) | undefined;
1124
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1125
- onScrollBottom?: ((...args: any[]) => any) | undefined;
1126
- onTyping?: ((...args: any[]) => any) | undefined;
1127
- }>, {
1128
- select: SelectConfiguration | undefined;
1129
- size: "xs" | "sm" | "md" | "lg" | "xl";
1130
- required: boolean;
1131
- inline: boolean;
1132
- disabled: boolean;
1133
- name: string;
1134
- modelValue: RawOption | null | undefined;
1135
- placeholder: string;
1136
- hasError: boolean;
1137
- visibleFocus: boolean;
1138
- optionColor: (option: RawOption) => string;
1139
- optionIcon: (option: RawOption) => string;
1140
- dropdownShow: "always" | "focus";
1141
- showModelValue: boolean;
1142
- focusOnMount: boolean;
1143
- showEmptyOption: boolean;
1144
- showRemoveButton: boolean;
1145
- emptyOptionLabel: string;
1146
- twInput: string | string[];
1147
- queryKey: string;
1148
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1149
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1150
- modelValue: {
1151
- default: undefined;
1152
- type: PropType<RawOption | null | undefined>;
1153
- };
1154
- url: {
1155
- required: true;
1156
- type: StringConstructor;
1157
- };
1158
- labelKey: {
1159
- required: true;
1160
- type: PropType<string | ((option: RawOption) => string)>;
1161
- };
1162
- valueKey: {
1163
- required: true;
1164
- type: PropType<string | ((option: RawOption) => string)>;
1165
- };
1166
- name: {
1167
- default: undefined;
1168
- type: StringConstructor;
1169
- };
1170
- placeholder: {
1171
- default: undefined;
1172
- type: StringConstructor;
1173
- };
1174
- required: {
1175
- default: boolean;
1176
- type: BooleanConstructor;
1177
- };
1178
- disabled: {
1179
- default: boolean;
1180
- type: BooleanConstructor;
1181
- };
1182
- queryKey: {
1183
- default: string;
1184
- type: StringConstructor;
1185
- };
1186
- hasError: {
1187
- default: boolean;
1188
- type: BooleanConstructor;
1189
- };
1190
- inline: {
1191
- default: boolean;
1192
- type: BooleanConstructor;
1193
- };
1194
- size: {
1195
- default: undefined;
1196
- type: PropType<Size>;
1197
- };
1198
- dropdownShow: {
1199
- default: string;
1200
- type: PropType<"focus" | "always">;
1201
- };
1202
- showModelValue: {
1203
- default: boolean;
1204
- type: BooleanConstructor;
1205
- };
1206
- visibleFocus: {
1207
- default: boolean;
1208
- type: BooleanConstructor;
1209
- };
1210
- focusOnMount: {
1211
- default: boolean;
1212
- type: BooleanConstructor;
1213
- };
1214
- showEmptyOption: {
1215
- default: boolean;
1216
- type: BooleanConstructor;
1217
- };
1218
- showRemoveButton: {
1219
- default: boolean;
1220
- type: BooleanConstructor;
1221
- };
1222
- emptyOptionLabel: {
1223
- default: undefined;
1224
- type: StringConstructor;
1225
- };
1226
- select: {
1227
- default: undefined;
1228
- type: PropType<SelectConfiguration | undefined>;
1229
- };
1230
- optionColor: {
1231
- default: undefined;
1232
- type: PropType<(option: RawOption) => string>;
1233
- };
1234
- optionIcon: {
126
+ icon: {
1235
127
  default: undefined;
1236
- type: PropType<(option: RawOption) => string>;
128
+ type: PropType<string>;
1237
129
  };
1238
130
  twInput: {
1239
131
  default: undefined;
@@ -1340,6 +232,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
1340
232
  default: undefined;
1341
233
  type: PropType<(option: RawOption) => string>;
1342
234
  };
235
+ icon: {
236
+ default: undefined;
237
+ type: PropType<string>;
238
+ };
1343
239
  twInput: {
1344
240
  default: undefined;
1345
241
  type: PropType<string | string[]>;
@@ -1352,13 +248,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
1352
248
  onTyping?: ((...args: any[]) => any) | undefined;
1353
249
  }>, {
1354
250
  select: SelectConfiguration | undefined;
251
+ placeholder: string;
252
+ inline: boolean;
1355
253
  size: "xs" | "sm" | "md" | "lg" | "xl";
1356
254
  required: boolean;
1357
- inline: boolean;
255
+ icon: string;
1358
256
  disabled: boolean;
1359
257
  name: string;
1360
258
  modelValue: RawOption | null | undefined;
1361
- placeholder: string;
1362
259
  hasError: boolean;
1363
260
  visibleFocus: boolean;
1364
261
  optionColor: (option: RawOption) => string;