@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,204 @@
1
1
  import type { PropType } from 'vue';
2
- import type { InputSize, InputVariant, PopperOptions } from '../../types';
2
+ import type { InputSize, InputColor, InputVariant, PopperOptions, Strategy } from '../../types.js';
3
+ declare const config: {
4
+ wrapper: string;
5
+ base: string;
6
+ form: string;
7
+ rounded: string;
8
+ placeholder: string;
9
+ file: {
10
+ base: string;
11
+ };
12
+ size: {
13
+ '2xs': string;
14
+ xs: string;
15
+ sm: string;
16
+ md: string;
17
+ lg: string;
18
+ xl: string;
19
+ };
20
+ gap: {
21
+ '2xs': string;
22
+ xs: string;
23
+ sm: string;
24
+ md: string;
25
+ lg: string;
26
+ xl: string;
27
+ };
28
+ padding: {
29
+ '2xs': string;
30
+ xs: string;
31
+ sm: string;
32
+ md: string;
33
+ lg: string;
34
+ xl: string;
35
+ };
36
+ leading: {
37
+ padding: {
38
+ '2xs': string;
39
+ xs: string;
40
+ sm: string;
41
+ md: string;
42
+ lg: string;
43
+ xl: string;
44
+ };
45
+ };
46
+ trailing: {
47
+ padding: {
48
+ '2xs': string;
49
+ xs: string;
50
+ sm: string;
51
+ md: string;
52
+ lg: string;
53
+ xl: string;
54
+ };
55
+ };
56
+ color: {
57
+ white: {
58
+ outline: string;
59
+ };
60
+ gray: {
61
+ outline: string;
62
+ };
63
+ };
64
+ variant: {
65
+ outline: string;
66
+ none: string;
67
+ };
68
+ icon: {
69
+ base: string;
70
+ color: string;
71
+ loading: string;
72
+ size: {
73
+ '2xs': string;
74
+ xs: string;
75
+ sm: string;
76
+ md: string;
77
+ lg: string;
78
+ xl: string;
79
+ };
80
+ leading: {
81
+ wrapper: string;
82
+ pointer: string;
83
+ padding: {
84
+ '2xs': string;
85
+ xs: string;
86
+ sm: string;
87
+ md: string;
88
+ lg: string;
89
+ xl: string;
90
+ };
91
+ };
92
+ trailing: {
93
+ wrapper: string;
94
+ pointer: string;
95
+ padding: {
96
+ '2xs': string;
97
+ xs: string;
98
+ sm: string;
99
+ md: string;
100
+ lg: string;
101
+ xl: string;
102
+ };
103
+ };
104
+ };
105
+ default: {
106
+ size: string;
107
+ color: string;
108
+ variant: string;
109
+ loadingIcon: string;
110
+ };
111
+ };
112
+ declare const configMenu: {
113
+ container: string;
114
+ trigger: string;
115
+ width: string;
116
+ height: string;
117
+ base: string;
118
+ background: string;
119
+ shadow: string;
120
+ rounded: string;
121
+ padding: string;
122
+ ring: string;
123
+ empty: string;
124
+ option: {
125
+ base: string;
126
+ rounded: string;
127
+ padding: string;
128
+ size: string;
129
+ color: string;
130
+ container: string;
131
+ active: string;
132
+ inactive: string;
133
+ selected: string;
134
+ disabled: string;
135
+ empty: string;
136
+ icon: {
137
+ base: string;
138
+ active: string;
139
+ inactive: string;
140
+ };
141
+ selectedIcon: {
142
+ wrapper: string;
143
+ padding: string;
144
+ base: string;
145
+ };
146
+ avatar: {
147
+ base: string;
148
+ size: "2xs";
149
+ };
150
+ chip: {
151
+ base: string;
152
+ };
153
+ };
154
+ transition: {
155
+ leaveActiveClass: string;
156
+ leaveFromClass: string;
157
+ leaveToClass: string;
158
+ };
159
+ popper: {
160
+ placement: string;
161
+ };
162
+ default: {
163
+ selectedIcon: string;
164
+ trailingIcon: string;
165
+ };
166
+ arrow: {
167
+ ring: string;
168
+ background: string;
169
+ base: string;
170
+ rounded: string;
171
+ shadow: string;
172
+ placement: string;
173
+ };
174
+ };
3
175
  declare const _default: import("vue").DefineComponent<{
4
176
  modelValue: {
5
- type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
177
+ type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
6
178
  default: string;
7
179
  };
8
180
  query: {
9
181
  type: StringConstructor;
10
- default: null;
182
+ default: any;
11
183
  };
12
184
  by: {
13
185
  type: StringConstructor;
14
- default: undefined;
186
+ default: any;
15
187
  };
16
188
  options: {
17
- type: PropType<string[] | {
189
+ type: PropType<{
18
190
  [key: string]: any;
19
- disabled?: boolean | undefined;
20
- }[]>;
21
- default: () => never[];
191
+ disabled?: boolean;
192
+ }[] | string[]>;
193
+ default: () => any[];
22
194
  };
23
195
  id: {
24
196
  type: StringConstructor;
25
- default: null;
197
+ default: any;
26
198
  };
27
199
  name: {
28
200
  type: StringConstructor;
29
- default: null;
201
+ default: any;
30
202
  };
31
203
  required: {
32
204
  type: BooleanConstructor;
@@ -34,19 +206,19 @@ declare const _default: import("vue").DefineComponent<{
34
206
  };
35
207
  icon: {
36
208
  type: StringConstructor;
37
- default: null;
209
+ default: any;
38
210
  };
39
211
  loadingIcon: {
40
212
  type: StringConstructor;
41
- default: () => any;
213
+ default: () => string;
42
214
  };
43
215
  leadingIcon: {
44
216
  type: StringConstructor;
45
- default: null;
217
+ default: any;
46
218
  };
47
219
  trailingIcon: {
48
220
  type: StringConstructor;
49
- default: () => any;
221
+ default: () => string;
50
222
  };
51
223
  trailing: {
52
224
  type: BooleanConstructor;
@@ -62,7 +234,7 @@ declare const _default: import("vue").DefineComponent<{
62
234
  };
63
235
  selectedIcon: {
64
236
  type: StringConstructor;
65
- default: () => any;
237
+ default: () => string;
66
238
  };
67
239
  disabled: {
68
240
  type: BooleanConstructor;
@@ -74,7 +246,7 @@ declare const _default: import("vue").DefineComponent<{
74
246
  };
75
247
  placeholder: {
76
248
  type: StringConstructor;
77
- default: null;
249
+ default: any;
78
250
  };
79
251
  padded: {
80
252
  type: BooleanConstructor;
@@ -82,17 +254,17 @@ declare const _default: import("vue").DefineComponent<{
82
254
  };
83
255
  size: {
84
256
  type: PropType<InputSize>;
85
- default: null;
257
+ default: any;
86
258
  validator(value: string): boolean;
87
259
  };
88
260
  color: {
89
- type: PropType<any>;
90
- default: () => any;
261
+ type: PropType<InputColor>;
262
+ default: () => string;
91
263
  validator(value: string): boolean;
92
264
  };
93
265
  variant: {
94
266
  type: PropType<InputVariant>;
95
- default: () => any;
267
+ default: () => string;
96
268
  validator(value: string): boolean;
97
269
  };
98
270
  optionAttribute: {
@@ -101,15 +273,15 @@ declare const _default: import("vue").DefineComponent<{
101
273
  };
102
274
  valueAttribute: {
103
275
  type: StringConstructor;
104
- default: null;
276
+ default: any;
105
277
  };
106
278
  search: {
107
- type: PropType<(query: string) => Promise<any[]> | any[]>;
108
- default: undefined;
279
+ type: PropType<((query: string) => Promise<any[]> | any[])>;
280
+ default: any;
109
281
  };
110
282
  searchAttributes: {
111
283
  type: ArrayConstructor;
112
- default: null;
284
+ default: any;
113
285
  };
114
286
  searchLazy: {
115
287
  type: BooleanConstructor;
@@ -125,72 +297,246 @@ declare const _default: import("vue").DefineComponent<{
125
297
  };
126
298
  inputClass: {
127
299
  type: StringConstructor;
128
- default: null;
300
+ default: any;
129
301
  };
130
302
  class: {
131
303
  type: PropType<any>;
132
304
  default: () => "";
133
305
  };
134
306
  ui: {
135
- type: PropType<any>;
307
+ type: PropType<Partial<typeof config> & {
308
+ strategy?: Strategy;
309
+ }>;
136
310
  default: () => {};
137
311
  };
138
312
  uiMenu: {
139
- type: PropType<any>;
313
+ type: PropType<Partial<typeof configMenu> & {
314
+ strategy?: Strategy;
315
+ }>;
140
316
  default: () => {};
141
317
  };
142
318
  }, {
143
- ui: import("vue").ComputedRef<any>;
144
- uiMenu: import("vue").ComputedRef<any>;
319
+ ui: import("vue").ComputedRef<{
320
+ wrapper: string;
321
+ base: string;
322
+ form: string;
323
+ rounded: string;
324
+ placeholder: string;
325
+ file: {
326
+ base: string;
327
+ };
328
+ size: {
329
+ '2xs': string;
330
+ xs: string;
331
+ sm: string;
332
+ md: string;
333
+ lg: string;
334
+ xl: string;
335
+ };
336
+ gap: {
337
+ '2xs': string;
338
+ xs: string;
339
+ sm: string;
340
+ md: string;
341
+ lg: string;
342
+ xl: string;
343
+ };
344
+ padding: {
345
+ '2xs': string;
346
+ xs: string;
347
+ sm: string;
348
+ md: string;
349
+ lg: string;
350
+ xl: string;
351
+ };
352
+ leading: {
353
+ padding: {
354
+ '2xs': string;
355
+ xs: string;
356
+ sm: string;
357
+ md: string;
358
+ lg: string;
359
+ xl: string;
360
+ };
361
+ };
362
+ trailing: {
363
+ padding: {
364
+ '2xs': string;
365
+ xs: string;
366
+ sm: string;
367
+ md: string;
368
+ lg: string;
369
+ xl: string;
370
+ };
371
+ };
372
+ color: {
373
+ white: {
374
+ outline: string;
375
+ };
376
+ gray: {
377
+ outline: string;
378
+ };
379
+ };
380
+ variant: {
381
+ outline: string;
382
+ none: string;
383
+ };
384
+ icon: {
385
+ base: string;
386
+ color: string;
387
+ loading: string;
388
+ size: {
389
+ '2xs': string;
390
+ xs: string;
391
+ sm: string;
392
+ md: string;
393
+ lg: string;
394
+ xl: string;
395
+ };
396
+ leading: {
397
+ wrapper: string;
398
+ pointer: string;
399
+ padding: {
400
+ '2xs': string;
401
+ xs: string;
402
+ sm: string;
403
+ md: string;
404
+ lg: string;
405
+ xl: string;
406
+ };
407
+ };
408
+ trailing: {
409
+ wrapper: string;
410
+ pointer: string;
411
+ padding: {
412
+ '2xs': string;
413
+ xs: string;
414
+ sm: string;
415
+ md: string;
416
+ lg: string;
417
+ xl: string;
418
+ };
419
+ };
420
+ };
421
+ default: {
422
+ size: string;
423
+ color: string;
424
+ variant: string;
425
+ loadingIcon: string;
426
+ };
427
+ }>;
428
+ uiMenu: import("vue").ComputedRef<{
429
+ container: string;
430
+ trigger: string;
431
+ width: string;
432
+ height: string;
433
+ base: string;
434
+ background: string;
435
+ shadow: string;
436
+ rounded: string;
437
+ padding: string;
438
+ ring: string;
439
+ empty: string;
440
+ option: {
441
+ base: string;
442
+ rounded: string;
443
+ padding: string;
444
+ size: string;
445
+ color: string;
446
+ container: string;
447
+ active: string;
448
+ inactive: string;
449
+ selected: string;
450
+ disabled: string;
451
+ empty: string;
452
+ icon: {
453
+ base: string;
454
+ active: string;
455
+ inactive: string;
456
+ };
457
+ selectedIcon: {
458
+ wrapper: string;
459
+ padding: string;
460
+ base: string;
461
+ };
462
+ avatar: {
463
+ base: string;
464
+ size: "2xs";
465
+ };
466
+ chip: {
467
+ base: string;
468
+ };
469
+ };
470
+ transition: {
471
+ leaveActiveClass: string;
472
+ leaveFromClass: string;
473
+ leaveToClass: string;
474
+ };
475
+ popper: {
476
+ placement: string;
477
+ };
478
+ default: {
479
+ selectedIcon: string;
480
+ trailingIcon: string;
481
+ };
482
+ arrow: {
483
+ ring: string;
484
+ background: string;
485
+ base: string;
486
+ rounded: string;
487
+ shadow: string;
488
+ placement: string;
489
+ };
490
+ }>;
145
491
  attrs: import("vue").ComputedRef<Pick<{
146
492
  [x: string]: unknown;
147
493
  }, string>>;
148
- name: import("vue").ComputedRef<string | undefined>;
149
- inputId: import("vue").ComputedRef<string | undefined>;
494
+ name: import("vue").ComputedRef<string>;
495
+ inputId: import("vue").ComputedRef<string>;
150
496
  popper: import("vue").ComputedRef<PopperOptions>;
151
497
  trigger: import("vue").Ref<import("@vueuse/core").MaybeElement>;
152
498
  container: import("vue").Ref<import("@vueuse/core").MaybeElement>;
153
499
  label: import("vue").ComputedRef<any>;
154
500
  isLeading: import("vue").ComputedRef<string | true>;
155
- isTrailing: import("vue").ComputedRef<string | true | undefined>;
501
+ isTrailing: import("vue").ComputedRef<string | true>;
156
502
  inputClass: import("vue").ComputedRef<string>;
157
- leadingIconName: import("vue").ComputedRef<string | undefined>;
503
+ leadingIconName: import("vue").ComputedRef<string>;
158
504
  leadingIconClass: import("vue").ComputedRef<string>;
159
505
  leadingWrapperIconClass: import("vue").ComputedRef<string>;
160
- trailingIconName: import("vue").ComputedRef<string | undefined>;
506
+ trailingIconName: import("vue").ComputedRef<string>;
161
507
  trailingIconClass: import("vue").ComputedRef<string>;
162
508
  trailingWrapperIconClass: import("vue").ComputedRef<string>;
163
- filteredOptions: import("vue").Ref<any[]>;
509
+ filteredOptions: import("vue").ComputedRef<any[]>;
164
510
  query: import("vue").WritableComputedRef<string>;
165
511
  onUpdate: (value: any) => void;
166
512
  onQueryChange: (event: any) => void;
167
- }, 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<{
513
+ }, 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<{
168
514
  modelValue: {
169
- type: (StringConstructor | ObjectConstructor | ArrayConstructor | NumberConstructor)[];
515
+ type: (StringConstructor | NumberConstructor | ObjectConstructor | ArrayConstructor)[];
170
516
  default: string;
171
517
  };
172
518
  query: {
173
519
  type: StringConstructor;
174
- default: null;
520
+ default: any;
175
521
  };
176
522
  by: {
177
523
  type: StringConstructor;
178
- default: undefined;
524
+ default: any;
179
525
  };
180
526
  options: {
181
- type: PropType<string[] | {
527
+ type: PropType<{
182
528
  [key: string]: any;
183
- disabled?: boolean | undefined;
184
- }[]>;
185
- default: () => never[];
529
+ disabled?: boolean;
530
+ }[] | string[]>;
531
+ default: () => any[];
186
532
  };
187
533
  id: {
188
534
  type: StringConstructor;
189
- default: null;
535
+ default: any;
190
536
  };
191
537
  name: {
192
538
  type: StringConstructor;
193
- default: null;
539
+ default: any;
194
540
  };
195
541
  required: {
196
542
  type: BooleanConstructor;
@@ -198,19 +544,19 @@ declare const _default: import("vue").DefineComponent<{
198
544
  };
199
545
  icon: {
200
546
  type: StringConstructor;
201
- default: null;
547
+ default: any;
202
548
  };
203
549
  loadingIcon: {
204
550
  type: StringConstructor;
205
- default: () => any;
551
+ default: () => string;
206
552
  };
207
553
  leadingIcon: {
208
554
  type: StringConstructor;
209
- default: null;
555
+ default: any;
210
556
  };
211
557
  trailingIcon: {
212
558
  type: StringConstructor;
213
- default: () => any;
559
+ default: () => string;
214
560
  };
215
561
  trailing: {
216
562
  type: BooleanConstructor;
@@ -226,7 +572,7 @@ declare const _default: import("vue").DefineComponent<{
226
572
  };
227
573
  selectedIcon: {
228
574
  type: StringConstructor;
229
- default: () => any;
575
+ default: () => string;
230
576
  };
231
577
  disabled: {
232
578
  type: BooleanConstructor;
@@ -238,7 +584,7 @@ declare const _default: import("vue").DefineComponent<{
238
584
  };
239
585
  placeholder: {
240
586
  type: StringConstructor;
241
- default: null;
587
+ default: any;
242
588
  };
243
589
  padded: {
244
590
  type: BooleanConstructor;
@@ -246,17 +592,17 @@ declare const _default: import("vue").DefineComponent<{
246
592
  };
247
593
  size: {
248
594
  type: PropType<InputSize>;
249
- default: null;
595
+ default: any;
250
596
  validator(value: string): boolean;
251
597
  };
252
598
  color: {
253
- type: PropType<any>;
254
- default: () => any;
599
+ type: PropType<InputColor>;
600
+ default: () => string;
255
601
  validator(value: string): boolean;
256
602
  };
257
603
  variant: {
258
604
  type: PropType<InputVariant>;
259
- default: () => any;
605
+ default: () => string;
260
606
  validator(value: string): boolean;
261
607
  };
262
608
  optionAttribute: {
@@ -265,15 +611,15 @@ declare const _default: import("vue").DefineComponent<{
265
611
  };
266
612
  valueAttribute: {
267
613
  type: StringConstructor;
268
- default: null;
614
+ default: any;
269
615
  };
270
616
  search: {
271
- type: PropType<(query: string) => Promise<any[]> | any[]>;
272
- default: undefined;
617
+ type: PropType<((query: string) => Promise<any[]> | any[])>;
618
+ default: any;
273
619
  };
274
620
  searchAttributes: {
275
621
  type: ArrayConstructor;
276
- default: null;
622
+ default: any;
277
623
  };
278
624
  searchLazy: {
279
625
  type: BooleanConstructor;
@@ -289,54 +635,58 @@ declare const _default: import("vue").DefineComponent<{
289
635
  };
290
636
  inputClass: {
291
637
  type: StringConstructor;
292
- default: null;
638
+ default: any;
293
639
  };
294
640
  class: {
295
641
  type: PropType<any>;
296
642
  default: () => "";
297
643
  };
298
644
  ui: {
299
- type: PropType<any>;
645
+ type: PropType<Partial<typeof config> & {
646
+ strategy?: Strategy;
647
+ }>;
300
648
  default: () => {};
301
649
  };
302
650
  uiMenu: {
303
- type: PropType<any>;
651
+ type: PropType<Partial<typeof configMenu> & {
652
+ strategy?: Strategy;
653
+ }>;
304
654
  default: () => {};
305
655
  };
306
656
  }>> & {
307
- onChange?: ((...args: any[]) => any) | undefined;
308
- "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
309
- onOpen?: ((...args: any[]) => any) | undefined;
310
- onClose?: ((...args: any[]) => any) | undefined;
311
- "onUpdate:query"?: ((...args: any[]) => any) | undefined;
657
+ onChange?: (...args: any[]) => any;
658
+ onClose?: (...args: any[]) => any;
659
+ "onUpdate:modelValue"?: (...args: any[]) => any;
660
+ onOpen?: (...args: any[]) => any;
661
+ "onUpdate:query"?: (...args: any[]) => any;
312
662
  }, {
313
- search: (query: string) => Promise<any[]> | any[];
314
- size: InputSize;
315
663
  name: string;
664
+ size: InputSize;
316
665
  required: boolean;
666
+ search: (query: string) => Promise<any[]> | any[];
317
667
  class: any;
668
+ disabled: boolean;
669
+ ui: {};
670
+ color: InputColor;
671
+ variant: InputVariant;
672
+ icon: string;
673
+ id: string;
318
674
  leading: boolean;
319
675
  popper: PopperOptions;
320
- color: any;
321
- variant: InputVariant;
322
- disabled: boolean;
323
- ui: any;
676
+ options: string[] | {
677
+ [key: string]: any;
678
+ disabled?: boolean;
679
+ }[];
680
+ modelValue: string | number | Record<string, any> | unknown[];
324
681
  loading: boolean;
325
682
  padded: boolean;
326
- icon: string;
327
683
  loadingIcon: string;
328
684
  leadingIcon: string;
329
685
  trailingIcon: string;
330
686
  trailing: boolean;
331
- id: string;
332
- modelValue: string | number | Record<string, any> | unknown[];
333
687
  inputClass: string;
334
688
  by: string;
335
689
  placeholder: string;
336
- options: string[] | {
337
- [key: string]: any;
338
- disabled?: boolean | undefined;
339
- }[];
340
690
  nullable: boolean;
341
691
  query: string;
342
692
  selectedIcon: string;
@@ -345,6 +695,6 @@ declare const _default: import("vue").DefineComponent<{
345
695
  searchAttributes: unknown[];
346
696
  searchLazy: boolean;
347
697
  debounce: number;
348
- uiMenu: any;
698
+ uiMenu: {};
349
699
  }, {}>;
350
700
  export default _default;