@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,723 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { RadioGroupRootProps, RadioGroupRootEmits } from 'reka-ui';
3
- import type { AcceptableValue } from '../types/utils';
4
- declare const radioGroup: import("tailwind-variants").TVReturnType<{
5
- color: {
6
- default: {
7
- base: string;
8
- indicator: "end" | "start" | "hidden";
9
- };
10
- danger: {
11
- base: string;
12
- indicator: "end" | "start" | "hidden";
13
- };
14
- success: {
15
- base: string;
16
- indicator: "end" | "start" | "hidden";
17
- };
18
- warning: {
19
- base: string;
20
- indicator: "end" | "start" | "hidden";
21
- };
22
- primary: {
23
- base: string;
24
- indicator: "end" | "start" | "hidden";
25
- };
26
- secondary: {
27
- base: string;
28
- indicator: "end" | "start" | "hidden";
29
- };
30
- collab: {
31
- base: string;
32
- indicator: "end" | "start" | "hidden";
33
- };
34
- ai: {
35
- base: string;
36
- indicator: "end" | "start" | "hidden";
37
- };
38
- };
39
- variant: {
40
- list: {};
41
- card: {
42
- item: string;
43
- };
44
- table: {
45
- item: string;
46
- };
47
- };
48
- orientation: {
49
- horizontal: {
50
- fieldset: string;
51
- wrapper: string;
52
- };
53
- vertical: {
54
- fieldset: string;
55
- };
56
- };
57
- indicator: {
58
- start: {
59
- item: string;
60
- base: string;
61
- };
62
- end: {
63
- item: string;
64
- base: string;
65
- };
66
- hidden: {
67
- base: string;
68
- wrapper: string;
69
- };
70
- };
71
- size: {
72
- xs: {
73
- fieldset: string;
74
- legend: string;
75
- base: string;
76
- item: string;
77
- label: string;
78
- container: string;
79
- indicator: "end" | "start" | "hidden";
80
- };
81
- sm: {
82
- fieldset: string;
83
- legend: string;
84
- base: string;
85
- item: string;
86
- label: string;
87
- container: string;
88
- indicator: "end" | "start" | "hidden";
89
- };
90
- md: {
91
- fieldset: string;
92
- legend: string;
93
- base: string;
94
- item: string;
95
- label: string;
96
- container: string;
97
- indicator: "end" | "start" | "hidden";
98
- };
99
- lg: {
100
- fieldset: string;
101
- legend: string;
102
- base: string;
103
- item: string;
104
- label: string;
105
- container: string;
106
- indicator: "end" | "start" | "hidden";
107
- };
108
- };
109
- disabled: {
110
- true: {
111
- base: string;
112
- label: string;
113
- };
114
- };
115
- required: {
116
- true: {
117
- label: string;
118
- };
119
- };
120
- }, {
121
- root: string;
122
- fieldset: string;
123
- legend: string;
124
- item: string;
125
- base: string;
126
- indicator: "end" | "start" | "hidden";
127
- container: string;
128
- wrapper: string;
129
- label: string;
130
- description: string;
131
- }, undefined, {
132
- color: {
133
- default: {
134
- base: string;
135
- indicator: "end" | "start" | "hidden";
136
- };
137
- danger: {
138
- base: string;
139
- indicator: "end" | "start" | "hidden";
140
- };
141
- success: {
142
- base: string;
143
- indicator: "end" | "start" | "hidden";
144
- };
145
- warning: {
146
- base: string;
147
- indicator: "end" | "start" | "hidden";
148
- };
149
- primary: {
150
- base: string;
151
- indicator: "end" | "start" | "hidden";
152
- };
153
- secondary: {
154
- base: string;
155
- indicator: "end" | "start" | "hidden";
156
- };
157
- collab: {
158
- base: string;
159
- indicator: "end" | "start" | "hidden";
160
- };
161
- ai: {
162
- base: string;
163
- indicator: "end" | "start" | "hidden";
164
- };
165
- };
166
- variant: {
167
- list: {};
168
- card: {
169
- item: string;
170
- };
171
- table: {
172
- item: string;
173
- };
174
- };
175
- orientation: {
176
- horizontal: {
177
- fieldset: string;
178
- wrapper: string;
179
- };
180
- vertical: {
181
- fieldset: string;
182
- };
183
- };
184
- indicator: {
185
- start: {
186
- item: string;
187
- base: string;
188
- };
189
- end: {
190
- item: string;
191
- base: string;
192
- };
193
- hidden: {
194
- base: string;
195
- wrapper: string;
196
- };
197
- };
198
- size: {
199
- xs: {
200
- fieldset: string;
201
- legend: string;
202
- base: string;
203
- item: string;
204
- label: string;
205
- container: string;
206
- indicator: "end" | "start" | "hidden";
207
- };
208
- sm: {
209
- fieldset: string;
210
- legend: string;
211
- base: string;
212
- item: string;
213
- label: string;
214
- container: string;
215
- indicator: "end" | "start" | "hidden";
216
- };
217
- md: {
218
- fieldset: string;
219
- legend: string;
220
- base: string;
221
- item: string;
222
- label: string;
223
- container: string;
224
- indicator: "end" | "start" | "hidden";
225
- };
226
- lg: {
227
- fieldset: string;
228
- legend: string;
229
- base: string;
230
- item: string;
231
- label: string;
232
- container: string;
233
- indicator: "end" | "start" | "hidden";
234
- };
235
- };
236
- disabled: {
237
- true: {
238
- base: string;
239
- label: string;
240
- };
241
- };
242
- required: {
243
- true: {
244
- label: string;
245
- };
246
- };
247
- }, {
248
- root: string;
249
- fieldset: string;
250
- legend: string;
251
- item: string;
252
- base: string;
253
- indicator: "end" | "start" | "hidden";
254
- container: string;
255
- wrapper: string;
256
- label: string;
257
- description: string;
258
- }, import("tailwind-variants").TVReturnType<{
259
- color: {
260
- default: {
261
- base: string;
262
- indicator: "end" | "start" | "hidden";
263
- };
264
- danger: {
265
- base: string;
266
- indicator: "end" | "start" | "hidden";
267
- };
268
- success: {
269
- base: string;
270
- indicator: "end" | "start" | "hidden";
271
- };
272
- warning: {
273
- base: string;
274
- indicator: "end" | "start" | "hidden";
275
- };
276
- primary: {
277
- base: string;
278
- indicator: "end" | "start" | "hidden";
279
- };
280
- secondary: {
281
- base: string;
282
- indicator: "end" | "start" | "hidden";
283
- };
284
- collab: {
285
- base: string;
286
- indicator: "end" | "start" | "hidden";
287
- };
288
- ai: {
289
- base: string;
290
- indicator: "end" | "start" | "hidden";
291
- };
292
- };
293
- variant: {
294
- list: {};
295
- card: {
296
- item: string;
297
- };
298
- table: {
299
- item: string;
300
- };
301
- };
302
- orientation: {
303
- horizontal: {
304
- fieldset: string;
305
- wrapper: string;
306
- };
307
- vertical: {
308
- fieldset: string;
309
- };
310
- };
311
- indicator: {
312
- start: {
313
- item: string;
314
- base: string;
315
- };
316
- end: {
317
- item: string;
318
- base: string;
319
- };
320
- hidden: {
321
- base: string;
322
- wrapper: string;
323
- };
324
- };
325
- size: {
326
- xs: {
327
- fieldset: string;
328
- legend: string;
329
- base: string;
330
- item: string;
331
- label: string;
332
- container: string;
333
- indicator: "end" | "start" | "hidden";
334
- };
335
- sm: {
336
- fieldset: string;
337
- legend: string;
338
- base: string;
339
- item: string;
340
- label: string;
341
- container: string;
342
- indicator: "end" | "start" | "hidden";
343
- };
344
- md: {
345
- fieldset: string;
346
- legend: string;
347
- base: string;
348
- item: string;
349
- label: string;
350
- container: string;
351
- indicator: "end" | "start" | "hidden";
352
- };
353
- lg: {
354
- fieldset: string;
355
- legend: string;
356
- base: string;
357
- item: string;
358
- label: string;
359
- container: string;
360
- indicator: "end" | "start" | "hidden";
361
- };
362
- };
363
- disabled: {
364
- true: {
365
- base: string;
366
- label: string;
367
- };
368
- };
369
- required: {
370
- true: {
371
- label: string;
372
- };
373
- };
374
- }, {
375
- root: string;
376
- fieldset: string;
377
- legend: string;
378
- item: string;
379
- base: string;
380
- indicator: "end" | "start" | "hidden";
381
- container: string;
382
- wrapper: string;
383
- label: string;
384
- description: string;
385
- }, undefined, {
386
- color: {
387
- default: {
388
- base: string;
389
- indicator: "end" | "start" | "hidden";
390
- };
391
- danger: {
392
- base: string;
393
- indicator: "end" | "start" | "hidden";
394
- };
395
- success: {
396
- base: string;
397
- indicator: "end" | "start" | "hidden";
398
- };
399
- warning: {
400
- base: string;
401
- indicator: "end" | "start" | "hidden";
402
- };
403
- primary: {
404
- base: string;
405
- indicator: "end" | "start" | "hidden";
406
- };
407
- secondary: {
408
- base: string;
409
- indicator: "end" | "start" | "hidden";
410
- };
411
- collab: {
412
- base: string;
413
- indicator: "end" | "start" | "hidden";
414
- };
415
- ai: {
416
- base: string;
417
- indicator: "end" | "start" | "hidden";
418
- };
419
- };
420
- variant: {
421
- list: {};
422
- card: {
423
- item: string;
424
- };
425
- table: {
426
- item: string;
427
- };
428
- };
429
- orientation: {
430
- horizontal: {
431
- fieldset: string;
432
- wrapper: string;
433
- };
434
- vertical: {
435
- fieldset: string;
436
- };
437
- };
438
- indicator: {
439
- start: {
440
- item: string;
441
- base: string;
442
- };
443
- end: {
444
- item: string;
445
- base: string;
446
- };
447
- hidden: {
448
- base: string;
449
- wrapper: string;
450
- };
451
- };
452
- size: {
453
- xs: {
454
- fieldset: string;
455
- legend: string;
456
- base: string;
457
- item: string;
458
- label: string;
459
- container: string;
460
- indicator: "end" | "start" | "hidden";
461
- };
462
- sm: {
463
- fieldset: string;
464
- legend: string;
465
- base: string;
466
- item: string;
467
- label: string;
468
- container: string;
469
- indicator: "end" | "start" | "hidden";
470
- };
471
- md: {
472
- fieldset: string;
473
- legend: string;
474
- base: string;
475
- item: string;
476
- label: string;
477
- container: string;
478
- indicator: "end" | "start" | "hidden";
479
- };
480
- lg: {
481
- fieldset: string;
482
- legend: string;
483
- base: string;
484
- item: string;
485
- label: string;
486
- container: string;
487
- indicator: "end" | "start" | "hidden";
488
- };
489
- };
490
- disabled: {
491
- true: {
492
- base: string;
493
- label: string;
494
- };
495
- };
496
- required: {
497
- true: {
498
- label: string;
499
- };
500
- };
501
- }, {
502
- root: string;
503
- fieldset: string;
504
- legend: string;
505
- item: string;
506
- base: string;
507
- indicator: "end" | "start" | "hidden";
508
- container: string;
509
- wrapper: string;
510
- label: string;
511
- description: string;
512
- }, import("tailwind-variants").TVReturnType<{
513
- color: {
514
- default: {
515
- base: string;
516
- indicator: "end" | "start" | "hidden";
517
- };
518
- danger: {
519
- base: string;
520
- indicator: "end" | "start" | "hidden";
521
- };
522
- success: {
523
- base: string;
524
- indicator: "end" | "start" | "hidden";
525
- };
526
- warning: {
527
- base: string;
528
- indicator: "end" | "start" | "hidden";
529
- };
530
- primary: {
531
- base: string;
532
- indicator: "end" | "start" | "hidden";
533
- };
534
- secondary: {
535
- base: string;
536
- indicator: "end" | "start" | "hidden";
537
- };
538
- collab: {
539
- base: string;
540
- indicator: "end" | "start" | "hidden";
541
- };
542
- ai: {
543
- base: string;
544
- indicator: "end" | "start" | "hidden";
545
- };
546
- };
547
- variant: {
548
- list: {};
549
- card: {
550
- item: string;
551
- };
552
- table: {
553
- item: string;
554
- };
555
- };
556
- orientation: {
557
- horizontal: {
558
- fieldset: string;
559
- wrapper: string;
560
- };
561
- vertical: {
562
- fieldset: string;
563
- };
564
- };
565
- indicator: {
566
- start: {
567
- item: string;
568
- base: string;
569
- };
570
- end: {
571
- item: string;
572
- base: string;
573
- };
574
- hidden: {
575
- base: string;
576
- wrapper: string;
577
- };
578
- };
579
- size: {
580
- xs: {
581
- fieldset: string;
582
- legend: string;
583
- base: string;
584
- item: string;
585
- label: string;
586
- container: string;
587
- indicator: "end" | "start" | "hidden";
588
- };
589
- sm: {
590
- fieldset: string;
591
- legend: string;
592
- base: string;
593
- item: string;
594
- label: string;
595
- container: string;
596
- indicator: "end" | "start" | "hidden";
597
- };
598
- md: {
599
- fieldset: string;
600
- legend: string;
601
- base: string;
602
- item: string;
603
- label: string;
604
- container: string;
605
- indicator: "end" | "start" | "hidden";
606
- };
607
- lg: {
608
- fieldset: string;
609
- legend: string;
610
- base: string;
611
- item: string;
612
- label: string;
613
- container: string;
614
- indicator: "end" | "start" | "hidden";
615
- };
616
- };
617
- disabled: {
618
- true: {
619
- base: string;
620
- label: string;
621
- };
622
- };
623
- required: {
624
- true: {
625
- label: string;
626
- };
627
- };
628
- }, {
629
- root: string;
630
- fieldset: string;
631
- legend: string;
632
- item: string;
633
- base: string;
634
- indicator: "end" | "start" | "hidden";
635
- container: string;
636
- wrapper: string;
637
- label: string;
638
- description: string;
639
- }, undefined, unknown, unknown, undefined>>>;
640
- type RadioGroupVariants = VariantProps<typeof radioGroup>;
641
- export type RadioGroupValue = AcceptableValue;
642
- export type RadioGroupItem = {
643
- label?: string;
644
- description?: string;
645
- disabled?: boolean;
646
- value?: string;
647
- [key: string]: any;
648
- } | RadioGroupValue;
649
- export interface RadioGroupProps<T extends RadioGroupItem = RadioGroupItem> extends Pick<RadioGroupRootProps, 'defaultValue' | 'disabled' | 'loop' | 'modelValue' | 'name' | 'required'> {
650
- /**
651
- * The element or component this component should render as.
652
- * @defaultValue 'div'
653
- */
654
- as?: any;
655
- legend?: string;
656
- /**
657
- * When `items` is an array of objects, select the field to use as the value.
658
- * @defaultValue 'value'
659
- */
660
- valueKey?: string;
661
- /**
662
- * When `items` is an array of objects, select the field to use as the label.
663
- * @defaultValue 'label'
664
- */
665
- labelKey?: string;
666
- /**
667
- * When `items` is an array of objects, select the field to use as the description.
668
- * @defaultValue 'description'
669
- */
670
- descriptionKey?: string;
671
- items?: T[];
672
- /**
673
- * @defaultValue 'md'
674
- */
675
- size?: RadioGroupVariants['size'];
676
- /**
677
- * @defaultValue 'list'
678
- */
679
- variant?: RadioGroupVariants['variant'];
680
- /**
681
- * @defaultValue 'primary'
682
- */
683
- color?: RadioGroupVariants['color'];
684
- /**
685
- * The orientation the radio buttons are laid out.
686
- * @defaultValue 'vertical'
687
- */
688
- orientation?: RadioGroupRootProps['orientation'];
689
- /**
690
- * Position of the indicator.
691
- * @defaultValue 'start'
692
- */
693
- indicator?: RadioGroupVariants['indicator'];
694
- class?: any;
695
- b24ui?: Partial<typeof radioGroup.slots>;
696
- }
697
- export type RadioGroupEmits = RadioGroupRootEmits & {
698
- change: [payload: Event];
699
- };
700
- type SlotProps<T extends RadioGroupItem> = (props: {
701
- item: T & {
702
- id: string;
703
- };
704
- modelValue?: RadioGroupValue;
705
- }) => any;
706
- export interface RadioGroupSlots<T extends RadioGroupItem = RadioGroupItem> {
707
- legend(props?: {}): any;
708
- label: SlotProps<T>;
709
- description: SlotProps<T>;
710
- }
711
- declare const _default: <T extends RadioGroupItem>(__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<{
712
- props: __VLS_PrettifyLocal<any & RadioGroupProps<T> & Partial<{}>> & (import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps);
713
- expose(exposed: import("vue").ShallowUnwrapRef<{}>): void;
714
- attrs: any;
715
- slots: Readonly<RadioGroupSlots<T>> & RadioGroupSlots<T>;
716
- emit: ((evt: "change", payload: Event) => void) & ((evt: "update:modelValue", payload: string) => void);
717
- }>) => import("vue").VNode & {
718
- __ctx?: Awaited<typeof __VLS_setup>;
719
- };
720
- export default _default;
721
- type __VLS_PrettifyLocal<T> = {
722
- [K in keyof T]: T[K];
723
- } & {};