bitboss-ui 3.0.0-beta.4 → 3.0.0-beta.41
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 +317 -98
- package/bin/bitboss-ui-mcp.mjs +1566 -75
- package/bin/bitboss-ui.mjs +716 -72
- package/dist/ai/BbAccordion.md +178 -56
- package/dist/ai/BbAlert.md +140 -28
- package/dist/ai/BbAsterisk.md +61 -4
- package/dist/ai/BbAvatar.md +194 -53
- package/dist/ai/BbBadge.md +250 -50
- package/dist/ai/BbBadgeButton.md +74 -21
- package/dist/ai/BbBaseButton.md +132 -51
- package/dist/ai/BbBaseCheckboxIcon.md +118 -26
- package/dist/ai/BbBaseRadioIcon.md +115 -26
- package/dist/ai/BbBaseSwitchIcon.md +123 -28
- package/dist/ai/BbBreadcrumbs.md +221 -51
- package/dist/ai/BbButton.md +389 -107
- package/dist/ai/BbCalendar.md +667 -0
- package/dist/ai/BbCheckbox.md +242 -80
- package/dist/ai/BbCheckboxGroup.md +575 -66
- package/dist/ai/BbCollapsible.md +158 -39
- package/dist/ai/BbColorInput.md +322 -82
- package/dist/ai/BbColorPalette.md +261 -61
- package/dist/ai/BbConfirm.md +220 -51
- package/dist/ai/BbConfirmPortal.md +1 -1
- package/dist/ai/BbDatePicker.md +272 -37
- package/dist/ai/BbDatePickerInput.md +321 -92
- package/dist/ai/BbDialog.md +492 -87
- package/dist/ai/BbDropdown.md +1182 -104
- package/dist/ai/BbDropdownButton.md +239 -61
- package/dist/ai/BbDropdownGroup.md +5 -5
- package/dist/ai/BbDropzone.md +140 -36
- package/dist/ai/BbForm.md +1165 -40
- package/dist/ai/BbIcon.md +100 -33
- package/dist/ai/BbIndicator.md +79 -12
- package/dist/ai/BbNumberInput.md +257 -87
- package/dist/ai/BbOffCanvas.md +396 -91
- package/dist/ai/BbPagination.md +199 -32
- package/dist/ai/BbPopover.md +219 -54
- package/dist/ai/BbProgress.md +137 -71
- package/dist/ai/BbPtScope.md +136 -0
- package/dist/ai/BbRadio.md +234 -43
- package/dist/ai/BbRadioGroup.md +529 -91
- package/dist/ai/BbRating.md +243 -61
- package/dist/ai/BbSelect.md +690 -120
- package/dist/ai/BbSelectPopover.md +434 -122
- package/dist/ai/BbSlider.md +275 -79
- package/dist/ai/BbSmoothHeight.md +142 -34
- package/dist/ai/BbSpinner.md +179 -81
- package/dist/ai/BbSwitch.md +249 -63
- package/dist/ai/BbSwitchGroup.md +394 -65
- package/dist/ai/BbTable.md +1666 -222
- package/dist/ai/BbTabs.md +898 -178
- package/dist/ai/BbTabsList.md +81 -7
- package/dist/ai/BbTabsPanels.md +77 -0
- package/dist/ai/BbTabsRoot.md +16 -15
- package/dist/ai/BbTag.md +256 -76
- package/dist/ai/BbTextInput.md +480 -102
- package/dist/ai/BbTextarea.md +310 -96
- package/dist/ai/BbTimePicker.md +159 -24
- package/dist/ai/BbTimePickerInput.md +277 -46
- package/dist/ai/BbToast.md +286 -40
- package/dist/ai/BbToastPortal.md +3 -3
- package/dist/ai/BbTooltip.md +187 -34
- package/dist/ai/BbTree.md +260 -85
- package/dist/ai/ChipsBox.md +43 -2
- package/dist/ai/ClearableButton.md +12 -0
- package/dist/ai/CommaBox.md +2 -1
- package/dist/ai/CommonField.md +63 -0
- package/dist/ai/CommonFieldInput.md +90 -0
- package/dist/ai/CommonPopover.md +17 -12
- package/dist/ai/CommonTimeSelector.md +63 -0
- package/dist/ai/ErrorIcon.md +20 -0
- package/dist/ai/FlatListBox.md +41 -11
- package/dist/ai/GroupedListBox.md +42 -12
- package/dist/ai/ListBox.md +46 -11
- package/dist/ai/OptionsContainer.md +13 -10
- package/dist/ai/WarningIcon.md +20 -0
- package/dist/ai/changelog.json +4025 -141
- package/dist/ai/components.json +51872 -10136
- package/dist/ai/composables/useBbConfig.md +72 -11
- package/dist/ai/composables/useBbDropdownContext.md +168 -0
- package/dist/ai/composables/useBbFormContext.md +51 -24
- package/dist/ai/composables/useBbFormField.md +134 -0
- package/dist/ai/composables/useBbTableContext.md +41 -19
- package/dist/ai/composables/useConfirm.md +16 -8
- package/dist/ai/composables/useCountdown.md +1 -1
- package/dist/ai/composables/useId.md +10 -10
- package/dist/ai/composables/useMobile.md +17 -10
- package/dist/ai/composables/useToast.md +25 -19
- package/dist/ai/design-tokens.json +940 -0
- package/dist/ai/design-tokens.manifest.yaml +175 -0
- package/dist/ai/guides/agent-contract.md +168 -22
- package/dist/ai/guides/ai-router.md +79 -40
- package/dist/ai/guides/app-layout.md +8 -4
- package/dist/ai/guides/coherence-playbook.md +8 -8
- package/dist/ai/guides/component-picker.md +42 -34
- package/dist/ai/guides/design-language.md +274 -97
- package/dist/ai/guides/design-tokens.md +493 -105
- package/dist/ai/guides/fetch-items-playbook.md +22 -16
- package/dist/ai/guides/icons-policy.md +67 -35
- package/dist/ai/guides/inertia-helpers.md +4 -1
- package/dist/ai/guides/inline-edit-playbook.md +13 -6
- package/dist/ai/guides/installation-and-plugin-setup.md +817 -73
- package/dist/ai/guides/migration/components/bb-accordion.md +37 -0
- package/dist/ai/guides/migration/components/bb-alert.md +2 -2
- package/dist/ai/guides/migration/components/bb-avatar.md +13 -14
- package/dist/ai/guides/migration/components/bb-badge.md +5 -5
- package/dist/ai/guides/migration/components/bb-breadcrumbs.md +9 -8
- package/dist/ai/guides/migration/components/bb-button.md +80 -20
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +116 -29
- package/dist/ai/guides/migration/components/bb-checkbox.md +53 -10
- package/dist/ai/guides/migration/components/bb-chip.md +6 -6
- package/dist/ai/guides/migration/components/bb-collapsible.md +5 -5
- package/dist/ai/guides/migration/components/bb-color-input.md +5 -5
- package/dist/ai/guides/migration/components/bb-color-palette.md +16 -9
- package/dist/ai/guides/migration/components/bb-date-picker-input.md +45 -35
- package/dist/ai/guides/migration/components/bb-dialog.md +69 -36
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +7 -1
- package/dist/ai/guides/migration/components/bb-dropdown.md +31 -8
- package/dist/ai/guides/migration/components/bb-dropzone.md +8 -0
- package/dist/ai/guides/migration/components/bb-icon.md +7 -7
- package/dist/ai/guides/migration/components/bb-intersection.md +1 -1
- package/dist/ai/guides/migration/components/bb-offcanvas.md +29 -31
- package/dist/ai/guides/migration/components/bb-pagination.md +10 -0
- package/dist/ai/guides/migration/components/bb-popover.md +19 -11
- package/dist/ai/guides/migration/components/bb-radio-group.md +14 -0
- package/dist/ai/guides/migration/components/bb-rating.md +61 -24
- package/dist/ai/guides/migration/components/bb-select-popover.md +9 -1
- package/dist/ai/guides/migration/components/bb-select.md +21 -4
- package/dist/ai/guides/migration/components/bb-slider.md +14 -6
- package/dist/ai/guides/migration/components/bb-switch-group.md +14 -0
- package/dist/ai/guides/migration/components/bb-table.md +574 -33
- package/dist/ai/guides/migration/components/bb-tabs.md +91 -41
- package/dist/ai/guides/migration/components/bb-tag.md +9 -7
- package/dist/ai/guides/migration/components/bb-text-input.md +12 -12
- package/dist/ai/guides/migration/components/bb-toast.md +2 -2
- package/dist/ai/guides/migration/components/bb-tooltip.md +18 -0
- package/dist/ai/guides/migration/components/bb-tree.md +11 -9
- package/dist/ai/guides/migration/components/use-confirm.md +9 -1
- package/dist/ai/guides/migration/v2-to-v3.md +828 -240
- package/dist/ai/guides/migration/v3-beta-css-classes.md +751 -0
- package/dist/ai/guides/migration/v3-beta-tooling.md +119 -0
- package/dist/ai/guides/options-items-playbook.md +161 -12
- package/dist/ai/guides/page-shell.md +1 -1
- package/dist/ai/guides/passthrough.md +958 -0
- package/dist/ai/guides/preset-components.md +361 -0
- package/dist/ai/guides/ssr-prefill.md +127 -0
- package/dist/ai/guides/validated-forms.md +466 -55
- package/dist/ai/guides/validation-libraries.md +171 -0
- package/dist/ai/guides/validation-providers.md +113 -0
- package/dist/ai/index.md +45 -44
- package/dist/ai/recipes/inertia/approvals-inbox.md +26 -10
- package/dist/ai/recipes/inertia/command-palette.md +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +46 -30
- package/dist/ai/recipes/inertia/layout-scaffold.md +6 -2
- package/dist/ai/recipes/inertia/onboarding.md +30 -8
- package/dist/ai/recipes/inertia/ownership-atlas.md +72 -49
- package/dist/ai/recipes/inertia/record-form.md +53 -19
- package/dist/ai/recipes/inertia/records-workspace.md +201 -49
- package/dist/ai/recipes/inertia/settings-workspace.md +3809 -0
- package/dist/ai/recipes/inertia/upload-center.md +54 -43
- package/dist/ai/recipes/inertia/wizard-form.md +98 -14
- package/dist/ai/recipes/nuxt/approvals-inbox.md +26 -10
- package/dist/ai/recipes/nuxt/command-palette.md +2 -2
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +68 -52
- package/dist/ai/recipes/nuxt/layout-scaffold.md +6 -2
- package/dist/ai/recipes/nuxt/onboarding.md +30 -8
- package/dist/ai/recipes/nuxt/record-form.md +66 -22
- package/dist/ai/recipes/nuxt/records-workspace.md +199 -48
- package/dist/ai/recipes/nuxt/settings-workspace.md +3898 -0
- package/dist/ai/recipes/nuxt/upload-center.md +52 -41
- package/dist/ai/recipes/nuxt/wizard-form.md +98 -14
- package/dist/ai/recipes/vue/approvals-inbox.md +28 -12
- package/dist/ai/recipes/vue/command-palette.md +2 -2
- package/dist/ai/recipes/vue/inline-edit-workspace.md +69 -53
- package/dist/ai/recipes/vue/layout-scaffold.md +6 -2
- package/dist/ai/recipes/vue/onboarding.md +32 -8
- package/dist/ai/recipes/vue/record-form.md +81 -54
- package/dist/ai/recipes/vue/records-workspace.md +198 -49
- package/dist/ai/recipes/vue/settings-workspace.md +3836 -0
- package/dist/ai/recipes/vue/upload-center.md +53 -42
- package/dist/ai/recipes/vue/wizard-form.md +97 -14
- package/dist/ai/source/BbAccordion.md +90 -24
- package/dist/ai/source/BbAlert.md +209 -62
- package/dist/ai/source/BbAsterisk.md +54 -4
- package/dist/ai/source/BbAvatar.md +73 -16
- package/dist/ai/source/BbBadge.md +265 -97
- package/dist/ai/source/BbBadgeButton.md +218 -79
- package/dist/ai/source/BbBaseButton.md +108 -12
- package/dist/ai/source/BbBaseCheckboxIcon.md +151 -36
- package/dist/ai/source/BbBaseRadioIcon.md +121 -17
- package/dist/ai/source/BbBaseSwitchIcon.md +138 -28
- package/dist/ai/source/BbBreadcrumbs.md +363 -69
- package/dist/ai/source/BbButton.md +563 -174
- package/dist/ai/source/BbCalendar.md +1744 -0
- package/dist/ai/source/BbCheckbox.md +470 -68
- package/dist/ai/source/BbCheckboxGroup.md +976 -95
- package/dist/ai/source/BbCollapsible.md +96 -8
- package/dist/ai/source/BbColorInput.md +597 -67
- package/dist/ai/source/BbColorPalette.md +1284 -65
- package/dist/ai/source/BbConfirm.md +149 -7
- package/dist/ai/source/BbConfirmPortal.md +89 -3
- package/dist/ai/source/BbDatePicker.md +527 -381
- package/dist/ai/source/BbDatePickerInput.md +2015 -118
- package/dist/ai/source/BbDialog.md +531 -64
- package/dist/ai/source/BbDropdown.md +885 -175
- package/dist/ai/source/BbDropdownButton.md +377 -79
- package/dist/ai/source/BbDropdownGroup.md +687 -96
- package/dist/ai/source/BbDropzone.md +140 -31
- package/dist/ai/source/BbForm.md +875 -17
- package/dist/ai/source/BbIcon.md +130 -52
- package/dist/ai/source/BbIndicator.md +117 -60
- package/dist/ai/source/BbNumberInput.md +667 -84
- package/dist/ai/source/BbOffCanvas.md +1007 -261
- package/dist/ai/source/BbPagination.md +203 -31
- package/dist/ai/source/BbPopover.md +267 -90
- package/dist/ai/source/BbProgress.md +88 -26
- package/dist/ai/source/BbPtScope.md +54 -0
- package/dist/ai/source/BbRadio.md +388 -58
- package/dist/ai/source/BbRadioGroup.md +940 -109
- package/dist/ai/source/BbRating.md +736 -84
- package/dist/ai/source/BbSelect.md +1096 -96
- package/dist/ai/source/BbSelectPopover.md +807 -114
- package/dist/ai/source/BbSlider.md +1390 -98
- package/dist/ai/source/BbSmoothHeight.md +48 -2
- package/dist/ai/source/BbSpinner.md +62 -6
- package/dist/ai/source/BbSwitch.md +297 -60
- package/dist/ai/source/BbSwitchGroup.md +761 -83
- package/dist/ai/source/BbTable.md +6950 -1864
- package/dist/ai/source/BbTabs.md +368 -111
- package/dist/ai/source/BbTabsList.md +503 -146
- package/dist/ai/source/BbTabsPanels.md +625 -0
- package/dist/ai/source/BbTabsRoot.md +319 -100
- package/dist/ai/source/BbTag.md +796 -87
- package/dist/ai/source/BbTextInput.md +497 -68
- package/dist/ai/source/BbTextarea.md +550 -65
- package/dist/ai/source/BbTimePicker.md +395 -69
- package/dist/ai/source/BbTimePickerInput.md +1233 -106
- package/dist/ai/source/BbToast.md +250 -74
- package/dist/ai/source/BbToastPortal.md +210 -66
- package/dist/ai/source/BbTooltip.md +181 -30
- package/dist/ai/source/BbTree.md +76 -11
- package/dist/ai/source/ChipsBox.md +25 -5
- package/dist/ai/source/CommaBox.md +21 -6
- package/dist/ai/source/{BbBaseInputContainer.md → CommonField.md} +467 -250
- package/dist/ai/source/CommonFieldInput.md +848 -0
- package/dist/ai/source/CommonPopover.md +116 -30
- package/dist/ai/source/CommonTimeSelector.md +726 -0
- package/dist/ai/source/ErrorIcon.md +2 -2
- package/dist/ai/source/FlatListBox.md +188 -17
- package/dist/ai/source/GroupedListBox.md +236 -44
- package/dist/ai/source/GuidesComponent.md +14 -7
- package/dist/ai/source/ListBox.md +46 -8
- package/dist/ai/source/OptionsContainer.md +288 -60
- package/dist/ai/source/WarningIcon.md +2 -2
- package/dist/assets/css/reset.css_inline.js +1 -1
- package/dist/assets/svgs/star.svg_raw.js +4 -0
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +49 -32
- package/dist/components/BbAccordion/types.d.ts +35 -3
- package/dist/components/BbAccordion/types.js +11 -0
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +46 -30
- package/dist/components/BbAlert/types.d.ts +37 -3
- package/dist/components/BbAlert/types.js +13 -0
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -1
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +23 -8
- package/dist/components/BbAsterisk/types.d.ts +18 -0
- package/dist/components/BbAsterisk/types.js +7 -0
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +57 -44
- package/dist/components/BbAvatar/types.d.ts +23 -0
- package/dist/components/BbAvatar/types.js +7 -0
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -18
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +96 -53
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +27 -8
- package/dist/components/BbBadge/badgeButtonContext.d.ts +25 -8
- package/dist/components/BbBadge/types.d.ts +46 -3
- package/dist/components/BbBadge/types.js +13 -0
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +109 -96
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +11 -11
- package/dist/components/BbBaseButton/types.d.ts +33 -3
- package/dist/components/BbBaseButton/types.js +9 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +50 -18
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +31 -2
- package/dist/components/BbBaseCheckboxIcon/types.js +8 -0
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +45 -15
- package/dist/components/BbBaseRadioIcon/types.d.ts +31 -2
- package/dist/components/BbBaseRadioIcon/types.js +8 -0
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +48 -16
- package/dist/components/BbBaseSwitchIcon/types.d.ts +31 -2
- package/dist/components/BbBaseSwitchIcon/types.js +8 -0
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +187 -132
- package/dist/components/BbBreadcrumbs/types.d.ts +45 -3
- package/dist/components/BbBreadcrumbs/types.js +12 -0
- package/dist/components/BbButton/BbButton.vue.d.ts +5 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +107 -81
- package/dist/components/BbButton/types.d.ts +113 -2
- package/dist/components/BbButton/types.js +12 -0
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +34 -0
- package/dist/components/BbCalendar/BbCalendar.vue.js +6 -0
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +608 -0
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +5 -0
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +124 -0
- package/dist/components/BbCalendar/CalendarYearPanel.vue.js +5 -0
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +126 -0
- package/dist/components/BbCalendar/calendarHost.d.ts +29 -0
- package/dist/components/BbCalendar/calendarHost.js +10 -0
- package/dist/components/BbCalendar/types.d.ts +225 -0
- package/dist/components/BbCalendar/types.js +29 -0
- package/dist/components/{BbBaseDatePicker/useDatePickerContext.d.ts → BbCalendar/useCalendarContext.d.ts} +10 -7
- package/dist/components/BbCalendar/useCalendarContext.js +11 -0
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +208 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +274 -0
- package/dist/components/BbCalendar/useDayGrid.d.ts +79 -0
- package/dist/components/BbCalendar/useDayGrid.js +204 -0
- package/dist/components/BbCalendar/useToday.d.ts +23 -0
- package/dist/components/BbCalendar/useToday.js +21 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +7 -7
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +214 -72
- package/dist/components/BbCheckbox/types.d.ts +180 -13
- package/dist/components/BbCheckbox/types.js +8 -0
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +15 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +338 -90
- package/dist/components/BbCheckboxGroup/types.d.ts +195 -20
- package/dist/components/BbCheckboxGroup/types.js +10 -0
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +2 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +41 -19
- package/dist/components/BbCollapsible/types.d.ts +44 -1
- package/dist/components/BbCollapsible/types.js +7 -0
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +17 -7
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +330 -86
- package/dist/components/BbColorInput/types.d.ts +230 -12
- package/dist/components/BbColorInput/types.js +24 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +10 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +515 -108
- package/dist/components/BbColorPalette/types.d.ts +76 -7
- package/dist/components/BbColorPalette/types.js +12 -0
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +2 -1
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +125 -76
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -0
- package/dist/components/BbConfirm/types.d.ts +49 -0
- package/dist/components/BbConfirm/types.js +17 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -10
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +320 -223
- package/dist/components/BbDatePicker/types.d.ts +111 -17
- package/dist/components/BbDatePicker/types.js +33 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +16 -4
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +1172 -87
- package/dist/components/BbDatePickerInput/types.d.ts +224 -19
- package/dist/components/BbDatePickerInput/types.js +39 -0
- package/dist/components/BbDialog/BbDialog.vue.d.ts +3 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +227 -136
- package/dist/components/BbDialog/types.d.ts +92 -3
- package/dist/components/BbDialog/types.js +16 -0
- package/dist/components/BbDialog/useDialogStack.d.ts +12 -0
- package/dist/components/BbDialog/useDialogStack.js +9 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +2 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +108 -96
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +10 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +337 -268
- package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +5 -1
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +8 -2
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +377 -293
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +129 -118
- package/dist/components/BbDropdown/normalizeGroups.js +55 -31
- package/dist/components/BbDropdown/types.d.ts +288 -30
- package/dist/components/BbDropdown/types.js +21 -2
- package/dist/components/BbDropdown/useDropdownContext.d.ts +10 -4
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +1 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +18 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +172 -40
- package/dist/components/BbDropdownButton/types.d.ts +137 -8
- package/dist/components/BbDropdownButton/types.js +35 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +2 -2
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +186 -144
- package/dist/components/BbDropzone/types.d.ts +38 -4
- package/dist/components/BbDropzone/types.js +16 -0
- package/dist/components/BbForm/BbForm.vue.d.ts +94 -0
- package/dist/{validated → components/BbForm}/BbForm.vue.js +1 -1
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +317 -0
- package/dist/components/BbForm/BbFormCustomField.d.ts +14 -0
- package/dist/components/BbForm/BbFormCustomField.js +43 -0
- package/dist/components/BbForm/bindFormField.d.ts +16 -0
- package/dist/components/BbForm/bindFormField.js +85 -0
- package/dist/components/BbForm/formFields.d.ts +64 -0
- package/dist/components/BbForm/formFields.js +11 -0
- package/dist/components/BbForm/formSchema.d.ts +56 -0
- package/dist/components/BbForm/formSchema.js +196 -0
- package/dist/components/BbForm/standardSchema.d.ts +59 -0
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +58 -48
- package/dist/components/BbIcon/iconCache.d.ts +63 -0
- package/dist/components/BbIcon/iconCache.js +35 -0
- package/dist/components/BbIcon/types.d.ts +22 -2
- package/dist/components/BbIcon/types.js +7 -0
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +34 -21
- package/dist/components/BbIndicator/types.d.ts +24 -0
- package/dist/components/BbIndicator/types.js +7 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -8
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +308 -85
- package/dist/components/BbNumberInput/types.d.ts +201 -18
- package/dist/components/BbNumberInput/types.js +8 -0
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +3 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +311 -210
- package/dist/components/BbOffCanvas/types.d.ts +79 -6
- package/dist/components/BbOffCanvas/types.js +15 -0
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +125 -90
- package/dist/components/BbPagination/types.d.ts +38 -0
- package/dist/components/BbPagination/types.js +13 -0
- package/dist/components/BbPopover/BbPopover.vue.d.ts +4 -4
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +219 -179
- package/dist/components/BbPopover/types.d.ts +51 -5
- package/dist/components/BbPopover/types.js +14 -0
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +29 -16
- package/dist/components/BbProgress/types.d.ts +25 -0
- package/dist/components/BbProgress/types.js +7 -0
- package/dist/components/BbPtScope/BbPtScope.vue.d.ts +12 -0
- package/dist/components/BbPtScope/BbPtScope.vue.js +5 -0
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +13 -0
- package/dist/components/BbPtScope/types.d.ts +15 -0
- package/dist/components/BbRadio/BbRadio.vue.d.ts +7 -7
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +172 -59
- package/dist/components/BbRadio/types.d.ts +152 -13
- package/dist/components/BbRadio/types.js +8 -0
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +14 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +319 -92
- package/dist/components/BbRadioGroup/types.d.ts +198 -22
- package/dist/components/BbRadioGroup/types.js +10 -0
- package/dist/components/BbRating/BbRating.vue.d.ts +10 -8
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +259 -78
- package/dist/components/BbRating/types.d.ts +174 -13
- package/dist/components/BbRating/types.js +21 -0
- package/dist/components/BbSelect/BbSelect.vue.d.ts +17 -3
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +553 -83
- package/dist/components/BbSelect/types.d.ts +235 -20
- package/dist/components/BbSelect/types.js +41 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +15 -1
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +541 -391
- package/dist/components/BbSelectPopover/types.d.ts +124 -8
- package/dist/components/BbSelectPopover/types.js +24 -0
- package/dist/components/BbSlider/BbSlider.vue.d.ts +13 -8
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +472 -96
- package/dist/components/BbSlider/types.d.ts +202 -13
- package/dist/components/BbSlider/types.js +26 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +60 -48
- package/dist/components/BbSmoothHeight/types.d.ts +19 -0
- package/dist/components/BbSmoothHeight/types.js +7 -0
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +27 -14
- package/dist/components/BbSpinner/types.d.ts +22 -1
- package/dist/components/BbSpinner/types.js +7 -0
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +7 -7
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +220 -78
- package/dist/components/BbSwitch/types.d.ts +25 -10
- package/dist/components/BbSwitch/types.js +5 -0
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +14 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +338 -90
- package/dist/components/BbSwitchGroup/types.d.ts +30 -7
- package/dist/components/BbSwitchGroup/types.js +5 -0
- package/dist/components/BbTable/BbTable.vue.d.ts +27 -6
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +2013 -685
- package/dist/components/BbTable/BbTableDataRow.d.ts +196 -0
- package/dist/components/BbTable/BbTableDataRow.js +151 -0
- package/dist/components/BbTable/BbTableExpandRow.d.ts +84 -0
- package/dist/components/BbTable/BbTableExpandRow.js +62 -0
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +120 -0
- package/dist/components/BbTable/BbTableSelectToggle.js +122 -0
- package/dist/components/BbTable/gridWidgets.d.ts +30 -0
- package/dist/components/BbTable/gridWidgets.js +14 -0
- package/dist/components/BbTable/types.d.ts +473 -123
- package/dist/components/BbTable/types.js +31 -0
- package/dist/components/BbTable/utils.d.ts +145 -4
- package/dist/components/BbTable/utils.js +154 -37
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -1
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +62 -26
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -10
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +143 -81
- package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +12 -0
- package/dist/components/{BbBaseSwitch/BbBaseSwitch.vue.js → BbTabs/BbTabsPanels.vue.js} +2 -2
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +59 -0
- package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +3 -1
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/BbTabs/types.d.ts +183 -23
- package/dist/components/BbTabs/types.js +34 -0
- package/dist/components/BbTag/BbTag.vue.d.ts +13 -10
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +383 -92
- package/dist/components/BbTag/types.d.ts +139 -14
- package/dist/components/BbTag/types.js +22 -0
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +10 -8
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +257 -84
- package/dist/components/BbTextInput/types.d.ts +168 -13
- package/dist/components/BbTextInput/types.js +8 -0
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +7 -7
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +291 -94
- package/dist/components/BbTextarea/types.d.ts +158 -14
- package/dist/components/BbTextarea/types.js +8 -0
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -4
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +199 -122
- package/dist/components/BbTimePicker/types.d.ts +94 -7
- package/dist/components/BbTimePicker/types.js +18 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +14 -4
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +749 -86
- package/dist/components/BbTimePickerInput/types.d.ts +171 -22
- package/dist/components/BbTimePickerInput/types.js +25 -0
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +63 -25
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +4 -1
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -76
- package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -0
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +4 -1
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +72 -64
- package/dist/components/BbToast/types.d.ts +54 -1
- package/dist/components/BbToast/types.js +28 -0
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +104 -87
- package/dist/components/BbTooltip/types.d.ts +40 -2
- package/dist/components/BbTooltip/types.js +7 -0
- package/dist/components/BbTree/BbTree.vue.d.ts +15 -3
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +51 -29
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +17 -16
- package/dist/components/BbTree/context.d.ts +9 -1
- package/dist/components/BbTree/types.d.ts +40 -5
- package/dist/components/BbTree/types.js +7 -0
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +46 -44
- package/dist/components/ChipsBox/types.d.ts +7 -0
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +11 -7
- package/dist/components/CommaBox/types.d.ts +7 -0
- package/dist/components/{BbBaseInputContainer/BbBaseInputContainer.vue.d.ts → CommonField/CommonField.vue.d.ts} +5 -5
- package/dist/components/{BbBaseRadio/BbBaseRadio.vue.js → CommonField/CommonField.vue.js} +2 -2
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +189 -0
- package/dist/components/CommonField/messageHeightMatrix.d.ts +2 -0
- package/dist/components/{BbBaseInputContainer → CommonField}/types.d.ts +52 -16
- package/dist/components/{CommonInputWrapper/CommonInputWrapper.vue.d.ts → CommonFieldInput/CommonFieldInput.vue.d.ts} +5 -4
- package/dist/components/{BbBaseRadioGroup/BbBaseRadioGroup.vue.js → CommonFieldInput/CommonFieldInput.vue.js} +2 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +120 -0
- package/dist/components/CommonFieldInput/boxBorderMatrix.d.ts +10 -0
- package/dist/components/{CommonInputWrapper → CommonFieldInput}/types.d.ts +27 -8
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +11 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +76 -63
- package/dist/components/CommonPopover/types.d.ts +27 -8
- package/dist/components/{BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.d.ts → CommonTimeSelector/CommonTimeSelector.vue.d.ts} +21 -2
- package/dist/components/{BbBaseColorPalette/BbBaseColorPalette.vue.js → CommonTimeSelector/CommonTimeSelector.vue.js} +2 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +232 -0
- package/dist/components/CommonTimeSelector/types.d.ts +6 -0
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +5 -1
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +165 -95
- package/dist/components/FlatListBox/types.d.ts +24 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +5 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +217 -134
- package/dist/components/GroupedListBox/types.d.ts +24 -2
- package/dist/components/ListBox/ListBox.vue.d.ts +5 -1
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +95 -69
- package/dist/components/ListBox/types.d.ts +24 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +109 -37
- package/dist/components/OptionsContainer/types.d.ts +53 -9
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +8 -8
- package/dist/components/Transitions/Slide.vue.js +1 -1
- package/dist/composables/useBaseOptions.d.ts +12 -1
- package/dist/composables/useBaseOptions.js +77 -37
- package/dist/composables/useBbConfig.d.ts +27 -6
- package/dist/composables/useBbConfig.js +8 -2
- package/dist/composables/useBbDropdownContext.d.ts +5 -0
- package/dist/composables/useBbFormContext.d.ts +131 -8
- package/dist/composables/useBbFormContext.js +49 -30
- package/dist/composables/useBbFormField.d.ts +40 -0
- package/dist/composables/useBbFormField.js +39 -0
- package/dist/composables/useBbTableContext.d.ts +45 -1
- package/dist/composables/useBbTableContext.js +93 -87
- package/dist/composables/useBbTabsContext.d.ts +15 -9
- package/dist/composables/useBbTabsContext.js +121 -90
- package/dist/composables/useClosingInert.d.ts +4 -4
- package/dist/composables/useCoarsePointer.js +7 -10
- package/dist/composables/useCoherence.js +1 -1
- package/dist/composables/useConfig.d.ts +59 -0
- package/dist/composables/useConfig.js +15 -0
- package/dist/composables/useConfirm.d.ts +39 -7
- package/dist/composables/useConfirm.js +50 -41
- package/dist/composables/useEscapeStackEntry.d.ts +13 -0
- package/dist/composables/useEscapeStackEntry.js +16 -0
- package/dist/composables/useFormBinding.d.ts +116 -0
- package/dist/composables/useFormBinding.js +34 -0
- package/dist/composables/useHydrated.d.ts +18 -0
- package/dist/composables/useHydrated.js +13 -7
- package/dist/composables/useId.d.ts +4 -3
- package/dist/composables/useId.js +1 -7
- package/dist/composables/useItemsGetter.d.ts +11 -0
- package/dist/composables/useItemsGetter.js +44 -18
- package/dist/composables/useKeyboardInset.d.ts +28 -0
- package/dist/composables/useKeyboardInset.js +32 -0
- package/dist/composables/useLocale.js +10 -7
- package/dist/composables/useMobile.js +7 -10
- package/dist/composables/usePassthrough.d.ts +228 -0
- package/dist/composables/usePassthrough.js +247 -0
- package/dist/composables/usePrefill.d.ts +22 -2
- package/dist/composables/usePrefill.js +35 -19
- package/dist/composables/useSafeAreaInternal.js +1 -1
- package/dist/composables/useSegmentedFields.d.ts +2 -2
- package/dist/composables/useSsrState.d.ts +20 -0
- package/dist/composables/useSsrState.js +13 -0
- package/dist/composables/useTableWidthContext.d.ts +24 -4
- package/dist/composables/useTableWidthContext.js +31 -28
- package/dist/composables/useToast.d.ts +18 -1
- package/dist/composables/useToast.js +31 -18
- package/dist/composables/useToggleInput.d.ts +44 -0
- package/dist/composables/useToggleInput.js +39 -0
- package/dist/composables/useViewportWidth.d.ts +5 -25
- package/dist/composables/useViewportWidth.js +14 -7
- package/dist/deprecation/ai-deprecations.json.d.ts +1977 -289
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/deprecation/removedProps.js +9 -4
- package/dist/directives/bbDropdown.d.ts +15 -4
- package/dist/directives/bbDropdown.js +31 -9
- package/dist/directives/bbTooltip.d.ts +6 -0
- package/dist/directives/createPopoverDirective.d.ts +62 -0
- package/dist/directives/createPopoverDirective.js +92 -37
- package/dist/i18n/index.d.ts +10 -16
- package/dist/i18n/locales/cs.json +9 -5
- package/dist/i18n/locales/da.json +9 -5
- package/dist/i18n/locales/de.json +9 -5
- package/dist/i18n/locales/el.json +9 -5
- package/dist/i18n/locales/en.json +9 -5
- package/dist/i18n/locales/es.json +9 -5
- package/dist/i18n/locales/fi.json +9 -5
- package/dist/i18n/locales/fr.json +9 -5
- package/dist/i18n/locales/hu.json +9 -5
- package/dist/i18n/locales/it.json +9 -5
- package/dist/i18n/locales/ja.json +9 -5
- package/dist/i18n/locales/ko.json +9 -5
- package/dist/i18n/locales/nb.json +9 -5
- package/dist/i18n/locales/nl.json +9 -5
- package/dist/i18n/locales/pl.json +9 -5
- package/dist/i18n/locales/pt.json +9 -5
- package/dist/i18n/locales/ro.json +9 -5
- package/dist/i18n/locales/ru.json +9 -5
- package/dist/i18n/locales/sv.json +9 -5
- package/dist/i18n/locales/tr.json +9 -5
- package/dist/i18n/locales/uk.json +9 -5
- package/dist/i18n/locales/zh-cn.json +9 -5
- package/dist/icon-scan.d.ts +276 -0
- package/dist/icon-scan.js +485 -0
- package/dist/icons-whitelist.d.ts +5 -4
- package/dist/index.d.ts +40 -21
- package/dist/index.js +78 -71
- package/dist/llms-full.txt +61164 -27972
- package/dist/llms-medium.txt +1482 -366
- package/dist/llms.txt +32 -15
- package/dist/locale-blueprint.json +9 -5
- package/dist/nuxt-auto-imports.d.ts +76 -0
- package/dist/nuxt-auto-imports.js +32 -0
- package/dist/nuxt-module.d.ts +30 -15
- package/dist/nuxt.js +35 -9
- package/dist/passthrough-deduper.js +5 -0
- package/dist/plugin.d.ts +10 -1
- package/dist/plugin.js +29 -19
- package/dist/project-dts.d.ts +84 -0
- package/dist/project-dts.js +170 -0
- package/dist/reset.css +1 -1
- package/dist/runtime/nuxt-plugin.js +34 -21
- package/dist/styles.css +3 -2
- package/dist/types/AlertVariant.d.ts +10 -1
- package/dist/types/BadgeVariant.d.ts +16 -5
- package/dist/types/ButtonVariant.d.ts +12 -1
- package/dist/types/ColumnName.d.ts +30 -3
- package/dist/types/CommonProps.d.ts +2 -2
- package/dist/types/Config.d.ts +94 -1
- package/dist/types/ConfirmVariant.d.ts +8 -1
- package/dist/types/DropdownItemVariant.d.ts +8 -1
- package/dist/types/FieldLayout.d.ts +32 -0
- package/dist/types/IndicatorVariant.d.ts +11 -1
- package/dist/types/InputVariant.d.ts +30 -0
- package/dist/types/ItemProps.d.ts +50 -0
- package/dist/types/Option.d.ts +6 -0
- package/dist/types/PtScope.d.ts +15 -0
- package/dist/types/RegistryKey.d.ts +10 -0
- package/dist/types/TabsVariant.d.ts +25 -0
- package/dist/types/ToastVariant.d.ts +12 -2
- package/dist/types/TooltipVariant.d.ts +8 -1
- package/dist/types/passthrough.d.ts +362 -0
- package/dist/types/passthrough.js +78 -0
- package/dist/types/ptComponentMap.d.ts +62 -0
- package/dist/utilities/functions/hasVnodeListener.d.ts +16 -0
- package/dist/utilities/functions/hasVnodeListener.js +12 -0
- package/dist/utilities/functions/isImeComposing.d.ts +7 -0
- package/dist/utilities/functions/isImeComposing.js +4 -0
- package/dist/utilities/functions/itemProps.d.ts +46 -0
- package/dist/utilities/functions/itemProps.js +47 -0
- package/dist/utilities/functions/slotKey.d.ts +13 -8
- package/dist/utilities/functions/slotKey.js +78 -2
- package/dist/utilities/functions/snapToStep.js +2 -1
- package/dist/utilities/functions/toggleInput.d.ts +98 -0
- package/dist/utilities/functions/toggleInput.js +56 -0
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +27 -1
- package/dist/utilities/functions/warnRemovedAttrs.js +75 -14
- package/dist/utilities/misc/listboxMetrics.d.ts +9 -3
- package/dist/utilities/misc/listboxMetrics.js +5 -2
- package/dist/utilities/misc/ssrStateInjectionKey.d.ts +42 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +4 -0
- package/dist/utils/cssLayers.d.ts +91 -0
- package/dist/utils/cssLayers.js +43 -0
- package/dist/utils/injectLibraryStyles.d.ts +3 -1
- package/dist/utils/injectLibraryStyles.js +24 -23
- package/dist/utils/overlayEscapeStack.d.ts +10 -0
- package/dist/utils/overlayEscapeStack.js +5 -3
- package/dist/utils/passthrough.d.ts +67 -0
- package/dist/utils/passthrough.js +100 -0
- package/dist/utils/passthroughDeduper.d.ts +2 -0
- package/dist/utils/ptScope.d.ts +8 -0
- package/dist/utils/ptScope.js +4 -0
- package/dist/utils/versionCheck.d.ts +19 -0
- package/dist/utils/versionCheck.js +18 -0
- package/dist/vite-plugin.d.ts +301 -53
- package/dist/vite.js +547 -375
- package/llms.txt +33 -16
- package/package.json +49 -27
- package/scripts/lib/check-fix.mjs +129 -0
- package/scripts/lib/component-attr-targets.ts +123 -0
- package/scripts/lib/component-tree.ts +648 -0
- package/scripts/lib/css-class-check.mjs +326 -0
- package/scripts/lib/css-class-surface.mjs +292 -0
- package/scripts/lib/css-color-resolve.mjs +172 -0
- package/scripts/lib/css-local-check.mjs +267 -0
- package/scripts/lib/design-token-manifest.mjs +499 -0
- package/scripts/lib/doc-sections.mjs +248 -0
- package/scripts/lib/ensure-manifest.mjs +28 -5
- package/scripts/lib/eslint-disable.mjs +141 -0
- package/scripts/lib/eslint-plugin.d.ts +64 -1
- package/scripts/lib/eslint-plugin.mjs +1285 -30
- package/scripts/lib/hand-imported-styles.mjs +326 -0
- package/scripts/lib/hand-roll-hints.mjs +50 -6
- package/scripts/lib/html-attributes.mjs +353 -0
- package/scripts/lib/local-components.mjs +177 -0
- package/scripts/lib/mcp-config.mjs +87 -58
- package/scripts/lib/migrate-fix.mjs +62 -3
- package/scripts/lib/project-variant-dts.mjs +122 -0
- package/scripts/lib/public-type-exports.mjs +273 -0
- package/scripts/lib/slot-key.mjs +147 -0
- package/scripts/lib/slot-renames.mjs +46 -0
- package/scripts/lib/squashed-slot-words.mjs +133 -0
- package/scripts/lib/validate-bb-markup.mjs +2213 -76
- package/scripts/lib/wrapper-props.mjs +188 -0
- package/dist/ai/BbBaseCheckbox.md +0 -49
- package/dist/ai/BbBaseCheckboxGroup.md +0 -64
- package/dist/ai/BbBaseColorInput.md +0 -65
- package/dist/ai/BbBaseColorPalette.md +0 -39
- package/dist/ai/BbBaseDatePicker.md +0 -43
- package/dist/ai/BbBaseDatePickerInput.md +0 -73
- package/dist/ai/BbBaseInputContainer.md +0 -48
- package/dist/ai/BbBaseNumberInput.md +0 -71
- package/dist/ai/BbBaseRadio.md +0 -46
- package/dist/ai/BbBaseRadioGroup.md +0 -64
- package/dist/ai/BbBaseRating.md +0 -52
- package/dist/ai/BbBaseSelect.md +0 -88
- package/dist/ai/BbBaseSlider.md +0 -56
- package/dist/ai/BbBaseSwitch.md +0 -49
- package/dist/ai/BbBaseSwitchGroup.md +0 -64
- package/dist/ai/BbBaseTag.md +0 -68
- package/dist/ai/BbBaseTextInput.md +0 -75
- package/dist/ai/BbBaseTextarea.md +0 -62
- package/dist/ai/BbBaseTimePickerInput.md +0 -62
- package/dist/ai/BbTabsPanes.md +0 -27
- package/dist/ai/CommonInputWrapper.md +0 -42
- package/dist/ai/source/BbBaseCheckbox.md +0 -461
- package/dist/ai/source/BbBaseCheckboxGroup.md +0 -554
- package/dist/ai/source/BbBaseColorInput.md +0 -431
- package/dist/ai/source/BbBaseColorPalette.md +0 -942
- package/dist/ai/source/BbBaseDatePicker.md +0 -1448
- package/dist/ai/source/BbBaseDatePickerInput.md +0 -1940
- package/dist/ai/source/BbBaseNumberInput.md +0 -617
- package/dist/ai/source/BbBaseRadio.md +0 -381
- package/dist/ai/source/BbBaseRadioGroup.md +0 -539
- package/dist/ai/source/BbBaseRating.md +0 -607
- package/dist/ai/source/BbBaseSelect.md +0 -945
- package/dist/ai/source/BbBaseSlider.md +0 -1144
- package/dist/ai/source/BbBaseSwitch.md +0 -246
- package/dist/ai/source/BbBaseSwitchGroup.md +0 -302
- package/dist/ai/source/BbBaseTag.md +0 -694
- package/dist/ai/source/BbBaseTextInput.md +0 -511
- package/dist/ai/source/BbBaseTextarea.md +0 -504
- package/dist/ai/source/BbBaseTimePickerInput.md +0 -1037
- package/dist/ai/source/BbTabsPanes.md +0 -377
- package/dist/ai/source/CommonInputWrapper.md +0 -584
- package/dist/alert-variants.d.ts +0 -19
- package/dist/assets/svgs/sort.svg_raw.js +0 -4
- package/dist/badge-variants.d.ts +0 -19
- package/dist/button-variants.d.ts +0 -21
- package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +0 -3
- package/dist/components/BbBadge/BadgeAppendIcon.vue.js +0 -5
- package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +0 -22
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.d.ts +0 -40
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue.js +0 -6
- package/dist/components/BbBaseCheckbox/BbBaseCheckbox.vue_vue_type_script_setup_true_lang.js +0 -145
- package/dist/components/BbBaseCheckbox/types.d.ts +0 -224
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue.js +0 -6
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseCheckboxGroup/types.d.ts +0 -257
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.d.ts +0 -43
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue.js +0 -6
- package/dist/components/BbBaseColorInput/BbBaseColorInput.vue_vue_type_script_setup_true_lang.js +0 -184
- package/dist/components/BbBaseColorInput/types.d.ts +0 -219
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue.d.ts +0 -13
- package/dist/components/BbBaseColorPalette/BbBaseColorPalette.vue_vue_type_script_setup_true_lang.js +0 -395
- package/dist/components/BbBaseColorPalette/types.d.ts +0 -40
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.d.ts +0 -20
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue.js +0 -6
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +0 -407
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +0 -47
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +0 -318
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +0 -115
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.js +0 -5
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerYearSelector.vue_vue_type_script_setup_true_lang.js +0 -116
- package/dist/components/BbBaseDatePicker/types.d.ts +0 -108
- package/dist/components/BbBaseDatePicker/useDatePickerContext.js +0 -11
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +0 -31
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.js +0 -6
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +0 -737
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue.js +0 -6
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerTimeSelector.vue_vue_type_script_setup_true_lang.js +0 -204
- package/dist/components/BbBaseDatePickerInput/types.d.ts +0 -325
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue.js +0 -6
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.d.ts +0 -52
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue.js +0 -6
- package/dist/components/BbBaseNumberInput/BbBaseNumberInput.vue_vue_type_script_setup_true_lang.js +0 -215
- package/dist/components/BbBaseNumberInput/types.d.ts +0 -211
- package/dist/components/BbBaseRadio/BbBaseRadio.vue.d.ts +0 -33
- package/dist/components/BbBaseRadio/BbBaseRadio.vue_vue_type_script_setup_true_lang.js +0 -113
- package/dist/components/BbBaseRadio/types.d.ts +0 -179
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +0 -179
- package/dist/components/BbBaseRadioGroup/types.d.ts +0 -223
- package/dist/components/BbBaseRating/BbBaseRating.vue.d.ts +0 -38
- package/dist/components/BbBaseRating/BbBaseRating.vue.js +0 -6
- package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +0 -192
- package/dist/components/BbBaseRating/types.d.ts +0 -176
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.d.ts +0 -19
- package/dist/components/BbBaseSelect/BbBaseSelect.vue.js +0 -6
- package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +0 -311
- package/dist/components/BbBaseSelect/types.d.ts +0 -297
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.d.ts +0 -35
- package/dist/components/BbBaseSlider/BbBaseSlider.vue.js +0 -6
- package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +0 -340
- package/dist/components/BbBaseSlider/types.d.ts +0 -200
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue.d.ts +0 -35
- package/dist/components/BbBaseSwitch/BbBaseSwitch.vue_vue_type_script_setup_true_lang.js +0 -146
- package/dist/components/BbBaseSwitch/types.d.ts +0 -10
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.d.ts +0 -19
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue.js +0 -6
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +0 -190
- package/dist/components/BbBaseSwitchGroup/types.d.ts +0 -8
- package/dist/components/BbBaseTag/BbBaseTag.vue.d.ts +0 -50
- package/dist/components/BbBaseTag/BbBaseTag.vue.js +0 -6
- package/dist/components/BbBaseTag/BbBaseTag.vue_vue_type_script_setup_true_lang.js +0 -266
- package/dist/components/BbBaseTag/types.d.ts +0 -160
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.d.ts +0 -45
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue.js +0 -6
- package/dist/components/BbBaseTextInput/BbBaseTextInput.vue_vue_type_script_setup_true_lang.js +0 -200
- package/dist/components/BbBaseTextInput/types.d.ts +0 -209
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.d.ts +0 -39
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue.js +0 -6
- package/dist/components/BbBaseTextarea/BbBaseTextarea.vue_vue_type_script_setup_true_lang.js +0 -187
- package/dist/components/BbBaseTextarea/types.d.ts +0 -170
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +0 -27
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.js +0 -6
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +0 -519
- package/dist/components/BbBaseTimePickerInput/types.d.ts +0 -151
- package/dist/components/BbTabs/BbTabsPanes.vue.d.ts +0 -16
- package/dist/components/BbTabs/BbTabsPanes.vue.js +0 -6
- package/dist/components/BbTabs/BbTabsPanes.vue_vue_type_script_setup_true_lang.js +0 -35
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue.js +0 -6
- package/dist/components/CommonInputWrapper/CommonInputWrapper.vue_vue_type_script_setup_true_lang.js +0 -107
- package/dist/confirm-variants.d.ts +0 -17
- package/dist/dropdown-item-variants.d.ts +0 -17
- package/dist/indicator-variants.d.ts +0 -20
- package/dist/locale-registry.d.ts +0 -37
- package/dist/toast-variants.d.ts +0 -20
- package/dist/tooltip-variants.d.ts +0 -17
- package/dist/types/InputDirection.d.ts +0 -15
- package/dist/validated/BbCheckbox.vue.d.ts +0 -29
- package/dist/validated/BbCheckbox.vue.js +0 -5
- package/dist/validated/BbCheckbox.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbCheckboxGroup.vue.d.ts +0 -34
- package/dist/validated/BbCheckboxGroup.vue.js +0 -5
- package/dist/validated/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +0 -82
- package/dist/validated/BbColorInput.vue.d.ts +0 -37
- package/dist/validated/BbColorInput.vue.js +0 -5
- package/dist/validated/BbColorInput.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbDatePickerInput.vue.d.ts +0 -41
- package/dist/validated/BbDatePickerInput.vue.js +0 -5
- package/dist/validated/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +0 -90
- package/dist/validated/BbDropzone.vue.d.ts +0 -24
- package/dist/validated/BbDropzone.vue.js +0 -5
- package/dist/validated/BbDropzone.vue_vue_type_script_setup_true_lang.js +0 -45
- package/dist/validated/BbForm.vue.d.ts +0 -28
- package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +0 -42
- package/dist/validated/BbNumberInput.vue.d.ts +0 -36
- package/dist/validated/BbNumberInput.vue.js +0 -5
- package/dist/validated/BbNumberInput.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbRadioGroup.vue.d.ts +0 -34
- package/dist/validated/BbRadioGroup.vue.js +0 -5
- package/dist/validated/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +0 -78
- package/dist/validated/BbRating.vue.d.ts +0 -30
- package/dist/validated/BbRating.vue.js +0 -5
- package/dist/validated/BbRating.vue_vue_type_script_setup_true_lang.js +0 -63
- package/dist/validated/BbSelect.vue.d.ts +0 -46
- package/dist/validated/BbSelect.vue.js +0 -5
- package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +0 -109
- package/dist/validated/BbSlider.vue.d.ts +0 -36
- package/dist/validated/BbSlider.vue.js +0 -5
- package/dist/validated/BbSlider.vue_vue_type_script_setup_true_lang.js +0 -69
- package/dist/validated/BbSwitch.vue.d.ts +0 -29
- package/dist/validated/BbSwitch.vue.js +0 -5
- package/dist/validated/BbSwitch.vue_vue_type_script_setup_true_lang.js +0 -75
- package/dist/validated/BbSwitchGroup.vue.d.ts +0 -34
- package/dist/validated/BbSwitchGroup.vue.js +0 -5
- package/dist/validated/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +0 -82
- package/dist/validated/BbTag.vue.d.ts +0 -36
- package/dist/validated/BbTag.vue.js +0 -5
- package/dist/validated/BbTag.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbTextInput.vue.d.ts +0 -36
- package/dist/validated/BbTextInput.vue.js +0 -5
- package/dist/validated/BbTextInput.vue_vue_type_script_setup_true_lang.js +0 -72
- package/dist/validated/BbTextarea.vue.d.ts +0 -36
- package/dist/validated/BbTextarea.vue.js +0 -5
- package/dist/validated/BbTextarea.vue_vue_type_script_setup_true_lang.js +0 -70
- package/dist/validated/BbTimePickerInput.vue.d.ts +0 -37
- package/dist/validated/BbTimePickerInput.vue.js +0 -5
- package/dist/validated/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +0 -81
- package/dist/validated/index.d.ts +0 -43
- package/dist/validated/useValidatedField.d.ts +0 -93
- package/dist/validated/useValidatedField.js +0 -51
- package/dist/validated.js +0 -21
- /package/dist/components/{BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue.d.ts → BbCalendar/CalendarMonthPanel.vue.d.ts} +0 -0
- /package/dist/components/{BbBaseDatePicker/BbBaseDatePickerYearSelector.vue.d.ts → BbCalendar/CalendarYearPanel.vue.d.ts} +0 -0
- /package/dist/{components/BbBaseDatePicker/typeahead.d.ts → composables/useTypeahead.d.ts} +0 -0
- /package/dist/{components/BbBaseDatePicker/typeahead.js → composables/useTypeahead.js} +0 -0
package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,35 +1,487 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import n from "
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { useLogger as e } from "../../composables/useLogger.js";
|
|
2
|
+
import { isEmpty as t } from "../../utilities/functions/empty.js";
|
|
3
|
+
import { isNotEmpty as n } from "../../utilities/functions/isNotEmpty.js";
|
|
4
|
+
import { SEGMENTED_CONTROL_NATIVE_ATTRS as r, formControlPtActive as i, usePassthrough as a } from "../../composables/usePassthrough.js";
|
|
5
|
+
import { useConfig as o } from "../../composables/useConfig.js";
|
|
6
|
+
import { hash as s } from "../../utilities/functions/hash.js";
|
|
7
|
+
import { removedPropsFor as c } from "../../deprecation/removedProps.js";
|
|
8
|
+
import { warnRemovedAttrs as l } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
9
|
+
import { useMobile as u } from "../../composables/useMobile.js";
|
|
10
|
+
import { useLocale as d } from "../../composables/useLocale.js";
|
|
11
|
+
import f from "../BbIcon/BbIcon.vue.js";
|
|
12
|
+
import { formatOfType as ee, isCoarseType as te, unitOfType as ne } from "../../types/DatePickerType.js";
|
|
13
|
+
import { toInnerValue as re, toOuterValue as ie } from "../../utilities/functions/convertDateValue.js";
|
|
14
|
+
import { normalizeDateBound as ae } from "../../utilities/functions/normalizeDateBound.js";
|
|
15
|
+
import { BB_DATE_PICKER_PT as oe, DATE_PICKER_CALENDAR_PARTS as se } from "../BbDatePicker/types.js";
|
|
16
|
+
import ce from "../BbDatePicker/BbDatePicker.vue.js";
|
|
17
|
+
import le from "../CommonField/CommonField.vue.js";
|
|
18
|
+
import { useFormBinding as ue } from "../../composables/useFormBinding.js";
|
|
19
|
+
import de from "../CommonFieldInput/CommonFieldInput.vue.js";
|
|
20
|
+
import { useSegmentedFields as fe } from "../../composables/useSegmentedFields.js";
|
|
21
|
+
import pe from "../../assets/svgs/calendar.svg_raw.js";
|
|
22
|
+
import { BB_DATE_PICKER_INPUT_PT as me } from "./types.js";
|
|
23
|
+
import { Fragment as he, computed as p, createBlock as ge, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as _e, createVNode as ve, defineComponent as ye, guardReactiveProps as _, mergeProps as v, normalizeClass as be, normalizeProps as y, normalizeStyle as xe, onBeforeUnmount as Se, onDeactivated as Ce, openBlock as b, ref as x, renderList as we, renderSlot as S, toDisplayString as C, unref as w, useAttrs as Te, useSlots as Ee, watch as De, watchEffect as Oe, withCtx as T } from "vue";
|
|
24
|
+
import E from "dayjs";
|
|
25
|
+
import ke from "dayjs/plugin/customParseFormat";
|
|
26
|
+
import Ae from "dayjs/plugin/isSameOrAfter";
|
|
27
|
+
import je from "dayjs/plugin/isSameOrBefore";
|
|
28
|
+
import { dayjsLocales as Me } from "virtual:bitboss-ui/dayjs-locales";
|
|
8
29
|
//#region src/components/BbDatePickerInput/BbDatePickerInput.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
-
var
|
|
30
|
+
var Ne = ["data-value"], Pe = [
|
|
31
|
+
"id",
|
|
32
|
+
"aria-describedby",
|
|
33
|
+
"aria-disabled",
|
|
34
|
+
"aria-invalid",
|
|
35
|
+
"aria-label",
|
|
36
|
+
"aria-readonly",
|
|
37
|
+
"autocomplete",
|
|
38
|
+
"autofocus",
|
|
39
|
+
"disabled",
|
|
40
|
+
"inputmode",
|
|
41
|
+
"maxlength",
|
|
42
|
+
"name",
|
|
43
|
+
"readonly",
|
|
44
|
+
"required",
|
|
45
|
+
"tabindex",
|
|
46
|
+
"value",
|
|
47
|
+
"onBlur",
|
|
48
|
+
"onFocus",
|
|
49
|
+
"onInput",
|
|
50
|
+
"onKeydown",
|
|
51
|
+
"onPaste"
|
|
52
|
+
], Fe = ["onClick"], Ie = ["disabled"], Le = ["id"], D = "YYYY-MM-DD", Re = "YYYY-MM-DDTHH:mm", ze = /*@__PURE__*/ ye({
|
|
53
|
+
inheritAttrs: !1,
|
|
10
54
|
__name: "BbDatePickerInput",
|
|
11
55
|
props: {
|
|
56
|
+
"pt:root": {},
|
|
57
|
+
"pt:label": {},
|
|
58
|
+
"pt:description": {},
|
|
59
|
+
"pt:message": {},
|
|
60
|
+
"pt:hint": {},
|
|
61
|
+
"pt:box": {},
|
|
62
|
+
"pt:input": {},
|
|
63
|
+
"pt:icon": {},
|
|
64
|
+
"pt:spinner": {},
|
|
65
|
+
"pt:prefix": {},
|
|
66
|
+
"pt:suffix": {},
|
|
67
|
+
"pt:clear": {},
|
|
68
|
+
"pt:activator": {},
|
|
69
|
+
"pt:panel": {},
|
|
70
|
+
"pt:sheet": {},
|
|
71
|
+
"pt:header": {},
|
|
72
|
+
"pt:arrow": {},
|
|
73
|
+
"pt:month": {},
|
|
74
|
+
"pt:year": {},
|
|
75
|
+
"pt:cellColumnHeader": {},
|
|
76
|
+
"pt:day": {},
|
|
77
|
+
"pt:dayButton": {},
|
|
78
|
+
"pt:monthItem": {},
|
|
79
|
+
"pt:yearItem": {},
|
|
80
|
+
"pt:item": {},
|
|
81
|
+
"pt:root:errors": {},
|
|
82
|
+
"pt:root:warnings": {},
|
|
83
|
+
"pt:root:loading": {},
|
|
84
|
+
"pt:root:disabled": {},
|
|
85
|
+
"pt:root:readonly": {},
|
|
86
|
+
"pt:root:hasValue": {},
|
|
87
|
+
"pt:root:open": {},
|
|
88
|
+
"pt:root:outside": {},
|
|
89
|
+
"pt:root:today": {},
|
|
90
|
+
"pt:root:inRange": {},
|
|
91
|
+
"pt:root:selected": {},
|
|
92
|
+
"pt:root:rangeStart": {},
|
|
93
|
+
"pt:root:rangeEnd": {},
|
|
94
|
+
"pt:root:active": {},
|
|
95
|
+
"pt:root:highlighted": {},
|
|
96
|
+
"pt:label:errors": {},
|
|
97
|
+
"pt:label:warnings": {},
|
|
98
|
+
"pt:label:loading": {},
|
|
99
|
+
"pt:label:disabled": {},
|
|
100
|
+
"pt:label:readonly": {},
|
|
101
|
+
"pt:label:hasValue": {},
|
|
102
|
+
"pt:label:open": {},
|
|
103
|
+
"pt:label:outside": {},
|
|
104
|
+
"pt:label:today": {},
|
|
105
|
+
"pt:label:inRange": {},
|
|
106
|
+
"pt:label:selected": {},
|
|
107
|
+
"pt:label:rangeStart": {},
|
|
108
|
+
"pt:label:rangeEnd": {},
|
|
109
|
+
"pt:label:active": {},
|
|
110
|
+
"pt:label:highlighted": {},
|
|
111
|
+
"pt:description:errors": {},
|
|
112
|
+
"pt:description:warnings": {},
|
|
113
|
+
"pt:description:loading": {},
|
|
114
|
+
"pt:description:disabled": {},
|
|
115
|
+
"pt:description:readonly": {},
|
|
116
|
+
"pt:description:hasValue": {},
|
|
117
|
+
"pt:description:open": {},
|
|
118
|
+
"pt:description:outside": {},
|
|
119
|
+
"pt:description:today": {},
|
|
120
|
+
"pt:description:inRange": {},
|
|
121
|
+
"pt:description:selected": {},
|
|
122
|
+
"pt:description:rangeStart": {},
|
|
123
|
+
"pt:description:rangeEnd": {},
|
|
124
|
+
"pt:description:active": {},
|
|
125
|
+
"pt:description:highlighted": {},
|
|
126
|
+
"pt:message:errors": {},
|
|
127
|
+
"pt:message:warnings": {},
|
|
128
|
+
"pt:message:loading": {},
|
|
129
|
+
"pt:message:disabled": {},
|
|
130
|
+
"pt:message:readonly": {},
|
|
131
|
+
"pt:message:hasValue": {},
|
|
132
|
+
"pt:message:open": {},
|
|
133
|
+
"pt:message:outside": {},
|
|
134
|
+
"pt:message:today": {},
|
|
135
|
+
"pt:message:inRange": {},
|
|
136
|
+
"pt:message:selected": {},
|
|
137
|
+
"pt:message:rangeStart": {},
|
|
138
|
+
"pt:message:rangeEnd": {},
|
|
139
|
+
"pt:message:active": {},
|
|
140
|
+
"pt:message:highlighted": {},
|
|
141
|
+
"pt:hint:errors": {},
|
|
142
|
+
"pt:hint:warnings": {},
|
|
143
|
+
"pt:hint:loading": {},
|
|
144
|
+
"pt:hint:disabled": {},
|
|
145
|
+
"pt:hint:readonly": {},
|
|
146
|
+
"pt:hint:hasValue": {},
|
|
147
|
+
"pt:hint:open": {},
|
|
148
|
+
"pt:hint:outside": {},
|
|
149
|
+
"pt:hint:today": {},
|
|
150
|
+
"pt:hint:inRange": {},
|
|
151
|
+
"pt:hint:selected": {},
|
|
152
|
+
"pt:hint:rangeStart": {},
|
|
153
|
+
"pt:hint:rangeEnd": {},
|
|
154
|
+
"pt:hint:active": {},
|
|
155
|
+
"pt:hint:highlighted": {},
|
|
156
|
+
"pt:box:errors": {},
|
|
157
|
+
"pt:box:warnings": {},
|
|
158
|
+
"pt:box:loading": {},
|
|
159
|
+
"pt:box:disabled": {},
|
|
160
|
+
"pt:box:readonly": {},
|
|
161
|
+
"pt:box:hasValue": {},
|
|
162
|
+
"pt:box:open": {},
|
|
163
|
+
"pt:box:outside": {},
|
|
164
|
+
"pt:box:today": {},
|
|
165
|
+
"pt:box:inRange": {},
|
|
166
|
+
"pt:box:selected": {},
|
|
167
|
+
"pt:box:rangeStart": {},
|
|
168
|
+
"pt:box:rangeEnd": {},
|
|
169
|
+
"pt:box:active": {},
|
|
170
|
+
"pt:box:highlighted": {},
|
|
171
|
+
"pt:input:errors": {},
|
|
172
|
+
"pt:input:warnings": {},
|
|
173
|
+
"pt:input:loading": {},
|
|
174
|
+
"pt:input:disabled": {},
|
|
175
|
+
"pt:input:readonly": {},
|
|
176
|
+
"pt:input:hasValue": {},
|
|
177
|
+
"pt:input:open": {},
|
|
178
|
+
"pt:input:outside": {},
|
|
179
|
+
"pt:input:today": {},
|
|
180
|
+
"pt:input:inRange": {},
|
|
181
|
+
"pt:input:selected": {},
|
|
182
|
+
"pt:input:rangeStart": {},
|
|
183
|
+
"pt:input:rangeEnd": {},
|
|
184
|
+
"pt:input:active": {},
|
|
185
|
+
"pt:input:highlighted": {},
|
|
186
|
+
"pt:icon:errors": {},
|
|
187
|
+
"pt:icon:warnings": {},
|
|
188
|
+
"pt:icon:loading": {},
|
|
189
|
+
"pt:icon:disabled": {},
|
|
190
|
+
"pt:icon:readonly": {},
|
|
191
|
+
"pt:icon:hasValue": {},
|
|
192
|
+
"pt:icon:open": {},
|
|
193
|
+
"pt:icon:outside": {},
|
|
194
|
+
"pt:icon:today": {},
|
|
195
|
+
"pt:icon:inRange": {},
|
|
196
|
+
"pt:icon:selected": {},
|
|
197
|
+
"pt:icon:rangeStart": {},
|
|
198
|
+
"pt:icon:rangeEnd": {},
|
|
199
|
+
"pt:icon:active": {},
|
|
200
|
+
"pt:icon:highlighted": {},
|
|
201
|
+
"pt:spinner:errors": {},
|
|
202
|
+
"pt:spinner:warnings": {},
|
|
203
|
+
"pt:spinner:loading": {},
|
|
204
|
+
"pt:spinner:disabled": {},
|
|
205
|
+
"pt:spinner:readonly": {},
|
|
206
|
+
"pt:spinner:hasValue": {},
|
|
207
|
+
"pt:spinner:open": {},
|
|
208
|
+
"pt:spinner:outside": {},
|
|
209
|
+
"pt:spinner:today": {},
|
|
210
|
+
"pt:spinner:inRange": {},
|
|
211
|
+
"pt:spinner:selected": {},
|
|
212
|
+
"pt:spinner:rangeStart": {},
|
|
213
|
+
"pt:spinner:rangeEnd": {},
|
|
214
|
+
"pt:spinner:active": {},
|
|
215
|
+
"pt:spinner:highlighted": {},
|
|
216
|
+
"pt:prefix:errors": {},
|
|
217
|
+
"pt:prefix:warnings": {},
|
|
218
|
+
"pt:prefix:loading": {},
|
|
219
|
+
"pt:prefix:disabled": {},
|
|
220
|
+
"pt:prefix:readonly": {},
|
|
221
|
+
"pt:prefix:hasValue": {},
|
|
222
|
+
"pt:prefix:open": {},
|
|
223
|
+
"pt:prefix:outside": {},
|
|
224
|
+
"pt:prefix:today": {},
|
|
225
|
+
"pt:prefix:inRange": {},
|
|
226
|
+
"pt:prefix:selected": {},
|
|
227
|
+
"pt:prefix:rangeStart": {},
|
|
228
|
+
"pt:prefix:rangeEnd": {},
|
|
229
|
+
"pt:prefix:active": {},
|
|
230
|
+
"pt:prefix:highlighted": {},
|
|
231
|
+
"pt:suffix:errors": {},
|
|
232
|
+
"pt:suffix:warnings": {},
|
|
233
|
+
"pt:suffix:loading": {},
|
|
234
|
+
"pt:suffix:disabled": {},
|
|
235
|
+
"pt:suffix:readonly": {},
|
|
236
|
+
"pt:suffix:hasValue": {},
|
|
237
|
+
"pt:suffix:open": {},
|
|
238
|
+
"pt:suffix:outside": {},
|
|
239
|
+
"pt:suffix:today": {},
|
|
240
|
+
"pt:suffix:inRange": {},
|
|
241
|
+
"pt:suffix:selected": {},
|
|
242
|
+
"pt:suffix:rangeStart": {},
|
|
243
|
+
"pt:suffix:rangeEnd": {},
|
|
244
|
+
"pt:suffix:active": {},
|
|
245
|
+
"pt:suffix:highlighted": {},
|
|
246
|
+
"pt:clear:errors": {},
|
|
247
|
+
"pt:clear:warnings": {},
|
|
248
|
+
"pt:clear:loading": {},
|
|
249
|
+
"pt:clear:disabled": {},
|
|
250
|
+
"pt:clear:readonly": {},
|
|
251
|
+
"pt:clear:hasValue": {},
|
|
252
|
+
"pt:clear:open": {},
|
|
253
|
+
"pt:clear:outside": {},
|
|
254
|
+
"pt:clear:today": {},
|
|
255
|
+
"pt:clear:inRange": {},
|
|
256
|
+
"pt:clear:selected": {},
|
|
257
|
+
"pt:clear:rangeStart": {},
|
|
258
|
+
"pt:clear:rangeEnd": {},
|
|
259
|
+
"pt:clear:active": {},
|
|
260
|
+
"pt:clear:highlighted": {},
|
|
261
|
+
"pt:activator:errors": {},
|
|
262
|
+
"pt:activator:warnings": {},
|
|
263
|
+
"pt:activator:loading": {},
|
|
264
|
+
"pt:activator:disabled": {},
|
|
265
|
+
"pt:activator:readonly": {},
|
|
266
|
+
"pt:activator:hasValue": {},
|
|
267
|
+
"pt:activator:open": {},
|
|
268
|
+
"pt:activator:outside": {},
|
|
269
|
+
"pt:activator:today": {},
|
|
270
|
+
"pt:activator:inRange": {},
|
|
271
|
+
"pt:activator:selected": {},
|
|
272
|
+
"pt:activator:rangeStart": {},
|
|
273
|
+
"pt:activator:rangeEnd": {},
|
|
274
|
+
"pt:activator:active": {},
|
|
275
|
+
"pt:activator:highlighted": {},
|
|
276
|
+
"pt:panel:errors": {},
|
|
277
|
+
"pt:panel:warnings": {},
|
|
278
|
+
"pt:panel:loading": {},
|
|
279
|
+
"pt:panel:disabled": {},
|
|
280
|
+
"pt:panel:readonly": {},
|
|
281
|
+
"pt:panel:hasValue": {},
|
|
282
|
+
"pt:panel:open": {},
|
|
283
|
+
"pt:panel:outside": {},
|
|
284
|
+
"pt:panel:today": {},
|
|
285
|
+
"pt:panel:inRange": {},
|
|
286
|
+
"pt:panel:selected": {},
|
|
287
|
+
"pt:panel:rangeStart": {},
|
|
288
|
+
"pt:panel:rangeEnd": {},
|
|
289
|
+
"pt:panel:active": {},
|
|
290
|
+
"pt:panel:highlighted": {},
|
|
291
|
+
"pt:sheet:errors": {},
|
|
292
|
+
"pt:sheet:warnings": {},
|
|
293
|
+
"pt:sheet:loading": {},
|
|
294
|
+
"pt:sheet:disabled": {},
|
|
295
|
+
"pt:sheet:readonly": {},
|
|
296
|
+
"pt:sheet:hasValue": {},
|
|
297
|
+
"pt:sheet:open": {},
|
|
298
|
+
"pt:sheet:outside": {},
|
|
299
|
+
"pt:sheet:today": {},
|
|
300
|
+
"pt:sheet:inRange": {},
|
|
301
|
+
"pt:sheet:selected": {},
|
|
302
|
+
"pt:sheet:rangeStart": {},
|
|
303
|
+
"pt:sheet:rangeEnd": {},
|
|
304
|
+
"pt:sheet:active": {},
|
|
305
|
+
"pt:sheet:highlighted": {},
|
|
306
|
+
"pt:header:errors": {},
|
|
307
|
+
"pt:header:warnings": {},
|
|
308
|
+
"pt:header:loading": {},
|
|
309
|
+
"pt:header:disabled": {},
|
|
310
|
+
"pt:header:readonly": {},
|
|
311
|
+
"pt:header:hasValue": {},
|
|
312
|
+
"pt:header:open": {},
|
|
313
|
+
"pt:header:outside": {},
|
|
314
|
+
"pt:header:today": {},
|
|
315
|
+
"pt:header:inRange": {},
|
|
316
|
+
"pt:header:selected": {},
|
|
317
|
+
"pt:header:rangeStart": {},
|
|
318
|
+
"pt:header:rangeEnd": {},
|
|
319
|
+
"pt:header:active": {},
|
|
320
|
+
"pt:header:highlighted": {},
|
|
321
|
+
"pt:arrow:errors": {},
|
|
322
|
+
"pt:arrow:warnings": {},
|
|
323
|
+
"pt:arrow:loading": {},
|
|
324
|
+
"pt:arrow:disabled": {},
|
|
325
|
+
"pt:arrow:readonly": {},
|
|
326
|
+
"pt:arrow:hasValue": {},
|
|
327
|
+
"pt:arrow:open": {},
|
|
328
|
+
"pt:arrow:outside": {},
|
|
329
|
+
"pt:arrow:today": {},
|
|
330
|
+
"pt:arrow:inRange": {},
|
|
331
|
+
"pt:arrow:selected": {},
|
|
332
|
+
"pt:arrow:rangeStart": {},
|
|
333
|
+
"pt:arrow:rangeEnd": {},
|
|
334
|
+
"pt:arrow:active": {},
|
|
335
|
+
"pt:arrow:highlighted": {},
|
|
336
|
+
"pt:month:errors": {},
|
|
337
|
+
"pt:month:warnings": {},
|
|
338
|
+
"pt:month:loading": {},
|
|
339
|
+
"pt:month:disabled": {},
|
|
340
|
+
"pt:month:readonly": {},
|
|
341
|
+
"pt:month:hasValue": {},
|
|
342
|
+
"pt:month:open": {},
|
|
343
|
+
"pt:month:outside": {},
|
|
344
|
+
"pt:month:today": {},
|
|
345
|
+
"pt:month:inRange": {},
|
|
346
|
+
"pt:month:selected": {},
|
|
347
|
+
"pt:month:rangeStart": {},
|
|
348
|
+
"pt:month:rangeEnd": {},
|
|
349
|
+
"pt:month:active": {},
|
|
350
|
+
"pt:month:highlighted": {},
|
|
351
|
+
"pt:year:errors": {},
|
|
352
|
+
"pt:year:warnings": {},
|
|
353
|
+
"pt:year:loading": {},
|
|
354
|
+
"pt:year:disabled": {},
|
|
355
|
+
"pt:year:readonly": {},
|
|
356
|
+
"pt:year:hasValue": {},
|
|
357
|
+
"pt:year:open": {},
|
|
358
|
+
"pt:year:outside": {},
|
|
359
|
+
"pt:year:today": {},
|
|
360
|
+
"pt:year:inRange": {},
|
|
361
|
+
"pt:year:selected": {},
|
|
362
|
+
"pt:year:rangeStart": {},
|
|
363
|
+
"pt:year:rangeEnd": {},
|
|
364
|
+
"pt:year:active": {},
|
|
365
|
+
"pt:year:highlighted": {},
|
|
366
|
+
"pt:cellColumnHeader:errors": {},
|
|
367
|
+
"pt:cellColumnHeader:warnings": {},
|
|
368
|
+
"pt:cellColumnHeader:loading": {},
|
|
369
|
+
"pt:cellColumnHeader:disabled": {},
|
|
370
|
+
"pt:cellColumnHeader:readonly": {},
|
|
371
|
+
"pt:cellColumnHeader:hasValue": {},
|
|
372
|
+
"pt:cellColumnHeader:open": {},
|
|
373
|
+
"pt:cellColumnHeader:outside": {},
|
|
374
|
+
"pt:cellColumnHeader:today": {},
|
|
375
|
+
"pt:cellColumnHeader:inRange": {},
|
|
376
|
+
"pt:cellColumnHeader:selected": {},
|
|
377
|
+
"pt:cellColumnHeader:rangeStart": {},
|
|
378
|
+
"pt:cellColumnHeader:rangeEnd": {},
|
|
379
|
+
"pt:cellColumnHeader:active": {},
|
|
380
|
+
"pt:cellColumnHeader:highlighted": {},
|
|
381
|
+
"pt:day:errors": {},
|
|
382
|
+
"pt:day:warnings": {},
|
|
383
|
+
"pt:day:loading": {},
|
|
384
|
+
"pt:day:disabled": {},
|
|
385
|
+
"pt:day:readonly": {},
|
|
386
|
+
"pt:day:hasValue": {},
|
|
387
|
+
"pt:day:open": {},
|
|
388
|
+
"pt:day:outside": {},
|
|
389
|
+
"pt:day:today": {},
|
|
390
|
+
"pt:day:inRange": {},
|
|
391
|
+
"pt:day:selected": {},
|
|
392
|
+
"pt:day:rangeStart": {},
|
|
393
|
+
"pt:day:rangeEnd": {},
|
|
394
|
+
"pt:day:active": {},
|
|
395
|
+
"pt:day:highlighted": {},
|
|
396
|
+
"pt:dayButton:errors": {},
|
|
397
|
+
"pt:dayButton:warnings": {},
|
|
398
|
+
"pt:dayButton:loading": {},
|
|
399
|
+
"pt:dayButton:disabled": {},
|
|
400
|
+
"pt:dayButton:readonly": {},
|
|
401
|
+
"pt:dayButton:hasValue": {},
|
|
402
|
+
"pt:dayButton:open": {},
|
|
403
|
+
"pt:dayButton:outside": {},
|
|
404
|
+
"pt:dayButton:today": {},
|
|
405
|
+
"pt:dayButton:inRange": {},
|
|
406
|
+
"pt:dayButton:selected": {},
|
|
407
|
+
"pt:dayButton:rangeStart": {},
|
|
408
|
+
"pt:dayButton:rangeEnd": {},
|
|
409
|
+
"pt:dayButton:active": {},
|
|
410
|
+
"pt:dayButton:highlighted": {},
|
|
411
|
+
"pt:monthItem:errors": {},
|
|
412
|
+
"pt:monthItem:warnings": {},
|
|
413
|
+
"pt:monthItem:loading": {},
|
|
414
|
+
"pt:monthItem:disabled": {},
|
|
415
|
+
"pt:monthItem:readonly": {},
|
|
416
|
+
"pt:monthItem:hasValue": {},
|
|
417
|
+
"pt:monthItem:open": {},
|
|
418
|
+
"pt:monthItem:outside": {},
|
|
419
|
+
"pt:monthItem:today": {},
|
|
420
|
+
"pt:monthItem:inRange": {},
|
|
421
|
+
"pt:monthItem:selected": {},
|
|
422
|
+
"pt:monthItem:rangeStart": {},
|
|
423
|
+
"pt:monthItem:rangeEnd": {},
|
|
424
|
+
"pt:monthItem:active": {},
|
|
425
|
+
"pt:monthItem:highlighted": {},
|
|
426
|
+
"pt:yearItem:errors": {},
|
|
427
|
+
"pt:yearItem:warnings": {},
|
|
428
|
+
"pt:yearItem:loading": {},
|
|
429
|
+
"pt:yearItem:disabled": {},
|
|
430
|
+
"pt:yearItem:readonly": {},
|
|
431
|
+
"pt:yearItem:hasValue": {},
|
|
432
|
+
"pt:yearItem:open": {},
|
|
433
|
+
"pt:yearItem:outside": {},
|
|
434
|
+
"pt:yearItem:today": {},
|
|
435
|
+
"pt:yearItem:inRange": {},
|
|
436
|
+
"pt:yearItem:selected": {},
|
|
437
|
+
"pt:yearItem:rangeStart": {},
|
|
438
|
+
"pt:yearItem:rangeEnd": {},
|
|
439
|
+
"pt:yearItem:active": {},
|
|
440
|
+
"pt:yearItem:highlighted": {},
|
|
441
|
+
"pt:item:errors": {},
|
|
442
|
+
"pt:item:warnings": {},
|
|
443
|
+
"pt:item:loading": {},
|
|
444
|
+
"pt:item:disabled": {},
|
|
445
|
+
"pt:item:readonly": {},
|
|
446
|
+
"pt:item:hasValue": {},
|
|
447
|
+
"pt:item:open": {},
|
|
448
|
+
"pt:item:outside": {},
|
|
449
|
+
"pt:item:today": {},
|
|
450
|
+
"pt:item:inRange": {},
|
|
451
|
+
"pt:item:selected": {},
|
|
452
|
+
"pt:item:rangeStart": {},
|
|
453
|
+
"pt:item:rangeEnd": {},
|
|
454
|
+
"pt:item:active": {},
|
|
455
|
+
"pt:item:highlighted": {},
|
|
456
|
+
pt: {},
|
|
12
457
|
adaptive: {
|
|
13
458
|
type: Boolean,
|
|
14
459
|
default: void 0
|
|
15
460
|
},
|
|
16
461
|
description: {},
|
|
17
462
|
offCanvasProps: {},
|
|
18
|
-
disableWriting: {
|
|
463
|
+
disableWriting: {
|
|
464
|
+
type: [Boolean, String],
|
|
465
|
+
default: !1
|
|
466
|
+
},
|
|
19
467
|
"append:icon": {},
|
|
20
|
-
autocomplete: {},
|
|
468
|
+
autocomplete: { default: "off" },
|
|
21
469
|
autofocus: {},
|
|
22
470
|
clearable: { type: Boolean },
|
|
23
471
|
compact: { type: Boolean },
|
|
24
|
-
|
|
472
|
+
variant: {},
|
|
473
|
+
layout: {},
|
|
25
474
|
disabled: { type: Boolean },
|
|
26
475
|
errors: {},
|
|
27
476
|
firstDayOfWeek: {},
|
|
28
477
|
floating: { type: Boolean },
|
|
29
478
|
hasErrors: { type: Boolean },
|
|
30
479
|
warnings: {},
|
|
31
|
-
|
|
32
|
-
disableCalendar: {
|
|
480
|
+
hasWarnings: { type: Boolean },
|
|
481
|
+
disableCalendar: {
|
|
482
|
+
type: [Boolean, String],
|
|
483
|
+
default: !1
|
|
484
|
+
},
|
|
33
485
|
hideLabel: { type: Boolean },
|
|
34
486
|
hint: {},
|
|
35
487
|
id: {},
|
|
@@ -49,15 +501,23 @@ var y = /*@__PURE__*/ l({
|
|
|
49
501
|
required: { type: Boolean },
|
|
50
502
|
reverse: { type: Boolean },
|
|
51
503
|
selectable: {},
|
|
52
|
-
type: {},
|
|
504
|
+
type: { default: "date" },
|
|
53
505
|
ampm: { type: Boolean },
|
|
54
506
|
seconds: { type: Boolean },
|
|
55
507
|
step: {},
|
|
56
508
|
time: {},
|
|
57
509
|
transitionDuration: {},
|
|
58
|
-
utc: { type: Boolean }
|
|
510
|
+
utc: { type: Boolean },
|
|
511
|
+
validationLabel: {},
|
|
512
|
+
rules: {},
|
|
513
|
+
validationMode: {},
|
|
514
|
+
formless: { type: Boolean }
|
|
59
515
|
},
|
|
60
516
|
emits: [
|
|
517
|
+
"show",
|
|
518
|
+
"shown",
|
|
519
|
+
"hide",
|
|
520
|
+
"hidden",
|
|
61
521
|
"active",
|
|
62
522
|
"error",
|
|
63
523
|
"focus",
|
|
@@ -65,115 +525,740 @@ var y = /*@__PURE__*/ l({
|
|
|
65
525
|
"update:modelValue",
|
|
66
526
|
"update:time"
|
|
67
527
|
],
|
|
68
|
-
setup(
|
|
69
|
-
let
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
528
|
+
setup(ye, { emit: ze }) {
|
|
529
|
+
let Be = ye, Ve = ze, He = Ee(), { props: O, emit: k, showAsterisk: Ue, errors: We, required: Ge, model: Ke } = ue(Be, Ve, {
|
|
530
|
+
componentName: "BbDatePickerInput",
|
|
531
|
+
identifierFallback: () => Be.label,
|
|
532
|
+
leaveOn: "inactive"
|
|
533
|
+
}), qe = /^(append:)?\d{4}-\d{2}-\d{2}$/, Je = () => Object.keys(He).filter((e) => qe.test(e)), Ye = o();
|
|
534
|
+
process.env.NODE_ENV !== "production" && l("BbDatePickerInput", c("BbDatePickerInput"));
|
|
535
|
+
let A = x(!1), Xe = x(!1), Ze = () => {
|
|
536
|
+
Xe.value = !1;
|
|
537
|
+
}, Qe = x(!1), $e = () => {
|
|
538
|
+
Qe.value = !0, k("show");
|
|
539
|
+
}, et = () => {
|
|
540
|
+
Qe.value = !1, k("hide");
|
|
73
541
|
};
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
542
|
+
Ce(() => {
|
|
543
|
+
A.value ? bt() : Ze();
|
|
544
|
+
}), Se(Ze);
|
|
545
|
+
let tt = p(() => O.persistentHint || Xe.value), j = p(() => n(O.modelValue)), nt = p(() => O.labelMode ?? Ye.defaultInputLabelMode), rt = [
|
|
546
|
+
"panel",
|
|
547
|
+
"sheet",
|
|
548
|
+
...se
|
|
549
|
+
], M = a({
|
|
550
|
+
component: "BbDatePickerInput",
|
|
551
|
+
attrs: Te(),
|
|
552
|
+
controlAttrs: r,
|
|
553
|
+
props: O,
|
|
554
|
+
parts: me.parts,
|
|
555
|
+
states: me.states,
|
|
556
|
+
active: {
|
|
557
|
+
...i(O, () => j.value),
|
|
558
|
+
open: () => Qe.value
|
|
559
|
+
}
|
|
560
|
+
}), N = p(() => O.type === "datetime"), P = p(() => te(O.type)), it = p(() => O.floating || P.value), F = p(() => ne(O.type)), at = p(() => ee(O.type));
|
|
561
|
+
E.extend(ke), E.extend(Ae), E.extend(je), Oe(() => {
|
|
562
|
+
E.locale(Me[Ye.locale] ?? "en");
|
|
563
|
+
});
|
|
564
|
+
let { t: I } = d(), L = e(), R = x(null), ot = (e) => `bdpi-description_${e}`, st = (e, t) => {
|
|
565
|
+
let n = [e, ot(t)].filter((e) => !!e?.trim()).flatMap((e) => e.split(/\s+/)).filter(Boolean);
|
|
566
|
+
return Array.from(new Set(n)).join(" ");
|
|
567
|
+
}, { isMobile: z } = u(), ct = p(() => O.disableWriting === "mobile" ? !z.value : O.disableWriting === "desktop" ? z.value : !O.disableWriting), lt = p(() => O.disableCalendar === "mobile" ? z.value : O.disableCalendar === "desktop" ? !z.value : !!O.disableCalendar), ut = p(() => !!O.readonly || !ct.value), dt = (e) => ct.value ? zt.value[e].kind === "enum" ? "none" : "numeric" : "none", B = (e) => e.includes("T"), V = (e) => {
|
|
568
|
+
if (P.value) {
|
|
569
|
+
let t = E(e, at.value, !0);
|
|
570
|
+
return t.isValid() ? t : E(e);
|
|
571
|
+
}
|
|
572
|
+
return B(e) ? E(e, Re, !0) : E(e, D, !0);
|
|
573
|
+
}, ft = p(() => ae(O.min, O.type, "min", (e) => L.warn(`BbDatePickerInput: ${e}`))), pt = p(() => ae(O.max, O.type, "max", (e) => L.warn(`BbDatePickerInput: ${e}`)));
|
|
574
|
+
for (let [e, t] of [["min", O.min], ["max", O.max]]) if (t && (V(t).isValid() || L.throw(P.value ? `BbDatePickerInput: ${e} must be a ${at.value} value (a longer date is accepted and rounded to the ${F.value}) with type="${O.type}"` : `BbDatePickerInput: ${e} must be in the format YYYY-MM-DD or YYYY-MM-DDTHH:mm`), P.value)) {
|
|
575
|
+
e === "min" ? ft.value : pt.value;
|
|
576
|
+
continue;
|
|
577
|
+
}
|
|
578
|
+
let mt = O.disableWriting !== !0 && O.disableWriting !== "desktop", ht = O.disableCalendar !== !0 && O.disableCalendar !== "desktop", gt = O.disableWriting !== !0 && O.disableWriting !== "mobile", _t = O.disableCalendar !== !0 && O.disableCalendar !== "mobile";
|
|
579
|
+
!mt && !ht && L.throw("BbDatePickerInput: desktop users would have no interaction method — disableWriting:true (or \"desktop\") and disableCalendar:true (or \"desktop\") cannot be combined."), !gt && !_t && L.throw("BbDatePickerInput: mobile users would have no interaction method — combine disableWriting:\"mobile\" with disableCalendar:\"desktop\" to keep calendar interaction on mobile while staying keyboard-first on desktop.");
|
|
580
|
+
let vt = p(() => ({
|
|
581
|
+
floating: it.value,
|
|
582
|
+
utc: O.utc,
|
|
583
|
+
type: O.type
|
|
584
|
+
})), H = (e) => ie(e, vt.value), U = (e) => re(e, vt.value), yt = () => {
|
|
585
|
+
A.value || (Xe.value = !0, k("active"), A.value = !0, document.addEventListener("focusin", W), document.addEventListener("click", W));
|
|
586
|
+
}, W = (e) => {
|
|
587
|
+
let t = e.target;
|
|
588
|
+
t instanceof HTMLElement && R.value?.$el && (R.value.$el.contains(t) || bt());
|
|
589
|
+
}, bt = () => {
|
|
590
|
+
$({ finalize: !0 }), xn() && (yn(), Y()), A.value = !1, Ze(), k("inactive"), document.removeEventListener("focusin", W), document.removeEventListener("click", W);
|
|
591
|
+
}, xt = (e, t) => {
|
|
592
|
+
let n = U(t);
|
|
593
|
+
if (!n.isValid()) return;
|
|
594
|
+
let r = q.value[e];
|
|
595
|
+
r.day = n.format("DD"), r.month = n.format("MM"), r.year = n.format("YYYY");
|
|
596
|
+
}, St = { "onUpdate:modelValue": (e) => {
|
|
597
|
+
if (!N.value) {
|
|
598
|
+
k("update:modelValue", e);
|
|
599
|
+
return;
|
|
600
|
+
}
|
|
601
|
+
if (e === null) {
|
|
602
|
+
q.value.start = J(), q.value.end = J(), Y(), Q(null);
|
|
603
|
+
return;
|
|
604
|
+
}
|
|
605
|
+
if (Array.isArray(e)) {
|
|
606
|
+
let [t, n] = e;
|
|
607
|
+
t ? xt("start", t) : q.value.start = J(), n ? xt("end", n) : q.value.end = J(), Y(), $({ finalize: !1 });
|
|
608
|
+
return;
|
|
609
|
+
}
|
|
610
|
+
xt("start", e), Y(), $({ finalize: !1 });
|
|
611
|
+
} }, Ct = (e) => {
|
|
612
|
+
let t = q.value[e];
|
|
613
|
+
return !!(t.day && t.month && t.year && t.year.length === 4);
|
|
614
|
+
}, wt = x("start"), Tt = (e, t) => {
|
|
615
|
+
wt.value = e.segment, Zt(e), k("focus", t);
|
|
616
|
+
}, Et = p(() => O.range ? Ct(wt.value) ? wt.value : Ct("end") ? "end" : "start" : "start"), Dt = ({ unit: e, value: t }) => {
|
|
617
|
+
let n = q.value[Et.value];
|
|
618
|
+
e === "hour" ? an(n, parseInt(t, 10)) : n[e] = t, n.hour || (O.ampm ? n.hour = "12" : n.hour = "00"), O.ampm && !n.meridiem && (n.meridiem = "AM"), n.minute ||= "00", O.seconds && !n.second && (n.second = "00"), Y(), $({ finalize: !1 });
|
|
619
|
+
}, Ot = p(() => O.type === "year" ? "YYYY" : O.type === "month" ? "MMMM YYYY" : N.value ? O.ampm ? O.seconds ? "D MMMM YYYY h:mm:ss A" : "D MMMM YYYY h:mm A" : O.seconds ? "D MMMM YYYY HH:mm:ss" : "D MMMM YYYY HH:mm" : "D MMMM YYYY"), kt = p(() => {
|
|
620
|
+
if (O.range) {
|
|
621
|
+
let [e, t] = Array.isArray(O.modelValue) ? O.modelValue : [];
|
|
622
|
+
if (!e || !t) return I("datePickerInput.emptyRange").value;
|
|
623
|
+
let n = U(e), r = U(t);
|
|
624
|
+
return !n.isValid() || !r.isValid() ? I("datePickerInput.emptyRange").value : I("datePickerInput.changeSelectionRange", n.format(Ot.value), r.format(Ot.value)).value;
|
|
625
|
+
}
|
|
626
|
+
if (typeof O.modelValue == "string") {
|
|
627
|
+
let e = U(O.modelValue);
|
|
628
|
+
return e.isValid() ? I("datePickerInput.changeSelection", e.format(Ot.value)).value : I("datePickerInput.emptySelection").value;
|
|
629
|
+
}
|
|
630
|
+
return I("datePickerInput.emptySelection").value;
|
|
631
|
+
}), At = (e) => {
|
|
632
|
+
if (!e.isValid()) return !0;
|
|
633
|
+
let t = !0, n = (e) => P.value ? F.value : N.value && B(e) ? "minute" : "day", r = ft.value, i = pt.value;
|
|
634
|
+
return r && (t &&= e.isSameOrAfter(V(r), n(r))), i && (t &&= e.isSameOrBefore(V(i), n(i))), typeof O.selectable == "function" && (t &&= O.selectable(H(e))), !t;
|
|
635
|
+
}, jt = () => {
|
|
636
|
+
O.range ? (k("update:modelValue", []), N.value && (Z.value = [], k("update:time", []))) : (k("update:modelValue", null), N.value && (Z.value = null, k("update:time", null)));
|
|
637
|
+
}, Mt = /* @__PURE__ */ new Set([
|
|
638
|
+
"hour",
|
|
639
|
+
"minute",
|
|
640
|
+
"second",
|
|
641
|
+
"meridiem"
|
|
642
|
+
]), Nt = (e, t) => t === "PM" ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e, Pt = (e) => {
|
|
643
|
+
let t = e >= 12 ? "PM" : "AM", n = e % 12;
|
|
644
|
+
return n === 0 && (n = 12), {
|
|
645
|
+
hour: String(n).padStart(2, "0"),
|
|
646
|
+
meridiem: t
|
|
647
|
+
};
|
|
648
|
+
}, Ft = p(() => O.type === "year" ? ["year"] : O.type === "month" ? ["month", "year"] : Ye.locale === "en" ? [
|
|
649
|
+
"month",
|
|
650
|
+
"day",
|
|
651
|
+
"year"
|
|
652
|
+
] : [
|
|
653
|
+
"day",
|
|
654
|
+
"month",
|
|
655
|
+
"year"
|
|
656
|
+
]), G = p(() => new Set(Ft.value)), It = p(() => {
|
|
657
|
+
if (!N.value) return [];
|
|
658
|
+
let e = ["hour", "minute"];
|
|
659
|
+
return O.seconds && e.push("second"), O.ampm && e.push("meridiem"), e;
|
|
660
|
+
}), K = p(() => {
|
|
661
|
+
let e = [...Ft.value, ...It.value], t = e.map((e) => ({
|
|
662
|
+
segment: "start",
|
|
663
|
+
field: e
|
|
664
|
+
}));
|
|
665
|
+
if (!O.range) return t;
|
|
666
|
+
let n = e.map((e) => ({
|
|
667
|
+
segment: "end",
|
|
668
|
+
field: e
|
|
669
|
+
}));
|
|
670
|
+
return [...t, ...n];
|
|
671
|
+
}), Lt = p(() => {
|
|
672
|
+
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
673
|
+
return K.value.forEach((n, r) => {
|
|
674
|
+
e.has(n.segment) || (e.add(n.segment), t.add(r));
|
|
675
|
+
}), t;
|
|
676
|
+
}), Rt = (e) => Lt.value.has(e), zt = p(() => ({
|
|
677
|
+
day: {
|
|
678
|
+
kind: "numeric",
|
|
679
|
+
maxLength: 2,
|
|
680
|
+
max: 31,
|
|
681
|
+
rejectZero: !0,
|
|
682
|
+
padTo: 2,
|
|
683
|
+
autoAdvanceFrom: 4,
|
|
684
|
+
label: "Day"
|
|
685
|
+
},
|
|
686
|
+
month: {
|
|
687
|
+
kind: "numeric",
|
|
688
|
+
maxLength: 2,
|
|
689
|
+
max: 12,
|
|
690
|
+
rejectZero: !0,
|
|
691
|
+
padTo: 2,
|
|
692
|
+
autoAdvanceFrom: 2,
|
|
693
|
+
label: "Month"
|
|
694
|
+
},
|
|
695
|
+
year: {
|
|
696
|
+
kind: "numeric",
|
|
697
|
+
maxLength: 4,
|
|
698
|
+
requireFullLength: !0,
|
|
699
|
+
label: "Year"
|
|
80
700
|
},
|
|
81
|
-
|
|
82
|
-
|
|
701
|
+
hour: O.ampm ? {
|
|
702
|
+
kind: "numeric",
|
|
703
|
+
maxLength: 2,
|
|
704
|
+
max: 12,
|
|
705
|
+
rejectZero: !0,
|
|
706
|
+
padTo: 2,
|
|
707
|
+
autoAdvanceFrom: 2,
|
|
708
|
+
label: "Hour"
|
|
709
|
+
} : {
|
|
710
|
+
kind: "numeric",
|
|
711
|
+
maxLength: 2,
|
|
712
|
+
max: 23,
|
|
713
|
+
padTo: 2,
|
|
714
|
+
autoAdvanceFrom: 3,
|
|
715
|
+
label: "Hour"
|
|
83
716
|
},
|
|
84
|
-
|
|
85
|
-
|
|
717
|
+
minute: {
|
|
718
|
+
kind: "numeric",
|
|
719
|
+
maxLength: 2,
|
|
720
|
+
max: 59,
|
|
721
|
+
padTo: 2,
|
|
722
|
+
autoAdvanceFrom: 6,
|
|
723
|
+
label: "Minute"
|
|
724
|
+
},
|
|
725
|
+
second: {
|
|
726
|
+
kind: "numeric",
|
|
727
|
+
maxLength: 2,
|
|
728
|
+
max: 59,
|
|
729
|
+
padTo: 2,
|
|
730
|
+
autoAdvanceFrom: 6,
|
|
731
|
+
label: "Second"
|
|
732
|
+
},
|
|
733
|
+
meridiem: {
|
|
734
|
+
kind: "enum",
|
|
735
|
+
maxLength: 2,
|
|
736
|
+
enum: {
|
|
737
|
+
values: ["AM", "PM"],
|
|
738
|
+
keys: {
|
|
739
|
+
a: "AM",
|
|
740
|
+
p: "PM"
|
|
741
|
+
}
|
|
742
|
+
},
|
|
743
|
+
sizerMin: "AM",
|
|
744
|
+
label: "AM/PM"
|
|
745
|
+
}
|
|
746
|
+
})), Bt = (e, t) => {
|
|
747
|
+
if (e.segment !== t.segment) return "–";
|
|
748
|
+
if (t.field === "meridiem") return "\xA0";
|
|
749
|
+
let n = Mt.has(e.field), r = Mt.has(t.field);
|
|
750
|
+
return n && r ? ":" : !n && r ? "\xA0" : "/";
|
|
751
|
+
}, { fields: q, fieldRefs: Vt, descriptorKey: Ht, emptyFieldGroup: J, getSizedValue: Ut, minChars: Wt, updateAllSizedValues: Y, isOwnField: Gt, focusField: Kt, focusFirstField: qt, segmentStatus: Jt, onFieldInput: Yt, onFieldKeydown: Xt, onFieldFocus: Zt, onFieldBlur: Qt, onFieldPaste: $t } = fe({
|
|
752
|
+
fieldOrder: K,
|
|
753
|
+
specs: zt,
|
|
754
|
+
segments: ["start", "end"],
|
|
755
|
+
fieldKeys: [
|
|
756
|
+
"day",
|
|
757
|
+
"month",
|
|
758
|
+
"year",
|
|
759
|
+
"hour",
|
|
760
|
+
"minute",
|
|
761
|
+
"second",
|
|
762
|
+
"meridiem"
|
|
763
|
+
],
|
|
764
|
+
optionalGroups: [[
|
|
765
|
+
"hour",
|
|
766
|
+
"minute",
|
|
767
|
+
"meridiem"
|
|
768
|
+
], ["second"]],
|
|
769
|
+
onDirty: () => $({ finalize: !1 })
|
|
770
|
+
}), en = (e, t) => O.range ? `${t}-${e.segment}-${e.field}` : `${t}-${e.field}`, tn = (e) => {
|
|
771
|
+
if (O.name) return O.range ? `${O.name}-${e.segment}-${e.field}` : `${O.name}-${e.field}`;
|
|
772
|
+
}, nn = {
|
|
773
|
+
day: "datePickerInput.dayField",
|
|
774
|
+
month: "datePickerInput.monthField",
|
|
775
|
+
year: "datePickerInput.yearField",
|
|
776
|
+
hour: "datePickerInput.hourField",
|
|
777
|
+
minute: "datePickerInput.minuteField",
|
|
778
|
+
second: "datePickerInput.secondField",
|
|
779
|
+
meridiem: "datePickerInput.meridiemField"
|
|
780
|
+
}, rn = (e) => {
|
|
781
|
+
let t = I(nn[e.field]).value;
|
|
782
|
+
return O.range ? I(e.segment === "start" ? "datePickerInput.startFieldLabel" : "datePickerInput.endFieldLabel", t).value : t;
|
|
783
|
+
}, an = (e, t) => {
|
|
784
|
+
if (!O.ampm) {
|
|
785
|
+
e.hour = String(t).padStart(2, "0");
|
|
786
|
+
return;
|
|
787
|
+
}
|
|
788
|
+
let n = Pt(t);
|
|
789
|
+
e.hour = n.hour, e.meridiem = n.meridiem;
|
|
790
|
+
}, on = (e) => {
|
|
791
|
+
if (!e.hour) return 0;
|
|
792
|
+
let t = parseInt(e.hour, 10);
|
|
793
|
+
return O.ampm ? Nt(t, e.meridiem || "AM") : t;
|
|
794
|
+
}, sn = p(() => O.seconds ? "HH:mm:ss" : "HH:mm"), cn = (e) => e.format(sn.value), ln = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, un = (e) => {
|
|
795
|
+
if (!e) return null;
|
|
796
|
+
let t = ln.exec(e);
|
|
797
|
+
if (!t) return null;
|
|
798
|
+
let [, n, r, i] = t;
|
|
799
|
+
return parseInt(n, 10) > 23 || parseInt(r, 10) > 59 || i && parseInt(i, 10) > 59 ? null : {
|
|
800
|
+
hour: n.padStart(2, "0"),
|
|
801
|
+
minute: r.padStart(2, "0"),
|
|
802
|
+
second: (i ?? "").padStart(i ? 2 : 0, "0")
|
|
803
|
+
};
|
|
804
|
+
}, dn = (e, t) => {
|
|
805
|
+
if (!N.value) return;
|
|
806
|
+
let n = un(t);
|
|
807
|
+
if (!n) {
|
|
808
|
+
e.hour = "", e.minute = "", e.second = "", e.meridiem = "";
|
|
809
|
+
return;
|
|
810
|
+
}
|
|
811
|
+
an(e, parseInt(n.hour, 10)), e.minute = n.minute, e.second = O.seconds ? n.second : "";
|
|
812
|
+
}, fn = p(() => O.seconds ? "datePickerInput.timeFormatSeconds" : "datePickerInput.timeFormat"), pn = p(() => {
|
|
813
|
+
if (O.type === "month" || O.type === "year") {
|
|
814
|
+
let e = O.type === "month" ? "month" : "year";
|
|
815
|
+
return I(O.range ? `datePickerInput.${e}FormatRange` : `datePickerInput.${e}FormatSingle`).value;
|
|
816
|
+
}
|
|
817
|
+
if (!N.value) return I(O.range ? "datePickerInput.dateFormatRange" : "datePickerInput.dateFormatSingle").value;
|
|
818
|
+
let e = `${I("datePickerInput.dateFormatSingle").value} ${I(fn.value).value}`;
|
|
819
|
+
return O.range ? `${e} – ${e}` : e;
|
|
820
|
+
}), mn = p(() => O.placeholder || pn.value), hn = p(() => K.value.every((e) => !q.value[e.segment][e.field])), gn = (e) => {
|
|
821
|
+
if (!e) return J();
|
|
822
|
+
let t = U(e);
|
|
823
|
+
if (!t.isValid()) return J();
|
|
824
|
+
let n = J();
|
|
825
|
+
return G.value.has("day") && (n.day = t.format("DD")), G.value.has("month") && (n.month = t.format("MM")), n.year = t.format("YYYY"), N.value && !O.floating && (an(n, t.hour()), n.minute = t.format("mm"), n.second = O.seconds ? t.format("ss") : ""), n;
|
|
826
|
+
}, _n = (e) => Array.isArray(O.time) ? O.time[e === "start" ? 0 : 1] : e === "start" ? O.time : void 0, vn = (e) => {
|
|
827
|
+
if (!e) {
|
|
828
|
+
q.value = {
|
|
829
|
+
start: J(),
|
|
830
|
+
end: J()
|
|
831
|
+
};
|
|
832
|
+
return;
|
|
833
|
+
}
|
|
834
|
+
if (O.range) {
|
|
835
|
+
let [t, n] = Array.isArray(e) ? e : [];
|
|
836
|
+
q.value = {
|
|
837
|
+
start: gn(t),
|
|
838
|
+
end: gn(n)
|
|
839
|
+
};
|
|
840
|
+
} else Array.isArray(e) ? q.value = {
|
|
841
|
+
start: J(),
|
|
842
|
+
end: J()
|
|
843
|
+
} : q.value = {
|
|
844
|
+
start: gn(e),
|
|
845
|
+
end: J()
|
|
846
|
+
};
|
|
847
|
+
if (N.value && O.floating) for (let e of ["start", "end"]) {
|
|
848
|
+
let t = q.value[e];
|
|
849
|
+
t.day && dn(t, _n(e));
|
|
850
|
+
}
|
|
851
|
+
}, yn = () => {
|
|
852
|
+
vn(O.modelValue);
|
|
853
|
+
};
|
|
854
|
+
vn(O.modelValue), Y();
|
|
855
|
+
let bn = (e) => {
|
|
856
|
+
if (!N.value || O.floating) return;
|
|
857
|
+
let t;
|
|
858
|
+
t = e ? Array.isArray(e) ? e.map((e) => cn(U(e))) : cn(U(e)) : null, Z.value = t, k("update:time", t);
|
|
859
|
+
};
|
|
860
|
+
De(() => O.modelValue, (e) => {
|
|
861
|
+
if (e === null || Array.isArray(e) && e.length === 0) {
|
|
862
|
+
vn(e), Y(), bn(e);
|
|
863
|
+
return;
|
|
864
|
+
}
|
|
865
|
+
let t = document.activeElement;
|
|
866
|
+
t && Gt(t) || (vn(e), Y(), bn(e));
|
|
867
|
+
}), De(() => O.time, (e) => {
|
|
868
|
+
if (!N.value || s(e ?? null) === s(Z.value ?? null)) return;
|
|
869
|
+
let t = document.activeElement;
|
|
870
|
+
if (!(t && Gt(t))) {
|
|
871
|
+
for (let e of ["start", "end"]) {
|
|
872
|
+
if (e === "end" && !O.range) break;
|
|
873
|
+
let t = _n(e), n = q.value[e];
|
|
874
|
+
t !== void 0 && dn(n, t);
|
|
875
|
+
}
|
|
876
|
+
Y(), $({ finalize: !1 });
|
|
877
|
+
}
|
|
878
|
+
});
|
|
879
|
+
let xn = () => Jt("start") === "partial" ? !0 : O.range ? Jt("end") === "partial" : !1, Sn = (e) => {
|
|
880
|
+
let t = q.value[e], n = G.value;
|
|
881
|
+
if (n.has("day") && !t.day || n.has("month") && !t.month || !t.year) return null;
|
|
882
|
+
let r = n.has("day") ? parseInt(t.day, 10) : 1, i = n.has("month") ? parseInt(t.month, 10) : 1, a = parseInt(t.year, 10);
|
|
883
|
+
if (r < 1 || r > 31 || i < 1 || i > 12 || a < 1e3 || a > 9999) return null;
|
|
884
|
+
let o = t.year.padStart(4, "0"), s = String(i).padStart(2, "0"), c = String(r).padStart(2, "0"), l = "", u = "";
|
|
885
|
+
if (N.value) {
|
|
886
|
+
if (O.ampm && t.hour) {
|
|
887
|
+
let e = parseInt(t.hour, 10);
|
|
888
|
+
if (e < 1 || e > 12) return null;
|
|
889
|
+
}
|
|
890
|
+
let e = String(on(t)).padStart(2, "0"), n = (t.minute || "0").padStart(2, "0"), r = ((O.seconds ? t.second : "") || "0").padStart(2, "0");
|
|
891
|
+
if (parseInt(e, 10) > 23 || parseInt(n, 10) > 59 || parseInt(r, 10) > 59) return null;
|
|
892
|
+
l = `T${e}:${n}:${r}`, u = "THH:mm:ss";
|
|
893
|
+
}
|
|
894
|
+
let d = E(`${o}-${s}-${c}${l}`, D + u, !0);
|
|
895
|
+
if (!d.isValid()) {
|
|
896
|
+
let t = E(`${o}-${s}-01`, D, !0).endOf("month").date(), n = Math.min(r, t);
|
|
897
|
+
d = E(`${o}-${s}-${String(n).padStart(2, "0")}${l}`, D + u, !0), q.value[e].day = String(n).padStart(2, "0");
|
|
898
|
+
}
|
|
899
|
+
return d.isValid() ? d : null;
|
|
900
|
+
}, Cn = (e) => {
|
|
901
|
+
let t = J();
|
|
902
|
+
return G.value.has("day") && (t.day = e.format("DD")), G.value.has("month") && (t.month = e.format("MM")), t.year = e.format("YYYY"), N.value && (an(t, e.hour()), t.minute = e.format("mm"), t.second = O.seconds ? e.format("ss") : ""), t;
|
|
903
|
+
}, wn = (e) => {
|
|
904
|
+
let t = (t, n) => N.value && !n ? t.hour(e.hour()).minute(e.minute()).second(e.second()) : t, n = P.value ? F.value : N.value ? "minute" : "day", r = e, i = ft.value, a = pt.value;
|
|
905
|
+
if (i) {
|
|
906
|
+
let e = B(i), n = V(i);
|
|
907
|
+
r.isBefore(n, P.value ? F.value : N.value && e ? "minute" : "day") && (r = P.value ? n : t(n, e));
|
|
908
|
+
}
|
|
909
|
+
if (a) {
|
|
910
|
+
let e = B(a), n = V(a);
|
|
911
|
+
r.isAfter(n, P.value ? F.value : N.value && e ? "minute" : "day") && (r = P.value ? n.startOf(F.value) : t(n, e));
|
|
912
|
+
}
|
|
913
|
+
return r.isSame(e, n) || At(r) ? null : r;
|
|
914
|
+
}, X = (e) => {
|
|
915
|
+
k("error", e);
|
|
916
|
+
}, Tn = (e) => {
|
|
917
|
+
let t = q.value[e], n = String(on(t)).padStart(2, "0"), r = (t.minute || "0").padStart(2, "0");
|
|
918
|
+
return O.seconds ? `${n}:${r}:${(t.second || "0").padStart(2, "0")}` : `${n}:${r}`;
|
|
919
|
+
}, Z = x(void 0), Q = (e) => {
|
|
920
|
+
if (k("update:modelValue", e), !N.value) return;
|
|
921
|
+
let t;
|
|
922
|
+
t = e === null ? null : Array.isArray(e) ? e.map((e, t) => Tn(t === 0 ? "start" : "end")) : Tn("start"), Z.value = t, k("update:time", t);
|
|
923
|
+
}, $ = (e = {}) => {
|
|
924
|
+
let t = !!e.finalize, n = Jt("start");
|
|
925
|
+
if (!O.range) {
|
|
926
|
+
if (n === "empty") {
|
|
927
|
+
Q(null);
|
|
928
|
+
return;
|
|
929
|
+
}
|
|
930
|
+
if (n === "partial") return;
|
|
931
|
+
let e = Sn("start");
|
|
932
|
+
if (!e) return;
|
|
933
|
+
if (At(e)) {
|
|
934
|
+
if (!t) return;
|
|
935
|
+
let n = H(e), r = wn(e);
|
|
936
|
+
if (r) {
|
|
937
|
+
let e = H(r);
|
|
938
|
+
q.value.start = Cn(r), Q(e), X({
|
|
939
|
+
code: "disabled_date",
|
|
940
|
+
original: n,
|
|
941
|
+
normalized: e
|
|
942
|
+
});
|
|
943
|
+
} else q.value.start = J(), Q(null), X({
|
|
944
|
+
code: "disabled_date",
|
|
945
|
+
original: n,
|
|
946
|
+
normalized: null
|
|
947
|
+
});
|
|
948
|
+
return;
|
|
949
|
+
}
|
|
950
|
+
Q(H(e));
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
let r = Jt("end");
|
|
954
|
+
if (n === "empty" && r === "empty") {
|
|
955
|
+
Q(null);
|
|
956
|
+
return;
|
|
957
|
+
}
|
|
958
|
+
if (n === "partial" || r === "partial" || n === "empty") return;
|
|
959
|
+
let i = Sn("start");
|
|
960
|
+
if (!i) return;
|
|
961
|
+
let a = r === "empty" ? null : Sn("end"), o = H(i), s = a ? H(a) : null, c = i, l = !1;
|
|
962
|
+
if (At(i)) {
|
|
963
|
+
if (!t) return;
|
|
964
|
+
let e = wn(i), n = s ? [o, s] : [o];
|
|
965
|
+
if (!e) {
|
|
966
|
+
q.value.start = J(), q.value.end = J(), Q(null), X({
|
|
967
|
+
code: "disabled_range_start",
|
|
968
|
+
original: n,
|
|
969
|
+
normalized: null
|
|
970
|
+
});
|
|
971
|
+
return;
|
|
972
|
+
}
|
|
973
|
+
if (c = e, l = !0, q.value.start = Cn(e), !a) {
|
|
974
|
+
let t = [H(e)];
|
|
975
|
+
Q(t), X({
|
|
976
|
+
code: "disabled_range_start",
|
|
977
|
+
original: n,
|
|
978
|
+
normalized: t
|
|
979
|
+
});
|
|
980
|
+
return;
|
|
981
|
+
}
|
|
982
|
+
}
|
|
983
|
+
if (!a) {
|
|
984
|
+
Q([H(c)]);
|
|
985
|
+
return;
|
|
986
|
+
}
|
|
987
|
+
let u = a, d = !1;
|
|
988
|
+
if (At(a)) {
|
|
989
|
+
if (!t) return;
|
|
990
|
+
let e = wn(a), n = [o, s];
|
|
991
|
+
if (!e) {
|
|
992
|
+
let e = [H(c)];
|
|
993
|
+
q.value.end = J(), Q(e), l && X({
|
|
994
|
+
code: "disabled_range_start",
|
|
995
|
+
original: n,
|
|
996
|
+
normalized: e
|
|
997
|
+
}), X({
|
|
998
|
+
code: "disabled_range_end",
|
|
999
|
+
original: n,
|
|
1000
|
+
normalized: e
|
|
1001
|
+
});
|
|
1002
|
+
return;
|
|
1003
|
+
}
|
|
1004
|
+
u = e, d = !0, q.value.end = Cn(e);
|
|
1005
|
+
}
|
|
1006
|
+
if (u.isBefore(c, N.value ? "second" : "day")) {
|
|
1007
|
+
if (!t) return;
|
|
1008
|
+
let e = [H(c), H(u)], n = [H(u), H(c)], r = { ...q.value.start };
|
|
1009
|
+
q.value.start = { ...q.value.end }, q.value.end = r, Y(), Q(n), l && X({
|
|
1010
|
+
code: "disabled_range_start",
|
|
1011
|
+
original: [o, s],
|
|
1012
|
+
normalized: n
|
|
1013
|
+
}), d && X({
|
|
1014
|
+
code: "disabled_range_end",
|
|
1015
|
+
original: [o, s],
|
|
1016
|
+
normalized: n
|
|
1017
|
+
}), X({
|
|
1018
|
+
code: "end_before_start",
|
|
1019
|
+
original: e,
|
|
1020
|
+
normalized: n
|
|
1021
|
+
});
|
|
1022
|
+
return;
|
|
1023
|
+
}
|
|
1024
|
+
let f = [H(c), H(u)];
|
|
1025
|
+
Q(f), l && X({
|
|
1026
|
+
code: "disabled_range_start",
|
|
1027
|
+
original: s ? [o, s] : [o],
|
|
1028
|
+
normalized: f
|
|
1029
|
+
}), d && X({
|
|
1030
|
+
code: "disabled_range_end",
|
|
1031
|
+
original: [o, s],
|
|
1032
|
+
normalized: f
|
|
1033
|
+
});
|
|
86
1034
|
};
|
|
87
|
-
return (
|
|
1035
|
+
return Se(() => {
|
|
1036
|
+
document.removeEventListener("focusin", W), document.removeEventListener("click", W);
|
|
1037
|
+
}), (e, n) => (b(), ge(le, v({
|
|
88
1038
|
id: e.id,
|
|
89
1039
|
class: "bb-date-picker-input",
|
|
1040
|
+
clearable: e.clearable && j.value,
|
|
90
1041
|
compact: e.compact,
|
|
91
1042
|
description: e.description,
|
|
92
|
-
|
|
93
|
-
errors:
|
|
1043
|
+
disabled: e.disabled,
|
|
1044
|
+
errors: w(We),
|
|
94
1045
|
"has-errors": e.hasErrors,
|
|
95
|
-
"has-value":
|
|
96
|
-
"has-
|
|
1046
|
+
"has-value": j.value,
|
|
1047
|
+
"has-warnings": e.hasWarnings,
|
|
97
1048
|
"hide-label": e.hideLabel,
|
|
98
1049
|
hint: e.hint,
|
|
99
1050
|
label: e.label,
|
|
100
|
-
"label-mode":
|
|
1051
|
+
"label-mode": nt.value,
|
|
101
1052
|
"label-position": e.labelPosition,
|
|
102
|
-
|
|
1053
|
+
layout: e.layout,
|
|
1054
|
+
loading: e.loading,
|
|
103
1055
|
name: e.name,
|
|
1056
|
+
passthrough: w(M),
|
|
1057
|
+
readonly: e.readonly,
|
|
104
1058
|
reverse: e.reverse,
|
|
105
|
-
"show-
|
|
1059
|
+
"show-asterisk": w(Ue),
|
|
1060
|
+
"show-hint": tt.value,
|
|
106
1061
|
warnings: e.warnings
|
|
107
|
-
}, {
|
|
108
|
-
label:
|
|
109
|
-
input:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
"append:icon":
|
|
114
|
-
"
|
|
115
|
-
|
|
116
|
-
autofocus: e.autofocus,
|
|
117
|
-
clearable: e.clearable,
|
|
1062
|
+
}, w(M).forwardAttrs), _e({
|
|
1063
|
+
label: T((t) => [S(e.$slots, "label", y(_(t)))]),
|
|
1064
|
+
input: T(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [ve(de, {
|
|
1065
|
+
ref_key: "wrapper",
|
|
1066
|
+
ref: R,
|
|
1067
|
+
active: A.value,
|
|
1068
|
+
"append:icon": w(O)["append:icon"],
|
|
1069
|
+
class: be(["bb-date-picker-input__field", { "bb-date-picker-input__field--range": e.range }]),
|
|
1070
|
+
clearable: e.clearable && !w(t)(w(Ke)),
|
|
118
1071
|
compact: e.compact,
|
|
119
|
-
"disable-calendar": e.disableCalendar,
|
|
120
|
-
"disable-writing": e.disableWriting,
|
|
121
1072
|
disabled: e.disabled,
|
|
122
|
-
"
|
|
123
|
-
|
|
124
|
-
"has-
|
|
125
|
-
"has-warning": r,
|
|
1073
|
+
"has-errors": i,
|
|
1074
|
+
"has-value": j.value,
|
|
1075
|
+
"has-warnings": a,
|
|
126
1076
|
loading: e.loading,
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
"model-value": e.modelValue,
|
|
130
|
-
name: e.name,
|
|
131
|
-
"off-canvas-props": e.offCanvasProps,
|
|
132
|
-
placeholder: e.placeholder,
|
|
133
|
-
"prepend:icon": b["prepend:icon"],
|
|
134
|
-
range: e.range,
|
|
1077
|
+
passthrough: w(M),
|
|
1078
|
+
"prepend:icon": w(O)["prepend:icon"],
|
|
135
1079
|
readonly: e.readonly,
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
1080
|
+
variant: e.variant,
|
|
1081
|
+
"onClick:clear": jt,
|
|
1082
|
+
onFocusin: yt
|
|
1083
|
+
}, _e({
|
|
1084
|
+
"prepend:outer": T(() => [S(e.$slots, "prepend:outer")]),
|
|
1085
|
+
prepend: T(() => [S(e.$slots, "prepend")]),
|
|
1086
|
+
append: T(() => [lt.value ? m("", !0) : (b(), ge(ce, {
|
|
1087
|
+
key: 0,
|
|
1088
|
+
"active-segment": Et.value,
|
|
1089
|
+
adaptive: e.adaptive,
|
|
1090
|
+
ampm: e.ampm,
|
|
1091
|
+
anchor: R.value,
|
|
1092
|
+
disabled: e.disabled,
|
|
1093
|
+
"first-day-of-week": e.firstDayOfWeek,
|
|
1094
|
+
floating: e.floating,
|
|
1095
|
+
label: kt.value,
|
|
1096
|
+
max: e.max,
|
|
1097
|
+
min: e.min,
|
|
1098
|
+
"model-value": w(Ke),
|
|
1099
|
+
"off-canvas-props": e.offCanvasProps,
|
|
1100
|
+
pt: w(M).forward(rt, w(oe).states),
|
|
1101
|
+
range: e.range,
|
|
1102
|
+
readonly: e.readonly,
|
|
1103
|
+
seconds: e.seconds,
|
|
1104
|
+
selectable: e.selectable,
|
|
1105
|
+
step: e.step,
|
|
1106
|
+
time: e.time,
|
|
1107
|
+
"transition-duration": e.transitionDuration,
|
|
1108
|
+
type: e.type,
|
|
1109
|
+
utc: e.utc,
|
|
1110
|
+
onGridPick: St["onUpdate:modelValue"],
|
|
1111
|
+
onHidden: n[1] ||= (e) => w(k)("hidden"),
|
|
1112
|
+
onHide: et,
|
|
1113
|
+
onShow: $e,
|
|
1114
|
+
onShown: n[2] ||= (e) => w(k)("shown"),
|
|
1115
|
+
onTimePick: Dt
|
|
1116
|
+
}, _e({
|
|
1117
|
+
activator: T(({ props: t }) => [g("button", v({
|
|
1118
|
+
class: "bb-segmented-field__activator",
|
|
1119
|
+
disabled: e.disabled || e.readonly,
|
|
1120
|
+
type: "button"
|
|
1121
|
+
}, v(t, w(M).activator)), [ve(f, {
|
|
1122
|
+
class: "bb-segmented-field__trigger-icon",
|
|
1123
|
+
icon: w(pe)
|
|
1124
|
+
}, null, 8, ["icon"])], 16, Ie)]),
|
|
1125
|
+
day: T((t) => [S(e.$slots, "day", y(_(t)))]),
|
|
1126
|
+
"append:day": T((t) => [S(e.$slots, "append:day", y(_(t)))]),
|
|
1127
|
+
_: 2
|
|
1128
|
+
}, [we(Je(), (t) => ({
|
|
1129
|
+
name: t,
|
|
1130
|
+
fn: T((n) => [S(e.$slots, t, y(_(n)))])
|
|
1131
|
+
}))]), 1032, [
|
|
1132
|
+
"active-segment",
|
|
1133
|
+
"adaptive",
|
|
1134
|
+
"ampm",
|
|
1135
|
+
"anchor",
|
|
1136
|
+
"disabled",
|
|
1137
|
+
"first-day-of-week",
|
|
1138
|
+
"floating",
|
|
1139
|
+
"label",
|
|
1140
|
+
"max",
|
|
1141
|
+
"min",
|
|
1142
|
+
"model-value",
|
|
1143
|
+
"off-canvas-props",
|
|
1144
|
+
"pt",
|
|
1145
|
+
"range",
|
|
1146
|
+
"readonly",
|
|
1147
|
+
"seconds",
|
|
1148
|
+
"selectable",
|
|
1149
|
+
"step",
|
|
1150
|
+
"time",
|
|
1151
|
+
"transition-duration",
|
|
1152
|
+
"type",
|
|
1153
|
+
"utc",
|
|
1154
|
+
"onGridPick"
|
|
1155
|
+
])), S(e.$slots, "append", {}, () => [e.$slots.suffix ? (b(), h("span", v({
|
|
1156
|
+
key: 0,
|
|
1157
|
+
class: "bb-field-input__suffix"
|
|
1158
|
+
}, w(M).suffix), [S(e.$slots, "suffix")], 16)) : m("", !0)])]),
|
|
1159
|
+
"append:outer": T(() => [S(e.$slots, "append:outer")]),
|
|
1160
|
+
default: T(() => [g("div", {
|
|
1161
|
+
class: be(["bb-segmented-field__fields", {
|
|
1162
|
+
"bb-segmented-field__fields--empty": hn.value,
|
|
1163
|
+
"bb-segmented-field__fields--range": e.range
|
|
1164
|
+
}]),
|
|
1165
|
+
style: xe({ "--fields-min-ch": w(Wt) })
|
|
1166
|
+
}, [hn.value ? (b(), h("span", {
|
|
1167
|
+
key: 0,
|
|
1168
|
+
"aria-hidden": "true",
|
|
1169
|
+
class: "bb-segmented-field__placeholder",
|
|
1170
|
+
onClick: n[0] ||= (...e) => w(qt) && w(qt)(...e)
|
|
1171
|
+
}, C(mn.value), 1)) : m("", !0), (b(!0), h(he, null, we(K.value, (t, n) => (b(), h(he, { key: w(Ht)(t) }, [g("span", {
|
|
1172
|
+
class: "bb-segmented-field__field-sizer",
|
|
1173
|
+
"data-value": w(Ut)(t)
|
|
1174
|
+
}, [g("input", v({
|
|
1175
|
+
id: n === 0 ? r : en(t, r),
|
|
1176
|
+
ref_for: !0,
|
|
1177
|
+
ref: (e) => w(Vt)[w(Ht)(t)] = e,
|
|
1178
|
+
"aria-describedby": st(o, r),
|
|
1179
|
+
"aria-disabled": e.disabled || void 0,
|
|
1180
|
+
"aria-invalid": i ? "true" : void 0,
|
|
1181
|
+
"aria-label": rn(t),
|
|
1182
|
+
"aria-readonly": ut.value || void 0,
|
|
1183
|
+
autocomplete: e.autocomplete,
|
|
1184
|
+
autofocus: e.autofocus && n === 0,
|
|
1185
|
+
class: ["bb-segmented-field__input", [`bb-segmented-field__input--${t.field}`, `bb-segmented-field__input--${t.segment}`]],
|
|
1186
|
+
disabled: e.disabled,
|
|
1187
|
+
inputmode: dt(t.field),
|
|
1188
|
+
maxlength: zt.value[t.field].maxLength,
|
|
1189
|
+
name: tn(t),
|
|
1190
|
+
readonly: ut.value,
|
|
1191
|
+
required: w(Ge),
|
|
1192
|
+
tabindex: Rt(n) ? 0 : -1,
|
|
1193
|
+
type: "text",
|
|
1194
|
+
value: w(q)[t.segment][t.field],
|
|
1195
|
+
onBlur: (e) => w(Qt)(t),
|
|
1196
|
+
onFocus: (e) => Tt(t, e),
|
|
1197
|
+
onInput: (e) => w(Yt)(t, e),
|
|
1198
|
+
onKeydown: (e) => w(Xt)(t, e),
|
|
1199
|
+
onPaste: (e) => w($t)(t, e)
|
|
1200
|
+
}, v(w(M).controlAttrs, w(M).input)), null, 16, Pe)], 8, Ne), n < K.value.length - 1 ? (b(), h("span", {
|
|
1201
|
+
key: 0,
|
|
1202
|
+
"aria-hidden": "true",
|
|
1203
|
+
class: be(["bb-segmented-field__separator", { "bb-segmented-field__separator--range": K.value[n].segment !== K.value[n + 1].segment }]),
|
|
1204
|
+
role: "presentation",
|
|
1205
|
+
onClick: (e) => w(Kt)(K.value[n + 1], { select: !0 })
|
|
1206
|
+
}, C(Bt(K.value[n], K.value[n + 1])), 11, Fe)) : m("", !0)], 64))), 128))], 6), g("span", {
|
|
1207
|
+
id: ot(r),
|
|
1208
|
+
class: "bb-date-picker-input__accessible-description bb-sr-only"
|
|
1209
|
+
}, C(w(I)("datePickerInput.dateFormat")) + " " + C(pn.value), 9, Le)]),
|
|
153
1210
|
_: 2
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
1211
|
+
}, [e.$slots.prefix ? {
|
|
1212
|
+
name: "prefix",
|
|
1213
|
+
fn: T(() => [S(e.$slots, "prefix")]),
|
|
1214
|
+
key: "0"
|
|
1215
|
+
} : void 0]), 1032, [
|
|
1216
|
+
"active",
|
|
1217
|
+
"append:icon",
|
|
1218
|
+
"class",
|
|
1219
|
+
"clearable",
|
|
1220
|
+
"compact",
|
|
1221
|
+
"disabled",
|
|
1222
|
+
"has-errors",
|
|
1223
|
+
"has-value",
|
|
1224
|
+
"has-warnings",
|
|
1225
|
+
"loading",
|
|
1226
|
+
"passthrough",
|
|
1227
|
+
"prepend:icon",
|
|
1228
|
+
"readonly",
|
|
1229
|
+
"variant"
|
|
1230
|
+
])]),
|
|
1231
|
+
_: 2
|
|
1232
|
+
}, [e.$slots.description ? {
|
|
1233
|
+
name: "description",
|
|
1234
|
+
fn: T((t) => [S(e.$slots, "description", y(_(t)))]),
|
|
1235
|
+
key: "0"
|
|
1236
|
+
} : void 0]), 1040, [
|
|
157
1237
|
"id",
|
|
1238
|
+
"clearable",
|
|
158
1239
|
"compact",
|
|
159
1240
|
"description",
|
|
160
|
-
"
|
|
1241
|
+
"disabled",
|
|
161
1242
|
"errors",
|
|
162
1243
|
"has-errors",
|
|
163
1244
|
"has-value",
|
|
164
|
-
"has-
|
|
1245
|
+
"has-warnings",
|
|
165
1246
|
"hide-label",
|
|
166
1247
|
"hint",
|
|
167
1248
|
"label",
|
|
168
1249
|
"label-mode",
|
|
169
1250
|
"label-position",
|
|
170
|
-
"
|
|
1251
|
+
"layout",
|
|
1252
|
+
"loading",
|
|
171
1253
|
"name",
|
|
1254
|
+
"passthrough",
|
|
1255
|
+
"readonly",
|
|
172
1256
|
"reverse",
|
|
1257
|
+
"show-asterisk",
|
|
173
1258
|
"show-hint",
|
|
174
1259
|
"warnings"
|
|
175
1260
|
]));
|
|
176
1261
|
}
|
|
177
1262
|
});
|
|
178
1263
|
//#endregion
|
|
179
|
-
export {
|
|
1264
|
+
export { ze as default };
|