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