@soybeanjs/headless 0.3.0 → 0.3.2

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 (288) 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 +6 -6
  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/layout/context.d.ts +2 -2
  91. package/dist/components/layout/index.d.ts +12 -11
  92. package/dist/components/layout/index.js +1 -1
  93. package/dist/components/layout/layout-content.js +1 -0
  94. package/dist/components/layout/layout-content.vue.d.ts +18 -0
  95. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  96. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  97. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  98. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  99. package/dist/components/layout/layout-rail.js +1 -1
  100. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  101. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  102. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  103. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  104. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  105. package/dist/components/layout/types.d.ts +5 -4
  106. package/dist/components/link/link.vue.d.ts +4 -4
  107. package/dist/components/list/context.d.ts +2 -2
  108. package/dist/components/list/list-content.vue.d.ts +2 -2
  109. package/dist/components/list/list-description.vue.d.ts +2 -2
  110. package/dist/components/list/list-item.vue.d.ts +2 -2
  111. package/dist/components/list/list-root.vue.d.ts +2 -2
  112. package/dist/components/list/list-title.vue.d.ts +2 -2
  113. package/dist/components/listbox/context.d.ts +2 -2
  114. package/dist/components/listbox/listbox-content.js +1 -1
  115. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  116. package/dist/components/listbox/listbox-filter.js +1 -1
  117. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  118. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  119. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  120. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  121. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  122. package/dist/components/listbox/listbox-root.js +1 -1
  123. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  124. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  125. package/dist/components/menu/context.d.ts +2 -2
  126. package/dist/components/menu/context.js +1 -1
  127. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  128. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  129. package/dist/components/menu/menu-content-impl.js +1 -1
  130. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  131. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  132. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  133. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  134. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  135. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  136. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  137. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  138. package/dist/components/menu/menu-sub-content.js +1 -1
  139. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  140. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  141. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  142. package/dist/components/navigation-menu/context.d.ts +2 -2
  143. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  144. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  145. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  146. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  147. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  148. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  149. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  150. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  151. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  152. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  153. package/dist/components/number-input/context.d.ts +2 -2
  154. package/dist/components/number-input/number-input-control.js +1 -1
  155. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  156. package/dist/components/number-input/number-input-decrement.js +1 -1
  157. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  158. package/dist/components/number-input/number-input-increment.js +1 -1
  159. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  160. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  161. package/dist/components/pagination/context.d.ts +2 -2
  162. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  163. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-first.js +1 -1
  165. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  166. package/dist/components/pagination/pagination-last.js +1 -1
  167. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  168. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  169. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  170. package/dist/components/pagination/pagination-next.js +1 -1
  171. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  172. package/dist/components/pagination/pagination-prev.js +1 -1
  173. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  174. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  175. package/dist/components/popover/context.js +1 -1
  176. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  177. package/dist/components/popover/popover-close.js +1 -1
  178. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  179. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  180. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  181. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  182. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  183. package/dist/components/popper/context.d.ts +2 -2
  184. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  185. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  186. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  187. package/dist/components/popper/popper-positioner.vue.d.ts +17 -17
  188. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  189. package/dist/components/portal/portal.vue.d.ts +3 -3
  190. package/dist/components/radio-group/context.d.ts +2 -2
  191. package/dist/components/radio-group/radio-group-control.js +1 -1
  192. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  193. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  194. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  195. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  196. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  197. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  198. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  199. package/dist/components/select/context.d.ts +2 -2
  200. package/dist/components/select/context.js +1 -1
  201. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  202. package/dist/components/select/select-content-impl.js +1 -1
  203. package/dist/components/select/select-content.vue.d.ts +6 -6
  204. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  205. package/dist/components/select/select-group.vue.d.ts +2 -2
  206. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  207. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  208. package/dist/components/select/select-item.js +1 -1
  209. package/dist/components/select/select-item.vue.d.ts +4 -4
  210. package/dist/components/select/select-root.vue.d.ts +5 -5
  211. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  212. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  213. package/dist/components/select/select-separator.vue.d.ts +2 -2
  214. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  215. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  216. package/dist/components/select/select-value.vue.d.ts +3 -3
  217. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  218. package/dist/components/separator/context.d.ts +2 -2
  219. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  220. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  221. package/dist/components/switch/context.d.ts +2 -2
  222. package/dist/components/switch/switch-control.js +1 -1
  223. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  224. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  225. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  226. package/dist/components/tabs/context.d.ts +2 -2
  227. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  228. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  229. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  230. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  231. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  232. package/dist/components/tag/tag.vue.d.ts +4 -4
  233. package/dist/components/textarea/context.d.ts +2 -2
  234. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  235. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  236. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  237. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  238. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  239. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  241. package/dist/components/toast/toast-root.vue.d.ts +8 -8
  242. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  243. package/dist/components/toast/toast-viewport.js +1 -1
  244. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  245. package/dist/components/tooltip/context.js +1 -1
  246. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  247. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  248. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  249. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  250. package/dist/components/tree/tree-item.js +1 -1
  251. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  252. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  253. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  254. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  255. package/dist/components/tree-menu/context.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  257. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  258. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  259. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  260. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  261. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  262. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  263. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  264. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  265. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  266. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  267. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  268. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  269. package/dist/composables/use-collection.d.ts +6 -6
  270. package/dist/composables/use-collection.js +1 -1
  271. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  272. package/dist/composables/use-exposed-element.d.ts +2 -2
  273. package/dist/composables/use-forward-element.d.ts +2 -2
  274. package/dist/composables/use-grace-area.js +1 -1
  275. package/dist/composables/use-image-loading-status.d.ts +2 -2
  276. package/dist/composables/use-image-loading-status.js +1 -1
  277. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  278. package/dist/composables/use-is-using-keyboard.js +1 -1
  279. package/dist/composables/use-kbd.d.ts +2 -2
  280. package/dist/composables/use-presence.d.ts +2 -2
  281. package/dist/composables/use-props.d.ts +3 -3
  282. package/dist/composables/use-selection.d.ts +4 -4
  283. package/dist/index.d.ts +121 -120
  284. package/dist/index.js +1 -1
  285. package/dist/namespaced/index.d.ts +14 -14
  286. package/dist/namespaced/index.js +1 -1
  287. package/dist/shared/focus.js +1 -1
  288. package/package.json +26 -26
@@ -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 vue1036 from "vue";
4
+ import * as vue1347 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: vue1036.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue1036.ComponentOptionsMixin, vue1036.ComponentOptionsMixin, {}, string, vue1036.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1036.Component;
13
- }, {}, {}, {}, string, vue1036.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1347.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue1347.ComponentOptionsMixin, vue1347.ComponentOptionsMixin, {}, string, vue1347.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue1347.Component;
13
+ }, {}, {}, {}, string, vue1347.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 vue1081 from "vue";
2
+ import * as vue1337 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: vue1081.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue1081.ComponentOptionsMixin, vue1081.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1337.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue1337.ComponentOptionsMixin, vue1337.ComponentOptionsMixin, {
12
12
  select: (event: RadioSelectEvent) => any;
13
- }, string, vue1081.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
13
+ }, string, vue1337.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
14
14
  onSelect?: ((event: RadioSelectEvent) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1081.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue1337.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 vue1042 from "vue";
3
+ import * as vue1353 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: vue1042.DefineComponent<LabelProps, {}, {}, {}, {}, vue1042.ComponentOptionsMixin, vue1042.ComponentOptionsMixin, {}, string, vue1042.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1042.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue1353.DefineComponent<LabelProps, {}, {}, {}, {}, vue1353.ComponentOptionsMixin, vue1353.ComponentOptionsMixin, {}, string, vue1353.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1353.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 vue1079 from "vue";
4
+ import * as vue1335 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: vue1079.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue1335.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
- }>) => vue1079.VNode & {
21
+ }>) => vue1335.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -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 vue1670 from "vue";
6
+ import * as vue1233 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: vue1670.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue1233.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue1670.ComponentOptionsMixin, vue1670.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue1233.ComponentOptionsMixin, vue1233.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue1670.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue1233.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
- preventScrollOnEntryFocus: boolean;
24
23
  loop: boolean;
25
- }, {}, {}, {}, string, vue1670.ComponentProvideOptions, false, {}, any>;
24
+ preventScrollOnEntryFocus: boolean;
25
+ }, {}, {}, {}, string, vue1233.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 vue1675 from "vue";
2
+ import * as vue1228 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: vue1675.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1675.ComponentOptionsMixin, vue1675.ComponentOptionsMixin, {}, string, vue1675.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue1228.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1228.ComponentOptionsMixin, vue1228.ComponentOptionsMixin, {}, string, vue1228.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
10
10
  focusable: boolean;
11
- }, {}, {}, {}, string, vue1675.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue1228.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 vue1209 from "vue";
6
+ import * as vue1015 from "vue";
7
7
 
8
8
  //#region src/components/select/context.d.ts
9
9
 
10
- declare const provideSelectUi: (ui: vue1209.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue1209.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue1209.ComputedRef<ClassValue> : vue1209.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
10
+ declare const provideSelectUi: (ui: vue1015.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue1015.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue1015.ComputedRef<ClassValue> : vue1015.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{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};
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||(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||(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||(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};
@@ -1,13 +1,13 @@
1
1
  import { PopperArrowProps } from "../popper/types.js";
2
2
  import "./types.js";
3
- import * as vue1204 from "vue";
3
+ import * as vue995 from "vue";
4
4
 
5
5
  //#region src/components/select/select-arrow.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: vue1204.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1204.ComponentOptionsMixin, vue1204.ComponentOptionsMixin, {}, string, vue1204.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1204.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue995.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue995.ComponentOptionsMixin, vue995.ComponentOptionsMixin, {}, string, vue995.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue995.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 +1 @@
1
- import{tryFocusFirst as e}from"../../shared/focus.js";import{useBodyScrollLock as t}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as n}from"../../composables/use-dismissable-layer.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import{useFocusGuards as ee}from"../../composables/use-focus-guards.js";import{useFocusScope as te}from"../../composables/use-focus-scope.js";import{useHideOthers as i}from"../../composables/use-hide-others.js";import{useOmitProps as a}from"../../composables/use-props.js";import{useTypeahead as ne}from"../../composables/use-typeahead.js";import re from"../popper/popper-positioner.js";import{provideSelectContentContext as o,useCollectionContext as s,useSelectPopupElementContext as c,useSelectRootContext as l}from"./context.js";import{CONTENT_MARGIN as u}from"./shared.js";import d from"./select-popper-popup.js";import f from"./select-item-aligned-popup.js";import p from"./select-item-aligned-positioner.js";import{computed as m,createBlock as h,createVNode as g,defineComponent as _,mergeProps as v,onWatcherCleanup as y,openBlock as b,renderSlot as x,unref as S,watch as C,watchEffect as w,withCtx as T,withModifiers as E}from"vue";var D=_({name:`SelectContentImpl`,__name:`select-content-impl`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{default:`start`},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{default:u},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(u,{emit:_}){let D=u,O=_,{onOpenChange:k,dataState:A,modelValue:j,isMultiple:M,dir:N,contentId:P,triggerElement:F,triggerPointerDownPosition:I,resetTriggerPointerDownPosition:L}=l(`SelectContentImpl`),{onPopupElementChange:R}=c(`SelectContentImpl`),{onContainerElementChange:z,getOrderedItems:B,getOrderedElements:V}=s(`SelectContentImpl`),[H,U]=r(),[W,G]=r(e=>{R(e),z(e)}),{search:K,handleTypeaheadSearch:q}=ne(),{pointerEvents:J}=n(H,{disableOutsidePointerEvents:!0,onEscapeKeyDown:e=>{O(`escapeKeyDown`,e)},onPointerDownOutside:e=>{O(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{k(!1)}}),{onKeydown:Y}=te(H,{onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{O(`closeAutoFocus`,e),!e.defaultPrevented&&(F.value?.focus({preventScroll:!0}),e.preventDefault())}}),{isPositioned:X,focusSelectedItem:ie}=o({position:m(()=>D.position),modelValue:j,isMultiple:M,search:K,popupElement:W}),ae=a(D,[`position`,`bodyLock`,`popupProps`]),Z=m(()=>({display:`flex`,flexDirection:`column`,outline:`none`,pointerEvents:J.value})),Q=t=>{Y(t);let n=t.ctrlKey||t.altKey||t.metaKey;if(t.key===`Tab`&&t.preventDefault(),!n&&t.key.length===1&&q(t.key,B()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(t.key)){let n=[...V()];if([`ArrowUp`,`End`].includes(t.key)&&(n=n.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(t.key)){let e=t.target,r=n.indexOf(e);n=n.slice(r+1)}setTimeout(()=>{e(n)}),t.preventDefault()}},$=()=>{X.value=!0};return ee(),i(W),C(X,()=>{ie()}),w(()=>{D.bodyLock&&y(t())}),w(()=>{if(!W.value)return;let e={x:0,y:0},t=t=>{let{x:n,y:r}=I.value??{x:0,y:0};e={x:Math.abs(Math.round(t.pageX)-n),y:Math.abs(Math.round(t.pageY)-r)}},n=n=>{n.pointerType!==`touch`&&(e.x<=10&&e.y<=10?n.preventDefault():W.value?.contains(n.target)||k(!1),document.removeEventListener(`pointermove`,t),L())};I.value!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),y(()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})})}),(e,t)=>u.position===`popper`?(b(),h(S(re),v({key:0,ref:S(U)},S(ae),{onContextmenu:t[0]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q}),{default:T(()=>[g(d,v({id:S(P),ref:S(G)},u.popupProps,{"data-dismissable-layer":``,"data-state":S(A),dir:S(N),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`style`])]),_:3},16)):(b(),h(p,{key:1,ref:S(U),onContextmenu:t[1]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q},{default:T(()=>[g(f,v({id:S(P),ref:S(G)},u.popupProps,{"data-dismissable-layer":``,"data-state":S(A),dir:S(N),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`style`])]),_:3},512))}});export{D as default};
1
+ import{tryFocusFirst as e}from"../../shared/focus.js";import{useBodyScrollLock as t}from"../../composables/use-body-scroll-lock.js";import{useDismissableLayer as n}from"../../composables/use-dismissable-layer.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import{useFocusGuards as ee}from"../../composables/use-focus-guards.js";import{useFocusScope as te}from"../../composables/use-focus-scope.js";import{useHideOthers as i}from"../../composables/use-hide-others.js";import{useOmitProps as a}from"../../composables/use-props.js";import{useTypeahead as ne}from"../../composables/use-typeahead.js";import re from"../popper/popper-positioner.js";import{provideSelectContentContext as o,useCollectionContext as s,useSelectPopupElementContext as c,useSelectRootContext as l}from"./context.js";import{CONTENT_MARGIN as u}from"./shared.js";import d from"./select-popper-popup.js";import f from"./select-item-aligned-popup.js";import p from"./select-item-aligned-positioner.js";import{computed as m,createBlock as h,createVNode as g,defineComponent as _,mergeProps as v,onWatcherCleanup as y,openBlock as b,renderSlot as x,unref as S,watch as C,watchEffect as w,withCtx as T,withModifiers as E}from"vue";var D=_({name:`SelectContentImpl`,__name:`select-content-impl`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{default:`start`},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{default:u},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(u,{emit:_}){let D=u,O=_,{onOpenChange:k,dataState:A,modelValue:j,isMultiple:M,dir:N,contentId:P,triggerElement:F,triggerPointerDownPosition:I,resetTriggerPointerDownPosition:L}=l(`SelectContentImpl`),{onPopupElementChange:R}=c(`SelectContentImpl`),{onContainerElementChange:z,getOrderedItems:B,getOrderedElements:V}=s(`SelectContentImpl`),[H,U]=r(),[W,G]=r(e=>{R(e),z(e)}),{search:K,handleTypeaheadSearch:q}=ne(),{pointerEvents:J}=n(H,{disableOutsidePointerEvents:!0,onEscapeKeyDown:e=>{O(`escapeKeyDown`,e)},onPointerDownOutside:e=>{O(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{k(!1)}}),{onKeydown:Y}=te(H,{onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{O(`closeAutoFocus`,e),!e.defaultPrevented&&(F.value?.focus({preventScroll:!0}),e.preventDefault())}}),{isPositioned:X,focusSelectedItem:ie}=o({position:m(()=>D.position),modelValue:j,isMultiple:M,search:K,popupElement:W}),ae=a(D,[`position`,`bodyLock`,`popupProps`]),Z=m(()=>({display:`flex`,flexDirection:`column`,outline:`none`,pointerEvents:J.value})),Q=t=>{Y(t);let n=t.ctrlKey||t.altKey||t.metaKey;if(t.key===`Tab`&&t.preventDefault(),!n&&t.key.length===1&&q(t.key,B()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(t.key)){let n=[...V()];if([`ArrowUp`,`End`].includes(t.key)&&(n=n.slice().reverse()),[`ArrowUp`,`ArrowDown`].includes(t.key)){let e=t.target,r=n.indexOf(e);n=n.slice(r+1)}setTimeout(()=>{e(n)}),t.preventDefault()}},$=()=>{X.value=!0};return ee(),i(W),C(X,()=>{ie()}),w(()=>{D.bodyLock&&y(t())}),w(()=>{if(!W.value)return;let e={x:0,y:0},t=t=>{let{x:n,y:r}=I.value??{x:0,y:0};e={x:Math.abs(Math.round(t.pageX)-n),y:Math.abs(Math.round(t.pageY)-r)}},n=n=>{n.pointerType!==`touch`&&(e.x<=10&&e.y<=10?n.preventDefault():W.value?.contains(n.target)||k(!1),document.removeEventListener(`pointermove`,t),L())};I.value!==null&&(document.addEventListener(`pointermove`,t),document.addEventListener(`pointerup`,n,{capture:!0,once:!0})),y(()=>{document.removeEventListener(`pointermove`,t),document.removeEventListener(`pointerup`,n,{capture:!0})})}),(e,t)=>u.position===`popper`?(b(),h(S(re),v({key:0,ref:S(U)},S(ae),{onContextmenu:t[0]||(t[0]=E(()=>{},[`prevent`])),onPlaced:$,onKeydown:Q}),{default:T(()=>[g(d,v({id:S(P),ref:S(G)},u.popupProps,{"data-dismissable-layer":``,"data-state":S(A),dir:S(N),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`style`])]),_:3},16)):(b(),h(p,{key:1,ref:S(U),onContextmenu:t[1]||(t[1]=E(()=>{},[`prevent`])),onPlaced:$,onKeydown:Q},{default:T(()=>[g(f,v({id:S(P),ref:S(G)},u.popupProps,{"data-dismissable-layer":``,"data-state":S(A),dir:S(N),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`data-state`,`dir`,`style`])]),_:3},512))}});export{D as default};
@@ -1,7 +1,7 @@
1
1
  import { PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { SelectContentProps, SelectPosition } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1153 from "vue";
4
+ import * as vue954 from "vue";
5
5
 
6
6
  //#region src/components/select/select-content.vue.d.ts
7
7
  declare var __VLS_8: {}, __VLS_22: {};
@@ -10,20 +10,20 @@ type __VLS_Slots = {} & {
10
10
  } & {
11
11
  default?: (props: typeof __VLS_22) => any;
12
12
  };
13
- declare const __VLS_base: vue1153.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue1153.ComponentOptionsMixin, vue1153.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue954.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue954.ComponentOptionsMixin, vue954.ComponentOptionsMixin, {
14
14
  escapeKeyDown: (event: KeyboardEvent) => any;
15
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
16
16
  closeAutoFocus: (event: Event) => any;
17
- }, string, vue1153.PublicProps, Readonly<SelectContentProps> & Readonly<{
17
+ }, string, vue954.PublicProps, Readonly<SelectContentProps> & Readonly<{
18
18
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
19
19
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
20
20
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
21
  }>, {
22
- avoidCollisions: boolean;
23
- prioritizePosition: boolean;
24
22
  position: SelectPosition;
25
23
  bodyLock: boolean;
26
- }, {}, {}, {}, string, vue1153.ComponentProvideOptions, false, {}, any>;
24
+ avoidCollisions: boolean;
25
+ prioritizePosition: boolean;
26
+ }, {}, {}, {}, string, vue954.ComponentProvideOptions, false, {}, any>;
27
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
28
  declare const _default: typeof __VLS_export;
29
29
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { SelectGroupLabelProps } from "./types.js";
2
- import * as vue1168 from "vue";
2
+ import * as vue941 from "vue";
3
3
 
4
4
  //#region src/components/select/select-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: vue1168.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue1168.ComponentOptionsMixin, vue1168.ComponentOptionsMixin, {}, string, vue1168.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1168.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue941.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue941.ComponentOptionsMixin, vue941.ComponentOptionsMixin, {}, string, vue941.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue941.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 { SelectGroupProps } from "./types.js";
2
- import * as vue1140 from "vue";
2
+ import * as vue969 from "vue";
3
3
 
4
4
  //#region src/components/select/select-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: vue1140.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue1140.ComponentOptionsMixin, vue1140.ComponentOptionsMixin, {}, string, vue1140.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1140.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue969.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue969.ComponentOptionsMixin, vue969.ComponentOptionsMixin, {}, string, vue969.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue969.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 { SelectItemIndicatorProps } from "./types.js";
4
- import * as vue1188 from "vue";
4
+ import * as vue989 from "vue";
5
5
 
6
6
  //#region src/components/select/select-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: vue1188.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue1188.ComponentOptionsMixin, vue1188.ComponentOptionsMixin, {}, string, vue1188.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1188.Component;
13
- }, {}, {}, {}, string, vue1188.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue989.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue989.ComponentOptionsMixin, vue989.ComponentOptionsMixin, {}, string, vue989.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue989.Component;
13
+ }, {}, {}, {}, string, vue989.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 { SelectItemTextProps } from "./types.js";
2
- import * as vue1199 from "vue";
2
+ import * as vue1005 from "vue";
3
3
 
4
4
  //#region src/components/select/select-item-text.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: vue1199.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue1199.ComponentOptionsMixin, vue1199.ComponentOptionsMixin, {}, string, vue1199.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1199.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1005.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue1005.ComponentOptionsMixin, vue1005.ComponentOptionsMixin, {}, string, vue1005.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1005.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{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getBinaryCheckedState as t}from"../../shared/value.js";import{getActiveElement as n}from"../../shared/dom.js";import{transformPropsToContext as r}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as i}from"../../shared/event.js";import{useForwardElement as a}from"../../composables/use-forward-element.js";import{Primitive as o}from"../primitive/primitive.js";import{provideSelectItemContext as s,useCollectionItem as c,useSelectContentContext as l,useSelectRootContext as u,useSelectUi as d}from"./context.js";import{SELECTION_KEYS as f,SELECT_EVENT as p}from"./shared.js";import{computed as m,createBlock as h,defineComponent as g,mergeProps as _,nextTick as v,openBlock as y,renderSlot as b,shallowRef as x,unref as S,withCtx as C,withModifiers as w}from"vue";var T=g({name:`SelectItem`,__name:`select-item`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(g,{emit:T}){let E=g,D=T,{modelValue:O,onModelValueChange:k,onOpenChange:A,isMultiple:j}=u(`SelectItem`),M=d(`item`),N=m(()=>e(O.value,E.value)),{textId:P,textValue:F,disabled:I}=s({...r(E,[`textValue`,`disabled`]),value:E.value,isSelected:N}),{onItemElementChange:L,itemProps:R}=c(()=>({textValue:F.value})),{onSelectedItemElementChange:z,onItemElementLeave:B,search:V}=l(`SelectItem`),[H,U]=a(e=>{z(e,E.value,E.disabled),L(e)}),W=m(()=>t(N.value)),G=x(!1),K=()=>{G.value=!0},q=()=>{G.value=!1};async function J(e){e.defaultPrevented||i(p,Y,{originalEvent:e,value:E.value})}async function Y(e){await v(),D(`select`,e),!e.defaultPrevented&&(I.value||(k(E.value),!j.value&&A(!1)))}async function X(e){await v(),!e.defaultPrevented&&(I.value?B():e.currentTarget?.focus({preventScroll:!0}))}async function Z(e){await v(),!e.defaultPrevented&&e.currentTarget===n()&&B()}async function Q(e){await v(),!e.defaultPrevented&&(V.value!==``&&e.key===` `||(f.includes(e.key)&&J(e),e.key===` `&&e.preventDefault()))}function $(e){e.currentTarget.focus({preventScroll:!0})}if(E.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(e,t)=>(y(),h(S(o),_(S(R),{ref:S(U),as:g.as,"as-child":g.asChild,class:S(M),"aria-disabled":S(I)||void 0,"data-highlighted":G.value?``:void 0,"aria-labelledby":S(P),"aria-selected":N.value,"data-disabled":S(I)?``:void 0,"data-state":W.value,role:`option`,tabindex:S(I)?void 0:-1,onFocus:K,onBlur:q,onPointerup:J,onPointerdown:$,onTouchend:t[0]||=w(()=>{},[`prevent`,`stop`]),onPointermove:X,onPointerleave:Z,onKeydown:Q}),{default:C(()=>[b(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`class`,`aria-disabled`,`data-highlighted`,`aria-labelledby`,`aria-selected`,`data-disabled`,`data-state`,`tabindex`]))}});export{T as default};
1
+ import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getBinaryCheckedState as t}from"../../shared/value.js";import{getActiveElement as n}from"../../shared/dom.js";import{transformPropsToContext as r}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as i}from"../../shared/event.js";import{useForwardElement as a}from"../../composables/use-forward-element.js";import{Primitive as o}from"../primitive/primitive.js";import{provideSelectItemContext as s,useCollectionItem as c,useSelectContentContext as l,useSelectRootContext as u,useSelectUi as d}from"./context.js";import{SELECTION_KEYS as f,SELECT_EVENT as p}from"./shared.js";import{computed as m,createBlock as h,defineComponent as g,mergeProps as _,nextTick as v,openBlock as y,renderSlot as b,shallowRef as x,unref as S,withCtx as C,withModifiers as w}from"vue";var T=g({name:`SelectItem`,__name:`select-item`,props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{}},emits:[`select`],setup(g,{emit:T}){let E=g,D=T,{modelValue:O,onModelValueChange:k,onOpenChange:A,isMultiple:j}=u(`SelectItem`),M=d(`item`),N=m(()=>e(O.value,E.value)),{textId:P,textValue:F,disabled:I}=s({...r(E,[`textValue`,`disabled`]),value:E.value,isSelected:N}),{onItemElementChange:L,itemProps:R}=c(()=>({textValue:F.value})),{onSelectedItemElementChange:z,onItemElementLeave:B,search:V}=l(`SelectItem`),[H,U]=a(e=>{z(e,E.value,E.disabled),L(e)}),W=m(()=>t(N.value)),G=x(!1),K=()=>{G.value=!0},q=()=>{G.value=!1};async function J(e){e.defaultPrevented||i(p,Y,{originalEvent:e,value:E.value})}async function Y(e){await v(),D(`select`,e),!e.defaultPrevented&&(I.value||(k(E.value),!j.value&&A(!1)))}async function X(e){await v(),!e.defaultPrevented&&(I.value?B():e.currentTarget?.focus({preventScroll:!0}))}async function Z(e){await v(),!e.defaultPrevented&&e.currentTarget===n()&&B()}async function Q(e){await v(),!e.defaultPrevented&&(V.value!==``&&e.key===` `||(f.includes(e.key)&&J(e),e.key===` `&&e.preventDefault()))}function $(e){e.currentTarget.focus({preventScroll:!0})}if(E.value===``)throw Error(`A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.`);return(e,t)=>(y(),h(S(o),_(S(R),{ref:S(U),as:g.as,"as-child":g.asChild,class:S(M),"aria-disabled":S(I)||void 0,"data-highlighted":G.value?``:void 0,"aria-labelledby":S(P),"aria-selected":N.value,"data-disabled":S(I)?``:void 0,"data-state":W.value,role:`option`,tabindex:S(I)?void 0:-1,onFocus:K,onBlur:q,onPointerup:J,onPointerdown:$,onTouchend:t[0]||(t[0]=w(()=>{},[`prevent`,`stop`])),onPointermove:X,onPointerleave:Z,onKeydown:Q}),{default:C(()=>[b(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`class`,`aria-disabled`,`data-highlighted`,`aria-labelledby`,`aria-selected`,`data-disabled`,`data-state`,`tabindex`]))}});export{T as default};
@@ -1,18 +1,18 @@
1
1
  import { DefinedValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { SelectItemEvent, SelectItemProps } from "./types.js";
4
- import * as vue1173 from "vue";
4
+ import * as vue974 from "vue";
5
5
 
6
6
  //#region src/components/select/select-item.vue.d.ts
7
7
  declare var __VLS_17: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_17) => any;
10
10
  };
11
- declare const __VLS_base: vue1173.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue1173.ComponentOptionsMixin, vue1173.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue974.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue974.ComponentOptionsMixin, vue974.ComponentOptionsMixin, {
12
12
  select: (event: SelectItemEvent<DefinedValue>) => any;
13
- }, string, vue1173.PublicProps, Readonly<SelectItemProps> & Readonly<{
13
+ }, string, vue974.PublicProps, Readonly<SelectItemProps> & Readonly<{
14
14
  onSelect?: ((event: SelectItemEvent<DefinedValue>) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1173.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue974.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 { DefinedValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { SelectRootProps } from "./types.js";
4
- import * as vue1145 from "vue";
4
+ import * as vue946 from "vue";
5
5
 
6
6
  //#region src/components/select/select-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(__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: vue1145.PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
9
- "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
8
+ props: vue946.PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
10
9
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
11
11
  }> & (typeof globalThis extends {
12
12
  __VLS_PROPS_FALLBACK: infer P;
13
13
  } ? P : {});
@@ -19,8 +19,8 @@ declare const __VLS_export: <T extends DefinedValue, M extends boolean = false>(
19
19
  open: boolean;
20
20
  }) => any;
21
21
  };
22
- emit: ((evt: "update:modelValue", value: M extends true ? T[] : T) => void) & ((evt: "update:open", value: boolean) => void);
23
- }>) => vue1145.VNode & {
22
+ emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void);
23
+ }>) => vue946.VNode & {
24
24
  __ctx?: Awaited<typeof __VLS_setup>;
25
25
  };
26
26
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,12 @@
1
1
  import { SelectScrollDownButtonProps } from "./types.js";
2
- import * as vue1194 from "vue";
2
+ import * as vue1010 from "vue";
3
3
 
4
4
  //#region src/components/select/select-scroll-down-button.vue.d.ts
5
5
  declare var __VLS_10: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_10) => any;
8
8
  };
9
- declare const __VLS_base: vue1194.DefineComponent<SelectScrollDownButtonProps, {}, {}, {}, {}, vue1194.ComponentOptionsMixin, vue1194.ComponentOptionsMixin, {}, string, vue1194.PublicProps, Readonly<SelectScrollDownButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1194.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1010.DefineComponent<SelectScrollDownButtonProps, {}, {}, {}, {}, vue1010.ComponentOptionsMixin, vue1010.ComponentOptionsMixin, {}, string, vue1010.PublicProps, Readonly<SelectScrollDownButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1010.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 { SelectScrollUpButtonProps } from "./types.js";
2
- import * as vue1183 from "vue";
2
+ import * as vue1000 from "vue";
3
3
 
4
4
  //#region src/components/select/select-scroll-up-button.vue.d.ts
5
5
  declare var __VLS_10: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_10) => any;
8
8
  };
9
- declare const __VLS_base: vue1183.DefineComponent<SelectScrollUpButtonProps, {}, {}, {}, {}, vue1183.ComponentOptionsMixin, vue1183.ComponentOptionsMixin, {}, string, vue1183.PublicProps, Readonly<SelectScrollUpButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1183.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1000.DefineComponent<SelectScrollUpButtonProps, {}, {}, {}, {}, vue1000.ComponentOptionsMixin, vue1000.ComponentOptionsMixin, {}, string, vue1000.PublicProps, Readonly<SelectScrollUpButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1000.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 { SelectSeparatorProps } from "./types.js";
2
- import * as vue1351 from "vue";
2
+ import * as vue984 from "vue";
3
3
 
4
4
  //#region src/components/select/select-separator.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: vue1351.DefineComponent<SelectSeparatorProps, {}, {}, {}, {}, vue1351.ComponentOptionsMixin, vue1351.ComponentOptionsMixin, {}, string, vue1351.PublicProps, Readonly<SelectSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1351.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue984.DefineComponent<SelectSeparatorProps, {}, {}, {}, {}, vue984.ComponentOptionsMixin, vue984.ComponentOptionsMixin, {}, string, vue984.PublicProps, Readonly<SelectSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue984.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 { SelectTriggerIconProps } from "./types.js";
2
- import * as vue1178 from "vue";
2
+ import * as vue979 from "vue";
3
3
 
4
4
  //#region src/components/select/select-trigger-icon.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: vue1178.DefineComponent<SelectTriggerIconProps, {}, {}, {}, {}, vue1178.ComponentOptionsMixin, vue1178.ComponentOptionsMixin, {}, string, vue1178.PublicProps, Readonly<SelectTriggerIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1178.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue979.DefineComponent<SelectTriggerIconProps, {}, {}, {}, {}, vue979.ComponentOptionsMixin, vue979.ComponentOptionsMixin, {}, string, vue979.PublicProps, Readonly<SelectTriggerIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue979.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 { SelectTriggerProps } from "./types.js";
4
- import * as vue1147 from "vue";
4
+ import * as vue948 from "vue";
5
5
 
6
6
  //#region src/components/select/select-trigger.vue.d.ts
7
7
  declare var __VLS_19: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_19) => any;
10
10
  };
11
- declare const __VLS_base: vue1147.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue1147.ComponentOptionsMixin, vue1147.ComponentOptionsMixin, {}, string, vue1147.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue1147.Component;
13
- }, {}, {}, {}, string, vue1147.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue948.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue948.ComponentOptionsMixin, vue948.ComponentOptionsMixin, {}, string, vue948.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue948.Component;
13
+ }, {}, {}, {}, string, vue948.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,7 +1,7 @@
1
1
  import { DefinedValue, MaybeArray } from "../../types/common.js";
2
2
  import { SelectValueProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1163 from "vue";
4
+ import * as vue959 from "vue";
5
5
 
6
6
  //#region src/components/select/select-value.vue.d.ts
7
7
  declare var __VLS_1: {
@@ -12,9 +12,9 @@ declare var __VLS_1: {
12
12
  type __VLS_Slots = {} & {
13
13
  default?: (props: typeof __VLS_1) => any;
14
14
  };
15
- declare const __VLS_base: vue1163.DefineComponent<SelectValueProps, {}, {}, {}, {}, vue1163.ComponentOptionsMixin, vue1163.ComponentOptionsMixin, {}, string, vue1163.PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {
15
+ declare const __VLS_base: vue959.DefineComponent<SelectValueProps, {}, {}, {}, {}, vue959.ComponentOptionsMixin, vue959.ComponentOptionsMixin, {}, string, vue959.PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {
16
16
  placeholder: string;
17
- }, {}, {}, {}, string, vue1163.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue959.ComponentProvideOptions, false, {}, any>;
18
18
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
19
19
  declare const _default: typeof __VLS_export;
20
20
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { SelectViewportProps } from "./types.js";
2
- import * as vue1158 from "vue";
2
+ import * as vue964 from "vue";
3
3
 
4
4
  //#region src/components/select/select-viewport.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: vue1158.DefineComponent<SelectViewportProps, {}, {}, {}, {}, vue1158.ComponentOptionsMixin, vue1158.ComponentOptionsMixin, {}, string, vue1158.PublicProps, Readonly<SelectViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1158.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue964.DefineComponent<SelectViewportProps, {}, {}, {}, {}, vue964.ComponentOptionsMixin, vue964.ComponentOptionsMixin, {}, string, vue964.PublicProps, Readonly<SelectViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue964.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,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { SeparatorUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1102 from "vue";
4
+ import * as vue1637 from "vue";
5
5
 
6
6
  //#region src/components/separator/context.d.ts
7
- declare const provideSeparatorUi: (ui: vue1102.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>) => vue1102.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>, useSeparatorUi: <S extends SeparatorUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SeparatorUiSlot ? vue1102.ComputedRef<ClassValue> : vue1102.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>;
7
+ declare const provideSeparatorUi: (ui: vue1637.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>) => vue1637.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>, useSeparatorUi: <S extends SeparatorUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SeparatorUiSlot ? vue1637.ComputedRef<ClassValue> : vue1637.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideSeparatorUi };
@@ -1,12 +1,12 @@
1
1
  import { SeparatorLabelProps } from "./types.js";
2
- import * as vue1106 from "vue";
2
+ import * as vue1735 from "vue";
3
3
 
4
4
  //#region src/components/separator/separator-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: vue1106.DefineComponent<SeparatorLabelProps, {}, {}, {}, {}, vue1106.ComponentOptionsMixin, vue1106.ComponentOptionsMixin, {}, string, vue1106.PublicProps, Readonly<SeparatorLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1106.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1735.DefineComponent<SeparatorLabelProps, {}, {}, {}, {}, vue1735.ComponentOptionsMixin, vue1735.ComponentOptionsMixin, {}, string, vue1735.PublicProps, Readonly<SeparatorLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1735.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,17 +1,17 @@
1
1
  import { DataOrientation } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { SeparatorRootProps } from "./types.js";
4
- import * as vue1111 from "vue";
4
+ import * as vue1641 from "vue";
5
5
 
6
6
  //#region src/components/separator/separator-root.vue.d.ts
7
7
  declare var __VLS_1: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue1111.DefineComponent<SeparatorRootProps, {}, {}, {}, {}, vue1111.ComponentOptionsMixin, vue1111.ComponentOptionsMixin, {}, string, vue1111.PublicProps, Readonly<SeparatorRootProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1641.DefineComponent<SeparatorRootProps, {}, {}, {}, {}, vue1641.ComponentOptionsMixin, vue1641.ComponentOptionsMixin, {}, string, vue1641.PublicProps, Readonly<SeparatorRootProps> & Readonly<{}>, {
12
12
  orientation: DataOrientation;
13
13
  decorative: boolean;
14
- }, {}, {}, {}, string, vue1111.ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, vue1641.ComponentProvideOptions, false, {}, any>;
15
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  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 { SwitchUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue803 from "vue";
5
+ import * as vue743 from "vue";
6
6
 
7
7
  //#region src/components/switch/context.d.ts
8
8
 
9
- declare const provideSwitchUi: (ui: vue803.ComputedRef<Partial<UiClass<SwitchUiSlot>>>) => vue803.ComputedRef<Partial<UiClass<SwitchUiSlot>>>, useSwitchUi: <S extends SwitchUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SwitchUiSlot ? vue803.ComputedRef<ClassValue> : vue803.ComputedRef<Partial<UiClass<SwitchUiSlot>>>;
9
+ declare const provideSwitchUi: (ui: vue743.ComputedRef<Partial<UiClass<SwitchUiSlot>>>) => vue743.ComputedRef<Partial<UiClass<SwitchUiSlot>>>, useSwitchUi: <S extends SwitchUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SwitchUiSlot ? vue743.ComputedRef<ClassValue> : vue743.ComputedRef<Partial<UiClass<SwitchUiSlot>>>;
10
10
  //#endregion
11
11
  export { provideSwitchUi };
@@ -1 +1 @@
1
- import{getAriaLabel as e}from"../../shared/dom.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{useSwitchRootContext as n,useSwitchUi 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,useAttrs as d,withKeys as f,withModifiers as p}from"vue";const m=[`id`,`aria-checked`,`aria-label`,`aria-required`,`data-disabled`,`data-state`];var h=o({name:`SwitchControl`,__name:`switch-control`,props:{id:{}},setup(o){let h=o,g=d(),{modelValue:_,dataDisabled:v,dataState:y,toggleCheck:b,required:x}=n(`SwitchControl`),[S,C]=t(),w=r(`control`),T=i(()=>e(S.value,h.id,g[`aria-label`]));return(e,t)=>(c(),a(`button`,{id:o.id,ref:u(C),class:s(u(w)),"aria-checked":u(y)===`checked`,"aria-label":T.value,"aria-required":u(x),"data-disabled":u(v),"data-state":u(y),role:`switch`,onClick:t[0]||=(...e)=>u(b)&&u(b)(...e),onKeydown:t[1]||=f(p((...e)=>u(b)&&u(b)(...e),[`prevent`]),[`enter`])},[l(e.$slots,`default`,{modelValue:u(_)})],42,m))}});export{h as default};
1
+ import{getAriaLabel as e}from"../../shared/dom.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{useSwitchRootContext as n,useSwitchUi 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,useAttrs as d,withKeys as f,withModifiers as p}from"vue";const m=[`id`,`aria-checked`,`aria-label`,`aria-required`,`data-disabled`,`data-state`];var h=o({name:`SwitchControl`,__name:`switch-control`,props:{id:{}},setup(o){let h=o,g=d(),{modelValue:_,dataDisabled:v,dataState:y,toggleCheck:b,required:x}=n(`SwitchControl`),[S,C]=t(),w=r(`control`),T=i(()=>e(S.value,h.id,g[`aria-label`]));return(e,t)=>(c(),a(`button`,{id:o.id,ref:u(C),class:s(u(w)),"aria-checked":u(y)===`checked`,"aria-label":T.value,"aria-required":u(x),"data-disabled":u(v),"data-state":u(y),role:`switch`,onClick:t[0]||(t[0]=(...e)=>u(b)&&u(b)(...e)),onKeydown:t[1]||(t[1]=f(p((...e)=>u(b)&&u(b)(...e),[`prevent`]),[`enter`]))},[l(e.$slots,`default`,{modelValue:u(_)})],42,m))}});export{h as default};