@bitrix24/b24ui-nuxt 0.5.10 → 0.5.11

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