@soybeanjs/headless 0.2.8 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (279) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.js +1 -1
  9. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  12. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  13. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  14. package/dist/components/alert/context.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  16. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  17. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  18. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  19. package/dist/components/arrow/arrow.js +1 -1
  20. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  21. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  22. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  23. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  24. package/dist/components/avatar/context.d.ts +2 -2
  25. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  26. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  27. package/dist/components/badge/context.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  29. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  34. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/context.d.ts +2 -2
  37. package/dist/components/button/button.vue.d.ts +5 -5
  38. package/dist/components/card/card-content.vue.d.ts +2 -2
  39. package/dist/components/card/card-description.vue.d.ts +2 -2
  40. package/dist/components/card/card-footer.vue.d.ts +2 -2
  41. package/dist/components/card/card-header.vue.d.ts +2 -2
  42. package/dist/components/card/card-root.vue.d.ts +2 -2
  43. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  44. package/dist/components/card/card-title.vue.d.ts +2 -2
  45. package/dist/components/card/context.d.ts +2 -2
  46. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  48. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  49. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  50. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  51. package/dist/components/checkbox/context.d.ts +2 -2
  52. package/dist/components/collapsible/collapsible-content.js +1 -1
  53. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  54. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  55. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  56. package/dist/components/collapsible/context.d.ts +2 -2
  57. package/dist/components/collapsible/context.js +1 -1
  58. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  59. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  60. package/dist/components/context-menu/context-menu-root.js +1 -1
  61. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  62. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  63. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  64. package/dist/components/dialog/context.d.ts +2 -2
  65. package/dist/components/dialog/context.js +1 -1
  66. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  67. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  68. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  69. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  71. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  72. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  73. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  74. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  75. package/dist/components/dropdown-menu/context.js +1 -1
  76. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  77. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  78. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  79. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  80. package/dist/components/form/context.d.ts +2 -2
  81. package/dist/components/form/form-description.vue.d.ts +2 -2
  82. package/dist/components/form/form-error.vue.d.ts +2 -2
  83. package/dist/components/form/form-field.vue.d.ts +2 -2
  84. package/dist/components/form/form-label.vue.d.ts +2 -2
  85. package/dist/components/input/context.d.ts +2 -2
  86. package/dist/components/input/input-control.vue.d.ts +2 -2
  87. package/dist/components/input/input-root.vue.d.ts +4 -4
  88. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  89. package/dist/components/label/label.vue.d.ts +2 -2
  90. package/dist/components/layout/context.d.ts +2 -2
  91. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  92. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  95. package/dist/components/layout/layout-rail.js +1 -1
  96. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  97. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  98. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  99. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  100. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  101. package/dist/components/link/link.vue.d.ts +4 -4
  102. package/dist/components/list/context.d.ts +2 -2
  103. package/dist/components/list/list-content.vue.d.ts +2 -2
  104. package/dist/components/list/list-description.vue.d.ts +2 -2
  105. package/dist/components/list/list-item.vue.d.ts +2 -2
  106. package/dist/components/list/list-root.vue.d.ts +2 -2
  107. package/dist/components/list/list-title.vue.d.ts +2 -2
  108. package/dist/components/listbox/context.d.ts +2 -2
  109. package/dist/components/listbox/listbox-content.js +1 -1
  110. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  111. package/dist/components/listbox/listbox-filter.js +1 -1
  112. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  113. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  114. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  115. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  116. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  117. package/dist/components/listbox/listbox-root.js +1 -1
  118. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  119. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  120. package/dist/components/menu/context.d.ts +2 -2
  121. package/dist/components/menu/context.js +1 -1
  122. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  123. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  124. package/dist/components/menu/menu-content-impl.js +1 -1
  125. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  126. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  127. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  128. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  129. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  130. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  131. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  132. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  133. package/dist/components/menu/menu-sub-content.js +1 -1
  134. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  135. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  136. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  137. package/dist/components/navigation-menu/context.d.ts +2 -2
  138. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  139. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  140. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  141. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  142. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  143. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  144. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  145. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  146. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  147. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  148. package/dist/components/number-input/context.d.ts +2 -2
  149. package/dist/components/number-input/number-input-control.js +1 -1
  150. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  151. package/dist/components/number-input/number-input-decrement.js +1 -1
  152. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  153. package/dist/components/number-input/number-input-increment.js +1 -1
  154. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  155. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  156. package/dist/components/pagination/context.d.ts +2 -2
  157. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  158. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  159. package/dist/components/pagination/pagination-first.js +1 -1
  160. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  161. package/dist/components/pagination/pagination-last.js +1 -1
  162. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  163. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  165. package/dist/components/pagination/pagination-next.js +1 -1
  166. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  167. package/dist/components/pagination/pagination-prev.js +1 -1
  168. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  169. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  170. package/dist/components/popover/context.js +1 -1
  171. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  172. package/dist/components/popover/popover-close.js +1 -1
  173. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  174. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  175. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  176. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  177. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  178. package/dist/components/popper/context.d.ts +2 -2
  179. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  180. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  181. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  182. package/dist/components/popper/popper-positioner.vue.d.ts +11 -11
  183. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  184. package/dist/components/portal/portal.vue.d.ts +3 -3
  185. package/dist/components/primitive/primitive.d.ts +2 -2
  186. package/dist/components/radio-group/context.d.ts +2 -2
  187. package/dist/components/radio-group/radio-group-control.js +1 -1
  188. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  189. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  190. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  191. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  192. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  193. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  194. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  195. package/dist/components/select/context.d.ts +2 -2
  196. package/dist/components/select/context.js +1 -1
  197. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  198. package/dist/components/select/select-content-impl.js +1 -1
  199. package/dist/components/select/select-content.vue.d.ts +8 -8
  200. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  201. package/dist/components/select/select-group.vue.d.ts +2 -2
  202. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  203. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  204. package/dist/components/select/select-item.js +1 -1
  205. package/dist/components/select/select-item.vue.d.ts +4 -4
  206. package/dist/components/select/select-root.vue.d.ts +5 -5
  207. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  208. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  209. package/dist/components/select/select-separator.vue.d.ts +2 -2
  210. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  211. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  212. package/dist/components/select/select-value.vue.d.ts +3 -3
  213. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  214. package/dist/components/separator/context.d.ts +2 -2
  215. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  216. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  217. package/dist/components/slot/slot.d.ts +2 -2
  218. package/dist/components/switch/context.d.ts +2 -2
  219. package/dist/components/switch/switch-control.js +1 -1
  220. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  221. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  222. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  223. package/dist/components/tabs/context.d.ts +2 -2
  224. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  225. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  226. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  227. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  228. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  229. package/dist/components/tag/tag.vue.d.ts +4 -4
  230. package/dist/components/textarea/context.d.ts +2 -2
  231. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  232. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  233. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  234. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  235. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  236. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  237. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  238. package/dist/components/toast/toast-root.vue.d.ts +8 -8
  239. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-viewport.js +1 -1
  241. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  242. package/dist/components/tooltip/context.js +1 -1
  243. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  244. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  245. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  246. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  247. package/dist/components/tree/tree-item.js +1 -1
  248. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  249. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  250. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  251. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  252. package/dist/components/tree-menu/context.d.ts +2 -2
  253. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  254. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  255. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  257. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  258. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  259. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  260. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  261. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  262. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  263. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  264. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  265. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  266. package/dist/composables/use-collection.js +1 -1
  267. package/dist/composables/use-grace-area.js +1 -1
  268. package/dist/composables/use-image-loading-status.js +1 -1
  269. package/dist/composables/use-is-using-keyboard.js +1 -1
  270. package/dist/composables/use-kbd.d.ts +2 -2
  271. package/dist/composables/use-presence.d.ts +2 -2
  272. package/dist/composables/use-props.d.ts +3 -3
  273. package/dist/composables/use-selection.d.ts +4 -4
  274. package/dist/shared/focus.js +1 -1
  275. package/dist/shared/index.d.ts +2 -1
  276. package/dist/shared/index.js +1 -1
  277. package/dist/shared/tree.d.ts +13 -0
  278. package/dist/shared/tree.js +1 -0
  279. package/package.json +26 -26
@@ -1,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 vue1089 from "vue";
4
+ import * as vue720 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: vue1089.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue720.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
- }>) => vue1089.VNode & {
21
+ }>) => vue720.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 vue1163 from "vue";
6
+ import * as vue518 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: vue1163.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue518.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue1163.ComponentOptionsMixin, vue1163.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue518.ComponentOptionsMixin, vue518.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue1163.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue518.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, vue1163.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue518.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 vue1168 from "vue";
2
+ import * as vue523 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: vue1168.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1168.ComponentOptionsMixin, vue1168.ComponentOptionsMixin, {}, string, vue1168.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue523.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue523.ComponentOptionsMixin, vue523.ComponentOptionsMixin, {}, string, vue523.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
10
10
  focusable: boolean;
11
- }, {}, {}, {}, string, vue1168.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue523.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 vue902 from "vue";
6
+ import * as vue371 from "vue";
7
7
 
8
8
  //#region src/components/select/context.d.ts
9
9
 
10
- declare const provideSelectUi: (ui: vue902.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue902.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue902.ComputedRef<ClassValue> : vue902.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
10
+ declare const provideSelectUi: (ui: vue371.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue371.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue371.ComputedRef<ClassValue> : vue371.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 vue892 from "vue";
3
+ import * as vue361 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: vue892.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue892.ComponentOptionsMixin, vue892.ComponentOptionsMixin, {}, string, vue892.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue892.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue361.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue361.ComponentOptionsMixin, vue361.ComponentOptionsMixin, {}, string, vue361.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue361.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 vue841 from "vue";
4
+ import * as vue315 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: vue841.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue841.ComponentOptionsMixin, vue841.ComponentOptionsMixin, {
13
+ declare const __VLS_base: vue315.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue315.ComponentOptionsMixin, vue315.ComponentOptionsMixin, {
14
+ closeAutoFocus: (event: Event) => any;
14
15
  escapeKeyDown: (event: KeyboardEvent) => any;
15
16
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
16
- closeAutoFocus: (event: Event) => any;
17
- }, string, vue841.PublicProps, Readonly<SelectContentProps> & Readonly<{
17
+ }, string, vue315.PublicProps, Readonly<SelectContentProps> & Readonly<{
18
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
18
19
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
19
20
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
20
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
21
  }>, {
22
- avoidCollisions: boolean;
23
- prioritizePosition: boolean;
24
22
  position: SelectPosition;
25
23
  bodyLock: boolean;
26
- }, {}, {}, {}, string, vue841.ComponentProvideOptions, false, {}, any>;
24
+ avoidCollisions: boolean;
25
+ prioritizePosition: boolean;
26
+ }, {}, {}, {}, string, vue315.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 vue846 from "vue";
2
+ import * as vue331 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: vue846.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue846.ComponentOptionsMixin, vue846.ComponentOptionsMixin, {}, string, vue846.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue846.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue331.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue331.ComponentOptionsMixin, vue331.ComponentOptionsMixin, {}, string, vue331.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue331.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 vue857 from "vue";
2
+ import * as vue341 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: vue857.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue857.ComponentOptionsMixin, vue857.ComponentOptionsMixin, {}, string, vue857.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue857.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue341.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue341.ComponentOptionsMixin, vue341.ComponentOptionsMixin, {}, string, vue341.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue341.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 vue851 from "vue";
4
+ import * as vue320 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: vue851.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue851.ComponentOptionsMixin, vue851.ComponentOptionsMixin, {}, string, vue851.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue851.Component;
13
- }, {}, {}, {}, string, vue851.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue320.DefineComponent<SelectItemIndicatorProps, {}, {}, {}, {}, vue320.ComponentOptionsMixin, vue320.ComponentOptionsMixin, {}, string, vue320.PublicProps, Readonly<SelectItemIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue320.Component;
13
+ }, {}, {}, {}, string, vue320.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 vue877 from "vue";
2
+ import * as vue346 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: vue877.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue877.ComponentOptionsMixin, vue877.ComponentOptionsMixin, {}, string, vue877.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue877.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue346.DefineComponent<SelectItemTextProps, {}, {}, {}, {}, vue346.ComponentOptionsMixin, vue346.ComponentOptionsMixin, {}, string, vue346.PublicProps, Readonly<SelectItemTextProps> & Readonly<{}>, {}, {}, {}, {}, string, vue346.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 vue862 from "vue";
4
+ import * as vue326 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: vue862.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue862.ComponentOptionsMixin, vue862.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue326.DefineComponent<SelectItemProps, {}, {}, {}, {}, vue326.ComponentOptionsMixin, vue326.ComponentOptionsMixin, {
12
12
  select: (event: SelectItemEvent<DefinedValue>) => any;
13
- }, string, vue862.PublicProps, Readonly<SelectItemProps> & Readonly<{
13
+ }, string, vue326.PublicProps, Readonly<SelectItemProps> & Readonly<{
14
14
  onSelect?: ((event: SelectItemEvent<DefinedValue>) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue862.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue326.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 vue833 from "vue";
4
+ import * as vue302 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: vue833.PublicProps & __VLS_PrettifyLocal<SelectRootProps<T, M> & {
9
- "onUpdate:modelValue"?: ((value: M extends true ? T[] : T) => any) | undefined;
8
+ props: vue302.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
- }>) => vue833.VNode & {
22
+ emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? T[] : T) => void);
23
+ }>) => vue302.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 vue882 from "vue";
2
+ import * as vue366 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: vue882.DefineComponent<SelectScrollDownButtonProps, {}, {}, {}, {}, vue882.ComponentOptionsMixin, vue882.ComponentOptionsMixin, {}, string, vue882.PublicProps, Readonly<SelectScrollDownButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue882.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue366.DefineComponent<SelectScrollDownButtonProps, {}, {}, {}, {}, vue366.ComponentOptionsMixin, vue366.ComponentOptionsMixin, {}, string, vue366.PublicProps, Readonly<SelectScrollDownButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue366.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 vue867 from "vue";
2
+ import * as vue336 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: vue867.DefineComponent<SelectScrollUpButtonProps, {}, {}, {}, {}, vue867.ComponentOptionsMixin, vue867.ComponentOptionsMixin, {}, string, vue867.PublicProps, Readonly<SelectScrollUpButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue867.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue336.DefineComponent<SelectScrollUpButtonProps, {}, {}, {}, {}, vue336.ComponentOptionsMixin, vue336.ComponentOptionsMixin, {}, string, vue336.PublicProps, Readonly<SelectScrollUpButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue336.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 vue872 from "vue";
2
+ import * as vue356 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: vue872.DefineComponent<SelectSeparatorProps, {}, {}, {}, {}, vue872.ComponentOptionsMixin, vue872.ComponentOptionsMixin, {}, string, vue872.PublicProps, Readonly<SelectSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue872.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue356.DefineComponent<SelectSeparatorProps, {}, {}, {}, {}, vue356.ComponentOptionsMixin, vue356.ComponentOptionsMixin, {}, string, vue356.PublicProps, Readonly<SelectSeparatorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue356.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 vue897 from "vue";
2
+ import * as vue351 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: vue897.DefineComponent<SelectTriggerIconProps, {}, {}, {}, {}, vue897.ComponentOptionsMixin, vue897.ComponentOptionsMixin, {}, string, vue897.PublicProps, Readonly<SelectTriggerIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue897.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue351.DefineComponent<SelectTriggerIconProps, {}, {}, {}, {}, vue351.ComponentOptionsMixin, vue351.ComponentOptionsMixin, {}, string, vue351.PublicProps, Readonly<SelectTriggerIconProps> & Readonly<{}>, {}, {}, {}, {}, string, vue351.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 vue835 from "vue";
4
+ import * as vue309 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: vue835.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue835.ComponentOptionsMixin, vue835.ComponentOptionsMixin, {}, string, vue835.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue835.Component;
13
- }, {}, {}, {}, string, vue835.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue309.DefineComponent<SelectTriggerProps, {}, {}, {}, {}, vue309.ComponentOptionsMixin, vue309.ComponentOptionsMixin, {}, string, vue309.PublicProps, Readonly<SelectTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue309.Component;
13
+ }, {}, {}, {}, string, vue309.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 vue887 from "vue";
4
+ import * as vue513 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: vue887.DefineComponent<SelectValueProps, {}, {}, {}, {}, vue887.ComponentOptionsMixin, vue887.ComponentOptionsMixin, {}, string, vue887.PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {
15
+ declare const __VLS_base: vue513.DefineComponent<SelectValueProps, {}, {}, {}, {}, vue513.ComponentOptionsMixin, vue513.ComponentOptionsMixin, {}, string, vue513.PublicProps, Readonly<SelectValueProps> & Readonly<{}>, {
16
16
  placeholder: string;
17
- }, {}, {}, {}, string, vue887.ComponentProvideOptions, false, {}, any>;
17
+ }, {}, {}, {}, string, vue513.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 vue828 from "vue";
2
+ import * as vue304 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: vue828.DefineComponent<SelectViewportProps, {}, {}, {}, {}, vue828.ComponentOptionsMixin, vue828.ComponentOptionsMixin, {}, string, vue828.PublicProps, Readonly<SelectViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue828.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue304.DefineComponent<SelectViewportProps, {}, {}, {}, {}, vue304.ComponentOptionsMixin, vue304.ComponentOptionsMixin, {}, string, vue304.PublicProps, Readonly<SelectViewportProps> & Readonly<{}>, {}, {}, {}, {}, string, vue304.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 vue1154 from "vue";
4
+ import * as vue1190 from "vue";
5
5
 
6
6
  //#region src/components/separator/context.d.ts
7
- declare const provideSeparatorUi: (ui: vue1154.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>) => vue1154.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>, useSeparatorUi: <S extends SeparatorUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SeparatorUiSlot ? vue1154.ComputedRef<ClassValue> : vue1154.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>;
7
+ declare const provideSeparatorUi: (ui: vue1190.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>) => vue1190.ComputedRef<Partial<UiClass<SeparatorUiSlot>>>, useSeparatorUi: <S extends SeparatorUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SeparatorUiSlot ? vue1190.ComputedRef<ClassValue> : vue1190.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 vue1149 from "vue";
2
+ import * as vue1185 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: vue1149.DefineComponent<SeparatorLabelProps, {}, {}, {}, {}, vue1149.ComponentOptionsMixin, vue1149.ComponentOptionsMixin, {}, string, vue1149.PublicProps, Readonly<SeparatorLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1149.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1185.DefineComponent<SeparatorLabelProps, {}, {}, {}, {}, vue1185.ComponentOptionsMixin, vue1185.ComponentOptionsMixin, {}, string, vue1185.PublicProps, Readonly<SeparatorLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1185.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 vue1144 from "vue";
4
+ import * as vue1180 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: vue1144.DefineComponent<SeparatorRootProps, {}, {}, {}, {}, vue1144.ComponentOptionsMixin, vue1144.ComponentOptionsMixin, {}, string, vue1144.PublicProps, Readonly<SeparatorRootProps> & Readonly<{}>, {
11
+ declare const __VLS_base: vue1180.DefineComponent<SeparatorRootProps, {}, {}, {}, {}, vue1180.ComponentOptionsMixin, vue1180.ComponentOptionsMixin, {}, string, vue1180.PublicProps, Readonly<SeparatorRootProps> & Readonly<{}>, {
12
12
  orientation: DataOrientation;
13
13
  decorative: boolean;
14
- }, {}, {}, {}, string, vue1144.ComponentProvideOptions, false, {}, any>;
14
+ }, {}, {}, {}, string, vue1180.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 & {
@@ -1,6 +1,6 @@
1
- import * as vue16 from "vue";
1
+ import * as vue18 from "vue";
2
2
 
3
3
  //#region src/components/slot/slot.d.ts
4
- declare const Slot: vue16.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue16.PublicProps>;
4
+ declare const Slot: vue18.DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, vue18.PublicProps>;
5
5
  //#endregion
6
6
  export { Slot };
@@ -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 vue1057 from "vue";
5
+ import * as vue677 from "vue";
6
6
 
7
7
  //#region src/components/switch/context.d.ts
8
8
 
9
- declare const provideSwitchUi: (ui: vue1057.ComputedRef<Partial<UiClass<SwitchUiSlot>>>) => vue1057.ComputedRef<Partial<UiClass<SwitchUiSlot>>>, useSwitchUi: <S extends SwitchUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SwitchUiSlot ? vue1057.ComputedRef<ClassValue> : vue1057.ComputedRef<Partial<UiClass<SwitchUiSlot>>>;
9
+ declare const provideSwitchUi: (ui: vue677.ComputedRef<Partial<UiClass<SwitchUiSlot>>>) => vue677.ComputedRef<Partial<UiClass<SwitchUiSlot>>>, useSwitchUi: <S extends SwitchUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SwitchUiSlot ? vue677.ComputedRef<ClassValue> : vue677.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};
@@ -1,7 +1,7 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import { SwitchControlProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1046 from "vue";
4
+ import * as vue715 from "vue";
5
5
 
6
6
  //#region src/components/switch/switch-control.vue.d.ts
7
7
  declare var __VLS_1: {
@@ -10,7 +10,7 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue1046.DefineComponent<SwitchControlProps, {}, {}, {}, {}, vue1046.ComponentOptionsMixin, vue1046.ComponentOptionsMixin, {}, string, vue1046.PublicProps, Readonly<SwitchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1046.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue715.DefineComponent<SwitchControlProps, {}, {}, {}, {}, vue715.ComponentOptionsMixin, vue715.ComponentOptionsMixin, {}, string, vue715.PublicProps, Readonly<SwitchControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue715.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { SwitchRootProps } from "./types.js";
4
- import * as vue1044 from "vue";
4
+ import * as vue675 from "vue";
5
5
 
6
6
  //#region src/components/switch/switch-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends AcceptableBooleanValue = boolean>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue1044.PublicProps & __VLS_PrettifyLocal<SwitchRootProps<T> & {
8
+ props: vue675.PublicProps & __VLS_PrettifyLocal<SwitchRootProps<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 = boolean>(__VLS_p
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
21
- }>) => vue1044.VNode & {
21
+ }>) => vue675.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;