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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (321) hide show
  1. package/README.md +5 -5
  2. package/bin/cli.mjs +16 -10
  3. package/dist/ai/BbAlert.md +1 -1
  4. package/dist/ai/BbAvatar.md +86 -58
  5. package/dist/ai/BbBadge.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +3 -3
  7. package/dist/ai/BbButton.md +4 -4
  8. package/dist/ai/BbCalendar.md +5 -2
  9. package/dist/ai/BbCheckboxGroup.md +5 -4
  10. package/dist/ai/BbColorInput.md +13 -1
  11. package/dist/ai/BbColorPalette.md +12 -7
  12. package/dist/ai/BbConfirm.md +1 -1
  13. package/dist/ai/BbDatePicker.md +13 -1
  14. package/dist/ai/BbDatePickerInput.md +18 -2
  15. package/dist/ai/BbDialog.md +6 -3
  16. package/dist/ai/BbDropdown.md +174 -77
  17. package/dist/ai/BbDropdownButton.md +37 -16
  18. package/dist/ai/BbGallery.md +3 -2
  19. package/dist/ai/BbIcon.md +10 -10
  20. package/dist/ai/BbNumberInput.md +3 -1
  21. package/dist/ai/BbOffCanvas.md +3 -2
  22. package/dist/ai/BbPopover.md +1 -1
  23. package/dist/ai/BbRadioGroup.md +4 -4
  24. package/dist/ai/BbSelect.md +227 -105
  25. package/dist/ai/BbSelectPopover.md +139 -14
  26. package/dist/ai/BbSwitchGroup.md +5 -4
  27. package/dist/ai/BbTable.md +18 -17
  28. package/dist/ai/BbTimePicker.md +13 -1
  29. package/dist/ai/BbTimePickerInput.md +16 -2
  30. package/dist/ai/BbToast.md +3 -2
  31. package/dist/ai/BbTree.md +5 -1
  32. package/dist/ai/CommonPopover.md +1 -0
  33. package/dist/ai/FlatListBox.md +1 -0
  34. package/dist/ai/GroupedListBox.md +3 -2
  35. package/dist/ai/ListBox.md +4 -2
  36. package/dist/ai/OptionsContainer.md +4 -4
  37. package/dist/ai/changelog.json +310 -7
  38. package/dist/ai/components.json +33 -35
  39. package/dist/ai/composables/useToast.md +2 -2
  40. package/dist/ai/design-tokens.json +60 -0
  41. package/dist/ai/guides/agent-contract.md +9 -5
  42. package/dist/ai/guides/calendars-and-digits.md +1 -1
  43. package/dist/ai/guides/design-tokens.md +13 -0
  44. package/dist/ai/guides/eslint-rules.md +1 -1
  45. package/dist/ai/guides/fetch-items-playbook.md +7 -11
  46. package/dist/ai/guides/icons-policy.md +32 -11
  47. package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
  48. package/dist/ai/guides/migration/adoption-checklist.md +1 -1
  49. package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
  50. package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
  51. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
  52. package/dist/ai/guides/migration/components/bb-icon.md +4 -4
  53. package/dist/ai/guides/migration/components/bb-table.md +2 -1
  54. package/dist/ai/guides/migration/components/bb-toast.md +2 -2
  55. package/dist/ai/guides/migration/v2-to-v3.md +70 -24
  56. package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
  57. package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
  58. package/dist/ai/guides/passthrough.md +58 -58
  59. package/dist/ai/helpers/inertia/manifest.json +1 -1
  60. package/dist/ai/index.md +1 -1
  61. package/dist/ai/manifest/common.json +1 -0
  62. package/dist/ai/manifest/components/BbAvatar.json +5 -2
  63. package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
  64. package/dist/ai/manifest/components/BbCarousel.json +0 -3
  65. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  66. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
  67. package/dist/ai/manifest/components/BbColorInput.json +5 -2
  68. package/dist/ai/manifest/components/BbColorPalette.json +5 -2
  69. package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
  70. package/dist/ai/manifest/components/BbDatePicker.json +3 -0
  71. package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
  72. package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
  73. package/dist/ai/manifest/components/BbDropdown.json +36 -28
  74. package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
  75. package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
  76. package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
  77. package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
  78. package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
  79. package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
  80. package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
  81. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  82. package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
  83. package/dist/ai/manifest/components/BbSelect.json +47 -40
  84. package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
  85. package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
  86. package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
  87. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  88. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
  89. package/dist/ai/manifest/components/BbTable.json +6 -6
  90. package/dist/ai/manifest/components/BbTable.tree.json +9 -1
  91. package/dist/ai/manifest/components/BbTimePicker.json +5 -2
  92. package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
  93. package/dist/ai/manifest/components/BbTree.json +1 -1
  94. package/dist/ai/manifest/components/CommonPopover.json +1 -0
  95. package/dist/ai/manifest/components/FlatListBox.json +2 -1
  96. package/dist/ai/manifest/components/GroupedListBox.json +3 -2
  97. package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
  98. package/dist/ai/manifest/components/ListBox.json +3 -2
  99. package/dist/ai/manifest/components/ListBox.tree.json +1 -1
  100. package/dist/ai/manifest/components/OptionsContainer.json +6 -4
  101. package/dist/ai/manifest/index.json +2 -2
  102. package/dist/ai/manifest/meta.json +0 -3
  103. package/dist/ai/manifest/types.advanced.json +6 -6
  104. package/dist/ai/manifest/types.api.json +1 -3
  105. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
  106. package/dist/ai/recipes/inertia/onboarding.md +1 -1
  107. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
  108. package/dist/ai/recipes/nuxt/onboarding.md +1 -1
  109. package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
  110. package/dist/ai/recipes/vue/onboarding.md +2 -2
  111. package/dist/ai/source/BbAccordion.md +4 -5
  112. package/dist/ai/source/BbAvatar.md +128 -11
  113. package/dist/ai/source/BbBadge.md +18 -7
  114. package/dist/ai/source/BbBreadcrumbs.md +57 -56
  115. package/dist/ai/source/BbButton.md +41 -25
  116. package/dist/ai/source/BbCalendar.md +8 -6
  117. package/dist/ai/source/BbCarousel.md +41 -34
  118. package/dist/ai/source/BbCheckboxGroup.md +15 -9
  119. package/dist/ai/source/BbColorInput.md +19 -0
  120. package/dist/ai/source/BbColorPalette.md +23 -2
  121. package/dist/ai/source/BbDatePicker.md +18 -0
  122. package/dist/ai/source/BbDatePickerInput.md +47 -3
  123. package/dist/ai/source/BbDialog.md +14 -1
  124. package/dist/ai/source/BbDropdown.md +296 -99
  125. package/dist/ai/source/BbDropdownButton.md +61 -19
  126. package/dist/ai/source/BbDropdownGroup.md +189 -98
  127. package/dist/ai/source/BbGallery.md +82 -60
  128. package/dist/ai/source/BbHost.md +12 -0
  129. package/dist/ai/source/BbNumberInput.md +17 -10
  130. package/dist/ai/source/BbOffCanvas.md +14 -1
  131. package/dist/ai/source/BbPagination.md +12 -28
  132. package/dist/ai/source/BbRadioGroup.md +12 -5
  133. package/dist/ai/source/BbRating.md +4 -4
  134. package/dist/ai/source/BbSelect.md +151 -112
  135. package/dist/ai/source/BbSelectPopover.md +244 -29
  136. package/dist/ai/source/BbSwitchGroup.md +11 -4
  137. package/dist/ai/source/BbTable.md +114 -35
  138. package/dist/ai/source/BbTimePicker.md +19 -0
  139. package/dist/ai/source/BbTimePickerInput.md +21 -2
  140. package/dist/ai/source/BbToast.md +2 -2
  141. package/dist/ai/source/BbToastPortal.md +2 -2
  142. package/dist/ai/source/BbTree.md +1 -1
  143. package/dist/ai/source/ClearableButton.md +4 -2
  144. package/dist/ai/source/CommonPopover.md +24 -1
  145. package/dist/ai/source/ErrorIcon.md +4 -3
  146. package/dist/ai/source/FlatListBox.md +33 -7
  147. package/dist/ai/source/GroupedListBox.md +85 -14
  148. package/dist/ai/source/ListBox.md +11 -1
  149. package/dist/ai/source/OptionsContainer.md +29 -11
  150. package/dist/ai/source/WarningIcon.md +4 -3
  151. package/dist/assets/svgs/close.svg_raw.js +1 -1
  152. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
  153. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
  154. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
  155. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
  156. package/dist/components/BbAvatar/avatarIdentity.js +25 -0
  157. package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
  158. package/dist/components/BbAvatar/types.d.ts +24 -5
  159. package/dist/components/BbAvatar/types.js +5 -1
  160. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
  161. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
  162. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
  163. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
  164. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
  165. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
  166. package/dist/components/BbCalendar/useDayGrid.js +120 -123
  167. package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
  168. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
  169. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
  170. package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
  171. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
  172. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
  173. package/dist/components/BbColorInput/types.d.ts +7 -0
  174. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
  175. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
  176. package/dist/components/BbColorPalette/types.d.ts +7 -0
  177. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
  178. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
  179. package/dist/components/BbDatePicker/types.d.ts +7 -0
  180. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
  181. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
  182. package/dist/components/BbDatePickerInput/types.d.ts +7 -0
  183. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
  184. package/dist/components/BbDialog/leaveGhost.js +22 -17
  185. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
  186. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
  187. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
  188. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
  189. package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
  190. package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
  191. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
  192. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
  193. package/dist/components/BbDropdown/normalizeGroups.js +6 -2
  194. package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
  195. package/dist/components/BbDropdown/types.d.ts +109 -87
  196. package/dist/components/BbDropdown/types.js +3 -0
  197. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
  198. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
  199. package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
  200. package/dist/components/BbDropdownButton/types.d.ts +23 -10
  201. package/dist/components/BbDropdownButton/types.js +4 -0
  202. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
  203. package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
  204. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
  205. package/dist/components/BbIcon/iconCache.js +1 -1
  206. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
  207. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
  208. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
  209. package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
  210. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
  211. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
  212. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
  213. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
  214. package/dist/components/BbRadioGroup/types.d.ts +4 -7
  215. package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
  216. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
  217. package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
  218. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
  219. package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
  220. package/dist/components/BbSelect/types.d.ts +110 -111
  221. package/dist/components/BbSelect/types.js +1 -27
  222. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
  223. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
  224. package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
  225. package/dist/components/BbSelectPopover/types.d.ts +32 -17
  226. package/dist/components/BbSelectPopover/types.js +3 -1
  227. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
  228. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
  229. package/dist/components/BbSwitchGroup/types.d.ts +3 -6
  230. package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
  231. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
  232. package/dist/components/BbTable/BbTableDataRow.js +97 -90
  233. package/dist/components/BbTable/types.d.ts +11 -10
  234. package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
  235. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
  236. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
  237. package/dist/components/BbTimePicker/types.d.ts +7 -0
  238. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
  239. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
  240. package/dist/components/BbTimePickerInput/types.d.ts +7 -0
  241. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
  242. package/dist/components/BbToast/types.d.ts +2 -2
  243. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
  244. package/dist/components/BbTree/types.d.ts +1 -1
  245. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
  246. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  247. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
  248. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
  249. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  250. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
  251. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
  252. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
  253. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
  254. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
  255. package/dist/composables/useInternalIcon.js +25 -0
  256. package/dist/composables/useItemsGetter.js +34 -32
  257. package/dist/composables/useOpenModel.js +20 -0
  258. package/dist/deprecation/ai-deprecations.json.js +1 -1
  259. package/dist/i18n/locales/ar.json +2 -0
  260. package/dist/i18n/locales/cs.json +2 -0
  261. package/dist/i18n/locales/da.json +2 -0
  262. package/dist/i18n/locales/de-CH.json +2 -0
  263. package/dist/i18n/locales/de.json +2 -0
  264. package/dist/i18n/locales/el.json +2 -0
  265. package/dist/i18n/locales/en-GB.json +2 -0
  266. package/dist/i18n/locales/en.json +2 -0
  267. package/dist/i18n/locales/es-MX.json +2 -0
  268. package/dist/i18n/locales/es.json +2 -0
  269. package/dist/i18n/locales/fa.json +2 -0
  270. package/dist/i18n/locales/fi.json +2 -0
  271. package/dist/i18n/locales/fr.json +2 -0
  272. package/dist/i18n/locales/he.json +2 -0
  273. package/dist/i18n/locales/hu.json +2 -0
  274. package/dist/i18n/locales/it.json +2 -0
  275. package/dist/i18n/locales/ja.json +2 -0
  276. package/dist/i18n/locales/ko.json +2 -0
  277. package/dist/i18n/locales/nb.json +2 -0
  278. package/dist/i18n/locales/nl.json +2 -0
  279. package/dist/i18n/locales/pl.json +2 -0
  280. package/dist/i18n/locales/pt-BR.json +2 -0
  281. package/dist/i18n/locales/pt-PT.json +2 -0
  282. package/dist/i18n/locales/ro.json +2 -0
  283. package/dist/i18n/locales/ru.json +2 -0
  284. package/dist/i18n/locales/sv.json +2 -0
  285. package/dist/i18n/locales/tr.json +2 -0
  286. package/dist/i18n/locales/uk.json +2 -0
  287. package/dist/i18n/locales/zh-CN.json +2 -0
  288. package/dist/i18n/locales/zh-HK.json +2 -0
  289. package/dist/i18n/locales/zh-TW.json +2 -0
  290. package/dist/icon-scan.d.ts +1 -1
  291. package/dist/icon-scan.js +68 -61
  292. package/dist/index.d.ts +2 -2
  293. package/dist/llms-full.txt +1038 -451
  294. package/dist/llms-medium.txt +33 -28
  295. package/dist/llms.txt +2 -2
  296. package/dist/locale-blueprint.json +2 -0
  297. package/dist/nuxt.js +1 -1
  298. package/dist/styles.css +2 -2
  299. package/dist/types/ActionButton.d.ts +2 -3
  300. package/dist/types/Config.d.ts +8 -1
  301. package/dist/types/ConfigDefaults.d.ts +10 -2
  302. package/dist/types/Option.d.ts +10 -0
  303. package/dist/types/internalIcons.d.ts +89 -0
  304. package/dist/types/internalIcons.js +158 -0
  305. package/dist/types/ptComponentMap.d.ts +5 -5
  306. package/dist/utilities/functions/slotContent.js +19 -0
  307. package/dist/utils/configDefaults.js +75 -64
  308. package/dist/utils/iconsOption.js +48 -0
  309. package/dist/utils/loadRetry.js +8 -0
  310. package/dist/utils/versionCheck.js +1 -1
  311. package/dist/vite-plugin.d.ts +10 -16
  312. package/dist/vite.js +323 -307
  313. package/llms.txt +2 -2
  314. package/package.json +3 -1
  315. package/scripts/README.md +2 -0
  316. package/scripts/lib/adoption-checklist.json +1 -1
  317. package/scripts/lib/agent-setup.mjs +44 -26
  318. package/scripts/lib/update-install.mjs +48 -0
  319. package/scripts/lib/validate-bb-markup.mjs +93 -12
  320. package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
  321. package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
@@ -174,6 +174,9 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
174
174
  "root:outline"?: import('../../types/passthrough.js').PtValue | undefined;
175
175
  "icon:outline"?: import('../../types/passthrough.js').PtValue | undefined;
176
176
  "label:outline"?: import('../../types/passthrough.js').PtValue | undefined;
177
+ "description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
178
+ "message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
179
+ "hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
177
180
  "label:pill"?: import('../../types/passthrough.js').PtValue | undefined;
178
181
  "label:line"?: import('../../types/passthrough.js').PtValue | undefined;
179
182
  "legend:outline"?: import('../../types/passthrough.js').PtValue | undefined;
@@ -181,13 +184,10 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
181
184
  "legend:line"?: import('../../types/passthrough.js').PtValue | undefined;
182
185
  "root:pill"?: import('../../types/passthrough.js').PtValue | undefined;
183
186
  "root:line"?: import('../../types/passthrough.js').PtValue | undefined;
184
- "description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
185
187
  "description:pill"?: import('../../types/passthrough.js').PtValue | undefined;
186
188
  "description:line"?: import('../../types/passthrough.js').PtValue | undefined;
187
- "message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
188
189
  "message:pill"?: import('../../types/passthrough.js').PtValue | undefined;
189
190
  "message:line"?: import('../../types/passthrough.js').PtValue | undefined;
190
- "hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
191
191
  "hint:pill"?: import('../../types/passthrough.js').PtValue | undefined;
192
192
  "hint:line"?: import('../../types/passthrough.js').PtValue | undefined;
193
193
  "icon:pill"?: import('../../types/passthrough.js').PtValue | undefined;
@@ -210,7 +210,7 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
210
210
  itemValue?: ItemKeyInput<T, A> | ItemGetter<T, any>;
211
211
  itemText?: ItemKeyInput<T, Tx> | ItemGetter<T, string>;
212
212
  multiple?: MultipleInput<M, true>;
213
- } & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "variant" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | keyof import('./ptKeys.generated.js').BbCheckboxGroupPtKeys | "depsDebounceTime" | "enforceCoherence" | "hideLegend" | "items" | "itemText" | "itemValue" | "itemProps" | "itemLabelAlign" | "itemInputAlign" | "legendPosition" | "legendMode" | "loadingText" | "max" | "multiple" | "modelValueDebounceTime" | "emptyText" | "failedText" | "selectable" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
213
+ } & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "variant" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | "multiple" | "max" | "selectable" | "itemText" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "hideLegend" | "legendMode" | "legendPosition" | "depsDebounceTime" | "itemProps" | "itemValue" | "modelValueDebounceTime" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | keyof import('./ptKeys.generated.js').BbCheckboxGroupPtKeys | "itemLabelAlign" | "itemInputAlign" | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
214
214
  onActive?: (() => any) | undefined;
215
215
  onInput?: ((event: Event) => any) | undefined;
216
216
  "onUpdate:modelValue"?: ((value: SelectModelOf<OptionValueOf<T, A>, M>) => any) | undefined;
@@ -2,32 +2,33 @@ import { useConfigDefaults as e } from "../../composables/useConfigDefaults.js";
2
2
  import { vAutofocus as t } from "../../utilities/misc/autofocus.js";
3
3
  import n from "../CommonField/CommonField.vue.js";
4
4
  import r from "../OptionsContainer/OptionsContainer.vue.js";
5
- import i from "../BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js";
6
- import { aliasParts as a, formControlPtActive as o, pickActive as s, usePassthrough as c, variantPt as l } from "../../composables/usePassthrough.js";
7
- import { isNotEmpty as u } from "../../utilities/functions/isNotEmpty.js";
8
- import { withItemDescribedby as d } from "../../utilities/functions/itemProps.js";
9
- import { hash as ee } from "../../utilities/functions/hash.js";
10
- import { preventReadonlyClick as te, preventReadonlyKeydown as f, revertReadonlyChange as ne, syncCheckedToData as re, syncIndeterminate as p, toggleInputAttrs as ie, toggleInputValue as ae } from "../../utilities/functions/toggleInput.js";
11
- import { useToggleListFocus as oe } from "../../composables/useToggleInput.js";
12
- import { useChoiceIndicator as se } from "../../composables/useChoiceIndicator.js";
13
- import { useItemsGetter as ce } from "../../composables/useItemsGetter.js";
14
- import { useIndexById as m } from "../../composables/useIndexById.js";
15
- import { useBaseOptions as le } from "../../composables/useBaseOptions.js";
16
- import { useCoherence as h } from "../../composables/useCoherence.js";
17
- import { useHashedWatcher as g } from "../../composables/useHashedWatcher.js";
18
- import { usePrefill as ue } from "../../composables/usePrefill.js";
19
- import { useLogger as de } from "../../composables/useLogger.js";
20
- import { useActiveInactiveState as fe } from "../../composables/useActiveInactiveState.js";
21
- import { useOnFalsy as pe } from "../../composables/useOnFalsy.js";
22
- import { useOnTruthy as me } from "../../composables/useOnTruthy.js";
23
- import { removedPropsFor as he } from "../../deprecation/removedProps.js";
24
- import { warnRemovedAttrs as ge } from "../../utilities/functions/warnRemovedAttrs.js";
25
- import { BB_CHECKBOX_GROUP_PT as _ } from "./types.js";
26
- import { useFormBinding as _e } from "../../composables/useFormBinding.js";
27
- import { Fragment as ve, computed as v, createBlock as ye, createElementBlock as y, createElementVNode as be, createSlots as xe, createVNode as b, defineComponent as x, guardReactiveProps as S, mergeProps as C, normalizeProps as w, onBeforeMount as Se, openBlock as T, ref as Ce, renderList as we, renderSlot as E, shallowRef as Te, toRef as D, unref as O, useAttrs as Ee, withCtx as k, withDirectives as De } from "vue";
5
+ import { runRetry as i } from "../../utils/loadRetry.js";
6
+ import a from "../BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js";
7
+ import { aliasParts as o, formControlPtActive as s, pickActive as c, usePassthrough as l, variantPt as u } from "../../composables/usePassthrough.js";
8
+ import { isNotEmpty as d } from "../../utilities/functions/isNotEmpty.js";
9
+ import { withItemDescribedby as ee } from "../../utilities/functions/itemProps.js";
10
+ import { hash as te } from "../../utilities/functions/hash.js";
11
+ import { preventReadonlyClick as ne, preventReadonlyKeydown as re, revertReadonlyChange as ie, syncCheckedToData as ae, syncIndeterminate as f, toggleInputAttrs as oe, toggleInputValue as se } from "../../utilities/functions/toggleInput.js";
12
+ import { useToggleListFocus as ce } from "../../composables/useToggleInput.js";
13
+ import { useChoiceIndicator as le } from "../../composables/useChoiceIndicator.js";
14
+ import { useItemsGetter as ue } from "../../composables/useItemsGetter.js";
15
+ import { useIndexById as p } from "../../composables/useIndexById.js";
16
+ import { useBaseOptions as m } from "../../composables/useBaseOptions.js";
17
+ import { useCoherence as de } from "../../composables/useCoherence.js";
18
+ import { useHashedWatcher as h } from "../../composables/useHashedWatcher.js";
19
+ import { usePrefill as fe } from "../../composables/usePrefill.js";
20
+ import { useLogger as pe } from "../../composables/useLogger.js";
21
+ import { useActiveInactiveState as me } from "../../composables/useActiveInactiveState.js";
22
+ import { useOnFalsy as he } from "../../composables/useOnFalsy.js";
23
+ import { useOnTruthy as ge } from "../../composables/useOnTruthy.js";
24
+ import { removedPropsFor as _e } from "../../deprecation/removedProps.js";
25
+ import { warnRemovedAttrs as ve } from "../../utilities/functions/warnRemovedAttrs.js";
26
+ import { BB_CHECKBOX_GROUP_PT as g } from "./types.js";
27
+ import { useFormBinding as ye } from "../../composables/useFormBinding.js";
28
+ import { Fragment as be, computed as _, createBlock as xe, createElementBlock as v, createElementVNode as Se, createSlots as Ce, createVNode as y, defineComponent as b, guardReactiveProps as x, mergeProps as S, normalizeProps as C, onBeforeMount as we, openBlock as w, ref as Te, renderList as Ee, renderSlot as T, shallowRef as E, toRef as D, unref as O, useAttrs as De, withCtx as k, withDirectives as Oe } from "vue";
28
29
  // src/components/BbCheckboxGroup/BbCheckboxGroup.vue?vue&type=script&setup=true&lang.ts
29
- var A = /*@__PURE__*/ x({
30
- mixins: [l(_)],
30
+ var A = /*@__PURE__*/ b({
31
+ mixins: [u(g)],
31
32
  inheritAttrs: !1,
32
33
  __name: "BbCheckboxGroup",
33
34
  props: {
@@ -235,49 +236,51 @@ var A = /*@__PURE__*/ x({
235
236
  "mouseup",
236
237
  "update:modelValue"
237
238
  ],
238
- setup(l, { emit: x }) {
239
- let A = l, Oe = x, j = e("BbCheckboxGroup", A, {
239
+ setup(u, { emit: b }) {
240
+ let A = u, ke = b, j = e("BbCheckboxGroup", A, {
240
241
  inputPosition: "start",
241
242
  compact: !1,
242
243
  itemReverse: !1,
243
244
  reverse: !1,
244
245
  block: !1
245
- }), { props: M, emit: N, showAsterisk: ke, errors: Ae, readonly: P } = _e(A, Oe, {
246
+ }), { props: M, emit: N, showAsterisk: Ae, errors: je, readonly: P } = ye(A, ke, {
246
247
  componentName: "BbCheckboxGroup",
247
248
  identifierFallback: () => A.legend,
248
249
  emptyValue: () => [],
249
250
  leaveOn: "inactive"
250
251
  });
251
- process.env.NODE_ENV !== "production" && ge("BbCheckboxGroup", he("BbCheckboxGroup"));
252
- let je = de();
253
- Se(() => {
254
- M.multiple && !Array.isArray(M.modelValue) && je.throw("BbCheckboxGroup: multiple is set to \"true\" but modelValue is not an array.");
252
+ process.env.NODE_ENV !== "production" && ve("BbCheckboxGroup", _e("BbCheckboxGroup"));
253
+ let Me = pe();
254
+ we(() => {
255
+ M.multiple && !Array.isArray(M.modelValue) && Me.throw("BbCheckboxGroup: multiple is set to \"true\" but modelValue is not an array.");
255
256
  });
256
- let Me = [], F = v(() => M.items === void 0 ? Me : M.items), I = Te(null), Ne = (e) => {
257
+ let Ne = [], F = _(() => M.items === void 0 ? Ne : M.items), I = E(null), Pe = (e) => {
257
258
  I.value = e?.$el ?? null;
258
- }, { active: L } = fe(I), R = Ce(!1), Pe = v(() => M.persistentHint || R.value);
259
- pe(L, () => {
259
+ }, { active: L } = me(I), R = Te(!1), Fe = _(() => M.persistentHint || R.value);
260
+ he(L, () => {
260
261
  R.value = !1, N("inactive");
261
- }), me(L, () => {
262
+ }), ge(L, () => {
262
263
  R.value = !0, N("active");
263
264
  });
264
- let { getter: z, clientReproducible: Fe, hydratedFromSsr: Ie, items: Le, loading: B, error: Re, ssrMarker: ze } = ce({
265
+ let { getter: z, clientReproducible: Ie, hydratedFromSsr: Le, items: Re, loading: B, error: ze, retry: Be, ssrMarker: Ve } = ue({
265
266
  items: F,
266
267
  marker: !0
267
268
  }), V = () => {
268
- M.enforceCoherence && !K.value && N("update:modelValue", We.value);
269
- }, { hasPrefilled: H, whenPrefilled: Be } = ue({
270
- alreadyLoaded: Ie,
271
- clientReproducible: Fe,
269
+ M.enforceCoherence && !K.value && N("update:modelValue", qe.value);
270
+ }, He = async () => {
271
+ await Be() === "applied" && V();
272
+ }, { hasPrefilled: H, whenPrefilled: Ue } = fe({
273
+ alreadyLoaded: Le,
274
+ clientReproducible: Ie,
272
275
  trigger: !0,
273
276
  currentValue: M.modelValue,
274
277
  multiple: !!M.multiple,
275
278
  fn: async () => {
276
279
  await z(void 0, "initial", M.modelValue) === "applied" && V();
277
280
  }
278
- }), U = v(() => M.multiple ? [].concat(M.modelValue) : [M.modelValue]), { data: W } = m({ items: U }), { options: G } = le({
281
+ }), U = _(() => M.multiple ? [].concat(M.modelValue) : [M.modelValue]), { data: W } = p({ items: U }), { options: G } = m({
279
282
  disabled: D(() => M.disabled),
280
- items: Le,
283
+ items: Re,
281
284
  itemText: M.itemText,
282
285
  itemProps: D(() => M.itemProps),
283
286
  itemValue: M.itemValue,
@@ -285,40 +288,40 @@ var A = /*@__PURE__*/ x({
285
288
  max: D(() => M.max),
286
289
  selectable: D(() => M.selectable),
287
290
  selectedIndexedByHash: W
288
- }), Ve = (e) => {
291
+ }), We = (e) => {
289
292
  M.multiple ? N("update:modelValue", [...U.value, e.value]) : N("update:modelValue", e.value);
290
- }, He = (e) => {
293
+ }, Ge = (e) => {
291
294
  if (!M.multiple) {
292
295
  N("update:modelValue", null);
293
296
  return;
294
297
  }
295
298
  let t = { ...W.value };
296
299
  delete t[e.valueHash], N("update:modelValue", Object.values(t));
297
- }, { data: Ue } = m({
300
+ }, { data: Ke } = p({
298
301
  items: G,
299
302
  key: "valueHash"
300
- }), { coherent: K, coherentValue: We } = h({
303
+ }), { coherent: K, coherentValue: qe } = de({
301
304
  modelValue: D(() => M.modelValue),
302
305
  multiple: !!M.multiple,
303
- iteratee: (e) => !!Ue.value[ee(e)]
306
+ iteratee: (e) => !!Ke.value[te(e)]
304
307
  }), q = 0;
305
- g(() => M.modelValue, async () => {
308
+ h(() => M.modelValue, async () => {
306
309
  q++, K.value || await z(void 0, "model", M.modelValue) === "applied" && V(), q--;
307
- }, { debounce: M.modelValueDebounceTime === void 0 ? 0 : M.modelValueDebounceTime }), g(() => [M.dependencies, F.value], async () => {
308
- H.value || await Be(), H.value && (q++, await z(void 0, "dependencies", M.modelValue) === "applied" && q === 1 && V(), q--);
310
+ }, { debounce: M.modelValueDebounceTime === void 0 ? 0 : M.modelValueDebounceTime }), h(() => [M.dependencies, F.value], async () => {
311
+ H.value || await Ue(), H.value && (q++, await z(void 0, "dependencies", M.modelValue) === "applied" && q === 1 && V(), q--);
309
312
  }, { debounce: M.depsDebounceTime === void 0 ? 0 : M.depsDebounceTime });
310
- let J = v(() => u(M.modelValue)), Y = c({
313
+ let J = _(() => d(M.modelValue)), Y = l({
311
314
  component: "BbCheckboxGroup",
312
- attrs: Ee(),
315
+ attrs: De(),
313
316
  props: M,
314
- parts: _.parts,
315
- states: _.states,
317
+ parts: g.parts,
318
+ states: g.states,
316
319
  variant: {
317
- ..._.variant,
320
+ ...g.variant,
318
321
  current: () => M.variant
319
322
  },
320
323
  active: {
321
- ...s(o(M, () => J.value), [
324
+ ...c(s(M, () => J.value), [
322
325
  "errors",
323
326
  "warnings",
324
327
  "disabled",
@@ -327,46 +330,46 @@ var A = /*@__PURE__*/ x({
327
330
  ]),
328
331
  loading: () => B.value
329
332
  }
330
- }), X = v(() => j.listLayout === "vertical"), { boxes: Ge, ready: Ke, styleOf: qe } = se({
333
+ }), Je = _(() => j.listLayout === "vertical"), { boxes: Ye, ready: Xe, styleOf: Ze } = le({
331
334
  kind: "checkbox",
332
335
  variant: () => M.variant,
333
- vertical: () => X.value,
336
+ vertical: () => Je.value,
334
337
  list: () => I.value,
335
338
  rows: () => G.value,
336
339
  rowClass: "bb-checkbox-group__item"
337
- }), Je = a(Y, { label: "legend" }), Z = oe(), Q = (e) => e.value === void 0 || e.value, $ = (e, t) => {
340
+ }), X = o(Y, { label: "legend" }), Z = ce(), Q = (e) => e.value === void 0 || e.value, $ = (e, t) => {
338
341
  if (t) return [t, e.valueHash].filter(Boolean).join("-");
339
- }, Ye = (e, t) => {
340
- N("change", e), t.selected ? He(t) : Ve(t);
341
- }, Xe = (e) => ({
342
+ }, Qe = (e, t) => {
343
+ N("change", e), t.selected ? Ge(t) : We(t);
344
+ }, $e = (e) => ({
342
345
  onBlur: (t) => {
343
346
  Z.onBlur(e.valueHash), N("blur", t);
344
347
  },
345
348
  onChange: (t) => {
346
349
  if (!(t.target instanceof HTMLInputElement)) return;
347
- if (ne(t.target, M.readonly, !!e.selected)) {
348
- p(t.target, !1);
350
+ if (ie(t.target, M.readonly, !!e.selected)) {
351
+ f(t.target, !1);
349
352
  return;
350
353
  }
351
- p(t.target, !1), Ye(t, e);
354
+ f(t.target, !1), Qe(t, e);
352
355
  let n = t.target;
353
- re(() => n, () => !!G.value.find((t) => t.valueHash === e.valueHash)?.selected);
356
+ ae(() => n, () => !!G.value.find((t) => t.valueHash === e.valueHash)?.selected);
354
357
  },
355
358
  onFocus: (t) => {
356
359
  Z.onFocus(e.valueHash, t), R.value = !0, N("focus", t);
357
360
  },
358
361
  onClick: (e) => {
359
- te(e, M.readonly), N("click", e);
362
+ ne(e, M.readonly), N("click", e);
360
363
  },
361
364
  onInput: (e) => N("input", e),
362
365
  onKeydown: (e) => {
363
- f(e, M.readonly), N("keydown", e);
366
+ re(e, M.readonly), N("keydown", e);
364
367
  },
365
368
  onMousedown: (e) => N("mousedown", e),
366
369
  onMouseup: (e) => N("mouseup", e)
367
- }), Ze = (e, t, n, r, i, a) => ({
368
- ...ie("checkbox", {
369
- ariaDescribedby: d(r, a),
370
+ }), et = (e, t, n, r, i, a) => ({
371
+ ...oe("checkbox", {
372
+ ariaDescribedby: ee(r, a),
370
373
  ariaLabelledby: i,
371
374
  autofocus: M.autofocus && !t,
372
375
  checked: !!e.selected,
@@ -378,8 +381,8 @@ var A = /*@__PURE__*/ x({
378
381
  required: !1,
379
382
  value: Q(e)
380
383
  }),
381
- ...Xe(e)
382
- }), Qe = (e, t, n, r) => {
384
+ ...$e(e)
385
+ }), tt = (e, t, n, r) => {
383
386
  let i = !!e.selected;
384
387
  return {
385
388
  checked: i,
@@ -392,85 +395,86 @@ var A = /*@__PURE__*/ x({
392
395
  id: $(e, t),
393
396
  indeterminate: !1,
394
397
  name: M.name,
395
- parsedValue: ae("checkbox", Q(e)),
398
+ parsedValue: se("checkbox", Q(e)),
396
399
  readonly: !!M.readonly,
397
400
  trueValue: Q(e),
398
401
  value: i ? Q(e) : !1
399
402
  };
400
403
  };
401
- return (e, a) => (T(), ye(n, C({
402
- id: l.id,
404
+ return (e, o) => (w(), xe(n, S({
405
+ id: u.id,
403
406
  class: "bb-checkbox-group",
404
407
  compact: O(j).compact,
405
- description: l.description,
406
- disabled: l.disabled,
407
- errors: O(Ae),
408
- "has-errors": l.hasErrors,
408
+ description: u.description,
409
+ disabled: u.disabled,
410
+ errors: O(je),
411
+ "has-errors": u.hasErrors,
409
412
  "has-value": J.value,
410
- "has-warnings": l.hasWarnings,
411
- "hide-label": l.hideLegend,
412
- hint: l.hint,
413
- "input-align": l.inputAlign,
413
+ "has-warnings": u.hasWarnings,
414
+ "hide-label": u.hideLegend,
415
+ hint: u.hint,
416
+ "input-align": u.inputAlign,
414
417
  "input-position": O(j).inputPosition,
415
- label: l.legend,
416
- "label-align": l.labelAlign,
417
- "label-mode": l.legendMode,
418
- "label-position": l.legendPosition,
418
+ label: u.legend,
419
+ "label-align": u.labelAlign,
420
+ "label-mode": u.legendMode,
421
+ "label-position": u.legendPosition,
419
422
  "label-tag": "legend",
420
423
  layout: O(j).layout,
421
424
  loading: O(B),
422
- name: l.name,
423
- passthrough: O(Je),
425
+ name: u.name,
426
+ passthrough: O(X),
424
427
  readonly: O(P),
425
428
  reverse: O(j).reverse,
426
- "show-asterisk": O(ke),
427
- "show-hint": Pe.value,
428
- "ssr-marker": O(ze),
429
+ "show-asterisk": O(Ae),
430
+ "show-hint": Fe.value,
431
+ "ssr-marker": O(Ve),
429
432
  tag: "fieldset",
430
- warnings: l.warnings
431
- }, O(Y).forwardAttrs), xe({
432
- label: k((t) => [E(e.$slots, "legend", w(S(t)))]),
433
- input: k(({ id: n, hasErrors: a, hasWarnings: o, ariaDescribedby: s }) => [b(r, {
434
- ref: Ne,
433
+ warnings: u.warnings
434
+ }, O(Y).forwardAttrs), Ce({
435
+ label: k((t) => [T(e.$slots, "legend", C(x(t)))]),
436
+ input: k(({ id: n, hasErrors: s, hasWarnings: c, ariaDescribedby: l }) => [y(r, {
437
+ ref: Pe,
435
438
  block: "bb-checkbox-group",
436
- "empty-text": l.emptyText,
437
- error: O(Re),
438
- "failed-text": l.failedText,
439
- "has-errors": a,
440
- "has-warnings": o,
441
- "hide-label": l.hideLabel,
442
- "indicator-ready": O(Ke),
443
- "item-input-align": l.itemInputAlign,
444
- "item-label-align": l.itemLabelAlign,
439
+ "empty-text": u.emptyText,
440
+ error: O(ze),
441
+ "failed-text": u.failedText,
442
+ "has-errors": s,
443
+ "has-warnings": c,
444
+ "hide-label": u.hideLabel,
445
+ "indicator-ready": O(Xe),
446
+ "item-input-align": u.itemInputAlign,
447
+ "item-label-align": u.itemLabelAlign,
445
448
  "item-layout": O(j).itemLayout,
446
449
  "item-reverse": O(j).itemReverse,
447
450
  "list-block": O(j).block,
448
451
  "list-layout": O(j).listLayout,
449
452
  loading: !!O(B),
450
- "loading-text": l.loadingText,
453
+ "loading-text": u.loadingText,
451
454
  options: O(G),
452
455
  passthrough: O(Y),
453
- variant: l.variant
456
+ variant: u.variant,
457
+ onRetry: o[0] ||= (e) => O(i)(e, He, () => I.value)
454
458
  }, {
455
- prepend: k(() => [(T(!0), y(ve, null, we(O(Ge), (e) => (T(), y("span", C({
459
+ prepend: k(() => [(w(!0), v(be, null, Ee(O(Ye), (e) => (w(), v("span", S({
456
460
  key: e.key,
457
461
  "aria-hidden": "true",
458
462
  class: "bb-checkbox-group__indicator",
459
- style: O(qe)(e)
460
- }, { ref_for: !0 }, O(Y).indicator), null, 16))), 128)), E(e.$slots, "prepend")]),
461
- loading: k(() => [E(e.$slots, "loading")]),
462
- empty: k((t) => [E(e.$slots, "empty", w(S(t)))]),
463
- label: k((t) => [E(e.$slots, "label", w(S(t)))]),
464
- input: k(({ option: r, index: c, labelId: l, descriptionId: u, rowStates: d }) => [De(be("input", w(S(Ze(r, c, n, s, l, u))), null, 16), [[O(t)]]), E(e.$slots, "icon", C({
463
+ style: O(Ze)(e)
464
+ }, { ref_for: !0 }, O(Y).indicator), null, 16))), 128)), T(e.$slots, "prepend")]),
465
+ loading: k(() => [T(e.$slots, "loading")]),
466
+ empty: k((t) => [T(e.$slots, "empty", C(x(t)))]),
467
+ label: k((t) => [T(e.$slots, "label", C(x(t)))]),
468
+ input: k(({ option: r, index: i, labelId: o, descriptionId: u, rowStates: d }) => [Oe(Se("input", C(x(et(r, i, n, l, o, u))), null, 16), [[O(t)]]), T(e.$slots, "icon", S({
465
469
  item: r.item,
466
470
  text: r.text
467
- }, Qe(r, n, a, o)), () => [b(i, C({
471
+ }, tt(r, n, s, c)), () => [y(a, S({
468
472
  checked: !!r.selected,
469
473
  disabled: !!r.disabled,
470
474
  "focus-visible": O(Z).focusVisible(r.valueHash),
471
475
  focused: O(Z).focused(r.valueHash),
472
- "has-errors": !!a,
473
- "has-warnings": !!o && !a,
476
+ "has-errors": !!s,
477
+ "has-warnings": !!c && !s,
474
478
  indeterminate: !1,
475
479
  readonly: !!O(P)
476
480
  }, O(Y).part("icon", d, r.item)), null, 16, [
@@ -482,7 +486,7 @@ var A = /*@__PURE__*/ x({
482
486
  "has-warnings",
483
487
  "readonly"
484
488
  ])])]),
485
- append: k(() => [E(e.$slots, "append")]),
489
+ append: k(() => [T(e.$slots, "append")]),
486
490
  _: 2
487
491
  }, 1032, [
488
492
  "empty-text",
@@ -507,7 +511,7 @@ var A = /*@__PURE__*/ x({
507
511
  _: 2
508
512
  }, [e.$slots.description ? {
509
513
  name: "description",
510
- fn: k((t) => [E(e.$slots, "description", w(S(t)))]),
514
+ fn: k((t) => [T(e.$slots, "description", C(x(t)))]),
511
515
  key: "0"
512
516
  } : 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(".")));
513
517
  }
@@ -145,11 +145,10 @@ export type BbCheckboxGroupBaseProps<T> = {
145
145
  */
146
146
  inputPosition?: 'left' | 'center' | 'right' | 'start' | 'end';
147
147
  /**
148
- * The options: an array, or a provider called with a
149
- * `BbCheckboxGroupItemsContext` (`BbSwitchGroupItemsContext` on a switch
150
- * group) (`reason`, `modelValue`, `signal`), sync or async. A provider
151
- * fails by THROWING, never by returning `[]`: the rows clear and `#empty`
152
- * gets the `error`.
148
+ * The options: an array, or a provider called with `{ reason, modelValue,
149
+ * signal }`, sync or async. A provider fails by THROWING, never by
150
+ * returning `[]`: the rows clear and the failure row shows `failed-text`
151
+ * with "Try again".
153
152
  */
154
153
  items: T[] | ((context: BbCheckboxGroupItemsContext) => T[] | Promise<T[]>);
155
154
  /**
@@ -430,13 +429,10 @@ export type BbCheckboxGroupSlots<T> = {
430
429
  loading?: (props: object) => any;
431
430
  /**
432
431
  * Content shown when no options are available (replaces the default "no
433
- * data" text). `error` is what the latest failed load rejected with,
434
- * untouched, and `null` when nothing failed — a failed load clears the
435
- * rows, so this slot is where it shows.
432
+ * data" text). Empty only: a failed load shows the library's failure row
433
+ * instead (its message is `failed-text`, and it ends with "Try again").
436
434
  */
437
- empty?: (props: {
438
- error: unknown;
439
- }) => any;
435
+ empty?: (props: object) => any;
440
436
  /**
441
437
  * Replaces the default checkmark icon for each checkbox option.
442
438
  */
@@ -22,6 +22,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
22
22
  show: () => any;
23
23
  shown: () => any;
24
24
  hidden: () => any;
25
+ "update:open": (value: boolean) => any;
25
26
  }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
26
27
  onInput?: ((event: Event) => any) | undefined;
27
28
  "onUpdate:modelValue"?: ((value: string | null) => any) | undefined;
@@ -40,6 +41,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {},
40
41
  onShow?: (() => any) | undefined;
41
42
  onShown?: (() => any) | undefined;
42
43
  onHidden?: (() => any) | undefined;
44
+ "onUpdate:open"?: ((value: boolean) => any) | undefined;
43
45
  }>, {
44
46
  reverse: boolean;
45
47
  compact: boolean;