sprintify-ui 0.8.41 → 0.8.43

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 (138) hide show
  1. package/dist/sprintify-ui.es.js +4910 -4972
  2. package/dist/types/components/BaseActionItem.vue.d.ts +5 -15
  3. package/dist/types/components/BaseActionItemButton.vue.d.ts +4 -25
  4. package/dist/types/components/BaseAddressForm.vue.d.ts +6 -45
  5. package/dist/types/components/BaseAlert.vue.d.ts +11 -37
  6. package/dist/types/components/BaseApp.vue.d.ts +8 -3
  7. package/dist/types/components/BaseAppDialogs.vue.d.ts +1 -1
  8. package/dist/types/components/BaseAppSnackbars.vue.d.ts +1 -1
  9. package/dist/types/components/BaseAutocomplete.vue.d.ts +585 -37
  10. package/dist/types/components/BaseAutocompleteDrawer.vue.d.ts +24 -16
  11. package/dist/types/components/BaseAutocompleteFetch.vue.d.ts +526 -36
  12. package/dist/types/components/BaseAvatar.vue.d.ts +4 -4
  13. package/dist/types/components/BaseAvatarGroup.vue.d.ts +4 -4
  14. package/dist/types/components/BaseBadge.vue.d.ts +11 -35
  15. package/dist/types/components/BaseBelongsTo.vue.d.ts +524 -34
  16. package/dist/types/components/BaseBelongsToFetch.vue.d.ts +484 -35
  17. package/dist/types/components/BaseBoolean.vue.d.ts +3 -12
  18. package/dist/types/components/BaseBreadcrumbs.vue.d.ts +4 -4
  19. package/dist/types/components/BaseButton.vue.d.ts +17 -53
  20. package/dist/types/components/BaseButtonGroup.vue.d.ts +19 -14
  21. package/dist/types/components/BaseCalendar.vue.d.ts +46 -13
  22. package/dist/types/components/BaseCard.vue.d.ts +13 -6
  23. package/dist/types/components/BaseCardRow.vue.d.ts +13 -31
  24. package/dist/types/components/BaseCharacterCounter.vue.d.ts +4 -4
  25. package/dist/types/components/BaseClipboard.vue.d.ts +14 -6
  26. package/dist/types/components/BaseCollapse.vue.d.ts +20 -52
  27. package/dist/types/components/BaseColor.vue.d.ts +8 -8
  28. package/dist/types/components/BaseContainer.vue.d.ts +11 -33
  29. package/dist/types/components/BaseCounter.vue.d.ts +4 -4
  30. package/dist/types/components/BaseCropper.vue.d.ts +29 -30
  31. package/dist/types/components/BaseCropperModal.vue.d.ts +8 -17
  32. package/dist/types/components/BaseDataIterator.vue.d.ts +6 -6
  33. package/dist/types/components/BaseDataIteratorSectionBox.vue.d.ts +10 -14
  34. package/dist/types/components/BaseDataIteratorSectionButton.vue.d.ts +6 -15
  35. package/dist/types/components/BaseDataIteratorSectionColumns.vue.d.ts +4 -4
  36. package/dist/types/components/BaseDataIteratorSectionModal.vue.d.ts +13 -17
  37. package/dist/types/components/BaseDataTable.vue.d.ts +842 -26
  38. package/dist/types/components/BaseDataTableRowAction.vue.d.ts +4 -25
  39. package/dist/types/components/BaseDataTableTemplate.vue.d.ts +129 -14
  40. package/dist/types/components/BaseDatePicker.vue.d.ts +7 -56
  41. package/dist/types/components/BaseDateSelect.vue.d.ts +5 -5
  42. package/dist/types/components/BaseDescriptionList.vue.d.ts +8 -3
  43. package/dist/types/components/BaseDescriptionListItem.vue.d.ts +11 -4
  44. package/dist/types/components/BaseDialog.vue.d.ts +516 -8
  45. package/dist/types/components/BaseDisplayRelativeTime.vue.d.ts +15 -8
  46. package/dist/types/components/BaseDraggable.vue.d.ts +18 -20
  47. package/dist/types/components/BaseDropdown.vue.d.ts +18 -10
  48. package/dist/types/components/BaseDropdownAutocomplete.vue.d.ts +23 -16
  49. package/dist/types/components/BaseField.vue.d.ts +12 -7
  50. package/dist/types/components/BaseFieldI18n.vue.d.ts +7 -7
  51. package/dist/types/components/BaseFilePicker.vue.d.ts +20 -44
  52. package/dist/types/components/BaseFilePickerCrop.vue.d.ts +51 -39
  53. package/dist/types/components/BaseFileUploader.vue.d.ts +40 -76
  54. package/dist/types/components/BaseForm.vue.d.ts +22 -15
  55. package/dist/types/components/BaseGantt.vue.d.ts +21 -40
  56. package/dist/types/components/BaseHasMany.vue.d.ts +325 -39
  57. package/dist/types/components/BaseHeader.vue.d.ts +4 -37
  58. package/dist/types/components/BaseIconPicker.vue.d.ts +6 -31
  59. package/dist/types/components/BaseInput.vue.d.ts +12 -12
  60. package/dist/types/components/BaseInputError.vue.d.ts +11 -6
  61. package/dist/types/components/BaseInputLabel.vue.d.ts +4 -4
  62. package/dist/types/components/BaseInputPercent.vue.d.ts +9 -9
  63. package/dist/types/components/BaseJsonReader.vue.d.ts +4 -29
  64. package/dist/types/components/BaseJsonReaderItem.vue.d.ts +3 -12
  65. package/dist/types/components/BaseLayoutNotificationDropdown.vue.d.ts +5 -5
  66. package/dist/types/components/BaseLayoutNotificationItem.vue.d.ts +4 -4
  67. package/dist/types/components/BaseLayoutNotificationItemContent.vue.d.ts +3 -12
  68. package/dist/types/components/BaseLayoutSidebar.vue.d.ts +16 -11
  69. package/dist/types/components/BaseLayoutSidebarConfigurable.vue.d.ts +13 -8
  70. package/dist/types/components/BaseLayoutStacked.vue.d.ts +22 -42
  71. package/dist/types/components/BaseLayoutStackedConfigurable.vue.d.ts +12 -7
  72. package/dist/types/components/BaseLazy.vue.d.ts +24 -15
  73. package/dist/types/components/BaseLoadingCover.vue.d.ts +5 -5
  74. package/dist/types/components/BaseMediaGallery.vue.d.ts +5 -5
  75. package/dist/types/components/BaseMediaGalleryItem.vue.d.ts +5 -5
  76. package/dist/types/components/BaseMediaItem.vue.d.ts +5 -5
  77. package/dist/types/components/BaseMediaLibrary.vue.d.ts +38 -33
  78. package/dist/types/components/BaseMediaList.vue.d.ts +5 -5
  79. package/dist/types/components/BaseMediaListItem.vue.d.ts +6 -6
  80. package/dist/types/components/BaseMediaPictures.vue.d.ts +5 -5
  81. package/dist/types/components/BaseMediaPicturesItem.vue.d.ts +5 -5
  82. package/dist/types/components/BaseMediaPreview.vue.d.ts +5 -5
  83. package/dist/types/components/BaseMenu.vue.d.ts +31 -23
  84. package/dist/types/components/BaseMenuItem.vue.d.ts +5 -5
  85. package/dist/types/components/BaseModalCenter.vue.d.ts +14 -9
  86. package/dist/types/components/BaseModalSide.vue.d.ts +14 -9
  87. package/dist/types/components/BaseNavbar.vue.d.ts +23 -16
  88. package/dist/types/components/BaseNavbarItem.vue.d.ts +5 -5
  89. package/dist/types/components/BaseNavbarItemContent.vue.d.ts +4 -4
  90. package/dist/types/components/BaseNavbarSideItem.vue.d.ts +5 -5
  91. package/dist/types/components/BaseNavbarSideItemContent.vue.d.ts +4 -4
  92. package/dist/types/components/BasePagination.vue.d.ts +5 -5
  93. package/dist/types/components/BasePanel.vue.d.ts +5 -5
  94. package/dist/types/components/BasePassword.vue.d.ts +8 -8
  95. package/dist/types/components/BaseProgressCircle.vue.d.ts +4 -4
  96. package/dist/types/components/BaseRadioGroup.vue.d.ts +15 -10
  97. package/dist/types/components/BaseReadMore.vue.d.ts +13 -6
  98. package/dist/types/components/BaseRichText.vue.d.ts +6 -6
  99. package/dist/types/components/BaseScrollColumn.vue.d.ts +5 -5
  100. package/dist/types/components/BaseSelect.vue.d.ts +15 -8
  101. package/dist/types/components/BaseShortcut.vue.d.ts +5 -5
  102. package/dist/types/components/BaseSideNavigation.vue.d.ts +11 -27
  103. package/dist/types/components/BaseSideNavigationItem.vue.d.ts +13 -31
  104. package/dist/types/components/BaseSkeleton.vue.d.ts +4 -4
  105. package/dist/types/components/BaseStatistic.vue.d.ts +6 -4
  106. package/dist/types/components/BaseStepper.vue.d.ts +4 -4
  107. package/dist/types/components/BaseStepperItem.vue.d.ts +5 -5
  108. package/dist/types/components/BaseSwitch.vue.d.ts +14 -9
  109. package/dist/types/components/BaseSystemAlert.vue.d.ts +12 -7
  110. package/dist/types/components/BaseTabItem.vue.d.ts +15 -31
  111. package/dist/types/components/BaseTable.vue.d.ts +15 -45
  112. package/dist/types/components/BaseTableBody.vue.d.ts +8 -3
  113. package/dist/types/components/BaseTableCell.vue.d.ts +13 -47
  114. package/dist/types/components/BaseTableColumn.vue.d.ts +8 -8
  115. package/dist/types/components/BaseTableHead.vue.d.ts +11 -27
  116. package/dist/types/components/BaseTableHeader.vue.d.ts +15 -35
  117. package/dist/types/components/BaseTableRow.vue.d.ts +15 -41
  118. package/dist/types/components/BaseTabs.vue.d.ts +14 -27
  119. package/dist/types/components/BaseTagAutocomplete.vue.d.ts +235 -39
  120. package/dist/types/components/BaseTagAutocompleteFetch.vue.d.ts +457 -39
  121. package/dist/types/components/BaseTextarea.vue.d.ts +8 -8
  122. package/dist/types/components/BaseTextareaAutoresize.vue.d.ts +8 -8
  123. package/dist/types/components/BaseTimePicker.vue.d.ts +6 -6
  124. package/dist/types/components/BaseTimeline.vue.d.ts +3 -3
  125. package/dist/types/components/BaseTimelineItem.vue.d.ts +3 -3
  126. package/dist/types/components/BaseToast.vue.d.ts +3 -12
  127. package/dist/types/components/BaseTooltip.vue.d.ts +15 -36
  128. package/dist/types/components/BaseUniqueCode.vue.d.ts +5 -5
  129. package/dist/types/components/SlotComponent.d.ts +4 -4
  130. package/dist/types/stories/PageInputSizes.vue.d.ts +1 -1
  131. package/dist/types/stories/PageShow.vue.d.ts +1 -1
  132. package/dist/types/svg/BaseEmptyState.vue.d.ts +1 -1
  133. package/dist/types/svg/BaseSpinnerLarge.vue.d.ts +1 -1
  134. package/dist/types/svg/BaseSpinnerSmall.vue.d.ts +1 -1
  135. package/package.json +1 -6
  136. package/src/components/BaseLazy.stories.js +28 -7
  137. package/src/components/BaseLazy.vue +64 -10
  138. package/src/components/index.ts +1 -0
@@ -1,67 +1,48 @@
1
1
  import { GanttRow, GanttRowFormatted } from '@/services/gantt/types';
2
2
  declare function __VLS_template(): {
3
- sidebarItem?(_: {
4
- row: GanttRowFormatted;
5
- }): any;
6
- item?(_: {
7
- item: import("@/services/gantt/types").GanttItemFormatted;
8
- }): any;
3
+ slots: {
4
+ sidebarItem?(_: {
5
+ row: GanttRowFormatted;
6
+ }): any;
7
+ item?(_: {
8
+ item: import("@/services/gantt/types").GanttItemFormatted;
9
+ }): any;
10
+ };
11
+ refs: {
12
+ contentRef: HTMLDivElement;
13
+ itemsRef: HTMLUListElement;
14
+ };
15
+ attrs: Partial<{}>;
9
16
  };
10
- declare const __VLS_component: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
17
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
18
+ declare const __VLS_component: import("vue").DefineComponent<{
11
19
  rows: GanttRow[];
12
20
  rowHeight?: number;
13
21
  rowPadding?: number;
14
22
  maxHeight?: number;
15
23
  includeToday?: boolean;
16
- }>, {
17
- rowHeight: number;
18
- rowPadding: number;
19
- maxHeight: undefined;
20
- includeToday: boolean;
21
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
24
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
22
25
  "item:click": (...args: any[]) => void;
23
26
  "row:click": (...args: any[]) => void;
24
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
27
+ }, string, import("vue").PublicProps, Readonly<{
25
28
  rows: GanttRow[];
26
29
  rowHeight?: number;
27
30
  rowPadding?: number;
28
31
  maxHeight?: number;
29
32
  includeToday?: boolean;
30
- }>, {
31
- rowHeight: number;
32
- rowPadding: number;
33
- maxHeight: undefined;
34
- includeToday: boolean;
35
- }>>> & {
33
+ }> & Readonly<{
36
34
  "onItem:click"?: ((...args: any[]) => any) | undefined;
37
35
  "onRow:click"?: ((...args: any[]) => any) | undefined;
38
- }, {
36
+ }>, {
39
37
  maxHeight: number;
40
38
  rowHeight: number;
41
39
  rowPadding: number;
42
40
  includeToday: boolean;
43
- }, {}>;
44
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
41
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
42
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
45
43
  export default _default;
46
- type __VLS_WithDefaults<P, D> = {
47
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
48
- default: D[K];
49
- }> : P[K];
50
- };
51
- type __VLS_Prettify<T> = {
52
- [K in keyof T]: T[K];
53
- } & {};
54
44
  type __VLS_WithTemplateSlots<T, S> = T & {
55
45
  new (): {
56
46
  $slots: S;
57
47
  };
58
48
  };
59
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
60
- type __VLS_TypePropsToOption<T> = {
61
- [K in keyof T]-?: {} extends Pick<T, K> ? {
62
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
63
- } : {
64
- type: import('vue').PropType<T[K]>;
65
- required: true;
66
- };
67
- };
@@ -1,39 +1,325 @@
1
1
  import { RawOption } from '@/types';
2
2
  import { PropType } from 'vue';
3
3
  declare function __VLS_template(): {
4
- items?(_: {
5
- items: import("@/types").NormalizedOption[];
6
- removeOption: (option: import("@/types").NormalizedOption) => void;
7
- disabled: boolean;
8
- }): any;
9
- option?(_: {
10
- focus: () => void;
11
- blur: () => void;
12
- open: () => void;
13
- close: () => void;
14
- keywords: import("vue").ComputedRef<string>;
15
- option: RawOption;
16
- selected: boolean;
17
- active: boolean;
18
- }): any;
19
- empty?(_: {
20
- firstSearch: boolean;
21
- focus: () => void;
22
- blur: () => void;
23
- open: () => void;
24
- close: () => void;
25
- keywords: import("vue").ComputedRef<string>;
26
- }): any;
27
- footer?(_: {
28
- keywords: string;
29
- focus: () => void;
30
- blur: () => void;
31
- open: () => void;
32
- close: () => void;
33
- options: import("@/types").NormalizedOption[];
34
- }): any;
4
+ slots: {
5
+ items?(_: {
6
+ items: import("@/types").NormalizedOption[];
7
+ removeOption: (option: import("@/types").NormalizedOption) => void;
8
+ disabled: boolean;
9
+ }): any;
10
+ option?(_: {
11
+ focus: () => void;
12
+ blur: () => void;
13
+ open: () => void;
14
+ close: () => void;
15
+ keywords: import("vue").ComputedRef<string>;
16
+ option: RawOption;
17
+ selected: boolean;
18
+ active: boolean;
19
+ }): any;
20
+ empty?(_: {
21
+ firstSearch: boolean;
22
+ focus: () => void;
23
+ blur: () => void;
24
+ open: () => void;
25
+ close: () => void;
26
+ keywords: import("vue").ComputedRef<string>;
27
+ }): any;
28
+ footer?(_: {
29
+ keywords: string;
30
+ focus: () => void;
31
+ blur: () => void;
32
+ open: () => void;
33
+ close: () => void;
34
+ options: import("@/types").NormalizedOption[];
35
+ }): any;
36
+ };
37
+ refs: {
38
+ tagAutocompleteFetch: ({
39
+ $: import("vue").ComponentInternalInstance;
40
+ $data: {};
41
+ $props: Partial<{
42
+ required: boolean;
43
+ disabled: boolean;
44
+ placeholder: string;
45
+ hasError: boolean;
46
+ max: number;
47
+ focusOnMount: boolean;
48
+ queryKey: string;
49
+ }> & Omit<{
50
+ readonly required: boolean;
51
+ readonly disabled: boolean;
52
+ readonly modelValue: RawOption[];
53
+ readonly hasError: boolean;
54
+ readonly url: string;
55
+ readonly labelKey: string;
56
+ readonly valueKey: string;
57
+ readonly focusOnMount: boolean;
58
+ readonly queryKey: string;
59
+ readonly placeholder?: string | undefined;
60
+ readonly max?: number | undefined;
61
+ readonly onFocus?: ((...args: any[]) => any) | undefined;
62
+ readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
63
+ readonly onScrollBottom?: ((...args: any[]) => any) | undefined;
64
+ readonly onTyping?: ((...args: any[]) => any) | undefined;
65
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
66
+ modelValue: {
67
+ required: true;
68
+ type: PropType<RawOption[]>;
69
+ };
70
+ url: {
71
+ required: true;
72
+ type: StringConstructor;
73
+ };
74
+ labelKey: {
75
+ required: true;
76
+ type: StringConstructor;
77
+ };
78
+ valueKey: {
79
+ required: true;
80
+ type: StringConstructor;
81
+ };
82
+ placeholder: {
83
+ default: undefined;
84
+ type: StringConstructor;
85
+ };
86
+ required: {
87
+ default: boolean;
88
+ type: BooleanConstructor;
89
+ };
90
+ disabled: {
91
+ default: boolean;
92
+ type: BooleanConstructor;
93
+ };
94
+ max: {
95
+ default: undefined;
96
+ type: NumberConstructor;
97
+ };
98
+ queryKey: {
99
+ default: string;
100
+ type: StringConstructor;
101
+ };
102
+ hasError: {
103
+ default: boolean;
104
+ type: BooleanConstructor;
105
+ };
106
+ focusOnMount: {
107
+ default: boolean;
108
+ type: BooleanConstructor;
109
+ };
110
+ }>> & Readonly<{
111
+ onFocus?: ((...args: any[]) => any) | undefined;
112
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
113
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
114
+ onTyping?: ((...args: any[]) => any) | undefined;
115
+ }>, "required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey">;
116
+ $attrs: {
117
+ [x: string]: unknown;
118
+ };
119
+ $refs: {
120
+ [x: string]: unknown;
121
+ };
122
+ $slots: Readonly<{
123
+ [name: string]: import("vue").Slot<any> | undefined;
124
+ }>;
125
+ $root: import("vue").ComponentPublicInstance | null;
126
+ $parent: import("vue").ComponentPublicInstance | null;
127
+ $host: Element | null;
128
+ $emit: ((event: "focus", ...args: any[]) => void) & ((event: "update:modelValue", ...args: any[]) => void) & ((event: "scrollBottom", ...args: any[]) => void) & ((event: "typing", ...args: any[]) => void);
129
+ $el: any;
130
+ $options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
131
+ modelValue: {
132
+ required: true;
133
+ type: PropType<RawOption[]>;
134
+ };
135
+ url: {
136
+ required: true;
137
+ type: StringConstructor;
138
+ };
139
+ labelKey: {
140
+ required: true;
141
+ type: StringConstructor;
142
+ };
143
+ valueKey: {
144
+ required: true;
145
+ type: StringConstructor;
146
+ };
147
+ placeholder: {
148
+ default: undefined;
149
+ type: StringConstructor;
150
+ };
151
+ required: {
152
+ default: boolean;
153
+ type: BooleanConstructor;
154
+ };
155
+ disabled: {
156
+ default: boolean;
157
+ type: BooleanConstructor;
158
+ };
159
+ max: {
160
+ default: undefined;
161
+ type: NumberConstructor;
162
+ };
163
+ queryKey: {
164
+ default: string;
165
+ type: StringConstructor;
166
+ };
167
+ hasError: {
168
+ default: boolean;
169
+ type: BooleanConstructor;
170
+ };
171
+ focusOnMount: {
172
+ default: boolean;
173
+ type: BooleanConstructor;
174
+ };
175
+ }>> & Readonly<{
176
+ onFocus?: ((...args: any[]) => any) | undefined;
177
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
178
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
179
+ onTyping?: ((...args: any[]) => any) | undefined;
180
+ }>, {
181
+ focus: () => void | undefined;
182
+ blur: () => void | undefined;
183
+ open: () => void | undefined;
184
+ close: () => void | undefined;
185
+ setKeywords: (input: string) => void | undefined;
186
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
187
+ focus: (...args: any[]) => void;
188
+ "update:modelValue": (...args: any[]) => void;
189
+ scrollBottom: (...args: any[]) => void;
190
+ typing: (...args: any[]) => void;
191
+ }, string, {
192
+ required: boolean;
193
+ disabled: boolean;
194
+ placeholder: string;
195
+ hasError: boolean;
196
+ max: number;
197
+ focusOnMount: boolean;
198
+ queryKey: string;
199
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
200
+ beforeCreate?: (() => void) | (() => void)[];
201
+ created?: (() => void) | (() => void)[];
202
+ beforeMount?: (() => void) | (() => void)[];
203
+ mounted?: (() => void) | (() => void)[];
204
+ beforeUpdate?: (() => void) | (() => void)[];
205
+ updated?: (() => void) | (() => void)[];
206
+ activated?: (() => void) | (() => void)[];
207
+ deactivated?: (() => void) | (() => void)[];
208
+ beforeDestroy?: (() => void) | (() => void)[];
209
+ beforeUnmount?: (() => void) | (() => void)[];
210
+ destroyed?: (() => void) | (() => void)[];
211
+ unmounted?: (() => void) | (() => void)[];
212
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
213
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
214
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
215
+ };
216
+ $forceUpdate: () => void;
217
+ $nextTick: typeof import("vue").nextTick;
218
+ $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;
219
+ } & Readonly<{
220
+ required: boolean;
221
+ disabled: boolean;
222
+ placeholder: string;
223
+ hasError: boolean;
224
+ max: number;
225
+ focusOnMount: boolean;
226
+ queryKey: string;
227
+ }> & Omit<Readonly<import("vue").ExtractPropTypes<{
228
+ modelValue: {
229
+ required: true;
230
+ type: PropType<RawOption[]>;
231
+ };
232
+ url: {
233
+ required: true;
234
+ type: StringConstructor;
235
+ };
236
+ labelKey: {
237
+ required: true;
238
+ type: StringConstructor;
239
+ };
240
+ valueKey: {
241
+ required: true;
242
+ type: StringConstructor;
243
+ };
244
+ placeholder: {
245
+ default: undefined;
246
+ type: StringConstructor;
247
+ };
248
+ required: {
249
+ default: boolean;
250
+ type: BooleanConstructor;
251
+ };
252
+ disabled: {
253
+ default: boolean;
254
+ type: BooleanConstructor;
255
+ };
256
+ max: {
257
+ default: undefined;
258
+ type: NumberConstructor;
259
+ };
260
+ queryKey: {
261
+ default: string;
262
+ type: StringConstructor;
263
+ };
264
+ hasError: {
265
+ default: boolean;
266
+ type: BooleanConstructor;
267
+ };
268
+ focusOnMount: {
269
+ default: boolean;
270
+ type: BooleanConstructor;
271
+ };
272
+ }>> & Readonly<{
273
+ onFocus?: ((...args: any[]) => any) | undefined;
274
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
275
+ onScrollBottom?: ((...args: any[]) => any) | undefined;
276
+ onTyping?: ((...args: any[]) => any) | undefined;
277
+ }>, "blur" | "close" | "focus" | "open" | "setKeywords" | ("required" | "disabled" | "placeholder" | "hasError" | "max" | "focusOnMount" | "queryKey")> & import("vue").ShallowUnwrapRef<{
278
+ focus: () => void | undefined;
279
+ blur: () => void | undefined;
280
+ open: () => void | undefined;
281
+ close: () => void | undefined;
282
+ setKeywords: (input: string) => void | undefined;
283
+ }> & {} & import("vue").ComponentCustomProperties & {} & {
284
+ $slots: {
285
+ items?(_: {
286
+ items: import("@/types").NormalizedOption[];
287
+ removeOption: (option: import("@/types").NormalizedOption) => void;
288
+ disabled: boolean;
289
+ }): any;
290
+ option?(_: {
291
+ focus: () => void;
292
+ blur: () => void;
293
+ open: () => void;
294
+ close: () => void;
295
+ keywords: import("vue").ComputedRef<string>;
296
+ option: RawOption;
297
+ selected: boolean;
298
+ active: boolean;
299
+ }): any;
300
+ footer?(_: {
301
+ keywords: string;
302
+ focus: () => void;
303
+ blur: () => void;
304
+ open: () => void;
305
+ close: () => void;
306
+ options: import("@/types").NormalizedOption[];
307
+ }): any;
308
+ empty?(_: {
309
+ firstSearch: boolean;
310
+ focus: () => void;
311
+ blur: () => void;
312
+ open: () => void;
313
+ close: () => void;
314
+ keywords: import("vue").ComputedRef<string>;
315
+ }): any;
316
+ };
317
+ }) | null;
318
+ };
319
+ attrs: Partial<{}>;
35
320
  };
36
- declare const __VLS_component: import("vue").DefineComponent<{
321
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
322
+ declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
37
323
  modelValue: {
38
324
  default: undefined;
39
325
  type: PropType<string[] | string | number | null | undefined>;
@@ -82,13 +368,13 @@ declare const __VLS_component: import("vue").DefineComponent<{
82
368
  default: boolean;
83
369
  type: BooleanConstructor;
84
370
  };
85
- }, {
371
+ }>, {
86
372
  focus: () => void | undefined;
87
373
  blur: () => void | undefined;
88
374
  open: () => void | undefined;
89
375
  close: () => void | undefined;
90
376
  setKeywords: (input: string) => void | undefined;
91
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
377
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
92
378
  "update:modelValue": (...args: any[]) => void;
93
379
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
94
380
  modelValue: {
@@ -139,21 +425,21 @@ declare const __VLS_component: import("vue").DefineComponent<{
139
425
  default: boolean;
140
426
  type: BooleanConstructor;
141
427
  };
142
- }>> & {
428
+ }>> & Readonly<{
143
429
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
144
- }, {
430
+ }>, {
145
431
  required: boolean;
432
+ disabled: boolean;
146
433
  modelValue: string | number | string[] | null | undefined;
147
434
  placeholder: string;
148
- disabled: boolean;
149
435
  hasError: boolean;
150
436
  max: number;
151
437
  queryKey: string;
152
438
  primaryKey: string;
153
439
  showRouteUrl: ((ids: (string | number)[]) => string) | undefined;
154
440
  currentModels: RawOption[] | undefined;
155
- }, {}>;
156
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
441
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
442
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
157
443
  export default _default;
158
444
  type __VLS_WithTemplateSlots<T, S> = T & {
159
445
  new (): {
@@ -3,7 +3,7 @@ import BaseBadge from './BaseBadge.vue';
3
3
  type BaseBadgeProps = InstanceType<typeof BaseBadge>["$props"] & {
4
4
  label: string;
5
5
  };
6
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
6
+ declare const _default: import("vue").DefineComponent<{
7
7
  title: string;
8
8
  subtitle?: string;
9
9
  attributes?: {
@@ -16,15 +16,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
16
16
  layout?: "default" | "compact";
17
17
  breadcrumbs?: Breadcrumb[];
18
18
  maxActions?: number;
19
- }>, {
20
- subtitle: undefined;
21
- attributes: undefined;
22
- actions: undefined;
23
- badge: undefined;
24
- layout: string;
25
- breadcrumbs: undefined;
26
- maxActions: number;
27
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
19
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
28
20
  title: string;
29
21
  subtitle?: string;
30
22
  attributes?: {
@@ -37,15 +29,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
37
29
  layout?: "default" | "compact";
38
30
  breadcrumbs?: Breadcrumb[];
39
31
  maxActions?: number;
40
- }>, {
41
- subtitle: undefined;
42
- attributes: undefined;
43
- actions: undefined;
44
- badge: undefined;
45
- layout: string;
46
- breadcrumbs: undefined;
47
- maxActions: number;
48
- }>>>, {
32
+ }> & Readonly<{}>, {
49
33
  actions: ActionItem[];
50
34
  breadcrumbs: Breadcrumb[];
51
35
  layout: "default" | "compact";
@@ -57,22 +41,5 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
57
41
  subtitle: string;
58
42
  badge: BaseBadgeProps;
59
43
  maxActions: number;
60
- }, {}>;
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
61
45
  export default _default;
62
- type __VLS_WithDefaults<P, D> = {
63
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
64
- default: D[K];
65
- }> : P[K];
66
- };
67
- type __VLS_Prettify<T> = {
68
- [K in keyof T]: T[K];
69
- } & {};
70
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
71
- type __VLS_TypePropsToOption<T> = {
72
- [K in keyof T]-?: {} extends Pick<T, K> ? {
73
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
74
- } : {
75
- type: import('vue').PropType<T[K]>;
76
- required: true;
77
- };
78
- };
@@ -1,43 +1,18 @@
1
- declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
1
+ declare const _default: import("vue").DefineComponent<{
2
2
  modelValue?: string | null;
3
3
  collection?: string;
4
4
  maxWidth?: string;
5
- }>, {
6
- modelValue: null;
7
- collection: string;
8
- maxWidth: string;
9
- }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
5
+ }, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
6
  "update:modelValue": (...args: any[]) => void;
11
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<{
7
+ }, string, import("vue").PublicProps, Readonly<{
12
8
  modelValue?: string | null;
13
9
  collection?: string;
14
10
  maxWidth?: string;
15
- }>, {
16
- modelValue: null;
17
- collection: string;
18
- maxWidth: string;
19
- }>>> & {
11
+ }> & Readonly<{
20
12
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
21
- }, {
13
+ }>, {
22
14
  modelValue: string | null;
23
15
  maxWidth: string;
24
16
  collection: string;
25
- }, {}>;
17
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
26
18
  export default _default;
27
- type __VLS_WithDefaults<P, D> = {
28
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
29
- default: D[K];
30
- }> : P[K];
31
- };
32
- type __VLS_Prettify<T> = {
33
- [K in keyof T]: T[K];
34
- } & {};
35
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
36
- type __VLS_TypePropsToOption<T> = {
37
- [K in keyof T]-?: {} extends Pick<T, K> ? {
38
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
39
- } : {
40
- type: import('vue').PropType<T[K]>;
41
- required: true;
42
- };
43
- };