@bitrix24/b24ui-nuxt 0.5.8 → 0.5.10

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 (197) hide show
  1. package/.nuxt/b24ui/navigation-menu.ts +0 -2
  2. package/.nuxt/b24ui/popover.ts +1 -1
  3. package/.nuxt/b24ui/textarea.ts +43 -0
  4. package/dist/meta.d.mts +5090 -4900
  5. package/dist/meta.mjs +5090 -4900
  6. package/dist/module.json +5 -5
  7. package/dist/module.mjs +11 -7
  8. package/dist/runtime/components/Advice.vue +47 -54
  9. package/dist/runtime/components/Advice.vue.d.ts +170 -0
  10. package/dist/runtime/components/Alert.vue +71 -96
  11. package/dist/runtime/components/Alert.vue.d.ts +464 -0
  12. package/dist/runtime/components/App.vue +37 -34
  13. package/dist/runtime/components/App.vue.d.ts +23 -0
  14. package/dist/runtime/components/Avatar.vue +69 -81
  15. package/dist/runtime/components/Avatar.vue.d.ts +281 -0
  16. package/dist/runtime/components/AvatarGroup.vue +53 -76
  17. package/dist/runtime/components/AvatarGroup.vue.d.ts +204 -0
  18. package/dist/runtime/components/Badge.vue +83 -83
  19. package/dist/runtime/components/Badge.vue.d.ts +517 -0
  20. package/dist/runtime/components/Button.vue +219 -149
  21. package/dist/runtime/components/Button.vue.d.ts +640 -0
  22. package/dist/runtime/components/ButtonGroup.vue +35 -51
  23. package/dist/runtime/components/ButtonGroup.vue.d.ts +116 -0
  24. package/dist/runtime/components/Calendar.vue +186 -152
  25. package/dist/runtime/components/Calendar.vue.d.ts +437 -0
  26. package/dist/runtime/components/Checkbox.vue +84 -73
  27. package/dist/runtime/components/Checkbox.vue.d.ts +354 -0
  28. package/dist/runtime/components/Chip.vue +59 -74
  29. package/dist/runtime/components/Chip.vue.d.ts +271 -0
  30. package/dist/runtime/components/Collapsible.vue +44 -41
  31. package/dist/runtime/components/Collapsible.vue.d.ts +118 -0
  32. package/dist/runtime/components/Container.vue +18 -27
  33. package/dist/runtime/components/Container.vue.d.ts +27 -0
  34. package/dist/runtime/components/Countdown.vue +198 -378
  35. package/dist/runtime/components/Countdown.vue.d.ts +356 -0
  36. package/dist/runtime/components/DescriptionList.vue +102 -149
  37. package/dist/runtime/components/DescriptionList.vue.d.ts +379 -0
  38. package/dist/runtime/components/DropdownMenu.vue +83 -139
  39. package/dist/runtime/components/DropdownMenu.vue.d.ts +533 -0
  40. package/dist/runtime/components/DropdownMenuContent.vue +137 -81
  41. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +228 -0
  42. package/dist/runtime/components/Form.vue +162 -216
  43. package/dist/runtime/components/Form.vue.d.ts +55 -0
  44. package/dist/runtime/components/FormField.vue +76 -80
  45. package/dist/runtime/components/FormField.vue.d.ts +282 -0
  46. package/dist/runtime/components/Input.vue +166 -185
  47. package/dist/runtime/components/Input.vue.d.ts +755 -0
  48. package/dist/runtime/components/InputMenu.vue +300 -381
  49. package/dist/runtime/components/InputMenu.vue.d.ts +1504 -0
  50. package/dist/runtime/components/InputNumber.vue +180 -177
  51. package/dist/runtime/components/InputNumber.vue.d.ts +658 -0
  52. package/dist/runtime/components/Kbd.vue +33 -45
  53. package/dist/runtime/components/Kbd.vue.d.ts +109 -0
  54. package/dist/runtime/components/Link.vue +179 -173
  55. package/dist/runtime/components/Link.vue.d.ts +129 -0
  56. package/dist/runtime/components/LinkBase.vue +64 -42
  57. package/dist/runtime/components/LinkBase.vue.d.ts +48 -0
  58. package/dist/runtime/components/Modal.vue +105 -127
  59. package/dist/runtime/components/Modal.vue.d.ts +327 -0
  60. package/dist/runtime/components/ModalDialogClose.vue +4 -8
  61. package/dist/runtime/components/ModalDialogClose.vue.d.ts +10 -0
  62. package/dist/runtime/components/Navbar.vue +24 -33
  63. package/dist/runtime/components/Navbar.vue.d.ts +101 -0
  64. package/dist/runtime/components/NavbarDivider.vue +24 -33
  65. package/dist/runtime/components/NavbarDivider.vue.d.ts +101 -0
  66. package/dist/runtime/components/NavbarSection.vue +24 -33
  67. package/dist/runtime/components/NavbarSection.vue.d.ts +101 -0
  68. package/dist/runtime/components/NavbarSpacer.vue +24 -33
  69. package/dist/runtime/components/NavbarSpacer.vue.d.ts +101 -0
  70. package/dist/runtime/components/NavigationMenu.vue +152 -216
  71. package/dist/runtime/components/NavigationMenu.vue.d.ts +824 -0
  72. package/dist/runtime/components/OverlayProvider.vue +13 -17
  73. package/dist/runtime/components/OverlayProvider.vue.d.ts +2 -0
  74. package/dist/runtime/components/Popover.vue +81 -81
  75. package/dist/runtime/components/Popover.vue.d.ts +147 -0
  76. package/dist/runtime/components/Progress.vue +109 -136
  77. package/dist/runtime/components/Progress.vue.d.ts +592 -0
  78. package/dist/runtime/components/RadioGroup.vue +120 -134
  79. package/dist/runtime/components/RadioGroup.vue.d.ts +723 -0
  80. package/dist/runtime/components/Range.vue +94 -85
  81. package/dist/runtime/components/Range.vue.d.ts +417 -0
  82. package/dist/runtime/components/Select.vue +212 -260
  83. package/dist/runtime/components/Select.vue.d.ts +1200 -0
  84. package/dist/runtime/components/SelectMenu.vue +272 -366
  85. package/dist/runtime/components/SelectMenu.vue.d.ts +1298 -0
  86. package/dist/runtime/components/Separator.vue +61 -71
  87. package/dist/runtime/components/Separator.vue.d.ts +400 -0
  88. package/dist/runtime/components/Sidebar.vue +24 -33
  89. package/dist/runtime/components/Sidebar.vue.d.ts +101 -0
  90. package/dist/runtime/components/SidebarBody.vue +30 -38
  91. package/dist/runtime/components/SidebarBody.vue.d.ts +90 -0
  92. package/dist/runtime/components/SidebarFooter.vue +24 -33
  93. package/dist/runtime/components/SidebarFooter.vue.d.ts +101 -0
  94. package/dist/runtime/components/SidebarHeader.vue +24 -33
  95. package/dist/runtime/components/SidebarHeader.vue.d.ts +101 -0
  96. package/dist/runtime/components/SidebarHeading.vue +24 -33
  97. package/dist/runtime/components/SidebarHeading.vue.d.ts +101 -0
  98. package/dist/runtime/components/SidebarLayout.vue +40 -70
  99. package/dist/runtime/components/SidebarLayout.vue.d.ts +222 -0
  100. package/dist/runtime/components/SidebarSection.vue +24 -33
  101. package/dist/runtime/components/SidebarSection.vue.d.ts +101 -0
  102. package/dist/runtime/components/SidebarSpacer.vue +24 -33
  103. package/dist/runtime/components/SidebarSpacer.vue.d.ts +101 -0
  104. package/dist/runtime/components/Skeleton.vue +17 -22
  105. package/dist/runtime/components/Skeleton.vue.d.ts +26 -0
  106. package/dist/runtime/components/Slideover.vue +108 -131
  107. package/dist/runtime/components/Slideover.vue.d.ts +360 -0
  108. package/dist/runtime/components/StackedLayout.vue +40 -73
  109. package/dist/runtime/components/StackedLayout.vue.d.ts +192 -0
  110. package/dist/runtime/components/Switch.vue +100 -95
  111. package/dist/runtime/components/Switch.vue.d.ts +587 -0
  112. package/dist/runtime/components/Tabs.vue +83 -105
  113. package/dist/runtime/components/Tabs.vue.d.ts +453 -0
  114. package/dist/runtime/components/Textarea.vue +215 -203
  115. package/dist/runtime/components/Textarea.vue.d.ts +601 -0
  116. package/dist/runtime/components/Toast.vue +94 -105
  117. package/dist/runtime/components/Toast.vue.d.ts +438 -0
  118. package/dist/runtime/components/Toaster.vue +94 -111
  119. package/dist/runtime/components/Toaster.vue.d.ts +219 -0
  120. package/dist/runtime/components/Tooltip.vue +78 -64
  121. package/dist/runtime/components/Tooltip.vue.d.ts +186 -0
  122. package/dist/runtime/components/content/TableWrapper.vue +58 -70
  123. package/dist/runtime/components/content/TableWrapper.vue.d.ts +237 -0
  124. package/dist/runtime/composables/useAvatarGroup.d.ts +1 -1
  125. package/dist/runtime/composables/useButtonGroup.d.ts +2 -2
  126. package/dist/runtime/composables/useComponentIcons.d.ts +3 -3
  127. package/dist/runtime/composables/useFormField.d.ts +1 -1
  128. package/dist/runtime/prose/A.vue +18 -23
  129. package/dist/runtime/prose/A.vue.d.ts +84 -0
  130. package/dist/runtime/prose/Blockquote.vue +18 -23
  131. package/dist/runtime/prose/Blockquote.vue.d.ts +84 -0
  132. package/dist/runtime/prose/Code.vue +23 -31
  133. package/dist/runtime/prose/Code.vue.d.ts +97 -0
  134. package/dist/runtime/prose/Em.vue +18 -23
  135. package/dist/runtime/prose/Em.vue.d.ts +84 -0
  136. package/dist/runtime/prose/H1.vue +18 -23
  137. package/dist/runtime/prose/H1.vue.d.ts +97 -0
  138. package/dist/runtime/prose/H2.vue +18 -23
  139. package/dist/runtime/prose/H2.vue.d.ts +123 -0
  140. package/dist/runtime/prose/H3.vue +18 -23
  141. package/dist/runtime/prose/H3.vue.d.ts +123 -0
  142. package/dist/runtime/prose/H4.vue +18 -23
  143. package/dist/runtime/prose/H4.vue.d.ts +123 -0
  144. package/dist/runtime/prose/H5.vue +18 -23
  145. package/dist/runtime/prose/H5.vue.d.ts +123 -0
  146. package/dist/runtime/prose/H6.vue +18 -23
  147. package/dist/runtime/prose/H6.vue.d.ts +123 -0
  148. package/dist/runtime/prose/Hr.vue +18 -19
  149. package/dist/runtime/prose/Hr.vue.d.ts +74 -0
  150. package/dist/runtime/prose/Img.vue +18 -23
  151. package/dist/runtime/prose/Img.vue.d.ts +77 -0
  152. package/dist/runtime/prose/Li.vue +18 -23
  153. package/dist/runtime/prose/Li.vue.d.ts +84 -0
  154. package/dist/runtime/prose/Ol.vue +18 -23
  155. package/dist/runtime/prose/Ol.vue.d.ts +84 -0
  156. package/dist/runtime/prose/P.vue +18 -23
  157. package/dist/runtime/prose/P.vue.d.ts +84 -0
  158. package/dist/runtime/prose/Pre.vue +28 -33
  159. package/dist/runtime/prose/Pre.vue.d.ts +117 -0
  160. package/dist/runtime/prose/Strong.vue +18 -23
  161. package/dist/runtime/prose/Strong.vue.d.ts +84 -0
  162. package/dist/runtime/prose/Table.vue +44 -54
  163. package/dist/runtime/prose/Table.vue.d.ts +144 -0
  164. package/dist/runtime/prose/Tbody.vue +18 -23
  165. package/dist/runtime/prose/Tbody.vue.d.ts +84 -0
  166. package/dist/runtime/prose/Td.vue +18 -23
  167. package/dist/runtime/prose/Td.vue.d.ts +84 -0
  168. package/dist/runtime/prose/Th.vue +18 -23
  169. package/dist/runtime/prose/Th.vue.d.ts +84 -0
  170. package/dist/runtime/prose/Thead.vue +18 -23
  171. package/dist/runtime/prose/Thead.vue.d.ts +84 -0
  172. package/dist/runtime/prose/Tr.vue +18 -23
  173. package/dist/runtime/prose/Tr.vue.d.ts +84 -0
  174. package/dist/runtime/prose/Ul.vue +18 -23
  175. package/dist/runtime/prose/Ul.vue.d.ts +84 -0
  176. package/dist/runtime/vue/components/Link.vue +201 -202
  177. package/dist/runtime/vue/components/Link.vue.d.ts +129 -0
  178. package/dist/runtime/vue/stubs.d.ts +2 -2
  179. package/dist/shared/{b24ui-nuxt.DBFS6LH7.mjs → b24ui-nuxt.CS9Lf0os.mjs} +54 -4
  180. package/dist/types.d.mts +3 -5
  181. package/dist/unplugin.mjs +1 -1
  182. package/dist/vite.mjs +1 -1
  183. package/package.json +62 -35
  184. package/dist/meta.cjs +0 -71922
  185. package/dist/meta.d.cts +0 -71920
  186. package/dist/meta.d.ts +0 -71920
  187. package/dist/module.cjs +0 -59
  188. package/dist/module.d.cts +0 -15
  189. package/dist/module.d.ts +0 -15
  190. package/dist/shared/b24ui-nuxt.B9fPD5yO.cjs +0 -7671
  191. package/dist/types.d.ts +0 -7
  192. package/dist/unplugin.cjs +0 -236
  193. package/dist/unplugin.d.cts +0 -33
  194. package/dist/unplugin.d.ts +0 -33
  195. package/dist/vite.cjs +0 -21
  196. package/dist/vite.d.cts +0 -14
  197. package/dist/vite.d.ts +0 -14
@@ -0,0 +1,658 @@
1
+ import type { VariantProps } from 'tailwind-variants';
2
+ import type { NumberFieldRootProps } from 'reka-ui';
3
+ import type { ButtonProps, IconComponent } from '../types';
4
+ import type { PartialString } from '../types/utils';
5
+ declare const inputNumber: import("tailwind-variants").TVReturnType<{
6
+ size: {
7
+ xs: string;
8
+ sm: string;
9
+ md: string;
10
+ lg: string;
11
+ };
12
+ color: {
13
+ default: string;
14
+ danger: string;
15
+ success: string;
16
+ warning: string;
17
+ primary: string;
18
+ secondary: string;
19
+ collab: string;
20
+ ai: string;
21
+ };
22
+ tagColor: {
23
+ default: {
24
+ tag: string;
25
+ };
26
+ danger: {
27
+ tag: string;
28
+ };
29
+ success: {
30
+ tag: string;
31
+ };
32
+ warning: {
33
+ tag: string;
34
+ };
35
+ primary: {
36
+ tag: string;
37
+ };
38
+ secondary: {
39
+ tag: string;
40
+ };
41
+ collab: {
42
+ tag: string;
43
+ };
44
+ ai: {
45
+ tag: string;
46
+ };
47
+ };
48
+ rounded: {
49
+ true: string;
50
+ false: string;
51
+ };
52
+ noPadding: {
53
+ true: {
54
+ base: string;
55
+ };
56
+ };
57
+ noBorder: {
58
+ true: string;
59
+ };
60
+ underline: {
61
+ true: string;
62
+ };
63
+ disabled: {
64
+ true: {
65
+ increment: string;
66
+ decrement: string;
67
+ };
68
+ };
69
+ orientation: {
70
+ horizontal: {
71
+ base: string;
72
+ increment: string;
73
+ decrement: string;
74
+ };
75
+ vertical: {
76
+ increment: string;
77
+ decrement: string;
78
+ };
79
+ };
80
+ highlight: {
81
+ true: string;
82
+ };
83
+ }, {
84
+ root: string;
85
+ base: string;
86
+ increment: string;
87
+ decrement: string;
88
+ tag: string;
89
+ }, undefined, {
90
+ size: {
91
+ xs: string;
92
+ sm: string;
93
+ md: string;
94
+ lg: string;
95
+ };
96
+ color: {
97
+ default: string;
98
+ danger: string;
99
+ success: string;
100
+ warning: string;
101
+ primary: string;
102
+ secondary: string;
103
+ collab: string;
104
+ ai: string;
105
+ };
106
+ tagColor: {
107
+ default: {
108
+ tag: string;
109
+ };
110
+ danger: {
111
+ tag: string;
112
+ };
113
+ success: {
114
+ tag: string;
115
+ };
116
+ warning: {
117
+ tag: string;
118
+ };
119
+ primary: {
120
+ tag: string;
121
+ };
122
+ secondary: {
123
+ tag: string;
124
+ };
125
+ collab: {
126
+ tag: string;
127
+ };
128
+ ai: {
129
+ tag: string;
130
+ };
131
+ };
132
+ rounded: {
133
+ true: string;
134
+ false: string;
135
+ };
136
+ noPadding: {
137
+ true: {
138
+ base: string;
139
+ };
140
+ };
141
+ noBorder: {
142
+ true: string;
143
+ };
144
+ underline: {
145
+ true: string;
146
+ };
147
+ disabled: {
148
+ true: {
149
+ increment: string;
150
+ decrement: string;
151
+ };
152
+ };
153
+ orientation: {
154
+ horizontal: {
155
+ base: string;
156
+ increment: string;
157
+ decrement: string;
158
+ };
159
+ vertical: {
160
+ increment: string;
161
+ decrement: string;
162
+ };
163
+ };
164
+ highlight: {
165
+ true: string;
166
+ };
167
+ }, {
168
+ root: string;
169
+ base: string;
170
+ increment: string;
171
+ decrement: string;
172
+ tag: string;
173
+ }, import("tailwind-variants").TVReturnType<{
174
+ size: {
175
+ xs: string;
176
+ sm: string;
177
+ md: string;
178
+ lg: string;
179
+ };
180
+ color: {
181
+ default: string;
182
+ danger: string;
183
+ success: string;
184
+ warning: string;
185
+ primary: string;
186
+ secondary: string;
187
+ collab: string;
188
+ ai: string;
189
+ };
190
+ tagColor: {
191
+ default: {
192
+ tag: string;
193
+ };
194
+ danger: {
195
+ tag: string;
196
+ };
197
+ success: {
198
+ tag: string;
199
+ };
200
+ warning: {
201
+ tag: string;
202
+ };
203
+ primary: {
204
+ tag: string;
205
+ };
206
+ secondary: {
207
+ tag: string;
208
+ };
209
+ collab: {
210
+ tag: string;
211
+ };
212
+ ai: {
213
+ tag: string;
214
+ };
215
+ };
216
+ rounded: {
217
+ true: string;
218
+ false: string;
219
+ };
220
+ noPadding: {
221
+ true: {
222
+ base: string;
223
+ };
224
+ };
225
+ noBorder: {
226
+ true: string;
227
+ };
228
+ underline: {
229
+ true: string;
230
+ };
231
+ disabled: {
232
+ true: {
233
+ increment: string;
234
+ decrement: string;
235
+ };
236
+ };
237
+ orientation: {
238
+ horizontal: {
239
+ base: string;
240
+ increment: string;
241
+ decrement: string;
242
+ };
243
+ vertical: {
244
+ increment: string;
245
+ decrement: string;
246
+ };
247
+ };
248
+ highlight: {
249
+ true: string;
250
+ };
251
+ }, {
252
+ root: string;
253
+ base: string;
254
+ increment: string;
255
+ decrement: string;
256
+ tag: string;
257
+ }, undefined, {
258
+ size: {
259
+ xs: string;
260
+ sm: string;
261
+ md: string;
262
+ lg: string;
263
+ };
264
+ color: {
265
+ default: string;
266
+ danger: string;
267
+ success: string;
268
+ warning: string;
269
+ primary: string;
270
+ secondary: string;
271
+ collab: string;
272
+ ai: string;
273
+ };
274
+ tagColor: {
275
+ default: {
276
+ tag: string;
277
+ };
278
+ danger: {
279
+ tag: string;
280
+ };
281
+ success: {
282
+ tag: string;
283
+ };
284
+ warning: {
285
+ tag: string;
286
+ };
287
+ primary: {
288
+ tag: string;
289
+ };
290
+ secondary: {
291
+ tag: string;
292
+ };
293
+ collab: {
294
+ tag: string;
295
+ };
296
+ ai: {
297
+ tag: string;
298
+ };
299
+ };
300
+ rounded: {
301
+ true: string;
302
+ false: string;
303
+ };
304
+ noPadding: {
305
+ true: {
306
+ base: string;
307
+ };
308
+ };
309
+ noBorder: {
310
+ true: string;
311
+ };
312
+ underline: {
313
+ true: string;
314
+ };
315
+ disabled: {
316
+ true: {
317
+ increment: string;
318
+ decrement: string;
319
+ };
320
+ };
321
+ orientation: {
322
+ horizontal: {
323
+ base: string;
324
+ increment: string;
325
+ decrement: string;
326
+ };
327
+ vertical: {
328
+ increment: string;
329
+ decrement: string;
330
+ };
331
+ };
332
+ highlight: {
333
+ true: string;
334
+ };
335
+ }, {
336
+ root: string;
337
+ base: string;
338
+ increment: string;
339
+ decrement: string;
340
+ tag: string;
341
+ }, import("tailwind-variants").TVReturnType<{
342
+ size: {
343
+ xs: string;
344
+ sm: string;
345
+ md: string;
346
+ lg: string;
347
+ };
348
+ color: {
349
+ default: string;
350
+ danger: string;
351
+ success: string;
352
+ warning: string;
353
+ primary: string;
354
+ secondary: string;
355
+ collab: string;
356
+ ai: string;
357
+ };
358
+ tagColor: {
359
+ default: {
360
+ tag: string;
361
+ };
362
+ danger: {
363
+ tag: string;
364
+ };
365
+ success: {
366
+ tag: string;
367
+ };
368
+ warning: {
369
+ tag: string;
370
+ };
371
+ primary: {
372
+ tag: string;
373
+ };
374
+ secondary: {
375
+ tag: string;
376
+ };
377
+ collab: {
378
+ tag: string;
379
+ };
380
+ ai: {
381
+ tag: string;
382
+ };
383
+ };
384
+ rounded: {
385
+ true: string;
386
+ false: string;
387
+ };
388
+ noPadding: {
389
+ true: {
390
+ base: string;
391
+ };
392
+ };
393
+ noBorder: {
394
+ true: string;
395
+ };
396
+ underline: {
397
+ true: string;
398
+ };
399
+ disabled: {
400
+ true: {
401
+ increment: string;
402
+ decrement: string;
403
+ };
404
+ };
405
+ orientation: {
406
+ horizontal: {
407
+ base: string;
408
+ increment: string;
409
+ decrement: string;
410
+ };
411
+ vertical: {
412
+ increment: string;
413
+ decrement: string;
414
+ };
415
+ };
416
+ highlight: {
417
+ true: string;
418
+ };
419
+ }, {
420
+ root: string;
421
+ base: string;
422
+ increment: string;
423
+ decrement: string;
424
+ tag: string;
425
+ }, undefined, unknown, unknown, undefined>>>;
426
+ type InputNumberVariants = VariantProps<typeof inputNumber>;
427
+ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue' | 'defaultValue' | 'min' | 'max' | 'stepSnapping' | 'step' | 'disabled' | 'required' | 'id' | 'name' | 'formatOptions' | 'disableWheelChange'> {
428
+ /**
429
+ * The element or component this component should render as.
430
+ * @defaultValue 'div'
431
+ */
432
+ as?: any;
433
+ /**
434
+ * The placeholder text when the input is empty
435
+ */
436
+ placeholder?: string;
437
+ /**
438
+ * @defaultValue 'primary'
439
+ */
440
+ color?: InputNumberVariants['color'];
441
+ /**
442
+ * @defaultValue 'md'
443
+ */
444
+ size?: InputNumberVariants['size'];
445
+ /**
446
+ * Removes padding from input
447
+ * @defaultValue false
448
+ */
449
+ noPadding?: boolean;
450
+ /**
451
+ * Removes all borders (rings)
452
+ * @defaultValue false
453
+ */
454
+ noBorder?: boolean;
455
+ /**
456
+ * Removes all borders (rings) except the bottom one
457
+ * @defaultValue false
458
+ */
459
+ underline?: boolean;
460
+ /**
461
+ * Rounds the corners of the button
462
+ * @defaultValue false
463
+ */
464
+ rounded?: boolean;
465
+ tag?: string;
466
+ /**
467
+ * @defaultValue 'primary'
468
+ */
469
+ tagColor?: InputNumberVariants['tagColor'];
470
+ /**
471
+ * Highlight the ring color like a focus state
472
+ * @defaultValue false
473
+ */
474
+ highlight?: boolean;
475
+ /**
476
+ * The orientation of the input menu.
477
+ * @defaultValue 'horizontal'
478
+ */
479
+ orientation?: 'vertical' | 'horizontal';
480
+ /**
481
+ * Configure the increment button. The `size` is inherited.
482
+ * @defaultValue { color: 'link', depth: 'light' }
483
+ */
484
+ increment?: ButtonProps;
485
+ /**
486
+ * The icon displayed to increment the value.
487
+ * @defaultValue icons.plus
488
+ * @IconComponent
489
+ */
490
+ incrementIcon?: IconComponent;
491
+ /**
492
+ * Configure the decrement button. The `size` is inherited.
493
+ * @defaultValue { color: 'link', depth: 'light' }
494
+ */
495
+ decrement?: ButtonProps;
496
+ /**
497
+ * The icon displayed to decrement the value.
498
+ * @defaultValue icons.minus
499
+ * @IconComponent
500
+ */
501
+ decrementIcon?: IconComponent;
502
+ /**
503
+ * @defaultValue false
504
+ */
505
+ autofocus?: boolean;
506
+ /**
507
+ * @defaultValue 0
508
+ */
509
+ autofocusDelay?: number;
510
+ /**
511
+ * The locale to use for formatting and parsing numbers.
512
+ * @defaultValue B24App.locale.code
513
+ */
514
+ locale?: string;
515
+ class?: any;
516
+ b24ui?: PartialString<typeof inputNumber.slots>;
517
+ }
518
+ export interface InputNumberEmits {
519
+ (e: 'update:modelValue', payload: number): void;
520
+ (e: 'blur', event: FocusEvent): void;
521
+ (e: 'change', payload: Event): void;
522
+ }
523
+ export interface InputNumberSlots {
524
+ increment(props?: {}): any;
525
+ decrement(props?: {}): any;
526
+ }
527
+ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<InputNumberProps>, {
528
+ orientation: string;
529
+ color: string;
530
+ size: string;
531
+ }>>, {
532
+ inputRef: import("vue").Ref<({
533
+ $: import("vue").ComponentInternalInstance;
534
+ $data: {};
535
+ $props: {
536
+ readonly asChild?: boolean | undefined;
537
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
538
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
539
+ $attrs: {
540
+ [x: string]: unknown;
541
+ };
542
+ $refs: {
543
+ [x: string]: unknown;
544
+ };
545
+ $slots: Readonly<{
546
+ [name: string]: import("vue").Slot<any> | undefined;
547
+ }>;
548
+ $root: import("vue").ComponentPublicInstance | null;
549
+ $parent: import("vue").ComponentPublicInstance | null;
550
+ $host: Element | null;
551
+ $emit: (event: string, ...args: any[]) => void;
552
+ $el: any;
553
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").NumberFieldInputProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
554
+ as: import("reka-ui").AsTag | import("vue").Component;
555
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
556
+ beforeCreate?: (() => void) | (() => void)[];
557
+ created?: (() => void) | (() => void)[];
558
+ beforeMount?: (() => void) | (() => void)[];
559
+ mounted?: (() => void) | (() => void)[];
560
+ beforeUpdate?: (() => void) | (() => void)[];
561
+ updated?: (() => void) | (() => void)[];
562
+ activated?: (() => void) | (() => void)[];
563
+ deactivated?: (() => void) | (() => void)[];
564
+ beforeDestroy?: (() => void) | (() => void)[];
565
+ beforeUnmount?: (() => void) | (() => void)[];
566
+ destroyed?: (() => void) | (() => void)[];
567
+ unmounted?: (() => void) | (() => void)[];
568
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
569
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
570
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
571
+ };
572
+ $forceUpdate: () => void;
573
+ $nextTick: typeof import("vue").nextTick;
574
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
575
+ } & Readonly<{
576
+ as: import("reka-ui").AsTag | import("vue").Component;
577
+ }> & Omit<Readonly<import("reka-ui").NumberFieldInputProps> & Readonly<{}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
578
+ $slots: {
579
+ default?(_: {}): any;
580
+ };
581
+ }) | null, ({
582
+ $: import("vue").ComponentInternalInstance;
583
+ $data: {};
584
+ $props: {
585
+ readonly asChild?: boolean | undefined;
586
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
587
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
588
+ $attrs: {
589
+ [x: string]: unknown;
590
+ };
591
+ $refs: {
592
+ [x: string]: unknown;
593
+ };
594
+ $slots: Readonly<{
595
+ [name: string]: import("vue").Slot<any> | undefined;
596
+ }>;
597
+ $root: import("vue").ComponentPublicInstance | null;
598
+ $parent: import("vue").ComponentPublicInstance | null;
599
+ $host: Element | null;
600
+ $emit: (event: string, ...args: any[]) => void;
601
+ $el: any;
602
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").NumberFieldInputProps> & Readonly<{}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
603
+ as: import("reka-ui").AsTag | import("vue").Component;
604
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
605
+ beforeCreate?: (() => void) | (() => void)[];
606
+ created?: (() => void) | (() => void)[];
607
+ beforeMount?: (() => void) | (() => void)[];
608
+ mounted?: (() => void) | (() => void)[];
609
+ beforeUpdate?: (() => void) | (() => void)[];
610
+ updated?: (() => void) | (() => void)[];
611
+ activated?: (() => void) | (() => void)[];
612
+ deactivated?: (() => void) | (() => void)[];
613
+ beforeDestroy?: (() => void) | (() => void)[];
614
+ beforeUnmount?: (() => void) | (() => void)[];
615
+ destroyed?: (() => void) | (() => void)[];
616
+ unmounted?: (() => void) | (() => void)[];
617
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
618
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
619
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
620
+ };
621
+ $forceUpdate: () => void;
622
+ $nextTick: typeof import("vue").nextTick;
623
+ $watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
624
+ } & Readonly<{
625
+ as: import("reka-ui").AsTag | import("vue").Component;
626
+ }> & Omit<Readonly<import("reka-ui").NumberFieldInputProps> & Readonly<{}>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
627
+ $slots: {
628
+ default?(_: {}): any;
629
+ };
630
+ }) | null>;
631
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, any, string, import("vue").PublicProps, any, {
632
+ size: "md" | "xs" | "sm" | "lg";
633
+ orientation: "vertical" | "horizontal";
634
+ color: "default" | "danger" | "success" | "warning" | "primary" | "secondary" | "collab" | "ai";
635
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, Readonly<InputNumberSlots> & InputNumberSlots>;
636
+ export default _default;
637
+ type __VLS_WithDefaults<P, D> = {
638
+ [K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_PrettifyLocal<P[K] & {
639
+ default: D[K];
640
+ }> : P[K];
641
+ };
642
+ type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
643
+ type __VLS_TypePropsToOption<T> = {
644
+ [K in keyof T]-?: {} extends Pick<T, K> ? {
645
+ type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
646
+ } : {
647
+ type: import('vue').PropType<T[K]>;
648
+ required: true;
649
+ };
650
+ };
651
+ type __VLS_WithTemplateSlots<T, S> = T & {
652
+ new (): {
653
+ $slots: S;
654
+ };
655
+ };
656
+ type __VLS_PrettifyLocal<T> = {
657
+ [K in keyof T]: T[K];
658
+ } & {};