@soybeanjs/headless 0.5.2 → 0.5.4

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 (556) hide show
  1. package/dist/components/accordion/accordion-content.js +1 -1
  2. package/dist/components/accordion/accordion-content.vue.d.ts +2 -2
  3. package/dist/components/accordion/accordion-header.js +1 -1
  4. package/dist/components/accordion/accordion-header.vue.d.ts +2 -2
  5. package/dist/components/accordion/accordion-item.js +1 -1
  6. package/dist/components/accordion/accordion-item.vue.d.ts +5 -5
  7. package/dist/components/accordion/accordion-root.js +1 -1
  8. package/dist/components/accordion/accordion-root.vue.d.ts +3 -3
  9. package/dist/components/accordion/accordion-trigger.js +1 -1
  10. package/dist/components/accordion/accordion-trigger.vue.d.ts +2 -2
  11. package/dist/components/accordion/context.d.ts +2 -3
  12. package/dist/components/accordion/context.js +1 -1
  13. package/dist/components/alert/alert-close.js +1 -1
  14. package/dist/components/alert/alert-close.vue.d.ts +2 -2
  15. package/dist/components/alert/alert-content.js +1 -1
  16. package/dist/components/alert/alert-content.vue.d.ts +2 -2
  17. package/dist/components/alert/alert-description.js +1 -1
  18. package/dist/components/alert/alert-description.vue.d.ts +2 -2
  19. package/dist/components/alert/alert-root.js +1 -1
  20. package/dist/components/alert/alert-root.vue.d.ts +4 -4
  21. package/dist/components/alert/alert-title.js +1 -1
  22. package/dist/components/alert/alert-title.vue.d.ts +2 -2
  23. package/dist/components/alert/context.d.ts +2 -3
  24. package/dist/components/alert/context.js +1 -1
  25. package/dist/components/alert-dialog/alert-dialog-close.js +1 -1
  26. package/dist/components/alert-dialog/alert-dialog-close.vue.d.ts +2 -2
  27. package/dist/components/alert-dialog/alert-dialog-content.js +1 -1
  28. package/dist/components/alert-dialog/alert-dialog-content.vue.d.ts +6 -6
  29. package/dist/components/alert-dialog/alert-dialog-root.js +1 -1
  30. package/dist/components/alert-dialog/alert-dialog-root.vue.d.ts +4 -4
  31. package/dist/components/alert-dialog/context.js +1 -1
  32. package/dist/components/alert-dialog/index.js +1 -1
  33. package/dist/components/arrow/arrow.js +1 -1
  34. package/dist/components/arrow/arrow.vue.d.ts +2 -2
  35. package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
  36. package/dist/components/aspect-ratio/aspect-ratio.vue.d.ts +3 -3
  37. package/dist/components/avatar/avatar-fallback.js +1 -1
  38. package/dist/components/avatar/avatar-fallback.vue.d.ts +2 -2
  39. package/dist/components/avatar/avatar-image.js +1 -1
  40. package/dist/components/avatar/avatar-image.vue.d.ts +4 -4
  41. package/dist/components/avatar/avatar-root.js +1 -1
  42. package/dist/components/avatar/avatar-root.vue.d.ts +2 -2
  43. package/dist/components/avatar/context.d.ts +2 -3
  44. package/dist/components/avatar/context.js +1 -1
  45. package/dist/components/badge/badge-content.js +1 -1
  46. package/dist/components/badge/badge-content.vue.d.ts +2 -2
  47. package/dist/components/badge/badge-root.js +1 -1
  48. package/dist/components/badge/badge-root.vue.d.ts +4 -4
  49. package/dist/components/badge/context.d.ts +2 -2
  50. package/dist/components/badge/context.js +1 -1
  51. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  52. package/dist/components/breadcrumb/breadcrumb-ellipsis.vue.d.ts +2 -2
  53. package/dist/components/breadcrumb/breadcrumb-item.js +1 -1
  54. package/dist/components/breadcrumb/breadcrumb-item.vue.d.ts +2 -2
  55. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  56. package/dist/components/breadcrumb/breadcrumb-link.vue.d.ts +2 -2
  57. package/dist/components/breadcrumb/breadcrumb-list.js +1 -1
  58. package/dist/components/breadcrumb/breadcrumb-list.vue.d.ts +2 -2
  59. package/dist/components/breadcrumb/breadcrumb-page.js +1 -1
  60. package/dist/components/breadcrumb/breadcrumb-page.vue.d.ts +2 -2
  61. package/dist/components/breadcrumb/breadcrumb-root.js +1 -1
  62. package/dist/components/breadcrumb/breadcrumb-root.vue.d.ts +2 -2
  63. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  64. package/dist/components/breadcrumb/breadcrumb-separator.vue.d.ts +2 -2
  65. package/dist/components/breadcrumb/context.d.ts +2 -2
  66. package/dist/components/breadcrumb/context.js +1 -1
  67. package/dist/components/button/button.js +1 -1
  68. package/dist/components/button/button.vue.d.ts +5 -5
  69. package/dist/components/card/card-content.js +1 -1
  70. package/dist/components/card/card-content.vue.d.ts +2 -2
  71. package/dist/components/card/card-description.js +1 -1
  72. package/dist/components/card/card-description.vue.d.ts +2 -2
  73. package/dist/components/card/card-footer.js +1 -1
  74. package/dist/components/card/card-footer.vue.d.ts +2 -2
  75. package/dist/components/card/card-header.js +1 -1
  76. package/dist/components/card/card-header.vue.d.ts +2 -2
  77. package/dist/components/card/card-root.js +1 -1
  78. package/dist/components/card/card-root.vue.d.ts +2 -2
  79. package/dist/components/card/card-title-root.js +1 -1
  80. package/dist/components/card/card-title-root.vue.d.ts +2 -2
  81. package/dist/components/card/card-title.js +1 -1
  82. package/dist/components/card/card-title.vue.d.ts +2 -2
  83. package/dist/components/card/context.d.ts +2 -2
  84. package/dist/components/card/context.js +1 -1
  85. package/dist/components/checkbox/checkbox-control.js +1 -1
  86. package/dist/components/checkbox/checkbox-control.vue.d.ts +2 -2
  87. package/dist/components/checkbox/checkbox-group-root.js +1 -1
  88. package/dist/components/checkbox/checkbox-group-root.vue.d.ts +3 -3
  89. package/dist/components/checkbox/checkbox-indicator.js +1 -1
  90. package/dist/components/checkbox/checkbox-indicator.vue.d.ts +4 -4
  91. package/dist/components/checkbox/checkbox-label.js +1 -1
  92. package/dist/components/checkbox/checkbox-label.vue.d.ts +2 -2
  93. package/dist/components/checkbox/checkbox-root.js +1 -1
  94. package/dist/components/checkbox/checkbox-root.vue.d.ts +4 -4
  95. package/dist/components/checkbox/context.d.ts +2 -3
  96. package/dist/components/checkbox/context.js +1 -1
  97. package/dist/components/checkbox/types.d.ts +2 -4
  98. package/dist/components/collapsible/collapsible-content.js +1 -1
  99. package/dist/components/collapsible/collapsible-content.vue.d.ts +2 -2
  100. package/dist/components/collapsible/collapsible-root.js +1 -1
  101. package/dist/components/collapsible/collapsible-root.vue.d.ts +7 -7
  102. package/dist/components/collapsible/collapsible-trigger.js +1 -1
  103. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +4 -4
  104. package/dist/components/collapsible/context.d.ts +2 -3
  105. package/dist/components/collapsible/context.js +1 -1
  106. package/dist/components/collapsible/types.d.ts +1 -2
  107. package/dist/components/config-provider/config-provider.js +1 -1
  108. package/dist/components/config-provider/config-provider.vue.d.ts +3 -3
  109. package/dist/components/config-provider/context.js +1 -1
  110. package/dist/components/context-menu/context-menu-content.js +1 -1
  111. package/dist/components/context-menu/context-menu-content.vue.d.ts +8 -8
  112. package/dist/components/context-menu/context-menu-root.js +1 -1
  113. package/dist/components/context-menu/context-menu-root.vue.d.ts +4 -4
  114. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  115. package/dist/components/context-menu/context-menu-trigger.vue.d.ts +4 -4
  116. package/dist/components/context-menu/context.js +1 -1
  117. package/dist/components/context-menu/index.js +1 -1
  118. package/dist/components/dialog/context.d.ts +2 -3
  119. package/dist/components/dialog/context.js +1 -1
  120. package/dist/components/dialog/dialog-close.js +1 -1
  121. package/dist/components/dialog/dialog-close.vue.d.ts +2 -2
  122. package/dist/components/dialog/dialog-content-impl.js +1 -1
  123. package/dist/components/dialog/dialog-content.js +1 -1
  124. package/dist/components/dialog/dialog-content.vue.d.ts +6 -6
  125. package/dist/components/dialog/dialog-description.js +1 -1
  126. package/dist/components/dialog/dialog-description.vue.d.ts +2 -2
  127. package/dist/components/dialog/dialog-footer.js +1 -1
  128. package/dist/components/dialog/dialog-footer.vue.d.ts +2 -2
  129. package/dist/components/dialog/dialog-header.js +1 -1
  130. package/dist/components/dialog/dialog-header.vue.d.ts +2 -2
  131. package/dist/components/dialog/dialog-overlay.js +1 -1
  132. package/dist/components/dialog/dialog-overlay.vue.d.ts +2 -2
  133. package/dist/components/dialog/dialog-root.js +1 -1
  134. package/dist/components/dialog/dialog-root.vue.d.ts +4 -4
  135. package/dist/components/dialog/dialog-title.js +1 -1
  136. package/dist/components/dialog/dialog-title.vue.d.ts +2 -2
  137. package/dist/components/dialog/dialog-trigger.js +1 -1
  138. package/dist/components/dialog/dialog-trigger.vue.d.ts +2 -2
  139. package/dist/components/dialog/types.d.ts +1 -2
  140. package/dist/components/dropdown-menu/context.js +1 -1
  141. package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
  142. package/dist/components/dropdown-menu/dropdown-menu-content.vue.d.ts +8 -8
  143. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  144. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +6 -6
  145. package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
  146. package/dist/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts +4 -4
  147. package/dist/components/dropdown-menu/index.js +1 -1
  148. package/dist/components/form/context.d.ts +2 -3
  149. package/dist/components/form/context.js +1 -1
  150. package/dist/components/form/core/shared.js +1 -1
  151. package/dist/components/form/core/use-field-array.js +1 -1
  152. package/dist/components/form/core/use-form-state.js +1 -1
  153. package/dist/components/form/core/use-form.js +1 -1
  154. package/dist/components/form/form-description.js +1 -1
  155. package/dist/components/form/form-description.vue.d.ts +2 -2
  156. package/dist/components/form/form-error.js +1 -1
  157. package/dist/components/form/form-error.vue.d.ts +2 -2
  158. package/dist/components/form/form-field.js +1 -1
  159. package/dist/components/form/form-field.vue.d.ts +2 -2
  160. package/dist/components/form/form-label.js +1 -1
  161. package/dist/components/form/form-label.vue.d.ts +2 -2
  162. package/dist/components/input/context.d.ts +2 -2
  163. package/dist/components/input/context.js +1 -1
  164. package/dist/components/input/input-control.js +1 -1
  165. package/dist/components/input/input-control.vue.d.ts +2 -2
  166. package/dist/components/input/input-root.js +1 -1
  167. package/dist/components/input/input-root.vue.d.ts +4 -4
  168. package/dist/components/kbd/kbd.js +1 -1
  169. package/dist/components/kbd/kbd.vue.d.ts +2 -2
  170. package/dist/components/label/label.js +1 -1
  171. package/dist/components/label/label.vue.d.ts +2 -2
  172. package/dist/components/layout/context.d.ts +2 -3
  173. package/dist/components/layout/context.js +1 -1
  174. package/dist/components/layout/layout-content.js +1 -1
  175. package/dist/components/layout/layout-content.vue.d.ts +2 -2
  176. package/dist/components/layout/layout-footer.js +1 -1
  177. package/dist/components/layout/layout-footer.vue.d.ts +2 -2
  178. package/dist/components/layout/layout-header.js +1 -1
  179. package/dist/components/layout/layout-header.vue.d.ts +2 -2
  180. package/dist/components/layout/layout-main.js +1 -1
  181. package/dist/components/layout/layout-main.vue.d.ts +2 -2
  182. package/dist/components/layout/layout-mobile.js +1 -1
  183. package/dist/components/layout/layout-mobile.vue.d.ts +2 -2
  184. package/dist/components/layout/layout-rail.js +1 -1
  185. package/dist/components/layout/layout-rail.vue.d.ts +2 -2
  186. package/dist/components/layout/layout-root.js +1 -1
  187. package/dist/components/layout/layout-root.vue.d.ts +4 -4
  188. package/dist/components/layout/layout-sidebar.js +1 -1
  189. package/dist/components/layout/layout-sidebar.vue.d.ts +2 -2
  190. package/dist/components/layout/layout-tab.js +1 -1
  191. package/dist/components/layout/layout-tab.vue.d.ts +2 -2
  192. package/dist/components/layout/layout-trigger.js +1 -1
  193. package/dist/components/layout/layout-trigger.vue.d.ts +2 -2
  194. package/dist/components/link/link.js +1 -1
  195. package/dist/components/link/link.vue.d.ts +4 -4
  196. package/dist/components/list/context.d.ts +2 -2
  197. package/dist/components/list/context.js +1 -1
  198. package/dist/components/list/list-content.js +1 -1
  199. package/dist/components/list/list-content.vue.d.ts +2 -2
  200. package/dist/components/list/list-description.js +1 -1
  201. package/dist/components/list/list-description.vue.d.ts +2 -2
  202. package/dist/components/list/list-item.js +1 -1
  203. package/dist/components/list/list-item.vue.d.ts +2 -2
  204. package/dist/components/list/list-root.js +1 -1
  205. package/dist/components/list/list-root.vue.d.ts +2 -2
  206. package/dist/components/list/list-title.js +1 -1
  207. package/dist/components/list/list-title.vue.d.ts +2 -2
  208. package/dist/components/listbox/context.d.ts +2 -3
  209. package/dist/components/listbox/context.js +1 -1
  210. package/dist/components/listbox/listbox-content.js +1 -1
  211. package/dist/components/listbox/listbox-content.vue.d.ts +2 -2
  212. package/dist/components/listbox/listbox-filter.js +1 -1
  213. package/dist/components/listbox/listbox-filter.vue.d.ts +4 -4
  214. package/dist/components/listbox/listbox-group-label.js +1 -1
  215. package/dist/components/listbox/listbox-group-label.vue.d.ts +2 -2
  216. package/dist/components/listbox/listbox-group.js +1 -1
  217. package/dist/components/listbox/listbox-group.vue.d.ts +2 -2
  218. package/dist/components/listbox/listbox-item-indicator.js +1 -1
  219. package/dist/components/listbox/listbox-item-indicator.vue.d.ts +4 -4
  220. package/dist/components/listbox/listbox-item.js +1 -1
  221. package/dist/components/listbox/listbox-item.vue.d.ts +5 -5
  222. package/dist/components/listbox/listbox-root.js +1 -1
  223. package/dist/components/listbox/listbox-root.vue.d.ts +5 -5
  224. package/dist/components/listbox/listbox-virtualizer.js +1 -1
  225. package/dist/components/listbox/listbox-virtualizer.vue.d.ts +2 -2
  226. package/dist/components/listbox/types.d.ts +3 -7
  227. package/dist/components/menu/context.d.ts +2 -3
  228. package/dist/components/menu/context.js +1 -1
  229. package/dist/components/menu/menu-checkbox-group.js +1 -1
  230. package/dist/components/menu/menu-checkbox-group.vue.d.ts +3 -3
  231. package/dist/components/menu/menu-checkbox-item.js +1 -1
  232. package/dist/components/menu/menu-checkbox-item.vue.d.ts +4 -4
  233. package/dist/components/menu/menu-content-impl.js +1 -1
  234. package/dist/components/menu/menu-content.js +1 -1
  235. package/dist/components/menu/menu-content.vue.d.ts +8 -8
  236. package/dist/components/menu/menu-group-label.js +1 -1
  237. package/dist/components/menu/menu-group-label.vue.d.ts +2 -2
  238. package/dist/components/menu/menu-group.js +1 -1
  239. package/dist/components/menu/menu-group.vue.d.ts +2 -2
  240. package/dist/components/menu/menu-item-impl.js +1 -1
  241. package/dist/components/menu/menu-item-indicator.js +1 -1
  242. package/dist/components/menu/menu-item-indicator.vue.d.ts +4 -4
  243. package/dist/components/menu/menu-item.js +1 -1
  244. package/dist/components/menu/menu-item.vue.d.ts +4 -4
  245. package/dist/components/menu/menu-radio-group.js +1 -1
  246. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  247. package/dist/components/menu/menu-radio-item.js +1 -1
  248. package/dist/components/menu/menu-radio-item.vue.d.ts +4 -4
  249. package/dist/components/menu/menu-root.js +1 -1
  250. package/dist/components/menu/menu-root.vue.d.ts +4 -4
  251. package/dist/components/menu/menu-sub-content.js +1 -1
  252. package/dist/components/menu/menu-sub-content.vue.d.ts +8 -8
  253. package/dist/components/menu/menu-sub-trigger.js +1 -1
  254. package/dist/components/menu/menu-sub-trigger.vue.d.ts +2 -2
  255. package/dist/components/menu/menu-sub.js +1 -1
  256. package/dist/components/menu/menu-sub.vue.d.ts +4 -4
  257. package/dist/components/menu/types.d.ts +3 -6
  258. package/dist/components/navigation-menu/context.d.ts +2 -3
  259. package/dist/components/navigation-menu/context.js +1 -1
  260. package/dist/components/navigation-menu/navigation-menu-content-impl.js +1 -1
  261. package/dist/components/navigation-menu/navigation-menu-content.js +1 -1
  262. package/dist/components/navigation-menu/navigation-menu-content.vue.d.ts +4 -4
  263. package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
  264. package/dist/components/navigation-menu/navigation-menu-indicator.vue.d.ts +2 -2
  265. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  266. package/dist/components/navigation-menu/navigation-menu-item.vue.d.ts +2 -2
  267. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  268. package/dist/components/navigation-menu/navigation-menu-link.vue.d.ts +4 -4
  269. package/dist/components/navigation-menu/navigation-menu-list.js +1 -1
  270. package/dist/components/navigation-menu/navigation-menu-list.vue.d.ts +2 -2
  271. package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
  272. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +6 -6
  273. package/dist/components/navigation-menu/navigation-menu-sub-list.js +1 -1
  274. package/dist/components/navigation-menu/navigation-menu-sub-list.vue.d.ts +2 -2
  275. package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
  276. package/dist/components/navigation-menu/navigation-menu-trigger.vue.d.ts +4 -4
  277. package/dist/components/navigation-menu/navigation-menu-viewport.js +1 -1
  278. package/dist/components/navigation-menu/navigation-menu-viewport.vue.d.ts +3 -3
  279. package/dist/components/number-input/context.d.ts +2 -3
  280. package/dist/components/number-input/context.js +1 -1
  281. package/dist/components/number-input/number-input-control.js +1 -1
  282. package/dist/components/number-input/number-input-control.vue.d.ts +2 -2
  283. package/dist/components/number-input/number-input-decrement.js +1 -1
  284. package/dist/components/number-input/number-input-decrement.vue.d.ts +4 -4
  285. package/dist/components/number-input/number-input-increment.js +1 -1
  286. package/dist/components/number-input/number-input-increment.vue.d.ts +4 -4
  287. package/dist/components/number-input/number-input-root.js +1 -1
  288. package/dist/components/number-input/number-input-root.vue.d.ts +4 -4
  289. package/dist/components/number-input/shared.js +1 -1
  290. package/dist/components/page-tabs/context.d.ts +2 -3
  291. package/dist/components/page-tabs/context.js +1 -1
  292. package/dist/components/page-tabs/hooks.js +1 -1
  293. package/dist/components/page-tabs/page-tabs-close.js +1 -1
  294. package/dist/components/page-tabs/page-tabs-close.vue.d.ts +2 -2
  295. package/dist/components/page-tabs/page-tabs-item.js +1 -1
  296. package/dist/components/page-tabs/page-tabs-item.vue.d.ts +4 -4
  297. package/dist/components/page-tabs/page-tabs-pin.js +1 -1
  298. package/dist/components/page-tabs/page-tabs-pin.vue.d.ts +2 -2
  299. package/dist/components/page-tabs/page-tabs-root.js +1 -1
  300. package/dist/components/page-tabs/page-tabs-root.vue.d.ts +6 -6
  301. package/dist/components/pagination/context.d.ts +2 -3
  302. package/dist/components/pagination/context.js +1 -1
  303. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  304. package/dist/components/pagination/pagination-ellipsis.vue.d.ts +2 -2
  305. package/dist/components/pagination/pagination-first.js +1 -1
  306. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  307. package/dist/components/pagination/pagination-last.js +1 -1
  308. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  309. package/dist/components/pagination/pagination-list-item.js +1 -1
  310. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  311. package/dist/components/pagination/pagination-list.js +1 -1
  312. package/dist/components/pagination/pagination-list.vue.d.ts +2 -2
  313. package/dist/components/pagination/pagination-next.js +1 -1
  314. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  315. package/dist/components/pagination/pagination-prev.js +1 -1
  316. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  317. package/dist/components/pagination/pagination-root.js +1 -1
  318. package/dist/components/pagination/pagination-root.vue.d.ts +4 -4
  319. package/dist/components/pagination/types.d.ts +1 -2
  320. package/dist/components/popover/context.js +1 -1
  321. package/dist/components/popover/popover-anchor.js +1 -1
  322. package/dist/components/popover/popover-anchor.vue.d.ts +2 -2
  323. package/dist/components/popover/popover-close.js +1 -1
  324. package/dist/components/popover/popover-close.vue.d.ts +4 -4
  325. package/dist/components/popover/popover-popup.js +1 -1
  326. package/dist/components/popover/popover-popup.vue.d.ts +2 -2
  327. package/dist/components/popover/popover-positioner-impl.js +1 -1
  328. package/dist/components/popover/popover-positioner.js +1 -1
  329. package/dist/components/popover/popover-positioner.vue.d.ts +6 -6
  330. package/dist/components/popover/popover-root.js +1 -1
  331. package/dist/components/popover/popover-root.vue.d.ts +4 -4
  332. package/dist/components/popover/popover-trigger.js +1 -1
  333. package/dist/components/popover/popover-trigger.vue.d.ts +4 -4
  334. package/dist/components/popper/context.d.ts +2 -3
  335. package/dist/components/popper/context.js +1 -1
  336. package/dist/components/popper/popper-anchor.js +1 -1
  337. package/dist/components/popper/popper-anchor.vue.d.ts +2 -2
  338. package/dist/components/popper/popper-arrow.js +1 -1
  339. package/dist/components/popper/popper-arrow.vue.d.ts +2 -2
  340. package/dist/components/popper/popper-popup.js +1 -1
  341. package/dist/components/popper/popper-popup.vue.d.ts +2 -2
  342. package/dist/components/popper/popper-positioner.js +1 -1
  343. package/dist/components/popper/popper-positioner.vue.d.ts +44 -44
  344. package/dist/components/popper/popper-root.js +1 -1
  345. package/dist/components/popper/popper-root.vue.d.ts +2 -2
  346. package/dist/components/popper/shared.js +1 -1
  347. package/dist/components/portal/portal.js +1 -1
  348. package/dist/components/portal/portal.vue.d.ts +3 -3
  349. package/dist/components/primitive/primitive.d.ts +2 -2
  350. package/dist/components/primitive/primitive.js +1 -1
  351. package/dist/components/radio-group/context.d.ts +2 -3
  352. package/dist/components/radio-group/context.js +1 -1
  353. package/dist/components/radio-group/radio-group-control.js +1 -1
  354. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  355. package/dist/components/radio-group/radio-group-indicator.js +1 -1
  356. package/dist/components/radio-group/radio-group-indicator.vue.d.ts +4 -4
  357. package/dist/components/radio-group/radio-group-item.js +1 -1
  358. package/dist/components/radio-group/radio-group-item.vue.d.ts +4 -4
  359. package/dist/components/radio-group/radio-group-label.js +1 -1
  360. package/dist/components/radio-group/radio-group-label.vue.d.ts +2 -2
  361. package/dist/components/radio-group/radio-group-root.js +1 -1
  362. package/dist/components/radio-group/radio-group-root.vue.d.ts +3 -3
  363. package/dist/components/radio-group/types.d.ts +2 -4
  364. package/dist/components/roving-focus/context.js +1 -1
  365. package/dist/components/roving-focus/roving-focus-group.js +1 -1
  366. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +6 -6
  367. package/dist/components/roving-focus/roving-focus-item.js +1 -1
  368. package/dist/components/roving-focus/roving-focus-item.vue.d.ts +3 -3
  369. package/dist/components/select/context.d.ts +2 -3
  370. package/dist/components/select/context.js +1 -1
  371. package/dist/components/select/select-arrow.js +1 -1
  372. package/dist/components/select/select-arrow.vue.d.ts +2 -2
  373. package/dist/components/select/select-bubble-select.js +1 -1
  374. package/dist/components/select/select-content-impl.js +1 -1
  375. package/dist/components/select/select-content.js +1 -1
  376. package/dist/components/select/select-content.vue.d.ts +4 -4
  377. package/dist/components/select/select-group-label.js +1 -1
  378. package/dist/components/select/select-group-label.vue.d.ts +2 -2
  379. package/dist/components/select/select-group.js +1 -1
  380. package/dist/components/select/select-group.vue.d.ts +2 -2
  381. package/dist/components/select/select-item-aligned-popup.js +1 -1
  382. package/dist/components/select/select-item-aligned-positioner.js +1 -1
  383. package/dist/components/select/select-item-indicator.js +1 -1
  384. package/dist/components/select/select-item-indicator.vue.d.ts +4 -4
  385. package/dist/components/select/select-item-text.js +1 -1
  386. package/dist/components/select/select-item-text.vue.d.ts +2 -2
  387. package/dist/components/select/select-item.js +1 -1
  388. package/dist/components/select/select-item.vue.d.ts +4 -4
  389. package/dist/components/select/select-popper-popup.js +1 -1
  390. package/dist/components/select/select-root.js +1 -1
  391. package/dist/components/select/select-root.vue.d.ts +3 -3
  392. package/dist/components/select/select-scroll-button-impl.js +1 -1
  393. package/dist/components/select/select-scroll-down-button.js +1 -1
  394. package/dist/components/select/select-scroll-down-button.vue.d.ts +2 -2
  395. package/dist/components/select/select-scroll-up-button.js +1 -1
  396. package/dist/components/select/select-scroll-up-button.vue.d.ts +2 -2
  397. package/dist/components/select/select-separator.js +1 -1
  398. package/dist/components/select/select-separator.vue.d.ts +2 -2
  399. package/dist/components/select/select-teleport-provider.js +1 -1
  400. package/dist/components/select/select-trigger-icon.js +1 -1
  401. package/dist/components/select/select-trigger-icon.vue.d.ts +2 -2
  402. package/dist/components/select/select-trigger.js +1 -1
  403. package/dist/components/select/select-trigger.vue.d.ts +4 -4
  404. package/dist/components/select/select-value.js +1 -1
  405. package/dist/components/select/select-value.vue.d.ts +3 -3
  406. package/dist/components/select/select-viewport.js +1 -1
  407. package/dist/components/select/select-viewport.vue.d.ts +2 -2
  408. package/dist/components/select/shared.js +1 -1
  409. package/dist/components/select/types.d.ts +4 -8
  410. package/dist/components/separator/context.d.ts +2 -2
  411. package/dist/components/separator/context.js +1 -1
  412. package/dist/components/separator/separator-label.js +1 -1
  413. package/dist/components/separator/separator-label.vue.d.ts +2 -2
  414. package/dist/components/separator/separator-root.js +1 -1
  415. package/dist/components/separator/separator-root.vue.d.ts +3 -3
  416. package/dist/components/slot/slot.d.ts +2 -2
  417. package/dist/components/slot/slot.js +1 -1
  418. package/dist/components/switch/context.d.ts +2 -3
  419. package/dist/components/switch/context.js +1 -1
  420. package/dist/components/switch/switch-control.js +1 -1
  421. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  422. package/dist/components/switch/switch-root.js +1 -1
  423. package/dist/components/switch/switch-root.vue.d.ts +3 -3
  424. package/dist/components/switch/switch-thumb.js +1 -1
  425. package/dist/components/switch/switch-thumb.vue.d.ts +4 -4
  426. package/dist/components/switch/types.d.ts +1 -2
  427. package/dist/components/tabs/context.d.ts +2 -3
  428. package/dist/components/tabs/context.js +1 -1
  429. package/dist/components/tabs/tabs-content.js +1 -1
  430. package/dist/components/tabs/tabs-content.vue.d.ts +2 -2
  431. package/dist/components/tabs/tabs-indicator.js +1 -1
  432. package/dist/components/tabs/tabs-indicator.vue.d.ts +2 -2
  433. package/dist/components/tabs/tabs-list.js +1 -1
  434. package/dist/components/tabs/tabs-list.vue.d.ts +2 -2
  435. package/dist/components/tabs/tabs-root.js +1 -1
  436. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  437. package/dist/components/tabs/tabs-trigger.js +1 -1
  438. package/dist/components/tabs/tabs-trigger.vue.d.ts +4 -4
  439. package/dist/components/tabs/types.d.ts +1 -2
  440. package/dist/components/tag/tag.js +1 -1
  441. package/dist/components/tag/tag.vue.d.ts +4 -4
  442. package/dist/components/textarea/context.d.ts +2 -2
  443. package/dist/components/textarea/context.js +1 -1
  444. package/dist/components/textarea/textarea-control.js +1 -1
  445. package/dist/components/textarea/textarea-control.vue.d.ts +2 -2
  446. package/dist/components/textarea/textarea-counter.js +1 -1
  447. package/dist/components/textarea/textarea-counter.vue.d.ts +2 -2
  448. package/dist/components/textarea/textarea-root.js +1 -1
  449. package/dist/components/textarea/textarea-root.vue.d.ts +4 -4
  450. package/dist/components/toast/context.d.ts +0 -1
  451. package/dist/components/toast/context.js +1 -1
  452. package/dist/components/toast/shared.js +1 -1
  453. package/dist/components/toast/toast-action.js +1 -1
  454. package/dist/components/toast/toast-action.vue.d.ts +4 -4
  455. package/dist/components/toast/toast-announce.js +1 -1
  456. package/dist/components/toast/toast-close.js +1 -1
  457. package/dist/components/toast/toast-close.vue.d.ts +4 -4
  458. package/dist/components/toast/toast-description.js +1 -1
  459. package/dist/components/toast/toast-description.vue.d.ts +2 -2
  460. package/dist/components/toast/toast-focus-proxy.js +1 -1
  461. package/dist/components/toast/toast-provider.js +1 -1
  462. package/dist/components/toast/toast-provider.vue.d.ts +3 -3
  463. package/dist/components/toast/toast-root.js +1 -1
  464. package/dist/components/toast/toast-root.vue.d.ts +7 -7
  465. package/dist/components/toast/toast-title.js +1 -1
  466. package/dist/components/toast/toast-title.vue.d.ts +2 -2
  467. package/dist/components/toast/toast-viewport.js +1 -1
  468. package/dist/components/toast/toast-viewport.vue.d.ts +4 -4
  469. package/dist/components/toast/types.d.ts +6 -12
  470. package/dist/components/tooltip/context.js +1 -1
  471. package/dist/components/tooltip/tooltip-popup.js +1 -1
  472. package/dist/components/tooltip/tooltip-popup.vue.d.ts +2 -2
  473. package/dist/components/tooltip/tooltip-positioner-impl.js +1 -1
  474. package/dist/components/tooltip/tooltip-positioner.js +1 -1
  475. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +4 -4
  476. package/dist/components/tooltip/tooltip-root.js +1 -1
  477. package/dist/components/tooltip/tooltip-root.vue.d.ts +4 -4
  478. package/dist/components/tooltip/tooltip-trigger.js +1 -1
  479. package/dist/components/tooltip/tooltip-trigger.vue.d.ts +4 -4
  480. package/dist/components/tree/context.js +1 -1
  481. package/dist/components/tree/hooks.js +1 -1
  482. package/dist/components/tree/tree-item.js +1 -1
  483. package/dist/components/tree/tree-item.vue.d.ts +5 -5
  484. package/dist/components/tree/tree-root.js +1 -1
  485. package/dist/components/tree/tree-root.vue.d.ts +3 -3
  486. package/dist/components/tree/tree-virtualizer-item.js +1 -1
  487. package/dist/components/tree/tree-virtualizer-item.vue.d.ts +4 -4
  488. package/dist/components/tree/tree-virtualizer-root.js +1 -1
  489. package/dist/components/tree/tree-virtualizer-root.vue.d.ts +3 -3
  490. package/dist/components/tree/types.d.ts +2 -5
  491. package/dist/components/tree-menu/context.d.ts +2 -3
  492. package/dist/components/tree-menu/context.js +1 -1
  493. package/dist/components/tree-menu/tree-menu-button.js +1 -1
  494. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +4 -4
  495. package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
  496. package/dist/components/tree-menu/tree-menu-collapsible.vue.d.ts +2 -2
  497. package/dist/components/tree-menu/tree-menu-group-label.js +1 -1
  498. package/dist/components/tree-menu/tree-menu-group-label.vue.d.ts +2 -2
  499. package/dist/components/tree-menu/tree-menu-group-root.js +1 -1
  500. package/dist/components/tree-menu/tree-menu-group-root.vue.d.ts +2 -2
  501. package/dist/components/tree-menu/tree-menu-group.js +1 -1
  502. package/dist/components/tree-menu/tree-menu-group.vue.d.ts +4 -4
  503. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  504. package/dist/components/tree-menu/tree-menu-item.vue.d.ts +4 -4
  505. package/dist/components/tree-menu/tree-menu-root.js +1 -1
  506. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +4 -4
  507. package/dist/components/tree-menu/tree-menu-sub.js +1 -1
  508. package/dist/components/tree-menu/tree-menu-sub.vue.d.ts +4 -4
  509. package/dist/components/virtualizer/context.js +1 -1
  510. package/dist/components/virtualizer/virtualizer-content.js +1 -1
  511. package/dist/components/virtualizer/virtualizer-content.vue.d.ts +2 -2
  512. package/dist/components/virtualizer/virtualizer-item.js +1 -1
  513. package/dist/components/virtualizer/virtualizer-item.vue.d.ts +2 -2
  514. package/dist/components/virtualizer/virtualizer-root.js +1 -1
  515. package/dist/components/virtualizer/virtualizer-root.vue.d.ts +3 -3
  516. package/dist/components/visually-hidden/visually-hidden-input-bubble.js +1 -1
  517. package/dist/components/visually-hidden/visually-hidden-input.js +1 -1
  518. package/dist/components/visually-hidden/visually-hidden-input.vue.d.ts +3 -3
  519. package/dist/components/visually-hidden/visually-hidden.js +1 -1
  520. package/dist/components/visually-hidden/visually-hidden.vue.d.ts +4 -4
  521. package/dist/composables/use-body-scroll-lock.js +1 -1
  522. package/dist/composables/use-collection.d.ts +6 -6
  523. package/dist/composables/use-collection.js +1 -1
  524. package/dist/composables/use-context.js +1 -1
  525. package/dist/composables/use-dismissable-layer.d.ts +2 -2
  526. package/dist/composables/use-dismissable-layer.js +1 -1
  527. package/dist/composables/use-exposed-element.d.ts +2 -2
  528. package/dist/composables/use-floating.js +1 -1
  529. package/dist/composables/use-focus-guards.js +1 -1
  530. package/dist/composables/use-focus-scope.js +1 -1
  531. package/dist/composables/use-forward-element.d.ts +2 -3
  532. package/dist/composables/use-forward-element.js +1 -1
  533. package/dist/composables/use-grace-area.js +1 -1
  534. package/dist/composables/use-hide-others.d.ts +0 -1
  535. package/dist/composables/use-hide-others.js +1 -1
  536. package/dist/composables/use-image-loading-status.d.ts +2 -2
  537. package/dist/composables/use-image-loading-status.js +1 -1
  538. package/dist/composables/use-is-using-keyboard.d.ts +2 -2
  539. package/dist/composables/use-is-using-keyboard.js +1 -1
  540. package/dist/composables/use-kbd.d.ts +2 -2
  541. package/dist/composables/use-presence.d.ts +2 -2
  542. package/dist/composables/use-props.d.ts +3 -3
  543. package/dist/composables/use-props.js +1 -1
  544. package/dist/composables/use-selection.d.ts +4 -4
  545. package/dist/composables/use-selection.js +1 -1
  546. package/dist/composables/use-typeahead.js +1 -1
  547. package/dist/index.js +1 -1
  548. package/dist/namespaced/index.js +1 -1
  549. package/dist/resolver/index.js +1 -1
  550. package/dist/shared/comparison.d.ts +0 -1
  551. package/dist/shared/form.d.ts +0 -1
  552. package/dist/types/component.d.ts +3 -8
  553. package/dist/types/dom.d.ts +0 -1
  554. package/dist/types/path.d.ts +2 -2
  555. package/dist/types/vue.d.ts +1 -1
  556. package/package.json +14 -4
@@ -1,5 +1,5 @@
1
1
  import { DialogRootProps } from "./types.js";
2
- import * as vue40 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/dialog/dialog-root.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -9,15 +9,15 @@ declare var __VLS_1: {
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_1) => any;
11
11
  };
12
- declare const __VLS_base: vue40.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue40.ComponentOptionsMixin, vue40.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue.DefineComponent<DialogRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
13
  "update:open": (value: boolean) => any;
14
- }, string, vue40.PublicProps, Readonly<DialogRootProps> & Readonly<{
14
+ }, string, vue.PublicProps, Readonly<DialogRootProps> & Readonly<{
15
15
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
16
16
  }>, {
17
17
  open: boolean;
18
18
  defaultOpen: boolean;
19
19
  modal: boolean;
20
- }, {}, {}, {}, string, vue40.ComponentProvideOptions, false, {}, any>;
20
+ }, {}, {}, {}, string, vue.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 +1 @@
1
- import{useDialogRootContext as e,useDialogUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`];var l=r({name:`DialogTitle`,__name:`dialog-title`,setup(r){let{titleId:l,initTitleId:u}=e(`DialogTitle`),d=t(`title`);return u(),(e,t)=>(a(),n(`h2`,{id:s(l),class:i(s(d))},[o(e.$slots,`default`)],10,c))}});export{l as default};
1
+ import{useDialogRootContext as e,useDialogUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`],l=r({name:`DialogTitle`,__name:`dialog-title`,setup(r){let{titleId:l,initTitleId:u}=e(`DialogTitle`),d=t(`title`);return u(),(e,t)=>(a(),n(`h2`,{id:s(l),class:i(s(d))},[o(e.$slots,`default`)],10,c))}});export{l as default};
@@ -1,12 +1,12 @@
1
1
  import { DialogTitleProps } from "./types.js";
2
- import * as vue55 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/dialog/dialog-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: vue55.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue55.ComponentOptionsMixin, vue55.ComponentOptionsMixin, {}, string, vue55.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue55.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<DialogTitleProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<DialogTitleProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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{Primitive as e}from"../primitive/primitive.js";import{useDialogRootContext 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:`DialogTrigger`,__name:`dialog-trigger`,props:{asChild:{type:Boolean},as:{}},setup(i){let l=i,{open:u,onOpenToggle:d,dataState:f,contentId:p,setTriggerElement:m}=t(`DialogTrigger`),h=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{ref:s(m),as:i.as,"as-child":i.asChild,type:h.value,"aria-haspopup":`dialog`,"aria-expanded":s(u)||!1,"aria-controls":s(u)?s(p):void 0,"data-state":s(f),onClick:s(d)},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}});export{l as default};
1
+ import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{useDialogRootContext 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";const l=i({name:`DialogTrigger`,__name:`dialog-trigger`,props:{asChild:{type:Boolean},as:{}},setup(i){let l=i,{open:u,onOpenToggle:d,dataState:f,contentId:p,setTriggerElement:m}=t(`DialogTrigger`),h=n(()=>l.as===`button`?`button`:void 0);return(t,n)=>(a(),r(s(e),{ref:s(m),as:i.as,"as-child":i.asChild,type:h.value,"aria-haspopup":`dialog`,"aria-expanded":s(u)||!1,"aria-controls":s(u)?s(p):void 0,"data-state":s(f),onClick:s(d)},{default:c(()=>[o(t.$slots,`default`)]),_:3},8,[`as`,`as-child`,`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}});export{l as default};
@@ -1,12 +1,12 @@
1
1
  import { DialogTriggerProps } from "./types.js";
2
- import * as vue50 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/dialog/dialog-trigger.vue.d.ts
5
5
  declare var __VLS_10: {};
6
6
  type __VLS_Slots = {} & {
7
7
  default?: (props: typeof __VLS_10) => any;
8
8
  };
9
- declare const __VLS_base: vue50.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue50.ComponentOptionsMixin, vue50.ComponentOptionsMixin, {}, string, vue50.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue50.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<DialogTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<DialogTriggerProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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 & {
@@ -27,8 +27,7 @@ interface DialogRootProps {
27
27
  modal?: boolean;
28
28
  }
29
29
  type DialogRootEmits = {
30
- /** Event handler called when the open state of the dialog changes. */
31
- 'update:open': [value: boolean];
30
+ /** Event handler called when the open state of the dialog changes. */'update:open': [value: boolean];
32
31
  };
33
32
  interface DialogTriggerProps extends PrimitiveProps, /** @vue-ignore */ButtonHTMLAttributes {}
34
33
  interface DialogOverlayProps extends ForceMountProps, /** @vue-ignore */HTMLAttributes {}
@@ -1 +1 @@
1
- import{getDisclosureState as e}from"../../shared/value.js";import{useContext as t}from"../../composables/use-context.js";import{useDirection as n}from"../config-provider/context.js";import{DROPDOWN_MENU_HOVER_OPEN as r}from"./shared.js";import{computed as i,shallowRef as a,watchEffect as o}from"vue";const[s,c]=t(`DropdownMenuRoot`,t=>{let{open:r}=t,a=e=>{r.value=e},o=()=>{r.value=!r.value},s=n(t.dir),c=i(()=>e(r.value));return{...t,dir:s,dataState:c,onOpenChange:a,onOpenToggle:o}}),[l,u]=t(`DropdownMenuHover`,e=>{let{open:t,hoverable:n,delayDuration:i,skipDelayDuration:s}=e,c=a(!0),l=null,u=()=>{l&&(clearTimeout(l),l=null)},d=()=>{u(),l=setTimeout(()=>{c.value=!0},s.value)},f=()=>{u(),c.value=!1},p=a(!1),m=a(!1),h=null,g=()=>{h&&(clearTimeout(h),h=null)},_=()=>{g(),h=setTimeout(()=>{m.value=!0,t.value=!0},i.value)},v=()=>{g(),m.value=!1,t.value=!0},y=()=>{g(),t.value=!1},b=()=>{_()},x=()=>{c.value?b():v()},S=()=>{g()};return o(()=>{n.value&&(t.value?(f(),document.dispatchEvent(new CustomEvent(r))):d())}),{...e,isOpenDelayed:c,isPointerInTransitRef:p,onOpen:v,onClose:y,onTriggerEnter:x,onTriggerLeave:S}});export{l as provideDropdownMenuHoverContext,s as provideDropdownMenuRootContext,u as useDropdownMenuHoverContext,c as useDropdownMenuRootContext};
1
+ import{getDisclosureState as e}from"../../shared/value.js";import"../../shared/index.js";import{useContext as t}from"../../composables/use-context.js";import"../../composables/index.js";import{useDirection as n}from"../config-provider/context.js";import{DROPDOWN_MENU_HOVER_OPEN as r}from"./shared.js";import{computed as i,shallowRef as a,watchEffect as o}from"vue";const[s,c]=t(`DropdownMenuRoot`,t=>{let{open:r}=t,a=e=>{r.value=e},o=()=>{r.value=!r.value},s=n(t.dir),c=i(()=>e(r.value));return{...t,dir:s,dataState:c,onOpenChange:a,onOpenToggle:o}}),[l,u]=t(`DropdownMenuHover`,e=>{let{open:t,hoverable:n,delayDuration:i,skipDelayDuration:s}=e,c=a(!0),l=null,u=()=>{l&&(clearTimeout(l),l=null)},d=()=>{u(),l=setTimeout(()=>{c.value=!0},s.value)},f=()=>{u(),c.value=!1},p=a(!1),m=a(!1),h=null,g=()=>{h&&(clearTimeout(h),h=null)},_=()=>{g(),h=setTimeout(()=>{m.value=!0,t.value=!0},i.value)},v=()=>{g(),m.value=!1,t.value=!0},y=()=>{g(),t.value=!1},b=()=>{_()},x=()=>{c.value?b():v()},S=()=>{g()};return o(()=>{n.value&&(t.value?(f(),document.dispatchEvent(new CustomEvent(r))):d())}),{...e,isOpenDelayed:c,isPointerInTransitRef:p,onOpen:v,onClose:y,onTriggerEnter:x,onTriggerLeave:S}});export{l as provideDropdownMenuHoverContext,s as provideDropdownMenuRootContext,u as useDropdownMenuHoverContext,c as useDropdownMenuRootContext};
@@ -1 +1 @@
1
- import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useGraceArea as t}from"../../composables/use-grace-area.js";import{useMenuContext as n}from"../menu/context.js";import r from"../menu/menu-content.js";import{DROPDOWN_MENU_HOVER_OPEN as i}from"./shared.js";import{useDropdownMenuHoverContext as a,useDropdownMenuRootContext as o}from"./context.js";import{computed as s,createBlock as c,defineComponent as l,mergeProps as u,onWatcherCleanup as d,openBlock as f,renderSlot as p,toHandlers as m,unref as h,watchPostEffect as g,withCtx as _}from"vue";var v=l({name:`DropdownMenuContent`,__name:`dropdown-menu-content`,props:{popupProps:{},placement:{},side:{},sideOffset:{default:8},sideFlip:{type:Boolean,default:!0},align:{},alignOffset:{},alignFlip:{type:Boolean,default:!0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(l,{emit:v}){let y=l,b=e(v),{popupElement:x,triggerElement:S}=n(`DropdownMenuContent`),{modal:C}=o(`DropdownMenuContent`),{isPointerInTransitRef:w,hoverable:T,onClose:E}=a(`DropdownMenuContent`);t({triggerElement:S,areaElement:x,onPointerInTransitChange:e=>{w.value=e},onPointerExit:()=>{E()},subAreaAttribute:`data-soybean-menu-sub-popup`,disabled:s(()=>!T.value)});let D=!1,O=e=>{e.defaultPrevented||T.value||D||(setTimeout(()=>{S.value?.focus()},0),D=!1,e.preventDefault())},k=e=>{if(e.defaultPrevented)return;let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!C.value||r)&&(D=!0),S.value?.contains(e.target)&&e.preventDefault()};return g(()=>{if(!T.value)return;let e=e=>{e.target?.contains(S.value)&&E()};window.addEventListener(`scroll`,e),window.addEventListener(i,E),d(()=>{window.removeEventListener(`scroll`,e),window.removeEventListener(i,E)})}),(e,t)=>(f(),c(h(r),u(y,m(h(b)),{onCloseAutoFocus:O,onInteractOutside:k}),{default:_(()=>[p(e.$slots,`default`)]),_:3},16))}});export{v as default};
1
+ import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useGraceArea as t}from"../../composables/use-grace-area.js";import"../../composables/index.js";import{useMenuContext as n}from"../menu/context.js";import r from"../menu/menu-content.js";import"../menu/index.js";import{DROPDOWN_MENU_HOVER_OPEN as i}from"./shared.js";import{useDropdownMenuHoverContext as a,useDropdownMenuRootContext as o}from"./context.js";import{computed as s,createBlock as c,defineComponent as l,mergeProps as u,onWatcherCleanup as d,openBlock as f,renderSlot as p,toHandlers as m,unref as h,watchPostEffect as g,withCtx as _}from"vue";const v=l({name:`DropdownMenuContent`,__name:`dropdown-menu-content`,props:{popupProps:{},placement:{},side:{},sideOffset:{default:8},sideFlip:{type:Boolean,default:!0},align:{},alignOffset:{},alignFlip:{type:Boolean,default:!0},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(l,{emit:v}){let y=l,b=e(v),{popupElement:x,triggerElement:S}=n(`DropdownMenuContent`),{modal:C}=o(`DropdownMenuContent`),{isPointerInTransitRef:w,hoverable:T,onClose:E}=a(`DropdownMenuContent`);t({triggerElement:S,areaElement:x,onPointerInTransitChange:e=>{w.value=e},onPointerExit:()=>{E()},subAreaAttribute:`data-soybean-menu-sub-popup`,disabled:s(()=>!T.value)});let D=!1,O=e=>{e.defaultPrevented||T.value||D||(setTimeout(()=>{S.value?.focus()},0),D=!1,e.preventDefault())},k=e=>{if(e.defaultPrevented)return;let t=e.detail.originalEvent,n=t.button===0&&t.ctrlKey===!0,r=t.button===2||n;(!C.value||r)&&(D=!0),S.value?.contains(e.target)&&e.preventDefault()};return g(()=>{if(!T.value)return;let e=e=>{e.target?.contains(S.value)&&E()};window.addEventListener(`scroll`,e),window.addEventListener(i,E),d(()=>{window.removeEventListener(`scroll`,e),window.removeEventListener(i,E)})}),(e,t)=>(f(),c(h(r),u(y,m(h(b)),{onCloseAutoFocus:O,onInteractOutside:k}),{default:_(()=>[p(e.$slots,`default`)]),_:3},16))}});export{v as default};
@@ -2,35 +2,35 @@ import { FocusOutsideEvent, PointerDownOutsideEvent } from "../../types/event.js
2
2
  import "../../types/index.js";
3
3
  import { MenuContentProps } from "../menu/types.js";
4
4
  import "./types.js";
5
- import * as vue989 from "vue";
5
+ import * as vue from "vue";
6
6
 
7
7
  //#region src/components/dropdown-menu/dropdown-menu-content.vue.d.ts
8
8
  declare var __VLS_11: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_11) => any;
11
11
  };
12
- declare const __VLS_base: vue989.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue989.ComponentOptionsMixin, vue989.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue.DefineComponent<MenuContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
+ entryFocus: (event: Event) => any;
13
14
  escapeKeyDown: (event: KeyboardEvent) => any;
14
15
  pointerDownOutside: (event: PointerDownOutsideEvent) => any;
15
16
  focusOutside: (event: FocusOutsideEvent) => any;
16
17
  interactOutside: (event: PointerDownOutsideEvent | FocusOutsideEvent) => any;
17
- openAutoFocus: (event: Event) => any;
18
18
  closeAutoFocus: (event: Event) => any;
19
- entryFocus: (event: Event) => any;
20
- }, string, vue989.PublicProps, Readonly<MenuContentProps> & Readonly<{
19
+ openAutoFocus: (event: Event) => any;
20
+ }, string, vue.PublicProps, Readonly<MenuContentProps> & Readonly<{
21
+ onEntryFocus?: ((event: Event) => any) | undefined;
21
22
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
22
23
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
23
24
  onFocusOutside?: ((event: FocusOutsideEvent) => any) | undefined;
24
25
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
25
- onOpenAutoFocus?: ((event: Event) => any) | undefined;
26
26
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
27
- onEntryFocus?: ((event: Event) => any) | undefined;
27
+ onOpenAutoFocus?: ((event: Event) => any) | undefined;
28
28
  }>, {
29
29
  sideOffset: number;
30
30
  sideFlip: boolean;
31
31
  alignFlip: boolean;
32
32
  avoidCollisions: boolean;
33
- }, {}, {}, {}, string, vue989.ComponentProvideOptions, false, {}, any>;
33
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
34
34
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
35
  declare const _default: typeof __VLS_export;
36
36
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{transformPropsToContext as e}from"../../shared/vue.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import n from"../menu/menu-root.js";import{provideDropdownMenuHoverContext as r,provideDropdownMenuRootContext as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,isRef as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";var p=s({name:`DropdownMenuRoot`,inheritAttrs:!1,__name:`dropdown-menu-root`,props:{trigger:{default:`click`},delayDuration:{default:150},skipDelayDuration:{default:300},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(s,{emit:p}){let m=s,h=p,g=t(()=>m.open,e=>{h(`update:open`,e??!1)},m.defaultOpen),_=a(()=>m.trigger===`hover`),v=a(()=>m.modal&&m.trigger!==`hover`),{dir:y}=i({...e(m,[`open`,`dir`]),modal:v,open:g});return r({...e(m,[`delayDuration`,`skipDelayDuration`]),hoverable:_,open:g}),(e,t)=>(l(),o(d(n),{open:d(g),"onUpdate:open":t[0]||(t[0]=e=>c(g)?g.value=e:null),"default-open":s.defaultOpen,dir:d(y),modal:v.value},{default:f(()=>[u(e.$slots,`default`,{open:d(g)})]),_:3},8,[`open`,`default-open`,`dir`,`modal`]))}});export{p as default};
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import"../../composables/index.js";import n from"../menu/menu-root.js";import"../menu/index.js";import{provideDropdownMenuHoverContext as r,provideDropdownMenuRootContext as i}from"./context.js";import{computed as a,createBlock as o,defineComponent as s,isRef as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=s({name:`DropdownMenuRoot`,inheritAttrs:!1,__name:`dropdown-menu-root`,props:{trigger:{default:`click`},delayDuration:{default:150},skipDelayDuration:{default:300},dir:{},open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},modal:{type:Boolean,default:!0}},emits:[`update:open`],setup(s,{emit:p}){let m=s,h=p,g=t(()=>m.open,e=>{h(`update:open`,e??!1)},m.defaultOpen),_=a(()=>m.trigger===`hover`),v=a(()=>m.modal&&m.trigger!==`hover`),{dir:y}=i({...e(m,[`open`,`dir`]),modal:v,open:g});return r({...e(m,[`delayDuration`,`skipDelayDuration`]),hoverable:_,open:g}),(e,t)=>(l(),o(d(n),{open:d(g),"onUpdate:open":t[0]||(t[0]=e=>c(g)?g.value=e:null),"default-open":s.defaultOpen,dir:d(y),modal:v.value},{default:f(()=>[u(e.$slots,`default`,{open:d(g)})]),_:3},8,[`open`,`default-open`,`dir`,`modal`]))}});export{p as default};
@@ -1,5 +1,5 @@
1
1
  import { DropdownMenuRootProps, DropdownMenuTriggerType } from "./types.js";
2
- import * as vue984 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/dropdown-menu/dropdown-menu-root.vue.d.ts
5
5
  declare var __VLS_8: {
@@ -8,17 +8,17 @@ declare var __VLS_8: {
8
8
  type __VLS_Slots = {} & {
9
9
  default?: (props: typeof __VLS_8) => any;
10
10
  };
11
- declare const __VLS_base: vue984.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue984.ComponentOptionsMixin, vue984.ComponentOptionsMixin, {
11
+ declare const __VLS_base: vue.DefineComponent<DropdownMenuRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
12
12
  "update:open": (value: boolean) => any;
13
- }, string, vue984.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
13
+ }, string, vue.PublicProps, Readonly<DropdownMenuRootProps> & Readonly<{
14
14
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
15
15
  }>, {
16
16
  open: boolean;
17
- modal: boolean;
18
- trigger: DropdownMenuTriggerType;
19
17
  delayDuration: number;
20
18
  skipDelayDuration: number;
21
- }, {}, {}, {}, string, vue984.ComponentProvideOptions, false, {}, any>;
19
+ trigger: DropdownMenuTriggerType;
20
+ modal: boolean;
21
+ }, {}, {}, {}, string, vue.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{SELECTION_KEYS as e}from"../../constants/common.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import{Primitive as n}from"../primitive/primitive.js";import r from"../popper/popper-anchor.js";import{useMenuContext as i}from"../menu/context.js";import{useDropdownMenuHoverContext as a,useDropdownMenuRootContext as o}from"./context.js";import{computed as s,createBlock as c,createVNode as l,defineComponent as u,mergeProps as d,nextTick as f,openBlock as p,renderSlot as m,toHandlers as h,unref as g,withCtx as _,withKeys as v}from"vue";var y=u({name:`DropdownMenuTrigger`,__name:`dropdown-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(u){let y=u,{popupId:b,triggerId:x,initTriggerId:S,onTriggerElementChange:C}=i(`DropdownMenuTrigger`),[w,T]=t(C),{open:E,dataState:D,onOpenToggle:O,onOpenChange:k}=o(`DropdownMenuTrigger`),{isPointerInTransitRef:A,hoverable:j,onTriggerEnter:M,onTriggerLeave:N,onClose:P}=a(`DropdownMenuTrigger`),F=s(()=>y.as===`button`?`button`:void 0),I=s(()=>E.value?b:void 0),L=s(()=>y.disabled?!0:void 0),R=s(()=>y.disabled?``:void 0),z=async e=>{y.disabled||j.value||e.button===0&&e.ctrlKey===!1&&(O(),await f(),E.value&&e.preventDefault())},B=t=>{y.disabled||(e.includes(t.key)&&O(),t.key===`ArrowDown`&&k(!0),[...e,`ArrowDown`].includes(t.key)&&t.preventDefault())},V=!1,H=e=>{y.disabled||e.pointerType!==`touch`&&!V&&!A.value&&(M(),V=!0)},U=()=>{y.disabled||(N(),V=!1)},W=s(()=>j.value?{blur:P,pointermove:H,pointerleave:U}:{click:z});return S(),(e,t)=>(p(),c(g(r),{"as-child":``},{default:_(()=>[l(g(n),d({id:g(x),ref:g(T),as:u.as,"as-child":u.asChild,type:F.value,"aria-controls":I.value,"aria-disabled":L.value,"aria-expanded":g(E),"aria-haspopup":`menu`,"data-disabled":R.value,"data-state":g(D),onKeydown:v(B,[`enter`,`space`,`arrow-down`])},h(W.value)),{default:_(()=>[m(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`type`,`aria-controls`,`aria-disabled`,`aria-expanded`,`data-disabled`,`data-state`])]),_:3}))}});export{y as default};
1
+ import{SELECTION_KEYS as e}from"../../constants/common.js";import{useForwardElement as t}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{Primitive as n}from"../primitive/primitive.js";import"../primitive/index.js";import r from"../popper/popper-anchor.js";import{useMenuContext as i}from"../menu/context.js";import"../menu/index.js";import{useDropdownMenuHoverContext as a,useDropdownMenuRootContext as o}from"./context.js";import{computed as s,createBlock as c,createVNode as l,defineComponent as u,mergeProps as d,nextTick as f,openBlock as p,renderSlot as m,toHandlers as h,unref as g,withCtx as _,withKeys as v}from"vue";const y=u({name:`DropdownMenuTrigger`,__name:`dropdown-menu-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(u){let y=u,{popupId:b,triggerId:x,initTriggerId:S,onTriggerElementChange:C}=i(`DropdownMenuTrigger`),[w,T]=t(C),{open:E,dataState:D,onOpenToggle:O,onOpenChange:k}=o(`DropdownMenuTrigger`),{isPointerInTransitRef:A,hoverable:j,onTriggerEnter:M,onTriggerLeave:N,onClose:P}=a(`DropdownMenuTrigger`),F=s(()=>y.as===`button`?`button`:void 0),I=s(()=>E.value?b:void 0),L=s(()=>y.disabled?!0:void 0),R=s(()=>y.disabled?``:void 0),z=async e=>{y.disabled||j.value||e.button===0&&e.ctrlKey===!1&&(O(),await f(),E.value&&e.preventDefault())},B=t=>{y.disabled||(e.includes(t.key)&&O(),t.key===`ArrowDown`&&k(!0),[...e,`ArrowDown`].includes(t.key)&&t.preventDefault())},V=!1,H=e=>{y.disabled||e.pointerType!==`touch`&&!V&&!A.value&&(M(),V=!0)},U=()=>{y.disabled||(N(),V=!1)},W=s(()=>j.value?{blur:P,pointermove:H,pointerleave:U}:{click:z});return S(),(e,t)=>(p(),c(g(r),{"as-child":``},{default:_(()=>[l(g(n),d({id:g(x),ref:g(T),as:u.as,"as-child":u.asChild,type:F.value,"aria-controls":I.value,"aria-disabled":L.value,"aria-expanded":g(E),"aria-haspopup":`menu`,"data-disabled":R.value,"data-state":g(D),onKeydown:v(B,[`enter`,`space`,`arrow-down`])},h(W.value)),{default:_(()=>[m(e.$slots,`default`)]),_:3},16,[`id`,`as`,`as-child`,`type`,`aria-controls`,`aria-disabled`,`aria-expanded`,`data-disabled`,`data-state`])]),_:3}))}});export{y as default};
@@ -2,16 +2,16 @@ import { AsTag } from "../primitive/types.js";
2
2
  import "../primitive/index.js";
3
3
  import { MenuTriggerProps } from "../menu/types.js";
4
4
  import "./types.js";
5
- import * as vue994 from "vue";
5
+ import * as vue from "vue";
6
6
 
7
7
  //#region src/components/dropdown-menu/dropdown-menu-trigger.vue.d.ts
8
8
  declare var __VLS_16: {};
9
9
  type __VLS_Slots = {} & {
10
10
  default?: (props: typeof __VLS_16) => any;
11
11
  };
12
- declare const __VLS_base: vue994.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue994.ComponentOptionsMixin, vue994.ComponentOptionsMixin, {}, string, vue994.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {
13
- as: AsTag | vue994.Component;
14
- }, {}, {}, {}, string, vue994.ComponentProvideOptions, false, {}, any>;
12
+ declare const __VLS_base: vue.DefineComponent<MenuTriggerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<MenuTriggerProps> & Readonly<{}>, {
13
+ as: AsTag | vue.Component;
14
+ }, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
15
15
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
16
16
  declare const _default: typeof __VLS_export;
17
17
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import e from"../portal/portal.js";import t from"../popper/popper-anchor.js";import n from"../popper/popper-arrow.js";import r from"../menu/menu-group.js";import i from"../menu/menu-group-label.js";import a from"../menu/menu-item.js";import o from"../menu/menu-item-indicator.js";import s from"../menu/menu-checkbox-item.js";import c from"../menu/menu-radio-item.js";import l from"../menu/menu-sub.js";import u from"../menu/menu-sub-trigger.js";import d from"../menu/menu-sub-content.js";import f from"../separator/separator-root.js";import p from"../menu/menu-checkbox-group.js";import m from"../menu/menu-radio-group.js";import h from"./dropdown-menu-root.js";import g from"./dropdown-menu-trigger.js";import _ from"./dropdown-menu-content.js";export{t as DropdownMenuAnchor,n as DropdownMenuArrow,p as DropdownMenuCheckboxGroup,s as DropdownMenuCheckboxItem,_ as DropdownMenuContent,r as DropdownMenuGroup,i as DropdownMenuGroupLabel,a as DropdownMenuItem,o as DropdownMenuItemIndicator,e as DropdownMenuPortal,m as DropdownMenuRadioGroup,c as DropdownMenuRadioItem,h as DropdownMenuRoot,f as DropdownMenuSeparator,l as DropdownMenuSub,d as DropdownMenuSubContent,u as DropdownMenuSubTrigger,g as DropdownMenuTrigger};
1
+ import e from"../portal/portal.js";import t from"../popper/popper-anchor.js";import n from"../popper/popper-arrow.js";import r from"../menu/menu-group.js";import i from"../menu/menu-group-label.js";import a from"../menu/menu-item.js";import o from"../menu/menu-item-indicator.js";import s from"../menu/menu-checkbox-item.js";import c from"../menu/menu-radio-item.js";import l from"../menu/menu-sub.js";import u from"../menu/menu-sub-trigger.js";import d from"../menu/menu-sub-content.js";import f from"../separator/separator-root.js";import p from"../menu/menu-checkbox-group.js";import m from"../menu/menu-radio-group.js";import"../menu/index.js";import h from"./dropdown-menu-root.js";import g from"./dropdown-menu-trigger.js";import _ from"./dropdown-menu-content.js";export{t as DropdownMenuAnchor,n as DropdownMenuArrow,p as DropdownMenuCheckboxGroup,s as DropdownMenuCheckboxItem,_ as DropdownMenuContent,r as DropdownMenuGroup,i as DropdownMenuGroupLabel,a as DropdownMenuItem,o as DropdownMenuItemIndicator,e as DropdownMenuPortal,m as DropdownMenuRadioGroup,c as DropdownMenuRadioItem,h as DropdownMenuRoot,f as DropdownMenuSeparator,l as DropdownMenuSub,d as DropdownMenuSubContent,u as DropdownMenuSubTrigger,g as DropdownMenuTrigger};
@@ -1,10 +1,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { FormFieldUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue952 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/form/context.d.ts
7
-
8
- declare const provideFormFieldUi: (ui: vue952.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>) => vue952.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>, useFormFieldUi: <S extends FormFieldUiSlot | undefined = undefined>(slot?: S | undefined) => S extends FormFieldUiSlot ? vue952.ComputedRef<ClassValue> : vue952.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>;
7
+ declare const provideFormFieldUi: (ui: vue.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>) => vue.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>, useFormFieldUi: <S extends FormFieldUiSlot | undefined = undefined>(slot?: S | undefined) => S extends FormFieldUiSlot ? vue.ComputedRef<ClassValue> : vue.ComputedRef<Partial<UiClass<FormFieldUiSlot>>>;
9
8
  //#endregion
10
9
  export { provideFormFieldUi };
@@ -1 +1 @@
1
- import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import{computed as n,useId as r}from"vue";const[i,a]=e(`FormField`,e=>{let{error:t}=e,i=r(),a=`form-field-${i}`,o=`form-field-description-${i}`,s=`form-field-error-${i}`;return{formFieldId:a,formDescriptionId:o,formErrorId:s,ariaDescribedBy:n(()=>t.value?`${o} ${s}`:o),ariaInvalid:n(()=>!!t.value)}}),[o,s]=t(`FormFieldUi`);export{i as provideFormFieldContext,o as provideFormFieldUi,a as useFormFieldContext,s as useFormFieldUi};
1
+ import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";import{computed as n,useId as r}from"vue";const[i,a]=e(`FormField`,e=>{let{error:t}=e,i=r(),a=`form-field-${i}`,o=`form-field-description-${i}`,s=`form-field-error-${i}`;return{formFieldId:a,formDescriptionId:o,formErrorId:s,ariaDescribedBy:n(()=>t.value?`${o} ${s}`:o),ariaInvalid:n(()=>!!t.value)}}),[o,s]=t(`FormFieldUi`);export{i as provideFormFieldContext,o as provideFormFieldUi,a as useFormFieldContext,s as useFormFieldUi};
@@ -1 +1 @@
1
- import{keysOf as e}from"../../../shared/guard.js";import{setValue as t}from"../../../shared/value.js";import{klona as n}from"klona/full";function r(i,a){switch(a.type){case`SubmitAttempt`:i.isSubmitting.value=!0,i.submitCount.value+=1;break;case`SubmitSuccess`:i.isSubmitting.value=!1;break;case`SubmitFailure`:i.isSubmitting.value=!1;break;case`SetValues`:e(i.values).forEach(e=>{delete i.values[e]}),e(a.payload).forEach(e=>{i.values[e]=a.payload[e]});break;case`SetFieldValue`:t(i.values,a.payload.name,n(a.payload.value));break;case`SetTouched`:t(i.touched.value,a.payload.name,a.payload.touched);break;case`SetErrors`:i.errors.value=a.payload;break;case`SetFieldError`:t(i.errors.value,a.payload.name,a.payload.error);break;case`SetIsSubmitting`:i.isSubmitting.value=a.payload;break;case`SetIsValidating`:i.isValidating.value=a.payload;break;case`ResetForm`:r(i,{type:`SetValues`,payload:a.payload.values}),i.touched.value=a.payload.touched,i.errors.value=a.payload.errors,i.submitCount.value=a.payload.submitCount;break;default:}}export{r as updateFormState};
1
+ import{keysOf as e}from"../../../shared/guard.js";import{setValue as t}from"../../../shared/value.js";import"../../../shared/index.js";import{klona as n}from"klona/full";function r(i,a){switch(a.type){case`SubmitAttempt`:i.isSubmitting.value=!0,i.submitCount.value+=1;break;case`SubmitSuccess`:i.isSubmitting.value=!1;break;case`SubmitFailure`:i.isSubmitting.value=!1;break;case`SetValues`:e(i.values).forEach(e=>{delete i.values[e]}),e(a.payload).forEach(e=>{i.values[e]=a.payload[e]});break;case`SetFieldValue`:t(i.values,a.payload.name,n(a.payload.value));break;case`SetTouched`:t(i.touched.value,a.payload.name,a.payload.touched);break;case`SetErrors`:i.errors.value=a.payload;break;case`SetFieldError`:t(i.errors.value,a.payload.name,a.payload.error);break;case`SetIsSubmitting`:i.isSubmitting.value=a.payload;break;case`SetIsValidating`:i.isValidating.value=a.payload;break;case`ResetForm`:r(i,{type:`SetValues`,payload:a.payload.values}),i.touched.value=a.payload.touched,i.errors.value=a.payload.errors,i.submitCount.value=a.payload.submitCount;break;default:}}export{r as updateFormState};
@@ -1 +1 @@
1
- import{appendAt as e,insertAt as t,moveAt as n,prependAt as r,removeAt as i,swapAt as a,updateAt as o}from"../../../shared/object.js";import{computed as s,toRef as c}from"vue";function l(l,u,d){let{getFieldState:f,getFieldValue:p,setFieldArrayValue:m,registerFieldArray:h}=u;h(l,{validate:d});let g=s(()=>p(l).value||[]),_=s(()=>g.value.map(v));function v(e){return{...f(l).value,name:l,value:e}}function y(t){m(l,e(g.value,t),e,{argA:void 0})}function b(e){m(l,r(g.value,e),r,{argA:void 0})}function x(e){m(l,i(g.value,e),i,{argA:e})}function S(e,t){if(!(e in g.value)||!(t in g.value))return;let n=[...g.value];a(n,e,t),m(l,n,a,{argA:e,argB:t},!1)}function C(e,t){if(!(e in g.value))return;let r=[...g.value];n(r,e,t),m(l,r,n,{argA:e,argB:t},!1)}function w(e,n){m(l,t(g.value,e,n),t,{argA:e,argB:void 0})}function T(e,t){e in g.value&&m(l,o(g.value,e,t),o,{argA:e,argB:void 0})}function E(e){m(l,[...e],e=>e,{})}let D=f(l);return c({name:l,fields:_,meta:s(()=>D.value.meta),append:y,prepend:b,remove:x,swap:S,move:C,insert:w,update:T,replace:E})}export{l as useRegisterFieldArray};
1
+ import{appendAt as e,insertAt as t,moveAt as n,prependAt as r,removeAt as i,swapAt as a,updateAt as o}from"../../../shared/object.js";import"../../../shared/index.js";import{computed as s,toRef as c}from"vue";function l(l,u,d){let{getFieldState:f,getFieldValue:p,setFieldArrayValue:m,registerFieldArray:h}=u;h(l,{validate:d});let g=s(()=>p(l).value||[]),_=s(()=>g.value.map(v));function v(e){return{...f(l).value,name:l,value:e}}function y(t){m(l,e(g.value,t),e,{argA:void 0})}function b(e){m(l,r(g.value,e),r,{argA:void 0})}function x(e){m(l,i(g.value,e),i,{argA:e})}function S(e,t){if(!(e in g.value)||!(t in g.value))return;let n=[...g.value];a(n,e,t),m(l,n,a,{argA:e,argB:t},!1)}function C(e,t){if(!(e in g.value))return;let r=[...g.value];n(r,e,t),m(l,r,n,{argA:e,argB:t},!1)}function w(e,n){m(l,t(g.value,e,n),t,{argA:e,argB:void 0})}function T(e,t){e in g.value&&m(l,o(g.value,e,t),o,{argA:e,argB:void 0})}function E(e){m(l,[...e],e=>e,{})}let D=f(l);return c({name:l,fields:_,meta:s(()=>D.value.meta),append:y,prepend:b,remove:x,swap:S,move:C,insert:w,update:T,replace:E})}export{l as useRegisterFieldArray};
@@ -1 +1 @@
1
- import{isFunction as e,isNullish as t,isString as n,keysOf as r}from"../../../shared/guard.js";import{getValue as i,setValue as a}from"../../../shared/value.js";import{updateFormState as o}from"./shared.js";import{validateStandardSchema as s}from"./standard.js";import{computed as c,onMounted as l,reactive as u,ref as d,shallowRef as f,toRef as p}from"vue";import{isEqual as m}from"ohash";import{klona as h}from"klona/full";import{defu as g}from"defu";function _(_){let{validateOnMounted:v=!1,validateMode:y=`submit`,reValidateMode:b=`change`}=_,x=h(_.initialValues||{}),S=h(_.initialErrors||{}),C=h(_.initialTouched||{}),w={values:u(h(x)),touched:d(h(C)),errors:d(h(S)),submitCount:f(0),isSubmitting:f(!1),isValidating:f(!1)},T=c(()=>!m(w.values,x)),E={},D={},O=c(()=>w.submitCount.value===0?y:b);function k(e,t,n){let r=e;r in w.values||a(w.values,r,n?[]:void 0);let{validate:i}=t||{};return i&&(E[r]={validate:i}),K(e)}function A(e,t){let n=k(e,t,!0),r=e,{reset:i}=t||{};return i&&(D[r]={reset:i}),n}function j(e,n=!0){return o(w,{type:`SetValues`,payload:e}),(t(n)?O.value===`change`:n)?Z(w.values):Promise.resolve()}function M(e){o(w,{type:`SetErrors`,payload:e})}function N(e,t,n=!0){return o(w,{type:`SetFieldValue`,payload:{name:e,value:t}}),n?Z(w.values):Promise.resolve()}function P(e,t){o(w,{type:`SetTouched`,payload:{name:e,touched:t}})}function F(e,t){o(w,{type:`SetFieldError`,payload:{name:e,error:t}})}function I(e,t,n,a,s=!0){if(n&&a){if(r(w.errors.value).length&&Array.isArray(i(w.errors.value,e))){let t=n(i(w.errors.value,e),a.argA,a.argB);s&&F(e,t)}if(r(w.touched.value).length&&Array.isArray(i(w.touched.value,e))){let t=n(i(w.touched.value,e),a.argA,a.argB);s&&o(w,{type:`SetTouched`,payload:{name:e,touched:t}})}}return N(e,t)}function L(e){return c({get(){return i(w.values,e)},set(t){N(e,t)}})}function R(e){return p({dirty:c(()=>V(e)),error:c(()=>z(e)),touched:c(()=>B(e))})}function z(e){return i(w.errors.value,e)}function B(e){return i(w.touched.value,e,!1)}function V(e){return!m(i(x,e),i(w.values,e))}async function H(t){if(E[t]&&e(E[t].validate)){o(w,{type:`SetIsValidating`,payload:!0});let e=await X(t,i(w.values,t));return F(t,e),o(w,{type:`SetIsValidating`,payload:!1}),e}return Promise.resolve()}let U=(e,t)=>{if((e=>n(e))(e)){P(e,!0);return}let{name:r,id:i}=e.target,a=t??(r||i);a&&P(a,!0)},W=()=>{O.value===`change`&&Z(w.values)},G=()=>{O.value===`input`&&Z(w.values)};function K(e){let t=R(e);return p({name:e,value:L(e),meta:t,onBlur:U,onChange:W,onInput:G})}function q(e){o(w,{type:`SetIsSubmitting`,payload:e})}let J={setSubmitting:q,get initialValues(){return h(x||{})}};async function Y(t){let n=r(E).filter(t=>e(E?.[t]?.validate)),o=n.map(e=>X(e,i(t,e)));return Promise.all(o).then(e=>e.reduce((e,t,r)=>(t&&a(e,n[r],t),e),{}))}function X(e,t){return Promise.resolve(E[e]?.validate?.(t))}async function Z(e=w.values){return o(w,{type:`SetIsValidating`,payload:!0}),Promise.all([Y(e),s(e,_.schema)]).then(([e,t])=>{let n=g(e,t);return M(n),n}).finally(()=>{o(w,{type:`SetIsValidating`,payload:!1})})}function Q(e){let t=h(e?.values||x),n=h(e?.errors||S),r=h(e?.touched||C);x=h(t),S=h(n),C=h(r),o(w,{type:`ResetForm`,payload:{values:t,touched:r,errors:n,submitCount:typeof e?.submitCount==`number`?e.submitCount:0}}),Object.values(D).forEach(e=>{e?.reset?.()})}return l(()=>{v&&Z(x)}),{formState:w,dirty:T,submitHelper:J,setSubmitting:q,registerField:k,registerFieldArray:A,validateField:H,getFieldValue:L,getFieldMeta:R,getFieldError:z,getFieldTouched:B,getFieldDirty:V,getFieldState:K,setValues:j,setErrors:M,setFieldValue:N,setFieldTouched:P,setFieldError:F,setFieldArrayValue:I,validateForm:Z,resetForm:Q}}export{_ as useFormState};
1
+ import{isFunction as e,isNullish as t,isString as n,keysOf as r}from"../../../shared/guard.js";import{getValue as i,setValue as a}from"../../../shared/value.js";import"../../../shared/index.js";import{updateFormState as o}from"./shared.js";import{validateStandardSchema as s}from"./standard.js";import{computed as c,onMounted as l,reactive as u,ref as d,shallowRef as f,toRef as p}from"vue";import{isEqual as m}from"ohash";import{klona as h}from"klona/full";import{defu as g}from"defu";function _(_){let{validateOnMounted:v=!1,validateMode:y=`submit`,reValidateMode:b=`change`}=_,x=h(_.initialValues||{}),S=h(_.initialErrors||{}),C=h(_.initialTouched||{}),w={values:u(h(x)),touched:d(h(C)),errors:d(h(S)),submitCount:f(0),isSubmitting:f(!1),isValidating:f(!1)},T=c(()=>!m(w.values,x)),E={},D={},O=c(()=>w.submitCount.value===0?y:b);function k(e,t,n){let r=e;r in w.values||a(w.values,r,n?[]:void 0);let{validate:i}=t||{};return i&&(E[r]={validate:i}),K(e)}function A(e,t){let n=k(e,t,!0),r=e,{reset:i}=t||{};return i&&(D[r]={reset:i}),n}function j(e,n=!0){return o(w,{type:`SetValues`,payload:e}),(t(n)?O.value===`change`:n)?Z(w.values):Promise.resolve()}function M(e){o(w,{type:`SetErrors`,payload:e})}function N(e,t,n=!0){return o(w,{type:`SetFieldValue`,payload:{name:e,value:t}}),n?Z(w.values):Promise.resolve()}function P(e,t){o(w,{type:`SetTouched`,payload:{name:e,touched:t}})}function F(e,t){o(w,{type:`SetFieldError`,payload:{name:e,error:t}})}function I(e,t,n,a,s=!0){if(n&&a){if(r(w.errors.value).length&&Array.isArray(i(w.errors.value,e))){let t=n(i(w.errors.value,e),a.argA,a.argB);s&&F(e,t)}if(r(w.touched.value).length&&Array.isArray(i(w.touched.value,e))){let t=n(i(w.touched.value,e),a.argA,a.argB);s&&o(w,{type:`SetTouched`,payload:{name:e,touched:t}})}}return N(e,t)}function L(e){return c({get(){return i(w.values,e)},set(t){N(e,t)}})}function R(e){return p({dirty:c(()=>V(e)),error:c(()=>z(e)),touched:c(()=>B(e))})}function z(e){return i(w.errors.value,e)}function B(e){return i(w.touched.value,e,!1)}function V(e){return!m(i(x,e),i(w.values,e))}async function H(t){if(E[t]&&e(E[t].validate)){o(w,{type:`SetIsValidating`,payload:!0});let e=await X(t,i(w.values,t));return F(t,e),o(w,{type:`SetIsValidating`,payload:!1}),e}return Promise.resolve()}let U=(e,t)=>{if((e=>n(e))(e)){P(e,!0);return}let{name:r,id:i}=e.target,a=t??(r||i);a&&P(a,!0)},W=()=>{O.value===`change`&&Z(w.values)},G=()=>{O.value===`input`&&Z(w.values)};function K(e){let t=R(e);return p({name:e,value:L(e),meta:t,onBlur:U,onChange:W,onInput:G})}function q(e){o(w,{type:`SetIsSubmitting`,payload:e})}let J={setSubmitting:q,get initialValues(){return h(x||{})}};async function Y(t){let n=r(E).filter(t=>e(E?.[t]?.validate)),o=n.map(e=>X(e,i(t,e)));return Promise.all(o).then(e=>e.reduce((e,t,r)=>(t&&a(e,n[r],t),e),{}))}function X(e,t){return Promise.resolve(E[e]?.validate?.(t))}async function Z(e=w.values){return o(w,{type:`SetIsValidating`,payload:!0}),Promise.all([Y(e),s(e,_.schema)]).then(([e,t])=>{let n=g(e,t);return M(n),n}).finally(()=>{o(w,{type:`SetIsValidating`,payload:!1})})}function Q(e){let t=h(e?.values||x),n=h(e?.errors||S),r=h(e?.touched||C);x=h(t),S=h(n),C=h(r),o(w,{type:`ResetForm`,payload:{values:t,touched:r,errors:n,submitCount:typeof e?.submitCount==`number`?e.submitCount:0}}),Object.values(D).forEach(e=>{e?.reset?.()})}return l(()=>{v&&Z(x)}),{formState:w,dirty:T,submitHelper:J,setSubmitting:q,registerField:k,registerFieldArray:A,validateField:H,getFieldValue:L,getFieldMeta:R,getFieldError:z,getFieldTouched:B,getFieldDirty:V,getFieldState:K,setValues:j,setErrors:M,setFieldValue:N,setFieldTouched:P,setFieldError:F,setFieldArrayValue:I,validateForm:Z,resetForm:Q}}export{_ as useFormState};
@@ -1 +1 @@
1
- import{isNullish as e,keysOf as t}from"../../../shared/guard.js";import{updateFormState as n}from"./shared.js";import{useFormState as r}from"./use-form-state.js";import{useRegisterFieldArray as i}from"./use-field-array.js";import{klona as a}from"klona/full";function o(o){let{onSubmit:s=()=>Promise.resolve(),onInvalid:c}=o,{formState:l,submitHelper:u,...d}=r(o),{resetForm:f,validateForm:p,registerField:m}=d;function h(e,t){let{getFieldState:n,getFieldValue:r,setFieldValue:a,setFieldArrayValue:o,registerFieldArray:s}=d;return i(e,{getFieldState:n,getFieldValue:r,setFieldValue:a,setFieldArrayValue:o,registerFieldArray:s},t?.validate)}function g(r){r?.preventDefault(),n(l,{type:`SubmitAttempt`}),p().then(r=>{if(t(r).length===0){let t=s(a(l.values),u);if(e(t))return;t.then(e=>(n(l,{type:`SubmitSuccess`}),e)).catch(()=>{n(l,{type:`SubmitFailure`})})}else n(l,{type:`SubmitFailure`}),c?.(r)})}function _(e){e?.preventDefault(),f()}return{...l,handleSubmit:g,handleReset:_,useField:m,useFieldArray:h,...d}}export{o as useForm};
1
+ import{isNullish as e,keysOf as t}from"../../../shared/guard.js";import"../../../shared/index.js";import{updateFormState as n}from"./shared.js";import{useFormState as r}from"./use-form-state.js";import{useRegisterFieldArray as i}from"./use-field-array.js";import{klona as a}from"klona/full";function o(o){let{onSubmit:s=()=>Promise.resolve(),onInvalid:c}=o,{formState:l,submitHelper:u,...d}=r(o),{resetForm:f,validateForm:p,registerField:m}=d;function h(e,t){let{getFieldState:n,getFieldValue:r,setFieldValue:a,setFieldArrayValue:o,registerFieldArray:s}=d;return i(e,{getFieldState:n,getFieldValue:r,setFieldValue:a,setFieldArrayValue:o,registerFieldArray:s},t?.validate)}function g(r){r?.preventDefault(),n(l,{type:`SubmitAttempt`}),p().then(r=>{if(t(r).length===0){let t=s(a(l.values),u);if(e(t))return;t.then(e=>(n(l,{type:`SubmitSuccess`}),e)).catch(()=>{n(l,{type:`SubmitFailure`})})}else n(l,{type:`SubmitFailure`}),c?.(r)})}function _(e){e?.preventDefault(),f()}return{...l,handleSubmit:g,handleReset:_,useField:m,useFieldArray:h,...d}}export{o as useForm};
@@ -1 +1 @@
1
- import{useFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`];var l=r({name:`FormDescription`,__name:`form-description`,setup(r){let{formDescriptionId:l}=e(`FormDescription`),u=t(`description`);return(e,t)=>(a(),n(`p`,{id:s(l),class:i(s(u))},[o(e.$slots,`default`)],10,c))}});export{l as default};
1
+ import{useFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`],l=r({name:`FormDescription`,__name:`form-description`,setup(r){let{formDescriptionId:l}=e(`FormDescription`),u=t(`description`);return(e,t)=>(a(),n(`p`,{id:s(l),class:i(s(u))},[o(e.$slots,`default`)],10,c))}});export{l as default};
@@ -1,12 +1,12 @@
1
1
  import { FormDescriptionProps } from "./types.js";
2
- import * as vue974 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/form/form-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: vue974.DefineComponent<FormDescriptionProps, {}, {}, {}, {}, vue974.ComponentOptionsMixin, vue974.ComponentOptionsMixin, {}, string, vue974.PublicProps, Readonly<FormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue974.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<FormDescriptionProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FormDescriptionProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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{useFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`];var l=r({name:`FormError`,__name:`form-error`,setup(r){let{formErrorId:l}=e(`FormError`),u=t(`error`);return(e,t)=>(a(),n(`p`,{id:s(l),class:i(s(u))},[o(e.$slots,`default`)],10,c))}});export{l as default};
1
+ import{useFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,renderSlot as o,unref as s}from"vue";const c=[`id`],l=r({name:`FormError`,__name:`form-error`,setup(r){let{formErrorId:l}=e(`FormError`),u=t(`error`);return(e,t)=>(a(),n(`p`,{id:s(l),class:i(s(u))},[o(e.$slots,`default`)],10,c))}});export{l as default};
@@ -1,12 +1,12 @@
1
1
  import { FormErrorProps } from "./types.js";
2
- import * as vue979 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/form/form-error.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: vue979.DefineComponent<FormErrorProps, {}, {}, {}, {}, vue979.ComponentOptionsMixin, vue979.ComponentOptionsMixin, {}, string, vue979.PublicProps, Readonly<FormErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue979.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<FormErrorProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FormErrorProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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{provideFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{computed as n,createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c}from"vue";const l=[`id`];var u=i({name:`FormField`,__name:`form-field`,props:{error:{},isFieldArray:{type:Boolean}},setup(i){let u=i,d=n(()=>u.isFieldArray?t(`field`).value:t(`fieldArray`).value),{formFieldId:f,ariaDescribedBy:p,ariaInvalid:m}=e({error:n(()=>u.error)});return(e,t)=>(o(),r(`div`,{id:i.isFieldArray?c(f):void 0,class:a(d.value)},[s(e.$slots,`default`,{formFieldId:c(f),ariaDescribedBy:c(p),ariaInvalid:c(m)})],10,l))}});export{u as default};
1
+ import{provideFormFieldContext as e,useFormFieldUi as t}from"./context.js";import{computed as n,createElementBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c}from"vue";const l=[`id`],u=i({name:`FormField`,__name:`form-field`,props:{error:{},isFieldArray:{type:Boolean}},setup(i){let u=i,d=n(()=>u.isFieldArray?t(`field`).value:t(`fieldArray`).value),{formFieldId:f,ariaDescribedBy:p,ariaInvalid:m}=e({error:n(()=>u.error)});return(e,t)=>(o(),r(`div`,{id:i.isFieldArray?c(f):void 0,class:a(d.value)},[s(e.$slots,`default`,{formFieldId:c(f),ariaDescribedBy:c(p),ariaInvalid:c(m)})],10,l))}});export{u as default};
@@ -1,5 +1,5 @@
1
1
  import { FormFieldProps } from "./types.js";
2
- import * as vue969 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/form/form-field.vue.d.ts
5
5
  declare var __VLS_1: {
@@ -10,7 +10,7 @@ declare var __VLS_1: {
10
10
  type __VLS_Slots = {} & {
11
11
  default?: (props: typeof __VLS_1) => any;
12
12
  };
13
- declare const __VLS_base: vue969.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue969.ComponentOptionsMixin, vue969.ComponentOptionsMixin, {}, string, vue969.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue969.ComponentProvideOptions, false, {}, any>;
13
+ declare const __VLS_base: vue.DefineComponent<FormFieldProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FormFieldProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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 +1 @@
1
- import e from"../label/label.js";import{useFormFieldContext as t,useFormFieldUi as n}from"./context.js";import{createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";var u=i({name:`FormLabel`,__name:`form-label`,props:{for:{}},setup(i){let{formFieldId:u}=t(`FormLabel`),d=n(`label`);return(t,n)=>(o(),r(c(e),{for:c(u),class:a(c(d))},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`for`,`class`]))}});export{u as default};
1
+ import e from"../label/label.js";import"../label/index.js";import{useFormFieldContext as t,useFormFieldUi as n}from"./context.js";import{createBlock as r,defineComponent as i,normalizeClass as a,openBlock as o,renderSlot as s,unref as c,withCtx as l}from"vue";const u=i({name:`FormLabel`,__name:`form-label`,props:{for:{}},setup(i){let{formFieldId:u}=t(`FormLabel`),d=n(`label`);return(t,n)=>(o(),r(c(e),{for:c(u),class:a(c(d))},{default:l(()=>[s(t.$slots,`default`)]),_:3},8,[`for`,`class`]))}});export{u as default};
@@ -1,12 +1,12 @@
1
1
  import { FormLabelProps } from "./types.js";
2
- import * as vue964 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/form/form-label.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: vue964.DefineComponent<FormLabelProps, {}, {}, {}, {}, vue964.ComponentOptionsMixin, vue964.ComponentOptionsMixin, {}, string, vue964.PublicProps, Readonly<FormLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue964.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<FormLabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<FormLabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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,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 vue938 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/input/context.d.ts
7
- declare const provideInputUi: (ui: vue938.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue938.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue938.ComputedRef<ClassValue> : vue938.ComputedRef<Partial<UiClass<InputUiSlot>>>;
7
+ declare const provideInputUi: (ui: vue.ComputedRef<Partial<UiClass<InputUiSlot>>>) => vue.ComputedRef<Partial<UiClass<InputUiSlot>>>, useInputUi: <S extends InputUiSlot | undefined = undefined>(slot?: S | undefined) => S extends InputUiSlot ? vue.ComputedRef<ClassValue> : vue.ComputedRef<Partial<UiClass<InputUiSlot>>>;
8
8
  //#endregion
9
9
  export { provideInputUi };
@@ -1 +1 @@
1
- import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";const[n,r]=e(`InputRoot`,e=>e),[i,a]=t(`InputUi`);export{n as provideInputRootContext,i as provideInputUi,r as useInputRootContext,a as useInputUi};
1
+ import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";const[n,r]=e(`InputRoot`,e=>e),[i,a]=t(`InputUi`);export{n as provideInputRootContext,i as provideInputUi,r as useInputRootContext,a as useInputUi};
@@ -1 +1 @@
1
- import{useInputRootContext as e,useInputUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,unref as o}from"vue";const s=[`id`,`aria-disabled`,`aria-valuenow`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`pattern`,`placeholder`,`readonly`,`name`,`required`,`value`];var c=r({name:`InputControl`,__name:`input-control`,setup(r){let{modelValue:c,id:l,autofocus:u,placeholder:d,disabled:f,readonly:p,maxlength:m,minlength:h,pattern:g,name:_,required:v}=e(`InputControl`),y=t(`control`),b=e=>{c.value=e.target.value};return(e,t)=>(a(),n(`input`,{id:o(l),class:i(o(y)),"aria-disabled":o(f)??void 0,"aria-roledescription":`Input`,"aria-valuenow":o(c)??void 0,autocorrect:`off`,autofocus:o(u),"data-disabled":o(f)?``:void 0,"data-readonly":o(p)?``:void 0,disabled:o(f),maxlength:o(m),minlength:o(h),pattern:o(g),placeholder:o(d),readonly:o(p),name:o(_),required:o(v),spellcheck:`false`,tabindex:`0`,value:o(c),onInput:b},null,42,s))}});export{c as default};
1
+ import{useInputRootContext as e,useInputUi as t}from"./context.js";import{createElementBlock as n,defineComponent as r,normalizeClass as i,openBlock as a,unref as o}from"vue";const s=[`id`,`aria-disabled`,`aria-valuenow`,`autofocus`,`data-disabled`,`data-readonly`,`disabled`,`maxlength`,`minlength`,`pattern`,`placeholder`,`readonly`,`name`,`required`,`value`],c=r({name:`InputControl`,__name:`input-control`,setup(r){let{modelValue:c,id:l,autofocus:u,placeholder:d,disabled:f,readonly:p,maxlength:m,minlength:h,pattern:g,name:_,required:v}=e(`InputControl`),y=t(`control`),b=e=>{c.value=e.target.value};return(e,t)=>(a(),n(`input`,{id:o(l),class:i(o(y)),"aria-disabled":o(f)??void 0,"aria-roledescription":`Input`,"aria-valuenow":o(c)??void 0,autocorrect:`off`,autofocus:o(u),"data-disabled":o(f)?``:void 0,"data-readonly":o(p)?``:void 0,disabled:o(f),maxlength:o(m),minlength:o(h),pattern:o(g),placeholder:o(d),readonly:o(p),name:o(_),required:o(v),spellcheck:`false`,tabindex:`0`,value:o(c),onInput:b},null,42,s))}});export{c as default};
@@ -1,8 +1,8 @@
1
1
  import { InputControlProps } from "./types.js";
2
- import * as vue942 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/input/input-control.vue.d.ts
5
- declare const __VLS_export: vue942.DefineComponent<InputControlProps, {}, {}, {}, {}, vue942.ComponentOptionsMixin, vue942.ComponentOptionsMixin, {}, string, vue942.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue942.ComponentProvideOptions, false, {}, any>;
5
+ declare const __VLS_export: vue.DefineComponent<InputControlProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<InputControlProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
6
6
  declare const _default: typeof __VLS_export;
7
7
  //#endregion
8
8
  export { _default };
@@ -1 +1 @@
1
- import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import i from"../visually-hidden/visually-hidden-input.js";import{provideInputRootContext as a,useInputUi as o}from"./context.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h}from"vue";const g=[`data-disabled`,`data-readonly`];var _=d({name:`InputRoot`,__name:`input-root`,props:{defaultValue:{},modelValue:{default:void 0},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(d,{emit:_}){let v=d,y=_,[b,x]=r(),S=o(`root`),C=n(()=>v.modelValue,e=>{y(`update:modelValue`,e)},v.defaultValue),w=s(()=>e(b.value)),T=()=>{C.value=``};return a({...t(v,[`id`,`autofocus`,`placeholder`,`disabled`,`readonly`,`maxlength`,`minlength`,`pattern`,`name`,`required`]),modelValue:C}),(e,t)=>(p(),u(`div`,{ref:h(x),class:f(h(S)),role:`group`,"data-disabled":d.disabled?``:void 0,"data-readonly":d.readonly?``:void 0},[m(e.$slots,`default`,{modelValue:h(C),clear:T}),w.value&&d.name?(p(),c(i,{key:0,type:`text`,value:h(C),name:d.name,disabled:d.disabled,readonly:d.readonly,required:d.required},null,8,[`value`,`name`,`disabled`,`readonly`,`required`])):l(`v-if`,!0)],10,g))}});export{_ as default};
1
+ import{isFormControl as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useForwardElement as r}from"../../composables/use-forward-element.js";import"../../composables/index.js";import i from"../visually-hidden/visually-hidden-input.js";import{provideInputRootContext as a,useInputUi as o}from"./context.js";import{computed as s,createBlock as c,createCommentVNode as l,createElementBlock as u,defineComponent as d,normalizeClass as f,openBlock as p,renderSlot as m,unref as h}from"vue";const g=[`data-disabled`,`data-readonly`],_=d({name:`InputRoot`,__name:`input-root`,props:{defaultValue:{},modelValue:{default:void 0},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(d,{emit:_}){let v=d,y=_,[b,x]=r(),S=o(`root`),C=n(()=>v.modelValue,e=>{y(`update:modelValue`,e)},v.defaultValue),w=s(()=>e(b.value)),T=()=>{C.value=``};return a({...t(v,[`id`,`autofocus`,`placeholder`,`disabled`,`readonly`,`maxlength`,`minlength`,`pattern`,`name`,`required`]),modelValue:C}),(e,t)=>(p(),u(`div`,{ref:h(x),class:f(h(S)),role:`group`,"data-disabled":d.disabled?``:void 0,"data-readonly":d.readonly?``:void 0},[m(e.$slots,`default`,{modelValue:h(C),clear:T}),w.value&&d.name?(p(),c(i,{key:0,type:`text`,value:h(C),name:d.name,disabled:d.disabled,readonly:d.readonly,required:d.required},null,8,[`value`,`name`,`disabled`,`readonly`,`required`])):l(`v-if`,!0)],10,g))}});export{_ as default};
@@ -1,5 +1,5 @@
1
1
  import { InputRootProps } from "./types.js";
2
- import * as vue947 from "vue";
2
+ import * as vue 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: vue947.DefineComponent<InputRootProps, {}, {}, {}, {}, vue947.ComponentOptionsMixin, vue947.ComponentOptionsMixin, {
12
+ declare const __VLS_base: vue.DefineComponent<InputRootProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
13
13
  "update:modelValue": (value: string) => any;
14
- }, string, vue947.PublicProps, Readonly<InputRootProps> & Readonly<{
14
+ }, string, vue.PublicProps, Readonly<InputRootProps> & Readonly<{
15
15
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
16
16
  }>, {
17
17
  modelValue: string;
18
- }, {}, {}, {}, string, vue947.ComponentProvideOptions, false, {}, any>;
18
+ }, {}, {}, {}, string, vue.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 +1 @@
1
- import{useKbd as e}from"../../composables/use-kbd.js";import{computed as t,createElementBlock as n,createTextVNode as r,defineComponent as i,openBlock as a,renderSlot as o,toDisplayString as s}from"vue";const c=[`data-group`];var l=i({name:`Kbd`,__name:`kbd`,props:{value:{},symbolize:{type:Boolean}},setup(i){let l=i,{getKeyboardKey:u}=e(),d=t(()=>(Array.isArray(l.value)?l.value:[l.value]).map(e=>l.symbolize?u(e):e).join(``));return(e,t)=>(a(),n(`kbd`,{"data-group":Array.isArray(i.value)?``:void 0},[o(e.$slots,`default`,{},()=>[r(s(d.value),1)])],8,c))}});export{l as default};
1
+ import{useKbd as e}from"../../composables/use-kbd.js";import"../../composables/index.js";import{computed as t,createElementBlock as n,createTextVNode as r,defineComponent as i,openBlock as a,renderSlot as o,toDisplayString as s}from"vue";const c=[`data-group`],l=i({name:`Kbd`,__name:`kbd`,props:{value:{},symbolize:{type:Boolean}},setup(i){let l=i,{getKeyboardKey:u}=e(),d=t(()=>(Array.isArray(l.value)?l.value:[l.value]).map(e=>l.symbolize?u(e):e).join(``));return(e,t)=>(a(),n(`kbd`,{"data-group":Array.isArray(i.value)?``:void 0},[o(e.$slots,`default`,{},()=>[r(s(d.value),1)])],8,c))}});export{l as default};
@@ -1,12 +1,12 @@
1
1
  import { KbdProps } from "./types.js";
2
- import * as vue809 from "vue";
2
+ import * as vue 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: vue809.DefineComponent<KbdProps, {}, {}, {}, {}, vue809.ComponentOptionsMixin, vue809.ComponentOptionsMixin, {}, string, vue809.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue809.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<KbdProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<KbdProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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{createElementBlock as e,defineComponent as t,mergeProps as n,openBlock as r,renderSlot as i}from"vue";var a=t({name:`Label`,__name:`label`,props:{for:{}},setup(t){let a=t,o=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()};return(t,s)=>(r(),e(`label`,n(a,{onMousedown:o}),[i(t.$slots,`default`)],16))}});export{a as default};
1
+ import{createElementBlock as e,defineComponent as t,mergeProps as n,openBlock as r,renderSlot as i}from"vue";const a=t({name:`Label`,__name:`label`,props:{for:{}},setup(t){let a=t,o=e=>{!e.defaultPrevented&&e.detail>1&&e.preventDefault()};return(t,s)=>(r(),e(`label`,n(a,{onMousedown:o}),[i(t.$slots,`default`)],16))}});export{a as default};
@@ -1,12 +1,12 @@
1
1
  import { LabelProps } from "./types.js";
2
- import * as vue25 from "vue";
2
+ import * as vue 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: vue25.DefineComponent<LabelProps, {}, {}, {}, {}, vue25.ComponentOptionsMixin, vue25.ComponentOptionsMixin, {}, string, vue25.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue25.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<LabelProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LabelProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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,9 @@
1
1
  import { ClassValue, UiClass } from "../../types/common.js";
2
2
  import { LayoutUiSlot } from "./types.js";
3
3
  import "../../index.js";
4
- import * as vue772 from "vue";
4
+ import * as vue from "vue";
5
5
 
6
6
  //#region src/components/layout/context.d.ts
7
-
8
- declare const provideLayoutUi: (ui: vue772.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue772.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue772.ComputedRef<ClassValue> : vue772.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
7
+ declare const provideLayoutUi: (ui: vue.ComputedRef<Partial<UiClass<LayoutUiSlot>>>) => vue.ComputedRef<Partial<UiClass<LayoutUiSlot>>>, useLayoutUi: <S extends LayoutUiSlot | undefined = undefined>(slot?: S | undefined) => S extends LayoutUiSlot ? vue.ComputedRef<ClassValue> : vue.ComputedRef<Partial<UiClass<LayoutUiSlot>>>;
9
8
  //#endregion
10
9
  export { provideLayoutUi };
@@ -1 +1 @@
1
- import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";const[n,r]=e(`LayoutRoot`,e=>{let{open:t,isMobile:n,mobileOpen:r}=e,i=e=>{t.value=e},a=e=>{r.value=e},o=()=>{n.value?r.value=!r.value:t.value=!t.value};return{...e,onOpenChange:i,onMobileOpenChange:a,toggleSidebar:o}}),[i,a]=t(`LayoutUi`);export{n as provideLayoutRootContext,i as provideLayoutUi,r as useLayoutRootContext,a as useLayoutUi};
1
+ import{useContext as e}from"../../composables/use-context.js";import{useUiContext as t}from"../../composables/use-ui-context.js";import"../../composables/index.js";const[n,r]=e(`LayoutRoot`,e=>{let{open:t,isMobile:n,mobileOpen:r}=e,i=e=>{t.value=e},a=e=>{r.value=e},o=()=>{n.value?r.value=!r.value:t.value=!t.value};return{...e,onOpenChange:i,onMobileOpenChange:a,toggleSidebar:o}}),[i,a]=t(`LayoutUi`);export{n as provideLayoutRootContext,i as provideLayoutUi,r as useLayoutRootContext,a as useLayoutUi};
@@ -1 +1 @@
1
- import{useLayoutUi as e}from"./context.js";import{createElementBlock as t,defineComponent as n,normalizeClass as r,openBlock as i,renderSlot as a,unref as o}from"vue";var s=n({name:`LayoutContent`,__name:`layout-content`,setup(n){let s=e(`content`);return(e,n)=>(i(),t(`div`,{class:r(o(s))},[a(e.$slots,`default`)],2))}});export{s as default};
1
+ import{useLayoutUi as e}from"./context.js";import{createElementBlock as t,defineComponent as n,normalizeClass as r,openBlock as i,renderSlot as a,unref as o}from"vue";const s=n({name:`LayoutContent`,__name:`layout-content`,setup(n){let s=e(`content`);return(e,n)=>(i(),t(`div`,{class:r(o(s))},[a(e.$slots,`default`)],2))}});export{s as default};
@@ -1,12 +1,12 @@
1
1
  import { LayoutContentProps } from "./types.js";
2
- import * as vue737 from "vue";
2
+ import * as vue from "vue";
3
3
 
4
4
  //#region src/components/layout/layout-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: vue737.DefineComponent<LayoutContentProps, {}, {}, {}, {}, vue737.ComponentOptionsMixin, vue737.ComponentOptionsMixin, {}, string, vue737.PublicProps, Readonly<LayoutContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue737.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<LayoutContentProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LayoutContentProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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{useLayoutUi as e}from"./context.js";import{createElementBlock as t,defineComponent as n,normalizeClass as r,openBlock as i,renderSlot as a,unref as o}from"vue";var s=n({name:`LayoutFooter`,__name:`layout-footer`,setup(n){let s=e(`footer`);return(e,n)=>(i(),t(`div`,{class:r(o(s))},[a(e.$slots,`default`)],2))}});export{s as default};
1
+ import{useLayoutUi as e}from"./context.js";import{createElementBlock as t,defineComponent as n,normalizeClass as r,openBlock as i,renderSlot as a,unref as o}from"vue";const s=n({name:`LayoutFooter`,__name:`layout-footer`,setup(n){let s=e(`footer`);return(e,n)=>(i(),t(`div`,{class:r(o(s))},[a(e.$slots,`default`)],2))}});export{s as default};
@@ -1,12 +1,12 @@
1
1
  import { LayoutFooterProps } from "./types.js";
2
- import * as vue742 from "vue";
2
+ import * as vue 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: vue742.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue742.ComponentOptionsMixin, vue742.ComponentOptionsMixin, {}, string, vue742.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue742.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: vue.DefineComponent<LayoutFooterProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<LayoutFooterProps> & Readonly<{}>, {}, {}, {}, {}, string, vue.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 & {