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
@@ -7,12 +7,13 @@ import { BB_SELECT_POPOVER_PT as n } from "../BbSelectPopover/types.js";
7
7
  import { useMobile as re } from "../../composables/useMobile.js";
8
8
  import { useConfigDefaults as r } from "../../composables/useConfigDefaults.js";
9
9
  import { useFormBinding as ie } from "../../composables/useFormBinding.js";
10
- import { useLocale as i } from "../../composables/useLocale.js";
11
- import { SELECT_CONTROL_NATIVE_ATTRS as a, formControlPtActive as o, usePassthrough as s, variantPt as c } from "../../composables/usePassthrough.js";
12
- import { removedPropsFor as ae } from "../../deprecation/removedProps.js";
13
- import { warnRemovedAttrs as l } from "../../utilities/functions/warnRemovedAttrs.js";
14
- import { hasVnodeListener as u } from "../../utilities/functions/hasVnodeListener.js";
15
- import { isNotEmpty as d } from "../../utilities/functions/isNotEmpty.js";
10
+ import { useOpenProp as i } from "../../composables/useOpenModel.js";
11
+ import { useLocale as a } from "../../composables/useLocale.js";
12
+ import { SELECT_CONTROL_NATIVE_ATTRS as o, formControlPtActive as s, usePassthrough as ae, variantPt as c } from "../../composables/usePassthrough.js";
13
+ import { removedPropsFor as l } from "../../deprecation/removedProps.js";
14
+ import { warnRemovedAttrs as u } from "../../utilities/functions/warnRemovedAttrs.js";
15
+ import { hasVnodeListener as d } from "../../utilities/functions/hasVnodeListener.js";
16
+ import { isNotEmpty as f } from "../../utilities/functions/isNotEmpty.js";
16
17
  import { throttle as oe } from "../../utilities/functions/throttle.js";
17
18
  import { when as se } from "../../utilities/functions/when.js";
18
19
  import { hash as ce } from "../../utilities/functions/hash.js";
@@ -21,8 +22,8 @@ import ue from "../../assets/svgs/chevron_down.svg_raw.js";
21
22
  import { provideSheetChipAttrs as de } from "../BbSelectPopover/sheetChipAttrs.js";
22
23
  import { provideReclickClears as fe } from "../BbSelectPopover/reclickClears.js";
23
24
  import { KnownItemsScope as pe, indexKnownRows as me, knownRowsCover as he } from "../BbSelectPopover/knownItems.js";
24
- import { BB_SELECT_PT as f } from "./types.js";
25
- import { Fragment as p, computed as m, createBlock as ge, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createSlots as v, createTextVNode as _e, createVNode as y, defineComponent as ve, getCurrentInstance as ye, guardReactiveProps as b, mergeProps as x, nextTick as S, normalizeClass as C, normalizeProps as w, onMounted as be, onUnmounted as xe, openBlock as T, ref as E, renderList as D, renderSlot as O, toDisplayString as k, unref as A, useAttrs as Se, watch as j, withCtx as M, withDirectives as Ce, withModifiers as we } from "vue";
25
+ import { BB_SELECT_PT as p } from "./types.js";
26
+ import { Fragment as m, computed as h, createBlock as ge, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createSlots as y, createTextVNode as _e, createVNode as b, defineComponent as ve, getCurrentInstance as ye, guardReactiveProps as x, mergeProps as S, nextTick as C, normalizeClass as w, normalizeProps as T, onMounted as be, onUnmounted as xe, openBlock as E, ref as D, renderList as O, renderSlot as k, toDisplayString as A, unref as j, useAttrs as Se, watch as M, withCtx as N, withDirectives as Ce, withModifiers as we } from "vue";
26
27
  // src/components/BbSelect/BbSelect.vue?vue&type=script&setup=true&lang.ts
27
28
  var Te = ["id"], Ee = [
28
29
  "id",
@@ -37,8 +38,8 @@ var Te = ["id"], Ee = [
37
38
  }, Oe = {
38
39
  key: 2,
39
40
  class: "bb-select__display-value bb-select__placeholder"
40
- }, ke = ["id"], N = /*@__PURE__*/ ve({
41
- mixins: [c(f)],
41
+ }, ke = ["id"], P = /*@__PURE__*/ ve({
42
+ mixins: [c(p)],
42
43
  inheritAttrs: !1,
43
44
  __name: "BbSelect",
44
45
  props: {
@@ -281,6 +282,7 @@ var Te = ["id"], Ee = [
281
282
  "pt:comma:errors": {},
282
283
  "pt:comma:open": {},
283
284
  "pt:comma:loading": {},
285
+ open: { type: Boolean },
284
286
  pt: {},
285
287
  adaptive: {
286
288
  type: Boolean,
@@ -372,6 +374,7 @@ var Te = ["id"], Ee = [
372
374
  "show",
373
375
  "shown",
374
376
  "hide",
377
+ "update:open",
375
378
  "hidden",
376
379
  "blur",
377
380
  "change",
@@ -384,35 +387,35 @@ var Te = ["id"], Ee = [
384
387
  "option:add"
385
388
  ],
386
389
  setup(c, { emit: ve }) {
387
- let N = c, { props: P, emit: F, showAsterisk: Ae, errors: je, ariaRequired: Me, required: Ne, model: Pe, readonly: I } = ie(N, ve, {
390
+ let P = c, Ae = ve, { props: F, emit: I, showAsterisk: je, errors: Me, ariaRequired: Ne, required: Pe, model: Fe, readonly: L } = ie(P, Ae, {
388
391
  componentName: "BbSelect",
389
- identifierFallback: () => N.label,
392
+ identifierFallback: () => P.label,
390
393
  leaveOn: "inactive"
391
- }), Fe = m(() => Me.value ?? (Ne.value ? !0 : void 0)), { t: Ie } = i();
392
- process.env.NODE_ENV !== "production" && l("BbSelect", ae("BbSelect"));
393
- let L = E(!1), { isMobile: Le } = re(), Re = m(() => P.persistentHint || L.value), R = m(() => d(P.modelValue)), ze = m(() => !!P.clearable && R.value), z = r("BbSelect", P, {
394
+ }), Ie = h(() => Ne.value ?? (Pe.value ? !0 : void 0)), { t: Le } = a();
395
+ process.env.NODE_ENV !== "production" && u("BbSelect", l("BbSelect"));
396
+ let R = D(!1), { isMobile: Re } = re(), ze = h(() => F.persistentHint || R.value), z = h(() => f(F.modelValue)), Be = h(() => !!F.clearable && z.value), B = r("BbSelect", F, {
394
397
  labelMode: "outside",
395
398
  compact: !1,
396
399
  reverse: !1
397
- }), Be = m(() => z.labelMode), B = E(!1), V = s({
400
+ }), Ve = h(() => B.labelMode), V = D(!1), { model: He, set: Ue } = i(P, Ae), H = ae({
398
401
  component: "BbSelect",
399
402
  attrs: Se(),
400
- controlAttrs: a,
401
- props: P,
402
- parts: f.parts,
403
- states: f.states,
403
+ controlAttrs: o,
404
+ props: F,
405
+ parts: p.parts,
406
+ states: p.states,
404
407
  active: {
405
- ...o(P, () => R.value),
406
- open: () => B.value
408
+ ...s(F, () => z.value),
409
+ open: () => V.value
407
410
  },
408
411
  variant: {
409
- ...f.variant,
410
- current: () => P.variant ?? "outline"
412
+ ...p.variant,
413
+ current: () => F.variant ?? "outline"
411
414
  }
412
415
  });
413
- de((e) => V.part("badge", {}, e)), fe(() => !!P.clearable);
414
- let Ve = () => ({
415
- ...V.forward([
416
+ de((e) => H.part("badge", {}, e)), fe(() => !!F.clearable);
417
+ let We = () => ({
418
+ ...H.forward([
416
419
  "panel",
417
420
  "sheet",
418
421
  "header",
@@ -420,138 +423,138 @@ var Te = ["id"], Ee = [
420
423
  "input",
421
424
  "list"
422
425
  ], n.states.filter((e) => e !== "disabled")),
423
- ...V.forward([
426
+ ...H.forward([
424
427
  "option",
425
428
  "itemText",
426
429
  "itemIcon",
427
430
  "itemDescription",
428
431
  "check"
429
432
  ], n.states)
430
- }), He = [
433
+ }), Ge = [
431
434
  "box",
432
435
  "icon",
433
436
  "spinner",
434
437
  "clear",
435
438
  "prefix",
436
439
  "suffix"
437
- ], Ue = (e) => Object.fromEntries(He.map((t) => [t, V.part(t, { loading: e })])), We = m(() => ({
438
- title: P.label,
439
- ...P.offCanvasProps
440
- })), Ge = m(() => P["append:icon"] === void 0 ? ue : P["append:icon"]), H = m(() => P.maxSelectedLabels === void 0 ? Infinity : P.maxSelectedLabels), U = {
441
- rows: () => P.knownItems,
442
- prefill: () => P.prefill
443
- }, Ke = (e) => ({
444
- known: !!U.isKnown?.(e),
440
+ ], Ke = (e) => Object.fromEntries(Ge.map((t) => [t, H.part(t, { loading: e })])), qe = h(() => ({
441
+ title: F.label,
442
+ ...F.offCanvasProps
443
+ })), Je = h(() => F["append:icon"] === void 0 ? ue : F["append:icon"]), U = h(() => F.maxSelectedLabels === void 0 ? Infinity : F.maxSelectedLabels), W = {
444
+ rows: () => F.knownItems,
445
+ prefill: () => F.prefill
446
+ }, Ye = (e) => ({
447
+ known: !!W.isKnown?.(e),
445
448
  item: e
446
- }), qe = m(() => he(me(P.knownItems), P.modelValue, P.multiple)), Je = m(() => R.value && !qe.value ? !0 : P.prefill ?? "interaction"), W = E(), G = E(), Ye = E(), K = m(() => P.multiple ? Array.isArray(P.modelValue) ? P.modelValue.length : P.modelValue == null ? 0 : 1 : 0), Xe = m(() => H.value !== Infinity), q = m(() => !Xe.value), J = E(!1), Y = m(() => K.value <= 1 ? !1 : Xe.value ? K.value > H.value : J.value), X = m(() => !P.disabled && !P.readonly), Z = (e) => {
447
- if (X.value) {
448
- if (U.userUnpick?.([e.value]), P.multiple) {
449
- let t = le(P.modelValue, e.value);
450
- F("update:modelValue", t);
451
- } else F("update:modelValue", null);
449
+ }), Xe = h(() => he(me(F.knownItems), F.modelValue, F.multiple)), Ze = h(() => z.value && !Xe.value ? !0 : F.prefill ?? "interaction"), G = D(), K = D(), Qe = D(), q = h(() => F.multiple ? Array.isArray(F.modelValue) ? F.modelValue.length : F.modelValue == null ? 0 : 1 : 0), $e = h(() => U.value !== Infinity), J = h(() => !$e.value), Y = D(!1), X = h(() => q.value <= 1 ? !1 : $e.value ? q.value > U.value : Y.value), Z = h(() => !F.disabled && !F.readonly), et = (e) => {
450
+ if (Z.value) {
451
+ if (W.userUnpick?.([e.value]), F.multiple) {
452
+ let t = le(F.modelValue, e.value);
453
+ I("update:modelValue", t);
454
+ } else I("update:modelValue", null);
452
455
  }
453
- }, Ze = () => {
454
- (W.value?.$el)?.querySelector(".bb-select__activator")?.focus();
455
- }, Qe = m(() => P.selectedLabelsFn ? P.selectedLabelsFn(K.value) : Ie("select.multipleMaxReached", K.value).value), $e = (e) => P.multiple && Y.value ? Qe.value : e || P.placeholder || "", Q = oe(() => {
456
- let e = Ye.value;
457
- !q.value || !e || K.value <= 1 ? J.value = !1 : J.value = e.scrollWidth > e.clientWidth + 1;
456
+ }, tt = () => {
457
+ (G.value?.$el)?.querySelector(".bb-select__activator")?.focus();
458
+ }, nt = h(() => F.selectedLabelsFn ? F.selectedLabelsFn(q.value) : Le("select.multipleMaxReached", q.value).value), rt = (e) => F.multiple && X.value ? nt.value : e || F.placeholder || "", Q = oe(() => {
459
+ let e = Qe.value;
460
+ !J.value || !e || q.value <= 1 ? Y.value = !1 : Y.value = e.scrollWidth > e.clientWidth + 1;
458
461
  }, 100, {
459
462
  leading: !0,
460
463
  trailing: !0
461
- }), $ = null, et = () => {
462
- $?.disconnect(), $ = null, q.value && ($ = new ResizeObserver(Q), G.value && $.observe(G.value), S(() => {
464
+ }), $ = null, it = () => {
465
+ $?.disconnect(), $ = null, J.value && ($ = new ResizeObserver(Q), K.value && $.observe(K.value), C(() => {
463
466
  Q();
464
467
  }));
465
468
  };
466
- be(et), j(q, et, { flush: "post" }), xe(() => {
469
+ be(it), M(J, it, { flush: "post" }), xe(() => {
467
470
  $?.disconnect(), Q.cancel();
468
- }), j(() => [P.modelValue, H.value], () => {
469
- q.value && S(() => {
471
+ }), M(() => [F.modelValue, U.value], () => {
472
+ J.value && C(() => {
470
473
  Q();
471
474
  });
472
- }), j(() => [
473
- z.compact,
474
- P.comma,
475
- P["prepend:icon"]
475
+ }), M(() => [
476
+ B.compact,
477
+ F.comma,
478
+ F["prepend:icon"]
476
479
  ], () => {
477
- q.value && S(() => {
480
+ J.value && C(() => {
478
481
  Q();
479
482
  });
480
483
  });
481
- let tt = se((e) => typeof e != "string", JSON.stringify), nt = m(() => (P.multiple ? [].concat(P.modelValue ?? []) : [P.modelValue]).filter((e) => e != null).map((e) => ({
482
- disabled: P.disabled,
483
- name: P.name,
484
- required: P.required,
484
+ let at = se((e) => typeof e != "string", JSON.stringify), ot = h(() => (F.multiple ? [].concat(F.modelValue ?? []) : [F.modelValue]).filter((e) => e != null).map((e) => ({
485
+ disabled: F.disabled,
486
+ name: F.name,
487
+ required: F.required,
485
488
  type: "hidden",
486
- value: tt(e)
487
- }))), rt = {
489
+ value: at(e)
490
+ }))), st = {
488
491
  onBlur: (e) => {
489
- L.value = !1, F("blur", e);
492
+ R.value = !1, I("blur", e);
490
493
  },
491
- onChange: (e) => F("change", e),
492
- onClick: (e) => F("click", e),
494
+ onChange: (e) => I("change", e),
495
+ onClick: (e) => I("click", e),
493
496
  onFocus: (e) => {
494
- L.value = !0, F("focus", e);
497
+ R.value = !0, I("focus", e);
495
498
  },
496
499
  onActive: () => {
497
- L.value = !0, F("active");
500
+ R.value = !0, I("active");
498
501
  },
499
502
  onShow: () => {
500
- B.value = !0, F("show");
503
+ V.value = !0, I("show");
501
504
  },
502
- onShown: () => F("shown"),
505
+ onShown: () => I("shown"),
503
506
  onHide: () => {
504
- B.value = !1, F("hide");
507
+ V.value = !1, I("hide");
505
508
  },
506
- onHidden: () => F("hidden"),
509
+ onHidden: () => I("hidden"),
507
510
  onInactive: () => {
508
- L.value = !1, F("inactive");
511
+ R.value = !1, I("inactive");
509
512
  },
510
- onInput: (e) => F("input", e),
511
- "onUpdate:modelValue": (e) => F("update:modelValue", e)
512
- }, it = {
513
- ...rt,
514
- "onOption:add": (e) => F("option:add", e)
515
- }, at = ye(), ot = () => u(at, "option:add") ? it : rt;
516
- return (n, re) => (T(), ge(t, x({
513
+ onInput: (e) => I("input", e),
514
+ "onUpdate:modelValue": (e) => I("update:modelValue", e)
515
+ }, ct = {
516
+ ...st,
517
+ "onOption:add": (e) => I("option:add", e)
518
+ }, lt = ye(), ut = () => d(lt, "option:add") ? ct : st;
519
+ return (n, re) => (E(), ge(t, S({
517
520
  id: c.id,
518
521
  class: "bb-select",
519
- clearable: ze.value,
520
- compact: A(z).compact,
522
+ clearable: Be.value,
523
+ compact: j(B).compact,
521
524
  description: c.description,
522
525
  disabled: c.disabled,
523
- errors: A(je),
526
+ errors: j(Me),
524
527
  "has-errors": c.hasErrors,
525
- "has-value": R.value,
528
+ "has-value": z.value,
526
529
  "has-warnings": c.hasWarnings,
527
530
  "hide-label": c.hideLabel,
528
531
  hint: c.hint,
529
532
  "input-align": c.inputAlign,
530
533
  label: c.label,
531
534
  "label-align": c.labelAlign,
532
- "label-mode": Be.value,
535
+ "label-mode": Ve.value,
533
536
  "label-position": c.labelPosition,
534
- layout: A(z).layout,
537
+ layout: j(B).layout,
535
538
  loading: c.loading,
536
- mobile: A(Le),
539
+ mobile: j(Re),
537
540
  name: c.name,
538
- passthrough: A(V),
539
- readonly: A(I),
540
- reverse: A(z).reverse,
541
- "show-asterisk": A(Ae),
542
- "show-hint": Re.value,
541
+ passthrough: j(H),
542
+ readonly: j(L),
543
+ reverse: j(B).reverse,
544
+ "show-asterisk": j(je),
545
+ "show-hint": ze.value,
543
546
  warnings: c.warnings
544
- }, A(V).forwardAttrs), v({
545
- label: M((e) => [O(n.$slots, "label", w(b(e)))]),
546
- input: M(({ id: t, hasErrors: r, hasWarnings: ie, ariaDescribedby: i }) => [y(A(pe), { source: U }, {
547
- default: M(() => [y(ne, x({
547
+ }, j(H).forwardAttrs), y({
548
+ label: N((e) => [k(n.$slots, "label", T(x(e)))]),
549
+ input: N(({ id: t, hasErrors: r, hasWarnings: ie, ariaDescribedby: i }) => [b(j(pe), { source: W }, {
550
+ default: N(() => [b(ne, S({
548
551
  id: t,
549
- adaptive: A(z).adaptive,
550
- anchor: W.value,
552
+ adaptive: j(B).adaptive,
553
+ anchor: G.value,
551
554
  "aria-describedby": i,
552
555
  "aria-invalid": r || void 0,
553
- autocomplete: A(z).autocomplete,
554
- compact: A(z).compact,
556
+ autocomplete: j(B).autocomplete,
557
+ compact: j(B).compact,
555
558
  dependencies: c.dependencies,
556
559
  "deps-debounce-time": c.depsDebounceTime,
557
560
  "disable-writing": c.disableWriting,
@@ -571,121 +574,122 @@ var Te = ["id"], Ee = [
571
574
  "loading-text": c.loadingText,
572
575
  max: c.max,
573
576
  "min-query-length": c.minQueryLength,
574
- "model-value": A(Pe),
577
+ "model-value": j(Fe),
575
578
  "model-value-debounce-time": c.modelValueDebounceTime,
576
579
  multiple: c.multiple,
577
- "off-canvas-props": We.value,
578
- prefill: Je.value,
579
- pt: Ve(),
580
+ "off-canvas-props": qe.value,
581
+ open: j(He),
582
+ prefill: Ze.value,
583
+ pt: We(),
580
584
  "query-debounce-time": c.queryDebounceTime,
581
- readonly: A(I),
585
+ readonly: j(L),
582
586
  selectable: c.selectable,
583
587
  stash: c.stash,
584
588
  "transition-duration": c.transitionDuration,
585
589
  width: "100%"
586
- }, ot()), v({
587
- activator: M(({ props: ne, shown: i, loading: a, text: o, selectedOptions: s, clear: ae, query: l, focus: u, close: d, toggle: oe }) => [y(ee, {
590
+ }, ut(), { "onUpdate:open": j(Ue) }), y({
591
+ activator: N(({ props: ne, shown: i, loading: a, text: o, selectedOptions: s, clear: ae, query: l, focus: u, close: d, toggle: f }) => [b(ee, {
588
592
  ref_key: "wrapperRef",
589
- ref: W,
593
+ ref: G,
590
594
  active: i,
591
- "append:icon": Ge.value,
592
- class: C(["bb-select__field", {
595
+ "append:icon": Je.value,
596
+ class: w(["bb-select__field", {
593
597
  "bb-select__field--shown": i,
594
598
  "bb-select__field--disabled": c.disabled,
595
- "bb-select__field--readonly": A(I)
599
+ "bb-select__field--readonly": j(L)
596
600
  }]),
597
601
  clearable: c.clearable,
598
- compact: A(z).compact,
602
+ compact: j(B).compact,
599
603
  disabled: c.disabled,
600
604
  "has-errors": r,
601
- "has-value": R.value,
605
+ "has-value": z.value,
602
606
  "has-warnings": ie,
603
607
  loading: a,
604
- passthrough: Ue(a),
605
- "prepend:icon": N["prepend:icon"],
606
- readonly: A(I),
608
+ passthrough: Ke(a),
609
+ "prepend:icon": P["prepend:icon"],
610
+ readonly: j(L),
607
611
  variant: c.variant,
608
612
  "onClick:clear": () => {
609
- ae(), S(Ze);
613
+ ae(), C(tt);
610
614
  },
611
- "onContainer:click": oe
612
- }, v({
613
- "append:outer": M(() => [O(n.$slots, "append:outer", w(b({
615
+ "onContainer:click": f
616
+ }, y({
617
+ "append:outer": N(() => [k(n.$slots, "append:outer", T(x({
614
618
  query: l,
615
619
  close: d
616
620
  })))]),
617
- append: M(() => [O(n.$slots, "append", w(b({
621
+ append: N(() => [k(n.$slots, "append", T(x({
618
622
  query: l,
619
623
  focus: u,
620
624
  close: d
621
625
  })))]),
622
- prepend: M(() => [O(n.$slots, "prepend", w(b({
626
+ prepend: N(() => [k(n.$slots, "prepend", T(x({
623
627
  query: l,
624
628
  focus: u,
625
629
  close: d
626
630
  })))]),
627
- "prepend:outer": M(() => [O(n.$slots, "prepend:outer", w(b({
631
+ "prepend:outer": N(() => [k(n.$slots, "prepend:outer", T(x({
628
632
  query: l,
629
633
  close: d
630
634
  })))]),
631
- default: M(() => [_("span", {
635
+ default: N(() => [v("span", {
632
636
  id: `${t}__value`,
633
637
  ref_key: "valueRef",
634
- ref: G,
638
+ ref: K,
635
639
  class: "bb-select__value"
636
- }, [Ce(_("input", x({
640
+ }, [Ce(v("input", S({
637
641
  id: t,
638
642
  "aria-labelledby": `${t}__label ${t}__selection`,
639
- "aria-readonly": A(I) || void 0,
640
- "aria-required": Fe.value,
643
+ "aria-readonly": j(L) || void 0,
644
+ "aria-required": Ie.value,
641
645
  autofocus: c.autofocus,
642
646
  class: "bb-select__activator",
643
647
  disabled: c.disabled,
644
648
  type: "button"
645
- }, x(ne, A(V).part("activator", { loading: a }))), null, 16, Ee), [[A(e)]]), c.multiple ? (T(), g(p, { key: 0 }, [
646
- q.value || !Y.value ? (T(), g("span", {
649
+ }, S(ne, j(H).part("activator", { loading: a }))), null, 16, Ee), [[j(e)]]), c.multiple ? (E(), _(m, { key: 0 }, [
650
+ J.value || !X.value ? (E(), _("span", {
647
651
  key: 0,
648
652
  ref_key: "chipsContainerRef",
649
- ref: Ye,
650
- class: C(["bb-select__chips-row", {
651
- "bb-select__chips-row--hidden": Y.value,
653
+ ref: Qe,
654
+ class: w(["bb-select__chips-row", {
655
+ "bb-select__chips-row--hidden": X.value,
652
656
  "bb-select__chips-row--chips": !c.comma && !!s.length
653
657
  }]),
654
- onVnodeUpdated: re[0] ||= (e) => q.value && A(Q)()
655
- }, [c.comma ? (T(!0), g(p, { key: 0 }, D(s, (e) => (T(), g("span", x({
656
- key: A(ce)(e.value),
658
+ onVnodeUpdated: re[0] ||= (e) => J.value && j(Q)()
659
+ }, [c.comma ? (E(!0), _(m, { key: 0 }, O(s, (e) => (E(), _("span", S({
660
+ key: j(ce)(e.value),
657
661
  class: "bb-select__comma"
658
- }, { ref_for: !0 }, A(V).part("comma", {}, e.item)), k(e.text), 17))), 128)) : (T(!0), g(p, { key: 1 }, D(s, (e) => O(n.$slots, "chip", x({
659
- deselect: () => Z(e),
660
- disabled: !X.value,
662
+ }, { ref_for: !0 }, j(H).part("comma", {}, e.item)), A(e.text), 17))), 128)) : (E(!0), _(m, { key: 1 }, O(s, (e) => k(n.$slots, "chip", S({
663
+ deselect: () => et(e),
664
+ disabled: !Z.value,
661
665
  text: e.text,
662
666
  value: e.value
663
- }, { ref_for: !0 }, Ke(e.item)), () => [y(te, x({
667
+ }, { ref_for: !0 }, Ye(e.item)), () => [b(te, S({
664
668
  class: "bb-select__badge",
665
- clearable: X.value,
669
+ clearable: Z.value,
666
670
  size: "lg",
667
671
  variant: "secondary"
668
- }, { ref_for: !0 }, A(V).part("badge", {}, e.item), { "onClick:clear": we((t) => Z(e), ["stop"]) }), {
669
- default: M(() => [_e(k(e.text), 1)]),
672
+ }, { ref_for: !0 }, j(H).part("badge", {}, e.item), { "onClick:clear": we((t) => et(e), ["stop"]) }), {
673
+ default: N(() => [_e(A(e.text), 1)]),
670
674
  _: 2
671
- }, 1040, ["clearable", "onClick:clear"])], void 0, A(ce)(e.value))), 128))], 2)) : h("", !0),
672
- Y.value ? (T(), g("span", De, k(Qe.value), 1)) : h("", !0),
673
- !s.length && c.placeholder ? (T(), g("span", Oe, k(c.placeholder), 1)) : h("", !0)
674
- ], 64)) : (T(), g("span", {
675
+ }, 1040, ["clearable", "onClick:clear"])], void 0, j(ce)(e.value))), 128))], 2)) : g("", !0),
676
+ X.value ? (E(), _("span", De, A(nt.value), 1)) : g("", !0),
677
+ !s.length && c.placeholder ? (E(), _("span", Oe, A(c.placeholder), 1)) : g("", !0)
678
+ ], 64)) : (E(), _("span", {
675
679
  key: 1,
676
- class: C(["bb-select__display-value", [{ "bb-select__placeholder": !o }]])
677
- }, k(o || c.placeholder), 3))], 8, Te), _("span", {
680
+ class: w(["bb-select__display-value", [{ "bb-select__placeholder": !o }]])
681
+ }, A(o || c.placeholder), 3))], 8, Te), v("span", {
678
682
  id: `${t}__selection`,
679
683
  hidden: ""
680
- }, k($e(o)), 9, ke)]),
684
+ }, A(rt(o)), 9, ke)]),
681
685
  _: 2
682
686
  }, [n.$slots.prefix ? {
683
687
  name: "prefix",
684
- fn: M(() => [O(n.$slots, "prefix")]),
688
+ fn: N(() => [k(n.$slots, "prefix")]),
685
689
  key: "0"
686
690
  } : void 0, n.$slots.suffix ? {
687
691
  name: "suffix",
688
- fn: M(() => [O(n.$slots, "suffix")]),
692
+ fn: N(() => [k(n.$slots, "suffix")]),
689
693
  key: "1"
690
694
  } : void 0]), 1032, [
691
695
  "active",
@@ -704,36 +708,36 @@ var Te = ["id"], Ee = [
704
708
  "variant",
705
709
  "onClick:clear",
706
710
  "onContainer:click"
707
- ]), (T(!0), g(p, null, D(nt.value, (e) => (T(), g("input", x({ key: e.value }, { ref_for: !0 }, x(e, A(V).controlAttrs)), null, 16))), 128))]),
708
- loading: M((e) => [O(n.$slots, "loading", w(b(e)))]),
709
- empty: M((e) => [O(n.$slots, "empty", w(b(e)))]),
710
- group: M((e) => [O(n.$slots, "group", w(b(e)))]),
711
+ ]), (E(!0), _(m, null, O(ot.value, (e) => (E(), _("input", S({ key: e.value }, { ref_for: !0 }, S(e, j(H).controlAttrs)), null, 16))), 128))]),
712
+ loading: N((e) => [k(n.$slots, "loading", T(x(e)))]),
713
+ empty: N((e) => [k(n.$slots, "empty", T(x(e)))]),
714
+ group: N((e) => [k(n.$slots, "group", T(x(e)))]),
711
715
  _: 2
712
716
  }, [
713
717
  n.$slots.header ? {
714
718
  name: "header",
715
- fn: M((e) => [O(n.$slots, "header", w(b(e)))]),
719
+ fn: N((e) => [k(n.$slots, "header", T(x(e)))]),
716
720
  key: "0"
717
721
  } : void 0,
718
722
  n.$slots.footer ? {
719
723
  name: "footer",
720
- fn: M((e) => [O(n.$slots, "footer", w(b(e)))]),
724
+ fn: N((e) => [k(n.$slots, "footer", T(x(e)))]),
721
725
  key: "1"
722
726
  } : void 0,
723
727
  n.$slots.option ? {
724
728
  name: "option",
725
- fn: M((e) => [O(n.$slots, "option", x({ hasErrors: r }, e))]),
729
+ fn: N((e) => [k(n.$slots, "option", S({ hasErrors: r }, e))]),
726
730
  key: "2"
727
731
  } : void 0
728
- ]), 1040, /* @__PURE__ */ "id.adaptive.anchor.aria-describedby.aria-invalid.autocomplete.compact.dependencies.deps-debounce-time.disable-writing.disabled.empty-text.enforce-coherence.failed-text.filter-by.group-by.header-height.item-height.item-props.item-text.item-value.items.loading.loading-text.max.min-query-length.model-value.model-value-debounce-time.multiple.off-canvas-props.prefill.pt.query-debounce-time.readonly.selectable.stash.transition-duration".split("."))]),
732
+ ]), 1040, /* @__PURE__ */ "id.adaptive.anchor.aria-describedby.aria-invalid.autocomplete.compact.dependencies.deps-debounce-time.disable-writing.disabled.empty-text.enforce-coherence.failed-text.filter-by.group-by.header-height.item-height.item-props.item-text.item-value.items.loading.loading-text.max.min-query-length.model-value.model-value-debounce-time.multiple.off-canvas-props.open.prefill.pt.query-debounce-time.readonly.selectable.stash.transition-duration.onUpdate:open".split("."))]),
729
733
  _: 2
730
734
  }, 1024)]),
731
735
  _: 2
732
736
  }, [n.$slots.description ? {
733
737
  name: "description",
734
- fn: M((e) => [O(n.$slots, "description", w(b(e)))]),
738
+ fn: N((e) => [k(n.$slots, "description", T(x(e)))]),
735
739
  key: "0"
736
740
  } : void 0]), 1040, /* @__PURE__ */ "id.clearable.compact.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.label.label-align.label-mode.label-position.layout.loading.mobile.name.passthrough.readonly.reverse.show-asterisk.show-hint.warnings".split(".")));
737
741
  }
738
742
  });
739
- export { N as default };
743
+ export { P as default };