@soybeanjs/headless 0.3.0 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (288) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.js +1 -1
  9. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  12. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  13. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  14. package/dist/components/alert/context.d.ts +2 -2
  15. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  16. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  17. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  18. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  19. package/dist/components/arrow/arrow.js +1 -1
  20. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  21. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  22. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  23. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  24. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  25. package/dist/components/avatar/context.d.ts +2 -2
  26. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  27. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  28. package/dist/components/badge/context.d.ts +2 -2
  29. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  30. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  33. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  34. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  37. package/dist/components/breadcrumb/context.d.ts +2 -2
  38. package/dist/components/button/button.vue.d.ts +5 -5
  39. package/dist/components/card/card-content.vue.d.ts +2 -2
  40. package/dist/components/card/card-description.vue.d.ts +2 -2
  41. package/dist/components/card/card-footer.vue.d.ts +2 -2
  42. package/dist/components/card/card-header.vue.d.ts +2 -2
  43. package/dist/components/card/card-root.vue.d.ts +2 -2
  44. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  45. package/dist/components/card/card-title.vue.d.ts +2 -2
  46. package/dist/components/card/context.d.ts +2 -2
  47. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  48. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  49. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  50. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  51. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  52. package/dist/components/checkbox/context.d.ts +2 -2
  53. package/dist/components/collapsible/collapsible-content.js +1 -1
  54. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  55. package/dist/components/collapsible/collapsible-root.vue.d.ts +6 -6
  56. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  57. package/dist/components/collapsible/context.d.ts +2 -2
  58. package/dist/components/collapsible/context.js +1 -1
  59. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  60. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  61. package/dist/components/context-menu/context-menu-root.js +1 -1
  62. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  63. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  64. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  65. package/dist/components/dialog/context.d.ts +2 -2
  66. package/dist/components/dialog/context.js +1 -1
  67. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  68. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  69. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  70. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  71. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  72. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  73. package/dist/components/dialog/dialog-root.vue.d.ts +5 -5
  74. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  75. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  76. package/dist/components/dropdown-menu/context.js +1 -1
  77. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  78. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  79. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  80. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  81. package/dist/components/form/context.d.ts +2 -2
  82. package/dist/components/form/form-description.vue.d.ts +2 -2
  83. package/dist/components/form/form-error.vue.d.ts +2 -2
  84. package/dist/components/form/form-field.vue.d.ts +2 -2
  85. package/dist/components/form/form-label.vue.d.ts +2 -2
  86. package/dist/components/input/context.d.ts +2 -2
  87. package/dist/components/input/input-control.vue.d.ts +2 -2
  88. package/dist/components/input/input-root.vue.d.ts +4 -4
  89. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  90. package/dist/components/layout/context.d.ts +2 -2
  91. package/dist/components/layout/index.d.ts +12 -11
  92. package/dist/components/layout/index.js +1 -1
  93. package/dist/components/layout/layout-content.js +1 -0
  94. package/dist/components/layout/layout-content.vue.d.ts +18 -0
  95. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  96. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  97. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  98. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  99. package/dist/components/layout/layout-rail.js +1 -1
  100. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  101. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  102. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  103. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  104. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  105. package/dist/components/layout/types.d.ts +5 -4
  106. package/dist/components/link/link.vue.d.ts +4 -4
  107. package/dist/components/list/context.d.ts +2 -2
  108. package/dist/components/list/list-content.vue.d.ts +2 -2
  109. package/dist/components/list/list-description.vue.d.ts +2 -2
  110. package/dist/components/list/list-item.vue.d.ts +2 -2
  111. package/dist/components/list/list-root.vue.d.ts +2 -2
  112. package/dist/components/list/list-title.vue.d.ts +2 -2
  113. package/dist/components/listbox/context.d.ts +2 -2
  114. package/dist/components/listbox/listbox-content.js +1 -1
  115. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  116. package/dist/components/listbox/listbox-filter.js +1 -1
  117. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  118. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  119. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  120. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  121. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  122. package/dist/components/listbox/listbox-root.js +1 -1
  123. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  124. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  125. package/dist/components/menu/context.d.ts +2 -2
  126. package/dist/components/menu/context.js +1 -1
  127. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  128. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  129. package/dist/components/menu/menu-content-impl.js +1 -1
  130. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  131. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  132. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  133. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  134. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  135. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  136. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  137. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  138. package/dist/components/menu/menu-sub-content.js +1 -1
  139. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  140. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  141. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  142. package/dist/components/navigation-menu/context.d.ts +2 -2
  143. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  144. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  145. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  146. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  147. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  148. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  149. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  150. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  151. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  152. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  153. package/dist/components/number-input/context.d.ts +2 -2
  154. package/dist/components/number-input/number-input-control.js +1 -1
  155. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  156. package/dist/components/number-input/number-input-decrement.js +1 -1
  157. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  158. package/dist/components/number-input/number-input-increment.js +1 -1
  159. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  160. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  161. package/dist/components/pagination/context.d.ts +2 -2
  162. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  163. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-first.js +1 -1
  165. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  166. package/dist/components/pagination/pagination-last.js +1 -1
  167. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  168. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  169. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  170. package/dist/components/pagination/pagination-next.js +1 -1
  171. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  172. package/dist/components/pagination/pagination-prev.js +1 -1
  173. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  174. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  175. package/dist/components/popover/context.js +1 -1
  176. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  177. package/dist/components/popover/popover-close.js +1 -1
  178. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  179. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  180. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  181. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  182. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  183. package/dist/components/popper/context.d.ts +2 -2
  184. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  185. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  186. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  187. package/dist/components/popper/popper-positioner.vue.d.ts +17 -17
  188. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  189. package/dist/components/portal/portal.vue.d.ts +3 -3
  190. package/dist/components/radio-group/context.d.ts +2 -2
  191. package/dist/components/radio-group/radio-group-control.js +1 -1
  192. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  193. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  194. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  195. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  196. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  197. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  198. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  199. package/dist/components/select/context.d.ts +2 -2
  200. package/dist/components/select/context.js +1 -1
  201. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  202. package/dist/components/select/select-content-impl.js +1 -1
  203. package/dist/components/select/select-content.vue.d.ts +6 -6
  204. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  205. package/dist/components/select/select-group.vue.d.ts +2 -2
  206. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  207. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  208. package/dist/components/select/select-item.js +1 -1
  209. package/dist/components/select/select-item.vue.d.ts +4 -4
  210. package/dist/components/select/select-root.vue.d.ts +5 -5
  211. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  212. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  213. package/dist/components/select/select-separator.vue.d.ts +2 -2
  214. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  215. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  216. package/dist/components/select/select-value.vue.d.ts +3 -3
  217. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  218. package/dist/components/separator/context.d.ts +2 -2
  219. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  220. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  221. package/dist/components/switch/context.d.ts +2 -2
  222. package/dist/components/switch/switch-control.js +1 -1
  223. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  224. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  225. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  226. package/dist/components/tabs/context.d.ts +2 -2
  227. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  228. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  229. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  230. package/dist/components/tabs/tabs-root.vue.d.ts +4 -4
  231. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  232. package/dist/components/tag/tag.vue.d.ts +4 -4
  233. package/dist/components/textarea/context.d.ts +2 -2
  234. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  235. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  236. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  237. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  238. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  239. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  241. package/dist/components/toast/toast-root.vue.d.ts +8 -8
  242. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  243. package/dist/components/toast/toast-viewport.js +1 -1
  244. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  245. package/dist/components/tooltip/context.js +1 -1
  246. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  247. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  248. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  249. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  250. package/dist/components/tree/tree-item.js +1 -1
  251. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  252. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  253. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  254. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  255. package/dist/components/tree-menu/context.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  257. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  258. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  259. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  260. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  261. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  262. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  263. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  264. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  265. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  266. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  267. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  268. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  269. package/dist/composables/use-collection.d.ts +6 -6
  270. package/dist/composables/use-collection.js +1 -1
  271. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  272. package/dist/composables/use-exposed-element.d.ts +2 -2
  273. package/dist/composables/use-forward-element.d.ts +2 -2
  274. package/dist/composables/use-grace-area.js +1 -1
  275. package/dist/composables/use-image-loading-status.d.ts +2 -2
  276. package/dist/composables/use-image-loading-status.js +1 -1
  277. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  278. package/dist/composables/use-is-using-keyboard.js +1 -1
  279. package/dist/composables/use-kbd.d.ts +2 -2
  280. package/dist/composables/use-presence.d.ts +2 -2
  281. package/dist/composables/use-props.d.ts +3 -3
  282. package/dist/composables/use-selection.d.ts +4 -4
  283. package/dist/index.d.ts +121 -120
  284. package/dist/index.js +1 -1
  285. package/dist/namespaced/index.d.ts +14 -14
  286. package/dist/namespaced/index.js +1 -1
  287. package/dist/shared/focus.js +1 -1
  288. package/package.json +26 -26
@@ -1,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { PaginationUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue366 from "vue";
4
+ import * as vue1549 from "vue";
5
5
 
6
6
  //#region src/components/pagination/context.d.ts
7
7
 
8
- declare const providePaginationUi: (ui: vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue366.ComputedRef<ClassValue> : vue366.ComputedRef<Partial<UiClass<PaginationUiSlot>>>;
8
+ declare const providePaginationUi: (ui: vue1549.ComputedRef<Partial<UiClass<PaginationUiSlot>>>) => vue1549.ComputedRef<Partial<UiClass<PaginationUiSlot>>>, usePaginationUi: <S extends PaginationUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PaginationUiSlot ? vue1549.ComputedRef<ClassValue> : vue1549.ComputedRef<Partial<UiClass<PaginationUiSlot>>>;
9
9
  //#endregion
10
10
  export { providePaginationUi };
@@ -1 +1 @@
1
- import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";var c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||=n(`...`,-1)])],2))}});export{c as default};
1
+ import{usePaginationUi as e}from"./context.js";import{createElementBlock as t,createTextVNode as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";var c=r({name:`PaginationEllipsis`,__name:`pagination-ellipsis`,setup(r){let c=e(`ellipsis`);return(e,r)=>(a(),t(`div`,{class:i(s(c)),"data-type":`ellipsis`},[o(e.$slots,`default`,{},()=>[r[0]||(r[0]=n(`...`,-1))])],2))}});export{c as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationEllipsisProps } from "./types.js";
2
- import * as vue361 from "vue";
2
+ import * as vue1534 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-ellipsis.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: vue361.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue361.ComponentOptionsMixin, vue361.ComponentOptionsMixin, {}, string, vue361.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue361.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1534.DefineComponent<PaginationEllipsisProps, {}, {}, {}, {}, vue1534.ComponentOptionsMixin, vue1534.ComponentOptionsMixin, {}, string, vue1534.PublicProps, Readonly<PaginationEllipsisProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1534.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationFirst`,__name:`pagination-first`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationFirst`),m=t(`first`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`First Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||=i(`First page`,-1)])],10,u))}});export{d as default};
1
+ import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationFirst`,__name:`pagination-first`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationFirst`),m=t(`first`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`First Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`First page`,-1))])],10,u))}});export{d as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationButtonProps } from "./types.js";
2
- import * as vue326 from "vue";
2
+ import * as vue1544 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-first.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: vue326.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue326.ComponentOptionsMixin, vue326.ComponentOptionsMixin, {}, string, vue326.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue326.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1544.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1544.ComponentOptionsMixin, vue1544.ComponentOptionsMixin, {}, string, vue1544.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1544.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationLast`,__name:`pagination-last`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationLast`),h=t(`last`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(p.value)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Last Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||=i(`Last page`,-1)])],10,u))}});export{d as default};
1
+ import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationLast`,__name:`pagination-last`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationLast`),h=t(`last`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(p.value)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Last Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Last page`,-1))])],10,u))}});export{d as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationButtonProps } from "./types.js";
2
- import * as vue351 from "vue";
2
+ import * as vue1539 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-last.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: vue351.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue351.ComponentOptionsMixin, vue351.ComponentOptionsMixin, {}, string, vue351.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue351.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1539.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1539.ComponentOptionsMixin, vue1539.ComponentOptionsMixin, {}, string, vue1539.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1539.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 { PaginationListItemProps } from "./types.js";
2
- import * as vue356 from "vue";
2
+ import * as vue1529 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-list-item.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: vue356.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue356.ComponentOptionsMixin, vue356.ComponentOptionsMixin, {}, string, vue356.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue356.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1529.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue1529.ComponentOptionsMixin, vue1529.ComponentOptionsMixin, {}, string, vue1529.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1529.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,5 +1,5 @@
1
1
  import { Pages, PaginationListProps } from "./types.js";
2
- import * as vue341 from "vue";
2
+ import * as vue1509 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-list.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -8,7 +8,7 @@ declare var __VLS_1: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_1) => any;
10
10
  };
11
- declare const __VLS_base: vue341.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue341.ComponentOptionsMixin, vue341.ComponentOptionsMixin, {}, string, vue341.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue341.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1509.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue1509.ComponentOptionsMixin, vue1509.ComponentOptionsMixin, {}, string, vue1509.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1509.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{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationNext`,__name:`pagination-next`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationNext`),h=t(`next`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(d.value+1)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Next Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||=i(`Next page`,-1)])],10,u))}});export{d as default};
1
+ import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationNext`,__name:`pagination-next`,setup(a){let{page:d,onPageChange:f,pageCount:p,disabled:m}=e(`PaginationNext`),h=t(`next`),g=n(()=>m.value||d.value===p.value),_=()=>{g.value||f(d.value+1)};return(e,t)=>(s(),r(`button`,{class:o(l(h)),disabled:g.value,"data-disabled":g.value?``:void 0,"aria-label":`Next Page`,onClick:_},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Next page`,-1))])],10,u))}});export{d as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationButtonProps } from "./types.js";
2
- import * as vue346 from "vue";
2
+ import * as vue1519 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-next.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: vue346.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue346.ComponentOptionsMixin, vue346.ComponentOptionsMixin, {}, string, vue346.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue346.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1519.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1519.ComponentOptionsMixin, vue1519.ComponentOptionsMixin, {}, string, vue1519.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1519.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationPrev`,__name:`pagination-prev`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationPrev`),m=t(`prev`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(d.value-1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`Previous Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||=i(`Prev page`,-1)])],10,u))}});export{d as default};
1
+ import{usePaginationRootContext as e,usePaginationUi as t}from"./context.js";import{computed as n,createElementBlock as r,createTextVNode as i,defineComponent as a,normalizeClass as o,openBlock as s,renderSlot as c,unref as l}from"vue";const u=[`disabled`,`data-disabled`];var d=a({name:`PaginationPrev`,__name:`pagination-prev`,setup(a){let{page:d,onPageChange:f,disabled:p}=e(`PaginationPrev`),m=t(`prev`),h=n(()=>p.value||d.value===1),g=()=>{h.value||f(d.value-1)};return(e,t)=>(s(),r(`button`,{class:o(l(m)),disabled:h.value,"data-disabled":h.value?``:void 0,"aria-label":`Previous Page`,onClick:g},[c(e.$slots,`default`,{},()=>[t[0]||(t[0]=i(`Prev page`,-1))])],10,u))}});export{d as default};
@@ -1,12 +1,12 @@
1
1
  import { PaginationButtonProps } from "./types.js";
2
- import * as vue336 from "vue";
2
+ import * as vue1524 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-prev.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: vue336.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue336.ComponentOptionsMixin, vue336.ComponentOptionsMixin, {}, string, vue336.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue336.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1524.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue1524.ComponentOptionsMixin, vue1524.ComponentOptionsMixin, {}, string, vue1524.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1524.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,5 +1,5 @@
1
1
  import { PaginationRootProps } from "./types.js";
2
- import * as vue331 from "vue";
2
+ import * as vue1514 from "vue";
3
3
 
4
4
  //#region src/components/pagination/pagination-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,16 +9,16 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue331.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue331.ComponentOptionsMixin, vue331.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1514.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue1514.ComponentOptionsMixin, vue1514.ComponentOptionsMixin, {
13
13
  "update:page": (value: number) => any;
14
- }, string, vue331.PublicProps, Readonly<PaginationRootProps> & Readonly<{
14
+ }, string, vue1514.PublicProps, Readonly<PaginationRootProps> & Readonly<{
15
15
  "onUpdate:page"?: ((value: number) => any) | undefined;
16
16
  }>, {
17
- defaultPage: number;
18
17
  total: number;
19
18
  siblingCount: number;
20
19
  showEdges: boolean;
21
- }, {}, {}, {}, string, vue331.ComponentProvideOptions, false, {}, any>;
20
+ defaultPage: number;
21
+ }, {}, {}, {}, string, vue1514.ComponentProvideOptions, false, {}, any>;
22
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
23
23
  declare const _default: typeof __VLS_export;
24
24
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{computed as n,shallowRef as r,useId as i}from"vue";const[a,o]=t(`PopoverRoot`,t=>{let{open:a,modal:o}=t,s=e=>{a.value=e},c=()=>{a.value=!a.value},l=n(()=>e(a.value)),u=r(),d=e=>{u.value=e},f=r(``),p=()=>{f.value||=`soybean-popover-trigger-${i()}`},m=r(),h=e=>{m.value=e},g=r(``);return{open:a,onOpenChange:s,onOpenToggle:c,modal:o,dataState:l,triggerElement:u,onTriggerElementChange:d,triggerId:f,initTriggerId:p,popupElement:m,onPopupElementChange:h,popupId:g,initPopupId:()=>{g.value||=`soybean-popover-popup-${i()}`},hasCustomAnchor:r(!1)}});export{a as providePopoverRootContext,o as usePopoverRootContext};
1
+ import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{computed as n,shallowRef as r,useId as i}from"vue";const[a,o]=t(`PopoverRoot`,t=>{let{open:a,modal:o}=t,s=e=>{a.value=e},c=()=>{a.value=!a.value},l=n(()=>e(a.value)),u=r(),d=e=>{u.value=e},f=r(``),p=()=>{f.value||(f.value=`soybean-popover-trigger-${i()}`)},m=r(),h=e=>{m.value=e},g=r(``);return{open:a,onOpenChange:s,onOpenToggle:c,modal:o,dataState:l,triggerElement:u,onTriggerElementChange:d,triggerId:f,initTriggerId:p,popupElement:m,onPopupElementChange:h,popupId:g,initPopupId:()=>{g.value||(g.value=`soybean-popover-popup-${i()}`)},hasCustomAnchor:r(!1)}});export{a as providePopoverRootContext,o as usePopoverRootContext};
@@ -1,13 +1,13 @@
1
1
  import { PopperAnchorProps } from "../popper/types.js";
2
2
  import "./types.js";
3
- import * as vue1539 from "vue";
3
+ import * as vue1488 from "vue";
4
4
 
5
5
  //#region src/components/popover/popover-anchor.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: vue1539.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1539.ComponentOptionsMixin, vue1539.ComponentOptionsMixin, {}, string, vue1539.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1539.ComponentProvideOptions, false, {}, any>;
10
+ declare const __VLS_base: vue1488.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1488.ComponentOptionsMixin, vue1488.ComponentOptionsMixin, {}, string, vue1488.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1488.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{Primitive as e}from"../primitive/primitive.js";import{usePopoverRootContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";var l=i({name:`PopoverClose`,__name:`popover-close`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i,{onOpenChange:u}=t(`PopoverClose`),d=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{as:i.as,"as-child":i.asChild,type:d.value,onClick:n[0]||=e=>s(u)(!1)},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`]))}});export{l as default};
1
+ import{Primitive as e}from"../primitive/primitive.js";import{usePopoverRootContext as t}from"./context.js";import{computed as n,createBlock as r,defineComponent as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";var l=i({name:`PopoverClose`,__name:`popover-close`,props:{asChild:{type:Boolean},as:{default:`button`}},setup(i){let l=i,{onOpenChange:u}=t(`PopoverClose`),d=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{as:i.as,"as-child":i.asChild,type:d.value,onClick:n[0]||(n[0]=e=>s(u)(!1))},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`]))}});export{l as default};
@@ -1,16 +1,16 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { PopoverCloseProps } from "./types.js";
4
- import * as vue1620 from "vue";
4
+ import * as vue1503 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-close.vue.d.ts
7
7
  declare var __VLS_10: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue1620.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1620.ComponentOptionsMixin, vue1620.ComponentOptionsMixin, {}, string, vue1620.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
12
- as: AsTag | vue1620.Component;
13
- }, {}, {}, {}, string, vue1620.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1503.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1503.ComponentOptionsMixin, vue1503.ComponentOptionsMixin, {}, string, vue1503.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
12
+ as: AsTag | vue1503.Component;
13
+ }, {}, {}, {}, string, vue1503.ComponentProvideOptions, false, {}, any>;
14
14
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
15
15
  declare const _default: typeof __VLS_export;
16
16
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { PopoverPopupProps } from "./types.js";
2
- import * as vue1610 from "vue";
2
+ import * as vue1493 from "vue";
3
3
 
4
4
  //#region src/components/popover/popover-popup.vue.d.ts
5
5
  declare var __VLS_8: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_8) => any;
8
8
  };
9
- declare const __VLS_base: vue1610.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1610.ComponentOptionsMixin, vue1610.ComponentOptionsMixin, {}, string, vue1610.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1610.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1493.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1493.ComponentOptionsMixin, vue1493.ComponentOptionsMixin, {}, string, vue1493.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1493.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,28 +1,28 @@
1
1
  import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js";
2
2
  import { PopoverPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1615 from "vue";
4
+ import * as vue1498 from "vue";
5
5
 
6
6
  //#region src/components/popover/popover-positioner.vue.d.ts
7
7
  declare var __VLS_13: {};
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_13) => any;
10
10
  };
11
- declare const __VLS_base: vue1615.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1615.ComponentOptionsMixin, vue1615.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue1498.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1498.ComponentOptionsMixin, vue1498.ComponentOptionsMixin, {
12
12
  escapeKeyDown: (event: KeyboardEvent) => any;
13
13
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
14
14
  focusOutside: (event: FocusOutsideEvent) => any;
15
15
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
16
- openAutoFocus: (event: Event) => any;
17
16
  closeAutoFocus: (event: Event) => any;
18
- }, string, vue1615.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
17
+ openAutoFocus: (event: Event) => any;
18
+ }, string, vue1498.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
19
19
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
20
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
21
21
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
22
22
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
23
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
24
23
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, vue1615.ComponentProvideOptions, false, {}, any>;
24
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
25
+ }>, {}, {}, {}, {}, string, vue1498.ComponentProvideOptions, false, {}, any>;
26
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
27
27
  declare const _default: typeof __VLS_export;
28
28
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { PopoverRootProps } from "./types.js";
2
- import * as vue1599 from "vue";
2
+ import * as vue1477 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: vue1599.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1599.ComponentOptionsMixin, vue1599.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1477.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1477.ComponentOptionsMixin, vue1477.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue1599.PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ }, string, vue1477.PublicProps, Readonly<PopoverRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
- modal: boolean;
19
18
  defaultOpen: boolean;
20
- }, {}, {}, {}, string, vue1599.ComponentProvideOptions, false, {}, any>;
19
+ modal: boolean;
20
+ }, {}, {}, {}, string, vue1477.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 vue1604 from "vue";
4
+ import * as vue1482 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: vue1604.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1604.ComponentOptionsMixin, vue1604.ComponentOptionsMixin, {}, string, vue1604.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
- as: AsTag | vue1604.Component;
13
- }, {}, {}, {}, string, vue1604.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1482.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1482.ComponentOptionsMixin, vue1482.ComponentOptionsMixin, {}, string, vue1482.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1482.Component;
13
+ }, {}, {}, {}, string, vue1482.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 vue1554 from "vue";
4
+ import * as vue1405 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: vue1554.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1554.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1554.ComputedRef<ClassValue> : vue1554.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
10
+ declare const providePopperUi: (ui: vue1405.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1405.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1405.ComputedRef<ClassValue> : vue1405.ComputedRef<Partial<UiClass<PopperUiSlot>>>;
11
11
  //#endregion
12
12
  export { providePopperUi };
@@ -1,12 +1,12 @@
1
1
  import { PopperAnchorProps } from "./types.js";
2
- import * as vue1387 from "vue";
2
+ import * as vue1395 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: vue1387.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1387.ComponentOptionsMixin, vue1387.ComponentOptionsMixin, {}, string, vue1387.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1387.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1395.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1395.ComponentOptionsMixin, vue1395.ComponentOptionsMixin, {}, string, vue1395.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1395.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 vue1392 from "vue";
2
+ import * as vue1400 from "vue";
3
3
 
4
4
  //#region src/components/popper/popper-arrow.vue.d.ts
5
- declare const __VLS_export: vue1392.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1392.ComponentOptionsMixin, vue1392.ComponentOptionsMixin, {}, string, vue1392.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1392.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue1400.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1400.ComponentOptionsMixin, vue1400.ComponentOptionsMixin, {}, string, vue1400.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1400.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 vue1626 from "vue";
2
+ import * as vue1451 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: vue1626.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1626.ComponentOptionsMixin, vue1626.ComponentOptionsMixin, {}, string, vue1626.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1626.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1451.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1451.ComponentOptionsMixin, vue1451.ComponentOptionsMixin, {}, string, vue1451.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1451.ComponentProvideOptions, false, {}, any>;
10
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
11
11
  declare const _default: typeof __VLS_export;
12
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1,28 +1,28 @@
1
1
  import { Align, Placement as Placement$1 } from "../../types/common.js";
2
2
  import { PopperPositionerProps } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1527 from "vue";
4
+ import * as vue1445 from "vue";
5
5
  import { CSSProperties } from "vue";
6
6
  import * as _floating_ui_dom0 from "@floating-ui/dom";
7
- import * as _floating_ui_utils0 from "@floating-ui/utils";
7
+ import * as _floating_ui_utils3 from "@floating-ui/utils";
8
8
 
9
9
  //#region src/components/popper/popper-positioner.vue.d.ts
10
10
  declare var __VLS_1: {};
11
11
  type __VLS_Slots = {} & {
12
12
  default?: (props: typeof __VLS_1) => any;
13
13
  };
14
- declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1527.ComponentOptionsMixin, vue1527.ComponentOptionsMixin, {
14
+ declare const __VLS_base: vue1445.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1445.ComponentOptionsMixin, vue1445.ComponentOptionsMixin, {
15
15
  placed: () => any;
16
- }, string, vue1527.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
+ }, string, vue1445.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
17
17
  onPlaced?: (() => any) | undefined;
18
18
  }>, {
19
- style: string | false | CSSProperties | vue1527.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue1445.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
24
  onFocus: (payload: FocusEvent) => void;
25
+ onError: (payload: Event) => void;
26
26
  onProgress: (payload: ProgressEvent<EventTarget>) => void;
27
27
  onFullscreenchange: (payload: Event) => void;
28
28
  onFullscreenerror: (payload: Event) => void;
@@ -119,8 +119,8 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
119
119
  contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
120
120
  dir: string;
121
121
  draggable: boolean | "true" | "false";
122
- enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
123
- 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";
124
124
  hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
125
125
  id: string;
126
126
  inert: boolean | "true" | "false";
@@ -151,7 +151,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
151
151
  results: string | number;
152
152
  security: string;
153
153
  unselectable: "on" | "off";
154
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
154
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
155
155
  is: string;
156
156
  exportparts: string;
157
157
  part: string;
@@ -164,7 +164,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
164
164
  'aria-colindex': string | number;
165
165
  'aria-colspan': string | number;
166
166
  'aria-controls': string;
167
- 'aria-current': "time" | "step" | (boolean | "true" | "false") | "page" | "location" | "date";
167
+ 'aria-current': "time" | "page" | (boolean | "true" | "false") | "step" | "location" | "date";
168
168
  'aria-describedby': string;
169
169
  'aria-details': string;
170
170
  'aria-disabled': boolean | "true" | "false";
@@ -203,25 +203,25 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
203
203
  'aria-valuemin': string | number;
204
204
  'aria-valuenow': string | number;
205
205
  'aria-valuetext': string;
206
- side: _floating_ui_utils0.Side;
207
- sideOffset: number;
208
206
  align: Align;
209
- arrowPadding: number;
210
- updatePositionStrategy: "optimized" | "always";
207
+ side: _floating_ui_utils3.Side;
208
+ reference: _floating_ui_dom0.ReferenceElement;
211
209
  placement: Placement$1;
210
+ sideOffset: number;
212
211
  sideFlip: boolean;
213
212
  alignOffset: number;
214
213
  alignFlip: boolean;
215
214
  avoidCollisions: boolean;
216
215
  collisionBoundary: Element | null | Array<Element | null>;
217
- collisionPadding: _floating_ui_utils0.Padding;
216
+ collisionPadding: _floating_ui_utils3.Padding;
217
+ arrowPadding: number;
218
218
  sticky: "partial" | "always";
219
219
  hideWhenDetached: boolean;
220
220
  positionStrategy: "absolute" | "fixed";
221
+ updatePositionStrategy: "optimized" | "always";
221
222
  disableUpdateOnLayoutShift: boolean;
222
223
  prioritizePosition: boolean;
223
- reference: _floating_ui_dom0.ReferenceElement;
224
- }, {}, {}, {}, string, vue1527.ComponentProvideOptions, false, {}, any>;
224
+ }, {}, {}, {}, string, vue1445.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 vue1594 from "vue";
1
+ import * as vue1390 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: vue1594.DefineComponent<{}, {}, {}, {}, {}, vue1594.ComponentOptionsMixin, vue1594.ComponentOptionsMixin, {}, string, vue1594.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1594.ComponentProvideOptions, true, {}, any>;
8
+ declare const __VLS_base: vue1390.DefineComponent<{}, {}, {}, {}, {}, vue1390.ComponentOptionsMixin, vue1390.ComponentOptionsMixin, {}, string, vue1390.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1390.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 vue25 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: vue25.DefineComponent<PortalProps, {}, {}, {}, {}, vue25.ComponentOptionsMixin, vue25.ComponentOptionsMixin, {}, string, vue25.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, vue25.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,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 vue1047 from "vue";
4
+ import * as vue1358 from "vue";
5
5
 
6
6
  //#region src/components/radio-group/context.d.ts
7
7
 
8
- declare const provideRadioGroupUi: (ui: vue1047.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue1047.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue1047.ComputedRef<ClassValue> : vue1047.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
8
+ declare const provideRadioGroupUi: (ui: vue1358.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue1358.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue1358.ComputedRef<ClassValue> : vue1358.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideRadioGroupUi };
@@ -1 +1 @@
1
- import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import r from"../roving-focus/roving-focus-item.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`];var w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]||=x(S(()=>{},[`prevent`]),[`enter`]),onFocus:W},[h(e.$slots,`default`,{checked:g(N),required:g(M),disabled:g(A)})],42,C)]),_:3},8,[`checked`,`focusable`,`active`]))}});export{w as default};
1
+ import{getAriaLabel as e}from"../../shared/dom.js";import{isFormControl as t}from"../../shared/vue.js";import{handleAndDispatchCustomEvent as n}from"../../shared/event.js";import r from"../roving-focus/roving-focus-item.js";import{useRadioGroupItemContext as i,useRadioGroupRootContext as a,useRadioGroupUi as o}from"./context.js";import{computed as s,createBlock as c,createElementVNode as l,defineComponent as u,normalizeClass as d,onBeforeMount as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,useAttrs as _,useTemplateRef as v,watchEffect as y,withCtx as b,withKeys as x,withModifiers as S}from"vue";const C=[`id`,`disabled`,`aria-checked`,`aria-label`,`data-disabled`,`data-state`,`value`,`required`,`name`];var w=u({name:`RadioGroupControl`,__name:`radio-group-control`,props:{id:{}},setup(u){let w=u,T=_(),E=o(`control`),D=v(`controlElement`),O=a(`RadioGroupControl`),{value:k,disabled:A,name:j,required:M,checked:N,dataState:P,onSelect:F,initControlId:I}=i(`RadioGroupControl`),L=s(()=>t(D.value)),R=s(()=>e(D.value,w.id,T[`aria-label`])),z=[`ArrowUp`,`ArrowDown`,`ArrowLeft`,`ArrowRight`],B=!1;function V(e){z.includes(e.key)&&(B=!0)}function H(){B=!1}function U(e){w.disabled||n(`radio.select`,t=>{F(t),!t?.defaultPrevented&&(O.modelValue.value=k.value,L.value&&e.stopPropagation())},{originalEvent:e,value:k.value})}function W(){setTimeout(()=>{B&&D.value?.click()},0)}return y(()=>{w.id&&I(w.id)}),p(()=>{document.addEventListener(`keydown`,V),document.addEventListener(`keyup`,H)}),f(()=>{document.removeEventListener(`keydown`,V),document.removeEventListener(`keyup`,H)}),(e,t)=>(m(),c(g(r),{"as-child":``,checked:g(N),focusable:!g(A),active:g(N)},{default:b(()=>[l(`button`,{id:u.id,ref_key:`controlElement`,ref:D,class:d(g(E)),role:`radio`,type:`button`,disabled:g(A),"aria-checked":g(N),"aria-label":R.value,"data-disabled":g(A)?``:void 0,"data-state":g(P),value:String(g(k)),required:g(M),name:g(j),onClick:S(U,[`stop`]),onKeydown:t[0]||(t[0]=x(S(()=>{},[`prevent`]),[`enter`])),onFocus:W},[h(e.$slots,`default`,{checked:g(N),required:g(M),disabled:g(A)})],42,C)]),_:3},8,[`checked`,`focusable`,`active`]))}});export{w as default};
@@ -1,5 +1,5 @@
1
1
  import { RadioGroupControlProps } from "./types.js";
2
- import * as vue1031 from "vue";
2
+ import * as vue1342 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: vue1031.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue1031.ComponentOptionsMixin, vue1031.ComponentOptionsMixin, {}, string, vue1031.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1031.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue1342.DefineComponent<RadioGroupControlProps, {}, {}, {}, {}, vue1342.ComponentOptionsMixin, vue1342.ComponentOptionsMixin, {}, string, vue1342.PublicProps, Readonly<RadioGroupControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1342.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 & {