bitboss-ui 3.0.0-beta.47 → 3.0.0-beta.49

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 (398) hide show
  1. package/README.md +24 -7
  2. package/bin/bitboss-ui-mcp.mjs +15 -3
  3. package/bin/bitboss-ui.mjs +167 -14
  4. package/dist/ai/BbAccordion.md +1 -1
  5. package/dist/ai/BbAvatar.md +1 -1
  6. package/dist/ai/BbBreadcrumbs.md +65 -65
  7. package/dist/ai/BbButton.md +28 -8
  8. package/dist/ai/BbCheckbox.md +0 -2
  9. package/dist/ai/BbCheckboxGroup.md +13 -20
  10. package/dist/ai/BbCollapsible.md +1 -1
  11. package/dist/ai/BbColorPalette.md +1 -1
  12. package/dist/ai/BbConfirm.md +8 -0
  13. package/dist/ai/BbConfirmPortal.md +1 -1
  14. package/dist/ai/BbDatePickerInput.md +4 -2
  15. package/dist/ai/BbDialog.md +1 -8
  16. package/dist/ai/BbDropdown.md +231 -220
  17. package/dist/ai/BbDropdownButton.md +65 -65
  18. package/dist/ai/BbDropdownGroup.md +2 -2
  19. package/dist/ai/BbDropzone.md +10 -10
  20. package/dist/ai/BbForm.md +43 -52
  21. package/dist/ai/BbHoverCard.md +19 -7
  22. package/dist/ai/BbHoverCardPortal.md +1 -1
  23. package/dist/ai/BbNumberInput.md +88 -21
  24. package/dist/ai/BbPopover.md +47 -40
  25. package/dist/ai/BbPopoverPortal.md +1 -1
  26. package/dist/ai/BbProgress.md +48 -22
  27. package/dist/ai/BbRadioGroup.md +13 -19
  28. package/dist/ai/BbSelect.md +16 -36
  29. package/dist/ai/BbSelectPopover.md +14 -30
  30. package/dist/ai/BbSmoothHeight.md +0 -2
  31. package/dist/ai/BbSwitchGroup.md +13 -20
  32. package/dist/ai/BbTable.md +11 -10
  33. package/dist/ai/BbTabs.md +107 -106
  34. package/dist/ai/BbTabsList.md +2 -2
  35. package/dist/ai/BbTabsPanels.md +1 -1
  36. package/dist/ai/BbTabsRoot.md +3 -3
  37. package/dist/ai/BbTooltip.md +29 -13
  38. package/dist/ai/BbTree.md +14 -11
  39. package/dist/ai/CommonPopover.md +1 -1
  40. package/dist/ai/changelog.json +297 -6
  41. package/dist/ai/components.json +50 -45
  42. package/dist/ai/composables/useBbDropdownContext.md +16 -16
  43. package/dist/ai/composables/useBbFormField.md +5 -1
  44. package/dist/ai/composables/useBbTabsContext.md +14 -14
  45. package/dist/ai/guides/agent-contract.md +27 -27
  46. package/dist/ai/guides/ai-router.md +1 -1
  47. package/dist/ai/guides/component-picker.md +3 -3
  48. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  49. package/dist/ai/guides/icons-policy.md +10 -10
  50. package/dist/ai/guides/inertia-helpers.md +120 -67
  51. package/dist/ai/guides/installation-and-plugin-setup.md +45 -15
  52. package/dist/ai/guides/migration/components/bb-breadcrumbs.md +3 -2
  53. package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -16
  54. package/dist/ai/guides/migration/components/bb-dropdown-button.md +9 -8
  55. package/dist/ai/guides/migration/components/bb-dropdown.md +15 -14
  56. package/dist/ai/guides/migration/components/bb-radio-group.md +2 -1
  57. package/dist/ai/guides/migration/components/bb-select-popover.md +6 -1
  58. package/dist/ai/guides/migration/components/bb-select.md +10 -2
  59. package/dist/ai/guides/migration/components/bb-switch-group.md +2 -1
  60. package/dist/ai/guides/migration/components/bb-tabs.md +9 -8
  61. package/dist/ai/guides/migration/components/bb-tooltip.md +1 -1
  62. package/dist/ai/guides/migration/v2-to-v3.md +143 -28
  63. package/dist/ai/guides/migration/v3-beta-css-classes.md +29 -27
  64. package/dist/ai/guides/migration/v3-beta-tooling.md +11 -0
  65. package/dist/ai/guides/options-items-playbook.md +30 -24
  66. package/dist/ai/guides/passthrough.md +4 -4
  67. package/dist/ai/guides/preset-components.md +18 -3
  68. package/dist/ai/guides/typescript-generic-components.md +1 -1
  69. package/dist/ai/guides/validated-forms.md +11 -22
  70. package/dist/ai/guides/validation-providers.md +4 -3
  71. package/dist/ai/helpers/inertia/manifest.json +636 -0
  72. package/dist/ai/helpers/inertia/types.ts +15 -0
  73. package/dist/ai/helpers/inertia/useAsyncFn.ts +110 -0
  74. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +102 -0
  75. package/dist/ai/helpers/inertia/useDeleteCmd.ts +30 -0
  76. package/dist/ai/helpers/inertia/useHasChanged.ts +36 -0
  77. package/dist/ai/helpers/inertia/useIndexById.ts +23 -0
  78. package/dist/ai/helpers/inertia/useLazyProp.ts +148 -0
  79. package/dist/ai/helpers/inertia/useLazyPropGetter.ts +50 -0
  80. package/dist/ai/helpers/inertia/useLoading.ts +20 -0
  81. package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +88 -0
  82. package/dist/ai/helpers/inertia/usePromiseForm.ts +62 -0
  83. package/dist/ai/helpers/inertia/useProp.ts +63 -0
  84. package/dist/ai/helpers/inertia/useQuery.ts +19 -0
  85. package/dist/ai/helpers/inertia/useQueryObject.ts +116 -0
  86. package/dist/ai/helpers/inertia/useResourceContext.ts +69 -0
  87. package/dist/ai/helpers/inertia/useRouteQuery.ts +54 -0
  88. package/dist/ai/helpers/inertia/useScreenSizes.ts +23 -0
  89. package/dist/ai/helpers/inertia/useTableContext.ts +34 -0
  90. package/dist/ai/helpers/inertia/useTableSelectionContext.ts +48 -0
  91. package/dist/ai/helpers/inertia/useUntil.ts +33 -0
  92. package/dist/ai/helpers/inertia/utils.ts +24 -0
  93. package/dist/ai/index.md +6 -6
  94. package/dist/ai/manifest/components/BbAccordion.json +1 -1
  95. package/dist/ai/manifest/components/BbBreadcrumbs.json +10 -6
  96. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  97. package/dist/ai/manifest/components/BbButton.json +2 -1
  98. package/dist/ai/manifest/components/BbButton.tree.json +1 -1
  99. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  100. package/dist/ai/manifest/components/BbCollapsible.json +1 -1
  101. package/dist/ai/manifest/components/BbColorPalette.json +1 -1
  102. package/dist/ai/manifest/components/BbConfirmPortal.json +5 -2
  103. package/dist/ai/manifest/components/BbDropdown.json +23 -20
  104. package/dist/ai/manifest/components/BbDropdown.tree.json +2 -2
  105. package/dist/ai/manifest/components/BbDropdownButton.json +22 -19
  106. package/dist/ai/manifest/components/BbDropdownButton.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbDropdownGroup.json +2 -2
  108. package/dist/ai/manifest/components/BbForm.json +1 -0
  109. package/dist/ai/manifest/components/BbHoverCard.json +1 -1
  110. package/dist/ai/manifest/components/BbHoverCardPortal.json +2 -2
  111. package/dist/ai/manifest/components/BbNumberInput.json +6 -1
  112. package/dist/ai/manifest/components/BbNumberInput.tree.json +2 -1
  113. package/dist/ai/manifest/components/BbPopover.json +2 -1
  114. package/dist/ai/manifest/components/BbPopoverPortal.json +2 -2
  115. package/dist/ai/manifest/components/BbProgress.json +6 -6
  116. package/dist/ai/manifest/components/BbProgress.tree.json +1 -0
  117. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  118. package/dist/ai/manifest/components/BbSelect.json +2 -2
  119. package/dist/ai/manifest/components/BbSelect.tree.json +2 -2
  120. package/dist/ai/manifest/components/BbSelectPopover.json +2 -2
  121. package/dist/ai/manifest/components/BbSelectPopover.tree.json +1 -1
  122. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  123. package/dist/ai/manifest/components/BbTabs.json +8 -7
  124. package/dist/ai/manifest/components/BbTabsList.json +3 -3
  125. package/dist/ai/manifest/components/BbTabsPanels.json +1 -1
  126. package/dist/ai/manifest/components/BbTabsRoot.json +6 -5
  127. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  128. package/dist/ai/manifest/components/BbTooltip.json +2 -2
  129. package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
  130. package/dist/ai/manifest/components/CommonPopover.json +1 -1
  131. package/dist/ai/manifest/index.json +2 -2
  132. package/dist/ai/manifest/meta.json +5 -0
  133. package/dist/ai/manifest/types.advanced.json +10 -9
  134. package/dist/ai/manifest/types.api.json +8 -5
  135. package/dist/ai/manifest/types.wrapper.json +1 -0
  136. package/dist/ai/recipes/inertia/approvals-inbox.md +16 -18
  137. package/dist/ai/recipes/inertia/inline-edit-workspace.md +23 -33
  138. package/dist/ai/recipes/inertia/layout-scaffold.md +16 -16
  139. package/dist/ai/recipes/inertia/onboarding.md +6 -10
  140. package/dist/ai/recipes/inertia/ownership-atlas.md +15 -18
  141. package/dist/ai/recipes/inertia/record-form.md +11 -11
  142. package/dist/ai/recipes/inertia/records-workspace.md +38 -41
  143. package/dist/ai/recipes/inertia/settings-workspace.md +26 -38
  144. package/dist/ai/recipes/inertia/upload-center.md +31 -39
  145. package/dist/ai/recipes/inertia/wizard-form.md +10 -19
  146. package/dist/ai/recipes/nuxt/approvals-inbox.md +7 -8
  147. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +14 -24
  148. package/dist/ai/recipes/nuxt/layout-scaffold.md +16 -16
  149. package/dist/ai/recipes/nuxt/onboarding.md +2 -6
  150. package/dist/ai/recipes/nuxt/ownership-atlas.md +7 -9
  151. package/dist/ai/recipes/nuxt/record-form.md +5 -5
  152. package/dist/ai/recipes/nuxt/records-workspace.md +29 -31
  153. package/dist/ai/recipes/nuxt/settings-workspace.md +22 -34
  154. package/dist/ai/recipes/nuxt/upload-center.md +22 -29
  155. package/dist/ai/recipes/nuxt/wizard-form.md +3 -11
  156. package/dist/ai/recipes/vue/approvals-inbox.md +7 -8
  157. package/dist/ai/recipes/vue/inline-edit-workspace.md +14 -24
  158. package/dist/ai/recipes/vue/layout-scaffold.md +16 -16
  159. package/dist/ai/recipes/vue/onboarding.md +2 -6
  160. package/dist/ai/recipes/vue/ownership-atlas.md +7 -9
  161. package/dist/ai/recipes/vue/record-form.md +5 -5
  162. package/dist/ai/recipes/vue/records-workspace.md +29 -31
  163. package/dist/ai/recipes/vue/settings-workspace.md +22 -34
  164. package/dist/ai/recipes/vue/upload-center.md +22 -29
  165. package/dist/ai/recipes/vue/wizard-form.md +3 -11
  166. package/dist/ai/source/BbAccordion.md +1 -1
  167. package/dist/ai/source/BbAlert.md +3 -3
  168. package/dist/ai/source/BbBadge.md +14 -10
  169. package/dist/ai/source/BbBadgeButton.md +17 -12
  170. package/dist/ai/source/BbBaseButton.md +1 -1
  171. package/dist/ai/source/BbBaseRadioIcon.md +1 -0
  172. package/dist/ai/source/BbBaseSwitchIcon.md +1 -0
  173. package/dist/ai/source/BbBreadcrumbs.md +63 -42
  174. package/dist/ai/source/BbButton.md +84 -38
  175. package/dist/ai/source/BbCalendar.md +17 -16
  176. package/dist/ai/source/BbCheckbox.md +3 -2
  177. package/dist/ai/source/BbCheckboxGroup.md +11 -4
  178. package/dist/ai/source/BbCollapsible.md +2 -1
  179. package/dist/ai/source/BbColorInput.md +10 -9
  180. package/dist/ai/source/BbColorPalette.md +2 -1
  181. package/dist/ai/source/BbConfirm.md +18 -1
  182. package/dist/ai/source/BbConfirmPortal.md +20 -6
  183. package/dist/ai/source/BbDatePicker.md +2 -2
  184. package/dist/ai/source/BbDatePickerInput.md +47 -20
  185. package/dist/ai/source/BbDialog.md +5 -5
  186. package/dist/ai/source/BbDropdown.md +231 -158
  187. package/dist/ai/source/BbDropdownButton.md +19 -12
  188. package/dist/ai/source/BbDropdownGroup.md +127 -93
  189. package/dist/ai/source/BbForm.md +25 -1
  190. package/dist/ai/source/BbHoverCard.md +30 -3
  191. package/dist/ai/source/BbHoverCardPortal.md +18 -3
  192. package/dist/ai/source/BbIndicator.md +4 -0
  193. package/dist/ai/source/BbNumberInput.md +855 -19
  194. package/dist/ai/source/BbOffCanvas.md +27 -11
  195. package/dist/ai/source/BbPagination.md +3 -3
  196. package/dist/ai/source/BbPopover.md +185 -12
  197. package/dist/ai/source/BbPopoverPortal.md +30 -3
  198. package/dist/ai/source/BbProgress.md +82 -18
  199. package/dist/ai/source/BbRadioGroup.md +12 -5
  200. package/dist/ai/source/BbRating.md +11 -9
  201. package/dist/ai/source/BbSelect.md +16 -10
  202. package/dist/ai/source/BbSelectPopover.md +29 -23
  203. package/dist/ai/source/BbSlider.md +12 -6
  204. package/dist/ai/source/BbSwitch.md +3 -2
  205. package/dist/ai/source/BbSwitchGroup.md +5 -2
  206. package/dist/ai/source/BbTable.md +102 -18
  207. package/dist/ai/source/BbTabs.md +30 -24
  208. package/dist/ai/source/BbTabsList.md +29 -23
  209. package/dist/ai/source/BbTabsPanels.md +29 -23
  210. package/dist/ai/source/BbTabsRoot.md +28 -22
  211. package/dist/ai/source/BbTag.md +10 -9
  212. package/dist/ai/source/BbTextInput.md +5 -4
  213. package/dist/ai/source/BbTextarea.md +6 -5
  214. package/dist/ai/source/BbTimePicker.md +1 -1
  215. package/dist/ai/source/BbTimePickerInput.md +46 -9
  216. package/dist/ai/source/BbToast.md +10 -7
  217. package/dist/ai/source/BbToastPortal.md +10 -7
  218. package/dist/ai/source/BbTooltip.md +88 -11
  219. package/dist/ai/source/BbTree.md +21 -3
  220. package/dist/ai/source/CommonField.md +6 -4
  221. package/dist/ai/source/CommonFieldInput.md +15 -10
  222. package/dist/ai/source/CommonPopover.md +8 -1
  223. package/dist/ai/source/CommonTimeSelector.md +5 -4
  224. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +10 -8
  225. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +8 -8
  226. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +45 -45
  227. package/dist/components/BbBreadcrumbs/types.d.ts +25 -17
  228. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +88 -70
  229. package/dist/components/BbButton/toggleRoving.d.ts +6 -0
  230. package/dist/components/BbButton/toggleRoving.js +45 -0
  231. package/dist/components/BbButton/types.d.ts +12 -4
  232. package/dist/components/BbButton/types.js +5 -1
  233. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +178 -178
  234. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -15
  235. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +28 -28
  236. package/dist/components/BbCalendar/useCalendarGrid.js +141 -139
  237. package/dist/components/BbCalendar/useDayjsLocale.d.ts +38 -15
  238. package/dist/components/BbCalendar/useDayjsLocale.js +31 -30
  239. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +48 -48
  240. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +81 -80
  241. package/dist/components/BbCheckboxGroup/types.d.ts +6 -2
  242. package/dist/components/BbCollapsible/types.d.ts +2 -1
  243. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +69 -69
  244. package/dist/components/BbColorPalette/types.d.ts +2 -1
  245. package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +2 -5
  246. package/dist/components/BbConfirm/types.d.ts +15 -0
  247. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +363 -349
  248. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +91 -86
  249. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +298 -289
  250. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +322 -356
  251. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +17 -15
  252. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +40 -0
  253. package/dist/components/BbDropdown/DropdownRow.vue.js +5 -0
  254. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +60 -0
  255. package/dist/components/BbDropdown/normalizeGroups.d.ts +8 -2
  256. package/dist/components/BbDropdown/normalizeGroups.js +60 -46
  257. package/dist/components/BbDropdown/types.d.ts +120 -88
  258. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +11 -2
  259. package/dist/components/BbDropdownButton/types.d.ts +2 -2
  260. package/dist/components/BbForm/BbForm.vue.d.ts +9 -0
  261. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +114 -105
  262. package/dist/components/BbForm/BbFormCustomField.js +1 -1
  263. package/dist/components/BbForm/bindFormField.js +2 -1
  264. package/dist/components/BbForm/formFields.d.ts +5 -0
  265. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +145 -142
  266. package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +2 -2
  267. package/dist/components/BbHoverCard/types.d.ts +14 -1
  268. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +0 -1
  269. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +452 -125
  270. package/dist/components/BbNumberInput/numberDisplay.d.ts +256 -0
  271. package/dist/components/BbNumberInput/numberDisplay.js +499 -0
  272. package/dist/components/BbNumberInput/types.d.ts +54 -1
  273. package/dist/components/BbNumberInput/warroom/corpus.d.ts +58 -0
  274. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +28 -0
  275. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +2 -0
  276. package/dist/components/BbNumberInput/warroom/harness.d.ts +217 -0
  277. package/dist/components/BbNumberInput/warroom/oracle.d.ts +150 -0
  278. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +7 -7
  279. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -0
  280. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +207 -162
  281. package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +2 -2
  282. package/dist/components/BbPopover/types.d.ts +26 -1
  283. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +15 -7
  284. package/dist/components/BbProgress/types.d.ts +23 -7
  285. package/dist/components/BbProgress/types.js +1 -1
  286. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +102 -101
  287. package/dist/components/BbRadioGroup/types.d.ts +6 -2
  288. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +63 -63
  289. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +156 -154
  290. package/dist/components/BbSelect/types.d.ts +6 -2
  291. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +2 -1
  292. package/dist/components/BbSelectPopover/types.d.ts +6 -2
  293. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +153 -153
  294. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +62 -62
  295. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +131 -130
  296. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +711 -676
  297. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +1 -1
  298. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +1 -1
  299. package/dist/components/BbTabs/types.d.ts +28 -22
  300. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +76 -76
  301. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +58 -58
  302. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +82 -82
  303. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +246 -236
  304. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -86
  305. package/dist/components/BbTooltip/tooltipWarmup.d.ts +23 -0
  306. package/dist/components/BbTooltip/tooltipWarmup.js +7 -0
  307. package/dist/components/BbTooltip/types.d.ts +10 -3
  308. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +29 -21
  309. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +10 -7
  310. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +37 -36
  311. package/dist/components/CommonPopover/types.d.ts +2 -1
  312. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +9 -9
  313. package/dist/composables/formSubmitLock.d.ts +6 -0
  314. package/dist/composables/formSubmitLock.js +4 -0
  315. package/dist/composables/useBaseOptions.d.ts +7 -1
  316. package/dist/composables/useBaseOptions.js +32 -32
  317. package/dist/composables/useBbDropdownContext.d.ts +8 -8
  318. package/dist/composables/useBbFormField.d.ts +9 -0
  319. package/dist/composables/useBbFormField.js +5 -3
  320. package/dist/composables/useBbTabsContext.d.ts +10 -10
  321. package/dist/composables/useBbTabsContext.js +18 -18
  322. package/dist/composables/useFormBinding.d.ts +11 -0
  323. package/dist/composables/useFormBinding.js +15 -13
  324. package/dist/composables/useItemText.d.ts +5 -1
  325. package/dist/composables/useItemText.js +8 -3
  326. package/dist/composables/useItemValue.d.ts +5 -1
  327. package/dist/composables/useItemValue.js +8 -3
  328. package/dist/composables/useLocale.js +10 -9
  329. package/dist/deprecation/ai-deprecations.json.d.ts +130 -0
  330. package/dist/deprecation/ai-deprecations.json.js +1 -1
  331. package/dist/deprecation/removedProps.js +1 -1
  332. package/dist/directives/bbDropdown.js +1 -1
  333. package/dist/directives/directivePortal.d.ts +13 -7
  334. package/dist/directives/directivePortal.js +1 -4
  335. package/dist/i18n/index.d.ts +7 -12
  336. package/dist/i18n/locales/cs.json +11 -14
  337. package/dist/i18n/locales/da.json +13 -16
  338. package/dist/i18n/locales/de-CH.json +137 -0
  339. package/dist/i18n/locales/de.json +14 -17
  340. package/dist/i18n/locales/el.json +10 -13
  341. package/dist/i18n/locales/en-GB.json +137 -0
  342. package/dist/i18n/locales/en.json +8 -11
  343. package/dist/i18n/locales/es-MX.json +137 -0
  344. package/dist/i18n/locales/es.json +16 -19
  345. package/dist/i18n/locales/fi.json +8 -11
  346. package/dist/i18n/locales/fr.json +23 -26
  347. package/dist/i18n/locales/hu.json +8 -11
  348. package/dist/i18n/locales/it.json +12 -15
  349. package/dist/i18n/locales/ja.json +13 -16
  350. package/dist/i18n/locales/ko.json +10 -13
  351. package/dist/i18n/locales/nb.json +13 -16
  352. package/dist/i18n/locales/nl.json +21 -24
  353. package/dist/i18n/locales/pl.json +10 -13
  354. package/dist/i18n/locales/{pt.json → pt-BR.json} +19 -22
  355. package/dist/i18n/locales/pt-PT.json +137 -0
  356. package/dist/i18n/locales/ro.json +22 -25
  357. package/dist/i18n/locales/ru.json +11 -14
  358. package/dist/i18n/locales/sv.json +16 -19
  359. package/dist/i18n/locales/tr.json +14 -17
  360. package/dist/i18n/locales/uk.json +11 -14
  361. package/dist/i18n/locales/{zh-cn.json → zh-CN.json} +10 -13
  362. package/dist/i18n/locales/zh-HK.json +137 -0
  363. package/dist/i18n/locales/zh-TW.json +137 -0
  364. package/dist/i18n/regionHints.d.ts +16 -0
  365. package/dist/i18n/regionHints.js +49 -0
  366. package/dist/i18n/regions.d.ts +286 -0
  367. package/dist/i18n/regions.js +265 -0
  368. package/dist/index.d.ts +4 -4
  369. package/dist/index.js +4 -4
  370. package/dist/llms-full.txt +1914 -1714
  371. package/dist/llms-medium.txt +76 -46
  372. package/dist/llms.txt +7 -7
  373. package/dist/locale-blueprint.json +16 -13
  374. package/dist/styles.css +2 -2
  375. package/dist/types/passthrough.d.ts +1 -1
  376. package/dist/types/ptComponentMap.d.ts +2 -2
  377. package/dist/utilities/functions/slotKey.d.ts +2 -2
  378. package/dist/utils/versionCheck.js +1 -1
  379. package/dist/vite-plugin.d.ts +22 -19
  380. package/dist/vite.js +309 -297
  381. package/llms.txt +7 -7
  382. package/package.json +5 -3
  383. package/scripts/lib/agent-manifest.mjs +2 -1
  384. package/scripts/lib/eslint-disable.mjs +17 -4
  385. package/scripts/lib/eslint-plugin.d.ts +9 -1
  386. package/scripts/lib/eslint-plugin.mjs +256 -6
  387. package/scripts/lib/helper-canon.mjs +176 -0
  388. package/scripts/lib/helpers-add.mjs +1303 -0
  389. package/scripts/lib/local-components.mjs +33 -4
  390. package/scripts/lib/locale-check.mjs +165 -0
  391. package/scripts/lib/portal-names.mjs +458 -0
  392. package/scripts/lib/redundant-item-accessor.mjs +398 -0
  393. package/scripts/lib/renamed-item-field.mjs +343 -0
  394. package/scripts/lib/slot-key.mjs +2 -2
  395. package/scripts/lib/slot-renames.mjs +1 -1
  396. package/scripts/lib/unimported-components.mjs +5 -2
  397. package/scripts/lib/validate-bb-markup.mjs +123 -56
  398. package/dist/i18n/index.js +0 -27
@@ -8,10 +8,10 @@ import { useMobile as te } from "../../composables/useMobile.js";
8
8
  import s from "../CommonField/CommonField.vue.js";
9
9
  import { useFormBinding as ne } from "../../composables/useFormBinding.js";
10
10
  import re from "../CommonFieldInput/CommonFieldInput.vue.js";
11
- import { vSsrValue as ie } from "../../utilities/misc/ssrValue.js";
12
- import { useCharacterCounter as c } from "../../composables/useCharacterCounter.js";
13
- import { BB_TEXT_INPUT_PT as l } from "./types.js";
14
- import { computed as u, createBlock as ae, createElementVNode as d, createSlots as f, createVNode as p, defineComponent as m, guardReactiveProps as h, mergeProps as g, normalizeProps as _, onBeforeUnmount as v, onMounted as y, openBlock as oe, ref as b, renderSlot as x, unref as S, useAttrs as C, watch as w, withCtx as T, withDirectives as se } from "vue";
11
+ import { vSsrValue as c } from "../../utilities/misc/ssrValue.js";
12
+ import { useCharacterCounter as l } from "../../composables/useCharacterCounter.js";
13
+ import { BB_TEXT_INPUT_PT as u } from "./types.js";
14
+ import { computed as d, createBlock as ie, createElementVNode as ae, createSlots as f, createVNode as oe, defineComponent as p, guardReactiveProps as m, mergeProps as h, normalizeProps as g, onBeforeUnmount as se, onMounted as _, openBlock as v, ref as y, renderSlot as b, unref as x, useAttrs as S, watch as C, withCtx as w, withDirectives as T } from "vue";
15
15
  import { Mask as ce, MaskInput as le } from "maska";
16
16
  //#region src/components/BbTextInput/BbTextInput.vue?vue&type=script&setup=true&lang.ts
17
17
  var ue = [
@@ -31,7 +31,7 @@ var ue = [
31
31
  "required",
32
32
  "aria-required",
33
33
  "type"
34
- ], E = /*@__PURE__*/ m({
34
+ ], E = /*@__PURE__*/ p({
35
35
  inheritAttrs: !1,
36
36
  __name: "BbTextInput",
37
37
  props: {
@@ -209,30 +209,30 @@ var ue = [
209
209
  "paste",
210
210
  "update:modelValue"
211
211
  ],
212
- setup(m, { emit: E }) {
213
- let D = m, { props: O, emit: k, showAsterisk: A, errors: j, required: M, ariaRequired: N } = ne(D, E, {
212
+ setup(p, { emit: E }) {
213
+ let D = p, { props: O, emit: k, showAsterisk: A, errors: j, required: M, ariaRequired: N, readonly: P } = ne(D, E, {
214
214
  componentName: "BbTextInput",
215
215
  identifierFallback: () => D.label,
216
216
  leaveOn: "blur"
217
217
  });
218
218
  process.env.NODE_ENV !== "production" && ee("BbTextInput", o("BbTextInput"));
219
- let P = i(), F = () => (D.nullValue ?? P.formControls?.textInputNullValue) === "string" ? "" : null, I = (e, t) => (e || null) === (t || null), L = b(!1), R = u(() => O.persistentHint || L.value), { isMobile: z } = te(), B = u(() => e(O.modelValue)), V = u(() => !!O.clearable && B.value), H = u(() => O.labelMode ?? P.defaultInputLabelMode), U = C(), W = c({
219
+ let F = i(), I = () => (D.nullValue ?? F.formControls?.textInputNullValue) === "string" ? "" : null, L = (e, t) => (e || null) === (t || null), R = y(!1), z = d(() => O.persistentHint || R.value), { isMobile: B } = te(), V = d(() => e(O.modelValue)), H = d(() => !!O.clearable && V.value), de = d(() => O.labelMode ?? F.defaultInputLabelMode), U = S(), W = l({
220
220
  enabled: () => !!O.counter,
221
221
  value: () => O.modelValue,
222
222
  maxlength: () => U.maxlength ?? U.maxLength
223
223
  }), G = r({
224
224
  component: "BbTextInput",
225
- attrs: C(),
225
+ attrs: S(),
226
226
  controlAttrs: t,
227
227
  props: O,
228
- parts: l.parts,
229
- states: l.states,
228
+ parts: u.parts,
229
+ states: u.states,
230
230
  active: {
231
- ...n(O, () => B.value),
231
+ ...n(O, () => V.value),
232
232
  nearLimit: () => W.value?.state === "near",
233
233
  atLimit: () => W.value?.state === "limit"
234
234
  }
235
- }), K = b(null), q = b(null), de = u(() => a(O.mask ?? null)), J = () => !!O.mask, Y = () => {
235
+ }), K = y(null), q = y(null), fe = d(() => a(O.mask ?? null)), J = () => !!O.mask, Y = () => {
236
236
  q.value?.destroy(), q.value = null;
237
237
  }, X = (e) => {
238
238
  K.value && (K.value.value = e ?? "", J() && q.value?.updateValue(K.value));
@@ -244,104 +244,104 @@ var ue = [
244
244
  return;
245
245
  }
246
246
  Y(), q.value = new le(K.value, e), X(O.modelValue);
247
- }, Q = null, fe = (e) => {
247
+ }, Q = null, pe = (e) => {
248
248
  if (!J()) return;
249
- let t = e.detail.unmasked ? O.emitMasked ? e.detail.masked : e.detail.unmasked : F();
250
- I(t, O.modelValue) || (Q = { value: t }, k("update:modelValue", t));
251
- }, pe = () => {
249
+ let t = e.detail.unmasked ? O.emitMasked ? e.detail.masked : e.detail.unmasked : I();
250
+ L(t, O.modelValue) || (Q = { value: t }, k("update:modelValue", t));
251
+ }, me = () => {
252
252
  let e = O.modelValue ?? "";
253
253
  if (!e || !O.mask) return e;
254
254
  let { onMaska: t, preProcess: n, postProcess: r, ...i } = O.mask, a = new ce(i).masked(n ? n(e) : e);
255
255
  return r ? r(a) : a;
256
256
  };
257
- y(() => {
257
+ _(() => {
258
258
  Z();
259
- }), v(() => {
259
+ }), se(() => {
260
260
  Y();
261
- }), w(() => O.modelValue, (e) => {
261
+ }), C(() => O.modelValue, (e) => {
262
262
  let t = Q;
263
263
  Q = null, !(t && t.value === e) && X(e);
264
- }), w(() => de.value, () => {
264
+ }), C(() => fe.value, () => {
265
265
  Z();
266
- }), w(() => O.emitMasked, () => {
266
+ }), C(() => O.emitMasked, () => {
267
267
  !K.value || !J() || X(O.modelValue);
268
268
  });
269
269
  let $ = {
270
270
  onBlur: (e) => {
271
- L.value = !1, k("blur", e);
271
+ R.value = !1, k("blur", e);
272
272
  },
273
273
  onChange: (e) => k("change", e),
274
274
  onClick: (e) => k("click", e),
275
275
  onCompositionend: (e) => k("compositionend", e),
276
276
  onCompositionstart: (e) => k("compositionstart", e),
277
277
  onFocus: (e) => {
278
- L.value = !0, k("focus", e);
278
+ R.value = !0, k("focus", e);
279
279
  },
280
280
  onKeydown: (e) => k("keydown", e),
281
281
  onKeyup: (e) => k("keyup", e),
282
282
  onInput: (e) => {
283
283
  if (e.stopPropagation(), !J() && e.target instanceof HTMLInputElement) {
284
284
  let t = e.target.value;
285
- k("update:modelValue", t === "" ? F() : t);
285
+ k("update:modelValue", t === "" ? I() : t);
286
286
  }
287
287
  k("input", e);
288
288
  },
289
289
  onMousedown: (e) => k("mousedown", e),
290
290
  onMouseup: (e) => k("mouseup", e),
291
291
  onPaste: (e) => k("paste", e)
292
- }, me = u(() => G.input ? g($, G.input) : $);
293
- return (e, t) => (oe(), ae(s, g({
292
+ }, he = d(() => G.input ? h($, G.input) : $);
293
+ return (e, t) => (v(), ie(s, h({
294
294
  id: e.id,
295
295
  class: "bb-text-input",
296
- clearable: V.value,
296
+ clearable: H.value,
297
297
  compact: e.compact,
298
- counter: S(W),
298
+ counter: x(W),
299
299
  description: e.description,
300
300
  disabled: e.disabled,
301
- errors: S(j),
301
+ errors: x(j),
302
302
  "has-errors": e.hasErrors,
303
- "has-value": B.value,
303
+ "has-value": V.value,
304
304
  "has-warnings": e.hasWarnings,
305
305
  "hide-label": e.hideLabel,
306
306
  hint: e.hint,
307
307
  "input-align": e.inputAlign,
308
308
  label: e.label,
309
309
  "label-align": e.labelAlign,
310
- "label-mode": H.value,
310
+ "label-mode": de.value,
311
311
  "label-position": e.labelPosition,
312
312
  layout: e.layout,
313
313
  loading: e.loading,
314
- mobile: S(z),
314
+ mobile: x(B),
315
315
  name: e.name,
316
- passthrough: S(G),
317
- readonly: e.readonly,
316
+ passthrough: x(G),
317
+ readonly: x(P),
318
318
  reverse: e.reverse,
319
- "show-asterisk": S(A),
320
- "show-hint": R.value,
319
+ "show-asterisk": x(A),
320
+ "show-hint": z.value,
321
321
  warnings: e.warnings
322
- }, S(G).forwardAttrs), f({
323
- label: T((t) => [x(e.$slots, "label", _(h(t)))]),
324
- input: T(({ id: n, hasErrors: r, hasWarnings: i, ariaDescribedby: a, ariaLabelledby: o }) => [p(re, {
322
+ }, x(G).forwardAttrs), f({
323
+ label: w((t) => [b(e.$slots, "label", g(m(t)))]),
324
+ input: w(({ id: n, hasErrors: r, hasWarnings: i, ariaDescribedby: a, ariaLabelledby: o }) => [oe(re, {
325
325
  "append:icon": D["append:icon"],
326
326
  clearable: e.clearable,
327
327
  compact: e.compact,
328
328
  disabled: e.disabled,
329
329
  "has-errors": r,
330
- "has-value": B.value,
330
+ "has-value": V.value,
331
331
  "has-warnings": i,
332
332
  loading: e.loading,
333
- passthrough: S(G),
333
+ passthrough: x(G),
334
334
  "prepend:icon": D["prepend:icon"],
335
- readonly: e.readonly,
335
+ readonly: x(P),
336
336
  "reserve-append-space": e.clearable,
337
337
  variant: e.variant,
338
- "onClick:clear": t[0] ||= (e) => S(k)("update:modelValue", F())
338
+ "onClick:clear": t[0] ||= (e) => x(k)("update:modelValue", I())
339
339
  }, f({
340
- "prepend:outer": T(() => [x(e.$slots, "prepend:outer")]),
341
- prepend: T(() => [x(e.$slots, "prepend")]),
342
- append: T(() => [x(e.$slots, "append")]),
343
- "append:outer": T(() => [x(e.$slots, "append:outer")]),
344
- default: T(() => [se(d("input", g({
340
+ "prepend:outer": w(() => [b(e.$slots, "prepend:outer")]),
341
+ prepend: w(() => [b(e.$slots, "prepend")]),
342
+ append: w(() => [b(e.$slots, "append")]),
343
+ "append:outer": w(() => [b(e.$slots, "append:outer")]),
344
+ default: w(() => [T(ae("input", h({
345
345
  id: n,
346
346
  ref_key: "input",
347
347
  ref: K,
@@ -349,7 +349,7 @@ var ue = [
349
349
  "aria-disabled": e.disabled || void 0,
350
350
  "aria-invalid": r || void 0,
351
351
  "aria-labelledby": o,
352
- "aria-readonly": e.readonly || void 0,
352
+ "aria-readonly": x(P) || void 0,
353
353
  autocomplete: e.autocomplete,
354
354
  autofocus: e.autofocus,
355
355
  class: "bb-text-input__input",
@@ -357,21 +357,21 @@ var ue = [
357
357
  inputmode: e.inputMode,
358
358
  name: e.name,
359
359
  placeholder: e.placeholder,
360
- readonly: e.readonly,
361
- required: S(M),
362
- "aria-required": S(N),
360
+ readonly: x(P),
361
+ required: x(M),
362
+ "aria-required": x(N),
363
363
  size: "1",
364
364
  type: e.type,
365
- onMaska: fe
366
- }, g(S(G).controlAttrs, me.value)), null, 16, ue), [[S(ie), pe]])]),
365
+ onMaska: pe
366
+ }, h(x(G).controlAttrs, he.value)), null, 16, ue), [[x(c), me]])]),
367
367
  _: 2
368
368
  }, [e.$slots.prefix ? {
369
369
  name: "prefix",
370
- fn: T(() => [x(e.$slots, "prefix")]),
370
+ fn: w(() => [b(e.$slots, "prefix")]),
371
371
  key: "0"
372
372
  } : void 0, e.$slots.suffix ? {
373
373
  name: "suffix",
374
- fn: T(() => [x(e.$slots, "suffix")]),
374
+ fn: w(() => [b(e.$slots, "suffix")]),
375
375
  key: "1"
376
376
  } : void 0]), 1032, [
377
377
  "append:icon",
@@ -391,7 +391,7 @@ var ue = [
391
391
  _: 2
392
392
  }, [e.$slots.description ? {
393
393
  name: "description",
394
- fn: T((t) => [x(e.$slots, "description", _(h(t)))]),
394
+ fn: w((t) => [b(e.$slots, "description", g(m(t)))]),
395
395
  key: "0"
396
396
  } : void 0]), 1040, /* @__PURE__ */ "id.clearable.compact.counter.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.label.label-align.label-mode.label-position.layout.loading.mobile.name.passthrough.readonly.reverse.show-asterisk.show-hint.warnings".split(".")));
397
397
  }
@@ -5,14 +5,14 @@ import { removedPropsFor as a } from "../../deprecation/removedProps.js";
5
5
  import { warnRemovedAttrs as o } from "../../utilities/functions/warnRemovedAttrs.js";
6
6
  import s from "../BbSmoothHeight/BbSmoothHeight.vue.js";
7
7
  import c from "../CommonField/CommonField.vue.js";
8
- import { useFormBinding as ee } from "../../composables/useFormBinding.js";
9
- import l from "../CommonFieldInput/CommonFieldInput.vue.js";
10
- import { useCharacterCounter as te } from "../../composables/useCharacterCounter.js";
11
- import { BB_TEXTAREA_PT as u } from "./types.js";
12
- import { computed as d, createBlock as f, createElementVNode as p, createSlots as m, createVNode as h, defineComponent as g, guardReactiveProps as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, onMounted as S, openBlock as C, ref as w, renderSlot as T, unref as E, useAttrs as D, watch as O, withCtx as k } from "vue";
13
- import { useResizeObserver as A } from "@vueuse/core";
8
+ import { useFormBinding as l } from "../../composables/useFormBinding.js";
9
+ import u from "../CommonFieldInput/CommonFieldInput.vue.js";
10
+ import { useCharacterCounter as ee } from "../../composables/useCharacterCounter.js";
11
+ import { BB_TEXTAREA_PT as d } from "./types.js";
12
+ import { computed as f, createBlock as p, createElementVNode as m, createSlots as h, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeProps as y, nextTick as b, normalizeClass as x, normalizeProps as S, onMounted as C, openBlock as w, ref as T, renderSlot as E, unref as D, useAttrs as O, watch as k, withCtx as A } from "vue";
13
+ import { useResizeObserver as j } from "@vueuse/core";
14
14
  //#region src/components/BbTextarea/BbTextarea.vue?vue&type=script&setup=true&lang.ts
15
- var j = [
15
+ var M = [
16
16
  "id",
17
17
  "aria-describedby",
18
18
  "aria-disabled",
@@ -29,7 +29,7 @@ var j = [
29
29
  "aria-required",
30
30
  "rows",
31
31
  "value"
32
- ], M = /*@__PURE__*/ g({
32
+ ], N = /*@__PURE__*/ _({
33
33
  inheritAttrs: !1,
34
34
  __name: "BbTextarea",
35
35
  props: {
@@ -205,46 +205,46 @@ var j = [
205
205
  "compositionend",
206
206
  "update:modelValue"
207
207
  ],
208
- setup(g, { emit: M }) {
209
- let N = g, { props: P, emit: F, showAsterisk: ne, errors: I, required: L, ariaRequired: R } = ee(N, M, {
208
+ setup(_, { emit: N }) {
209
+ let P = _, { props: F, emit: I, showAsterisk: te, errors: ne, required: re, ariaRequired: L, readonly: R } = l(P, N, {
210
210
  componentName: "BbTextarea",
211
- identifierFallback: () => N.label,
211
+ identifierFallback: () => P.label,
212
212
  leaveOn: "blur"
213
213
  });
214
214
  process.env.NODE_ENV !== "production" && o("BbTextarea", a("BbTextarea"));
215
- let z = i(), B = () => (N.nullValue ?? z.formControls?.textareaNullValue) === "string" ? "" : null, V = w(!1), H = d(() => P.persistentHint || V.value), U = d(() => e(P.modelValue)), W = d(() => !!P.clearable && U.value), G = d(() => P.labelMode ?? z.defaultInputLabelMode), K = D(), q = te({
216
- enabled: () => !!P.counter,
217
- value: () => P.modelValue,
215
+ let z = i(), B = () => (P.nullValue ?? z.formControls?.textareaNullValue) === "string" ? "" : null, V = T(!1), H = f(() => F.persistentHint || V.value), U = f(() => e(F.modelValue)), W = f(() => !!F.clearable && U.value), G = f(() => F.labelMode ?? z.defaultInputLabelMode), K = O(), q = ee({
216
+ enabled: () => !!F.counter,
217
+ value: () => F.modelValue,
218
218
  maxlength: () => K.maxlength ?? K.maxLength
219
219
  }), J = r({
220
220
  component: "BbTextarea",
221
- attrs: D(),
221
+ attrs: O(),
222
222
  controlAttrs: t,
223
- props: P,
224
- parts: u.parts,
225
- states: u.states,
223
+ props: F,
224
+ parts: d.parts,
225
+ states: d.states,
226
226
  active: {
227
- ...n(P, () => U.value),
227
+ ...n(F, () => U.value),
228
228
  nearLimit: () => q.value?.state === "near",
229
229
  atLimit: () => q.value?.state === "limit"
230
230
  }
231
- }), Y = w(null), X = d(() => P.modelValue ?? ""), re = d(() => {
232
- if (!P.autoGrow) return P.rows;
231
+ }), Y = T(null), X = f(() => F.modelValue ?? ""), ie = f(() => {
232
+ if (!F.autoGrow) return F.rows;
233
233
  let e = String(X.value).split("\n").length;
234
- return Math.max(Number(P.rows ?? 1), e);
234
+ return Math.max(Number(F.rows ?? 1), e);
235
235
  });
236
- S(() => {
237
- P.autoGrow && $();
238
- }), O(() => P.modelValue, () => {
239
- P.autoGrow && y($);
240
- }), O(() => P.autoGrow, (e) => {
236
+ C(() => {
237
+ F.autoGrow && $();
238
+ }), k(() => F.modelValue, () => {
239
+ F.autoGrow && b($);
240
+ }), k(() => F.autoGrow, (e) => {
241
241
  if (e) {
242
- y($);
242
+ b($);
243
243
  return;
244
244
  }
245
- se();
246
- }), A(Y, () => {
247
- if (P.autoGrow) {
245
+ ce();
246
+ }), j(Y, () => {
247
+ if (F.autoGrow) {
248
248
  if (Q && Y.value) {
249
249
  let e = Y.value.getBoundingClientRect();
250
250
  if (Math.abs(e.width - Q.width) < .5 && Math.abs(e.height - Q.height) < .5) return;
@@ -252,52 +252,52 @@ var j = [
252
252
  $();
253
253
  }
254
254
  });
255
- function ie(e) {
255
+ function ae(e) {
256
256
  if (e.target instanceof HTMLTextAreaElement) {
257
257
  let t = e.target.value, n = t === "" ? B() : t;
258
- F("input", e), F("update:modelValue", n), P.autoGrow && $();
258
+ I("input", e), I("update:modelValue", n), F.autoGrow && $();
259
259
  }
260
260
  }
261
- function ae(e) {
262
- e.key === "Enter" && !e.ctrlKey && !e.metaKey && !e.altKey && !e.shiftKey && e.stopPropagation(), e.target instanceof HTMLTextAreaElement && F("keydown", e);
261
+ function oe(e) {
262
+ e.key === "Enter" && !e.ctrlKey && !e.metaKey && !e.altKey && !e.shiftKey && e.stopPropagation(), e.target instanceof HTMLTextAreaElement && I("keydown", e);
263
263
  }
264
264
  let Z = {
265
265
  onBlur: (e) => {
266
- V.value = !1, F("blur", e);
266
+ V.value = !1, I("blur", e);
267
267
  },
268
- onChange: (e) => F("change", e),
269
- onClick: (e) => F("click", e),
268
+ onChange: (e) => I("change", e),
269
+ onClick: (e) => I("click", e),
270
270
  onFocus: (e) => {
271
- V.value = !0, F("focus", e);
271
+ V.value = !0, I("focus", e);
272
272
  },
273
- onKeyup: (e) => F("keyup", e),
274
- onMousedown: (e) => F("mousedown", e),
275
- onMouseup: (e) => F("mouseup", e),
276
- onPaste: (e) => F("paste", e),
277
- onCompositionstart: (e) => F("compositionstart", e),
278
- onCompositionend: (e) => F("compositionend", e)
279
- }, oe = d(() => J.input ? v(Z, J.input) : Z), Q = null;
273
+ onKeyup: (e) => I("keyup", e),
274
+ onMousedown: (e) => I("mousedown", e),
275
+ onMouseup: (e) => I("mouseup", e),
276
+ onPaste: (e) => I("paste", e),
277
+ onCompositionstart: (e) => I("compositionstart", e),
278
+ onCompositionend: (e) => I("compositionend", e)
279
+ }, se = f(() => J.input ? y(Z, J.input) : Z), Q = null;
280
280
  function $() {
281
281
  if (!Y.value) return;
282
- Y.value.style.height = P.rows ? "auto" : "0px", Y.value.style.height = `${Y.value.scrollHeight}px`;
282
+ Y.value.style.height = F.rows ? "auto" : "0px", Y.value.style.height = `${Y.value.scrollHeight}px`;
283
283
  let e = Y.value.getBoundingClientRect();
284
284
  Q = {
285
285
  width: e.width,
286
286
  height: e.height
287
287
  };
288
288
  }
289
- function se() {
289
+ function ce() {
290
290
  Y.value && (Y.value.style.removeProperty("height"), Q = null);
291
291
  }
292
- return (e, t) => (C(), f(c, v({
292
+ return (e, t) => (w(), p(c, y({
293
293
  id: e.id,
294
294
  class: "bb-textarea",
295
295
  clearable: W.value,
296
296
  compact: e.compact,
297
- counter: E(q),
297
+ counter: D(q),
298
298
  description: e.description,
299
299
  disabled: e.disabled,
300
- errors: E(I),
300
+ errors: D(ne),
301
301
  "has-errors": e.hasErrors,
302
302
  "has-value": U.value,
303
303
  "has-warnings": e.hasWarnings,
@@ -311,17 +311,17 @@ var j = [
311
311
  layout: e.layout,
312
312
  loading: e.loading,
313
313
  name: e.name,
314
- passthrough: E(J),
315
- readonly: e.readonly,
314
+ passthrough: D(J),
315
+ readonly: D(R),
316
316
  reverse: e.reverse,
317
- "show-asterisk": E(ne),
317
+ "show-asterisk": D(te),
318
318
  "show-hint": H.value,
319
319
  warnings: e.warnings
320
- }, E(J).forwardAttrs), m({
321
- label: k((t) => [T(e.$slots, "label", x(_(t)))]),
322
- input: k(({ id: n, hasErrors: r, hasWarnings: i, ariaDescribedby: a, ariaLabelledby: o }) => [h(l, {
323
- "append:icon": N["append:icon"],
324
- class: b(["bb-textarea__field", { "bb-textarea__field--auto-grow": e.autoGrow }]),
320
+ }, D(J).forwardAttrs), h({
321
+ label: A((t) => [E(e.$slots, "label", S(v(t)))]),
322
+ input: A(({ id: n, hasErrors: r, hasWarnings: i, ariaDescribedby: a, ariaLabelledby: o }) => [g(u, {
323
+ "append:icon": P["append:icon"],
324
+ class: x(["bb-textarea__field", { "bb-textarea__field--auto-grow": e.autoGrow }]),
325
325
  clearable: e.clearable,
326
326
  compact: e.compact,
327
327
  disabled: e.disabled,
@@ -329,22 +329,22 @@ var j = [
329
329
  "has-value": U.value,
330
330
  "has-warnings": i,
331
331
  loading: e.loading,
332
- passthrough: E(J),
333
- "prepend:icon": N["prepend:icon"],
334
- readonly: e.readonly,
332
+ passthrough: D(J),
333
+ "prepend:icon": P["prepend:icon"],
334
+ readonly: D(R),
335
335
  "reserve-append-space": e.clearable,
336
336
  variant: e.variant,
337
- "onClick:clear": t[0] ||= (e) => E(F)("update:modelValue", B())
338
- }, m({
339
- "prepend:outer": k(() => [T(e.$slots, "prepend:outer")]),
340
- prepend: k(() => [T(e.$slots, "prepend")]),
341
- append: k(() => [T(e.$slots, "append")]),
342
- "append:outer": k(() => [T(e.$slots, "append:outer")]),
343
- default: k(() => [h(s, {
337
+ "onClick:clear": t[0] ||= (e) => D(I)("update:modelValue", B())
338
+ }, h({
339
+ "prepend:outer": A(() => [E(e.$slots, "prepend:outer")]),
340
+ prepend: A(() => [E(e.$slots, "prepend")]),
341
+ append: A(() => [E(e.$slots, "append")]),
342
+ "append:outer": A(() => [E(e.$slots, "append:outer")]),
343
+ default: A(() => [g(s, {
344
344
  disabled: !e.autoGrow,
345
345
  tag: "span"
346
346
  }, {
347
- default: k(() => [p("textarea", v({
347
+ default: A(() => [m("textarea", y({
348
348
  id: n,
349
349
  ref_key: "textarea",
350
350
  ref: Y,
@@ -352,31 +352,31 @@ var j = [
352
352
  "aria-disabled": e.disabled || void 0,
353
353
  "aria-invalid": r || void 0,
354
354
  "aria-labelledby": o,
355
- "aria-readonly": e.readonly || void 0,
355
+ "aria-readonly": D(R) || void 0,
356
356
  autocomplete: e.autocomplete,
357
357
  autofocus: e.autofocus,
358
358
  class: "bb-textarea__input scrollbar-border",
359
359
  disabled: e.disabled,
360
360
  name: e.name,
361
361
  placeholder: e.placeholder,
362
- readonly: e.readonly,
363
- required: E(L),
364
- "aria-required": E(R),
365
- rows: re.value,
362
+ readonly: D(R),
363
+ required: D(re),
364
+ "aria-required": D(L),
365
+ rows: ie.value,
366
366
  value: X.value,
367
- onInput: ie,
368
- onKeydown: ae
369
- }, v(E(J).controlAttrs, oe.value)), null, 16, j)]),
367
+ onInput: ae,
368
+ onKeydown: oe
369
+ }, y(D(J).controlAttrs, se.value)), null, 16, M)]),
370
370
  _: 2
371
371
  }, 1032, ["disabled"])]),
372
372
  _: 2
373
373
  }, [e.$slots.prefix ? {
374
374
  name: "prefix",
375
- fn: k(() => [T(e.$slots, "prefix")]),
375
+ fn: A(() => [E(e.$slots, "prefix")]),
376
376
  key: "0"
377
377
  } : void 0, e.$slots.suffix ? {
378
378
  name: "suffix",
379
- fn: k(() => [T(e.$slots, "suffix")]),
379
+ fn: A(() => [E(e.$slots, "suffix")]),
380
380
  key: "1"
381
381
  } : void 0]), 1032, [
382
382
  "append:icon",
@@ -397,10 +397,10 @@ var j = [
397
397
  _: 2
398
398
  }, [e.$slots.description ? {
399
399
  name: "description",
400
- fn: k((t) => [T(e.$slots, "description", x(_(t)))]),
400
+ fn: A((t) => [E(e.$slots, "description", S(v(t)))]),
401
401
  key: "0"
402
402
  } : void 0]), 1040, /* @__PURE__ */ "id.clearable.compact.counter.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.label.label-align.label-mode.label-position.layout.loading.name.passthrough.readonly.reverse.show-asterisk.show-hint.warnings".split(".")));
403
403
  }
404
404
  });
405
405
  //#endregion
406
- export { M as default };
406
+ export { N as default };