@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,658 +0,0 @@
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
- } & {};