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.
- package/README.md +2 -2
- package/bin/cli.mjs +6 -1
- package/dist/ai/BbAccordion.md +38 -19
- package/dist/ai/BbBadge.md +25 -22
- package/dist/ai/BbBreadcrumbs.md +1 -1
- package/dist/ai/BbButton.md +32 -27
- package/dist/ai/BbCalendar.md +1 -0
- package/dist/ai/BbCarousel.md +6 -4
- package/dist/ai/BbCheckboxGroup.md +2 -1
- package/dist/ai/BbColorInput.md +1 -1
- package/dist/ai/BbConfirm.md +65 -81
- package/dist/ai/BbConfirmPortal.md +2 -2
- package/dist/ai/BbDatePicker.md +1 -6
- package/dist/ai/BbDatePickerInput.md +2 -2
- package/dist/ai/BbDialog.md +230 -164
- package/dist/ai/BbDropdown.md +52 -16
- package/dist/ai/BbDropdownButton.md +11 -12
- package/dist/ai/BbDropzone.md +12 -8
- package/dist/ai/BbForm.md +93 -7
- package/dist/ai/BbHost.md +2 -2
- package/dist/ai/BbHoverCardPortal.md +1 -1
- package/dist/ai/BbIcon.md +1 -1
- package/dist/ai/BbIndicator.md +17 -15
- package/dist/ai/BbNumberInput.md +7 -5
- package/dist/ai/BbOffCanvas.md +29 -7
- package/dist/ai/BbPagination.md +2 -2
- package/dist/ai/BbPopover.md +15 -9
- package/dist/ai/BbPopoverPortal.md +1 -1
- package/dist/ai/BbRadioGroup.md +29 -7
- package/dist/ai/BbRating.md +8 -7
- package/dist/ai/BbSelect.md +29 -8
- package/dist/ai/BbSelectPopover.md +9 -3
- package/dist/ai/BbSlider.md +12 -8
- package/dist/ai/BbSpinner.md +3 -2
- package/dist/ai/BbSwitch.md +3 -3
- package/dist/ai/BbSwitchGroup.md +7 -6
- package/dist/ai/BbTable.md +205 -82
- package/dist/ai/BbTabs.md +29 -4
- package/dist/ai/BbTag.md +1 -1
- package/dist/ai/BbTextInput.md +7 -5
- package/dist/ai/BbTextarea.md +4 -3
- package/dist/ai/BbTimePickerInput.md +1 -1
- package/dist/ai/BbToast.md +3 -2
- package/dist/ai/BbTooltip.md +22 -17
- package/dist/ai/BbTree.md +49 -24
- package/dist/ai/CommonFieldInput.md +1 -1
- package/dist/ai/changelog.json +238 -9
- package/dist/ai/components.json +52 -51
- package/dist/ai/composables/useBbDialog.md +5 -8
- package/dist/ai/composables/useBbForm.md +3 -0
- package/dist/ai/composables/useConfirm.md +65 -56
- package/dist/ai/composables/useToast.md +2 -1
- package/dist/ai/guides/agent-contract.md +3 -3
- package/dist/ai/guides/app-layout.md +3 -2
- package/dist/ai/guides/eslint-rules.md +3 -1
- package/dist/ai/guides/fetch-items-playbook.md +1 -1
- package/dist/ai/guides/floating-bottom-panel.md +3 -2
- package/dist/ai/guides/icons-policy.md +7 -5
- package/dist/ai/guides/inertia-helpers.md +35 -30
- package/dist/ai/guides/installation-and-plugin-setup.md +17 -14
- package/dist/ai/guides/migration/adoption-checklist.md +2 -2
- package/dist/ai/guides/migration/components/bb-badge.md +12 -1
- package/dist/ai/guides/migration/components/bb-button.md +24 -0
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +11 -0
- package/dist/ai/guides/migration/components/bb-tabs.md +2 -2
- package/dist/ai/guides/migration/components/bb-toast.md +11 -0
- package/dist/ai/guides/migration/components/use-confirm.md +69 -26
- package/dist/ai/guides/migration/v2-to-v3.md +52 -10
- package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -1
- package/dist/ai/guides/options-items-playbook.md +4 -3
- package/dist/ai/guides/passthrough.md +2 -2
- package/dist/ai/helpers/inertia/manifest.json +28 -15
- package/dist/ai/helpers/inertia/messages.ts +3 -3
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +10 -10
- package/dist/ai/helpers/inertia/usePromiseForm.ts +1 -1
- package/dist/ai/helpers/inertia/usePromiseRouter.ts +7 -2
- package/dist/ai/index.md +3 -3
- package/dist/ai/manifest/common.json +3 -3
- package/dist/ai/manifest/components/BbAccordion.json +8 -5
- package/dist/ai/manifest/components/BbAccordion.tree.json +1 -0
- package/dist/ai/manifest/components/BbBadge.json +8 -7
- package/dist/ai/manifest/components/BbBadge.removed.json +3 -1
- package/dist/ai/manifest/components/BbBadge.tree.json +73 -0
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +5 -6
- package/dist/ai/manifest/components/BbButton.removed.json +3 -1
- package/dist/ai/manifest/components/BbButton.tree.json +24 -7
- package/dist/ai/manifest/components/BbCalendar.json +2 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.json +1 -1
- package/dist/ai/manifest/components/BbColorInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +2 -2
- package/dist/ai/manifest/components/BbConfirm.removed.json +9 -0
- package/dist/ai/manifest/components/BbConfirm.tree.json +4 -5
- package/dist/ai/manifest/components/BbConfirmPortal.json +3 -3
- package/dist/ai/manifest/components/BbConfirmPortal.removed.json +7 -0
- package/dist/ai/manifest/components/BbDatePicker.json +2 -1
- package/dist/ai/manifest/components/BbDatePicker.tree.json +0 -6
- package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbDialog.json +6 -1
- package/dist/ai/manifest/components/BbDialog.tree.json +41 -1
- package/dist/ai/manifest/components/BbDropdown.json +9 -8
- package/dist/ai/manifest/components/BbDropdown.tree.json +4 -0
- package/dist/ai/manifest/components/BbDropdownButton.json +8 -9
- package/dist/ai/manifest/components/BbDropdownButton.removed.json +3 -1
- package/dist/ai/manifest/components/BbForm.json +3 -1
- package/dist/ai/manifest/components/BbNumberInput.json +1 -1
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.json +6 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +40 -0
- package/dist/ai/manifest/components/BbPagination.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +4 -3
- package/dist/ai/manifest/components/BbRating.json +2 -2
- package/dist/ai/manifest/components/BbSelect.json +16 -15
- package/dist/ai/manifest/components/BbSelect.tree.json +1 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +1 -0
- package/dist/ai/manifest/components/BbSwitch.json +4 -4
- package/dist/ai/manifest/components/BbSwitchGroup.json +7 -7
- package/dist/ai/manifest/components/BbTable.json +15 -14
- package/dist/ai/manifest/components/BbTable.tree.json +2 -0
- package/dist/ai/manifest/components/BbTabs.json +3 -3
- package/dist/ai/manifest/components/BbTabsList.json +1 -1
- package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
- package/dist/ai/manifest/components/BbTag.json +1 -1
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.json +1 -1
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbToast.removed.json +2 -1
- package/dist/ai/manifest/components/BbTree.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +3 -3
- package/dist/ai/manifest/index.json +4 -4
- package/dist/ai/manifest/meta.json +5 -1
- package/dist/ai/manifest/types.advanced.json +9 -9
- package/dist/ai/manifest/types.api.json +6 -5
- package/dist/ai/recipes/inertia/approvals-inbox.md +23 -16
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/inertia/layout-scaffold.md +5 -3
- package/dist/ai/recipes/inertia/onboarding.md +23 -12
- package/dist/ai/recipes/inertia/ownership-atlas.md +34 -18
- package/dist/ai/recipes/inertia/record-form.md +12 -8
- package/dist/ai/recipes/inertia/records-workspace.md +14 -7
- package/dist/ai/recipes/inertia/settings-workspace.md +75 -60
- package/dist/ai/recipes/inertia/upload-center.md +17 -9
- package/dist/ai/recipes/inertia/wizard-form.md +2 -2
- package/dist/ai/recipes/nuxt/approvals-inbox.md +23 -16
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -3
- package/dist/ai/recipes/nuxt/onboarding.md +5 -4
- package/dist/ai/recipes/nuxt/ownership-atlas.md +34 -18
- package/dist/ai/recipes/nuxt/record-form.md +14 -10
- package/dist/ai/recipes/nuxt/records-workspace.md +14 -7
- package/dist/ai/recipes/nuxt/settings-workspace.md +70 -60
- package/dist/ai/recipes/nuxt/upload-center.md +17 -9
- package/dist/ai/recipes/nuxt/wizard-form.md +4 -4
- package/dist/ai/recipes/vue/approvals-inbox.md +23 -16
- package/dist/ai/recipes/vue/inline-edit-workspace.md +12 -5
- package/dist/ai/recipes/vue/layout-scaffold.md +5 -3
- package/dist/ai/recipes/vue/onboarding.md +5 -4
- package/dist/ai/recipes/vue/ownership-atlas.md +34 -18
- package/dist/ai/recipes/vue/record-form.md +14 -10
- package/dist/ai/recipes/vue/records-workspace.md +14 -7
- package/dist/ai/recipes/vue/settings-workspace.md +70 -60
- package/dist/ai/recipes/vue/upload-center.md +17 -9
- package/dist/ai/recipes/vue/wizard-form.md +4 -4
- package/dist/ai/source/BbAccordion.md +50 -16
- package/dist/ai/source/BbBadge.md +420 -26
- package/dist/ai/source/BbBadgeButton.md +378 -12
- package/dist/ai/source/BbButton.md +205 -55
- package/dist/ai/source/BbCalendar.md +5 -0
- package/dist/ai/source/BbCheckboxGroup.md +38 -13
- package/dist/ai/source/BbConfigScope.md +19 -2
- package/dist/ai/source/BbConfirm.md +74 -80
- package/dist/ai/source/BbConfirmPortal.md +6 -6
- package/dist/ai/source/BbDatePicker.md +9 -2
- package/dist/ai/source/BbDatePickerInput.md +3 -1
- package/dist/ai/source/BbDialog.md +53 -2
- package/dist/ai/source/BbDropdown.md +350 -98
- package/dist/ai/source/BbDropdownButton.md +20 -12
- package/dist/ai/source/BbDropdownGroup.md +136 -58
- package/dist/ai/source/BbForm.md +144 -10
- package/dist/ai/source/BbOffCanvas.md +53 -2
- package/dist/ai/source/BbPagination.md +1 -1
- package/dist/ai/source/BbRadioGroup.md +72 -10
- package/dist/ai/source/BbRating.md +30 -22
- package/dist/ai/source/BbSelect.md +11 -1
- package/dist/ai/source/BbSelectPopover.md +105 -34
- package/dist/ai/source/BbSwitch.md +23 -8
- package/dist/ai/source/BbSwitchGroup.md +67 -21
- package/dist/ai/source/BbTable.md +359 -48
- package/dist/ai/source/BbTabs.md +6 -0
- package/dist/ai/source/BbTabsList.md +10 -0
- package/dist/ai/source/BbTabsPanels.md +6 -0
- package/dist/ai/source/BbTabsRoot.md +6 -0
- package/dist/ai/source/BbTree.md +14 -4
- package/dist/ai/source/CommonFieldInput.md +2 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +7 -3
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +52 -38
- package/dist/components/BbAccordion/ptKeys.generated.d.ts +20 -0
- package/dist/components/BbAccordion/types.d.ts +21 -7
- package/dist/components/BbAccordion/types.js +1 -1
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/BbBadge/BbBadge.vue.d.ts +1 -1
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +65 -42
- package/dist/components/BbBadge/types.d.ts +15 -12
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +79 -73
- package/dist/components/BbButton/types.d.ts +7 -6
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +2 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/BbCalendar/types.d.ts +5 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +1 -1
- package/dist/components/BbCalendar/useDayGrid.js +1 -1
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +10 -4
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -2
- package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +71 -132
- package/dist/components/BbConfirm/ptKeys.generated.d.ts +5 -5
- package/dist/components/BbConfirm/types.d.ts +5 -5
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +2 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/components/BbDatePicker/types.d.ts +5 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +2 -0
- package/dist/components/BbDatePickerInput/types.d.ts +2 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -0
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +263 -235
- package/dist/components/BbDialog/overlayActions.js +94 -0
- package/dist/components/BbDialog/types.d.ts +24 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +4 -3
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +382 -332
- package/dist/components/BbDropdown/dropdownHandle.js +6 -0
- package/dist/components/BbDropdown/normalizeGroups.js +58 -48
- package/dist/components/BbDropdown/types.d.ts +107 -48
- package/dist/components/BbDropdown/types.js +2 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +71 -71
- package/dist/components/BbDropdownButton/types.d.ts +2 -4
- package/dist/components/BbForm/BbForm.vue.d.ts +2 -1
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +240 -198
- package/dist/components/BbForm/recognizeValidation.d.ts +9 -0
- package/dist/components/BbForm/recognizeValidation.js +55 -0
- package/dist/components/BbForm/validationError.d.ts +10 -0
- package/dist/components/BbForm/validationError.js +11 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +414 -389
- package/dist/components/BbOffCanvas/sheetAttrs.js +5 -5
- package/dist/components/BbOffCanvas/types.d.ts +24 -0
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +10 -4
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +173 -157
- package/dist/components/BbRadioGroup/types.d.ts +9 -3
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +112 -103
- package/dist/components/BbRating/types.d.ts +3 -2
- package/dist/components/BbSelect/BbSelect.vue.d.ts +9 -8
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +3 -1
- package/dist/components/BbSelect/types.d.ts +8 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +11 -4
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +513 -502
- package/dist/components/BbSelectPopover/types.d.ts +10 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -0
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +85 -73
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +10 -4
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +171 -152
- package/dist/components/BbSwitchGroup/types.d.ts +1 -1
- package/dist/components/BbTable/BbTable.vue.d.ts +36 -25
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1338 -1215
- package/dist/components/BbTable/BbTableDataRow.js +2 -1
- package/dist/components/BbTable/BbTableRowMenu.js +36 -0
- package/dist/components/BbTable/types.d.ts +32 -17
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbTabs/types.d.ts +6 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +88 -94
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +9 -9
- package/dist/components/BbTree/types.d.ts +8 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +39 -39
- package/dist/composables/formSubmitLock.js +15 -8
- package/dist/composables/overlayRegistry.d.ts +5 -0
- package/dist/composables/overlayRegistry.js +154 -148
- package/dist/composables/useBbDropdown.d.ts +8 -0
- package/dist/composables/useBbDropdown.js +3 -1
- package/dist/composables/useBbTabs.js +138 -138
- package/dist/composables/useConfirm.d.ts +63 -52
- package/dist/composables/useConfirm.js +22 -18
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.d.ts +7 -7
- package/dist/directives/bbDropdown.js +21 -14
- package/dist/directives/bbTooltip.d.ts +3 -3
- package/dist/directives/createPopoverDirective.js +57 -35
- package/dist/i18n/locales/ar.json +5 -1
- package/dist/i18n/locales/cs.json +5 -1
- package/dist/i18n/locales/da.json +5 -1
- package/dist/i18n/locales/de-CH.json +5 -1
- package/dist/i18n/locales/de.json +5 -1
- package/dist/i18n/locales/el.json +5 -1
- package/dist/i18n/locales/en-GB.json +5 -1
- package/dist/i18n/locales/en.json +5 -1
- package/dist/i18n/locales/es-MX.json +5 -1
- package/dist/i18n/locales/es.json +5 -1
- package/dist/i18n/locales/fa.json +5 -1
- package/dist/i18n/locales/fi.json +5 -1
- package/dist/i18n/locales/fr.json +5 -1
- package/dist/i18n/locales/he.json +5 -1
- package/dist/i18n/locales/hu.json +5 -1
- package/dist/i18n/locales/it.json +5 -1
- package/dist/i18n/locales/ja.json +5 -1
- package/dist/i18n/locales/ko.json +5 -1
- package/dist/i18n/locales/nb.json +5 -1
- package/dist/i18n/locales/nl.json +5 -1
- package/dist/i18n/locales/pl.json +5 -1
- package/dist/i18n/locales/pt-BR.json +5 -1
- package/dist/i18n/locales/pt-PT.json +5 -1
- package/dist/i18n/locales/ro.json +5 -1
- package/dist/i18n/locales/ru.json +5 -1
- package/dist/i18n/locales/sv.json +5 -1
- package/dist/i18n/locales/tr.json +5 -1
- package/dist/i18n/locales/uk.json +5 -1
- package/dist/i18n/locales/zh-CN.json +5 -1
- package/dist/i18n/locales/zh-HK.json +5 -1
- package/dist/i18n/locales/zh-TW.json +5 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +4 -3
- package/dist/llms-full.txt +1984 -1145
- package/dist/llms-medium.txt +21 -18
- package/dist/llms.txt +2 -2
- package/dist/locale-blueprint.json +5 -1
- package/dist/plugin.js +17 -40
- package/dist/pluginCore.js +30 -0
- package/dist/styles.css +2 -2
- package/dist/types/ActionButton.d.ts +26 -5
- package/dist/types/ActionButton.js +11 -0
- package/dist/types/ConfigDefaults.d.ts +34 -3
- package/dist/types/ConfigDefaults.js +14 -8
- package/dist/types/ItemPath.d.ts +33 -4
- package/dist/types/ptComponentMap.d.ts +1 -1
- package/dist/utilities/functions/clickCount.js +14 -0
- package/dist/utils/versionCheck.js +1 -1
- package/llms.txt +2 -2
- package/package.json +11 -1
- package/scripts/README.md +31 -27
- package/scripts/lib/adoption-checklist.json +2 -2
- package/scripts/lib/eslint-disable.mjs +5 -3
- package/scripts/lib/eslint-plugin.d.ts +2 -0
- package/scripts/lib/eslint-plugin.mjs +213 -1
- package/scripts/lib/redundant-item-accessor.mjs +4 -1
- package/scripts/lib/release-results.mjs +32 -1
- package/scripts/lib/renamed-item-field.mjs +4 -1
- package/scripts/lib/tab-links.mjs +4 -1
- package/scripts/lib/tree-default-expandable.mjs +53 -0
- 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 "../
|
|
11
|
-
import {
|
|
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
|
|
14
|
+
var M = {
|
|
14
15
|
key: 0,
|
|
15
16
|
class: "bb-confirm__content"
|
|
16
|
-
},
|
|
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
|
|
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:
|
|
72
|
-
props:
|
|
72
|
+
attrs: L,
|
|
73
|
+
props: y,
|
|
73
74
|
parts: d.parts,
|
|
74
75
|
states: d.states,
|
|
75
76
|
active: {
|
|
76
|
-
open: () =>
|
|
77
|
-
fullscreen: () =>
|
|
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: () =>
|
|
82
|
+
current: () => F.value?.variant ?? "default"
|
|
82
83
|
}
|
|
83
|
-
}),
|
|
84
|
-
let { class: e, ...t } =
|
|
84
|
+
}), B = h(() => {
|
|
85
|
+
let { class: e, ...t } = L, n = {
|
|
85
86
|
role: "alertdialog",
|
|
86
87
|
...t
|
|
87
88
|
};
|
|
88
|
-
return
|
|
89
|
-
"aria-labelledby":
|
|
89
|
+
return W.value && !F.value?.title ? {
|
|
90
|
+
"aria-labelledby": V,
|
|
90
91
|
...n
|
|
91
92
|
} : n;
|
|
92
|
-
}),
|
|
93
|
-
|
|
94
|
-
|
|
93
|
+
}), V = `confirm_text_${i().id.value}`, H = a("BbConfirm", "size");
|
|
94
|
+
w(() => {
|
|
95
|
+
P.processing || r(N);
|
|
95
96
|
});
|
|
96
|
-
let
|
|
97
|
-
data:
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
},
|
|
101
|
-
let e =
|
|
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 ?
|
|
106
|
-
}),
|
|
107
|
-
let { portal: e, data: t } =
|
|
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
|
-
}),
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
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) => (
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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:
|
|
148
|
+
id: V,
|
|
135
149
|
class: "bb-confirm__text"
|
|
136
|
-
},
|
|
137
|
-
_:
|
|
138
|
-
}, [
|
|
139
|
-
|
|
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 {
|
|
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 —
|
|
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 —
|
|
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 —
|
|
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 —
|
|
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 —
|
|
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 —
|
|
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
|
-
|
|
70
|
-
/** Resolves the confirm with `false
|
|
71
|
-
|
|
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" | "
|
|
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;
|
package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -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
|
|
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;
|