bitboss-ui 3.0.0-beta.68 → 3.0.0-beta.69
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 +229 -90
- package/bin/bitboss-ui-mcp.mjs +284 -126
- package/bin/bitboss-ui.mjs +24 -2077
- package/bin/cli.mjs +1922 -0
- package/dist/ai/BbAccordion.md +1 -1
- package/dist/ai/BbAlert.md +1 -1
- package/dist/ai/BbAvatar.md +1 -1
- package/dist/ai/BbBadge.md +1 -1
- package/dist/ai/BbBadgeButton.md +1 -1
- package/dist/ai/BbBaseButton.md +1 -1
- package/dist/ai/BbBreadcrumbs.md +1 -1
- package/dist/ai/BbButton.md +1 -1
- package/dist/ai/BbCalendar.md +14 -1
- package/dist/ai/BbCarousel.md +1093 -0
- package/dist/ai/BbCheckbox.md +7 -5
- package/dist/ai/BbCheckboxGroup.md +15 -9
- package/dist/ai/BbColorInput.md +6 -4
- package/dist/ai/BbColorPalette.md +4 -1
- package/dist/ai/BbConfirm.md +1 -1
- package/dist/ai/BbDatePicker.md +8 -2
- package/dist/ai/BbDatePickerInput.md +14 -4
- package/dist/ai/BbDialog.md +1 -1
- package/dist/ai/BbDropdown.md +10 -13
- package/dist/ai/BbDropdownButton.md +3 -3
- package/dist/ai/BbDropzone.md +4 -15
- package/dist/ai/BbForm.md +8 -4
- package/dist/ai/BbHost.md +1 -1
- package/dist/ai/BbHoverCard.md +2 -2
- package/dist/ai/BbNumberInput.md +4 -4
- package/dist/ai/BbOffCanvas.md +12 -8
- package/dist/ai/BbPagination.md +6 -5
- package/dist/ai/BbPopover.md +11 -4
- package/dist/ai/BbRadio.md +9 -7
- package/dist/ai/BbRadioGroup.md +11 -7
- package/dist/ai/BbRating.md +10 -8
- package/dist/ai/BbSelect.md +11 -11
- package/dist/ai/BbSelectPopover.md +6 -6
- package/dist/ai/BbSlider.md +9 -6
- package/dist/ai/BbSpinner.md +1 -1
- package/dist/ai/BbSwitch.md +8 -7
- package/dist/ai/BbSwitchGroup.md +7 -7
- package/dist/ai/BbTable.md +19 -21
- package/dist/ai/BbTabs.md +23 -26
- package/dist/ai/BbTabsList.md +4 -4
- package/dist/ai/BbTabsRoot.md +1 -1
- package/dist/ai/BbTag.md +4 -4
- package/dist/ai/BbTextInput.md +8 -6
- package/dist/ai/BbTextarea.md +6 -5
- package/dist/ai/BbTimePicker.md +2 -2
- package/dist/ai/BbTimePickerInput.md +4 -4
- package/dist/ai/BbToast.md +8 -3
- package/dist/ai/BbTooltip.md +5 -4
- package/dist/ai/BbTree.md +1 -1
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/ClearableButton.md +1 -1
- package/dist/ai/CommonField.md +5 -5
- package/dist/ai/CommonFieldInput.md +1 -1
- package/dist/ai/CommonPopover.md +4 -4
- package/dist/ai/CommonTimeSelector.md +1 -1
- package/dist/ai/ErrorIcon.md +1 -1
- package/dist/ai/FlatListBox.md +1 -1
- package/dist/ai/GroupedListBox.md +1 -1
- package/dist/ai/ListBox.md +1 -1
- package/dist/ai/OptionsContainer.md +3 -3
- package/dist/ai/WarningIcon.md +1 -1
- package/dist/ai/changelog.json +526 -10
- package/dist/ai/components.json +95 -232
- package/dist/ai/composables/useToast.md +15 -15
- package/dist/ai/guides/agent-contract.md +7 -2
- package/dist/ai/guides/ai-router.md +14 -9
- package/dist/ai/guides/calendars-and-digits.md +123 -0
- package/dist/ai/guides/component-picker.md +1 -1
- package/dist/ai/guides/design-language.md +1 -1
- package/dist/ai/guides/design-tokens.md +4 -1
- package/dist/ai/guides/eslint-rules.md +18 -1
- package/dist/ai/guides/inertia-helpers.md +322 -41
- package/dist/ai/guides/installation-and-plugin-setup.md +166 -31
- package/dist/ai/guides/migration/components/bb-rating.md +1 -1
- package/dist/ai/guides/migration/components/bb-table.md +1 -0
- package/dist/ai/guides/migration/components/bb-tabs.md +32 -14
- package/dist/ai/guides/migration/components/bb-toast.md +4 -3
- package/dist/ai/guides/migration/v2-to-v3.md +158 -24
- package/dist/ai/guides/migration/v3-beta-css-classes.md +1 -0
- package/dist/ai/guides/migration/v3-beta-tooling.md +28 -11
- package/dist/ai/guides/options-items-playbook.md +5 -1
- package/dist/ai/guides/passthrough.md +12 -6
- package/dist/ai/guides/ssr-prefill.md +7 -1
- package/dist/ai/guides/validated-forms.md +9 -0
- package/dist/ai/helpers/inertia/manifest.json +23 -14
- package/dist/ai/helpers/inertia/useQuery.ts +74 -0
- package/dist/ai/helpers/inertia/useQueryObject.ts +33 -1
- package/dist/ai/helpers/inertia/useRouteQuery.ts +158 -30
- package/dist/ai/index.md +2 -0
- package/dist/ai/manifest/common.json +7 -7
- package/dist/ai/manifest/components/BbAccordion.tree.json +22 -4
- package/dist/ai/manifest/components/BbAlert.tree.json +26 -3
- package/dist/ai/manifest/components/BbAsterisk.tree.json +7 -1
- package/dist/ai/manifest/components/BbAvatar.tree.json +16 -2
- package/dist/ai/manifest/components/BbBadge.json +1 -1
- package/dist/ai/manifest/components/BbBadge.tree.json +39 -4
- package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -2
- package/dist/ai/manifest/components/BbBaseButton.tree.json +16 -1
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +18 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +14 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +17 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.json +1 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +34 -4
- package/dist/ai/manifest/components/BbButton.json +1 -1
- package/dist/ai/manifest/components/BbButton.tree.json +75 -4
- package/dist/ai/manifest/components/BbCalendar.json +2 -2
- package/dist/ai/manifest/components/BbCalendar.tree.json +81 -6
- package/dist/ai/manifest/components/BbCarousel.json +59 -0
- package/dist/ai/manifest/components/BbCarousel.tree.json +135 -0
- package/dist/ai/manifest/components/BbCheckbox.json +1 -1
- package/dist/ai/manifest/components/BbCheckbox.tree.json +31 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.json +3 -3
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +65 -2
- package/dist/ai/manifest/components/BbCollapsible.tree.json +11 -1
- package/dist/ai/manifest/components/BbColorInput.json +2 -2
- package/dist/ai/manifest/components/BbColorInput.tree.json +47 -3
- package/dist/ai/manifest/components/BbColorPalette.json +2 -2
- package/dist/ai/manifest/components/BbColorPalette.tree.json +36 -3
- package/dist/ai/manifest/components/BbConfigScope.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.tree.json +27 -3
- package/dist/ai/manifest/components/BbDatePicker.json +5 -5
- package/dist/ai/manifest/components/BbDatePicker.tree.json +42 -3
- package/dist/ai/manifest/components/BbDatePickerInput.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +83 -4
- package/dist/ai/manifest/components/BbDialog.tree.json +28 -3
- package/dist/ai/manifest/components/BbDropdown.json +8 -7
- package/dist/ai/manifest/components/BbDropdown.tree.json +80 -3
- package/dist/ai/manifest/components/BbDropdownButton.json +4 -4
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +46 -3
- package/dist/ai/manifest/components/BbDropzone.json +1 -1
- package/dist/ai/manifest/components/BbDropzone.tree.json +27 -1
- package/dist/ai/manifest/components/BbForm.json +1 -1
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +3 -3
- package/dist/ai/manifest/components/BbHoverCard.tree.json +18 -1
- package/dist/ai/manifest/components/BbIcon.tree.json +7 -1
- package/dist/ai/manifest/components/BbIndicator.tree.json +27 -1
- package/dist/ai/manifest/components/BbNumberInput.json +2 -2
- package/dist/ai/manifest/components/BbNumberInput.tree.json +38 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +55 -2
- package/dist/ai/manifest/components/BbPagination.json +1 -1
- package/dist/ai/manifest/components/BbPagination.tree.json +22 -3
- package/dist/ai/manifest/components/BbPopover.json +3 -3
- package/dist/ai/manifest/components/BbPopover.tree.json +20 -2
- package/dist/ai/manifest/components/BbProgress.tree.json +9 -1
- package/dist/ai/manifest/components/BbRadio.tree.json +30 -2
- package/dist/ai/manifest/components/BbRadioGroup.json +3 -3
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +64 -2
- package/dist/ai/manifest/components/BbRating.json +4 -4
- package/dist/ai/manifest/components/BbRating.removed.json +1 -0
- package/dist/ai/manifest/components/BbRating.tree.json +37 -2
- package/dist/ai/manifest/components/BbSelect.json +3 -3
- package/dist/ai/manifest/components/BbSelect.tree.json +65 -4
- package/dist/ai/manifest/components/BbSelectPopover.json +8 -6
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +91 -8
- package/dist/ai/manifest/components/BbSlider.json +13 -12
- package/dist/ai/manifest/components/BbSlider.tree.json +44 -1
- package/dist/ai/manifest/components/BbSmoothHeight.tree.json +10 -1
- package/dist/ai/manifest/components/BbSpinner.tree.json +21 -2
- package/dist/ai/manifest/components/BbSwitch.json +2 -2
- package/dist/ai/manifest/components/BbSwitch.tree.json +31 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +4 -4
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +60 -2
- package/dist/ai/manifest/components/BbTable.json +8 -8
- package/dist/ai/manifest/components/BbTable.tree.json +142 -4
- package/dist/ai/manifest/components/BbTabs.json +4 -4
- package/dist/ai/manifest/components/BbTabs.removed.json +5 -1
- package/dist/ai/manifest/components/BbTabs.tree.json +34 -3
- package/dist/ai/manifest/components/BbTabsList.json +4 -4
- package/dist/ai/manifest/components/BbTabsList.removed.json +5 -1
- package/dist/ai/manifest/components/BbTabsList.tree.json +24 -2
- package/dist/ai/manifest/components/BbTabsPanels.tree.json +16 -1
- package/dist/ai/manifest/components/BbTabsRoot.json +1 -1
- package/dist/ai/manifest/components/BbTag.json +2 -2
- package/dist/ai/manifest/components/BbTag.tree.json +47 -3
- package/dist/ai/manifest/components/BbTextInput.json +2 -2
- package/dist/ai/manifest/components/BbTextInput.tree.json +41 -2
- package/dist/ai/manifest/components/BbTextarea.json +2 -2
- package/dist/ai/manifest/components/BbTextarea.tree.json +44 -2
- package/dist/ai/manifest/components/BbTimePicker.json +5 -5
- package/dist/ai/manifest/components/BbTimePicker.tree.json +30 -3
- package/dist/ai/manifest/components/BbTimePickerInput.json +2 -2
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +55 -5
- package/dist/ai/manifest/components/BbToast.json +1 -1
- package/dist/ai/manifest/components/BbToast.tree.json +41 -2
- package/dist/ai/manifest/components/BbTooltip.json +3 -3
- package/dist/ai/manifest/components/BbTooltip.tree.json +17 -1
- package/dist/ai/manifest/components/BbTree.tree.json +14 -1
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/ClearableButton.tree.json +8 -2
- package/dist/ai/manifest/components/CommonField.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +68 -1
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +36 -6
- package/dist/ai/manifest/components/CommonPopover.json +7 -5
- package/dist/ai/manifest/components/CommonPopover.tree.json +11 -1
- package/dist/ai/manifest/components/CommonTimeSelector.tree.json +18 -2
- package/dist/ai/manifest/components/ErrorIcon.tree.json +8 -2
- package/dist/ai/manifest/components/FlatListBox.tree.json +2 -2
- package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -2
- package/dist/ai/manifest/components/ListBox.tree.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +2 -2
- package/dist/ai/manifest/components/WarningIcon.tree.json +8 -2
- package/dist/ai/manifest/index.json +5 -4
- package/dist/ai/manifest/meta.json +8 -147
- package/dist/ai/manifest/types.advanced.json +78 -76
- package/dist/ai/manifest/types.api.json +17 -16
- package/dist/ai/manifest/types.wrapper.json +115 -112
- package/dist/ai/recipes/inertia/approvals-inbox.md +8 -8
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +11 -11
- package/dist/ai/recipes/inertia/onboarding.md +8 -8
- package/dist/ai/recipes/inertia/ownership-atlas.md +6 -6
- package/dist/ai/recipes/inertia/record-form.md +14 -14
- package/dist/ai/recipes/inertia/records-workspace.md +11 -10
- package/dist/ai/recipes/inertia/settings-workspace.md +11 -11
- package/dist/ai/recipes/inertia/upload-center.md +10 -10
- package/dist/ai/recipes/inertia/wizard-form.md +14 -14
- package/dist/ai/recipes/nuxt/approvals-inbox.md +11 -11
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -13
- package/dist/ai/recipes/nuxt/onboarding.md +8 -8
- package/dist/ai/recipes/nuxt/ownership-atlas.md +10 -10
- package/dist/ai/recipes/nuxt/record-form.md +14 -14
- package/dist/ai/recipes/nuxt/records-workspace.md +14 -13
- package/dist/ai/recipes/nuxt/settings-workspace.md +10 -10
- package/dist/ai/recipes/nuxt/upload-center.md +11 -11
- package/dist/ai/recipes/nuxt/wizard-form.md +15 -15
- package/dist/ai/recipes/vue/approvals-inbox.md +13 -11
- package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -13
- package/dist/ai/recipes/vue/onboarding.md +14 -9
- package/dist/ai/recipes/vue/ownership-atlas.md +10 -10
- package/dist/ai/recipes/vue/record-form.md +16 -14
- package/dist/ai/recipes/vue/records-workspace.md +16 -13
- package/dist/ai/recipes/vue/settings-workspace.md +13 -11
- package/dist/ai/recipes/vue/upload-center.md +11 -11
- package/dist/ai/recipes/vue/wizard-form.md +16 -14
- package/dist/ai/source/BbAccordion.md +11 -14
- package/dist/ai/source/BbAlert.md +95 -89
- package/dist/ai/source/BbAsterisk.md +6 -7
- package/dist/ai/source/BbAvatar.md +37 -37
- package/dist/ai/source/BbBadge.md +85 -81
- package/dist/ai/source/BbBadgeButton.md +80 -76
- package/dist/ai/source/BbBaseButton.md +284 -276
- package/dist/ai/source/BbBaseCheckboxIcon.md +69 -63
- package/dist/ai/source/BbBaseRadioIcon.md +63 -57
- package/dist/ai/source/BbBaseSwitchIcon.md +84 -65
- package/dist/ai/source/BbBreadcrumbs.md +76 -63
- package/dist/ai/source/BbButton.md +63 -55
- package/dist/ai/source/BbCalendar.md +161 -146
- package/dist/ai/source/BbCarousel.md +2897 -0
- package/dist/ai/source/BbCheckbox.md +211 -186
- package/dist/ai/source/BbCheckboxGroup.md +108 -54
- package/dist/ai/source/BbCollapsible.md +7 -10
- package/dist/ai/source/BbColorInput.md +233 -227
- package/dist/ai/source/BbColorPalette.md +218 -140
- package/dist/ai/source/BbConfirm.md +33 -29
- package/dist/ai/source/BbConfirmPortal.md +30 -26
- package/dist/ai/source/BbDatePicker.md +202 -181
- package/dist/ai/source/BbDatePickerInput.md +751 -407
- package/dist/ai/source/BbDialog.md +187 -181
- package/dist/ai/source/BbDropdown.md +274 -218
- package/dist/ai/source/BbDropdownButton.md +50 -45
- package/dist/ai/source/BbDropdownGroup.md +242 -210
- package/dist/ai/source/BbDropzone.md +101 -100
- package/dist/ai/source/BbForm.md +28 -28
- package/dist/ai/source/BbHost.md +2 -2
- package/dist/ai/source/BbHoverCard.md +28 -18
- package/dist/ai/source/BbHoverCardPortal.md +9 -12
- package/dist/ai/source/BbIcon.md +27 -26
- package/dist/ai/source/BbIndicator.md +76 -70
- package/dist/ai/source/BbNumberInput.md +300 -293
- package/dist/ai/source/BbOffCanvas.md +236 -214
- package/dist/ai/source/BbPagination.md +134 -98
- package/dist/ai/source/BbPopover.md +32 -22
- package/dist/ai/source/BbPopoverPortal.md +9 -12
- package/dist/ai/source/BbProgress.md +20 -12
- package/dist/ai/source/BbRadio.md +188 -175
- package/dist/ai/source/BbRadioGroup.md +407 -350
- package/dist/ai/source/BbRating.md +192 -167
- package/dist/ai/source/BbSelect.md +474 -461
- package/dist/ai/source/BbSelectPopover.md +426 -385
- package/dist/ai/source/BbSlider.md +333 -266
- package/dist/ai/source/BbSmoothHeight.md +8 -9
- package/dist/ai/source/BbSpinner.md +20 -20
- package/dist/ai/source/BbSwitch.md +25 -13
- package/dist/ai/source/BbSwitchGroup.md +88 -26
- package/dist/ai/source/BbTable.md +560 -501
- package/dist/ai/source/BbTabs.md +129 -114
- package/dist/ai/source/BbTabsList.md +163 -135
- package/dist/ai/source/BbTabsPanels.md +127 -112
- package/dist/ai/source/BbTabsRoot.md +124 -109
- package/dist/ai/source/BbTag.md +264 -266
- package/dist/ai/source/BbTextInput.md +31 -25
- package/dist/ai/source/BbTextarea.md +33 -27
- package/dist/ai/source/BbTimePicker.md +128 -121
- package/dist/ai/source/BbTimePickerInput.md +356 -302
- package/dist/ai/source/BbToast.md +80 -36
- package/dist/ai/source/BbToastPortal.md +42 -30
- package/dist/ai/source/BbTooltip.md +154 -128
- package/dist/ai/source/BbTree.md +16 -12
- package/dist/ai/source/CommonField.md +94 -59
- package/dist/ai/source/CommonFieldInput.md +9 -9
- package/dist/ai/source/CommonPopover.md +28 -9
- package/dist/ai/source/CommonTimeSelector.md +41 -8
- package/dist/ai/source/FlatListBox.md +5 -4
- package/dist/ai/source/GroupedListBox.md +6 -5
- package/dist/ai/source/ListBox.md +1 -0
- package/dist/ai/source/OptionsContainer.md +39 -8
- package/dist/assets/svgs/chevron_left.svg_raw.js +3 -0
- package/dist/assets/svgs/pause.svg_raw.js +3 -0
- package/dist/assets/svgs/play.svg_raw.js +3 -0
- package/dist/assets/svgs/star.svg_raw.js +1 -1
- package/dist/calendar-runtime.js +112 -0
- package/dist/calendars.js +83 -0
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -2
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbAccordion/ptKeys.generated.d.ts +44 -0
- package/dist/components/BbAccordion/types.d.ts +5 -6
- package/dist/components/BbAlert/BbAlert.vue.d.ts +4 -4
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbAlert/ptKeys.generated.d.ts +104 -0
- package/dist/components/BbAlert/types.d.ts +15 -8
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +2 -2
- package/dist/components/BbAsterisk/ptKeys.generated.d.ts +8 -0
- package/dist/components/BbAsterisk/types.d.ts +4 -5
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -3
- package/dist/components/BbAvatar/ptKeys.generated.d.ts +12 -0
- package/dist/components/BbAvatar/types.d.ts +5 -6
- package/dist/components/BbBadge/BbBadge.vue.d.ts +4 -4
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +15 -15
- package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +2 -2
- package/dist/components/BbBadge/badgeButtonContext.d.ts +5 -5
- package/dist/components/BbBadge/ptKeys.generated.d.ts +160 -0
- package/dist/components/BbBadge/types.d.ts +16 -9
- package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +2 -2
- package/dist/components/BbBaseButton/ptKeys.generated.d.ts +20 -0
- package/dist/components/BbBaseButton/types.d.ts +13 -6
- package/dist/components/BbBaseButton/useLinkState.d.ts +1 -1
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +2 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbBaseCheckboxIcon/ptKeys.generated.d.ts +40 -0
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +12 -6
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +2 -2
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbBaseRadioIcon/ptKeys.generated.d.ts +36 -0
- package/dist/components/BbBaseRadioIcon/types.d.ts +12 -6
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +2 -2
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbBaseSwitchIcon/ptKeys.generated.d.ts +40 -0
- package/dist/components/BbBaseSwitchIcon/types.d.ts +12 -6
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +2 -2
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/BbBreadcrumbs/ptKeys.generated.d.ts +48 -0
- package/dist/components/BbBreadcrumbs/types.d.ts +15 -8
- package/dist/components/BbButton/BbButton.vue.d.ts +4 -4
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +20 -20
- package/dist/components/BbButton/ptKeys.generated.d.ts +196 -0
- package/dist/components/BbButton/toggleRoving.js +29 -28
- package/dist/components/BbButton/types.d.ts +17 -11
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +9 -71
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +34 -32
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +67 -65
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +76 -67
- package/dist/components/BbCalendar/calendarHost.d.ts +1 -1
- package/dist/components/BbCalendar/calendarMath.d.ts +102 -0
- package/dist/components/BbCalendar/calendarMath.js +124 -0
- package/dist/components/BbCalendar/ptKeys.generated.d.ts +248 -0
- package/dist/components/BbCalendar/types.d.ts +15 -9
- package/dist/components/BbCalendar/useCalendarContext.d.ts +43 -17
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +71 -4
- package/dist/components/BbCalendar/useCalendarGrid.js +264 -210
- package/dist/components/BbCalendar/useDayGrid.d.ts +26 -8
- package/dist/components/BbCalendar/useDayGrid.js +178 -172
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +18 -3
- package/dist/components/BbCalendar/useDayjsLocale.js +28 -28
- package/dist/components/BbCalendar/useToday.d.ts +5 -3
- package/dist/components/BbCalendar/useToday.js +22 -12
- package/dist/components/BbCarousel/BbCarousel.vue.d.ts +51 -0
- package/dist/components/BbCarousel/BbCarousel.vue.js +5 -0
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +818 -0
- package/dist/components/BbCarousel/ptKeys.generated.d.ts +60 -0
- package/dist/components/BbCarousel/types.d.ts +213 -0
- package/dist/components/BbCarousel/types.js +27 -0
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -4
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +30 -30
- package/dist/components/BbCheckbox/ptKeys.generated.d.ts +220 -0
- package/dist/components/BbCheckbox/types.d.ts +30 -14
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +164 -326
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +50 -50
- package/dist/components/BbCheckboxGroup/ptKeys.generated.d.ts +492 -0
- package/dist/components/BbCheckboxGroup/types.d.ts +32 -23
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +3 -3
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbCollapsible/ptKeys.generated.d.ts +20 -0
- package/dist/components/BbCollapsible/types.d.ts +5 -6
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +3 -3
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +124 -124
- package/dist/components/BbColorInput/ptKeys.generated.d.ts +656 -0
- package/dist/components/BbColorInput/types.d.ts +24 -14
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +324 -287
- package/dist/components/BbColorPalette/ptKeys.generated.d.ts +40 -0
- package/dist/components/BbColorPalette/types.d.ts +15 -8
- package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +1 -1
- package/dist/components/BbConfigScope/types.d.ts +1 -1
- package/dist/components/BbConfirm/BbConfirm.vue.d.ts +1 -1
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +24 -24
- package/dist/components/BbConfirm/BbConfirmPortal.vue.d.ts +1 -1
- package/dist/components/BbConfirm/confirmEntry.d.ts +2 -2
- package/dist/components/BbConfirm/ptKeys.generated.d.ts +184 -0
- package/dist/components/BbConfirm/types.d.ts +14 -7
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +16 -97
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +208 -205
- package/dist/components/BbDatePicker/ptKeys.generated.d.ts +324 -0
- package/dist/components/BbDatePicker/types.d.ts +20 -13
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +17 -306
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +696 -579
- package/dist/components/BbDatePickerInput/calendarFields.d.ts +91 -0
- package/dist/components/BbDatePickerInput/calendarFields.js +188 -0
- package/dist/components/BbDatePickerInput/dateFieldLayout.d.ts +6 -0
- package/dist/components/BbDatePickerInput/dateFieldLayout.js +11 -1
- package/dist/components/BbDatePickerInput/ptKeys.generated.d.ts +1156 -0
- package/dist/components/BbDatePickerInput/types.d.ts +30 -20
- package/dist/components/BbDialog/BbDialog.vue.d.ts +6 -6
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +7 -7
- package/dist/components/BbDialog/ptKeys.generated.d.ts +100 -0
- package/dist/components/BbDialog/types.d.ts +24 -18
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +1 -1
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -3
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +333 -327
- package/dist/components/BbDropdown/BbDropdownGroup.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -1
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +278 -277
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +2 -2
- package/dist/components/BbDropdown/normalizeGroups.d.ts +2 -2
- package/dist/components/BbDropdown/ptKeys.generated.d.ts +228 -0
- package/dist/components/BbDropdown/types.d.ts +40 -35
- package/dist/components/BbDropdown/useDropdownContext.d.ts +2 -2
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +5 -5
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -4
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +84 -84
- package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +616 -0
- package/dist/components/BbDropdownButton/types.d.ts +17 -10
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +6 -25
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/BbDropzone/ptKeys.generated.d.ts +76 -0
- package/dist/components/BbDropzone/types.d.ts +15 -8
- package/dist/components/BbForm/BbForm.vue.d.ts +3 -3
- package/dist/components/BbForm/BbFormCustomField.d.ts +1 -1
- package/dist/components/BbForm/bindFormField.d.ts +4 -4
- package/dist/components/BbForm/formFields.d.ts +5 -5
- package/dist/components/BbForm/formSchema.d.ts +4 -4
- package/dist/components/BbHost/BbHost.vue.d.ts +1 -1
- package/dist/components/BbHost/BbHostOpening.d.ts +3 -3
- package/dist/components/BbHost/types.d.ts +1 -1
- package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +3 -3
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +150 -144
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue.d.ts +1 -1
- package/dist/components/BbHoverCard/ptKeys.generated.d.ts +44 -0
- package/dist/components/BbHoverCard/types.d.ts +8 -9
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -3
- package/dist/components/BbIcon/ptKeys.generated.d.ts +8 -0
- package/dist/components/BbIcon/types.d.ts +7 -8
- package/dist/components/BbIndicator/BbIndicator.vue.d.ts +4 -4
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbIndicator/ptKeys.generated.d.ts +52 -0
- package/dist/components/BbIndicator/types.d.ts +14 -7
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +3 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +79 -79
- package/dist/components/BbNumberInput/numberDisplay.d.ts +10 -11
- package/dist/components/BbNumberInput/ptKeys.generated.d.ts +476 -0
- package/dist/components/BbNumberInput/types.d.ts +23 -13
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +7 -7
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +407 -406
- package/dist/components/BbOffCanvas/ptKeys.generated.d.ts +88 -0
- package/dist/components/BbOffCanvas/sheetAttrs.d.ts +1 -1
- package/dist/components/BbOffCanvas/sheetSnap.d.ts +2 -2
- package/dist/components/BbOffCanvas/types.d.ts +30 -23
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue.d.ts +3 -3
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/components/BbPagination/paginationFit.d.ts +1 -1
- package/dist/components/BbPagination/ptKeys.generated.d.ts +48 -0
- package/dist/components/BbPagination/types.d.ts +16 -8
- package/dist/components/BbPopover/BbPopover.vue.d.ts +3 -3
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +119 -113
- package/dist/components/BbPopover/BbPopoverPortal.vue.d.ts +1 -1
- package/dist/components/BbPopover/ptKeys.generated.d.ts +52 -0
- package/dist/components/BbPopover/types.d.ts +8 -9
- package/dist/components/BbProgress/BbProgress.vue.d.ts +2 -2
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbProgress/ptKeys.generated.d.ts +20 -0
- package/dist/components/BbProgress/types.d.ts +4 -5
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -4
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +30 -30
- package/dist/components/BbRadio/ptKeys.generated.d.ts +196 -0
- package/dist/components/BbRadio/types.d.ts +24 -13
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +148 -267
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +44 -44
- package/dist/components/BbRadioGroup/ptKeys.generated.d.ts +492 -0
- package/dist/components/BbRadioGroup/types.d.ts +30 -19
- package/dist/components/BbRating/BbRating.vue.d.ts +3 -3
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +107 -107
- package/dist/components/BbRating/ptKeys.generated.d.ts +152 -0
- package/dist/components/BbRating/types.d.ts +31 -20
- package/dist/components/BbRating/types.js +1 -1
- package/dist/components/BbSelect/BbSelect.vue.d.ts +264 -497
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +190 -190
- package/dist/components/BbSelect/ptKeys.generated.d.ts +960 -0
- package/dist/components/BbSelect/types.d.ts +29 -20
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +19 -51
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +518 -512
- package/dist/components/BbSelectPopover/knownItems.d.ts +4 -4
- package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +148 -0
- package/dist/components/BbSelectPopover/reclickClears.d.ts +1 -1
- package/dist/components/BbSelectPopover/sheetChipAttrs.d.ts +1 -1
- package/dist/components/BbSelectPopover/types.d.ts +23 -15
- package/dist/components/BbSlider/BbSlider.vue.d.ts +14 -80
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +286 -270
- package/dist/components/BbSlider/ptKeys.generated.d.ts +316 -0
- package/dist/components/BbSlider/types.d.ts +28 -16
- package/dist/components/BbSlider/types.js +2 -0
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -3
- package/dist/components/BbSmoothHeight/ptKeys.generated.d.ts +8 -0
- package/dist/components/BbSmoothHeight/types.d.ts +5 -6
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -3
- package/dist/components/BbSpinner/ptKeys.generated.d.ts +8 -0
- package/dist/components/BbSpinner/types.d.ts +5 -6
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +4 -4
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +30 -30
- package/dist/components/BbSwitch/ptKeys.generated.d.ts +220 -0
- package/dist/components/BbSwitch/types.d.ts +15 -5
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +35 -114
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +10 -10
- package/dist/components/BbSwitchGroup/ptKeys.generated.d.ts +332 -0
- package/dist/components/BbSwitchGroup/types.d.ts +14 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +10 -10
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1274 -1273
- package/dist/components/BbTable/BbTableDataRow.d.ts +4 -4
- package/dist/components/BbTable/BbTableEdgeRow.d.ts +5 -5
- package/dist/components/BbTable/BbTableExpandRow.d.ts +2 -2
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +2 -2
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +1 -1
- package/dist/components/BbTable/gridWidgets.d.ts +1 -1
- package/dist/components/BbTable/measuredFloors.d.ts +1 -1
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +1 -1
- package/dist/components/BbTable/ptKeys.generated.d.ts +280 -0
- package/dist/components/BbTable/types.d.ts +30 -22
- package/dist/components/BbTable/utils.d.ts +5 -5
- package/dist/components/BbTable/utils.js +89 -88
- package/dist/components/BbTabs/BbTabs.vue.d.ts +41 -69
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +3 -3
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +121 -122
- package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +3 -3
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbTabs/BbTabsRoot.vue.d.ts +2 -2
- package/dist/components/BbTabs/ptKeys.generated.d.ts +226 -0
- package/dist/components/BbTabs/types.d.ts +40 -22
- package/dist/components/BbTag/BbTag.vue.d.ts +3 -3
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +261 -262
- package/dist/components/BbTag/ptKeys.generated.d.ts +540 -0
- package/dist/components/BbTag/types.d.ts +23 -13
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +14 -166
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +110 -110
- package/dist/components/BbTextInput/ptKeys.generated.d.ts +608 -0
- package/dist/components/BbTextInput/types.d.ts +23 -14
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +14 -166
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +110 -110
- package/dist/components/BbTextarea/ptKeys.generated.d.ts +608 -0
- package/dist/components/BbTextarea/types.d.ts +23 -14
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +13 -33
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +6 -6
- package/dist/components/BbTimePicker/ptKeys.generated.d.ts +80 -0
- package/dist/components/BbTimePicker/types.d.ts +17 -11
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +15 -198
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +398 -387
- package/dist/components/BbTimePickerInput/ptKeys.generated.d.ts +732 -0
- package/dist/components/BbTimePickerInput/types.d.ts +29 -17
- package/dist/components/BbToast/BbToast.vue.d.ts +2 -2
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +59 -52
- package/dist/components/BbToast/BbToastMessage.vue.d.ts +2 -2
- package/dist/components/BbToast/BbToastPortal.vue.d.ts +1 -1
- package/dist/components/BbToast/BbToastRegion.vue.d.ts +5 -3
- package/dist/components/BbToast/ptKeys.generated.d.ts +232 -0
- package/dist/components/BbToast/types.d.ts +20 -11
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +4 -4
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +99 -88
- package/dist/components/BbTooltip/ptKeys.generated.d.ts +36 -0
- package/dist/components/BbTooltip/tooltipWarmup.d.ts +2 -2
- package/dist/components/BbTooltip/types.d.ts +15 -8
- package/dist/components/BbTree/BbTree.vue.d.ts +7 -11
- package/dist/components/BbTree/BbTreeLevel.vue.d.ts +1 -1
- package/dist/components/BbTree/context.d.ts +2 -2
- package/dist/components/BbTree/ptKeys.generated.d.ts +16 -0
- package/dist/components/BbTree/types.d.ts +5 -6
- package/dist/components/ChipsBox/ChipsBox.vue.d.ts +2 -2
- package/dist/components/ChipsBox/types.d.ts +2 -2
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +2 -2
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +2 -2
- package/dist/components/CommaBox/CommaBox.vue.d.ts +2 -2
- package/dist/components/CommaBox/types.d.ts +2 -2
- package/dist/components/CommonField/CommonField.vue.d.ts +7 -7
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +9 -4
- package/dist/components/CommonField/messageHeightMatrix.d.ts +1 -1
- package/dist/components/CommonField/types.d.ts +18 -14
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +3 -3
- package/dist/components/CommonFieldInput/types.d.ts +3 -3
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +4 -4
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +56 -55
- package/dist/components/CommonPopover/resolvePlacement.d.ts +9 -0
- package/dist/components/CommonPopover/resolvePlacement.js +9 -0
- package/dist/components/CommonPopover/types.d.ts +5 -5
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.d.ts +2 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +110 -99
- package/dist/components/CommonTimeSelector/useMeridiem.d.ts +1 -1
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +2 -2
- package/dist/components/FlatListBox/FlatListBox.vue.d.ts +2 -2
- package/dist/components/FlatListBox/types.d.ts +2 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue.d.ts +2 -2
- package/dist/components/GroupedListBox/types.d.ts +2 -2
- package/dist/components/ListBox/ListBox.vue.d.ts +2 -2
- package/dist/components/ListBox/types.d.ts +2 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +55 -41
- package/dist/components/OptionsContainer/types.d.ts +3 -3
- package/dist/components/Transitions/Slide.vue.d.ts +5 -3
- package/dist/components/Transitions/Slide.vue.js +1 -1
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +2 -2
- package/dist/composables/autoHost.d.ts +1 -1
- package/dist/composables/formSubmitLock.d.ts +5 -5
- package/dist/composables/hostOpenings.d.ts +6 -6
- package/dist/composables/hostRegistry.d.ts +2 -2
- package/dist/composables/overlayRegistry.d.ts +25 -25
- package/dist/composables/overlayRegistry.js +13 -7
- package/dist/composables/useBaseOptions.d.ts +2 -2
- package/dist/composables/useBbConfig.d.ts +5 -5
- package/dist/composables/useBbDialog.d.ts +17 -17
- package/dist/composables/useBbDialog.js +2 -1
- package/dist/composables/useBbDropdown.d.ts +1 -1
- package/dist/composables/useBbForm.d.ts +2 -2
- package/dist/composables/useBbFormField.d.ts +4 -4
- package/dist/composables/useBbOffCanvas.d.ts +6 -6
- package/dist/composables/useBbTable.d.ts +4 -4
- package/dist/composables/useBbTabs.d.ts +4 -4
- package/dist/composables/useBbTabs.js +44 -43
- package/dist/composables/useBreakpoint.d.ts +1 -1
- package/dist/composables/useCharacterCounter.d.ts +2 -2
- package/dist/composables/useChoiceIndicator.d.ts +2 -2
- package/dist/composables/useClosingInert.d.ts +1 -1
- package/dist/composables/useConfig.d.ts +3 -3
- package/dist/composables/useConfigDefaults.d.ts +3 -3
- package/dist/composables/useConfirm.d.ts +11 -11
- package/dist/composables/useDirection.d.ts +43 -0
- package/dist/composables/useDirection.js +12 -0
- package/dist/composables/useFormBinding.d.ts +4 -4
- package/dist/composables/useId.d.ts +1 -1
- package/dist/composables/useItemsGetter.d.ts +3 -3
- package/dist/composables/useKeyboardInset.d.ts +1 -1
- package/dist/composables/useListboxFocus.d.ts +1 -1
- package/dist/composables/useLocale.d.ts +2 -2
- package/dist/composables/useOnDemandOpener.d.ts +3 -3
- package/dist/composables/useOverlayNavigation.d.ts +1 -1
- package/dist/composables/useOverlayYield.d.ts +1 -1
- package/dist/composables/usePassthrough.d.ts +6 -6
- package/dist/composables/useQuery.d.ts +1 -1
- package/dist/composables/useRefusedCloseAnnouncement.d.ts +1 -1
- package/dist/composables/useSafeArea.d.ts +1 -1
- package/dist/composables/useSafeAreaInternal.d.ts +1 -1
- package/dist/composables/useSegmentedFields.d.ts +25 -0
- package/dist/composables/useSegmentedFields.js +165 -115
- package/dist/composables/useServerPrefetch.d.ts +2 -2
- package/dist/composables/useSheetSurface.d.ts +1 -1
- package/dist/composables/useSsrState.d.ts +2 -2
- package/dist/composables/useToast.d.ts +8 -1
- package/dist/composables/useToast.js +39 -35
- package/dist/composables/useTypeahead.js +22 -21
- package/dist/deprecation/ai-deprecations.json.d.ts +116 -0
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/deprecation/removedProps.d.ts +1 -1
- package/dist/directives/bbColor.d.ts +1 -1
- package/dist/directives/bbDate.d.ts +1 -1
- package/dist/directives/bbDialog.d.ts +3 -3
- package/dist/directives/bbDropdown.d.ts +1 -1
- package/dist/directives/bbHoverCard.d.ts +3 -3
- package/dist/directives/bbOffCanvas.d.ts +2 -2
- package/dist/directives/bbPopover.d.ts +3 -3
- package/dist/directives/bbTime.d.ts +1 -1
- package/dist/directives/bbTooltip.d.ts +4 -4
- package/dist/directives/directivePortal.d.ts +4 -4
- package/dist/directives/overlayTrigger.d.ts +4 -4
- package/dist/directives/overlayTrigger.js +2 -1
- package/dist/i18n/eraNames.d.ts +2 -0
- package/dist/i18n/eraNames.js +2013 -0
- package/dist/i18n/index.d.ts +9 -7
- package/dist/i18n/localeTags.d.ts +36 -0
- package/dist/i18n/locales/ar.json +176 -0
- package/dist/i18n/locales/cs.json +21 -2
- package/dist/i18n/locales/da.json +21 -2
- package/dist/i18n/locales/de-CH.json +21 -2
- package/dist/i18n/locales/de.json +21 -2
- package/dist/i18n/locales/el.json +21 -2
- package/dist/i18n/locales/en-GB.json +21 -2
- package/dist/i18n/locales/en.json +21 -2
- package/dist/i18n/locales/es-MX.json +21 -2
- package/dist/i18n/locales/es.json +21 -2
- package/dist/i18n/locales/fa.json +176 -0
- package/dist/i18n/locales/fi.json +21 -2
- package/dist/i18n/locales/fr.json +21 -2
- package/dist/i18n/locales/he.json +176 -0
- package/dist/i18n/locales/hu.json +21 -2
- package/dist/i18n/locales/it.json +21 -2
- package/dist/i18n/locales/ja.json +21 -2
- package/dist/i18n/locales/ko.json +21 -2
- package/dist/i18n/locales/nb.json +21 -2
- package/dist/i18n/locales/nl.json +21 -2
- package/dist/i18n/locales/pl.json +21 -2
- package/dist/i18n/locales/pt-BR.json +21 -2
- package/dist/i18n/locales/pt-PT.json +21 -2
- package/dist/i18n/locales/ro.json +21 -2
- package/dist/i18n/locales/ru.json +21 -2
- package/dist/i18n/locales/sv.json +21 -2
- package/dist/i18n/locales/tr.json +21 -2
- package/dist/i18n/locales/uk.json +21 -2
- package/dist/i18n/locales/zh-CN.json +21 -2
- package/dist/i18n/locales/zh-HK.json +21 -2
- package/dist/i18n/locales/zh-TW.json +21 -2
- package/dist/i18n/regionHints.js +22 -22
- package/dist/i18n/regions.d.ts +73 -24
- package/dist/i18n/regions.js +57 -12
- package/dist/index.d.ts +191 -189
- package/dist/index.js +55 -54
- package/dist/llms-full.txt +7025 -5079
- package/dist/llms-medium.txt +486 -340
- package/dist/llms.txt +4 -3
- package/dist/locale-blueprint.json +24 -2
- package/dist/locale-tags.js +81 -0
- package/dist/mcp-sdk.LICENSES.txt +210 -0
- package/dist/mcp-sdk.mjs +78 -0
- package/dist/nuxt-auto-imports.d.ts +1 -1
- package/dist/nuxt-auto-imports.js +1 -1
- package/dist/nuxt-module.d.ts +5 -5
- package/dist/nuxt.js +20 -17
- package/dist/plugin.d.ts +2 -2
- package/dist/project-dts.d.ts +4 -4
- package/dist/project-dts.js +68 -62
- package/dist/setup-kit.LICENSES.txt +23 -0
- package/dist/setup-kit.mjs +9 -0
- package/dist/styles.css +2 -2
- package/dist/types/ActionButton.d.ts +3 -3
- package/dist/types/AlertVariant.d.ts +1 -1
- package/dist/types/BadgeVariant.d.ts +1 -1
- package/dist/types/ButtonVariant.d.ts +1 -1
- package/dist/types/CheckboxVariant.d.ts +2 -2
- package/dist/types/ColumnName.d.ts +1 -1
- package/dist/types/CommonProps.d.ts +25 -3
- package/dist/types/Config.d.ts +9 -9
- package/dist/types/ConfigDefaults.d.ts +37 -37
- package/dist/types/ConfirmVariant.d.ts +1 -1
- package/dist/types/DatePickerType.d.ts +29 -2
- package/dist/types/DatePickerType.js +6 -2
- package/dist/types/DropdownItemVariant.d.ts +1 -1
- package/dist/types/IndicatorVariant.d.ts +1 -1
- package/dist/types/InputVariant.d.ts +1 -1
- package/dist/types/ItemAccessor.d.ts +7 -1
- package/dist/types/ItemProps.d.ts +3 -3
- package/dist/types/ItemsProvider.d.ts +2 -2
- package/dist/types/Placement.d.ts +7 -2
- package/dist/types/RadioVariant.d.ts +2 -2
- package/dist/types/ShapeErased.d.ts +1 -1
- package/dist/types/TabsVariant.d.ts +1 -1
- package/dist/types/ToastVariant.d.ts +1 -1
- package/dist/types/TooltipVariant.d.ts +1 -1
- package/dist/types/fallthrough.d.ts +1 -1
- package/dist/types/passthrough.d.ts +17 -17
- package/dist/types/ptComponentMap.d.ts +16 -15
- package/dist/utilities/calendar/canonicalParts.d.ts +29 -0
- package/dist/utilities/calendar/canonicalParts.js +12 -0
- package/dist/utilities/calendar/digits.d.ts +18 -0
- package/dist/utilities/calendar/digits.js +26 -0
- package/dist/utilities/calendar/gregorian.d.ts +2 -0
- package/dist/utilities/calendar/gregorian.js +36 -0
- package/dist/utilities/calendar/index.d.ts +3 -0
- package/dist/utilities/calendar/index.js +1 -0
- package/dist/utilities/calendar/international.d.ts +19 -0
- package/dist/utilities/calendar/resolve.d.ts +32 -0
- package/dist/utilities/calendar/resolve.js +12 -0
- package/dist/utilities/calendar/runtime.d.ts +49 -0
- package/dist/utilities/calendar/types.d.ts +140 -0
- package/dist/utilities/calendar/types.js +83 -0
- package/dist/utilities/functions/convertDateValue.d.ts +15 -2
- package/dist/utilities/functions/convertDateValue.js +22 -17
- package/dist/utilities/functions/elementLabel.d.ts +1 -1
- package/dist/utilities/functions/extractDomContainer.d.ts +1 -1
- package/dist/utilities/functions/isDateDisabled.d.ts +9 -1
- package/dist/utilities/functions/isDateDisabled.js +38 -21
- package/dist/utilities/functions/itemProps.d.ts +1 -1
- package/dist/utilities/functions/normalizeDateBound.d.ts +45 -2
- package/dist/utilities/functions/normalizeDateBound.js +52 -11
- package/dist/utilities/functions/parseSize.d.ts +2 -2
- package/dist/utilities/functions/readableValue.d.ts +1 -1
- package/dist/utilities/functions/responsiveDefault.d.ts +1 -1
- package/dist/utilities/functions/slotKey.d.ts +1 -1
- package/dist/utilities/functions/toggleInput.d.ts +1 -1
- package/dist/utilities/functions/warnRemovedAttrs.d.ts +3 -3
- package/dist/utilities/functions/when.d.ts +1 -1
- package/dist/utilities/misc/autofocus.d.ts +2 -2
- package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
- package/dist/utilities/misc/maskaDataOptions.d.ts +1 -1
- package/dist/utilities/misc/ssrStateInjectionKey.d.ts +1 -1
- package/dist/utilities/misc/ssrValue.d.ts +1 -1
- package/dist/utils/configDefaults.d.ts +11 -1
- package/dist/utils/configDefaults.js +73 -43
- package/dist/utils/copyData.d.ts +2 -2
- package/dist/utils/cssLayers.d.ts +1 -1
- package/dist/utils/focusVisibility.d.ts +1 -1
- package/dist/utils/injectLibraryStyles.d.ts +1 -1
- package/dist/utils/overlayEscapeStack.d.ts +1 -1
- package/dist/utils/passthrough.d.ts +1 -1
- package/dist/utils/passthroughDeduper.d.ts +1 -1
- package/dist/utils/releasedActivator.d.ts +20 -0
- package/dist/utils/releasedActivator.js +11 -0
- package/dist/utils/versionCheck.d.ts +1 -1
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +90 -32
- package/dist/vite.js +416 -341
- package/llms.txt +4 -3
- package/package.json +51 -19
- package/scripts/README.md +2 -1
- package/scripts/lib/agent-manifest.mjs +105 -22
- package/scripts/lib/agent-refresh.mjs +151 -0
- package/scripts/lib/agent-setup.mjs +679 -0
- package/scripts/lib/carousel-items-without-slide.mjs +263 -0
- package/scripts/lib/carousel-prop-or-local.mjs +117 -0
- package/scripts/lib/check-fix.mjs +1 -1
- package/scripts/lib/collapsible-trigger-aria.mjs +1 -1
- package/scripts/lib/css-class-check.mjs +3 -3
- package/scripts/lib/css-local-check.mjs +25 -17
- package/scripts/lib/css-surface-answer.mjs +117 -0
- package/scripts/lib/define-preset-copy.mjs +1 -1
- package/scripts/lib/distributed-alias.mjs +81 -0
- package/scripts/lib/doc-sections.mjs +12 -4
- package/scripts/lib/dropdown-default-slot.mjs +1 -1
- package/scripts/lib/eslint-disable.mjs +58 -2
- package/scripts/lib/eslint-plugin.d.ts +10 -1
- package/scripts/lib/eslint-plugin.mjs +542 -64
- package/scripts/lib/form-v-model.mjs +1 -1
- package/scripts/lib/hand-imported-styles.mjs +2 -2
- package/scripts/lib/hand-roll-hints.mjs +25 -3
- package/scripts/lib/helper-canon.mjs +4 -4
- package/scripts/lib/helpers-add.mjs +39 -24
- package/scripts/lib/hidden-label-placeholder.mjs +1 -1
- package/scripts/lib/idiom-scan.mjs +4 -4
- package/scripts/lib/is-direct-run.mjs +20 -0
- package/scripts/lib/items-provider-context.mjs +1 -1
- package/scripts/lib/linked-target.mjs +26 -2
- package/scripts/lib/local-components.mjs +2 -2
- package/scripts/lib/locale-check.mjs +109 -13
- package/scripts/lib/mcp-config.mjs +140 -75
- package/scripts/lib/mcp-sdk.mjs +199 -0
- package/scripts/lib/migrate-fix.mjs +3 -3
- package/scripts/lib/plugin-options-check.mjs +170 -0
- package/scripts/lib/pnp.mjs +165 -0
- package/scripts/lib/portal-names.mjs +4 -4
- package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
- package/scripts/lib/project-variant-dts.mjs +80 -15
- package/scripts/lib/reactive-v-model.mjs +2 -2
- package/scripts/lib/redundant-item-accessor.mjs +1 -1
- package/scripts/lib/renamed-item-field.mjs +1 -1
- package/scripts/lib/renamed-slot-prop.mjs +524 -0
- package/scripts/lib/rule-registry.mjs +1 -1
- package/scripts/lib/setup-edits.mjs +1845 -0
- package/scripts/lib/setup.mjs +440 -0
- package/scripts/lib/slot-key.mjs +1 -1
- package/scripts/lib/slot-renames.mjs +3 -3
- package/scripts/lib/squashed-slot-words.mjs +1 -1
- package/scripts/lib/tab-links.mjs +2 -2
- package/scripts/lib/text-null-value.mjs +1 -1
- package/scripts/lib/toolchain-check.mjs +3 -3
- package/scripts/lib/tooling-options.mjs +87 -0
- package/scripts/lib/unimported-components.mjs +1 -1
- package/scripts/lib/unstyled-variants.mjs +1 -1
- package/scripts/lib/valid-locale.mjs +119 -0
- package/scripts/lib/validate-bb-markup.mjs +146 -102
- package/scripts/lib/wrapper-props.mjs +2 -2
- package/dist/components/BbNumberInput/warroom/corpus.d.ts +0 -58
- package/dist/components/BbNumberInput/warroom/currency-verify.rows.d.ts +0 -28
- package/dist/components/BbNumberInput/warroom/currency.rows.d.ts +0 -2
- package/dist/components/BbNumberInput/warroom/harness.d.ts +0 -217
- package/dist/components/BbNumberInput/warroom/oracle.d.ts +0 -150
- package/dist/components/BbTable/warroom/harness.d.ts +0 -260
- package/dist/utilities/functions/pipe.d.ts +0 -3
- package/dist/utilities/functions/range.js +0 -7
- package/scripts/lib/check-queue.mjs +0 -102
- package/scripts/lib/component-attr-targets.ts +0 -123
- package/scripts/lib/component-tree.ts +0 -648
- package/scripts/lib/consumer-install.mjs +0 -64
- package/scripts/lib/css-class-surface.mjs +0 -328
- package/scripts/lib/css-color-resolve.mjs +0 -296
- package/scripts/lib/css-comment-text.mjs +0 -16
- package/scripts/lib/design-token-manifest.mjs +0 -506
- package/scripts/lib/ensure-manifest.mjs +0 -135
- package/scripts/lib/example-checks.mjs +0 -337
- package/scripts/lib/guide-claims.mjs +0 -452
- package/scripts/lib/manifest-pointers.mjs +0 -71
- package/scripts/lib/pack.mjs +0 -55
- package/scripts/lib/public-type-exports.mjs +0 -273
- package/scripts/lib/quiet-gate.mjs +0 -385
- package/scripts/lib/recipe-excerpts.mjs +0 -98
- package/scripts/lib/swap-noun.mjs +0 -33
- package/scripts/lib/token-color-mix.mjs +0 -114
package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -6,33 +6,38 @@ import { useLocale as i } from "../../composables/useLocale.js";
|
|
|
6
6
|
import { useLogger as a } from "../../composables/useLogger.js";
|
|
7
7
|
import { useMobile as o } from "../../composables/useMobile.js";
|
|
8
8
|
import { SEGMENTED_CONTROL_NATIVE_ATTRS as s, formControlPtActive as c, usePassthrough as l, variantPt as u } from "../../composables/usePassthrough.js";
|
|
9
|
-
import {
|
|
10
|
-
import { removedPropsFor as
|
|
11
|
-
import { formatOfType as
|
|
12
|
-
import { isoMondayOf as f, isoWeekOf as
|
|
13
|
-
import { toInnerValue as
|
|
14
|
-
import { isEmpty as
|
|
15
|
-
import { hash as
|
|
16
|
-
import { isNotEmpty as
|
|
17
|
-
import { normalizeDateBound as
|
|
18
|
-
import {
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import {
|
|
23
|
-
import Te from "../
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import {
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import Xe from "
|
|
9
|
+
import { fieldRuns as ee, useSegmentedFields as d } from "../../composables/useSegmentedFields.js";
|
|
10
|
+
import { removedPropsFor as te } from "../../deprecation/removedProps.js";
|
|
11
|
+
import { formatOfType as ne, isCoarseType as re, isLabelType as ie, unitOfType as ae } from "../../types/DatePickerType.js";
|
|
12
|
+
import { isoMondayOf as f, isoWeekOf as oe, isoWeekStart as se, isoWeeksInYear as ce, weekBoundAsDay as le } from "../../utilities/functions/isoWeek.js";
|
|
13
|
+
import { toInnerValue as ue, toOuterValue as de } from "../../utilities/functions/convertDateValue.js";
|
|
14
|
+
import { isEmpty as fe } from "../../utilities/functions/empty.js";
|
|
15
|
+
import { hash as pe } from "../../utilities/functions/hash.js";
|
|
16
|
+
import { isNotEmpty as me } from "../../utilities/functions/isNotEmpty.js";
|
|
17
|
+
import { normalizeDateBound as he } from "../../utilities/functions/normalizeDateBound.js";
|
|
18
|
+
import { isDateDisabled as ge } from "../../utilities/functions/isDateDisabled.js";
|
|
19
|
+
import { warnRemovedAttrs as _e } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
20
|
+
import ve from "../../assets/svgs/calendar.svg_raw.js";
|
|
21
|
+
import { calendars as ye, localeOf as be } from "../../utilities/calendar/index.js";
|
|
22
|
+
import { foldDigits as xe } from "../../utilities/calendar/digits.js";
|
|
23
|
+
import { formatDateOf as Se, intlLocaleOf as Ce, spokenDateOptionsOf as we, timeFieldsOf as Te, useDayjsLocale as Ee, weekSpanOf as De } from "../BbCalendar/useDayjsLocale.js";
|
|
24
|
+
import Oe from "../BbDatePicker/BbDatePicker.vue.js";
|
|
25
|
+
import { BB_DATE_PICKER_PT as ke, DATE_PICKER_CALENDAR_PARTS as Ae } from "../BbDatePicker/types.js";
|
|
26
|
+
import je from "../BbIcon/BbIcon.vue.js";
|
|
27
|
+
import Me from "../CommonField/CommonField.vue.js";
|
|
28
|
+
import Ne from "../CommonFieldInput/CommonFieldInput.vue.js";
|
|
29
|
+
import { useMeridiem as Pe } from "../CommonTimeSelector/useMeridiem.js";
|
|
30
|
+
import { BB_DATE_PICKER_INPUT_PT as Fe } from "./types.js";
|
|
31
|
+
import { dateLayoutFromHint as Ie, dateReadsRtl as Le, monthLayoutFromHint as Re } from "./dateFieldLayout.js";
|
|
32
|
+
import { calendarFieldSpecs as ze, calendarFieldsOf as Be, eraHint as Ve, matchEra as He } from "./calendarFields.js";
|
|
33
|
+
import { Fragment as Ue, computed as p, createBlock as We, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createSlots as Ge, createVNode as Ke, defineComponent as qe, guardReactiveProps as Je, mergeProps as _, normalizeClass as Ye, normalizeProps as Xe, normalizeStyle as Ze, onBeforeUnmount as Qe, onDeactivated as $e, openBlock as v, ref as y, renderList as et, renderSlot as b, toDisplayString as tt, toRaw as nt, unref as x, useAttrs as rt, useSlots as it, watch as at, withCtx as S, withDirectives as ot } from "vue";
|
|
34
|
+
import C from "dayjs";
|
|
35
|
+
import st from "dayjs/plugin/customParseFormat";
|
|
36
|
+
import { formatCalendarDate as w, formatDigits as ct } from "virtual:bitboss-ui/calendars";
|
|
37
|
+
import lt from "dayjs/plugin/isSameOrAfter";
|
|
38
|
+
import ut from "dayjs/plugin/isSameOrBefore";
|
|
34
39
|
// src/components/BbDatePickerInput/BbDatePickerInput.vue?vue&type=script&setup=true&lang.ts
|
|
35
|
-
var
|
|
40
|
+
var dt = ["dir"], ft = ["onClick"], pt = ["data-value"], mt = [
|
|
36
41
|
"id",
|
|
37
42
|
"aria-describedby",
|
|
38
43
|
"aria-disabled",
|
|
@@ -55,299 +60,299 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
55
60
|
"onInput",
|
|
56
61
|
"onKeydown",
|
|
57
62
|
"onPaste"
|
|
58
|
-
],
|
|
59
|
-
mixins: [u(
|
|
63
|
+
], ht = ["onClick"], gt = ["onClick"], _t = ["aria-disabled", "disabled"], vt = ["id"], T = "YYYY-MM-DD", yt = "YYYY-MM-DDTHH:mm", bt = /*@__PURE__*/ qe({
|
|
64
|
+
mixins: [u(Fe)],
|
|
60
65
|
inheritAttrs: !1,
|
|
61
66
|
__name: "BbDatePickerInput",
|
|
62
67
|
props: {
|
|
63
68
|
"pt:root": {},
|
|
64
|
-
"pt:label": {},
|
|
65
|
-
"pt:description": {},
|
|
66
|
-
"pt:message": {},
|
|
67
|
-
"pt:hint": {},
|
|
68
|
-
"pt:box": {},
|
|
69
|
-
"pt:input": {},
|
|
70
|
-
"pt:icon": {},
|
|
71
|
-
"pt:spinner": {},
|
|
72
|
-
"pt:prefix": {},
|
|
73
|
-
"pt:suffix": {},
|
|
74
|
-
"pt:clear": {},
|
|
75
|
-
"pt:activator": {},
|
|
76
|
-
"pt:panel": {},
|
|
77
|
-
"pt:sheet": {},
|
|
78
|
-
"pt:header": {},
|
|
79
|
-
"pt:arrow": {},
|
|
80
|
-
"pt:month": {},
|
|
81
|
-
"pt:year": {},
|
|
82
|
-
"pt:cellColumnHeader": {},
|
|
83
|
-
"pt:week": {},
|
|
84
|
-
"pt:weekNumber": {},
|
|
85
|
-
"pt:day": {},
|
|
86
|
-
"pt:dayButton": {},
|
|
87
|
-
"pt:monthItem": {},
|
|
88
|
-
"pt:yearItem": {},
|
|
89
|
-
"pt:item": {},
|
|
90
|
-
"pt:root:errors": {},
|
|
91
|
-
"pt:root:warnings": {},
|
|
92
|
-
"pt:root:loading": {},
|
|
93
|
-
"pt:root:disabled": {},
|
|
94
|
-
"pt:root:readonly": {},
|
|
95
69
|
"pt:root:hasValue": {},
|
|
70
|
+
"pt:root:readonly": {},
|
|
71
|
+
"pt:root:disabled": {},
|
|
72
|
+
"pt:root:warnings": {},
|
|
73
|
+
"pt:root:errors": {},
|
|
96
74
|
"pt:root:open": {},
|
|
97
|
-
"pt:
|
|
98
|
-
"pt:
|
|
99
|
-
"pt:
|
|
100
|
-
"pt:
|
|
101
|
-
"pt:label
|
|
75
|
+
"pt:root:loading": {},
|
|
76
|
+
"pt:root:outline": {},
|
|
77
|
+
"pt:root:secondary": {},
|
|
78
|
+
"pt:root:ghost": {},
|
|
79
|
+
"pt:label": {},
|
|
102
80
|
"pt:label:hasValue": {},
|
|
81
|
+
"pt:label:readonly": {},
|
|
82
|
+
"pt:label:disabled": {},
|
|
83
|
+
"pt:label:warnings": {},
|
|
84
|
+
"pt:label:errors": {},
|
|
103
85
|
"pt:label:open": {},
|
|
104
|
-
"pt:
|
|
105
|
-
"pt:
|
|
106
|
-
"pt:
|
|
107
|
-
"pt:
|
|
108
|
-
"pt:description
|
|
86
|
+
"pt:label:loading": {},
|
|
87
|
+
"pt:label:outline": {},
|
|
88
|
+
"pt:label:secondary": {},
|
|
89
|
+
"pt:label:ghost": {},
|
|
90
|
+
"pt:description": {},
|
|
109
91
|
"pt:description:hasValue": {},
|
|
92
|
+
"pt:description:readonly": {},
|
|
93
|
+
"pt:description:disabled": {},
|
|
94
|
+
"pt:description:warnings": {},
|
|
95
|
+
"pt:description:errors": {},
|
|
110
96
|
"pt:description:open": {},
|
|
111
|
-
"pt:
|
|
112
|
-
"pt:
|
|
113
|
-
"pt:
|
|
114
|
-
"pt:
|
|
115
|
-
"pt:message
|
|
97
|
+
"pt:description:loading": {},
|
|
98
|
+
"pt:description:outline": {},
|
|
99
|
+
"pt:description:secondary": {},
|
|
100
|
+
"pt:description:ghost": {},
|
|
101
|
+
"pt:message": {},
|
|
116
102
|
"pt:message:hasValue": {},
|
|
103
|
+
"pt:message:readonly": {},
|
|
104
|
+
"pt:message:disabled": {},
|
|
105
|
+
"pt:message:warnings": {},
|
|
106
|
+
"pt:message:errors": {},
|
|
117
107
|
"pt:message:open": {},
|
|
118
|
-
"pt:
|
|
119
|
-
"pt:
|
|
120
|
-
"pt:
|
|
121
|
-
"pt:
|
|
122
|
-
"pt:hint
|
|
108
|
+
"pt:message:loading": {},
|
|
109
|
+
"pt:message:outline": {},
|
|
110
|
+
"pt:message:secondary": {},
|
|
111
|
+
"pt:message:ghost": {},
|
|
112
|
+
"pt:hint": {},
|
|
123
113
|
"pt:hint:hasValue": {},
|
|
114
|
+
"pt:hint:readonly": {},
|
|
115
|
+
"pt:hint:disabled": {},
|
|
116
|
+
"pt:hint:warnings": {},
|
|
117
|
+
"pt:hint:errors": {},
|
|
124
118
|
"pt:hint:open": {},
|
|
125
|
-
"pt:
|
|
126
|
-
"pt:
|
|
127
|
-
"pt:
|
|
128
|
-
"pt:
|
|
129
|
-
"pt:box
|
|
119
|
+
"pt:hint:loading": {},
|
|
120
|
+
"pt:hint:outline": {},
|
|
121
|
+
"pt:hint:secondary": {},
|
|
122
|
+
"pt:hint:ghost": {},
|
|
123
|
+
"pt:box": {},
|
|
130
124
|
"pt:box:hasValue": {},
|
|
125
|
+
"pt:box:readonly": {},
|
|
126
|
+
"pt:box:disabled": {},
|
|
127
|
+
"pt:box:warnings": {},
|
|
128
|
+
"pt:box:errors": {},
|
|
131
129
|
"pt:box:open": {},
|
|
132
|
-
"pt:
|
|
133
|
-
"pt:
|
|
134
|
-
"pt:
|
|
135
|
-
"pt:
|
|
136
|
-
"pt:input
|
|
130
|
+
"pt:box:loading": {},
|
|
131
|
+
"pt:box:outline": {},
|
|
132
|
+
"pt:box:secondary": {},
|
|
133
|
+
"pt:box:ghost": {},
|
|
134
|
+
"pt:input": {},
|
|
137
135
|
"pt:input:hasValue": {},
|
|
136
|
+
"pt:input:readonly": {},
|
|
137
|
+
"pt:input:disabled": {},
|
|
138
|
+
"pt:input:warnings": {},
|
|
139
|
+
"pt:input:errors": {},
|
|
138
140
|
"pt:input:open": {},
|
|
139
|
-
"pt:
|
|
140
|
-
"pt:
|
|
141
|
-
"pt:
|
|
142
|
-
"pt:
|
|
143
|
-
"pt:icon
|
|
141
|
+
"pt:input:loading": {},
|
|
142
|
+
"pt:input:outline": {},
|
|
143
|
+
"pt:input:secondary": {},
|
|
144
|
+
"pt:input:ghost": {},
|
|
145
|
+
"pt:icon": {},
|
|
144
146
|
"pt:icon:hasValue": {},
|
|
147
|
+
"pt:icon:readonly": {},
|
|
148
|
+
"pt:icon:disabled": {},
|
|
149
|
+
"pt:icon:warnings": {},
|
|
150
|
+
"pt:icon:errors": {},
|
|
145
151
|
"pt:icon:open": {},
|
|
146
|
-
"pt:
|
|
147
|
-
"pt:
|
|
148
|
-
"pt:
|
|
149
|
-
"pt:
|
|
150
|
-
"pt:spinner
|
|
152
|
+
"pt:icon:loading": {},
|
|
153
|
+
"pt:icon:outline": {},
|
|
154
|
+
"pt:icon:secondary": {},
|
|
155
|
+
"pt:icon:ghost": {},
|
|
156
|
+
"pt:spinner": {},
|
|
151
157
|
"pt:spinner:hasValue": {},
|
|
158
|
+
"pt:spinner:readonly": {},
|
|
159
|
+
"pt:spinner:disabled": {},
|
|
160
|
+
"pt:spinner:warnings": {},
|
|
161
|
+
"pt:spinner:errors": {},
|
|
152
162
|
"pt:spinner:open": {},
|
|
153
|
-
"pt:
|
|
154
|
-
"pt:
|
|
155
|
-
"pt:
|
|
156
|
-
"pt:
|
|
157
|
-
"pt:prefix
|
|
163
|
+
"pt:spinner:loading": {},
|
|
164
|
+
"pt:spinner:outline": {},
|
|
165
|
+
"pt:spinner:secondary": {},
|
|
166
|
+
"pt:spinner:ghost": {},
|
|
167
|
+
"pt:prefix": {},
|
|
158
168
|
"pt:prefix:hasValue": {},
|
|
169
|
+
"pt:prefix:readonly": {},
|
|
170
|
+
"pt:prefix:disabled": {},
|
|
171
|
+
"pt:prefix:warnings": {},
|
|
172
|
+
"pt:prefix:errors": {},
|
|
159
173
|
"pt:prefix:open": {},
|
|
160
|
-
"pt:
|
|
161
|
-
"pt:
|
|
162
|
-
"pt:
|
|
163
|
-
"pt:
|
|
164
|
-
"pt:suffix
|
|
174
|
+
"pt:prefix:loading": {},
|
|
175
|
+
"pt:prefix:outline": {},
|
|
176
|
+
"pt:prefix:secondary": {},
|
|
177
|
+
"pt:prefix:ghost": {},
|
|
178
|
+
"pt:suffix": {},
|
|
165
179
|
"pt:suffix:hasValue": {},
|
|
180
|
+
"pt:suffix:readonly": {},
|
|
181
|
+
"pt:suffix:disabled": {},
|
|
182
|
+
"pt:suffix:warnings": {},
|
|
183
|
+
"pt:suffix:errors": {},
|
|
166
184
|
"pt:suffix:open": {},
|
|
167
|
-
"pt:
|
|
168
|
-
"pt:
|
|
169
|
-
"pt:
|
|
170
|
-
"pt:
|
|
171
|
-
"pt:
|
|
185
|
+
"pt:suffix:loading": {},
|
|
186
|
+
"pt:suffix:outline": {},
|
|
187
|
+
"pt:suffix:secondary": {},
|
|
188
|
+
"pt:suffix:ghost": {},
|
|
189
|
+
"pt:clear": {},
|
|
190
|
+
"pt:clear:hasValue": {},
|
|
191
|
+
"pt:clear:warnings": {},
|
|
192
|
+
"pt:clear:errors": {},
|
|
193
|
+
"pt:clear:open": {},
|
|
194
|
+
"pt:clear:loading": {},
|
|
195
|
+
"pt:clear:outline": {},
|
|
196
|
+
"pt:clear:secondary": {},
|
|
197
|
+
"pt:clear:ghost": {},
|
|
198
|
+
"pt:activator": {},
|
|
172
199
|
"pt:activator:hasValue": {},
|
|
200
|
+
"pt:activator:readonly": {},
|
|
201
|
+
"pt:activator:disabled": {},
|
|
202
|
+
"pt:activator:warnings": {},
|
|
203
|
+
"pt:activator:errors": {},
|
|
173
204
|
"pt:activator:open": {},
|
|
174
|
-
"pt:
|
|
175
|
-
"pt:
|
|
176
|
-
"pt:
|
|
177
|
-
"pt:
|
|
178
|
-
"pt:panel
|
|
205
|
+
"pt:activator:loading": {},
|
|
206
|
+
"pt:activator:outline": {},
|
|
207
|
+
"pt:activator:secondary": {},
|
|
208
|
+
"pt:activator:ghost": {},
|
|
209
|
+
"pt:panel": {},
|
|
179
210
|
"pt:panel:hasValue": {},
|
|
211
|
+
"pt:panel:readonly": {},
|
|
212
|
+
"pt:panel:disabled": {},
|
|
213
|
+
"pt:panel:warnings": {},
|
|
214
|
+
"pt:panel:errors": {},
|
|
180
215
|
"pt:panel:open": {},
|
|
181
|
-
"pt:
|
|
182
|
-
"pt:sheet
|
|
183
|
-
"pt:sheet:loading": {},
|
|
184
|
-
"pt:sheet:disabled": {},
|
|
185
|
-
"pt:sheet:readonly": {},
|
|
216
|
+
"pt:panel:loading": {},
|
|
217
|
+
"pt:sheet": {},
|
|
186
218
|
"pt:sheet:hasValue": {},
|
|
219
|
+
"pt:sheet:readonly": {},
|
|
220
|
+
"pt:sheet:disabled": {},
|
|
221
|
+
"pt:sheet:warnings": {},
|
|
222
|
+
"pt:sheet:errors": {},
|
|
187
223
|
"pt:sheet:open": {},
|
|
188
|
-
"pt:
|
|
189
|
-
"pt:header
|
|
190
|
-
"pt:header:loading": {},
|
|
191
|
-
"pt:header:disabled": {},
|
|
192
|
-
"pt:header:readonly": {},
|
|
224
|
+
"pt:sheet:loading": {},
|
|
225
|
+
"pt:header": {},
|
|
193
226
|
"pt:header:hasValue": {},
|
|
227
|
+
"pt:header:readonly": {},
|
|
228
|
+
"pt:header:disabled": {},
|
|
229
|
+
"pt:header:warnings": {},
|
|
230
|
+
"pt:header:errors": {},
|
|
194
231
|
"pt:header:open": {},
|
|
195
|
-
"pt:
|
|
196
|
-
"pt:arrow
|
|
197
|
-
"pt:arrow:loading": {},
|
|
198
|
-
"pt:arrow:disabled": {},
|
|
199
|
-
"pt:arrow:readonly": {},
|
|
232
|
+
"pt:header:loading": {},
|
|
233
|
+
"pt:arrow": {},
|
|
200
234
|
"pt:arrow:hasValue": {},
|
|
235
|
+
"pt:arrow:readonly": {},
|
|
236
|
+
"pt:arrow:disabled": {},
|
|
237
|
+
"pt:arrow:warnings": {},
|
|
238
|
+
"pt:arrow:errors": {},
|
|
201
239
|
"pt:arrow:open": {},
|
|
202
|
-
"pt:
|
|
203
|
-
"pt:month
|
|
204
|
-
"pt:month:loading": {},
|
|
205
|
-
"pt:month:disabled": {},
|
|
206
|
-
"pt:month:readonly": {},
|
|
240
|
+
"pt:arrow:loading": {},
|
|
241
|
+
"pt:month": {},
|
|
207
242
|
"pt:month:hasValue": {},
|
|
243
|
+
"pt:month:readonly": {},
|
|
244
|
+
"pt:month:disabled": {},
|
|
245
|
+
"pt:month:warnings": {},
|
|
246
|
+
"pt:month:errors": {},
|
|
247
|
+
"pt:month:active": {},
|
|
208
248
|
"pt:month:open": {},
|
|
209
|
-
"pt:
|
|
210
|
-
"pt:year
|
|
211
|
-
"pt:year:loading": {},
|
|
212
|
-
"pt:year:disabled": {},
|
|
213
|
-
"pt:year:readonly": {},
|
|
249
|
+
"pt:month:loading": {},
|
|
250
|
+
"pt:year": {},
|
|
214
251
|
"pt:year:hasValue": {},
|
|
252
|
+
"pt:year:readonly": {},
|
|
253
|
+
"pt:year:disabled": {},
|
|
254
|
+
"pt:year:warnings": {},
|
|
255
|
+
"pt:year:errors": {},
|
|
256
|
+
"pt:year:active": {},
|
|
215
257
|
"pt:year:open": {},
|
|
216
|
-
"pt:
|
|
217
|
-
"pt:cellColumnHeader
|
|
218
|
-
"pt:cellColumnHeader:loading": {},
|
|
219
|
-
"pt:cellColumnHeader:disabled": {},
|
|
220
|
-
"pt:cellColumnHeader:readonly": {},
|
|
258
|
+
"pt:year:loading": {},
|
|
259
|
+
"pt:cellColumnHeader": {},
|
|
221
260
|
"pt:cellColumnHeader:hasValue": {},
|
|
261
|
+
"pt:cellColumnHeader:readonly": {},
|
|
262
|
+
"pt:cellColumnHeader:disabled": {},
|
|
263
|
+
"pt:cellColumnHeader:warnings": {},
|
|
264
|
+
"pt:cellColumnHeader:errors": {},
|
|
222
265
|
"pt:cellColumnHeader:open": {},
|
|
223
|
-
"pt:
|
|
224
|
-
"pt:week
|
|
225
|
-
"pt:week:loading": {},
|
|
226
|
-
"pt:week:disabled": {},
|
|
227
|
-
"pt:week:readonly": {},
|
|
266
|
+
"pt:cellColumnHeader:loading": {},
|
|
267
|
+
"pt:week": {},
|
|
228
268
|
"pt:week:hasValue": {},
|
|
269
|
+
"pt:week:inRange": {},
|
|
270
|
+
"pt:week:selected": {},
|
|
271
|
+
"pt:week:rangeStart": {},
|
|
272
|
+
"pt:week:rangeEnd": {},
|
|
273
|
+
"pt:week:readonly": {},
|
|
274
|
+
"pt:week:disabled": {},
|
|
275
|
+
"pt:week:warnings": {},
|
|
276
|
+
"pt:week:errors": {},
|
|
229
277
|
"pt:week:open": {},
|
|
230
|
-
"pt:
|
|
231
|
-
"pt:weekNumber
|
|
232
|
-
"pt:weekNumber:loading": {},
|
|
233
|
-
"pt:weekNumber:disabled": {},
|
|
234
|
-
"pt:weekNumber:readonly": {},
|
|
278
|
+
"pt:week:loading": {},
|
|
279
|
+
"pt:weekNumber": {},
|
|
235
280
|
"pt:weekNumber:hasValue": {},
|
|
281
|
+
"pt:weekNumber:inRange": {},
|
|
282
|
+
"pt:weekNumber:selected": {},
|
|
283
|
+
"pt:weekNumber:rangeStart": {},
|
|
284
|
+
"pt:weekNumber:rangeEnd": {},
|
|
285
|
+
"pt:weekNumber:readonly": {},
|
|
286
|
+
"pt:weekNumber:disabled": {},
|
|
287
|
+
"pt:weekNumber:warnings": {},
|
|
288
|
+
"pt:weekNumber:errors": {},
|
|
236
289
|
"pt:weekNumber:open": {},
|
|
237
|
-
"pt:
|
|
238
|
-
"pt:day
|
|
239
|
-
"pt:day:loading": {},
|
|
240
|
-
"pt:day:disabled": {},
|
|
241
|
-
"pt:day:readonly": {},
|
|
290
|
+
"pt:weekNumber:loading": {},
|
|
291
|
+
"pt:day": {},
|
|
242
292
|
"pt:day:hasValue": {},
|
|
243
|
-
"pt:day:open": {},
|
|
244
|
-
"pt:dayButton:errors": {},
|
|
245
|
-
"pt:dayButton:warnings": {},
|
|
246
|
-
"pt:dayButton:loading": {},
|
|
247
|
-
"pt:dayButton:disabled": {},
|
|
248
|
-
"pt:dayButton:readonly": {},
|
|
249
|
-
"pt:dayButton:hasValue": {},
|
|
250
|
-
"pt:dayButton:open": {},
|
|
251
|
-
"pt:monthItem:errors": {},
|
|
252
|
-
"pt:monthItem:warnings": {},
|
|
253
|
-
"pt:monthItem:loading": {},
|
|
254
|
-
"pt:monthItem:disabled": {},
|
|
255
|
-
"pt:monthItem:readonly": {},
|
|
256
|
-
"pt:monthItem:hasValue": {},
|
|
257
|
-
"pt:monthItem:open": {},
|
|
258
|
-
"pt:yearItem:errors": {},
|
|
259
|
-
"pt:yearItem:warnings": {},
|
|
260
|
-
"pt:yearItem:loading": {},
|
|
261
|
-
"pt:yearItem:disabled": {},
|
|
262
|
-
"pt:yearItem:readonly": {},
|
|
263
|
-
"pt:yearItem:hasValue": {},
|
|
264
|
-
"pt:yearItem:open": {},
|
|
265
|
-
"pt:item:errors": {},
|
|
266
|
-
"pt:item:warnings": {},
|
|
267
|
-
"pt:item:loading": {},
|
|
268
|
-
"pt:item:disabled": {},
|
|
269
|
-
"pt:item:readonly": {},
|
|
270
|
-
"pt:item:hasValue": {},
|
|
271
|
-
"pt:item:open": {},
|
|
272
|
-
"pt:clear:hasValue": {},
|
|
273
|
-
"pt:clear:warnings": {},
|
|
274
|
-
"pt:clear:errors": {},
|
|
275
|
-
"pt:clear:loading": {},
|
|
276
|
-
"pt:clear:open": {},
|
|
277
293
|
"pt:day:outside": {},
|
|
278
294
|
"pt:day:today": {},
|
|
279
295
|
"pt:day:inRange": {},
|
|
280
296
|
"pt:day:selected": {},
|
|
281
297
|
"pt:day:rangeStart": {},
|
|
282
298
|
"pt:day:rangeEnd": {},
|
|
299
|
+
"pt:day:readonly": {},
|
|
300
|
+
"pt:day:disabled": {},
|
|
301
|
+
"pt:day:warnings": {},
|
|
302
|
+
"pt:day:errors": {},
|
|
303
|
+
"pt:day:open": {},
|
|
283
304
|
"pt:day:highlighted": {},
|
|
305
|
+
"pt:day:loading": {},
|
|
306
|
+
"pt:dayButton": {},
|
|
307
|
+
"pt:dayButton:hasValue": {},
|
|
284
308
|
"pt:dayButton:outside": {},
|
|
285
309
|
"pt:dayButton:today": {},
|
|
286
310
|
"pt:dayButton:inRange": {},
|
|
287
311
|
"pt:dayButton:selected": {},
|
|
288
312
|
"pt:dayButton:rangeStart": {},
|
|
289
313
|
"pt:dayButton:rangeEnd": {},
|
|
314
|
+
"pt:dayButton:readonly": {},
|
|
315
|
+
"pt:dayButton:disabled": {},
|
|
316
|
+
"pt:dayButton:warnings": {},
|
|
317
|
+
"pt:dayButton:errors": {},
|
|
318
|
+
"pt:dayButton:open": {},
|
|
290
319
|
"pt:dayButton:highlighted": {},
|
|
291
|
-
"pt:
|
|
292
|
-
"pt:
|
|
293
|
-
"pt:
|
|
294
|
-
"pt:week:rangeEnd": {},
|
|
295
|
-
"pt:weekNumber:inRange": {},
|
|
296
|
-
"pt:weekNumber:selected": {},
|
|
297
|
-
"pt:weekNumber:rangeStart": {},
|
|
298
|
-
"pt:weekNumber:rangeEnd": {},
|
|
320
|
+
"pt:dayButton:loading": {},
|
|
321
|
+
"pt:monthItem": {},
|
|
322
|
+
"pt:monthItem:hasValue": {},
|
|
299
323
|
"pt:monthItem:inRange": {},
|
|
300
324
|
"pt:monthItem:selected": {},
|
|
301
325
|
"pt:monthItem:rangeStart": {},
|
|
302
326
|
"pt:monthItem:rangeEnd": {},
|
|
327
|
+
"pt:monthItem:readonly": {},
|
|
328
|
+
"pt:monthItem:disabled": {},
|
|
329
|
+
"pt:monthItem:warnings": {},
|
|
330
|
+
"pt:monthItem:errors": {},
|
|
331
|
+
"pt:monthItem:open": {},
|
|
303
332
|
"pt:monthItem:highlighted": {},
|
|
333
|
+
"pt:monthItem:loading": {},
|
|
334
|
+
"pt:yearItem": {},
|
|
335
|
+
"pt:yearItem:hasValue": {},
|
|
304
336
|
"pt:yearItem:inRange": {},
|
|
305
337
|
"pt:yearItem:selected": {},
|
|
306
338
|
"pt:yearItem:rangeStart": {},
|
|
307
339
|
"pt:yearItem:rangeEnd": {},
|
|
340
|
+
"pt:yearItem:readonly": {},
|
|
341
|
+
"pt:yearItem:disabled": {},
|
|
342
|
+
"pt:yearItem:warnings": {},
|
|
343
|
+
"pt:yearItem:errors": {},
|
|
344
|
+
"pt:yearItem:open": {},
|
|
308
345
|
"pt:yearItem:highlighted": {},
|
|
309
|
-
"pt:
|
|
310
|
-
"pt:
|
|
346
|
+
"pt:yearItem:loading": {},
|
|
347
|
+
"pt:item": {},
|
|
348
|
+
"pt:item:hasValue": {},
|
|
311
349
|
"pt:item:selected": {},
|
|
312
|
-
"pt:
|
|
313
|
-
"pt:
|
|
314
|
-
"pt:
|
|
315
|
-
"pt:
|
|
316
|
-
"pt:
|
|
317
|
-
"pt:
|
|
318
|
-
"pt:description:outline": {},
|
|
319
|
-
"pt:description:secondary": {},
|
|
320
|
-
"pt:description:ghost": {},
|
|
321
|
-
"pt:message:outline": {},
|
|
322
|
-
"pt:message:secondary": {},
|
|
323
|
-
"pt:message:ghost": {},
|
|
324
|
-
"pt:hint:outline": {},
|
|
325
|
-
"pt:hint:secondary": {},
|
|
326
|
-
"pt:hint:ghost": {},
|
|
327
|
-
"pt:box:outline": {},
|
|
328
|
-
"pt:box:secondary": {},
|
|
329
|
-
"pt:box:ghost": {},
|
|
330
|
-
"pt:input:outline": {},
|
|
331
|
-
"pt:input:secondary": {},
|
|
332
|
-
"pt:input:ghost": {},
|
|
333
|
-
"pt:icon:outline": {},
|
|
334
|
-
"pt:icon:secondary": {},
|
|
335
|
-
"pt:icon:ghost": {},
|
|
336
|
-
"pt:spinner:outline": {},
|
|
337
|
-
"pt:spinner:secondary": {},
|
|
338
|
-
"pt:spinner:ghost": {},
|
|
339
|
-
"pt:prefix:outline": {},
|
|
340
|
-
"pt:prefix:secondary": {},
|
|
341
|
-
"pt:prefix:ghost": {},
|
|
342
|
-
"pt:suffix:outline": {},
|
|
343
|
-
"pt:suffix:secondary": {},
|
|
344
|
-
"pt:suffix:ghost": {},
|
|
345
|
-
"pt:clear:outline": {},
|
|
346
|
-
"pt:clear:secondary": {},
|
|
347
|
-
"pt:clear:ghost": {},
|
|
348
|
-
"pt:activator:outline": {},
|
|
349
|
-
"pt:activator:secondary": {},
|
|
350
|
-
"pt:activator:ghost": {},
|
|
350
|
+
"pt:item:readonly": {},
|
|
351
|
+
"pt:item:disabled": {},
|
|
352
|
+
"pt:item:warnings": {},
|
|
353
|
+
"pt:item:errors": {},
|
|
354
|
+
"pt:item:open": {},
|
|
355
|
+
"pt:item:loading": {},
|
|
351
356
|
pt: {},
|
|
352
357
|
adaptive: {
|
|
353
358
|
type: Boolean,
|
|
@@ -432,167 +437,198 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
432
437
|
"update:modelValue",
|
|
433
438
|
"update:time"
|
|
434
439
|
],
|
|
435
|
-
setup(u, { emit:
|
|
436
|
-
let
|
|
440
|
+
setup(u, { emit: qe }) {
|
|
441
|
+
let bt = u, xt = qe, St = it(), { props: E, emit: D, showAsterisk: Ct, errors: wt, required: Tt, ariaRequired: Et, model: Dt, readonly: Ot, locked: kt } = r(bt, xt, {
|
|
437
442
|
componentName: "BbDatePickerInput",
|
|
438
|
-
identifierFallback: () =>
|
|
443
|
+
identifierFallback: () => bt.label,
|
|
439
444
|
leaveOn: "inactive"
|
|
440
|
-
}),
|
|
441
|
-
process.env.NODE_ENV !== "production" &&
|
|
442
|
-
let
|
|
443
|
-
|
|
444
|
-
},
|
|
445
|
-
|
|
446
|
-
},
|
|
447
|
-
|
|
445
|
+
}), At = /^\d{4}-\d{2}-\d{2}(:append)?$/, jt = () => Object.keys(St).filter((e) => At.test(e)), O = t();
|
|
446
|
+
process.env.NODE_ENV !== "production" && _e("BbDatePickerInput", te("BbDatePickerInput"), { fixedSlots: ["append:outer"] });
|
|
447
|
+
let k = y(!1), Mt = y(!1), Nt = () => {
|
|
448
|
+
Mt.value = !1;
|
|
449
|
+
}, Pt = y(!1), Ft = () => {
|
|
450
|
+
Pt.value = !0, D("show");
|
|
451
|
+
}, It = () => {
|
|
452
|
+
Pt.value = !1, D("hide");
|
|
448
453
|
};
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
}),
|
|
452
|
-
let
|
|
454
|
+
$e(() => {
|
|
455
|
+
k.value ? fn() : Nt();
|
|
456
|
+
}), Qe(Nt);
|
|
457
|
+
let Lt = p(() => E.persistentHint || Mt.value), Rt = p(() => me(E.modelValue)), A = n("BbDatePickerInput", E, {
|
|
453
458
|
labelMode: "outside",
|
|
454
459
|
autocomplete: "off",
|
|
455
460
|
compact: !1,
|
|
456
461
|
reverse: !1,
|
|
457
462
|
floating: !1
|
|
458
|
-
}),
|
|
463
|
+
}), zt = p(() => A.labelMode), Bt = [
|
|
459
464
|
"panel",
|
|
460
465
|
"sheet",
|
|
461
|
-
...
|
|
462
|
-
],
|
|
466
|
+
...Ae
|
|
467
|
+
], j = l({
|
|
463
468
|
component: "BbDatePickerInput",
|
|
464
|
-
attrs:
|
|
469
|
+
attrs: rt(),
|
|
465
470
|
controlAttrs: s,
|
|
466
471
|
props: E,
|
|
467
|
-
parts:
|
|
468
|
-
states:
|
|
472
|
+
parts: Fe.parts,
|
|
473
|
+
states: Fe.states,
|
|
469
474
|
active: {
|
|
470
|
-
...c(E, () =>
|
|
471
|
-
open: () =>
|
|
475
|
+
...c(E, () => Rt.value),
|
|
476
|
+
open: () => Pt.value
|
|
472
477
|
},
|
|
473
478
|
variant: {
|
|
474
|
-
...
|
|
479
|
+
...Fe.variant,
|
|
475
480
|
current: () => E.variant ?? "outline"
|
|
476
481
|
}
|
|
477
|
-
}),
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
482
|
+
}), M = p(() => E.type === "datetime"), N = p(() => re(E.type)), Vt = p(() => A.floating || ie(E.type)), P = p(() => E.type === "week"), Ht = p(() => ae(E.type)), F = w ? p(() => {
|
|
483
|
+
let { calendar: e } = be(O.locale);
|
|
484
|
+
return e === "gregory" ? void 0 : ye[e];
|
|
485
|
+
}) : null, Ut = p(() => ne(E.type, F?.value));
|
|
486
|
+
C.extend(st), C.extend(lt), C.extend(ut), Ee();
|
|
487
|
+
let { t: I } = i(), L = a(), Wt = y(null), Gt = (e) => `bdpi-description_${e}`, Kt = (e, t) => {
|
|
488
|
+
let n = [e, Gt(t)].filter((e) => !!e?.trim()).flatMap((e) => e.split(/\s+/)).filter(Boolean);
|
|
481
489
|
return Array.from(new Set(n)).join(" ");
|
|
482
|
-
}, { isMobile:
|
|
483
|
-
|
|
484
|
-
},
|
|
490
|
+
}, { isMobile: qt } = o(), Jt = p(() => E.disableWriting === "mobile" ? !qt.value : E.disableWriting === "desktop" ? qt.value : !E.disableWriting), Yt = p(() => !Jt.value && !en.value && !E.disabled && !E.readonly), Xt = () => {
|
|
491
|
+
Yt.value && !Pt.value && (Wt.value?.$el)?.querySelector(".bb-segmented-field__activator")?.click();
|
|
492
|
+
}, Zt = (e) => {
|
|
485
493
|
let t = e.target;
|
|
486
|
-
t?.closest(".bb-field-input__box") && (t.closest(".bb-segmented-field__activator, .bb-clearable-button, .bb-date-picker__panel, [role=\"dialog\"]") ||
|
|
487
|
-
},
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
if (
|
|
491
|
-
|
|
492
|
-
let
|
|
493
|
-
|
|
494
|
+
t?.closest(".bb-field-input__box") && (t.closest(".bb-segmented-field__activator, .bb-clearable-button, .bb-date-picker__panel, [role=\"dialog\"]") || Xt());
|
|
495
|
+
}, Qt = (e) => e.key === "ArrowUp" || e.key === "ArrowDown" || e.key === "Backspace" || e.key === "Delete" || e.key.length === 1 && !e.ctrlKey && !e.metaKey && !e.altKey, $t = (e, t) => {
|
|
496
|
+
if (Yt.value && (t.key === "Enter" || t.key === " ")) t.preventDefault(), Xt();
|
|
497
|
+
else if (E.readonly && Qt(t)) t.preventDefault();
|
|
498
|
+
else if (w && V.value?.eras.length && e.field === "year" && (t.key === "ArrowUp" || t.key === "ArrowDown")) {
|
|
499
|
+
t.preventDefault();
|
|
500
|
+
let n = q.value[e.segment], r = V.value.lastYearOf(n.era), i = n.year ? parseInt(n.year, 10) : 0, a = n.year ? Math.min(Math.max(i + (t.key === "ArrowUp" ? 1 : -1), 1), r) : 1;
|
|
501
|
+
a !== i && (n.year = String(a), Y(), $({ finalize: !1 })), t.target.value = Jn(n.year);
|
|
502
|
+
} else nr(e, t);
|
|
503
|
+
}, en = p(() => E.disableCalendar === "mobile" ? qt.value : E.disableCalendar === "desktop" ? !qt.value : !!E.disableCalendar), tn = p(() => !!E.readonly || !Jt.value), nn = (e) => Jt.value ? In.value[e].kind === "enum" ? "none" : "numeric" : "none", rn = (e) => e.includes("T"), R = (e) => {
|
|
504
|
+
if (P.value) return C(le(e, "min"), T, !0);
|
|
505
|
+
if (N.value) {
|
|
506
|
+
let t = C(e, Ut.value, !0);
|
|
507
|
+
return t.isValid() ? t : C(e);
|
|
494
508
|
}
|
|
495
|
-
return
|
|
496
|
-
}, z = p(() =>
|
|
497
|
-
for (let [e, t] of [["min", E.min], ["max", E.max]]) t && (R(t).isValid() ||
|
|
498
|
-
let
|
|
499
|
-
!
|
|
500
|
-
let
|
|
501
|
-
floating:
|
|
509
|
+
return rn(e) ? C(e, yt, !0) : C(e, T, !0);
|
|
510
|
+
}, z = p(() => he(E.min, E.type, "min", (e) => L.warn(`BbDatePickerInput: ${e}`), F?.value)), B = p(() => he(E.max, E.type, "max", (e) => L.warn(`BbDatePickerInput: ${e}`), F?.value));
|
|
511
|
+
for (let [e, t] of [["min", E.min], ["max", E.max]]) t && (R(t).isValid() || L.throw(P.value ? `BbDatePickerInput: ${e} must be a week (YYYY-Www) or a date (YYYY-MM-DD) with type="week"` : N.value ? `BbDatePickerInput: ${e} must be a ${Ut.value} value (a longer date is accepted and rounded to the ${Ht.value}) with type="${E.type}"` : `BbDatePickerInput: ${e} must be in the format YYYY-MM-DD or YYYY-MM-DDTHH:mm`), (N.value || P.value) && (e === "min" ? z.value : B.value));
|
|
512
|
+
let an = E.disableWriting !== !0 && E.disableWriting !== "desktop", on = E.disableCalendar !== !0 && E.disableCalendar !== "desktop", sn = E.disableWriting !== !0 && E.disableWriting !== "mobile", cn = E.disableCalendar !== !0 && E.disableCalendar !== "mobile";
|
|
513
|
+
!an && !on && L.throw("BbDatePickerInput: desktop users would have no interaction method — disableWriting:true (or \"desktop\") and disableCalendar:true (or \"desktop\") cannot be combined."), !sn && !cn && 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.");
|
|
514
|
+
let ln = p(() => ({
|
|
515
|
+
floating: Vt.value,
|
|
502
516
|
utc: E.utc,
|
|
503
|
-
type: E.type
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
517
|
+
type: E.type,
|
|
518
|
+
calendar: F?.value
|
|
519
|
+
})), V = w ? p(() => {
|
|
520
|
+
let { calendar: e, intl: t } = be(O.locale);
|
|
521
|
+
if (e === "gregory" || E.type === "week") return null;
|
|
522
|
+
let n = ye[e];
|
|
523
|
+
return n ? Be(n, t, (e, t) => Se(e, O.locale, t)) : null;
|
|
524
|
+
}) : null, H = (e) => de(e, ln.value), un = (e) => ue(e, ln.value), dn = () => {
|
|
525
|
+
k.value || (Mt.value = !0, D("active"), k.value = !0, document.addEventListener("focusin", U), document.addEventListener("click", U));
|
|
526
|
+
}, U = (e) => {
|
|
507
527
|
let t = e.target;
|
|
508
|
-
t instanceof HTMLElement &&
|
|
509
|
-
},
|
|
510
|
-
$({ finalize: !0 }),
|
|
511
|
-
},
|
|
512
|
-
let n =
|
|
528
|
+
t instanceof HTMLElement && Wt.value?.$el && (Wt.value.$el.contains(t) || fn());
|
|
529
|
+
}, fn = () => {
|
|
530
|
+
$({ finalize: !0 }), kr() && (Dr(), Y()), k.value = !1, Nt(), D("inactive"), document.removeEventListener("focusin", U), document.removeEventListener("click", U);
|
|
531
|
+
}, pn = (e, t) => {
|
|
532
|
+
let n = un(t);
|
|
513
533
|
if (!n.isValid()) return;
|
|
514
534
|
let r = q.value[e];
|
|
515
|
-
r.day = n.format("DD"), r.month = n.format("MM"), r.year = n.format("YYYY");
|
|
516
|
-
},
|
|
517
|
-
let { week: t, year: n } =
|
|
535
|
+
w && V.value ? Bn(r, n) : (r.day = n.format("DD"), r.month = n.format("MM"), r.year = n.format("YYYY"));
|
|
536
|
+
}, mn = (e) => {
|
|
537
|
+
let { week: t, year: n } = oe(e);
|
|
518
538
|
return {
|
|
519
539
|
week: String(t).padStart(2, "0"),
|
|
520
540
|
year: String(n).padStart(4, "0")
|
|
521
541
|
};
|
|
522
|
-
},
|
|
523
|
-
if (e === null && E.range && (e = []), !
|
|
542
|
+
}, hn = { "onUpdate:modelValue": (e) => {
|
|
543
|
+
if (e === null && E.range && (e = []), !M.value) D("update:modelValue", e);
|
|
524
544
|
else if (e === null || Array.isArray(e) && !e.length) q.value.start = J(), q.value.end = J(), Y(), Q(E.range ? [] : null);
|
|
525
545
|
else if (Array.isArray(e)) {
|
|
526
546
|
let [t, n] = e;
|
|
527
|
-
t ?
|
|
528
|
-
} else
|
|
529
|
-
} },
|
|
547
|
+
t ? pn("start", t) : q.value.start = J(), n ? pn("end", n) : q.value.end = J(), Y(), $({ finalize: !1 });
|
|
548
|
+
} else pn("start", e), Y(), $({ finalize: !1 });
|
|
549
|
+
} }, gn = (e) => {
|
|
530
550
|
let t = q.value[e];
|
|
531
|
-
return
|
|
532
|
-
},
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
},
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
551
|
+
return P.value ? !!(t.week && t.year && t.year.length === 4) : !!(t.day && t.month && (w ? _n(t) : t.year.length === 4));
|
|
552
|
+
}, _n = (e) => {
|
|
553
|
+
let t = V.value;
|
|
554
|
+
return t ? t.eras.length && !e.era ? !1 : t.yearFullLength ? e.year.length === t.yearDigits : !!e.year : e.year.length === 4;
|
|
555
|
+
}, vn = y("start"), yn = (e, t) => {
|
|
556
|
+
vn.value = e.segment, rr(e), D("focus", t);
|
|
557
|
+
}, bn = p(() => E.range ? gn(vn.value) ? vn.value : gn("end") ? "end" : "start" : "start"), xn = ({ unit: e, value: t }) => {
|
|
558
|
+
let n = q.value[bn.value];
|
|
559
|
+
e === "hour" ? fr(n, parseInt(t, 10)) : e === "meridiem" ? n.meridiem = W.label(t === "PM" ? "PM" : "AM") : n[e] = t, n.hour ||= E.ampm ? "12" : "00", E.ampm && !n.meridiem && (n.meridiem = W.am.value), n.minute ||= "00", E.seconds && !n.second && (n.second = "00"), Y(), $({ finalize: !1 });
|
|
560
|
+
}, Sn = p(() => we(E.type)), Cn = (e) => {
|
|
561
|
+
if (P.value) return I("datePicker.weekSpan", String(oe(e).week), De(f(e), O.locale)).value;
|
|
562
|
+
let t = Se(e, O.locale, Sn.value);
|
|
563
|
+
return M.value ? `${t} ${Se(e, O.locale, Te(!!E.ampm, !!E.seconds))}` : t;
|
|
564
|
+
}, wn = (e) => {
|
|
565
|
+
if (er(e) !== "complete") return null;
|
|
543
566
|
let t = q.value[e];
|
|
544
|
-
if (
|
|
545
|
-
let e =
|
|
567
|
+
if (P.value) {
|
|
568
|
+
let e = se(parseInt(t.year, 10), parseInt(t.week, 10));
|
|
546
569
|
return e.isValid() ? e : null;
|
|
547
570
|
}
|
|
548
|
-
let n = G.value
|
|
549
|
-
|
|
550
|
-
|
|
571
|
+
let n = G.value;
|
|
572
|
+
if (w && V.value) {
|
|
573
|
+
let e = V.value.dateOf(Rn(t), n), r = M.value ? jr(t) : null;
|
|
574
|
+
return !e || M.value && !r ? null : r ? e.hour(+r.hour).minute(+r.minute).second(+r.second) : e;
|
|
575
|
+
}
|
|
576
|
+
let r = n.has("day") ? t.day.padStart(2, "0") : "01", i = n.has("month") ? t.month.padStart(2, "0") : "01", a = `${t.year.padStart(4, "0")}-${i}-${r}`, o = T;
|
|
577
|
+
M.value && (a += `T${Pr(e)}`, o += E.seconds ? "THH:mm:ss" : "THH:mm");
|
|
578
|
+
let s = C(a, o, !0);
|
|
551
579
|
return s.isValid() ? s : null;
|
|
552
|
-
},
|
|
580
|
+
}, Tn = p(() => {
|
|
553
581
|
if (E.range) {
|
|
554
|
-
let e =
|
|
555
|
-
return !e || !t ?
|
|
582
|
+
let e = wn("start"), t = wn("end");
|
|
583
|
+
return !e || !t ? I("datePickerInput.emptyRange").value : I("datePickerInput.changeSelectionRange", Cn(e), Cn(t)).value;
|
|
556
584
|
}
|
|
557
|
-
let e =
|
|
558
|
-
return e ?
|
|
559
|
-
}),
|
|
585
|
+
let e = wn("start");
|
|
586
|
+
return e ? I("datePickerInput.changeSelection", Cn(e)).value : I("datePickerInput.emptySelection").value;
|
|
587
|
+
}), En = (e) => {
|
|
560
588
|
if (!e.isValid()) return !0;
|
|
561
|
-
if (
|
|
589
|
+
if (P.value) {
|
|
562
590
|
let t = f(e), n = z.value, r = B.value;
|
|
563
|
-
return n && t.isBefore(R(n), "day") || r && t.add(6, "day").isAfter(R(r), "day") ? !0 : typeof E.selectable == "function" && !E.selectable(
|
|
591
|
+
return n && t.isBefore(R(n), "day") || r && t.add(6, "day").isAfter(R(r), "day") ? !0 : typeof E.selectable == "function" && !E.selectable(H(t));
|
|
564
592
|
}
|
|
565
|
-
let t = !0
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
593
|
+
let t = !0;
|
|
594
|
+
if (w && F.value && N.value) return ge(e, {
|
|
595
|
+
min: E.min,
|
|
596
|
+
max: E.max,
|
|
597
|
+
selectable: E.selectable,
|
|
598
|
+
type: E.type,
|
|
599
|
+
calendar: F.value
|
|
600
|
+
});
|
|
601
|
+
let n = (e) => N.value ? Ht.value : M.value && rn(e) ? "minute" : "day", r = z.value, i = B.value;
|
|
602
|
+
return r && (t &&= e.isSameOrAfter(R(r), n(r))), i && (t &&= e.isSameOrBefore(R(i), n(i))), typeof E.selectable == "function" && (t &&= E.selectable(H(e))), !t;
|
|
603
|
+
}, Dn = () => {
|
|
604
|
+
E.range ? (D("update:modelValue", []), M.value && (Z.value = [], D("update:time", []))) : (D("update:modelValue", null), M.value && (Z.value = null, D("update:time", null)));
|
|
605
|
+
}, On = /* @__PURE__ */ new Set([
|
|
570
606
|
"hour",
|
|
571
607
|
"minute",
|
|
572
608
|
"second",
|
|
573
609
|
"meridiem"
|
|
574
|
-
]), W =
|
|
610
|
+
]), W = Pe(), kn = (e, t) => W.isPm(t) ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e, An = (e) => {
|
|
575
611
|
let t = e >= 12 ? "PM" : "AM", n = e % 12;
|
|
576
612
|
return n === 0 && (n = 12), {
|
|
577
613
|
hour: String(n).padStart(2, "0"),
|
|
578
614
|
meridiem: t
|
|
579
615
|
};
|
|
580
|
-
},
|
|
616
|
+
}, jn = p(() => {
|
|
581
617
|
if (E.type === "year") return {
|
|
582
618
|
order: ["year"],
|
|
583
619
|
separator: "/"
|
|
584
620
|
};
|
|
585
|
-
if (
|
|
621
|
+
if (P.value) return {
|
|
586
622
|
order: ["week", "year"],
|
|
587
623
|
separator: " "
|
|
588
624
|
};
|
|
589
|
-
let e =
|
|
590
|
-
if (E.type === "month") return
|
|
625
|
+
let e = I("datePickerInput.monthFormatSingle").value;
|
|
626
|
+
if (E.type === "month") return Re(e) ?? {
|
|
591
627
|
order: ["month", "year"],
|
|
592
628
|
separator: "/"
|
|
593
629
|
};
|
|
594
|
-
let t =
|
|
595
|
-
return
|
|
630
|
+
let t = I("datePickerInput.dateFormatSingle").value;
|
|
631
|
+
return Ie(t, e) ?? {
|
|
596
632
|
order: [
|
|
597
633
|
"day",
|
|
598
634
|
"month",
|
|
@@ -600,12 +636,21 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
600
636
|
],
|
|
601
637
|
separator: "/"
|
|
602
638
|
};
|
|
603
|
-
}),
|
|
604
|
-
|
|
639
|
+
}), Mn = p(() => {
|
|
640
|
+
let e = jn.value.order;
|
|
641
|
+
if (!w || !V.value?.eras.length) return e;
|
|
642
|
+
let t = e.indexOf("year") + +!V.value.eraFirst;
|
|
643
|
+
return [
|
|
644
|
+
...e.slice(0, t),
|
|
645
|
+
"era",
|
|
646
|
+
...e.slice(t)
|
|
647
|
+
];
|
|
648
|
+
}), G = p(() => new Set(Mn.value)), Nn = p(() => {
|
|
649
|
+
if (!M.value) return [];
|
|
605
650
|
let e = ["hour", "minute"];
|
|
606
651
|
return E.seconds && e.push("second"), E.ampm && e.push("meridiem"), e;
|
|
607
652
|
}), K = p(() => {
|
|
608
|
-
let e = [...
|
|
653
|
+
let e = [...Mn.value, ...Nn.value], t = e.map((e) => ({
|
|
609
654
|
segment: "start",
|
|
610
655
|
field: e
|
|
611
656
|
}));
|
|
@@ -615,12 +660,16 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
615
660
|
field: e
|
|
616
661
|
}));
|
|
617
662
|
return [...t, ...n];
|
|
618
|
-
}),
|
|
663
|
+
}), Pn = p(() => {
|
|
619
664
|
let e = /* @__PURE__ */ new Set(), t = /* @__PURE__ */ new Set();
|
|
620
665
|
return K.value.forEach((n, r) => {
|
|
621
666
|
e.has(n.segment) || (e.add(n.segment), t.add(r));
|
|
622
667
|
}), t;
|
|
623
|
-
}),
|
|
668
|
+
}), Fn = (e) => Pn.value.has(e), In = p(() => ({
|
|
669
|
+
era: {
|
|
670
|
+
kind: "enum",
|
|
671
|
+
maxLength: 0
|
|
672
|
+
},
|
|
624
673
|
week: {
|
|
625
674
|
kind: "numeric",
|
|
626
675
|
maxLength: 2,
|
|
@@ -686,17 +735,28 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
686
735
|
autoAdvanceFrom: 6,
|
|
687
736
|
label: "Second"
|
|
688
737
|
},
|
|
689
|
-
meridiem: W.fieldSpec.value
|
|
690
|
-
|
|
738
|
+
meridiem: W.fieldSpec.value,
|
|
739
|
+
...Ln?.value
|
|
740
|
+
})), Ln = w ? p(() => V.value ? ze(V.value) : null) : null, Rn = (e) => ({
|
|
741
|
+
era: e.era,
|
|
742
|
+
year: e.year,
|
|
743
|
+
month: e.month,
|
|
744
|
+
day: e.day
|
|
745
|
+
}), zn = /* @__PURE__ */ new WeakMap(), Bn = (e, t) => {
|
|
746
|
+
zn.set(nt(e), t);
|
|
747
|
+
let n = V.value.fieldsOf(t);
|
|
748
|
+
e.era = n.era, e.year = n.year, G.value.has("month") && (e.month = n.month), G.value.has("day") && (e.day = n.day);
|
|
749
|
+
}, Vn = p(() => ee(K.value, (e) => e === "meridiem" ? "meridiem" : On.has(e) ? "time" : "date")), Hn = (e) => e.items.at(-1).index, Un = p(() => Le(Ce(O.locale))), Wn = (e) => e.kind === "meridiem" || e.kind === "date" && Un.value ? void 0 : "ltr", Gn = (e, t) => {
|
|
691
750
|
if (e.segment !== t.segment) return "–";
|
|
692
751
|
if (t.field === "meridiem") return "\xA0";
|
|
693
|
-
let n =
|
|
694
|
-
return n && r ? ":" : !n && r ? "\xA0" :
|
|
695
|
-
}, { fields: q, fieldRefs:
|
|
752
|
+
let n = On.has(e.field), r = On.has(t.field);
|
|
753
|
+
return n && r ? ":" : !n && r ? "\xA0" : w && (e.field === "era" && t.field === "year" || e.field === "year" && t.field === "era") ? V.value?.eraSeparator ?? " " : ct && Un.value ? `\u200F${jn.value.separator}` : jn.value.separator;
|
|
754
|
+
}, { fields: q, fieldRefs: Kn, descriptorKey: qn, displayOf: Jn, emptyFieldGroup: J, getSizedValue: Yn, minChars: Xn, updateAllSizedValues: Y, isOwnField: Zn, focusField: Qn, focusFirstField: $n, segmentStatus: er, onFieldInput: tr, onFieldKeydown: nr, onFieldFocus: rr, onFieldBlur: ir, onFieldPaste: ar } = d({
|
|
696
755
|
fieldOrder: K,
|
|
697
|
-
specs:
|
|
756
|
+
specs: In,
|
|
698
757
|
segments: ["start", "end"],
|
|
699
758
|
fieldKeys: [
|
|
759
|
+
"era",
|
|
700
760
|
"week",
|
|
701
761
|
"day",
|
|
702
762
|
"month",
|
|
@@ -717,21 +777,37 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
717
777
|
".",
|
|
718
778
|
" "
|
|
719
779
|
],
|
|
720
|
-
onDirty: () => $({ finalize: !1 })
|
|
721
|
-
|
|
780
|
+
onDirty: () => $({ finalize: !1 }),
|
|
781
|
+
numberingSystem: ct ? () => be(O.locale).numberingSystem : void 0
|
|
782
|
+
}), or = (e, t) => {
|
|
783
|
+
if (w && e.field === "era" && V.value) {
|
|
784
|
+
let n = q.value[e.segment], r = t.target, i = xe(r.value), a = He(V.value, i, n.era), o = i.replace(/\D/g, "");
|
|
785
|
+
if (a && a !== n.era) n.era = a, $({ finalize: !1 });
|
|
786
|
+
else if (o && V.value.eraFirst) {
|
|
787
|
+
n.era ||= V.value.fieldsOf(sr()).era, n.year = o.slice(0, In.value.year.maxLength), r.value = n.era, Y(), Qn({
|
|
788
|
+
segment: e.segment,
|
|
789
|
+
field: "year"
|
|
790
|
+
}, { caretToEnd: !0 }), $({ finalize: !1 });
|
|
791
|
+
return;
|
|
792
|
+
}
|
|
793
|
+
}
|
|
722
794
|
if (e.field === "meridiem") {
|
|
723
795
|
let n = q.value[e.segment], r = W.match(t.target.value, n.meridiem);
|
|
724
796
|
r && r !== n.meridiem && (n.meridiem = r, $({ finalize: !1 }));
|
|
725
797
|
}
|
|
726
|
-
|
|
798
|
+
tr(e, t);
|
|
727
799
|
};
|
|
728
800
|
W.onRelabel((e, t) => {
|
|
729
801
|
for (let n of Object.values(q.value)) n.meridiem === e && (n.meridiem = t);
|
|
730
802
|
Y();
|
|
731
803
|
});
|
|
732
|
-
let
|
|
804
|
+
let sr = () => {
|
|
805
|
+
let { min: e, max: t } = V.value.system.range, n = C().format(T);
|
|
806
|
+
return C(n < e ? e : n > t ? t : n);
|
|
807
|
+
}, cr = (e, t) => E.range ? `${t}-${e.segment}-${e.field}` : `${t}-${e.field}`, lr = (e) => {
|
|
733
808
|
if (E.name) return E.range ? `${E.name}-${e.segment}-${e.field}` : `${E.name}-${e.field}`;
|
|
734
|
-
},
|
|
809
|
+
}, ur = {
|
|
810
|
+
era: "datePickerInput.eraField",
|
|
735
811
|
week: "datePickerInput.weekField",
|
|
736
812
|
day: "datePickerInput.dayField",
|
|
737
813
|
month: "datePickerInput.monthField",
|
|
@@ -740,23 +816,23 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
740
816
|
minute: "datePickerInput.minuteField",
|
|
741
817
|
second: "datePickerInput.secondField",
|
|
742
818
|
meridiem: "datePickerInput.meridiemField"
|
|
743
|
-
},
|
|
744
|
-
let t =
|
|
745
|
-
return E.range ?
|
|
746
|
-
},
|
|
819
|
+
}, dr = (e) => {
|
|
820
|
+
let t = I(ur[e.field]).value;
|
|
821
|
+
return E.range ? I(e.segment === "start" ? "datePickerInput.startFieldLabel" : "datePickerInput.endFieldLabel", t).value : t;
|
|
822
|
+
}, fr = (e, t) => {
|
|
747
823
|
if (!E.ampm) {
|
|
748
824
|
e.hour = String(t).padStart(2, "0");
|
|
749
825
|
return;
|
|
750
826
|
}
|
|
751
|
-
let n =
|
|
827
|
+
let n = An(t);
|
|
752
828
|
e.hour = n.hour, e.meridiem = W.label(n.meridiem);
|
|
753
|
-
},
|
|
829
|
+
}, pr = (e) => {
|
|
754
830
|
if (!e.hour) return 0;
|
|
755
831
|
let t = parseInt(e.hour, 10);
|
|
756
|
-
return E.ampm ?
|
|
757
|
-
},
|
|
832
|
+
return E.ampm ? kn(t, e.meridiem || "AM") : t;
|
|
833
|
+
}, mr = p(() => E.seconds ? "HH:mm:ss" : "HH:mm"), hr = (e) => e.format(mr.value), gr = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, _r = (e) => {
|
|
758
834
|
if (!e) return null;
|
|
759
|
-
let t =
|
|
835
|
+
let t = gr.exec(e);
|
|
760
836
|
if (!t) return null;
|
|
761
837
|
let [, n, r, i] = t;
|
|
762
838
|
return parseInt(n, 10) > 23 || parseInt(r, 10) > 59 || i && parseInt(i, 10) > 59 ? null : {
|
|
@@ -764,28 +840,28 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
764
840
|
minute: r.padStart(2, "0"),
|
|
765
841
|
second: (i ?? "").padStart(i ? 2 : 0, "0")
|
|
766
842
|
};
|
|
767
|
-
},
|
|
768
|
-
if (!
|
|
769
|
-
let n =
|
|
770
|
-
n ? (
|
|
771
|
-
},
|
|
843
|
+
}, vr = (e, t) => {
|
|
844
|
+
if (!M.value) return;
|
|
845
|
+
let n = _r(t);
|
|
846
|
+
n ? (fr(e, parseInt(n.hour, 10)), e.minute = n.minute, e.second = E.seconds ? n.second : "") : (e.hour = "", e.minute = "", e.second = "", e.meridiem = "");
|
|
847
|
+
}, yr = p(() => E.seconds ? "datePickerInput.timeFormatSeconds" : "datePickerInput.timeFormat"), br = p(() => w && V.value?.eras.length ? Ve(V.value, xr.value, I("datePickerInput.dateFormatSingle").value, I("datePickerInput.eraField").value) : xr.value), xr = p(() => {
|
|
772
848
|
if (E.type === "week" || E.type === "month" || E.type === "year") {
|
|
773
849
|
let e = E.type;
|
|
774
|
-
return
|
|
850
|
+
return I(E.range ? `datePickerInput.${e}FormatRange` : `datePickerInput.${e}FormatSingle`).value;
|
|
775
851
|
}
|
|
776
|
-
if (!
|
|
777
|
-
let e = `${
|
|
852
|
+
if (!M.value) return I(E.range ? "datePickerInput.dateFormatRange" : "datePickerInput.dateFormatSingle").value;
|
|
853
|
+
let e = `${I("datePickerInput.dateFormatSingle").value} ${I(yr.value).value}`;
|
|
778
854
|
return E.range ? `${e} – ${e}` : e;
|
|
779
|
-
}),
|
|
855
|
+
}), Sr = p(() => E.placeholder || br.value), Cr = p(() => K.value.every((e) => !q.value[e.segment][e.field])), wr = (e) => {
|
|
780
856
|
if (!e) return J();
|
|
781
|
-
let t =
|
|
857
|
+
let t = un(e);
|
|
782
858
|
if (!t.isValid()) return J();
|
|
783
859
|
let n = J();
|
|
784
|
-
return
|
|
860
|
+
return P.value ? {
|
|
785
861
|
...n,
|
|
786
|
-
...
|
|
787
|
-
} : (G.value.has("day") && (n.day = t.format("DD")), G.value.has("month") && (n.month = t.format("MM")), n.year = t.format("YYYY"),
|
|
788
|
-
},
|
|
862
|
+
...mn(t)
|
|
863
|
+
} : (w && V.value ? Bn(n, t) : (G.value.has("day") && (n.day = t.format("DD")), G.value.has("month") && (n.month = t.format("MM")), n.year = t.format("YYYY")), M.value && !A.floating && (fr(n, t.hour()), n.minute = t.format("mm"), n.second = E.seconds ? t.format("ss") : ""), n);
|
|
864
|
+
}, Tr = (e) => Array.isArray(E.time) ? E.time[e === "start" ? 0 : 1] : e === "start" ? E.time : void 0, Er = (e) => {
|
|
789
865
|
if (!e) q.value = {
|
|
790
866
|
start: J(),
|
|
791
867
|
end: J()
|
|
@@ -794,162 +870,194 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
794
870
|
if (E.range) {
|
|
795
871
|
let [t, n] = Array.isArray(e) ? e : [];
|
|
796
872
|
q.value = {
|
|
797
|
-
start:
|
|
798
|
-
end:
|
|
873
|
+
start: wr(t),
|
|
874
|
+
end: wr(n)
|
|
799
875
|
};
|
|
800
876
|
} else Array.isArray(e) ? q.value = {
|
|
801
877
|
start: J(),
|
|
802
878
|
end: J()
|
|
803
879
|
} : q.value = {
|
|
804
|
-
start:
|
|
880
|
+
start: wr(e),
|
|
805
881
|
end: J()
|
|
806
882
|
};
|
|
807
|
-
if (
|
|
883
|
+
if (M.value && A.floating) for (let e of ["start", "end"]) {
|
|
808
884
|
let t = q.value[e];
|
|
809
|
-
t.day &&
|
|
885
|
+
t.day && vr(t, Tr(e));
|
|
810
886
|
}
|
|
811
887
|
}
|
|
812
|
-
},
|
|
813
|
-
|
|
888
|
+
}, Dr = () => {
|
|
889
|
+
Er(E.modelValue);
|
|
814
890
|
};
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
891
|
+
Er(E.modelValue), Y(), w && at(V, () => {
|
|
892
|
+
Er(E.modelValue), Y();
|
|
893
|
+
});
|
|
894
|
+
let Or = (e) => {
|
|
895
|
+
if (!M.value || A.floating) return;
|
|
818
896
|
let t;
|
|
819
|
-
t = e ? Array.isArray(e) ? e.map((e) =>
|
|
897
|
+
t = e ? Array.isArray(e) ? e.map((e) => hr(un(e))) : hr(un(e)) : null, Z.value = t, D("update:time", t);
|
|
820
898
|
};
|
|
821
|
-
|
|
899
|
+
at(() => E.modelValue, (e) => {
|
|
822
900
|
if (e === null || Array.isArray(e) && e.length === 0) {
|
|
823
|
-
|
|
901
|
+
Er(e), Y(), Or(e);
|
|
824
902
|
return;
|
|
825
903
|
}
|
|
826
904
|
let t = document.activeElement;
|
|
827
|
-
t &&
|
|
828
|
-
}),
|
|
829
|
-
if (!
|
|
905
|
+
t && Zn(t) || (Er(e), Y(), Or(e));
|
|
906
|
+
}), at(() => E.time, (e) => {
|
|
907
|
+
if (!M.value || pe(e ?? null) === pe(Z.value ?? null)) return;
|
|
830
908
|
let t = document.activeElement;
|
|
831
|
-
if (!(t &&
|
|
909
|
+
if (!(t && Zn(t))) {
|
|
832
910
|
for (let e of ["start", "end"]) {
|
|
833
911
|
if (e === "end" && !E.range) break;
|
|
834
|
-
let t =
|
|
835
|
-
t !== void 0 &&
|
|
912
|
+
let t = Tr(e), n = q.value[e];
|
|
913
|
+
t !== void 0 && vr(n, t);
|
|
836
914
|
}
|
|
837
915
|
Y(), $({ finalize: !1 });
|
|
838
916
|
}
|
|
839
917
|
});
|
|
840
|
-
let
|
|
918
|
+
let kr = () => er("start") === "partial" ? !0 : E.range ? er("end") === "partial" : !1, Ar = (e) => {
|
|
841
919
|
let t = q.value[e], n = G.value;
|
|
842
|
-
if (
|
|
920
|
+
if (P.value) {
|
|
843
921
|
if (!t.week || !t.year) return null;
|
|
844
922
|
let n = parseInt(t.year, 10), r = parseInt(t.week, 10);
|
|
845
923
|
if (n < 1e3 || n > 9999 || r < 1) return null;
|
|
846
|
-
let i =
|
|
924
|
+
let i = ce(n);
|
|
847
925
|
r > i && (q.value[e].week = String(i).padStart(2, "0"));
|
|
848
|
-
let a =
|
|
926
|
+
let a = se(n, Math.min(r, i));
|
|
849
927
|
return a.isValid() ? a : null;
|
|
850
928
|
}
|
|
851
929
|
if (n.has("day") && !t.day || n.has("month") && !t.month || !t.year) return null;
|
|
930
|
+
if (w && V.value) {
|
|
931
|
+
let r = M.value ? jr(t) : null;
|
|
932
|
+
if (M.value && !r) return null;
|
|
933
|
+
let i = Rn(t), a = zn.get(nt(q.value[e]));
|
|
934
|
+
if (a && !V.value.eras.length && n.has("month")) {
|
|
935
|
+
let e = V.value.fieldsOf(a), n = parseInt(t.year, 10) - parseInt(e.year, 10);
|
|
936
|
+
n && parseInt(t.month, 10) === parseInt(e.month, 10) && (i = {
|
|
937
|
+
...i,
|
|
938
|
+
month: V.value.fieldsOf(V.value.system.addYears(a, n)).month
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
let o = V.value.nearest(i, n);
|
|
942
|
+
if (!o) return null;
|
|
943
|
+
zn.set(nt(q.value[e]), o);
|
|
944
|
+
let s = V.value.fieldsOf(o);
|
|
945
|
+
for (let r of [
|
|
946
|
+
"era",
|
|
947
|
+
"year",
|
|
948
|
+
"month",
|
|
949
|
+
"day"
|
|
950
|
+
]) n.has(r) && (r === "era" ? t.era !== s.era : parseInt(t[r], 10) !== parseInt(s[r], 10)) && (q.value[e][r] = s[r]);
|
|
951
|
+
return r ? o.hour(+r.hour).minute(+r.minute).second(+r.second) : o;
|
|
952
|
+
}
|
|
852
953
|
let r = n.has("day") ? parseInt(t.day, 10) : 1, i = n.has("month") ? parseInt(t.month, 10) : 1, a = parseInt(t.year, 10);
|
|
853
954
|
if (r < 1 || r > 31 || i < 1 || i > 12 || a < 1e3 || a > 9999) return null;
|
|
854
955
|
let o = t.year.padStart(4, "0"), s = String(i).padStart(2, "0"), c = String(r).padStart(2, "0"), l = "", u = "";
|
|
855
|
-
if (
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
}
|
|
860
|
-
let e = String(Ln(t)).padStart(2, "0"), n = (t.minute || "0").padStart(2, "0"), r = ((E.seconds ? t.second : "") || "0").padStart(2, "0");
|
|
861
|
-
if (parseInt(e, 10) > 23 || parseInt(n, 10) > 59 || parseInt(r, 10) > 59) return null;
|
|
862
|
-
l = `T${e}:${n}:${r}`, u = "THH:mm:ss";
|
|
956
|
+
if (M.value) {
|
|
957
|
+
let e = jr(t);
|
|
958
|
+
if (!e) return null;
|
|
959
|
+
l = `T${e.hour}:${e.minute}:${e.second}`, u = "THH:mm:ss";
|
|
863
960
|
}
|
|
864
|
-
let ee = `${o}-${s}-${c}${l}`, d =
|
|
961
|
+
let ee = `${o}-${s}-${c}${l}`, d = C(ee, T + u, !0);
|
|
865
962
|
if (!d.isValid()) {
|
|
866
|
-
let t =
|
|
867
|
-
d =
|
|
963
|
+
let t = C(`${o}-${s}-01`, T, !0).endOf("month").date(), n = Math.min(r, t), i = `${o}-${s}-${String(n).padStart(2, "0")}${l}`;
|
|
964
|
+
d = C(i, T + u, !0), q.value[e].day = String(n).padStart(2, "0");
|
|
868
965
|
}
|
|
869
966
|
return d.isValid() ? d : null;
|
|
870
|
-
},
|
|
967
|
+
}, jr = (e) => {
|
|
968
|
+
if (E.ampm && e.hour) {
|
|
969
|
+
let t = parseInt(e.hour, 10);
|
|
970
|
+
if (t < 1 || t > 12) return null;
|
|
971
|
+
}
|
|
972
|
+
let t = String(pr(e)).padStart(2, "0"), n = (e.minute || "0").padStart(2, "0"), r = ((E.seconds ? e.second : "") || "0").padStart(2, "0");
|
|
973
|
+
return parseInt(t, 10) > 23 || parseInt(n, 10) > 59 || parseInt(r, 10) > 59 ? null : {
|
|
974
|
+
hour: t,
|
|
975
|
+
minute: n,
|
|
976
|
+
second: r
|
|
977
|
+
};
|
|
978
|
+
}, Mr = (e) => {
|
|
871
979
|
let t = J();
|
|
872
|
-
return
|
|
980
|
+
return P.value ? {
|
|
873
981
|
...t,
|
|
874
|
-
...
|
|
875
|
-
} : (G.value.has("day") && (t.day = e.format("DD")), G.value.has("month") && (t.month = e.format("MM")), t.year = e.format("YYYY"),
|
|
876
|
-
},
|
|
877
|
-
if (
|
|
982
|
+
...mn(e)
|
|
983
|
+
} : (w && V.value ? Bn(t, e) : (G.value.has("day") && (t.day = e.format("DD")), G.value.has("month") && (t.month = e.format("MM")), t.year = e.format("YYYY")), M.value && (fr(t, e.hour()), t.minute = e.format("mm"), t.second = E.seconds ? e.format("ss") : ""), t);
|
|
984
|
+
}, Nr = (e) => {
|
|
985
|
+
if (P.value) {
|
|
878
986
|
let t = f(e), n = z.value ? R(z.value) : null, r = B.value ? R(B.value) : null;
|
|
879
|
-
return n && t.isBefore(n, "day") && (t = f(n), t.isBefore(n, "day") && (t = t.add(1, "week"))), r && t.add(6, "day").isAfter(r, "day") && (t = f(r), t.add(6, "day").isAfter(r, "day") && (t = t.subtract(1, "week"))), t.isSame(f(e), "day") ||
|
|
987
|
+
return n && t.isBefore(n, "day") && (t = f(n), t.isBefore(n, "day") && (t = t.add(1, "week"))), r && t.add(6, "day").isAfter(r, "day") && (t = f(r), t.add(6, "day").isAfter(r, "day") && (t = t.subtract(1, "week"))), t.isSame(f(e), "day") || En(t) ? null : t;
|
|
880
988
|
}
|
|
881
|
-
let t = (t, n) =>
|
|
882
|
-
if (
|
|
883
|
-
let e =
|
|
884
|
-
|
|
989
|
+
let t = (t, n) => M.value && !n ? t.hour(e.hour()).minute(e.minute()).second(e.second()) : t, n = !!(w && F.value && N.value), r = n ? "day" : Ht.value, i = N.value ? r : M.value ? "minute" : "day", a = e, o = z.value, s = B.value;
|
|
990
|
+
if (o) {
|
|
991
|
+
let e = rn(o), n = R(o);
|
|
992
|
+
a.isBefore(n, N.value ? r : M.value && e ? "minute" : "day") && (a = N.value ? n : t(n, e));
|
|
885
993
|
}
|
|
886
|
-
if (
|
|
887
|
-
let e =
|
|
888
|
-
|
|
994
|
+
if (s) {
|
|
995
|
+
let e = rn(s), i = R(s);
|
|
996
|
+
a.isAfter(i, N.value ? r : M.value && e ? "minute" : "day") && (a = N.value ? n ? i : i.startOf(Ht.value) : t(i, e));
|
|
889
997
|
}
|
|
890
|
-
return
|
|
891
|
-
},
|
|
998
|
+
return a.isSame(e, i) || En(a) ? null : a;
|
|
999
|
+
}, X = (e) => {
|
|
892
1000
|
D("error", e);
|
|
893
|
-
},
|
|
894
|
-
let t = q.value[e], n = String(
|
|
1001
|
+
}, Pr = (e) => {
|
|
1002
|
+
let t = q.value[e], n = String(pr(t)).padStart(2, "0"), r = (t.minute || "0").padStart(2, "0");
|
|
895
1003
|
return E.seconds ? `${n}:${r}:${(t.second || "0").padStart(2, "0")}` : `${n}:${r}`;
|
|
896
|
-
},
|
|
897
|
-
if (D("update:modelValue", e), !
|
|
1004
|
+
}, Z = y(void 0), Q = (e) => {
|
|
1005
|
+
if (D("update:modelValue", e), !M.value) return;
|
|
898
1006
|
let t;
|
|
899
|
-
t = e === null ? null : Array.isArray(e) ? e.map((e, t) =>
|
|
1007
|
+
t = e === null ? null : Array.isArray(e) ? e.map((e, t) => Pr(t === 0 ? "start" : "end")) : Pr("start"), Z.value = t, D("update:time", t);
|
|
900
1008
|
}, $ = (e = {}) => {
|
|
901
|
-
let t = !!e.finalize, n =
|
|
1009
|
+
let t = !!e.finalize, n = er("start");
|
|
902
1010
|
if (!E.range) {
|
|
903
1011
|
if (n === "empty") {
|
|
904
1012
|
Q(null);
|
|
905
1013
|
return;
|
|
906
1014
|
}
|
|
907
1015
|
if (n === "partial") return;
|
|
908
|
-
let e =
|
|
1016
|
+
let e = Ar("start");
|
|
909
1017
|
if (!e) return;
|
|
910
|
-
if (
|
|
1018
|
+
if (En(e)) {
|
|
911
1019
|
if (!t) return;
|
|
912
|
-
let n =
|
|
1020
|
+
let n = H(e), r = Nr(e);
|
|
913
1021
|
if (r) {
|
|
914
|
-
let e =
|
|
915
|
-
q.value.start =
|
|
1022
|
+
let e = H(r);
|
|
1023
|
+
q.value.start = Mr(r), Q(e), X({
|
|
916
1024
|
code: "disabled_date",
|
|
917
1025
|
original: n,
|
|
918
1026
|
normalized: e
|
|
919
1027
|
});
|
|
920
|
-
} else q.value.start = J(), Q(null),
|
|
1028
|
+
} else q.value.start = J(), Q(null), X({
|
|
921
1029
|
code: "disabled_date",
|
|
922
1030
|
original: n,
|
|
923
1031
|
normalized: null
|
|
924
1032
|
});
|
|
925
1033
|
return;
|
|
926
1034
|
}
|
|
927
|
-
Q(
|
|
1035
|
+
Q(H(e));
|
|
928
1036
|
return;
|
|
929
1037
|
}
|
|
930
|
-
let r =
|
|
1038
|
+
let r = er("end");
|
|
931
1039
|
if (n === "empty" && r === "empty") {
|
|
932
1040
|
Q([]);
|
|
933
1041
|
return;
|
|
934
1042
|
}
|
|
935
1043
|
if (n === "partial" || r === "partial" || n === "empty") return;
|
|
936
|
-
let i =
|
|
1044
|
+
let i = Ar("start");
|
|
937
1045
|
if (!i) return;
|
|
938
|
-
let a = r === "empty" ? null :
|
|
939
|
-
if (
|
|
1046
|
+
let a = r === "empty" ? null : Ar("end"), o = H(i), s = a ? H(a) : null, c = i, l = !1;
|
|
1047
|
+
if (En(i)) {
|
|
940
1048
|
if (!t) return;
|
|
941
|
-
let e =
|
|
1049
|
+
let e = Nr(i), n = s ? [o, s] : [o];
|
|
942
1050
|
if (!e) {
|
|
943
|
-
q.value.start = J(), q.value.end = J(), Q([]),
|
|
1051
|
+
q.value.start = J(), q.value.end = J(), Q([]), X({
|
|
944
1052
|
code: "disabled_range_start",
|
|
945
1053
|
original: n,
|
|
946
1054
|
normalized: []
|
|
947
1055
|
});
|
|
948
1056
|
return;
|
|
949
1057
|
}
|
|
950
|
-
if (c = e, l = !0, q.value.start =
|
|
951
|
-
let t = [
|
|
952
|
-
Q(t),
|
|
1058
|
+
if (c = e, l = !0, q.value.start = Mr(e), !a) {
|
|
1059
|
+
let t = [H(e)];
|
|
1060
|
+
Q(t), X({
|
|
953
1061
|
code: "disabled_range_start",
|
|
954
1062
|
original: n,
|
|
955
1063
|
normalized: t
|
|
@@ -958,129 +1066,129 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
958
1066
|
}
|
|
959
1067
|
}
|
|
960
1068
|
if (!a) {
|
|
961
|
-
Q([
|
|
1069
|
+
Q([H(c)]);
|
|
962
1070
|
return;
|
|
963
1071
|
}
|
|
964
1072
|
let u = a, ee = !1;
|
|
965
|
-
if (
|
|
1073
|
+
if (En(a)) {
|
|
966
1074
|
if (!t) return;
|
|
967
|
-
let e =
|
|
1075
|
+
let e = Nr(a), n = [o, s];
|
|
968
1076
|
if (!e) {
|
|
969
|
-
let e = [
|
|
970
|
-
q.value.end = J(), Q(e), l &&
|
|
1077
|
+
let e = [H(c)];
|
|
1078
|
+
q.value.end = J(), Q(e), l && X({
|
|
971
1079
|
code: "disabled_range_start",
|
|
972
1080
|
original: n,
|
|
973
1081
|
normalized: e
|
|
974
|
-
}),
|
|
1082
|
+
}), X({
|
|
975
1083
|
code: "disabled_range_end",
|
|
976
1084
|
original: n,
|
|
977
1085
|
normalized: e
|
|
978
1086
|
});
|
|
979
1087
|
return;
|
|
980
1088
|
}
|
|
981
|
-
u = e, ee = !0, q.value.end =
|
|
1089
|
+
u = e, ee = !0, q.value.end = Mr(e);
|
|
982
1090
|
}
|
|
983
|
-
if (u.isBefore(c,
|
|
1091
|
+
if (u.isBefore(c, M.value ? "second" : "day")) {
|
|
984
1092
|
if (!t) return;
|
|
985
|
-
let e = [
|
|
986
|
-
q.value.start = { ...q.value.end }, q.value.end = r, Y(), Q(n), l &&
|
|
1093
|
+
let e = [H(c), H(u)], n = [H(u), H(c)], r = { ...q.value.start };
|
|
1094
|
+
q.value.start = { ...q.value.end }, q.value.end = r, Y(), Q(n), l && X({
|
|
987
1095
|
code: "disabled_range_start",
|
|
988
1096
|
original: [o, s],
|
|
989
1097
|
normalized: n
|
|
990
|
-
}), ee &&
|
|
1098
|
+
}), ee && X({
|
|
991
1099
|
code: "disabled_range_end",
|
|
992
1100
|
original: [o, s],
|
|
993
1101
|
normalized: n
|
|
994
|
-
}),
|
|
1102
|
+
}), X({
|
|
995
1103
|
code: "end_before_start",
|
|
996
1104
|
original: e,
|
|
997
1105
|
normalized: n
|
|
998
1106
|
});
|
|
999
1107
|
return;
|
|
1000
1108
|
}
|
|
1001
|
-
let d = [
|
|
1002
|
-
Q(d), l &&
|
|
1109
|
+
let d = [H(c), H(u)];
|
|
1110
|
+
Q(d), l && X({
|
|
1003
1111
|
code: "disabled_range_start",
|
|
1004
1112
|
original: s ? [o, s] : [o],
|
|
1005
1113
|
normalized: d
|
|
1006
|
-
}), ee &&
|
|
1114
|
+
}), ee && X({
|
|
1007
1115
|
code: "disabled_range_end",
|
|
1008
1116
|
original: [o, s],
|
|
1009
1117
|
normalized: d
|
|
1010
1118
|
});
|
|
1011
1119
|
};
|
|
1012
|
-
return
|
|
1013
|
-
document.removeEventListener("focusin",
|
|
1014
|
-
}), (t, n) => (
|
|
1120
|
+
return Qe(() => {
|
|
1121
|
+
document.removeEventListener("focusin", U), document.removeEventListener("click", U);
|
|
1122
|
+
}), (t, n) => (v(), We(Me, _({
|
|
1015
1123
|
id: u.id,
|
|
1016
1124
|
class: "bb-date-picker-input",
|
|
1017
|
-
clearable: u.clearable &&
|
|
1018
|
-
compact:
|
|
1125
|
+
clearable: u.clearable && Rt.value,
|
|
1126
|
+
compact: x(A).compact,
|
|
1019
1127
|
description: u.description,
|
|
1020
1128
|
disabled: u.disabled,
|
|
1021
|
-
errors:
|
|
1129
|
+
errors: x(wt),
|
|
1022
1130
|
"has-errors": u.hasErrors,
|
|
1023
|
-
"has-value":
|
|
1131
|
+
"has-value": Rt.value,
|
|
1024
1132
|
"has-warnings": u.hasWarnings,
|
|
1025
1133
|
"hide-label": u.hideLabel,
|
|
1026
1134
|
hint: u.hint,
|
|
1027
1135
|
"input-align": u.inputAlign,
|
|
1028
1136
|
label: u.label,
|
|
1029
1137
|
"label-align": u.labelAlign,
|
|
1030
|
-
"label-mode":
|
|
1138
|
+
"label-mode": zt.value,
|
|
1031
1139
|
"label-position": u.labelPosition,
|
|
1032
|
-
layout:
|
|
1140
|
+
layout: x(A).layout,
|
|
1033
1141
|
loading: u.loading,
|
|
1034
1142
|
name: u.name,
|
|
1035
|
-
passthrough:
|
|
1036
|
-
readonly:
|
|
1037
|
-
reverse:
|
|
1038
|
-
"show-asterisk":
|
|
1039
|
-
"show-hint":
|
|
1143
|
+
passthrough: x(j),
|
|
1144
|
+
readonly: x(Ot),
|
|
1145
|
+
reverse: x(A).reverse,
|
|
1146
|
+
"show-asterisk": x(Ct),
|
|
1147
|
+
"show-hint": Lt.value,
|
|
1040
1148
|
warnings: u.warnings
|
|
1041
|
-
},
|
|
1042
|
-
label:
|
|
1043
|
-
input:
|
|
1149
|
+
}, x(j).forwardAttrs), Ge({
|
|
1150
|
+
label: S((e) => [b(t.$slots, "label", Xe(Je(e)))]),
|
|
1151
|
+
input: S(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [Ke(Ne, {
|
|
1044
1152
|
ref_key: "wrapper",
|
|
1045
|
-
ref:
|
|
1046
|
-
active:
|
|
1047
|
-
"append:icon":
|
|
1048
|
-
class:
|
|
1049
|
-
clearable: u.clearable && !
|
|
1050
|
-
compact:
|
|
1153
|
+
ref: Wt,
|
|
1154
|
+
active: k.value,
|
|
1155
|
+
"append:icon": x(E)["append:icon"],
|
|
1156
|
+
class: Ye(["bb-date-picker-input__field", { "bb-date-picker-input__field--range": u.range }]),
|
|
1157
|
+
clearable: u.clearable && !x(fe)(x(Dt)),
|
|
1158
|
+
compact: x(A).compact,
|
|
1051
1159
|
disabled: u.disabled,
|
|
1052
1160
|
"has-errors": i,
|
|
1053
|
-
"has-value":
|
|
1161
|
+
"has-value": Rt.value,
|
|
1054
1162
|
"has-warnings": a,
|
|
1055
1163
|
loading: u.loading,
|
|
1056
|
-
passthrough:
|
|
1057
|
-
"prepend:icon":
|
|
1058
|
-
readonly:
|
|
1164
|
+
passthrough: x(j),
|
|
1165
|
+
"prepend:icon": x(E)["prepend:icon"],
|
|
1166
|
+
readonly: x(Ot),
|
|
1059
1167
|
variant: u.variant,
|
|
1060
|
-
onClick:
|
|
1061
|
-
"onClick:clear":
|
|
1062
|
-
onFocusin:
|
|
1063
|
-
},
|
|
1064
|
-
"prepend:outer":
|
|
1065
|
-
prepend:
|
|
1066
|
-
append:
|
|
1168
|
+
onClick: Zt,
|
|
1169
|
+
"onClick:clear": Dn,
|
|
1170
|
+
onFocusin: dn
|
|
1171
|
+
}, Ge({
|
|
1172
|
+
"prepend:outer": S(() => [b(t.$slots, "prepend:outer")]),
|
|
1173
|
+
prepend: S(() => [b(t.$slots, "prepend")]),
|
|
1174
|
+
append: S(() => [en.value ? m("", !0) : (v(), We(Oe, {
|
|
1067
1175
|
key: 0,
|
|
1068
|
-
"active-segment":
|
|
1069
|
-
adaptive:
|
|
1176
|
+
"active-segment": bn.value,
|
|
1177
|
+
adaptive: x(A).adaptive,
|
|
1070
1178
|
ampm: u.ampm,
|
|
1071
|
-
anchor:
|
|
1179
|
+
anchor: Wt.value,
|
|
1072
1180
|
disabled: u.disabled,
|
|
1073
1181
|
"first-day-of-week": u.firstDayOfWeek,
|
|
1074
|
-
floating:
|
|
1075
|
-
label:
|
|
1182
|
+
floating: x(A).floating,
|
|
1183
|
+
label: Tn.value,
|
|
1076
1184
|
max: u.max,
|
|
1077
1185
|
min: u.min,
|
|
1078
|
-
"model-value":
|
|
1186
|
+
"model-value": x(Dt),
|
|
1079
1187
|
"number-of-months": u.numberOfMonths,
|
|
1080
1188
|
"off-canvas-props": u.offCanvasProps,
|
|
1081
|
-
pt:
|
|
1082
|
-
range:
|
|
1083
|
-
readonly:
|
|
1189
|
+
pt: x(j).forward(Bt, x(ke).states),
|
|
1190
|
+
range: x(E).range,
|
|
1191
|
+
readonly: x(Ot),
|
|
1084
1192
|
seconds: u.seconds,
|
|
1085
1193
|
selectable: u.selectable,
|
|
1086
1194
|
step: u.step,
|
|
@@ -1088,28 +1196,28 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
1088
1196
|
"transition-duration": u.transitionDuration,
|
|
1089
1197
|
type: u.type,
|
|
1090
1198
|
utc: u.utc,
|
|
1091
|
-
onGridPick:
|
|
1092
|
-
onHidden: n[1] ||= (e) =>
|
|
1093
|
-
onHide:
|
|
1094
|
-
onShow:
|
|
1095
|
-
onShown: n[2] ||= (e) =>
|
|
1096
|
-
onTimePick:
|
|
1097
|
-
},
|
|
1098
|
-
activator:
|
|
1099
|
-
"aria-disabled":
|
|
1199
|
+
onGridPick: hn["onUpdate:modelValue"],
|
|
1200
|
+
onHidden: n[1] ||= (e) => x(D)("hidden"),
|
|
1201
|
+
onHide: It,
|
|
1202
|
+
onShow: Ft,
|
|
1203
|
+
onShown: n[2] ||= (e) => x(D)("shown"),
|
|
1204
|
+
onTimePick: xn
|
|
1205
|
+
}, Ge({
|
|
1206
|
+
activator: S(({ props: e }) => [g("button", _({
|
|
1207
|
+
"aria-disabled": x(kt) || void 0,
|
|
1100
1208
|
class: "bb-segmented-field__activator",
|
|
1101
1209
|
disabled: u.disabled || u.readonly,
|
|
1102
1210
|
type: "button"
|
|
1103
|
-
}, _(e,
|
|
1211
|
+
}, _(e, x(j).activator)), [Ke(je, {
|
|
1104
1212
|
class: "bb-segmented-field__trigger-icon",
|
|
1105
|
-
icon:
|
|
1106
|
-
}, null, 8, ["icon"])], 16,
|
|
1107
|
-
day:
|
|
1108
|
-
"day:append":
|
|
1213
|
+
icon: x(ve)
|
|
1214
|
+
}, null, 8, ["icon"])], 16, _t)]),
|
|
1215
|
+
day: S((e) => [b(t.$slots, "day", Xe(Je(e)))]),
|
|
1216
|
+
"day:append": S((e) => [b(t.$slots, "day:append", Xe(Je(e)))]),
|
|
1109
1217
|
_: 2
|
|
1110
|
-
}, [
|
|
1218
|
+
}, [et(jt(), (e) => ({
|
|
1111
1219
|
name: e,
|
|
1112
|
-
fn:
|
|
1220
|
+
fn: S((n) => [b(t.$slots, e, Xe(Je(n)))])
|
|
1113
1221
|
}))]), 1032, [
|
|
1114
1222
|
"active-segment",
|
|
1115
1223
|
"adaptive",
|
|
@@ -1135,76 +1243,85 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
1135
1243
|
"type",
|
|
1136
1244
|
"utc",
|
|
1137
1245
|
"onGridPick"
|
|
1138
|
-
])),
|
|
1246
|
+
])), b(t.$slots, "append", {}, () => [t.$slots.suffix ? (v(), h("span", _({
|
|
1139
1247
|
key: 0,
|
|
1140
1248
|
class: "bb-field-input__suffix"
|
|
1141
|
-
},
|
|
1142
|
-
"append:outer":
|
|
1143
|
-
default:
|
|
1144
|
-
class:
|
|
1145
|
-
"bb-segmented-field__fields--empty":
|
|
1249
|
+
}, x(j).suffix), [b(t.$slots, "suffix")], 16)) : m("", !0)])]),
|
|
1250
|
+
"append:outer": S(() => [b(t.$slots, "append:outer")]),
|
|
1251
|
+
default: S(() => [g("div", {
|
|
1252
|
+
class: Ye(["bb-segmented-field__fields", {
|
|
1253
|
+
"bb-segmented-field__fields--empty": Cr.value,
|
|
1146
1254
|
"bb-segmented-field__fields--range": u.range
|
|
1147
1255
|
}]),
|
|
1148
|
-
style:
|
|
1149
|
-
}, [
|
|
1256
|
+
style: Ze({ "--fields-min-ch": x(Xn) })
|
|
1257
|
+
}, [Cr.value ? (v(), h("span", {
|
|
1150
1258
|
key: 0,
|
|
1151
1259
|
"aria-hidden": "true",
|
|
1152
1260
|
class: "bb-segmented-field__placeholder",
|
|
1153
|
-
onClick: n[0] ||= (...e) =>
|
|
1154
|
-
},
|
|
1155
|
-
|
|
1261
|
+
onClick: n[0] ||= (...e) => x($n) && x($n)(...e)
|
|
1262
|
+
}, tt(Sr.value), 1)) : m("", !0), (v(!0), h(Ue, null, et(Vn.value, (t, n) => (v(), h(Ue, { key: t.key }, [g("span", {
|
|
1263
|
+
class: Ye(["bb-segmented-field__run", `bb-segmented-field__run--${t.kind}`]),
|
|
1264
|
+
dir: Wn(t)
|
|
1265
|
+
}, [(v(!0), h(Ue, null, et(t.items, ({ descriptor: n, index: a }, s) => (v(), h(Ue, { key: x(qn)(n) }, [
|
|
1266
|
+
n.field === "week" ? (v(), h("span", {
|
|
1156
1267
|
key: 0,
|
|
1157
1268
|
"aria-hidden": "true",
|
|
1158
1269
|
class: "bb-segmented-field__separator bb-segmented-field__week-prefix",
|
|
1159
|
-
onClick: (e) =>
|
|
1160
|
-
}, "W", 8,
|
|
1270
|
+
onClick: (e) => x(Qn)(n, { select: !0 })
|
|
1271
|
+
}, "W", 8, ft)) : m("", !0),
|
|
1161
1272
|
g("span", {
|
|
1162
1273
|
class: "bb-segmented-field__field-sizer",
|
|
1163
|
-
"data-value":
|
|
1164
|
-
}, [
|
|
1165
|
-
id:
|
|
1274
|
+
"data-value": x(Yn)(n)
|
|
1275
|
+
}, [ot(g("input", _({
|
|
1276
|
+
id: a === 0 ? r : cr(n, r),
|
|
1166
1277
|
ref_for: !0,
|
|
1167
|
-
ref: (e) =>
|
|
1168
|
-
"aria-describedby":
|
|
1278
|
+
ref: (e) => x(Kn)[x(qn)(n)] = e,
|
|
1279
|
+
"aria-describedby": Kt(o, r),
|
|
1169
1280
|
"aria-disabled": u.disabled || void 0,
|
|
1170
1281
|
"aria-invalid": i ? "true" : void 0,
|
|
1171
|
-
"aria-label":
|
|
1172
|
-
"aria-readonly":
|
|
1173
|
-
autocomplete:
|
|
1174
|
-
autofocus: u.autofocus &&
|
|
1175
|
-
class: ["bb-segmented-field__input", [`bb-segmented-field__input--${
|
|
1282
|
+
"aria-label": dr(n),
|
|
1283
|
+
"aria-readonly": tn.value || void 0,
|
|
1284
|
+
autocomplete: x(A).autocomplete,
|
|
1285
|
+
autofocus: u.autofocus && a === 0,
|
|
1286
|
+
class: ["bb-segmented-field__input", [`bb-segmented-field__input--${n.field}`, `bb-segmented-field__input--${n.segment}`]],
|
|
1176
1287
|
disabled: u.disabled,
|
|
1177
|
-
inputmode:
|
|
1178
|
-
maxlength:
|
|
1179
|
-
name:
|
|
1180
|
-
readonly:
|
|
1181
|
-
required:
|
|
1182
|
-
"aria-required":
|
|
1183
|
-
tabindex:
|
|
1288
|
+
inputmode: nn(n.field),
|
|
1289
|
+
maxlength: In.value[n.field].maxLength,
|
|
1290
|
+
name: lr(n),
|
|
1291
|
+
readonly: tn.value,
|
|
1292
|
+
required: x(Tt),
|
|
1293
|
+
"aria-required": x(Et),
|
|
1294
|
+
tabindex: Fn(a) ? 0 : -1,
|
|
1184
1295
|
type: "text",
|
|
1185
|
-
value:
|
|
1186
|
-
onBlur: (e) =>
|
|
1187
|
-
onFocus: (e) =>
|
|
1188
|
-
onInput: (e) =>
|
|
1189
|
-
onKeydown: (e) =>
|
|
1190
|
-
onPaste: (e) =>
|
|
1191
|
-
}, { ref_for: !0 }, _(
|
|
1192
|
-
|
|
1296
|
+
value: x(Jn)(x(q)[n.segment][n.field]),
|
|
1297
|
+
onBlur: (e) => x(ir)(n),
|
|
1298
|
+
onFocus: (e) => yn(n, e),
|
|
1299
|
+
onInput: (e) => or(n, e),
|
|
1300
|
+
onKeydown: (e) => $t(n, e),
|
|
1301
|
+
onPaste: (e) => x(ar)(n, e)
|
|
1302
|
+
}, { ref_for: !0 }, _(x(j).controlAttrs, x(j).input)), null, 16, mt), [[x(e)]])], 8, pt),
|
|
1303
|
+
s < t.items.length - 1 ? (v(), h("span", {
|
|
1193
1304
|
key: 1,
|
|
1194
1305
|
"aria-hidden": "true",
|
|
1195
|
-
class:
|
|
1306
|
+
class: "bb-segmented-field__separator",
|
|
1196
1307
|
role: "presentation",
|
|
1197
|
-
onClick: (e) =>
|
|
1198
|
-
},
|
|
1199
|
-
], 64))), 128))],
|
|
1200
|
-
|
|
1308
|
+
onClick: (e) => x(Qn)(K.value[a + 1], { select: !0 })
|
|
1309
|
+
}, tt(Gn(K.value[a], K.value[a + 1])), 9, ht)) : m("", !0)
|
|
1310
|
+
], 64))), 128))], 10, dt), n < Vn.value.length - 1 ? (v(), h("span", {
|
|
1311
|
+
key: 0,
|
|
1312
|
+
"aria-hidden": "true",
|
|
1313
|
+
class: Ye(["bb-segmented-field__separator", { "bb-segmented-field__separator--range": K.value[Hn(t)].segment !== K.value[Hn(t) + 1].segment }]),
|
|
1314
|
+
role: "presentation",
|
|
1315
|
+
onClick: (e) => x(Qn)(K.value[Hn(t) + 1], { select: !0 })
|
|
1316
|
+
}, tt(Gn(K.value[Hn(t)], K.value[Hn(t) + 1])), 11, gt)) : m("", !0)], 64))), 128))], 6), g("span", {
|
|
1317
|
+
id: Gt(r),
|
|
1201
1318
|
class: "bb-date-picker-input__accessible-description",
|
|
1202
1319
|
hidden: ""
|
|
1203
|
-
},
|
|
1320
|
+
}, tt(x(I)("datePickerInput.dateFormat")) + " " + tt(br.value), 9, vt)]),
|
|
1204
1321
|
_: 2
|
|
1205
1322
|
}, [t.$slots.prefix ? {
|
|
1206
1323
|
name: "prefix",
|
|
1207
|
-
fn:
|
|
1324
|
+
fn: S(() => [b(t.$slots, "prefix")]),
|
|
1208
1325
|
key: "0"
|
|
1209
1326
|
} : void 0]), 1032, [
|
|
1210
1327
|
"active",
|
|
@@ -1225,7 +1342,7 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
1225
1342
|
_: 2
|
|
1226
1343
|
}, [t.$slots.description ? {
|
|
1227
1344
|
name: "description",
|
|
1228
|
-
fn:
|
|
1345
|
+
fn: S((e) => [b(t.$slots, "description", Xe(Je(e)))]),
|
|
1229
1346
|
key: "0"
|
|
1230
1347
|
} : void 0]), 1040, [
|
|
1231
1348
|
"id",
|
|
@@ -1256,4 +1373,4 @@ var Ze = ["onClick"], Qe = ["data-value"], $e = [
|
|
|
1256
1373
|
]));
|
|
1257
1374
|
}
|
|
1258
1375
|
});
|
|
1259
|
-
export {
|
|
1376
|
+
export { bt as default };
|