@soybeanjs/headless 0.0.7 → 0.0.8

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 (307) 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 +4 -4
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  7. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  8. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  10. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  11. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  12. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  13. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  14. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  15. package/dist/components/arrow/arrow.js +1 -1
  16. package/dist/components/arrow/arrow.vue.d.ts +2 -18
  17. package/dist/components/arrow/index.d.ts +1 -2
  18. package/dist/components/arrow/index.js +1 -1
  19. package/dist/components/arrow/types.d.ts +1 -15
  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/badge/badge-content.vue.d.ts +2 -2
  25. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  26. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  27. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  28. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +4 -4
  29. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  33. package/dist/components/button/button.vue.d.ts +5 -5
  34. package/dist/components/card/card-content.vue.d.ts +2 -2
  35. package/dist/components/card/card-description.vue.d.ts +2 -2
  36. package/dist/components/card/card-footer.vue.d.ts +2 -2
  37. package/dist/components/card/card-header.vue.d.ts +2 -2
  38. package/dist/components/card/card-root.vue.d.ts +2 -2
  39. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  40. package/dist/components/card/card-title.vue.d.ts +2 -2
  41. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  42. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +4 -4
  43. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  44. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  45. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  46. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  47. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  48. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  49. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  50. package/dist/components/context-menu/context-menu-content.js +1 -1
  51. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  52. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  53. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +6 -6
  54. package/dist/components/context-menu/index.d.ts +3 -4
  55. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  56. package/dist/components/dialog/dialog-content-impl.js +1 -1
  57. package/dist/components/dialog/dialog-content.js +1 -1
  58. package/dist/components/dialog/dialog-content.vue.d.ts +8 -8
  59. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  60. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  61. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  62. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  63. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  64. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  65. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  66. package/dist/components/dialog/types.d.ts +1 -1
  67. package/dist/components/dropdown-menu/context.js +1 -1
  68. package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
  69. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  70. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +5 -5
  71. package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
  72. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  73. package/dist/components/dropdown-menu/index.d.ts +3 -4
  74. package/dist/components/form/form-description.vue.d.ts +2 -2
  75. package/dist/components/form/form-error.vue.d.ts +2 -2
  76. package/dist/components/form/form-field-array.vue.d.ts +2 -2
  77. package/dist/components/form/form-field.vue.d.ts +2 -2
  78. package/dist/components/form/form-label.vue.d.ts +2 -2
  79. package/dist/components/input/input-control.vue.d.ts +2 -2
  80. package/dist/components/input/input-root.vue.d.ts +4 -4
  81. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  82. package/dist/components/label/label.vue.d.ts +2 -2
  83. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  84. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  85. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  86. package/dist/components/layout/layout-mobile.vue.d.ts +4 -4
  87. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  88. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  89. package/dist/components/layout/layout-sidebar.vue.d.ts +5 -5
  90. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  91. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  92. package/dist/components/link/link.vue.d.ts +5 -5
  93. package/dist/components/list/list-content.vue.d.ts +2 -2
  94. package/dist/components/list/list-description.vue.d.ts +2 -2
  95. package/dist/components/list/list-item.vue.d.ts +2 -2
  96. package/dist/components/list/list-root.vue.d.ts +2 -2
  97. package/dist/components/list/list-title.vue.d.ts +2 -2
  98. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  99. package/dist/components/listbox/listbox-filter.vue.d.ts +6 -6
  100. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  101. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  102. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  103. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  104. package/dist/components/listbox/listbox-root.vue.d.ts +6 -6
  105. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  106. package/dist/components/menu/context.js +1 -1
  107. package/dist/components/menu/index.d.ts +3 -4
  108. package/dist/components/menu/menu-checkbox-group.vue.d.ts +4 -4
  109. package/dist/components/menu/menu-checkbox-item.vue.d.ts +6 -6
  110. package/dist/components/menu/menu-content-impl.js +1 -1
  111. package/dist/components/menu/menu-content.js +1 -1
  112. package/dist/components/menu/menu-content.vue.d.ts +11 -11
  113. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  114. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  115. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  116. package/dist/components/menu/menu-item.vue.d.ts +6 -6
  117. package/dist/components/menu/menu-radio-group.vue.d.ts +4 -4
  118. package/dist/components/menu/menu-radio-item.vue.d.ts +6 -6
  119. package/dist/components/menu/menu-root.js +1 -1
  120. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  121. package/dist/components/menu/menu-sub-content.js +1 -1
  122. package/dist/components/menu/menu-sub-content.vue.d.ts +10 -10
  123. package/dist/components/menu/menu-sub-trigger.js +1 -1
  124. package/dist/components/menu/menu-sub-trigger.vue.d.ts +4 -4
  125. package/dist/components/menu/menu-sub.js +1 -1
  126. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  127. package/dist/components/menu/shared.js +1 -1
  128. package/dist/components/menu/types.d.ts +7 -12
  129. package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
  130. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +6 -6
  131. package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
  132. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  133. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  134. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -6
  135. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  136. package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
  137. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +6 -5
  138. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  139. package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
  140. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  141. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  142. package/dist/components/navigation-menu/types.d.ts +3 -1
  143. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  144. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  145. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  146. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  147. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  148. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  149. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  150. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  151. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  152. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  153. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  154. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  155. package/dist/components/popover/context.js +1 -1
  156. package/dist/components/popover/index.d.ts +7 -7
  157. package/dist/components/popover/index.js +1 -1
  158. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  159. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  160. package/dist/components/popover/popover-popup.js +1 -0
  161. package/dist/components/popover/popover-popup.vue.d.ts +18 -0
  162. package/dist/components/popover/popover-positioner-impl.js +1 -0
  163. package/dist/components/popover/popover-positioner.js +1 -0
  164. package/dist/components/popover/{popover-content.vue.d.ts → popover-positioner.vue.d.ts} +10 -10
  165. package/dist/components/popover/popover-root.js +1 -1
  166. package/dist/components/popover/popover-root.vue.d.ts +5 -4
  167. package/dist/components/popover/popover-trigger.js +1 -1
  168. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  169. package/dist/components/popover/types.d.ts +8 -7
  170. package/dist/components/popper/context.d.ts +6 -16
  171. package/dist/components/popper/context.js +1 -1
  172. package/dist/components/popper/index.d.ts +6 -6
  173. package/dist/components/popper/index.js +1 -1
  174. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  175. package/dist/components/popper/popper-arrow.js +1 -1
  176. package/dist/components/popper/popper-arrow.vue.d.ts +3 -14
  177. package/dist/components/popper/popper-popup.js +1 -0
  178. package/dist/components/popper/popper-popup.vue.d.ts +18 -0
  179. package/dist/components/popper/popper-positioner.js +1 -0
  180. package/dist/components/popper/{popper-content.vue.d.ts → popper-positioner.vue.d.ts} +26 -26
  181. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  182. package/dist/components/popper/shared.js +1 -1
  183. package/dist/components/popper/types.d.ts +10 -15
  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/radio-group-control.vue.d.ts +2 -2
  187. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  188. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  189. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  190. package/dist/components/radio-group/radio-group-root.vue.d.ts +4 -4
  191. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  192. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  193. package/dist/components/select/context.js +1 -1
  194. package/dist/components/select/index.d.ts +3 -3
  195. package/dist/components/select/select-arrow.js +1 -1
  196. package/dist/components/select/select-arrow.vue.d.ts +3 -3
  197. package/dist/components/select/select-bubble-select.js +1 -0
  198. package/dist/components/select/select-content-impl.js +1 -1
  199. package/dist/components/select/select-content.js +1 -1
  200. package/dist/components/select/select-content.vue.d.ts +11 -11
  201. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  202. package/dist/components/select/select-group.vue.d.ts +2 -2
  203. package/dist/components/select/select-item-aligned-popup.js +1 -0
  204. package/dist/components/select/select-item-aligned-positioner.js +1 -0
  205. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  206. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  207. package/dist/components/select/select-item.vue.d.ts +4 -4
  208. package/dist/components/select/select-popper-popup.js +1 -0
  209. package/dist/components/select/select-root.js +1 -1
  210. package/dist/components/select/select-root.vue.d.ts +7 -7
  211. package/dist/components/select/select-scroll-down-button.vue.d.ts +4 -4
  212. package/dist/components/select/select-scroll-up-button.vue.d.ts +4 -4
  213. package/dist/components/select/select-separator.vue.d.ts +2 -2
  214. package/dist/components/select/select-teleport-provider.js +1 -1
  215. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  216. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  217. package/dist/components/select/select-value.vue.d.ts +3 -3
  218. package/dist/components/select/select-viewport.js +1 -1
  219. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  220. package/dist/components/select/shared.js +1 -1
  221. package/dist/components/select/types.d.ts +6 -5
  222. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  223. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  224. package/dist/components/separator/types.d.ts +1 -1
  225. package/dist/components/slot/slot.d.ts +2 -2
  226. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  227. package/dist/components/switch/switch-root.vue.d.ts +4 -4
  228. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  229. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  230. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  231. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  232. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  233. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  234. package/dist/components/tag/tag.vue.d.ts +4 -4
  235. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  236. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  237. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  238. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  239. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  240. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  241. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  242. package/dist/components/toast/toast-root.vue.d.ts +10 -10
  243. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  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/index.d.ts +7 -7
  247. package/dist/components/tooltip/index.js +1 -1
  248. package/dist/components/tooltip/tooltip-popup.js +1 -0
  249. package/dist/components/tooltip/tooltip-popup.vue.d.ts +18 -0
  250. package/dist/components/tooltip/tooltip-positioner-impl.js +1 -0
  251. package/dist/components/tooltip/tooltip-positioner.js +1 -0
  252. package/dist/components/tooltip/{tooltip-content.vue.d.ts → tooltip-positioner.vue.d.ts} +8 -8
  253. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  254. package/dist/components/tooltip/tooltip-trigger.js +1 -1
  255. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  256. package/dist/components/tooltip/types.d.ts +7 -6
  257. package/dist/components/tree/tree-item.vue.d.ts +7 -7
  258. package/dist/components/tree/tree-root.vue.d.ts +4 -4
  259. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +6 -6
  260. package/dist/components/tree/tree-virtualizer-root.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/index.d.ts +4 -2
  267. package/dist/composables/index.js +1 -1
  268. package/dist/composables/use-collection.d.ts +6 -6
  269. package/dist/composables/use-direction.d.ts +2 -2
  270. package/dist/composables/use-dismissable-layer.d.ts +6 -15
  271. package/dist/composables/use-dismissable-layer.js +1 -1
  272. package/dist/composables/use-exposed-element.d.ts +2 -2
  273. package/dist/composables/use-floating.d.ts +86 -0
  274. package/dist/composables/use-floating.js +1 -0
  275. package/dist/composables/use-focus-scope.d.ts +0 -3
  276. package/dist/composables/use-focus-scope.js +1 -1
  277. package/dist/composables/use-forward-element.d.ts +2 -2
  278. package/dist/composables/use-grace-area.d.ts +2 -2
  279. package/dist/composables/use-grace-area.js +1 -1
  280. package/dist/composables/use-image-loading-status.d.ts +2 -2
  281. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  282. package/dist/composables/use-kbd.d.ts +2 -2
  283. package/dist/composables/use-locale.d.ts +2 -2
  284. package/dist/composables/use-nonce.d.ts +2 -2
  285. package/dist/composables/use-popup-events.d.ts +23 -0
  286. package/dist/composables/use-popup-events.js +1 -0
  287. package/dist/composables/use-presence.d.ts +2 -2
  288. package/dist/composables/use-props.d.ts +3 -3
  289. package/dist/composables/use-selection.d.ts +4 -4
  290. package/dist/constants/components.js +1 -1
  291. package/dist/index.d.ts +71 -69
  292. package/dist/index.js +1 -1
  293. package/dist/namespaced/index.d.ts +376 -370
  294. package/dist/namespaced/index.js +1 -1
  295. package/dist/shared/event.js +1 -1
  296. package/package.json +12 -32
  297. package/dist/components/arrow/context.d.ts +0 -8
  298. package/dist/components/arrow/context.js +0 -1
  299. package/dist/components/dialog/shared.js +0 -1
  300. package/dist/components/popover/popover-content-impl.js +0 -1
  301. package/dist/components/popover/popover-content.js +0 -1
  302. package/dist/components/popper/popper-content.js +0 -1
  303. package/dist/components/select/bubble-select.js +0 -1
  304. package/dist/components/select/select-item-aligned-position.js +0 -1
  305. package/dist/components/select/select-popper-position.js +0 -1
  306. package/dist/components/tooltip/tooltip-content-impl.js +0 -1
  307. package/dist/components/tooltip/tooltip-content.js +0 -1
@@ -1,28 +1,26 @@
1
- import { Align, Placement, Side } from "../../types/common.js";
2
- import { PopperContentProps } from "./types.js";
1
+ import { Align, Placement as Placement$1 } from "../../types/common.js";
2
+ import { PopperPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue549 from "vue";
4
+ import * as vue1173 from "vue";
5
5
  import { CSSProperties } from "vue";
6
- import * as _floating_ui_vue0 from "@floating-ui/vue";
6
+ import * as _floating_ui_dom0 from "@floating-ui/dom";
7
+ import * as _floating_ui_utils0 from "@floating-ui/utils";
7
8
 
8
- //#region src/components/popper/popper-content.vue.d.ts
9
+ //#region src/components/popper/popper-positioner.vue.d.ts
9
10
  declare var __VLS_1: {};
10
11
  type __VLS_Slots = {} & {
11
12
  default?: (props: typeof __VLS_1) => any;
12
13
  };
13
- declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {}, {}, vue549.ComponentOptionsMixin, vue549.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue1173.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1173.ComponentOptionsMixin, vue1173.ComponentOptionsMixin, {
14
15
  placed: () => any;
15
- }, string, vue549.PublicProps, Readonly<PopperContentProps> & Readonly<{
16
+ }, string, vue1173.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
17
  onPlaced?: (() => any) | undefined;
17
18
  }>, {
18
- dir: string;
19
- style: string | false | CSSProperties | vue549.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue1173.StyleValue[] | null;
20
20
  title: string;
21
21
  contextmenu: string;
22
22
  onInput: (payload: InputEvent) => void;
23
23
  onSelect: (payload: Event) => void;
24
- onError: (payload: Event) => void;
25
- onFocus: (payload: FocusEvent) => void;
26
24
  onProgress: (payload: ProgressEvent<EventTarget>) => void;
27
25
  onFullscreenchange: (payload: Event) => void;
28
26
  onFullscreenerror: (payload: Event) => void;
@@ -56,6 +54,8 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
56
54
  onDurationchange: (payload: Event) => void;
57
55
  onEmptied: (payload: Event) => void;
58
56
  onEnded: (payload: Event) => void;
57
+ onError: (payload: Event) => void;
58
+ onFocus: (payload: FocusEvent) => void;
59
59
  onFocusin: (payload: FocusEvent) => void;
60
60
  onFocusout: (payload: FocusEvent) => void;
61
61
  onFormdata: (payload: FormDataEvent) => void;
@@ -111,15 +111,16 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
111
111
  onVolumechange: (payload: Event) => void;
112
112
  onWaiting: (payload: Event) => void;
113
113
  onWheel: (payload: WheelEvent) => void;
114
+ dir: string;
114
115
  onDragexit: (payload: DragEvent) => void;
115
116
  onEncrypted: (payload: MediaEncryptedEvent) => void;
116
117
  innerHTML: string;
117
118
  class: any;
118
119
  accesskey: string;
119
- contenteditable: "inherit" | (boolean | "true" | "false") | "plaintext-only";
120
+ contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
120
121
  draggable: boolean | "true" | "false";
121
- enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
122
- enterKeyHint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
122
+ enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
123
+ enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
123
124
  hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
124
125
  id: string;
125
126
  inert: boolean | "true" | "false";
@@ -150,7 +151,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
150
151
  results: string | number;
151
152
  security: string;
152
153
  unselectable: "on" | "off";
153
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
154
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
154
155
  is: string;
155
156
  exportparts: string;
156
157
  part: string;
@@ -167,7 +168,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
167
168
  'aria-describedby': string;
168
169
  'aria-details': string;
169
170
  'aria-disabled': boolean | "true" | "false";
170
- 'aria-dropeffect': "link" | "none" | "copy" | "execute" | "move" | "popup";
171
+ 'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
171
172
  'aria-errormessage': string;
172
173
  'aria-expanded': boolean | "true" | "false";
173
174
  'aria-flowto': string;
@@ -189,7 +190,7 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
189
190
  'aria-posinset': string | number;
190
191
  'aria-pressed': (boolean | "true" | "false") | "mixed";
191
192
  'aria-readonly': boolean | "true" | "false";
192
- 'aria-relevant': "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
193
+ 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
193
194
  'aria-required': boolean | "true" | "false";
194
195
  'aria-roledescription': string;
195
196
  'aria-rowcount': string | number;
@@ -202,26 +203,25 @@ declare const __VLS_base: vue549.DefineComponent<PopperContentProps, {}, {}, {},
202
203
  'aria-valuemin': string | number;
203
204
  'aria-valuenow': string | number;
204
205
  'aria-valuetext': string;
205
- floatingRef: (el: HTMLElement) => void;
206
- placement: Placement;
207
- side: Side;
206
+ side: _floating_ui_utils0.Side;
208
207
  sideOffset: number;
209
- sideFlip: boolean;
210
208
  align: Align;
209
+ arrowPadding: number;
210
+ updatePositionStrategy: "optimized" | "always";
211
+ placement: Placement$1;
212
+ sideFlip: boolean;
211
213
  alignOffset: number;
212
214
  alignFlip: boolean;
213
215
  avoidCollisions: boolean;
214
216
  collisionBoundary: Element | null | Array<Element | null>;
215
- collisionPadding: number | Partial<Record<Side, number>>;
216
- arrowPadding: number;
217
+ collisionPadding: _floating_ui_utils0.Padding;
217
218
  sticky: "partial" | "always";
218
219
  hideWhenDetached: boolean;
219
220
  positionStrategy: "absolute" | "fixed";
220
- updatePositionStrategy: "optimized" | "always";
221
221
  disableUpdateOnLayoutShift: boolean;
222
222
  prioritizePosition: boolean;
223
- reference: _floating_ui_vue0.ReferenceElement;
224
- }, {}, {}, {}, string, vue549.ComponentProvideOptions, false, {}, any>;
223
+ reference: _floating_ui_dom0.ReferenceElement;
224
+ }, {}, {}, {}, string, vue1173.ComponentProvideOptions, false, {}, any>;
225
225
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
226
226
  declare const _default: typeof __VLS_export;
227
227
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
- import * as vue544 from "vue";
1
+ import * as vue1163 from "vue";
2
2
 
3
3
  //#region src/components/popper/popper-root.vue.d.ts
4
4
  declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_1) => any;
7
7
  };
8
- declare const __VLS_base: vue544.DefineComponent<{}, {}, {}, {}, {}, vue544.ComponentOptionsMixin, vue544.ComponentOptionsMixin, {}, string, vue544.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue544.ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_base: vue1163.DefineComponent<{}, {}, {}, {}, {}, vue1163.ComponentOptionsMixin, vue1163.ComponentOptionsMixin, {}, string, vue1163.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1163.ComponentProvideOptions, true, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
10
  declare const _default: typeof __VLS_export;
11
11
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/vue";const c={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`},l={start:`0%`,center:`50%`,end:`100%`},u={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function d(e){return{name:`transformOrigin`,options:e,fn(t){let{placement:n,rects:r,middlewareData:i}=t,a=i.arrow?.centerOffset!==0,o=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[c,d]=f(n),p=l[d],m=(i.arrow?.x??0)+o/2,h=(i.arrow?.y??0)+s/2,g=u[c],_={isArrowHidden:a,noArrowAlign:p,arrowXCenter:m,arrowYCenter:h,arrowHeight:s,floatingWidth:r.floating.width,floatingHeight:r.floating.height};return{data:{x:g.getX(_),y:g.getY(_)}}}}}function f(e){let[t,n=`center`]=e.split(`-`);return[t,n]}function p(e,t){let n=e;return t!==`center`&&(n+=`-${t}`),n}function m(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}function h(e,l,u,f){let p=g(e);return[a({mainAxis:(e.sideOffset??0)+f,alignmentAxis:e.alignOffset}),e.prioritizePosition&&e.avoidCollisions&&n({...p}),e.avoidCollisions&&o({...p,mainAxis:!0,crossAxis:!!e.prioritizePosition,limiter:e.sticky===`partial`?i():void 0}),!e.prioritizePosition&&e.avoidCollisions&&n({...p}),s({...p,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference,o=e.floating.style;o.setProperty(c.availableWidth,`${n}px`),o.setProperty(c.availableHeight,`${r}px`),o.setProperty(c.anchorWidth,`${i}px`),o.setProperty(c.anchorHeight,`${a}px`)}}),l&&t({element:l,padding:e.arrowPadding}),d({arrowWidth:u,arrowHeight:f}),e.hideWhenDetached&&r({strategy:`referenceHidden`,...p})].filter(Boolean)}function g(t){let n=typeof t.collisionPadding==`number`?t.collisionPadding:{top:0,right:0,bottom:0,left:0,...t.collisionPadding},r=Array.isArray(t.collisionBoundary)?t.collisionBoundary:[t.collisionBoundary],i=r.length>0;return{mainAxis:t.sideFlip,crossAxis:t.alignFlip,padding:n,boundary:r.filter(t=>!e(t)),altBoundary:i}}export{m as createPopperContentPropsDefaultValue,h as getFloatingUIMiddleware,p as getPlacementFromSideAndAlign,f as getSideAndAlignFromPlacement,c as popperCssVars};
1
+ import{isNullish as e}from"../../shared/guard.js";import{arrow as t,flip as n,hide as r,limitShift as i,offset as a,shift as o,size as s}from"@floating-ui/dom";import{getAlignment as c,getSide as l}from"@floating-ui/utils";const u={transformOrigin:`--soybean-popper-transform-origin`,availableWidth:`--soybean-popper-available-width`,availableHeight:`--soybean-popper-available-height`,anchorWidth:`--soybean-popper-anchor-width`,anchorHeight:`--soybean-popper-anchor-height`};function d(){return{placement:void 0,side:`bottom`,sideOffset:0,sideFlip:!0,align:`center`,alignOffset:0,alignFlip:!0,arrowPadding:0,avoidCollisions:!0,collisionPadding:0,collisionBoundary:()=>[],sticky:`partial`,hideWhenDetached:!1,positionStrategy:`fixed`,updatePositionStrategy:`optimized`,prioritizePosition:!1}}const f={start:`0%`,center:`50%`,end:`100%`},p={bottom:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({arrowHeight:e})=>`${-e}px`},top:{getX:({isArrowHidden:e,noArrowAlign:t,arrowXCenter:n})=>e?t:`${n}px`,getY:({floatingHeight:e,arrowHeight:t})=>`${e+t}px`},right:{getX:({arrowHeight:e})=>`${-e}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`},left:{getX:({floatingWidth:e,arrowHeight:t})=>`${e+t}px`,getY:({isArrowHidden:e,noArrowAlign:t,arrowYCenter:n})=>e?t:`${n}px`}};function m(e,d){let{sideOffset:m=0,alignOffset:g=0,sideFlip:_,alignFlip:v,prioritizePosition:y,sticky:b,avoidCollisions:x,arrowPadding:S,hideWhenDetached:C}=e,w=h(e),T=[a(()=>({mainAxis:m+(d?.clientHeight??0),crossAxis:g,alignmentAxis:g}))];if(x){let e=[o({mainAxis:!0,crossAxis:!!y,limiter:b===`partial`?i():void 0,...w})],t=n({mainAxis:_,crossAxis:v,...w});y?e.unshift(t):e.push(t),T.push(...e)}return T.push(s({...w,apply:({elements:{floating:e},rects:t,availableWidth:n,availableHeight:r})=>{let{width:i,height:a}=t.reference;e.style.setProperty(u.availableWidth,`${n}px`),e.style.setProperty(u.availableHeight,`${r}px`),e.style.setProperty(u.anchorWidth,`${i}px`),e.style.setProperty(u.anchorHeight,`${a}px`)}})),d&&T.push(t({element:d,padding:S}),{name:`transformOrigin`,fn(e){let{placement:t,rects:n,middlewareData:r}=e,i=r.arrow?.centerOffset!==0,{width:a,height:o}=d.getBoundingClientRect(),s=i?0:a,u=i?0:o,m=l(t),h=f[c(t)??`center`],g=(r.arrow?.x??0)+s/2,_=(r.arrow?.y??0)+u/2,v=p[m],y={isArrowHidden:i,noArrowAlign:h,arrowXCenter:g,arrowYCenter:_,arrowHeight:o,floatingWidth:n.floating.width,floatingHeight:n.floating.height};return{data:{x:v.getX(y),y:v.getY(y)}}}}),C&&T.push(r({strategy:`referenceHidden`,...w})),T.filter(Boolean)}function h(t){let{collisionPadding:n,collisionBoundary:r}=t,i={top:1,right:1,bottom:1,left:1};typeof n==`number`?(i.top+=n,i.right+=n,i.bottom+=n,i.left+=n):n&&(i.top+=n.top??0,i.right+=n.right??0,i.bottom+=n.bottom??0,i.left+=n.left??0);let a=Array.isArray(r)?r:[r],o=a.length>0;return{padding:i,boundary:a.filter(t=>!e(t)),altBoundary:o}}function g(e,t){let n=e;return t!==`center`&&(n+=`-${t}`),n}export{d as createPopperPositionerDefaultProps,m as getFloatingUiMiddleware,g as getPlacement,u as popperCssVars};
@@ -1,9 +1,8 @@
1
- import { Align, Placement, Side } from "../../types/common.js";
1
+ import { Align, ClassValue, Placement as Placement$1 } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { PrimitiveProps } from "../primitive/types.js";
4
- import { ArrowProps } from "../arrow/types.js";
5
4
  import { ComputedRef, HTMLAttributes } from "vue";
6
- import { ReferenceElement } from "@floating-ui/vue";
5
+ import { Padding, ReferenceElement, Side } from "@floating-ui/dom";
7
6
 
8
7
  //#region src/components/popper/types.d.ts
9
8
  interface PopperAnchorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
@@ -13,13 +12,7 @@ interface PopperAnchorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttrib
13
12
  */
14
13
  reference?: ReferenceElement;
15
14
  }
16
- interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
17
- /**
18
- * The function to set the floating element.
19
- *
20
- * @param el - The floating element.
21
- */
22
- floatingRef?: (el: HTMLElement) => void;
15
+ interface PopperPositionerProps extends /** @vue-ignore */HTMLAttributes {
23
16
  /**
24
17
  * The placement of the floating element.
25
18
  *
@@ -27,7 +20,7 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
27
20
  *
28
21
  * @defaultValue undefined
29
22
  */
30
- placement?: Placement;
23
+ placement?: Placement$1;
31
24
  /**
32
25
  * The preferred side of the trigger to render against when open. Will be reversed when collisions occur and
33
26
  * avoidCollisions is enabled.
@@ -85,7 +78,7 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
85
78
  *
86
79
  * @defaultValue 0
87
80
  */
88
- collisionPadding?: number | Partial<Record<Side, number>>;
81
+ collisionPadding?: Padding;
89
82
  /**
90
83
  * The padding between the arrow and the edges of the content. If your content has border-radius, this will prevent it
91
84
  * from overflowing the corners.
@@ -136,10 +129,12 @@ interface PopperContentProps extends /** @vue-ignore */HTMLAttributes {
136
129
  */
137
130
  reference?: ReferenceElement;
138
131
  }
139
- type PopperThemeSlot = 'content' | 'arrow';
140
- type PopperUi = Record<PopperThemeSlot, string>;
132
+ interface PopperPopupProps extends /** @vue-ignore */HTMLAttributes {}
133
+ interface PopperArrowProps extends /** @vue-ignore */HTMLAttributes {}
134
+ type PopperThemeSlot = 'positioner' | 'popup' | 'arrow';
135
+ type PopperUi = Partial<Record<PopperThemeSlot, ClassValue>>;
141
136
  interface PopperThemeContextParams {
142
137
  ui: ComputedRef<PopperUi>;
143
138
  }
144
139
  //#endregion
145
- export { PopperAnchorProps, PopperContentProps, PopperThemeContextParams, PopperThemeSlot, PopperUi };
140
+ export { PopperAnchorProps, PopperArrowProps, PopperPopupProps, PopperPositionerProps, PopperThemeContextParams, PopperThemeSlot, PopperUi };
@@ -1,14 +1,14 @@
1
1
  import { PortalProps } from "./types.js";
2
- import * as vue32 from "vue";
2
+ import * as vue33 from "vue";
3
3
 
4
4
  //#region src/components/portal/portal.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue32.DefineComponent<PortalProps, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue33.DefineComponent<PortalProps, {}, {}, {}, {}, vue33.ComponentOptionsMixin, vue33.ComponentOptionsMixin, {}, string, vue33.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
10
10
  to: string | HTMLElement;
11
- }, {}, {}, {}, string, vue32.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue33.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { PrimitiveProps } from "./types.js";
2
- import * as vue25 from "vue";
2
+ import * as vue0 from "vue";
3
3
 
4
4
  //#region src/components/primitive/primitive.d.ts
5
- declare const Primitive: vue25.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue25.PublicProps>;
5
+ declare const Primitive: vue0.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue0.PublicProps>;
6
6
  //#endregion
7
7
  export { Primitive };
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupControlProps } from "./types.js";
2
- import * as vue1172 from "vue";
2
+ import * as vue724 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-control.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -10,7 +10,7 @@ declare var __VLS_8: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue1172.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue1172.ComponentOptionsMixin, vue1172.ComponentOptionsMixin, {}, string, vue1172.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1172.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue724.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue724.ComponentOptionsMixin, vue724.ComponentOptionsMixin, {}, string, vue724.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue724.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { RadioGroupIndicatorProps } from "./types.js";
4
- import * as vue1166 from "vue";
4
+ import * as vue729 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: vue1166.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue1166.ComponentOptionsMixin, vue1166.ComponentOptionsMixin, {}, string, vue1166.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue1166.Component;
13
- }, {}, {}, {}, string, vue1166.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue729.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue729.ComponentOptionsMixin, vue729.ComponentOptionsMixin, {}, string, vue729.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue729.Component;
13
+ }, {}, {}, {}, string, vue729.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 vue1159 from "vue";
2
+ import * as vue719 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: vue1159.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue1159.ComponentOptionsMixin, vue1159.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue719.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue719.ComponentOptionsMixin, vue719.ComponentOptionsMixin, {
12
12
  select: (event: RadioSelectEvent) => any;
13
- }, string, vue1159.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
13
+ }, string, vue719.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
14
14
  onSelect?: ((event: RadioSelectEvent) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue1159.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue719.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 vue1177 from "vue";
3
+ import * as vue735 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: vue1177.DefineComponent<LabelProps, {}, {}, {}, {}, vue1177.ComponentOptionsMixin, vue1177.ComponentOptionsMixin, {}, string, vue1177.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1177.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue735.DefineComponent<LabelProps, {}, {}, {}, {}, vue735.ComponentOptionsMixin, vue735.ComponentOptionsMixin, {}, string, vue735.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue735.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,13 +1,13 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { RadioGroupRootProps } from "./types.js";
4
- import * as vue1164 from "vue";
4
+ import * as vue717 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: __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue717.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
- }> & vue1164.PublicProps & (typeof globalThis extends {
10
+ }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
12
12
  } ? P : {});
13
13
  expose: (exposed: {}) => void;
@@ -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
- }>) => vue1164.VNode & {
21
+ }>) => vue717.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 vue389 from "vue";
6
+ import * as vue1770 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: vue389.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue1770.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue389.ComponentOptionsMixin, vue389.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue1770.ComponentOptionsMixin, vue1770.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue389.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue1770.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, vue389.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue1770.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 vue394 from "vue";
2
+ import * as vue1775 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: vue394.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue394.ComponentOptionsMixin, vue394.ComponentOptionsMixin, {}, string, vue394.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue1775.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue1775.ComponentOptionsMixin, vue1775.ComponentOptionsMixin, {}, string, vue1775.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
10
10
  focusable: boolean;
11
- }, {}, {}, {}, string, vue394.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue1775.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{provideArrowThemeContext as o}from"../arrow/context.js";import{computed as s,ref as c,shallowRef as l,useId as u}from"vue";const[d,f]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=s(()=>t(n.value)),o=a(e.dir),d=l(``),f=()=>{d.value||=`soybean-select-content-${u()}`},p=l(),m=e=>{p.value=e},h=l(),g=e=>{h.value=e},_=c(new Set),v=s(()=>Array.from(_.value)),y=s(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=l({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:o,contentId:d,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:p,useCollectionContext:m,useCollectionItem:h}=i(`Select`),[g,_]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i}=t,a=l(!1),o=l(),s=e=>{o.value=e},c=l(),u=e=>{c.value=e},d=!1,f=!1,p=l(),m=(t,n,i)=>{let a=!d&&!i;(e(r.value,n)||a)&&(p.value=t)},h=l(),g=(t,n,a)=>{let o=!d&&!a,s=e(r.value,n);if(i.value){if(f)return;(s||o)&&(h.value=t,s&&(f=!0))}else (s||o)&&(h.value=t);o&&(d=!0)},_=()=>{o.value?.focus()};function v(){!h.value||!o.value||n([h.value,o.value])}return{...t,isPositioned:a,contentElement:o,onContentElementChange:s,viewportElement:c,onViewportElementChange:u,selectedItemElement:h,onSelectedItemElementChange:g,onItemElementLeave:_,selectedItemTextElement:p,onSelectedItemTextElementChange:m,focusSelectedItem:v}}),[v,y]=r(`SelectGroup`,()=>{let e=l(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${u()}`}}}),[b,x]=r(`SelectItem`,e=>{let t=l(e.textValue.value??``),n=l(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=l(``),a=()=>{i.value||=`soybean-select-item-text-${u()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[S,C]=r(`SelectItemAlignedPosition`,e=>e),[w,T]=r(`SelectTheme`,e=>(o(s(()=>e.ui.value.arrow)),e));export{p as provideCollectionContext,g as provideSelectContentContext,v as provideSelectGroupContext,S as provideSelectItemAlignedPositionContext,b as provideSelectItemContext,d as provideSelectRootContext,w as provideSelectThemeContext,m as useCollectionContext,h as useCollectionItem,_ as useSelectContentContext,y as useSelectGroupContext,C as useSelectItemAlignedPositionContext,x as useSelectItemContext,f as useSelectRootContext,T as useSelectThemeContext};
1
+ import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{computed as o,ref as s,shallowRef as c,useId as l}from"vue";const[u,d]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=o(()=>t(n.value)),u=a(e.dir),d=c(``),f=()=>{d.value||=`soybean-select-content-${l()}`},p=c(),m=e=>{p.value=e},h=c(),g=e=>{h.value=e},_=s(new Set),v=o(()=>Array.from(_.value)),y=o(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=c({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:u,contentId:d,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:f,useCollectionContext:p,useCollectionItem:m}=i(`Select`),[h,g]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=c(!1),s=c(),l=e=>{s.value=e},u=!1,d=!1,f=c(),p=(t,n,i)=>{let a=!u&&!i;(e(r.value,n)||a)&&(f.value=t)},m=c(),h=(t,n,a)=>{let o=!u&&!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&&(u=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:l,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[_,v]=r(`SelectGroup`,()=>{let e=c(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${l()}`}}}),[y,b]=r(`SelectItem`,e=>{let t=c(e.textValue.value??``),n=c(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=c(``),a=()=>{i.value||=`soybean-select-item-text-${l()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[x,S]=r(`SelectPopupElement`,()=>{let e=c();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[C,w]=r(`SelectItemAlignedPosition`,e=>e),[T,E]=r(`SelectTheme`,e=>e);export{f as provideCollectionContext,h as provideSelectContentContext,_ as provideSelectGroupContext,C as provideSelectItemAlignedPositionContext,y as provideSelectItemContext,x as provideSelectPopupElementContext,u as provideSelectRootContext,T as provideSelectThemeContext,p as useCollectionContext,m as useCollectionItem,g as useSelectContentContext,v as useSelectGroupContext,w as useSelectItemAlignedPositionContext,b as useSelectItemContext,S as useSelectPopupElementContext,d as useSelectRootContext,E as useSelectThemeContext};
@@ -1,7 +1,7 @@
1
1
  import { PortalProps } from "../portal/types.js";
2
2
  import { _default as _default$7 } from "../portal/portal.vue.js";
3
- import { ArrowProps } from "../arrow/types.js";
4
- import { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps } from "./types.js";
3
+ import { PopperArrowProps } from "../popper/types.js";
4
+ import { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPopupProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectThemeSlot, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectValueProps, SelectViewportProps } from "./types.js";
5
5
  import { _default as _default$8 } from "./select-root.vue.js";
6
6
  import { _default as _default$1 } from "./select-content.vue.js";
7
7
  import { _default as _default$15 } from "./select-viewport.vue.js";
@@ -18,4 +18,4 @@ import { _default } from "./select-arrow.vue.js";
18
18
  import { _default as _default$10 } from "./select-scroll-up-button.vue.js";
19
19
  import { _default as _default$9 } from "./select-scroll-down-button.vue.js";
20
20
  import { provideSelectThemeContext } from "./context.js";
21
- export { _default as SelectArrow, type ArrowProps as SelectArrowProps, _default$1 as SelectContent, type SelectContentEmits, type SelectContentProps, _default$2 as SelectGroup, _default$3 as SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, _default$4 as SelectItem, type SelectItemEmits, type SelectItemEvent, _default$5 as SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, _default$6 as SelectItemText, type SelectItemTextProps, _default$7 as SelectPortal, type PortalProps as SelectPortalProps, type SelectPosition, _default$8 as SelectRoot, type SelectRootEmits, type SelectRootProps, _default$9 as SelectScrollDownButton, type SelectScrollDownButtonProps, _default$10 as SelectScrollUpButton, type SelectScrollUpButtonProps, _default$11 as SelectSeparator, type SelectSeparatorProps, type SelectThemeSlot, _default$12 as SelectTrigger, _default$13 as SelectTriggerIcon, type SelectTriggerIconProps, type SelectTriggerProps, type SelectUi, _default$14 as SelectValue, type SelectValueProps, _default$15 as SelectViewport, type SelectViewportProps, provideSelectThemeContext };
21
+ export { _default as SelectArrow, type PopperArrowProps as SelectArrowProps, _default$1 as SelectContent, type SelectContentEmits, type SelectContentProps, _default$2 as SelectGroup, _default$3 as SelectGroupLabel, type SelectGroupLabelProps, type SelectGroupProps, _default$4 as SelectItem, type SelectItemEmits, type SelectItemEvent, _default$5 as SelectItemIndicator, type SelectItemIndicatorProps, type SelectItemProps, _default$6 as SelectItemText, type SelectItemTextProps, type SelectPopupProps, _default$7 as SelectPortal, type PortalProps as SelectPortalProps, type SelectPosition, _default$8 as SelectRoot, type SelectRootEmits, type SelectRootProps, _default$9 as SelectScrollDownButton, type SelectScrollDownButtonProps, _default$10 as SelectScrollUpButton, type SelectScrollUpButtonProps, _default$11 as SelectSeparator, type SelectSeparatorProps, type SelectThemeSlot, _default$12 as SelectTrigger, _default$13 as SelectTriggerIcon, type SelectTriggerIconProps, type SelectTriggerProps, type SelectUi, _default$14 as SelectValue, type SelectValueProps, _default$15 as SelectViewport, type SelectViewportProps, provideSelectThemeContext };
@@ -1 +1 @@
1
- import e from"../popper/popper-arrow.js";import{useSelectContentContext as t,useSelectRootContext as n}from"./context.js";import{computed as r,createBlock as i,createCommentVNode as a,defineComponent as o,mergeProps as s,normalizeProps as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";var p=o({name:`SelectArrow`,__name:`select-arrow`,props:{width:{},height:{},asChild:{type:Boolean},as:{}},setup(o){let p=o,{open:m}=n(`SelectArrow`),{position:h}=t(`SelectArrow`),g=r(()=>m.value&&h.value===`popper`);return(t,n)=>g.value?(l(),i(d(e),c(s({key:0},p)),{default:f(()=>[u(t.$slots,`default`)]),_:3},16)):a(`v-if`,!0)}});export{p as default};
1
+ import e from"../popper/popper-arrow.js";import{useSelectContentContext as t,useSelectRootContext as n,useSelectThemeContext as r}from"./context.js";import{computed as i,createBlock as a,createCommentVNode as o,defineComponent as s,normalizeClass as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";var p=s({name:`SelectArrow`,__name:`select-arrow`,setup(s){let{open:p}=n(`SelectArrow`),{position:m}=t(`SelectArrow`),h=r(),g=i(()=>h?.ui?.value?.arrow),_=i(()=>p.value&&m.value===`popper`);return(t,n)=>_.value?(l(),a(d(e),{key:0,class:c(g.value)},{default:f(()=>[u(t.$slots,`default`)]),_:3},8,[`class`])):o(`v-if`,!0)}});export{p as default};
@@ -1,13 +1,13 @@
1
- import { ArrowProps } from "../arrow/types.js";
1
+ import { PopperArrowProps } from "../popper/types.js";
2
2
  import "./types.js";
3
- import * as vue254 from "vue";
3
+ import * as vue1606 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: vue254.DefineComponent<ArrowProps, {}, {}, {}, {}, vue254.ComponentOptionsMixin, vue254.ComponentOptionsMixin, {}, string, vue254.PublicProps, Readonly<ArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue254.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue1606.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1606.ComponentOptionsMixin, vue1606.ComponentOptionsMixin, {}, string, vue1606.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1606.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 & {
@@ -0,0 +1 @@
1
+ import e from"../visually-hidden/visually-hidden.js";import{useSelectRootContext as t}from"./context.js";import{createBlock as n,createElementVNode as r,defineComponent as i,mergeProps as a,openBlock as o,ref as s,renderSlot as c,unref as l,watch as u,withCtx as d}from"vue";var f=i({name:`SelectBubbleSelect`,__name:`select-bubble-select`,props:{autocomplete:{},autofocus:{type:Boolean},disabled:{type:Boolean},form:{},multiple:{type:Boolean},name:{},required:{type:Boolean},size:{},value:{}},setup(i){let f=i,{onModelValueChange:p}=t(`SelectBubbleSelect`),m=s(),h=e=>{p(e.target.value)};return u(()=>f.value,(e,t)=>{if(!m.value||e===t)return;let n=window.HTMLSelectElement.prototype,r=Object.getOwnPropertyDescriptor(n,`value`).set;if(!r)return;let i=new Event(`change`,{bubbles:!0});r.call(m.value,e),m.value.dispatchEvent(i)}),(t,i)=>(o(),n(l(e),{"as-child":``},{default:d(()=>[r(`select`,a({ref_key:`selectElement`,ref:m},f,{onInput:h}),[c(t.$slots,`default`)],16)]),_:3}))}});export{f as default};
@@ -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{useExposedElement as i}from"../../composables/use-exposed-element.js";import{useFocusGuards as a}from"../../composables/use-focus-guards.js";import{useFocusScope as o}from"../../composables/use-focus-scope.js";import{useHideOthers as s}from"../../composables/use-hide-others.js";import{useTypeahead as c}from"../../composables/use-typeahead.js";import{provideSelectContentContext as l,useCollectionContext as u,useSelectRootContext as d,useSelectThemeContext as f}from"./context.js";import p from"./select-item-aligned-position.js";import m from"./select-popper-position.js";import{computed as h,createBlock as g,defineComponent as _,mergeProps as v,onWatcherCleanup as y,openBlock as b,renderSlot as x,resolveDynamicComponent as S,unref as C,useAttrs as w,watch as T,watchEffect as E,withCtx as D,withModifiers as O}from"vue";var k=_({name:`SelectContentImpl`,inheritAttrs:!1,__name:`select-content-impl`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},floatingRef:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{default:`start`},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(_,{emit:k}){let A=_,j=k,M=w(),N=f(),P=h(()=>N?.ui?.value?.content),{onOpenChange:F,dataState:I,modelValue:ee,isMultiple:L,dir:R,contentId:z,triggerElement:B,triggerPointerDownPosition:V,resetTriggerPointerDownPosition:H}=d(`SelectContentImpl`),{onContainerElementChange:U,getOrderedItems:W,getOrderedElements:G}=u(`SelectContentImpl`),[K,q]=r(A.floatingRef),{search:J,handleTypeaheadSearch:Y}=c(),{isPositioned:X,focusSelectedItem:Z,onContentElementChange:Q}=l({position:h(()=>A.position),modelValue:ee,isMultiple:L,search:J}),[$,te]=i(e=>{Q(e),U(e)}),{computedStyle:ne,layerProps:re}=n($,{disableOutsidePointerEvents:!0,onEscapeKeyDown:e=>{j(`escapeKeyDown`,e)},onPointerDownOutside:e=>{j(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{F(!1)}}),{onKeydown:ie,focusScopeProps:ae}=o(K,{onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{j(`closeAutoFocus`,e),!e.defaultPrevented&&(B.value?.focus({preventScroll:!0}),e.preventDefault())}}),oe=h(()=>({...M,...re,...ae,...A.position===`popper`?A:{}})),se=t=>{ie(t);let n=t.ctrlKey||t.altKey||t.metaKey;if(t.key===`Tab`&&t.preventDefault(),!n&&t.key.length===1&&Y(t.key,W()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(t.key)){let n=[...G()];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()}},ce=()=>{X.value=!0};return a(),s($),T(X,()=>{Z()}),E(()=>{A.bodyLock&&y(t())}),E(()=>{if(!$.value)return;let e={x:0,y:0},t=t=>{let{x:n,y:r}=V.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():$.value?.contains(n.target)||F(!1),document.removeEventListener(`pointermove`,t),H())};V.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)=>(b(),g(S(_.position===`popper`?m:p),v(oe.value,{id:C(z),ref:C(te),"floating-ref":C(q),class:P.value,role:`listbox`,"data-state":C(I),dir:C(R),style:[{display:`flex`,"flex-direction":`column`,outline:`none`},C(ne)],onContextmenu:t[0]||=O(()=>{},[`prevent`]),onPlaced:ce,onKeydown:se}),{default:D(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`floating-ref`,`class`,`data-state`,`dir`,`style`]))}});export{k 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 o}from"../../composables/use-typeahead.js";import s from"../popper/popper-positioner.js";import{provideSelectContentContext as c,useCollectionContext as l,useSelectPopupElementContext as u,useSelectRootContext as d,useSelectThemeContext as ne}from"./context.js";import{CONTENT_MARGIN as f}from"./shared.js";import re from"./select-popper-popup.js";import ie from"./select-item-aligned-popup.js";import ae from"./select-item-aligned-positioner.js";import{computed as p,createBlock as m,createVNode as h,defineComponent as g,mergeProps as _,normalizeClass 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=g({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:f},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(f,{emit:g}){let D=f,O=g,k=ne(),A=p(()=>k?.ui?.value?.positioner),j=p(()=>k?.ui?.value?.popup),{onOpenChange:M,dataState:N,modelValue:P,isMultiple:F,dir:I,contentId:L,triggerElement:R,triggerPointerDownPosition:z,resetTriggerPointerDownPosition:B}=d(`SelectContentImpl`),{onPopupElementChange:V}=u(`SelectContentImpl`),{onContainerElementChange:H,getOrderedItems:U,getOrderedElements:W}=l(`SelectContentImpl`),[G,K]=r(),[q,J]=r(e=>{V(e),H(e)}),{search:oe,handleTypeaheadSearch:se}=o(),{pointerEvents:ce}=n(G,{disableOutsidePointerEvents:!0,onEscapeKeyDown:e=>{O(`escapeKeyDown`,e)},onPointerDownOutside:e=>{O(`pointerDownOutside`,e)},onFocusOutside:e=>{e.preventDefault()},onDismiss:()=>{M(!1)}}),{onKeydown:le}=te(G,{onOpenAutoFocus:e=>{e.preventDefault()},onCloseAutoFocus:e=>{O(`closeAutoFocus`,e),!e.defaultPrevented&&(R.value?.focus({preventScroll:!0}),e.preventDefault())}}),{isPositioned:Y,focusSelectedItem:X}=c({position:p(()=>D.position),modelValue:P,isMultiple:F,search:oe,popupElement:q}),ue=a(D,[`position`,`bodyLock`,`popupProps`]),Z=p(()=>({display:`flex`,flexDirection:`column`,outline:`none`,pointerEvents:ce.value})),Q=t=>{le(t);let n=t.ctrlKey||t.altKey||t.metaKey;if(t.key===`Tab`&&t.preventDefault(),!n&&t.key.length===1&&se(t.key,U()),[`ArrowUp`,`ArrowDown`,`Home`,`End`].includes(t.key)){let n=[...W()];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()}},$=()=>{Y.value=!0};return ee(),i(q),C(Y,()=>{X()}),w(()=>{D.bodyLock&&y(t())}),w(()=>{if(!q.value)return;let e={x:0,y:0},t=t=>{let{x:n,y:r}=z.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():q.value?.contains(n.target)||M(!1),document.removeEventListener(`pointermove`,t),B())};z.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)=>f.position===`popper`?(b(),m(S(s),_({key:0,ref:S(K)},S(ue),{class:A.value,onContextmenu:t[0]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q}),{default:T(()=>[h(re,_({id:S(L),ref:S(J)},f.popupProps,{class:j.value,"data-dismissable-layer":``,"data-state":S(N),dir:S(I),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`class`,`data-state`,`dir`,`style`])]),_:3},16,[`class`])):(b(),m(ae,{key:1,ref:S(K),class:v(A.value),onContextmenu:t[1]||=E(()=>{},[`prevent`]),onPlaced:$,onKeydown:Q},{default:T(()=>[h(ie,_({id:S(L),ref:S(J)},f.popupProps,{class:j.value,"data-dismissable-layer":``,"data-state":S(N),dir:S(I),role:`listbox`,tabindex:`-1`,style:Z.value}),{default:T(()=>[x(e.$slots,`default`)]),_:3},16,[`id`,`class`,`data-state`,`dir`,`style`])]),_:3},8,[`class`]))}});export{D as default};
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useForwardListeners as t}from"../../composables/use-forward-listeners.js";import{usePresence as n}from"../../composables/use-presence.js";import{useOmitProps as r}from"../../composables/use-props.js";import{useSelectRootContext as i}from"./context.js";import a from"./select-content-impl.js";import o from"./select-teleport-provider.js";import{Teleport as s,createBlock as c,createCommentVNode as l,createElementBlock as u,createVNode as d,defineComponent as f,mergeProps as p,onMounted as m,openBlock as h,ref as g,renderSlot as _,shallowRef as v,toHandlers as y,unref as b,useAttrs as x,withCtx as S}from"vue";const C={key:1};var w=f({name:`SelectContent`,inheritAttrs:!1,__name:`select-content`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},floatingRef:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(f,{emit:w}){let T=f,E=w,D=r(T,[`forceMount`],x()),O=t(E),{open:k}=i(`SelectContent`),[A,j]=e(),M=T.forceMount?v(!0):n(A,k),N=g();return m(()=>{N.value=new DocumentFragment}),(e,t)=>b(M)?(h(),c(a,p({key:0,ref:b(j)},b(D),y(b(O))),{default:S(()=>[_(e.$slots,`default`)]),_:3},16)):N.value?(h(),u(`div`,C,[(h(),c(s,{to:N.value},[d(o,{position:f.position},{default:S(()=>[_(e.$slots,`default`)]),_:3},8,[`position`])],8,[`to`]))])):l(`v-if`,!0)}});export{w as default};
1
+ import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{usePresence as t}from"../../composables/use-presence.js";import{useOmitProps as n}from"../../composables/use-props.js";import{provideSelectPopupElementContext as r,useSelectRootContext as i}from"./context.js";import a from"./select-content-impl.js";import o from"./select-teleport-provider.js";import{Teleport as s,createBlock as c,createCommentVNode as l,createElementBlock as u,createVNode as d,defineComponent as f,mergeProps as p,onMounted as m,openBlock as h,ref as g,renderSlot as _,shallowRef as v,toHandlers as y,unref as b,useAttrs as x,withCtx as S}from"vue";const C={key:1};var w=f({name:`SelectContent`,inheritAttrs:!1,__name:`select-content`,props:{position:{default:`popper`},bodyLock:{type:Boolean,default:!0},popupProps:{},placement:{},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean,default:!0},reference:{},forceMount:{type:Boolean}},emits:[`closeAutoFocus`,`escapeKeyDown`,`pointerDownOutside`],setup(f,{emit:w}){let T=f,E=w,D=n(T,[`forceMount`],x()),O=e(E),{open:k}=i(`SelectContent`),{popupElement:A}=r(),j=T.forceMount?v(!0):t(A,k),M=g();return m(()=>{M.value=new DocumentFragment}),(e,t)=>b(j)?(h(),c(a,p({key:0},b(D),y(b(O))),{default:S(()=>[_(e.$slots,`default`)]),_:3},16)):M.value?(h(),u(`div`,C,[(h(),c(s,{to:M.value},[d(o,{position:f.position,"popup-element":b(A)},{default:S(()=>[_(e.$slots,`default`)]),_:3},8,[`position`,`popup-element`])],8,[`to`]))])):l(`v-if`,!0)}});export{w as default};
@@ -1,29 +1,29 @@
1
1
  import { PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { SelectContentProps, SelectPosition } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue84 from "vue";
4
+ import * as vue1549 from "vue";
5
5
 
6
6
  //#region src/components/select/select-content.vue.d.ts
7
- declare var __VLS_7: {}, __VLS_20: {};
7
+ declare var __VLS_8: {}, __VLS_22: {};
8
8
  type __VLS_Slots = {} & {
9
- default?: (props: typeof __VLS_7) => any;
9
+ default?: (props: typeof __VLS_8) => any;
10
10
  } & {
11
- default?: (props: typeof __VLS_20) => any;
11
+ default?: (props: typeof __VLS_22) => any;
12
12
  };
13
- declare const __VLS_base: vue84.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue84.ComponentOptionsMixin, vue84.ComponentOptionsMixin, {
14
- closeAutoFocus: (event: Event) => any;
13
+ declare const __VLS_base: vue1549.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue1549.ComponentOptionsMixin, vue1549.ComponentOptionsMixin, {
15
14
  escapeKeyDown: (event: KeyboardEvent) => any;
16
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
17
- }, string, vue84.PublicProps, Readonly<SelectContentProps> & Readonly<{
18
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
16
+ closeAutoFocus: (event: Event) => any;
17
+ }, string, vue1549.PublicProps, Readonly<SelectContentProps> & Readonly<{
19
18
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
19
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
20
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
21
21
  }>, {
22
- position: SelectPosition;
23
- bodyLock: boolean;
24
22
  avoidCollisions: boolean;
25
23
  prioritizePosition: boolean;
26
- }, {}, {}, {}, string, vue84.ComponentProvideOptions, false, {}, any>;
24
+ position: SelectPosition;
25
+ bodyLock: boolean;
26
+ }, {}, {}, {}, string, vue1549.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 vue72 from "vue";
2
+ import * as vue1580 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: vue72.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue72.ComponentOptionsMixin, vue72.ComponentOptionsMixin, {}, string, vue72.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue72.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1580.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue1580.ComponentOptionsMixin, vue1580.ComponentOptionsMixin, {}, string, vue1580.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1580.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 vue62 from "vue";
2
+ import * as vue1575 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: vue62.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue62.ComponentOptionsMixin, vue62.ComponentOptionsMixin, {}, string, vue62.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue62.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1575.DefineComponent<SelectGroupProps, {}, {}, {}, {}, vue1575.ComponentOptionsMixin, vue1575.ComponentOptionsMixin, {}, string, vue1575.PublicProps, Readonly<SelectGroupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1575.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 & {