@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,1298 @@
1
+ import type { VariantProps } from 'tailwind-variants';
2
+ import type { ComboboxRootProps, ComboboxRootEmits, ComboboxContentProps, ComboboxContentEmits, ComboboxArrowProps } from 'reka-ui';
3
+ import type { UseComponentIconsProps } from '../composables/useComponentIcons';
4
+ import type { AvatarProps, ChipProps, InputProps, IconComponent } from '../types';
5
+ import type { AcceptableValue, ArrayOrNested, GetItemKeys, GetModelValue, GetModelValueEmits, NestedItem, PartialString, EmitsToProps } from '../types/utils';
6
+ declare const selectMenu: import("tailwind-variants").TVReturnType<{
7
+ buttonGroup: {
8
+ horizontal: {
9
+ root: string;
10
+ base: string;
11
+ };
12
+ vertical: {
13
+ root: string;
14
+ base: string;
15
+ };
16
+ };
17
+ noSplit: {
18
+ false: string;
19
+ };
20
+ size: {
21
+ xs: {
22
+ base: string;
23
+ leading: string;
24
+ trailing: string;
25
+ leadingIcon: string;
26
+ leadingAvatarSize: string;
27
+ trailingIcon: string;
28
+ label: string;
29
+ item: string;
30
+ itemLeadingIcon: string;
31
+ itemLeadingAvatarSize: string;
32
+ itemLeadingChip: string;
33
+ itemLeadingChipSize: string;
34
+ itemTrailingIcon: string;
35
+ scrollUpDownButtonIcon: string;
36
+ };
37
+ sm: {
38
+ base: string;
39
+ leading: string;
40
+ trailing: string;
41
+ leadingIcon: string;
42
+ leadingAvatarSize: string;
43
+ trailingIcon: string;
44
+ label: string;
45
+ item: string;
46
+ itemLeadingIcon: string;
47
+ itemLeadingAvatarSize: string;
48
+ itemLeadingChip: string;
49
+ itemLeadingChipSize: string;
50
+ itemTrailingIcon: string;
51
+ scrollUpDownButtonIcon: string;
52
+ };
53
+ md: {
54
+ base: string;
55
+ leading: string;
56
+ trailing: string;
57
+ leadingIcon: string;
58
+ leadingAvatarSize: string;
59
+ trailingIcon: string;
60
+ label: string;
61
+ item: string;
62
+ itemLeadingIcon: string;
63
+ itemLeadingAvatarSize: string;
64
+ itemLeadingChip: string;
65
+ itemLeadingChipSize: string;
66
+ itemTrailingIcon: string;
67
+ scrollUpDownButtonIcon: string;
68
+ };
69
+ lg: {
70
+ base: string;
71
+ leading: string;
72
+ trailing: string;
73
+ leadingIcon: string;
74
+ leadingAvatarSize: string;
75
+ trailingIcon: string;
76
+ label: string;
77
+ item: string;
78
+ itemLeadingIcon: string;
79
+ itemLeadingAvatarSize: string;
80
+ itemLeadingChip: string;
81
+ itemLeadingChipSize: string;
82
+ itemTrailingIcon: string;
83
+ scrollUpDownButtonIcon: string;
84
+ };
85
+ };
86
+ color: {
87
+ default: string;
88
+ danger: string;
89
+ success: string;
90
+ warning: string;
91
+ primary: string;
92
+ secondary: string;
93
+ collab: string;
94
+ ai: string;
95
+ };
96
+ tagColor: {
97
+ default: {
98
+ tag: string;
99
+ };
100
+ danger: {
101
+ tag: string;
102
+ };
103
+ success: {
104
+ tag: string;
105
+ };
106
+ warning: {
107
+ tag: string;
108
+ };
109
+ primary: {
110
+ tag: string;
111
+ };
112
+ secondary: {
113
+ tag: string;
114
+ };
115
+ collab: {
116
+ tag: string;
117
+ };
118
+ ai: {
119
+ tag: string;
120
+ };
121
+ };
122
+ rounded: {
123
+ true: string;
124
+ false: string;
125
+ };
126
+ noPadding: {
127
+ true: {
128
+ base: string;
129
+ };
130
+ };
131
+ noBorder: {
132
+ true: string;
133
+ };
134
+ underline: {
135
+ true: string;
136
+ };
137
+ leading: {
138
+ true: string;
139
+ };
140
+ trailing: {
141
+ true: string;
142
+ };
143
+ loading: {
144
+ true: string;
145
+ };
146
+ highlight: {
147
+ true: string;
148
+ };
149
+ type: {
150
+ file: string;
151
+ };
152
+ colorItem: {
153
+ default: string;
154
+ danger: {
155
+ item: string;
156
+ itemLeadingIcon: string;
157
+ };
158
+ success: {
159
+ item: string;
160
+ itemLeadingIcon: string;
161
+ };
162
+ warning: {
163
+ item: string;
164
+ itemLeadingIcon: string;
165
+ };
166
+ primary: {
167
+ item: string;
168
+ itemLeadingIcon: string;
169
+ };
170
+ secondary: {
171
+ item: string;
172
+ itemLeadingIcon: string;
173
+ };
174
+ collab: {
175
+ item: string;
176
+ itemLeadingIcon: string;
177
+ };
178
+ ai: {
179
+ item: string;
180
+ itemLeadingIcon: string;
181
+ };
182
+ };
183
+ addNew: {
184
+ true: {
185
+ group: string;
186
+ item: string;
187
+ itemLabel: string;
188
+ itemLeadingIcon: string;
189
+ };
190
+ };
191
+ }, {
192
+ root: string;
193
+ base: string;
194
+ leading: string;
195
+ leadingIcon: string;
196
+ leadingAvatar: string;
197
+ leadingAvatarSize: string;
198
+ trailing: string;
199
+ trailingIcon: string;
200
+ tag: string;
201
+ value: string;
202
+ placeholder: string;
203
+ arrow: string;
204
+ content: string;
205
+ scrollUpDownButton: string;
206
+ scrollUpDownButtonIcon: string;
207
+ viewport: string;
208
+ group: string;
209
+ empty: string;
210
+ label: string;
211
+ separator: string;
212
+ item: string;
213
+ itemLeadingIcon: string;
214
+ itemLeadingAvatar: string;
215
+ itemLeadingAvatarSize: string;
216
+ itemLeadingChip: string;
217
+ itemLeadingChipSize: string;
218
+ itemTrailing: string;
219
+ itemTrailingIcon: string;
220
+ itemLabel: string;
221
+ input: string;
222
+ focusScope: string;
223
+ }, undefined, {
224
+ buttonGroup: {
225
+ horizontal: {
226
+ root: string;
227
+ base: string;
228
+ };
229
+ vertical: {
230
+ root: string;
231
+ base: string;
232
+ };
233
+ };
234
+ noSplit: {
235
+ false: string;
236
+ };
237
+ size: {
238
+ xs: {
239
+ base: string;
240
+ leading: string;
241
+ trailing: string;
242
+ leadingIcon: string;
243
+ leadingAvatarSize: string;
244
+ trailingIcon: string;
245
+ label: string;
246
+ item: string;
247
+ itemLeadingIcon: string;
248
+ itemLeadingAvatarSize: string;
249
+ itemLeadingChip: string;
250
+ itemLeadingChipSize: string;
251
+ itemTrailingIcon: string;
252
+ scrollUpDownButtonIcon: string;
253
+ };
254
+ sm: {
255
+ base: string;
256
+ leading: string;
257
+ trailing: string;
258
+ leadingIcon: string;
259
+ leadingAvatarSize: string;
260
+ trailingIcon: string;
261
+ label: string;
262
+ item: string;
263
+ itemLeadingIcon: string;
264
+ itemLeadingAvatarSize: string;
265
+ itemLeadingChip: string;
266
+ itemLeadingChipSize: string;
267
+ itemTrailingIcon: string;
268
+ scrollUpDownButtonIcon: string;
269
+ };
270
+ md: {
271
+ base: string;
272
+ leading: string;
273
+ trailing: string;
274
+ leadingIcon: string;
275
+ leadingAvatarSize: string;
276
+ trailingIcon: string;
277
+ label: string;
278
+ item: string;
279
+ itemLeadingIcon: string;
280
+ itemLeadingAvatarSize: string;
281
+ itemLeadingChip: string;
282
+ itemLeadingChipSize: string;
283
+ itemTrailingIcon: string;
284
+ scrollUpDownButtonIcon: string;
285
+ };
286
+ lg: {
287
+ base: string;
288
+ leading: string;
289
+ trailing: string;
290
+ leadingIcon: string;
291
+ leadingAvatarSize: string;
292
+ trailingIcon: string;
293
+ label: string;
294
+ item: string;
295
+ itemLeadingIcon: string;
296
+ itemLeadingAvatarSize: string;
297
+ itemLeadingChip: string;
298
+ itemLeadingChipSize: string;
299
+ itemTrailingIcon: string;
300
+ scrollUpDownButtonIcon: string;
301
+ };
302
+ };
303
+ color: {
304
+ default: string;
305
+ danger: string;
306
+ success: string;
307
+ warning: string;
308
+ primary: string;
309
+ secondary: string;
310
+ collab: string;
311
+ ai: string;
312
+ };
313
+ tagColor: {
314
+ default: {
315
+ tag: string;
316
+ };
317
+ danger: {
318
+ tag: string;
319
+ };
320
+ success: {
321
+ tag: string;
322
+ };
323
+ warning: {
324
+ tag: string;
325
+ };
326
+ primary: {
327
+ tag: string;
328
+ };
329
+ secondary: {
330
+ tag: string;
331
+ };
332
+ collab: {
333
+ tag: string;
334
+ };
335
+ ai: {
336
+ tag: string;
337
+ };
338
+ };
339
+ rounded: {
340
+ true: string;
341
+ false: string;
342
+ };
343
+ noPadding: {
344
+ true: {
345
+ base: string;
346
+ };
347
+ };
348
+ noBorder: {
349
+ true: string;
350
+ };
351
+ underline: {
352
+ true: string;
353
+ };
354
+ leading: {
355
+ true: string;
356
+ };
357
+ trailing: {
358
+ true: string;
359
+ };
360
+ loading: {
361
+ true: string;
362
+ };
363
+ highlight: {
364
+ true: string;
365
+ };
366
+ type: {
367
+ file: string;
368
+ };
369
+ colorItem: {
370
+ default: string;
371
+ danger: {
372
+ item: string;
373
+ itemLeadingIcon: string;
374
+ };
375
+ success: {
376
+ item: string;
377
+ itemLeadingIcon: string;
378
+ };
379
+ warning: {
380
+ item: string;
381
+ itemLeadingIcon: string;
382
+ };
383
+ primary: {
384
+ item: string;
385
+ itemLeadingIcon: string;
386
+ };
387
+ secondary: {
388
+ item: string;
389
+ itemLeadingIcon: string;
390
+ };
391
+ collab: {
392
+ item: string;
393
+ itemLeadingIcon: string;
394
+ };
395
+ ai: {
396
+ item: string;
397
+ itemLeadingIcon: string;
398
+ };
399
+ };
400
+ addNew: {
401
+ true: {
402
+ group: string;
403
+ item: string;
404
+ itemLabel: string;
405
+ itemLeadingIcon: string;
406
+ };
407
+ };
408
+ }, {
409
+ root: string;
410
+ base: string;
411
+ leading: string;
412
+ leadingIcon: string;
413
+ leadingAvatar: string;
414
+ leadingAvatarSize: string;
415
+ trailing: string;
416
+ trailingIcon: string;
417
+ tag: string;
418
+ value: string;
419
+ placeholder: string;
420
+ arrow: string;
421
+ content: string;
422
+ scrollUpDownButton: string;
423
+ scrollUpDownButtonIcon: string;
424
+ viewport: string;
425
+ group: string;
426
+ empty: string;
427
+ label: string;
428
+ separator: string;
429
+ item: string;
430
+ itemLeadingIcon: string;
431
+ itemLeadingAvatar: string;
432
+ itemLeadingAvatarSize: string;
433
+ itemLeadingChip: string;
434
+ itemLeadingChipSize: string;
435
+ itemTrailing: string;
436
+ itemTrailingIcon: string;
437
+ itemLabel: string;
438
+ input: string;
439
+ focusScope: string;
440
+ }, import("tailwind-variants").TVReturnType<{
441
+ buttonGroup: {
442
+ horizontal: {
443
+ root: string;
444
+ base: string;
445
+ };
446
+ vertical: {
447
+ root: string;
448
+ base: string;
449
+ };
450
+ };
451
+ noSplit: {
452
+ false: string;
453
+ };
454
+ size: {
455
+ xs: {
456
+ base: string;
457
+ leading: string;
458
+ trailing: string;
459
+ leadingIcon: string;
460
+ leadingAvatarSize: string;
461
+ trailingIcon: string;
462
+ label: string;
463
+ item: string;
464
+ itemLeadingIcon: string;
465
+ itemLeadingAvatarSize: string;
466
+ itemLeadingChip: string;
467
+ itemLeadingChipSize: string;
468
+ itemTrailingIcon: string;
469
+ scrollUpDownButtonIcon: string;
470
+ };
471
+ sm: {
472
+ base: string;
473
+ leading: string;
474
+ trailing: string;
475
+ leadingIcon: string;
476
+ leadingAvatarSize: string;
477
+ trailingIcon: string;
478
+ label: string;
479
+ item: string;
480
+ itemLeadingIcon: string;
481
+ itemLeadingAvatarSize: string;
482
+ itemLeadingChip: string;
483
+ itemLeadingChipSize: string;
484
+ itemTrailingIcon: string;
485
+ scrollUpDownButtonIcon: string;
486
+ };
487
+ md: {
488
+ base: string;
489
+ leading: string;
490
+ trailing: string;
491
+ leadingIcon: string;
492
+ leadingAvatarSize: string;
493
+ trailingIcon: string;
494
+ label: string;
495
+ item: string;
496
+ itemLeadingIcon: string;
497
+ itemLeadingAvatarSize: string;
498
+ itemLeadingChip: string;
499
+ itemLeadingChipSize: string;
500
+ itemTrailingIcon: string;
501
+ scrollUpDownButtonIcon: string;
502
+ };
503
+ lg: {
504
+ base: string;
505
+ leading: string;
506
+ trailing: string;
507
+ leadingIcon: string;
508
+ leadingAvatarSize: string;
509
+ trailingIcon: string;
510
+ label: string;
511
+ item: string;
512
+ itemLeadingIcon: string;
513
+ itemLeadingAvatarSize: string;
514
+ itemLeadingChip: string;
515
+ itemLeadingChipSize: string;
516
+ itemTrailingIcon: string;
517
+ scrollUpDownButtonIcon: string;
518
+ };
519
+ };
520
+ color: {
521
+ default: string;
522
+ danger: string;
523
+ success: string;
524
+ warning: string;
525
+ primary: string;
526
+ secondary: string;
527
+ collab: string;
528
+ ai: string;
529
+ };
530
+ tagColor: {
531
+ default: {
532
+ tag: string;
533
+ };
534
+ danger: {
535
+ tag: string;
536
+ };
537
+ success: {
538
+ tag: string;
539
+ };
540
+ warning: {
541
+ tag: string;
542
+ };
543
+ primary: {
544
+ tag: string;
545
+ };
546
+ secondary: {
547
+ tag: string;
548
+ };
549
+ collab: {
550
+ tag: string;
551
+ };
552
+ ai: {
553
+ tag: string;
554
+ };
555
+ };
556
+ rounded: {
557
+ true: string;
558
+ false: string;
559
+ };
560
+ noPadding: {
561
+ true: {
562
+ base: string;
563
+ };
564
+ };
565
+ noBorder: {
566
+ true: string;
567
+ };
568
+ underline: {
569
+ true: string;
570
+ };
571
+ leading: {
572
+ true: string;
573
+ };
574
+ trailing: {
575
+ true: string;
576
+ };
577
+ loading: {
578
+ true: string;
579
+ };
580
+ highlight: {
581
+ true: string;
582
+ };
583
+ type: {
584
+ file: string;
585
+ };
586
+ colorItem: {
587
+ default: string;
588
+ danger: {
589
+ item: string;
590
+ itemLeadingIcon: string;
591
+ };
592
+ success: {
593
+ item: string;
594
+ itemLeadingIcon: string;
595
+ };
596
+ warning: {
597
+ item: string;
598
+ itemLeadingIcon: string;
599
+ };
600
+ primary: {
601
+ item: string;
602
+ itemLeadingIcon: string;
603
+ };
604
+ secondary: {
605
+ item: string;
606
+ itemLeadingIcon: string;
607
+ };
608
+ collab: {
609
+ item: string;
610
+ itemLeadingIcon: string;
611
+ };
612
+ ai: {
613
+ item: string;
614
+ itemLeadingIcon: string;
615
+ };
616
+ };
617
+ addNew: {
618
+ true: {
619
+ group: string;
620
+ item: string;
621
+ itemLabel: string;
622
+ itemLeadingIcon: string;
623
+ };
624
+ };
625
+ }, {
626
+ root: string;
627
+ base: string;
628
+ leading: string;
629
+ leadingIcon: string;
630
+ leadingAvatar: string;
631
+ leadingAvatarSize: string;
632
+ trailing: string;
633
+ trailingIcon: string;
634
+ tag: string;
635
+ value: string;
636
+ placeholder: string;
637
+ arrow: string;
638
+ content: string;
639
+ scrollUpDownButton: string;
640
+ scrollUpDownButtonIcon: string;
641
+ viewport: string;
642
+ group: string;
643
+ empty: string;
644
+ label: string;
645
+ separator: string;
646
+ item: string;
647
+ itemLeadingIcon: string;
648
+ itemLeadingAvatar: string;
649
+ itemLeadingAvatarSize: string;
650
+ itemLeadingChip: string;
651
+ itemLeadingChipSize: string;
652
+ itemTrailing: string;
653
+ itemTrailingIcon: string;
654
+ itemLabel: string;
655
+ input: string;
656
+ focusScope: string;
657
+ }, undefined, {
658
+ buttonGroup: {
659
+ horizontal: {
660
+ root: string;
661
+ base: string;
662
+ };
663
+ vertical: {
664
+ root: string;
665
+ base: string;
666
+ };
667
+ };
668
+ noSplit: {
669
+ false: string;
670
+ };
671
+ size: {
672
+ xs: {
673
+ base: string;
674
+ leading: string;
675
+ trailing: string;
676
+ leadingIcon: string;
677
+ leadingAvatarSize: string;
678
+ trailingIcon: string;
679
+ label: string;
680
+ item: string;
681
+ itemLeadingIcon: string;
682
+ itemLeadingAvatarSize: string;
683
+ itemLeadingChip: string;
684
+ itemLeadingChipSize: string;
685
+ itemTrailingIcon: string;
686
+ scrollUpDownButtonIcon: string;
687
+ };
688
+ sm: {
689
+ base: string;
690
+ leading: string;
691
+ trailing: string;
692
+ leadingIcon: string;
693
+ leadingAvatarSize: string;
694
+ trailingIcon: string;
695
+ label: string;
696
+ item: string;
697
+ itemLeadingIcon: string;
698
+ itemLeadingAvatarSize: string;
699
+ itemLeadingChip: string;
700
+ itemLeadingChipSize: string;
701
+ itemTrailingIcon: string;
702
+ scrollUpDownButtonIcon: string;
703
+ };
704
+ md: {
705
+ base: string;
706
+ leading: string;
707
+ trailing: string;
708
+ leadingIcon: string;
709
+ leadingAvatarSize: string;
710
+ trailingIcon: string;
711
+ label: string;
712
+ item: string;
713
+ itemLeadingIcon: string;
714
+ itemLeadingAvatarSize: string;
715
+ itemLeadingChip: string;
716
+ itemLeadingChipSize: string;
717
+ itemTrailingIcon: string;
718
+ scrollUpDownButtonIcon: string;
719
+ };
720
+ lg: {
721
+ base: string;
722
+ leading: string;
723
+ trailing: string;
724
+ leadingIcon: string;
725
+ leadingAvatarSize: string;
726
+ trailingIcon: string;
727
+ label: string;
728
+ item: string;
729
+ itemLeadingIcon: string;
730
+ itemLeadingAvatarSize: string;
731
+ itemLeadingChip: string;
732
+ itemLeadingChipSize: string;
733
+ itemTrailingIcon: string;
734
+ scrollUpDownButtonIcon: string;
735
+ };
736
+ };
737
+ color: {
738
+ default: string;
739
+ danger: string;
740
+ success: string;
741
+ warning: string;
742
+ primary: string;
743
+ secondary: string;
744
+ collab: string;
745
+ ai: string;
746
+ };
747
+ tagColor: {
748
+ default: {
749
+ tag: string;
750
+ };
751
+ danger: {
752
+ tag: string;
753
+ };
754
+ success: {
755
+ tag: string;
756
+ };
757
+ warning: {
758
+ tag: string;
759
+ };
760
+ primary: {
761
+ tag: string;
762
+ };
763
+ secondary: {
764
+ tag: string;
765
+ };
766
+ collab: {
767
+ tag: string;
768
+ };
769
+ ai: {
770
+ tag: string;
771
+ };
772
+ };
773
+ rounded: {
774
+ true: string;
775
+ false: string;
776
+ };
777
+ noPadding: {
778
+ true: {
779
+ base: string;
780
+ };
781
+ };
782
+ noBorder: {
783
+ true: string;
784
+ };
785
+ underline: {
786
+ true: string;
787
+ };
788
+ leading: {
789
+ true: string;
790
+ };
791
+ trailing: {
792
+ true: string;
793
+ };
794
+ loading: {
795
+ true: string;
796
+ };
797
+ highlight: {
798
+ true: string;
799
+ };
800
+ type: {
801
+ file: string;
802
+ };
803
+ colorItem: {
804
+ default: string;
805
+ danger: {
806
+ item: string;
807
+ itemLeadingIcon: string;
808
+ };
809
+ success: {
810
+ item: string;
811
+ itemLeadingIcon: string;
812
+ };
813
+ warning: {
814
+ item: string;
815
+ itemLeadingIcon: string;
816
+ };
817
+ primary: {
818
+ item: string;
819
+ itemLeadingIcon: string;
820
+ };
821
+ secondary: {
822
+ item: string;
823
+ itemLeadingIcon: string;
824
+ };
825
+ collab: {
826
+ item: string;
827
+ itemLeadingIcon: string;
828
+ };
829
+ ai: {
830
+ item: string;
831
+ itemLeadingIcon: string;
832
+ };
833
+ };
834
+ addNew: {
835
+ true: {
836
+ group: string;
837
+ item: string;
838
+ itemLabel: string;
839
+ itemLeadingIcon: string;
840
+ };
841
+ };
842
+ }, {
843
+ root: string;
844
+ base: string;
845
+ leading: string;
846
+ leadingIcon: string;
847
+ leadingAvatar: string;
848
+ leadingAvatarSize: string;
849
+ trailing: string;
850
+ trailingIcon: string;
851
+ tag: string;
852
+ value: string;
853
+ placeholder: string;
854
+ arrow: string;
855
+ content: string;
856
+ scrollUpDownButton: string;
857
+ scrollUpDownButtonIcon: string;
858
+ viewport: string;
859
+ group: string;
860
+ empty: string;
861
+ label: string;
862
+ separator: string;
863
+ item: string;
864
+ itemLeadingIcon: string;
865
+ itemLeadingAvatar: string;
866
+ itemLeadingAvatarSize: string;
867
+ itemLeadingChip: string;
868
+ itemLeadingChipSize: string;
869
+ itemTrailing: string;
870
+ itemTrailingIcon: string;
871
+ itemLabel: string;
872
+ input: string;
873
+ focusScope: string;
874
+ }, import("tailwind-variants").TVReturnType<{
875
+ buttonGroup: {
876
+ horizontal: {
877
+ root: string;
878
+ base: string;
879
+ };
880
+ vertical: {
881
+ root: string;
882
+ base: string;
883
+ };
884
+ };
885
+ noSplit: {
886
+ false: string;
887
+ };
888
+ size: {
889
+ xs: {
890
+ base: string;
891
+ leading: string;
892
+ trailing: string;
893
+ leadingIcon: string;
894
+ leadingAvatarSize: string;
895
+ trailingIcon: string;
896
+ label: string;
897
+ item: string;
898
+ itemLeadingIcon: string;
899
+ itemLeadingAvatarSize: string;
900
+ itemLeadingChip: string;
901
+ itemLeadingChipSize: string;
902
+ itemTrailingIcon: string;
903
+ scrollUpDownButtonIcon: string;
904
+ };
905
+ sm: {
906
+ base: string;
907
+ leading: string;
908
+ trailing: string;
909
+ leadingIcon: string;
910
+ leadingAvatarSize: string;
911
+ trailingIcon: string;
912
+ label: string;
913
+ item: string;
914
+ itemLeadingIcon: string;
915
+ itemLeadingAvatarSize: string;
916
+ itemLeadingChip: string;
917
+ itemLeadingChipSize: string;
918
+ itemTrailingIcon: string;
919
+ scrollUpDownButtonIcon: string;
920
+ };
921
+ md: {
922
+ base: string;
923
+ leading: string;
924
+ trailing: string;
925
+ leadingIcon: string;
926
+ leadingAvatarSize: string;
927
+ trailingIcon: string;
928
+ label: string;
929
+ item: string;
930
+ itemLeadingIcon: string;
931
+ itemLeadingAvatarSize: string;
932
+ itemLeadingChip: string;
933
+ itemLeadingChipSize: string;
934
+ itemTrailingIcon: string;
935
+ scrollUpDownButtonIcon: string;
936
+ };
937
+ lg: {
938
+ base: string;
939
+ leading: string;
940
+ trailing: string;
941
+ leadingIcon: string;
942
+ leadingAvatarSize: string;
943
+ trailingIcon: string;
944
+ label: string;
945
+ item: string;
946
+ itemLeadingIcon: string;
947
+ itemLeadingAvatarSize: string;
948
+ itemLeadingChip: string;
949
+ itemLeadingChipSize: string;
950
+ itemTrailingIcon: string;
951
+ scrollUpDownButtonIcon: string;
952
+ };
953
+ };
954
+ color: {
955
+ default: string;
956
+ danger: string;
957
+ success: string;
958
+ warning: string;
959
+ primary: string;
960
+ secondary: string;
961
+ collab: string;
962
+ ai: string;
963
+ };
964
+ tagColor: {
965
+ default: {
966
+ tag: string;
967
+ };
968
+ danger: {
969
+ tag: string;
970
+ };
971
+ success: {
972
+ tag: string;
973
+ };
974
+ warning: {
975
+ tag: string;
976
+ };
977
+ primary: {
978
+ tag: string;
979
+ };
980
+ secondary: {
981
+ tag: string;
982
+ };
983
+ collab: {
984
+ tag: string;
985
+ };
986
+ ai: {
987
+ tag: string;
988
+ };
989
+ };
990
+ rounded: {
991
+ true: string;
992
+ false: string;
993
+ };
994
+ noPadding: {
995
+ true: {
996
+ base: string;
997
+ };
998
+ };
999
+ noBorder: {
1000
+ true: string;
1001
+ };
1002
+ underline: {
1003
+ true: string;
1004
+ };
1005
+ leading: {
1006
+ true: string;
1007
+ };
1008
+ trailing: {
1009
+ true: string;
1010
+ };
1011
+ loading: {
1012
+ true: string;
1013
+ };
1014
+ highlight: {
1015
+ true: string;
1016
+ };
1017
+ type: {
1018
+ file: string;
1019
+ };
1020
+ colorItem: {
1021
+ default: string;
1022
+ danger: {
1023
+ item: string;
1024
+ itemLeadingIcon: string;
1025
+ };
1026
+ success: {
1027
+ item: string;
1028
+ itemLeadingIcon: string;
1029
+ };
1030
+ warning: {
1031
+ item: string;
1032
+ itemLeadingIcon: string;
1033
+ };
1034
+ primary: {
1035
+ item: string;
1036
+ itemLeadingIcon: string;
1037
+ };
1038
+ secondary: {
1039
+ item: string;
1040
+ itemLeadingIcon: string;
1041
+ };
1042
+ collab: {
1043
+ item: string;
1044
+ itemLeadingIcon: string;
1045
+ };
1046
+ ai: {
1047
+ item: string;
1048
+ itemLeadingIcon: string;
1049
+ };
1050
+ };
1051
+ addNew: {
1052
+ true: {
1053
+ group: string;
1054
+ item: string;
1055
+ itemLabel: string;
1056
+ itemLeadingIcon: string;
1057
+ };
1058
+ };
1059
+ }, {
1060
+ root: string;
1061
+ base: string;
1062
+ leading: string;
1063
+ leadingIcon: string;
1064
+ leadingAvatar: string;
1065
+ leadingAvatarSize: string;
1066
+ trailing: string;
1067
+ trailingIcon: string;
1068
+ tag: string;
1069
+ value: string;
1070
+ placeholder: string;
1071
+ arrow: string;
1072
+ content: string;
1073
+ scrollUpDownButton: string;
1074
+ scrollUpDownButtonIcon: string;
1075
+ viewport: string;
1076
+ group: string;
1077
+ empty: string;
1078
+ label: string;
1079
+ separator: string;
1080
+ item: string;
1081
+ itemLeadingIcon: string;
1082
+ itemLeadingAvatar: string;
1083
+ itemLeadingAvatarSize: string;
1084
+ itemLeadingChip: string;
1085
+ itemLeadingChipSize: string;
1086
+ itemTrailing: string;
1087
+ itemTrailingIcon: string;
1088
+ itemLabel: string;
1089
+ input: string;
1090
+ focusScope: string;
1091
+ }, undefined, unknown, unknown, undefined>>>;
1092
+ interface _SelectMenuItem {
1093
+ label?: string;
1094
+ /**
1095
+ * Display an icon on the left side.
1096
+ * @IconComponent
1097
+ */
1098
+ icon?: IconComponent;
1099
+ avatar?: AvatarProps;
1100
+ color?: SelectMenuVariants['color'];
1101
+ chip?: ChipProps;
1102
+ /**
1103
+ * The item type.
1104
+ * @defaultValue 'item'
1105
+ */
1106
+ type?: 'label' | 'separator' | 'item';
1107
+ disabled?: boolean;
1108
+ onSelect?(e?: Event): void;
1109
+ [key: string]: any;
1110
+ }
1111
+ export type SelectMenuItem = _SelectMenuItem | AcceptableValue | boolean;
1112
+ type SelectMenuVariants = VariantProps<typeof selectMenu>;
1113
+ export interface SelectMenuProps<T extends ArrayOrNested<SelectMenuItem> = ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<T> | undefined = undefined, M extends boolean = false> extends Pick<ComboboxRootProps<T>, 'open' | 'defaultOpen' | 'disabled' | 'name' | 'resetSearchTermOnBlur' | 'resetSearchTermOnSelect' | 'highlightOnHover'>, UseComponentIconsProps {
1114
+ id?: string;
1115
+ /** The placeholder text when the select is empty. */
1116
+ placeholder?: string;
1117
+ /**
1118
+ * Whether to display the search input or not.
1119
+ * Can be an object to pass additional props to the input.
1120
+ * `{ placeholder: 'Search...', type: 'search' }`{lang="ts"}
1121
+ * @defaultValue true
1122
+ */
1123
+ searchInput?: boolean | InputProps;
1124
+ /**
1125
+ * @defaultValue 'primary'
1126
+ */
1127
+ color?: SelectMenuVariants['color'];
1128
+ /**
1129
+ * @defaultValue 'md'
1130
+ */
1131
+ size?: SelectMenuVariants['size'];
1132
+ /**
1133
+ * Removes padding from input
1134
+ * @defaultValue false
1135
+ */
1136
+ noPadding?: boolean;
1137
+ /**
1138
+ * Removes all borders (rings)
1139
+ * @defaultValue false
1140
+ */
1141
+ noBorder?: boolean;
1142
+ /**
1143
+ * Removes all borders (rings) except the bottom one
1144
+ * @defaultValue false
1145
+ */
1146
+ underline?: boolean;
1147
+ /**
1148
+ * Rounds the corners of the button
1149
+ * @defaultValue false
1150
+ */
1151
+ rounded?: boolean;
1152
+ tag?: string;
1153
+ /**
1154
+ * @defaultValue 'primary'
1155
+ */
1156
+ tagColor?: SelectMenuVariants['tagColor'];
1157
+ /**
1158
+ * @defaultValue false
1159
+ */
1160
+ required?: boolean;
1161
+ /**
1162
+ * The icon displayed to open the menu.
1163
+ * @defaultValue icons.chevronDown
1164
+ * @IconComponent
1165
+ */
1166
+ trailingIcon?: IconComponent;
1167
+ /**
1168
+ * The icon displayed when an item is selected.
1169
+ * @defaultValue icons.check
1170
+ * @IconComponent
1171
+ */
1172
+ selectedIcon?: IconComponent;
1173
+ /**
1174
+ * The content of the menu.
1175
+ * @defaultValue { side: 'bottom', sideOffset: 8, collisionPadding: 8, position: 'popper' }
1176
+ */
1177
+ content?: Omit<ComboboxContentProps, 'as' | 'asChild' | 'forceMount'> & Partial<EmitsToProps<ComboboxContentEmits>>;
1178
+ /**
1179
+ * Display an arrow alongside the menu.
1180
+ * @defaultValue false
1181
+ */
1182
+ arrow?: boolean | Omit<ComboboxArrowProps, 'as' | 'asChild'>;
1183
+ /**
1184
+ * Render the menu in a portal.
1185
+ * @defaultValue true
1186
+ */
1187
+ portal?: boolean;
1188
+ /**
1189
+ * When `items` is an array of objects, select the field to use as the value instead of the object itself.
1190
+ * @defaultValue undefined
1191
+ */
1192
+ valueKey?: VK;
1193
+ /**
1194
+ * When `items` is an array of objects, select the field to use as the label.
1195
+ * @defaultValue 'label'
1196
+ */
1197
+ labelKey?: keyof NestedItem<T>;
1198
+ items?: T;
1199
+ /**
1200
+ * The value of the SelectMenu when initially rendered. Use when you do not need to control the state of the SelectMenu
1201
+ */
1202
+ defaultValue?: GetModelValue<T, VK, M>;
1203
+ /**
1204
+ * The controlled value of the SelectMenu. Can be binded-with with `v-model`
1205
+ */
1206
+ modelValue?: GetModelValue<T, VK, M>;
1207
+ /**
1208
+ * Whether multiple options can be selected or not
1209
+ * @defaultValue false
1210
+ */
1211
+ multiple?: M & boolean;
1212
+ /**
1213
+ * Highlight the ring color like a focus state
1214
+ * @defaultValue false
1215
+ */
1216
+ highlight?: boolean;
1217
+ /**
1218
+ * Determines if custom user input that does not exist in options can be added.
1219
+ * @defaultValue false
1220
+ */
1221
+ createItem?: boolean | 'always' | {
1222
+ position?: 'top' | 'bottom';
1223
+ when?: 'empty' | 'always';
1224
+ };
1225
+ /**
1226
+ * Fields to filter items by.
1227
+ * @defaultValue [labelKey]
1228
+ */
1229
+ filterFields?: string[];
1230
+ /**
1231
+ * When `true`, disable the default filters, useful for custom filtering (useAsyncData, useFetch, etc.).
1232
+ * @defaultValue false
1233
+ */
1234
+ ignoreFilter?: boolean;
1235
+ class?: any;
1236
+ b24ui?: PartialString<typeof selectMenu.slots>;
1237
+ }
1238
+ export type SelectMenuEmits<A extends ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<A> | undefined, M extends boolean> = Pick<ComboboxRootEmits, 'update:open'> & {
1239
+ change: [payload: Event];
1240
+ blur: [payload: FocusEvent];
1241
+ focus: [payload: FocusEvent];
1242
+ create: [item: string];
1243
+ /** Event handler when highlighted element changes. */
1244
+ highlight: [
1245
+ payload: {
1246
+ ref: HTMLElement;
1247
+ value: GetModelValue<A, VK, M>;
1248
+ } | undefined
1249
+ ];
1250
+ } & GetModelValueEmits<A, VK, M>;
1251
+ type SlotProps<T extends SelectMenuItem> = (props: {
1252
+ item: T;
1253
+ index: number;
1254
+ }) => any;
1255
+ export interface SelectMenuSlots<A extends ArrayOrNested<SelectMenuItem> = ArrayOrNested<SelectMenuItem>, VK extends GetItemKeys<A> | undefined = undefined, M extends boolean = false, T extends NestedItem<A> = NestedItem<A>> {
1256
+ 'leading'(props: {
1257
+ modelValue?: GetModelValue<A, VK, M>;
1258
+ open: boolean;
1259
+ b24ui: ReturnType<typeof selectMenu>;
1260
+ }): any;
1261
+ 'default'(props: {
1262
+ modelValue?: GetModelValue<A, VK, M>;
1263
+ open: boolean;
1264
+ }): any;
1265
+ 'trailing'(props: {
1266
+ modelValue?: GetModelValue<A, VK, M>;
1267
+ open: boolean;
1268
+ b24ui: ReturnType<typeof selectMenu>;
1269
+ }): any;
1270
+ 'empty'(props: {
1271
+ searchTerm?: string;
1272
+ }): any;
1273
+ 'item': SlotProps<T>;
1274
+ 'item-leading': SlotProps<T>;
1275
+ 'item-label': SlotProps<T>;
1276
+ 'item-trailing': SlotProps<T>;
1277
+ 'create-item-label'(props: {
1278
+ item: string;
1279
+ }): any;
1280
+ }
1281
+ declare const _default: <T extends ArrayOrNested<SelectMenuItem>, 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<{
1282
+ props: __VLS_PrettifyLocal<Pick<Partial<{}> & Omit<{} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, never> & ({
1283
+ searchTerm?: string;
1284
+ } & SelectMenuProps<T, VK, M>) & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
1285
+ expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
1286
+ attrs: any;
1287
+ slots: Readonly<SelectMenuSlots<T, VK, M, NestedItem<T>>> & SelectMenuSlots<T, VK, M, NestedItem<T>>;
1288
+ 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: {
1289
+ ref: HTMLElement;
1290
+ value: GetModelValue<T, VK, M>;
1291
+ } | undefined) => void)) & ((evt: "update:searchTerm", value: string) => void);
1292
+ }>) => import("vue").VNode & {
1293
+ __ctx?: Awaited<typeof __VLS_setup>;
1294
+ };
1295
+ export default _default;
1296
+ type __VLS_PrettifyLocal<T> = {
1297
+ [K in keyof T]: T[K];
1298
+ } & {};