sprintify-ui 0.10.13 → 0.10.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/README.md +4 -2
  2. package/dist/BaseCkeditor-C9d4NSCx.js +113 -0
  3. package/dist/sprintify-ui.es.js +14283 -81751
  4. package/dist/style.css +3 -3
  5. package/dist/types/components/BaseActionButtons.vue.d.ts +1 -1
  6. package/dist/types/components/BaseActionItem.vue.d.ts +7 -10
  7. package/dist/types/components/BaseAddressForm.vue.d.ts +1 -1
  8. package/dist/types/components/BaseAlert.vue.d.ts +24 -11
  9. package/dist/types/components/BaseApp.vue.d.ts +14 -12
  10. package/dist/types/components/BaseAssign.vue.d.ts +1 -1
  11. package/dist/types/components/BaseAutocomplete.vue.d.ts +642 -452
  12. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +117 -22
  13. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +1029 -410
  14. package/dist/types/components/BaseAvatar.vue.d.ts +1 -1
  15. package/dist/types/components/BaseAvatarGroup.vue.d.ts +1 -1
  16. package/dist/types/components/BaseBadge.vue.d.ts +23 -11
  17. package/dist/types/components/BaseBelongsTo.vue.d.ts +985 -409
  18. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +750 -369
  19. package/dist/types/components/BaseBoolean.vue.d.ts +1 -1
  20. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +1 -1
  21. package/dist/types/components/BaseButton.vue.d.ts +57 -13
  22. package/dist/types/components/BaseButtonGroup.vue.d.ts +166 -15
  23. package/dist/types/components/BaseCard.vue.d.ts +26 -12
  24. package/dist/types/components/BaseCardRow.vue.d.ts +20 -11
  25. package/dist/types/components/BaseCharacterCounter.vue.d.ts +1 -1
  26. package/dist/types/components/BaseCkeditor.vue.d.ts +32 -0
  27. package/dist/types/components/BaseClipboard.vue.d.ts +45 -13
  28. package/dist/types/components/BaseCollapse.vue.d.ts +41 -20
  29. package/dist/types/components/BaseContainer.vue.d.ts +16 -11
  30. package/dist/types/components/BaseCounter.vue.d.ts +1 -1
  31. package/dist/types/components/BaseCropper.vue.d.ts +55 -30
  32. package/dist/types/components/BaseDataIterator.vue.d.ts +43 -42
  33. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +15 -12
  34. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +1 -1
  35. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +19 -10
  36. package/dist/types/components/BaseDataTable.vue.d.ts +2045 -735
  37. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +563 -100
  38. package/dist/types/components/BaseDatePicker.vue.d.ts +1 -1
  39. package/dist/types/components/BaseDateSelect.vue.d.ts +1 -1
  40. package/dist/types/components/BaseDescriptionList.vue.d.ts +12 -12
  41. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +16 -15
  42. package/dist/types/components/BaseDialog.vue.d.ts +114 -407
  43. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +55 -13
  44. package/dist/types/components/BaseDraggable.vue.d.ts +21 -17
  45. package/dist/types/components/BaseDropdown.vue.d.ts +155 -17
  46. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +134 -19
  47. package/dist/types/components/BaseField.vue.d.ts +103 -12
  48. package/dist/types/components/BaseFieldI18n.vue.d.ts +1 -1
  49. package/dist/types/components/BaseFilePicker.vue.d.ts +35 -16
  50. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +87 -42
  51. package/dist/types/components/BaseFileUploader.vue.d.ts +195 -29
  52. package/dist/types/components/BaseForm.vue.d.ts +161 -20
  53. package/dist/types/components/BaseGantt.vue.d.ts +1130 -409
  54. package/dist/types/components/BaseHasMany.vue.d.ts +586 -345
  55. package/dist/types/components/BaseHasManyFetch.vue.d.ts +598 -249
  56. package/dist/types/components/BaseHeader.vue.d.ts +1 -1
  57. package/dist/types/components/BaseIconPicker.vue.d.ts +1 -1
  58. package/dist/types/components/BaseInputError.vue.d.ts +23 -11
  59. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +1 -1
  60. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +1 -1
  61. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +127 -16
  62. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +115 -13
  63. package/dist/types/components/BaseLayoutStacked.vue.d.ts +69 -22
  64. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +120 -10
  65. package/dist/types/components/BaseLazy.vue.d.ts +20 -15
  66. package/dist/types/components/BaseMediaGallery.vue.d.ts +1 -1
  67. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +1 -1
  68. package/dist/types/components/BaseMediaItem.vue.d.ts +1 -1
  69. package/dist/types/components/BaseMediaLibrary.vue.d.ts +234 -34
  70. package/dist/types/components/BaseMediaList.vue.d.ts +1 -1
  71. package/dist/types/components/BaseMediaListItem.vue.d.ts +1 -1
  72. package/dist/types/components/BaseMediaPictures.vue.d.ts +1 -1
  73. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +1 -1
  74. package/dist/types/components/BaseMenu.vue.d.ts +233 -30
  75. package/dist/types/components/BaseMenuItem.vue.d.ts +1 -1
  76. package/dist/types/components/BaseModalCenter.vue.d.ts +88 -12
  77. package/dist/types/components/BaseModalSide.vue.d.ts +72 -12
  78. package/dist/types/components/BaseNavbar.vue.d.ts +88 -22
  79. package/dist/types/components/BaseNavbarItem.vue.d.ts +1 -1
  80. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +1 -1
  81. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +1 -1
  82. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +1 -1
  83. package/dist/types/components/BasePagination.vue.d.ts +1 -1
  84. package/dist/types/components/BaseRadioGroup.vue.d.ts +113 -13
  85. package/dist/types/components/BaseReadMore.vue.d.ts +31 -12
  86. package/dist/types/components/BaseRichText.vue.d.ts +1 -1
  87. package/dist/types/components/BaseSelect.vue.d.ts +149 -12
  88. package/dist/types/components/BaseShortcut.vue.d.ts +1 -1
  89. package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -12
  90. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +22 -13
  91. package/dist/types/components/BaseSkeleton.vue.d.ts +3 -3
  92. package/dist/types/components/BaseStepper.vue.d.ts +1 -1
  93. package/dist/types/components/BaseSwitch.vue.d.ts +118 -10
  94. package/dist/types/components/BaseSystemAlert.vue.d.ts +58 -11
  95. package/dist/types/components/BaseTabItem.vue.d.ts +25 -16
  96. package/dist/types/components/BaseTable.vue.d.ts +29 -14
  97. package/dist/types/components/BaseTableBody.vue.d.ts +9 -12
  98. package/dist/types/components/BaseTableCell.vue.d.ts +40 -15
  99. package/dist/types/components/BaseTableColumn.vue.d.ts +2 -2
  100. package/dist/types/components/BaseTableHead.vue.d.ts +14 -12
  101. package/dist/types/components/BaseTableHeader.vue.d.ts +25 -14
  102. package/dist/types/components/BaseTableRow.vue.d.ts +40 -13
  103. package/dist/types/components/BaseTabs.vue.d.ts +16 -15
  104. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +578 -199
  105. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +803 -346
  106. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +1 -1
  107. package/dist/types/components/BaseTimeline.vue.d.ts +1 -1
  108. package/dist/types/components/BaseTimelineItem.vue.d.ts +1 -1
  109. package/dist/types/components/BaseToast.vue.d.ts +1 -1
  110. package/dist/types/components/BaseTooltip.vue.d.ts +41 -15
  111. package/dist/types/components/BaseUniqueCode.vue.d.ts +1 -1
  112. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  113. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  114. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  115. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  116. package/package.json +3 -4
  117. package/src/components/BaseCkeditor.vue +137 -0
  118. package/src/components/BaseRichText.vue +10 -100
@@ -1,14 +1,209 @@
1
1
  import { RawOption } from '@/types';
2
2
  import { PropType } from 'vue';
3
- declare function __VLS_template(): {
4
- attrs: Partial<{}>;
5
- slots: {
6
- items?(_: {
3
+ import BaseTagAutocompleteFetch from './BaseTagAutocompleteFetch.vue';
4
+ declare const tagAutocompleteFetch: import("vue").Ref<({
5
+ $: import("vue").ComponentInternalInstance;
6
+ $data: {};
7
+ $props: Partial<{
8
+ required: boolean;
9
+ disabled: boolean;
10
+ placeholder: string;
11
+ hasError: boolean;
12
+ max: number;
13
+ focusOnMount: boolean;
14
+ queryKey: string;
15
+ }> & Omit<{
16
+ readonly required: boolean;
17
+ readonly disabled: boolean;
18
+ readonly modelValue: RawOption[];
19
+ readonly hasError: boolean;
20
+ readonly url: string;
21
+ readonly labelKey: string;
22
+ readonly valueKey: string;
23
+ readonly focusOnMount: boolean;
24
+ readonly queryKey: string;
25
+ readonly placeholder?: string | undefined;
26
+ readonly max?: number | undefined;
27
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
28
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
29
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
30
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
31
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
32
+ $attrs: {
33
+ [x: string]: unknown;
34
+ };
35
+ $refs: {
36
+ [x: string]: unknown;
37
+ };
38
+ $slots: Readonly<{
39
+ [name: string]: import("vue").Slot<any> | undefined;
40
+ }>;
41
+ $root: import("vue").ComponentPublicInstance | null;
42
+ $parent: import("vue").ComponentPublicInstance | null;
43
+ $host: Element | null;
44
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
45
+ $el: any;
46
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
47
+ modelValue: {
48
+ required: true;
49
+ type: PropType<RawOption[]>;
50
+ };
51
+ url: {
52
+ required: true;
53
+ type: StringConstructor;
54
+ };
55
+ labelKey: {
56
+ required: true;
57
+ type: StringConstructor;
58
+ };
59
+ valueKey: {
60
+ required: true;
61
+ type: StringConstructor;
62
+ };
63
+ placeholder: {
64
+ default: undefined;
65
+ type: StringConstructor;
66
+ };
67
+ required: {
68
+ default: boolean;
69
+ type: BooleanConstructor;
70
+ };
71
+ disabled: {
72
+ default: boolean;
73
+ type: BooleanConstructor;
74
+ };
75
+ max: {
76
+ default: undefined;
77
+ type: NumberConstructor;
78
+ };
79
+ queryKey: {
80
+ default: string;
81
+ type: StringConstructor;
82
+ };
83
+ hasError: {
84
+ default: boolean;
85
+ type: BooleanConstructor;
86
+ };
87
+ focusOnMount: {
88
+ default: boolean;
89
+ type: BooleanConstructor;
90
+ };
91
+ }>> & Readonly<{
92
+ onFocus?: ((...args: any[]) => any) | undefined;
93
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
94
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
95
+ onTyping?: ((...args: any[]) => any) | undefined;
96
+ }>, {
97
+ focus: () => void | undefined;
98
+ blur: () => void | undefined;
99
+ open: () => void | undefined;
100
+ close: () => void | undefined;
101
+ setKeywords: (input: string) => void | undefined;
102
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
103
+ focus: (...args: any[]) => void;
104
+ "update:modelValue": (...args: any[]) => void;
105
+ scrollBottom: (...args: any[]) => void;
106
+ typing: (...args: any[]) => void;
107
+ }, string, {
108
+ required: boolean;
109
+ disabled: boolean;
110
+ placeholder: string;
111
+ hasError: boolean;
112
+ max: number;
113
+ focusOnMount: boolean;
114
+ queryKey: string;
115
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
116
+ beforeCreate?: (() => void) | (() => void)[];
117
+ created?: (() => void) | (() => void)[];
118
+ beforeMount?: (() => void) | (() => void)[];
119
+ mounted?: (() => void) | (() => void)[];
120
+ beforeUpdate?: (() => void) | (() => void)[];
121
+ updated?: (() => void) | (() => void)[];
122
+ activated?: (() => void) | (() => void)[];
123
+ deactivated?: (() => void) | (() => void)[];
124
+ beforeDestroy?: (() => void) | (() => void)[];
125
+ beforeUnmount?: (() => void) | (() => void)[];
126
+ destroyed?: (() => void) | (() => void)[];
127
+ unmounted?: (() => void) | (() => void)[];
128
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
129
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
130
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
131
+ };
132
+ $forceUpdate: () => void;
133
+ $nextTick: typeof import("vue").nextTick;
134
+ $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;
135
+ } & Readonly<{
136
+ required: boolean;
137
+ disabled: boolean;
138
+ placeholder: string;
139
+ hasError: boolean;
140
+ max: number;
141
+ focusOnMount: boolean;
142
+ queryKey: string;
143
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
144
+ modelValue: {
145
+ required: true;
146
+ type: PropType<RawOption[]>;
147
+ };
148
+ url: {
149
+ required: true;
150
+ type: StringConstructor;
151
+ };
152
+ labelKey: {
153
+ required: true;
154
+ type: StringConstructor;
155
+ };
156
+ valueKey: {
157
+ required: true;
158
+ type: StringConstructor;
159
+ };
160
+ placeholder: {
161
+ default: undefined;
162
+ type: StringConstructor;
163
+ };
164
+ required: {
165
+ default: boolean;
166
+ type: BooleanConstructor;
167
+ };
168
+ disabled: {
169
+ default: boolean;
170
+ type: BooleanConstructor;
171
+ };
172
+ max: {
173
+ default: undefined;
174
+ type: NumberConstructor;
175
+ };
176
+ queryKey: {
177
+ default: string;
178
+ type: StringConstructor;
179
+ };
180
+ hasError: {
181
+ default: boolean;
182
+ type: BooleanConstructor;
183
+ };
184
+ focusOnMount: {
185
+ default: boolean;
186
+ type: BooleanConstructor;
187
+ };
188
+ }>> & Readonly<{
189
+ onFocus?: ((...args: any[]) => any) | undefined;
190
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
191
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
192
+ onTyping?: ((...args: any[]) => any) | undefined;
193
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
194
+ focus: () => void | undefined;
195
+ blur: () => void | undefined;
196
+ open: () => void | undefined;
197
+ close: () => void | undefined;
198
+ setKeywords: (input: string) => void | undefined;
199
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
200
+ $slots: {
201
+ items?: ((props: {
7
202
  items: import("@/types").NormalizedOption[];
8
203
  removeOption: (option: import("@/types").NormalizedOption) => void;
9
204
  disabled: boolean;
10
- }): any;
11
- option?(_: {
205
+ }) => any) | undefined;
206
+ option?: ((props: {
12
207
  focus: () => void;
13
208
  blur: () => void;
14
209
  open: () => void;
@@ -17,259 +212,413 @@ declare function __VLS_template(): {
17
212
  option: RawOption;
18
213
  selected: boolean;
19
214
  active: boolean;
20
- }): any;
21
- empty?(_: {
215
+ }) => any) | undefined;
216
+ footer?: ((props: {
217
+ keywords: string;
218
+ focus: () => void;
219
+ blur: () => void;
220
+ open: () => void;
221
+ close: () => void;
222
+ options: import("@/types").NormalizedOption[];
223
+ }) => any) | undefined;
224
+ empty?: ((props: {
22
225
  firstSearch: boolean;
23
226
  focus: () => void;
24
227
  blur: () => void;
25
228
  open: () => void;
26
229
  close: () => void;
27
230
  keywords: import("vue").ComputedRef<string>;
28
- }): any;
29
- footer?(_: {
231
+ }) => any) | undefined;
232
+ };
233
+ }) | null, ({
234
+ $: import("vue").ComponentInternalInstance;
235
+ $data: {};
236
+ $props: Partial<{
237
+ required: boolean;
238
+ disabled: boolean;
239
+ placeholder: string;
240
+ hasError: boolean;
241
+ max: number;
242
+ focusOnMount: boolean;
243
+ queryKey: string;
244
+ }> & Omit<{
245
+ readonly required: boolean;
246
+ readonly disabled: boolean;
247
+ readonly modelValue: RawOption[];
248
+ readonly hasError: boolean;
249
+ readonly url: string;
250
+ readonly labelKey: string;
251
+ readonly valueKey: string;
252
+ readonly focusOnMount: boolean;
253
+ readonly queryKey: string;
254
+ readonly placeholder?: string | undefined;
255
+ readonly max?: number | undefined;
256
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
257
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
258
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
259
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
260
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
261
+ $attrs: {
262
+ [x: string]: unknown;
263
+ };
264
+ $refs: {
265
+ [x: string]: unknown;
266
+ };
267
+ $slots: Readonly<{
268
+ [name: string]: import("vue").Slot<any> | undefined;
269
+ }>;
270
+ $root: import("vue").ComponentPublicInstance | null;
271
+ $parent: import("vue").ComponentPublicInstance | null;
272
+ $host: Element | null;
273
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
274
+ $el: any;
275
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
276
+ modelValue: {
277
+ required: true;
278
+ type: PropType<RawOption[]>;
279
+ };
280
+ url: {
281
+ required: true;
282
+ type: StringConstructor;
283
+ };
284
+ labelKey: {
285
+ required: true;
286
+ type: StringConstructor;
287
+ };
288
+ valueKey: {
289
+ required: true;
290
+ type: StringConstructor;
291
+ };
292
+ placeholder: {
293
+ default: undefined;
294
+ type: StringConstructor;
295
+ };
296
+ required: {
297
+ default: boolean;
298
+ type: BooleanConstructor;
299
+ };
300
+ disabled: {
301
+ default: boolean;
302
+ type: BooleanConstructor;
303
+ };
304
+ max: {
305
+ default: undefined;
306
+ type: NumberConstructor;
307
+ };
308
+ queryKey: {
309
+ default: string;
310
+ type: StringConstructor;
311
+ };
312
+ hasError: {
313
+ default: boolean;
314
+ type: BooleanConstructor;
315
+ };
316
+ focusOnMount: {
317
+ default: boolean;
318
+ type: BooleanConstructor;
319
+ };
320
+ }>> & Readonly<{
321
+ onFocus?: ((...args: any[]) => any) | undefined;
322
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
323
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
324
+ onTyping?: ((...args: any[]) => any) | undefined;
325
+ }>, {
326
+ focus: () => void | undefined;
327
+ blur: () => void | undefined;
328
+ open: () => void | undefined;
329
+ close: () => void | undefined;
330
+ setKeywords: (input: string) => void | undefined;
331
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
332
+ focus: (...args: any[]) => void;
333
+ "update:modelValue": (...args: any[]) => void;
334
+ scrollBottom: (...args: any[]) => void;
335
+ typing: (...args: any[]) => void;
336
+ }, string, {
337
+ required: boolean;
338
+ disabled: boolean;
339
+ placeholder: string;
340
+ hasError: boolean;
341
+ max: number;
342
+ focusOnMount: boolean;
343
+ queryKey: string;
344
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
345
+ beforeCreate?: (() => void) | (() => void)[];
346
+ created?: (() => void) | (() => void)[];
347
+ beforeMount?: (() => void) | (() => void)[];
348
+ mounted?: (() => void) | (() => void)[];
349
+ beforeUpdate?: (() => void) | (() => void)[];
350
+ updated?: (() => void) | (() => void)[];
351
+ activated?: (() => void) | (() => void)[];
352
+ deactivated?: (() => void) | (() => void)[];
353
+ beforeDestroy?: (() => void) | (() => void)[];
354
+ beforeUnmount?: (() => void) | (() => void)[];
355
+ destroyed?: (() => void) | (() => void)[];
356
+ unmounted?: (() => void) | (() => void)[];
357
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
358
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
359
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
360
+ };
361
+ $forceUpdate: () => void;
362
+ $nextTick: typeof import("vue").nextTick;
363
+ $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;
364
+ } & Readonly<{
365
+ required: boolean;
366
+ disabled: boolean;
367
+ placeholder: string;
368
+ hasError: boolean;
369
+ max: number;
370
+ focusOnMount: boolean;
371
+ queryKey: string;
372
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
373
+ modelValue: {
374
+ required: true;
375
+ type: PropType<RawOption[]>;
376
+ };
377
+ url: {
378
+ required: true;
379
+ type: StringConstructor;
380
+ };
381
+ labelKey: {
382
+ required: true;
383
+ type: StringConstructor;
384
+ };
385
+ valueKey: {
386
+ required: true;
387
+ type: StringConstructor;
388
+ };
389
+ placeholder: {
390
+ default: undefined;
391
+ type: StringConstructor;
392
+ };
393
+ required: {
394
+ default: boolean;
395
+ type: BooleanConstructor;
396
+ };
397
+ disabled: {
398
+ default: boolean;
399
+ type: BooleanConstructor;
400
+ };
401
+ max: {
402
+ default: undefined;
403
+ type: NumberConstructor;
404
+ };
405
+ queryKey: {
406
+ default: string;
407
+ type: StringConstructor;
408
+ };
409
+ hasError: {
410
+ default: boolean;
411
+ type: BooleanConstructor;
412
+ };
413
+ focusOnMount: {
414
+ default: boolean;
415
+ type: BooleanConstructor;
416
+ };
417
+ }>> & Readonly<{
418
+ onFocus?: ((...args: any[]) => any) | undefined;
419
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
420
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
421
+ onTyping?: ((...args: any[]) => any) | undefined;
422
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
423
+ focus: () => void | undefined;
424
+ blur: () => void | undefined;
425
+ open: () => void | undefined;
426
+ close: () => void | undefined;
427
+ setKeywords: (input: string) => void | undefined;
428
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
429
+ $slots: {
430
+ items?: ((props: {
431
+ items: import("@/types").NormalizedOption[];
432
+ removeOption: (option: import("@/types").NormalizedOption) => void;
433
+ disabled: boolean;
434
+ }) => any) | undefined;
435
+ option?: ((props: {
436
+ focus: () => void;
437
+ blur: () => void;
438
+ open: () => void;
439
+ close: () => void;
440
+ keywords: import("vue").ComputedRef<string>;
441
+ option: RawOption;
442
+ selected: boolean;
443
+ active: boolean;
444
+ }) => any) | undefined;
445
+ footer?: ((props: {
30
446
  keywords: string;
31
447
  focus: () => void;
32
448
  blur: () => void;
33
449
  open: () => void;
34
450
  close: () => void;
35
451
  options: import("@/types").NormalizedOption[];
36
- }): any;
37
- };
38
- refs: {
39
- tagAutocompleteFetch: ({
40
- $: import("vue").ComponentInternalInstance;
41
- $data: {};
42
- $props: Partial<{
43
- required: boolean;
44
- disabled: boolean;
45
- placeholder: string;
46
- hasError: boolean;
47
- max: number;
48
- focusOnMount: boolean;
49
- queryKey: string;
50
- }> & Omit<{
51
- readonly required: boolean;
52
- readonly disabled: boolean;
53
- readonly modelValue: RawOption[];
54
- readonly hasError: boolean;
55
- readonly url: string;
56
- readonly labelKey: string;
57
- readonly valueKey: string;
58
- readonly focusOnMount: boolean;
59
- readonly queryKey: string;
60
- readonly placeholder?: string | undefined;
61
- readonly max?: number | undefined;
62
- readonly onFocus?: ((...args: any[]) => any) | undefined;
63
- readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
64
- readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
65
- readonly onTyping?: ((...args: any[]) => any) | undefined;
66
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
67
- $attrs: {
68
- [x: string]: unknown;
69
- };
70
- $refs: {
71
- [x: string]: unknown;
72
- };
73
- $slots: Readonly<{
74
- [name: string]: import("vue").Slot<any> | undefined;
75
- }>;
76
- $root: import("vue").ComponentPublicInstance | null;
77
- $parent: import("vue").ComponentPublicInstance | null;
78
- $host: Element | null;
79
- $emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
80
- $el: HTMLDivElement;
81
- $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
82
- modelValue: {
83
- required: true;
84
- type: PropType<RawOption[]>;
85
- };
86
- url: {
87
- required: true;
88
- type: StringConstructor;
89
- };
90
- labelKey: {
91
- required: true;
92
- type: StringConstructor;
93
- };
94
- valueKey: {
95
- required: true;
96
- type: StringConstructor;
97
- };
98
- placeholder: {
99
- default: undefined;
100
- type: StringConstructor;
101
- };
102
- required: {
103
- default: boolean;
104
- type: BooleanConstructor;
105
- };
106
- disabled: {
107
- default: boolean;
108
- type: BooleanConstructor;
109
- };
110
- max: {
111
- default: undefined;
112
- type: NumberConstructor;
113
- };
114
- queryKey: {
115
- default: string;
116
- type: StringConstructor;
117
- };
118
- hasError: {
119
- default: boolean;
120
- type: BooleanConstructor;
121
- };
122
- focusOnMount: {
123
- default: boolean;
124
- type: BooleanConstructor;
125
- };
126
- }>> & Readonly<{
127
- onFocus?: ((...args: any[]) => any) | undefined;
128
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
129
- onScrollBottom?: ((...args: any[]) => any) | undefined;
130
- onTyping?: ((...args: any[]) => any) | undefined;
131
- }>, {
132
- focus: () => void | undefined;
133
- blur: () => void | undefined;
134
- open: () => void | undefined;
135
- close: () => void | undefined;
136
- setKeywords: (input: string) => void | undefined;
137
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
138
- focus: (...args: any[]) => void;
139
- "update:modelValue": (...args: any[]) => void;
140
- scrollBottom: (...args: any[]) => void;
141
- typing: (...args: any[]) => void;
142
- }, string, {
143
- required: boolean;
144
- disabled: boolean;
145
- placeholder: string;
146
- hasError: boolean;
147
- max: number;
148
- focusOnMount: boolean;
149
- queryKey: string;
150
- }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
151
- beforeCreate?: (() => void) | (() => void)[];
152
- created?: (() => void) | (() => void)[];
153
- beforeMount?: (() => void) | (() => void)[];
154
- mounted?: (() => void) | (() => void)[];
155
- beforeUpdate?: (() => void) | (() => void)[];
156
- updated?: (() => void) | (() => void)[];
157
- activated?: (() => void) | (() => void)[];
158
- deactivated?: (() => void) | (() => void)[];
159
- beforeDestroy?: (() => void) | (() => void)[];
160
- beforeUnmount?: (() => void) | (() => void)[];
161
- destroyed?: (() => void) | (() => void)[];
162
- unmounted?: (() => void) | (() => void)[];
163
- renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
164
- renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
165
- errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
166
- };
167
- $forceUpdate: () => void;
168
- $nextTick: typeof import("vue").nextTick;
169
- $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;
170
- } & Readonly<{
171
- required: boolean;
172
- disabled: boolean;
173
- placeholder: string;
174
- hasError: boolean;
175
- max: number;
176
- focusOnMount: boolean;
177
- queryKey: string;
178
- }> & Omit<Readonly<import("vue").ExtractPropTypes<{
179
- modelValue: {
180
- required: true;
181
- type: PropType<RawOption[]>;
182
- };
183
- url: {
184
- required: true;
185
- type: StringConstructor;
186
- };
187
- labelKey: {
188
- required: true;
189
- type: StringConstructor;
190
- };
191
- valueKey: {
192
- required: true;
193
- type: StringConstructor;
194
- };
195
- placeholder: {
196
- default: undefined;
197
- type: StringConstructor;
198
- };
199
- required: {
200
- default: boolean;
201
- type: BooleanConstructor;
202
- };
203
- disabled: {
204
- default: boolean;
205
- type: BooleanConstructor;
206
- };
207
- max: {
208
- default: undefined;
209
- type: NumberConstructor;
210
- };
211
- queryKey: {
212
- default: string;
213
- type: StringConstructor;
214
- };
215
- hasError: {
216
- default: boolean;
217
- type: BooleanConstructor;
218
- };
219
- focusOnMount: {
220
- default: boolean;
221
- type: BooleanConstructor;
222
- };
223
- }>> & Readonly<{
224
- onFocus?: ((...args: any[]) => any) | undefined;
225
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
226
- onScrollBottom?: ((...args: any[]) => any) | undefined;
227
- onTyping?: ((...args: any[]) => any) | undefined;
228
- }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
229
- focus: () => void | undefined;
230
- blur: () => void | undefined;
231
- open: () => void | undefined;
232
- close: () => void | undefined;
233
- setKeywords: (input: string) => void | undefined;
234
- }> & {} & import("vue").ComponentCustomProperties & {} & {
235
- $slots: {
236
- items?(_: {
237
- items: import("@/types").NormalizedOption[];
238
- removeOption: (option: import("@/types").NormalizedOption) => void;
239
- disabled: boolean;
240
- }): any;
241
- option?(_: {
242
- focus: () => void;
243
- blur: () => void;
244
- open: () => void;
245
- close: () => void;
246
- keywords: import("vue").ComputedRef<string>;
247
- option: RawOption;
248
- selected: boolean;
249
- active: boolean;
250
- }): any;
251
- footer?(_: {
252
- keywords: string;
253
- focus: () => void;
254
- blur: () => void;
255
- open: () => void;
256
- close: () => void;
257
- options: import("@/types").NormalizedOption[];
258
- }): any;
259
- empty?(_: {
260
- firstSearch: boolean;
261
- focus: () => void;
262
- blur: () => void;
263
- open: () => void;
264
- close: () => void;
265
- keywords: import("vue").ComputedRef<string>;
266
- }): any;
267
- };
268
- }) | null;
269
- };
270
- rootEl: HTMLDivElement;
452
+ }) => any) | undefined;
453
+ empty?: ((props: {
454
+ firstSearch: boolean;
455
+ focus: () => void;
456
+ blur: () => void;
457
+ open: () => void;
458
+ close: () => void;
459
+ keywords: import("vue").ComputedRef<string>;
460
+ }) => any) | undefined;
461
+ };
462
+ }) | null>;
463
+ declare const models: import("vue").Ref<RawOption[], RawOption[]>;
464
+ declare function onUpdate(newModels: RawOption[]): void;
465
+ declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
466
+ declare var __VLS_10: {
467
+ items: import("@/types").NormalizedOption[];
468
+ removeOption: (option: import("@/types").NormalizedOption) => void;
469
+ disabled: boolean;
470
+ }, __VLS_12: {
471
+ focus: () => void;
472
+ blur: () => void;
473
+ open: () => void;
474
+ close: () => void;
475
+ keywords: import("vue").ComputedRef<string>;
476
+ option: RawOption;
477
+ selected: boolean;
478
+ active: boolean;
479
+ }, __VLS_14: {
480
+ firstSearch: boolean;
481
+ focus: () => void;
482
+ blur: () => void;
483
+ open: () => void;
484
+ close: () => void;
485
+ keywords: import("vue").ComputedRef<string>;
486
+ }, __VLS_16: {
487
+ keywords: string;
488
+ focus: () => void;
489
+ blur: () => void;
490
+ open: () => void;
491
+ close: () => void;
492
+ options: import("@/types").NormalizedOption[];
271
493
  };
272
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
494
+ type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & {
495
+ items?: (props: typeof __VLS_10) => any;
496
+ } & {
497
+ option?: (props: typeof __VLS_12) => any;
498
+ } & {
499
+ empty?: (props: typeof __VLS_14) => any;
500
+ } & {
501
+ footer?: (props: typeof __VLS_16) => any;
502
+ }>;
503
+ declare const __VLS_self: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
504
+ modelValue: {
505
+ default: undefined;
506
+ type: PropType<string[] | string | number | null | undefined>;
507
+ };
508
+ url: {
509
+ required: true;
510
+ type: StringConstructor;
511
+ };
512
+ showRouteUrl: {
513
+ default: undefined;
514
+ type: PropType<((ids: (string | number)[]) => string) | undefined>;
515
+ };
516
+ primaryKey: {
517
+ default: string;
518
+ type: StringConstructor;
519
+ };
520
+ field: {
521
+ required: true;
522
+ type: StringConstructor;
523
+ };
524
+ required: {
525
+ default: boolean;
526
+ type: BooleanConstructor;
527
+ };
528
+ disabled: {
529
+ default: boolean;
530
+ type: BooleanConstructor;
531
+ };
532
+ placeholder: {
533
+ default: undefined;
534
+ type: StringConstructor;
535
+ };
536
+ max: {
537
+ default: undefined;
538
+ type: NumberConstructor;
539
+ };
540
+ queryKey: {
541
+ default: string;
542
+ type: StringConstructor;
543
+ };
544
+ currentModels: {
545
+ default(): undefined;
546
+ type: PropType<RawOption[] | undefined>;
547
+ };
548
+ hasError: {
549
+ default: boolean;
550
+ type: BooleanConstructor;
551
+ };
552
+ }>, {
553
+ BaseTagAutocompleteFetch: typeof BaseTagAutocompleteFetch;
554
+ tagAutocompleteFetch: typeof tagAutocompleteFetch;
555
+ models: typeof models;
556
+ onUpdate: typeof onUpdate;
557
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
558
+ "update:modelValue": (...args: any[]) => void;
559
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
560
+ modelValue: {
561
+ default: undefined;
562
+ type: PropType<string[] | string | number | null | undefined>;
563
+ };
564
+ url: {
565
+ required: true;
566
+ type: StringConstructor;
567
+ };
568
+ showRouteUrl: {
569
+ default: undefined;
570
+ type: PropType<((ids: (string | number)[]) => string) | undefined>;
571
+ };
572
+ primaryKey: {
573
+ default: string;
574
+ type: StringConstructor;
575
+ };
576
+ field: {
577
+ required: true;
578
+ type: StringConstructor;
579
+ };
580
+ required: {
581
+ default: boolean;
582
+ type: BooleanConstructor;
583
+ };
584
+ disabled: {
585
+ default: boolean;
586
+ type: BooleanConstructor;
587
+ };
588
+ placeholder: {
589
+ default: undefined;
590
+ type: StringConstructor;
591
+ };
592
+ max: {
593
+ default: undefined;
594
+ type: NumberConstructor;
595
+ };
596
+ queryKey: {
597
+ default: string;
598
+ type: StringConstructor;
599
+ };
600
+ currentModels: {
601
+ default(): undefined;
602
+ type: PropType<RawOption[] | undefined>;
603
+ };
604
+ hasError: {
605
+ default: boolean;
606
+ type: BooleanConstructor;
607
+ };
608
+ }>> & Readonly<{
609
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
610
+ }>, {
611
+ required: boolean;
612
+ disabled: boolean;
613
+ modelValue: string | number | string[] | null | undefined;
614
+ placeholder: string;
615
+ hasError: boolean;
616
+ max: number;
617
+ primaryKey: string;
618
+ queryKey: string;
619
+ showRouteUrl: ((ids: (string | number)[]) => string) | undefined;
620
+ currentModels: RawOption[] | undefined;
621
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
273
622
  declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
274
623
  modelValue: {
275
624
  default: undefined;
@@ -389,10 +738,10 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
389
738
  queryKey: string;
390
739
  showRouteUrl: ((ids: (string | number)[]) => string) | undefined;
391
740
  currentModels: RawOption[] | undefined;
392
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, HTMLDivElement>;
393
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
741
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
742
+ declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
394
743
  export default _default;
395
- type __VLS_WithTemplateSlots<T, S> = T & {
744
+ type __VLS_WithSlots<T, S> = T & {
396
745
  new (): {
397
746
  $slots: S;
398
747
  };