@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,640 +0,0 @@
1
- import type { VariantProps } from 'tailwind-variants';
2
- import type { LinkProps } from './Link.vue';
3
- import type { UseComponentIconsProps } from '../composables/useComponentIcons';
4
- import type { PartialString } from '../types/utils';
5
- declare const button: import("tailwind-variants").TVReturnType<{
6
- buttonGroup: {
7
- horizontal: string;
8
- vertical: string;
9
- };
10
- noSplit: {
11
- false: string;
12
- };
13
- color: {
14
- default: string;
15
- danger: string;
16
- success: string;
17
- warning: string;
18
- primary: string;
19
- secondary: string;
20
- collab: string;
21
- ai: string;
22
- link: string;
23
- };
24
- depth: {
25
- light: string;
26
- normal: string;
27
- dark: string;
28
- };
29
- size: {
30
- xs: {
31
- base: string;
32
- baseLine: string;
33
- leadingIcon: string;
34
- leadingAvatarSize: string;
35
- trailingIcon: string;
36
- };
37
- sm: {
38
- base: string;
39
- baseLine: string;
40
- leadingIcon: string;
41
- leadingAvatarSize: string;
42
- trailingIcon: string;
43
- };
44
- md: {
45
- base: string;
46
- baseLine: string;
47
- leadingIcon: string;
48
- leadingAvatarSize: string;
49
- trailingIcon: string;
50
- };
51
- lg: {
52
- base: string;
53
- baseLine: string;
54
- leadingIcon: string;
55
- leadingAvatarSize: string;
56
- trailingIcon: string;
57
- };
58
- };
59
- block: {
60
- true: {
61
- base: string;
62
- baseLine: string;
63
- trailingIcon: string;
64
- };
65
- };
66
- rounded: {
67
- true: string;
68
- false: string;
69
- };
70
- leading: {
71
- true: string;
72
- };
73
- useLabel: {
74
- true: string;
75
- false: string;
76
- };
77
- useDropdown: {
78
- true: string;
79
- };
80
- useWait: {
81
- true: string;
82
- };
83
- useClock: {
84
- true: string;
85
- };
86
- loading: {
87
- true: string;
88
- };
89
- normalCase: {
90
- true: string;
91
- false: string;
92
- };
93
- active: {
94
- true: {
95
- base: string;
96
- };
97
- false: {
98
- base: string;
99
- };
100
- };
101
- }, {
102
- base: string[];
103
- baseLine: string;
104
- label: string;
105
- leadingIcon: string;
106
- leadingAvatar: string;
107
- leadingAvatarSize: string;
108
- trailingIcon: string;
109
- safeList: string;
110
- }, undefined, {
111
- buttonGroup: {
112
- horizontal: string;
113
- vertical: string;
114
- };
115
- noSplit: {
116
- false: string;
117
- };
118
- color: {
119
- default: string;
120
- danger: string;
121
- success: string;
122
- warning: string;
123
- primary: string;
124
- secondary: string;
125
- collab: string;
126
- ai: string;
127
- link: string;
128
- };
129
- depth: {
130
- light: string;
131
- normal: string;
132
- dark: string;
133
- };
134
- size: {
135
- xs: {
136
- base: string;
137
- baseLine: string;
138
- leadingIcon: string;
139
- leadingAvatarSize: string;
140
- trailingIcon: string;
141
- };
142
- sm: {
143
- base: string;
144
- baseLine: string;
145
- leadingIcon: string;
146
- leadingAvatarSize: string;
147
- trailingIcon: string;
148
- };
149
- md: {
150
- base: string;
151
- baseLine: string;
152
- leadingIcon: string;
153
- leadingAvatarSize: string;
154
- trailingIcon: string;
155
- };
156
- lg: {
157
- base: string;
158
- baseLine: string;
159
- leadingIcon: string;
160
- leadingAvatarSize: string;
161
- trailingIcon: string;
162
- };
163
- };
164
- block: {
165
- true: {
166
- base: string;
167
- baseLine: string;
168
- trailingIcon: string;
169
- };
170
- };
171
- rounded: {
172
- true: string;
173
- false: string;
174
- };
175
- leading: {
176
- true: string;
177
- };
178
- useLabel: {
179
- true: string;
180
- false: string;
181
- };
182
- useDropdown: {
183
- true: string;
184
- };
185
- useWait: {
186
- true: string;
187
- };
188
- useClock: {
189
- true: string;
190
- };
191
- loading: {
192
- true: string;
193
- };
194
- normalCase: {
195
- true: string;
196
- false: string;
197
- };
198
- active: {
199
- true: {
200
- base: string;
201
- };
202
- false: {
203
- base: string;
204
- };
205
- };
206
- }, {
207
- base: string[];
208
- baseLine: string;
209
- label: string;
210
- leadingIcon: string;
211
- leadingAvatar: string;
212
- leadingAvatarSize: string;
213
- trailingIcon: string;
214
- safeList: string;
215
- }, import("tailwind-variants").TVReturnType<{
216
- buttonGroup: {
217
- horizontal: string;
218
- vertical: string;
219
- };
220
- noSplit: {
221
- false: string;
222
- };
223
- color: {
224
- default: string;
225
- danger: string;
226
- success: string;
227
- warning: string;
228
- primary: string;
229
- secondary: string;
230
- collab: string;
231
- ai: string;
232
- link: string;
233
- };
234
- depth: {
235
- light: string;
236
- normal: string;
237
- dark: string;
238
- };
239
- size: {
240
- xs: {
241
- base: string;
242
- baseLine: string;
243
- leadingIcon: string;
244
- leadingAvatarSize: string;
245
- trailingIcon: string;
246
- };
247
- sm: {
248
- base: string;
249
- baseLine: string;
250
- leadingIcon: string;
251
- leadingAvatarSize: string;
252
- trailingIcon: string;
253
- };
254
- md: {
255
- base: string;
256
- baseLine: string;
257
- leadingIcon: string;
258
- leadingAvatarSize: string;
259
- trailingIcon: string;
260
- };
261
- lg: {
262
- base: string;
263
- baseLine: string;
264
- leadingIcon: string;
265
- leadingAvatarSize: string;
266
- trailingIcon: string;
267
- };
268
- };
269
- block: {
270
- true: {
271
- base: string;
272
- baseLine: string;
273
- trailingIcon: string;
274
- };
275
- };
276
- rounded: {
277
- true: string;
278
- false: string;
279
- };
280
- leading: {
281
- true: string;
282
- };
283
- useLabel: {
284
- true: string;
285
- false: string;
286
- };
287
- useDropdown: {
288
- true: string;
289
- };
290
- useWait: {
291
- true: string;
292
- };
293
- useClock: {
294
- true: string;
295
- };
296
- loading: {
297
- true: string;
298
- };
299
- normalCase: {
300
- true: string;
301
- false: string;
302
- };
303
- active: {
304
- true: {
305
- base: string;
306
- };
307
- false: {
308
- base: string;
309
- };
310
- };
311
- }, {
312
- base: string[];
313
- baseLine: string;
314
- label: string;
315
- leadingIcon: string;
316
- leadingAvatar: string;
317
- leadingAvatarSize: string;
318
- trailingIcon: string;
319
- safeList: string;
320
- }, undefined, {
321
- buttonGroup: {
322
- horizontal: string;
323
- vertical: string;
324
- };
325
- noSplit: {
326
- false: string;
327
- };
328
- color: {
329
- default: string;
330
- danger: string;
331
- success: string;
332
- warning: string;
333
- primary: string;
334
- secondary: string;
335
- collab: string;
336
- ai: string;
337
- link: string;
338
- };
339
- depth: {
340
- light: string;
341
- normal: string;
342
- dark: string;
343
- };
344
- size: {
345
- xs: {
346
- base: string;
347
- baseLine: string;
348
- leadingIcon: string;
349
- leadingAvatarSize: string;
350
- trailingIcon: string;
351
- };
352
- sm: {
353
- base: string;
354
- baseLine: string;
355
- leadingIcon: string;
356
- leadingAvatarSize: string;
357
- trailingIcon: string;
358
- };
359
- md: {
360
- base: string;
361
- baseLine: string;
362
- leadingIcon: string;
363
- leadingAvatarSize: string;
364
- trailingIcon: string;
365
- };
366
- lg: {
367
- base: string;
368
- baseLine: string;
369
- leadingIcon: string;
370
- leadingAvatarSize: string;
371
- trailingIcon: string;
372
- };
373
- };
374
- block: {
375
- true: {
376
- base: string;
377
- baseLine: string;
378
- trailingIcon: string;
379
- };
380
- };
381
- rounded: {
382
- true: string;
383
- false: string;
384
- };
385
- leading: {
386
- true: string;
387
- };
388
- useLabel: {
389
- true: string;
390
- false: string;
391
- };
392
- useDropdown: {
393
- true: string;
394
- };
395
- useWait: {
396
- true: string;
397
- };
398
- useClock: {
399
- true: string;
400
- };
401
- loading: {
402
- true: string;
403
- };
404
- normalCase: {
405
- true: string;
406
- false: string;
407
- };
408
- active: {
409
- true: {
410
- base: string;
411
- };
412
- false: {
413
- base: string;
414
- };
415
- };
416
- }, {
417
- base: string[];
418
- baseLine: string;
419
- label: string;
420
- leadingIcon: string;
421
- leadingAvatar: string;
422
- leadingAvatarSize: string;
423
- trailingIcon: string;
424
- safeList: string;
425
- }, import("tailwind-variants").TVReturnType<{
426
- buttonGroup: {
427
- horizontal: string;
428
- vertical: string;
429
- };
430
- noSplit: {
431
- false: string;
432
- };
433
- color: {
434
- default: string;
435
- danger: string;
436
- success: string;
437
- warning: string;
438
- primary: string;
439
- secondary: string;
440
- collab: string;
441
- ai: string;
442
- link: string;
443
- };
444
- depth: {
445
- light: string;
446
- normal: string;
447
- dark: string;
448
- };
449
- size: {
450
- xs: {
451
- base: string;
452
- baseLine: string;
453
- leadingIcon: string;
454
- leadingAvatarSize: string;
455
- trailingIcon: string;
456
- };
457
- sm: {
458
- base: string;
459
- baseLine: string;
460
- leadingIcon: string;
461
- leadingAvatarSize: string;
462
- trailingIcon: string;
463
- };
464
- md: {
465
- base: string;
466
- baseLine: string;
467
- leadingIcon: string;
468
- leadingAvatarSize: string;
469
- trailingIcon: string;
470
- };
471
- lg: {
472
- base: string;
473
- baseLine: string;
474
- leadingIcon: string;
475
- leadingAvatarSize: string;
476
- trailingIcon: string;
477
- };
478
- };
479
- block: {
480
- true: {
481
- base: string;
482
- baseLine: string;
483
- trailingIcon: string;
484
- };
485
- };
486
- rounded: {
487
- true: string;
488
- false: string;
489
- };
490
- leading: {
491
- true: string;
492
- };
493
- useLabel: {
494
- true: string;
495
- false: string;
496
- };
497
- useDropdown: {
498
- true: string;
499
- };
500
- useWait: {
501
- true: string;
502
- };
503
- useClock: {
504
- true: string;
505
- };
506
- loading: {
507
- true: string;
508
- };
509
- normalCase: {
510
- true: string;
511
- false: string;
512
- };
513
- active: {
514
- true: {
515
- base: string;
516
- };
517
- false: {
518
- base: string;
519
- };
520
- };
521
- }, {
522
- base: string[];
523
- baseLine: string;
524
- label: string;
525
- leadingIcon: string;
526
- leadingAvatar: string;
527
- leadingAvatarSize: string;
528
- trailingIcon: string;
529
- safeList: string;
530
- }, undefined, unknown, unknown, undefined>>>;
531
- type ButtonVariants = VariantProps<typeof button>;
532
- export interface ButtonProps extends Omit<UseComponentIconsProps, 'trailing' | 'trailingIcon'>, Omit<LinkProps, 'raw' | 'custom'> {
533
- label?: string;
534
- /**
535
- * @defaultValue 'default'
536
- */
537
- color?: ButtonVariants['color'];
538
- activeColor?: ButtonVariants['color'];
539
- /**
540
- * @defaultValue 'normal'
541
- */
542
- depth?: ButtonVariants['depth'];
543
- activeDepth?: ButtonVariants['depth'];
544
- /**
545
- * @defaultValue 'md'
546
- */
547
- size?: ButtonVariants['size'];
548
- /**
549
- * Rounds the corners of the button
550
- * @defaultValue false
551
- */
552
- rounded?: boolean;
553
- /**
554
- * Render the button full width
555
- * @defaultValue false
556
- */
557
- block?: boolean;
558
- /**
559
- * Set loading state automatically based on the `@click` promise state
560
- * @defaultValue false
561
- */
562
- loadingAuto?: boolean;
563
- /**
564
- * Disable uppercase label
565
- * @defaultValue false
566
- */
567
- normalCase?: boolean;
568
- /**
569
- * Shows LoaderWaitIcon in loading mode
570
- * @defaultValue false
571
- */
572
- useWait?: boolean;
573
- /**
574
- * Shows LoaderClockIcon icon in loading mode
575
- * @defaultValue false
576
- */
577
- useClock?: boolean;
578
- /**
579
- * Shows icons.chevronDown on the right side
580
- * @defaultValue false
581
- */
582
- useDropdown?: boolean;
583
- onClick?: ((event: MouseEvent) => void | Promise<void>) | Array<((event: MouseEvent) => void | Promise<void>)>;
584
- class?: any;
585
- /**
586
- * The class to apply when the link is active
587
- * @defaultValue ''
588
- */
589
- activeClass?: string;
590
- /**
591
- * The class to apply when the link is inactive
592
- * @defaultValue ''
593
- */
594
- inactiveClass?: string;
595
- b24ui?: PartialString<typeof button.slots>;
596
- }
597
- export interface ButtonSlots {
598
- leading(props?: {}): any;
599
- default(props?: {}): any;
600
- trailing(props?: {}): any;
601
- }
602
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
603
- type: string;
604
- active: undefined;
605
- activeClass: string;
606
- inactiveClass: string;
607
- }>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<ButtonProps>, {
608
- type: string;
609
- active: undefined;
610
- activeClass: string;
611
- inactiveClass: string;
612
- }>>> & Readonly<{}>, {
613
- type: "reset" | "submit" | "button";
614
- activeClass: string;
615
- active: boolean;
616
- inactiveClass: string;
617
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<ButtonSlots> & ButtonSlots>;
618
- export default _default;
619
- type __VLS_WithDefaults<P, D> = {
620
- [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
621
- default: D[K];
622
- }> : P[K];
623
- };
624
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
625
- type __VLS_TypePropsToOption<T> = {
626
- [K in keyof T]-?: {} extends Pick<T, K> ? {
627
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
628
- } : {
629
- type: import('vue').PropType<T[K]>;
630
- required: true;
631
- };
632
- };
633
- type __VLS_WithTemplateSlots<T, S> = T & {
634
- new (): {
635
- $slots: S;
636
- };
637
- };
638
- type __VLS_PrettifyLocal<T> = {
639
- [K in keyof T]: T[K];
640
- } & {};