sprintify-ui 0.10.88 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12566 -12743
  3. package/dist/style.css +2 -2
  4. package/dist/types/components/BaseActionItem.vue.d.ts +11 -5
  5. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  6. package/dist/types/components/BaseAlert.vue.d.ts +3 -21
  7. package/dist/types/components/BaseApp.vue.d.ts +2 -9
  8. package/dist/types/components/BaseAutocomplete.vue.d.ts +4 -712
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +2 -125
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +12 -1115
  11. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  12. package/dist/types/components/BaseBadge.vue.d.ts +3 -20
  13. package/dist/types/components/BaseBelongsTo.vue.d.ts +4 -1091
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +6 -795
  15. package/dist/types/components/BaseButton.vue.d.ts +6 -77
  16. package/dist/types/components/BaseButtonGroup.vue.d.ts +3 -159
  17. package/dist/types/components/BaseCard.vue.d.ts +2 -23
  18. package/dist/types/components/BaseCardRow.vue.d.ts +2 -16
  19. package/dist/types/components/BaseCkeditor.vue.d.ts +1 -1
  20. package/dist/types/components/BaseClipboard.vue.d.ts +2 -42
  21. package/dist/types/components/BaseCollapse.vue.d.ts +2 -26
  22. package/dist/types/components/BaseContainer.vue.d.ts +2 -12
  23. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  24. package/dist/types/components/BaseCropper.vue.d.ts +3 -35
  25. package/dist/types/components/BaseDataIterator.vue.d.ts +18 -11
  26. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +2 -10
  27. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +2 -16
  28. package/dist/types/components/BaseDataTable.vue.d.ts +54 -2141
  29. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +2 -584
  30. package/dist/types/components/BaseDatePicker.vue.d.ts +2 -2
  31. package/dist/types/components/BaseDescriptionList.vue.d.ts +2 -7
  32. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +2 -9
  33. package/dist/types/components/BaseDialog.vue.d.ts +3 -110
  34. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +2 -51
  35. package/dist/types/components/BaseDraggable.vue.d.ts +2 -18
  36. package/dist/types/components/BaseDropdown.vue.d.ts +2 -147
  37. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +3 -124
  38. package/dist/types/components/BaseField.vue.d.ts +3 -99
  39. package/dist/types/components/BaseFilePicker.vue.d.ts +2 -28
  40. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +2 -80
  41. package/dist/types/components/BaseFileUploader.vue.d.ts +3 -173
  42. package/dist/types/components/BaseForm.vue.d.ts +3 -150
  43. package/dist/types/components/BaseGantt.vue.d.ts +40 -1141
  44. package/dist/types/components/BaseHasMany.vue.d.ts +3 -598
  45. package/dist/types/components/BaseHasManyFetch.vue.d.ts +3 -589
  46. package/dist/types/components/BaseInput.vue.d.ts +3 -3
  47. package/dist/types/components/BaseInputError.vue.d.ts +2 -19
  48. package/dist/types/components/BaseInputPercent.vue.d.ts +1 -1
  49. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +2 -112
  50. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +2 -113
  51. package/dist/types/components/BaseLayoutStacked.vue.d.ts +2 -52
  52. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +2 -117
  53. package/dist/types/components/BaseLazy.vue.d.ts +2 -13
  54. package/dist/types/components/BaseMediaGallery.vue.d.ts +3 -3
  55. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  56. package/dist/types/components/BaseMediaLibrary.vue.d.ts +3 -207
  57. package/dist/types/components/BaseMediaList.vue.d.ts +3 -3
  58. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  59. package/dist/types/components/BaseMediaPictures.vue.d.ts +3 -3
  60. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  61. package/dist/types/components/BaseMenu.vue.d.ts +2 -209
  62. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  63. package/dist/types/components/BaseModalCenter.vue.d.ts +2 -83
  64. package/dist/types/components/BaseModalSide.vue.d.ts +2 -80
  65. package/dist/types/components/BaseNavbar.vue.d.ts +2 -83
  66. package/dist/types/components/BasePassword.vue.d.ts +1 -1
  67. package/dist/types/components/BaseRadioGroup.vue.d.ts +2 -107
  68. package/dist/types/components/BaseReadMore.vue.d.ts +2 -28
  69. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  70. package/dist/types/components/BaseSelect.vue.d.ts +4 -148
  71. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  72. package/dist/types/components/BaseSideNavigation.vue.d.ts +2 -7
  73. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +3 -19
  74. package/dist/types/components/BaseSkeleton.vue.d.ts +1 -1
  75. package/dist/types/components/BaseSwitch.vue.d.ts +3 -120
  76. package/dist/types/components/BaseSystemAlert.vue.d.ts +3 -55
  77. package/dist/types/components/BaseTabItem.vue.d.ts +4 -27
  78. package/dist/types/components/BaseTable.vue.d.ts +3 -24
  79. package/dist/types/components/BaseTableBody.vue.d.ts +2 -4
  80. package/dist/types/components/BaseTableCell.vue.d.ts +6 -36
  81. package/dist/types/components/BaseTableColumn.vue.d.ts +4 -4
  82. package/dist/types/components/BaseTableHead.vue.d.ts +2 -9
  83. package/dist/types/components/BaseTableHeader.vue.d.ts +4 -40
  84. package/dist/types/components/BaseTableRow.vue.d.ts +4 -38
  85. package/dist/types/components/BaseTabs.vue.d.ts +2 -16
  86. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +4 -636
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -844
  88. package/dist/types/components/BaseTextarea.vue.d.ts +1 -1
  89. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  90. package/dist/types/components/BaseTimePicker.vue.d.ts +1 -1
  91. package/dist/types/components/BaseTooltip.vue.d.ts +2 -35
  92. package/dist/types/services/gantt/types.d.ts +18 -8
  93. package/package.json +6 -9
  94. package/src/changelog.mdx +1 -1
  95. package/src/components/BaseAssign.mdx +1 -1
  96. package/src/components/BaseAutocompleteFetch.vue +5 -0
  97. package/src/components/BaseBelongsToFetch.vue +3 -0
  98. package/src/components/BaseForm.mdx +1 -1
  99. package/src/components/BaseGantt.mdx +79 -0
  100. package/src/components/BaseGantt.stories.js +25 -10
  101. package/src/components/BaseGantt.vue +192 -58
  102. package/src/services/gantt/format.ts +30 -7
  103. package/src/services/gantt/types.ts +18 -8
@@ -1,4 +1,3 @@
1
- import BaseAutocompleteFetch from './BaseAutocompleteFetch.vue';
2
1
  import { RawOption, SelectConfiguration } from '@/types';
3
2
  import { Size } from '@/utils/sizes';
4
3
  type __VLS_Props = {
@@ -25,765 +24,8 @@ type __VLS_Props = {
25
24
  select?: SelectConfiguration;
26
25
  optionColor?: (option: RawOption) => string;
27
26
  optionIcon?: (option: RawOption) => string;
27
+ icon?: string;
28
28
  };
29
- declare const autocompleteFetch: import("vue").Ref<({
30
- $: import("vue").ComponentInternalInstance;
31
- $data: {};
32
- $props: Partial<{
33
- select: SelectConfiguration | undefined;
34
- size: "xs" | "sm" | "md" | "lg" | "xl";
35
- required: boolean;
36
- inline: boolean;
37
- disabled: boolean;
38
- name: string;
39
- modelValue: RawOption | null | undefined;
40
- placeholder: string;
41
- hasError: boolean;
42
- visibleFocus: boolean;
43
- optionColor: (option: RawOption) => string;
44
- optionIcon: (option: RawOption) => string;
45
- dropdownShow: "always" | "focus";
46
- showModelValue: boolean;
47
- focusOnMount: boolean;
48
- showEmptyOption: boolean;
49
- showRemoveButton: boolean;
50
- emptyOptionLabel: string;
51
- twInput: string | string[];
52
- queryKey: string;
53
- }> & Omit<{
54
- readonly required: boolean;
55
- readonly inline: boolean;
56
- readonly disabled: boolean;
57
- readonly hasError: boolean;
58
- readonly visibleFocus: boolean;
59
- readonly url: string;
60
- readonly labelKey: string | ((option: RawOption) => string);
61
- readonly valueKey: string | ((option: RawOption) => string);
62
- readonly dropdownShow: "always" | "focus";
63
- readonly showModelValue: boolean;
64
- readonly focusOnMount: boolean;
65
- readonly showEmptyOption: boolean;
66
- readonly showRemoveButton: boolean;
67
- readonly queryKey: string;
68
- readonly select?: SelectConfiguration | undefined;
69
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
70
- readonly name?: string | undefined;
71
- readonly modelValue?: RawOption | null | undefined;
72
- readonly placeholder?: string | undefined;
73
- readonly optionColor?: ((option: RawOption) => string) | undefined;
74
- readonly optionIcon?: ((option: RawOption) => string) | undefined;
75
- readonly emptyOptionLabel?: string | undefined;
76
- readonly twInput?: string | string[] | undefined;
77
- readonly onFocus?: ((...args: any[]) => any) | undefined;
78
- readonly onClear?: ((...args: any[]) => any) | undefined;
79
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
80
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
81
- readonly onTyping?: ((...args: any[]) => any) | undefined;
82
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
83
- $attrs: {
84
- [x: string]: unknown;
85
- };
86
- $refs: {
87
- [x: string]: unknown;
88
- };
89
- $slots: Readonly<{
90
- [name: string]: import("vue").Slot<any> | undefined;
91
- }>;
92
- $root: import("vue").ComponentPublicInstance | null;
93
- $parent: import("vue").ComponentPublicInstance | null;
94
- $host: Element | null;
95
- $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);
96
- $el: any;
97
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
98
- modelValue: {
99
- default: undefined;
100
- type: import("vue").PropType<RawOption | null | undefined>;
101
- };
102
- url: {
103
- required: true;
104
- type: StringConstructor;
105
- };
106
- labelKey: {
107
- required: true;
108
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
109
- };
110
- valueKey: {
111
- required: true;
112
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
113
- };
114
- name: {
115
- default: undefined;
116
- type: StringConstructor;
117
- };
118
- placeholder: {
119
- default: undefined;
120
- type: StringConstructor;
121
- };
122
- required: {
123
- default: boolean;
124
- type: BooleanConstructor;
125
- };
126
- disabled: {
127
- default: boolean;
128
- type: BooleanConstructor;
129
- };
130
- queryKey: {
131
- default: string;
132
- type: StringConstructor;
133
- };
134
- hasError: {
135
- default: boolean;
136
- type: BooleanConstructor;
137
- };
138
- inline: {
139
- default: boolean;
140
- type: BooleanConstructor;
141
- };
142
- size: {
143
- default: undefined;
144
- type: import("vue").PropType<Size>;
145
- };
146
- dropdownShow: {
147
- default: string;
148
- type: import("vue").PropType<"focus" | "always">;
149
- };
150
- showModelValue: {
151
- default: boolean;
152
- type: BooleanConstructor;
153
- };
154
- visibleFocus: {
155
- default: boolean;
156
- type: BooleanConstructor;
157
- };
158
- focusOnMount: {
159
- default: boolean;
160
- type: BooleanConstructor;
161
- };
162
- showEmptyOption: {
163
- default: boolean;
164
- type: BooleanConstructor;
165
- };
166
- showRemoveButton: {
167
- default: boolean;
168
- type: BooleanConstructor;
169
- };
170
- emptyOptionLabel: {
171
- default: undefined;
172
- type: StringConstructor;
173
- };
174
- select: {
175
- default: undefined;
176
- type: import("vue").PropType<SelectConfiguration | undefined>;
177
- };
178
- optionColor: {
179
- default: undefined;
180
- type: import("vue").PropType<(option: RawOption) => string>;
181
- };
182
- optionIcon: {
183
- default: undefined;
184
- type: import("vue").PropType<(option: RawOption) => string>;
185
- };
186
- twInput: {
187
- default: undefined;
188
- type: import("vue").PropType<string | string[]>;
189
- };
190
- }>> & Readonly<{
191
- onFocus?: ((...args: any[]) => any) | undefined;
192
- onClear?: ((...args: any[]) => any) | undefined;
193
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
194
- onScrollBottom?: ((...args: any[]) => any) | undefined;
195
- onTyping?: ((...args: any[]) => any) | undefined;
196
- }>, {
197
- focus: () => void | undefined;
198
- blur: () => void | undefined;
199
- open: () => void | undefined;
200
- close: () => void | undefined;
201
- setKeywords: (input: string) => void | undefined;
202
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
203
- focus: (...args: any[]) => void;
204
- clear: (...args: any[]) => void;
205
- "update:modelValue": (...args: any[]) => void;
206
- scrollBottom: (...args: any[]) => void;
207
- typing: (...args: any[]) => void;
208
- }, string, {
209
- select: SelectConfiguration | undefined;
210
- size: "xs" | "sm" | "md" | "lg" | "xl";
211
- required: boolean;
212
- inline: boolean;
213
- disabled: boolean;
214
- name: string;
215
- modelValue: RawOption | null | undefined;
216
- placeholder: string;
217
- hasError: boolean;
218
- visibleFocus: boolean;
219
- optionColor: (option: RawOption) => string;
220
- optionIcon: (option: RawOption) => string;
221
- dropdownShow: "always" | "focus";
222
- showModelValue: boolean;
223
- focusOnMount: boolean;
224
- showEmptyOption: boolean;
225
- showRemoveButton: boolean;
226
- emptyOptionLabel: string;
227
- twInput: string | string[];
228
- queryKey: string;
229
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
230
- beforeCreate?: (() => void) | (() => void)[];
231
- created?: (() => void) | (() => void)[];
232
- beforeMount?: (() => void) | (() => void)[];
233
- mounted?: (() => void) | (() => void)[];
234
- beforeUpdate?: (() => void) | (() => void)[];
235
- updated?: (() => void) | (() => void)[];
236
- activated?: (() => void) | (() => void)[];
237
- deactivated?: (() => void) | (() => void)[];
238
- beforeDestroy?: (() => void) | (() => void)[];
239
- beforeUnmount?: (() => void) | (() => void)[];
240
- destroyed?: (() => void) | (() => void)[];
241
- unmounted?: (() => void) | (() => void)[];
242
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
243
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
244
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
245
- };
246
- $forceUpdate: () => void;
247
- $nextTick: typeof import("vue").nextTick;
248
- $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;
249
- } & Readonly<{
250
- select: SelectConfiguration | undefined;
251
- size: "xs" | "sm" | "md" | "lg" | "xl";
252
- required: boolean;
253
- inline: boolean;
254
- disabled: boolean;
255
- name: string;
256
- modelValue: RawOption | null | undefined;
257
- placeholder: string;
258
- hasError: boolean;
259
- visibleFocus: boolean;
260
- optionColor: (option: RawOption) => string;
261
- optionIcon: (option: RawOption) => string;
262
- dropdownShow: "always" | "focus";
263
- showModelValue: boolean;
264
- focusOnMount: boolean;
265
- showEmptyOption: boolean;
266
- showRemoveButton: boolean;
267
- emptyOptionLabel: string;
268
- twInput: string | string[];
269
- queryKey: string;
270
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
271
- modelValue: {
272
- default: undefined;
273
- type: import("vue").PropType<RawOption | null | undefined>;
274
- };
275
- url: {
276
- required: true;
277
- type: StringConstructor;
278
- };
279
- labelKey: {
280
- required: true;
281
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
282
- };
283
- valueKey: {
284
- required: true;
285
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
286
- };
287
- name: {
288
- default: undefined;
289
- type: StringConstructor;
290
- };
291
- placeholder: {
292
- default: undefined;
293
- type: StringConstructor;
294
- };
295
- required: {
296
- default: boolean;
297
- type: BooleanConstructor;
298
- };
299
- disabled: {
300
- default: boolean;
301
- type: BooleanConstructor;
302
- };
303
- queryKey: {
304
- default: string;
305
- type: StringConstructor;
306
- };
307
- hasError: {
308
- default: boolean;
309
- type: BooleanConstructor;
310
- };
311
- inline: {
312
- default: boolean;
313
- type: BooleanConstructor;
314
- };
315
- size: {
316
- default: undefined;
317
- type: import("vue").PropType<Size>;
318
- };
319
- dropdownShow: {
320
- default: string;
321
- type: import("vue").PropType<"focus" | "always">;
322
- };
323
- showModelValue: {
324
- default: boolean;
325
- type: BooleanConstructor;
326
- };
327
- visibleFocus: {
328
- default: boolean;
329
- type: BooleanConstructor;
330
- };
331
- focusOnMount: {
332
- default: boolean;
333
- type: BooleanConstructor;
334
- };
335
- showEmptyOption: {
336
- default: boolean;
337
- type: BooleanConstructor;
338
- };
339
- showRemoveButton: {
340
- default: boolean;
341
- type: BooleanConstructor;
342
- };
343
- emptyOptionLabel: {
344
- default: undefined;
345
- type: StringConstructor;
346
- };
347
- select: {
348
- default: undefined;
349
- type: import("vue").PropType<SelectConfiguration | undefined>;
350
- };
351
- optionColor: {
352
- default: undefined;
353
- type: import("vue").PropType<(option: RawOption) => string>;
354
- };
355
- optionIcon: {
356
- default: undefined;
357
- type: import("vue").PropType<(option: RawOption) => string>;
358
- };
359
- twInput: {
360
- default: undefined;
361
- type: import("vue").PropType<string | string[]>;
362
- };
363
- }>> & Readonly<{
364
- onFocus?: ((...args: any[]) => any) | undefined;
365
- onClear?: ((...args: any[]) => any) | undefined;
366
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
367
- onScrollBottom?: ((...args: any[]) => any) | undefined;
368
- onTyping?: ((...args: any[]) => any) | undefined;
369
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
370
- focus: () => void | undefined;
371
- blur: () => void | undefined;
372
- open: () => void | undefined;
373
- close: () => void | undefined;
374
- setKeywords: (input: string) => void | undefined;
375
- }> & {} & import("vue").ComponentCustomProperties & {} & {
376
- $slots: {
377
- option?: ((props: {
378
- focus: () => void;
379
- blur: () => void;
380
- open: () => void;
381
- close: () => void;
382
- keywords: import("vue").ComputedRef<string>;
383
- option: RawOption | null;
384
- value: import("@/types").OptionValue;
385
- label: string;
386
- selected: boolean;
387
- active: boolean;
388
- }) => any) | undefined;
389
- footer?: ((props: {
390
- keywords: string;
391
- focus: () => void;
392
- blur: () => void;
393
- open: () => void;
394
- close: () => void;
395
- options: import("@/types").NormalizedOption[];
396
- }) => any) | undefined;
397
- empty?: ((props: {
398
- firstSearch: boolean;
399
- focus: () => void;
400
- blur: () => void;
401
- open: () => void;
402
- close: () => void;
403
- keywords: import("vue").ComputedRef<string>;
404
- }) => any) | undefined;
405
- };
406
- }) | null, ({
407
- $: import("vue").ComponentInternalInstance;
408
- $data: {};
409
- $props: Partial<{
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
- optionColor: (option: RawOption) => string;
421
- optionIcon: (option: RawOption) => string;
422
- dropdownShow: "always" | "focus";
423
- showModelValue: boolean;
424
- focusOnMount: boolean;
425
- showEmptyOption: boolean;
426
- showRemoveButton: boolean;
427
- emptyOptionLabel: string;
428
- twInput: string | string[];
429
- queryKey: string;
430
- }> & Omit<{
431
- readonly required: boolean;
432
- readonly inline: boolean;
433
- readonly disabled: boolean;
434
- readonly hasError: boolean;
435
- readonly visibleFocus: boolean;
436
- readonly url: string;
437
- readonly labelKey: string | ((option: RawOption) => string);
438
- readonly valueKey: string | ((option: RawOption) => string);
439
- readonly dropdownShow: "always" | "focus";
440
- readonly showModelValue: boolean;
441
- readonly focusOnMount: boolean;
442
- readonly showEmptyOption: boolean;
443
- readonly showRemoveButton: boolean;
444
- readonly queryKey: string;
445
- readonly select?: SelectConfiguration | undefined;
446
- readonly size?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
447
- readonly name?: string | undefined;
448
- readonly modelValue?: RawOption | null | undefined;
449
- readonly placeholder?: string | undefined;
450
- readonly optionColor?: ((option: RawOption) => string) | undefined;
451
- readonly optionIcon?: ((option: RawOption) => string) | undefined;
452
- readonly emptyOptionLabel?: string | undefined;
453
- readonly twInput?: string | string[] | undefined;
454
- readonly onFocus?: ((...args: any[]) => any) | undefined;
455
- readonly onClear?: ((...args: any[]) => any) | undefined;
456
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
457
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
458
- readonly onTyping?: ((...args: any[]) => any) | undefined;
459
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey">;
460
- $attrs: {
461
- [x: string]: unknown;
462
- };
463
- $refs: {
464
- [x: string]: unknown;
465
- };
466
- $slots: Readonly<{
467
- [name: string]: import("vue").Slot<any> | undefined;
468
- }>;
469
- $root: import("vue").ComponentPublicInstance | null;
470
- $parent: import("vue").ComponentPublicInstance | null;
471
- $host: Element | null;
472
- $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);
473
- $el: any;
474
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
475
- modelValue: {
476
- default: undefined;
477
- type: import("vue").PropType<RawOption | null | undefined>;
478
- };
479
- url: {
480
- required: true;
481
- type: StringConstructor;
482
- };
483
- labelKey: {
484
- required: true;
485
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
486
- };
487
- valueKey: {
488
- required: true;
489
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
490
- };
491
- name: {
492
- default: undefined;
493
- type: StringConstructor;
494
- };
495
- placeholder: {
496
- default: undefined;
497
- type: StringConstructor;
498
- };
499
- required: {
500
- default: boolean;
501
- type: BooleanConstructor;
502
- };
503
- disabled: {
504
- default: boolean;
505
- type: BooleanConstructor;
506
- };
507
- queryKey: {
508
- default: string;
509
- type: StringConstructor;
510
- };
511
- hasError: {
512
- default: boolean;
513
- type: BooleanConstructor;
514
- };
515
- inline: {
516
- default: boolean;
517
- type: BooleanConstructor;
518
- };
519
- size: {
520
- default: undefined;
521
- type: import("vue").PropType<Size>;
522
- };
523
- dropdownShow: {
524
- default: string;
525
- type: import("vue").PropType<"focus" | "always">;
526
- };
527
- showModelValue: {
528
- default: boolean;
529
- type: BooleanConstructor;
530
- };
531
- visibleFocus: {
532
- default: boolean;
533
- type: BooleanConstructor;
534
- };
535
- focusOnMount: {
536
- default: boolean;
537
- type: BooleanConstructor;
538
- };
539
- showEmptyOption: {
540
- default: boolean;
541
- type: BooleanConstructor;
542
- };
543
- showRemoveButton: {
544
- default: boolean;
545
- type: BooleanConstructor;
546
- };
547
- emptyOptionLabel: {
548
- default: undefined;
549
- type: StringConstructor;
550
- };
551
- select: {
552
- default: undefined;
553
- type: import("vue").PropType<SelectConfiguration | undefined>;
554
- };
555
- optionColor: {
556
- default: undefined;
557
- type: import("vue").PropType<(option: RawOption) => string>;
558
- };
559
- optionIcon: {
560
- default: undefined;
561
- type: import("vue").PropType<(option: RawOption) => string>;
562
- };
563
- twInput: {
564
- default: undefined;
565
- type: import("vue").PropType<string | string[]>;
566
- };
567
- }>> & Readonly<{
568
- onFocus?: ((...args: any[]) => any) | undefined;
569
- onClear?: ((...args: any[]) => any) | undefined;
570
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
571
- onScrollBottom?: ((...args: any[]) => any) | undefined;
572
- onTyping?: ((...args: any[]) => any) | undefined;
573
- }>, {
574
- focus: () => void | undefined;
575
- blur: () => void | undefined;
576
- open: () => void | undefined;
577
- close: () => void | undefined;
578
- setKeywords: (input: string) => void | undefined;
579
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
580
- focus: (...args: any[]) => void;
581
- clear: (...args: any[]) => void;
582
- "update:modelValue": (...args: any[]) => void;
583
- scrollBottom: (...args: any[]) => void;
584
- typing: (...args: any[]) => void;
585
- }, string, {
586
- select: SelectConfiguration | undefined;
587
- size: "xs" | "sm" | "md" | "lg" | "xl";
588
- required: boolean;
589
- inline: boolean;
590
- disabled: boolean;
591
- name: string;
592
- modelValue: RawOption | null | undefined;
593
- placeholder: string;
594
- hasError: boolean;
595
- visibleFocus: boolean;
596
- optionColor: (option: RawOption) => string;
597
- optionIcon: (option: RawOption) => string;
598
- dropdownShow: "always" | "focus";
599
- showModelValue: boolean;
600
- focusOnMount: boolean;
601
- showEmptyOption: boolean;
602
- showRemoveButton: boolean;
603
- emptyOptionLabel: string;
604
- twInput: string | string[];
605
- queryKey: string;
606
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
607
- beforeCreate?: (() => void) | (() => void)[];
608
- created?: (() => void) | (() => void)[];
609
- beforeMount?: (() => void) | (() => void)[];
610
- mounted?: (() => void) | (() => void)[];
611
- beforeUpdate?: (() => void) | (() => void)[];
612
- updated?: (() => void) | (() => void)[];
613
- activated?: (() => void) | (() => void)[];
614
- deactivated?: (() => void) | (() => void)[];
615
- beforeDestroy?: (() => void) | (() => void)[];
616
- beforeUnmount?: (() => void) | (() => void)[];
617
- destroyed?: (() => void) | (() => void)[];
618
- unmounted?: (() => void) | (() => void)[];
619
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
620
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
621
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
622
- };
623
- $forceUpdate: () => void;
624
- $nextTick: typeof import("vue").nextTick;
625
- $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;
626
- } & Readonly<{
627
- select: SelectConfiguration | undefined;
628
- size: "xs" | "sm" | "md" | "lg" | "xl";
629
- required: boolean;
630
- inline: boolean;
631
- disabled: boolean;
632
- name: string;
633
- modelValue: RawOption | null | undefined;
634
- placeholder: string;
635
- hasError: boolean;
636
- visibleFocus: boolean;
637
- optionColor: (option: RawOption) => string;
638
- optionIcon: (option: RawOption) => string;
639
- dropdownShow: "always" | "focus";
640
- showModelValue: boolean;
641
- focusOnMount: boolean;
642
- showEmptyOption: boolean;
643
- showRemoveButton: boolean;
644
- emptyOptionLabel: string;
645
- twInput: string | string[];
646
- queryKey: string;
647
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
648
- modelValue: {
649
- default: undefined;
650
- type: import("vue").PropType<RawOption | null | undefined>;
651
- };
652
- url: {
653
- required: true;
654
- type: StringConstructor;
655
- };
656
- labelKey: {
657
- required: true;
658
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
659
- };
660
- valueKey: {
661
- required: true;
662
- type: import("vue").PropType<string | ((option: RawOption) => string)>;
663
- };
664
- name: {
665
- default: undefined;
666
- type: StringConstructor;
667
- };
668
- placeholder: {
669
- default: undefined;
670
- type: StringConstructor;
671
- };
672
- required: {
673
- default: boolean;
674
- type: BooleanConstructor;
675
- };
676
- disabled: {
677
- default: boolean;
678
- type: BooleanConstructor;
679
- };
680
- queryKey: {
681
- default: string;
682
- type: StringConstructor;
683
- };
684
- hasError: {
685
- default: boolean;
686
- type: BooleanConstructor;
687
- };
688
- inline: {
689
- default: boolean;
690
- type: BooleanConstructor;
691
- };
692
- size: {
693
- default: undefined;
694
- type: import("vue").PropType<Size>;
695
- };
696
- dropdownShow: {
697
- default: string;
698
- type: import("vue").PropType<"focus" | "always">;
699
- };
700
- showModelValue: {
701
- default: boolean;
702
- type: BooleanConstructor;
703
- };
704
- visibleFocus: {
705
- default: boolean;
706
- type: BooleanConstructor;
707
- };
708
- focusOnMount: {
709
- default: boolean;
710
- type: BooleanConstructor;
711
- };
712
- showEmptyOption: {
713
- default: boolean;
714
- type: BooleanConstructor;
715
- };
716
- showRemoveButton: {
717
- default: boolean;
718
- type: BooleanConstructor;
719
- };
720
- emptyOptionLabel: {
721
- default: undefined;
722
- type: StringConstructor;
723
- };
724
- select: {
725
- default: undefined;
726
- type: import("vue").PropType<SelectConfiguration | undefined>;
727
- };
728
- optionColor: {
729
- default: undefined;
730
- type: import("vue").PropType<(option: RawOption) => string>;
731
- };
732
- optionIcon: {
733
- default: undefined;
734
- type: import("vue").PropType<(option: RawOption) => string>;
735
- };
736
- twInput: {
737
- default: undefined;
738
- type: import("vue").PropType<string | string[]>;
739
- };
740
- }>> & Readonly<{
741
- onFocus?: ((...args: any[]) => any) | undefined;
742
- onClear?: ((...args: any[]) => any) | undefined;
743
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
744
- onScrollBottom?: ((...args: any[]) => any) | undefined;
745
- onTyping?: ((...args: any[]) => any) | undefined;
746
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("select" | "size" | "required" | "inline" | "disabled" | "name" | "modelValue" | "placeholder" | "hasError" | "visibleFocus" | "optionColor" | "optionIcon" | "dropdownShow" | "showModelValue" | "focusOnMount" | "showEmptyOption" | "showRemoveButton" | "emptyOptionLabel" | "twInput" | "queryKey")> & import("vue").ShallowUnwrapRef<{
747
- focus: () => void | undefined;
748
- blur: () => void | undefined;
749
- open: () => void | undefined;
750
- close: () => void | undefined;
751
- setKeywords: (input: string) => void | undefined;
752
- }> & {} & import("vue").ComponentCustomProperties & {} & {
753
- $slots: {
754
- option?: ((props: {
755
- focus: () => void;
756
- blur: () => void;
757
- open: () => void;
758
- close: () => void;
759
- keywords: import("vue").ComputedRef<string>;
760
- option: RawOption | null;
761
- value: import("@/types").OptionValue;
762
- label: string;
763
- selected: boolean;
764
- active: boolean;
765
- }) => any) | undefined;
766
- footer?: ((props: {
767
- keywords: string;
768
- focus: () => void;
769
- blur: () => void;
770
- open: () => void;
771
- close: () => void;
772
- options: import("@/types").NormalizedOption[];
773
- }) => any) | undefined;
774
- empty?: ((props: {
775
- firstSearch: boolean;
776
- focus: () => void;
777
- blur: () => void;
778
- open: () => void;
779
- close: () => void;
780
- keywords: import("vue").ComputedRef<string>;
781
- }) => any) | undefined;
782
- };
783
- }) | null>;
784
- declare const model: import("vue").Ref<RawOption | null, RawOption | null>;
785
- declare function onUpdate(newModel: RawOption | null): void;
786
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
787
29
  declare var __VLS_10: {
788
30
  focus: () => void;
789
31
  blur: () => void;
@@ -810,45 +52,13 @@ declare var __VLS_10: {
810
52
  close: () => void;
811
53
  options: import("@/types").NormalizedOption[];
812
54
  };
813
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
55
+ type __VLS_Slots = {} & {
814
56
  option?: (props: typeof __VLS_10) => any;
815
57
  } & {
816
58
  empty?: (props: typeof __VLS_12) => any;
817
59
  } & {
818
60
  footer?: (props: typeof __VLS_14) => any;
819
- }>;
820
- declare const __VLS_self: import("vue").DefineComponent<__VLS_Props, {
821
- BaseAutocompleteFetch: typeof BaseAutocompleteFetch;
822
- autocompleteFetch: typeof autocompleteFetch;
823
- model: typeof model;
824
- onUpdate: typeof onUpdate;
825
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
826
- "update:modelValue": (...args: any[]) => void;
827
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
828
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
829
- }>, {
830
- select: SelectConfiguration;
831
- size: Size;
832
- required: boolean;
833
- inline: boolean;
834
- disabled: boolean;
835
- name: string;
836
- modelValue: string | number | null;
837
- placeholder: string;
838
- hasError: boolean;
839
- visibleFocus: boolean;
840
- primaryKey: string;
841
- optionColor: (option: RawOption) => string;
842
- optionIcon: (option: RawOption) => string;
843
- dropdownShow: "focus" | "always";
844
- showModelValue: boolean;
845
- focusOnMount: boolean;
846
- showEmptyOption: boolean;
847
- showRemoveButton: boolean;
848
- emptyOptionLabel: string;
849
- showRouteUrl: (id: string | number) => string;
850
- currentModel: RawOption | null;
851
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
+ };
852
62
  declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
853
63
  focus: () => void | undefined;
854
64
  blur: () => void | undefined;
@@ -861,13 +71,14 @@ declare const __VLS_component: import("vue").DefineComponent<__VLS_Props, {
861
71
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
862
72
  }>, {
863
73
  select: SelectConfiguration;
74
+ placeholder: string;
75
+ inline: boolean;
864
76
  size: Size;
865
77
  required: boolean;
866
- inline: boolean;
78
+ icon: string;
867
79
  disabled: boolean;
868
80
  name: string;
869
81
  modelValue: string | number | null;
870
- placeholder: string;
871
82
  hasError: boolean;
872
83
  visibleFocus: boolean;
873
84
  primaryKey: string;