bitboss-ui 3.0.0-beta.48 → 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 (356) hide show
  1. package/README.md +24 -7
  2. package/bin/bitboss-ui-mcp.mjs +15 -3
  3. package/bin/bitboss-ui.mjs +115 -13
  4. package/dist/ai/BbAvatar.md +1 -1
  5. package/dist/ai/BbBreadcrumbs.md +65 -65
  6. package/dist/ai/BbButton.md +16 -5
  7. package/dist/ai/BbCheckbox.md +0 -2
  8. package/dist/ai/BbCheckboxGroup.md +13 -20
  9. package/dist/ai/BbDatePickerInput.md +4 -2
  10. package/dist/ai/BbDialog.md +1 -8
  11. package/dist/ai/BbDropdown.md +231 -220
  12. package/dist/ai/BbDropdownButton.md +65 -65
  13. package/dist/ai/BbDropdownGroup.md +2 -2
  14. package/dist/ai/BbDropzone.md +10 -10
  15. package/dist/ai/BbForm.md +43 -52
  16. package/dist/ai/BbHoverCard.md +4 -2
  17. package/dist/ai/BbNumberInput.md +88 -21
  18. package/dist/ai/BbPopover.md +29 -23
  19. package/dist/ai/BbProgress.md +48 -22
  20. package/dist/ai/BbRadioGroup.md +13 -19
  21. package/dist/ai/BbSelect.md +16 -36
  22. package/dist/ai/BbSelectPopover.md +14 -30
  23. package/dist/ai/BbSmoothHeight.md +0 -2
  24. package/dist/ai/BbSwitchGroup.md +13 -20
  25. package/dist/ai/BbTable.md +11 -10
  26. package/dist/ai/BbTabs.md +106 -105
  27. package/dist/ai/BbTabsList.md +2 -2
  28. package/dist/ai/BbTabsPanels.md +1 -1
  29. package/dist/ai/BbTabsRoot.md +2 -2
  30. package/dist/ai/BbTooltip.md +24 -10
  31. package/dist/ai/BbTree.md +14 -11
  32. package/dist/ai/changelog.json +256 -5
  33. package/dist/ai/components.json +36 -34
  34. package/dist/ai/composables/useBbDropdownContext.md +16 -16
  35. package/dist/ai/composables/useBbFormField.md +5 -1
  36. package/dist/ai/composables/useBbTabsContext.md +14 -14
  37. package/dist/ai/guides/agent-contract.md +27 -27
  38. package/dist/ai/guides/ai-router.md +1 -1
  39. package/dist/ai/guides/component-picker.md +3 -3
  40. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  41. package/dist/ai/guides/icons-policy.md +10 -10
  42. package/dist/ai/guides/inertia-helpers.md +120 -67
  43. package/dist/ai/guides/installation-and-plugin-setup.md +43 -15
  44. package/dist/ai/guides/migration/components/bb-breadcrumbs.md +3 -2
  45. package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -16
  46. package/dist/ai/guides/migration/components/bb-dropdown-button.md +9 -8
  47. package/dist/ai/guides/migration/components/bb-dropdown.md +15 -14
  48. package/dist/ai/guides/migration/components/bb-radio-group.md +2 -1
  49. package/dist/ai/guides/migration/components/bb-select-popover.md +6 -1
  50. package/dist/ai/guides/migration/components/bb-select.md +10 -2
  51. package/dist/ai/guides/migration/components/bb-switch-group.md +2 -1
  52. package/dist/ai/guides/migration/components/bb-tabs.md +9 -8
  53. package/dist/ai/guides/migration/components/bb-tooltip.md +1 -1
  54. package/dist/ai/guides/migration/v2-to-v3.md +114 -17
  55. package/dist/ai/guides/migration/v3-beta-tooling.md +11 -0
  56. package/dist/ai/guides/options-items-playbook.md +30 -24
  57. package/dist/ai/guides/passthrough.md +2 -2
  58. package/dist/ai/guides/preset-components.md +18 -3
  59. package/dist/ai/guides/typescript-generic-components.md +1 -1
  60. package/dist/ai/guides/validated-forms.md +11 -22
  61. package/dist/ai/guides/validation-providers.md +4 -3
  62. package/dist/ai/helpers/inertia/manifest.json +636 -0
  63. package/dist/ai/helpers/inertia/types.ts +15 -0
  64. package/dist/ai/helpers/inertia/useAsyncFn.ts +110 -0
  65. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +102 -0
  66. package/dist/ai/helpers/inertia/useDeleteCmd.ts +30 -0
  67. package/dist/ai/helpers/inertia/useHasChanged.ts +36 -0
  68. package/dist/ai/helpers/inertia/useIndexById.ts +23 -0
  69. package/dist/ai/helpers/inertia/useLazyProp.ts +148 -0
  70. package/dist/ai/helpers/inertia/useLazyPropGetter.ts +50 -0
  71. package/dist/ai/helpers/inertia/useLoading.ts +20 -0
  72. package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +88 -0
  73. package/dist/ai/helpers/inertia/usePromiseForm.ts +62 -0
  74. package/dist/ai/helpers/inertia/useProp.ts +63 -0
  75. package/dist/ai/helpers/inertia/useQuery.ts +19 -0
  76. package/dist/ai/helpers/inertia/useQueryObject.ts +116 -0
  77. package/dist/ai/helpers/inertia/useResourceContext.ts +69 -0
  78. package/dist/ai/helpers/inertia/useRouteQuery.ts +54 -0
  79. package/dist/ai/helpers/inertia/useScreenSizes.ts +23 -0
  80. package/dist/ai/helpers/inertia/useTableContext.ts +34 -0
  81. package/dist/ai/helpers/inertia/useTableSelectionContext.ts +48 -0
  82. package/dist/ai/helpers/inertia/useUntil.ts +33 -0
  83. package/dist/ai/helpers/inertia/utils.ts +24 -0
  84. package/dist/ai/index.md +6 -6
  85. package/dist/ai/manifest/components/BbBreadcrumbs.json +10 -6
  86. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  87. package/dist/ai/manifest/components/BbButton.json +1 -1
  88. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  89. package/dist/ai/manifest/components/BbDropdown.json +23 -20
  90. package/dist/ai/manifest/components/BbDropdown.tree.json +2 -2
  91. package/dist/ai/manifest/components/BbDropdownButton.json +22 -19
  92. package/dist/ai/manifest/components/BbDropdownButton.tree.json +1 -1
  93. package/dist/ai/manifest/components/BbDropdownGroup.json +2 -2
  94. package/dist/ai/manifest/components/BbForm.json +1 -0
  95. package/dist/ai/manifest/components/BbNumberInput.json +6 -1
  96. package/dist/ai/manifest/components/BbNumberInput.tree.json +2 -1
  97. package/dist/ai/manifest/components/BbPopover.json +1 -0
  98. package/dist/ai/manifest/components/BbProgress.json +6 -6
  99. package/dist/ai/manifest/components/BbProgress.tree.json +1 -0
  100. package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
  101. package/dist/ai/manifest/components/BbSelect.json +2 -2
  102. package/dist/ai/manifest/components/BbSelectPopover.json +2 -2
  103. package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
  104. package/dist/ai/manifest/components/BbTabs.json +7 -6
  105. package/dist/ai/manifest/components/BbTabsList.json +3 -3
  106. package/dist/ai/manifest/components/BbTabsPanels.json +1 -1
  107. package/dist/ai/manifest/components/BbTabsRoot.json +5 -4
  108. package/dist/ai/manifest/components/BbTooltip.json +1 -1
  109. package/dist/ai/manifest/index.json +2 -2
  110. package/dist/ai/manifest/meta.json +2 -0
  111. package/dist/ai/manifest/types.advanced.json +10 -9
  112. package/dist/ai/manifest/types.api.json +5 -4
  113. package/dist/ai/recipes/inertia/approvals-inbox.md +16 -18
  114. package/dist/ai/recipes/inertia/inline-edit-workspace.md +23 -33
  115. package/dist/ai/recipes/inertia/layout-scaffold.md +16 -16
  116. package/dist/ai/recipes/inertia/onboarding.md +6 -10
  117. package/dist/ai/recipes/inertia/ownership-atlas.md +15 -18
  118. package/dist/ai/recipes/inertia/record-form.md +11 -11
  119. package/dist/ai/recipes/inertia/records-workspace.md +38 -41
  120. package/dist/ai/recipes/inertia/settings-workspace.md +26 -38
  121. package/dist/ai/recipes/inertia/upload-center.md +31 -39
  122. package/dist/ai/recipes/inertia/wizard-form.md +10 -19
  123. package/dist/ai/recipes/nuxt/approvals-inbox.md +7 -8
  124. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +14 -24
  125. package/dist/ai/recipes/nuxt/layout-scaffold.md +16 -16
  126. package/dist/ai/recipes/nuxt/onboarding.md +2 -6
  127. package/dist/ai/recipes/nuxt/ownership-atlas.md +7 -9
  128. package/dist/ai/recipes/nuxt/record-form.md +5 -5
  129. package/dist/ai/recipes/nuxt/records-workspace.md +29 -31
  130. package/dist/ai/recipes/nuxt/settings-workspace.md +22 -34
  131. package/dist/ai/recipes/nuxt/upload-center.md +22 -29
  132. package/dist/ai/recipes/nuxt/wizard-form.md +3 -11
  133. package/dist/ai/recipes/vue/approvals-inbox.md +7 -8
  134. package/dist/ai/recipes/vue/inline-edit-workspace.md +14 -24
  135. package/dist/ai/recipes/vue/layout-scaffold.md +16 -16
  136. package/dist/ai/recipes/vue/onboarding.md +2 -6
  137. package/dist/ai/recipes/vue/ownership-atlas.md +7 -9
  138. package/dist/ai/recipes/vue/record-form.md +5 -5
  139. package/dist/ai/recipes/vue/records-workspace.md +29 -31
  140. package/dist/ai/recipes/vue/settings-workspace.md +22 -34
  141. package/dist/ai/recipes/vue/upload-center.md +22 -29
  142. package/dist/ai/recipes/vue/wizard-form.md +3 -11
  143. package/dist/ai/source/BbAccordion.md +1 -1
  144. package/dist/ai/source/BbAlert.md +3 -3
  145. package/dist/ai/source/BbBadge.md +2 -2
  146. package/dist/ai/source/BbBadgeButton.md +5 -4
  147. package/dist/ai/source/BbBaseButton.md +1 -1
  148. package/dist/ai/source/BbBaseRadioIcon.md +1 -0
  149. package/dist/ai/source/BbBaseSwitchIcon.md +1 -0
  150. package/dist/ai/source/BbBreadcrumbs.md +63 -42
  151. package/dist/ai/source/BbButton.md +71 -33
  152. package/dist/ai/source/BbCalendar.md +17 -16
  153. package/dist/ai/source/BbCheckbox.md +3 -2
  154. package/dist/ai/source/BbCheckboxGroup.md +11 -4
  155. package/dist/ai/source/BbColorInput.md +10 -9
  156. package/dist/ai/source/BbConfirm.md +1 -1
  157. package/dist/ai/source/BbConfirmPortal.md +1 -1
  158. package/dist/ai/source/BbDatePicker.md +2 -2
  159. package/dist/ai/source/BbDatePickerInput.md +47 -20
  160. package/dist/ai/source/BbDialog.md +5 -5
  161. package/dist/ai/source/BbDropdown.md +230 -158
  162. package/dist/ai/source/BbDropdownButton.md +19 -12
  163. package/dist/ai/source/BbDropdownGroup.md +126 -93
  164. package/dist/ai/source/BbForm.md +25 -1
  165. package/dist/ai/source/BbIndicator.md +4 -0
  166. package/dist/ai/source/BbNumberInput.md +855 -19
  167. package/dist/ai/source/BbOffCanvas.md +27 -11
  168. package/dist/ai/source/BbPagination.md +3 -3
  169. package/dist/ai/source/BbPopover.md +152 -8
  170. package/dist/ai/source/BbPopoverPortal.md +11 -0
  171. package/dist/ai/source/BbProgress.md +82 -18
  172. package/dist/ai/source/BbRadioGroup.md +12 -5
  173. package/dist/ai/source/BbRating.md +11 -9
  174. package/dist/ai/source/BbSelect.md +16 -10
  175. package/dist/ai/source/BbSelectPopover.md +29 -23
  176. package/dist/ai/source/BbSlider.md +12 -6
  177. package/dist/ai/source/BbSwitch.md +3 -2
  178. package/dist/ai/source/BbSwitchGroup.md +5 -2
  179. package/dist/ai/source/BbTable.md +102 -18
  180. package/dist/ai/source/BbTabs.md +27 -23
  181. package/dist/ai/source/BbTabsList.md +26 -22
  182. package/dist/ai/source/BbTabsPanels.md +26 -22
  183. package/dist/ai/source/BbTabsRoot.md +25 -21
  184. package/dist/ai/source/BbTag.md +10 -9
  185. package/dist/ai/source/BbTextInput.md +5 -4
  186. package/dist/ai/source/BbTextarea.md +6 -5
  187. package/dist/ai/source/BbTimePicker.md +1 -1
  188. package/dist/ai/source/BbTimePickerInput.md +46 -9
  189. package/dist/ai/source/BbToast.md +10 -7
  190. package/dist/ai/source/BbToastPortal.md +10 -7
  191. package/dist/ai/source/BbTooltip.md +54 -8
  192. package/dist/ai/source/BbTree.md +21 -3
  193. package/dist/ai/source/CommonField.md +6 -4
  194. package/dist/ai/source/CommonFieldInput.md +15 -10
  195. package/dist/ai/source/CommonPopover.md +6 -0
  196. package/dist/ai/source/CommonTimeSelector.md +5 -4
  197. package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +10 -8
  198. package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +8 -8
  199. package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +45 -45
  200. package/dist/components/BbBreadcrumbs/types.d.ts +25 -17
  201. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +84 -71
  202. package/dist/components/BbButton/toggleRoving.d.ts +6 -0
  203. package/dist/components/BbButton/toggleRoving.js +45 -0
  204. package/dist/components/BbButton/types.d.ts +4 -1
  205. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +178 -178
  206. package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -15
  207. package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +28 -28
  208. package/dist/components/BbCalendar/useCalendarGrid.js +141 -139
  209. package/dist/components/BbCalendar/useDayjsLocale.d.ts +38 -15
  210. package/dist/components/BbCalendar/useDayjsLocale.js +31 -30
  211. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +48 -48
  212. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +81 -80
  213. package/dist/components/BbCheckboxGroup/types.d.ts +6 -2
  214. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +69 -69
  215. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +363 -349
  216. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +91 -86
  217. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +298 -289
  218. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +322 -356
  219. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +17 -15
  220. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +40 -0
  221. package/dist/components/BbDropdown/DropdownRow.vue.js +5 -0
  222. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +60 -0
  223. package/dist/components/BbDropdown/normalizeGroups.d.ts +8 -2
  224. package/dist/components/BbDropdown/normalizeGroups.js +60 -46
  225. package/dist/components/BbDropdown/types.d.ts +119 -88
  226. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +11 -2
  227. package/dist/components/BbDropdownButton/types.d.ts +2 -2
  228. package/dist/components/BbForm/BbForm.vue.d.ts +9 -0
  229. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +114 -105
  230. package/dist/components/BbForm/BbFormCustomField.js +1 -1
  231. package/dist/components/BbForm/bindFormField.js +2 -1
  232. package/dist/components/BbForm/formFields.d.ts +5 -0
  233. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +0 -1
  234. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +452 -125
  235. package/dist/components/BbNumberInput/numberDisplay.d.ts +256 -0
  236. package/dist/components/BbNumberInput/numberDisplay.js +499 -0
  237. package/dist/components/BbNumberInput/types.d.ts +54 -1
  238. package/dist/components/BbNumberInput/warroom/corpus.d.ts +58 -0
  239. package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +28 -0
  240. package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +2 -0
  241. package/dist/components/BbNumberInput/warroom/harness.d.ts +217 -0
  242. package/dist/components/BbNumberInput/warroom/oracle.d.ts +150 -0
  243. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +7 -7
  244. package/dist/components/BbPopover/BbPopover.vue.d.ts +1 -0
  245. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +207 -164
  246. package/dist/components/BbPopover/types.d.ts +11 -0
  247. package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +15 -7
  248. package/dist/components/BbProgress/types.d.ts +23 -7
  249. package/dist/components/BbProgress/types.js +1 -1
  250. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +102 -101
  251. package/dist/components/BbRadioGroup/types.d.ts +6 -2
  252. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +63 -63
  253. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +156 -154
  254. package/dist/components/BbSelect/types.d.ts +6 -2
  255. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +2 -1
  256. package/dist/components/BbSelectPopover/types.d.ts +6 -2
  257. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +153 -153
  258. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +62 -62
  259. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +131 -130
  260. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +711 -676
  261. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +1 -1
  262. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +1 -1
  263. package/dist/components/BbTabs/types.d.ts +25 -21
  264. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +76 -76
  265. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +58 -58
  266. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +82 -82
  267. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +246 -236
  268. package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +102 -97
  269. package/dist/components/BbTooltip/tooltipWarmup.d.ts +23 -0
  270. package/dist/components/BbTooltip/tooltipWarmup.js +7 -0
  271. package/dist/components/BbTooltip/types.d.ts +7 -2
  272. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +29 -21
  273. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +10 -7
  274. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +37 -36
  275. package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +9 -9
  276. package/dist/composables/formSubmitLock.d.ts +6 -0
  277. package/dist/composables/formSubmitLock.js +4 -0
  278. package/dist/composables/useBaseOptions.d.ts +7 -1
  279. package/dist/composables/useBaseOptions.js +32 -32
  280. package/dist/composables/useBbDropdownContext.d.ts +8 -8
  281. package/dist/composables/useBbFormField.d.ts +9 -0
  282. package/dist/composables/useBbFormField.js +5 -3
  283. package/dist/composables/useBbTabsContext.d.ts +10 -10
  284. package/dist/composables/useBbTabsContext.js +18 -18
  285. package/dist/composables/useFormBinding.d.ts +11 -0
  286. package/dist/composables/useFormBinding.js +15 -13
  287. package/dist/composables/useItemText.d.ts +5 -1
  288. package/dist/composables/useItemText.js +8 -3
  289. package/dist/composables/useItemValue.d.ts +5 -1
  290. package/dist/composables/useItemValue.js +8 -3
  291. package/dist/composables/useLocale.js +10 -9
  292. package/dist/deprecation/ai-deprecations.json.d.ts +130 -0
  293. package/dist/deprecation/ai-deprecations.json.js +1 -1
  294. package/dist/deprecation/removedProps.js +1 -1
  295. package/dist/directives/bbDropdown.js +1 -1
  296. package/dist/i18n/index.d.ts +7 -12
  297. package/dist/i18n/locales/cs.json +11 -14
  298. package/dist/i18n/locales/da.json +13 -16
  299. package/dist/i18n/locales/de-CH.json +137 -0
  300. package/dist/i18n/locales/de.json +14 -17
  301. package/dist/i18n/locales/el.json +10 -13
  302. package/dist/i18n/locales/en-GB.json +137 -0
  303. package/dist/i18n/locales/en.json +8 -11
  304. package/dist/i18n/locales/es-MX.json +137 -0
  305. package/dist/i18n/locales/es.json +16 -19
  306. package/dist/i18n/locales/fi.json +8 -11
  307. package/dist/i18n/locales/fr.json +23 -26
  308. package/dist/i18n/locales/hu.json +8 -11
  309. package/dist/i18n/locales/it.json +12 -15
  310. package/dist/i18n/locales/ja.json +13 -16
  311. package/dist/i18n/locales/ko.json +10 -13
  312. package/dist/i18n/locales/nb.json +13 -16
  313. package/dist/i18n/locales/nl.json +21 -24
  314. package/dist/i18n/locales/pl.json +10 -13
  315. package/dist/i18n/locales/{pt.json → pt-BR.json} +19 -22
  316. package/dist/i18n/locales/pt-PT.json +137 -0
  317. package/dist/i18n/locales/ro.json +22 -25
  318. package/dist/i18n/locales/ru.json +11 -14
  319. package/dist/i18n/locales/sv.json +16 -19
  320. package/dist/i18n/locales/tr.json +14 -17
  321. package/dist/i18n/locales/uk.json +11 -14
  322. package/dist/i18n/locales/{zh-cn.json → zh-CN.json} +10 -13
  323. package/dist/i18n/locales/zh-HK.json +137 -0
  324. package/dist/i18n/locales/zh-TW.json +137 -0
  325. package/dist/i18n/regionHints.d.ts +16 -0
  326. package/dist/i18n/regionHints.js +49 -0
  327. package/dist/i18n/regions.d.ts +286 -0
  328. package/dist/i18n/regions.js +265 -0
  329. package/dist/index.d.ts +1 -1
  330. package/dist/index.js +4 -4
  331. package/dist/llms-full.txt +1785 -1637
  332. package/dist/llms-medium.txt +74 -46
  333. package/dist/llms.txt +7 -7
  334. package/dist/locale-blueprint.json +16 -13
  335. package/dist/styles.css +2 -2
  336. package/dist/types/ptComponentMap.d.ts +1 -1
  337. package/dist/utilities/functions/slotKey.d.ts +2 -2
  338. package/dist/utils/versionCheck.js +1 -1
  339. package/dist/vite-plugin.d.ts +22 -19
  340. package/dist/vite.js +309 -297
  341. package/llms.txt +7 -7
  342. package/package.json +5 -3
  343. package/scripts/lib/agent-manifest.mjs +2 -1
  344. package/scripts/lib/eslint-disable.mjs +12 -4
  345. package/scripts/lib/eslint-plugin.d.ts +5 -1
  346. package/scripts/lib/eslint-plugin.mjs +187 -6
  347. package/scripts/lib/helper-canon.mjs +176 -0
  348. package/scripts/lib/helpers-add.mjs +1303 -0
  349. package/scripts/lib/local-components.mjs +33 -4
  350. package/scripts/lib/locale-check.mjs +165 -0
  351. package/scripts/lib/redundant-item-accessor.mjs +398 -0
  352. package/scripts/lib/renamed-item-field.mjs +343 -0
  353. package/scripts/lib/slot-key.mjs +2 -2
  354. package/scripts/lib/slot-renames.mjs +1 -1
  355. package/scripts/lib/validate-bb-markup.mjs +123 -56
  356. package/dist/i18n/index.js +0 -27
@@ -15,18 +15,18 @@ import { resolveEnumProp as ce } from "../../utilities/functions/resolveEnumProp
15
15
  import { snapToStep as l } from "../../utilities/functions/snapToStep.js";
16
16
  import { transpose as le } from "../../utilities/functions/transpose.js";
17
17
  import { BB_SLIDER_PT as ue } from "./types.js";
18
- import { Fragment as de, computed as u, createBlock as fe, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as pe, defineComponent as m, guardReactiveProps as h, mergeProps as g, normalizeClass as me, normalizeProps as _, onBeforeUnmount as he, onDeactivated as ge, onMounted as _e, openBlock as v, ref as y, renderList as ve, renderSlot as b, toDisplayString as ye, unref as x, useAttrs as be, watch as xe, withCtx as S } from "vue";
18
+ import { Fragment as de, computed as u, createBlock as fe, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createSlots as pe, defineComponent as me, guardReactiveProps as m, mergeProps as h, normalizeClass as he, normalizeProps as g, onBeforeUnmount as ge, onDeactivated as _e, onMounted as ve, openBlock as _, ref as v, renderList as ye, renderSlot as y, toDisplayString as be, unref as b, useAttrs as xe, watch as Se, withCtx as x } from "vue";
19
19
  //#region src/components/BbSlider/BbSlider.vue?vue&type=script&setup=true&lang.ts
20
- var Se = [
20
+ var Ce = [
21
21
  "id",
22
22
  "disabled",
23
23
  "name",
24
24
  "value"
25
- ], Ce = [
25
+ ], we = [
26
26
  "disabled",
27
27
  "name",
28
28
  "value"
29
- ], we = [
29
+ ], Te = [
30
30
  "aria-describedby",
31
31
  "aria-disabled",
32
32
  "aria-labelledby",
@@ -35,7 +35,7 @@ var Se = [
35
35
  "aria-valuemin",
36
36
  "aria-valuenow",
37
37
  "tabindex"
38
- ], Te = [
38
+ ], Ee = [
39
39
  "aria-describedby",
40
40
  "aria-disabled",
41
41
  "aria-labelledby",
@@ -44,7 +44,7 @@ var Se = [
44
44
  "aria-valuemin",
45
45
  "aria-valuenow",
46
46
  "tabindex"
47
- ], Ee = ["id"], De = ["id"], C = /*@__PURE__*/ m({
47
+ ], De = ["id"], Oe = ["id"], S = /*@__PURE__*/ me({
48
48
  inheritAttrs: !1,
49
49
  __name: "BbSlider",
50
50
  props: {
@@ -170,29 +170,29 @@ var Se = [
170
170
  "pointerup",
171
171
  "update:modelValue"
172
172
  ],
173
- setup(m, { emit: C }) {
174
- let w = m, { props: T, emit: E, showAsterisk: Oe, errors: ke } = oe(w, C, {
173
+ setup(me, { emit: S }) {
174
+ let C = me, { props: w, emit: T, showAsterisk: ke, errors: Ae, readonly: E } = oe(C, S, {
175
175
  componentName: "BbSlider",
176
- identifierFallback: () => w.label,
176
+ identifierFallback: () => C.label,
177
177
  emptyValue: () => 0,
178
178
  leaveOn: "inactive"
179
- }), Ae = a();
179
+ }), je = a();
180
180
  process.env.NODE_ENV !== "production" && te("BbSlider", ee("BbSlider"));
181
- let je = ["outside", "inside"], Me = u(() => {
182
- if (T.labelMode != null) return ce(T.labelMode, je, "outside", {
181
+ let Me = ["outside", "inside"], Ne = u(() => {
182
+ if (w.labelMode != null) return ce(w.labelMode, Me, "outside", {
183
183
  prop: "labelMode",
184
184
  component: "BbSlider"
185
185
  });
186
- let e = Ae.defaultInputLabelMode;
186
+ let e = je.defaultInputLabelMode;
187
187
  return e === "floating" ? "outside" : e;
188
- }), D = y(!1), Ne = u(() => T.persistentHint || D.value), O = i({
188
+ }), D = v(!1), Pe = u(() => w.persistentHint || D.value), O = i({
189
189
  component: "BbSlider",
190
- attrs: be(),
191
- props: T,
190
+ attrs: xe(),
191
+ props: w,
192
192
  parts: ue.parts,
193
193
  states: ue.states,
194
194
  active: {
195
- ...r(n(T), [
195
+ ...r(n(w), [
196
196
  "errors",
197
197
  "warnings",
198
198
  "disabled",
@@ -200,54 +200,54 @@ var Se = [
200
200
  ]),
201
201
  active: () => D.value
202
202
  }
203
- }), k = e(), { t: A } = ne(), j = (e, t) => T.range ? `${e}__label ${e}__thumb_label_${t}` : `${e}__label`;
204
- (T.min < -(2 ** 53 - 1) || T.max > 2 ** 53 - 1) && k.throw("BbSlider min or max is too large"), (!Number.isFinite(T.min) || !Number.isFinite(T.max)) && k.throw("BbSlider min and max must be finite numbers", TypeError), T.max <= T.min && k.throw("BbSlider max must be greater than min", RangeError), (!Number.isFinite(T.step) || T.step <= 0) && k.throw("BbSlider step must be a finite number greater than 0", RangeError), (!Number.isFinite(T.maxPrecision) || T.maxPrecision < 0) && k.throw("BbSlider maxPrecision must be a non-negative number", RangeError);
205
- let M = y(), N = y(), P = y(), F = y(), I = y(), L = y(0), R = y(0), z = u(() => Array.isArray(T.modelValue) ? se(T.modelValue) ?? void 0 : t(T.modelValue) ? void 0 : Number(T.modelValue)), B = u(() => Array.isArray(T.modelValue) ? re(T.modelValue) ?? void 0 : t(T.modelValue) ? void 0 : Number(T.modelValue)), V = u(() => [L.value, R.value].sort((e, t) => e - t));
206
- T.range && !Array.isArray(T.modelValue) && k.throw("BbSlider mode is set as range but modelValue is not an array", TypeError), !T.range && Array.isArray(T.modelValue) && k.throw("BbSlider mode is not set as range but modelValue is an array — add `range` for two thumbs, or bind a number", TypeError), _e(() => {
207
- T.autofocus && Pe();
203
+ }), k = e(), { t: A } = ne(), j = (e, t) => w.range ? `${e}__label ${e}__thumb_label_${t}` : `${e}__label`;
204
+ (w.min < -(2 ** 53 - 1) || w.max > 2 ** 53 - 1) && k.throw("BbSlider min or max is too large"), (!Number.isFinite(w.min) || !Number.isFinite(w.max)) && k.throw("BbSlider min and max must be finite numbers", TypeError), w.max <= w.min && k.throw("BbSlider max must be greater than min", RangeError), (!Number.isFinite(w.step) || w.step <= 0) && k.throw("BbSlider step must be a finite number greater than 0", RangeError), (!Number.isFinite(w.maxPrecision) || w.maxPrecision < 0) && k.throw("BbSlider maxPrecision must be a non-negative number", RangeError);
205
+ let M = v(), N = v(), P = v(), F = v(), I = v(), L = v(0), R = v(0), z = u(() => Array.isArray(w.modelValue) ? se(w.modelValue) ?? void 0 : t(w.modelValue) ? void 0 : Number(w.modelValue)), B = u(() => Array.isArray(w.modelValue) ? re(w.modelValue) ?? void 0 : t(w.modelValue) ? void 0 : Number(w.modelValue)), V = u(() => [L.value, R.value].sort((e, t) => e - t));
206
+ w.range && !Array.isArray(w.modelValue) && k.throw("BbSlider mode is set as range but modelValue is not an array", TypeError), !w.range && Array.isArray(w.modelValue) && k.throw("BbSlider mode is not set as range but modelValue is an array — add `range` for two thumbs, or bind a number", TypeError), ve(() => {
207
+ w.autofocus && Fe();
208
208
  });
209
- let H = y(!1), U = y(null), Pe = () => {
210
- if (!T.disabled) {
211
- if (T.range) {
209
+ let H = v(!1), U = v(null), Fe = () => {
210
+ if (!w.disabled) {
211
+ if (w.range) {
212
212
  (P.value ?? F.value)?.focus();
213
213
  return;
214
214
  }
215
215
  F.value?.focus();
216
216
  }
217
- }, Fe = () => {
218
- document.activeElement === I.value && Pe();
219
- }, Ie = (e) => `calc(var(--track-inset) + (100% - (var(--track-inset) * 2)) * ${e} / 100)`, Le = (e) => F.value && F.value.contains(e.target) ? "higher" : P.value && P.value.contains(e.target) ? "lower" : k.throw("Could not identify target thumb"), W = () => {
220
- document.removeEventListener("pointermove", G), document.removeEventListener("pointerup", J), document.removeEventListener("pointercancel", Y);
221
- }, Re = () => {
217
+ }, Ie = () => {
218
+ document.activeElement === I.value && Fe();
219
+ }, Le = (e) => `calc(var(--track-inset) + (100% - (var(--track-inset) * 2)) * ${e} / 100)`, Re = (e) => F.value && F.value.contains(e.target) ? "higher" : P.value && P.value.contains(e.target) ? "lower" : k.throw("Could not identify target thumb"), W = () => {
220
+ document.removeEventListener("pointermove", G), document.removeEventListener("pointerup", q), document.removeEventListener("pointercancel", J);
221
+ }, ze = () => {
222
222
  document.removeEventListener("focusin", Q), document.removeEventListener("click", Q);
223
- }, ze = (e) => {
224
- T.disabled || T.readonly || (U.value ||= Le(e), H.value = !0, document.addEventListener("pointermove", G), document.addEventListener("pointerup", J), document.addEventListener("pointercancel", Y), E("pointerdown", e));
225
- }, Be = u(() => H.value ? {} : { onPointerdown: ze }), G = (e) => {
226
- if (!(T.disabled || T.readonly) && N.value) {
227
- E("pointermove", e);
228
- let t = N.value.getBoundingClientRect(), n = e.clientX, r = t.left, i = t.width, a = o(s(l(le(n, r, r + i, T.min, T.max), T.min, T.max, T.step), T.min, T.max), 0, 100);
229
- U.value === "higher" ? R.value = a : U.value === "lower" && (L.value = a), E("update:modelValue", He());
223
+ }, Be = (e) => {
224
+ w.disabled || w.readonly || (U.value ||= Re(e), H.value = !0, document.addEventListener("pointermove", G), document.addEventListener("pointerup", q), document.addEventListener("pointercancel", J), T("pointerdown", e));
225
+ }, Ve = u(() => H.value ? {} : { onPointerdown: Be }), G = (e) => {
226
+ if (!(w.disabled || w.readonly) && N.value) {
227
+ T("pointermove", e);
228
+ let t = N.value.getBoundingClientRect(), n = e.clientX, r = t.left, i = t.width, a = o(s(l(le(n, r, r + i, w.min, w.max), w.min, w.max, w.step), w.min, w.max), 0, 100);
229
+ U.value === "higher" ? R.value = a : U.value === "lower" && (L.value = a), T("update:modelValue", Ue());
230
230
  }
231
231
  }, K = u(() => {
232
- let e = T.modelValue;
233
- return T.range ? Array.isArray(e) && e.length === 2 ? e : [null] : [typeof e == "number" ? e : null];
234
- }), Ve = (e) => e == null ? "" : typeof e == "string" ? e : JSON.stringify(e), He = () => {
235
- if (T.range) return [c(L.value, T.min, T.max), c(R.value, T.min, T.max)].sort((e, t) => e - t).map((e) => Number(e.toFixed(T.maxPrecision)));
232
+ let e = w.modelValue;
233
+ return w.range ? Array.isArray(e) && e.length === 2 ? e : [null] : [typeof e == "number" ? e : null];
234
+ }), He = (e) => e == null ? "" : typeof e == "string" ? e : JSON.stringify(e), Ue = () => {
235
+ if (w.range) return [c(L.value, w.min, w.max), c(R.value, w.min, w.max)].sort((e, t) => e - t).map((e) => Number(e.toFixed(w.maxPrecision)));
236
236
  {
237
- let e = c(R.value, T.min, T.max);
238
- return Number(e.toFixed(T.maxPrecision));
237
+ let e = c(R.value, w.min, w.max);
238
+ return Number(e.toFixed(w.maxPrecision));
239
239
  }
240
- }, Ue = () => {
241
- if (T.disabled || T.readonly || T.range) return;
242
- let e = l((T.modelValue ?? 0) + T.step, T.min, T.max, T.step);
243
- E("update:modelValue", Number(e.toFixed(T.maxPrecision)));
244
- }, q = () => {
245
- if (T.disabled || T.readonly || T.range) return;
246
- let e = l((T.modelValue ?? 0) - T.step, T.min, T.max, T.step);
247
- E("update:modelValue", Number(e.toFixed(T.maxPrecision)));
240
+ }, We = () => {
241
+ if (w.disabled || w.readonly || w.range) return;
242
+ let e = l((w.modelValue ?? 0) + w.step, w.min, w.max, w.step);
243
+ T("update:modelValue", Number(e.toFixed(w.maxPrecision)));
244
+ }, Ge = () => {
245
+ if (w.disabled || w.readonly || w.range) return;
246
+ let e = l((w.modelValue ?? 0) - w.step, w.min, w.max, w.step);
247
+ T("update:modelValue", Number(e.toFixed(w.maxPrecision)));
248
248
  };
249
- xe(() => T.modelValue, (e) => {
250
- if (T.range) {
249
+ Se(() => w.modelValue, (e) => {
250
+ if (w.range) {
251
251
  let t = Array.isArray(e) ? e : null;
252
252
  if (!t) {
253
253
  k.throw("BbSlider modelValue must be an array");
@@ -257,99 +257,99 @@ var Se = [
257
257
  L.value = 0, R.value = 100;
258
258
  return;
259
259
  }
260
- let n = [...t].sort((e, t) => e - t).map((e) => o(s(e, T.min, T.max), 0, 100));
260
+ let n = [...t].sort((e, t) => e - t).map((e) => o(s(e, w.min, w.max), 0, 100));
261
261
  L.value > R.value ? (L.value = n[1], R.value = n[0]) : (L.value = n[0], R.value = n[1]);
262
262
  } else {
263
- let t = o(le(e ?? T.min, T.min, T.max, 0, 100), 0, 100);
263
+ let t = o(le(e ?? w.min, w.min, w.max, 0, 100), 0, 100);
264
264
  R.value = t;
265
265
  }
266
266
  }, { immediate: !0 });
267
- let J = (e) => {
268
- H.value = !1, U.value = null, W(), E("pointerup", e);
269
- }, Y = () => {
267
+ let q = (e) => {
268
+ H.value = !1, U.value = null, W(), T("pointerup", e);
269
+ }, J = () => {
270
270
  H.value = !1, U.value = null, W();
271
- }, X = u(() => ie(T.step, T.max - T.min)), We = (e) => U.value === "higher" || document.activeElement === F.value || e.target === F.value ? "higher" : "lower", Ge = (e) => s(l(c(o(e, 0, 100), T.min, T.max), T.min, T.max, T.step), T.min, T.max), Z = (e, t) => {
272
- let n = Ge(t);
271
+ }, Y = u(() => ie(w.step, w.max - w.min)), Ke = (e) => U.value === "higher" || document.activeElement === F.value || e.target === F.value ? "higher" : "lower", qe = (e) => s(l(c(o(e, 0, 100), w.min, w.max), w.min, w.max, w.step), w.min, w.max), X = (e, t) => {
272
+ let n = qe(t);
273
273
  if (e === "higher") {
274
274
  R.value = n;
275
275
  return;
276
276
  }
277
277
  L.value = n;
278
- }, Ke = (e) => {
279
- if (E("keydown", e), T.disabled || T.readonly) return;
280
- let t = We(e), n = X.value * 10, r = {
281
- ArrowLeft: () => Z(t, (t === "higher" ? R.value : L.value) - X.value),
282
- ArrowDown: () => Z(t, (t === "higher" ? R.value : L.value) - X.value),
283
- ArrowRight: () => Z(t, (t === "higher" ? R.value : L.value) + X.value),
284
- ArrowUp: () => Z(t, (t === "higher" ? R.value : L.value) + X.value),
285
- PageDown: () => Z(t, (t === "higher" ? R.value : L.value) - n),
286
- PageUp: () => Z(t, (t === "higher" ? R.value : L.value) + n),
287
- Home: () => Z(t, 0),
288
- End: () => Z(t, 100)
278
+ }, Je = (e) => {
279
+ if (T("keydown", e), w.disabled || w.readonly) return;
280
+ let t = Ke(e), n = Y.value * 10, r = {
281
+ ArrowLeft: () => X(t, (t === "higher" ? R.value : L.value) - Y.value),
282
+ ArrowDown: () => X(t, (t === "higher" ? R.value : L.value) - Y.value),
283
+ ArrowRight: () => X(t, (t === "higher" ? R.value : L.value) + Y.value),
284
+ ArrowUp: () => X(t, (t === "higher" ? R.value : L.value) + Y.value),
285
+ PageDown: () => X(t, (t === "higher" ? R.value : L.value) - n),
286
+ PageUp: () => X(t, (t === "higher" ? R.value : L.value) + n),
287
+ Home: () => X(t, 0),
288
+ End: () => X(t, 100)
289
289
  }[e.key];
290
- r && (e.preventDefault(), r(), E("update:modelValue", He()));
291
- }, qe = (e) => {
292
- if (T.disabled) {
290
+ r && (e.preventDefault(), r(), T("update:modelValue", Ue()));
291
+ }, Z = (e) => {
292
+ if (w.disabled) {
293
293
  e.target instanceof HTMLElement && e.target.blur();
294
294
  return;
295
295
  }
296
- E("focus", e);
297
- let t = Le(e);
298
- t && (U.value = t), D.value || (D.value = !0, E("active"), document.addEventListener("focusin", Q), document.addEventListener("click", Q));
296
+ T("focus", e);
297
+ let t = Re(e);
298
+ t && (U.value = t), D.value || (D.value = !0, T("active"), document.addEventListener("focusin", Q), document.addEventListener("click", Q));
299
299
  }, Q = (e) => {
300
300
  if (e.target instanceof HTMLElement) {
301
301
  let t = !!M.value?.contains(e.target), n = document.activeElement, r = n instanceof HTMLElement && !!M.value?.contains(n);
302
- !t && !r && (D.value = !1, U.value = null, E("inactive"), Re());
302
+ !t && !r && (D.value = !1, U.value = null, T("inactive"), ze());
303
303
  }
304
- }, Je = () => {
305
- H.value = !1, W(), D.value && (D.value = !1, U.value = null, E("inactive")), Re();
304
+ }, Ye = () => {
305
+ H.value = !1, W(), D.value && (D.value = !1, U.value = null, T("inactive")), ze();
306
306
  };
307
- ge(Je), he(Je);
308
- let Ye = (e) => {
307
+ _e(Ye), ge(Ye);
308
+ let Xe = (e) => {
309
309
  if (!N.value) return null;
310
310
  let t = N.value.getBoundingClientRect();
311
311
  return t.width === 0 ? null : o((e.clientX - t.left) / t.width * 100, 0, 100);
312
- }, Xe = (e) => {
312
+ }, Ze = (e) => {
313
313
  let t = Math.abs(e - L.value), n = Math.abs(e - R.value);
314
314
  return t === n ? e < L.value ? "lower" : "higher" : t < n ? "lower" : "higher";
315
- }, Ze = { onPointerdown: (e) => {
316
- if (T.disabled || T.readonly) return;
317
- let t = Ye(e);
318
- t !== null && (T.range ? (U.value = Xe(t), (U.value === "lower" ? P.value : F.value)?.focus()) : F.value?.focus(), G(e), document.addEventListener("pointermove", G), document.addEventListener("pointerup", J), document.addEventListener("pointercancel", Y));
319
- } }, Qe = u(() => ({
315
+ }, Qe = { onPointerdown: (e) => {
316
+ if (w.disabled || w.readonly) return;
317
+ let t = Xe(e);
318
+ t !== null && (w.range ? (U.value = Ze(t), (U.value === "lower" ? P.value : F.value)?.focus()) : F.value?.focus(), G(e), document.addEventListener("pointermove", G), document.addEventListener("pointerup", q), document.addEventListener("pointercancel", J));
319
+ } }, $e = u(() => ({
320
320
  class: "bb-slider__bar",
321
321
  style: {
322
322
  width: `${V.value[1] - V.value[0]}%`,
323
323
  left: `${V.value[0]}%`
324
324
  }
325
- })), $e = (e) => {
326
- if (t(T.modelValue)) return !1;
327
- if (Array.isArray(T.modelValue)) {
328
- if (T.modelValue.length === 0) return !1;
329
- let t = [...T.modelValue].sort((e, t) => e - t);
325
+ })), et = (e) => {
326
+ if (t(w.modelValue)) return !1;
327
+ if (Array.isArray(w.modelValue)) {
328
+ if (w.modelValue.length === 0) return !1;
329
+ let t = [...w.modelValue].sort((e, t) => e - t);
330
330
  return t[0] <= e && t[1] >= e;
331
331
  }
332
- return e <= Number(T.modelValue);
332
+ return e <= Number(w.modelValue);
333
333
  }, $ = u(() => {
334
- if (!T.ticks || !Number.isFinite(T.step) || T.step <= 0) return [];
335
- let e = [], t = T.min;
336
- for (; t <= T.max;) {
337
- let n = t, r = s(n, T.min, T.max), i = $e(n);
334
+ if (!w.ticks || !Number.isFinite(w.step) || w.step <= 0) return [];
335
+ let e = [], t = w.min;
336
+ for (; t <= w.max;) {
337
+ let n = t, r = s(n, w.min, w.max), i = et(n);
338
338
  e.push({
339
339
  value: n,
340
340
  percent: r,
341
341
  active: i
342
- }), t += T.step;
342
+ }), t += w.step;
343
343
  }
344
344
  return e;
345
345
  });
346
- return (e, t) => (v(), fe(ae, g({
346
+ return (e, t) => (_(), fe(ae, h({
347
347
  id: e.id,
348
348
  class: "bb-slider",
349
349
  compact: e.compact,
350
350
  description: e.description,
351
351
  disabled: e.disabled,
352
- errors: x(ke),
352
+ errors: b(Ae),
353
353
  "has-errors": e.hasErrors,
354
354
  "has-warnings": e.hasWarnings,
355
355
  "hide-label": e.hideLabel,
@@ -357,44 +357,44 @@ var Se = [
357
357
  "input-align": e.inputAlign,
358
358
  label: e.label,
359
359
  "label-align": e.labelAlign,
360
- "label-mode": Me.value,
360
+ "label-mode": Ne.value,
361
361
  "label-position": e.labelPosition,
362
362
  layout: e.layout,
363
363
  name: e.name,
364
- passthrough: x(O),
365
- readonly: e.readonly,
364
+ passthrough: b(O),
365
+ readonly: b(E),
366
366
  reverse: e.reverse,
367
- "show-asterisk": x(Oe),
368
- "show-hint": Ne.value,
367
+ "show-asterisk": b(ke),
368
+ "show-hint": Pe.value,
369
369
  warnings: e.warnings
370
- }, x(O).forwardAttrs), pe({
371
- label: S((t) => [b(e.$slots, "label", _(h(t)))]),
372
- input: S(({ id: t, hasErrors: n, hasWarnings: r, ariaDescribedby: i }) => [p("span", { class: me(["bb-slider__body", {
370
+ }, b(O).forwardAttrs), pe({
371
+ label: x((t) => [y(e.$slots, "label", g(m(t)))]),
372
+ input: x(({ id: t, hasErrors: n, hasWarnings: r, ariaDescribedby: i }) => [p("span", { class: he(["bb-slider__body", {
373
373
  "bb-slider__body--compact": e.compact,
374
374
  "bb-slider__body--disabled": e.disabled,
375
375
  "bb-slider__body--errors": n,
376
376
  "bb-slider__body--warnings": !!r && !n,
377
- "bb-slider__body--readonly": e.readonly
377
+ "bb-slider__body--readonly": b(E)
378
378
  }]) }, [
379
- b(e.$slots, "prepend", {
380
- decrease: q,
381
- increase: Ue
379
+ y(e.$slots, "prepend", {
380
+ decrease: Ge,
381
+ increase: We
382
382
  }),
383
- p("span", g({
383
+ p("span", h({
384
384
  ref_key: "container",
385
385
  ref: M
386
- }, g(Ze, x(O).box), {
386
+ }, h(Qe, b(O).box), {
387
387
  class: "bb-slider__box",
388
388
  "data-bb-no-drag": ""
389
389
  }), [
390
- $.value.length ? (v(), f("span", g({
390
+ $.value.length ? (_(), f("span", h({
391
391
  key: 0,
392
392
  class: "bb-slider__ticks"
393
- }, x(O).ticks), [(v(!0), f(de, null, ve($.value, (t) => (v(), f("span", g({
393
+ }, b(O).ticks), [(_(!0), f(de, null, ye($.value, (t) => (_(), f("span", h({
394
394
  key: t.value,
395
395
  class: ["bb-slider__tick", { "bb-slider__tick--in-range": t.active }],
396
396
  ref_for: !0
397
- }, x(O).part("tick", { inRange: t.active })), [b(e.$slots, "tick", {
397
+ }, b(O).part("tick", { inRange: t.active })), [y(e.$slots, "tick", {
398
398
  active: t.active,
399
399
  percent: t.percent,
400
400
  value: t.value
@@ -410,10 +410,10 @@ var Se = [
410
410
  readonly: !0,
411
411
  tabindex: -1,
412
412
  type: "text",
413
- value: Ve(K.value[0]),
414
- onFocus: Fe
415
- }, null, 40, Se),
416
- K.value.length > 1 ? (v(), f("input", {
413
+ value: He(K.value[0]),
414
+ onFocus: Ie
415
+ }, null, 40, Ce),
416
+ K.value.length > 1 ? (_(), f("input", {
417
417
  key: 1,
418
418
  "aria-hidden": "true",
419
419
  class: "bb-sr-only",
@@ -422,15 +422,15 @@ var Se = [
422
422
  readonly: !0,
423
423
  tabindex: -1,
424
424
  type: "text",
425
- value: Ve(K.value[1]),
426
- onFocus: Fe
427
- }, null, 40, Ce)) : d("", !0),
428
- p("span", g({
425
+ value: He(K.value[1]),
426
+ onFocus: Ie
427
+ }, null, 40, we)) : d("", !0),
428
+ p("span", h({
429
429
  ref_key: "track",
430
430
  ref: N,
431
431
  class: "bb-slider__track"
432
- }, x(O).track), [p("span", _(h(g(Qe.value, x(O).bar))), null, 16)], 16),
433
- x(T).range ? (v(), f("span", g({ key: 2 }, Be.value, {
432
+ }, b(O).track), [p("span", g(m(h($e.value, b(O).bar))), null, 16)], 16),
433
+ b(w).range ? (_(), f("span", h({ key: 2 }, Ve.value, {
434
434
  key: "thumblower",
435
435
  ref_key: "thumblower",
436
436
  ref: P,
@@ -438,33 +438,33 @@ var Se = [
438
438
  "aria-disabled": e.disabled ? "true" : void 0,
439
439
  "aria-labelledby": j(t, "lower"),
440
440
  "aria-orientation": "horizontal",
441
- "aria-readonly": e.readonly ? "true" : void 0,
441
+ "aria-readonly": b(E) ? "true" : void 0,
442
442
  "aria-valuemax": e.max,
443
443
  "aria-valuemin": e.min,
444
444
  "aria-valuenow": z.value,
445
445
  class: "bb-slider__thumb-container",
446
446
  "data-thumb": "lower",
447
447
  role: "slider",
448
- style: { left: Ie(L.value) },
448
+ style: { left: Le(L.value) },
449
449
  tabindex: e.disabled ? -1 : 0,
450
- onFocus: qe,
451
- onKeydown: Ke
452
- }), [p("span", g({
450
+ onFocus: Z,
451
+ onKeydown: Je
452
+ }), [p("span", h({
453
453
  class: ["bb-slider__thumb bb-slider__thumb--lower", { "bb-slider__thumb--focused": U.value === "lower" }],
454
454
  style: {
455
455
  transform: `translateY(-50%) ${e.disableThumbTranslate ? "translateX(-50%)" : `translateX(-${L.value}%)`}`,
456
456
  left: "0"
457
457
  }
458
- }, x(O).thumb), [b(e.$slots, "thumb:lower", {
458
+ }, b(O).thumb), [y(e.$slots, "thumb:lower", {
459
459
  focused: U.value === "lower",
460
460
  percent: L.value,
461
461
  value: z.value
462
- }, () => [b(e.$slots, "thumb", {
462
+ }, () => [y(e.$slots, "thumb", {
463
463
  focused: U.value === "lower",
464
464
  percent: L.value,
465
465
  value: z.value
466
- })])], 16)], 16, we)) : d("", !0),
467
- p("span", g(Be.value, {
466
+ })])], 16)], 16, Te)) : d("", !0),
467
+ p("span", h(Ve.value, {
468
468
  key: "thumbhigher",
469
469
  ref_key: "thumbhigher",
470
470
  ref: F,
@@ -472,49 +472,49 @@ var Se = [
472
472
  "aria-disabled": e.disabled ? "true" : void 0,
473
473
  "aria-labelledby": j(t, "higher"),
474
474
  "aria-orientation": "horizontal",
475
- "aria-readonly": e.readonly ? "true" : void 0,
475
+ "aria-readonly": b(E) ? "true" : void 0,
476
476
  "aria-valuemax": e.max,
477
477
  "aria-valuemin": e.min,
478
478
  "aria-valuenow": B.value,
479
479
  class: "bb-slider__thumb-container",
480
480
  "data-thumb": "higher",
481
481
  role: "slider",
482
- style: { left: Ie(R.value) },
482
+ style: { left: Le(R.value) },
483
483
  tabindex: e.disabled ? -1 : 0,
484
- onFocus: qe,
485
- onKeydown: Ke
486
- }), [p("span", g({
484
+ onFocus: Z,
485
+ onKeydown: Je
486
+ }), [p("span", h({
487
487
  class: ["bb-slider__thumb bb-slider__thumb--higher", { "bb-slider__thumb--focused": U.value === "higher" }],
488
488
  style: {
489
489
  transform: `translateY(-50%) ${e.disableThumbTranslate ? "translateX(-50%)" : `translateX(-${R.value}%)`}`,
490
490
  left: "0"
491
491
  }
492
- }, x(O).thumb), [b(e.$slots, "thumb:higher", {
492
+ }, b(O).thumb), [y(e.$slots, "thumb:higher", {
493
493
  focused: U.value === "higher",
494
494
  percent: R.value,
495
495
  value: B.value
496
- }, () => [b(e.$slots, "thumb", {
496
+ }, () => [y(e.$slots, "thumb", {
497
497
  focused: U.value === "higher",
498
498
  percent: R.value,
499
499
  value: B.value
500
- })])], 16)], 16, Te)
500
+ })])], 16)], 16, Ee)
501
501
  ], 16),
502
- b(e.$slots, "append", {
503
- decrease: q,
504
- increase: Ue
502
+ y(e.$slots, "append", {
503
+ decrease: Ge,
504
+ increase: We
505
505
  }),
506
- x(T).range ? (v(), f(de, { key: 0 }, [p("span", {
506
+ b(w).range ? (_(), f(de, { key: 0 }, [p("span", {
507
507
  id: `${t}__thumb_label_lower`,
508
508
  hidden: ""
509
- }, ye(x(A)("slider.minimumThumb").value), 9, Ee), p("span", {
509
+ }, be(b(A)("slider.minimumThumb").value), 9, De), p("span", {
510
510
  id: `${t}__thumb_label_higher`,
511
511
  hidden: ""
512
- }, ye(x(A)("slider.maximumThumb").value), 9, De)], 64)) : d("", !0)
512
+ }, be(b(A)("slider.maximumThumb").value), 9, Oe)], 64)) : d("", !0)
513
513
  ], 2)]),
514
514
  _: 2
515
515
  }, [e.$slots.description ? {
516
516
  name: "description",
517
- fn: S((t) => [b(e.$slots, "description", _(h(t)))]),
517
+ fn: x((t) => [y(e.$slots, "description", g(m(t)))]),
518
518
  key: "0"
519
519
  } : void 0]), 1040, [
520
520
  "id",
@@ -543,4 +543,4 @@ var Se = [
543
543
  }
544
544
  });
545
545
  //#endregion
546
- export { C as default };
546
+ export { S as default };