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
@@ -99,6 +99,11 @@ export declare const BB_TIME_PICKER_INPUT_PT: {
99
99
  */
100
100
  type BbTimePickerInputPtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_TIME_PICKER_INPUT_PT, PtVariantAttrs<TextControlPtPart | 'activator', keyof TimePickerInputVariantRegistry>> & BbTimePickerInputPtKeys;
101
101
  export type BbTimePickerInputBaseProps = BbTimePickerInputPtProps & {
102
+ /**
103
+ * Whether the panel is open (`v-model:open`; `v-model` stays the value).
104
+ * Bound, the app opens and closes it; unbound, the initial state.
105
+ */
106
+ open?: boolean;
102
107
  /**
103
108
  * Passthrough, object form: the same keys as the `pt:*` attributes
104
109
  * without the prefix. See the `pt:<part>` row.
@@ -304,6 +309,8 @@ export type BbTimePickerInputEvents<R extends boolean = boolean> = {
304
309
  (e: 'shown'): void;
305
310
  /** Emitted as soon as the time panel starts to close. */
306
311
  (e: 'hide'): void;
312
+ /** The panel opened or closed (`v-model:open`). */
313
+ (e: 'update:open', value: boolean): void;
307
314
  /** Emitted once the time panel has finished closing. */
308
315
  (e: 'hidden'): void;
309
316
  /** Emitted when the composite control receives focus. */
@@ -40,7 +40,11 @@ var ce = ["aria-live", "role"], le = ["aria-label"], ue = 3, y = 4e3, b = /*@__P
40
40
  if (!T.value) return;
41
41
  let e = w.value, t = e ? e.offsetHeight - e.clientHeight : 0, n = T.value.offsetHeight + t;
42
42
  n !== D.value && (D.value = n, S("height", x.toast.id, n));
43
- }, V = m(null), xe = async (e) => {
43
+ }, xe = {
44
+ class: "bb-button--soft-disabled",
45
+ "aria-disabled": !0,
46
+ tabindex: -1
47
+ }, V = m(null), Se = async (e) => {
44
48
  if (V.value !== null) return;
45
49
  let t = x.toast.actions?.[e];
46
50
  if (!t) return;
@@ -67,9 +71,9 @@ var ce = ["aria-live", "role"], le = ["aria-label"], ue = 3, y = 4e3, b = /*@__P
67
71
  v(() => x.paused, (e) => {
68
72
  e ? J() : q();
69
73
  }), v(() => [x.toast.updatedAt, H.value], () => Y());
70
- let X = null, Z = 0, Se = (e) => {
74
+ let X = null, Z = 0, Ce = (e) => {
71
75
  pe.value || e.button !== 0 || V.value === null && (e.target.closest("button") || (X = e.pointerId, Z = e.clientY, L.value = !0, w.value?.setPointerCapture(e.pointerId)));
72
- }, Ce = (e) => {
76
+ }, we = (e) => {
73
77
  if (!L.value || e.pointerId !== X) return;
74
78
  let t = e.clientY - Z;
75
79
  I.value = F.value === "bottom" ? Math.max(0, t) : Math.min(0, t);
@@ -99,8 +103,8 @@ var ce = ["aria-live", "role"], le = ["aria-label"], ue = 3, y = 4e3, b = /*@__P
99
103
  role: he.value,
100
104
  style: be.value,
101
105
  onPointercancel: Q,
102
- onPointerdown: Se,
103
- onPointermove: Ce,
106
+ onPointerdown: Ce,
107
+ onPointermove: we,
104
108
  onPointerup: Q
105
109
  }, C("panel")), [l("div", {
106
110
  ref_key: "innerEl",
@@ -131,21 +135,17 @@ var ce = ["aria-live", "role"], le = ["aria-label"], ue = 3, y = 4e3, b = /*@__P
131
135
  }, C("footer")), [(p(!0), c(i, null, se(u.toast.actions, (t, n) => (p(), o(ne, d({
132
136
  key: n,
133
137
  class: "bb-toast__action",
134
- disabled: V.value !== null && V.value !== n,
135
138
  loading: V.value === n,
136
- onClick: (e) => xe(n)
139
+ onClick: (e) => Se(n)
137
140
  }, { ref_for: !0 }, {
138
141
  ..._(e)({
139
142
  size: "sm",
140
143
  variant: "primary",
141
144
  ...t
142
145
  }),
146
+ ...V.value !== null && V.value !== n ? xe : {},
143
147
  ...C("action")
144
- }), null, 16, [
145
- "disabled",
146
- "loading",
147
- "onClick"
148
- ]))), 128))], 16)) : s("", !0)
148
+ }), null, 16, ["loading", "onClick"]))), 128))], 16)) : s("", !0)
149
149
  ], 16)], 64)), me.value ? (p(), c("button", d({
150
150
  key: 2,
151
151
  "aria-label": _(de)("common.closeLabel").value,
@@ -1,4 +1,4 @@
1
- import { BbToastPortalContext } from './types.js';
1
+ import { BbToastPortalSlots } from './types.js';
2
2
  /**
3
3
  * Registers named content that any toast can render by passing
4
4
  * `portal: '<name>'`. Mount it anywhere in the app (it renders nothing itself);
@@ -17,9 +17,7 @@ type __VLS_Props = {
17
17
  /** The name a toast passes as `portal: '<name>'` to render this content. */
18
18
  name: string;
19
19
  };
20
- type __VLS_Slots = {
21
- default?: (scope: BbToastPortalContext) => unknown;
22
- };
20
+ type __VLS_Slots = BbToastPortalSlots;
23
21
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
22
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
25
23
  declare const _default: typeof __VLS_export;
@@ -48,8 +48,8 @@ type BbToastShared = {
48
48
  data?: Record<string, any>;
49
49
  /**
50
50
  * Action buttons rendered in a row below the text. While a button's
51
- * `onClick` runs it shows a spinner, sibling buttons are disabled, and the
52
- * auto-dismiss timer is held; the toast dismisses (reason `'action'`) when
51
+ * `onClick` runs it shows a spinner, sibling buttons ignore clicks (keeping
52
+ * their look), and the auto-dismiss timer is held; the toast dismisses (reason `'action'`) when
53
53
  * the callback resolves. A rejected callback keeps the toast open.
54
54
  * Not rendered for portal toasts — portal content owns the whole body.
55
55
  */
@@ -79,6 +79,11 @@ export type BbToastPortalContext<P = any> = {
79
79
  data: P;
80
80
  close: () => void;
81
81
  };
82
+ /** BbToastPortal's slots; index it for one slot's type: `BbToastPortalSlots<MyData>['default']`. */
83
+ export type BbToastPortalSlots<P = any> = {
84
+ /** The toast's body, rendered per toast with its own context. */
85
+ default?: (scope: BbToastPortalContext<P>) => unknown;
86
+ };
82
87
  /**
83
88
  * Props for the `<BbToast>` host (the "Toaster").
84
89
  *
@@ -1,8 +1,9 @@
1
1
  import { slotKey as e } from "../../utilities/functions/slotKey.js";
2
- import { BbTreeContextKey as t } from "./context.js";
3
- import { Fragment as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, defineComponent as l, inject as u, mergeProps as d, openBlock as f, renderList as p, renderSlot as m, resolveComponent as h, unref as g, useSlots as _, withCtx as v } from "vue";
2
+ import { SlotChain as t } from "../../utilities/functions/slotContent.js";
3
+ import { BbTreeContextKey as n } from "./context.js";
4
+ import { Fragment as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createSlots as l, createVNode as u, defineComponent as d, inject as f, mergeProps as p, openBlock as m, renderList as h, renderSlot as g, resolveComponent as _, unref as v, useSlots as y, withCtx as b } from "vue";
4
5
  // src/components/BbTree/BbTreeLevel.vue?vue&type=script&setup=true&lang.ts
5
- var y = { class: "bb-tree__row" }, b = { class: "bb-tree__content" }, x = ["id", "inert"], S = /*@__PURE__*/ l({
6
+ var x = { class: "bb-tree__row" }, S = { class: "bb-tree__content" }, C = ["id", "inert"], w = /*@__PURE__*/ d({
6
7
  __name: "BbTreeLevel",
7
8
  props: {
8
9
  items: {},
@@ -13,33 +14,33 @@ var y = { class: "bb-tree__row" }, b = { class: "bb-tree__content" }, x = ["id",
13
14
  default: void 0
14
15
  }
15
16
  },
16
- setup(l) {
17
- let S = l, C = _(), w = u(t, null), T = (e) => !!e.children?.some((e) => !e.hidden), E = (e) => {
18
- let t = e.expandable ?? S.expandable;
19
- return typeof t == "function" ? t(e, S.depth, S.parent) : t === void 0 ? T(e) : t;
20
- }, D = (e) => typeof e == "string" || typeof e == "number", O = (e, t, n) => ({
17
+ setup(d) {
18
+ let w = d, T = y(), E = (e) => e.map((e) => T[e]), D = f(n, null), O = (e) => !!e.children?.some((e) => !e.hidden), k = (e) => {
19
+ let t = e.expandable ?? w.expandable;
20
+ return typeof t == "function" ? t(e, w.depth, w.parent) : t === void 0 ? O(e) : t;
21
+ }, A = (e) => typeof e == "string" || typeof e == "number", j = (e, t, n) => ({
21
22
  "aria-controls": n,
22
23
  "aria-expanded": t ? "true" : "false",
23
24
  onClick: (t) => {
24
- t.stopPropagation(), w?.toggleExpanded(e);
25
+ t.stopPropagation(), D?.toggleExpanded(e);
25
26
  },
26
27
  onKeydown: (t) => {
27
- t.target instanceof HTMLElement && (t.target instanceof HTMLButtonElement || (t.key === "Enter" || t.key === " ") && (t.preventDefault(), w?.toggleExpanded(e)));
28
+ t.target instanceof HTMLElement && (t.target instanceof HTMLButtonElement || (t.key === "Enter" || t.key === " ") && (t.preventDefault(), D?.toggleExpanded(e)));
28
29
  }
29
- }), k = /* @__PURE__ */ new Set(), A = r(() => S.items.filter((e) => !e.hidden).map((t, n) => {
30
- let r = w?.valueFor(t), i = w?.hashFor(t) ?? `${S.depth}:${n}`, a = E(t), o = (t.children ?? []).filter((e) => !e.hidden), s = !a && (t.expandable ?? S.expandable) !== void 0 ? !0 : w?.isExpanded(t) ?? !0, c = w ? `expanded_${w.id}_${i}` : `expanded_${i}`;
31
- s && k.add(i);
32
- let l = s || k.has(i), u = D(r) ? e(String(r)) : void 0, d = String(S.depth), f = u && C[u] ? u : C[d] ? d : void 0, p = u && C[`${u}:children`] ? `${u}:children` : C[`${d}:children`] ? `${d}:children` : void 0, m = {
30
+ }), M = /* @__PURE__ */ new Set(), N = i(() => w.items.filter((e) => !e.hidden).map((t, n) => {
31
+ let r = D?.valueFor(t), i = D?.hashFor(t) ?? `${w.depth}:${n}`, a = k(t), o = (t.children ?? []).filter((e) => !e.hidden), s = !a && (t.expandable ?? w.expandable) !== void 0 ? !0 : D?.isExpanded(t) ?? !0, c = D ? `expanded_${D.id}_${i}` : `expanded_${i}`;
32
+ s && M.add(i);
33
+ let l = s || M.has(i), u = A(r) ? e(String(r)) : void 0, d = String(w.depth), f = u ? [u, d] : [d], p = f.map((e) => `${e}:children`), m = {
33
34
  meta: t.meta,
34
35
  item: t,
35
- parent: S.parent,
36
+ parent: w.parent,
36
37
  index: n,
37
- depth: S.depth,
38
+ depth: w.depth,
38
39
  value: r,
39
40
  expanded: s,
40
41
  expandable: a,
41
- toggleExpanded: () => w?.toggleExpanded(t),
42
- expandProps: O(t, s, c)
42
+ toggleExpanded: () => D?.toggleExpanded(t),
43
+ expandProps: j(t, s, c)
43
44
  };
44
45
  return {
45
46
  hash: i,
@@ -51,40 +52,49 @@ var y = { class: "bb-tree__row" }, b = { class: "bb-tree__content" }, x = ["id",
51
52
  expandable: a,
52
53
  childrenId: c,
53
54
  mountChildren: l,
54
- slotName: f,
55
- childrenSlotName: p,
55
+ contentNames: f,
56
+ childrenNames: p,
56
57
  slotProps: m
57
58
  };
58
59
  }));
59
- return (e, t) => {
60
- let r = h("BbTreeLevel", !0);
61
- return f(!0), o(n, null, p(A.value, (t) => (f(), o("div", d({
62
- key: t.hash,
60
+ return (e, n) => {
61
+ let i = _("BbTreeLevel", !0);
62
+ return m(!0), s(r, null, h(N.value, (n) => (m(), s("div", p({
63
+ key: n.hash,
63
64
  class: ["bb-tree__item", {
64
- [`bb-tree__item--depth-${l.depth}`]: !0,
65
- "bb-tree__item--expanded": t.expanded,
66
- "bb-tree__item--leaf": t.leaf
65
+ [`bb-tree__item--depth-${d.depth}`]: !0,
66
+ "bb-tree__item--expanded": n.expanded,
67
+ "bb-tree__item--leaf": n.leaf
67
68
  }]
68
- }, { ref_for: !0 }, g(w)?.passthrough.part("item", { expanded: t.expanded })), [s("div", y, [s("div", b, [t.slotName ? m(e.$slots, t.slotName, d({ ref_for: !0 }, t.slotProps), void 0, void 0, 0) : m(e.$slots, "default", d({ ref_for: !0 }, t.slotProps), void 0, void 0, 1)])]), s("div", {
69
- id: t.childrenId,
69
+ }, { ref_for: !0 }, v(D)?.passthrough.part("item", { expanded: n.expanded })), [c("div", x, [c("div", S, [u(v(t), {
70
+ props: n.slotProps,
71
+ slots: [...E(n.contentNames), v(T).default]
72
+ }, null, 8, ["props", "slots"])])]), c("div", {
73
+ id: n.childrenId,
70
74
  class: "bb-tree__children",
71
- inert: !t.expanded
72
- }, [t.childrenSlotName ? m(e.$slots, t.childrenSlotName, d({ ref_for: !0 }, t.slotProps), void 0, void 0, 0) : t.mountChildren && t.children.length ? (f(), i(r, {
73
- key: 1,
74
- depth: l.depth + 1,
75
- expandable: l.expandable,
76
- items: t.children,
77
- parent: t.item
78
- }, c({ _: 2 }, [p(e.$slots, (t, n) => ({
79
- name: n,
80
- fn: v((t) => [m(e.$slots, n, d({ ref_for: !0 }, t))])
81
- }))]), 1032, [
82
- "depth",
83
- "expandable",
84
- "items",
85
- "parent"
86
- ])) : a("", !0)], 8, x)], 16))), 128);
75
+ inert: !n.expanded
76
+ }, [u(v(t), {
77
+ props: n.slotProps,
78
+ slots: E(n.childrenNames)
79
+ }, {
80
+ default: b(() => [n.mountChildren && n.children.length ? (m(), a(i, {
81
+ key: 0,
82
+ depth: d.depth + 1,
83
+ expandable: d.expandable,
84
+ items: n.children,
85
+ parent: n.item
86
+ }, l({ _: 2 }, [h(e.$slots, (t, n) => ({
87
+ name: n,
88
+ fn: b((t) => [g(e.$slots, n, p({ ref_for: !0 }, t))])
89
+ }))]), 1032, [
90
+ "depth",
91
+ "expandable",
92
+ "items",
93
+ "parent"
94
+ ])) : o("", !0)]),
95
+ _: 2
96
+ }, 1032, ["props", "slots"])], 8, C)], 16))), 128);
87
97
  };
88
98
  }
89
99
  });
90
- export { S as default };
100
+ export { w as default };
@@ -143,7 +143,7 @@ export type BbTreeNodeSlotProps<Meta> = {
143
143
  /**
144
144
  * @dynamicSlot `<value>` {BbTreeNodeSlotProps<Meta>} - One node, by its resolved `item-value` (string or number) through `slotKey`; beats `<depth>`, which beats `default`.
145
145
  * @dynamicSlot `<depth>` {BbTreeNodeSlotProps<Meta>} - Every node at one depth (`0` = root); a numeric value can share this name.
146
- * @dynamicSlot `<value>:children` {BbTreeNodeSlotProps<Meta>} - One node's children container, stopping the recursion there; beats `<depth>:children`. Renders for leaves too.
146
+ * @dynamicSlot `<value>:children` {BbTreeNodeSlotProps<Meta>} - One node's children container, stopping the recursion there; beats `<depth>:children`. Renders for leaves too; empty, the default children.
147
147
  * @dynamicSlot `<depth>:children` {BbTreeNodeSlotProps<Meta>} - The children container of every node at one depth.
148
148
  */
149
149
  export type BbTreeSlots<Meta = any> = {
@@ -5,7 +5,7 @@ import r from "../WarningIcon/WarningIcon.vue.js";
5
5
  import i from "../ClearableButton/ClearableButton.vue.js";
6
6
  import { Transition as a, computed as o, createBlock as s, createCommentVNode as c, createElementBlock as l, createElementVNode as u, createVNode as d, defineComponent as f, mergeProps as p, normalizeClass as m, onBeforeUnmount as h, openBlock as g, ref as _, renderSlot as v, withCtx as y, withModifiers as b } from "vue";
7
7
  // src/components/CommonFieldInput/CommonFieldInput.vue?vue&type=script&setup=true&lang.ts
8
- var x = /*@__PURE__*/ f({
8
+ var x = "a[href], button, input, textarea, select, summary, [role=\"button\"], [role=\"link\"], [contenteditable]:not([contenteditable=\"false\"])", S = /*@__PURE__*/ f({
9
9
  __name: "CommonFieldInput",
10
10
  props: {
11
11
  "append:icon": {},
@@ -28,47 +28,47 @@ var x = /*@__PURE__*/ f({
28
28
  variant: { default: "outline" }
29
29
  },
30
30
  emits: ["click:clear", "container:click"],
31
- setup(f, { emit: x }) {
32
- let S = f, C = x, w = _(), T = _(!1), E = _(!1), D = null, O = o(() => !!S.hasWarnings && !S.hasErrors), k = () => {
33
- D !== null && clearTimeout(D), D = setTimeout(() => {
34
- T.value = !0;
31
+ setup(f, { emit: S }) {
32
+ let C = f, w = S, T = _(), E = _(!1), D = _(!1), O = null, k = o(() => !!C.hasWarnings && !C.hasErrors), A = () => {
33
+ O !== null && clearTimeout(O), O = setTimeout(() => {
34
+ E.value = !0;
35
35
  }, 150);
36
- }, A = () => {
37
- D !== null && (clearTimeout(D), D = null), T.value = !1;
38
- }, j = o(() => {
39
- let e = S.hasValue ?? !0;
40
- return !!S.clearable && e && !S.disabled && !S.readonly;
41
- }), M = o(() => j.value && (T.value || E.value || !!S.active));
36
+ }, j = () => {
37
+ O !== null && (clearTimeout(O), O = null), E.value = !1;
38
+ }, M = o(() => {
39
+ let e = C.hasValue ?? !0;
40
+ return !!C.clearable && e && !C.disabled && !C.readonly;
41
+ }), N = o(() => M.value && (E.value || D.value || !!C.active));
42
42
  h(() => {
43
- D !== null && clearTimeout(D);
43
+ O !== null && clearTimeout(O);
44
44
  });
45
- let N = (e) => {
46
- w.value?.contains(e.relatedTarget) || (E.value = !1);
47
- }, P = () => w.value?.querySelector("input,textarea") ?? null, F = (e) => {
48
- if (!w.value || S.preventFocus || S.disabled) return;
49
- let t = e.target;
50
- t.tagName !== "INPUT" && t.tagName !== "TEXTAREA" && (t.closest(".bb-clearable-button") || (P()?.focus(), C("container:click")));
51
- }, I = o(() => {
45
+ let P = (e) => {
46
+ T.value?.contains(e.relatedTarget) || (D.value = !1);
47
+ }, F = () => T.value?.querySelector("input,textarea") ?? null, I = (e) => {
48
+ if (!T.value || C.preventFocus || C.disabled) return;
49
+ let t = e.target?.closest?.(x);
50
+ t && t !== T.value && T.value.contains(t) || (F()?.focus(), w("container:click"));
51
+ }, L = o(() => {
52
52
  let e = {
53
- onClick: F,
53
+ onClick: I,
54
54
  onFocusin: () => {
55
- E.value = !0;
55
+ D.value = !0;
56
56
  },
57
- onFocusout: N,
58
- onPointerenter: k,
59
- onPointerleave: A
57
+ onFocusout: P,
58
+ onPointerenter: A,
59
+ onPointerleave: j
60
60
  };
61
- return S.passthrough?.box ? p(e, S.passthrough.box) : e;
62
- }), L = () => {
63
- j.value && (C("click:clear"), P()?.focus());
61
+ return C.passthrough?.box ? p(e, C.passthrough.box) : e;
62
+ }), R = () => {
63
+ M.value && (w("click:clear"), F()?.focus());
64
64
  };
65
65
  return (o, h) => (g(), l("span", { class: m(["bb-field-input", {
66
66
  "bb-field-input--active": f.active,
67
- "bb-field-input--clearable": j.value,
67
+ "bb-field-input--clearable": M.value,
68
68
  "bb-field-input--compact": f.compact,
69
69
  "bb-field-input--disabled": f.disabled,
70
70
  "bb-field-input--errors": f.hasErrors,
71
- "bb-field-input--warnings": O.value,
71
+ "bb-field-input--warnings": k.value,
72
72
  "bb-field-input--loading": f.loading,
73
73
  "bb-field-input--readonly": f.readonly,
74
74
  [`bb-field-input--${f.variant}`]: f.variant !== "none"
@@ -76,9 +76,9 @@ var x = /*@__PURE__*/ f({
76
76
  v(o.$slots, "prepend:outer"),
77
77
  u("span", p({
78
78
  ref_key: "container",
79
- ref: w,
79
+ ref: T,
80
80
  class: "bb-field-input__box"
81
- }, I.value), [
81
+ }, L.value), [
82
82
  v(o.$slots, "prepend", {}, () => [o.$slots.prefix ? (g(), l("span", p({
83
83
  key: 0,
84
84
  class: "bb-field-input__prefix"
@@ -89,19 +89,19 @@ var x = /*@__PURE__*/ f({
89
89
  icon: o.$props["prepend:icon"]
90
90
  }, f.passthrough?.icon), null, 16, ["icon"])) : c("", !0),
91
91
  v(o.$slots, "default"),
92
- u("span", { class: m(["bb-field-input__icon-spacer", { "bb-field-input__icon-spacer--reserved": S.reserveAppendSpace }]) }, [d(a, {
92
+ u("span", { class: m(["bb-field-input__icon-spacer", { "bb-field-input__icon-spacer--reserved": C.reserveAppendSpace }]) }, [d(a, {
93
93
  appear: "",
94
94
  name: "bb-field-input-icon"
95
95
  }, {
96
- default: y(() => [M.value ? (g(), s(i, p({
96
+ default: y(() => [N.value ? (g(), s(i, p({
97
97
  key: "clear",
98
98
  class: "bb-field-input__clear",
99
- onClick: L,
99
+ onClick: R,
100
100
  onMousedown: h[0] ||= b(() => {}, ["prevent"])
101
101
  }, f.passthrough?.clear), null, 16)) : f.loading ? (g(), s(t, p({
102
102
  key: "spinner",
103
103
  class: "bb-field-input__spinner"
104
- }, f.passthrough?.spinner), null, 16)) : f.hasErrors ? (g(), s(n, { key: "error" })) : O.value ? (g(), s(r, { key: "warning" })) : o.$props["append:icon"] ? (g(), s(e, p({
104
+ }, f.passthrough?.spinner), null, 16)) : f.hasErrors ? (g(), s(n, { key: "error" })) : k.value ? (g(), s(r, { key: "warning" })) : o.$props["append:icon"] ? (g(), s(e, p({
105
105
  key: "icon",
106
106
  class: "bb-field-input__append-icon",
107
107
  icon: o.$props["append:icon"]
@@ -117,4 +117,4 @@ var x = /*@__PURE__*/ f({
117
117
  ], 2));
118
118
  }
119
119
  });
120
- export { x as default };
120
+ export { S as default };
@@ -22,6 +22,7 @@ var k = /*@__PURE__*/ f({
22
22
  anchor: {},
23
23
  boundary: {},
24
24
  overflowBoundary: {},
25
+ boundaryX: {},
25
26
  dialog: { type: Boolean },
26
27
  hideArrow: { type: Boolean },
27
28
  tag: { default: "div" },
@@ -55,11 +56,22 @@ var k = /*@__PURE__*/ f({
55
56
  }) : k.bubbleAttrs), U = c(() => {
56
57
  let e = R.value, t = z.value;
57
58
  return [
58
- ...k.disableFlip ? [] : [ne()],
59
59
  ie(k.offset),
60
- ae({
60
+ ...k.disableFlip ? [] : [ne({ padding: k.padding })],
61
+ ae(e || !k.boundaryX ? {
61
62
  padding: k.padding,
62
63
  ...e ? { boundary: e } : {}
64
+ } : () => {
65
+ let { left: e, width: t } = k.boundaryX.getBoundingClientRect();
66
+ return {
67
+ padding: k.padding,
68
+ boundary: {
69
+ x: e,
70
+ y: 0,
71
+ width: t,
72
+ height: document.documentElement.clientHeight
73
+ }
74
+ };
63
75
  }),
64
76
  oe({
65
77
  padding: k.padding,
@@ -2,7 +2,7 @@ import { useLocale as e } from "../../composables/useLocale.js";
2
2
  import { computed as t, watch as n } from "vue";
3
3
  // src/components/CommonTimeSelector/useMeridiem.ts
4
4
  var r = () => {
5
- let { t: r } = e(), i = t(() => r("datePickerInput.meridiemAm").value), a = t(() => r("datePickerInput.meridiemPm").value), o = (e) => e === "PM" ? a.value : i.value, s = (e) => !!e && (e === a.value || e === "PM"), c = t(() => {
5
+ let { t: r } = e(), i = t(() => r("datePickerInput.meridiemAm").value), a = t(() => r("datePickerInput.meridiemPm").value), o = (e) => e === "PM" ? a.value : i.value, s = (e) => e.replace(/[.\s]/g, "").toLowerCase(), c = (e) => !!e && (e === a.value || s(e) === s(a.value) || s(e) === "pm"), l = t(() => {
6
6
  let e = {
7
7
  a: i.value,
8
8
  p: a.value
@@ -16,21 +16,21 @@ var r = () => {
16
16
  am: i,
17
17
  pm: a,
18
18
  label: o,
19
- isPm: s,
20
- keys: c,
19
+ isPm: c,
20
+ keys: l,
21
21
  fieldSpec: t(() => ({
22
22
  kind: "enum",
23
23
  maxLength: Math.max(i.value.length, a.value.length) * 2,
24
24
  enum: {
25
25
  values: [i.value, a.value],
26
- keys: c.value
26
+ keys: l.value
27
27
  },
28
28
  sizerMin: i.value.length >= a.value.length ? i.value : a.value,
29
29
  label: "AM/PM"
30
30
  })),
31
31
  match: (e, t) => {
32
- let n = (e) => e.replace(/\s+/g, " ").trim().toLowerCase(), r = n(t && e.startsWith(t) ? e.slice(t.length) : e);
33
- return r ? r.endsWith(n(a.value)) || r === "pm" ? a.value : r.endsWith(n(i.value)) || r === "am" ? i.value : c.value[r[r.length - 1]] ?? null : null;
32
+ let n = s(t && e.startsWith(t) ? e.slice(t.length) : e);
33
+ return n ? n.endsWith(s(a.value)) || n === "pm" ? a.value : n.endsWith(s(i.value)) || n === "am" ? i.value : l.value[n[n.length - 1]] ?? null : null;
34
34
  },
35
35
  onRelabel: (e) => n([i, a], ([t, n], [r, i]) => {
36
36
  r !== t && e(r, t), i !== n && e(i, n);