@soybeanjs/headless 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.js +1 -1
  9. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  12. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  13. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  14. package/dist/components/alert/context.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  16. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  17. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  18. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  19. package/dist/components/arrow/arrow.js +1 -1
  20. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  21. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  22. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  23. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  24. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  25. package/dist/components/avatar/context.d.ts +2 -2
  26. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  27. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  28. package/dist/components/badge/context.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  30. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  34. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  37. package/dist/components/breadcrumb/context.d.ts +2 -2
  38. package/dist/components/button/button.vue.d.ts +5 -5
  39. package/dist/components/card/card-content.vue.d.ts +2 -2
  40. package/dist/components/card/card-description.vue.d.ts +2 -2
  41. package/dist/components/card/card-footer.vue.d.ts +2 -2
  42. package/dist/components/card/card-header.vue.d.ts +2 -2
  43. package/dist/components/card/card-root.vue.d.ts +2 -2
  44. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  45. package/dist/components/card/card-title.vue.d.ts +2 -2
  46. package/dist/components/card/context.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  48. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  49. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  50. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  51. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  52. package/dist/components/checkbox/context.d.ts +2 -2
  53. package/dist/components/collapsible/collapsible-content.js +1 -1
  54. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  55. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  56. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  57. package/dist/components/collapsible/context.d.ts +2 -2
  58. package/dist/components/collapsible/context.js +1 -1
  59. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  60. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  61. package/dist/components/context-menu/context-menu-root.js +1 -1
  62. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  63. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  64. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  65. package/dist/components/dialog/context.d.ts +2 -2
  66. package/dist/components/dialog/context.js +1 -1
  67. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  68. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  69. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  71. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  72. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  73. package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
  74. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  75. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  76. package/dist/components/dropdown-menu/context.js +1 -1
  77. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  78. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  79. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  80. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  81. package/dist/components/form/context.d.ts +2 -2
  82. package/dist/components/form/form-description.vue.d.ts +2 -2
  83. package/dist/components/form/form-error.vue.d.ts +2 -2
  84. package/dist/components/form/form-field.vue.d.ts +2 -2
  85. package/dist/components/form/form-label.vue.d.ts +2 -2
  86. package/dist/components/input/context.d.ts +2 -2
  87. package/dist/components/input/input-control.vue.d.ts +2 -2
  88. package/dist/components/input/input-root.vue.d.ts +4 -4
  89. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  90. package/dist/components/label/label.vue.d.ts +2 -2
  91. package/dist/components/layout/context.d.ts +2 -2
  92. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  95. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  96. package/dist/components/layout/layout-rail.js +1 -1
  97. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  98. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  99. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  100. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  101. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  102. package/dist/components/link/link.vue.d.ts +4 -4
  103. package/dist/components/list/context.d.ts +2 -2
  104. package/dist/components/list/list-content.vue.d.ts +2 -2
  105. package/dist/components/list/list-description.vue.d.ts +2 -2
  106. package/dist/components/list/list-item.vue.d.ts +2 -2
  107. package/dist/components/list/list-root.vue.d.ts +2 -2
  108. package/dist/components/list/list-title.vue.d.ts +2 -2
  109. package/dist/components/listbox/context.d.ts +2 -2
  110. package/dist/components/listbox/listbox-content.js +1 -1
  111. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  112. package/dist/components/listbox/listbox-filter.js +1 -1
  113. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  114. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  115. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  116. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  117. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  118. package/dist/components/listbox/listbox-root.js +1 -1
  119. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  120. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  121. package/dist/components/menu/context.d.ts +2 -2
  122. package/dist/components/menu/context.js +1 -1
  123. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  124. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  125. package/dist/components/menu/menu-content-impl.js +1 -1
  126. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  127. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  128. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  129. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  130. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  131. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  132. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  133. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  134. package/dist/components/menu/menu-sub-content.js +1 -1
  135. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  136. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  137. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  138. package/dist/components/navigation-menu/context.d.ts +2 -2
  139. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  140. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  141. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  142. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  143. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  144. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  145. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  146. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  147. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  148. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  149. package/dist/components/number-input/context.d.ts +2 -2
  150. package/dist/components/number-input/number-input-control.js +1 -1
  151. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  152. package/dist/components/number-input/number-input-decrement.js +1 -1
  153. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  154. package/dist/components/number-input/number-input-increment.js +1 -1
  155. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  156. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  157. package/dist/components/pagination/context.d.ts +2 -2
  158. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  159. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  160. package/dist/components/pagination/pagination-first.js +1 -1
  161. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  162. package/dist/components/pagination/pagination-last.js +1 -1
  163. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  165. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  166. package/dist/components/pagination/pagination-next.js +1 -1
  167. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  168. package/dist/components/pagination/pagination-prev.js +1 -1
  169. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  170. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  171. package/dist/components/popover/context.js +1 -1
  172. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  173. package/dist/components/popover/popover-close.js +1 -1
  174. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  175. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  176. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  177. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  178. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  179. package/dist/components/popper/context.d.ts +2 -2
  180. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  181. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  182. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  183. package/dist/components/popper/popper-positioner.vue.d.ts +53 -53
  184. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  185. package/dist/components/portal/portal.vue.d.ts +3 -3
  186. package/dist/components/primitive/primitive.d.ts +2 -2
  187. package/dist/components/radio-group/context.d.ts +2 -2
  188. package/dist/components/radio-group/radio-group-control.js +1 -1
  189. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  190. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  191. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  192. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  193. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  194. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  195. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  196. package/dist/components/select/context.d.ts +2 -2
  197. package/dist/components/select/context.js +1 -1
  198. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  199. package/dist/components/select/select-content-impl.js +1 -1
  200. package/dist/components/select/select-content.vue.d.ts +8 -8
  201. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  202. package/dist/components/select/select-group.vue.d.ts +2 -2
  203. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  204. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  205. package/dist/components/select/select-item.js +1 -1
  206. package/dist/components/select/select-item.vue.d.ts +4 -4
  207. package/dist/components/select/select-root.vue.d.ts +5 -5
  208. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  209. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  210. package/dist/components/select/select-separator.vue.d.ts +2 -2
  211. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  212. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  213. package/dist/components/select/select-value.vue.d.ts +3 -3
  214. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  215. package/dist/components/separator/context.d.ts +2 -2
  216. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  217. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  218. package/dist/components/slot/slot.d.ts +2 -2
  219. package/dist/components/switch/context.d.ts +2 -2
  220. package/dist/components/switch/switch-control.js +1 -1
  221. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  222. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  223. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  224. package/dist/components/tabs/context.d.ts +2 -2
  225. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  226. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  227. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  228. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  229. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  230. package/dist/components/tag/tag.vue.d.ts +4 -4
  231. package/dist/components/textarea/context.d.ts +2 -2
  232. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  233. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  234. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  235. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  236. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  237. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  238. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  239. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-viewport.js +1 -1
  241. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  242. package/dist/components/tooltip/context.js +1 -1
  243. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  244. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  245. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  246. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  247. package/dist/components/tree/tree-item.js +1 -1
  248. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  249. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  250. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  251. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  252. package/dist/components/tree-menu/context.d.ts +2 -2
  253. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  254. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  255. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  257. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  258. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  259. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  260. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  261. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  262. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  263. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  264. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  265. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  266. package/dist/composables/use-collection.js +1 -1
  267. package/dist/composables/use-forward-element.d.ts +2 -2
  268. package/dist/composables/use-grace-area.js +1 -1
  269. package/dist/composables/use-image-loading-status.d.ts +2 -2
  270. package/dist/composables/use-image-loading-status.js +1 -1
  271. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  272. package/dist/composables/use-is-using-keyboard.js +1 -1
  273. package/dist/composables/use-kbd.d.ts +2 -2
  274. package/dist/composables/use-presence.d.ts +2 -2
  275. package/dist/composables/use-props.d.ts +3 -3
  276. package/dist/composables/use-selection.d.ts +4 -4
  277. package/dist/shared/focus.js +1 -1
  278. package/package.json +26 -26
@@ -1,12 +1,12 @@
1
1
  import { LayoutTabProps } from "./types.js";
2
- import * as vue701 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: vue701.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue701.ComponentOptionsMixin, vue701.ComponentOptionsMixin, {}, string, vue701.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue701.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 vue706 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: vue706.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue706.ComponentOptionsMixin, vue706.ComponentOptionsMixin, {}, string, vue706.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue706.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 vue763 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: vue763.DefineComponent<LinkProps, {}, {}, {}, {}, vue763.ComponentOptionsMixin, vue763.ComponentOptionsMixin, {}, string, vue763.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 | vue763.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: vue763.DefineComponent<LinkProps, {}, {}, {}, {}, vue7
22
22
  noRel: boolean;
23
23
  prefetch: boolean;
24
24
  noPrefetch: boolean;
25
- }, {}, {}, {}, string, vue763.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 vue520 from "vue";
4
+ import * as vue1355 from "vue";
5
5
 
6
6
  //#region src/components/list/context.d.ts
7
- declare const provideListUi: (ui: vue520.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue520.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue520.ComputedRef<ClassValue> : vue520.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 vue515 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: vue515.DefineComponent<ListContentProps, {}, {}, {}, {}, vue515.ComponentOptionsMixin, vue515.ComponentOptionsMixin, {}, string, vue515.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue515.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 vue505 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: vue505.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue505.ComponentOptionsMixin, vue505.ComponentOptionsMixin, {}, string, vue505.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue505.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 vue529 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: vue529.DefineComponent<ListItemProps, {}, {}, {}, {}, vue529.ComponentOptionsMixin, vue529.ComponentOptionsMixin, {}, string, vue529.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue529.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 vue524 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: vue524.DefineComponent<ListRootProps, {}, {}, {}, {}, vue524.ComponentOptionsMixin, vue524.ComponentOptionsMixin, {}, string, vue524.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue524.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 vue510 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: vue510.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue510.ComponentOptionsMixin, vue510.ComponentOptionsMixin, {}, string, vue510.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue510.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 vue429 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: vue429.ComputedRef<Partial<UiClass<ListboxUiSlot>>>) => vue429.ComputedRef<Partial<UiClass<ListboxUiSlot>>>, useListboxUi: <S extends ListboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListboxUiSlot ? vue429.ComputedRef<ClassValue> : vue429.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 vue419 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: vue419.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue419.ComponentOptionsMixin, vue419.ComponentOptionsMixin, {}, string, vue419.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue419.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 vue414 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: vue414.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue414.ComponentOptionsMixin, vue414.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue1574.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue1574.ComponentOptionsMixin, vue1574.ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string) => any;
17
- }, string, vue414.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
17
+ }, string, vue1574.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue414.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 vue495 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: vue495.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue495.ComponentOptionsMixin, vue495.ComponentOptionsMixin, {}, string, vue495.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue495.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 vue500 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: vue500.DefineComponent<ListboxGroupProps, {}, {}, {}, {}, vue500.ComponentOptionsMixin, vue500.ComponentOptionsMixin, {}, string, vue500.PublicProps, Readonly<ListboxGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue500.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 vue404 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: vue404.DefineComponent<ListboxItemIndicatorProps, {}, {}, {}, {}, vue404.ComponentOptionsMixin, vue404.ComponentOptionsMixin, {}, string, vue404.PublicProps, Readonly<ListboxItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue404.Component;
13
- }, {}, {}, {}, string, vue404.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 vue398 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: vue398.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue398.ComponentOptionsMixin, vue398.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue1562.DefineComponent<ListboxItemProps, {}, {}, {}, {}, vue1562.ComponentOptionsMixin, vue1562.ComponentOptionsMixin, {
14
14
  select: (event: SelectEvent<string>) => any;
15
- }, string, vue398.PublicProps, Readonly<ListboxItemProps> & Readonly<{
15
+ }, string, vue1562.PublicProps, Readonly<ListboxItemProps> & Readonly<{
16
16
  onSelect?: ((event: SelectEvent<string>) => any) | undefined;
17
17
  }>, {
18
- as: AsTag | vue398.Component;
19
- }, {}, {}, {}, string, vue398.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 vue410 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: vue410.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: vue410.ShallowUnwrapRef<{
17
- highlightedElement: vue410.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
- }>) => vue410.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 vue424 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: vue424.DefineComponent<ListboxVirtualizerProps, {}, {}, {}, {}, vue424.ComponentOptionsMixin, vue424.ComponentOptionsMixin, {}, string, vue424.PublicProps, Readonly<ListboxVirtualizerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue424.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 vue1447 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: vue1447.ComputedRef<Partial<UiClass<MenuUiSlot>>>) => vue1447.ComputedRef<Partial<UiClass<MenuUiSlot>>>, useMenuUi: <S extends MenuUiSlot | undefined = undefined>(slot?: S | undefined) => S extends MenuUiSlot ? vue1447.ComputedRef<ClassValue> : vue1447.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 vue1443 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: vue1443.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
- }>) => vue1443.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 vue1418 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: vue1418.DefineComponent<MenuCheckboxItemProps, {}, {}, {}, {}, vue1418.ComponentOptionsMixin, vue1418.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, vue1418.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, vue1418.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 vue1382 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: vue1382.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue1382.ComponentOptionsMixin, vue1382.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
19
  openAutoFocus: (event: Event) => any;
18
- closeAutoFocus: (event: Event) => any;
19
- entryFocus: (event: Event) => any;
20
- }, string, vue1382.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
27
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
26
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
- onEntryFocus?: ((event: Event) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, vue1382.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 vue1372 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: vue1372.DefineComponent<MenuGroupLabelProps, {}, {}, {}, {}, vue1372.ComponentOptionsMixin, vue1372.ComponentOptionsMixin, {}, string, vue1372.PublicProps, Readonly<MenuGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1372.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 vue1397 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: vue1397.DefineComponent<MenuGroupProps, {}, {}, {}, {}, vue1397.ComponentOptionsMixin, vue1397.ComponentOptionsMixin, {}, string, vue1397.PublicProps, Readonly<MenuGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1397.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 vue1412 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: vue1412.DefineComponent<MenuItemIndicatorProps, {}, {}, {}, {}, vue1412.ComponentOptionsMixin, vue1412.ComponentOptionsMixin, {}, string, vue1412.PublicProps, Readonly<MenuItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1412.Component;
13
- }, {}, {}, {}, string, vue1412.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 & {