bitboss-ui 2.1.135 → 3.0.0-alpha.4

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 (1369) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +274 -24
  3. package/bin/bitboss-ui-mcp.mjs +662 -0
  4. package/bin/bitboss-ui.mjs +710 -0
  5. package/bin/bitboss-ui.node.test.mjs +113 -0
  6. package/dist/ai/BbAccordion.md +528 -113
  7. package/dist/ai/BbAlert.md +380 -197
  8. package/dist/ai/BbAsterisk.md +46 -0
  9. package/dist/ai/BbAvatar.md +458 -178
  10. package/dist/ai/BbBadge.md +697 -225
  11. package/dist/ai/BbBadgeButton.md +54 -0
  12. package/dist/ai/BbBaseButton.md +491 -0
  13. package/dist/ai/BbBaseCheckbox.md +49 -0
  14. package/dist/ai/BbBaseCheckboxGroup.md +64 -0
  15. package/dist/ai/BbBaseCheckboxIcon.md +176 -0
  16. package/dist/ai/BbBaseColorInput.md +64 -0
  17. package/dist/ai/BbBaseColorPalette.md +39 -0
  18. package/dist/ai/BbBaseDatePicker.md +42 -0
  19. package/dist/ai/BbBaseDatePickerInput.md +73 -0
  20. package/dist/ai/BbBaseInputContainer.md +48 -0
  21. package/dist/ai/BbBaseNumberInput.md +71 -0
  22. package/dist/ai/BbBaseRadio.md +46 -0
  23. package/dist/ai/BbBaseRadioGroup.md +64 -0
  24. package/dist/ai/BbBaseRadioIcon.md +191 -0
  25. package/dist/ai/BbBaseRating.md +51 -0
  26. package/dist/ai/BbBaseSelect.md +88 -0
  27. package/dist/ai/BbBaseSlider.md +56 -0
  28. package/dist/ai/BbBaseSwitch.md +49 -0
  29. package/dist/ai/BbBaseSwitchGroup.md +64 -0
  30. package/dist/ai/BbBaseSwitchIcon.md +186 -0
  31. package/dist/ai/BbBaseTag.md +68 -0
  32. package/dist/ai/BbBaseTextInput.md +75 -0
  33. package/dist/ai/BbBaseTextarea.md +62 -0
  34. package/dist/ai/BbBaseTimePickerInput.md +62 -0
  35. package/dist/ai/BbBreadcrumbs.md +553 -503
  36. package/dist/ai/BbButton.md +841 -636
  37. package/dist/ai/BbCheckbox.md +585 -254
  38. package/dist/ai/BbCheckboxGroup.md +573 -361
  39. package/dist/ai/BbCollapsible.md +425 -103
  40. package/dist/ai/BbColorInput.md +536 -323
  41. package/dist/ai/BbColorPalette.md +569 -330
  42. package/dist/ai/BbConfirm.md +659 -136
  43. package/dist/ai/BbConfirmPortal.md +28 -0
  44. package/dist/ai/BbDatePicker.md +244 -0
  45. package/dist/ai/BbDatePickerInput.md +720 -388
  46. package/dist/ai/BbDialog.md +778 -99
  47. package/dist/ai/BbDropdown.md +1072 -763
  48. package/dist/ai/BbDropdownButton.md +525 -614
  49. package/dist/ai/BbDropdownGroup.md +34 -0
  50. package/dist/ai/BbDropzone.md +1206 -436
  51. package/dist/ai/BbForm.md +239 -0
  52. package/dist/ai/BbIcon.md +382 -212
  53. package/dist/ai/BbIndicator.md +283 -0
  54. package/dist/ai/BbNumberInput.md +717 -355
  55. package/dist/ai/BbOffCanvas.md +897 -498
  56. package/dist/ai/BbPagination.md +489 -535
  57. package/dist/ai/BbPopover.md +591 -546
  58. package/dist/ai/BbProgress.md +462 -69
  59. package/dist/ai/BbRadio.md +352 -229
  60. package/dist/ai/BbRadioGroup.md +437 -353
  61. package/dist/ai/BbRating.md +372 -225
  62. package/dist/ai/BbSelect.md +1399 -536
  63. package/dist/ai/BbSelectPopover.md +1255 -1578
  64. package/dist/ai/BbSlider.md +500 -256
  65. package/dist/ai/BbSmoothHeight.md +485 -139
  66. package/dist/ai/BbSpinner.md +718 -131
  67. package/dist/ai/BbSwitch.md +573 -119
  68. package/dist/ai/BbSwitchGroup.md +521 -214
  69. package/dist/ai/BbTable.md +1996 -2365
  70. package/dist/ai/BbTabs.md +1147 -0
  71. package/dist/ai/BbTabsList.md +29 -0
  72. package/dist/ai/BbTabsPanes.md +27 -0
  73. package/dist/ai/BbTabsRoot.md +57 -0
  74. package/dist/ai/BbTag.md +416 -292
  75. package/dist/ai/BbTextInput.md +878 -333
  76. package/dist/ai/BbTextarea.md +850 -255
  77. package/dist/ai/BbTimePicker.md +231 -0
  78. package/dist/ai/BbTimePickerInput.md +200 -0
  79. package/dist/ai/BbToast.md +669 -196
  80. package/dist/ai/BbToastPortal.md +28 -0
  81. package/dist/ai/BbTooltip.md +453 -346
  82. package/dist/ai/BbTree.md +993 -234
  83. package/dist/ai/ChipsBox.md +27 -199
  84. package/dist/ai/ClearableButton.md +21 -55
  85. package/dist/ai/CommaBox.md +25 -200
  86. package/dist/ai/CommonInputWrapper.md +42 -0
  87. package/dist/ai/CommonPopover.md +30 -510
  88. package/dist/ai/ErrorIcon.md +19 -56
  89. package/dist/ai/FlatListBox.md +35 -379
  90. package/dist/ai/GroupedListBox.md +37 -535
  91. package/dist/ai/GuidesComponent.md +21 -0
  92. package/dist/ai/ListBox.md +38 -231
  93. package/dist/ai/OptionsContainer.md +34 -253
  94. package/dist/ai/WarningIcon.md +21 -0
  95. package/dist/ai/components.json +15897 -0
  96. package/dist/ai/composables/useBbConfig.md +80 -0
  97. package/dist/ai/composables/useBbFormContext.md +110 -0
  98. package/dist/ai/composables/useBbTableContext.md +167 -0
  99. package/dist/ai/composables/useBbTabsContext.md +118 -0
  100. package/dist/ai/composables/useBroadcastChannelInstance.md +97 -0
  101. package/dist/ai/composables/useConfirm.md +313 -0
  102. package/dist/ai/composables/useCountdown.md +86 -0
  103. package/dist/ai/composables/useId.md +60 -0
  104. package/dist/ai/composables/useMobile.md +85 -0
  105. package/dist/ai/composables/useToast.md +238 -0
  106. package/dist/ai/guides/agent-contract.md +165 -0
  107. package/dist/ai/guides/ai-router.md +113 -0
  108. package/dist/ai/guides/app-layout.md +318 -0
  109. package/dist/ai/guides/coherence-playbook.md +136 -0
  110. package/dist/ai/guides/component-picker.md +236 -0
  111. package/dist/ai/guides/design-language.md +478 -0
  112. package/dist/ai/guides/design-tokens.md +450 -0
  113. package/dist/ai/guides/fetch-items-playbook.md +161 -0
  114. package/dist/ai/guides/floating-bottom-panel.md +130 -0
  115. package/dist/ai/guides/icons-policy.md +257 -0
  116. package/dist/ai/guides/inertia-helpers.md +1443 -0
  117. package/dist/ai/guides/inline-edit-playbook.md +267 -0
  118. package/dist/ai/guides/installation-and-plugin-setup.md +440 -0
  119. package/dist/ai/guides/migration/components/bb-alert.md +37 -0
  120. package/dist/ai/guides/migration/components/bb-avatar.md +24 -0
  121. package/dist/ai/guides/migration/components/bb-badge.md +110 -0
  122. package/dist/ai/guides/migration/components/bb-breadcrumbs.md +26 -0
  123. package/dist/ai/guides/migration/components/bb-button.md +55 -0
  124. package/dist/ai/guides/migration/components/bb-checkbox-group.md +54 -0
  125. package/dist/ai/guides/migration/components/bb-checkbox.md +45 -0
  126. package/dist/ai/guides/migration/components/bb-chip.md +35 -0
  127. package/dist/ai/guides/migration/components/bb-collapsible.md +26 -0
  128. package/dist/ai/guides/migration/components/bb-color-input.md +23 -0
  129. package/dist/ai/guides/migration/components/bb-color-palette.md +31 -0
  130. package/dist/ai/guides/migration/components/bb-date-picker-input.md +84 -0
  131. package/dist/ai/guides/migration/components/bb-dialog.md +46 -0
  132. package/dist/ai/guides/migration/components/bb-dropdown-button.md +31 -0
  133. package/dist/ai/guides/migration/components/bb-dropdown.md +36 -0
  134. package/dist/ai/guides/migration/components/bb-dropzone.md +27 -0
  135. package/dist/ai/guides/migration/components/bb-icon.md +27 -0
  136. package/dist/ai/guides/migration/components/bb-offcanvas.md +63 -0
  137. package/dist/ai/guides/migration/components/bb-pagination.md +24 -0
  138. package/dist/ai/guides/migration/components/bb-popover.md +52 -0
  139. package/dist/ai/guides/migration/components/bb-rating.md +24 -0
  140. package/dist/ai/guides/migration/components/bb-select-popover.md +59 -0
  141. package/dist/ai/guides/migration/components/bb-select.md +69 -0
  142. package/dist/ai/guides/migration/components/bb-slider.md +25 -0
  143. package/dist/ai/guides/migration/components/bb-smooth-height.md +45 -0
  144. package/dist/ai/guides/migration/components/bb-spinner.md +23 -0
  145. package/dist/ai/guides/migration/components/bb-table.md +66 -0
  146. package/dist/ai/guides/migration/components/bb-tabs.md +47 -0
  147. package/dist/ai/guides/migration/components/bb-tag.md +29 -0
  148. package/dist/ai/guides/migration/components/bb-text-input.md +37 -0
  149. package/dist/ai/guides/migration/components/bb-toast.md +47 -0
  150. package/dist/ai/guides/migration/components/bb-tooltip.md +34 -0
  151. package/dist/ai/guides/migration/components/bb-tree.md +77 -0
  152. package/dist/ai/guides/migration/components/use-confirm.md +46 -0
  153. package/dist/ai/guides/migration/v2-to-v3.md +649 -0
  154. package/dist/ai/guides/options-items-playbook.md +222 -0
  155. package/dist/ai/guides/page-shell.md +113 -0
  156. package/dist/ai/guides/validated-forms.md +177 -0
  157. package/dist/ai/index.md +158 -32
  158. package/dist/ai/recipes/inertia/approvals-inbox.md +1635 -0
  159. package/dist/ai/recipes/inertia/inline-edit-workspace.md +1765 -0
  160. package/dist/ai/recipes/inertia/layout-scaffold.md +385 -0
  161. package/dist/ai/recipes/inertia/onboarding.md +1791 -0
  162. package/dist/ai/recipes/inertia/ownership-atlas.md +1327 -0
  163. package/dist/ai/recipes/inertia/record-form.md +1489 -0
  164. package/dist/ai/recipes/inertia/records-workspace.md +1416 -0
  165. package/dist/ai/recipes/inertia/upload-center.md +2003 -0
  166. package/dist/ai/recipes/inertia/wizard-form.md +1500 -0
  167. package/dist/ai/recipes/nuxt/approvals-inbox.md +1578 -0
  168. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1703 -0
  169. package/dist/ai/recipes/nuxt/layout-scaffold.md +385 -0
  170. package/dist/ai/recipes/nuxt/onboarding.md +1724 -0
  171. package/dist/ai/recipes/nuxt/record-form.md +1502 -0
  172. package/dist/ai/recipes/nuxt/records-workspace.md +1329 -0
  173. package/dist/ai/recipes/nuxt/upload-center.md +1886 -0
  174. package/dist/ai/recipes/nuxt/wizard-form.md +1509 -0
  175. package/dist/ai/recipes/vue/approvals-inbox.md +1496 -0
  176. package/dist/ai/recipes/vue/inline-edit-workspace.md +1594 -0
  177. package/dist/ai/recipes/vue/layout-scaffold.md +385 -0
  178. package/dist/ai/recipes/vue/onboarding.md +1679 -0
  179. package/dist/ai/recipes/vue/record-form.md +1586 -0
  180. package/dist/ai/recipes/vue/records-workspace.md +1245 -0
  181. package/dist/ai/recipes/vue/upload-center.md +1845 -0
  182. package/dist/ai/recipes/vue/wizard-form.md +1441 -0
  183. package/dist/ai/source/BbAccordion.md +123 -0
  184. package/dist/ai/source/BbAlert.md +401 -0
  185. package/dist/ai/source/BbAsterisk.md +32 -0
  186. package/dist/ai/source/BbAvatar.md +258 -0
  187. package/dist/ai/source/BbBadge.md +560 -0
  188. package/dist/ai/source/BbBadgeButton.md +490 -0
  189. package/dist/ai/source/BbBaseButton.md +682 -0
  190. package/dist/ai/source/BbBaseCheckbox.md +461 -0
  191. package/dist/ai/source/BbBaseCheckboxGroup.md +554 -0
  192. package/dist/ai/source/BbBaseCheckboxIcon.md +201 -0
  193. package/dist/ai/source/BbBaseColorInput.md +416 -0
  194. package/dist/ai/source/BbBaseColorPalette.md +934 -0
  195. package/dist/ai/source/BbBaseDatePicker.md +1001 -0
  196. package/dist/ai/source/BbBaseDatePickerInput.md +1785 -0
  197. package/dist/ai/source/BbBaseInputContainer.md +1210 -0
  198. package/dist/ai/source/BbBaseNumberInput.md +617 -0
  199. package/dist/ai/source/BbBaseRadio.md +377 -0
  200. package/dist/ai/source/BbBaseRadioGroup.md +533 -0
  201. package/dist/ai/source/BbBaseRadioIcon.md +153 -0
  202. package/dist/ai/source/BbBaseRating.md +573 -0
  203. package/dist/ai/source/BbBaseSelect.md +898 -0
  204. package/dist/ai/source/BbBaseSlider.md +1085 -0
  205. package/dist/ai/source/BbBaseSwitch.md +246 -0
  206. package/dist/ai/source/BbBaseSwitchGroup.md +302 -0
  207. package/dist/ai/source/BbBaseSwitchIcon.md +206 -0
  208. package/dist/ai/source/BbBaseTag.md +694 -0
  209. package/dist/ai/source/BbBaseTextInput.md +511 -0
  210. package/dist/ai/source/BbBaseTextarea.md +480 -0
  211. package/dist/ai/source/BbBaseTimePickerInput.md +1031 -0
  212. package/dist/ai/source/BbBreadcrumbs.md +815 -0
  213. package/dist/ai/source/BbButton.md +1006 -0
  214. package/dist/ai/source/BbCheckbox.md +326 -0
  215. package/dist/ai/source/BbCheckboxGroup.md +419 -0
  216. package/dist/ai/source/BbCollapsible.md +137 -0
  217. package/dist/ai/source/BbColorInput.md +322 -0
  218. package/dist/ai/source/BbColorPalette.md +371 -0
  219. package/dist/ai/source/BbConfirm.md +193 -0
  220. package/dist/ai/source/BbConfirmPortal.md +74 -0
  221. package/dist/ai/source/BbDatePicker.md +729 -0
  222. package/dist/ai/source/BbDatePickerInput.md +525 -0
  223. package/dist/ai/source/BbDialog.md +818 -0
  224. package/dist/ai/source/BbDropdown.md +2387 -0
  225. package/dist/ai/source/BbDropdownButton.md +315 -0
  226. package/dist/ai/source/BbDropdownGroup.md +1259 -0
  227. package/dist/ai/source/BbDropzone.md +864 -0
  228. package/dist/ai/source/BbForm.md +100 -0
  229. package/dist/ai/source/BbIcon.md +214 -0
  230. package/dist/ai/source/BbIndicator.md +298 -0
  231. package/dist/ai/source/BbNumberInput.md +374 -0
  232. package/dist/ai/source/BbOffCanvas.md +1266 -0
  233. package/dist/ai/source/BbPagination.md +835 -0
  234. package/dist/ai/source/BbPopover.md +860 -0
  235. package/dist/ai/source/BbProgress.md +140 -0
  236. package/dist/ai/source/BbRadio.md +303 -0
  237. package/dist/ai/source/BbRadioGroup.md +420 -0
  238. package/dist/ai/source/BbRating.md +369 -0
  239. package/dist/ai/source/BbSelect.md +688 -0
  240. package/dist/ai/source/BbSelectPopover.md +2234 -0
  241. package/dist/ai/source/BbSlider.md +378 -0
  242. package/dist/ai/source/BbSmoothHeight.md +265 -0
  243. package/dist/ai/source/BbSpinner.md +127 -0
  244. package/dist/ai/source/BbSwitch.md +175 -0
  245. package/dist/ai/source/BbSwitchGroup.md +240 -0
  246. package/dist/ai/source/BbTable.md +3433 -0
  247. package/dist/ai/source/BbTabs.md +403 -0
  248. package/dist/ai/source/BbTabsList.md +578 -0
  249. package/dist/ai/source/BbTabsPanes.md +368 -0
  250. package/dist/ai/source/BbTabsRoot.md +372 -0
  251. package/dist/ai/source/BbTag.md +390 -0
  252. package/dist/ai/source/BbTextInput.md +352 -0
  253. package/dist/ai/source/BbTextarea.md +337 -0
  254. package/dist/ai/source/BbTimePicker.md +595 -0
  255. package/dist/ai/source/BbTimePickerInput.md +376 -0
  256. package/dist/ai/source/BbToast.md +525 -0
  257. package/dist/ai/source/BbToastPortal.md +482 -0
  258. package/dist/ai/source/BbTooltip.md +522 -0
  259. package/dist/ai/source/BbTree.md +323 -0
  260. package/dist/ai/source/ChipsBox.md +201 -0
  261. package/dist/ai/source/ClearableButton.md +70 -0
  262. package/dist/ai/source/CommaBox.md +202 -0
  263. package/dist/ai/source/CommonInputWrapper.md +554 -0
  264. package/dist/ai/source/CommonPopover.md +616 -0
  265. package/dist/ai/source/ErrorIcon.md +43 -0
  266. package/dist/ai/source/FlatListBox.md +396 -0
  267. package/dist/ai/source/GroupedListBox.md +540 -0
  268. package/dist/ai/source/GuidesComponent.md +383 -0
  269. package/dist/ai/source/ListBox.md +238 -0
  270. package/dist/ai/source/OptionsContainer.md +191 -0
  271. package/dist/ai/source/WarningIcon.md +47 -0
  272. package/dist/alert-variants.d.ts +19 -0
  273. package/dist/assets/css/reset.css_inline.js +4 -0
  274. package/dist/assets/svgs/alert.svg_raw.js +4 -0
  275. package/dist/assets/svgs/calendar.svg_raw.js +4 -0
  276. package/dist/assets/svgs/check_stroke.svg_raw.js +4 -0
  277. package/dist/assets/svgs/chevron_down.svg_raw.js +4 -0
  278. package/dist/assets/svgs/chevron_right.svg_raw.js +4 -0
  279. package/dist/assets/svgs/clear.svg_raw.js +4 -0
  280. package/dist/assets/svgs/clock.svg_raw.js +4 -0
  281. package/dist/assets/svgs/error.svg_raw.js +4 -0
  282. package/dist/assets/svgs/search.svg_raw.js +4 -0
  283. package/dist/assets/svgs/sort.svg_raw.js +4 -0
  284. package/dist/assets/svgs/spinner.svg_raw.js +4 -0
  285. package/dist/assets/svgs/user.svg_raw.js +4 -0
  286. package/dist/badge-variants.d.ts +19 -0
  287. package/dist/button-variants.d.ts +21 -0
  288. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +9 -3
  289. package/dist/components/BbAccordion/BbAccordion.vue.js +6 -0
  290. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +66 -0
  291. package/dist/components/BbAccordion/types.d.ts +12 -8
  292. package/dist/components/BbAlert/BbAlert.vue.d.ts +12 -3
  293. package/dist/components/BbAlert/BbAlert.vue.js +6 -0
  294. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +65 -0
  295. package/dist/components/BbAlert/types.d.ts +56 -12
  296. package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -0
  297. package/dist/components/BbAsterisk/BbAsterisk.vue.js +6 -0
  298. package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +13 -0
  299. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +5 -0
  300. package/dist/components/BbAvatar/BbAvatar.vue.js +6 -0
  301. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +78 -0
  302. package/dist/components/BbAvatar/types.d.ts +6 -5
  303. package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +3 -0
  304. package/dist/components/BbBadge/BadgeAppendIcon.vue.js +5 -0
  305. package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +22 -0
  306. package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +15 -0
  307. package/dist/components/BbBadge/BadgeBodyContent.vue.js +5 -0
  308. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +34 -0
  309. package/dist/components/BbBadge/BbBadge.vue.d.ts +8 -1
  310. package/dist/components/BbBadge/BbBadge.vue.js +6 -0
  311. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +83 -0
  312. package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +12 -0
  313. package/dist/components/BbBadge/BbBadgeButton.vue.js +5 -0
  314. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +54 -0
  315. package/dist/components/BbBadge/badgeButtonContext.d.ts +27 -0
  316. package/dist/components/BbBadge/badgeButtonContext.js +5 -0
  317. package/dist/components/BbBadge/types.d.ts +61 -16
  318. package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +13 -0
  319. package/dist/components/BbBaseButton/BbBaseButton.vue.js +6 -0
  320. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +171 -0
  321. package/dist/components/BbBaseButton/RouterComponent.vue.js +5 -0
  322. package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +29 -0
  323. package/dist/components/BbBaseButton/types.d.ts +191 -0
  324. package/dist/components/BbBaseButton/types.js +33 -0
  325. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.d.ts +40 -0
  326. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.js +6 -0
  327. package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +145 -0
  328. package/dist/components/BbBaseCheckbox/types.d.ts +224 -0
  329. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.d.ts +19 -0
  330. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.js +6 -0
  331. package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  332. package/dist/components/BbBaseCheckboxGroup/types.d.ts +257 -0
  333. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +4 -0
  334. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +6 -0
  335. package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +43 -0
  336. package/dist/components/BbBaseCheckboxIcon/types.d.ts +47 -0
  337. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.d.ts +42 -0
  338. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.js +6 -0
  339. package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +178 -0
  340. package/dist/components/BbBaseColorInput/types.d.ts +210 -0
  341. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.d.ts +13 -0
  342. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.js +6 -0
  343. package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue_vue_type_script_setup_true_lang.js +395 -0
  344. package/dist/components/BbBaseColorPalette/types.d.ts +40 -0
  345. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.js +6 -0
  346. package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +300 -0
  347. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +44 -0
  348. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.js +5 -0
  349. package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +310 -0
  350. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.d.ts +5 -0
  351. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.js +5 -0
  352. package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +63 -0
  353. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.d.ts +5 -0
  354. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.js +5 -0
  355. package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue_vue_type_script_setup_true_lang.js +75 -0
  356. package/dist/components/BbBaseDatePicker/typeahead.d.ts +112 -0
  357. package/dist/components/BbBaseDatePicker/typeahead.js +37 -0
  358. package/dist/components/BbBaseDatePicker/types.d.ts +97 -0
  359. package/dist/components/BbBaseDatePicker/useDatePickerContext.d.ts +58 -0
  360. package/dist/components/BbBaseDatePicker/useDatePickerContext.js +11 -0
  361. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +30 -0
  362. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.js +6 -0
  363. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +716 -0
  364. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.d.ts +30 -0
  365. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.js +6 -0
  366. package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue_vue_type_script_setup_true_lang.js +204 -0
  367. package/dist/components/BbBaseDatePickerInput/types.d.ts +311 -0
  368. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.d.ts +17 -0
  369. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.js +6 -0
  370. package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +191 -0
  371. package/dist/components/BbBaseInputContainer/types.d.ts +197 -0
  372. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.d.ts +52 -0
  373. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.js +6 -0
  374. package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +215 -0
  375. package/dist/components/BbBaseNumberInput/types.d.ts +211 -0
  376. package/dist/components/BbBaseRadio/BbBaseRadio.vue.d.ts +33 -0
  377. package/dist/components/BbBaseRadio/BbBaseRadio.vue.js +6 -0
  378. package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +114 -0
  379. package/dist/components/BbBaseRadio/types.d.ts +179 -0
  380. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.d.ts +19 -0
  381. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.js +6 -0
  382. package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +177 -0
  383. package/dist/components/BbBaseRadioGroup/types.d.ts +223 -0
  384. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +4 -0
  385. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +6 -0
  386. package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +28 -0
  387. package/dist/components/BbBaseRadioIcon/types.d.ts +41 -0
  388. package/dist/components/BbBaseRating/BbBaseRating.vue.d.ts +38 -0
  389. package/dist/components/BbBaseRating/BbBaseRating.vue.js +6 -0
  390. package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +184 -0
  391. package/dist/components/BbBaseRating/types.d.ts +168 -0
  392. package/dist/components/BbBaseSelect/BbBaseSelect.vue.d.ts +19 -0
  393. package/dist/components/BbBaseSelect/BbBaseSelect.vue.js +6 -0
  394. package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +307 -0
  395. package/dist/components/BbBaseSelect/types.d.ts +297 -0
  396. package/dist/components/BbBaseSlider/BbBaseSlider.vue.d.ts +35 -0
  397. package/dist/components/BbBaseSlider/BbBaseSlider.vue.js +6 -0
  398. package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +324 -0
  399. package/dist/components/BbBaseSlider/types.d.ts +200 -0
  400. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.d.ts +35 -0
  401. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.js +6 -0
  402. package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +146 -0
  403. package/dist/components/BbBaseSwitch/types.d.ts +10 -0
  404. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.d.ts +19 -0
  405. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.js +6 -0
  406. package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  407. package/dist/components/BbBaseSwitchGroup/types.d.ts +8 -0
  408. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +4 -0
  409. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +6 -0
  410. package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +30 -0
  411. package/dist/components/BbBaseSwitchIcon/types.d.ts +48 -0
  412. package/dist/components/BbBaseTag/BbBaseTag.vue.d.ts +50 -0
  413. package/dist/components/BbBaseTag/BbBaseTag.vue.js +6 -0
  414. package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +266 -0
  415. package/dist/components/BbBaseTag/types.d.ts +160 -0
  416. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.d.ts +45 -0
  417. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.js +6 -0
  418. package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +200 -0
  419. package/dist/components/BbBaseTextInput/types.d.ts +209 -0
  420. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.d.ts +39 -0
  421. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.js +6 -0
  422. package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +175 -0
  423. package/dist/components/BbBaseTextarea/types.d.ts +170 -0
  424. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +27 -0
  425. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.js +6 -0
  426. package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +522 -0
  427. package/dist/components/BbBaseTimePickerInput/types.d.ts +151 -0
  428. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +0 -1
  429. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +6 -0
  430. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +224 -0
  431. package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +47 -0
  432. package/dist/components/BbBreadcrumbs/types.d.ts +37 -22
  433. package/dist/components/BbButton/BbButton.vue.d.ts +6 -5
  434. package/dist/components/BbButton/BbButton.vue.js +6 -0
  435. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +181 -0
  436. package/dist/components/BbButton/types.d.ts +48 -47
  437. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -3
  438. package/dist/components/BbCheckbox/BbCheckbox.vue.js +6 -0
  439. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +146 -0
  440. package/dist/components/BbCheckbox/types.d.ts +31 -10
  441. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +2 -13
  442. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +6 -0
  443. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  444. package/dist/components/BbCheckboxGroup/types.d.ts +51 -23
  445. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
  446. package/dist/components/BbCollapsible/BbCollapsible.vue.js +6 -0
  447. package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +31 -0
  448. package/dist/components/BbCollapsible/types.d.ts +13 -8
  449. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +10 -1
  450. package/dist/components/BbColorInput/BbColorInput.vue.js +6 -0
  451. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +177 -0
  452. package/dist/components/BbColorInput/types.d.ts +44 -11
  453. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +5 -8
  454. package/dist/components/BbColorPalette/BbColorPalette.vue.js +5 -0
  455. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +126 -0
  456. package/dist/components/BbColorPalette/types.d.ts +71 -52
  457. package/dist/components/BbConfirm/BbConfirm.vue.js +6 -0
  458. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +138 -0
  459. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +5 -6
  460. package/dist/components/BbConfirm/BbConfirmPortal.vue.js +5 -0
  461. package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +19 -0
  462. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +37 -0
  463. package/dist/components/BbDatePicker/BbDatePicker.vue.js +6 -0
  464. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +319 -0
  465. package/dist/components/BbDatePicker/types.d.ts +159 -0
  466. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +3 -1
  467. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +6 -0
  468. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +179 -0
  469. package/dist/components/BbDatePickerInput/types.d.ts +134 -16
  470. package/dist/components/BbDialog/BbDialog.vue.d.ts +14 -6
  471. package/dist/components/BbDialog/BbDialog.vue.js +6 -0
  472. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +214 -0
  473. package/dist/components/BbDialog/types.d.ts +146 -1
  474. package/dist/components/BbDialog/useDialogStack.d.ts +5 -0
  475. package/dist/components/BbDialog/useDialogStack.js +20 -0
  476. package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +24 -0
  477. package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +6 -0
  478. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +116 -0
  479. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +14 -7
  480. package/dist/components/BbDropdown/BbDropdown.vue.js +6 -0
  481. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +561 -0
  482. package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +44 -0
  483. package/dist/components/BbDropdown/BbDropdownGroup.vue.js +5 -0
  484. package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +36 -0
  485. package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +31 -0
  486. package/dist/components/BbDropdown/BbDropdownList.vue.js +6 -0
  487. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +470 -0
  488. package/dist/components/BbDropdown/DropdownPipelineResolver.vue.d.ts +16 -0
  489. package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +5 -0
  490. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +168 -0
  491. package/dist/components/BbDropdown/normalizeGroups.d.ts +18 -0
  492. package/dist/components/BbDropdown/normalizeGroups.js +46 -0
  493. package/dist/components/BbDropdown/types.d.ts +468 -46
  494. package/dist/components/BbDropdown/types.js +4 -0
  495. package/dist/components/BbDropdown/useDropdownContext.d.ts +89 -0
  496. package/dist/components/BbDropdown/useDropdownContext.js +9 -0
  497. package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +108 -0
  498. package/dist/components/BbDropdown/useDropdownGroupRegistry.js +5 -0
  499. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -3
  500. package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +6 -0
  501. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +119 -0
  502. package/dist/components/BbDropdownButton/types.d.ts +47 -52
  503. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -4
  504. package/dist/components/BbDropzone/BbDropzone.vue.js +6 -0
  505. package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +308 -0
  506. package/dist/components/BbDropzone/types.d.ts +77 -8
  507. package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -2
  508. package/dist/components/BbIcon/BbIcon.vue.js +6 -0
  509. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +65 -0
  510. package/dist/components/BbIcon/types.d.ts +6 -19
  511. package/dist/components/BbIndicator/BbIndicator.vue.d.ts +14 -0
  512. package/dist/components/BbIndicator/BbIndicator.vue.js +6 -0
  513. package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +56 -0
  514. package/dist/components/BbIndicator/types.d.ts +49 -0
  515. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -6
  516. package/dist/components/BbNumberInput/BbNumberInput.vue.js +6 -0
  517. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +194 -0
  518. package/dist/components/BbNumberInput/types.d.ts +40 -4
  519. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +16 -10
  520. package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +6 -0
  521. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +284 -0
  522. package/dist/components/BbOffCanvas/types.d.ts +71 -39
  523. package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +25 -0
  524. package/dist/components/BbOffCanvas/useOffCanvasStack.js +68 -0
  525. package/dist/components/BbPagination/BbPagination.vue.d.ts +9 -4
  526. package/dist/components/BbPagination/BbPagination.vue.js +6 -0
  527. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +244 -0
  528. package/dist/components/BbPagination/paginationFit.d.ts +38 -0
  529. package/dist/components/BbPagination/paginationFit.js +13 -0
  530. package/dist/components/BbPagination/types.d.ts +51 -16
  531. package/dist/components/BbPopover/BbPopover.vue.d.ts +16 -15
  532. package/dist/components/BbPopover/BbPopover.vue.js +6 -0
  533. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +309 -0
  534. package/dist/components/BbPopover/escapeStack.d.ts +6 -0
  535. package/dist/components/BbPopover/escapeStack.js +10 -0
  536. package/dist/components/BbPopover/types.d.ts +90 -31
  537. package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -0
  538. package/dist/components/BbProgress/BbProgress.vue.js +6 -0
  539. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +36 -0
  540. package/dist/components/BbProgress/types.d.ts +15 -1
  541. package/dist/components/BbRadio/BbRadio.vue.d.ts +5 -3
  542. package/dist/components/BbRadio/BbRadio.vue.js +6 -0
  543. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +133 -0
  544. package/dist/components/BbRadio/types.d.ts +32 -9
  545. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -14
  546. package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +6 -0
  547. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +186 -0
  548. package/dist/components/BbRadioGroup/types.d.ts +48 -22
  549. package/dist/components/BbRating/BbRating.vue.d.ts +4 -1
  550. package/dist/components/BbRating/BbRating.vue.js +6 -0
  551. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +150 -0
  552. package/dist/components/BbRating/types.d.ts +44 -10
  553. package/dist/components/BbSelect/BbSelect.vue.d.ts +2 -11
  554. package/dist/components/BbSelect/BbSelect.vue.js +6 -0
  555. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +241 -0
  556. package/dist/components/BbSelect/types.d.ts +112 -59
  557. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +1 -10
  558. package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +6 -0
  559. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +639 -0
  560. package/dist/components/BbSelectPopover/types.d.ts +197 -105
  561. package/dist/components/BbSlider/BbSlider.vue.d.ts +3 -6
  562. package/dist/components/BbSlider/BbSlider.vue.js +6 -0
  563. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +166 -0
  564. package/dist/components/BbSlider/types.d.ts +44 -13
  565. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -1
  566. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +6 -0
  567. package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +79 -0
  568. package/dist/components/BbSmoothHeight/types.d.ts +17 -2
  569. package/dist/components/BbSpinner/BbSpinner.vue.d.ts +1 -1
  570. package/dist/components/BbSpinner/BbSpinner.vue.js +6 -0
  571. package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +30 -0
  572. package/dist/components/BbSpinner/types.d.ts +10 -3
  573. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +5 -3
  574. package/dist/components/BbSwitch/BbSwitch.vue.js +6 -0
  575. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +142 -0
  576. package/dist/components/BbSwitch/types.d.ts +3 -1
  577. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +4 -14
  578. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +6 -0
  579. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +190 -0
  580. package/dist/components/BbSwitchGroup/types.d.ts +3 -22
  581. package/dist/components/BbTable/BbTable.vue.d.ts +58 -31
  582. package/dist/components/BbTable/BbTable.vue.js +6 -0
  583. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +900 -0
  584. package/dist/components/BbTable/types.d.ts +213 -37
  585. package/dist/components/BbTable/utils.d.ts +9 -1
  586. package/dist/components/BbTable/utils.js +53 -0
  587. package/dist/components/BbTabs/BbTabs.vue.d.ts +20 -0
  588. package/dist/components/BbTabs/BbTabs.vue.js +6 -0
  589. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +64 -0
  590. package/dist/components/BbTabs/BbTabsList.vue.d.ts +19 -0
  591. package/dist/components/BbTabs/BbTabsList.vue.js +6 -0
  592. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +123 -0
  593. package/dist/components/BbTabs/BbTabsPanes.vue.d.ts +16 -0
  594. package/dist/components/BbTabs/BbTabsPanes.vue.js +6 -0
  595. package/dist/components/BbTabs/BbTabsPanes.vue_vue_type_script_setup_true_lang.js +35 -0
  596. package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +20 -0
  597. package/dist/components/BbTabs/BbTabsRoot.vue.js +5 -0
  598. package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +55 -0
  599. package/dist/components/BbTabs/types.d.ts +264 -0
  600. package/dist/components/BbTag/BbTag.vue.d.ts +19 -6
  601. package/dist/components/BbTag/BbTag.vue.js +6 -0
  602. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +187 -0
  603. package/dist/components/BbTag/types.d.ts +55 -17
  604. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -1
  605. package/dist/components/BbTextInput/BbTextInput.vue.js +6 -0
  606. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +195 -0
  607. package/dist/components/BbTextInput/types.d.ts +31 -4
  608. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +10 -1
  609. package/dist/components/BbTextarea/BbTextarea.vue.js +6 -0
  610. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +178 -0
  611. package/dist/components/BbTextarea/types.d.ts +33 -2
  612. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +33 -0
  613. package/dist/components/BbTimePicker/BbTimePicker.vue.js +6 -0
  614. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +244 -0
  615. package/dist/components/BbTimePicker/types.d.ts +133 -0
  616. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +25 -0
  617. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +6 -0
  618. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +157 -0
  619. package/dist/components/BbTimePickerInput/types.d.ts +174 -0
  620. package/dist/components/BbToast/BbToast.vue.d.ts +2 -3
  621. package/dist/components/BbToast/BbToast.vue.js +6 -0
  622. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +39 -0
  623. package/dist/components/BbToast/BbToastMessage.vue.d.ts +17 -8
  624. package/dist/components/BbToast/BbToastMessage.vue.js +5 -0
  625. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +170 -0
  626. package/dist/components/BbToast/BbToastPortal.vue.d.ts +30 -0
  627. package/dist/components/BbToast/BbToastPortal.vue.js +5 -0
  628. package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +19 -0
  629. package/dist/components/BbToast/BbToastRegion.vue.d.ts +8 -0
  630. package/dist/components/BbToast/BbToastRegion.vue.js +5 -0
  631. package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +100 -0
  632. package/dist/components/BbToast/types.d.ts +69 -5
  633. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +10 -3
  634. package/dist/components/BbTooltip/BbTooltip.vue.js +6 -0
  635. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +160 -0
  636. package/dist/components/BbTooltip/types.d.ts +69 -11
  637. package/dist/components/BbTree/BbTree.vue.d.ts +28 -13
  638. package/dist/components/BbTree/BbTree.vue.js +6 -0
  639. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +55 -0
  640. package/dist/components/BbTree/BbTreeLevel.vue.d.ts +19 -0
  641. package/dist/components/BbTree/BbTreeLevel.vue.js +5 -0
  642. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +94 -0
  643. package/dist/components/BbTree/context.d.ts +17 -0
  644. package/dist/components/BbTree/context.js +4 -0
  645. package/dist/components/BbTree/types.d.ts +94 -41
  646. package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -1
  647. package/dist/components/ChipsBox/ChipsBox.vue.js +5 -0
  648. package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +98 -0
  649. package/dist/components/ChipsBox/types.d.ts +12 -5
  650. package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -1
  651. package/dist/components/ClearableButton/ClearableButton.vue.js +6 -0
  652. package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +19 -0
  653. package/dist/components/ClearableButton/types.d.ts +7 -1
  654. package/dist/components/CloseIcon/CloseButton.vue.d.ts +5 -0
  655. package/dist/components/CloseIcon/CloseButton.vue.js +7 -0
  656. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +23 -0
  657. package/dist/components/CloseIcon/types.d.ts +2 -0
  658. package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -1
  659. package/dist/components/CommaBox/CommaBox.vue.js +6 -0
  660. package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +81 -0
  661. package/dist/components/CommaBox/types.d.ts +6 -7
  662. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.d.ts +19 -0
  663. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.js +6 -0
  664. package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +107 -0
  665. package/dist/components/CommonInputWrapper/types.d.ts +96 -0
  666. package/dist/components/CommonPopover/CommonPopover.vue.d.ts +9 -3
  667. package/dist/components/CommonPopover/CommonPopover.vue.js +6 -0
  668. package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +160 -0
  669. package/dist/components/CommonPopover/types.d.ts +65 -16
  670. package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -0
  671. package/dist/components/ErrorIcon/ErrorIcon.vue.js +6 -0
  672. package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +16 -0
  673. package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -5
  674. package/dist/components/FlatListBox/FlatListBox.vue.js +5 -0
  675. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +167 -0
  676. package/dist/components/FlatListBox/types.d.ts +1 -1
  677. package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -5
  678. package/dist/components/GroupedListBox/GroupedListBox.vue.js +5 -0
  679. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +218 -0
  680. package/dist/components/ListBox/ListBox.vue.d.ts +3 -6
  681. package/dist/components/ListBox/ListBox.vue.js +5 -0
  682. package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +112 -0
  683. package/dist/components/ListBox/types.d.ts +1 -1
  684. package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -0
  685. package/dist/components/OptionsContainer/OptionsContainer.vue.js +5 -0
  686. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +52 -0
  687. package/dist/components/OptionsContainer/types.d.ts +14 -24
  688. package/dist/components/Transitions/ScaleFade.vue.d.ts +2 -2
  689. package/dist/components/Transitions/ScaleFade.vue.js +5 -0
  690. package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +47 -0
  691. package/dist/components/Transitions/Slide.vue.d.ts +15 -0
  692. package/dist/components/Transitions/Slide.vue.js +7 -0
  693. package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +28 -0
  694. package/dist/components/WarningIcon/WarningIcon.vue.d.ts +5 -0
  695. package/dist/components/WarningIcon/WarningIcon.vue.js +6 -0
  696. package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +16 -0
  697. package/dist/components/WarningIcon/types.d.ts +3 -0
  698. package/dist/composables/__testResets.d.ts +1 -0
  699. package/dist/composables/useActiveInactiveState.d.ts +4 -0
  700. package/dist/composables/useActiveInactiveState.js +21 -0
  701. package/dist/composables/useBaseOptions.d.ts +3 -3
  702. package/dist/composables/useBaseOptions.js +31 -0
  703. package/dist/composables/useBbConfig.d.ts +8 -37
  704. package/dist/composables/useBbConfig.js +5 -0
  705. package/dist/composables/useBbDropdownContext.d.ts +89 -0
  706. package/dist/composables/useBbDropdownContext.js +46 -0
  707. package/dist/composables/useBbFormContext.d.ts +90 -0
  708. package/dist/composables/useBbFormContext.js +69 -0
  709. package/dist/composables/useBbTableContext.d.ts +195 -0
  710. package/dist/composables/useBbTableContext.js +208 -0
  711. package/dist/composables/useBbTabsContext.d.ts +111 -0
  712. package/dist/composables/useBbTabsContext.js +225 -0
  713. package/dist/composables/useBreakpoint.d.ts +13 -0
  714. package/dist/composables/useBreakpoint.js +39 -0
  715. package/dist/composables/useBroadcastChannelInstance.d.ts +1 -3
  716. package/dist/composables/useBroadcastChannelInstance.js +39 -0
  717. package/dist/composables/useCancelableFunction.js +37 -0
  718. package/dist/composables/useClosingInert.d.ts +28 -0
  719. package/dist/composables/useClosingInert.js +23 -0
  720. package/dist/composables/useCoherence.js +16 -0
  721. package/dist/composables/useConfirm.d.ts +278 -68
  722. package/dist/composables/useConfirm.js +130 -0
  723. package/dist/composables/useCountdown.js +42 -0
  724. package/dist/composables/useHashedWatcher.d.ts +17 -0
  725. package/dist/composables/useHashedWatcher.js +14 -0
  726. package/dist/composables/useId.d.ts +3 -2
  727. package/dist/composables/useIndexById.js +16 -0
  728. package/dist/composables/useInertiaPage.d.ts +10 -0
  729. package/dist/composables/useInertiaPage.js +8 -0
  730. package/dist/composables/useItemText.js +17 -0
  731. package/dist/composables/useItemValue.js +9 -0
  732. package/dist/composables/useItemsGetter.d.ts +1 -1
  733. package/dist/composables/useItemsGetter.js +30 -0
  734. package/dist/composables/useListboxFocus.js +66 -0
  735. package/dist/composables/useLocale.d.ts +1 -1
  736. package/dist/composables/useLocale.js +11 -0
  737. package/dist/composables/useLogger.d.ts +1 -1
  738. package/dist/composables/useLogger.js +10 -0
  739. package/dist/composables/useMinimalQueue.d.ts +1 -1
  740. package/dist/composables/useMobile.js +7 -0
  741. package/dist/composables/useOnFalsy.d.ts +2 -0
  742. package/dist/composables/useOnFalsy.js +9 -0
  743. package/dist/composables/useOnTruthy.d.ts +7 -0
  744. package/dist/composables/useOnTruthy.js +9 -0
  745. package/dist/composables/usePrefill.d.ts +2 -1
  746. package/dist/composables/usePrefill.js +24 -0
  747. package/dist/composables/useQuery.d.ts +15 -3
  748. package/dist/composables/useQuery.js +42 -0
  749. package/dist/composables/useRoute.js +11 -0
  750. package/dist/composables/useRouter.js +8 -0
  751. package/dist/composables/useSafeArea.d.ts +51 -0
  752. package/dist/composables/useSafeArea.js +16 -0
  753. package/dist/composables/useSegmentedFields.d.ts +104 -0
  754. package/dist/composables/useSegmentedFields.js +159 -0
  755. package/dist/composables/useTableWidthContext.d.ts +5 -0
  756. package/dist/composables/useTableWidthContext.js +42 -0
  757. package/dist/composables/useToast.d.ts +40 -70
  758. package/dist/composables/useToast.js +58 -0
  759. package/dist/composables/useTopLayer.d.ts +9 -0
  760. package/dist/composables/useTopLayer.js +7 -0
  761. package/dist/composables/useUntil.js +13 -0
  762. package/dist/composables/useViewportWidth.d.ts +17 -0
  763. package/dist/composables/useViewportWidth.js +6 -0
  764. package/dist/confirm-variants.d.ts +17 -0
  765. package/dist/deprecation/ai-deprecations.json.d.ts +784 -0
  766. package/dist/deprecation/ai-deprecations.json.js +4 -0
  767. package/dist/deprecation/removedProps.d.ts +3 -0
  768. package/dist/deprecation/removedProps.js +13 -0
  769. package/dist/directives/bbColor.d.ts +65 -0
  770. package/dist/directives/bbColor.js +24 -0
  771. package/dist/directives/bbDate.d.ts +66 -0
  772. package/dist/directives/bbDate.js +24 -0
  773. package/dist/directives/bbDropdown.d.ts +15 -11
  774. package/dist/directives/bbDropdown.js +23 -0
  775. package/dist/directives/bbTime.d.ts +64 -0
  776. package/dist/directives/bbTime.js +24 -0
  777. package/dist/directives/bbTooltip.d.ts +16 -11
  778. package/dist/directives/bbTooltip.js +24 -0
  779. package/dist/directives/createPopoverDirective.js +54 -0
  780. package/dist/dropdown-item-variants.d.ts +17 -0
  781. package/dist/i18n/index.d.ts +51 -3
  782. package/dist/i18n/index.js +27 -0
  783. package/dist/i18n/locales/cs.json +115 -0
  784. package/dist/i18n/locales/da.json +115 -0
  785. package/dist/i18n/locales/de.json +115 -0
  786. package/dist/i18n/locales/el.json +115 -0
  787. package/dist/i18n/locales/en.json +115 -0
  788. package/dist/i18n/locales/es.json +115 -0
  789. package/dist/i18n/locales/fi.json +115 -0
  790. package/dist/i18n/locales/fr.json +115 -0
  791. package/dist/i18n/locales/hu.json +115 -0
  792. package/dist/i18n/locales/it.json +115 -0
  793. package/dist/i18n/locales/ja.json +115 -0
  794. package/dist/i18n/locales/ko.json +115 -0
  795. package/dist/i18n/locales/nb.json +115 -0
  796. package/dist/i18n/locales/nl.json +115 -0
  797. package/dist/i18n/locales/pl.json +115 -0
  798. package/dist/i18n/locales/pt.json +115 -0
  799. package/dist/i18n/locales/ro.json +115 -0
  800. package/dist/i18n/locales/ru.json +115 -0
  801. package/dist/i18n/locales/sv.json +115 -0
  802. package/dist/i18n/locales/tr.json +115 -0
  803. package/dist/i18n/locales/uk.json +115 -0
  804. package/dist/i18n/locales/zh-cn.json +115 -0
  805. package/dist/icons-whitelist.d.ts +8 -0
  806. package/dist/index.d.ts +96 -79
  807. package/dist/index.js +76 -82
  808. package/dist/indicator-variants.d.ts +20 -0
  809. package/dist/llms-full.txt +79703 -0
  810. package/dist/llms-medium.txt +1514 -0
  811. package/dist/llms.txt +105 -0
  812. package/dist/locale-blueprint.json +141 -0
  813. package/dist/locale-registry.d.ts +37 -0
  814. package/dist/nuxt-module.d.ts +3 -0
  815. package/dist/nuxt.js +19 -0
  816. package/dist/plugin.d.ts +4 -0
  817. package/dist/plugin.js +22 -0
  818. package/dist/reset.css +1 -0
  819. package/dist/reset.d.ts +0 -0
  820. package/dist/runtime/nuxt-plugin.d.ts +2 -0
  821. package/dist/runtime/nuxt-plugin.js +24 -0
  822. package/dist/styles.css +2 -0
  823. package/dist/styles.d.ts +0 -0
  824. package/dist/toast-variants.d.ts +20 -0
  825. package/dist/tooltip-variants.d.ts +17 -0
  826. package/dist/types/ActionButton.d.ts +32 -0
  827. package/dist/types/AlertVariant.d.ts +16 -0
  828. package/dist/types/BadgeVariant.d.ts +16 -0
  829. package/dist/types/ButtonVariant.d.ts +17 -0
  830. package/dist/types/Classes.d.ts +1 -1
  831. package/dist/types/ColumnName.d.ts +1 -1
  832. package/dist/types/CommonProps.d.ts +68 -277
  833. package/dist/types/Config.d.ts +84 -0
  834. package/dist/types/ConfirmVariant.d.ts +15 -0
  835. package/dist/types/DropdownItemVariant.d.ts +18 -0
  836. package/dist/types/Icon.d.ts +5 -7
  837. package/dist/types/IndicatorVariant.d.ts +16 -0
  838. package/dist/types/InputDirection.d.ts +15 -0
  839. package/dist/types/ItemAccessor.d.ts +21 -0
  840. package/dist/types/Placement.d.ts +6 -0
  841. package/dist/types/ResponsiveSize.d.ts +20 -0
  842. package/dist/types/SizeScale.d.ts +8 -0
  843. package/dist/types/ToastVariant.d.ts +17 -0
  844. package/dist/types/TooltipVariant.d.ts +18 -0
  845. package/dist/utilities/functions/bytesToUnit.d.ts +2 -0
  846. package/dist/utilities/functions/bytesToUnit.js +18 -0
  847. package/dist/utilities/functions/clampPrecision.js +10 -0
  848. package/dist/utilities/functions/convertDateValue.d.ts +23 -10
  849. package/dist/utilities/functions/convertDateValue.js +12 -0
  850. package/dist/utilities/functions/deburr.js +5 -0
  851. package/dist/utilities/functions/empty.js +5 -0
  852. package/dist/utilities/functions/flattenTree.d.ts +1 -1
  853. package/dist/utilities/functions/hash.js +5 -0
  854. package/dist/utilities/functions/isDateDisabled.d.ts +1 -0
  855. package/dist/utilities/functions/isDateDisabled.js +20 -0
  856. package/dist/utilities/functions/isEqual.js +5 -0
  857. package/dist/utilities/functions/isNotEmpty.js +5 -0
  858. package/dist/utilities/functions/matchAnyKey.d.ts +1 -1
  859. package/dist/utilities/functions/matchAnyKey.js +15 -0
  860. package/dist/utilities/functions/parseSize.d.ts +1 -1
  861. package/dist/utilities/functions/parseSize.js +15 -0
  862. package/dist/utilities/functions/percentage.js +11 -0
  863. package/dist/utilities/functions/pipe.d.ts +1 -1
  864. package/dist/utilities/functions/reject.d.ts +25 -0
  865. package/dist/utilities/functions/reject.js +28 -0
  866. package/dist/utilities/functions/resolveEnumProp.d.ts +19 -0
  867. package/dist/utilities/functions/resolveEnumProp.js +5 -0
  868. package/dist/utilities/functions/slotKey.d.ts +13 -0
  869. package/dist/utilities/functions/slotKey.js +4 -0
  870. package/dist/utilities/functions/sort.d.ts +2 -2
  871. package/dist/utilities/functions/sort.js +19 -0
  872. package/dist/utilities/functions/throttle.js +5 -0
  873. package/dist/utilities/functions/waitFor.d.ts +9 -2
  874. package/dist/utilities/functions/waitFor.js +14 -0
  875. package/dist/utilities/functions/warnRemovedAttrs.d.ts +11 -0
  876. package/dist/utilities/functions/warnRemovedAttrs.js +20 -0
  877. package/dist/utilities/functions/when.js +5 -0
  878. package/dist/utilities/misc/iconsInjectionKey.d.ts +15 -0
  879. package/dist/utilities/misc/iconsInjectionKey.js +4 -0
  880. package/dist/utilities/misc/transitions.d.ts +5 -0
  881. package/dist/utilities/misc/transitions.js +8 -0
  882. package/dist/utils/injectLibraryStyles.d.ts +6 -0
  883. package/dist/utils/injectLibraryStyles.js +38 -0
  884. package/dist/validated/BbCheckbox.vue.d.ts +29 -0
  885. package/dist/validated/BbCheckbox.vue.js +5 -0
  886. package/dist/validated/BbCheckbox.vue_vue_type_script_setup_true_lang.js +75 -0
  887. package/dist/validated/BbCheckboxGroup.vue.d.ts +34 -0
  888. package/dist/validated/BbCheckboxGroup.vue.js +5 -0
  889. package/dist/validated/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +82 -0
  890. package/dist/validated/BbColorInput.vue.d.ts +36 -0
  891. package/dist/validated/BbColorInput.vue.js +5 -0
  892. package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +71 -0
  893. package/dist/validated/BbDatePickerInput.vue.d.ts +41 -0
  894. package/dist/validated/BbDatePickerInput.vue.js +5 -0
  895. package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +90 -0
  896. package/dist/validated/BbDropzone.vue.d.ts +24 -0
  897. package/dist/validated/BbDropzone.vue.js +5 -0
  898. package/dist/validated/BbDropzone.vue_vue_type_script_setup_true_lang.js +45 -0
  899. package/dist/validated/BbForm.vue.d.ts +28 -0
  900. package/dist/validated/BbForm.vue.js +5 -0
  901. package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +42 -0
  902. package/dist/validated/BbNumberInput.vue.d.ts +36 -0
  903. package/dist/validated/BbNumberInput.vue.js +5 -0
  904. package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +72 -0
  905. package/dist/validated/BbRadioGroup.vue.d.ts +34 -0
  906. package/dist/validated/BbRadioGroup.vue.js +5 -0
  907. package/dist/validated/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +78 -0
  908. package/dist/validated/BbRating.vue.d.ts +30 -0
  909. package/dist/validated/BbRating.vue.js +5 -0
  910. package/dist/validated/BbRating.vue_vue_type_script_setup_true_lang.js +63 -0
  911. package/dist/validated/BbSelect.vue.d.ts +46 -0
  912. package/dist/validated/BbSelect.vue.js +5 -0
  913. package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +109 -0
  914. package/dist/validated/BbSlider.vue.d.ts +36 -0
  915. package/dist/validated/BbSlider.vue.js +5 -0
  916. package/dist/validated/BbSlider.vue_vue_type_script_setup_true_lang.js +69 -0
  917. package/dist/validated/BbSwitch.vue.d.ts +29 -0
  918. package/dist/validated/BbSwitch.vue.js +5 -0
  919. package/dist/validated/BbSwitch.vue_vue_type_script_setup_true_lang.js +75 -0
  920. package/dist/validated/BbSwitchGroup.vue.d.ts +34 -0
  921. package/dist/validated/BbSwitchGroup.vue.js +5 -0
  922. package/dist/validated/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +82 -0
  923. package/dist/validated/BbTag.vue.d.ts +36 -0
  924. package/dist/validated/BbTag.vue.js +5 -0
  925. package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +72 -0
  926. package/dist/validated/BbTextInput.vue.d.ts +36 -0
  927. package/dist/validated/BbTextInput.vue.js +5 -0
  928. package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +72 -0
  929. package/dist/validated/BbTextarea.vue.d.ts +36 -0
  930. package/dist/validated/BbTextarea.vue.js +5 -0
  931. package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +70 -0
  932. package/dist/validated/BbTimePickerInput.vue.d.ts +37 -0
  933. package/dist/validated/BbTimePickerInput.vue.js +5 -0
  934. package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +81 -0
  935. package/dist/validated/index.d.ts +29 -0
  936. package/dist/validated/useValidatedField.d.ts +93 -0
  937. package/dist/validated/useValidatedField.js +51 -0
  938. package/dist/validated.js +21 -0
  939. package/dist/vite-plugin.d.ts +261 -0
  940. package/dist/vite.js +603 -0
  941. package/llms.txt +107 -0
  942. package/package.json +181 -60
  943. package/scripts/lib/__fixtures__/validated-manifest.json +65 -0
  944. package/scripts/lib/ensure-manifest.mjs +39 -0
  945. package/scripts/lib/eslint-plugin-autofix.node.test.mjs +109 -0
  946. package/scripts/lib/eslint-plugin-recommended.node.test.mjs +87 -0
  947. package/scripts/lib/eslint-plugin-slots.node.test.mjs +271 -0
  948. package/scripts/lib/eslint-plugin.mjs +702 -0
  949. package/scripts/lib/eslint-plugin.node.test.mjs +193 -0
  950. package/scripts/lib/html-attributes.mjs +191 -0
  951. package/scripts/lib/mcp-config.mjs +126 -0
  952. package/scripts/lib/migrate-fix.mjs +115 -0
  953. package/scripts/lib/validate-bb-markup.mjs +488 -0
  954. package/dist/ai/BaseButton.md +0 -449
  955. package/dist/ai/BaseCheckbox.md +0 -512
  956. package/dist/ai/BaseCheckboxGroup.md +0 -597
  957. package/dist/ai/BaseColorInput.md +0 -461
  958. package/dist/ai/BaseDatePicker.md +0 -739
  959. package/dist/ai/BaseDatePickerInput.md +0 -1517
  960. package/dist/ai/BaseDialog.md +0 -610
  961. package/dist/ai/BaseInputContainer.md +0 -570
  962. package/dist/ai/BaseNumberInput.md +0 -509
  963. package/dist/ai/BaseRadio.md +0 -405
  964. package/dist/ai/BaseRadioGroup.md +0 -535
  965. package/dist/ai/BaseRating.md +0 -489
  966. package/dist/ai/BaseSelect.md +0 -1742
  967. package/dist/ai/BaseSlider.md +0 -871
  968. package/dist/ai/BaseSwitch.md +0 -322
  969. package/dist/ai/BaseSwitchGroup.md +0 -298
  970. package/dist/ai/BaseTag.md +0 -623
  971. package/dist/ai/BaseTextInput.md +0 -392
  972. package/dist/ai/BaseTextarea.md +0 -398
  973. package/dist/ai/BbChip.md +0 -147
  974. package/dist/ai/BbIntersection.md +0 -120
  975. package/dist/ai/BbRatio.md +0 -61
  976. package/dist/ai/BbRows.md +0 -307
  977. package/dist/ai/BbTab.md +0 -950
  978. package/dist/ai/CommonInputInnerContainer.md +0 -414
  979. package/dist/ai/CommonInputOuterContainer.md +0 -55
  980. package/dist/components/BaseButton/BaseButton.vue.d.ts +0 -14
  981. package/dist/components/BaseButton/types.d.ts +0 -159
  982. package/dist/components/BaseCheckbox/BaseCheckbox.vue.d.ts +0 -39
  983. package/dist/components/BaseCheckbox/types.d.ts +0 -213
  984. package/dist/components/BaseCheckboxGroup/BaseCheckboxGroup.vue.d.ts +0 -30
  985. package/dist/components/BaseCheckboxGroup/types.d.ts +0 -282
  986. package/dist/components/BaseColorInput/BaseColorInput.vue.d.ts +0 -35
  987. package/dist/components/BaseColorInput/ColorPalette.vue.d.ts +0 -13
  988. package/dist/components/BaseColorInput/types.d.ts +0 -233
  989. package/dist/components/BaseDatePicker/BaseDatePickerHeader.vue.d.ts +0 -15
  990. package/dist/components/BaseDatePicker/BaseDatePickerInputDaySelector.vue.d.ts +0 -58
  991. package/dist/components/BaseDatePicker/BaseDatePickerMonthSelector.vue.d.ts +0 -12
  992. package/dist/components/BaseDatePicker/BaseDatePickerYearSelector.vue.d.ts +0 -12
  993. package/dist/components/BaseDatePicker/types.d.ts +0 -100
  994. package/dist/components/BaseDatePickerInput/BaseDatePickerInput.vue.d.ts +0 -26
  995. package/dist/components/BaseDatePickerInput/types.d.ts +0 -206
  996. package/dist/components/BaseDialog/BaseDialog.vue.d.ts +0 -37
  997. package/dist/components/BaseDialog/types.d.ts +0 -180
  998. package/dist/components/BaseInputContainer/BaseInputContainer.vue.d.ts +0 -18
  999. package/dist/components/BaseInputContainer/types.d.ts +0 -126
  1000. package/dist/components/BaseNumberInput/BaseNumberInput.vue.d.ts +0 -46
  1001. package/dist/components/BaseNumberInput/types.d.ts +0 -191
  1002. package/dist/components/BaseRadio/BaseRadio.vue.d.ts +0 -31
  1003. package/dist/components/BaseRadio/types.d.ts +0 -173
  1004. package/dist/components/BaseRadioGroup/BaseRadioGroup.vue.d.ts +0 -30
  1005. package/dist/components/BaseRadioGroup/types.d.ts +0 -240
  1006. package/dist/components/BaseRating/BaseRating.vue.d.ts +0 -35
  1007. package/dist/components/BaseRating/types.d.ts +0 -144
  1008. package/dist/components/BaseSelect/BaseSelect.vue.d.ts +0 -28
  1009. package/dist/components/BaseSelect/types.d.ts +0 -470
  1010. package/dist/components/BaseSlider/BaseSlider.vue.d.ts +0 -38
  1011. package/dist/components/BaseSlider/types.d.ts +0 -201
  1012. package/dist/components/BaseSwitch/BaseSwitch.vue.d.ts +0 -34
  1013. package/dist/components/BaseSwitch/types.d.ts +0 -25
  1014. package/dist/components/BaseSwitchGroup/BaseSwitchGroup.vue.d.ts +0 -30
  1015. package/dist/components/BaseSwitchGroup/types.d.ts +0 -8
  1016. package/dist/components/BaseTag/BaseTag.vue.d.ts +0 -37
  1017. package/dist/components/BaseTag/types.d.ts +0 -136
  1018. package/dist/components/BaseTextInput/BaseTextInput.vue.d.ts +0 -33
  1019. package/dist/components/BaseTextInput/types.d.ts +0 -166
  1020. package/dist/components/BaseTextarea/BaseTextarea.vue.d.ts +0 -31
  1021. package/dist/components/BaseTextarea/types.d.ts +0 -151
  1022. package/dist/components/BbChip/BbChip.vue.d.ts +0 -17
  1023. package/dist/components/BbChip/types.d.ts +0 -23
  1024. package/dist/components/BbIntersection/BbIntersection.vue.d.ts +0 -23
  1025. package/dist/components/BbIntersection/types.d.ts +0 -36
  1026. package/dist/components/BbRatio/BbRatio.vue.d.ts +0 -14
  1027. package/dist/components/BbRatio/types.d.ts +0 -15
  1028. package/dist/components/BbRows/BbRows.vue.d.ts +0 -62
  1029. package/dist/components/BbRows/types.d.ts +0 -21
  1030. package/dist/components/BbTab/BbTab.vue.d.ts +0 -27
  1031. package/dist/components/BbTab/types.d.ts +0 -186
  1032. package/dist/components/CommonInputInnerContainer/CommonInputInnerContainer.vue.d.ts +0 -15
  1033. package/dist/components/CommonInputInnerContainer/types.d.ts +0 -47
  1034. package/dist/components/CommonInputOuterContainer/CommonInputOuterContainer.vue.d.ts +0 -11
  1035. package/dist/components/CommonInputOuterContainer/types.d.ts +0 -16
  1036. package/dist/composables/useModalsState.d.ts +0 -5
  1037. package/dist/composables/useQueue.d.ts +0 -58
  1038. package/dist/composables/useWizard.d.ts +0 -85
  1039. package/dist/i18n/en.d.ts +0 -67
  1040. package/dist/i18n/it.d.ts +0 -67
  1041. package/dist/index.css +0 -2
  1042. package/dist/index100.js +0 -6
  1043. package/dist/index101.js +0 -300
  1044. package/dist/index102.js +0 -16
  1045. package/dist/index103.js +0 -16
  1046. package/dist/index104.js +0 -27
  1047. package/dist/index109.js +0 -19
  1048. package/dist/index11.js +0 -42
  1049. package/dist/index110.js +0 -12
  1050. package/dist/index111.js +0 -19
  1051. package/dist/index112.js +0 -25
  1052. package/dist/index114.js +0 -7
  1053. package/dist/index115.js +0 -241
  1054. package/dist/index116.js +0 -5
  1055. package/dist/index117.js +0 -42
  1056. package/dist/index118.js +0 -5
  1057. package/dist/index119.js +0 -53
  1058. package/dist/index120.js +0 -5
  1059. package/dist/index121.js +0 -32
  1060. package/dist/index122.js +0 -5
  1061. package/dist/index124.js +0 -52
  1062. package/dist/index125.js +0 -5
  1063. package/dist/index126.js +0 -223
  1064. package/dist/index128.js +0 -6
  1065. package/dist/index129.js +0 -162
  1066. package/dist/index13.js +0 -92
  1067. package/dist/index130.js +0 -25
  1068. package/dist/index131.js +0 -51
  1069. package/dist/index132.js +0 -5
  1070. package/dist/index133.js +0 -607
  1071. package/dist/index135.js +0 -6
  1072. package/dist/index136.js +0 -14
  1073. package/dist/index137.js +0 -153
  1074. package/dist/index139.js +0 -6
  1075. package/dist/index14.js +0 -306
  1076. package/dist/index140.js +0 -224
  1077. package/dist/index141.js +0 -5
  1078. package/dist/index143.js +0 -128
  1079. package/dist/index145.js +0 -6
  1080. package/dist/index146.js +0 -8
  1081. package/dist/index147.js +0 -182
  1082. package/dist/index149.js +0 -6
  1083. package/dist/index15.js +0 -10
  1084. package/dist/index151.js +0 -4
  1085. package/dist/index152.js +0 -95
  1086. package/dist/index154.js +0 -6
  1087. package/dist/index155.js +0 -168
  1088. package/dist/index157.js +0 -6
  1089. package/dist/index158.js +0 -145
  1090. package/dist/index16.js +0 -59
  1091. package/dist/index160.js +0 -6
  1092. package/dist/index161.js +0 -53
  1093. package/dist/index163.js +0 -6
  1094. package/dist/index164.js +0 -16
  1095. package/dist/index166.js +0 -35
  1096. package/dist/index168.js +0 -6
  1097. package/dist/index169.js +0 -89
  1098. package/dist/index171.js +0 -6
  1099. package/dist/index172.js +0 -82
  1100. package/dist/index174.js +0 -6
  1101. package/dist/index175.js +0 -38
  1102. package/dist/index176.js +0 -461
  1103. package/dist/index177.js +0 -28
  1104. package/dist/index178.js +0 -66
  1105. package/dist/index18.js +0 -35
  1106. package/dist/index180.js +0 -162
  1107. package/dist/index181.js +0 -5
  1108. package/dist/index182.js +0 -217
  1109. package/dist/index183.js +0 -5
  1110. package/dist/index184.js +0 -112
  1111. package/dist/index185.js +0 -5
  1112. package/dist/index186.js +0 -459
  1113. package/dist/index188.js +0 -6
  1114. package/dist/index19.js +0 -4
  1115. package/dist/index192.js +0 -268
  1116. package/dist/index194.js +0 -6
  1117. package/dist/index195.js +0 -124
  1118. package/dist/index197.js +0 -6
  1119. package/dist/index198.js +0 -174
  1120. package/dist/index2.js +0 -20
  1121. package/dist/index20.js +0 -9
  1122. package/dist/index200.js +0 -6
  1123. package/dist/index201.js +0 -224
  1124. package/dist/index203.js +0 -6
  1125. package/dist/index204.js +0 -135
  1126. package/dist/index206.js +0 -6
  1127. package/dist/index207.js +0 -5
  1128. package/dist/index208.js +0 -170
  1129. package/dist/index21.js +0 -35
  1130. package/dist/index210.js +0 -6
  1131. package/dist/index211.js +0 -37
  1132. package/dist/index213.js +0 -6
  1133. package/dist/index214.js +0 -63
  1134. package/dist/index216.js +0 -6
  1135. package/dist/index217.js +0 -74
  1136. package/dist/index219.js +0 -6
  1137. package/dist/index22.js +0 -6
  1138. package/dist/index220.js +0 -65
  1139. package/dist/index222.js +0 -6
  1140. package/dist/index223.js +0 -67
  1141. package/dist/index225.js +0 -6
  1142. package/dist/index226.js +0 -41
  1143. package/dist/index228.js +0 -6
  1144. package/dist/index229.js +0 -10
  1145. package/dist/index23.js +0 -7
  1146. package/dist/index230.js +0 -22
  1147. package/dist/index232.js +0 -8
  1148. package/dist/index233.js +0 -297
  1149. package/dist/index235.js +0 -6
  1150. package/dist/index236.js +0 -47
  1151. package/dist/index237.js +0 -165
  1152. package/dist/index239.js +0 -6
  1153. package/dist/index24.js +0 -9
  1154. package/dist/index241.js +0 -159
  1155. package/dist/index243.js +0 -6
  1156. package/dist/index244.js +0 -134
  1157. package/dist/index246.js +0 -6
  1158. package/dist/index247.js +0 -167
  1159. package/dist/index249.js +0 -6
  1160. package/dist/index25.js +0 -24
  1161. package/dist/index250.js +0 -147
  1162. package/dist/index252.js +0 -6
  1163. package/dist/index253.js +0 -35
  1164. package/dist/index255.js +0 -6
  1165. package/dist/index256.js +0 -65
  1166. package/dist/index258.js +0 -6
  1167. package/dist/index259.js +0 -19
  1168. package/dist/index260.js +0 -5
  1169. package/dist/index261.js +0 -160
  1170. package/dist/index263.js +0 -6
  1171. package/dist/index264.js +0 -60
  1172. package/dist/index266.js +0 -6
  1173. package/dist/index267.js +0 -134
  1174. package/dist/index269.js +0 -6
  1175. package/dist/index27.js +0 -4
  1176. package/dist/index271.js +0 -206
  1177. package/dist/index273.js +0 -6
  1178. package/dist/index274.js +0 -85
  1179. package/dist/index275.js +0 -5
  1180. package/dist/index276.js +0 -55
  1181. package/dist/index277.js +0 -5
  1182. package/dist/index278.js +0 -164
  1183. package/dist/index28.js +0 -8
  1184. package/dist/index280.js +0 -6
  1185. package/dist/index281.js +0 -145
  1186. package/dist/index283.js +0 -6
  1187. package/dist/index284.js +0 -11
  1188. package/dist/index285.js +0 -200
  1189. package/dist/index287.js +0 -6
  1190. package/dist/index288.js +0 -241
  1191. package/dist/index29.js +0 -7
  1192. package/dist/index290.js +0 -6
  1193. package/dist/index291.js +0 -21
  1194. package/dist/index293.js +0 -6
  1195. package/dist/index294.js +0 -125
  1196. package/dist/index296.js +0 -6
  1197. package/dist/index297.js +0 -161
  1198. package/dist/index299.js +0 -6
  1199. package/dist/index30.js +0 -118
  1200. package/dist/index300.js +0 -127
  1201. package/dist/index302.js +0 -6
  1202. package/dist/index303.js +0 -20
  1203. package/dist/index305.js +0 -6
  1204. package/dist/index306.js +0 -116
  1205. package/dist/index307.js +0 -5
  1206. package/dist/index308.js +0 -507
  1207. package/dist/index31.js +0 -10
  1208. package/dist/index310.js +0 -6
  1209. package/dist/index311.js +0 -196
  1210. package/dist/index313.js +0 -6
  1211. package/dist/index314.js +0 -142
  1212. package/dist/index316.js +0 -6
  1213. package/dist/index317.js +0 -134
  1214. package/dist/index319.js +0 -6
  1215. package/dist/index32.js +0 -28
  1216. package/dist/index320.js +0 -162
  1217. package/dist/index322.js +0 -6
  1218. package/dist/index323.js +0 -319
  1219. package/dist/index325.js +0 -6
  1220. package/dist/index326.js +0 -40
  1221. package/dist/index327.js +0 -43
  1222. package/dist/index328.js +0 -665
  1223. package/dist/index33.js +0 -5
  1224. package/dist/index330.js +0 -6
  1225. package/dist/index331.js +0 -155
  1226. package/dist/index333.js +0 -6
  1227. package/dist/index334.js +0 -142
  1228. package/dist/index336.js +0 -6
  1229. package/dist/index337.js +0 -155
  1230. package/dist/index339.js +0 -6
  1231. package/dist/index34.js +0 -112
  1232. package/dist/index340.js +0 -58
  1233. package/dist/index341.js +0 -5
  1234. package/dist/index342.js +0 -20
  1235. package/dist/index344.js +0 -6
  1236. package/dist/index345.js +0 -142
  1237. package/dist/index347.js +0 -6
  1238. package/dist/index349.js +0 -109
  1239. package/dist/index351.js +0 -6
  1240. package/dist/index352.js +0 -55
  1241. package/dist/index353.js +0 -24
  1242. package/dist/index354.js +0 -23
  1243. package/dist/index355.js +0 -839
  1244. package/dist/index356.js +0 -474
  1245. package/dist/index357.js +0 -52
  1246. package/dist/index358.js +0 -7
  1247. package/dist/index36.js +0 -6
  1248. package/dist/index38.js +0 -63
  1249. package/dist/index39.js +0 -63
  1250. package/dist/index40.js +0 -9
  1251. package/dist/index42.js +0 -8
  1252. package/dist/index43.js +0 -179
  1253. package/dist/index44.js +0 -21
  1254. package/dist/index46.js +0 -385
  1255. package/dist/index48.js +0 -6
  1256. package/dist/index49.js +0 -33
  1257. package/dist/index5.js +0 -34
  1258. package/dist/index50.js +0 -12
  1259. package/dist/index51.js +0 -8
  1260. package/dist/index52.js +0 -106
  1261. package/dist/index53.js +0 -330
  1262. package/dist/index54.js +0 -97
  1263. package/dist/index55.js +0 -328
  1264. package/dist/index56.js +0 -28
  1265. package/dist/index57.js +0 -102
  1266. package/dist/index58.js +0 -157
  1267. package/dist/index6.js +0 -38
  1268. package/dist/index60.js +0 -6
  1269. package/dist/index61.js +0 -131
  1270. package/dist/index62.js +0 -5
  1271. package/dist/index65.js +0 -35
  1272. package/dist/index66.js +0 -26
  1273. package/dist/index68.js +0 -6
  1274. package/dist/index69.js +0 -54
  1275. package/dist/index7.js +0 -58
  1276. package/dist/index71.js +0 -6
  1277. package/dist/index72.js +0 -14
  1278. package/dist/index74.js +0 -6
  1279. package/dist/index75.js +0 -159
  1280. package/dist/index77.js +0 -6
  1281. package/dist/index78.js +0 -4
  1282. package/dist/index79.js +0 -4
  1283. package/dist/index80.js +0 -54
  1284. package/dist/index81.js +0 -5
  1285. package/dist/index82.js +0 -5
  1286. package/dist/index83.js +0 -141
  1287. package/dist/index85.js +0 -6
  1288. package/dist/index86.js +0 -65
  1289. package/dist/index88.js +0 -6
  1290. package/dist/index89.js +0 -30
  1291. package/dist/index9.js +0 -11
  1292. package/dist/index90.js +0 -19
  1293. package/dist/index91.js +0 -17
  1294. package/dist/index92.js +0 -9
  1295. package/dist/index93.js +0 -34
  1296. package/dist/index95.js +0 -16
  1297. package/dist/index96.js +0 -10
  1298. package/dist/index97.js +0 -18
  1299. package/dist/index98.js +0 -189
  1300. package/dist/types/VoidHtmlElements.d.ts +0 -1
  1301. package/dist/utilities/functions/add.d.ts +0 -1
  1302. package/dist/utilities/functions/booleanishToBoolean.d.ts +0 -6
  1303. package/dist/utilities/functions/capitalize.d.ts +0 -4
  1304. package/dist/utilities/functions/cloneDeep.d.ts +0 -1
  1305. package/dist/utilities/functions/debounce.d.ts +0 -1
  1306. package/dist/utilities/functions/drop.d.ts +0 -1
  1307. package/dist/utilities/functions/exceedsPrecision.d.ts +0 -1
  1308. package/dist/utilities/functions/findRight.d.ts +0 -4
  1309. package/dist/utilities/functions/findRightIndex.d.ts +0 -4
  1310. package/dist/utilities/functions/flow.d.ts +0 -1
  1311. package/dist/utilities/functions/getHueFromRGB.d.ts +0 -9
  1312. package/dist/utilities/functions/groupBy.d.ts +0 -6
  1313. package/dist/utilities/functions/gt.d.ts +0 -7
  1314. package/dist/utilities/functions/hexToRGB.d.ts +0 -7
  1315. package/dist/utilities/functions/hslToHex.d.ts +0 -1
  1316. package/dist/utilities/functions/includes.d.ts +0 -1
  1317. package/dist/utilities/functions/initial.d.ts +0 -1
  1318. package/dist/utilities/functions/isCssColor.d.ts +0 -5
  1319. package/dist/utilities/functions/lt.d.ts +0 -7
  1320. package/dist/utilities/functions/makeUrl.d.ts +0 -1
  1321. package/dist/utilities/functions/mapKeys.d.ts +0 -5
  1322. package/dist/utilities/functions/mapValues.d.ts +0 -1
  1323. package/dist/utilities/functions/matchesPropertyInsensitive.d.ts +0 -1
  1324. package/dist/utilities/functions/max.d.ts +0 -2
  1325. package/dist/utilities/functions/mean.d.ts +0 -4
  1326. package/dist/utilities/functions/merge.d.ts +0 -11
  1327. package/dist/utilities/functions/millisecondsTo.d.ts +0 -1
  1328. package/dist/utilities/functions/negate.d.ts +0 -4
  1329. package/dist/utilities/functions/normalizeItemGroups.d.ts +0 -13
  1330. package/dist/utilities/functions/omit.d.ts +0 -2
  1331. package/dist/utilities/functions/overEvery.d.ts +0 -4
  1332. package/dist/utilities/functions/pick.d.ts +0 -1
  1333. package/dist/utilities/functions/replace.d.ts +0 -1
  1334. package/dist/utilities/functions/replaceInTree.d.ts +0 -4
  1335. package/dist/utilities/functions/retry.d.ts +0 -5
  1336. package/dist/utilities/functions/roundToTheNearest.d.ts +0 -8
  1337. package/dist/utilities/functions/set.d.ts +0 -15
  1338. package/dist/utilities/functions/stub.d.ts +0 -6
  1339. package/dist/utilities/functions/transposePercent.d.ts +0 -9
  1340. package/dist/utilities/functions/tryTo.d.ts +0 -2
  1341. package/dist/utilities/functions/uniqBy.d.ts +0 -1
  1342. /package/dist/{index64.js → _virtual/_plugin-vue_export-helper.js} +0 -0
  1343. /package/dist/components/{BaseButton → BbBaseButton}/RouterComponent.vue.d.ts +0 -0
  1344. /package/dist/components/{BaseDatePicker/BaseDatePicker.vue.d.ts → BbBaseDatePicker/BbBaseDatePicker.vue.d.ts} +0 -0
  1345. /package/dist/{index165.js → composables/useArray.js} +0 -0
  1346. /package/dist/{index17.js → composables/useFrameworkDetection.js} +0 -0
  1347. /package/dist/{index12.js → composables/useId.js} +0 -0
  1348. /package/dist/{index107.js → utilities/functions/chunk.js} +0 -0
  1349. /package/dist/{index8.js → utilities/functions/clamp.js} +0 -0
  1350. /package/dist/{index150.js → utilities/functions/curry.js} +0 -0
  1351. /package/dist/{index45.js → utilities/functions/extractDomContainer.js} +0 -0
  1352. /package/dist/{index270.js → utilities/functions/findInTree.js} +0 -0
  1353. /package/dist/{index348.js → utilities/functions/flattenTree.js} +0 -0
  1354. /package/dist/{index41.js → utilities/functions/get.js} +0 -0
  1355. /package/dist/{index189.js → utilities/functions/head.js} +0 -0
  1356. /package/dist/{index108.js → utilities/functions/identity.js} +0 -0
  1357. /package/dist/{index179.js → utilities/functions/indexBy.js} +0 -0
  1358. /package/dist/{index37.js → utilities/functions/isHex.js} +0 -0
  1359. /package/dist/{index94.js → utilities/functions/isNil.js} +0 -0
  1360. /package/dist/{index26.js → utilities/functions/isNotNil.js} +0 -0
  1361. /package/dist/{index105.js → utilities/functions/last.js} +0 -0
  1362. /package/dist/{index142.js → utilities/functions/noop.js} +0 -0
  1363. /package/dist/{index231.js → utilities/functions/parseWidthString.js} +0 -0
  1364. /package/dist/{index240.js → utilities/functions/pickBy.js} +0 -0
  1365. /package/dist/{index123.js → utilities/functions/range.js} +0 -0
  1366. /package/dist/{index190.js → utilities/functions/snapToStep.js} +0 -0
  1367. /package/dist/{index191.js → utilities/functions/transpose.js} +0 -0
  1368. /package/dist/{index106.js → utilities/functions/validateDateFormat.js} +0 -0
  1369. /package/dist/{index10.js → utilities/functions/wait.js} +0 -0
@@ -0,0 +1,1327 @@
1
+ ---
2
+ title: Ownership Atlas (Inertia)
3
+ summary: Nested-table ownership atlas for Laravel + Inertia — expandable owner rows whose holdings render as a child BbTable snapped onto the parent's column tracks (inherit-column-widths + per-column snap), select-all-across-pages bulk transfer, region-visit tabs, URL-mirrored filters, expand/collapse-all, and a row-highlight owner peek, all through one page context that coopts the Inertia Helpers toolkit.
4
+ ---
5
+
6
+ # Recipe: Ownership Atlas (Inertia)
7
+
8
+ A resource-ownership admin page for **Laravel + Inertia** — the "who owns
9
+ what" screen every internal console grows (Okta's people → assigned
10
+ resources, a cloud console's cost-by-owner rollup): a dense, server-paged
11
+ table of owners where **expanding a row reveals a nested `BbTable` of the
12
+ holdings that owner is responsible for, column-aligned under the parent's
13
+ own tracks**. Around that signature move sits the full standard anatomy:
14
+ breadcrumbs + page search, a holding-type filter pill, region tabs with live
15
+ counts, expand/collapse-all controls, selection with a floating bulk
16
+ **Transfer holdings** action, and an owner peek sidebar opened by row
17
+ highlight. The list is a page prop, filters mirror into the URL through
18
+ [`useQueryObject`](../../guides/inertia-helpers.md), selection and paging
19
+ come from the keyed [`useTableContext`](../../guides/inertia-helpers.md),
20
+ and the one mutation is a promise-wrapped `router.visit`. Anatomy,
21
+ components, the context shape, copy and data are identical to the Vue
22
+ recipe; only the data/URL/mutation layer changes.
23
+
24
+ Inertia-only recipe — there is no Vue or Nuxt sibling. The nested-table
25
+ mechanics here are platform-neutral, so the table markup ports directly; only
26
+ the data/URL/mutation layer is Inertia-specific.
27
+
28
+ ## Prerequisites
29
+
30
+ - **[Layout Scaffold](./layout-scaffold.md) — build it first.** This recipe
31
+ imports `PageShell`, `usePageShellContext` and `FloatingBottomPanel` from your own app.
32
+ They are not package exports; the scaffold recipe is their source. Copy
33
+ those files before anything below, and do not hand-roll replacements —
34
+ the peek stack, the close semantics and the sidebar's out-of-flow
35
+ behaviour are all load-bearing here.
36
+ - `<BbToast />` mounted once in the `createInertiaApp` render root — never in a page.
37
+ - From the [Inertia Helpers](../../guides/inertia-helpers.md) toolkit:
38
+ `useTableContext`, `useQueryObject`, `useResourceContext` (plus the
39
+ `useProp` / `useQuery` prop-and-URL helpers).
40
+ - Controller: `Inertia::render('OwnershipAtlas', ['owners' =>
41
+ OwnerPaginator::make(...), 'tabCounts' => [...], 'ownerOptions' => [...]])` —
42
+ `owners` is a standard Laravel paginator (`PaginatedResponse<Owner>`) whose
43
+ rows **embed their holdings** (the expand row renders instantly, no
44
+ per-expand fetch), `tabCounts` a plain `{ all, americas, emea, apac }` map,
45
+ and `ownerOptions` the flat `{ id, name, team }` catalog the transfer
46
+ picker offers. All three are re-sent on the partial reloads the page
47
+ triggers. The `kinds` filter is applied to the holdings server-side: owners
48
+ with no matching holding drop out, and each surviving owner's
49
+ `holdingsCount` / `monthlyTotal` are recomputed over the filtered set.
50
+ Search matches owner name, email, team **and** holding names.
51
+ - Mutation route: `PATCH /ownership/owners/bulk/transfer` (accepts the
52
+ select-all-across-pages payload `{ ids, all, unselected, toOwnerId }`,
53
+ redirects back). A small JSON endpoint
54
+ (`GET /ownership/owners/:id/peek`) backs the sidebar peek so opening it is
55
+ not a full-page visit.
56
+
57
+ ## Key ideas
58
+
59
+ - **One coopting page context.** `provideOwnershipAtlas()` joins the
60
+ page-shell stack **and** the keyed `useTableContext('owners')` once, owns
61
+ filters/tab/expansion, and exposes complete actions. Every leaf calls
62
+ `useOwnershipAtlas()` and nothing else — zero prop drilling anywhere on
63
+ the page.
64
+ - **The expand row is a real nested `BbTable` that inherits the parent's
65
+ column tracks.** `inherit-column-widths` snaps the holdings table onto the
66
+ owners table's grid; because the parent is `selectable`, every child
67
+ column carries an explicit `snap` starting at `1` (`snap: 1…4`), so
68
+ Resource sits exactly under Owner and the right-aligned $/mo columns share
69
+ one edge. This is the recipe's signature move — the full defense is in
70
+ "Why it is built this way" and in the
71
+ [BbTable guide](../../BbTable.md) ("Nested tables that align with the
72
+ parent").
73
+ - **Page-level cell-padding overrides are scoped with direct-child
74
+ combinators.** The full-bleed treatment (`.table-flush`) pads the outer
75
+ table's first/last cells via `:deep(> table > thead > tr > th:first-child)`
76
+ — a bare descendant selector would also hit the nested table and clobber
77
+ the structural offset padding it computes to stay flush with the parent
78
+ grid.
79
+ - **Expansion is page state, not table-internal state.** `expanded` (owner
80
+ ids) lives in the context and binds through `v-model:expanded-items`, so
81
+ the toolbar (expand-all/collapse-all), the bulk bar (expand selected) and
82
+ the peek footer (expand in table) all write the same array the table
83
+ reads.
84
+ - **Row highlight IS the peek.** A two-way computed maps
85
+ `v-model:highlighted` onto the shell stack: clicking a row opens the owner
86
+ peek, clicking it again (or closing the sidebar) clears the highlight —
87
+ highlight and selection stay independent axes.
88
+ - **The table has no client-side fetch at all.** `owners` arrives as a page
89
+ prop; `useTableContext('owners')` turns it into `items` +
90
+ `totalItems`/`page`/`perPage` (URL-backed) + `selected`/`unselected`/`all`
91
+ (select-all-across-pages), and `BbTable` binds directly to that handle.
92
+ Filters mirror into the URL with `useQueryObject`; tabs are real visits
93
+ (`href` + `server: true` with component-level `navigation`).
94
+ - **The one mutation is a promise-wrapped `router.visit`.** A tiny local
95
+ `visit()` helper turns Inertia's callback API into a promise so
96
+ `bulkTransfer` stays an `async function` — identical call site to the
97
+ Vue/Nuxt versions.
98
+ - **Buttons are `md` by default**; `sm`/`xs` only in the toolbar, the table
99
+ rows, the peek footer and the bottom bar — the dense surfaces the
100
+ doctrine allows.
101
+
102
+ ## Page anatomy
103
+
104
+ ```
105
+ OwnershipAtlas/
106
+ Index.vue ← assembly: PageShell slots, toolbar, owners table, pagination
107
+ context.ts ← coopting page context (shell + useTableContext + filters + expansion + actions)
108
+ FilterRail.vue ← holding-type pill + clear-all
109
+ HoldingsTable.vue ← the nested BbTable, snapped onto the parent's tracks
110
+ SelectionBar.vue ← expand-selected + bulk transfer in the floating bottom panel
111
+ OwnerPeek.vue ← sidebar workbench for the highlighted owner
112
+ ```
113
+
114
+ Chrome assumed from the guides: [App Layout](../../guides/app-layout.md)
115
+ (left nav + fat footer), [Page Shell](../../guides/page-shell.md),
116
+ [Floating Bottom Panel](../../guides/floating-bottom-panel.md).
117
+
118
+ ## Action inventory
119
+
120
+ | # | Action | Trigger | Mechanism |
121
+ | --- | --------------------------- | ------------------------------------ | --------------------------------------------------------- |
122
+ | 1 | Page search | topbar right | `filters.search` → `useQueryObject` partial visit |
123
+ | 2 | Filter holding type | filter rail pill | `BbSelectPopover` multiple over the kind catalog |
124
+ | 3 | Clear filters | rail (only when active), empty state | context `clearFilters()` |
125
+ | 4 | Switch region tab | server-visit tabs with counts | `BbTabs` `href` + `server: true` visit |
126
+ | 5 | Expand / collapse one owner | holdings-count control, actions col | `expandProps` toggle → `v-model:expanded-items` |
127
+ | 6 | Expand all on this page | toolbar icon button | `expandAllOnPage()` over the current page's rows |
128
+ | 7 | Collapse all | toolbar icon button | `collapseAll()` |
129
+ | 8 | Peek owner | click anywhere on a row | `v-model:highlighted` ↔ shell stack, JSON fetch |
130
+ | 9 | Expand in table | peek footer | adds the peeked owner to `expanded` |
131
+ | 10 | Select rows / select all | table checkboxes | `useTableContext` selection (across pages) |
132
+ | 11 | Expand selected | floating bottom panel | `expandSelected()` resolves the selection payload |
133
+ | 12 | Bulk transfer holdings | bottom panel one-shot popover | `bulkTransfer(toOwnerId)` → promise-wrapped visit + toast |
134
+ | 13 | Clear selection / paginate | bottom panel ×, `BbPagination` | `table.resetSelection()` / `table.page` v-model |
135
+
136
+ ## The code
137
+
138
+ ### context.ts
139
+
140
+ ```ts
141
+ // OwnershipAtlas/context.ts
142
+ import {
143
+ computed,
144
+ inject,
145
+ provide,
146
+ reactive,
147
+ ref,
148
+ type ComputedRef,
149
+ type InjectionKey,
150
+ type Ref,
151
+ } from 'vue';
152
+ import { router } from '@inertiajs/vue3';
153
+ import type { RequestPayload } from '@inertiajs/core';
154
+ import { useToast, type BadgeVariantType } from 'bitboss-ui';
155
+ import {
156
+ usePageShellContext,
157
+ type PageShellContext,
158
+ } from '@/components/layout/usePageShellContext';
159
+ import {
160
+ useTableContext,
161
+ type TableContext,
162
+ } from '@/composables/useTableContext';
163
+ import { useQueryObject } from '@/composables/useQueryObject';
164
+ import { useProp } from '@/composables/useProp';
165
+ import { useQuery } from '@/composables/useQuery';
166
+ import type {
167
+ HoldingKind,
168
+ HoldingStatus,
169
+ Owner,
170
+ OwnerDetail,
171
+ OwnerOption,
172
+ OwnerRegion,
173
+ } from '@/types';
174
+
175
+ export type OwnershipTab = 'all' | OwnerRegion;
176
+
177
+ /** What the sidebar can show. Row highlight pushes one of these. */
178
+ export type PeekItem = { type: 'owner'; id: string };
179
+
180
+ export interface OwnershipFilters {
181
+ search: string;
182
+ kinds: HoldingKind[];
183
+ }
184
+
185
+ // Shared label/variant catalogs: defined once beside the context, imported
186
+ // by every leaf that renders a kind, status or region.
187
+ export const KIND_LABEL: Record<HoldingKind, string> = {
188
+ workspace: 'Workspace',
189
+ project: 'Project',
190
+ domain: 'Domain',
191
+ database: 'Database',
192
+ vault: 'Vault',
193
+ device: 'Device',
194
+ 'seat-pool': 'Seat pool',
195
+ bucket: 'Bucket',
196
+ };
197
+
198
+ export const STATUS_LABEL: Record<HoldingStatus, string> = {
199
+ active: 'Active',
200
+ paused: 'Paused',
201
+ provisioning: 'Provisioning',
202
+ retired: 'Retired',
203
+ };
204
+
205
+ export const STATUS_VARIANT: Record<HoldingStatus, BadgeVariantType> = {
206
+ active: 'soft-green',
207
+ paused: 'soft-amber',
208
+ provisioning: 'soft-blue',
209
+ retired: 'soft-gray',
210
+ };
211
+
212
+ export const REGION_LABEL: Record<OwnerRegion, string> = {
213
+ americas: 'Americas',
214
+ emea: 'EMEA',
215
+ apac: 'APAC',
216
+ };
217
+
218
+ const RELOAD_PROPS = ['owners', 'tabCounts', 'ownerOptions'] as const;
219
+
220
+ /** Comma-joined query value → typed array (or [] when absent). */
221
+ const toArray = <T = string>(value: unknown): T[] => {
222
+ if (Array.isArray(value)) return value as T[];
223
+ if (typeof value === 'string' && value.length) return value.split(',') as T[];
224
+ return [];
225
+ };
226
+
227
+ export interface OwnershipAtlasContext {
228
+ // -- Coopted contexts ------------------------------------------------------
229
+ shell: PageShellContext<PeekItem>;
230
+ table: TableContext<Owner, string>;
231
+ // -- Page-owned state ------------------------------------------------------
232
+ filters: OwnershipFilters;
233
+ hasActiveFilters: ComputedRef<boolean>;
234
+ tab: Ref<OwnershipTab>;
235
+ tabCounts: ComputedRef<Record<OwnershipTab, number>>;
236
+ /** Transfer-target catalog — every owner, not just the current page. */
237
+ ownerOptions: ComputedRef<OwnerOption[]>;
238
+ /** Owner ids currently expanded — drives the nested holdings tables. */
239
+ expanded: Ref<string[]>;
240
+ /** Bumped after every mutation — the peek watches it to re-fetch. */
241
+ refreshKey: Ref<number>;
242
+ // -- Data ------------------------------------------------------------------
243
+ fetchOwner: (id: string) => Promise<OwnerDetail>;
244
+ // -- Actions ---------------------------------------------------------------
245
+ clearFilters: () => void;
246
+ expandAllOnPage: () => void;
247
+ collapseAll: () => void;
248
+ expandSelected: () => void;
249
+ peekOwner: (id: string) => void;
250
+ bulkTransfer: (toOwnerId: string) => Promise<void>;
251
+ }
252
+
253
+ const key: InjectionKey<OwnershipAtlasContext> = Symbol('ownership-atlas');
254
+
255
+ /** Inertia's callback-based visit, wrapped as a promise — so the context
256
+ * action stays `async`, exactly like the Vue/Nuxt versions. Always a
257
+ * partial reload of the props this page depends on. */
258
+ const visit = (
259
+ method: 'post' | 'put' | 'patch' | 'delete',
260
+ url: string,
261
+ // Inertia's own payload type — strings/numbers/booleans/arrays/files.
262
+ data: RequestPayload = {}
263
+ ): Promise<void> =>
264
+ new Promise((resolve, reject) => {
265
+ router.visit(url, {
266
+ method,
267
+ data,
268
+ only: [...RELOAD_PROPS],
269
+ preserveScroll: true,
270
+ preserveState: true,
271
+ onSuccess: () => resolve(),
272
+ onError: (errors) => reject(errors),
273
+ });
274
+ });
275
+
276
+ export function provideOwnershipAtlas(): OwnershipAtlasContext {
277
+ const { toast } = useToast();
278
+
279
+ // -- Coopt the specific contexts: once, here, for the whole page. ----------
280
+ const shell = usePageShellContext<PeekItem>();
281
+ // `Owner, string`: BbTable's `item-value="id"` resolves selection to owner
282
+ // ids ('own_…'), matching the Vue/Nuxt `table.selected: string[]` shape.
283
+ const table = useTableContext<Owner, string>('owners');
284
+
285
+ // -- Filters: seeded from the current URL, mirrored back by useQueryObject. -
286
+ const query = useQuery();
287
+ const filters = reactive<OwnershipFilters>({
288
+ search: (query.search as string) ?? '',
289
+ kinds: toArray<HoldingKind>(query.kinds),
290
+ });
291
+ useQueryObject(filters, { only: [...RELOAD_PROPS] });
292
+
293
+ const hasActiveFilters = computed(
294
+ () => filters.search.trim().length > 0 || filters.kinds.length > 0
295
+ );
296
+ const clearFilters = () => {
297
+ filters.search = '';
298
+ filters.kinds = [];
299
+ };
300
+
301
+ // Tab: seeded from the URL; BbTabs' own `href` + `server` visit updates
302
+ // the URL, and its `v-model` write keeps this ref in sync with the click.
303
+ const tab = ref<OwnershipTab>((query.tab as OwnershipTab) ?? 'all');
304
+ const tabCounts = useProp<Record<OwnershipTab, number>>('tabCounts');
305
+ const ownerOptions = useProp<OwnerOption[]>('ownerOptions');
306
+
307
+ // -- Expansion: page state, one array, many writers. -----------------------
308
+ // The toolbar, the bulk bar and the peek all mutate this; the table binds
309
+ // it via `v-model:expanded-items`. Deliberately NOT in the URL: which rows
310
+ // are unfolded is working posture, not a shareable view.
311
+ const expanded = ref<string[]>([]);
312
+
313
+ const expandAllOnPage = () => {
314
+ expanded.value = table.items.value.map((owner) => owner.id);
315
+ };
316
+
317
+ const collapseAll = () => {
318
+ expanded.value = [];
319
+ };
320
+
321
+ // Bulk expand honors select-all-across-pages semantics, but can only unfold
322
+ // rows that are actually rendered — so it resolves against the current page.
323
+ const expandSelected = () => {
324
+ const ids = table.all.value
325
+ ? table.items.value
326
+ .map((owner) => owner.id)
327
+ .filter((id) => !table.unselected.value.includes(id))
328
+ : [...table.selected.value];
329
+ expanded.value = [...new Set([...expanded.value, ...ids])];
330
+ };
331
+
332
+ const peekOwner = (id: string) => shell.push({ type: 'owner', id }, true);
333
+
334
+ const refreshKey = ref(0);
335
+
336
+ // Bulk payload carries the full select-all-across-pages triple — the
337
+ // server combines `all` + `unselected` the same way BbTable does.
338
+ const bulkPayload = () => ({
339
+ ids: table.selected.value,
340
+ all: table.all.value,
341
+ unselected: table.unselected.value,
342
+ });
343
+
344
+ const bulkTransfer = async (toOwnerId: string) => {
345
+ const target = ownerOptions.value.find((owner) => owner.id === toOwnerId);
346
+ await visit('patch', '/ownership/owners/bulk/transfer', {
347
+ ...bulkPayload(),
348
+ toOwnerId,
349
+ });
350
+ refreshKey.value++;
351
+ table.resetSelection();
352
+ toast({
353
+ title: `Holdings transferred to ${target?.name ?? 'the selected owner'}.`,
354
+ variant: 'success',
355
+ });
356
+ };
357
+
358
+ // A small JSON endpoint, not a page visit — opening the peek never
359
+ // re-renders the list underneath it.
360
+ const fetchOwner = (id: string): Promise<OwnerDetail> =>
361
+ fetch(`/ownership/owners/${id}/peek`).then((res) => res.json());
362
+
363
+ const ctx: OwnershipAtlasContext = {
364
+ shell,
365
+ table,
366
+ filters,
367
+ hasActiveFilters,
368
+ tab,
369
+ tabCounts,
370
+ ownerOptions,
371
+ expanded,
372
+ refreshKey,
373
+ fetchOwner,
374
+ clearFilters,
375
+ expandAllOnPage,
376
+ collapseAll,
377
+ expandSelected,
378
+ peekOwner,
379
+ bulkTransfer,
380
+ };
381
+ provide(key, ctx);
382
+ return ctx;
383
+ }
384
+
385
+ export function useOwnershipAtlas(): OwnershipAtlasContext {
386
+ const ctx = inject(key);
387
+ if (!ctx)
388
+ throw new Error('useOwnershipAtlas() called outside OwnershipAtlas');
389
+ return ctx;
390
+ }
391
+ ```
392
+
393
+ ### Index.vue — the assembly
394
+
395
+ ```vue
396
+ <!-- OwnershipAtlas/Index.vue -->
397
+ <template>
398
+ <PageShell>
399
+ <!-- Topbar: breadcrumbs left, page search right. No creation action on
400
+ this page, so no primary button anywhere. -->
401
+ <template #topbar>
402
+ <div class="flex items-center justify-between gap-4 border-b px-4 py-2">
403
+ <!-- Breadcrumbs take the row's slack on a stable basis (min-w-0 flex-auto);
404
+ without it their overflow recompute fights the flex layout every frame. -->
405
+ <BbBreadcrumbs
406
+ class="min-w-0 flex-auto"
407
+ :items="[
408
+ { key: 'admin', text: 'Admin', href: '/admin' },
409
+ { key: 'access', text: 'Access', href: '/access' },
410
+ { key: 'ownership', text: 'Ownership' },
411
+ ]"
412
+ />
413
+ <BbTextInput
414
+ v-model="ctx.filters.search"
415
+ autocomplete="off"
416
+ class="shrink-0"
417
+ clearable
418
+ compact
419
+ hide-label
420
+ label="Search owners or holdings"
421
+ placeholder="Search owner, team, or resource…"
422
+ prepend:icon="lucide:search"
423
+ />
424
+ </div>
425
+ </template>
426
+
427
+ <div class="flex flex-col gap-3 p-4">
428
+ <FilterRail />
429
+
430
+ <!-- Toolbar row: region tabs share the line with the expansion
431
+ controls — expansion is page furniture, not a row concern. -->
432
+ <div class="flex items-center gap-2">
433
+ <div class="min-w-0 flex-1 overflow-clip">
434
+ <!-- Tabs are real visits: href + server (component-level
435
+ `navigation` is required alongside per-item `server`). The
436
+ transfer catalog can't change with the tab, so `ownerOptions`
437
+ stays out of the tab reload list. Each href is built from
438
+ `tabHref()`, NOT a bare `?tab=` literal: `preserve-state`
439
+ keeps `ctx.filters` alive across the visit, so if the href
440
+ dropped the filter query keys the server would render an
441
+ unfiltered page while the (unchanged) filter chips kept
442
+ claiming the old filters still applied. -->
443
+ <BbTabs
444
+ v-model="ctx.tab.value"
445
+ compact
446
+ :items="[
447
+ {
448
+ key: 'all',
449
+ label: `All · ${ctx.tabCounts.value.all}`,
450
+ href: tabHref('all'),
451
+ server: true,
452
+ only: ['owners', 'tabCounts'],
453
+ },
454
+ {
455
+ key: 'americas',
456
+ label: `Americas · ${ctx.tabCounts.value.americas}`,
457
+ href: tabHref('americas'),
458
+ server: true,
459
+ only: ['owners', 'tabCounts'],
460
+ },
461
+ {
462
+ key: 'emea',
463
+ label: `EMEA · ${ctx.tabCounts.value.emea}`,
464
+ href: tabHref('emea'),
465
+ server: true,
466
+ only: ['owners', 'tabCounts'],
467
+ },
468
+ {
469
+ key: 'apac',
470
+ label: `APAC · ${ctx.tabCounts.value.apac}`,
471
+ href: tabHref('apac'),
472
+ server: true,
473
+ only: ['owners', 'tabCounts'],
474
+ },
475
+ ]"
476
+ navigation
477
+ preserve-scroll
478
+ preserve-state
479
+ replace
480
+ />
481
+ </div>
482
+ <div class="flex shrink-0 items-center gap-0.5">
483
+ <BbButton
484
+ v-bb-tooltip="{ text: 'Expand all on this page', delay: 400 }"
485
+ aria-label="Expand all on this page"
486
+ icon="lucide:chevrons-down"
487
+ size="sm"
488
+ variant="ghost"
489
+ @click="ctx.expandAllOnPage"
490
+ />
491
+ <BbButton
492
+ v-bb-tooltip="{ text: 'Collapse all', delay: 400 }"
493
+ aria-label="Collapse all"
494
+ icon="lucide:chevrons-up"
495
+ size="sm"
496
+ variant="ghost"
497
+ @click="ctx.collapseAll"
498
+ />
499
+ </div>
500
+ </div>
501
+
502
+ <!-- No dependencies/items-fn: `owners` is a page prop, and selection
503
+ (across pages) binds straight onto the keyed table context.
504
+ `fixed` gives the parent equal-width tracks — a predictable grid
505
+ for the nested table to snap onto. -->
506
+ <BbTable
507
+ v-model="ctx.table.selected.value"
508
+ v-model:expanded-items="ctx.expanded.value"
509
+ v-model:highlighted="highlightedOwner"
510
+ v-model:select-all="ctx.table.all.value"
511
+ v-model:unselected-items="ctx.table.unselected.value"
512
+ actions
513
+ actions-text="Holdings"
514
+ caption="Resource owners"
515
+ class="table-flush"
516
+ :columns="columns"
517
+ compact
518
+ fixed
519
+ item-value="id"
520
+ :items="ctx.table.items.value"
521
+ loading-text="Loading owners…"
522
+ :row-class="rowClass"
523
+ selectable
524
+ >
525
+ <template #name="{ item, content }">
526
+ <div class="flex min-w-0 flex-col leading-tight">
527
+ <span class="font-semibold">{{ content }}</span>
528
+ <span class="truncate text-xs text-[color:var(--bb-text-muted)]">{{
529
+ item.email
530
+ }}</span>
531
+ </div>
532
+ </template>
533
+
534
+ <template #team="{ item, content }">
535
+ <div class="flex min-w-0 flex-col leading-tight">
536
+ <span>{{ content }}</span>
537
+ <span class="truncate text-xs text-[color:var(--bb-text-muted)]">{{
538
+ item.title
539
+ }}</span>
540
+ </div>
541
+ </template>
542
+
543
+ <template #region="{ item }">
544
+ <span class="text-xs text-[color:var(--bb-text-muted)]">{{
545
+ REGION_LABEL[item.region]
546
+ }}</span>
547
+ </template>
548
+
549
+ <template #monthlytotal="{ content }">
550
+ <span class="tabular-nums">{{ money(content) }}</span>
551
+ </template>
552
+
553
+ <!-- The actions column IS the expand control: the holdings count
554
+ doubles as the toggle, `expandProps` wires aria + keyboard. -->
555
+ <template #actions="{ item, expanded: isOpen, expandProps }">
556
+ <BbButton
557
+ v-bind="expandProps"
558
+ :append:icon="isOpen ? 'lucide:chevron-up' : 'lucide:chevron-down'"
559
+ :aria-label="
560
+ isOpen
561
+ ? `Collapse ${item.holdingsCount} holdings`
562
+ : `Expand ${item.holdingsCount} holdings`
563
+ "
564
+ size="xs"
565
+ variant="ghost"
566
+ >
567
+ <span class="tabular-nums">{{ item.holdingsCount }}</span>
568
+ </BbButton>
569
+ </template>
570
+
571
+ <!-- The signature move: a nested BbTable that inherits this
572
+ table's column tracks. -->
573
+ <template #expand="{ item }">
574
+ <HoldingsTable :owner="item" />
575
+ </template>
576
+
577
+ <template #no-data>
578
+ <div
579
+ class="mx-auto flex max-w-sm flex-col items-center gap-3 px-6 py-12 text-center"
580
+ >
581
+ <BbIcon
582
+ class="text-[color:var(--bb-text-muted)]"
583
+ :icon="
584
+ ctx.hasActiveFilters.value ? 'lucide:search-x' : 'lucide:layers'
585
+ "
586
+ size="2xl"
587
+ />
588
+ <p class="text-sm font-semibold">
589
+ {{
590
+ ctx.hasActiveFilters.value
591
+ ? 'No matching owners'
592
+ : 'No owners in this region'
593
+ }}
594
+ </p>
595
+ <p class="text-xs text-[color:var(--bb-text-muted)]">
596
+ {{
597
+ ctx.hasActiveFilters.value
598
+ ? 'Clear the holding-type filter, or widen search.'
599
+ : 'Switch tabs to another region.'
600
+ }}
601
+ </p>
602
+ <BbButton
603
+ v-if="ctx.hasActiveFilters.value"
604
+ prepend:icon="lucide:x"
605
+ size="sm"
606
+ variant="outline"
607
+ @click="ctx.clearFilters"
608
+ >
609
+ Clear filters
610
+ </BbButton>
611
+ </div>
612
+ </template>
613
+ </BbTable>
614
+
615
+ <!-- No table-id: the keyed table context is the page count here. -->
616
+ <BbPagination
617
+ v-model="ctx.table.page.value"
618
+ label="Owners pagination"
619
+ :total-pages="ctx.table.totalPages.value"
620
+ />
621
+ </div>
622
+
623
+ <SelectionBar />
624
+
625
+ <!-- The peek: rendered by type; row highlight drives the stack. -->
626
+ <template #sidebar>
627
+ <OwnerPeek
628
+ v-if="ctx.shell.current.value?.type === 'owner'"
629
+ :owner-id="ctx.shell.current.value.id"
630
+ />
631
+ </template>
632
+ </PageShell>
633
+ </template>
634
+
635
+ <script setup lang="ts">
636
+ import { computed } from 'vue';
637
+ import {
638
+ BbBreadcrumbs,
639
+ BbButton,
640
+ BbIcon,
641
+ BbPagination,
642
+ BbTable,
643
+ BbTabs,
644
+ BbTextInput,
645
+ vBbTooltip,
646
+ type BbTableColumn,
647
+ } from 'bitboss-ui';
648
+ import qs from 'query-string';
649
+ import PageShell from '@/components/layout/PageShell.vue';
650
+ import { useQuery } from '@/composables/useQuery';
651
+ import {
652
+ provideOwnershipAtlas,
653
+ REGION_LABEL,
654
+ type OwnershipTab,
655
+ } from './context';
656
+ import FilterRail from './FilterRail.vue';
657
+ import HoldingsTable from './HoldingsTable.vue';
658
+ import OwnerPeek from './OwnerPeek.vue';
659
+ import SelectionBar from './SelectionBar.vue';
660
+ import type { Owner } from '@/types';
661
+
662
+ const ctx = provideOwnershipAtlas();
663
+
664
+ // Merge `tab` into the *current* query instead of replacing it: `useQuery()`
665
+ // reads the live URL, which already carries every filter `useQueryObject`
666
+ // mirrored there, so switching tabs keeps `search`/`kinds` intact instead of
667
+ // silently resetting the results to unfiltered.
668
+ const tabHref = (tab: OwnershipTab): string =>
669
+ `/ownership?${qs.stringify({ ...useQuery(), tab }, { arrayFormat: 'comma' })}`;
670
+
671
+ /** Row highlight IS the peek: clicking a row opens owner detail in the
672
+ * sidebar; clicking it again (BbTable clears the highlight) closes it. */
673
+ const highlightedOwner = computed<string | null>({
674
+ get: () =>
675
+ ctx.shell.current.value?.type === 'owner'
676
+ ? ctx.shell.current.value.id
677
+ : null,
678
+ set: (id) => {
679
+ if (id == null) ctx.shell.close();
680
+ else ctx.peekOwner(id);
681
+ },
682
+ });
683
+
684
+ /** Four data columns — the nested holdings table snaps onto them 1:1. The
685
+ * owner's title rides under Team; the holdings count lives on the expand
686
+ * control in the actions column. */
687
+ const columns: Array<BbTableColumn<Owner>> = [
688
+ { key: 'name', label: 'Owner' },
689
+ { key: 'team', label: 'Team' },
690
+ { key: 'region', label: 'Region' },
691
+ { key: 'monthlyTotal', label: '$ / mo', align: 'right' },
692
+ ];
693
+
694
+ const money = (value: number) =>
695
+ new Intl.NumberFormat('en-US', {
696
+ style: 'currency',
697
+ currency: 'USD',
698
+ maximumFractionDigits: 0,
699
+ }).format(value);
700
+
701
+ // Public row-class API paints every row state: the base class carries the
702
+ // pointer cursor (rows are click targets — highlight opens the peek), the
703
+ // conditional classes carry the expanded / peek-open washes.
704
+ const rowClass = (item: Owner) => {
705
+ const classes = ['owner-row'];
706
+ if (ctx.expanded.value.includes(item.id)) classes.push('row-expanded');
707
+ if (highlightedOwner.value === item.id) classes.push('row-peeked');
708
+ return classes.join(' ');
709
+ };
710
+ </script>
711
+
712
+ <style scoped>
713
+ /* Full-bleed table: mirror the content wrapper's `p-4` so row washes and the
714
+ nested table run edge to edge, while the outermost cells keep the optical
715
+ margin — content stays lined up with the filter rail and tabs above. */
716
+ .table-flush {
717
+ --page-inset: 1rem;
718
+ margin-inline: calc(var(--page-inset) * -1);
719
+ width: calc(100% + var(--page-inset) * 2);
720
+ }
721
+
722
+ /* Direct-child combinators keep these overrides on the OWNER table's own
723
+ cells. A bare `:deep(tbody td:first-child)` would also match the nested
724
+ holdings table and clobber the structural offset padding it computes to
725
+ stay flush with the parent grid — the one selector mistake that silently
726
+ breaks nested-table alignment. */
727
+ .table-flush :deep(> table > thead > tr > th:first-child),
728
+ .table-flush
729
+ :deep(> table > tbody > tr > td:first-child:not(.bb-table-expand__cell)) {
730
+ padding-inline-start: var(--page-inset);
731
+ }
732
+
733
+ .table-flush :deep(> table > thead > tr > th:last-child),
734
+ .table-flush
735
+ :deep(> table > tbody > tr > td:last-child:not(.bb-table-expand__cell)) {
736
+ padding-inline-end: var(--page-inset);
737
+ }
738
+
739
+ /* Expand rows stay edge-to-edge so the nested table can inherit the parent
740
+ tracks without an extra inset shifting everything sideways. */
741
+ .table-flush :deep(> table > tbody > tr > td.bb-table-expand__cell) {
742
+ padding-inline: 0;
743
+ }
744
+
745
+ /* Row states, painted through the public row-class API. */
746
+ :deep(.owner-row) {
747
+ cursor: pointer;
748
+ }
749
+
750
+ /* Expanded = hierarchy only: a quiet ink wash, no accent. */
751
+ :deep(.row-expanded) {
752
+ background-color: color-mix(in oklab, var(--bb-text) 2.5%, transparent);
753
+ }
754
+
755
+ /* Peek-open = accent wash + a 1px lead pin on the row's start edge. */
756
+ :deep(.row-peeked) {
757
+ background-color: color-mix(in oklab, var(--bb-primary) 6%, transparent);
758
+ box-shadow: inset 1px 0 0 0 var(--bb-primary);
759
+ }
760
+ </style>
761
+ ```
762
+
763
+ ### HoldingsTable.vue — the nested table
764
+
765
+ ```vue
766
+ <!-- OwnershipAtlas/HoldingsTable.vue — nested BbTable snapped under the owner. -->
767
+ <template>
768
+ <div class="holdings-nest">
769
+ <BbTable
770
+ :caption="`Holdings owned by ${owner.name}`"
771
+ class="w-full"
772
+ :columns="columns"
773
+ compact
774
+ inherit-column-widths
775
+ item-value="id"
776
+ :items="owner.holdings"
777
+ >
778
+ <template #name="{ item, content }">
779
+ <div class="flex min-w-0 flex-col leading-tight">
780
+ <span class="font-semibold">{{ content }}</span>
781
+ <span class="text-xs text-[color:var(--bb-text-muted)]">
782
+ Since {{ monthLabel(item.since) }} · {{ item.region }}
783
+ </span>
784
+ </div>
785
+ </template>
786
+
787
+ <template #kind="{ item }">
788
+ <span class="text-xs text-[color:var(--bb-text-muted)]">{{
789
+ KIND_LABEL[item.kind]
790
+ }}</span>
791
+ </template>
792
+
793
+ <template #status="{ item }">
794
+ <BbBadge size="sm" :variant="STATUS_VARIANT[item.status]">
795
+ {{ STATUS_LABEL[item.status] }}
796
+ </BbBadge>
797
+ </template>
798
+
799
+ <template #monthlycost="{ content }">
800
+ <span class="tabular-nums">{{ money(content) }}</span>
801
+ </template>
802
+ </BbTable>
803
+ </div>
804
+ </template>
805
+
806
+ <script setup lang="ts">
807
+ import { BbBadge, BbTable, type BbTableColumn } from 'bitboss-ui';
808
+ import { KIND_LABEL, STATUS_LABEL, STATUS_VARIANT } from './context';
809
+ import type { Holding, Owner } from '@/types';
810
+
811
+ defineProps<{ owner: Owner }>();
812
+
813
+ /**
814
+ * Explicit snaps onto the parent grid. The parent is `selectable`, so its
815
+ * select column occupies tracks [0, 1] and the data columns sit at 1…4 —
816
+ * `snap` base is 1 (it would be 0 under a non-selectable parent). Every
817
+ * column defines a snap so none becomes the auto fill track: a width-free
818
+ * last column would absorb the parent's actions region, and right-aligned
819
+ * $/mo would land under the expand control instead of under the parent's
820
+ * $/mo. With all four snapped, the parent's select and actions tracks fold
821
+ * into the child's first/last cells as padding — the child starts flush with
822
+ * the parent's first data column, and that inset is what reads as hierarchy.
823
+ */
824
+ const columns: Array<BbTableColumn<Holding>> = [
825
+ { key: 'name', label: 'Resource', snap: 1 },
826
+ { key: 'kind', label: 'Type', snap: 2 },
827
+ { key: 'status', label: 'Status', snap: 3 },
828
+ { key: 'monthlyCost', label: '$ / mo', align: 'right', snap: 4 },
829
+ ];
830
+
831
+ const money = (value: number) =>
832
+ value === 0
833
+ ? '—'
834
+ : new Intl.NumberFormat('en-US', {
835
+ style: 'currency',
836
+ currency: 'USD',
837
+ maximumFractionDigits: 0,
838
+ }).format(value);
839
+
840
+ const monthLabel = (value: string) =>
841
+ new Date(value).toLocaleDateString('en-US', {
842
+ month: 'short',
843
+ year: 'numeric',
844
+ });
845
+ </script>
846
+
847
+ <style scoped>
848
+ /* Full-bleed inside the expand cell — the inherited snaps keep Resource
849
+ under Owner. Hierarchy is the hairline + faint wash, NOT a padding inset:
850
+ an inset would shift the child's cells off the parent's tracks and make
851
+ the alignment lie. */
852
+ .holdings-nest {
853
+ background: color-mix(in oklab, var(--bb-text) 1.5%, transparent);
854
+ border-block-start: 1px solid var(--bb-border);
855
+ width: 100%;
856
+ }
857
+ </style>
858
+ ```
859
+
860
+ ### FilterRail.vue
861
+
862
+ ```vue
863
+ <!-- OwnershipAtlas/FilterRail.vue -->
864
+ <template>
865
+ <div class="flex flex-wrap items-center gap-2">
866
+ <!-- Holding type: multi-select pill over the kind catalog. Filtering by
867
+ kind reshapes the owners themselves (server-side): owners with no
868
+ matching holding drop out, counts and totals recompute. -->
869
+ <BbSelectPopover
870
+ v-model="ctx.filters.kinds"
871
+ clearable
872
+ item-text="label"
873
+ item-value="value"
874
+ :items="kindOptions"
875
+ multiple
876
+ >
877
+ <template #activator="{ props }">
878
+ <BbButton
879
+ v-bind="props"
880
+ append:icon="lucide:chevron-down"
881
+ prepend:icon="lucide:layers"
882
+ size="sm"
883
+ variant="outline"
884
+ >
885
+ Holding type{{
886
+ ctx.filters.kinds.length ? ` · ${ctx.filters.kinds.length}` : ''
887
+ }}
888
+ </BbButton>
889
+ </template>
890
+ </BbSelectPopover>
891
+
892
+ <!-- Clear-all renders only while something is active. -->
893
+ <BbButton
894
+ v-if="ctx.hasActiveFilters.value"
895
+ prepend:icon="lucide:x"
896
+ size="sm"
897
+ variant="ghost"
898
+ @click="ctx.clearFilters"
899
+ >
900
+ Clear
901
+ </BbButton>
902
+ </div>
903
+ </template>
904
+
905
+ <script setup lang="ts">
906
+ import { BbButton, BbSelectPopover } from 'bitboss-ui';
907
+ import { KIND_LABEL, useOwnershipAtlas } from './context';
908
+ import type { HoldingKind } from '@/types';
909
+
910
+ const ctx = useOwnershipAtlas();
911
+
912
+ // The pill's options come straight from the shared label catalog.
913
+ const kindOptions = (
914
+ Object.entries(KIND_LABEL) as Array<[HoldingKind, string]>
915
+ ).map(([value, label]) => ({ value, label }));
916
+ </script>
917
+ ```
918
+
919
+ ### SelectionBar.vue
920
+
921
+ ```vue
922
+ <!-- OwnershipAtlas/SelectionBar.vue -->
923
+ <template>
924
+ <FloatingBottomPanel :open="selectedCount > 0">
925
+ <span class="px-2 text-sm text-[color:var(--bb-text-muted)]">
926
+ <span class="font-semibold tabular-nums">{{ selectedCount }}</span>
927
+ selected
928
+ </span>
929
+
930
+ <BbButton
931
+ prepend:icon="lucide:chevrons-down"
932
+ size="sm"
933
+ variant="ghost"
934
+ @click="ctx.expandSelected"
935
+ >
936
+ Expand
937
+ </BbButton>
938
+
939
+ <!-- Bulk transfer: a one-shot popover (model stays null) whose pick IS
940
+ the action. Targets exclude every selected owner — you cannot
941
+ transfer holdings onto an owner you are emptying. -->
942
+ <BbSelectPopover
943
+ item-text="name"
944
+ item-value="id"
945
+ :items="transferTargets"
946
+ :model-value="null"
947
+ :offset="10"
948
+ placement="top"
949
+ width="240px"
950
+ @update:model-value="onTransfer"
951
+ >
952
+ <template #activator="{ props }">
953
+ <BbButton
954
+ v-bind="props"
955
+ append:icon="lucide:chevron-up"
956
+ prepend:icon="lucide:arrow-right-left"
957
+ size="sm"
958
+ variant="ghost"
959
+ >
960
+ Transfer holdings
961
+ </BbButton>
962
+ </template>
963
+ </BbSelectPopover>
964
+
965
+ <div class="floating-bottom-panel__right flex items-center gap-1">
966
+ <BbButton
967
+ aria-label="Clear selection"
968
+ icon="lucide:x"
969
+ size="sm"
970
+ variant="ghost"
971
+ @click="ctx.table.resetSelection"
972
+ />
973
+ </div>
974
+ </FloatingBottomPanel>
975
+ </template>
976
+
977
+ <script setup lang="ts">
978
+ import { computed } from 'vue';
979
+ import { BbButton, BbSelectPopover } from 'bitboss-ui';
980
+ import FloatingBottomPanel from '@/components/layout/FloatingBottomPanel.vue';
981
+ import { useOwnershipAtlas } from './context';
982
+
983
+ const ctx = useOwnershipAtlas();
984
+
985
+ // `all` (select-all-across-pages) does not enumerate rows, so the visible
986
+ // count is the total minus whatever the user manually deselected.
987
+ const selectedCount = computed(() =>
988
+ ctx.table.all.value
989
+ ? ctx.table.totalItems.value - ctx.table.unselected.value.length
990
+ : ctx.table.selected.value.length
991
+ );
992
+
993
+ /** Don't offer transferring onto an owner who is already in the selection. */
994
+ const transferTargets = computed(() => {
995
+ const selected = new Set(
996
+ ctx.table.all.value
997
+ ? ctx.ownerOptions.value
998
+ .map((owner) => owner.id)
999
+ .filter((id) => !ctx.table.unselected.value.includes(id))
1000
+ : ctx.table.selected.value
1001
+ );
1002
+ return ctx.ownerOptions.value.filter((owner) => !selected.has(owner.id));
1003
+ });
1004
+
1005
+ const onTransfer = (value: unknown) => {
1006
+ if (typeof value !== 'string' || !value) return;
1007
+ void ctx.bulkTransfer(value);
1008
+ };
1009
+ </script>
1010
+ ```
1011
+
1012
+ ### OwnerPeek.vue
1013
+
1014
+ ```vue
1015
+ <!-- OwnershipAtlas/OwnerPeek.vue — sidebar workbench for the highlighted owner. -->
1016
+ <template>
1017
+ <div v-if="owner" class="flex flex-col gap-4 text-sm">
1018
+ <!-- Identity header. -->
1019
+ <header class="flex flex-col gap-1">
1020
+ <h2 class="text-base font-semibold tracking-tight">{{ owner.name }}</h2>
1021
+ <p class="text-xs text-[color:var(--bb-text-muted)]">{{ owner.email }}</p>
1022
+ <p class="text-xs text-[color:var(--bb-text-muted)]">
1023
+ {{ owner.title }} · {{ owner.team }} ·
1024
+ {{ REGION_LABEL[owner.region] }}
1025
+ </p>
1026
+ </header>
1027
+
1028
+ <!-- Properties. -->
1029
+ <dl class="grid grid-cols-[auto_1fr] gap-x-4 gap-y-1.5">
1030
+ <dt class="text-[color:var(--bb-text-muted)]">Holdings</dt>
1031
+ <dd class="text-right tabular-nums">{{ owner.holdingsCount }}</dd>
1032
+ <dt class="text-[color:var(--bb-text-muted)]">Monthly</dt>
1033
+ <dd class="text-right font-medium tabular-nums">
1034
+ {{ money(owner.monthlyTotal) }}
1035
+ </dd>
1036
+ <dt class="text-[color:var(--bb-text-muted)]">Joined</dt>
1037
+ <dd class="text-right">{{ longDate(owner.joinedAt) }}</dd>
1038
+ <dt class="text-[color:var(--bb-text-muted)]">Manager</dt>
1039
+ <dd class="text-right">{{ owner.manager ?? '—' }}</dd>
1040
+ </dl>
1041
+
1042
+ <section v-if="owner.notes" class="flex flex-col gap-1.5">
1043
+ <h3
1044
+ class="text-xs font-semibold uppercase tracking-wide text-[color:var(--bb-text-muted)]"
1045
+ >
1046
+ Notes
1047
+ </h3>
1048
+ <p>{{ owner.notes }}</p>
1049
+ </section>
1050
+
1051
+ <!-- Rollup by holding type. -->
1052
+ <section class="flex flex-col gap-1.5">
1053
+ <h3
1054
+ class="text-xs font-semibold uppercase tracking-wide text-[color:var(--bb-text-muted)]"
1055
+ >
1056
+ By type
1057
+ </h3>
1058
+ <ul class="flex flex-col gap-1.5">
1059
+ <li
1060
+ v-for="row in owner.kindBreakdown"
1061
+ :key="row.kind"
1062
+ class="grid grid-cols-[1fr_auto_auto] items-baseline gap-3"
1063
+ >
1064
+ <span class="min-w-0">{{ KIND_LABEL[row.kind] }}</span>
1065
+ <span
1066
+ class="text-xs tabular-nums text-[color:var(--bb-text-muted)]"
1067
+ >{{ row.count }}</span
1068
+ >
1069
+ <span
1070
+ class="text-xs tabular-nums text-[color:var(--bb-text-muted)]"
1071
+ >{{ money(row.monthlyCost) }}</span
1072
+ >
1073
+ </li>
1074
+ </ul>
1075
+ </section>
1076
+
1077
+ <!-- The holdings themselves — a real list, not a summary sentence. -->
1078
+ <section class="flex flex-col gap-1.5">
1079
+ <h3
1080
+ class="text-xs font-semibold uppercase tracking-wide text-[color:var(--bb-text-muted)]"
1081
+ >
1082
+ Holdings
1083
+ </h3>
1084
+ <ul class="flex flex-col gap-2">
1085
+ <li
1086
+ v-for="holding in owner.holdings"
1087
+ :key="holding.id"
1088
+ class="flex items-start justify-between gap-3"
1089
+ >
1090
+ <div class="flex min-w-0 flex-1 flex-col gap-0.5">
1091
+ <span class="font-medium">{{ holding.name }}</span>
1092
+ <span class="text-xs text-[color:var(--bb-text-muted)]"
1093
+ >{{ KIND_LABEL[holding.kind] }} · {{ holding.region }}</span
1094
+ >
1095
+ </div>
1096
+ <div class="flex flex-col items-end gap-1">
1097
+ <BbBadge size="sm" :variant="STATUS_VARIANT[holding.status]">
1098
+ {{ STATUS_LABEL[holding.status] }}
1099
+ </BbBadge>
1100
+ <span
1101
+ class="text-xs tabular-nums text-[color:var(--bb-text-muted)]"
1102
+ >{{ money(holding.monthlyCost) }}</span
1103
+ >
1104
+ </div>
1105
+ </li>
1106
+ </ul>
1107
+ </section>
1108
+
1109
+ <!-- Workbench footer: act from the peek back into the table. -->
1110
+ <footer class="mt-2 flex items-center gap-2 border-t pt-3">
1111
+ <BbButton
1112
+ prepend:icon="lucide:chevrons-down"
1113
+ size="sm"
1114
+ variant="secondary"
1115
+ @click="onExpandInTable"
1116
+ >
1117
+ Expand in table
1118
+ </BbButton>
1119
+ </footer>
1120
+ </div>
1121
+
1122
+ <div v-else class="flex justify-center p-8">
1123
+ <BbSpinner />
1124
+ </div>
1125
+ </template>
1126
+
1127
+ <script setup lang="ts">
1128
+ import { watch } from 'vue';
1129
+ import { BbBadge, BbButton, BbSpinner } from 'bitboss-ui';
1130
+ import { useResourceContext } from '@/composables/useResourceContext';
1131
+ import {
1132
+ KIND_LABEL,
1133
+ REGION_LABEL,
1134
+ STATUS_LABEL,
1135
+ STATUS_VARIANT,
1136
+ useOwnershipAtlas,
1137
+ } from './context';
1138
+ import type { OwnerDetail } from '@/types';
1139
+
1140
+ const props = defineProps<{ ownerId: string }>();
1141
+
1142
+ const ctx = useOwnershipAtlas();
1143
+
1144
+ // A small JSON endpoint, not a page visit — opening the peek never
1145
+ // re-renders the list underneath it. Re-fetches whenever the highlight moves
1146
+ // to a different owner; `refreshKey` makes bulk transfers reflect here
1147
+ // immediately.
1148
+ const { data: owner, refresh } = useResourceContext<OwnerDetail, string>(
1149
+ () => props.ownerId,
1150
+ ctx.fetchOwner
1151
+ );
1152
+ watch(() => ctx.refreshKey.value, refresh);
1153
+
1154
+ const money = (value: number) =>
1155
+ value === 0
1156
+ ? '—'
1157
+ : new Intl.NumberFormat('en-US', {
1158
+ style: 'currency',
1159
+ currency: 'USD',
1160
+ maximumFractionDigits: 0,
1161
+ }).format(value);
1162
+
1163
+ const longDate = (value: string) =>
1164
+ new Date(value).toLocaleDateString('en-US', {
1165
+ month: 'short',
1166
+ day: 'numeric',
1167
+ year: 'numeric',
1168
+ });
1169
+
1170
+ // The peek writes the same expansion array the table reads — one rung-3
1171
+ // state, three writers (toolbar, bulk bar, peek).
1172
+ const onExpandInTable = () => {
1173
+ if (!owner.value) return;
1174
+ if (!ctx.expanded.value.includes(owner.value.id)) {
1175
+ ctx.expanded.value = [...ctx.expanded.value, owner.value.id];
1176
+ }
1177
+ };
1178
+ </script>
1179
+ ```
1180
+
1181
+ ### The domain types (`@/types`)
1182
+
1183
+ ```ts
1184
+ export type HoldingKind =
1185
+ | 'workspace'
1186
+ | 'project'
1187
+ | 'domain'
1188
+ | 'database'
1189
+ | 'vault'
1190
+ | 'device'
1191
+ | 'seat-pool'
1192
+ | 'bucket';
1193
+
1194
+ export type HoldingStatus = 'active' | 'paused' | 'provisioning' | 'retired';
1195
+
1196
+ export type OwnerRegion = 'americas' | 'emea' | 'apac';
1197
+
1198
+ /** A resource an owner is responsible for — one nested-table row. */
1199
+ export interface Holding {
1200
+ id: string;
1201
+ name: string;
1202
+ kind: HoldingKind;
1203
+ status: HoldingStatus;
1204
+ /** `YYYY-MM-DD` — when ownership began. */
1205
+ since: string;
1206
+ monthlyCost: number;
1207
+ region: string;
1208
+ }
1209
+
1210
+ /** Parent row: a person with the holdings they own embedded. */
1211
+ export interface Owner {
1212
+ id: string;
1213
+ name: string;
1214
+ email: string;
1215
+ team: string;
1216
+ title: string;
1217
+ region: OwnerRegion;
1218
+ holdingsCount: number;
1219
+ monthlyTotal: number;
1220
+ holdings: Holding[];
1221
+ }
1222
+
1223
+ /** Transfer-picker option. */
1224
+ export type OwnerOption = { id: string; name: string; team: string };
1225
+
1226
+ /** Rich owner detail for the sidebar peek. */
1227
+ export interface OwnerDetail extends Owner {
1228
+ joinedAt: string;
1229
+ manager: string | null;
1230
+ notes: string;
1231
+ kindBreakdown: Array<{
1232
+ kind: HoldingKind;
1233
+ count: number;
1234
+ monthlyCost: number;
1235
+ }>;
1236
+ }
1237
+ ```
1238
+
1239
+ ## Why it is built this way
1240
+
1241
+ - **The nested table inherits the parent's tracks — never eyeballed
1242
+ widths.** `inherit-column-widths` is the whole alignment mechanism: the
1243
+ holdings table reads the owners table's measured tracks, so Resource sits
1244
+ under Owner and both $/mo columns share one right edge at every viewport
1245
+ width. Two hand-maintained `<colgroup>`s (or two tables that merely look
1246
+ similar) drift apart the first time a label changes; the inheritance
1247
+ cannot.
1248
+ - **Every child column snaps, and the base is 1.** The parent is
1249
+ `selectable`, so its select column occupies the region before the first
1250
+ data track — child snaps start at `1` (`0` would put Resource under the
1251
+ checkboxes). And no child column may be left width-free: the width-free
1252
+ column becomes the fill track and absorbs the parent's **actions** region,
1253
+ which visually parks right-aligned $/mo under the expand control. With
1254
+ all four columns snapped, the select and actions tracks fold into the
1255
+ child's first/last cells as padding, and the child starts flush with the
1256
+ parent's first data column — that structural inset, plus a hairline and a
1257
+ faint wash, is the entire hierarchy treatment. No extra padding inset:
1258
+ an inset would make the alignment lie.
1259
+ - **Cell-padding overrides use direct-child combinators.** `.table-flush`
1260
+ bleeds the owner table past the page padding and re-adds the inset on the
1261
+ outermost cells — but only via
1262
+ `:deep(> table > tbody > tr > td:first-child)`. A bare descendant
1263
+ selector would also hit the nested table's cells and clobber the offset
1264
+ padding it computes to stay on the parent grid. The expand cell itself is
1265
+ excluded from the inset and zero-padded, so the nested table gets the full
1266
+ row width to snap within.
1267
+ - **Expansion is rung-3 page state.** `expanded` lives in the context
1268
+ because four surfaces touch it: the per-row control, the toolbar's
1269
+ expand-all/collapse-all, the bulk bar's Expand, and the peek's "Expand in
1270
+ table". Binding it through `v-model:expanded-items` (tracked by
1271
+ `item-value`) means expansion survives the partial reloads that replace
1272
+ the row objects. It stays out of the URL deliberately — unfolded rows are
1273
+ working posture, not a shareable view.
1274
+ - **The actions column is the expand control.** This page's per-row action
1275
+ _is_ "show me the holdings", so the holdings count doubles as the toggle
1276
+ (`expandProps` wires `aria-expanded` and keyboard handling onto a real
1277
+ button). No `…` dropdown padding out the inventory.
1278
+ - **Row highlight is the peek, via one two-way computed.** `get` derives the
1279
+ highlighted id from the shell stack; `set` pushes or closes. Highlight and
1280
+ selection remain independent axes — you can peek one owner while twelve
1281
+ are selected for transfer.
1282
+ - **The context coopts, leaves consume.** `shell` and the keyed
1283
+ `useTableContext('owners')` are joined once in `provideOwnershipAtlas()`;
1284
+ five components share filters, selection, expansion, the peek and the
1285
+ transfer action through one `useOwnershipAtlas()` call. Leaves receive
1286
+ only the data they render (`owner`, `owner-id`).
1287
+ - **`owners` is a page prop, not a client fetch.** The server owns
1288
+ filtering, search, tab scoping and pagination; `useQueryObject` (filters)
1289
+ and `href` + `server: true` tabs are two doors into the same partial
1290
+ reload. The `kinds` filter reshapes the owners themselves server-side —
1291
+ the client never re-derives counts or totals. Each tab `href` is built by
1292
+ `tabHref()`, which merges `tab` into the current query rather than
1293
+ replacing it — `href: '/ownership?tab=all'` alone would drop the `search`
1294
+ and `kinds` filters, and because `preserve-state` keeps this page instance
1295
+ (and `ctx.filters`) alive across the visit, the chips would keep showing
1296
+ the old filters as active over an unfiltered result set.
1297
+ - **Bulk transfer carries the full select-all-across-pages payload**
1298
+ (`ids`/`all`/`unselected` + `toOwnerId`), and the target list excludes the
1299
+ current selection — the UI cannot express "transfer onto an owner being
1300
+ emptied". The action is complete: visit, refresh bump, selection reset,
1301
+ toast naming the target.
1302
+ - **Sizing:** the topbar search is `compact` (28px) per `md`-first; `sm`
1303
+ appears only in the toolbar, rail pills, peek footer and bottom bar, and
1304
+ the in-row expand control is `xs` — the densest surface on the page. This
1305
+ page creates nothing, so no `variant="primary"` appears anywhere, and its
1306
+ one mutation is not destructive, so there is no `useConfirm` — holdings
1307
+ move, they are not lost.
1308
+
1309
+ ## Variations
1310
+
1311
+ - **Per-holding actions**: give the nested table its own `actions` column
1312
+ (a `…` dropdown with "Transfer this holding") calling the same context
1313
+ action with a single id. Snap indices are unaffected — structural columns
1314
+ are accounted for automatically.
1315
+ - **Divergent child columns**: if the holdings table needs columns that
1316
+ should _not_ align (say, an audit-log expansion), drop
1317
+ `inherit-column-widths` and let it lay out independently — inheritance is
1318
+ for continuation, not for every nested table.
1319
+ - **Confirmed transfers**: if a transfer is heavyweight in your domain
1320
+ (billing moves with it), wrap `bulkTransfer` in `useConfirm` with the
1321
+ count and target in the message.
1322
+ - **Deep-linkable expansion**: mirror `expanded` into the URL alongside the
1323
+ filters if support wants to share "look at this owner's holdings" links.
1324
+ - **Keyboard triage**: add `keyboard-navigation` to the owners table —
1325
+ highlight already opens the peek, so arrows + Enter make the page
1326
+ reviewable hands-on-keyboard; the approvals-inbox recipe is the full
1327
+ treatment.