@quidgest/ui 0.31.2 → 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 +39 -0
- package/dist/json/api.json +1027 -243
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +849 -277
- package/dist/ui.esm.js +1584 -1360
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +940 -300
- package/lib/components/QAccordion/QAccordion.d.ts +1 -1
- package/lib/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/lib/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/lib/components/QAccordion/QAccordionItem.vue.js +5 -5
- package/lib/components/QAccordion/index.d.ts +6 -6
- package/lib/components/QAccordion/types.d.ts +2 -2
- package/lib/components/QAccordion/types.d.ts.map +1 -1
- package/lib/components/QAlert/QAlert.d.ts +1 -1
- package/lib/components/QAlert/QAlert.d.ts.map +1 -1
- package/lib/components/QAlert/QAlert.vue.js +78 -74
- package/lib/components/QAlert/index.d.ts +3 -3
- package/lib/components/QAlert/types.d.ts +20 -2
- package/lib/components/QAlert/types.d.ts.map +1 -1
- package/lib/components/QAvatar/QAvatar.d.ts +1 -1
- package/lib/components/QAvatar/index.d.ts +3 -3
- package/lib/components/QBadge/QBadge.d.ts +1 -1
- package/lib/components/QBadge/QBadge.d.ts.map +1 -1
- package/lib/components/QBadge/QBadge.vue.js +64 -55
- package/lib/components/QBadge/index.d.ts +3 -3
- package/lib/components/QBadge/types.d.ts +2 -2
- package/lib/components/QBadge/types.d.ts.map +1 -1
- package/lib/components/QBadgeIndicator/QBadgeIndicator.vue.js +2 -3
- package/lib/components/QBreadcrumbs/QBreadcrumb.d.ts +6 -6
- package/lib/components/QBreadcrumbs/QBreadcrumb.vue.js +3 -3
- package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts +1 -1
- package/lib/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/lib/components/QBreadcrumbs/QBreadcrumbs.vue.js +31 -31
- package/lib/components/QBreadcrumbs/context.d.ts +2 -1
- package/lib/components/QBreadcrumbs/context.d.ts.map +1 -1
- package/lib/components/QBreadcrumbs/index.d.ts +9 -9
- package/lib/components/QBreadcrumbs/types.d.ts +2 -2
- package/lib/components/QBreadcrumbs/types.d.ts.map +1 -1
- package/lib/components/QButton/QButton.d.ts +2 -2
- package/lib/components/QButton/QButton.d.ts.map +1 -1
- package/lib/components/QButton/QButton.vue.js +53 -49
- package/lib/components/QButton/index.d.ts +6 -6
- package/lib/components/QButton/types.d.ts +2 -2
- package/lib/components/QButton/types.d.ts.map +1 -1
- package/lib/components/QCard/QCard.vue.js +9 -20
- package/lib/components/QCarousel/QCarousel.d.ts +4 -4
- package/lib/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/lib/components/QCarousel/QCarousel.vue.js +10 -16
- package/lib/components/QCarousel/index.d.ts +14 -14
- package/lib/components/QCarousel/types.d.ts +2 -2
- package/lib/components/QCarousel/types.d.ts.map +1 -1
- package/lib/components/QCheckbox/QCheckbox.d.ts +3 -22
- package/lib/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/lib/components/QCheckbox/QCheckbox.vue.js +98 -100
- package/lib/components/QCheckbox/constants.d.ts +9 -0
- package/lib/components/QCheckbox/constants.d.ts.map +1 -1
- package/lib/components/QCheckbox/constants.js +4 -4
- package/lib/components/QCheckbox/index.d.ts +10 -72
- package/lib/components/QCheckbox/index.d.ts.map +1 -1
- package/lib/components/QCheckbox/types.d.ts +2 -8
- package/lib/components/QCheckbox/types.d.ts.map +1 -1
- package/lib/components/QCollapsible/QCollapsible.d.ts +1 -1
- package/lib/components/QCollapsible/QCollapsible.d.ts.map +1 -1
- package/lib/components/QCollapsible/QCollapsible.vue.js +20 -27
- package/lib/components/QCollapsible/index.d.ts +6 -6
- package/lib/components/QCollapsible/types.d.ts +2 -2
- package/lib/components/QCollapsible/types.d.ts.map +1 -1
- package/lib/components/QColorPicker/QColorPicker.d.ts +4 -18
- package/lib/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/lib/components/QColorPicker/QColorPicker.vue.js +52 -35
- package/lib/components/QColorPicker/constants.d.ts +4 -0
- package/lib/components/QColorPicker/constants.d.ts.map +1 -1
- package/lib/components/QColorPicker/index.d.ts +13 -57
- package/lib/components/QColorPicker/index.d.ts.map +1 -1
- package/lib/components/QColorPicker/types.d.ts +2 -2
- package/lib/components/QColorPicker/types.d.ts.map +1 -1
- package/lib/components/QCombobox/QCombobox.d.ts +355 -299
- package/lib/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/lib/components/QCombobox/QCombobox.vue.js +236 -190
- package/lib/components/QCombobox/constants.d.ts +5 -0
- package/lib/components/QCombobox/constants.d.ts.map +1 -1
- package/lib/components/QCombobox/constants.js +1 -0
- package/lib/components/QCombobox/index.d.ts +265 -424
- package/lib/components/QCombobox/index.d.ts.map +1 -1
- package/lib/components/QCombobox/types.d.ts +2 -2
- package/lib/components/QCombobox/types.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.d.ts +106 -229
- package/lib/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/QDateTimePicker.vue.js +829 -722
- package/lib/components/QDateTimePicker/constants.d.ts +6 -1
- package/lib/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/constants.js +2 -1
- package/lib/components/QDateTimePicker/index.d.ts +73 -229
- package/lib/components/QDateTimePicker/index.d.ts.map +1 -1
- package/lib/components/QDateTimePicker/types.d.ts +2 -1
- package/lib/components/QDateTimePicker/types.d.ts.map +1 -1
- package/lib/components/QDialog/QDialog.d.ts +22 -10
- package/lib/components/QDialog/QDialog.d.ts.map +1 -1
- package/lib/components/QDialog/QDialog.vue.js +143 -108
- package/lib/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/lib/components/QDialog/QDialogProvider.vue.js +8 -3
- package/lib/components/QDialog/constants.d.ts +19 -1
- package/lib/components/QDialog/constants.d.ts.map +1 -1
- package/lib/components/QDialog/constants.js +16 -11
- package/lib/components/QDialog/index.d.ts +39 -23
- package/lib/components/QDialog/index.d.ts.map +1 -1
- package/lib/components/QDialog/types.d.ts +24 -13
- package/lib/components/QDialog/types.d.ts.map +1 -1
- package/lib/components/QDivider/QDivider.d.ts.map +1 -1
- package/lib/components/QDivider/QDivider.vue.js +23 -13
- package/lib/components/QDivider/types.d.ts +9 -0
- package/lib/components/QDivider/types.d.ts.map +1 -1
- package/lib/components/QDrawer/QDrawer.d.ts +71 -0
- package/lib/components/QDrawer/QDrawer.d.ts.map +1 -0
- package/lib/components/QDrawer/QDrawer.vue.js +458 -0
- package/lib/components/QDrawer/QDrawer2.vue.js +5 -0
- package/lib/components/QDrawer/constants.d.ts +22 -0
- package/lib/components/QDrawer/constants.d.ts.map +1 -0
- package/lib/components/QDrawer/constants.js +14 -0
- package/lib/components/QDrawer/index.d.ts +214 -0
- package/lib/components/QDrawer/index.d.ts.map +1 -0
- package/lib/components/QDrawer/index.js +6 -0
- package/lib/components/QDrawer/types.d.ts +221 -0
- package/lib/components/QDrawer/types.d.ts.map +1 -0
- package/lib/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenu.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenu.vue.js +59 -52
- package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts +118 -42
- package/lib/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/QDropdownMenuContent.vue.js +213 -185
- package/lib/components/QDropdownMenu/ids.d.ts +6 -0
- package/lib/components/QDropdownMenu/ids.d.ts.map +1 -1
- package/lib/components/QDropdownMenu/ids.js +4 -1
- package/lib/components/QDropdownMenu/index.d.ts +6 -6
- package/lib/components/QDropdownMenu/types.d.ts +6 -4
- package/lib/components/QDropdownMenu/types.d.ts.map +1 -1
- package/lib/components/QField/QField.d.ts +18 -17
- package/lib/components/QField/QField.d.ts.map +1 -1
- package/lib/components/QField/QField.vue.js +65 -50
- package/lib/components/QField/constants.d.ts +10 -3
- package/lib/components/QField/constants.d.ts.map +1 -1
- package/lib/components/QField/constants.js +4 -2
- package/lib/components/QField/index.d.ts +12 -11
- package/lib/components/QField/index.d.ts.map +1 -1
- package/lib/components/QField/types.d.ts +6 -5
- package/lib/components/QField/types.d.ts.map +1 -1
- package/lib/components/QFileUpload/QFileUpload.d.ts +28 -54
- package/lib/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/lib/components/QFileUpload/QFileUpload.vue.js +43 -39
- package/lib/components/QFileUpload/constants.d.ts +4 -0
- package/lib/components/QFileUpload/constants.d.ts.map +1 -1
- package/lib/components/QFileUpload/index.d.ts +25 -105
- package/lib/components/QFileUpload/index.d.ts.map +1 -1
- package/lib/components/QFileUpload/types.d.ts +2 -1
- package/lib/components/QFileUpload/types.d.ts.map +1 -1
- package/lib/components/QFocusWrap/QFocusWrap.d.ts +1 -0
- package/lib/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/lib/components/QFocusWrap/QFocusWrap.vue.js +60 -41
- package/lib/components/QFocusWrap/index.d.ts +3 -0
- package/lib/components/QFocusWrap/index.d.ts.map +1 -1
- package/lib/components/QFocusWrap/stack.d.ts +15 -0
- package/lib/components/QFocusWrap/stack.d.ts.map +1 -0
- package/lib/components/QFocusWrap/stack.js +11 -0
- package/lib/components/QFocusWrap/types.d.ts +8 -0
- package/lib/components/QFocusWrap/types.d.ts.map +1 -1
- package/lib/components/QGauge/QGauge.d.ts.map +1 -1
- package/lib/components/QGauge/QGauge.vue.js +87 -86
- package/lib/components/QGrid/QRow.d.ts +1 -1
- package/lib/components/QGrid/index.d.ts +3 -3
- package/lib/components/QIcon/QSvgSymbol.d.ts +1 -1
- package/lib/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/lib/components/QIcon/QSvgSymbol.vue.js +31 -31
- package/lib/components/QIcon/utils/svgSource.d.ts +2 -2
- package/lib/components/QIcon/utils/svgSource.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.d.ts +27 -24
- package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.vue.js +19 -11
- package/lib/components/QInputGroup/index.d.ts +14 -12
- package/lib/components/QInputGroup/index.d.ts.map +1 -1
- package/lib/components/QLabel/QLabel.vue.js +1 -2
- package/lib/components/QList/QList.d.ts +46 -17
- package/lib/components/QList/QList.d.ts.map +1 -1
- package/lib/components/QList/QList.vue.js +470 -195
- package/lib/components/QList/QListItem.d.ts +1 -1
- package/lib/components/QList/QListItem.d.ts.map +1 -1
- package/lib/components/QList/QListItem.vue.js +33 -32
- package/lib/components/QList/QListItemGroup.vue.js +1 -1
- package/lib/components/QList/constants.d.ts +26 -0
- package/lib/components/QList/constants.d.ts.map +1 -1
- package/lib/components/QList/context.d.ts +12 -1
- package/lib/components/QList/context.d.ts.map +1 -1
- package/lib/components/QList/context.js +2 -2
- package/lib/components/QList/index.d.ts +79 -22
- package/lib/components/QList/index.d.ts.map +1 -1
- package/lib/components/QList/types.d.ts +11 -9
- package/lib/components/QList/types.d.ts.map +1 -1
- package/lib/components/QMeter/QMeter.d.ts.map +1 -1
- package/lib/components/QMeter/QMeter.vue.js +27 -26
- package/lib/components/QObfuscation/QObfuscation.d.ts +8 -26
- package/lib/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/lib/components/QObfuscation/QObfuscation.vue.js +137 -113
- package/lib/components/QObfuscation/constants.d.ts +4 -0
- package/lib/components/QObfuscation/constants.d.ts.map +1 -1
- package/lib/components/QObfuscation/index.d.ts +26 -81
- package/lib/components/QObfuscation/index.d.ts.map +1 -1
- package/lib/components/QObfuscation/types.d.ts +10 -1
- package/lib/components/QObfuscation/types.d.ts.map +1 -1
- package/lib/components/QOverflow/QOverflow.d.ts +7 -3
- package/lib/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/lib/components/QOverflow/QOverflow.vue.js +131 -108
- package/lib/components/QOverflow/constants.d.ts +4 -1
- package/lib/components/QOverflow/constants.d.ts.map +1 -1
- package/lib/components/QOverflow/index.d.ts +3 -3
- package/lib/components/QOverflow/types.d.ts +7 -4
- package/lib/components/QOverflow/types.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.d.ts +14 -5
- package/lib/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/lib/components/QOverlay/QOverlay.vue.js +183 -158
- package/lib/components/QOverlay/index.d.ts +105 -13
- package/lib/components/QOverlay/index.d.ts.map +1 -1
- package/lib/components/QOverlay/layers.d.ts +21 -0
- package/lib/components/QOverlay/layers.d.ts.map +1 -0
- package/lib/components/QOverlay/layers.js +11 -0
- package/lib/components/QOverlay/types.d.ts +0 -6
- package/lib/components/QOverlay/types.d.ts.map +1 -1
- package/lib/components/QPasswordField/QPasswordField.d.ts +52 -170
- package/lib/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/lib/components/QPasswordField/QPasswordField.vue.js +8 -3
- package/lib/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +2 -3
- package/lib/components/QPasswordField/constants.d.ts +4 -0
- package/lib/components/QPasswordField/constants.d.ts.map +1 -1
- package/lib/components/QPasswordField/index.d.ts +29 -170
- package/lib/components/QPasswordField/index.d.ts.map +1 -1
- package/lib/components/QPasswordField/types.d.ts +2 -1
- package/lib/components/QPasswordField/types.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.d.ts +485 -622
- package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.vue.js +20 -13
- package/lib/components/QPhoneField/constants.d.ts +4 -0
- package/lib/components/QPhoneField/constants.d.ts.map +1 -1
- package/lib/components/QPhoneField/index.d.ts +257 -393
- package/lib/components/QPhoneField/index.d.ts.map +1 -1
- package/lib/components/QPhoneField/types.d.ts +5 -2
- package/lib/components/QPhoneField/types.d.ts.map +1 -1
- package/lib/components/QPopover/QPopover.d.ts +1 -1
- package/lib/components/QPopover/QPopover.d.ts.map +1 -1
- package/lib/components/QPopover/QPopover.vue.js +64 -42
- package/lib/components/QPopover/index.d.ts +3 -3
- package/lib/components/QPopover/types.d.ts +7 -2
- package/lib/components/QPopover/types.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.d.ts.map +1 -1
- package/lib/components/QProgress/QProgress.vue.js +47 -46
- package/lib/components/QPropertyList/QPropertyList.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyList.vue.js +3 -3
- package/lib/components/QPropertyList/QPropertyListGroup.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyListGroup.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.d.ts +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.d.ts.map +1 -1
- package/lib/components/QPropertyList/QPropertyListRow.vue.js +59 -44
- package/lib/components/QPropertyList/index.d.ts +8 -8
- package/lib/components/QPropertyList/index.d.ts.map +1 -1
- package/lib/components/QPropertyList/types.d.ts +3 -3
- package/lib/components/QPropertyList/types.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioButton.vue.js +5 -2
- package/lib/components/QRadioGroup/QRadioGroup.d.ts +1 -1
- package/lib/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/lib/components/QRadioGroup/QRadioGroup.vue.js +19 -18
- package/lib/components/QRadioGroup/index.d.ts +1 -6
- package/lib/components/QRadioGroup/index.d.ts.map +1 -1
- package/lib/components/QRadioGroup/types.d.ts +0 -6
- package/lib/components/QRadioGroup/types.d.ts.map +1 -1
- package/lib/components/QSection/QSection.d.ts +3 -3
- package/lib/components/QSection/QSection.d.ts.map +1 -1
- package/lib/components/QSection/QSection.vue.js +52 -45
- package/lib/components/QSection/index.d.ts +4 -4
- package/lib/components/QSection/types.d.ts +10 -2
- package/lib/components/QSection/types.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.d.ts +306 -114
- package/lib/components/QSelect/QSelect.d.ts.map +1 -1
- package/lib/components/QSelect/QSelect.vue.js +274 -250
- package/lib/components/QSelect/constants.d.ts +4 -0
- package/lib/components/QSelect/constants.d.ts.map +1 -1
- package/lib/components/QSelect/index.d.ts +173 -144
- package/lib/components/QSelect/index.d.ts.map +1 -1
- package/lib/components/QSelect/types.d.ts +4 -2
- package/lib/components/QSelect/types.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebar.d.ts +9 -9
- package/lib/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebar.vue.js +2 -2
- package/lib/components/QSidebar/QSidebarAnchor.d.ts +1 -1
- package/lib/components/QSidebar/QSidebarAnchor.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebarAnchor.vue.js +4 -4
- package/lib/components/QSidebar/QSidebarItem.d.ts +7 -7
- package/lib/components/QSidebar/QSidebarItem.vue.js +3 -3
- package/lib/components/QSidebar/QSidebarPanel.d.ts +3 -3
- package/lib/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/lib/components/QSidebar/QSidebarPanel.vue.js +81 -140
- package/lib/components/QSidebar/constants.d.ts.map +1 -1
- package/lib/components/QSidebar/constants.js +4 -5
- package/lib/components/QSidebar/index.d.ts +24 -24
- package/lib/components/QSidebar/types.d.ts +7 -6
- package/lib/components/QSidebar/types.d.ts.map +1 -1
- package/lib/components/QSteps/QStepHeader.d.ts +2 -1
- package/lib/components/QSteps/QStepHeader.d.ts.map +1 -1
- package/lib/components/QSteps/QStepHeader.vue.js +3 -4
- package/lib/components/QSteps/QSteps.d.ts +8 -8
- package/lib/components/QSteps/QSteps.d.ts.map +1 -1
- package/lib/components/QSteps/QSteps.vue.js +9 -6
- package/lib/components/QSteps/QStepsNav.d.ts +2 -1
- package/lib/components/QSteps/QStepsNav.d.ts.map +1 -1
- package/lib/components/QSteps/index.d.ts +12 -12
- package/lib/components/QSteps/types.d.ts +2 -2
- package/lib/components/QSteps/types.d.ts.map +1 -1
- package/lib/components/QSwitch/QSwitch.d.ts +39 -26
- package/lib/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/lib/components/QSwitch/QSwitch.vue.js +64 -58
- package/lib/components/QSwitch/constants.d.ts +20 -0
- package/lib/components/QSwitch/constants.d.ts.map +1 -0
- package/lib/components/QSwitch/constants.js +9 -0
- package/lib/components/QSwitch/index.d.ts +56 -18
- package/lib/components/QSwitch/index.d.ts.map +1 -1
- package/lib/components/QSwitch/types.d.ts +21 -3
- package/lib/components/QSwitch/types.d.ts.map +1 -1
- package/lib/components/QTabs/QTab.d.ts +12 -12
- package/lib/components/QTabs/QTab.vue.js +3 -3
- package/lib/components/QTabs/QTabs.d.ts +9 -9
- package/lib/components/QTabs/QTabs.d.ts.map +1 -1
- package/lib/components/QTabs/QTabs.vue.js +92 -80
- package/lib/components/QTabs/index.d.ts +16 -16
- package/lib/components/QTabs/types.d.ts +2 -2
- package/lib/components/QTabs/types.d.ts.map +1 -1
- package/lib/components/QTextArea/QTextArea.d.ts +1 -0
- package/lib/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/lib/components/QTextArea/QTextArea.vue.js +6 -1
- package/lib/components/QTextArea/index.d.ts +1 -0
- package/lib/components/QTextArea/index.d.ts.map +1 -1
- package/lib/components/QTextField/QTextField.d.ts +30 -42
- package/lib/components/QTextField/QTextField.d.ts.map +1 -1
- package/lib/components/QTextField/QTextField.vue.js +7 -2
- package/lib/components/QTextField/constants.d.ts +4 -0
- package/lib/components/QTextField/constants.d.ts.map +1 -1
- package/lib/components/QTextField/index.d.ts +26 -69
- package/lib/components/QTextField/index.d.ts.map +1 -1
- package/lib/components/QTextField/types.d.ts +2 -1
- package/lib/components/QTextField/types.d.ts.map +1 -1
- package/lib/components/QToast/QToast.d.ts +1 -1
- package/lib/components/QToast/QToast.d.ts.map +1 -1
- package/lib/components/QToast/QToast.vue.js +148 -134
- package/lib/components/QToast/QToaster.d.ts +3 -1
- package/lib/components/QToast/QToaster.d.ts.map +1 -1
- package/lib/components/QToast/QToaster.vue.js +74 -46
- package/lib/components/QToast/index.d.ts +9 -7
- package/lib/components/QToast/index.d.ts.map +1 -1
- package/lib/components/QToast/types.d.ts +2 -2
- package/lib/components/QToast/types.d.ts.map +1 -1
- package/lib/components/QToggle/QToggle.d.ts.map +1 -1
- package/lib/components/QToggle/QToggle.vue.js +2 -0
- package/lib/components/QToggle/index.d.ts +3 -3
- package/lib/components/QToggleGroup/QToggleGroupItem.d.ts +8 -1
- package/lib/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
- package/lib/components/QToggleGroup/QToggleGroupItem.vue.js +67 -16
- package/lib/components/QToggleGroup/index.d.ts +24 -3
- package/lib/components/QToggleGroup/index.d.ts.map +1 -1
- package/lib/components/QTooltip/QTooltip.d.ts +1 -1
- package/lib/components/QTooltip/QTooltip.vue.js +1 -1
- package/lib/components/QTooltip/index.d.ts +3 -3
- package/lib/components/__internal__/QChevron/QChevron.d.ts +1 -1
- package/lib/components/__internal__/QChevron/QChevron.d.ts.map +1 -1
- package/lib/components/__internal__/QChevron/index.d.ts +3 -3
- package/lib/components/__internal__/QChevron/types.d.ts +2 -2
- package/lib/components/__internal__/QChevron/types.d.ts.map +1 -1
- package/lib/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
- package/lib/components/__internal__/QClearButton/QClearButton.d.ts.map +1 -1
- package/lib/components/__internal__/QClearButton/index.d.ts +1 -1
- package/lib/components/__internal__/QClearButton/types.d.ts +2 -2
- package/lib/components/__internal__/QClearButton/types.d.ts.map +1 -1
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts +7 -7
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -1
- package/lib/components/__internal__/QHelpPopover/QHelpPopover.vue.js +3 -6
- package/lib/components/__internal__/QHelpPopover/index.d.ts +7 -7
- package/lib/components/__internal__/QHelpPopover/types.d.ts +2 -2
- package/lib/components/__internal__/QHelpPopover/types.d.ts.map +1 -1
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts +34 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel.vue.js +76 -0
- package/lib/components/__internal__/QListboxPanel/QListboxPanel2.vue.js +5 -0
- package/lib/components/__internal__/QListboxPanel/constants.d.ts +17 -0
- package/lib/components/__internal__/QListboxPanel/constants.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/constants.js +4 -0
- package/lib/components/__internal__/QListboxPanel/index.d.ts +52 -0
- package/lib/components/__internal__/QListboxPanel/index.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/index.js +7 -0
- package/lib/components/__internal__/QListboxPanel/types.d.ts +50 -0
- package/lib/components/__internal__/QListboxPanel/types.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/utils.d.ts +4 -0
- package/lib/components/__internal__/QListboxPanel/utils.d.ts.map +1 -0
- package/lib/components/__internal__/QListboxPanel/utils.js +6 -0
- package/lib/components/__internal__/QRequiredIndicator/QRequiredIndicator.vue.js +1 -1
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts +16 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons.vue.js +72 -0
- package/lib/components/__internal__/QResizeHandle/QResizeButtons2.vue.js +5 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts +15 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle.vue.js +74 -0
- package/lib/components/__internal__/QResizeHandle/QResizeHandle2.vue.js +5 -0
- package/lib/components/__internal__/QResizeHandle/constants.d.ts +22 -0
- package/lib/components/__internal__/QResizeHandle/constants.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/constants.js +10 -0
- package/lib/components/__internal__/QResizeHandle/index.d.ts +28 -0
- package/lib/components/__internal__/QResizeHandle/index.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/index.js +7 -0
- package/lib/components/__internal__/QResizeHandle/types.d.ts +107 -0
- package/lib/components/__internal__/QResizeHandle/types.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts +42 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useEdgeResize.js +36 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts +39 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.d.ts.map +1 -0
- package/lib/components/__internal__/QResizeHandle/useResizePane.js +22 -0
- package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
- package/lib/components/__internal__/QSafeTriangle/QSafeTriangle.vue.js +1 -1
- package/lib/components/__internal__/QSafeTriangle/index.d.ts +2 -2
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts +24 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.d.ts.map +1 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent.vue.js +58 -0
- package/lib/components/__internal__/QSeverityContent/QSeverityContent2.vue.js +5 -0
- package/lib/components/__internal__/QSeverityContent/index.d.ts +31 -0
- package/lib/components/__internal__/QSeverityContent/index.d.ts.map +1 -0
- package/lib/components/__internal__/QSeverityContent/index.js +6 -0
- package/lib/components/__internal__/QSeverityContent/types.d.ts +67 -0
- package/lib/components/__internal__/QSeverityContent/types.d.ts.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +72 -70
- package/lib/composables/useColor/index.d.ts +7 -3
- package/lib/composables/useColor/index.d.ts.map +1 -1
- package/lib/composables/useColor/index.js +40 -38
- package/lib/composables/useColor/types.d.ts +5 -4
- package/lib/composables/useColor/types.d.ts.map +1 -1
- package/lib/composables/useDialog/_internal.js +1 -1
- package/lib/composables/useDialog/types.d.ts +6 -2
- package/lib/composables/useDialog/types.d.ts.map +1 -1
- package/lib/composables/useScrollTabStop/index.d.ts +17 -0
- package/lib/composables/useScrollTabStop/index.d.ts.map +1 -0
- package/lib/composables/useScrollTabStop/index.js +45 -0
- package/lib/composables/useVirtualList/index.d.ts +73 -0
- package/lib/composables/useVirtualList/index.d.ts.map +1 -0
- package/lib/composables/useVirtualList/index.js +83 -0
- package/lib/index.d.ts +2 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/types/component.d.ts +12 -5
- package/lib/types/component.d.ts.map +1 -1
- package/lib/types/index.d.ts +1 -1
- package/lib/types/index.d.ts.map +1 -1
- package/lib/utils/boundedValue.d.ts +20 -0
- package/lib/utils/boundedValue.d.ts.map +1 -0
- package/lib/utils/boundedValue.js +9 -0
- package/lib/utils/color/blend.d.ts +13 -0
- package/lib/utils/color/blend.d.ts.map +1 -1
- package/lib/utils/color/blend.js +6 -3
- package/lib/utils/color/contrast.d.ts +19 -0
- package/lib/utils/color/contrast.d.ts.map +1 -1
- package/lib/utils/color/contrast.js +26 -11
- package/lib/utils/color/index.d.ts +1 -1
- package/lib/utils/color/index.d.ts.map +1 -1
- package/lib/utils/date.d.ts +18 -8
- package/lib/utils/date.d.ts.map +1 -1
- package/lib/utils/date.js +26 -14
- package/lib/utils/index.js +14 -13
- package/lib/utils/overlay.d.ts +6 -0
- package/lib/utils/overlay.d.ts.map +1 -1
- package/lib/utils/overlay.js +10 -10
- package/lib/utils/popupLabel.d.ts +15 -0
- package/lib/utils/popupLabel.d.ts.map +1 -0
- package/lib/utils/popupLabel.js +6 -0
- package/lib/utils/railWidth.d.ts +15 -0
- package/lib/utils/railWidth.d.ts.map +1 -0
- package/lib/utils/railWidth.js +4 -0
- package/lib/utils/safeTriangle.d.ts +4 -4
- package/lib/utils/safeTriangle.d.ts.map +1 -1
- package/lib/utils/slots.d.ts +11 -2
- package/lib/utils/slots.d.ts.map +1 -1
- package/lib/utils/slots.js +7 -4
- package/lib/utils/theme.d.ts +3 -3
- package/lib/utils/theme.d.ts.map +1 -1
- package/lib/utils/theme.js +31 -31
- package/package.json +1 -1
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
declare const QDrawer: {
|
|
2
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
3
|
+
modelValue?: boolean;
|
|
4
|
+
} & import('../..').QBaseComponentProps & {
|
|
5
|
+
location?: import('./types').QDrawerLocation;
|
|
6
|
+
mode?: import('./types').QDrawerMode;
|
|
7
|
+
rail?: boolean;
|
|
8
|
+
expandOnHover?: boolean;
|
|
9
|
+
railExpand?: import('./types').QDrawerRailExpand;
|
|
10
|
+
width?: number | string;
|
|
11
|
+
railWidth?: number | string;
|
|
12
|
+
minWidth?: number;
|
|
13
|
+
maxWidth?: number;
|
|
14
|
+
resizable?: boolean;
|
|
15
|
+
showGrip?: boolean;
|
|
16
|
+
title?: string;
|
|
17
|
+
headingLevel?: number;
|
|
18
|
+
label?: string;
|
|
19
|
+
dismissible?: boolean;
|
|
20
|
+
backdropBlur?: boolean;
|
|
21
|
+
scrollLock?: boolean;
|
|
22
|
+
persistent?: boolean;
|
|
23
|
+
focusWrap?: boolean;
|
|
24
|
+
initialFocus?: HTMLElement | string | null;
|
|
25
|
+
focusWithinOnActivate?: boolean;
|
|
26
|
+
closingFocus?: HTMLElement | string;
|
|
27
|
+
returnFocusOnDeactivate?: boolean;
|
|
28
|
+
attach?: string;
|
|
29
|
+
inline?: boolean;
|
|
30
|
+
icons?: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
31
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
32
|
+
}> & Readonly<{
|
|
33
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
34
|
+
"onResize:start"?: (() => any) | undefined;
|
|
35
|
+
onResize?: ((width: number) => any) | undefined;
|
|
36
|
+
"onResize:end"?: ((finalWidth: number) => any) | undefined;
|
|
37
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
38
|
+
"update:modelValue": (value: boolean) => any;
|
|
39
|
+
} & {
|
|
40
|
+
"resize:start": () => any;
|
|
41
|
+
resize: (width: number) => any;
|
|
42
|
+
"resize:end": (finalWidth: number) => any;
|
|
43
|
+
}, import('vue').PublicProps, {
|
|
44
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
45
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
46
|
+
focusWithinOnActivate: boolean;
|
|
47
|
+
returnFocusOnDeactivate: boolean;
|
|
48
|
+
backdropBlur: boolean;
|
|
49
|
+
width: number | string;
|
|
50
|
+
attach: string;
|
|
51
|
+
inline: boolean;
|
|
52
|
+
scrollLock: boolean;
|
|
53
|
+
persistent: boolean;
|
|
54
|
+
focusWrap: boolean;
|
|
55
|
+
dismissible: boolean;
|
|
56
|
+
showGrip: boolean;
|
|
57
|
+
location: import('./types').QDrawerLocation;
|
|
58
|
+
mode: import('./types').QDrawerMode;
|
|
59
|
+
rail: boolean;
|
|
60
|
+
expandOnHover: boolean;
|
|
61
|
+
railExpand: import('./types').QDrawerRailExpand;
|
|
62
|
+
railWidth: number | string;
|
|
63
|
+
minWidth: number;
|
|
64
|
+
resizable: boolean;
|
|
65
|
+
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
66
|
+
surface: unknown;
|
|
67
|
+
layer: HTMLDivElement;
|
|
68
|
+
}, any, import('vue').ComponentProvideOptions, {
|
|
69
|
+
P: {};
|
|
70
|
+
B: {};
|
|
71
|
+
D: {};
|
|
72
|
+
C: {};
|
|
73
|
+
M: {};
|
|
74
|
+
Defaults: {};
|
|
75
|
+
}, Readonly<{
|
|
76
|
+
modelValue?: boolean;
|
|
77
|
+
} & import('../..').QBaseComponentProps & {
|
|
78
|
+
location?: import('./types').QDrawerLocation;
|
|
79
|
+
mode?: import('./types').QDrawerMode;
|
|
80
|
+
rail?: boolean;
|
|
81
|
+
expandOnHover?: boolean;
|
|
82
|
+
railExpand?: import('./types').QDrawerRailExpand;
|
|
83
|
+
width?: number | string;
|
|
84
|
+
railWidth?: number | string;
|
|
85
|
+
minWidth?: number;
|
|
86
|
+
maxWidth?: number;
|
|
87
|
+
resizable?: boolean;
|
|
88
|
+
showGrip?: boolean;
|
|
89
|
+
title?: string;
|
|
90
|
+
headingLevel?: number;
|
|
91
|
+
label?: string;
|
|
92
|
+
dismissible?: boolean;
|
|
93
|
+
backdropBlur?: boolean;
|
|
94
|
+
scrollLock?: boolean;
|
|
95
|
+
persistent?: boolean;
|
|
96
|
+
focusWrap?: boolean;
|
|
97
|
+
initialFocus?: HTMLElement | string | null;
|
|
98
|
+
focusWithinOnActivate?: boolean;
|
|
99
|
+
closingFocus?: HTMLElement | string;
|
|
100
|
+
returnFocusOnDeactivate?: boolean;
|
|
101
|
+
attach?: string;
|
|
102
|
+
inline?: boolean;
|
|
103
|
+
icons?: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
104
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
105
|
+
}> & Readonly<{
|
|
106
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
107
|
+
"onResize:start"?: (() => any) | undefined;
|
|
108
|
+
onResize?: ((width: number) => any) | undefined;
|
|
109
|
+
"onResize:end"?: ((finalWidth: number) => any) | undefined;
|
|
110
|
+
}>, {}, {}, {}, {}, {
|
|
111
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
112
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
113
|
+
focusWithinOnActivate: boolean;
|
|
114
|
+
returnFocusOnDeactivate: boolean;
|
|
115
|
+
backdropBlur: boolean;
|
|
116
|
+
width: number | string;
|
|
117
|
+
attach: string;
|
|
118
|
+
inline: boolean;
|
|
119
|
+
scrollLock: boolean;
|
|
120
|
+
persistent: boolean;
|
|
121
|
+
focusWrap: boolean;
|
|
122
|
+
dismissible: boolean;
|
|
123
|
+
showGrip: boolean;
|
|
124
|
+
location: import('./types').QDrawerLocation;
|
|
125
|
+
mode: import('./types').QDrawerMode;
|
|
126
|
+
rail: boolean;
|
|
127
|
+
expandOnHover: boolean;
|
|
128
|
+
railExpand: import('./types').QDrawerRailExpand;
|
|
129
|
+
railWidth: number | string;
|
|
130
|
+
minWidth: number;
|
|
131
|
+
resizable: boolean;
|
|
132
|
+
}>;
|
|
133
|
+
__isFragment?: never;
|
|
134
|
+
__isTeleport?: never;
|
|
135
|
+
__isSuspense?: never;
|
|
136
|
+
} & import('vue').ComponentOptionsBase<Readonly<{
|
|
137
|
+
modelValue?: boolean;
|
|
138
|
+
} & import('../..').QBaseComponentProps & {
|
|
139
|
+
location?: import('./types').QDrawerLocation;
|
|
140
|
+
mode?: import('./types').QDrawerMode;
|
|
141
|
+
rail?: boolean;
|
|
142
|
+
expandOnHover?: boolean;
|
|
143
|
+
railExpand?: import('./types').QDrawerRailExpand;
|
|
144
|
+
width?: number | string;
|
|
145
|
+
railWidth?: number | string;
|
|
146
|
+
minWidth?: number;
|
|
147
|
+
maxWidth?: number;
|
|
148
|
+
resizable?: boolean;
|
|
149
|
+
showGrip?: boolean;
|
|
150
|
+
title?: string;
|
|
151
|
+
headingLevel?: number;
|
|
152
|
+
label?: string;
|
|
153
|
+
dismissible?: boolean;
|
|
154
|
+
backdropBlur?: boolean;
|
|
155
|
+
scrollLock?: boolean;
|
|
156
|
+
persistent?: boolean;
|
|
157
|
+
focusWrap?: boolean;
|
|
158
|
+
initialFocus?: HTMLElement | string | null;
|
|
159
|
+
focusWithinOnActivate?: boolean;
|
|
160
|
+
closingFocus?: HTMLElement | string;
|
|
161
|
+
returnFocusOnDeactivate?: boolean;
|
|
162
|
+
attach?: string;
|
|
163
|
+
inline?: boolean;
|
|
164
|
+
icons?: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
165
|
+
texts?: typeof import('./constants').DEFAULT_TEXTS;
|
|
166
|
+
}> & Readonly<{
|
|
167
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
168
|
+
"onResize:start"?: (() => any) | undefined;
|
|
169
|
+
onResize?: ((width: number) => any) | undefined;
|
|
170
|
+
"onResize:end"?: ((finalWidth: number) => any) | undefined;
|
|
171
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
172
|
+
"update:modelValue": (value: boolean) => any;
|
|
173
|
+
} & {
|
|
174
|
+
"resize:start": () => any;
|
|
175
|
+
resize: (width: number) => any;
|
|
176
|
+
"resize:end": (finalWidth: number) => any;
|
|
177
|
+
}, string, {
|
|
178
|
+
icons: import('../..').QIcons<keyof typeof import('./constants').DEFAULT_ICONS>;
|
|
179
|
+
texts: typeof import('./constants').DEFAULT_TEXTS;
|
|
180
|
+
focusWithinOnActivate: boolean;
|
|
181
|
+
returnFocusOnDeactivate: boolean;
|
|
182
|
+
backdropBlur: boolean;
|
|
183
|
+
width: number | string;
|
|
184
|
+
attach: string;
|
|
185
|
+
inline: boolean;
|
|
186
|
+
scrollLock: boolean;
|
|
187
|
+
persistent: boolean;
|
|
188
|
+
focusWrap: boolean;
|
|
189
|
+
dismissible: boolean;
|
|
190
|
+
showGrip: boolean;
|
|
191
|
+
location: import('./types').QDrawerLocation;
|
|
192
|
+
mode: import('./types').QDrawerMode;
|
|
193
|
+
rail: boolean;
|
|
194
|
+
expandOnHover: boolean;
|
|
195
|
+
railExpand: import('./types').QDrawerRailExpand;
|
|
196
|
+
railWidth: number | string;
|
|
197
|
+
minWidth: number;
|
|
198
|
+
resizable: boolean;
|
|
199
|
+
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
200
|
+
$slots: {
|
|
201
|
+
drawer?(_: {}): any;
|
|
202
|
+
rail?(_: {}): any;
|
|
203
|
+
header?(_: {}): any;
|
|
204
|
+
'header.prepend'?(_: {}): any;
|
|
205
|
+
'header.append'?(_: {}): any;
|
|
206
|
+
prepend?(_: {}): any;
|
|
207
|
+
default?(_: {}): any;
|
|
208
|
+
append?(_: {}): any;
|
|
209
|
+
footer?(_: {}): any;
|
|
210
|
+
};
|
|
211
|
+
});
|
|
212
|
+
export { QDrawer };
|
|
213
|
+
export * from './types';
|
|
214
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/QDrawer/index.ts"],"names":[],"mappings":"AAMA,QAAA,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA4B,CAAA;AAGzC,OAAO,EAAE,OAAO,EAAE,CAAA;AAGlB,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
import { QBaseComponentProps, QIcons } from '../../types/component';
|
|
2
|
+
import { DEFAULT_ICONS, DEFAULT_TEXTS } from './constants';
|
|
3
|
+
/**
|
|
4
|
+
* Side of the viewport or layout the drawer docks to.
|
|
5
|
+
*/
|
|
6
|
+
export type QDrawerLocation = 'left' | 'right';
|
|
7
|
+
/**
|
|
8
|
+
* How the drawer participates in the page.
|
|
9
|
+
*
|
|
10
|
+
* - `permanent` — in document flow (app shell menu), no scrim or focus trap
|
|
11
|
+
* - `temporary` — teleported overlay with scrim; Esc / scrim dismiss; focus trap
|
|
12
|
+
*/
|
|
13
|
+
export type QDrawerMode = 'permanent' | 'temporary';
|
|
14
|
+
/**
|
|
15
|
+
* How a `#rail` strip relates to the expanded panel when the rail widens.
|
|
16
|
+
*
|
|
17
|
+
* - `beside` — strip stays; panel opens next to it (tools + a different panel)
|
|
18
|
+
* - `replace` — strip yields when the panel shows (icons-only → labeled tree)
|
|
19
|
+
*/
|
|
20
|
+
export type QDrawerRailExpand = 'beside' | 'replace';
|
|
21
|
+
export type QDrawerProps = QBaseComponentProps & {
|
|
22
|
+
/**
|
|
23
|
+
* Side of the viewport or layout the drawer docks to.
|
|
24
|
+
* Defaults to `left`.
|
|
25
|
+
*
|
|
26
|
+
* @category Presentation
|
|
27
|
+
*/
|
|
28
|
+
location?: QDrawerLocation;
|
|
29
|
+
/**
|
|
30
|
+
* Layout mode: in-flow (`permanent`) or overlay with scrim (`temporary`).
|
|
31
|
+
* Defaults to `temporary`.
|
|
32
|
+
*
|
|
33
|
+
* @category Behavior
|
|
34
|
+
*/
|
|
35
|
+
mode?: QDrawerMode;
|
|
36
|
+
/**
|
|
37
|
+
* When true, uses the collapsed rail width instead of the expanded width.
|
|
38
|
+
* Pass a `#rail` slot for the icon strip and put the expanded chrome in the
|
|
39
|
+
* default slot. How those two relate when open is `railExpand`. Defaults to
|
|
40
|
+
* `false`.
|
|
41
|
+
*
|
|
42
|
+
* @category Presentation
|
|
43
|
+
*/
|
|
44
|
+
rail?: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* When `rail` is true, expands to the full width on hover or focus-within
|
|
47
|
+
* and reveals the default-slot panel. Defaults to `false`.
|
|
48
|
+
*
|
|
49
|
+
* @category Behavior
|
|
50
|
+
*/
|
|
51
|
+
expandOnHover?: boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Layout of `#rail` vs the expanded panel when the rail is open.
|
|
54
|
+
* `beside` keeps the strip next to the panel; `replace` hides the strip
|
|
55
|
+
* once the panel is shown (app-style icon rail → labeled nav). Only applies
|
|
56
|
+
* with a `#rail` slot. Defaults to `beside`.
|
|
57
|
+
*
|
|
58
|
+
* @category Presentation
|
|
59
|
+
*/
|
|
60
|
+
railExpand?: QDrawerRailExpand;
|
|
61
|
+
/**
|
|
62
|
+
* Expanded drawer width. A number is treated as CSS pixels (scaled by
|
|
63
|
+
* `--q-density-scale`); a string is used as a raw CSS length.
|
|
64
|
+
* Defaults to `280`.
|
|
65
|
+
*
|
|
66
|
+
* @category Presentation
|
|
67
|
+
*/
|
|
68
|
+
width?: number | string;
|
|
69
|
+
/**
|
|
70
|
+
* Rail (mini) width when `rail` is true. Same number/string rules as `width`.
|
|
71
|
+
* Defaults to `var(--q-rail-width, calc(var(--q-space-1) * 12.5))` — set
|
|
72
|
+
* `--q-rail-width` in app CSS to align this with the `QSidebar` anchor rail.
|
|
73
|
+
*
|
|
74
|
+
* @category Presentation
|
|
75
|
+
*/
|
|
76
|
+
railWidth?: number | string;
|
|
77
|
+
/**
|
|
78
|
+
* Minimum width in CSS pixels while resizing. Only applies when `resizable`
|
|
79
|
+
* is true. Defaults to `50` (regular-density pixel equivalent of the shared
|
|
80
|
+
* rem rail width at a 16px root).
|
|
81
|
+
*
|
|
82
|
+
* @category Presentation
|
|
83
|
+
*/
|
|
84
|
+
minWidth?: number;
|
|
85
|
+
/**
|
|
86
|
+
* Maximum width in CSS pixels while resizing. Only applies when `resizable`
|
|
87
|
+
* is true. Omit for no upper limit beyond the viewport.
|
|
88
|
+
*
|
|
89
|
+
* @category Presentation
|
|
90
|
+
*/
|
|
91
|
+
maxWidth?: number;
|
|
92
|
+
/**
|
|
93
|
+
* Whether the user can resize the drawer by dragging (or arrow keys on) the
|
|
94
|
+
* edge handle. Ignored while `rail` is true. Defaults to `false`.
|
|
95
|
+
*
|
|
96
|
+
* @category Behavior
|
|
97
|
+
*/
|
|
98
|
+
resizable?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Whether to show a visible grip on the resize handle. Only applies when
|
|
101
|
+
* `resizable` is true. Defaults to `true`.
|
|
102
|
+
*
|
|
103
|
+
* @category Presentation
|
|
104
|
+
*/
|
|
105
|
+
showGrip?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* Optional title shown in the header. Also names the drawer for assistive
|
|
108
|
+
* technology when no `label` is set and the header slot does not replace it.
|
|
109
|
+
*
|
|
110
|
+
* @category Content
|
|
111
|
+
*/
|
|
112
|
+
title?: string;
|
|
113
|
+
/**
|
|
114
|
+
* Heading level for the title (`1`–`6` → `h1`–`h6`). Outside that range, or
|
|
115
|
+
* when omitted, the title renders as a `div` so the page outline does not
|
|
116
|
+
* change until the app sets a level. No default.
|
|
117
|
+
*
|
|
118
|
+
* @category Accessibility
|
|
119
|
+
*/
|
|
120
|
+
headingLevel?: number;
|
|
121
|
+
/**
|
|
122
|
+
* Accessible name when there is no rendered title element. Prefer a visible
|
|
123
|
+
* `title` when possible. Falls back to `texts.drawer` when omitted.
|
|
124
|
+
*
|
|
125
|
+
* @category Accessibility
|
|
126
|
+
*/
|
|
127
|
+
label?: string;
|
|
128
|
+
/**
|
|
129
|
+
* When true, shows a close button in the header area.
|
|
130
|
+
* Defaults to `false`.
|
|
131
|
+
*
|
|
132
|
+
* @category Behavior
|
|
133
|
+
*/
|
|
134
|
+
dismissible?: boolean;
|
|
135
|
+
/**
|
|
136
|
+
* Temporary mode only: blurs the page behind the scrim.
|
|
137
|
+
* Defaults to `true`.
|
|
138
|
+
*
|
|
139
|
+
* @category Presentation
|
|
140
|
+
*/
|
|
141
|
+
backdropBlur?: boolean;
|
|
142
|
+
/**
|
|
143
|
+
* Temporary mode only: prevents scrolling the page while open.
|
|
144
|
+
* Defaults to `true`.
|
|
145
|
+
*
|
|
146
|
+
* @category Behavior
|
|
147
|
+
*/
|
|
148
|
+
scrollLock?: boolean;
|
|
149
|
+
/**
|
|
150
|
+
* Temporary mode only: when true, outside pointer / focus does not close the
|
|
151
|
+
* drawer. Escape still closes it so the dialog stays keyboard-dismissible.
|
|
152
|
+
* Defaults to `false`.
|
|
153
|
+
*
|
|
154
|
+
* @category Behavior
|
|
155
|
+
*/
|
|
156
|
+
persistent?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Temporary mode only: traps Tab focus inside the drawer while open.
|
|
159
|
+
* Defaults to `true`.
|
|
160
|
+
*
|
|
161
|
+
* @category Behavior
|
|
162
|
+
*/
|
|
163
|
+
focusWrap?: boolean;
|
|
164
|
+
/**
|
|
165
|
+
* Element to focus when the focus wrap activates. Has priority over
|
|
166
|
+
* `focusWithinOnActivate`.
|
|
167
|
+
*
|
|
168
|
+
* @category Behavior
|
|
169
|
+
*/
|
|
170
|
+
initialFocus?: HTMLElement | string | null;
|
|
171
|
+
/**
|
|
172
|
+
* Whether to focus the first focusable element when the focus wrap activates.
|
|
173
|
+
* Defaults to `true`.
|
|
174
|
+
*
|
|
175
|
+
* @category Behavior
|
|
176
|
+
*/
|
|
177
|
+
focusWithinOnActivate?: boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Element to focus when the drawer closes. Has priority over
|
|
180
|
+
* `returnFocusOnDeactivate`.
|
|
181
|
+
*
|
|
182
|
+
* @category Behavior
|
|
183
|
+
*/
|
|
184
|
+
closingFocus?: HTMLElement | string;
|
|
185
|
+
/**
|
|
186
|
+
* Whether to return focus to the element that opened the drawer when the
|
|
187
|
+
* focus wrap deactivates. Defaults to `true`.
|
|
188
|
+
*
|
|
189
|
+
* @category Behavior
|
|
190
|
+
*/
|
|
191
|
+
returnFocusOnDeactivate?: boolean;
|
|
192
|
+
/**
|
|
193
|
+
* DOM element the temporary drawer teleports to. Defaults to `body`.
|
|
194
|
+
* Ignored when `inline` is true or `mode` is `permanent`.
|
|
195
|
+
*
|
|
196
|
+
* @category Behavior
|
|
197
|
+
*/
|
|
198
|
+
attach?: string;
|
|
199
|
+
/**
|
|
200
|
+
* Temporary mode only: disables teleport so `attach` is ignored.
|
|
201
|
+
* Defaults to `false`.
|
|
202
|
+
*
|
|
203
|
+
* @category Behavior
|
|
204
|
+
*/
|
|
205
|
+
inline?: boolean;
|
|
206
|
+
/**
|
|
207
|
+
* Custom icon configurations. Pass every key, or omit the prop to keep the
|
|
208
|
+
* defaults.
|
|
209
|
+
*
|
|
210
|
+
* @category Configuration
|
|
211
|
+
*/
|
|
212
|
+
icons?: QIcons<keyof typeof DEFAULT_ICONS>;
|
|
213
|
+
/**
|
|
214
|
+
* Custom text configurations (close button, accessible name fallback, shrink /
|
|
215
|
+
* grow). Pass every key, or omit the prop to keep the defaults.
|
|
216
|
+
*
|
|
217
|
+
* @category Configuration
|
|
218
|
+
*/
|
|
219
|
+
texts?: typeof DEFAULT_TEXTS;
|
|
220
|
+
};
|
|
221
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/QDrawer/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACxE,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAE/D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,OAAO,CAAA;AAE9C;;;;;GAKG;AACH,MAAM,MAAM,WAAW,GAAG,WAAW,GAAG,WAAW,CAAA;AAEnD;;;;;GAKG;AACH,MAAM,MAAM,iBAAiB,GAAG,QAAQ,GAAG,SAAS,CAAA;AAEpD,MAAM,MAAM,YAAY,GAAG,mBAAmB,GAAG;IAChD;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAA;IAE1B;;;;;OAKG;IACH,IAAI,CAAC,EAAE,WAAW,CAAA;IAElB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,OAAO,CAAA;IAEd;;;;;OAKG;IACH,aAAa,CAAC,EAAE,OAAO,CAAA;IAEvB;;;;;;;OAOG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAA;IAE9B;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAEvB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;IAE3B;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAA;IAEjB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAA;IAErB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IAEd;;;;;OAKG;IACH,WAAW,CAAC,EAAE,OAAO,CAAA;IAErB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,OAAO,CAAA;IAEtB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,OAAO,CAAA;IAEpB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IAEnB;;;;;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,CAAA;IAEnC;;;;;OAKG;IACH,uBAAuB,CAAC,EAAE,OAAO,CAAA;IAEjC;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAA;IAEf;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAA;IAEhB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,OAAO,aAAa,CAAC,CAAA;IAE1C;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,aAAa,CAAA;CAC5B,CAAA"}
|
|
@@ -24,8 +24,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
24
24
|
} & {
|
|
25
25
|
select: (item: any) => any;
|
|
26
26
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
|
-
onSelect?: ((item: any) => any) | undefined;
|
|
28
27
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
28
|
+
onSelect?: ((item: any) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
30
|
inline: boolean;
|
|
31
31
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QDropdownMenu.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QDropdownMenu/QDropdownMenu.vue"],"names":[],"mappings":"AA0CA;AAgKC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,GAAG,CAAA;AAS3C,KAAK,WAAW,GAAG,kBAAkB,CAAC;AAiGvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAgHT,OAAO,IAA6B;;yBAbpB,GAAG;wBACJ,GAAG;;;YACL,GAAG;;;YACM,GAAG;;;;EAetC;AAiBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;6EAQnB,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,14 +1,14 @@
|
|
|
1
1
|
import { useId as e } from "../../composables/useId/index.js";
|
|
2
2
|
import { getNextTabbable as t } from "../../utils/focus.js";
|
|
3
3
|
import { getElement as n } from "../../utils/getElement.js";
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import { createBlock as
|
|
4
|
+
import { activatorFallbackId as r, menuListId as i } from "./ids.js";
|
|
5
|
+
import a from "./QDropdownMenuContent2.vue.js";
|
|
6
|
+
import { createBlock as o, createSlots as s, defineComponent as c, mergeModels as l, nextTick as u, normalizeClass as d, openBlock as f, renderSlot as p, toRef as m, unref as h, useModel as g, watch as _, withCtx as v } from "vue";
|
|
7
7
|
//#region src/components/QDropdownMenu/QDropdownMenu.vue?vue&type=script&setup=true&lang.ts
|
|
8
|
-
var
|
|
8
|
+
var y = /*@__PURE__*/ c({
|
|
9
9
|
inheritAttrs: !1,
|
|
10
10
|
__name: "QDropdownMenu",
|
|
11
|
-
props: /*@__PURE__*/
|
|
11
|
+
props: /*@__PURE__*/ l({
|
|
12
12
|
id: {},
|
|
13
13
|
class: {},
|
|
14
14
|
activator: {},
|
|
@@ -30,65 +30,72 @@ var _ = /*@__PURE__*/ o({
|
|
|
30
30
|
modelValue: { type: Boolean },
|
|
31
31
|
modelModifiers: {}
|
|
32
32
|
}),
|
|
33
|
-
emits: /*@__PURE__*/
|
|
34
|
-
setup(
|
|
35
|
-
let
|
|
36
|
-
function
|
|
37
|
-
return
|
|
33
|
+
emits: /*@__PURE__*/ l(["select"], ["update:modelValue"]),
|
|
34
|
+
setup(c, { emit: l }) {
|
|
35
|
+
let y = c, b = l, x = g(c, "modelValue"), S = e(m(y, "id"));
|
|
36
|
+
function C() {
|
|
37
|
+
return y.activator ? n(y.activator) : null;
|
|
38
38
|
}
|
|
39
|
-
let
|
|
39
|
+
let w = [
|
|
40
40
|
"aria-haspopup",
|
|
41
41
|
"aria-expanded",
|
|
42
42
|
"aria-controls"
|
|
43
43
|
];
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
_([C, x], ([e, t], n, a) => {
|
|
45
|
+
if (!e) return;
|
|
46
|
+
let o = !e.id;
|
|
47
|
+
o && (e.id = r(S.value)), e.setAttribute("aria-haspopup", "menu"), e.setAttribute("aria-expanded", String(!!t)), t ? e.setAttribute("aria-controls", i(S.value)) : e.removeAttribute("aria-controls"), a(() => {
|
|
48
|
+
w.forEach((t) => e.removeAttribute(t)), o && e.removeAttribute("id");
|
|
49
|
+
});
|
|
46
50
|
}, {
|
|
47
51
|
immediate: !0,
|
|
48
52
|
flush: "post"
|
|
49
53
|
});
|
|
50
|
-
let
|
|
51
|
-
function
|
|
52
|
-
|
|
54
|
+
let T;
|
|
55
|
+
function E(e) {
|
|
56
|
+
b("select", e);
|
|
53
57
|
}
|
|
54
|
-
function
|
|
55
|
-
|
|
58
|
+
function D() {
|
|
59
|
+
T = document.activeElement;
|
|
56
60
|
}
|
|
57
|
-
async function
|
|
58
|
-
await
|
|
61
|
+
async function O() {
|
|
62
|
+
await u(), T?.focus();
|
|
59
63
|
}
|
|
60
|
-
function
|
|
61
|
-
let e =
|
|
62
|
-
e && t(e, document.getElementById(
|
|
64
|
+
function k() {
|
|
65
|
+
let e = C();
|
|
66
|
+
e && t(e, document.getElementById(S.value))?.focus();
|
|
63
67
|
}
|
|
64
|
-
return (e, t) => (
|
|
65
|
-
id:
|
|
66
|
-
modelValue:
|
|
67
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
68
|
-
class:
|
|
69
|
-
activator:
|
|
70
|
-
"item-value":
|
|
71
|
-
"item-label":
|
|
72
|
-
items:
|
|
73
|
-
groups:
|
|
74
|
-
appearance:
|
|
75
|
-
placement:
|
|
76
|
-
transition:
|
|
77
|
-
inline:
|
|
78
|
-
delay:
|
|
79
|
-
trigger:
|
|
80
|
-
icons:
|
|
81
|
-
onSelect:
|
|
82
|
-
onOpen:
|
|
83
|
-
onFocusPrevious:
|
|
84
|
-
onFocusNext:
|
|
85
|
-
}, {
|
|
86
|
-
prepend:
|
|
87
|
-
append:
|
|
88
|
-
item:
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
68
|
+
return (e, t) => (f(), o(a, {
|
|
69
|
+
id: h(S),
|
|
70
|
+
modelValue: x.value,
|
|
71
|
+
"onUpdate:modelValue": t[0] ||= (e) => x.value = e,
|
|
72
|
+
class: d(y.class),
|
|
73
|
+
activator: y.activator,
|
|
74
|
+
"item-value": y.itemValue,
|
|
75
|
+
"item-label": y.itemLabel,
|
|
76
|
+
items: y.items,
|
|
77
|
+
groups: y.groups,
|
|
78
|
+
appearance: y.appearance,
|
|
79
|
+
placement: y.placement,
|
|
80
|
+
transition: y.transition,
|
|
81
|
+
inline: y.inline,
|
|
82
|
+
delay: y.delay,
|
|
83
|
+
trigger: y.trigger,
|
|
84
|
+
icons: y.icons,
|
|
85
|
+
onSelect: E,
|
|
86
|
+
onOpen: D,
|
|
87
|
+
onFocusPrevious: O,
|
|
88
|
+
onFocusNext: k
|
|
89
|
+
}, s({
|
|
90
|
+
prepend: v(() => [p(e.$slots, "prepend")]),
|
|
91
|
+
append: v(() => [p(e.$slots, "append")]),
|
|
92
|
+
item: v(({ item: t }) => [p(e.$slots, "item", { item: t })]),
|
|
93
|
+
_: 2
|
|
94
|
+
}, [e.$slots["item.append"] ? {
|
|
95
|
+
name: "item.append",
|
|
96
|
+
fn: v(({ item: t }) => [p(e.$slots, "item.append", { item: t })]),
|
|
97
|
+
key: "0"
|
|
98
|
+
} : void 0]), 1032, [
|
|
92
99
|
"id",
|
|
93
100
|
"modelValue",
|
|
94
101
|
"class",
|
|
@@ -108,4 +115,4 @@ var _ = /*@__PURE__*/ o({
|
|
|
108
115
|
}
|
|
109
116
|
});
|
|
110
117
|
//#endregion
|
|
111
|
-
export {
|
|
118
|
+
export { y as default };
|