@quidgest/ui 0.31.2 → 0.32.1
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 +63 -0
- package/dist/json/api.json +1278 -324
- package/dist/manifest/components.json +1 -0
- package/dist/ui.css +1183 -428
- package/dist/ui.esm.js +1640 -1393
- package/dist/ui.min.css +1 -1
- package/dist/ui.scss +1354 -386
- 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 +87 -73
- package/lib/components/QAlert/index.d.ts +3 -3
- package/lib/components/QAlert/types.d.ts +32 -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 +72 -55
- package/lib/components/QBadge/index.d.ts +3 -3
- package/lib/components/QBadge/types.d.ts +13 -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 +894 -765
- 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/QDefaultsProvider/QDefaultsProvider.vue.js +4 -2
- package/lib/components/QDefaultsProvider/types.d.ts +10 -0
- package/lib/components/QDefaultsProvider/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 +461 -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 +235 -195
- 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 +10 -9
- 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 +153 -124
- package/lib/components/QGauge/types.d.ts +16 -1
- package/lib/components/QGauge/types.d.ts.map +1 -1
- 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 +35 -31
- package/lib/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/lib/components/QInputGroup/QInputGroup.vue.js +96 -49
- package/lib/components/QInputGroup/index.d.ts +14 -12
- package/lib/components/QInputGroup/index.d.ts.map +1 -1
- package/lib/components/QLabel/QLabel.d.ts.map +1 -1
- package/lib/components/QLabel/QLabel.vue.js +2 -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 +51 -43
- 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/QMeter/types.d.ts +3 -0
- package/lib/components/QMeter/types.d.ts.map +1 -1
- 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 +194 -166
- 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 +491 -622
- package/lib/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/lib/components/QPhoneField/QPhoneField.vue.js +21 -14
- 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 +260 -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 +66 -46
- package/lib/components/QProgress/types.d.ts +3 -0
- package/lib/components/QProgress/types.d.ts.map +1 -1
- 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 +2 -2
- 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 +4 -9
- 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 +312 -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 +176 -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 +78 -47
- 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/defaults.d.ts +25 -1
- package/lib/composables/defaults.d.ts.map +1 -1
- package/lib/composables/defaults.js +15 -7
- package/lib/composables/useColor/index.d.ts +9 -3
- package/lib/composables/useColor/index.d.ts.map +1 -1
- package/lib/composables/useColor/index.js +50 -42
- package/lib/composables/useColor/types.d.ts +17 -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/bidi.d.ts +27 -0
- package/lib/utils/bidi.d.ts.map +1 -0
- package/lib/utils/bidi.js +15 -0
- 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
|
@@ -7,6 +7,7 @@ declare function __VLS_template(): {
|
|
|
7
7
|
attrs: Partial<{}>;
|
|
8
8
|
slots: {
|
|
9
9
|
errors?(_: {}): any;
|
|
10
|
+
warnings?(_: {}): any;
|
|
10
11
|
};
|
|
11
12
|
refs: {
|
|
12
13
|
fieldComponent: ({
|
|
@@ -21,7 +22,7 @@ declare function __VLS_template(): {
|
|
|
21
22
|
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
22
23
|
readonly help?: string | undefined;
|
|
23
24
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
24
|
-
readonly icons?: typeof import('../QField/constants').DEFAULT_ICONS | undefined;
|
|
25
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS> | undefined;
|
|
25
26
|
readonly texts?: typeof import('../QField/constants').DEFAULT_TEXTS | undefined;
|
|
26
27
|
readonly size?: import('..').QFieldSize | undefined;
|
|
27
28
|
readonly readonly?: boolean | undefined;
|
|
@@ -37,7 +38,7 @@ declare function __VLS_template(): {
|
|
|
37
38
|
standaloneHelp: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../__internal__/QHelpPopover').QHelpPopoverProps> & Readonly<{}>, {
|
|
38
39
|
triggerEl: import('vue').ComputedRef<HTMLElement | undefined>;
|
|
39
40
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
40
|
-
icons: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS
|
|
41
|
+
icons: import('../..').QIcons<keyof typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS>;
|
|
41
42
|
texts: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_TEXTS;
|
|
42
43
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
43
44
|
trigger: ({
|
|
@@ -49,7 +50,7 @@ declare function __VLS_template(): {
|
|
|
49
50
|
readonly label?: string | undefined;
|
|
50
51
|
readonly help?: string | undefined;
|
|
51
52
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
52
|
-
readonly icons?: typeof import('../QButton/constants').DEFAULT_ICONS | undefined;
|
|
53
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS> | undefined;
|
|
53
54
|
readonly texts?: typeof import('../QButton/constants').DEFAULT_TEXTS | undefined;
|
|
54
55
|
readonly variant?: import('..').QButtonVariant | undefined;
|
|
55
56
|
readonly color?: string | undefined;
|
|
@@ -86,12 +87,12 @@ declare function __VLS_template(): {
|
|
|
86
87
|
click: (event: MouseEvent) => any;
|
|
87
88
|
}, string, {
|
|
88
89
|
color: string;
|
|
89
|
-
effect: import('..').QButtonEffect;
|
|
90
90
|
variant: import('..').QButtonVariant;
|
|
91
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
91
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
92
92
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
93
93
|
helpDisplay: import('../..').QHelpDisplay;
|
|
94
94
|
iconPos: import('..').QButtonIconPosition;
|
|
95
|
+
effect: import('..').QButtonEffect;
|
|
95
96
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
96
97
|
beforeCreate?: (() => void) | (() => void)[];
|
|
97
98
|
created?: (() => void) | (() => void)[];
|
|
@@ -114,15 +115,15 @@ declare function __VLS_template(): {
|
|
|
114
115
|
$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;
|
|
115
116
|
} & Readonly<{
|
|
116
117
|
color: string;
|
|
117
|
-
effect: import('..').QButtonEffect;
|
|
118
118
|
variant: import('..').QButtonVariant;
|
|
119
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
119
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
120
120
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
121
121
|
helpDisplay: import('../..').QHelpDisplay;
|
|
122
122
|
iconPos: import('..').QButtonIconPosition;
|
|
123
|
+
effect: import('..').QButtonEffect;
|
|
123
124
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
124
125
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
125
|
-
}>, "color" | "
|
|
126
|
+
}>, "color" | "variant" | "icons" | "texts" | "helpDisplay" | "iconPos" | "effect"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
126
127
|
$slots: {
|
|
127
128
|
default?(_: {}): any;
|
|
128
129
|
append?(_: {}): any;
|
|
@@ -138,7 +139,7 @@ declare function __VLS_template(): {
|
|
|
138
139
|
}, Readonly<import('../__internal__/QHelpPopover').QHelpPopoverProps> & Readonly<{}>, {
|
|
139
140
|
triggerEl: import('vue').ComputedRef<HTMLElement | undefined>;
|
|
140
141
|
}, {}, {}, {}, {
|
|
141
|
-
icons: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS
|
|
142
|
+
icons: import('../..').QIcons<keyof typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS>;
|
|
142
143
|
texts: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_TEXTS;
|
|
143
144
|
}> | null;
|
|
144
145
|
};
|
|
@@ -155,7 +156,7 @@ declare function __VLS_template(): {
|
|
|
155
156
|
helpDescribedBy: import('vue').ComputedRef<string | undefined>;
|
|
156
157
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
157
158
|
size: import('..').QFieldSize;
|
|
158
|
-
icons: typeof import('../QField/constants').DEFAULT_ICONS
|
|
159
|
+
icons: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS>;
|
|
159
160
|
texts: typeof import('../QField/constants').DEFAULT_TEXTS;
|
|
160
161
|
helpDisplay: import('../..').QHelpDisplay;
|
|
161
162
|
labelPosition: import('..').QLabelPosition;
|
|
@@ -181,11 +182,11 @@ declare function __VLS_template(): {
|
|
|
181
182
|
$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;
|
|
182
183
|
} & Readonly<{
|
|
183
184
|
size: import('..').QFieldSize;
|
|
184
|
-
icons: typeof import('../QField/constants').DEFAULT_ICONS
|
|
185
|
+
icons: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS>;
|
|
185
186
|
texts: typeof import('../QField/constants').DEFAULT_TEXTS;
|
|
186
187
|
helpDisplay: import('../..').QHelpDisplay;
|
|
187
188
|
labelPosition: import('..').QLabelPosition;
|
|
188
|
-
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>,
|
|
189
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, ("size" | "icons" | "texts" | "helpDisplay" | "labelPosition") | "fieldRef" | "helpDescribedBy"> & {
|
|
189
190
|
fieldRef: HTMLElement | null;
|
|
190
191
|
helpDescribedBy: string | undefined;
|
|
191
192
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -203,6 +204,7 @@ declare function __VLS_template(): {
|
|
|
203
204
|
}): any;
|
|
204
205
|
append?(_: {}): any;
|
|
205
206
|
errors?(_: {}): any;
|
|
207
|
+
warnings?(_: {}): any;
|
|
206
208
|
extras?(_: {}): any;
|
|
207
209
|
};
|
|
208
210
|
}) | null;
|
|
@@ -216,9 +218,19 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
216
218
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
217
219
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
218
220
|
}>, {
|
|
221
|
+
icons: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS>;
|
|
222
|
+
texts: {
|
|
223
|
+
error: string;
|
|
224
|
+
warning: string;
|
|
225
|
+
showHelp: string;
|
|
226
|
+
} & {
|
|
227
|
+
on: string;
|
|
228
|
+
off: string;
|
|
229
|
+
error: string;
|
|
230
|
+
warning: string;
|
|
231
|
+
showHelp: string;
|
|
232
|
+
};
|
|
219
233
|
labelPosition: import('..').QLabelPosition;
|
|
220
|
-
trueLabel: string;
|
|
221
|
-
falseLabel: string;
|
|
222
234
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
223
235
|
fieldComponent: ({
|
|
224
236
|
$: import('vue').ComponentInternalInstance;
|
|
@@ -232,7 +244,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
232
244
|
readonly labelPosition?: import('..').QLabelPosition | undefined;
|
|
233
245
|
readonly help?: string | undefined;
|
|
234
246
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
235
|
-
readonly icons?: typeof import('../QField/constants').DEFAULT_ICONS | undefined;
|
|
247
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS> | undefined;
|
|
236
248
|
readonly texts?: typeof import('../QField/constants').DEFAULT_TEXTS | undefined;
|
|
237
249
|
readonly size?: import('..').QFieldSize | undefined;
|
|
238
250
|
readonly readonly?: boolean | undefined;
|
|
@@ -248,7 +260,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
248
260
|
standaloneHelp: import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('../__internal__/QHelpPopover').QHelpPopoverProps> & Readonly<{}>, {
|
|
249
261
|
triggerEl: import('vue').ComputedRef<HTMLElement | undefined>;
|
|
250
262
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
251
|
-
icons: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS
|
|
263
|
+
icons: import('../..').QIcons<keyof typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS>;
|
|
252
264
|
texts: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_TEXTS;
|
|
253
265
|
}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {
|
|
254
266
|
trigger: ({
|
|
@@ -260,7 +272,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
260
272
|
readonly label?: string | undefined;
|
|
261
273
|
readonly help?: string | undefined;
|
|
262
274
|
readonly helpDisplay?: import('../..').QHelpDisplay | undefined;
|
|
263
|
-
readonly icons?: typeof import('../QButton/constants').DEFAULT_ICONS | undefined;
|
|
275
|
+
readonly icons?: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS> | undefined;
|
|
264
276
|
readonly texts?: typeof import('../QButton/constants').DEFAULT_TEXTS | undefined;
|
|
265
277
|
readonly variant?: import('..').QButtonVariant | undefined;
|
|
266
278
|
readonly color?: string | undefined;
|
|
@@ -297,12 +309,12 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
297
309
|
click: (event: MouseEvent) => any;
|
|
298
310
|
}, string, {
|
|
299
311
|
color: string;
|
|
300
|
-
effect: import('..').QButtonEffect;
|
|
301
312
|
variant: import('..').QButtonVariant;
|
|
302
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
313
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
303
314
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
304
315
|
helpDisplay: import('../..').QHelpDisplay;
|
|
305
316
|
iconPos: import('..').QButtonIconPosition;
|
|
317
|
+
effect: import('..').QButtonEffect;
|
|
306
318
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
307
319
|
beforeCreate?: (() => void) | (() => void)[];
|
|
308
320
|
created?: (() => void) | (() => void)[];
|
|
@@ -325,15 +337,15 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
325
337
|
$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;
|
|
326
338
|
} & Readonly<{
|
|
327
339
|
color: string;
|
|
328
|
-
effect: import('..').QButtonEffect;
|
|
329
340
|
variant: import('..').QButtonVariant;
|
|
330
|
-
icons: typeof import('../QButton/constants').DEFAULT_ICONS
|
|
341
|
+
icons: import('../..').QIcons<keyof typeof import('../QButton/constants').DEFAULT_ICONS>;
|
|
331
342
|
texts: typeof import('../QButton/constants').DEFAULT_TEXTS;
|
|
332
343
|
helpDisplay: import('../..').QHelpDisplay;
|
|
333
344
|
iconPos: import('..').QButtonIconPosition;
|
|
345
|
+
effect: import('..').QButtonEffect;
|
|
334
346
|
}> & Omit<Readonly<import('..').QButtonProps> & Readonly<{
|
|
335
347
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
336
|
-
}>, "color" | "
|
|
348
|
+
}>, "color" | "variant" | "icons" | "texts" | "helpDisplay" | "iconPos" | "effect"> & {} & import('vue').ComponentCustomProperties & {} & {
|
|
337
349
|
$slots: {
|
|
338
350
|
default?(_: {}): any;
|
|
339
351
|
append?(_: {}): any;
|
|
@@ -349,7 +361,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
349
361
|
}, Readonly<import('../__internal__/QHelpPopover').QHelpPopoverProps> & Readonly<{}>, {
|
|
350
362
|
triggerEl: import('vue').ComputedRef<HTMLElement | undefined>;
|
|
351
363
|
}, {}, {}, {}, {
|
|
352
|
-
icons: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS
|
|
364
|
+
icons: import('../..').QIcons<keyof typeof import('../__internal__/QHelpPopover/constants').DEFAULT_ICONS>;
|
|
353
365
|
texts: typeof import('../__internal__/QHelpPopover/constants').DEFAULT_TEXTS;
|
|
354
366
|
}> | null;
|
|
355
367
|
};
|
|
@@ -366,7 +378,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
366
378
|
helpDescribedBy: import('vue').ComputedRef<string | undefined>;
|
|
367
379
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
368
380
|
size: import('..').QFieldSize;
|
|
369
|
-
icons: typeof import('../QField/constants').DEFAULT_ICONS
|
|
381
|
+
icons: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS>;
|
|
370
382
|
texts: typeof import('../QField/constants').DEFAULT_TEXTS;
|
|
371
383
|
helpDisplay: import('../..').QHelpDisplay;
|
|
372
384
|
labelPosition: import('..').QLabelPosition;
|
|
@@ -392,11 +404,11 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
392
404
|
$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;
|
|
393
405
|
} & Readonly<{
|
|
394
406
|
size: import('..').QFieldSize;
|
|
395
|
-
icons: typeof import('../QField/constants').DEFAULT_ICONS
|
|
407
|
+
icons: import('../..').QIcons<keyof typeof import('../QField/constants').DEFAULT_ICONS>;
|
|
396
408
|
texts: typeof import('../QField/constants').DEFAULT_TEXTS;
|
|
397
409
|
helpDisplay: import('../..').QHelpDisplay;
|
|
398
410
|
labelPosition: import('..').QLabelPosition;
|
|
399
|
-
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>,
|
|
411
|
+
}> & Omit<Readonly<import('..').QFieldProps> & Readonly<{}>, ("size" | "icons" | "texts" | "helpDisplay" | "labelPosition") | "fieldRef" | "helpDescribedBy"> & {
|
|
400
412
|
fieldRef: HTMLElement | null;
|
|
401
413
|
helpDescribedBy: string | undefined;
|
|
402
414
|
} & {} & import('vue').ComponentCustomProperties & {} & {
|
|
@@ -414,6 +426,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
414
426
|
}): any;
|
|
415
427
|
append?(_: {}): any;
|
|
416
428
|
errors?(_: {}): any;
|
|
429
|
+
warnings?(_: {}): any;
|
|
417
430
|
extras?(_: {}): any;
|
|
418
431
|
};
|
|
419
432
|
}) | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"QSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSwitch/QSwitch.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"QSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/QSwitch/QSwitch.vue"],"names":[],"mappings":"AAyEA;AA8NC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,GAAG,CAAA;AAMrC,KAAK,WAAW,GAAG,YAAY,CAAC;AA8HjC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WAmIT,OAAO,IAA6B;;wBAdtB,GAAG;0BACD,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oDA2Eg9R,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAzDtmS;AA0BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gDA8B49R,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OArBrmS,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,9 +2,10 @@ import { useId as e } from "../../composables/useId/index.js";
|
|
|
2
2
|
import { useColor as t } from "../../composables/useColor/index.js";
|
|
3
3
|
import { mergeDescribedBy as n } from "../__internal__/QHelpPopover/resolveHelp.js";
|
|
4
4
|
import { QField as r } from "../QField/index.js";
|
|
5
|
-
import {
|
|
5
|
+
import { DEFAULT_ICONS as i, DEFAULT_TEXTS as a } from "./constants.js";
|
|
6
|
+
import { Fragment as o, computed as s, createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createSlots as f, createTextVNode as p, defineComponent as m, mergeModels as h, mergeProps as g, normalizeClass as _, normalizeStyle as v, onBeforeUnmount as y, onMounted as b, openBlock as x, renderSlot as S, toDisplayString as C, toRef as w, unref as T, useAttrs as E, useModel as D, useTemplateRef as O, vModelCheckbox as k, withCtx as A, withDirectives as j, withModifiers as M } from "vue";
|
|
6
7
|
//#region src/components/QSwitch/QSwitch.vue?vue&type=script&setup=true&lang.ts
|
|
7
|
-
var
|
|
8
|
+
var N = [
|
|
8
9
|
"id",
|
|
9
10
|
"aria-checked",
|
|
10
11
|
"aria-required",
|
|
@@ -12,16 +13,16 @@ var j = [
|
|
|
12
13
|
"aria-invalid",
|
|
13
14
|
"disabled",
|
|
14
15
|
"aria-describedby"
|
|
15
|
-
],
|
|
16
|
+
], P = { class: "q-switch__labels" }, F = {
|
|
16
17
|
class: "q-switch__label q-switch__label--off",
|
|
17
18
|
"aria-hidden": "true"
|
|
18
|
-
},
|
|
19
|
+
}, I = {
|
|
19
20
|
class: "q-switch__label q-switch__label--on",
|
|
20
21
|
"aria-hidden": "true"
|
|
21
|
-
},
|
|
22
|
+
}, L = /*@__PURE__*/ m({
|
|
22
23
|
inheritAttrs: !1,
|
|
23
24
|
__name: "QSwitch",
|
|
24
|
-
props: /*@__PURE__*/
|
|
25
|
+
props: /*@__PURE__*/ h({
|
|
25
26
|
id: {},
|
|
26
27
|
class: {},
|
|
27
28
|
label: {},
|
|
@@ -29,10 +30,10 @@ var j = [
|
|
|
29
30
|
labelPosition: { default: "left" },
|
|
30
31
|
help: {},
|
|
31
32
|
helpDisplay: {},
|
|
32
|
-
icons: {},
|
|
33
|
-
texts: {},
|
|
34
|
-
trueLabel: {
|
|
35
|
-
falseLabel: {
|
|
33
|
+
icons: { default: () => i },
|
|
34
|
+
texts: { default: () => a },
|
|
35
|
+
trueLabel: {},
|
|
36
|
+
falseLabel: {},
|
|
36
37
|
showStateLabels: { type: Boolean },
|
|
37
38
|
checkedColor: {},
|
|
38
39
|
uncheckedColor: {},
|
|
@@ -45,86 +46,91 @@ var j = [
|
|
|
45
46
|
modelModifiers: {}
|
|
46
47
|
}),
|
|
47
48
|
emits: ["update:modelValue"],
|
|
48
|
-
setup(
|
|
49
|
-
let
|
|
49
|
+
setup(i) {
|
|
50
|
+
let a = i, m = D(i, "modelValue"), h = O("inputEl"), L = O("fieldComponent");
|
|
50
51
|
function R(e) {
|
|
51
52
|
e.stopPropagation();
|
|
52
53
|
}
|
|
53
|
-
|
|
54
|
+
b(() => {
|
|
54
55
|
L.value?.$el.addEventListener("click", R);
|
|
55
|
-
}),
|
|
56
|
+
}), y(() => {
|
|
56
57
|
L.value?.$el.removeEventListener("click", R);
|
|
57
58
|
});
|
|
58
59
|
let z = (e) => {
|
|
59
|
-
|
|
60
|
+
a.readonly && (e.preventDefault(), e.stopImmediatePropagation(), e.target.checked = !!m.value);
|
|
60
61
|
}, B = () => {
|
|
61
|
-
|
|
62
|
-
}, V = e(
|
|
62
|
+
a.disabled || a.readonly || h.value?.click();
|
|
63
|
+
}, V = e(w(a, "id")), H = E(), U = s(() => `${V.value}_field`), W = s(() => typeof H["aria-describedby"] == "string" ? H["aria-describedby"] : void 0), { style: G } = t(w(a, "checkedColor")), { style: K } = t(w(a, "uncheckedColor")), q = s(() => a.size === "small" || a.size === "large" ? `q-switch--${a.size}` : void 0), J = s(() => a.size === "small" || a.size === "large" ? `q-switch-field--${a.size}` : void 0), Y = s(() => a.trueLabel ?? a.texts.on), X = s(() => a.falseLabel ?? a.texts.off), Z = s(() => !!a.label && (a.labelPosition === "left" || a.labelPosition === "right")), Q = s(() => [
|
|
63
64
|
"q-switch",
|
|
64
65
|
q.value,
|
|
65
66
|
{
|
|
66
|
-
"q-switch--checked":
|
|
67
|
-
"q-switch--disabled":
|
|
68
|
-
"q-switch--readonly":
|
|
69
|
-
"q-switch--invalid":
|
|
70
|
-
"q-switch--with-labels":
|
|
67
|
+
"q-switch--checked": m.value,
|
|
68
|
+
"q-switch--disabled": a.disabled,
|
|
69
|
+
"q-switch--readonly": a.readonly,
|
|
70
|
+
"q-switch--invalid": a.invalid,
|
|
71
|
+
"q-switch--with-labels": a.showStateLabels && (Y.value || X.value)
|
|
71
72
|
}
|
|
72
|
-
]),
|
|
73
|
+
]), $ = s(() => ({
|
|
73
74
|
"--q-switch-checked-background": G.value?.mainColor,
|
|
74
75
|
"--q-switch-on-checked-background": G.value?.onMainColor,
|
|
75
76
|
"--q-switch-unchecked-background": K.value?.mainColor,
|
|
76
|
-
"--q-switch-on-unchecked-background": K.value?.onMainColor
|
|
77
|
+
"--q-switch-on-unchecked-background": K.value?.onMainColor,
|
|
78
|
+
"--q-switch-unchecked-thumb-text-color": K.value?.mainColor
|
|
77
79
|
}));
|
|
78
|
-
return (e, t) => (
|
|
80
|
+
return (e, t) => (x(), c(T(r), {
|
|
79
81
|
id: U.value,
|
|
80
82
|
ref_key: "fieldComponent",
|
|
81
83
|
ref: L,
|
|
82
|
-
class:
|
|
83
|
-
|
|
84
|
+
class: _(["q-switch-field", [
|
|
85
|
+
a.class,
|
|
84
86
|
J.value,
|
|
85
|
-
|
|
87
|
+
Z.value ? "q-field--row" : void 0
|
|
86
88
|
]]),
|
|
87
|
-
for:
|
|
88
|
-
label:
|
|
89
|
-
"label-position":
|
|
90
|
-
readonly:
|
|
91
|
-
disabled:
|
|
92
|
-
required:
|
|
93
|
-
invalid:
|
|
94
|
-
help:
|
|
95
|
-
"help-display":
|
|
96
|
-
icons:
|
|
97
|
-
texts:
|
|
98
|
-
},
|
|
99
|
-
control:
|
|
89
|
+
for: T(V),
|
|
90
|
+
label: a.label,
|
|
91
|
+
"label-position": a.labelPosition,
|
|
92
|
+
readonly: a.readonly,
|
|
93
|
+
disabled: a.disabled,
|
|
94
|
+
required: a.required,
|
|
95
|
+
invalid: a.invalid,
|
|
96
|
+
help: a.help,
|
|
97
|
+
"help-display": a.helpDisplay,
|
|
98
|
+
icons: a.icons,
|
|
99
|
+
texts: a.texts
|
|
100
|
+
}, f({
|
|
101
|
+
control: A(({ describedBy: r, invalid: i }) => [d("div", {
|
|
100
102
|
class: "q-switch__container",
|
|
101
103
|
onClick: B
|
|
102
|
-
}, [
|
|
103
|
-
class:
|
|
104
|
-
style:
|
|
105
|
-
}, [
|
|
106
|
-
id:
|
|
104
|
+
}, [d("div", {
|
|
105
|
+
class: _(Q.value),
|
|
106
|
+
style: v($.value)
|
|
107
|
+
}, [j(d("input", g({
|
|
108
|
+
id: T(V),
|
|
107
109
|
ref_key: "inputEl",
|
|
108
|
-
ref:
|
|
109
|
-
"onUpdate:modelValue": t[0] ||= (e) =>
|
|
110
|
+
ref: h,
|
|
111
|
+
"onUpdate:modelValue": t[0] ||= (e) => m.value = e,
|
|
110
112
|
class: "q-switch__input",
|
|
111
113
|
type: "checkbox",
|
|
112
114
|
role: "switch",
|
|
113
|
-
"aria-checked":
|
|
114
|
-
"aria-required":
|
|
115
|
-
"aria-readonly":
|
|
116
|
-
"aria-invalid":
|
|
117
|
-
disabled:
|
|
115
|
+
"aria-checked": m.value,
|
|
116
|
+
"aria-required": a.required || void 0,
|
|
117
|
+
"aria-readonly": a.readonly || void 0,
|
|
118
|
+
"aria-invalid": i || void 0,
|
|
119
|
+
disabled: a.disabled
|
|
118
120
|
}, e.$attrs, {
|
|
119
|
-
"aria-describedby":
|
|
120
|
-
onClick: t[1] ||=
|
|
121
|
+
"aria-describedby": T(n)(r, W.value),
|
|
122
|
+
onClick: t[1] ||= M(() => {}, ["stop"]),
|
|
121
123
|
onInput: z
|
|
122
|
-
}), null, 16,
|
|
124
|
+
}), null, 16, N), [[k, m.value]]), d("div", P, [d("span", F, [a.showStateLabels ? (x(), u(o, { key: 0 }, [p(C(X.value), 1)], 64)) : l("", !0)]), d("span", I, [a.showStateLabels ? (x(), u(o, { key: 0 }, [p(C(Y.value), 1)], 64)) : l("", !0)])])], 6)])]),
|
|
123
125
|
_: 2
|
|
124
126
|
}, [e.$slots.errors ? {
|
|
125
127
|
name: "errors",
|
|
126
|
-
fn:
|
|
128
|
+
fn: A(() => [S(e.$slots, "errors")]),
|
|
127
129
|
key: "0"
|
|
130
|
+
} : void 0, e.$slots.warnings ? {
|
|
131
|
+
name: "warnings",
|
|
132
|
+
fn: A(() => [S(e.$slots, "warnings")]),
|
|
133
|
+
key: "1"
|
|
128
134
|
} : void 0]), 1032, [
|
|
129
135
|
"id",
|
|
130
136
|
"class",
|
|
@@ -143,4 +149,4 @@ var j = [
|
|
|
143
149
|
}
|
|
144
150
|
});
|
|
145
151
|
//#endregion
|
|
146
|
-
export {
|
|
152
|
+
export { L as default };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const DEFAULT_ICONS: {
|
|
2
|
+
error: {
|
|
3
|
+
icon: string;
|
|
4
|
+
};
|
|
5
|
+
warning: {
|
|
6
|
+
icon: string;
|
|
7
|
+
};
|
|
8
|
+
help: {
|
|
9
|
+
icon: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
/** Default strings for {@link QSwitch}. Includes the field help texts. */
|
|
13
|
+
export declare const DEFAULT_TEXTS: {
|
|
14
|
+
on: string;
|
|
15
|
+
off: string;
|
|
16
|
+
error: string;
|
|
17
|
+
warning: string;
|
|
18
|
+
showHelp: string;
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/QSwitch/constants.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,aAAa;;;;;;;;;;CAEY,CAAA;AAEtC,0EAA0E;AAC1E,eAAO,MAAM,aAAa;;;;;;CAKQ,CAAA"}
|