bitboss-ui 3.0.0-beta.71 → 3.0.0-beta.72

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 (359) hide show
  1. package/README.md +2 -2
  2. package/bin/cli.mjs +6 -1
  3. package/dist/ai/BbAccordion.md +38 -19
  4. package/dist/ai/BbBadge.md +25 -22
  5. package/dist/ai/BbBreadcrumbs.md +1 -1
  6. package/dist/ai/BbButton.md +32 -27
  7. package/dist/ai/BbCalendar.md +1 -0
  8. package/dist/ai/BbCarousel.md +6 -4
  9. package/dist/ai/BbCheckboxGroup.md +2 -1
  10. package/dist/ai/BbColorInput.md +1 -1
  11. package/dist/ai/BbConfirm.md +65 -81
  12. package/dist/ai/BbConfirmPortal.md +2 -2
  13. package/dist/ai/BbDatePicker.md +1 -6
  14. package/dist/ai/BbDatePickerInput.md +2 -2
  15. package/dist/ai/BbDialog.md +230 -164
  16. package/dist/ai/BbDropdown.md +52 -16
  17. package/dist/ai/BbDropdownButton.md +11 -12
  18. package/dist/ai/BbDropzone.md +12 -8
  19. package/dist/ai/BbForm.md +93 -7
  20. package/dist/ai/BbHost.md +2 -2
  21. package/dist/ai/BbHoverCardPortal.md +1 -1
  22. package/dist/ai/BbIcon.md +1 -1
  23. package/dist/ai/BbIndicator.md +17 -15
  24. package/dist/ai/BbNumberInput.md +7 -5
  25. package/dist/ai/BbOffCanvas.md +29 -7
  26. package/dist/ai/BbPagination.md +2 -2
  27. package/dist/ai/BbPopover.md +15 -9
  28. package/dist/ai/BbPopoverPortal.md +1 -1
  29. package/dist/ai/BbRadioGroup.md +29 -7
  30. package/dist/ai/BbRating.md +8 -7
  31. package/dist/ai/BbSelect.md +29 -8
  32. package/dist/ai/BbSelectPopover.md +9 -3
  33. package/dist/ai/BbSlider.md +12 -8
  34. package/dist/ai/BbSpinner.md +3 -2
  35. package/dist/ai/BbSwitch.md +3 -3
  36. package/dist/ai/BbSwitchGroup.md +7 -6
  37. package/dist/ai/BbTable.md +205 -82
  38. package/dist/ai/BbTabs.md +29 -4
  39. package/dist/ai/BbTag.md +1 -1
  40. package/dist/ai/BbTextInput.md +7 -5
  41. package/dist/ai/BbTextarea.md +4 -3
  42. package/dist/ai/BbTimePickerInput.md +1 -1
  43. package/dist/ai/BbToast.md +3 -2
  44. package/dist/ai/BbTooltip.md +22 -17
  45. package/dist/ai/BbTree.md +49 -24
  46. package/dist/ai/CommonFieldInput.md +1 -1
  47. package/dist/ai/changelog.json +238 -9
  48. package/dist/ai/components.json +52 -51
  49. package/dist/ai/composables/useBbDialog.md +5 -8
  50. package/dist/ai/composables/useBbForm.md +3 -0
  51. package/dist/ai/composables/useConfirm.md +65 -56
  52. package/dist/ai/composables/useToast.md +2 -1
  53. package/dist/ai/guides/agent-contract.md +3 -3
  54. package/dist/ai/guides/app-layout.md +3 -2
  55. package/dist/ai/guides/eslint-rules.md +3 -1
  56. package/dist/ai/guides/fetch-items-playbook.md +1 -1
  57. package/dist/ai/guides/floating-bottom-panel.md +3 -2
  58. package/dist/ai/guides/icons-policy.md +7 -5
  59. package/dist/ai/guides/inertia-helpers.md +35 -30
  60. package/dist/ai/guides/installation-and-plugin-setup.md +17 -14
  61. package/dist/ai/guides/migration/adoption-checklist.md +2 -2
  62. package/dist/ai/guides/migration/components/bb-badge.md +12 -1
  63. package/dist/ai/guides/migration/components/bb-button.md +24 -0
  64. package/dist/ai/guides/migration/components/bb-dropdown-button.md +11 -0
  65. package/dist/ai/guides/migration/components/bb-tabs.md +2 -2
  66. package/dist/ai/guides/migration/components/bb-toast.md +11 -0
  67. package/dist/ai/guides/migration/components/use-confirm.md +69 -26
  68. package/dist/ai/guides/migration/v2-to-v3.md +52 -10
  69. package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -1
  70. package/dist/ai/guides/options-items-playbook.md +4 -3
  71. package/dist/ai/guides/passthrough.md +2 -2
  72. package/dist/ai/helpers/inertia/manifest.json +28 -15
  73. package/dist/ai/helpers/inertia/messages.ts +3 -3
  74. package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +10 -10
  75. package/dist/ai/helpers/inertia/usePromiseForm.ts +1 -1
  76. package/dist/ai/helpers/inertia/usePromiseRouter.ts +7 -2
  77. package/dist/ai/index.md +3 -3
  78. package/dist/ai/manifest/common.json +3 -3
  79. package/dist/ai/manifest/components/BbAccordion.json +8 -5
  80. package/dist/ai/manifest/components/BbAccordion.tree.json +1 -0
  81. package/dist/ai/manifest/components/BbBadge.json +8 -7
  82. package/dist/ai/manifest/components/BbBadge.removed.json +3 -1
  83. package/dist/ai/manifest/components/BbBadge.tree.json +73 -0
  84. package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
  85. package/dist/ai/manifest/components/BbButton.json +5 -6
  86. package/dist/ai/manifest/components/BbButton.removed.json +3 -1
  87. package/dist/ai/manifest/components/BbButton.tree.json +24 -7
  88. package/dist/ai/manifest/components/BbCalendar.json +2 -1
  89. package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
  90. package/dist/ai/manifest/components/BbColorInput.json +1 -1
  91. package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
  92. package/dist/ai/manifest/components/BbConfirm.json +2 -2
  93. package/dist/ai/manifest/components/BbConfirm.removed.json +9 -0
  94. package/dist/ai/manifest/components/BbConfirm.tree.json +4 -5
  95. package/dist/ai/manifest/components/BbConfirmPortal.json +3 -3
  96. package/dist/ai/manifest/components/BbConfirmPortal.removed.json +7 -0
  97. package/dist/ai/manifest/components/BbDatePicker.json +2 -1
  98. package/dist/ai/manifest/components/BbDatePicker.tree.json +0 -6
  99. package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
  100. package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
  101. package/dist/ai/manifest/components/BbDialog.json +6 -1
  102. package/dist/ai/manifest/components/BbDialog.tree.json +41 -1
  103. package/dist/ai/manifest/components/BbDropdown.json +9 -8
  104. package/dist/ai/manifest/components/BbDropdown.tree.json +4 -0
  105. package/dist/ai/manifest/components/BbDropdownButton.json +8 -9
  106. package/dist/ai/manifest/components/BbDropdownButton.removed.json +3 -1
  107. package/dist/ai/manifest/components/BbForm.json +3 -1
  108. package/dist/ai/manifest/components/BbNumberInput.json +1 -1
  109. package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
  110. package/dist/ai/manifest/components/BbOffCanvas.json +6 -1
  111. package/dist/ai/manifest/components/BbOffCanvas.tree.json +40 -0
  112. package/dist/ai/manifest/components/BbPagination.json +1 -1
  113. package/dist/ai/manifest/components/BbRadioGroup.json +4 -3
  114. package/dist/ai/manifest/components/BbRating.json +2 -2
  115. package/dist/ai/manifest/components/BbSelect.json +16 -15
  116. package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
  117. package/dist/ai/manifest/components/BbSelectPopover.json +1 -0
  118. package/dist/ai/manifest/components/BbSwitch.json +4 -4
  119. package/dist/ai/manifest/components/BbSwitchGroup.json +7 -7
  120. package/dist/ai/manifest/components/BbTable.json +15 -14
  121. package/dist/ai/manifest/components/BbTable.tree.json +2 -0
  122. package/dist/ai/manifest/components/BbTabs.json +3 -3
  123. package/dist/ai/manifest/components/BbTabsList.json +1 -1
  124. package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
  125. package/dist/ai/manifest/components/BbTag.json +1 -1
  126. package/dist/ai/manifest/components/BbTag.tree.json +1 -1
  127. package/dist/ai/manifest/components/BbTextInput.json +1 -1
  128. package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
  129. package/dist/ai/manifest/components/BbTextarea.json +1 -1
  130. package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
  131. package/dist/ai/manifest/components/BbTimePicker.json +1 -1
  132. package/dist/ai/manifest/components/BbTimePickerInput.json +1 -1
  133. package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
  134. package/dist/ai/manifest/components/BbToast.removed.json +2 -1
  135. package/dist/ai/manifest/components/BbTree.json +2 -2
  136. package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -3
  137. package/dist/ai/manifest/index.json +4 -4
  138. package/dist/ai/manifest/meta.json +5 -1
  139. package/dist/ai/manifest/types.advanced.json +9 -9
  140. package/dist/ai/manifest/types.api.json +6 -5
  141. package/dist/ai/recipes/inertia/approvals-inbox.md +23 -16
  142. package/dist/ai/recipes/inertia/inline-edit-workspace.md +12 -5
  143. package/dist/ai/recipes/inertia/layout-scaffold.md +5 -3
  144. package/dist/ai/recipes/inertia/onboarding.md +23 -12
  145. package/dist/ai/recipes/inertia/ownership-atlas.md +34 -18
  146. package/dist/ai/recipes/inertia/record-form.md +12 -8
  147. package/dist/ai/recipes/inertia/records-workspace.md +14 -7
  148. package/dist/ai/recipes/inertia/settings-workspace.md +75 -60
  149. package/dist/ai/recipes/inertia/upload-center.md +17 -9
  150. package/dist/ai/recipes/inertia/wizard-form.md +2 -2
  151. package/dist/ai/recipes/nuxt/approvals-inbox.md +23 -16
  152. package/dist/ai/recipes/nuxt/inline-edit-workspace.md +12 -5
  153. package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -3
  154. package/dist/ai/recipes/nuxt/onboarding.md +5 -4
  155. package/dist/ai/recipes/nuxt/ownership-atlas.md +34 -18
  156. package/dist/ai/recipes/nuxt/record-form.md +14 -10
  157. package/dist/ai/recipes/nuxt/records-workspace.md +14 -7
  158. package/dist/ai/recipes/nuxt/settings-workspace.md +70 -60
  159. package/dist/ai/recipes/nuxt/upload-center.md +17 -9
  160. package/dist/ai/recipes/nuxt/wizard-form.md +4 -4
  161. package/dist/ai/recipes/vue/approvals-inbox.md +23 -16
  162. package/dist/ai/recipes/vue/inline-edit-workspace.md +12 -5
  163. package/dist/ai/recipes/vue/layout-scaffold.md +5 -3
  164. package/dist/ai/recipes/vue/onboarding.md +5 -4
  165. package/dist/ai/recipes/vue/ownership-atlas.md +34 -18
  166. package/dist/ai/recipes/vue/record-form.md +14 -10
  167. package/dist/ai/recipes/vue/records-workspace.md +14 -7
  168. package/dist/ai/recipes/vue/settings-workspace.md +70 -60
  169. package/dist/ai/recipes/vue/upload-center.md +17 -9
  170. package/dist/ai/recipes/vue/wizard-form.md +4 -4
  171. package/dist/ai/source/BbAccordion.md +50 -16
  172. package/dist/ai/source/BbBadge.md +420 -26
  173. package/dist/ai/source/BbBadgeButton.md +378 -12
  174. package/dist/ai/source/BbButton.md +205 -55
  175. package/dist/ai/source/BbCalendar.md +5 -0
  176. package/dist/ai/source/BbCheckboxGroup.md +38 -13
  177. package/dist/ai/source/BbConfigScope.md +19 -2
  178. package/dist/ai/source/BbConfirm.md +74 -80
  179. package/dist/ai/source/BbConfirmPortal.md +6 -6
  180. package/dist/ai/source/BbDatePicker.md +9 -2
  181. package/dist/ai/source/BbDatePickerInput.md +3 -1
  182. package/dist/ai/source/BbDialog.md +53 -2
  183. package/dist/ai/source/BbDropdown.md +350 -98
  184. package/dist/ai/source/BbDropdownButton.md +20 -12
  185. package/dist/ai/source/BbDropdownGroup.md +136 -58
  186. package/dist/ai/source/BbForm.md +144 -10
  187. package/dist/ai/source/BbOffCanvas.md +53 -2
  188. package/dist/ai/source/BbPagination.md +1 -1
  189. package/dist/ai/source/BbRadioGroup.md +72 -10
  190. package/dist/ai/source/BbRating.md +30 -22
  191. package/dist/ai/source/BbSelect.md +11 -1
  192. package/dist/ai/source/BbSelectPopover.md +105 -34
  193. package/dist/ai/source/BbSwitch.md +23 -8
  194. package/dist/ai/source/BbSwitchGroup.md +67 -21
  195. package/dist/ai/source/BbTable.md +359 -48
  196. package/dist/ai/source/BbTabs.md +6 -0
  197. package/dist/ai/source/BbTabsList.md +10 -0
  198. package/dist/ai/source/BbTabsPanels.md +6 -0
  199. package/dist/ai/source/BbTabsRoot.md +6 -0
  200. package/dist/ai/source/BbTree.md +14 -4
  201. package/dist/ai/source/CommonFieldInput.md +2 -1
  202. package/dist/components/BbAccordion/BbAccordion.vue.d.ts +7 -3
  203. package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +52 -38
  204. package/dist/components/BbAccordion/ptKeys.generated.d.ts +20 -0
  205. package/dist/components/BbAccordion/types.d.ts +21 -7
  206. package/dist/components/BbAccordion/types.js +1 -1
  207. package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
  208. package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +5 -5
  209. package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
  210. package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +65 -42
  211. package/dist/components/BbBadge/types.d.ts +15 -12
  212. package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +79 -73
  213. package/dist/components/BbButton/types.d.ts +7 -6
  214. package/dist/components/BbCalendar/BbCalendar.vue.d.ts +2 -1
  215. package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +2 -1
  216. package/dist/components/BbCalendar/types.d.ts +5 -0
  217. package/dist/components/BbCalendar/useCalendarGrid.js +1 -1
  218. package/dist/components/BbCalendar/useDayGrid.js +1 -1
  219. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +10 -4
  220. package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +2 -2
  221. package/dist/components/BbCheckboxGroup/types.d.ts +2 -2
  222. package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +8 -8
  223. package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +71 -132
  224. package/dist/components/BbConfirm/ptKeys.generated.d.ts +5 -5
  225. package/dist/components/BbConfirm/types.d.ts +5 -5
  226. package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +2 -1
  227. package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +3 -0
  228. package/dist/components/BbDatePicker/types.d.ts +5 -0
  229. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
  230. package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +2 -0
  231. package/dist/components/BbDatePickerInput/types.d.ts +2 -1
  232. package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
  233. package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +263 -235
  234. package/dist/components/BbDialog/overlayActions.js +94 -0
  235. package/dist/components/BbDialog/types.d.ts +24 -0
  236. package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +4 -3
  237. package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +382 -332
  238. package/dist/components/BbDropdown/dropdownHandle.js +6 -0
  239. package/dist/components/BbDropdown/normalizeGroups.js +58 -48
  240. package/dist/components/BbDropdown/types.d.ts +107 -48
  241. package/dist/components/BbDropdown/types.js +2 -2
  242. package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +71 -71
  243. package/dist/components/BbDropdownButton/types.d.ts +2 -4
  244. package/dist/components/BbForm/BbForm.vue.d.ts +2 -1
  245. package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +240 -198
  246. package/dist/components/BbForm/recognizeValidation.d.ts +9 -0
  247. package/dist/components/BbForm/recognizeValidation.js +55 -0
  248. package/dist/components/BbForm/validationError.d.ts +10 -0
  249. package/dist/components/BbForm/validationError.js +11 -0
  250. package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
  251. package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +414 -389
  252. package/dist/components/BbOffCanvas/sheetAttrs.js +5 -5
  253. package/dist/components/BbOffCanvas/types.d.ts +24 -0
  254. package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +3 -3
  255. package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +10 -4
  256. package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +173 -157
  257. package/dist/components/BbRadioGroup/types.d.ts +9 -3
  258. package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +112 -103
  259. package/dist/components/BbRating/types.d.ts +3 -2
  260. package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -8
  261. package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +3 -1
  262. package/dist/components/BbSelect/types.d.ts +8 -0
  263. package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +11 -4
  264. package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +513 -502
  265. package/dist/components/BbSelectPopover/types.d.ts +10 -2
  266. package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -0
  267. package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +85 -73
  268. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +10 -4
  269. package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +171 -152
  270. package/dist/components/BbSwitchGroup/types.d.ts +1 -1
  271. package/dist/components/BbTable/BbTable.vue.d.ts +36 -25
  272. package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1338 -1215
  273. package/dist/components/BbTable/BbTableDataRow.js +2 -1
  274. package/dist/components/BbTable/BbTableRowMenu.js +36 -0
  275. package/dist/components/BbTable/types.d.ts +32 -17
  276. package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +2 -2
  277. package/dist/components/BbTabs/types.d.ts +6 -0
  278. package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
  279. package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
  280. package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +1 -1
  281. package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +88 -94
  282. package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +1 -1
  283. package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +9 -9
  284. package/dist/components/BbTree/types.d.ts +8 -2
  285. package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +39 -39
  286. package/dist/composables/formSubmitLock.js +15 -8
  287. package/dist/composables/overlayRegistry.d.ts +5 -0
  288. package/dist/composables/overlayRegistry.js +154 -148
  289. package/dist/composables/useBbDropdown.d.ts +8 -0
  290. package/dist/composables/useBbDropdown.js +3 -1
  291. package/dist/composables/useBbTabs.js +138 -138
  292. package/dist/composables/useConfirm.d.ts +63 -52
  293. package/dist/composables/useConfirm.js +22 -18
  294. package/dist/deprecation/ai-deprecations.json.js +1 -1
  295. package/dist/directives/bbDropdown.d.ts +7 -7
  296. package/dist/directives/bbDropdown.js +21 -14
  297. package/dist/directives/bbTooltip.d.ts +3 -3
  298. package/dist/directives/createPopoverDirective.js +57 -35
  299. package/dist/i18n/locales/ar.json +5 -1
  300. package/dist/i18n/locales/cs.json +5 -1
  301. package/dist/i18n/locales/da.json +5 -1
  302. package/dist/i18n/locales/de-CH.json +5 -1
  303. package/dist/i18n/locales/de.json +5 -1
  304. package/dist/i18n/locales/el.json +5 -1
  305. package/dist/i18n/locales/en-GB.json +5 -1
  306. package/dist/i18n/locales/en.json +5 -1
  307. package/dist/i18n/locales/es-MX.json +5 -1
  308. package/dist/i18n/locales/es.json +5 -1
  309. package/dist/i18n/locales/fa.json +5 -1
  310. package/dist/i18n/locales/fi.json +5 -1
  311. package/dist/i18n/locales/fr.json +5 -1
  312. package/dist/i18n/locales/he.json +5 -1
  313. package/dist/i18n/locales/hu.json +5 -1
  314. package/dist/i18n/locales/it.json +5 -1
  315. package/dist/i18n/locales/ja.json +5 -1
  316. package/dist/i18n/locales/ko.json +5 -1
  317. package/dist/i18n/locales/nb.json +5 -1
  318. package/dist/i18n/locales/nl.json +5 -1
  319. package/dist/i18n/locales/pl.json +5 -1
  320. package/dist/i18n/locales/pt-BR.json +5 -1
  321. package/dist/i18n/locales/pt-PT.json +5 -1
  322. package/dist/i18n/locales/ro.json +5 -1
  323. package/dist/i18n/locales/ru.json +5 -1
  324. package/dist/i18n/locales/sv.json +5 -1
  325. package/dist/i18n/locales/tr.json +5 -1
  326. package/dist/i18n/locales/uk.json +5 -1
  327. package/dist/i18n/locales/zh-CN.json +5 -1
  328. package/dist/i18n/locales/zh-HK.json +5 -1
  329. package/dist/i18n/locales/zh-TW.json +5 -1
  330. package/dist/index.d.ts +2 -0
  331. package/dist/index.js +4 -3
  332. package/dist/llms-full.txt +1984 -1145
  333. package/dist/llms-medium.txt +21 -18
  334. package/dist/llms.txt +2 -2
  335. package/dist/locale-blueprint.json +5 -1
  336. package/dist/plugin.js +17 -40
  337. package/dist/pluginCore.js +30 -0
  338. package/dist/styles.css +2 -2
  339. package/dist/types/ActionButton.d.ts +26 -5
  340. package/dist/types/ActionButton.js +11 -0
  341. package/dist/types/ConfigDefaults.d.ts +34 -3
  342. package/dist/types/ConfigDefaults.js +14 -8
  343. package/dist/types/ItemPath.d.ts +33 -4
  344. package/dist/types/ptComponentMap.d.ts +1 -1
  345. package/dist/utilities/functions/clickCount.js +14 -0
  346. package/dist/utils/versionCheck.js +1 -1
  347. package/llms.txt +2 -2
  348. package/package.json +11 -1
  349. package/scripts/README.md +31 -27
  350. package/scripts/lib/adoption-checklist.json +2 -2
  351. package/scripts/lib/eslint-disable.mjs +5 -3
  352. package/scripts/lib/eslint-plugin.d.ts +2 -0
  353. package/scripts/lib/eslint-plugin.mjs +213 -1
  354. package/scripts/lib/redundant-item-accessor.mjs +4 -1
  355. package/scripts/lib/release-results.mjs +32 -1
  356. package/scripts/lib/renamed-item-field.mjs +4 -1
  357. package/scripts/lib/tab-links.mjs +4 -1
  358. package/scripts/lib/tree-default-expandable.mjs +53 -0
  359. package/scripts/lib/validate-bb-markup.mjs +536 -52
@@ -7,13 +7,14 @@ import { usePassthrough as c, variantPt as l } from "../../composables/usePassth
7
7
  import { BB_DIALOG_PT as u } from "../BbDialog/types.js";
8
8
  import { BB_CONFIRM_PT as d } from "./types.js";
9
9
  import { CONFIRM_ENTRY as f } from "./confirmEntry.js";
10
- import p from "../BbButton/BbButton.vue.js";
11
- import { Fragment as m, computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, createSlots as y, defineComponent as b, inject as x, markRaw as S, mergeProps as C, normalizeProps as w, onMounted as T, openBlock as E, renderList as D, resolveDynamicComponent as O, toDisplayString as k, unref as A, useAttrs as j, withCtx as M } from "vue";
10
+ import { BB_OVERLAY_ACTION_ATTRS as p } from "../BbDialog/overlayActions.js";
11
+ import { ACTION_LOOK_KEYS as m } from "../../types/ConfigDefaults.js";
12
+ import { computed as h, createBlock as g, createCommentVNode as _, createElementBlock as v, defineComponent as y, inject as b, markRaw as x, mergeProps as S, normalizeProps as C, onMounted as w, openBlock as T, provide as E, resolveDynamicComponent as D, toDisplayString as O, unref as k, useAttrs as A, withCtx as j } from "vue";
12
13
  // src/components/BbConfirm/BbConfirm.vue?vue&type=script&setup=true&lang.ts
13
- var N = {
14
+ var M = {
14
15
  key: 0,
15
16
  class: "bb-confirm__content"
16
- }, P = /*@__PURE__*/ b({
17
+ }, N = /*@__PURE__*/ y({
17
18
  mixins: [l(d)],
18
19
  inheritAttrs: !1,
19
20
  __name: "BbConfirm",
@@ -66,160 +67,98 @@ var N = {
66
67
  pt: {}
67
68
  },
68
69
  setup(l) {
69
- let b = l, P = x(f), F = P.state, I = h(() => P.message), { isMobile: L } = o(), R = j(), z = d.parts.filter((e) => e !== "text" && e !== "action"), B = c({
70
+ let y = l, N = b(f), P = N.state, F = h(() => N.message), { isMobile: I } = o(), L = A(), R = d.parts.filter((e) => e !== "text" && e !== "action"), z = c({
70
71
  component: "BbConfirm",
71
- attrs: R,
72
- props: b,
72
+ attrs: L,
73
+ props: y,
73
74
  parts: d.parts,
74
75
  states: d.states,
75
76
  active: {
76
- open: () => F.processing,
77
- fullscreen: () => I.value?.fullscreen === !0 || I.value?.fullscreen === "mobile" && L.value
77
+ open: () => P.processing,
78
+ fullscreen: () => F.value?.fullscreen === !0 || F.value?.fullscreen === "mobile" && I.value
78
79
  },
79
80
  variant: {
80
81
  ...d.variant,
81
- current: () => I.value?.variant ?? "default"
82
+ current: () => F.value?.variant ?? "default"
82
83
  }
83
- }), V = h(() => {
84
- let { class: e, ...t } = R, n = {
84
+ }), B = h(() => {
85
+ let { class: e, ...t } = L, n = {
85
86
  role: "alertdialog",
86
87
  ...t
87
88
  };
88
- return G.value && !I.value?.title ? {
89
- "aria-labelledby": H,
89
+ return W.value && !F.value?.title ? {
90
+ "aria-labelledby": V,
90
91
  ...n
91
92
  } : n;
92
- }), H = `confirm_text_${i().id.value}`, U = a("BbConfirm", "size");
93
- T(() => {
94
- F.processing || r(P);
93
+ }), V = `confirm_text_${i().id.value}`, H = a("BbConfirm", "size");
94
+ w(() => {
95
+ P.processing || r(N);
95
96
  });
96
- let W = h(() => F.yesBusy || F.noBusy || F.actionBusy !== null), G = h(() => !!I.value?.text), K = {
97
- data: I.value.data ?? {},
98
- yes: () => n(!0, !1, P),
99
- no: () => n(!1, !0, P)
100
- }, q = h(() => {
101
- let e = I.value?.portal;
97
+ let U = h(() => P.okBusy || P.cancelBusy || P.actionBusy !== null), W = h(() => !!F.value?.text), G = {
98
+ data: F.value.data ?? {},
99
+ ok: () => n(!0, !1, N),
100
+ cancel: () => n(!1, !0, N)
101
+ }, K = h(() => {
102
+ let e = F.value?.portal;
102
103
  if (!e) return null;
103
104
  if (typeof e != "string") return e;
104
105
  let n = t.get(e);
105
- return n ? S(() => n(K)) : null;
106
- }), J = h(() => G.value || !!q.value), Y = h(() => {
107
- let { portal: e, data: t } = I.value ?? {};
106
+ return n ? x(() => n(G)) : null;
107
+ }), q = h(() => W.value || !!K.value), J = h(() => {
108
+ let { portal: e, data: t } = F.value ?? {};
108
109
  return !e || typeof e == "string" || !t ? {} : t;
109
- }), X = h(() => I.value?.actions !== !1), Z = h(() => {
110
- let e = I.value?.actions;
111
- return Array.isArray(e) && e.length ? e : null;
112
- }), Q = h(() => I.value?.no || null), $ = h(() => I.value?.yes || null), ee = h(() => ["bb-confirm", `bb-confirm--${I.value?.variant ?? "default"}`]), te = (e) => {
113
- e || n(!1, !1, P);
110
+ }), Y = a("BbConfirm", m.ok), X = a("BbConfirm", m.cancel), Z = (e, t) => {
111
+ if (!e) return !1;
112
+ let { onClick: n, defaulted: r = [], ...i } = e, a = { ...i };
113
+ for (let [e, n] of Object.entries(t ?? {})) n !== void 0 && (a[e] === void 0 || r.includes(e)) && (a[e] = n);
114
+ return {
115
+ ...a,
116
+ onClick: async () => (await n(), !1)
117
+ };
118
+ }, Q = h(() => Z(F.value?.ok, Y())), $ = h(() => Z(F.value?.cancel, X())), ee = h(() => {
119
+ let e = F.value?.actions;
120
+ return e === !1 ? !1 : Array.isArray(e) && e.length ? e.map((e) => Z(e)) : void 0;
121
+ });
122
+ E(p, () => S({ class: "bb-confirm__action" }, z.action));
123
+ let te = h(() => ["bb-confirm", `bb-confirm--${F.value?.variant ?? "default"}`]), ne = (e) => {
124
+ e || n(!1, !1, N);
114
125
  };
115
- return (t, n) => (E(), g(s, C({
116
- "aria-describedby": G.value && I.value?.title ? H : void 0,
117
- class: ee.value,
118
- "focus-target": I.value?.focusTarget,
119
- fullscreen: I.value?.fullscreen,
120
- "hide-close": W.value || !!I.value?.hideClose,
121
- "model-value": A(F).processing,
122
- persistent: W.value || !!I.value?.persistent,
123
- pt: A(B).forward(A(z), A(u).states)
124
- }, V.value, {
125
- size: I.value?.size ?? A(U)(),
126
- stack: I.value?.stack ?? A("bb-confirm"),
127
- title: I.value?.title,
128
- "transition-duration": A(e),
129
- onHidden: n[2] ||= (e) => A(r)(A(P)),
130
- "onUpdate:modelValue": te
131
- }), y({
132
- default: M(() => [J.value ? (E(), v("div", N, [G.value ? (E(), v("div", C({
126
+ return (t, n) => (T(), g(s, S({
127
+ actions: ee.value,
128
+ "aria-describedby": W.value && F.value?.title ? V : void 0,
129
+ cancel: $.value,
130
+ class: te.value,
131
+ "focus-target": F.value?.focusTarget,
132
+ fullscreen: F.value?.fullscreen,
133
+ "hide-close": U.value || !!F.value?.hideClose,
134
+ "model-value": k(P).processing,
135
+ ok: Q.value,
136
+ persistent: U.value || !!F.value?.persistent,
137
+ pt: k(z).forward(k(R), k(u).states)
138
+ }, B.value, {
139
+ size: F.value?.size ?? k(H)(),
140
+ stack: F.value?.stack ?? k("bb-confirm"),
141
+ title: F.value?.title,
142
+ "transition-duration": k(e),
143
+ onHidden: n[0] ||= (e) => k(r)(k(N)),
144
+ "onUpdate:modelValue": ne
145
+ }), {
146
+ default: j(() => [q.value ? (T(), v("div", M, [W.value ? (T(), v("div", S({
133
147
  key: 0,
134
- id: H,
148
+ id: V,
135
149
  class: "bb-confirm__text"
136
- }, A(B).text), k(I.value?.text), 17)) : (E(), g(O(q.value), w(C({ key: 1 }, Y.value)), null, 16))])) : _("", !0)]),
137
- _: 2
138
- }, [X.value ? {
139
- name: "footer",
140
- fn: M(() => [
141
- Z.value ? (E(!0), v(m, { key: 0 }, D(Z.value, (e, t) => (E(), g(p, C({
142
- key: t,
143
- "append:icon": e["append:icon"],
144
- block: e.block,
145
- disabled: A(F).actionBusy !== null && A(F).actionBusy !== t,
146
- icon: e.icon,
147
- loading: A(F).actionBusy === t,
148
- "prepend:icon": e["prepend:icon"],
149
- size: e.size,
150
- text: e.text,
151
- variant: e.variant,
152
- onClick: (t) => e.onClick(),
153
- class: "bb-confirm__action"
154
- }, { ref_for: !0 }, A(B).action), null, 16, [
155
- "append:icon",
156
- "block",
157
- "disabled",
158
- "icon",
159
- "loading",
160
- "prepend:icon",
161
- "size",
162
- "text",
163
- "variant",
164
- "onClick"
165
- ]))), 128)) : _("", !0),
166
- Q.value ? (E(), g(p, C({
167
- key: 1,
168
- "append:icon": Q.value["append:icon"],
169
- block: Q.value.block,
170
- disabled: A(F).yesBusy,
171
- icon: Q.value.icon,
172
- loading: A(F).noBusy,
173
- "prepend:icon": Q.value["prepend:icon"],
174
- size: Q.value.size,
175
- text: Q.value.text,
176
- variant: Q.value.variant,
177
- onClick: n[0] ||= (e) => Q.value.onClick(),
178
- class: "bb-confirm__action"
179
- }, A(B).action), null, 16, [
180
- "append:icon",
181
- "block",
182
- "disabled",
183
- "icon",
184
- "loading",
185
- "prepend:icon",
186
- "size",
187
- "text",
188
- "variant"
189
- ])) : _("", !0),
190
- $.value ? (E(), g(p, C({
191
- key: 2,
192
- "append:icon": $.value["append:icon"],
193
- block: $.value.block,
194
- disabled: A(F).noBusy,
195
- icon: $.value.icon,
196
- loading: A(F).yesBusy,
197
- "prepend:icon": $.value["prepend:icon"],
198
- size: $.value.size,
199
- text: $.value.text,
200
- variant: $.value.variant,
201
- onClick: n[1] ||= (e) => $.value.onClick(),
202
- class: "bb-confirm__action"
203
- }, A(B).action), null, 16, [
204
- "append:icon",
205
- "block",
206
- "disabled",
207
- "icon",
208
- "loading",
209
- "prepend:icon",
210
- "size",
211
- "text",
212
- "variant"
213
- ])) : _("", !0)
214
- ]),
215
- key: "0"
216
- } : void 0]), 1040, [
150
+ }, k(z).text), O(F.value?.text), 17)) : (T(), g(D(K.value), C(S({ key: 1 }, J.value)), null, 16))])) : _("", !0)]),
151
+ _: 1
152
+ }, 16, [
153
+ "actions",
217
154
  "aria-describedby",
155
+ "cancel",
218
156
  "class",
219
157
  "focus-target",
220
158
  "fullscreen",
221
159
  "hide-close",
222
160
  "model-value",
161
+ "ok",
223
162
  "persistent",
224
163
  "pt",
225
164
  "size",
@@ -229,4 +168,4 @@ var N = {
229
168
  ]));
230
169
  }
231
170
  });
232
- export { P as default };
171
+ export { N as default };
@@ -162,23 +162,23 @@ export interface BbConfirmPtKeys {
162
162
  */
163
163
  'pt:close:destructive'?: PtValue;
164
164
  /**
165
- * Every footer button — yes, no and each custom `actions` entry — at the button's root. A broadcast.
165
+ * Every footer button — ok, cancel and each custom `actions` entry — at the button's root. A broadcast.
166
166
  */
167
167
  'pt:action'?: PtValue;
168
168
  /**
169
- * Every footer button — yes, no and each custom `actions` entry — at the button's root. While `open`: a confirm is showing. See `pt:action`.
169
+ * Every footer button — ok, cancel and each custom `actions` entry — at the button's root. While `open`: a confirm is showing. See `pt:action`.
170
170
  */
171
171
  'pt:action:open'?: PtValue;
172
172
  /**
173
- * Every footer button — yes, no and each custom `actions` entry — at the button's root. While `fullscreen`: the showing confirm is fullscreen (its `fullscreen` option, or `'mobile'` on a phone). See `pt:action`.
173
+ * Every footer button — ok, cancel and each custom `actions` entry — at the button's root. While `fullscreen`: the showing confirm is fullscreen (its `fullscreen` option, or `'mobile'` on a phone). See `pt:action`.
174
174
  */
175
175
  'pt:action:fullscreen'?: PtValue;
176
176
  /**
177
- * Every footer button — yes, no and each custom `actions` entry — at the button's root. While `default`: component-wide, from the message: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win. See `pt:action`.
177
+ * Every footer button — ok, cancel and each custom `actions` entry — at the button's root. While `default`: component-wide, from the message: `variant: 'default'`. Merged after the part's base entry and before its states, so the real states still win. See `pt:action`.
178
178
  */
179
179
  'pt:action:default'?: PtValue;
180
180
  /**
181
- * Every footer button — yes, no and each custom `actions` entry — at the button's root. While `destructive`: component-wide, from the message: `variant: 'destructive'`. Below the real states, like every variant. See `pt:action`.
181
+ * Every footer button — ok, cancel and each custom `actions` entry — at the button's root. While `destructive`: component-wide, from the message: `variant: 'destructive'`. Below the real states, like every variant. See `pt:action`.
182
182
  */
183
183
  'pt:action:destructive'?: PtValue;
184
184
  }
@@ -18,7 +18,7 @@ import { BbConfirmPtKeys } from './ptKeys.generated.js';
18
18
  * @part text - The confirm's plain-text body — not a portal's content.
19
19
  * @part footer - The action buttons' band.
20
20
  * @part close - The ✕.
21
- * @part action - Every footer button — yes, no and each custom `actions`
21
+ * @part action - Every footer button — ok, cancel and each custom `actions`
22
22
  * entry — at the button's root. A broadcast.
23
23
  */
24
24
  export type BbConfirmPtPart = 'root' | 'sheet' | 'header' | 'title' | 'content' | 'text' | 'footer' | 'close' | 'action';
@@ -65,9 +65,9 @@ export type BbConfirmProps = BbConfirmPtProps & {
65
65
  export type BbConfirmPortalSlotProps<P = any> = {
66
66
  /** The `data` the `confirm()` passed. */
67
67
  data: P;
68
- /** Resolves the confirm with `true`. */
69
- yes: () => void;
70
- /** Resolves the confirm with `false`. */
71
- no: () => void;
68
+ /** Resolves the confirm with `true` (through `ok.onClick` when set). */
69
+ ok: () => void;
70
+ /** Resolves the confirm with `false` (through `cancel.onClick` when set). */
71
+ cancel: () => void;
72
72
  };
73
73
  export {};
@@ -41,6 +41,7 @@ declare const __VLS_export: <R extends boolean = false, M extends boolean = fals
41
41
  utc?: boolean;
42
42
  disabled?: boolean;
43
43
  readonly?: boolean;
44
+ clearable?: boolean;
44
45
  adaptive?: boolean;
45
46
  offCanvasProps?: Partial<import('../../index.js').BbOffCanvasProps>;
46
47
  transitionDuration?: number;
@@ -51,7 +52,7 @@ declare const __VLS_export: <R extends boolean = false, M extends boolean = fals
51
52
  disableFlip?: boolean;
52
53
  eager?: boolean;
53
54
  label?: string;
54
- } & BbDatePickerModelProps<R, M> & Omit<import('vue').DialogHTMLAttributes, "label" | `pt:${string}&${string}` | "anchor" | "readonly" | "disabled" | "step" | "type" | "pt" | "adaptive" | "floating" | "transitionDuration" | "max" | "selectable" | "offCanvasProps" | "activator" | "boundary" | "disableFlip" | "eager" | "offset" | "padding" | "placement" | keyof import('./ptKeys.generated.js').BbDatePickerPtKeys | "activeSegment" | "numberOfMonths" | "seconds" | "ampm" | "min" | "firstDayOfWeek" | "utc" | keyof BbDatePickerModelProps<R, M>> & {}) & {
55
+ } & BbDatePickerModelProps<R, M> & Omit<import('vue').DialogHTMLAttributes, "label" | `pt:${string}&${string}` | "anchor" | "readonly" | "disabled" | "step" | "type" | "pt" | "adaptive" | "floating" | "transitionDuration" | "clearable" | "max" | "selectable" | "offCanvasProps" | "activator" | "boundary" | "disableFlip" | "eager" | "offset" | "padding" | "placement" | keyof import('./ptKeys.generated.js').BbDatePickerPtKeys | "activeSegment" | "numberOfMonths" | "seconds" | "ampm" | "min" | "firstDayOfWeek" | "utc" | keyof BbDatePickerModelProps<R, M>> & {}) & {
55
56
  "onUpdate:modelValue"?: ((value: import('../../index.js').BbDateValue<R, M>) => any) | undefined;
56
57
  onHide?: (() => any) | undefined;
57
58
  onShow?: (() => any) | undefined;
@@ -133,6 +133,7 @@ var k = /*@__PURE__*/ v({
133
133
  utc: { type: Boolean },
134
134
  disabled: { type: Boolean },
135
135
  readonly: { type: Boolean },
136
+ clearable: { type: Boolean },
136
137
  adaptive: {
137
138
  type: Boolean,
138
139
  default: void 0
@@ -285,6 +286,7 @@ var k = /*@__PURE__*/ v({
285
286
  default: D(() => [_(ee, {
286
287
  "active-segment": d.activeSegment,
287
288
  ampm: d.ampm,
289
+ clearable: d.clearable,
288
290
  disabled: d.disabled,
289
291
  "first-day-of-week": d.firstDayOfWeek,
290
292
  floating: d.floating,
@@ -317,6 +319,7 @@ var k = /*@__PURE__*/ v({
317
319
  }))]), 1032, [
318
320
  "active-segment",
319
321
  "ampm",
322
+ "clearable",
320
323
  "disabled",
321
324
  "first-day-of-week",
322
325
  "floating",
@@ -193,6 +193,11 @@ export type BbDatePickerBaseProps = BbDatePickerPtProps & {
193
193
  disabled?: boolean;
194
194
  /** Prevents opening while keeping the activator visible. */
195
195
  readonly?: boolean;
196
+ /**
197
+ * Clicking the selected date (week, month, year) again clears a single
198
+ * value. Off: re-picking keeps it. `multiple` and `range` ignore it.
199
+ */
200
+ clearable?: boolean;
196
201
  /**
197
202
  * On mobile, open in a bottom off-canvas sheet instead of a floating popover.
198
203
  * When unset, falls back to the global `all.adaptive`.
@@ -78,7 +78,7 @@ declare const __VLS_export: <R extends boolean = false>(__VLS_props: NonNullable
78
78
  time?: string | string[] | null;
79
79
  transitionDuration?: number;
80
80
  utc?: boolean;
81
- } & import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> & BbDatePickerInputModelProps<R> & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "loading" | "description" | "hint" | "step" | "type" | "pt" | "onError" | "prepend:icon" | "append:icon" | "variant" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "floating" | "transitionDuration" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "max" | "selectable" | "offCanvasProps" | "numberOfMonths" | "seconds" | "ampm" | "min" | "firstDayOfWeek" | "utc" | keyof import('./ptKeys.generated.js').BbDatePickerInputPtKeys | "disableWriting" | "disableCalendar" | keyof import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> | "onFocus" | keyof BbDatePickerInputModelProps<R>> & {} & ControlAttrs<"input", "form" | "spellcheck" | "autocapitalize" | "autocorrect" | "enterkeyhint">) & {
81
+ } & import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> & BbDatePickerInputModelProps<R> & Omit<import('vue').HTMLAttributes, "label" | "reverse" | `pt:${string}&${string}` | "placeholder" | "readonly" | "disabled" | "warnings" | "errors" | "loading" | "description" | "hint" | "step" | "type" | "pt" | "onError" | "variant" | "prepend:icon" | "append:icon" | "compact" | "layout" | "labelMode" | "autocomplete" | "adaptive" | "floating" | "transitionDuration" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "labelPosition" | "name" | "persistentHint" | "required" | "max" | "selectable" | "offCanvasProps" | "numberOfMonths" | "seconds" | "ampm" | "min" | "firstDayOfWeek" | "utc" | keyof import('./ptKeys.generated.js').BbDatePickerInputPtKeys | "disableWriting" | "disableCalendar" | keyof import('../../composables/useFormBinding.js').FormFieldProps<string | string[] | null> | "onFocus" | keyof BbDatePickerInputModelProps<R>> & {} & ControlAttrs<"input", "form" | "spellcheck" | "autocapitalize" | "autocorrect" | "enterkeyhint">) & {
82
82
  onActive?: (() => any) | undefined;
83
83
  "onUpdate:modelValue"?: ((value: import('../../index.js').BbDateValue<R, false>) => any) | undefined;
84
84
  onInactive?: (() => any) | undefined;
@@ -1177,6 +1177,7 @@ var dt = ["dir"], ft = ["onClick"], pt = ["data-value"], mt = [
1177
1177
  adaptive: x(A).adaptive,
1178
1178
  ampm: u.ampm,
1179
1179
  anchor: Wt.value,
1180
+ clearable: u.clearable,
1180
1181
  disabled: u.disabled,
1181
1182
  "first-day-of-week": u.firstDayOfWeek,
1182
1183
  floating: x(A).floating,
@@ -1223,6 +1224,7 @@ var dt = ["dir"], ft = ["onClick"], pt = ["data-value"], mt = [
1223
1224
  "adaptive",
1224
1225
  "ampm",
1225
1226
  "anchor",
1227
+ "clearable",
1226
1228
  "disabled",
1227
1229
  "first-day-of-week",
1228
1230
  "floating",
@@ -153,7 +153,8 @@ export type BbDatePickerInputBaseProps = BbDatePickerInputPtProps & {
153
153
  */
154
154
  autofocus?: InputHTMLAttributes['autofocus'];
155
155
  /**
156
- * Displays a clear button when the input has a value and is being interacted with.
156
+ * Displays a clear button when the input has a value and is being
157
+ * interacted with, and lets re-picking the selected date clear it.
157
158
  */
158
159
  clearable?: boolean;
159
160
  /**
@@ -23,12 +23,14 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
23
23
  "update:snap": (value: BbSnapPoint | undefined) => any;
24
24
  } & {
25
25
  hide: (result: import('../../composables/overlayRegistry.js').BbDialogResult) => any;
26
+ complete: (value: any) => any;
26
27
  show: () => any;
27
28
  shown: () => any;
28
29
  hidden: () => any;
29
30
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
30
31
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
31
32
  onHide?: ((result: import('../../composables/overlayRegistry.js').BbDialogResult) => any) | undefined;
33
+ onComplete?: ((value: any) => any) | undefined;
32
34
  onShow?: (() => any) | undefined;
33
35
  onShown?: (() => any) | undefined;
34
36
  onHidden?: (() => any) | undefined;
@@ -40,6 +42,7 @@ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {
40
42
  transitionDuration: number;
41
43
  preventClose: boolean;
42
44
  queryKey: string;
45
+ actions: false | readonly import('../../index.js').ActionButtonConfig[];
43
46
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
44
47
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
45
48
  declare const _default: typeof __VLS_export;