sprintify-ui 0.10.87 → 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 (116) hide show
  1. package/dist/{BaseCkeditor-Laq0HbvP.js → BaseCkeditor-Dcqohrsz.js} +14 -14
  2. package/dist/sprintify-ui.es.js +12480 -12553
  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 +19 -643
  9. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +21 -104
  10. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +26 -1045
  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 +19 -1022
  14. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +10 -745
  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 +18 -577
  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 +25 -571
  87. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +3 -796
  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/BaseAutocomplete.stories.js +10 -0
  97. package/src/components/BaseAutocomplete.vue +11 -1
  98. package/src/components/BaseAutocompleteDrawer.vue +52 -1
  99. package/src/components/BaseAutocompleteFetch.stories.js +6 -0
  100. package/src/components/BaseAutocompleteFetch.vue +15 -0
  101. package/src/components/BaseBelongsTo.stories.js +5 -0
  102. package/src/components/BaseBelongsTo.vue +10 -0
  103. package/src/components/BaseBelongsToFetch.stories.js +6 -0
  104. package/src/components/BaseBelongsToFetch.vue +9 -0
  105. package/src/components/BaseForm.mdx +1 -1
  106. package/src/components/BaseGantt.mdx +79 -0
  107. package/src/components/BaseGantt.stories.js +25 -10
  108. package/src/components/BaseGantt.vue +192 -58
  109. package/src/components/BaseHasMany.stories.js +5 -0
  110. package/src/components/BaseHasMany.vue +10 -0
  111. package/src/components/BaseHasManyFetch.stories.js +12 -0
  112. package/src/components/BaseTagAutocomplete.stories.js +5 -0
  113. package/src/components/BaseTagAutocomplete.vue +34 -1
  114. package/src/components/BaseTagAutocompleteFetch.stories.js +6 -0
  115. package/src/services/gantt/format.ts +30 -7
  116. package/src/services/gantt/types.ts +18 -8
@@ -1,378 +1,22 @@
1
1
  import { PropType, ComputedRef } from 'vue';
2
2
  import { NormalizedOption, RawOption } from '@/types';
3
- import BaseAutocompleteDrawer from './BaseAutocompleteDrawer.vue';
4
- import { t } from '@/i18n';
5
3
  import { Size } from '@/utils/sizes';
6
- declare const emit: (event: "close" | "open" | "update:modelValue" | "scrollBottom" | "typing", ...args: any[]) => void;
7
- declare const inputRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
8
- declare const dropdownRef: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
9
- declare const drawer: import("vue").Ref<({
10
- $: import("vue").ComponentInternalInstance;
11
- $data: {};
12
- $props: Partial<{
13
- size: "xs" | "sm" | "md" | "lg" | "xl";
14
- options: NormalizedOption[];
15
- loading: boolean;
16
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
17
- keywords: string;
18
- loadingBottom: boolean;
19
- twDrawer: string;
20
- }> & Omit<{
21
- readonly size: "xs" | "sm" | "md" | "lg" | "xl";
22
- readonly options: NormalizedOption[];
23
- readonly loading: boolean;
24
- readonly keywords: string;
25
- readonly loadingBottom: boolean;
26
- readonly twDrawer: string;
27
- readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
28
- readonly onSelect?: ((...args: any[]) => any) | undefined;
29
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
30
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
31
- $attrs: {
32
- [x: string]: unknown;
33
- };
34
- $refs: {
35
- [x: string]: unknown;
36
- };
37
- $slots: Readonly<{
38
- [name: string]: import("vue").Slot<any> | undefined;
39
- }>;
40
- $root: import("vue").ComponentPublicInstance | null;
41
- $parent: import("vue").ComponentPublicInstance | null;
42
- $host: Element | null;
43
- $emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
44
- $el: any;
45
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
46
- selected: {
47
- type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
48
- default: undefined;
49
- };
50
- options: {
51
- type: PropType<NormalizedOption[]>;
52
- default(): never[];
53
- };
54
- keywords: {
55
- type: StringConstructor;
56
- default: string;
57
- };
58
- loading: {
59
- type: BooleanConstructor;
60
- default: boolean;
61
- };
62
- loadingBottom: {
63
- type: BooleanConstructor;
64
- default: boolean;
65
- };
66
- size: {
67
- type: PropType<Size>;
68
- default: string;
69
- };
70
- twDrawer: {
71
- type: StringConstructor;
72
- default: string;
73
- };
74
- }>> & Readonly<{
75
- onSelect?: ((...args: any[]) => any) | undefined;
76
- onScrollBottom?: ((...args: any[]) => any) | undefined;
77
- }>, {
78
- onKeydown: (event: KeyboardEvent) => void;
79
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
80
- select: (...args: any[]) => void;
81
- scrollBottom: (...args: any[]) => void;
82
- }, string, {
83
- size: "xs" | "sm" | "md" | "lg" | "xl";
84
- options: NormalizedOption[];
85
- loading: boolean;
86
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
87
- keywords: string;
88
- loadingBottom: boolean;
89
- twDrawer: string;
90
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
91
- beforeCreate?: (() => void) | (() => void)[];
92
- created?: (() => void) | (() => void)[];
93
- beforeMount?: (() => void) | (() => void)[];
94
- mounted?: (() => void) | (() => void)[];
95
- beforeUpdate?: (() => void) | (() => void)[];
96
- updated?: (() => void) | (() => void)[];
97
- activated?: (() => void) | (() => void)[];
98
- deactivated?: (() => void) | (() => void)[];
99
- beforeDestroy?: (() => void) | (() => void)[];
100
- beforeUnmount?: (() => void) | (() => void)[];
101
- destroyed?: (() => void) | (() => void)[];
102
- unmounted?: (() => void) | (() => void)[];
103
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
104
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
105
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
106
- };
107
- $forceUpdate: () => void;
108
- $nextTick: typeof import("vue").nextTick;
109
- $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;
110
- } & Readonly<{
111
- size: "xs" | "sm" | "md" | "lg" | "xl";
112
- options: NormalizedOption[];
113
- loading: boolean;
114
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
115
- keywords: string;
116
- loadingBottom: boolean;
117
- twDrawer: string;
118
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
119
- selected: {
120
- type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
121
- default: undefined;
122
- };
123
- options: {
124
- type: PropType<NormalizedOption[]>;
125
- default(): never[];
126
- };
127
- keywords: {
128
- type: StringConstructor;
129
- default: string;
130
- };
131
- loading: {
132
- type: BooleanConstructor;
133
- default: boolean;
134
- };
135
- loadingBottom: {
136
- type: BooleanConstructor;
137
- default: boolean;
138
- };
139
- size: {
140
- type: PropType<Size>;
141
- default: string;
142
- };
143
- twDrawer: {
144
- type: StringConstructor;
145
- default: string;
146
- };
147
- }>> & Readonly<{
148
- onSelect?: ((...args: any[]) => any) | undefined;
149
- onScrollBottom?: ((...args: any[]) => any) | undefined;
150
- }>, "onKeydown" | ("size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer")> & import("vue").ShallowUnwrapRef<{
151
- onKeydown: (event: KeyboardEvent) => void;
152
- }> & {} & import("vue").ComponentCustomProperties & {} & {
153
- $slots: {
154
- empty?: ((props: {}) => any) | undefined;
155
- option?: ((props: {
156
- option: RawOption | null;
157
- value: import("@/types").OptionValue;
158
- label: string;
159
- selected: boolean;
160
- active: boolean;
161
- }) => any) | undefined;
162
- footer?: ((props: {
163
- options: NormalizedOption[];
164
- }) => any) | undefined;
165
- };
166
- }) | null, ({
167
- $: import("vue").ComponentInternalInstance;
168
- $data: {};
169
- $props: Partial<{
170
- size: "xs" | "sm" | "md" | "lg" | "xl";
171
- options: NormalizedOption[];
172
- loading: boolean;
173
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
174
- keywords: string;
175
- loadingBottom: boolean;
176
- twDrawer: string;
177
- }> & Omit<{
178
- readonly size: "xs" | "sm" | "md" | "lg" | "xl";
179
- readonly options: NormalizedOption[];
180
- readonly loading: boolean;
181
- readonly keywords: string;
182
- readonly loadingBottom: boolean;
183
- readonly twDrawer: string;
184
- readonly selected?: NormalizedOption | NormalizedOption[] | null | undefined;
185
- readonly onSelect?: ((...args: any[]) => any) | undefined;
186
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
187
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer">;
188
- $attrs: {
189
- [x: string]: unknown;
190
- };
191
- $refs: {
192
- [x: string]: unknown;
193
- };
194
- $slots: Readonly<{
195
- [name: string]: import("vue").Slot<any> | undefined;
196
- }>;
197
- $root: import("vue").ComponentPublicInstance | null;
198
- $parent: import("vue").ComponentPublicInstance | null;
199
- $host: Element | null;
200
- $emit: ((event: "select", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void);
201
- $el: any;
202
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
203
- selected: {
204
- type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
205
- default: undefined;
206
- };
207
- options: {
208
- type: PropType<NormalizedOption[]>;
209
- default(): never[];
210
- };
211
- keywords: {
212
- type: StringConstructor;
213
- default: string;
214
- };
215
- loading: {
216
- type: BooleanConstructor;
217
- default: boolean;
218
- };
219
- loadingBottom: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- size: {
224
- type: PropType<Size>;
225
- default: string;
226
- };
227
- twDrawer: {
228
- type: StringConstructor;
229
- default: string;
230
- };
231
- }>> & Readonly<{
232
- onSelect?: ((...args: any[]) => any) | undefined;
233
- onScrollBottom?: ((...args: any[]) => any) | undefined;
234
- }>, {
235
- onKeydown: (event: KeyboardEvent) => void;
236
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
237
- select: (...args: any[]) => void;
238
- scrollBottom: (...args: any[]) => void;
239
- }, string, {
240
- size: "xs" | "sm" | "md" | "lg" | "xl";
241
- options: NormalizedOption[];
242
- loading: boolean;
243
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
244
- keywords: string;
245
- loadingBottom: boolean;
246
- twDrawer: string;
247
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
248
- beforeCreate?: (() => void) | (() => void)[];
249
- created?: (() => void) | (() => void)[];
250
- beforeMount?: (() => void) | (() => void)[];
251
- mounted?: (() => void) | (() => void)[];
252
- beforeUpdate?: (() => void) | (() => void)[];
253
- updated?: (() => void) | (() => void)[];
254
- activated?: (() => void) | (() => void)[];
255
- deactivated?: (() => void) | (() => void)[];
256
- beforeDestroy?: (() => void) | (() => void)[];
257
- beforeUnmount?: (() => void) | (() => void)[];
258
- destroyed?: (() => void) | (() => void)[];
259
- unmounted?: (() => void) | (() => void)[];
260
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
261
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
262
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
263
- };
264
- $forceUpdate: () => void;
265
- $nextTick: typeof import("vue").nextTick;
266
- $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;
267
- } & Readonly<{
268
- size: "xs" | "sm" | "md" | "lg" | "xl";
269
- options: NormalizedOption[];
270
- loading: boolean;
271
- selected: NormalizedOption | NormalizedOption[] | null | undefined;
272
- keywords: string;
273
- loadingBottom: boolean;
274
- twDrawer: string;
275
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
276
- selected: {
277
- type: PropType<NormalizedOption[] | NormalizedOption | null | undefined>;
278
- default: undefined;
279
- };
280
- options: {
281
- type: PropType<NormalizedOption[]>;
282
- default(): never[];
283
- };
284
- keywords: {
285
- type: StringConstructor;
286
- default: string;
287
- };
288
- loading: {
289
- type: BooleanConstructor;
290
- default: boolean;
291
- };
292
- loadingBottom: {
293
- type: BooleanConstructor;
294
- default: boolean;
295
- };
296
- size: {
297
- type: PropType<Size>;
298
- default: string;
299
- };
300
- twDrawer: {
301
- type: StringConstructor;
302
- default: string;
303
- };
304
- }>> & Readonly<{
305
- onSelect?: ((...args: any[]) => any) | undefined;
306
- onScrollBottom?: ((...args: any[]) => any) | undefined;
307
- }>, "onKeydown" | ("size" | "options" | "loading" | "selected" | "keywords" | "loadingBottom" | "twDrawer")> & import("vue").ShallowUnwrapRef<{
308
- onKeydown: (event: KeyboardEvent) => void;
309
- }> & {} & import("vue").ComponentCustomProperties & {} & {
310
- $slots: {
311
- empty?: ((props: {}) => any) | undefined;
312
- option?: ((props: {
313
- option: RawOption | null;
314
- value: import("@/types").OptionValue;
315
- label: string;
316
- selected: boolean;
317
- active: boolean;
318
- }) => any) | undefined;
319
- footer?: ((props: {
320
- options: NormalizedOption[];
321
- }) => any) | undefined;
322
- };
323
- }) | null>;
324
- declare const keywords: import("vue").Ref<string, string>;
325
- declare const autocomplete: import("vue").Ref<HTMLElement | null, HTMLElement | null>;
326
- declare const inputElement: import("vue").Ref<HTMLInputElement | null, HTMLInputElement | null>;
327
- declare const dropdownOpened: ComputedRef<boolean>;
328
- declare const normalizedModelValue: ComputedRef<NormalizedOption[]>;
329
- declare const filteredNormalizedOptions: ComputedRef<NormalizedOption[]>;
330
4
  declare function open(): void;
331
5
  declare function close(): void;
332
- declare const onTextInput: (event: Event) => void;
333
- declare const onTextKeydown: (event: KeyboardEvent) => void;
334
- declare const onSelect: (option: NormalizedOption) => void;
335
6
  declare function setKeywords(input: string): void;
336
7
  declare function focus(): void;
337
8
  declare function blur(): void;
338
- declare const slotProps: {
339
- focus: typeof focus;
340
- blur: typeof blur;
341
- open: typeof open;
342
- close: typeof close;
343
- keywords: ComputedRef<string>;
344
- };
345
- declare const removeOption: (option: NormalizedOption) => void;
346
- declare const inputRefWidth: ComputedRef<number>;
347
- declare const floatingStyles: Readonly<import("vue").Ref<{
348
- position: import("@floating-ui/utils").Strategy;
349
- top: string;
350
- left: string;
351
- transform?: string;
352
- willChange?: string;
353
- }, {
354
- position: import("@floating-ui/utils").Strategy;
355
- top: string;
356
- left: string;
357
- transform?: string;
358
- willChange?: string;
359
- }>>;
360
- declare const wrapperClass: ComputedRef<string | string[]>;
361
- declare const inputClasses: ComputedRef<string[]>;
362
- declare const selectionClass: (selection: NormalizedOption) => string;
363
- declare const selectionDeleteClasses: ComputedRef<string>;
364
- declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
365
9
  declare var __VLS_1: {
366
10
  items: NormalizedOption[];
367
11
  removeOption: (option: NormalizedOption) => void;
368
12
  disabled: boolean;
369
- }, __VLS_17: {
13
+ }, __VLS_21: {
370
14
  focus: typeof focus;
371
15
  blur: typeof blur;
372
16
  open: typeof open;
373
17
  close: typeof close;
374
18
  keywords: ComputedRef<string>;
375
- }, __VLS_19: {
19
+ }, __VLS_23: {
376
20
  focus: typeof focus;
377
21
  blur: typeof blur;
378
22
  open: typeof open;
@@ -383,7 +27,7 @@ declare var __VLS_1: {
383
27
  label: string;
384
28
  selected: boolean;
385
29
  active: boolean;
386
- }, __VLS_21: {
30
+ }, __VLS_25: {
387
31
  focus: typeof focus;
388
32
  blur: typeof blur;
389
33
  open: typeof open;
@@ -391,124 +35,16 @@ declare var __VLS_1: {
391
35
  keywords: ComputedRef<string>;
392
36
  options: NormalizedOption[];
393
37
  };
394
- type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
38
+ type __VLS_Slots = {} & {
395
39
  items?: (props: typeof __VLS_1) => any;
396
40
  } & {
397
- empty?: (props: typeof __VLS_17) => any;
41
+ empty?: (props: typeof __VLS_21) => any;
398
42
  } & {
399
- option?: (props: typeof __VLS_19) => any;
43
+ option?: (props: typeof __VLS_23) => any;
400
44
  } & {
401
- footer?: (props: typeof __VLS_21) => any;
402
- }>;
403
- declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
404
- modelValue: {
405
- required: true;
406
- type: PropType<RawOption[] | null>;
407
- };
408
- options: {
409
- required: true;
410
- type: PropType<RawOption[]>;
411
- };
412
- labelKey: {
413
- required: true;
414
- type: PropType<string | ((option: RawOption) => string)>;
415
- };
416
- valueKey: {
417
- required: true;
418
- type: PropType<string | ((option: RawOption) => string)>;
419
- };
420
- name: {
421
- default: undefined;
422
- type: StringConstructor;
423
- };
424
- placeholder: {
425
- default: undefined;
426
- type: StringConstructor;
427
- };
428
- loading: {
429
- default: boolean;
430
- type: BooleanConstructor;
431
- };
432
- loadingBottom: {
433
- default: boolean;
434
- type: BooleanConstructor;
435
- };
436
- required: {
437
- default: undefined;
438
- type: BooleanConstructor;
439
- };
440
- disabled: {
441
- default: boolean;
442
- type: BooleanConstructor;
443
- };
444
- max: {
445
- default: undefined;
446
- type: NumberConstructor;
447
- };
448
- filter: {
449
- default: undefined;
450
- type: PropType<(option: NormalizedOption) => boolean>;
451
- };
452
- hasError: {
453
- default: boolean;
454
- type: BooleanConstructor;
455
- };
456
- inline: {
457
- default: boolean;
458
- type: BooleanConstructor;
459
- };
460
- size: {
461
- default: undefined;
462
- type: PropType<Size>;
463
- };
464
- dropdownShow: {
465
- default: string;
466
- type: PropType<"focus" | "always">;
467
- };
468
- focusOnMount: {
469
- default: boolean;
470
- type: BooleanConstructor;
471
- };
472
- twContainer: {
473
- default: string;
474
- type: PropType<string | string[]>;
475
- };
476
- visibleFocus: {
477
- default: boolean;
478
- type: BooleanConstructor;
479
- };
480
- }>, {
481
- BaseAutocompleteDrawer: typeof BaseAutocompleteDrawer;
482
- t: typeof t;
483
- emit: typeof emit;
484
- inputRef: typeof inputRef;
485
- dropdownRef: typeof dropdownRef;
486
- drawer: typeof drawer;
487
- keywords: typeof keywords;
488
- autocomplete: typeof autocomplete;
489
- inputElement: typeof inputElement;
490
- dropdownOpened: typeof dropdownOpened;
491
- normalizedModelValue: typeof normalizedModelValue;
492
- filteredNormalizedOptions: typeof filteredNormalizedOptions;
493
- open: typeof open;
494
- onTextInput: typeof onTextInput;
495
- onTextKeydown: typeof onTextKeydown;
496
- onSelect: typeof onSelect;
497
- slotProps: typeof slotProps;
498
- removeOption: typeof removeOption;
499
- inputRefWidth: typeof inputRefWidth;
500
- floatingStyles: typeof floatingStyles;
501
- wrapperClass: typeof wrapperClass;
502
- inputClasses: typeof inputClasses;
503
- selectionClass: typeof selectionClass;
504
- selectionDeleteClasses: typeof selectionDeleteClasses;
505
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
506
- close: (...args: any[]) => void;
507
- open: (...args: any[]) => void;
508
- "update:modelValue": (...args: any[]) => void;
509
- scrollBottom: (...args: any[]) => void;
510
- typing: (...args: any[]) => void;
511
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
45
+ footer?: (props: typeof __VLS_25) => any;
46
+ };
47
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
512
48
  modelValue: {
513
49
  required: true;
514
50
  type: PropType<RawOption[] | null>;
@@ -585,105 +121,13 @@ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPro
585
121
  default: boolean;
586
122
  type: BooleanConstructor;
587
123
  };
588
- }>> & Readonly<{
589
- onClose?: ((...args: any[]) => any) | undefined;
590
- onOpen?: ((...args: any[]) => any) | undefined;
591
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
592
- onScrollBottom?: ((...args: any[]) => any) | undefined;
593
- onTyping?: ((...args: any[]) => any) | undefined;
594
- }>, {
595
- filter: (option: NormalizedOption) => boolean;
596
- size: "xs" | "sm" | "md" | "lg" | "xl";
597
- required: boolean;
598
- inline: boolean;
599
- disabled: boolean;
600
- name: string;
601
- placeholder: string;
602
- hasError: boolean;
603
- max: number;
604
- visibleFocus: boolean;
605
- loading: boolean;
606
- loadingBottom: boolean;
607
- dropdownShow: "always" | "focus";
608
- focusOnMount: boolean;
609
- twContainer: string | string[];
610
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
611
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
612
- modelValue: {
613
- required: true;
614
- type: PropType<RawOption[] | null>;
615
- };
616
- options: {
617
- required: true;
618
- type: PropType<RawOption[]>;
619
- };
620
- labelKey: {
621
- required: true;
622
- type: PropType<string | ((option: RawOption) => string)>;
623
- };
624
- valueKey: {
625
- required: true;
626
- type: PropType<string | ((option: RawOption) => string)>;
627
- };
628
- name: {
124
+ optionColor: {
629
125
  default: undefined;
630
- type: StringConstructor;
631
- };
632
- placeholder: {
633
- default: undefined;
634
- type: StringConstructor;
635
- };
636
- loading: {
637
- default: boolean;
638
- type: BooleanConstructor;
639
- };
640
- loadingBottom: {
641
- default: boolean;
642
- type: BooleanConstructor;
643
- };
644
- required: {
645
- default: undefined;
646
- type: BooleanConstructor;
647
- };
648
- disabled: {
649
- default: boolean;
650
- type: BooleanConstructor;
651
- };
652
- max: {
653
- default: undefined;
654
- type: NumberConstructor;
126
+ type: PropType<(option: RawOption) => string>;
655
127
  };
656
- filter: {
128
+ optionIcon: {
657
129
  default: undefined;
658
- type: PropType<(option: NormalizedOption) => boolean>;
659
- };
660
- hasError: {
661
- default: boolean;
662
- type: BooleanConstructor;
663
- };
664
- inline: {
665
- default: boolean;
666
- type: BooleanConstructor;
667
- };
668
- size: {
669
- default: undefined;
670
- type: PropType<Size>;
671
- };
672
- dropdownShow: {
673
- default: string;
674
- type: PropType<"focus" | "always">;
675
- };
676
- focusOnMount: {
677
- default: boolean;
678
- type: BooleanConstructor;
679
- };
680
- twContainer: {
681
- default: string;
682
- type: PropType<string | string[]>;
683
- };
684
- visibleFocus: {
685
- default: boolean;
686
- type: BooleanConstructor;
130
+ type: PropType<(option: RawOption) => string>;
687
131
  };
688
132
  }>, {
689
133
  focus: typeof focus;
@@ -774,6 +218,14 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
774
218
  default: boolean;
775
219
  type: BooleanConstructor;
776
220
  };
221
+ optionColor: {
222
+ default: undefined;
223
+ type: PropType<(option: RawOption) => string>;
224
+ };
225
+ optionIcon: {
226
+ default: undefined;
227
+ type: PropType<(option: RawOption) => string>;
228
+ };
777
229
  }>> & Readonly<{
778
230
  onClose?: ((...args: any[]) => any) | undefined;
779
231
  onOpen?: ((...args: any[]) => any) | undefined;
@@ -782,17 +234,19 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
782
234
  onTyping?: ((...args: any[]) => any) | undefined;
783
235
  }>, {
784
236
  filter: (option: NormalizedOption) => boolean;
237
+ placeholder: string;
238
+ inline: boolean;
785
239
  size: "xs" | "sm" | "md" | "lg" | "xl";
786
240
  required: boolean;
787
- inline: boolean;
788
241
  disabled: boolean;
789
242
  name: string;
790
- placeholder: string;
791
243
  hasError: boolean;
792
244
  max: number;
793
245
  visibleFocus: boolean;
794
246
  loading: boolean;
795
247
  loadingBottom: boolean;
248
+ optionColor: (option: RawOption) => string;
249
+ optionIcon: (option: RawOption) => string;
796
250
  dropdownShow: "always" | "focus";
797
251
  focusOnMount: boolean;
798
252
  twContainer: string | string[];