@avenirs-esr/avenirs-dsav 0.1.1 → 0.1.3

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 (160) hide show
  1. package/dist/App.vue.d.ts +2 -0
  2. package/dist/avenirs-dsav.css +1 -1
  3. package/dist/avenirs-dsav.es.js +7375 -15307
  4. package/dist/avenirs-dsav.umd.js +73 -110
  5. package/dist/components/badges/AvBadge/AvBadge.stories.d.ts +44 -0
  6. package/dist/components/badges/AvBadge/AvBadge.stub.d.ts +30 -0
  7. package/dist/components/badges/AvBadge/AvBadge.test.d.ts +1 -0
  8. package/dist/components/badges/AvBadge/AvBadge.vue.d.ts +44 -0
  9. package/dist/components/badges/index.d.ts +1 -0
  10. package/dist/components/base/AvIconText/AvIconText.stories.d.ts +36 -0
  11. package/dist/components/base/AvIconText/AvIconText.test.d.ts +1 -0
  12. package/dist/components/base/AvIconText/AvIconText.vue.d.ts +40 -0
  13. package/dist/components/base/AvNotice/AvNotice.stories.d.ts +63 -0
  14. package/dist/components/base/AvNotice/AvNotice.test.d.ts +1 -0
  15. package/dist/components/base/AvNotice/AvNotice.vue.d.ts +22 -0
  16. package/dist/components/base/AvVIcon/AvVIcon.stories.d.ts +47 -0
  17. package/dist/components/base/AvVIcon/AvVIcon.stub.d.ts +9 -0
  18. package/dist/components/base/AvVIcon/AvVIcon.vue.d.ts +54 -0
  19. package/dist/components/base/index.d.ts +2 -0
  20. package/dist/components/cards/AvCard/AvCard.stories.d.ts +28 -0
  21. package/dist/components/cards/AvCard/AvCard.test.d.ts +1 -0
  22. package/dist/components/cards/AvCard/AvCard.vue.d.ts +58 -0
  23. package/dist/components/cards/index.d.ts +1 -0
  24. package/dist/components/feedback/AvAlert/AvAlert.test.d.ts +1 -0
  25. package/dist/components/feedback/AvAlert/AvAlert.vue.d.ts +77 -0
  26. package/dist/components/feedback/AvToaster/AvToaster.test.d.ts +1 -0
  27. package/dist/components/feedback/AvToaster/AvToaster.vue.d.ts +79 -0
  28. package/dist/components/feedback/index.d.ts +2 -0
  29. package/dist/components/header/AvHeader/AvHeader.test.d.ts +1 -0
  30. package/dist/components/header/AvHeader/AvHeader.vue.d.ts +132 -0
  31. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.test.d.ts +1 -0
  32. package/dist/components/header/AvHeaderMenuLinks/AvHeaderMenuLinks.vue.d.ts +38 -0
  33. package/dist/components/header/AvLogo.vue.d.ts +2 -0
  34. package/dist/components/header/EsupLogo.test.d.ts +1 -0
  35. package/dist/components/header/EsupLogo.vue.d.ts +7 -0
  36. package/dist/components/header/index.d.ts +5 -0
  37. package/dist/components/index.d.ts +8 -0
  38. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.stories.d.ts +30 -0
  39. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.test.d.ts +1 -0
  40. package/dist/components/interaction/accordions/AvAccordion/AvAccordion.vue.d.ts +31 -0
  41. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.stories.d.ts +48 -0
  42. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.test.d.ts +1 -0
  43. package/dist/components/interaction/accordions/AvAccordionsGroup/AvAccordionsGroup.vue.d.ts +36 -0
  44. package/dist/components/interaction/accordions/index.d.ts +2 -0
  45. package/dist/components/interaction/buttons/AvButton/AvButton.stories.d.ts +75 -0
  46. package/dist/components/interaction/buttons/AvButton/AvButton.stub.d.ts +15 -0
  47. package/dist/components/interaction/buttons/AvButton/AvButton.test.d.ts +1 -0
  48. package/dist/components/interaction/buttons/AvButton/AvButton.vue.d.ts +78 -0
  49. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.stories.d.ts +39 -0
  50. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.test.d.ts +1 -0
  51. package/dist/components/interaction/buttons/AvRichButton/AvRichButton.vue.d.ts +48 -0
  52. package/dist/components/interaction/buttons/index.d.ts +2 -0
  53. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.stories.d.ts +30 -0
  54. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.test.d.ts +1 -0
  55. package/dist/components/interaction/files/AvFileUpload/AvFileUpload.vue.d.ts +131 -0
  56. package/dist/components/interaction/files/AvFileUpload/AvFileUploadAlert.vue.d.ts +19 -0
  57. package/dist/components/interaction/files/index.d.ts +1 -0
  58. package/dist/components/interaction/index.d.ts +10 -0
  59. package/dist/components/interaction/inputs/AvInput/AvInput.stories.d.ts +71 -0
  60. package/dist/components/interaction/inputs/AvInput/AvInput.test.d.ts +1 -0
  61. package/dist/components/interaction/inputs/AvInput/AvInput.vue.d.ts +111 -0
  62. package/dist/components/interaction/inputs/index.d.ts +1 -0
  63. package/dist/components/interaction/lists/AvList/AvList.stories.d.ts +55 -0
  64. package/dist/components/interaction/lists/AvList/AvList.stub.d.ts +5 -0
  65. package/dist/components/interaction/lists/AvList/AvList.test.d.ts +1 -0
  66. package/dist/components/interaction/lists/AvList/AvList.vue.d.ts +74 -0
  67. package/dist/components/interaction/lists/AvListItem/AvListItem.stories.d.ts +59 -0
  68. package/dist/components/interaction/lists/AvListItem/AvListItem.stub.d.ts +19 -0
  69. package/dist/components/interaction/lists/AvListItem/AvListItem.test.d.ts +1 -0
  70. package/dist/components/interaction/lists/AvListItem/AvListItem.vue.d.ts +112 -0
  71. package/dist/components/interaction/lists/index.d.ts +2 -0
  72. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.stories.d.ts +24 -0
  73. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.test.d.ts +1 -0
  74. package/dist/components/interaction/pickers/AvPageSizePicker/AvPageSizePicker.vue.d.ts +23 -0
  75. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stories.d.ts +96 -0
  76. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.stub.d.ts +11 -0
  77. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.test.d.ts +1 -0
  78. package/dist/components/interaction/pickers/AvTagPicker/AvTagPicker.vue.d.ts +79 -0
  79. package/dist/components/interaction/pickers/index.d.ts +2 -0
  80. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.stories.d.ts +34 -0
  81. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.test.d.ts +1 -0
  82. package/dist/components/interaction/radios/AvRadioButton/AvRadioButton.vue.d.ts +38 -0
  83. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.stories.d.ts +54 -0
  84. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.test.d.ts +1 -0
  85. package/dist/components/interaction/radios/AvRadioButtonSet/AvRadioButtonSet.vue.d.ts +76 -0
  86. package/dist/components/interaction/radios/index.d.ts +2 -0
  87. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stories.d.ts +553 -0
  88. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.stub.d.ts +28 -0
  89. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.test.d.ts +1 -0
  90. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.types.d.ts +101 -0
  91. package/dist/components/interaction/selects/AvAutocomplete/AvAutocomplete.vue.d.ts +204 -0
  92. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteContext.d.ts +14 -0
  93. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteDropdown.vue.d.ts +60 -0
  94. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteInput.vue.d.ts +309 -0
  95. package/dist/components/interaction/selects/AvAutocomplete/AvAutocompleteSelectedTags.vue.d.ts +42 -0
  96. package/dist/components/interaction/selects/AvSelect/AvSelect.stories.d.ts +103 -0
  97. package/dist/components/interaction/selects/AvSelect/AvSelect.stub.d.ts +15 -0
  98. package/dist/components/interaction/selects/AvSelect/AvSelect.test.d.ts +1 -0
  99. package/dist/components/interaction/selects/AvSelect/AvSelect.vue.d.ts +63 -0
  100. package/dist/components/interaction/selects/index.d.ts +3 -0
  101. package/dist/components/interaction/tabs/AvTab/AvTab.stories.d.ts +34 -0
  102. package/dist/components/interaction/tabs/AvTab/AvTab.test.d.ts +1 -0
  103. package/dist/components/interaction/tabs/AvTab/AvTab.vue.d.ts +31 -0
  104. package/dist/components/interaction/tabs/AvTabs/AvTabs.stories.d.ts +51 -0
  105. package/dist/components/interaction/tabs/AvTabs/AvTabs.test.d.ts +1 -0
  106. package/dist/components/interaction/tabs/AvTabs/AvTabs.vue.d.ts +40 -0
  107. package/dist/components/interaction/tabs/index.d.ts +2 -0
  108. package/dist/components/interaction/toggles/AvToggle/AvToggle.stories.d.ts +21 -0
  109. package/dist/components/interaction/toggles/AvToggle/AvToggle.test.d.ts +1 -0
  110. package/dist/components/interaction/toggles/AvToggle/AvToggle.vue.d.ts +46 -0
  111. package/dist/components/interaction/toggles/index.d.ts +1 -0
  112. package/dist/components/navigation/AvNavigation/AvNavigation.stories.d.ts +34 -0
  113. package/dist/components/navigation/AvNavigation/AvNavigation.test.d.ts +1 -0
  114. package/dist/components/navigation/AvNavigation/AvNavigation.vue.d.ts +16 -0
  115. package/dist/components/navigation/AvNavigation/index.d.ts +1 -0
  116. package/dist/components/navigation/AvPagination/AvPagination.test.d.ts +1 -0
  117. package/dist/components/navigation/AvPagination/AvPagination.vue.d.ts +57 -0
  118. package/dist/components/navigation/AvPagination/utils.d.ts +14 -0
  119. package/dist/components/navigation/AvPagination/utils.test.d.ts +1 -0
  120. package/dist/components/navigation/AvSideMenu/AvSideMenu.stories.d.ts +55 -0
  121. package/dist/components/navigation/AvSideMenu/AvSideMenu.test.d.ts +1 -0
  122. package/dist/components/navigation/AvSideMenu/AvSideMenu.vue.d.ts +61 -0
  123. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stories.d.ts +58 -0
  124. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.stub.d.ts +16 -0
  125. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.test.d.ts +1 -0
  126. package/dist/components/navigation/AvSideNavigation/AvSideNavigation.vue.d.ts +38 -0
  127. package/dist/components/navigation/index.d.ts +5 -0
  128. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stories.d.ts +53 -0
  129. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.stub.d.ts +11 -0
  130. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.test.d.ts +1 -0
  131. package/dist/components/overlay/drawers/AvDrawer/AvDrawer.vue.d.ts +60 -0
  132. package/dist/components/overlay/index.d.ts +3 -0
  133. package/dist/components/overlay/modals/AvModal/AvModal.test.d.ts +1 -0
  134. package/dist/components/overlay/modals/AvModal/AvModal.vue.d.ts +74 -0
  135. package/dist/components/overlay/popovers/AvPopover/AvPopover.stories.d.ts +49 -0
  136. package/dist/components/overlay/popovers/AvPopover/AvPopover.test.d.ts +1 -0
  137. package/dist/components/overlay/popovers/AvPopover/AvPopover.vue.d.ts +48 -0
  138. package/dist/components/overlay/popovers/AvPopover/use-popover.d.ts +41 -0
  139. package/dist/components/overlay/popovers/AvPopover/use-popover.test.d.ts +1 -0
  140. package/dist/composables/index.d.ts +1 -0
  141. package/dist/composables/use-focus-trap/use-focus-trap.d.ts +25 -0
  142. package/dist/composables/use-focus-trap/use-focus-trap.test.d.ts +1 -0
  143. package/dist/config/index.d.ts +1 -0
  144. package/dist/config/page-sizes.d.ts +6 -0
  145. package/dist/index.d.ts +5 -0
  146. package/dist/main.d.ts +8 -0
  147. package/dist/stories/foundations/icons.stories.d.ts +6 -0
  148. package/dist/stories/foundations/typography.stories.d.ts +5 -0
  149. package/dist/tests/index.d.ts +2 -0
  150. package/dist/tests/stubs.d.ts +62 -0
  151. package/dist/tests/utils.d.ts +34 -0
  152. package/dist/tokens/icons.d.ts +79 -0
  153. package/dist/tokens/index.d.ts +1 -0
  154. package/dist/utils/array/array.d.ts +8 -0
  155. package/dist/utils/forms/form.test.d.ts +1 -0
  156. package/dist/utils/forms/forms.d.ts +6 -0
  157. package/dist/utils/index.d.ts +3 -0
  158. package/dist/utils/string/string.d.ts +21 -0
  159. package/dist/utils/string/string.test.d.ts +1 -0
  160. package/package.json +4 -3
@@ -0,0 +1,204 @@
1
+ import type { Slot } from 'vue';
2
+ import type { AvAutocompleteOption } from './AvAutocomplete.types';
3
+ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
+ readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
5
+ readonly onLoadMore?: (() => any) | undefined;
6
+ readonly onSearch?: ((query: string) => any) | undefined;
7
+ readonly onClear?: (() => any) | undefined;
8
+ id?: string | undefined;
9
+ inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
10
+ options?: T[] | undefined;
11
+ multiSelect?: boolean | undefined;
12
+ getOptionLabel?: ((option: T) => string) | undefined;
13
+ getOptionKey?: ((option: T) => string | number) | undefined;
14
+ filterOptions?: ((options: T[], query: string) => T[]) | undefined;
15
+ dropdownWidth?: string | undefined;
16
+ maxDropdownHeight?: string | undefined;
17
+ listOptions?: import("../../lists/AvList/AvList.vue").AvListProps | undefined;
18
+ scrollbarClass?: string | undefined;
19
+ dropdownClass?: string | undefined;
20
+ loading?: boolean | undefined;
21
+ debounceDelay?: number | undefined;
22
+ maxResults?: number | undefined;
23
+ enableLoadMore?: boolean | undefined;
24
+ showSelectedSection?: boolean | undefined;
25
+ blurCloseDelay?: number | undefined;
26
+ loadMoreThrottleDelay?: number | undefined;
27
+ serverSideFiltering?: boolean | undefined;
28
+ modelValue?: T[] | undefined;
29
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
30
+ slots: {
31
+ /**
32
+ * Slot for displaying a required field tip in the input.
33
+ */
34
+ requiredTip?: (() => Slot) | undefined;
35
+ /**
36
+ * Slot for customizing how each option is displayed in the dropdown.
37
+ * @param option The option object being rendered
38
+ * @param isSelected Whether the option is currently selected
39
+ * @param toggle Function to toggle the option's selected state
40
+ */
41
+ item?: Slot<{
42
+ option: T;
43
+ isSelected: boolean;
44
+ toggle: () => void;
45
+ }> | undefined;
46
+ /**
47
+ * Slot for customizing how selected items are displayed as tags.
48
+ * @param option The selected option object
49
+ * @param remove Function to remove this option from selection
50
+ */
51
+ selectedItem?: Slot<{
52
+ option: T;
53
+ remove: () => void;
54
+ }> | undefined;
55
+ /**
56
+ * Slot for customizing the empty state when no options match the search.
57
+ */
58
+ empty?: Slot | undefined;
59
+ };
60
+ emit: {
61
+ (e: 'search', query: string): void;
62
+ (e: 'loadMore'): void;
63
+ (e: 'clear'): void;
64
+ } & ((evt: "update:modelValue", value: T[]) => void);
65
+ attrs: any;
66
+ } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
67
+ props: {
68
+ readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
69
+ readonly onLoadMore?: (() => any) | undefined;
70
+ readonly onSearch?: ((query: string) => any) | undefined;
71
+ readonly onClear?: (() => any) | undefined;
72
+ id?: string | undefined;
73
+ inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
74
+ options?: T[] | undefined;
75
+ multiSelect?: boolean | undefined;
76
+ getOptionLabel?: ((option: T) => string) | undefined;
77
+ getOptionKey?: ((option: T) => string | number) | undefined;
78
+ filterOptions?: ((options: T[], query: string) => T[]) | undefined;
79
+ dropdownWidth?: string | undefined;
80
+ maxDropdownHeight?: string | undefined;
81
+ listOptions?: import("../../lists/AvList/AvList.vue").AvListProps | undefined;
82
+ scrollbarClass?: string | undefined;
83
+ dropdownClass?: string | undefined;
84
+ loading?: boolean | undefined;
85
+ debounceDelay?: number | undefined;
86
+ maxResults?: number | undefined;
87
+ enableLoadMore?: boolean | undefined;
88
+ showSelectedSection?: boolean | undefined;
89
+ blurCloseDelay?: number | undefined;
90
+ loadMoreThrottleDelay?: number | undefined;
91
+ serverSideFiltering?: boolean | undefined;
92
+ modelValue?: T[] | undefined;
93
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
94
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
95
+ attrs: any;
96
+ slots: {
97
+ /**
98
+ * Slot for displaying a required field tip in the input.
99
+ */
100
+ requiredTip?: (() => Slot) | undefined;
101
+ /**
102
+ * Slot for customizing how each option is displayed in the dropdown.
103
+ * @param option The option object being rendered
104
+ * @param isSelected Whether the option is currently selected
105
+ * @param toggle Function to toggle the option's selected state
106
+ */
107
+ item?: Slot<{
108
+ option: T;
109
+ isSelected: boolean;
110
+ toggle: () => void;
111
+ }> | undefined;
112
+ /**
113
+ * Slot for customizing how selected items are displayed as tags.
114
+ * @param option The selected option object
115
+ * @param remove Function to remove this option from selection
116
+ */
117
+ selectedItem?: Slot<{
118
+ option: T;
119
+ remove: () => void;
120
+ }> | undefined;
121
+ /**
122
+ * Slot for customizing the empty state when no options match the search.
123
+ */
124
+ empty?: Slot | undefined;
125
+ };
126
+ emit: {
127
+ (e: 'search', query: string): void;
128
+ (e: 'loadMore'): void;
129
+ (e: 'clear'): void;
130
+ } & ((evt: "update:modelValue", value: T[]) => void);
131
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
132
+ [key: string]: any;
133
+ }> & {
134
+ __ctx?: {
135
+ props: {
136
+ readonly "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
137
+ readonly onLoadMore?: (() => any) | undefined;
138
+ readonly onSearch?: ((query: string) => any) | undefined;
139
+ readonly onClear?: (() => any) | undefined;
140
+ id?: string | undefined;
141
+ inputOptions?: Omit<import("../..").AvInputProps, "id" | "modelValue"> | undefined;
142
+ options?: T[] | undefined;
143
+ multiSelect?: boolean | undefined;
144
+ getOptionLabel?: ((option: T) => string) | undefined;
145
+ getOptionKey?: ((option: T) => string | number) | undefined;
146
+ filterOptions?: ((options: T[], query: string) => T[]) | undefined;
147
+ dropdownWidth?: string | undefined;
148
+ maxDropdownHeight?: string | undefined;
149
+ listOptions?: import("../../lists/AvList/AvList.vue").AvListProps | undefined;
150
+ scrollbarClass?: string | undefined;
151
+ dropdownClass?: string | undefined;
152
+ loading?: boolean | undefined;
153
+ debounceDelay?: number | undefined;
154
+ maxResults?: number | undefined;
155
+ enableLoadMore?: boolean | undefined;
156
+ showSelectedSection?: boolean | undefined;
157
+ blurCloseDelay?: number | undefined;
158
+ loadMoreThrottleDelay?: number | undefined;
159
+ serverSideFiltering?: boolean | undefined;
160
+ modelValue?: T[] | undefined;
161
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
162
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
163
+ attrs: any;
164
+ slots: {
165
+ /**
166
+ * Slot for displaying a required field tip in the input.
167
+ */
168
+ requiredTip?: (() => Slot) | undefined;
169
+ /**
170
+ * Slot for customizing how each option is displayed in the dropdown.
171
+ * @param option The option object being rendered
172
+ * @param isSelected Whether the option is currently selected
173
+ * @param toggle Function to toggle the option's selected state
174
+ */
175
+ item?: Slot<{
176
+ option: T;
177
+ isSelected: boolean;
178
+ toggle: () => void;
179
+ }> | undefined;
180
+ /**
181
+ * Slot for customizing how selected items are displayed as tags.
182
+ * @param option The selected option object
183
+ * @param remove Function to remove this option from selection
184
+ */
185
+ selectedItem?: Slot<{
186
+ option: T;
187
+ remove: () => void;
188
+ }> | undefined;
189
+ /**
190
+ * Slot for customizing the empty state when no options match the search.
191
+ */
192
+ empty?: Slot | undefined;
193
+ };
194
+ emit: {
195
+ (e: 'search', query: string): void;
196
+ (e: 'loadMore'): void;
197
+ (e: 'clear'): void;
198
+ } & ((evt: "update:modelValue", value: T[]) => void);
199
+ } | undefined;
200
+ };
201
+ export default _default;
202
+ type __VLS_PrettifyLocal<T> = {
203
+ [K in keyof T]: T[K];
204
+ } & {};
@@ -0,0 +1,14 @@
1
+ import type { ComputedRef, InjectionKey, Ref } from 'vue';
2
+ import type { AvAutocompleteOption, AvAutocompleteProps } from './AvAutocomplete.types';
3
+ export interface AvAutocompleteContext<T extends AvAutocompleteOption = AvAutocompleteOption> {
4
+ selectedItems: Ref<T[]>;
5
+ searchQuery: Ref<string>;
6
+ isOpen: Ref<boolean>;
7
+ props: AvAutocompleteProps<T>;
8
+ inputId: ComputedRef<string>;
9
+ handleBlur: (event: FocusEvent) => void;
10
+ getOptionId: (option: T) => string | number;
11
+ getDisplayLabel: (option: T) => string;
12
+ }
13
+ export declare const AvAutocompleteContextKey: InjectionKey<AvAutocompleteContext>;
14
+ export declare function useAutocompleteContext<T extends AvAutocompleteOption = AvAutocompleteOption>(): AvAutocompleteContext<T>;
@@ -0,0 +1,60 @@
1
+ import type { Slot } from 'vue';
2
+ import { type AvAutocompleteOption } from '@/components/interaction/selects/AvAutocomplete/AvAutocomplete.types';
3
+ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
+ readonly onLoadMore?: (() => any) | undefined;
5
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
6
+ slots: {
7
+ item?: Slot<{
8
+ option: T;
9
+ isSelected: boolean;
10
+ toggle: () => void;
11
+ }> | undefined;
12
+ empty?: Slot | undefined;
13
+ };
14
+ emit: (evt: "loadMore") => void;
15
+ attrs: any;
16
+ } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
17
+ dropdownRef: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
18
+ }>) => void) | undefined, __VLS_setup?: Promise<{
19
+ props: {
20
+ readonly onLoadMore?: (() => any) | undefined;
21
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
22
+ expose(exposed: import("vue").ShallowUnwrapRef<{
23
+ dropdownRef: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
24
+ }>): void;
25
+ attrs: any;
26
+ slots: {
27
+ item?: Slot<{
28
+ option: T;
29
+ isSelected: boolean;
30
+ toggle: () => void;
31
+ }> | undefined;
32
+ empty?: Slot | undefined;
33
+ };
34
+ emit: (evt: "loadMore") => void;
35
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
36
+ [key: string]: any;
37
+ }> & {
38
+ __ctx?: {
39
+ props: {
40
+ readonly onLoadMore?: (() => any) | undefined;
41
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
42
+ expose(exposed: import("vue").ShallowUnwrapRef<{
43
+ dropdownRef: Readonly<import("vue").ShallowRef<HTMLElement | null>>;
44
+ }>): void;
45
+ attrs: any;
46
+ slots: {
47
+ item?: Slot<{
48
+ option: T;
49
+ isSelected: boolean;
50
+ toggle: () => void;
51
+ }> | undefined;
52
+ empty?: Slot | undefined;
53
+ };
54
+ emit: (evt: "loadMore") => void;
55
+ } | undefined;
56
+ };
57
+ export default _default;
58
+ type __VLS_PrettifyLocal<T> = {
59
+ [K in keyof T]: T[K];
60
+ } & {};
@@ -0,0 +1,309 @@
1
+ import type { Slot } from 'vue';
2
+ import type { AvAutocompleteOption } from './AvAutocomplete.types';
3
+ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {
4
+ readonly onSearch?: ((query: string) => any) | undefined;
5
+ readonly onClear?: (() => any) | undefined;
6
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
7
+ slots: {
8
+ requiredTip?: Slot | undefined;
9
+ };
10
+ emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
11
+ attrs: any;
12
+ } | undefined, __VLS_expose?: ((exposed: import("vue").ShallowUnwrapRef<{
13
+ inputRef: Readonly<import("vue").ShallowRef<({
14
+ $: import("vue").ComponentInternalInstance;
15
+ $data: {};
16
+ $props: {
17
+ readonly id?: string | undefined;
18
+ readonly descriptionId?: string | undefined;
19
+ readonly hint?: string | undefined;
20
+ readonly isValid?: boolean | undefined;
21
+ readonly isTextarea?: boolean | undefined;
22
+ readonly labelVisible?: boolean | undefined;
23
+ readonly label?: string | undefined;
24
+ readonly labelClass?: string | undefined;
25
+ readonly modelValue?: string | number | null | undefined;
26
+ readonly placeholder?: string | undefined;
27
+ readonly type?: "number" | "text" | "search" | "email" | "password" | "tel" | "url" | undefined;
28
+ readonly disabled?: boolean | undefined;
29
+ readonly required?: boolean | undefined;
30
+ readonly maxlength?: number | undefined;
31
+ readonly minlength?: number | undefined;
32
+ readonly errorMessage?: string | string[] | undefined;
33
+ readonly validMessage?: string | string[] | undefined;
34
+ readonly prefixIcon?: string | undefined;
35
+ readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
36
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
37
+ $attrs: {
38
+ [x: string]: unknown;
39
+ };
40
+ $refs: {
41
+ [x: string]: unknown;
42
+ };
43
+ $slots: Readonly<{
44
+ [name: string]: Slot<any> | undefined;
45
+ }>;
46
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
47
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
48
+ $host: Element | null;
49
+ $emit: (event: "update:modelValue", value: string | number | null) => void;
50
+ $el: any;
51
+ $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
52
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
53
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
54
+ "update:modelValue": (value: string | number | null) => any;
55
+ }, string, {
56
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
57
+ disabled: boolean;
58
+ required: boolean;
59
+ isValid: boolean;
60
+ isTextarea: boolean;
61
+ labelVisible: boolean;
62
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
63
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
64
+ created?: ((() => void) | (() => void)[]) | undefined;
65
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
66
+ mounted?: ((() => void) | (() => void)[]) | undefined;
67
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
68
+ updated?: ((() => void) | (() => void)[]) | undefined;
69
+ activated?: ((() => void) | (() => void)[]) | undefined;
70
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
71
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
72
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
73
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
74
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
75
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
76
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
77
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
78
+ };
79
+ $forceUpdate: () => void;
80
+ $nextTick: typeof import("vue").nextTick;
81
+ $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
82
+ } & Readonly<{
83
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
84
+ disabled: boolean;
85
+ required: boolean;
86
+ isValid: boolean;
87
+ isTextarea: boolean;
88
+ labelVisible: boolean;
89
+ }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
90
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
91
+ }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
92
+ $slots: {
93
+ requiredTip?: Slot | undefined;
94
+ customCaptions?: Slot<{
95
+ currentValue?: string | number | null | undefined;
96
+ maxlength?: number | undefined;
97
+ }> | undefined;
98
+ };
99
+ }) | null>>;
100
+ searchQuery: import("vue").ComputedRef<string>;
101
+ }>) => void) | undefined, __VLS_setup?: Promise<{
102
+ props: {
103
+ readonly onSearch?: ((query: string) => any) | undefined;
104
+ readonly onClear?: (() => any) | undefined;
105
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
106
+ expose(exposed: import("vue").ShallowUnwrapRef<{
107
+ inputRef: Readonly<import("vue").ShallowRef<({
108
+ $: import("vue").ComponentInternalInstance;
109
+ $data: {};
110
+ $props: {
111
+ readonly id?: string | undefined;
112
+ readonly descriptionId?: string | undefined;
113
+ readonly hint?: string | undefined;
114
+ readonly isValid?: boolean | undefined;
115
+ readonly isTextarea?: boolean | undefined;
116
+ readonly labelVisible?: boolean | undefined;
117
+ readonly label?: string | undefined;
118
+ readonly labelClass?: string | undefined;
119
+ readonly modelValue?: string | number | null | undefined;
120
+ readonly placeholder?: string | undefined;
121
+ readonly type?: "number" | "text" | "search" | "email" | "password" | "tel" | "url" | undefined;
122
+ readonly disabled?: boolean | undefined;
123
+ readonly required?: boolean | undefined;
124
+ readonly maxlength?: number | undefined;
125
+ readonly minlength?: number | undefined;
126
+ readonly errorMessage?: string | string[] | undefined;
127
+ readonly validMessage?: string | string[] | undefined;
128
+ readonly prefixIcon?: string | undefined;
129
+ readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
130
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
131
+ $attrs: {
132
+ [x: string]: unknown;
133
+ };
134
+ $refs: {
135
+ [x: string]: unknown;
136
+ };
137
+ $slots: Readonly<{
138
+ [name: string]: Slot<any> | undefined;
139
+ }>;
140
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
141
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
142
+ $host: Element | null;
143
+ $emit: (event: "update:modelValue", value: string | number | null) => void;
144
+ $el: any;
145
+ $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
146
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
147
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
148
+ "update:modelValue": (value: string | number | null) => any;
149
+ }, string, {
150
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
151
+ disabled: boolean;
152
+ required: boolean;
153
+ isValid: boolean;
154
+ isTextarea: boolean;
155
+ labelVisible: boolean;
156
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
157
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
158
+ created?: ((() => void) | (() => void)[]) | undefined;
159
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
160
+ mounted?: ((() => void) | (() => void)[]) | undefined;
161
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
162
+ updated?: ((() => void) | (() => void)[]) | undefined;
163
+ activated?: ((() => void) | (() => void)[]) | undefined;
164
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
165
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
166
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
167
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
168
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
169
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
170
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
171
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
172
+ };
173
+ $forceUpdate: () => void;
174
+ $nextTick: typeof import("vue").nextTick;
175
+ $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
176
+ } & Readonly<{
177
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
178
+ disabled: boolean;
179
+ required: boolean;
180
+ isValid: boolean;
181
+ isTextarea: boolean;
182
+ labelVisible: boolean;
183
+ }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
184
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
185
+ }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
186
+ $slots: {
187
+ requiredTip?: Slot | undefined;
188
+ customCaptions?: Slot<{
189
+ currentValue?: string | number | null | undefined;
190
+ maxlength?: number | undefined;
191
+ }> | undefined;
192
+ };
193
+ }) | null>>;
194
+ searchQuery: import("vue").ComputedRef<string>;
195
+ }>): void;
196
+ attrs: any;
197
+ slots: {
198
+ requiredTip?: Slot | undefined;
199
+ };
200
+ emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
201
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
202
+ [key: string]: any;
203
+ }> & {
204
+ __ctx?: {
205
+ props: {
206
+ readonly onSearch?: ((query: string) => any) | undefined;
207
+ readonly onClear?: (() => any) | undefined;
208
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
209
+ expose(exposed: import("vue").ShallowUnwrapRef<{
210
+ inputRef: Readonly<import("vue").ShallowRef<({
211
+ $: import("vue").ComponentInternalInstance;
212
+ $data: {};
213
+ $props: {
214
+ readonly id?: string | undefined;
215
+ readonly descriptionId?: string | undefined;
216
+ readonly hint?: string | undefined;
217
+ readonly isValid?: boolean | undefined;
218
+ readonly isTextarea?: boolean | undefined;
219
+ readonly labelVisible?: boolean | undefined;
220
+ readonly label?: string | undefined;
221
+ readonly labelClass?: string | undefined;
222
+ readonly modelValue?: string | number | null | undefined;
223
+ readonly placeholder?: string | undefined;
224
+ readonly type?: "number" | "text" | "search" | "email" | "password" | "tel" | "url" | undefined;
225
+ readonly disabled?: boolean | undefined;
226
+ readonly required?: boolean | undefined;
227
+ readonly maxlength?: number | undefined;
228
+ readonly minlength?: number | undefined;
229
+ readonly errorMessage?: string | string[] | undefined;
230
+ readonly validMessage?: string | string[] | undefined;
231
+ readonly prefixIcon?: string | undefined;
232
+ readonly "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
233
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
234
+ $attrs: {
235
+ [x: string]: unknown;
236
+ };
237
+ $refs: {
238
+ [x: string]: unknown;
239
+ };
240
+ $slots: Readonly<{
241
+ [name: string]: Slot<any> | undefined;
242
+ }>;
243
+ $root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
244
+ $parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null;
245
+ $host: Element | null;
246
+ $emit: (event: "update:modelValue", value: string | number | null) => void;
247
+ $el: any;
248
+ $options: import("vue").ComponentOptionsBase<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
249
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
250
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
251
+ "update:modelValue": (value: string | number | null) => any;
252
+ }, string, {
253
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
254
+ disabled: boolean;
255
+ required: boolean;
256
+ isValid: boolean;
257
+ isTextarea: boolean;
258
+ labelVisible: boolean;
259
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
260
+ beforeCreate?: ((() => void) | (() => void)[]) | undefined;
261
+ created?: ((() => void) | (() => void)[]) | undefined;
262
+ beforeMount?: ((() => void) | (() => void)[]) | undefined;
263
+ mounted?: ((() => void) | (() => void)[]) | undefined;
264
+ beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
265
+ updated?: ((() => void) | (() => void)[]) | undefined;
266
+ activated?: ((() => void) | (() => void)[]) | undefined;
267
+ deactivated?: ((() => void) | (() => void)[]) | undefined;
268
+ beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
269
+ beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
270
+ destroyed?: ((() => void) | (() => void)[]) | undefined;
271
+ unmounted?: ((() => void) | (() => void)[]) | undefined;
272
+ renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
273
+ renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
274
+ errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}, {}, {}, string, import("vue").ComponentProvideOptions>, {}, {}, "", {}, any> | null, info: string) => boolean | void)[]) | undefined;
275
+ };
276
+ $forceUpdate: () => void;
277
+ $nextTick: typeof import("vue").nextTick;
278
+ $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (args_0: R, args_1: R, args_2: import("@vue/reactivity").OnCleanup) => any : (args_0: any, args_1: any, args_2: import("@vue/reactivity").OnCleanup) => any, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
279
+ } & Readonly<{
280
+ type: "number" | "text" | "search" | "email" | "password" | "tel" | "url";
281
+ disabled: boolean;
282
+ required: boolean;
283
+ isValid: boolean;
284
+ isTextarea: boolean;
285
+ labelVisible: boolean;
286
+ }> & Omit<Readonly<import("@/components/interaction/inputs/AvInput/AvInput.vue").AvInputProps> & Readonly<{
287
+ "onUpdate:modelValue"?: ((value: string | number | null) => any) | undefined;
288
+ }>, "type" | "disabled" | "required" | "isValid" | "isTextarea" | "labelVisible"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
289
+ $slots: {
290
+ requiredTip?: Slot | undefined;
291
+ customCaptions?: Slot<{
292
+ currentValue?: string | number | null | undefined;
293
+ maxlength?: number | undefined;
294
+ }> | undefined;
295
+ };
296
+ }) | null>>;
297
+ searchQuery: import("vue").ComputedRef<string>;
298
+ }>): void;
299
+ attrs: any;
300
+ slots: {
301
+ requiredTip?: Slot | undefined;
302
+ };
303
+ emit: ((evt: "search", query: string) => void) & ((evt: "clear") => void);
304
+ } | undefined;
305
+ };
306
+ export default _default;
307
+ type __VLS_PrettifyLocal<T> = {
308
+ [K in keyof T]: T[K];
309
+ } & {};
@@ -0,0 +1,42 @@
1
+ import type { Slot } from 'vue';
2
+ import type { AvAutocompleteOption } from './AvAutocomplete.types';
3
+ declare const _default: <T extends AvAutocompleteOption = AvAutocompleteOption>(__VLS_props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, __VLS_ctx?: {
4
+ slots: {
5
+ selectedItem?: Slot<{
6
+ option: T;
7
+ remove: () => void;
8
+ }> | undefined;
9
+ };
10
+ emit: {};
11
+ attrs: any;
12
+ } | undefined, __VLS_expose?: ((exposed: import('vue').ShallowUnwrapRef<{}>) => void) | undefined, __VLS_setup?: Promise<{
13
+ props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
14
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
15
+ attrs: any;
16
+ slots: {
17
+ selectedItem?: Slot<{
18
+ option: T;
19
+ remove: () => void;
20
+ }> | undefined;
21
+ };
22
+ emit: {};
23
+ }>) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
24
+ [key: string]: any;
25
+ }> & {
26
+ __ctx?: {
27
+ props: {} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
28
+ expose(exposed: import('vue').ShallowUnwrapRef<{}>): void;
29
+ attrs: any;
30
+ slots: {
31
+ selectedItem?: Slot<{
32
+ option: T;
33
+ remove: () => void;
34
+ }> | undefined;
35
+ };
36
+ emit: {};
37
+ } | undefined;
38
+ };
39
+ export default _default;
40
+ type __VLS_PrettifyLocal<T> = {
41
+ [K in keyof T]: T[K];
42
+ } & {};