@soybeanjs/headless 0.0.19 → 0.0.20

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 (266) 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.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  12. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  13. package/dist/components/alert/context.d.ts +2 -2
  14. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  16. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  17. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  18. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  19. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  20. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  21. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  22. package/dist/components/avatar/context.d.ts +2 -2
  23. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  24. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  25. package/dist/components/badge/context.d.ts +2 -2
  26. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/context.d.ts +2 -2
  34. package/dist/components/button/button.vue.d.ts +5 -5
  35. package/dist/components/card/card-content.vue.d.ts +2 -2
  36. package/dist/components/card/card-description.vue.d.ts +2 -2
  37. package/dist/components/card/card-footer.vue.d.ts +2 -2
  38. package/dist/components/card/card-header.vue.d.ts +2 -2
  39. package/dist/components/card/card-root.vue.d.ts +2 -2
  40. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  41. package/dist/components/card/card-title.vue.d.ts +2 -2
  42. package/dist/components/card/context.d.ts +2 -2
  43. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  44. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  45. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  46. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  48. package/dist/components/checkbox/context.d.ts +2 -2
  49. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  50. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  51. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  52. package/dist/components/collapsible/context.d.ts +2 -2
  53. package/dist/components/config-provider/config-provider.js +1 -1
  54. package/dist/components/config-provider/config-provider.vue.d.ts +4 -6
  55. package/dist/components/config-provider/context.js +1 -1
  56. package/dist/components/config-provider/types.d.ts +1 -9
  57. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  58. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  59. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  60. package/dist/components/context-menu/context.js +1 -1
  61. package/dist/components/dialog/context.d.ts +2 -2
  62. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  63. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  64. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  65. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  66. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  67. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  68. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  69. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  71. package/dist/components/dropdown-menu/context.js +1 -1
  72. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  73. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
  74. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  75. package/dist/components/form/context.d.ts +2 -2
  76. package/dist/components/form/form-description.vue.d.ts +2 -2
  77. package/dist/components/form/form-error.vue.d.ts +2 -2
  78. package/dist/components/form/form-field.vue.d.ts +2 -2
  79. package/dist/components/form/form-label.vue.d.ts +2 -2
  80. package/dist/components/input/context.d.ts +2 -2
  81. package/dist/components/input/input-control.vue.d.ts +2 -2
  82. package/dist/components/input/input-root.vue.d.ts +4 -4
  83. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  84. package/dist/components/label/label.vue.d.ts +2 -2
  85. package/dist/components/layout/context.d.ts +2 -2
  86. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  87. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  88. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  89. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  90. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  91. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  92. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  95. package/dist/components/link/link.js +1 -1
  96. package/dist/components/link/link.vue.d.ts +10 -12
  97. package/dist/components/list/context.d.ts +2 -2
  98. package/dist/components/list/list-content.vue.d.ts +2 -2
  99. package/dist/components/list/list-description.vue.d.ts +2 -2
  100. package/dist/components/list/list-item.vue.d.ts +2 -2
  101. package/dist/components/list/list-root.vue.d.ts +2 -2
  102. package/dist/components/list/list-title.vue.d.ts +2 -2
  103. package/dist/components/listbox/context.d.ts +2 -2
  104. package/dist/components/listbox/context.js +1 -1
  105. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  106. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  107. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  108. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  109. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  110. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  111. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  112. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  113. package/dist/components/menu/context.d.ts +2 -2
  114. package/dist/components/menu/context.js +1 -1
  115. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  116. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  117. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  118. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  119. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  120. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  121. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  122. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  123. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  124. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  125. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  126. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  127. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  128. package/dist/components/navigation-menu/context.d.ts +2 -2
  129. package/dist/components/navigation-menu/context.js +1 -1
  130. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  131. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  132. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  133. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  134. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  135. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +4 -4
  136. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  137. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  138. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  139. package/dist/components/number-input/context.d.ts +2 -2
  140. package/dist/components/number-input/context.js +1 -1
  141. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  142. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  143. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  144. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  145. package/dist/components/pagination/context.d.ts +2 -2
  146. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  147. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  148. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  149. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  150. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  151. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  152. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  153. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  154. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  155. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  156. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  157. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  158. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  159. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  160. package/dist/components/popper/context.d.ts +2 -2
  161. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  162. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  163. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  164. package/dist/components/popper/popper-positioner.vue.d.ts +48 -48
  165. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  166. package/dist/components/portal/portal.vue.d.ts +3 -3
  167. package/dist/components/primitive/primitive.d.ts +2 -2
  168. package/dist/components/radio-group/context.d.ts +2 -2
  169. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  170. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  171. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  172. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  173. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  174. package/dist/components/roving-focus/context.js +1 -1
  175. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  176. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  177. package/dist/components/select/context.d.ts +2 -2
  178. package/dist/components/select/context.js +1 -1
  179. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  180. package/dist/components/select/select-content.vue.d.ts +6 -6
  181. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  182. package/dist/components/select/select-group.vue.d.ts +2 -2
  183. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  184. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  185. package/dist/components/select/select-item.vue.d.ts +4 -4
  186. package/dist/components/select/select-root.vue.d.ts +3 -3
  187. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  188. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  189. package/dist/components/select/select-separator.vue.d.ts +2 -2
  190. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  191. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  192. package/dist/components/select/select-value.vue.d.ts +3 -3
  193. package/dist/components/select/select-viewport.js +1 -1
  194. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  195. package/dist/components/separator/context.d.ts +2 -2
  196. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  197. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  198. package/dist/components/slot/slot.d.ts +2 -2
  199. package/dist/components/switch/context.d.ts +2 -2
  200. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  201. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  202. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  203. package/dist/components/tabs/context.d.ts +2 -2
  204. package/dist/components/tabs/context.js +1 -1
  205. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  206. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  207. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  208. package/dist/components/tabs/tabs-root.vue.d.ts +6 -6
  209. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  210. package/dist/components/tag/tag.vue.d.ts +4 -4
  211. package/dist/components/textarea/context.d.ts +2 -2
  212. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  213. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  214. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  215. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  216. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  217. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  218. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  219. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  220. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  221. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  222. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  223. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  224. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  225. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  226. package/dist/components/tree/context.js +1 -1
  227. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  228. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  229. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  230. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  231. package/dist/components/tree-menu/context.d.ts +2 -2
  232. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  233. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  234. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  235. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  236. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  237. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  238. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  239. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  240. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  241. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  242. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  243. package/dist/components/visually-hidden/types.d.ts +3 -3
  244. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +6 -14
  245. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  246. package/dist/composables/index.d.ts +1 -4
  247. package/dist/composables/index.js +1 -1
  248. package/dist/composables/use-collection.d.ts +6 -6
  249. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  250. package/dist/composables/use-exposed-element.d.ts +2 -2
  251. package/dist/composables/use-forward-element.d.ts +2 -2
  252. package/dist/composables/use-image-loading-status.d.ts +2 -2
  253. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  254. package/dist/composables/use-kbd.d.ts +2 -2
  255. package/dist/composables/use-presence.d.ts +2 -2
  256. package/dist/composables/use-props.d.ts +3 -3
  257. package/dist/composables/use-selection.d.ts +4 -4
  258. package/dist/types/common.d.ts +1 -9
  259. package/dist/types/index.d.ts +1 -1
  260. package/package.json +3 -3
  261. package/dist/composables/use-direction.d.ts +0 -9
  262. package/dist/composables/use-direction.js +0 -1
  263. package/dist/composables/use-locale.d.ts +0 -7
  264. package/dist/composables/use-locale.js +0 -1
  265. package/dist/composables/use-nonce.d.ts +0 -7
  266. package/dist/composables/use-nonce.js +0 -1
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopoverCloseProps } from "./types.js";
4
- import * as vue801 from "vue";
4
+ import * as vue1389 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-close.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue801.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue801.ComponentOptionsMixin, vue801.ComponentOptionsMixin, {}, string, vue801.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
12
- as: AsTag | vue801.Component;
13
- }, {}, {}, {}, string, vue801.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1389.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1389.ComponentOptionsMixin, vue1389.ComponentOptionsMixin, {}, string, vue1389.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
12
+ as: AsTag | vue1389.Component;
13
+ }, {}, {}, {}, string, vue1389.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { PopoverPopupProps } from "./types.js";
2
- import * as vue853 from "vue";
2
+ import * as vue1400 from "vue";
3
3
 
4
4
  //#region src/components/popover/popover-popup.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: vue853.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue853.ComponentOptionsMixin, vue853.ComponentOptionsMixin, {}, string, vue853.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue853.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1400.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1400.ComponentOptionsMixin, vue1400.ComponentOptionsMixin, {}, string, vue1400.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1400.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,28 +1,28 @@
1
1
  import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { PopoverPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue791 from "vue";
4
+ import * as vue1395 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-positioner.vue.d.ts
7
7
  declare var __VLS_13: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_13) => any;
10
10
  };
11
- declare const __VLS_base: vue791.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue791.ComponentOptionsMixin, vue791.ComponentOptionsMixin, {
12
- closeAutoFocus: (event: Event) => any;
11
+ declare const __VLS_base: vue1395.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1395.ComponentOptionsMixin, vue1395.ComponentOptionsMixin, {
13
12
  escapeKeyDown: (event: KeyboardEvent) => any;
13
+ closeAutoFocus: (event: Event) => any;
14
14
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
15
15
  focusOutside: (event: FocusOutsideEvent) => any;
16
16
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
17
17
  openAutoFocus: (event: Event) => any;
18
- }, string, vue791.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
19
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
18
+ }, string, vue1395.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
20
19
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
21
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
22
22
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
23
23
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
24
24
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, vue791.ComponentProvideOptions, false, {}, any>;
25
+ }>, {}, {}, {}, {}, string, vue1395.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,5 +1,5 @@
1
1
  import { PopoverRootProps } from "./types.js";
2
- import * as vue781 from "vue";
2
+ import * as vue1379 from "vue";
3
3
 
4
4
  //#region src/components/popover/popover-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -9,15 +9,15 @@ declare var __VLS_8: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: vue781.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue781.ComponentOptionsMixin, vue781.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1379.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1379.ComponentOptionsMixin, vue1379.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue781.PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ }, string, vue1379.PublicProps, Readonly<PopoverRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
18
  defaultOpen: boolean;
19
19
  modal: boolean;
20
- }, {}, {}, {}, string, vue781.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue1379.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopoverTriggerProps } from "./types.js";
4
- import * as vue847 from "vue";
4
+ import * as vue1405 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-trigger.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue847.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue847.ComponentOptionsMixin, vue847.ComponentOptionsMixin, {}, string, vue847.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue847.Component;
13
- }, {}, {}, {}, string, vue847.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1405.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1405.ComponentOptionsMixin, vue1405.ComponentOptionsMixin, {}, string, vue1405.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1405.Component;
13
+ }, {}, {}, {}, string, vue1405.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { PopperUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue807 from "vue";
4
+ import * as vue1318 from "vue";
5
5
  import { ReferenceElement } from "@floating-ui/dom";
6
6
  import "@floating-ui/utils";
7
7
 
8
8
  //#region src/components/popper/context.d.ts
9
9
 
10
- declare const providePopperUi: (ui: vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue807.ComputedRef<ClassValue> : vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
10
+ declare const providePopperUi: (ui: vue1318.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1318.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1318.ComputedRef<ClassValue> : vue1318.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
11
11
  //#endregion
12
12
  export { providePopperUi };
@@ -1,12 +1,12 @@
1
1
  import { PopperAnchorProps } from "./types.js";
2
- import * as vue869 from "vue";
2
+ import * as vue1152 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-anchor.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: vue869.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue869.ComponentOptionsMixin, vue869.ComponentOptionsMixin, {}, string, vue869.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue869.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1152.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1152.ComponentOptionsMixin, vue1152.ComponentOptionsMixin, {}, string, vue1152.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1152.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,8 +1,8 @@
1
1
  import { PopperArrowProps } from "./types.js";
2
- import * as vue786 from "vue";
2
+ import * as vue1157 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-arrow.vue.d.ts
5
- declare const __VLS_export: vue786.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue786.ComponentOptionsMixin, vue786.ComponentOptionsMixin, {}, string, vue786.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue786.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue1157.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1157.ComponentOptionsMixin, vue1157.ComponentOptionsMixin, {}, string, vue1157.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1157.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1,12 +1,12 @@
1
1
  import { PopperPopupProps } from "./types.js";
2
- import * as vue880 from "vue";
2
+ import * as vue1313 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-popup.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: vue880.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue880.ComponentOptionsMixin, vue880.ComponentOptionsMixin, {}, string, vue880.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue880.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1313.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1313.ComponentOptionsMixin, vue1313.ComponentOptionsMixin, {}, string, vue1313.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1313.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,28 +1,26 @@
1
1
  import { Align, Placement as Placement$1 } from "../../types/common.js";
2
2
  import { PopperPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue858 from "vue";
4
+ import * as vue1302 from "vue";
5
5
  import { CSSProperties } from "vue";
6
6
  import * as _floating_ui_dom0 from "@floating-ui/dom";
7
- import * as _floating_ui_utils3 from "@floating-ui/utils";
7
+ import * as _floating_ui_utils0 from "@floating-ui/utils";
8
8
 
9
9
  //#region src/components/popper/popper-positioner.vue.d.ts
10
10
  declare var __VLS_1: {};
11
11
  type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_1) => any;
13
13
  };
14
- declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue858.ComponentOptionsMixin, vue858.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue1302.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1302.ComponentOptionsMixin, vue1302.ComponentOptionsMixin, {
15
15
  placed: () => any;
16
- }, string, vue858.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
+ }, string, vue1302.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
17
17
  onPlaced?: (() => any) | undefined;
18
18
  }>, {
19
- dir: string;
20
- style: string | false | CSSProperties | vue858.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue1302.StyleValue[] | null;
21
20
  title: string;
22
21
  contextmenu: string;
23
22
  onInput: (payload: InputEvent) => void;
24
23
  onSelect: (payload: Event) => void;
25
- onError: (payload: Event) => void;
26
24
  onProgress: (payload: ProgressEvent<EventTarget>) => void;
27
25
  onFullscreenchange: (payload: Event) => void;
28
26
  onFullscreenerror: (payload: Event) => void;
@@ -56,6 +54,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
56
54
  onDurationchange: (payload: Event) => void;
57
55
  onEmptied: (payload: Event) => void;
58
56
  onEnded: (payload: Event) => void;
57
+ onError: (payload: Event) => void;
59
58
  onFocus: (payload: FocusEvent) => void;
60
59
  onFocusin: (payload: FocusEvent) => void;
61
60
  onFocusout: (payload: FocusEvent) => void;
@@ -116,11 +115,46 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
116
115
  onEncrypted: (payload: MediaEncryptedEvent) => void;
117
116
  innerHTML: string;
118
117
  class: any;
119
- color: string;
118
+ accesskey: string;
119
+ contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
120
+ dir: string;
121
+ draggable: boolean | "true" | "false";
122
+ enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
123
+ enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
124
+ hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
120
125
  id: string;
126
+ inert: boolean | "true" | "false";
121
127
  lang: string;
122
- role: string;
128
+ placeholder: string;
129
+ spellcheck: boolean | "true" | "false";
123
130
  tabindex: string | number;
131
+ translate: "yes" | "no";
132
+ radiogroup: string;
133
+ role: string;
134
+ about: string;
135
+ datatype: string;
136
+ inlist: any;
137
+ prefix: string;
138
+ property: string;
139
+ resource: string;
140
+ typeof: string;
141
+ vocab: string;
142
+ autocapitalize: string;
143
+ autocorrect: string;
144
+ autosave: string;
145
+ color: string;
146
+ itemprop: string;
147
+ itemscope: boolean | "true" | "false";
148
+ itemtype: string;
149
+ itemid: string;
150
+ itemref: string;
151
+ results: string | number;
152
+ security: string;
153
+ unselectable: "on" | "off";
154
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
155
+ is: string;
156
+ exportparts: string;
157
+ part: string;
124
158
  'aria-activedescendant': string;
125
159
  'aria-atomic': boolean | "true" | "false";
126
160
  'aria-autocomplete': "list" | "none" | "inline" | "both";
@@ -134,7 +168,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
134
168
  'aria-describedby': string;
135
169
  'aria-details': string;
136
170
  'aria-disabled': boolean | "true" | "false";
137
- 'aria-dropeffect': "link" | "none" | "copy" | "execute" | "move" | "popup";
171
+ 'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
138
172
  'aria-errormessage': string;
139
173
  'aria-expanded': boolean | "true" | "false";
140
174
  'aria-flowto': string;
@@ -156,7 +190,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
156
190
  'aria-posinset': string | number;
157
191
  'aria-pressed': (boolean | "true" | "false") | "mixed";
158
192
  'aria-readonly': boolean | "true" | "false";
159
- 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
193
+ 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
160
194
  'aria-required': boolean | "true" | "false";
161
195
  'aria-roledescription': string;
162
196
  'aria-rowcount': string | number;
@@ -169,42 +203,8 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
169
203
  'aria-valuemin': string | number;
170
204
  'aria-valuenow': string | number;
171
205
  'aria-valuetext': string;
172
- accesskey: string;
173
- contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
174
- draggable: boolean | "true" | "false";
175
- enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
176
- enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
177
- hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
178
- inert: boolean | "true" | "false";
179
- placeholder: string;
180
- spellcheck: boolean | "true" | "false";
181
- translate: "yes" | "no";
182
- radiogroup: string;
183
- about: string;
184
- datatype: string;
185
- inlist: any;
186
- prefix: string;
187
- property: string;
188
- resource: string;
189
- typeof: string;
190
- vocab: string;
191
- autocapitalize: string;
192
- autocorrect: string;
193
- autosave: string;
194
- itemprop: string;
195
- itemscope: boolean | "true" | "false";
196
- itemtype: string;
197
- itemid: string;
198
- itemref: string;
199
- results: string | number;
200
- security: string;
201
- unselectable: "off" | "on";
202
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
203
- is: string;
204
- exportparts: string;
205
- part: string;
206
206
  placement: Placement$1;
207
- side: _floating_ui_utils3.Side;
207
+ side: _floating_ui_utils0.Side;
208
208
  sideOffset: number;
209
209
  sideFlip: boolean;
210
210
  align: Align;
@@ -212,7 +212,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
212
212
  alignFlip: boolean;
213
213
  avoidCollisions: boolean;
214
214
  collisionBoundary: Element | null | Array<Element | null>;
215
- collisionPadding: _floating_ui_utils3.Padding;
215
+ collisionPadding: _floating_ui_utils0.Padding;
216
216
  arrowPadding: number;
217
217
  sticky: "partial" | "always";
218
218
  hideWhenDetached: boolean;
@@ -221,7 +221,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
221
221
  disableUpdateOnLayoutShift: boolean;
222
222
  prioritizePosition: boolean;
223
223
  reference: _floating_ui_dom0.ReferenceElement;
224
- }, {}, {}, {}, string, vue858.ComponentProvideOptions, false, {}, any>;
224
+ }, {}, {}, {}, string, vue1302.ComponentProvideOptions, false, {}, any>;
225
225
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
226
226
  declare const _default: typeof __VLS_export;
227
227
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
- import * as vue864 from "vue";
1
+ import * as vue1308 from "vue";
2
2
 
3
3
  //#region src/components/popper/popper-root.vue.d.ts
4
4
  declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_1) => any;
7
7
  };
8
- declare const __VLS_base: vue864.DefineComponent<{}, {}, {}, {}, {}, vue864.ComponentOptionsMixin, vue864.ComponentOptionsMixin, {}, string, vue864.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue864.ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_base: vue1308.DefineComponent<{}, {}, {}, {}, {}, vue1308.ComponentOptionsMixin, vue1308.ComponentOptionsMixin, {}, string, vue1308.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1308.ComponentProvideOptions, true, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
10
  declare const _default: typeof __VLS_export;
11
11
  type __VLS_WithSlots<T, S> = T & {
@@ -1,14 +1,14 @@
1
1
  import { PortalProps } from "./types.js";
2
- import * as vue33 from "vue";
2
+ import * as vue13 from "vue";
3
3
 
4
4
  //#region src/components/portal/portal.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue33.DefineComponent<PortalProps, {}, {}, {}, {}, vue33.ComponentOptionsMixin, vue33.ComponentOptionsMixin, {}, string, vue33.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue13.DefineComponent<PortalProps, {}, {}, {}, {}, vue13.ComponentOptionsMixin, vue13.ComponentOptionsMixin, {}, string, vue13.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
10
10
  to: string | HTMLElement;
11
- }, {}, {}, {}, string, vue33.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue13.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 { PrimitiveProps } from "./types.js";
2
- import * as vue21 from "vue";
2
+ import * as vue1 from "vue";
3
3
 
4
4
  //#region src/components/primitive/primitive.d.ts
5
- declare const Primitive: vue21.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue21.PublicProps>;
5
+ declare const Primitive: vue1.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue1.PublicProps>;
6
6
  //#endregion
7
7
  export { Primitive };
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { RadioGroupUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue443 from "vue";
4
+ import * as vue523 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/context.d.ts
7
7
 
8
- declare const provideRadioGroupUi: (ui: vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue443.ComputedRef<ClassValue> : vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
8
+ declare const provideRadioGroupUi: (ui: vue523.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue523.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue523.ComputedRef<ClassValue> : vue523.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideRadioGroupUi };
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupControlProps } from "./types.js";
2
- import * as vue438 from "vue";
2
+ import * as vue507 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-control.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -10,7 +10,7 @@ declare var __VLS_8: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue438.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue438.ComponentOptionsMixin, vue438.ComponentOptionsMixin, {}, string, vue438.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue438.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue507.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue507.ComponentOptionsMixin, vue507.ComponentOptionsMixin, {}, string, vue507.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue507.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { RadioGroupIndicatorProps } from "./types.js";
4
- import * as vue432 from "vue";
4
+ import * as vue512 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-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: vue432.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue432.ComponentOptionsMixin, vue432.ComponentOptionsMixin, {}, string, vue432.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue432.Component;
13
- }, {}, {}, {}, string, vue432.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue512.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue512.ComponentOptionsMixin, vue512.ComponentOptionsMixin, {}, string, vue512.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue512.Component;
13
+ }, {}, {}, {}, string, vue512.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupItemProps, RadioSelectEvent } from "./types.js";
2
- import * as vue477 from "vue";
2
+ import * as vue500 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-item.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -8,11 +8,11 @@ declare var __VLS_1: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue477.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue477.ComponentOptionsMixin, vue477.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue500.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue500.ComponentOptionsMixin, vue500.ComponentOptionsMixin, {
12
12
  select: (event: RadioSelectEvent) => any;
13
- }, string, vue477.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
13
+ }, string, vue500.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
14
14
  onSelect?: ((event: RadioSelectEvent) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue477.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue500.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,13 +1,13 @@
1
1
  import { LabelProps } from "../label/types.js";
2
2
  import "./types.js";
3
- import * as vue482 from "vue";
3
+ import * as vue518 from "vue";
4
4
 
5
5
  //#region src/components/radio-group/radio-group-label.vue.d.ts
6
6
  declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: vue482.DefineComponent<LabelProps, {}, {}, {}, {}, vue482.ComponentOptionsMixin, vue482.ComponentOptionsMixin, {}, string, vue482.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue482.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue518.DefineComponent<LabelProps, {}, {}, {}, {}, vue518.ComponentOptionsMixin, vue518.ComponentOptionsMixin, {}, string, vue518.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue518.ComponentProvideOptions, false, {}, any>;
11
11
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
12
  declare const _default: typeof __VLS_export;
13
13
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { RadioGroupRootProps } from "./types.js";
4
- import * as vue475 from "vue";
4
+ import * as vue505 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue475.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue505.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
21
- }>) => vue475.VNode & {
21
+ }>) => vue505.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import{useDirection as c}from"../../composables/use-direction.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
1
+ import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import{useDirection as c}from"../config-provider/context.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
@@ -3,26 +3,26 @@ import { RovingFocusGroupProps } from "./types.js";
3
3
  import { CollectionItemData } from "../../composables/use-collection.js";
4
4
  import "../../composables/index.js";
5
5
  import "../../index.js";
6
- import * as vue264 from "vue";
6
+ import * as vue1147 from "vue";
7
7
 
8
8
  //#region src/components/roving-focus/roving-focus-group.vue.d.ts
9
9
  declare var __VLS_8: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue264.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue1147.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue264.ComponentOptionsMixin, vue264.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue1147.ComponentOptionsMixin, vue1147.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue264.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue1147.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
19
19
  onEntryFocus?: ((event: Event) => any) | undefined;
20
20
  "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
21
21
  }>, {
22
22
  orientation: DataOrientation;
23
23
  loop: boolean;
24
24
  preventScrollOnEntryFocus: boolean;
25
- }, {}, {}, {}, string, vue264.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue1147.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,14 +1,14 @@
1
1
  import { RovingFocusItemProps } from "./types.js";
2
- import * as vue269 from "vue";
2
+ import * as vue1142 from "vue";
3
3
 
4
4
  //#region src/components/roving-focus/roving-focus-item.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: vue269.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue269.ComponentOptionsMixin, vue269.ComponentOptionsMixin, {}, string, vue269.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue1142.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1142.ComponentOptionsMixin, vue1142.ComponentOptionsMixin, {}, string, vue1142.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
10
10
  focusable: boolean;
11
- }, {}, {}, {}, string, vue269.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue1142.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 & {
@@ -3,10 +3,10 @@ import "../../types/index.js";
3
3
  import "../../composables/index.js";
4
4
  import { SelectUiSlot } from "./types.js";
5
5
  import "../../index.js";
6
- import * as vue117 from "vue";
6
+ import * as vue629 from "vue";
7
7
 
8
8
  //#region src/components/select/context.d.ts
9
9
 
10
- declare const provideSelectUi: (ui: vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue117.ComputedRef<ClassValue> : vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
10
+ declare const provideSelectUi: (ui: vue629.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue629.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue629.ComputedRef<ClassValue> : vue629.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
11
11
  //#endregion
12
12
  export { provideSelectUi };
@@ -1 +1 @@
1
- import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{useUiContext as o}from"../../composables/use-ui-context.js";import{providePopperUi as s}from"../popper/context.js";import{computed as c,ref as l,shallowRef as u,useId as d}from"vue";const[f,p]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=c(()=>t(n.value)),o=a(e.dir),s=u(``),f=()=>{s.value||=`soybean-select-content-${d()}`},p=u(),m=e=>{p.value=e},h=u(),g=e=>{h.value=e},_=l(new Set),v=c(()=>Array.from(_.value)),y=c(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=u({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:o,contentId:s,initContentId:f,triggerElement:p,onTriggerElementChange:m,valueElement:h,onValueElementChange:g,optionsSet:_,onOptionAdd:b,onOptionRemove:x,options:v,nativeSelectKey:y,triggerPointerDownPosition:S,setTriggerPointerDownPosition:C,resetTriggerPointerDownPosition:w}}),{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=i(`Select`),[_,v]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=u(!1),s=u(),c=e=>{s.value=e},l=!1,d=!1,f=u(),p=(t,n,i)=>{let a=!l&&!i;(e(r.value,n)||a)&&(f.value=t)},m=u(),h=(t,n,a)=>{let o=!l&&!a,s=e(r.value,n);if(i.value){if(d)return;(s||o)&&(m.value=t,s&&(d=!0))}else (s||o)&&(m.value=t);o&&(l=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:c,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[y,b]=r(`SelectGroup`,()=>{let e=u(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${d()}`}}}),[x,S]=r(`SelectItem`,e=>{let t=u(e.textValue.value??``),n=u(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=u(``),a=()=>{i.value||=`soybean-select-item-text-${d()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[C,w]=r(`SelectPopupElement`,()=>{let e=u();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[T,E]=r(`SelectItemAlignedPosition`,e=>e),[D,O]=o(`SelectUi`,e=>(s(e),e));export{m as provideCollectionContext,_ as provideSelectContentContext,y as provideSelectGroupContext,T as provideSelectItemAlignedPositionContext,x as provideSelectItemContext,C as provideSelectPopupElementContext,f as provideSelectRootContext,D as provideSelectUi,h as useCollectionContext,g as useCollectionItem,v as useSelectContentContext,b as useSelectGroupContext,E as useSelectItemAlignedPositionContext,S as useSelectItemContext,w as useSelectPopupElementContext,p as useSelectRootContext,O as useSelectUi};
1
+ import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useUiContext as a}from"../../composables/use-ui-context.js";import{useDirection as o}from"../config-provider/context.js";import{providePopperUi as s}from"../popper/context.js";import{computed as c,ref as l,shallowRef as u,useId as d}from"vue";const[f,p]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=c(()=>t(n.value)),a=o(e.dir),s=u(``),f=()=>{s.value||=`soybean-select-content-${d()}`},p=u(),m=e=>{p.value=e},h=u(),g=e=>{h.value=e},_=l(new Set),v=c(()=>Array.from(_.value)),y=c(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=u({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:a,contentId:s,initContentId:f,triggerElement:p,onTriggerElementChange:m,valueElement:h,onValueElementChange:g,optionsSet:_,onOptionAdd:b,onOptionRemove:x,options:v,nativeSelectKey:y,triggerPointerDownPosition:S,setTriggerPointerDownPosition:C,resetTriggerPointerDownPosition:w}}),{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=i(`Select`),[_,v]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=u(!1),s=u(),c=e=>{s.value=e},l=!1,d=!1,f=u(),p=(t,n,i)=>{let a=!l&&!i;(e(r.value,n)||a)&&(f.value=t)},m=u(),h=(t,n,a)=>{let o=!l&&!a,s=e(r.value,n);if(i.value){if(d)return;(s||o)&&(m.value=t,s&&(d=!0))}else (s||o)&&(m.value=t);o&&(l=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:c,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[y,b]=r(`SelectGroup`,()=>{let e=u(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${d()}`}}}),[x,S]=r(`SelectItem`,e=>{let t=u(e.textValue.value??``),n=u(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=u(``),a=()=>{i.value||=`soybean-select-item-text-${d()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[C,w]=r(`SelectPopupElement`,()=>{let e=u();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[T,E]=r(`SelectItemAlignedPosition`,e=>e),[D,O]=a(`SelectUi`,e=>(s(e),e));export{m as provideCollectionContext,_ as provideSelectContentContext,y as provideSelectGroupContext,T as provideSelectItemAlignedPositionContext,x as provideSelectItemContext,C as provideSelectPopupElementContext,f as provideSelectRootContext,D as provideSelectUi,h as useCollectionContext,g as useCollectionItem,v as useSelectContentContext,b as useSelectGroupContext,E as useSelectItemAlignedPositionContext,S as useSelectItemContext,w as useSelectPopupElementContext,p as useSelectRootContext,O as useSelectUi};