@bitrix24/b24ui-nuxt 0.6.7 → 0.7.0

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 (198) hide show
  1. package/.nuxt/b24ui/accordion.ts +20 -0
  2. package/.nuxt/b24ui/advice.ts +2 -10
  3. package/.nuxt/b24ui/alert.ts +2 -15
  4. package/.nuxt/b24ui/avatar-group.ts +2 -10
  5. package/.nuxt/b24ui/avatar.ts +3 -11
  6. package/.nuxt/b24ui/badge.ts +48 -13
  7. package/.nuxt/b24ui/button-group.ts +2 -22
  8. package/.nuxt/b24ui/button.ts +4 -17
  9. package/.nuxt/b24ui/calendar.ts +3 -11
  10. package/.nuxt/b24ui/checkbox.ts +75 -11
  11. package/.nuxt/b24ui/chip.ts +2 -10
  12. package/.nuxt/b24ui/collapsible.ts +2 -10
  13. package/.nuxt/b24ui/container.ts +2 -10
  14. package/.nuxt/b24ui/countdown.ts +2 -10
  15. package/.nuxt/b24ui/description-list.ts +2 -15
  16. package/.nuxt/b24ui/dropdown-menu.ts +4 -11
  17. package/.nuxt/b24ui/form-field.ts +3 -10
  18. package/.nuxt/b24ui/form.ts +2 -10
  19. package/.nuxt/b24ui/index.ts +1 -0
  20. package/.nuxt/b24ui/input-menu.ts +6 -30
  21. package/.nuxt/b24ui/input-number.ts +15 -10
  22. package/.nuxt/b24ui/input.ts +4 -17
  23. package/.nuxt/b24ui/kbd.ts +2 -10
  24. package/.nuxt/b24ui/link.ts +11 -17
  25. package/.nuxt/b24ui/modal.ts +3 -11
  26. package/.nuxt/b24ui/navbar-divider.ts +2 -10
  27. package/.nuxt/b24ui/navbar-section.ts +2 -10
  28. package/.nuxt/b24ui/navbar-spacer.ts +2 -10
  29. package/.nuxt/b24ui/navbar.ts +2 -10
  30. package/.nuxt/b24ui/navigation-menu.ts +69 -60
  31. package/.nuxt/b24ui/popover.ts +2 -10
  32. package/.nuxt/b24ui/progress.ts +2 -10
  33. package/.nuxt/b24ui/radio-group.ts +3 -11
  34. package/.nuxt/b24ui/range.ts +2 -10
  35. package/.nuxt/b24ui/select-menu.ts +10 -40
  36. package/.nuxt/b24ui/select.ts +10 -40
  37. package/.nuxt/b24ui/separator.ts +2 -10
  38. package/.nuxt/b24ui/sidebar-body.ts +2 -10
  39. package/.nuxt/b24ui/sidebar-footer.ts +2 -10
  40. package/.nuxt/b24ui/sidebar-header.ts +2 -10
  41. package/.nuxt/b24ui/sidebar-heading.ts +2 -10
  42. package/.nuxt/b24ui/sidebar-layout.ts +2 -10
  43. package/.nuxt/b24ui/sidebar-section.ts +2 -10
  44. package/.nuxt/b24ui/sidebar-spacer.ts +2 -10
  45. package/.nuxt/b24ui/sidebar.ts +2 -10
  46. package/.nuxt/b24ui/skeleton.ts +2 -10
  47. package/.nuxt/b24ui/slideover.ts +2 -10
  48. package/.nuxt/b24ui/stacked-layout.ts +2 -10
  49. package/.nuxt/b24ui/switch.ts +2 -10
  50. package/.nuxt/b24ui/tabs.ts +6 -13
  51. package/.nuxt/b24ui/textarea.ts +4 -17
  52. package/.nuxt/b24ui/toast.ts +2 -15
  53. package/.nuxt/b24ui/toaster.ts +3 -11
  54. package/.nuxt/b24ui/tooltip.ts +3 -11
  55. package/.nuxt/b24ui.css +1 -1
  56. package/cli/templates.mjs +2 -2
  57. package/dist/meta.d.mts +38368 -18666
  58. package/dist/meta.mjs +38368 -18666
  59. package/dist/module.json +1 -1
  60. package/dist/module.mjs +11 -3
  61. package/dist/runtime/components/Accordion.vue +96 -0
  62. package/dist/runtime/components/Accordion.vue.d.ts +78 -0
  63. package/dist/runtime/components/Advice.vue +1 -1
  64. package/dist/runtime/components/Alert.vue +1 -1
  65. package/dist/runtime/components/Avatar.vue +11 -3
  66. package/dist/runtime/components/Avatar.vue.d.ts +2 -1
  67. package/dist/runtime/components/AvatarGroup.vue +1 -1
  68. package/dist/runtime/components/Badge.vue +5 -3
  69. package/dist/runtime/components/Badge.vue.d.ts +2 -0
  70. package/dist/runtime/components/Button.vue +2 -3
  71. package/dist/runtime/components/Button.vue.d.ts +1 -1
  72. package/dist/runtime/components/Calendar.vue +6 -2
  73. package/dist/runtime/components/Checkbox.vue +14 -5
  74. package/dist/runtime/components/Checkbox.vue.d.ts +9 -0
  75. package/dist/runtime/components/Chip.vue +1 -1
  76. package/dist/runtime/components/Collapsible.vue +1 -1
  77. package/dist/runtime/components/Countdown.vue +1 -1
  78. package/dist/runtime/components/Countdown.vue.d.ts +2 -2
  79. package/dist/runtime/components/DescriptionList.vue +3 -2
  80. package/dist/runtime/components/DescriptionList.vue.d.ts +1 -1
  81. package/dist/runtime/components/DropdownMenu.vue +1 -1
  82. package/dist/runtime/components/DropdownMenu.vue.d.ts +2 -0
  83. package/dist/runtime/components/DropdownMenuContent.vue +74 -72
  84. package/dist/runtime/components/DropdownMenuContent.vue.d.ts +4 -20
  85. package/dist/runtime/components/Form.vue +6 -6
  86. package/dist/runtime/components/Form.vue.d.ts +12 -11
  87. package/dist/runtime/components/FormField.vue +4 -4
  88. package/dist/runtime/components/Input.vue +12 -8
  89. package/dist/runtime/components/Input.vue.d.ts +31 -30
  90. package/dist/runtime/components/InputMenu.vue +23 -20
  91. package/dist/runtime/components/InputMenu.vue.d.ts +214 -4
  92. package/dist/runtime/components/InputNumber.vue +17 -10
  93. package/dist/runtime/components/InputNumber.vue.d.ts +80 -3
  94. package/dist/runtime/components/Link.vue +5 -13
  95. package/dist/runtime/components/Modal.vue +22 -14
  96. package/dist/runtime/components/Modal.vue.d.ts +18 -5
  97. package/dist/runtime/components/Navbar.vue +1 -1
  98. package/dist/runtime/components/NavbarDivider.vue +1 -1
  99. package/dist/runtime/components/NavbarSection.vue +1 -1
  100. package/dist/runtime/components/NavbarSpacer.vue +1 -1
  101. package/dist/runtime/components/NavigationMenu.vue +186 -44
  102. package/dist/runtime/components/NavigationMenu.vue.d.ts +39 -8
  103. package/dist/runtime/components/OverlayProvider.vue +2 -2
  104. package/dist/runtime/components/Popover.vue +4 -0
  105. package/dist/runtime/components/Popover.vue.d.ts +2 -1
  106. package/dist/runtime/components/Progress.vue +3 -2
  107. package/dist/runtime/components/Progress.vue.d.ts +2 -2
  108. package/dist/runtime/components/RadioGroup.vue +26 -10
  109. package/dist/runtime/components/RadioGroup.vue.d.ts +3 -1
  110. package/dist/runtime/components/Range.vue +2 -2
  111. package/dist/runtime/components/Range.vue.d.ts +19 -20
  112. package/dist/runtime/components/Select.vue +57 -31
  113. package/dist/runtime/components/Select.vue.d.ts +110 -2
  114. package/dist/runtime/components/SelectMenu.vue +77 -23
  115. package/dist/runtime/components/SelectMenu.vue.d.ts +111 -5
  116. package/dist/runtime/components/Separator.vue +3 -3
  117. package/dist/runtime/components/Sidebar.vue +1 -1
  118. package/dist/runtime/components/SidebarBody.vue +1 -1
  119. package/dist/runtime/components/SidebarFooter.vue +1 -1
  120. package/dist/runtime/components/SidebarHeader.vue +1 -1
  121. package/dist/runtime/components/SidebarHeading.vue +1 -1
  122. package/dist/runtime/components/SidebarLayout.vue +1 -1
  123. package/dist/runtime/components/SidebarSection.vue +1 -1
  124. package/dist/runtime/components/SidebarSpacer.vue +1 -1
  125. package/dist/runtime/components/Slideover.vue +23 -15
  126. package/dist/runtime/components/Slideover.vue.d.ts +18 -5
  127. package/dist/runtime/components/StackedLayout.vue +1 -1
  128. package/dist/runtime/components/Switch.vue +1 -1
  129. package/dist/runtime/components/Tabs.vue +28 -7
  130. package/dist/runtime/components/Tabs.vue.d.ts +6 -1
  131. package/dist/runtime/components/Textarea.vue +13 -9
  132. package/dist/runtime/components/Textarea.vue.d.ts +31 -30
  133. package/dist/runtime/components/Toast.vue +7 -6
  134. package/dist/runtime/components/Toast.vue.d.ts +6 -0
  135. package/dist/runtime/components/Toaster.vue +4 -4
  136. package/dist/runtime/components/Toaster.vue.d.ts +6 -0
  137. package/dist/runtime/components/Tooltip.vue +9 -2
  138. package/dist/runtime/components/Tooltip.vue.d.ts +2 -1
  139. package/dist/runtime/components/content/TableWrapper.vue +1 -1
  140. package/dist/runtime/composables/defineLocale.d.ts +2 -0
  141. package/dist/runtime/composables/defineLocale.js +4 -0
  142. package/dist/runtime/composables/defineShortcuts.js +8 -2
  143. package/dist/runtime/composables/useFormField.d.ts +1 -1
  144. package/dist/runtime/composables/useFormField.js +2 -1
  145. package/dist/runtime/composables/useKbd.d.ts +1 -0
  146. package/dist/runtime/composables/useKbd.js +4 -3
  147. package/dist/runtime/composables/useOverlay.d.ts +11 -11
  148. package/dist/runtime/composables/useOverlay.js +17 -11
  149. package/dist/runtime/inertia/components/Link.vue +45 -60
  150. package/dist/runtime/inertia/components/Link.vue.d.ts +1 -1
  151. package/dist/runtime/inertia/components/LinkBase.vue +68 -0
  152. package/dist/runtime/inertia/components/LinkBase.vue.d.ts +25 -0
  153. package/dist/runtime/inertia/stubs.d.ts +1 -1
  154. package/dist/runtime/inertia/stubs.js +1 -1
  155. package/dist/runtime/prose/A.vue +1 -1
  156. package/dist/runtime/prose/Blockquote.vue +1 -1
  157. package/dist/runtime/prose/Code.vue +1 -1
  158. package/dist/runtime/prose/Em.vue +1 -1
  159. package/dist/runtime/prose/H1.vue +1 -1
  160. package/dist/runtime/prose/H2.vue +1 -1
  161. package/dist/runtime/prose/H3.vue +1 -1
  162. package/dist/runtime/prose/H4.vue +1 -1
  163. package/dist/runtime/prose/H5.vue +1 -1
  164. package/dist/runtime/prose/H6.vue +1 -1
  165. package/dist/runtime/prose/Hr.vue +1 -1
  166. package/dist/runtime/prose/Img.vue +1 -1
  167. package/dist/runtime/prose/Li.vue +1 -1
  168. package/dist/runtime/prose/Ol.vue +1 -1
  169. package/dist/runtime/prose/P.vue +1 -1
  170. package/dist/runtime/prose/Pre.vue +1 -1
  171. package/dist/runtime/prose/Strong.vue +1 -1
  172. package/dist/runtime/prose/Table.vue +1 -1
  173. package/dist/runtime/prose/Tbody.vue +1 -1
  174. package/dist/runtime/prose/Td.vue +1 -1
  175. package/dist/runtime/prose/Th.vue +1 -1
  176. package/dist/runtime/prose/Thead.vue +1 -1
  177. package/dist/runtime/prose/Tr.vue +1 -1
  178. package/dist/runtime/prose/Ul.vue +1 -1
  179. package/dist/runtime/types/form.d.ts +11 -10
  180. package/dist/runtime/types/index.d.ts +1 -0
  181. package/dist/runtime/types/index.js +1 -0
  182. package/dist/runtime/types/locale.d.ts +1 -0
  183. package/dist/runtime/types/tv.d.ts +53 -0
  184. package/dist/runtime/types/tv.js +0 -0
  185. package/dist/runtime/types/utils.d.ts +4 -51
  186. package/dist/runtime/types/utils.js +1 -0
  187. package/dist/runtime/utils/link.d.ts +1 -0
  188. package/dist/runtime/utils/link.js +12 -0
  189. package/dist/runtime/vue/components/Link.vue +26 -40
  190. package/dist/runtime/vue/composables/useAppConfig.js +3 -1
  191. package/dist/runtime/vue/stubs.d.ts +1 -1
  192. package/dist/runtime/vue/stubs.js +1 -1
  193. package/dist/shared/{b24ui-nuxt.jU270f-Q.mjs → b24ui-nuxt.C-kZb5Ac.mjs} +267 -121
  194. package/dist/unplugin.d.mts +2 -2
  195. package/dist/unplugin.mjs +6 -3
  196. package/dist/vite.d.mts +1 -1
  197. package/dist/vite.mjs +2 -2
  198. package/package.json +41 -40
@@ -4,7 +4,7 @@ import theme from "#build/b24ui/input-menu";
4
4
 
5
5
  <script setup>
6
6
  import { computed, ref, toRef, onMounted, toRaw } from "vue";
7
- import { ComboboxRoot, ComboboxArrow, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxViewport, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxSeparator, ComboboxItem, ComboboxItemIndicator, TagsInputRoot, TagsInputItem, TagsInputItemText, TagsInputItemDelete, TagsInputInput, useForwardPropsEmits, useFilter } from "reka-ui";
7
+ import { ComboboxRoot, ComboboxArrow, ComboboxAnchor, ComboboxInput, ComboboxTrigger, ComboboxPortal, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxLabel, ComboboxSeparator, ComboboxItem, ComboboxItemIndicator, TagsInputRoot, TagsInputItem, TagsInputItemText, TagsInputItemDelete, TagsInputInput, useForwardPropsEmits, useFilter } from "reka-ui";
8
8
  import { defu } from "defu";
9
9
  import { isEqual } from "ohash/utils";
10
10
  import { reactivePick, createReusableTemplate } from "@vueuse/core";
@@ -229,7 +229,7 @@ defineExpose({
229
229
  :is="icons.plus"
230
230
  :class="b24ui.itemLeadingIcon({ addNew: true, class: props.b24ui?.itemLeadingIcon })"
231
231
  />
232
- {{ t('inputMenu.create', { label: searchTerm }) }}
232
+ {{ t("inputMenu.create", { label: searchTerm }) }}
233
233
  </slot>
234
234
  </span>
235
235
  </ComboboxItem>
@@ -242,7 +242,7 @@ defineExpose({
242
242
  v-bind="rootProps"
243
243
  :name="name"
244
244
  :disabled="disabled"
245
- :class="b24ui.root({ class: [props.class, props.b24ui?.root] })"
245
+ :class="b24ui.root({ class: [props.b24ui?.root, props.class] })"
246
246
  :as-child="!!multiple"
247
247
  ignore-filter
248
248
  @update:model-value="onUpdate"
@@ -265,18 +265,18 @@ defineExpose({
265
265
  @focus="onFocus"
266
266
  @remove-tag="onRemoveTag"
267
267
  >
268
- <TagsInputItem v-for="(item, index) in tags" :key="index" :value="item" :class="b24ui.tagsItem({ class: props.b24ui?.tagsItem })">
269
- <TagsInputItemText :class="b24ui.tagsItemText({ class: props.b24ui?.tagsItemText })">
268
+ <TagsInputItem v-for="(item, index) in tags" :key="index" :value="item" :class="b24ui.tagsItem({ class: [props.b24ui?.tagsItem, isInputItem(item) && item.b24ui?.tagsItem] })">
269
+ <TagsInputItemText :class="b24ui.tagsItemText({ class: [props.b24ui?.tagsItemText, isInputItem(item) && item.b24ui?.tagsItemText] })">
270
270
  <slot name="tags-item-text" :item="item" :index="index">
271
271
  {{ displayValue(item) }}
272
272
  </slot>
273
273
  </TagsInputItemText>
274
274
 
275
- <TagsInputItemDelete :class="b24ui.tagsItemDelete({ class: props.b24ui?.tagsItemDelete })" :disabled="disabled">
275
+ <TagsInputItemDelete :class="b24ui.tagsItemDelete({ class: [props.b24ui?.tagsItemDelete, isInputItem(item) && item.b24ui?.tagsItemDelete] })" :disabled="disabled">
276
276
  <slot name="tags-item-delete" :item="item" :index="index">
277
277
  <Component
278
278
  :is="deleteIcon || icons.close"
279
- :class="b24ui.tagsItemDeleteIcon({ class: props.b24ui?.tagsItemDeleteIcon })"
279
+ :class="b24ui.tagsItemDeleteIcon({ class: [props.b24ui?.tagsItemDeleteIcon, isInputItem(item) && item.b24ui?.tagsItemDeleteIcon] })"
280
280
  />
281
281
  </slot>
282
282
  </TagsInputItemDelete>
@@ -334,24 +334,27 @@ defineExpose({
334
334
 
335
335
  <ComboboxEmpty :class="b24ui.empty({ class: props.b24ui?.empty })">
336
336
  <slot name="empty" :search-term="searchTerm">
337
- {{ searchTerm ? t('inputMenu.noMatch', { searchTerm }) : t('inputMenu.noData') }}
337
+ {{ searchTerm ? t("inputMenu.noMatch", { searchTerm }) : t("inputMenu.noData") }}
338
338
  </slot>
339
339
  </ComboboxEmpty>
340
340
 
341
- <ComboboxViewport :class="b24ui.viewport({ class: props.b24ui?.viewport })">
341
+ <div
342
+ role="presentation"
343
+ :class="b24ui.viewport({ class: props.b24ui?.viewport })"
344
+ >
342
345
  <ReuseCreateItemTemplate v-if="createItem && createItemPosition === 'top'" />
343
346
 
344
347
  <ComboboxGroup v-for="(group, groupIndex) in filteredGroups" :key="`group-${groupIndex}`" :class="b24ui.group({ class: props.b24ui?.group })">
345
348
  <template v-for="(item, index) in group" :key="`group-${groupIndex}-${index}`">
346
- <ComboboxLabel v-if="isInputItem(item) && item.type === 'label'" :class="b24ui.label({ class: props.b24ui?.label })">
349
+ <ComboboxLabel v-if="isInputItem(item) && item.type === 'label'" :class="b24ui.label({ class: [props.b24ui?.label, item.b24ui?.label, item.class] })">
347
350
  {{ get(item, props.labelKey) }}
348
351
  </ComboboxLabel>
349
352
 
350
- <ComboboxSeparator v-else-if="isInputItem(item) && item.type === 'separator'" :class="b24ui.separator({ class: props.b24ui?.separator })" />
353
+ <ComboboxSeparator v-else-if="isInputItem(item) && item.type === 'separator'" :class="b24ui.separator({ class: [props.b24ui?.separator, item.b24ui?.separator, item.class] })" />
351
354
 
352
355
  <ComboboxItem
353
356
  v-else
354
- :class="b24ui.item({ class: props.b24ui?.item, colorItem: isInputItem(item) ? item?.color : void 0 })"
357
+ :class="b24ui.item({ class: [props.b24ui?.item, isInputItem(item) && item.b24ui?.item, isInputItem(item) && item.class], colorItem: isInputItem(item) ? item?.color : void 0 })"
355
358
  :disabled="isInputItem(item) && item.disabled"
356
359
  :value="props.valueKey && isInputItem(item) ? get(item, props.valueKey) : item"
357
360
  @select="onSelect($event, item)"
@@ -361,32 +364,32 @@ defineExpose({
361
364
  <Component
362
365
  :is="item.icon"
363
366
  v-if="isInputItem(item) && item.icon"
364
- :class="b24ui.itemLeadingIcon({ class: props.b24ui?.itemLeadingIcon, colorItem: item?.color })"
367
+ :class="b24ui.itemLeadingIcon({ class: [props.b24ui?.itemLeadingIcon, item.b24ui?.itemLeadingIcon], colorItem: item?.color })"
365
368
  />
366
- <B24Avatar v-else-if="isInputItem(item) && item.avatar" :size="props.b24ui?.itemLeadingAvatarSize || b24ui.itemLeadingAvatarSize()" v-bind="item.avatar" :class="b24ui.itemLeadingAvatar({ class: props.b24ui?.itemLeadingAvatar, colorItem: item?.color })" />
369
+ <B24Avatar v-else-if="isInputItem(item) && item.avatar" :size="item.b24ui?.itemLeadingAvatarSize || props.b24ui?.itemLeadingAvatarSize || b24ui.itemLeadingAvatarSize()" v-bind="item.avatar" :class="b24ui.itemLeadingAvatar({ class: [props.b24ui?.itemLeadingAvatar, item.b24ui?.itemLeadingAvatar], colorItem: item?.color })" />
367
370
  <B24Chip
368
371
  v-else-if="isInputItem(item) && item.chip"
369
- :size="props.b24ui?.itemLeadingChipSize || b24ui.itemLeadingChipSize()"
372
+ :size="item.b24ui?.itemLeadingChipSize || props.b24ui?.itemLeadingChipSize || b24ui.itemLeadingChipSize()"
370
373
  inset
371
374
  standalone
372
375
  v-bind="item.chip"
373
- :class="b24ui.itemLeadingChip({ class: props.b24ui?.itemLeadingChip, colorItem: item?.color })"
376
+ :class="b24ui.itemLeadingChip({ class: [props.b24ui?.itemLeadingChip, item.b24ui?.itemLeadingChip], colorItem: item?.color })"
374
377
  />
375
378
  </slot>
376
379
 
377
- <span :class="b24ui.itemLabel({ class: props.b24ui?.itemLabel })">
380
+ <span :class="b24ui.itemLabel({ class: [props.b24ui?.itemLabel, isInputItem(item) && item.b24ui?.itemLabel] })">
378
381
  <slot name="item-label" :item="item" :index="index">
379
382
  {{ isInputItem(item) ? get(item, props.labelKey) : item }}
380
383
  </slot>
381
384
  </span>
382
385
 
383
- <span :class="b24ui.itemTrailing({ class: props.b24ui?.itemTrailing, colorItem: isInputItem(item) ? item?.color : void 0 })">
386
+ <span :class="b24ui.itemTrailing({ class: [props.b24ui?.itemTrailing, isInputItem(item) && item.b24ui?.itemTrailing], colorItem: isInputItem(item) ? item?.color : void 0 })">
384
387
  <slot name="item-trailing" :item="item" :index="index" />
385
388
 
386
389
  <ComboboxItemIndicator as-child>
387
390
  <Component
388
391
  :is="selectedIcon || icons.check"
389
- :class="b24ui.itemTrailingIcon({ class: props.b24ui?.itemTrailingIcon, colorItem: isInputItem(item) ? item?.color : void 0 })"
392
+ :class="b24ui.itemTrailingIcon({ class: [props.b24ui?.itemTrailingIcon, isInputItem(item) && item.b24ui?.itemTrailingIcon], colorItem: isInputItem(item) ? item?.color : void 0 })"
390
393
  />
391
394
  </ComboboxItemIndicator>
392
395
  </span>
@@ -396,7 +399,7 @@ defineExpose({
396
399
  </ComboboxGroup>
397
400
 
398
401
  <ReuseCreateItemTemplate v-if="createItem && createItemPosition === 'bottom'" />
399
- </ComboboxViewport>
402
+ </div>
400
403
 
401
404
  <slot name="content-bottom" />
402
405
 
@@ -23,6 +23,8 @@ interface _InputMenuItem {
23
23
  type?: 'label' | 'separator' | 'item';
24
24
  disabled?: boolean;
25
25
  onSelect?(e?: Event): void;
26
+ class?: any;
27
+ b24ui?: Pick<InputMenu['slots'], 'tagsItem' | 'tagsItemText' | 'tagsItemDelete' | 'tagsItemDeleteIcon' | 'label' | 'separator' | 'item' | 'itemLeadingIcon' | 'itemLeadingAvatarSize' | 'itemLeadingAvatar' | 'itemLeadingChip' | 'itemLeadingChipSize' | 'itemLabel' | 'itemTrailing' | 'itemTrailingIcon'>;
26
28
  [key: string]: any;
27
29
  }
28
30
  export type InputMenuItem = _InputMenuItem | AcceptableValue | boolean;
@@ -223,12 +225,12 @@ declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetI
223
225
  readonly onChange?: ((payload: Event) => any) | undefined;
224
226
  readonly onFocus?: ((payload: FocusEvent) => any) | undefined;
225
227
  readonly onCreate?: ((item: string) => any) | undefined;
228
+ readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
229
+ readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
226
230
  readonly onHighlight?: ((payload: {
227
231
  ref: HTMLElement;
228
232
  value: GetModelValue<T, VK, M>;
229
233
  } | undefined) => any) | undefined;
230
- readonly "onUpdate:open"?: ((value: boolean) => any) | undefined;
231
- readonly "onUpdate:modelValue"?: ((payload: GetModelValue<T, VK, M>) => any) | undefined;
232
234
  readonly "onUpdate:searchTerm"?: ((value: string) => any) | undefined;
233
235
  } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>, "onFocus" | "onBlur" | "onChange" | "onUpdate:open" | "onUpdate:modelValue" | "onCreate" | "onHighlight" | "onUpdate:searchTerm"> & (InputMenuProps<T, VK, M> & {
234
236
  searchTerm?: string;
@@ -251,6 +253,110 @@ declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetI
251
253
  };
252
254
  $refs: {
253
255
  [x: string]: unknown;
256
+ } & {
257
+ primitiveElement: ({
258
+ $: import("vue").ComponentInternalInstance;
259
+ $data: {};
260
+ $props: {
261
+ readonly modelValue?: string | undefined;
262
+ readonly autoFocus?: boolean | undefined;
263
+ readonly disabled?: boolean | undefined;
264
+ readonly asChild?: boolean | undefined;
265
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
266
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
267
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
268
+ $attrs: {
269
+ [x: string]: unknown;
270
+ };
271
+ $refs: {
272
+ [x: string]: unknown;
273
+ } & {
274
+ primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
275
+ asChild: {
276
+ type: BooleanConstructor;
277
+ default: boolean;
278
+ };
279
+ as: {
280
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
281
+ default: string;
282
+ };
283
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
284
+ [key: string]: any;
285
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
286
+ asChild: boolean;
287
+ as: import("reka-ui").AsTag | import("vue").Component;
288
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
289
+ P: {};
290
+ B: {};
291
+ D: {};
292
+ C: {};
293
+ M: {};
294
+ Defaults: {};
295
+ }, Readonly<import("vue").ExtractPropTypes<{
296
+ asChild: {
297
+ type: BooleanConstructor;
298
+ default: boolean;
299
+ };
300
+ as: {
301
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
302
+ default: string;
303
+ };
304
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
305
+ [key: string]: any;
306
+ }>, {}, {}, {}, {
307
+ asChild: boolean;
308
+ as: import("reka-ui").AsTag | import("vue").Component;
309
+ }> | null;
310
+ };
311
+ $slots: Readonly<{
312
+ [name: string]: import("vue").Slot<any> | undefined;
313
+ }>;
314
+ $root: import("vue").ComponentPublicInstance | null;
315
+ $parent: import("vue").ComponentPublicInstance | null;
316
+ $host: Element | null;
317
+ $emit: (event: "update:modelValue", args_0: string) => void;
318
+ $el: any;
319
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
320
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
321
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
322
+ "update:modelValue": (args_0: string) => any;
323
+ }, string, {
324
+ as: import("reka-ui").AsTag | import("vue").Component;
325
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
326
+ beforeCreate?: (() => void) | (() => void)[];
327
+ created?: (() => void) | (() => void)[];
328
+ beforeMount?: (() => void) | (() => void)[];
329
+ mounted?: (() => void) | (() => void)[];
330
+ beforeUpdate?: (() => void) | (() => void)[];
331
+ updated?: (() => void) | (() => void)[];
332
+ activated?: (() => void) | (() => void)[];
333
+ deactivated?: (() => void) | (() => void)[];
334
+ beforeDestroy?: (() => void) | (() => void)[];
335
+ beforeUnmount?: (() => void) | (() => void)[];
336
+ destroyed?: (() => void) | (() => void)[];
337
+ unmounted?: (() => void) | (() => void)[];
338
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
339
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
340
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
341
+ };
342
+ $forceUpdate: () => void;
343
+ $nextTick: typeof import("vue").nextTick;
344
+ $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 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;
345
+ } & Readonly<{
346
+ as: import("reka-ui").AsTag | import("vue").Component;
347
+ }> & Omit<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
348
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
349
+ }>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
350
+ $slots: Readonly<{
351
+ default?: (props: {
352
+ modelValue: string | undefined;
353
+ }) => any;
354
+ }> & {
355
+ default?: (props: {
356
+ modelValue: string | undefined;
357
+ }) => any;
358
+ };
359
+ }) | null;
254
360
  };
255
361
  $slots: Readonly<{
256
362
  [name: string]: import("vue").Slot<any> | undefined;
@@ -311,6 +417,110 @@ declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetI
311
417
  };
312
418
  $refs: {
313
419
  [x: string]: unknown;
420
+ } & {
421
+ primitiveElement: ({
422
+ $: import("vue").ComponentInternalInstance;
423
+ $data: {};
424
+ $props: {
425
+ readonly modelValue?: string | undefined;
426
+ readonly autoFocus?: boolean | undefined;
427
+ readonly disabled?: boolean | undefined;
428
+ readonly asChild?: boolean | undefined;
429
+ readonly as?: (import("reka-ui").AsTag | import("vue").Component) | undefined;
430
+ readonly "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
431
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps;
432
+ $attrs: {
433
+ [x: string]: unknown;
434
+ };
435
+ $refs: {
436
+ [x: string]: unknown;
437
+ } & {
438
+ primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
439
+ asChild: {
440
+ type: BooleanConstructor;
441
+ default: boolean;
442
+ };
443
+ as: {
444
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
445
+ default: string;
446
+ };
447
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
448
+ [key: string]: any;
449
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
450
+ asChild: boolean;
451
+ as: import("reka-ui").AsTag | import("vue").Component;
452
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
453
+ P: {};
454
+ B: {};
455
+ D: {};
456
+ C: {};
457
+ M: {};
458
+ Defaults: {};
459
+ }, Readonly<import("vue").ExtractPropTypes<{
460
+ asChild: {
461
+ type: BooleanConstructor;
462
+ default: boolean;
463
+ };
464
+ as: {
465
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
466
+ default: string;
467
+ };
468
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
469
+ [key: string]: any;
470
+ }>, {}, {}, {}, {
471
+ asChild: boolean;
472
+ as: import("reka-ui").AsTag | import("vue").Component;
473
+ }> | null;
474
+ };
475
+ $slots: Readonly<{
476
+ [name: string]: import("vue").Slot<any> | undefined;
477
+ }>;
478
+ $root: import("vue").ComponentPublicInstance | null;
479
+ $parent: import("vue").ComponentPublicInstance | null;
480
+ $host: Element | null;
481
+ $emit: (event: "update:modelValue", args_0: string) => void;
482
+ $el: any;
483
+ $options: import("vue").ComponentOptionsBase<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
484
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
485
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
486
+ "update:modelValue": (args_0: string) => any;
487
+ }, string, {
488
+ as: import("reka-ui").AsTag | import("vue").Component;
489
+ }, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
490
+ beforeCreate?: (() => void) | (() => void)[];
491
+ created?: (() => void) | (() => void)[];
492
+ beforeMount?: (() => void) | (() => void)[];
493
+ mounted?: (() => void) | (() => void)[];
494
+ beforeUpdate?: (() => void) | (() => void)[];
495
+ updated?: (() => void) | (() => void)[];
496
+ activated?: (() => void) | (() => void)[];
497
+ deactivated?: (() => void) | (() => void)[];
498
+ beforeDestroy?: (() => void) | (() => void)[];
499
+ beforeUnmount?: (() => void) | (() => void)[];
500
+ destroyed?: (() => void) | (() => void)[];
501
+ unmounted?: (() => void) | (() => void)[];
502
+ renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
503
+ renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
504
+ errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
505
+ };
506
+ $forceUpdate: () => void;
507
+ $nextTick: typeof import("vue").nextTick;
508
+ $watch<T_1 extends string | ((...args: any) => any)>(source: T_1, cb: T_1 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;
509
+ } & Readonly<{
510
+ as: import("reka-ui").AsTag | import("vue").Component;
511
+ }> & Omit<Readonly<import("reka-ui").ListboxFilterProps> & Readonly<{
512
+ "onUpdate:modelValue"?: ((args_0: string) => any) | undefined;
513
+ }>, "as"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
514
+ $slots: Readonly<{
515
+ default?: (props: {
516
+ modelValue: string | undefined;
517
+ }) => any;
518
+ }> & {
519
+ default?: (props: {
520
+ modelValue: string | undefined;
521
+ }) => any;
522
+ };
523
+ }) | null;
314
524
  };
315
525
  $slots: Readonly<{
316
526
  [name: string]: import("vue").Slot<any> | undefined;
@@ -358,10 +568,10 @@ declare const _default: <T extends ArrayOrNested<InputMenuItem>, VK extends GetI
358
568
  }>): void;
359
569
  attrs: any;
360
570
  slots: InputMenuSlots<T, VK, M, NestedItem<T>>;
361
- emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "highlight", payload: {
571
+ emit: (((evt: "blur", payload: FocusEvent) => void) & ((evt: "change", payload: Event) => void) & ((evt: "focus", payload: FocusEvent) => void) & ((evt: "create", item: string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void) & ((evt: "highlight", payload: {
362
572
  ref: HTMLElement;
363
573
  value: GetModelValue<T, VK, M>;
364
- } | undefined) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", payload: GetModelValue<T, VK, M>) => void)) & ((evt: "update:searchTerm", value: string) => void);
574
+ } | undefined) => void)) & ((evt: "update:searchTerm", value: string) => void);
365
575
  }>) => import("vue").VNode & {
366
576
  __ctx?: Awaited<typeof __VLS_setup>;
367
577
  };
@@ -7,6 +7,7 @@ import { onMounted, ref, computed } from "vue";
7
7
  import { NumberFieldRoot, NumberFieldInput, NumberFieldDecrement, NumberFieldIncrement, useForwardPropsEmits } from "reka-ui";
8
8
  import { reactivePick } from "@vueuse/core";
9
9
  import { useAppConfig } from "#imports";
10
+ import { useButtonGroup } from "../composables/useButtonGroup";
10
11
  import { useFormField } from "../composables/useFormField";
11
12
  import { useLocale } from "../composables/useLocale";
12
13
  import { tv } from "../utils/tv";
@@ -17,7 +18,7 @@ const props = defineProps({
17
18
  as: { type: null, required: false },
18
19
  placeholder: { type: String, required: false },
19
20
  color: { type: null, required: false, default: "primary" },
20
- size: { type: null, required: false, default: "md" },
21
+ size: { type: null, required: false },
21
22
  noPadding: { type: Boolean, required: false },
22
23
  noBorder: { type: Boolean, required: false },
23
24
  underline: { type: Boolean, required: false },
@@ -28,8 +29,10 @@ const props = defineProps({
28
29
  orientation: { type: String, required: false, default: "horizontal" },
29
30
  increment: { type: Object, required: false },
30
31
  incrementIcon: { type: [Function, Object], required: false },
32
+ incrementDisabled: { type: Boolean, required: false },
31
33
  decrement: { type: Object, required: false },
32
34
  decrementIcon: { type: [Function, Object], required: false },
35
+ decrementDisabled: { type: Boolean, required: false },
33
36
  autofocus: { type: Boolean, required: false },
34
37
  autofocusDelay: { type: Number, required: false },
35
38
  locale: { type: String, required: false },
@@ -46,28 +49,32 @@ const props = defineProps({
46
49
  id: { type: String, required: false },
47
50
  name: { type: String, required: false },
48
51
  formatOptions: { type: null, required: false },
49
- disableWheelChange: { type: Boolean, required: false }
52
+ disableWheelChange: { type: Boolean, required: false },
53
+ invertWheelChange: { type: Boolean, required: false }
50
54
  });
51
55
  const emits = defineEmits(["update:modelValue", "blur", "change"]);
52
56
  defineSlots();
53
- const appConfig = useAppConfig();
54
- const rootProps = useForwardPropsEmits(reactivePick(props, "as", "modelValue", "defaultValue", "min", "max", "step", "stepSnapping", "formatOptions", "disableWheelChange"), emits);
55
- const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, id, color, size, name, highlight, disabled, ariaAttrs } = useFormField(props);
56
57
  const { t, code: codeLocale } = useLocale();
58
+ const appConfig = useAppConfig();
59
+ const rootProps = useForwardPropsEmits(reactivePick(props, "as", "modelValue", "defaultValue", "min", "max", "step", "stepSnapping", "formatOptions", "disableWheelChange", "invertWheelChange"), emits);
60
+ const { emitFormBlur, emitFormFocus, emitFormChange, emitFormInput, id, color, size: formGroupSize, name, highlight, disabled, ariaAttrs } = useFormField(props);
61
+ const { orientation, size: buttonGroupSize } = useButtonGroup(props);
57
62
  const locale = computed(() => props.locale || codeLocale.value);
63
+ const inputSize = computed(() => buttonGroupSize.value || formGroupSize.value);
58
64
  const isTag = computed(() => {
59
65
  return props.tag;
60
66
  });
61
67
  const b24ui = computed(() => tv({ extend: tv(theme), ...appConfig.b24ui?.inputNumber || {} })({
62
68
  color: color.value,
63
- size: size.value,
69
+ size: inputSize?.value,
64
70
  tagColor: props.tagColor,
65
71
  highlight: highlight.value,
66
72
  rounded: Boolean(props.rounded),
67
73
  noPadding: Boolean(props.noPadding),
68
74
  noBorder: Boolean(props.noBorder),
69
75
  underline: Boolean(props.underline),
70
- orientation: props.orientation
76
+ orientation: props.orientation,
77
+ buttonGroup: orientation.value
71
78
  }));
72
79
  const incrementIcon = computed(() => props.incrementIcon || (props.orientation === "horizontal" ? icons.plus : icons.chevronUp));
73
80
  const decrementIcon = computed(() => props.decrementIcon || (props.orientation === "horizontal" ? icons.minus : icons.chevronDown));
@@ -101,7 +108,7 @@ defineExpose({
101
108
  <NumberFieldRoot
102
109
  v-bind="rootProps"
103
110
  :id="id"
104
- :class="b24ui.root({ class: [props.class, props.b24ui?.root] })"
111
+ :class="b24ui.root({ class: [props.b24ui?.root, props.class] })"
105
112
  :name="name"
106
113
  :disabled="disabled"
107
114
  :locale="locale"
@@ -122,7 +129,7 @@ defineExpose({
122
129
  />
123
130
 
124
131
  <div :class="b24ui.increment({ class: props.b24ui?.increment })">
125
- <NumberFieldIncrement as-child :disabled="disabled">
132
+ <NumberFieldIncrement as-child :disabled="disabled || incrementDisabled">
126
133
  <slot name="increment">
127
134
  <B24Button
128
135
  :icon="incrementIcon"
@@ -137,7 +144,7 @@ defineExpose({
137
144
  </div>
138
145
 
139
146
  <div :class="b24ui.decrement({ class: props.b24ui?.decrement })">
140
- <NumberFieldDecrement as-child :disabled="disabled">
147
+ <NumberFieldDecrement as-child :disabled="disabled || decrementDisabled">
141
148
  <slot name="decrement">
142
149
  <B24Button
143
150
  :icon="decrementIcon"
@@ -4,7 +4,7 @@ import theme from '#build/b24ui/input-number';
4
4
  import type { ButtonProps, IconComponent } from '../types';
5
5
  import type { ComponentConfig } from '../types/utils';
6
6
  type InputNumber = ComponentConfig<typeof theme, AppConfig, 'inputNumber'>;
7
- export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue' | 'defaultValue' | 'min' | 'max' | 'stepSnapping' | 'step' | 'disabled' | 'required' | 'id' | 'name' | 'formatOptions' | 'disableWheelChange'> {
7
+ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue' | 'defaultValue' | 'min' | 'max' | 'stepSnapping' | 'step' | 'disabled' | 'required' | 'id' | 'name' | 'formatOptions' | 'disableWheelChange' | 'invertWheelChange'> {
8
8
  /**
9
9
  * The element or component this component should render as.
10
10
  * @defaultValue 'div'
@@ -68,6 +68,8 @@ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue
68
68
  * @IconComponent
69
69
  */
70
70
  incrementIcon?: IconComponent;
71
+ /** Disable the increment button. */
72
+ incrementDisabled?: boolean;
71
73
  /**
72
74
  * Configure the decrement button. The `size` is inherited.
73
75
  * @defaultValue { color: 'link', depth: 'light' }
@@ -79,6 +81,8 @@ export interface InputNumberProps extends Pick<NumberFieldRootProps, 'modelValue
79
81
  * @IconComponent
80
82
  */
81
83
  decrementIcon?: IconComponent;
84
+ /** Disable the decrement button. */
85
+ decrementDisabled?: boolean;
82
86
  /**
83
87
  * @defaultValue false
84
88
  */
@@ -117,6 +121,43 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<InputNumbe
117
121
  };
118
122
  $refs: {
119
123
  [x: string]: unknown;
124
+ } & {
125
+ primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
126
+ asChild: {
127
+ type: BooleanConstructor;
128
+ default: boolean;
129
+ };
130
+ as: {
131
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
132
+ default: string;
133
+ };
134
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
135
+ [key: string]: any;
136
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
137
+ asChild: boolean;
138
+ as: import("reka-ui").AsTag | import("vue").Component;
139
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
140
+ P: {};
141
+ B: {};
142
+ D: {};
143
+ C: {};
144
+ M: {};
145
+ Defaults: {};
146
+ }, Readonly<import("vue").ExtractPropTypes<{
147
+ asChild: {
148
+ type: BooleanConstructor;
149
+ default: boolean;
150
+ };
151
+ as: {
152
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
153
+ default: string;
154
+ };
155
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
156
+ [key: string]: any;
157
+ }>, {}, {}, {}, {
158
+ asChild: boolean;
159
+ as: import("reka-ui").AsTag | import("vue").Component;
160
+ }> | null;
120
161
  };
121
162
  $slots: Readonly<{
122
163
  [name: string]: import("vue").Slot<any> | undefined;
@@ -166,6 +207,43 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<InputNumbe
166
207
  };
167
208
  $refs: {
168
209
  [x: string]: unknown;
210
+ } & {
211
+ primitiveElement: import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
212
+ asChild: {
213
+ type: BooleanConstructor;
214
+ default: boolean;
215
+ };
216
+ as: {
217
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
218
+ default: string;
219
+ };
220
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
221
+ [key: string]: any;
222
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").PublicProps, {
223
+ asChild: boolean;
224
+ as: import("reka-ui").AsTag | import("vue").Component;
225
+ }, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
226
+ P: {};
227
+ B: {};
228
+ D: {};
229
+ C: {};
230
+ M: {};
231
+ Defaults: {};
232
+ }, Readonly<import("vue").ExtractPropTypes<{
233
+ asChild: {
234
+ type: BooleanConstructor;
235
+ default: boolean;
236
+ };
237
+ as: {
238
+ type: import("vue").PropType<import("reka-ui").AsTag | import("vue").Component>;
239
+ default: string;
240
+ };
241
+ }>> & Readonly<{}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
242
+ [key: string]: any;
243
+ }>, {}, {}, {}, {
244
+ asChild: boolean;
245
+ as: import("reka-ui").AsTag | import("vue").Component;
246
+ }> | null;
169
247
  };
170
248
  $slots: Readonly<{
171
249
  [name: string]: import("vue").Slot<any> | undefined;
@@ -213,9 +291,8 @@ declare const _default: __VLS_WithSlots<import("vue").DefineComponent<InputNumbe
213
291
  onChange?: ((payload: Event) => any) | undefined;
214
292
  "onUpdate:modelValue"?: ((payload: number) => any) | undefined;
215
293
  }>, {
216
- size: InputNumber["variants"]["size"];
217
- orientation: "vertical" | "horizontal";
218
294
  color: InputNumber["variants"]["color"];
295
+ orientation: "vertical" | "horizontal";
219
296
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>, InputNumberSlots>;
220
297
  export default _default;
221
298
  type __VLS_WithSlots<T, S> = T & {