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,3 +1,4 @@
1
+ import BaseAutocompleteFetch from './BaseAutocompleteFetch.vue';
1
2
  import { RawOption, SelectConfiguration } from '@/types';
2
3
  import { Size } from '@/utils/sizes';
3
4
  type __VLS_Props = {
@@ -23,10 +24,331 @@ type __VLS_Props = {
23
24
  emptyOptionLabel?: string;
24
25
  select?: SelectConfiguration;
25
26
  };
26
- declare function __VLS_template(): {
27
- attrs: Partial<{}>;
28
- slots: {
29
- option?(_: {
27
+ declare const autocompleteFetch: import("vue").Ref<({
28
+ $: import("vue").ComponentInternalInstance;
29
+ $data: {};
30
+ $props: Partial<{
31
+ select: SelectConfiguration | undefined;
32
+ size: "xs" | "sm" | "md" | "lg" | "xl";
33
+ required: boolean;
34
+ inline: boolean;
35
+ disabled: boolean;
36
+ name: string;
37
+ modelValue: RawOption | null | undefined;
38
+ placeholder: string;
39
+ hasError: boolean;
40
+ visibleFocus: boolean;
41
+ dropdownShow: "always" | "focus";
42
+ showModelValue: boolean;
43
+ focusOnMount: boolean;
44
+ showEmptyOption: boolean;
45
+ showRemoveButton: boolean;
46
+ emptyOptionLabel: string;
47
+ twInput: string | string[];
48
+ queryKey: string;
49
+ }> & Omit<{
50
+ readonly required: boolean;
51
+ readonly inline: boolean;
52
+ readonly disabled: boolean;
53
+ readonly hasError: boolean;
54
+ readonly visibleFocus: boolean;
55
+ readonly url: string;
56
+ readonly labelKey: string;
57
+ readonly valueKey: string;
58
+ readonly dropdownShow: "always" | "focus";
59
+ readonly showModelValue: boolean;
60
+ readonly focusOnMount: boolean;
61
+ readonly showEmptyOption: boolean;
62
+ readonly showRemoveButton: boolean;
63
+ readonly queryKey: string;
64
+ readonly select?: SelectConfiguration | undefined;
65
+ readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
66
+ readonly name?: string | undefined;
67
+ readonly modelValue?: RawOption | null | undefined;
68
+ readonly placeholder?: string | undefined;
69
+ readonly emptyOptionLabel?: string | undefined;
70
+ readonly twInput?: string | string[] | undefined;
71
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
72
+ readonly onClear?: ((...args: any[]) => any) | undefined;
73
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
74
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
75
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
76
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
77
+ $attrs: {
78
+ [x: string]: unknown;
79
+ };
80
+ $refs: {
81
+ [x: string]: unknown;
82
+ };
83
+ $slots: Readonly<{
84
+ [name: string]: import("vue").Slot<any> | undefined;
85
+ }>;
86
+ $root: import("vue").ComponentPublicInstance | null;
87
+ $parent: import("vue").ComponentPublicInstance | null;
88
+ $host: Element | null;
89
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
90
+ $el: any;
91
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
92
+ modelValue: {
93
+ default: undefined;
94
+ type: import("vue").PropType<RawOption | null | undefined>;
95
+ };
96
+ url: {
97
+ required: true;
98
+ type: StringConstructor;
99
+ };
100
+ labelKey: {
101
+ required: true;
102
+ type: StringConstructor;
103
+ };
104
+ valueKey: {
105
+ required: true;
106
+ type: StringConstructor;
107
+ };
108
+ name: {
109
+ default: undefined;
110
+ type: StringConstructor;
111
+ };
112
+ placeholder: {
113
+ default: undefined;
114
+ type: StringConstructor;
115
+ };
116
+ required: {
117
+ default: boolean;
118
+ type: BooleanConstructor;
119
+ };
120
+ disabled: {
121
+ default: boolean;
122
+ type: BooleanConstructor;
123
+ };
124
+ queryKey: {
125
+ default: string;
126
+ type: StringConstructor;
127
+ };
128
+ hasError: {
129
+ default: boolean;
130
+ type: BooleanConstructor;
131
+ };
132
+ inline: {
133
+ default: boolean;
134
+ type: BooleanConstructor;
135
+ };
136
+ size: {
137
+ default: undefined;
138
+ type: import("vue").PropType<Size>;
139
+ };
140
+ dropdownShow: {
141
+ default: string;
142
+ type: import("vue").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: undefined;
166
+ type: StringConstructor;
167
+ };
168
+ select: {
169
+ default: undefined;
170
+ type: import("vue").PropType<SelectConfiguration | undefined>;
171
+ };
172
+ twInput: {
173
+ default: undefined;
174
+ type: import("vue").PropType<string | string[]>;
175
+ };
176
+ }>> & Readonly<{
177
+ onFocus?: ((...args: any[]) => any) | undefined;
178
+ onClear?: ((...args: any[]) => any) | undefined;
179
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
180
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
181
+ onTyping?: ((...args: any[]) => any) | undefined;
182
+ }>, {
183
+ focus: () => void | undefined;
184
+ blur: () => void | undefined;
185
+ open: () => void | undefined;
186
+ close: () => void | undefined;
187
+ setKeywords: (input: string) => void | undefined;
188
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
189
+ focus: (...args: any[]) => void;
190
+ clear: (...args: any[]) => void;
191
+ "update:modelValue": (...args: any[]) => void;
192
+ scrollBottom: (...args: any[]) => void;
193
+ typing: (...args: any[]) => void;
194
+ }, string, {
195
+ select: SelectConfiguration | undefined;
196
+ size: "xs" | "sm" | "md" | "lg" | "xl";
197
+ required: boolean;
198
+ inline: boolean;
199
+ disabled: boolean;
200
+ name: string;
201
+ modelValue: RawOption | null | undefined;
202
+ placeholder: string;
203
+ hasError: boolean;
204
+ visibleFocus: boolean;
205
+ dropdownShow: "always" | "focus";
206
+ showModelValue: boolean;
207
+ focusOnMount: boolean;
208
+ showEmptyOption: boolean;
209
+ showRemoveButton: boolean;
210
+ emptyOptionLabel: string;
211
+ twInput: string | string[];
212
+ queryKey: string;
213
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
214
+ beforeCreate?: (() => void) | (() => void)[];
215
+ created?: (() => void) | (() => void)[];
216
+ beforeMount?: (() => void) | (() => void)[];
217
+ mounted?: (() => void) | (() => void)[];
218
+ beforeUpdate?: (() => void) | (() => void)[];
219
+ updated?: (() => void) | (() => void)[];
220
+ activated?: (() => void) | (() => void)[];
221
+ deactivated?: (() => void) | (() => void)[];
222
+ beforeDestroy?: (() => void) | (() => void)[];
223
+ beforeUnmount?: (() => void) | (() => void)[];
224
+ destroyed?: (() => void) | (() => void)[];
225
+ unmounted?: (() => void) | (() => void)[];
226
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
227
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
228
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
229
+ };
230
+ $forceUpdate: () => void;
231
+ $nextTick: typeof import("vue").nextTick;
232
+ $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;
233
+ } & Readonly<{
234
+ select: SelectConfiguration | undefined;
235
+ size: "xs" | "sm" | "md" | "lg" | "xl";
236
+ required: boolean;
237
+ inline: boolean;
238
+ disabled: boolean;
239
+ name: string;
240
+ modelValue: RawOption | null | undefined;
241
+ placeholder: string;
242
+ hasError: boolean;
243
+ visibleFocus: boolean;
244
+ dropdownShow: "always" | "focus";
245
+ showModelValue: boolean;
246
+ focusOnMount: boolean;
247
+ showEmptyOption: boolean;
248
+ showRemoveButton: boolean;
249
+ emptyOptionLabel: string;
250
+ twInput: string | string[];
251
+ queryKey: string;
252
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
253
+ modelValue: {
254
+ default: undefined;
255
+ type: import("vue").PropType<RawOption | null | undefined>;
256
+ };
257
+ url: {
258
+ required: true;
259
+ type: StringConstructor;
260
+ };
261
+ labelKey: {
262
+ required: true;
263
+ type: StringConstructor;
264
+ };
265
+ valueKey: {
266
+ required: true;
267
+ type: StringConstructor;
268
+ };
269
+ name: {
270
+ default: undefined;
271
+ type: StringConstructor;
272
+ };
273
+ placeholder: {
274
+ default: undefined;
275
+ type: StringConstructor;
276
+ };
277
+ required: {
278
+ default: boolean;
279
+ type: BooleanConstructor;
280
+ };
281
+ disabled: {
282
+ default: boolean;
283
+ type: BooleanConstructor;
284
+ };
285
+ queryKey: {
286
+ default: string;
287
+ type: StringConstructor;
288
+ };
289
+ hasError: {
290
+ default: boolean;
291
+ type: BooleanConstructor;
292
+ };
293
+ inline: {
294
+ default: boolean;
295
+ type: BooleanConstructor;
296
+ };
297
+ size: {
298
+ default: undefined;
299
+ type: import("vue").PropType<Size>;
300
+ };
301
+ dropdownShow: {
302
+ default: string;
303
+ type: import("vue").PropType<"focus" | "always">;
304
+ };
305
+ showModelValue: {
306
+ default: boolean;
307
+ type: BooleanConstructor;
308
+ };
309
+ visibleFocus: {
310
+ default: boolean;
311
+ type: BooleanConstructor;
312
+ };
313
+ focusOnMount: {
314
+ default: boolean;
315
+ type: BooleanConstructor;
316
+ };
317
+ showEmptyOption: {
318
+ default: boolean;
319
+ type: BooleanConstructor;
320
+ };
321
+ showRemoveButton: {
322
+ default: boolean;
323
+ type: BooleanConstructor;
324
+ };
325
+ emptyOptionLabel: {
326
+ default: undefined;
327
+ type: StringConstructor;
328
+ };
329
+ select: {
330
+ default: undefined;
331
+ type: import("vue").PropType<SelectConfiguration | undefined>;
332
+ };
333
+ twInput: {
334
+ default: undefined;
335
+ type: import("vue").PropType<string | string[]>;
336
+ };
337
+ }>> & Readonly<{
338
+ onFocus?: ((...args: any[]) => any) | undefined;
339
+ onClear?: ((...args: any[]) => any) | undefined;
340
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
341
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
342
+ onTyping?: ((...args: any[]) => any) | undefined;
343
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
344
+ focus: () => void | undefined;
345
+ blur: () => void | undefined;
346
+ open: () => void | undefined;
347
+ close: () => void | undefined;
348
+ setKeywords: (input: string) => void | undefined;
349
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
350
+ $slots: {
351
+ option?: ((props: {
30
352
  focus: () => void;
31
353
  blur: () => void;
32
354
  open: () => void;
@@ -35,381 +357,440 @@ declare function __VLS_template(): {
35
357
  option: RawOption;
36
358
  selected: boolean;
37
359
  active: boolean;
38
- }): any;
39
- empty?(_: {
360
+ }) => any) | undefined;
361
+ footer?: ((props: {
362
+ keywords: string;
363
+ focus: () => void;
364
+ blur: () => void;
365
+ open: () => void;
366
+ close: () => void;
367
+ options: import("@/types").NormalizedOption[];
368
+ }) => any) | undefined;
369
+ empty?: ((props: {
40
370
  firstSearch: boolean;
41
371
  focus: () => void;
42
372
  blur: () => void;
43
373
  open: () => void;
44
374
  close: () => void;
45
375
  keywords: import("vue").ComputedRef<string>;
46
- }): any;
47
- footer?(_: {
376
+ }) => any) | undefined;
377
+ };
378
+ }) | null, ({
379
+ $: import("vue").ComponentInternalInstance;
380
+ $data: {};
381
+ $props: Partial<{
382
+ select: SelectConfiguration | undefined;
383
+ size: "xs" | "sm" | "md" | "lg" | "xl";
384
+ required: boolean;
385
+ inline: boolean;
386
+ disabled: boolean;
387
+ name: string;
388
+ modelValue: RawOption | null | undefined;
389
+ placeholder: string;
390
+ hasError: boolean;
391
+ visibleFocus: boolean;
392
+ dropdownShow: "always" | "focus";
393
+ showModelValue: boolean;
394
+ focusOnMount: boolean;
395
+ showEmptyOption: boolean;
396
+ showRemoveButton: boolean;
397
+ emptyOptionLabel: string;
398
+ twInput: string | string[];
399
+ queryKey: string;
400
+ }> & Omit<{
401
+ readonly required: boolean;
402
+ readonly inline: boolean;
403
+ readonly disabled: boolean;
404
+ readonly hasError: boolean;
405
+ readonly visibleFocus: boolean;
406
+ readonly url: string;
407
+ readonly labelKey: string;
408
+ readonly valueKey: string;
409
+ readonly dropdownShow: "always" | "focus";
410
+ readonly showModelValue: boolean;
411
+ readonly focusOnMount: boolean;
412
+ readonly showEmptyOption: boolean;
413
+ readonly showRemoveButton: boolean;
414
+ readonly queryKey: string;
415
+ readonly select?: SelectConfiguration | undefined;
416
+ readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
417
+ readonly name?: string | undefined;
418
+ readonly modelValue?: RawOption | null | undefined;
419
+ readonly placeholder?: string | undefined;
420
+ readonly emptyOptionLabel?: string | undefined;
421
+ readonly twInput?: string | string[] | undefined;
422
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
423
+ readonly onClear?: ((...args: any[]) => any) | undefined;
424
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
425
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
426
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
427
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
428
+ $attrs: {
429
+ [x: string]: unknown;
430
+ };
431
+ $refs: {
432
+ [x: string]: unknown;
433
+ };
434
+ $slots: Readonly<{
435
+ [name: string]: import("vue").Slot<any> | undefined;
436
+ }>;
437
+ $root: import("vue").ComponentPublicInstance | null;
438
+ $parent: import("vue").ComponentPublicInstance | null;
439
+ $host: Element | null;
440
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
441
+ $el: any;
442
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
443
+ modelValue: {
444
+ default: undefined;
445
+ type: import("vue").PropType<RawOption | null | undefined>;
446
+ };
447
+ url: {
448
+ required: true;
449
+ type: StringConstructor;
450
+ };
451
+ labelKey: {
452
+ required: true;
453
+ type: StringConstructor;
454
+ };
455
+ valueKey: {
456
+ required: true;
457
+ type: StringConstructor;
458
+ };
459
+ name: {
460
+ default: undefined;
461
+ type: StringConstructor;
462
+ };
463
+ placeholder: {
464
+ default: undefined;
465
+ type: StringConstructor;
466
+ };
467
+ required: {
468
+ default: boolean;
469
+ type: BooleanConstructor;
470
+ };
471
+ disabled: {
472
+ default: boolean;
473
+ type: BooleanConstructor;
474
+ };
475
+ queryKey: {
476
+ default: string;
477
+ type: StringConstructor;
478
+ };
479
+ hasError: {
480
+ default: boolean;
481
+ type: BooleanConstructor;
482
+ };
483
+ inline: {
484
+ default: boolean;
485
+ type: BooleanConstructor;
486
+ };
487
+ size: {
488
+ default: undefined;
489
+ type: import("vue").PropType<Size>;
490
+ };
491
+ dropdownShow: {
492
+ default: string;
493
+ type: import("vue").PropType<"focus" | "always">;
494
+ };
495
+ showModelValue: {
496
+ default: boolean;
497
+ type: BooleanConstructor;
498
+ };
499
+ visibleFocus: {
500
+ default: boolean;
501
+ type: BooleanConstructor;
502
+ };
503
+ focusOnMount: {
504
+ default: boolean;
505
+ type: BooleanConstructor;
506
+ };
507
+ showEmptyOption: {
508
+ default: boolean;
509
+ type: BooleanConstructor;
510
+ };
511
+ showRemoveButton: {
512
+ default: boolean;
513
+ type: BooleanConstructor;
514
+ };
515
+ emptyOptionLabel: {
516
+ default: undefined;
517
+ type: StringConstructor;
518
+ };
519
+ select: {
520
+ default: undefined;
521
+ type: import("vue").PropType<SelectConfiguration | undefined>;
522
+ };
523
+ twInput: {
524
+ default: undefined;
525
+ type: import("vue").PropType<string | string[]>;
526
+ };
527
+ }>> & Readonly<{
528
+ onFocus?: ((...args: any[]) => any) | undefined;
529
+ onClear?: ((...args: any[]) => any) | undefined;
530
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
531
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
532
+ onTyping?: ((...args: any[]) => any) | undefined;
533
+ }>, {
534
+ focus: () => void | undefined;
535
+ blur: () => void | undefined;
536
+ open: () => void | undefined;
537
+ close: () => void | undefined;
538
+ setKeywords: (input: string) => void | undefined;
539
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
540
+ focus: (...args: any[]) => void;
541
+ clear: (...args: any[]) => void;
542
+ "update:modelValue": (...args: any[]) => void;
543
+ scrollBottom: (...args: any[]) => void;
544
+ typing: (...args: any[]) => void;
545
+ }, string, {
546
+ select: SelectConfiguration | undefined;
547
+ size: "xs" | "sm" | "md" | "lg" | "xl";
548
+ required: boolean;
549
+ inline: boolean;
550
+ disabled: boolean;
551
+ name: string;
552
+ modelValue: RawOption | null | undefined;
553
+ placeholder: string;
554
+ hasError: boolean;
555
+ visibleFocus: boolean;
556
+ dropdownShow: "always" | "focus";
557
+ showModelValue: boolean;
558
+ focusOnMount: boolean;
559
+ showEmptyOption: boolean;
560
+ showRemoveButton: boolean;
561
+ emptyOptionLabel: string;
562
+ twInput: string | string[];
563
+ queryKey: string;
564
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
565
+ beforeCreate?: (() => void) | (() => void)[];
566
+ created?: (() => void) | (() => void)[];
567
+ beforeMount?: (() => void) | (() => void)[];
568
+ mounted?: (() => void) | (() => void)[];
569
+ beforeUpdate?: (() => void) | (() => void)[];
570
+ updated?: (() => void) | (() => void)[];
571
+ activated?: (() => void) | (() => void)[];
572
+ deactivated?: (() => void) | (() => void)[];
573
+ beforeDestroy?: (() => void) | (() => void)[];
574
+ beforeUnmount?: (() => void) | (() => void)[];
575
+ destroyed?: (() => void) | (() => void)[];
576
+ unmounted?: (() => void) | (() => void)[];
577
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
578
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
579
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
580
+ };
581
+ $forceUpdate: () => void;
582
+ $nextTick: typeof import("vue").nextTick;
583
+ $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;
584
+ } & Readonly<{
585
+ select: SelectConfiguration | undefined;
586
+ size: "xs" | "sm" | "md" | "lg" | "xl";
587
+ required: boolean;
588
+ inline: boolean;
589
+ disabled: boolean;
590
+ name: string;
591
+ modelValue: RawOption | null | undefined;
592
+ placeholder: string;
593
+ hasError: boolean;
594
+ visibleFocus: boolean;
595
+ dropdownShow: "always" | "focus";
596
+ showModelValue: boolean;
597
+ focusOnMount: boolean;
598
+ showEmptyOption: boolean;
599
+ showRemoveButton: boolean;
600
+ emptyOptionLabel: string;
601
+ twInput: string | string[];
602
+ queryKey: string;
603
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
604
+ modelValue: {
605
+ default: undefined;
606
+ type: import("vue").PropType<RawOption | null | undefined>;
607
+ };
608
+ url: {
609
+ required: true;
610
+ type: StringConstructor;
611
+ };
612
+ labelKey: {
613
+ required: true;
614
+ type: StringConstructor;
615
+ };
616
+ valueKey: {
617
+ required: true;
618
+ type: StringConstructor;
619
+ };
620
+ name: {
621
+ default: undefined;
622
+ type: StringConstructor;
623
+ };
624
+ placeholder: {
625
+ default: undefined;
626
+ type: StringConstructor;
627
+ };
628
+ required: {
629
+ default: boolean;
630
+ type: BooleanConstructor;
631
+ };
632
+ disabled: {
633
+ default: boolean;
634
+ type: BooleanConstructor;
635
+ };
636
+ queryKey: {
637
+ default: string;
638
+ type: StringConstructor;
639
+ };
640
+ hasError: {
641
+ default: boolean;
642
+ type: BooleanConstructor;
643
+ };
644
+ inline: {
645
+ default: boolean;
646
+ type: BooleanConstructor;
647
+ };
648
+ size: {
649
+ default: undefined;
650
+ type: import("vue").PropType<Size>;
651
+ };
652
+ dropdownShow: {
653
+ default: string;
654
+ type: import("vue").PropType<"focus" | "always">;
655
+ };
656
+ showModelValue: {
657
+ default: boolean;
658
+ type: BooleanConstructor;
659
+ };
660
+ visibleFocus: {
661
+ default: boolean;
662
+ type: BooleanConstructor;
663
+ };
664
+ focusOnMount: {
665
+ default: boolean;
666
+ type: BooleanConstructor;
667
+ };
668
+ showEmptyOption: {
669
+ default: boolean;
670
+ type: BooleanConstructor;
671
+ };
672
+ showRemoveButton: {
673
+ default: boolean;
674
+ type: BooleanConstructor;
675
+ };
676
+ emptyOptionLabel: {
677
+ default: undefined;
678
+ type: StringConstructor;
679
+ };
680
+ select: {
681
+ default: undefined;
682
+ type: import("vue").PropType<SelectConfiguration | undefined>;
683
+ };
684
+ twInput: {
685
+ default: undefined;
686
+ type: import("vue").PropType<string | string[]>;
687
+ };
688
+ }>> & Readonly<{
689
+ onFocus?: ((...args: any[]) => any) | undefined;
690
+ onClear?: ((...args: any[]) => any) | undefined;
691
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
692
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
693
+ onTyping?: ((...args: any[]) => any) | undefined;
694
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
695
+ focus: () => void | undefined;
696
+ blur: () => void | undefined;
697
+ open: () => void | undefined;
698
+ close: () => void | undefined;
699
+ setKeywords: (input: string) => void | undefined;
700
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
701
+ $slots: {
702
+ option?: ((props: {
703
+ focus: () => void;
704
+ blur: () => void;
705
+ open: () => void;
706
+ close: () => void;
707
+ keywords: import("vue").ComputedRef<string>;
708
+ option: RawOption;
709
+ selected: boolean;
710
+ active: boolean;
711
+ }) => any) | undefined;
712
+ footer?: ((props: {
48
713
  keywords: string;
49
714
  focus: () => void;
50
715
  blur: () => void;
51
716
  open: () => void;
52
717
  close: () => void;
53
718
  options: import("@/types").NormalizedOption[];
54
- }): any;
55
- };
56
- refs: {
57
- autocompleteFetch: ({
58
- $: import("vue").ComponentInternalInstance;
59
- $data: {};
60
- $props: Partial<{
61
- select: SelectConfiguration | undefined;
62
- size: "xs" | "sm" | "md" | "lg" | "xl";
63
- required: boolean;
64
- inline: boolean;
65
- disabled: boolean;
66
- name: string;
67
- modelValue: RawOption | null | undefined;
68
- placeholder: string;
69
- hasError: boolean;
70
- visibleFocus: boolean;
71
- dropdownShow: "always" | "focus";
72
- showModelValue: boolean;
73
- focusOnMount: boolean;
74
- showEmptyOption: boolean;
75
- showRemoveButton: boolean;
76
- emptyOptionLabel: string;
77
- twInput: string | string[];
78
- queryKey: string;
79
- }> & Omit<{
80
- readonly required: boolean;
81
- readonly inline: boolean;
82
- readonly disabled: boolean;
83
- readonly hasError: boolean;
84
- readonly visibleFocus: boolean;
85
- readonly url: string;
86
- readonly labelKey: string;
87
- readonly valueKey: string;
88
- readonly dropdownShow: "always" | "focus";
89
- readonly showModelValue: boolean;
90
- readonly focusOnMount: boolean;
91
- readonly showEmptyOption: boolean;
92
- readonly showRemoveButton: boolean;
93
- readonly queryKey: string;
94
- readonly select?: SelectConfiguration | undefined;
95
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
96
- readonly name?: string | undefined;
97
- readonly modelValue?: RawOption | null | undefined;
98
- readonly placeholder?: string | undefined;
99
- readonly emptyOptionLabel?: string | undefined;
100
- readonly twInput?: string | string[] | undefined;
101
- readonly onFocus?: ((...args: any[]) => any) | undefined;
102
- readonly onClear?: ((...args: any[]) => any) | undefined;
103
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
104
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
105
- readonly onTyping?: ((...args: any[]) => any) | undefined;
106
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
107
- $attrs: {
108
- [x: string]: unknown;
109
- };
110
- $refs: {
111
- [x: string]: unknown;
112
- };
113
- $slots: Readonly<{
114
- [name: string]: import("vue").Slot<any> | undefined;
115
- }>;
116
- $root: import("vue").ComponentPublicInstance | null;
117
- $parent: import("vue").ComponentPublicInstance | null;
118
- $host: Element | null;
119
- $emit: ((event: "focus", ...args: any[]) => void) & ((event: "clear", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
120
- $el: HTMLDivElement;
121
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
122
- modelValue: {
123
- default: undefined;
124
- type: import("vue").PropType<RawOption | null | undefined>;
125
- };
126
- url: {
127
- required: true;
128
- type: StringConstructor;
129
- };
130
- labelKey: {
131
- required: true;
132
- type: StringConstructor;
133
- };
134
- valueKey: {
135
- required: true;
136
- type: StringConstructor;
137
- };
138
- name: {
139
- default: undefined;
140
- type: StringConstructor;
141
- };
142
- placeholder: {
143
- default: undefined;
144
- type: StringConstructor;
145
- };
146
- required: {
147
- default: boolean;
148
- type: BooleanConstructor;
149
- };
150
- disabled: {
151
- default: boolean;
152
- type: BooleanConstructor;
153
- };
154
- queryKey: {
155
- default: string;
156
- type: StringConstructor;
157
- };
158
- hasError: {
159
- default: boolean;
160
- type: BooleanConstructor;
161
- };
162
- inline: {
163
- default: boolean;
164
- type: BooleanConstructor;
165
- };
166
- size: {
167
- default: undefined;
168
- type: import("vue").PropType<Size>;
169
- };
170
- dropdownShow: {
171
- default: string;
172
- type: import("vue").PropType<"focus" | "always">;
173
- };
174
- showModelValue: {
175
- default: boolean;
176
- type: BooleanConstructor;
177
- };
178
- visibleFocus: {
179
- default: boolean;
180
- type: BooleanConstructor;
181
- };
182
- focusOnMount: {
183
- default: boolean;
184
- type: BooleanConstructor;
185
- };
186
- showEmptyOption: {
187
- default: boolean;
188
- type: BooleanConstructor;
189
- };
190
- showRemoveButton: {
191
- default: boolean;
192
- type: BooleanConstructor;
193
- };
194
- emptyOptionLabel: {
195
- default: undefined;
196
- type: StringConstructor;
197
- };
198
- select: {
199
- default: undefined;
200
- type: import("vue").PropType<SelectConfiguration | undefined>;
201
- };
202
- twInput: {
203
- default: undefined;
204
- type: import("vue").PropType<string | string[]>;
205
- };
206
- }>> & Readonly<{
207
- onFocus?: ((...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 | undefined;
214
- blur: () => void | undefined;
215
- open: () => void | undefined;
216
- close: () => void | undefined;
217
- setKeywords: (input: string) => void | undefined;
218
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
219
- focus: (...args: any[]) => void;
220
- clear: (...args: any[]) => void;
221
- "update:modelValue": (...args: any[]) => void;
222
- scrollBottom: (...args: any[]) => void;
223
- typing: (...args: any[]) => void;
224
- }, string, {
225
- select: SelectConfiguration | undefined;
226
- size: "xs" | "sm" | "md" | "lg" | "xl";
227
- required: boolean;
228
- inline: boolean;
229
- disabled: boolean;
230
- name: string;
231
- modelValue: RawOption | null | undefined;
232
- placeholder: string;
233
- hasError: boolean;
234
- visibleFocus: boolean;
235
- dropdownShow: "always" | "focus";
236
- showModelValue: boolean;
237
- focusOnMount: boolean;
238
- showEmptyOption: boolean;
239
- showRemoveButton: boolean;
240
- emptyOptionLabel: string;
241
- twInput: string | string[];
242
- queryKey: string;
243
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
244
- beforeCreate?: (() => void) | (() => void)[];
245
- created?: (() => void) | (() => void)[];
246
- beforeMount?: (() => void) | (() => void)[];
247
- mounted?: (() => void) | (() => void)[];
248
- beforeUpdate?: (() => void) | (() => void)[];
249
- updated?: (() => void) | (() => void)[];
250
- activated?: (() => void) | (() => void)[];
251
- deactivated?: (() => void) | (() => void)[];
252
- beforeDestroy?: (() => void) | (() => void)[];
253
- beforeUnmount?: (() => void) | (() => void)[];
254
- destroyed?: (() => void) | (() => void)[];
255
- unmounted?: (() => void) | (() => void)[];
256
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
257
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
258
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
259
- };
260
- $forceUpdate: () => void;
261
- $nextTick: typeof import("vue").nextTick;
262
- $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;
263
- } & Readonly<{
264
- select: SelectConfiguration | undefined;
265
- size: "xs" | "sm" | "md" | "lg" | "xl";
266
- required: boolean;
267
- inline: boolean;
268
- disabled: boolean;
269
- name: string;
270
- modelValue: RawOption | null | undefined;
271
- placeholder: string;
272
- hasError: boolean;
273
- visibleFocus: boolean;
274
- dropdownShow: "always" | "focus";
275
- showModelValue: boolean;
276
- focusOnMount: boolean;
277
- showEmptyOption: boolean;
278
- showRemoveButton: boolean;
279
- emptyOptionLabel: string;
280
- twInput: string | string[];
281
- queryKey: string;
282
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
283
- modelValue: {
284
- default: undefined;
285
- type: import("vue").PropType<RawOption | null | undefined>;
286
- };
287
- url: {
288
- required: true;
289
- type: StringConstructor;
290
- };
291
- labelKey: {
292
- required: true;
293
- type: StringConstructor;
294
- };
295
- valueKey: {
296
- required: true;
297
- type: StringConstructor;
298
- };
299
- name: {
300
- default: undefined;
301
- type: StringConstructor;
302
- };
303
- placeholder: {
304
- default: undefined;
305
- type: StringConstructor;
306
- };
307
- required: {
308
- default: boolean;
309
- type: BooleanConstructor;
310
- };
311
- disabled: {
312
- default: boolean;
313
- type: BooleanConstructor;
314
- };
315
- queryKey: {
316
- default: string;
317
- type: StringConstructor;
318
- };
319
- hasError: {
320
- default: boolean;
321
- type: BooleanConstructor;
322
- };
323
- inline: {
324
- default: boolean;
325
- type: BooleanConstructor;
326
- };
327
- size: {
328
- default: undefined;
329
- type: import("vue").PropType<Size>;
330
- };
331
- dropdownShow: {
332
- default: string;
333
- type: import("vue").PropType<"focus" | "always">;
334
- };
335
- showModelValue: {
336
- default: boolean;
337
- type: BooleanConstructor;
338
- };
339
- visibleFocus: {
340
- default: boolean;
341
- type: BooleanConstructor;
342
- };
343
- focusOnMount: {
344
- default: boolean;
345
- type: BooleanConstructor;
346
- };
347
- showEmptyOption: {
348
- default: boolean;
349
- type: BooleanConstructor;
350
- };
351
- showRemoveButton: {
352
- default: boolean;
353
- type: BooleanConstructor;
354
- };
355
- emptyOptionLabel: {
356
- default: undefined;
357
- type: StringConstructor;
358
- };
359
- select: {
360
- default: undefined;
361
- type: import("vue").PropType<SelectConfiguration | undefined>;
362
- };
363
- twInput: {
364
- default: undefined;
365
- type: import("vue").PropType<string | string[]>;
366
- };
367
- }>> & Readonly<{
368
- onFocus?: ((...args: any[]) => any) | undefined;
369
- onClear?: ((...args: any[]) => any) | undefined;
370
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
371
- onScrollBottom?: ((...args: any[]) => any) | undefined;
372
- onTyping?: ((...args: any[]) => any) | undefined;
373
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
374
- focus: () => void | undefined;
375
- blur: () => void | undefined;
376
- open: () => void | undefined;
377
- close: () => void | undefined;
378
- setKeywords: (input: string) => void | undefined;
379
- }> & {} & import("vue").ComponentCustomProperties & {} & {
380
- $slots: {
381
- option?(_: {
382
- focus: () => void;
383
- blur: () => void;
384
- open: () => void;
385
- close: () => void;
386
- keywords: import("vue").ComputedRef<string>;
387
- option: RawOption;
388
- selected: boolean;
389
- active: boolean;
390
- }): any;
391
- footer?(_: {
392
- keywords: string;
393
- focus: () => void;
394
- blur: () => void;
395
- open: () => void;
396
- close: () => void;
397
- options: import("@/types").NormalizedOption[];
398
- }): any;
399
- empty?(_: {
400
- firstSearch: boolean;
401
- focus: () => void;
402
- blur: () => void;
403
- open: () => void;
404
- close: () => void;
405
- keywords: import("vue").ComputedRef<string>;
406
- }): any;
407
- };
408
- }) | null;
409
- };
410
- rootEl: HTMLDivElement;
719
+ }) => any) | undefined;
720
+ empty?: ((props: {
721
+ firstSearch: boolean;
722
+ focus: () => void;
723
+ blur: () => void;
724
+ open: () => void;
725
+ close: () => void;
726
+ keywords: import("vue").ComputedRef<string>;
727
+ }) => any) | undefined;
728
+ };
729
+ }) | null>;
730
+ declare const model: import("vue").Ref<RawOption | null, RawOption | null>;
731
+ declare function onUpdate(newModel: RawOption | null): void;
732
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
733
+ declare var __VLS_10: {
734
+ focus: () => void;
735
+ blur: () => void;
736
+ open: () => void;
737
+ close: () => void;
738
+ keywords: import("vue").ComputedRef<string>;
739
+ option: RawOption;
740
+ selected: boolean;
741
+ active: boolean;
742
+ }, __VLS_12: {
743
+ firstSearch: boolean;
744
+ focus: () => void;
745
+ blur: () => void;
746
+ open: () => void;
747
+ close: () => void;
748
+ keywords: import("vue").ComputedRef<string>;
749
+ }, __VLS_14: {
750
+ keywords: string;
751
+ focus: () => void;
752
+ blur: () => void;
753
+ open: () => void;
754
+ close: () => void;
755
+ options: import("@/types").NormalizedOption[];
411
756
  };
412
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
757
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
758
+ option?: (props: typeof __VLS_10) => any;
759
+ } & {
760
+ empty?: (props: typeof __VLS_12) => any;
761
+ } & {
762
+ footer?: (props: typeof __VLS_14) => any;
763
+ }>;
764
+ declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
765
+ BaseAutocompleteFetch: typeof BaseAutocompleteFetch;
766
+ autocompleteFetch: typeof autocompleteFetch;
767
+ model: typeof model;
768
+ onUpdate: typeof onUpdate;
769
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
770
+ "update:modelValue": (...args: any[]) => void;
771
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
772
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
773
+ }>, {
774
+ select: SelectConfiguration;
775
+ size: Size;
776
+ required: boolean;
777
+ inline: boolean;
778
+ disabled: boolean;
779
+ name: string;
780
+ modelValue: string | number | null;
781
+ placeholder: string;
782
+ hasError: boolean;
783
+ visibleFocus: boolean;
784
+ primaryKey: string;
785
+ dropdownShow: "focus" | "always";
786
+ showModelValue: boolean;
787
+ focusOnMount: boolean;
788
+ showEmptyOption: boolean;
789
+ showRemoveButton: boolean;
790
+ emptyOptionLabel: string;
791
+ showRouteUrl: (id: string | number) => string;
792
+ currentModel: RawOption | null;
793
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
413
794
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
414
795
  focus: () => void | undefined;
415
796
  blur: () => void | undefined;
@@ -440,10 +821,10 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
440
821
  emptyOptionLabel: string;
441
822
  showRouteUrl: (id: string | number) => string;
442
823
  currentModel: RawOption | null;
443
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, HTMLDivElement>;
444
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
824
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
825
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
445
826
  export default _default;
446
- type __VLS_WithTemplateSlots<T, S> = T & {
827
+ type __VLS_WithSlots<T, S> = T & {
447
828
  new (): {
448
829
  $slots: S;
449
830
  };