bitboss-ui 3.0.0-beta.63 → 3.0.0-beta.64
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 +25 -20
- package/bin/bitboss-ui.mjs +73 -7
- package/dist/ai/BbAlert.md +10 -1
- package/dist/ai/BbBadge.md +35 -3
- package/dist/ai/BbBadgeButton.md +4 -2
- package/dist/ai/BbBaseButton.md +9 -3
- package/dist/ai/BbBreadcrumbs.md +2 -2
- package/dist/ai/BbButton.md +113 -8
- package/dist/ai/BbCheckbox.md +1 -1
- package/dist/ai/BbCheckboxGroup.md +94 -6
- package/dist/ai/BbColorInput.md +4 -1
- package/dist/ai/BbColorPalette.md +2 -1
- package/dist/ai/BbConfirm.md +7 -3
- package/dist/ai/BbDatePicker.md +2 -1
- package/dist/ai/BbDatePickerInput.md +4 -1
- package/dist/ai/BbDialog.md +12 -11
- package/dist/ai/BbDropdown.md +189 -38
- package/dist/ai/BbDropdownButton.md +27 -7
- package/dist/ai/BbForm.md +55 -22
- package/dist/ai/BbHost.md +2 -2
- package/dist/ai/BbHoverCard.md +7 -3
- package/dist/ai/BbIcon.md +12 -6
- package/dist/ai/BbIndicator.md +11 -1
- package/dist/ai/BbNumberInput.md +4 -1
- package/dist/ai/BbOffCanvas.md +37 -3
- package/dist/ai/BbPopover.md +2 -1
- package/dist/ai/BbRadio.md +1 -1
- package/dist/ai/BbRadioGroup.md +102 -10
- package/dist/ai/BbSelect.md +52 -17
- package/dist/ai/BbSelectPopover.md +93 -26
- package/dist/ai/BbSwitch.md +1 -1
- package/dist/ai/BbSwitchGroup.md +30 -3
- package/dist/ai/BbTable.md +17 -10
- package/dist/ai/BbTabs.md +8 -3
- package/dist/ai/BbTabsList.md +4 -1
- package/dist/ai/BbTag.md +5 -2
- package/dist/ai/BbTextInput.md +4 -1
- package/dist/ai/BbTextarea.md +4 -1
- package/dist/ai/BbTimePicker.md +2 -1
- package/dist/ai/BbTimePickerInput.md +4 -1
- package/dist/ai/BbToast.md +9 -3
- package/dist/ai/BbTooltip.md +71 -9
- package/dist/ai/ChipsBox.md +1 -1
- package/dist/ai/CommonField.md +1 -1
- package/dist/ai/OptionsContainer.md +42 -0
- package/dist/ai/changelog.json +416 -6
- package/dist/ai/components.json +50 -48
- package/dist/ai/composables/useConfirm.md +39 -1
- package/dist/ai/design-tokens.json +6 -6
- package/dist/ai/guides/agent-contract.md +2 -2
- package/dist/ai/guides/ai-router.md +24 -23
- package/dist/ai/guides/app-layout.md +5 -0
- package/dist/ai/guides/component-picker.md +9 -2
- package/dist/ai/guides/design-language.md +24 -24
- package/dist/ai/guides/design-tokens.md +15 -8
- package/dist/ai/guides/icons-policy.md +9 -2
- package/dist/ai/guides/inertia-helpers.md +79 -49
- package/dist/ai/guides/installation-and-plugin-setup.md +12 -2
- package/dist/ai/guides/migration/adoption-checklist.md +235 -0
- package/dist/ai/guides/migration/components/bb-checkbox-group.md +16 -15
- package/dist/ai/guides/migration/components/bb-dialog.md +9 -9
- package/dist/ai/guides/migration/components/bb-dropdown.md +7 -2
- package/dist/ai/guides/migration/components/bb-popover.md +4 -2
- package/dist/ai/guides/migration/components/bb-select.md +19 -0
- package/dist/ai/guides/migration/components/bb-table.md +1 -0
- package/dist/ai/guides/migration/components/bb-toast.md +4 -0
- package/dist/ai/guides/migration/components/bb-tooltip.md +15 -12
- package/dist/ai/guides/migration/components/use-confirm.md +25 -2
- package/dist/ai/guides/migration/v2-to-v3.md +163 -9
- package/dist/ai/guides/migration/v3-beta-css-classes.md +7 -3
- package/dist/ai/guides/options-items-playbook.md +2 -1
- package/dist/ai/guides/passthrough.md +147 -85
- package/dist/ai/guides/preset-components.md +140 -15
- package/dist/ai/helpers/definePreset.json +7 -0
- package/dist/ai/helpers/definePreset.ts +123 -11
- package/dist/ai/helpers/inertia/manifest.json +15 -9
- package/dist/ai/helpers/inertia/useConfirmOnRouteLeave.ts +4 -4
- package/dist/ai/helpers/inertia/usePaginatedResponseContext.ts +39 -24
- package/dist/ai/helpers/inertia/useRouteQuery.ts +10 -4
- package/dist/ai/index.md +1 -0
- package/dist/ai/manifest/common.json +0 -1
- package/dist/ai/manifest/components/BbAlert.json +7 -2
- package/dist/ai/manifest/components/BbBadge.json +13 -4
- package/dist/ai/manifest/components/BbBadge.tree.json +2 -0
- package/dist/ai/manifest/components/BbBadgeButton.json +4 -2
- package/dist/ai/manifest/components/BbBaseButton.json +4 -2
- package/dist/ai/manifest/components/BbBreadcrumbs.tree.json +1 -1
- package/dist/ai/manifest/components/BbButton.json +14 -3
- package/dist/ai/manifest/components/BbButton.tree.json +5 -1
- package/dist/ai/manifest/components/BbCheckboxGroup.json +13 -8
- package/dist/ai/manifest/components/BbCheckboxGroup.tree.json +11 -1
- package/dist/ai/manifest/components/BbColorInput.json +18 -15
- package/dist/ai/manifest/components/BbColorPalette.json +1 -1
- package/dist/ai/manifest/components/BbConfirm.json +4 -2
- package/dist/ai/manifest/components/BbConfirm.tree.json +1 -1
- package/dist/ai/manifest/components/BbDatePicker.json +1 -1
- package/dist/ai/manifest/components/BbDatePickerInput.json +17 -14
- package/dist/ai/manifest/components/BbDialog.tree.json +2 -1
- package/dist/ai/manifest/components/BbDropdown.json +24 -19
- package/dist/ai/manifest/components/BbDropdown.tree.json +9 -2
- package/dist/ai/manifest/components/BbDropdownButton.json +33 -20
- package/dist/ai/manifest/components/BbDropdownButton.tree.json +2 -2
- package/dist/ai/manifest/components/BbForm.json +2 -2
- package/dist/ai/manifest/components/BbHost.tree.json +1 -1
- package/dist/ai/manifest/components/BbHoverCard.json +1 -1
- package/dist/ai/manifest/components/BbIndicator.json +8 -2
- package/dist/ai/manifest/components/BbNumberInput.json +5 -2
- package/dist/ai/manifest/components/BbOffCanvas.json +2 -2
- package/dist/ai/manifest/components/BbOffCanvas.tree.json +1 -1
- package/dist/ai/manifest/components/BbPopover.json +1 -1
- package/dist/ai/manifest/components/BbRadioGroup.json +17 -12
- package/dist/ai/manifest/components/BbRadioGroup.tree.json +8 -1
- package/dist/ai/manifest/components/BbSelect.json +21 -18
- package/dist/ai/manifest/components/BbSelect.tree.json +2 -2
- package/dist/ai/manifest/components/BbSelectPopover.json +10 -10
- package/dist/ai/manifest/components/BbSelectPopover.tree.json +3 -2
- package/dist/ai/manifest/components/BbSwitchGroup.json +1 -1
- package/dist/ai/manifest/components/BbSwitchGroup.tree.json +3 -1
- package/dist/ai/manifest/components/BbTable.tree.json +14 -1
- package/dist/ai/manifest/components/BbTabs.json +9 -6
- package/dist/ai/manifest/components/BbTabs.tree.json +1 -1
- package/dist/ai/manifest/components/BbTabsList.json +6 -3
- package/dist/ai/manifest/components/BbTag.json +19 -16
- package/dist/ai/manifest/components/BbTag.tree.json +1 -1
- package/dist/ai/manifest/components/BbTextInput.json +6 -3
- package/dist/ai/manifest/components/BbTextarea.json +6 -3
- package/dist/ai/manifest/components/BbTimePicker.json +1 -1
- package/dist/ai/manifest/components/BbTimePickerInput.json +10 -7
- package/dist/ai/manifest/components/BbToast.json +7 -2
- package/dist/ai/manifest/components/BbToast.tree.json +4 -2
- package/dist/ai/manifest/components/BbTooltip.json +6 -5
- package/dist/ai/manifest/components/ChipsBox.tree.json +1 -1
- package/dist/ai/manifest/components/CommonField.json +1 -1
- package/dist/ai/manifest/components/OptionsContainer.json +3 -1
- package/dist/ai/manifest/components/OptionsContainer.tree.json +38 -0
- package/dist/ai/manifest/index.json +3 -3
- package/dist/ai/manifest/meta.json +5 -3
- package/dist/ai/manifest/types.advanced.json +5 -2
- package/dist/ai/manifest/types.api.json +9 -7
- package/dist/ai/recipes/inertia/layout-scaffold.md +19 -6
- package/dist/ai/recipes/inertia/records-workspace.md +49 -13
- package/dist/ai/recipes/nuxt/layout-scaffold.md +19 -6
- package/dist/ai/recipes/nuxt/records-workspace.md +42 -12
- package/dist/ai/recipes/vue/layout-scaffold.md +19 -6
- package/dist/ai/recipes/vue/records-workspace.md +42 -12
- package/dist/ai/source/BbAlert.md +94 -76
- package/dist/ai/source/BbBadge.md +174 -72
- package/dist/ai/source/BbBadgeButton.md +130 -65
- package/dist/ai/source/BbBaseButton.md +46 -124
- package/dist/ai/source/BbBaseCheckboxIcon.md +38 -0
- package/dist/ai/source/BbBaseRadioIcon.md +18 -0
- package/dist/ai/source/BbBaseSwitchIcon.md +51 -0
- package/dist/ai/source/BbButton.md +153 -36
- package/dist/ai/source/BbCheckboxGroup.md +142 -18
- package/dist/ai/source/BbColorInput.md +240 -204
- package/dist/ai/source/BbColorPalette.md +7 -4
- package/dist/ai/source/BbConfirm.md +34 -11
- package/dist/ai/source/BbConfirmPortal.md +24 -9
- package/dist/ai/source/BbDatePicker.md +11 -7
- package/dist/ai/source/BbDatePickerInput.md +306 -269
- package/dist/ai/source/BbDialog.md +49 -14
- package/dist/ai/source/BbDropdown.md +314 -197
- package/dist/ai/source/BbDropdownButton.md +197 -31
- package/dist/ai/source/BbDropdownGroup.md +274 -176
- package/dist/ai/source/BbForm.md +50 -6
- package/dist/ai/source/BbHoverCard.md +12 -5
- package/dist/ai/source/BbIcon.md +4 -3
- package/dist/ai/source/BbIndicator.md +73 -52
- package/dist/ai/source/BbNumberInput.md +293 -257
- package/dist/ai/source/BbOffCanvas.md +55 -29
- package/dist/ai/source/BbPopover.md +14 -10
- package/dist/ai/source/BbRadioGroup.md +413 -297
- package/dist/ai/source/BbSelect.md +549 -435
- package/dist/ai/source/BbSelectPopover.md +128 -33
- package/dist/ai/source/BbSwitchGroup.md +70 -10
- package/dist/ai/source/BbTable.md +369 -37
- package/dist/ai/source/BbTabs.md +115 -39
- package/dist/ai/source/BbTabsList.md +106 -38
- package/dist/ai/source/BbTabsPanels.md +96 -36
- package/dist/ai/source/BbTabsRoot.md +96 -36
- package/dist/ai/source/BbTag.md +267 -233
- package/dist/ai/source/BbTextInput.md +261 -225
- package/dist/ai/source/BbTextarea.md +251 -215
- package/dist/ai/source/BbTimePicker.md +11 -7
- package/dist/ai/source/BbTimePickerInput.md +257 -220
- package/dist/ai/source/BbToast.md +73 -32
- package/dist/ai/source/BbToastPortal.md +65 -30
- package/dist/ai/source/BbTooltip.md +148 -113
- package/dist/ai/source/CommonPopover.md +6 -1
- package/dist/ai/source/FlatListBox.md +19 -9
- package/dist/ai/source/GroupedListBox.md +19 -9
- package/dist/ai/source/OptionsContainer.md +25 -9
- package/dist/components/BbAlert/BbAlert.vue_vue_type_script_setup_true_lang.js +61 -36
- package/dist/components/BbAlert/types.d.ts +9 -5
- package/dist/components/BbAlert/types.js +8 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue.d.ts +3 -3
- package/dist/components/BbBadge/BadgeBodyContent.vue_vue_type_script_setup_true_lang.js +26 -17
- package/dist/components/BbBadge/BbBadge.vue_vue_type_script_setup_true_lang.js +103 -50
- package/dist/components/BbBadge/BbBadgeButton.vue_vue_type_script_setup_true_lang.js +20 -15
- package/dist/components/BbBadge/badgeButtonContext.d.ts +12 -1
- package/dist/components/BbBadge/types.d.ts +45 -15
- package/dist/components/BbBadge/types.js +12 -3
- package/dist/components/BbBaseButton/BbBaseButton.vue_vue_type_script_setup_true_lang.js +89 -126
- package/dist/components/BbBaseButton/types.d.ts +23 -4
- package/dist/components/BbBaseButton/types.js +7 -1
- package/dist/components/BbBaseButton/useLinkState.d.ts +41 -0
- package/dist/components/BbBaseButton/useLinkState.js +70 -0
- package/dist/components/BbButton/BbButton.vue_vue_type_script_setup_true_lang.js +130 -74
- package/dist/components/BbButton/types.d.ts +50 -13
- package/dist/components/BbButton/types.js +10 -3
- package/dist/components/BbCheckboxGroup/BbCheckboxGroup.vue_vue_type_script_setup_true_lang.js +148 -95
- package/dist/components/BbCheckboxGroup/types.d.ts +34 -11
- package/dist/components/BbCheckboxGroup/types.js +9 -4
- package/dist/components/BbCollapsible/BbCollapsible.vue.d.ts +1 -1
- package/dist/components/BbColorInput/BbColorInput.vue_vue_type_script_setup_true_lang.js +134 -93
- package/dist/components/BbColorInput/types.d.ts +11 -4
- package/dist/components/BbColorInput/types.js +9 -3
- package/dist/components/BbConfirm/BbConfirm.vue_vue_type_script_setup_true_lang.js +82 -59
- package/dist/components/BbConfirm/types.d.ts +9 -4
- package/dist/components/BbConfirm/types.js +8 -3
- package/dist/components/BbDatePicker/BbDatePicker.vue.d.ts +1 -1
- package/dist/components/BbDatePicker/BbDatePicker.vue_vue_type_script_setup_true_lang.js +68 -67
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue.d.ts +1 -1
- package/dist/components/BbDatePickerInput/BbDatePickerInput.vue_vue_type_script_setup_true_lang.js +259 -215
- package/dist/components/BbDatePickerInput/types.d.ts +12 -5
- package/dist/components/BbDatePickerInput/types.js +9 -3
- package/dist/components/BbDialog/BbDialog.vue_vue_type_script_setup_true_lang.js +223 -219
- package/dist/components/BbDialog/useDialogStack.d.ts +1 -1
- package/dist/components/BbDropdown/AdaptiveDropdown.vue_vue_type_script_setup_true_lang.js +104 -89
- package/dist/components/BbDropdown/BbDropdown.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdown.vue_vue_type_script_setup_true_lang.js +323 -285
- package/dist/components/BbDropdown/BbDropdownList.vue.d.ts +1 -0
- package/dist/components/BbDropdown/BbDropdownList.vue_vue_type_script_setup_true_lang.js +411 -319
- package/dist/components/BbDropdown/DropdownPipelineResolver.vue_vue_type_script_setup_true_lang.js +100 -98
- package/dist/components/BbDropdown/DropdownRow.vue.d.ts +4 -3
- package/dist/components/BbDropdown/DropdownRow.vue_vue_type_script_setup_true_lang.js +49 -28
- package/dist/components/BbDropdown/normalizeGroups.d.ts +6 -0
- package/dist/components/BbDropdown/normalizeGroups.js +21 -15
- package/dist/components/BbDropdown/types.d.ts +59 -12
- package/dist/components/BbDropdown/types.js +16 -3
- package/dist/components/BbDropdown/useDropdownContext.d.ts +6 -0
- package/dist/components/BbDropdownButton/BbDropdownButton.vue.d.ts +2 -1
- package/dist/components/BbDropdownButton/BbDropdownButton.vue_vue_type_script_setup_true_lang.js +179 -68
- package/dist/components/BbDropdownButton/types.d.ts +44 -16
- package/dist/components/BbDropdownButton/types.js +28 -3
- package/dist/components/BbForm/BbForm.vue_vue_type_script_setup_true_lang.js +111 -89
- package/dist/components/BbForm/formSchema.d.ts +13 -0
- package/dist/components/BbHoverCard/BbHoverCard.vue_vue_type_script_setup_true_lang.js +100 -100
- package/dist/components/BbIndicator/BbIndicator.vue_vue_type_script_setup_true_lang.js +40 -25
- package/dist/components/BbIndicator/types.d.ts +9 -5
- package/dist/components/BbIndicator/types.js +8 -3
- package/dist/components/BbNumberInput/BbNumberInput.vue_vue_type_script_setup_true_lang.js +243 -202
- package/dist/components/BbNumberInput/types.d.ts +12 -5
- package/dist/components/BbNumberInput/types.js +9 -3
- package/dist/components/BbOffCanvas/BbOffCanvas.vue.d.ts +1 -1
- package/dist/components/BbOffCanvas/BbOffCanvas.vue_vue_type_script_setup_true_lang.js +401 -399
- package/dist/components/BbOffCanvas/types.d.ts +6 -2
- package/dist/components/BbPopover/BbPopover.vue_vue_type_script_setup_true_lang.js +81 -80
- package/dist/components/BbRadioGroup/BbRadioGroup.vue_vue_type_script_setup_true_lang.js +158 -105
- package/dist/components/BbRadioGroup/types.d.ts +21 -7
- package/dist/components/BbRadioGroup/types.js +9 -4
- package/dist/components/BbSelect/BbSelect.vue.d.ts +4 -3
- package/dist/components/BbSelect/BbSelect.vue_vue_type_script_setup_true_lang.js +181 -137
- package/dist/components/BbSelect/types.d.ts +36 -22
- package/dist/components/BbSelect/types.js +22 -3
- package/dist/components/BbSelectPopover/BbSelectPopover.vue.d.ts +4 -4
- package/dist/components/BbSelectPopover/BbSelectPopover.vue_vue_type_script_setup_true_lang.js +543 -532
- package/dist/components/BbSelectPopover/knownItems.d.ts +5 -0
- package/dist/components/BbSelectPopover/types.d.ts +46 -12
- package/dist/components/BbSmoothHeight/BbSmoothHeight.vue.d.ts +1 -1
- package/dist/components/BbSwitchGroup/BbSwitchGroup.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/components/BbSwitchGroup/types.d.ts +14 -4
- package/dist/components/BbSwitchGroup/types.js +8 -3
- package/dist/components/BbTable/BbTable.vue_vue_type_script_setup_true_lang.js +1102 -995
- package/dist/components/BbTable/estimatedFloors.golden.d.ts +25 -0
- package/dist/components/BbTable/measuredFloors.d.ts +46 -0
- package/dist/components/BbTable/measuredFloors.js +322 -0
- package/dist/components/BbTable/measuredFloorsTestKit.d.ts +27 -0
- package/dist/components/BbTable/textRuler.d.ts +71 -0
- package/dist/components/BbTable/textRuler.js +121 -0
- package/dist/components/BbTable/utils.d.ts +113 -6
- package/dist/components/BbTable/utils.js +118 -65
- package/dist/components/BbTabs/BbTabs.vue_vue_type_script_setup_true_lang.js +53 -35
- package/dist/components/BbTabs/BbTabsList.vue_vue_type_script_setup_true_lang.js +62 -45
- package/dist/components/BbTabs/types.d.ts +26 -11
- package/dist/components/BbTabs/types.js +23 -8
- package/dist/components/BbTag/BbTag.vue_vue_type_script_setup_true_lang.js +205 -164
- package/dist/components/BbTag/types.d.ts +11 -4
- package/dist/components/BbTag/types.js +9 -3
- package/dist/components/BbTextInput/BbTextInput.vue_vue_type_script_setup_true_lang.js +98 -57
- package/dist/components/BbTextInput/types.d.ts +12 -5
- package/dist/components/BbTextInput/types.js +9 -3
- package/dist/components/BbTextarea/BbTextarea.vue_vue_type_script_setup_true_lang.js +137 -96
- package/dist/components/BbTextarea/types.d.ts +12 -5
- package/dist/components/BbTextarea/types.js +9 -3
- package/dist/components/BbTimePicker/BbTimePicker.vue_vue_type_script_setup_true_lang.js +105 -104
- package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js +241 -197
- package/dist/components/BbTimePickerInput/types.d.ts +12 -5
- package/dist/components/BbTimePickerInput/types.js +9 -3
- package/dist/components/BbToast/BbToast.vue_vue_type_script_setup_true_lang.js +74 -32
- package/dist/components/BbToast/BbToastMessage.vue_vue_type_script_setup_true_lang.js +47 -47
- package/dist/components/BbToast/types.d.ts +10 -5
- package/dist/components/BbToast/types.js +18 -3
- package/dist/components/BbTooltip/BbTooltip.vue_vue_type_script_setup_true_lang.js +85 -71
- package/dist/components/BbTooltip/types.d.ts +13 -8
- package/dist/components/BbTooltip/types.js +8 -3
- package/dist/components/CommonField/CommonField.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue.d.ts +1 -1
- package/dist/components/CommonPopover/CommonPopover.vue_vue_type_script_setup_true_lang.js +69 -69
- package/dist/components/FlatListBox/FlatListBox.vue_vue_type_script_setup_true_lang.js +53 -50
- package/dist/components/GroupedListBox/GroupedListBox.vue_vue_type_script_setup_true_lang.js +146 -143
- package/dist/components/OptionsContainer/OptionsContainer.vue_vue_type_script_setup_true_lang.js +7 -2
- package/dist/components/OptionsContainer/types.d.ts +14 -3
- package/dist/composables/useBbFormContext.d.ts +4 -3
- package/dist/composables/useBbTabsContext.js +99 -85
- package/dist/composables/useChoiceIndicator.d.ts +58 -0
- package/dist/composables/useChoiceIndicator.js +197 -0
- package/dist/composables/useConfirm.d.ts +4 -4
- package/dist/composables/usePassthrough.d.ts +54 -1
- package/dist/composables/usePassthrough.js +100 -71
- package/dist/directives/bbTooltip.d.ts +12 -6
- package/dist/directives/createPopoverDirective.js +1 -1
- package/dist/index.d.ts +3 -1
- package/dist/llms-full.txt +2300 -543
- package/dist/llms-medium.txt +71 -53
- package/dist/llms.txt +2 -1
- package/dist/passthrough-deduper.js +6 -3
- package/dist/project-dts.d.ts +24 -0
- package/dist/project-dts.js +43 -17
- package/dist/styles.css +2 -2
- package/dist/types/AlertVariant.d.ts +14 -0
- package/dist/types/AlertVariant.js +9 -0
- package/dist/types/BadgeVariant.d.ts +14 -0
- package/dist/types/BadgeVariant.js +9 -0
- package/dist/types/ButtonVariant.d.ts +16 -0
- package/dist/types/ButtonVariant.js +11 -0
- package/dist/types/CheckboxVariant.d.ts +38 -0
- package/dist/types/CheckboxVariant.js +4 -0
- package/dist/types/CommonProps.d.ts +4 -3
- package/dist/types/Config.d.ts +7 -0
- package/dist/types/ConfirmVariant.d.ts +12 -0
- package/dist/types/ConfirmVariant.js +4 -0
- package/dist/types/DropdownItemVariant.d.ts +12 -0
- package/dist/types/DropdownItemVariant.js +4 -0
- package/dist/types/IndicatorVariant.d.ts +15 -0
- package/dist/types/IndicatorVariant.js +10 -0
- package/dist/types/InputVariant.d.ts +13 -0
- package/dist/types/InputVariant.js +8 -0
- package/dist/types/RadioVariant.d.ts +38 -0
- package/dist/types/RadioVariant.js +4 -0
- package/dist/types/TabsVariant.d.ts +13 -0
- package/dist/types/TabsVariant.js +8 -0
- package/dist/types/ToastVariant.d.ts +15 -0
- package/dist/types/ToastVariant.js +10 -0
- package/dist/types/TooltipVariant.d.ts +12 -0
- package/dist/types/TooltipVariant.js +4 -0
- package/dist/types/passthrough.d.ts +83 -15
- package/dist/types/passthrough.js +2 -2
- package/dist/types/ptComponentMap.d.ts +35 -23
- package/dist/utilities/functions/extractDomContainer.d.ts +20 -1
- package/dist/utilities/functions/extractDomContainer.js +8 -3
- package/dist/utils/focusVisibility.d.ts +6 -0
- package/dist/utils/focusVisibility.js +4 -1
- package/dist/utils/passthroughDeduper.d.ts +14 -0
- package/dist/utils/versionCheck.js +1 -1
- package/dist/vite-plugin.d.ts +64 -7
- package/dist/vite.js +385 -259
- package/llms.txt +2 -1
- package/package.json +3 -3
- package/scripts/lib/adoption-checklist.json +312 -0
- package/scripts/lib/eslint-plugin.d.ts +13 -0
- package/scripts/lib/eslint-plugin.mjs +75 -11
- package/scripts/lib/idiom-scan.mjs +65 -0
- package/scripts/lib/mcp-config.mjs +203 -9
- package/scripts/lib/migrate-fix.mjs +42 -1
- package/scripts/lib/project-variant-dts.mjs +18 -0
- package/scripts/lib/validate-bb-markup.mjs +99 -2
package/dist/components/BbTimePickerInput/BbTimePickerInput.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -2,33 +2,33 @@ import { useLogger as e } from "../../composables/useLogger.js";
|
|
|
2
2
|
import { isEmpty as t } from "../../utilities/functions/empty.js";
|
|
3
3
|
import { isNotEmpty as n } from "../../utilities/functions/isNotEmpty.js";
|
|
4
4
|
import { withoutPt as r } from "../../utils/passthrough.js";
|
|
5
|
-
import { SEGMENTED_CONTROL_NATIVE_ATTRS as i, formControlPtActive as a, usePassthrough as o } from "../../composables/usePassthrough.js";
|
|
6
|
-
import { useConfig as
|
|
7
|
-
import { removedPropsFor as
|
|
8
|
-
import { warnRemovedAttrs as
|
|
9
|
-
import { transitions as
|
|
10
|
-
import
|
|
11
|
-
import { useMobile as
|
|
12
|
-
import { useClosingInert as
|
|
13
|
-
import { useLocale as
|
|
14
|
-
import
|
|
15
|
-
import { BB_OFF_CANVAS_PT as
|
|
16
|
-
import
|
|
17
|
-
import { useEscapeStackEntry as
|
|
18
|
-
import { useMeridiem as
|
|
19
|
-
import
|
|
20
|
-
import { spokenTimeOf as
|
|
21
|
-
import { vAutofocus as
|
|
22
|
-
import
|
|
23
|
-
import { useFormBinding as
|
|
24
|
-
import
|
|
25
|
-
import { useSegmentedFields as
|
|
26
|
-
import
|
|
27
|
-
import { BB_TIME_PICKER_INPUT_PT as
|
|
28
|
-
import { Fragment as xe, computed as
|
|
29
|
-
import { createReusableTemplate as
|
|
5
|
+
import { SEGMENTED_CONTROL_NATIVE_ATTRS as i, formControlPtActive as a, usePassthrough as o, variantPt as s } from "../../composables/usePassthrough.js";
|
|
6
|
+
import { useConfig as ee } from "../../composables/useConfig.js";
|
|
7
|
+
import { removedPropsFor as te } from "../../deprecation/removedProps.js";
|
|
8
|
+
import { warnRemovedAttrs as ne } from "../../utilities/functions/warnRemovedAttrs.js";
|
|
9
|
+
import { transitions as re } from "../../utilities/misc/transitions.js";
|
|
10
|
+
import ie from "../CommonPopover/CommonPopover.vue.js";
|
|
11
|
+
import { useMobile as ae } from "../../composables/useMobile.js";
|
|
12
|
+
import { useClosingInert as oe } from "../../composables/useClosingInert.js";
|
|
13
|
+
import { useLocale as se } from "../../composables/useLocale.js";
|
|
14
|
+
import ce from "../BbIcon/BbIcon.vue.js";
|
|
15
|
+
import { BB_OFF_CANVAS_PT as le } from "../BbOffCanvas/types.js";
|
|
16
|
+
import ue from "../BbOffCanvas/BbOffCanvas.vue.js";
|
|
17
|
+
import { useEscapeStackEntry as de } from "../../composables/useEscapeStackEntry.js";
|
|
18
|
+
import { useMeridiem as fe } from "../CommonTimeSelector/useMeridiem.js";
|
|
19
|
+
import pe from "../CommonTimeSelector/CommonTimeSelector.vue.js";
|
|
20
|
+
import { spokenTimeOf as me } from "../BbCalendar/useDayjsLocale.js";
|
|
21
|
+
import { vAutofocus as he } from "../../utilities/misc/autofocus.js";
|
|
22
|
+
import ge from "../CommonField/CommonField.vue.js";
|
|
23
|
+
import { useFormBinding as _e } from "../../composables/useFormBinding.js";
|
|
24
|
+
import ve from "../CommonFieldInput/CommonFieldInput.vue.js";
|
|
25
|
+
import { useSegmentedFields as ye } from "../../composables/useSegmentedFields.js";
|
|
26
|
+
import be from "../../assets/svgs/clock.svg_raw.js";
|
|
27
|
+
import { BB_TIME_PICKER_INPUT_PT as c } from "./types.js";
|
|
28
|
+
import { Fragment as xe, computed as l, createBlock as u, createCommentVNode as Se, createElementBlock as d, createElementVNode as f, createSlots as Ce, createVNode as p, defineComponent as we, guardReactiveProps as Te, mergeProps as m, normalizeClass as h, normalizeProps as Ee, normalizeStyle as De, onBeforeUnmount as Oe, onDeactivated as ke, openBlock as g, ref as _, renderList as Ae, renderSlot as v, toDisplayString as y, unref as b, useAttrs as je, watch as x, withCtx as S, withDirectives as Me, withModifiers as Ne } from "vue";
|
|
29
|
+
import { createReusableTemplate as Pe } from "@vueuse/core";
|
|
30
30
|
//#region src/components/BbTimePickerInput/BbTimePickerInput.vue?vue&type=script&setup=true&lang.ts
|
|
31
|
-
var
|
|
31
|
+
var Fe = ["data-value"], Ie = [
|
|
32
32
|
"id",
|
|
33
33
|
"aria-describedby",
|
|
34
34
|
"aria-disabled",
|
|
@@ -51,13 +51,14 @@ var Pe = ["data-value"], Fe = [
|
|
|
51
51
|
"onInput",
|
|
52
52
|
"onKeydown",
|
|
53
53
|
"onPaste"
|
|
54
|
-
],
|
|
54
|
+
], Le = ["onClick"], Re = [
|
|
55
55
|
"aria-controls",
|
|
56
56
|
"aria-disabled",
|
|
57
57
|
"aria-expanded",
|
|
58
58
|
"aria-label",
|
|
59
59
|
"disabled"
|
|
60
|
-
],
|
|
60
|
+
], ze = ["id"], C = /*@__PURE__*/ we({
|
|
61
|
+
mixins: [s(c)],
|
|
61
62
|
inheritAttrs: !1,
|
|
62
63
|
__name: "BbTimePickerInput",
|
|
63
64
|
props: {
|
|
@@ -223,6 +224,45 @@ var Pe = ["data-value"], Fe = [
|
|
|
223
224
|
"pt:item:hasValue": {},
|
|
224
225
|
"pt:item:open": {},
|
|
225
226
|
"pt:item:selected": {},
|
|
227
|
+
"pt:root:outline": {},
|
|
228
|
+
"pt:root:secondary": {},
|
|
229
|
+
"pt:root:ghost": {},
|
|
230
|
+
"pt:label:outline": {},
|
|
231
|
+
"pt:label:secondary": {},
|
|
232
|
+
"pt:label:ghost": {},
|
|
233
|
+
"pt:description:outline": {},
|
|
234
|
+
"pt:description:secondary": {},
|
|
235
|
+
"pt:description:ghost": {},
|
|
236
|
+
"pt:message:outline": {},
|
|
237
|
+
"pt:message:secondary": {},
|
|
238
|
+
"pt:message:ghost": {},
|
|
239
|
+
"pt:hint:outline": {},
|
|
240
|
+
"pt:hint:secondary": {},
|
|
241
|
+
"pt:hint:ghost": {},
|
|
242
|
+
"pt:box:outline": {},
|
|
243
|
+
"pt:box:secondary": {},
|
|
244
|
+
"pt:box:ghost": {},
|
|
245
|
+
"pt:input:outline": {},
|
|
246
|
+
"pt:input:secondary": {},
|
|
247
|
+
"pt:input:ghost": {},
|
|
248
|
+
"pt:icon:outline": {},
|
|
249
|
+
"pt:icon:secondary": {},
|
|
250
|
+
"pt:icon:ghost": {},
|
|
251
|
+
"pt:spinner:outline": {},
|
|
252
|
+
"pt:spinner:secondary": {},
|
|
253
|
+
"pt:spinner:ghost": {},
|
|
254
|
+
"pt:prefix:outline": {},
|
|
255
|
+
"pt:prefix:secondary": {},
|
|
256
|
+
"pt:prefix:ghost": {},
|
|
257
|
+
"pt:suffix:outline": {},
|
|
258
|
+
"pt:suffix:secondary": {},
|
|
259
|
+
"pt:suffix:ghost": {},
|
|
260
|
+
"pt:clear:outline": {},
|
|
261
|
+
"pt:clear:secondary": {},
|
|
262
|
+
"pt:clear:ghost": {},
|
|
263
|
+
"pt:activator:outline": {},
|
|
264
|
+
"pt:activator:secondary": {},
|
|
265
|
+
"pt:activator:ghost": {},
|
|
226
266
|
pt: {},
|
|
227
267
|
adaptive: {
|
|
228
268
|
type: Boolean,
|
|
@@ -286,67 +326,71 @@ var Pe = ["data-value"], Fe = [
|
|
|
286
326
|
"inactive",
|
|
287
327
|
"update:modelValue"
|
|
288
328
|
],
|
|
289
|
-
setup(
|
|
290
|
-
let
|
|
329
|
+
setup(s, { emit: we }) {
|
|
330
|
+
let C = s, { props: w, emit: T, showAsterisk: Be, errors: Ve, required: He, ariaRequired: Ue, model: We, readonly: Ge, locked: Ke } = _e(C, we, {
|
|
291
331
|
componentName: "BbTimePickerInput",
|
|
292
|
-
identifierFallback: () =>
|
|
332
|
+
identifierFallback: () => C.label,
|
|
293
333
|
leaveOn: "inactive"
|
|
294
334
|
});
|
|
295
|
-
process.env.NODE_ENV !== "production" &&
|
|
296
|
-
let
|
|
297
|
-
|
|
335
|
+
process.env.NODE_ENV !== "production" && ne("BbTimePickerInput", te("BbTimePickerInput"));
|
|
336
|
+
let qe = ee(), { t: E } = se(), Je = e(), D = _(!1), O = _(!1), k = () => {
|
|
337
|
+
O.value = !1;
|
|
298
338
|
};
|
|
299
|
-
|
|
300
|
-
X.value = !1,
|
|
301
|
-
}),
|
|
302
|
-
let
|
|
339
|
+
ke(() => {
|
|
340
|
+
X.value = !1, D.value ? It() : k();
|
|
341
|
+
}), Oe(k);
|
|
342
|
+
let Ye = l(() => w.persistentHint || O.value), A = l(() => n(w.modelValue)), Xe = l(() => w.labelMode ?? qe.defaultInputLabelMode), j = o({
|
|
303
343
|
component: "BbTimePickerInput",
|
|
304
|
-
attrs:
|
|
344
|
+
attrs: je(),
|
|
305
345
|
controlAttrs: i,
|
|
306
|
-
props:
|
|
307
|
-
parts:
|
|
308
|
-
states:
|
|
346
|
+
props: w,
|
|
347
|
+
parts: c.parts,
|
|
348
|
+
states: c.states,
|
|
309
349
|
active: {
|
|
310
|
-
...a(
|
|
350
|
+
...a(w, () => A.value),
|
|
311
351
|
open: () => X.value
|
|
352
|
+
},
|
|
353
|
+
variant: {
|
|
354
|
+
...c.variant,
|
|
355
|
+
current: () => w.variant ?? "outline"
|
|
312
356
|
}
|
|
313
|
-
}),
|
|
357
|
+
}), M = fe(), Ze = (e, t) => M.isPm(t) ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e, Qe = (e) => {
|
|
314
358
|
let t = e >= 12 ? "PM" : "AM", n = e % 12;
|
|
315
359
|
return n === 0 && (n = 12), {
|
|
316
360
|
hour: String(n).padStart(2, "0"),
|
|
317
361
|
meridiem: t
|
|
318
362
|
};
|
|
319
|
-
},
|
|
320
|
-
|
|
321
|
-
},
|
|
322
|
-
id:
|
|
363
|
+
}, N = _(null), P = _(null), $e = (e) => {
|
|
364
|
+
P.value = e.el?.parentElement ?? null;
|
|
365
|
+
}, et = _(null), tt = (e) => `btpi-description_${e}`, nt = (e) => `btpi-panel_${e}`, rt = (e) => m({
|
|
366
|
+
id: nt(e),
|
|
323
367
|
class: ["bb-time-picker-input__panel", { "bb-time-picker-input__panel--sheet": Z.value }],
|
|
324
368
|
inert: zt.value
|
|
325
|
-
}, Z.value ? {} :
|
|
326
|
-
let n = [e,
|
|
369
|
+
}, Z.value ? {} : j.panel ?? {}), it = (e, t) => {
|
|
370
|
+
let n = [e, tt(t)].filter((e) => !!e?.trim()).flatMap((e) => e.split(/\s+/)).filter(Boolean);
|
|
327
371
|
return Array.from(new Set(n)).join(" ");
|
|
328
|
-
}, { isMobile:
|
|
372
|
+
}, { isMobile: F } = ae(), I = l(() => w.disableWriting === "mobile" ? !F.value : w.disableWriting === "desktop" ? F.value : !w.disableWriting), at = l(() => !!w.readonly || !I.value), ot = (e) => I.value ? z.value[e].kind === "enum" ? "none" : "numeric" : "none", st = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?$/, L = (e) => {
|
|
329
373
|
let t = st.exec(e);
|
|
330
374
|
if (!t) return null;
|
|
331
375
|
let [, n, r] = t, i = parseInt(n, 10), a = parseInt(r, 10);
|
|
332
376
|
return i > 23 || a > 59 ? null : i * 60 + a;
|
|
333
377
|
};
|
|
334
|
-
for (let [e, t] of [["min",
|
|
335
|
-
let R =
|
|
378
|
+
for (let [e, t] of [["min", w.min], ["max", w.max]]) t && L(t) === null && Je.throw(`BbTimePickerInput: ${e} must be in the format HH:mm`);
|
|
379
|
+
let R = l(() => {
|
|
336
380
|
let e = ["hour", "minute"];
|
|
337
|
-
|
|
381
|
+
w.seconds && e.push("second"), w.ampm && e.push("meridiem");
|
|
338
382
|
let t = e.map((e) => ({
|
|
339
383
|
segment: "start",
|
|
340
384
|
field: e
|
|
341
385
|
}));
|
|
342
|
-
if (!
|
|
386
|
+
if (!w.range) return t;
|
|
343
387
|
let n = e.map((e) => ({
|
|
344
388
|
segment: "end",
|
|
345
389
|
field: e
|
|
346
390
|
}));
|
|
347
391
|
return [...t, ...n];
|
|
348
|
-
}), z =
|
|
349
|
-
hour:
|
|
392
|
+
}), z = l(() => ({
|
|
393
|
+
hour: w.ampm ? {
|
|
350
394
|
kind: "numeric",
|
|
351
395
|
maxLength: 2,
|
|
352
396
|
max: 12,
|
|
@@ -378,8 +422,8 @@ var Pe = ["data-value"], Fe = [
|
|
|
378
422
|
autoAdvanceFrom: 6,
|
|
379
423
|
label: "Second"
|
|
380
424
|
},
|
|
381
|
-
meridiem:
|
|
382
|
-
})), ct = (e, t) => e.segment === t.segment ? t.field === "meridiem" ? " " : ":" : "–", { fields: B, fieldRefs: lt, descriptorKey: ut, emptyFieldGroup: dt, getSizedValue: ft, minChars: pt, updateAllSizedValues: V, isOwnField: mt, focusField: ht, focusFirstField: gt, segmentStatus: H, onFieldInput: _t, onFieldKeydown: vt, onFieldFocus: yt, onFieldBlur: bt, onFieldPaste: xt } =
|
|
425
|
+
meridiem: M.fieldSpec.value
|
|
426
|
+
})), ct = (e, t) => e.segment === t.segment ? t.field === "meridiem" ? " " : ":" : "–", { fields: B, fieldRefs: lt, descriptorKey: ut, emptyFieldGroup: dt, getSizedValue: ft, minChars: pt, updateAllSizedValues: V, isOwnField: mt, focusField: ht, focusFirstField: gt, segmentStatus: H, onFieldInput: _t, onFieldKeydown: vt, onFieldFocus: yt, onFieldBlur: bt, onFieldPaste: xt } = ye({
|
|
383
427
|
fieldOrder: R,
|
|
384
428
|
specs: z,
|
|
385
429
|
segments: ["start", "end"],
|
|
@@ -394,48 +438,48 @@ var Pe = ["data-value"], Fe = [
|
|
|
394
438
|
onDirty: () => J({ finalize: !1 })
|
|
395
439
|
}), St = (e, t) => {
|
|
396
440
|
if (e.field === "meridiem") {
|
|
397
|
-
let n = B.value[e.segment], r =
|
|
441
|
+
let n = B.value[e.segment], r = M.match(t.target.value, n.meridiem);
|
|
398
442
|
r && r !== n.meridiem && (n.meridiem = r, J({ finalize: !1 }));
|
|
399
443
|
}
|
|
400
444
|
_t(e, t);
|
|
401
445
|
};
|
|
402
|
-
|
|
446
|
+
M.onRelabel((e, t) => {
|
|
403
447
|
for (let n of Object.values(B.value)) n.meridiem === e && (n.meridiem = t);
|
|
404
448
|
V();
|
|
405
449
|
});
|
|
406
|
-
let Ct = (e, t) =>
|
|
407
|
-
if (
|
|
450
|
+
let Ct = (e, t) => w.range ? `${t}-${e.segment}-${e.field}` : `${t}-${e.field}`, wt = (e) => {
|
|
451
|
+
if (w.name) return w.range ? `${w.name}-${e.segment}-${e.field}` : `${w.name}-${e.field}`;
|
|
408
452
|
}, Tt = {
|
|
409
453
|
hour: "datePickerInput.hourField",
|
|
410
454
|
minute: "datePickerInput.minuteField",
|
|
411
455
|
second: "datePickerInput.secondField",
|
|
412
456
|
meridiem: "datePickerInput.meridiemField"
|
|
413
457
|
}, Et = (e) => {
|
|
414
|
-
let t =
|
|
415
|
-
return
|
|
416
|
-
}, Dt =
|
|
417
|
-
let e =
|
|
418
|
-
return
|
|
419
|
-
}), Ot =
|
|
458
|
+
let t = E(Tt[e.field]).value;
|
|
459
|
+
return w.range ? E(e.segment === "start" ? "datePickerInput.startFieldLabel" : "datePickerInput.endFieldLabel", t).value : t;
|
|
460
|
+
}, Dt = l(() => {
|
|
461
|
+
let e = E(w.seconds ? "datePickerInput.timeFormatSeconds" : "datePickerInput.timeFormat").value;
|
|
462
|
+
return w.range ? `${e} – ${e}` : e;
|
|
463
|
+
}), Ot = l(() => w.placeholder || Dt.value), kt = l(() => R.value.every((e) => !B.value[e.segment][e.field])), At = (e) => {
|
|
420
464
|
if (!e.hour) return 0;
|
|
421
465
|
let t = parseInt(e.hour, 10);
|
|
422
|
-
return
|
|
466
|
+
return w.ampm ? Ze(t, e.meridiem || "AM") : t;
|
|
423
467
|
}, jt = (e, t) => {
|
|
424
|
-
if (!
|
|
468
|
+
if (!w.ampm) {
|
|
425
469
|
e.hour = String(t).padStart(2, "0");
|
|
426
470
|
return;
|
|
427
471
|
}
|
|
428
|
-
let n =
|
|
429
|
-
e.hour = n.hour, e.meridiem =
|
|
472
|
+
let n = Qe(t);
|
|
473
|
+
e.hour = n.hour, e.meridiem = M.label(n.meridiem);
|
|
430
474
|
}, U = (e) => {
|
|
431
475
|
let t = dt();
|
|
432
476
|
if (!e) return t;
|
|
433
477
|
let n = st.exec(e);
|
|
434
478
|
if (!n) return t;
|
|
435
479
|
let [, r, i, a] = n, o = parseInt(r, 10);
|
|
436
|
-
return o > 23 || parseInt(i, 10) > 59 ? t : (jt(t, o), t.minute = i.padStart(2, "0"), t.second =
|
|
480
|
+
return o > 23 || parseInt(i, 10) > 59 ? t : (jt(t, o), t.minute = i.padStart(2, "0"), t.second = w.seconds && a ? a.padStart(2, "0") : "", t);
|
|
437
481
|
}, W = (e) => {
|
|
438
|
-
if (
|
|
482
|
+
if (w.range) {
|
|
439
483
|
let [t, n] = Array.isArray(e) ? e : [];
|
|
440
484
|
B.value = {
|
|
441
485
|
start: U(t),
|
|
@@ -448,9 +492,9 @@ var Pe = ["data-value"], Fe = [
|
|
|
448
492
|
end: dt()
|
|
449
493
|
};
|
|
450
494
|
}, Mt = () => {
|
|
451
|
-
W(
|
|
495
|
+
W(w.modelValue);
|
|
452
496
|
};
|
|
453
|
-
W(
|
|
497
|
+
W(w.modelValue), V(), x(() => w.modelValue, (e) => {
|
|
454
498
|
if (e === null || Array.isArray(e) && e.length === 0) {
|
|
455
499
|
W(e), V();
|
|
456
500
|
return;
|
|
@@ -460,34 +504,34 @@ var Pe = ["data-value"], Fe = [
|
|
|
460
504
|
});
|
|
461
505
|
let G = (e) => {
|
|
462
506
|
let t = B.value[e], n = String(At(t)).padStart(2, "0"), r = (t.minute || "0").padStart(2, "0");
|
|
463
|
-
return
|
|
464
|
-
}, K = (e) =>
|
|
507
|
+
return w.seconds ? `${n}:${r}:${(t.second || "0").padStart(2, "0")}` : `${n}:${r}`;
|
|
508
|
+
}, K = (e) => T("error", e), q = (e) => {
|
|
465
509
|
let t = L(e);
|
|
466
|
-
return t === null ? e :
|
|
467
|
-
}, Nt = () => H("start") === "partial" ? !0 :
|
|
510
|
+
return t === null ? e : w.min && t < L(w.min) ? w.min + (w.seconds ? ":00" : "") : w.max && t > L(w.max) ? w.max + (w.seconds ? ":00" : "") : e;
|
|
511
|
+
}, Nt = () => H("start") === "partial" ? !0 : w.range ? H("end") === "partial" : !1, J = (e = {}) => {
|
|
468
512
|
let t = !!e.finalize, n = H("start");
|
|
469
|
-
if (!
|
|
513
|
+
if (!w.range) {
|
|
470
514
|
if (n === "empty") {
|
|
471
|
-
|
|
515
|
+
T("update:modelValue", null);
|
|
472
516
|
return;
|
|
473
517
|
}
|
|
474
518
|
if (n === "partial") return;
|
|
475
519
|
let e = G("start"), r = q(e);
|
|
476
520
|
if (r !== e) {
|
|
477
521
|
if (!t) return;
|
|
478
|
-
B.value.start = U(r), V(),
|
|
522
|
+
B.value.start = U(r), V(), T("update:modelValue", r), K({
|
|
479
523
|
code: "disabled_time",
|
|
480
524
|
original: e,
|
|
481
525
|
normalized: r
|
|
482
526
|
});
|
|
483
527
|
return;
|
|
484
528
|
}
|
|
485
|
-
|
|
529
|
+
T("update:modelValue", e);
|
|
486
530
|
return;
|
|
487
531
|
}
|
|
488
532
|
let r = H("end");
|
|
489
533
|
if (n === "empty" && r === "empty") {
|
|
490
|
-
|
|
534
|
+
T("update:modelValue", []);
|
|
491
535
|
return;
|
|
492
536
|
}
|
|
493
537
|
if (n === "partial" || r === "partial" || n === "empty") return;
|
|
@@ -501,7 +545,7 @@ var Pe = ["data-value"], Fe = [
|
|
|
501
545
|
}), i = a;
|
|
502
546
|
}
|
|
503
547
|
if (r === "empty") {
|
|
504
|
-
|
|
548
|
+
T("update:modelValue", [i]);
|
|
505
549
|
return;
|
|
506
550
|
}
|
|
507
551
|
let o = G("end"), s = q(o);
|
|
@@ -516,46 +560,46 @@ var Pe = ["data-value"], Fe = [
|
|
|
516
560
|
if (L(o) < L(i)) {
|
|
517
561
|
if (!t) return;
|
|
518
562
|
let e = { ...B.value.start };
|
|
519
|
-
B.value.start = { ...B.value.end }, B.value.end = e, V(),
|
|
563
|
+
B.value.start = { ...B.value.end }, B.value.end = e, V(), T("update:modelValue", [o, i]), K({
|
|
520
564
|
code: "end_before_start",
|
|
521
565
|
original: [i, o],
|
|
522
566
|
normalized: [o, i]
|
|
523
567
|
});
|
|
524
568
|
return;
|
|
525
569
|
}
|
|
526
|
-
V(),
|
|
570
|
+
V(), T("update:modelValue", [i, o]);
|
|
527
571
|
}, Pt = () => {
|
|
528
|
-
|
|
572
|
+
T("update:modelValue", w.range ? [] : null);
|
|
529
573
|
}, Ft = () => {
|
|
530
|
-
|
|
574
|
+
D.value || (O.value = !0, T("active"), D.value = !0, document.addEventListener("focusin", Y), document.addEventListener("click", Y));
|
|
531
575
|
}, Y = (e) => {
|
|
532
576
|
let t = e.target;
|
|
533
|
-
t instanceof HTMLElement &&
|
|
577
|
+
t instanceof HTMLElement && N.value?.$el && (N.value.$el.contains(t) || P.value?.contains(t) || It());
|
|
534
578
|
}, It = () => {
|
|
535
|
-
J({ finalize: !0 }), Nt() && (Mt(), V()),
|
|
536
|
-
}, [Lt, Rt] =
|
|
537
|
-
|
|
538
|
-
() =>
|
|
539
|
-
|
|
579
|
+
J({ finalize: !0 }), Nt() && (Mt(), V()), D.value = !1, k(), T("inactive"), document.removeEventListener("focusin", Y), document.removeEventListener("click", Y);
|
|
580
|
+
}, [Lt, Rt] = Pe(), X = _(!1), zt = oe(X, () => w.transitionDuration ?? re.medium), Bt = () => (w.adaptive ?? qe.adaptive) && F.value ? "canvas" : "popover", Vt = _(Bt()), Z = l(() => Vt.value === "canvas");
|
|
581
|
+
x([
|
|
582
|
+
() => w.adaptive,
|
|
583
|
+
F,
|
|
540
584
|
X
|
|
541
585
|
], () => {
|
|
542
586
|
X.value || (Vt.value = Bt());
|
|
543
|
-
}),
|
|
544
|
-
let Ht =
|
|
587
|
+
}), de(() => X.value && !Z.value, () => X.value = !1);
|
|
588
|
+
let Ht = l(() => ({
|
|
545
589
|
side: "bottom",
|
|
546
590
|
size: "auto",
|
|
547
591
|
draggable: !0,
|
|
548
|
-
transitionDuration:
|
|
592
|
+
transitionDuration: w.transitionDuration,
|
|
549
593
|
hideClose: !0,
|
|
550
|
-
...r(
|
|
594
|
+
...r(w.offCanvasProps)
|
|
551
595
|
})), Ut = () => {
|
|
552
|
-
|
|
596
|
+
et.value?.focus(), T("hidden");
|
|
553
597
|
}, Wt = (e) => {
|
|
554
598
|
let t = e.target;
|
|
555
599
|
t && t instanceof HTMLDialogElement && (X.value = !1);
|
|
556
600
|
}, Gt = () => {
|
|
557
|
-
|
|
558
|
-
}, Kt =
|
|
601
|
+
w.disabled || w.readonly || (Vt.value = Bt(), X.value = !0);
|
|
602
|
+
}, Kt = l(() => !I.value && !w.disabled && !w.readonly), qt = (e) => {
|
|
559
603
|
if (!Kt.value || X.value) return;
|
|
560
604
|
let t = e.target;
|
|
561
605
|
t?.closest(".bb-field-input__box") && (t.closest(".bb-segmented-field__activator, .bb-clearable-button, .bb-time-picker-input__panel, [role=\"dialog\"]") || Gt());
|
|
@@ -564,124 +608,124 @@ var Pe = ["data-value"], Fe = [
|
|
|
564
608
|
t.preventDefault(), X.value || Gt();
|
|
565
609
|
return;
|
|
566
610
|
}
|
|
567
|
-
if (
|
|
611
|
+
if (w.readonly && Jt(t)) {
|
|
568
612
|
t.preventDefault();
|
|
569
613
|
return;
|
|
570
614
|
}
|
|
571
615
|
vt(e, t);
|
|
572
616
|
};
|
|
573
|
-
|
|
617
|
+
x(X, (e) => {
|
|
574
618
|
e ? Z.value || document.addEventListener("click", Wt, { passive: !0 }) : document.removeEventListener("click", Wt);
|
|
575
619
|
});
|
|
576
|
-
let Xt =
|
|
577
|
-
Xt.value = e.segment, yt(e),
|
|
578
|
-
}, Q =
|
|
620
|
+
let Xt = _("start"), Zt = (e, t) => {
|
|
621
|
+
Xt.value = e.segment, yt(e), T("focus", t);
|
|
622
|
+
}, Q = l(() => w.range ? B.value[Xt.value].hour ? Xt.value : B.value.start.hour && !B.value.end.hour ? "end" : "start" : "start"), Qt = l(() => {
|
|
579
623
|
let e = B.value[Q.value];
|
|
580
624
|
return e.hour ? String(At(e)).padStart(2, "0") : "";
|
|
581
625
|
}), $t = ({ unit: e, value: t }) => {
|
|
582
626
|
let n = B.value[Q.value];
|
|
583
|
-
e === "hour" ? jt(n, parseInt(t, 10)) : e === "meridiem" ? n.meridiem =
|
|
584
|
-
}, $ = (e) =>
|
|
585
|
-
if (
|
|
586
|
-
let [e, t] = Array.isArray(
|
|
587
|
-
return !e || !t ?
|
|
627
|
+
e === "hour" ? jt(n, parseInt(t, 10)) : e === "meridiem" ? n.meridiem = M.label(t === "PM" ? "PM" : "AM") : n[e] = t, n.hour || (w.ampm ? n.hour = "12" : n.hour = "00"), w.ampm && !n.meridiem && (n.meridiem = M.am.value), n.minute ||= "00", w.seconds && !n.second && (n.second = "00"), V(), J({ finalize: !1 });
|
|
628
|
+
}, $ = (e) => me(e, qe.locale, !!w.ampm, !!w.seconds), en = l(() => {
|
|
629
|
+
if (w.range) {
|
|
630
|
+
let [e, t] = Array.isArray(w.modelValue) ? w.modelValue : [];
|
|
631
|
+
return !e || !t ? E("timePickerInput.emptyRange").value : E("timePickerInput.changeSelectionRange", $(e), $(t)).value;
|
|
588
632
|
}
|
|
589
|
-
return typeof
|
|
633
|
+
return typeof w.modelValue == "string" && w.modelValue ? E("timePickerInput.changeSelection", $(w.modelValue)).value : E("timePickerInput.emptySelection").value;
|
|
590
634
|
});
|
|
591
|
-
return
|
|
635
|
+
return Oe(() => {
|
|
592
636
|
document.removeEventListener("focusin", Y), document.removeEventListener("click", Y), document.removeEventListener("click", Wt);
|
|
593
|
-
}), (e, n) => (
|
|
637
|
+
}), (e, n) => (g(), u(ge, m({
|
|
594
638
|
id: e.id,
|
|
595
639
|
class: "bb-time-picker-input",
|
|
596
|
-
clearable: e.clearable &&
|
|
640
|
+
clearable: e.clearable && A.value,
|
|
597
641
|
compact: e.compact,
|
|
598
642
|
description: e.description,
|
|
599
643
|
disabled: e.disabled,
|
|
600
|
-
errors:
|
|
644
|
+
errors: b(Ve),
|
|
601
645
|
"has-errors": e.hasErrors,
|
|
602
|
-
"has-value":
|
|
646
|
+
"has-value": A.value,
|
|
603
647
|
"has-warnings": e.hasWarnings,
|
|
604
648
|
"hide-label": e.hideLabel,
|
|
605
649
|
hint: e.hint,
|
|
606
650
|
"input-align": e.inputAlign,
|
|
607
651
|
label: e.label,
|
|
608
652
|
"label-align": e.labelAlign,
|
|
609
|
-
"label-mode":
|
|
653
|
+
"label-mode": Xe.value,
|
|
610
654
|
"label-position": e.labelPosition,
|
|
611
655
|
layout: e.layout,
|
|
612
656
|
loading: e.loading,
|
|
613
657
|
name: e.name,
|
|
614
|
-
passthrough:
|
|
615
|
-
readonly:
|
|
658
|
+
passthrough: b(j),
|
|
659
|
+
readonly: b(Ge),
|
|
616
660
|
reverse: e.reverse,
|
|
617
|
-
"show-asterisk":
|
|
618
|
-
"show-hint":
|
|
661
|
+
"show-asterisk": b(Be),
|
|
662
|
+
"show-hint": Ye.value,
|
|
619
663
|
warnings: e.warnings
|
|
620
|
-
},
|
|
621
|
-
label: S((t) => [
|
|
622
|
-
input: S(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [p(
|
|
664
|
+
}, b(j).forwardAttrs), Ce({
|
|
665
|
+
label: S((t) => [v(e.$slots, "label", Ee(Te(t)))]),
|
|
666
|
+
input: S(({ id: r, hasErrors: i, hasWarnings: a, ariaDescribedby: o }) => [p(ve, {
|
|
623
667
|
ref_key: "wrapper",
|
|
624
|
-
ref:
|
|
625
|
-
active:
|
|
626
|
-
"append:icon":
|
|
627
|
-
class:
|
|
628
|
-
clearable: e.clearable && !
|
|
668
|
+
ref: N,
|
|
669
|
+
active: D.value,
|
|
670
|
+
"append:icon": b(w)["append:icon"],
|
|
671
|
+
class: h(["bb-time-picker-input__field", { "bb-time-picker-input__field--range": e.range }]),
|
|
672
|
+
clearable: e.clearable && !b(t)(b(We)),
|
|
629
673
|
compact: e.compact,
|
|
630
674
|
disabled: e.disabled,
|
|
631
675
|
"has-errors": i,
|
|
632
|
-
"has-value":
|
|
676
|
+
"has-value": A.value,
|
|
633
677
|
"has-warnings": a,
|
|
634
678
|
loading: e.loading,
|
|
635
|
-
passthrough:
|
|
636
|
-
"prepend:icon":
|
|
637
|
-
readonly:
|
|
679
|
+
passthrough: b(j),
|
|
680
|
+
"prepend:icon": b(w)["prepend:icon"],
|
|
681
|
+
readonly: b(Ge),
|
|
638
682
|
variant: e.variant,
|
|
639
683
|
onClick: qt,
|
|
640
684
|
"onClick:clear": Pt,
|
|
641
685
|
onFocusin: Ft
|
|
642
|
-
},
|
|
643
|
-
"prepend:outer": S(() => [
|
|
644
|
-
prepend: S(() => [
|
|
645
|
-
append: S(() => [f("button",
|
|
686
|
+
}, Ce({
|
|
687
|
+
"prepend:outer": S(() => [v(e.$slots, "prepend:outer")]),
|
|
688
|
+
prepend: S(() => [v(e.$slots, "prepend")]),
|
|
689
|
+
append: S(() => [f("button", m({
|
|
646
690
|
ref_key: "clockButton",
|
|
647
|
-
ref:
|
|
648
|
-
"aria-controls":
|
|
649
|
-
"aria-disabled":
|
|
691
|
+
ref: et,
|
|
692
|
+
"aria-controls": P.value ? nt(r) : void 0,
|
|
693
|
+
"aria-disabled": b(Ke) || void 0,
|
|
650
694
|
"aria-expanded": X.value,
|
|
651
695
|
"aria-haspopup": "dialog",
|
|
652
696
|
"aria-label": en.value,
|
|
653
697
|
class: ["bb-segmented-field__activator", { "bb-segmented-field__activator--active": X.value }],
|
|
654
698
|
disabled: e.disabled || e.readonly,
|
|
655
699
|
type: "button",
|
|
656
|
-
onClick:
|
|
657
|
-
},
|
|
700
|
+
onClick: Ne(Gt, ["stop"])
|
|
701
|
+
}, b(j).activator), [p(ce, {
|
|
658
702
|
class: "bb-segmented-field__trigger-icon",
|
|
659
|
-
icon:
|
|
660
|
-
}, null, 8, ["icon"])], 16,
|
|
703
|
+
icon: b(be)
|
|
704
|
+
}, null, 8, ["icon"])], 16, Re), v(e.$slots, "append", {}, () => [e.$slots.suffix ? (g(), d("span", m({
|
|
661
705
|
key: 0,
|
|
662
706
|
class: "bb-field-input__suffix"
|
|
663
|
-
},
|
|
664
|
-
"append:outer": S(() => [
|
|
707
|
+
}, b(j).suffix), [v(e.$slots, "suffix")], 16)) : Se("", !0)])]),
|
|
708
|
+
"append:outer": S(() => [v(e.$slots, "append:outer")]),
|
|
665
709
|
default: S(() => [
|
|
666
710
|
f("div", {
|
|
667
|
-
class:
|
|
711
|
+
class: h(["bb-segmented-field__fields", {
|
|
668
712
|
"bb-segmented-field__fields--empty": kt.value,
|
|
669
713
|
"bb-segmented-field__fields--range": e.range
|
|
670
714
|
}]),
|
|
671
|
-
style:
|
|
672
|
-
}, [kt.value ? (
|
|
715
|
+
style: De({ "--fields-min-ch": b(pt) })
|
|
716
|
+
}, [kt.value ? (g(), d("span", {
|
|
673
717
|
key: 0,
|
|
674
718
|
"aria-hidden": "true",
|
|
675
719
|
class: "bb-segmented-field__placeholder",
|
|
676
|
-
onClick: n[0] ||= (...e) =>
|
|
677
|
-
},
|
|
720
|
+
onClick: n[0] ||= (...e) => b(gt) && b(gt)(...e)
|
|
721
|
+
}, y(Ot.value), 1)) : Se("", !0), (g(!0), d(xe, null, Ae(R.value, (t, n) => (g(), d(xe, { key: b(ut)(t) }, [f("span", {
|
|
678
722
|
class: "bb-segmented-field__field-sizer",
|
|
679
|
-
"data-value":
|
|
680
|
-
}, [
|
|
723
|
+
"data-value": b(ft)(t)
|
|
724
|
+
}, [Me(f("input", m({
|
|
681
725
|
id: n === 0 ? r : Ct(t, r),
|
|
682
726
|
ref_for: !0,
|
|
683
|
-
ref: (e) =>
|
|
684
|
-
"aria-describedby":
|
|
727
|
+
ref: (e) => b(lt)[b(ut)(t)] = e,
|
|
728
|
+
"aria-describedby": it(o, r),
|
|
685
729
|
"aria-disabled": e.disabled || void 0,
|
|
686
730
|
"aria-invalid": i ? "true" : void 0,
|
|
687
731
|
"aria-label": Et(t),
|
|
@@ -694,44 +738,44 @@ var Pe = ["data-value"], Fe = [
|
|
|
694
738
|
maxlength: z.value[t.field].maxLength,
|
|
695
739
|
name: wt(t),
|
|
696
740
|
readonly: at.value,
|
|
697
|
-
required:
|
|
698
|
-
"aria-required":
|
|
741
|
+
required: b(He),
|
|
742
|
+
"aria-required": b(Ue),
|
|
699
743
|
tabindex: t.field === "hour" ? 0 : -1,
|
|
700
744
|
type: "text",
|
|
701
|
-
value:
|
|
702
|
-
onBlur: (e) =>
|
|
745
|
+
value: b(B)[t.segment][t.field],
|
|
746
|
+
onBlur: (e) => b(bt)(t),
|
|
703
747
|
onFocus: (e) => Zt(t, e),
|
|
704
748
|
onInput: (e) => St(t, e),
|
|
705
749
|
onKeydown: (e) => Yt(t, e),
|
|
706
|
-
onPaste: (e) =>
|
|
707
|
-
},
|
|
750
|
+
onPaste: (e) => b(xt)(t, e)
|
|
751
|
+
}, m(b(j).controlAttrs, b(j).input)), null, 16, Ie), [[b(he)]])], 8, Fe), n < R.value.length - 1 ? (g(), d("span", {
|
|
708
752
|
key: 0,
|
|
709
753
|
"aria-hidden": "true",
|
|
710
|
-
class:
|
|
754
|
+
class: h(["bb-segmented-field__separator", { "bb-segmented-field__separator--range": R.value[n].segment !== R.value[n + 1].segment }]),
|
|
711
755
|
role: "presentation",
|
|
712
|
-
onClick: (e) =>
|
|
713
|
-
},
|
|
756
|
+
onClick: (e) => b(ht)(R.value[n + 1], { select: !0 })
|
|
757
|
+
}, y(ct(R.value[n], R.value[n + 1])), 11, Le)) : Se("", !0)], 64))), 128))], 6),
|
|
714
758
|
f("span", {
|
|
715
|
-
id:
|
|
759
|
+
id: tt(r),
|
|
716
760
|
class: "bb-time-picker-input__accessible-description",
|
|
717
761
|
hidden: ""
|
|
718
|
-
},
|
|
719
|
-
p(
|
|
720
|
-
default: S(() => [p(
|
|
762
|
+
}, y(Dt.value), 9, ze),
|
|
763
|
+
p(b(Lt), null, {
|
|
764
|
+
default: S(() => [p(pe, {
|
|
721
765
|
ampm: e.ampm,
|
|
722
|
-
disabled: e.disabled ||
|
|
766
|
+
disabled: e.disabled || b(Ge),
|
|
723
767
|
hour: Qt.value,
|
|
724
768
|
max: e.max,
|
|
725
|
-
meridiem:
|
|
769
|
+
meridiem: b(B)[Q.value].meridiem,
|
|
726
770
|
min: e.min,
|
|
727
|
-
minute:
|
|
728
|
-
passthrough:
|
|
729
|
-
second:
|
|
771
|
+
minute: b(B)[Q.value].minute,
|
|
772
|
+
passthrough: b(j),
|
|
773
|
+
second: b(B)[Q.value].second,
|
|
730
774
|
seconds: e.seconds,
|
|
731
775
|
step: e.step,
|
|
732
776
|
onSelect: $t,
|
|
733
|
-
onVnodeBeforeUnmount: n[1] ||= (e) =>
|
|
734
|
-
onVnodeMounted:
|
|
777
|
+
onVnodeBeforeUnmount: n[1] ||= (e) => P.value = null,
|
|
778
|
+
onVnodeMounted: $e
|
|
735
779
|
}, null, 8, [
|
|
736
780
|
"ampm",
|
|
737
781
|
"disabled",
|
|
@@ -747,39 +791,39 @@ var Pe = ["data-value"], Fe = [
|
|
|
747
791
|
])]),
|
|
748
792
|
_: 1
|
|
749
793
|
}),
|
|
750
|
-
Z.value ? (
|
|
794
|
+
Z.value ? (g(), u(ue, m({
|
|
751
795
|
key: 0,
|
|
752
796
|
modelValue: X.value,
|
|
753
797
|
"onUpdate:modelValue": n[2] ||= (e) => X.value = e,
|
|
754
798
|
class: "bb-time-picker-input__sheet",
|
|
755
|
-
pt:
|
|
799
|
+
pt: b(j).forward({
|
|
756
800
|
panel: "root",
|
|
757
801
|
sheet: "root"
|
|
758
|
-
},
|
|
802
|
+
}, b(le).states, () => e.offCanvasProps?.pt)
|
|
759
803
|
}, Ht.value, {
|
|
760
804
|
onHidden: Ut,
|
|
761
|
-
onHide: n[3] ||= (e) =>
|
|
762
|
-
onShow: n[4] ||= (e) =>
|
|
763
|
-
onShown: n[5] ||= (e) =>
|
|
805
|
+
onHide: n[3] ||= (e) => b(T)("hide"),
|
|
806
|
+
onShow: n[4] ||= (e) => b(T)("show"),
|
|
807
|
+
onShown: n[5] ||= (e) => b(T)("shown")
|
|
764
808
|
}), {
|
|
765
|
-
default: S(() => [f("div",
|
|
809
|
+
default: S(() => [f("div", Ee(Te(rt(r))), [p(b(Rt))], 16)]),
|
|
766
810
|
_: 2
|
|
767
|
-
}, 1040, ["modelValue", "pt"])) : (
|
|
811
|
+
}, 1040, ["modelValue", "pt"])) : (g(), u(ie, {
|
|
768
812
|
key: 1,
|
|
769
813
|
modelValue: X.value,
|
|
770
814
|
"onUpdate:modelValue": n[6] ||= (e) => X.value = e,
|
|
771
|
-
anchor:
|
|
772
|
-
"bubble-attrs":
|
|
815
|
+
anchor: N.value,
|
|
816
|
+
"bubble-attrs": rt(r),
|
|
773
817
|
class: "bb-time-picker-input__popover",
|
|
774
818
|
dialog: "",
|
|
775
819
|
offset: 4,
|
|
776
820
|
"transition-duration": e.transitionDuration,
|
|
777
|
-
onHidden: n[7] ||= (e) =>
|
|
778
|
-
onHide: n[8] ||= (e) =>
|
|
779
|
-
onShow: n[9] ||= (e) =>
|
|
780
|
-
onShown: n[10] ||= (e) =>
|
|
821
|
+
onHidden: n[7] ||= (e) => b(T)("hidden"),
|
|
822
|
+
onHide: n[8] ||= (e) => b(T)("hide"),
|
|
823
|
+
onShow: n[9] ||= (e) => b(T)("show"),
|
|
824
|
+
onShown: n[10] ||= (e) => b(T)("shown")
|
|
781
825
|
}, {
|
|
782
|
-
default: S(() => [p(
|
|
826
|
+
default: S(() => [p(b(Rt))]),
|
|
783
827
|
_: 2
|
|
784
828
|
}, 1032, [
|
|
785
829
|
"modelValue",
|
|
@@ -791,7 +835,7 @@ var Pe = ["data-value"], Fe = [
|
|
|
791
835
|
_: 2
|
|
792
836
|
}, [e.$slots.prefix ? {
|
|
793
837
|
name: "prefix",
|
|
794
|
-
fn: S(() => [
|
|
838
|
+
fn: S(() => [v(e.$slots, "prefix")]),
|
|
795
839
|
key: "0"
|
|
796
840
|
} : void 0]), 1032, [
|
|
797
841
|
"active",
|
|
@@ -812,7 +856,7 @@ var Pe = ["data-value"], Fe = [
|
|
|
812
856
|
_: 2
|
|
813
857
|
}, [e.$slots.description ? {
|
|
814
858
|
name: "description",
|
|
815
|
-
fn: S((t) => [
|
|
859
|
+
fn: S((t) => [v(e.$slots, "description", Ee(Te(t)))]),
|
|
816
860
|
key: "0"
|
|
817
861
|
} : void 0]), 1040, [
|
|
818
862
|
"id",
|
|
@@ -844,4 +888,4 @@ var Pe = ["data-value"], Fe = [
|
|
|
844
888
|
}
|
|
845
889
|
});
|
|
846
890
|
//#endregion
|
|
847
|
-
export {
|
|
891
|
+
export { C as default };
|