@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,12 +1,12 @@
1
1
  import { LayoutTabProps } from "./types.js";
2
- import * as vue1298 from "vue";
2
+ import * as vue1538 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-tab.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: vue1298.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue1298.ComponentOptionsMixin, vue1298.ComponentOptionsMixin, {}, string, vue1298.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1298.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1538.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue1538.ComponentOptionsMixin, vue1538.ComponentOptionsMixin, {}, string, vue1538.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1538.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 { LayoutTriggerProps } from "./types.js";
2
- import * as vue1293 from "vue";
2
+ import * as vue1486 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-trigger.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,7 +8,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: vue1293.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue1293.ComponentOptionsMixin, vue1293.ComponentOptionsMixin, {}, string, vue1293.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1293.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1486.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue1486.ComponentOptionsMixin, vue1486.ComponentOptionsMixin, {}, string, vue1486.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1486.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import { LinkProps } from "./types.js";
3
3
  import "../primitive/index.js";
4
- import * as vue1972 from "vue";
4
+ import * as vue1334 from "vue";
5
5
 
6
6
  //#region src/components/link/link.vue.d.ts
7
7
  type Slots = {
@@ -12,9 +12,9 @@ type Slots = {
12
12
  }) => any;
13
13
  };
14
14
  type __VLS_Slots = Slots;
15
- declare const __VLS_base: vue1972.DefineComponent<LinkProps, {}, {}, {}, {}, vue1972.ComponentOptionsMixin, vue1972.ComponentOptionsMixin, {}, string, vue1972.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
15
+ declare const __VLS_base: vue1334.DefineComponent<LinkProps, {}, {}, {}, {}, vue1334.ComponentOptionsMixin, vue1334.ComponentOptionsMixin, {}, string, vue1334.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
16
16
  replace: boolean;
17
- as: AsTag | vue1972.Component;
17
+ as: AsTag | vue1334.Component;
18
18
  disabled: boolean;
19
19
  viewTransition: boolean;
20
20
  external: boolean;
@@ -22,7 +22,7 @@ declare const __VLS_base: vue1972.DefineComponent<LinkProps, {}, {}, {}, {}, vue
22
22
  noRel: boolean;
23
23
  prefetch: boolean;
24
24
  noPrefetch: boolean;
25
- }, {}, {}, {}, string, vue1972.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue1334.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { ListUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue501 from "vue";
4
+ import * as vue1355 from "vue";
5
5
 
6
6
  //#region src/components/list/context.d.ts
7
- declare const provideListUi: (ui: vue501.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue501.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue501.ComputedRef<ClassValue> : vue501.ComputedRef<Partial<UiClass<ListUiSlot>>>;
7
+ declare const provideListUi: (ui: vue1355.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue1355.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue1355.ComputedRef<ClassValue> : vue1355.ComputedRef<Partial<UiClass<ListUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideListUi };
@@ -1,12 +1,12 @@
1
1
  import { ListContentProps } from "./types.js";
2
- import * as vue496 from "vue";
2
+ import * as vue1350 from "vue";
3
3
 
4
4
  //#region src/components/list/list-content.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: vue496.DefineComponent<ListContentProps, {}, {}, {}, {}, vue496.ComponentOptionsMixin, vue496.ComponentOptionsMixin, {}, string, vue496.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue496.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1350.DefineComponent<ListContentProps, {}, {}, {}, {}, vue1350.ComponentOptionsMixin, vue1350.ComponentOptionsMixin, {}, string, vue1350.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1350.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,12 +1,12 @@
1
1
  import { ListDescriptionProps } from "./types.js";
2
- import * as vue481 from "vue";
2
+ import * as vue1340 from "vue";
3
3
 
4
4
  //#region src/components/list/list-description.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: vue481.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue481.ComponentOptionsMixin, vue481.ComponentOptionsMixin, {}, string, vue481.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue481.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1340.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue1340.ComponentOptionsMixin, vue1340.ComponentOptionsMixin, {}, string, vue1340.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1340.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,12 +1,12 @@
1
1
  import { ListItemProps } from "./types.js";
2
- import * as vue486 from "vue";
2
+ import * as vue1364 from "vue";
3
3
 
4
4
  //#region src/components/list/list-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: vue486.DefineComponent<ListItemProps, {}, {}, {}, {}, vue486.ComponentOptionsMixin, vue486.ComponentOptionsMixin, {}, string, vue486.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue486.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1364.DefineComponent<ListItemProps, {}, {}, {}, {}, vue1364.ComponentOptionsMixin, vue1364.ComponentOptionsMixin, {}, string, vue1364.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1364.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,12 +1,12 @@
1
1
  import { ListRootProps } from "./types.js";
2
- import * as vue476 from "vue";
2
+ import * as vue1359 from "vue";
3
3
 
4
4
  //#region src/components/list/list-root.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: vue476.DefineComponent<ListRootProps, {}, {}, {}, {}, vue476.ComponentOptionsMixin, vue476.ComponentOptionsMixin, {}, string, vue476.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue476.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1359.DefineComponent<ListRootProps, {}, {}, {}, {}, vue1359.ComponentOptionsMixin, vue1359.ComponentOptionsMixin, {}, string, vue1359.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1359.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,12 +1,12 @@
1
1
  import { ListTitleProps } from "./types.js";
2
- import * as vue491 from "vue";
2
+ import * as vue1345 from "vue";
3
3
 
4
4
  //#region src/components/list/list-title.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: vue491.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue491.ComponentOptionsMixin, vue491.ComponentOptionsMixin, {}, string, vue491.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue491.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1345.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue1345.ComponentOptionsMixin, vue1345.ComponentOptionsMixin, {}, string, vue1345.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1345.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 & {
@@ -2,11 +2,11 @@ import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import "../../composables/index.js";
3
3
  import { ListboxUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue535 from "vue";
5
+ import * as vue1579 from "vue";
6
6
  import "@vueuse/shared";
7
7
 
8
8
  //#region src/components/listbox/context.d.ts
9
9
 
10
- declare const provideListboxUi: (ui: vue535.ComputedRef<Partial<UiClass<ListboxUiSlot>>>) => vue535.ComputedRef<Partial<UiClass<ListboxUiSlot>>>, useListboxUi: <S extends ListboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListboxUiSlot ? vue535.ComputedRef<ClassValue> : vue535.ComputedRef<Partial<UiClass<ListboxUiSlot>>>;
10
+ declare const provideListboxUi: (ui: vue1579.ComputedRef<Partial<UiClass<ListboxUiSlot>>>) => vue1579.ComputedRef<Partial<UiClass<ListboxUiSlot>>>, useListboxUi: <S extends ListboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListboxUiSlot ? vue1579.ComputedRef<ClassValue> : vue1579.ComputedRef<Partial<UiClass<ListboxUiSlot>>>;
11
11
  //#endregion
12
12
  export { provideListboxUi };
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useCollectionContext as t,useListboxRootContext as n,useListboxUi as r}from"./context.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withKeys as d,withModifiers as f}from"vue";import{refAutoReset as p}from"@vueuse/shared";const m=[`tabindex`,`aria-orientation`,`aria-multiselectable`,`data-orientation`,`onKeydown`];var h=o({name:`ListboxContent`,__name:`listbox-content`,setup(o){let{orientation:h,focusable:g,highlightedElement:_,isMultiple:v,onEnter:y,onKeydownNavigation:b,onKeydownEnter:x,onKeydownTypeahead:S}=n(`ListboxContent`),{onContainerElementChange:C}=t(`ListboxContent`),[w,T]=e(e=>{C(e)}),E=r(`content`),D=p(!1,10),O=i(()=>g.value?_.value?`-1`:`0`:`-1`),k=e=>{D.value||y(e)},A=e=>{h.value===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(e.key)||h.value===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(e.key)||(e.preventDefault(),g.value&&b(e))},j=()=>{D.value=!0};return(e,t)=>(c(),a(`div`,{ref:u(T),class:s(u(E)),role:`listbox`,tabindex:O.value,"aria-orientation":u(h),"aria-multiselectable":u(v),"data-orientation":u(h),onMousedown:f(j,[`left`]),onFocus:k,onKeydown:[d(f(A,[`prevent`]),[`down`,`up`,`left`,`right`,`home`,`end`]),t[0]||=d((...e)=>u(x)&&u(x)(...e),[`enter`]),t[1]||=(...e)=>u(S)&&u(S)(...e)]},[l(e.$slots,`default`)],42,m))}});export{h as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useCollectionContext as t,useListboxRootContext as n,useListboxUi as r}from"./context.js";import{computed as i,createElementBlock as a,defineComponent as o,normalizeClass as s,openBlock as c,renderSlot as l,unref as u,withKeys as d,withModifiers as f}from"vue";import{refAutoReset as p}from"@vueuse/shared";const m=[`tabindex`,`aria-orientation`,`aria-multiselectable`,`data-orientation`,`onKeydown`];var h=o({name:`ListboxContent`,__name:`listbox-content`,setup(o){let{orientation:h,focusable:g,highlightedElement:_,isMultiple:v,onEnter:y,onKeydownNavigation:b,onKeydownEnter:x,onKeydownTypeahead:S}=n(`ListboxContent`),{onContainerElementChange:C}=t(`ListboxContent`),[w,T]=e(e=>{C(e)}),E=r(`content`),D=p(!1,10),O=i(()=>g.value?_.value?`-1`:`0`:`-1`),k=e=>{D.value||y(e)},A=e=>{h.value===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(e.key)||h.value===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(e.key)||(e.preventDefault(),g.value&&b(e))},j=()=>{D.value=!0};return(e,t)=>(c(),a(`div`,{ref:u(T),class:s(u(E)),role:`listbox`,tabindex:O.value,"aria-orientation":u(h),"aria-multiselectable":u(v),"data-orientation":u(h),onMousedown:f(j,[`left`]),onFocus:k,onKeydown:[d(f(A,[`prevent`]),[`down`,`up`,`left`,`right`,`home`,`end`]),t[0]||(t[0]=d((...e)=>u(x)&&u(x)(...e),[`enter`])),t[1]||(t[1]=(...e)=>u(S)&&u(S)(...e))]},[l(e.$slots,`default`)],42,m))}});export{h as default};
@@ -1,12 +1,12 @@
1
1
  import { ListboxContentProps } from "./types.js";
2
- import * as vue505 from "vue";
2
+ import * as vue1543 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-content.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: vue505.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue505.ComponentOptionsMixin, vue505.ComponentOptionsMixin, {}, string, vue505.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue505.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1543.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue1543.ComponentOptionsMixin, vue1543.ComponentOptionsMixin, {}, string, vue1543.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1543.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{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import n from"../input/input-root.js";import r from"../input/input-control.js";import{useListboxRootContext as i}from"./context.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,mergeProps as l,onMounted as u,onUnmounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h,watchSyncEffect as g,withCtx as _,withKeys as v,withModifiers as y}from"vue";var b=c({name:`ListboxFilter`,__name:`listbox-filter`,props:{inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(c,{emit:b}){let x=c,S=b,C=t(x,[`inputRef`,`controlProps`]),{disabled:w,focusable:T,highlightedElement:E,highlightFirstItem:D,onKeydownNavigation:O,onKeydownEnter:k}=i(`ListboxFilter`),[A,j]=e(e=>x.inputRef?.(e)),M=a(()=>x.disabled||w.value||!1),N=m(),P=()=>{D()};return g(()=>{N.value=E.value?.id}),u(()=>{T.value=!1,setTimeout(()=>{x.autofocus&&A.value?.focus()},1)}),d(()=>{T.value=!0}),(e,t)=>(f(),o(h(n),l(h(C),{"onUpdate:modelValue":t[0]||=e=>S(`update:modelValue`,e)}),{default:_(({clear:t})=>[p(e.$slots,`leading`,{clear:t}),s(h(r),l(c.controlProps,{ref:h(j),"aria-activedescendant":N.value,disabled:M.value,type:`text`,onKeydown:[v(y(h(O),[`prevent`]),[`down`,`up`,`home`,`end`]),v(h(k),[`enter`])],onInput:P}),null,16,[`aria-activedescendant`,`disabled`,`onKeydown`]),p(e.$slots,`trailing`,{clear:t})]),_:3},16))}});export{b as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import n from"../input/input-root.js";import r from"../input/input-control.js";import{useListboxRootContext as i}from"./context.js";import{computed as a,createBlock as o,createVNode as s,defineComponent as c,mergeProps as l,onMounted as u,onUnmounted as d,openBlock as f,renderSlot as p,shallowRef as m,unref as h,watchSyncEffect as g,withCtx as _,withKeys as v,withModifiers as y}from"vue";var b=c({name:`ListboxFilter`,__name:`listbox-filter`,props:{inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(c,{emit:b}){let x=c,S=b,C=t(x,[`inputRef`,`controlProps`]),{disabled:w,focusable:T,highlightedElement:E,highlightFirstItem:D,onKeydownNavigation:O,onKeydownEnter:k}=i(`ListboxFilter`),[A,j]=e(e=>x.inputRef?.(e)),M=a(()=>x.disabled||w.value||!1),N=m(),P=()=>{D()};return g(()=>{N.value=E.value?.id}),u(()=>{T.value=!1,setTimeout(()=>{x.autofocus&&A.value?.focus()},1)}),d(()=>{T.value=!0}),(e,t)=>(f(),o(h(n),l(h(C),{"onUpdate:modelValue":t[0]||(t[0]=e=>S(`update:modelValue`,e))}),{default:_(({clear:t})=>[p(e.$slots,`leading`,{clear:t}),s(h(r),l(c.controlProps,{ref:h(j),"aria-activedescendant":N.value,disabled:M.value,type:`text`,onKeydown:[v(y(h(O),[`prevent`]),[`down`,`up`,`home`,`end`]),v(h(k),[`enter`])],onInput:P}),null,16,[`aria-activedescendant`,`disabled`,`onKeydown`]),p(e.$slots,`trailing`,{clear:t})]),_:3},16))}});export{b as default};
@@ -1,5 +1,5 @@
1
1
  import { ListboxFilterProps } from "./types.js";
2
- import * as vue607 from "vue";
2
+ import * as vue1574 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-filter.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -12,11 +12,11 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  trailing?: (props: typeof __VLS_21) => any;
14
14
  };
15
- declare const __VLS_base: vue607.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue607.ComponentOptionsMixin, vue607.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue1574.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue1574.ComponentOptionsMixin, vue1574.ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string) => any;
17
- }, string, vue607.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
17
+ }, string, vue1574.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue607.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue1574.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { ListboxGroupLabelProps } from "./types.js";
2
- import * as vue525 from "vue";
2
+ import * as vue1557 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-group-label.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: vue525.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue525.ComponentOptionsMixin, vue525.ComponentOptionsMixin, {}, string, vue525.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue525.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1557.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue1557.ComponentOptionsMixin, vue1557.ComponentOptionsMixin, {}, string, vue1557.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1557.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,12 +1,12 @@
1
1
  import { ListboxGroupProps } from "./types.js";
2
- import * as vue520 from "vue";
2
+ import * as vue1552 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-group.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: vue520.DefineComponent<ListboxGroupProps, {}, {}, {}, {}, vue520.ComponentOptionsMixin, vue520.ComponentOptionsMixin, {}, string, vue520.PublicProps, Readonly<ListboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue520.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1552.DefineComponent<ListboxGroupProps, {}, {}, {}, {}, vue1552.ComponentOptionsMixin, vue1552.ComponentOptionsMixin, {}, string, vue1552.PublicProps, Readonly<ListboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1552.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 { ListboxItemIndicatorProps } from "./types.js";
4
- import * as vue601 from "vue";
4
+ import * as vue1568 from "vue";
5
5
 
6
6
  //#region src/components/listbox/listbox-item-indicator.vue.d.ts
7
7
  declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue601.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue601.ComponentOptionsMixin, vue601.ComponentOptionsMixin, {}, string, vue601.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue601.Component;
13
- }, {}, {}, {}, string, vue601.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1568.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue1568.ComponentOptionsMixin, vue1568.ComponentOptionsMixin, {}, string, vue1568.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue1568.Component;
13
+ }, {}, {}, {}, string, vue1568.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 & {
@@ -3,20 +3,20 @@ import "../../types/index.js";
3
3
  import { AsTag } from "../primitive/types.js";
4
4
  import "../primitive/index.js";
5
5
  import { ListboxItemProps } from "./types.js";
6
- import * as vue514 from "vue";
6
+ import * as vue1562 from "vue";
7
7
 
8
8
  //#region src/components/listbox/listbox-item.vue.d.ts
9
9
  declare var __VLS_12: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_12) => any;
12
12
  };
13
- declare const __VLS_base: vue514.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue514.ComponentOptionsMixin, vue514.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1562.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue1562.ComponentOptionsMixin, vue1562.ComponentOptionsMixin, {
14
14
  select: (event: SelectEvent<string>) => any;
15
- }, string, vue514.PublicProps, Readonly<ListboxItemProps> & Readonly<{
15
+ }, string, vue1562.PublicProps, Readonly<ListboxItemProps> & Readonly<{
16
16
  onSelect?: ((event: SelectEvent<string>) => any) | undefined;
17
17
  }>, {
18
- as: AsTag | vue514.Component;
19
- }, {}, {}, {}, string, vue514.ComponentProvideOptions, false, {}, any>;
18
+ as: AsTag | vue1562.Component;
19
+ }, {}, {}, {}, string, vue1562.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import{useSelection as n}from"../../composables/use-selection.js";import r from"../visually-hidden/visually-hidden-input.js";import{provideListboxRootContext as i,useListboxUi as a}from"./context.js";import{computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,defineComponent as u,nextTick as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h,watch as g}from"vue";const _=[`data-disabled`,`dir`];var v=u({name:`ListboxRoot`,__name:`listbox-root`,props:{orientation:{default:`vertical`},dir:{},disabled:{type:Boolean},selectionBehavior:{default:`toggle`},highlightOnHover:{type:Boolean},modelValue:{default:void 0},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`],setup(u,{expose:v,emit:y}){let b=u,x=y,S=a(`root`),{modelValue:C,isMultiple:w}=n(b,e=>{x(`update:modelValue`,e)}),{rootElement:T,setRootElement:E,isUserAction:D,highlightedElement:O,highlightSelected:k,highlightFirstItem:A,highlightItem:j,getItems:M}=i({...t(b,[`dir`,`orientation`,`disabled`,`highlightOnHover`,`selectionBehavior`]),modelValue:C,isMultiple:w,onHighlight(e){x(`highlight`,e)},onEntryFocus(e){x(`entryFocus`,e)},onLeave(e){x(`leave`,e)}}),N=o(()=>e(T.value));return g(C,()=>{D.value||d(()=>{k()})},{immediate:!0,deep:!0}),v({highlightedElement:O,highlightItem:j,highlightFirstItem:A,highlightSelected:k,getItems:M}),(e,t)=>(p(),l(`div`,{ref:h(E),class:f(h(S)),"data-disabled":u.disabled?``:void 0,dir:u.dir,onPointerleave:t[0]||=(...t)=>e.onLeave&&e.onLeave(...t),onFocusout:t[1]||=(...t)=>e.onFocusout&&e.onFocusout(...t)},[m(e.$slots,`default`,{modelValue:h(C)}),N.value&&u.name?(p(),s(r,{key:0,name:u.name,value:h(C),disabled:u.disabled,required:u.required},null,8,[`name`,`value`,`disabled`,`required`])):c(`v-if`,!0)],42,_))}});export{v as default};
1
+ import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import{useSelection as n}from"../../composables/use-selection.js";import r from"../visually-hidden/visually-hidden-input.js";import{provideListboxRootContext as i,useListboxUi as a}from"./context.js";import{computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,defineComponent as u,nextTick as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h,watch as g}from"vue";const _=[`data-disabled`,`dir`];var v=u({name:`ListboxRoot`,__name:`listbox-root`,props:{orientation:{default:`vertical`},dir:{},disabled:{type:Boolean},selectionBehavior:{default:`toggle`},highlightOnHover:{type:Boolean},modelValue:{default:void 0},defaultValue:{},multiple:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`],setup(u,{expose:v,emit:y}){let b=u,x=y,S=a(`root`),{modelValue:C,isMultiple:w}=n(b,e=>{x(`update:modelValue`,e)}),{rootElement:T,setRootElement:E,isUserAction:D,highlightedElement:O,highlightSelected:k,highlightFirstItem:A,highlightItem:j,getItems:M}=i({...t(b,[`dir`,`orientation`,`disabled`,`highlightOnHover`,`selectionBehavior`]),modelValue:C,isMultiple:w,onHighlight(e){x(`highlight`,e)},onEntryFocus(e){x(`entryFocus`,e)},onLeave(e){x(`leave`,e)}}),N=o(()=>e(T.value));return g(C,()=>{D.value||d(()=>{k()})},{immediate:!0,deep:!0}),v({highlightedElement:O,highlightItem:j,highlightFirstItem:A,highlightSelected:k,getItems:M}),(e,t)=>(p(),l(`div`,{ref:h(E),class:f(h(S)),"data-disabled":u.disabled?``:void 0,dir:u.dir,onPointerleave:t[0]||(t[0]=(...t)=>e.onLeave&&e.onLeave(...t)),onFocusout:t[1]||(t[1]=(...t)=>e.onFocusout&&e.onFocusout(...t))},[m(e.$slots,`default`,{modelValue:h(C)}),N.value&&u.name?(p(),s(r,{key:0,name:u.name,value:h(C),disabled:u.disabled,required:u.required},null,8,[`name`,`value`,`disabled`,`required`])):c(`v-if`,!0)],42,_))}});export{v as default};
@@ -1,20 +1,20 @@
1
1
  import { CollectionItemData } from "../../composables/use-collection.js";
2
2
  import "../../composables/index.js";
3
3
  import { ListboxCollectionItemData, ListboxRootProps } from "./types.js";
4
- import * as vue510 from "vue";
4
+ import * as vue1548 from "vue";
5
5
 
6
6
  //#region src/components/listbox/listbox-root.vue.d.ts
7
7
  declare const __VLS_export: <M extends boolean>(__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: vue510.PublicProps & __VLS_PrettifyLocal<ListboxRootProps<M> & {
8
+ props: vue1548.PublicProps & __VLS_PrettifyLocal<ListboxRootProps<M> & {
9
9
  "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
10
- onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
11
10
  onEntryFocus?: ((event: CustomEvent<any>) => any) | undefined;
11
+ onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  onLeave?: ((event: Event) => any) | undefined;
13
13
  }> & (typeof globalThis extends {
14
14
  __VLS_PROPS_FALLBACK: infer P;
15
15
  } ? P : {});
16
- expose: (exposed: vue510.ShallowUnwrapRef<{
17
- highlightedElement: vue510.ShallowRef<HTMLElement | null, HTMLElement | null>;
16
+ expose: (exposed: vue1548.ShallowUnwrapRef<{
17
+ highlightedElement: vue1548.ShallowRef<HTMLElement | null, HTMLElement | null>;
18
18
  highlightItem: (value: string) => void;
19
19
  highlightFirstItem: () => void;
20
20
  highlightSelected: (event?: Event) => Promise<void>;
@@ -26,8 +26,8 @@ declare const __VLS_export: <M extends boolean>(__VLS_props: NonNullable<Awaited
26
26
  modelValue: (M extends true ? string[] : string) | undefined;
27
27
  }) => any;
28
28
  };
29
- emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "leave", event: Event) => void);
30
- }>) => vue510.VNode & {
29
+ emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "entryFocus", event: CustomEvent<any>) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void) & ((evt: "leave", event: Event) => void);
30
+ }>) => vue1548.VNode & {
31
31
  __ctx?: Awaited<typeof __VLS_setup>;
32
32
  };
33
33
  declare const _default: typeof __VLS_export;
@@ -1,9 +1,9 @@
1
1
  import { ListboxVirtualizerProps, ListboxVirtualizerSlots } from "./types.js";
2
- import * as vue530 from "vue";
2
+ import * as vue1645 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-virtualizer.vue.d.ts
5
5
  type __VLS_Slots = ListboxVirtualizerSlots;
6
- declare const __VLS_base: vue530.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue530.ComponentOptionsMixin, vue530.ComponentOptionsMixin, {}, string, vue530.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue530.ComponentProvideOptions, false, {}, any>;
6
+ declare const __VLS_base: vue1645.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue1645.ComponentOptionsMixin, vue1645.ComponentOptionsMixin, {}, string, vue1645.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1645.ComponentProvideOptions, false, {}, any>;
7
7
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
8
8
  declare const _default: typeof __VLS_export;
9
9
  type __VLS_WithSlots<T, S> = T & {
@@ -2,10 +2,10 @@ import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1869 from "vue";
5
+ import * as vue1254 from "vue";
6
6
 
7
7
  //#region src/components/menu/context.d.ts
8
8
 
9
- declare const provideMenuUi: (ui: vue1869.ComputedRef<Partial<UiClass<MenuUiSlot>>>) => vue1869.ComputedRef<Partial<UiClass<MenuUiSlot>>>, useMenuUi: <S extends MenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends MenuUiSlot ? vue1869.ComputedRef<ClassValue> : vue1869.ComputedRef<Partial<UiClass<MenuUiSlot>>>;
9
+ declare const provideMenuUi: (ui: vue1254.ComputedRef<Partial<UiClass<MenuUiSlot>>>) => vue1254.ComputedRef<Partial<UiClass<MenuUiSlot>>>, useMenuUi: <S extends MenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends MenuUiSlot ? vue1254.ComputedRef<ClassValue> : vue1254.ComputedRef<Partial<UiClass<MenuUiSlot>>>;
10
10
  //#endregion
11
11
  export { provideMenuUi, useMenuUi };
@@ -1 +1 @@
1
- import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{useDirection as i}from"../config-provider/context.js";import{providePopperUi as a}from"../popper/context.js";import{provideSeparatorUi as o}from"../separator/context.js";import{computed as s,ref as c,shallowRef as l,useId as u}from"vue";const[d,f]=n(`Menu`,t=>{let{isRoot:n,open:r}=t,i=e=>{r.value=e},a=s(()=>e(r.value)),o=n?`data-soybean-menu-popup`:`data-soybean-menu-sub-popup`,c=l(),d=e=>{c.value=e},f=l(),p=e=>{f.value=e},m=n?`soybean-menu`:`soybean-menu-sub`,h=l(``),g=()=>{h.value||=`${m}-popup-${u()}`},_=l(``);return{isRoot:n,open:r,onOpenChange:i,dataState:a,dataPopupAttr:o,popupElement:c,onPopupElementChange:d,triggerElement:f,onTriggerElementChange:p,popupId:h,initPopupId:g,triggerId:_,initTriggerId:()=>{_.value||=`${m}-trigger-${u()}`}}}),[p,m]=n(`MenuRoot`,e=>{let t=i(e.dir);return{...e,dir:t}}),[h,g]=n(`MenuContent`,e=>{let{popupElement:n}=e,r=l(``),i=c(null),a=l(0),o=l(`right`),s=c(null),u=e=>{s.value=e},d=()=>{s.value=null},f=e=>{let n=o.value===s.value?.side,r=t(e,s.value?.area);return n&&r};return{searchRef:r,currentItemId:i,popupElement:n,pointerSide:o,pointerGraceTimer:a,pointerGraceIntent:s,onPointerGraceIntentChange:u,resetPointerGraceIntent:d,onItemEnter:f,onItemLeave:e=>{f(e)||(n.value?.focus(),i.value=null)},onTriggerLeave:f}}),[_,v]=n(`MenuCheckboxGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value||=[],t.value.includes(e)?t.value=t.value.filter(t=>t!==e):t.value.push(e)};return{...e,onModelValueChange:n}}),[y,b]=n(`MenuRadioGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value=e};return{...e,onModelValueChange:n}}),[x,S]=n(`MenuItemIndicator`,e=>e),[C,w]=r(`MenuUi`,e=>(a(s(()=>({arrow:e.value?.arrow}))),o(s(()=>({root:e.value?.separator}))),e));export{_ as provideMenuCheckboxGroupContext,h as provideMenuContentContext,d as provideMenuContext,x as provideMenuItemIndicatorContext,y as provideMenuRadioGroupContext,p as provideMenuRootContext,C as provideMenuUi,v as useMenuCheckboxGroupContext,g as useMenuContentContext,f as useMenuContext,S as useMenuItemIndicatorContext,b as useMenuRadioGroupContext,m as useMenuRootContext,w as useMenuUi};
1
+ import{getDisclosureState as e}from"../../shared/value.js";import{isPointerInGraceArea as t}from"../../shared/geometry.js";import{useContext as n}from"../../composables/use-context.js";import{useUiContext as r}from"../../composables/use-ui-context.js";import{useDirection as i}from"../config-provider/context.js";import{providePopperUi as a}from"../popper/context.js";import{provideSeparatorUi as o}from"../separator/context.js";import{computed as s,ref as c,shallowRef as l,useId as u}from"vue";const[d,f]=n(`Menu`,t=>{let{isRoot:n,open:r}=t,i=e=>{r.value=e},a=s(()=>e(r.value)),o=n?`data-soybean-menu-popup`:`data-soybean-menu-sub-popup`,c=l(),d=e=>{c.value=e},f=l(),p=e=>{f.value=e},m=n?`soybean-menu`:`soybean-menu-sub`,h=l(``),g=()=>{h.value||(h.value=`${m}-popup-${u()}`)},_=l(``);return{isRoot:n,open:r,onOpenChange:i,dataState:a,dataPopupAttr:o,popupElement:c,onPopupElementChange:d,triggerElement:f,onTriggerElementChange:p,popupId:h,initPopupId:g,triggerId:_,initTriggerId:()=>{_.value||(_.value=`${m}-trigger-${u()}`)}}}),[p,m]=n(`MenuRoot`,e=>{let t=i(e.dir);return{...e,dir:t}}),[h,g]=n(`MenuContent`,e=>{let{popupElement:n}=e,r=l(``),i=c(null),a=l(0),o=l(`right`),s=c(null),u=e=>{s.value=e},d=()=>{s.value=null},f=e=>{let n=o.value===s.value?.side,r=t(e,s.value?.area);return n&&r};return{searchRef:r,currentItemId:i,popupElement:n,pointerSide:o,pointerGraceTimer:a,pointerGraceIntent:s,onPointerGraceIntentChange:u,resetPointerGraceIntent:d,onItemEnter:f,onItemLeave:e=>{f(e)||(n.value?.focus(),i.value=null)},onTriggerLeave:f}}),[_,v]=n(`MenuCheckboxGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value||(t.value=[]),t.value.includes(e)?t.value=t.value.filter(t=>t!==e):t.value.push(e)};return{...e,onModelValueChange:n}}),[y,b]=n(`MenuRadioGroup`,e=>{let{modelValue:t}=e,n=e=>{t.value=e};return{...e,onModelValueChange:n}}),[x,S]=n(`MenuItemIndicator`,e=>e),[C,w]=r(`MenuUi`,e=>(a(s(()=>({arrow:e.value?.arrow}))),o(s(()=>({root:e.value?.separator}))),e));export{_ as provideMenuCheckboxGroupContext,h as provideMenuContentContext,d as provideMenuContext,x as provideMenuItemIndicatorContext,y as provideMenuRadioGroupContext,p as provideMenuRootContext,C as provideMenuUi,v as useMenuCheckboxGroupContext,g as useMenuContentContext,f as useMenuContext,S as useMenuItemIndicatorContext,b as useMenuRadioGroupContext,m as useMenuRootContext,w as useMenuUi};
@@ -1,11 +1,11 @@
1
1
  import { DefinedValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuCheckboxGroupProps } from "./types.js";
4
- import * as vue1865 from "vue";
4
+ import * as vue1252 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-checkbox-group.vue.d.ts
7
7
  declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__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: vue1865.PublicProps & __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
8
+ props: vue1252.PublicProps & __VLS_PrettifyLocal<MenuCheckboxGroupProps<T> & {
9
9
  "onUpdate:modelValue"?: ((value: 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 DefinedValue = DefinedValue>(__VLS_props:
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", value: T[]) => void;
21
- }>) => vue1865.VNode & {
21
+ }>) => vue1252.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -1,7 +1,7 @@
1
1
  import { CheckedState } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { MenuCheckboxItemProps } from "./types.js";
4
- import * as vue1840 from "vue";
4
+ import * as vue1194 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-checkbox-item.vue.d.ts
7
7
  declare var __VLS_10: {
@@ -10,13 +10,13 @@ declare var __VLS_10: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_10) => any;
12
12
  };
13
- declare const __VLS_base: vue1840.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1840.ComponentOptionsMixin, vue1840.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1194.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1194.ComponentOptionsMixin, vue1194.ComponentOptionsMixin, {
14
14
  select: (event: Event) => any;
15
15
  "update:modelValue": (value: CheckedState) => any;
16
- }, string, vue1840.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
16
+ }, string, vue1194.PublicProps, Readonly<MenuCheckboxItemProps> & Readonly<{
17
17
  onSelect?: ((event: Event) => any) | undefined;
18
18
  "onUpdate:modelValue"?: ((value: CheckedState) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue1840.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue1194.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as ee}from"../../shared/focus.js";import{isMouseEvent as r}from"../../shared/event.js";import{useBodyScrollLock as i}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as a}from"../../composables/use-dismissable-layer.js";import{useForwardElement as o}from"../../composables/use-forward-element.js";import{useFocusGuards as s}from"../../composables/use-focus-guards.js";import{useFocusScope as c}from"../../composables/use-focus-scope.js";import{useHideOthers as l}from"../../composables/use-hide-others.js";import{useOmitProps as te}from"../../composables/use-props.js";import{useTypeahead as ne}from"../../composables/use-typeahead.js";import u from"../roving-focus/roving-focus-group.js";import{popperCssVars as d}from"../popper/shared.js";import re from"../popper/popper-positioner.js";import ie from"../popper/popper-popup.js";import{provideMenuContentContext as f,useMenuContext as p,useMenuRootContext as m,useMenuUi as h}from"./context.js";import{FIRST_LAST_KEYS as g,LAST_KEYS as _,MENU_POPUP_DATA_ATTRIBUTE as v,menuCssVars as y,subMenuCssVars as b}from"./shared.js";import{computed as x,createBlock as ae,createVNode as S,defineComponent as C,isRef as w,mergeProps as T,onWatcherCleanup as E,openBlock as D,renderSlot as O,unref as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=C({name:`MenuContentImpl`,__name:`menu-content-impl`,props:{popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(C,{emit:N}){let P=C,F=N,{modal:I,dir:L,isUsingKeyboard:R}=m(`MenuContentImpl`),{isRoot:z,dataState:B,popupId:V,triggerId:H,dataPopupAttr:oe,initPopupId:U,onOpenChange:W,onPopupElementChange:G}=p(`MenuContentImpl`),[K,q]=o(),[J,se]=o(e=>{G(e)}),{currentItemId:Y,searchRef:ce,pointerSide:le}=f({popupElement:J}),X=h(),Z=x(()=>z?X.value?.positioner:X.value?.subPositioner),ue=x(()=>z?X.value?.popup:X.value?.subPopup),{handleTypeaheadSearch:de}=ne(),Q=A(`rovingFocusGroupRef`),{pointerEvents:fe}=a(J,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{z&&W(!1)}}),{onKeydown:pe}=c(K,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),J.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),me=te(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`,`popupProps`]),he=x(()=>({...P.popupProps,[oe]:``})),ge=x(()=>{let e=z?y:b;return{[e.popupTransformOrigin]:`var(${d.transformOrigin})`,[e.popupAvailableWidth]:`var(${d.availableWidth})`,[e.popupAvailableHeight]:`var(${d.availableHeight})`,[e.triggerWidth]:`var(${d.anchorWidth})`,[e.triggerHeight]:`var(${d.anchorHeight})`,pointerEvents:fe.value}}),_e=e=>{F(`entryFocus`,e),R.value||e.preventDefault()},ve=r=>{if(pe(r),r.defaultPrevented)return;let i=r.target.closest(`[${v}]`)===r.currentTarget,a=r.ctrlKey||r.altKey||r.metaKey,o=r.key.length===1,s=t(r,n(),J.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:L.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(s){s.focus();return}if(r.code===`Space`)return;let c=Q.value?.getItems()??[];if(i&&(r.key===`Tab`&&r.preventDefault(),!a&&o&&de(r.key,c)),r.target!==J.value||!g.includes(r.key))return;r.preventDefault();let l=[...c.map(e=>e.element)];_.includes(r.key)&&l.reverse(),ee(l)};function ye(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(ce.value=``)}let $=0;function be(e){if(!r(e))return;let t=e.target,n=$!==e.clientX;(e?.currentTarget)?.contains(t)&&n&&(le.value=e.clientX>$?`right`:`left`,$=e.clientX)}return U(),s(),l(K,()=>I.value&&z),j(()=>{P.disableOutsidePointerEvents&&E(i())}),(e,t)=>(D(),ae(k(u),{ref_key:`rovingFocusGroupRef`,ref:Q,"current-tab-stop-id":k(Y),"onUpdate:currentTabStopId":t[0]||=e=>w(Y)?Y.value=e:null,"as-child":``,orientation:`vertical`,dir:k(L),loop:C.loop,onEntryFocus:_e},{default:M(()=>[S(k(re),T(k(me),{ref:k(q),class:Z.value,onKeydown:ve,onBlur:ye,onPointermove:be}),{default:M(()=>[S(k(ie),T(he.value,{id:k(V),ref:k(se),class:ue.value,"aria-labelledby":k(H),"aria-orientation":`vertical`,"data-dismissable-layer":``,"data-state":k(B),dir:k(L),role:`menu`,tabindex:`-1`,style:ge.value}),{default:M(()=>[O(e.$slots,`default`)]),_:3},16,[`id`,`class`,`aria-labelledby`,`data-state`,`dir`,`style`])]),_:3},16,[`class`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
1
+ import{COLLECTION_ITEM_ATTRIBUTE as e}from"../../constants/attr.js";import{useArrowNavigation as t}from"../../composables/use-arrow-navigation.js";import{getActiveElement as n}from"../../shared/dom.js";import{tryFocusFirst as ee}from"../../shared/focus.js";import{isMouseEvent as r}from"../../shared/event.js";import{useBodyScrollLock as i}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as a}from"../../composables/use-dismissable-layer.js";import{useForwardElement as o}from"../../composables/use-forward-element.js";import{useFocusGuards as s}from"../../composables/use-focus-guards.js";import{useFocusScope as c}from"../../composables/use-focus-scope.js";import{useHideOthers as l}from"../../composables/use-hide-others.js";import{useOmitProps as te}from"../../composables/use-props.js";import{useTypeahead as ne}from"../../composables/use-typeahead.js";import u from"../roving-focus/roving-focus-group.js";import{popperCssVars as d}from"../popper/shared.js";import re from"../popper/popper-positioner.js";import ie from"../popper/popper-popup.js";import{provideMenuContentContext as f,useMenuContext as p,useMenuRootContext as m,useMenuUi as h}from"./context.js";import{FIRST_LAST_KEYS as g,LAST_KEYS as _,MENU_POPUP_DATA_ATTRIBUTE as v,menuCssVars as y,subMenuCssVars as b}from"./shared.js";import{computed as x,createBlock as ae,createVNode as S,defineComponent as C,isRef as w,mergeProps as T,onWatcherCleanup as E,openBlock as D,renderSlot as O,unref as k,useTemplateRef as A,watchEffect as j,withCtx as M}from"vue";var N=C({name:`MenuContentImpl`,__name:`menu-content-impl`,props:{popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},trapFocus:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(C,{emit:N}){let P=C,F=N,{modal:I,dir:L,isUsingKeyboard:R}=m(`MenuContentImpl`),{isRoot:z,dataState:B,popupId:V,triggerId:H,dataPopupAttr:oe,initPopupId:U,onOpenChange:W,onPopupElementChange:G}=p(`MenuContentImpl`),[K,q]=o(),[J,se]=o(e=>{G(e)}),{currentItemId:Y,searchRef:ce,pointerSide:le}=f({popupElement:J}),X=h(),Z=x(()=>z?X.value?.positioner:X.value?.subPositioner),ue=x(()=>z?X.value?.popup:X.value?.subPopup),{handleTypeaheadSearch:de}=ne(),Q=A(`rovingFocusGroupRef`),{pointerEvents:fe}=a(J,{disableOutsidePointerEvents:()=>P.disableOutsidePointerEvents,onEscapeKeyDown:e=>{F(`escapeKeyDown`,e)},onPointerDownOutside:e=>{F(`pointerDownOutside`,e)},onFocusOutside:e=>{F(`focusOutside`,e)},onInteractOutside:e=>{F(`interactOutside`,e)},onDismiss:()=>{z&&W(!1)}}),{onKeydown:pe}=c(K,{trapped:()=>P.trapFocus,onOpenAutoFocus:e=>{F(`openAutoFocus`,e),!e.defaultPrevented&&(e.preventDefault(),J.value?.focus({preventScroll:!0}))},onCloseAutoFocus:e=>{F(`closeAutoFocus`,e)}}),me=te(P,[`disableOutsidePointerEvents`,`trapFocus`,`loop`,`popupProps`]),he=x(()=>({...P.popupProps,[oe]:``})),ge=x(()=>{let e=z?y:b;return{[e.popupTransformOrigin]:`var(${d.transformOrigin})`,[e.popupAvailableWidth]:`var(${d.availableWidth})`,[e.popupAvailableHeight]:`var(${d.availableHeight})`,[e.triggerWidth]:`var(${d.anchorWidth})`,[e.triggerHeight]:`var(${d.anchorHeight})`,pointerEvents:fe.value}}),_e=e=>{F(`entryFocus`,e),R.value||e.preventDefault()},ve=r=>{if(pe(r),r.defaultPrevented)return;let i=r.target.closest(`[${v}]`)===r.currentTarget,a=r.ctrlKey||r.altKey||r.metaKey,o=r.key.length===1,s=t(r,n(),J.value,{loop:P.loop,arrowKeyOptions:`vertical`,dir:L.value,focus:!0,attributeName:`[${e}]:not([data-disabled])`});if(s){s.focus();return}if(r.code===`Space`)return;let c=Q.value?.getItems()??[];if(i&&(r.key===`Tab`&&r.preventDefault(),!a&&o&&de(r.key,c)),r.target!==J.value||!g.includes(r.key))return;r.preventDefault();let l=c.map(e=>e.element);_.includes(r.key)&&l.reverse(),ee(l)};function ye(e){if(!e)return;let{currentTarget:t,target:n}=e;t?.contains(n)||(ce.value=``)}let $=0;function be(e){if(!r(e))return;let t=e.target,n=$!==e.clientX;(e?.currentTarget)?.contains(t)&&n&&(le.value=e.clientX>$?`right`:`left`,$=e.clientX)}return U(),s(),l(K,()=>I.value&&z),j(()=>{P.disableOutsidePointerEvents&&E(i())}),(e,t)=>(D(),ae(k(u),{ref_key:`rovingFocusGroupRef`,ref:Q,"current-tab-stop-id":k(Y),"onUpdate:currentTabStopId":t[0]||(t[0]=e=>w(Y)?Y.value=e:null),"as-child":``,orientation:`vertical`,dir:k(L),loop:C.loop,onEntryFocus:_e},{default:M(()=>[S(k(re),T(k(me),{ref:k(q),class:Z.value,onKeydown:ve,onBlur:ye,onPointermove:be}),{default:M(()=>[S(k(ie),T(he.value,{id:k(V),ref:k(se),class:ue.value,"aria-labelledby":k(H),"aria-orientation":`vertical`,"data-dismissable-layer":``,"data-state":k(B),dir:k(L),role:`menu`,tabindex:`-1`,style:ge.value}),{default:M(()=>[O(e.$slots,`default`)]),_:3},16,[`id`,`class`,`aria-labelledby`,`data-state`,`dir`,`style`])]),_:3},16,[`class`])]),_:3},8,[`current-tab-stop-id`,`dir`,`loop`]))}});export{N as default};
@@ -2,30 +2,30 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuContentProps } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1814 from "vue";
5
+ import * as vue1215 from "vue";
6
6
 
7
7
  //#region src/components/menu/menu-content.vue.d.ts
8
8
  declare var __VLS_10: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_10) => any;
11
11
  };
12
- declare const __VLS_base: vue1814.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1814.ComponentOptionsMixin, vue1814.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1215.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1215.ComponentOptionsMixin, vue1215.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, vue1814.PublicProps, Readonly<MenuContentProps> & Readonly<{
20
+ }, string, vue1215.PublicProps, Readonly<MenuContentProps> & 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
- }>, {}, {}, {}, {}, string, vue1814.ComponentProvideOptions, false, {}, any>;
28
+ }>, {}, {}, {}, {}, string, vue1215.ComponentProvideOptions, false, {}, any>;
29
29
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
30
30
  declare const _default: typeof __VLS_export;
31
31
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { MenuGroupLabelProps } from "./types.js";
2
- import * as vue1824 from "vue";
2
+ import * as vue1225 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-group-label.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: vue1824.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1824.ComponentOptionsMixin, vue1824.ComponentOptionsMixin, {}, string, vue1824.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1824.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1225.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1225.ComponentOptionsMixin, vue1225.ComponentOptionsMixin, {}, string, vue1225.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1225.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,12 +1,12 @@
1
1
  import { MenuGroupProps } from "./types.js";
2
- import * as vue1819 from "vue";
2
+ import * as vue1220 from "vue";
3
3
 
4
4
  //#region src/components/menu/menu-group.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: vue1819.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1819.ComponentOptionsMixin, vue1819.ComponentOptionsMixin, {}, string, vue1819.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1819.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1220.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1220.ComponentOptionsMixin, vue1220.ComponentOptionsMixin, {}, string, vue1220.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1220.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 { MenuItemIndicatorProps } from "./types.js";
4
- import * as vue1834 from "vue";
4
+ import * as vue1199 from "vue";
5
5
 
6
6
  //#region src/components/menu/menu-item-indicator.vue.d.ts
7
7
  declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue1834.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1834.ComponentOptionsMixin, vue1834.ComponentOptionsMixin, {}, string, vue1834.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1834.Component;
13
- }, {}, {}, {}, string, vue1834.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1199.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1199.ComponentOptionsMixin, vue1199.ComponentOptionsMixin, {}, string, vue1199.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue1199.Component;
13
+ }, {}, {}, {}, string, vue1199.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 & {