@quidgest/ui 0.27.1 → 0.28.0
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/CHANGELOG.md +50 -0
- package/dist/json/api.json +1287 -297
- package/dist/manifest/components.json +1 -1
- package/dist/ui.css +594 -147
- package/dist/ui.esm.js +1561 -1526
- package/dist/ui.js +1127 -1092
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1127 -1092
- package/dist/ui.scss +401 -126
- package/esm/components/QAccordion/QAccordion.d.ts +5 -1
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +28 -23
- package/esm/components/QAccordion/constants.d.ts +9 -0
- package/esm/components/QAccordion/constants.d.ts.map +1 -0
- package/esm/components/QAccordion/constants.js +5 -0
- package/esm/components/QAccordion/index.d.ts +18 -3
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +17 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAlert/QAlert.d.ts +68 -0
- package/esm/components/QAlert/QAlert.d.ts.map +1 -0
- package/esm/components/QAlert/QAlert.vue.js +113 -0
- package/esm/components/QAlert/QAlert2.vue.js +5 -0
- package/esm/components/QAlert/constants.d.ts +25 -0
- package/esm/components/QAlert/constants.d.ts.map +1 -0
- package/esm/components/QAlert/constants.js +11 -0
- package/esm/components/QAlert/index.d.ts +56 -0
- package/esm/components/QAlert/index.d.ts.map +1 -0
- package/esm/components/QAlert/index.js +6 -0
- package/esm/components/QAlert/types.d.ts +85 -0
- package/esm/components/QAlert/types.d.ts.map +1 -0
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +1 -1
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.vue.js +10 -10
- package/esm/components/QBadge/constants.d.ts +1 -1
- package/esm/components/QBadge/constants.js +1 -1
- package/esm/components/QBadge/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +14 -10
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts +17 -4
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumb.vue.js +12 -7
- package/esm/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumbs.vue.js +26 -32
- package/esm/components/QBreadcrumbs/constants.d.ts +11 -2
- package/esm/components/QBreadcrumbs/constants.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/constants.js +5 -3
- package/esm/components/QBreadcrumbs/context.d.ts +5 -5
- package/esm/components/QBreadcrumbs/context.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/index.d.ts +17 -4
- package/esm/components/QBreadcrumbs/index.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/types.d.ts +2 -0
- package/esm/components/QBreadcrumbs/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +12 -4
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +118 -66
- package/esm/components/QButton/constants.d.ts +11 -0
- package/esm/components/QButton/constants.d.ts.map +1 -0
- package/esm/components/QButton/constants.js +5 -0
- package/esm/components/QButton/index.d.ts +15 -4
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +52 -0
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +51 -48
- package/esm/components/QCarousel/QCarousel.d.ts +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +8 -8
- package/esm/components/QCarousel/constants.d.ts +2 -2
- package/esm/components/QCarousel/constants.js +2 -2
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +18 -4
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +115 -94
- package/esm/components/QCheckbox/constants.d.ts +3 -0
- package/esm/components/QCheckbox/constants.d.ts.map +1 -1
- package/esm/components/QCheckbox/constants.js +4 -2
- package/esm/components/QCheckbox/index.d.ts +57 -46
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/index.js +2 -3
- package/esm/components/QCheckbox/types.d.ts +10 -7
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +23 -23
- package/esm/components/QCollapsible/index.d.ts +3 -3
- package/esm/components/QColorPicker/QColorPicker.d.ts +19 -2
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +41 -30
- package/esm/components/QColorPicker/constants.d.ts +10 -0
- package/esm/components/QColorPicker/constants.d.ts.map +1 -1
- package/esm/components/QColorPicker/constants.js +6 -2
- package/esm/components/QColorPicker/index.d.ts +63 -6
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +11 -3
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +668 -256
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +157 -145
- package/esm/components/QCombobox/constants.d.ts +10 -0
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.js +13 -5
- package/esm/components/QCombobox/index.d.ts +889 -635
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +4 -2
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +568 -49
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +97 -72
- package/esm/components/QDateTimePicker/constants.d.ts +4 -0
- package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/constants.js +12 -6
- package/esm/components/QDateTimePicker/index.d.ts +492 -32
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +4 -2
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +1 -1
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +28 -24
- package/esm/components/QDialog/constants.d.ts +8 -0
- package/esm/components/QDialog/constants.d.ts.map +1 -1
- package/esm/components/QDialog/constants.js +9 -4
- package/esm/components/QDialog/index.d.ts +3 -3
- package/esm/components/QDialog/types.d.ts +4 -2
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +0 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +21 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +135 -132
- package/esm/components/QDropdownMenu/constants.d.ts +6 -0
- package/esm/components/QDropdownMenu/constants.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/constants.js +6 -2
- package/esm/components/QDropdownMenu/index.d.ts +3 -6
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +9 -7
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +228 -3
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +99 -36
- package/esm/components/QField/constants.d.ts +11 -0
- package/esm/components/QField/constants.d.ts.map +1 -0
- package/esm/components/QField/constants.js +5 -0
- package/esm/components/QField/index.d.ts +129 -5
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +37 -1
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +35 -3
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +72 -53
- package/esm/components/QFileUpload/constants.d.ts +4 -0
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.js +6 -3
- package/esm/components/QFileUpload/index.d.ts +108 -9
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.vue.js +38 -51
- package/esm/components/QIcon/QIconFont.d.ts +1 -3
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +2 -2
- package/esm/components/QIcon/QIconSvg.d.ts +1 -3
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +1 -1
- package/esm/components/QIcon/QSvgSymbol.d.ts +3 -2
- package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.vue.js +23 -14
- package/esm/components/QIcon/index.d.ts +2 -6
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/index.js +6 -6
- package/esm/components/QIcon/types.d.ts +7 -3
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +263 -12
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +20 -5
- package/esm/components/QInputGroup/index.d.ts +138 -9
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +1 -0
- package/esm/components/QList/QList.d.ts +12 -10
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +128 -125
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +1 -1
- package/esm/components/QList/groupListItems.d.ts +25 -0
- package/esm/components/QList/groupListItems.d.ts.map +1 -0
- package/esm/components/QList/groupListItems.js +18 -0
- package/esm/components/QList/index.d.ts +8 -5
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +7 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.d.ts +28 -3
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +119 -89
- package/esm/components/QObfuscation/constants.d.ts +4 -0
- package/esm/components/QObfuscation/constants.d.ts.map +1 -1
- package/esm/components/QObfuscation/constants.js +6 -3
- package/esm/components/QObfuscation/index.d.ts +83 -9
- package/esm/components/QObfuscation/index.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +8 -8
- package/esm/components/QOverflow/constants.d.ts +6 -3
- package/esm/components/QOverflow/constants.d.ts.map +1 -1
- package/esm/components/QOverflow/constants.js +2 -2
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/index.d.ts +6 -6
- package/esm/components/QPasswordField/QPasswordField.d.ts +411 -25
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +46 -35
- package/esm/components/QPasswordField/constants.d.ts +8 -0
- package/esm/components/QPasswordField/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/constants.js +8 -3
- package/esm/components/QPasswordField/index.d.ts +268 -15
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +4 -2
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +1588 -118
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.vue.js +194 -168
- package/esm/components/QPhoneField/constants.d.ts +24 -0
- package/esm/components/QPhoneField/constants.d.ts.map +1 -1
- package/esm/components/QPhoneField/constants.js +14 -3
- package/esm/components/QPhoneField/index.d.ts +900 -64
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPhoneField/types.d.ts +10 -2
- package/esm/components/QPhoneField/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/index.d.ts +3 -3
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +61 -59
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +5 -6
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +0 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +1 -1
- package/esm/components/QPropertyList/index.d.ts +2 -4
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +0 -12
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +49 -45
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +52 -37
- package/esm/components/QRadioGroup/index.d.ts +3 -3
- package/esm/components/QRadioGroup/types.d.ts +5 -4
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QSection/QSection.d.ts +11 -3
- package/esm/components/QSection/QSection.d.ts.map +1 -1
- package/esm/components/QSection/QSection.vue.js +76 -21
- package/esm/components/QSection/constants.d.ts +11 -0
- package/esm/components/QSection/constants.d.ts.map +1 -0
- package/esm/components/QSection/constants.js +5 -0
- package/esm/components/QSection/index.d.ts +12 -1
- package/esm/components/QSection/index.d.ts.map +1 -1
- package/esm/components/QSection/types.d.ts +39 -0
- package/esm/components/QSection/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +320 -36
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +210 -177
- package/esm/components/QSelect/constants.d.ts +14 -1
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/constants.js +14 -8
- package/esm/components/QSelect/index.d.ts +248 -28
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +4 -2
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +68 -67
- package/esm/components/QSidebar/QSidebarItem.d.ts +32 -2
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/index.d.ts +16 -1
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/index.js +3 -3
- package/esm/components/QSteps/QStepHeader.d.ts.map +1 -1
- package/esm/components/QSteps/QStepHeader.vue.js +1 -0
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +154 -126
- package/esm/components/QSteps/QStepsNav.vue.js +6 -6
- package/esm/components/QSteps/constants.d.ts +16 -1
- package/esm/components/QSteps/constants.d.ts.map +1 -1
- package/esm/components/QSteps/constants.js +6 -3
- package/esm/components/QSteps/types.d.ts +11 -3
- package/esm/components/QSteps/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.d.ts +195 -0
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +96 -56
- package/esm/components/QSwitch/index.d.ts +197 -2
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +2 -1
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +35 -12
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +77 -67
- package/esm/components/QTabs/QTabs.d.ts +3 -0
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +64 -52
- package/esm/components/QTabs/constants.d.ts +24 -2
- package/esm/components/QTabs/constants.d.ts.map +1 -1
- package/esm/components/QTabs/constants.js +9 -0
- package/esm/components/QTabs/index.d.ts +32 -13
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QTabs/types.d.ts +26 -2
- package/esm/components/QTabs/types.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +61 -47
- package/esm/components/QTextArea/index.d.ts +3 -3
- package/esm/components/QTextField/QTextField.d.ts +277 -11
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +70 -55
- package/esm/components/QTextField/constants.d.ts +9 -0
- package/esm/components/QTextField/constants.d.ts.map +1 -1
- package/esm/components/QTextField/constants.js +10 -3
- package/esm/components/QTextField/index.d.ts +192 -11
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/index.js +4 -4
- package/esm/components/QTextField/types.d.ts +10 -2
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QToast/QToast.d.ts +4 -2
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +153 -103
- package/esm/components/QToast/QToaster.d.ts +1 -1
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +59 -29
- package/esm/components/QToast/constants.d.ts +18 -0
- package/esm/components/QToast/constants.d.ts.map +1 -1
- package/esm/components/QToast/constants.js +9 -2
- package/esm/components/QToast/context.d.ts +24 -0
- package/esm/components/QToast/context.d.ts.map +1 -0
- package/esm/components/QToast/context.js +4 -0
- package/esm/components/QToast/index.d.ts +12 -7
- package/esm/components/QToast/index.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +23 -3
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.d.ts +2 -2
- package/esm/components/QToggle/QToggle.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +13 -0
- package/esm/components/QToggle/index.d.ts +16 -1
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +2 -2
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +20 -7
- package/esm/components/QToggleGroup/index.d.ts +1 -1
- package/esm/components/QToggleGroup/types.d.ts +8 -1
- package/esm/components/QToggleGroup/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/index.d.ts +3 -3
- package/esm/components/__internal__/QChevron/QChevron.vue.js +5 -5
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +4 -4
- package/esm/components/__internal__/QClearButton/index.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -1
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts +99 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.vue.js +60 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover2.vue.js +5 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts +9 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/constants.js +4 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts +98 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/index.js +6 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts +50 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.js +27 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts +32 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +2 -2
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +132 -131
- package/esm/composables/useColor/index.d.ts +31 -21
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +58 -49
- package/esm/composables/useColor/types.d.ts +19 -6
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useToast/_internal.js +13 -8
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/types/component.d.ts +23 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/types/index.d.ts +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/focus.d.ts +35 -0
- package/esm/utils/focus.d.ts.map +1 -0
- package/esm/utils/focus.js +27 -0
- package/esm/utils/overlay.js +2 -2
- package/esm/utils/severity.d.ts +40 -0
- package/esm/utils/severity.d.ts.map +1 -0
- package/esm/utils/severity.js +25 -0
- package/esm/utils/theme.js +12 -12
- package/package.json +1 -1
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +0 -18
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +0 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +0 -32
- package/esm/components/QCheckbox/QCheckboxLabel2.vue.js +0 -5
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
1
2
|
import { Primitive } from '../../types/primitive';
|
|
2
3
|
import { QAccordionProps } from '.';
|
|
3
4
|
type __VLS_Props = QAccordionProps;
|
|
@@ -17,7 +18,10 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
17
18
|
"update:modelValue": (value: Primitive | Primitive[]) => any;
|
|
18
19
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
20
|
"onUpdate:modelValue"?: ((value: Primitive | Primitive[]) => any) | undefined;
|
|
20
|
-
}>, {
|
|
21
|
+
}>, {
|
|
22
|
+
icons: typeof DEFAULT_ICONS;
|
|
23
|
+
texts: typeof DEFAULT_TEXTS;
|
|
24
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
21
25
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
22
26
|
export default _default;
|
|
23
27
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordion.vue"],"names":[],"mappings":"AAOA;
|
|
1
|
+
{"version":3,"file":"QAccordion.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/QAccordion.vue"],"names":[],"mappings":"AAOA;AAyDC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAQ1D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAA;AACtD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,GAAG,CAAA;AAKxC,KAAK,WAAW,GAAG,eAAe,CAAC;AAsCpC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,SAAS,GAAG,SAAS,EAAE,CAAC;CACpC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAyBT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,17 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { DEFAULT_ICONS as e, DEFAULT_TEXTS as t } from "./constants.js";
|
|
2
|
+
import { provideDefaults as n } from "../../composables/defaults.js";
|
|
3
|
+
import { useGroup as r } from "../../composables/useGroup/index.js";
|
|
4
|
+
import { useId as i } from "../../composables/useId/index.js";
|
|
5
|
+
import { createElementBlock as a, defineComponent as o, mergeModels as s, normalizeClass as c, openBlock as l, renderSlot as u, toRef as d, unref as f, useModel as p, watch as m } from "vue";
|
|
5
6
|
//#region src/components/QAccordion/QAccordion.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
7
|
+
var h = ["id"], g = /*@__PURE__*/ o({
|
|
7
8
|
__name: "QAccordion",
|
|
8
|
-
props: /*@__PURE__*/
|
|
9
|
+
props: /*@__PURE__*/ s({
|
|
9
10
|
id: {},
|
|
10
11
|
class: {},
|
|
11
12
|
variant: {},
|
|
12
13
|
spacing: {},
|
|
13
14
|
iconRight: { type: Boolean },
|
|
14
|
-
multiple: { type: Boolean }
|
|
15
|
+
multiple: { type: Boolean },
|
|
16
|
+
icons: { default: () => e },
|
|
17
|
+
texts: { default: () => t }
|
|
15
18
|
}, {
|
|
16
19
|
modelValue: { type: [
|
|
17
20
|
String,
|
|
@@ -23,25 +26,27 @@ var p = ["id"], m = /*@__PURE__*/ i({
|
|
|
23
26
|
modelModifiers: {}
|
|
24
27
|
}),
|
|
25
28
|
emits: ["update:modelValue"],
|
|
26
|
-
setup(
|
|
27
|
-
let
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
setup(e) {
|
|
30
|
+
let t = e, o = i(d(t, "id"));
|
|
31
|
+
n({ QCollapsible: {
|
|
32
|
+
icons: d(t, "icons"),
|
|
33
|
+
iconRight: d(t, "iconRight"),
|
|
34
|
+
spacing: d(t, "spacing"),
|
|
35
|
+
texts: d(t, "texts"),
|
|
36
|
+
variant: d(t, "variant"),
|
|
32
37
|
width: "block"
|
|
33
38
|
} });
|
|
34
|
-
let
|
|
35
|
-
active:
|
|
36
|
-
multiple:
|
|
39
|
+
let s = p(e, "modelValue"), { active: g } = r({
|
|
40
|
+
active: s,
|
|
41
|
+
multiple: d(t, "multiple")
|
|
37
42
|
});
|
|
38
|
-
return
|
|
39
|
-
|
|
40
|
-
}), (e,
|
|
41
|
-
id:
|
|
42
|
-
class:
|
|
43
|
-
}, [
|
|
43
|
+
return m(g, (e) => {
|
|
44
|
+
s.value = e;
|
|
45
|
+
}), (e, n) => (l(), a("div", {
|
|
46
|
+
id: f(o),
|
|
47
|
+
class: c(["q-accordion", t.class])
|
|
48
|
+
}, [u(e.$slots, "default")], 10, h));
|
|
44
49
|
}
|
|
45
50
|
});
|
|
46
51
|
//#endregion
|
|
47
|
-
export {
|
|
52
|
+
export { g as default };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/constants.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;;;;CAEY,CAAA;AAGtC,eAAO,MAAM,aAAa;;CAEQ,CAAA"}
|
|
@@ -6,11 +6,16 @@ declare const QAccordion: {
|
|
|
6
6
|
spacing?: import('..').QCollapsibleSpacing;
|
|
7
7
|
iconRight?: boolean;
|
|
8
8
|
multiple?: boolean;
|
|
9
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
10
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
9
11
|
}> & Readonly<{
|
|
10
12
|
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
11
13
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
12
14
|
"update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
|
|
13
|
-
}, import('vue').PublicProps, {
|
|
15
|
+
}, import('vue').PublicProps, {
|
|
16
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
17
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
18
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
14
19
|
P: {};
|
|
15
20
|
B: {};
|
|
16
21
|
D: {};
|
|
@@ -24,9 +29,14 @@ declare const QAccordion: {
|
|
|
24
29
|
spacing?: import('..').QCollapsibleSpacing;
|
|
25
30
|
iconRight?: boolean;
|
|
26
31
|
multiple?: boolean;
|
|
32
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
33
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
27
34
|
}> & Readonly<{
|
|
28
35
|
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
29
|
-
}>, {}, {}, {}, {}, {
|
|
36
|
+
}>, {}, {}, {}, {}, {
|
|
37
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
38
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
39
|
+
}>;
|
|
30
40
|
__isFragment?: never;
|
|
31
41
|
__isTeleport?: never;
|
|
32
42
|
__isSuspense?: never;
|
|
@@ -37,11 +47,16 @@ declare const QAccordion: {
|
|
|
37
47
|
spacing?: import('..').QCollapsibleSpacing;
|
|
38
48
|
iconRight?: boolean;
|
|
39
49
|
multiple?: boolean;
|
|
50
|
+
icons?: typeof import('./constants').DEFAULT_ICONS;
|
|
51
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
40
52
|
}> & Readonly<{
|
|
41
53
|
"onUpdate:modelValue"?: ((value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any) | undefined;
|
|
42
54
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
55
|
"update:modelValue": (value: import('../../types/primitive').Primitive | import('../../types/primitive').Primitive[]) => any;
|
|
44
|
-
}, string, {
|
|
56
|
+
}, string, {
|
|
57
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
58
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
59
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
45
60
|
$slots: {
|
|
46
61
|
default?(_: {}): any;
|
|
47
62
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/index.ts"],"names":[],"mappings":"AAOA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+B,CAAA;AAC/C,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;EAAmC,CAAA;AAGvD,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA;AAGrC,cAAc,SAAS,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
1
2
|
import { QCollapsibleProps, QCollapsibleSpacing, QCollapsibleVariant } from '../QCollapsible';
|
|
2
3
|
import { QBaseComponentProps } from '../../types/component';
|
|
3
4
|
/**
|
|
@@ -30,6 +31,22 @@ export type QAccordionProps = QBaseComponentProps & {
|
|
|
30
31
|
* @category Behavior
|
|
31
32
|
*/
|
|
32
33
|
multiple?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Icons for the sections. They reach every section through the defaults cascade,
|
|
36
|
+
* unless a section sets its own `icons`.
|
|
37
|
+
* Pass every key, or omit the prop to keep the defaults.
|
|
38
|
+
*
|
|
39
|
+
* @category Configuration
|
|
40
|
+
*/
|
|
41
|
+
icons?: typeof DEFAULT_ICONS;
|
|
42
|
+
/**
|
|
43
|
+
* Accessible strings for the sections. They reach every section through the defaults cascade,
|
|
44
|
+
* unless a section sets its own `texts`.
|
|
45
|
+
* Pass every key, or omit the prop to keep the defaults.
|
|
46
|
+
*
|
|
47
|
+
* @category Configuration
|
|
48
|
+
*/
|
|
49
|
+
texts?: typeof DEFAULT_TEXTS;
|
|
33
50
|
};
|
|
34
51
|
/**
|
|
35
52
|
* Props for the QAccordionItem component.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IACnD;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAccordion/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAA;AAClG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IACnD;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAE7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,GAAG,iBAAiB,GAAG;IACrD;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;CACd,CAAA"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
+
import { QAlertProps } from '.';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
/**
|
|
7
|
+
* Replaces the severity icon, or adds an icon to an alert in another color.
|
|
8
|
+
* The icon is decorative and hidden from screen readers, so anything it conveys
|
|
9
|
+
* must also be in the message.
|
|
10
|
+
*/
|
|
11
|
+
icon?: () => unknown;
|
|
12
|
+
/** The message, for content that `text` cannot hold, such as links or a list of errors. */
|
|
13
|
+
default?: () => unknown;
|
|
14
|
+
/**
|
|
15
|
+
* Buttons or links that act on the alert.
|
|
16
|
+
* On a `bold` alert, a `QButton` here defaults to the `bold` variant in the alert's
|
|
17
|
+
* on-color, which stands out from the fill. A button that sets its own `color`
|
|
18
|
+
* must contrast with the fill: the theme's primary nearly disappears on a bold
|
|
19
|
+
* `danger` alert. For a quieter second action, use `variant="bold"` with the
|
|
20
|
+
* alert's own `color`, so the button blends into the fill and only its text shows.
|
|
21
|
+
*/
|
|
22
|
+
actions?: () => unknown;
|
|
23
|
+
}> & {
|
|
24
|
+
/**
|
|
25
|
+
* Replaces the severity icon, or adds an icon to an alert in another color.
|
|
26
|
+
* The icon is decorative and hidden from screen readers, so anything it conveys
|
|
27
|
+
* must also be in the message.
|
|
28
|
+
*/
|
|
29
|
+
icon?: () => unknown;
|
|
30
|
+
/** The message, for content that `text` cannot hold, such as links or a list of errors. */
|
|
31
|
+
default?: () => unknown;
|
|
32
|
+
/**
|
|
33
|
+
* Buttons or links that act on the alert.
|
|
34
|
+
* On a `bold` alert, a `QButton` here defaults to the `bold` variant in the alert's
|
|
35
|
+
* on-color, which stands out from the fill. A button that sets its own `color`
|
|
36
|
+
* must contrast with the fill: the theme's primary nearly disappears on a bold
|
|
37
|
+
* `danger` alert. For a quieter second action, use `variant="bold"` with the
|
|
38
|
+
* alert's own `color`, so the button blends into the fill and only its text shows.
|
|
39
|
+
*/
|
|
40
|
+
actions?: () => unknown;
|
|
41
|
+
};
|
|
42
|
+
refs: {
|
|
43
|
+
root: HTMLDivElement;
|
|
44
|
+
};
|
|
45
|
+
rootEl: HTMLDivElement;
|
|
46
|
+
};
|
|
47
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
48
|
+
declare const __VLS_component: import('vue').DefineComponent<QAlertProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
49
|
+
dismiss: () => any;
|
|
50
|
+
}, string, import('vue').PublicProps, Readonly<QAlertProps> & Readonly<{
|
|
51
|
+
onDismiss?: (() => any) | undefined;
|
|
52
|
+
}>, {
|
|
53
|
+
color: string;
|
|
54
|
+
variant: import('./types').QAlertVariant;
|
|
55
|
+
icons: typeof DEFAULT_ICONS;
|
|
56
|
+
texts: typeof DEFAULT_TEXTS;
|
|
57
|
+
headingLevel: number;
|
|
58
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
59
|
+
root: HTMLDivElement;
|
|
60
|
+
}, HTMLDivElement>;
|
|
61
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
62
|
+
export default _default;
|
|
63
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
64
|
+
new (): {
|
|
65
|
+
$slots: S;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
//# sourceMappingURL=QAlert.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QAlert.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QAlert/QAlert.vue"],"names":[],"mappings":"AA+DA;AAkNC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA4IrC,iBAAS,cAAc;WAyIT,OAAO,IAA6B;;QA/PhD;;;;WAIG;eACI,MAAM,OAAO;QACpB,2FAA2F;kBACjF,MAAM,OAAO;QACvB;;;;;;;WAOG;kBACO,MAAM,OAAO;;QAhBvB;;;;WAIG;eACI,MAAM,OAAO;QACpB,2FAA2F;kBACjF,MAAM,OAAO;QACvB;;;;;;;WAOG;kBACO,MAAM,OAAO;;;;;;EAoPxB;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;kBAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
import { useId as e } from "../../composables/useId/index.js";
|
|
2
|
+
import { useColor as t } from "../../composables/useColor/index.js";
|
|
3
|
+
import { QIcon as n } from "../QIcon/index.js";
|
|
4
|
+
import { getFocusTargetOnRemoval as r } from "../../utils/focus.js";
|
|
5
|
+
import { QButton as i } from "../QButton/index.js";
|
|
6
|
+
import { getDefaultLive as a, isSeverity as o } from "../../utils/severity.js";
|
|
7
|
+
import { DEFAULT_ICONS as s, DEFAULT_TEXTS as c } from "./constants.js";
|
|
8
|
+
import { QDefaultsProvider as l } from "../QDefaultsProvider/index.js";
|
|
9
|
+
import { computed as u, createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeProps as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, openBlock as w, renderSlot as T, resolveDynamicComponent as E, toDisplayString as D, toRef as O, unref as k, useTemplateRef as A, withCtx as j } from "vue";
|
|
10
|
+
//#region src/components/QAlert/QAlert.vue?vue&type=script&setup=true&lang.ts
|
|
11
|
+
var M = ["id", "role"], N = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "q-alert__icon",
|
|
14
|
+
"aria-hidden": "true"
|
|
15
|
+
}, P = { class: "q-alert__content" }, F = {
|
|
16
|
+
key: 0,
|
|
17
|
+
class: "q-sr-only"
|
|
18
|
+
}, I = {
|
|
19
|
+
key: 1,
|
|
20
|
+
class: "q-sr-only"
|
|
21
|
+
}, L = {
|
|
22
|
+
key: 2,
|
|
23
|
+
class: "q-alert__text"
|
|
24
|
+
}, R = {
|
|
25
|
+
key: 3,
|
|
26
|
+
class: "q-alert__actions"
|
|
27
|
+
}, z = /*@__PURE__*/ _({
|
|
28
|
+
__name: "QAlert",
|
|
29
|
+
props: {
|
|
30
|
+
id: {},
|
|
31
|
+
class: {},
|
|
32
|
+
title: {},
|
|
33
|
+
headingLevel: { default: 2 },
|
|
34
|
+
text: {},
|
|
35
|
+
color: { default: "info" },
|
|
36
|
+
variant: { default: "tonal" },
|
|
37
|
+
dismissible: { type: Boolean },
|
|
38
|
+
live: {},
|
|
39
|
+
icons: { default: () => s },
|
|
40
|
+
texts: { default: () => c }
|
|
41
|
+
},
|
|
42
|
+
emits: ["dismiss"],
|
|
43
|
+
setup(s, { emit: c }) {
|
|
44
|
+
let _ = s, z = c, B = e(O(_, "id")), V = A("root"), { isUtilityColor: H, style: U } = t(O(_, "color")), W = u(() => o(_.color) ? _.color : void 0), G = u(() => _.headingLevel >= 1 && _.headingLevel <= 6 ? `h${_.headingLevel}` : "div"), K = u(() => W.value ? _.icons[W.value] : void 0), q = u(() => {
|
|
45
|
+
let e = _.live ?? a(_.color);
|
|
46
|
+
if (e !== "off") return e === "assertive" ? "alert" : "status";
|
|
47
|
+
}), J = u(() => [
|
|
48
|
+
"q-alert",
|
|
49
|
+
`q-alert--${_.variant}`,
|
|
50
|
+
{
|
|
51
|
+
"q-alert--banner": !_.title,
|
|
52
|
+
"q-alert--dismissible": _.dismissible
|
|
53
|
+
},
|
|
54
|
+
_.class
|
|
55
|
+
]), Y = u(() => {
|
|
56
|
+
if (U.value) return {
|
|
57
|
+
"--q-alert-main-color": U.value.mainColor,
|
|
58
|
+
"--q-alert-main-color-rgb": U.value.mainColorRgb,
|
|
59
|
+
"--q-alert-on-main-color": U.value.onMainColor,
|
|
60
|
+
"--q-alert-text-color": U.value.textColor
|
|
61
|
+
};
|
|
62
|
+
}), X = { QButton: {
|
|
63
|
+
variant: u(() => _.variant === "bold" ? "bold" : void 0),
|
|
64
|
+
color: u(() => {
|
|
65
|
+
if (_.variant === "bold") return H.value ? `on${_.color.charAt(0).toUpperCase()}${_.color.slice(1)}` : U.value?.onMainColor;
|
|
66
|
+
})
|
|
67
|
+
} };
|
|
68
|
+
return C(() => {
|
|
69
|
+
let e = V.value;
|
|
70
|
+
e?.contains(document.activeElement) && r(e)?.focus();
|
|
71
|
+
}), (e, t) => (w(), p("div", {
|
|
72
|
+
id: k(B),
|
|
73
|
+
ref: "root",
|
|
74
|
+
class: b(J.value),
|
|
75
|
+
style: S(Y.value),
|
|
76
|
+
role: q.value
|
|
77
|
+
}, [
|
|
78
|
+
e.$slots.icon || K.value ? (w(), p("span", N, [T(e.$slots, "icon", {}, () => [K.value ? (w(), d(k(n), x(y({ key: 0 }, K.value)), null, 16)) : f("v-if", !0)])])) : f("v-if", !0),
|
|
79
|
+
m("div", P, [
|
|
80
|
+
f(" With a title, the severity text goes inside the heading, so it is also read when navigating by headings "),
|
|
81
|
+
_.title ? (w(), d(E(G.value), {
|
|
82
|
+
key: 0,
|
|
83
|
+
class: "q-alert__title"
|
|
84
|
+
}, {
|
|
85
|
+
default: j(() => [W.value ? (w(), p("span", F, D(_.texts[W.value]), 1)) : f("v-if", !0), h(" " + D(_.title), 1)]),
|
|
86
|
+
_: 1
|
|
87
|
+
})) : W.value ? (w(), p("span", I, D(_.texts[W.value]), 1)) : f("v-if", !0),
|
|
88
|
+
_.text || e.$slots.default ? (w(), p("div", L, [T(e.$slots, "default", {}, () => [h(D(_.text), 1)])])) : f("v-if", !0),
|
|
89
|
+
e.$slots.actions ? (w(), p("div", R, [g(k(l), { defaults: X }, {
|
|
90
|
+
default: j(() => [T(e.$slots, "actions")]),
|
|
91
|
+
_: 3
|
|
92
|
+
})])) : f("v-if", !0)
|
|
93
|
+
]),
|
|
94
|
+
_.dismissible ? (w(), d(k(i), {
|
|
95
|
+
key: 1,
|
|
96
|
+
class: "q-alert__dismiss",
|
|
97
|
+
variant: _.variant === "bold" ? "bold" : "ghost",
|
|
98
|
+
color: _.color,
|
|
99
|
+
"aria-label": _.texts.dismiss,
|
|
100
|
+
onClick: t[0] ||= (e) => z("dismiss")
|
|
101
|
+
}, {
|
|
102
|
+
default: j(() => [g(k(n), x(v(_.icons.dismiss)), null, 16)]),
|
|
103
|
+
_: 1
|
|
104
|
+
}, 8, [
|
|
105
|
+
"variant",
|
|
106
|
+
"color",
|
|
107
|
+
"aria-label"
|
|
108
|
+
])) : f("v-if", !0)
|
|
109
|
+
], 14, M));
|
|
110
|
+
}
|
|
111
|
+
});
|
|
112
|
+
//#endregion
|
|
113
|
+
export { z as default };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const DEFAULT_ICONS: {
|
|
2
|
+
dismiss: {
|
|
3
|
+
icon: string;
|
|
4
|
+
};
|
|
5
|
+
info: {
|
|
6
|
+
icon: string;
|
|
7
|
+
};
|
|
8
|
+
success: {
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
warning: {
|
|
12
|
+
icon: string;
|
|
13
|
+
};
|
|
14
|
+
danger: {
|
|
15
|
+
icon: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare const DEFAULT_TEXTS: {
|
|
19
|
+
dismiss: string;
|
|
20
|
+
info: string;
|
|
21
|
+
success: string;
|
|
22
|
+
warning: string;
|
|
23
|
+
danger: string;
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QAlert/constants.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;CAKY,CAAA;AAGtC,eAAO,MAAM,aAAa;;;;;;CAGQ,CAAA"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SEVERITY_ICONS as e, SEVERITY_TEXTS as t } from "../../utils/severity.js";
|
|
2
|
+
//#region src/components/QAlert/constants.ts
|
|
3
|
+
var n = {
|
|
4
|
+
...e,
|
|
5
|
+
dismiss: { icon: "close" }
|
|
6
|
+
}, r = {
|
|
7
|
+
...t,
|
|
8
|
+
dismiss: "Dismiss"
|
|
9
|
+
};
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as DEFAULT_ICONS, r as DEFAULT_TEXTS };
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare const QAlert: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QAlertProps> & Readonly<{
|
|
3
|
+
onDismiss?: (() => any) | undefined;
|
|
4
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
5
|
+
dismiss: () => any;
|
|
6
|
+
}, import('vue').PublicProps, {
|
|
7
|
+
color: string;
|
|
8
|
+
variant: import('./types').QAlertVariant;
|
|
9
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
10
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
11
|
+
headingLevel: number;
|
|
12
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
13
|
+
root: HTMLDivElement;
|
|
14
|
+
}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
15
|
+
P: {};
|
|
16
|
+
B: {};
|
|
17
|
+
D: {};
|
|
18
|
+
C: {};
|
|
19
|
+
M: {};
|
|
20
|
+
Defaults: {};
|
|
21
|
+
}, Readonly<import('./types').QAlertProps> & Readonly<{
|
|
22
|
+
onDismiss?: (() => any) | undefined;
|
|
23
|
+
}>, {}, {}, {}, {}, {
|
|
24
|
+
color: string;
|
|
25
|
+
variant: import('./types').QAlertVariant;
|
|
26
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
27
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
28
|
+
headingLevel: number;
|
|
29
|
+
}>;
|
|
30
|
+
__isFragment?: never;
|
|
31
|
+
__isTeleport?: never;
|
|
32
|
+
__isSuspense?: never;
|
|
33
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QAlertProps> & Readonly<{
|
|
34
|
+
onDismiss?: (() => any) | undefined;
|
|
35
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
36
|
+
dismiss: () => any;
|
|
37
|
+
}, string, {
|
|
38
|
+
color: string;
|
|
39
|
+
variant: import('./types').QAlertVariant;
|
|
40
|
+
icons: typeof import('./constants').DEFAULT_ICONS;
|
|
41
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
42
|
+
headingLevel: number;
|
|
43
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
44
|
+
$slots: Readonly<{
|
|
45
|
+
icon?: () => unknown;
|
|
46
|
+
default?: () => unknown;
|
|
47
|
+
actions?: () => unknown;
|
|
48
|
+
}> & {
|
|
49
|
+
icon?: () => unknown;
|
|
50
|
+
default?: () => unknown;
|
|
51
|
+
actions?: () => unknown;
|
|
52
|
+
};
|
|
53
|
+
});
|
|
54
|
+
export { QAlert };
|
|
55
|
+
export * from './types';
|
|
56
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QAlert/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA2B,CAAA;AAGvC,OAAO,EAAE,MAAM,EAAE,CAAA;AAGjB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { QBaseComponentProps, QLive } from '../../types/component';
|
|
2
|
+
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
3
|
+
export type QAlertVariant = 'bold' | 'tonal' | 'outlined';
|
|
4
|
+
/**
|
|
5
|
+
* Props for the QAlert component.
|
|
6
|
+
*/
|
|
7
|
+
export type QAlertProps = QBaseComponentProps & {
|
|
8
|
+
/**
|
|
9
|
+
* The title of the alert, shown above the message.
|
|
10
|
+
* Without a title, the alert is a single-row banner.
|
|
11
|
+
*
|
|
12
|
+
* @category Content
|
|
13
|
+
*/
|
|
14
|
+
title?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The heading level of the title, so screen reader users can find the alert by its
|
|
17
|
+
* heading. Choose the level that fits the page's heading outline. A value outside
|
|
18
|
+
* 1–6 renders the title as a plain `div`.
|
|
19
|
+
*
|
|
20
|
+
* @category Content
|
|
21
|
+
*/
|
|
22
|
+
headingLevel?: number;
|
|
23
|
+
/**
|
|
24
|
+
* The message of the alert.
|
|
25
|
+
* Use the default slot instead for rich content, such as links or a list of errors.
|
|
26
|
+
*
|
|
27
|
+
* @category Content
|
|
28
|
+
*/
|
|
29
|
+
text?: string;
|
|
30
|
+
/**
|
|
31
|
+
* The color of the alert.
|
|
32
|
+
* Can be chosen from utility colors like 'success' or 'danger',
|
|
33
|
+
* or specified using CSS color codes.
|
|
34
|
+
* `info`, `success`, `warning` and `danger` also set the severity: the icon from `icons`,
|
|
35
|
+
* the text screen readers announce before the message, and the default `live` value.
|
|
36
|
+
* Other colors show no icon unless one is passed in the `icon` slot.
|
|
37
|
+
*
|
|
38
|
+
* @category Presentation
|
|
39
|
+
*/
|
|
40
|
+
color?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Specifies the visual style of the alert.
|
|
43
|
+
*
|
|
44
|
+
* @category Presentation
|
|
45
|
+
*/
|
|
46
|
+
variant?: QAlertVariant;
|
|
47
|
+
/**
|
|
48
|
+
* Whether the alert shows a dismiss button.
|
|
49
|
+
* Pressing it emits `dismiss`. The alert stays on the page until you remove it.
|
|
50
|
+
* When the alert is removed while it has focus, focus moves to the next focusable
|
|
51
|
+
* element on the page, or the previous one when nothing follows. To send focus
|
|
52
|
+
* elsewhere, move it in the `dismiss` handler.
|
|
53
|
+
*
|
|
54
|
+
* @category Behavior
|
|
55
|
+
*/
|
|
56
|
+
dismissible?: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* How screen readers announce the alert.
|
|
59
|
+
* `assertive` (`role="alert"`) interrupts the user, `polite` (`role="status"`) waits
|
|
60
|
+
* until they are idle, and `off` sets no live region.
|
|
61
|
+
* Defaults to `assertive` for `warning` and `danger` and to `polite` for any other color.
|
|
62
|
+
* Screen readers only announce content that appears after the page loads, and many
|
|
63
|
+
* skip a `polite` alert that appears together with its message. Use `assertive` when
|
|
64
|
+
* the message must be heard, and `off` for notices that are part of the page from the start.
|
|
65
|
+
*
|
|
66
|
+
* @category Accessibility
|
|
67
|
+
*/
|
|
68
|
+
live?: QLive;
|
|
69
|
+
/**
|
|
70
|
+
* Custom icon configurations: the severity icons and the dismiss icon.
|
|
71
|
+
* Pass every key, or omit the prop to keep the defaults.
|
|
72
|
+
*
|
|
73
|
+
* @category Configuration
|
|
74
|
+
*/
|
|
75
|
+
icons?: typeof DEFAULT_ICONS;
|
|
76
|
+
/**
|
|
77
|
+
* Custom text configurations: the severity texts read before the message,
|
|
78
|
+
* and the label of the dismiss button.
|
|
79
|
+
* Pass every key, or omit the prop to keep the defaults.
|
|
80
|
+
*
|
|
81
|
+
* @category Configuration
|
|
82
|
+
*/
|
|
83
|
+
texts?: typeof DEFAULT_TEXTS;
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QAlert/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAA;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,OAAO,GAAG,UAAU,CAAA;AAEzD;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;;;;OAQG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;;;;;;;OAUG;IACH,IAAI,CAAC,EAAE,KAAK,CAAA;IAEZ;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;IAE5B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -9,7 +9,7 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<QAvatarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QAvatarProps> & Readonly<{}>, {
|
|
12
|
-
size: "small" | "medium" | "large" | string;
|
|
12
|
+
size: "small" | "medium" | "large" | (string & {});
|
|
13
13
|
shape: "circle" | "square";
|
|
14
14
|
alt: string;
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const QAvatar: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QAvatarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
-
size: "small" | "medium" | "large" | string;
|
|
3
|
+
size: "small" | "medium" | "large" | (string & {});
|
|
4
4
|
shape: "circle" | "square";
|
|
5
5
|
alt: string;
|
|
6
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
|
|
@@ -11,7 +11,7 @@ declare const QAvatar: {
|
|
|
11
11
|
M: {};
|
|
12
12
|
Defaults: {};
|
|
13
13
|
}, Readonly<import('./types').QAvatarProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
-
size: "small" | "medium" | "large" | string;
|
|
14
|
+
size: "small" | "medium" | "large" | (string & {});
|
|
15
15
|
shape: "circle" | "square";
|
|
16
16
|
alt: string;
|
|
17
17
|
}>;
|
|
@@ -19,7 +19,7 @@ declare const QAvatar: {
|
|
|
19
19
|
__isTeleport?: never;
|
|
20
20
|
__isSuspense?: never;
|
|
21
21
|
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QAvatarProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
22
|
-
size: "small" | "medium" | "large" | string;
|
|
22
|
+
size: "small" | "medium" | "large" | (string & {});
|
|
23
23
|
shape: "circle" | "square";
|
|
24
24
|
alt: string;
|
|
25
25
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|