bitboss-ui 3.0.0-beta.67 → 3.0.0-beta.68
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 +1 -1
- package/bin/bitboss-ui-mcp.mjs +87 -19
- package/bin/bitboss-ui.mjs +6 -2
- package/dist/ai/BbAlert.md +15 -11
- package/dist/ai/BbAsterisk.md +1 -1
- package/dist/ai/BbAvatar.md +2 -2
- package/dist/ai/BbBadge.md +4 -4
- package/dist/ai/BbBaseCheckboxIcon.md +4 -0
- package/dist/ai/BbBaseRadioIcon.md +7 -3
- package/dist/ai/BbBaseSwitchIcon.md +11 -2
- package/dist/ai/BbBreadcrumbs.md +2 -2
- package/dist/ai/BbButton.md +62 -9
- package/dist/ai/BbCalendar.md +1 -1
- package/dist/ai/BbCheckbox.md +23 -5
- package/dist/ai/BbCheckboxGroup.md +52 -25
- package/dist/ai/BbColorInput.md +13 -12
- package/dist/ai/BbColorPalette.md +5 -5
- package/dist/ai/BbConfigScope.md +218 -0
- package/dist/ai/BbConfirm.md +24 -21
- package/dist/ai/BbDatePicker.md +4 -4
- package/dist/ai/BbDatePickerInput.md +16 -15
- package/dist/ai/BbDialog.md +10 -9
- package/dist/ai/BbDropdown.md +26 -16
- package/dist/ai/BbDropdownButton.md +18 -18
- package/dist/ai/BbDropzone.md +1 -1
- package/dist/ai/BbForm.md +6 -4
- package/dist/ai/BbHost.md +19 -13
- package/dist/ai/BbIcon.md +3 -3
- package/dist/ai/BbIndicator.md +4 -4
- package/dist/ai/BbNumberInput.md +17 -13
- package/dist/ai/BbOffCanvas.md +4 -3
- package/dist/ai/BbPagination.md +10 -2
- package/dist/ai/BbPopover.md +5 -5
- package/dist/ai/BbRadio.md +23 -4
- package/dist/ai/BbRadioGroup.md +69 -30
- package/dist/ai/BbRating.md +5 -5
- package/dist/ai/BbSelect.md +74 -39
- package/dist/ai/BbSelectPopover.md +28 -26
- package/dist/ai/BbSlider.md +258 -61
- package/dist/ai/BbSpinner.md +2 -2
- package/dist/ai/BbSwitch.md +27 -4
- package/dist/ai/BbSwitchGroup.md +22 -13
- package/dist/ai/BbTable.md +10 -5
- package/dist/ai/BbTabs.md +6 -6
- package/dist/ai/BbTabsRoot.md +1 -1
- package/dist/ai/BbTag.md +12 -11
- package/dist/ai/BbTextInput.md +25 -17
- package/dist/ai/BbTextarea.md +15 -14
- package/dist/ai/BbTimePicker.md +3 -3
- package/dist/ai/BbTimePickerInput.md +12 -11
- package/dist/ai/BbToast.md +65 -26
- package/dist/ai/BbTooltip.md +2 -2
- package/dist/ai/CommonField.md +2 -2
- package/dist/ai/CommonFieldInput.md +2 -1
- package/dist/ai/FlatListBox.md +4 -3
- package/dist/ai/GroupedListBox.md +4 -3
- package/dist/ai/ListBox.md +5 -4
- package/dist/ai/OptionsContainer.md +17 -1
- package/dist/ai/changelog.json +454 -7
- package/dist/ai/components.json +77 -69
- package/dist/ai/composables/useBbConfig.md +3 -3
- package/dist/ai/composables/useBbDialog.md +1 -1
- package/dist/ai/composables/useBbFormField.md +1 -1
- package/dist/ai/composables/useConfirm.md +1 -1
- package/dist/ai/composables/useToast.md +16 -16
- package/dist/ai/design-tokens.json +10 -5
- package/dist/ai/guides/agent-contract.md +8 -8
- package/dist/ai/guides/ai-router.md +1 -1
- package/dist/ai/guides/app-layout.md +1 -1
- package/dist/ai/guides/design-language.md +17 -13
- package/dist/ai/guides/design-tokens.md +81 -42
- package/dist/ai/guides/eslint-rules.md +3 -1
- package/dist/ai/guides/fetch-items-playbook.md +1 -1
- package/dist/ai/guides/icons-policy.md +1 -1
- package/dist/ai/guides/inline-edit-playbook.md +1 -1
- package/dist/ai/guides/installation-and-plugin-setup.md +335 -161
- package/dist/ai/guides/migration/adoption-checklist.md +5 -5
- package/dist/ai/guides/migration/components/bb-alert.md +2 -2
- package/dist/ai/guides/migration/components/bb-badge.md +1 -1
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +15 -15
- package/dist/ai/guides/migration/components/bb-dialog.md +2 -2
- package/dist/ai/guides/migration/components/bb-dropdown.md +1 -1
- package/dist/ai/guides/migration/components/bb-host.md +10 -8
- package/dist/ai/guides/migration/components/bb-offcanvas.md +1 -1
- package/dist/ai/guides/migration/components/bb-select-popover.md +2 -2
- package/dist/ai/guides/migration/components/bb-select.md +3 -3
- package/dist/ai/guides/migration/components/bb-slider.md +17 -2
- package/dist/ai/guides/migration/components/bb-tabs.md +1 -1
- package/dist/ai/guides/migration/components/bb-toast.md +6 -6
- package/dist/ai/guides/migration/components/use-confirm.md +1 -1
- package/dist/ai/guides/migration/v2-to-v3.md +191 -56
- package/dist/ai/guides/migration/v3-beta-tooling.md +2 -2
- package/dist/ai/guides/passthrough.md +140 -131
- package/dist/ai/guides/typescript-generic-components.md +7 -7
- package/dist/ai/guides/validated-forms.md +5 -5
- package/dist/ai/guides/validation-libraries.md +4 -4
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +3 -3
- package/dist/ai/manifest/common.json +9 -11
- package/dist/ai/manifest/components/BbAlert.json +3 -2
- package/dist/ai/manifest/components/BbAvatar.json +2 -1
- package/dist/ai/manifest/components/BbBadge.json +3 -2
- package/dist/ai/manifest/components/BbBaseCheckboxIcon.tree.json +5 -1
- package/dist/ai/manifest/components/BbBaseRadioIcon.tree.json +7 -3
- package/dist/ai/manifest/components/BbBaseSwitchIcon.tree.json +9 -1
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +4 -3
- package/dist/ai/manifest/components/BbButton.tree.json +3 -1
- package/dist/ai/manifest/components/BbCalendar.tree.json +1 -0
- package/dist/ai/manifest/components/BbCheckbox.json +4 -3
- package/dist/ai/manifest/components/BbCheckbox.tree.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +17 -14
- package/dist/ai/manifest/components/BbCheckboxGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +25 -4
- package/dist/ai/manifest/components/BbColorInput.json +6 -5
- package/dist/ai/manifest/components/BbColorInput.tree.json +4 -3
- package/dist/ai/manifest/components/BbColorPalette.json +2 -1
- package/dist/ai/manifest/components/BbColorPalette.tree.json +2 -1
- package/dist/ai/manifest/components/BbConfigScope.json +23 -0
- 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 +2 -1
- package/dist/ai/manifest/components/BbDatePicker.tree.json +2 -2
- package/dist/ai/manifest/components/BbDatePickerInput.json +6 -5
- package/dist/ai/manifest/components/BbDatePickerInput.tree.json +6 -4
- package/dist/ai/manifest/components/BbDialog.json +3 -2
- package/dist/ai/manifest/components/BbDialog.tree.json +2 -2
- package/dist/ai/manifest/components/BbDropdown.json +7 -4
- package/dist/ai/manifest/components/BbDropdown.tree.json +1 -1
- package/dist/ai/manifest/components/BbDropdownButton.json +11 -8
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +3 -3
- package/dist/ai/manifest/components/BbDropzone.json +1 -0
- package/dist/ai/manifest/components/BbForm.json +1 -1
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbIcon.json +2 -1
- package/dist/ai/manifest/components/BbIndicator.json +2 -1
- package/dist/ai/manifest/components/BbNumberInput.json +5 -4
- package/dist/ai/manifest/components/BbNumberInput.tree.json +3 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +2 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbPagination.json +1 -1
- package/dist/ai/manifest/components/BbPagination.tree.json +2 -1
- package/dist/ai/manifest/components/BbPopover.json +2 -1
- package/dist/ai/manifest/components/BbPopover.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadio.json +3 -2
- package/dist/ai/manifest/components/BbRadio.tree.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +21 -18
- package/dist/ai/manifest/components/BbRadioGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +25 -4
- package/dist/ai/manifest/components/BbRating.json +3 -2
- package/dist/ai/manifest/components/BbSelect.json +11 -9
- package/dist/ai/manifest/components/BbSelect.tree.json +7 -5
- package/dist/ai/manifest/components/BbSelectPopover.json +11 -9
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +5 -2
- package/dist/ai/manifest/components/BbSlider.json +20 -18
- package/dist/ai/manifest/components/BbSlider.removed.json +3 -0
- package/dist/ai/manifest/components/BbSlider.tree.json +4 -2
- package/dist/ai/manifest/components/BbSwitch.json +2 -1
- package/dist/ai/manifest/components/BbSwitch.tree.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.json +7 -5
- package/dist/ai/manifest/components/BbSwitchGroup.removed.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +6 -2
- package/dist/ai/manifest/components/BbTable.json +3 -2
- package/dist/ai/manifest/components/BbTable.tree.json +4 -3
- package/dist/ai/manifest/components/BbTabs.json +3 -2
- package/dist/ai/manifest/components/BbTabsRoot.json +2 -2
- package/dist/ai/manifest/components/BbTag.json +6 -5
- package/dist/ai/manifest/components/BbTag.tree.json +3 -2
- package/dist/ai/manifest/components/BbTextInput.json +5 -4
- package/dist/ai/manifest/components/BbTextInput.tree.json +3 -2
- package/dist/ai/manifest/components/BbTextarea.json +6 -5
- package/dist/ai/manifest/components/BbTextarea.tree.json +3 -2
- package/dist/ai/manifest/components/BbTimePicker.json +2 -1
- package/dist/ai/manifest/components/BbTimePicker.tree.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +6 -5
- package/dist/ai/manifest/components/BbTimePickerInput.tree.json +5 -3
- package/dist/ai/manifest/components/BbToast.json +2 -1
- package/dist/ai/manifest/components/BbToast.tree.json +6 -1
- package/dist/ai/manifest/components/BbTooltip.json +1 -0
- package/dist/ai/manifest/components/CommonField.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.json +2 -2
- package/dist/ai/manifest/components/CommonFieldInput.tree.json +2 -0
- package/dist/ai/manifest/components/FlatListBox.json +1 -1
- package/dist/ai/manifest/components/FlatListBox.tree.json +2 -1
- package/dist/ai/manifest/components/GroupedListBox.json +1 -1
- package/dist/ai/manifest/components/GroupedListBox.tree.json +2 -1
- package/dist/ai/manifest/components/ListBox.json +1 -1
- package/dist/ai/manifest/components/ListBox.tree.json +2 -2
- package/dist/ai/manifest/components/OptionsContainer.json +3 -2
- package/dist/ai/manifest/components/OptionsContainer.tree.json +16 -1
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +16 -7
- package/dist/ai/manifest/types.advanced.json +5 -6
- package/dist/ai/manifest/types.api.json +15 -6
- package/dist/ai/manifest/types.wrapper.json +2 -2
- package/dist/ai/recipes/inertia/approvals-inbox.md +2 -2
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/inertia/onboarding.md +2 -2
- package/dist/ai/recipes/inertia/ownership-atlas.md +2 -2
- package/dist/ai/recipes/inertia/record-form.md +2 -2
- package/dist/ai/recipes/inertia/records-workspace.md +2 -2
- package/dist/ai/recipes/inertia/settings-workspace.md +5 -4
- package/dist/ai/recipes/inertia/upload-center.md +3 -3
- package/dist/ai/recipes/inertia/wizard-form.md +2 -2
- package/dist/ai/recipes/nuxt/approvals-inbox.md +2 -2
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/nuxt/onboarding.md +2 -2
- package/dist/ai/recipes/nuxt/ownership-atlas.md +2 -2
- package/dist/ai/recipes/nuxt/record-form.md +2 -2
- package/dist/ai/recipes/nuxt/records-workspace.md +2 -2
- package/dist/ai/recipes/nuxt/settings-workspace.md +5 -4
- package/dist/ai/recipes/nuxt/upload-center.md +4 -4
- package/dist/ai/recipes/nuxt/wizard-form.md +2 -2
- package/dist/ai/recipes/vue/approvals-inbox.md +2 -2
- package/dist/ai/recipes/vue/inline-edit-workspace.md +13 -9
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/recipes/vue/ownership-atlas.md +2 -2
- package/dist/ai/recipes/vue/record-form.md +2 -2
- package/dist/ai/recipes/vue/records-workspace.md +2 -2
- package/dist/ai/recipes/vue/settings-workspace.md +5 -4
- package/dist/ai/recipes/vue/upload-center.md +4 -4
- package/dist/ai/recipes/vue/wizard-form.md +2 -2
- package/dist/ai/source/BbAlert.md +10 -4
- package/dist/ai/source/BbAvatar.md +5 -4
- package/dist/ai/source/BbBadge.md +16 -9
- package/dist/ai/source/BbBadgeButton.md +1 -1
- package/dist/ai/source/BbBaseCheckboxIcon.md +7 -5
- package/dist/ai/source/BbBaseRadioIcon.md +17 -11
- package/dist/ai/source/BbBaseSwitchIcon.md +14 -9
- package/dist/ai/source/BbButton.md +38 -22
- package/dist/ai/source/BbCalendar.md +5 -30
- package/dist/ai/source/BbCheckbox.md +20 -7
- package/dist/ai/source/BbCheckboxGroup.md +66 -27
- package/dist/ai/source/BbColorInput.md +29 -22
- package/dist/ai/source/BbColorPalette.md +23 -22
- package/dist/ai/source/BbConfigScope.md +123 -0
- package/dist/ai/source/BbConfirm.md +5 -3
- package/dist/ai/source/BbDatePicker.md +18 -8
- package/dist/ai/source/BbDatePickerInput.md +44 -27
- package/dist/ai/source/BbDialog.md +23 -13
- package/dist/ai/source/BbDropdown.md +61 -25
- package/dist/ai/source/BbDropdownButton.md +67 -25
- package/dist/ai/source/BbDropdownGroup.md +38 -15
- package/dist/ai/source/BbForm.md +1 -1
- package/dist/ai/source/BbHost.md +4 -4
- package/dist/ai/source/BbHoverCard.md +6 -2
- package/dist/ai/source/BbIcon.md +5 -4
- package/dist/ai/source/BbIndicator.md +1 -1
- package/dist/ai/source/BbNumberInput.md +44 -30
- package/dist/ai/source/BbOffCanvas.md +17 -10
- package/dist/ai/source/BbPagination.md +10 -18
- package/dist/ai/source/BbPopover.md +17 -9
- package/dist/ai/source/BbPopoverPortal.md +2 -2
- package/dist/ai/source/BbRadio.md +18 -7
- package/dist/ai/source/BbRadioGroup.md +67 -27
- package/dist/ai/source/BbRating.md +21 -11
- package/dist/ai/source/BbSelect.md +51 -32
- package/dist/ai/source/BbSelectPopover.md +81 -38
- package/dist/ai/source/BbSlider.md +929 -565
- package/dist/ai/source/BbSwitchGroup.md +28 -9
- package/dist/ai/source/BbTable.md +17 -30
- package/dist/ai/source/BbTabs.md +5 -2
- package/dist/ai/source/BbTabsList.md +1 -1
- package/dist/ai/source/BbTabsPanels.md +1 -1
- package/dist/ai/source/BbTabsRoot.md +1 -1
- package/dist/ai/source/BbTag.md +27 -20
- package/dist/ai/source/BbTextInput.md +29 -26
- package/dist/ai/source/BbTextarea.md +53 -45
- package/dist/ai/source/BbTimePicker.md +19 -7
- package/dist/ai/source/BbTimePickerInput.md +34 -21
- package/dist/ai/source/BbToast.md +18 -9
- package/dist/ai/source/BbToastPortal.md +14 -6
- package/dist/ai/source/BbTooltip.md +1 -1
- package/dist/ai/source/CommonFieldInput.md +9 -4
- package/dist/ai/source/FlatListBox.md +11 -1
- package/dist/ai/source/GroupedListBox.md +12 -1
- package/dist/ai/source/ListBox.md +1 -1
- package/dist/ai/source/OptionsContainer.md +48 -1
- package/dist/assets/svgs/arrow_up.svg_raw.js +3 -0
- package/dist/assets/svgs/caret_down.svg_raw.js +3 -0
- package/dist/assets/svgs/chevron_left_small.svg_raw.js +3 -0
- package/dist/assets/svgs/chevron_right_small.svg_raw.js +3 -0
- package/dist/assets/svgs/close.svg_raw.js +3 -0
- package/dist/assets/svgs/eyedropper.svg_raw.js +3 -0
- package/dist/assets/svgs/move.svg_raw.js +3 -0
- package/dist/assets/svgs/x.svg_raw.js +3 -0
- package/dist/components/BbAlert/BbAlert.vue.d.ts +1 -0
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +48 -44
- package/dist/components/BbAlert/types.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +54 -53
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +60 -56
- package/dist/components/BbBadge/types.d.ts +1 -1
- package/dist/components/BbButton/BbButton.vue.d.ts +2 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +110 -98
- package/dist/components/BbButton/types.d.ts +12 -10
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +17 -17
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +298 -313
- package/dist/components/BbCalendar/useCalendarGrid.js +3 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue.d.ts +4 -2
- package/dist/components/BbCheckbox/BbCheckbox.vue_vue_type_script_setup_true_lang.js +94 -82
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +78 -55
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +184 -151
- package/dist/components/BbCheckboxGroup/types.d.ts +10 -5
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +13 -11
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +82 -71
- package/dist/components/BbColorInput/types.d.ts +8 -8
- package/dist/components/BbColorInput/types.js +1 -1
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +180 -182
- package/dist/components/BbColorPalette/types.d.ts +2 -2
- package/dist/components/BbConfigScope/BbConfigScope.vue.d.ts +12 -0
- package/dist/components/BbConfigScope/BbConfigScope.vue.js +4 -0
- package/dist/components/BbConfigScope/BbConfigScope.vue_vue_type_script_setup_true_lang.js +37 -0
- package/dist/components/BbConfigScope/types.d.ts +20 -0
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +31 -31
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +171 -170
- package/dist/components/BbDatePicker/types.d.ts +2 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +110 -110
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +457 -441
- package/dist/components/BbDatePickerInput/types.d.ts +8 -8
- package/dist/components/BbDatePickerInput/types.js +1 -1
- package/dist/components/BbDialog/BbDialog.vue.d.ts +4 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +204 -197
- package/dist/components/BbDialog/types.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +5 -4
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +302 -286
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +348 -344
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +97 -97
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +1 -1
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbDropdown/pointerTrail.d.ts +5 -0
- package/dist/components/BbDropdown/pointerTrail.js +26 -0
- package/dist/components/BbDropdown/types.d.ts +25 -13
- package/dist/components/BbDropdown/types.js +11 -2
- package/dist/components/BbDropdown/useDropdownContext.d.ts +1 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +4 -3
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +93 -69
- package/dist/components/BbDropdownButton/types.d.ts +30 -13
- package/dist/components/BbDropdownButton/types.js +7 -3
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +5 -5
- package/dist/components/BbForm/BbForm.vue.d.ts +2 -2
- package/dist/components/BbForm/BbFormCustomField.js +2 -2
- package/dist/components/BbForm/bindFormField.js +66 -66
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/BbHost/BbHostOpening.d.ts +1 -1
- package/dist/components/BbHost/types.d.ts +2 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue.d.ts +2 -2
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +158 -157
- package/dist/components/BbIcon/BbIcon.vue.d.ts +1 -1
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +41 -40
- package/dist/components/BbIndicator/types.d.ts +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +12 -9
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +248 -232
- package/dist/components/BbNumberInput/types.d.ts +12 -11
- package/dist/components/BbNumberInput/types.js +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +2 -2
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +275 -274
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +104 -108
- package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +90 -90
- package/dist/components/BbPopover/types.d.ts +2 -2
- package/dist/components/BbRadio/BbRadio.vue.d.ts +4 -2
- package/dist/components/BbRadio/BbRadio.vue_vue_type_script_setup_true_lang.js +105 -93
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +72 -49
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +214 -181
- package/dist/components/BbRadioGroup/types.d.ts +11 -5
- package/dist/components/BbRating/BbRating.vue.d.ts +7 -5
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +139 -128
- package/dist/components/BbSelect/BbSelect.vue.d.ts +174 -155
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +179 -158
- package/dist/components/BbSelect/types.d.ts +23 -19
- package/dist/components/BbSelect/types.js +4 -2
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +21 -16
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +637 -623
- package/dist/components/BbSelectPopover/reclickClears.d.ts +17 -0
- package/dist/components/BbSelectPopover/reclickClears.js +4 -0
- package/dist/components/BbSelectPopover/types.d.ts +21 -16
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSlider/BbSlider.vue.d.ts +22 -15
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +382 -315
- package/dist/components/BbSlider/types.d.ts +136 -47
- package/dist/components/BbSwitch/BbSwitch.vue.d.ts +2 -2
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +28 -27
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +3 -0
- package/dist/components/BbTable/BbTable.vue.d.ts +4 -4
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1128 -1135
- package/dist/components/BbTable/BbTableSelectToggle.d.ts +1 -1
- package/dist/components/BbTabs/BbTabs.vue.d.ts +21 -21
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +8 -2
- package/dist/components/BbTabs/types.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue.d.ts +15 -13
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +196 -185
- package/dist/components/BbTag/types.d.ts +7 -7
- package/dist/components/BbTag/types.js +1 -1
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +30 -30
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +66 -55
- package/dist/components/BbTextInput/types.d.ts +9 -9
- package/dist/components/BbTextInput/types.js +1 -1
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +30 -30
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +96 -86
- package/dist/components/BbTextarea/types.d.ts +8 -8
- package/dist/components/BbTextarea/types.js +1 -1
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +12 -12
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +131 -130
- package/dist/components/BbTimePicker/types.d.ts +2 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +73 -73
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +286 -273
- package/dist/components/BbTimePickerInput/types.d.ts +8 -8
- package/dist/components/BbTimePickerInput/types.js +1 -1
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +3 -3
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +75 -80
- package/dist/components/BbToast/types.d.ts +2 -2
- package/dist/components/BbTooltip/BbTooltip.vue.d.ts +3 -3
- package/dist/components/BbTooltip/types.d.ts +1 -1
- package/dist/components/BbTree/BbTree.vue.d.ts +1 -1
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +11 -16
- package/dist/components/CommonFieldInput/types.d.ts +1 -1
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/FlatListBox/types.d.ts +1 -1
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/components/GroupedListBox/types.d.ts +1 -1
- package/dist/components/ListBox/types.d.ts +1 -1
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +87 -69
- package/dist/components/OptionsContainer/types.d.ts +5 -0
- package/dist/components/Transitions/Slide.vue.d.ts +1 -1
- package/dist/composables/useBbTabs.js +94 -90
- package/dist/composables/useConfig.js +2 -9
- package/dist/composables/useConfigDefaults.d.ts +54 -0
- package/dist/composables/useConfigDefaults.js +56 -0
- package/dist/composables/useConfirm.d.ts +7 -7
- package/dist/composables/useFormBinding.d.ts +1 -1
- package/dist/composables/useFormBinding.js +3 -3
- package/dist/composables/usePassthrough.d.ts +7 -5
- package/dist/composables/usePassthrough.js +137 -133
- package/dist/composables/useToast.d.ts +5 -4
- package/dist/composables/useToast.js +47 -37
- package/dist/deprecation/ai-deprecations.json.d.ts +44 -15
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.js +7 -7
- package/dist/i18n/locales/cs.json +2 -1
- package/dist/i18n/locales/da.json +2 -1
- package/dist/i18n/locales/de-CH.json +2 -1
- package/dist/i18n/locales/de.json +2 -1
- package/dist/i18n/locales/el.json +2 -1
- package/dist/i18n/locales/en-GB.json +2 -1
- package/dist/i18n/locales/en.json +2 -1
- package/dist/i18n/locales/es-MX.json +2 -1
- package/dist/i18n/locales/es.json +2 -1
- package/dist/i18n/locales/fi.json +2 -1
- package/dist/i18n/locales/fr.json +2 -1
- package/dist/i18n/locales/hu.json +2 -1
- package/dist/i18n/locales/it.json +2 -1
- package/dist/i18n/locales/ja.json +2 -1
- package/dist/i18n/locales/ko.json +2 -1
- package/dist/i18n/locales/nb.json +2 -1
- package/dist/i18n/locales/nl.json +2 -1
- package/dist/i18n/locales/pl.json +2 -1
- package/dist/i18n/locales/pt-BR.json +2 -1
- package/dist/i18n/locales/pt-PT.json +2 -1
- package/dist/i18n/locales/ro.json +2 -1
- package/dist/i18n/locales/ru.json +2 -1
- package/dist/i18n/locales/sv.json +2 -1
- package/dist/i18n/locales/tr.json +2 -1
- package/dist/i18n/locales/uk.json +2 -1
- package/dist/i18n/locales/zh-CN.json +2 -1
- package/dist/i18n/locales/zh-HK.json +2 -1
- package/dist/i18n/locales/zh-TW.json +2 -1
- package/dist/index.d.ts +5 -5
- package/dist/index.js +2 -2
- package/dist/llms-full.txt +2273 -1243
- package/dist/llms-medium.txt +362 -184
- package/dist/llms.txt +4 -4
- package/dist/locale-blueprint.json +2 -1
- package/dist/nuxt-auto-imports.js +1 -1
- package/dist/nuxt-module.d.ts +1 -1
- package/dist/nuxt.js +17 -17
- package/dist/project-dts.d.ts +72 -10
- package/dist/project-dts.js +69 -21
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +1 -1
- package/dist/types/BadgeVariant.d.ts +1 -1
- package/dist/types/ButtonVariant.d.ts +1 -1
- package/dist/types/CheckboxVariant.d.ts +7 -4
- package/dist/types/CheckboxVariant.js +5 -1
- package/dist/types/Config.d.ts +17 -103
- package/dist/types/ConfigDefaults.d.ts +352 -0
- package/dist/types/ConfigDefaults.js +115 -0
- package/dist/types/ConfirmVariant.d.ts +1 -1
- package/dist/types/DropdownItemVariant.d.ts +1 -1
- package/dist/types/FieldLayout.d.ts +3 -3
- package/dist/types/IndicatorVariant.d.ts +1 -1
- package/dist/types/InputVariant.d.ts +57 -24
- package/dist/types/RadioVariant.d.ts +7 -4
- package/dist/types/RadioVariant.js +5 -1
- package/dist/types/SizeScale.d.ts +4 -0
- package/dist/types/SizeScale.js +17 -0
- package/dist/types/TabsVariant.d.ts +1 -1
- package/dist/types/ToastVariant.d.ts +1 -1
- package/dist/types/TooltipVariant.d.ts +1 -1
- package/dist/types/passthrough.d.ts +6 -6
- package/dist/types/ptComponentMap.d.ts +14 -14
- package/dist/utilities/functions/searchRank.d.ts +19 -0
- package/dist/utilities/functions/searchRank.js +76 -0
- package/dist/utilities/misc/listboxMetrics.d.ts +1 -1
- package/dist/utils/configDefaults.d.ts +33 -0
- package/dist/utils/configDefaults.js +140 -0
- package/dist/utils/configScope.d.ts +43 -0
- package/dist/utils/configScope.js +13 -0
- package/dist/utils/passthrough.d.ts +4 -7
- package/dist/utils/passthrough.js +31 -29
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +54 -191
- package/dist/vite.js +318 -367
- package/llms.txt +4 -4
- package/package.json +3 -3
- package/scripts/lib/adoption-checklist.json +2 -2
- package/scripts/lib/agent-manifest.mjs +2 -0
- package/scripts/lib/eslint-disable.mjs +2 -0
- package/scripts/lib/eslint-plugin.d.ts +4 -2
- package/scripts/lib/eslint-plugin.mjs +67 -0
- package/scripts/lib/idiom-scan.mjs +8 -7
- package/scripts/lib/project-variant-dts.mjs +105 -36
- package/scripts/lib/validate-bb-markup.mjs +73 -13
- package/dist/ai/BbPtScope.md +0 -138
- package/dist/ai/manifest/components/BbPtScope.json +0 -21
- package/dist/ai/source/BbPtScope.md +0 -54
- package/dist/components/BbPtScope/BbPtScope.vue.d.ts +0 -12
- package/dist/components/BbPtScope/BbPtScope.vue.js +0 -4
- package/dist/components/BbPtScope/BbPtScope.vue_vue_type_script_setup_true_lang.js +0 -12
- package/dist/components/BbPtScope/types.d.ts +0 -15
- package/dist/types/PtScope.d.ts +0 -15
- package/dist/utilities/functions/head.js +0 -3
- package/dist/utilities/functions/matchAnyKey.d.ts +0 -8
- package/dist/utilities/functions/matchAnyKey.js +0 -14
- package/dist/utils/ptScope.d.ts +0 -8
- package/dist/utils/ptScope.js +0 -3
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import t from "
|
|
3
|
-
import n from "../
|
|
4
|
-
import r from "../
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
1
|
+
import { useConfigDefaults as e } from "../../composables/useConfigDefaults.js";
|
|
2
|
+
import { vAutofocus as t } from "../../utilities/misc/autofocus.js";
|
|
3
|
+
import n from "../CommonField/CommonField.vue.js";
|
|
4
|
+
import r from "../OptionsContainer/OptionsContainer.vue.js";
|
|
5
|
+
import i from "../BbBaseRadioIcon/BbBaseRadioIcon.vue.js";
|
|
6
|
+
import { aliasParts as a, formControlPtActive as o, pickActive as s, usePassthrough as c, variantPt as l } from "../../composables/usePassthrough.js";
|
|
7
|
+
import { useId as u } from "../../composables/useId.js";
|
|
8
|
+
import { isNotEmpty as d } from "../../utilities/functions/isNotEmpty.js";
|
|
9
|
+
import { withItemDescribedby as ee } from "../../utilities/functions/itemProps.js";
|
|
10
|
+
import { hash as te } from "../../utilities/functions/hash.js";
|
|
11
|
+
import { preventReadonlyClick as ne, preventReadonlyKeydown as re, revertReadonlyChange as ie, toggleInputAttrs as ae, toggleInputValue as oe } from "../../utilities/functions/toggleInput.js";
|
|
12
|
+
import { useToggleListFocus as se } from "../../composables/useToggleInput.js";
|
|
13
|
+
import { useChoiceIndicator as ce } from "../../composables/useChoiceIndicator.js";
|
|
14
|
+
import { useItemsGetter as le } from "../../composables/useItemsGetter.js";
|
|
15
|
+
import { usePrefill as ue } from "../../composables/usePrefill.js";
|
|
16
|
+
import { useIndexById as f } from "../../composables/useIndexById.js";
|
|
17
|
+
import { useBaseOptions as p } from "../../composables/useBaseOptions.js";
|
|
18
|
+
import { useCoherence as m } from "../../composables/useCoherence.js";
|
|
19
|
+
import { useHashedWatcher as h } from "../../composables/useHashedWatcher.js";
|
|
20
|
+
import { useActiveInactiveState as de } from "../../composables/useActiveInactiveState.js";
|
|
21
|
+
import { useOnFalsy as fe } from "../../composables/useOnFalsy.js";
|
|
22
|
+
import { useOnTruthy as pe } from "../../composables/useOnTruthy.js";
|
|
23
|
+
import { removedPropsFor as me } from "../../deprecation/removedProps.js";
|
|
24
|
+
import { warnRemovedAttrs as he } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
25
|
+
import { BB_RADIO_GROUP_PT as g } from "./types.js";
|
|
26
|
+
import { useFormBinding as ge } from "../../composables/useFormBinding.js";
|
|
27
|
+
import { Fragment as _e, computed as _, createBlock as ve, createElementBlock as v, createElementVNode as ye, createSlots as be, createVNode as y, defineComponent as b, guardReactiveProps as x, mergeProps as S, nextTick as xe, normalizeProps as C, openBlock as w, ref as Se, renderList as Ce, renderSlot as T, shallowRef as we, toRef as E, unref as D, useAttrs as O, useSlots as k, withCtx as A, withDirectives as Te } from "vue";
|
|
27
28
|
// src/components/BbRadioGroup/BbRadioGroup.vue?vue&type=script&setup=true&lang.ts
|
|
28
|
-
var
|
|
29
|
-
mixins: [
|
|
29
|
+
var j = /*@__PURE__*/ b({
|
|
30
|
+
mixins: [l(g)],
|
|
30
31
|
inheritAttrs: !1,
|
|
31
32
|
__name: "BbRadioGroup",
|
|
32
33
|
props: {
|
|
@@ -81,18 +82,25 @@ var N = /*@__PURE__*/ S({
|
|
|
81
82
|
"pt:indicator:loading": {},
|
|
82
83
|
"pt:root:pill": {},
|
|
83
84
|
"pt:root:line": {},
|
|
85
|
+
"pt:root:outline": {},
|
|
84
86
|
"pt:legend:pill": {},
|
|
85
87
|
"pt:legend:line": {},
|
|
88
|
+
"pt:legend:outline": {},
|
|
86
89
|
"pt:description:pill": {},
|
|
87
90
|
"pt:description:line": {},
|
|
91
|
+
"pt:description:outline": {},
|
|
88
92
|
"pt:message:pill": {},
|
|
89
93
|
"pt:message:line": {},
|
|
94
|
+
"pt:message:outline": {},
|
|
90
95
|
"pt:hint:pill": {},
|
|
91
96
|
"pt:hint:line": {},
|
|
97
|
+
"pt:hint:outline": {},
|
|
92
98
|
"pt:list:pill": {},
|
|
93
99
|
"pt:list:line": {},
|
|
100
|
+
"pt:list:outline": {},
|
|
94
101
|
"pt:indicator:pill": {},
|
|
95
102
|
"pt:indicator:line": {},
|
|
103
|
+
"pt:indicator:outline": {},
|
|
96
104
|
"pt:item:hasValue": {},
|
|
97
105
|
"pt:item:checked": {},
|
|
98
106
|
"pt:item:readonly": {},
|
|
@@ -131,19 +139,26 @@ var N = /*@__PURE__*/ S({
|
|
|
131
139
|
"pt:itemDescription:loading": {},
|
|
132
140
|
"pt:item:pill": {},
|
|
133
141
|
"pt:item:line": {},
|
|
142
|
+
"pt:item:outline": {},
|
|
134
143
|
"pt:icon:pill": {},
|
|
135
144
|
"pt:icon:line": {},
|
|
145
|
+
"pt:icon:outline": {},
|
|
136
146
|
"pt:label:pill": {},
|
|
137
147
|
"pt:label:line": {},
|
|
148
|
+
"pt:label:outline": {},
|
|
138
149
|
"pt:itemDescription:pill": {},
|
|
139
150
|
"pt:itemDescription:line": {},
|
|
151
|
+
"pt:itemDescription:outline": {},
|
|
140
152
|
"pt:item": {},
|
|
141
153
|
"pt:icon": {},
|
|
142
154
|
"pt:label": {},
|
|
143
155
|
"pt:itemDescription": {},
|
|
144
156
|
pt: {},
|
|
145
157
|
autofocus: { type: [Boolean, String] },
|
|
146
|
-
compact: {
|
|
158
|
+
compact: {
|
|
159
|
+
type: Boolean,
|
|
160
|
+
default: void 0
|
|
161
|
+
},
|
|
147
162
|
dependencies: {},
|
|
148
163
|
depsDebounceTime: {},
|
|
149
164
|
description: {},
|
|
@@ -160,13 +175,16 @@ var N = /*@__PURE__*/ S({
|
|
|
160
175
|
hideLegend: { type: Boolean },
|
|
161
176
|
hint: {},
|
|
162
177
|
id: {},
|
|
163
|
-
inputPosition: { default:
|
|
178
|
+
inputPosition: { default: void 0 },
|
|
164
179
|
items: {},
|
|
165
180
|
itemText: {},
|
|
166
181
|
itemValue: {},
|
|
167
182
|
itemProps: {},
|
|
168
183
|
itemLayout: {},
|
|
169
|
-
itemReverse: {
|
|
184
|
+
itemReverse: {
|
|
185
|
+
type: Boolean,
|
|
186
|
+
default: void 0
|
|
187
|
+
},
|
|
170
188
|
itemLabelAlign: {},
|
|
171
189
|
itemInputAlign: {},
|
|
172
190
|
legendPosition: {},
|
|
@@ -174,6 +192,10 @@ var N = /*@__PURE__*/ S({
|
|
|
174
192
|
legendMode: {},
|
|
175
193
|
variant: {},
|
|
176
194
|
listLayout: {},
|
|
195
|
+
block: {
|
|
196
|
+
type: Boolean,
|
|
197
|
+
default: void 0
|
|
198
|
+
},
|
|
177
199
|
loadingText: {},
|
|
178
200
|
modelValue: {},
|
|
179
201
|
modelValueDebounceTime: {},
|
|
@@ -183,7 +205,10 @@ var N = /*@__PURE__*/ S({
|
|
|
183
205
|
persistentHint: { type: Boolean },
|
|
184
206
|
readonly: { type: Boolean },
|
|
185
207
|
required: { type: Boolean },
|
|
186
|
-
reverse: {
|
|
208
|
+
reverse: {
|
|
209
|
+
type: Boolean,
|
|
210
|
+
default: void 0
|
|
211
|
+
},
|
|
187
212
|
selectable: {
|
|
188
213
|
type: [Boolean, Function],
|
|
189
214
|
default: !0
|
|
@@ -206,126 +231,132 @@ var N = /*@__PURE__*/ S({
|
|
|
206
231
|
"mouseup",
|
|
207
232
|
"update:modelValue"
|
|
208
233
|
],
|
|
209
|
-
setup(
|
|
210
|
-
let
|
|
234
|
+
setup(l, { emit: b }) {
|
|
235
|
+
let j = l, Ee = b, De = k(), M = e("BbRadioGroup", j, {
|
|
236
|
+
inputPosition: "left",
|
|
237
|
+
compact: !1,
|
|
238
|
+
itemReverse: !1,
|
|
239
|
+
reverse: !1,
|
|
240
|
+
block: !1
|
|
241
|
+
}), { props: N, emit: P, showAsterisk: Oe, errors: ke, ariaRequired: Ae, readonly: F } = ge(j, Ee, {
|
|
211
242
|
componentName: "BbRadioGroup",
|
|
212
|
-
identifierFallback: () =>
|
|
243
|
+
identifierFallback: () => j.legend,
|
|
213
244
|
leaveOn: "inactive"
|
|
214
|
-
}),
|
|
215
|
-
process.env.NODE_ENV !== "production" &&
|
|
216
|
-
let
|
|
217
|
-
|
|
218
|
-
}, { active:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}),
|
|
222
|
-
|
|
245
|
+
}), I = () => !!N.legend || !!De.legend;
|
|
246
|
+
process.env.NODE_ENV !== "production" && he("BbRadioGroup", me("BbRadioGroup"));
|
|
247
|
+
let je = u().id, L = _(() => N.name || je.value), Me = [], R = _(() => N.items === void 0 ? Me : N.items), z = we(null), Ne = (e) => {
|
|
248
|
+
z.value = e?.$el ?? null;
|
|
249
|
+
}, { active: B } = de(z), V = Se(!1), Pe = _(() => N.persistentHint || V.value);
|
|
250
|
+
fe(B, () => {
|
|
251
|
+
V.value = !1, P("inactive");
|
|
252
|
+
}), pe(B, () => {
|
|
253
|
+
V.value = !0, P("active");
|
|
223
254
|
});
|
|
224
|
-
let { getter:
|
|
225
|
-
items:
|
|
255
|
+
let { getter: H, clientReproducible: Fe, hydratedFromSsr: Ie, items: Le, loading: U, error: Re, ssrMarker: ze } = le({
|
|
256
|
+
items: R,
|
|
226
257
|
marker: !0
|
|
227
|
-
}),
|
|
228
|
-
|
|
229
|
-
}, { hasPrefilled:
|
|
230
|
-
alreadyLoaded:
|
|
231
|
-
clientReproducible:
|
|
258
|
+
}), W = () => {
|
|
259
|
+
N.enforceCoherence && !q.value && P("update:modelValue", null);
|
|
260
|
+
}, { hasPrefilled: G, whenPrefilled: Be } = ue({
|
|
261
|
+
alreadyLoaded: Ie,
|
|
262
|
+
clientReproducible: Fe,
|
|
232
263
|
trigger: !0,
|
|
233
|
-
currentValue:
|
|
264
|
+
currentValue: N.modelValue,
|
|
234
265
|
multiple: !1,
|
|
235
266
|
fn: async () => {
|
|
236
|
-
await
|
|
267
|
+
await H(void 0, "initial", N.modelValue) === "applied" && W();
|
|
237
268
|
}
|
|
238
|
-
}), { data:
|
|
239
|
-
disabled:
|
|
240
|
-
items:
|
|
241
|
-
itemText:
|
|
242
|
-
itemProps:
|
|
243
|
-
itemValue:
|
|
269
|
+
}), { data: Ve } = f({ items: _(() => [N.modelValue]) }), { options: K } = p({
|
|
270
|
+
disabled: E(() => N.disabled),
|
|
271
|
+
items: Le,
|
|
272
|
+
itemText: N.itemText,
|
|
273
|
+
itemProps: E(() => N.itemProps),
|
|
274
|
+
itemValue: N.itemValue,
|
|
244
275
|
optionDefaults: !0,
|
|
245
276
|
max: Infinity,
|
|
246
|
-
selectable:
|
|
247
|
-
selectedIndexedByHash:
|
|
248
|
-
}), { data:
|
|
249
|
-
items:
|
|
277
|
+
selectable: E(() => N.selectable),
|
|
278
|
+
selectedIndexedByHash: Ve
|
|
279
|
+
}), { data: He } = f({
|
|
280
|
+
items: K,
|
|
250
281
|
key: "valueHash"
|
|
251
|
-
}), { coherent:
|
|
252
|
-
modelValue:
|
|
282
|
+
}), { coherent: q } = m({
|
|
283
|
+
modelValue: E(() => N.modelValue),
|
|
253
284
|
multiple: !1,
|
|
254
|
-
iteratee: (e) => !!
|
|
255
|
-
}),
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
}, { debounce:
|
|
259
|
-
|
|
260
|
-
}, { debounce:
|
|
261
|
-
let
|
|
285
|
+
iteratee: (e) => !!He.value[te(e)]
|
|
286
|
+
}), J = 0;
|
|
287
|
+
h(() => N.modelValue, async () => {
|
|
288
|
+
J++, q.value || await H(void 0, "model", N.modelValue) === "applied" && W(), J--;
|
|
289
|
+
}, { debounce: N.modelValueDebounceTime === void 0 ? 0 : N.modelValueDebounceTime }), h(() => [N.dependencies, R.value], async () => {
|
|
290
|
+
G.value || await Be(), G.value && (J++, await H(void 0, "dependencies", N.modelValue) === "applied" && J === 1 && W(), J--);
|
|
291
|
+
}, { debounce: N.depsDebounceTime === void 0 ? 0 : N.depsDebounceTime });
|
|
292
|
+
let Y = _(() => d(N.modelValue)), X = c({
|
|
262
293
|
component: "BbRadioGroup",
|
|
263
|
-
attrs:
|
|
264
|
-
props:
|
|
265
|
-
parts:
|
|
266
|
-
states:
|
|
294
|
+
attrs: O(),
|
|
295
|
+
props: N,
|
|
296
|
+
parts: g.parts,
|
|
297
|
+
states: g.states,
|
|
267
298
|
variant: {
|
|
268
|
-
...
|
|
269
|
-
current: () =>
|
|
299
|
+
...g.variant,
|
|
300
|
+
current: () => N.variant
|
|
270
301
|
},
|
|
271
302
|
active: {
|
|
272
|
-
...o(
|
|
303
|
+
...s(o(N, () => Y.value), [
|
|
273
304
|
"errors",
|
|
274
305
|
"warnings",
|
|
275
306
|
"disabled",
|
|
276
307
|
"readonly",
|
|
277
308
|
"hasValue"
|
|
278
309
|
]),
|
|
279
|
-
loading: () =>
|
|
310
|
+
loading: () => U.value
|
|
280
311
|
}
|
|
281
|
-
}),
|
|
312
|
+
}), Ue = _(() => M.listLayout === "vertical"), { boxes: We, ready: Ge, styleOf: Ke } = ce({
|
|
282
313
|
kind: "radio",
|
|
283
|
-
variant: () =>
|
|
284
|
-
vertical: () =>
|
|
285
|
-
list: () =>
|
|
286
|
-
rows: () =>
|
|
314
|
+
variant: () => N.variant,
|
|
315
|
+
vertical: () => Ue.value,
|
|
316
|
+
list: () => z.value,
|
|
317
|
+
rows: () => K.value,
|
|
287
318
|
rowClass: "bb-radio-group__item"
|
|
288
|
-
}),
|
|
319
|
+
}), Z = a(X, { label: "legend" }), Q = se(), $ = (e, t) => {
|
|
289
320
|
if (t) return [t, e.valueHash].filter(Boolean).join("-");
|
|
290
|
-
},
|
|
291
|
-
let e =
|
|
292
|
-
e.length ===
|
|
321
|
+
}, qe = () => {
|
|
322
|
+
let e = z.value?.querySelectorAll("input[type=\"radio\"]") ?? [];
|
|
323
|
+
e.length === K.value.length && K.value.forEach((t, n) => {
|
|
293
324
|
e[n].checked = !!t.selected;
|
|
294
325
|
});
|
|
295
|
-
},
|
|
326
|
+
}, Je = (e) => ({
|
|
296
327
|
onBlur: (t) => {
|
|
297
|
-
Q.onBlur(e.valueHash),
|
|
328
|
+
Q.onBlur(e.valueHash), P("blur", t);
|
|
298
329
|
},
|
|
299
330
|
onChange: (t) => {
|
|
300
|
-
|
|
331
|
+
N.readonly ? t.target instanceof HTMLInputElement && ie(t.target, N.readonly, !!e.selected) : (P("change", t), P("update:modelValue", e.value), xe(qe));
|
|
301
332
|
},
|
|
302
333
|
onClick: (e) => {
|
|
303
|
-
|
|
334
|
+
ne(e, N.readonly), P("click", e);
|
|
304
335
|
},
|
|
305
336
|
onFocus: (t) => {
|
|
306
|
-
Q.onFocus(e.valueHash, t),
|
|
337
|
+
Q.onFocus(e.valueHash, t), V.value = !0, P("focus", t);
|
|
307
338
|
},
|
|
308
|
-
onInput: (e) =>
|
|
339
|
+
onInput: (e) => P("input", e),
|
|
309
340
|
onKeydown: (e) => {
|
|
310
|
-
|
|
341
|
+
re(e, N.readonly), P("keydown", e);
|
|
311
342
|
},
|
|
312
|
-
onMousedown: (e) =>
|
|
313
|
-
onMouseup: (e) =>
|
|
314
|
-
}),
|
|
315
|
-
...
|
|
316
|
-
ariaDescribedby:
|
|
343
|
+
onMousedown: (e) => P("mousedown", e),
|
|
344
|
+
onMouseup: (e) => P("mouseup", e)
|
|
345
|
+
}), Ye = (e, t, n, r, i, a) => ({
|
|
346
|
+
...ae("radio", {
|
|
347
|
+
ariaDescribedby: ee(r, a),
|
|
317
348
|
ariaLabelledby: i,
|
|
318
|
-
autofocus:
|
|
349
|
+
autofocus: N.autofocus && !t,
|
|
319
350
|
checked: !!e.selected,
|
|
320
351
|
disabled: e.disabled,
|
|
321
352
|
id: $(e, n),
|
|
322
|
-
name:
|
|
323
|
-
readonly:
|
|
324
|
-
required:
|
|
353
|
+
name: L.value,
|
|
354
|
+
readonly: N.readonly,
|
|
355
|
+
required: N.required,
|
|
325
356
|
value: e.value
|
|
326
357
|
}),
|
|
327
|
-
...
|
|
328
|
-
}),
|
|
358
|
+
...Je(e)
|
|
359
|
+
}), Xe = (e, t, n, r) => ({
|
|
329
360
|
checked: !!e.selected,
|
|
330
361
|
disabled: !!e.disabled,
|
|
331
362
|
focused: Q.focused(e.valueHash),
|
|
@@ -333,89 +364,90 @@ var N = /*@__PURE__*/ S({
|
|
|
333
364
|
hasErrors: !!n,
|
|
334
365
|
hasWarnings: !!r && !n,
|
|
335
366
|
id: $(e, t),
|
|
336
|
-
name:
|
|
337
|
-
parsedValue:
|
|
338
|
-
readonly: !!
|
|
367
|
+
name: L.value,
|
|
368
|
+
parsedValue: oe("radio", e.value),
|
|
369
|
+
readonly: !!N.readonly,
|
|
339
370
|
value: e.value
|
|
340
371
|
});
|
|
341
|
-
return (
|
|
342
|
-
id:
|
|
372
|
+
return (e, a) => (w(), ve(n, S({
|
|
373
|
+
id: l.id,
|
|
343
374
|
class: "bb-radio-group",
|
|
344
|
-
compact:
|
|
345
|
-
description:
|
|
346
|
-
disabled:
|
|
347
|
-
errors:
|
|
348
|
-
"has-errors":
|
|
349
|
-
"has-value":
|
|
350
|
-
"has-warnings":
|
|
351
|
-
"hide-label":
|
|
352
|
-
hint:
|
|
353
|
-
"input-align":
|
|
354
|
-
"input-position":
|
|
355
|
-
label:
|
|
356
|
-
"label-align":
|
|
357
|
-
"label-mode":
|
|
358
|
-
"label-position":
|
|
375
|
+
compact: D(M).compact,
|
|
376
|
+
description: l.description,
|
|
377
|
+
disabled: l.disabled,
|
|
378
|
+
errors: D(ke),
|
|
379
|
+
"has-errors": l.hasErrors,
|
|
380
|
+
"has-value": Y.value,
|
|
381
|
+
"has-warnings": l.hasWarnings,
|
|
382
|
+
"hide-label": l.hideLegend,
|
|
383
|
+
hint: l.hint,
|
|
384
|
+
"input-align": l.inputAlign,
|
|
385
|
+
"input-position": D(M).inputPosition,
|
|
386
|
+
label: l.legend,
|
|
387
|
+
"label-align": l.labelAlign,
|
|
388
|
+
"label-mode": l.legendMode,
|
|
389
|
+
"label-position": l.legendPosition,
|
|
359
390
|
"label-tag": "legend",
|
|
360
|
-
layout:
|
|
361
|
-
loading:
|
|
362
|
-
name:
|
|
363
|
-
passthrough:
|
|
364
|
-
readonly:
|
|
365
|
-
reverse:
|
|
366
|
-
"show-asterisk":
|
|
367
|
-
"show-hint":
|
|
368
|
-
"ssr-marker":
|
|
391
|
+
layout: D(M).layout,
|
|
392
|
+
loading: D(U),
|
|
393
|
+
name: L.value,
|
|
394
|
+
passthrough: D(Z),
|
|
395
|
+
readonly: D(F),
|
|
396
|
+
reverse: D(M).reverse,
|
|
397
|
+
"show-asterisk": D(Oe),
|
|
398
|
+
"show-hint": Pe.value,
|
|
399
|
+
"ssr-marker": D(ze),
|
|
369
400
|
tag: "fieldset",
|
|
370
|
-
warnings:
|
|
371
|
-
},
|
|
372
|
-
label:
|
|
373
|
-
input:
|
|
374
|
-
ref:
|
|
375
|
-
"aria-labelledby":
|
|
376
|
-
"aria-readonly":
|
|
377
|
-
"aria-required":
|
|
401
|
+
warnings: l.warnings
|
|
402
|
+
}, D(X).forwardAttrs), be({
|
|
403
|
+
label: A((t) => [T(e.$slots, "legend", C(x(t)))]),
|
|
404
|
+
input: A(({ id: n, hasErrors: a, hasWarnings: o, ariaDescribedby: s }) => [y(r, {
|
|
405
|
+
ref: Ne,
|
|
406
|
+
"aria-labelledby": I() ? `${n}__label` : void 0,
|
|
407
|
+
"aria-readonly": I() && D(F) ? !0 : void 0,
|
|
408
|
+
"aria-required": I() ? D(Ae) : void 0,
|
|
378
409
|
block: "bb-radio-group",
|
|
379
|
-
"empty-text":
|
|
380
|
-
error:
|
|
381
|
-
"failed-text":
|
|
410
|
+
"empty-text": l.emptyText,
|
|
411
|
+
error: D(Re),
|
|
412
|
+
"failed-text": l.failedText,
|
|
382
413
|
"has-errors": a,
|
|
383
414
|
"has-warnings": o,
|
|
384
|
-
"hide-label":
|
|
385
|
-
"indicator-ready":
|
|
386
|
-
"item-input-align":
|
|
387
|
-
"item-label-align":
|
|
388
|
-
"item-layout":
|
|
389
|
-
"item-reverse":
|
|
390
|
-
"list-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
415
|
+
"hide-label": l.hideLabel,
|
|
416
|
+
"indicator-ready": D(Ge),
|
|
417
|
+
"item-input-align": l.itemInputAlign,
|
|
418
|
+
"item-label-align": l.itemLabelAlign,
|
|
419
|
+
"item-layout": D(M).itemLayout,
|
|
420
|
+
"item-reverse": D(M).itemReverse,
|
|
421
|
+
"list-block": D(M).block,
|
|
422
|
+
"list-layout": D(M).listLayout,
|
|
423
|
+
loading: !!D(U),
|
|
424
|
+
"loading-text": l.loadingText,
|
|
425
|
+
options: D(K),
|
|
426
|
+
passthrough: D(X),
|
|
427
|
+
role: I() ? "radiogroup" : void 0,
|
|
428
|
+
variant: l.variant
|
|
397
429
|
}, {
|
|
398
|
-
prepend:
|
|
430
|
+
prepend: A(() => [(w(!0), v(_e, null, Ce(D(We), (e) => (w(), v("span", S({
|
|
399
431
|
key: e.key,
|
|
400
432
|
"aria-hidden": "true",
|
|
401
433
|
class: "bb-radio-group__indicator",
|
|
402
|
-
style:
|
|
403
|
-
}, { ref_for: !0 },
|
|
404
|
-
loading:
|
|
405
|
-
empty:
|
|
406
|
-
label:
|
|
407
|
-
input:
|
|
408
|
-
item:
|
|
409
|
-
text:
|
|
410
|
-
},
|
|
411
|
-
checked: !!
|
|
412
|
-
disabled: !!
|
|
413
|
-
"focus-visible":
|
|
414
|
-
focused:
|
|
434
|
+
style: D(Ke)(e)
|
|
435
|
+
}, { ref_for: !0 }, D(X).indicator), null, 16))), 128)), T(e.$slots, "prepend")]),
|
|
436
|
+
loading: A(() => [T(e.$slots, "loading")]),
|
|
437
|
+
empty: A((t) => [T(e.$slots, "empty", C(x(t)))]),
|
|
438
|
+
label: A((t) => [T(e.$slots, "label", C(x(t)))]),
|
|
439
|
+
input: A(({ option: r, index: c, labelId: l, descriptionId: u, rowStates: d }) => [Te(ye("input", C(x(Ye(r, c, n, s, l, u))), null, 16), [[D(t)]]), T(e.$slots, "icon", S({
|
|
440
|
+
item: r.item,
|
|
441
|
+
text: r.text
|
|
442
|
+
}, Xe(r, n, a, o)), () => [y(i, S({
|
|
443
|
+
checked: !!r.selected,
|
|
444
|
+
disabled: !!r.disabled,
|
|
445
|
+
"focus-visible": D(Q).focusVisible(r.valueHash),
|
|
446
|
+
focused: D(Q).focused(r.valueHash),
|
|
415
447
|
"has-errors": !!a,
|
|
416
448
|
"has-warnings": !!o && !a,
|
|
417
|
-
readonly: !!
|
|
418
|
-
},
|
|
449
|
+
readonly: !!D(F)
|
|
450
|
+
}, D(X).part("icon", d, r.item)), null, 16, [
|
|
419
451
|
"checked",
|
|
420
452
|
"disabled",
|
|
421
453
|
"focus-visible",
|
|
@@ -424,7 +456,7 @@ var N = /*@__PURE__*/ S({
|
|
|
424
456
|
"has-warnings",
|
|
425
457
|
"readonly"
|
|
426
458
|
])])]),
|
|
427
|
-
append:
|
|
459
|
+
append: A(() => [T(e.$slots, "append")]),
|
|
428
460
|
_: 2
|
|
429
461
|
}, 1032, [
|
|
430
462
|
"aria-labelledby",
|
|
@@ -441,6 +473,7 @@ var N = /*@__PURE__*/ S({
|
|
|
441
473
|
"item-label-align",
|
|
442
474
|
"item-layout",
|
|
443
475
|
"item-reverse",
|
|
476
|
+
"list-block",
|
|
444
477
|
"list-layout",
|
|
445
478
|
"loading",
|
|
446
479
|
"loading-text",
|
|
@@ -450,11 +483,11 @@ var N = /*@__PURE__*/ S({
|
|
|
450
483
|
"variant"
|
|
451
484
|
])]),
|
|
452
485
|
_: 2
|
|
453
|
-
}, [
|
|
486
|
+
}, [e.$slots.description ? {
|
|
454
487
|
name: "description",
|
|
455
|
-
fn:
|
|
488
|
+
fn: A((t) => [T(e.$slots, "description", C(x(t)))]),
|
|
456
489
|
key: "0"
|
|
457
490
|
} : void 0]), 1040, /* @__PURE__ */ "id.compact.description.disabled.errors.has-errors.has-value.has-warnings.hide-label.hint.input-align.input-position.label.label-align.label-mode.label-position.layout.loading.name.passthrough.readonly.reverse.show-asterisk.show-hint.ssr-marker.warnings".split(".")));
|
|
458
491
|
}
|
|
459
492
|
});
|
|
460
|
-
export {
|
|
493
|
+
export { j as default };
|
|
@@ -31,7 +31,7 @@ export declare const BB_RADIO_GROUP_PT: {
|
|
|
31
31
|
readonly itemDescription: readonly ["checked", "focused", "focusVisible"];
|
|
32
32
|
};
|
|
33
33
|
readonly variant: {
|
|
34
|
-
readonly names: readonly ["pill", "line"];
|
|
34
|
+
readonly names: readonly ["pill", "line", "outline"];
|
|
35
35
|
readonly option: "radioVariants";
|
|
36
36
|
};
|
|
37
37
|
};
|
|
@@ -218,19 +218,25 @@ export type BbRadioGroupProps<T> = {
|
|
|
218
218
|
/**
|
|
219
219
|
* A tab-strip look: `'pill'` (a raised pill under the pick) or
|
|
220
220
|
* `'line'` (a bar on a baseline); the indicator slides like a tab strip's.
|
|
221
|
-
* `list-layout="vertical"` stacks it. Register more with `
|
|
221
|
+
* `list-layout="vertical"` stacks it. Register more with `components.BbRadioGroup.variants`.
|
|
222
222
|
* Unset: the group's own rows.
|
|
223
223
|
*/
|
|
224
224
|
variant?: RadioVariantType;
|
|
225
225
|
/**
|
|
226
226
|
* How the rows sit in the list: `'horizontal'` (on a line, wrapping),
|
|
227
|
-
* `'vertical'` (stacked)
|
|
228
|
-
* list
|
|
229
|
-
*
|
|
227
|
+
* `'vertical'` (stacked) or `'tiles'` (equal boxes; `--tile-min-width` on
|
|
228
|
+
* `pt:list` sets the narrowest). `block` makes the rows full width.
|
|
229
|
+
* Layout only: the cards are `pt` (guide § Radio cards).
|
|
230
230
|
*
|
|
231
231
|
* @defaultValue `'horizontal'`
|
|
232
232
|
*/
|
|
233
233
|
listLayout?: ListLayout;
|
|
234
|
+
/**
|
|
235
|
+
* The rows take the list's full width: on a line (`horizontal`, a
|
|
236
|
+
* `variant` strip) they share it equally, stacked (`vertical`) each row
|
|
237
|
+
* is full width. Every look: plain rows, `pill`, `line`, `outline`.
|
|
238
|
+
*/
|
|
239
|
+
block?: boolean;
|
|
234
240
|
/**
|
|
235
241
|
* String displayed while items are being loaded.
|
|
236
242
|
*/
|
|
@@ -6,30 +6,32 @@ type __VLS_Slots = BbRatingSlots;
|
|
|
6
6
|
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
7
7
|
active: () => any;
|
|
8
8
|
input: (event: Event) => any;
|
|
9
|
+
"update:modelValue": (value: number | null) => any;
|
|
9
10
|
blur: (event: FocusEvent) => any;
|
|
11
|
+
inactive: () => any;
|
|
10
12
|
change: (event: Event) => any;
|
|
11
13
|
click: (event: MouseEvent) => any;
|
|
12
14
|
focus: (event: FocusEvent) => any;
|
|
13
15
|
keydown: (event: KeyboardEvent) => any;
|
|
14
16
|
mousedown: (event: MouseEvent) => any;
|
|
15
17
|
mouseup: (event: MouseEvent) => any;
|
|
16
|
-
"update:modelValue": (value: number | null) => any;
|
|
17
|
-
inactive: () => any;
|
|
18
18
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
19
19
|
onActive?: (() => any) | undefined;
|
|
20
20
|
onInput?: ((event: Event) => any) | undefined;
|
|
21
|
+
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
21
22
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
23
|
+
onInactive?: (() => any) | undefined;
|
|
22
24
|
onChange?: ((event: Event) => any) | undefined;
|
|
23
25
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
24
26
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
25
27
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
26
28
|
onMousedown?: ((event: MouseEvent) => any) | undefined;
|
|
27
29
|
onMouseup?: ((event: MouseEvent) => any) | undefined;
|
|
28
|
-
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
29
|
-
onInactive?: (() => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
|
|
31
|
+
reverse: boolean;
|
|
32
|
+
compact: boolean;
|
|
32
33
|
inputPosition: "left" | "center" | "right";
|
|
34
|
+
clearable: boolean;
|
|
33
35
|
stars: number;
|
|
34
36
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
35
37
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|