@quidgest/ui 0.31.1 → 0.32.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 +46 -0
- package/dist/json/api.json +1032 -243
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +859 -285
- package/dist/ui.esm.js +1584 -1360
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +949 -305
- package/lib/components/QAccordion/QAccordion.d.ts +1 -1
- package/lib/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/lib/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/lib/components/QAccordion/QAccordionItem.vue.js +5 -5
- package/lib/components/QAccordion/index.d.ts +6 -6
- package/lib/components/QAccordion/types.d.ts +2 -2
- package/lib/components/QAccordion/types.d.ts.map +1 -1
- package/lib/components/QAlert/QAlert.d.ts +1 -1
- package/lib/components/QAlert/QAlert.d.ts.map +1 -1
- package/lib/components/QAlert/QAlert.vue.js +78 -74
- package/lib/components/QAlert/index.d.ts +3 -3
- package/lib/components/QAlert/types.d.ts +20 -2
- package/lib/components/QAlert/types.d.ts.map +1 -1
- package/lib/components/QAvatar/QAvatar.d.ts +1 -1
- package/lib/components/QAvatar/index.d.ts +3 -3
- package/lib/components/QBadge/QBadge.d.ts +1 -1
- package/lib/components/QBadge/QBadge.d.ts.map +1 -1
- package/lib/components/QBadge/QBadge.vue.js +64 -55
- package/lib/components/QBadge/index.d.ts +3 -3
- package/lib/components/QBadge/types.d.ts +2 -2
- package/lib/components/QBadge/types.d.ts.map +1 -1
- package/lib/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -3
- package/lib/components/QBreadcrumbs/QBreadcrumb.d.ts +6 -6
- package/lib/components/QBreadcrumbs/QBreadcrumb.vue.js +3 -3
- package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts +1 -1
- package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/lib/components/QBreadcrumbs/QBreadcrumbs.vue.js +31 -31
- package/lib/components/QBreadcrumbs/context.d.ts +2 -1
- package/lib/components/QBreadcrumbs/context.d.ts.map +1 -1
- package/lib/components/QBreadcrumbs/index.d.ts +9 -9
- package/lib/components/QBreadcrumbs/types.d.ts +2 -2
- package/lib/components/QBreadcrumbs/types.d.ts.map +1 -1
- package/lib/components/QButton/QButton.d.ts +2 -2
- package/lib/components/QButton/QButton.d.ts.map +1 -1
- package/lib/components/QButton/QButton.vue.js +53 -49
- package/lib/components/QButton/index.d.ts +6 -6
- package/lib/components/QButton/types.d.ts +2 -2
- package/lib/components/QButton/types.d.ts.map +1 -1
- package/lib/components/QCard/QCard.vue.js +9 -20
- package/lib/components/QCarousel/QCarousel.d.ts +4 -4
- package/lib/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/lib/components/QCarousel/QCarousel.vue.js +10 -16
- package/lib/components/QCarousel/index.d.ts +14 -14
- package/lib/components/QCarousel/types.d.ts +2 -2
- package/lib/components/QCarousel/types.d.ts.map +1 -1
- package/lib/components/QCheckbox/QCheckbox.d.ts +3 -22
- package/lib/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/lib/components/QCheckbox/QCheckbox.vue.js +98 -100
- package/lib/components/QCheckbox/constants.d.ts +9 -0
- package/lib/components/QCheckbox/constants.d.ts.map +1 -1
- package/lib/components/QCheckbox/constants.js +4 -4
- package/lib/components/QCheckbox/index.d.ts +10 -72
- package/lib/components/QCheckbox/index.d.ts.map +1 -1
- package/lib/components/QCheckbox/types.d.ts +2 -8
- package/lib/components/QCheckbox/types.d.ts.map +1 -1
- package/lib/components/QCollapsible/QCollapsible.d.ts +1 -1
- package/lib/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/lib/components/QCollapsible/QCollapsible.vue.js +20 -27
- package/lib/components/QCollapsible/index.d.ts +6 -6
- package/lib/components/QCollapsible/types.d.ts +2 -2
- package/lib/components/QCollapsible/types.d.ts.map +1 -1
- package/lib/components/QColorPicker/QColorPicker.d.ts +4 -18
- package/lib/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/lib/components/QColorPicker/QColorPicker.vue.js +52 -35
- package/lib/components/QColorPicker/constants.d.ts +4 -0
- package/lib/components/QColorPicker/constants.d.ts.map +1 -1
- package/lib/components/QColorPicker/index.d.ts +13 -57
- package/lib/components/QColorPicker/index.d.ts.map +1 -1
- package/lib/components/QColorPicker/types.d.ts +2 -2
- package/lib/components/QColorPicker/types.d.ts.map +1 -1
- package/lib/components/QCombobox/QCombobox.d.ts +355 -299
- package/lib/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/lib/components/QCombobox/QCombobox.vue.js +236 -190
- package/lib/components/QCombobox/constants.d.ts +5 -0
- package/lib/components/QCombobox/constants.d.ts.map +1 -1
- package/lib/components/QCombobox/constants.js +1 -0
- package/lib/components/QCombobox/index.d.ts +265 -424
- package/lib/components/QCombobox/index.d.ts.map +1 -1
- package/lib/components/QCombobox/types.d.ts +2 -2
- package/lib/components/QCombobox/types.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.d.ts +106 -229
- package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +829 -722
- package/lib/components/QDateTimePicker/constants.d.ts +6 -1
- package/lib/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/constants.js +2 -1
- package/lib/components/QDateTimePicker/index.d.ts +73 -229
- package/lib/components/QDateTimePicker/index.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/types.d.ts +2 -1
- package/lib/components/QDateTimePicker/types.d.ts.map +1 -1
- package/lib/components/QDialog/QDialog.d.ts +22 -10
- package/lib/components/QDialog/QDialog.d.ts.map +1 -1
- package/lib/components/QDialog/QDialog.vue.js +143 -108
- package/lib/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/lib/components/QDialog/QDialogProvider.vue.js +8 -3
- package/lib/components/QDialog/constants.d.ts +19 -1
- package/lib/components/QDialog/constants.d.ts.map +1 -1
- package/lib/components/QDialog/constants.js +16 -11
- package/lib/components/QDialog/index.d.ts +39 -23
- package/lib/components/QDialog/index.d.ts.map +1 -1
- package/lib/components/QDialog/types.d.ts +24 -13
- package/lib/components/QDialog/types.d.ts.map +1 -1
- package/lib/components/QDivider/QDivider.d.ts.map +1 -1
- package/lib/components/QDivider/QDivider.vue.js +23 -13
- package/lib/components/QDivider/types.d.ts +9 -0
- package/lib/components/QDivider/types.d.ts.map +1 -1
- package/lib/components/QDrawer/QDrawer.d.ts +71 -0
- package/lib/components/QDrawer/QDrawer.d.ts.map +1 -0
- package/lib/components/QDrawer/QDrawer.vue.js +458 -0
- package/lib/components/QDrawer/QDrawer2.vue.js +5 -0
- package/lib/components/QDrawer/constants.d.ts +22 -0
- package/lib/components/QDrawer/constants.d.ts.map +1 -0
- package/lib/components/QDrawer/constants.js +14 -0
- package/lib/components/QDrawer/index.d.ts +214 -0
- package/lib/components/QDrawer/index.d.ts.map +1 -0
- package/lib/components/QDrawer/index.js +6 -0
- package/lib/components/QDrawer/types.d.ts +221 -0
- package/lib/components/QDrawer/types.d.ts.map +1 -0
- package/lib/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenu.vue.js +59 -52
- package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts +118 -42
- package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +213 -185
- package/lib/components/QDropdownMenu/ids.d.ts +6 -0
- package/lib/components/QDropdownMenu/ids.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/ids.js +4 -1
- package/lib/components/QDropdownMenu/index.d.ts +6 -6
- package/lib/components/QDropdownMenu/types.d.ts +6 -4
- package/lib/components/QDropdownMenu/types.d.ts.map +1 -1
- package/lib/components/QField/QField.d.ts +18 -17
- package/lib/components/QField/QField.d.ts.map +1 -1
- package/lib/components/QField/QField.vue.js +65 -50
- package/lib/components/QField/constants.d.ts +10 -3
- package/lib/components/QField/constants.d.ts.map +1 -1
- package/lib/components/QField/constants.js +4 -2
- package/lib/components/QField/index.d.ts +12 -11
- package/lib/components/QField/index.d.ts.map +1 -1
- package/lib/components/QField/types.d.ts +6 -5
- package/lib/components/QField/types.d.ts.map +1 -1
- package/lib/components/QFileUpload/QFileUpload.d.ts +28 -54
- package/lib/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/lib/components/QFileUpload/QFileUpload.vue.js +43 -39
- package/lib/components/QFileUpload/constants.d.ts +4 -0
- package/lib/components/QFileUpload/constants.d.ts.map +1 -1
- package/lib/components/QFileUpload/index.d.ts +25 -105
- package/lib/components/QFileUpload/index.d.ts.map +1 -1
- package/lib/components/QFileUpload/types.d.ts +2 -1
- package/lib/components/QFileUpload/types.d.ts.map +1 -1
- package/lib/components/QFocusWrap/QFocusWrap.d.ts +1 -0
- package/lib/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/lib/components/QFocusWrap/QFocusWrap.vue.js +60 -41
- package/lib/components/QFocusWrap/index.d.ts +3 -0
- package/lib/components/QFocusWrap/index.d.ts.map +1 -1
- package/lib/components/QFocusWrap/stack.d.ts +15 -0
- package/lib/components/QFocusWrap/stack.d.ts.map +1 -0
- package/lib/components/QFocusWrap/stack.js +11 -0
- package/lib/components/QFocusWrap/types.d.ts +8 -0
- package/lib/components/QFocusWrap/types.d.ts.map +1 -1
- package/lib/components/QGauge/QGauge.d.ts.map +1 -1
- package/lib/components/QGauge/QGauge.vue.js +87 -86
- package/lib/components/QGrid/QRow.d.ts +1 -1
- package/lib/components/QGrid/index.d.ts +3 -3
- package/lib/components/QIcon/QSvgSymbol.d.ts +1 -1
- package/lib/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/lib/components/QIcon/QSvgSymbol.vue.js +31 -31
- package/lib/components/QIcon/utils/svgSource.d.ts +2 -2
- package/lib/components/QIcon/utils/svgSource.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.d.ts +27 -24
- package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.vue.js +19 -11
- package/lib/components/QInputGroup/index.d.ts +14 -12
- package/lib/components/QInputGroup/index.d.ts.map +1 -1
- package/lib/components/QLabel/QLabel.vue.js +1 -2
- package/lib/components/QList/QList.d.ts +46 -17
- package/lib/components/QList/QList.d.ts.map +1 -1
- package/lib/components/QList/QList.vue.js +470 -195
- package/lib/components/QList/QListItem.d.ts +1 -1
- package/lib/components/QList/QListItem.d.ts.map +1 -1
- package/lib/components/QList/QListItem.vue.js +33 -32
- package/lib/components/QList/QListItemGroup.vue.js +1 -1
- package/lib/components/QList/constants.d.ts +26 -0
- package/lib/components/QList/constants.d.ts.map +1 -1
- package/lib/components/QList/context.d.ts +12 -1
- package/lib/components/QList/context.d.ts.map +1 -1
- package/lib/components/QList/context.js +2 -2
- package/lib/components/QList/index.d.ts +79 -22
- package/lib/components/QList/index.d.ts.map +1 -1
- package/lib/components/QList/types.d.ts +11 -9
- package/lib/components/QList/types.d.ts.map +1 -1
- package/lib/components/QMeter/QMeter.d.ts.map +1 -1
- package/lib/components/QMeter/QMeter.vue.js +27 -26
- package/lib/components/QObfuscation/QObfuscation.d.ts +8 -26
- package/lib/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/lib/components/QObfuscation/QObfuscation.vue.js +137 -113
- package/lib/components/QObfuscation/constants.d.ts +4 -0
- package/lib/components/QObfuscation/constants.d.ts.map +1 -1
- package/lib/components/QObfuscation/index.d.ts +26 -81
- package/lib/components/QObfuscation/index.d.ts.map +1 -1
- package/lib/components/QObfuscation/types.d.ts +10 -1
- package/lib/components/QObfuscation/types.d.ts.map +1 -1
- package/lib/components/QOverflow/QOverflow.d.ts +7 -3
- package/lib/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/lib/components/QOverflow/QOverflow.vue.js +131 -108
- package/lib/components/QOverflow/constants.d.ts +4 -1
- package/lib/components/QOverflow/constants.d.ts.map +1 -1
- package/lib/components/QOverflow/index.d.ts +3 -3
- package/lib/components/QOverflow/types.d.ts +7 -4
- package/lib/components/QOverflow/types.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.d.ts +14 -5
- package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.vue.js +183 -158
- package/lib/components/QOverlay/index.d.ts +105 -13
- package/lib/components/QOverlay/index.d.ts.map +1 -1
- package/lib/components/QOverlay/layers.d.ts +21 -0
- package/lib/components/QOverlay/layers.d.ts.map +1 -0
- package/lib/components/QOverlay/layers.js +11 -0
- package/lib/components/QOverlay/types.d.ts +0 -6
- package/lib/components/QOverlay/types.d.ts.map +1 -1
- package/lib/components/QPasswordField/QPasswordField.d.ts +52 -170
- package/lib/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/lib/components/QPasswordField/QPasswordField.vue.js +8 -3
- package/lib/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +2 -3
- package/lib/components/QPasswordField/constants.d.ts +4 -0
- package/lib/components/QPasswordField/constants.d.ts.map +1 -1
- package/lib/components/QPasswordField/index.d.ts +29 -170
- package/lib/components/QPasswordField/index.d.ts.map +1 -1
- package/lib/components/QPasswordField/types.d.ts +2 -1
- package/lib/components/QPasswordField/types.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.d.ts +485 -622
- package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.vue.js +20 -13
- package/lib/components/QPhoneField/constants.d.ts +4 -0
- package/lib/components/QPhoneField/constants.d.ts.map +1 -1
- package/lib/components/QPhoneField/index.d.ts +257 -393
- package/lib/components/QPhoneField/index.d.ts.map +1 -1
- package/lib/components/QPhoneField/types.d.ts +5 -2
- package/lib/components/QPhoneField/types.d.ts.map +1 -1
- package/lib/components/QPopover/QPopover.d.ts +1 -1
- package/lib/components/QPopover/QPopover.d.ts.map +1 -1
- package/lib/components/QPopover/QPopover.vue.js +64 -42
- package/lib/components/QPopover/index.d.ts +3 -3
- package/lib/components/QPopover/types.d.ts +7 -2
- package/lib/components/QPopover/types.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.vue.js +47 -46
- package/lib/components/QPropertyList/QPropertyList.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyList.vue.js +3 -3
- package/lib/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.vue.js +59 -44
- package/lib/components/QPropertyList/index.d.ts +8 -8
- package/lib/components/QPropertyList/index.d.ts.map +1 -1
- package/lib/components/QPropertyList/types.d.ts +3 -3
- package/lib/components/QPropertyList/types.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioButton.vue.js +5 -2
- package/lib/components/QRadioGroup/QRadioGroup.d.ts +1 -1
- package/lib/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioGroup.vue.js +19 -18
- package/lib/components/QRadioGroup/index.d.ts +1 -6
- package/lib/components/QRadioGroup/index.d.ts.map +1 -1
- package/lib/components/QRadioGroup/types.d.ts +0 -6
- package/lib/components/QRadioGroup/types.d.ts.map +1 -1
- package/lib/components/QSection/QSection.d.ts +3 -3
- package/lib/components/QSection/QSection.d.ts.map +1 -1
- package/lib/components/QSection/QSection.vue.js +52 -45
- package/lib/components/QSection/index.d.ts +4 -4
- package/lib/components/QSection/types.d.ts +10 -2
- package/lib/components/QSection/types.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.d.ts +306 -114
- package/lib/components/QSelect/QSelect.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.vue.js +274 -250
- package/lib/components/QSelect/constants.d.ts +4 -0
- package/lib/components/QSelect/constants.d.ts.map +1 -1
- package/lib/components/QSelect/index.d.ts +173 -144
- package/lib/components/QSelect/index.d.ts.map +1 -1
- package/lib/components/QSelect/types.d.ts +4 -2
- package/lib/components/QSelect/types.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebar.d.ts +9 -9
- package/lib/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebar.vue.js +2 -2
- package/lib/components/QSidebar/QSidebarAnchor.d.ts +1 -1
- package/lib/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebarAnchor.vue.js +4 -4
- package/lib/components/QSidebar/QSidebarItem.d.ts +7 -7
- package/lib/components/QSidebar/QSidebarItem.vue.js +3 -3
- package/lib/components/QSidebar/QSidebarPanel.d.ts +3 -3
- package/lib/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebarPanel.vue.js +81 -140
- package/lib/components/QSidebar/constants.d.ts.map +1 -1
- package/lib/components/QSidebar/constants.js +4 -5
- package/lib/components/QSidebar/index.d.ts +24 -24
- package/lib/components/QSidebar/types.d.ts +7 -6
- package/lib/components/QSidebar/types.d.ts.map +1 -1
- package/lib/components/QSteps/QStepHeader.d.ts +2 -1
- package/lib/components/QSteps/QStepHeader.d.ts.map +1 -1
- package/lib/components/QSteps/QStepHeader.vue.js +3 -4
- package/lib/components/QSteps/QSteps.d.ts +8 -8
- package/lib/components/QSteps/QSteps.d.ts.map +1 -1
- package/lib/components/QSteps/QSteps.vue.js +9 -6
- package/lib/components/QSteps/QStepsNav.d.ts +2 -1
- package/lib/components/QSteps/QStepsNav.d.ts.map +1 -1
- package/lib/components/QSteps/index.d.ts +12 -12
- package/lib/components/QSteps/types.d.ts +2 -2
- package/lib/components/QSteps/types.d.ts.map +1 -1
- package/lib/components/QSwitch/QSwitch.d.ts +39 -26
- package/lib/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/lib/components/QSwitch/QSwitch.vue.js +64 -58
- package/lib/components/QSwitch/constants.d.ts +20 -0
- package/lib/components/QSwitch/constants.d.ts.map +1 -0
- package/lib/components/QSwitch/constants.js +9 -0
- package/lib/components/QSwitch/index.d.ts +56 -18
- package/lib/components/QSwitch/index.d.ts.map +1 -1
- package/lib/components/QSwitch/types.d.ts +21 -3
- package/lib/components/QSwitch/types.d.ts.map +1 -1
- package/lib/components/QTabs/QTab.d.ts +12 -12
- package/lib/components/QTabs/QTab.vue.js +3 -3
- package/lib/components/QTabs/QTabs.d.ts +9 -9
- package/lib/components/QTabs/QTabs.d.ts.map +1 -1
- package/lib/components/QTabs/QTabs.vue.js +92 -80
- package/lib/components/QTabs/index.d.ts +16 -16
- package/lib/components/QTabs/types.d.ts +2 -2
- package/lib/components/QTabs/types.d.ts.map +1 -1
- package/lib/components/QTextArea/QTextArea.d.ts +1 -0
- package/lib/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/lib/components/QTextArea/QTextArea.vue.js +6 -1
- package/lib/components/QTextArea/index.d.ts +1 -0
- package/lib/components/QTextArea/index.d.ts.map +1 -1
- package/lib/components/QTextField/QTextField.d.ts +30 -42
- package/lib/components/QTextField/QTextField.d.ts.map +1 -1
- package/lib/components/QTextField/QTextField.vue.js +7 -2
- package/lib/components/QTextField/constants.d.ts +4 -0
- package/lib/components/QTextField/constants.d.ts.map +1 -1
- package/lib/components/QTextField/index.d.ts +26 -69
- package/lib/components/QTextField/index.d.ts.map +1 -1
- package/lib/components/QTextField/types.d.ts +2 -1
- package/lib/components/QTextField/types.d.ts.map +1 -1
- package/lib/components/QToast/QToast.d.ts +1 -1
- package/lib/components/QToast/QToast.d.ts.map +1 -1
- package/lib/components/QToast/QToast.vue.js +148 -134
- package/lib/components/QToast/QToaster.d.ts +3 -1
- package/lib/components/QToast/QToaster.d.ts.map +1 -1
- package/lib/components/QToast/QToaster.vue.js +74 -46
- package/lib/components/QToast/index.d.ts +9 -7
- package/lib/components/QToast/index.d.ts.map +1 -1
- package/lib/components/QToast/types.d.ts +2 -2
- package/lib/components/QToast/types.d.ts.map +1 -1
- package/lib/components/QToggle/QToggle.d.ts.map +1 -1
- package/lib/components/QToggle/QToggle.vue.js +2 -0
- package/lib/components/QToggle/index.d.ts +3 -3
- package/lib/components/QToggleGroup/QToggleGroupItem.d.ts +8 -1
- package/lib/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
- package/lib/components/QToggleGroup/QToggleGroupItem.vue.js +67 -16
- package/lib/components/QToggleGroup/index.d.ts +24 -3
- package/lib/components/QToggleGroup/index.d.ts.map +1 -1
- package/lib/components/QTooltip/QTooltip.d.ts +1 -1
- package/lib/components/QTooltip/QTooltip.vue.js +1 -1
- package/lib/components/QTooltip/index.d.ts +3 -3
- package/lib/components/__internal__/QChevron/QChevron.d.ts +1 -1
- package/lib/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
- package/lib/components/__internal__/QChevron/index.d.ts +3 -3
- package/lib/components/__internal__/QChevron/types.d.ts +2 -2
- package/lib/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/lib/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
- package/lib/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/lib/components/__internal__/QClearButton/index.d.ts +1 -1
- package/lib/components/__internal__/QClearButton/types.d.ts +2 -2
- package/lib/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts +7 -7
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -1
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.vue.js +3 -6
- package/lib/components/__internal__/QHelpPopover/index.d.ts +7 -7
- package/lib/components/__internal__/QHelpPopover/types.d.ts +2 -2
- package/lib/components/__internal__/QHelpPopover/types.d.ts.map +1 -1
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts +34 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.vue.js +76 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel2.vue.js +5 -0
- package/lib/components/__internal__/QListboxPanel/constants.d.ts +17 -0
- package/lib/components/__internal__/QListboxPanel/constants.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/constants.js +4 -0
- package/lib/components/__internal__/QListboxPanel/index.d.ts +52 -0
- package/lib/components/__internal__/QListboxPanel/index.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/index.js +7 -0
- package/lib/components/__internal__/QListboxPanel/types.d.ts +50 -0
- package/lib/components/__internal__/QListboxPanel/types.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/utils.d.ts +4 -0
- package/lib/components/__internal__/QListboxPanel/utils.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/utils.js +6 -0
- package/lib/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +1 -1
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts +16 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.vue.js +72 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons2.vue.js +5 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts +15 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.vue.js +74 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle2.vue.js +5 -0
- package/lib/components/__internal__/QResizeHandle/constants.d.ts +22 -0
- package/lib/components/__internal__/QResizeHandle/constants.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/constants.js +10 -0
- package/lib/components/__internal__/QResizeHandle/index.d.ts +28 -0
- package/lib/components/__internal__/QResizeHandle/index.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/index.js +7 -0
- package/lib/components/__internal__/QResizeHandle/types.d.ts +107 -0
- package/lib/components/__internal__/QResizeHandle/types.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts +42 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.js +36 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts +39 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.js +22 -0
- package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
- package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +1 -1
- package/lib/components/__internal__/QSafeTriangle/index.d.ts +2 -2
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts +24 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts.map +1 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.vue.js +58 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent2.vue.js +5 -0
- package/lib/components/__internal__/QSeverityContent/index.d.ts +31 -0
- package/lib/components/__internal__/QSeverityContent/index.d.ts.map +1 -0
- package/lib/components/__internal__/QSeverityContent/index.js +6 -0
- package/lib/components/__internal__/QSeverityContent/types.d.ts +67 -0
- package/lib/components/__internal__/QSeverityContent/types.d.ts.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +72 -70
- package/lib/composables/useColor/index.d.ts +7 -3
- package/lib/composables/useColor/index.d.ts.map +1 -1
- package/lib/composables/useColor/index.js +40 -38
- package/lib/composables/useColor/types.d.ts +5 -4
- package/lib/composables/useColor/types.d.ts.map +1 -1
- package/lib/composables/useDialog/_internal.js +1 -1
- package/lib/composables/useDialog/types.d.ts +6 -2
- package/lib/composables/useDialog/types.d.ts.map +1 -1
- package/lib/composables/useScrollTabStop/index.d.ts +17 -0
- package/lib/composables/useScrollTabStop/index.d.ts.map +1 -0
- package/lib/composables/useScrollTabStop/index.js +45 -0
- package/lib/composables/useVirtualList/index.d.ts +73 -0
- package/lib/composables/useVirtualList/index.d.ts.map +1 -0
- package/lib/composables/useVirtualList/index.js +83 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/types/component.d.ts +12 -5
- package/lib/types/component.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/utils/boundedValue.d.ts +20 -0
- package/lib/utils/boundedValue.d.ts.map +1 -0
- package/lib/utils/boundedValue.js +9 -0
- package/lib/utils/color/blend.d.ts +13 -0
- package/lib/utils/color/blend.d.ts.map +1 -1
- package/lib/utils/color/blend.js +6 -3
- package/lib/utils/color/contrast.d.ts +19 -0
- package/lib/utils/color/contrast.d.ts.map +1 -1
- package/lib/utils/color/contrast.js +26 -11
- package/lib/utils/color/index.d.ts +1 -1
- package/lib/utils/color/index.d.ts.map +1 -1
- package/lib/utils/date.d.ts +18 -8
- package/lib/utils/date.d.ts.map +1 -1
- package/lib/utils/date.js +26 -14
- package/lib/utils/index.js +14 -13
- package/lib/utils/overlay.d.ts +6 -0
- package/lib/utils/overlay.d.ts.map +1 -1
- package/lib/utils/overlay.js +10 -10
- package/lib/utils/popupLabel.d.ts +15 -0
- package/lib/utils/popupLabel.d.ts.map +1 -0
- package/lib/utils/popupLabel.js +6 -0
- package/lib/utils/railWidth.d.ts +15 -0
- package/lib/utils/railWidth.d.ts.map +1 -0
- package/lib/utils/railWidth.js +4 -0
- package/lib/utils/safeTriangle.d.ts +4 -4
- package/lib/utils/safeTriangle.d.ts.map +1 -1
- package/lib/utils/slots.d.ts +11 -2
- package/lib/utils/slots.d.ts.map +1 -1
- package/lib/utils/slots.js +7 -4
- package/lib/utils/theme.d.ts +3 -3
- package/lib/utils/theme.d.ts.map +1 -1
- package/lib/utils/theme.js +31 -31
- package/package.json +1 -1
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/** The free edge of a side surface. Dragging away from the docked side grows it. */
|
|
2
|
+
export type QEdgeResizeSide = 'left' | 'right';
|
|
3
|
+
/** Keyboard step for an edge resize, in CSS pixels. */
|
|
4
|
+
export declare const EDGE_RESIZE_STEP = 16;
|
|
5
|
+
export type QUseEdgeResizeOptions = {
|
|
6
|
+
/** When false, pointer movement does not change the width. Pointer up still ends the drag. */
|
|
7
|
+
enabled: () => boolean;
|
|
8
|
+
/** Side of the surface the handle sits on. */
|
|
9
|
+
edge: () => QEdgeResizeSide;
|
|
10
|
+
/** Width at the start of a drag and when a drag ends. */
|
|
11
|
+
width: () => number;
|
|
12
|
+
onStart: () => void;
|
|
13
|
+
onResize: (width: number) => void;
|
|
14
|
+
onEnd: (width: number) => void;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* Pointer-drag resize shared by side surfaces. Only the primary mouse button or a single
|
|
18
|
+
* touch starts a drag. Ending the drag restores text selection even when resizing was
|
|
19
|
+
* turned off during it.
|
|
20
|
+
*
|
|
21
|
+
* @param options - How the surface measures and applies width.
|
|
22
|
+
* @returns The drag flag, plus start and teardown for the handle and for unmount.
|
|
23
|
+
*/
|
|
24
|
+
export declare function useEdgeResize(options: QUseEdgeResizeOptions): {
|
|
25
|
+
isResizing: import('vue').Ref<boolean, boolean>;
|
|
26
|
+
start: (event: PointerEvent) => void;
|
|
27
|
+
teardown: () => void;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Width a keyboard resize asks for. Arrows step toward or away from the docked side.
|
|
31
|
+
* Home and End jump to the limits. Other keys return undefined.
|
|
32
|
+
*
|
|
33
|
+
* @param key - The key that was pressed.
|
|
34
|
+
* @param edge - Side of the surface the handle sits on.
|
|
35
|
+
* @param now - The current width.
|
|
36
|
+
* @param min - The smallest width.
|
|
37
|
+
* @param max - The largest width.
|
|
38
|
+
* @param step - Arrow-key step. Defaults to {@link EDGE_RESIZE_STEP}.
|
|
39
|
+
* @returns The target width, or undefined when the key does not resize.
|
|
40
|
+
*/
|
|
41
|
+
export declare function edgeResizeTarget(key: string, edge: QEdgeResizeSide, now: number, min: number, max: number, step?: number): number | undefined;
|
|
42
|
+
//# sourceMappingURL=useEdgeResize.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useEdgeResize.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QResizeHandle/useEdgeResize.ts"],"names":[],"mappings":"AAGA,oFAAoF;AACpF,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AAE9C,uDAAuD;AACvD,eAAO,MAAM,gBAAgB,KAAK,CAAA;AAElC,MAAM,MAAM,qBAAqB,GAAG;IACnC,8FAA8F;IAC9F,OAAO,EAAE,MAAM,OAAO,CAAA;IACtB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,eAAe,CAAA;IAC3B,yDAAyD;IACzD,KAAK,EAAE,MAAM,MAAM,CAAA;IACnB,OAAO,EAAE,MAAM,IAAI,CAAA;IACnB,QAAQ,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACjC,KAAK,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9B,CAAA;AAED;;;;;;;GAOG;AACH,wBAAgB,aAAa,CAAC,OAAO,EAAE,qBAAqB;;mBA+CrC,YAAY;;EAkBlC;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,gBAAgB,CAC/B,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,eAAe,EACrB,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,SAAmB,GACrB,MAAM,GAAG,SAAS,CAUpB"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { onUnmounted as e, ref as t } from "vue";
|
|
2
|
+
function n(n) {
|
|
3
|
+
let r = t(!1), i = 0, a = 0;
|
|
4
|
+
function o(e) {
|
|
5
|
+
if (!r.value || !n.enabled()) return;
|
|
6
|
+
let t = n.edge() === "right" ? e.clientX - i : i - e.clientX;
|
|
7
|
+
n.onResize(Math.max(a + t, 0));
|
|
8
|
+
}
|
|
9
|
+
function s() {
|
|
10
|
+
if (!r.value) return;
|
|
11
|
+
let e = n.width();
|
|
12
|
+
c(), n.onEnd(e);
|
|
13
|
+
}
|
|
14
|
+
function c() {
|
|
15
|
+
r.value && (r.value = !1, document.removeEventListener("pointermove", o), document.removeEventListener("pointerup", s), document.removeEventListener("pointercancel", s), document.body.style.userSelect = "");
|
|
16
|
+
}
|
|
17
|
+
function l(e) {
|
|
18
|
+
!e.isPrimary || e.button !== 0 || (r.value = !0, i = e.clientX, a = n.width(), document.addEventListener("pointermove", o), document.addEventListener("pointerup", s), document.addEventListener("pointercancel", s), document.body.style.userSelect = "none", n.onStart());
|
|
19
|
+
}
|
|
20
|
+
return e(c), {
|
|
21
|
+
isResizing: r,
|
|
22
|
+
start: l,
|
|
23
|
+
teardown: c
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
function r(e, t, n, r, i, a = 16) {
|
|
27
|
+
let o = t === "right" ? "ArrowRight" : "ArrowLeft", s = t === "right" ? "ArrowLeft" : "ArrowRight";
|
|
28
|
+
return {
|
|
29
|
+
[o]: n + a,
|
|
30
|
+
[s]: n - a,
|
|
31
|
+
Home: r,
|
|
32
|
+
End: i
|
|
33
|
+
}[e];
|
|
34
|
+
}
|
|
35
|
+
//#endregion
|
|
36
|
+
export { r as edgeResizeTarget, n as useEdgeResize };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { QEdgeResizeSide } from './useEdgeResize';
|
|
2
|
+
import { QResizeHandleSize } from '.';
|
|
3
|
+
/** How much a resize button resizes the pane, in pixels: a few key steps per click. */
|
|
4
|
+
export declare const RESIZE_BUTTON_STEP: number;
|
|
5
|
+
export type QResizePaneEmit = {
|
|
6
|
+
(e: 'resize', width: number): void;
|
|
7
|
+
(e: 'resize:start'): void;
|
|
8
|
+
(e: 'resize:end', finalWidth: number): void;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Clamps a target width and emits a full resize cycle. Re-measures after paint so
|
|
12
|
+
* `aria-value*` matches what the pane rendered.
|
|
13
|
+
*
|
|
14
|
+
* @param size - The last measured size.
|
|
15
|
+
* @param target - The width asked for, in CSS pixels.
|
|
16
|
+
* @param measure - Re-measures and returns the painted size.
|
|
17
|
+
* @param emit - Resize emitters.
|
|
18
|
+
*/
|
|
19
|
+
export declare function resizePaneTo(size: QResizeHandleSize, target: number, measure: () => QResizeHandleSize, emit: QResizePaneEmit): Promise<void>;
|
|
20
|
+
/**
|
|
21
|
+
* Keyboard resize (WCAG 2.1.1): arrows nudge width, Home/End jump. Modifier keys stay
|
|
22
|
+
* with the browser and assistive technology.
|
|
23
|
+
*
|
|
24
|
+
* @param event - Keydown on the separator.
|
|
25
|
+
* @param edge - Side of the surface the handle sits on.
|
|
26
|
+
* @param measure - Re-measures and returns the painted size.
|
|
27
|
+
* @param emit - Resize emitters.
|
|
28
|
+
*/
|
|
29
|
+
export declare function onResizePaneKeydown(event: KeyboardEvent, edge: QEdgeResizeSide, measure: () => QResizeHandleSize, emit: QResizePaneEmit): Promise<void>;
|
|
30
|
+
/**
|
|
31
|
+
* Resizes from a shrink/grow button — the single-pointer alternative to dragging
|
|
32
|
+
* (WCAG 2.5.7).
|
|
33
|
+
*
|
|
34
|
+
* @param step - How much to widen, in pixels; negative narrows.
|
|
35
|
+
* @param measure - Re-measures and returns the painted size.
|
|
36
|
+
* @param emit - Resize emitters.
|
|
37
|
+
*/
|
|
38
|
+
export declare function onResizePaneButton(step: number, measure: () => QResizeHandleSize, emit: QResizePaneEmit): Promise<void>;
|
|
39
|
+
//# sourceMappingURL=useResizePane.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useResizePane.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QResizeHandle/useResizePane.ts"],"names":[],"mappings":"AAEA,OAAO,EAAsC,KAAK,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAC1F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAE1C,uFAAuF;AACvF,eAAO,MAAM,kBAAkB,QAAuB,CAAA;AAEtD,MAAM,MAAM,eAAe,GAAG;IAC7B,CAAC,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,CAAC,CAAC,EAAE,cAAc,GAAG,IAAI,CAAA;IACzB,CAAC,CAAC,EAAE,YAAY,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3C,CAAA;AAED;;;;;;;;GAQG;AACH,wBAAsB,YAAY,CACjC,IAAI,EAAE,iBAAiB,EACvB,MAAM,EAAE,MAAM,EACd,OAAO,EAAE,MAAM,iBAAiB,EAChC,IAAI,EAAE,eAAe,GACnB,OAAO,CAAC,IAAI,CAAC,CASf;AAED;;;;;;;;GAQG;AACH,wBAAsB,mBAAmB,CACxC,KAAK,EAAE,aAAa,EACpB,IAAI,EAAE,eAAe,EACrB,OAAO,EAAE,MAAM,iBAAiB,EAChC,IAAI,EAAE,eAAe,GACnB,OAAO,CAAC,IAAI,CAAC,CASf;AAED;;;;;;;GAOG;AACH,wBAAsB,kBAAkB,CACvC,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,iBAAiB,EAChC,IAAI,EAAE,eAAe,GACnB,OAAO,CAAC,IAAI,CAAC,CAGf"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { edgeResizeTarget as e } from "./useEdgeResize.js";
|
|
2
|
+
import { nextTick as t } from "vue";
|
|
3
|
+
//#region src/components/__internal__/QResizeHandle/useResizePane.ts
|
|
4
|
+
var n = 64;
|
|
5
|
+
async function r(e, n, r, i) {
|
|
6
|
+
let a = Math.min(Math.max(n, e.min), e.max);
|
|
7
|
+
if (a === e.now) return;
|
|
8
|
+
i("resize:start"), i("resize", a), await t();
|
|
9
|
+
let o = r().now;
|
|
10
|
+
i("resize:end", o);
|
|
11
|
+
}
|
|
12
|
+
async function i(t, n, i, a) {
|
|
13
|
+
if (t.altKey || t.ctrlKey || t.metaKey) return;
|
|
14
|
+
let o = i(), s = e(t.key, n, o.now, o.min, o.max);
|
|
15
|
+
s !== void 0 && (t.preventDefault(), await r(o, s, i, a));
|
|
16
|
+
}
|
|
17
|
+
async function a(e, t, n) {
|
|
18
|
+
let i = t();
|
|
19
|
+
await r(i, i.now + e, t, n);
|
|
20
|
+
}
|
|
21
|
+
//#endregion
|
|
22
|
+
export { n as RESIZE_BUTTON_STEP, a as onResizePaneButton, i as onResizePaneKeydown, r as resizePaneTo };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { QSafeTriangleProps } from '.';
|
|
2
2
|
declare const _default: import('vue').DefineComponent<QSafeTriangleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QSafeTriangleProps> & Readonly<{}>, {
|
|
3
|
-
path: string;
|
|
4
3
|
width: number;
|
|
5
|
-
left: number;
|
|
6
4
|
top: number;
|
|
5
|
+
left: number;
|
|
7
6
|
height: number;
|
|
7
|
+
path: string;
|
|
8
8
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
9
9
|
export default _default;
|
|
10
10
|
//# sourceMappingURL=QSafeTriangle.vue.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare const QSafeTriangle: import('vue').DefineComponent<import('./types').QSafeTriangleProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('./types').QSafeTriangleProps> & Readonly<{}>, {
|
|
2
|
-
path: string;
|
|
3
2
|
width: number;
|
|
4
|
-
left: number;
|
|
5
3
|
top: number;
|
|
4
|
+
left: number;
|
|
6
5
|
height: number;
|
|
6
|
+
path: string;
|
|
7
7
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
8
8
|
export { QSafeTriangle };
|
|
9
9
|
export * from './types';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QSeverityContentProps } from '.';
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
icon?(_: {}): any;
|
|
6
|
+
default?(_: {}): any;
|
|
7
|
+
after?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {};
|
|
10
|
+
rootEl: any;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<QSeverityContentProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QSeverityContentProps> & Readonly<{}>, {
|
|
14
|
+
headingTag: string;
|
|
15
|
+
part: import('./types').QSeverityContentPart;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
17
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=QSeverityContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"QSeverityContent.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QSeverityContent/QSeverityContent.vue"],"names":[],"mappings":"AA0BA;AAyFC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,GAAG,CAAA;AA0D/C,iBAAS,cAAc;WAsET,OAAO,IAA6B;;sBAZxB,GAAG;yBACC,GAAG;uBACL,GAAG;;;;EAe9B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;6EAOnB,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,58 @@
|
|
|
1
|
+
import { QIcon as e } from "../../QIcon/index.js";
|
|
2
|
+
import { hasSlotContent as t } from "../../../utils/slots.js";
|
|
3
|
+
import { Fragment as n, createBlock as r, createCommentVNode as i, createElementBlock as a, createTextVNode as o, createVNode as s, defineComponent as c, h as l, mergeProps as u, normalizeClass as d, normalizeProps as f, openBlock as p, renderSlot as m, toDisplayString as h, unref as g, useSlots as _ } from "vue";
|
|
4
|
+
//#region src/components/__internal__/QSeverityContent/QSeverityContent.vue?vue&type=script&setup=true&lang.ts
|
|
5
|
+
var v = /*@__PURE__*/ c({
|
|
6
|
+
__name: "QSeverityContent",
|
|
7
|
+
props: {
|
|
8
|
+
part: { default: "all" },
|
|
9
|
+
title: {},
|
|
10
|
+
text: {},
|
|
11
|
+
severityText: {},
|
|
12
|
+
severityIcon: {},
|
|
13
|
+
headingTag: { default: "div" },
|
|
14
|
+
iconClass: {},
|
|
15
|
+
contentClass: {},
|
|
16
|
+
titleClass: {},
|
|
17
|
+
textClass: {}
|
|
18
|
+
},
|
|
19
|
+
setup(v) {
|
|
20
|
+
let y = v, b = _();
|
|
21
|
+
function x() {
|
|
22
|
+
return y.part !== "label" && (!!y.severityIcon || t(b.icon));
|
|
23
|
+
}
|
|
24
|
+
function S() {
|
|
25
|
+
return y.part === "all" && (!!y.text || t(b.default));
|
|
26
|
+
}
|
|
27
|
+
let C = c({
|
|
28
|
+
name: "QSeverityLabel",
|
|
29
|
+
setup() {
|
|
30
|
+
return () => {
|
|
31
|
+
let e = y.severityText ? l("span", { class: "q-sr-only" }, y.severityText) : null;
|
|
32
|
+
return y.title ? l(y.headingTag, { class: y.titleClass }, [
|
|
33
|
+
e,
|
|
34
|
+
" ",
|
|
35
|
+
y.title
|
|
36
|
+
].filter(Boolean)) : e;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
return (t, c) => (p(), a(n, null, [x() ? (p(), a("span", {
|
|
41
|
+
key: 0,
|
|
42
|
+
class: d(y.iconClass),
|
|
43
|
+
"aria-hidden": "true"
|
|
44
|
+
}, [m(t.$slots, "icon", {}, () => [y.severityIcon ? (p(), r(g(e), f(u({ key: 0 }, y.severityIcon)), null, 16)) : i("", !0)])], 2)) : i("", !0), y.part === "all" ? (p(), a("div", {
|
|
45
|
+
key: 1,
|
|
46
|
+
class: d(y.contentClass)
|
|
47
|
+
}, [
|
|
48
|
+
s(g(C)),
|
|
49
|
+
S() ? (p(), a("div", {
|
|
50
|
+
key: 0,
|
|
51
|
+
class: d(y.textClass)
|
|
52
|
+
}, [m(t.$slots, "default", {}, () => [o(h(y.text), 1)])], 2)) : i("", !0),
|
|
53
|
+
m(t.$slots, "after")
|
|
54
|
+
], 2)) : y.part === "label" ? (p(), r(g(C), { key: 2 })) : i("", !0)], 64));
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
//#endregion
|
|
58
|
+
export { v as default };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare const QSeverityContent: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QSeverityContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
+
headingTag: string;
|
|
4
|
+
part: import('./types').QSeverityContentPart;
|
|
5
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
6
|
+
P: {};
|
|
7
|
+
B: {};
|
|
8
|
+
D: {};
|
|
9
|
+
C: {};
|
|
10
|
+
M: {};
|
|
11
|
+
Defaults: {};
|
|
12
|
+
}, Readonly<import('./types').QSeverityContentProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
13
|
+
headingTag: string;
|
|
14
|
+
part: import('./types').QSeverityContentPart;
|
|
15
|
+
}>;
|
|
16
|
+
__isFragment?: never;
|
|
17
|
+
__isTeleport?: never;
|
|
18
|
+
__isSuspense?: never;
|
|
19
|
+
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QSeverityContentProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
20
|
+
headingTag: string;
|
|
21
|
+
part: import('./types').QSeverityContentPart;
|
|
22
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
23
|
+
$slots: {
|
|
24
|
+
icon?(_: {}): any;
|
|
25
|
+
default?(_: {}): any;
|
|
26
|
+
after?(_: {}): any;
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
export { QSeverityContent };
|
|
30
|
+
export * from './types';
|
|
31
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QSeverityContent/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqC,CAAA;AAE3D,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAC3B,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { QIconProps } from '../../QIcon';
|
|
2
|
+
/** Which piece of the shared severity chrome to render. */
|
|
3
|
+
export type QSeverityContentPart = 'all' | 'icon' | 'label';
|
|
4
|
+
export type QSeverityContentProps = {
|
|
5
|
+
/**
|
|
6
|
+
* `all` is the alert layout (icon plus content). `icon` and `label` are the
|
|
7
|
+
* pieces a toast places in its own grid.
|
|
8
|
+
*
|
|
9
|
+
* @category Presentation
|
|
10
|
+
*/
|
|
11
|
+
part?: QSeverityContentPart;
|
|
12
|
+
/**
|
|
13
|
+
* Visible title. With a title, the severity text is inside the heading.
|
|
14
|
+
*
|
|
15
|
+
* @category Content
|
|
16
|
+
*/
|
|
17
|
+
title?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Message used when the default slot is empty.
|
|
20
|
+
*
|
|
21
|
+
* @category Content
|
|
22
|
+
*/
|
|
23
|
+
text?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Screen-reader severity prefix, such as "Warning:".
|
|
26
|
+
*
|
|
27
|
+
* @category Accessibility
|
|
28
|
+
*/
|
|
29
|
+
severityText?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Decorative severity icon. Hidden from assistive technology.
|
|
32
|
+
*
|
|
33
|
+
* @category Content
|
|
34
|
+
*/
|
|
35
|
+
severityIcon?: QIconProps;
|
|
36
|
+
/**
|
|
37
|
+
* Element for the title. A value outside `h1`–`h6` should be `div`.
|
|
38
|
+
*
|
|
39
|
+
* @category Presentation
|
|
40
|
+
*/
|
|
41
|
+
headingTag?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Class for the icon wrapper.
|
|
44
|
+
*
|
|
45
|
+
* @category Presentation
|
|
46
|
+
*/
|
|
47
|
+
iconClass?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Class for the content wrapper (`part="all"`).
|
|
50
|
+
*
|
|
51
|
+
* @category Presentation
|
|
52
|
+
*/
|
|
53
|
+
contentClass?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Class for the title element.
|
|
56
|
+
*
|
|
57
|
+
* @category Presentation
|
|
58
|
+
*/
|
|
59
|
+
titleClass?: string;
|
|
60
|
+
/**
|
|
61
|
+
* Class for the message wrapper.
|
|
62
|
+
*
|
|
63
|
+
* @category Presentation
|
|
64
|
+
*/
|
|
65
|
+
textClass?: string;
|
|
66
|
+
};
|
|
67
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/__internal__/QSeverityContent/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAE7C,2DAA2D;AAC3D,MAAM,MAAM,oBAAoB,GAAG,KAAK,GAAG,MAAM,GAAG,OAAO,CAAA;AAE3D,MAAM,MAAM,qBAAqB,GAAG;IACnC;;;;;OAKG;IACH,IAAI,CAAC,EAAE,oBAAoB,CAAA;IAE3B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;IAEb;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,YAAY,CAAC,EAAE,UAAU,CAAA;IAEzB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA"}
|
|
@@ -17,6 +17,7 @@ export * from './QDefaultsProvider';
|
|
|
17
17
|
export * from './QDialog';
|
|
18
18
|
export * from './QDismissibleLayer';
|
|
19
19
|
export * from './QDivider';
|
|
20
|
+
export * from './QDrawer';
|
|
20
21
|
export * from './QDropdownMenu';
|
|
21
22
|
export * from './QField';
|
|
22
23
|
export * from './QFileUpload';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,UAAU,CAAA;AACxB,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,WAAW,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,cAAc,CAAA;AAC5B,cAAc,UAAU,CAAA;AACxB,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,cAAc,eAAe,CAAA;AAC7B,cAAc,UAAU,CAAA;AACxB,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AACxB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,YAAY,CAAA;AAC1B,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,SAAS,CAAA;AACvB,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,UAAU,CAAA;AACxB,cAAc,WAAW,CAAA;AACzB,cAAc,gBAAgB,CAAA;AAC9B,cAAc,YAAY,CAAA"}
|
package/lib/components/index.js
CHANGED
|
@@ -27,36 +27,37 @@ import { QCheckbox as j } from "./QCheckbox/index.js";
|
|
|
27
27
|
import { DEFAULT_TEXTS as M } from "./QTextField/constants.js";
|
|
28
28
|
import { QTextField as N } from "./QTextField/index.js";
|
|
29
29
|
import { QColorPicker as P } from "./QColorPicker/index.js";
|
|
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 {
|
|
57
|
-
import {
|
|
30
|
+
import { QLineLoader as F } from "./QLineLoader/index.js";
|
|
31
|
+
import { QCombobox as I } from "./QCombobox/index.js";
|
|
32
|
+
import { QSwitch as L } from "./QSwitch/index.js";
|
|
33
|
+
import { QDateTimePicker as R } from "./QDateTimePicker/index.js";
|
|
34
|
+
import { QDialog as z, QDialogProvider as te } from "./QDialog/index.js";
|
|
35
|
+
import { QDivider as B } from "./QDivider/index.js";
|
|
36
|
+
import { QDrawer as V } from "./QDrawer/index.js";
|
|
37
|
+
import { QFileUpload as H } from "./QFileUpload/index.js";
|
|
38
|
+
import { QGauge as U } from "./QGauge/index.js";
|
|
39
|
+
import { QCol as W, QContainer as G, QRow as K, QSpacer as q } from "./QGrid/index.js";
|
|
40
|
+
import { QInputGroup as J } from "./QInputGroup/index.js";
|
|
41
|
+
import { QMeter as Y } from "./QMeter/index.js";
|
|
42
|
+
import { QObfuscation as X } from "./QObfuscation/index.js";
|
|
43
|
+
import { QOverflow as Z } from "./QOverflow/index.js";
|
|
44
|
+
import { QPasswordField as Q } from "./QPasswordField/index.js";
|
|
45
|
+
import { QSelect as $ } from "./QSelect/index.js";
|
|
46
|
+
import { QPhoneField as ne } from "./QPhoneField/index.js";
|
|
47
|
+
import { QProgress as re } from "./QProgress/index.js";
|
|
48
|
+
import { QPropertyList as ie, QPropertyListGroup as ae, QPropertyListPanel as oe, QPropertyListRow as se } from "./QPropertyList/index.js";
|
|
49
|
+
import { QRadioButton as ce, QRadioGroup as le } from "./QRadioGroup/index.js";
|
|
50
|
+
import { QSection as ue } from "./QSection/index.js";
|
|
51
|
+
import { QToggle as de } from "./QToggle/index.js";
|
|
52
|
+
import { QSidebar as fe, QSidebarItem as pe } from "./QSidebar/index.js";
|
|
53
|
+
import { QSteps as me } from "./QSteps/index.js";
|
|
54
|
+
import { QTab as he, QTabs as ge } from "./QTabs/index.js";
|
|
55
|
+
import { QTextArea as _e } from "./QTextArea/index.js";
|
|
56
|
+
import { QThemeProvider as ve } from "./QThemeProvider/index.js";
|
|
57
|
+
import { QToast as ye, QToaster as be } from "./QToast/index.js";
|
|
58
|
+
import { QToggleGroup as xe, QToggleGroupItem as Se } from "./QToggleGroup/index.js";
|
|
58
59
|
//#region src/components/index.ts
|
|
59
|
-
var
|
|
60
|
+
var Ce = /* @__PURE__ */ ee({
|
|
60
61
|
DEFAULT_TEXTS: () => M,
|
|
61
62
|
QAccordion: () => p,
|
|
62
63
|
QAccordionItem: () => m,
|
|
@@ -71,67 +72,68 @@ var Se = /* @__PURE__ */ ee({
|
|
|
71
72
|
QCard: () => d,
|
|
72
73
|
QCarousel: () => O,
|
|
73
74
|
QCheckbox: () => j,
|
|
74
|
-
QCol: () =>
|
|
75
|
+
QCol: () => W,
|
|
75
76
|
QCollapsible: () => f,
|
|
76
77
|
QColorPicker: () => P,
|
|
77
|
-
QCombobox: () =>
|
|
78
|
-
QContainer: () =>
|
|
79
|
-
QDateTimePicker: () =>
|
|
78
|
+
QCombobox: () => I,
|
|
79
|
+
QContainer: () => G,
|
|
80
|
+
QDateTimePicker: () => R,
|
|
80
81
|
QDefaultsProvider: () => h,
|
|
81
|
-
QDialog: () =>
|
|
82
|
-
QDialogProvider: () =>
|
|
82
|
+
QDialog: () => z,
|
|
83
|
+
QDialogProvider: () => te,
|
|
83
84
|
QDismissibleLayer: () => i,
|
|
84
|
-
QDivider: () =>
|
|
85
|
+
QDivider: () => B,
|
|
86
|
+
QDrawer: () => V,
|
|
85
87
|
QDropdownMenu: () => w,
|
|
86
88
|
QField: () => A,
|
|
87
|
-
QFileUpload: () =>
|
|
89
|
+
QFileUpload: () => H,
|
|
88
90
|
QFocusWrap: () => a,
|
|
89
|
-
QGauge: () =>
|
|
91
|
+
QGauge: () => U,
|
|
90
92
|
QIcon: () => e,
|
|
91
93
|
QIconFont: () => t,
|
|
92
94
|
QIconImg: () => n,
|
|
93
95
|
QIconSvg: () => r,
|
|
94
|
-
QInputGroup: () =>
|
|
96
|
+
QInputGroup: () => J,
|
|
95
97
|
QLabel: () => k,
|
|
96
|
-
QLineLoader: () =>
|
|
98
|
+
QLineLoader: () => F,
|
|
97
99
|
QList: () => x,
|
|
98
100
|
QListItem: () => S,
|
|
99
101
|
QListItemGroup: () => C,
|
|
100
|
-
QMeter: () =>
|
|
101
|
-
QObfuscation: () =>
|
|
102
|
-
QOverflow: () =>
|
|
102
|
+
QMeter: () => Y,
|
|
103
|
+
QObfuscation: () => X,
|
|
104
|
+
QOverflow: () => Z,
|
|
103
105
|
QOverlay: () => o,
|
|
104
|
-
QPasswordField: () =>
|
|
105
|
-
QPhoneField: () =>
|
|
106
|
+
QPasswordField: () => Q,
|
|
107
|
+
QPhoneField: () => ne,
|
|
106
108
|
QPopover: () => s,
|
|
107
|
-
QProgress: () =>
|
|
108
|
-
QPropertyList: () =>
|
|
109
|
-
QPropertyListGroup: () =>
|
|
110
|
-
QPropertyListPanel: () =>
|
|
111
|
-
QPropertyListRow: () =>
|
|
112
|
-
QRadioButton: () =>
|
|
113
|
-
QRadioGroup: () =>
|
|
114
|
-
QRow: () =>
|
|
115
|
-
QSection: () =>
|
|
116
|
-
QSelect: () =>
|
|
117
|
-
QSidebar: () =>
|
|
118
|
-
QSidebarItem: () =>
|
|
109
|
+
QProgress: () => re,
|
|
110
|
+
QPropertyList: () => ie,
|
|
111
|
+
QPropertyListGroup: () => ae,
|
|
112
|
+
QPropertyListPanel: () => oe,
|
|
113
|
+
QPropertyListRow: () => se,
|
|
114
|
+
QRadioButton: () => ce,
|
|
115
|
+
QRadioGroup: () => le,
|
|
116
|
+
QRow: () => K,
|
|
117
|
+
QSection: () => ue,
|
|
118
|
+
QSelect: () => $,
|
|
119
|
+
QSidebar: () => fe,
|
|
120
|
+
QSidebarItem: () => pe,
|
|
119
121
|
QSkeletonLoader: () => D,
|
|
120
|
-
QSpacer: () =>
|
|
122
|
+
QSpacer: () => q,
|
|
121
123
|
QSpinnerLoader: () => c,
|
|
122
|
-
QSteps: () =>
|
|
123
|
-
QSwitch: () =>
|
|
124
|
-
QTab: () =>
|
|
125
|
-
QTabs: () =>
|
|
126
|
-
QTextArea: () =>
|
|
124
|
+
QSteps: () => me,
|
|
125
|
+
QSwitch: () => L,
|
|
126
|
+
QTab: () => he,
|
|
127
|
+
QTabs: () => ge,
|
|
128
|
+
QTextArea: () => _e,
|
|
127
129
|
QTextField: () => N,
|
|
128
|
-
QThemeProvider: () =>
|
|
129
|
-
QToast: () =>
|
|
130
|
-
QToaster: () =>
|
|
131
|
-
QToggle: () =>
|
|
132
|
-
QToggleGroup: () =>
|
|
133
|
-
QToggleGroupItem: () =>
|
|
130
|
+
QThemeProvider: () => ve,
|
|
131
|
+
QToast: () => ye,
|
|
132
|
+
QToaster: () => be,
|
|
133
|
+
QToggle: () => de,
|
|
134
|
+
QToggleGroup: () => xe,
|
|
135
|
+
QToggleGroupItem: () => Se,
|
|
134
136
|
QTooltip: () => l
|
|
135
137
|
});
|
|
136
138
|
//#endregion
|
|
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,
|
|
139
|
+
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, W as QCol, f as QCollapsible, P as QColorPicker, I as QCombobox, G as QContainer, R as QDateTimePicker, h as QDefaultsProvider, z as QDialog, te as QDialogProvider, i as QDismissibleLayer, B as QDivider, V as QDrawer, w as QDropdownMenu, A as QField, H as QFileUpload, a as QFocusWrap, U as QGauge, e as QIcon, t as QIconFont, n as QIconImg, r as QIconSvg, J as QInputGroup, k as QLabel, F as QLineLoader, x as QList, S as QListItem, C as QListItemGroup, Y as QMeter, X as QObfuscation, Z as QOverflow, o as QOverlay, Q as QPasswordField, ne as QPhoneField, s as QPopover, re as QProgress, ie as QPropertyList, ae as QPropertyListGroup, oe as QPropertyListPanel, se as QPropertyListRow, ce as QRadioButton, le as QRadioGroup, K as QRow, ue as QSection, $ as QSelect, fe as QSidebar, pe as QSidebarItem, D as QSkeletonLoader, q as QSpacer, c as QSpinnerLoader, me as QSteps, L as QSwitch, he as QTab, ge as QTabs, _e as QTextArea, N as QTextField, ve as QThemeProvider, ye as QToast, be as QToaster, de as QToggle, xe as QToggleGroup, Se as QToggleGroupItem, l as QTooltip, Ce as components_exports };
|
|
@@ -51,7 +51,11 @@ export declare function resolveHoverStyle(scheme: Readonly<QColorScheme>, mainRg
|
|
|
51
51
|
*
|
|
52
52
|
* Everything measured against a background (the hover direction, `textColor`,
|
|
53
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.
|
|
54
|
+
* component sits on another color, such as a white button on a primary banner. Without a
|
|
55
|
+
* `surface`, the component can sit on the page or in a card or dialog, so `textColor` and
|
|
56
|
+
* `hoverTextColor` are measured over the theme container too. Text is measured on the tint as
|
|
57
|
+
* the browser paints it, with its alpha stored in 8 bits, and on the bare surface, where
|
|
58
|
+
* outlined, ghost and text variants draw it.
|
|
55
59
|
*
|
|
56
60
|
* @param color - A theme utility key or CSS color value. Can be provided as a ref or plain string.
|
|
57
61
|
* @param surface - The theme key or CSS color the component sits on. Defaults to the theme
|
|
@@ -64,8 +68,8 @@ export declare function resolveHoverStyle(scheme: Readonly<QColorScheme>, mainRg
|
|
|
64
68
|
* - onMainColor: Scheme `on*` for utilities when present, otherwise WCAG contrast
|
|
65
69
|
* - hoverColor: The main color darkened on a light surface or lightened on a dark one, the other way when that barely shows
|
|
66
70
|
* - 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
|
|
71
|
+
* - textColor: `mainColor` darkened or lightened until it clears 4.5:1 on a 12% tint of itself over the surface, and on the surface itself (outlined, ghost and text variants), over the background and the container without one
|
|
72
|
+
* - hoverTextColor: `hoverColor` adjusted the same way against a 6% tint of the hover color over the same surfaces (the ghost hover fill) and against the bare surfaces (text hover)
|
|
69
73
|
* - tintColor / tintColorRgb: A pale version of the color for selection and highlight surfaces, like the scheme's `*Light` tokens
|
|
70
74
|
*
|
|
71
75
|
* @example
|
|
@@ -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;AA6B1D,KAAK,UAAU,GAAG,IAAI,CAAC,WAAW,EAAE,YAAY,GAAG,eAAe,GAAG,cAAc,CAAC,CAAA;AA0CpF;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgDG;AACH,wBAAgB,QAAQ,CACvB,KAAK,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,EACnC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,GAAG,SAAS,CAAC,GACpC,eAAe,CA0DjB;AAED;;;;;;;;;;;;;GAaG;AACH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,MAAM,CAQlF"}
|