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
@@ -8,13 +8,16 @@ import { warnRemovedAttrs as o } from "../../utilities/functions/warnRemovedAttr
8
8
  import { transitions as s } from "../../utilities/misc/transitions.js";
9
9
  import { BB_ALERT_PT as c } from "./types.js";
10
10
  import { usePassthrough as l, variantPt as u } from "../../composables/usePassthrough.js";
11
- import { Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, defineComponent as v, guardReactiveProps as y, mergeModels as b, mergeProps as x, normalizeProps as S, openBlock as C, renderSlot as w, toDisplayString as T, unref as E, useAttrs as D, useModel as O, withCtx as k } from "vue";
11
+ import { Transition as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, guardReactiveProps as b, mergeModels as x, mergeProps as S, normalizeProps as C, openBlock as w, renderSlot as T, toDisplayString as E, unref as D, useAttrs as O, useModel as k, withCtx as A } from "vue";
12
12
  // src/components/BbAlert/BbAlert.vue?vue&type=script&setup=true&lang.ts
13
- var A = ["aria-live", "role"], j = { class: "bb-alert__inner-container" }, M = { class: "bb-alert__icon-container" }, N = { class: "bb-alert__content" }, P = /*@__PURE__*/ v({
13
+ var j = ["aria-live", "role"], M = { class: "bb-alert__inner-container" }, N = {
14
+ key: 0,
15
+ class: "bb-alert__icon-container"
16
+ }, P = { class: "bb-alert__content" }, F = /*@__PURE__*/ y({
14
17
  mixins: [u(c)],
15
18
  inheritAttrs: !1,
16
19
  __name: "BbAlert",
17
- props: /*@__PURE__*/ b({
20
+ props: /*@__PURE__*/ x({
18
21
  "pt:root": {},
19
22
  "pt:root:outline": {},
20
23
  "pt:root:primary": {},
@@ -65,47 +68,49 @@ var A = ["aria-live", "role"], j = { class: "bb-alert__inner-container" }, M = {
65
68
  }),
66
69
  emits: ["update:modelValue"],
67
70
  setup(s) {
68
- let u = O(s, "modelValue"), v = s, b = e("BbAlert", v, { hideClose: !1 }), P = l({
71
+ let u = k(s, "modelValue"), y = s, x = e("BbAlert", y, { hideClose: !1 }), F = l({
69
72
  component: "BbAlert",
70
- attrs: D(),
71
- props: v,
73
+ attrs: O(),
74
+ props: y,
72
75
  parts: c.parts,
73
76
  states: c.states,
74
77
  active: {},
75
78
  variant: {
76
79
  ...c.variant,
77
- current: () => v.variant
80
+ current: () => y.variant
78
81
  }
79
82
  });
80
83
  process.env.NODE_ENV !== "production" && o("BbAlert", a("BbAlert"));
81
- let { t: F } = r(), I = i(), L = f(() => v.hideIcon ? void 0 : v.icon ?? I.variantIcons?.alert?.[v.variant]), R = f(() => v.variant === "destructive" || v.variant === "warning"), z = f(() => v.role ?? (R.value ? "alert" : "status")), B = f(() => v.ariaLive ? v.ariaLive : v.role ? v.role === "alert" ? "assertive" : "polite" : R.value ? "assertive" : "polite"), V = () => {
84
+ let { t: I } = r(), L = i(), R = f(() => y.hideIcon ? void 0 : y.icon ?? L.variantIcons?.alert?.[y.variant]), z = f(() => y.variant === "destructive" || y.variant === "warning"), B = f(() => y.role ?? (z.value ? "alert" : "status")), V = f(() => y.ariaLive ? y.ariaLive : y.role ? y.role === "alert" ? "assertive" : "polite" : z.value ? "assertive" : "polite"), H = () => {
82
85
  u.value = !1;
83
86
  };
84
- return (e, r) => (C(), p(d, { name: "bb-alert-transition" }, {
85
- default: k(() => [u.value ? (C(), h("div", x({
87
+ return (e, r) => (w(), p(d, { name: "bb-alert-transition" }, {
88
+ default: A(() => [u.value ? (w(), h("div", S({
86
89
  key: 0,
87
90
  "aria-atomic": "true",
88
- "aria-live": B.value,
89
- class: ["bb-alert", `bb-alert--${v.variant}`],
90
- role: z.value,
91
- style: { "--transition-duration": `${v.transitionDuration}ms` }
92
- }, E(P).rootAttrs), [g("div", j, [g("div", M, [L.value ? (C(), p(t, x({
93
- key: 0,
91
+ "aria-live": V.value,
92
+ class: ["bb-alert", `bb-alert--${y.variant}`],
93
+ role: B.value,
94
+ style: { "--transition-duration": `${y.transitionDuration}ms` }
95
+ }, D(F).rootAttrs), [g("div", M, [R.value ? (w(), h("div", N, [v(t, S({
94
96
  class: "bb-alert__icon",
95
- icon: L.value,
97
+ icon: R.value,
96
98
  size: s.iconSize
97
- }, E(P).icon), null, 16, ["icon", "size"])) : m("", !0)]), g("div", N, [
98
- E(b).hideClose ? m("", !0) : (C(), p(n, x({
99
+ }, D(F).icon), null, 16, ["icon", "size"])])) : m("", !0), g("div", P, [
100
+ D(x).hideClose ? m("", !0) : (w(), p(n, S({
99
101
  key: 0,
100
102
  class: "bb-alert__close",
101
- label: s.closeLabel || E(F)("common.closeLabel").value,
102
- onClick: V
103
- }, E(P).close), null, 16, ["label"])),
104
- g("div", x({ class: "bb-alert__title" }, E(P).title), [w(e.$slots, "title", S(y({ text: s.title })), () => [_(T(s.title), 1)])], 16),
105
- g("div", x({ class: "bb-alert__text" }, E(P).text), [w(e.$slots, "text", S(y({ text: s.text })), () => [w(e.$slots, "default", {}, () => [_(T(s.text), 1)])])], 16)
106
- ])])], 16, A)) : m("", !0)]),
103
+ label: s.closeLabel || D(I)("common.closeLabel").value,
104
+ onClick: H
105
+ }, D(F).close), null, 16, ["label"])),
106
+ s.title || e.$slots.title ? (w(), h("div", S({
107
+ key: 1,
108
+ class: "bb-alert__title"
109
+ }, D(F).title), [T(e.$slots, "title", C(b({ text: s.title })), () => [_(E(s.title), 1)])], 16)) : m("", !0),
110
+ g("div", S({ class: "bb-alert__text" }, D(F).text), [T(e.$slots, "text", C(b({ text: s.text })), () => [T(e.$slots, "default", {}, () => [_(E(s.text), 1)])])], 16)
111
+ ])])], 16, j)) : m("", !0)]),
107
112
  _: 3
108
113
  }));
109
114
  }
110
115
  });
111
- export { P as default };
116
+ export { F as default };
@@ -5,6 +5,7 @@ type __VLS_Slots = BbAvatarSlots;
5
5
  export type { BbAvatarProps, BbAvatarSlots };
6
6
  declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
7
7
  size: number | import('../../types/CommonProps.js').CssSize | keyof import('../../types/SizeScale.js').Sizes;
8
+ color: boolean | string;
8
9
  timeout: number;
9
10
  alt: string;
10
11
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
@@ -9,83 +9,101 @@ import s from "../BbIcon/BbIcon.vue.js";
9
9
  import c from "../../assets/svgs/user.svg_raw.js";
10
10
  import { BB_AVATAR_PT as l } from "./types.js";
11
11
  import { usePassthrough as u } from "../../composables/usePassthrough.js";
12
- import { computed as d, createCommentVNode as f, createElementBlock as p, createVNode as m, defineComponent as h, mergeProps as g, normalizeClass as _, onMounted as v, openBlock as y, ref as b, renderSlot as x, unref as S, useAttrs as C, watch as w } from "vue";
12
+ import { useConfig as d } from "../../composables/useConfig.js";
13
+ import { LOCALE_TABLE as f, localeKeyOf as p } from "../../i18n/regions.js";
14
+ import { avatarHue as m, initialsOf as h } from "./avatarIdentity.js";
15
+ import { computed as g, createBlock as _, createCommentVNode as v, createElementBlock as y, defineComponent as b, mergeProps as x, normalizeClass as S, onMounted as C, openBlock as w, ref as T, renderSlot as E, toDisplayString as D, unref as O, useAttrs as k, watch as A } from "vue";
13
16
  // src/components/BbAvatar/BbAvatar.vue?vue&type=script&setup=true&lang.ts
14
- var T = [
17
+ var j = [
15
18
  "alt",
16
19
  "aria-hidden",
17
20
  "sizes",
18
21
  "src",
19
22
  "srcset"
20
- ], E = /*@__PURE__*/ h({
23
+ ], M = /*@__PURE__*/ b({
21
24
  inheritAttrs: !1,
22
25
  __name: "BbAvatar",
23
26
  props: {
24
27
  size: { default: "md" },
25
28
  "pt:root": {},
26
29
  "pt:icon": {},
30
+ "pt:initials": {},
27
31
  pt: {},
28
32
  alt: { default: "" },
33
+ name: {},
34
+ color: {
35
+ type: [Boolean, String],
36
+ default: !1
37
+ },
29
38
  src: {},
30
39
  srcset: {},
31
40
  sizes: {},
32
41
  timeout: { default: 400 }
33
42
  },
34
- setup(h) {
35
- let E = h, D = u({
43
+ setup(b) {
44
+ let M = b, N = u({
36
45
  component: "BbAvatar",
37
- attrs: C(),
38
- props: E,
46
+ attrs: k(),
47
+ props: M,
39
48
  parts: l.parts,
40
49
  states: l.states,
41
50
  active: {}
42
- }), O = n("BbAvatar", r);
51
+ }), P = n("BbAvatar", r);
43
52
  process.env.NODE_ENV !== "production" && o("BbAvatar", a("BbAvatar"));
44
- let k = i(), A = d(() => {
45
- if (E.size != null) try {
46
- return e(E.size, O.value);
53
+ let F = i(), I = g(() => {
54
+ if (M.size != null) try {
55
+ return e(M.size, P.value);
47
56
  } catch {
48
- return k.warn(`Invalid size: "${E.size}" in BbAvatar. Falling back to "md".`), `${O.value.md}px`;
57
+ return F.warn(`Invalid size: "${M.size}" in BbAvatar. Falling back to "md".`), `${P.value.md}px`;
49
58
  }
50
- }), j = d(() => {
59
+ }), L = d(), R = g(() => h(M.name, f[p(L.locale) ?? "en"].tag)), z = g(() => M.alt?.trim() || M.name?.trim() || ""), B = g(() => {
60
+ if (typeof M.color == "string" && M.color) return "bb-avatar--custom";
61
+ let e = M.color === !0 ? m(M.name) : void 0;
62
+ return e ? ["bb-avatar--colored", `bb-avatar--${e}`] : void 0;
63
+ }), V = g(() => {
51
64
  let e = {};
52
- return A.value && (e["--size"] = A.value), e;
53
- }), M = d(() => !!(E.src || E.srcset) && !z.value), N = d(() => M.value && B.value && !R.value), P = d(() => !M.value || N.value), F = d(() => !P.value || !E.alt?.trim() ? {} : {
65
+ return I.value && (e["--size"] = I.value), typeof M.color == "string" && M.color && (e["--bg"] = M.color), e;
66
+ }), H = g(() => !!(M.src || M.srcset) && !Y.value), U = g(() => H.value && X.value && !J.value), W = g(() => !H.value || U.value), G = g(() => !W.value || !z.value ? {} : {
54
67
  role: "img",
55
- "aria-label": E.alt.trim()
56
- }), I = (e) => !(!e || !e.complete || e.naturalWidth === 0), L = b(null), R = b(!1), z = b(!1), B = b(!1);
57
- v(async () => {
58
- M.value && !z.value && !R.value && L.value && (await t(E.timeout), B.value = !I(L.value));
68
+ "aria-label": z.value
69
+ }), K = (e) => !(!e || !e.complete || e.naturalWidth === 0), q = T(null), J = T(!1), Y = T(!1), X = T(!1);
70
+ C(async () => {
71
+ H.value && !Y.value && !J.value && q.value && (await t(M.timeout), X.value = !K(q.value));
59
72
  });
60
- let V = () => {
61
- R.value = !0, z.value = !1, B.value = !1;
62
- }, H = () => {
63
- z.value = !0;
73
+ let Z = () => {
74
+ J.value = !0, Y.value = !1, X.value = !1;
75
+ }, Q = () => {
76
+ Y.value = !0;
64
77
  };
65
- return w(() => [E.src, E.srcset], () => {
66
- R.value = !1, z.value = !1, B.value = !1;
67
- }), (e, t) => (y(), p("span", g({
68
- class: "bb-avatar",
69
- style: j.value
70
- }, S(D).rootAttrs), [M.value ? (y(), p("img", {
78
+ return A(() => [M.src, M.srcset], () => {
79
+ J.value = !1, Y.value = !1, X.value = !1;
80
+ }), (e, t) => (w(), y("span", x({
81
+ class: ["bb-avatar", B.value],
82
+ style: V.value
83
+ }, O(N).rootAttrs), [H.value ? (w(), y("img", {
71
84
  key: 0,
72
85
  ref_key: "image",
73
- ref: L,
74
- alt: h.alt,
75
- "aria-hidden": N.value || void 0,
76
- class: _(["bb-avatar__img", { "bb-avatar__img--hidden": N.value }]),
77
- sizes: h.sizes,
78
- src: h.src,
79
- srcset: h.srcset,
80
- onError: H,
81
- onLoad: V
82
- }, null, 42, T)) : f("", !0), P.value ? (y(), p("span", g({
86
+ ref: q,
87
+ alt: z.value,
88
+ "aria-hidden": U.value || void 0,
89
+ class: S(["bb-avatar__img", { "bb-avatar__img--hidden": U.value }]),
90
+ sizes: b.sizes,
91
+ src: b.src,
92
+ srcset: b.srcset,
93
+ onError: Q,
94
+ onLoad: Z
95
+ }, null, 42, j)) : v("", !0), W.value ? (w(), y("span", x({
83
96
  key: 1,
84
97
  class: "bb-avatar__fallback"
85
- }, F.value), [x(e.$slots, "default", {}, () => [m(s, g({
98
+ }, G.value), [E(e.$slots, "default", {}, () => [R.value ? (w(), y("span", x({
99
+ key: 0,
100
+ "aria-hidden": "true",
101
+ class: "bb-avatar__initials"
102
+ }, O(N).initials), D(R.value), 17)) : (w(), _(s, x({
103
+ key: 1,
86
104
  class: "bb-avatar__default-icon",
87
- icon: S(c)
88
- }, S(D).icon), null, 16, ["icon"])])], 16)) : f("", !0)], 16));
105
+ icon: O(c)
106
+ }, O(N).icon), null, 16, ["icon"]))])], 16)) : v("", !0)], 16));
89
107
  }
90
108
  });
91
- export { E as default };
109
+ export { M as default };
@@ -0,0 +1,25 @@
1
+ // src/components/BbAvatar/avatarIdentity.ts
2
+ var e = [
3
+ "coral",
4
+ "tangerine",
5
+ "sunflower",
6
+ "mint",
7
+ "teal",
8
+ "sky",
9
+ "blue",
10
+ "violet",
11
+ "orchid",
12
+ "rose"
13
+ ], t = /^\p{L}\p{M}*/u, n = (e, n) => {
14
+ let r = (e ?? "").trim().split(/\s+/).filter((e) => t.test(e));
15
+ if (!r.length) return "";
16
+ let i = (e) => e.match(t)[0];
17
+ return (r.length > 1 ? i(r[0]) + i(r[r.length - 1]) : i(r[0])).toLocaleUpperCase(n);
18
+ }, r = (t) => {
19
+ let n = (t ?? "").trim().replace(/\s+/g, " ").toLowerCase();
20
+ if (!n) return;
21
+ let r = 2166136261;
22
+ for (let e = 0; e < n.length; e++) r ^= n.charCodeAt(e), r = Math.imul(r, 16777619) >>> 0;
23
+ return e[r % e.length];
24
+ };
25
+ export { e as AVATAR_HUES, r as avatarHue, n as initialsOf };
@@ -6,7 +6,11 @@ export interface BbAvatarPtKeys {
6
6
  */
7
7
  'pt:root'?: PtValue;
8
8
  /**
9
- * The default user glyph — rendered only while there is no image to show and the default slot is not overridden, so it lands nowhere otherwise.
9
+ * The default user glyph — rendered only while there is no image to show, the default slot is not overridden and `name` gives no initials, so it lands nowhere otherwise.
10
10
  */
11
11
  'pt:icon'?: PtValue;
12
+ /**
13
+ * The initials from `name` — rendered only while there is no image to show and the default slot is not overridden.
14
+ */
15
+ 'pt:initials'?: PtValue;
12
16
  }
@@ -8,13 +8,15 @@ import { BbAvatarPtKeys } from './ptKeys.generated.js';
8
8
  *
9
9
  * @part root - The avatar frame, with the image or the fallback inside.
10
10
  * @part icon - The default user glyph — rendered only while there is no image
11
- * to show and the default slot is not overridden, so it lands nowhere
12
- * otherwise.
11
+ * to show, the default slot is not overridden and `name` gives no
12
+ * initials, so it lands nowhere otherwise.
13
+ * @part initials - The initials from `name` — rendered only while there is
14
+ * no image to show and the default slot is not overridden.
13
15
  */
14
- export type BbAvatarPtPart = 'root' | 'icon';
16
+ export type BbAvatarPtPart = 'root' | 'icon' | 'initials';
15
17
  /** The runtime lists the resolver is wired with — no states: nothing this component paints is a state. */
16
18
  export declare const BB_AVATAR_PT: {
17
- readonly parts: readonly ["root", "icon"];
19
+ readonly parts: readonly ["root", "icon", "initials"];
18
20
  readonly states: readonly [];
19
21
  };
20
22
  export type BbAvatarProps = Pick<BbIconProps, 'size'> & BbAvatarPtKeys & {
@@ -24,11 +26,28 @@ export type BbAvatarProps = Pick<BbIconProps, 'size'> & BbAvatarPtKeys & {
24
26
  */
25
27
  pt?: PtMap<BbAvatarPtPart, never>;
26
28
  /**
27
- * Alternative text for the image, used for accessibility.
29
+ * Alternative text for the image, used for accessibility. Without it
30
+ * the avatar is labelled with `name`.
28
31
  *
29
32
  * @defaultValue `''`
30
33
  */
31
34
  alt?: ImgHTMLAttributes['alt'];
35
+ /**
36
+ * The person's name. With no image and no default slot, the avatar
37
+ * shows its initials (first letters of the first and last word; none:
38
+ * the person icon). Also the accessible name when `alt` is empty, and
39
+ * the input of `color`.
40
+ */
41
+ name?: string;
42
+ /**
43
+ * Paints the fallback (initials or icon). `true`: a palette colour
44
+ * picked from `name`, stable across renders and the server. A string:
45
+ * any CSS colour or `var()` as the background, with black or white
46
+ * ink, whichever reads. Unset: the primary colour.
47
+ *
48
+ * @defaultValue `false`
49
+ */
50
+ color?: boolean | string;
32
51
  /**
33
52
  * Source URL of the avatar image.
34
53
  */
@@ -1,6 +1,10 @@
1
1
  // src/components/BbAvatar/types.ts
2
2
  var e = {
3
- parts: ["root", "icon"],
3
+ parts: [
4
+ "root",
5
+ "icon",
6
+ "initials"
7
+ ],
4
8
  states: []
5
9
  };
6
10
  export { e as BB_AVATAR_PT };
@@ -1,48 +1,49 @@
1
1
  import e from "../BbIcon/BbIcon.vue.js";
2
2
  import t from "../BbSpinner/BbSpinner.vue.js";
3
- import { useLogger as n } from "../../composables/useLogger.js";
4
- import { useBadgeHost as r } from "./badgeButtonContext.js";
5
- import { Fragment as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, defineComponent as l, guardReactiveProps as u, mergeProps as d, normalizeProps as f, openBlock as p, renderSlot as m, resolveDynamicComponent as h, unref as g } from "vue";
3
+ import { SlotNodes as n } from "../../utilities/functions/slotContent.js";
4
+ import { useLogger as r } from "../../composables/useLogger.js";
5
+ import { useBadgeHost as i } from "./badgeButtonContext.js";
6
+ import { Fragment as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createVNode as u, defineComponent as d, mergeProps as f, openBlock as p, renderSlot as m, unref as h } from "vue";
6
7
  // src/components/BbBadge/BadgeBodyContent.vue?vue&type=script&setup=true&lang.ts
7
- var _ = /*@__PURE__*/ l({
8
+ var g = /*@__PURE__*/ d({
8
9
  __name: "BadgeBodyContent",
9
- setup(l) {
10
- let _ = r() ?? n().throw("[BbBadge] internal body renderer mounted outside a badge — this is a bug."), v = () => _.slots["prepend:icon"] ?? (_.prependIcon.value ? void 0 : _.slots["append:icon"]), y = () => _.prependIcon.value ?? _.appendIcon.value;
11
- return (n, r) => g(_).iconOnly.value ? (p(), s(i, { key: 0 }, [g(_).loading.value ? (p(), a(t, d({
10
+ setup(d) {
11
+ let g = i() ?? r().throw("[BbBadge] internal body renderer mounted outside a badge — this is a bug."), _ = () => g.iconNodes("prepend") ?? (g.prependIcon.value ? void 0 : g.iconNodes("append")), v = () => g.prependIcon.value ?? g.appendIcon.value;
12
+ return (r, i) => h(g).iconOnly.value ? (p(), c(a, { key: 0 }, [h(g).loading.value ? (p(), o(t, f({
12
13
  key: 0,
13
14
  class: "bb-badge__spinner bb-badge__icon"
14
- }, g(_).passthrough.spinner), null, 16)) : v() ? (p(), s("span", d({
15
+ }, h(g).passthrough.spinner), null, 16)) : _() ? (p(), c("span", f({
15
16
  key: 1,
16
17
  class: "bb-badge__icon bb-badge__icon-slot"
17
- }, g(_).passthrough.icon), [(p(), a(h(v()), f(u(g(_).iconScope.value)), null, 16))], 16)) : y() ? (p(), a(e, d({
18
+ }, h(g).passthrough.icon), [u(h(n), { nodes: _() }, null, 8, ["nodes"])], 16)) : v() ? (p(), o(e, f({
18
19
  key: 2,
19
20
  class: "bb-badge__icon",
20
- icon: y()
21
- }, g(_).passthrough.icon), null, 16, ["icon"])) : o("", !0), c("span", d({ class: "bb-badge__text bb-sr-only" }, g(_).passthrough.text), [m(n.$slots, "default")], 16)], 64)) : (p(), s(i, { key: 1 }, [
22
- g(_).spinnerLeads.value ? (p(), a(t, d({
21
+ icon: v()
22
+ }, h(g).passthrough.icon), null, 16, ["icon"])) : s("", !0), l("span", f({ class: "bb-badge__text bb-sr-only" }, h(g).passthrough.text), [m(r.$slots, "default")], 16)], 64)) : (p(), c(a, { key: 1 }, [
23
+ h(g).spinnerLeads.value ? (p(), o(t, f({
23
24
  key: 0,
24
25
  class: "bb-badge__spinner bb-badge__prepend-icon"
25
- }, g(_).passthrough.spinner), null, 16)) : g(_).slots["prepend:icon"] ? (p(), s("span", d({
26
+ }, h(g).passthrough.spinner), null, 16)) : h(g).iconNodes("prepend") ? (p(), c("span", f({
26
27
  key: 1,
27
28
  class: "bb-badge__prepend-icon bb-badge__icon-slot"
28
- }, g(_).passthrough.icon), [(p(), a(h(g(_).slots["prepend:icon"]), f(u(g(_).iconScope.value)), null, 16))], 16)) : g(_).prependIcon.value ? (p(), a(e, d({
29
+ }, h(g).passthrough.icon), [u(h(n), { nodes: h(g).iconNodes("prepend") }, null, 8, ["nodes"])], 16)) : h(g).prependIcon.value ? (p(), o(e, f({
29
30
  key: 2,
30
31
  class: "bb-badge__prepend-icon",
31
- icon: g(_).prependIcon.value
32
- }, g(_).passthrough.icon), null, 16, ["icon"])) : o("", !0),
33
- c("span", d({ class: "bb-badge__text" }, g(_).passthrough.text), [m(n.$slots, "default")], 16),
34
- g(_).clearable.value ? o("", !0) : (p(), s(i, { key: 3 }, [g(_).spinnerTrails.value ? (p(), a(t, d({
32
+ icon: h(g).prependIcon.value
33
+ }, h(g).passthrough.icon), null, 16, ["icon"])) : s("", !0),
34
+ l("span", f({ class: "bb-badge__text" }, h(g).passthrough.text), [m(r.$slots, "default")], 16),
35
+ h(g).clearable.value ? s("", !0) : (p(), c(a, { key: 3 }, [h(g).spinnerTrails.value ? (p(), o(t, f({
35
36
  key: 0,
36
37
  class: "bb-badge__append-icon"
37
- }, g(_).passthrough.spinner), null, 16)) : g(_).slots["append:icon"] ? (p(), s("span", d({
38
+ }, h(g).passthrough.spinner), null, 16)) : h(g).iconNodes("append") ? (p(), c("span", f({
38
39
  key: 1,
39
40
  class: "bb-badge__append-icon bb-badge__icon-slot"
40
- }, g(_).passthrough.icon), [(p(), a(h(g(_).slots["append:icon"]), f(u(g(_).iconScope.value)), null, 16))], 16)) : g(_).appendIcon.value ? (p(), a(e, d({
41
+ }, h(g).passthrough.icon), [u(h(n), { nodes: h(g).iconNodes("append") }, null, 8, ["nodes"])], 16)) : h(g).appendIcon.value ? (p(), o(e, f({
41
42
  key: 2,
42
43
  class: "bb-badge__append-icon",
43
- icon: g(_).appendIcon.value
44
- }, g(_).passthrough.icon), null, 16, ["icon"])) : o("", !0)], 64))
44
+ icon: h(g).appendIcon.value
45
+ }, h(g).passthrough.icon), null, 16, ["icon"])) : s("", !0)], 64))
45
46
  ], 64));
46
47
  }
47
48
  });
48
- export { _ as default };
49
+ export { g as default };