@soybeanjs/headless 0.0.19 → 0.1.0

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 (317) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  12. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  13. package/dist/components/alert/context.d.ts +2 -2
  14. package/dist/components/alert/index.d.ts +1 -1
  15. package/dist/components/alert/index.js +1 -1
  16. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  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/alert-dialog/index.d.ts +5 -5
  20. package/dist/components/alert-dialog/index.js +1 -1
  21. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  22. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  23. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  24. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  25. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  26. package/dist/components/avatar/context.d.ts +2 -2
  27. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  28. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  29. package/dist/components/badge/context.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  33. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +7 -3
  34. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  37. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  38. package/dist/components/breadcrumb/context.d.ts +2 -2
  39. package/dist/components/breadcrumb/index.d.ts +1 -1
  40. package/dist/components/breadcrumb/index.js +1 -1
  41. package/dist/components/button/button.vue.d.ts +5 -5
  42. package/dist/components/card/card-content.vue.d.ts +2 -2
  43. package/dist/components/card/card-description.vue.d.ts +2 -2
  44. package/dist/components/card/card-footer.vue.d.ts +2 -2
  45. package/dist/components/card/card-header.vue.d.ts +2 -2
  46. package/dist/components/card/card-root.vue.d.ts +2 -2
  47. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  48. package/dist/components/card/card-title.vue.d.ts +2 -2
  49. package/dist/components/card/context.d.ts +2 -2
  50. package/dist/components/card/index.d.ts +3 -3
  51. package/dist/components/card/index.js +1 -1
  52. package/dist/components/checkbox/checkbox-control.js +1 -1
  53. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  54. package/dist/components/checkbox/checkbox-group-root.js +1 -1
  55. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  56. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  57. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  58. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  59. package/dist/components/checkbox/context.d.ts +2 -2
  60. package/dist/components/checkbox/index.d.ts +1 -1
  61. package/dist/components/checkbox/index.js +1 -1
  62. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  63. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  64. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  65. package/dist/components/collapsible/context.d.ts +2 -2
  66. package/dist/components/config-provider/config-provider.js +1 -1
  67. package/dist/components/config-provider/config-provider.vue.d.ts +4 -6
  68. package/dist/components/config-provider/context.js +1 -1
  69. package/dist/components/config-provider/types.d.ts +1 -9
  70. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  71. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  72. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  73. package/dist/components/context-menu/context.js +1 -1
  74. package/dist/components/context-menu/index.d.ts +9 -9
  75. package/dist/components/context-menu/index.js +1 -1
  76. package/dist/components/dialog/context.d.ts +2 -2
  77. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  78. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  79. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  80. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  81. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  82. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  83. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  84. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  85. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  86. package/dist/components/dialog/index.d.ts +3 -3
  87. package/dist/components/dialog/index.js +1 -1
  88. package/dist/components/dropdown-menu/context.js +1 -1
  89. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  90. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
  91. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  92. package/dist/components/dropdown-menu/index.d.ts +8 -8
  93. package/dist/components/dropdown-menu/index.js +1 -1
  94. package/dist/components/form/context.d.ts +2 -2
  95. package/dist/components/form/form-description.vue.d.ts +2 -2
  96. package/dist/components/form/form-error.vue.d.ts +2 -2
  97. package/dist/components/form/form-field.vue.d.ts +2 -2
  98. package/dist/components/form/form-label.vue.d.ts +2 -2
  99. package/dist/components/input/context.d.ts +2 -2
  100. package/dist/components/input/input-control.vue.d.ts +2 -2
  101. package/dist/components/input/input-root.vue.d.ts +4 -4
  102. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  103. package/dist/components/label/label.vue.d.ts +2 -2
  104. package/dist/components/layout/context.d.ts +2 -2
  105. package/dist/components/layout/index.d.ts +3 -3
  106. package/dist/components/layout/index.js +1 -1
  107. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  108. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  109. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  110. package/dist/components/layout/layout-mobile.js +1 -1
  111. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  112. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  113. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  114. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  115. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  116. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  117. package/dist/components/link/link.js +1 -1
  118. package/dist/components/link/link.vue.d.ts +11 -12
  119. package/dist/components/list/context.d.ts +2 -2
  120. package/dist/components/list/index.d.ts +1 -1
  121. package/dist/components/list/index.js +1 -1
  122. package/dist/components/list/list-content.vue.d.ts +2 -2
  123. package/dist/components/list/list-description.vue.d.ts +2 -2
  124. package/dist/components/list/list-item.vue.d.ts +2 -2
  125. package/dist/components/list/list-root.vue.d.ts +2 -2
  126. package/dist/components/list/list-title.vue.d.ts +2 -2
  127. package/dist/components/listbox/context.d.ts +2 -2
  128. package/dist/components/listbox/context.js +1 -1
  129. package/dist/components/listbox/index.d.ts +3 -3
  130. package/dist/components/listbox/index.js +1 -1
  131. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  132. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  133. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  134. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  135. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  136. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  137. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  138. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  139. package/dist/components/menu/context.d.ts +2 -2
  140. package/dist/components/menu/context.js +1 -1
  141. package/dist/components/menu/index.d.ts +10 -10
  142. package/dist/components/menu/index.js +1 -1
  143. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  144. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  145. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  146. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  147. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  148. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  149. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  150. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  151. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  152. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  153. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  154. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  155. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  156. package/dist/components/navigation-menu/context.d.ts +2 -2
  157. package/dist/components/navigation-menu/context.js +1 -1
  158. package/dist/components/navigation-menu/index.d.ts +3 -3
  159. package/dist/components/navigation-menu/index.js +1 -1
  160. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  161. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  162. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  163. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  164. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -4
  165. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  166. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  167. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  168. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  169. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  170. package/dist/components/number-input/context.d.ts +2 -2
  171. package/dist/components/number-input/context.js +1 -1
  172. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  173. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  174. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  175. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  176. package/dist/components/pagination/context.d.ts +2 -2
  177. package/dist/components/pagination/index.d.ts +1 -1
  178. package/dist/components/pagination/index.js +1 -1
  179. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  180. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  181. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  182. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  183. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  184. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  185. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  186. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  187. package/dist/components/popover/index.d.ts +2 -2
  188. package/dist/components/popover/index.js +1 -1
  189. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  190. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  191. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  192. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  193. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  194. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  195. package/dist/components/popper/context.d.ts +2 -2
  196. package/dist/components/popper/index.js +1 -1
  197. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  198. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  199. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  200. package/dist/components/popper/popper-positioner.vue.d.ts +14 -14
  201. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  202. package/dist/components/portal/portal.vue.d.ts +3 -3
  203. package/dist/components/primitive/primitive.d.ts +2 -2
  204. package/dist/components/radio-group/context.d.ts +2 -2
  205. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  206. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  207. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  208. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  209. package/dist/components/radio-group/radio-group-root.js +1 -1
  210. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  211. package/dist/components/roving-focus/context.js +1 -1
  212. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  213. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  214. package/dist/components/select/context.d.ts +2 -2
  215. package/dist/components/select/context.js +1 -1
  216. package/dist/components/select/index.d.ts +6 -6
  217. package/dist/components/select/index.js +1 -1
  218. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  219. package/dist/components/select/select-content.vue.d.ts +6 -6
  220. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  221. package/dist/components/select/select-group.vue.d.ts +2 -2
  222. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  223. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  224. package/dist/components/select/select-item.vue.d.ts +4 -4
  225. package/dist/components/select/select-root.vue.d.ts +5 -5
  226. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  227. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  228. package/dist/components/select/select-separator.vue.d.ts +2 -2
  229. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  230. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  231. package/dist/components/select/select-value.vue.d.ts +3 -3
  232. package/dist/components/select/select-viewport.js +1 -1
  233. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  234. package/dist/components/separator/context.d.ts +2 -2
  235. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  236. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  237. package/dist/components/slot/slot.d.ts +2 -2
  238. package/dist/components/switch/context.d.ts +2 -2
  239. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  240. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  241. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  242. package/dist/components/tabs/context.d.ts +2 -2
  243. package/dist/components/tabs/context.js +1 -1
  244. package/dist/components/tabs/index.d.ts +2 -2
  245. package/dist/components/tabs/index.js +1 -1
  246. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  247. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  248. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  249. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  250. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  251. package/dist/components/tag/tag.vue.d.ts +4 -4
  252. package/dist/components/textarea/context.d.ts +2 -2
  253. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  254. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  255. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  256. package/dist/components/toast/index.d.ts +1 -1
  257. package/dist/components/toast/index.js +1 -1
  258. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  259. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  260. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  261. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  262. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  263. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  264. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  265. package/dist/components/tooltip/index.d.ts +1 -1
  266. package/dist/components/tooltip/index.js +1 -1
  267. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  268. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  269. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  270. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  271. package/dist/components/tree/context.js +1 -1
  272. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  273. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  274. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  275. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  276. package/dist/components/tree-menu/context.d.ts +2 -2
  277. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  278. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  279. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  280. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  281. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  282. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  283. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  284. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  285. package/dist/components/virtualizer/index.d.ts +2 -2
  286. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  287. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  288. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  289. package/dist/components/visually-hidden/types.d.ts +3 -3
  290. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +6 -14
  291. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  292. package/dist/composables/index.d.ts +1 -4
  293. package/dist/composables/index.js +1 -1
  294. package/dist/composables/use-collection.d.ts +6 -6
  295. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  296. package/dist/composables/use-exposed-element.d.ts +2 -2
  297. package/dist/composables/use-forward-element.d.ts +2 -2
  298. package/dist/composables/use-image-loading-status.d.ts +2 -2
  299. package/dist/composables/use-kbd.d.ts +2 -2
  300. package/dist/composables/use-presence.d.ts +2 -2
  301. package/dist/composables/use-props.d.ts +3 -3
  302. package/dist/composables/use-selection.d.ts +4 -4
  303. package/dist/constants/components.d.ts +2 -1
  304. package/dist/constants/components.js +1 -1
  305. package/dist/index.d.ts +47 -47
  306. package/dist/index.js +1 -1
  307. package/dist/namespaced/index.d.ts +407 -388
  308. package/dist/namespaced/index.js +1 -1
  309. package/dist/types/common.d.ts +1 -9
  310. package/dist/types/index.d.ts +1 -1
  311. package/package.json +3 -3
  312. package/dist/composables/use-direction.d.ts +0 -9
  313. package/dist/composables/use-direction.js +0 -1
  314. package/dist/composables/use-locale.d.ts +0 -7
  315. package/dist/composables/use-locale.js +0 -1
  316. package/dist/composables/use-nonce.d.ts +0 -7
  317. package/dist/composables/use-nonce.js +0 -1
@@ -1,5 +1,5 @@
1
1
  import { PopoverRootProps } from "./types.js";
2
- import * as vue781 from "vue";
2
+ import * as vue1483 from "vue";
3
3
 
4
4
  //#region src/components/popover/popover-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -9,15 +9,15 @@ declare var __VLS_8: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_8) => any;
11
11
  };
12
- declare const __VLS_base: vue781.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue781.ComponentOptionsMixin, vue781.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1483.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1483.ComponentOptionsMixin, vue1483.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue781.PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ }, string, vue1483.PublicProps, Readonly<PopoverRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
18
  defaultOpen: boolean;
19
19
  modal: boolean;
20
- }, {}, {}, {}, string, vue781.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue1483.ComponentProvideOptions, false, {}, any>;
21
21
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
22
  declare const _default: typeof __VLS_export;
23
23
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopoverTriggerProps } from "./types.js";
4
- import * as vue847 from "vue";
4
+ import * as vue1493 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-trigger.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue847.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue847.ComponentOptionsMixin, vue847.ComponentOptionsMixin, {}, string, vue847.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue847.Component;
13
- }, {}, {}, {}, string, vue847.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1493.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1493.ComponentOptionsMixin, vue1493.ComponentOptionsMixin, {}, string, vue1493.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1493.Component;
13
+ }, {}, {}, {}, string, vue1493.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { PopperUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue807 from "vue";
4
+ import * as vue1499 from "vue";
5
5
  import { ReferenceElement } from "@floating-ui/dom";
6
6
  import "@floating-ui/utils";
7
7
 
8
8
  //#region src/components/popper/context.d.ts
9
9
 
10
- declare const providePopperUi: (ui: vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue807.ComputedRef<ClassValue> : vue807.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
10
+ declare const providePopperUi: (ui: vue1499.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1499.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1499.ComputedRef<ClassValue> : vue1499.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
11
11
  //#endregion
12
12
  export { providePopperUi };
@@ -1 +1 @@
1
- import{providePopperUi as e}from"./context.js";import t from"./popper-anchor.js";import n from"./popper-arrow.js";import r from"./popper-root.js";import i from"./popper-positioner.js";import a from"./popper-popup.js";export{t as PopperAnchor,n as PopperArrow,a as PopperPopup,i as PopperPositioner,r as PopperRoot,e as providePopperUi};
1
+ import{providePopperUi as e}from"./context.js";import t from"./popper-root.js";import n from"./popper-anchor.js";import r from"./popper-positioner.js";import i from"./popper-popup.js";import a from"./popper-arrow.js";export{n as PopperAnchor,a as PopperArrow,i as PopperPopup,r as PopperPositioner,t as PopperRoot,e as providePopperUi};
@@ -1,12 +1,12 @@
1
1
  import { PopperAnchorProps } from "./types.js";
2
- import * as vue869 from "vue";
2
+ import * as vue1571 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-anchor.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue869.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue869.ComponentOptionsMixin, vue869.ComponentOptionsMixin, {}, string, vue869.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue869.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1571.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1571.ComponentOptionsMixin, vue1571.ComponentOptionsMixin, {}, string, vue1571.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1571.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,8 +1,8 @@
1
1
  import { PopperArrowProps } from "./types.js";
2
- import * as vue786 from "vue";
2
+ import * as vue1488 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-arrow.vue.d.ts
5
- declare const __VLS_export: vue786.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue786.ComponentOptionsMixin, vue786.ComponentOptionsMixin, {}, string, vue786.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue786.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue1488.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1488.ComponentOptionsMixin, vue1488.ComponentOptionsMixin, {}, string, vue1488.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1488.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1,12 +1,12 @@
1
1
  import { PopperPopupProps } from "./types.js";
2
- import * as vue880 from "vue";
2
+ import * as vue1566 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-popup.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue880.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue880.ComponentOptionsMixin, vue880.ComponentOptionsMixin, {}, string, vue880.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue880.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1566.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1566.ComponentOptionsMixin, vue1566.ComponentOptionsMixin, {}, string, vue1566.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1566.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,7 +1,7 @@
1
1
  import { Align, Placement as Placement$1 } from "../../types/common.js";
2
2
  import { PopperPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue858 from "vue";
4
+ import * as vue1560 from "vue";
5
5
  import { CSSProperties } from "vue";
6
6
  import * as _floating_ui_dom0 from "@floating-ui/dom";
7
7
  import * as _floating_ui_utils3 from "@floating-ui/utils";
@@ -11,18 +11,16 @@ declare var __VLS_1: {};
11
11
  type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_1) => any;
13
13
  };
14
- declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue858.ComponentOptionsMixin, vue858.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue1560.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1560.ComponentOptionsMixin, vue1560.ComponentOptionsMixin, {
15
15
  placed: () => any;
16
- }, string, vue858.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
+ }, string, vue1560.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
17
17
  onPlaced?: (() => any) | undefined;
18
18
  }>, {
19
- dir: string;
20
- style: string | false | CSSProperties | vue858.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue1560.StyleValue[] | null;
21
20
  title: string;
22
21
  contextmenu: string;
23
22
  onInput: (payload: InputEvent) => void;
24
23
  onSelect: (payload: Event) => void;
25
- onError: (payload: Event) => void;
26
24
  onProgress: (payload: ProgressEvent<EventTarget>) => void;
27
25
  onFullscreenchange: (payload: Event) => void;
28
26
  onFullscreenerror: (payload: Event) => void;
@@ -56,6 +54,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
56
54
  onDurationchange: (payload: Event) => void;
57
55
  onEmptied: (payload: Event) => void;
58
56
  onEnded: (payload: Event) => void;
57
+ onError: (payload: Event) => void;
59
58
  onFocus: (payload: FocusEvent) => void;
60
59
  onFocusin: (payload: FocusEvent) => void;
61
60
  onFocusout: (payload: FocusEvent) => void;
@@ -134,7 +133,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
134
133
  'aria-describedby': string;
135
134
  'aria-details': string;
136
135
  'aria-disabled': boolean | "true" | "false";
137
- 'aria-dropeffect': "link" | "none" | "copy" | "execute" | "move" | "popup";
136
+ 'aria-dropeffect': "link" | "copy" | "none" | "execute" | "move" | "popup";
138
137
  'aria-errormessage': string;
139
138
  'aria-expanded': boolean | "true" | "false";
140
139
  'aria-flowto': string;
@@ -150,13 +149,13 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
150
149
  'aria-modal': boolean | "true" | "false";
151
150
  'aria-multiline': boolean | "true" | "false";
152
151
  'aria-multiselectable': boolean | "true" | "false";
153
- 'aria-orientation': "horizontal" | "vertical";
152
+ 'aria-orientation': "vertical" | "horizontal";
154
153
  'aria-owns': string;
155
154
  'aria-placeholder': string;
156
155
  'aria-posinset': string | number;
157
156
  'aria-pressed': (boolean | "true" | "false") | "mixed";
158
157
  'aria-readonly': boolean | "true" | "false";
159
- 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
158
+ 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
160
159
  'aria-required': boolean | "true" | "false";
161
160
  'aria-roledescription': string;
162
161
  'aria-rowcount': string | number;
@@ -171,6 +170,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
171
170
  'aria-valuetext': string;
172
171
  accesskey: string;
173
172
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
173
+ dir: string;
174
174
  draggable: boolean | "true" | "false";
175
175
  enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
176
176
  enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
@@ -198,16 +198,17 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
198
198
  itemref: string;
199
199
  results: string | number;
200
200
  security: string;
201
- unselectable: "off" | "on";
202
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
201
+ unselectable: "on" | "off";
202
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
203
203
  is: string;
204
204
  exportparts: string;
205
205
  part: string;
206
+ align: Align;
207
+ reference: _floating_ui_dom0.ReferenceElement;
206
208
  placement: Placement$1;
207
209
  side: _floating_ui_utils3.Side;
208
210
  sideOffset: number;
209
211
  sideFlip: boolean;
210
- align: Align;
211
212
  alignOffset: number;
212
213
  alignFlip: boolean;
213
214
  avoidCollisions: boolean;
@@ -220,8 +221,7 @@ declare const __VLS_base: vue858.DefineComponent<PopperPositionerProps, {}, {},
220
221
  updatePositionStrategy: "optimized" | "always";
221
222
  disableUpdateOnLayoutShift: boolean;
222
223
  prioritizePosition: boolean;
223
- reference: _floating_ui_dom0.ReferenceElement;
224
- }, {}, {}, {}, string, vue858.ComponentProvideOptions, false, {}, any>;
224
+ }, {}, {}, {}, string, vue1560.ComponentProvideOptions, false, {}, any>;
225
225
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
226
226
  declare const _default: typeof __VLS_export;
227
227
  type __VLS_WithSlots<T, S> = T & {
@@ -1,11 +1,11 @@
1
- import * as vue864 from "vue";
1
+ import * as vue1555 from "vue";
2
2
 
3
3
  //#region src/components/popper/popper-root.vue.d.ts
4
4
  declare var __VLS_1: {};
5
5
  type __VLS_Slots = {} & {
6
6
  default?: (props: typeof __VLS_1) => any;
7
7
  };
8
- declare const __VLS_base: vue864.DefineComponent<{}, {}, {}, {}, {}, vue864.ComponentOptionsMixin, vue864.ComponentOptionsMixin, {}, string, vue864.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue864.ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_base: vue1555.DefineComponent<{}, {}, {}, {}, {}, vue1555.ComponentOptionsMixin, vue1555.ComponentOptionsMixin, {}, string, vue1555.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1555.ComponentProvideOptions, true, {}, any>;
9
9
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
10
10
  declare const _default: typeof __VLS_export;
11
11
  type __VLS_WithSlots<T, S> = T & {
@@ -1,14 +1,14 @@
1
1
  import { PortalProps } from "./types.js";
2
- import * as vue33 from "vue";
2
+ import * as vue30 from "vue";
3
3
 
4
4
  //#region src/components/portal/portal.vue.d.ts
5
5
  declare var __VLS_7: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_7) => any;
8
8
  };
9
- declare const __VLS_base: vue33.DefineComponent<PortalProps, {}, {}, {}, {}, vue33.ComponentOptionsMixin, vue33.ComponentOptionsMixin, {}, string, vue33.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue30.DefineComponent<PortalProps, {}, {}, {}, {}, vue30.ComponentOptionsMixin, vue30.ComponentOptionsMixin, {}, string, vue30.PublicProps, Readonly<PortalProps> & Readonly<{}>, {
10
10
  to: string | HTMLElement;
11
- }, {}, {}, {}, string, vue33.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue30.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -1,7 +1,7 @@
1
1
  import { PrimitiveProps } from "./types.js";
2
- import * as vue21 from "vue";
2
+ import * as vue1 from "vue";
3
3
 
4
4
  //#region src/components/primitive/primitive.d.ts
5
- declare const Primitive: vue21.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue21.PublicProps>;
5
+ declare const Primitive: vue1.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue1.PublicProps>;
6
6
  //#endregion
7
7
  export { Primitive };
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { RadioGroupUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue443 from "vue";
4
+ import * as vue604 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/context.d.ts
7
7
 
8
- declare const provideRadioGroupUi: (ui: vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue443.ComputedRef<ClassValue> : vue443.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
8
+ declare const provideRadioGroupUi: (ui: vue604.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue604.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue604.ComputedRef<ClassValue> : vue604.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideRadioGroupUi };
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupControlProps } from "./types.js";
2
- import * as vue438 from "vue";
2
+ import * as vue593 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-control.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -10,7 +10,7 @@ declare var __VLS_8: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue438.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue438.ComponentOptionsMixin, vue438.ComponentOptionsMixin, {}, string, vue438.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue438.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue593.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue593.ComponentOptionsMixin, vue593.ComponentOptionsMixin, {}, string, vue593.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue593.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { RadioGroupIndicatorProps } from "./types.js";
4
- import * as vue432 from "vue";
4
+ import * as vue598 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-indicator.vue.d.ts
7
7
  declare var __VLS_8: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue432.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue432.ComponentOptionsMixin, vue432.ComponentOptionsMixin, {}, string, vue432.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
- as: AsTag | vue432.Component;
13
- }, {}, {}, {}, string, vue432.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue598.DefineComponent<RadioGroupIndicatorProps, {}, {}, {}, {}, vue598.ComponentOptionsMixin, vue598.ComponentOptionsMixin, {}, string, vue598.PublicProps, Readonly<RadioGroupIndicatorProps> & Readonly<{}>, {
12
+ as: AsTag | vue598.Component;
13
+ }, {}, {}, {}, string, vue598.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupItemProps, RadioSelectEvent } from "./types.js";
2
- import * as vue477 from "vue";
2
+ import * as vue588 from "vue";
3
3
 
4
4
  //#region src/components/radio-group/radio-group-item.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -8,11 +8,11 @@ declare var __VLS_1: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue477.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue477.ComponentOptionsMixin, vue477.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue588.DefineComponent<RadioGroupItemProps, {}, {}, {}, {}, vue588.ComponentOptionsMixin, vue588.ComponentOptionsMixin, {
12
12
  select: (event: RadioSelectEvent) => any;
13
- }, string, vue477.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
13
+ }, string, vue588.PublicProps, Readonly<RadioGroupItemProps> & Readonly<{
14
14
  onSelect?: ((event: RadioSelectEvent) => any) | undefined;
15
- }>, {}, {}, {}, {}, string, vue477.ComponentProvideOptions, false, {}, any>;
15
+ }>, {}, {}, {}, {}, string, vue588.ComponentProvideOptions, false, {}, any>;
16
16
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
17
  declare const _default: typeof __VLS_export;
18
18
  type __VLS_WithSlots<T, S> = T & {
@@ -1,13 +1,13 @@
1
1
  import { LabelProps } from "../label/types.js";
2
2
  import "./types.js";
3
- import * as vue482 from "vue";
3
+ import * as vue636 from "vue";
4
4
 
5
5
  //#region src/components/radio-group/radio-group-label.vue.d.ts
6
6
  declare var __VLS_8: {};
7
7
  type __VLS_Slots = {} & {
8
8
  default?: (props: typeof __VLS_8) => any;
9
9
  };
10
- declare const __VLS_base: vue482.DefineComponent<LabelProps, {}, {}, {}, {}, vue482.ComponentOptionsMixin, vue482.ComponentOptionsMixin, {}, string, vue482.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue482.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue636.DefineComponent<LabelProps, {}, {}, {}, {}, vue636.ComponentOptionsMixin, vue636.ComponentOptionsMixin, {}, string, vue636.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue636.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{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import i from"../visually-hidden/visually-hidden-input.js";import a from"../roving-focus/roving-focus-group.js";import{provideRadioGroupRootContext as o,useRadioGroupUi as s}from"./context.js";import{computed as c,createBlock as l,createCommentVNode as u,createElementVNode as d,defineComponent as f,normalizeClass as p,openBlock as m,renderSlot as h,unref as g,useTemplateRef as _,withCtx as v}from"vue";const y=[`data-disabled`,`aria-orientation`,`aria-required`];var b=f({name:`RadioGroupRoot`,__name:`radio-group-root`,props:{modelValue:{default:void 0},defaultValue:{},disabled:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},name:{},required:{type:Boolean,default:!1}},emits:[`update:modelValue`],setup(f,{emit:b}){let x=f,S=b,C=s(`root`),w=_(`rootElement`),T=r(()=>x.modelValue,t=>{e(t)||S(`update:modelValue`,t)},x.defaultValue),E=c(()=>t(w.value));return o({...n(x,[`disabled`,`orientation`,`dir`,`loop`,`name`,`required`]),modelValue:T}),(e,t)=>(m(),l(g(a),{"as-child":``,orientation:f.orientation,dir:f.dir,loop:f.loop},{default:v(()=>[d(`div`,{ref_key:`rootElement`,ref:w,class:p(g(C)),role:`radiogroup`,"data-disabled":f.disabled?``:void 0,"aria-orientation":f.orientation,"aria-required":f.required},[h(e.$slots,`default`,{modelValue:g(T)}),E.value&&f.name?(m(),l(g(i),{key:0,required:f.required,disabled:f.disabled,value:g(T),name:f.name},null,8,[`required`,`disabled`,`value`,`name`])):u(`v-if`,!0)],10,y)]),_:3},8,[`orientation`,`dir`,`loop`]))}});export{b as default};
1
+ import{isNullish as e}from"../../shared/guard.js";import{isFormControl as t,transformPropsToContext as n}from"../../shared/vue.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import i from"../roving-focus/roving-focus-group.js";import a from"../visually-hidden/visually-hidden-input.js";import{provideRadioGroupRootContext as o,useRadioGroupUi as s}from"./context.js";import{computed as c,createBlock as l,createCommentVNode as u,createElementVNode as d,defineComponent as f,normalizeClass as p,openBlock as m,renderSlot as h,unref as g,useTemplateRef as _,withCtx as v}from"vue";const y=[`data-disabled`,`aria-orientation`,`aria-required`];var b=f({name:`RadioGroupRoot`,__name:`radio-group-root`,props:{modelValue:{default:void 0},defaultValue:{},disabled:{type:Boolean,default:!1},orientation:{default:void 0},dir:{},loop:{type:Boolean,default:!0},name:{},required:{type:Boolean,default:!1}},emits:[`update:modelValue`],setup(f,{emit:b}){let x=f,S=b,C=s(`root`),w=_(`rootElement`),T=r(()=>x.modelValue,t=>{e(t)||S(`update:modelValue`,t)},x.defaultValue),E=c(()=>t(w.value));return o({...n(x,[`disabled`,`orientation`,`dir`,`loop`,`name`,`required`]),modelValue:T}),(e,t)=>(m(),l(g(i),{"as-child":``,orientation:f.orientation,dir:f.dir,loop:f.loop},{default:v(()=>[d(`div`,{ref_key:`rootElement`,ref:w,class:p(g(C)),role:`radiogroup`,"data-disabled":f.disabled?``:void 0,"aria-orientation":f.orientation,"aria-required":f.required},[h(e.$slots,`default`,{modelValue:g(T)}),E.value&&f.name?(m(),l(g(a),{key:0,required:f.required,disabled:f.disabled,value:g(T),name:f.name},null,8,[`required`,`disabled`,`value`,`name`])):u(`v-if`,!0)],10,y)]),_:3},8,[`orientation`,`dir`,`loop`]))}});export{b as default};
@@ -1,11 +1,11 @@
1
1
  import { AcceptableBooleanValue } from "../../types/common.js";
2
2
  import "../../types/index.js";
3
3
  import { RadioGroupRootProps } from "./types.js";
4
- import * as vue475 from "vue";
4
+ import * as vue586 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/radio-group-root.vue.d.ts
7
7
  declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
- props: vue475.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
8
+ props: vue586.PublicProps & __VLS_PrettifyLocal<RadioGroupRootProps<T> & {
9
9
  "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
10
10
  }> & (typeof globalThis extends {
11
11
  __VLS_PROPS_FALLBACK: infer P;
@@ -18,7 +18,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue>(__VLS_props: NonN
18
18
  }) => any;
19
19
  };
20
20
  emit: (evt: "update:modelValue", payload: NonNullable<T>) => void;
21
- }>) => vue475.VNode & {
21
+ }>) => vue586.VNode & {
22
22
  __ctx?: Awaited<typeof __VLS_setup>;
23
23
  };
24
24
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import{useDirection as c}from"../../composables/use-direction.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
1
+ import{isNullish as e}from"../../shared/guard.js";import{wrapArray as t}from"../../shared/object.js";import{isElementHasAttribute as n}from"../../shared/dom.js";import{getFocusIntent as r,tryFocusFirst as i}from"../../shared/focus.js";import{useContext as a}from"../../composables/use-context.js";import{useCollection as o}from"../../composables/use-collection.js";import{useControllableState as s}from"../../composables/use-controllable-state.js";import{useDirection as c}from"../config-provider/context.js";import{computed as l,nextTick as u,onBeforeUnmount as d,onMounted as f,shallowRef as p,useId as m}from"vue";const h={bubbles:!1,cancelable:!0},{provideCollectionContext:g,useCollectionContext:_,useCollectionItem:v}=o(`RovingFocusGroup`),[y,b]=a(`RovingFocusGroup`,e=>{let{onContainerElementChange:t,getOrderedItems:r,getOrderedElements:a}=g(),{loop:o,orientation:u,defaultCurrentTabStopId:d,preventScrollOnEntryFocus:f,onEntryFocus:m,onUpdateCurrentTabStopId:_}=e,v=c(e.dir),y=s(()=>e.currentTabStopId.value,_,d.value),b=e=>{y.value=e},x=p(!1),S=p(!1),C=()=>{x.value=!0},w=p(0);return{onContainerElementChange:t,loop:o,dir:v,orientation:u,currentTabStopId:y,onItemFocus:b,onItemShiftTab:C,onFocusableItemAdd:()=>{w.value++},onFocusableItemRemove:()=>{w.value--},rovingFocusGroupProps:l(()=>({tabindex:x.value||w.value===0?`-1`:`0`,"data-orientation":u.value,dir:v.value,"data-loop":o.value?``:void 0,style:`outline: none`})),rovingFocusGroupListeners:{mousedown:()=>{S.value=!0},mouseup:()=>{setTimeout(()=>{S.value=!1},1)},focus:e=>{let t=!S.value;if(!e.currentTarget||e.target!==e.currentTarget||!t||x.value){S.value=!1;return}let r=new CustomEvent(`rovingFocusGroup.onEntryFocus`,h);if(e.currentTarget.dispatchEvent(r),m?.(r),r.defaultPrevented)return;let o=a();i([o.find(e=>n(e,`active`)),o.find(e=>n(e,`highlighted`)),o.find(e=>e.id===y.value),...o].filter(Boolean),f.value)},blur:()=>{x.value=!1}},getOrderedItems:r}});function x(n={}){let{getOrderedElements:a}=_(`RovingFocusItem`),{setItemElement:o,itemProps:s}=v(n.itemData),{currentTabStopId:c,orientation:p,dir:h,loop:g,onItemFocus:y,onItemShiftTab:x,onFocusableItemAdd:S,onFocusableItemRemove:C}=b(`RovingFocusItem`),{active:w,allowShiftKey:T}=n,E=l(()=>n.tabStopId?.value??m()),D=l(()=>n.focusable?.value??!0),O=l(()=>c.value===E.value),k=n=>{if(n.key===`Tab`&&n.shiftKey){x();return}if(n.target!==n.currentTarget)return;let o=r(n,p.value,h.value);if(e(o)||n.metaKey||n.ctrlKey||n.altKey||!T?.value&&n.shiftKey)return;n.preventDefault();let s=a();if(o===`last`&&s.reverse(),o===`prev`||o===`next`){o===`prev`&&s.reverse();let e=s.indexOf(n.currentTarget);s=g.value?t(s,e+1):s.slice(e+1)}u(()=>{i(s)})},A=l(()=>({...s,tabindex:O.value?`0`:`-1`,"data-orientation":p.value,"data-active":w?.value?``:void 0,"data-disabled":D.value?void 0:``})),j={mousedown:e=>{D.value?y(E.value):e.preventDefault()},focus:()=>{y(E.value)},keydown:k};return f(()=>{S()}),d(()=>{C()}),{setItemElement:o,rovingFocusItemProps:A,rovingFocusItemListeners:j}}export{y as provideRovingFocusGroupContext,v as useCollectionItem,x as useRovingFocusItem};
@@ -3,26 +3,26 @@ import { RovingFocusGroupProps } from "./types.js";
3
3
  import { CollectionItemData } from "../../composables/use-collection.js";
4
4
  import "../../composables/index.js";
5
5
  import "../../index.js";
6
- import * as vue264 from "vue";
6
+ import * as vue459 from "vue";
7
7
 
8
8
  //#region src/components/roving-focus/roving-focus-group.vue.d.ts
9
9
  declare var __VLS_8: {};
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_8) => any;
12
12
  };
13
- declare const __VLS_base: vue264.DefineComponent<RovingFocusGroupProps, {
13
+ declare const __VLS_base: vue459.DefineComponent<RovingFocusGroupProps, {
14
14
  getItems: (excludeDisabled?: boolean) => CollectionItemData<Record<string, any>>[];
15
- }, {}, {}, {}, vue264.ComponentOptionsMixin, vue264.ComponentOptionsMixin, {
15
+ }, {}, {}, {}, vue459.ComponentOptionsMixin, vue459.ComponentOptionsMixin, {
16
16
  entryFocus: (event: Event) => any;
17
17
  "update:currentTabStopId": (value: string | null | undefined) => any;
18
- }, string, vue264.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
18
+ }, string, vue459.PublicProps, Readonly<RovingFocusGroupProps> & Readonly<{
19
19
  onEntryFocus?: ((event: Event) => any) | undefined;
20
20
  "onUpdate:currentTabStopId"?: ((value: string | null | undefined) => any) | undefined;
21
21
  }>, {
22
22
  orientation: DataOrientation;
23
23
  loop: boolean;
24
24
  preventScrollOnEntryFocus: boolean;
25
- }, {}, {}, {}, string, vue264.ComponentProvideOptions, false, {}, any>;
25
+ }, {}, {}, {}, string, vue459.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,14 +1,14 @@
1
1
  import { RovingFocusItemProps } from "./types.js";
2
- import * as vue269 from "vue";
2
+ import * as vue464 from "vue";
3
3
 
4
4
  //#region src/components/roving-focus/roving-focus-item.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue269.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue269.ComponentOptionsMixin, vue269.ComponentOptionsMixin, {}, string, vue269.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
9
+ declare const __VLS_base: vue464.DefineComponent<RovingFocusItemProps, {}, {}, {}, {}, vue464.ComponentOptionsMixin, vue464.ComponentOptionsMixin, {}, string, vue464.PublicProps, Readonly<RovingFocusItemProps> & Readonly<{}>, {
10
10
  focusable: boolean;
11
- }, {}, {}, {}, string, vue269.ComponentProvideOptions, false, {}, any>;
11
+ }, {}, {}, {}, string, vue464.ComponentProvideOptions, false, {}, any>;
12
12
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
13
  declare const _default: typeof __VLS_export;
14
14
  type __VLS_WithSlots<T, S> = T & {
@@ -3,10 +3,10 @@ import "../../types/index.js";
3
3
  import "../../composables/index.js";
4
4
  import { SelectUiSlot } from "./types.js";
5
5
  import "../../index.js";
6
- import * as vue117 from "vue";
6
+ import * as vue824 from "vue";
7
7
 
8
8
  //#region src/components/select/context.d.ts
9
9
 
10
- declare const provideSelectUi: (ui: vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue117.ComputedRef<ClassValue> : vue117.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
10
+ declare const provideSelectUi: (ui: vue824.ComputedRef<Partial<UiClass<SelectUiSlot>>>) => vue824.ComputedRef<Partial<UiClass<SelectUiSlot>>>, useSelectUi: <S extends SelectUiSlot | undefined = undefined>(slot?: S | undefined) => S extends SelectUiSlot ? vue824.ComputedRef<ClassValue> : vue824.ComputedRef<Partial<UiClass<SelectUiSlot>>>;
11
11
  //#endregion
12
12
  export { provideSelectUi };
@@ -1 +1 @@
1
- import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useDirection as a}from"../../composables/use-direction.js";import{useUiContext as o}from"../../composables/use-ui-context.js";import{providePopperUi as s}from"../popper/context.js";import{computed as c,ref as l,shallowRef as u,useId as d}from"vue";const[f,p]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=c(()=>t(n.value)),o=a(e.dir),s=u(``),f=()=>{s.value||=`soybean-select-content-${d()}`},p=u(),m=e=>{p.value=e},h=u(),g=e=>{h.value=e},_=l(new Set),v=c(()=>Array.from(_.value)),y=c(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=u({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:o,contentId:s,initContentId:f,triggerElement:p,onTriggerElementChange:m,valueElement:h,onValueElementChange:g,optionsSet:_,onOptionAdd:b,onOptionRemove:x,options:v,nativeSelectKey:y,triggerPointerDownPosition:S,setTriggerPointerDownPosition:C,resetTriggerPointerDownPosition:w}}),{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=i(`Select`),[_,v]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=u(!1),s=u(),c=e=>{s.value=e},l=!1,d=!1,f=u(),p=(t,n,i)=>{let a=!l&&!i;(e(r.value,n)||a)&&(f.value=t)},m=u(),h=(t,n,a)=>{let o=!l&&!a,s=e(r.value,n);if(i.value){if(d)return;(s||o)&&(m.value=t,s&&(d=!0))}else (s||o)&&(m.value=t);o&&(l=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:c,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[y,b]=r(`SelectGroup`,()=>{let e=u(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${d()}`}}}),[x,S]=r(`SelectItem`,e=>{let t=u(e.textValue.value??``),n=u(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=u(``),a=()=>{i.value||=`soybean-select-item-text-${d()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[C,w]=r(`SelectPopupElement`,()=>{let e=u();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[T,E]=r(`SelectItemAlignedPosition`,e=>e),[D,O]=o(`SelectUi`,e=>(s(e),e));export{m as provideCollectionContext,_ as provideSelectContentContext,y as provideSelectGroupContext,T as provideSelectItemAlignedPositionContext,x as provideSelectItemContext,C as provideSelectPopupElementContext,f as provideSelectRootContext,D as provideSelectUi,h as useCollectionContext,g as useCollectionItem,v as useSelectContentContext,b as useSelectGroupContext,E as useSelectItemAlignedPositionContext,S as useSelectItemContext,w as useSelectPopupElementContext,p as useSelectRootContext,O as useSelectUi};
1
+ import{isValueEqualOrExist as e}from"../../shared/comparison.js";import{getDisclosureState as t}from"../../shared/value.js";import{tryFocusFirst as n}from"../../shared/focus.js";import{useContext as r}from"../../composables/use-context.js";import{useCollection as i}from"../../composables/use-collection.js";import{useUiContext as a}from"../../composables/use-ui-context.js";import{useDirection as o}from"../config-provider/context.js";import{providePopperUi as s}from"../popper/context.js";import{computed as c,ref as l,shallowRef as u,useId as d}from"vue";const[f,p]=r(`SelectRoot`,e=>{let{open:n}=e,r=e=>{n.value=e},i=c(()=>t(n.value)),a=o(e.dir),s=u(``),f=()=>{s.value||=`soybean-select-content-${d()}`},p=u(),m=e=>{p.value=e},h=u(),g=e=>{h.value=e},_=l(new Set),v=c(()=>Array.from(_.value)),y=c(()=>v.value.map(e=>e.value).join(`;`)),b=e=>{_.value.add(e)},x=e=>{_.value.delete(e)},S=u({x:0,y:0}),C=e=>{S.value=e},w=()=>{S.value=null};return{...e,dataState:i,onOpenChange:r,dir:a,contentId:s,initContentId:f,triggerElement:p,onTriggerElementChange:m,valueElement:h,onValueElementChange:g,optionsSet:_,onOptionAdd:b,onOptionRemove:x,options:v,nativeSelectKey:y,triggerPointerDownPosition:S,setTriggerPointerDownPosition:C,resetTriggerPointerDownPosition:w}}),{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=i(`Select`),[_,v]=r(`SelectContent`,t=>{let{modelValue:r,isMultiple:i,popupElement:a}=t,o=u(!1),s=u(),c=e=>{s.value=e},l=!1,d=!1,f=u(),p=(t,n,i)=>{let a=!l&&!i;(e(r.value,n)||a)&&(f.value=t)},m=u(),h=(t,n,a)=>{let o=!l&&!a,s=e(r.value,n);if(i.value){if(d)return;(s||o)&&(m.value=t,s&&(d=!0))}else (s||o)&&(m.value=t);o&&(l=!0)},g=()=>{a.value?.focus()};function _(){!m.value||!a.value||n([m.value,a.value])}return{...t,isPositioned:o,viewportElement:s,onViewportElementChange:c,selectedItemElement:m,onSelectedItemElementChange:h,onItemElementLeave:g,selectedItemTextElement:f,onSelectedItemTextElementChange:p,focusSelectedItem:_}}),[y,b]=r(`SelectGroup`,()=>{let e=u(``);return{labelId:e,initLabelId:()=>{e.value||=`soybean-select-group-label-${d()}`}}}),[x,S]=r(`SelectItem`,e=>{let t=u(e.textValue.value??``),n=u(),r=e=>{n.value=e,t.value=((t.value||e?.textContent)??``).trim()},i=u(``),a=()=>{i.value||=`soybean-select-item-text-${d()}`};return{...e,textId:i,initTextId:a,textValue:t,itemTextElement:n,onItemTextElementChange:r}}),[C,w]=r(`SelectPopupElement`,()=>{let e=u();return{popupElement:e,onPopupElementChange:t=>{e.value=t}}}),[T,E]=r(`SelectItemAlignedPosition`,e=>e),[D,O]=a(`SelectUi`,e=>(s(e),e));export{m as provideCollectionContext,_ as provideSelectContentContext,y as provideSelectGroupContext,T as provideSelectItemAlignedPositionContext,x as provideSelectItemContext,C as provideSelectPopupElementContext,f as provideSelectRootContext,D as provideSelectUi,h as useCollectionContext,g as useCollectionItem,v as useSelectContentContext,b as useSelectGroupContext,E as useSelectItemAlignedPositionContext,S as useSelectItemContext,w as useSelectPopupElementContext,p as useSelectRootContext,O as useSelectUi};
@@ -3,19 +3,19 @@ import { _default as _default$7 } from "../portal/portal.vue.js";
3
3
  import { PopperArrowProps } from "../popper/types.js";
4
4
  import { SelectContentEmits, SelectContentProps, SelectGroupLabelProps, SelectGroupProps, SelectItemEmits, SelectItemEvent, SelectItemIndicatorProps, SelectItemProps, SelectItemTextProps, SelectPopupProps, SelectPosition, SelectRootEmits, SelectRootProps, SelectScrollDownButtonProps, SelectScrollUpButtonProps, SelectSeparatorProps, SelectTriggerIconProps, SelectTriggerProps, SelectUi, SelectUiSlot, SelectValueProps, SelectViewportProps } from "./types.js";
5
5
  import { _default as _default$8 } from "./select-root.vue.js";
6
+ import { _default as _default$12 } from "./select-trigger.vue.js";
6
7
  import { _default as _default$1 } from "./select-content.vue.js";
7
8
  import { _default as _default$15 } from "./select-viewport.vue.js";
8
- import { _default as _default$12 } from "./select-trigger.vue.js";
9
- import { _default as _default$13 } from "./select-trigger-icon.vue.js";
10
- import { _default as _default$14 } from "./select-value.vue.js";
11
9
  import { _default as _default$2 } from "./select-group.vue.js";
12
10
  import { _default as _default$3 } from "./select-group-label.vue.js";
13
11
  import { _default as _default$4 } from "./select-item.vue.js";
14
- import { _default as _default$6 } from "./select-item-text.vue.js";
15
12
  import { _default as _default$5 } from "./select-item-indicator.vue.js";
16
- import { _default as _default$11 } from "./select-separator.vue.js";
17
- import { _default } from "./select-arrow.vue.js";
13
+ import { _default as _default$6 } from "./select-item-text.vue.js";
14
+ import { _default as _default$14 } from "./select-value.vue.js";
15
+ import { _default as _default$13 } from "./select-trigger-icon.vue.js";
18
16
  import { _default as _default$10 } from "./select-scroll-up-button.vue.js";
19
17
  import { _default as _default$9 } from "./select-scroll-down-button.vue.js";
18
+ import { _default as _default$11 } from "./select-separator.vue.js";
19
+ import { _default } from "./select-arrow.vue.js";
20
20
  import { provideSelectUi } from "./context.js";
21
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, _default$12 as SelectTrigger, _default$13 as SelectTriggerIcon, type SelectTriggerIconProps, type SelectTriggerProps, type SelectUi, type SelectUiSlot, _default$14 as SelectValue, type SelectValueProps, _default$15 as SelectViewport, type SelectViewportProps, provideSelectUi };
@@ -1 +1 @@
1
- import e from"../portal/portal.js";import{provideSelectUi as t}from"./context.js";import n from"./select-root.js";import r from"./select-content.js";import i from"./select-viewport.js";import a from"./select-trigger.js";import o from"./select-trigger-icon.js";import s from"./select-value.js";import c from"./select-group.js";import l from"./select-group-label.js";import u from"./select-item.js";import d from"./select-item-text.js";import f from"./select-item-indicator.js";import p from"./select-separator.js";import m from"./select-arrow.js";import h from"./select-scroll-up-button.js";import g from"./select-scroll-down-button.js";export{m as SelectArrow,r as SelectContent,c as SelectGroup,l as SelectGroupLabel,u as SelectItem,f as SelectItemIndicator,d as SelectItemText,e as SelectPortal,n as SelectRoot,g as SelectScrollDownButton,h as SelectScrollUpButton,p as SelectSeparator,a as SelectTrigger,o as SelectTriggerIcon,s as SelectValue,i as SelectViewport,t as provideSelectUi};
1
+ import e from"../portal/portal.js";import{provideSelectUi as t}from"./context.js";import n from"./select-root.js";import r from"./select-trigger.js";import i from"./select-content.js";import a from"./select-viewport.js";import o from"./select-group.js";import s from"./select-group-label.js";import c from"./select-item.js";import l from"./select-item-indicator.js";import u from"./select-item-text.js";import d from"./select-value.js";import f from"./select-trigger-icon.js";import p from"./select-scroll-up-button.js";import m from"./select-scroll-down-button.js";import h from"./select-separator.js";import g from"./select-arrow.js";export{g as SelectArrow,i as SelectContent,o as SelectGroup,s as SelectGroupLabel,c as SelectItem,l as SelectItemIndicator,u as SelectItemText,e as SelectPortal,n as SelectRoot,m as SelectScrollDownButton,p as SelectScrollUpButton,h as SelectSeparator,r as SelectTrigger,f as SelectTriggerIcon,d as SelectValue,a as SelectViewport,t as provideSelectUi};
@@ -1,13 +1,13 @@
1
1
  import { PopperArrowProps } from "../popper/types.js";
2
2
  import "./types.js";
3
- import * as vue81 from "vue";
3
+ import * as vue798 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: vue81.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue81.ComponentOptionsMixin, vue81.ComponentOptionsMixin, {}, string, vue81.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue81.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue798.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue798.ComponentOptionsMixin, vue798.ComponentOptionsMixin, {}, string, vue798.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue798.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,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 vue48 from "vue";
4
+ import * as vue966 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: vue48.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue48.ComponentOptionsMixin, vue48.ComponentOptionsMixin, {
14
- closeAutoFocus: (event: Event) => any;
13
+ declare const __VLS_base: vue966.DefineComponent<SelectContentProps, {}, {}, {}, {}, vue966.ComponentOptionsMixin, vue966.ComponentOptionsMixin, {
15
14
  escapeKeyDown: (event: KeyboardEvent) => any;
16
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
17
- }, string, vue48.PublicProps, Readonly<SelectContentProps> & Readonly<{
18
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
16
+ closeAutoFocus: (event: Event) => any;
17
+ }, string, vue966.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
22
  position: SelectPosition;
23
23
  bodyLock: boolean;
24
24
  avoidCollisions: boolean;
25
25
  prioritizePosition: boolean;
26
- }, {}, {}, {}, string, vue48.ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, vue966.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 vue96 from "vue";
2
+ import * as vue755 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: vue96.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue96.ComponentOptionsMixin, vue96.ComponentOptionsMixin, {}, string, vue96.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue96.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue755.DefineComponent<SelectGroupLabelProps, {}, {}, {}, {}, vue755.ComponentOptionsMixin, vue755.ComponentOptionsMixin, {}, string, vue755.PublicProps, Readonly<SelectGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue755.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 & {