@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
|
@@ -6,7 +6,7 @@ declare const QBadge: {
|
|
|
6
6
|
}, import('vue').PublicProps, {
|
|
7
7
|
color: string;
|
|
8
8
|
variant: import('./types').QBadgeVariant;
|
|
9
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
9
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
10
10
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
11
11
|
focusable: boolean;
|
|
12
12
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -21,7 +21,7 @@ declare const QBadge: {
|
|
|
21
21
|
}>, {}, {}, {}, {}, {
|
|
22
22
|
color: string;
|
|
23
23
|
variant: import('./types').QBadgeVariant;
|
|
24
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
24
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
25
25
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
26
26
|
focusable: boolean;
|
|
27
27
|
}>;
|
|
@@ -35,7 +35,7 @@ declare const QBadge: {
|
|
|
35
35
|
}, string, {
|
|
36
36
|
color: string;
|
|
37
37
|
variant: import('./types').QBadgeVariant;
|
|
38
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
38
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
39
39
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
40
40
|
focusable: boolean;
|
|
41
41
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
-
import { QBaseComponentProps, QComponentSize } from '../../types/component';
|
|
2
|
+
import { QBaseComponentProps, QComponentSize, QIcons } from '../../types/component';
|
|
3
3
|
export type QBadgeVariant = 'tonal' | 'bold' | 'outlined';
|
|
4
4
|
export type QBadgeProps = QBaseComponentProps & {
|
|
5
5
|
/**
|
|
@@ -53,7 +53,7 @@ export type QBadgeProps = QBaseComponentProps & {
|
|
|
53
53
|
*
|
|
54
54
|
* @category Configuration
|
|
55
55
|
*/
|
|
56
|
-
icons?: typeof DEFAULT_ICONS
|
|
56
|
+
icons?: QIcons<keyof typeof DEFAULT_ICONS>;
|
|
57
57
|
/**
|
|
58
58
|
* Custom texts.
|
|
59
59
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBadge/types.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAExF,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,CAAA;AAEzD,MAAM,MAAM,WAAW,GAAG,mBAAmB,GAAG;IAC/C;;;;OAIG;IACH,OAAO,CAAC,EAAE,aAAa,CAAA;IAEvB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;OAIG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;OAKG;IACH,IAAI,CAAC,EAAE,cAAc,CAAA;IAErB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;OAIG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;IAE1C;;;;OAIG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -31,7 +31,6 @@ var _ = ["id"], v = {
|
|
|
31
31
|
class: l(["q-badge-indicator__wrapper", y.class])
|
|
32
32
|
}, [
|
|
33
33
|
d(e.$slots, "default"),
|
|
34
|
-
a(" Never removable, so no remove icon or text "),
|
|
35
34
|
y.enabled ? (u(), i(m(n), {
|
|
36
35
|
key: 0,
|
|
37
36
|
pill: "",
|
|
@@ -46,8 +45,8 @@ var _ = ["id"], v = {
|
|
|
46
45
|
"class",
|
|
47
46
|
"color",
|
|
48
47
|
"aria-hidden"
|
|
49
|
-
])) : a("
|
|
50
|
-
y.enabled && y.ariaLabel ? (u(), o("span", v, f(y.ariaLabel), 1)) : a("
|
|
48
|
+
])) : a("", !0),
|
|
49
|
+
y.enabled && y.ariaLabel ? (u(), o("span", v, f(y.ariaLabel), 1)) : a("", !0)
|
|
51
50
|
], 10, _));
|
|
52
51
|
}
|
|
53
52
|
});
|
|
@@ -10,7 +10,7 @@ declare const _default: import('vue').DefineComponent<QBreadcrumbProps, {}, {},
|
|
|
10
10
|
readonly label?: string | undefined;
|
|
11
11
|
readonly help?: string | undefined;
|
|
12
12
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
13
|
-
readonly icons?: typeof import('../QButton/constants').DEFAULT_ICONS | undefined;
|
|
13
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS> | undefined;
|
|
14
14
|
readonly texts?: typeof import('../QButton/constants').DEFAULT_TEXTS | undefined;
|
|
15
15
|
readonly variant?: import('..').QButtonVariant | undefined;
|
|
16
16
|
readonly color?: string | undefined;
|
|
@@ -47,12 +47,12 @@ declare const _default: import('vue').DefineComponent<QBreadcrumbProps, {}, {},
|
|
|
47
47
|
click: (event: MouseEvent) => any;
|
|
48
48
|
}, string, {
|
|
49
49
|
color: string;
|
|
50
|
-
effect: import('..').QButtonEffect;
|
|
51
50
|
variant: import('..').QButtonVariant;
|
|
52
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
51
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
53
52
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
54
53
|
helpDisplay: import('../..').QHelpDisplay;
|
|
55
54
|
iconPos: import('..').QButtonIconPosition;
|
|
55
|
+
effect: import('..').QButtonEffect;
|
|
56
56
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
57
57
|
beforeCreate?: (() => void) | (() => void)[];
|
|
58
58
|
created?: (() => void) | (() => void)[];
|
|
@@ -75,15 +75,15 @@ declare const _default: import('vue').DefineComponent<QBreadcrumbProps, {}, {},
|
|
|
75
75
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
76
76
|
} & Readonly<{
|
|
77
77
|
color: string;
|
|
78
|
-
effect: import('..').QButtonEffect;
|
|
79
78
|
variant: import('..').QButtonVariant;
|
|
80
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
79
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
81
80
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
82
81
|
helpDisplay: import('../..').QHelpDisplay;
|
|
83
82
|
iconPos: import('..').QButtonIconPosition;
|
|
83
|
+
effect: import('..').QButtonEffect;
|
|
84
84
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
85
85
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
86
|
-
}>, "color" | "
|
|
86
|
+
}>, "color" | "variant" | "icons" | "texts" | "helpDisplay" | "iconPos" | "effect"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
87
87
|
$slots: {
|
|
88
88
|
default?(_: {}): any;
|
|
89
89
|
append?(_: {}): any;
|
|
@@ -55,7 +55,7 @@ var E = ["id", "aria-hidden"], D = { class: "q-breadcrumbs__label" }, O = {
|
|
|
55
55
|
"aria-hidden": C(B) ? void 0 : !0,
|
|
56
56
|
tabindex: C(B) ? void 0 : -1
|
|
57
57
|
}), {
|
|
58
|
-
default: T(() => [k.icon ? (y(), s(C(t), h({ key: 0 }, k.icon, { class: "q-breadcrumbs__icon" }), null, 16)) : c("
|
|
58
|
+
default: T(() => [k.icon ? (y(), s(C(t), h({ key: 0 }, k.icon, { class: "q-breadcrumbs__icon" }), null, 16)) : c("", !0), u("span", D, x(k.label), 1)]),
|
|
59
59
|
_: 1
|
|
60
60
|
}, 16, [
|
|
61
61
|
"aria-current",
|
|
@@ -81,8 +81,8 @@ var E = ["id", "aria-hidden"], D = { class: "q-breadcrumbs__label" }, O = {
|
|
|
81
81
|
"items",
|
|
82
82
|
"activator",
|
|
83
83
|
"icons"
|
|
84
|
-
])], 64)) : c("
|
|
85
|
-
C(U) ? (y(), l("span", O, [C(P) ? (y(), s(b(C(P)), { key: 0 })) : (y(), s(C(t), _(h({ key: 1 }, C(j).separator)), null, 16))])) : c("
|
|
84
|
+
])], 64)) : c("", !0),
|
|
85
|
+
C(U) ? (y(), l("span", O, [C(P) ? (y(), s(b(C(P)), { key: 0 })) : (y(), s(C(t), _(h({ key: 1 }, C(j).separator)), null, 16))])) : c("", !0)
|
|
86
86
|
], 10, E));
|
|
87
87
|
}
|
|
88
88
|
});
|
|
@@ -8,7 +8,7 @@ declare function __VLS_template(): {
|
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<QBreadcrumbsProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<QBreadcrumbsProps> & Readonly<{}>, {
|
|
11
|
-
icons: typeof DEFAULT_ICONS
|
|
11
|
+
icons: import('../..').QIcons<keyof typeof DEFAULT_ICONS>;
|
|
12
12
|
texts: typeof DEFAULT_TEXTS;
|
|
13
13
|
maxVisible: number;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QBreadcrumbs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/QBreadcrumbs.vue"],"names":[],"mappings":"AAaA;AA2LC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAyK9D,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;;;EAKjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"QBreadcrumbs.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/QBreadcrumbs.vue"],"names":[],"mappings":"AAaA;AA2LC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAO1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAyK9D,iBAAS,cAAc;WA2BT,OAAO,IAA6B;;;;EAKjD;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;wCA7NpB,oBAvI+B;;;qFA4W9B,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,12 +1,12 @@
|
|
|
1
1
|
import { useId as e } from "../../composables/useId/index.js";
|
|
2
2
|
import { DEFAULT_ICONS as t, DEFAULT_TEXTS as n } from "./constants.js";
|
|
3
3
|
import { BreadcrumbsSymbol as r } from "./context.js";
|
|
4
|
-
import { computed as i,
|
|
4
|
+
import { computed as i, createElementBlock as a, createElementVNode as o, defineComponent as s, normalizeClass as c, openBlock as l, provide as u, renderSlot as d, shallowRef as f, toRef as p, unref as m, useSlots as h } from "vue";
|
|
5
5
|
//#region src/components/QBreadcrumbs/QBreadcrumbs.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var
|
|
6
|
+
var g = ["id", "aria-label"], _ = {
|
|
7
7
|
class: "q-breadcrumbs__list",
|
|
8
8
|
role: "list"
|
|
9
|
-
},
|
|
9
|
+
}, v = /*@__PURE__*/ s({
|
|
10
10
|
__name: "QBreadcrumbs",
|
|
11
11
|
props: {
|
|
12
12
|
id: {},
|
|
@@ -17,18 +17,18 @@ var _ = ["id", "aria-label"], v = {
|
|
|
17
17
|
texts: { default: () => n }
|
|
18
18
|
},
|
|
19
19
|
setup(t) {
|
|
20
|
-
let n = t,
|
|
20
|
+
let n = t, s = h(), v = e(p(n, "id")), y = i(() => s.separator), b = i(() => n.ariaLabel ?? n.texts.label), x = i(() => ["q-breadcrumbs", n.class]), S = f([]), C = i(() => Math.max(3, n.maxVisible)), w = i(() => S.value.length > C.value), T = i(() => w.value ? S.value.length - 2 - (C.value - 3) : 0);
|
|
21
|
+
function E(e) {
|
|
22
|
+
return S.value.findIndex((t) => t.id === e);
|
|
23
|
+
}
|
|
21
24
|
function D(e) {
|
|
22
|
-
return
|
|
25
|
+
return e <= 0 || e >= S.value.length - 1 ? !1 : e - 1 < T.value;
|
|
23
26
|
}
|
|
24
27
|
function O(e) {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
let t = i(() => O(D(e.id))), n = i(() => t.value && D(e.id) === 1), r = i(() => {
|
|
30
|
-
let t = D(e.id);
|
|
31
|
-
return t !== -1 && t === C.value.length - 1;
|
|
28
|
+
S.value = [...S.value, e];
|
|
29
|
+
let t = i(() => D(E(e.id))), n = i(() => t.value && E(e.id) === 1), r = i(() => {
|
|
30
|
+
let t = E(e.id);
|
|
31
|
+
return t !== -1 && t === S.value.length - 1;
|
|
32
32
|
});
|
|
33
33
|
return {
|
|
34
34
|
isVisible: i(() => !t.value),
|
|
@@ -37,32 +37,32 @@ var _ = ["id", "aria-label"], v = {
|
|
|
37
37
|
showSeparator: i(() => (!t.value || n.value) && !r.value)
|
|
38
38
|
};
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
40
|
+
function k(e) {
|
|
41
|
+
S.value = S.value.filter((t) => t.id !== e);
|
|
42
42
|
}
|
|
43
|
-
let
|
|
43
|
+
let A = i(() => T.value === 0 ? [] : S.value.slice(1, 1 + T.value).reverse().map((e) => ({
|
|
44
44
|
key: e.id,
|
|
45
45
|
label: e.label.value,
|
|
46
46
|
icon: e.icon.value,
|
|
47
47
|
disabled: e.disabled.value
|
|
48
48
|
})));
|
|
49
|
-
function
|
|
50
|
-
|
|
49
|
+
function j(e) {
|
|
50
|
+
S.value.find((t) => t.id === e)?.triggerEl.value?.click();
|
|
51
51
|
}
|
|
52
|
-
return
|
|
53
|
-
register:
|
|
54
|
-
unregister:
|
|
55
|
-
collapsedItems:
|
|
56
|
-
selectCollapsed:
|
|
57
|
-
icons:
|
|
58
|
-
texts:
|
|
59
|
-
separatorSlot:
|
|
60
|
-
}), (e, t) => (
|
|
61
|
-
id:
|
|
62
|
-
class:
|
|
63
|
-
"aria-label":
|
|
64
|
-
}, [
|
|
52
|
+
return u(r, {
|
|
53
|
+
register: O,
|
|
54
|
+
unregister: k,
|
|
55
|
+
collapsedItems: A,
|
|
56
|
+
selectCollapsed: j,
|
|
57
|
+
icons: p(n, "icons"),
|
|
58
|
+
texts: p(n, "texts"),
|
|
59
|
+
separatorSlot: y
|
|
60
|
+
}), (e, t) => (l(), a("nav", {
|
|
61
|
+
id: m(v),
|
|
62
|
+
class: c(x.value),
|
|
63
|
+
"aria-label": b.value
|
|
64
|
+
}, [o("ol", _, [d(e.$slots, "default")])], 10, g));
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
//#endregion
|
|
68
|
-
export {
|
|
68
|
+
export { v as default };
|
|
@@ -2,6 +2,7 @@ import { ComputedRef, InjectionKey, Ref } from 'vue';
|
|
|
2
2
|
import { QIconProps } from '../QIcon';
|
|
3
3
|
import { QBreadcrumbsSlots } from '.';
|
|
4
4
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
5
|
+
import { QIcons } from '../../types/component';
|
|
5
6
|
/**
|
|
6
7
|
* Metadata registered by each {@link QBreadcrumb} with its parent {@link QBreadcrumbs}.
|
|
7
8
|
*
|
|
@@ -87,7 +88,7 @@ export type QBreadcrumbsContext = {
|
|
|
87
88
|
*/
|
|
88
89
|
selectCollapsed: (id: string) => void;
|
|
89
90
|
/** Icons from `QBreadcrumbs`' `icons` prop (every key of {@link DEFAULT_ICONS}). */
|
|
90
|
-
icons: Readonly<Ref<typeof DEFAULT_ICONS
|
|
91
|
+
icons: Readonly<Ref<QIcons<keyof typeof DEFAULT_ICONS>>>;
|
|
91
92
|
/** Accessible strings from `QBreadcrumbs`' `texts` prop (every key of {@link DEFAULT_TEXTS}). */
|
|
92
93
|
texts: Readonly<Ref<typeof DEFAULT_TEXTS>>;
|
|
93
94
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/context.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAC1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,GAAG,CAAA;AAC1C,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AAEnD;;;;;GAKG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACrC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAA;IAEV;;OAEG;IACH,KAAK,EAAE,WAAW,CAAC,MAAM,CAAC,CAAA;IAE1B;;OAEG;IACH,IAAI,EAAE,WAAW,CAAC,UAAU,GAAG,SAAS,CAAC,CAAA;IAEzC;;;;OAIG;IACH,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE9B;;;;;;;;OAQG;IACH,SAAS,EAAE,WAAW,CAAC,WAAW,GAAG,IAAI,CAAC,CAAA;CAC1C,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC9B,qFAAqF;IACrF,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE/B,+FAA+F;IAC/F,SAAS,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAE/B,0FAA0F;IAC1F,iBAAiB,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAEvC,+DAA+D;IAC/D,aAAa,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;CACnC,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IACjC;;;;;;OAMG;IACH,QAAQ,EAAE,CAAC,KAAK,EAAE,uBAAuB,KAAK,gBAAgB,CAAA;IAE9D;;;;OAIG;IACH,UAAU,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAEhC;;;OAGG;IACH,cAAc,EAAE,WAAW,CAC1B;QAAE,GAAG,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,CAAC,EAAE,UAAU,CAAC;QAAC,QAAQ,EAAE,OAAO,CAAA;KAAE,EAAE,CACtE,CAAA;IAED;;;;;OAKG;IACH,eAAe,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAErC,oFAAoF;IACpF,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC,CAAC,CAAA;IAExD,iGAAiG;IACjG,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,CAAA;IAE1C;;;OAGG;IACH,aAAa,EAAE,WAAW,CAAC,iBAAiB,CAAC,WAAW,CAAC,CAAC,CAAA;CAC1D,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,iBAAiB,EAAE,YAAY,CAAC,mBAAmB,CAA2B,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
declare const QBreadcrumbs: {
|
|
2
2
|
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').QBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
3
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
3
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
4
4
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
5
5
|
maxVisible: number;
|
|
6
6
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLElement, import('vue').ComponentProvideOptions, {
|
|
@@ -11,7 +11,7 @@ declare const QBreadcrumbs: {
|
|
|
11
11
|
M: {};
|
|
12
12
|
Defaults: {};
|
|
13
13
|
}, Readonly<import('./types').QBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
14
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
14
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
15
15
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
16
16
|
maxVisible: number;
|
|
17
17
|
}>;
|
|
@@ -19,7 +19,7 @@ declare const QBreadcrumbs: {
|
|
|
19
19
|
__isTeleport?: never;
|
|
20
20
|
__isSuspense?: never;
|
|
21
21
|
} & import('vue').ComponentOptionsBase<Readonly<import('./types').QBreadcrumbsProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
22
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
22
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
23
23
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
24
24
|
maxVisible: number;
|
|
25
25
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
@@ -36,7 +36,7 @@ declare const QBreadcrumb: import('vue').DefineComponent<import('./types').QBrea
|
|
|
36
36
|
readonly label?: string | undefined;
|
|
37
37
|
readonly help?: string | undefined;
|
|
38
38
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
39
|
-
readonly icons?: typeof import('../QButton/constants').DEFAULT_ICONS | undefined;
|
|
39
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS> | undefined;
|
|
40
40
|
readonly texts?: typeof import('../QButton/constants').DEFAULT_TEXTS | undefined;
|
|
41
41
|
readonly variant?: import('..').QButtonVariant | undefined;
|
|
42
42
|
readonly color?: string | undefined;
|
|
@@ -73,12 +73,12 @@ declare const QBreadcrumb: import('vue').DefineComponent<import('./types').QBrea
|
|
|
73
73
|
click: (event: MouseEvent) => any;
|
|
74
74
|
}, string, {
|
|
75
75
|
color: string;
|
|
76
|
-
effect: import('..').QButtonEffect;
|
|
77
76
|
variant: import('..').QButtonVariant;
|
|
78
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
77
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
79
78
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
80
79
|
helpDisplay: import('../..').QHelpDisplay;
|
|
81
80
|
iconPos: import('..').QButtonIconPosition;
|
|
81
|
+
effect: import('..').QButtonEffect;
|
|
82
82
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
83
83
|
beforeCreate?: (() => void) | (() => void)[];
|
|
84
84
|
created?: (() => void) | (() => void)[];
|
|
@@ -101,15 +101,15 @@ declare const QBreadcrumb: import('vue').DefineComponent<import('./types').QBrea
|
|
|
101
101
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
102
102
|
} & Readonly<{
|
|
103
103
|
color: string;
|
|
104
|
-
effect: import('..').QButtonEffect;
|
|
105
104
|
variant: import('..').QButtonVariant;
|
|
106
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
105
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
107
106
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
108
107
|
helpDisplay: import('../..').QHelpDisplay;
|
|
109
108
|
iconPos: import('..').QButtonIconPosition;
|
|
109
|
+
effect: import('..').QButtonEffect;
|
|
110
110
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
111
111
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
112
|
-
}>, "color" | "
|
|
112
|
+
}>, "color" | "variant" | "icons" | "texts" | "helpDisplay" | "iconPos" | "effect"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
113
113
|
$slots: {
|
|
114
114
|
default?(_: {}): any;
|
|
115
115
|
append?(_: {}): any;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
2
|
-
import { QBaseComponentProps } from '../../types/component';
|
|
2
|
+
import { QBaseComponentProps, QIcons } from '../../types/component';
|
|
3
3
|
import { QIconProps } from '../QIcon';
|
|
4
4
|
/**
|
|
5
5
|
* A Vue Router route location.
|
|
@@ -40,7 +40,7 @@ export type QBreadcrumbsProps = QBaseComponentProps & {
|
|
|
40
40
|
*
|
|
41
41
|
* @category Configuration
|
|
42
42
|
*/
|
|
43
|
-
icons?: typeof DEFAULT_ICONS
|
|
43
|
+
icons?: QIcons<keyof typeof DEFAULT_ICONS>;
|
|
44
44
|
/**
|
|
45
45
|
* Custom accessible strings.
|
|
46
46
|
* Pass every key, or omit the prop to keep the defaults.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QBreadcrumbs/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAG/D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AAE1C;;;;;;;;GAQG;AACH,MAAM,MAAM,wBAAwB,GAAG,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;AAEvE;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,GAAG,mBAAmB,GAAG;IACrD;;;;;;;;OAQG;IACH,UAAU,CAAC,EAAE,MAAM,CAAA;IAEnB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAA;IAElB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;IAE1C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC/B,yDAAyD;IACzD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAA;IAEpB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACtB,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,mBAAmB,GAAG;IACpD;;;;;;;OAOG;IACH,KAAK,EAAE,MAAM,CAAA;IAEb;;;;;OAKG;IACH,IAAI,CAAC,EAAE,UAAU,CAAA;IAEjB;;;;;;OAMG;IACH,EAAE,CAAC,EAAE,wBAAwB,CAAA;IAE7B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,MAAM,CAAA;CACb,CAAA"}
|
|
@@ -18,12 +18,12 @@ declare const __VLS_component: import('vue').DefineComponent<QButtonProps, {}, {
|
|
|
18
18
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
19
19
|
}>, {
|
|
20
20
|
color: string;
|
|
21
|
-
effect: import('./types').QButtonEffect;
|
|
22
21
|
variant: import('./types').QButtonVariant;
|
|
23
|
-
icons: typeof DEFAULT_ICONS
|
|
22
|
+
icons: import('../..').QIcons<keyof typeof DEFAULT_ICONS>;
|
|
24
23
|
texts: typeof DEFAULT_TEXTS;
|
|
25
24
|
helpDisplay: import('../..').QHelpDisplay;
|
|
26
25
|
iconPos: import('./types').QButtonIconPosition;
|
|
26
|
+
effect: import('./types').QButtonEffect;
|
|
27
27
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
28
28
|
buttonEl: HTMLButtonElement;
|
|
29
29
|
}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAuEA;
|
|
1
|
+
{"version":3,"file":"QButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QButton/QButton.vue"],"names":[],"mappings":"AAuEA;AAkTC,OAAO,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAY1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAsOtC,iBAAS,cAAc;WAiJT,OAAO,IAA6B;;yBAbpB,GAAG;wBACJ,GAAG;;;;;;EAiB/B;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;wCAzapB,oBAxO8B;;;;;;;OA0pB7B,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"}
|
|
@@ -6,7 +6,7 @@ import { QHelpPopover as a } from "../__internal__/QHelpPopover/index.js";
|
|
|
6
6
|
import { QSpinnerLoader as o } from "../QSpinnerLoader/index.js";
|
|
7
7
|
import { QTooltip as s } from "../QTooltip/index.js";
|
|
8
8
|
import { describedHelpText as c, helpElementId as l, mergeDescribedBy as ee, resolveHelp as u } from "../__internal__/QHelpPopover/resolveHelp.js";
|
|
9
|
-
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, h as
|
|
9
|
+
import { Fragment as d, computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, h as b, mergeProps as x, normalizeStyle as S, openBlock as C, ref as w, renderList as te, renderSlot as T, toDisplayString as E, toRef as D, unref as O, useAttrs as ne, useSlots as re, useTemplateRef as ie, withCtx as k, withModifiers as A } from "vue";
|
|
10
10
|
//#region src/components/QButton/QButton.vue?vue&type=script&setup=true&lang.ts
|
|
11
11
|
var j = [
|
|
12
12
|
"id",
|
|
@@ -48,28 +48,32 @@ var j = [
|
|
|
48
48
|
},
|
|
49
49
|
emits: ["click"],
|
|
50
50
|
setup(t, { emit: n }) {
|
|
51
|
-
let y = t, R = n, z = e(D(y, "id")), B = ne(), V =
|
|
51
|
+
let y = t, R = n, z = e(D(y, "id")), B = ne(), V = re();
|
|
52
|
+
function H() {
|
|
53
|
+
return !!y.label || i(V.default, { textOnly: !0 });
|
|
54
|
+
}
|
|
55
|
+
let U = f(() => typeof B["aria-describedby"] == "string" ? B["aria-describedby"] : void 0), W = ie("buttonEl"), G = f(() => l(z.value)), K = f(() => u({
|
|
52
56
|
help: y.help,
|
|
53
57
|
helpDisplay: y.helpDisplay
|
|
54
|
-
})),
|
|
55
|
-
|
|
56
|
-
let
|
|
57
|
-
function
|
|
58
|
+
})), q = f(() => c(K.value)), J = f(() => !!(K.value.popoverText || K.value.inlineText || K.value.tooltipText)), Y = (e, { slots: t }) => e.wrap ? b("span", { class: "q-button__root" }, [t.default?.(), t.help?.()]) : t.default?.()[0];
|
|
59
|
+
Y.props = { wrap: Boolean };
|
|
60
|
+
let ae = f(() => K.value.inlineText || q.value ? G.value : void 0), oe = f(() => y.disabled || y.loading), X = w(!1), se = f(() => y.disabled || y.loading && !X.value), Z = w([]), Q = 0;
|
|
61
|
+
function ce(e) {
|
|
58
62
|
let t = e.currentTarget.getBoundingClientRect(), n = Math.hypot(t.width, t.height) * 2, r = e.clientX !== 0 || e.clientY !== 0, i = e.clientX - t.left, a = e.clientY - t.top, o = r && i >= 0 && i <= t.width && a >= 0 && a <= t.height, s = o ? i : t.width / 2, c = o ? a : t.height / 2;
|
|
59
63
|
Z.value.push({
|
|
60
|
-
id:
|
|
64
|
+
id: Q++,
|
|
61
65
|
x: s - n / 2,
|
|
62
66
|
y: c - n / 2,
|
|
63
67
|
size: n
|
|
64
68
|
});
|
|
65
69
|
}
|
|
66
|
-
function
|
|
70
|
+
function le(e) {
|
|
67
71
|
Z.value = Z.value.filter((t) => t.id !== e);
|
|
68
72
|
}
|
|
69
|
-
function
|
|
70
|
-
|
|
73
|
+
function ue(e) {
|
|
74
|
+
oe.value || (y.effect === "ripple" && ce(e), R("click", e));
|
|
71
75
|
}
|
|
72
|
-
let { style:
|
|
76
|
+
let { style: $ } = r(D(y, "color"), D(y, "surface")), de = f(() => {
|
|
73
77
|
let e = y.size === "small" || y.size === "large" ? `q-button--${y.size}` : void 0, t = y.iconPos === "start" ? void 0 : `q-button--icon-${y.iconPos}`;
|
|
74
78
|
return [
|
|
75
79
|
"q-button",
|
|
@@ -77,33 +81,33 @@ var j = [
|
|
|
77
81
|
e,
|
|
78
82
|
t,
|
|
79
83
|
{
|
|
80
|
-
"q-button--labeled": y.label,
|
|
81
84
|
"q-button--borderless": y.borderless,
|
|
82
85
|
"q-button--elevated": y.elevated,
|
|
83
86
|
"q-button--block": y.block,
|
|
84
87
|
"q-button--loading": y.loading,
|
|
85
|
-
"q-button--pill": y.pill
|
|
88
|
+
"q-button--pill": y.pill,
|
|
89
|
+
"q-button--on-surface": !!y.surface
|
|
86
90
|
},
|
|
87
91
|
y.class
|
|
88
92
|
];
|
|
89
|
-
}),
|
|
90
|
-
if (
|
|
91
|
-
"--q-button-main-color":
|
|
92
|
-
"--q-button-main-color-rgb":
|
|
93
|
-
"--q-button-on-main-color":
|
|
94
|
-
"--q-button-text-color":
|
|
95
|
-
"--q-button-hover-text-color":
|
|
96
|
-
"--q-button-hover-color":
|
|
97
|
-
"--q-button-hover-color-rgb":
|
|
98
|
-
"--q-button-on-hover-color":
|
|
93
|
+
}), fe = f(() => {
|
|
94
|
+
if ($.value) return {
|
|
95
|
+
"--q-button-main-color": $.value.mainColor,
|
|
96
|
+
"--q-button-main-color-rgb": $.value.mainColorRgb,
|
|
97
|
+
"--q-button-on-main-color": $.value.onMainColor,
|
|
98
|
+
"--q-button-text-color": $.value.textColor,
|
|
99
|
+
"--q-button-hover-text-color": $.value.hoverTextColor,
|
|
100
|
+
"--q-button-hover-color": $.value.hoverColor,
|
|
101
|
+
"--q-button-hover-color-rgb": $.value.hoverColorRgb,
|
|
102
|
+
"--q-button-on-hover-color": $.value.onHoverColor
|
|
99
103
|
};
|
|
100
104
|
});
|
|
101
|
-
return (e, t) => (
|
|
105
|
+
return (e, t) => (C(), p(Y, { wrap: J.value }, {
|
|
102
106
|
help: k(() => [
|
|
103
|
-
|
|
107
|
+
K.value.popoverText ? (C(), p(O(a), {
|
|
104
108
|
key: 0,
|
|
105
109
|
label: y.label,
|
|
106
|
-
text:
|
|
110
|
+
text: K.value.popoverText,
|
|
107
111
|
icons: y.icons,
|
|
108
112
|
texts: y.texts
|
|
109
113
|
}, null, 8, [
|
|
@@ -111,58 +115,58 @@ var j = [
|
|
|
111
115
|
"text",
|
|
112
116
|
"icons",
|
|
113
117
|
"texts"
|
|
114
|
-
])) : m("
|
|
115
|
-
|
|
118
|
+
])) : m("", !0),
|
|
119
|
+
K.value.inlineText ? (C(), h("span", {
|
|
116
120
|
key: 1,
|
|
117
|
-
id:
|
|
121
|
+
id: G.value,
|
|
118
122
|
class: "q-button__help"
|
|
119
|
-
}, E(
|
|
120
|
-
|
|
123
|
+
}, E(K.value.inlineText), 9, I)) : m("", !0),
|
|
124
|
+
q.value ? (C(), h("span", {
|
|
121
125
|
key: 2,
|
|
122
|
-
id:
|
|
126
|
+
id: G.value,
|
|
123
127
|
class: "q-sr-only"
|
|
124
|
-
}, E(
|
|
125
|
-
|
|
128
|
+
}, E(q.value), 9, L)) : m("", !0),
|
|
129
|
+
K.value.tooltipText && W.value ? (C(), p(O(s), {
|
|
126
130
|
key: 3,
|
|
127
|
-
anchor:
|
|
128
|
-
text:
|
|
131
|
+
anchor: W.value,
|
|
132
|
+
text: K.value.tooltipText,
|
|
129
133
|
html: !1
|
|
130
|
-
}, null, 8, ["anchor", "text"])) : m("
|
|
134
|
+
}, null, 8, ["anchor", "text"])) : m("", !0)
|
|
131
135
|
]),
|
|
132
|
-
default: k(() => [g("button",
|
|
136
|
+
default: k(() => [g("button", x({
|
|
133
137
|
id: O(z),
|
|
134
138
|
ref_key: "buttonEl",
|
|
135
|
-
ref:
|
|
139
|
+
ref: W,
|
|
136
140
|
type: "button",
|
|
137
|
-
class:
|
|
138
|
-
disabled:
|
|
141
|
+
class: [de.value, { "q-button--labeled": H() }],
|
|
142
|
+
disabled: se.value,
|
|
139
143
|
tabindex: y.tabindex,
|
|
140
|
-
style:
|
|
144
|
+
style: fe.value,
|
|
141
145
|
"aria-disabled": y.loading && !y.disabled || void 0,
|
|
142
146
|
"aria-busy": y.loading || void 0
|
|
143
147
|
}, e.$attrs, {
|
|
144
|
-
"aria-describedby": O(ee)(
|
|
148
|
+
"aria-describedby": O(ee)(ae.value, U.value),
|
|
145
149
|
onFocus: t[0] ||= (e) => X.value = !0,
|
|
146
150
|
onBlur: t[1] ||= (e) => X.value = !1,
|
|
147
|
-
onClick: A(
|
|
151
|
+
onClick: A(ue, ["stop", "prevent"])
|
|
148
152
|
}), [
|
|
149
|
-
y.loading ? (
|
|
153
|
+
y.loading ? (C(), h("div", M, [v(O(o))])) : m("", !0),
|
|
150
154
|
g("span", N, [
|
|
151
155
|
T(e.$slots, "default"),
|
|
152
156
|
_(" " + E(y.label) + " ", 1),
|
|
153
|
-
O(i)(e.$slots.append) ? (
|
|
157
|
+
O(i)(e.$slots.append) ? (C(), h("span", P, [T(e.$slots, "append")])) : m("", !0)
|
|
154
158
|
]),
|
|
155
|
-
(
|
|
159
|
+
(C(!0), h(d, null, te(Z.value, (e) => (C(), h("span", {
|
|
156
160
|
key: e.id,
|
|
157
161
|
class: "q-button__ripple",
|
|
158
|
-
style:
|
|
162
|
+
style: S({
|
|
159
163
|
left: `${e.x}px`,
|
|
160
164
|
top: `${e.y}px`,
|
|
161
165
|
width: `${e.size}px`,
|
|
162
166
|
height: `${e.size}px`
|
|
163
167
|
}),
|
|
164
168
|
"aria-hidden": "true",
|
|
165
|
-
onAnimationend: (t) =>
|
|
169
|
+
onAnimationend: (t) => le(e.id)
|
|
166
170
|
}, null, 44, F))), 128))
|
|
167
171
|
], 16, j)]),
|
|
168
172
|
_: 3
|
|
@@ -5,12 +5,12 @@ declare const QButton: {
|
|
|
5
5
|
click: (event: MouseEvent) => any;
|
|
6
6
|
}, import('vue').PublicProps, {
|
|
7
7
|
color: string;
|
|
8
|
-
effect: import('./types').QButtonEffect;
|
|
9
8
|
variant: import('./types').QButtonVariant;
|
|
10
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
9
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
11
10
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
12
11
|
helpDisplay: import('../..').QHelpDisplay;
|
|
13
12
|
iconPos: import('./types').QButtonIconPosition;
|
|
13
|
+
effect: import('./types').QButtonEffect;
|
|
14
14
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
15
15
|
buttonEl: HTMLButtonElement;
|
|
16
16
|
}, any, import('vue').ComponentProvideOptions, {
|
|
@@ -24,12 +24,12 @@ declare const QButton: {
|
|
|
24
24
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
25
25
|
}>, {}, {}, {}, {}, {
|
|
26
26
|
color: string;
|
|
27
|
-
effect: import('./types').QButtonEffect;
|
|
28
27
|
variant: import('./types').QButtonVariant;
|
|
29
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
28
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
30
29
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
31
30
|
helpDisplay: import('../..').QHelpDisplay;
|
|
32
31
|
iconPos: import('./types').QButtonIconPosition;
|
|
32
|
+
effect: import('./types').QButtonEffect;
|
|
33
33
|
}>;
|
|
34
34
|
__isFragment?: never;
|
|
35
35
|
__isTeleport?: never;
|
|
@@ -40,12 +40,12 @@ declare const QButton: {
|
|
|
40
40
|
click: (event: MouseEvent) => any;
|
|
41
41
|
}, string, {
|
|
42
42
|
color: string;
|
|
43
|
-
effect: import('./types').QButtonEffect;
|
|
44
43
|
variant: import('./types').QButtonVariant;
|
|
45
|
-
icons: typeof import('./constants').DEFAULT_ICONS
|
|
44
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
46
45
|
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
47
46
|
helpDisplay: import('../..').QHelpDisplay;
|
|
48
47
|
iconPos: import('./types').QButtonIconPosition;
|
|
48
|
+
effect: import('./types').QButtonEffect;
|
|
49
49
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
50
50
|
$slots: {
|
|
51
51
|
default?(_: {}): any;
|