@bitrix24/b24ui-nuxt 0.5.11 → 0.6.0

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 (199) hide show
  1. package/.nuxt/b24ui/input-menu.ts +2 -2
  2. package/.nuxt/b24ui/select-menu.ts +4 -4
  3. package/.nuxt/b24ui/select.ts +2 -2
  4. package/dist/meta.d.mts +5208 -5061
  5. package/dist/meta.mjs +5208 -5061
  6. package/dist/module.json +3 -3
  7. package/dist/module.mjs +2 -2
  8. package/dist/runtime/components/Advice.vue +27 -54
  9. package/dist/runtime/components/Advice.vue.d.ts +170 -0
  10. package/dist/runtime/components/Alert.vue +35 -96
  11. package/dist/runtime/components/Alert.vue.d.ts +464 -0
  12. package/dist/runtime/components/App.vue +24 -34
  13. package/dist/runtime/components/App.vue.d.ts +23 -0
  14. package/dist/runtime/components/Avatar.vue +43 -81
  15. package/dist/runtime/components/Avatar.vue.d.ts +281 -0
  16. package/dist/runtime/components/AvatarGroup.vue +40 -76
  17. package/dist/runtime/components/AvatarGroup.vue.d.ts +204 -0
  18. package/dist/runtime/components/Badge.vue +40 -83
  19. package/dist/runtime/components/Badge.vue.d.ts +517 -0
  20. package/dist/runtime/components/Button.vue +96 -155
  21. package/dist/runtime/components/Button.vue.d.ts +640 -0
  22. package/dist/runtime/components/ButtonGroup.vue +19 -51
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +116 -0
  24. package/dist/runtime/components/Calendar.vue +73 -152
  25. package/dist/runtime/components/Calendar.vue.d.ts +437 -0
  26. package/dist/runtime/components/Checkbox.vue +42 -73
  27. package/dist/runtime/components/Checkbox.vue.d.ts +354 -0
  28. package/dist/runtime/components/Chip.vue +26 -74
  29. package/dist/runtime/components/Chip.vue.d.ts +271 -0
  30. package/dist/runtime/components/Collapsible.vue +22 -41
  31. package/dist/runtime/components/Collapsible.vue.d.ts +118 -0
  32. package/dist/runtime/components/Container.vue +13 -27
  33. package/dist/runtime/components/Container.vue.d.ts +27 -0
  34. package/dist/runtime/components/Countdown.vue +153 -378
  35. package/dist/runtime/components/Countdown.vue.d.ts +356 -0
  36. package/dist/runtime/components/DescriptionList.vue +78 -149
  37. package/dist/runtime/components/DescriptionList.vue.d.ts +379 -0
  38. package/dist/runtime/components/DropdownMenu.vue +38 -139
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +533 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +68 -80
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +228 -0
  42. package/dist/runtime/components/Form.vue +130 -217
  43. package/dist/runtime/components/Form.vue.d.ts +55 -0
  44. package/dist/runtime/components/FormField.vue +36 -80
  45. package/dist/runtime/components/FormField.vue.d.ts +282 -0
  46. package/dist/runtime/components/Input.vue +79 -179
  47. package/dist/runtime/components/Input.vue.d.ts +755 -0
  48. package/dist/runtime/components/InputMenu.vue +185 -381
  49. package/dist/runtime/components/InputMenu.vue.d.ts +1523 -0
  50. package/dist/runtime/components/InputNumber.vue +77 -175
  51. package/dist/runtime/components/InputNumber.vue.d.ts +658 -0
  52. package/dist/runtime/components/Kbd.vue +18 -45
  53. package/dist/runtime/components/Kbd.vue.d.ts +109 -0
  54. package/dist/runtime/components/Link.vue +92 -173
  55. package/dist/runtime/components/Link.vue.d.ts +129 -0
  56. package/dist/runtime/components/LinkBase.vue +33 -42
  57. package/dist/runtime/components/LinkBase.vue.d.ts +48 -0
  58. package/dist/runtime/components/Modal.vue +48 -127
  59. package/dist/runtime/components/Modal.vue.d.ts +327 -0
  60. package/dist/runtime/components/ModalDialogClose.vue +5 -8
  61. package/dist/runtime/components/ModalDialogClose.vue.d.ts +10 -0
  62. package/dist/runtime/components/Navbar.vue +15 -33
  63. package/dist/runtime/components/Navbar.vue.d.ts +101 -0
  64. package/dist/runtime/components/NavbarDivider.vue +15 -33
  65. package/dist/runtime/components/NavbarDivider.vue.d.ts +101 -0
  66. package/dist/runtime/components/NavbarSection.vue +15 -33
  67. package/dist/runtime/components/NavbarSection.vue.d.ts +101 -0
  68. package/dist/runtime/components/NavbarSpacer.vue +15 -33
  69. package/dist/runtime/components/NavbarSpacer.vue.d.ts +101 -0
  70. package/dist/runtime/components/NavigationMenu.vue +74 -208
  71. package/dist/runtime/components/NavigationMenu.vue.d.ts +824 -0
  72. package/dist/runtime/components/OverlayProvider.vue +14 -18
  73. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  74. package/dist/runtime/components/Popover.vue +40 -81
  75. package/dist/runtime/components/Popover.vue.d.ts +147 -0
  76. package/dist/runtime/components/Progress.vue +70 -136
  77. package/dist/runtime/components/Progress.vue.d.ts +592 -0
  78. package/dist/runtime/components/RadioGroup.vue +59 -134
  79. package/dist/runtime/components/RadioGroup.vue.d.ts +723 -0
  80. package/dist/runtime/components/Range.vue +46 -85
  81. package/dist/runtime/components/Range.vue.d.ts +417 -0
  82. package/dist/runtime/components/Select.vue +110 -260
  83. package/dist/runtime/components/Select.vue.d.ts +1201 -0
  84. package/dist/runtime/components/SelectMenu.vue +161 -347
  85. package/dist/runtime/components/SelectMenu.vue.d.ts +1298 -0
  86. package/dist/runtime/components/Separator.vue +28 -71
  87. package/dist/runtime/components/Separator.vue.d.ts +400 -0
  88. package/dist/runtime/components/Sidebar.vue +15 -33
  89. package/dist/runtime/components/Sidebar.vue.d.ts +101 -0
  90. package/dist/runtime/components/SidebarBody.vue +17 -38
  91. package/dist/runtime/components/SidebarBody.vue.d.ts +90 -0
  92. package/dist/runtime/components/SidebarFooter.vue +15 -33
  93. package/dist/runtime/components/SidebarFooter.vue.d.ts +101 -0
  94. package/dist/runtime/components/SidebarHeader.vue +15 -33
  95. package/dist/runtime/components/SidebarHeader.vue.d.ts +101 -0
  96. package/dist/runtime/components/SidebarHeading.vue +15 -33
  97. package/dist/runtime/components/SidebarHeading.vue.d.ts +101 -0
  98. package/dist/runtime/components/SidebarLayout.vue +34 -70
  99. package/dist/runtime/components/SidebarLayout.vue.d.ts +222 -0
  100. package/dist/runtime/components/SidebarSection.vue +15 -33
  101. package/dist/runtime/components/SidebarSection.vue.d.ts +101 -0
  102. package/dist/runtime/components/SidebarSpacer.vue +15 -33
  103. package/dist/runtime/components/SidebarSpacer.vue.d.ts +101 -0
  104. package/dist/runtime/components/Skeleton.vue +12 -22
  105. package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
  106. package/dist/runtime/components/Slideover.vue +50 -131
  107. package/dist/runtime/components/Slideover.vue.d.ts +360 -0
  108. package/dist/runtime/components/StackedLayout.vue +34 -73
  109. package/dist/runtime/components/StackedLayout.vue.d.ts +192 -0
  110. package/dist/runtime/components/Switch.vue +46 -95
  111. package/dist/runtime/components/Switch.vue.d.ts +587 -0
  112. package/dist/runtime/components/Tabs.vue +37 -105
  113. package/dist/runtime/components/Tabs.vue.d.ts +453 -0
  114. package/dist/runtime/components/Textarea.vue +92 -201
  115. package/dist/runtime/components/Textarea.vue.d.ts +601 -0
  116. package/dist/runtime/components/Toast.vue +47 -105
  117. package/dist/runtime/components/Toast.vue.d.ts +438 -0
  118. package/dist/runtime/components/Toaster.vue +70 -115
  119. package/dist/runtime/components/Toaster.vue.d.ts +219 -0
  120. package/dist/runtime/components/Tooltip.vue +36 -64
  121. package/dist/runtime/components/Tooltip.vue.d.ts +186 -0
  122. package/dist/runtime/components/content/TableWrapper.vue +24 -70
  123. package/dist/runtime/components/content/TableWrapper.vue.d.ts +237 -0
  124. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  125. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  126. package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
  127. package/dist/runtime/composables/useFormField.d.ts +2 -2
  128. package/dist/runtime/composables/useOverlay.d.ts +14 -7
  129. package/dist/runtime/composables/useOverlay.js +14 -6
  130. package/dist/runtime/prose/A.vue +12 -23
  131. package/dist/runtime/prose/A.vue.d.ts +84 -0
  132. package/dist/runtime/prose/Blockquote.vue +12 -23
  133. package/dist/runtime/prose/Blockquote.vue.d.ts +84 -0
  134. package/dist/runtime/prose/Code.vue +14 -31
  135. package/dist/runtime/prose/Code.vue.d.ts +97 -0
  136. package/dist/runtime/prose/Em.vue +12 -23
  137. package/dist/runtime/prose/Em.vue.d.ts +84 -0
  138. package/dist/runtime/prose/H1.vue +12 -23
  139. package/dist/runtime/prose/H1.vue.d.ts +97 -0
  140. package/dist/runtime/prose/H2.vue +12 -23
  141. package/dist/runtime/prose/H2.vue.d.ts +123 -0
  142. package/dist/runtime/prose/H3.vue +12 -23
  143. package/dist/runtime/prose/H3.vue.d.ts +123 -0
  144. package/dist/runtime/prose/H4.vue +12 -23
  145. package/dist/runtime/prose/H4.vue.d.ts +123 -0
  146. package/dist/runtime/prose/H5.vue +12 -23
  147. package/dist/runtime/prose/H5.vue.d.ts +123 -0
  148. package/dist/runtime/prose/H6.vue +12 -23
  149. package/dist/runtime/prose/H6.vue.d.ts +123 -0
  150. package/dist/runtime/prose/Hr.vue +12 -19
  151. package/dist/runtime/prose/Hr.vue.d.ts +74 -0
  152. package/dist/runtime/prose/Img.vue +12 -23
  153. package/dist/runtime/prose/Img.vue.d.ts +77 -0
  154. package/dist/runtime/prose/Li.vue +12 -23
  155. package/dist/runtime/prose/Li.vue.d.ts +84 -0
  156. package/dist/runtime/prose/Ol.vue +12 -23
  157. package/dist/runtime/prose/Ol.vue.d.ts +84 -0
  158. package/dist/runtime/prose/P.vue +12 -23
  159. package/dist/runtime/prose/P.vue.d.ts +84 -0
  160. package/dist/runtime/prose/Pre.vue +16 -33
  161. package/dist/runtime/prose/Pre.vue.d.ts +117 -0
  162. package/dist/runtime/prose/Strong.vue +12 -23
  163. package/dist/runtime/prose/Strong.vue.d.ts +84 -0
  164. package/dist/runtime/prose/Table.vue +19 -54
  165. package/dist/runtime/prose/Table.vue.d.ts +144 -0
  166. package/dist/runtime/prose/Tbody.vue +12 -23
  167. package/dist/runtime/prose/Tbody.vue.d.ts +84 -0
  168. package/dist/runtime/prose/Td.vue +12 -23
  169. package/dist/runtime/prose/Td.vue.d.ts +84 -0
  170. package/dist/runtime/prose/Th.vue +12 -23
  171. package/dist/runtime/prose/Th.vue.d.ts +84 -0
  172. package/dist/runtime/prose/Thead.vue +12 -23
  173. package/dist/runtime/prose/Thead.vue.d.ts +84 -0
  174. package/dist/runtime/prose/Tr.vue +12 -23
  175. package/dist/runtime/prose/Tr.vue.d.ts +84 -0
  176. package/dist/runtime/prose/Ul.vue +12 -23
  177. package/dist/runtime/prose/Ul.vue.d.ts +84 -0
  178. package/dist/runtime/utils/link.d.ts +3 -3
  179. package/dist/runtime/vue/components/Link.vue +115 -202
  180. package/dist/runtime/vue/components/Link.vue.d.ts +129 -0
  181. package/dist/shared/{b24ui-nuxt.CS9Lf0os.mjs → b24ui-nuxt.BA6Y2FnC.mjs} +6 -6
  182. package/dist/types.d.mts +3 -5
  183. package/dist/unplugin.mjs +1 -1
  184. package/dist/vite.mjs +1 -1
  185. package/package.json +14 -22
  186. package/dist/meta.cjs +0 -72112
  187. package/dist/meta.d.cts +0 -72110
  188. package/dist/meta.d.ts +0 -72110
  189. package/dist/module.cjs +0 -63
  190. package/dist/module.d.cts +0 -15
  191. package/dist/module.d.ts +0 -15
  192. package/dist/shared/b24ui-nuxt.DrKwIWoc.cjs +0 -7721
  193. package/dist/types.d.ts +0 -7
  194. package/dist/unplugin.cjs +0 -236
  195. package/dist/unplugin.d.cts +0 -33
  196. package/dist/unplugin.d.ts +0 -33
  197. package/dist/vite.cjs +0 -21
  198. package/dist/vite.d.cts +0 -14
  199. package/dist/vite.d.ts +0 -14
@@ -0,0 +1,1523 @@
1
+ import type { InputHTMLAttributes } from 'vue';
2
+ import type { VariantProps } from 'tailwind-variants';
3
+ import type { ComboboxRootProps, ComboboxRootEmits, ComboboxContentProps, ComboboxContentEmits, ComboboxArrowProps } from 'reka-ui';
4
+ import type { UseComponentIconsProps } from '../composables/useComponentIcons';
5
+ import type { AvatarProps, ChipProps, IconComponent } from '../types';
6
+ import type { AcceptableValue, ArrayOrNested, GetItemKeys, GetModelValue, GetModelValueEmits, NestedItem, PartialString, EmitsToProps } from '../types/utils';
7
+ declare const inputMenu: import("tailwind-variants").TVReturnType<{
8
+ buttonGroup: {
9
+ horizontal: {
10
+ root: string;
11
+ base: string;
12
+ };
13
+ vertical: {
14
+ root: string;
15
+ base: string;
16
+ };
17
+ };
18
+ noSplit: {
19
+ false: string;
20
+ };
21
+ size: {
22
+ xs: {
23
+ base: string;
24
+ leading: string;
25
+ trailing: string;
26
+ leadingIcon: string;
27
+ leadingAvatarSize: string;
28
+ trailingIcon: string;
29
+ tagsItem: string;
30
+ tagsItemDeleteIcon: string;
31
+ label: string;
32
+ item: string;
33
+ itemLeadingIcon: string;
34
+ itemLeadingAvatarSize: string;
35
+ itemLeadingChip: string;
36
+ itemLeadingChipSize: string;
37
+ itemTrailingIcon: string;
38
+ };
39
+ sm: {
40
+ base: string;
41
+ leading: string;
42
+ trailing: string;
43
+ leadingIcon: string;
44
+ leadingAvatarSize: string;
45
+ trailingIcon: string;
46
+ tagsItem: string;
47
+ tagsItemDeleteIcon: string;
48
+ label: string;
49
+ item: string;
50
+ itemLeadingIcon: string;
51
+ itemLeadingAvatarSize: string;
52
+ itemLeadingChip: string;
53
+ itemLeadingChipSize: string;
54
+ itemTrailingIcon: string;
55
+ };
56
+ md: {
57
+ base: string;
58
+ leading: string;
59
+ trailing: string;
60
+ leadingIcon: string;
61
+ leadingAvatarSize: string;
62
+ trailingIcon: string;
63
+ tagsItem: string;
64
+ tagsItemDeleteIcon: string;
65
+ label: string;
66
+ item: string;
67
+ itemLeadingIcon: string;
68
+ itemLeadingAvatarSize: string;
69
+ itemLeadingChip: string;
70
+ itemLeadingChipSize: string;
71
+ itemTrailingIcon: string;
72
+ };
73
+ lg: {
74
+ base: string;
75
+ leading: string;
76
+ trailing: string;
77
+ leadingIcon: string;
78
+ leadingAvatarSize: string;
79
+ trailingIcon: string;
80
+ tagsItem: string;
81
+ tagsItemDeleteIcon: string;
82
+ label: string;
83
+ item: string;
84
+ itemLeadingIcon: string;
85
+ itemLeadingAvatarSize: string;
86
+ itemLeadingChip: string;
87
+ itemLeadingChipSize: string;
88
+ itemTrailingIcon: string;
89
+ };
90
+ };
91
+ color: {
92
+ default: string;
93
+ danger: string;
94
+ success: string;
95
+ warning: string;
96
+ primary: string;
97
+ secondary: string;
98
+ collab: string;
99
+ ai: string;
100
+ };
101
+ tagColor: {
102
+ default: {
103
+ tag: string;
104
+ };
105
+ danger: {
106
+ tag: string;
107
+ };
108
+ success: {
109
+ tag: string;
110
+ };
111
+ warning: {
112
+ tag: string;
113
+ };
114
+ primary: {
115
+ tag: string;
116
+ };
117
+ secondary: {
118
+ tag: string;
119
+ };
120
+ collab: {
121
+ tag: string;
122
+ };
123
+ ai: {
124
+ tag: string;
125
+ };
126
+ };
127
+ rounded: {
128
+ true: string;
129
+ false: string;
130
+ };
131
+ noPadding: {
132
+ true: {
133
+ base: string;
134
+ };
135
+ };
136
+ noBorder: {
137
+ true: string;
138
+ };
139
+ underline: {
140
+ true: string;
141
+ };
142
+ leading: {
143
+ true: string;
144
+ };
145
+ trailing: {
146
+ true: string;
147
+ };
148
+ loading: {
149
+ true: string;
150
+ };
151
+ highlight: {
152
+ true: string;
153
+ };
154
+ type: {
155
+ file: string;
156
+ };
157
+ addNew: {
158
+ true: {
159
+ group: string;
160
+ item: string;
161
+ itemLabel: string;
162
+ itemLeadingIcon: string;
163
+ };
164
+ };
165
+ multiple: {
166
+ true: {
167
+ root: string;
168
+ base: string;
169
+ tagsInput: string;
170
+ };
171
+ false: {
172
+ base: string;
173
+ };
174
+ };
175
+ colorItem: {
176
+ default: string;
177
+ danger: {
178
+ item: string;
179
+ itemLeadingIcon: string;
180
+ };
181
+ success: {
182
+ item: string;
183
+ itemLeadingIcon: string;
184
+ };
185
+ warning: {
186
+ item: string;
187
+ itemLeadingIcon: string;
188
+ };
189
+ primary: {
190
+ item: string;
191
+ itemLeadingIcon: string;
192
+ };
193
+ secondary: {
194
+ item: string;
195
+ itemLeadingIcon: string;
196
+ };
197
+ collab: {
198
+ item: string;
199
+ itemLeadingIcon: string;
200
+ };
201
+ ai: {
202
+ item: string;
203
+ itemLeadingIcon: string;
204
+ };
205
+ };
206
+ }, {
207
+ root: string;
208
+ base: string;
209
+ leading: string;
210
+ leadingIcon: string;
211
+ leadingAvatar: string;
212
+ leadingAvatarSize: string;
213
+ trailing: string;
214
+ trailingIcon: string;
215
+ tag: string;
216
+ arrow: string;
217
+ content: string;
218
+ viewport: string;
219
+ group: string;
220
+ empty: string;
221
+ label: string;
222
+ separator: string;
223
+ item: string;
224
+ itemLeadingIcon: string;
225
+ itemLeadingAvatar: string;
226
+ itemLeadingAvatarSize: string;
227
+ itemLeadingChip: string;
228
+ itemLeadingChipSize: string;
229
+ itemTrailing: string;
230
+ itemTrailingIcon: string;
231
+ itemLabel: string;
232
+ tagsItem: string;
233
+ tagsItemText: string;
234
+ tagsItemDelete: string;
235
+ tagsItemDeleteIcon: string;
236
+ tagsInput: string;
237
+ }, undefined, {
238
+ buttonGroup: {
239
+ horizontal: {
240
+ root: string;
241
+ base: string;
242
+ };
243
+ vertical: {
244
+ root: string;
245
+ base: string;
246
+ };
247
+ };
248
+ noSplit: {
249
+ false: string;
250
+ };
251
+ size: {
252
+ xs: {
253
+ base: string;
254
+ leading: string;
255
+ trailing: string;
256
+ leadingIcon: string;
257
+ leadingAvatarSize: string;
258
+ trailingIcon: string;
259
+ tagsItem: string;
260
+ tagsItemDeleteIcon: string;
261
+ label: string;
262
+ item: string;
263
+ itemLeadingIcon: string;
264
+ itemLeadingAvatarSize: string;
265
+ itemLeadingChip: string;
266
+ itemLeadingChipSize: string;
267
+ itemTrailingIcon: string;
268
+ };
269
+ sm: {
270
+ base: string;
271
+ leading: string;
272
+ trailing: string;
273
+ leadingIcon: string;
274
+ leadingAvatarSize: string;
275
+ trailingIcon: string;
276
+ tagsItem: string;
277
+ tagsItemDeleteIcon: string;
278
+ label: string;
279
+ item: string;
280
+ itemLeadingIcon: string;
281
+ itemLeadingAvatarSize: string;
282
+ itemLeadingChip: string;
283
+ itemLeadingChipSize: string;
284
+ itemTrailingIcon: string;
285
+ };
286
+ md: {
287
+ base: string;
288
+ leading: string;
289
+ trailing: string;
290
+ leadingIcon: string;
291
+ leadingAvatarSize: string;
292
+ trailingIcon: string;
293
+ tagsItem: string;
294
+ tagsItemDeleteIcon: string;
295
+ label: string;
296
+ item: string;
297
+ itemLeadingIcon: string;
298
+ itemLeadingAvatarSize: string;
299
+ itemLeadingChip: string;
300
+ itemLeadingChipSize: string;
301
+ itemTrailingIcon: string;
302
+ };
303
+ lg: {
304
+ base: string;
305
+ leading: string;
306
+ trailing: string;
307
+ leadingIcon: string;
308
+ leadingAvatarSize: string;
309
+ trailingIcon: string;
310
+ tagsItem: string;
311
+ tagsItemDeleteIcon: string;
312
+ label: string;
313
+ item: string;
314
+ itemLeadingIcon: string;
315
+ itemLeadingAvatarSize: string;
316
+ itemLeadingChip: string;
317
+ itemLeadingChipSize: string;
318
+ itemTrailingIcon: string;
319
+ };
320
+ };
321
+ color: {
322
+ default: string;
323
+ danger: string;
324
+ success: string;
325
+ warning: string;
326
+ primary: string;
327
+ secondary: string;
328
+ collab: string;
329
+ ai: string;
330
+ };
331
+ tagColor: {
332
+ default: {
333
+ tag: string;
334
+ };
335
+ danger: {
336
+ tag: string;
337
+ };
338
+ success: {
339
+ tag: string;
340
+ };
341
+ warning: {
342
+ tag: string;
343
+ };
344
+ primary: {
345
+ tag: string;
346
+ };
347
+ secondary: {
348
+ tag: string;
349
+ };
350
+ collab: {
351
+ tag: string;
352
+ };
353
+ ai: {
354
+ tag: string;
355
+ };
356
+ };
357
+ rounded: {
358
+ true: string;
359
+ false: string;
360
+ };
361
+ noPadding: {
362
+ true: {
363
+ base: string;
364
+ };
365
+ };
366
+ noBorder: {
367
+ true: string;
368
+ };
369
+ underline: {
370
+ true: string;
371
+ };
372
+ leading: {
373
+ true: string;
374
+ };
375
+ trailing: {
376
+ true: string;
377
+ };
378
+ loading: {
379
+ true: string;
380
+ };
381
+ highlight: {
382
+ true: string;
383
+ };
384
+ type: {
385
+ file: string;
386
+ };
387
+ addNew: {
388
+ true: {
389
+ group: string;
390
+ item: string;
391
+ itemLabel: string;
392
+ itemLeadingIcon: string;
393
+ };
394
+ };
395
+ multiple: {
396
+ true: {
397
+ root: string;
398
+ base: string;
399
+ tagsInput: string;
400
+ };
401
+ false: {
402
+ base: string;
403
+ };
404
+ };
405
+ colorItem: {
406
+ default: string;
407
+ danger: {
408
+ item: string;
409
+ itemLeadingIcon: string;
410
+ };
411
+ success: {
412
+ item: string;
413
+ itemLeadingIcon: string;
414
+ };
415
+ warning: {
416
+ item: string;
417
+ itemLeadingIcon: string;
418
+ };
419
+ primary: {
420
+ item: string;
421
+ itemLeadingIcon: string;
422
+ };
423
+ secondary: {
424
+ item: string;
425
+ itemLeadingIcon: string;
426
+ };
427
+ collab: {
428
+ item: string;
429
+ itemLeadingIcon: string;
430
+ };
431
+ ai: {
432
+ item: string;
433
+ itemLeadingIcon: string;
434
+ };
435
+ };
436
+ }, {
437
+ root: string;
438
+ base: string;
439
+ leading: string;
440
+ leadingIcon: string;
441
+ leadingAvatar: string;
442
+ leadingAvatarSize: string;
443
+ trailing: string;
444
+ trailingIcon: string;
445
+ tag: string;
446
+ arrow: string;
447
+ content: string;
448
+ viewport: string;
449
+ group: string;
450
+ empty: string;
451
+ label: string;
452
+ separator: string;
453
+ item: string;
454
+ itemLeadingIcon: string;
455
+ itemLeadingAvatar: string;
456
+ itemLeadingAvatarSize: string;
457
+ itemLeadingChip: string;
458
+ itemLeadingChipSize: string;
459
+ itemTrailing: string;
460
+ itemTrailingIcon: string;
461
+ itemLabel: string;
462
+ tagsItem: string;
463
+ tagsItemText: string;
464
+ tagsItemDelete: string;
465
+ tagsItemDeleteIcon: string;
466
+ tagsInput: string;
467
+ }, import("tailwind-variants").TVReturnType<{
468
+ buttonGroup: {
469
+ horizontal: {
470
+ root: string;
471
+ base: string;
472
+ };
473
+ vertical: {
474
+ root: string;
475
+ base: string;
476
+ };
477
+ };
478
+ noSplit: {
479
+ false: string;
480
+ };
481
+ size: {
482
+ xs: {
483
+ base: string;
484
+ leading: string;
485
+ trailing: string;
486
+ leadingIcon: string;
487
+ leadingAvatarSize: string;
488
+ trailingIcon: string;
489
+ tagsItem: string;
490
+ tagsItemDeleteIcon: string;
491
+ label: string;
492
+ item: string;
493
+ itemLeadingIcon: string;
494
+ itemLeadingAvatarSize: string;
495
+ itemLeadingChip: string;
496
+ itemLeadingChipSize: string;
497
+ itemTrailingIcon: string;
498
+ };
499
+ sm: {
500
+ base: string;
501
+ leading: string;
502
+ trailing: string;
503
+ leadingIcon: string;
504
+ leadingAvatarSize: string;
505
+ trailingIcon: string;
506
+ tagsItem: string;
507
+ tagsItemDeleteIcon: string;
508
+ label: string;
509
+ item: string;
510
+ itemLeadingIcon: string;
511
+ itemLeadingAvatarSize: string;
512
+ itemLeadingChip: string;
513
+ itemLeadingChipSize: string;
514
+ itemTrailingIcon: string;
515
+ };
516
+ md: {
517
+ base: string;
518
+ leading: string;
519
+ trailing: string;
520
+ leadingIcon: string;
521
+ leadingAvatarSize: string;
522
+ trailingIcon: string;
523
+ tagsItem: string;
524
+ tagsItemDeleteIcon: string;
525
+ label: string;
526
+ item: string;
527
+ itemLeadingIcon: string;
528
+ itemLeadingAvatarSize: string;
529
+ itemLeadingChip: string;
530
+ itemLeadingChipSize: string;
531
+ itemTrailingIcon: string;
532
+ };
533
+ lg: {
534
+ base: string;
535
+ leading: string;
536
+ trailing: string;
537
+ leadingIcon: string;
538
+ leadingAvatarSize: string;
539
+ trailingIcon: string;
540
+ tagsItem: string;
541
+ tagsItemDeleteIcon: string;
542
+ label: string;
543
+ item: string;
544
+ itemLeadingIcon: string;
545
+ itemLeadingAvatarSize: string;
546
+ itemLeadingChip: string;
547
+ itemLeadingChipSize: string;
548
+ itemTrailingIcon: string;
549
+ };
550
+ };
551
+ color: {
552
+ default: string;
553
+ danger: string;
554
+ success: string;
555
+ warning: string;
556
+ primary: string;
557
+ secondary: string;
558
+ collab: string;
559
+ ai: string;
560
+ };
561
+ tagColor: {
562
+ default: {
563
+ tag: string;
564
+ };
565
+ danger: {
566
+ tag: string;
567
+ };
568
+ success: {
569
+ tag: string;
570
+ };
571
+ warning: {
572
+ tag: string;
573
+ };
574
+ primary: {
575
+ tag: string;
576
+ };
577
+ secondary: {
578
+ tag: string;
579
+ };
580
+ collab: {
581
+ tag: string;
582
+ };
583
+ ai: {
584
+ tag: string;
585
+ };
586
+ };
587
+ rounded: {
588
+ true: string;
589
+ false: string;
590
+ };
591
+ noPadding: {
592
+ true: {
593
+ base: string;
594
+ };
595
+ };
596
+ noBorder: {
597
+ true: string;
598
+ };
599
+ underline: {
600
+ true: string;
601
+ };
602
+ leading: {
603
+ true: string;
604
+ };
605
+ trailing: {
606
+ true: string;
607
+ };
608
+ loading: {
609
+ true: string;
610
+ };
611
+ highlight: {
612
+ true: string;
613
+ };
614
+ type: {
615
+ file: string;
616
+ };
617
+ addNew: {
618
+ true: {
619
+ group: string;
620
+ item: string;
621
+ itemLabel: string;
622
+ itemLeadingIcon: string;
623
+ };
624
+ };
625
+ multiple: {
626
+ true: {
627
+ root: string;
628
+ base: string;
629
+ tagsInput: string;
630
+ };
631
+ false: {
632
+ base: string;
633
+ };
634
+ };
635
+ colorItem: {
636
+ default: string;
637
+ danger: {
638
+ item: string;
639
+ itemLeadingIcon: string;
640
+ };
641
+ success: {
642
+ item: string;
643
+ itemLeadingIcon: string;
644
+ };
645
+ warning: {
646
+ item: string;
647
+ itemLeadingIcon: string;
648
+ };
649
+ primary: {
650
+ item: string;
651
+ itemLeadingIcon: string;
652
+ };
653
+ secondary: {
654
+ item: string;
655
+ itemLeadingIcon: string;
656
+ };
657
+ collab: {
658
+ item: string;
659
+ itemLeadingIcon: string;
660
+ };
661
+ ai: {
662
+ item: string;
663
+ itemLeadingIcon: string;
664
+ };
665
+ };
666
+ }, {
667
+ root: string;
668
+ base: string;
669
+ leading: string;
670
+ leadingIcon: string;
671
+ leadingAvatar: string;
672
+ leadingAvatarSize: string;
673
+ trailing: string;
674
+ trailingIcon: string;
675
+ tag: string;
676
+ arrow: string;
677
+ content: string;
678
+ viewport: string;
679
+ group: string;
680
+ empty: string;
681
+ label: string;
682
+ separator: string;
683
+ item: string;
684
+ itemLeadingIcon: string;
685
+ itemLeadingAvatar: string;
686
+ itemLeadingAvatarSize: string;
687
+ itemLeadingChip: string;
688
+ itemLeadingChipSize: string;
689
+ itemTrailing: string;
690
+ itemTrailingIcon: string;
691
+ itemLabel: string;
692
+ tagsItem: string;
693
+ tagsItemText: string;
694
+ tagsItemDelete: string;
695
+ tagsItemDeleteIcon: string;
696
+ tagsInput: string;
697
+ }, undefined, {
698
+ buttonGroup: {
699
+ horizontal: {
700
+ root: string;
701
+ base: string;
702
+ };
703
+ vertical: {
704
+ root: string;
705
+ base: string;
706
+ };
707
+ };
708
+ noSplit: {
709
+ false: string;
710
+ };
711
+ size: {
712
+ xs: {
713
+ base: string;
714
+ leading: string;
715
+ trailing: string;
716
+ leadingIcon: string;
717
+ leadingAvatarSize: string;
718
+ trailingIcon: string;
719
+ tagsItem: string;
720
+ tagsItemDeleteIcon: string;
721
+ label: string;
722
+ item: string;
723
+ itemLeadingIcon: string;
724
+ itemLeadingAvatarSize: string;
725
+ itemLeadingChip: string;
726
+ itemLeadingChipSize: string;
727
+ itemTrailingIcon: string;
728
+ };
729
+ sm: {
730
+ base: string;
731
+ leading: string;
732
+ trailing: string;
733
+ leadingIcon: string;
734
+ leadingAvatarSize: string;
735
+ trailingIcon: string;
736
+ tagsItem: string;
737
+ tagsItemDeleteIcon: string;
738
+ label: string;
739
+ item: string;
740
+ itemLeadingIcon: string;
741
+ itemLeadingAvatarSize: string;
742
+ itemLeadingChip: string;
743
+ itemLeadingChipSize: string;
744
+ itemTrailingIcon: string;
745
+ };
746
+ md: {
747
+ base: string;
748
+ leading: string;
749
+ trailing: string;
750
+ leadingIcon: string;
751
+ leadingAvatarSize: string;
752
+ trailingIcon: string;
753
+ tagsItem: string;
754
+ tagsItemDeleteIcon: string;
755
+ label: string;
756
+ item: string;
757
+ itemLeadingIcon: string;
758
+ itemLeadingAvatarSize: string;
759
+ itemLeadingChip: string;
760
+ itemLeadingChipSize: string;
761
+ itemTrailingIcon: string;
762
+ };
763
+ lg: {
764
+ base: string;
765
+ leading: string;
766
+ trailing: string;
767
+ leadingIcon: string;
768
+ leadingAvatarSize: string;
769
+ trailingIcon: string;
770
+ tagsItem: string;
771
+ tagsItemDeleteIcon: string;
772
+ label: string;
773
+ item: string;
774
+ itemLeadingIcon: string;
775
+ itemLeadingAvatarSize: string;
776
+ itemLeadingChip: string;
777
+ itemLeadingChipSize: string;
778
+ itemTrailingIcon: string;
779
+ };
780
+ };
781
+ color: {
782
+ default: string;
783
+ danger: string;
784
+ success: string;
785
+ warning: string;
786
+ primary: string;
787
+ secondary: string;
788
+ collab: string;
789
+ ai: string;
790
+ };
791
+ tagColor: {
792
+ default: {
793
+ tag: string;
794
+ };
795
+ danger: {
796
+ tag: string;
797
+ };
798
+ success: {
799
+ tag: string;
800
+ };
801
+ warning: {
802
+ tag: string;
803
+ };
804
+ primary: {
805
+ tag: string;
806
+ };
807
+ secondary: {
808
+ tag: string;
809
+ };
810
+ collab: {
811
+ tag: string;
812
+ };
813
+ ai: {
814
+ tag: string;
815
+ };
816
+ };
817
+ rounded: {
818
+ true: string;
819
+ false: string;
820
+ };
821
+ noPadding: {
822
+ true: {
823
+ base: string;
824
+ };
825
+ };
826
+ noBorder: {
827
+ true: string;
828
+ };
829
+ underline: {
830
+ true: string;
831
+ };
832
+ leading: {
833
+ true: string;
834
+ };
835
+ trailing: {
836
+ true: string;
837
+ };
838
+ loading: {
839
+ true: string;
840
+ };
841
+ highlight: {
842
+ true: string;
843
+ };
844
+ type: {
845
+ file: string;
846
+ };
847
+ addNew: {
848
+ true: {
849
+ group: string;
850
+ item: string;
851
+ itemLabel: string;
852
+ itemLeadingIcon: string;
853
+ };
854
+ };
855
+ multiple: {
856
+ true: {
857
+ root: string;
858
+ base: string;
859
+ tagsInput: string;
860
+ };
861
+ false: {
862
+ base: string;
863
+ };
864
+ };
865
+ colorItem: {
866
+ default: string;
867
+ danger: {
868
+ item: string;
869
+ itemLeadingIcon: string;
870
+ };
871
+ success: {
872
+ item: string;
873
+ itemLeadingIcon: string;
874
+ };
875
+ warning: {
876
+ item: string;
877
+ itemLeadingIcon: string;
878
+ };
879
+ primary: {
880
+ item: string;
881
+ itemLeadingIcon: string;
882
+ };
883
+ secondary: {
884
+ item: string;
885
+ itemLeadingIcon: string;
886
+ };
887
+ collab: {
888
+ item: string;
889
+ itemLeadingIcon: string;
890
+ };
891
+ ai: {
892
+ item: string;
893
+ itemLeadingIcon: string;
894
+ };
895
+ };
896
+ }, {
897
+ root: string;
898
+ base: string;
899
+ leading: string;
900
+ leadingIcon: string;
901
+ leadingAvatar: string;
902
+ leadingAvatarSize: string;
903
+ trailing: string;
904
+ trailingIcon: string;
905
+ tag: string;
906
+ arrow: string;
907
+ content: string;
908
+ viewport: string;
909
+ group: string;
910
+ empty: string;
911
+ label: string;
912
+ separator: string;
913
+ item: string;
914
+ itemLeadingIcon: string;
915
+ itemLeadingAvatar: string;
916
+ itemLeadingAvatarSize: string;
917
+ itemLeadingChip: string;
918
+ itemLeadingChipSize: string;
919
+ itemTrailing: string;
920
+ itemTrailingIcon: string;
921
+ itemLabel: string;
922
+ tagsItem: string;
923
+ tagsItemText: string;
924
+ tagsItemDelete: string;
925
+ tagsItemDeleteIcon: string;
926
+ tagsInput: string;
927
+ }, import("tailwind-variants").TVReturnType<{
928
+ buttonGroup: {
929
+ horizontal: {
930
+ root: string;
931
+ base: string;
932
+ };
933
+ vertical: {
934
+ root: string;
935
+ base: string;
936
+ };
937
+ };
938
+ noSplit: {
939
+ false: string;
940
+ };
941
+ size: {
942
+ xs: {
943
+ base: string;
944
+ leading: string;
945
+ trailing: string;
946
+ leadingIcon: string;
947
+ leadingAvatarSize: string;
948
+ trailingIcon: string;
949
+ tagsItem: string;
950
+ tagsItemDeleteIcon: string;
951
+ label: string;
952
+ item: string;
953
+ itemLeadingIcon: string;
954
+ itemLeadingAvatarSize: string;
955
+ itemLeadingChip: string;
956
+ itemLeadingChipSize: string;
957
+ itemTrailingIcon: string;
958
+ };
959
+ sm: {
960
+ base: string;
961
+ leading: string;
962
+ trailing: string;
963
+ leadingIcon: string;
964
+ leadingAvatarSize: string;
965
+ trailingIcon: string;
966
+ tagsItem: string;
967
+ tagsItemDeleteIcon: string;
968
+ label: string;
969
+ item: string;
970
+ itemLeadingIcon: string;
971
+ itemLeadingAvatarSize: string;
972
+ itemLeadingChip: string;
973
+ itemLeadingChipSize: string;
974
+ itemTrailingIcon: string;
975
+ };
976
+ md: {
977
+ base: string;
978
+ leading: string;
979
+ trailing: string;
980
+ leadingIcon: string;
981
+ leadingAvatarSize: string;
982
+ trailingIcon: string;
983
+ tagsItem: string;
984
+ tagsItemDeleteIcon: string;
985
+ label: string;
986
+ item: string;
987
+ itemLeadingIcon: string;
988
+ itemLeadingAvatarSize: string;
989
+ itemLeadingChip: string;
990
+ itemLeadingChipSize: string;
991
+ itemTrailingIcon: string;
992
+ };
993
+ lg: {
994
+ base: string;
995
+ leading: string;
996
+ trailing: string;
997
+ leadingIcon: string;
998
+ leadingAvatarSize: string;
999
+ trailingIcon: string;
1000
+ tagsItem: string;
1001
+ tagsItemDeleteIcon: string;
1002
+ label: string;
1003
+ item: string;
1004
+ itemLeadingIcon: string;
1005
+ itemLeadingAvatarSize: string;
1006
+ itemLeadingChip: string;
1007
+ itemLeadingChipSize: string;
1008
+ itemTrailingIcon: string;
1009
+ };
1010
+ };
1011
+ color: {
1012
+ default: string;
1013
+ danger: string;
1014
+ success: string;
1015
+ warning: string;
1016
+ primary: string;
1017
+ secondary: string;
1018
+ collab: string;
1019
+ ai: string;
1020
+ };
1021
+ tagColor: {
1022
+ default: {
1023
+ tag: string;
1024
+ };
1025
+ danger: {
1026
+ tag: string;
1027
+ };
1028
+ success: {
1029
+ tag: string;
1030
+ };
1031
+ warning: {
1032
+ tag: string;
1033
+ };
1034
+ primary: {
1035
+ tag: string;
1036
+ };
1037
+ secondary: {
1038
+ tag: string;
1039
+ };
1040
+ collab: {
1041
+ tag: string;
1042
+ };
1043
+ ai: {
1044
+ tag: string;
1045
+ };
1046
+ };
1047
+ rounded: {
1048
+ true: string;
1049
+ false: string;
1050
+ };
1051
+ noPadding: {
1052
+ true: {
1053
+ base: string;
1054
+ };
1055
+ };
1056
+ noBorder: {
1057
+ true: string;
1058
+ };
1059
+ underline: {
1060
+ true: string;
1061
+ };
1062
+ leading: {
1063
+ true: string;
1064
+ };
1065
+ trailing: {
1066
+ true: string;
1067
+ };
1068
+ loading: {
1069
+ true: string;
1070
+ };
1071
+ highlight: {
1072
+ true: string;
1073
+ };
1074
+ type: {
1075
+ file: string;
1076
+ };
1077
+ addNew: {
1078
+ true: {
1079
+ group: string;
1080
+ item: string;
1081
+ itemLabel: string;
1082
+ itemLeadingIcon: string;
1083
+ };
1084
+ };
1085
+ multiple: {
1086
+ true: {
1087
+ root: string;
1088
+ base: string;
1089
+ tagsInput: string;
1090
+ };
1091
+ false: {
1092
+ base: string;
1093
+ };
1094
+ };
1095
+ colorItem: {
1096
+ default: string;
1097
+ danger: {
1098
+ item: string;
1099
+ itemLeadingIcon: string;
1100
+ };
1101
+ success: {
1102
+ item: string;
1103
+ itemLeadingIcon: string;
1104
+ };
1105
+ warning: {
1106
+ item: string;
1107
+ itemLeadingIcon: string;
1108
+ };
1109
+ primary: {
1110
+ item: string;
1111
+ itemLeadingIcon: string;
1112
+ };
1113
+ secondary: {
1114
+ item: string;
1115
+ itemLeadingIcon: string;
1116
+ };
1117
+ collab: {
1118
+ item: string;
1119
+ itemLeadingIcon: string;
1120
+ };
1121
+ ai: {
1122
+ item: string;
1123
+ itemLeadingIcon: string;
1124
+ };
1125
+ };
1126
+ }, {
1127
+ root: string;
1128
+ base: string;
1129
+ leading: string;
1130
+ leadingIcon: string;
1131
+ leadingAvatar: string;
1132
+ leadingAvatarSize: string;
1133
+ trailing: string;
1134
+ trailingIcon: string;
1135
+ tag: string;
1136
+ arrow: string;
1137
+ content: string;
1138
+ viewport: string;
1139
+ group: string;
1140
+ empty: string;
1141
+ label: string;
1142
+ separator: string;
1143
+ item: string;
1144
+ itemLeadingIcon: string;
1145
+ itemLeadingAvatar: string;
1146
+ itemLeadingAvatarSize: string;
1147
+ itemLeadingChip: string;
1148
+ itemLeadingChipSize: string;
1149
+ itemTrailing: string;
1150
+ itemTrailingIcon: string;
1151
+ itemLabel: string;
1152
+ tagsItem: string;
1153
+ tagsItemText: string;
1154
+ tagsItemDelete: string;
1155
+ tagsItemDeleteIcon: string;
1156
+ tagsInput: string;
1157
+ }, undefined, unknown, unknown, undefined>>>;
1158
+ type InputMenuVariants = VariantProps<typeof inputMenu>;
1159
+ interface _InputMenuItem {
1160
+ label?: string;
1161
+ /**
1162
+ * Display an icon on the left side.
1163
+ * @IconComponent
1164
+ */
1165
+ icon?: IconComponent;
1166
+ avatar?: AvatarProps;
1167
+ color?: InputMenuVariants['color'];
1168
+ chip?: ChipProps;
1169
+ /**
1170
+ * The item type.
1171
+ * @defaultValue 'item'
1172
+ */
1173
+ type?: 'label' | 'separator' | 'item';
1174
+ disabled?: boolean;
1175
+ onSelect?(e?: Event): void;
1176
+ [key: string]: any;
1177
+ }
1178
+ export type InputMenuItem = _InputMenuItem | AcceptableValue | boolean;
1179
+ export interface InputMenuProps<T extends ArrayOrNested<InputMenuItem> = ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false> extends Pick<ComboboxRootProps<T>, 'open' | 'defaultOpen' | 'disabled' | 'name' | 'resetSearchTermOnBlur' | 'resetSearchTermOnSelect' | 'highlightOnHover'>, UseComponentIconsProps {
1180
+ /**
1181
+ * The element or component this component should render as.
1182
+ * @defaultValue 'div'
1183
+ */
1184
+ as?: any;
1185
+ id?: string;
1186
+ /**
1187
+ * @defaultValue 'text'
1188
+ */
1189
+ type?: InputHTMLAttributes['type'];
1190
+ /**
1191
+ * The placeholder text when the input is empty
1192
+ */
1193
+ placeholder?: string;
1194
+ /**
1195
+ * @defaultValue 'primary'
1196
+ */
1197
+ color?: InputMenuVariants['color'];
1198
+ /**
1199
+ * @defaultValue 'md'
1200
+ */
1201
+ size?: InputMenuVariants['size'];
1202
+ /**
1203
+ * Removes padding from input
1204
+ * @defaultValue false
1205
+ */
1206
+ noPadding?: boolean;
1207
+ /**
1208
+ * Removes all borders (rings)
1209
+ * @defaultValue false
1210
+ */
1211
+ noBorder?: boolean;
1212
+ /**
1213
+ * Removes all borders (rings) except the bottom one
1214
+ * @defaultValue false
1215
+ */
1216
+ underline?: boolean;
1217
+ /**
1218
+ * Rounds the corners of the button
1219
+ * @defaultValue false
1220
+ */
1221
+ rounded?: boolean;
1222
+ /**
1223
+ * @defaultValue false
1224
+ */
1225
+ required?: boolean;
1226
+ /**
1227
+ * @defaultValue false
1228
+ */
1229
+ autofocus?: boolean;
1230
+ /**
1231
+ * @defaultValue 0
1232
+ */
1233
+ autofocusDelay?: number;
1234
+ /**
1235
+ * The icon displayed to open the menu.
1236
+ * @defaultValue icons.chevronDown
1237
+ * @IconComponent
1238
+ */
1239
+ trailingIcon?: IconComponent;
1240
+ /**
1241
+ * The icon displayed when an item is selected.
1242
+ * @defaultValue icons.check
1243
+ * @IconComponent
1244
+ */
1245
+ selectedIcon?: IconComponent;
1246
+ /**
1247
+ * The icon displayed to delete a tag.
1248
+ * Works only when `multiple` is `true`.
1249
+ * @defaultValue icons.close
1250
+ * @IconComponent
1251
+ */
1252
+ deleteIcon?: IconComponent;
1253
+ /**
1254
+ * The content of the menu.
1255
+ * @defaultValue { side: 'bottom', sideOffset: 8, collisionPadding: 8, position: 'popper' }
1256
+ */
1257
+ content?: Omit<ComboboxContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<ComboboxContentEmits>>;
1258
+ /**
1259
+ * Display an arrow alongside the menu.
1260
+ * @defaultValue false
1261
+ */
1262
+ arrow?: boolean | Omit<ComboboxArrowProps, 'as' | 'asChild'>;
1263
+ /**
1264
+ * Render the menu in a portal.
1265
+ * @defaultValue true
1266
+ */
1267
+ portal?: boolean;
1268
+ /**
1269
+ * When `items` is an array of objects, select the field to use as the value instead of the object itself.
1270
+ * @defaultValue undefined
1271
+ */
1272
+ valueKey?: VK;
1273
+ /**
1274
+ * When `items` is an array of objects, select the field to use as the label.
1275
+ * @defaultValue 'label'
1276
+ */
1277
+ labelKey?: keyof NestedItem<T>;
1278
+ items?: T;
1279
+ /**
1280
+ * The value of the InputMenu when initially rendered. Use when you do not need to control the state of the InputMenu
1281
+ */
1282
+ defaultValue?: GetModelValue<T, VK, M>;
1283
+ /**
1284
+ * The controlled value of the InputMenu. Can be binded-with with `v-model`
1285
+ */
1286
+ modelValue?: GetModelValue<T, VK, M>;
1287
+ /**
1288
+ * Whether multiple options can be selected or not
1289
+ * @defaultValue false
1290
+ */
1291
+ multiple?: M & boolean;
1292
+ tag?: string;
1293
+ /**
1294
+ * @defaultValue 'primary'
1295
+ */
1296
+ tagColor?: InputMenuVariants['tagColor'];
1297
+ /**
1298
+ * Highlight the ring color like a focus state
1299
+ * @defaultValue false
1300
+ */
1301
+ highlight?: boolean;
1302
+ /**
1303
+ * Determines if custom user input that does not exist in options can be added.
1304
+ * @defaultValue false
1305
+ */
1306
+ createItem?: boolean | 'always' | {
1307
+ position?: 'top' | 'bottom';
1308
+ when?: 'empty' | 'always';
1309
+ };
1310
+ /**
1311
+ * Fields to filter items by.
1312
+ * @defaultValue [labelKey]
1313
+ */
1314
+ filterFields?: string[];
1315
+ /**
1316
+ * When `true`, disable the default filters, useful for custom filtering (useAsyncData, useFetch, etc.).
1317
+ * @defaultValue false
1318
+ */
1319
+ ignoreFilter?: boolean;
1320
+ class?: any;
1321
+ b24ui?: PartialString<typeof inputMenu.slots>;
1322
+ }
1323
+ export type InputMenuEmits<A extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<A> | undefined, M extends boolean> = Pick<ComboboxRootEmits, 'update:open'> & {
1324
+ change: [payload: Event];
1325
+ blur: [payload: FocusEvent];
1326
+ focus: [payload: FocusEvent];
1327
+ create: [item: string];
1328
+ /** Event handler when highlighted element changes. */
1329
+ highlight: [
1330
+ payload: {
1331
+ ref: HTMLElement;
1332
+ value: GetModelValue<A, VK, M>;
1333
+ } | undefined
1334
+ ];
1335
+ } & GetModelValueEmits<A, VK, M>;
1336
+ type SlotProps<T extends InputMenuItem> = (props: {
1337
+ item: T;
1338
+ index: number;
1339
+ }) => any;
1340
+ export interface InputMenuSlots<A extends ArrayOrNested<InputMenuItem> = ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<A> | undefined = undefined, M extends boolean = false, T extends NestedItem<A> = NestedItem<A>> {
1341
+ 'leading'(props: {
1342
+ modelValue?: GetModelValue<A, VK, M>;
1343
+ open: boolean;
1344
+ b24ui: ReturnType<typeof inputMenu>;
1345
+ }): any;
1346
+ 'trailing'(props: {
1347
+ modelValue?: GetModelValue<A, VK, M>;
1348
+ open: boolean;
1349
+ b24ui: ReturnType<typeof inputMenu>;
1350
+ }): any;
1351
+ 'empty'(props: {
1352
+ searchTerm?: string;
1353
+ }): any;
1354
+ 'item': SlotProps<T>;
1355
+ 'item-leading': SlotProps<T>;
1356
+ 'item-label': SlotProps<T>;
1357
+ 'item-trailing': SlotProps<T>;
1358
+ 'tags-item-text': SlotProps<T>;
1359
+ 'tags-item-delete': SlotProps<T>;
1360
+ 'create-item-label'(props: {
1361
+ item: string;
1362
+ }): any;
1363
+ }
1364
+ declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
1365
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & ({
1366
+ searchTerm?: string;
1367
+ } & InputMenuProps<T, VK, M>) & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
1368
+ expose(exposed: import("vue").ShallowUnwrapRef<{
1369
+ inputRef: import("vue").Ref<({
1370
+ $: import("vue").ComponentInternalInstance;
1371
+ $data: {};
1372
+ $props: {
1373
+ readonly displayValue?: ((val: any) => string) | undefined;
1374
+ readonly modelValue?: string | undefined;
1375
+ readonly autoFocus?: boolean | undefined;
1376
+ readonly disabled?: boolean | undefined;
1377
+ readonly asChild?: boolean | undefined;
1378
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
1379
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
1380
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
1381
+ $attrs: {
1382
+ [x: string]: unknown;
1383
+ };
1384
+ $refs: {
1385
+ [x: string]: unknown;
1386
+ };
1387
+ $slots: Readonly<{
1388
+ [name: string]: import("vue").Slot<any> | undefined;
1389
+ }>;
1390
+ $root: import("vue").ComponentPublicInstance | null;
1391
+ $parent: import("vue").ComponentPublicInstance | null;
1392
+ $host: Element | null;
1393
+ $emit: (event: "update:modelValue", args_0: string) => void;
1394
+ $el: any;
1395
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
1396
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
1397
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1398
+ "update:modelValue": (args_0: string) => any;
1399
+ }, string, {
1400
+ as: import("reka-ui").AsTag | import("vue").Component;
1401
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
1402
+ beforeCreate?: (() => void) | (() => void)[];
1403
+ created?: (() => void) | (() => void)[];
1404
+ beforeMount?: (() => void) | (() => void)[];
1405
+ mounted?: (() => void) | (() => void)[];
1406
+ beforeUpdate?: (() => void) | (() => void)[];
1407
+ updated?: (() => void) | (() => void)[];
1408
+ activated?: (() => void) | (() => void)[];
1409
+ deactivated?: (() => void) | (() => void)[];
1410
+ beforeDestroy?: (() => void) | (() => void)[];
1411
+ beforeUnmount?: (() => void) | (() => void)[];
1412
+ destroyed?: (() => void) | (() => void)[];
1413
+ unmounted?: (() => void) | (() => void)[];
1414
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1415
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1416
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
1417
+ };
1418
+ $forceUpdate: () => void;
1419
+ $nextTick: typeof import("vue").nextTick;
1420
+ $watch<T_1 extends string | ((
1421
+ /**
1422
+ * The icon displayed to open the menu.
1423
+ * @defaultValue icons.chevronDown
1424
+ * @IconComponent
1425
+ */
1426
+ ... /**
1427
+ * The icon displayed to open the menu.
1428
+ * @defaultValue icons.chevronDown
1429
+ * @IconComponent
1430
+ */args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
1431
+ } & Readonly<{
1432
+ as: import("reka-ui").AsTag | import("vue").Component;
1433
+ }> & Omit<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
1434
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
1435
+ }>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
1436
+ $slots: {
1437
+ default?(_: {}): any;
1438
+ };
1439
+ }) | null, ({
1440
+ $: import("vue").ComponentInternalInstance;
1441
+ $data: {};
1442
+ $props: {
1443
+ readonly displayValue?: ((val: any) => string) | undefined;
1444
+ readonly modelValue?: string | undefined;
1445
+ readonly autoFocus?: boolean | undefined;
1446
+ readonly disabled?: boolean | undefined;
1447
+ readonly asChild?: boolean | undefined;
1448
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
1449
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined | undefined;
1450
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
1451
+ $attrs: {
1452
+ [x: string]: unknown;
1453
+ };
1454
+ $refs: {
1455
+ [x: string]: unknown;
1456
+ };
1457
+ $slots: Readonly<{
1458
+ [name: string]: import("vue").Slot<any> | undefined;
1459
+ }>;
1460
+ $root: import("vue").ComponentPublicInstance | null;
1461
+ $parent: import("vue").ComponentPublicInstance | null;
1462
+ $host: Element | null;
1463
+ $emit: (event: "update:modelValue", args_0: string) => void;
1464
+ $el: any;
1465
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
1466
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
1467
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1468
+ "update:modelValue": (args_0: string) => any;
1469
+ }, string, {
1470
+ as: import("reka-ui").AsTag | import("vue").Component;
1471
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
1472
+ beforeCreate?: (() => void) | (() => void)[];
1473
+ created?: (() => void) | (() => void)[];
1474
+ beforeMount?: (() => void) | (() => void)[];
1475
+ mounted?: (() => void) | (() => void)[];
1476
+ beforeUpdate?: (() => void) | (() => void)[];
1477
+ updated?: (() => void) | (() => void)[];
1478
+ activated?: (() => void) | (() => void)[];
1479
+ deactivated?: (() => void) | (() => void)[];
1480
+ beforeDestroy?: (() => void) | (() => void)[];
1481
+ beforeUnmount?: (() => void) | (() => void)[];
1482
+ destroyed?: (() => void) | (() => void)[];
1483
+ unmounted?: (() => void) | (() => void)[];
1484
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1485
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
1486
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
1487
+ };
1488
+ $forceUpdate: () => void;
1489
+ $nextTick: typeof import("vue").nextTick;
1490
+ $watch<T_1 extends string | ((
1491
+ /**
1492
+ * The icon displayed to open the menu.
1493
+ * @defaultValue icons.chevronDown
1494
+ * @IconComponent
1495
+ */
1496
+ ... /**
1497
+ * The icon displayed to open the menu.
1498
+ * @defaultValue icons.chevronDown
1499
+ * @IconComponent
1500
+ */args: any) => any)>(source: T_1, cb: T_1 extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
1501
+ } & Readonly<{
1502
+ as: import("reka-ui").AsTag | import("vue").Component;
1503
+ }> & Omit<Readonly<import("reka-ui").ComboboxInputProps> & Readonly<{
1504
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
1505
+ }>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
1506
+ $slots: {
1507
+ default?(_: {}): any;
1508
+ };
1509
+ }) | null>;
1510
+ }>): void;
1511
+ attrs: any;
1512
+ slots: Readonly<InputMenuSlots<T, VK, M, NestedItem<T>>> & InputMenuSlots<T, VK, M, NestedItem<T>>;
1513
+ emit: (((evt: "create", item: string) => void) & ((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
1514
+ ref: HTMLElement;
1515
+ value: GetModelValue<T, VK, M>;
1516
+ } | undefined) => void)) & ((evt: "update:searchTerm", value: string) => void);
1517
+ }>) => import("vue").VNode & {
1518
+ __ctx?: Awaited<typeof __VLS_setup>;
1519
+ };
1520
+ export default _default;
1521
+ type __VLS_PrettifyLocal<T> = {
1522
+ [K in keyof T]: T[K];
1523
+ } & {};