@soybeanjs/headless 0.18.0 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (985) hide show
  1. package/dist/components/_icon/types.d.ts +1 -10
  2. package/dist/components/accordion/accordion-content.js +1 -1
  3. package/dist/components/accordion/accordion-description.js +1 -1
  4. package/dist/components/accordion/accordion-header.js +1 -1
  5. package/dist/components/accordion/accordion-item.js +1 -1
  6. package/dist/components/accordion/accordion-root.js +1 -1
  7. package/dist/components/accordion/accordion-trigger.js +1 -1
  8. package/dist/components/accordion/context.js +1 -1
  9. package/dist/components/accordion/types.d.ts +6 -5
  10. package/dist/components/affix/affix-content.js +1 -1
  11. package/dist/components/affix/affix-placeholder.js +1 -1
  12. package/dist/components/affix/affix-root.js +1 -1
  13. package/dist/components/affix/types.d.ts +5 -4
  14. package/dist/components/alert/alert-close.js +1 -1
  15. package/dist/components/alert/alert-close.vue.d.ts +5 -4
  16. package/dist/components/alert/alert-compact.js +1 -1
  17. package/dist/components/alert/alert-compact.vue.d.ts +2 -0
  18. package/dist/components/alert/alert-content.js +1 -1
  19. package/dist/components/alert/alert-description.js +1 -1
  20. package/dist/components/alert/alert-root.js +1 -1
  21. package/dist/components/alert/alert-title.js +1 -1
  22. package/dist/components/alert/types.d.ts +16 -9
  23. package/dist/components/anchor/anchor-link.js +1 -1
  24. package/dist/components/anchor/anchor-root.js +1 -1
  25. package/dist/components/anchor/anchor-root.vue.d.ts +2 -2
  26. package/dist/components/anchor/context.js +1 -1
  27. package/dist/components/anchor/types.d.ts +5 -4
  28. package/dist/components/arrow/arrow.js +1 -1
  29. package/dist/components/arrow/types.d.ts +2 -1
  30. package/dist/components/aspect-ratio/aspect-ratio.js +1 -1
  31. package/dist/components/aspect-ratio/types.d.ts +2 -3
  32. package/dist/components/autocomplete/autocomplete-compact.js +1 -1
  33. package/dist/components/autocomplete/autocomplete-compact.vue.d.ts +2 -2
  34. package/dist/components/autocomplete/autocomplete-input.js +1 -1
  35. package/dist/components/autocomplete/autocomplete-root.js +1 -1
  36. package/dist/components/autocomplete/autocomplete-root.vue.d.ts +4 -4
  37. package/dist/components/autocomplete/types.d.ts +4 -3
  38. package/dist/components/avatar/avatar-fallback.js +1 -1
  39. package/dist/components/avatar/avatar-image.js +1 -1
  40. package/dist/components/avatar/avatar-root.js +1 -1
  41. package/dist/components/avatar/types.d.ts +5 -4
  42. package/dist/components/backtop/backtop.js +1 -1
  43. package/dist/components/backtop/backtop.vue.d.ts +2 -6
  44. package/dist/components/backtop/types.d.ts +2 -2
  45. package/dist/components/badge/badge-content.js +1 -1
  46. package/dist/components/badge/badge-root.js +1 -1
  47. package/dist/components/badge/types.d.ts +4 -3
  48. package/dist/components/bottom-sheet/bottom-sheet-compact.js +1 -1
  49. package/dist/components/bottom-sheet/bottom-sheet-popup.js +1 -1
  50. package/dist/components/bottom-sheet/bottom-sheet-root-nested.js +1 -1
  51. package/dist/components/bottom-sheet/bottom-sheet-root-nested.vue.d.ts +2 -2
  52. package/dist/components/bottom-sheet/bottom-sheet-root.js +1 -1
  53. package/dist/components/bottom-sheet/context.js +1 -1
  54. package/dist/components/bottom-sheet/types.d.ts +3 -2
  55. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  56. package/dist/components/breadcrumb/breadcrumb-item.js +1 -1
  57. package/dist/components/breadcrumb/breadcrumb-link.js +1 -1
  58. package/dist/components/breadcrumb/breadcrumb-list.js +1 -1
  59. package/dist/components/breadcrumb/breadcrumb-page.js +1 -1
  60. package/dist/components/breadcrumb/breadcrumb-root.js +1 -1
  61. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  62. package/dist/components/breadcrumb/types.d.ts +8 -8
  63. package/dist/components/button/button.js +1 -1
  64. package/dist/components/button/types.d.ts +3 -2
  65. package/dist/components/calendar/calendar-cell-trigger.js +1 -1
  66. package/dist/components/calendar/calendar-cell-trigger.vue.d.ts +3 -16
  67. package/dist/components/calendar/calendar-cell.js +1 -1
  68. package/dist/components/calendar/calendar-compact.js +1 -1
  69. package/dist/components/calendar/calendar-compact.vue.d.ts +3 -3
  70. package/dist/components/calendar/calendar-grid-body.js +1 -1
  71. package/dist/components/calendar/calendar-grid-head.js +1 -1
  72. package/dist/components/calendar/calendar-grid-row.js +1 -1
  73. package/dist/components/calendar/calendar-grid.js +1 -1
  74. package/dist/components/calendar/calendar-head-cell.js +1 -1
  75. package/dist/components/calendar/calendar-header.js +1 -1
  76. package/dist/components/calendar/calendar-header.vue.d.ts +1 -4
  77. package/dist/components/calendar/calendar-heading.js +1 -1
  78. package/dist/components/calendar/calendar-heading.vue.d.ts +6 -8
  79. package/dist/components/calendar/calendar-next.js +1 -1
  80. package/dist/components/calendar/calendar-next.vue.d.ts +6 -10
  81. package/dist/components/calendar/calendar-prev.js +1 -1
  82. package/dist/components/calendar/calendar-prev.vue.d.ts +6 -10
  83. package/dist/components/calendar/calendar-root.js +1 -1
  84. package/dist/components/calendar/calendar-root.vue.d.ts +2 -4
  85. package/dist/components/calendar/index.d.ts +2 -2
  86. package/dist/components/calendar/shared.js +1 -0
  87. package/dist/components/calendar/types.d.ts +119 -202
  88. package/dist/components/calendar/use-calendar.js +1 -1
  89. package/dist/components/calendar-range/calendar-range-cell-trigger.js +1 -0
  90. package/dist/components/calendar-range/calendar-range-cell-trigger.vue.d.ts +15 -0
  91. package/dist/components/calendar-range/calendar-range-cell.js +1 -0
  92. package/dist/components/{range-calendar/range-calendar-cell.vue.d.ts → calendar-range/calendar-range-cell.vue.d.ts} +3 -3
  93. package/dist/components/calendar-range/calendar-range-compact.js +1 -0
  94. package/dist/components/{range-calendar/range-calendar-compact.vue.d.ts → calendar-range/calendar-range-compact.vue.d.ts} +5 -5
  95. package/dist/components/calendar-range/calendar-range-grid-body.js +1 -0
  96. package/dist/components/{range-calendar/range-calendar-grid-body.vue.d.ts → calendar-range/calendar-range-grid-body.vue.d.ts} +3 -3
  97. package/dist/components/calendar-range/calendar-range-grid-head.js +1 -0
  98. package/dist/components/{range-calendar/range-calendar-grid-head.vue.d.ts → calendar-range/calendar-range-grid-head.vue.d.ts} +3 -3
  99. package/dist/components/calendar-range/calendar-range-grid-row.js +1 -0
  100. package/dist/components/{range-calendar/range-calendar-grid-row.vue.d.ts → calendar-range/calendar-range-grid-row.vue.d.ts} +3 -3
  101. package/dist/components/calendar-range/calendar-range-grid.js +1 -0
  102. package/dist/components/{range-calendar/range-calendar-grid.vue.d.ts → calendar-range/calendar-range-grid.vue.d.ts} +3 -3
  103. package/dist/components/calendar-range/calendar-range-head-cell.js +1 -0
  104. package/dist/components/{range-calendar/range-calendar-head-cell.vue.d.ts → calendar-range/calendar-range-head-cell.vue.d.ts} +3 -3
  105. package/dist/components/calendar-range/calendar-range-header.js +1 -0
  106. package/dist/components/calendar-range/calendar-range-header.vue.d.ts +18 -0
  107. package/dist/components/calendar-range/calendar-range-heading.js +1 -0
  108. package/dist/components/calendar-range/calendar-range-heading.vue.d.ts +20 -0
  109. package/dist/components/calendar-range/calendar-range-next.js +1 -0
  110. package/dist/components/calendar-range/calendar-range-next.vue.d.ts +20 -0
  111. package/dist/components/calendar-range/calendar-range-prev.js +1 -0
  112. package/dist/components/calendar-range/calendar-range-prev.vue.d.ts +20 -0
  113. package/dist/components/calendar-range/calendar-range-root.js +1 -0
  114. package/dist/components/{range-calendar/range-calendar-root.vue.d.ts → calendar-range/calendar-range-root.vue.d.ts} +12 -24
  115. package/dist/components/calendar-range/context.d.ts +9 -0
  116. package/dist/components/calendar-range/context.js +1 -0
  117. package/dist/components/calendar-range/index.d.ts +16 -0
  118. package/dist/components/calendar-range/index.js +1 -0
  119. package/dist/components/calendar-range/types.d.ts +471 -0
  120. package/dist/components/{range-calendar/use-range-calendar.js → calendar-range/use-calendar-range.js} +1 -1
  121. package/dist/components/card/card-collapsible-trigger.js +1 -1
  122. package/dist/components/card/card-content.js +1 -1
  123. package/dist/components/card/card-description.js +1 -1
  124. package/dist/components/card/card-footer.js +1 -1
  125. package/dist/components/card/card-header.js +1 -1
  126. package/dist/components/card/card-root.js +1 -1
  127. package/dist/components/card/card-root.vue.d.ts +1 -1
  128. package/dist/components/card/card-title-root.js +1 -1
  129. package/dist/components/card/card-title.js +1 -1
  130. package/dist/components/card/types.d.ts +8 -8
  131. package/dist/components/carousel/carousel-container.js +1 -1
  132. package/dist/components/carousel/carousel-content.js +1 -1
  133. package/dist/components/carousel/carousel-control.js +1 -1
  134. package/dist/components/carousel/carousel-item.js +1 -1
  135. package/dist/components/carousel/carousel-navigation.js +1 -1
  136. package/dist/components/carousel/carousel-next.js +1 -1
  137. package/dist/components/carousel/carousel-previous.js +1 -1
  138. package/dist/components/carousel/carousel-root.js +1 -1
  139. package/dist/components/carousel/types.d.ts +8 -7
  140. package/dist/components/checkbox/checkbox-card-compact.js +1 -1
  141. package/dist/components/checkbox/checkbox-card-group-compact.js +1 -1
  142. package/dist/components/checkbox/checkbox-compact.vue.d.ts +2 -2
  143. package/dist/components/checkbox/checkbox-control.js +1 -1
  144. package/dist/components/checkbox/checkbox-group-compact.js +1 -1
  145. package/dist/components/checkbox/checkbox-group-root.js +1 -1
  146. package/dist/components/checkbox/checkbox-indicator.js +1 -1
  147. package/dist/components/checkbox/checkbox-label.js +1 -1
  148. package/dist/components/checkbox/checkbox-root.js +1 -1
  149. package/dist/components/checkbox/checkbox-root.vue.d.ts +2 -2
  150. package/dist/components/checkbox/context.js +1 -1
  151. package/dist/components/checkbox/types.d.ts +8 -6
  152. package/dist/components/clipboard/clipboard.js +1 -1
  153. package/dist/components/clipboard/clipboard.vue.d.ts +5 -5
  154. package/dist/components/clipboard/types.d.ts +1 -1
  155. package/dist/components/collapsible/collapsible-content.js +1 -1
  156. package/dist/components/collapsible/collapsible-root.js +1 -1
  157. package/dist/components/collapsible/collapsible-root.vue.d.ts +3 -3
  158. package/dist/components/collapsible/collapsible-trigger.js +1 -1
  159. package/dist/components/collapsible/collapsible-trigger.vue.d.ts +1 -4
  160. package/dist/components/collapsible/context.js +1 -1
  161. package/dist/components/collapsible/types.d.ts +6 -5
  162. package/dist/components/color-area/color-area-area.js +1 -1
  163. package/dist/components/color-area/color-area-area.vue.d.ts +1 -4
  164. package/dist/components/color-area/color-area-compact.js +1 -0
  165. package/dist/components/color-area/color-area-compact.vue.d.ts +19 -0
  166. package/dist/components/color-area/color-area-root.js +1 -1
  167. package/dist/components/color-area/color-area-root.vue.d.ts +4 -6
  168. package/dist/components/color-area/color-area-thumb.js +1 -1
  169. package/dist/components/color-area/index.d.ts +5 -4
  170. package/dist/components/color-area/index.js +1 -1
  171. package/dist/components/color-area/types.d.ts +24 -7
  172. package/dist/components/color-field/color-field-compact.js +1 -0
  173. package/dist/components/color-field/color-field-compact.vue.d.ts +15 -0
  174. package/dist/components/color-field/color-field-input.js +1 -1
  175. package/dist/components/color-field/color-field-root.js +1 -1
  176. package/dist/components/color-field/color-field-root.vue.d.ts +2 -4
  177. package/dist/components/color-field/index.d.ts +5 -4
  178. package/dist/components/color-field/index.js +1 -1
  179. package/dist/components/color-field/types.d.ts +20 -6
  180. package/dist/components/color-picker/color-picker-compact.js +1 -0
  181. package/dist/components/color-picker/color-picker-compact.vue.d.ts +60 -0
  182. package/dist/components/color-picker/color-picker-root.js +1 -1
  183. package/dist/components/color-picker/color-picker-root.vue.d.ts +18 -7
  184. package/dist/components/color-picker/color-picker-trigger.js +1 -0
  185. package/dist/components/color-picker/color-picker-trigger.vue.d.ts +25 -0
  186. package/dist/components/color-picker/context.d.ts +9 -0
  187. package/dist/components/color-picker/context.js +1 -0
  188. package/dist/components/color-picker/index.d.ts +6 -3
  189. package/dist/components/color-picker/index.js +1 -1
  190. package/dist/components/color-picker/shared.js +1 -0
  191. package/dist/components/color-picker/types.d.ts +132 -5
  192. package/dist/components/color-slider/color-slider-compact.js +1 -0
  193. package/dist/components/color-slider/color-slider-compact.vue.d.ts +19 -0
  194. package/dist/components/color-slider/color-slider-root.js +1 -1
  195. package/dist/components/color-slider/color-slider-root.vue.d.ts +5 -5
  196. package/dist/components/color-slider/color-slider-thumb.js +1 -1
  197. package/dist/components/color-slider/color-slider-track.js +1 -1
  198. package/dist/components/color-slider/index.d.ts +6 -5
  199. package/dist/components/color-slider/index.js +1 -1
  200. package/dist/components/color-slider/types.d.ts +24 -7
  201. package/dist/components/color-swatch/color-swatch-checker.js +1 -0
  202. package/dist/components/color-swatch/color-swatch-checker.vue.d.ts +8 -0
  203. package/dist/components/color-swatch/color-swatch-compact.js +1 -0
  204. package/dist/components/color-swatch/color-swatch-compact.vue.d.ts +15 -0
  205. package/dist/components/color-swatch/color-swatch-fill.js +1 -0
  206. package/dist/components/color-swatch/color-swatch-fill.vue.d.ts +8 -0
  207. package/dist/components/color-swatch/color-swatch-root.js +1 -0
  208. package/dist/components/color-swatch/color-swatch-root.vue.d.ts +15 -0
  209. package/dist/components/color-swatch/context.d.ts +9 -0
  210. package/dist/components/color-swatch/context.js +1 -0
  211. package/dist/components/color-swatch/index.d.ts +7 -3
  212. package/dist/components/color-swatch/index.js +1 -1
  213. package/dist/components/color-swatch/types.d.ts +58 -5
  214. package/dist/components/color-swatch-picker/color-swatch-picker-compact.js +1 -0
  215. package/dist/components/color-swatch-picker/color-swatch-picker-compact.vue.d.ts +28 -0
  216. package/dist/components/color-swatch-picker/color-swatch-picker-item-indicator.js +1 -1
  217. package/dist/components/color-swatch-picker/color-swatch-picker-item-swatch.js +1 -1
  218. package/dist/components/color-swatch-picker/color-swatch-picker-item.js +1 -1
  219. package/dist/components/color-swatch-picker/color-swatch-picker-root.js +1 -1
  220. package/dist/components/color-swatch-picker/color-swatch-picker-root.vue.d.ts +1 -1
  221. package/dist/components/color-swatch-picker/context.js +1 -1
  222. package/dist/components/color-swatch-picker/index.d.ts +7 -6
  223. package/dist/components/color-swatch-picker/index.js +1 -1
  224. package/dist/components/color-swatch-picker/types.d.ts +63 -8
  225. package/dist/components/combobox/combobox-arrow.js +1 -1
  226. package/dist/components/combobox/combobox-cancel.js +1 -1
  227. package/dist/components/combobox/combobox-compact.js +1 -1
  228. package/dist/components/combobox/combobox-compact.vue.d.ts +2 -2
  229. package/dist/components/combobox/combobox-content-impl.js +1 -1
  230. package/dist/components/combobox/combobox-content.js +1 -1
  231. package/dist/components/combobox/combobox-empty.js +1 -1
  232. package/dist/components/combobox/combobox-empty.vue.d.ts +1 -4
  233. package/dist/components/combobox/combobox-group.js +1 -1
  234. package/dist/components/combobox/combobox-input.js +1 -1
  235. package/dist/components/combobox/combobox-item.js +1 -1
  236. package/dist/components/combobox/combobox-root.js +1 -1
  237. package/dist/components/combobox/combobox-root.vue.d.ts +3 -3
  238. package/dist/components/combobox/combobox-separator.js +1 -1
  239. package/dist/components/combobox/combobox-trigger.js +1 -1
  240. package/dist/components/combobox/combobox-viewport.js +1 -1
  241. package/dist/components/combobox/combobox-virtualizer.js +1 -1
  242. package/dist/components/combobox/types.d.ts +9 -8
  243. package/dist/components/command/command-compact.js +1 -1
  244. package/dist/components/command/types.d.ts +4 -4
  245. package/dist/components/config-provider/config-provider.js +14 -2
  246. package/dist/components/config-provider/context.js +1 -1
  247. package/dist/components/config-provider/types.d.ts +9 -1
  248. package/dist/components/context-menu/context-menu-checkbox-compact.vue.d.ts +2 -2
  249. package/dist/components/context-menu/context-menu-content.js +1 -1
  250. package/dist/components/context-menu/context-menu-radio-compact.vue.d.ts +2 -2
  251. package/dist/components/context-menu/context-menu-trigger.js +1 -1
  252. package/dist/components/context-menu/context.js +1 -1
  253. package/dist/components/date-field/date-field-compact.js +1 -1
  254. package/dist/components/date-field/date-field-compact.vue.d.ts +17 -5
  255. package/dist/components/date-field/date-field-input.js +1 -1
  256. package/dist/components/date-field/date-field-root.js +1 -1
  257. package/dist/components/date-field/date-field-root.vue.d.ts +14 -22
  258. package/dist/components/date-field/index.d.ts +3 -3
  259. package/dist/components/date-field/types.d.ts +44 -144
  260. package/dist/components/date-picker/context.js +1 -1
  261. package/dist/components/date-picker/date-picker-compact.js +1 -1
  262. package/dist/components/date-picker/date-picker-compact.vue.d.ts +290 -10
  263. package/dist/components/date-picker/index.d.ts +2 -7
  264. package/dist/components/date-picker/index.js +1 -1
  265. package/dist/components/date-picker/types.d.ts +11 -274
  266. package/dist/components/date-range-field/date-range-field-compact.js +1 -1
  267. package/dist/components/date-range-field/date-range-field-input.js +1 -1
  268. package/dist/components/date-range-field/date-range-field-input.vue.d.ts +2 -2
  269. package/dist/components/date-range-field/date-range-field-root.js +1 -1
  270. package/dist/components/date-range-field/date-range-field-root.vue.d.ts +15 -30
  271. package/dist/components/date-range-field/index.d.ts +3 -3
  272. package/dist/components/date-range-field/types.d.ts +36 -183
  273. package/dist/components/date-range-picker/context.js +1 -1
  274. package/dist/components/date-range-picker/date-range-picker-compact.js +1 -1
  275. package/dist/components/date-range-picker/date-range-picker-compact.vue.d.ts +293 -12
  276. package/dist/components/date-range-picker/index.d.ts +2 -5
  277. package/dist/components/date-range-picker/index.js +1 -1
  278. package/dist/components/date-range-picker/types.d.ts +14 -269
  279. package/dist/components/dialog/context.js +1 -1
  280. package/dist/components/dialog/dialog-cancel.js +1 -1
  281. package/dist/components/dialog/dialog-close.js +1 -1
  282. package/dist/components/dialog/dialog-compact.js +1 -1
  283. package/dist/components/dialog/dialog-compact.vue.d.ts +7 -7
  284. package/dist/components/dialog/dialog-confirm.js +1 -1
  285. package/dist/components/dialog/dialog-content.js +1 -1
  286. package/dist/components/dialog/dialog-description.js +1 -1
  287. package/dist/components/dialog/dialog-footer.js +1 -1
  288. package/dist/components/dialog/dialog-header.js +1 -1
  289. package/dist/components/dialog/dialog-overlay.js +1 -1
  290. package/dist/components/dialog/dialog-popup-impl.js +1 -1
  291. package/dist/components/dialog/dialog-popup.js +1 -1
  292. package/dist/components/dialog/dialog-root.js +1 -1
  293. package/dist/components/dialog/dialog-title.js +1 -1
  294. package/dist/components/dialog/dialog-trigger.js +1 -1
  295. package/dist/components/dialog/dialog-trigger.vue.d.ts +5 -1
  296. package/dist/components/dialog/state.js +1 -1
  297. package/dist/components/dialog/types.d.ts +26 -15
  298. package/dist/components/dropdown-menu/context.js +1 -1
  299. package/dist/components/dropdown-menu/dropdown-menu-checkbox-compact.vue.d.ts +2 -2
  300. package/dist/components/dropdown-menu/dropdown-menu-content.js +1 -1
  301. package/dist/components/dropdown-menu/dropdown-menu-radio-compact.vue.d.ts +2 -2
  302. package/dist/components/dropdown-menu/dropdown-menu-root.js +1 -1
  303. package/dist/components/dropdown-menu/dropdown-menu-root.vue.d.ts +2 -2
  304. package/dist/components/dropdown-menu/dropdown-menu-trigger.js +1 -1
  305. package/dist/components/editable/context.js +1 -1
  306. package/dist/components/editable/editable-area.js +1 -1
  307. package/dist/components/editable/editable-area.vue.d.ts +1 -4
  308. package/dist/components/editable/editable-cancel-trigger.js +1 -1
  309. package/dist/components/editable/editable-cancel-trigger.vue.d.ts +1 -4
  310. package/dist/components/editable/editable-compact.js +1 -1
  311. package/dist/components/editable/editable-compact.vue.d.ts +2 -2
  312. package/dist/components/editable/editable-edit-trigger.js +1 -1
  313. package/dist/components/editable/editable-edit-trigger.vue.d.ts +1 -4
  314. package/dist/components/editable/editable-input.js +1 -1
  315. package/dist/components/editable/editable-input.vue.d.ts +4 -1
  316. package/dist/components/editable/editable-preview.js +1 -1
  317. package/dist/components/editable/editable-root.js +1 -1
  318. package/dist/components/editable/editable-root.vue.d.ts +4 -6
  319. package/dist/components/editable/editable-submit-trigger.js +1 -1
  320. package/dist/components/editable/editable-submit-trigger.vue.d.ts +1 -4
  321. package/dist/components/editable/types.d.ts +12 -11
  322. package/dist/components/empty/empty-content.js +1 -1
  323. package/dist/components/empty/empty-description.js +1 -1
  324. package/dist/components/empty/empty-header.js +1 -1
  325. package/dist/components/empty/empty-media.js +1 -1
  326. package/dist/components/empty/empty-root.js +1 -1
  327. package/dist/components/empty/empty-title.js +1 -1
  328. package/dist/components/empty/types.d.ts +8 -8
  329. package/dist/components/form/form-compact.js +1 -1
  330. package/dist/components/form/form-control.js +1 -1
  331. package/dist/components/form/form-description.js +1 -1
  332. package/dist/components/form/form-error.js +1 -1
  333. package/dist/components/form/form-field-array-compact.js +1 -1
  334. package/dist/components/form/form-field-compact.js +1 -1
  335. package/dist/components/form/form-label.js +1 -1
  336. package/dist/components/form/types.d.ts +7 -6
  337. package/dist/components/hover-card/context.js +1 -1
  338. package/dist/components/hover-card/hover-card-compact.js +1 -1
  339. package/dist/components/hover-card/hover-card-compact.vue.d.ts +0 -1
  340. package/dist/components/hover-card/hover-card-popup.js +1 -1
  341. package/dist/components/hover-card/hover-card-positioner.js +1 -1
  342. package/dist/components/hover-card/hover-card-root.js +1 -1
  343. package/dist/components/hover-card/hover-card-root.vue.d.ts +2 -2
  344. package/dist/components/hover-card/hover-card-trigger.js +1 -1
  345. package/dist/components/hover-card/index.d.ts +1 -1
  346. package/dist/components/hover-card/types.d.ts +2 -2
  347. package/dist/components/input/input-clear.js +1 -1
  348. package/dist/components/input/input-compact.js +1 -1
  349. package/dist/components/input/input-control.js +1 -1
  350. package/dist/components/input/input-root.js +1 -1
  351. package/dist/components/input/input-root.vue.d.ts +1 -1
  352. package/dist/components/input/types.d.ts +10 -9
  353. package/dist/components/input-number/context.js +1 -1
  354. package/dist/components/input-number/index.d.ts +7 -6
  355. package/dist/components/input-number/index.js +1 -1
  356. package/dist/components/input-number/input-number-clear.js +1 -0
  357. package/dist/components/input-number/input-number-compact.js +1 -0
  358. package/dist/components/input-number/input-number-compact.vue.d.ts +21 -0
  359. package/dist/components/input-number/input-number-control.js +1 -1
  360. package/dist/components/input-number/input-number-decrement.js +1 -1
  361. package/dist/components/input-number/input-number-decrement.vue.d.ts +1 -4
  362. package/dist/components/input-number/input-number-increment.js +1 -1
  363. package/dist/components/input-number/input-number-increment.vue.d.ts +1 -4
  364. package/dist/components/input-number/input-number-root.js +1 -1
  365. package/dist/components/input-number/input-number-root.vue.d.ts +4 -4
  366. package/dist/components/input-number/types.d.ts +87 -14
  367. package/dist/components/input-otp/input-otp-compact.js +1 -1
  368. package/dist/components/input-otp/input-otp-compact.vue.d.ts +4 -4
  369. package/dist/components/input-otp/input-otp-input.js +1 -1
  370. package/dist/components/input-otp/input-otp-positioner.js +1 -1
  371. package/dist/components/input-otp/input-otp-root.js +1 -1
  372. package/dist/components/input-otp/input-otp-root.vue.d.ts +4 -4
  373. package/dist/components/input-otp/types.d.ts +5 -4
  374. package/dist/components/kbd/kbd.js +1 -1
  375. package/dist/components/kbd/types.d.ts +2 -3
  376. package/dist/components/label/label.js +1 -1
  377. package/dist/components/label/types.d.ts +2 -3
  378. package/dist/components/layout/layout-classic-compact.vue.d.ts +1 -1
  379. package/dist/components/layout/layout-classic-placeholder.js +1 -1
  380. package/dist/components/layout/layout-classic-root.js +1 -1
  381. package/dist/components/layout/layout-compact.vue.d.ts +1 -1
  382. package/dist/components/layout/layout-content.js +1 -1
  383. package/dist/components/layout/layout-footer.js +1 -1
  384. package/dist/components/layout/layout-header.js +1 -1
  385. package/dist/components/layout/layout-main.js +1 -1
  386. package/dist/components/layout/layout-mobile.js +1 -1
  387. package/dist/components/layout/layout-rail.js +1 -1
  388. package/dist/components/layout/layout-root.js +1 -1
  389. package/dist/components/layout/layout-root.vue.d.ts +3 -3
  390. package/dist/components/layout/layout-sidebar.js +1 -1
  391. package/dist/components/layout/layout-tab.js +1 -1
  392. package/dist/components/layout/layout-trigger.js +1 -1
  393. package/dist/components/layout/layout-trigger.vue.d.ts +1 -4
  394. package/dist/components/layout/types.d.ts +13 -12
  395. package/dist/components/link/link.js +1 -1
  396. package/dist/components/link/types.d.ts +2 -3
  397. package/dist/components/list/list-content.js +1 -1
  398. package/dist/components/list/list-description.js +1 -1
  399. package/dist/components/list/list-item.js +1 -1
  400. package/dist/components/list/list-root.js +1 -1
  401. package/dist/components/list/list-title.js +1 -1
  402. package/dist/components/list/types.d.ts +6 -7
  403. package/dist/components/listbox/context.js +1 -1
  404. package/dist/components/listbox/listbox-content.js +1 -1
  405. package/dist/components/listbox/listbox-filter.js +1 -1
  406. package/dist/components/listbox/listbox-group-label.js +1 -1
  407. package/dist/components/listbox/listbox-group.js +1 -1
  408. package/dist/components/listbox/listbox-item-indicator.js +1 -1
  409. package/dist/components/listbox/listbox-item.js +1 -1
  410. package/dist/components/listbox/listbox-item.vue.d.ts +1 -4
  411. package/dist/components/listbox/listbox-root.js +1 -1
  412. package/dist/components/listbox/types.d.ts +9 -8
  413. package/dist/components/menu/context.js +1 -1
  414. package/dist/components/menu/menu-checkbox-group.js +1 -1
  415. package/dist/components/menu/menu-checkbox-group.vue.d.ts +1 -1
  416. package/dist/components/menu/menu-checkbox-item.js +1 -1
  417. package/dist/components/menu/menu-content-impl.js +1 -1
  418. package/dist/components/menu/menu-content.js +1 -1
  419. package/dist/components/menu/menu-group-label.js +1 -1
  420. package/dist/components/menu/menu-group.js +1 -1
  421. package/dist/components/menu/menu-item-impl.js +1 -1
  422. package/dist/components/menu/menu-item-indicator.js +1 -1
  423. package/dist/components/menu/menu-item.js +1 -1
  424. package/dist/components/menu/menu-radio-group.js +1 -1
  425. package/dist/components/menu/menu-radio-group.vue.d.ts +3 -3
  426. package/dist/components/menu/menu-radio-item.js +1 -1
  427. package/dist/components/menu/menu-radio-options-compact.js +1 -1
  428. package/dist/components/menu/menu-radio-options-compact.vue.d.ts +2 -2
  429. package/dist/components/menu/menu-root.js +1 -1
  430. package/dist/components/menu/menu-root.vue.d.ts +1 -1
  431. package/dist/components/menu/menu-sub-content.js +1 -1
  432. package/dist/components/menu/menu-sub-trigger.js +1 -1
  433. package/dist/components/menu/menu-sub.js +1 -1
  434. package/dist/components/menu/types.d.ts +11 -12
  435. package/dist/components/menubar/context.js +1 -1
  436. package/dist/components/menubar/menubar-compact.vue.d.ts +2 -2
  437. package/dist/components/menubar/menubar-content.js +1 -1
  438. package/dist/components/menubar/menubar-menu.js +1 -1
  439. package/dist/components/menubar/menubar-root.js +1 -1
  440. package/dist/components/menubar/menubar-root.vue.d.ts +1 -1
  441. package/dist/components/menubar/menubar-sub-content.js +1 -1
  442. package/dist/components/menubar/menubar-sub-trigger.js +1 -1
  443. package/dist/components/menubar/menubar-trigger.js +1 -1
  444. package/dist/components/menubar/menubar-trigger.vue.d.ts +1 -4
  445. package/dist/components/menubar/types.d.ts +5 -7
  446. package/dist/components/navigation-menu/context.js +1 -1
  447. package/dist/components/navigation-menu/index.d.ts +3 -3
  448. package/dist/components/navigation-menu/index.js +1 -1
  449. package/dist/components/navigation-menu/navigation-menu-compact.js +1 -1
  450. package/dist/components/navigation-menu/navigation-menu-compact.vue.d.ts +2 -2
  451. package/dist/components/navigation-menu/navigation-menu-content.js +1 -1
  452. package/dist/components/navigation-menu/navigation-menu-indicator.js +1 -1
  453. package/dist/components/navigation-menu/navigation-menu-item-slot-compact.js +1 -0
  454. package/dist/components/navigation-menu/navigation-menu-item.js +1 -1
  455. package/dist/components/navigation-menu/navigation-menu-link.js +1 -1
  456. package/dist/components/navigation-menu/navigation-menu-list.js +1 -1
  457. package/dist/components/navigation-menu/navigation-menu-option-compact.js +1 -0
  458. package/dist/components/navigation-menu/navigation-menu-root.js +1 -1
  459. package/dist/components/navigation-menu/navigation-menu-root.vue.d.ts +1 -2
  460. package/dist/components/navigation-menu/navigation-menu-sub-list.js +1 -1
  461. package/dist/components/navigation-menu/navigation-menu-sub-option-compact.js +1 -0
  462. package/dist/components/navigation-menu/navigation-menu-trigger.js +1 -1
  463. package/dist/components/navigation-menu/navigation-menu-viewport.js +1 -1
  464. package/dist/components/navigation-menu/shared.js +1 -1
  465. package/dist/components/navigation-menu/types.d.ts +105 -65
  466. package/dist/components/page-tabs/hooks.js +1 -1
  467. package/dist/components/page-tabs/index.d.ts +6 -5
  468. package/dist/components/page-tabs/index.js +1 -1
  469. package/dist/components/page-tabs/page-tabs-close.js +1 -1
  470. package/dist/components/page-tabs/page-tabs-compact.js +1 -0
  471. package/dist/components/page-tabs/page-tabs-compact.vue.d.ts +27 -0
  472. package/dist/components/page-tabs/page-tabs-item.js +1 -1
  473. package/dist/components/page-tabs/page-tabs-item.vue.d.ts +4 -4
  474. package/dist/components/page-tabs/page-tabs-pin.js +1 -1
  475. package/dist/components/page-tabs/page-tabs-root.js +1 -1
  476. package/dist/components/page-tabs/page-tabs-root.vue.d.ts +3 -2
  477. package/dist/components/page-tabs/types.d.ts +208 -9
  478. package/dist/components/pagination/pagination-ellipsis.js +1 -1
  479. package/dist/components/pagination/pagination-first.js +1 -1
  480. package/dist/components/pagination/pagination-first.vue.d.ts +2 -2
  481. package/dist/components/pagination/pagination-last.js +1 -1
  482. package/dist/components/pagination/pagination-last.vue.d.ts +2 -2
  483. package/dist/components/pagination/pagination-list-item.js +1 -1
  484. package/dist/components/pagination/pagination-list-item.vue.d.ts +2 -2
  485. package/dist/components/pagination/pagination-list.js +1 -1
  486. package/dist/components/pagination/pagination-next.js +1 -1
  487. package/dist/components/pagination/pagination-next.vue.d.ts +2 -2
  488. package/dist/components/pagination/pagination-prev.js +1 -1
  489. package/dist/components/pagination/pagination-prev.vue.d.ts +2 -2
  490. package/dist/components/pagination/pagination-root.js +1 -1
  491. package/dist/components/pagination/pagination-root.vue.d.ts +2 -2
  492. package/dist/components/pagination/types.d.ts +18 -16
  493. package/dist/components/password/context.d.ts +9 -0
  494. package/dist/components/password/context.js +1 -0
  495. package/dist/components/password/index.d.ts +4 -0
  496. package/dist/components/password/index.js +1 -0
  497. package/dist/components/password/password-compact.js +1 -0
  498. package/dist/components/password/password-compact.vue.d.ts +23 -0
  499. package/dist/components/password/types.d.ts +97 -0
  500. package/dist/components/popconfirm/context.d.ts +9 -0
  501. package/dist/components/popconfirm/context.js +1 -0
  502. package/dist/components/popconfirm/index.d.ts +21 -0
  503. package/dist/components/popconfirm/index.js +1 -0
  504. package/dist/components/popconfirm/popconfirm-cancel.js +1 -0
  505. package/dist/components/popconfirm/popconfirm-cancel.vue.d.ts +22 -0
  506. package/dist/components/popconfirm/popconfirm-compact.js +1 -0
  507. package/dist/components/{date-picker/date-picker-content.vue.d.ts → popconfirm/popconfirm-compact.vue.d.ts} +17 -7
  508. package/dist/components/popconfirm/popconfirm-confirm.js +1 -0
  509. package/dist/components/popconfirm/popconfirm-confirm.vue.d.ts +22 -0
  510. package/dist/components/popconfirm/popconfirm-content.js +1 -0
  511. package/dist/components/popconfirm/popconfirm-content.vue.d.ts +18 -0
  512. package/dist/components/popconfirm/popconfirm-description.js +1 -0
  513. package/dist/components/popconfirm/popconfirm-description.vue.d.ts +18 -0
  514. package/dist/components/popconfirm/popconfirm-footer.js +1 -0
  515. package/dist/components/popconfirm/popconfirm-footer.vue.d.ts +18 -0
  516. package/dist/components/popconfirm/popconfirm-header.js +1 -0
  517. package/dist/components/popconfirm/popconfirm-header.vue.d.ts +18 -0
  518. package/dist/components/popconfirm/popconfirm-title.js +1 -0
  519. package/dist/components/popconfirm/popconfirm-title.vue.d.ts +18 -0
  520. package/dist/components/popconfirm/types.d.ts +221 -0
  521. package/dist/components/popover/context.js +1 -1
  522. package/dist/components/popover/index.d.ts +3 -3
  523. package/dist/components/popover/index.js +1 -1
  524. package/dist/components/popover/popover-anchor.js +1 -1
  525. package/dist/components/popover/popover-close.js +1 -1
  526. package/dist/components/popover/popover-close.vue.d.ts +3 -6
  527. package/dist/components/popover/popover-compact.js +1 -1
  528. package/dist/components/popover/popover-compact.vue.d.ts +1 -1
  529. package/dist/components/popover/popover-popup.js +1 -1
  530. package/dist/components/popover/popover-positioner-impl.js +1 -1
  531. package/dist/components/popover/popover-positioner.js +1 -1
  532. package/dist/components/popover/popover-positioner.vue.d.ts +1 -0
  533. package/dist/components/popover/popover-root.js +1 -1
  534. package/dist/components/popover/popover-root.vue.d.ts +1 -1
  535. package/dist/components/popover/popover-trigger.js +1 -1
  536. package/dist/components/popover/types.d.ts +13 -15
  537. package/dist/components/popper/index.d.ts +1 -1
  538. package/dist/components/popper/popper-anchor.js +1 -1
  539. package/dist/components/popper/popper-arrow.js +1 -1
  540. package/dist/components/popper/popper-positioner.js +1 -1
  541. package/dist/components/popper/popper-positioner.vue.d.ts +2 -1
  542. package/dist/components/popper/types.d.ts +7 -6
  543. package/dist/components/primitive/index.d.ts +2 -2
  544. package/dist/components/primitive/types.d.ts +3 -1
  545. package/dist/components/progress/index.d.ts +8 -6
  546. package/dist/components/progress/index.js +1 -1
  547. package/dist/components/progress/progress-circle-compact.js +1 -0
  548. package/dist/components/progress/progress-circle-compact.vue.d.ts +21 -0
  549. package/dist/components/progress/progress-circle-svg.js +1 -0
  550. package/dist/components/progress/{progress-circle.vue.d.ts → progress-circle-svg.vue.d.ts} +3 -3
  551. package/dist/components/progress/progress-compact.js +1 -0
  552. package/dist/components/progress/progress-compact.vue.d.ts +21 -0
  553. package/dist/components/progress/progress-indicator.js +1 -1
  554. package/dist/components/progress/progress-indicator.vue.d.ts +1 -4
  555. package/dist/components/progress/progress-provider.js +1 -1
  556. package/dist/components/progress/progress-root.js +1 -1
  557. package/dist/components/progress/progress-root.vue.d.ts +1 -3
  558. package/dist/components/progress/shared.js +1 -1
  559. package/dist/components/progress/state.js +1 -1
  560. package/dist/components/progress/types.d.ts +68 -23
  561. package/dist/components/radio-group/context.d.ts +3 -2
  562. package/dist/components/radio-group/context.js +1 -1
  563. package/dist/components/radio-group/index.d.ts +10 -9
  564. package/dist/components/radio-group/index.js +1 -1
  565. package/dist/components/radio-group/radio-group-card-compact.js +1 -0
  566. package/dist/components/radio-group/radio-group-card-compact.vue.d.ts +21 -0
  567. package/dist/components/radio-group/radio-group-compact.js +1 -1
  568. package/dist/components/radio-group/radio-group-compact.vue.d.ts +4 -5
  569. package/dist/components/radio-group/radio-group-control.js +1 -1
  570. package/dist/components/radio-group/radio-group-control.vue.d.ts +2 -2
  571. package/dist/components/radio-group/radio-group-indicator.js +1 -1
  572. package/dist/components/radio-group/radio-group-item.js +1 -1
  573. package/dist/components/radio-group/radio-group-label.js +1 -1
  574. package/dist/components/radio-group/radio-group-root.js +1 -1
  575. package/dist/components/radio-group/radio-group-root.vue.d.ts +5 -5
  576. package/dist/components/radio-group/types.d.ts +74 -18
  577. package/dist/components/roving-focus/context.js +1 -1
  578. package/dist/components/roving-focus/roving-focus-group.js +1 -1
  579. package/dist/components/roving-focus/roving-focus-group.vue.d.ts +1 -1
  580. package/dist/components/roving-focus/roving-focus-item.js +1 -1
  581. package/dist/components/roving-focus/types.d.ts +3 -4
  582. package/dist/components/scroll-area/index.d.ts +8 -7
  583. package/dist/components/scroll-area/index.js +1 -1
  584. package/dist/components/scroll-area/scroll-area-compact.js +1 -0
  585. package/dist/components/scroll-area/scroll-area-compact.vue.d.ts +15 -0
  586. package/dist/components/scroll-area/scroll-area-corner.js +1 -1
  587. package/dist/components/scroll-area/scroll-area-corner.vue.d.ts +1 -4
  588. package/dist/components/scroll-area/scroll-area-root.js +1 -1
  589. package/dist/components/scroll-area/scroll-area-root.vue.d.ts +0 -2
  590. package/dist/components/scroll-area/scroll-area-scrollbar.js +1 -1
  591. package/dist/components/scroll-area/scroll-area-scrollbar.vue.d.ts +0 -2
  592. package/dist/components/scroll-area/scroll-area-thumb.js +1 -1
  593. package/dist/components/scroll-area/scroll-area-thumb.vue.d.ts +1 -4
  594. package/dist/components/scroll-area/scroll-area-viewport.js +1 -1
  595. package/dist/components/scroll-area/types.d.ts +46 -8
  596. package/dist/components/segment/index.d.ts +1 -1
  597. package/dist/components/segment/segment-compact.js +1 -1
  598. package/dist/components/segment/segment-compact.vue.d.ts +2 -2
  599. package/dist/components/select/context.js +1 -1
  600. package/dist/components/select/select-arrow.js +1 -1
  601. package/dist/components/select/select-bubble-select.js +1 -1
  602. package/dist/components/select/select-compact.vue.d.ts +2 -2
  603. package/dist/components/select/select-content.js +1 -1
  604. package/dist/components/select/select-group-label.js +1 -1
  605. package/dist/components/select/select-group.js +1 -1
  606. package/dist/components/select/select-item-aligned-popup.js +1 -1
  607. package/dist/components/select/select-item-aligned-positioner.js +1 -1
  608. package/dist/components/select/select-item-indicator.js +1 -1
  609. package/dist/components/select/select-item-text.js +1 -1
  610. package/dist/components/select/select-item.js +1 -1
  611. package/dist/components/select/select-popper-popup.js +1 -1
  612. package/dist/components/select/select-root.vue.d.ts +2 -2
  613. package/dist/components/select/select-scroll-button-impl.js +1 -1
  614. package/dist/components/select/select-scroll-down-button.js +1 -1
  615. package/dist/components/select/select-scroll-up-button.js +1 -1
  616. package/dist/components/select/select-separator.js +1 -1
  617. package/dist/components/select/select-trigger-icon.js +1 -1
  618. package/dist/components/select/select-trigger.js +1 -1
  619. package/dist/components/select/select-value.js +1 -1
  620. package/dist/components/select/select-viewport.js +1 -1
  621. package/dist/components/select/types.d.ts +16 -14
  622. package/dist/components/separator/index.d.ts +5 -4
  623. package/dist/components/separator/index.js +1 -1
  624. package/dist/components/separator/separator-compact.js +1 -0
  625. package/dist/components/separator/separator-compact.vue.d.ts +18 -0
  626. package/dist/components/separator/separator-label.js +1 -1
  627. package/dist/components/separator/separator-root.js +1 -1
  628. package/dist/components/separator/types.d.ts +26 -5
  629. package/dist/components/skeleton/skeleton.js +1 -1
  630. package/dist/components/skeleton/skeleton.vue.d.ts +1 -4
  631. package/dist/components/skeleton/types.d.ts +2 -3
  632. package/dist/components/slider/index.d.ts +7 -6
  633. package/dist/components/slider/index.js +1 -1
  634. package/dist/components/slider/shared.js +1 -1
  635. package/dist/components/slider/slider-compact.js +1 -0
  636. package/dist/components/slider/slider-compact.vue.d.ts +21 -0
  637. package/dist/components/slider/slider-range.js +1 -1
  638. package/dist/components/slider/slider-range.vue.d.ts +1 -4
  639. package/dist/components/slider/slider-root.js +1 -1
  640. package/dist/components/slider/slider-root.vue.d.ts +1 -3
  641. package/dist/components/slider/slider-thumb.js +1 -1
  642. package/dist/components/slider/slider-thumb.vue.d.ts +1 -4
  643. package/dist/components/slider/slider-track.js +1 -1
  644. package/dist/components/slider/slider-track.vue.d.ts +1 -4
  645. package/dist/components/slider/types.d.ts +55 -8
  646. package/dist/components/splitter/context.js +1 -1
  647. package/dist/components/splitter/splitter-group.js +1 -1
  648. package/dist/components/splitter/splitter-group.vue.d.ts +0 -2
  649. package/dist/components/splitter/splitter-panel.js +1 -1
  650. package/dist/components/splitter/splitter-panel.vue.d.ts +2 -4
  651. package/dist/components/splitter/splitter-resize-handle.js +1 -1
  652. package/dist/components/splitter/splitter-resize-handle.vue.d.ts +0 -2
  653. package/dist/components/splitter/types.d.ts +5 -5
  654. package/dist/components/stepper/context.js +1 -1
  655. package/dist/components/stepper/stepper-description.js +1 -1
  656. package/dist/components/stepper/stepper-indicator.js +1 -1
  657. package/dist/components/stepper/stepper-item.js +1 -1
  658. package/dist/components/stepper/stepper-item.vue.d.ts +0 -2
  659. package/dist/components/stepper/stepper-root.js +1 -1
  660. package/dist/components/stepper/stepper-root.vue.d.ts +2 -4
  661. package/dist/components/stepper/stepper-separator.js +1 -1
  662. package/dist/components/stepper/stepper-title.js +1 -1
  663. package/dist/components/stepper/stepper-trigger.js +1 -1
  664. package/dist/components/stepper/types.d.ts +10 -10
  665. package/dist/components/switch/context.js +1 -1
  666. package/dist/components/switch/index.d.ts +6 -5
  667. package/dist/components/switch/index.js +1 -1
  668. package/dist/components/switch/switch-compact.js +1 -0
  669. package/dist/components/switch/switch-compact.vue.d.ts +22 -0
  670. package/dist/components/switch/switch-control.js +1 -1
  671. package/dist/components/switch/switch-control.vue.d.ts +2 -2
  672. package/dist/components/switch/switch-root.js +1 -1
  673. package/dist/components/switch/switch-root.vue.d.ts +1 -1
  674. package/dist/components/switch/switch-thumb.js +1 -1
  675. package/dist/components/switch/types.d.ts +54 -7
  676. package/dist/components/table/hooks.js +1 -1
  677. package/dist/components/table/shared.js +1 -1
  678. package/dist/components/table/table-body.js +1 -1
  679. package/dist/components/table/table-cell.js +1 -1
  680. package/dist/components/table/table-compact.js +1 -1
  681. package/dist/components/table/table-content.js +1 -1
  682. package/dist/components/table/table-footer.js +1 -1
  683. package/dist/components/table/table-head.js +1 -1
  684. package/dist/components/table/table-header.js +1 -1
  685. package/dist/components/table/table-root.js +1 -1
  686. package/dist/components/table/table-row.js +1 -1
  687. package/dist/components/table/table-scroll.js +1 -1
  688. package/dist/components/table/table-virtual-spacer-row.js +1 -1
  689. package/dist/components/table/types.d.ts +15 -11
  690. package/dist/components/tabs/context.js +1 -1
  691. package/dist/components/tabs/tabs-compact.vue.d.ts +2 -2
  692. package/dist/components/tabs/tabs-content.js +1 -1
  693. package/dist/components/tabs/tabs-indicator.js +1 -1
  694. package/dist/components/tabs/tabs-list.js +1 -1
  695. package/dist/components/tabs/tabs-root.js +1 -1
  696. package/dist/components/tabs/tabs-root.vue.d.ts +5 -5
  697. package/dist/components/tabs/tabs-trigger.js +1 -1
  698. package/dist/components/tabs/types.d.ts +8 -7
  699. package/dist/components/tag/tag.js +1 -1
  700. package/dist/components/tag/types.d.ts +2 -3
  701. package/dist/components/tags-input/index.d.ts +8 -7
  702. package/dist/components/tags-input/index.js +1 -1
  703. package/dist/components/tags-input/tags-input-clear.js +1 -1
  704. package/dist/components/tags-input/tags-input-clear.vue.d.ts +1 -4
  705. package/dist/components/tags-input/tags-input-compact.js +1 -0
  706. package/dist/components/tags-input/tags-input-compact.vue.d.ts +25 -0
  707. package/dist/components/tags-input/tags-input-control.js +1 -0
  708. package/dist/components/tags-input/tags-input-control.vue.d.ts +8 -0
  709. package/dist/components/tags-input/tags-input-item-delete.js +1 -1
  710. package/dist/components/tags-input/tags-input-item-delete.vue.d.ts +1 -4
  711. package/dist/components/tags-input/tags-input-item-text.js +1 -1
  712. package/dist/components/tags-input/tags-input-item-text.vue.d.ts +3 -6
  713. package/dist/components/tags-input/tags-input-item.js +1 -1
  714. package/dist/components/tags-input/tags-input-item.vue.d.ts +14 -14
  715. package/dist/components/tags-input/tags-input-root.js +1 -1
  716. package/dist/components/tags-input/tags-input-root.vue.d.ts +29 -21
  717. package/dist/components/tags-input/types.d.ts +75 -63
  718. package/dist/components/textarea/index.d.ts +7 -5
  719. package/dist/components/textarea/index.js +1 -1
  720. package/dist/components/textarea/textarea-clear.js +1 -0
  721. package/dist/components/textarea/textarea-clear.vue.d.ts +22 -0
  722. package/dist/components/textarea/textarea-compact.js +1 -0
  723. package/dist/components/textarea/textarea-compact.vue.d.ts +21 -0
  724. package/dist/components/textarea/textarea-control.js +1 -1
  725. package/dist/components/textarea/textarea-counter.js +1 -1
  726. package/dist/components/textarea/textarea-root.js +1 -1
  727. package/dist/components/textarea/textarea-root.vue.d.ts +3 -1
  728. package/dist/components/textarea/types.d.ts +96 -6
  729. package/dist/components/time-field/index.d.ts +6 -4
  730. package/dist/components/time-field/index.js +1 -1
  731. package/dist/components/time-field/time-field-compact.js +1 -0
  732. package/dist/components/time-field/time-field-compact.vue.d.ts +15 -0
  733. package/dist/components/time-field/time-field-input.js +1 -1
  734. package/dist/components/time-field/time-field-input.vue.d.ts +2 -2
  735. package/dist/components/time-field/time-field-root.js +1 -1
  736. package/dist/components/time-field/time-field-root.vue.d.ts +5 -15
  737. package/dist/components/time-field/types.d.ts +33 -132
  738. package/dist/components/time-range-field/index.d.ts +2 -2
  739. package/dist/components/time-range-field/time-range-field-compact.js +1 -1
  740. package/dist/components/time-range-field/time-range-field-compact.vue.d.ts +1 -2
  741. package/dist/components/time-range-field/time-range-field-input.js +1 -1
  742. package/dist/components/time-range-field/time-range-field-root.js +1 -1
  743. package/dist/components/time-range-field/time-range-field-root.vue.d.ts +5 -19
  744. package/dist/components/time-range-field/types.d.ts +36 -184
  745. package/dist/components/toast/state.js +1 -1
  746. package/dist/components/toast/toast-provider.js +1 -1
  747. package/dist/components/toast/toast.js +1 -1
  748. package/dist/components/toast/toaster.js +1 -1
  749. package/dist/components/toast/toaster.vue.d.ts +2 -2
  750. package/dist/components/toast/types.d.ts +3 -2
  751. package/dist/components/toggle/toggle.js +1 -1
  752. package/dist/components/toggle/toggle.vue.d.ts +1 -4
  753. package/dist/components/toggle/types.d.ts +2 -7
  754. package/dist/components/toggle-group/context.js +1 -1
  755. package/dist/components/toggle-group/toggle-group-item.js +1 -1
  756. package/dist/components/toggle-group/toggle-group-root.js +1 -1
  757. package/dist/components/toggle-group/types.d.ts +3 -5
  758. package/dist/components/toolbar/context.js +1 -1
  759. package/dist/components/toolbar/toolbar-button.js +1 -1
  760. package/dist/components/toolbar/toolbar-link.js +1 -1
  761. package/dist/components/toolbar/toolbar-link.vue.d.ts +1 -2
  762. package/dist/components/toolbar/toolbar-root.js +1 -1
  763. package/dist/components/toolbar/toolbar-separator.js +1 -1
  764. package/dist/components/toolbar/toolbar-toggle-group.js +1 -1
  765. package/dist/components/toolbar/toolbar-toggle-item.js +1 -1
  766. package/dist/components/toolbar/types.d.ts +11 -6
  767. package/dist/components/tooltip/index.d.ts +8 -7
  768. package/dist/components/tooltip/index.js +1 -1
  769. package/dist/components/tooltip/tooltip-compact.js +1 -0
  770. package/dist/components/tooltip/tooltip-compact.vue.d.ts +28 -0
  771. package/dist/components/tooltip/tooltip-popup.js +1 -1
  772. package/dist/components/tooltip/tooltip-positioner-impl.js +1 -1
  773. package/dist/components/tooltip/tooltip-positioner.js +1 -1
  774. package/dist/components/tooltip/tooltip-positioner.vue.d.ts +1 -0
  775. package/dist/components/tooltip/tooltip-root.js +1 -1
  776. package/dist/components/tooltip/tooltip-root.vue.d.ts +2 -2
  777. package/dist/components/tooltip/tooltip-trigger.js +1 -1
  778. package/dist/components/tooltip/types.d.ts +58 -2
  779. package/dist/components/tree/context.js +1 -1
  780. package/dist/components/tree/tree-item.js +1 -1
  781. package/dist/components/tree/tree-root.js +1 -1
  782. package/dist/components/tree/tree-root.vue.d.ts +1 -1
  783. package/dist/components/tree/tree-virtualizer-item.js +1 -1
  784. package/dist/components/tree/tree-virtualizer-root.js +1 -1
  785. package/dist/components/tree/types.d.ts +5 -5
  786. package/dist/components/tree-menu/index.d.ts +12 -8
  787. package/dist/components/tree-menu/index.js +1 -1
  788. package/dist/components/tree-menu/shared.js +1 -0
  789. package/dist/components/tree-menu/tree-menu-button.js +1 -1
  790. package/dist/components/tree-menu/tree-menu-button.vue.d.ts +1 -4
  791. package/dist/components/tree-menu/tree-menu-collapsible.js +1 -1
  792. package/dist/components/tree-menu/tree-menu-compact.js +1 -0
  793. package/dist/components/tree-menu/tree-menu-compact.vue.d.ts +24 -0
  794. package/dist/components/tree-menu/tree-menu-group-label.js +1 -1
  795. package/dist/components/tree-menu/tree-menu-group-root.js +1 -1
  796. package/dist/components/tree-menu/tree-menu-group.js +1 -1
  797. package/dist/components/tree-menu/tree-menu-item.js +1 -1
  798. package/dist/components/tree-menu/tree-menu-option-compact.js +1 -0
  799. package/dist/components/tree-menu/tree-menu-option-compact.vue.d.ts +33 -0
  800. package/dist/components/tree-menu/tree-menu-options-compact.js +1 -0
  801. package/dist/components/tree-menu/tree-menu-options-compact.vue.d.ts +34 -0
  802. package/dist/components/tree-menu/tree-menu-root.js +1 -1
  803. package/dist/components/tree-menu/tree-menu-root.vue.d.ts +3 -0
  804. package/dist/components/tree-menu/tree-menu-slot-compact.js +1 -0
  805. package/dist/components/tree-menu/tree-menu-slot-compact.vue.d.ts +28 -0
  806. package/dist/components/tree-menu/tree-menu-sub.js +1 -1
  807. package/dist/components/tree-menu/types.d.ts +241 -12
  808. package/dist/components/virtualizer/types.d.ts +7 -6
  809. package/dist/components/virtualizer/virtualizer-content.js +1 -1
  810. package/dist/components/virtualizer/virtualizer-item.js +1 -1
  811. package/dist/components/virtualizer/virtualizer-root.js +1 -1
  812. package/dist/components/visually-hidden/types.d.ts +2 -3
  813. package/dist/components/visually-hidden/visually-hidden-input-bubble.js +1 -1
  814. package/dist/components/visually-hidden/visually-hidden-input.js +1 -1
  815. package/dist/components/visually-hidden/visually-hidden.js +1 -1
  816. package/dist/composables/index.d.ts +2 -1
  817. package/dist/composables/index.js +1 -1
  818. package/dist/composables/use-bool-prop.d.ts +12 -0
  819. package/dist/composables/use-bool-prop.js +1 -0
  820. package/dist/composables/use-collection.d.ts +0 -3
  821. package/dist/composables/use-collection.js +1 -1
  822. package/dist/composables/use-controllable-state.d.ts +10 -1
  823. package/dist/composables/use-controllable-state.js +1 -1
  824. package/dist/composables/use-selection.js +1 -1
  825. package/dist/constants/components.d.ts +3 -7
  826. package/dist/constants/components.js +1 -1
  827. package/dist/date/calendar.d.ts +22 -24
  828. package/dist/date/calendar.js +1 -1
  829. package/dist/date/comparators.d.ts +29 -30
  830. package/dist/date/formatter.d.ts +1 -1
  831. package/dist/date/index.d.ts +8 -8
  832. package/dist/date/index.js +1 -1
  833. package/dist/date/parser.d.ts +14 -13
  834. package/dist/date/parser.js +1 -1
  835. package/dist/date/parts.d.ts +6 -6
  836. package/dist/date/placeholders.d.ts +2 -21
  837. package/dist/date/placeholders.js +1 -1
  838. package/dist/date/types.d.ts +12 -11
  839. package/dist/date/use-date-field.d.ts +6 -8
  840. package/dist/date/use-date-field.js +1 -1
  841. package/dist/date/utils.d.ts +3 -7
  842. package/dist/date/utils.js +1 -1
  843. package/dist/index.d.ts +427 -417
  844. package/dist/index.js +1 -1
  845. package/dist/locale/hooks.d.ts +14 -0
  846. package/dist/locale/hooks.js +1 -0
  847. package/dist/locale/index.d.ts +5 -0
  848. package/dist/locale/index.js +1 -0
  849. package/dist/locale/langs/en.d.ts +6 -0
  850. package/dist/locale/langs/en.js +1 -0
  851. package/dist/locale/langs/zh-CN.d.ts +6 -0
  852. package/dist/locale/langs/zh-CN.js +1 -0
  853. package/dist/locale/locales.d.ts +23 -0
  854. package/dist/locale/locales.js +1 -0
  855. package/dist/locale/types.d.ts +234 -0
  856. package/dist/namespaced/index.d.ts +982 -963
  857. package/dist/namespaced/index.js +1 -1
  858. package/dist/shared/color.d.ts +3 -13
  859. package/dist/shared/color.js +1 -1
  860. package/dist/shared/index.d.ts +4 -4
  861. package/dist/shared/index.js +1 -1
  862. package/dist/shared/object.d.ts +2 -1
  863. package/dist/shared/object.js +1 -1
  864. package/dist/shared/string.d.ts +6 -1
  865. package/dist/shared/string.js +1 -1
  866. package/dist/shared/time-picker.d.ts +1 -2
  867. package/dist/shared/vue.js +1 -1
  868. package/dist/types/color.d.ts +16 -0
  869. package/dist/types/common.d.ts +2 -1
  870. package/dist/types/index.d.ts +4 -3
  871. package/dist/types/vue.d.ts +4 -2
  872. package/package.json +17 -7
  873. package/dist/components/_icon/icon.vue.d.ts +0 -8
  874. package/dist/components/_icon/index.d.ts +0 -3
  875. package/dist/components/_icon/index.js +0 -1
  876. package/dist/components/calendar/use-calendar.d.ts +0 -45
  877. package/dist/components/color-swatch/color-swatch.js +0 -1
  878. package/dist/components/color-swatch/color-swatch.vue.d.ts +0 -26
  879. package/dist/components/date-picker/date-picker-content.js +0 -1
  880. package/dist/components/date-picker/date-picker-root.js +0 -1
  881. package/dist/components/date-picker/date-picker-root.vue.d.ts +0 -38
  882. package/dist/components/date-range-picker/date-range-picker-popup.js +0 -1
  883. package/dist/components/date-range-picker/date-range-picker-popup.vue.d.ts +0 -21
  884. package/dist/components/date-range-picker/date-range-picker-root.js +0 -1
  885. package/dist/components/date-range-picker/date-range-picker-root.vue.d.ts +0 -50
  886. package/dist/components/date-range-picker/date-range-picker-trigger.js +0 -1
  887. package/dist/components/date-range-picker/date-range-picker-trigger.vue.d.ts +0 -21
  888. package/dist/components/month-picker/context.d.ts +0 -9
  889. package/dist/components/month-picker/context.js +0 -1
  890. package/dist/components/month-picker/index.d.ts +0 -6
  891. package/dist/components/month-picker/index.js +0 -1
  892. package/dist/components/month-picker/month-picker-popup.js +0 -1
  893. package/dist/components/month-picker/month-picker-popup.vue.d.ts +0 -36
  894. package/dist/components/month-picker/month-picker-root.js +0 -1
  895. package/dist/components/month-picker/month-picker-root.vue.d.ts +0 -39
  896. package/dist/components/month-picker/month-picker-trigger.js +0 -1
  897. package/dist/components/month-picker/month-picker-trigger.vue.d.ts +0 -21
  898. package/dist/components/month-picker/types.d.ts +0 -202
  899. package/dist/components/month-range-picker/context.d.ts +0 -9
  900. package/dist/components/month-range-picker/context.js +0 -1
  901. package/dist/components/month-range-picker/index.d.ts +0 -6
  902. package/dist/components/month-range-picker/index.js +0 -1
  903. package/dist/components/month-range-picker/month-range-picker-popup.js +0 -1
  904. package/dist/components/month-range-picker/month-range-picker-popup.vue.d.ts +0 -39
  905. package/dist/components/month-range-picker/month-range-picker-root.js +0 -1
  906. package/dist/components/month-range-picker/month-range-picker-root.vue.d.ts +0 -43
  907. package/dist/components/month-range-picker/month-range-picker-trigger.js +0 -1
  908. package/dist/components/month-range-picker/month-range-picker-trigger.vue.d.ts +0 -21
  909. package/dist/components/month-range-picker/types.d.ts +0 -234
  910. package/dist/components/progress/progress-circle.js +0 -1
  911. package/dist/components/range-calendar/context.d.ts +0 -9
  912. package/dist/components/range-calendar/context.js +0 -1
  913. package/dist/components/range-calendar/index.d.ts +0 -16
  914. package/dist/components/range-calendar/index.js +0 -1
  915. package/dist/components/range-calendar/range-calendar-cell-trigger.js +0 -1
  916. package/dist/components/range-calendar/range-calendar-cell-trigger.vue.d.ts +0 -33
  917. package/dist/components/range-calendar/range-calendar-cell.js +0 -1
  918. package/dist/components/range-calendar/range-calendar-compact.js +0 -1
  919. package/dist/components/range-calendar/range-calendar-grid-body.js +0 -1
  920. package/dist/components/range-calendar/range-calendar-grid-head.js +0 -1
  921. package/dist/components/range-calendar/range-calendar-grid-row.js +0 -1
  922. package/dist/components/range-calendar/range-calendar-grid.js +0 -1
  923. package/dist/components/range-calendar/range-calendar-head-cell.js +0 -1
  924. package/dist/components/range-calendar/range-calendar-header.js +0 -1
  925. package/dist/components/range-calendar/range-calendar-header.vue.d.ts +0 -21
  926. package/dist/components/range-calendar/range-calendar-heading.js +0 -1
  927. package/dist/components/range-calendar/range-calendar-heading.vue.d.ts +0 -22
  928. package/dist/components/range-calendar/range-calendar-next.js +0 -1
  929. package/dist/components/range-calendar/range-calendar-next.vue.d.ts +0 -24
  930. package/dist/components/range-calendar/range-calendar-prev.js +0 -1
  931. package/dist/components/range-calendar/range-calendar-prev.vue.d.ts +0 -24
  932. package/dist/components/range-calendar/range-calendar-root.js +0 -1
  933. package/dist/components/range-calendar/types.d.ts +0 -488
  934. package/dist/components/tags-input/tags-input-input.js +0 -1
  935. package/dist/components/tags-input/tags-input-input.vue.d.ts +0 -21
  936. package/dist/components/time-picker/context.d.ts +0 -9
  937. package/dist/components/time-picker/context.js +0 -1
  938. package/dist/components/time-picker/index.d.ts +0 -6
  939. package/dist/components/time-picker/index.js +0 -1
  940. package/dist/components/time-picker/time-picker-popup.js +0 -1
  941. package/dist/components/time-picker/time-picker-popup.vue.d.ts +0 -27
  942. package/dist/components/time-picker/time-picker-root.js +0 -1
  943. package/dist/components/time-picker/time-picker-root.vue.d.ts +0 -45
  944. package/dist/components/time-picker/time-picker-trigger.js +0 -1
  945. package/dist/components/time-picker/time-picker-trigger.vue.d.ts +0 -21
  946. package/dist/components/time-picker/types.d.ts +0 -224
  947. package/dist/components/time-range-picker/context.d.ts +0 -9
  948. package/dist/components/time-range-picker/context.js +0 -1
  949. package/dist/components/time-range-picker/index.d.ts +0 -7
  950. package/dist/components/time-range-picker/index.js +0 -1
  951. package/dist/components/time-range-picker/time-range-picker-compact.js +0 -1
  952. package/dist/components/time-range-picker/time-range-picker-compact.vue.d.ts +0 -31
  953. package/dist/components/time-range-picker/time-range-picker-popup.js +0 -1
  954. package/dist/components/time-range-picker/time-range-picker-popup.vue.d.ts +0 -30
  955. package/dist/components/time-range-picker/time-range-picker-root.js +0 -1
  956. package/dist/components/time-range-picker/time-range-picker-root.vue.d.ts +0 -50
  957. package/dist/components/time-range-picker/time-range-picker-trigger.js +0 -1
  958. package/dist/components/time-range-picker/time-range-picker-trigger.vue.d.ts +0 -21
  959. package/dist/components/time-range-picker/types.d.ts +0 -304
  960. package/dist/components/year-picker/context.d.ts +0 -9
  961. package/dist/components/year-picker/context.js +0 -1
  962. package/dist/components/year-picker/index.d.ts +0 -6
  963. package/dist/components/year-picker/index.js +0 -1
  964. package/dist/components/year-picker/types.d.ts +0 -207
  965. package/dist/components/year-picker/year-picker-popup.js +0 -1
  966. package/dist/components/year-picker/year-picker-popup.vue.d.ts +0 -36
  967. package/dist/components/year-picker/year-picker-root.js +0 -1
  968. package/dist/components/year-picker/year-picker-root.vue.d.ts +0 -39
  969. package/dist/components/year-picker/year-picker-trigger.js +0 -1
  970. package/dist/components/year-picker/year-picker-trigger.vue.d.ts +0 -21
  971. package/dist/components/year-range-picker/context.d.ts +0 -9
  972. package/dist/components/year-range-picker/context.js +0 -1
  973. package/dist/components/year-range-picker/index.d.ts +0 -6
  974. package/dist/components/year-range-picker/index.js +0 -1
  975. package/dist/components/year-range-picker/types.d.ts +0 -239
  976. package/dist/components/year-range-picker/year-range-picker-popup.js +0 -1
  977. package/dist/components/year-range-picker/year-range-picker-popup.vue.d.ts +0 -39
  978. package/dist/components/year-range-picker/year-range-picker-root.js +0 -1
  979. package/dist/components/year-range-picker/year-range-picker-root.vue.d.ts +0 -43
  980. package/dist/components/year-range-picker/year-range-picker-trigger.js +0 -1
  981. package/dist/components/year-range-picker/year-range-picker-trigger.vue.d.ts +0 -21
  982. /package/dist/_virtual/{_@oxc-project_runtime@0.127.0 → _@oxc-project_runtime@0.129.0}/helpers/defineProperty.js +0 -0
  983. /package/dist/_virtual/{_@oxc-project_runtime@0.127.0 → _@oxc-project_runtime@0.129.0}/helpers/toPrimitive.js +0 -0
  984. /package/dist/_virtual/{_@oxc-project_runtime@0.127.0 → _@oxc-project_runtime@0.129.0}/helpers/toPropertyKey.js +0 -0
  985. /package/dist/_virtual/{_@oxc-project_runtime@0.127.0 → _@oxc-project_runtime@0.129.0}/helpers/typeof.js +0 -0
@@ -1,4 +1,3 @@
1
- import { AsTag } from "../primitive/types.js";
2
1
  import { ComboboxEmptyProps } from "./types.js";
3
2
  import * as _$vue from "vue";
4
3
 
@@ -7,9 +6,7 @@ declare var __VLS_8: {};
7
6
  type __VLS_Slots = {} & {
8
7
  default?: (props: typeof __VLS_8) => any;
9
8
  };
10
- declare const __VLS_base: _$vue.DefineComponent<ComboboxEmptyProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ComboboxEmptyProps> & Readonly<{}>, {
11
- as: AsTag | _$vue.Component;
12
- }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
9
+ declare const __VLS_base: _$vue.DefineComponent<ComboboxEmptyProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ComboboxEmptyProps> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
13
10
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
14
11
  declare const _default: typeof __VLS_export;
15
12
  type __VLS_WithSlots<T, S> = T & {
@@ -1 +1 @@
1
- import{provideListboxGroupContext as e,useListboxUi as t}from"../listbox/context.js";import{useComboboxRootContext as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,onMounted as s,onUnmounted as c,openBlock as l,renderSlot as u,unref as d}from"vue";const f=[`aria-labelledby`,`hidden`],p=a({name:`ComboboxGroup`,__name:`combobox-group`,setup(a){let{id:p}=e(),{filterSearch:m,ignoreFilter:h,filterState:g,allGroups:_}=n(`ComboboxGroup`),v=t(`group`),y=r(()=>!m.value||h.value?!0:g.value.groups.has(p));return s(()=>{if(!_.value.has(p)){let e=new Map(_.value);e.set(p,new Set),_.value=e}}),c(()=>{let e=new Map(_.value);e.delete(p),_.value=e}),(e,t)=>(l(),i(`div`,{"aria-labelledby":d(p),role:`group`,class:o(d(v)),hidden:y.value?void 0:!0,"data-slot":`group`},[u(e.$slots,`default`)],10,f))}});export{p as default};
1
+ import{provideListboxGroupContext as e,useListboxUi as t}from"../listbox/context.js";import{useComboboxRootContext as n}from"./context.js";import{computed as r,createElementBlock as i,defineComponent as a,normalizeClass as o,onMounted as s,onUnmounted as c,openBlock as l,renderSlot as u,unref as d}from"vue";const f=[`aria-labelledby`,`hidden`],p=a({name:`ComboboxGroup`,__name:`combobox-group`,setup(a){let{id:p}=e(),{filterSearch:m,ignoreFilter:h,filterState:g,allGroups:_}=n(`ComboboxGroup`),v=t(`group`),y=r(()=>!m.value||h.value?!0:g.value.groups.has(p));return s(()=>{if(!_.value.has(p)){let e=new Map(_.value);e.set(p,new Set),_.value=e}}),c(()=>{let e=new Map(_.value);e.delete(p),_.value=e}),(e,t)=>(l(),i(`div`,{"aria-labelledby":d(p),role:`group`,"data-soybean-combobox-group":``,class:o(d(v)),hidden:y.value?void 0:!0},[u(e.$slots,`default`)],10,f))}});export{p as default};
@@ -1 +1 @@
1
- import{useControllableState as e}from"../../composables/use-controllable-state.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxRootContext as n}from"../listbox/context.js";import{useComboboxRootContext as r}from"./context.js";import i from"../listbox/listbox-filter.js";import"../listbox/index.js";import{computed as a,createBlock as o,defineComponent as s,guardReactiveProps as c,isRef as l,mergeProps as u,nextTick as d,normalizeProps as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,watch as _,withCtx as v}from"vue";const y=s({name:`ComboboxInput`,__name:`combobox-input`,props:{displayValue:{type:Function},inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(s,{emit:y}){let b=s,x=y,{modelValue:S,open:C,openOnFocus:w,openOnClick:T,isUserInputted:E,isMultiple:D,resetSearchTermOnSelect:O,parentElement:k,contentId:A,filterSearch:j,filterState:M,isVirtual:N,onInputElementChange:P,onOpenChange:F,onResetSearchTerm:I}=r(`ComboboxInput`),{highlightFirstItem:L}=n(`ComboboxInput`),R=t(b,[`displayValue`]),z=e(()=>b.modelValue,e=>{x(`update:modelValue`,e??``)},b.defaultValue??``),B=e=>{b.inputRef?.(e),P(e)},V=e=>{![`ArrowDown`,`ArrowUp`].includes(e.key)||C.value||F(!0)},H=e=>{let t=e.target;if(E.value=!0,!C.value){F(!0),d(()=>{t.value&&(j.value=t.value,L())});return}j.value=t.value},U=()=>{w.value&&!C.value&&F(!0)},W=e=>{if(!C.value)return;let t=e.relatedTarget;if(!t)return;let n=k.value?.contains(t),r=document.getElementById(A.value)?.contains(t);!n&&!r&&F(!1)},G=()=>{T.value&&!C.value&&F(!0)},K=()=>{let e=S.value;if(b.displayValue){z.value=b.displayValue(e);return}if(!D.value&&typeof e==`string`){z.value=e;return}z.value=``};I(()=>{K()});let q=a(()=>u({...b.controlProps},{"data-slot":`input-control`,role:`combobox`,"aria-autocomplete":`list`,autocomplete:`off`,"aria-controls":A.value||void 0,"aria-expanded":C.value??!1,onBlur:W,onClick:G,onFocus:U,onInput:H,onKeydown:V}));return _(S,()=>{!E.value&&O.value&&K()},{immediate:!0,deep:!0}),_(M,(e,t)=>{!N.value&&t?.count===0&&L()}),p(()=>{K()}),(e,t)=>(m(),o(g(i),u(g(R),{modelValue:g(z),"onUpdate:modelValue":t[0]||(t[0]=e=>l(z)?z.value=e:null),"data-slot":`input-root`,"control-props":q.value,"input-ref":B}),{leading:v(t=>[h(e.$slots,`leading`,f(c(t)))]),trailing:v(t=>[h(e.$slots,`trailing`,f(c(t)))]),_:3},16,[`modelValue`,`control-props`]))}});export{y as default};
1
+ import{useControllableState as e}from"../../composables/use-controllable-state.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxRootContext as n}from"../listbox/context.js";import{useComboboxRootContext as r}from"./context.js";import i from"../listbox/listbox-filter.js";import"../listbox/index.js";import{computed as a,createBlock as o,defineComponent as s,guardReactiveProps as c,isRef as l,mergeProps as u,nextTick as d,normalizeProps as f,onMounted as p,openBlock as m,renderSlot as h,unref as g,watch as _,withCtx as v}from"vue";const y=s({name:`ComboboxInput`,__name:`combobox-input`,props:{displayValue:{type:Function},inputRef:{type:Function},controlProps:{},defaultValue:{},modelValue:{},id:{},autofocus:{type:Boolean},disabled:{type:Boolean},maxlength:{},minlength:{},pattern:{},placeholder:{},readonly:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`],setup(s,{emit:y}){let b=s,x=y,{modelValue:S,open:C,openOnFocus:w,openOnClick:T,isUserInputted:E,isMultiple:D,resetSearchTermOnSelect:O,parentElement:k,contentId:A,filterSearch:j,filterState:M,isVirtual:N,onInputElementChange:P,onOpenChange:F,onResetSearchTerm:I}=r(`ComboboxInput`),{highlightFirstItem:L}=n(`ComboboxInput`),R=t(b,[`displayValue`]),z=e(()=>b.modelValue,e=>{x(`update:modelValue`,e)},b.defaultValue??``),B=e=>{b.inputRef?.(e),P(e)},V=e=>{![`ArrowDown`,`ArrowUp`].includes(e.key)||C.value||F(!0)},H=e=>{let t=e.target;if(E.value=!0,!C.value){F(!0),d(()=>{t.value&&(j.value=t.value,L())});return}j.value=t.value},U=()=>{w.value&&!C.value&&F(!0)},W=e=>{if(!C.value)return;let t=e.relatedTarget;if(!t)return;let n=k.value?.contains(t),r=document.getElementById(A.value)?.contains(t);!n&&!r&&F(!1)},G=()=>{T.value&&!C.value&&F(!0)},K=()=>{let e=S.value;if(b.displayValue){z.value=b.displayValue(e);return}if(!D.value&&typeof e==`string`){z.value=e;return}z.value=``};I(()=>{K()});let q=a(()=>u({...b.controlProps},{"data-soybean-combobox-input-control":``,role:`combobox`,"aria-autocomplete":`list`,autocomplete:`off`,"aria-controls":A.value||void 0,"aria-expanded":C.value??!1,onBlur:W,onClick:G,onFocus:U,onInput:H,onKeydown:V}));return _(S,()=>{!E.value&&O.value&&K()},{immediate:!0,deep:!0}),_(M,(e,t)=>{!N.value&&t?.count===0&&L()}),p(()=>{K()}),(e,t)=>(m(),o(g(i),u(g(R),{modelValue:g(z),"onUpdate:modelValue":t[0]||(t[0]=e=>l(z)?z.value=e:null),"data-soybean-combobox-input-root":``,"control-props":q.value,"input-ref":B}),{leading:v(t=>[h(e.$slots,`leading`,f(c(t)))]),trailing:v(t=>[h(e.$slots,`trailing`,f(c(t)))]),_:3},16,[`modelValue`,`control-props`]))}});export{y as default};
@@ -1 +1 @@
1
- import{useExposedElement as e}from"../../composables/use-exposed-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxGroupContext as n,useListboxRootContext as r}from"../listbox/context.js";import{useComboboxRootContext as i}from"./context.js";import a from"../listbox/listbox-item.js";import"../listbox/index.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,mergeProps as u,onMounted as d,onUnmounted as f,openBlock as p,renderSlot as m,unref as h,useId as g,withCtx as _}from"vue";const v=l({name:`ComboboxItem`,__name:`combobox-item`,props:{textValue:{},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`select`],setup(l,{emit:v}){let y=l,b=v,x=t(y,[`textValue`]),{isMultiple:S}=r(`ComboboxItem`),{disabled:C,isVirtual:w,ignoreFilter:T,filterSearch:E,filterState:D,allItems:O,allGroups:k,inputElement:A,resetSearchTermOnSelect:j,onOpenChange:M}=i(`ComboboxItem`),N=n(),P=`soybean-combobox-item-${g()}`,[F,I]=e();if(y.value===``)throw Error(`A <ComboboxItem /> must have a value prop that is not an empty string.`);let L=o(()=>y.textValue??F.value?.textContent?.trim()??y.value),R=o(()=>C.value??y.disabled),z=o(()=>{if(w.value||T.value||!E.value)return!0;let e=D.value.items.get(P);return e===void 0?!0:e>0}),B=()=>{let e=N?.id;if(!e)return;let t=k.value.get(e);if(!t)return;let n=new Set(t);n.delete(P);let r=new Map(k.value);n.size?r.set(e,n):r.delete(e),k.value=r},V=e=>{if(b(`select`,e),!e.defaultPrevented){if(j.value&&(E.value=``),S.value){A.value?.focus();return}M(!1)}};return d(()=>{let e=new Map(O.value);e.set(P,L.value),O.value=e;let t=N?.id;if(t){let e=k.value.get(t)??new Set,n=new Set(e),r=new Map(k.value);n.add(P),r.set(t,n),k.value=r}}),f(()=>{let e=new Map(O.value);e.delete(P),O.value=e,B()}),(e,t)=>z.value?(p(),s(h(a),u({key:0},h(x),{ref:h(I),value:l.value,disabled:R.value,"data-slot":`item`,onSelect:V}),{default:_(()=>[m(e.$slots,`default`)]),_:3},16,[`value`,`disabled`])):c(`v-if`,!0)}});export{v as default};
1
+ import{useExposedElement as e}from"../../composables/use-exposed-element.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import{useListboxGroupContext as n,useListboxRootContext as r}from"../listbox/context.js";import{useComboboxRootContext as i}from"./context.js";import a from"../listbox/listbox-item.js";import"../listbox/index.js";import{computed as o,createBlock as s,createCommentVNode as c,defineComponent as l,mergeProps as u,onMounted as d,onUnmounted as f,openBlock as p,renderSlot as m,unref as h,useId as g,withCtx as _}from"vue";const v=l({name:`ComboboxItem`,__name:`combobox-item`,props:{textValue:{},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},emits:[`select`],setup(l,{emit:v}){let y=l,b=v,x=t(y,[`textValue`]),{isMultiple:S}=r(`ComboboxItem`),{disabled:C,isVirtual:w,ignoreFilter:T,filterSearch:E,filterState:D,allItems:O,allGroups:k,inputElement:A,resetSearchTermOnSelect:j,onOpenChange:M}=i(`ComboboxItem`),N=n(),P=`soybean-combobox-item-${g()}`,[F,I]=e();if(y.value===``)throw Error(`A <ComboboxItem /> must have a value prop that is not an empty string.`);let L=o(()=>y.textValue??F.value?.textContent?.trim()??y.value),R=o(()=>C.value??y.disabled),z=o(()=>{if(w.value||T.value||!E.value)return!0;let e=D.value.items.get(P);return e===void 0?!0:e>0}),B=()=>{let e=N?.id;if(!e)return;let t=k.value.get(e);if(!t)return;let n=new Set(t);n.delete(P);let r=new Map(k.value);n.size?r.set(e,n):r.delete(e),k.value=r},V=e=>{if(b(`select`,e),!e.defaultPrevented){if(j.value&&(E.value=``),S.value){A.value?.focus();return}M(!1)}};return d(()=>{let e=new Map(O.value);e.set(P,L.value),O.value=e;let t=N?.id;if(t){let e=k.value.get(t)??new Set,n=new Set(e),r=new Map(k.value);n.add(P),r.set(t,n),k.value=r}}),f(()=>{let e=new Map(O.value);e.delete(P),O.value=e,B()}),(e,t)=>z.value?(p(),s(h(a),u({key:0,ref:h(I)},h(x),{"data-soybean-combobox-item":``,value:l.value,disabled:R.value,onSelect:V}),{default:_(()=>[m(e.$slots,`default`)]),_:3},16,[`value`,`disabled`])):c(`v-if`,!0)}});export{v as default};
@@ -1 +1 @@
1
- import{getElFromTemplateRef as e,transformPropsToContext as t}from"../../shared/vue.js";import"../../shared/index.js";import{useControllableState as n}from"../../composables/use-controllable-state.js";import{useOmitProps as r}from"../../composables/use-props.js";import{useSelection as i}from"../../composables/use-selection.js";import"../../composables/index.js";import{provideComboboxRootContext as a}from"./context.js";import o from"../popper/popper-root.js";import"../popper/index.js";import s from"../listbox/listbox-root.js";import"../listbox/index.js";import{computed as c,createBlock as l,createVNode as u,defineComponent as d,isRef as f,mergeProps as p,nextTick as m,onUnmounted as h,openBlock as g,renderSlot as _,shallowRef as v,unref as y,useAttrs as b,useId as x,useTemplateRef as S,withCtx as C}from"vue";import{createEventHook as w}from"@vueuse/core";const T=d({name:`ComboboxRoot`,inheritAttrs:!1,__name:`combobox-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!1},openOnClick:{type:Boolean,default:!1},ignoreFilter:{type:Boolean},resetModelValueOnClear:{type:Boolean,default:!1},dir:{},disabled:{type:Boolean},highlightOnHover:{type:Boolean,default:!0},modelValue:{default:void 0},defaultValue:{},multiple:{},clearable:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`update:open`],setup(d,{expose:T,emit:E}){let D=d,O=E,k=r(D,[`modelValue`,`defaultValue`,`open`,`defaultOpen`,`ignoreFilter`,`resetSearchTermOnBlur`,`resetSearchTermOnSelect`,`openOnFocus`,`openOnClick`,`resetModelValueOnClear`],b()),{modelValue:A,isMultiple:j,onModelValueChange:M,resetModelValue:N}=i(D,e=>{O(`update:modelValue`,e)}),P=S(`listboxElement`),F=c(()=>e(P.value)),I=n(()=>D.open,e=>{O(`update:open`,e??!1)},D.defaultOpen??!1),L=v(!1),R=v(!1),z=v(``),B=()=>{z.value||(z.value=`soybean-combobox-content-${x()}`)},V=v(),H=v(),U=v(),W=c(()=>P.value?.highlightedElement),G=w(),K=v(``),q=v(new Map),J=v(new Map),Y,X=c(e=>{if(!K.value||D.ignoreFilter||R.value)return{count:q.value.size,items:e?.items??new Map,groups:new Set(J.value.keys())};let t=K.value.trim().toLowerCase(),n=new Map,r=new Set,i=0;for(let[e,r]of q.value){let a=+!!r.toLowerCase().includes(t);n.set(e,a),a&&(i+=1)}for(let[e,t]of J.value)for(let i of t)if((n.get(i)??0)>0){r.add(e);break}return{count:i,items:n,groups:r}}),Z=async e=>{if(Y&&(clearTimeout(Y),Y=void 0),I.value=e,K.value=``,e){await m(),await P.value?.highlightSelected?.(),L.value=!0,V.value?.focus();return}L.value=!1,Y=setTimeout(()=>{!I.value&&D.resetSearchTermOnBlur&&G.trigger(void 0)},1)};return h(()=>{Y&&clearTimeout(Y)}),a({...t(D,[`dir`,`disabled`,`ignoreFilter`,`resetSearchTermOnBlur`,`resetSearchTermOnSelect`,`openOnFocus`,`openOnClick`,`resetModelValueOnClear`]),modelValue:A,isMultiple:j,onModelValueChange:M,resetModelValue:N,open:I,onOpenChange:Z,isUserInputted:L,isVirtual:R,parentElement:F,contentId:z,initContentId:B,inputElement:V,onInputElementChange(e){V.value=e},triggerElement:H,onTriggerElementChange(e){H.value=e},popupElement:U,onPopupElementChange(e){U.value=e},highlightedElement:W,onResetSearchTerm:G.on,filterSearch:K,allItems:q,allGroups:J,filterState:X}),T({filtered:X,highlightedElement:W,highlightItem:e=>{P.value?.highlightItem(e)},highlightFirstItem:()=>{P.value?.highlightFirstItem()},highlightSelected:e=>P.value?.highlightSelected(e)}),(e,t)=>(g(),l(y(o),null,{default:C(()=>[u(y(s),p({ref_key:`listboxElement`,ref:P},y(k),{modelValue:y(A),"onUpdate:modelValue":t[0]||(t[0]=e=>f(A)?A.value=e:null),dir:d.dir,multiple:d.multiple,name:d.name,required:d.required,disabled:d.disabled,"highlight-on-hover":d.highlightOnHover,onHighlight:t[1]||(t[1]=e=>O(`highlight`,e))}),{default:C(()=>[_(e.$slots,`default`,{open:y(I),modelValue:y(A)})]),_:3},16,[`modelValue`,`dir`,`multiple`,`name`,`required`,`disabled`,`highlight-on-hover`])]),_:3}))}});export{T as default};
1
+ import{getElFromTemplateRef as e,transformPropsToContext as t}from"../../shared/vue.js";import{useDirection as n}from"../config-provider/context.js";import"../../shared/index.js";import{useControllableState as r}from"../../composables/use-controllable-state.js";import{useOmitProps as i}from"../../composables/use-props.js";import{useSelection as a}from"../../composables/use-selection.js";import"../../composables/index.js";import{provideComboboxRootContext as o}from"./context.js";import s from"../popper/popper-root.js";import"../popper/index.js";import c from"../listbox/listbox-root.js";import"../listbox/index.js";import{computed as l,createBlock as u,createVNode as d,defineComponent as f,isRef as p,mergeProps as m,nextTick as h,onUnmounted as g,openBlock as _,renderSlot as v,shallowRef as y,unref as b,useAttrs as x,useId as S,useTemplateRef as C,withCtx as w}from"vue";import{createEventHook as T}from"@vueuse/core";const E=f({name:`ComboboxRoot`,inheritAttrs:!1,__name:`combobox-root`,props:{open:{type:Boolean,default:void 0},defaultOpen:{type:Boolean},resetSearchTermOnBlur:{type:Boolean,default:!0},resetSearchTermOnSelect:{type:Boolean,default:!0},openOnFocus:{type:Boolean,default:!1},openOnClick:{type:Boolean,default:!1},ignoreFilter:{type:Boolean},resetModelValueOnClear:{type:Boolean,default:!1},dir:{},disabled:{type:Boolean},highlightOnHover:{type:Boolean,default:!0},modelValue:{default:void 0},defaultValue:{},multiple:{},clearable:{type:Boolean},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`update:open`],setup(f,{expose:E,emit:D}){let O=f,k=D,A=i(O,[`modelValue`,`defaultValue`,`open`,`defaultOpen`,`ignoreFilter`,`resetSearchTermOnBlur`,`resetSearchTermOnSelect`,`openOnFocus`,`openOnClick`,`resetModelValueOnClear`],x()),{modelValue:j,isMultiple:M,onModelValueChange:N,resetModelValue:P}=a(O,e=>{k(`update:modelValue`,e)}),F=C(`listboxElement`),I=l(()=>e(F.value)),L=r(()=>O.open,e=>{k(`update:open`,e)},O.defaultOpen??!1),R=n(()=>O.dir),z=y(!1),B=y(!1),V=y(``),H=()=>{V.value||(V.value=`soybean-combobox-content-${S()}`)},U=y(),W=y(),G=y(),K=l(()=>F.value?.highlightedElement),q=T(),J=y(``),Y=y(new Map),X=y(new Map),Z,Q=l(e=>{if(!J.value||O.ignoreFilter||B.value)return{count:Y.value.size,items:e?.items??new Map,groups:new Set(X.value.keys())};let t=J.value.trim().toLowerCase(),n=new Map,r=new Set,i=0;for(let[e,r]of Y.value){let a=+!!r.toLowerCase().includes(t);n.set(e,a),a&&(i+=1)}for(let[e,t]of X.value)for(let i of t)if((n.get(i)??0)>0){r.add(e);break}return{count:i,items:n,groups:r}}),$=async e=>{if(Z&&(clearTimeout(Z),Z=void 0),L.value=e,J.value=``,e){await h(),await F.value?.highlightSelected?.(),z.value=!0,U.value?.focus();return}z.value=!1,Z=setTimeout(()=>{!L.value&&O.resetSearchTermOnBlur&&q.trigger(void 0)},1)};return g(()=>{Z&&clearTimeout(Z)}),o({...t(O,[`disabled`,`ignoreFilter`,`resetSearchTermOnBlur`,`resetSearchTermOnSelect`,`openOnFocus`,`openOnClick`,`resetModelValueOnClear`]),dir:R,modelValue:j,isMultiple:M,onModelValueChange:N,resetModelValue:P,open:L,onOpenChange:$,isUserInputted:z,isVirtual:B,parentElement:I,contentId:V,initContentId:H,inputElement:U,onInputElementChange(e){U.value=e},triggerElement:W,onTriggerElementChange(e){W.value=e},popupElement:G,onPopupElementChange(e){G.value=e},highlightedElement:K,onResetSearchTerm:q.on,filterSearch:J,allItems:Y,allGroups:X,filterState:Q}),E({filtered:Q,highlightedElement:K,highlightItem:e=>{F.value?.highlightItem(e)},highlightFirstItem:()=>{F.value?.highlightFirstItem()},highlightSelected:e=>F.value?.highlightSelected(e)}),(e,t)=>(_(),u(b(s),null,{default:w(()=>[d(b(c),m({ref_key:`listboxElement`,ref:F},b(A),{modelValue:b(j),"onUpdate:modelValue":t[0]||(t[0]=e=>p(j)?j.value=e:null),"data-soybean-combobox-root":``,dir:b(R),multiple:f.multiple,name:f.name,required:f.required,disabled:f.disabled,"highlight-on-hover":f.highlightOnHover,onHighlight:t[1]||(t[1]=e=>k(`highlight`,e))}),{default:w(()=>[v(e.$slots,`default`,{open:b(L),modelValue:b(j)})]),_:3},16,[`modelValue`,`dir`,`multiple`,`name`,`required`,`disabled`,`highlight-on-hover`])]),_:3}))}});export{E as default};
@@ -6,8 +6,8 @@ import * as _$vue from "vue";
6
6
  //#region src/components/combobox/combobox-root.vue.d.ts
7
7
  declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
8
8
  props: _$vue.PublicProps & __VLS_PrettifyLocal<ComboboxRootProps<M> & {
9
- "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
10
9
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
10
+ "onUpdate:modelValue"?: ((value: M extends true ? string[] : string) => any) | undefined;
11
11
  onHighlight?: ((payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => any) | undefined;
12
12
  }> & (typeof globalThis extends {
13
13
  __VLS_PROPS_FALLBACK: infer P;
@@ -26,11 +26,11 @@ declare const __VLS_export: <M extends boolean = false>(__VLS_props: NonNullable
26
26
  attrs: any;
27
27
  slots: {
28
28
  default?: (props: {
29
- open: boolean | undefined;
29
+ open: boolean;
30
30
  modelValue: (M extends true ? string[] : string) | undefined;
31
31
  }) => any;
32
32
  };
33
- emit: ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void);
33
+ emit: ((evt: "update:open", value: boolean) => void) & ((evt: "update:modelValue", value: M extends true ? string[] : string) => void) & ((evt: "highlight", payload?: CollectionItemData<ListboxCollectionItemData> | undefined) => void);
34
34
  }>) => _$vue.VNode & {
35
35
  __ctx?: Awaited<typeof __VLS_setup>;
36
36
  };
@@ -1 +1 @@
1
- import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{useComboboxUi as t}from"./context.js";import{createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=r({name:`ComboboxSeparator`,__name:`combobox-separator`,props:{asChild:{type:Boolean},as:{}},setup(r){let l=r,u=t(`separator`);return(t,r)=>(a(),n(s(e),i(l,{class:s(u),role:`separator`,"aria-orientation":`horizontal`,"data-slot":`separator`}),{default:c(()=>[o(t.$slots,`default`)]),_:3},16,[`class`]))}});export{l as default};
1
+ import{Primitive as e}from"../primitive/primitive.js";import"../primitive/index.js";import{useComboboxUi as t}from"./context.js";import{createBlock as n,defineComponent as r,mergeProps as i,openBlock as a,renderSlot as o,unref as s,withCtx as c}from"vue";const l=r({name:`ComboboxSeparator`,__name:`combobox-separator`,props:{asChild:{type:Boolean},as:{}},setup(r){let l=r,u=t(`separator`);return(t,r)=>(a(),n(s(e),i(l,{"data-soybean-combobox-separator":``,class:s(u),role:`separator`,"aria-orientation":`horizontal`}),{default:c(()=>[o(t.$slots,`default`)]),_:3},16,[`class`]))}});export{l as default};
@@ -1 +1 @@
1
- import{useExposedElement as e}from"../../composables/use-exposed-element.js";import"../../composables/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{useComboboxRootContext as n,useComboboxUi as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,onMounted as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=o({name:`ComboboxTrigger`,__name:`combobox-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(o){let p=o,{open:m,disabled:h,contentId:g,initContentId:_,onOpenChange:v,onTriggerElementChange:y}=n(`ComboboxTrigger`),[b,x]=e(y),S=r(`trigger`),C=r(`triggerIcon`);c(()=>{_()});let w=i(()=>p.disabled||h.value||!1),T=i(()=>p.as===`button`?`button`:void 0),E=()=>{w.value||v(!m.value)};return(e,n)=>(l(),a(d(t),{ref:d(x),as:o.as,"as-child":o.asChild,type:T.value,class:s(d(S)),"aria-haspopup":`listbox`,"aria-expanded":d(m)||!1,"aria-controls":d(g)||void 0,"aria-disabled":w.value||void 0,"data-state":d(m)?`open`:`closed`,"data-disabled":w.value?``:void 0,disabled:w.value,tabindex:`-1`,"data-slot":`trigger`,onClick:E},{default:f(()=>[u(e.$slots,`default`,{triggerIconClass:d(C)})]),_:3},8,[`as`,`as-child`,`type`,`class`,`aria-expanded`,`aria-controls`,`aria-disabled`,`data-state`,`data-disabled`,`disabled`]))}});export{p as default};
1
+ import{useExposedElement as e}from"../../composables/use-exposed-element.js";import"../../composables/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{useComboboxRootContext as n,useComboboxUi as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,normalizeClass as s,onMounted as c,openBlock as l,renderSlot as u,unref as d,withCtx as f}from"vue";const p=o({name:`ComboboxTrigger`,__name:`combobox-trigger`,props:{disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`button`}},setup(o){let p=o,{open:m,disabled:h,contentId:g,initContentId:_,onOpenChange:v,onTriggerElementChange:y}=n(`ComboboxTrigger`),[b,x]=e(y),S=r(`trigger`),C=r(`triggerIcon`);c(()=>{_()});let w=i(()=>p.disabled||h.value||!1),T=i(()=>p.as===`button`?`button`:void 0),E=()=>{w.value||v(!m.value)};return(e,n)=>(l(),a(d(t),{ref:d(x),as:o.as,"as-child":o.asChild,"data-soybean-combobox-trigger":``,class:s(d(S)),type:T.value,"aria-haspopup":`listbox`,"aria-expanded":d(m)||!1,"aria-controls":d(g)||void 0,"aria-disabled":w.value||void 0,"data-state":d(m)?`open`:`closed`,"data-disabled":w.value?``:void 0,disabled:w.value,tabindex:`-1`,onClick:E},{default:f(()=>[u(e.$slots,`default`,{triggerIconClass:d(C)})]),_:3},8,[`as`,`as-child`,`class`,`type`,`aria-expanded`,`aria-controls`,`aria-disabled`,`data-state`,`data-disabled`,`disabled`]))}});export{p as default};
@@ -1 +1 @@
1
- import e from"../listbox/listbox-content.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,openBlock as r,renderSlot as i,unref as a,withCtx as o}from"vue";const s=n({name:`ComboboxViewport`,__name:`combobox-viewport`,props:{nonce:{}},setup(n){return(n,s)=>(r(),t(a(e),{class:`soybean-headless-scrollbar-hidden`,"data-slot":`viewport`},{default:o(()=>[i(n.$slots,`default`)]),_:3}))}});export{s as default};
1
+ import e from"../listbox/listbox-content.js";import"../listbox/index.js";import{createBlock as t,defineComponent as n,openBlock as r,renderSlot as i,unref as a,withCtx as o}from"vue";const s=n({name:`ComboboxViewport`,__name:`combobox-viewport`,props:{nonce:{}},setup(n){return(n,s)=>(r(),t(a(e),{"data-soybean-combobox-viewport":``,class:`soybean-headless-scrollbar-hidden`},{default:o(()=>[i(n.$slots,`default`)]),_:3}))}});export{s as default};
@@ -1 +1 @@
1
- import{useComboboxRootContext as e}from"./context.js";import t from"../listbox/listbox-virtualizer.js";import"../listbox/index.js";import{createBlock as n,defineComponent as r,guardReactiveProps as i,mergeProps as a,normalizeProps as o,onUnmounted as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";const f=r({name:`ComboboxVirtualizer`,__name:`combobox-virtualizer`,props:{options:{},overscan:{},estimateSize:{type:[Number,Function]},textContent:{type:Function}},setup(r){let f=r,{isVirtual:p}=e(`ComboboxVirtualizer`);return p.value=!0,s(()=>{p.value=!1}),(e,r)=>(c(),n(u(t),a(f,{"data-slot":`virtualizer`}),{default:d(t=>[l(e.$slots,`default`,o(i(t)))]),_:3},16))}});export{f as default};
1
+ import{useComboboxRootContext as e}from"./context.js";import t from"../listbox/listbox-virtualizer.js";import"../listbox/index.js";import{createBlock as n,defineComponent as r,guardReactiveProps as i,mergeProps as a,normalizeProps as o,onUnmounted as s,openBlock as c,renderSlot as l,unref as u,withCtx as d}from"vue";const f=r({name:`ComboboxVirtualizer`,__name:`combobox-virtualizer`,props:{options:{},overscan:{},estimateSize:{type:[Number,Function]},textContent:{type:Function}},setup(r){let f=r,{isVirtual:p}=e(`ComboboxVirtualizer`);return p.value=!0,s(()=>{p.value=!1}),(e,r)=>(c(),n(u(t),a(f,{"data-soybean-combobox-virtualizer":``}),{default:d(t=>[l(e.$slots,`default`,o(i(t)))]),_:3},16))}});export{f as default};
@@ -1,11 +1,12 @@
1
- import { IconValue } from "../_icon/types.js";
2
1
  import { MaybeArray, UiClass } from "../../types/common.js";
3
2
  import { DismissableLayerEmits, DismissableLayerProps, FocusScopeEmits, ForceMountProps, TrapFocusProps } from "../../types/component.js";
4
- import { PrimitiveProps } from "../primitive/types.js";
3
+ import { BaseProps } from "../../types/vue.js";
4
+ import { PrimitiveWithBaseProps } from "../primitive/types.js";
5
+ import { IconValue } from "../_icon/types.js";
5
6
  import { ListboxFilterEmits, ListboxFilterProps, ListboxGroupLabelProps, ListboxGroupProps, ListboxItemEmits, ListboxItemIndicatorProps, ListboxItemProps, ListboxRootEmits, ListboxRootProps, ListboxVirtualizerProps } from "../listbox/types.js";
6
7
  import { PopperAnchorProps, PopperArrowProps, PopperPopupProps, PopperPositionerEmits, PopperPositionerProps, PopperUiSlot } from "../popper/types.js";
7
8
  import { PortalProps } from "../portal/types.js";
8
- import { ComputedRef, HTMLAttributes, ShallowRef } from "vue";
9
+ import { ComputedRef, ShallowRef } from "vue";
9
10
  //#region src/components/combobox/types.d.ts
10
11
  /**
11
12
  * Properties for the ComboboxRoot component.
@@ -56,7 +57,7 @@ type ComboboxRootEmits<M extends boolean = false> = Pick<ListboxRootEmits<M>, 'u
56
57
  /**
57
58
  * Properties for the ComboboxTrigger component.
58
59
  */
59
- interface ComboboxTriggerProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
60
+ interface ComboboxTriggerProps extends PrimitiveWithBaseProps {
60
61
  /**
61
62
  * Whether the component is disabled.
62
63
  */
@@ -111,7 +112,7 @@ type ComboboxInputEmits = ListboxFilterEmits;
111
112
  /**
112
113
  * Properties for the ComboboxViewport component.
113
114
  */
114
- interface ComboboxViewportProps extends /** @vue-ignore */HTMLAttributes {
115
+ interface ComboboxViewportProps extends BaseProps {
115
116
  /**
116
117
  * Nonce.
117
118
  */
@@ -133,15 +134,15 @@ type ComboboxItemEmits = ListboxItemEmits;
133
134
  /**
134
135
  * Properties for the ComboboxEmpty component.
135
136
  */
136
- interface ComboboxEmptyProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
137
+ interface ComboboxEmptyProps extends PrimitiveWithBaseProps {}
137
138
  /**
138
139
  * Properties for the ComboboxSeparator component.
139
140
  */
140
- interface ComboboxSeparatorProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {}
141
+ interface ComboboxSeparatorProps extends PrimitiveWithBaseProps {}
141
142
  /**
142
143
  * Properties for the ComboboxCancel component.
143
144
  */
144
- interface ComboboxCancelProps extends PrimitiveProps, /** @vue-ignore */HTMLAttributes {
145
+ interface ComboboxCancelProps extends PrimitiveWithBaseProps {
145
146
  /**
146
147
  * Whether the component is disabled.
147
148
  */
@@ -1 +1 @@
1
- import{useControllableState as e}from"../../composables/use-controllable-state.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"../_icon/icon.js";import r from"../listbox/listbox-group-label.js";import i from"../listbox/listbox-root.js";import a from"../listbox/listbox-content.js";import o from"../listbox/listbox-group.js";import s from"../listbox/listbox-item.js";import c from"../listbox/listbox-filter.js";import"../listbox/index.js";import l from"../kbd/kbd.js";import u from"../separator/separator-root.js";import{useCommandUi as d}from"./context.js";import{getCommandItemOptions as f,getCommandSearchOptions as p,isGroupOption as m}from"./shared.js";import{Fragment as h,computed as g,createBlock as _,createCommentVNode as v,createElementBlock as y,createElementVNode as b,createTextVNode as x,createVNode as S,defineComponent as C,guardReactiveProps as w,isRef as T,mergeProps as E,normalizeClass as D,normalizeProps as O,openBlock as k,renderList as A,renderSlot as j,toDisplayString as M,unref as N,withCtx as P}from"vue";import{useFuse as F}from"@vueuse/integrations/useFuse";import{defu as I}from"defu";const L=C({name:`CommandCompact`,__name:`command-compact`,props:{items:{},placeholder:{},searchTerm:{},clearable:{type:Boolean},fuseOptions:{},listProps:{},itemProps:{},itemLabelProps:{},groupProps:{},groupLabelProps:{},shortcutProps:{},separatorProps:{},inputProps:{},emptyProps:{},emptyLabel:{default:`No results found.`},orientation:{},dir:{},disabled:{type:Boolean},highlightOnHover:{type:Boolean},modelValue:{},defaultValue:{},multiple:{},selectionBehavior:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`,`select`,`update:searchTerm`],setup(C,{emit:L}){let R=C,z=L,B=t(R,[`items`,`placeholder`,`searchTerm`,`fuseOptions`,`emptyLabel`,`listProps`,`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`,`inputProps`,`emptyProps`]),V=e(()=>R.searchTerm,e=>{z(`update:searchTerm`,e??``)},R.inputProps?.defaultValue||``),H=g(()=>I(R.fuseOptions,{fuseOptions:{ignoreLocation:!0,threshold:.1,keys:[`label`,`groupLabel`]},resultLimit:12,matchAllWhenSearchEmpty:!0})),{results:U}=F(V,g(()=>p(R.items)),H),W=g(()=>f(U.value.map(e=>e.item))),G=g(()=>({...R.inputProps,placeholder:R.placeholder??R.inputProps?.placeholder})),K=g(()=>({...R.listProps,"aria-label":R.listProps?.[`aria-label`]??R.placeholder??`Commands`})),q=d(),J=e=>m(e)?`group-${e.value}`:`item-${e.value}`;return(e,t)=>(k(),_(N(i),E(N(B),{"onUpdate:modelValue":t[3]||(t[3]=e=>z(`update:modelValue`,e)),onHighlight:t[4]||(t[4]=e=>z(`highlight`,e)),onEntryFocus:t[5]||(t[5]=e=>z(`entryFocus`,e)),onLeave:t[6]||(t[6]=e=>z(`leave`,e))}),{default:P(()=>[S(N(c),E(G.value,{modelValue:N(V),"onUpdate:modelValue":t[0]||(t[0]=e=>T(V)?V.value=e:null),autofocus:``}),{leading:P(({clear:t})=>[j(e.$slots,`input-leading`,{clear:t},()=>[S(n,{icon:`lucide:search`})])]),trailing:P(({clear:t})=>[C.clearable?(k(),_(n,{key:0,icon:`lucide:x`,class:D(N(q).inputClearable),onClick:t},null,8,[`class`,`onClick`])):v(`v-if`,!0),j(e.$slots,`input-trailing`,{clear:t})]),_:3},16,[`modelValue`]),S(N(a),O(w(K.value)),{default:P(()=>[W.value.length?v(`v-if`,!0):(k(),y(`div`,E({key:0},C.emptyProps,{class:N(q).empty}),[j(e.$slots,`empty`,{},()=>[x(M(C.emptyLabel),1)])],16)),(k(!0),y(h,null,A(W.value,i=>(k(),y(h,{key:J(i)},[N(m)(i)?(k(),y(h,{key:0},[S(N(o),E({ref_for:!0},C.groupProps),{default:P(()=>[S(N(r),E({ref_for:!0},C.groupLabelProps),{default:P(()=>[x(M(i.label),1)]),_:2},1040),(k(!0),y(h,null,A(i.items,r=>(k(),_(N(s),E({key:String(r.value)},{ref_for:!0},C.itemProps,{value:r.value,disabled:r.disabled,onSelect:t[1]||(t[1]=e=>z(`select`,e))}),{default:P(()=>[j(e.$slots,`item-leading`,{item:r},()=>[r.icon?(k(),_(n,{key:0,icon:r.icon},null,8,[`icon`])):v(`v-if`,!0)]),b(`span`,E({class:N(q).itemLabel},{ref_for:!0},C.itemLabelProps),[j(e.$slots,`item-label`,{item:r},()=>[x(M(r.label),1)])],16),j(e.$slots,`item-trailing`,{item:r}),r.shortcut?(k(),_(l,E({key:0,ref_for:!0},C.shortcutProps,{value:r.shortcut,class:N(q).shortcut}),null,16,[`value`,`class`])):v(`v-if`,!0)]),_:2},1040,[`value`,`disabled`]))),128))]),_:2},1040),i.separator?(k(),_(u,E({key:0,ref_for:!0},C.separatorProps,{decorative:``,class:N(q).separator}),null,16,[`class`])):v(`v-if`,!0)],64)):(k(),y(h,{key:1},[S(N(s),E({ref_for:!0},C.itemProps,{value:i.value,disabled:i.disabled,onSelect:t[2]||(t[2]=e=>z(`select`,e))}),{default:P(()=>[j(e.$slots,`item-leading`,{item:i},()=>[i.icon?(k(),_(n,{key:0,icon:i.icon},null,8,[`icon`])):v(`v-if`,!0)]),b(`span`,E({class:N(q).itemLabel},{ref_for:!0},C.itemLabelProps),[j(e.$slots,`item-label`,{item:i},()=>[x(M(i.label),1)])],16),j(e.$slots,`item-trailing`,{item:i}),i.shortcut?(k(),_(l,E({key:0,ref_for:!0},C.shortcutProps,{value:i.shortcut,class:N(q).shortcut}),null,16,[`value`,`class`])):v(`v-if`,!0)]),_:2},1040,[`value`,`disabled`]),i.separator?(k(),_(u,E({key:0,ref_for:!0},C.separatorProps,{decorative:``,class:N(q).separator}),null,16,[`class`])):v(`v-if`,!0)],64))],64))),128))]),_:3},16),j(e.$slots,`bottom`)]),_:3},16))}});export{L as default};
1
+ import{useLocaleMessages as e}from"../../locale/hooks.js";import"../../locale/index.js";import{useControllableState as t}from"../../composables/use-controllable-state.js";import{useOmitProps as n}from"../../composables/use-props.js";import"../../composables/index.js";import r from"../_icon/icon.js";import i from"../listbox/listbox-group-label.js";import a from"../listbox/listbox-root.js";import o from"../listbox/listbox-content.js";import s from"../listbox/listbox-group.js";import c from"../listbox/listbox-item.js";import l from"../listbox/listbox-filter.js";import"../listbox/index.js";import u from"../kbd/kbd.js";import d from"../separator/separator-root.js";import{useCommandUi as f}from"./context.js";import{getCommandItemOptions as p,getCommandSearchOptions as m,isGroupOption as h}from"./shared.js";import{Fragment as g,computed as _,createBlock as v,createCommentVNode as y,createElementBlock as b,createElementVNode as x,createTextVNode as S,createVNode as C,defineComponent as w,guardReactiveProps as T,isRef as E,mergeProps as D,normalizeClass as O,normalizeProps as k,openBlock as A,renderList as j,renderSlot as M,toDisplayString as N,unref as P,withCtx as F}from"vue";import{defu as I}from"defu";import{useFuse as L}from"@vueuse/integrations/useFuse";const R=w({name:`CommandCompact`,__name:`command-compact`,props:{items:{},placeholder:{},searchTerm:{},clearable:{type:Boolean},fuseOptions:{},listProps:{},itemProps:{},itemLabelProps:{},groupProps:{},groupLabelProps:{},shortcutProps:{},separatorProps:{},inputProps:{},emptyProps:{},emptyLabel:{},orientation:{},dir:{},disabled:{type:Boolean},highlightOnHover:{type:Boolean},modelValue:{},defaultValue:{},multiple:{},selectionBehavior:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`highlight`,`entryFocus`,`leave`,`select`,`update:searchTerm`],setup(w,{emit:R}){let z=w,B=R,V=n(z,[`items`,`placeholder`,`searchTerm`,`fuseOptions`,`emptyLabel`,`listProps`,`itemProps`,`itemLabelProps`,`groupProps`,`groupLabelProps`,`shortcutProps`,`separatorProps`,`inputProps`,`emptyProps`]),H=t(()=>z.searchTerm,e=>{B(`update:searchTerm`,e)},z.inputProps?.defaultValue??``),U=_(()=>I(z.fuseOptions,{fuseOptions:{ignoreLocation:!0,threshold:.1,keys:[`label`,`groupLabel`]},resultLimit:12,matchAllWhenSearchEmpty:!0})),{results:W}=L(H,_(()=>m(z.items)),U),G=_(()=>p(W.value.map(e=>e.item))),K=_(()=>({...z.inputProps,placeholder:z.placeholder??z.inputProps?.placeholder})),q=_(()=>({...z.listProps,"aria-label":z.listProps?.[`aria-label`]??z.placeholder??`Commands`})),J=f(),Y=e(),X=e=>h(e)?`group-${e.value}`:`item-${e.value}`;return(e,t)=>(A(),v(P(a),D(P(V),{"onUpdate:modelValue":t[3]||(t[3]=e=>B(`update:modelValue`,e)),onHighlight:t[4]||(t[4]=e=>B(`highlight`,e)),onEntryFocus:t[5]||(t[5]=e=>B(`entryFocus`,e)),onLeave:t[6]||(t[6]=e=>B(`leave`,e))}),{default:F(()=>[C(P(l),D(K.value,{modelValue:P(H),"onUpdate:modelValue":t[0]||(t[0]=e=>E(H)?H.value=e:null),autofocus:``}),{leading:F(({clear:t})=>[M(e.$slots,`input-leading`,{clear:t},()=>[C(r,{icon:`lucide:search`})])]),trailing:F(({clear:t})=>[w.clearable?(A(),v(r,{key:0,icon:`lucide:x`,class:O(P(J).inputClearable),onClick:t},null,8,[`class`,`onClick`])):y(`v-if`,!0),M(e.$slots,`input-trailing`,{clear:t})]),_:3},16,[`modelValue`]),C(P(o),k(T(q.value)),{default:F(()=>[G.value.length?y(`v-if`,!0):(A(),b(`div`,D({key:0},w.emptyProps,{class:P(J).empty}),[M(e.$slots,`empty`,{},()=>[S(N(z.emptyLabel??P(Y).command.noResults),1)])],16)),(A(!0),b(g,null,j(G.value,n=>(A(),b(g,{key:X(n)},[P(h)(n)?(A(),b(g,{key:0},[C(P(s),D({ref_for:!0},w.groupProps),{default:F(()=>[C(P(i),D({ref_for:!0},w.groupLabelProps),{default:F(()=>[S(N(n.label),1)]),_:2},1040),(A(!0),b(g,null,j(n.items,n=>(A(),v(P(c),D({key:String(n.value)},{ref_for:!0},w.itemProps,{value:n.value,disabled:n.disabled,onSelect:t[1]||(t[1]=e=>B(`select`,e))}),{default:F(()=>[M(e.$slots,`item-leading`,{item:n},()=>[n.icon?(A(),v(r,{key:0,icon:n.icon},null,8,[`icon`])):y(`v-if`,!0)]),x(`span`,D({class:P(J).itemLabel},{ref_for:!0},w.itemLabelProps),[M(e.$slots,`item-label`,{item:n},()=>[S(N(n.label),1)])],16),M(e.$slots,`item-trailing`,{item:n}),n.shortcut?(A(),v(u,D({key:0,ref_for:!0},w.shortcutProps,{value:n.shortcut,class:P(J).shortcut}),null,16,[`value`,`class`])):y(`v-if`,!0)]),_:2},1040,[`value`,`disabled`]))),128))]),_:2},1040),n.separator?(A(),v(d,D({key:0,ref_for:!0},w.separatorProps,{decorative:``,class:P(J).separator}),null,16,[`class`])):y(`v-if`,!0)],64)):(A(),b(g,{key:1},[C(P(c),D({ref_for:!0},w.itemProps,{value:n.value,disabled:n.disabled,onSelect:t[2]||(t[2]=e=>B(`select`,e))}),{default:F(()=>[M(e.$slots,`item-leading`,{item:n},()=>[n.icon?(A(),v(r,{key:0,icon:n.icon},null,8,[`icon`])):y(`v-if`,!0)]),x(`span`,D({class:P(J).itemLabel},{ref_for:!0},w.itemLabelProps),[M(e.$slots,`item-label`,{item:n},()=>[S(N(n.label),1)])],16),M(e.$slots,`item-trailing`,{item:n}),n.shortcut?(A(),v(u,D({key:0,ref_for:!0},w.shortcutProps,{value:n.shortcut,class:P(J).shortcut}),null,16,[`value`,`class`])):y(`v-if`,!0)]),_:2},1040,[`value`,`disabled`]),n.separator?(A(),v(d,D({key:0,ref_for:!0},w.separatorProps,{decorative:``,class:P(J).separator}),null,16,[`class`])):y(`v-if`,!0)],64))],64))),128))]),_:3},16),M(e.$slots,`bottom`)]),_:3},16))}});export{R as default};
@@ -1,9 +1,9 @@
1
- import { IconValue } from "../_icon/types.js";
2
1
  import { UiClass } from "../../types/common.js";
2
+ import { BaseProps } from "../../types/vue.js";
3
+ import { IconValue } from "../_icon/types.js";
3
4
  import { ListboxContentProps, ListboxFilterProps, ListboxGroupLabelProps, ListboxGroupProps, ListboxItemEmits, ListboxItemProps, ListboxRootEmits, ListboxRootProps, ListboxUiSlot } from "../listbox/types.js";
4
5
  import { KbdProps, KbdValue } from "../kbd/types.js";
5
6
  import { SeparatorRootProps } from "../separator/types.js";
6
- import { HTMLAttributes } from "vue";
7
7
  import { UseFuseOptions } from "@vueuse/integrations/useFuse";
8
8
 
9
9
  //#region src/components/command/types.d.ts
@@ -44,7 +44,7 @@ type CommandOptionData<T extends CommandSingleOptionData = CommandSingleOptionDa
44
44
  /**
45
45
  * Properties for the CommandItemLabel component.
46
46
  */
47
- interface CommandItemLabelProps extends /** @vue-ignore */HTMLAttributes {}
47
+ interface CommandItemLabelProps extends BaseProps {}
48
48
  /**
49
49
  * Properties for the CommandShortcut component.
50
50
  */
@@ -73,7 +73,7 @@ type CommandSearchOptionData<T extends CommandSingleOptionData = CommandSingleOp
73
73
  /**
74
74
  * Properties for the CommandEmpty component.
75
75
  */
76
- interface CommandEmptyProps extends /** @vue-ignore */HTMLAttributes {}
76
+ interface CommandEmptyProps extends BaseProps {}
77
77
  /**
78
78
  * Available UI slots for the Command component.
79
79
  */
@@ -1,4 +1,4 @@
1
- import{transformPropsToContext as e}from"../../shared/vue.js";import"../../shared/index.js";import{provideConfigProviderContext as t}from"./context.js";import{defineComponent as n,renderSlot as r,watchEffect as i}from"vue";import{useStyleTag as a,useTextDirection as o}from"@vueuse/core";const s=n({name:`ConfigProvider`,__name:`config-provider`,props:{dir:{default:`ltr`},locale:{default:`en`},nonce:{default:void 0},tooltip:{},nuxt:{type:Boolean,default:!1},iconRender:{}},setup(n){let s=n;t({...e(s),iconRender:s.iconRender});let c=o({initialValue:s.dir});return a(`
1
+ import{transformPropsToContext as e}from"../../shared/vue.js";import{provideConfigProviderContext as t}from"./context.js";import"../../shared/index.js";import{defineComponent as n,renderSlot as r}from"vue";import{useStyleTag as i}from"@vueuse/core";const a=n({name:`ConfigProvider`,__name:`config-provider`,props:{dir:{default:`ltr`},locale:{default:`en`},nonce:{default:void 0},tooltip:{},nuxt:{type:Boolean,default:!1},iconRender:{},messages:{}},setup(n){let a=n;return t({...e(a),iconRender:a.iconRender}),i(`
2
2
  .soybean-headless-scrollbar-hidden {
3
3
  scrollbar-width: none;
4
4
  -ms-overflow-style: none;
@@ -13,6 +13,18 @@ import{transformPropsToContext as e}from"../../shared/vue.js";import"../../share
13
13
  overflow-y: hidden;
14
14
  }
15
15
 
16
+ .soybean-headless-transition-all-150 {
17
+ transition: all 150ms ease-in-out;
18
+ }
19
+
20
+ .soybean-headless-opacity-0 {
21
+ opacity: 0;
22
+ }
23
+
24
+ .soybean-headless-scale-0 {
25
+ transform: scale(0);
26
+ }
27
+
16
28
  .soybean-headless-sr-only {
17
29
  position: absolute;
18
30
  width: 1px;
@@ -24,4 +36,4 @@ import{transformPropsToContext as e}from"../../shared/vue.js";import"../../share
24
36
  white-space: nowrap;
25
37
  border-width: 0;
26
38
  }
27
- `,{id:`__SoybeanHeadless_Styles`}),i(()=>{c.value!==s.dir&&(c.value=s.dir)}),(e,t)=>r(e.$slots,`default`)}});export{s as default};
39
+ `,{id:`__SoybeanHeadless_Styles`}),(e,t)=>r(e.$slots,`default`)}});export{a as default};
@@ -1 +1 @@
1
- import{useContext as e}from"../../composables/use-context.js";import"../../composables/index.js";import{computed as t,toValue as n}from"vue";const[r,i]=e(`ConfigProvider`);function a(e){let r=i();return t(()=>n(e)||r?.dir?.value||`ltr`)}function o(e){let r=i();return t(()=>n(e)||r?.locale?.value||`en`)}export{r as provideConfigProviderContext,i as useConfigProvider,a as useDirection,o as useLocale};
1
+ import{useContext as e}from"../../composables/use-context.js";import{computed as t,toValue as n}from"vue";const[r,i]=e(`ConfigProvider`);function a(e){let r=i();return t(()=>n(e)||r?.dir?.value||`ltr`)}function o(e){let r=i();return t(()=>n(e)||r?.locale?.value||`en`)}export{r as provideConfigProviderContext,i as useConfigProvider,a as useDirection,o as useLocale};
@@ -1,5 +1,6 @@
1
- import { IconValue } from "../_icon/types.js";
2
1
  import { Direction } from "../../types/common.js";
2
+ import { IconValue } from "../_icon/types.js";
3
+ import { LocaleMessagesOverrides } from "../../locale/types.js";
3
4
  import { TooltipProviderProps } from "../tooltip/types.js";
4
5
  import { VNode } from "vue";
5
6
 
@@ -44,6 +45,13 @@ interface ConfigProviderProps {
44
45
  * @param icon The icon to be rendered. It can be a string, a VNode, or a Component.
45
46
  */
46
47
  iconRender?: (icon: IconValue) => VNode;
48
+ /**
49
+ * Overrides for built-in component locale messages. Merged on top of the locale selected by the
50
+ * `locale` prop, so you only need to supply the keys you want to change.
51
+ *
52
+ * @type LocaleMessagesOverrides
53
+ */
54
+ messages?: LocaleMessagesOverrides;
47
55
  }
48
56
  //#endregion
49
57
  export { ConfigProviderProps };
@@ -8,7 +8,6 @@ import * as _$vue from "vue";
8
8
  declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
9
  props: _$vue.PublicProps & __VLS_PrettifyLocal<ContextMenuCheckboxCompactProps<T> & {
10
10
  onSelect?: ((item: MenuCheckboxOptionData<T>, event: Event) => any) | undefined;
11
- "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
12
11
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
12
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
14
13
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
@@ -16,6 +15,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
16
15
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
17
16
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
18
17
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((value: T[]) => any) | undefined;
19
19
  onEntryFocus?: ((event: Event) => any) | undefined;
20
20
  }> & (typeof globalThis extends {
21
21
  __VLS_PROPS_FALLBACK: infer P;
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends DefinedValue = DefinedValue>(__VLS_props:
23
23
  expose: (exposed: {}) => void;
24
24
  attrs: any;
25
25
  slots: ContextMenuCheckboxCompactSlots<T>;
26
- emit: ((evt: "select", item: MenuCheckboxOptionData<T>, event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
26
+ emit: ((evt: "select", item: MenuCheckboxOptionData<T>, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "update:modelValue", value: T[]) => void) & ((evt: "entryFocus", event: Event) => void);
27
27
  }>) => _$vue.VNode & {
28
28
  __ctx?: Awaited<typeof __VLS_setup>;
29
29
  };
@@ -1 +1 @@
1
- import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import"../../composables/index.js";import t from"../menu/menu-content.js";import"../menu/index.js";import{useContextMenuRootContext as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";const d=i({name:`ContextMenuContent`,__name:`context-menu-content`,props:{popupProps:{},placement:{},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(i,{emit:d}){let f=i,p=e(d),{modal:m,triggerElement:h}=n(`ContextMenuContent`),g=!1;function _(e){!e.defaultPrevented&&g&&e.preventDefault(),g=!1}function v(e){e.detail.originalEvent.button===2&&e.target===h.value&&e.preventDefault(),!e.defaultPrevented&&!m.value&&(g=!0)}return(e,n)=>(o(),r(l(t),a(f,{side:`right`,"side-offset":2,align:`start`,"update-position-strategy":`always`},c(l(p)),{onCloseAutoFocus:_,onInteractOutside:v}),{default:u(()=>[s(e.$slots,`default`)]),_:3},16))}});export{d as default};
1
+ import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import"../../composables/index.js";import t from"../menu/menu-content.js";import"../menu/index.js";import{useContextMenuRootContext as n}from"./context.js";import{createBlock as r,defineComponent as i,mergeProps as a,openBlock as o,renderSlot as s,toHandlers as c,unref as l,withCtx as u}from"vue";const d=i({name:`ContextMenuContent`,__name:`context-menu-content`,props:{popupProps:{},placement:{},sideFlip:{type:Boolean},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{},collisionPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},forceMount:{type:Boolean},loop:{type:Boolean}},emits:[`escapeKeyDown`,`pointerDownOutside`,`focusOutside`,`interactOutside`,`openAutoFocus`,`closeAutoFocus`,`entryFocus`],setup(i,{emit:d}){let f=i,p=e(d),{modal:m,triggerElement:h}=n(`ContextMenuContent`),g=!1;function _(e){!e.defaultPrevented&&g&&e.preventDefault(),g=!1}function v(e){e.detail.originalEvent.button===2&&e.target===h.value&&e.preventDefault(),!e.defaultPrevented&&!m.value&&(g=!0)}return(e,n)=>(o(),r(l(t),a(f,{"data-soybean-context-menu-content":``,side:`right`,"side-offset":2,align:`start`,"update-position-strategy":`always`},c(l(p)),{onCloseAutoFocus:_,onInteractOutside:v}),{default:u(()=>[s(e.$slots,`default`)]),_:3},16))}});export{d as default};
@@ -8,7 +8,6 @@ import * as _$vue from "vue";
8
8
  declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBooleanValue>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
9
9
  props: _$vue.PublicProps & __VLS_PrettifyLocal<ContextMenuRadioCompactProps<T> & {
10
10
  onSelect?: ((item: MenuRadioOptionData<T>, event: Event) => any) | undefined;
11
- "onUpdate:modelValue"?: ((payload: NonNullable<T>) => any) | undefined;
12
11
  "onUpdate:open"?: ((value: boolean) => any) | undefined;
13
12
  onEscapeKeyDown?: ((event: KeyboardEvent) => any) | undefined;
14
13
  onPointerDownOutside?: ((event: PointerDownOutsideEvent) => any) | undefined;
@@ -16,6 +15,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
16
15
  onInteractOutside?: ((event: PointerDownOutsideEvent | FocusOutsideEvent) => any) | undefined;
17
16
  onOpenAutoFocus?: ((event: Event) => any) | undefined;
18
17
  onCloseAutoFocus?: ((event: Event) => any) | undefined;
18
+ "onUpdate:modelValue"?: ((payload: Exclude<T, undefined>) => any) | undefined;
19
19
  onEntryFocus?: ((event: Event) => any) | undefined;
20
20
  }> & (typeof globalThis extends {
21
21
  __VLS_PROPS_FALLBACK: infer P;
@@ -23,7 +23,7 @@ declare const __VLS_export: <T extends AcceptableBooleanValue = AcceptableBoolea
23
23
  expose: (exposed: {}) => void;
24
24
  attrs: any;
25
25
  slots: ContextMenuRadioCompactSlots<T>;
26
- emit: ((evt: "select", item: MenuRadioOptionData<T>, event: Event) => void) & ((evt: "update:modelValue", payload: NonNullable<T>) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "entryFocus", event: Event) => void);
26
+ emit: ((evt: "select", item: MenuRadioOptionData<T>, event: Event) => void) & ((evt: "update:open", value: boolean) => void) & ((evt: "escapeKeyDown", event: KeyboardEvent) => void) & ((evt: "pointerDownOutside", event: PointerDownOutsideEvent) => void) & ((evt: "focusOutside", event: FocusOutsideEvent) => void) & ((evt: "interactOutside", event: PointerDownOutsideEvent | FocusOutsideEvent) => void) & ((evt: "openAutoFocus", event: Event) => void) & ((evt: "closeAutoFocus", event: Event) => void) & ((evt: "update:modelValue", payload: Exclude<T, undefined>) => void) & ((evt: "entryFocus", event: Event) => void);
27
27
  }>) => _$vue.VNode & {
28
28
  __ctx?: Awaited<typeof __VLS_setup>;
29
29
  };
@@ -1 +1 @@
1
- import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.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"../menu/index.js";import{useContextMenuRootContext as i}from"./context.js";import{Fragment as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createVNode as u,defineComponent as d,mergeProps as f,nextTick as p,onWatcherCleanup as m,openBlock as h,ref as g,renderSlot as _,unref as v,useAttrs as y,watchEffect as b,withCtx as x}from"vue";const S=d({name:`ContextMenuTrigger`,inheritAttrs:!1,__name:`context-menu-trigger`,props:{reference:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(d){let S=d,C=t(S,[`reference`],y()),{dataState:w,pressOpenDelay:T,onOpenChange:E,onTriggerElementChange:D}=i(`ContextMenuTrigger`),[O,k]=e(e=>{D(e)}),A=o(()=>S.disabled?``:void 0),j=g({x:0,y:0}),M=o(()=>({getBoundingClientRect:()=>({width:0,height:0,left:j.value.x,right:j.value.x,top:j.value.y,bottom:j.value.y,...j.value})})),N=null,P=()=>{N&&(window.clearTimeout(N),N=null)},F=e=>{let{clientX:t,clientY:n}=e;j.value={x:t,y:n},E(!0)},I=e=>e.pointerType!==`mouse`,L=async e=>{S.disabled||(await p(),!e.defaultPrevented&&(P(),F(e),e.preventDefault()))},R=async e=>{S.disabled||(await p(),!e.defaultPrevented&&I(e)&&(P(),N=window.setTimeout(()=>{F(e)},T.value)))},z=async e=>{S.disabled||(await p(),!e.defaultPrevented&&I(e)&&P())};return b(()=>{S.reference&&(D(S.reference),S.reference.addEventListener(`contextmenu`,L),S.reference.addEventListener(`pointerdown`,R),S.reference.addEventListener(`pointermove`,z),S.reference.addEventListener(`pointercancel`,z),S.reference.addEventListener(`pointerup`,z),m(()=>{S.reference?.removeEventListener(`contextmenu`,L),S.reference?.removeEventListener(`pointerdown`,R),S.reference?.removeEventListener(`pointermove`,z),S.reference?.removeEventListener(`pointercancel`,z),S.reference?.removeEventListener(`pointerup`,z)}))}),(e,t)=>(h(),l(a,null,[u(v(r),{as:`template`,reference:M.value},null,8,[`reference`]),d.reference?c(`v-if`,!0):(h(),s(v(n),f({key:0,ref:v(k)},v(C),{"data-disabled":A.value,"data-state":v(w),style:{WebkitTouchCallout:`none`,pointerEvents:`auto`},onContextmenu:L,onPointerdown:R,onPointermove:z,onPointercancel:z,onPointerup:z}),{default:x(()=>[_(e.$slots,`default`)]),_:3},16,[`data-disabled`,`data-state`]))],64))}});export{S as default};
1
+ import{useForwardElement as e}from"../../composables/use-forward-element.js";import{useOmitProps as t}from"../../composables/use-props.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"../menu/index.js";import{useContextMenuRootContext as i}from"./context.js";import{Fragment as a,computed as o,createBlock as s,createCommentVNode as c,createElementBlock as l,createVNode as u,defineComponent as d,mergeProps as f,nextTick as p,onWatcherCleanup as m,openBlock as h,ref as g,renderSlot as _,unref as v,useAttrs as y,watchEffect as b,withCtx as x}from"vue";const S=d({name:`ContextMenuTrigger`,inheritAttrs:!1,__name:`context-menu-trigger`,props:{reference:{},type:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{default:`span`}},setup(d){let S=d,C=t(S,[`reference`],y()),{dataState:w,pressOpenDelay:T,onOpenChange:E,onTriggerElementChange:D}=i(`ContextMenuTrigger`),[O,k]=e(e=>{D(e)}),A=o(()=>S.disabled?``:void 0),j=g({x:0,y:0}),M=o(()=>({getBoundingClientRect:()=>({width:0,height:0,left:j.value.x,right:j.value.x,top:j.value.y,bottom:j.value.y,...j.value})})),N=null,P=()=>{N&&(window.clearTimeout(N),N=null)},F=e=>{let{clientX:t,clientY:n}=e;j.value={x:t,y:n},E(!0)},I=e=>e.pointerType!==`mouse`,L=async e=>{S.disabled||(await p(),!e.defaultPrevented&&(P(),F(e),e.preventDefault()))},R=async e=>{S.disabled||(await p(),!e.defaultPrevented&&I(e)&&(P(),N=window.setTimeout(()=>{F(e)},T.value)))},z=async e=>{S.disabled||(await p(),!e.defaultPrevented&&I(e)&&P())};return b(()=>{S.reference&&(D(S.reference),S.reference.addEventListener(`contextmenu`,L),S.reference.addEventListener(`pointerdown`,R),S.reference.addEventListener(`pointermove`,z),S.reference.addEventListener(`pointercancel`,z),S.reference.addEventListener(`pointerup`,z),m(()=>{S.reference?.removeEventListener(`contextmenu`,L),S.reference?.removeEventListener(`pointerdown`,R),S.reference?.removeEventListener(`pointermove`,z),S.reference?.removeEventListener(`pointercancel`,z),S.reference?.removeEventListener(`pointerup`,z)}))}),(e,t)=>(h(),l(a,null,[u(v(r),{as:`template`,reference:M.value},null,8,[`reference`]),d.reference?c(`v-if`,!0):(h(),s(v(n),f({key:0,ref:v(k)},v(C),{"data-soybean-context-menu-trigger":``,"data-disabled":A.value,"data-state":v(w),style:{WebkitTouchCallout:`none`,pointerEvents:`auto`},onContextmenu:L,onPointerdown:R,onPointermove:z,onPointercancel:z,onPointerup:z}),{default:x(()=>[_(e.$slots,`default`)]),_:3},16,[`data-disabled`,`data-state`]))],64))}});export{S as default};
@@ -1 +1 @@
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{computed as r,shallowRef as i}from"vue";const[a,o]=t(`ContextMenuRoot`,t=>{let{open:a}=t,o=e=>{a.value=e},s=n(t.dir),c=r(()=>e(a.value)),l=i(null),u=e=>{l.value=e};return{...t,dir:s,dataState:c,onOpenChange:o,triggerElement:l,onTriggerElementChange:u}});export{a as provideContextMenuRootContext,o as useContextMenuRootContext};
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"../../shared/index.js";import"../../composables/index.js";import{computed as r,shallowRef as i}from"vue";const[a,o]=t(`ContextMenuRoot`,t=>{let{open:a}=t,o=e=>{a.value=e},s=n(t.dir),c=r(()=>e(a.value)),l=i(null),u=e=>{l.value=e};return{...t,dir:s,dataState:c,onOpenChange:o,triggerElement:l,onTriggerElementChange:u}});export{a as provideContextMenuRootContext,o as useContextMenuRootContext};
@@ -1 +1 @@
1
- import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"./date-field-input.js";import r from"./date-field-root.js";import{Fragment as i,createBlock as a,createElementBlock as o,createTextVNode as s,defineComponent as c,mergeProps as l,openBlock as u,renderList as d,toDisplayString as f,toHandlers as p,unref as m,withCtx as h}from"vue";const g=c({name:`DateFieldCompact`,__name:`date-field-compact`,props:{inputProps:{},defaultValue:{},defaultPlaceholder:{},placeholder:{},modelValue:{},hourCycle:{},step:{},granularity:{},hideTimeZone:{type:Boolean},maxValue:{},minValue:{},locale:{},disabled:{type:Boolean},readonly:{type:Boolean},isDateUnavailable:{type:Function},id:{},dir:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:placeholder`],setup(c,{emit:g}){let _=c,v=g,y=t(_,[`inputProps`]),b=e(v);return(e,t)=>(u(),a(r,l(m(y),p(m(b))),{default:h(e=>[(u(!0),o(i,null,d(e.segments,(e,t)=>(u(),a(n,l({key:`${e.part}-${t}`,part:e.part},{ref_for:!0},c.inputProps),{default:h(()=>[s(f(e.value),1)]),_:2},1040,[`part`]))),128))]),_:1},16))}});export{g as default};
1
+ import{useForwardListeners as e}from"../../composables/use-forward-listeners.js";import{useOmitProps as t}from"../../composables/use-props.js";import"../../composables/index.js";import n from"./date-field-input.js";import r from"./date-field-root.js";import{Fragment as i,createBlock as a,createElementBlock as o,createTextVNode as s,defineComponent as c,mergeProps as l,openBlock as u,renderList as d,renderSlot as f,toDisplayString as p,toHandlers as m,unref as h,withCtx as g}from"vue";const _=c({name:`DateFieldCompact`,__name:`date-field-compact`,props:{inputProps:{},id:{},granularity:{},hourCycle:{},step:{},hideTimeZone:{type:Boolean},name:{},required:{type:Boolean},dir:{},locale:{},modelValue:{},defaultValue:{},placeholder:{},defaultPlaceholder:{},disabled:{type:Boolean},readonly:{type:Boolean},maxValue:{},minValue:{},isDateUnavailable:{type:Function},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(c,{emit:_}){let v=c,y=_,b=t(v,[`inputProps`]),x=e(y);return(e,t)=>(u(),a(r,l(h(b),m(h(x))),{default:g(t=>[f(e.$slots,`leading`),(u(!0),o(i,null,d(t.segments,(e,t)=>(u(),a(n,l({key:`${e.part}-${t}`,part:e.part},{ref_for:!0},c.inputProps),{default:g(()=>[s(p(e.value),1)]),_:2},1040,[`part`]))),128)),f(e.$slots,`trailing`)]),_:3},16))}});export{_ as default};
@@ -3,13 +3,25 @@ import * as _$vue from "vue";
3
3
  import * as _$_internationalized_date0 from "@internationalized/date";
4
4
 
5
5
  //#region src/components/date-field/date-field-compact.vue.d.ts
6
- declare const __VLS_export: _$vue.DefineComponent<DateFieldCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
7
- "update:modelValue": (date: _$_internationalized_date0.DateValue | undefined) => any;
8
- "update:placeholder": (date: _$_internationalized_date0.DateValue) => any;
6
+ declare var __VLS_8: {}, __VLS_16: {};
7
+ type __VLS_Slots = {} & {
8
+ leading?: (props: typeof __VLS_8) => any;
9
+ } & {
10
+ trailing?: (props: typeof __VLS_16) => any;
11
+ };
12
+ declare const __VLS_base: _$vue.DefineComponent<DateFieldCompactProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
13
+ "update:modelValue": (value: _$_internationalized_date0.DateValue | undefined) => any;
14
+ "update:placeholder": (value: _$_internationalized_date0.DateValue) => any;
9
15
  }, string, _$vue.PublicProps, Readonly<DateFieldCompactProps> & Readonly<{
10
- "onUpdate:modelValue"?: ((date: _$_internationalized_date0.DateValue | undefined) => any) | undefined;
11
- "onUpdate:placeholder"?: ((date: _$_internationalized_date0.DateValue) => any) | undefined;
16
+ "onUpdate:modelValue"?: ((value: _$_internationalized_date0.DateValue | undefined) => any) | undefined;
17
+ "onUpdate:placeholder"?: ((value: _$_internationalized_date0.DateValue) => any) | undefined;
12
18
  }>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
19
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
13
20
  declare const _default: typeof __VLS_export;
21
+ type __VLS_WithSlots<T, S> = T & {
22
+ new (): {
23
+ $slots: S;
24
+ };
25
+ };
14
26
  //#endregion
15
27
  export { _default };
@@ -1 +1 @@
1
- import{useDateField as e}from"../../date/use-date-field.js";import"../../date/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{useDateFieldRootContext as n,useDateFieldUi as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,mergeProps as s,openBlock as c,ref as l,renderSlot as u,toHandlers as d,unref as f,withCtx as p}from"vue";const m=o({name:`DateFieldInput`,__name:`date-field-input`,props:{part:{},asChild:{type:Boolean},as:{default:`span`}},setup(o){let m=o,h=r(`input`),{disabled:g,readonly:_,placeholder:v,hourCycle:y,step:b,segmentValues:x,formatter:S,focusNext:C,modelValue:w,isInvalid:T,setFocusedElement:E}=n(`DateFieldInput`),D=l(!0),O=l(!1),k=i(()=>!!g.value),A=i(()=>!!_.value),{attributes:j,handleSegmentClick:M,handleSegmentFocusOut:N,handleSegmentKeydown:P}=e({hasLeftFocus:D,lastKeyZero:O,placeholder:v,hourCycle:y,step:b,segmentValues:x,formatter:S,part:m.part,disabled:k,readonly:A,focusNext:C,modelValue:w}),F=i(()=>k.value||A.value?!1:m.part!==`literal`&&m.part!==`timeZoneName`),I=i(()=>m.part===`literal`?{}:{mousedown:M,keydown:P,focusout:()=>{D.value=!0,N()},focusin:e=>{E(e.target)}});return(e,n)=>(c(),a(f(t),s({as:o.as,"as-child":o.asChild},f(j),{"aria-disabled":k.value?!0:void 0,"aria-invalid":f(T)?!0:void 0,"aria-readonly":A.value||o.part===`timeZoneName`?!0:void 0,class:f(h),contenteditable:F.value,"data-disabled":k.value?``:void 0,"data-invalid":f(T)?``:void 0,"data-readonly":A.value||o.part===`timeZoneName`?``:void 0,"data-segment":o.part,"data-soybean-date-field-segment":o.part,"data-slot":`input`},d(I.value)),{default:p(()=>[u(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`aria-disabled`,`aria-invalid`,`aria-readonly`,`class`,`contenteditable`,`data-disabled`,`data-invalid`,`data-readonly`,`data-segment`,`data-soybean-date-field-segment`]))}});export{m as default};
1
+ import{useDateField as e}from"../../date/use-date-field.js";import"../../date/index.js";import{Primitive as t}from"../primitive/primitive.js";import"../primitive/index.js";import{useDateFieldRootContext as n,useDateFieldUi as r}from"./context.js";import{computed as i,createBlock as a,defineComponent as o,mergeProps as s,openBlock as c,ref as l,renderSlot as u,toHandlers as d,unref as f,withCtx as p}from"vue";const m=o({name:`DateFieldInput`,__name:`date-field-input`,props:{part:{},asChild:{type:Boolean},as:{default:`span`}},setup(o){let m=o,h=r(`input`),{modelValue:g,disabled:_,readonly:v,placeholder:y,hourCycle:b,step:x,segmentValues:S,formatter:C,isInvalid:w,focusNext:T,setFocusedElement:E}=n(`DateFieldInput`),D=l(!0),{attributes:O,handleSegmentClick:k,handleSegmentFocusOut:A,handleSegmentKeydown:j}=e({hasLeftFocus:D,lastKeyZero:l(!1),placeholder:y,hourCycle:b,step:x,segmentValues:S,formatter:C,part:m.part,disabled:_,readonly:v,focusNext:T,modelValue:g}),M=i(()=>_.value||v.value?!1:m.part!==`literal`&&m.part!==`timeZoneName`),N=i(()=>m.part===`literal`?{}:{mousedown:k,keydown:j,focusout:()=>{D.value=!0,A()},focusin:e=>{E(e.target)}});return(e,n)=>(c(),a(f(t),s({as:o.as,"as-child":o.asChild},f(O),{"data-soybean-date-field-input":``,"data-soybean-date-field-segment":o.part,class:f(h),"aria-disabled":f(_)?!0:void 0,"aria-invalid":f(w)?!0:void 0,"aria-readonly":f(v)||o.part===`timeZoneName`?!0:void 0,contenteditable:M.value,"data-disabled":f(_)?``:void 0,"data-invalid":f(w)?``:void 0,"data-readonly":f(v)||o.part===`timeZoneName`?``:void 0,"data-segment":o.part},d(N.value)),{default:p(()=>[u(e.$slots,`default`)]),_:3},16,[`as`,`as-child`,`data-soybean-date-field-segment`,`class`,`aria-disabled`,`aria-invalid`,`aria-readonly`,`contenteditable`,`data-disabled`,`data-invalid`,`data-readonly`,`data-segment`]))}});export{m as default};
@@ -1 +1 @@
1
- import{isNullish as e}from"../../shared/guard.js";import{getDefaultDate as t,hasTime as n,isBefore as r}from"../../date/comparators.js";import{getInputType as ee,normalizeDateStep as i,normalizeHourCycle as a,normalizeInputValue as o}from"../../date/utils.js";import{useDateFormatter as s}from"../../date/formatter.js";import{createContent as c,initializeSegmentValues as l,syncSegmentValues as u}from"../../date/parser.js";import{getSegmentElements as d}from"../../date/segment.js";import"../../date/index.js";import"../../shared/index.js";import{useControllableState as f}from"../../composables/use-controllable-state.js";import{useForwardElement as te}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{useDirection as ne,useLocale as p}from"../config-provider/context.js";import{Primitive as m}from"../primitive/primitive.js";import"../primitive/index.js";import h from"../visually-hidden/visually-hidden.js";import"../visually-hidden/index.js";import{provideDateFieldRootContext as g,useDateFieldUi as _}from"./context.js";import{computed as v,createBlock as y,createVNode as re,defineComponent as b,nextTick as x,normalizeClass as S,onMounted as C,openBlock as w,renderSlot as T,shallowRef as E,unref as D,watch as O,withCtx as ie}from"vue";const k=b({name:`DateFieldRoot`,__name:`date-field-root`,props:{defaultValue:{default:void 0},defaultPlaceholder:{default:void 0},placeholder:{default:void 0},modelValue:{},hourCycle:{default:void 0},step:{default:void 0},granularity:{default:void 0},hideTimeZone:{type:Boolean,default:!1},maxValue:{},minValue:{},locale:{},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},isDateUnavailable:{type:Function,default:void 0},id:{},dir:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean}},emits:[`update:modelValue`,`update:placeholder`],setup(b,{emit:k}){let A=b,j=k,M=_(`root`),[N,P]=te(),F=p(()=>A.locale),I=ne(()=>A.dir),L=s(F.value,{hourCycle:a(A.hourCycle)}),R=f(()=>A.modelValue,e=>j(`update:modelValue`,e),A.defaultValue),z=t({defaultPlaceholder:A.placeholder,defaultValue:R.value,granularity:A.granularity,locale:A.locale}),B=f(()=>A.placeholder,e=>j(`update:placeholder`,e),A.defaultPlaceholder??z.copy()),V=v(()=>i(A)),H=v(()=>A.granularity?n(B.value)?A.granularity:`day`:n(B.value)?`minute`:`day`),U=v(()=>R.value?!!(A.isDateUnavailable?.(R.value)||A.minValue&&r(R.value,A.minValue)||A.maxValue&&r(A.maxValue,R.value)):!1),W=E(R.value?{...u({value:R.value,formatter:L})}:{...l(H.value)}),G=v(()=>c({granularity:H.value,dateRef:B.value,formatter:L,hideTimeZone:A.hideTimeZone,hourCycle:A.hourCycle,segmentValues:W.value,locale:F}).arr),K=E([]),q=E(null),J=()=>{N.value&&(K.value=d(N.value))};O(F,e=>{L.getLocale()!==e&&L.setLocale(e),x(J)}),O(R,t=>{!e(t)&&B.value.compare(t)!==0&&(B.value=t.copy())}),O([R,F,H],([t])=>{if(!e(t)){W.value={...u({value:t,formatter:L})};return}Object.values(W.value).every(e=>e!==null)&&(W.value={...l(H.value)})});let ae=v(()=>K.value.findIndex(e=>e.getAttribute(`data-soybean-date-field-segment`)===q.value?.getAttribute(`data-soybean-date-field-segment`))),Y=e=>{let t=I.value===`rtl`?-1:1,n=e===`next`?t:-t;K.value[ae.value+n]?.focus()},X=v(()=>ee(H.value)),Z=v(()=>o(R.value,H.value)),Q=v(()=>A.maxValue?o(A.maxValue,H.value):void 0),$=v(()=>A.minValue?o(A.minValue,H.value):void 0),oe=e=>{e.key!==`ArrowLeft`&&e.key!==`ArrowRight`||(e.preventDefault(),Y(e.key===`ArrowRight`?`next`:`prev`))};return g({locale:F,dir:I,modelValue:R,placeholder:B,isDateUnavailable:A.isDateUnavailable,isInvalid:U,disabled:v(()=>A.disabled),readonly:v(()=>A.readonly),formatter:L,hourCycle:A.hourCycle,step:V,segmentValues:W,segmentContents:G,inputType:X,inputValue:Z,inputMaxValue:Q,inputMinValue:$,elements:K,focusNext(){Y(`next`)},setFocusedElement(e){q.value=e}}),C(J),(e,t)=>(w(),y(D(m),{ref:D(P),as:b.as,"as-child":b.asChild,class:S(D(M)),"data-disabled":b.disabled?``:void 0,"data-invalid":U.value?``:void 0,"data-readonly":b.readonly?``:void 0,dir:D(I),"data-slot":`root`,role:`group`,onKeydown:oe},{default:ie(()=>[T(e.$slots,`default`,{isInvalid:U.value,modelValue:D(R),segments:G.value}),re(D(h),{id:b.id,as:`input`,feature:`focusable`,type:X.value,tabindex:`-1`,value:Z.value,name:b.name,disabled:b.disabled,required:b.required,max:Q.value,min:$.value,onFocus:t[0]||(t[0]=e=>K.value[0]?.focus())},null,8,[`id`,`type`,`value`,`name`,`disabled`,`required`,`max`,`min`])]),_:3},8,[`as`,`as-child`,`class`,`data-disabled`,`data-invalid`,`data-readonly`,`dir`]))}});export{k as default};
1
+ import{isNullish as e}from"../../shared/guard.js";import{transformPropsToContext as t}from"../../shared/vue.js";import{getDefaultDate as n,hasTime as r,isBefore as i}from"../../date/comparators.js";import{useDateFormatter as a}from"../../date/formatter.js";import{getInputType as o,normalizeDateStep as s,normalizeHourCycle as c,normalizeInputValue as l}from"../../date/utils.js";import{createContent as u,initializeSegmentValues as d,syncSegmentValues as f}from"../../date/parser.js";import{getSegmentElements as p}from"../../date/segment.js";import{useDirection as m,useLocale as h}from"../config-provider/context.js";import{useLocaleMessages as g}from"../../locale/hooks.js";import"../../locale/index.js";import"../../date/index.js";import"../../shared/index.js";import{useControllableState as _}from"../../composables/use-controllable-state.js";import{useForwardElement as v}from"../../composables/use-forward-element.js";import"../../composables/index.js";import{Primitive as y}from"../primitive/primitive.js";import"../primitive/index.js";import b from"../visually-hidden/visually-hidden.js";import"../visually-hidden/index.js";import{provideDateFieldRootContext as x,useDateFieldUi as S}from"./context.js";import{computed as C,createBlock as w,createVNode as T,defineComponent as E,nextTick as D,normalizeClass as O,onMounted as ee,openBlock as te,renderSlot as ne,shallowRef as k,unref as A,watch as j,withCtx as M}from"vue";const N=E({name:`DateFieldRoot`,__name:`date-field-root`,props:{id:{},granularity:{default:void 0},hourCycle:{default:void 0},step:{default:void 0},hideTimeZone:{type:Boolean,default:!1},name:{},required:{type:Boolean},dir:{},locale:{},modelValue:{},defaultValue:{default:void 0},placeholder:{default:void 0},defaultPlaceholder:{default:void 0},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},maxValue:{},minValue:{},isDateUnavailable:{type:Function,default:void 0},asChild:{type:Boolean},as:{}},emits:[`update:modelValue`,`update:placeholder`],setup(E,{emit:N}){let P=E,F=N,I=S(`root`),[L,R]=v(),z=h(()=>P.locale),B=m(()=>P.dir),V=g(),H=a(z.value,{hourCycle:c(P.hourCycle)}),U=_(()=>P.modelValue,e=>F(`update:modelValue`,e),P.defaultValue,!0),re=n({defaultPlaceholder:P.placeholder,defaultValue:U.value,granularity:P.granularity,locale:P.locale}),W=_(()=>P.placeholder,e=>F(`update:placeholder`,e),P.defaultPlaceholder??re.copy()),G=C(()=>s(P.step)),K=C(()=>P.granularity?r(W.value)?P.granularity:`day`:r(W.value)?`minute`:`day`),q=C(()=>U.value?!!(P.isDateUnavailable?.(U.value)||P.minValue&&i(U.value,P.minValue)||P.maxValue&&i(P.maxValue,U.value)):!1),J=k(U.value?{...f({value:U.value,formatter:H})}:{...d(K.value)}),Y=C(()=>u({granularity:K.value,dateRef:W.value,formatter:H,hideTimeZone:P.hideTimeZone,hourCycle:P.hourCycle,segmentValues:J.value,locale:z,dateMessages:V.value.date}).arr),X=k([]),Z=k(null),Q=()=>{L.value&&(X.value=p(L.value))};j(z,e=>{H.getLocale()!==e&&H.setLocale(e),D(Q)}),j(U,t=>{!e(t)&&W.value.compare(t)!==0&&(W.value=t.copy())}),j([U,z,K],([t])=>{if(!e(t)){J.value={...f({value:t,formatter:H})};return}Object.values(J.value).every(e=>e!==null)&&(J.value={...d(K.value)})});let ie=C(()=>X.value.findIndex(e=>e.getAttribute(`data-soybean-date-field-segment`)===Z.value?.getAttribute(`data-soybean-date-field-segment`))),$=e=>{let t=B.value===`rtl`?-1:1,n=e===`next`?t:-t;X.value[ie.value+n]?.focus()},ae=C(()=>o(K.value)),oe=C(()=>l(U.value,K.value)),se=C(()=>P.maxValue?l(P.maxValue,K.value):void 0),ce=C(()=>P.minValue?l(P.minValue,K.value):void 0),le=e=>{e.key!==`ArrowLeft`&&e.key!==`ArrowRight`||(e.preventDefault(),$(e.key===`ArrowRight`?`next`:`prev`))};return x({...t(P,[`disabled`,`readonly`]),modelValue:U,placeholder:W,isInvalid:q,formatter:H,hourCycle:P.hourCycle,step:G,segmentValues:J,focusNext(){$(`next`)},setFocusedElement(e){Z.value=e}}),ee(Q),(e,t)=>(te(),w(A(y),{ref:A(R),as:E.as,"as-child":E.asChild,"data-soybean-date-field-root":``,class:O(A(I)),"data-disabled":E.disabled?``:void 0,"data-invalid":q.value?``:void 0,"data-readonly":E.readonly?``:void 0,dir:A(B),role:`group`,onKeydown:le},{default:M(()=>[ne(e.$slots,`default`,{isInvalid:q.value,modelValue:A(U),segments:Y.value}),T(A(b),{id:E.id,as:`input`,feature:`focusable`,type:ae.value,tabindex:`-1`,value:oe.value,name:E.name,disabled:E.disabled,required:E.required,max:se.value,min:ce.value,onFocus:t[0]||(t[0]=e=>X.value[0]?.focus())},null,8,[`id`,`type`,`value`,`name`,`disabled`,`required`,`max`,`min`])]),_:3},8,[`as`,`as-child`,`class`,`data-disabled`,`data-invalid`,`data-readonly`,`dir`]))}});export{N as default};
@@ -1,35 +1,27 @@
1
- import { DateStep, DateValue, Granularity, Matcher, SegmentPart } from "../../date/types.js";
2
- import { DateFieldRootProps } from "./types.js";
1
+ import { DateMatcher, DateStep, Granularity } from "../../date/types.js";
2
+ import { DateFieldRootProps, DateFieldRootSlots } from "./types.js";
3
3
  import * as _$vue from "vue";
4
+ import * as _$_internationalized_date0 from "@internationalized/date";
4
5
 
5
6
  //#region src/components/date-field/date-field-root.vue.d.ts
6
- type __VLS_Slots = {
7
- default?: (props: {
8
- modelValue: DateValue | undefined;
9
- segments: {
10
- part: SegmentPart;
11
- value: string;
12
- }[];
13
- isInvalid: boolean;
14
- }) => any;
15
- };
7
+ type __VLS_Slots = DateFieldRootSlots;
16
8
  declare const __VLS_base: _$vue.DefineComponent<DateFieldRootProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
17
- "update:modelValue": (date: DateValue | undefined) => any;
18
- "update:placeholder": (date: DateValue) => any;
9
+ "update:modelValue": (value: _$_internationalized_date0.DateValue | undefined) => any;
10
+ "update:placeholder": (value: _$_internationalized_date0.DateValue) => any;
19
11
  }, string, _$vue.PublicProps, Readonly<DateFieldRootProps> & Readonly<{
20
- "onUpdate:modelValue"?: ((date: DateValue | undefined) => any) | undefined;
21
- "onUpdate:placeholder"?: ((date: DateValue) => any) | undefined;
12
+ "onUpdate:modelValue"?: ((value: _$_internationalized_date0.DateValue | undefined) => any) | undefined;
13
+ "onUpdate:placeholder"?: ((value: _$_internationalized_date0.DateValue) => any) | undefined;
22
14
  }>, {
23
- placeholder: DateValue;
15
+ placeholder: _$_internationalized_date0.DateValue;
24
16
  disabled: boolean;
25
17
  step: DateStep;
26
- defaultValue: DateValue;
27
- defaultPlaceholder: DateValue;
28
- hourCycle: 12 | 24;
18
+ defaultValue: _$_internationalized_date0.DateValue;
19
+ readonly: boolean;
20
+ defaultPlaceholder: _$_internationalized_date0.DateValue;
21
+ isDateUnavailable: DateMatcher;
29
22
  granularity: Granularity;
23
+ hourCycle: 12 | 24;
30
24
  hideTimeZone: boolean;
31
- readonly: boolean;
32
- isDateUnavailable: Matcher;
33
25
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
34
26
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
35
27
  declare const _default: typeof __VLS_export;
@@ -1,6 +1,6 @@
1
- import { DateFieldCompactEmits, DateFieldCompactProps, DateFieldInputProps, DateFieldRootContext, DateFieldRootEmits, DateFieldRootProps, DateFieldSegment, DateFieldUi, DateFieldUiSlot } from "./types.js";
1
+ import { DateFieldCompactEmits, DateFieldCompactProps, DateFieldInputProps, DateFieldRootEmits, DateFieldRootProps, DateFieldRootSlotProps, DateFieldRootSlots, DateFieldSegment, DateFieldUi, DateFieldUiSlot } from "./types.js";
2
2
  import { _default } from "./date-field-compact.vue.js";
3
- import { _default as _default$1 } from "./date-field-input.vue.js";
4
3
  import { _default as _default$2 } from "./date-field-root.vue.js";
4
+ import { _default as _default$1 } from "./date-field-input.vue.js";
5
5
  import { provideDateFieldUi } from "./context.js";
6
- export { _default as DateFieldCompact, type DateFieldCompactEmits, type DateFieldCompactProps, _default$1 as DateFieldInput, type DateFieldInputProps, _default$2 as DateFieldRoot, type DateFieldRootContext, type DateFieldRootEmits, type DateFieldRootProps, type DateFieldSegment, type DateFieldUi, type DateFieldUiSlot, provideDateFieldUi };
6
+ export { _default as DateFieldCompact, type DateFieldCompactEmits, type DateFieldCompactProps, _default$1 as DateFieldInput, type DateFieldInputProps, _default$2 as DateFieldRoot, type DateFieldRootEmits, type DateFieldRootProps, type DateFieldRootSlotProps, type DateFieldRootSlots, type DateFieldSegment, type DateFieldUi, type DateFieldUiSlot, provideDateFieldUi };