@soybeanjs/headless 0.3.0 → 0.3.1

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 (278) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.js +1 -1
  9. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  12. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  13. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  14. package/dist/components/alert/context.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  16. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  17. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  18. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  19. package/dist/components/arrow/arrow.js +1 -1
  20. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  21. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  22. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  23. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  24. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  25. package/dist/components/avatar/context.d.ts +2 -2
  26. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  27. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  28. package/dist/components/badge/context.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  30. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  34. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  37. package/dist/components/breadcrumb/context.d.ts +2 -2
  38. package/dist/components/button/button.vue.d.ts +5 -5
  39. package/dist/components/card/card-content.vue.d.ts +2 -2
  40. package/dist/components/card/card-description.vue.d.ts +2 -2
  41. package/dist/components/card/card-footer.vue.d.ts +2 -2
  42. package/dist/components/card/card-header.vue.d.ts +2 -2
  43. package/dist/components/card/card-root.vue.d.ts +2 -2
  44. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  45. package/dist/components/card/card-title.vue.d.ts +2 -2
  46. package/dist/components/card/context.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  48. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  49. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  50. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  51. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  52. package/dist/components/checkbox/context.d.ts +2 -2
  53. package/dist/components/collapsible/collapsible-content.js +1 -1
  54. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  55. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  56. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  57. package/dist/components/collapsible/context.d.ts +2 -2
  58. package/dist/components/collapsible/context.js +1 -1
  59. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  60. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  61. package/dist/components/context-menu/context-menu-root.js +1 -1
  62. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  63. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  64. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  65. package/dist/components/dialog/context.d.ts +2 -2
  66. package/dist/components/dialog/context.js +1 -1
  67. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  68. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  69. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  71. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  72. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  73. package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
  74. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  75. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  76. package/dist/components/dropdown-menu/context.js +1 -1
  77. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  78. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  79. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  80. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  81. package/dist/components/form/context.d.ts +2 -2
  82. package/dist/components/form/form-description.vue.d.ts +2 -2
  83. package/dist/components/form/form-error.vue.d.ts +2 -2
  84. package/dist/components/form/form-field.vue.d.ts +2 -2
  85. package/dist/components/form/form-label.vue.d.ts +2 -2
  86. package/dist/components/input/context.d.ts +2 -2
  87. package/dist/components/input/input-control.vue.d.ts +2 -2
  88. package/dist/components/input/input-root.vue.d.ts +4 -4
  89. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  90. package/dist/components/label/label.vue.d.ts +2 -2
  91. package/dist/components/layout/context.d.ts +2 -2
  92. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  95. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  96. package/dist/components/layout/layout-rail.js +1 -1
  97. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  98. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  99. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  100. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  101. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  102. package/dist/components/link/link.vue.d.ts +4 -4
  103. package/dist/components/list/context.d.ts +2 -2
  104. package/dist/components/list/list-content.vue.d.ts +2 -2
  105. package/dist/components/list/list-description.vue.d.ts +2 -2
  106. package/dist/components/list/list-item.vue.d.ts +2 -2
  107. package/dist/components/list/list-root.vue.d.ts +2 -2
  108. package/dist/components/list/list-title.vue.d.ts +2 -2
  109. package/dist/components/listbox/context.d.ts +2 -2
  110. package/dist/components/listbox/listbox-content.js +1 -1
  111. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  112. package/dist/components/listbox/listbox-filter.js +1 -1
  113. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  114. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  115. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  116. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  117. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  118. package/dist/components/listbox/listbox-root.js +1 -1
  119. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  120. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  121. package/dist/components/menu/context.d.ts +2 -2
  122. package/dist/components/menu/context.js +1 -1
  123. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  124. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  125. package/dist/components/menu/menu-content-impl.js +1 -1
  126. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  127. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  128. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  129. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  130. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  131. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  132. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  133. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  134. package/dist/components/menu/menu-sub-content.js +1 -1
  135. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  136. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  137. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  138. package/dist/components/navigation-menu/context.d.ts +2 -2
  139. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  140. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  141. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  142. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  143. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  144. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  145. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  146. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  147. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  148. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  149. package/dist/components/number-input/context.d.ts +2 -2
  150. package/dist/components/number-input/number-input-control.js +1 -1
  151. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  152. package/dist/components/number-input/number-input-decrement.js +1 -1
  153. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  154. package/dist/components/number-input/number-input-increment.js +1 -1
  155. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  156. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  157. package/dist/components/pagination/context.d.ts +2 -2
  158. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  159. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  160. package/dist/components/pagination/pagination-first.js +1 -1
  161. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  162. package/dist/components/pagination/pagination-last.js +1 -1
  163. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  165. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  166. package/dist/components/pagination/pagination-next.js +1 -1
  167. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  168. package/dist/components/pagination/pagination-prev.js +1 -1
  169. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  170. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  171. package/dist/components/popover/context.js +1 -1
  172. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  173. package/dist/components/popover/popover-close.js +1 -1
  174. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  175. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  176. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  177. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  178. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  179. package/dist/components/popper/context.d.ts +2 -2
  180. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  181. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  182. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  183. package/dist/components/popper/popper-positioner.vue.d.ts +53 -53
  184. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  185. package/dist/components/portal/portal.vue.d.ts +3 -3
  186. package/dist/components/primitive/primitive.d.ts +2 -2
  187. package/dist/components/radio-group/context.d.ts +2 -2
  188. package/dist/components/radio-group/radio-group-control.js +1 -1
  189. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  190. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  191. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  192. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  193. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  194. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  195. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  196. package/dist/components/select/context.d.ts +2 -2
  197. package/dist/components/select/context.js +1 -1
  198. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  199. package/dist/components/select/select-content-impl.js +1 -1
  200. package/dist/components/select/select-content.vue.d.ts +8 -8
  201. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  202. package/dist/components/select/select-group.vue.d.ts +2 -2
  203. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  204. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  205. package/dist/components/select/select-item.js +1 -1
  206. package/dist/components/select/select-item.vue.d.ts +4 -4
  207. package/dist/components/select/select-root.vue.d.ts +5 -5
  208. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  209. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  210. package/dist/components/select/select-separator.vue.d.ts +2 -2
  211. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  212. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  213. package/dist/components/select/select-value.vue.d.ts +3 -3
  214. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  215. package/dist/components/separator/context.d.ts +2 -2
  216. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  217. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  218. package/dist/components/slot/slot.d.ts +2 -2
  219. package/dist/components/switch/context.d.ts +2 -2
  220. package/dist/components/switch/switch-control.js +1 -1
  221. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  222. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  223. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  224. package/dist/components/tabs/context.d.ts +2 -2
  225. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  226. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  227. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  228. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  229. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  230. package/dist/components/tag/tag.vue.d.ts +4 -4
  231. package/dist/components/textarea/context.d.ts +2 -2
  232. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  233. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  234. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  235. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  236. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  237. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  238. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  239. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-viewport.js +1 -1
  241. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  242. package/dist/components/tooltip/context.js +1 -1
  243. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  244. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  245. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  246. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  247. package/dist/components/tree/tree-item.js +1 -1
  248. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  249. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  250. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  251. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  252. package/dist/components/tree-menu/context.d.ts +2 -2
  253. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  254. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  255. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  257. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  258. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  259. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  260. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  261. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  262. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  263. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  264. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  265. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  266. package/dist/composables/use-collection.js +1 -1
  267. package/dist/composables/use-forward-element.d.ts +2 -2
  268. package/dist/composables/use-grace-area.js +1 -1
  269. package/dist/composables/use-image-loading-status.d.ts +2 -2
  270. package/dist/composables/use-image-loading-status.js +1 -1
  271. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  272. package/dist/composables/use-is-using-keyboard.js +1 -1
  273. package/dist/composables/use-kbd.d.ts +2 -2
  274. package/dist/composables/use-presence.d.ts +2 -2
  275. package/dist/composables/use-props.d.ts +3 -3
  276. package/dist/composables/use-selection.d.ts +4 -4
  277. package/dist/shared/focus.js +1 -1
  278. package/package.json +26 -26
@@ -1,16 +1,16 @@
1
1
  import { MenuItemProps } from "./types.js";
2
- import * as vue1407 from "vue";
2
+ import * as vue1205 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-item.vue.d.ts
5
5
  declare var __VLS_13: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_13) => any;
8
8
  };
9
- declare const __VLS_base: vue1407.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1407.ComponentOptionsMixin, vue1407.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1205.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
10
10
  select: (event: Event) => any;
11
- }, string, vue1407.PublicProps, Readonly<MenuItemProps> & Readonly<{
11
+ }, string, vue1205.PublicProps, Readonly<MenuItemProps> & Readonly<{
12
12
  onSelect?: ((event: Event) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, vue1407.ComponentProvideOptions, false, {}, any>;
13
+ }>, {}, {}, {}, {}, string, vue1205.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuRadioGroupProps } from "./types.js";
4
- import * as vue1445 from "vue";
4
+ import * as vue1250 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-radio-group.vue.d.ts
7
7
  declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue1445.PublicProps & __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
8
+ props: vue1250.PublicProps & __VLS_PrettifyLocal<MenuRadioGroupProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
21
- }>) => vue1445.VNode & {
21
+ }>) => vue1250.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -1,5 +1,5 @@
1
1
  import { MenuRadioItemProps } from "./types.js";
2
- import * as vue1423 from "vue";
2
+ import * as vue1240 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-radio-item.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,11 +8,11 @@ declare var __VLS_10: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue1423.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1423.ComponentOptionsMixin, vue1423.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1240.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1240.ComponentOptionsMixin, vue1240.ComponentOptionsMixin, {
12
12
  select: (event: Event) => any;
13
- }, string, vue1423.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
13
+ }, string, vue1240.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
14
14
  onSelect?: ((event: Event) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1423.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue1240.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { MenuRootProps } from "./types.js";
2
- import * as vue1377 from "vue";
2
+ import * as vue1210 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -8,14 +8,14 @@ declare var __VLS_8: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1377.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1377.ComponentOptionsMixin, vue1377.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1210.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1210.ComponentOptionsMixin, vue1210.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1377.PublicProps, Readonly<MenuRootProps> & Readonly<{
13
+ }, string, vue1210.PublicProps, Readonly<MenuRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
17
  modal: boolean;
18
- }, {}, {}, {}, string, vue1377.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1210.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePresence as t}from"../../composables/use-presence.js";import{useMenuContext as n,useMenuRootContext as r}from"./context.js";import{SUB_CLOSE_KEYS as i}from"./shared.js";import a from"./menu-content-impl.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,shallowRef as p,toHandlers as m,unref as h,withCtx as g,withModifiers as _}from"vue";var v=l({name:`MenuSubContent`,__name:`menu-sub-content`,props:{popupProps:{},placement:{},sideOffset:{},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(l,{emit:v}){let y=l,b=e(v),{open:x,popupElement:S,triggerId:C,triggerElement:w,onOpenChange:T}=n(`MenuSubContent`),{dir:E,isUsingKeyboard:D,onClose:O}=r(`MenuSubContent`),k=y.forceMount?p(!0):t(S,x),A=o(()=>E.value===`rtl`?`left`:`right`),j=()=>{D.value&&S.value?.focus()},M=e=>{e.defaultPrevented||e.target!==w.value&&T(!1)},N=e=>{O(),e.preventDefault()},P=e=>{let t=e.currentTarget?.contains(e.target),n=i[E.value].includes(e.key);t&&n&&(T(!1),w.value?.focus(),e.preventDefault())};return(e,t)=>h(k)?(d(),s(a,u({key:0},y,{"trap-focus":!1,"disable-outside-pointer-events":!1,"aria-labelledby":h(C),align:`start`,side:A.value},m(h(b)),{onOpenAutoFocus:_(j,[`prevent`]),onCloseAutoFocus:t[0]||=_(()=>{},[`prevent`]),onEscapeKeyDown:N,onFocusOutside:M,onKeydown:P}),{default:g(()=>[f(e.$slots,`default`)]),_:3},16,[`aria-labelledby`,`side`])):c(`v-if`,!0)}});export{v as default};
1
+ import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePresence as t}from"../../composables/use-presence.js";import{useMenuContext as n,useMenuRootContext as r}from"./context.js";import{SUB_CLOSE_KEYS as i}from"./shared.js";import a from"./menu-content-impl.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,mergeProps as u,openBlock as d,renderSlot as f,shallowRef as p,toHandlers as m,unref as h,withCtx as g,withModifiers as _}from"vue";var v=l({name:`MenuSubContent`,__name:`menu-sub-content`,props:{popupProps:{},placement:{},sideOffset:{},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(l,{emit:v}){let y=l,b=e(v),{open:x,popupElement:S,triggerId:C,triggerElement:w,onOpenChange:T}=n(`MenuSubContent`),{dir:E,isUsingKeyboard:D,onClose:O}=r(`MenuSubContent`),k=y.forceMount?p(!0):t(S,x),A=o(()=>E.value===`rtl`?`left`:`right`),j=()=>{D.value&&S.value?.focus()},M=e=>{e.defaultPrevented||e.target!==w.value&&T(!1)},N=e=>{O(),e.preventDefault()},P=e=>{let t=e.currentTarget?.contains(e.target),n=i[E.value].includes(e.key);t&&n&&(T(!1),w.value?.focus(),e.preventDefault())};return(e,t)=>h(k)?(d(),s(a,u({key:0},y,{"trap-focus":!1,"disable-outside-pointer-events":!1,"aria-labelledby":h(C),align:`start`,side:A.value},m(h(b)),{onOpenAutoFocus:_(j,[`prevent`]),onCloseAutoFocus:t[0]||(t[0]=_(()=>{},[`prevent`])),onEscapeKeyDown:N,onFocusOutside:M,onKeydown:P}),{default:g(()=>[f(e.$slots,`default`)]),_:3},16,[`aria-labelledby`,`side`])):c(`v-if`,!0)}});export{v as default};
@@ -2,32 +2,32 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuSubContentProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1438 from "vue";
5
+ import * as vue1245 from "vue";
6
6
 
7
7
  //#region src/components/menu/menu-sub-content.vue.d.ts
8
8
  declare var __VLS_14: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_14) => any;
11
11
  };
12
- declare const __VLS_base: vue1438.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1438.ComponentOptionsMixin, vue1438.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1245.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1245.ComponentOptionsMixin, vue1245.ComponentOptionsMixin, {
13
+ closeAutoFocus: (event: Event) => any;
13
14
  escapeKeyDown: (event: KeyboardEvent) => any;
14
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
16
+ entryFocus: (event: Event) => any;
15
17
  focusOutside: (event: FocusOutsideEvent) => any;
16
18
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
17
19
  openAutoFocus: (event: Event) => any;
18
- closeAutoFocus: (event: Event) => any;
19
- entryFocus: (event: Event) => any;
20
- }, string, vue1438.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
20
+ }, string, vue1245.PublicProps, Readonly<MenuSubContentProps> & Readonly<{
21
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
22
23
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
24
+ onEntryFocus?: ((event: Event) => any) | undefined;
23
25
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
24
26
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
25
27
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
26
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
- onEntryFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
29
  prioritizePosition: boolean;
30
- }, {}, {}, {}, string, vue1438.ComponentProvideOptions, false, {}, any>;
30
+ }, {}, {}, {}, string, vue1245.ComponentProvideOptions, false, {}, any>;
31
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
32
32
  declare const _default: typeof __VLS_export;
33
33
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { MenuSubTriggerProps } from "./types.js";
2
- import * as vue1402 from "vue";
2
+ import * as vue1235 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub-trigger.vue.d.ts
5
5
  declare var __VLS_19: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_19) => any;
8
8
  };
9
- declare const __VLS_base: vue1402.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1402.ComponentOptionsMixin, vue1402.ComponentOptionsMixin, {}, string, vue1402.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1402.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1235.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1235.ComponentOptionsMixin, vue1235.ComponentOptionsMixin, {}, string, vue1235.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1235.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,18 +1,18 @@
1
1
  import { MenuSubProps } from "./types.js";
2
- import * as vue1428 from "vue";
2
+ import * as vue1230 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-sub.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue1428.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1428.ComponentOptionsMixin, vue1428.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1230.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1230.ComponentOptionsMixin, vue1230.ComponentOptionsMixin, {
10
10
  "update:open": (value: boolean) => any;
11
- }, string, vue1428.PublicProps, Readonly<MenuSubProps> & Readonly<{
11
+ }, string, vue1230.PublicProps, Readonly<MenuSubProps> & Readonly<{
12
12
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
13
  }>, {
14
14
  open: boolean;
15
- }, {}, {}, {}, string, vue1428.ComponentProvideOptions, false, {}, any>;
15
+ }, {}, {}, {}, string, vue1230.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import "../../composables/index.js";
3
3
  import { NavigationMenuUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1732 from "vue";
5
+ import * as vue1871 from "vue";
6
6
 
7
7
  //#region src/components/navigation-menu/context.d.ts
8
8
 
9
- declare const provideNavigationMenuUi: (ui: vue1732.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue1732.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue1732.ComputedRef<ClassValue> : vue1732.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
9
+ declare const provideNavigationMenuUi: (ui: vue1871.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue1871.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue1871.ComputedRef<ClassValue> : vue1871.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>;
10
10
  //#endregion
11
11
  export { provideNavigationMenuUi };
@@ -1,24 +1,24 @@
1
1
  import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { NavigationMenuContentProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1701 from "vue";
4
+ import * as vue1861 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-content.vue.d.ts
7
7
  declare var __VLS_17: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_17) => any;
10
10
  };
11
- declare const __VLS_base: vue1701.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1701.ComponentOptionsMixin, vue1701.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1861.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue1861.ComponentOptionsMixin, vue1861.ComponentOptionsMixin, {
12
12
  escapeKeyDown: (event: KeyboardEvent) => any;
13
13
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
14
14
  focusOutside: (event: FocusOutsideEvent) => any;
15
15
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
16
- }, string, vue1701.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
16
+ }, string, vue1861.PublicProps, Readonly<NavigationMenuContentProps> & Readonly<{
17
17
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
18
18
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
19
19
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
20
20
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, vue1701.ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, vue1861.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuIndicatorProps } from "./types.js";
2
- import * as vue1722 from "vue";
2
+ import * as vue1866 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-indicator.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue1722.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1722.ComponentOptionsMixin, vue1722.ComponentOptionsMixin, {}, string, vue1722.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1722.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1866.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue1866.ComponentOptionsMixin, vue1866.ComponentOptionsMixin, {}, string, vue1866.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1866.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useArrowNavigation as e}from"../../composables/use-arrow-navigation.js";import{getActiveElement as t}from"../../shared/dom.js";import{getTabbableCandidates as n,removeFromTabOrder as r,tryFocusFirst as i}from"../../shared/focus.js";import{provideNavigationMenuItemContext as a,useCollectionContext as o,useNavigationMenuRootContext as s,useNavigationMenuUi as c}from"./context.js";import{createContentId as l,createTriggerId as u}from"./shared.js";import{computed as d,createElementBlock as f,defineComponent as p,normalizeClass as m,onBeforeUnmount as h,openBlock as g,renderSlot as _,useId as v,withKeys as y}from"vue";var b=p({name:`NavigationMenuItem`,__name:`navigation-menu-item`,props:{value:{}},setup(p){let b=p,{isRoot:x,baseId:S,modelValue:C,onItemDismiss:w,addValue:T,removeValue:E}=s(`NavigationMenuItem`),{getOrderedElements:D}=o(`NavigationMenuItem`),O=c(),k=d(()=>x?O.value?.item:O.value?.subItem),A=b.value??v(),j=l(S,A),M=u(S,A),N=()=>({}),P=async(e=`start`)=>{let t=document.getElementById(j);if(!t)return;N();let r=n(t);r.length&&i(e===`start`?r:r.reverse())},F=()=>{let e=document.getElementById(j);if(!e)return;let t=n(e);t.length&&(N=r(t))},{triggerElement:I}=a({value:A,modelValue:C,contentId:j,triggerId:M,onEntryKeyDown:P,onFocusProxyEnter:P,onContentFocusOutside:F,onRootContentClose:F}),L=()=>{w(),I.value?.focus()},R=n=>{let r=t();if(!r)return;if(n.key===`Enter`||n.key===` `){if(C.value===A){L(),n.preventDefault();return}n.target.click(),n.preventDefault();return}let i=D().filter(e=>e.parentElement?.hasAttribute(`data-menu-item`));i.includes(r)&&(e(n,r,void 0,{itemsArray:i,loop:!1})?.focus?.(),n.preventDefault(),n.stopPropagation())};return T(A),h(()=>{E(A)}),(e,t)=>(g(),f(`li`,{class:m(k.value),"data-menu-item":``,onKeydown:y(R,[`up`,`down`,`left`,`right`,`home`,`end`,`space`])},[_(e.$slots,`default`)],34))}});export{b as default};
1
+ import{useArrowNavigation as e}from"../../composables/use-arrow-navigation.js";import{getActiveElement as t}from"../../shared/dom.js";import{getTabbableCandidates as n,removeFromTabOrder as r,tryFocusFirst as i}from"../../shared/focus.js";import{provideNavigationMenuItemContext as a,useCollectionContext as o,useNavigationMenuRootContext as s,useNavigationMenuUi as c}from"./context.js";import{createContentId as l,createTriggerId as u}from"./shared.js";import{computed as d,createElementBlock as f,defineComponent as p,normalizeClass as m,onBeforeUnmount as h,openBlock as g,renderSlot as _,useId as v,withKeys as y}from"vue";var b=p({name:`NavigationMenuItem`,__name:`navigation-menu-item`,props:{value:{}},setup(p){let b=p,{isRoot:x,baseId:S,modelValue:C,onItemDismiss:w,addValue:T,removeValue:E}=s(`NavigationMenuItem`),{getOrderedElements:D}=o(`NavigationMenuItem`),O=c(),k=d(()=>x?O.value?.item:O.value?.subItem),A=b.value??v(),j=l(S,A),M=u(S,A),N=()=>({}),P=async(e=`start`)=>{let t=document.getElementById(j);if(!t)return;N();let r=n(t);r.length&&i(e===`start`?r:r.slice().reverse())},F=()=>{let e=document.getElementById(j);if(!e)return;let t=n(e);t.length&&(N=r(t))},{triggerElement:I}=a({value:A,modelValue:C,contentId:j,triggerId:M,onEntryKeyDown:P,onFocusProxyEnter:P,onContentFocusOutside:F,onRootContentClose:F}),L=()=>{w(),I.value?.focus()},R=n=>{let r=t();if(!r)return;if(n.key===`Enter`||n.key===` `){if(C.value===A){L(),n.preventDefault();return}n.target.click(),n.preventDefault();return}let i=D().filter(e=>e.parentElement?.hasAttribute(`data-menu-item`));i.includes(r)&&(e(n,r,void 0,{itemsArray:i,loop:!1})?.focus?.(),n.preventDefault(),n.stopPropagation())};return T(A),h(()=>{E(A)}),(e,t)=>(g(),f(`li`,{class:m(k.value),"data-menu-item":``,onKeydown:y(R,[`up`,`down`,`left`,`right`,`home`,`end`,`space`])},[_(e.$slots,`default`)],34))}});export{b as default};
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuItemProps } from "./types.js";
2
- import * as vue1690 from "vue";
2
+ import * as vue1850 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-item.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue1690.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1690.ComponentOptionsMixin, vue1690.ComponentOptionsMixin, {}, string, vue1690.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1690.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1850.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue1850.ComponentOptionsMixin, vue1850.ComponentOptionsMixin, {}, string, vue1850.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1850.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { NavigationMenuLinkProps } from "./types.js";
2
- import * as vue1717 from "vue";
2
+ import * as vue1845 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-link.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -10,15 +10,15 @@ declare var __VLS_10: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_10) => any;
12
12
  };
13
- declare const __VLS_base: vue1717.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1717.ComponentOptionsMixin, vue1717.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1845.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue1845.ComponentOptionsMixin, vue1845.ComponentOptionsMixin, {
14
14
  select: (payload: CustomEvent<{
15
15
  originalEvent: Event;
16
16
  }>) => any;
17
- }, string, vue1717.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
17
+ }, string, vue1845.PublicProps, Readonly<NavigationMenuLinkProps> & Readonly<{
18
18
  onSelect?: ((payload: CustomEvent<{
19
19
  originalEvent: Event;
20
20
  }>) => any) | undefined;
21
- }>, {}, {}, {}, {}, string, vue1717.ComponentProvideOptions, false, {}, any>;
21
+ }>, {}, {}, {}, {}, string, vue1845.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuListProps } from "./types.js";
2
- import * as vue1685 from "vue";
2
+ import * as vue1835 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-list.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue1685.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1685.ComponentOptionsMixin, vue1685.ComponentOptionsMixin, {}, string, vue1685.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1685.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1835.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue1835.ComponentOptionsMixin, vue1835.ComponentOptionsMixin, {}, string, vue1835.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1835.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { DataOrientation, Direction } from "../../types/common.js";
2
2
  import { NavigationMenuRootProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1680 from "vue";
4
+ import * as vue1840 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-root.vue.d.ts
7
7
  declare var __VLS_1: {
@@ -10,17 +10,17 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue1680.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1680.ComponentOptionsMixin, vue1680.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1840.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1840.ComponentOptionsMixin, vue1840.ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string) => any;
15
- }, string, vue1680.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
15
+ }, string, vue1840.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
17
  }>, {
18
- dir: Direction;
19
18
  orientation: DataOrientation;
19
+ dir: Direction;
20
20
  unmountOnHide: boolean;
21
21
  delayDuration: number;
22
22
  skipDelayDuration: number;
23
- }, {}, {}, {}, string, vue1680.ComponentProvideOptions, false, {}, any>;
23
+ }, {}, {}, {}, string, vue1840.ComponentProvideOptions, false, {}, any>;
24
24
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
25
  declare const _default: typeof __VLS_export;
26
26
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { NavigationMenuSubListProps } from "./types.js";
2
- import * as vue1727 from "vue";
2
+ import * as vue1973 from "vue";
3
3
 
4
4
  //#region src/components/navigation-menu/navigation-menu-sub-list.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue1727.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1727.ComponentOptionsMixin, vue1727.ComponentOptionsMixin, {}, string, vue1727.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1727.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1973.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue1973.ComponentOptionsMixin, vue1973.ComponentOptionsMixin, {}, string, vue1973.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1973.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NavigationMenuTriggerProps } from "./types.js";
4
- import * as vue1695 from "vue";
4
+ import * as vue1855 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-trigger.vue.d.ts
7
7
  declare var __VLS_13: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_13) => any;
10
10
  };
11
- declare const __VLS_base: vue1695.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue1695.ComponentOptionsMixin, vue1695.ComponentOptionsMixin, {}, string, vue1695.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue1695.Component;
13
- }, {}, {}, {}, string, vue1695.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1855.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue1855.ComponentOptionsMixin, vue1855.ComponentOptionsMixin, {}, string, vue1855.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1855.Component;
13
+ }, {}, {}, {}, string, vue1855.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { Align } from "../../types/common.js";
2
2
  import { NavigationMenuViewportProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1712 from "vue";
4
+ import * as vue1978 from "vue";
5
5
 
6
6
  //#region src/components/navigation-menu/navigation-menu-viewport.vue.d.ts
7
7
  declare var __VLS_1: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue1712.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue1712.ComponentOptionsMixin, vue1712.ComponentOptionsMixin, {}, string, vue1712.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1978.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue1978.ComponentOptionsMixin, vue1978.ComponentOptionsMixin, {}, string, vue1978.PublicProps, Readonly<NavigationMenuViewportProps> & Readonly<{}>, {
12
12
  align: Align;
13
- }, {}, {}, {}, string, vue1712.ComponentProvideOptions, false, {}, any>;
13
+ }, {}, {}, {}, string, vue1978.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { NumberInputUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue52 from "vue";
4
+ import * as vue816 from "vue";
5
5
 
6
6
  //#region src/components/number-input/context.d.ts
7
7
 
8
- declare const provideNumberInputUi: (ui: vue52.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue52.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue52.ComputedRef<ClassValue> : vue52.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>;
8
+ declare const provideNumberInputUi: (ui: vue816.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue816.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue816.ComputedRef<ClassValue> : vue816.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideNumberInputUi };
@@ -1 +1 @@
1
- import{getActiveElement as e}from"../../shared/dom.js";import{useNumberInputRootContext as t,useNumberInputUi as n}from"./context.js";import{createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,shallowRef as s,unref as c,watch as l,withKeys as u,withModifiers as d}from"vue";const f=[`id`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`inputmode`,`maxlength`,`minlength`,`pattern`,`placeholder`,`value`,`readonly`];var p=i({name:`NumberInputControl`,__name:`number-input-control`,setup(i){let p=n(`control`),{id:m,autofocus:h,maxlength:g,minlength:_,pattern:v,placeholder:y,setInputElement:b,modelValue:x,disabled:S,readonly:C,textValue:w,inputMode:T,min:E,max:D,disableWheelChange:O,invertWheelChange:k,onDecrease:A,onIncrease:j,validate:M,onMinMaxValue:N,applyInputValue:P}=t(`NumberInputControl`),F=s(w.value),I=t=>{if(!O.value&&t.target===e()&&!(Math.abs(t.deltaY)<=Math.abs(t.deltaX))){if(t.preventDefault(),t.deltaY>0){k.value?A():j();return}t.deltaY<0&&(k.value?j():A())}},L=e=>{let t=e.target;M(t.value.slice(0,t.selectionStart??void 0)+(e.data??``)+t.value.slice(t.selectionEnd??void 0))||e.preventDefault()},R=e=>{F.value=e.target.value},z=()=>{requestAnimationFrame(()=>{F.value=w.value})},B=e=>{let t=e.target;P(t.value)},V=e=>{B(e)},H=e=>{B(e)};return l(()=>w.value,()=>{F.value=w.value},{immediate:!0,deep:!0}),(e,t)=>(o(),r(`input`,{id:c(m),ref:c(b),class:a(c(p)),"aria-roledescription":`Number Input`,"aria-valuemin":c(E),"aria-valuemax":c(D),"aria-valuenow":c(x)??void 0,autocomplete:`off`,autocorrect:`off`,autofocus:c(h),"data-disabled":c(S)?``:void 0,"data-readonly":c(C)?``:void 0,disabled:c(S),inputmode:c(T),maxlength:c(g),minlength:c(_),pattern:c(v),placeholder:c(y),value:F.value,readonly:c(C),role:`spinbutton`,spellcheck:`false`,tabindex:`0`,type:`text`,onBeforeinput:L,onBlur:H,onChange:z,onInput:R,onKeydown:[t[0]||=u(d((...e)=>c(A)&&c(A)(...e),[`prevent`]),[`down`]),t[1]||=u(d(e=>c(N)(`max`),[`prevent`]),[`end`]),t[2]||=u(d(e=>c(N)(`min`),[`prevent`]),[`home`]),t[3]||=u(d(e=>c(j)(10),[`prevent`]),[`page-up`]),t[4]||=u(d(e=>c(A)(10),[`prevent`]),[`page-down`]),t[5]||=u(d((...e)=>c(j)&&c(j)(...e),[`prevent`]),[`up`]),u(V,[`enter`])],onWheel:I},null,42,f))}});export{p as default};
1
+ import{getActiveElement as e}from"../../shared/dom.js";import{useNumberInputRootContext as t,useNumberInputUi as n}from"./context.js";import{createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,shallowRef as s,unref as c,watch as l,withKeys as u,withModifiers as d}from"vue";const f=[`id`,`aria-valuemin`,`aria-valuemax`,`aria-valuenow`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`inputmode`,`maxlength`,`minlength`,`pattern`,`placeholder`,`value`,`readonly`];var p=i({name:`NumberInputControl`,__name:`number-input-control`,setup(i){let p=n(`control`),{id:m,autofocus:h,maxlength:g,minlength:_,pattern:v,placeholder:y,setInputElement:b,modelValue:x,disabled:S,readonly:C,textValue:w,inputMode:T,min:E,max:D,disableWheelChange:O,invertWheelChange:k,onDecrease:A,onIncrease:j,validate:M,onMinMaxValue:N,applyInputValue:P}=t(`NumberInputControl`),F=s(w.value),I=t=>{if(!O.value&&t.target===e()&&!(Math.abs(t.deltaY)<=Math.abs(t.deltaX))){if(t.preventDefault(),t.deltaY>0){k.value?A():j();return}t.deltaY<0&&(k.value?j():A())}},L=e=>{let t=e.target;M(t.value.slice(0,t.selectionStart??void 0)+(e.data??``)+t.value.slice(t.selectionEnd??void 0))||e.preventDefault()},R=e=>{F.value=e.target.value},z=()=>{requestAnimationFrame(()=>{F.value=w.value})},B=e=>{let t=e.target;P(t.value)},V=e=>{B(e)},H=e=>{B(e)};return l(()=>w.value,()=>{F.value=w.value},{immediate:!0,deep:!0}),(e,t)=>(o(),r(`input`,{id:c(m),ref:c(b),class:a(c(p)),"aria-roledescription":`Number Input`,"aria-valuemin":c(E),"aria-valuemax":c(D),"aria-valuenow":c(x)??void 0,autocomplete:`off`,autocorrect:`off`,autofocus:c(h),"data-disabled":c(S)?``:void 0,"data-readonly":c(C)?``:void 0,disabled:c(S),inputmode:c(T),maxlength:c(g),minlength:c(_),pattern:c(v),placeholder:c(y),value:F.value,readonly:c(C),role:`spinbutton`,spellcheck:`false`,tabindex:`0`,type:`text`,onBeforeinput:L,onBlur:H,onChange:z,onInput:R,onKeydown:[t[0]||(t[0]=u(d((...e)=>c(A)&&c(A)(...e),[`prevent`]),[`down`])),t[1]||(t[1]=u(d(e=>c(N)(`max`),[`prevent`]),[`end`])),t[2]||(t[2]=u(d(e=>c(N)(`min`),[`prevent`]),[`home`])),t[3]||(t[3]=u(d(e=>c(j)(10),[`prevent`]),[`page-up`])),t[4]||(t[4]=u(d(e=>c(A)(10),[`prevent`]),[`page-down`])),t[5]||(t[5]=u(d((...e)=>c(j)&&c(j)(...e),[`prevent`]),[`up`])),u(V,[`enter`])],onWheel:I},null,42,f))}});export{p as default};
@@ -1,8 +1,8 @@
1
1
  import { NumberInputControlProps } from "./types.js";
2
- import * as vue144 from "vue";
2
+ import * as vue799 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input-control.vue.d.ts
5
- declare const __VLS_export: vue144.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue144.ComponentOptionsMixin, vue144.ComponentOptionsMixin, {}, string, vue144.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue144.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue799.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue799.ComponentOptionsMixin, vue799.ComponentOptionsMixin, {}, string, vue799.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue799.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import{usePressedHold as n}from"./shared.js";import{useNumberInputRootContext as r,useNumberInputUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,unref as f,withCtx as p,withModifiers as m}from"vue";var h=s({name:`NumberInputDecrement`,__name:`number-input-decrement`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{disabled:g,readonly:_,isIncreaseDisabled:v,onDecrease:y}=r(`NumberInputDecrement`),b=i(`decrement`),[x,S]=e(),C=a(()=>g.value||_.value||h.disabled||v.value),{isPressed:w,onTrigger:T}=n({target:x,disabled:C}),E=a(()=>h.as===`button`?`button`:void 0),D=a(()=>w.value?`user-select:none;`:void 0);return T(()=>{y()}),(e,n)=>(u(),o(f(t),{ref:f(S),as:s.as,"as-child":s.asChild,class:c(f(b)),type:E.value,tabindex:`-1`,"aria-label":`Decrease`,disabled:C.value?``:void 0,"data-disabled":C.value?``:void 0,"data-pressed":f(w)?`true`:void 0,style:l(D.value),onContextmenu:n[0]||=m(()=>{},[`prevent`])},{default:p(()=>[d(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`type`,`disabled`,`data-disabled`,`data-pressed`,`style`]))}});export{h as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import{usePressedHold as n}from"./shared.js";import{useNumberInputRootContext as r,useNumberInputUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,unref as f,withCtx as p,withModifiers as m}from"vue";var h=s({name:`NumberInputDecrement`,__name:`number-input-decrement`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{disabled:g,readonly:_,isIncreaseDisabled:v,onDecrease:y}=r(`NumberInputDecrement`),b=i(`decrement`),[x,S]=e(),C=a(()=>g.value||_.value||h.disabled||v.value),{isPressed:w,onTrigger:T}=n({target:x,disabled:C}),E=a(()=>h.as===`button`?`button`:void 0),D=a(()=>w.value?`user-select:none;`:void 0);return T(()=>{y()}),(e,n)=>(u(),o(f(t),{ref:f(S),as:s.as,"as-child":s.asChild,class:c(f(b)),type:E.value,tabindex:`-1`,"aria-label":`Decrease`,disabled:C.value?``:void 0,"data-disabled":C.value?``:void 0,"data-pressed":f(w)?`true`:void 0,style:l(D.value),onContextmenu:n[0]||(n[0]=m(()=>{},[`prevent`]))},{default:p(()=>[d(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`type`,`disabled`,`data-disabled`,`data-pressed`,`style`]))}});export{h as default};
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NumberInputDecrementProps } from "./types.js";
4
- import * as vue40 from "vue";
4
+ import * as vue810 from "vue";
5
5
 
6
6
  //#region src/components/number-input/number-input-decrement.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue40.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue40.ComponentOptionsMixin, vue40.ComponentOptionsMixin, {}, string, vue40.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
12
- as: AsTag | vue40.Component;
13
- }, {}, {}, {}, string, vue40.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue810.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue810.ComponentOptionsMixin, vue810.ComponentOptionsMixin, {}, string, vue810.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
12
+ as: AsTag | vue810.Component;
13
+ }, {}, {}, {}, string, vue810.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import{usePressedHold as n}from"./shared.js";import{useNumberInputRootContext as r,useNumberInputUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,unref as f,withCtx as p,withModifiers as m}from"vue";var h=s({name:`NumberInputIncrement`,__name:`number-input-increment`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{disabled:g,readonly:_,isIncreaseDisabled:v,onIncrease:y}=r(`NumberInputIncrement`),b=i(`increment`),[x,S]=e(),C=a(()=>g.value||_.value||h.disabled||v.value),{isPressed:w,onTrigger:T}=n({target:x,disabled:C}),E=a(()=>h.as===`button`?`button`:void 0),D=a(()=>w.value?`user-select:none;`:void 0);return T(()=>{y()}),(e,n)=>(u(),o(f(t),{ref:f(S),as:s.as,"as-child":s.asChild,class:c(f(b)),type:E.value,tabindex:`-1`,"aria-label":`Increase`,disabled:C.value?``:void 0,"data-disabled":C.value?``:void 0,"data-pressed":f(w)?`true`:void 0,style:l(D.value),onContextmenu:n[0]||=m(()=>{},[`prevent`])},{default:p(()=>[d(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`type`,`disabled`,`data-disabled`,`data-pressed`,`style`]))}});export{h as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{Primitive as t}from"../primitive/primitive.js";import{usePressedHold as n}from"./shared.js";import{useNumberInputRootContext as r,useNumberInputUi as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,normalizeClass as c,normalizeStyle as l,openBlock as u,renderSlot as d,unref as f,withCtx as p,withModifiers as m}from"vue";var h=s({name:`NumberInputIncrement`,__name:`number-input-increment`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(s){let h=s,{disabled:g,readonly:_,isIncreaseDisabled:v,onIncrease:y}=r(`NumberInputIncrement`),b=i(`increment`),[x,S]=e(),C=a(()=>g.value||_.value||h.disabled||v.value),{isPressed:w,onTrigger:T}=n({target:x,disabled:C}),E=a(()=>h.as===`button`?`button`:void 0),D=a(()=>w.value?`user-select:none;`:void 0);return T(()=>{y()}),(e,n)=>(u(),o(f(t),{ref:f(S),as:s.as,"as-child":s.asChild,class:c(f(b)),type:E.value,tabindex:`-1`,"aria-label":`Increase`,disabled:C.value?``:void 0,"data-disabled":C.value?``:void 0,"data-pressed":f(w)?`true`:void 0,style:l(D.value),onContextmenu:n[0]||(n[0]=m(()=>{},[`prevent`]))},{default:p(()=>[d(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`class`,`type`,`disabled`,`data-disabled`,`data-pressed`,`style`]))}});export{h as default};
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { NumberInputIncrementProps } from "./types.js";
4
- import * as vue46 from "vue";
4
+ import * as vue804 from "vue";
5
5
 
6
6
  //#region src/components/number-input/number-input-increment.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue46.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue46.ComponentOptionsMixin, vue46.ComponentOptionsMixin, {}, string, vue46.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
12
- as: AsTag | vue46.Component;
13
- }, {}, {}, {}, string, vue46.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue804.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue804.ComponentOptionsMixin, vue804.ComponentOptionsMixin, {}, string, vue804.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
12
+ as: AsTag | vue804.Component;
13
+ }, {}, {}, {}, string, vue804.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { NumberInputRootProps } from "./types.js";
2
- import * as vue35 from "vue";
2
+ import * as vue794 from "vue";
3
3
 
4
4
  //#region src/components/number-input/number-input-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,15 +9,15 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue35.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue35.ComponentOptionsMixin, vue35.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue794.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue794.ComponentOptionsMixin, vue794.ComponentOptionsMixin, {
13
13
  "update:modelValue": (val: number) => any;
14
- }, string, vue35.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
14
+ }, string, vue794.PublicProps, Readonly<NumberInputRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((val: number) => any) | undefined;
16
16
  }>, {
17
17
  modelValue: number | null;
18
18
  step: number;
19
19
  stepSnapping: boolean;
20
- }, {}, {}, {}, string, vue35.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue794.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { PaginationUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue366 from "vue";
4
+ import * as vue985 from "vue";
5
5
 
6
6
  //#region src/components/pagination/context.d.ts
7
7
 
8
- declare const providePaginationUi: (ui: vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue366.ComputedRef<ClassValue> : vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>;
8
+ declare const providePaginationUi: (ui: vue985.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue985.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue985.ComputedRef<ClassValue> : vue985.ComputedRef<Partial<UiClass<PaginationUiSlot>>>;
9
9
  //#endregion
10
10
  export { providePaginationUi };
@@ -1 +1 @@
1
- import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";var c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||=n(`...`,-1)])],2))}});export{c as default};
1
+ import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";var c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||(r[0]=n(`...`,-1))])],2))}});export{c as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationEllipsisProps } from "./types.js";
2
- import * as vue361 from "vue";
2
+ import * as vue970 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-ellipsis.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue361.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue361.ComponentOptionsMixin, vue361.ComponentOptionsMixin, {}, string, vue361.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue361.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue970.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue970.ComponentOptionsMixin, vue970.ComponentOptionsMixin, {}, string, vue970.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue970.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationFirst`,__name:`pagination-first`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationFirst`),m=t(`first`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`First Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||=i(`First page`,-1)])],10,u))}});export{d as default};
1
+ import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationFirst`,__name:`pagination-first`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationFirst`),m=t(`first`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`First Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`First page`,-1))])],10,u))}});export{d as default};