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
@@ -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.
@@ -22,7 +22,7 @@ declare const __VLS_export: <Item = any, T extends ItemKey<Item> = string & {},
22
22
  } & {
23
23
  itemValue?: ItemKeyInput<Item, A> | ItemGetter<Item, any>;
24
24
  multiple?: MultipleInput<M, true>;
25
- } & Omit<import('vue').HTMLAttributes & import('vue').FieldsetHTMLAttributes, "legend" | "sort" | `pt:${string}&${string}` | "fixed" | "readonly" | "disabled" | "highlighted" | "loading" | "page" | "pt" | "dependencies" | "compact" | "modelValue" | "interactiveWhileLoading" | "id" | "name" | "depsDebounceTime" | "enforceCoherence" | "items" | "itemValue" | "loadingText" | "max" | "multiple" | "emptyText" | "failedText" | "selectable" | "caption" | keyof import('./ptKeys.generated.js').BbTablePtKeys | "accessibleLabel" | "actionsText" | "align" | "columns" | "disableSelectAll" | "displayCaption" | "expandedItems" | "fixedActions" | "fixedFirst" | "fixedHeaders" | "fixedLast" | "fixedSelect" | "headerRowClass" | "highlightable" | "inheritColumnWidths" | "keyboardNavigation" | "multiSort" | "order" | "perPage" | "reorderable" | "reorderableRows" | "resizable" | "rowClass" | "rowMenu" | "selectAll" | "selectAllLabel" | "selectText" | "tdClass" | "thClass" | "totalItems" | "totalPages" | "unselectedItems" | "virtual"> & {} & {
25
+ } & Omit<import('vue').HTMLAttributes & import('vue').FieldsetHTMLAttributes, "legend" | "sort" | `pt:${string}&${string}` | "fixed" | "readonly" | "disabled" | "highlighted" | "loading" | "page" | "pt" | "dependencies" | "compact" | "modelValue" | "id" | "name" | "multiple" | "max" | "selectable" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "interactiveWhileLoading" | "depsDebounceTime" | "itemValue" | "caption" | keyof import('./ptKeys.generated.js').BbTablePtKeys | "accessibleLabel" | "actionsText" | "align" | "columns" | "disableSelectAll" | "displayCaption" | "expandedItems" | "fixedActions" | "fixedFirst" | "fixedHeaders" | "fixedLast" | "fixedSelect" | "headerRowClass" | "highlightable" | "inheritColumnWidths" | "keyboardNavigation" | "multiSort" | "order" | "perPage" | "reorderable" | "reorderableRows" | "resizable" | "rowClass" | "rowMenu" | "selectAll" | "selectAllLabel" | "selectText" | "tdClass" | "thClass" | "totalItems" | "totalPages" | "unselectedItems" | "virtual"> & {} & {
26
26
  selectAll?: boolean;
27
27
  sort?: BbTableSortEntry[];
28
28
  order?: string[];
@@ -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;