@soybeanjs/headless 0.2.8 → 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 (279) 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/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  21. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  22. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  23. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  24. package/dist/components/avatar/context.d.ts +2 -2
  25. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  26. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  27. package/dist/components/badge/context.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  29. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  34. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/context.d.ts +2 -2
  37. package/dist/components/button/button.vue.d.ts +5 -5
  38. package/dist/components/card/card-content.vue.d.ts +2 -2
  39. package/dist/components/card/card-description.vue.d.ts +2 -2
  40. package/dist/components/card/card-footer.vue.d.ts +2 -2
  41. package/dist/components/card/card-header.vue.d.ts +2 -2
  42. package/dist/components/card/card-root.vue.d.ts +2 -2
  43. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  44. package/dist/components/card/card-title.vue.d.ts +2 -2
  45. package/dist/components/card/context.d.ts +2 -2
  46. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  48. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  49. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  50. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  51. package/dist/components/checkbox/context.d.ts +2 -2
  52. package/dist/components/collapsible/collapsible-content.js +1 -1
  53. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  54. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  55. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  56. package/dist/components/collapsible/context.d.ts +2 -2
  57. package/dist/components/collapsible/context.js +1 -1
  58. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  59. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  60. package/dist/components/context-menu/context-menu-root.js +1 -1
  61. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  62. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  63. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  64. package/dist/components/dialog/context.d.ts +2 -2
  65. package/dist/components/dialog/context.js +1 -1
  66. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  67. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  68. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  69. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  71. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  72. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  73. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  74. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  75. package/dist/components/dropdown-menu/context.js +1 -1
  76. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  77. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  78. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  79. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  80. package/dist/components/form/context.d.ts +2 -2
  81. package/dist/components/form/form-description.vue.d.ts +2 -2
  82. package/dist/components/form/form-error.vue.d.ts +2 -2
  83. package/dist/components/form/form-field.vue.d.ts +2 -2
  84. package/dist/components/form/form-label.vue.d.ts +2 -2
  85. package/dist/components/input/context.d.ts +2 -2
  86. package/dist/components/input/input-control.vue.d.ts +2 -2
  87. package/dist/components/input/input-root.vue.d.ts +4 -4
  88. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  89. package/dist/components/label/label.vue.d.ts +2 -2
  90. package/dist/components/layout/context.d.ts +2 -2
  91. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  92. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  95. package/dist/components/layout/layout-rail.js +1 -1
  96. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  97. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  98. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  99. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  100. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  101. package/dist/components/link/link.vue.d.ts +4 -4
  102. package/dist/components/list/context.d.ts +2 -2
  103. package/dist/components/list/list-content.vue.d.ts +2 -2
  104. package/dist/components/list/list-description.vue.d.ts +2 -2
  105. package/dist/components/list/list-item.vue.d.ts +2 -2
  106. package/dist/components/list/list-root.vue.d.ts +2 -2
  107. package/dist/components/list/list-title.vue.d.ts +2 -2
  108. package/dist/components/listbox/context.d.ts +2 -2
  109. package/dist/components/listbox/listbox-content.js +1 -1
  110. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  111. package/dist/components/listbox/listbox-filter.js +1 -1
  112. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  113. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  114. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  115. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  116. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  117. package/dist/components/listbox/listbox-root.js +1 -1
  118. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  119. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  120. package/dist/components/menu/context.d.ts +2 -2
  121. package/dist/components/menu/context.js +1 -1
  122. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  123. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  124. package/dist/components/menu/menu-content-impl.js +1 -1
  125. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  126. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  127. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  128. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  129. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  130. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  131. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  132. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  133. package/dist/components/menu/menu-sub-content.js +1 -1
  134. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  135. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  136. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  137. package/dist/components/navigation-menu/context.d.ts +2 -2
  138. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  139. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  140. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  141. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  142. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  143. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  144. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  145. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  146. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  147. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  148. package/dist/components/number-input/context.d.ts +2 -2
  149. package/dist/components/number-input/number-input-control.js +1 -1
  150. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  151. package/dist/components/number-input/number-input-decrement.js +1 -1
  152. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  153. package/dist/components/number-input/number-input-increment.js +1 -1
  154. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  155. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  156. package/dist/components/pagination/context.d.ts +2 -2
  157. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  158. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  159. package/dist/components/pagination/pagination-first.js +1 -1
  160. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  161. package/dist/components/pagination/pagination-last.js +1 -1
  162. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  163. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  165. package/dist/components/pagination/pagination-next.js +1 -1
  166. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  167. package/dist/components/pagination/pagination-prev.js +1 -1
  168. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  169. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  170. package/dist/components/popover/context.js +1 -1
  171. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  172. package/dist/components/popover/popover-close.js +1 -1
  173. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  174. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  175. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  176. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  177. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  178. package/dist/components/popper/context.d.ts +2 -2
  179. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  180. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  181. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  182. package/dist/components/popper/popper-positioner.vue.d.ts +11 -11
  183. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  184. package/dist/components/portal/portal.vue.d.ts +3 -3
  185. package/dist/components/primitive/primitive.d.ts +2 -2
  186. package/dist/components/radio-group/context.d.ts +2 -2
  187. package/dist/components/radio-group/radio-group-control.js +1 -1
  188. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  189. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  190. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  191. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  192. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  193. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  194. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  195. package/dist/components/select/context.d.ts +2 -2
  196. package/dist/components/select/context.js +1 -1
  197. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  198. package/dist/components/select/select-content-impl.js +1 -1
  199. package/dist/components/select/select-content.vue.d.ts +8 -8
  200. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  201. package/dist/components/select/select-group.vue.d.ts +2 -2
  202. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  203. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  204. package/dist/components/select/select-item.js +1 -1
  205. package/dist/components/select/select-item.vue.d.ts +4 -4
  206. package/dist/components/select/select-root.vue.d.ts +5 -5
  207. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  208. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  209. package/dist/components/select/select-separator.vue.d.ts +2 -2
  210. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  211. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  212. package/dist/components/select/select-value.vue.d.ts +3 -3
  213. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  214. package/dist/components/separator/context.d.ts +2 -2
  215. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  216. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  217. package/dist/components/slot/slot.d.ts +2 -2
  218. package/dist/components/switch/context.d.ts +2 -2
  219. package/dist/components/switch/switch-control.js +1 -1
  220. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  221. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  222. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  223. package/dist/components/tabs/context.d.ts +2 -2
  224. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  225. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  226. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  227. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  228. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  229. package/dist/components/tag/tag.vue.d.ts +4 -4
  230. package/dist/components/textarea/context.d.ts +2 -2
  231. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  232. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  233. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  234. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  235. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  236. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  237. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  238. package/dist/components/toast/toast-root.vue.d.ts +8 -8
  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-grace-area.js +1 -1
  268. package/dist/composables/use-image-loading-status.js +1 -1
  269. package/dist/composables/use-is-using-keyboard.js +1 -1
  270. package/dist/composables/use-kbd.d.ts +2 -2
  271. package/dist/composables/use-presence.d.ts +2 -2
  272. package/dist/composables/use-props.d.ts +3 -3
  273. package/dist/composables/use-selection.d.ts +4 -4
  274. package/dist/shared/focus.js +1 -1
  275. package/dist/shared/index.d.ts +2 -1
  276. package/dist/shared/index.js +1 -1
  277. package/dist/shared/tree.d.ts +13 -0
  278. package/dist/shared/tree.js +1 -0
  279. package/package.json +26 -26
@@ -1,16 +1,16 @@
1
1
  import { MenuItemProps } from "./types.js";
2
- import * as vue1829 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: vue1829.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1829.ComponentOptionsMixin, vue1829.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1205.DefineComponent<MenuItemProps, {}, {}, {}, {}, vue1205.ComponentOptionsMixin, vue1205.ComponentOptionsMixin, {
10
10
  select: (event: Event) => any;
11
- }, string, vue1829.PublicProps, Readonly<MenuItemProps> & Readonly<{
11
+ }, string, vue1205.PublicProps, Readonly<MenuItemProps> & Readonly<{
12
12
  onSelect?: ((event: Event) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, vue1829.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 vue1867 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: vue1867.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
- }>) => vue1867.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 vue1845 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: vue1845.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1845.ComponentOptionsMixin, vue1845.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1240.DefineComponent<MenuRadioItemProps, {}, {}, {}, {}, vue1240.ComponentOptionsMixin, vue1240.ComponentOptionsMixin, {
12
12
  select: (event: Event) => any;
13
- }, string, vue1845.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
13
+ }, string, vue1240.PublicProps, Readonly<MenuRadioItemProps> & Readonly<{
14
14
  onSelect?: ((event: Event) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1845.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 vue1809 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: vue1809.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1809.ComponentOptionsMixin, vue1809.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1210.DefineComponent<MenuRootProps, {}, {}, {}, {}, vue1210.ComponentOptionsMixin, vue1210.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue1809.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, vue1809.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 vue1860 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: vue1860.DefineComponent<MenuSubContentProps, {}, {}, {}, {}, vue1860.ComponentOptionsMixin, vue1860.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
- entryFocus: (event: Event) => any;
18
19
  openAutoFocus: (event: Event) => any;
19
- closeAutoFocus: (event: Event) => any;
20
- }, string, vue1860.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
- onEntryFocus?: ((event: Event) => any) | undefined;
26
27
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
27
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
29
  prioritizePosition: boolean;
30
- }, {}, {}, {}, string, vue1860.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 vue1855 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: vue1855.DefineComponent<MenuSubTriggerProps, {}, {}, {}, {}, vue1855.ComponentOptionsMixin, vue1855.ComponentOptionsMixin, {}, string, vue1855.PublicProps, Readonly<MenuSubTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1855.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 vue1850 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: vue1850.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1850.ComponentOptionsMixin, vue1850.ComponentOptionsMixin, {
9
+ declare const __VLS_base: vue1230.DefineComponent<MenuSubProps, {}, {}, {}, {}, vue1230.ComponentOptionsMixin, vue1230.ComponentOptionsMixin, {
10
10
  "update:open": (value: boolean) => any;
11
- }, string, vue1850.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, vue1850.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 vue298 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: vue298.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>) => vue298.ComputedRef<Partial<UiClass<NavigationMenuUiSlot>>>, useNavigationMenuUi: <S extends NavigationMenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NavigationMenuUiSlot ? vue298.ComputedRef<ClassValue> : vue298.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 vue267 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: vue267.DefineComponent<NavigationMenuContentProps, {}, {}, {}, {}, vue267.ComponentOptionsMixin, vue267.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, vue267.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, vue267.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 vue288 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: vue288.DefineComponent<NavigationMenuIndicatorProps, {}, {}, {}, {}, vue288.ComponentOptionsMixin, vue288.ComponentOptionsMixin, {}, string, vue288.PublicProps, Readonly<NavigationMenuIndicatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue288.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 vue252 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: vue252.DefineComponent<NavigationMenuItemProps, {}, {}, {}, {}, vue252.ComponentOptionsMixin, vue252.ComponentOptionsMixin, {}, string, vue252.PublicProps, Readonly<NavigationMenuItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue252.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 vue283 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: vue283.DefineComponent<NavigationMenuLinkProps, {}, {}, {}, {}, vue283.ComponentOptionsMixin, vue283.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, vue283.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, vue283.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 vue262 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: vue262.DefineComponent<NavigationMenuListProps, {}, {}, {}, {}, vue262.ComponentOptionsMixin, vue262.ComponentOptionsMixin, {}, string, vue262.PublicProps, Readonly<NavigationMenuListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue262.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 vue257 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: vue257.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue257.ComponentOptionsMixin, vue257.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1840.DefineComponent<NavigationMenuRootProps, {}, {}, {}, {}, vue1840.ComponentOptionsMixin, vue1840.ComponentOptionsMixin, {
14
14
  "update:modelValue": (value: string) => any;
15
- }, string, vue257.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
15
+ }, string, vue1840.PublicProps, Readonly<NavigationMenuRootProps> & Readonly<{
16
16
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
17
17
  }>, {
18
18
  orientation: DataOrientation;
19
19
  dir: Direction;
20
+ unmountOnHide: boolean;
20
21
  delayDuration: number;
21
22
  skipDelayDuration: number;
22
- unmountOnHide: boolean;
23
- }, {}, {}, {}, string, vue257.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 vue272 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: vue272.DefineComponent<NavigationMenuSubListProps, {}, {}, {}, {}, vue272.ComponentOptionsMixin, vue272.ComponentOptionsMixin, {}, string, vue272.PublicProps, Readonly<NavigationMenuSubListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue272.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 vue277 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: vue277.DefineComponent<NavigationMenuTriggerProps, {}, {}, {}, {}, vue277.ComponentOptionsMixin, vue277.ComponentOptionsMixin, {}, string, vue277.PublicProps, Readonly<NavigationMenuTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue277.Component;
13
- }, {}, {}, {}, string, vue277.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 vue293 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: vue293.DefineComponent<NavigationMenuViewportProps, {}, {}, {}, {}, vue293.ComponentOptionsMixin, vue293.ComponentOptionsMixin, {}, string, vue293.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, vue293.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 vue88 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: vue88.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>) => vue88.ComputedRef<Partial<UiClass<NumberInputUiSlot>>>, useNumberInputUi: <S extends NumberInputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends NumberInputUiSlot ? vue88.ComputedRef<ClassValue> : vue88.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 vue83 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: vue83.DefineComponent<NumberInputControlProps, {}, {}, {}, {}, vue83.ComponentOptionsMixin, vue83.ComponentOptionsMixin, {}, string, vue83.PublicProps, Readonly<NumberInputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue83.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 vue71 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: vue71.DefineComponent<NumberInputDecrementProps, {}, {}, {}, {}, vue71.ComponentOptionsMixin, vue71.ComponentOptionsMixin, {}, string, vue71.PublicProps, Readonly<NumberInputDecrementProps> & Readonly<{}>, {
12
- as: AsTag | vue71.Component;
13
- }, {}, {}, {}, string, vue71.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 vue77 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: vue77.DefineComponent<NumberInputIncrementProps, {}, {}, {}, {}, vue77.ComponentOptionsMixin, vue77.ComponentOptionsMixin, {}, string, vue77.PublicProps, Readonly<NumberInputIncrementProps> & Readonly<{}>, {
12
- as: AsTag | vue77.Component;
13
- }, {}, {}, {}, string, vue77.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 vue66 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: vue66.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue66.ComponentOptionsMixin, vue66.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue794.DefineComponent<NumberInputRootProps, {}, {}, {}, {}, vue794.ComponentOptionsMixin, vue794.ComponentOptionsMixin, {
13
13
  "update:modelValue": (val: number) => any;
14
- }, string, vue66.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, vue66.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 vue215 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: vue215.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue215.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue215.ComputedRef<ClassValue> : vue215.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 vue195 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: vue195.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue195.ComponentOptionsMixin, vue195.ComponentOptionsMixin, {}, string, vue195.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue195.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};