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
@@ -141,6 +141,11 @@ type BbSelectPopoverPtProps = /* @vue-ignore */ PtCompoundProps<typeof BB_SELECT
141
141
  export type BbSelectPopoverProps<Item, Known extends BbSelectKnownItems | undefined = BbSelectKnownItems> = BbSelectPopoverPtProps & {
142
142
  [K in `pt:${BbSelectPopoverOptionPtPart}`]?: PtValue | ((ctx: PtItemCtx<PtNoInfer<Item>, BbSelectPopoverPtState, never, BbSelectSlotRow<PtNoInfer<Item>, PtNoInfer<Known>>>) => PtItemResult);
143
143
  } & {
144
+ /**
145
+ * Whether the panel is open (`v-model:open`; `v-model` stays the value).
146
+ * Bound, the app opens and closes it; unbound, the initial state.
147
+ */
148
+ open?: boolean;
144
149
  /**
145
150
  * Passthrough, object form: the same keys as the `pt:*` attributes
146
151
  * without the prefix. See the `pt:<part>` row.
@@ -454,6 +459,8 @@ export type BbSelectPopoverEvents<V = any> = {
454
459
  (e: 'shown'): void;
455
460
  /** Emitted as soon as the options surface starts to close. */
456
461
  (e: 'hide'): void;
462
+ /** The panel opened or closed (`v-model:open`). */
463
+ (e: 'update:open', value: boolean): void;
457
464
  /** Emitted once the options surface has finished closing. */
458
465
  (e: 'hidden'): void;
459
466
  /**
@@ -614,15 +621,14 @@ export type BbSelectPopoverSlots<Item, Known extends BbSelectKnownItems | undefi
614
621
  }) => any;
615
622
  /**
616
623
  * Content shown when no options match the query or the list is empty.
617
- * `error` is what the latest failed load threw, untouched (`null` when
618
- * none). `close()` closes the panel, for an action that does not move
619
- * focus out of it.
624
+ * Empty only: a failed load shows the library's failure row instead (its
625
+ * message is `failed-text`, and it ends with "Try again"). `close()` closes
626
+ * the panel, for an action that does not move focus out of it.
620
627
  */
621
628
  empty?: (props: {
622
629
  query: string;
623
630
  focus: () => void;
624
631
  close: () => Promise<void>;
625
- error: unknown;
626
632
  }) => any;
627
633
  /**
628
634
  * Replaces the default rendering of each option row in the dropdown. With
@@ -1,31 +1,32 @@
1
1
  import { vAutofocus as e } from "../../utilities/misc/autofocus.js";
2
2
  import t from "../CommonField/CommonField.vue.js";
3
3
  import n from "../OptionsContainer/OptionsContainer.vue.js";
4
- import r from "../BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js";
5
- import { aliasParts as i, formControlPtActive as a, pickActive as o, usePassthrough as s } from "../../composables/usePassthrough.js";
6
- import { isNotEmpty as c } from "../../utilities/functions/isNotEmpty.js";
7
- import { withItemDescribedby as l } from "../../utilities/functions/itemProps.js";
8
- import { hash as u } from "../../utilities/functions/hash.js";
9
- import { preventReadonlyClick as d, preventReadonlyKeydown as ee, revertReadonlyChange as te, syncCheckedToData as ne, syncIndeterminate as f, toggleInputAttrs as re, toggleInputValue as ie } from "../../utilities/functions/toggleInput.js";
4
+ import { runRetry as r } from "../../utils/loadRetry.js";
5
+ import i from "../BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js";
6
+ import { aliasParts as a, formControlPtActive as o, pickActive as s, usePassthrough as c } from "../../composables/usePassthrough.js";
7
+ import { isNotEmpty as l } from "../../utilities/functions/isNotEmpty.js";
8
+ import { withItemDescribedby as u } from "../../utilities/functions/itemProps.js";
9
+ import { hash as d } from "../../utilities/functions/hash.js";
10
+ import { preventReadonlyClick as ee, preventReadonlyKeydown as te, revertReadonlyChange as ne, syncCheckedToData as f, syncIndeterminate as p, toggleInputAttrs as re, toggleInputValue as ie } from "../../utilities/functions/toggleInput.js";
10
11
  import { useToggleListFocus as ae } from "../../composables/useToggleInput.js";
11
12
  import { useItemsGetter as oe } from "../../composables/useItemsGetter.js";
12
- import { useIndexById as p } from "../../composables/useIndexById.js";
13
+ import { useIndexById as m } from "../../composables/useIndexById.js";
13
14
  import { useBaseOptions as se } from "../../composables/useBaseOptions.js";
14
15
  import { useCoherence as ce } from "../../composables/useCoherence.js";
15
- import { useHashedWatcher as m } from "../../composables/useHashedWatcher.js";
16
- import { usePrefill as le } from "../../composables/usePrefill.js";
17
- import { useLogger as ue } from "../../composables/useLogger.js";
18
- import { useActiveInactiveState as h } from "../../composables/useActiveInactiveState.js";
19
- import { useOnFalsy as g } from "../../composables/useOnFalsy.js";
20
- import { useOnTruthy as de } from "../../composables/useOnTruthy.js";
16
+ import { useHashedWatcher as h } from "../../composables/useHashedWatcher.js";
17
+ import { usePrefill as g } from "../../composables/usePrefill.js";
18
+ import { useLogger as le } from "../../composables/useLogger.js";
19
+ import { useActiveInactiveState as ue } from "../../composables/useActiveInactiveState.js";
20
+ import { useOnFalsy as de } from "../../composables/useOnFalsy.js";
21
+ import { useOnTruthy as _ } from "../../composables/useOnTruthy.js";
21
22
  import { removedPropsFor as fe } from "../../deprecation/removedProps.js";
22
23
  import { warnRemovedAttrs as pe } from "../../utilities/functions/warnRemovedAttrs.js";
23
- import { BB_SWITCH_GROUP_PT as _ } from "./types.js";
24
+ import { BB_SWITCH_GROUP_PT as v } from "./types.js";
24
25
  import { useFormBinding as me } from "../../composables/useFormBinding.js";
25
26
  import { useConfigDefaults as he } from "../../composables/useConfigDefaults.js";
26
- import { computed as v, createBlock as ge, createElementVNode as _e, createSlots as ve, createVNode as y, defineComponent as b, guardReactiveProps as x, mergeProps as S, normalizeProps as C, onBeforeMount as ye, openBlock as be, ref as xe, renderSlot as w, shallowRef as Se, toRef as T, unref as E, useAttrs as Ce, withCtx as D, withDirectives as O } from "vue";
27
+ import { computed as y, createBlock as ge, createElementVNode as _e, createSlots as ve, createVNode as b, defineComponent as x, guardReactiveProps as S, mergeProps as C, normalizeProps as w, onBeforeMount as ye, openBlock as be, ref as xe, renderSlot as T, shallowRef as Se, toRef as E, unref as D, useAttrs as Ce, withCtx as O, withDirectives as k } from "vue";
27
28
  // src/components/BbSwitchGroup/BbSwitchGroup.vue?vue&type=script&setup=true&lang.ts
28
- var k = /*@__PURE__*/ b({
29
+ var A = /*@__PURE__*/ x({
29
30
  inheritAttrs: !1,
30
31
  __name: "BbSwitchGroup",
31
32
  props: {
@@ -192,140 +193,142 @@ var k = /*@__PURE__*/ b({
192
193
  "mouseup",
193
194
  "update:modelValue"
194
195
  ],
195
- setup(b, { emit: k }) {
196
- let A = b, we = k, j = he("BbSwitchGroup", A, {
196
+ setup(x, { emit: A }) {
197
+ let j = x, we = A, M = he("BbSwitchGroup", j, {
197
198
  inputPosition: "start",
198
199
  compact: !1,
199
200
  itemReverse: !1,
200
201
  reverse: !1,
201
202
  block: !1
202
- }), { props: M, emit: N, showAsterisk: Te, errors: Ee, readonly: P } = me(A, we, {
203
+ }), { props: N, emit: P, showAsterisk: Te, errors: Ee, readonly: F } = me(j, we, {
203
204
  componentName: "BbSwitchGroup",
204
- identifierFallback: () => A.legend,
205
+ identifierFallback: () => j.legend,
205
206
  emptyValue: () => [],
206
207
  leaveOn: "inactive"
207
208
  });
208
209
  process.env.NODE_ENV !== "production" && pe("BbSwitchGroup", fe("BbSwitchGroup"));
209
- let De = ue();
210
+ let De = le();
210
211
  ye(() => {
211
- M.multiple && !Array.isArray(M.modelValue) && De.throw("BbSwitchGroup: multiple is set to \"true\" but modelValue is not an array.");
212
+ N.multiple && !Array.isArray(N.modelValue) && De.throw("BbSwitchGroup: multiple is set to \"true\" but modelValue is not an array.");
212
213
  });
213
- let Oe = [], F = v(() => M.items === void 0 ? Oe : M.items), I = Se(null), ke = (e) => {
214
- I.value = e?.$el ?? null;
215
- }, { active: L } = h(I), R = xe(!1), Ae = v(() => M.persistentHint || R.value);
216
- g(L, () => {
217
- R.value = !1, N("inactive");
218
- }), de(L, () => {
219
- R.value = !0, N("active");
214
+ let Oe = [], I = y(() => N.items === void 0 ? Oe : N.items), L = Se(null), ke = (e) => {
215
+ L.value = e?.$el ?? null;
216
+ }, { active: R } = ue(L), z = xe(!1), Ae = y(() => N.persistentHint || z.value);
217
+ de(R, () => {
218
+ z.value = !1, P("inactive");
219
+ }), _(R, () => {
220
+ z.value = !0, P("active");
220
221
  });
221
- let { getter: z, clientReproducible: je, hydratedFromSsr: Me, items: Ne, loading: B, error: Pe, ssrMarker: Fe } = oe({
222
- items: F,
222
+ let { getter: B, clientReproducible: je, hydratedFromSsr: Me, items: Ne, loading: V, error: Pe, retry: Fe, ssrMarker: Ie } = oe({
223
+ items: I,
223
224
  marker: !0
224
- }), V = () => {
225
- M.enforceCoherence && !K.value && N("update:modelValue", Be.value);
226
- }, { hasPrefilled: H, whenPrefilled: Ie } = le({
225
+ }), H = () => {
226
+ N.enforceCoherence && !q.value && P("update:modelValue", He.value);
227
+ }, Le = async () => {
228
+ await Fe() === "applied" && H();
229
+ }, { hasPrefilled: U, whenPrefilled: Re } = g({
227
230
  alreadyLoaded: Me,
228
231
  clientReproducible: je,
229
232
  trigger: !0,
230
- currentValue: M.modelValue,
231
- multiple: !!M.multiple,
233
+ currentValue: N.modelValue,
234
+ multiple: !!N.multiple,
232
235
  fn: async () => {
233
- await z(void 0, "initial", M.modelValue) === "applied" && V();
236
+ await B(void 0, "initial", N.modelValue) === "applied" && H();
234
237
  }
235
- }), U = v(() => M.multiple ? [].concat(M.modelValue) : [M.modelValue]), { data: W } = p({ items: U }), { options: G } = se({
236
- disabled: T(() => M.disabled),
238
+ }), W = y(() => N.multiple ? [].concat(N.modelValue) : [N.modelValue]), { data: G } = m({ items: W }), { options: K } = se({
239
+ disabled: E(() => N.disabled),
237
240
  items: Ne,
238
- itemText: M.itemText,
239
- itemProps: T(() => M.itemProps),
240
- itemValue: M.itemValue,
241
+ itemText: N.itemText,
242
+ itemProps: E(() => N.itemProps),
243
+ itemValue: N.itemValue,
241
244
  optionDefaults: !0,
242
- max: T(() => M.max),
243
- selectable: T(() => M.selectable),
244
- selectedIndexedByHash: W
245
- }), Le = (e) => {
246
- M.multiple ? N("update:modelValue", [...U.value, e.value]) : N("update:modelValue", e.value);
247
- }, Re = (e) => {
248
- if (!M.multiple) {
249
- N("update:modelValue", null);
245
+ max: E(() => N.max),
246
+ selectable: E(() => N.selectable),
247
+ selectedIndexedByHash: G
248
+ }), ze = (e) => {
249
+ N.multiple ? P("update:modelValue", [...W.value, e.value]) : P("update:modelValue", e.value);
250
+ }, Be = (e) => {
251
+ if (!N.multiple) {
252
+ P("update:modelValue", null);
250
253
  return;
251
254
  }
252
- let t = { ...W.value };
253
- delete t[e.valueHash], N("update:modelValue", Object.values(t));
254
- }, { data: ze } = p({
255
- items: G,
255
+ let t = { ...G.value };
256
+ delete t[e.valueHash], P("update:modelValue", Object.values(t));
257
+ }, { data: Ve } = m({
258
+ items: K,
256
259
  key: "valueHash"
257
- }), { coherent: K, coherentValue: Be } = ce({
258
- modelValue: T(() => M.modelValue),
259
- multiple: !!M.multiple,
260
- iteratee: (e) => !!ze.value[u(e)]
261
- }), q = 0;
262
- m(() => M.modelValue, async () => {
263
- q++, K.value || await z(void 0, "model", M.modelValue) === "applied" && V(), q--;
264
- }, { debounce: M.modelValueDebounceTime === void 0 ? 0 : M.modelValueDebounceTime }), m(() => [M.dependencies, F.value], async () => {
265
- H.value || await Ie(), H.value && (q++, await z(void 0, "dependencies", M.modelValue) === "applied" && q === 1 && V(), q--);
266
- }, { debounce: M.depsDebounceTime === void 0 ? 0 : M.depsDebounceTime });
267
- let J = v(() => c(M.modelValue)), Y = s({
260
+ }), { coherent: q, coherentValue: He } = ce({
261
+ modelValue: E(() => N.modelValue),
262
+ multiple: !!N.multiple,
263
+ iteratee: (e) => !!Ve.value[d(e)]
264
+ }), J = 0;
265
+ h(() => N.modelValue, async () => {
266
+ J++, q.value || await B(void 0, "model", N.modelValue) === "applied" && H(), J--;
267
+ }, { debounce: N.modelValueDebounceTime === void 0 ? 0 : N.modelValueDebounceTime }), h(() => [N.dependencies, I.value], async () => {
268
+ U.value || await Re(), U.value && (J++, await B(void 0, "dependencies", N.modelValue) === "applied" && J === 1 && H(), J--);
269
+ }, { debounce: N.depsDebounceTime === void 0 ? 0 : N.depsDebounceTime });
270
+ let Y = y(() => l(N.modelValue)), X = c({
268
271
  component: "BbSwitchGroup",
269
272
  attrs: Ce(),
270
- props: M,
271
- parts: _.parts,
272
- states: _.states,
273
+ props: N,
274
+ parts: v.parts,
275
+ states: v.states,
273
276
  active: {
274
- ...o(a(M, () => J.value), [
277
+ ...s(o(N, () => Y.value), [
275
278
  "errors",
276
279
  "warnings",
277
280
  "disabled",
278
281
  "readonly",
279
282
  "hasValue"
280
283
  ]),
281
- loading: () => B.value
284
+ loading: () => V.value
282
285
  }
283
- }), X = i(Y, { label: "legend" }), Z = ae(), Q = (e) => e.value === void 0 || e.value, $ = (e, t) => {
286
+ }), Ue = a(X, { label: "legend" }), Z = ae(), Q = (e) => e.value === void 0 || e.value, $ = (e, t) => {
284
287
  if (t) return [t, e.valueHash].filter(Boolean).join("-");
285
- }, Ve = (e, t) => {
286
- N("change", e), t.selected ? Re(t) : Le(t);
287
- }, He = (e) => ({
288
+ }, We = (e, t) => {
289
+ P("change", e), t.selected ? Be(t) : ze(t);
290
+ }, Ge = (e) => ({
288
291
  onBlur: (t) => {
289
- Z.onBlur(e.valueHash), N("blur", t);
292
+ Z.onBlur(e.valueHash), P("blur", t);
290
293
  },
291
294
  onChange: (t) => {
292
295
  if (!(t.target instanceof HTMLInputElement)) return;
293
- if (te(t.target, M.readonly, !!e.selected)) {
294
- f(t.target, !1);
296
+ if (ne(t.target, N.readonly, !!e.selected)) {
297
+ p(t.target, !1);
295
298
  return;
296
299
  }
297
- f(t.target, !1), Ve(t, e);
300
+ p(t.target, !1), We(t, e);
298
301
  let n = t.target;
299
- ne(() => n, () => !!G.value.find((t) => t.valueHash === e.valueHash)?.selected);
302
+ f(() => n, () => !!K.value.find((t) => t.valueHash === e.valueHash)?.selected);
300
303
  },
301
304
  onFocus: (t) => {
302
- Z.onFocus(e.valueHash, t), R.value = !0, N("focus", t);
305
+ Z.onFocus(e.valueHash, t), z.value = !0, P("focus", t);
303
306
  },
304
307
  onClick: (e) => {
305
- d(e, M.readonly), N("click", e);
308
+ ee(e, N.readonly), P("click", e);
306
309
  },
307
- onInput: (e) => N("input", e),
310
+ onInput: (e) => P("input", e),
308
311
  onKeydown: (e) => {
309
- ee(e, M.readonly), N("keydown", e);
312
+ te(e, N.readonly), P("keydown", e);
310
313
  },
311
- onMousedown: (e) => N("mousedown", e),
312
- onMouseup: (e) => N("mouseup", e)
313
- }), Ue = (e, t, n, r, i, a) => ({
314
+ onMousedown: (e) => P("mousedown", e),
315
+ onMouseup: (e) => P("mouseup", e)
316
+ }), Ke = (e, t, n, r, i, a) => ({
314
317
  ...re("switch", {
315
- ariaDescribedby: l(r, a),
318
+ ariaDescribedby: u(r, a),
316
319
  ariaLabelledby: i,
317
- autofocus: M.autofocus && !t,
320
+ autofocus: N.autofocus && !t,
318
321
  checked: !!e.selected,
319
322
  disabled: e.disabled,
320
323
  id: $(e, n),
321
324
  indeterminate: !1,
322
- name: M.name,
323
- readonly: M.readonly,
325
+ name: N.name,
326
+ readonly: N.readonly,
324
327
  required: !1,
325
328
  value: Q(e)
326
329
  }),
327
- ...He(e)
328
- }), We = (e, t, n, r) => {
330
+ ...Ge(e)
331
+ }), qe = (e, t, n, r) => {
329
332
  let i = !!e.selected;
330
333
  return {
331
334
  checked: i,
@@ -337,82 +340,83 @@ var k = /*@__PURE__*/ b({
337
340
  hasWarnings: !!r && !n,
338
341
  id: $(e, t),
339
342
  indeterminate: !1,
340
- name: M.name,
343
+ name: N.name,
341
344
  parsedValue: ie("switch", Q(e)),
342
- readonly: !!M.readonly,
345
+ readonly: !!N.readonly,
343
346
  trueValue: Q(e),
344
347
  value: i ? Q(e) : !1
345
348
  };
346
349
  };
347
- return (i, a) => (be(), ge(t, S({
348
- id: b.id,
350
+ return (a, o) => (be(), ge(t, C({
351
+ id: x.id,
349
352
  class: "bb-switch-group",
350
- compact: E(j).compact,
351
- description: b.description,
352
- disabled: b.disabled,
353
- errors: E(Ee),
354
- "has-errors": b.hasErrors,
355
- "has-value": J.value,
356
- "has-warnings": b.hasWarnings,
357
- "hide-label": b.hideLegend,
358
- hint: b.hint,
359
- "input-align": b.inputAlign,
360
- "input-position": E(j).inputPosition,
361
- label: b.legend,
362
- "label-align": b.labelAlign,
363
- "label-mode": b.legendMode,
364
- "label-position": b.legendPosition,
353
+ compact: D(M).compact,
354
+ description: x.description,
355
+ disabled: x.disabled,
356
+ errors: D(Ee),
357
+ "has-errors": x.hasErrors,
358
+ "has-value": Y.value,
359
+ "has-warnings": x.hasWarnings,
360
+ "hide-label": x.hideLegend,
361
+ hint: x.hint,
362
+ "input-align": x.inputAlign,
363
+ "input-position": D(M).inputPosition,
364
+ label: x.legend,
365
+ "label-align": x.labelAlign,
366
+ "label-mode": x.legendMode,
367
+ "label-position": x.legendPosition,
365
368
  "label-tag": "legend",
366
- layout: E(j).layout,
367
- loading: E(B),
368
- name: b.name,
369
- passthrough: E(X),
370
- readonly: E(P),
371
- reverse: E(j).reverse,
372
- "show-asterisk": E(Te),
369
+ layout: D(M).layout,
370
+ loading: D(V),
371
+ name: x.name,
372
+ passthrough: D(Ue),
373
+ readonly: D(F),
374
+ reverse: D(M).reverse,
375
+ "show-asterisk": D(Te),
373
376
  "show-hint": Ae.value,
374
- "ssr-marker": E(Fe),
377
+ "ssr-marker": D(Ie),
375
378
  tag: "fieldset",
376
- warnings: b.warnings
377
- }, E(Y).forwardAttrs), ve({
378
- label: D((e) => [w(i.$slots, "legend", C(x(e)))]),
379
- input: D(({ id: t, hasErrors: a, hasWarnings: o, ariaDescribedby: s }) => [y(n, {
379
+ warnings: x.warnings
380
+ }, D(X).forwardAttrs), ve({
381
+ label: O((e) => [T(a.$slots, "legend", w(S(e)))]),
382
+ input: O(({ id: t, hasErrors: s, hasWarnings: c, ariaDescribedby: l }) => [b(n, {
380
383
  ref: ke,
381
384
  block: "bb-switch-group",
382
- "empty-text": b.emptyText,
383
- error: E(Pe),
384
- "failed-text": b.failedText,
385
- "has-errors": a,
386
- "has-warnings": o,
387
- "hide-label": b.hideLabel,
388
- "item-input-align": b.itemInputAlign,
389
- "item-label-align": b.itemLabelAlign,
390
- "item-layout": E(j).itemLayout,
391
- "item-reverse": E(j).itemReverse,
392
- "list-block": E(j).block,
393
- "list-layout": E(j).listLayout,
394
- loading: !!E(B),
395
- "loading-text": b.loadingText,
396
- options: E(G),
397
- passthrough: E(Y)
385
+ "empty-text": x.emptyText,
386
+ error: D(Pe),
387
+ "failed-text": x.failedText,
388
+ "has-errors": s,
389
+ "has-warnings": c,
390
+ "hide-label": x.hideLabel,
391
+ "item-input-align": x.itemInputAlign,
392
+ "item-label-align": x.itemLabelAlign,
393
+ "item-layout": D(M).itemLayout,
394
+ "item-reverse": D(M).itemReverse,
395
+ "list-block": D(M).block,
396
+ "list-layout": D(M).listLayout,
397
+ loading: !!D(V),
398
+ "loading-text": x.loadingText,
399
+ options: D(K),
400
+ passthrough: D(X),
401
+ onRetry: o[0] ||= (e) => D(r)(e, Le, () => L.value)
398
402
  }, {
399
- prepend: D(() => [w(i.$slots, "prepend")]),
400
- loading: D(() => [w(i.$slots, "loading")]),
401
- empty: D((e) => [w(i.$slots, "empty", C(x(e)))]),
402
- label: D((e) => [w(i.$slots, "label", C(x(e)))]),
403
- input: D(({ option: n, index: c, labelId: l, descriptionId: u, rowStates: d }) => [O(_e("input", C(x(Ue(n, c, t, s, l, u))), null, 16), [[E(e)]]), w(i.$slots, "icon", S({
403
+ prepend: O(() => [T(a.$slots, "prepend")]),
404
+ loading: O(() => [T(a.$slots, "loading")]),
405
+ empty: O((e) => [T(a.$slots, "empty", w(S(e)))]),
406
+ label: O((e) => [T(a.$slots, "label", w(S(e)))]),
407
+ input: O(({ option: n, index: r, labelId: o, descriptionId: u, rowStates: d }) => [k(_e("input", w(S(Ke(n, r, t, l, o, u))), null, 16), [[D(e)]]), T(a.$slots, "icon", C({
404
408
  item: n.item,
405
409
  text: n.text
406
- }, We(n, t, a, o)), () => [y(r, S({
410
+ }, qe(n, t, s, c)), () => [b(i, C({
407
411
  checked: !!n.selected,
408
412
  disabled: !!n.disabled,
409
- "focus-visible": E(Z).focusVisible(n.valueHash),
410
- focused: E(Z).focused(n.valueHash),
411
- "has-errors": !!a,
412
- "has-warnings": !!o && !a,
413
+ "focus-visible": D(Z).focusVisible(n.valueHash),
414
+ focused: D(Z).focused(n.valueHash),
415
+ "has-errors": !!s,
416
+ "has-warnings": !!c && !s,
413
417
  indeterminate: !1,
414
- readonly: !!E(P)
415
- }, E(Y).part("icon", d, n.item)), null, 16, [
418
+ readonly: !!D(F)
419
+ }, D(X).part("icon", d, n.item)), null, 16, [
416
420
  "checked",
417
421
  "disabled",
418
422
  "focus-visible",
@@ -421,7 +425,7 @@ var k = /*@__PURE__*/ b({
421
425
  "has-warnings",
422
426
  "readonly"
423
427
  ])])]),
424
- append: D(() => [w(i.$slots, "append")]),
428
+ append: O(() => [T(a.$slots, "append")]),
425
429
  _: 2
426
430
  }, 1032, [
427
431
  "empty-text",
@@ -442,11 +446,11 @@ var k = /*@__PURE__*/ b({
442
446
  "passthrough"
443
447
  ])]),
444
448
  _: 2
445
- }, [i.$slots.description ? {
449
+ }, [a.$slots.description ? {
446
450
  name: "description",
447
- fn: D((e) => [w(i.$slots, "description", C(x(e)))]),
451
+ fn: O((e) => [T(a.$slots, "description", w(S(e)))]),
448
452
  key: "0"
449
453
  } : void 0]), 1040, /* @__PURE__ */ "id.compact.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.input-position.label.label-align.label-mode.label-position.layout.loading.name.passthrough.readonly.reverse.show-asterisk.show-hint.ssr-marker.warnings".split(".")));
450
454
  }
451
455
  });
452
- export { k as default };
456
+ export { A as default };
@@ -84,13 +84,10 @@ export type BbSwitchGroupSlots<T> = {
84
84
  loading?: (props: object) => any;
85
85
  /**
86
86
  * Content shown when no options are available (replaces the default "no
87
- * data" text). `error` is what the latest failed load rejected with,
88
- * untouched, and `null` when nothing failed — a failed load clears the
89
- * rows, so this slot is where it shows.
87
+ * data" text). Empty only: a failed load shows the library's failure row
88
+ * instead (its message is `failed-text`, and it ends with "Try again").
90
89
  */
91
- empty?: (props: {
92
- error: unknown;
93
- }) => any;
90
+ empty?: (props: object) => any;
94
91
  /**
95
92
  * Replaces the default switch track visual for each option. Receives the
96
93
  * switch state plus the source item and its display text.
@@ -74,9 +74,7 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {},
74
74
  loading?: ((props: {
75
75
  items: Item[];
76
76
  }) => any) | undefined;
77
- empty?: (props: {
78
- error: unknown;
79
- }) => any;
77
+ empty?: (props: object) => any;
80
78
  actions?: ((props: {
81
79
  expanded?: boolean;
82
80
  expandProps?: import('./types.js').ExpandControllerProps;