@soybeanjs/headless 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (278) 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 +5 -5
  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/label/label.vue.d.ts +2 -2
  91. package/dist/components/layout/context.d.ts +2 -2
  92. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  93. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  94. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  95. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  96. package/dist/components/layout/layout-rail.js +1 -1
  97. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  98. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  99. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  100. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  101. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  102. package/dist/components/link/link.vue.d.ts +4 -4
  103. package/dist/components/list/context.d.ts +2 -2
  104. package/dist/components/list/list-content.vue.d.ts +2 -2
  105. package/dist/components/list/list-description.vue.d.ts +2 -2
  106. package/dist/components/list/list-item.vue.d.ts +2 -2
  107. package/dist/components/list/list-root.vue.d.ts +2 -2
  108. package/dist/components/list/list-title.vue.d.ts +2 -2
  109. package/dist/components/listbox/context.d.ts +2 -2
  110. package/dist/components/listbox/listbox-content.js +1 -1
  111. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  112. package/dist/components/listbox/listbox-filter.js +1 -1
  113. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  114. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  115. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  116. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  117. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  118. package/dist/components/listbox/listbox-root.js +1 -1
  119. package/dist/components/listbox/listbox-root.vue.d.ts +7 -7
  120. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  121. package/dist/components/menu/context.d.ts +2 -2
  122. package/dist/components/menu/context.js +1 -1
  123. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  124. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  125. package/dist/components/menu/menu-content-impl.js +1 -1
  126. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  127. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  128. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  129. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  130. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  131. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  132. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  133. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  134. package/dist/components/menu/menu-sub-content.js +1 -1
  135. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  136. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  137. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  138. package/dist/components/navigation-menu/context.d.ts +2 -2
  139. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  140. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  141. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  142. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  143. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  144. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  145. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  146. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  147. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  148. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  149. package/dist/components/number-input/context.d.ts +2 -2
  150. package/dist/components/number-input/number-input-control.js +1 -1
  151. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  152. package/dist/components/number-input/number-input-decrement.js +1 -1
  153. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  154. package/dist/components/number-input/number-input-increment.js +1 -1
  155. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  156. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  157. package/dist/components/pagination/context.d.ts +2 -2
  158. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  159. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  160. package/dist/components/pagination/pagination-first.js +1 -1
  161. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  162. package/dist/components/pagination/pagination-last.js +1 -1
  163. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  164. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  165. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  166. package/dist/components/pagination/pagination-next.js +1 -1
  167. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  168. package/dist/components/pagination/pagination-prev.js +1 -1
  169. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  170. package/dist/components/pagination/pagination-root.vue.d.ts +5 -5
  171. package/dist/components/popover/context.js +1 -1
  172. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  173. package/dist/components/popover/popover-close.js +1 -1
  174. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  175. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  176. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  177. package/dist/components/popover/popover-root.vue.d.ts +5 -5
  178. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  179. package/dist/components/popper/context.d.ts +2 -2
  180. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  181. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  182. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  183. package/dist/components/popper/popper-positioner.vue.d.ts +53 -53
  184. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  185. package/dist/components/portal/portal.vue.d.ts +3 -3
  186. package/dist/components/primitive/primitive.d.ts +2 -2
  187. package/dist/components/radio-group/context.d.ts +2 -2
  188. package/dist/components/radio-group/radio-group-control.js +1 -1
  189. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  190. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  191. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  192. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  193. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  194. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  195. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  196. package/dist/components/select/context.d.ts +2 -2
  197. package/dist/components/select/context.js +1 -1
  198. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  199. package/dist/components/select/select-content-impl.js +1 -1
  200. package/dist/components/select/select-content.vue.d.ts +8 -8
  201. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  202. package/dist/components/select/select-group.vue.d.ts +2 -2
  203. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  204. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  205. package/dist/components/select/select-item.js +1 -1
  206. package/dist/components/select/select-item.vue.d.ts +4 -4
  207. package/dist/components/select/select-root.vue.d.ts +5 -5
  208. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  209. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  210. package/dist/components/select/select-separator.vue.d.ts +2 -2
  211. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  212. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  213. package/dist/components/select/select-value.vue.d.ts +3 -3
  214. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  215. package/dist/components/separator/context.d.ts +2 -2
  216. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  217. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  218. package/dist/components/slot/slot.d.ts +2 -2
  219. package/dist/components/switch/context.d.ts +2 -2
  220. package/dist/components/switch/switch-control.js +1 -1
  221. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  222. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  223. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  224. package/dist/components/tabs/context.d.ts +2 -2
  225. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  226. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  227. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  228. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  229. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  230. package/dist/components/tag/tag.vue.d.ts +4 -4
  231. package/dist/components/textarea/context.d.ts +2 -2
  232. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  233. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  234. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  235. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  236. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  237. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  238. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  239. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  240. package/dist/components/toast/toast-viewport.js +1 -1
  241. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  242. package/dist/components/tooltip/context.js +1 -1
  243. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  244. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  245. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  246. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  247. package/dist/components/tree/tree-item.js +1 -1
  248. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  249. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  250. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  251. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  252. package/dist/components/tree-menu/context.d.ts +2 -2
  253. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  254. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  255. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  256. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  257. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  258. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  259. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  260. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  261. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  262. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  263. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  264. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  265. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  266. package/dist/composables/use-collection.js +1 -1
  267. package/dist/composables/use-forward-element.d.ts +2 -2
  268. package/dist/composables/use-grace-area.js +1 -1
  269. package/dist/composables/use-image-loading-status.d.ts +2 -2
  270. package/dist/composables/use-image-loading-status.js +1 -1
  271. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  272. package/dist/composables/use-is-using-keyboard.js +1 -1
  273. package/dist/composables/use-kbd.d.ts +2 -2
  274. package/dist/composables/use-presence.d.ts +2 -2
  275. package/dist/composables/use-props.d.ts +3 -3
  276. package/dist/composables/use-selection.d.ts +4 -4
  277. package/dist/shared/focus.js +1 -1
  278. package/package.json +26 -26
@@ -1,12 +1,12 @@
1
1
  import { PaginationButtonProps } from "./types.js";
2
- import * as vue326 from "vue";
2
+ import * as vue975 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: vue975.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue975.ComponentOptionsMixin, vue975.ComponentOptionsMixin, {}, string, vue975.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue975.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 vue965 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: vue965.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue965.ComponentOptionsMixin, vue965.ComponentOptionsMixin, {}, string, vue965.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue965.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 vue960 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: vue960.DefineComponent<PaginationListItemProps, {}, {}, {}, {}, vue960.ComponentOptionsMixin, vue960.ComponentOptionsMixin, {}, string, vue960.PublicProps, Readonly<PaginationListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue960.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 vue980 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: vue980.DefineComponent<PaginationListProps, {}, {}, {}, {}, vue980.ComponentOptionsMixin, vue980.ComponentOptionsMixin, {}, string, vue980.PublicProps, Readonly<PaginationListProps> & Readonly<{}>, {}, {}, {}, {}, string, vue980.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 vue955 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: vue955.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue955.ComponentOptionsMixin, vue955.ComponentOptionsMixin, {}, string, vue955.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue955.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 vue950 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: vue950.DefineComponent<PaginationButtonProps, {}, {}, {}, {}, vue950.ComponentOptionsMixin, vue950.ComponentOptionsMixin, {}, string, vue950.PublicProps, Readonly<PaginationButtonProps> & Readonly<{}>, {}, {}, {}, {}, string, vue950.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 vue1017 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: vue1017.DefineComponent<PaginationRootProps, {}, {}, {}, {}, vue1017.ComponentOptionsMixin, vue1017.ComponentOptionsMixin, {
13
13
  "update:page": (value: number) => any;
14
- }, string, vue331.PublicProps, Readonly<PaginationRootProps> & Readonly<{
14
+ }, string, vue1017.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, vue1017.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 vue1083 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: vue1083.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1083.ComponentOptionsMixin, vue1083.ComponentOptionsMixin, {}, string, vue1083.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1083.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 vue1066 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: vue1066.DefineComponent<PopoverCloseProps, {}, {}, {}, {}, vue1066.ComponentOptionsMixin, vue1066.ComponentOptionsMixin, {}, string, vue1066.PublicProps, Readonly<PopoverCloseProps> & Readonly<{}>, {
12
+ as: AsTag | vue1066.Component;
13
+ }, {}, {}, {}, string, vue1066.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 vue1088 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: vue1088.DefineComponent<PopoverPopupProps, {}, {}, {}, {}, vue1088.ComponentOptionsMixin, vue1088.ComponentOptionsMixin, {}, string, vue1088.PublicProps, Readonly<PopoverPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1088.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 vue1061 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: vue1061.DefineComponent<PopoverPositionerProps, {}, {}, {}, {}, vue1061.ComponentOptionsMixin, vue1061.ComponentOptionsMixin, {
12
+ closeAutoFocus: (event: Event) => any;
12
13
  escapeKeyDown: (event: KeyboardEvent) => any;
13
14
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
14
15
  focusOutside: (event: FocusOutsideEvent) => any;
15
16
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
16
17
  openAutoFocus: (event: Event) => any;
17
- closeAutoFocus: (event: Event) => any;
18
- }, string, vue1615.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
18
+ }, string, vue1061.PublicProps, Readonly<PopoverPositionerProps> & Readonly<{
19
+ onCloseAutoFocus?: ((event: Event) => any) | undefined;
19
20
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
20
21
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
21
22
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
22
23
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
23
24
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
24
- onCloseAutoFocus?: ((event: Event) => any) | undefined;
25
- }>, {}, {}, {}, {}, string, vue1615.ComponentProvideOptions, false, {}, any>;
25
+ }>, {}, {}, {}, {}, string, vue1061.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 vue1072 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: vue1072.DefineComponent<PopoverRootProps, {}, {}, {}, {}, vue1072.ComponentOptionsMixin, vue1072.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue1599.PublicProps, Readonly<PopoverRootProps> & Readonly<{
14
+ }, string, vue1072.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, vue1072.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 vue1077 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: vue1077.DefineComponent<PopoverTriggerProps, {}, {}, {}, {}, vue1077.ComponentOptionsMixin, vue1077.ComponentOptionsMixin, {}, string, vue1077.PublicProps, Readonly<PopoverTriggerProps> & Readonly<{}>, {
12
+ as: AsTag | vue1077.Component;
13
+ }, {}, {}, {}, string, vue1077.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 vue1098 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: vue1098.ComputedRef<Partial<UiClass<PopperUiSlot>>>) => vue1098.ComputedRef<Partial<UiClass<PopperUiSlot>>>, usePopperUi: <S extends PopperUiSlot | undefined = undefined>(slot?: S | undefined) => S extends PopperUiSlot ? vue1098.ComputedRef<ClassValue> : vue1098.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 vue1175 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: vue1175.DefineComponent<PopperAnchorProps, {}, {}, {}, {}, vue1175.ComponentOptionsMixin, vue1175.ComponentOptionsMixin, {}, string, vue1175.PublicProps, Readonly<PopperAnchorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1175.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 vue1093 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: vue1093.DefineComponent<PopperArrowProps, {}, {}, {}, {}, vue1093.ComponentOptionsMixin, vue1093.ComponentOptionsMixin, {}, string, vue1093.PublicProps, Readonly<PopperArrowProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1093.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 vue1150 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: vue1150.DefineComponent<PopperPopupProps, {}, {}, {}, {}, vue1150.ComponentOptionsMixin, vue1150.ComponentOptionsMixin, {}, string, vue1150.PublicProps, Readonly<PopperPopupProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1150.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 vue1138 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: vue1138.DefineComponent<PopperPositionerProps, {}, {}, {}, {}, vue1138.ComponentOptionsMixin, vue1138.ComponentOptionsMixin, {
15
15
  placed: () => any;
16
- }, string, vue1527.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
16
+ }, string, vue1138.PublicProps, Readonly<PopperPositionerProps> & Readonly<{
17
17
  onPlaced?: (() => any) | undefined;
18
18
  }>, {
19
- style: string | false | CSSProperties | vue1527.StyleValue[] | null;
19
+ style: string | false | CSSProperties | vue1138.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;
@@ -115,46 +115,11 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
115
115
  onEncrypted: (payload: MediaEncryptedEvent) => void;
116
116
  innerHTML: string;
117
117
  class: any;
118
- accesskey: string;
119
- contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
120
- dir: string;
121
- draggable: boolean | "true" | "false";
122
- enterkeyhint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
123
- enterKeyHint: "done" | "next" | "enter" | "search" | "go" | "previous" | "send";
124
- hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
118
+ color: string;
125
119
  id: string;
126
- inert: boolean | "true" | "false";
127
120
  lang: string;
128
- placeholder: string;
129
- spellcheck: boolean | "true" | "false";
130
- tabindex: string | number;
131
- translate: "yes" | "no";
132
- radiogroup: string;
133
121
  role: string;
134
- about: string;
135
- datatype: string;
136
- inlist: any;
137
- prefix: string;
138
- property: string;
139
- resource: string;
140
- typeof: string;
141
- vocab: string;
142
- autocapitalize: string;
143
- autocorrect: string;
144
- autosave: string;
145
- color: string;
146
- itemprop: string;
147
- itemscope: boolean | "true" | "false";
148
- itemtype: string;
149
- itemid: string;
150
- itemref: string;
151
- results: string | number;
152
- security: string;
153
- unselectable: "on" | "off";
154
- inputmode: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
155
- is: string;
156
- exportparts: string;
157
- part: string;
122
+ tabindex: string | number;
158
123
  'aria-activedescendant': string;
159
124
  'aria-atomic': boolean | "true" | "false";
160
125
  'aria-autocomplete': "list" | "none" | "inline" | "both";
@@ -164,7 +129,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
164
129
  'aria-colindex': string | number;
165
130
  'aria-colspan': string | number;
166
131
  'aria-controls': string;
167
- 'aria-current': "time" | "step" | (boolean | "true" | "false") | "page" | "location" | "date";
132
+ 'aria-current': "time" | (boolean | "true" | "false") | "page" | "step" | "location" | "date";
168
133
  'aria-describedby': string;
169
134
  'aria-details': string;
170
135
  'aria-disabled': boolean | "true" | "false";
@@ -190,7 +155,7 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
190
155
  'aria-posinset': string | number;
191
156
  'aria-pressed': (boolean | "true" | "false") | "mixed";
192
157
  'aria-readonly': boolean | "true" | "false";
193
- 'aria-relevant': "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
158
+ 'aria-relevant': "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals";
194
159
  'aria-required': boolean | "true" | "false";
195
160
  'aria-roledescription': string;
196
161
  'aria-rowcount': string | number;
@@ -203,25 +168,60 @@ declare const __VLS_base: vue1527.DefineComponent<PopperPositionerProps, {}, {},
203
168
  'aria-valuemin': string | number;
204
169
  'aria-valuenow': string | number;
205
170
  'aria-valuetext': string;
206
- side: _floating_ui_utils0.Side;
207
- sideOffset: number;
208
- align: Align;
209
- arrowPadding: number;
210
- updatePositionStrategy: "optimized" | "always";
171
+ accesskey: string;
172
+ contenteditable: (boolean | "true" | "false") | "inherit" | "plaintext-only";
173
+ dir: string;
174
+ draggable: boolean | "true" | "false";
175
+ enterkeyhint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
176
+ enterKeyHint: "done" | "next" | "search" | "enter" | "go" | "previous" | "send";
177
+ hidden: "" | "hidden" | (boolean | "true" | "false") | "until-found";
178
+ inert: boolean | "true" | "false";
179
+ placeholder: string;
180
+ spellcheck: boolean | "true" | "false";
181
+ translate: "yes" | "no";
182
+ radiogroup: string;
183
+ about: string;
184
+ datatype: string;
185
+ inlist: any;
186
+ prefix: string;
187
+ property: string;
188
+ resource: string;
189
+ typeof: string;
190
+ vocab: string;
191
+ autocapitalize: string;
192
+ autocorrect: string;
193
+ autosave: string;
194
+ itemprop: string;
195
+ itemscope: boolean | "true" | "false";
196
+ itemtype: string;
197
+ itemid: string;
198
+ itemref: string;
199
+ results: string | number;
200
+ security: string;
201
+ unselectable: "off" | "on";
202
+ inputmode: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal";
203
+ is: string;
204
+ exportparts: string;
205
+ part: string;
206
+ reference: _floating_ui_dom0.ReferenceElement;
211
207
  placement: Placement$1;
208
+ side: _floating_ui_utils3.Side;
209
+ sideOffset: number;
212
210
  sideFlip: boolean;
211
+ align: Align;
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, vue1138.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 vue1170 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: vue1170.DefineComponent<{}, {}, {}, {}, {}, vue1170.ComponentOptionsMixin, vue1170.ComponentOptionsMixin, {}, string, vue1170.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue1170.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,7 +1,7 @@
1
1
  import { PrimitiveProps } from "./types.js";
2
- import * as vue18 from "vue";
2
+ import * as vue16 from "vue";
3
3
 
4
4
  //#region src/components/primitive/primitive.d.ts
5
- declare const Primitive: vue18.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue18.PublicProps>;
5
+ declare const Primitive: vue16.DefineSetupFnComponent<PrimitiveProps, {}, {}, PrimitiveProps & {}, vue16.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 vue1047 from "vue";
4
+ import * as vue743 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: vue743.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>) => vue743.ComputedRef<Partial<UiClass<RadioGroupUiSlot>>>, useRadioGroupUi: <S extends RadioGroupUiSlot | undefined = undefined>(slot?: S | undefined) => S extends RadioGroupUiSlot ? vue743.ComputedRef<ClassValue> : vue743.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};