@soybeanjs/headless 0.0.19 → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (317) hide show
  1. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  2. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  4. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  5. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  6. package/dist/components/accordion/context.d.ts +2 -2
  7. package/dist/components/accordion/context.js +1 -1
  8. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  9. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  10. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  11. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  12. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  13. package/dist/components/alert/context.d.ts +2 -2
  14. package/dist/components/alert/index.d.ts +1 -1
  15. package/dist/components/alert/index.js +1 -1
  16. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  17. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  18. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  19. package/dist/components/alert-dialog/index.d.ts +5 -5
  20. package/dist/components/alert-dialog/index.js +1 -1
  21. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  22. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  23. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  24. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  25. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  26. package/dist/components/avatar/context.d.ts +2 -2
  27. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  28. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  29. package/dist/components/badge/context.d.ts +2 -2
  30. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  31. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  32. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  33. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +7 -3
  34. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  35. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  36. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  37. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  38. package/dist/components/breadcrumb/context.d.ts +2 -2
  39. package/dist/components/breadcrumb/index.d.ts +1 -1
  40. package/dist/components/breadcrumb/index.js +1 -1
  41. package/dist/components/button/button.vue.d.ts +5 -5
  42. package/dist/components/card/card-content.vue.d.ts +2 -2
  43. package/dist/components/card/card-description.vue.d.ts +2 -2
  44. package/dist/components/card/card-footer.vue.d.ts +2 -2
  45. package/dist/components/card/card-header.vue.d.ts +2 -2
  46. package/dist/components/card/card-root.vue.d.ts +2 -2
  47. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  48. package/dist/components/card/card-title.vue.d.ts +2 -2
  49. package/dist/components/card/context.d.ts +2 -2
  50. package/dist/components/card/index.d.ts +3 -3
  51. package/dist/components/card/index.js +1 -1
  52. package/dist/components/checkbox/checkbox-control.js +1 -1
  53. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  54. package/dist/components/checkbox/checkbox-group-root.js +1 -1
  55. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  56. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  57. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  58. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  59. package/dist/components/checkbox/context.d.ts +2 -2
  60. package/dist/components/checkbox/index.d.ts +1 -1
  61. package/dist/components/checkbox/index.js +1 -1
  62. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  63. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  64. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  65. package/dist/components/collapsible/context.d.ts +2 -2
  66. package/dist/components/config-provider/config-provider.js +1 -1
  67. package/dist/components/config-provider/config-provider.vue.d.ts +4 -6
  68. package/dist/components/config-provider/context.js +1 -1
  69. package/dist/components/config-provider/types.d.ts +1 -9
  70. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  71. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  72. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  73. package/dist/components/context-menu/context.js +1 -1
  74. package/dist/components/context-menu/index.d.ts +9 -9
  75. package/dist/components/context-menu/index.js +1 -1
  76. package/dist/components/dialog/context.d.ts +2 -2
  77. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  78. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  79. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  80. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  81. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  82. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  83. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  84. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  85. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  86. package/dist/components/dialog/index.d.ts +3 -3
  87. package/dist/components/dialog/index.js +1 -1
  88. package/dist/components/dropdown-menu/context.js +1 -1
  89. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  90. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +4 -4
  91. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  92. package/dist/components/dropdown-menu/index.d.ts +8 -8
  93. package/dist/components/dropdown-menu/index.js +1 -1
  94. package/dist/components/form/context.d.ts +2 -2
  95. package/dist/components/form/form-description.vue.d.ts +2 -2
  96. package/dist/components/form/form-error.vue.d.ts +2 -2
  97. package/dist/components/form/form-field.vue.d.ts +2 -2
  98. package/dist/components/form/form-label.vue.d.ts +2 -2
  99. package/dist/components/input/context.d.ts +2 -2
  100. package/dist/components/input/input-control.vue.d.ts +2 -2
  101. package/dist/components/input/input-root.vue.d.ts +4 -4
  102. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  103. package/dist/components/label/label.vue.d.ts +2 -2
  104. package/dist/components/layout/context.d.ts +2 -2
  105. package/dist/components/layout/index.d.ts +3 -3
  106. package/dist/components/layout/index.js +1 -1
  107. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  108. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  109. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  110. package/dist/components/layout/layout-mobile.js +1 -1
  111. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  112. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  113. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  114. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  115. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  116. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  117. package/dist/components/link/link.js +1 -1
  118. package/dist/components/link/link.vue.d.ts +11 -12
  119. package/dist/components/list/context.d.ts +2 -2
  120. package/dist/components/list/index.d.ts +1 -1
  121. package/dist/components/list/index.js +1 -1
  122. package/dist/components/list/list-content.vue.d.ts +2 -2
  123. package/dist/components/list/list-description.vue.d.ts +2 -2
  124. package/dist/components/list/list-item.vue.d.ts +2 -2
  125. package/dist/components/list/list-root.vue.d.ts +2 -2
  126. package/dist/components/list/list-title.vue.d.ts +2 -2
  127. package/dist/components/listbox/context.d.ts +2 -2
  128. package/dist/components/listbox/context.js +1 -1
  129. package/dist/components/listbox/index.d.ts +3 -3
  130. package/dist/components/listbox/index.js +1 -1
  131. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  132. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  133. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  134. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  135. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  136. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  137. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  138. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  139. package/dist/components/menu/context.d.ts +2 -2
  140. package/dist/components/menu/context.js +1 -1
  141. package/dist/components/menu/index.d.ts +10 -10
  142. package/dist/components/menu/index.js +1 -1
  143. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  144. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  145. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  146. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  147. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  148. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  149. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  150. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  151. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  152. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  153. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  154. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  155. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  156. package/dist/components/navigation-menu/context.d.ts +2 -2
  157. package/dist/components/navigation-menu/context.js +1 -1
  158. package/dist/components/navigation-menu/index.d.ts +3 -3
  159. package/dist/components/navigation-menu/index.js +1 -1
  160. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  161. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  162. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  163. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  164. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +6 -4
  165. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  166. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +5 -5
  167. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  168. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  169. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  170. package/dist/components/number-input/context.d.ts +2 -2
  171. package/dist/components/number-input/context.js +1 -1
  172. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  173. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  174. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  175. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  176. package/dist/components/pagination/context.d.ts +2 -2
  177. package/dist/components/pagination/index.d.ts +1 -1
  178. package/dist/components/pagination/index.js +1 -1
  179. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  180. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  181. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  182. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  183. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  184. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  185. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  186. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  187. package/dist/components/popover/index.d.ts +2 -2
  188. package/dist/components/popover/index.js +1 -1
  189. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  190. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  191. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  192. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  193. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  194. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  195. package/dist/components/popper/context.d.ts +2 -2
  196. package/dist/components/popper/index.js +1 -1
  197. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  198. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  199. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  200. package/dist/components/popper/popper-positioner.vue.d.ts +14 -14
  201. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  202. package/dist/components/portal/portal.vue.d.ts +3 -3
  203. package/dist/components/primitive/primitive.d.ts +2 -2
  204. package/dist/components/radio-group/context.d.ts +2 -2
  205. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  206. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  207. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  208. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  209. package/dist/components/radio-group/radio-group-root.js +1 -1
  210. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  211. package/dist/components/roving-focus/context.js +1 -1
  212. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +5 -5
  213. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  214. package/dist/components/select/context.d.ts +2 -2
  215. package/dist/components/select/context.js +1 -1
  216. package/dist/components/select/index.d.ts +6 -6
  217. package/dist/components/select/index.js +1 -1
  218. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  219. package/dist/components/select/select-content.vue.d.ts +6 -6
  220. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  221. package/dist/components/select/select-group.vue.d.ts +2 -2
  222. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  223. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  224. package/dist/components/select/select-item.vue.d.ts +4 -4
  225. package/dist/components/select/select-root.vue.d.ts +5 -5
  226. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  227. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  228. package/dist/components/select/select-separator.vue.d.ts +2 -2
  229. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  230. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  231. package/dist/components/select/select-value.vue.d.ts +3 -3
  232. package/dist/components/select/select-viewport.js +1 -1
  233. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  234. package/dist/components/separator/context.d.ts +2 -2
  235. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  236. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  237. package/dist/components/slot/slot.d.ts +2 -2
  238. package/dist/components/switch/context.d.ts +2 -2
  239. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  240. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  241. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  242. package/dist/components/tabs/context.d.ts +2 -2
  243. package/dist/components/tabs/context.js +1 -1
  244. package/dist/components/tabs/index.d.ts +2 -2
  245. package/dist/components/tabs/index.js +1 -1
  246. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  247. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  248. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  249. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  250. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  251. package/dist/components/tag/tag.vue.d.ts +4 -4
  252. package/dist/components/textarea/context.d.ts +2 -2
  253. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  254. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  255. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  256. package/dist/components/toast/index.d.ts +1 -1
  257. package/dist/components/toast/index.js +1 -1
  258. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  259. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  260. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  261. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  262. package/dist/components/toast/toast-root.vue.d.ts +5 -5
  263. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  264. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  265. package/dist/components/tooltip/index.d.ts +1 -1
  266. package/dist/components/tooltip/index.js +1 -1
  267. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  268. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  269. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  270. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  271. package/dist/components/tree/context.js +1 -1
  272. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  273. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  274. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  275. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  276. package/dist/components/tree-menu/context.d.ts +2 -2
  277. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  278. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  279. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  280. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  281. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  282. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  283. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  284. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  285. package/dist/components/virtualizer/index.d.ts +2 -2
  286. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  287. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  288. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  289. package/dist/components/visually-hidden/types.d.ts +3 -3
  290. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +6 -14
  291. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  292. package/dist/composables/index.d.ts +1 -4
  293. package/dist/composables/index.js +1 -1
  294. package/dist/composables/use-collection.d.ts +6 -6
  295. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  296. package/dist/composables/use-exposed-element.d.ts +2 -2
  297. package/dist/composables/use-forward-element.d.ts +2 -2
  298. package/dist/composables/use-image-loading-status.d.ts +2 -2
  299. package/dist/composables/use-kbd.d.ts +2 -2
  300. package/dist/composables/use-presence.d.ts +2 -2
  301. package/dist/composables/use-props.d.ts +3 -3
  302. package/dist/composables/use-selection.d.ts +4 -4
  303. package/dist/constants/components.d.ts +2 -1
  304. package/dist/constants/components.js +1 -1
  305. package/dist/index.d.ts +47 -47
  306. package/dist/index.js +1 -1
  307. package/dist/namespaced/index.d.ts +407 -388
  308. package/dist/namespaced/index.js +1 -1
  309. package/dist/types/common.d.ts +1 -9
  310. package/dist/types/index.d.ts +1 -1
  311. package/package.json +3 -3
  312. package/dist/composables/use-direction.d.ts +0 -9
  313. package/dist/composables/use-direction.js +0 -1
  314. package/dist/composables/use-locale.d.ts +0 -7
  315. package/dist/composables/use-locale.js +0 -1
  316. package/dist/composables/use-nonce.d.ts +0 -7
  317. package/dist/composables/use-nonce.js +0 -1
@@ -1,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { InputUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1754 from "vue";
4
+ import * as vue1468 from "vue";
5
5
 
6
6
  //#region src/components/input/context.d.ts
7
- declare const provideInputUi: (ui: vue1754.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue1754.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue1754.ComputedRef<ClassValue> : vue1754.ComputedRef<Partial<UiClass<InputUiSlot>>>;
7
+ declare const provideInputUi: (ui: vue1468.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue1468.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue1468.ComputedRef<ClassValue> : vue1468.ComputedRef<Partial<UiClass<InputUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideInputUi };
@@ -1,8 +1,8 @@
1
1
  import { InputControlProps } from "./types.js";
2
- import * as vue1749 from "vue";
2
+ import * as vue1458 from "vue";
3
3
 
4
4
  //#region src/components/input/input-control.vue.d.ts
5
- declare const __VLS_export: vue1749.DefineComponent<InputControlProps, {}, {}, {}, {}, vue1749.ComponentOptionsMixin, vue1749.ComponentOptionsMixin, {}, string, vue1749.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1749.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue1458.DefineComponent<InputControlProps, {}, {}, {}, {}, vue1458.ComponentOptionsMixin, vue1458.ComponentOptionsMixin, {}, string, vue1458.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1458.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1,5 +1,5 @@
1
1
  import { InputRootProps } from "./types.js";
2
- import * as vue1744 from "vue";
2
+ import * as vue1463 from "vue";
3
3
 
4
4
  //#region src/components/input/input-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,13 +9,13 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue1744.DefineComponent<InputRootProps, {}, {}, {}, {}, vue1744.ComponentOptionsMixin, vue1744.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1463.DefineComponent<InputRootProps, {}, {}, {}, {}, vue1463.ComponentOptionsMixin, vue1463.ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: string) => any;
14
- }, string, vue1744.PublicProps, Readonly<InputRootProps> & Readonly<{
14
+ }, string, vue1463.PublicProps, Readonly<InputRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
16
  }>, {
17
17
  modelValue: string;
18
- }, {}, {}, {}, string, vue1744.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue1463.ComponentProvideOptions, false, {}, any>;
19
19
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
20
20
  declare const _default: typeof __VLS_export;
21
21
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { KbdProps } from "./types.js";
2
- import * as vue1416 from "vue";
2
+ import * as vue1414 from "vue";
3
3
 
4
4
  //#region src/components/kbd/kbd.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: vue1416.DefineComponent<KbdProps, {}, {}, {}, {}, vue1416.ComponentOptionsMixin, vue1416.ComponentOptionsMixin, {}, string, vue1416.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1416.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1414.DefineComponent<KbdProps, {}, {}, {}, {}, vue1414.ComponentOptionsMixin, vue1414.ComponentOptionsMixin, {}, string, vue1414.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1414.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 { LabelProps } from "./types.js";
2
- import * as vue28 from "vue";
2
+ import * as vue25 from "vue";
3
3
 
4
4
  //#region src/components/label/label.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue28.DefineComponent<LabelProps, {}, {}, {}, {}, vue28.ComponentOptionsMixin, vue28.ComponentOptionsMixin, {}, string, vue28.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue28.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue25.DefineComponent<LabelProps, {}, {}, {}, {}, vue25.ComponentOptionsMixin, vue25.ComponentOptionsMixin, {}, string, vue25.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue25.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,10 +1,10 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { LayoutUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue1085 from "vue";
4
+ import * as vue1270 from "vue";
5
5
 
6
6
  //#region src/components/layout/context.d.ts
7
7
 
8
- declare const provideLayoutUi: (ui: vue1085.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue1085.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue1085.ComputedRef<ClassValue> : vue1085.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
8
+ declare const provideLayoutUi: (ui: vue1270.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue1270.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue1270.ComputedRef<ClassValue> : vue1270.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
9
9
  //#endregion
10
10
  export { provideLayoutUi };
@@ -1,12 +1,12 @@
1
1
  import { LayoutCollapsible, LayoutFooterProps, LayoutHeaderProps, LayoutMainProps, LayoutMobileProps, LayoutRailProps, LayoutRootEmits, LayoutRootProps, LayoutSide, LayoutSidebarProps, LayoutSidebarState, LayoutTabProps, LayoutTriggerProps, LayoutUi, LayoutUiSlot, LayoutVariant } from "./types.js";
2
2
  import { _default as _default$5 } from "./layout-root.vue.js";
3
- import { _default as _default$6 } from "./layout-sidebar.vue.js";
4
3
  import { _default as _default$1 } from "./layout-header.vue.js";
5
4
  import { _default as _default$2 } from "./layout-main.vue.js";
6
- import { _default as _default$7 } from "./layout-tab.vue.js";
5
+ import { _default as _default$6 } from "./layout-sidebar.vue.js";
7
6
  import { _default } from "./layout-footer.vue.js";
8
7
  import { _default as _default$4 } from "./layout-rail.vue.js";
9
- import { _default as _default$8 } from "./layout-trigger.vue.js";
10
8
  import { _default as _default$3 } from "./layout-mobile.vue.js";
9
+ import { _default as _default$7 } from "./layout-tab.vue.js";
10
+ import { _default as _default$8 } from "./layout-trigger.vue.js";
11
11
  import { provideLayoutUi } from "./context.js";
12
12
  export { type LayoutCollapsible, _default as LayoutFooter, type LayoutFooterProps, _default$1 as LayoutHeader, type LayoutHeaderProps, _default$2 as LayoutMain, type LayoutMainProps, _default$3 as LayoutMobile, type LayoutMobileProps, _default$4 as LayoutRail, type LayoutRailProps, _default$5 as LayoutRoot, type LayoutRootEmits, type LayoutRootProps, type LayoutSide, _default$6 as LayoutSidebar, type LayoutSidebarProps, type LayoutSidebarState, _default$7 as LayoutTab, type LayoutTabProps, _default$8 as LayoutTrigger, type LayoutTriggerProps, type LayoutUi, type LayoutUiSlot, type LayoutVariant, provideLayoutUi };
@@ -1 +1 @@
1
- import{provideLayoutUi as e}from"./context.js";import t from"./layout-root.js";import n from"./layout-mobile.js";import r from"./layout-sidebar.js";import i from"./layout-header.js";import a from"./layout-main.js";import o from"./layout-tab.js";import s from"./layout-footer.js";import c from"./layout-rail.js";import l from"./layout-trigger.js";export{s as LayoutFooter,i as LayoutHeader,a as LayoutMain,n as LayoutMobile,c as LayoutRail,t as LayoutRoot,r as LayoutSidebar,o as LayoutTab,l as LayoutTrigger,e as provideLayoutUi};
1
+ import{provideLayoutUi as e}from"./context.js";import t from"./layout-root.js";import n from"./layout-header.js";import r from"./layout-main.js";import i from"./layout-mobile.js";import a from"./layout-sidebar.js";import o from"./layout-footer.js";import s from"./layout-rail.js";import c from"./layout-tab.js";import l from"./layout-trigger.js";export{o as LayoutFooter,n as LayoutHeader,r as LayoutMain,i as LayoutMobile,s as LayoutRail,t as LayoutRoot,a as LayoutSidebar,c as LayoutTab,l as LayoutTrigger,e as provideLayoutUi};
@@ -1,12 +1,12 @@
1
1
  import { LayoutFooterProps } from "./types.js";
2
- import * as vue1065 from "vue";
2
+ import * as vue1230 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-footer.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: vue1065.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue1065.ComponentOptionsMixin, vue1065.ComponentOptionsMixin, {}, string, vue1065.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1065.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1230.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue1230.ComponentOptionsMixin, vue1230.ComponentOptionsMixin, {}, string, vue1230.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1230.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 { LayoutHeaderProps } from "./types.js";
2
- import * as vue1055 from "vue";
2
+ import * as vue1225 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-header.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: vue1055.DefineComponent<LayoutHeaderProps, {}, {}, {}, {}, vue1055.ComponentOptionsMixin, vue1055.ComponentOptionsMixin, {}, string, vue1055.PublicProps, Readonly<LayoutHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1055.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1225.DefineComponent<LayoutHeaderProps, {}, {}, {}, {}, vue1225.ComponentOptionsMixin, vue1225.ComponentOptionsMixin, {}, string, vue1225.PublicProps, Readonly<LayoutHeaderProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1225.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 { LayoutMainProps } from "./types.js";
2
- import * as vue1040 from "vue";
2
+ import * as vue1215 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-main.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: vue1040.DefineComponent<LayoutMainProps, {}, {}, {}, {}, vue1040.ComponentOptionsMixin, vue1040.ComponentOptionsMixin, {}, string, vue1040.PublicProps, Readonly<LayoutMainProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1040.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1215.DefineComponent<LayoutMainProps, {}, {}, {}, {}, vue1215.ComponentOptionsMixin, vue1215.ComponentOptionsMixin, {}, string, vue1215.PublicProps, Readonly<LayoutMainProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1215.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 e from"../portal/portal.js";import t from"../dialog/dialog-root.js";import n from"../dialog/dialog-overlay.js";import r from"../dialog/dialog-content.js";import{useLayoutRootContext as i,useLayoutUi as a}from"./context.js";import{layoutCssVars as o}from"./shared.js";import{computed as s,createBlock as c,createElementVNode as l,createVNode as u,defineComponent as d,mergeProps as f,normalizeClass as p,normalizeStyle as m,openBlock as h,renderSlot as g,unref as _,useAttrs as v,withCtx as y}from"vue";var b=d({name:`LayoutMobile`,inheritAttrs:!1,__name:`layout-mobile`,setup(d){let b=v(),{mobileOpen:x,mobileSidebarWidth:S,onMobileOpenChange:C}=i(`LayoutMobile`),w=a(),T=s(()=>({[o.sidebarWidth]:`${S.value}rem`}));return(i,a)=>(h(),c(_(t),{open:_(x),"onUpdate:open":_(C)},{default:y(()=>[u(_(e),null,{default:y(()=>[u(_(n),{class:p(_(w).mobileOverlay)},null,8,[`class`]),u(_(r),{class:p(_(w).mobileDrawer),style:m(T.value)},{default:y(()=>[l(`div`,f(_(b),{class:_(w).mobile,"data-sidebar":`sidebar`,"data-mobile":``}),[g(i.$slots,`default`)],16)]),_:3},8,[`class`,`style`])]),_:3})]),_:3},8,[`open`,`onUpdate:open`]))}});export{b as default};
1
+ import e from"../dialog/dialog-root.js";import t from"../portal/portal.js";import n from"../dialog/dialog-overlay.js";import r from"../dialog/dialog-content.js";import{useLayoutRootContext as i,useLayoutUi as a}from"./context.js";import{layoutCssVars as o}from"./shared.js";import{computed as s,createBlock as c,createElementVNode as l,createVNode as u,defineComponent as d,mergeProps as f,normalizeClass as p,normalizeStyle as m,openBlock as h,renderSlot as g,unref as _,useAttrs as v,withCtx as y}from"vue";var b=d({name:`LayoutMobile`,inheritAttrs:!1,__name:`layout-mobile`,setup(d){let b=v(),{mobileOpen:x,mobileSidebarWidth:S,onMobileOpenChange:C}=i(`LayoutMobile`),w=a(),T=s(()=>({[o.sidebarWidth]:`${S.value}rem`}));return(i,a)=>(h(),c(_(e),{open:_(x),"onUpdate:open":_(C)},{default:y(()=>[u(_(t),null,{default:y(()=>[u(_(n),{class:p(_(w).mobileOverlay)},null,8,[`class`]),u(_(r),{class:p(_(w).mobileDrawer),style:m(T.value)},{default:y(()=>[l(`div`,f(_(b),{class:_(w).mobile,"data-sidebar":`sidebar`,"data-mobile":``}),[g(i.$slots,`default`)],16)]),_:3},8,[`class`,`style`])]),_:3})]),_:3},8,[`open`,`onUpdate:open`]))}});export{b as default};
@@ -1,12 +1,12 @@
1
1
  import { LayoutMobileProps } from "./types.js";
2
- import * as vue1080 from "vue";
2
+ import * as vue1240 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-mobile.vue.d.ts
5
5
  declare var __VLS_27: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_27) => any;
8
8
  };
9
- declare const __VLS_base: vue1080.DefineComponent<LayoutMobileProps, {}, {}, {}, {}, vue1080.ComponentOptionsMixin, vue1080.ComponentOptionsMixin, {}, string, vue1080.PublicProps, Readonly<LayoutMobileProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1080.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1240.DefineComponent<LayoutMobileProps, {}, {}, {}, {}, vue1240.ComponentOptionsMixin, vue1240.ComponentOptionsMixin, {}, string, vue1240.PublicProps, Readonly<LayoutMobileProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1240.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 { LayoutRailProps } from "./types.js";
2
- import * as vue1070 from "vue";
2
+ import * as vue1245 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-rail.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: vue1070.DefineComponent<LayoutRailProps, {}, {}, {}, {}, vue1070.ComponentOptionsMixin, vue1070.ComponentOptionsMixin, {}, string, vue1070.PublicProps, Readonly<LayoutRailProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1070.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1245.DefineComponent<LayoutRailProps, {}, {}, {}, {}, vue1245.ComponentOptionsMixin, vue1245.ComponentOptionsMixin, {}, string, vue1245.PublicProps, Readonly<LayoutRailProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1245.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 { LayoutRootProps } from "./types.js";
2
- import * as vue1045 from "vue";
2
+ import * as vue1220 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,9 +9,9 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue1045.DefineComponent<LayoutRootProps, {}, {}, {}, {}, vue1045.ComponentOptionsMixin, vue1045.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue1220.DefineComponent<LayoutRootProps, {}, {}, {}, {}, vue1220.ComponentOptionsMixin, vue1220.ComponentOptionsMixin, {
13
13
  "update:open": (open: boolean) => any;
14
- }, string, vue1045.PublicProps, Readonly<LayoutRootProps> & Readonly<{
14
+ }, string, vue1220.PublicProps, Readonly<LayoutRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((open: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
@@ -21,7 +21,7 @@ declare const __VLS_base: vue1045.DefineComponent<LayoutRootProps, {}, {}, {}, {
21
21
  isMobile: boolean;
22
22
  mobileSidebarWidth: number;
23
23
  pxToRem: (px: number) => number;
24
- }, {}, {}, {}, string, vue1045.ComponentProvideOptions, false, {}, any>;
24
+ }, {}, {}, {}, string, vue1220.ComponentProvideOptions, false, {}, any>;
25
25
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
26
26
  declare const _default: typeof __VLS_export;
27
27
  type __VLS_WithSlots<T, S> = T & {
@@ -1,5 +1,5 @@
1
1
  import { LayoutSidebarProps } from "./types.js";
2
- import * as vue1050 from "vue";
2
+ import * as vue1235 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-sidebar.vue.d.ts
5
5
  declare var __VLS_8: {}, __VLS_10: {};
@@ -8,7 +8,7 @@ type __VLS_Slots = {} & {
8
8
  } & {
9
9
  default?: (props: typeof __VLS_10) => any;
10
10
  };
11
- declare const __VLS_base: vue1050.DefineComponent<LayoutSidebarProps, {}, {}, {}, {}, vue1050.ComponentOptionsMixin, vue1050.ComponentOptionsMixin, {}, string, vue1050.PublicProps, Readonly<LayoutSidebarProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1050.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1235.DefineComponent<LayoutSidebarProps, {}, {}, {}, {}, vue1235.ComponentOptionsMixin, vue1235.ComponentOptionsMixin, {}, string, vue1235.PublicProps, Readonly<LayoutSidebarProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1235.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,12 +1,12 @@
1
1
  import { LayoutTabProps } from "./types.js";
2
- import * as vue1075 from "vue";
2
+ import * as vue1250 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-tab.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: vue1075.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue1075.ComponentOptionsMixin, vue1075.ComponentOptionsMixin, {}, string, vue1075.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1075.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1250.DefineComponent<LayoutTabProps, {}, {}, {}, {}, vue1250.ComponentOptionsMixin, vue1250.ComponentOptionsMixin, {}, string, vue1250.PublicProps, Readonly<LayoutTabProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1250.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 { LayoutTriggerProps } from "./types.js";
2
- import * as vue1060 from "vue";
2
+ import * as vue1255 from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-trigger.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -8,7 +8,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: vue1060.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue1060.ComponentOptionsMixin, vue1060.ComponentOptionsMixin, {}, string, vue1060.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1060.ComponentProvideOptions, false, {}, any>;
11
+ declare const __VLS_base: vue1255.DefineComponent<LayoutTriggerProps, {}, {}, {}, {}, vue1255.ComponentOptionsMixin, vue1255.ComponentOptionsMixin, {}, string, vue1255.PublicProps, Readonly<LayoutTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1255.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{useConfigProvider as e}from"../config-provider/context.js";import{Primitive as t}from"../primitive/primitive.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,resolveComponent as c,resolveDynamicComponent as l,unref as u,useAttrs as d,withCtx as f}from"vue";var p=i({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},href:{},disabled:{type:Boolean,default:void 0},inactiveClass:{},external:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetchedClass:{},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`},custom:{type:Boolean},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},replace:{type:Boolean,default:void 0}},setup(i){let p=i,m=d(),{nuxt:h}=e(`Link`),g=n(()=>h.value?c(`NuxtLink`):c(`RouterLink`)),_=n(()=>!!(p.external||p.disabled||typeof p.to==`string`&&p.to.startsWith(`http`)||!p.to&&p.href||!p.to&&!p.href)),v=n(()=>p.target?p.target:_.value?`_blank`:`_self`),y=n(()=>{let e=p.to||p.href;return{...p,...m,target:v.value,to:_.value?void 0:e,href:!_.value&&h.value?void 0:e,"data-disabled":p.disabled?``:void 0,"aria-disabled":p.disabled?`true`:void 0,role:p.disabled?`link`:void 0,tabindex:p.disabled?`-1`:p.tabindex}}),b=e=>{p.disabled&&(e.preventDefault(),e.stopPropagation())};return(e,n)=>_.value?(o(),r(u(t),a({key:0},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!0})]),_:3},16)):(o(),r(l(g.value),a({key:1},y.value,{onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!1})]),_:3},16))}});export{p as default};
1
+ import{useConfigProvider as e}from"../config-provider/context.js";import{Primitive as t}from"../primitive/primitive.js";import{computed as n,createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,resolveComponent as c,resolveDynamicComponent as l,unref as u,useAttrs as d,withCtx as f}from"vue";var p=i({name:`Link`,inheritAttrs:!1,__name:`link`,props:{to:{},href:{},disabled:{type:Boolean,default:void 0},inactiveClass:{},external:{type:Boolean,default:void 0},target:{},rel:{default:`noopener noreferrer`},noRel:{type:Boolean,default:void 0},prefetchedClass:{},prefetch:{type:Boolean,default:void 0},prefetchOn:{},noPrefetch:{type:Boolean,default:void 0},trailingSlash:{},asChild:{type:Boolean},as:{default:`a`},custom:{type:Boolean,default:void 0},activeClass:{},exactActiveClass:{},ariaCurrentValue:{},viewTransition:{type:Boolean,default:void 0},replace:{type:Boolean,default:void 0}},setup(i){let p=i,m=d(),{nuxt:h}=e(`Link`),g=n(()=>h.value?c(`NuxtLink`):c(`RouterLink`)),_=n(()=>!!(p.external||p.disabled||typeof p.to==`string`&&p.to.startsWith(`http`)||!p.to&&p.href||!p.to&&!p.href)),v=n(()=>p.target?p.target:_.value?`_blank`:`_self`),y=n(()=>{let{as:e,asChild:t,custom:n,...r}=p,i=p.to||p.href;return{...r,...m,target:v.value,to:_.value?void 0:i,href:!_.value&&h.value?void 0:i,"data-disabled":p.disabled?``:void 0,"aria-disabled":p.disabled?`true`:void 0,role:p.disabled?`link`:void 0,tabindex:p.disabled?`-1`:p.tabindex}}),b=e=>{p.disabled&&(e.preventDefault(),e.stopPropagation())};return(e,n)=>_.value?(o(),r(u(t),a({key:0},y.value,{as:i.as,"as-child":i.asChild,"data-link":``,onClick:b}),{default:f(()=>[s(e.$slots,`default`,{isHref:!0})]),_:3},16,[`as`,`as-child`])):(o(),r(l(g.value),a({key:1},y.value,{custom:i.custom,"data-link":``,onClick:b}),{default:f(t=>[s(e.$slots,`default`,{isHref:!1,isActive:t?.isActive,isExactActive:t?.isExactActive})]),_:3},16,[`custom`]))}});export{p as default};
@@ -1,30 +1,29 @@
1
1
  import { AsTag } from "../primitive/types.js";
2
2
  import { LinkProps } from "./types.js";
3
3
  import "../primitive/index.js";
4
- import * as vue761 from "vue";
4
+ import * as vue1204 from "vue";
5
5
 
6
6
  //#region src/components/link/link.vue.d.ts
7
- declare var __VLS_10: {
7
+ type Slots = {
8
+ default: (args: {
8
9
  isHref: boolean;
9
- }, __VLS_21: {
10
- isHref: boolean;
11
- };
12
- type __VLS_Slots = {} & {
13
- default?: (props: typeof __VLS_10) => any;
14
- } & {
15
- default?: (props: typeof __VLS_21) => any;
10
+ isActive?: boolean;
11
+ isExactActive?: boolean;
12
+ }) => any;
16
13
  };
17
- declare const __VLS_base: vue761.DefineComponent<LinkProps, {}, {}, {}, {}, vue761.ComponentOptionsMixin, vue761.ComponentOptionsMixin, {}, string, vue761.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
14
+ type __VLS_Slots = Slots;
15
+ declare const __VLS_base: vue1204.DefineComponent<LinkProps, {}, {}, {}, {}, vue1204.ComponentOptionsMixin, vue1204.ComponentOptionsMixin, {}, string, vue1204.PublicProps, Readonly<LinkProps> & Readonly<{}>, {
16
+ as: AsTag | vue1204.Component;
18
17
  replace: boolean;
19
- as: AsTag | vue761.Component;
20
18
  disabled: boolean;
19
+ custom: boolean;
21
20
  viewTransition: boolean;
22
21
  external: boolean;
23
22
  rel: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | (string & {}) | null;
24
23
  noRel: boolean;
25
24
  prefetch: boolean;
26
25
  noPrefetch: boolean;
27
- }, {}, {}, {}, string, vue761.ComponentProvideOptions, false, {}, any>;
26
+ }, {}, {}, {}, string, vue1204.ComponentProvideOptions, false, {}, any>;
28
27
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
29
28
  declare const _default: typeof __VLS_export;
30
29
  type __VLS_WithSlots<T, S> = T & {
@@ -1,9 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { ListUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue512 from "vue";
4
+ import * as vue1098 from "vue";
5
5
 
6
6
  //#region src/components/list/context.d.ts
7
- declare const provideListUi: (ui: vue512.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue512.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue512.ComputedRef<ClassValue> : vue512.ComputedRef<Partial<UiClass<ListUiSlot>>>;
7
+ declare const provideListUi: (ui: vue1098.ComputedRef<Partial<UiClass<ListUiSlot>>>) => vue1098.ComputedRef<Partial<UiClass<ListUiSlot>>>, useListUi: <S extends ListUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListUiSlot ? vue1098.ComputedRef<ClassValue> : vue1098.ComputedRef<Partial<UiClass<ListUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideListUi };
@@ -1,8 +1,8 @@
1
1
  import { ListContentProps, ListDescriptionProps, ListItemProps, ListRootProps, ListTitleProps, ListUi, ListUiSlot } from "./types.js";
2
2
  import { _default as _default$3 } from "./list-root.vue.js";
3
3
  import { _default as _default$2 } from "./list-item.vue.js";
4
- import { _default } from "./list-content.vue.js";
5
4
  import { _default as _default$4 } from "./list-title.vue.js";
6
5
  import { _default as _default$1 } from "./list-description.vue.js";
6
+ import { _default } from "./list-content.vue.js";
7
7
  import { provideListUi } from "./context.js";
8
8
  export { _default as ListContent, type ListContentProps, _default$1 as ListDescription, type ListDescriptionProps, _default$2 as ListItem, type ListItemProps, _default$3 as ListRoot, type ListRootProps, _default$4 as ListTitle, type ListTitleProps, type ListUi, type ListUiSlot, provideListUi };
@@ -1 +1 @@
1
- import{provideListUi as e}from"./context.js";import t from"./list-root.js";import n from"./list-item.js";import r from"./list-content.js";import i from"./list-title.js";import a from"./list-description.js";export{r as ListContent,a as ListDescription,n as ListItem,t as ListRoot,i as ListTitle,e as provideListUi};
1
+ import{provideListUi as e}from"./context.js";import t from"./list-root.js";import n from"./list-item.js";import r from"./list-title.js";import i from"./list-description.js";import a from"./list-content.js";export{a as ListContent,i as ListDescription,n as ListItem,t as ListRoot,r as ListTitle,e as provideListUi};
@@ -1,12 +1,12 @@
1
1
  import { ListContentProps } from "./types.js";
2
- import * as vue492 from "vue";
2
+ import * as vue1088 from "vue";
3
3
 
4
4
  //#region src/components/list/list-content.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: vue492.DefineComponent<ListContentProps, {}, {}, {}, {}, vue492.ComponentOptionsMixin, vue492.ComponentOptionsMixin, {}, string, vue492.PublicProps, Readonly<ListContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue492.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1088.DefineComponent<ListContentProps, {}, {}, {}, {}, vue1088.ComponentOptionsMixin, vue1088.ComponentOptionsMixin, {}, string, vue1088.PublicProps, Readonly<ListContentProps> & 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,12 +1,12 @@
1
1
  import { ListDescriptionProps } from "./types.js";
2
- import * as vue507 from "vue";
2
+ import * as vue1093 from "vue";
3
3
 
4
4
  //#region src/components/list/list-description.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: vue507.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue507.ComponentOptionsMixin, vue507.ComponentOptionsMixin, {}, string, vue507.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue507.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1093.DefineComponent<ListDescriptionProps, {}, {}, {}, {}, vue1093.ComponentOptionsMixin, vue1093.ComponentOptionsMixin, {}, string, vue1093.PublicProps, Readonly<ListDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1093.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 { ListItemProps } from "./types.js";
2
- import * as vue487 from "vue";
2
+ import * as vue1083 from "vue";
3
3
 
4
4
  //#region src/components/list/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: vue487.DefineComponent<ListItemProps, {}, {}, {}, {}, vue487.ComponentOptionsMixin, vue487.ComponentOptionsMixin, {}, string, vue487.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue487.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1083.DefineComponent<ListItemProps, {}, {}, {}, {}, vue1083.ComponentOptionsMixin, vue1083.ComponentOptionsMixin, {}, string, vue1083.PublicProps, Readonly<ListItemProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1083.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 { ListRootProps } from "./types.js";
2
- import * as vue497 from "vue";
2
+ import * as vue1078 from "vue";
3
3
 
4
4
  //#region src/components/list/list-root.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: vue497.DefineComponent<ListRootProps, {}, {}, {}, {}, vue497.ComponentOptionsMixin, vue497.ComponentOptionsMixin, {}, string, vue497.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue497.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1078.DefineComponent<ListRootProps, {}, {}, {}, {}, vue1078.ComponentOptionsMixin, vue1078.ComponentOptionsMixin, {}, string, vue1078.PublicProps, Readonly<ListRootProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1078.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 { ListTitleProps } from "./types.js";
2
- import * as vue502 from "vue";
2
+ import * as vue1102 from "vue";
3
3
 
4
4
  //#region src/components/list/list-title.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: vue502.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue502.ComponentOptionsMixin, vue502.ComponentOptionsMixin, {}, string, vue502.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue502.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1102.DefineComponent<ListTitleProps, {}, {}, {}, {}, vue1102.ComponentOptionsMixin, vue1102.ComponentOptionsMixin, {}, string, vue1102.PublicProps, Readonly<ListTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1102.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 & {
@@ -2,11 +2,11 @@ import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import "../../composables/index.js";
3
3
  import { ListboxUiSlot } from "./types.js";
4
4
  import "../../index.js";
5
- import * as vue1142 from "vue";
5
+ import * as vue992 from "vue";
6
6
  import "@vueuse/shared";
7
7
 
8
8
  //#region src/components/listbox/context.d.ts
9
9
 
10
- declare const provideListboxUi: (ui: vue1142.ComputedRef<Partial<UiClass<ListboxUiSlot>>>) => vue1142.ComputedRef<Partial<UiClass<ListboxUiSlot>>>, useListboxUi: <S extends ListboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListboxUiSlot ? vue1142.ComputedRef<ClassValue> : vue1142.ComputedRef<Partial<UiClass<ListboxUiSlot>>>;
10
+ declare const provideListboxUi: (ui: vue992.ComputedRef<Partial<UiClass<ListboxUiSlot>>>) => vue992.ComputedRef<Partial<UiClass<ListboxUiSlot>>>, useListboxUi: <S extends ListboxUiSlot | undefined = undefined>(slot?: S | undefined) => S extends ListboxUiSlot ? vue992.ComputedRef<ClassValue> : vue992.ComputedRef<Partial<UiClass<ListboxUiSlot>>>;
11
11
  //#endregion
12
12
  export { provideListboxUi };
@@ -1 +1 @@
1
- import{findValuesBetween as e}from"../../shared/object.js";import{getFocusIntent as t}from"../../shared/focus.js";import{useContext as n}from"../../composables/use-context.js";import{useCollection as r}from"../../composables/use-collection.js";import{useDirection as i}from"../../composables/use-direction.js";import{useForwardElement as a}from"../../composables/use-forward-element.js";import{useTypeahead as o}from"../../composables/use-typeahead.js";import{useUiContext as s}from"../../composables/use-ui-context.js";import{provideInputUi as c}from"../input/context.js";import{computed as l,nextTick as u,shallowRef as d,useId as f}from"vue";import{createEventHook as p}from"@vueuse/core";const{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=r(`Listbox`),[_,v]=n(`ListboxRoot`,n=>{let[r,s]=a(),{getOrderedItems:c,getOrderedElements:l}=m(),{handleTypeaheadSearch:f}=o(),{modelValue:h,orientation:g,selectionBehavior:_,isMultiple:v,onHighlight:y,onEntryFocus:b}=n,x=i(n.dir),S=d(),C=d(!1),w=d(!0),T=d(null),E=d(null),D=d(!1),O=d(!1),k=p(),A=p(),j=p(),M=e=>{if(C.value=!0,v.value){let t=Array.isArray(h.value)?[...h.value]:[],n=t.findIndex(t=>t===e);_.value===`toggle`?(n===-1?t.push(e):t.splice(n,1),h.value=t):(h.value=[e],S.value=e)}else _.value===`toggle`?h.value=h.value===e?void 0:e:h.value=e;setTimeout(()=>{C.value=!1},1)},N=(e,t=!0)=>{e&&(T.value=e,w.value&&T.value.focus(),t&&T.value.scrollIntoView({block:`nearest`}),y(c().find(t=>t.element===e)))},P=e=>{if(D.value)j.trigger(e);else{let t=c().find(t=>t.data.value===e);t&&(T.value=t.element,N(t.element))}},F=e=>{T.value?.isConnected&&(e.preventDefault(),e.stopPropagation(),!O.value&&T.value.click())},I=e=>{if(C.value=!0,D.value)A.trigger(e);else{let t=e.altKey||e.ctrlKey||e.metaKey,n=c();if(t&&e.key===`a`&&v.value){h.value=[...n.map(e=>e.data.value)],e.preventDefault();let t=n[n.length-1]?.element;t&&N(t)}else if(!t){let t=f(e.key,n);t&&N(t)}}setTimeout(()=>{C.value=!1},1)},L=()=>{O.value=!0},R=()=>{u(()=>{O.value=!1})},z=e=>{let t=T.value;t?.isConnected&&(E.value=t),T.value=null,n.onLeave(e)},B=e=>{let t=new CustomEvent(`listbox.entryFocus`,{bubbles:!1,cancelable:!0});if(e.currentTarget?.dispatchEvent(t),b(t),!t.defaultPrevented)if(E.value)N(E.value);else{let e=l()?.[0];e&&N(e)}},V=e=>{let n=t(e,g.value,x.value);if(!n)return;let r=l();if(T.value){if(n===`last`)r.reverse();else if(n===`prev`||n===`next`){n===`prev`&&r.reverse();let e=r.indexOf(T.value);r=r.slice(e+1)}let t=r[0];t&&U(e,t)}if(r.length){let e=!T.value&&n===`prev`?r.length-1:0,t=r[e];t&&N(t)}D.value&&A.trigger(e)},H=()=>{u(()=>{V(new KeyboardEvent(`keydown`,{key:`PageUp`}))})};function U(t,n){if(D.value||_.value!==`replace`||!v.value||!Array.isArray(h.value)||(t.altKey||t.ctrlKey||t.metaKey)&&!t.shiftKey||!t.shiftKey)return;let r=c(),i=r.find(e=>e.element===n)?.data?.value;t.key===`End`?i=r[r.length-1]?.data?.value:t.key===`Home`&&(i=r[0]?.data?.value),!(!i||!S.value)&&(h.value=e(r.map(e=>e.data.value),S.value,i))}let W=async e=>{if(await u(),D.value)k.trigger(e);else{let e=l(),t=e.find(e=>e.dataset.state===`checked`);t?N(t):e[0]&&N(e[0])}},G=async e=>{let t=e.relatedTarget||e.target;await u(),!(!T.value||r.value?.contains(t))&&z(e)};return{...n,rootElement:r,setRootElement:s,isUserAction:C,isVirtual:D,virtualFocusHook:k,virtualKeydownHook:A,virtualHighlightHook:j,firstValue:S,focusable:w,onModelValueChange:M,onLeave:z,onEnter:B,highlightedElement:T,changeHighlight:N,highlightItem:P,highlightSelected:W,highlightFirstItem:H,onKeydownEnter:F,onKeydownNavigation:V,onKeydownTypeahead:I,onCompositionStart:L,onCompositionEnd:R,onFocusOut:G,getItems:c}}),[y,b]=n(`ListboxGroup`,()=>({id:`soybean-listbox-group-${f()}`})),[x,S]=n(`ListboxItem`,e=>e),[C,w]=s(`ListboxUi`,e=>(c(l(()=>({root:e.value?.filterRoot,control:e.value?.filterControl}))),e));export{y as provideListboxGroupContext,x as provideListboxItemContext,_ as provideListboxRootContext,C as provideListboxUi,h as useCollectionContext,g as useCollectionItem,b as useListboxGroupContext,S as useListboxItemContext,v as useListboxRootContext,w as useListboxUi};
1
+ import{findValuesBetween as e}from"../../shared/object.js";import{getFocusIntent as t}from"../../shared/focus.js";import{useContext as n}from"../../composables/use-context.js";import{useCollection as r}from"../../composables/use-collection.js";import{useForwardElement as i}from"../../composables/use-forward-element.js";import{useTypeahead as a}from"../../composables/use-typeahead.js";import{useUiContext as o}from"../../composables/use-ui-context.js";import{useDirection as s}from"../config-provider/context.js";import{provideInputUi as c}from"../input/context.js";import{computed as l,nextTick as u,shallowRef as d,useId as f}from"vue";import{createEventHook as p}from"@vueuse/core";const{provideCollectionContext:m,useCollectionContext:h,useCollectionItem:g}=r(`Listbox`),[_,v]=n(`ListboxRoot`,n=>{let[r,o]=i(),{getOrderedItems:c,getOrderedElements:l}=m(),{handleTypeaheadSearch:f}=a(),{modelValue:h,orientation:g,selectionBehavior:_,isMultiple:v,onHighlight:y,onEntryFocus:b}=n,x=s(n.dir),S=d(),C=d(!1),w=d(!0),T=d(null),E=d(null),D=d(!1),O=d(!1),k=p(),A=p(),j=p(),M=e=>{if(C.value=!0,v.value){let t=Array.isArray(h.value)?[...h.value]:[],n=t.findIndex(t=>t===e);_.value===`toggle`?(n===-1?t.push(e):t.splice(n,1),h.value=t):(h.value=[e],S.value=e)}else _.value===`toggle`?h.value=h.value===e?void 0:e:h.value=e;setTimeout(()=>{C.value=!1},1)},N=(e,t=!0)=>{e&&(T.value=e,w.value&&T.value.focus(),t&&T.value.scrollIntoView({block:`nearest`}),y(c().find(t=>t.element===e)))},P=e=>{if(D.value)j.trigger(e);else{let t=c().find(t=>t.data.value===e);t&&(T.value=t.element,N(t.element))}},F=e=>{T.value?.isConnected&&(e.preventDefault(),e.stopPropagation(),!O.value&&T.value.click())},I=e=>{if(C.value=!0,D.value)A.trigger(e);else{let t=e.altKey||e.ctrlKey||e.metaKey,n=c();if(t&&e.key===`a`&&v.value){h.value=[...n.map(e=>e.data.value)],e.preventDefault();let t=n[n.length-1]?.element;t&&N(t)}else if(!t){let t=f(e.key,n);t&&N(t)}}setTimeout(()=>{C.value=!1},1)},L=()=>{O.value=!0},R=()=>{u(()=>{O.value=!1})},z=e=>{let t=T.value;t?.isConnected&&(E.value=t),T.value=null,n.onLeave(e)},B=e=>{let t=new CustomEvent(`listbox.entryFocus`,{bubbles:!1,cancelable:!0});if(e.currentTarget?.dispatchEvent(t),b(t),!t.defaultPrevented)if(E.value)N(E.value);else{let e=l()?.[0];e&&N(e)}},V=e=>{let n=t(e,g.value,x.value);if(!n)return;let r=l();if(T.value){if(n===`last`)r.reverse();else if(n===`prev`||n===`next`){n===`prev`&&r.reverse();let e=r.indexOf(T.value);r=r.slice(e+1)}let t=r[0];t&&U(e,t)}if(r.length){let e=!T.value&&n===`prev`?r.length-1:0,t=r[e];t&&N(t)}D.value&&A.trigger(e)},H=()=>{u(()=>{V(new KeyboardEvent(`keydown`,{key:`PageUp`}))})};function U(t,n){if(D.value||_.value!==`replace`||!v.value||!Array.isArray(h.value)||(t.altKey||t.ctrlKey||t.metaKey)&&!t.shiftKey||!t.shiftKey)return;let r=c(),i=r.find(e=>e.element===n)?.data?.value;t.key===`End`?i=r[r.length-1]?.data?.value:t.key===`Home`&&(i=r[0]?.data?.value),!(!i||!S.value)&&(h.value=e(r.map(e=>e.data.value),S.value,i))}let W=async e=>{if(await u(),D.value)k.trigger(e);else{let e=l(),t=e.find(e=>e.dataset.state===`checked`);t?N(t):e[0]&&N(e[0])}},G=async e=>{let t=e.relatedTarget||e.target;await u(),!(!T.value||r.value?.contains(t))&&z(e)};return{...n,rootElement:r,setRootElement:o,isUserAction:C,isVirtual:D,virtualFocusHook:k,virtualKeydownHook:A,virtualHighlightHook:j,firstValue:S,focusable:w,onModelValueChange:M,onLeave:z,onEnter:B,highlightedElement:T,changeHighlight:N,highlightItem:P,highlightSelected:W,highlightFirstItem:H,onKeydownEnter:F,onKeydownNavigation:V,onKeydownTypeahead:I,onCompositionStart:L,onCompositionEnd:R,onFocusOut:G,getItems:c}}),[y,b]=n(`ListboxGroup`,()=>({id:`soybean-listbox-group-${f()}`})),[x,S]=n(`ListboxItem`,e=>e),[C,w]=o(`ListboxUi`,e=>(c(l(()=>({root:e.value?.filterRoot,control:e.value?.filterControl}))),e));export{y as provideListboxGroupContext,x as provideListboxItemContext,_ as provideListboxRootContext,C as provideListboxUi,h as useCollectionContext,g as useCollectionItem,b as useListboxGroupContext,S as useListboxItemContext,v as useListboxRootContext,w as useListboxUi};
@@ -1,11 +1,11 @@
1
1
  import { ListboxCollectionItemData, ListboxContentProps, ListboxFilterEmits, ListboxFilterProps, ListboxGroupLabelProps, ListboxGroupProps, ListboxItemEmits, ListboxItemIndicatorProps, ListboxItemProps, ListboxRootEmits, ListboxRootProps, ListboxUi, ListboxUiSlot, ListboxVirtualizerProps } from "./types.js";
2
2
  import { _default as _default$6 } from "./listbox-root.vue.js";
3
3
  import { _default } from "./listbox-content.vue.js";
4
- import { _default as _default$1 } from "./listbox-filter.vue.js";
5
- import { _default as _default$4 } from "./listbox-item.vue.js";
6
- import { _default as _default$5 } from "./listbox-item-indicator.vue.js";
7
4
  import { _default as _default$2 } from "./listbox-group.vue.js";
8
5
  import { _default as _default$3 } from "./listbox-group-label.vue.js";
6
+ import { _default as _default$4 } from "./listbox-item.vue.js";
7
+ import { _default as _default$5 } from "./listbox-item-indicator.vue.js";
8
+ import { _default as _default$1 } from "./listbox-filter.vue.js";
9
9
  import { _default as _default$7 } from "./listbox-virtualizer.vue.js";
10
10
  import { provideListboxUi } from "./context.js";
11
11
  export { type ListboxCollectionItemData, _default as ListboxContent, type ListboxContentProps, _default$1 as ListboxFilter, type ListboxFilterEmits, type ListboxFilterProps, _default$2 as ListboxGroup, _default$3 as ListboxGroupLabel, type ListboxGroupLabelProps, type ListboxGroupProps, _default$4 as ListboxItem, type ListboxItemEmits, _default$5 as ListboxItemIndicator, type ListboxItemIndicatorProps, type ListboxItemProps, _default$6 as ListboxRoot, type ListboxRootEmits, type ListboxRootProps, type ListboxUi, type ListboxUiSlot, _default$7 as ListboxVirtualizer, type ListboxVirtualizerProps, provideListboxUi };
@@ -1 +1 @@
1
- import{provideListboxUi as e}from"./context.js";import t from"./listbox-root.js";import n from"./listbox-content.js";import r from"./listbox-filter.js";import i from"./listbox-item.js";import a from"./listbox-item-indicator.js";import o from"./listbox-group.js";import s from"./listbox-group-label.js";import c from"./listbox-virtualizer.js";export{n as ListboxContent,r as ListboxFilter,o as ListboxGroup,s as ListboxGroupLabel,i as ListboxItem,a as ListboxItemIndicator,t as ListboxRoot,c as ListboxVirtualizer,e as provideListboxUi};
1
+ import{provideListboxUi as e}from"./context.js";import t from"./listbox-root.js";import n from"./listbox-content.js";import r from"./listbox-group.js";import i from"./listbox-group-label.js";import a from"./listbox-item.js";import o from"./listbox-item-indicator.js";import s from"./listbox-filter.js";import c from"./listbox-virtualizer.js";export{n as ListboxContent,s as ListboxFilter,r as ListboxGroup,i as ListboxGroupLabel,a as ListboxItem,o as ListboxItemIndicator,t as ListboxRoot,c as ListboxVirtualizer,e as provideListboxUi};
@@ -1,12 +1,12 @@
1
1
  import { ListboxContentProps } from "./types.js";
2
- import * as vue1127 from "vue";
2
+ import * as vue987 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-content.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: vue1127.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue1127.ComponentOptionsMixin, vue1127.ComponentOptionsMixin, {}, string, vue1127.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1127.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue987.DefineComponent<ListboxContentProps, {}, {}, {}, {}, vue987.ComponentOptionsMixin, vue987.ComponentOptionsMixin, {}, string, vue987.PublicProps, Readonly<ListboxContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue987.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 { ListboxFilterProps } from "./types.js";
2
- import * as vue1132 from "vue";
2
+ import * as vue1073 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-filter.vue.d.ts
5
5
  declare var __VLS_10: {
@@ -12,11 +12,11 @@ type __VLS_Slots = {} & {
12
12
  } & {
13
13
  trailing?: (props: typeof __VLS_21) => any;
14
14
  };
15
- declare const __VLS_base: vue1132.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue1132.ComponentOptionsMixin, vue1132.ComponentOptionsMixin, {
15
+ declare const __VLS_base: vue1073.DefineComponent<ListboxFilterProps, {}, {}, {}, {}, vue1073.ComponentOptionsMixin, vue1073.ComponentOptionsMixin, {
16
16
  "update:modelValue": (value: string) => any;
17
- }, string, vue1132.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
17
+ }, string, vue1073.PublicProps, Readonly<ListboxFilterProps> & Readonly<{
18
18
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
19
- }>, {}, {}, {}, {}, string, vue1132.ComponentProvideOptions, false, {}, any>;
19
+ }>, {}, {}, {}, {}, string, vue1073.ComponentProvideOptions, false, {}, any>;
20
20
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
21
21
  declare const _default: typeof __VLS_export;
22
22
  type __VLS_WithSlots<T, S> = T & {
@@ -1,12 +1,12 @@
1
1
  import { ListboxGroupLabelProps } from "./types.js";
2
- import * as vue1208 from "vue";
2
+ import * as vue1063 from "vue";
3
3
 
4
4
  //#region src/components/listbox/listbox-group-label.vue.d.ts
5
5
  declare var __VLS_1: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_1) => any;
8
8
  };
9
- declare const __VLS_base: vue1208.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue1208.ComponentOptionsMixin, vue1208.ComponentOptionsMixin, {}, string, vue1208.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1208.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue1063.DefineComponent<ListboxGroupLabelProps, {}, {}, {}, {}, vue1063.ComponentOptionsMixin, vue1063.ComponentOptionsMixin, {}, string, vue1063.PublicProps, Readonly<ListboxGroupLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue1063.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 & {