bitboss-ui 3.0.0-beta.67 → 3.0.0-beta.68

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 (541) hide show
  1. package/README.md +1 -1
  2. package/bin/bitboss-ui-mcp.mjs +87 -19
  3. package/bin/bitboss-ui.mjs +6 -2
  4. package/dist/ai/BbAlert.md +15 -11
  5. package/dist/ai/BbAsterisk.md +1 -1
  6. package/dist/ai/BbAvatar.md +2 -2
  7. package/dist/ai/BbBadge.md +4 -4
  8. package/dist/ai/BbBaseCheckboxIcon.md +4 -0
  9. package/dist/ai/BbBaseRadioIcon.md +7 -3
  10. package/dist/ai/BbBaseSwitchIcon.md +11 -2
  11. package/dist/ai/BbBreadcrumbs.md +2 -2
  12. package/dist/ai/BbButton.md +62 -9
  13. package/dist/ai/BbCalendar.md +1 -1
  14. package/dist/ai/BbCheckbox.md +23 -5
  15. package/dist/ai/BbCheckboxGroup.md +52 -25
  16. package/dist/ai/BbColorInput.md +13 -12
  17. package/dist/ai/BbColorPalette.md +5 -5
  18. package/dist/ai/BbConfigScope.md +218 -0
  19. package/dist/ai/BbConfirm.md +24 -21
  20. package/dist/ai/BbDatePicker.md +4 -4
  21. package/dist/ai/BbDatePickerInput.md +16 -15
  22. package/dist/ai/BbDialog.md +10 -9
  23. package/dist/ai/BbDropdown.md +26 -16
  24. package/dist/ai/BbDropdownButton.md +18 -18
  25. package/dist/ai/BbDropzone.md +1 -1
  26. package/dist/ai/BbForm.md +6 -4
  27. package/dist/ai/BbHost.md +19 -13
  28. package/dist/ai/BbIcon.md +3 -3
  29. package/dist/ai/BbIndicator.md +4 -4
  30. package/dist/ai/BbNumberInput.md +17 -13
  31. package/dist/ai/BbOffCanvas.md +4 -3
  32. package/dist/ai/BbPagination.md +10 -2
  33. package/dist/ai/BbPopover.md +5 -5
  34. package/dist/ai/BbRadio.md +23 -4
  35. package/dist/ai/BbRadioGroup.md +69 -30
  36. package/dist/ai/BbRating.md +5 -5
  37. package/dist/ai/BbSelect.md +74 -39
  38. package/dist/ai/BbSelectPopover.md +28 -26
  39. package/dist/ai/BbSlider.md +258 -61
  40. package/dist/ai/BbSpinner.md +2 -2
  41. package/dist/ai/BbSwitch.md +27 -4
  42. package/dist/ai/BbSwitchGroup.md +22 -13
  43. package/dist/ai/BbTable.md +10 -5
  44. package/dist/ai/BbTabs.md +6 -6
  45. package/dist/ai/BbTabsRoot.md +1 -1
  46. package/dist/ai/BbTag.md +12 -11
  47. package/dist/ai/BbTextInput.md +25 -17
  48. package/dist/ai/BbTextarea.md +15 -14
  49. package/dist/ai/BbTimePicker.md +3 -3
  50. package/dist/ai/BbTimePickerInput.md +12 -11
  51. package/dist/ai/BbToast.md +65 -26
  52. package/dist/ai/BbTooltip.md +2 -2
  53. package/dist/ai/CommonField.md +2 -2
  54. package/dist/ai/CommonFieldInput.md +2 -1
  55. package/dist/ai/FlatListBox.md +4 -3
  56. package/dist/ai/GroupedListBox.md +4 -3
  57. package/dist/ai/ListBox.md +5 -4
  58. package/dist/ai/OptionsContainer.md +17 -1
  59. package/dist/ai/changelog.json +454 -7
  60. package/dist/ai/components.json +77 -69
  61. package/dist/ai/composables/useBbConfig.md +3 -3
  62. package/dist/ai/composables/useBbDialog.md +1 -1
  63. package/dist/ai/composables/useBbFormField.md +1 -1
  64. package/dist/ai/composables/useConfirm.md +1 -1
  65. package/dist/ai/composables/useToast.md +16 -16
  66. package/dist/ai/design-tokens.json +10 -5
  67. package/dist/ai/guides/agent-contract.md +8 -8
  68. package/dist/ai/guides/ai-router.md +1 -1
  69. package/dist/ai/guides/app-layout.md +1 -1
  70. package/dist/ai/guides/design-language.md +17 -13
  71. package/dist/ai/guides/design-tokens.md +81 -42
  72. package/dist/ai/guides/eslint-rules.md +3 -1
  73. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  74. package/dist/ai/guides/icons-policy.md +1 -1
  75. package/dist/ai/guides/inline-edit-playbook.md +1 -1
  76. package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
  77. package/dist/ai/guides/migration/adoption-checklist.md +5 -5
  78. package/dist/ai/guides/migration/components/bb-alert.md +2 -2
  79. package/dist/ai/guides/migration/components/bb-badge.md +1 -1
  80. package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
  81. package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
  82. package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
  83. package/dist/ai/guides/migration/components/bb-host.md +10 -8
  84. package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
  85. package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
  86. package/dist/ai/guides/migration/components/bb-select.md +3 -3
  87. package/dist/ai/guides/migration/components/bb-slider.md +17 -2
  88. package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
  89. package/dist/ai/guides/migration/components/bb-toast.md +6 -6
  90. package/dist/ai/guides/migration/components/use-confirm.md +1 -1
  91. package/dist/ai/guides/migration/v2-to-v3.md +191 -56
  92. package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
  93. package/dist/ai/guides/passthrough.md +140 -131
  94. package/dist/ai/guides/typescript-generic-components.md +7 -7
  95. package/dist/ai/guides/validated-forms.md +5 -5
  96. package/dist/ai/guides/validation-libraries.md +4 -4
  97. package/dist/ai/helpers/inertia/manifest.json +1 -1
  98. package/dist/ai/index.md +3 -3
  99. package/dist/ai/manifest/common.json +9 -11
  100. package/dist/ai/manifest/components/BbAlert.json +3 -2
  101. package/dist/ai/manifest/components/BbAvatar.json +2 -1
  102. package/dist/ai/manifest/components/BbBadge.json +3 -2
  103. package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
  104. package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
  105. package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
  106. package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
  107. package/dist/ai/manifest/components/BbButton.json +4 -3
  108. package/dist/ai/manifest/components/BbButton.tree.json +3 -1
  109. package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
  110. package/dist/ai/manifest/components/BbCheckbox.json +4 -3
  111. package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
  112. package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
  113. package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
  114. package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
  115. package/dist/ai/manifest/components/BbColorInput.json +6 -5
  116. package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
  117. package/dist/ai/manifest/components/BbColorPalette.json +2 -1
  118. package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
  119. package/dist/ai/manifest/components/BbConfigScope.json +23 -0
  120. package/dist/ai/manifest/components/BbConfirm.json +2 -1
  121. package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
  122. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  123. package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
  124. package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
  125. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
  126. package/dist/ai/manifest/components/BbDialog.json +3 -2
  127. package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
  128. package/dist/ai/manifest/components/BbDropdown.json +7 -4
  129. package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
  130. package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
  131. package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
  132. package/dist/ai/manifest/components/BbDropzone.json +1 -0
  133. package/dist/ai/manifest/components/BbForm.json +1 -1
  134. package/dist/ai/manifest/components/BbHost.tree.json +1 -1
  135. package/dist/ai/manifest/components/BbIcon.json +2 -1
  136. package/dist/ai/manifest/components/BbIndicator.json +2 -1
  137. package/dist/ai/manifest/components/BbNumberInput.json +5 -4
  138. package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
  139. package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
  140. package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
  141. package/dist/ai/manifest/components/BbPagination.json +1 -1
  142. package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
  143. package/dist/ai/manifest/components/BbPopover.json +2 -1
  144. package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
  145. package/dist/ai/manifest/components/BbRadio.json +3 -2
  146. package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
  147. package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
  148. package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
  149. package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
  150. package/dist/ai/manifest/components/BbRating.json +3 -2
  151. package/dist/ai/manifest/components/BbSelect.json +11 -9
  152. package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
  153. package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
  154. package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
  155. package/dist/ai/manifest/components/BbSlider.json +20 -18
  156. package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
  157. package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
  158. package/dist/ai/manifest/components/BbSwitch.json +2 -1
  159. package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
  160. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
  161. package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
  162. package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
  163. package/dist/ai/manifest/components/BbTable.json +3 -2
  164. package/dist/ai/manifest/components/BbTable.tree.json +4 -3
  165. package/dist/ai/manifest/components/BbTabs.json +3 -2
  166. package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
  167. package/dist/ai/manifest/components/BbTag.json +6 -5
  168. package/dist/ai/manifest/components/BbTag.tree.json +3 -2
  169. package/dist/ai/manifest/components/BbTextInput.json +5 -4
  170. package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
  171. package/dist/ai/manifest/components/BbTextarea.json +6 -5
  172. package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
  173. package/dist/ai/manifest/components/BbTimePicker.json +2 -1
  174. package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
  175. package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
  176. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
  177. package/dist/ai/manifest/components/BbToast.json +2 -1
  178. package/dist/ai/manifest/components/BbToast.tree.json +6 -1
  179. package/dist/ai/manifest/components/BbTooltip.json +1 -0
  180. package/dist/ai/manifest/components/CommonField.json +2 -2
  181. package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
  182. package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
  183. package/dist/ai/manifest/components/FlatListBox.json +1 -1
  184. package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
  185. package/dist/ai/manifest/components/GroupedListBox.json +1 -1
  186. package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
  187. package/dist/ai/manifest/components/ListBox.json +1 -1
  188. package/dist/ai/manifest/components/ListBox.tree.json +2 -2
  189. package/dist/ai/manifest/components/OptionsContainer.json +3 -2
  190. package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
  191. package/dist/ai/manifest/index.json +3 -3
  192. package/dist/ai/manifest/meta.json +16 -7
  193. package/dist/ai/manifest/types.advanced.json +5 -6
  194. package/dist/ai/manifest/types.api.json +15 -6
  195. package/dist/ai/manifest/types.wrapper.json +2 -2
  196. package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
  197. package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
  198. package/dist/ai/recipes/inertia/onboarding.md +2 -2
  199. package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
  200. package/dist/ai/recipes/inertia/record-form.md +2 -2
  201. package/dist/ai/recipes/inertia/records-workspace.md +2 -2
  202. package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
  203. package/dist/ai/recipes/inertia/upload-center.md +3 -3
  204. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  205. package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
  206. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
  207. package/dist/ai/recipes/nuxt/onboarding.md +2 -2
  208. package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
  209. package/dist/ai/recipes/nuxt/record-form.md +2 -2
  210. package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
  211. package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
  212. package/dist/ai/recipes/nuxt/upload-center.md +4 -4
  213. package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
  214. package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
  215. package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
  216. package/dist/ai/recipes/vue/onboarding.md +2 -2
  217. package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
  218. package/dist/ai/recipes/vue/record-form.md +2 -2
  219. package/dist/ai/recipes/vue/records-workspace.md +2 -2
  220. package/dist/ai/recipes/vue/settings-workspace.md +5 -4
  221. package/dist/ai/recipes/vue/upload-center.md +4 -4
  222. package/dist/ai/recipes/vue/wizard-form.md +2 -2
  223. package/dist/ai/source/BbAlert.md +10 -4
  224. package/dist/ai/source/BbAvatar.md +5 -4
  225. package/dist/ai/source/BbBadge.md +16 -9
  226. package/dist/ai/source/BbBadgeButton.md +1 -1
  227. package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
  228. package/dist/ai/source/BbBaseRadioIcon.md +17 -11
  229. package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
  230. package/dist/ai/source/BbButton.md +38 -22
  231. package/dist/ai/source/BbCalendar.md +5 -30
  232. package/dist/ai/source/BbCheckbox.md +20 -7
  233. package/dist/ai/source/BbCheckboxGroup.md +66 -27
  234. package/dist/ai/source/BbColorInput.md +29 -22
  235. package/dist/ai/source/BbColorPalette.md +23 -22
  236. package/dist/ai/source/BbConfigScope.md +123 -0
  237. package/dist/ai/source/BbConfirm.md +5 -3
  238. package/dist/ai/source/BbDatePicker.md +18 -8
  239. package/dist/ai/source/BbDatePickerInput.md +44 -27
  240. package/dist/ai/source/BbDialog.md +23 -13
  241. package/dist/ai/source/BbDropdown.md +61 -25
  242. package/dist/ai/source/BbDropdownButton.md +67 -25
  243. package/dist/ai/source/BbDropdownGroup.md +38 -15
  244. package/dist/ai/source/BbForm.md +1 -1
  245. package/dist/ai/source/BbHost.md +4 -4
  246. package/dist/ai/source/BbHoverCard.md +6 -2
  247. package/dist/ai/source/BbIcon.md +5 -4
  248. package/dist/ai/source/BbIndicator.md +1 -1
  249. package/dist/ai/source/BbNumberInput.md +44 -30
  250. package/dist/ai/source/BbOffCanvas.md +17 -10
  251. package/dist/ai/source/BbPagination.md +10 -18
  252. package/dist/ai/source/BbPopover.md +17 -9
  253. package/dist/ai/source/BbPopoverPortal.md +2 -2
  254. package/dist/ai/source/BbRadio.md +18 -7
  255. package/dist/ai/source/BbRadioGroup.md +67 -27
  256. package/dist/ai/source/BbRating.md +21 -11
  257. package/dist/ai/source/BbSelect.md +51 -32
  258. package/dist/ai/source/BbSelectPopover.md +81 -38
  259. package/dist/ai/source/BbSlider.md +929 -565
  260. package/dist/ai/source/BbSwitchGroup.md +28 -9
  261. package/dist/ai/source/BbTable.md +17 -30
  262. package/dist/ai/source/BbTabs.md +5 -2
  263. package/dist/ai/source/BbTabsList.md +1 -1
  264. package/dist/ai/source/BbTabsPanels.md +1 -1
  265. package/dist/ai/source/BbTabsRoot.md +1 -1
  266. package/dist/ai/source/BbTag.md +27 -20
  267. package/dist/ai/source/BbTextInput.md +29 -26
  268. package/dist/ai/source/BbTextarea.md +53 -45
  269. package/dist/ai/source/BbTimePicker.md +19 -7
  270. package/dist/ai/source/BbTimePickerInput.md +34 -21
  271. package/dist/ai/source/BbToast.md +18 -9
  272. package/dist/ai/source/BbToastPortal.md +14 -6
  273. package/dist/ai/source/BbTooltip.md +1 -1
  274. package/dist/ai/source/CommonFieldInput.md +9 -4
  275. package/dist/ai/source/FlatListBox.md +11 -1
  276. package/dist/ai/source/GroupedListBox.md +12 -1
  277. package/dist/ai/source/ListBox.md +1 -1
  278. package/dist/ai/source/OptionsContainer.md +48 -1
  279. package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
  280. package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
  281. package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
  282. package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
  283. package/dist/assets/svgs/close.svg_raw.js +3 -0
  284. package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
  285. package/dist/assets/svgs/move.svg_raw.js +3 -0
  286. package/dist/assets/svgs/x.svg_raw.js +3 -0
  287. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
  288. package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
  289. package/dist/components/BbAlert/types.d.ts +1 -1
  290. package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
  291. package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
  292. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
  293. package/dist/components/BbBadge/types.d.ts +1 -1
  294. package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
  295. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
  296. package/dist/components/BbButton/types.d.ts +12 -10
  297. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
  298. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
  299. package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
  300. package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
  301. package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
  302. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
  303. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
  304. package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
  305. package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
  306. package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
  307. package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
  308. package/dist/components/BbColorInput/types.d.ts +8 -8
  309. package/dist/components/BbColorInput/types.js +1 -1
  310. package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
  311. package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
  312. package/dist/components/BbColorPalette/types.d.ts +2 -2
  313. package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
  314. package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
  315. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
  316. package/dist/components/BbConfigScope/types.d.ts +20 -0
  317. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +3 -3
  318. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
  319. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
  320. package/dist/components/BbDatePicker/types.d.ts +2 -2
  321. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
  322. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
  323. package/dist/components/BbDatePickerInput/types.d.ts +8 -8
  324. package/dist/components/BbDatePickerInput/types.js +1 -1
  325. package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
  326. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
  327. package/dist/components/BbDialog/types.d.ts +2 -2
  328. package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
  329. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
  330. package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
  331. package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
  332. package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
  333. package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
  334. package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
  335. package/dist/components/BbDropdown/pointerTrail.js +26 -0
  336. package/dist/components/BbDropdown/types.d.ts +25 -13
  337. package/dist/components/BbDropdown/types.js +11 -2
  338. package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
  339. package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
  340. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
  341. package/dist/components/BbDropdownButton/types.d.ts +30 -13
  342. package/dist/components/BbDropdownButton/types.js +7 -3
  343. package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
  344. package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
  345. package/dist/components/BbForm/BbFormCustomField.js +2 -2
  346. package/dist/components/BbForm/bindFormField.js +66 -66
  347. package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
  348. package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
  349. package/dist/components/BbHost/types.d.ts +2 -2
  350. package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
  351. package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +158 -157
  352. package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
  353. package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
  354. package/dist/components/BbIndicator/types.d.ts +1 -1
  355. package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
  356. package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
  357. package/dist/components/BbNumberInput/types.d.ts +12 -11
  358. package/dist/components/BbNumberInput/types.js +1 -1
  359. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
  360. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
  361. package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
  362. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
  363. package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
  364. package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
  365. package/dist/components/BbPopover/types.d.ts +2 -2
  366. package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
  367. package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
  368. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
  369. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
  370. package/dist/components/BbRadioGroup/types.d.ts +11 -5
  371. package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
  372. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
  373. package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
  374. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
  375. package/dist/components/BbSelect/types.d.ts +23 -19
  376. package/dist/components/BbSelect/types.js +4 -2
  377. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
  378. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
  379. package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
  380. package/dist/components/BbSelectPopover/reclickClears.js +4 -0
  381. package/dist/components/BbSelectPopover/types.d.ts +21 -16
  382. package/dist/components/BbSelectPopover/types.js +3 -1
  383. package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
  384. package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
  385. package/dist/components/BbSlider/types.d.ts +136 -47
  386. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
  387. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
  388. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
  389. package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
  390. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
  391. package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
  392. package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
  393. package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
  394. package/dist/components/BbTabs/types.d.ts +1 -1
  395. package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
  396. package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
  397. package/dist/components/BbTag/types.d.ts +7 -7
  398. package/dist/components/BbTag/types.js +1 -1
  399. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
  400. package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
  401. package/dist/components/BbTextInput/types.d.ts +9 -9
  402. package/dist/components/BbTextInput/types.js +1 -1
  403. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
  404. package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
  405. package/dist/components/BbTextarea/types.d.ts +8 -8
  406. package/dist/components/BbTextarea/types.js +1 -1
  407. package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
  408. package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
  409. package/dist/components/BbTimePicker/types.d.ts +2 -2
  410. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
  411. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
  412. package/dist/components/BbTimePickerInput/types.d.ts +8 -8
  413. package/dist/components/BbTimePickerInput/types.js +1 -1
  414. package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
  415. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
  416. package/dist/components/BbToast/types.d.ts +2 -2
  417. package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
  418. package/dist/components/BbTooltip/types.d.ts +1 -1
  419. package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
  420. package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
  421. package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
  422. package/dist/components/CommonFieldInput/types.d.ts +1 -1
  423. package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  424. package/dist/components/FlatListBox/types.d.ts +1 -1
  425. package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
  426. package/dist/components/GroupedListBox/types.d.ts +1 -1
  427. package/dist/components/ListBox/types.d.ts +1 -1
  428. package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
  429. package/dist/components/OptionsContainer/types.d.ts +5 -0
  430. package/dist/components/Transitions/Slide.vue.d.ts +1 -1
  431. package/dist/composables/useBbTabs.js +94 -90
  432. package/dist/composables/useConfig.js +2 -9
  433. package/dist/composables/useConfigDefaults.d.ts +54 -0
  434. package/dist/composables/useConfigDefaults.js +56 -0
  435. package/dist/composables/useConfirm.d.ts +7 -7
  436. package/dist/composables/useFormBinding.d.ts +1 -1
  437. package/dist/composables/useFormBinding.js +3 -3
  438. package/dist/composables/usePassthrough.d.ts +7 -5
  439. package/dist/composables/usePassthrough.js +137 -133
  440. package/dist/composables/useToast.d.ts +5 -4
  441. package/dist/composables/useToast.js +47 -37
  442. package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
  443. package/dist/deprecation/ai-deprecations.json.js +1 -1
  444. package/dist/directives/bbDropdown.js +7 -7
  445. package/dist/i18n/locales/cs.json +2 -1
  446. package/dist/i18n/locales/da.json +2 -1
  447. package/dist/i18n/locales/de-CH.json +2 -1
  448. package/dist/i18n/locales/de.json +2 -1
  449. package/dist/i18n/locales/el.json +2 -1
  450. package/dist/i18n/locales/en-GB.json +2 -1
  451. package/dist/i18n/locales/en.json +2 -1
  452. package/dist/i18n/locales/es-MX.json +2 -1
  453. package/dist/i18n/locales/es.json +2 -1
  454. package/dist/i18n/locales/fi.json +2 -1
  455. package/dist/i18n/locales/fr.json +2 -1
  456. package/dist/i18n/locales/hu.json +2 -1
  457. package/dist/i18n/locales/it.json +2 -1
  458. package/dist/i18n/locales/ja.json +2 -1
  459. package/dist/i18n/locales/ko.json +2 -1
  460. package/dist/i18n/locales/nb.json +2 -1
  461. package/dist/i18n/locales/nl.json +2 -1
  462. package/dist/i18n/locales/pl.json +2 -1
  463. package/dist/i18n/locales/pt-BR.json +2 -1
  464. package/dist/i18n/locales/pt-PT.json +2 -1
  465. package/dist/i18n/locales/ro.json +2 -1
  466. package/dist/i18n/locales/ru.json +2 -1
  467. package/dist/i18n/locales/sv.json +2 -1
  468. package/dist/i18n/locales/tr.json +2 -1
  469. package/dist/i18n/locales/uk.json +2 -1
  470. package/dist/i18n/locales/zh-CN.json +2 -1
  471. package/dist/i18n/locales/zh-HK.json +2 -1
  472. package/dist/i18n/locales/zh-TW.json +2 -1
  473. package/dist/index.d.ts +5 -5
  474. package/dist/index.js +2 -2
  475. package/dist/llms-full.txt +2273 -1243
  476. package/dist/llms-medium.txt +362 -184
  477. package/dist/llms.txt +4 -4
  478. package/dist/locale-blueprint.json +2 -1
  479. package/dist/nuxt-auto-imports.js +1 -1
  480. package/dist/nuxt-module.d.ts +1 -1
  481. package/dist/nuxt.js +17 -17
  482. package/dist/project-dts.d.ts +72 -10
  483. package/dist/project-dts.js +69 -21
  484. package/dist/styles.css +2 -2
  485. package/dist/types/AlertVariant.d.ts +1 -1
  486. package/dist/types/BadgeVariant.d.ts +1 -1
  487. package/dist/types/ButtonVariant.d.ts +1 -1
  488. package/dist/types/CheckboxVariant.d.ts +7 -4
  489. package/dist/types/CheckboxVariant.js +5 -1
  490. package/dist/types/Config.d.ts +17 -103
  491. package/dist/types/ConfigDefaults.d.ts +352 -0
  492. package/dist/types/ConfigDefaults.js +115 -0
  493. package/dist/types/ConfirmVariant.d.ts +1 -1
  494. package/dist/types/DropdownItemVariant.d.ts +1 -1
  495. package/dist/types/FieldLayout.d.ts +3 -3
  496. package/dist/types/IndicatorVariant.d.ts +1 -1
  497. package/dist/types/InputVariant.d.ts +57 -24
  498. package/dist/types/RadioVariant.d.ts +7 -4
  499. package/dist/types/RadioVariant.js +5 -1
  500. package/dist/types/SizeScale.d.ts +4 -0
  501. package/dist/types/SizeScale.js +17 -0
  502. package/dist/types/TabsVariant.d.ts +1 -1
  503. package/dist/types/ToastVariant.d.ts +1 -1
  504. package/dist/types/TooltipVariant.d.ts +1 -1
  505. package/dist/types/passthrough.d.ts +6 -6
  506. package/dist/types/ptComponentMap.d.ts +14 -14
  507. package/dist/utilities/functions/searchRank.d.ts +19 -0
  508. package/dist/utilities/functions/searchRank.js +76 -0
  509. package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
  510. package/dist/utils/configDefaults.d.ts +33 -0
  511. package/dist/utils/configDefaults.js +140 -0
  512. package/dist/utils/configScope.d.ts +43 -0
  513. package/dist/utils/configScope.js +13 -0
  514. package/dist/utils/passthrough.d.ts +4 -7
  515. package/dist/utils/passthrough.js +31 -29
  516. package/dist/utils/versionCheck.js +1 -1
  517. package/dist/vite-plugin.d.ts +54 -191
  518. package/dist/vite.js +318 -367
  519. package/llms.txt +4 -4
  520. package/package.json +3 -3
  521. package/scripts/lib/adoption-checklist.json +2 -2
  522. package/scripts/lib/agent-manifest.mjs +2 -0
  523. package/scripts/lib/eslint-disable.mjs +2 -0
  524. package/scripts/lib/eslint-plugin.d.ts +4 -2
  525. package/scripts/lib/eslint-plugin.mjs +67 -0
  526. package/scripts/lib/idiom-scan.mjs +8 -7
  527. package/scripts/lib/project-variant-dts.mjs +105 -36
  528. package/scripts/lib/validate-bb-markup.mjs +73 -13
  529. package/dist/ai/BbPtScope.md +0 -138
  530. package/dist/ai/manifest/components/BbPtScope.json +0 -21
  531. package/dist/ai/source/BbPtScope.md +0 -54
  532. package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
  533. package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
  534. package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
  535. package/dist/components/BbPtScope/types.d.ts +0 -15
  536. package/dist/types/PtScope.d.ts +0 -15
  537. package/dist/utilities/functions/head.js +0 -3
  538. package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
  539. package/dist/utilities/functions/matchAnyKey.js +0 -14
  540. package/dist/utils/ptScope.d.ts +0 -8
  541. package/dist/utils/ptScope.js +0 -3
@@ -3,32 +3,33 @@ import { removedPropsFor as t } from "../../deprecation/removedProps.js";
3
3
  import { warnRemovedAttrs as n } from "../../utilities/functions/warnRemovedAttrs.js";
4
4
  import { withoutPt as r } from "../../utils/passthrough.js";
5
5
  import { useConfig as i } from "../../composables/useConfig.js";
6
- import { useFormBinding as a } from "../../composables/useFormBinding.js";
7
- import { useClosingInert as o } from "../../composables/useClosingInert.js";
8
- import { useLocale as s } from "../../composables/useLocale.js";
9
- import { useLogger as ee } from "../../composables/useLogger.js";
10
- import { useEscapeStackEntry as te } from "../../composables/useEscapeStackEntry.js";
11
- import { useMobile as ne } from "../../composables/useMobile.js";
12
- import { SEGMENTED_CONTROL_NATIVE_ATTRS as re, formControlPtActive as ie, usePassthrough as ae, variantPt as c } from "../../composables/usePassthrough.js";
13
- import { useSegmentedFields as oe } from "../../composables/useSegmentedFields.js";
14
- import { isEmpty as se } from "../../utilities/functions/empty.js";
15
- import { isNotEmpty as ce } from "../../utilities/functions/isNotEmpty.js";
16
- import { transitions as le } from "../../utilities/misc/transitions.js";
17
- import ue from "../../assets/svgs/clock.svg_raw.js";
18
- import de from "../BbIcon/BbIcon.vue.js";
19
- import fe from "../BbOffCanvas/BbOffCanvas.vue.js";
20
- import { BB_OFF_CANVAS_PT as pe } from "../BbOffCanvas/types.js";
21
- import me from "../CommonField/CommonField.vue.js";
22
- import he from "../CommonFieldInput/CommonFieldInput.vue.js";
23
- import ge from "../CommonPopover/CommonPopover.vue.js";
24
- import _e from "../CommonTimeSelector/CommonTimeSelector.vue.js";
25
- import { useMeridiem as ve } from "../CommonTimeSelector/useMeridiem.js";
26
- import { spokenTimeOf as ye } from "../BbCalendar/useDayjsLocale.js";
6
+ import { useConfigDefaults as a } from "../../composables/useConfigDefaults.js";
7
+ import { useFormBinding as o } from "../../composables/useFormBinding.js";
8
+ import { useClosingInert as s } from "../../composables/useClosingInert.js";
9
+ import { useLocale as ee } from "../../composables/useLocale.js";
10
+ import { useLogger as te } from "../../composables/useLogger.js";
11
+ import { useEscapeStackEntry as ne } from "../../composables/useEscapeStackEntry.js";
12
+ import { useMobile as re } from "../../composables/useMobile.js";
13
+ import { SEGMENTED_CONTROL_NATIVE_ATTRS as ie, formControlPtActive as ae, usePassthrough as oe, variantPt as c } from "../../composables/usePassthrough.js";
14
+ import { useSegmentedFields as se } from "../../composables/useSegmentedFields.js";
15
+ import { isEmpty as ce } from "../../utilities/functions/empty.js";
16
+ import { isNotEmpty as le } from "../../utilities/functions/isNotEmpty.js";
17
+ import { transitions as ue } from "../../utilities/misc/transitions.js";
18
+ import de from "../../assets/svgs/clock.svg_raw.js";
19
+ import fe from "../BbIcon/BbIcon.vue.js";
20
+ import pe from "../BbOffCanvas/BbOffCanvas.vue.js";
21
+ import { BB_OFF_CANVAS_PT as me } from "../BbOffCanvas/types.js";
22
+ import he from "../CommonField/CommonField.vue.js";
23
+ import ge from "../CommonFieldInput/CommonFieldInput.vue.js";
24
+ import _e from "../CommonPopover/CommonPopover.vue.js";
25
+ import ve from "../CommonTimeSelector/CommonTimeSelector.vue.js";
26
+ import { useMeridiem as ye } from "../CommonTimeSelector/useMeridiem.js";
27
+ import { spokenTimeOf as be } from "../BbCalendar/useDayjsLocale.js";
27
28
  import { BB_TIME_PICKER_INPUT_PT as l } from "./types.js";
28
- import { Fragment as be, computed as u, createBlock as xe, createCommentVNode as Se, createElementBlock as d, createElementVNode as f, createSlots as Ce, createVNode as p, defineComponent as we, guardReactiveProps as m, mergeProps as h, normalizeClass as g, normalizeProps as _, normalizeStyle as Te, onBeforeUnmount as Ee, onDeactivated as De, openBlock as v, ref as y, renderList as Oe, renderSlot as b, toDisplayString as x, unref as S, useAttrs as ke, watch as C, withCtx as w, withDirectives as Ae, withModifiers as je } from "vue";
29
- import { createReusableTemplate as Me } from "@vueuse/core";
29
+ import { Fragment as xe, computed as u, createBlock as d, createCommentVNode as Se, createElementBlock as f, createElementVNode as p, createSlots as Ce, createVNode as m, defineComponent as we, guardReactiveProps as h, mergeProps as g, normalizeClass as Te, normalizeProps as Ee, normalizeStyle as De, onBeforeUnmount as Oe, onDeactivated as ke, openBlock as _, ref as v, renderList as Ae, renderSlot as y, toDisplayString as b, unref as x, useAttrs as je, watch as S, withCtx as C, withDirectives as Me, withModifiers as Ne } from "vue";
30
+ import { createReusableTemplate as Pe } from "@vueuse/core";
30
31
  // src/components/BbTimePickerInput/BbTimePickerInput.vue?vue&type=script&setup=true&lang.ts
31
- var Ne = ["data-value"], Pe = [
32
+ var Fe = ["data-value"], Ie = [
32
33
  "id",
33
34
  "aria-describedby",
34
35
  "aria-disabled",
@@ -51,13 +52,13 @@ var Ne = ["data-value"], Pe = [
51
52
  "onInput",
52
53
  "onKeydown",
53
54
  "onPaste"
54
- ], Fe = ["onClick"], Ie = [
55
+ ], Le = ["onClick"], Re = [
55
56
  "aria-controls",
56
57
  "aria-disabled",
57
58
  "aria-expanded",
58
59
  "aria-label",
59
60
  "disabled"
60
- ], Le = ["id"], T = /*@__PURE__*/ we({
61
+ ], ze = ["id"], w = /*@__PURE__*/ we({
61
62
  mixins: [c(l)],
62
63
  inheritAttrs: !1,
63
64
  __name: "BbTimePickerInput",
@@ -251,10 +252,13 @@ var Ne = ["data-value"], Pe = [
251
252
  },
252
253
  ampm: { type: Boolean },
253
254
  "append:icon": {},
254
- autocomplete: { default: "off" },
255
+ autocomplete: { default: void 0 },
255
256
  autofocus: { type: [Boolean, String] },
256
257
  clearable: { type: Boolean },
257
- compact: { type: Boolean },
258
+ compact: {
259
+ type: Boolean,
260
+ default: void 0
261
+ },
258
262
  variant: {},
259
263
  description: {},
260
264
  layout: {},
@@ -287,7 +291,10 @@ var Ne = ["data-value"], Pe = [
287
291
  range: { type: Boolean },
288
292
  readonly: { type: Boolean },
289
293
  required: { type: Boolean },
290
- reverse: { type: Boolean },
294
+ reverse: {
295
+ type: Boolean,
296
+ default: void 0
297
+ },
291
298
  seconds: { type: Boolean },
292
299
  step: {},
293
300
  transitionDuration: {},
@@ -308,70 +315,76 @@ var Ne = ["data-value"], Pe = [
308
315
  "update:modelValue"
309
316
  ],
310
317
  setup(c, { emit: we }) {
311
- let T = c, { props: E, emit: D, showAsterisk: Re, errors: ze, required: Be, ariaRequired: Ve, model: He, readonly: O, locked: Ue } = a(T, we, {
318
+ let w = c, { props: T, emit: E, showAsterisk: Be, errors: Ve, required: He, ariaRequired: Ue, model: We, readonly: Ge, locked: Ke } = o(w, we, {
312
319
  componentName: "BbTimePickerInput",
313
- identifierFallback: () => T.label,
320
+ identifierFallback: () => w.label,
314
321
  leaveOn: "inactive"
315
322
  });
316
323
  process.env.NODE_ENV !== "production" && n("BbTimePickerInput", t("BbTimePickerInput"));
317
- let k = i(), { t: A } = s(), We = ee(), j = y(!1), M = y(!1), N = () => {
318
- M.value = !1;
324
+ let qe = i(), { t: D } = ee(), Je = te(), O = v(!1), k = v(!1), A = () => {
325
+ k.value = !1;
319
326
  };
320
- De(() => {
321
- X.value = !1, j.value ? It() : N();
322
- }), Ee(N);
323
- let Ge = u(() => E.persistentHint || M.value), P = u(() => ce(E.modelValue)), Ke = u(() => E.labelMode ?? k.defaultInputLabelMode), F = ae({
327
+ ke(() => {
328
+ Z.value = !1, O.value ? Lt() : A();
329
+ }), Oe(A);
330
+ let Ye = u(() => T.persistentHint || k.value), j = u(() => le(T.modelValue)), M = a("BbTimePickerInput", T, {
331
+ labelMode: "outside",
332
+ adaptive: !0,
333
+ autocomplete: "off",
334
+ compact: !1,
335
+ reverse: !1
336
+ }), Xe = u(() => M.labelMode), N = oe({
324
337
  component: "BbTimePickerInput",
325
- attrs: ke(),
326
- controlAttrs: re,
327
- props: E,
338
+ attrs: je(),
339
+ controlAttrs: ie,
340
+ props: T,
328
341
  parts: l.parts,
329
342
  states: l.states,
330
343
  active: {
331
- ...ie(E, () => P.value),
332
- open: () => X.value
344
+ ...ae(T, () => j.value),
345
+ open: () => Z.value
333
346
  },
334
347
  variant: {
335
348
  ...l.variant,
336
- current: () => E.variant ?? "outline"
349
+ current: () => T.variant ?? "outline"
337
350
  }
338
- }), I = ve(), qe = (e, t) => I.isPm(t) ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e, Je = (e) => {
351
+ }), P = ye(), Ze = (e, t) => P.isPm(t) ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e, Qe = (e) => {
339
352
  let t = e >= 12 ? "PM" : "AM", n = e % 12;
340
353
  return n === 0 && (n = 12), {
341
354
  hour: String(n).padStart(2, "0"),
342
355
  meridiem: t
343
356
  };
344
- }, L = y(null), R = y(null), Ye = (e) => {
345
- R.value = e.el?.parentElement ?? null;
346
- }, Xe = y(null), Ze = (e) => `btpi-description_${e}`, Qe = (e) => `btpi-panel_${e}`, $e = (e) => h({
347
- id: Qe(e),
348
- class: ["bb-time-picker-input__panel", { "bb-time-picker-input__panel--sheet": Z.value }],
349
- inert: zt.value
350
- }, Z.value ? {} : F.panel ?? {}), et = (e, t) => {
351
- let n = [e, Ze(t)].filter((e) => !!e?.trim()).flatMap((e) => e.split(/\s+/)).filter(Boolean);
357
+ }, F = v(null), I = v(null), $e = (e) => {
358
+ I.value = e.el?.parentElement ?? null;
359
+ }, et = v(null), tt = (e) => `btpi-description_${e}`, nt = (e) => `btpi-panel_${e}`, rt = (e) => g({
360
+ id: nt(e),
361
+ class: ["bb-time-picker-input__panel", { "bb-time-picker-input__panel--sheet": Q.value }],
362
+ inert: Bt.value
363
+ }, Q.value ? {} : N.panel ?? {}), it = (e, t) => {
364
+ let n = [e, tt(t)].filter((e) => !!e?.trim()).flatMap((e) => e.split(/\s+/)).filter(Boolean);
352
365
  return Array.from(new Set(n)).join(" ");
353
- }, { isMobile: z } = ne(), tt = u(() => E.disableWriting === "mobile" ? !z.value : E.disableWriting === "desktop" ? z.value : !E.disableWriting), nt = u(() => !!E.readonly || !tt.value), rt = (e) => tt.value ? at.value[e].kind === "enum" ? "none" : "numeric" : "none", it = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, B = (e) => {
354
- let t = it.exec(e);
366
+ }, { isMobile: L } = re(), R = u(() => T.disableWriting === "mobile" ? !L.value : T.disableWriting === "desktop" ? L.value : !T.disableWriting), at = u(() => !!T.readonly || !R.value), ot = (e) => R.value ? V.value[e].kind === "enum" ? "none" : "numeric" : "none", st = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, z = (e) => {
367
+ let t = st.exec(e);
355
368
  if (!t) return null;
356
369
  let [, n, r] = t, i = parseInt(n, 10), a = parseInt(r, 10);
357
370
  return i > 23 || a > 59 ? null : i * 60 + a;
358
371
  };
359
- for (let [e, t] of [["min", E.min], ["max", E.max]]) t && B(t) === null && We.throw(`BbTimePickerInput: ${e} must be in the format HH:mm`);
360
- let V = u(() => {
372
+ for (let [e, t] of [["min", T.min], ["max", T.max]]) t && z(t) === null && Je.throw(`BbTimePickerInput: ${e} must be in the format HH:mm`);
373
+ let B = u(() => {
361
374
  let e = ["hour", "minute"];
362
- E.seconds && e.push("second"), E.ampm && e.push("meridiem");
375
+ T.seconds && e.push("second"), T.ampm && e.push("meridiem");
363
376
  let t = e.map((e) => ({
364
377
  segment: "start",
365
378
  field: e
366
379
  }));
367
- if (!E.range) return t;
380
+ if (!T.range) return t;
368
381
  let n = e.map((e) => ({
369
382
  segment: "end",
370
383
  field: e
371
384
  }));
372
385
  return [...t, ...n];
373
- }), at = u(() => ({
374
- hour: E.ampm ? {
386
+ }), V = u(() => ({
387
+ hour: T.ampm ? {
375
388
  kind: "numeric",
376
389
  maxLength: 2,
377
390
  max: 12,
@@ -403,10 +416,10 @@ var Ne = ["data-value"], Pe = [
403
416
  autoAdvanceFrom: 6,
404
417
  label: "Second"
405
418
  },
406
- meridiem: I.fieldSpec.value
407
- })), ot = (e, t) => e.segment === t.segment ? t.field === "meridiem" ? " " : ":" : "–", { fields: H, fieldRefs: st, descriptorKey: ct, emptyFieldGroup: lt, getSizedValue: ut, minChars: dt, updateAllSizedValues: U, isOwnField: ft, focusField: pt, focusFirstField: mt, segmentStatus: W, onFieldInput: ht, onFieldKeydown: gt, onFieldFocus: _t, onFieldBlur: vt, onFieldPaste: yt } = oe({
408
- fieldOrder: V,
409
- specs: at,
419
+ meridiem: P.fieldSpec.value
420
+ })), ct = (e, t) => e.segment === t.segment ? t.field === "meridiem" ? " " : ":" : "–", { fields: H, fieldRefs: lt, descriptorKey: ut, emptyFieldGroup: dt, getSizedValue: ft, minChars: pt, updateAllSizedValues: U, isOwnField: mt, focusField: ht, focusFirstField: gt, segmentStatus: W, onFieldInput: _t, onFieldKeydown: vt, onFieldFocus: yt, onFieldBlur: bt, onFieldPaste: xt } = se({
421
+ fieldOrder: B,
422
+ specs: V,
410
423
  segments: ["start", "end"],
411
424
  fieldKeys: [
412
425
  "hour",
@@ -416,51 +429,51 @@ var Ne = ["data-value"], Pe = [
416
429
  ],
417
430
  optionalGroups: [["second"]],
418
431
  advanceKeys: [":", " "],
419
- onDirty: () => J({ finalize: !1 })
420
- }), bt = (e, t) => {
432
+ onDirty: () => Y({ finalize: !1 })
433
+ }), St = (e, t) => {
421
434
  if (e.field === "meridiem") {
422
- let n = H.value[e.segment], r = I.match(t.target.value, n.meridiem);
423
- r && r !== n.meridiem && (n.meridiem = r, J({ finalize: !1 }));
435
+ let n = H.value[e.segment], r = P.match(t.target.value, n.meridiem);
436
+ r && r !== n.meridiem && (n.meridiem = r, Y({ finalize: !1 }));
424
437
  }
425
- ht(e, t);
438
+ _t(e, t);
426
439
  };
427
- I.onRelabel((e, t) => {
440
+ P.onRelabel((e, t) => {
428
441
  for (let n of Object.values(H.value)) n.meridiem === e && (n.meridiem = t);
429
442
  U();
430
443
  });
431
- let xt = (e, t) => E.range ? `${t}-${e.segment}-${e.field}` : `${t}-${e.field}`, St = (e) => {
432
- if (E.name) return E.range ? `${E.name}-${e.segment}-${e.field}` : `${E.name}-${e.field}`;
433
- }, Ct = {
444
+ let Ct = (e, t) => T.range ? `${t}-${e.segment}-${e.field}` : `${t}-${e.field}`, wt = (e) => {
445
+ if (T.name) return T.range ? `${T.name}-${e.segment}-${e.field}` : `${T.name}-${e.field}`;
446
+ }, Tt = {
434
447
  hour: "datePickerInput.hourField",
435
448
  minute: "datePickerInput.minuteField",
436
449
  second: "datePickerInput.secondField",
437
450
  meridiem: "datePickerInput.meridiemField"
438
- }, wt = (e) => {
439
- let t = A(Ct[e.field]).value;
440
- return E.range ? A(e.segment === "start" ? "datePickerInput.startFieldLabel" : "datePickerInput.endFieldLabel", t).value : t;
441
- }, Tt = u(() => {
442
- let e = A(E.seconds ? "datePickerInput.timeFormatSeconds" : "datePickerInput.timeFormat").value;
443
- return E.range ? `${e} – ${e}` : e;
444
- }), Et = u(() => E.placeholder || Tt.value), Dt = u(() => V.value.every((e) => !H.value[e.segment][e.field])), Ot = (e) => {
451
+ }, Et = (e) => {
452
+ let t = D(Tt[e.field]).value;
453
+ return T.range ? D(e.segment === "start" ? "datePickerInput.startFieldLabel" : "datePickerInput.endFieldLabel", t).value : t;
454
+ }, Dt = u(() => {
455
+ let e = D(T.seconds ? "datePickerInput.timeFormatSeconds" : "datePickerInput.timeFormat").value;
456
+ return T.range ? `${e} – ${e}` : e;
457
+ }), Ot = u(() => T.placeholder || Dt.value), kt = u(() => B.value.every((e) => !H.value[e.segment][e.field])), At = (e) => {
445
458
  if (!e.hour) return 0;
446
459
  let t = parseInt(e.hour, 10);
447
- return E.ampm ? qe(t, e.meridiem || "AM") : t;
448
- }, kt = (e, t) => {
449
- if (!E.ampm) {
460
+ return T.ampm ? Ze(t, e.meridiem || "AM") : t;
461
+ }, jt = (e, t) => {
462
+ if (!T.ampm) {
450
463
  e.hour = String(t).padStart(2, "0");
451
464
  return;
452
465
  }
453
- let n = Je(t);
454
- e.hour = n.hour, e.meridiem = I.label(n.meridiem);
466
+ let n = Qe(t);
467
+ e.hour = n.hour, e.meridiem = P.label(n.meridiem);
455
468
  }, G = (e) => {
456
- let t = lt();
469
+ let t = dt();
457
470
  if (!e) return t;
458
- let n = it.exec(e);
471
+ let n = st.exec(e);
459
472
  if (!n) return t;
460
473
  let [, r, i, a] = n, o = parseInt(r, 10);
461
- return o > 23 || parseInt(i, 10) > 59 || (kt(t, o), t.minute = i.padStart(2, "0"), t.second = E.seconds && a ? a.padStart(2, "0") : ""), t;
474
+ return o > 23 || parseInt(i, 10) > 59 || (jt(t, o), t.minute = i.padStart(2, "0"), t.second = T.seconds && a ? a.padStart(2, "0") : ""), t;
462
475
  }, K = (e) => {
463
- if (E.range) {
476
+ if (T.range) {
464
477
  let [t, n] = Array.isArray(e) ? e : [];
465
478
  H.value = {
466
479
  start: G(t),
@@ -468,283 +481,283 @@ var Ne = ["data-value"], Pe = [
468
481
  };
469
482
  } else H.value = {
470
483
  start: G(typeof e == "string" ? e : void 0),
471
- end: lt()
484
+ end: dt()
472
485
  };
473
- }, At = () => {
474
- K(E.modelValue);
486
+ }, Mt = () => {
487
+ K(T.modelValue);
475
488
  };
476
- K(E.modelValue), U(), C(() => E.modelValue, (e) => {
489
+ K(T.modelValue), U(), S(() => T.modelValue, (e) => {
477
490
  if (e === null || Array.isArray(e) && e.length === 0) {
478
491
  K(e), U();
479
492
  return;
480
493
  }
481
494
  let t = document.activeElement;
482
- t && ft(t) || (K(e), U());
495
+ t && mt(t) || (K(e), U());
483
496
  });
484
- let jt = (e) => {
485
- let t = H.value[e], n = String(Ot(t)).padStart(2, "0"), r = (t.minute || "0").padStart(2, "0");
486
- return E.seconds ? `${n}:${r}:${(t.second || "0").padStart(2, "0")}` : `${n}:${r}`;
487
- }, q = (e) => D("error", e), Mt = (e) => {
488
- let t = B(e);
489
- return t === null ? e : E.min && t < B(E.min) ? E.min + (E.seconds ? ":00" : "") : E.max && t > B(E.max) ? E.max + (E.seconds ? ":00" : "") : e;
490
- }, Nt = () => W("start") === "partial" ? !0 : E.range ? W("end") === "partial" : !1, J = (e = {}) => {
497
+ let q = (e) => {
498
+ let t = H.value[e], n = String(At(t)).padStart(2, "0"), r = (t.minute || "0").padStart(2, "0");
499
+ return T.seconds ? `${n}:${r}:${(t.second || "0").padStart(2, "0")}` : `${n}:${r}`;
500
+ }, J = (e) => E("error", e), Nt = (e) => {
501
+ let t = z(e);
502
+ return t === null ? e : T.min && t < z(T.min) ? T.min + (T.seconds ? ":00" : "") : T.max && t > z(T.max) ? T.max + (T.seconds ? ":00" : "") : e;
503
+ }, Pt = () => W("start") === "partial" ? !0 : T.range ? W("end") === "partial" : !1, Y = (e = {}) => {
491
504
  let t = !!e.finalize, n = W("start");
492
- if (!E.range) {
505
+ if (!T.range) {
493
506
  if (n === "empty") {
494
- D("update:modelValue", null);
507
+ E("update:modelValue", null);
495
508
  return;
496
509
  }
497
510
  if (n === "partial") return;
498
- let e = jt("start"), r = Mt(e);
511
+ let e = q("start"), r = Nt(e);
499
512
  if (r !== e) {
500
513
  if (!t) return;
501
- H.value.start = G(r), U(), D("update:modelValue", r), q({
514
+ H.value.start = G(r), U(), E("update:modelValue", r), J({
502
515
  code: "disabled_time",
503
516
  original: e,
504
517
  normalized: r
505
518
  });
506
519
  return;
507
520
  }
508
- D("update:modelValue", e);
521
+ E("update:modelValue", e);
509
522
  return;
510
523
  }
511
524
  let r = W("end");
512
525
  if (n === "empty" && r === "empty") {
513
- D("update:modelValue", []);
526
+ E("update:modelValue", []);
514
527
  return;
515
528
  }
516
529
  if (n === "partial" || r === "partial" || n === "empty") return;
517
- let i = jt("start"), a = Mt(i);
530
+ let i = q("start"), a = Nt(i);
518
531
  if (a !== i) {
519
532
  if (!t) return;
520
- H.value.start = G(a), q({
533
+ H.value.start = G(a), J({
521
534
  code: "disabled_time",
522
535
  original: i,
523
536
  normalized: a
524
537
  }), i = a;
525
538
  }
526
539
  if (r === "empty") {
527
- D("update:modelValue", [i]);
540
+ E("update:modelValue", [i]);
528
541
  return;
529
542
  }
530
- let o = jt("end"), s = Mt(o);
543
+ let o = q("end"), s = Nt(o);
531
544
  if (s !== o) {
532
545
  if (!t) return;
533
- H.value.end = G(s), q({
546
+ H.value.end = G(s), J({
534
547
  code: "disabled_time",
535
548
  original: o,
536
549
  normalized: s
537
550
  }), o = s;
538
551
  }
539
- if (B(o) < B(i)) {
552
+ if (z(o) < z(i)) {
540
553
  if (!t) return;
541
554
  let e = { ...H.value.start };
542
- H.value.start = { ...H.value.end }, H.value.end = e, U(), D("update:modelValue", [o, i]), q({
555
+ H.value.start = { ...H.value.end }, H.value.end = e, U(), E("update:modelValue", [o, i]), J({
543
556
  code: "end_before_start",
544
557
  original: [i, o],
545
558
  normalized: [o, i]
546
559
  });
547
- } else U(), D("update:modelValue", [i, o]);
548
- }, Pt = () => {
549
- D("update:modelValue", E.range ? [] : null);
560
+ } else U(), E("update:modelValue", [i, o]);
550
561
  }, Ft = () => {
551
- j.value || (M.value = !0, D("active"), j.value = !0, document.addEventListener("focusin", Y), document.addEventListener("click", Y));
552
- }, Y = (e) => {
553
- let t = e.target;
554
- t instanceof HTMLElement && L.value?.$el && (L.value.$el.contains(t) || R.value?.contains(t) || It());
562
+ E("update:modelValue", T.range ? [] : null);
555
563
  }, It = () => {
556
- J({ finalize: !0 }), Nt() && (At(), U()), j.value = !1, N(), D("inactive"), document.removeEventListener("focusin", Y), document.removeEventListener("click", Y);
557
- }, [Lt, Rt] = Me(), X = y(!1), zt = o(X, () => E.transitionDuration ?? le.medium), Bt = () => (E.adaptive ?? k.adaptive) && z.value ? "canvas" : "popover", Vt = y(Bt()), Z = u(() => Vt.value === "canvas");
558
- C([
559
- () => E.adaptive,
560
- z,
561
- X
564
+ O.value || (k.value = !0, E("active"), O.value = !0, document.addEventListener("focusin", X), document.addEventListener("click", X));
565
+ }, X = (e) => {
566
+ let t = e.target;
567
+ t instanceof HTMLElement && F.value?.$el && (F.value.$el.contains(t) || I.value?.contains(t) || Lt());
568
+ }, Lt = () => {
569
+ Y({ finalize: !0 }), Pt() && (Mt(), U()), O.value = !1, A(), E("inactive"), document.removeEventListener("focusin", X), document.removeEventListener("click", X);
570
+ }, [Rt, zt] = Pe(), Z = v(!1), Bt = s(Z, () => T.transitionDuration ?? ue.medium), Vt = () => M.adaptive && L.value ? "canvas" : "popover", Ht = v(Vt()), Q = u(() => Ht.value === "canvas");
571
+ S([
572
+ () => M.adaptive,
573
+ L,
574
+ Z
562
575
  ], () => {
563
- X.value || (Vt.value = Bt());
564
- }), te(() => X.value && !Z.value, () => X.value = !1);
565
- let Ht = u(() => ({
576
+ Z.value || (Ht.value = Vt());
577
+ }), ne(() => Z.value && !Q.value, () => Z.value = !1);
578
+ let Ut = u(() => ({
566
579
  side: "bottom",
567
580
  size: "auto",
568
581
  draggable: !0,
569
- transitionDuration: E.transitionDuration,
582
+ transitionDuration: T.transitionDuration,
570
583
  hideClose: !0,
571
- ...r(E.offCanvasProps)
572
- })), Ut = () => {
573
- Xe.value?.focus(), D("hidden");
574
- }, Wt = (e) => {
584
+ ...r(T.offCanvasProps)
585
+ })), Wt = () => {
586
+ et.value?.focus(), E("hidden");
587
+ }, Gt = (e) => {
575
588
  let t = e.target;
576
- t && t instanceof HTMLDialogElement && (X.value = !1);
577
- }, Gt = () => {
578
- E.disabled || E.readonly || (Vt.value = Bt(), X.value = !0);
579
- }, Kt = u(() => !tt.value && !E.disabled && !E.readonly), qt = (e) => {
580
- if (!Kt.value || X.value) return;
589
+ t && t instanceof HTMLDialogElement && (Z.value = !1);
590
+ }, Kt = () => {
591
+ T.disabled || T.readonly || (Ht.value = Vt(), Z.value = !0);
592
+ }, qt = u(() => !R.value && !T.disabled && !T.readonly), Jt = (e) => {
593
+ if (!qt.value || Z.value) return;
581
594
  let t = e.target;
582
- t?.closest(".bb-field-input__box") && (t.closest(".bb-segmented-field__activator, .bb-clearable-button, .bb-time-picker-input__panel, [role=\"dialog\"]") || Gt());
583
- }, Jt = (e) => e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "Backspace" || e.key === "Delete" || e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey, Yt = (e, t) => {
584
- Kt.value && (t.key === "Enter" || t.key === " ") ? (t.preventDefault(), X.value || Gt()) : E.readonly && Jt(t) ? t.preventDefault() : gt(e, t);
595
+ t?.closest(".bb-field-input__box") && (t.closest(".bb-segmented-field__activator, .bb-clearable-button, .bb-time-picker-input__panel, [role=\"dialog\"]") || Kt());
596
+ }, Yt = (e) => e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "Backspace" || e.key === "Delete" || e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey, Xt = (e, t) => {
597
+ qt.value && (t.key === "Enter" || t.key === " ") ? (t.preventDefault(), Z.value || Kt()) : T.readonly && Yt(t) ? t.preventDefault() : vt(e, t);
585
598
  };
586
- C(X, (e) => {
587
- e ? Z.value || document.addEventListener("click", Wt, { passive: !0 }) : document.removeEventListener("click", Wt);
599
+ S(Z, (e) => {
600
+ e ? Q.value || document.addEventListener("click", Gt, { passive: !0 }) : document.removeEventListener("click", Gt);
588
601
  });
589
- let Xt = y("start"), Zt = (e, t) => {
590
- Xt.value = e.segment, _t(e), D("focus", t);
591
- }, Q = u(() => E.range ? H.value[Xt.value].hour ? Xt.value : H.value.start.hour && !H.value.end.hour ? "end" : "start" : "start"), Qt = u(() => {
592
- let e = H.value[Q.value];
593
- return e.hour ? String(Ot(e)).padStart(2, "0") : "";
594
- }), $t = ({ unit: e, value: t }) => {
595
- let n = H.value[Q.value];
596
- e === "hour" ? kt(n, parseInt(t, 10)) : e === "meridiem" ? n.meridiem = I.label(t === "PM" ? "PM" : "AM") : n[e] = t, n.hour ||= E.ampm ? "12" : "00", E.ampm && !n.meridiem && (n.meridiem = I.am.value), n.minute ||= "00", E.seconds && !n.second && (n.second = "00"), U(), J({ finalize: !1 });
597
- }, $ = (e) => ye(e, k.locale, !!E.ampm, !!E.seconds), en = u(() => {
598
- if (E.range) {
599
- let [e, t] = Array.isArray(E.modelValue) ? E.modelValue : [];
600
- return !e || !t ? A("timePickerInput.emptyRange").value : A("timePickerInput.changeSelectionRange", $(e), $(t)).value;
602
+ let Zt = v("start"), Qt = (e, t) => {
603
+ Zt.value = e.segment, yt(e), E("focus", t);
604
+ }, $ = u(() => T.range ? H.value[Zt.value].hour ? Zt.value : H.value.start.hour && !H.value.end.hour ? "end" : "start" : "start"), $t = u(() => {
605
+ let e = H.value[$.value];
606
+ return e.hour ? String(At(e)).padStart(2, "0") : "";
607
+ }), en = ({ unit: e, value: t }) => {
608
+ let n = H.value[$.value];
609
+ e === "hour" ? jt(n, parseInt(t, 10)) : e === "meridiem" ? n.meridiem = P.label(t === "PM" ? "PM" : "AM") : n[e] = t, n.hour ||= T.ampm ? "12" : "00", T.ampm && !n.meridiem && (n.meridiem = P.am.value), n.minute ||= "00", T.seconds && !n.second && (n.second = "00"), U(), Y({ finalize: !1 });
610
+ }, tn = (e) => be(e, qe.locale, !!T.ampm, !!T.seconds), nn = u(() => {
611
+ if (T.range) {
612
+ let [e, t] = Array.isArray(T.modelValue) ? T.modelValue : [];
613
+ return !e || !t ? D("timePickerInput.emptyRange").value : D("timePickerInput.changeSelectionRange", tn(e), tn(t)).value;
601
614
  }
602
- return typeof E.modelValue == "string" && E.modelValue ? A("timePickerInput.changeSelection", $(E.modelValue)).value : A("timePickerInput.emptySelection").value;
615
+ return typeof T.modelValue == "string" && T.modelValue ? D("timePickerInput.changeSelection", tn(T.modelValue)).value : D("timePickerInput.emptySelection").value;
603
616
  });
604
- return Ee(() => {
605
- document.removeEventListener("focusin", Y), document.removeEventListener("click", Y), document.removeEventListener("click", Wt);
606
- }), (t, n) => (v(), xe(me, h({
617
+ return Oe(() => {
618
+ document.removeEventListener("focusin", X), document.removeEventListener("click", X), document.removeEventListener("click", Gt);
619
+ }), (t, n) => (_(), d(he, g({
607
620
  id: c.id,
608
621
  class: "bb-time-picker-input",
609
- clearable: c.clearable && P.value,
610
- compact: c.compact,
622
+ clearable: c.clearable && j.value,
623
+ compact: x(M).compact,
611
624
  description: c.description,
612
625
  disabled: c.disabled,
613
- errors: S(ze),
626
+ errors: x(Ve),
614
627
  "has-errors": c.hasErrors,
615
- "has-value": P.value,
628
+ "has-value": j.value,
616
629
  "has-warnings": c.hasWarnings,
617
630
  "hide-label": c.hideLabel,
618
631
  hint: c.hint,
619
632
  "input-align": c.inputAlign,
620
633
  label: c.label,
621
634
  "label-align": c.labelAlign,
622
- "label-mode": Ke.value,
635
+ "label-mode": Xe.value,
623
636
  "label-position": c.labelPosition,
624
- layout: c.layout,
637
+ layout: x(M).layout,
625
638
  loading: c.loading,
626
639
  name: c.name,
627
- passthrough: S(F),
628
- readonly: S(O),
629
- reverse: c.reverse,
630
- "show-asterisk": S(Re),
631
- "show-hint": Ge.value,
640
+ passthrough: x(N),
641
+ readonly: x(Ge),
642
+ reverse: x(M).reverse,
643
+ "show-asterisk": x(Be),
644
+ "show-hint": Ye.value,
632
645
  warnings: c.warnings
633
- }, S(F).forwardAttrs), Ce({
634
- label: w((e) => [b(t.$slots, "label", _(m(e)))]),
635
- input: w(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [p(he, {
646
+ }, x(N).forwardAttrs), Ce({
647
+ label: C((e) => [y(t.$slots, "label", Ee(h(e)))]),
648
+ input: C(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [m(ge, {
636
649
  ref_key: "wrapper",
637
- ref: L,
638
- active: j.value,
639
- "append:icon": S(E)["append:icon"],
640
- class: g(["bb-time-picker-input__field", { "bb-time-picker-input__field--range": c.range }]),
641
- clearable: c.clearable && !S(se)(S(He)),
642
- compact: c.compact,
650
+ ref: F,
651
+ active: O.value,
652
+ "append:icon": x(T)["append:icon"],
653
+ class: Te(["bb-time-picker-input__field", { "bb-time-picker-input__field--range": c.range }]),
654
+ clearable: c.clearable && !x(ce)(x(We)),
655
+ compact: x(M).compact,
643
656
  disabled: c.disabled,
644
657
  "has-errors": i,
645
- "has-value": P.value,
658
+ "has-value": j.value,
646
659
  "has-warnings": a,
647
660
  loading: c.loading,
648
- passthrough: S(F),
649
- "prepend:icon": S(E)["prepend:icon"],
650
- readonly: S(O),
661
+ passthrough: x(N),
662
+ "prepend:icon": x(T)["prepend:icon"],
663
+ readonly: x(Ge),
651
664
  variant: c.variant,
652
- onClick: qt,
653
- "onClick:clear": Pt,
654
- onFocusin: Ft
665
+ onClick: Jt,
666
+ "onClick:clear": Ft,
667
+ onFocusin: It
655
668
  }, Ce({
656
- "prepend:outer": w(() => [b(t.$slots, "prepend:outer")]),
657
- prepend: w(() => [b(t.$slots, "prepend")]),
658
- append: w(() => [f("button", h({
669
+ "prepend:outer": C(() => [y(t.$slots, "prepend:outer")]),
670
+ prepend: C(() => [y(t.$slots, "prepend")]),
671
+ append: C(() => [p("button", g({
659
672
  ref_key: "clockButton",
660
- ref: Xe,
661
- "aria-controls": R.value ? Qe(r) : void 0,
662
- "aria-disabled": S(Ue) || void 0,
663
- "aria-expanded": X.value,
673
+ ref: et,
674
+ "aria-controls": I.value ? nt(r) : void 0,
675
+ "aria-disabled": x(Ke) || void 0,
676
+ "aria-expanded": Z.value,
664
677
  "aria-haspopup": "dialog",
665
- "aria-label": en.value,
666
- class: ["bb-segmented-field__activator", { "bb-segmented-field__activator--active": X.value }],
678
+ "aria-label": nn.value,
679
+ class: ["bb-segmented-field__activator", { "bb-segmented-field__activator--active": Z.value }],
667
680
  disabled: c.disabled || c.readonly,
668
681
  type: "button",
669
- onClick: je(Gt, ["stop"])
670
- }, S(F).activator), [p(de, {
682
+ onClick: Ne(Kt, ["stop"])
683
+ }, x(N).activator), [m(fe, {
671
684
  class: "bb-segmented-field__trigger-icon",
672
- icon: S(ue)
673
- }, null, 8, ["icon"])], 16, Ie), b(t.$slots, "append", {}, () => [t.$slots.suffix ? (v(), d("span", h({
685
+ icon: x(de)
686
+ }, null, 8, ["icon"])], 16, Re), y(t.$slots, "append", {}, () => [t.$slots.suffix ? (_(), f("span", g({
674
687
  key: 0,
675
688
  class: "bb-field-input__suffix"
676
- }, S(F).suffix), [b(t.$slots, "suffix")], 16)) : Se("", !0)])]),
677
- "append:outer": w(() => [b(t.$slots, "append:outer")]),
678
- default: w(() => [
679
- f("div", {
680
- class: g(["bb-segmented-field__fields", {
681
- "bb-segmented-field__fields--empty": Dt.value,
689
+ }, x(N).suffix), [y(t.$slots, "suffix")], 16)) : Se("", !0)])]),
690
+ "append:outer": C(() => [y(t.$slots, "append:outer")]),
691
+ default: C(() => [
692
+ p("div", {
693
+ class: Te(["bb-segmented-field__fields", {
694
+ "bb-segmented-field__fields--empty": kt.value,
682
695
  "bb-segmented-field__fields--range": c.range
683
696
  }]),
684
- style: Te({ "--fields-min-ch": S(dt) })
685
- }, [Dt.value ? (v(), d("span", {
697
+ style: De({ "--fields-min-ch": x(pt) })
698
+ }, [kt.value ? (_(), f("span", {
686
699
  key: 0,
687
700
  "aria-hidden": "true",
688
701
  class: "bb-segmented-field__placeholder",
689
- onClick: n[0] ||= (...e) => S(mt) && S(mt)(...e)
690
- }, x(Et.value), 1)) : Se("", !0), (v(!0), d(be, null, Oe(V.value, (t, n) => (v(), d(be, { key: S(ct)(t) }, [f("span", {
702
+ onClick: n[0] ||= (...e) => x(gt) && x(gt)(...e)
703
+ }, b(Ot.value), 1)) : Se("", !0), (_(!0), f(xe, null, Ae(B.value, (t, n) => (_(), f(xe, { key: x(ut)(t) }, [p("span", {
691
704
  class: "bb-segmented-field__field-sizer",
692
- "data-value": S(ut)(t)
693
- }, [Ae(f("input", h({
694
- id: n === 0 ? r : xt(t, r),
705
+ "data-value": x(ft)(t)
706
+ }, [Me(p("input", g({
707
+ id: n === 0 ? r : Ct(t, r),
695
708
  ref_for: !0,
696
- ref: (e) => S(st)[S(ct)(t)] = e,
697
- "aria-describedby": et(o, r),
709
+ ref: (e) => x(lt)[x(ut)(t)] = e,
710
+ "aria-describedby": it(o, r),
698
711
  "aria-disabled": c.disabled || void 0,
699
712
  "aria-invalid": i ? "true" : void 0,
700
- "aria-label": wt(t),
701
- "aria-readonly": nt.value || void 0,
702
- autocomplete: c.autocomplete,
713
+ "aria-label": Et(t),
714
+ "aria-readonly": at.value || void 0,
715
+ autocomplete: x(M).autocomplete,
703
716
  autofocus: c.autofocus && n === 0,
704
717
  class: ["bb-segmented-field__input", [`bb-segmented-field__input--${t.field}`, `bb-segmented-field__input--${t.segment}`]],
705
718
  disabled: c.disabled,
706
- inputmode: rt(t.field),
707
- maxlength: at.value[t.field].maxLength,
708
- name: St(t),
709
- readonly: nt.value,
710
- required: S(Be),
711
- "aria-required": S(Ve),
719
+ inputmode: ot(t.field),
720
+ maxlength: V.value[t.field].maxLength,
721
+ name: wt(t),
722
+ readonly: at.value,
723
+ required: x(He),
724
+ "aria-required": x(Ue),
712
725
  tabindex: t.field === "hour" ? 0 : -1,
713
726
  type: "text",
714
- value: S(H)[t.segment][t.field],
715
- onBlur: (e) => S(vt)(t),
716
- onFocus: (e) => Zt(t, e),
717
- onInput: (e) => bt(t, e),
718
- onKeydown: (e) => Yt(t, e),
719
- onPaste: (e) => S(yt)(t, e)
720
- }, { ref_for: !0 }, h(S(F).controlAttrs, S(F).input)), null, 16, Pe), [[S(e)]])], 8, Ne), n < V.value.length - 1 ? (v(), d("span", {
727
+ value: x(H)[t.segment][t.field],
728
+ onBlur: (e) => x(bt)(t),
729
+ onFocus: (e) => Qt(t, e),
730
+ onInput: (e) => St(t, e),
731
+ onKeydown: (e) => Xt(t, e),
732
+ onPaste: (e) => x(xt)(t, e)
733
+ }, { ref_for: !0 }, g(x(N).controlAttrs, x(N).input)), null, 16, Ie), [[x(e)]])], 8, Fe), n < B.value.length - 1 ? (_(), f("span", {
721
734
  key: 0,
722
735
  "aria-hidden": "true",
723
- class: g(["bb-segmented-field__separator", { "bb-segmented-field__separator--range": V.value[n].segment !== V.value[n + 1].segment }]),
736
+ class: Te(["bb-segmented-field__separator", { "bb-segmented-field__separator--range": B.value[n].segment !== B.value[n + 1].segment }]),
724
737
  role: "presentation",
725
- onClick: (e) => S(pt)(V.value[n + 1], { select: !0 })
726
- }, x(ot(V.value[n], V.value[n + 1])), 11, Fe)) : Se("", !0)], 64))), 128))], 6),
727
- f("span", {
728
- id: Ze(r),
738
+ onClick: (e) => x(ht)(B.value[n + 1], { select: !0 })
739
+ }, b(ct(B.value[n], B.value[n + 1])), 11, Le)) : Se("", !0)], 64))), 128))], 6),
740
+ p("span", {
741
+ id: tt(r),
729
742
  class: "bb-time-picker-input__accessible-description",
730
743
  hidden: ""
731
- }, x(Tt.value), 9, Le),
732
- p(S(Lt), null, {
733
- default: w(() => [p(_e, {
744
+ }, b(Dt.value), 9, ze),
745
+ m(x(Rt), null, {
746
+ default: C(() => [m(ve, {
734
747
  ampm: c.ampm,
735
- disabled: c.disabled || S(O),
736
- hour: Qt.value,
748
+ disabled: c.disabled || x(Ge),
749
+ hour: $t.value,
737
750
  max: c.max,
738
- meridiem: S(H)[Q.value].meridiem,
751
+ meridiem: x(H)[$.value].meridiem,
739
752
  min: c.min,
740
- minute: S(H)[Q.value].minute,
741
- passthrough: S(F),
742
- second: S(H)[Q.value].second,
753
+ minute: x(H)[$.value].minute,
754
+ passthrough: x(N),
755
+ second: x(H)[$.value].second,
743
756
  seconds: c.seconds,
744
757
  step: c.step,
745
- onSelect: $t,
746
- onVnodeBeforeUnmount: n[1] ||= (e) => R.value = null,
747
- onVnodeMounted: Ye
758
+ onSelect: en,
759
+ onVnodeBeforeUnmount: n[1] ||= (e) => I.value = null,
760
+ onVnodeMounted: $e
748
761
  }, null, 8, [
749
762
  "ampm",
750
763
  "disabled",
@@ -760,39 +773,39 @@ var Ne = ["data-value"], Pe = [
760
773
  ])]),
761
774
  _: 1
762
775
  }),
763
- Z.value ? (v(), xe(fe, h({
776
+ Q.value ? (_(), d(pe, g({
764
777
  key: 0,
765
- modelValue: X.value,
766
- "onUpdate:modelValue": n[2] ||= (e) => X.value = e,
778
+ modelValue: Z.value,
779
+ "onUpdate:modelValue": n[2] ||= (e) => Z.value = e,
767
780
  class: "bb-time-picker-input__sheet",
768
- pt: S(F).forward({
781
+ pt: x(N).forward({
769
782
  panel: "root",
770
783
  sheet: "root"
771
- }, S(pe).states, () => c.offCanvasProps?.pt)
772
- }, Ht.value, {
773
- onHidden: Ut,
774
- onHide: n[3] ||= (e) => S(D)("hide"),
775
- onShow: n[4] ||= (e) => S(D)("show"),
776
- onShown: n[5] ||= (e) => S(D)("shown")
784
+ }, x(me).states, () => c.offCanvasProps?.pt)
785
+ }, Ut.value, {
786
+ onHidden: Wt,
787
+ onHide: n[3] ||= (e) => x(E)("hide"),
788
+ onShow: n[4] ||= (e) => x(E)("show"),
789
+ onShown: n[5] ||= (e) => x(E)("shown")
777
790
  }), {
778
- default: w(() => [f("div", _(m($e(r))), [p(S(Rt))], 16)]),
791
+ default: C(() => [p("div", Ee(h(rt(r))), [m(x(zt))], 16)]),
779
792
  _: 2
780
- }, 1040, ["modelValue", "pt"])) : (v(), xe(ge, {
793
+ }, 1040, ["modelValue", "pt"])) : (_(), d(_e, {
781
794
  key: 1,
782
- modelValue: X.value,
783
- "onUpdate:modelValue": n[6] ||= (e) => X.value = e,
784
- anchor: L.value,
785
- "bubble-attrs": $e(r),
795
+ modelValue: Z.value,
796
+ "onUpdate:modelValue": n[6] ||= (e) => Z.value = e,
797
+ anchor: F.value,
798
+ "bubble-attrs": rt(r),
786
799
  class: "bb-time-picker-input__popover",
787
800
  dialog: "",
788
801
  offset: 4,
789
802
  "transition-duration": c.transitionDuration,
790
- onHidden: n[7] ||= (e) => S(D)("hidden"),
791
- onHide: n[8] ||= (e) => S(D)("hide"),
792
- onShow: n[9] ||= (e) => S(D)("show"),
793
- onShown: n[10] ||= (e) => S(D)("shown")
803
+ onHidden: n[7] ||= (e) => x(E)("hidden"),
804
+ onHide: n[8] ||= (e) => x(E)("hide"),
805
+ onShow: n[9] ||= (e) => x(E)("show"),
806
+ onShown: n[10] ||= (e) => x(E)("shown")
794
807
  }, {
795
- default: w(() => [p(S(Rt))]),
808
+ default: C(() => [m(x(zt))]),
796
809
  _: 1
797
810
  }, 8, [
798
811
  "modelValue",
@@ -804,7 +817,7 @@ var Ne = ["data-value"], Pe = [
804
817
  _: 2
805
818
  }, [t.$slots.prefix ? {
806
819
  name: "prefix",
807
- fn: w(() => [b(t.$slots, "prefix")]),
820
+ fn: C(() => [y(t.$slots, "prefix")]),
808
821
  key: "0"
809
822
  } : void 0]), 1032, [
810
823
  "active",
@@ -825,7 +838,7 @@ var Ne = ["data-value"], Pe = [
825
838
  _: 2
826
839
  }, [t.$slots.description ? {
827
840
  name: "description",
828
- fn: w((e) => [b(t.$slots, "description", _(m(e)))]),
841
+ fn: C((e) => [y(t.$slots, "description", Ee(h(e)))]),
829
842
  key: "0"
830
843
  } : void 0]), 1040, [
831
844
  "id",
@@ -856,4 +869,4 @@ var Ne = ["data-value"], Pe = [
856
869
  ]));
857
870
  }
858
871
  });
859
- export { T as default };
872
+ export { w as default };