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