bitboss-ui 3.0.0-beta.65 → 3.0.0-beta.67
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 +79 -16
- package/bin/bitboss-ui-mcp.mjs +48 -17
- package/bin/bitboss-ui.mjs +73 -12
- package/dist/_virtual/_plugin-vue_export-helper.js +1 -2
- package/dist/ai/BbAccordion.md +4 -3
- package/dist/ai/BbAlert.md +2 -2
- package/dist/ai/BbAvatar.md +1 -1
- package/dist/ai/BbBadge.md +2 -1
- package/dist/ai/BbBadgeButton.md +6 -5
- package/dist/ai/BbBaseButton.md +26 -21
- package/dist/ai/BbBaseCheckboxIcon.md +1 -0
- package/dist/ai/BbBaseRadioIcon.md +1 -0
- package/dist/ai/BbBaseSwitchIcon.md +1 -0
- package/dist/ai/BbBreadcrumbs.md +9 -1
- package/dist/ai/BbButton.md +74 -22
- package/dist/ai/BbCalendar.md +156 -23
- package/dist/ai/BbCheckbox.md +5 -1
- package/dist/ai/BbCheckboxGroup.md +45 -9
- package/dist/ai/BbColorInput.md +5 -3
- package/dist/ai/BbColorPalette.md +7 -3
- package/dist/ai/BbConfirm.md +38 -81
- package/dist/ai/BbConfirmPortal.md +1 -1
- package/dist/ai/BbDatePicker.md +70 -22
- package/dist/ai/BbDatePickerInput.md +121 -27
- package/dist/ai/BbDialog.md +69 -61
- package/dist/ai/BbDropdown.md +30 -29
- package/dist/ai/BbDropdownButton.md +9 -13
- package/dist/ai/BbDropzone.md +2 -3
- package/dist/ai/BbForm.md +70 -46
- package/dist/ai/BbHost.md +29 -41
- package/dist/ai/BbIcon.md +3 -0
- package/dist/ai/BbNumberInput.md +17 -13
- package/dist/ai/BbOffCanvas.md +21 -14
- package/dist/ai/BbPagination.md +18 -18
- package/dist/ai/BbPopover.md +8 -3
- package/dist/ai/BbPtScope.md +5 -5
- package/dist/ai/BbRadio.md +5 -1
- package/dist/ai/BbRadioGroup.md +45 -8
- package/dist/ai/BbRating.md +5 -4
- package/dist/ai/BbSelect.md +150 -24
- package/dist/ai/BbSelectPopover.md +19 -16
- package/dist/ai/BbSlider.md +6 -4
- package/dist/ai/BbSwitch.md +5 -1
- package/dist/ai/BbTable.md +69 -44
- package/dist/ai/BbTabs.md +128 -64
- package/dist/ai/BbTabsList.md +5 -3
- package/dist/ai/BbTabsPanels.md +3 -1
- package/dist/ai/BbTabsRoot.md +4 -4
- package/dist/ai/BbTag.md +3 -3
- package/dist/ai/BbTextInput.md +23 -9
- package/dist/ai/BbTextarea.md +3 -3
- package/dist/ai/BbTimePicker.md +8 -6
- package/dist/ai/BbTimePickerInput.md +9 -12
- package/dist/ai/BbToast.md +33 -87
- package/dist/ai/BbToastPortal.md +1 -1
- package/dist/ai/BbTooltip.md +2 -2
- package/dist/ai/BbTree.md +2 -2
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +2 -2
- package/dist/ai/CommonFieldInput.md +2 -1
- package/dist/ai/FlatListBox.md +2 -2
- package/dist/ai/GroupedListBox.md +2 -2
- package/dist/ai/ListBox.md +2 -2
- package/dist/ai/OptionsContainer.md +2 -2
- package/dist/ai/changelog.json +595 -525
- package/dist/ai/components.json +92 -88
- package/dist/ai/composables/useBbConfig.md +2 -2
- package/dist/ai/composables/{useBbDialogContext.md → useBbDialog.md} +18 -18
- package/dist/ai/composables/{useBbDropdownContext.md → useBbDropdown.md} +31 -31
- package/dist/ai/composables/{useBbFormContext.md → useBbForm.md} +11 -11
- package/dist/ai/composables/useBbFormField.md +2 -2
- package/dist/ai/composables/{useBbOffCanvasContext.md → useBbOffCanvas.md} +13 -13
- package/dist/ai/composables/{useBbTableContext.md → useBbTable.md} +20 -20
- package/dist/ai/composables/{useBbTabsContext.md → useBbTabs.md} +12 -12
- package/dist/ai/composables/useConfirm.md +42 -54
- package/dist/ai/composables/useToast.md +9 -26
- package/dist/ai/guides/agent-contract.md +57 -43
- package/dist/ai/guides/ai-router.md +1 -1
- package/dist/ai/guides/app-layout.md +32 -23
- package/dist/ai/guides/coherence-playbook.md +4 -2
- package/dist/ai/guides/component-picker.md +37 -33
- package/dist/ai/guides/design-language.md +51 -14
- package/dist/ai/guides/design-tokens.md +99 -44
- package/dist/ai/guides/eslint-rules.md +8 -4
- package/dist/ai/guides/fetch-items-playbook.md +4 -3
- package/dist/ai/guides/floating-bottom-panel.md +1 -1
- package/dist/ai/guides/icons-policy.md +1 -1
- package/dist/ai/guides/inertia-helpers.md +661 -210
- package/dist/ai/guides/inline-edit-playbook.md +1 -1
- package/dist/ai/guides/installation-and-plugin-setup.md +22 -19
- package/dist/ai/guides/migration/adoption-checklist.md +44 -2
- package/dist/ai/guides/migration/components/bb-dialog.md +13 -13
- package/dist/ai/guides/migration/components/bb-dropdown.md +16 -16
- package/dist/ai/guides/migration/components/bb-host.md +15 -14
- package/dist/ai/guides/migration/components/bb-offcanvas.md +10 -10
- package/dist/ai/guides/migration/components/bb-pagination.md +9 -9
- package/dist/ai/guides/migration/components/bb-select.md +2 -3
- package/dist/ai/guides/migration/components/bb-table.md +15 -15
- package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
- package/dist/ai/guides/migration/from-async-validator.md +9 -9
- package/dist/ai/guides/migration/v2-to-v3.md +206 -13
- package/dist/ai/guides/migration/v3-beta-tooling.md +3 -3
- package/dist/ai/guides/options-items-playbook.md +2 -2
- package/dist/ai/guides/page-shell.md +15 -3
- package/dist/ai/guides/passthrough.md +60 -15
- package/dist/ai/guides/preset-components.md +102 -43
- package/dist/ai/guides/typescript-generic-components.md +21 -5
- package/dist/ai/guides/validated-forms.md +23 -14
- package/dist/ai/guides/validation-libraries.md +11 -13
- package/dist/ai/guides/validation-providers.md +3 -3
- package/dist/ai/helpers/definePreset.json +11 -4
- package/dist/ai/helpers/definePreset.ts +98 -41
- package/dist/ai/helpers/inertia/manifest.json +235 -77
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +24 -12
- package/dist/ai/helpers/inertia/usePromiseForm.ts +38 -151
- package/dist/ai/helpers/inertia/usePromiseRouter.ts +295 -0
- package/dist/ai/helpers/inertia/useQueryObject.ts +36 -5
- package/dist/ai/helpers/inertia/useRouteQuery.ts +28 -9
- package/dist/ai/helpers/inertia/utils.ts +53 -10
- package/dist/ai/index.md +15 -15
- package/dist/ai/manifest/common.json +5 -2
- package/dist/ai/manifest/components/BbAccordion.tree.json +3 -1
- package/dist/ai/manifest/components/BbAlert.json +1 -1
- package/dist/ai/manifest/components/BbAvatar.tree.json +1 -1
- package/dist/ai/manifest/components/BbBadge.json +2 -2
- package/dist/ai/manifest/components/BbBadge.tree.json +4 -2
- package/dist/ai/manifest/components/BbBadgeButton.json +11 -6
- package/dist/ai/manifest/components/BbBadgeButton.tree.json +2 -1
- package/dist/ai/manifest/components/BbBaseButton.json +11 -6
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.json +1 -1
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +3 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.json +3 -3
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +7 -3
- package/dist/ai/manifest/components/BbButton.json +10 -5
- package/dist/ai/manifest/components/BbButton.tree.json +10 -3
- package/dist/ai/manifest/components/BbCalendar.json +29 -26
- package/dist/ai/manifest/components/BbCalendar.tree.json +25 -2
- package/dist/ai/manifest/components/BbCheckbox.json +2 -2
- package/dist/ai/manifest/components/BbCheckbox.tree.json +5 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +62 -3
- package/dist/ai/manifest/components/BbCollapsible.json +4 -1
- package/dist/ai/manifest/components/BbColorInput.json +18 -17
- package/dist/ai/manifest/components/BbColorInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbColorPalette.json +4 -1
- package/dist/ai/manifest/components/BbColorPalette.tree.json +7 -2
- package/dist/ai/manifest/components/BbConfirm.json +2 -1
- package/dist/ai/manifest/components/BbConfirm.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePicker.json +33 -27
- package/dist/ai/manifest/components/BbDatePicker.tree.json +3 -4
- package/dist/ai/manifest/components/BbDatePickerInput.json +38 -35
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +7 -4
- package/dist/ai/manifest/components/BbDialog.json +4 -4
- package/dist/ai/manifest/components/BbDialog.tree.json +6 -3
- package/dist/ai/manifest/components/BbDropdown.json +11 -11
- package/dist/ai/manifest/components/BbDropdown.tree.json +3 -3
- package/dist/ai/manifest/components/BbDropdownButton.json +13 -8
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -3
- package/dist/ai/manifest/components/BbDropzone.json +5 -2
- package/dist/ai/manifest/components/BbForm.json +2 -2
- package/dist/ai/manifest/components/BbHost.json +1 -1
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbNumberInput.json +8 -8
- package/dist/ai/manifest/components/BbNumberInput.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.json +4 -4
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +9 -4
- package/dist/ai/manifest/components/BbPagination.json +5 -5
- package/dist/ai/manifest/components/BbPagination.tree.json +3 -2
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
- package/dist/ai/manifest/components/BbProgress.json +4 -1
- package/dist/ai/manifest/components/BbRadio.json +2 -2
- package/dist/ai/manifest/components/BbRadio.tree.json +5 -2
- package/dist/ai/manifest/components/BbRadioGroup.json +6 -6
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +62 -3
- package/dist/ai/manifest/components/BbRating.json +7 -7
- package/dist/ai/manifest/components/BbRating.tree.json +5 -3
- package/dist/ai/manifest/components/BbSelect.json +25 -25
- package/dist/ai/manifest/components/BbSelect.tree.json +3 -3
- package/dist/ai/manifest/components/BbSelectPopover.json +16 -12
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +3 -2
- package/dist/ai/manifest/components/BbSlider.json +14 -14
- package/dist/ai/manifest/components/BbSlider.tree.json +3 -0
- package/dist/ai/manifest/components/BbSmoothHeight.json +4 -1
- package/dist/ai/manifest/components/BbSwitch.json +2 -2
- package/dist/ai/manifest/components/BbSwitch.tree.json +5 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +1 -1
- package/dist/ai/manifest/components/BbTable.json +28 -24
- package/dist/ai/manifest/components/BbTable.tree.json +6 -1
- package/dist/ai/manifest/components/BbTabs.json +13 -16
- package/dist/ai/manifest/components/BbTabs.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsList.json +6 -9
- package/dist/ai/manifest/components/BbTabsList.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsPanels.json +3 -3
- package/dist/ai/manifest/components/BbTabsPanels.tree.json +4 -1
- package/dist/ai/manifest/components/BbTabsRoot.json +5 -5
- package/dist/ai/manifest/components/BbTag.json +2 -2
- package/dist/ai/manifest/components/BbTag.tree.json +2 -2
- package/dist/ai/manifest/components/BbTextInput.json +4 -4
- package/dist/ai/manifest/components/BbTextInput.tree.json +3 -3
- package/dist/ai/manifest/components/BbTextarea.json +3 -3
- package/dist/ai/manifest/components/BbTextarea.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePicker.json +10 -7
- package/dist/ai/manifest/components/BbTimePicker.tree.json +5 -3
- package/dist/ai/manifest/components/BbTimePickerInput.json +19 -19
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbToast.json +1 -1
- package/dist/ai/manifest/components/BbToast.tree.json +3 -1
- package/dist/ai/manifest/components/BbTooltip.json +3 -0
- package/dist/ai/manifest/components/BbTooltip.tree.json +2 -2
- package/dist/ai/manifest/components/BbTree.json +3 -3
- package/dist/ai/manifest/components/BbTree.tree.json +1 -1
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +2 -2
- package/dist/ai/manifest/components/CommonField.tree.json +1 -0
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +4 -2
- package/dist/ai/manifest/components/CommonPopover.tree.json +3 -0
- package/dist/ai/manifest/components/CommonTimeSelector.tree.json +1 -0
- package/dist/ai/manifest/components/FlatListBox.json +2 -2
- package/dist/ai/manifest/components/GroupedListBox.json +2 -2
- package/dist/ai/manifest/components/ListBox.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +3 -3
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +31 -16
- package/dist/ai/manifest/types.advanced.json +17 -13
- package/dist/ai/manifest/types.api.json +2 -2
- package/dist/ai/recipes/inertia/approvals-inbox.md +86 -115
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +112 -120
- package/dist/ai/recipes/inertia/layout-scaffold.md +15 -4
- package/dist/ai/recipes/inertia/onboarding.md +76 -58
- package/dist/ai/recipes/inertia/ownership-atlas.md +74 -105
- package/dist/ai/recipes/inertia/record-form.md +18 -7
- package/dist/ai/recipes/inertia/records-workspace.md +106 -127
- package/dist/ai/recipes/inertia/settings-workspace.md +131 -73
- package/dist/ai/recipes/inertia/upload-center.md +97 -121
- package/dist/ai/recipes/inertia/wizard-form.md +25 -15
- package/dist/ai/recipes/nuxt/approvals-inbox.md +67 -48
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +73 -58
- package/dist/ai/recipes/nuxt/layout-scaffold.md +15 -4
- package/dist/ai/recipes/nuxt/onboarding.md +27 -10
- package/dist/ai/recipes/nuxt/ownership-atlas.md +40 -22
- package/dist/ai/recipes/nuxt/record-form.md +20 -7
- package/dist/ai/recipes/nuxt/records-workspace.md +120 -96
- package/dist/ai/recipes/nuxt/settings-workspace.md +36 -23
- package/dist/ai/recipes/nuxt/upload-center.md +63 -37
- package/dist/ai/recipes/nuxt/wizard-form.md +28 -16
- package/dist/ai/recipes/vue/approvals-inbox.md +74 -46
- package/dist/ai/recipes/vue/inline-edit-workspace.md +83 -56
- package/dist/ai/recipes/vue/layout-scaffold.md +15 -4
- package/dist/ai/recipes/vue/onboarding.md +27 -10
- package/dist/ai/recipes/vue/ownership-atlas.md +40 -22
- package/dist/ai/recipes/vue/record-form.md +20 -7
- package/dist/ai/recipes/vue/records-workspace.md +132 -95
- package/dist/ai/recipes/vue/settings-workspace.md +36 -23
- package/dist/ai/recipes/vue/upload-center.md +73 -37
- package/dist/ai/recipes/vue/wizard-form.md +28 -16
- package/dist/ai/source/BbAccordion.md +36 -6
- package/dist/ai/source/BbAlert.md +11 -5
- package/dist/ai/source/BbAsterisk.md +4 -1
- package/dist/ai/source/BbAvatar.md +12 -6
- package/dist/ai/source/BbBadge.md +72 -21
- package/dist/ai/source/BbBadgeButton.md +71 -18
- package/dist/ai/source/BbBaseButton.md +321 -276
- package/dist/ai/source/BbBaseCheckboxIcon.md +92 -64
- package/dist/ai/source/BbBaseRadioIcon.md +81 -54
- package/dist/ai/source/BbBaseSwitchIcon.md +87 -59
- package/dist/ai/source/BbBreadcrumbs.md +94 -56
- package/dist/ai/source/BbButton.md +180 -31
- package/dist/ai/source/BbCalendar.md +1069 -408
- package/dist/ai/source/BbCheckbox.md +233 -178
- package/dist/ai/source/BbCheckboxGroup.md +36 -21
- package/dist/ai/source/BbCollapsible.md +15 -6
- package/dist/ai/source/BbColorInput.md +142 -38
- package/dist/ai/source/BbColorPalette.md +242 -144
- package/dist/ai/source/BbConfirm.md +25 -7
- package/dist/ai/source/BbConfirmPortal.md +17 -7
- package/dist/ai/source/BbDatePicker.md +302 -178
- package/dist/ai/source/BbDatePickerInput.md +394 -65
- package/dist/ai/source/BbDialog.md +204 -174
- package/dist/ai/source/BbDropdown.md +92 -42
- package/dist/ai/source/BbDropdownButton.md +79 -30
- package/dist/ai/source/BbDropdownGroup.md +53 -15
- package/dist/ai/source/BbDropzone.md +138 -93
- package/dist/ai/source/BbForm.md +18 -7
- package/dist/ai/source/BbHost.md +25 -12
- package/dist/ai/source/BbHoverCard.md +20 -9
- package/dist/ai/source/BbIcon.md +9 -3
- package/dist/ai/source/BbIndicator.md +11 -4
- package/dist/ai/source/BbNumberInput.md +83 -28
- package/dist/ai/source/BbOffCanvas.md +227 -171
- package/dist/ai/source/BbPagination.md +151 -111
- package/dist/ai/source/BbPopover.md +28 -16
- package/dist/ai/source/BbProgress.md +13 -5
- package/dist/ai/source/BbRadio.md +220 -169
- package/dist/ai/source/BbRadioGroup.md +32 -19
- package/dist/ai/source/BbRating.md +208 -154
- package/dist/ai/source/BbSelect.md +133 -35
- package/dist/ai/source/BbSelectPopover.md +462 -371
- package/dist/ai/source/BbSlider.md +308 -217
- package/dist/ai/source/BbSmoothHeight.md +16 -7
- package/dist/ai/source/BbSpinner.md +9 -3
- package/dist/ai/source/BbSwitch.md +95 -17
- package/dist/ai/source/BbSwitchGroup.md +38 -23
- package/dist/ai/source/BbTable.md +641 -423
- package/dist/ai/source/BbTabs.md +120 -62
- package/dist/ai/source/BbTabsList.md +171 -72
- package/dist/ai/source/BbTabsPanels.md +127 -53
- package/dist/ai/source/BbTabsRoot.md +97 -46
- package/dist/ai/source/BbTag.md +58 -24
- package/dist/ai/source/BbTextInput.md +65 -14
- package/dist/ai/source/BbTextarea.md +54 -8
- package/dist/ai/source/BbTimePicker.md +195 -122
- package/dist/ai/source/BbTimePickerInput.md +127 -23
- package/dist/ai/source/BbToast.md +46 -21
- package/dist/ai/source/BbToastPortal.md +47 -22
- package/dist/ai/source/BbTooltip.md +18 -10
- package/dist/ai/source/BbTree.md +26 -6
- package/dist/ai/source/ClearableButton.md +5 -1
- package/dist/ai/source/CommonField.md +67 -11
- package/dist/ai/source/CommonFieldInput.md +61 -27
- package/dist/ai/source/CommonPopover.md +24 -6
- package/dist/ai/source/CommonTimeSelector.md +24 -3
- package/dist/ai/source/ErrorIcon.md +4 -0
- package/dist/ai/source/FlatListBox.md +1 -1
- package/dist/ai/source/GroupedListBox.md +1 -1
- package/dist/ai/source/ListBox.md +10 -2
- package/dist/ai/source/OptionsContainer.md +6 -2
- package/dist/ai/source/WarningIcon.md +4 -0
- package/dist/assets/css/reset.css_inline.js +1 -2
- package/dist/assets/svgs/alert.svg_raw.js +1 -2
- package/dist/assets/svgs/calendar.svg_raw.js +1 -2
- package/dist/assets/svgs/check_stroke.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_down.svg_raw.js +1 -2
- package/dist/assets/svgs/chevron_right.svg_raw.js +1 -2
- package/dist/assets/svgs/clear.svg_raw.js +1 -2
- package/dist/assets/svgs/clock.svg_raw.js +1 -2
- package/dist/assets/svgs/error.svg_raw.js +1 -2
- package/dist/assets/svgs/search.svg_raw.js +1 -2
- package/dist/assets/svgs/spinner.svg_raw.js +1 -2
- package/dist/assets/svgs/star.svg_raw.js +1 -2
- package/dist/assets/svgs/user.svg_raw.js +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +2 -1
- package/dist/components/BbAccordion/BbAccordion.vue.js +1 -2
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/BbAccordion/types.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue.d.ts +2 -1
- package/dist/components/BbAlert/BbAlert.vue.js +1 -2
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +28 -29
- package/dist/components/BbAlert/types.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue.d.ts +3 -1
- package/dist/components/BbAsterisk/BbAsterisk.vue.js +1 -2
- package/dist/components/BbAsterisk/BbAsterisk.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbAsterisk/types.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +3 -1
- package/dist/components/BbAvatar/BbAvatar.vue.js +1 -2
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +23 -24
- package/dist/components/BbAvatar/types.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue.js +1 -2
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBadge/BbBadge.vue.d.ts +5 -3
- package/dist/components/BbBadge/BbBadge.vue.js +1 -2
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +31 -33
- package/dist/components/BbBadge/BbBadgeButton.vue.d.ts +3 -1
- package/dist/components/BbBadge/BbBadgeButton.vue.js +1 -2
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +6 -11
- package/dist/components/BbBadge/badgeButtonContext.js +1 -2
- package/dist/components/BbBadge/types.d.ts +20 -4
- package/dist/components/BbBadge/types.js +7 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue.d.ts +3 -1
- package/dist/components/BbBaseButton/BbBaseButton.vue.js +1 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +89 -90
- package/dist/components/BbBaseButton/RouterComponent.vue.js +1 -2
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +8 -9
- package/dist/components/BbBaseButton/types.d.ts +11 -6
- package/dist/components/BbBaseButton/types.js +6 -2
- package/dist/components/BbBaseButton/useLinkState.d.ts +2 -0
- package/dist/components/BbBaseButton/useLinkState.js +24 -24
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue.js +1 -2
- package/dist/components/BbBaseCheckboxIcon/BbBaseCheckboxIcon.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbBaseCheckboxIcon/types.d.ts +4 -2
- package/dist/components/BbBaseCheckboxIcon/types.js +3 -3
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue.js +1 -2
- package/dist/components/BbBaseRadioIcon/BbBaseRadioIcon.vue_vue_type_script_setup_true_lang.js +13 -14
- package/dist/components/BbBaseRadioIcon/types.d.ts +4 -2
- package/dist/components/BbBaseRadioIcon/types.js +3 -3
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.d.ts +3 -1
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue.js +1 -2
- package/dist/components/BbBaseSwitchIcon/BbBaseSwitchIcon.vue_vue_type_script_setup_true_lang.js +15 -16
- package/dist/components/BbBaseSwitchIcon/types.d.ts +4 -2
- package/dist/components/BbBaseSwitchIcon/types.js +3 -3
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.d.ts +3 -1
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue.js +1 -2
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +158 -169
- package/dist/components/BbBreadcrumbs/estimateBreadcrumbItemWidth.js +1 -2
- package/dist/components/BbBreadcrumbs/types.d.ts +19 -5
- package/dist/components/BbBreadcrumbs/types.js +8 -3
- package/dist/components/BbButton/BbButton.vue.d.ts +2 -1
- package/dist/components/BbButton/BbButton.vue.js +1 -2
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +96 -97
- package/dist/components/BbButton/toggleRoving.js +2 -3
- package/dist/components/BbButton/types.d.ts +11 -6
- package/dist/components/BbButton/types.js +8 -2
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +127 -30
- package/dist/components/BbCalendar/BbCalendar.vue.js +1 -2
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +434 -420
- package/dist/components/BbCalendar/CalendarMonthPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarMonthPanel.vue_vue_type_script_setup_true_lang.js +15 -17
- package/dist/components/BbCalendar/CalendarYearPanel.vue.js +1 -2
- package/dist/components/BbCalendar/CalendarYearPanel.vue_vue_type_script_setup_true_lang.js +55 -57
- package/dist/components/BbCalendar/calendarHost.js +1 -2
- package/dist/components/BbCalendar/types.d.ts +110 -37
- package/dist/components/BbCalendar/types.js +54 -3
- package/dist/components/BbCalendar/useCalendarContext.js +1 -2
- package/dist/components/BbCalendar/useCalendarGrid.d.ts +133 -0
- package/dist/components/BbCalendar/useCalendarGrid.js +201 -204
- package/dist/components/BbCalendar/useDayGrid.d.ts +33 -11
- package/dist/components/BbCalendar/useDayGrid.js +169 -162
- package/dist/components/BbCalendar/useDayjsLocale.d.ts +6 -0
- package/dist/components/BbCalendar/useDayjsLocale.js +10 -4
- package/dist/components/BbCalendar/useToday.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.js +1 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +109 -116
- package/dist/components/BbCheckbox/types.d.ts +4 -2
- package/dist/components/BbCheckbox/types.js +3 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +345 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.js +1 -2
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -132
- package/dist/components/BbCheckboxGroup/types.d.ts +12 -6
- package/dist/components/BbCheckboxGroup/types.js +8 -9
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +3 -1
- package/dist/components/BbCollapsible/BbCollapsible.vue.js +1 -2
- package/dist/components/BbCollapsible/BbCollapsible.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/components/BbCollapsible/types.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +8 -5
- package/dist/components/BbColorInput/BbColorInput.vue.js +1 -2
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +171 -151
- package/dist/components/BbColorInput/types.d.ts +28 -11
- package/dist/components/BbColorInput/types.js +18 -9
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +7 -5
- package/dist/components/BbColorPalette/BbColorPalette.vue.js +1 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +212 -219
- package/dist/components/BbColorPalette/types.d.ts +12 -4
- package/dist/components/BbColorPalette/types.js +4 -3
- package/dist/components/BbConfirm/BbConfirm.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +111 -100
- package/dist/components/BbConfirm/BbConfirmHost.js +9 -10
- package/dist/components/BbConfirm/BbConfirmPortal.vue.js +1 -2
- package/dist/components/BbConfirm/BbConfirmPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbConfirm/confirmEntry.js +1 -2
- package/dist/components/BbConfirm/types.d.ts +8 -4
- package/dist/components/BbConfirm/types.js +3 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +162 -41
- package/dist/components/BbDatePicker/BbDatePicker.vue.js +1 -2
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +167 -219
- package/dist/components/BbDatePicker/types.d.ts +69 -25
- package/dist/components/BbDatePicker/types.js +6 -3
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +395 -37
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.js +1 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +485 -597
- package/dist/components/BbDatePickerInput/dateFieldLayout.js +1 -2
- package/dist/components/BbDatePickerInput/types.d.ts +92 -22
- package/dist/components/BbDatePickerInput/types.js +67 -7
- package/dist/components/BbDialog/BbDialog.vue.d.ts +7 -6
- package/dist/components/BbDialog/BbDialog.vue.js +1 -2
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +233 -238
- package/dist/components/BbDialog/types.d.ts +12 -10
- package/dist/components/BbDialog/types.js +3 -3
- package/dist/components/BbDialog/useDialogStack.d.ts +2 -0
- package/dist/components/BbDialog/useDialogStack.js +7 -4
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +58 -59
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +8 -6
- package/dist/components/BbDropdown/BbDropdown.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +306 -340
- package/dist/components/BbDropdown/BbDropdownGroup.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownGroup.vue_vue_type_script_setup_true_lang.js +19 -22
- package/dist/components/BbDropdown/BbDropdownList.vue.js +1 -2
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +340 -357
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +127 -127
- package/dist/components/BbDropdown/DropdownRow.vue.js +1 -2
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/BbDropdown/normalizeGroups.js +11 -12
- package/dist/components/BbDropdown/types.d.ts +25 -9
- package/dist/components/BbDropdown/types.js +28 -2
- package/dist/components/BbDropdown/useDropdownContext.js +2 -3
- package/dist/components/BbDropdown/useDropdownGroupRegistry.d.ts +1 -1
- package/dist/components/BbDropdown/useDropdownGroupRegistry.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +6 -4
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.js +1 -2
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +65 -68
- package/dist/components/BbDropdownButton/types.d.ts +16 -5
- package/dist/components/BbDropdownButton/types.js +17 -12
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +65 -22
- package/dist/components/BbDropzone/BbDropzone.vue.js +1 -2
- package/dist/components/BbDropzone/BbDropzone.vue_vue_type_script_setup_true_lang.js +141 -150
- package/dist/components/BbDropzone/types.d.ts +19 -5
- package/dist/components/BbDropzone/types.js +8 -2
- package/dist/components/BbForm/BbForm.vue.d.ts +52 -4
- package/dist/components/BbForm/BbForm.vue.js +1 -2
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +154 -159
- package/dist/components/BbForm/BbFormCustomField.js +2 -3
- package/dist/components/BbForm/bindFormField.js +2 -3
- package/dist/components/BbForm/formFields.js +1 -2
- package/dist/components/BbForm/formSchema.js +15 -53
- package/dist/components/BbHost/BbHost.vue.js +1 -2
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +20 -25
- package/dist/components/BbHost/BbHostOpening.js +12 -14
- package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +5 -4
- package/dist/components/BbHoverCard/BbHoverCard.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +160 -165
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue.js +1 -2
- package/dist/components/BbHoverCard/BbHoverCardPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbHoverCard/hoverCardFocus.js +1 -2
- package/dist/components/BbHoverCard/types.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue.d.ts +3 -1
- package/dist/components/BbIcon/BbIcon.vue.js +1 -2
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +24 -25
- package/dist/components/BbIcon/iconCache.js +1 -2
- package/dist/components/BbIcon/types.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue.d.ts +3 -1
- package/dist/components/BbIndicator/BbIndicator.vue.js +1 -2
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +9 -10
- package/dist/components/BbIndicator/types.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +6 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue.js +1 -2
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +336 -369
- package/dist/components/BbNumberInput/numberDisplay.js +1 -2
- package/dist/components/BbNumberInput/platform.js +1 -2
- package/dist/components/BbNumberInput/types.d.ts +29 -6
- package/dist/components/BbNumberInput/types.js +11 -10
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +6 -5
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.js +1 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +347 -373
- package/dist/components/BbOffCanvas/hostCloseLabel.js +1 -2
- package/dist/components/BbOffCanvas/sheetAttrs.d.ts +9 -0
- package/dist/components/BbOffCanvas/sheetAttrs.js +9 -0
- package/dist/components/BbOffCanvas/sheetSnap.js +3 -8
- package/dist/components/BbOffCanvas/types.d.ts +12 -10
- package/dist/components/BbOffCanvas/types.js +3 -3
- package/dist/components/BbOffCanvas/useOffCanvasStack.d.ts +2 -0
- package/dist/components/BbOffCanvas/useOffCanvasStack.js +8 -5
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -1
- package/dist/components/BbPagination/BbPagination.vue.js +1 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +84 -85
- package/dist/components/BbPagination/paginationFit.js +0 -1
- package/dist/components/BbPagination/types.d.ts +17 -9
- package/dist/components/BbPagination/types.js +4 -3
- package/dist/components/BbPopover/BbPopover.vue.d.ts +5 -4
- package/dist/components/BbPopover/BbPopover.vue.js +1 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +139 -157
- package/dist/components/BbPopover/BbPopoverPortal.vue.js +1 -2
- package/dist/components/BbPopover/BbPopoverPortal.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbPopover/types.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue.d.ts +6 -1
- package/dist/components/BbProgress/BbProgress.vue.js +1 -2
- package/dist/components/BbProgress/BbProgress.vue_vue_type_script_setup_true_lang.js +16 -17
- package/dist/components/BbProgress/types.js +1 -2
- package/dist/components/BbPtScope/BbPtScope.vue.js +1 -2
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
- package/dist/components/BbRadio/BbRadio.vue.js +1 -2
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +46 -50
- package/dist/components/BbRadio/types.d.ts +4 -2
- package/dist/components/BbRadio/types.js +3 -3
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +299 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.js +1 -2
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +178 -184
- package/dist/components/BbRadioGroup/types.d.ts +12 -6
- package/dist/components/BbRadioGroup/types.js +8 -9
- package/dist/components/BbRating/BbRating.vue.d.ts +4 -2
- package/dist/components/BbRating/BbRating.vue.js +1 -2
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +143 -155
- package/dist/components/BbRating/types.d.ts +15 -5
- package/dist/components/BbRating/types.js +10 -3
- package/dist/components/BbSelect/BbSelect.vue.d.ts +553 -4
- package/dist/components/BbSelect/BbSelect.vue.js +1 -2
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +173 -205
- package/dist/components/BbSelect/types.d.ts +41 -7
- package/dist/components/BbSelect/types.js +17 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +103 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.js +1 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +571 -630
- package/dist/components/BbSelectPopover/knownItems.js +1 -2
- package/dist/components/BbSelectPopover/sheetChipAttrs.js +1 -2
- package/dist/components/BbSelectPopover/types.d.ts +29 -7
- package/dist/components/BbSelectPopover/types.js +9 -3
- package/dist/components/BbSlider/BbSlider.vue.d.ts +136 -33
- package/dist/components/BbSlider/BbSlider.vue.js +1 -2
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +213 -235
- package/dist/components/BbSlider/types.d.ts +32 -7
- package/dist/components/BbSlider/types.js +10 -3
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +3 -1
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.js +1 -2
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue_vue_type_script_setup_true_lang.js +14 -21
- package/dist/components/BbSmoothHeight/types.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue.d.ts +3 -1
- package/dist/components/BbSpinner/BbSpinner.vue.js +1 -2
- package/dist/components/BbSpinner/BbSpinner.vue_vue_type_script_setup_true_lang.js +14 -15
- package/dist/components/BbSpinner/types.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +4 -2
- package/dist/components/BbSwitch/BbSwitch.vue.js +1 -2
- package/dist/components/BbSwitch/BbSwitch.vue_vue_type_script_setup_true_lang.js +110 -117
- package/dist/components/BbSwitch/types.d.ts +21 -2
- package/dist/components/BbSwitch/types.js +8 -5
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +145 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.js +1 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +155 -160
- package/dist/components/BbSwitchGroup/types.d.ts +11 -4
- package/dist/components/BbSwitchGroup/types.js +4 -5
- package/dist/components/BbTable/BbTable.vue.d.ts +5 -2
- package/dist/components/BbTable/BbTable.vue.js +1 -2
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1143 -1301
- package/dist/components/BbTable/BbTableDataRow.js +1 -2
- package/dist/components/BbTable/BbTableEdgeRow.js +1 -2
- package/dist/components/BbTable/BbTableExpandRow.js +1 -2
- package/dist/components/BbTable/BbTableSelectToggle.js +17 -18
- package/dist/components/BbTable/gridWidgets.js +2 -7
- package/dist/components/BbTable/measuredFloors.js +67 -65
- package/dist/components/BbTable/textRuler.d.ts +3 -1
- package/dist/components/BbTable/textRuler.js +40 -39
- package/dist/components/BbTable/types.d.ts +54 -9
- package/dist/components/BbTable/types.js +45 -3
- package/dist/components/BbTable/useRowReorder.js +179 -203
- package/dist/components/BbTable/utils.d.ts +9 -2
- package/dist/components/BbTable/utils.js +66 -72
- package/dist/components/BbTabs/BbTabs.vue.d.ts +103 -2
- package/dist/components/BbTabs/BbTabs.vue.js +1 -2
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +26 -30
- package/dist/components/BbTabs/BbTabsList.vue.d.ts +11 -1
- package/dist/components/BbTabs/BbTabsList.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +112 -107
- package/dist/components/BbTabs/BbTabsPanels.vue.d.ts +9 -1
- package/dist/components/BbTabs/BbTabsPanels.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsPanels.vue_vue_type_script_setup_true_lang.js +22 -22
- package/dist/components/BbTabs/BbTabsRoot.vue.js +1 -2
- package/dist/components/BbTabs/BbTabsRoot.vue_vue_type_script_setup_true_lang.js +6 -7
- package/dist/components/BbTabs/tablistName.js +1 -2
- package/dist/components/BbTabs/types.d.ts +71 -33
- package/dist/components/BbTabs/types.js +11 -3
- package/dist/components/BbTag/BbTag.vue.d.ts +5 -2
- package/dist/components/BbTag/BbTag.vue.js +1 -2
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +218 -243
- package/dist/components/BbTag/types.d.ts +22 -12
- package/dist/components/BbTag/types.js +19 -9
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +209 -2
- package/dist/components/BbTextInput/BbTextInput.vue.js +1 -2
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +136 -142
- package/dist/components/BbTextInput/types.d.ts +17 -5
- package/dist/components/BbTextInput/types.js +22 -12
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +207 -2
- package/dist/components/BbTextarea/BbTextarea.vue.js +1 -2
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +142 -144
- package/dist/components/BbTextarea/types.d.ts +17 -5
- package/dist/components/BbTextarea/types.js +22 -12
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +84 -38
- package/dist/components/BbTimePicker/BbTimePicker.vue.js +1 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +166 -171
- package/dist/components/BbTimePicker/types.d.ts +31 -7
- package/dist/components/BbTimePicker/types.js +4 -3
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +272 -33
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.js +1 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +295 -327
- package/dist/components/BbTimePickerInput/types.d.ts +45 -9
- package/dist/components/BbTimePickerInput/types.js +17 -7
- package/dist/components/BbToast/BbToast.vue.js +1 -2
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +12 -17
- package/dist/components/BbToast/BbToastMessage.vue.js +1 -2
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +72 -74
- package/dist/components/BbToast/BbToastPortal.vue.js +1 -2
- package/dist/components/BbToast/BbToastPortal.vue_vue_type_script_setup_true_lang.js +2 -3
- package/dist/components/BbToast/BbToastRegion.vue.js +1 -2
- package/dist/components/BbToast/BbToastRegion.vue_vue_type_script_setup_true_lang.js +27 -28
- package/dist/components/BbToast/types.d.ts +17 -5
- package/dist/components/BbToast/types.js +12 -13
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -2
- package/dist/components/BbTooltip/BbTooltip.vue.js +1 -2
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +69 -70
- package/dist/components/BbTooltip/tooltipWarmup.js +0 -1
- package/dist/components/BbTooltip/types.js +1 -2
- package/dist/components/BbTree/BbTree.vue.d.ts +2 -3
- package/dist/components/BbTree/BbTree.vue.js +1 -2
- package/dist/components/BbTree/BbTree.vue_vue_type_script_setup_true_lang.js +28 -27
- package/dist/components/BbTree/BbTreeLevel.vue.js +1 -2
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +12 -20
- package/dist/components/BbTree/context.js +1 -2
- package/dist/components/BbTree/types.d.ts +13 -3
- package/dist/components/BbTree/types.js +4 -3
- package/dist/components/ChipsBox/ChipsBox.vue.js +1 -2
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +24 -26
- package/dist/components/ClearableButton/ClearableButton.vue.d.ts +3 -1
- package/dist/components/ClearableButton/ClearableButton.vue.js +1 -2
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/CloseIcon/CloseButton.vue.d.ts +3 -1
- package/dist/components/CloseIcon/CloseButton.vue.js +2 -3
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +3 -4
- package/dist/components/CommaBox/CommaBox.vue.js +1 -2
- package/dist/components/CommaBox/CommaBox.vue_vue_type_script_setup_true_lang.js +20 -22
- package/dist/components/CommonField/CommonField.vue.d.ts +3 -1
- package/dist/components/CommonField/CommonField.vue.js +1 -2
- package/dist/components/CommonField/CommonField.vue_vue_type_script_setup_true_lang.js +78 -73
- package/dist/components/CommonField/types.d.ts +2 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.d.ts +5 -3
- package/dist/components/CommonFieldInput/CommonFieldInput.vue.js +1 -2
- package/dist/components/CommonFieldInput/CommonFieldInput.vue_vue_type_script_setup_true_lang.js +20 -21
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +5 -4
- package/dist/components/CommonPopover/CommonPopover.vue.js +1 -2
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +90 -89
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue.js +1 -2
- package/dist/components/CommonTimeSelector/CommonTimeSelector.vue_vue_type_script_setup_true_lang.js +29 -38
- package/dist/components/CommonTimeSelector/useMeridiem.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue.d.ts +3 -1
- package/dist/components/ErrorIcon/ErrorIcon.vue.js +1 -2
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue.js +1 -2
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +87 -94
- package/dist/components/FlatListBox/types.d.ts +1 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue.js +1 -2
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +55 -62
- package/dist/components/GroupedListBox/types.d.ts +1 -1
- package/dist/components/ListBox/ListBox.vue.d.ts +1 -1
- package/dist/components/ListBox/ListBox.vue.js +1 -2
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +21 -22
- package/dist/components/ListBox/types.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue.js +1 -2
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +23 -27
- package/dist/components/OptionsContainer/types.d.ts +1 -1
- package/dist/components/Transitions/ScaleFade.vue.js +1 -2
- package/dist/components/Transitions/ScaleFade.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/components/Transitions/Slide.vue.js +4 -5
- package/dist/components/Transitions/Slide.vue_vue_type_script_setup_true_lang.js +4 -5
- package/dist/components/WarningIcon/WarningIcon.vue.d.ts +3 -1
- package/dist/components/WarningIcon/WarningIcon.vue.js +1 -2
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +1 -2
- package/dist/composables/autoHost.d.ts +22 -0
- package/dist/composables/autoHost.js +19 -0
- package/dist/composables/formSubmitLock.js +1 -2
- package/dist/composables/hostOpenings.d.ts +3 -3
- package/dist/composables/hostOpenings.js +7 -12
- package/dist/composables/hostRegistry.d.ts +10 -2
- package/dist/composables/hostRegistry.js +6 -5
- package/dist/composables/overlayRegistry.d.ts +1 -1
- package/dist/composables/overlayRegistry.js +4 -5
- package/dist/composables/ssrMarker.js +1 -2
- package/dist/composables/useActiveInactiveState.js +1 -2
- package/dist/composables/useArray.js +1 -2
- package/dist/composables/useBaseOptions.js +19 -20
- package/dist/composables/useBbConfig.js +1 -2
- package/dist/composables/{useBbDialogContext.d.ts → useBbDialog.d.ts} +9 -9
- package/dist/composables/{useBbDialogContext.js → useBbDialog.js} +19 -23
- package/dist/composables/{useBbDropdownContext.d.ts → useBbDropdown.d.ts} +14 -14
- package/dist/composables/{useBbDropdownContext.js → useBbDropdown.js} +4 -5
- package/dist/composables/{useBbFormContext.d.ts → useBbForm.d.ts} +8 -8
- package/dist/composables/{useBbFormContext.js → useBbForm.js} +8 -12
- package/dist/composables/useBbFormField.js +1 -2
- package/dist/composables/useBbOffCanvas.d.ts +23 -0
- package/dist/composables/useBbOffCanvas.js +7 -0
- package/dist/composables/{useBbTableContext.d.ts → useBbTable.d.ts} +29 -29
- package/dist/composables/{useBbTableContext.js → useBbTable.js} +3 -4
- package/dist/composables/{useBbTabsContext.d.ts → useBbTabs.d.ts} +19 -3
- package/dist/composables/useBbTabs.js +254 -0
- package/dist/composables/useBodyScrollLock.js +1 -2
- package/dist/composables/useBreakpoint.js +1 -2
- package/dist/composables/useCancelableFunction.js +1 -2
- package/dist/composables/useCharacterCounter.js +2 -3
- package/dist/composables/useChoiceIndicator.js +4 -9
- package/dist/composables/useClosingInert.js +3 -8
- package/dist/composables/useCoarsePointer.js +1 -2
- package/dist/composables/useCoherence.js +1 -2
- package/dist/composables/useConfig.js +1 -2
- package/dist/composables/useConfirm.d.ts +28 -31
- package/dist/composables/useConfirm.js +8 -9
- package/dist/composables/useCountdown.js +6 -7
- package/dist/composables/useEscapeStackEntry.js +1 -2
- package/dist/composables/useFormBinding.js +6 -9
- package/dist/composables/useFrameworkDetection.js +1 -2
- package/dist/composables/useHashedWatcher.js +1 -2
- package/dist/composables/useHydrated.js +1 -2
- package/dist/composables/useId.js +1 -2
- package/dist/composables/useImeDismissBlur.js +2 -7
- package/dist/composables/useIndexById.js +1 -2
- package/dist/composables/useInertiaPage.js +1 -2
- package/dist/composables/useItemText.js +3 -3
- package/dist/composables/useItemValue.js +1 -2
- package/dist/composables/useItemsGetter.js +12 -19
- package/dist/composables/useKeyboardInset.js +0 -1
- package/dist/composables/useListboxFocus.js +1 -2
- package/dist/composables/useLocale.js +7 -8
- package/dist/composables/useLogger.js +1 -2
- package/dist/composables/useMobile.js +1 -2
- package/dist/composables/useOnDemandOpener.d.ts +4 -4
- package/dist/composables/useOnDemandOpener.js +12 -13
- package/dist/composables/useOnFalsy.js +1 -2
- package/dist/composables/useOnTruthy.js +1 -2
- package/dist/composables/useOverlayNavigation.js +6 -11
- package/dist/composables/useOverlayYield.js +1 -2
- package/dist/composables/usePassthrough.js +207 -123
- package/dist/composables/usePrefill.js +11 -16
- package/dist/composables/useQuery.js +9 -22
- package/dist/composables/useRefusedCloseAnnouncement.js +1 -2
- package/dist/composables/useRoute.js +1 -2
- package/dist/composables/useRouter.js +1 -2
- package/dist/composables/useSafeArea.js +10 -11
- package/dist/composables/useSafeAreaInternal.js +4 -5
- package/dist/composables/useSegmentedFields.js +5 -17
- package/dist/composables/useServerPrefetch.js +1 -2
- package/dist/composables/useSheetSurface.js +1 -2
- package/dist/composables/useSsrState.js +1 -2
- package/dist/composables/useTableWidthContext.js +2 -3
- package/dist/composables/useToast.d.ts +4 -5
- package/dist/composables/useToast.js +4 -5
- package/dist/composables/useToggleInput.js +1 -2
- package/dist/composables/useTopLayer.js +1 -2
- package/dist/composables/useTypeahead.js +0 -1
- package/dist/composables/useUntil.js +1 -2
- package/dist/composables/useUrlQueryParam.d.ts +1 -1
- package/dist/composables/useUrlQueryParam.js +1 -2
- package/dist/composables/useViewportWidth.js +2 -3
- package/dist/deprecation/ai-deprecations.json.js +1 -2
- package/dist/deprecation/removedProps.js +1 -2
- package/dist/directives/bbColor.js +7 -8
- package/dist/directives/bbDate.js +7 -8
- package/dist/directives/bbDialog.d.ts +1 -1
- package/dist/directives/bbDialog.js +1 -2
- package/dist/directives/bbDropdown.js +14 -15
- package/dist/directives/bbHoverCard.js +8 -9
- package/dist/directives/bbOffCanvas.d.ts +1 -1
- package/dist/directives/bbOffCanvas.js +1 -2
- package/dist/directives/bbPopover.js +12 -13
- package/dist/directives/bbTime.js +7 -8
- package/dist/directives/bbTooltip.js +1 -2
- package/dist/directives/createPopoverDirective.js +6 -17
- package/dist/directives/directivePortal.js +1 -2
- package/dist/directives/overlayTrigger.js +20 -21
- package/dist/directives/renderingInstance.js +4 -8
- package/dist/i18n/locales/cs.json +8 -1
- package/dist/i18n/locales/da.json +8 -1
- package/dist/i18n/locales/de-CH.json +8 -1
- package/dist/i18n/locales/de.json +8 -1
- package/dist/i18n/locales/el.json +8 -1
- package/dist/i18n/locales/en-GB.json +8 -1
- package/dist/i18n/locales/en.json +8 -1
- package/dist/i18n/locales/es-MX.json +8 -1
- package/dist/i18n/locales/es.json +8 -1
- package/dist/i18n/locales/fi.json +8 -1
- package/dist/i18n/locales/fr.json +8 -1
- package/dist/i18n/locales/hu.json +8 -1
- package/dist/i18n/locales/it.json +8 -1
- package/dist/i18n/locales/ja.json +8 -1
- package/dist/i18n/locales/ko.json +8 -1
- package/dist/i18n/locales/nb.json +8 -1
- package/dist/i18n/locales/nl.json +8 -1
- package/dist/i18n/locales/pl.json +8 -1
- package/dist/i18n/locales/pt-BR.json +8 -1
- package/dist/i18n/locales/pt-PT.json +8 -1
- package/dist/i18n/locales/ro.json +8 -1
- package/dist/i18n/locales/ru.json +8 -1
- package/dist/i18n/locales/sv.json +8 -1
- package/dist/i18n/locales/tr.json +8 -1
- package/dist/i18n/locales/uk.json +8 -1
- package/dist/i18n/locales/zh-CN.json +8 -1
- package/dist/i18n/locales/zh-HK.json +8 -1
- package/dist/i18n/locales/zh-TW.json +8 -1
- package/dist/i18n/regionHints.js +1 -2
- package/dist/i18n/regions.js +1 -2
- package/dist/icon-scan.js +6 -11
- package/dist/index.d.ts +15 -15
- package/dist/index.js +88 -88
- package/dist/llms-full.txt +4886 -2972
- package/dist/llms-medium.txt +170 -112
- package/dist/llms.txt +12 -12
- package/dist/locale-blueprint.json +8 -1
- package/dist/nuxt-auto-imports.js +7 -8
- package/dist/nuxt.js +21 -22
- package/dist/passthrough-deduper.js +1 -2
- package/dist/plugin.js +24 -23
- package/dist/project-dts.js +1 -2
- package/dist/runtime/nuxt-plugin.js +39 -38
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.js +1 -2
- package/dist/types/BadgeVariant.js +1 -2
- package/dist/types/ButtonVariant.js +1 -2
- package/dist/types/CheckboxVariant.js +1 -2
- package/dist/types/ConfirmVariant.js +1 -2
- package/dist/types/DatePickerType.d.ts +10 -5
- package/dist/types/DatePickerType.js +3 -4
- package/dist/types/DropdownItemVariant.js +1 -2
- package/dist/types/FieldLayout.js +1 -2
- package/dist/types/IndicatorVariant.js +1 -2
- package/dist/types/InputVariant.js +1 -2
- package/dist/types/RadioVariant.js +1 -2
- package/dist/types/ShapeErased.d.ts +15 -0
- package/dist/types/TabsVariant.js +1 -2
- package/dist/types/ToastVariant.js +1 -2
- package/dist/types/TooltipVariant.js +1 -2
- package/dist/types/fallthrough.d.ts +134 -0
- package/dist/types/passthrough.d.ts +112 -2
- package/dist/types/passthrough.js +19 -13
- package/dist/types/ptComponentMap.d.ts +31 -31
- package/dist/utilities/functions/animationsSettled.js +1 -2
- package/dist/utilities/functions/bytesToUnit.js +1 -2
- package/dist/utilities/functions/chunk.js +1 -2
- package/dist/utilities/functions/clamp.js +1 -2
- package/dist/utilities/functions/clampPrecision.js +1 -2
- package/dist/utilities/functions/convertDateValue.d.ts +5 -2
- package/dist/utilities/functions/convertDateValue.js +19 -13
- package/dist/utilities/functions/curry.js +1 -2
- package/dist/utilities/functions/deburr.js +1 -2
- package/dist/utilities/functions/elementLabel.js +1 -2
- package/dist/utilities/functions/empty.js +1 -2
- package/dist/utilities/functions/extractDomContainer.js +1 -2
- package/dist/utilities/functions/findInTree.js +1 -2
- package/dist/utilities/functions/flattenTree.js +1 -2
- package/dist/utilities/functions/get.js +1 -2
- package/dist/utilities/functions/hasVnodeListener.js +1 -2
- package/dist/utilities/functions/hash.js +1 -2
- package/dist/utilities/functions/head.js +1 -2
- package/dist/utilities/functions/identity.js +1 -2
- package/dist/utilities/functions/indexBy.js +1 -2
- package/dist/utilities/functions/isDateDisabled.js +23 -19
- package/dist/utilities/functions/isEqual.js +1 -2
- package/dist/utilities/functions/isHex.js +1 -2
- package/dist/utilities/functions/isImeComposing.js +1 -2
- package/dist/utilities/functions/isNil.js +1 -2
- package/dist/utilities/functions/isNotEmpty.js +1 -2
- package/dist/utilities/functions/isNotNil.js +1 -2
- package/dist/utilities/functions/isTextEntry.js +1 -2
- package/dist/utilities/functions/isoWeek.d.ts +36 -0
- package/dist/utilities/functions/isoWeek.js +21 -0
- package/dist/utilities/functions/itemProps.js +1 -2
- package/dist/utilities/functions/last.js +1 -2
- package/dist/utilities/functions/matchAnyKey.js +1 -2
- package/dist/utilities/functions/noop.js +1 -2
- package/dist/utilities/functions/normalizeDateBound.d.ts +11 -5
- package/dist/utilities/functions/normalizeDateBound.js +6 -5
- package/dist/utilities/functions/parsePaginationNumber.js +1 -2
- package/dist/utilities/functions/parseSize.js +1 -2
- package/dist/utilities/functions/parseWidthString.js +1 -2
- package/dist/utilities/functions/percentage.js +1 -2
- package/dist/utilities/functions/pickBy.js +1 -2
- package/dist/utilities/functions/range.js +1 -2
- package/dist/utilities/functions/readableValue.js +1 -2
- package/dist/utilities/functions/reject.js +1 -2
- package/dist/utilities/functions/resolveEnumProp.js +1 -2
- package/dist/utilities/functions/responsiveDefault.js +1 -2
- package/dist/utilities/functions/settlesVisible.js +1 -2
- package/dist/utilities/functions/slotKey.js +1 -2
- package/dist/utilities/functions/snapToStep.js +1 -2
- package/dist/utilities/functions/sort.js +1 -2
- package/dist/utilities/functions/throttle.js +1 -2
- package/dist/utilities/functions/toggleInput.js +1 -2
- package/dist/utilities/functions/transpose.js +1 -2
- package/dist/utilities/functions/validateDateFormat.js +1 -2
- package/dist/utilities/functions/wait.js +1 -2
- package/dist/utilities/functions/waitFor.js +2 -7
- package/dist/utilities/functions/warnRemovedAttrs.js +2 -5
- package/dist/utilities/functions/when.js +1 -2
- package/dist/utilities/misc/autofocus.js +1 -2
- package/dist/utilities/misc/iconsInjectionKey.js +1 -2
- package/dist/utilities/misc/listboxMetrics.js +1 -2
- package/dist/utilities/misc/maskaDataOptions.d.ts +12 -0
- package/dist/utilities/misc/maskaDataOptions.js +36 -0
- package/dist/utilities/misc/pageText.d.ts +16 -0
- package/dist/utilities/misc/pageText.js +10 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +1 -2
- package/dist/utilities/misc/ssrValue.js +1 -2
- package/dist/utilities/misc/transitions.js +1 -2
- package/dist/utils/copyData.js +1 -2
- package/dist/utils/cssLayers.js +1 -2
- package/dist/utils/focusVisibility.js +1 -2
- package/dist/utils/injectLibraryStyles.js +3 -12
- package/dist/utils/overlayEscapeStack.js +1 -2
- package/dist/utils/overlaySurfaceIsolation.js +1 -2
- package/dist/utils/passthrough.js +2 -3
- package/dist/utils/ptScope.js +1 -2
- package/dist/utils/versionCheck.js +2 -3
- package/dist/vite-plugin.d.ts +1 -1
- package/dist/vite.js +364 -437
- package/llms.txt +12 -12
- package/package.json +14 -10
- package/scripts/lib/adoption-checklist.json +3 -2
- package/scripts/lib/check-queue.mjs +102 -0
- package/scripts/lib/consumer-install.mjs +64 -0
- package/scripts/lib/css-class-surface.mjs +39 -3
- package/scripts/lib/css-comment-text.mjs +16 -0
- package/scripts/lib/eslint-disable.mjs +9 -1
- package/scripts/lib/eslint-plugin.d.ts +7 -1
- package/scripts/lib/eslint-plugin.mjs +286 -7
- package/scripts/lib/form-v-model.mjs +2 -2
- package/scripts/lib/helper-canon.mjs +34 -2
- package/scripts/lib/helpers-add.mjs +80 -13
- package/scripts/lib/hidden-label-placeholder.mjs +151 -0
- package/scripts/lib/html-attributes.mjs +82 -0
- package/scripts/lib/idiom-scan.mjs +175 -2
- package/scripts/lib/mcp-config.mjs +1 -1
- package/scripts/lib/pack.mjs +55 -0
- package/scripts/lib/portal-names.mjs +3 -3
- package/scripts/lib/prefer-v-bb-dialog.mjs +1 -1
- package/scripts/lib/quiet-gate.mjs +385 -0
- package/scripts/lib/reactive-v-model.mjs +11 -5
- package/scripts/lib/tab-links.mjs +209 -0
- package/scripts/lib/token-color-mix.mjs +114 -0
- package/scripts/lib/toolchain-check.mjs +34 -3
- package/scripts/lib/unstyled-variants.mjs +57 -0
- package/scripts/lib/validate-bb-markup.mjs +149 -4
- package/dist/composables/useBbOffCanvasContext.d.ts +0 -23
- package/dist/composables/useBbOffCanvasContext.js +0 -8
- package/dist/composables/useBbTabsContext.js +0 -252
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { vAutofocus as e } from "../../utilities/misc/autofocus.js";
|
|
2
|
+
import { removedPropsFor as t } from "../../deprecation/removedProps.js";
|
|
3
|
+
import { warnRemovedAttrs as n } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
4
|
+
import r from "../CommonField/CommonField.vue.js";
|
|
5
|
+
import i from "../CommonFieldInput/CommonFieldInput.vue.js";
|
|
3
6
|
import { useConfig as a } from "../../composables/useConfig.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import
|
|
11
|
-
import {
|
|
12
|
-
import
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
import { computed as p, createBlock as we, createCommentVNode as Te, createElementBlock as Ee, createElementVNode as De, createSlots as Oe, createVNode as ke, defineComponent as Ae, guardReactiveProps as je, mergeProps as m, normalizeProps as Me, onBeforeUnmount as Ne, onMounted as Pe, openBlock as Fe, ref as h, renderSlot as g, unref as _, useAttrs as Ie, watch as Le, withCtx as v, withDirectives as Re, withModifiers as ze } from "vue";
|
|
19
|
-
//#region src/components/BbNumberInput/BbNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
20
|
-
var Be = [
|
|
7
|
+
import { useFormBinding as o } from "../../composables/useFormBinding.js";
|
|
8
|
+
import { TEXT_CONTROL_NATIVE_ATTRS as s, formControlPtActive as c, usePassthrough as ee, variantPt as l } from "../../composables/usePassthrough.js";
|
|
9
|
+
import { clamp as te } from "../../utilities/functions/clamp.js";
|
|
10
|
+
import { clampPrecision as ne } from "../../utilities/functions/clampPrecision.js";
|
|
11
|
+
import { isNil as u } from "../../utilities/functions/isNil.js";
|
|
12
|
+
import { isNotNil as d } from "../../utilities/functions/isNotNil.js";
|
|
13
|
+
import { vSsrValue as re } from "../../utilities/misc/ssrValue.js";
|
|
14
|
+
import { intlLocaleOf as ie } from "../BbCalendar/useDayjsLocale.js";
|
|
15
|
+
import { isIPhone as ae } from "./platform.js";
|
|
16
|
+
import { PLAIN_SYMBOLS as oe, affixOf as se, applyEdit as ce, currencyDigitsOf as le, displayIndexOf as ue, formatAffixed as de, isShellOnly as fe, numberSymbolsOf as pe, rawAtRest as f, rawIndexOf as p, rawOfNumber as me, readText as he, snapOffset as ge, spokenAffixed as _e, stripAffix as ve, valueOfRaw as ye, withPaddedMark as be, writeStrategy as xe } from "./numberDisplay.js";
|
|
17
|
+
import { BB_NUMBER_INPUT_PT as m } from "./types.js";
|
|
18
|
+
import { computed as h, createBlock as Se, createCommentVNode as Ce, createElementBlock as we, createElementVNode as Te, createSlots as Ee, createVNode as De, defineComponent as Oe, guardReactiveProps as g, mergeProps as _, normalizeProps as v, onBeforeUnmount as ke, onMounted as Ae, openBlock as je, ref as y, renderSlot as b, unref as x, useAttrs as Me, watch as Ne, withCtx as S, withDirectives as Pe, withModifiers as Fe } from "vue";
|
|
19
|
+
// src/components/BbNumberInput/BbNumberInput.vue?vue&type=script&setup=true&lang.ts
|
|
20
|
+
var Ie = [
|
|
21
21
|
"id",
|
|
22
22
|
"aria-describedby",
|
|
23
23
|
"aria-disabled",
|
|
@@ -37,13 +37,13 @@ var Be = [
|
|
|
37
37
|
"readonly",
|
|
38
38
|
"required",
|
|
39
39
|
"aria-required"
|
|
40
|
-
],
|
|
40
|
+
], Le = [
|
|
41
41
|
"disabled",
|
|
42
42
|
"form",
|
|
43
43
|
"name",
|
|
44
44
|
"value"
|
|
45
|
-
],
|
|
46
|
-
mixins: [
|
|
45
|
+
], C = /*@__PURE__*/ Oe({
|
|
46
|
+
mixins: [l(m)],
|
|
47
47
|
inheritAttrs: !1,
|
|
48
48
|
__name: "BbNumberInput",
|
|
49
49
|
props: {
|
|
@@ -125,12 +125,10 @@ var Be = [
|
|
|
125
125
|
"pt:suffix:disabled": {},
|
|
126
126
|
"pt:suffix:readonly": {},
|
|
127
127
|
"pt:suffix:hasValue": {},
|
|
128
|
-
"pt:clear:
|
|
128
|
+
"pt:clear:hasValue": {},
|
|
129
129
|
"pt:clear:warnings": {},
|
|
130
|
+
"pt:clear:errors": {},
|
|
130
131
|
"pt:clear:loading": {},
|
|
131
|
-
"pt:clear:disabled": {},
|
|
132
|
-
"pt:clear:readonly": {},
|
|
133
|
-
"pt:clear:hasValue": {},
|
|
134
132
|
"pt:root:outline": {},
|
|
135
133
|
"pt:root:secondary": {},
|
|
136
134
|
"pt:root:ghost": {},
|
|
@@ -170,7 +168,7 @@ var Be = [
|
|
|
170
168
|
pt: {},
|
|
171
169
|
"append:icon": {},
|
|
172
170
|
autocomplete: { default: "off" },
|
|
173
|
-
autofocus: {},
|
|
171
|
+
autofocus: { type: [Boolean, String] },
|
|
174
172
|
clearable: { type: Boolean },
|
|
175
173
|
compact: { type: Boolean },
|
|
176
174
|
currency: {},
|
|
@@ -228,86 +226,84 @@ var Be = [
|
|
|
228
226
|
"paste",
|
|
229
227
|
"update:modelValue"
|
|
230
228
|
],
|
|
231
|
-
setup(
|
|
232
|
-
let
|
|
229
|
+
setup(l, { emit: Oe }) {
|
|
230
|
+
let C = l, { props: w, emit: T, showAsterisk: Re, errors: ze, required: Be, ariaRequired: Ve, model: He, readonly: E } = o(C, Oe, {
|
|
233
231
|
componentName: "BbNumberInput",
|
|
234
|
-
identifierFallback: () =>
|
|
232
|
+
identifierFallback: () => C.label,
|
|
235
233
|
emptyValue: () => null,
|
|
236
234
|
leaveOn: "blur"
|
|
237
235
|
});
|
|
238
|
-
process.env.NODE_ENV !== "production" &&
|
|
239
|
-
let
|
|
236
|
+
process.env.NODE_ENV !== "production" && n("BbNumberInput", t("BbNumberInput"));
|
|
237
|
+
let D = a(), O = y(!1), k = h(() => !!E.value || !!w.disabled), Ue = h(() => w.persistentHint || O.value), A = h(() => d(w.modelValue)), We = h(() => !!w.clearable && A.value), Ge = h(() => w.labelMode ?? D.defaultInputLabelMode), j = ee({
|
|
240
238
|
component: "BbNumberInput",
|
|
241
|
-
attrs:
|
|
242
|
-
controlAttrs:
|
|
243
|
-
props:
|
|
244
|
-
parts:
|
|
245
|
-
states:
|
|
246
|
-
active:
|
|
239
|
+
attrs: Me(),
|
|
240
|
+
controlAttrs: s,
|
|
241
|
+
props: w,
|
|
242
|
+
parts: m.parts,
|
|
243
|
+
states: m.states,
|
|
244
|
+
active: c(w, () => A.value),
|
|
247
245
|
variant: {
|
|
248
|
-
...
|
|
249
|
-
current: () =>
|
|
246
|
+
...m.variant,
|
|
247
|
+
current: () => w.variant ?? "outline"
|
|
250
248
|
}
|
|
251
|
-
}),
|
|
252
|
-
maxPrecision:
|
|
253
|
-
minPrecision:
|
|
254
|
-
max:
|
|
255
|
-
localeKey:
|
|
256
|
-
}),
|
|
249
|
+
}), M = y(null), N = h(() => w.disableFormatting ? null : se(ie(D.locale), w.currency, w.unit)), Ke = h(() => N.value?.kind === "currency" ? le(N.value.code, N.value.tag) : null), P = h(() => w.maxPrecision ?? (Ke.value ? Math.max(Ke.value.max, w.minPrecision ?? 0) : 8)), qe = h(() => w.minPrecision ?? Ke.value?.min ?? 0), F = h(() => !!w.disableFormatting && !(qe.value > 0)), I = h(() => w.disableFormatting ? oe : pe(ie(D.locale), N.value?.kind === "currency" ? N.value.code : void 0)), L = h(() => Math.max(0, Math.min(qe.value, P.value))), Je = () => ({
|
|
250
|
+
maxPrecision: P.value,
|
|
251
|
+
minPrecision: qe.value,
|
|
252
|
+
max: w.max,
|
|
253
|
+
localeKey: I.value.decimal === "," ? "," : "."
|
|
254
|
+
}), Ye = (e) => de(e, I.value, { minPrecision: L.value }, N.value), R = (e) => he(ve(e, N.value), I.value), z = {
|
|
257
255
|
raw: "",
|
|
258
256
|
decChar: "",
|
|
259
257
|
groupChar: ""
|
|
260
|
-
},
|
|
258
|
+
}, B = {
|
|
261
259
|
text: "",
|
|
262
260
|
positions: []
|
|
263
|
-
},
|
|
261
|
+
}, V = "", H = !1, Xe = !1, U = !1, W = (e) => {
|
|
264
262
|
if (e == null || e === "") return null;
|
|
265
263
|
let t = Number(e);
|
|
266
264
|
return Number.isFinite(t) ? t : null;
|
|
267
|
-
},
|
|
268
|
-
if (
|
|
269
|
-
let
|
|
270
|
-
return
|
|
271
|
-
}),
|
|
272
|
-
|
|
273
|
-
raw:
|
|
265
|
+
}, G = y(W(w.modelValue)), Ze = h(() => f(G.value, P.value)), Qe = (e) => Ye(f(e, P.value)).text, $e = y(!1), et = h(() => {
|
|
266
|
+
if (!$e.value || w.disableFormatting || O.value || u(w.modelValue)) return;
|
|
267
|
+
let e = W(w.modelValue);
|
|
268
|
+
return N.value && e !== null ? _e(f(e, P.value), L.value, N.value) : Qe(e);
|
|
269
|
+
}), K = (e) => {
|
|
270
|
+
z = {
|
|
271
|
+
raw: be(e, L.value),
|
|
274
272
|
decChar: "",
|
|
275
273
|
groupChar: ""
|
|
276
274
|
};
|
|
277
|
-
},
|
|
278
|
-
let n =
|
|
275
|
+
}, q = () => !!M.value && M.value.ownerDocument.activeElement === M.value, J = (e, t = !1) => {
|
|
276
|
+
let n = M.value;
|
|
279
277
|
if (!n) return;
|
|
280
|
-
let r =
|
|
281
|
-
|
|
282
|
-
let i =
|
|
283
|
-
if (n.value !== i && (t &&
|
|
284
|
-
let t =
|
|
278
|
+
let r = B.shell;
|
|
279
|
+
B = Ye(z.raw);
|
|
280
|
+
let i = B.text;
|
|
281
|
+
if (n.value !== i && (t && q() && tt(n, i, r !== B.shell), n.value !== i && (n.value = i)), V = i, e !== void 0 && q()) {
|
|
282
|
+
let t = ue(B, e);
|
|
285
283
|
n.setSelectionRange(t, t);
|
|
286
284
|
}
|
|
287
|
-
},
|
|
285
|
+
}, tt = (e, t, n) => {
|
|
288
286
|
let r = e.value, i = 0;
|
|
289
287
|
for (; !n && i < r.length && i < t.length && r[i] === t[i];) i++;
|
|
290
288
|
let a = 0;
|
|
291
|
-
if (
|
|
289
|
+
if (xe.span === "minimal" && !n) for (; a < r.length - i && a < t.length - i && r[r.length - 1 - a] === t[t.length - 1 - a];) a++;
|
|
292
290
|
let o = t.slice(i, t.length - a);
|
|
293
|
-
|
|
291
|
+
H = !0;
|
|
294
292
|
try {
|
|
295
293
|
e.setSelectionRange(i, r.length - a), o ? document.execCommand("insertText", !1, o) : document.execCommand("delete");
|
|
296
294
|
} catch {} finally {
|
|
297
|
-
|
|
295
|
+
H = !1;
|
|
298
296
|
}
|
|
299
|
-
},
|
|
300
|
-
let e =
|
|
301
|
-
e !== void 0 && (
|
|
302
|
-
},
|
|
303
|
-
let r =
|
|
297
|
+
}, nt = () => {
|
|
298
|
+
let e = ye(z.raw);
|
|
299
|
+
e !== void 0 && (G.value = e, T("update:modelValue", e));
|
|
300
|
+
}, Y = (e, t, n) => {
|
|
301
|
+
let r = ce(z, e, Je());
|
|
304
302
|
if (r.rejected) {
|
|
305
|
-
let e =
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
L = r, Qe = !1, K(r.caret, n), Qe || x("input", t), it();
|
|
310
|
-
}, at = (e) => [d(R, e.selectionStart ?? e.value.length), d(R, e.selectionEnd ?? e.value.length)], ot = {
|
|
303
|
+
let e = M.value, t = !!e && e.value === B.text && e.selectionStart === e.selectionEnd && p(B, e.selectionStart ?? 0) === r.caret;
|
|
304
|
+
z = r, J(t ? void 0 : r.caret);
|
|
305
|
+
} else z = r, Xe = !1, J(r.caret, n), Xe || T("input", t), nt();
|
|
306
|
+
}, rt = (e) => [p(B, e.selectionStart ?? e.value.length), p(B, e.selectionEnd ?? e.value.length)], it = {
|
|
311
307
|
deleteContentBackward: "deleteBackward",
|
|
312
308
|
deleteContent: "deleteBackward",
|
|
313
309
|
deleteByCut: "deleteBackward",
|
|
@@ -319,11 +315,11 @@ var Be = [
|
|
|
319
315
|
deleteWordForward: "deleteToEnd",
|
|
320
316
|
deleteSoftLineForward: "deleteToEnd",
|
|
321
317
|
deleteHardLineForward: "deleteToEnd"
|
|
322
|
-
},
|
|
318
|
+
}, at = (e) => e.data ?? (e.dataTransfer ? e.dataTransfer.getData("text/plain") : null), ot = (e, t, n) => [...e].length > 1 ? {
|
|
323
319
|
type: "paste",
|
|
324
320
|
start: t,
|
|
325
321
|
end: n,
|
|
326
|
-
raw:
|
|
322
|
+
raw: R(e)
|
|
327
323
|
} : e ? {
|
|
328
324
|
type: "insert",
|
|
329
325
|
start: t,
|
|
@@ -333,15 +329,15 @@ var Be = [
|
|
|
333
329
|
type: "deleteBackward",
|
|
334
330
|
start: t,
|
|
335
331
|
end: n
|
|
336
|
-
},
|
|
337
|
-
let t =
|
|
338
|
-
if (
|
|
339
|
-
if (
|
|
332
|
+
}, st = (e) => {
|
|
333
|
+
let t = M.value;
|
|
334
|
+
if (F.value || H || !t) return;
|
|
335
|
+
if (k.value) {
|
|
340
336
|
e.cancelable && e.preventDefault();
|
|
341
337
|
return;
|
|
342
338
|
}
|
|
343
|
-
if (
|
|
344
|
-
let n = e.inputType, [r, i] =
|
|
339
|
+
if (U || e.isComposing || !e.cancelable || e.inputType === "insertText" && !e.data) return;
|
|
340
|
+
let n = e.inputType, [r, i] = rt(t), a;
|
|
345
341
|
if (n === "insertText") a = {
|
|
346
342
|
type: "insert",
|
|
347
343
|
start: r,
|
|
@@ -349,61 +345,61 @@ var Be = [
|
|
|
349
345
|
text: e.data ?? ""
|
|
350
346
|
};
|
|
351
347
|
else if (n === "insertReplacementText") {
|
|
352
|
-
let t =
|
|
348
|
+
let t = at(e);
|
|
353
349
|
if (t === null || !t && r === i) return;
|
|
354
|
-
a =
|
|
350
|
+
a = ot(t, r, i);
|
|
355
351
|
} else if (n === "insertFromPaste" || n === "insertFromDrop") {
|
|
356
352
|
let t = e.dataTransfer?.getData("text/plain") ?? e.data ?? "";
|
|
357
353
|
a = {
|
|
358
354
|
type: "paste",
|
|
359
355
|
start: r,
|
|
360
356
|
end: i,
|
|
361
|
-
raw:
|
|
357
|
+
raw: R(t)
|
|
362
358
|
};
|
|
363
|
-
} else if (
|
|
359
|
+
} else if (it[n]) {
|
|
364
360
|
let o = t.selectionStart ?? 0, s = t.selectionEnd ?? 0;
|
|
365
|
-
if (
|
|
361
|
+
if (fe(B, o, s)) {
|
|
366
362
|
e.preventDefault();
|
|
367
|
-
let n =
|
|
363
|
+
let n = ge(B, s <= B.hole[0] ? B.hole[0] : B.hole[1]);
|
|
368
364
|
t.setSelectionRange(n, n);
|
|
369
365
|
return;
|
|
370
366
|
}
|
|
371
367
|
a = {
|
|
372
|
-
type:
|
|
368
|
+
type: it[n],
|
|
373
369
|
start: r,
|
|
374
370
|
end: i
|
|
375
371
|
};
|
|
376
372
|
}
|
|
377
|
-
a && (e.preventDefault(),
|
|
378
|
-
},
|
|
379
|
-
let t =
|
|
380
|
-
if (
|
|
381
|
-
let [n, r] =
|
|
382
|
-
e.preventDefault(),
|
|
373
|
+
a && (e.preventDefault(), Y(a, e, !0));
|
|
374
|
+
}, ct = (e) => {
|
|
375
|
+
let t = M.value;
|
|
376
|
+
if (F.value || !t || !e.clipboardData || E.value || w.disabled) return;
|
|
377
|
+
let [n, r] = rt(t), i = e.clipboardData.getData("text/plain");
|
|
378
|
+
e.preventDefault(), Y({
|
|
383
379
|
type: "paste",
|
|
384
380
|
start: n,
|
|
385
381
|
end: r,
|
|
386
|
-
raw:
|
|
382
|
+
raw: R(i)
|
|
387
383
|
}, e, !0);
|
|
388
|
-
},
|
|
384
|
+
}, lt = !1, ut = (e, t) => {
|
|
389
385
|
let n = e.ownerDocument.caretPositionFromPoint?.(t.clientX, t.clientY);
|
|
390
386
|
return n?.offsetNode === e ? n.offset : e.value.length;
|
|
391
|
-
},
|
|
392
|
-
let t =
|
|
393
|
-
if (
|
|
387
|
+
}, dt = (e) => {
|
|
388
|
+
let t = M.value;
|
|
389
|
+
if (F.value || !t || !e.dataTransfer || lt || E.value || w.disabled) return;
|
|
394
390
|
let n = e.dataTransfer.getData("text/plain");
|
|
395
391
|
e.preventDefault();
|
|
396
|
-
let r =
|
|
397
|
-
t.focus(),
|
|
392
|
+
let r = p(B, ut(t, e));
|
|
393
|
+
t.focus(), Y({
|
|
398
394
|
type: "paste",
|
|
399
395
|
start: r,
|
|
400
396
|
end: r,
|
|
401
|
-
raw:
|
|
397
|
+
raw: R(n)
|
|
402
398
|
}, e, !0);
|
|
403
|
-
},
|
|
404
|
-
let e =
|
|
399
|
+
}, ft = () => {
|
|
400
|
+
let e = M.value;
|
|
405
401
|
if (!e) return;
|
|
406
|
-
let t =
|
|
402
|
+
let t = R(e.value), n = ce({
|
|
407
403
|
raw: "",
|
|
408
404
|
decChar: "",
|
|
409
405
|
groupChar: ""
|
|
@@ -411,48 +407,40 @@ var Be = [
|
|
|
411
407
|
type: "paste",
|
|
412
408
|
start: 0,
|
|
413
409
|
end: 0,
|
|
414
|
-
raw:
|
|
415
|
-
},
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
}
|
|
420
|
-
if (W(t.raw), R = Ze(L.raw), R.text === e.value) {
|
|
421
|
-
z = e.value;
|
|
422
|
-
return;
|
|
423
|
-
}
|
|
424
|
-
K(G() ? L.raw.length : void 0);
|
|
425
|
-
}, ht = (e) => {
|
|
426
|
-
let t = O.value;
|
|
410
|
+
raw: t
|
|
411
|
+
}, Je());
|
|
412
|
+
n.rejected ? J(q() ? z.raw.length : void 0) : (K(n.raw), B = Ye(z.raw), B.text === e.value ? V = e.value : J(q() ? z.raw.length : void 0));
|
|
413
|
+
}, pt = (e) => {
|
|
414
|
+
let t = M.value;
|
|
427
415
|
if (!t) return;
|
|
428
|
-
let n =
|
|
416
|
+
let n = V, r = t.value;
|
|
429
417
|
if (n === r) return;
|
|
430
418
|
if (e.inputType === "insertReplacementText") {
|
|
431
|
-
|
|
419
|
+
ht(e, n, r);
|
|
432
420
|
return;
|
|
433
421
|
}
|
|
434
422
|
let i = t.selectionStart ?? r.length, a = 0;
|
|
435
423
|
for (; a < n.length && a < r.length - i && n[n.length - 1 - a] === r[r.length - 1 - a];) a++;
|
|
436
424
|
let o = 0;
|
|
437
425
|
for (; o < n.length - a && o < r.length - a && o < i && n[o] === r[o];) o++;
|
|
438
|
-
let s = r.slice(o, r.length - a), c =
|
|
439
|
-
if (!s &&
|
|
440
|
-
let e =
|
|
441
|
-
|
|
426
|
+
let s = r.slice(o, r.length - a), c = p(B, o), ee = p(B, n.length - a);
|
|
427
|
+
if (!s && fe(B, o, n.length - a)) {
|
|
428
|
+
let e = p(B, o);
|
|
429
|
+
J(e);
|
|
442
430
|
return;
|
|
443
431
|
}
|
|
444
|
-
let
|
|
445
|
-
|
|
432
|
+
let l = /Forward$/.test(e.inputType ?? "");
|
|
433
|
+
Y(s ? {
|
|
446
434
|
type: "insert",
|
|
447
435
|
start: c,
|
|
448
|
-
end:
|
|
436
|
+
end: ee,
|
|
449
437
|
text: s
|
|
450
438
|
} : {
|
|
451
|
-
type:
|
|
439
|
+
type: l ? "deleteForward" : "deleteBackward",
|
|
452
440
|
start: c,
|
|
453
|
-
end:
|
|
441
|
+
end: ee
|
|
454
442
|
}, e, !1);
|
|
455
|
-
},
|
|
443
|
+
}, mt = (e, t, n, r) => {
|
|
456
444
|
let i = e.length - (t.length - n.length);
|
|
457
445
|
if (i < 0) return null;
|
|
458
446
|
let a = null;
|
|
@@ -462,111 +450,115 @@ var Be = [
|
|
|
462
450
|
(a === null || s < Math.abs(a + n.length - r)) && (a = o);
|
|
463
451
|
}
|
|
464
452
|
return a === null ? null : [a, a + i];
|
|
465
|
-
},
|
|
466
|
-
let r =
|
|
453
|
+
}, ht = (e, t, n) => {
|
|
454
|
+
let r = M.value, i = at(e), a = i === null ? null : mt(t, n, i, r.selectionStart ?? n.length), o = i !== null && a ? ot(i, p(B, a[0]), p(B, a[1])) : {
|
|
467
455
|
type: "paste",
|
|
468
456
|
start: 0,
|
|
469
|
-
end:
|
|
470
|
-
raw:
|
|
457
|
+
end: z.raw.length,
|
|
458
|
+
raw: R(n)
|
|
471
459
|
};
|
|
472
|
-
|
|
473
|
-
},
|
|
460
|
+
Y(o, e, !1);
|
|
461
|
+
}, gt = /* @__PURE__ */ new Set([
|
|
474
462
|
"historyUndo",
|
|
475
463
|
"historyRedo",
|
|
476
464
|
""
|
|
477
|
-
]),
|
|
478
|
-
if (
|
|
479
|
-
|
|
465
|
+
]), _t = (e) => {
|
|
466
|
+
if (H) {
|
|
467
|
+
Xe = !0, T("input", e);
|
|
480
468
|
return;
|
|
481
469
|
}
|
|
482
|
-
if (
|
|
483
|
-
if (
|
|
470
|
+
if (U) return;
|
|
471
|
+
if (k.value) return J();
|
|
484
472
|
let t = e.inputType ?? "";
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
}, xt = (e) => {
|
|
493
|
-
if (N.value && T.value && O.value && (O.value.value = b.modelValue?.toString() || ""), !(N.value || !V)) {
|
|
494
|
-
if (V = !1, T.value) return K();
|
|
495
|
-
ht(e);
|
|
473
|
+
gt.has(t) || !(e instanceof InputEvent) ? (ft(), T("input", e), nt()) : pt(e);
|
|
474
|
+
}, vt = () => {
|
|
475
|
+
F.value || (U = !0);
|
|
476
|
+
}, yt = (e) => {
|
|
477
|
+
if (F.value && k.value && M.value && (M.value.value = w.modelValue?.toString() || ""), !F.value && U) {
|
|
478
|
+
if (U = !1, k.value) return J();
|
|
479
|
+
pt(e);
|
|
496
480
|
}
|
|
497
|
-
},
|
|
498
|
-
if (!
|
|
499
|
-
if (
|
|
500
|
-
|
|
481
|
+
}, X = y(null), Z = () => {
|
|
482
|
+
if (!F.value && M.value) {
|
|
483
|
+
if (M.value.value !== V && k.value) return J();
|
|
484
|
+
M.value.value !== V && (ft(), nt(), X.value && (X.value.value = Ze.value));
|
|
501
485
|
}
|
|
502
|
-
},
|
|
503
|
-
|
|
504
|
-
},
|
|
505
|
-
e.persisted &&
|
|
506
|
-
},
|
|
507
|
-
let t = (
|
|
508
|
-
t && e.target === t &&
|
|
509
|
-
},
|
|
510
|
-
let e =
|
|
511
|
-
if (!e || !
|
|
486
|
+
}, bt = (e = !1) => {
|
|
487
|
+
F.value || (K(f(G.value, P.value)), J(e ? z.raw.length : void 0));
|
|
488
|
+
}, xt = (e) => {
|
|
489
|
+
e.persisted && Z();
|
|
490
|
+
}, St = null, Ct = (e) => {
|
|
491
|
+
let t = (X.value ?? M.value)?.form;
|
|
492
|
+
t && e.target === t && Z();
|
|
493
|
+
}, wt = !1, Tt = () => {
|
|
494
|
+
let e = M.value;
|
|
495
|
+
if (!e || !B.hole || H || U || wt || !q() || e.value !== B.text) return;
|
|
512
496
|
let t = e.selectionStart ?? 0;
|
|
513
497
|
if (t !== e.selectionEnd) return;
|
|
514
|
-
let n =
|
|
498
|
+
let n = ge(B, t);
|
|
515
499
|
n !== t && e.setSelectionRange(n, n);
|
|
516
|
-
},
|
|
517
|
-
|
|
500
|
+
}, Q = () => {
|
|
501
|
+
wt = !1, window.removeEventListener("pointerup", Q), window.removeEventListener("pointercancel", Q), Tt();
|
|
502
|
+
}, Et = () => {
|
|
503
|
+
B.hole && (wt = !0, window.addEventListener("pointerup", Q), window.addEventListener("pointercancel", Q));
|
|
504
|
+
}, Dt = (e, t = !0) => {
|
|
505
|
+
let n = Number(ne(e.toString(), P.value));
|
|
506
|
+
return te(n, t ? w.min : -Infinity, w.max);
|
|
518
507
|
}, Ot = () => {
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
if (typeof e != "number" || e >= b.min) return;
|
|
526
|
-
W(ge(b.min, j.value)), U.value = b.min, K(G() ? L.raw.length : void 0), x("update:modelValue", b.min);
|
|
508
|
+
if (k.value) return;
|
|
509
|
+
if (!F.value) {
|
|
510
|
+
Z();
|
|
511
|
+
let e = ye(z.raw);
|
|
512
|
+
if (typeof e != "number" || e >= w.min) return;
|
|
513
|
+
K(me(w.min, P.value)), G.value = w.min, J(q() ? z.raw.length : void 0), T("update:modelValue", w.min);
|
|
527
514
|
return;
|
|
528
515
|
}
|
|
529
|
-
if (!
|
|
530
|
-
let e = Number(
|
|
531
|
-
!Number.isFinite(e) || e >=
|
|
532
|
-
},
|
|
533
|
-
let t = Number(
|
|
534
|
-
return
|
|
535
|
-
},
|
|
536
|
-
if (
|
|
537
|
-
let e =
|
|
538
|
-
|
|
539
|
-
},
|
|
540
|
-
if (
|
|
541
|
-
let e =
|
|
542
|
-
|
|
543
|
-
},
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
516
|
+
if (!M.value?.value) return;
|
|
517
|
+
let e = Number(Bt(M.value.value));
|
|
518
|
+
!Number.isFinite(e) || e >= w.min || (M.value.value = w.min.toString(), T("update:modelValue", w.min));
|
|
519
|
+
}, kt = (e) => {
|
|
520
|
+
let t = Number(w.modelValue || 0);
|
|
521
|
+
return Dt(t + e);
|
|
522
|
+
}, At = () => {
|
|
523
|
+
if (k.value) return;
|
|
524
|
+
let e = kt(w.step * -1);
|
|
525
|
+
T("decrease", e), T("update:modelValue", e);
|
|
526
|
+
}, jt = () => {
|
|
527
|
+
if (k.value) return;
|
|
528
|
+
let e = kt(w.step);
|
|
529
|
+
T("increase", e), T("update:modelValue", e);
|
|
530
|
+
}, $ = h(() => {
|
|
531
|
+
let e = d(w.modelValue) ? Number(w.modelValue) : NaN, t = (t) => k.value || kt(t) === e;
|
|
532
|
+
return {
|
|
533
|
+
increase: jt,
|
|
534
|
+
decrease: At,
|
|
535
|
+
increaseDisabled: t(w.step),
|
|
536
|
+
decreaseDisabled: t(-w.step)
|
|
537
|
+
};
|
|
538
|
+
}), Mt = (e) => {
|
|
539
|
+
if (!F.value) return _t(e);
|
|
540
|
+
if (M.value) {
|
|
541
|
+
if (k.value) M.value.value = w.modelValue?.toString() || "";
|
|
542
|
+
else if (e.target instanceof HTMLInputElement) {
|
|
551
543
|
let t = e.target.value, n = e.target.selectionStart, r = e.target.selectionEnd;
|
|
552
|
-
|
|
544
|
+
T("input", e);
|
|
553
545
|
let i = t;
|
|
554
546
|
i = Lt(i), i = Pt(i), i = Ft(i), i = It(i), zt(i) && (i = Rt(i));
|
|
555
547
|
let a = null;
|
|
556
548
|
if (i) {
|
|
557
|
-
let e =
|
|
558
|
-
Number.isFinite(t) && (a =
|
|
549
|
+
let e = Bt(i), t = Number(e);
|
|
550
|
+
Number.isFinite(t) && (a = Dt(t, !1));
|
|
559
551
|
}
|
|
560
|
-
|
|
561
|
-
let o =
|
|
562
|
-
if (
|
|
552
|
+
T("update:modelValue", a);
|
|
553
|
+
let o = ne(i, P.value);
|
|
554
|
+
if (M.value.value !== o && (M.value.value = o, n !== null && r !== null)) {
|
|
563
555
|
let e = o.length - t.length, i = Math.max(0, n + e), a = Math.max(0, r + e);
|
|
564
|
-
|
|
556
|
+
M.value.setSelectionRange(i, a);
|
|
565
557
|
}
|
|
566
558
|
}
|
|
567
559
|
}
|
|
568
560
|
}, Nt = (e) => {
|
|
569
|
-
e.key === "ArrowUp" ? (e.preventDefault(),
|
|
561
|
+
e.key === "ArrowUp" ? (e.preventDefault(), jt()) : e.key === "ArrowDown" ? (e.preventDefault(), At()) : e.key === "Enter" && (Ot(), !e.isComposing && !U && bt(!0));
|
|
570
562
|
}, Pt = (e) => {
|
|
571
563
|
let t = e.lastIndexOf(","), n = e.lastIndexOf("."), r = (t) => e.split(t).length - 1;
|
|
572
564
|
if (t !== -1 && n !== -1) {
|
|
@@ -576,186 +568,162 @@ var Be = [
|
|
|
576
568
|
let i = t === -1 ? "." : ",";
|
|
577
569
|
return r(i) > 1 ? e.replaceAll(i, "") : e.replace(",", ".");
|
|
578
570
|
}, Ft = (e) => e.length ? [...e[0] + e.slice(1).replaceAll("-", "")].reduce((e, t) => (t === "." && e.includes(".") || e.push(t), e), []).join("").replaceAll(/[^\d.-]/g, "") : "", It = (e) => e.startsWith(".") && e.length === 1 ? "0." : e.startsWith("-.") && e.length === 2 ? "-0." : e, Lt = (e) => e.slice(0, 20), Rt = (e) => {
|
|
579
|
-
let t = Number(e), n =
|
|
571
|
+
let t = Number(e), n = te(t, -Infinity, w.max), r = n.toString();
|
|
580
572
|
return n === t && r.includes("e") ? e : r;
|
|
581
|
-
}, zt = (e) => !(e.length === 0 || e.endsWith(".") || e.endsWith("-") || e.endsWith("-0") || /\.\d*0+$/.test(e)),
|
|
573
|
+
}, zt = (e) => !(e.length === 0 || e.endsWith(".") || e.endsWith("-") || e.endsWith("-0") || /\.\d*0+$/.test(e)), Bt = (e) => {
|
|
582
574
|
let [t, n] = e.split(".");
|
|
583
|
-
return t ||= "0", n ? (n = n?.slice(0,
|
|
584
|
-
},
|
|
585
|
-
onBeforeinput: (e) =>
|
|
575
|
+
return t ||= "0", n ? (n = n?.slice(0, P.value) || "0", `${t}.${n}`) : t;
|
|
576
|
+
}, Vt = {
|
|
577
|
+
onBeforeinput: (e) => st(e),
|
|
586
578
|
onBlur: (e) => {
|
|
587
|
-
|
|
579
|
+
O.value = !1, Z(), Ot(), bt(), T("blur", e);
|
|
588
580
|
},
|
|
589
|
-
onChange: (e) =>
|
|
590
|
-
onClick: (e) =>
|
|
581
|
+
onChange: (e) => T("change", e),
|
|
582
|
+
onClick: (e) => T("click", e),
|
|
591
583
|
onCompositionend: (e) => {
|
|
592
|
-
|
|
584
|
+
yt(e), T("compositionend", e);
|
|
593
585
|
},
|
|
594
586
|
onCompositionstart: (e) => {
|
|
595
|
-
|
|
587
|
+
vt(), T("compositionstart", e);
|
|
596
588
|
},
|
|
597
589
|
onFocus: (e) => {
|
|
598
|
-
|
|
590
|
+
O.value = !0, Z(), T("focus", e);
|
|
599
591
|
},
|
|
600
592
|
onKeydown: (e) => {
|
|
601
|
-
Nt(e),
|
|
593
|
+
Nt(e), T("keydown", e);
|
|
602
594
|
},
|
|
603
|
-
onKeyup: (e) =>
|
|
604
|
-
onMousedown: (e) =>
|
|
605
|
-
onMouseup: (e) =>
|
|
606
|
-
onPointerdown: () =>
|
|
595
|
+
onKeyup: (e) => T("keyup", e),
|
|
596
|
+
onMousedown: (e) => T("mousedown", e),
|
|
597
|
+
onMouseup: (e) => T("mouseup", e),
|
|
598
|
+
onPointerdown: () => Et(),
|
|
607
599
|
onPaste: (e) => {
|
|
608
|
-
|
|
600
|
+
ct(e), T("paste", e);
|
|
609
601
|
},
|
|
610
|
-
onDragstart: () =>
|
|
611
|
-
onDragend: () =>
|
|
612
|
-
onDrop: (e) =>
|
|
613
|
-
onSelectionchange: () =>
|
|
614
|
-
},
|
|
615
|
-
if (
|
|
616
|
-
if (!
|
|
617
|
-
if (
|
|
618
|
-
|
|
602
|
+
onDragstart: () => lt = !0,
|
|
603
|
+
onDragend: () => lt = !1,
|
|
604
|
+
onDrop: (e) => dt(e),
|
|
605
|
+
onSelectionchange: () => Tt()
|
|
606
|
+
}, Ht = h(() => j.input ? _(Vt, j.input) : Vt), Ut = (e) => {
|
|
607
|
+
if (u(M.value)) return;
|
|
608
|
+
if (!F.value) {
|
|
609
|
+
if (G.value = W(e), q() && ye(z.raw) === G.value) return;
|
|
610
|
+
K(f(G.value, P.value)), J(q() ? z.raw.length : void 0);
|
|
619
611
|
return;
|
|
620
612
|
}
|
|
621
|
-
let
|
|
622
|
-
if (!e
|
|
623
|
-
let
|
|
624
|
-
|
|
613
|
+
let t = M.value.value;
|
|
614
|
+
if (!u(e) && document.activeElement === M.value && !zt(t) && t.length > 0 && Number(e) === Dt(Number(Bt(t)), !1)) return;
|
|
615
|
+
let n = e;
|
|
616
|
+
u(n) && (n = ""), M.value.value = n?.toString() || "";
|
|
625
617
|
};
|
|
626
|
-
|
|
627
|
-
|
|
618
|
+
Ne(() => w.modelValue, (e) => {
|
|
619
|
+
Ut(e);
|
|
628
620
|
});
|
|
629
|
-
let
|
|
630
|
-
return
|
|
631
|
-
|
|
632
|
-
let e =
|
|
633
|
-
|
|
634
|
-
let t = e && !
|
|
635
|
-
if (
|
|
636
|
-
let n =
|
|
621
|
+
let Wt = y(!1), Gt = h(() => Wt.value && !(w.min >= 0) ? "text" : "decimal"), Kt = () => F.value ? w.modelValue?.toString() || "" : f(W(w.modelValue), P.value);
|
|
622
|
+
return Ae(() => {
|
|
623
|
+
Wt.value = ae();
|
|
624
|
+
let e = M.value;
|
|
625
|
+
q() && (O.value = !0);
|
|
626
|
+
let t = e && !F.value && q() && e.value === Kt() ? e.selectionStart : null;
|
|
627
|
+
if (Ut(w.modelValue), e && t !== null && q()) {
|
|
628
|
+
let n = ue(B, Math.min(t, z.raw.length));
|
|
637
629
|
e.setSelectionRange(n, n);
|
|
638
630
|
}
|
|
639
|
-
window.addEventListener("pageshow",
|
|
640
|
-
}),
|
|
641
|
-
window.removeEventListener("pageshow",
|
|
642
|
-
}),
|
|
631
|
+
window.addEventListener("pageshow", xt), St = e?.ownerDocument ?? null, St?.addEventListener("submit", Ct, !0), $e.value = !0;
|
|
632
|
+
}), ke(() => {
|
|
633
|
+
window.removeEventListener("pageshow", xt), St?.removeEventListener("submit", Ct, !0), window.removeEventListener("pointerup", Q), window.removeEventListener("pointercancel", Q);
|
|
634
|
+
}), Ne([
|
|
635
|
+
I,
|
|
636
|
+
L,
|
|
643
637
|
P,
|
|
644
638
|
F,
|
|
645
|
-
|
|
646
|
-
N,
|
|
647
|
-
k
|
|
639
|
+
N
|
|
648
640
|
], () => {
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
return;
|
|
653
|
-
}
|
|
654
|
-
G() || W(u(U.value, j.value)), K(G() ? L.raw.length : void 0);
|
|
655
|
-
}
|
|
656
|
-
}), (e, t) => (Fe(), we(ne, m({
|
|
657
|
-
id: e.id,
|
|
641
|
+
M.value && (F.value ? M.value.value = w.modelValue?.toString() || "" : (q() || K(f(G.value, P.value)), J(q() ? z.raw.length : void 0)));
|
|
642
|
+
}), (t, n) => (je(), Se(r, _({
|
|
643
|
+
id: l.id,
|
|
658
644
|
class: "bb-number-input",
|
|
659
|
-
clearable:
|
|
660
|
-
compact:
|
|
661
|
-
description:
|
|
662
|
-
disabled:
|
|
663
|
-
errors:
|
|
664
|
-
"has-errors":
|
|
665
|
-
"has-value":
|
|
666
|
-
"has-warnings":
|
|
667
|
-
"hide-label":
|
|
668
|
-
hint:
|
|
669
|
-
"input-align":
|
|
670
|
-
label:
|
|
671
|
-
"label-align":
|
|
672
|
-
"label-mode":
|
|
673
|
-
"label-position":
|
|
674
|
-
layout:
|
|
675
|
-
loading:
|
|
676
|
-
name:
|
|
677
|
-
passthrough:
|
|
678
|
-
readonly:
|
|
679
|
-
reverse:
|
|
680
|
-
"show-asterisk":
|
|
681
|
-
"show-hint":
|
|
682
|
-
warnings:
|
|
683
|
-
},
|
|
684
|
-
label:
|
|
685
|
-
input:
|
|
686
|
-
"append:icon":
|
|
687
|
-
clearable:
|
|
688
|
-
compact:
|
|
689
|
-
disabled:
|
|
690
|
-
"has-errors":
|
|
691
|
-
"has-value":
|
|
692
|
-
"has-warnings":
|
|
693
|
-
loading:
|
|
694
|
-
passthrough:
|
|
695
|
-
"prepend:icon":
|
|
696
|
-
readonly:
|
|
697
|
-
"reserve-append-space":
|
|
698
|
-
variant:
|
|
699
|
-
"onClick:clear":
|
|
700
|
-
},
|
|
701
|
-
"prepend:outer":
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
increase: Q
|
|
708
|
-
})]),
|
|
709
|
-
append: v(() => [g(e.$slots, "append", {
|
|
710
|
-
decrease: Z,
|
|
711
|
-
increase: Q
|
|
712
|
-
})]),
|
|
713
|
-
"append:outer": v(() => [g(e.$slots, "append:outer", {
|
|
714
|
-
decrease: Z,
|
|
715
|
-
increase: Q
|
|
716
|
-
})]),
|
|
717
|
-
default: v(() => [Re(De("input", m({
|
|
718
|
-
id: n,
|
|
645
|
+
clearable: We.value,
|
|
646
|
+
compact: l.compact,
|
|
647
|
+
description: l.description,
|
|
648
|
+
disabled: l.disabled,
|
|
649
|
+
errors: x(ze),
|
|
650
|
+
"has-errors": l.hasErrors,
|
|
651
|
+
"has-value": A.value,
|
|
652
|
+
"has-warnings": l.hasWarnings,
|
|
653
|
+
"hide-label": l.hideLabel,
|
|
654
|
+
hint: l.hint,
|
|
655
|
+
"input-align": l.inputAlign,
|
|
656
|
+
label: l.label,
|
|
657
|
+
"label-align": l.labelAlign,
|
|
658
|
+
"label-mode": Ge.value,
|
|
659
|
+
"label-position": l.labelPosition,
|
|
660
|
+
layout: l.layout,
|
|
661
|
+
loading: l.loading,
|
|
662
|
+
name: l.name,
|
|
663
|
+
passthrough: x(j),
|
|
664
|
+
readonly: x(E),
|
|
665
|
+
reverse: l.reverse,
|
|
666
|
+
"show-asterisk": x(Re),
|
|
667
|
+
"show-hint": Ue.value,
|
|
668
|
+
warnings: l.warnings
|
|
669
|
+
}, x(j).forwardAttrs), Ee({
|
|
670
|
+
label: S((e) => [b(t.$slots, "label", v(g(e)))]),
|
|
671
|
+
input: S(({ id: r, hasErrors: a, hasWarnings: o, ariaDescribedby: s, ariaLabelledby: c }) => [De(i, {
|
|
672
|
+
"append:icon": x(w)["append:icon"],
|
|
673
|
+
clearable: l.clearable,
|
|
674
|
+
compact: l.compact,
|
|
675
|
+
disabled: l.disabled,
|
|
676
|
+
"has-errors": a,
|
|
677
|
+
"has-value": A.value,
|
|
678
|
+
"has-warnings": o,
|
|
679
|
+
loading: l.loading,
|
|
680
|
+
passthrough: x(j),
|
|
681
|
+
"prepend:icon": x(w)["prepend:icon"],
|
|
682
|
+
readonly: x(E),
|
|
683
|
+
"reserve-append-space": l.clearable,
|
|
684
|
+
variant: l.variant,
|
|
685
|
+
"onClick:clear": n[0] ||= (e) => x(T)("update:modelValue", null)
|
|
686
|
+
}, Ee({
|
|
687
|
+
"prepend:outer": S(() => [b(t.$slots, "prepend:outer", v(g($.value)))]),
|
|
688
|
+
prepend: S(() => [b(t.$slots, "prepend", v(g($.value)))]),
|
|
689
|
+
append: S(() => [b(t.$slots, "append", v(g($.value)))]),
|
|
690
|
+
"append:outer": S(() => [b(t.$slots, "append:outer", v(g($.value)))]),
|
|
691
|
+
default: S(() => [Pe(Te("input", _({
|
|
692
|
+
id: r,
|
|
719
693
|
ref_key: "input",
|
|
720
|
-
ref:
|
|
721
|
-
"aria-describedby":
|
|
722
|
-
"aria-disabled":
|
|
723
|
-
"aria-invalid":
|
|
724
|
-
"aria-labelledby":
|
|
725
|
-
"aria-readonly":
|
|
726
|
-
"aria-valuemax":
|
|
727
|
-
"aria-valuemin":
|
|
728
|
-
"aria-valuenow":
|
|
729
|
-
"aria-valuetext":
|
|
730
|
-
autocomplete:
|
|
731
|
-
autofocus:
|
|
694
|
+
ref: M,
|
|
695
|
+
"aria-describedby": s,
|
|
696
|
+
"aria-disabled": l.disabled || void 0,
|
|
697
|
+
"aria-invalid": a || void 0,
|
|
698
|
+
"aria-labelledby": c,
|
|
699
|
+
"aria-readonly": x(E) || void 0,
|
|
700
|
+
"aria-valuemax": l.max === 2 ** 53 - 1 ? void 0 : l.max,
|
|
701
|
+
"aria-valuemin": l.min === -(2 ** 53 - 1) ? void 0 : l.min,
|
|
702
|
+
"aria-valuenow": x(d)(x(He)) ? x(He) : void 0,
|
|
703
|
+
"aria-valuetext": et.value,
|
|
704
|
+
autocomplete: l.autocomplete,
|
|
705
|
+
autofocus: l.autofocus,
|
|
732
706
|
class: "bb-number-input__input",
|
|
733
|
-
disabled:
|
|
734
|
-
inputmode:
|
|
735
|
-
name:
|
|
736
|
-
placeholder:
|
|
737
|
-
readonly:
|
|
738
|
-
required:
|
|
739
|
-
"aria-required":
|
|
707
|
+
disabled: l.disabled,
|
|
708
|
+
inputmode: Gt.value,
|
|
709
|
+
name: l.disableFormatting ? l.name : void 0,
|
|
710
|
+
placeholder: l.placeholder,
|
|
711
|
+
readonly: x(E),
|
|
712
|
+
required: x(Be),
|
|
713
|
+
"aria-required": x(Ve),
|
|
740
714
|
role: "spinbutton",
|
|
741
715
|
size: "1",
|
|
742
716
|
type: "text",
|
|
743
|
-
onInput:
|
|
744
|
-
},
|
|
717
|
+
onInput: Fe(Mt, ["stop"])
|
|
718
|
+
}, _(x(j).controlAttrs, Ht.value)), null, 16, Ie), [[x(e)], [x(re), Kt]])]),
|
|
745
719
|
_: 2
|
|
746
|
-
}, [
|
|
720
|
+
}, [t.$slots.prefix ? {
|
|
747
721
|
name: "prefix",
|
|
748
|
-
fn:
|
|
749
|
-
decrease: Z,
|
|
750
|
-
increase: Q
|
|
751
|
-
})]),
|
|
722
|
+
fn: S(() => [b(t.$slots, "prefix", v(g($.value)))]),
|
|
752
723
|
key: "0"
|
|
753
|
-
} : void 0,
|
|
724
|
+
} : void 0, t.$slots.suffix ? {
|
|
754
725
|
name: "suffix",
|
|
755
|
-
fn:
|
|
756
|
-
decrease: Z,
|
|
757
|
-
increase: Q
|
|
758
|
-
})]),
|
|
726
|
+
fn: S(() => [b(t.$slots, "suffix", v(g($.value)))]),
|
|
759
727
|
key: "1"
|
|
760
728
|
} : void 0]), 1032, [
|
|
761
729
|
"append:icon",
|
|
@@ -771,20 +739,20 @@ var Be = [
|
|
|
771
739
|
"readonly",
|
|
772
740
|
"reserve-append-space",
|
|
773
741
|
"variant"
|
|
774
|
-
]), !
|
|
742
|
+
]), !l.disableFormatting && l.name ? (je(), we("input", {
|
|
775
743
|
key: 0,
|
|
776
744
|
ref_key: "posted",
|
|
777
|
-
ref:
|
|
778
|
-
disabled:
|
|
779
|
-
form:
|
|
780
|
-
name:
|
|
745
|
+
ref: X,
|
|
746
|
+
disabled: l.disabled,
|
|
747
|
+
form: x(j).controlAttrs.form,
|
|
748
|
+
name: l.name,
|
|
781
749
|
type: "hidden",
|
|
782
|
-
value:
|
|
783
|
-
}, null, 8,
|
|
750
|
+
value: Ze.value
|
|
751
|
+
}, null, 8, Le)) : Ce("", !0)]),
|
|
784
752
|
_: 2
|
|
785
|
-
}, [
|
|
753
|
+
}, [t.$slots.description ? {
|
|
786
754
|
name: "description",
|
|
787
|
-
fn:
|
|
755
|
+
fn: S((e) => [b(t.$slots, "description", v(g(e)))]),
|
|
788
756
|
key: "0"
|
|
789
757
|
} : void 0]), 1040, [
|
|
790
758
|
"id",
|
|
@@ -815,5 +783,4 @@ var Be = [
|
|
|
815
783
|
]));
|
|
816
784
|
}
|
|
817
785
|
});
|
|
818
|
-
|
|
819
|
-
export { y as default };
|
|
786
|
+
export { C as default };
|