@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFileUpload/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AAC5C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAEnD,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,CAAA;AAEtE,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG;IAC5C;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAA;IAE1B;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;IAE1C;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -12,6 +12,7 @@ declare function __VLS_template(): {
|
|
|
12
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
13
13
|
declare const __VLS_component: import('vue').DefineComponent<QFocusWrapProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QFocusWrapProps> & Readonly<{}>, {
|
|
14
14
|
active: boolean;
|
|
15
|
+
wrap: boolean;
|
|
15
16
|
focusWithinOnActivate: boolean;
|
|
16
17
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
17
18
|
container: HTMLSpanElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QFocusWrap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/QFocusWrap.vue"],"names":[],"mappings":"AAiBA;
|
|
1
|
+
{"version":3,"file":"QFocusWrap.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/QFocusWrap.vue"],"names":[],"mappings":"AAiBA;AAgMC,OAAO,KAAK,EAAE,eAAe,EAA8B,MAAM,GAAG,CAAA;AAiLrE,iBAAS,cAAc;WA2CT,OAAO,IAA6B;;yBAXrB,GAAG;;;;;;EAgB/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;OAQnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { getTabbableElements as e } from "../../utils/focus.js";
|
|
2
|
-
import {
|
|
2
|
+
import { newestWrappingContainer as t, removeWrappingContainer as n, wrappingContainers as r } from "./stack.js";
|
|
3
|
+
import { Fragment as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, defineComponent as c, nextTick as l, onBeforeUnmount as u, onMounted as d, openBlock as f, renderSlot as p, useTemplateRef as m, watch as h } from "vue";
|
|
3
4
|
//#region src/components/QFocusWrap/QFocusWrap.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
5
|
+
var g = { ref: "container" }, _ = /*@__PURE__*/ c({
|
|
5
6
|
__name: "QFocusWrap",
|
|
6
7
|
props: {
|
|
7
8
|
id: {},
|
|
@@ -10,6 +11,10 @@ var f = { ref: "container" }, p = /*@__PURE__*/ a({
|
|
|
10
11
|
type: Boolean,
|
|
11
12
|
default: !0
|
|
12
13
|
},
|
|
14
|
+
wrap: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !0
|
|
17
|
+
},
|
|
13
18
|
initialFocus: {},
|
|
14
19
|
focusWithinOnActivate: {
|
|
15
20
|
type: Boolean,
|
|
@@ -18,60 +23,74 @@ var f = { ref: "container" }, p = /*@__PURE__*/ a({
|
|
|
18
23
|
closingFocus: {},
|
|
19
24
|
returnFocusOnDeactivate: { type: Boolean }
|
|
20
25
|
},
|
|
21
|
-
setup(
|
|
22
|
-
let
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
});
|
|
26
|
+
setup(c) {
|
|
27
|
+
let _ = c, v = m("container"), y;
|
|
28
|
+
d(() => {
|
|
29
|
+
let e = v.value;
|
|
30
|
+
_.active && _.wrap && e && !r.includes(e) && r.push(e);
|
|
31
|
+
}), u(() => {
|
|
32
|
+
v.value && n(v.value), _.active && E();
|
|
29
33
|
});
|
|
30
|
-
function
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (n.length === 0) return;
|
|
34
|
-
let r = n[t === "first" ? 0 : n.length - 1];
|
|
35
|
-
typeof r?.focus == "function" && r.focus();
|
|
34
|
+
function b(t, n) {
|
|
35
|
+
let r = e(t);
|
|
36
|
+
return (n === "first" ? r[0] : r[r.length - 1]) ?? t.querySelector("[tabindex]");
|
|
36
37
|
}
|
|
37
|
-
function
|
|
38
|
-
|
|
38
|
+
function x(e) {
|
|
39
|
+
if (!v.value) return;
|
|
40
|
+
let t = b(v.value, e);
|
|
41
|
+
typeof t?.focus == "function" && t.focus();
|
|
39
42
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
43
|
+
function S() {
|
|
44
|
+
x("first");
|
|
42
45
|
}
|
|
43
|
-
function
|
|
44
|
-
|
|
45
|
-
t = typeof e == "string" ? document.querySelector(e) : e, typeof t?.focus == "function" && t?.focus();
|
|
46
|
+
function C() {
|
|
47
|
+
x("last");
|
|
46
48
|
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
function w(e) {
|
|
50
|
+
return typeof e == "string" ? document.querySelector(e) : e;
|
|
51
|
+
}
|
|
52
|
+
function T(e) {
|
|
53
|
+
let t = w(e);
|
|
54
|
+
typeof t?.focus == "function" && t?.focus();
|
|
55
|
+
}
|
|
56
|
+
function E() {
|
|
57
|
+
let e = v.value, n = document.activeElement;
|
|
58
|
+
if (!(!n || n === document.body || e?.contains(n))) return;
|
|
59
|
+
let r = _.closingFocus ? _.closingFocus : _.returnFocusOnDeactivate ? y : null;
|
|
60
|
+
r && l(() => {
|
|
61
|
+
let e = w(r), n = t();
|
|
62
|
+
n && e && !n.contains(e) ? T(b(n, "first")) : T(e);
|
|
56
63
|
});
|
|
57
|
-
}
|
|
58
|
-
|
|
64
|
+
}
|
|
65
|
+
function D() {
|
|
66
|
+
let e = v.value;
|
|
67
|
+
return !e || !r.includes(e) ? !1 : t() !== e;
|
|
68
|
+
}
|
|
69
|
+
return h(() => _.active, (e, t) => {
|
|
70
|
+
let i = v.value;
|
|
71
|
+
e ? (i && _.wrap && !r.includes(i) && r.push(i), _.returnFocusOnDeactivate && (y = document.activeElement), _.initialFocus ? l(() => {
|
|
72
|
+
D() || T(_.initialFocus);
|
|
73
|
+
}) : _.focusWithinOnActivate && l(() => {
|
|
74
|
+
D() || S();
|
|
75
|
+
})) : t && (i && n(i), E());
|
|
76
|
+
}, { immediate: !0 }), (e, t) => (f(), o(i, null, [
|
|
77
|
+
_.active && _.wrap ? (f(), o("span", {
|
|
59
78
|
key: 0,
|
|
60
79
|
class: "q-focus-wrap",
|
|
61
80
|
tabindex: "0",
|
|
62
81
|
"data-focus-wall": "true",
|
|
63
|
-
onFocus:
|
|
64
|
-
}, null, 32)) :
|
|
65
|
-
|
|
66
|
-
|
|
82
|
+
onFocus: C
|
|
83
|
+
}, null, 32)) : a("", !0),
|
|
84
|
+
s("span", g, [p(e.$slots, "default")], 512),
|
|
85
|
+
_.active && _.wrap ? (f(), o("span", {
|
|
67
86
|
key: 1,
|
|
68
87
|
class: "q-focus-wrap",
|
|
69
88
|
tabindex: "0",
|
|
70
89
|
"data-focus-wall": "true",
|
|
71
|
-
onFocus:
|
|
72
|
-
}, null, 32)) :
|
|
90
|
+
onFocus: S
|
|
91
|
+
}, null, 32)) : a("", !0)
|
|
73
92
|
], 64));
|
|
74
93
|
}
|
|
75
94
|
});
|
|
76
95
|
//#endregion
|
|
77
|
-
export {
|
|
96
|
+
export { _ as default };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
declare const QFocusWrap: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QFocusWrapProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
3
|
active: boolean;
|
|
4
|
+
wrap: boolean;
|
|
4
5
|
focusWithinOnActivate: boolean;
|
|
5
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
6
7
|
container: HTMLSpanElement;
|
|
@@ -13,6 +14,7 @@ declare const QFocusWrap: {
|
|
|
13
14
|
Defaults: {};
|
|
14
15
|
}, Readonly<import('./types').QFocusWrapProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
15
16
|
active: boolean;
|
|
17
|
+
wrap: boolean;
|
|
16
18
|
focusWithinOnActivate: boolean;
|
|
17
19
|
}>;
|
|
18
20
|
__isFragment?: never;
|
|
@@ -20,6 +22,7 @@ declare const QFocusWrap: {
|
|
|
20
22
|
__isSuspense?: never;
|
|
21
23
|
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QFocusWrapProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
22
24
|
active: boolean;
|
|
25
|
+
wrap: boolean;
|
|
23
26
|
focusWithinOnActivate: boolean;
|
|
24
27
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
25
28
|
$slots: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA+B,CAAA;AAG/C,OAAO,EAAE,UAAU,EAAE,CAAA;AAGrB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The containers of the active focus wraps that keep Tab inside them, the newest last. Focus
|
|
3
|
+
* returned when one deactivates must stay inside the newest one left: two dialogs opened in the
|
|
4
|
+
* same tick remember the same element to return to, the button behind both.
|
|
5
|
+
*/
|
|
6
|
+
export declare const wrappingContainers: HTMLElement[];
|
|
7
|
+
/**
|
|
8
|
+
* Removes a container from the stack, if it is in it.
|
|
9
|
+
*
|
|
10
|
+
* @param container - The container of a focus wrap.
|
|
11
|
+
*/
|
|
12
|
+
export declare function removeWrappingContainer(container: HTMLElement): void;
|
|
13
|
+
/** The newest container in the stack that is still on the page. */
|
|
14
|
+
export declare function newestWrappingContainer(): HTMLElement | undefined;
|
|
15
|
+
//# sourceMappingURL=stack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/stack.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,kBAAkB,EAAE,WAAW,EAAO,CAAA;AAEnD;;;;GAIG;AACH,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,WAAW,QAG7D;AAED,mEAAmE;AACnE,wBAAgB,uBAAuB,IAAI,WAAW,GAAG,SAAS,CAKjE"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region src/components/QFocusWrap/stack.ts
|
|
2
|
+
var e = [];
|
|
3
|
+
function t(t) {
|
|
4
|
+
let n = e.indexOf(t);
|
|
5
|
+
n >= 0 && e.splice(n, 1);
|
|
6
|
+
}
|
|
7
|
+
function n() {
|
|
8
|
+
for (let t = e.length - 1; t >= 0; t--) if (e[t].isConnected) return e[t];
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { n as newestWrappingContainer, t as removeWrappingContainer, e as wrappingContainers };
|
|
@@ -9,6 +9,14 @@ export type QFocusWrapProps = QBaseComponentProps & {
|
|
|
9
9
|
* @category Behavior
|
|
10
10
|
*/
|
|
11
11
|
active?: boolean;
|
|
12
|
+
/**
|
|
13
|
+
* Whether Tab wraps around inside the contents while active. Without it, the focus wrap still
|
|
14
|
+
* moves focus in when it activates and back when it deactivates, but Tab can leave it, as in
|
|
15
|
+
* a non-modal dialog. Defaults to true.
|
|
16
|
+
*
|
|
17
|
+
* @category Behavior
|
|
18
|
+
*/
|
|
19
|
+
wrap?: boolean;
|
|
12
20
|
/**
|
|
13
21
|
* Element to set focus on when the focus wrap is activated.
|
|
14
22
|
* Has priority over focusWithinOnActivate
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IACnD;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1C;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,MAAM,CAAA"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QFocusWrap/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAEhE,MAAM,MAAM,eAAe,GAAG,mBAAmB,GAAG;IACnD;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1C;;;;;OAKG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;IAE/B;;;;;OAKG;IACH,YAAY,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IAE1C;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;CACjC,CAAA;AAED,MAAM,MAAM,0BAA0B,GAAG,OAAO,GAAG,MAAM,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"AA+JA;
|
|
1
|
+
{"version":3,"file":"QGauge.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QGauge/QGauge.vue"],"names":[],"mappings":"AA+JA;AAsgBC,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO3C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,GAAG,CAAA;AA6BpC,KAAK,WAAW,GAAG,WAAW,CAAC;AA2UhC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA6LT,OAAO,IAA6B;;QAjgBhD;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;QALvE;;;;WAIG;gBACK,CAAC,KAAK,EAAE;YAAE,KAAK,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC;YAAC,GAAG,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;EAigBxE;AAkCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;wFASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,52 +2,53 @@ import { useId as e } from "../../composables/useId/index.js";
|
|
|
2
2
|
import { useTheme as t } from "../../composables/theme.js";
|
|
3
3
|
import { resolveColor as n } from "../../composables/useColor/index.js";
|
|
4
4
|
import { DEFAULT_TEXTS as r } from "./constants.js";
|
|
5
|
-
import {
|
|
5
|
+
import { clamp as i } from "../../utils/boundedValue.js";
|
|
6
|
+
import { Fragment as a, computed as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, defineComponent as d, mergeModels as f, normalizeClass as p, normalizeStyle as ee, openBlock as m, renderList as h, renderSlot as te, toDisplayString as g, toRef as _, unref as ne, useModel as re } from "vue";
|
|
6
7
|
//#region src/components/QGauge/QGauge.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var
|
|
8
|
+
var ie = [
|
|
8
9
|
"id",
|
|
9
10
|
"aria-labelledby",
|
|
10
11
|
"aria-valuemin",
|
|
11
12
|
"aria-valuemax",
|
|
12
13
|
"aria-valuenow",
|
|
13
14
|
"aria-valuetext"
|
|
14
|
-
],
|
|
15
|
+
], ae = ["id"], oe = { class: "q-gauge__visual" }, se = {
|
|
15
16
|
class: "q-gauge__svg",
|
|
16
17
|
viewBox: "0 0 240 158",
|
|
17
18
|
"aria-hidden": "true",
|
|
18
19
|
focusable: "false"
|
|
19
|
-
},
|
|
20
|
+
}, ce = ["d"], le = ["d"], ue = [
|
|
20
21
|
"d",
|
|
21
22
|
"stroke",
|
|
22
23
|
"data-range-from",
|
|
23
24
|
"data-range-to"
|
|
24
|
-
],
|
|
25
|
+
], de = ["data-value"], fe = [
|
|
25
26
|
"x1",
|
|
26
27
|
"y1",
|
|
27
28
|
"x2",
|
|
28
29
|
"y2"
|
|
29
|
-
],
|
|
30
|
+
], pe = ["x", "y"], me = ["data-target", "data-target-state"], he = [
|
|
30
31
|
"x1",
|
|
31
32
|
"y1",
|
|
32
33
|
"x2",
|
|
33
34
|
"y2"
|
|
34
|
-
],
|
|
35
|
+
], ge = [
|
|
35
36
|
"x1",
|
|
36
37
|
"y1",
|
|
37
38
|
"x2",
|
|
38
39
|
"y2"
|
|
39
|
-
],
|
|
40
|
+
], _e = ["x", "y"], ve = ["transform"], ye = { class: "q-gauge__value-row" }, be = { class: "q-gauge__value" }, xe = {
|
|
40
41
|
key: 0,
|
|
41
42
|
class: "q-gauge__unit"
|
|
42
|
-
},
|
|
43
|
+
}, Se = {
|
|
43
44
|
key: 1,
|
|
44
45
|
class: "q-gauge__secondary"
|
|
45
|
-
},
|
|
46
|
+
}, Ce = {
|
|
46
47
|
key: 2,
|
|
47
48
|
class: "q-gauge__legend"
|
|
48
|
-
},
|
|
49
|
+
}, we = { class: "q-gauge__legend-label" }, Te = { class: "q-gauge__legend-label" }, v = 120, y = 126, b = 86, x = 73, S = 97, C = 59, w = 68, T = 104, E = 116, D = 70, O = 180, k = 360, A = /*@__PURE__*/ d({
|
|
49
50
|
__name: "QGauge",
|
|
50
|
-
props: /*@__PURE__*/
|
|
51
|
+
props: /*@__PURE__*/ f({
|
|
51
52
|
id: {},
|
|
52
53
|
class: {},
|
|
53
54
|
min: { default: 0 },
|
|
@@ -79,73 +80,73 @@ var re = [
|
|
|
79
80
|
}),
|
|
80
81
|
emits: ["update:modelValue"],
|
|
81
82
|
setup(r) {
|
|
82
|
-
let
|
|
83
|
+
let d = r, f = re(r, "modelValue"), A = k - O, j = e(_(d, "id")), Ee = t(), M = o(() => Number.isFinite(d.min) ? d.min : 0), N = o(() => Number.isFinite(d.max) && d.max > M.value ? d.max : M.value + 1), P = o(() => Number.isFinite(f.value) ? f.value : M.value), F = o(() => i(P.value, M.value, N.value)), I = o(() => typeof d.target == "number" && Number.isFinite(d.target) ? d.target : void 0), L = o(() => `${j.value}-label`), R = o(() => !!d.label), De = o(() => !!d.unit), Oe = o(() => !!d.secondaryLabel), z = o(() => typeof d.valueLabel == "string" ? d.valueLabel : d.valueLabel ? d.valueLabel(P.value, M.value, N.value) : String(P.value)), B = o(() => {
|
|
83
84
|
if (I.value === void 0) return;
|
|
84
|
-
if (typeof
|
|
85
|
-
if (
|
|
86
|
-
let e =
|
|
85
|
+
if (typeof d.targetLabel == "string") return d.targetLabel;
|
|
86
|
+
if (d.targetLabel) return d.targetLabel(I.value, M.value, N.value);
|
|
87
|
+
let e = d.unit ? ` ${d.unit}` : "";
|
|
87
88
|
return `${Q(I.value)}${e}`;
|
|
88
|
-
}),
|
|
89
|
+
}), ke = o(() => {
|
|
89
90
|
let e = B.value;
|
|
90
|
-
return e === void 0 ||
|
|
91
|
-
}), V =
|
|
92
|
-
if (I.value !== void 0) return
|
|
93
|
-
}), H =
|
|
91
|
+
return e === void 0 || d.targetLabel !== void 0 ? e : `${d.texts.target} ${e}`;
|
|
92
|
+
}), V = o(() => {
|
|
93
|
+
if (I.value !== void 0) return d.targetComparison === "at-most" ? P.value <= I.value : P.value >= I.value;
|
|
94
|
+
}), H = o(() => {
|
|
94
95
|
if (V.value !== void 0) return V.value ? "achieved" : "missed";
|
|
95
|
-
}),
|
|
96
|
-
if (H.value) return H.value === "achieved" ?
|
|
97
|
-
}), U =
|
|
96
|
+
}), Ae = o(() => {
|
|
97
|
+
if (H.value) return H.value === "achieved" ? d.texts.targetAchieved : d.texts.targetNotAchieved;
|
|
98
|
+
}), U = o(() => (d.ranges ?? []).flatMap((e) => {
|
|
98
99
|
if (!Number.isFinite(e.from) || !Number.isFinite(e.to) || e.to <= e.from) return [];
|
|
99
100
|
let t = Math.max(M.value, e.from), r = Math.min(N.value, e.to);
|
|
100
101
|
return r <= t ? [] : [{
|
|
101
102
|
from: t,
|
|
102
103
|
to: r,
|
|
103
|
-
color: n(e.color,
|
|
104
|
+
color: n(e.color, Ee.current.value.scheme),
|
|
104
105
|
label: e.label,
|
|
105
106
|
path: Z(Y(t), Y(r), b)
|
|
106
107
|
}];
|
|
107
|
-
})), W =
|
|
108
|
+
})), W = o(() => U.value.flatMap((e) => e.label ? [{
|
|
108
109
|
from: e.from,
|
|
109
110
|
to: e.to,
|
|
110
111
|
color: e.color,
|
|
111
112
|
label: e.label
|
|
112
|
-
}] : [])), G =
|
|
113
|
+
}] : [])), G = o(() => d.showTargetLegend && K.value ? [{
|
|
113
114
|
state: "achieved",
|
|
114
|
-
label:
|
|
115
|
+
label: d.texts.targetAchieved
|
|
115
116
|
}, {
|
|
116
117
|
state: "missed",
|
|
117
|
-
label:
|
|
118
|
-
}] : []),
|
|
119
|
-
if (
|
|
120
|
-
let e = Math.max(2, Math.floor(Number.isFinite(
|
|
118
|
+
label: d.texts.targetNotAchieved
|
|
119
|
+
}] : []), je = o(() => d.showLegend && (W.value.length > 0 || G.value.length > 0)), Me = o(() => {
|
|
120
|
+
if (d.ticks) return [...new Set(d.ticks)].filter((e) => Number.isFinite(e) && e >= M.value && e <= N.value).sort((e, t) => e - t);
|
|
121
|
+
let e = Math.max(2, Math.floor(Number.isFinite(d.tickCount) ? d.tickCount : 5)), t = (N.value - M.value) / (e - 1);
|
|
121
122
|
return Array.from({ length: e }, (e, n) => M.value + t * n);
|
|
122
|
-
}),
|
|
123
|
+
}), Ne = o(() => Me.value.map((e) => {
|
|
123
124
|
let t = Y(e);
|
|
124
125
|
return {
|
|
125
126
|
value: e,
|
|
126
127
|
inner: X(t, x),
|
|
127
128
|
outer: X(t, S),
|
|
128
|
-
label:
|
|
129
|
-
text:
|
|
129
|
+
label: Re(t),
|
|
130
|
+
text: d.tickFormatter ? d.tickFormatter(e) : Q(e)
|
|
130
131
|
};
|
|
131
|
-
})), K =
|
|
132
|
+
})), K = o(() => {
|
|
132
133
|
if (I.value === void 0 || I.value < M.value || I.value > N.value) return;
|
|
133
134
|
let e = Y(I.value);
|
|
134
135
|
return {
|
|
135
136
|
value: I.value,
|
|
136
137
|
inner: X(e, w),
|
|
137
138
|
outer: X(e, T),
|
|
138
|
-
label:
|
|
139
|
+
label: ze(e)
|
|
139
140
|
};
|
|
140
|
-
}), q =
|
|
141
|
+
}), q = o(() => Z(O, k, b)), Pe = o(() => Y(F.value)), Fe = o(() => `rotate(${Q(Pe.value - 270)} ${v} ${y})`), J = o(() => {
|
|
141
142
|
let e;
|
|
142
143
|
for (let t of U.value) F.value >= t.from && F.value <= t.to && (e = t.label);
|
|
143
144
|
return e;
|
|
144
|
-
}),
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
145
|
+
}), Ie = o(() => d.valueLabel === void 0 ? [z.value, d.unit].filter(Boolean).join(" ") : z.value), Le = o(() => [
|
|
146
|
+
Ie.value,
|
|
147
|
+
J.value,
|
|
148
|
+
ke.value,
|
|
149
|
+
Ae.value
|
|
149
150
|
].filter(Boolean).join(" "));
|
|
150
151
|
function Y(e) {
|
|
151
152
|
return O + (e - M.value) / (N.value - M.value) * A;
|
|
@@ -157,14 +158,14 @@ var re = [
|
|
|
157
158
|
y: $(y + t * Math.sin(n))
|
|
158
159
|
};
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
+
function Re(e) {
|
|
161
162
|
let t = X(e, C);
|
|
162
163
|
return e === O || e === k ? {
|
|
163
164
|
x: t.x,
|
|
164
165
|
y: $(t.y + 14)
|
|
165
166
|
} : t;
|
|
166
167
|
}
|
|
167
|
-
function
|
|
168
|
+
function ze(e) {
|
|
168
169
|
let t = X(e, E);
|
|
169
170
|
return e === O ? {
|
|
170
171
|
x: $(t.x + 16),
|
|
@@ -184,121 +185,121 @@ var re = [
|
|
|
184
185
|
function $(e) {
|
|
185
186
|
return Number(e.toFixed(3));
|
|
186
187
|
}
|
|
187
|
-
return (e, t) => (
|
|
188
|
-
id:
|
|
189
|
-
class:
|
|
188
|
+
return (e, t) => (m(), c("div", {
|
|
189
|
+
id: ne(j),
|
|
190
|
+
class: p(["q-gauge", d.class]),
|
|
190
191
|
role: "meter",
|
|
191
192
|
"aria-labelledby": R.value ? L.value : void 0,
|
|
192
193
|
"aria-valuemin": M.value,
|
|
193
194
|
"aria-valuemax": N.value,
|
|
194
195
|
"aria-valuenow": F.value,
|
|
195
|
-
"aria-valuetext":
|
|
196
|
+
"aria-valuetext": Le.value
|
|
196
197
|
}, [
|
|
197
|
-
R.value ? (
|
|
198
|
+
R.value ? (m(), c("div", {
|
|
198
199
|
key: 0,
|
|
199
200
|
id: L.value,
|
|
200
201
|
class: "q-gauge__label"
|
|
201
|
-
},
|
|
202
|
-
|
|
203
|
-
|
|
202
|
+
}, g(d.label), 9, ae)) : s("", !0),
|
|
203
|
+
l("div", oe, [(m(), c("svg", se, [
|
|
204
|
+
l("path", {
|
|
204
205
|
class: "q-gauge__track-shadow",
|
|
205
206
|
d: q.value
|
|
206
|
-
}, null, 8,
|
|
207
|
-
|
|
207
|
+
}, null, 8, ce),
|
|
208
|
+
l("path", {
|
|
208
209
|
class: "q-gauge__track",
|
|
209
210
|
d: q.value
|
|
210
|
-
}, null, 8,
|
|
211
|
-
(
|
|
211
|
+
}, null, 8, le),
|
|
212
|
+
(m(!0), c(a, null, h(U.value, (e, t) => (m(), c("path", {
|
|
212
213
|
key: `${e.from}-${e.to}-${t}`,
|
|
213
214
|
class: "q-gauge__range",
|
|
214
215
|
d: e.path,
|
|
215
216
|
stroke: e.color,
|
|
216
217
|
"data-range-from": e.from,
|
|
217
218
|
"data-range-to": e.to
|
|
218
|
-
}, null, 8,
|
|
219
|
-
(
|
|
219
|
+
}, null, 8, ue))), 128)),
|
|
220
|
+
(m(!0), c(a, null, h(Ne.value, (e) => (m(), c("g", {
|
|
220
221
|
key: e.value,
|
|
221
222
|
class: "q-gauge__tick",
|
|
222
223
|
"data-value": e.value
|
|
223
|
-
}, [
|
|
224
|
+
}, [l("line", {
|
|
224
225
|
x1: e.inner.x,
|
|
225
226
|
y1: e.inner.y,
|
|
226
227
|
x2: e.outer.x,
|
|
227
228
|
y2: e.outer.y
|
|
228
|
-
}, null, 8,
|
|
229
|
+
}, null, 8, fe), l("text", {
|
|
229
230
|
x: e.label.x,
|
|
230
231
|
y: e.label.y
|
|
231
|
-
},
|
|
232
|
-
K.value ? (
|
|
232
|
+
}, g(e.text), 9, pe)], 8, de))), 128)),
|
|
233
|
+
K.value ? (m(), c("g", {
|
|
233
234
|
key: 0,
|
|
234
|
-
class:
|
|
235
|
+
class: p(["q-gauge__target", `q-gauge__target--${H.value}`]),
|
|
235
236
|
"data-target": K.value.value,
|
|
236
237
|
"data-target-state": H.value
|
|
237
238
|
}, [
|
|
238
|
-
|
|
239
|
+
l("line", {
|
|
239
240
|
class: "q-gauge__target-outline",
|
|
240
241
|
x1: K.value.inner.x,
|
|
241
242
|
y1: K.value.inner.y,
|
|
242
243
|
x2: K.value.outer.x,
|
|
243
244
|
y2: K.value.outer.y
|
|
244
|
-
}, null, 8,
|
|
245
|
-
|
|
245
|
+
}, null, 8, he),
|
|
246
|
+
l("line", {
|
|
246
247
|
class: "q-gauge__target-line",
|
|
247
248
|
x1: K.value.inner.x,
|
|
248
249
|
y1: K.value.inner.y,
|
|
249
250
|
x2: K.value.outer.x,
|
|
250
251
|
y2: K.value.outer.y
|
|
251
|
-
}, null, 8,
|
|
252
|
-
|
|
252
|
+
}, null, 8, ge),
|
|
253
|
+
d.showTargetValue ? (m(), c("text", {
|
|
253
254
|
key: 0,
|
|
254
255
|
class: "q-gauge__target-value",
|
|
255
256
|
x: K.value.label.x,
|
|
256
257
|
y: K.value.label.y
|
|
257
|
-
},
|
|
258
|
-
], 10,
|
|
259
|
-
|
|
258
|
+
}, g(B.value), 9, _e)) : s("", !0)
|
|
259
|
+
], 10, me)) : s("", !0),
|
|
260
|
+
l("g", {
|
|
260
261
|
class: "q-gauge__needle",
|
|
261
|
-
transform:
|
|
262
|
-
}, [
|
|
262
|
+
transform: Fe.value
|
|
263
|
+
}, [l("line", {
|
|
263
264
|
x1: v,
|
|
264
265
|
y1: y,
|
|
265
266
|
x2: v,
|
|
266
267
|
y2: D
|
|
267
|
-
})], 8,
|
|
268
|
-
|
|
268
|
+
})], 8, ve),
|
|
269
|
+
l("circle", {
|
|
269
270
|
class: "q-gauge__hub",
|
|
270
271
|
cx: v,
|
|
271
272
|
cy: y,
|
|
272
273
|
r: "21"
|
|
273
274
|
}),
|
|
274
|
-
|
|
275
|
+
l("circle", {
|
|
275
276
|
class: "q-gauge__hub-center",
|
|
276
277
|
cx: v,
|
|
277
278
|
cy: y,
|
|
278
279
|
r: "12"
|
|
279
280
|
})
|
|
280
281
|
]))]),
|
|
281
|
-
|
|
282
|
+
l("div", ye, [l("span", be, [te(e.$slots, "value", {
|
|
282
283
|
value: P.value,
|
|
283
284
|
min: M.value,
|
|
284
285
|
max: N.value
|
|
285
|
-
}, () => [
|
|
286
|
-
|
|
287
|
-
|
|
286
|
+
}, () => [u(g(z.value), 1)])]), De.value ? (m(), c("span", xe, g(d.unit), 1)) : s("", !0)]),
|
|
287
|
+
Oe.value ? (m(), c("div", Se, g(d.secondaryLabel), 1)) : s("", !0),
|
|
288
|
+
je.value ? (m(), c("ul", Ce, [(m(!0), c(a, null, h(W.value, (e, t) => (m(), c("li", {
|
|
288
289
|
key: `${e.from}-${e.to}-${t}`,
|
|
289
290
|
class: "q-gauge__legend-item"
|
|
290
|
-
}, [
|
|
291
|
+
}, [l("span", {
|
|
291
292
|
class: "q-gauge__legend-swatch",
|
|
292
293
|
style: ee({ backgroundColor: e.color })
|
|
293
|
-
}, null, 4),
|
|
294
|
+
}, null, 4), l("span", we, g(e.label), 1)]))), 128)), (m(!0), c(a, null, h(G.value, (e) => (m(), c("li", {
|
|
294
295
|
key: e.state,
|
|
295
|
-
class:
|
|
296
|
+
class: p([
|
|
296
297
|
"q-gauge__legend-item",
|
|
297
298
|
"q-gauge__legend-item--target",
|
|
298
299
|
{ "q-gauge__legend-item--active": e.state === H.value }
|
|
299
300
|
])
|
|
300
|
-
}, [
|
|
301
|
-
], 10,
|
|
301
|
+
}, [l("span", { class: p(["q-gauge__legend-target", `q-gauge__legend-target--${e.state}`]) }, null, 2), l("span", Te, g(e.label), 1)], 2))), 128))])) : s("", !0)
|
|
302
|
+
], 10, ie));
|
|
302
303
|
}
|
|
303
304
|
});
|
|
304
305
|
//#endregion
|
|
@@ -9,8 +9,8 @@ declare function __VLS_template(): {
|
|
|
9
9
|
};
|
|
10
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
11
|
declare const __VLS_component: import('vue').DefineComponent<QRowProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QRowProps> & Readonly<{}>, {
|
|
12
|
-
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
13
12
|
gutter: number;
|
|
13
|
+
justify: "start" | "center" | "end" | "between" | "around" | "evenly";
|
|
14
14
|
align: "start" | "center" | "end" | "baseline" | "stretch";
|
|
15
15
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
16
16
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|