@quidgest/ui 0.27.1 → 0.29.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 +101 -8
- package/README.md +19 -0
- package/dist/json/api.json +2787 -366
- package/dist/manifest/components.json +1 -2
- package/dist/ui.css +641 -203
- package/dist/ui.esm.js +1631 -1608
- package/dist/ui.js +1314 -1292
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1314 -1292
- package/dist/ui.scss +483 -152
- package/esm/components/QAccordion/QAccordion.d.ts +8 -4
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +38 -30
- package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
- 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 +38 -14
- 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/QAvatar.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +19 -12
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +3 -2
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +41 -42
- 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/QButtonGroup/QButtonGroup.vue.js +18 -18
- 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.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +105 -101
- package/esm/components/QCarousel/constants.d.ts +3 -2
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.js +4 -3
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +18 -6
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +112 -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 -47
- 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 +42 -32
- 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 +677 -256
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +134 -114
- 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 +900 -636
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +12 -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 +284 -279
- 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 +2 -2
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +29 -25
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- 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 +9 -9
- package/esm/components/QDialog/types.d.ts +7 -5
- 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 +29 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +127 -112
- 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 +107 -85
- 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 +37 -28
- 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 +76 -35
- package/esm/components/QInputGroup/index.d.ts +138 -9
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/types.d.ts +15 -1
- package/esm/components/QInputGroup/types.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 +18 -10
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +131 -125
- package/esm/components/QList/QListItem.d.ts +6 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +54 -41
- 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 +14 -6
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +23 -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.d.ts +6 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +94 -99
- 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/QOverflow/index.d.ts +3 -3
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -117
- package/esm/components/QOverlay/index.d.ts +6 -6
- package/esm/components/QOverlay/types.d.ts +9 -2
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +412 -25
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +51 -35
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
- 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 +274 -15
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +14 -2
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +1768 -132
- 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 +987 -68
- 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 +63 -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/QPropertyListRow.vue.js +2 -2
- 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 +56 -41
- 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/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
- 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 +477 -36
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +273 -212
- 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 +332 -28
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +12 -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 -68
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +32 -2
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
- package/esm/components/QSidebar/context.d.ts +3 -3
- package/esm/components/QSidebar/context.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 +4 -4
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +152 -130
- 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/index.d.ts +2 -2
- package/esm/components/QSteps/types.d.ts +13 -4
- 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 +7 -4
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +94 -81
- 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/context.d.ts +3 -3
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +34 -15
- 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 +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +62 -47
- package/esm/components/QTextArea/index.d.ts +6 -6
- 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 +157 -104
- 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 +26 -6
- 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/QToggleGroup.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
- 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 +9 -9
- 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/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +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/defaults.d.ts +10 -0
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/defaults.js +8 -5
- 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/_internal.js +8 -11
- package/esm/composables/useDialog/index.js +1 -2
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.d.ts +1 -11
- package/esm/composables/useDropZone/index.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.js +23 -26
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +15 -15
- package/esm/composables/useOverlayScope/index.d.ts +29 -0
- package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
- package/esm/composables/useOverlayScope/index.js +23 -0
- package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
- package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
- package/esm/composables/useTextareaAutosize/index.js +6 -6
- package/esm/composables/useToast/_internal.js +23 -23
- package/esm/composables/useToast/index.js +1 -2
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.js +14 -12
- package/esm/index.d.ts +2 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/overlayScope.d.ts +4 -0
- package/esm/symbols/overlayScope.d.ts.map +1 -0
- package/esm/symbols/overlayScope.js +4 -0
- package/esm/types/component.d.ts +31 -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/color/parse.d.ts.map +1 -1
- package/esm/utils/color/parse.js +3 -10
- package/esm/utils/date.d.ts +35 -13
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +313 -253
- 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/mask.d.ts +1 -0
- package/esm/utils/mask.d.ts.map +1 -1
- package/esm/utils/mask.js +42 -100
- package/esm/utils/overlay.d.ts +13 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +57 -43
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/esm/utils/safeTriangle.js +2 -2
- package/esm/utils/setupPropsProxy.d.ts +3 -1
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.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 +9 -6
- 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
package/esm/components/index.js
CHANGED
|
@@ -1,136 +1,137 @@
|
|
|
1
1
|
import { __exportAll as ee } from "../_virtual/_rolldown/runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
2
|
+
import { QIcon as e, QIconFont as t, QIconImg as n, QIconSvg as r } from "./QIcon/index.js";
|
|
3
|
+
import { QDismissibleLayer as i } from "./QDismissibleLayer/index.js";
|
|
4
|
+
import { QFocusWrap as a } from "./QFocusWrap/index.js";
|
|
5
|
+
import { QOverlay as o } from "./QOverlay/index.js";
|
|
6
|
+
import { QPopover as s } from "./QPopover/index.js";
|
|
7
|
+
import { QSpinnerLoader as c } from "./QSpinnerLoader/index.js";
|
|
8
|
+
import { QTooltip as l } from "./QTooltip/index.js";
|
|
9
|
+
import { QButton as u } from "./QButton/index.js";
|
|
10
|
+
import { QCard as d } from "./QCard/index.js";
|
|
11
|
+
import { QCollapsible as f } from "./QCollapsible/index.js";
|
|
12
|
+
import { QAccordion as p, QAccordionItem as m } from "./QAccordion/index.js";
|
|
13
|
+
import { QDefaultsProvider as h } from "./QDefaultsProvider/index.js";
|
|
14
|
+
import { QAlert as g } from "./QAlert/index.js";
|
|
15
|
+
import { QAvatar as _ } from "./QAvatar/index.js";
|
|
16
|
+
import { QButtonGroup as v } from "./QButtonGroup/index.js";
|
|
17
|
+
import { QBadge as y } from "./QBadge/index.js";
|
|
18
|
+
import { QBadgeIndicator as b } from "./QBadgeIndicator/index.js";
|
|
19
|
+
import { QList as x, QListItem as S, QListItemGroup as C } from "./QList/index.js";
|
|
20
|
+
import { QDropdownMenu as w } from "./QDropdownMenu/index.js";
|
|
21
|
+
import { QBreadcrumb as T, QBreadcrumbs as E } from "./QBreadcrumbs/index.js";
|
|
22
|
+
import { QSkeletonLoader as D } from "./QSkeletonLoader/index.js";
|
|
23
|
+
import { QCarousel as O } from "./QCarousel/index.js";
|
|
24
|
+
import { QLabel as k } from "./QLabel/index.js";
|
|
25
|
+
import { QField as A } from "./QField/index.js";
|
|
26
|
+
import { QCheckbox as j } from "./QCheckbox/index.js";
|
|
27
|
+
import { DEFAULT_TEXTS as M } from "./QTextField/constants.js";
|
|
28
|
+
import { QTextField as N } from "./QTextField/index.js";
|
|
29
|
+
import { QColorPicker as P } from "./QColorPicker/index.js";
|
|
30
|
+
import { QCombobox as F } from "./QCombobox/index.js";
|
|
31
|
+
import { QSwitch as I } from "./QSwitch/index.js";
|
|
32
|
+
import { QDateTimePicker as L } from "./QDateTimePicker/index.js";
|
|
33
|
+
import { QDialog as R, QDialogProvider as z } from "./QDialog/index.js";
|
|
34
|
+
import { QDivider as te } from "./QDivider/index.js";
|
|
35
|
+
import { QFileUpload as B } from "./QFileUpload/index.js";
|
|
36
|
+
import { QGauge as V } from "./QGauge/index.js";
|
|
37
|
+
import { QCol as H, QContainer as U, QRow as W, QSpacer as G } from "./QGrid/index.js";
|
|
38
|
+
import { QInputGroup as K } from "./QInputGroup/index.js";
|
|
39
|
+
import { QLineLoader as q } from "./QLineLoader/index.js";
|
|
40
|
+
import { QMeter as J } from "./QMeter/index.js";
|
|
41
|
+
import { QObfuscation as Y } from "./QObfuscation/index.js";
|
|
42
|
+
import { QOverflow as X } from "./QOverflow/index.js";
|
|
43
|
+
import { QPasswordField as Z } from "./QPasswordField/index.js";
|
|
44
|
+
import { QSelect as Q } from "./QSelect/index.js";
|
|
45
|
+
import { QPhoneField as $ } from "./QPhoneField/index.js";
|
|
46
|
+
import { QProgress as ne } from "./QProgress/index.js";
|
|
47
|
+
import { QPropertyList as re, QPropertyListGroup as ie, QPropertyListPanel as ae, QPropertyListRow as oe } from "./QPropertyList/index.js";
|
|
48
|
+
import { QRadioButton as se, QRadioGroup as ce } from "./QRadioGroup/index.js";
|
|
49
|
+
import { QSection as le } from "./QSection/index.js";
|
|
50
|
+
import { QToggle as ue } from "./QToggle/index.js";
|
|
51
|
+
import { QSidebar as de, QSidebarItem as fe } from "./QSidebar/index.js";
|
|
52
|
+
import { QSteps as pe } from "./QSteps/index.js";
|
|
53
|
+
import { QTab as me, QTabs as he } from "./QTabs/index.js";
|
|
54
|
+
import { QTextArea as ge } from "./QTextArea/index.js";
|
|
55
|
+
import { QThemeProvider as _e } from "./QThemeProvider/index.js";
|
|
56
|
+
import { QToast as ve, QToaster as ye } from "./QToast/index.js";
|
|
57
|
+
import { QToggleGroup as be, QToggleGroupItem as xe } from "./QToggleGroup/index.js";
|
|
57
58
|
//#region src/components/index.ts
|
|
58
59
|
var Se = /* @__PURE__ */ ee({
|
|
59
|
-
DEFAULT_TEXTS: () =>
|
|
60
|
-
QAccordion: () =>
|
|
61
|
-
QAccordionItem: () =>
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
QCol: () =>
|
|
74
|
-
QCollapsible: () =>
|
|
75
|
-
QColorPicker: () =>
|
|
76
|
-
QCombobox: () =>
|
|
77
|
-
QContainer: () =>
|
|
78
|
-
QDateTimePicker: () =>
|
|
79
|
-
QDefaultsProvider: () =>
|
|
80
|
-
QDialog: () =>
|
|
81
|
-
QDialogProvider: () =>
|
|
82
|
-
QDismissibleLayer: () =>
|
|
83
|
-
QDivider: () =>
|
|
84
|
-
QDropdownMenu: () =>
|
|
85
|
-
QField: () =>
|
|
86
|
-
QFileUpload: () =>
|
|
87
|
-
QFocusWrap: () =>
|
|
88
|
-
QGauge: () =>
|
|
89
|
-
QIcon: () =>
|
|
90
|
-
QIconFont: () =>
|
|
91
|
-
QIconImg: () =>
|
|
92
|
-
QIconSvg: () =>
|
|
93
|
-
QInputGroup: () =>
|
|
94
|
-
QLabel: () =>
|
|
95
|
-
QLineLoader: () =>
|
|
96
|
-
QList: () =>
|
|
97
|
-
QListItem: () =>
|
|
98
|
-
QListItemGroup: () =>
|
|
99
|
-
QMeter: () =>
|
|
100
|
-
QObfuscation: () =>
|
|
101
|
-
QOverflow: () =>
|
|
102
|
-
QOverlay: () =>
|
|
103
|
-
QPasswordField: () =>
|
|
104
|
-
QPhoneField: () =>
|
|
105
|
-
QPopover: () =>
|
|
106
|
-
QProgress: () =>
|
|
107
|
-
QPropertyList: () =>
|
|
108
|
-
QPropertyListGroup: () =>
|
|
109
|
-
QPropertyListPanel: () =>
|
|
110
|
-
QPropertyListRow: () =>
|
|
111
|
-
QRadioButton: () =>
|
|
112
|
-
QRadioGroup: () =>
|
|
113
|
-
QRow: () =>
|
|
114
|
-
QSection: () =>
|
|
115
|
-
QSelect: () =>
|
|
116
|
-
QSidebar: () =>
|
|
117
|
-
QSidebarItem: () =>
|
|
118
|
-
QSkeletonLoader: () =>
|
|
119
|
-
QSpacer: () =>
|
|
120
|
-
QSpinnerLoader: () =>
|
|
121
|
-
QSteps: () =>
|
|
122
|
-
QSwitch: () =>
|
|
123
|
-
QTab: () =>
|
|
124
|
-
QTabs: () =>
|
|
125
|
-
QTextArea: () =>
|
|
126
|
-
QTextField: () =>
|
|
127
|
-
QThemeProvider: () =>
|
|
128
|
-
QToast: () =>
|
|
129
|
-
QToaster: () =>
|
|
130
|
-
QToggle: () =>
|
|
131
|
-
QToggleGroup: () =>
|
|
132
|
-
QToggleGroupItem: () =>
|
|
133
|
-
QTooltip: () =>
|
|
60
|
+
DEFAULT_TEXTS: () => M,
|
|
61
|
+
QAccordion: () => p,
|
|
62
|
+
QAccordionItem: () => m,
|
|
63
|
+
QAlert: () => g,
|
|
64
|
+
QAvatar: () => _,
|
|
65
|
+
QBadge: () => y,
|
|
66
|
+
QBadgeIndicator: () => b,
|
|
67
|
+
QBreadcrumb: () => T,
|
|
68
|
+
QBreadcrumbs: () => E,
|
|
69
|
+
QButton: () => u,
|
|
70
|
+
QButtonGroup: () => v,
|
|
71
|
+
QCard: () => d,
|
|
72
|
+
QCarousel: () => O,
|
|
73
|
+
QCheckbox: () => j,
|
|
74
|
+
QCol: () => H,
|
|
75
|
+
QCollapsible: () => f,
|
|
76
|
+
QColorPicker: () => P,
|
|
77
|
+
QCombobox: () => F,
|
|
78
|
+
QContainer: () => U,
|
|
79
|
+
QDateTimePicker: () => L,
|
|
80
|
+
QDefaultsProvider: () => h,
|
|
81
|
+
QDialog: () => R,
|
|
82
|
+
QDialogProvider: () => z,
|
|
83
|
+
QDismissibleLayer: () => i,
|
|
84
|
+
QDivider: () => te,
|
|
85
|
+
QDropdownMenu: () => w,
|
|
86
|
+
QField: () => A,
|
|
87
|
+
QFileUpload: () => B,
|
|
88
|
+
QFocusWrap: () => a,
|
|
89
|
+
QGauge: () => V,
|
|
90
|
+
QIcon: () => e,
|
|
91
|
+
QIconFont: () => t,
|
|
92
|
+
QIconImg: () => n,
|
|
93
|
+
QIconSvg: () => r,
|
|
94
|
+
QInputGroup: () => K,
|
|
95
|
+
QLabel: () => k,
|
|
96
|
+
QLineLoader: () => q,
|
|
97
|
+
QList: () => x,
|
|
98
|
+
QListItem: () => S,
|
|
99
|
+
QListItemGroup: () => C,
|
|
100
|
+
QMeter: () => J,
|
|
101
|
+
QObfuscation: () => Y,
|
|
102
|
+
QOverflow: () => X,
|
|
103
|
+
QOverlay: () => o,
|
|
104
|
+
QPasswordField: () => Z,
|
|
105
|
+
QPhoneField: () => $,
|
|
106
|
+
QPopover: () => s,
|
|
107
|
+
QProgress: () => ne,
|
|
108
|
+
QPropertyList: () => re,
|
|
109
|
+
QPropertyListGroup: () => ie,
|
|
110
|
+
QPropertyListPanel: () => ae,
|
|
111
|
+
QPropertyListRow: () => oe,
|
|
112
|
+
QRadioButton: () => se,
|
|
113
|
+
QRadioGroup: () => ce,
|
|
114
|
+
QRow: () => W,
|
|
115
|
+
QSection: () => le,
|
|
116
|
+
QSelect: () => Q,
|
|
117
|
+
QSidebar: () => de,
|
|
118
|
+
QSidebarItem: () => fe,
|
|
119
|
+
QSkeletonLoader: () => D,
|
|
120
|
+
QSpacer: () => G,
|
|
121
|
+
QSpinnerLoader: () => c,
|
|
122
|
+
QSteps: () => pe,
|
|
123
|
+
QSwitch: () => I,
|
|
124
|
+
QTab: () => me,
|
|
125
|
+
QTabs: () => he,
|
|
126
|
+
QTextArea: () => ge,
|
|
127
|
+
QTextField: () => N,
|
|
128
|
+
QThemeProvider: () => _e,
|
|
129
|
+
QToast: () => ve,
|
|
130
|
+
QToaster: () => ye,
|
|
131
|
+
QToggle: () => ue,
|
|
132
|
+
QToggleGroup: () => be,
|
|
133
|
+
QToggleGroupItem: () => xe,
|
|
134
|
+
QTooltip: () => l
|
|
134
135
|
});
|
|
135
136
|
//#endregion
|
|
136
|
-
export {
|
|
137
|
+
export { M as DEFAULT_TEXTS, p as QAccordion, m as QAccordionItem, g as QAlert, _ as QAvatar, y as QBadge, b as QBadgeIndicator, T as QBreadcrumb, E as QBreadcrumbs, u as QButton, v as QButtonGroup, d as QCard, O as QCarousel, j as QCheckbox, H as QCol, f as QCollapsible, P as QColorPicker, F as QCombobox, U as QContainer, L as QDateTimePicker, h as QDefaultsProvider, R as QDialog, z as QDialogProvider, i as QDismissibleLayer, te as QDivider, w as QDropdownMenu, A as QField, B as QFileUpload, a as QFocusWrap, V as QGauge, e as QIcon, t as QIconFont, n as QIconImg, r as QIconSvg, K as QInputGroup, k as QLabel, q as QLineLoader, x as QList, S as QListItem, C as QListItemGroup, J as QMeter, Y as QObfuscation, X as QOverflow, o as QOverlay, Z as QPasswordField, $ as QPhoneField, s as QPopover, ne as QProgress, re as QPropertyList, ie as QPropertyListGroup, ae as QPropertyListPanel, oe as QPropertyListRow, se as QRadioButton, ce as QRadioGroup, W as QRow, le as QSection, Q as QSelect, de as QSidebar, fe as QSidebarItem, D as QSkeletonLoader, G as QSpacer, c as QSpinnerLoader, pe as QSteps, I as QSwitch, me as QTab, he as QTabs, ge as QTextArea, N as QTextField, _e as QThemeProvider, ve as QToast, ye as QToaster, ue as QToggle, be as QToggleGroup, xe as QToggleGroupItem, l as QTooltip, Se as components_exports };
|
|
@@ -11,6 +11,16 @@ export declare function useDefaults(): ComputedRef<QComponentDefaults | undefine
|
|
|
11
11
|
* @param defaults - The default values to be provided or updated.
|
|
12
12
|
*/
|
|
13
13
|
export declare function provideDefaults(defaults: MaybeRefOrGetter<QDefaults>): void;
|
|
14
|
+
/**
|
|
15
|
+
* Passes a boolean prop down with {@link provideDefaults}: `true` when it is set, `undefined`
|
|
16
|
+
* otherwise. `toRef(props, 'disabled')` would pass `false` when the prop is not set, since Vue
|
|
17
|
+
* casts a missing boolean prop to `false`, and that `false` would override the children's own
|
|
18
|
+
* default and the one the app sets for them.
|
|
19
|
+
*
|
|
20
|
+
* @param flag - Reads the boolean prop.
|
|
21
|
+
* @returns The value to pass in the defaults.
|
|
22
|
+
*/
|
|
23
|
+
export declare function booleanDefault(flag: () => boolean | undefined): ComputedRef<true | undefined>;
|
|
14
24
|
/**
|
|
15
25
|
* Function to inject default values using the Vue.js `inject` function.
|
|
16
26
|
* It retrieves the default values from the specified symbol and ensures
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAOxD,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CAAC,CAAA;AAEnE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjE,wBAAgB,WAAW,IAAI,WAAW,CAAC,kBAAkB,GAAG,SAAS,CAAC,
|
|
1
|
+
{"version":3,"file":"defaults.d.ts","sourceRoot":"","sources":["../../src/composables/defaults.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,gBAAgB,EAAE,MAAM,KAAK,CAAA;AAOxD,eAAO,MAAM,eAAe,eAAe,CAAA;AAE3C,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,kBAAkB,CAAC,CAAA;AAEnE,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,MAAM,GAAG,MAAM,EAAE,OAAO,CAAC,CAAA;AAEjE,wBAAgB,WAAW,IAAI,WAAW,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAezE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,gBAAgB,CAAC,SAAS,CAAC,GAAG,IAAI,CAY3E;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,CAAC,IAAI,EAAE,MAAM,OAAO,GAAG,SAAS,GAAG,WAAW,CAAC,IAAI,GAAG,SAAS,CAAC,CAE7F;AAED;;;;;;;;GAQG;AACH,wBAAgB,cAAc,IAAI,WAAW,CAAC,SAAS,CAAC,CAMvD"}
|
|
@@ -8,18 +8,21 @@ function l() {
|
|
|
8
8
|
if (!e) throw Error("[Quidgest UI] useDefaults must be called from inside a setup function");
|
|
9
9
|
let i = e.type.name ?? e.type.__name;
|
|
10
10
|
if (!i) throw Error("[Quidgest UI] Could not determine component name");
|
|
11
|
-
let a =
|
|
12
|
-
return n(() => t(
|
|
11
|
+
let a = f();
|
|
12
|
+
return n(() => t(a.value?.Global, a.value?.[i]));
|
|
13
13
|
}
|
|
14
14
|
function u(r) {
|
|
15
15
|
if (e(r)) return;
|
|
16
|
-
let i =
|
|
16
|
+
let i = f(), l = o(s(r));
|
|
17
17
|
a(c, n(() => e(l.value) ? i.value : t(i.value, l.value)));
|
|
18
18
|
}
|
|
19
|
-
function d() {
|
|
19
|
+
function d(e) {
|
|
20
|
+
return n(() => e() || void 0);
|
|
21
|
+
}
|
|
22
|
+
function f() {
|
|
20
23
|
let e = i(c, void 0);
|
|
21
24
|
if (!e) throw Error("[Quidgest UI] Could not find defaults instance");
|
|
22
25
|
return e;
|
|
23
26
|
}
|
|
24
27
|
//#endregion
|
|
25
|
-
export { c as DEFAULTS_SYMBOL, d as injectDefaults, u as provideDefaults, l as useDefaults };
|
|
28
|
+
export { c as DEFAULTS_SYMBOL, d as booleanDefault, f as injectDefaults, u as provideDefaults, l as useDefaults };
|
|
@@ -19,16 +19,19 @@ export declare function resolveOnMainColor(rawColor: string, isUtilityColor: boo
|
|
|
19
19
|
/**
|
|
20
20
|
* Resolves hover colors for `useColor`.
|
|
21
21
|
*
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
22
|
+
* Every color gets the same hover, derived from the color itself: theme colors such as
|
|
23
|
+
* `primary`, other scheme keys, and custom CSS colors. The hover moves away from the
|
|
24
|
+
* scheme background, darker on a light theme and lighter on a dark one (the other way
|
|
25
|
+
* when that changes the color by less than 1.3:1 and the other direction changes it
|
|
26
|
+
* more), with WCAG `onHover`. The scheme's `*Dark` tokens are not read: a theme that sets
|
|
27
|
+
* only its base colors keeps the default `*Dark` values, which would not match them.
|
|
25
28
|
*
|
|
26
|
-
* @param
|
|
27
|
-
* @param isUtilityColor - Whether `rawColor` is a BEM theme utility key.
|
|
28
|
-
* @param scheme - The active color scheme.
|
|
29
|
+
* @param scheme - The active color scheme. Its background sets the direction.
|
|
29
30
|
* @param mainRgb - Parsed RGB of the resolved main color.
|
|
31
|
+
* @param surfaceRgb - Parsed RGB of the surface the component sits on, which sets the
|
|
32
|
+
* direction instead of the scheme background.
|
|
30
33
|
*/
|
|
31
|
-
export declare function resolveHoverStyle(
|
|
34
|
+
export declare function resolveHoverStyle(scheme: Readonly<QColorScheme>, mainRgb: RGB, surfaceRgb?: RGB): HoverStyle;
|
|
32
35
|
/**
|
|
33
36
|
* A composable function that processes and returns color-related information and styles.
|
|
34
37
|
*
|
|
@@ -39,41 +42,48 @@ export declare function resolveHoverStyle(rawColor: string, isUtilityColor: bool
|
|
|
39
42
|
*
|
|
40
43
|
* `style.onMainColor` uses the theme's own `on*` token for theme utility keys when
|
|
41
44
|
* present (e.g. `onPrimary`), falling back to WCAG relative luminance otherwise.
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
45
|
-
* `
|
|
46
|
-
*
|
|
47
|
-
*
|
|
48
|
-
*
|
|
49
|
-
* (
|
|
45
|
+
* Every color gets its hover the same way, theme colors included: `hoverColor` moves away
|
|
46
|
+
* from the theme background by `COLOR_SCHEME_DARKEN_AMOUNT`, darker on a light theme and
|
|
47
|
+
* lighter on a dark one (the other way when that changes the color by less than 1.3:1
|
|
48
|
+
* and the other direction changes it more), and `onHoverColor` is the WCAG contrasting
|
|
49
|
+
* color for it. The scheme's `*Dark` / `on*Dark` tokens are not used for hover.
|
|
50
|
+
* Components bind those values as CSS variables for both utility and custom colors.
|
|
51
|
+
*
|
|
52
|
+
* Everything measured against a background (the hover direction, `textColor`,
|
|
53
|
+
* `hoverTextColor` and the tint) uses the theme background, or `surface` when the
|
|
54
|
+
* component sits on another color, such as a white button on a primary banner.
|
|
50
55
|
*
|
|
51
56
|
* @param color - A theme utility key or CSS color value. Can be provided as a ref or plain string.
|
|
57
|
+
* @param surface - The theme key or CSS color the component sits on. Defaults to the theme
|
|
58
|
+
* background. Can be provided as a ref or plain string.
|
|
52
59
|
*
|
|
53
60
|
* @returns {QUseColorReturn} An object containing:
|
|
54
61
|
* - isUtilityColor: A computed boolean indicating if the color is a theme utility key
|
|
55
62
|
* - style: A computed object containing:
|
|
56
63
|
* - mainColor: The resolved color value
|
|
57
64
|
* - onMainColor: Scheme `on*` for utilities when present, otherwise WCAG contrast
|
|
58
|
-
* - hoverColor:
|
|
59
|
-
* - onHoverColor:
|
|
60
|
-
* - textColor: `mainColor` darkened or lightened until it clears 4.5:1 on a 12% tint of itself over the
|
|
61
|
-
* - hoverTextColor: `hoverColor` adjusted the same way against a 6% tint of the hover color over the
|
|
65
|
+
* - hoverColor: The main color darkened on a light surface or lightened on a dark one, the other way when that barely shows
|
|
66
|
+
* - onHoverColor: WCAG contrasting color for the hover color
|
|
67
|
+
* - textColor: `mainColor` darkened or lightened until it clears 4.5:1 on a 12% tint of itself over the surface
|
|
68
|
+
* - hoverTextColor: `hoverColor` adjusted the same way against a 6% tint of the hover color over the surface, for ghost and text hover
|
|
69
|
+
* - tintColor / tintColorRgb: A pale version of the color for selection and highlight surfaces, like the scheme's `*Light` tokens
|
|
62
70
|
*
|
|
63
71
|
* @example
|
|
64
72
|
* ```ts
|
|
65
73
|
* const { isUtilityColor, style } = useColor('primary')
|
|
66
74
|
* // or
|
|
67
75
|
* const { isUtilityColor, style } = useColor(ref('#FF0000'))
|
|
76
|
+
* // or, for a button on a primary banner
|
|
77
|
+
* const { isUtilityColor, style } = useColor('background', 'primary')
|
|
68
78
|
* ```
|
|
69
79
|
*/
|
|
70
|
-
export declare function useColor(color: MaybeRef<string | undefined>): QUseColorReturn;
|
|
80
|
+
export declare function useColor(color: MaybeRef<string | undefined>, surface?: MaybeRef<string | undefined>): QUseColorReturn;
|
|
71
81
|
/**
|
|
72
82
|
* Resolves a color scheme key against a color scheme while preserving CSS and custom colors.
|
|
73
83
|
*
|
|
74
84
|
* Looks up any key present on the scheme (base, Light/Dark variants, and `on*` tokens).
|
|
75
85
|
* {@link isThemeColor} remains narrower and is only used for theme-key classification
|
|
76
|
-
* (`isUtilityColor`
|
|
86
|
+
* (`isUtilityColor`).
|
|
77
87
|
*
|
|
78
88
|
* This pure variant is useful when a component needs to resolve a dynamic collection of
|
|
79
89
|
* colors and therefore cannot create one `useColor` instance per collection entry.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/useColor/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAC3D,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAA;AA4B1D,KAAK,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,eAAe,GAAG,cAAc,CAAC,CAAA;AA0GpF;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CACjC,QAAQ,EAAE,MAAM,EAChB,cAAc,EAAE,OAAO,EACvB,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,GACV,MAAM,CAUR;AAED;;;;;;;;;;;;;;GAcG;AACH,wBAAgB,iBAAiB,CAChC,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,EAC9B,OAAO,EAAE,GAAG,EACZ,UAAU,GAAE,GAAmC,GAC7C,UAAU,CAEZ;AA2BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,wBAAgB,QAAQ,CACvB,KAAK,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,EACnC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GACpC,eAAe,CAmDjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,MAAM,CAQlF"}
|
|
@@ -1,86 +1,95 @@
|
|
|
1
1
|
import { rgbToHex as e, rgbToVariableString as t } from "../../utils/color/conversion.js";
|
|
2
|
-
import { darken as n } from "../../utils/color/manipulate.js";
|
|
3
|
-
import { parseColor as
|
|
4
|
-
import { ensureContrast as
|
|
5
|
-
import { isThemeColor as
|
|
6
|
-
import { useTheme as
|
|
7
|
-
import { computed as
|
|
2
|
+
import { darken as n, lighten as r } from "../../utils/color/manipulate.js";
|
|
3
|
+
import { parseColor as i } from "../../utils/color/parse.js";
|
|
4
|
+
import { ensureContrast as a, getContrastRatio as o, getContrastingColor as s, getRelativeLuminance as c } from "../../utils/color/contrast.js";
|
|
5
|
+
import { isThemeColor as l, isUnsupportedColor as u } from "../../utils/color/theme-colors.js";
|
|
6
|
+
import { useTheme as d } from "../theme.js";
|
|
7
|
+
import { computed as f, unref as p } from "vue";
|
|
8
8
|
//#region src/composables/useColor/index.ts
|
|
9
|
-
function
|
|
9
|
+
function m(e) {
|
|
10
10
|
typeof process < "u" && process.env.NODE_ENV === "production" || console.warn(`[Quidgest UI] useColor: unable to resolve color "${e}"`);
|
|
11
11
|
}
|
|
12
|
-
var
|
|
13
|
-
function
|
|
12
|
+
var h = .12, g = .06, _ = .15;
|
|
13
|
+
function v(e) {
|
|
14
|
+
return s(e) === "#000";
|
|
15
|
+
}
|
|
16
|
+
function y(e, t) {
|
|
17
|
+
return v(t) ? r(e, 75) : b(e, t, _);
|
|
18
|
+
}
|
|
19
|
+
function b(e, t, n) {
|
|
14
20
|
return {
|
|
15
21
|
r: Math.round(e.r * n + t.r * (1 - n)),
|
|
16
22
|
g: Math.round(e.g * n + t.g * (1 - n)),
|
|
17
23
|
b: Math.round(e.b * n + t.b * (1 - n))
|
|
18
24
|
};
|
|
19
25
|
}
|
|
20
|
-
|
|
21
|
-
|
|
26
|
+
var x = 1.3;
|
|
27
|
+
function S(e, t) {
|
|
28
|
+
return o(c(e), c(t));
|
|
29
|
+
}
|
|
30
|
+
function C(i, a) {
|
|
31
|
+
let o = n(i, 25), c = r(i, 25), [l, u] = v(a) ? [o, c] : [c, o], d = S(i, l), f = d >= x || d >= S(i, u) ? l : u;
|
|
22
32
|
return {
|
|
23
|
-
hoverColor: e(
|
|
24
|
-
hoverColorRgb: t(
|
|
25
|
-
onHoverColor:
|
|
33
|
+
hoverColor: e(f),
|
|
34
|
+
hoverColorRgb: t(f),
|
|
35
|
+
onHoverColor: s(f)
|
|
26
36
|
};
|
|
27
37
|
}
|
|
28
|
-
function
|
|
38
|
+
function w(e, t, n, r) {
|
|
29
39
|
if (t) {
|
|
30
40
|
let t = n[`on${e.charAt(0).toUpperCase()}${e.slice(1)}`];
|
|
31
41
|
if (typeof t == "string") return t;
|
|
32
42
|
}
|
|
33
|
-
return
|
|
43
|
+
return s(r);
|
|
34
44
|
}
|
|
35
|
-
function
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
d(o);
|
|
47
|
-
}
|
|
45
|
+
function T(e, t, n = i(e.background)) {
|
|
46
|
+
return C(t, n);
|
|
47
|
+
}
|
|
48
|
+
function E(e, t) {
|
|
49
|
+
let n = i(t.background);
|
|
50
|
+
if (!e) return n;
|
|
51
|
+
if (u(e)) return m(e), n;
|
|
52
|
+
try {
|
|
53
|
+
return i(O(e, t));
|
|
54
|
+
} catch {
|
|
55
|
+
return m(e), n;
|
|
48
56
|
}
|
|
49
|
-
return h(o);
|
|
50
57
|
}
|
|
51
|
-
function
|
|
52
|
-
let
|
|
58
|
+
function D(n, r) {
|
|
59
|
+
let o = f(() => p(n)), s = d(), c = f(() => o.value ? l(o.value) : !1);
|
|
53
60
|
return {
|
|
54
|
-
isUtilityColor:
|
|
55
|
-
style:
|
|
56
|
-
let n =
|
|
61
|
+
isUtilityColor: c,
|
|
62
|
+
style: f(() => {
|
|
63
|
+
let n = o.value;
|
|
57
64
|
if (!n) return;
|
|
58
|
-
if (!
|
|
59
|
-
|
|
65
|
+
if (!c.value && u(n)) {
|
|
66
|
+
m(n);
|
|
60
67
|
return;
|
|
61
68
|
}
|
|
62
|
-
let
|
|
69
|
+
let l = s.current.value.scheme, d = O(n, l), f;
|
|
63
70
|
try {
|
|
64
|
-
|
|
71
|
+
f = i(d);
|
|
65
72
|
} catch {
|
|
66
|
-
|
|
73
|
+
m(n);
|
|
67
74
|
return;
|
|
68
75
|
}
|
|
69
|
-
let
|
|
76
|
+
let _ = w(n, c.value, l, f), v = E(p(r), l), x = T(l, f, v), S = a(d, e(b(f, v, h))), C = x.hoverColor ?? d, D = a(C, e(b(i(C), v, g))), k = y(f, v);
|
|
70
77
|
return {
|
|
71
|
-
mainColor:
|
|
72
|
-
mainColorRgb: t(
|
|
73
|
-
onMainColor:
|
|
74
|
-
textColor:
|
|
75
|
-
hoverTextColor:
|
|
76
|
-
|
|
78
|
+
mainColor: d,
|
|
79
|
+
mainColorRgb: t(f),
|
|
80
|
+
onMainColor: _,
|
|
81
|
+
textColor: S,
|
|
82
|
+
hoverTextColor: D,
|
|
83
|
+
tintColor: e(k),
|
|
84
|
+
tintColorRgb: t(k),
|
|
85
|
+
...x
|
|
77
86
|
};
|
|
78
87
|
})
|
|
79
88
|
};
|
|
80
89
|
}
|
|
81
|
-
function
|
|
90
|
+
function O(e, t) {
|
|
82
91
|
let n = e.trim();
|
|
83
92
|
return Object.prototype.hasOwnProperty.call(t, n) ? t[n] ?? e : e;
|
|
84
93
|
}
|
|
85
94
|
//#endregion
|
|
86
|
-
export {
|
|
95
|
+
export { O as resolveColor, T as resolveHoverStyle, w as resolveOnMainColor, D as useColor };
|