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
@@ -4,8 +4,8 @@ import { useId as n } from "../../composables/useId.js";
4
4
  import { removedPropsFor as r } from "../../deprecation/removedProps.js";
5
5
  import { slotKey as i } from "../../utilities/functions/slotKey.js";
6
6
  import { warnRemovedAttrs as a } from "../../utilities/functions/warnRemovedAttrs.js";
7
- import o from "../BbBaseButton/BbBaseButton.vue.js";
8
- import { useLocale as s } from "../../composables/useLocale.js";
7
+ import { useLocale as o } from "../../composables/useLocale.js";
8
+ import s from "../BbBaseButton/BbBaseButton.vue.js";
9
9
  import { isCoarseType as c } from "../../types/DatePickerType.js";
10
10
  import { toInnerValue as l, toOuterValue as ee } from "../../utilities/functions/convertDateValue.js";
11
11
  import te from "../CommonTimeSelector/CommonTimeSelector.vue.js";
@@ -15,37 +15,37 @@ import re from "./CalendarMonthPanel.vue.js";
15
15
  import ie from "./CalendarYearPanel.vue.js";
16
16
  import { checkCalendarProps as ae, useCalendarHost as oe } from "./calendarHost.js";
17
17
  import { longDateOf as se, useDayjsLocale as ce, weekStartOf as le } from "./useDayjsLocale.js";
18
- import { CALENDAR_GRID as d, useCalendarGrid as ue } from "./useCalendarGrid.js";
19
- import { useDayGrid as de } from "./useDayGrid.js";
20
- import { BB_CALENDAR_PT as f } from "./types.js";
21
- import { Fragment as p, computed as m, createBlock as h, createCommentVNode as g, createElementBlock as _, createElementVNode as v, createTextVNode as y, createVNode as b, defineComponent as x, inject as fe, mergeProps as S, normalizeClass as C, openBlock as w, provide as pe, proxyRefs as T, ref as me, renderList as E, renderSlot as D, toDisplayString as O, unref as k, useAttrs as he, watch as ge, withCtx as A, withKeys as j, withModifiers as M } from "vue";
18
+ import { CALENDAR_GRID as ue, useCalendarGrid as de } from "./useCalendarGrid.js";
19
+ import { useDayGrid as fe } from "./useDayGrid.js";
20
+ import { BB_CALENDAR_PT as d } from "./types.js";
21
+ import { Fragment as f, computed as p, createBlock as m, createCommentVNode as h, createElementBlock as g, createElementVNode as _, createTextVNode as v, createVNode as y, defineComponent as b, inject as pe, mergeProps as x, normalizeClass as S, openBlock as C, provide as me, proxyRefs as w, ref as he, renderList as T, renderSlot as E, toDisplayString as D, unref as O, useAttrs as ge, watch as _e, withCtx as k, withKeys as A, withModifiers as j } from "vue";
22
22
  //#region src/components/BbCalendar/BbCalendar.vue?vue&type=script&setup=true&lang.ts
23
- var _e = ["role"], ve = {
23
+ var ve = ["role"], ye = {
24
24
  "aria-live": "polite",
25
25
  class: "bb-sr-only"
26
- }, ye = {
26
+ }, be = {
27
27
  "aria-live": "polite",
28
28
  class: "bb-sr-only"
29
- }, be = { class: "bb-calendar__body" }, xe = { class: "bb-sr-only" }, Se = { class: "bb-calendar__nav-center" }, Ce = { class: "bb-sr-only" }, we = { class: "bb-calendar__content" }, Te = [
29
+ }, xe = { class: "bb-calendar__body" }, Se = { class: "bb-sr-only" }, Ce = { class: "bb-calendar__nav-center" }, we = { class: "bb-sr-only" }, Te = { class: "bb-calendar__content" }, Ee = [
30
30
  "aria-label",
31
31
  "inert",
32
32
  "onKeydown",
33
33
  "onMouseleave",
34
34
  "onMouseover"
35
- ], Ee = {
35
+ ], De = {
36
36
  class: "bb-calendar__header-container",
37
37
  role: "row"
38
- }, De = ["abbr", "aria-label"], Oe = ["aria-current", "aria-selected"], ke = [
38
+ }, Oe = ["abbr", "aria-label"], ke = ["aria-current", "aria-selected"], Ae = [
39
39
  "aria-label",
40
40
  "data-date",
41
41
  "disabled",
42
42
  "tabindex",
43
43
  "onClick"
44
- ], Ae = { class: "bb-calendar__day-append" }, je = {
44
+ ], je = { class: "bb-calendar__day-append" }, Me = {
45
45
  "aria-live": "polite",
46
46
  class: "bb-sr-only",
47
47
  role: "status"
48
- }, Me = ["id"], N = /*@__PURE__*/ x({
48
+ }, Ne = ["id"], M = /*@__PURE__*/ b({
49
49
  inheritAttrs: !1,
50
50
  __name: "BbCalendar",
51
51
  props: {
@@ -185,47 +185,47 @@ var _e = ["role"], ve = {
185
185
  "grid-pick",
186
186
  "time-pick"
187
187
  ],
188
- setup(N, { emit: Ne }) {
189
- let P = N, F = Ne;
188
+ setup(M, { emit: Pe }) {
189
+ let N = M, P = Pe;
190
190
  process.env.NODE_ENV !== "production" && a("BbCalendar", r("BbCalendar"));
191
- let I = he(), L = (e, t = "") => `${i(e)}${t}`, R = e({
191
+ let F = ge(), I = (e, t = "") => `${i(e)}${t}`, L = e({
192
192
  component: "BbCalendar",
193
- props: P,
194
- parts: f.parts,
195
- states: f.states,
196
- active: { disabled: () => !!P.disabled },
197
- attrs: I
198
- }), Pe = m(() => I["aria-label"] != null || I["aria-labelledby"] != null), z = (e) => ({
193
+ props: N,
194
+ parts: d.parts,
195
+ states: d.states,
196
+ active: { disabled: () => !!N.disabled },
197
+ attrs: F
198
+ }), Fe = p(() => F["aria-label"] != null || F["aria-labelledby"] != null), Ie = (e) => ({
199
199
  outside: e.outside,
200
200
  today: e.today,
201
201
  inRange: e.middle,
202
202
  selected: e.selected,
203
203
  rangeStart: e.first,
204
204
  rangeEnd: e.last,
205
- disabled: P.disabled || e.disabled || void 0,
205
+ disabled: N.disabled || e.disabled || void 0,
206
206
  highlighted: e.current
207
- }), B = t();
207
+ }), Le = t();
208
208
  ce();
209
- let V = m(() => P.type === "datetime"), Fe = m(() => P.floating || c(P.type)), H = oe();
210
- H || ae("BbCalendar", P);
211
- let { t: U } = s(), W = `bcal-${n().id.value}`, G = m(() => P.activeSegment ?? K.value), K = me("start"), Ie = (e) => {
212
- K.value = e, F("update:activeSegment", e);
213
- }, Le = m(() => c(P.type) ? P.min : P.min?.slice(0, 10)), Re = m(() => c(P.type) ? P.max : P.max?.slice(0, 10)), ze = m(() => (P.range || P.multiple) && !Array.isArray(P.modelValue) ? [] : P.modelValue), q = (e) => +(e === "end"), J = (e) => {
214
- let t = P.modelValue;
215
- return t == null ? null : Array.isArray(t) ? t[q(e)] ?? null : e === "start" ? t : null;
216
- }, Be = (e) => {
217
- let t = P.time;
209
+ let R = p(() => N.type === "datetime"), Re = p(() => N.floating || c(N.type)), z = oe();
210
+ z || ae("BbCalendar", N);
211
+ let { t: B } = o(), V = `bcal-${n().id.value}`, H = p(() => N.activeSegment ?? U.value), U = he("start"), ze = (e) => {
212
+ U.value = e, P("update:activeSegment", e);
213
+ }, Be = p(() => c(N.type) ? N.min : N.min?.slice(0, 10)), Ve = p(() => c(N.type) ? N.max : N.max?.slice(0, 10)), He = p(() => (N.range || N.multiple) && !Array.isArray(N.modelValue) ? [] : N.modelValue), W = (e) => +(e === "end"), G = (e) => {
214
+ let t = N.modelValue;
215
+ return t == null ? null : Array.isArray(t) ? t[W(e)] ?? null : e === "start" ? t : null;
216
+ }, Ue = (e) => {
217
+ let t = N.time;
218
218
  if (t != null) {
219
- if (Array.isArray(t)) return t[q(e)] ?? null;
219
+ if (Array.isArray(t)) return t[W(e)] ?? null;
220
220
  if (e === "start" && typeof t == "string") return t;
221
221
  }
222
- if (P.floating) return null;
223
- let n = J(e);
222
+ if (N.floating) return null;
223
+ let n = G(e);
224
224
  if (!n) return null;
225
225
  let r = l(n);
226
- return r.isValid() ? r.format(P.seconds ? "HH:mm:ss" : "HH:mm") : null;
227
- }, Y = (e) => {
228
- let t = Be(e);
226
+ return r.isValid() ? r.format(N.seconds ? "HH:mm:ss" : "HH:mm") : null;
227
+ }, K = (e) => {
228
+ let t = Ue(e);
229
229
  if (!t) return null;
230
230
  let [n = "", r = "", i = ""] = t.split(":");
231
231
  return {
@@ -233,59 +233,59 @@ var _e = ["role"], ve = {
233
233
  minute: r,
234
234
  second: i
235
235
  };
236
- }, Ve = (e, t) => {
237
- let n = l(e, { floating: P.floating });
236
+ }, q = (e, t) => {
237
+ let n = l(e, { floating: N.floating });
238
238
  if (!n.isValid()) return null;
239
- let r = t?.hour ? parseInt(t.hour, 10) : 0, i = t?.minute ? parseInt(t.minute, 10) : 0, a = P.seconds && t?.second ? parseInt(t.second, 10) : 0, o = n.hour(r).minute(i).second(a).millisecond(0);
239
+ let r = t?.hour ? parseInt(t.hour, 10) : 0, i = t?.minute ? parseInt(t.minute, 10) : 0, a = N.seconds && t?.second ? parseInt(t.second, 10) : 0, o = n.hour(r).minute(i).second(a).millisecond(0);
240
240
  return {
241
241
  value: ee(o, {
242
- floating: P.floating,
243
- utc: P.utc
242
+ floating: N.floating,
243
+ utc: N.utc
244
244
  }),
245
- time: P.seconds ? o.format("HH:mm:ss") : o.format("HH:mm")
245
+ time: N.seconds ? o.format("HH:mm:ss") : o.format("HH:mm")
246
246
  };
247
- }, He = () => ({
247
+ }, J = () => ({
248
248
  start: {
249
- date: J("start"),
250
- time: Y("start")
249
+ date: G("start"),
250
+ time: K("start")
251
251
  },
252
252
  end: {
253
- date: J("end"),
254
- time: Y("end")
253
+ date: G("end"),
254
+ time: K("end")
255
255
  }
256
- }), Ue = (e) => {
257
- if (P.range) {
256
+ }), Y = (e) => {
257
+ if (N.range) {
258
258
  let t = [], n = [];
259
259
  for (let r of ["start", "end"]) {
260
260
  let i = e[r];
261
261
  if (!i.date) continue;
262
- let a = Ve(i.date, i.time);
262
+ let a = q(i.date, i.time);
263
263
  a && (t.push(a.value), n.push(a.time));
264
264
  }
265
- F("update:modelValue", t), F("update:time", n);
265
+ P("update:modelValue", t), P("update:time", n);
266
266
  return;
267
267
  }
268
268
  let t = e.start;
269
269
  if (!t.date) {
270
- F("update:modelValue", null), F("update:time", null);
270
+ P("update:modelValue", null), P("update:time", null);
271
271
  return;
272
272
  }
273
- let n = Ve(t.date, t.time);
274
- F("update:modelValue", n ? n.value : null), F("update:time", n ? n.time : null);
273
+ let n = q(t.date, t.time);
274
+ P("update:modelValue", n ? n.value : null), P("update:time", n ? n.time : null);
275
275
  }, We = (e) => {
276
- if (P.range && e === null && (e = []), F("grid-pick", e), !V.value) {
277
- F("update:modelValue", e);
276
+ if (N.range && e === null && (e = []), P("grid-pick", e), !R.value) {
277
+ P("update:modelValue", e);
278
278
  return;
279
279
  }
280
280
  if (e === null) {
281
- F("update:modelValue", null), F("update:time", null);
281
+ P("update:modelValue", null), P("update:time", null);
282
282
  return;
283
283
  }
284
- let t = He();
285
- Array.isArray(e) ? (t.start.date = e[0] ?? null, t.end.date = e[1] ?? null, e[1] || (t.end.time = null)) : t.start.date = e, Ue(t);
286
- }, Ge = m(() => !!J(G.value)), X = m(() => Y(G.value)), Ke = m(() => X.value?.hour ?? ""), qe = m(() => X.value?.minute ?? ""), Je = m(() => X.value?.second ?? ""), Ye = m(() => ""), Xe = (e) => parseInt(e.slice(0, 2), 10) * 60 + parseInt(e.slice(3, 5), 10), Z = m(() => {
287
- if (!V.value) return {};
288
- let e = J(G.value);
284
+ let t = J();
285
+ Array.isArray(e) ? (t.start.date = e[0] ?? null, t.end.date = e[1] ?? null, e[1] || (t.end.time = null)) : t.start.date = e, Y(t);
286
+ }, Ge = p(() => !!G(H.value)), X = p(() => K(H.value)), Ke = p(() => X.value?.hour ?? ""), qe = p(() => X.value?.minute ?? ""), Je = p(() => X.value?.second ?? ""), Ye = p(() => ""), Xe = (e) => parseInt(e.slice(0, 2), 10) * 60 + parseInt(e.slice(3, 5), 10), Z = p(() => {
287
+ if (!R.value) return {};
288
+ let e = G(H.value);
289
289
  if (!e) return {};
290
290
  let t = l(e).format("YYYY-MM-DD"), n = (e) => {
291
291
  if (!e || e.length <= 10) return;
@@ -293,12 +293,12 @@ var _e = ["role"], ve = {
293
293
  return n.isValid() && n.format("YYYY-MM-DD") === t ? n.format("HH:mm") : void 0;
294
294
  };
295
295
  return {
296
- min: n(P.min),
297
- max: n(P.max)
296
+ min: n(N.min),
297
+ max: n(N.max)
298
298
  };
299
299
  }), Ze = (e) => {
300
- if (F("time-pick", e), !V.value) return;
301
- let t = G.value, n = He();
300
+ if (P("time-pick", e), !R.value) return;
301
+ let t = H.value, n = J();
302
302
  if (!n[t].date) return;
303
303
  let r = n[t].time ? { ...n[t].time } : {
304
304
  hour: "",
@@ -309,38 +309,38 @@ var _e = ["role"], ve = {
309
309
  let t = r.hour ? parseInt(r.hour, 10) : 0, n = e.value === "PM";
310
310
  n && t < 12 && (t += 12), !n && t >= 12 && (t -= 12), r.hour = String(t).padStart(2, "0");
311
311
  } else r[e.unit] = e.value;
312
- r.hour ||= "00", r.minute ||= "00", P.seconds && !r.second && (r.second = "00");
312
+ r.hour ||= "00", r.minute ||= "00", N.seconds && !r.second && (r.second = "00");
313
313
  let i = parseInt(r.hour, 10) * 60 + parseInt(r.minute, 10), { min: a, max: o } = Z.value, s = a && i < Xe(a) ? a : o && i > Xe(o) ? o : null;
314
- s && ([r.hour, r.minute] = s.split(":"), P.seconds && (r.second = "00")), n[t].time = r, Ue(n);
315
- }, Qe = m(() => {
316
- if (!V.value) return;
314
+ s && ([r.hour, r.minute] = s.split(":"), N.seconds && (r.second = "00")), n[t].time = r, Y(n);
315
+ }, Qe = p(() => {
316
+ if (!R.value) return;
317
317
  let e = [44, 44];
318
- return P.seconds && e.push(44), P.ampm && e.push(48), { "--rail-w": `${33 + e.reduce((e, t) => e + t, 0) + (e.length - 1) * 6}px` };
318
+ return N.seconds && e.push(44), N.ampm && e.push(48), { "--rail-w": `${33 + e.reduce((e, t) => e + t, 0) + (e.length - 1) * 6}px` };
319
319
  });
320
- ge(() => P.modelValue, (e) => {
321
- !P.range || !V.value || P.activeSegment != null || Array.isArray(e) && e.length === 2 && Ie("end");
320
+ _e(() => N.modelValue, (e) => {
321
+ !N.range || !R.value || N.activeSegment != null || Array.isArray(e) && e.length === 2 && ze("end");
322
322
  });
323
323
  let $e = {
324
- props: P,
325
- passthrough: R,
326
- firstDayOfWeek: () => P.firstDayOfWeek ?? le(B.locale),
327
- floating: () => Fe.value,
328
- min: () => Le.value,
329
- max: () => Re.value,
330
- modelValue: () => ze.value,
324
+ props: N,
325
+ passthrough: L,
326
+ firstDayOfWeek: () => N.firstDayOfWeek ?? le(Le.locale),
327
+ floating: () => Re.value,
328
+ min: () => Be.value,
329
+ max: () => Ve.value,
330
+ modelValue: () => He.value,
331
331
  pick: (e) => We(e)
332
- }, Q = ue($e);
333
- pe(d, Q);
334
- let $ = T(Q);
335
- H && ge(H.open, (e) => {
332
+ }, Q = de($e);
333
+ me(ue, Q);
334
+ let $ = w(Q);
335
+ z && _e(z.open, (e) => {
336
336
  e || Q.resetStatus();
337
337
  });
338
- let et = x({
338
+ let et = b({
339
339
  name: "BbCalendarDayGridScope",
340
340
  slots: Object,
341
341
  setup() {
342
- let e = fe(d);
343
- return { days: T(de({
342
+ let e = pe(ue);
343
+ return { days: w(fe({
344
344
  ...$e,
345
345
  cursor: e.cursor,
346
346
  setCursor: e.handleCursorUpdate,
@@ -351,61 +351,61 @@ var _e = ["role"], ve = {
351
351
  return this.$slots.default?.({ days: this.days });
352
352
  }
353
353
  });
354
- return (e, t) => (w(), _("div", S({
354
+ return (e, t) => (C(), g("div", x({
355
355
  class: ["bb-calendar", {
356
- "bb-calendar--datetime": V.value,
357
- "bb-calendar--seconds": V.value && e.seconds,
358
- "bb-calendar--ampm": V.value && e.ampm,
356
+ "bb-calendar--datetime": R.value,
357
+ "bb-calendar--seconds": R.value && e.seconds,
358
+ "bb-calendar--ampm": R.value && e.ampm,
359
359
  "bb-calendar--disabled": e.disabled
360
360
  }],
361
- role: Pe.value ? "group" : void 0,
361
+ role: Fe.value ? "group" : void 0,
362
362
  style: Qe.value
363
- }, k(R).rootAttrs), [v("div", { class: C(["bb-calendar__grid", k($).isCoarse ? `bb-calendar__grid--unit-${k($).homeMode}` : void 0]) }, [
364
- v("span", ve, O(k($).formattedYear), 1),
365
- v("div", ye, O(k($).cursorAnnouncement), 1),
366
- v("div", be, [e.type === "year" ? g("", !0) : (w(), _("div", S({
363
+ }, O(L).rootAttrs), [_("div", { class: S(["bb-calendar__grid", O($).isCoarse ? `bb-calendar__grid--unit-${O($).homeMode}` : void 0]) }, [
364
+ _("span", ye, D(O($).formattedYear), 1),
365
+ _("div", be, D(O($).cursorAnnouncement), 1),
366
+ _("div", xe, [e.type === "year" ? h("", !0) : (C(), g("div", x({
367
367
  key: 0,
368
368
  class: "bb-calendar__header"
369
- }, k(R).header), [
370
- b(o, S({
371
- "aria-label": k($).previousPageLabel,
369
+ }, O(L).header), [
370
+ y(s, x({
371
+ "aria-label": O($).previousPageLabel,
372
372
  class: "bb-calendar__arrow",
373
- disabled: e.disabled || k($).mode !== k($).homeMode || !k($).canPagePrevious,
374
- onClick: k($).goToPreviousPage
375
- }, k(R).part("arrow", { disabled: e.disabled || k($).mode !== k($).homeMode || !k($).canPagePrevious || void 0 })), {
376
- default: A(() => [t[2] ||= v("svg", {
373
+ disabled: e.disabled || O($).mode !== O($).homeMode || !O($).canPagePrevious,
374
+ onClick: O($).goToPreviousPage
375
+ }, O(L).part("arrow", { disabled: e.disabled || O($).mode !== O($).homeMode || !O($).canPagePrevious || void 0 })), {
376
+ default: k(() => [t[2] ||= _("svg", {
377
377
  fill: "none",
378
378
  height: "16",
379
379
  viewBox: "0 0 16 16",
380
380
  width: "16",
381
381
  xmlns: "http://www.w3.org/2000/svg"
382
- }, [v("path", {
382
+ }, [_("path", {
383
383
  d: "M10 12 6 8l4-4",
384
384
  stroke: "currentColor",
385
385
  "stroke-linecap": "round",
386
386
  "stroke-linejoin": "round",
387
387
  "stroke-width": "1.5"
388
- })], -1), v("span", xe, O(k($).previousPageLabel), 1)]),
388
+ })], -1), _("span", Se, D(O($).previousPageLabel), 1)]),
389
389
  _: 1
390
390
  }, 16, [
391
391
  "aria-label",
392
392
  "disabled",
393
393
  "onClick"
394
394
  ]),
395
- v("div", Se, [e.type === "month" ? g("", !0) : (w(), h(o, S({
395
+ _("div", Ce, [e.type === "month" ? h("", !0) : (C(), m(s, x({
396
396
  key: 0,
397
- ref: k($).setMonthHeadingButton,
398
- "aria-expanded": k($).mode === "month",
399
- "aria-label": k($).monthHeadingLabel,
400
- class: ["bb-calendar__month bb-calendar__heading-btn", { "bb-calendar__heading-btn--active": k($).mode === "month" }],
397
+ ref: O($).setMonthHeadingButton,
398
+ "aria-expanded": O($).mode === "month",
399
+ "aria-label": O($).monthHeadingLabel,
400
+ class: ["bb-calendar__month bb-calendar__heading-btn", { "bb-calendar__heading-btn--active": O($).mode === "month" }],
401
401
  disabled: e.disabled,
402
- onClick: t[0] ||= (e) => k($).toggleMode("month"),
403
- onKeydown: k($).onMonthHeadingKeydown
404
- }, k(R).part("month", {
405
- active: k($).mode === "month",
402
+ onClick: t[0] ||= (e) => O($).toggleMode("month"),
403
+ onKeydown: O($).onMonthHeadingKeydown
404
+ }, O(L).part("month", {
405
+ active: O($).mode === "month",
406
406
  disabled: e.disabled || void 0
407
407
  })), {
408
- default: A(() => [y(O(k($).formattedMonth), 1)]),
408
+ default: k(() => [v(D(O($).formattedMonth), 1)]),
409
409
  _: 1
410
410
  }, 16, [
411
411
  "aria-expanded",
@@ -413,19 +413,19 @@ var _e = ["role"], ve = {
413
413
  "class",
414
414
  "disabled",
415
415
  "onKeydown"
416
- ])), b(o, S({
417
- ref: k($).setYearHeadingButton,
418
- "aria-expanded": k($).mode === "year",
419
- "aria-label": k($).yearHeadingLabel,
420
- class: ["bb-calendar__year bb-calendar__heading-btn", { "bb-calendar__heading-btn--active": k($).mode === "year" }],
421
- disabled: e.disabled || !k($).canOpenYearPanel,
422
- onClick: t[1] ||= (e) => k($).toggleMode("year"),
423
- onKeydown: k($).onYearHeadingKeydown
424
- }, k(R).part("year", {
425
- active: k($).mode === "year",
426
- disabled: e.disabled || !k($).canOpenYearPanel || void 0
416
+ ])), y(s, x({
417
+ ref: O($).setYearHeadingButton,
418
+ "aria-expanded": O($).mode === "year",
419
+ "aria-label": O($).yearHeadingLabel,
420
+ class: ["bb-calendar__year bb-calendar__heading-btn", { "bb-calendar__heading-btn--active": O($).mode === "year" }],
421
+ disabled: e.disabled || !O($).canOpenYearPanel,
422
+ onClick: t[1] ||= (e) => O($).toggleMode("year"),
423
+ onKeydown: O($).onYearHeadingKeydown
424
+ }, O(L).part("year", {
425
+ active: O($).mode === "year",
426
+ disabled: e.disabled || !O($).canOpenYearPanel || void 0
427
427
  })), {
428
- default: A(() => [y(O(k($).formattedYear), 1)]),
428
+ default: k(() => [v(D(O($).formattedYear), 1)]),
429
429
  _: 1
430
430
  }, 16, [
431
431
  "aria-expanded",
@@ -434,73 +434,73 @@ var _e = ["role"], ve = {
434
434
  "disabled",
435
435
  "onKeydown"
436
436
  ])]),
437
- b(o, S({
438
- "aria-label": k($).nextPageLabel,
437
+ y(s, x({
438
+ "aria-label": O($).nextPageLabel,
439
439
  class: "bb-calendar__arrow",
440
- disabled: e.disabled || k($).mode !== k($).homeMode || !k($).canPageNext,
441
- onClick: k($).goToNextPage
442
- }, k(R).part("arrow", { disabled: e.disabled || k($).mode !== k($).homeMode || !k($).canPageNext || void 0 })), {
443
- default: A(() => [t[3] ||= v("svg", {
440
+ disabled: e.disabled || O($).mode !== O($).homeMode || !O($).canPageNext,
441
+ onClick: O($).goToNextPage
442
+ }, O(L).part("arrow", { disabled: e.disabled || O($).mode !== O($).homeMode || !O($).canPageNext || void 0 })), {
443
+ default: k(() => [t[3] ||= _("svg", {
444
444
  fill: "none",
445
445
  height: "16",
446
446
  viewBox: "0 0 16 16",
447
447
  width: "16",
448
448
  xmlns: "http://www.w3.org/2000/svg"
449
- }, [v("path", {
449
+ }, [_("path", {
450
450
  d: "M6 12l4-4-4-4",
451
451
  stroke: "currentColor",
452
452
  "stroke-linecap": "round",
453
453
  "stroke-linejoin": "round",
454
454
  "stroke-width": "1.5"
455
- })], -1), v("span", Ce, O(k($).nextPageLabel), 1)]),
455
+ })], -1), _("span", we, D(O($).nextPageLabel), 1)]),
456
456
  _: 1
457
457
  }, 16, [
458
458
  "aria-label",
459
459
  "disabled",
460
460
  "onClick"
461
461
  ])
462
- ], 16)), v("div", we, [
463
- k($).isCoarse ? g("", !0) : (w(), h(k(et), { key: 0 }, {
464
- default: A(({ days: t }) => [v("div", {
465
- id: W,
462
+ ], 16)), _("div", Te, [
463
+ O($).isCoarse ? h("", !0) : (C(), m(O(et), { key: 0 }, {
464
+ default: k(({ days: t }) => [_("div", {
465
+ id: V,
466
466
  ref: t.setCalendarEl,
467
- "aria-label": k(U)("datePicker.calendarLabel").value,
468
- class: C(["bb-calendar__days-selector", { "bb-calendar__days-selector--hidden": k($).mode !== "day" }]),
469
- inert: k($).mode !== "day",
467
+ "aria-label": O(B)("datePicker.calendarLabel").value,
468
+ class: S(["bb-calendar__days-selector", { "bb-calendar__days-selector--hidden": O($).mode !== "day" }]),
469
+ inert: O($).mode !== "day",
470
470
  role: "grid",
471
471
  onKeydown: [
472
472
  t.onDayTypeaheadKeydown,
473
- j(M(t.onArrowDown, ["prevent"]), ["down"]),
474
- j(M(t.onEnd, ["prevent"]), ["end"]),
475
- j(M(t.onHome, ["prevent"]), ["home"]),
476
- j(M(t.onArrowLeft, ["prevent"]), ["left"]),
477
- j(M(t.onPageDown, ["prevent"]), ["page-down"]),
478
- j(M(t.onPageUp, ["prevent"]), ["page-up"]),
479
- j(M(t.onArrowRight, ["prevent"]), ["right"]),
480
- j(M(t.onArrowUp, ["prevent"]), ["up"])
473
+ A(j(t.onArrowDown, ["prevent"]), ["down"]),
474
+ A(j(t.onEnd, ["prevent"]), ["end"]),
475
+ A(j(t.onHome, ["prevent"]), ["home"]),
476
+ A(j(t.onArrowLeft, ["prevent"]), ["left"]),
477
+ A(j(t.onPageDown, ["prevent"]), ["page-down"]),
478
+ A(j(t.onPageUp, ["prevent"]), ["page-up"]),
479
+ A(j(t.onArrowRight, ["prevent"]), ["right"]),
480
+ A(j(t.onArrowUp, ["prevent"]), ["up"])
481
481
  ],
482
482
  onMouseleave: t.onGridMouseleave,
483
483
  onMouseover: t.onGridMouseover
484
- }, [b(ne, {
484
+ }, [y(ne, {
485
485
  direction: t.direction,
486
486
  gap: 30
487
487
  }, {
488
- default: A(() => [(w(), _("div", {
489
- key: k($).cursor.month().toString(),
488
+ default: k(() => [(C(), g("div", {
489
+ key: O($).cursor.month().toString(),
490
490
  class: "bb-calendar__month-grid",
491
491
  role: "none"
492
- }, [v("div", Ee, [(w(!0), _(p, null, E(t.mappedHeaders, (e) => (w(), _("div", S({
492
+ }, [_("div", De, [(C(!0), g(f, null, T(t.mappedHeaders, (e) => (C(), g("div", x({
493
493
  key: e.id,
494
494
  abbr: e.accessibleLabel,
495
495
  "aria-label": e.accessibleLabel,
496
496
  class: "bb-calendar__cell-column-header",
497
497
  role: "columnheader",
498
498
  ref_for: !0
499
- }, k(R).cellColumnHeader), O(e.label), 17, De))), 128))]), (w(!0), _(p, null, E(t.dates, (n) => (w(), _("div", {
499
+ }, O(L).cellColumnHeader), D(e.label), 17, Oe))), 128))]), (C(!0), g(f, null, T(t.dates, (n) => (C(), g("div", {
500
500
  key: n[0].id,
501
501
  class: "bb-calendar__week",
502
502
  role: "row"
503
- }, [(w(!0), _(p, null, E(n, (n) => (w(), _("div", S({
503
+ }, [(C(!0), g(f, null, T(n, (n) => (C(), g("div", x({
504
504
  key: n.id,
505
505
  "aria-current": n.today ? "date" : void 0,
506
506
  "aria-selected": n.selected,
@@ -519,8 +519,8 @@ var _e = ["role"], ve = {
519
519
  }],
520
520
  role: "gridcell",
521
521
  ref_for: !0
522
- }, k(R).part("day", z(n))), [v("button", S({
523
- "aria-label": `${k(se)(n.original, k(B).locale)}${n.selected ? `, ${k(U)("datePicker.selectedLabel").value}` : ""}`,
522
+ }, O(L).part("day", Ie(n))), [_("button", x({
523
+ "aria-label": `${O(se)(n.original, O(Le).locale)}${n.selected ? `, ${O(B)("datePicker.selectedLabel").value}` : ""}`,
524
524
  class: "bb-calendar__day-button",
525
525
  "data-date": n.id,
526
526
  disabled: e.disabled || n.disabled,
@@ -528,7 +528,7 @@ var _e = ["role"], ve = {
528
528
  type: "button",
529
529
  onClick: t.onButtonClick,
530
530
  ref_for: !0
531
- }, k(R).part("dayButton", z(n))), [D(e.$slots, L(n.id), {
531
+ }, O(L).part("dayButton", Ie(n))), [E(e.$slots, I(n.id), {
532
532
  first: n.first,
533
533
  item: n.original,
534
534
  label: n.label,
@@ -536,7 +536,7 @@ var _e = ["role"], ve = {
536
536
  middle: n.middle,
537
537
  outside: n.outside,
538
538
  selected: n.selected
539
- }, () => [D(e.$slots, "day", {
539
+ }, () => [E(e.$slots, "day", {
540
540
  first: n.first,
541
541
  item: n.original,
542
542
  label: n.label,
@@ -544,7 +544,7 @@ var _e = ["role"], ve = {
544
544
  middle: n.middle,
545
545
  outside: n.outside,
546
546
  selected: n.selected
547
- }, () => [y(O(n.label), 1)])])], 16, ke), v("div", Ae, [D(e.$slots, L(n.id, ":append"), {
547
+ }, () => [v(D(n.label), 1)])])], 16, Ae), _("div", je, [E(e.$slots, I(n.id, ":append"), {
548
548
  first: n.first,
549
549
  item: n.original,
550
550
  label: n.label,
@@ -552,7 +552,7 @@ var _e = ["role"], ve = {
552
552
  middle: n.middle,
553
553
  outside: n.outside,
554
554
  selected: n.selected
555
- }, () => [D(e.$slots, "day:append", {
555
+ }, () => [E(e.$slots, "day:append", {
556
556
  first: n.first,
557
557
  item: n.original,
558
558
  label: n.label,
@@ -560,28 +560,28 @@ var _e = ["role"], ve = {
560
560
  middle: n.middle,
561
561
  outside: n.outside,
562
562
  selected: n.selected
563
- })])])], 16, Oe))), 128))]))), 128))]))]),
563
+ })])])], 16, ke))), 128))]))), 128))]))]),
564
564
  _: 2
565
- }, 1032, ["direction"]), v("div", je, O(t.rangePending ? k(U)("datePicker.selectEndDate").value : ""), 1)], 42, Te)]),
565
+ }, 1032, ["direction"]), _("div", Me, D(t.rangePending ? O(B)("datePicker.selectEndDate").value : ""), 1)], 42, Ee)]),
566
566
  _: 3
567
567
  })),
568
- b(u, { duration: 150 }, {
569
- default: A(() => [k($).mode === "month" ? (w(), h(re, { key: 0 })) : g("", !0)]),
568
+ y(u, { duration: 150 }, {
569
+ default: k(() => [O($).mode === "month" ? (C(), m(re, { key: 0 })) : h("", !0)]),
570
570
  _: 1
571
571
  }),
572
- b(u, { duration: 150 }, {
573
- default: A(() => [k($).mode === "year" ? (w(), h(ie, { key: 0 })) : g("", !0)]),
572
+ y(u, { duration: 150 }, {
573
+ default: k(() => [O($).mode === "year" ? (C(), m(ie, { key: 0 })) : h("", !0)]),
574
574
  _: 1
575
575
  })
576
576
  ])]),
577
- v("div", {
578
- id: `${W}-status`,
577
+ _("div", {
578
+ id: `${V}-status`,
579
579
  "aria-atomic": "true",
580
580
  "aria-live": "polite",
581
581
  class: "bb-sr-only",
582
582
  role: "status"
583
- }, O(k($).modeAnnouncement), 9, Me)
584
- ], 2), V.value ? (w(), h(te, {
583
+ }, D(O($).modeAnnouncement), 9, Ne)
584
+ ], 2), R.value ? (C(), m(te, {
585
585
  key: 0,
586
586
  ampm: e.ampm,
587
587
  disabled: e.disabled || e.readonly || !Ge.value,
@@ -590,7 +590,7 @@ var _e = ["role"], ve = {
590
590
  meridiem: Ye.value,
591
591
  min: Z.value.min,
592
592
  minute: qe.value,
593
- passthrough: k(R),
593
+ passthrough: O(L),
594
594
  second: Je.value,
595
595
  seconds: e.seconds,
596
596
  step: e.step,
@@ -607,8 +607,8 @@ var _e = ["role"], ve = {
607
607
  "second",
608
608
  "seconds",
609
609
  "step"
610
- ])) : g("", !0)], 16, _e));
610
+ ])) : h("", !0)], 16, ve));
611
611
  }
612
612
  });
613
613
  //#endregion
614
- export { N as default };
614
+ export { M as default };