bitboss-ui 3.0.0-beta.2 → 3.0.0-beta.21
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 +72 -33
- package/dist/ai/BbAccordion.md +3 -3
- package/dist/ai/BbAlert.md +9 -5
- package/dist/ai/BbAsterisk.md +17 -0
- package/dist/ai/BbAvatar.md +12 -3
- package/dist/ai/BbBadge.md +15 -10
- package/dist/ai/BbBadgeButton.md +16 -16
- package/dist/ai/BbBaseButton.md +16 -16
- package/dist/ai/BbBaseCheckbox.md +8 -8
- package/dist/ai/BbBaseCheckboxGroup.md +13 -13
- package/dist/ai/BbBaseCheckboxIcon.md +26 -9
- package/dist/ai/BbBaseColorInput.md +11 -11
- package/dist/ai/BbBaseDatePicker.md +6 -6
- package/dist/ai/BbBaseDatePickerInput.md +15 -15
- package/dist/ai/BbBaseInputContainer.md +12 -12
- package/dist/ai/BbBaseNumberInput.md +8 -8
- package/dist/ai/BbBaseRadio.md +5 -5
- package/dist/ai/BbBaseRadioGroup.md +7 -7
- package/dist/ai/BbBaseRadioIcon.md +25 -9
- package/dist/ai/BbBaseRating.md +5 -5
- package/dist/ai/BbBaseSelect.md +22 -21
- package/dist/ai/BbBaseSlider.md +9 -9
- package/dist/ai/BbBaseSwitch.md +8 -8
- package/dist/ai/BbBaseSwitchGroup.md +13 -13
- package/dist/ai/BbBaseSwitchIcon.md +28 -10
- package/dist/ai/BbBaseTag.md +10 -10
- package/dist/ai/BbBaseTextInput.md +9 -9
- package/dist/ai/BbBaseTextarea.md +9 -9
- package/dist/ai/BbBaseTimePickerInput.md +13 -13
- package/dist/ai/BbBreadcrumbs.md +2 -2
- package/dist/ai/BbButton.md +15 -15
- package/dist/ai/BbCheckbox.md +18 -17
- package/dist/ai/BbCheckboxGroup.md +15 -14
- package/dist/ai/BbCollapsible.md +11 -9
- package/dist/ai/BbColorInput.md +15 -15
- package/dist/ai/BbColorPalette.md +12 -6
- package/dist/ai/BbConfirm.md +12 -5
- package/dist/ai/BbDatePicker.md +13 -13
- package/dist/ai/BbDatePickerInput.md +20 -20
- package/dist/ai/BbDialog.md +78 -12
- package/dist/ai/BbDropdown.md +132 -22
- package/dist/ai/BbDropdownButton.md +12 -12
- package/dist/ai/BbDropdownGroup.md +1 -1
- package/dist/ai/BbDropzone.md +4 -4
- package/dist/ai/BbForm.md +49 -14
- package/dist/ai/BbIcon.md +6 -0
- package/dist/ai/BbIndicator.md +5 -5
- package/dist/ai/BbNumberInput.md +11 -11
- package/dist/ai/BbOffCanvas.md +90 -20
- package/dist/ai/BbPagination.md +3 -3
- package/dist/ai/BbPopover.md +32 -17
- package/dist/ai/BbProgress.md +7 -4
- package/dist/ai/BbRadio.md +16 -15
- package/dist/ai/BbRadioGroup.md +20 -17
- package/dist/ai/BbRating.md +11 -11
- package/dist/ai/BbSelect.md +138 -37
- package/dist/ai/BbSelectPopover.md +40 -41
- package/dist/ai/BbSlider.md +37 -22
- package/dist/ai/BbSmoothHeight.md +1 -1
- package/dist/ai/BbSwitch.md +25 -10
- package/dist/ai/BbSwitchGroup.md +17 -14
- package/dist/ai/BbTable.md +920 -109
- package/dist/ai/BbTabs.md +28 -14
- package/dist/ai/BbTabsList.md +1 -1
- package/dist/ai/BbTabsPanes.md +1 -1
- package/dist/ai/BbTabsRoot.md +10 -10
- package/dist/ai/BbTag.md +14 -14
- package/dist/ai/BbTextInput.md +16 -15
- package/dist/ai/BbTextarea.md +13 -13
- package/dist/ai/BbTimePicker.md +10 -10
- package/dist/ai/BbTimePickerInput.md +17 -17
- package/dist/ai/BbToast.md +1 -1
- package/dist/ai/BbToastPortal.md +1 -1
- package/dist/ai/BbTooltip.md +12 -10
- package/dist/ai/BbTree.md +1 -1
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonInputWrapper.md +10 -10
- package/dist/ai/CommonPopover.md +6 -6
- package/dist/ai/FlatListBox.md +5 -5
- package/dist/ai/GroupedListBox.md +5 -5
- package/dist/ai/ListBox.md +4 -4
- package/dist/ai/OptionsContainer.md +4 -4
- package/dist/ai/changelog.json +128 -2
- package/dist/ai/components.json +917 -100
- package/dist/ai/composables/useBbConfig.md +72 -11
- package/dist/ai/composables/useConfirm.md +5 -3
- package/dist/ai/guides/ai-router.md +9 -4
- package/dist/ai/guides/component-picker.md +18 -18
- package/dist/ai/guides/design-language.md +14 -14
- package/dist/ai/guides/design-tokens.md +25 -18
- package/dist/ai/guides/fetch-items-playbook.md +1 -1
- package/dist/ai/guides/icons-policy.md +11 -5
- package/dist/ai/guides/installation-and-plugin-setup.md +85 -23
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +30 -0
- package/dist/ai/guides/migration/components/bb-checkbox.md +37 -3
- package/dist/ai/guides/migration/components/bb-collapsible.md +5 -5
- package/dist/ai/guides/migration/components/bb-dialog.md +62 -34
- package/dist/ai/guides/migration/components/bb-offcanvas.md +29 -13
- package/dist/ai/guides/migration/components/bb-rating.md +8 -2
- package/dist/ai/guides/migration/components/bb-select.md +5 -2
- package/dist/ai/guides/migration/components/bb-table.md +560 -28
- package/dist/ai/guides/migration/components/bb-text-input.md +6 -6
- package/dist/ai/guides/migration/v2-to-v3.md +260 -89
- package/dist/ai/guides/ssr-prefill.md +120 -0
- package/dist/ai/index.md +10 -9
- package/dist/ai/recipes/inertia/approvals-inbox.md +0 -1
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +0 -1
- package/dist/ai/recipes/inertia/layout-scaffold.md +5 -1
- package/dist/ai/recipes/inertia/ownership-atlas.md +49 -29
- package/dist/ai/recipes/inertia/record-form.md +0 -1
- package/dist/ai/recipes/inertia/records-workspace.md +26 -8
- package/dist/ai/recipes/inertia/upload-center.md +0 -1
- package/dist/ai/recipes/nuxt/approvals-inbox.md +0 -1
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +0 -1
- package/dist/ai/recipes/nuxt/layout-scaffold.md +5 -1
- package/dist/ai/recipes/nuxt/record-form.md +0 -1
- package/dist/ai/recipes/nuxt/records-workspace.md +26 -8
- package/dist/ai/recipes/nuxt/upload-center.md +0 -1
- package/dist/ai/recipes/vue/approvals-inbox.md +0 -1
- package/dist/ai/recipes/vue/inline-edit-workspace.md +0 -1
- package/dist/ai/recipes/vue/layout-scaffold.md +5 -1
- package/dist/ai/recipes/vue/records-workspace.md +26 -8
- package/dist/ai/recipes/vue/upload-center.md +0 -1
- package/dist/ai/source/BbAlert.md +60 -2
- package/dist/ai/source/BbAvatar.md +3 -3
- package/dist/ai/source/BbBadge.md +60 -15
- package/dist/ai/source/BbBadgeButton.md +8 -2
- package/dist/ai/source/BbBaseButton.md +3 -1
- package/dist/ai/source/BbBaseCheckboxGroup.md +6 -2
- package/dist/ai/source/BbBaseDatePicker.md +3 -1
- package/dist/ai/source/BbBaseDatePickerInput.md +5 -1
- package/dist/ai/source/BbBaseInputContainer.md +52 -1
- package/dist/ai/source/BbBaseRadioGroup.md +4 -0
- package/dist/ai/source/BbBaseRating.md +3 -1
- package/dist/ai/source/BbBaseSelect.md +71 -16
- package/dist/ai/source/BbBaseSwitchGroup.md +4 -0
- package/dist/ai/source/BbBaseTimePickerInput.md +5 -1
- package/dist/ai/source/BbBreadcrumbs.md +31 -0
- package/dist/ai/source/BbButton.md +51 -24
- package/dist/ai/source/BbCheckbox.md +15 -1
- package/dist/ai/source/BbCheckboxGroup.md +2 -1
- package/dist/ai/source/BbCollapsible.md +7 -1
- package/dist/ai/source/BbColorInput.md +3 -4
- package/dist/ai/source/BbColorPalette.md +3 -4
- package/dist/ai/source/BbDatePicker.md +5 -1
- package/dist/ai/source/BbDatePickerInput.md +5 -1
- package/dist/ai/source/BbDialog.md +175 -19
- package/dist/ai/source/BbDropdown.md +376 -69
- package/dist/ai/source/BbDropdownGroup.md +330 -59
- package/dist/ai/source/BbForm.md +93 -5
- package/dist/ai/source/BbIcon.md +46 -36
- package/dist/ai/source/BbNumberInput.md +3 -4
- package/dist/ai/source/BbOffCanvas.md +474 -194
- package/dist/ai/source/BbPopover.md +24 -17
- package/dist/ai/source/BbProgress.md +2 -2
- package/dist/ai/source/BbRadio.md +15 -1
- package/dist/ai/source/BbRadioGroup.md +3 -1
- package/dist/ai/source/BbSelect.md +50 -2
- package/dist/ai/source/BbSelectPopover.md +171 -23
- package/dist/ai/source/BbSlider.md +3 -4
- package/dist/ai/source/BbSwitch.md +15 -1
- package/dist/ai/source/BbSwitchGroup.md +8 -5
- package/dist/ai/source/BbTable.md +5092 -1446
- package/dist/ai/source/BbTabs.md +6 -7
- package/dist/ai/source/BbTabsList.md +6 -7
- package/dist/ai/source/BbTabsPanes.md +6 -7
- package/dist/ai/source/BbTabsRoot.md +6 -7
- package/dist/ai/source/BbTag.md +3 -4
- package/dist/ai/source/BbTextInput.md +3 -4
- package/dist/ai/source/BbTextarea.md +3 -4
- package/dist/ai/source/BbTimePicker.md +4 -1
- package/dist/ai/source/BbTimePickerInput.md +5 -1
- package/dist/ai/source/BbToast.md +3 -1
- package/dist/ai/source/BbTooltip.md +5 -1
- package/dist/ai/source/CommonInputWrapper.md +4 -0
- package/dist/ai/source/CommonPopover.md +6 -0
- package/dist/ai/source/FlatListBox.md +11 -5
- package/dist/ai/source/GroupedListBox.md +7 -5
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/BbAlert/types.d.ts +10 -1
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -1
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +33 -33
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +22 -16
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +36 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +21 -8
- package/dist/components/BbBadge/types.d.ts +8 -2
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +47 -47
- package/dist/components/BbBaseButton/RouterComponent.vue_vue_type_script_setup_true_lang.js +14 -14
- package/dist/components/BbBaseCheckboxGroup/BbBaseCheckboxGroup.vue_vue_type_script_setup_true_lang.js +30 -28
- package/dist/components/BbBaseCheckboxGroup/types.d.ts +2 -2
- package/dist/components/BbBaseDatePicker/BbBaseDatePicker.vue_vue_type_script_setup_true_lang.js +167 -167
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue.d.ts +9 -9
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerInputDaySelector.vue_vue_type_script_setup_true_lang.js +78 -78
- package/dist/components/BbBaseDatePicker/BbBaseDatePickerMonthSelector.vue_vue_type_script_setup_true_lang.js +64 -64
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbBaseDatePickerInput/BbBaseDatePickerInput.vue_vue_type_script_setup_true_lang.js +138 -138
- package/dist/components/BbBaseInputContainer/BbBaseInputContainer.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbBaseRadioGroup/BbBaseRadioGroup.vue_vue_type_script_setup_true_lang.js +24 -22
- package/dist/components/BbBaseRating/BbBaseRating.vue_vue_type_script_setup_true_lang.js +40 -40
- package/dist/components/BbBaseSelect/BbBaseSelect.vue_vue_type_script_setup_true_lang.js +74 -65
- package/dist/components/BbBaseSelect/types.d.ts +22 -0
- package/dist/components/BbBaseSlider/BbBaseSlider.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/BbBaseSwitchGroup/BbBaseSwitchGroup.vue_vue_type_script_setup_true_lang.js +30 -28
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue.d.ts +1 -1
- package/dist/components/BbBaseTimePickerInput/BbBaseTimePickerInput.vue_vue_type_script_setup_true_lang.js +104 -104
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +35 -35
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +85 -81
- package/dist/components/BbCheckboxGroup/types.d.ts +2 -1
- package/dist/components/BbCollapsible/types.d.ts +7 -1
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +18 -18
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -2
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +50 -50
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +100 -100
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +21 -21
- package/dist/components/BbDialog/BbDialog.vue.d.ts +1 -1
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +133 -107
- package/dist/components/BbDialog/types.d.ts +29 -2
- package/dist/components/BbDropdown/AdaptiveDropdown.vue.d.ts +2 -0
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +99 -100
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +2 -2
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +208 -201
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +225 -208
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +21 -21
- package/dist/components/BbDropdown/types.d.ts +20 -5
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/BbIcon/BbIcon.vue_vue_type_script_setup_true_lang.js +46 -46
- package/dist/components/BbIcon/iconCache.d.ts +33 -0
- package/dist/components/BbIcon/iconCache.js +17 -0
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +15 -15
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +254 -208
- package/dist/components/BbOffCanvas/types.d.ts +30 -5
- package/dist/components/BbPagination/BbPagination.vue.d.ts +1 -1
- package/dist/components/BbPopover/BbPopover.vue.d.ts +2 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +149 -146
- package/dist/components/BbPopover/types.d.ts +3 -2
- package/dist/components/BbRadioGroup/types.d.ts +3 -1
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +27 -23
- package/dist/components/BbSelect/types.d.ts +32 -0
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +221 -213
- package/dist/components/BbSlider/BbSlider.vue.d.ts +1 -1
- package/dist/components/BbSlider/BbSlider.vue_vue_type_script_setup_true_lang.js +20 -20
- package/dist/components/BbTable/BbTable.vue.d.ts +10 -4
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1433 -600
- package/dist/components/BbTable/BbTableDataRow.d.ts +162 -0
- package/dist/components/BbTable/BbTableDataRow.js +136 -0
- package/dist/components/BbTable/BbTableExpandRow.d.ts +73 -0
- package/dist/components/BbTable/BbTableExpandRow.js +52 -0
- package/dist/components/BbTable/types.d.ts +324 -111
- package/dist/components/BbTable/utils.d.ts +92 -4
- package/dist/components/BbTable/utils.js +71 -36
- package/dist/components/BbTabs/types.d.ts +0 -8
- package/dist/components/BbTag/BbTag.vue.d.ts +1 -1
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +18 -18
- package/dist/components/BbTextInput/BbTextInput.vue.d.ts +1 -1
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +18 -18
- package/dist/components/BbTextarea/BbTextarea.vue.d.ts +1 -1
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +54 -54
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +1 -1
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +80 -80
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +61 -61
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +13 -13
- package/dist/components/BbTooltip/types.d.ts +5 -1
- package/dist/components/ChipsBox/ChipsBox.vue_vue_type_script_setup_true_lang.js +17 -17
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +5 -5
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +2 -1
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +83 -83
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +56 -56
- package/dist/composables/useBaseOptions.js +30 -20
- package/dist/composables/useBbConfig.d.ts +27 -6
- package/dist/composables/useBbConfig.js +8 -2
- package/dist/composables/useConfig.d.ts +59 -0
- package/dist/composables/useConfig.js +9 -0
- package/dist/composables/useItemsGetter.d.ts +11 -0
- package/dist/composables/useItemsGetter.js +44 -18
- package/dist/composables/useLocale.js +10 -7
- package/dist/composables/useMobile.js +5 -5
- package/dist/composables/usePrefill.d.ts +21 -2
- package/dist/composables/usePrefill.js +25 -19
- package/dist/composables/useSsrState.d.ts +20 -0
- package/dist/composables/useSsrState.js +13 -0
- package/dist/composables/useTableWidthContext.d.ts +24 -4
- package/dist/composables/useTableWidthContext.js +31 -28
- package/dist/composables/useToast.js +5 -5
- package/dist/deprecation/ai-deprecations.json.d.ts +121 -11
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/directives/bbDropdown.d.ts +15 -4
- package/dist/directives/bbDropdown.js +31 -9
- package/dist/directives/createPopoverDirective.d.ts +62 -0
- package/dist/directives/createPopoverDirective.js +63 -23
- package/dist/i18n/locales/cs.json +4 -1
- package/dist/i18n/locales/da.json +4 -1
- package/dist/i18n/locales/de.json +4 -1
- package/dist/i18n/locales/el.json +4 -1
- package/dist/i18n/locales/en.json +4 -1
- package/dist/i18n/locales/es.json +4 -1
- package/dist/i18n/locales/fi.json +4 -1
- package/dist/i18n/locales/fr.json +4 -1
- package/dist/i18n/locales/hu.json +4 -1
- package/dist/i18n/locales/it.json +4 -1
- package/dist/i18n/locales/ja.json +4 -1
- package/dist/i18n/locales/ko.json +4 -1
- package/dist/i18n/locales/nb.json +4 -1
- package/dist/i18n/locales/nl.json +4 -1
- package/dist/i18n/locales/pl.json +4 -1
- package/dist/i18n/locales/pt.json +4 -1
- package/dist/i18n/locales/ro.json +4 -1
- package/dist/i18n/locales/ru.json +4 -1
- package/dist/i18n/locales/sv.json +4 -1
- package/dist/i18n/locales/tr.json +4 -1
- package/dist/i18n/locales/uk.json +4 -1
- package/dist/i18n/locales/zh-cn.json +4 -1
- package/dist/index.d.ts +7 -2
- package/dist/index.js +69 -67
- package/dist/llms-full.txt +3997 -1458
- package/dist/llms-medium.txt +140 -73
- package/dist/llms.txt +7 -6
- package/dist/locale-blueprint.json +4 -1
- package/dist/nuxt-auto-imports.d.ts +100 -0
- package/dist/nuxt-auto-imports.js +55 -0
- package/dist/nuxt-module.d.ts +22 -1
- package/dist/nuxt.js +22 -8
- package/dist/plugin.d.ts +10 -1
- package/dist/plugin.js +20 -19
- package/dist/runtime/nuxt-plugin.js +28 -21
- package/dist/styles.css +1 -1
- package/dist/utilities/misc/listboxMetrics.d.ts +3 -3
- package/dist/utilities/misc/listboxMetrics.js +2 -2
- package/dist/utilities/misc/ssrStateInjectionKey.d.ts +42 -0
- package/dist/utilities/misc/ssrStateInjectionKey.js +4 -0
- package/dist/validated/BbForm.vue_vue_type_script_setup_true_lang.js +45 -27
- package/dist/validated/BbSelect.vue.d.ts +2 -0
- package/dist/validated/BbSelect.vue_vue_type_script_setup_true_lang.js +1 -0
- package/dist/validated/useValidatedField.js +25 -23
- package/dist/vite.js +7 -3
- package/llms.txt +8 -7
- package/package.json +2 -2
- package/scripts/lib/eslint-plugin.d.ts +19 -1
- package/scripts/lib/eslint-plugin.mjs +155 -14
- package/scripts/lib/html-attributes.mjs +91 -0
- package/scripts/lib/validate-bb-markup.mjs +59 -11
- package/dist/assets/svgs/sort.svg_raw.js +0 -4
- package/dist/components/BbBadge/BadgeAppendIcon.vue.d.ts +0 -3
- package/dist/components/BbBadge/BadgeAppendIcon.vue.js +0 -5
- package/dist/components/BbBadge/BadgeAppendIcon.vue_vue_type_script_setup_true_lang.js +0 -22
|
@@ -1,5 +1,18 @@
|
|
|
1
|
-
import { ComputedRef } from 'vue';
|
|
2
1
|
import { IconType } from '../../types/Icon';
|
|
2
|
+
/**
|
|
3
|
+
* A read-only view of one piece of the host's state.
|
|
4
|
+
*
|
|
5
|
+
* Deliberately NOT `ComputedRef`: the badge publishes seven of these and a
|
|
6
|
+
* table cell can hold several badges, so seven `computed()` effects per badge
|
|
7
|
+
* per row was pure ceremony — every one of them is a bare prop read with
|
|
8
|
+
* nothing to memoize. A getter is tracked exactly the same way when the
|
|
9
|
+
* consumer reads it inside its own render effect, and costs nothing to create.
|
|
10
|
+
* Shaped as `{ value }` so every call site reads `host.x.value`, as it did
|
|
11
|
+
* when these were refs.
|
|
12
|
+
*/
|
|
13
|
+
export type HostValue<T> = {
|
|
14
|
+
readonly value: T;
|
|
15
|
+
};
|
|
3
16
|
/**
|
|
4
17
|
* State `BbBadge` publishes to its subtree. `BadgeBodyContent` renders the
|
|
5
18
|
* badge's leading side from it — identically whether the body wrapper is the
|
|
@@ -8,20 +21,20 @@ import { IconType } from '../../types/Icon';
|
|
|
8
21
|
*/
|
|
9
22
|
export type BadgeHostContext = {
|
|
10
23
|
/** `icon`-mode glyph; when set the label renders visually hidden. */
|
|
11
|
-
icon:
|
|
12
|
-
prependIcon:
|
|
13
|
-
appendIcon:
|
|
14
|
-
loading:
|
|
24
|
+
icon: HostValue<IconType | undefined>;
|
|
25
|
+
prependIcon: HostValue<IconType | undefined>;
|
|
26
|
+
appendIcon: HostValue<IconType | undefined>;
|
|
27
|
+
loading: HostValue<boolean>;
|
|
15
28
|
/** Whether the loading spinner takes the leading slot (BbButton convention). */
|
|
16
|
-
spinnerLeads:
|
|
29
|
+
spinnerLeads: HostValue<boolean>;
|
|
17
30
|
/** Whether it takes the trailing slot instead (a sole `append:icon`). */
|
|
18
|
-
spinnerTrails:
|
|
31
|
+
spinnerTrails: HostValue<boolean>;
|
|
19
32
|
/**
|
|
20
33
|
* Whether the badge renders a clear control. It owns the trailing side, and
|
|
21
34
|
* the append icon joins it there to share the hover swap — so the body keeps
|
|
22
35
|
* the append icon only when the badge is *not* clearable.
|
|
23
36
|
*/
|
|
24
|
-
clearable:
|
|
37
|
+
clearable: HostValue<boolean>;
|
|
25
38
|
};
|
|
26
39
|
export declare const provideBadgeHost: (context: BadgeHostContext) => void;
|
|
27
40
|
export declare const useBadgeHost: () => BadgeHostContext | null;
|
|
@@ -34,8 +34,14 @@ export type BbBadgeProps = {
|
|
|
34
34
|
*/
|
|
35
35
|
clearable?: boolean;
|
|
36
36
|
/**
|
|
37
|
-
* Accessible label for the clear button.
|
|
38
|
-
*
|
|
37
|
+
* Accessible label for the clear button.
|
|
38
|
+
*
|
|
39
|
+
* Rarely needed: unset, the name is **composed** from the localized
|
|
40
|
+
* `badge.clearLabel` verb and the badge's own text — "Remove Italy", not a
|
|
41
|
+
* bare "Remove" — which is already the right name in almost every case.
|
|
42
|
+
* Composition is skipped when a `BbBadgeButton` owns the body (the verb
|
|
43
|
+
* then stands alone, so the two controls do not both announce the label).
|
|
44
|
+
* Set this only to override that composed name outright.
|
|
39
45
|
*/
|
|
40
46
|
clearableLabel?: string;
|
|
41
47
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import t from "
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { useConfig as e } from "../../composables/useConfig.js";
|
|
2
|
+
import { useFrameworkDetection as t } from "../../composables/useFrameworkDetection.js";
|
|
3
|
+
import n from "./RouterComponent.vue.js";
|
|
4
|
+
import { useHydrated as r } from "../../composables/useHydrated.js";
|
|
5
|
+
import { useInertiaPage as i } from "../../composables/useInertiaPage.js";
|
|
6
6
|
import { computed as a, createBlock as o, createElementBlock as s, createTextVNode as c, defineComponent as l, mergeProps as u, openBlock as d, renderSlot as f, resolveDynamicComponent as p, toDisplayString as m, withCtx as h } from "vue";
|
|
7
7
|
//#region src/components/BbBaseButton/BbBaseButton.vue?vue&type=script&setup=true&lang.ts
|
|
8
8
|
var g = "http://localhost", _ = /*@__PURE__*/ l({
|
|
@@ -60,7 +60,7 @@ var g = "http://localhost", _ = /*@__PURE__*/ l({
|
|
|
60
60
|
viewTransition: { type: Boolean }
|
|
61
61
|
},
|
|
62
62
|
setup(l) {
|
|
63
|
-
let _ = l, { isInertia:
|
|
63
|
+
let _ = l, v = e(), { isInertia: y, isNuxt: b } = t(), { isHydrated: x } = r(), { getPageUrl: S } = i(), C = typeof window < "u", w = C ? window.location.origin : null, T = (e, t) => {
|
|
64
64
|
let n = e.trim();
|
|
65
65
|
if (!n) return !1;
|
|
66
66
|
if (n.startsWith("#") || n.startsWith("//")) return !0;
|
|
@@ -71,52 +71,52 @@ var g = "http://localhost", _ = /*@__PURE__*/ l({
|
|
|
71
71
|
} catch {
|
|
72
72
|
return !0;
|
|
73
73
|
}
|
|
74
|
-
},
|
|
75
|
-
let e =
|
|
74
|
+
}, E = (e) => e === "/" ? e : e.replace(/\/+$/, ""), D = a(() => {
|
|
75
|
+
let e = S();
|
|
76
76
|
if (e) try {
|
|
77
|
-
return
|
|
77
|
+
return E(new URL(e, g).pathname);
|
|
78
78
|
} catch {
|
|
79
79
|
return;
|
|
80
80
|
}
|
|
81
|
-
}),
|
|
82
|
-
if (!
|
|
83
|
-
let e =
|
|
81
|
+
}), O = a(() => !!(_.href && !T(_.href, w))), k = a(() => {
|
|
82
|
+
if (!O.value || !_.href) return;
|
|
83
|
+
let e = D.value ?? "/";
|
|
84
84
|
try {
|
|
85
|
-
return
|
|
85
|
+
return E(new URL(_.href, `${g}${e}`).pathname);
|
|
86
86
|
} catch {
|
|
87
87
|
return;
|
|
88
88
|
}
|
|
89
|
-
}),
|
|
90
|
-
if (!_.href ||
|
|
91
|
-
let e =
|
|
89
|
+
}), A = a(() => C && x.value ? E(window.location.pathname) : void 0), j = a(() => {
|
|
90
|
+
if (!_.href || T(_.href, w)) return;
|
|
91
|
+
let e = A.value ?? "/";
|
|
92
92
|
try {
|
|
93
|
-
return
|
|
93
|
+
return E(new URL(_.href, `${g}${e}`).pathname);
|
|
94
94
|
} catch {
|
|
95
95
|
return;
|
|
96
96
|
}
|
|
97
|
-
}),
|
|
97
|
+
}), M = a(() => y ? D.value : A.value), N = a(() => y ? k.value : j.value), P = a(() => {
|
|
98
98
|
if (_.to) return !1;
|
|
99
|
-
let e =
|
|
99
|
+
let e = M.value, t = N.value;
|
|
100
100
|
return !e || !t ? !1 : t === e;
|
|
101
|
-
}),
|
|
101
|
+
}), F = a(() => {
|
|
102
102
|
if (_.to) return !1;
|
|
103
|
-
let e =
|
|
103
|
+
let e = M.value, t = N.value;
|
|
104
104
|
return !e || !t ? !1 : t === "/" ? e.startsWith("/") : e === t || e.startsWith(`${t}/`);
|
|
105
|
-
}),
|
|
105
|
+
}), I = a(() => !!(_.href && y && O.value && !_.disabled && !_.target && !_.download && !_.external || _.to && !_.disabled)), L = a(() => !!(_.href || _.to && _.disabled)), R = a(() => _.activeClass ?? v.linkActiveClass), z = a(() => _.exactActiveClass ?? v.linkExactActiveClass), B = a(() => ({
|
|
106
106
|
"bb-base-button": !0,
|
|
107
107
|
"bb-base-button--block": _.block,
|
|
108
108
|
"bb-base-button--disabled": _.disabled,
|
|
109
|
-
[
|
|
110
|
-
[
|
|
111
|
-
})),
|
|
109
|
+
[R.value]: F.value,
|
|
110
|
+
[z.value]: P.value
|
|
111
|
+
})), V = a(() => {
|
|
112
112
|
let e = _.rel?.trim() ?? "";
|
|
113
113
|
if (!_.target || _.target === "_self") return e || void 0;
|
|
114
114
|
let t = new Set(e.split(/\s+/).filter(Boolean));
|
|
115
115
|
return t.add("noopener"), t.add("noreferrer"), Array.from(t).join(" ");
|
|
116
|
-
}),
|
|
116
|
+
}), H = () => ({
|
|
117
117
|
disabled: _.disabled,
|
|
118
118
|
type: _.type
|
|
119
|
-
}),
|
|
119
|
+
}), U = () => {
|
|
120
120
|
if (_.disabled) return {
|
|
121
121
|
"aria-disabled": !0,
|
|
122
122
|
role: "link",
|
|
@@ -125,12 +125,12 @@ var g = "http://localhost", _ = /*@__PURE__*/ l({
|
|
|
125
125
|
};
|
|
126
126
|
let e = {
|
|
127
127
|
href: _.href,
|
|
128
|
-
rel:
|
|
128
|
+
rel: V.value,
|
|
129
129
|
target: _.target,
|
|
130
130
|
download: _.download === !0 ? "" : (_.download ?? void 0) || void 0
|
|
131
131
|
};
|
|
132
|
-
return
|
|
133
|
-
},
|
|
132
|
+
return P.value && (e["aria-current"] = _.ariaCurrentValue ?? "page"), e;
|
|
133
|
+
}, W = () => ({
|
|
134
134
|
data: _.data,
|
|
135
135
|
async: _.async,
|
|
136
136
|
cacheFor: _.cacheFor,
|
|
@@ -159,32 +159,32 @@ var g = "http://localhost", _ = /*@__PURE__*/ l({
|
|
|
159
159
|
preserveState: _.preserveState,
|
|
160
160
|
queryStringArrayFormat: _.queryStringArrayFormat,
|
|
161
161
|
replace: _.replace
|
|
162
|
-
}),
|
|
163
|
-
activeClass:
|
|
162
|
+
}), G = () => ({
|
|
163
|
+
activeClass: R.value,
|
|
164
164
|
ariaCurrentValue: _.ariaCurrentValue,
|
|
165
|
-
exactActiveClass:
|
|
166
|
-
...
|
|
167
|
-
rel:
|
|
165
|
+
exactActiveClass: z.value,
|
|
166
|
+
...b ? { external: _.external } : {},
|
|
167
|
+
rel: V.value,
|
|
168
168
|
replace: _.replace,
|
|
169
169
|
target: _.target,
|
|
170
170
|
to: _.to
|
|
171
|
-
}),
|
|
172
|
-
...
|
|
173
|
-
...
|
|
174
|
-
} :
|
|
175
|
-
return (e,
|
|
171
|
+
}), K = a(() => _.tag ?? "button"), q = a(() => K.value === "button" ? H() : {}), J = a(() => U()), Y = a(() => G()), X = a(() => y ? {
|
|
172
|
+
...J.value,
|
|
173
|
+
...W()
|
|
174
|
+
} : Y.value);
|
|
175
|
+
return (e, t) => I.value ? (d(), o(n, u({
|
|
176
176
|
key: 0,
|
|
177
|
-
class:
|
|
178
|
-
},
|
|
177
|
+
class: B.value
|
|
178
|
+
}, X.value), {
|
|
179
179
|
default: h(() => [f(e.$slots, "default", {}, () => [c(m(e.text), 1)])]),
|
|
180
180
|
_: 3
|
|
181
|
-
}, 16, ["class"])) :
|
|
181
|
+
}, 16, ["class"])) : L.value ? (d(), s("a", u({
|
|
182
182
|
key: 1,
|
|
183
|
-
class:
|
|
184
|
-
},
|
|
183
|
+
class: B.value
|
|
184
|
+
}, J.value), [f(e.$slots, "default", {}, () => [c(m(e.text), 1)])], 16)) : (d(), o(p(K.value), u({
|
|
185
185
|
key: 2,
|
|
186
|
-
class:
|
|
187
|
-
},
|
|
186
|
+
class: B.value
|
|
187
|
+
}, q.value), {
|
|
188
188
|
default: h(() => [f(e.$slots, "default", {}, () => [c(m(e.text), 1)])]),
|
|
189
189
|
_: 3
|
|
190
190
|
}, 16, ["class"]));
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { useConfig as e } from "../../composables/useConfig.js";
|
|
2
|
+
import { useLogger as t } from "../../composables/useLogger.js";
|
|
3
|
+
import { useFrameworkDetection as n } from "../../composables/useFrameworkDetection.js";
|
|
4
4
|
import { createBlock as r, defineComponent as i, getCurrentInstance as a, openBlock as o, renderSlot as s, resolveComponent as c, resolveDynamicComponent as l, unref as u, withCtx as d } from "vue";
|
|
5
5
|
import { InertiaLink as f } from "virtual:bitboss-ui/link";
|
|
6
6
|
//#region src/components/BbBaseButton/RouterComponent.vue?vue&type=script&setup=true&lang.ts
|
|
7
7
|
var p = /*@__PURE__*/ i({
|
|
8
8
|
__name: "RouterComponent",
|
|
9
9
|
setup(i) {
|
|
10
|
-
let { isInertia:
|
|
11
|
-
if (
|
|
12
|
-
if (
|
|
13
|
-
let { warn:
|
|
14
|
-
|
|
10
|
+
let p = e(), { isInertia: m, isNuxt: h } = n(), g;
|
|
11
|
+
if (m) {
|
|
12
|
+
if (g = a()?.appContext.components?.[p.inertiaLinkName] ?? f, !g) {
|
|
13
|
+
let { warn: e } = t();
|
|
14
|
+
e(`Inertia link component "${p.inertiaLinkName}" could not be resolved, and "@inertiajs/vue3" is not installed in this app. Install it, register a link component globally under the name "${p.inertiaLinkName}", or set the bitboss-ui config key "inertiaLinkName" to the name you do register.`), g = p.inertiaLinkName;
|
|
15
15
|
}
|
|
16
|
-
} else if (
|
|
17
|
-
if (
|
|
18
|
-
let { warn:
|
|
19
|
-
|
|
16
|
+
} else if (h) {
|
|
17
|
+
if (g = c(p.nuxtLinkName), typeof g == "string") {
|
|
18
|
+
let { warn: e } = t();
|
|
19
|
+
e(`Nuxt link component "${p.nuxtLinkName}" could not be resolved. Ensure you app registers a link component with the name "${p.nuxtLinkName}" or set bitboss-ui config key "nuxtLinkName" to the correct value globally.`);
|
|
20
20
|
}
|
|
21
|
-
} else
|
|
22
|
-
return (e, t) => (o(), r(l(u(
|
|
21
|
+
} else g = "router-link";
|
|
22
|
+
return (e, t) => (o(), r(l(u(g)), null, {
|
|
23
23
|
default: d(() => [s(e.$slots, "default")]),
|
|
24
24
|
_: 3
|
|
25
25
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useLogger as e } from "../../composables/useLogger.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { hash as t } from "../../utilities/functions/hash.js";
|
|
3
|
+
import { useItemsGetter as n } from "../../composables/useItemsGetter.js";
|
|
4
4
|
import { useHashedWatcher as r } from "../../composables/useHashedWatcher.js";
|
|
5
5
|
import i from "../BbBaseCheckbox/BbBaseCheckbox.vue.js";
|
|
6
6
|
import a from "../OptionsContainer/OptionsContainer.vue.js";
|
|
@@ -69,54 +69,56 @@ var D = /*@__PURE__*/ g({
|
|
|
69
69
|
});
|
|
70
70
|
let j = T("container"), { active: M } = u(j);
|
|
71
71
|
d(M, () => k("inactive")), f(M, () => k("active"));
|
|
72
|
-
let { getter: N,
|
|
73
|
-
O.enforceCoherence && !
|
|
74
|
-
}, { hasPrefilled:
|
|
72
|
+
let { getter: N, clientReproducible: P, hydratedFromSsr: F, items: I, loading: L } = n({ items: C(O, "items") }), R = () => {
|
|
73
|
+
O.enforceCoherence && !K.value && k("update:modelValue", q.value);
|
|
74
|
+
}, { hasPrefilled: z } = l({
|
|
75
|
+
alreadyLoaded: F,
|
|
76
|
+
clientReproducible: P,
|
|
75
77
|
trigger: !0,
|
|
76
78
|
currentValue: O.modelValue,
|
|
77
79
|
multiple: O.multiple,
|
|
78
80
|
fn: async (e) => {
|
|
79
|
-
await N(e, O.modelValue),
|
|
81
|
+
await N(e, O.modelValue), R();
|
|
80
82
|
}
|
|
81
|
-
}),
|
|
83
|
+
}), B = p(() => [].concat(O.modelValue)), { data: V } = o({ items: B }), { options: H } = s({
|
|
82
84
|
disabled: C(O, "disabled"),
|
|
83
|
-
items:
|
|
85
|
+
items: I,
|
|
84
86
|
itemText: O.itemText,
|
|
85
87
|
itemValue: O.itemValue,
|
|
86
88
|
max: O.max,
|
|
87
89
|
selectable: C(O, "selectable"),
|
|
88
|
-
selectedIndexedByHash:
|
|
89
|
-
}),
|
|
90
|
+
selectedIndexedByHash: V
|
|
91
|
+
}), U = (e) => {
|
|
90
92
|
if (O.multiple) {
|
|
91
|
-
k("update:modelValue",
|
|
93
|
+
k("update:modelValue", B.value.concat(e.value));
|
|
92
94
|
return;
|
|
93
95
|
}
|
|
94
96
|
k("update:modelValue", e.value);
|
|
95
|
-
},
|
|
97
|
+
}, W = (e) => {
|
|
96
98
|
if (!O.multiple) {
|
|
97
99
|
k("update:modelValue", null);
|
|
98
100
|
return;
|
|
99
101
|
}
|
|
100
|
-
let t = { ...
|
|
102
|
+
let t = { ...V.value };
|
|
101
103
|
delete t[e.valueHash], k("update:modelValue", Object.values(t));
|
|
102
|
-
}, { data:
|
|
103
|
-
items:
|
|
104
|
+
}, { data: G } = o({
|
|
105
|
+
items: H,
|
|
104
106
|
key: "valueHash"
|
|
105
|
-
}), { coherent:
|
|
107
|
+
}), { coherent: K, coherentValue: q } = c({
|
|
106
108
|
modelValue: C(O, "modelValue"),
|
|
107
109
|
multiple: O.multiple,
|
|
108
|
-
iteratee: (e) => !!
|
|
109
|
-
}),
|
|
110
|
+
iteratee: (e) => !!G.value[t(e)]
|
|
111
|
+
}), J = 0;
|
|
110
112
|
r(() => O.modelValue, async () => {
|
|
111
|
-
|
|
113
|
+
J++, K.value || (await N(!0, O.modelValue), R()), J--;
|
|
112
114
|
}, { debounce: O.modelValueDebounceTime }), r(() => [O.dependencies, O.items], async () => {
|
|
113
|
-
|
|
115
|
+
z.value && (J++, await N(!0, O.modelValue), J === 1 && R(), J--);
|
|
114
116
|
}, { debounce: O.depsDebounceTime });
|
|
115
|
-
let
|
|
117
|
+
let Y = (e) => {
|
|
116
118
|
if (O.id) return [O.id, e.valueHash].filter(Boolean).join("-");
|
|
117
|
-
},
|
|
118
|
-
k("change", e), t.selected ?
|
|
119
|
-
},
|
|
119
|
+
}, X = (e, t) => {
|
|
120
|
+
k("change", e), t.selected ? W(t) : U(t);
|
|
121
|
+
}, Z = {
|
|
120
122
|
onBlur: (e) => k("blur", e),
|
|
121
123
|
onClick: (e) => k("click", e),
|
|
122
124
|
onFocus: (e) => k("focus", e),
|
|
@@ -133,17 +135,17 @@ var D = /*@__PURE__*/ g({
|
|
|
133
135
|
"has-errors": e.hasErrors,
|
|
134
136
|
"has-warning": e.hasWarning,
|
|
135
137
|
"hide-label": e.hideLabel,
|
|
136
|
-
loading: !!w(
|
|
138
|
+
loading: !!w(L),
|
|
137
139
|
"loading-text": e.loadingText,
|
|
138
140
|
"no-data-text": e.noDataText,
|
|
139
|
-
options: w(
|
|
141
|
+
options: w(H)
|
|
140
142
|
}, {
|
|
141
143
|
prepend: E(() => [S(e.$slots, "prepend")]),
|
|
142
144
|
loading: E(() => [S(e.$slots, "loading")]),
|
|
143
145
|
"no-data": E(() => [S(e.$slots, "no-data")]),
|
|
144
146
|
label: E((t) => [S(e.$slots, "label", y(_(t)))]),
|
|
145
147
|
input: E(({ option: t, index: n }) => [h(i, v({
|
|
146
|
-
id:
|
|
148
|
+
id: Y(t),
|
|
147
149
|
"aria-describedby": e.ariaDescribedby,
|
|
148
150
|
autofocus: e.autofocus && !n,
|
|
149
151
|
checked: t.selected,
|
|
@@ -153,7 +155,7 @@ var D = /*@__PURE__*/ g({
|
|
|
153
155
|
name: e.name,
|
|
154
156
|
readonly: e.readonly,
|
|
155
157
|
"true-value": t.value
|
|
156
|
-
},
|
|
158
|
+
}, Z, { onChange: (e) => X(e, t) }), {
|
|
157
159
|
icon: E((n) => [S(e.$slots, "icon", v({
|
|
158
160
|
item: t.item,
|
|
159
161
|
text: t.text
|
|
@@ -38,7 +38,7 @@ export type BaseCheckboxGroupProps<T = any> = {
|
|
|
38
38
|
/**
|
|
39
39
|
* Enforces that `modelValue` contains only values present in `items`.
|
|
40
40
|
* Incoherent values are removed and `update:modelValue` is emitted with a
|
|
41
|
-
* coherent array. Please check out {@link https://ui-components
|
|
41
|
+
* coherent array. Please check out {@link https://ui-components.bitboss.it/it/guides/coherence | the docs} for more information.
|
|
42
42
|
* @defaultValue `false`
|
|
43
43
|
*/
|
|
44
44
|
enforceCoherence?: boolean;
|
|
@@ -148,7 +148,7 @@ export type BaseCheckboxGroupEvents = {
|
|
|
148
148
|
*/
|
|
149
149
|
(e: 'blur', event: FocusEvent): void;
|
|
150
150
|
/**
|
|
151
|
-
* Emitted when
|
|
151
|
+
* Emitted when an option is toggled.
|
|
152
152
|
* Forwards the original DOM `Event` from the checkbox input.
|
|
153
153
|
*/
|
|
154
154
|
(e: 'change', event: Event): void;
|