@nuxt/ui 2.17.0 → 2.18.1

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 (234) hide show
  1. package/dist/module.d.mts +3 -1988
  2. package/dist/module.d.ts +3 -1988
  3. package/dist/module.json +6 -2
  4. package/dist/module.mjs +6 -71
  5. package/dist/runtime/components/data/Table.vue +53 -15
  6. package/dist/runtime/components/data/Table.vue.d.ts +249 -50
  7. package/dist/runtime/components/elements/Accordion.vue.d.ts +140 -14
  8. package/dist/runtime/components/elements/Alert.vue +1 -1
  9. package/dist/runtime/components/elements/Alert.vue.d.ts +106 -23
  10. package/dist/runtime/components/elements/Avatar.vue.d.ts +146 -25
  11. package/dist/runtime/components/elements/AvatarGroup.d.ts +20 -11
  12. package/dist/runtime/components/elements/{AvatarGroup.mjs → AvatarGroup.js} +2 -2
  13. package/dist/runtime/components/elements/Badge.vue.d.ts +53 -16
  14. package/dist/runtime/components/elements/Button.vue.d.ts +259 -96
  15. package/dist/runtime/components/elements/ButtonGroup.d.ts +113 -9
  16. package/dist/runtime/components/elements/{ButtonGroup.mjs → ButtonGroup.js} +3 -3
  17. package/dist/runtime/components/elements/Carousel.vue.d.ts +75 -20
  18. package/dist/runtime/components/elements/Chip.vue.d.ts +95 -23
  19. package/dist/runtime/components/elements/Dropdown.vue +3 -6
  20. package/dist/runtime/components/elements/Dropdown.vue.d.ts +135 -16
  21. package/dist/runtime/components/elements/Icon.vue +16 -15
  22. package/dist/runtime/components/elements/Icon.vue.d.ts +33 -10
  23. package/dist/runtime/components/elements/Kbd.vue.d.ts +45 -10
  24. package/dist/runtime/components/elements/Link.vue.d.ts +72 -72
  25. package/dist/runtime/components/elements/Meter.vue +1 -1
  26. package/dist/runtime/components/elements/Meter.vue.d.ts +179 -23
  27. package/dist/runtime/components/elements/MeterGroup.d.ts +72 -15
  28. package/dist/runtime/components/elements/{MeterGroup.mjs → MeterGroup.js} +3 -3
  29. package/dist/runtime/components/elements/Progress.vue +7 -2
  30. package/dist/runtime/components/elements/Progress.vue.d.ts +188 -32
  31. package/dist/runtime/components/forms/Checkbox.vue +5 -3
  32. package/dist/runtime/components/forms/Checkbox.vue.d.ts +73 -32
  33. package/dist/runtime/components/forms/Form.vue +1 -2
  34. package/dist/runtime/components/forms/Form.vue.d.ts +11 -10
  35. package/dist/runtime/components/forms/FormGroup.vue +1 -1
  36. package/dist/runtime/components/forms/FormGroup.vue.d.ts +78 -25
  37. package/dist/runtime/components/forms/Input.vue +1 -1
  38. package/dist/runtime/components/forms/Input.vue.d.ts +272 -55
  39. package/dist/runtime/components/forms/InputMenu.vue +11 -8
  40. package/dist/runtime/components/forms/InputMenu.vue.d.ts +431 -81
  41. package/dist/runtime/components/forms/Radio.vue +5 -3
  42. package/dist/runtime/components/forms/Radio.vue.d.ts +71 -32
  43. package/dist/runtime/components/forms/RadioGroup.vue +11 -3
  44. package/dist/runtime/components/forms/RadioGroup.vue.d.ts +83 -25
  45. package/dist/runtime/components/forms/Range.vue.d.ts +153 -24
  46. package/dist/runtime/components/forms/Select.vue +1 -1
  47. package/dist/runtime/components/forms/Select.vue.d.ts +272 -49
  48. package/dist/runtime/components/forms/SelectMenu.vue +49 -23
  49. package/dist/runtime/components/forms/SelectMenu.vue.d.ts +449 -84
  50. package/dist/runtime/components/forms/Textarea.vue.d.ts +258 -43
  51. package/dist/runtime/components/forms/Toggle.vue.d.ts +152 -25
  52. package/dist/runtime/components/layout/Card.vue.d.ts +54 -4
  53. package/dist/runtime/components/layout/Container.vue.d.ts +18 -4
  54. package/dist/runtime/components/layout/Divider.vue.d.ts +121 -16
  55. package/dist/runtime/components/layout/Skeleton.vue +5 -1
  56. package/dist/runtime/components/layout/Skeleton.vue.d.ts +27 -4
  57. package/dist/runtime/components/navigation/Breadcrumb.vue.d.ts +52 -9
  58. package/dist/runtime/components/navigation/CommandPalette.vue +7 -4
  59. package/dist/runtime/components/navigation/CommandPalette.vue.d.ts +193 -35
  60. package/dist/runtime/components/navigation/CommandPaletteGroup.vue.d.ts +5 -7
  61. package/dist/runtime/components/navigation/HorizontalNavigation.vue.d.ts +64 -9
  62. package/dist/runtime/components/navigation/Pagination.vue +2 -4
  63. package/dist/runtime/components/navigation/Pagination.vue.d.ts +83 -11
  64. package/dist/runtime/components/navigation/Tabs.vue +10 -0
  65. package/dist/runtime/components/navigation/Tabs.vue.d.ts +85 -14
  66. package/dist/runtime/components/navigation/VerticalNavigation.vue.d.ts +78 -9
  67. package/dist/runtime/components/overlays/ContextMenu.vue.d.ts +71 -8
  68. package/dist/runtime/components/overlays/Modal.vue.d.ts +85 -11
  69. package/dist/runtime/components/overlays/Notification.vue +1 -1
  70. package/dist/runtime/components/overlays/Notification.vue.d.ts +127 -26
  71. package/dist/runtime/components/overlays/Notifications.vue.d.ts +31 -16
  72. package/dist/runtime/components/overlays/Popover.vue +3 -6
  73. package/dist/runtime/components/overlays/Popover.vue.d.ts +110 -15
  74. package/dist/runtime/components/overlays/Slideover.vue.d.ts +86 -14
  75. package/dist/runtime/components/overlays/Tooltip.vue.d.ts +90 -15
  76. package/dist/runtime/composables/{defineShortcuts.mjs → defineShortcuts.js} +1 -1
  77. package/dist/runtime/composables/{useButtonGroup.mjs → useButtonGroup.js} +8 -9
  78. package/dist/runtime/composables/useCopyToClipboard.d.ts +1 -1
  79. package/dist/runtime/composables/{useCopyToClipboard.mjs → useCopyToClipboard.js} +1 -1
  80. package/dist/runtime/composables/useFormGroup.d.ts +5 -5
  81. package/dist/runtime/composables/useFormGroup.js +49 -0
  82. package/dist/runtime/composables/useModal.d.ts +3 -3
  83. package/dist/runtime/composables/{useModal.mjs → useModal.js} +2 -4
  84. package/dist/runtime/composables/usePopper.d.ts +90 -54
  85. package/dist/runtime/composables/useShortcuts.d.ts +4 -4
  86. package/dist/runtime/composables/useSlideover.d.ts +3 -3
  87. package/dist/runtime/composables/{useSlideover.mjs → useSlideover.js} +2 -4
  88. package/dist/runtime/composables/useTimer.d.ts +1 -1
  89. package/dist/runtime/composables/useToast.d.ts +11 -11
  90. package/dist/runtime/composables/useUI.d.ts +1 -1
  91. package/dist/runtime/composables/{useUI.mjs → useUI.js} +1 -1
  92. package/dist/runtime/plugins/colors.d.ts +1 -1
  93. package/dist/runtime/plugins/{colors.mjs → colors.js} +1 -1
  94. package/dist/runtime/plugins/modals.d.ts +1 -1
  95. package/dist/runtime/plugins/{modals.mjs → modals.js} +1 -1
  96. package/dist/runtime/plugins/slideovers.d.ts +1 -1
  97. package/dist/runtime/plugins/{slideovers.mjs → slideovers.js} +1 -1
  98. package/dist/runtime/types/accordion.d.ts +6 -7
  99. package/dist/runtime/types/accordion.js +0 -0
  100. package/dist/runtime/types/alert.d.ts +8 -10
  101. package/dist/runtime/types/alert.js +0 -0
  102. package/dist/runtime/types/avatar.d.ts +13 -15
  103. package/dist/runtime/types/avatar.js +0 -0
  104. package/dist/runtime/types/badge.d.ts +11 -13
  105. package/dist/runtime/types/badge.js +0 -0
  106. package/dist/runtime/types/breadcrumb.d.ts +6 -8
  107. package/dist/runtime/types/breadcrumb.js +0 -0
  108. package/dist/runtime/types/button.d.ts +27 -29
  109. package/dist/runtime/types/button.js +0 -0
  110. package/dist/runtime/types/chip.d.ts +11 -13
  111. package/dist/runtime/types/chip.js +0 -0
  112. package/dist/runtime/types/clipboard.d.ts +7 -1
  113. package/dist/runtime/types/clipboard.js +0 -0
  114. package/dist/runtime/types/command-palette.d.ts +23 -24
  115. package/dist/runtime/types/command-palette.js +0 -0
  116. package/dist/runtime/types/component.d.ts +17 -14
  117. package/dist/runtime/types/component.js +0 -0
  118. package/dist/runtime/types/divider.d.ts +2 -3
  119. package/dist/runtime/types/divider.js +0 -0
  120. package/dist/runtime/types/dropdown.d.ts +12 -13
  121. package/dist/runtime/types/dropdown.js +0 -0
  122. package/dist/runtime/types/form-group.d.ts +4 -5
  123. package/dist/runtime/types/form-group.js +0 -0
  124. package/dist/runtime/types/form.d.ts +29 -28
  125. package/dist/runtime/types/form.js +0 -0
  126. package/dist/runtime/types/horizontal-navigation.d.ts +10 -11
  127. package/dist/runtime/types/horizontal-navigation.js +0 -0
  128. package/dist/runtime/types/index.d.ts +31 -31
  129. package/dist/runtime/types/index.js +31 -0
  130. package/dist/runtime/types/input.d.ts +7 -8
  131. package/dist/runtime/types/input.js +0 -0
  132. package/dist/runtime/types/kbd.d.ts +4 -5
  133. package/dist/runtime/types/kbd.js +0 -0
  134. package/dist/runtime/types/link.d.ts +9 -10
  135. package/dist/runtime/types/link.js +0 -0
  136. package/dist/runtime/types/meter.d.ts +4 -5
  137. package/dist/runtime/types/meter.js +0 -0
  138. package/dist/runtime/types/modal.d.ts +13 -15
  139. package/dist/runtime/types/modal.js +0 -0
  140. package/dist/runtime/types/notification.d.ts +17 -20
  141. package/dist/runtime/types/notification.js +0 -0
  142. package/dist/runtime/types/popper.d.ts +13 -15
  143. package/dist/runtime/types/popper.js +0 -0
  144. package/dist/runtime/types/progress.d.ts +5 -6
  145. package/dist/runtime/types/progress.js +0 -0
  146. package/dist/runtime/types/range.d.ts +6 -7
  147. package/dist/runtime/types/range.js +0 -0
  148. package/dist/runtime/types/select.d.ts +7 -8
  149. package/dist/runtime/types/select.js +0 -0
  150. package/dist/runtime/types/slideover.d.ts +10 -12
  151. package/dist/runtime/types/slideover.js +0 -0
  152. package/dist/runtime/types/tabs.d.ts +6 -5
  153. package/dist/runtime/types/tabs.js +0 -0
  154. package/dist/runtime/types/textarea.d.ts +7 -8
  155. package/dist/runtime/types/textarea.js +0 -0
  156. package/dist/runtime/types/toggle.d.ts +6 -7
  157. package/dist/runtime/types/toggle.js +0 -0
  158. package/dist/runtime/types/tooltip.d.ts +5 -5
  159. package/dist/runtime/types/tooltip.js +0 -0
  160. package/dist/runtime/types/utils.d.ts +15 -27
  161. package/dist/runtime/types/utils.js +0 -0
  162. package/dist/runtime/types/vertical-navigation.d.ts +10 -11
  163. package/dist/runtime/types/vertical-navigation.js +0 -0
  164. package/dist/runtime/ui.config/data/table.d.ts +10 -0
  165. package/dist/runtime/ui.config/data/{table.mjs → table.js} +10 -0
  166. package/dist/runtime/ui.config/elements/accordion.d.ts +1 -0
  167. package/dist/runtime/ui.config/elements/{accordion.mjs → accordion.js} +3 -2
  168. package/dist/runtime/ui.config/elements/alert.d.ts +2 -2
  169. package/dist/runtime/ui.config/elements/avatar.d.ts +2 -2
  170. package/dist/runtime/ui.config/elements/{carousel.mjs → carousel.js} +1 -1
  171. package/dist/runtime/ui.config/elements/{dropdown.mjs → dropdown.js} +1 -1
  172. package/dist/runtime/ui.config/forms/{inputMenu.mjs → inputMenu.js} +1 -1
  173. package/dist/runtime/ui.config/forms/{select.mjs → select.js} +1 -1
  174. package/dist/runtime/ui.config/forms/{selectMenu.mjs → selectMenu.js} +2 -2
  175. package/dist/runtime/ui.config/forms/{textarea.mjs → textarea.js} +1 -1
  176. package/dist/runtime/ui.config/forms/toggle.d.ts +2 -2
  177. package/dist/runtime/ui.config/index.d.ts +43 -43
  178. package/dist/runtime/ui.config/index.js +43 -0
  179. package/dist/runtime/ui.config/navigation/{breadcrumb.mjs → breadcrumb.js} +2 -2
  180. package/dist/runtime/ui.config/navigation/commandPalette.d.ts +1 -1
  181. package/dist/runtime/ui.config/navigation/tabs.d.ts +1 -0
  182. package/dist/runtime/ui.config/navigation/{tabs.mjs → tabs.js} +2 -1
  183. package/dist/runtime/ui.config/overlays/{contextMenu.mjs → contextMenu.js} +1 -1
  184. package/dist/runtime/ui.config/overlays/{modal.mjs → modal.js} +2 -2
  185. package/dist/runtime/ui.config/overlays/notification.d.ts +1 -1
  186. package/dist/runtime/ui.config/overlays/{popover.mjs → popover.js} +1 -1
  187. package/dist/runtime/ui.config/overlays/{slideover.mjs → slideover.js} +2 -2
  188. package/dist/runtime/ui.config/overlays/{tooltip.mjs → tooltip.js} +1 -1
  189. package/dist/runtime/utils/colors.d.ts +2 -2
  190. package/dist/runtime/utils/{colors.mjs → colors.js} +1 -1
  191. package/dist/runtime/utils/index.d.ts +4 -4
  192. package/dist/runtime/utils/{index.mjs → index.js} +2 -2
  193. package/dist/runtime/utils/link.d.ts +26 -24
  194. package/dist/runtime/utils/{link.mjs → link.js} +1 -1
  195. package/dist/types.d.mts +1 -16
  196. package/dist/types.d.ts +1 -16
  197. package/package.json +19 -21
  198. package/dist/runtime/composables/useFormGroup.mjs +0 -45
  199. package/dist/runtime/ui.config/index.mjs +0 -43
  200. /package/dist/runtime/composables/{useCarouselScroll.mjs → useCarouselScroll.js} +0 -0
  201. /package/dist/runtime/composables/{usePopper.mjs → usePopper.js} +0 -0
  202. /package/dist/runtime/composables/{useShortcuts.mjs → useShortcuts.js} +0 -0
  203. /package/dist/runtime/composables/{useTimer.mjs → useTimer.js} +0 -0
  204. /package/dist/runtime/composables/{useToast.mjs → useToast.js} +0 -0
  205. /package/dist/runtime/ui.config/elements/{alert.mjs → alert.js} +0 -0
  206. /package/dist/runtime/ui.config/elements/{avatar.mjs → avatar.js} +0 -0
  207. /package/dist/runtime/ui.config/elements/{avatarGroup.mjs → avatarGroup.js} +0 -0
  208. /package/dist/runtime/ui.config/elements/{badge.mjs → badge.js} +0 -0
  209. /package/dist/runtime/ui.config/elements/{button.mjs → button.js} +0 -0
  210. /package/dist/runtime/ui.config/elements/{buttonGroup.mjs → buttonGroup.js} +0 -0
  211. /package/dist/runtime/ui.config/elements/{chip.mjs → chip.js} +0 -0
  212. /package/dist/runtime/ui.config/elements/{kbd.mjs → kbd.js} +0 -0
  213. /package/dist/runtime/ui.config/elements/{meter.mjs → meter.js} +0 -0
  214. /package/dist/runtime/ui.config/elements/{meterGroup.mjs → meterGroup.js} +0 -0
  215. /package/dist/runtime/ui.config/elements/{progress.mjs → progress.js} +0 -0
  216. /package/dist/runtime/ui.config/forms/{checkbox.mjs → checkbox.js} +0 -0
  217. /package/dist/runtime/ui.config/forms/{formGroup.mjs → formGroup.js} +0 -0
  218. /package/dist/runtime/ui.config/forms/{input.mjs → input.js} +0 -0
  219. /package/dist/runtime/ui.config/forms/{radio.mjs → radio.js} +0 -0
  220. /package/dist/runtime/ui.config/forms/{radioGroup.mjs → radioGroup.js} +0 -0
  221. /package/dist/runtime/ui.config/forms/{range.mjs → range.js} +0 -0
  222. /package/dist/runtime/ui.config/forms/{toggle.mjs → toggle.js} +0 -0
  223. /package/dist/runtime/ui.config/layout/{card.mjs → card.js} +0 -0
  224. /package/dist/runtime/ui.config/layout/{container.mjs → container.js} +0 -0
  225. /package/dist/runtime/ui.config/layout/{divider.mjs → divider.js} +0 -0
  226. /package/dist/runtime/ui.config/layout/{skeleton.mjs → skeleton.js} +0 -0
  227. /package/dist/runtime/ui.config/navigation/{commandPalette.mjs → commandPalette.js} +0 -0
  228. /package/dist/runtime/ui.config/navigation/{horizontalNavigation.mjs → horizontalNavigation.js} +0 -0
  229. /package/dist/runtime/ui.config/navigation/{pagination.mjs → pagination.js} +0 -0
  230. /package/dist/runtime/ui.config/navigation/{verticalNavigation.mjs → verticalNavigation.js} +0 -0
  231. /package/dist/runtime/ui.config/overlays/{notification.mjs → notification.js} +0 -0
  232. /package/dist/runtime/ui.config/overlays/{notifications.mjs → notifications.js} +0 -0
  233. /package/dist/runtime/ui.config/{popper.mjs → popper.js} +0 -0
  234. /package/dist/runtime/utils/{lodash.mjs → lodash.js} +0 -0
@@ -1,32 +1,211 @@
1
1
  import type { PropType } from 'vue';
2
- import type { SelectSize, SelectVariant, PopperOptions } from '../../types';
2
+ import type { SelectSize, SelectColor, SelectVariant, PopperOptions, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ form: string;
5
+ placeholder: string;
6
+ default: {
7
+ size: string;
8
+ color: string;
9
+ variant: string;
10
+ loadingIcon: string;
11
+ trailingIcon: string;
12
+ };
13
+ wrapper: string;
14
+ base: string;
15
+ rounded: string;
16
+ file: {
17
+ base: string;
18
+ };
19
+ size: {
20
+ '2xs': string;
21
+ xs: string;
22
+ sm: string;
23
+ md: string;
24
+ lg: string;
25
+ xl: string;
26
+ };
27
+ gap: {
28
+ '2xs': string;
29
+ xs: string;
30
+ sm: string;
31
+ md: string;
32
+ lg: string;
33
+ xl: string;
34
+ };
35
+ padding: {
36
+ '2xs': string;
37
+ xs: string;
38
+ sm: string;
39
+ md: string;
40
+ lg: string;
41
+ xl: string;
42
+ };
43
+ leading: {
44
+ padding: {
45
+ '2xs': string;
46
+ xs: string;
47
+ sm: string;
48
+ md: string;
49
+ lg: string;
50
+ xl: string;
51
+ };
52
+ };
53
+ trailing: {
54
+ padding: {
55
+ '2xs': string;
56
+ xs: string;
57
+ sm: string;
58
+ md: string;
59
+ lg: string;
60
+ xl: string;
61
+ };
62
+ };
63
+ color: {
64
+ white: {
65
+ outline: string;
66
+ };
67
+ gray: {
68
+ outline: string;
69
+ };
70
+ };
71
+ variant: {
72
+ outline: string;
73
+ none: string;
74
+ };
75
+ icon: {
76
+ base: string;
77
+ color: string;
78
+ loading: string;
79
+ size: {
80
+ '2xs': string;
81
+ xs: string;
82
+ sm: string;
83
+ md: string;
84
+ lg: string;
85
+ xl: string;
86
+ };
87
+ leading: {
88
+ wrapper: string;
89
+ pointer: string;
90
+ padding: {
91
+ '2xs': string;
92
+ xs: string;
93
+ sm: string;
94
+ md: string;
95
+ lg: string;
96
+ xl: string;
97
+ };
98
+ };
99
+ trailing: {
100
+ wrapper: string;
101
+ pointer: string;
102
+ padding: {
103
+ '2xs': string;
104
+ xs: string;
105
+ sm: string;
106
+ md: string;
107
+ lg: string;
108
+ xl: string;
109
+ };
110
+ };
111
+ };
112
+ };
113
+ declare const configMenu: {
114
+ select: string;
115
+ input: string;
116
+ required: string;
117
+ label: string;
118
+ option: {
119
+ create: string;
120
+ base: string;
121
+ rounded: string;
122
+ padding: string;
123
+ size: string;
124
+ color: string;
125
+ container: string;
126
+ active: string;
127
+ inactive: string;
128
+ selected: string;
129
+ disabled: string;
130
+ empty: string;
131
+ icon: {
132
+ base: string;
133
+ active: string;
134
+ inactive: string;
135
+ };
136
+ selectedIcon: {
137
+ wrapper: string;
138
+ padding: string;
139
+ base: string;
140
+ };
141
+ avatar: {
142
+ base: string;
143
+ size: "2xs";
144
+ };
145
+ chip: {
146
+ base: string;
147
+ };
148
+ };
149
+ transition: {
150
+ leaveActiveClass: string;
151
+ leaveFromClass: string;
152
+ leaveToClass: string;
153
+ };
154
+ popper: {
155
+ placement: string;
156
+ };
157
+ default: {
158
+ selectedIcon: string;
159
+ clearSearchOnClose: boolean;
160
+ showCreateOptionWhen: string;
161
+ };
162
+ arrow: {
163
+ ring: string;
164
+ background: string;
165
+ base: string;
166
+ rounded: string;
167
+ shadow: string;
168
+ placement: string;
169
+ };
170
+ container: string;
171
+ trigger: string;
172
+ width: string;
173
+ height: string;
174
+ base: string;
175
+ background: string;
176
+ shadow: string;
177
+ rounded: string;
178
+ padding: string;
179
+ ring: string;
180
+ empty: string;
181
+ };
3
182
  declare const _default: import("vue").DefineComponent<{
4
183
  modelValue: {
5
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
184
+ type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor)[];
6
185
  default: string;
7
186
  };
8
187
  query: {
9
188
  type: StringConstructor;
10
- default: null;
189
+ default: any;
11
190
  };
12
191
  by: {
13
192
  type: StringConstructor;
14
- default: undefined;
193
+ default: any;
15
194
  };
16
195
  options: {
17
- type: PropType<string[] | {
196
+ type: PropType<{
18
197
  [key: string]: any;
19
- disabled?: boolean | undefined;
20
- }[]>;
21
- default: () => never[];
198
+ disabled?: boolean;
199
+ }[] | string[]>;
200
+ default: () => any[];
22
201
  };
23
202
  id: {
24
203
  type: StringConstructor;
25
- default: null;
204
+ default: any;
26
205
  };
27
206
  name: {
28
207
  type: StringConstructor;
29
- default: null;
208
+ default: any;
30
209
  };
31
210
  required: {
32
211
  type: BooleanConstructor;
@@ -34,19 +213,19 @@ declare const _default: import("vue").DefineComponent<{
34
213
  };
35
214
  icon: {
36
215
  type: StringConstructor;
37
- default: null;
216
+ default: any;
38
217
  };
39
218
  loadingIcon: {
40
219
  type: StringConstructor;
41
- default: () => any;
220
+ default: () => string;
42
221
  };
43
222
  leadingIcon: {
44
223
  type: StringConstructor;
45
- default: null;
224
+ default: any;
46
225
  };
47
226
  trailingIcon: {
48
227
  type: StringConstructor;
49
- default: () => any;
228
+ default: () => string;
50
229
  };
51
230
  trailing: {
52
231
  type: BooleanConstructor;
@@ -62,7 +241,7 @@ declare const _default: import("vue").DefineComponent<{
62
241
  };
63
242
  selectedIcon: {
64
243
  type: StringConstructor;
65
- default: () => any;
244
+ default: () => string;
66
245
  };
67
246
  disabled: {
68
247
  type: BooleanConstructor;
@@ -86,7 +265,7 @@ declare const _default: import("vue").DefineComponent<{
86
265
  };
87
266
  clearSearchOnClose: {
88
267
  type: BooleanConstructor;
89
- default: () => any;
268
+ default: () => boolean;
90
269
  };
91
270
  debounce: {
92
271
  type: NumberConstructor;
@@ -97,12 +276,12 @@ declare const _default: import("vue").DefineComponent<{
97
276
  default: boolean;
98
277
  };
99
278
  showCreateOptionWhen: {
100
- type: PropType<"empty" | "always">;
101
- default: () => any;
279
+ type: PropType<"always" | "empty" | ((query: string, results: any[]) => boolean)>;
280
+ default: () => string;
102
281
  };
103
282
  placeholder: {
104
283
  type: StringConstructor;
105
- default: null;
284
+ default: any;
106
285
  };
107
286
  padded: {
108
287
  type: BooleanConstructor;
@@ -110,17 +289,17 @@ declare const _default: import("vue").DefineComponent<{
110
289
  };
111
290
  size: {
112
291
  type: PropType<SelectSize>;
113
- default: null;
292
+ default: any;
114
293
  validator(value: string): boolean;
115
294
  };
116
295
  color: {
117
- type: PropType<any>;
118
- default: () => any;
296
+ type: PropType<SelectColor>;
297
+ default: () => string;
119
298
  validator(value: string): boolean;
120
299
  };
121
300
  variant: {
122
301
  type: PropType<SelectVariant>;
123
- default: () => any;
302
+ default: () => string;
124
303
  validator(value: string): boolean;
125
304
  };
126
305
  optionAttribute: {
@@ -129,11 +308,11 @@ declare const _default: import("vue").DefineComponent<{
129
308
  };
130
309
  valueAttribute: {
131
310
  type: StringConstructor;
132
- default: null;
311
+ default: any;
133
312
  };
134
313
  searchAttributes: {
135
314
  type: ArrayConstructor;
136
- default: null;
315
+ default: any;
137
316
  };
138
317
  popper: {
139
318
  type: PropType<PopperOptions>;
@@ -141,75 +320,257 @@ declare const _default: import("vue").DefineComponent<{
141
320
  };
142
321
  selectClass: {
143
322
  type: StringConstructor;
144
- default: null;
323
+ default: any;
145
324
  };
146
325
  class: {
147
326
  type: PropType<any>;
148
327
  default: () => "";
149
328
  };
150
329
  ui: {
151
- type: PropType<any>;
330
+ type: PropType<Partial<typeof config> & {
331
+ strategy?: Strategy;
332
+ }>;
152
333
  default: () => {};
153
334
  };
154
335
  uiMenu: {
155
- type: PropType<any>;
336
+ type: PropType<Partial<typeof configMenu> & {
337
+ strategy?: Strategy;
338
+ }>;
156
339
  default: () => {};
157
340
  };
158
341
  }, {
159
- ui: import("vue").ComputedRef<any>;
160
- uiMenu: import("vue").ComputedRef<any>;
342
+ ui: import("vue").ComputedRef<{
343
+ form: string;
344
+ placeholder: string;
345
+ default: {
346
+ size: string;
347
+ color: string;
348
+ variant: string;
349
+ loadingIcon: string;
350
+ trailingIcon: string;
351
+ };
352
+ wrapper: string;
353
+ base: string;
354
+ rounded: string;
355
+ file: {
356
+ base: string;
357
+ };
358
+ size: {
359
+ '2xs': string;
360
+ xs: string;
361
+ sm: string;
362
+ md: string;
363
+ lg: string;
364
+ xl: string;
365
+ };
366
+ gap: {
367
+ '2xs': string;
368
+ xs: string;
369
+ sm: string;
370
+ md: string;
371
+ lg: string;
372
+ xl: string;
373
+ };
374
+ padding: {
375
+ '2xs': string;
376
+ xs: string;
377
+ sm: string;
378
+ md: string;
379
+ lg: string;
380
+ xl: string;
381
+ };
382
+ leading: {
383
+ padding: {
384
+ '2xs': string;
385
+ xs: string;
386
+ sm: string;
387
+ md: string;
388
+ lg: string;
389
+ xl: string;
390
+ };
391
+ };
392
+ trailing: {
393
+ padding: {
394
+ '2xs': string;
395
+ xs: string;
396
+ sm: string;
397
+ md: string;
398
+ lg: string;
399
+ xl: string;
400
+ };
401
+ };
402
+ color: {
403
+ white: {
404
+ outline: string;
405
+ };
406
+ gray: {
407
+ outline: string;
408
+ };
409
+ };
410
+ variant: {
411
+ outline: string;
412
+ none: string;
413
+ };
414
+ icon: {
415
+ base: string;
416
+ color: string;
417
+ loading: string;
418
+ size: {
419
+ '2xs': string;
420
+ xs: string;
421
+ sm: string;
422
+ md: string;
423
+ lg: string;
424
+ xl: string;
425
+ };
426
+ leading: {
427
+ wrapper: string;
428
+ pointer: string;
429
+ padding: {
430
+ '2xs': string;
431
+ xs: string;
432
+ sm: string;
433
+ md: string;
434
+ lg: string;
435
+ xl: string;
436
+ };
437
+ };
438
+ trailing: {
439
+ wrapper: string;
440
+ pointer: string;
441
+ padding: {
442
+ '2xs': string;
443
+ xs: string;
444
+ sm: string;
445
+ md: string;
446
+ lg: string;
447
+ xl: string;
448
+ };
449
+ };
450
+ };
451
+ }>;
452
+ uiMenu: import("vue").ComputedRef<{
453
+ select: string;
454
+ input: string;
455
+ required: string;
456
+ label: string;
457
+ option: {
458
+ create: string;
459
+ base: string;
460
+ rounded: string;
461
+ padding: string;
462
+ size: string;
463
+ color: string;
464
+ container: string;
465
+ active: string;
466
+ inactive: string;
467
+ selected: string;
468
+ disabled: string;
469
+ empty: string;
470
+ icon: {
471
+ base: string;
472
+ active: string;
473
+ inactive: string;
474
+ };
475
+ selectedIcon: {
476
+ wrapper: string;
477
+ padding: string;
478
+ base: string;
479
+ };
480
+ avatar: {
481
+ base: string;
482
+ size: "2xs";
483
+ };
484
+ chip: {
485
+ base: string;
486
+ };
487
+ };
488
+ transition: {
489
+ leaveActiveClass: string;
490
+ leaveFromClass: string;
491
+ leaveToClass: string;
492
+ };
493
+ popper: {
494
+ placement: string;
495
+ };
496
+ default: {
497
+ selectedIcon: string;
498
+ clearSearchOnClose: boolean;
499
+ showCreateOptionWhen: string;
500
+ };
501
+ arrow: {
502
+ ring: string;
503
+ background: string;
504
+ base: string;
505
+ rounded: string;
506
+ shadow: string;
507
+ placement: string;
508
+ };
509
+ container: string;
510
+ trigger: string;
511
+ width: string;
512
+ height: string;
513
+ base: string;
514
+ background: string;
515
+ shadow: string;
516
+ rounded: string;
517
+ padding: string;
518
+ ring: string;
519
+ empty: string;
520
+ }>;
161
521
  attrs: import("vue").ComputedRef<Pick<{
162
522
  [x: string]: unknown;
163
523
  }, string>>;
164
- name: import("vue").ComputedRef<string | undefined>;
165
- inputId: import("vue").ComputedRef<string | undefined>;
524
+ name: import("vue").ComputedRef<string>;
525
+ inputId: import("vue").ComputedRef<string>;
166
526
  popper: import("vue").ComputedRef<PopperOptions>;
167
527
  trigger: import("vue").Ref<import("@vueuse/core").MaybeElement>;
168
528
  container: import("vue").Ref<import("@vueuse/core").MaybeElement>;
529
+ selected: import("vue").ComputedRef<any>;
169
530
  label: import("vue").ComputedRef<any>;
170
531
  isLeading: import("vue").ComputedRef<string | true>;
171
- isTrailing: import("vue").ComputedRef<string | true | undefined>;
532
+ isTrailing: import("vue").ComputedRef<string | true>;
172
533
  selectClass: import("vue").ComputedRef<string>;
173
- leadingIconName: import("vue").ComputedRef<string | undefined>;
534
+ leadingIconName: import("vue").ComputedRef<string>;
174
535
  leadingIconClass: import("vue").ComputedRef<string>;
175
536
  leadingWrapperIconClass: import("vue").ComputedRef<string>;
176
- trailingIconName: import("vue").ComputedRef<string | undefined>;
537
+ trailingIconName: import("vue").ComputedRef<string>;
177
538
  trailingIconClass: import("vue").ComputedRef<string>;
178
539
  trailingWrapperIconClass: import("vue").ComputedRef<string>;
179
- filteredOptions: import("vue").Ref<any[]>;
540
+ filteredOptions: import("vue").ComputedRef<any[]>;
180
541
  createOption: import("vue").ComputedRef<string | {
181
542
  [x: string]: string;
182
- } | null>;
543
+ }>;
183
544
  query: import("vue").WritableComputedRef<string>;
184
545
  onUpdate: (value: any) => void;
185
546
  onQueryChange: (event: any) => void;
186
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue" | "open" | "close" | "update:query")[], "change" | "update:modelValue" | "open" | "close" | "update:query", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
547
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "close" | "update:modelValue" | "open" | "update:query")[], "change" | "close" | "update:modelValue" | "open" | "update:query", import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
187
548
  modelValue: {
188
- type: (StringConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
549
+ type: (StringConstructor | NumberConstructor | BooleanConstructor | ObjectConstructor | ArrayConstructor)[];
189
550
  default: string;
190
551
  };
191
552
  query: {
192
553
  type: StringConstructor;
193
- default: null;
554
+ default: any;
194
555
  };
195
556
  by: {
196
557
  type: StringConstructor;
197
- default: undefined;
558
+ default: any;
198
559
  };
199
560
  options: {
200
- type: PropType<string[] | {
561
+ type: PropType<{
201
562
  [key: string]: any;
202
- disabled?: boolean | undefined;
203
- }[]>;
204
- default: () => never[];
563
+ disabled?: boolean;
564
+ }[] | string[]>;
565
+ default: () => any[];
205
566
  };
206
567
  id: {
207
568
  type: StringConstructor;
208
- default: null;
569
+ default: any;
209
570
  };
210
571
  name: {
211
572
  type: StringConstructor;
212
- default: null;
573
+ default: any;
213
574
  };
214
575
  required: {
215
576
  type: BooleanConstructor;
@@ -217,19 +578,19 @@ declare const _default: import("vue").DefineComponent<{
217
578
  };
218
579
  icon: {
219
580
  type: StringConstructor;
220
- default: null;
581
+ default: any;
221
582
  };
222
583
  loadingIcon: {
223
584
  type: StringConstructor;
224
- default: () => any;
585
+ default: () => string;
225
586
  };
226
587
  leadingIcon: {
227
588
  type: StringConstructor;
228
- default: null;
589
+ default: any;
229
590
  };
230
591
  trailingIcon: {
231
592
  type: StringConstructor;
232
- default: () => any;
593
+ default: () => string;
233
594
  };
234
595
  trailing: {
235
596
  type: BooleanConstructor;
@@ -245,7 +606,7 @@ declare const _default: import("vue").DefineComponent<{
245
606
  };
246
607
  selectedIcon: {
247
608
  type: StringConstructor;
248
- default: () => any;
609
+ default: () => string;
249
610
  };
250
611
  disabled: {
251
612
  type: BooleanConstructor;
@@ -269,7 +630,7 @@ declare const _default: import("vue").DefineComponent<{
269
630
  };
270
631
  clearSearchOnClose: {
271
632
  type: BooleanConstructor;
272
- default: () => any;
633
+ default: () => boolean;
273
634
  };
274
635
  debounce: {
275
636
  type: NumberConstructor;
@@ -280,12 +641,12 @@ declare const _default: import("vue").DefineComponent<{
280
641
  default: boolean;
281
642
  };
282
643
  showCreateOptionWhen: {
283
- type: PropType<"empty" | "always">;
284
- default: () => any;
644
+ type: PropType<"always" | "empty" | ((query: string, results: any[]) => boolean)>;
645
+ default: () => string;
285
646
  };
286
647
  placeholder: {
287
648
  type: StringConstructor;
288
- default: null;
649
+ default: any;
289
650
  };
290
651
  padded: {
291
652
  type: BooleanConstructor;
@@ -293,17 +654,17 @@ declare const _default: import("vue").DefineComponent<{
293
654
  };
294
655
  size: {
295
656
  type: PropType<SelectSize>;
296
- default: null;
657
+ default: any;
297
658
  validator(value: string): boolean;
298
659
  };
299
660
  color: {
300
- type: PropType<any>;
301
- default: () => any;
661
+ type: PropType<SelectColor>;
662
+ default: () => string;
302
663
  validator(value: string): boolean;
303
664
  };
304
665
  variant: {
305
666
  type: PropType<SelectVariant>;
306
- default: () => any;
667
+ default: () => string;
307
668
  validator(value: string): boolean;
308
669
  };
309
670
  optionAttribute: {
@@ -312,11 +673,11 @@ declare const _default: import("vue").DefineComponent<{
312
673
  };
313
674
  valueAttribute: {
314
675
  type: StringConstructor;
315
- default: null;
676
+ default: any;
316
677
  };
317
678
  searchAttributes: {
318
679
  type: ArrayConstructor;
319
- default: null;
680
+ default: any;
320
681
  };
321
682
  popper: {
322
683
  type: PropType<PopperOptions>;
@@ -324,66 +685,70 @@ declare const _default: import("vue").DefineComponent<{
324
685
  };
325
686
  selectClass: {
326
687
  type: StringConstructor;
327
- default: null;
688
+ default: any;
328
689
  };
329
690
  class: {
330
691
  type: PropType<any>;
331
692
  default: () => "";
332
693
  };
333
694
  ui: {
334
- type: PropType<any>;
695
+ type: PropType<Partial<typeof config> & {
696
+ strategy?: Strategy;
697
+ }>;
335
698
  default: () => {};
336
699
  };
337
700
  uiMenu: {
338
- type: PropType<any>;
701
+ type: PropType<Partial<typeof configMenu> & {
702
+ strategy?: Strategy;
703
+ }>;
339
704
  default: () => {};
340
705
  };
341
706
  }>> & {
342
- onChange?: ((...args: any[]) => any) | undefined;
343
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
344
- onOpen?: ((...args: any[]) => any) | undefined;
345
- onClose?: ((...args: any[]) => any) | undefined;
346
- "onUpdate:query"?: ((...args: any[]) => any) | undefined;
707
+ onChange?: (...args: any[]) => any;
708
+ onClose?: (...args: any[]) => any;
709
+ "onUpdate:modelValue"?: (...args: any[]) => any;
710
+ onOpen?: (...args: any[]) => any;
711
+ "onUpdate:query"?: (...args: any[]) => any;
347
712
  }, {
348
- size: SelectSize;
349
713
  name: string;
714
+ size: SelectSize;
350
715
  required: boolean;
351
716
  class: any;
717
+ disabled: boolean;
718
+ ui: {};
719
+ color: SelectColor;
720
+ variant: SelectVariant;
721
+ icon: string;
722
+ id: string;
352
723
  leading: boolean;
353
724
  popper: PopperOptions;
354
- color: any;
355
- variant: SelectVariant;
356
- disabled: boolean;
357
- ui: any;
725
+ options: string[] | {
726
+ [key: string]: any;
727
+ disabled?: boolean;
728
+ }[];
729
+ modelValue: string | number | boolean | Record<string, any> | unknown[];
358
730
  loading: boolean;
359
731
  padded: boolean;
360
- icon: string;
361
732
  loadingIcon: string;
362
733
  leadingIcon: string;
363
734
  trailingIcon: string;
364
735
  trailing: boolean;
365
- id: string;
366
- modelValue: string | number | boolean | Record<string, any> | unknown[];
367
736
  by: string;
368
737
  multiple: boolean;
369
738
  placeholder: string;
370
- options: string[] | {
371
- [key: string]: any;
372
- disabled?: boolean | undefined;
373
- }[];
374
739
  query: string;
375
740
  selectedIcon: string;
376
741
  optionAttribute: string;
377
742
  valueAttribute: string;
378
743
  searchAttributes: unknown[];
379
744
  debounce: number;
380
- uiMenu: any;
745
+ uiMenu: {};
381
746
  selectClass: string;
382
747
  searchable: boolean | ((query: string) => Promise<any[]> | any[]);
383
748
  searchablePlaceholder: string;
384
749
  searchableLazy: boolean;
385
750
  clearSearchOnClose: boolean;
386
751
  creatable: boolean;
387
- showCreateOptionWhen: "empty" | "always";
752
+ showCreateOptionWhen: "empty" | "always" | ((query: string, results: any[]) => boolean);
388
753
  }, {}>;
389
754
  export default _default;