bitboss-ui 3.0.0-beta.74 → 3.0.0-beta.76
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 +5 -5
- package/bin/cli.mjs +16 -10
- package/dist/ai/BbAlert.md +1 -1
- package/dist/ai/BbAvatar.md +86 -58
- package/dist/ai/BbBadge.md +1 -1
- package/dist/ai/BbBreadcrumbs.md +3 -3
- package/dist/ai/BbButton.md +4 -4
- package/dist/ai/BbCalendar.md +5 -2
- package/dist/ai/BbCheckboxGroup.md +5 -4
- package/dist/ai/BbColorInput.md +13 -1
- package/dist/ai/BbColorPalette.md +12 -7
- package/dist/ai/BbConfirm.md +1 -1
- package/dist/ai/BbDatePicker.md +13 -1
- package/dist/ai/BbDatePickerInput.md +18 -2
- package/dist/ai/BbDialog.md +6 -3
- package/dist/ai/BbDropdown.md +174 -77
- package/dist/ai/BbDropdownButton.md +37 -16
- package/dist/ai/BbGallery.md +3 -2
- package/dist/ai/BbIcon.md +10 -10
- package/dist/ai/BbNumberInput.md +3 -1
- package/dist/ai/BbOffCanvas.md +3 -2
- package/dist/ai/BbPopover.md +1 -1
- package/dist/ai/BbRadioGroup.md +4 -4
- package/dist/ai/BbSelect.md +227 -105
- package/dist/ai/BbSelectPopover.md +139 -14
- package/dist/ai/BbSwitchGroup.md +5 -4
- package/dist/ai/BbTable.md +18 -17
- package/dist/ai/BbTimePicker.md +13 -1
- package/dist/ai/BbTimePickerInput.md +16 -2
- package/dist/ai/BbToast.md +3 -2
- package/dist/ai/BbTree.md +5 -1
- package/dist/ai/CommonPopover.md +1 -0
- package/dist/ai/FlatListBox.md +1 -0
- package/dist/ai/GroupedListBox.md +3 -2
- package/dist/ai/ListBox.md +4 -2
- package/dist/ai/OptionsContainer.md +4 -4
- package/dist/ai/changelog.json +310 -7
- package/dist/ai/components.json +33 -35
- package/dist/ai/composables/useToast.md +2 -2
- package/dist/ai/design-tokens.json +60 -0
- package/dist/ai/guides/agent-contract.md +9 -5
- package/dist/ai/guides/calendars-and-digits.md +1 -1
- package/dist/ai/guides/design-tokens.md +13 -0
- package/dist/ai/guides/eslint-rules.md +1 -1
- package/dist/ai/guides/fetch-items-playbook.md +7 -11
- package/dist/ai/guides/icons-policy.md +32 -11
- package/dist/ai/guides/installation-and-plugin-setup.md +24 -23
- package/dist/ai/guides/migration/adoption-checklist.md +1 -1
- package/dist/ai/guides/migration/components/bb-color-palette.md +11 -11
- package/dist/ai/guides/migration/components/bb-dropdown-button.md +1 -0
- package/dist/ai/guides/migration/components/bb-dropdown.md +1 -0
- package/dist/ai/guides/migration/components/bb-icon.md +4 -4
- package/dist/ai/guides/migration/components/bb-table.md +2 -1
- package/dist/ai/guides/migration/components/bb-toast.md +2 -2
- package/dist/ai/guides/migration/v2-to-v3.md +70 -24
- package/dist/ai/guides/migration/v3-beta-css-classes.md +18 -3
- package/dist/ai/guides/migration/v3-beta-tooling.md +1 -0
- package/dist/ai/guides/passthrough.md +58 -58
- package/dist/ai/helpers/inertia/manifest.json +1 -1
- package/dist/ai/index.md +1 -1
- package/dist/ai/manifest/common.json +1 -0
- package/dist/ai/manifest/components/BbAvatar.json +5 -2
- package/dist/ai/manifest/components/BbAvatar.tree.json +32 -2
- package/dist/ai/manifest/components/BbCarousel.json +0 -3
- package/dist/ai/manifest/components/BbCheckboxGroup.json +2 -2
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbColorInput.json +5 -2
- package/dist/ai/manifest/components/BbColorPalette.json +5 -2
- package/dist/ai/manifest/components/BbColorPalette.removed.json +1 -2
- package/dist/ai/manifest/components/BbDatePicker.json +3 -0
- package/dist/ai/manifest/components/BbDatePickerInput.json +3 -0
- package/dist/ai/manifest/components/BbDialog.tree.json +3 -1
- package/dist/ai/manifest/components/BbDropdown.json +36 -28
- package/dist/ai/manifest/components/BbDropdown.removed.json +2 -1
- package/dist/ai/manifest/components/BbDropdown.tree.json +21 -11
- package/dist/ai/manifest/components/BbDropdownButton.json +24 -16
- package/dist/ai/manifest/components/BbDropdownButton.removed.json +2 -1
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +4 -0
- package/dist/ai/manifest/components/BbGallery.tree.json +1 -1
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +3 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +2 -2
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbSelect.json +47 -40
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -1
- package/dist/ai/manifest/components/BbSelectPopover.json +14 -7
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +9 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +2 -2
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +2 -0
- package/dist/ai/manifest/components/BbTable.json +6 -6
- package/dist/ai/manifest/components/BbTable.tree.json +9 -1
- package/dist/ai/manifest/components/BbTimePicker.json +5 -2
- package/dist/ai/manifest/components/BbTimePickerInput.json +5 -2
- package/dist/ai/manifest/components/BbTree.json +1 -1
- package/dist/ai/manifest/components/CommonPopover.json +1 -0
- package/dist/ai/manifest/components/FlatListBox.json +2 -1
- package/dist/ai/manifest/components/GroupedListBox.json +3 -2
- package/dist/ai/manifest/components/GroupedListBox.tree.json +1 -0
- package/dist/ai/manifest/components/ListBox.json +3 -2
- package/dist/ai/manifest/components/ListBox.tree.json +1 -1
- package/dist/ai/manifest/components/OptionsContainer.json +6 -4
- package/dist/ai/manifest/index.json +2 -2
- package/dist/ai/manifest/meta.json +0 -3
- package/dist/ai/manifest/types.advanced.json +6 -6
- package/dist/ai/manifest/types.api.json +1 -3
- package/dist/ai/recipes/inertia/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/inertia/onboarding.md +1 -1
- package/dist/ai/recipes/nuxt/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/nuxt/onboarding.md +1 -1
- package/dist/ai/recipes/vue/inline-edit-workspace.md +1 -1
- package/dist/ai/recipes/vue/onboarding.md +2 -2
- package/dist/ai/source/BbAccordion.md +4 -5
- package/dist/ai/source/BbAvatar.md +128 -11
- package/dist/ai/source/BbBadge.md +18 -7
- package/dist/ai/source/BbBreadcrumbs.md +57 -56
- package/dist/ai/source/BbButton.md +41 -25
- package/dist/ai/source/BbCalendar.md +8 -6
- package/dist/ai/source/BbCarousel.md +41 -34
- package/dist/ai/source/BbCheckboxGroup.md +15 -9
- package/dist/ai/source/BbColorInput.md +19 -0
- package/dist/ai/source/BbColorPalette.md +23 -2
- package/dist/ai/source/BbDatePicker.md +18 -0
- package/dist/ai/source/BbDatePickerInput.md +47 -3
- package/dist/ai/source/BbDialog.md +14 -1
- package/dist/ai/source/BbDropdown.md +296 -99
- package/dist/ai/source/BbDropdownButton.md +61 -19
- package/dist/ai/source/BbDropdownGroup.md +189 -98
- package/dist/ai/source/BbGallery.md +82 -60
- package/dist/ai/source/BbHost.md +12 -0
- package/dist/ai/source/BbNumberInput.md +17 -10
- package/dist/ai/source/BbOffCanvas.md +14 -1
- package/dist/ai/source/BbPagination.md +12 -28
- package/dist/ai/source/BbRadioGroup.md +12 -5
- package/dist/ai/source/BbRating.md +4 -4
- package/dist/ai/source/BbSelect.md +151 -112
- package/dist/ai/source/BbSelectPopover.md +244 -29
- package/dist/ai/source/BbSwitchGroup.md +11 -4
- package/dist/ai/source/BbTable.md +114 -35
- package/dist/ai/source/BbTimePicker.md +19 -0
- package/dist/ai/source/BbTimePickerInput.md +21 -2
- package/dist/ai/source/BbToast.md +2 -2
- package/dist/ai/source/BbToastPortal.md +2 -2
- package/dist/ai/source/BbTree.md +1 -1
- package/dist/ai/source/ClearableButton.md +4 -2
- package/dist/ai/source/CommonPopover.md +24 -1
- package/dist/ai/source/ErrorIcon.md +4 -3
- package/dist/ai/source/FlatListBox.md +33 -7
- package/dist/ai/source/GroupedListBox.md +85 -14
- package/dist/ai/source/ListBox.md +11 -1
- package/dist/ai/source/OptionsContainer.md +29 -11
- package/dist/ai/source/WarningIcon.md +4 -3
- package/dist/assets/svgs/close.svg_raw.js +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue.d.ts +1 -1
- package/dist/components/BbAccordion/BbAccordion.vue_vue_type_script_setup_true_lang.js +35 -34
- package/dist/components/BbAvatar/BbAvatar.vue.d.ts +1 -0
- package/dist/components/BbAvatar/BbAvatar.vue_vue_type_script_setup_true_lang.js +62 -43
- package/dist/components/BbAvatar/avatarIdentity.js +25 -0
- package/dist/components/BbAvatar/ptKeys.generated.d.ts +5 -1
- package/dist/components/BbAvatar/types.d.ts +24 -5
- package/dist/components/BbAvatar/types.js +5 -1
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +24 -23
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +66 -64
- package/dist/components/BbBreadcrumbs/BbBreadcrumbs.vue_vue_type_script_setup_true_lang.js +141 -146
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +100 -85
- package/dist/components/BbCalendar/BbCalendar.vue.d.ts +1 -1
- package/dist/components/BbCalendar/BbCalendar.vue_vue_type_script_setup_true_lang.js +240 -239
- package/dist/components/BbCalendar/useDayGrid.js +120 -123
- package/dist/components/BbCarousel/BbCarousel.vue_vue_type_script_setup_true_lang.js +503 -502
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +126 -122
- package/dist/components/BbCheckboxGroup/types.d.ts +7 -11
- package/dist/components/BbColorInput/BbColorInput.vue.d.ts +2 -0
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +148 -141
- package/dist/components/BbColorInput/types.d.ts +7 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue.d.ts +2 -0
- package/dist/components/BbColorPalette/BbColorPalette.vue_vue_type_script_setup_true_lang.js +208 -196
- package/dist/components/BbColorPalette/types.d.ts +7 -0
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +3 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +84 -73
- package/dist/components/BbDatePicker/types.d.ts +7 -0
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +4 -2
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +496 -510
- package/dist/components/BbDatePickerInput/types.d.ts +7 -0
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +219 -211
- package/dist/components/BbDialog/leaveGhost.js +22 -17
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +106 -100
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +3 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +416 -369
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +404 -354
- package/dist/components/BbDropdown/DropdownFailures.vue.js +4 -0
- package/dist/components/BbDropdown/DropdownFailures.vue_vue_type_script_setup_true_lang.js +24 -0
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +117 -102
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +67 -38
- package/dist/components/BbDropdown/normalizeGroups.js +6 -2
- package/dist/components/BbDropdown/ptKeys.generated.d.ts +44 -20
- package/dist/components/BbDropdown/types.d.ts +109 -87
- package/dist/components/BbDropdown/types.js +3 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +3 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +101 -65
- package/dist/components/BbDropdownButton/ptKeys.generated.d.ts +153 -57
- package/dist/components/BbDropdownButton/types.d.ts +23 -10
- package/dist/components/BbDropdownButton/types.js +4 -0
- package/dist/components/BbDropzone/BbDropzone.vue.d.ts +1 -1
- package/dist/components/BbGallery/BbGallery.vue_vue_type_script_setup_true_lang.js +335 -312
- package/dist/components/BbHost/BbHost.vue_vue_type_script_setup_true_lang.js +7 -1
- package/dist/components/BbIcon/iconCache.js +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue.d.ts +1 -1
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +9 -5
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +152 -144
- package/dist/components/BbPagination/BbPagination.vue.d.ts +2 -2
- package/dist/components/BbPagination/BbPagination.vue_vue_type_script_setup_true_lang.js +138 -136
- package/dist/components/BbProgress/BbProgress.vue.d.ts +1 -1
- package/dist/components/BbRadioGroup/BbRadioGroup.vue.d.ts +4 -4
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +108 -104
- package/dist/components/BbRadioGroup/types.d.ts +4 -7
- package/dist/components/BbRating/BbRating.vue.d.ts +1 -1
- package/dist/components/BbRating/BbRating.vue_vue_type_script_setup_true_lang.js +100 -99
- package/dist/components/BbSelect/BbSelect.vue.d.ts +32 -20
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +217 -196
- package/dist/components/BbSelect/ptKeys.generated.d.ts +128 -96
- package/dist/components/BbSelect/types.d.ts +110 -111
- package/dist/components/BbSelect/types.js +1 -27
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +8 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +728 -653
- package/dist/components/BbSelectPopover/ptKeys.generated.d.ts +22 -10
- package/dist/components/BbSelectPopover/types.d.ts +32 -17
- package/dist/components/BbSelectPopover/types.js +3 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +159 -155
- package/dist/components/BbSwitchGroup/types.d.ts +3 -6
- package/dist/components/BbTable/BbTable.vue.d.ts +2 -4
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1171 -1152
- package/dist/components/BbTable/BbTableDataRow.js +97 -90
- package/dist/components/BbTable/types.d.ts +11 -10
- package/dist/components/BbTabs/BbTabs.vue.d.ts +3 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue.d.ts +4 -2
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +145 -134
- package/dist/components/BbTimePicker/types.d.ts +7 -0
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue.d.ts +4 -2
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +290 -280
- package/dist/components/BbTimePickerInput/types.d.ts +7 -0
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +79 -78
- package/dist/components/BbToast/types.d.ts +2 -2
- package/dist/components/BbTree/BbTreeLevel.vue_vue_type_script_setup_true_lang.js +56 -46
- package/dist/components/BbTree/types.d.ts +1 -1
- package/dist/components/ClearableButton/ClearableButton.vue_vue_type_script_setup_true_lang.js +9 -8
- package/dist/components/CloseIcon/CloseButton.vue.js +1 -1
- package/dist/components/CloseIcon/CloseButton.vue_vue_type_script_setup_true_lang.js +9 -7
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +13 -1
- package/dist/components/ErrorIcon/ErrorIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +122 -102
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +182 -153
- package/dist/components/ListBox/ListBox.vue_vue_type_script_setup_true_lang.js +7 -4
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +86 -77
- package/dist/components/WarningIcon/WarningIcon.vue_vue_type_script_setup_true_lang.js +8 -6
- package/dist/composables/useInternalIcon.js +25 -0
- package/dist/composables/useItemsGetter.js +34 -32
- package/dist/composables/useOpenModel.js +20 -0
- package/dist/deprecation/ai-deprecations.json.js +1 -1
- package/dist/i18n/locales/ar.json +2 -0
- package/dist/i18n/locales/cs.json +2 -0
- package/dist/i18n/locales/da.json +2 -0
- package/dist/i18n/locales/de-CH.json +2 -0
- package/dist/i18n/locales/de.json +2 -0
- package/dist/i18n/locales/el.json +2 -0
- package/dist/i18n/locales/en-GB.json +2 -0
- package/dist/i18n/locales/en.json +2 -0
- package/dist/i18n/locales/es-MX.json +2 -0
- package/dist/i18n/locales/es.json +2 -0
- package/dist/i18n/locales/fa.json +2 -0
- package/dist/i18n/locales/fi.json +2 -0
- package/dist/i18n/locales/fr.json +2 -0
- package/dist/i18n/locales/he.json +2 -0
- package/dist/i18n/locales/hu.json +2 -0
- package/dist/i18n/locales/it.json +2 -0
- package/dist/i18n/locales/ja.json +2 -0
- package/dist/i18n/locales/ko.json +2 -0
- package/dist/i18n/locales/nb.json +2 -0
- package/dist/i18n/locales/nl.json +2 -0
- package/dist/i18n/locales/pl.json +2 -0
- package/dist/i18n/locales/pt-BR.json +2 -0
- package/dist/i18n/locales/pt-PT.json +2 -0
- package/dist/i18n/locales/ro.json +2 -0
- package/dist/i18n/locales/ru.json +2 -0
- package/dist/i18n/locales/sv.json +2 -0
- package/dist/i18n/locales/tr.json +2 -0
- package/dist/i18n/locales/uk.json +2 -0
- package/dist/i18n/locales/zh-CN.json +2 -0
- package/dist/i18n/locales/zh-HK.json +2 -0
- package/dist/i18n/locales/zh-TW.json +2 -0
- package/dist/icon-scan.d.ts +1 -1
- package/dist/icon-scan.js +68 -61
- package/dist/index.d.ts +2 -2
- package/dist/llms-full.txt +1038 -451
- package/dist/llms-medium.txt +33 -28
- package/dist/llms.txt +2 -2
- package/dist/locale-blueprint.json +2 -0
- package/dist/nuxt.js +1 -1
- package/dist/styles.css +2 -2
- package/dist/types/ActionButton.d.ts +2 -3
- package/dist/types/Config.d.ts +8 -1
- package/dist/types/ConfigDefaults.d.ts +10 -2
- package/dist/types/Option.d.ts +10 -0
- package/dist/types/internalIcons.d.ts +89 -0
- package/dist/types/internalIcons.js +158 -0
- package/dist/types/ptComponentMap.d.ts +5 -5
- package/dist/utilities/functions/slotContent.js +19 -0
- package/dist/utils/configDefaults.js +75 -64
- package/dist/utils/iconsOption.js +48 -0
- package/dist/utils/loadRetry.js +8 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +10 -16
- package/dist/vite.js +323 -307
- package/llms.txt +2 -2
- package/package.json +3 -1
- package/scripts/README.md +2 -0
- package/scripts/lib/adoption-checklist.json +1 -1
- package/scripts/lib/agent-setup.mjs +44 -26
- package/scripts/lib/update-install.mjs +48 -0
- package/scripts/lib/validate-bb-markup.mjs +93 -12
- package/dist/ai/manifest/components/BbAvatar.removed.json +0 -6
- package/dist/assets/svgs/caret_down.svg_raw.js +0 -3
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
import e from "../BbIcon/BbIcon.vue.js";
|
|
2
|
-
import t from "../../assets/svgs/
|
|
3
|
-
import n from "
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
2
|
+
import t from "../../assets/svgs/chevron_left.svg_raw.js";
|
|
3
|
+
import n from "../../assets/svgs/chevron_right.svg_raw.js";
|
|
4
|
+
import { useInternalIcon as r } from "../../composables/useInternalIcon.js";
|
|
5
|
+
import i from "../BbBaseButton/BbBaseButton.vue.js";
|
|
6
|
+
import { useLocale as ee } from "../../composables/useLocale.js";
|
|
7
|
+
import { useRoute as te } from "../../composables/useRoute.js";
|
|
8
|
+
import { useFrameworkDetection as ne } from "../../composables/useFrameworkDetection.js";
|
|
9
|
+
import { removedPropsFor as re } from "../../deprecation/removedProps.js";
|
|
10
|
+
import { warnRemovedAttrs as ie } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
11
|
+
import { useBbTable as ae, useBbTableHasHost as a, useBbTablePageIsSet as o } from "../../composables/useBbTable.js";
|
|
12
|
+
import { useLogger as oe } from "../../composables/useLogger.js";
|
|
13
|
+
import { parseCount as s, parsePositiveInteger as c } from "../../utilities/functions/parsePaginationNumber.js";
|
|
14
|
+
import { BB_PAGINATION_PT as l } from "./types.js";
|
|
15
|
+
import { usePassthrough as se } from "../../composables/usePassthrough.js";
|
|
16
|
+
import { computeNextMaxSize as ce } from "./paginationFit.js";
|
|
17
|
+
import { Fragment as u, computed as d, createBlock as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineComponent as g, getCurrentInstance as le, guardReactiveProps as _, mergeModels as v, mergeProps as y, normalizeProps as b, onBeforeUnmount as x, onMounted as S, openBlock as C, ref as w, renderList as ue, renderSlot as T, toDisplayString as E, unref as D, useAttrs as de, useModel as fe, watch as O, withCtx as k } from "vue";
|
|
16
18
|
// src/components/BbPagination/BbPagination.vue?vue&type=script&setup=true&lang.ts
|
|
17
|
-
var
|
|
19
|
+
var A = ["aria-label"], j = { class: "bb-pagination__page-label bb-sr-only" }, M = { class: "bb-pagination__page-label" }, N = { class: "bb-pagination__page-label" }, P = { class: "bb-pagination__page-label bb-sr-only" }, F = /*@__PURE__*/ g({
|
|
18
20
|
inheritAttrs: !1,
|
|
19
21
|
__name: "BbPagination",
|
|
20
|
-
props: /*@__PURE__*/
|
|
22
|
+
props: /*@__PURE__*/ v({
|
|
21
23
|
"pt:root": {},
|
|
22
24
|
"pt:root:disabled": {},
|
|
23
25
|
"pt:item": {},
|
|
@@ -47,144 +49,144 @@ var de = ["aria-label"], A = { class: "bb-pagination__page-label bb-sr-only" },
|
|
|
47
49
|
modelModifiers: {}
|
|
48
50
|
}),
|
|
49
51
|
emits: ["update:modelValue"],
|
|
50
|
-
setup(
|
|
51
|
-
let
|
|
52
|
+
setup(g) {
|
|
53
|
+
let v = fe(g, "modelValue"), F = g, I = r("prev", t), L = r("next", n), R = se({
|
|
52
54
|
component: "BbPagination",
|
|
53
|
-
attrs:
|
|
54
|
-
props:
|
|
55
|
-
parts:
|
|
56
|
-
states:
|
|
57
|
-
active: { disabled: () => !!
|
|
55
|
+
attrs: de(),
|
|
56
|
+
props: F,
|
|
57
|
+
parts: l.parts,
|
|
58
|
+
states: l.states,
|
|
59
|
+
active: { disabled: () => !!F.disabled }
|
|
58
60
|
});
|
|
59
|
-
process.env.NODE_ENV !== "production" &&
|
|
60
|
-
let { t:
|
|
61
|
-
a(() =>
|
|
62
|
-
let
|
|
63
|
-
let e =
|
|
61
|
+
process.env.NODE_ENV !== "production" && ie("BbPagination", re("BbPagination"));
|
|
62
|
+
let { t: z } = ee(), B = te(), V = le(), { isInertia: pe } = ne(), H = ae(() => F.tableId), me = o(() => F.tableId);
|
|
63
|
+
a(() => F.tableId), oe();
|
|
64
|
+
let he = d(() => {
|
|
65
|
+
let e = s(F.totalItems);
|
|
64
66
|
if (e !== void 0) {
|
|
65
|
-
let t =
|
|
67
|
+
let t = s(F.perPage);
|
|
66
68
|
return t ? Math.max(1, Math.ceil(e / t)) : 1;
|
|
67
69
|
}
|
|
68
|
-
return
|
|
69
|
-
}),
|
|
70
|
+
return F.totalPages === void 0 ? 1 : c(F.totalPages, 1);
|
|
71
|
+
}), U = d(() => (F.tableId && H.isReady.value ? H.totalPages.value : void 0) ?? he.value);
|
|
70
72
|
O([
|
|
71
|
-
() =>
|
|
72
|
-
() =>
|
|
73
|
-
() =>
|
|
74
|
-
() =>
|
|
73
|
+
() => F.totalItems,
|
|
74
|
+
() => F.perPage,
|
|
75
|
+
() => F.totalPages,
|
|
76
|
+
() => F.tableId
|
|
75
77
|
], ([e, t, n]) => {
|
|
76
|
-
if (!
|
|
77
|
-
let r =
|
|
78
|
-
r !== void 0 && (
|
|
79
|
-
let i =
|
|
80
|
-
i && (
|
|
78
|
+
if (!F.tableId) return;
|
|
79
|
+
let r = s(e);
|
|
80
|
+
r !== void 0 && (H.totalItems.value = r);
|
|
81
|
+
let i = s(t);
|
|
82
|
+
i && (H.perPage.value = i), n !== void 0 && (H.totalPages.value = c(n, 1));
|
|
81
83
|
}, { immediate: !0 });
|
|
82
|
-
let
|
|
83
|
-
if (!
|
|
84
|
+
let W = w(1), G = w(c(F.maxSize, 6)), K = w(), q = w(), J = w(Infinity), Y = (e) => Math.min(Math.max(1, Math.trunc(e)), U.value), X = (e) => {
|
|
85
|
+
if (!F.navigation || e < 1 || e > U.value) return {};
|
|
84
86
|
let t = e.toString();
|
|
85
|
-
if (
|
|
87
|
+
if (B.value) return {
|
|
86
88
|
to: {
|
|
87
|
-
path:
|
|
89
|
+
path: B.value.path,
|
|
88
90
|
query: {
|
|
89
|
-
...
|
|
90
|
-
[
|
|
91
|
+
...B.value.query,
|
|
92
|
+
[F.queryKey]: t
|
|
91
93
|
}
|
|
92
94
|
},
|
|
93
|
-
replace:
|
|
95
|
+
replace: F.replace
|
|
94
96
|
};
|
|
95
|
-
let n =
|
|
97
|
+
let n = pe ? V?.proxy?.$page?.url : void 0, r = globalThis.location?.href ?? n;
|
|
96
98
|
if (!r) return {};
|
|
97
99
|
let i = new URL(r, "http://localhost");
|
|
98
|
-
return i.searchParams.set(
|
|
100
|
+
return i.searchParams.set(F.queryKey, t), {
|
|
99
101
|
href: `${i.pathname}${i.search}`,
|
|
100
|
-
replace:
|
|
102
|
+
replace: F.replace
|
|
101
103
|
};
|
|
102
|
-
},
|
|
103
|
-
|
|
104
|
-
|
|
104
|
+
}, Z = null, Q = () => {
|
|
105
|
+
Z === null && globalThis.requestAnimationFrame && (Z = globalThis.requestAnimationFrame(() => {
|
|
106
|
+
Z = null, ge();
|
|
105
107
|
}));
|
|
106
|
-
},
|
|
107
|
-
if (!
|
|
108
|
-
let e =
|
|
109
|
-
available:
|
|
110
|
-
used:
|
|
111
|
-
footprint:
|
|
112
|
-
current:
|
|
113
|
-
target:
|
|
108
|
+
}, ge = () => {
|
|
109
|
+
if (!K.value || !q.value) return;
|
|
110
|
+
let e = ce({
|
|
111
|
+
available: K.value.clientWidth,
|
|
112
|
+
used: q.value.clientWidth,
|
|
113
|
+
footprint: J.value,
|
|
114
|
+
current: G.value,
|
|
115
|
+
target: c(F.maxSize, 6)
|
|
114
116
|
});
|
|
115
|
-
e !==
|
|
117
|
+
e !== G.value && (G.value = e, Q());
|
|
116
118
|
};
|
|
117
119
|
if (globalThis.ResizeObserver) {
|
|
118
|
-
let e = new ResizeObserver(
|
|
119
|
-
|
|
120
|
-
if (
|
|
121
|
-
let t =
|
|
120
|
+
let e = new ResizeObserver(Q);
|
|
121
|
+
S(() => {
|
|
122
|
+
if (K.value && q.value) {
|
|
123
|
+
let t = K.value.querySelectorAll(".bb-pagination__page")[1];
|
|
122
124
|
if (t) {
|
|
123
|
-
let e = getComputedStyle(
|
|
124
|
-
|
|
125
|
+
let e = getComputedStyle(q.value).columnGap, n = Number.parseFloat(e) || 0;
|
|
126
|
+
J.value = t.clientWidth + n;
|
|
125
127
|
}
|
|
126
|
-
e.observe(
|
|
128
|
+
e.observe(K.value);
|
|
127
129
|
}
|
|
128
|
-
}),
|
|
129
|
-
e.disconnect(),
|
|
130
|
+
}), x(() => {
|
|
131
|
+
e.disconnect(), Z !== null && globalThis.cancelAnimationFrame && globalThis.cancelAnimationFrame(Z);
|
|
130
132
|
});
|
|
131
133
|
}
|
|
132
|
-
O(() =>
|
|
133
|
-
|
|
134
|
-
}), O([
|
|
135
|
-
if (
|
|
136
|
-
let t =
|
|
137
|
-
e !== t && (
|
|
138
|
-
}, { immediate: !0 }), O(() =>
|
|
139
|
-
|
|
140
|
-
}, { immediate: !0 }), O([
|
|
141
|
-
|
|
134
|
+
O(() => F.maxSize, (e) => {
|
|
135
|
+
G.value = c(e, 6), Q();
|
|
136
|
+
}), O([v, U], ([e]) => {
|
|
137
|
+
if (F.tableId) return;
|
|
138
|
+
let t = Y(e);
|
|
139
|
+
e !== t && (v.value = t);
|
|
140
|
+
}, { immediate: !0 }), O(() => H.page.value, (e) => {
|
|
141
|
+
F.tableId && me.value && e != null && e !== v.value && (v.value = e);
|
|
142
|
+
}, { immediate: !0 }), O([v, () => F.tableId], ([e]) => {
|
|
143
|
+
F.tableId && e !== H.page.value && (H.page.value = e);
|
|
142
144
|
}, { immediate: !0 });
|
|
143
|
-
let
|
|
144
|
-
if (
|
|
145
|
-
if (
|
|
146
|
-
if (
|
|
147
|
-
let e =
|
|
148
|
-
if (n -
|
|
149
|
-
...$(Math.max(1,
|
|
150
|
-
|
|
151
|
-
|
|
145
|
+
let _e = d(() => {
|
|
146
|
+
if (U.value <= 0 || isNaN(U.value) || U.value > 2 ** 53 - 1) return [];
|
|
147
|
+
if (G.value <= 1) return [v.value];
|
|
148
|
+
if (U.value <= G.value) return $(U.value, W.value);
|
|
149
|
+
let e = G.value % 2 == 0, t = e ? G.value / 2 : Math.floor(G.value / 2), n = e ? t : t + 1, r = U.value - t;
|
|
150
|
+
if (n - v.value >= 0) return [
|
|
151
|
+
...$(Math.max(1, G.value - 1), W.value),
|
|
152
|
+
F.ellipsis,
|
|
153
|
+
U.value
|
|
152
154
|
];
|
|
153
|
-
if (
|
|
154
|
-
let e =
|
|
155
|
+
if (v.value - r >= +!!e) {
|
|
156
|
+
let e = G.value - 1, t = U.value - e + W.value;
|
|
155
157
|
return [
|
|
156
|
-
|
|
157
|
-
|
|
158
|
+
W.value,
|
|
159
|
+
F.ellipsis,
|
|
158
160
|
...$(e, t)
|
|
159
161
|
];
|
|
160
162
|
}
|
|
161
163
|
{
|
|
162
|
-
let e = Math.max(1,
|
|
164
|
+
let e = Math.max(1, G.value - 3), t = e === 1 ? v.value : v.value - Math.ceil(e / 2) + W.value;
|
|
163
165
|
return [
|
|
164
|
-
|
|
165
|
-
|
|
166
|
+
W.value,
|
|
167
|
+
F.ellipsis,
|
|
166
168
|
...$(e, t),
|
|
167
|
-
|
|
168
|
-
|
|
169
|
+
F.ellipsis,
|
|
170
|
+
U.value
|
|
169
171
|
];
|
|
170
172
|
}
|
|
171
|
-
}),
|
|
173
|
+
}), ve = d(() => _e.value.map((e, t) => typeof e == "string" ? {
|
|
172
174
|
active: !1,
|
|
173
175
|
key: `ellipsis-${t}`,
|
|
174
176
|
page: e,
|
|
175
177
|
ellipsis: !0,
|
|
176
178
|
disabled: !0
|
|
177
179
|
} : {
|
|
178
|
-
active: e ===
|
|
180
|
+
active: e === v.value,
|
|
179
181
|
key: e,
|
|
180
182
|
page: e,
|
|
181
183
|
ellipsis: !1,
|
|
182
|
-
disabled: !!
|
|
183
|
-
})), $ = (e, t = 0) => Array.from({ length: e }, (e, n) => t + n),
|
|
184
|
-
let e =
|
|
185
|
-
disabled:
|
|
184
|
+
disabled: !!F.disabled
|
|
185
|
+
})), $ = (e, t = 0) => Array.from({ length: e }, (e, n) => t + n), ye = d(() => {
|
|
186
|
+
let e = Y(v.value - 1), t = {
|
|
187
|
+
disabled: v.value <= 1 || F.disabled,
|
|
186
188
|
onClick: () => {
|
|
187
|
-
|
|
189
|
+
v.value > 1 && --v.value;
|
|
188
190
|
},
|
|
189
191
|
class: [
|
|
190
192
|
"bb-pagination__arrow",
|
|
@@ -192,25 +194,25 @@ var de = ["aria-label"], A = { class: "bb-pagination__page-label bb-sr-only" },
|
|
|
192
194
|
"bb-pagination__page--previous"
|
|
193
195
|
]
|
|
194
196
|
};
|
|
195
|
-
return t.disabled || Object.assign(t,
|
|
196
|
-
}),
|
|
197
|
+
return t.disabled || Object.assign(t, X(e)), y(t, R.part("arrow", { disabled: t.disabled || void 0 }));
|
|
198
|
+
}), be = (e) => {
|
|
197
199
|
let t = {
|
|
198
200
|
class: ["bb-pagination__item", "bb-pagination__page"],
|
|
199
201
|
disabled: e.disabled,
|
|
200
202
|
"aria-current": e.active ? "page" : null,
|
|
201
203
|
onClick: () => {
|
|
202
|
-
typeof e.key == "number" && (
|
|
204
|
+
typeof e.key == "number" && (v.value = e.key);
|
|
203
205
|
}
|
|
204
206
|
};
|
|
205
|
-
return e.active && t.class.push("bb-pagination__page--active"), e.ellipsis && t.class.push("bb-pagination__page--ellipsis"), !t.disabled && typeof e.page == "number" && Object.assign(t,
|
|
207
|
+
return e.active && t.class.push("bb-pagination__page--active"), e.ellipsis && t.class.push("bb-pagination__page--ellipsis"), !t.disabled && typeof e.page == "number" && Object.assign(t, X(e.page)), y(t, R.part("item", {
|
|
206
208
|
active: !!e.active,
|
|
207
209
|
disabled: t.disabled || void 0
|
|
208
210
|
}));
|
|
209
|
-
},
|
|
210
|
-
let e =
|
|
211
|
-
disabled:
|
|
211
|
+
}, xe = d(() => {
|
|
212
|
+
let e = Y(v.value + 1), t = {
|
|
213
|
+
disabled: v.value >= U.value || F.disabled,
|
|
212
214
|
onClick: () => {
|
|
213
|
-
|
|
215
|
+
v.value < U.value && (v.value += 1);
|
|
214
216
|
},
|
|
215
217
|
class: [
|
|
216
218
|
"bb-pagination__arrow",
|
|
@@ -218,52 +220,52 @@ var de = ["aria-label"], A = { class: "bb-pagination__page-label bb-sr-only" },
|
|
|
218
220
|
"bb-pagination__page--next"
|
|
219
221
|
]
|
|
220
222
|
};
|
|
221
|
-
return t.disabled || Object.assign(t,
|
|
223
|
+
return t.disabled || Object.assign(t, X(e)), y(t, R.part("arrow", { disabled: t.disabled || void 0 }));
|
|
222
224
|
});
|
|
223
|
-
return (
|
|
225
|
+
return (t, n) => (C(), p("div", y({
|
|
224
226
|
ref_key: "outercontainer",
|
|
225
|
-
ref:
|
|
227
|
+
ref: K,
|
|
226
228
|
class: ["bb-pagination", {
|
|
227
|
-
[`bb-pagination--${
|
|
228
|
-
"bb-pagination--disabled":
|
|
229
|
+
[`bb-pagination--${g.align}`]: !0,
|
|
230
|
+
"bb-pagination--disabled": g.disabled
|
|
229
231
|
}]
|
|
230
|
-
}, D(
|
|
232
|
+
}, D(R).rootAttrs), [m("nav", { "aria-label": g.label || D(z)("pagination.label").value }, [m("ul", {
|
|
231
233
|
ref_key: "innercontainer",
|
|
232
|
-
ref:
|
|
234
|
+
ref: q,
|
|
233
235
|
class: "bb-pagination__pages"
|
|
234
236
|
}, [
|
|
235
|
-
|
|
236
|
-
default: k(() => [T(
|
|
237
|
+
m("li", null, [h(i, b(_(ye.value)), {
|
|
238
|
+
default: k(() => [T(t.$slots, "previous", {}, () => [m("span", j, E(D(z)("pagination.previous").value), 1), h(e, y({
|
|
237
239
|
class: "bb-pagination__icon",
|
|
238
|
-
icon: D(
|
|
240
|
+
icon: D(I),
|
|
239
241
|
size: "16"
|
|
240
|
-
}, D(
|
|
242
|
+
}, D(R).icon), null, 16, ["icon"])])]),
|
|
241
243
|
_: 3
|
|
242
244
|
}, 16)]),
|
|
243
|
-
(
|
|
245
|
+
(C(!0), p(u, null, ue(ve.value, (e) => (C(), p("li", { key: e.key }, [e.ellipsis === !0 ? (C(), p("span", y({
|
|
244
246
|
key: 0,
|
|
245
247
|
"aria-hidden": "true",
|
|
246
248
|
class: "bb-pagination__ellipsis bb-pagination__page bb-pagination__page--ellipsis"
|
|
247
|
-
}, { ref_for: !0 }, D(
|
|
249
|
+
}, { ref_for: !0 }, D(R).ellipsis), [T(t.$slots, "ellipsis", {}, () => [m("span", M, E(F.ellipsis), 1)])], 16)) : (C(), f(i, y({
|
|
248
250
|
key: 1,
|
|
249
251
|
ref_for: !0
|
|
250
|
-
},
|
|
251
|
-
default: k(() => [T(
|
|
252
|
+
}, be(e)), {
|
|
253
|
+
default: k(() => [T(t.$slots, "item", {
|
|
252
254
|
active: e.active,
|
|
253
255
|
disabled: e.disabled,
|
|
254
256
|
item: e.page
|
|
255
|
-
}, () => [
|
|
257
|
+
}, () => [m("span", N, E(e.page), 1)])]),
|
|
256
258
|
_: 2
|
|
257
259
|
}, 1040))]))), 128)),
|
|
258
|
-
|
|
259
|
-
default: k(() => [T(
|
|
260
|
+
m("li", null, [h(i, b(_(xe.value)), {
|
|
261
|
+
default: k(() => [T(t.$slots, "next", {}, () => [m("span", P, E(D(z)("pagination.next").value), 1), h(e, y({
|
|
260
262
|
class: "bb-pagination__icon",
|
|
261
|
-
icon: D(
|
|
263
|
+
icon: D(L),
|
|
262
264
|
size: "16"
|
|
263
|
-
}, D(
|
|
265
|
+
}, D(R).icon), null, 16, ["icon"])])]),
|
|
264
266
|
_: 3
|
|
265
267
|
}, 16)])
|
|
266
|
-
], 512)], 8,
|
|
268
|
+
], 512)], 8, A)], 16));
|
|
267
269
|
}
|
|
268
270
|
});
|
|
269
|
-
export {
|
|
271
|
+
export { F as default };
|
|
@@ -7,8 +7,8 @@ export type { BbProgressProps };
|
|
|
7
7
|
type __VLS_Props = BbProgressProps & /* @vue-ignore */ FallthroughAttrs<'div', BbProgressProps>;
|
|
8
8
|
declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
9
9
|
modelValue: number | null;
|
|
10
|
-
max: number;
|
|
11
10
|
min: number;
|
|
11
|
+
max: number;
|
|
12
12
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
export default _default;
|
|
@@ -130,6 +130,9 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
|
|
|
130
130
|
"root:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
131
131
|
"icon:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
132
132
|
"label:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
133
|
+
"description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
134
|
+
"message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
135
|
+
"hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
133
136
|
"label:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
134
137
|
"label:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
135
138
|
"legend:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
@@ -137,13 +140,10 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
|
|
|
137
140
|
"legend:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
138
141
|
"root:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
139
142
|
"root:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
140
|
-
"description:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
141
143
|
"description:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
142
144
|
"description:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
143
|
-
"message:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
144
145
|
"message:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
145
146
|
"message:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
146
|
-
"hint:outline"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
147
147
|
"hint:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
148
148
|
"hint:line"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
149
149
|
"icon:pill"?: import('../../types/passthrough.js').PtValue | undefined;
|
|
@@ -209,7 +209,7 @@ declare const __VLS_export: <const T = any, A extends string | ((...args: never[
|
|
|
209
209
|
} & import('../../composables/useFormBinding.js').FormFieldProps<any> & {
|
|
210
210
|
itemValue?: ItemKeyInput<T, A> | ItemGetter<T, any>;
|
|
211
211
|
itemText?: ItemKeyInput<T, Tx> | ItemGetter<T, string>;
|
|
212
|
-
} & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "variant" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | "required" |
|
|
212
|
+
} & Omit<import('vue').HTMLAttributes, "legend" | "reverse" | `pt:${string}&${string}` | "readonly" | "disabled" | "warnings" | "errors" | "description" | "hint" | "pt" | "block" | "onClick" | "variant" | "dependencies" | "compact" | "layout" | "inputPosition" | "listLayout" | "itemLayout" | "itemReverse" | "modelValue" | "clearable" | "autofocus" | "labelAlign" | "inputAlign" | "hasErrors" | "hasWarnings" | "hideLabel" | "id" | "name" | "persistentHint" | "required" | "selectable" | "itemText" | "enforceCoherence" | "items" | "loadingText" | "emptyText" | "failedText" | "hideLegend" | "legendMode" | "legendPosition" | "depsDebounceTime" | "itemProps" | "itemValue" | "modelValueDebounceTime" | keyof import('../../composables/useFormBinding.js').FormFieldProps<any> | "itemLabelAlign" | "itemInputAlign" | keyof import('./ptKeys.generated.js').BbRadioGroupPtKeys | "onFocus" | "onBlur" | "onChange" | "onInput" | "onKeydown" | "onMousedown" | "onMouseup"> & {}) & {
|
|
213
213
|
onActive?: (() => any) | undefined;
|
|
214
214
|
onInput?: ((event: Event) => any) | undefined;
|
|
215
215
|
"onUpdate:modelValue"?: ((value: OptionValueOf<T, A>) => any) | undefined;
|