bitboss-ui 3.0.0-beta.73 → 3.0.0-beta.75

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 (345) hide show
  1. package/README.md +4 -2
  2. package/bin/bitboss-ui-mcp.mjs +101 -3
  3. package/bin/bitboss-ui.mjs +6 -1
  4. package/bin/cli.mjs +31 -5
  5. package/dist/ai/BbAvatar.md +86 -58
  6. package/dist/ai/BbBadge.md +5 -5
  7. package/dist/ai/BbBreadcrumbs.md +2 -2
  8. package/dist/ai/BbButton.md +2 -2
  9. package/dist/ai/BbCalendar.md +9 -5
  10. package/dist/ai/BbCheckboxGroup.md +5 -4
  11. package/dist/ai/BbColorInput.md +12 -0
  12. package/dist/ai/BbColorPalette.md +19 -15
  13. package/dist/ai/BbConfirmPortal.md +1 -1
  14. package/dist/ai/BbDatePicker.md +16 -3
  15. package/dist/ai/BbDatePickerInput.md +17 -1
  16. package/dist/ai/BbDialog.md +16 -4
  17. package/dist/ai/BbDropdown.md +175 -67
  18. package/dist/ai/BbDropdownButton.md +27 -8
  19. package/dist/ai/BbForm.md +4 -1
  20. package/dist/ai/BbHoverCardPortal.md +1 -1
  21. package/dist/ai/BbNumberInput.md +8 -4
  22. package/dist/ai/BbPopoverPortal.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +79 -67
  25. package/dist/ai/BbSelectPopover.md +24 -5
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +59 -34
  28. package/dist/ai/BbTimePicker.md +16 -3
  29. package/dist/ai/BbTimePickerInput.md +15 -1
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbToastPortal.md +1 -1
  32. package/dist/ai/BbTree.md +5 -1
  33. package/dist/ai/CommonPopover.md +1 -0
  34. package/dist/ai/FlatListBox.md +1 -0
  35. package/dist/ai/GroupedListBox.md +1 -0
  36. package/dist/ai/ListBox.md +1 -0
  37. package/dist/ai/OptionsContainer.md +4 -4
  38. package/dist/ai/changelog.json +215 -6
  39. package/dist/ai/components.json +77 -43
  40. package/dist/ai/composables/useToast.md +2 -2
  41. package/dist/ai/design-tokens.json +60 -0
  42. package/dist/ai/guides/agent-contract.md +8 -4
  43. package/dist/ai/guides/design-tokens.md +33 -0
  44. package/dist/ai/guides/eslint-rules.md +1 -1
  45. package/dist/ai/guides/fetch-items-playbook.md +7 -11
  46. package/dist/ai/guides/inertia-helpers.md +613 -53
  47. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  48. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  49. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  50. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  52. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  53. package/dist/ai/guides/migration/v2-to-v3.md +46 -5
  54. package/dist/ai/guides/migration/v3-beta-tooling.md +4 -0
  55. package/dist/ai/guides/passthrough.md +3 -3
  56. package/dist/ai/guides/preset-components.md +15 -2
  57. package/dist/ai/guides/reporting.md +49 -0
  58. package/dist/ai/helpers/inertia/manifest.json +33 -38
  59. package/dist/ai/helpers/inertia/useHasChanged.ts +25 -37
  60. package/dist/ai/helpers/inertia/useQuery.ts +24 -6
  61. package/dist/ai/helpers/inertia/utils.ts +552 -3
  62. package/dist/ai/index.md +2 -1
  63. package/dist/ai/manifest/common.json +1 -0
  64. package/dist/ai/manifest/components/BbAlert.tree.json +1 -1
  65. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  66. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  67. package/dist/ai/manifest/components/BbCalendar.json +2 -2
  68. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  69. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  70. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  71. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  72. package/dist/ai/manifest/components/BbColorPalette.json +7 -4
  73. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  74. package/dist/ai/manifest/components/BbConfirmPortal.json +1 -1
  75. package/dist/ai/manifest/components/BbDatePicker.json +6 -3
  76. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  77. package/dist/ai/manifest/components/BbDialog.tree.json +7 -1
  78. package/dist/ai/manifest/components/BbDropdown.json +23 -17
  79. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  80. package/dist/ai/manifest/components/BbDropdown.tree.json +16 -5
  81. package/dist/ai/manifest/components/BbDropdownButton.json +15 -9
  82. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  83. package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -0
  84. package/dist/ai/manifest/components/BbForm.json +1 -1
  85. package/dist/ai/manifest/components/BbHoverCard.json +1 -1
  86. package/dist/ai/manifest/components/BbHoverCardPortal.json +1 -1
  87. package/dist/ai/manifest/components/BbNumberInput.json +1 -1
  88. package/dist/ai/manifest/components/BbOffCanvas.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbPopover.json +1 -1
  90. package/dist/ai/manifest/components/BbPopoverPortal.json +1 -1
  91. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  92. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  93. package/dist/ai/manifest/components/BbSelect.json +10 -7
  94. package/dist/ai/manifest/components/BbSelectPopover.json +7 -4
  95. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -1
  96. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  97. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  98. package/dist/ai/manifest/components/BbTable.json +6 -6
  99. package/dist/ai/manifest/components/BbTable.tree.json +16 -6
  100. package/dist/ai/manifest/components/BbTimePicker.json +7 -4
  101. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  102. package/dist/ai/manifest/components/BbToastPortal.json +1 -1
  103. package/dist/ai/manifest/components/BbTree.json +1 -1
  104. package/dist/ai/manifest/components/CommonPopover.json +2 -1
  105. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  106. package/dist/ai/manifest/components/GroupedListBox.json +2 -1
  107. package/dist/ai/manifest/components/ListBox.json +2 -1
  108. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  109. package/dist/ai/manifest/index.json +2 -2
  110. package/dist/ai/manifest/meta.json +36 -3
  111. package/dist/ai/manifest/types.advanced.json +81 -80
  112. package/dist/ai/manifest/types.api.json +64 -65
  113. package/dist/ai/manifest/types.wrapper.json +155 -118
  114. package/dist/ai/recipes/inertia/layout-scaffold.md +3 -1
  115. package/dist/ai/recipes/nuxt/layout-scaffold.md +3 -1
  116. package/dist/ai/recipes/vue/layout-scaffold.md +3 -1
  117. package/dist/ai/source/BbAlert.md +16 -4
  118. package/dist/ai/source/BbAvatar.md +121 -9
  119. package/dist/ai/source/BbBadge.md +12 -5
  120. package/dist/ai/source/BbBreadcrumbs.md +56 -55
  121. package/dist/ai/source/BbButton.md +41 -25
  122. package/dist/ai/source/BbCalendar.md +22 -12
  123. package/dist/ai/source/BbCarousel.md +31 -28
  124. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  125. package/dist/ai/source/BbColorInput.md +19 -0
  126. package/dist/ai/source/BbColorPalette.md +59 -12
  127. package/dist/ai/source/BbConfirm.md +7 -0
  128. package/dist/ai/source/BbConfirmPortal.md +9 -4
  129. package/dist/ai/source/BbDatePicker.md +71 -22
  130. package/dist/ai/source/BbDatePickerInput.md +72 -9
  131. package/dist/ai/source/BbDialog.md +45 -2
  132. package/dist/ai/source/BbDropdown.md +263 -63
  133. package/dist/ai/source/BbDropdownButton.md +27 -2
  134. package/dist/ai/source/BbDropdownGroup.md +121 -59
  135. package/dist/ai/source/BbForm.md +73 -6
  136. package/dist/ai/source/BbGallery.md +76 -55
  137. package/dist/ai/source/BbHost.md +12 -0
  138. package/dist/ai/source/BbHoverCard.md +7 -0
  139. package/dist/ai/source/BbHoverCardPortal.md +9 -5
  140. package/dist/ai/source/BbNumberInput.md +22 -16
  141. package/dist/ai/source/BbOffCanvas.md +48 -2
  142. package/dist/ai/source/BbPopover.md +7 -0
  143. package/dist/ai/source/BbPopoverPortal.md +9 -5
  144. package/dist/ai/source/BbRadio.md +4 -3
  145. package/dist/ai/source/BbRadioGroup.md +19 -10
  146. package/dist/ai/source/BbSelect.md +35 -20
  147. package/dist/ai/source/BbSelectPopover.md +116 -8
  148. package/dist/ai/source/BbSwitchGroup.md +11 -4
  149. package/dist/ai/source/BbTable.md +126 -32
  150. package/dist/ai/source/BbTag.md +10 -3
  151. package/dist/ai/source/BbTimePicker.md +69 -15
  152. package/dist/ai/source/BbTimePickerInput.md +45 -7
  153. package/dist/ai/source/BbToast.md +16 -2
  154. package/dist/ai/source/BbToastPortal.md +18 -6
  155. package/dist/ai/source/BbTree.md +1 -1
  156. package/dist/ai/source/CommonFieldInput.md +11 -5
  157. package/dist/ai/source/CommonPopover.md +28 -2
  158. package/dist/ai/source/FlatListBox.md +26 -5
  159. package/dist/ai/source/GroupedListBox.md +63 -11
  160. package/dist/ai/source/ListBox.md +4 -0
  161. package/dist/ai/source/OptionsContainer.md +29 -11
  162. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +31 -26
  163. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  164. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +61 -43
  165. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  166. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  167. package/dist/components/BbAvatar/types.d.ts +24 -5
  168. package/dist/components/BbAvatar/types.js +5 -1
  169. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  170. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +80 -79
  171. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +152 -158
  172. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  173. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  174. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +235 -234
  175. package/dist/components/BbCalendar/types.d.ts +2 -2
  176. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  177. package/dist/components/BbCalendar/useDayjsLocale.js +11 -8
  178. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +7 -7
  179. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  180. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  181. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  182. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  183. package/dist/components/BbColorInput/types.d.ts +7 -0
  184. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  185. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +239 -223
  186. package/dist/components/BbColorPalette/types.d.ts +8 -1
  187. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +2 -4
  188. package/dist/components/BbConfirm/types.d.ts +5 -0
  189. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +4 -2
  190. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +160 -143
  191. package/dist/components/BbDatePicker/types.d.ts +9 -2
  192. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -1
  193. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +483 -496
  194. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  195. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +252 -236
  196. package/dist/components/BbDialog/leaveGhost.js +38 -0
  197. package/dist/components/BbDialog/overlayActions.js +34 -20
  198. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +92 -87
  199. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  200. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +419 -368
  201. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +384 -340
  202. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  203. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  204. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +133 -119
  205. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +73 -45
  206. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  207. package/dist/components/BbDropdown/ptKeys.generated.d.ts +8 -0
  208. package/dist/components/BbDropdown/types.d.ts +73 -58
  209. package/dist/components/BbDropdown/types.js +1 -0
  210. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +2 -0
  211. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -72
  212. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +48 -0
  213. package/dist/components/BbDropdownButton/types.d.ts +13 -2
  214. package/dist/components/BbDropdownButton/types.js +2 -0
  215. package/dist/components/BbForm/BbForm.vue.d.ts +2 -21
  216. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +229 -227
  217. package/dist/components/BbForm/types.d.ts +31 -0
  218. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +318 -296
  219. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  220. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +2 -5
  221. package/dist/components/BbHoverCard/types.d.ts +5 -0
  222. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +10 -6
  223. package/dist/components/BbNumberInput/numberDisplay.js +102 -106
  224. package/dist/components/BbNumberInput/types.d.ts +4 -3
  225. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +425 -409
  226. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +2 -5
  227. package/dist/components/BbPopover/types.d.ts +5 -0
  228. package/dist/components/BbRadio/types.d.ts +4 -3
  229. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -106
  230. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  231. package/dist/components/BbSelect/BbSelect.vue.d.ts +3 -1
  232. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +167 -163
  233. package/dist/components/BbSelect/types.d.ts +23 -20
  234. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +3 -1
  235. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +680 -637
  236. package/dist/components/BbSelectPopover/types.d.ts +10 -4
  237. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  238. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  239. package/dist/components/BbTable/BbTable.vue.d.ts +1 -3
  240. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1182 -1165
  241. package/dist/components/BbTable/BbTableDataRow.js +96 -96
  242. package/dist/components/BbTable/types.d.ts +11 -10
  243. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +9 -3
  244. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  245. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +157 -140
  246. package/dist/components/BbTimePicker/types.d.ts +9 -2
  247. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +3 -1
  248. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +278 -268
  249. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  250. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +12 -12
  251. package/dist/components/BbToast/BbToastPortal.vue.d.ts +2 -4
  252. package/dist/components/BbToast/types.d.ts +7 -2
  253. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  254. package/dist/components/BbTree/types.d.ts +1 -1
  255. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +36 -36
  256. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +14 -2
  257. package/dist/components/CommonTimeSelector/useMeridiem.js +6 -6
  258. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +115 -96
  259. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +194 -166
  260. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  261. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  262. package/dist/composables/formSubmitLock.js +2 -1
  263. package/dist/composables/overlayRegistry.js +52 -42
  264. package/dist/composables/useActiveInactiveState.js +8 -4
  265. package/dist/composables/useBbDialog.js +5 -5
  266. package/dist/composables/useItemsGetter.js +34 -32
  267. package/dist/composables/useOpenModel.js +20 -0
  268. package/dist/composables/useOwnModel.js +16 -0
  269. package/dist/composables/useSegmentedFields.js +31 -20
  270. package/dist/deprecation/ai-deprecations.json.js +1 -1
  271. package/dist/i18n/currencyDigits.js +58 -0
  272. package/dist/i18n/locales/ar.json +2 -0
  273. package/dist/i18n/locales/cs.json +2 -0
  274. package/dist/i18n/locales/da.json +2 -0
  275. package/dist/i18n/locales/de-CH.json +2 -0
  276. package/dist/i18n/locales/de.json +2 -0
  277. package/dist/i18n/locales/el.json +2 -0
  278. package/dist/i18n/locales/en-GB.json +2 -0
  279. package/dist/i18n/locales/en.json +2 -0
  280. package/dist/i18n/locales/es-MX.json +2 -0
  281. package/dist/i18n/locales/es.json +2 -0
  282. package/dist/i18n/locales/fa.json +2 -0
  283. package/dist/i18n/locales/fi.json +2 -0
  284. package/dist/i18n/locales/fr.json +2 -0
  285. package/dist/i18n/locales/he.json +2 -0
  286. package/dist/i18n/locales/hu.json +2 -0
  287. package/dist/i18n/locales/it.json +2 -0
  288. package/dist/i18n/locales/ja.json +2 -0
  289. package/dist/i18n/locales/ko.json +2 -0
  290. package/dist/i18n/locales/nb.json +2 -0
  291. package/dist/i18n/locales/nl.json +2 -0
  292. package/dist/i18n/locales/pl.json +2 -0
  293. package/dist/i18n/locales/pt-BR.json +2 -0
  294. package/dist/i18n/locales/pt-PT.json +2 -0
  295. package/dist/i18n/locales/ro.json +2 -0
  296. package/dist/i18n/locales/ru.json +2 -0
  297. package/dist/i18n/locales/sv.json +2 -0
  298. package/dist/i18n/locales/tr.json +2 -0
  299. package/dist/i18n/locales/uk.json +2 -0
  300. package/dist/i18n/locales/zh-CN.json +2 -0
  301. package/dist/i18n/locales/zh-HK.json +2 -0
  302. package/dist/i18n/locales/zh-TW.json +2 -0
  303. package/dist/i18n/regionDates.js +250 -0
  304. package/dist/i18n/regionHints.js +30 -41
  305. package/dist/icon-scan.js +68 -61
  306. package/dist/index.d.ts +35 -31
  307. package/dist/llms-full.txt +1428 -400
  308. package/dist/llms-medium.txt +8 -4
  309. package/dist/llms.txt +4 -2
  310. package/dist/locale-blueprint.json +2 -0
  311. package/dist/styles.css +2 -2
  312. package/dist/types/ActionButton.d.ts +2 -1
  313. package/dist/types/CommonProps.d.ts +8 -0
  314. package/dist/types/Option.d.ts +10 -0
  315. package/dist/types/ptComponentMap.d.ts +3 -3
  316. package/dist/utilities/functions/hash.js +97 -64
  317. package/dist/utilities/functions/isEqual.js +33 -25
  318. package/dist/utilities/functions/slotContent.js +19 -0
  319. package/dist/utils/loadRetry.js +8 -0
  320. package/dist/utils/versionCheck.js +1 -1
  321. package/dist/vite-plugin.d.ts +2 -1
  322. package/dist/vite.js +11 -4
  323. package/llms.txt +4 -2
  324. package/package.json +3 -2
  325. package/scripts/README.md +3 -1
  326. package/scripts/lib/adoption-checklist.json +6 -5
  327. package/scripts/lib/agent-manifest.mjs +33 -6
  328. package/scripts/lib/agent-setup.mjs +90 -24
  329. package/scripts/lib/cldr-pins.ts +182 -0
  330. package/scripts/lib/engines-include.d.mts +5 -0
  331. package/scripts/lib/engines-include.mjs +40 -0
  332. package/scripts/lib/eslint-plugin.mjs +8 -2
  333. package/scripts/lib/hidden-label-placeholder.mjs +25 -5
  334. package/scripts/lib/idiom-scan.mjs +30 -3
  335. package/scripts/lib/legacy-agent-files.json +152 -0
  336. package/scripts/lib/mcp-config.mjs +74 -7
  337. package/scripts/lib/portal-names.mjs +78 -8
  338. package/scripts/lib/release-results.mjs +5 -2
  339. package/scripts/lib/report.mjs +340 -0
  340. package/scripts/lib/run-beat.mjs +14 -0
  341. package/scripts/lib/run-records.mjs +313 -0
  342. package/scripts/lib/selector-log.mjs +98 -0
  343. package/scripts/lib/ticket-beat.mjs +30 -0
  344. package/scripts/lib/validate-bb-markup.mjs +37 -2
  345. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
@@ -2,29 +2,32 @@ import { asSheetAttrs as e } from "../BbOffCanvas/sheetAttrs.js";
2
2
  import { useConfig as t } from "../../composables/useConfig.js";
3
3
  import { useConfigDefaults as n, useConfigSetting as r } from "../../composables/useConfigDefaults.js";
4
4
  import { useId as i } from "../../composables/useId.js";
5
- import { extractDomContainer as a } from "../../utilities/functions/extractDomContainer.js";
6
- import { useLocale as o } from "../../composables/useLocale.js";
7
- import { useLogger as s } from "../../composables/useLogger.js";
8
- import { useEscapeStackEntry as c } from "../../composables/useEscapeStackEntry.js";
9
- import { useMobile as ee } from "../../composables/useMobile.js";
5
+ import { useOwnModel as a } from "../../composables/useOwnModel.js";
6
+ import { useOpenModel as o } from "../../composables/useOpenModel.js";
7
+ import { extractDomContainer as s } from "../../utilities/functions/extractDomContainer.js";
8
+ import { useLocale as c } from "../../composables/useLocale.js";
9
+ import { useLogger as ee } from "../../composables/useLogger.js";
10
+ import { useEscapeStackEntry as te } from "../../composables/useEscapeStackEntry.js";
11
+ import { useMobile as ne } from "../../composables/useMobile.js";
10
12
  import { transitions as l } from "../../utilities/misc/transitions.js";
11
- import te from "../CommonTimeSelector/CommonTimeSelector.vue.js";
12
- import { spokenTimeOf as ne } from "../BbCalendar/useDayjsLocale.js";
13
- import re from "../BbOffCanvas/BbOffCanvas.vue.js";
14
- import { BB_OFF_CANVAS_PT as ie } from "../BbOffCanvas/types.js";
15
- import ae from "../CommonPopover/CommonPopover.vue.js";
13
+ import re from "../CommonTimeSelector/CommonTimeSelector.vue.js";
14
+ import { spokenTimeOf as ie } from "../BbCalendar/useDayjsLocale.js";
15
+ import { useHydrated as ae } from "../../composables/useHydrated.js";
16
+ import oe from "../BbOffCanvas/BbOffCanvas.vue.js";
17
+ import { BB_OFF_CANVAS_PT as se } from "../BbOffCanvas/types.js";
18
+ import ce from "../CommonPopover/CommonPopover.vue.js";
16
19
  import { BB_TIME_PICKER_PT as u } from "./types.js";
17
- import { usePassthrough as oe } from "../../composables/usePassthrough.js";
18
- import { firstFocusableMatch as se } from "../../utils/focusVisibility.js";
19
- import { withoutPt as ce } from "../../utils/passthrough.js";
20
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as le, guardReactiveProps as ue, mergeProps as v, nextTick as de, normalizeClass as fe, normalizeProps as y, onBeforeUnmount as pe, onDeactivated as me, openBlock as b, ref as x, renderList as he, renderSlot as ge, toDisplayString as S, unref as C, useAttrs as _e, watch as w, withCtx as T } from "vue";
21
- import { createReusableTemplate as ve } from "@vueuse/core";
20
+ import { usePassthrough as le } from "../../composables/usePassthrough.js";
21
+ import { firstFocusableMatch as ue } from "../../utils/focusVisibility.js";
22
+ import { withoutPt as de } from "../../utils/passthrough.js";
23
+ import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createVNode as _, defineComponent as fe, guardReactiveProps as pe, mergeProps as v, nextTick as me, normalizeClass as he, normalizeProps as ge, onBeforeUnmount as _e, onDeactivated as ve, openBlock as y, ref as b, renderList as ye, renderSlot as be, toDisplayString as x, unref as S, useAttrs as xe, watch as C, withCtx as w } from "vue";
24
+ import { createReusableTemplate as Se } from "@vueuse/core";
22
25
  // src/components/BbTimePicker/BbTimePicker.vue?vue&type=script&setup=true&lang.ts
23
- var ye = ["aria-label"], be = [
26
+ var Ce = ["aria-label"], we = [
24
27
  "aria-pressed",
25
28
  "disabled",
26
29
  "onClick"
27
- ], E = /*@__PURE__*/ le({
30
+ ], T = /*@__PURE__*/ fe({
28
31
  inheritAttrs: !1,
29
32
  __name: "BbTimePicker",
30
33
  props: {
@@ -47,6 +50,7 @@ var ye = ["aria-label"], be = [
47
50
  "pt:item:selected": {},
48
51
  "pt:item:disabled": {},
49
52
  "pt:item:open": {},
53
+ open: { type: Boolean },
50
54
  pt: {},
51
55
  activator: {},
52
56
  anchor: {},
@@ -78,110 +82,123 @@ var ye = ["aria-label"], be = [
78
82
  "show",
79
83
  "shown",
80
84
  "hide",
85
+ "update:open",
81
86
  "hidden",
82
87
  "update:modelValue",
83
88
  "update:activeSegment",
84
89
  "error",
85
90
  "time-pick"
86
91
  ],
87
- setup(l, { emit: le }) {
88
- let E = l, xe = le, Se = r(null, "popoverOffset"), D = E, O = xe, k = oe({
92
+ setup(l, { emit: fe }) {
93
+ let T = l, Te = fe, Ee = r(null, "popoverOffset"), E = T, D = Te, { model: O, set: k } = a(E, "modelValue", (e, t) => D(e, t), () => E.range ? [] : null), A = le({
89
94
  component: "BbTimePicker",
90
- props: D,
95
+ props: E,
91
96
  parts: u.parts,
92
97
  states: u.states,
93
98
  active: {
94
- open: () => H.value,
95
- disabled: () => !!D.disabled
99
+ open: () => U.value,
100
+ disabled: () => !!E.disabled
96
101
  },
97
- attrs: _e()
98
- }), Ce = t(), we = f(() => {
99
- let e = (e) => ne(e, Ce.locale, !!D.ampm, !!D.seconds), t = D.modelValue;
102
+ attrs: xe()
103
+ }), De = t(), { isHydrated: Oe } = ae(), ke = f(() => {
104
+ let e = (e) => ie(e, De.locale, !!E.ampm, !!E.seconds, Oe.value), t = O.value;
100
105
  return Array.isArray(t) ? t.filter(Boolean).map(e).join(" – ") : t ? e(t) : "";
101
- }), { t: A } = o(), { isMobile: j } = ee(), Te = s(), [Ee, M] = ve(), N = i().id.value, P = `${N}-panel`, F = f(() => v({
102
- id: P,
103
- class: ["bb-time-picker__panel", { "bb-time-picker__panel--sheet": Z.value }]
104
- }, Z.value ? {} : k.panel ?? {})), I = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, L = (e) => {
105
- let t = I.exec(e);
106
+ }), { t: j } = c(), { isMobile: M } = ne(), Ae = ee(), [je, N] = Se(), P = i().id.value, F = `${P}-panel`, I = f(() => v({
107
+ id: F,
108
+ class: ["bb-time-picker__panel", { "bb-time-picker__panel--sheet": Q.value }]
109
+ }, Q.value ? {} : A.panel ?? {})), L = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, R = (e) => {
110
+ let t = L.exec(e);
106
111
  if (!t) return null;
107
112
  let n = parseInt(t[1], 10), r = parseInt(t[2], 10);
108
113
  return n > 23 || r > 59 ? null : n * 60 + r;
109
114
  };
110
- for (let [e, t] of [["min", D.min], ["max", D.max]]) t && L(t) === null && Te.throw(`BbTimePicker: ${e} must be in the format HH:mm`);
111
- let R = f(() => D.activeSegment ?? z.value), z = x("start"), De = (e) => {
112
- z.value = e, O("update:activeSegment", e);
113
- }, Oe = f(() => [{
115
+ for (let [e, t] of [["min", E.min], ["max", E.max]]) t && R(t) === null && Ae.throw(`BbTimePicker: ${e} must be in the format HH:mm`);
116
+ let z = f(() => E.activeSegment ?? B.value), B = b("start"), Me = (e) => {
117
+ B.value = e, D("update:activeSegment", e);
118
+ }, Ne = f(() => [{
114
119
  value: "start",
115
- label: A("timePickerInput.start").value
120
+ label: j("timePickerInput.start").value
116
121
  }, {
117
122
  value: "end",
118
- label: A("timePickerInput.end").value
119
- }]), ke = f(() => `${A("timePickerInput.start").value} / ${A("timePickerInput.end").value}`), B = x(), V = x(), Ae = f(() => D.activator != null), je = (e) => {
120
- B.value = a(e) ?? void 0;
121
- }, Me = (e) => {
122
- V.value = a(e) ?? void 0;
123
+ label: j("timePickerInput.end").value
124
+ }]), Pe = f(() => `${j("timePickerInput.start").value} / ${j("timePickerInput.end").value}`), V = b(), H = b(), Fe = f(() => E.activator != null), Ie = (e) => {
125
+ V.value = s(e) ?? void 0;
126
+ }, Le = (e) => {
127
+ H.value = s(e) ?? void 0;
123
128
  };
124
- w(() => D.activator, (e) => {
125
- B.value = a(e) ?? void 0;
126
- }, { immediate: !0 }), w(() => D.anchor, (e) => {
127
- V.value = e == null ? void 0 : a(e) ?? void 0;
129
+ C(() => E.activator, (e) => {
130
+ V.value = s(e) ?? void 0;
131
+ }, { immediate: !0 }), C(() => E.anchor, (e) => {
132
+ H.value = e == null ? void 0 : s(e) ?? void 0;
128
133
  }, { immediate: !0 });
129
- let Ne = f(() => V.value ?? B.value), H = x(!1), U = null, W = (e) => {
130
- D.disabled || D.readonly || (e.stopPropagation(), H.value || (X.value = Y()), H.value = !H.value);
131
- }, G = (e) => {
132
- e.target instanceof HTMLDialogElement && (H.value = !1);
134
+ let Re = f(() => H.value ?? V.value), U = b(!1), W = null, ze = (e) => {
135
+ E.disabled || E.readonly || (e.stopPropagation(), U.value || (Z.value = X()), U.value = !U.value);
133
136
  };
134
- w(H, async (e) => {
135
- e ? (U = document.activeElement instanceof HTMLElement ? document.activeElement : null, Z.value || document.addEventListener("click", G, { passive: !0 }), await de(), se(document.getElementById(P), "[tabindex=\"0\"]")?.focus()) : (document.removeEventListener("click", G), U?.focus(), U = null);
137
+ o(E, D, {
138
+ isOpen: () => U.value,
139
+ open: () => {
140
+ E.disabled || E.readonly || (Z.value = X(), U.value = !0);
141
+ },
142
+ close: () => U.value = !1
143
+ });
144
+ let G = (e) => {
145
+ let t = e.target;
146
+ t instanceof Node && ((document.getElementById(F)?.closest(".bb-common-popover"))?.contains(t) || V.value?.contains(t) || (U.value = !1));
147
+ };
148
+ C(U, async (e) => {
149
+ e ? (W = document.activeElement instanceof HTMLElement ? document.activeElement : null, Q.value || document.addEventListener("click", G, {
150
+ passive: !0,
151
+ capture: !0
152
+ }), await me(), ue(document.getElementById(F), "[tabindex=\"0\"]")?.focus()) : (document.removeEventListener("click", G, { capture: !0 }), W?.focus(), W = null);
136
153
  });
137
- let K = null, q = x();
138
- w(B, (e) => {
154
+ let K = null, q = b();
155
+ C(V, (e) => {
139
156
  if (K?.(), K = null, !e) return;
140
157
  let t = !e.id;
141
- t && (e.id = `${N}_activator`), q.value = e.id, e.addEventListener("click", W), K = () => {
142
- e.removeEventListener("click", W), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-labelledby"), e.removeAttribute("aria-controls"), t && e.removeAttribute("id"), q.value = void 0;
158
+ t && (e.id = `${P}_activator`), q.value = e.id, e.addEventListener("click", ze), K = () => {
159
+ e.removeEventListener("click", ze), e.removeAttribute("aria-haspopup"), e.removeAttribute("aria-expanded"), e.removeAttribute("aria-labelledby"), e.removeAttribute("aria-controls"), t && e.removeAttribute("id"), q.value = void 0;
143
160
  };
144
161
  }, { immediate: !0 });
145
- let Pe = f(() => D.label ?? A("timePickerInput.openPicker").value), J = `${N}_label`, Fe = f(() => q.value ? `${J} ${q.value}` : J);
146
- w([B, H], ([e, t]) => {
147
- e && (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", t ? "true" : "false"), e.setAttribute("aria-labelledby", `${J} ${e.id}`), t ? e.setAttribute("aria-controls", P) : e.removeAttribute("aria-controls"));
148
- }, { immediate: !0 }), pe(() => {
149
- K?.(), document.removeEventListener("click", G);
162
+ let Be = f(() => E.label ?? j("timePickerInput.openPicker").value), J = `${P}_label`, Ve = f(() => q.value ? `${J} ${q.value}` : J);
163
+ C([V, U], ([e, t]) => {
164
+ e && (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", t ? "true" : "false"), e.setAttribute("aria-labelledby", `${J} ${e.id}`), t ? e.setAttribute("aria-controls", F) : e.removeAttribute("aria-controls"));
165
+ }, { immediate: !0 }), _e(() => {
166
+ K?.(), document.removeEventListener("click", G, { capture: !0 });
150
167
  });
151
- let Ie = n("BbTimePicker", D, { adaptive: !0 }), Y = () => Ie.adaptive && j.value ? "canvas" : "popover", X = x(Y()), Z = f(() => X.value === "canvas");
152
- w([
153
- () => Ie.adaptive,
154
- j,
155
- H
168
+ let Y = n("BbTimePicker", E, { adaptive: !0 }), X = () => Y.adaptive && M.value ? "canvas" : "popover", Z = b(X()), Q = f(() => Z.value === "canvas");
169
+ C([
170
+ () => Y.adaptive,
171
+ M,
172
+ U
156
173
  ], () => {
157
- H.value || (X.value = Y());
158
- }), c(() => H.value && !Z.value, () => H.value = !1);
159
- let Le = f(() => ({
174
+ U.value || (Z.value = X());
175
+ }), te(() => U.value && !Q.value, () => U.value = !1);
176
+ let He = f(() => ({
160
177
  side: "bottom",
161
178
  size: "auto",
162
179
  draggable: !0,
163
- transitionDuration: D.transitionDuration,
180
+ transitionDuration: E.transitionDuration,
164
181
  hideClose: !0,
165
- ...D.offCanvasProps?.title ? {} : { "aria-labelledby": Fe.value },
166
- ...ce(D.offCanvasProps)
167
- })), Re = () => {
168
- B.value?.focus(), O("hidden");
169
- }, ze = (e) => +(e === "end"), Q = (e) => {
170
- let t = D.modelValue;
171
- return t == null ? null : Array.isArray(t) ? t[ze(e)] ?? null : e === "start" && typeof t == "string" ? t : null;
172
- }, Be = (e) => {
173
- let t = Q(e), n = t ? I.exec(t) : null;
182
+ ...E.offCanvasProps?.title ? {} : { "aria-labelledby": Ve.value },
183
+ ...de(E.offCanvasProps)
184
+ })), Ue = () => {
185
+ V.value?.focus(), D("hidden");
186
+ }, We = (e) => +(e === "end"), Ge = (e) => {
187
+ let t = O.value;
188
+ return t == null ? null : Array.isArray(t) ? t[We(e)] ?? null : e === "start" && typeof t == "string" ? t : null;
189
+ }, Ke = (e) => {
190
+ let t = Ge(e), n = t ? L.exec(t) : null;
174
191
  return n ? {
175
192
  hour: n[1].padStart(2, "0"),
176
193
  minute: n[2].padStart(2, "0"),
177
194
  second: (n[3] ?? "").padStart(n[3] ? 2 : 0, "0")
178
195
  } : null;
179
- }, $ = f(() => Be(R.value)), Ve = f(() => $.value?.hour ?? ""), He = f(() => $.value?.minute ?? ""), Ue = f(() => $.value?.second ?? ""), We = (e) => D.seconds ? `${e.hour}:${e.minute}:${e.second || "00"}` : `${e.hour}:${e.minute}`, Ge = (e) => {
180
- let t = L(e);
181
- return t === null ? e : D.min && t < L(D.min) ? D.min + (D.seconds ? ":00" : "") : D.max && t > L(D.max) ? D.max + (D.seconds ? ":00" : "") : e;
182
- }, Ke = (e) => {
183
- O("time-pick", e);
184
- let t = R.value, n = $.value ? { ...$.value } : {
196
+ }, $ = f(() => Ke(z.value)), qe = f(() => $.value?.hour ?? ""), Je = f(() => $.value?.minute ?? ""), Ye = f(() => $.value?.second ?? ""), Xe = (e) => E.seconds ? `${e.hour}:${e.minute}:${e.second || "00"}` : `${e.hour}:${e.minute}`, Ze = (e) => {
197
+ let t = R(e);
198
+ return t === null ? e : E.min && t < R(E.min) ? E.min + (E.seconds ? ":00" : "") : E.max && t > R(E.max) ? E.max + (E.seconds ? ":00" : "") : e;
199
+ }, Qe = (e) => {
200
+ D("time-pick", e);
201
+ let t = z.value, n = $.value ? { ...$.value } : {
185
202
  hour: "",
186
203
  minute: "",
187
204
  second: ""
@@ -190,64 +207,64 @@ var ye = ["aria-label"], be = [
190
207
  let t = n.hour ? parseInt(n.hour, 10) : 0, r = e.value === "PM";
191
208
  r && t < 12 && (t += 12), !r && t >= 12 && (t -= 12), n.hour = String(t).padStart(2, "0");
192
209
  } else n[e.unit] = e.value;
193
- n.hour ||= "00", n.minute ||= "00", D.seconds && !n.second && (n.second = "00");
194
- let r = We(n), i = Ge(r);
195
- if (i !== r && O("error", {
210
+ n.hour ||= "00", n.minute ||= "00", E.seconds && !n.second && (n.second = "00");
211
+ let r = Xe(n), i = Ze(r);
212
+ if (i !== r && D("error", {
196
213
  code: "disabled_time",
197
214
  original: r,
198
215
  normalized: i
199
- }), !D.range) {
200
- O("update:modelValue", i);
216
+ }), !E.range) {
217
+ k(i);
201
218
  return;
202
219
  }
203
- let a = Q(t === "start" ? "end" : "start"), o = t === "start" ? i : a, s = t === "start" ? a : i, c = [];
204
- o && c.push(o), s && c.push(s), O("update:modelValue", c);
220
+ let a = Ge(t === "start" ? "end" : "start"), o = t === "start" ? i : a, s = t === "start" ? a : i, c = [];
221
+ o && c.push(o), s && c.push(s), k(c);
205
222
  };
206
- return me(() => {
207
- H.value = !1;
208
- }), (t, n) => (b(), h(d, null, [
209
- Ae.value ? m("", !0) : ge(t.$slots, "activator", y(ue({
223
+ return ve(() => {
224
+ U.value = !1;
225
+ }), (t, n) => (y(), h(d, null, [
226
+ Fe.value ? m("", !0) : be(t.$slots, "activator", ge(pe({
210
227
  props: {
211
- ref: je,
228
+ ref: Ie,
212
229
  "aria-haspopup": "dialog",
213
- "aria-expanded": H.value ? "true" : "false",
214
- "aria-labelledby": Fe.value
230
+ "aria-expanded": U.value ? "true" : "false",
231
+ "aria-labelledby": Ve.value
215
232
  },
216
- anchorProps: { ref: Me },
217
- open: H.value,
218
- value: l.modelValue,
219
- text: we.value,
233
+ anchorProps: { ref: Le },
234
+ open: U.value,
235
+ value: S(O),
236
+ text: ke.value,
220
237
  disabled: !!l.disabled
221
238
  })), void 0, void 0, 0),
222
239
  g("span", {
223
240
  id: J,
224
241
  hidden: ""
225
- }, S(Pe.value), 1),
226
- _(C(Ee), null, {
227
- default: T(() => [l.range ? (b(), h("div", {
242
+ }, x(Be.value), 1),
243
+ _(S(je), null, {
244
+ default: w(() => [l.range ? (y(), h("div", {
228
245
  key: 0,
229
- "aria-label": ke.value,
246
+ "aria-label": Pe.value,
230
247
  class: "bb-time-picker__segments",
231
248
  role: "group"
232
- }, [(b(!0), h(d, null, he(Oe.value, (e) => (b(), h("button", {
249
+ }, [(y(!0), h(d, null, ye(Ne.value, (e) => (y(), h("button", {
233
250
  key: e.value,
234
- "aria-pressed": R.value === e.value,
235
- class: fe(["bb-time-picker__segment", { "bb-time-picker__segment--active": R.value === e.value }]),
251
+ "aria-pressed": z.value === e.value,
252
+ class: he(["bb-time-picker__segment", { "bb-time-picker__segment--active": z.value === e.value }]),
236
253
  disabled: l.disabled || l.readonly,
237
254
  type: "button",
238
- onClick: (t) => De(e.value)
239
- }, S(e.label), 11, be))), 128))], 8, ye)) : m("", !0), _(te, {
255
+ onClick: (t) => Me(e.value)
256
+ }, x(e.label), 11, we))), 128))], 8, Ce)) : m("", !0), _(re, {
240
257
  ampm: l.ampm,
241
258
  disabled: l.disabled || l.readonly,
242
- hour: Ve.value,
259
+ hour: qe.value,
243
260
  max: l.max,
244
261
  min: l.min,
245
- minute: He.value,
246
- passthrough: C(k),
247
- second: Ue.value,
262
+ minute: Je.value,
263
+ passthrough: S(A),
264
+ second: Ye.value,
248
265
  seconds: l.seconds,
249
266
  step: l.step,
250
- onSelect: Ke
267
+ onSelect: Qe
251
268
  }, null, 8, [
252
269
  "ampm",
253
270
  "disabled",
@@ -262,46 +279,46 @@ var ye = ["aria-label"], be = [
262
279
  ])]),
263
280
  _: 1
264
281
  }),
265
- Z.value ? (b(), p(re, v({
282
+ Q.value ? (y(), p(oe, v({
266
283
  key: 1,
267
- modelValue: H.value,
268
- "onUpdate:modelValue": n[0] ||= (e) => H.value = e,
284
+ modelValue: U.value,
285
+ "onUpdate:modelValue": n[0] ||= (e) => U.value = e,
269
286
  class: "bb-time-picker__sheet",
270
- pt: C(k).forward({
287
+ pt: S(A).forward({
271
288
  panel: "root",
272
289
  sheet: "root"
273
- }, C(ie).states, () => l.offCanvasProps?.pt)
274
- }, v(Le.value, C(e)(C(k).forwardAttrs)), {
275
- onHidden: Re,
276
- onHide: n[1] ||= (e) => C(O)("hide"),
277
- onShow: n[2] ||= (e) => C(O)("show"),
278
- onShown: n[3] ||= (e) => C(O)("shown")
290
+ }, S(se).states, () => l.offCanvasProps?.pt)
291
+ }, v(He.value, S(e)(S(A).forwardAttrs)), {
292
+ onHidden: Ue,
293
+ onHide: n[1] ||= (e) => S(D)("hide"),
294
+ onShow: n[2] ||= (e) => S(D)("show"),
295
+ onShown: n[3] ||= (e) => S(D)("shown")
279
296
  }), {
280
- default: T(() => [g("div", y(ue(F.value)), [_(C(M))], 16)]),
297
+ default: w(() => [g("div", ge(pe(I.value)), [_(S(N))], 16)]),
281
298
  _: 1
282
- }, 16, ["modelValue", "pt"])) : (b(), p(ae, v({
299
+ }, 16, ["modelValue", "pt"])) : (y(), p(ce, v({
283
300
  key: 2,
284
- modelValue: H.value,
285
- "onUpdate:modelValue": n[4] ||= (e) => H.value = e,
286
- anchor: Ne.value,
287
- "aria-label": Pe.value,
301
+ modelValue: U.value,
302
+ "onUpdate:modelValue": n[4] ||= (e) => U.value = e,
303
+ anchor: Re.value,
304
+ "aria-label": Be.value,
288
305
  boundary: l.boundary,
289
- "bubble-attrs": F.value,
306
+ "bubble-attrs": I.value,
290
307
  class: "bb-time-picker",
291
308
  dialog: "",
292
309
  "disable-flip": l.disableFlip,
293
310
  eager: l.eager,
294
311
  "hide-arrow": "",
295
- offset: l.offset ?? C(Se)() ?? 4,
312
+ offset: l.offset ?? S(Ee)() ?? 4,
296
313
  padding: l.padding,
297
314
  placement: l.placement,
298
315
  "transition-duration": l.transitionDuration,
299
- onHidden: n[5] ||= (e) => C(O)("hidden"),
300
- onHide: n[6] ||= (e) => C(O)("hide"),
301
- onShow: n[7] ||= (e) => C(O)("show"),
302
- onShown: n[8] ||= (e) => C(O)("shown")
303
- }, C(k).rootAttrs), {
304
- default: T(() => [_(C(M))]),
316
+ onHidden: n[5] ||= (e) => S(D)("hidden"),
317
+ onHide: n[6] ||= (e) => S(D)("hide"),
318
+ onShow: n[7] ||= (e) => S(D)("show"),
319
+ onShown: n[8] ||= (e) => S(D)("shown")
320
+ }, S(A).rootAttrs), {
321
+ default: w(() => [_(S(N))]),
305
322
  _: 1
306
323
  }, 16, [
307
324
  "modelValue",
@@ -319,4 +336,4 @@ var ye = ["aria-label"], be = [
319
336
  ], 64));
320
337
  }
321
338
  });
322
- export { E as default };
339
+ export { T as default };
@@ -71,6 +71,11 @@ export type BbTimeModel<R extends boolean = boolean> = BbTimeValue<R> | null;
71
71
  */
72
72
  type BbTimePickerPtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_TIME_PICKER_PT> & BbTimePickerPtKeys;
73
73
  export type BbTimePickerBaseProps = BbTimePickerPtProps & {
74
+ /**
75
+ * Whether the panel is open (`v-model:open`; `v-model` stays the value).
76
+ * Bound, the app opens and closes it; unbound, the initial state.
77
+ */
78
+ open?: boolean;
74
79
  /**
75
80
  * Passthrough, object form: the same keys as the `pt:*` attributes
76
81
  * without the prefix. See the `pt:<part>` row.
@@ -94,7 +99,7 @@ export type BbTimePickerBaseProps = BbTimePickerPtProps & {
94
99
  * v-model value: `null` for empty, a 24-hour `HH:mm` (or `HH:mm:ss` with
95
100
  * `seconds`) string, or a two-element `[start, end]` array when `range` is true.
96
101
  */
97
- modelValue: string | string[] | null;
102
+ modelValue?: string | string[] | null;
98
103
  /**
99
104
  * Which end the columns edit in range mode (`v-model:active-segment`).
100
105
  * Standalone use manages this internally via the in-panel toggle; a host can
@@ -180,7 +185,7 @@ export type BbTimePickerBaseProps = BbTimePickerPtProps & {
180
185
  */
181
186
  export type BbTimePickerModelProps<R extends boolean = boolean> = {
182
187
  range?: R;
183
- modelValue: PtNoInfer<BbTimeModel<R>>;
188
+ modelValue?: PtNoInfer<BbTimeModel<R>>;
184
189
  };
185
190
  export type BbTimePickerProps<R extends boolean = boolean> = BbTimePickerBaseProps & BbTimePickerModelProps<R>;
186
191
  export type BbTimePickerEvents<R extends boolean = boolean> = {
@@ -190,6 +195,8 @@ export type BbTimePickerEvents<R extends boolean = boolean> = {
190
195
  (e: 'shown'): void;
191
196
  /** Emitted as soon as the time panel starts to close. */
192
197
  (e: 'hide'): void;
198
+ /** The panel opened or closed (`v-model:open`). */
199
+ (e: 'update:open', value: boolean): void;
193
200
  /** Emitted once the time panel has finished closing. */
194
201
  (e: 'hidden'): void;
195
202
  /** Emitted when the selected time changes (single/range/null). */
@@ -21,6 +21,7 @@ declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable
21
21
  };
22
22
  }> | undefined;
23
23
  } & import('../../types/passthrough.js').PtVariantAttrs<import('../../types/passthrough.js').TextControlPtPart | "activator", keyof import('../../index.js').TimePickerInputVariantRegistry> & import('./ptKeys.generated.js').BbTimePickerInputPtKeys & {
24
+ open?: boolean;
24
25
  pt?: { [K in import('./types.js').BbTimePickerInputPtKey]?: import('../../types/passthrough.js').PtValue; } & { [K in `${import('../../types/passthrough.js').TextControlPtPart | "activator"}:${import('../../types/InputVariant.js').InputVariantBuiltIn | keyof import('../../index.js').TimePickerInputVariantRegistry}`]?: import('../../types/passthrough.js').PtValue; };
25
26
  adaptive?: boolean;
26
27
  ampm?: boolean;
@@ -62,7 +63,7 @@ declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable
62
63
  seconds?: boolean;
63
64
  step?: number;
64
65
  transitionDuration?: number;
65
- } & import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> & BbTimePickerInputModelProps<R> & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "loading" | "description" | "hint" | "step" | "pt" | "onError" | "variant" | "prepend:icon" | "append:icon" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "transitionDuration" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "max" | "offCanvasProps" | "seconds" | "ampm" | "min" | "disableWriting" | keyof import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> | keyof import('./ptKeys.generated.js').BbTimePickerInputPtKeys | "onFocus" | keyof BbTimePickerInputModelProps<R>> & {} & ControlAttrs<"input", "form" | "spellcheck" | "autocapitalize" | "autocorrect" | "enterkeyhint">) & {
66
+ } & import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> & BbTimePickerInputModelProps<R> & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "open" | "loading" | "description" | "hint" | "step" | "pt" | "onError" | "variant" | "prepend:icon" | "append:icon" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "transitionDuration" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "max" | "offCanvasProps" | "seconds" | "ampm" | "min" | "disableWriting" | keyof import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> | keyof import('./ptKeys.generated.js').BbTimePickerInputPtKeys | "onFocus" | keyof BbTimePickerInputModelProps<R>> & {} & ControlAttrs<"input", "form" | "spellcheck" | "autocapitalize" | "autocorrect" | "enterkeyhint">) & {
66
67
  onActive?: (() => any) | undefined;
67
68
  "onUpdate:modelValue"?: ((value: import('../../index.js').BbTimeValue<R>) => any) | undefined;
68
69
  onInactive?: (() => any) | undefined;
@@ -72,6 +73,7 @@ declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable
72
73
  onShow?: (() => any) | undefined;
73
74
  onShown?: (() => any) | undefined;
74
75
  onHidden?: (() => any) | undefined;
76
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
75
77
  }> & (typeof globalThis extends {
76
78
  __VLS_PROPS_FALLBACK: infer P;
77
79
  } ? P : {});