sprintify-ui 0.10.13 → 0.10.15

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