@bitrix24/b24ui-nuxt 0.5.8 → 0.5.10

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