bitboss-ui 3.0.0-beta.74 → 3.0.0-beta.76

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 (321) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbAvatar.md +86 -58
  5. package/dist/ai/BbBadge.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +3 -3
  7. package/dist/ai/BbButton.md +4 -4
  8. package/dist/ai/BbCalendar.md +5 -2
  9. package/dist/ai/BbCheckboxGroup.md +5 -4
  10. package/dist/ai/BbColorInput.md +13 -1
  11. package/dist/ai/BbColorPalette.md +12 -7
  12. package/dist/ai/BbConfirm.md +1 -1
  13. package/dist/ai/BbDatePicker.md +13 -1
  14. package/dist/ai/BbDatePickerInput.md +18 -2
  15. package/dist/ai/BbDialog.md +6 -3
  16. package/dist/ai/BbDropdown.md +174 -77
  17. package/dist/ai/BbDropdownButton.md +37 -16
  18. package/dist/ai/BbGallery.md +3 -2
  19. package/dist/ai/BbIcon.md +10 -10
  20. package/dist/ai/BbNumberInput.md +3 -1
  21. package/dist/ai/BbOffCanvas.md +3 -2
  22. package/dist/ai/BbPopover.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +227 -105
  25. package/dist/ai/BbSelectPopover.md +139 -14
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +18 -17
  28. package/dist/ai/BbTimePicker.md +13 -1
  29. package/dist/ai/BbTimePickerInput.md +16 -2
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbTree.md +5 -1
  32. package/dist/ai/CommonPopover.md +1 -0
  33. package/dist/ai/FlatListBox.md +1 -0
  34. package/dist/ai/GroupedListBox.md +3 -2
  35. package/dist/ai/ListBox.md +4 -2
  36. package/dist/ai/OptionsContainer.md +4 -4
  37. package/dist/ai/changelog.json +310 -7
  38. package/dist/ai/components.json +33 -35
  39. package/dist/ai/composables/useToast.md +2 -2
  40. package/dist/ai/design-tokens.json +60 -0
  41. package/dist/ai/guides/agent-contract.md +9 -5
  42. package/dist/ai/guides/calendars-and-digits.md +1 -1
  43. package/dist/ai/guides/design-tokens.md +13 -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/icons-policy.md +32 -11
  47. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  48. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  49. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  50. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  52. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  53. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  54. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  55. package/dist/ai/guides/migration/v2-to-v3.md +70 -24
  56. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  57. package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
  58. package/dist/ai/guides/passthrough.md +58 -58
  59. package/dist/ai/helpers/inertia/manifest.json +1 -1
  60. package/dist/ai/index.md +1 -1
  61. package/dist/ai/manifest/common.json +1 -0
  62. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  63. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  64. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  65. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  66. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  67. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  68. package/dist/ai/manifest/components/BbColorPalette.json +5 -2
  69. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  70. package/dist/ai/manifest/components/BbDatePicker.json +3 -0
  71. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  72. package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
  73. package/dist/ai/manifest/components/BbDropdown.json +36 -28
  74. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  75. package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
  76. package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
  77. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  78. package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
  79. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  80. package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
  81. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  82. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  83. package/dist/ai/manifest/components/BbSelect.json +47 -40
  84. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  85. package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
  86. package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
  87. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  88. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbTable.json +6 -6
  90. package/dist/ai/manifest/components/BbTable.tree.json +9 -1
  91. package/dist/ai/manifest/components/BbTimePicker.json +5 -2
  92. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  93. package/dist/ai/manifest/components/BbTree.json +1 -1
  94. package/dist/ai/manifest/components/CommonPopover.json +1 -0
  95. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  96. package/dist/ai/manifest/components/GroupedListBox.json +3 -2
  97. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  98. package/dist/ai/manifest/components/ListBox.json +3 -2
  99. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  100. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  101. package/dist/ai/manifest/index.json +2 -2
  102. package/dist/ai/manifest/meta.json +0 -3
  103. package/dist/ai/manifest/types.advanced.json +6 -6
  104. package/dist/ai/manifest/types.api.json +1 -3
  105. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  106. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  107. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  108. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  109. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  110. package/dist/ai/recipes/vue/onboarding.md +2 -2
  111. package/dist/ai/source/BbAccordion.md +4 -5
  112. package/dist/ai/source/BbAvatar.md +128 -11
  113. package/dist/ai/source/BbBadge.md +18 -7
  114. package/dist/ai/source/BbBreadcrumbs.md +57 -56
  115. package/dist/ai/source/BbButton.md +41 -25
  116. package/dist/ai/source/BbCalendar.md +8 -6
  117. package/dist/ai/source/BbCarousel.md +41 -34
  118. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  119. package/dist/ai/source/BbColorInput.md +19 -0
  120. package/dist/ai/source/BbColorPalette.md +23 -2
  121. package/dist/ai/source/BbDatePicker.md +18 -0
  122. package/dist/ai/source/BbDatePickerInput.md +47 -3
  123. package/dist/ai/source/BbDialog.md +14 -1
  124. package/dist/ai/source/BbDropdown.md +296 -99
  125. package/dist/ai/source/BbDropdownButton.md +61 -19
  126. package/dist/ai/source/BbDropdownGroup.md +189 -98
  127. package/dist/ai/source/BbGallery.md +82 -60
  128. package/dist/ai/source/BbHost.md +12 -0
  129. package/dist/ai/source/BbNumberInput.md +17 -10
  130. package/dist/ai/source/BbOffCanvas.md +14 -1
  131. package/dist/ai/source/BbPagination.md +12 -28
  132. package/dist/ai/source/BbRadioGroup.md +12 -5
  133. package/dist/ai/source/BbRating.md +4 -4
  134. package/dist/ai/source/BbSelect.md +151 -112
  135. package/dist/ai/source/BbSelectPopover.md +244 -29
  136. package/dist/ai/source/BbSwitchGroup.md +11 -4
  137. package/dist/ai/source/BbTable.md +114 -35
  138. package/dist/ai/source/BbTimePicker.md +19 -0
  139. package/dist/ai/source/BbTimePickerInput.md +21 -2
  140. package/dist/ai/source/BbToast.md +2 -2
  141. package/dist/ai/source/BbToastPortal.md +2 -2
  142. package/dist/ai/source/BbTree.md +1 -1
  143. package/dist/ai/source/ClearableButton.md +4 -2
  144. package/dist/ai/source/CommonPopover.md +24 -1
  145. package/dist/ai/source/ErrorIcon.md +4 -3
  146. package/dist/ai/source/FlatListBox.md +33 -7
  147. package/dist/ai/source/GroupedListBox.md +85 -14
  148. package/dist/ai/source/ListBox.md +11 -1
  149. package/dist/ai/source/OptionsContainer.md +29 -11
  150. package/dist/ai/source/WarningIcon.md +4 -3
  151. package/dist/assets/svgs/close.svg_raw.js +1 -1
  152. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  153. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  154. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  155. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
  156. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  157. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  158. package/dist/components/BbAvatar/types.d.ts +24 -5
  159. package/dist/components/BbAvatar/types.js +5 -1
  160. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  161. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
  162. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
  163. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  164. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  165. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  166. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  167. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
  168. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  169. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  170. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  171. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  172. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  173. package/dist/components/BbColorInput/types.d.ts +7 -0
  174. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  175. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
  176. package/dist/components/BbColorPalette/types.d.ts +7 -0
  177. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
  178. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
  179. package/dist/components/BbDatePicker/types.d.ts +7 -0
  180. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
  181. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
  182. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  183. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
  184. package/dist/components/BbDialog/leaveGhost.js +22 -17
  185. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
  186. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  187. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
  188. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
  189. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  190. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  191. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
  192. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
  193. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  194. package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
  195. package/dist/components/BbDropdown/types.d.ts +109 -87
  196. package/dist/components/BbDropdown/types.js +3 -0
  197. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
  198. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
  199. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
  200. package/dist/components/BbDropdownButton/types.d.ts +23 -10
  201. package/dist/components/BbDropdownButton/types.js +4 -0
  202. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  203. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
  204. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  205. package/dist/components/BbIcon/iconCache.js +1 -1
  206. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  207. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
  208. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
  209. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  210. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  211. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  212. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  213. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
  214. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  215. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  216. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  217. package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
  218. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
  219. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  220. package/dist/components/BbSelect/types.d.ts +110 -111
  221. package/dist/components/BbSelect/types.js +1 -27
  222. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
  223. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
  224. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  225. package/dist/components/BbSelectPopover/types.d.ts +32 -17
  226. package/dist/components/BbSelectPopover/types.js +3 -1
  227. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  228. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  229. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  230. package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
  231. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
  232. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  233. package/dist/components/BbTable/types.d.ts +11 -10
  234. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  235. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  236. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
  237. package/dist/components/BbTimePicker/types.d.ts +7 -0
  238. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
  239. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
  240. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  241. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
  242. package/dist/components/BbToast/types.d.ts +2 -2
  243. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  244. package/dist/components/BbTree/types.d.ts +1 -1
  245. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  246. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  247. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  248. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
  249. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  250. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
  251. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
  252. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  253. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  254. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  255. package/dist/composables/useInternalIcon.js +25 -0
  256. package/dist/composables/useItemsGetter.js +34 -32
  257. package/dist/composables/useOpenModel.js +20 -0
  258. package/dist/deprecation/ai-deprecations.json.js +1 -1
  259. package/dist/i18n/locales/ar.json +2 -0
  260. package/dist/i18n/locales/cs.json +2 -0
  261. package/dist/i18n/locales/da.json +2 -0
  262. package/dist/i18n/locales/de-CH.json +2 -0
  263. package/dist/i18n/locales/de.json +2 -0
  264. package/dist/i18n/locales/el.json +2 -0
  265. package/dist/i18n/locales/en-GB.json +2 -0
  266. package/dist/i18n/locales/en.json +2 -0
  267. package/dist/i18n/locales/es-MX.json +2 -0
  268. package/dist/i18n/locales/es.json +2 -0
  269. package/dist/i18n/locales/fa.json +2 -0
  270. package/dist/i18n/locales/fi.json +2 -0
  271. package/dist/i18n/locales/fr.json +2 -0
  272. package/dist/i18n/locales/he.json +2 -0
  273. package/dist/i18n/locales/hu.json +2 -0
  274. package/dist/i18n/locales/it.json +2 -0
  275. package/dist/i18n/locales/ja.json +2 -0
  276. package/dist/i18n/locales/ko.json +2 -0
  277. package/dist/i18n/locales/nb.json +2 -0
  278. package/dist/i18n/locales/nl.json +2 -0
  279. package/dist/i18n/locales/pl.json +2 -0
  280. package/dist/i18n/locales/pt-BR.json +2 -0
  281. package/dist/i18n/locales/pt-PT.json +2 -0
  282. package/dist/i18n/locales/ro.json +2 -0
  283. package/dist/i18n/locales/ru.json +2 -0
  284. package/dist/i18n/locales/sv.json +2 -0
  285. package/dist/i18n/locales/tr.json +2 -0
  286. package/dist/i18n/locales/uk.json +2 -0
  287. package/dist/i18n/locales/zh-CN.json +2 -0
  288. package/dist/i18n/locales/zh-HK.json +2 -0
  289. package/dist/i18n/locales/zh-TW.json +2 -0
  290. package/dist/icon-scan.d.ts +1 -1
  291. package/dist/icon-scan.js +68 -61
  292. package/dist/index.d.ts +2 -2
  293. package/dist/llms-full.txt +1038 -451
  294. package/dist/llms-medium.txt +33 -28
  295. package/dist/llms.txt +2 -2
  296. package/dist/locale-blueprint.json +2 -0
  297. package/dist/nuxt.js +1 -1
  298. package/dist/styles.css +2 -2
  299. package/dist/types/ActionButton.d.ts +2 -3
  300. package/dist/types/Config.d.ts +8 -1
  301. package/dist/types/ConfigDefaults.d.ts +10 -2
  302. package/dist/types/Option.d.ts +10 -0
  303. package/dist/types/internalIcons.d.ts +89 -0
  304. package/dist/types/internalIcons.js +158 -0
  305. package/dist/types/ptComponentMap.d.ts +5 -5
  306. package/dist/utilities/functions/slotContent.js +19 -0
  307. package/dist/utils/configDefaults.js +75 -64
  308. package/dist/utils/iconsOption.js +48 -0
  309. package/dist/utils/loadRetry.js +8 -0
  310. package/dist/utils/versionCheck.js +1 -1
  311. package/dist/vite-plugin.d.ts +10 -16
  312. package/dist/vite.js +323 -307
  313. package/llms.txt +2 -2
  314. package/package.json +3 -1
  315. package/scripts/README.md +2 -0
  316. package/scripts/lib/adoption-checklist.json +1 -1
  317. package/scripts/lib/agent-setup.mjs +44 -26
  318. package/scripts/lib/update-install.mjs +48 -0
  319. package/scripts/lib/validate-bb-markup.mjs +93 -12
  320. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
  321. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -3,30 +3,31 @@ 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
5
  import { useOwnModel as a } from "../../composables/useOwnModel.js";
6
- import { extractDomContainer as o } from "../../utilities/functions/extractDomContainer.js";
7
- import { useLocale as s } from "../../composables/useLocale.js";
8
- import { useLogger as c } from "../../composables/useLogger.js";
9
- import { useEscapeStackEntry as ee } from "../../composables/useEscapeStackEntry.js";
10
- import { useMobile as te } from "../../composables/useMobile.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";
11
12
  import { transitions as l } from "../../utilities/misc/transitions.js";
12
- import ne from "../CommonTimeSelector/CommonTimeSelector.vue.js";
13
- import { spokenTimeOf as re } from "../BbCalendar/useDayjsLocale.js";
14
- import { useHydrated as ie } from "../../composables/useHydrated.js";
15
- import ae from "../BbOffCanvas/BbOffCanvas.vue.js";
16
- import { BB_OFF_CANVAS_PT as oe } from "../BbOffCanvas/types.js";
17
- import se 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";
18
19
  import { BB_TIME_PICKER_PT as u } from "./types.js";
19
- import { usePassthrough as ce } from "../../composables/usePassthrough.js";
20
- import { firstFocusableMatch as le } from "../../utils/focusVisibility.js";
21
- import { withoutPt as ue } from "../../utils/passthrough.js";
22
- import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as de, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeProps as y, nextTick as fe, normalizeClass as pe, normalizeProps as me, onBeforeUnmount as he, onDeactivated as ge, openBlock as b, ref as x, renderList as _e, renderSlot as ve, toDisplayString as S, unref as C, useAttrs as ye, watch as w, withCtx as T } from "vue";
23
- import { createReusableTemplate as be } 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";
24
25
  // src/components/BbTimePicker/BbTimePicker.vue?vue&type=script&setup=true&lang.ts
25
- var xe = ["aria-label"], Se = [
26
+ var Ce = ["aria-label"], we = [
26
27
  "aria-pressed",
27
28
  "disabled",
28
29
  "onClick"
29
- ], E = /*@__PURE__*/ _({
30
+ ], T = /*@__PURE__*/ fe({
30
31
  inheritAttrs: !1,
31
32
  __name: "BbTimePicker",
32
33
  props: {
@@ -49,6 +50,7 @@ var xe = ["aria-label"], Se = [
49
50
  "pt:item:selected": {},
50
51
  "pt:item:disabled": {},
51
52
  "pt:item:open": {},
53
+ open: { type: Boolean },
52
54
  pt: {},
53
55
  activator: {},
54
56
  anchor: {},
@@ -80,114 +82,123 @@ var xe = ["aria-label"], Se = [
80
82
  "show",
81
83
  "shown",
82
84
  "hide",
85
+ "update:open",
83
86
  "hidden",
84
87
  "update:modelValue",
85
88
  "update:activeSegment",
86
89
  "error",
87
90
  "time-pick"
88
91
  ],
89
- setup(l, { emit: _ }) {
90
- let E = l, Ce = _, we = r(null, "popoverOffset"), D = E, O = Ce, { model: k, set: A } = a(D, "modelValue", (e, t) => O(e, t), () => D.range ? [] : null), j = ce({
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({
91
94
  component: "BbTimePicker",
92
- props: D,
95
+ props: E,
93
96
  parts: u.parts,
94
97
  states: u.states,
95
98
  active: {
96
- open: () => H.value,
97
- disabled: () => !!D.disabled
99
+ open: () => U.value,
100
+ disabled: () => !!E.disabled
98
101
  },
99
- attrs: ye()
100
- }), Te = t(), { isHydrated: Ee } = ie(), De = f(() => {
101
- let e = (e) => re(e, Te.locale, !!D.ampm, !!D.seconds, Ee.value), t = k.value;
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;
102
105
  return Array.isArray(t) ? t.filter(Boolean).map(e).join(" – ") : t ? e(t) : "";
103
- }), { t: M } = s(), { isMobile: N } = te(), Oe = c(), [ke, Ae] = be(), P = i().id.value, F = `${P}-panel`, je = f(() => y({
106
+ }), { t: j } = c(), { isMobile: M } = ne(), Ae = ee(), [je, N] = Se(), P = i().id.value, F = `${P}-panel`, I = f(() => v({
104
107
  id: F,
105
108
  class: ["bb-time-picker__panel", { "bb-time-picker__panel--sheet": Q.value }]
106
- }, Q.value ? {} : j.panel ?? {})), I = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, L = (e) => {
107
- let t = I.exec(e);
109
+ }, Q.value ? {} : A.panel ?? {})), L = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, R = (e) => {
110
+ let t = L.exec(e);
108
111
  if (!t) return null;
109
112
  let n = parseInt(t[1], 10), r = parseInt(t[2], 10);
110
113
  return n > 23 || r > 59 ? null : n * 60 + r;
111
114
  };
112
- for (let [e, t] of [["min", D.min], ["max", D.max]]) t && L(t) === null && Oe.throw(`BbTimePicker: ${e} must be in the format HH:mm`);
113
- let R = f(() => D.activeSegment ?? z.value), z = x("start"), Me = (e) => {
114
- z.value = e, O("update:activeSegment", e);
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);
115
118
  }, Ne = f(() => [{
116
119
  value: "start",
117
- label: M("timePickerInput.start").value
120
+ label: j("timePickerInput.start").value
118
121
  }, {
119
122
  value: "end",
120
- label: M("timePickerInput.end").value
121
- }]), Pe = f(() => `${M("timePickerInput.start").value} / ${M("timePickerInput.end").value}`), B = x(), V = x(), Fe = f(() => D.activator != null), Ie = (e) => {
122
- B.value = o(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;
123
126
  }, Le = (e) => {
124
- V.value = o(e) ?? void 0;
127
+ H.value = s(e) ?? void 0;
125
128
  };
126
- w(() => D.activator, (e) => {
127
- B.value = o(e) ?? void 0;
128
- }, { immediate: !0 }), w(() => D.anchor, (e) => {
129
- V.value = e == null ? void 0 : o(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;
130
133
  }, { immediate: !0 });
131
- let Re = f(() => V.value ?? B.value), H = x(!1), U = null, W = (e) => {
132
- D.disabled || D.readonly || (e.stopPropagation(), H.value || (Z.value = X()), H.value = !H.value);
133
- }, G = (e) => {
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);
136
+ };
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) => {
134
145
  let t = e.target;
135
- t instanceof Node && ((document.getElementById(F)?.closest(".bb-common-popover"))?.contains(t) || B.value?.contains(t) || (H.value = !1));
146
+ t instanceof Node && ((document.getElementById(F)?.closest(".bb-common-popover"))?.contains(t) || V.value?.contains(t) || (U.value = !1));
136
147
  };
137
- w(H, async (e) => {
138
- e ? (U = document.activeElement instanceof HTMLElement ? document.activeElement : null, Q.value || document.addEventListener("click", G, {
148
+ C(U, async (e) => {
149
+ e ? (W = document.activeElement instanceof HTMLElement ? document.activeElement : null, Q.value || document.addEventListener("click", G, {
139
150
  passive: !0,
140
151
  capture: !0
141
- }), await fe(), le(document.getElementById(F), "[tabindex=\"0\"]")?.focus()) : (document.removeEventListener("click", G, { capture: !0 }), U?.focus(), U = null);
152
+ }), await me(), ue(document.getElementById(F), "[tabindex=\"0\"]")?.focus()) : (document.removeEventListener("click", G, { capture: !0 }), W?.focus(), W = null);
142
153
  });
143
- let K = null, q = x();
144
- w(B, (e) => {
154
+ let K = null, q = b();
155
+ C(V, (e) => {
145
156
  if (K?.(), K = null, !e) return;
146
157
  let t = !e.id;
147
- t && (e.id = `${P}_activator`), q.value = e.id, e.addEventListener("click", W), K = () => {
148
- 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;
149
160
  };
150
161
  }, { immediate: !0 });
151
- let J = f(() => D.label ?? M("timePickerInput.openPicker").value), Y = `${P}_label`, ze = f(() => q.value ? `${Y} ${q.value}` : Y);
152
- w([B, H], ([e, t]) => {
153
- e && (e.setAttribute("aria-haspopup", "dialog"), e.setAttribute("aria-expanded", t ? "true" : "false"), e.setAttribute("aria-labelledby", `${Y} ${e.id}`), t ? e.setAttribute("aria-controls", F) : e.removeAttribute("aria-controls"));
154
- }, { immediate: !0 }), he(() => {
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(() => {
155
166
  K?.(), document.removeEventListener("click", G, { capture: !0 });
156
167
  });
157
- let Be = n("BbTimePicker", D, { adaptive: !0 }), X = () => Be.adaptive && N.value ? "canvas" : "popover", Z = x(X()), Q = f(() => Z.value === "canvas");
158
- w([
159
- () => Be.adaptive,
160
- N,
161
- 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
162
173
  ], () => {
163
- H.value || (Z.value = X());
164
- }), ee(() => H.value && !Q.value, () => H.value = !1);
165
- let Ve = f(() => ({
174
+ U.value || (Z.value = X());
175
+ }), te(() => U.value && !Q.value, () => U.value = !1);
176
+ let He = f(() => ({
166
177
  side: "bottom",
167
178
  size: "auto",
168
179
  draggable: !0,
169
- transitionDuration: D.transitionDuration,
180
+ transitionDuration: E.transitionDuration,
170
181
  hideClose: !0,
171
- ...D.offCanvasProps?.title ? {} : { "aria-labelledby": ze.value },
172
- ...ue(D.offCanvasProps)
173
- })), He = () => {
174
- B.value?.focus(), O("hidden");
175
- }, Ue = (e) => +(e === "end"), We = (e) => {
176
- let t = k.value;
177
- return t == null ? null : Array.isArray(t) ? t[Ue(e)] ?? null : e === "start" && typeof t == "string" ? t : null;
178
- }, Ge = (e) => {
179
- let t = We(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;
180
191
  return n ? {
181
192
  hour: n[1].padStart(2, "0"),
182
193
  minute: n[2].padStart(2, "0"),
183
194
  second: (n[3] ?? "").padStart(n[3] ? 2 : 0, "0")
184
195
  } : null;
185
- }, $ = f(() => Ge(R.value)), Ke = f(() => $.value?.hour ?? ""), qe = f(() => $.value?.minute ?? ""), Je = f(() => $.value?.second ?? ""), Ye = (e) => D.seconds ? `${e.hour}:${e.minute}:${e.second || "00"}` : `${e.hour}:${e.minute}`, Xe = (e) => {
186
- let t = L(e);
187
- 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;
188
- }, Ze = (e) => {
189
- O("time-pick", e);
190
- 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 } : {
191
202
  hour: "",
192
203
  minute: "",
193
204
  second: ""
@@ -196,64 +207,64 @@ var xe = ["aria-label"], Se = [
196
207
  let t = n.hour ? parseInt(n.hour, 10) : 0, r = e.value === "PM";
197
208
  r && t < 12 && (t += 12), !r && t >= 12 && (t -= 12), n.hour = String(t).padStart(2, "0");
198
209
  } else n[e.unit] = e.value;
199
- n.hour ||= "00", n.minute ||= "00", D.seconds && !n.second && (n.second = "00");
200
- let r = Ye(n), i = Xe(r);
201
- 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", {
202
213
  code: "disabled_time",
203
214
  original: r,
204
215
  normalized: i
205
- }), !D.range) {
206
- A(i);
216
+ }), !E.range) {
217
+ k(i);
207
218
  return;
208
219
  }
209
- let a = We(t === "start" ? "end" : "start"), o = t === "start" ? i : a, s = t === "start" ? a : i, c = [];
210
- o && c.push(o), s && c.push(s), A(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);
211
222
  };
212
- return ge(() => {
213
- H.value = !1;
214
- }), (t, n) => (b(), h(d, null, [
215
- Fe.value ? m("", !0) : ve(t.$slots, "activator", me(v({
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({
216
227
  props: {
217
228
  ref: Ie,
218
229
  "aria-haspopup": "dialog",
219
- "aria-expanded": H.value ? "true" : "false",
220
- "aria-labelledby": ze.value
230
+ "aria-expanded": U.value ? "true" : "false",
231
+ "aria-labelledby": Ve.value
221
232
  },
222
233
  anchorProps: { ref: Le },
223
- open: H.value,
224
- value: C(k),
225
- text: De.value,
234
+ open: U.value,
235
+ value: S(O),
236
+ text: ke.value,
226
237
  disabled: !!l.disabled
227
238
  })), void 0, void 0, 0),
228
- de("span", {
229
- id: Y,
239
+ g("span", {
240
+ id: J,
230
241
  hidden: ""
231
- }, S(J.value), 1),
232
- g(C(ke), null, {
233
- default: T(() => [l.range ? (b(), h("div", {
242
+ }, x(Be.value), 1),
243
+ _(S(je), null, {
244
+ default: w(() => [l.range ? (y(), h("div", {
234
245
  key: 0,
235
246
  "aria-label": Pe.value,
236
247
  class: "bb-time-picker__segments",
237
248
  role: "group"
238
- }, [(b(!0), h(d, null, _e(Ne.value, (e) => (b(), h("button", {
249
+ }, [(y(!0), h(d, null, ye(Ne.value, (e) => (y(), h("button", {
239
250
  key: e.value,
240
- "aria-pressed": R.value === e.value,
241
- class: pe(["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 }]),
242
253
  disabled: l.disabled || l.readonly,
243
254
  type: "button",
244
255
  onClick: (t) => Me(e.value)
245
- }, S(e.label), 11, Se))), 128))], 8, xe)) : m("", !0), g(ne, {
256
+ }, x(e.label), 11, we))), 128))], 8, Ce)) : m("", !0), _(re, {
246
257
  ampm: l.ampm,
247
258
  disabled: l.disabled || l.readonly,
248
- hour: Ke.value,
259
+ hour: qe.value,
249
260
  max: l.max,
250
261
  min: l.min,
251
- minute: qe.value,
252
- passthrough: C(j),
253
- second: Je.value,
262
+ minute: Je.value,
263
+ passthrough: S(A),
264
+ second: Ye.value,
254
265
  seconds: l.seconds,
255
266
  step: l.step,
256
- onSelect: Ze
267
+ onSelect: Qe
257
268
  }, null, 8, [
258
269
  "ampm",
259
270
  "disabled",
@@ -268,46 +279,46 @@ var xe = ["aria-label"], Se = [
268
279
  ])]),
269
280
  _: 1
270
281
  }),
271
- Q.value ? (b(), p(ae, y({
282
+ Q.value ? (y(), p(oe, v({
272
283
  key: 1,
273
- modelValue: H.value,
274
- "onUpdate:modelValue": n[0] ||= (e) => H.value = e,
284
+ modelValue: U.value,
285
+ "onUpdate:modelValue": n[0] ||= (e) => U.value = e,
275
286
  class: "bb-time-picker__sheet",
276
- pt: C(j).forward({
287
+ pt: S(A).forward({
277
288
  panel: "root",
278
289
  sheet: "root"
279
- }, C(oe).states, () => l.offCanvasProps?.pt)
280
- }, y(Ve.value, C(e)(C(j).forwardAttrs)), {
281
- onHidden: He,
282
- onHide: n[1] ||= (e) => C(O)("hide"),
283
- onShow: n[2] ||= (e) => C(O)("show"),
284
- 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")
285
296
  }), {
286
- default: T(() => [de("div", me(v(je.value)), [g(C(Ae))], 16)]),
297
+ default: w(() => [g("div", ge(pe(I.value)), [_(S(N))], 16)]),
287
298
  _: 1
288
- }, 16, ["modelValue", "pt"])) : (b(), p(se, y({
299
+ }, 16, ["modelValue", "pt"])) : (y(), p(ce, v({
289
300
  key: 2,
290
- modelValue: H.value,
291
- "onUpdate:modelValue": n[4] ||= (e) => H.value = e,
301
+ modelValue: U.value,
302
+ "onUpdate:modelValue": n[4] ||= (e) => U.value = e,
292
303
  anchor: Re.value,
293
- "aria-label": J.value,
304
+ "aria-label": Be.value,
294
305
  boundary: l.boundary,
295
- "bubble-attrs": je.value,
306
+ "bubble-attrs": I.value,
296
307
  class: "bb-time-picker",
297
308
  dialog: "",
298
309
  "disable-flip": l.disableFlip,
299
310
  eager: l.eager,
300
311
  "hide-arrow": "",
301
- offset: l.offset ?? C(we)() ?? 4,
312
+ offset: l.offset ?? S(Ee)() ?? 4,
302
313
  padding: l.padding,
303
314
  placement: l.placement,
304
315
  "transition-duration": l.transitionDuration,
305
- onHidden: n[5] ||= (e) => C(O)("hidden"),
306
- onHide: n[6] ||= (e) => C(O)("hide"),
307
- onShow: n[7] ||= (e) => C(O)("show"),
308
- onShown: n[8] ||= (e) => C(O)("shown")
309
- }, C(j).rootAttrs), {
310
- default: T(() => [g(C(Ae))]),
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))]),
311
322
  _: 1
312
323
  }, 16, [
313
324
  "modelValue",
@@ -325,4 +336,4 @@ var xe = ["aria-label"], Se = [
325
336
  ], 64));
326
337
  }
327
338
  });
328
- 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.
@@ -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,16 +63,17 @@ 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" | "offCanvasProps" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "seconds" | "ampm" | "min" | "max" | "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;
68
+ onError?: ((error: TimePickerInputError) => any) | undefined;
67
69
  "onUpdate:modelValue"?: ((value: import('../../index.js').BbTimeValue<R>) => any) | undefined;
68
70
  onInactive?: (() => any) | undefined;
69
71
  onFocus?: ((event: FocusEvent) => any) | undefined;
70
72
  onHide?: (() => any) | undefined;
71
- onError?: ((error: TimePickerInputError) => any) | undefined;
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 : {});