@quidgest/ui 0.27.1 → 0.29.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 +101 -8
- package/README.md +19 -0
- package/dist/json/api.json +2787 -366
- package/dist/manifest/components.json +1 -2
- package/dist/ui.css +641 -203
- package/dist/ui.esm.js +1631 -1608
- package/dist/ui.js +1314 -1292
- package/dist/ui.min.css +1 -1
- package/dist/ui.min.js +1314 -1292
- package/dist/ui.scss +483 -152
- package/esm/components/QAccordion/QAccordion.d.ts +8 -4
- package/esm/components/QAccordion/QAccordion.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordion.vue.js +38 -30
- package/esm/components/QAccordion/QAccordionItem.d.ts +4 -1
- package/esm/components/QAccordion/QAccordionItem.d.ts.map +1 -1
- package/esm/components/QAccordion/QAccordionItem.vue.js +37 -6
- package/esm/components/QAccordion/constants.d.ts +9 -0
- package/esm/components/QAccordion/constants.d.ts.map +1 -0
- package/esm/components/QAccordion/constants.js +5 -0
- package/esm/components/QAccordion/index.d.ts +38 -14
- package/esm/components/QAccordion/index.d.ts.map +1 -1
- package/esm/components/QAccordion/types.d.ts +17 -0
- package/esm/components/QAccordion/types.d.ts.map +1 -1
- package/esm/components/QAlert/QAlert.d.ts +68 -0
- package/esm/components/QAlert/QAlert.d.ts.map +1 -0
- package/esm/components/QAlert/QAlert.vue.js +113 -0
- package/esm/components/QAlert/QAlert2.vue.js +5 -0
- package/esm/components/QAlert/constants.d.ts +25 -0
- package/esm/components/QAlert/constants.d.ts.map +1 -0
- package/esm/components/QAlert/constants.js +11 -0
- package/esm/components/QAlert/index.d.ts +56 -0
- package/esm/components/QAlert/index.d.ts.map +1 -0
- package/esm/components/QAlert/index.js +6 -0
- package/esm/components/QAlert/types.d.ts +85 -0
- package/esm/components/QAlert/types.d.ts.map +1 -0
- package/esm/components/QAvatar/QAvatar.d.ts +1 -1
- package/esm/components/QAvatar/QAvatar.d.ts.map +1 -1
- package/esm/components/QAvatar/QAvatar.vue.js +19 -12
- package/esm/components/QAvatar/index.d.ts +3 -3
- package/esm/components/QAvatar/types.d.ts +3 -2
- package/esm/components/QAvatar/types.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.d.ts +1 -1
- package/esm/components/QBadge/QBadge.d.ts.map +1 -1
- package/esm/components/QBadge/QBadge.vue.js +41 -42
- package/esm/components/QBadge/constants.d.ts +1 -1
- package/esm/components/QBadge/constants.js +1 -1
- package/esm/components/QBadge/index.d.ts +3 -3
- package/esm/components/QBadgeIndicator/QBadgeIndicator.d.ts.map +1 -1
- package/esm/components/QBadgeIndicator/QBadgeIndicator.vue.js +14 -10
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts +17 -4
- package/esm/components/QBreadcrumbs/QBreadcrumb.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumb.vue.js +12 -7
- package/esm/components/QBreadcrumbs/QBreadcrumbs.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/QBreadcrumbs.vue.js +26 -32
- package/esm/components/QBreadcrumbs/constants.d.ts +11 -2
- package/esm/components/QBreadcrumbs/constants.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/constants.js +5 -3
- package/esm/components/QBreadcrumbs/context.d.ts +5 -5
- package/esm/components/QBreadcrumbs/context.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/index.d.ts +17 -4
- package/esm/components/QBreadcrumbs/index.d.ts.map +1 -1
- package/esm/components/QBreadcrumbs/types.d.ts +2 -0
- package/esm/components/QBreadcrumbs/types.d.ts.map +1 -1
- package/esm/components/QButton/QButton.d.ts +12 -4
- package/esm/components/QButton/QButton.d.ts.map +1 -1
- package/esm/components/QButton/QButton.vue.js +118 -66
- package/esm/components/QButton/constants.d.ts +11 -0
- package/esm/components/QButton/constants.d.ts.map +1 -0
- package/esm/components/QButton/constants.js +5 -0
- package/esm/components/QButton/index.d.ts +15 -4
- package/esm/components/QButton/index.d.ts.map +1 -1
- package/esm/components/QButton/types.d.ts +52 -0
- package/esm/components/QButton/types.d.ts.map +1 -1
- package/esm/components/QButtonGroup/QButtonGroup.vue.js +18 -18
- package/esm/components/QCard/QCard.d.ts.map +1 -1
- package/esm/components/QCard/QCard.vue.js +51 -48
- package/esm/components/QCarousel/QCarousel.d.ts +1 -1
- package/esm/components/QCarousel/QCarousel.d.ts.map +1 -1
- package/esm/components/QCarousel/QCarousel.vue.js +105 -101
- package/esm/components/QCarousel/constants.d.ts +3 -2
- package/esm/components/QCarousel/constants.d.ts.map +1 -1
- package/esm/components/QCarousel/constants.js +4 -3
- package/esm/components/QCarousel/index.d.ts +3 -3
- package/esm/components/QCheckbox/QCheckbox.d.ts +18 -6
- package/esm/components/QCheckbox/QCheckbox.d.ts.map +1 -1
- package/esm/components/QCheckbox/QCheckbox.vue.js +112 -94
- package/esm/components/QCheckbox/constants.d.ts +3 -0
- package/esm/components/QCheckbox/constants.d.ts.map +1 -1
- package/esm/components/QCheckbox/constants.js +4 -2
- package/esm/components/QCheckbox/index.d.ts +57 -47
- package/esm/components/QCheckbox/index.d.ts.map +1 -1
- package/esm/components/QCheckbox/index.js +2 -3
- package/esm/components/QCheckbox/types.d.ts +10 -7
- package/esm/components/QCheckbox/types.d.ts.map +1 -1
- package/esm/components/QCollapsible/QCollapsible.d.ts +1 -1
- package/esm/components/QCollapsible/QCollapsible.vue.js +23 -23
- package/esm/components/QCollapsible/index.d.ts +3 -3
- package/esm/components/QColorPicker/QColorPicker.d.ts +19 -2
- package/esm/components/QColorPicker/QColorPicker.d.ts.map +1 -1
- package/esm/components/QColorPicker/QColorPicker.vue.js +42 -32
- package/esm/components/QColorPicker/constants.d.ts +10 -0
- package/esm/components/QColorPicker/constants.d.ts.map +1 -1
- package/esm/components/QColorPicker/constants.js +6 -2
- package/esm/components/QColorPicker/index.d.ts +63 -6
- package/esm/components/QColorPicker/index.d.ts.map +1 -1
- package/esm/components/QColorPicker/types.d.ts +11 -3
- package/esm/components/QColorPicker/types.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.d.ts +677 -256
- package/esm/components/QCombobox/QCombobox.d.ts.map +1 -1
- package/esm/components/QCombobox/QCombobox.vue.js +134 -114
- package/esm/components/QCombobox/constants.d.ts +10 -0
- package/esm/components/QCombobox/constants.d.ts.map +1 -1
- package/esm/components/QCombobox/constants.js +13 -5
- package/esm/components/QCombobox/index.d.ts +900 -636
- package/esm/components/QCombobox/index.d.ts.map +1 -1
- package/esm/components/QCombobox/types.d.ts +12 -2
- package/esm/components/QCombobox/types.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts +568 -49
- package/esm/components/QDateTimePicker/QDateTimePicker.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/QDateTimePicker.vue.js +284 -279
- package/esm/components/QDateTimePicker/constants.d.ts +4 -0
- package/esm/components/QDateTimePicker/constants.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/constants.js +12 -6
- package/esm/components/QDateTimePicker/index.d.ts +492 -32
- package/esm/components/QDateTimePicker/index.d.ts.map +1 -1
- package/esm/components/QDateTimePicker/types.d.ts +4 -2
- package/esm/components/QDateTimePicker/types.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.d.ts +2 -2
- package/esm/components/QDialog/QDialog.d.ts.map +1 -1
- package/esm/components/QDialog/QDialog.vue.js +29 -25
- package/esm/components/QDialog/QDialogProvider.d.ts.map +1 -1
- package/esm/components/QDialog/constants.d.ts +8 -0
- package/esm/components/QDialog/constants.d.ts.map +1 -1
- package/esm/components/QDialog/constants.js +9 -4
- package/esm/components/QDialog/index.d.ts +9 -9
- package/esm/components/QDialog/types.d.ts +7 -5
- package/esm/components/QDialog/types.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.d.ts +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenu.vue.js +0 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts +29 -15
- package/esm/components/QDropdownMenu/QDropdownMenuContent.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/QDropdownMenuContent.vue.js +127 -112
- package/esm/components/QDropdownMenu/constants.d.ts +6 -0
- package/esm/components/QDropdownMenu/constants.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/constants.js +6 -2
- package/esm/components/QDropdownMenu/index.d.ts +3 -6
- package/esm/components/QDropdownMenu/index.d.ts.map +1 -1
- package/esm/components/QDropdownMenu/types.d.ts +9 -7
- package/esm/components/QDropdownMenu/types.d.ts.map +1 -1
- package/esm/components/QField/QField.d.ts +228 -3
- package/esm/components/QField/QField.d.ts.map +1 -1
- package/esm/components/QField/QField.vue.js +99 -36
- package/esm/components/QField/constants.d.ts +11 -0
- package/esm/components/QField/constants.d.ts.map +1 -0
- package/esm/components/QField/constants.js +5 -0
- package/esm/components/QField/index.d.ts +129 -5
- package/esm/components/QField/index.d.ts.map +1 -1
- package/esm/components/QField/types.d.ts +37 -1
- package/esm/components/QField/types.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.d.ts +35 -3
- package/esm/components/QFileUpload/QFileUpload.d.ts.map +1 -1
- package/esm/components/QFileUpload/QFileUpload.vue.js +107 -85
- package/esm/components/QFileUpload/constants.d.ts +4 -0
- package/esm/components/QFileUpload/constants.d.ts.map +1 -1
- package/esm/components/QFileUpload/constants.js +6 -3
- package/esm/components/QFileUpload/index.d.ts +108 -9
- package/esm/components/QFileUpload/index.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.d.ts.map +1 -1
- package/esm/components/QFocusWrap/QFocusWrap.vue.js +38 -51
- package/esm/components/QIcon/QIconFont.d.ts +1 -3
- package/esm/components/QIcon/QIconFont.d.ts.map +1 -1
- package/esm/components/QIcon/QIconFont.vue.js +2 -2
- package/esm/components/QIcon/QIconSvg.d.ts +1 -3
- package/esm/components/QIcon/QIconSvg.d.ts.map +1 -1
- package/esm/components/QIcon/QIconSvg.vue.js +1 -1
- package/esm/components/QIcon/QSvgSymbol.d.ts +3 -2
- package/esm/components/QIcon/QSvgSymbol.d.ts.map +1 -1
- package/esm/components/QIcon/QSvgSymbol.vue.js +37 -28
- package/esm/components/QIcon/index.d.ts +2 -6
- package/esm/components/QIcon/index.d.ts.map +1 -1
- package/esm/components/QIcon/index.js +6 -6
- package/esm/components/QIcon/types.d.ts +7 -3
- package/esm/components/QIcon/types.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.d.ts +263 -12
- package/esm/components/QInputGroup/QInputGroup.d.ts.map +1 -1
- package/esm/components/QInputGroup/QInputGroup.vue.js +76 -35
- package/esm/components/QInputGroup/index.d.ts +138 -9
- package/esm/components/QInputGroup/index.d.ts.map +1 -1
- package/esm/components/QInputGroup/types.d.ts +15 -1
- package/esm/components/QInputGroup/types.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.d.ts.map +1 -1
- package/esm/components/QLabel/QLabel.vue.js +1 -0
- package/esm/components/QList/QList.d.ts +18 -10
- package/esm/components/QList/QList.d.ts.map +1 -1
- package/esm/components/QList/QList.vue.js +131 -125
- package/esm/components/QList/QListItem.d.ts +6 -2
- package/esm/components/QList/QListItem.d.ts.map +1 -1
- package/esm/components/QList/QListItem.vue.js +54 -41
- package/esm/components/QList/groupListItems.d.ts +25 -0
- package/esm/components/QList/groupListItems.d.ts.map +1 -0
- package/esm/components/QList/groupListItems.js +18 -0
- package/esm/components/QList/index.d.ts +14 -6
- package/esm/components/QList/index.d.ts.map +1 -1
- package/esm/components/QList/types.d.ts +23 -0
- package/esm/components/QList/types.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.d.ts +28 -3
- package/esm/components/QObfuscation/QObfuscation.d.ts.map +1 -1
- package/esm/components/QObfuscation/QObfuscation.vue.js +119 -89
- package/esm/components/QObfuscation/constants.d.ts +4 -0
- package/esm/components/QObfuscation/constants.d.ts.map +1 -1
- package/esm/components/QObfuscation/constants.js +6 -3
- package/esm/components/QObfuscation/index.d.ts +83 -9
- package/esm/components/QObfuscation/index.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.d.ts +6 -1
- package/esm/components/QOverflow/QOverflow.d.ts.map +1 -1
- package/esm/components/QOverflow/QOverflow.vue.js +94 -99
- package/esm/components/QOverflow/constants.d.ts +6 -3
- package/esm/components/QOverflow/constants.d.ts.map +1 -1
- package/esm/components/QOverflow/constants.js +2 -2
- package/esm/components/QOverflow/index.d.ts +3 -3
- package/esm/components/QOverlay/QOverlay.d.ts +2 -2
- package/esm/components/QOverlay/QOverlay.d.ts.map +1 -1
- package/esm/components/QOverlay/QOverlay.vue.js +125 -117
- package/esm/components/QOverlay/index.d.ts +6 -6
- package/esm/components/QOverlay/types.d.ts +9 -2
- package/esm/components/QOverlay/types.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.d.ts +412 -25
- package/esm/components/QPasswordField/QPasswordField.d.ts.map +1 -1
- package/esm/components/QPasswordField/QPasswordField.vue.js +51 -35
- package/esm/components/QPasswordField/QPasswordFieldMeterOverlay.vue.js +1 -0
- package/esm/components/QPasswordField/constants.d.ts +8 -0
- package/esm/components/QPasswordField/constants.d.ts.map +1 -1
- package/esm/components/QPasswordField/constants.js +8 -3
- package/esm/components/QPasswordField/index.d.ts +274 -15
- package/esm/components/QPasswordField/index.d.ts.map +1 -1
- package/esm/components/QPasswordField/types.d.ts +14 -2
- package/esm/components/QPasswordField/types.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.d.ts +1768 -132
- package/esm/components/QPhoneField/QPhoneField.d.ts.map +1 -1
- package/esm/components/QPhoneField/QPhoneField.vue.js +194 -168
- package/esm/components/QPhoneField/constants.d.ts +24 -0
- package/esm/components/QPhoneField/constants.d.ts.map +1 -1
- package/esm/components/QPhoneField/constants.js +14 -3
- package/esm/components/QPhoneField/index.d.ts +987 -68
- package/esm/components/QPhoneField/index.d.ts.map +1 -1
- package/esm/components/QPhoneField/types.d.ts +10 -2
- package/esm/components/QPhoneField/types.d.ts.map +1 -1
- package/esm/components/QPopover/QPopover.d.ts +1 -1
- package/esm/components/QPopover/index.d.ts +3 -3
- package/esm/components/QPropertyList/QPropertyList.d.ts.map +1 -1
- package/esm/components/QPropertyList/QPropertyList.vue.js +63 -59
- package/esm/components/QPropertyList/QPropertyListGroup.vue.js +5 -6
- package/esm/components/QPropertyList/QPropertyListPanel.vue.js +0 -1
- package/esm/components/QPropertyList/QPropertyListRow.d.ts +1 -1
- package/esm/components/QPropertyList/QPropertyListRow.vue.js +2 -2
- package/esm/components/QPropertyList/index.d.ts +2 -4
- package/esm/components/QPropertyList/index.d.ts.map +1 -1
- package/esm/components/QPropertyList/types.d.ts +0 -12
- package/esm/components/QPropertyList/types.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts +1 -1
- package/esm/components/QRadioGroup/QRadioButton.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioButton.vue.js +49 -45
- package/esm/components/QRadioGroup/QRadioGroup.d.ts.map +1 -1
- package/esm/components/QRadioGroup/QRadioGroup.vue.js +56 -41
- package/esm/components/QRadioGroup/index.d.ts +3 -3
- package/esm/components/QRadioGroup/types.d.ts +5 -4
- package/esm/components/QRadioGroup/types.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/QRemoveScrollBar.vue.js +7 -7
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts +0 -6
- package/esm/components/QRemoveScrollBar/utils/gap.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/gap.js +12 -18
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts +11 -0
- package/esm/components/QRemoveScrollBar/utils/stylesheet.d.ts.map +1 -1
- package/esm/components/QRemoveScrollBar/utils/stylesheet.js +5 -5
- package/esm/components/QSection/QSection.d.ts +11 -3
- package/esm/components/QSection/QSection.d.ts.map +1 -1
- package/esm/components/QSection/QSection.vue.js +76 -21
- package/esm/components/QSection/constants.d.ts +11 -0
- package/esm/components/QSection/constants.d.ts.map +1 -0
- package/esm/components/QSection/constants.js +5 -0
- package/esm/components/QSection/index.d.ts +12 -1
- package/esm/components/QSection/index.d.ts.map +1 -1
- package/esm/components/QSection/types.d.ts +39 -0
- package/esm/components/QSection/types.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.d.ts +477 -36
- package/esm/components/QSelect/QSelect.d.ts.map +1 -1
- package/esm/components/QSelect/QSelect.vue.js +273 -212
- package/esm/components/QSelect/constants.d.ts +14 -1
- package/esm/components/QSelect/constants.d.ts.map +1 -1
- package/esm/components/QSelect/constants.js +14 -8
- package/esm/components/QSelect/index.d.ts +332 -28
- package/esm/components/QSelect/index.d.ts.map +1 -1
- package/esm/components/QSelect/types.d.ts +12 -2
- package/esm/components/QSelect/types.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebar.vue.js +68 -68
- package/esm/components/QSidebar/QSidebarAnchor.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarItem.d.ts +32 -2
- package/esm/components/QSidebar/QSidebarItem.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarItem.vue.js +1 -1
- package/esm/components/QSidebar/QSidebarPanel.d.ts.map +1 -1
- package/esm/components/QSidebar/QSidebarPanel.vue.js +5 -5
- package/esm/components/QSidebar/context.d.ts +3 -3
- package/esm/components/QSidebar/context.d.ts.map +1 -1
- package/esm/components/QSidebar/index.d.ts +16 -1
- package/esm/components/QSidebar/index.d.ts.map +1 -1
- package/esm/components/QSpinnerLoader/index.js +3 -3
- package/esm/components/QSteps/QStepHeader.d.ts.map +1 -1
- package/esm/components/QSteps/QStepHeader.vue.js +1 -0
- package/esm/components/QSteps/QSteps.d.ts +4 -4
- package/esm/components/QSteps/QSteps.d.ts.map +1 -1
- package/esm/components/QSteps/QSteps.vue.js +152 -130
- package/esm/components/QSteps/QStepsNav.vue.js +6 -6
- package/esm/components/QSteps/constants.d.ts +16 -1
- package/esm/components/QSteps/constants.d.ts.map +1 -1
- package/esm/components/QSteps/constants.js +6 -3
- package/esm/components/QSteps/index.d.ts +2 -2
- package/esm/components/QSteps/types.d.ts +13 -4
- package/esm/components/QSteps/types.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.d.ts +195 -0
- package/esm/components/QSwitch/QSwitch.d.ts.map +1 -1
- package/esm/components/QSwitch/QSwitch.vue.js +96 -56
- package/esm/components/QSwitch/index.d.ts +197 -2
- package/esm/components/QSwitch/index.d.ts.map +1 -1
- package/esm/components/QSwitch/types.d.ts +2 -1
- package/esm/components/QSwitch/types.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.d.ts +35 -12
- package/esm/components/QTabs/QTab.d.ts.map +1 -1
- package/esm/components/QTabs/QTab.vue.js +77 -67
- package/esm/components/QTabs/QTabs.d.ts +7 -4
- package/esm/components/QTabs/QTabs.d.ts.map +1 -1
- package/esm/components/QTabs/QTabs.vue.js +94 -81
- package/esm/components/QTabs/constants.d.ts +24 -2
- package/esm/components/QTabs/constants.d.ts.map +1 -1
- package/esm/components/QTabs/constants.js +9 -0
- package/esm/components/QTabs/context.d.ts +3 -3
- package/esm/components/QTabs/context.d.ts.map +1 -1
- package/esm/components/QTabs/index.d.ts +34 -15
- package/esm/components/QTabs/index.d.ts.map +1 -1
- package/esm/components/QTabs/types.d.ts +26 -2
- package/esm/components/QTabs/types.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts +1 -1
- package/esm/components/QTextArea/QTextArea.d.ts.map +1 -1
- package/esm/components/QTextArea/QTextArea.vue.js +62 -47
- package/esm/components/QTextArea/index.d.ts +6 -6
- package/esm/components/QTextField/QTextField.d.ts +277 -11
- package/esm/components/QTextField/QTextField.d.ts.map +1 -1
- package/esm/components/QTextField/QTextField.vue.js +70 -55
- package/esm/components/QTextField/constants.d.ts +9 -0
- package/esm/components/QTextField/constants.d.ts.map +1 -1
- package/esm/components/QTextField/constants.js +10 -3
- package/esm/components/QTextField/index.d.ts +192 -11
- package/esm/components/QTextField/index.d.ts.map +1 -1
- package/esm/components/QTextField/index.js +4 -4
- package/esm/components/QTextField/types.d.ts +10 -2
- package/esm/components/QTextField/types.d.ts.map +1 -1
- package/esm/components/QToast/QToast.d.ts +4 -2
- package/esm/components/QToast/QToast.d.ts.map +1 -1
- package/esm/components/QToast/QToast.vue.js +157 -104
- package/esm/components/QToast/QToaster.d.ts +1 -1
- package/esm/components/QToast/QToaster.d.ts.map +1 -1
- package/esm/components/QToast/QToaster.vue.js +59 -29
- package/esm/components/QToast/constants.d.ts +18 -0
- package/esm/components/QToast/constants.d.ts.map +1 -1
- package/esm/components/QToast/constants.js +9 -2
- package/esm/components/QToast/context.d.ts +24 -0
- package/esm/components/QToast/context.d.ts.map +1 -0
- package/esm/components/QToast/context.js +4 -0
- package/esm/components/QToast/index.d.ts +12 -7
- package/esm/components/QToast/index.d.ts.map +1 -1
- package/esm/components/QToast/types.d.ts +26 -6
- package/esm/components/QToast/types.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.d.ts +2 -2
- package/esm/components/QToggle/QToggle.d.ts.map +1 -1
- package/esm/components/QToggle/QToggle.vue.js +13 -0
- package/esm/components/QToggle/index.d.ts +16 -1
- package/esm/components/QToggle/index.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.d.ts +3 -3
- package/esm/components/QToggleGroup/QToggleGroup.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroup.vue.js +34 -31
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts +2 -2
- package/esm/components/QToggleGroup/QToggleGroupItem.d.ts.map +1 -1
- package/esm/components/QToggleGroup/QToggleGroupItem.vue.js +20 -7
- package/esm/components/QToggleGroup/index.d.ts +9 -9
- package/esm/components/QToggleGroup/types.d.ts +8 -1
- package/esm/components/QToggleGroup/types.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts +1 -1
- package/esm/components/QTooltip/QTooltip.d.ts.map +1 -1
- package/esm/components/QTooltip/QTooltip.vue.js +1 -1
- package/esm/components/QTooltip/index.d.ts +3 -3
- package/esm/components/__internal__/QChevron/QChevron.vue.js +5 -5
- package/esm/components/__internal__/QClearButton/QClearButton.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/QClearButton.vue.js +4 -4
- package/esm/components/__internal__/QClearButton/index.d.ts +1 -1
- package/esm/components/__internal__/QClearButton/index.d.ts.map +1 -1
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts +99 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover.vue.js +60 -0
- package/esm/components/__internal__/QHelpPopover/QHelpPopover2.vue.js +5 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts +9 -0
- package/esm/components/__internal__/QHelpPopover/constants.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/constants.js +4 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts +98 -0
- package/esm/components/__internal__/QHelpPopover/index.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/index.js +6 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts +50 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.d.ts.map +1 -0
- package/esm/components/__internal__/QHelpPopover/resolveHelp.js +27 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts +32 -0
- package/esm/components/__internal__/QHelpPopover/types.d.ts.map +1 -0
- package/esm/components/__internal__/QSafeTriangle/QSafeTriangle.d.ts +2 -2
- package/esm/components/__internal__/QSafeTriangle/index.d.ts +2 -2
- package/esm/components/index.d.ts +1 -0
- package/esm/components/index.d.ts.map +1 -1
- package/esm/components/index.js +132 -131
- package/esm/composables/defaults.d.ts +10 -0
- package/esm/composables/defaults.d.ts.map +1 -1
- package/esm/composables/defaults.js +8 -5
- package/esm/composables/useColor/index.d.ts +31 -21
- package/esm/composables/useColor/index.d.ts.map +1 -1
- package/esm/composables/useColor/index.js +58 -49
- package/esm/composables/useColor/types.d.ts +19 -6
- package/esm/composables/useColor/types.d.ts.map +1 -1
- package/esm/composables/useDialog/_internal.js +8 -11
- package/esm/composables/useDialog/index.js +1 -2
- package/esm/composables/useDialog/types.d.ts +3 -3
- package/esm/composables/useDialog/types.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.d.ts +1 -11
- package/esm/composables/useDropZone/index.d.ts.map +1 -1
- package/esm/composables/useDropZone/index.js +23 -26
- package/esm/composables/useGroup/index.d.ts.map +1 -1
- package/esm/composables/useGroup/index.js +15 -15
- package/esm/composables/useOverlayScope/index.d.ts +29 -0
- package/esm/composables/useOverlayScope/index.d.ts.map +1 -0
- package/esm/composables/useOverlayScope/index.js +23 -0
- package/esm/composables/useTextareaAutosize/index.d.ts +3 -1
- package/esm/composables/useTextareaAutosize/index.d.ts.map +1 -1
- package/esm/composables/useTextareaAutosize/index.js +6 -6
- package/esm/composables/useToast/_internal.js +23 -23
- package/esm/composables/useToast/index.js +1 -2
- package/esm/composables/useToast/types.d.ts +3 -3
- package/esm/composables/useToast/types.d.ts.map +1 -1
- package/esm/framework.js +14 -12
- package/esm/index.d.ts +2 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/symbols/overlayScope.d.ts +4 -0
- package/esm/symbols/overlayScope.d.ts.map +1 -0
- package/esm/symbols/overlayScope.js +4 -0
- package/esm/types/component.d.ts +31 -0
- package/esm/types/component.d.ts.map +1 -1
- package/esm/types/index.d.ts +1 -1
- package/esm/types/index.d.ts.map +1 -1
- package/esm/utils/color/merge.d.ts.map +1 -1
- package/esm/utils/color/parse.d.ts.map +1 -1
- package/esm/utils/color/parse.js +3 -10
- package/esm/utils/date.d.ts +35 -13
- package/esm/utils/date.d.ts.map +1 -1
- package/esm/utils/date.js +313 -253
- package/esm/utils/focus.d.ts +35 -0
- package/esm/utils/focus.d.ts.map +1 -0
- package/esm/utils/focus.js +27 -0
- package/esm/utils/mask.d.ts +1 -0
- package/esm/utils/mask.d.ts.map +1 -1
- package/esm/utils/mask.js +42 -100
- package/esm/utils/overlay.d.ts +13 -1
- package/esm/utils/overlay.d.ts.map +1 -1
- package/esm/utils/overlay.js +57 -43
- package/esm/utils/safeTriangle.d.ts.map +1 -1
- package/esm/utils/safeTriangle.js +2 -2
- package/esm/utils/setupPropsProxy.d.ts +3 -1
- package/esm/utils/setupPropsProxy.d.ts.map +1 -1
- package/esm/utils/setupPropsProxy.js +2 -2
- package/esm/utils/severity.d.ts +40 -0
- package/esm/utils/severity.d.ts.map +1 -0
- package/esm/utils/severity.js +25 -0
- package/esm/utils/theme.js +12 -12
- package/package.json +9 -6
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts +0 -18
- package/esm/components/QCheckbox/QCheckboxLabel.d.ts.map +0 -1
- package/esm/components/QCheckbox/QCheckboxLabel.vue.js +0 -32
- package/esm/components/QCheckbox/QCheckboxLabel2.vue.js +0 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useId as e } from "../../composables/useId/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { QIcon as t } from "../QIcon/index.js";
|
|
3
|
+
import { QOverlay as n } from "../QOverlay/index.js";
|
|
4
|
+
import { QButton as r } from "../QButton/index.js";
|
|
5
5
|
import { QTextField as i } from "../QTextField/index.js";
|
|
6
6
|
import { DEFAULT_ICONS as a, DEFAULT_TEXTS as o, MONTH_NAMES as s, WEEKDAY_NAMES as ee } from "./constants.js";
|
|
7
7
|
import { QSwitch as te } from "../QSwitch/index.js";
|
|
@@ -26,6 +26,10 @@ var Oe = {
|
|
|
26
26
|
required: { type: Boolean },
|
|
27
27
|
for: {},
|
|
28
28
|
labelPosition: {},
|
|
29
|
+
help: {},
|
|
30
|
+
helpDisplay: {},
|
|
31
|
+
icons: { default: () => a },
|
|
32
|
+
texts: { default: () => o },
|
|
29
33
|
size: {},
|
|
30
34
|
readonly: { type: Boolean },
|
|
31
35
|
disabled: { type: Boolean },
|
|
@@ -37,29 +41,27 @@ var Oe = {
|
|
|
37
41
|
},
|
|
38
42
|
clearable: { type: Boolean },
|
|
39
43
|
format: { default: "dd/MM/yyyy HH:mm" },
|
|
40
|
-
range: { type: Boolean }
|
|
41
|
-
icons: { default: () => a },
|
|
42
|
-
texts: { default: () => o }
|
|
44
|
+
range: { type: Boolean }
|
|
43
45
|
}, {
|
|
44
46
|
modelValue: {},
|
|
45
47
|
modelModifiers: {}
|
|
46
48
|
}),
|
|
47
49
|
emits: /*@__PURE__*/ be(["open", "close"], ["update:modelValue"]),
|
|
48
50
|
setup(a, { emit: o }) {
|
|
49
|
-
let h = a, be = o, Ge = e(Ee(h, "id")),
|
|
50
|
-
get: () =>
|
|
51
|
-
set: (e) =>
|
|
52
|
-
}),
|
|
53
|
-
function
|
|
51
|
+
let h = a, be = o, Ge = { ignoreWeekday: !0 }, Ke = e(Ee(h, "id")), qe = De(a, "modelValue"), k = l({
|
|
52
|
+
get: () => qe.value,
|
|
53
|
+
set: (e) => qe.value = e || void 0
|
|
54
|
+
}), Je = l(() => h.readonly || h.disabled ? void 0 : h.placeholder), A = l(() => oe(h.format)), Ye = l(() => ae(h.format)), j = l(() => _e(h.format)), M = l(() => fe(h.format)), Xe = l(() => L.value === (/* @__PURE__ */ new Date()).getMonth() && R.value === (/* @__PURE__ */ new Date()).getFullYear()), N = x(!1), Ze = x(!1), P = x(""), F = x(null), I = x("date"), L = x((/* @__PURE__ */ new Date()).getMonth()), R = x((/* @__PURE__ */ new Date()).getFullYear()), z = x((/* @__PURE__ */ new Date()).getFullYear()), Qe = null, B = !1, $e = !1, et = !1, V = null;
|
|
55
|
+
function tt() {
|
|
54
56
|
queueMicrotask(() => {
|
|
55
57
|
requestAnimationFrame(() => {
|
|
56
58
|
let e = Kn(), t = document.activeElement;
|
|
57
|
-
e && (t === e || t instanceof Node &&
|
|
59
|
+
e && (t === e || t instanceof Node && H.value?.contains(t)) && (B = !0);
|
|
58
60
|
});
|
|
59
61
|
});
|
|
60
62
|
}
|
|
61
|
-
let
|
|
62
|
-
function
|
|
63
|
+
let nt = C("field"), H = C("menu"), rt = C("calendar"), it = C("monthHeader"), at = C("yearHeader"), ot = C("toggleTime"), st = /* @__PURE__ */ new Map(), ct = /* @__PURE__ */ new Map();
|
|
64
|
+
function lt(e) {
|
|
63
65
|
if (!e) return null;
|
|
64
66
|
if (e instanceof HTMLElement) return e;
|
|
65
67
|
if (typeof e == "object" && "$el" in e) {
|
|
@@ -68,80 +70,64 @@ var Oe = {
|
|
|
68
70
|
}
|
|
69
71
|
return null;
|
|
70
72
|
}
|
|
71
|
-
function
|
|
72
|
-
let n =
|
|
73
|
-
n ?
|
|
73
|
+
function ut(e, t) {
|
|
74
|
+
let n = lt(e);
|
|
75
|
+
n ? st.set(t, n) : st.delete(t);
|
|
74
76
|
}
|
|
75
|
-
function
|
|
76
|
-
let n =
|
|
77
|
-
n ?
|
|
77
|
+
function dt(e, t) {
|
|
78
|
+
let n = lt(e);
|
|
79
|
+
n ? ct.set(t, n) : ct.delete(t);
|
|
78
80
|
}
|
|
79
|
-
function
|
|
80
|
-
|
|
81
|
+
function ft(e) {
|
|
82
|
+
lt(e)?.focus();
|
|
81
83
|
}
|
|
82
|
-
let
|
|
83
|
-
getMonthIndex: (e, t) => {
|
|
84
|
-
let n = e.toLowerCase();
|
|
85
|
-
return s.findIndex((e) => {
|
|
86
|
-
let r = h.texts[e] ?? e;
|
|
87
|
-
return (t ? r.substring(0, 3) : r).toLowerCase() === n;
|
|
88
|
-
});
|
|
89
|
-
},
|
|
90
|
-
getWeekdayIndex: (e, t) => {
|
|
91
|
-
let n = e.toLowerCase();
|
|
92
|
-
for (let e = 0; e < 7; e++) {
|
|
93
|
-
let r = ee[(e + 6) % 7], i = h.texts[r] ?? r;
|
|
94
|
-
if ((t ? i.substring(0, 3) : i).toLowerCase() === n) return e;
|
|
95
|
-
}
|
|
96
|
-
return null;
|
|
97
|
-
}
|
|
98
|
-
})), W = l(() => {
|
|
84
|
+
let U = l(() => {
|
|
99
85
|
let e = k.value;
|
|
100
86
|
return e ? e instanceof Date ? e : Array.isArray(e) && e.length > 0 ? e[0] : typeof e == "string" ? wn(e) : null : null;
|
|
101
|
-
}),
|
|
87
|
+
}), pt = l(() => {
|
|
102
88
|
let e = k.value;
|
|
103
89
|
return Array.isArray(e) && e.length > 1 ? e[1] : null;
|
|
104
|
-
}),
|
|
105
|
-
if (!h.range) return
|
|
106
|
-
if (!
|
|
107
|
-
let e =
|
|
108
|
-
return e ? e <
|
|
109
|
-
}),
|
|
90
|
+
}), W = x(null), G = x(null), K = x(null), q = x(!1), mt = l(() => !q.value || !W.value ? U.value : K.value && K.value < W.value ? K.value : W.value), ht = l(() => {
|
|
91
|
+
if (!h.range) return U.value;
|
|
92
|
+
if (!q.value || !W.value) return pt.value;
|
|
93
|
+
let e = K.value ?? G.value;
|
|
94
|
+
return e ? e < W.value ? W.value : e : null;
|
|
95
|
+
}), J = l(() => ({
|
|
110
96
|
getMonthName: (e, t) => {
|
|
111
|
-
let n =
|
|
97
|
+
let n = wt(e);
|
|
112
98
|
return t ? n.substring(0, 3) : n;
|
|
113
99
|
},
|
|
114
100
|
getWeekdayName: (e, t) => {
|
|
115
101
|
let n = ee[(e + 6) % 7], r = h.texts[n] ?? n;
|
|
116
102
|
return t ? r.substring(0, 3) : r;
|
|
117
103
|
}
|
|
118
|
-
})), gt = l(() => {
|
|
104
|
+
})), gt = l(() => J.value), _t = l(() => {
|
|
119
105
|
let e = k.value;
|
|
120
106
|
if (!e) return "";
|
|
121
|
-
if (Array.isArray(e)) return e.map((e) => e instanceof Date ? ie(e, h.format,
|
|
122
|
-
if (e instanceof Date) return ie(e, h.format,
|
|
107
|
+
if (Array.isArray(e)) return e.map((e) => e instanceof Date ? ie(e, h.format, J.value) : e).join(" - ");
|
|
108
|
+
if (e instanceof Date) return ie(e, h.format, J.value);
|
|
123
109
|
if (typeof e == "string") {
|
|
124
110
|
let t = wn(e);
|
|
125
|
-
return t ? ie(t, h.format,
|
|
111
|
+
return t ? ie(t, h.format, J.value) : String(e);
|
|
126
112
|
}
|
|
127
113
|
return String(e);
|
|
128
|
-
}),
|
|
129
|
-
function
|
|
130
|
-
P.value =
|
|
114
|
+
}), vt = l(() => F.value ?? _t.value);
|
|
115
|
+
function yt() {
|
|
116
|
+
P.value = vt.value;
|
|
131
117
|
}
|
|
132
|
-
w(
|
|
133
|
-
|
|
118
|
+
w(vt, () => {
|
|
119
|
+
Ze.value || yt();
|
|
134
120
|
}, { immediate: !0 });
|
|
135
|
-
let
|
|
121
|
+
let bt = l(() => {
|
|
136
122
|
let e = ce(new Date(R.value, L.value, 1)), t = se(L.value, R.value), n = (e.getDay() + 6) % 7, r = [], i = L.value === 0 ? 11 : L.value - 1, a = L.value === 0 ? R.value - 1 : R.value, o = se(i, a);
|
|
137
|
-
for (let e = n - 1; e >= 0; e--)
|
|
138
|
-
for (let e = 1; e <= t; e++)
|
|
123
|
+
for (let e = n - 1; e >= 0; e--) xt(r, new Date(a, i, o - e), !1);
|
|
124
|
+
for (let e = 1; e <= t; e++) xt(r, new Date(R.value, L.value, e), !0);
|
|
139
125
|
let s = 7 - r.length % 7, ee = s === 7 ? 0 : s;
|
|
140
|
-
for (let e = 1; e <= ee; e++)
|
|
126
|
+
for (let e = 1; e <= ee; e++) xt(r, new Date(R.value, L.value + 1, e), !1);
|
|
141
127
|
return r;
|
|
142
128
|
});
|
|
143
|
-
function
|
|
144
|
-
let r =
|
|
129
|
+
function xt(e, t, n) {
|
|
130
|
+
let r = mt.value, i = ht.value, a = t.getFullYear(), o = a < E || a > D;
|
|
145
131
|
e.push({
|
|
146
132
|
date: t,
|
|
147
133
|
isCurrentMonth: n,
|
|
@@ -153,79 +139,77 @@ var Oe = {
|
|
|
153
139
|
isDisabled: o
|
|
154
140
|
});
|
|
155
141
|
}
|
|
156
|
-
let
|
|
142
|
+
let St = l(() => ee.map((e) => {
|
|
157
143
|
let t = e;
|
|
158
144
|
return h.texts[t]?.substring(0, 2) ?? e;
|
|
159
|
-
})),
|
|
160
|
-
function
|
|
145
|
+
})), Ct = l(() => Array.from({ length: 12 }, (e, t) => wt(t, 3)));
|
|
146
|
+
function wt(e, t = 0) {
|
|
161
147
|
let n = s[e], r = h.texts[n] ?? s[e];
|
|
162
148
|
return t <= 0 ? r : r.substring(0, t);
|
|
163
149
|
}
|
|
164
|
-
function
|
|
150
|
+
function Tt(e) {
|
|
165
151
|
let t = e - Math.floor(O / 2), n = t + O;
|
|
166
152
|
return t < E && (t = E, n = Math.min(t + O, D)), n > D && (n = D, t = Math.max(E, n - O)), {
|
|
167
153
|
startYear: t,
|
|
168
154
|
endYear: n
|
|
169
155
|
};
|
|
170
156
|
}
|
|
171
|
-
function
|
|
172
|
-
let { startYear: t, endYear: n } =
|
|
157
|
+
function Et(e) {
|
|
158
|
+
let { startYear: t, endYear: n } = Tt(e);
|
|
173
159
|
return Array.from({ length: n - t + 1 }, (e, n) => t + n);
|
|
174
160
|
}
|
|
175
|
-
function Et() {
|
|
176
|
-
kt.value && (z.value -= O);
|
|
177
|
-
}
|
|
178
161
|
function Dt() {
|
|
179
|
-
|
|
162
|
+
z.value -= O;
|
|
163
|
+
}
|
|
164
|
+
function Ot() {
|
|
165
|
+
z.value += O;
|
|
180
166
|
}
|
|
181
|
-
let
|
|
182
|
-
w(() =>
|
|
167
|
+
let kt = l(() => Tt(z.value)), At = l(() => kt.value.startYear > E), jt = l(() => kt.value.endYear < D), Mt = l(() => L.value === 0 ? R.value - 1 : R.value), Nt = l(() => L.value === 11 ? R.value + 1 : R.value), Pt = l(() => Mt.value >= E), Ft = l(() => Nt.value <= D), It = l(() => Et(z.value)), Lt = l(() => M.value ? h.icons.clock : h.icons.calendar), Rt = l(() => `${h.format} - ${h.format}`), zt = l(() => re(h.format)), Bt = l(() => `${zt.value} - ${zt.value}`);
|
|
168
|
+
w(() => nt?.value?.inputRef, (e, t, n) => {
|
|
183
169
|
let r = Gn(e);
|
|
184
|
-
|
|
185
|
-
|
|
170
|
+
V = r, r && (r.addEventListener("click", Hn), n(() => {
|
|
171
|
+
V = null, r.removeEventListener("click", Hn);
|
|
186
172
|
}));
|
|
187
173
|
}, { flush: "post" }), w(k, () => {
|
|
188
|
-
F.value = null,
|
|
174
|
+
F.value = null, yt();
|
|
189
175
|
});
|
|
190
|
-
function
|
|
176
|
+
function Vt(e) {
|
|
191
177
|
return e === void 0 ? !1 : typeof e == "string" ? e.trim().length > 0 : e instanceof Date ? !0 : Array.isArray(e) ? e.length > 0 : !1;
|
|
192
178
|
}
|
|
193
|
-
let
|
|
194
|
-
function
|
|
195
|
-
|
|
179
|
+
let Ht = l(() => h.clearable && !h.readonly && !h.disabled && Vt(k.value));
|
|
180
|
+
function Ut() {
|
|
181
|
+
Ht.value && (en(), k.value = void 0, P.value = "", ar());
|
|
196
182
|
}
|
|
197
|
-
function
|
|
198
|
-
!h.range || !
|
|
183
|
+
function Wt(e) {
|
|
184
|
+
!h.range || !q.value || !W.value || e.getFullYear() < E || e.getFullYear() > D || (K.value = new Date(e));
|
|
199
185
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
186
|
+
function Gt() {
|
|
187
|
+
K.value = null;
|
|
202
188
|
}
|
|
203
|
-
function
|
|
189
|
+
function Kt(e) {
|
|
204
190
|
let t = e.currentTarget, n = e.relatedTarget;
|
|
205
|
-
!t || n && t.contains(n) ||
|
|
191
|
+
!t || n && t.contains(n) || Gt();
|
|
206
192
|
}
|
|
207
|
-
function
|
|
208
|
-
if (!h.range || !
|
|
193
|
+
function qt(e) {
|
|
194
|
+
if (!h.range || !q.value || !W.value) return;
|
|
209
195
|
let t = e.touches.item(0);
|
|
210
196
|
if (!t) return;
|
|
211
197
|
let n = document.elementFromPoint(t.clientX, t.clientY)?.closest("[data-day-index]");
|
|
212
198
|
if (!n) return;
|
|
213
199
|
let r = Number(n.dataset.dayIndex);
|
|
214
200
|
if (Number.isNaN(r)) return;
|
|
215
|
-
let i =
|
|
216
|
-
i &&
|
|
201
|
+
let i = bt.value[r];
|
|
202
|
+
i && Wt(i.date);
|
|
217
203
|
}
|
|
218
|
-
function
|
|
219
|
-
if (!(h.readonly || h.disabled) && !(e.getFullYear() < E || e.getFullYear() > D)) if (h.range) if (
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
let t = new Date(e);
|
|
224
|
-
A.value && G.value && t.setHours(G.value.getHours(), G.value.getMinutes(), G.value.getSeconds(), G.value.getMilliseconds()), G.value = t, K.value = null, q.value = null, J.value = !0;
|
|
204
|
+
function Jt(e) {
|
|
205
|
+
if (!(h.readonly || h.disabled) && !(e.getFullYear() < E || e.getFullYear() > D)) if (h.range) if (!q.value) W.value = new Date(e), G.value = null, K.value = null, q.value = !0;
|
|
206
|
+
else {
|
|
207
|
+
let t = W.value, n = new Date(e), [r, i] = n < t ? [n, t] : [t, n];
|
|
208
|
+
A.value && i.setHours(23, 59, Ye.value ? 59 : 0, 0), k.value = [r, i], W.value = null, G.value = null, K.value = null, q.value = !1;
|
|
225
209
|
}
|
|
226
210
|
else {
|
|
227
211
|
let t = new Date(e);
|
|
228
|
-
|
|
212
|
+
U.value && !jn(U.value) ? t.setHours(U.value.getHours(), U.value.getMinutes(), U.value.getSeconds()) : A.value && Mn(t), k.value = t;
|
|
229
213
|
}
|
|
230
214
|
}
|
|
231
215
|
function Y(e, t) {
|
|
@@ -234,38 +218,31 @@ var Oe = {
|
|
|
234
218
|
function X(e, t) {
|
|
235
219
|
L.value = e, t && $n("month");
|
|
236
220
|
}
|
|
237
|
-
function Jt() {
|
|
238
|
-
Nt.value && (L.value === 0 ? (X(11), Y(R.value - 1)) : X(L.value - 1));
|
|
239
|
-
}
|
|
240
221
|
function Yt() {
|
|
241
|
-
|
|
222
|
+
L.value === 0 ? (X(11), Y(R.value - 1)) : X(L.value - 1);
|
|
242
223
|
}
|
|
243
224
|
function Xt() {
|
|
244
|
-
|
|
225
|
+
L.value === 11 ? (X(0), Y(R.value + 1)) : X(L.value + 1);
|
|
245
226
|
}
|
|
246
227
|
function Zt() {
|
|
247
|
-
|
|
248
|
-
if (h.range && Array.isArray(t) && t.length > 0) {
|
|
249
|
-
let n = t[0];
|
|
250
|
-
n instanceof Date ? e = n : typeof n == "string" && (e = me(n, h.format, dt.value));
|
|
251
|
-
}
|
|
252
|
-
e ??= /* @__PURE__ */ new Date(), X(e.getMonth()), Y(e.getFullYear()), Qn();
|
|
228
|
+
X((/* @__PURE__ */ new Date()).getMonth()), Y((/* @__PURE__ */ new Date()).getFullYear()), Qn();
|
|
253
229
|
}
|
|
254
|
-
function Qt(
|
|
255
|
-
|
|
230
|
+
function Qt() {
|
|
231
|
+
let e = U.value ?? /* @__PURE__ */ new Date();
|
|
232
|
+
X(e.getMonth()), Y(e.getFullYear()), Qn();
|
|
256
233
|
}
|
|
257
|
-
function $t() {
|
|
258
|
-
|
|
234
|
+
function $t(e) {
|
|
235
|
+
return h.range ? q.value ? e === 1 ? G.value : W.value : e === 1 ? pt.value ?? G.value : U.value ?? W.value : U.value;
|
|
259
236
|
}
|
|
260
|
-
function en(
|
|
261
|
-
|
|
237
|
+
function en() {
|
|
238
|
+
W.value = null, G.value = null, K.value = null, q.value = !1;
|
|
262
239
|
}
|
|
263
240
|
function tn() {
|
|
264
241
|
if (!h.range || !M.value) return;
|
|
265
242
|
let e = k.value;
|
|
266
243
|
if (!Array.isArray(e) || e.length < 2) return;
|
|
267
244
|
let t = e[0], n = e[1];
|
|
268
|
-
!(t instanceof Date) || !(n instanceof Date) || n >= t || (k.value =
|
|
245
|
+
!(t instanceof Date) || !(n instanceof Date) || n >= t || (k.value = [new Date(n), new Date(t)]);
|
|
269
246
|
}
|
|
270
247
|
function nn(e, t) {
|
|
271
248
|
if (!h.range) {
|
|
@@ -273,40 +250,40 @@ var Oe = {
|
|
|
273
250
|
return;
|
|
274
251
|
}
|
|
275
252
|
if (M.value) {
|
|
276
|
-
e === 0 ?
|
|
277
|
-
let n = e === 0 ? t :
|
|
253
|
+
e === 0 ? W.value = t : G.value = t;
|
|
254
|
+
let n = e === 0 ? t : U.value ?? W.value, r = e === 1 ? t : pt.value;
|
|
278
255
|
if (!n || !r) return;
|
|
279
|
-
k.value = [new Date(n), new Date(r)],
|
|
256
|
+
k.value = [new Date(n), new Date(r)], en();
|
|
280
257
|
return;
|
|
281
258
|
}
|
|
282
|
-
if (
|
|
283
|
-
e === 0 && (
|
|
259
|
+
if (q.value) {
|
|
260
|
+
e === 0 && (W.value = t);
|
|
284
261
|
return;
|
|
285
262
|
}
|
|
286
|
-
let n =
|
|
263
|
+
let n = U.value, r = pt.value;
|
|
287
264
|
!n || !r || (k.value = e === 1 ? [n, t] : [t, r]);
|
|
288
265
|
}
|
|
289
266
|
function Z(e, t) {
|
|
290
|
-
let n =
|
|
267
|
+
let n = $t(e) ?? (() => {
|
|
291
268
|
let e = /* @__PURE__ */ new Date();
|
|
292
269
|
return e.setHours(0, 0, 0, 0), e;
|
|
293
270
|
})(), r = new Date(n);
|
|
294
271
|
t(r), nn(e, r);
|
|
295
272
|
}
|
|
296
273
|
function rn(e) {
|
|
297
|
-
let t =
|
|
274
|
+
let t = $t(e);
|
|
298
275
|
if (!t) return j.value ? 12 : 0;
|
|
299
276
|
let n = t.getHours();
|
|
300
277
|
return j.value ? n % 12 || 12 : n;
|
|
301
278
|
}
|
|
302
279
|
function an(e) {
|
|
303
|
-
return
|
|
280
|
+
return $t(e)?.getMinutes() ?? 0;
|
|
304
281
|
}
|
|
305
282
|
function on(e) {
|
|
306
|
-
return
|
|
283
|
+
return $t(e)?.getSeconds() ?? 0;
|
|
307
284
|
}
|
|
308
285
|
function sn(e) {
|
|
309
|
-
let t =
|
|
286
|
+
let t = $t(e);
|
|
310
287
|
return t ? t.getHours() >= 12 : !1;
|
|
311
288
|
}
|
|
312
289
|
function Q(e, t) {
|
|
@@ -361,9 +338,7 @@ var Oe = {
|
|
|
361
338
|
function yn(e, t) {
|
|
362
339
|
let n = hn(e).slice(0, 2);
|
|
363
340
|
if (n === "") return;
|
|
364
|
-
let r = Number.parseInt(n, 10);
|
|
365
|
-
if (Number.isNaN(r)) return;
|
|
366
|
-
let i = j.value ? _n(r) : gn(r);
|
|
341
|
+
let r = Number.parseInt(n, 10), i = j.value ? _n(r) : gn(r);
|
|
367
342
|
Z(t, (e) => {
|
|
368
343
|
j.value ? e.setHours(Q(i, e.getHours() >= 12)) : e.setHours(i);
|
|
369
344
|
});
|
|
@@ -371,28 +346,22 @@ var Oe = {
|
|
|
371
346
|
function bn(e, t) {
|
|
372
347
|
let n = hn(e).slice(0, 2);
|
|
373
348
|
if (n === "") return;
|
|
374
|
-
let r = Number.parseInt(n, 10);
|
|
375
|
-
if (Number.isNaN(r)) return;
|
|
376
|
-
let i = vn(r);
|
|
349
|
+
let r = vn(Number.parseInt(n, 10));
|
|
377
350
|
Z(t, (e) => {
|
|
378
|
-
e.setMinutes(
|
|
351
|
+
e.setMinutes(r);
|
|
379
352
|
});
|
|
380
353
|
}
|
|
381
354
|
function xn(e, t) {
|
|
382
355
|
let n = hn(e).slice(0, 2);
|
|
383
356
|
if (n === "") return;
|
|
384
|
-
let r = Number.parseInt(n, 10);
|
|
385
|
-
if (Number.isNaN(r)) return;
|
|
386
|
-
let i = vn(r);
|
|
357
|
+
let r = vn(Number.parseInt(n, 10));
|
|
387
358
|
Z(t, (e) => {
|
|
388
|
-
e.setSeconds(
|
|
359
|
+
e.setSeconds(r);
|
|
389
360
|
});
|
|
390
361
|
}
|
|
391
362
|
async function Sn(e, t, n) {
|
|
392
363
|
if (e.ctrlKey || e.altKey || e.metaKey || !/^\d$/.test(e.key)) return;
|
|
393
|
-
let r = e.target;
|
|
394
|
-
if (!r) return;
|
|
395
|
-
let i = r.selectionStart, a = r.selectionEnd;
|
|
364
|
+
let r = e.target, i = r.selectionStart, a = r.selectionEnd;
|
|
396
365
|
if (i === null || a === null || i !== a || r.maxLength <= 0 || r.value.length < r.maxLength || i >= r.value.length) return;
|
|
397
366
|
e.preventDefault();
|
|
398
367
|
let o = `${r.value.slice(0, i)}${e.key}${r.value.slice(i + 1)}`;
|
|
@@ -408,11 +377,20 @@ var Oe = {
|
|
|
408
377
|
}
|
|
409
378
|
function wn(e, t) {
|
|
410
379
|
let n = e.trim();
|
|
411
|
-
|
|
380
|
+
if (!n) return null;
|
|
381
|
+
let r = me(n, h.format, gt.value, Ge);
|
|
382
|
+
if (r) return r;
|
|
383
|
+
let i = ge(n);
|
|
384
|
+
if (i) return i;
|
|
385
|
+
if (t?.complete) {
|
|
386
|
+
let e = he(n, h.format, gt.value, Ge);
|
|
387
|
+
if (e) return e;
|
|
388
|
+
}
|
|
389
|
+
return Wn(n);
|
|
412
390
|
}
|
|
413
391
|
function Tn(e) {
|
|
414
392
|
if (h.readonly || h.disabled) {
|
|
415
|
-
|
|
393
|
+
yt();
|
|
416
394
|
return;
|
|
417
395
|
}
|
|
418
396
|
let t = e ?? "";
|
|
@@ -434,20 +412,20 @@ var Oe = {
|
|
|
434
412
|
}
|
|
435
413
|
function Dn() {
|
|
436
414
|
if (h.readonly || h.disabled) return !1;
|
|
437
|
-
let e = ne(F.value ?? P.value, h.range ?
|
|
438
|
-
if (!e) return F.value = null,
|
|
415
|
+
let e = ne(F.value ?? P.value, h.range ? Rt.value : h.format, { padMaxDigits: !0 });
|
|
416
|
+
if (!e) return F.value = null, Vt(k.value) && (k.value = void 0), P.value = "", !1;
|
|
439
417
|
if (h.range) {
|
|
440
|
-
let t = ve(e,
|
|
418
|
+
let t = ve(e, Bt.value), n = En(e, { complete: !0 }) ?? En(t, { complete: !0 });
|
|
441
419
|
if (n) {
|
|
442
420
|
let e = An(n.range, n.startSource, n.endSource);
|
|
443
|
-
return k.value = e, F.value = null, P.value = e.map((e) => ie(e, h.format,
|
|
421
|
+
return k.value = e, F.value = null, P.value = e.map((e) => ie(e, h.format, J.value)).join(" - "), !0;
|
|
444
422
|
}
|
|
445
|
-
return F.value = null,
|
|
423
|
+
return F.value = null, yt(), !1;
|
|
446
424
|
}
|
|
447
|
-
let t = ne(ve(e,
|
|
448
|
-
if (!n) return F.value = null,
|
|
425
|
+
let t = ne(ve(e, zt.value), h.format), n = wn(e, { complete: !0 }) ?? he(t, h.format, gt.value, Ge);
|
|
426
|
+
if (!n) return F.value = null, yt(), !1;
|
|
449
427
|
let r = kn(n, e, t);
|
|
450
|
-
return k.value = r, F.value = null, P.value = ie(r, h.format,
|
|
428
|
+
return k.value = r, F.value = null, P.value = ie(r, h.format, J.value), !0;
|
|
451
429
|
}
|
|
452
430
|
function On(e) {
|
|
453
431
|
return !A.value || le(e, h.format) ? !0 : /\dT\d/i.test(e) || /\d{1,2}:\d{2}/.test(e);
|
|
@@ -460,76 +438,76 @@ var Oe = {
|
|
|
460
438
|
function An(e, t, n) {
|
|
461
439
|
if (!A.value) return e;
|
|
462
440
|
let [r, i] = e, a = new Date(r), o = new Date(i);
|
|
463
|
-
return On(t) || a.setHours(0, 0, 0, 0), On(n) || o.setHours(23, 59,
|
|
441
|
+
return On(t) || a.setHours(0, 0, 0, 0), On(n) || o.setHours(23, 59, Ye.value ? 59 : 0, 0), [a, o];
|
|
464
442
|
}
|
|
465
443
|
function jn(e) {
|
|
466
444
|
return e.getHours() === 0 && e.getMinutes() === 0 && e.getSeconds() === 0 && e.getMilliseconds() === 0;
|
|
467
445
|
}
|
|
468
446
|
function Mn(e) {
|
|
469
447
|
let t = /* @__PURE__ */ new Date();
|
|
470
|
-
e.setHours(t.getHours(), t.getMinutes(),
|
|
448
|
+
e.setHours(t.getHours(), t.getMinutes(), Ye.value ? t.getSeconds() : 0, Ye.value ? t.getMilliseconds() : 0);
|
|
471
449
|
}
|
|
472
450
|
function Nn(e) {
|
|
473
451
|
let t = e.target;
|
|
474
|
-
if (!(t instanceof Element) || !
|
|
452
|
+
if (!(t instanceof Element) || !H.value) return null;
|
|
475
453
|
let n = t.closest("button, input, select, textarea, a[href], [tabindex], [contenteditable]");
|
|
476
|
-
return n &&
|
|
454
|
+
return n && H.value.contains(n) ? n : null;
|
|
477
455
|
}
|
|
478
456
|
function Pn(e) {
|
|
479
457
|
return !(e.matches(":disabled") || e.getAttribute("aria-disabled") === "true" || e.getAttribute("tabindex") === "-1");
|
|
480
458
|
}
|
|
481
459
|
function Fn(e) {
|
|
482
|
-
if (!(e.target instanceof Node) || !
|
|
483
|
-
|
|
460
|
+
if (!(e.target instanceof Node) || !H.value?.contains(e.target)) return;
|
|
461
|
+
$e = !0;
|
|
484
462
|
let t = Nn(e);
|
|
485
463
|
t && !Pn(t) && e.preventDefault();
|
|
486
464
|
}
|
|
487
465
|
function In() {
|
|
488
|
-
return
|
|
466
|
+
return H.value ? Array.from(H.value.querySelectorAll(We)).filter((e) => e.offsetWidth > 0 || e.offsetHeight > 0 || e.getClientRects().length > 0) : [];
|
|
489
467
|
}
|
|
490
468
|
async function Ln(e) {
|
|
491
469
|
if (!(h.readonly || h.disabled)) {
|
|
492
470
|
if (e.key === "Enter") {
|
|
493
471
|
e.preventDefault(), Dn();
|
|
494
472
|
return;
|
|
495
|
-
} else if (e.key === "Tab")
|
|
473
|
+
} else if (e.key === "Tab") H.value?.setAttribute("inert", ""), et = !0, N.value = !1;
|
|
496
474
|
else if (e.key === "ArrowDown") {
|
|
497
475
|
N.value = !0, await v();
|
|
498
476
|
let [t] = In();
|
|
499
477
|
if (!t) return;
|
|
500
|
-
e.preventDefault(),
|
|
478
|
+
e.preventDefault(), $e = !0, t.focus();
|
|
501
479
|
}
|
|
502
480
|
}
|
|
503
481
|
}
|
|
504
482
|
function Rn() {
|
|
505
|
-
|
|
483
|
+
ar();
|
|
506
484
|
}
|
|
507
|
-
|
|
485
|
+
function zn(e) {
|
|
508
486
|
if (e.key !== "Tab") return;
|
|
509
487
|
let t = In();
|
|
510
488
|
if (!t.length) return;
|
|
511
489
|
let n = t[0], r = t[t.length - 1], i = document.activeElement;
|
|
512
490
|
if (e.shiftKey) {
|
|
513
491
|
if (i !== n) return;
|
|
514
|
-
e.preventDefault(),
|
|
492
|
+
e.preventDefault(), $e = !1, ar();
|
|
515
493
|
return;
|
|
516
494
|
}
|
|
517
|
-
i === r && (
|
|
495
|
+
i === r && (ar(), et = !1, N.value = !1);
|
|
518
496
|
}
|
|
519
497
|
async function Bn(e) {
|
|
520
|
-
if (Dn(),
|
|
521
|
-
|
|
498
|
+
if (Dn(), $e) {
|
|
499
|
+
$e = !1;
|
|
522
500
|
return;
|
|
523
501
|
}
|
|
524
502
|
let t = e?.relatedTarget;
|
|
525
|
-
if (t instanceof Node &&
|
|
503
|
+
if (t instanceof Node && H.value?.contains(t)) return;
|
|
526
504
|
await v();
|
|
527
505
|
let n = Kn(), r = document.activeElement;
|
|
528
|
-
n !== r && (r instanceof Node &&
|
|
506
|
+
n !== r && (r instanceof Node && H.value?.contains(r) || (B = !1, N.value = !1, Ze.value = !1));
|
|
529
507
|
}
|
|
530
508
|
function Vn() {
|
|
531
509
|
if (!(h.readonly || h.disabled)) {
|
|
532
|
-
if (
|
|
510
|
+
if (Ze.value = !0, B) {
|
|
533
511
|
B = !1;
|
|
534
512
|
return;
|
|
535
513
|
}
|
|
@@ -540,13 +518,17 @@ var Oe = {
|
|
|
540
518
|
h.readonly || h.disabled || (B = !1, N.value = !0);
|
|
541
519
|
}
|
|
542
520
|
function Un(e) {
|
|
543
|
-
e ||
|
|
521
|
+
e || tt(), N.value = e;
|
|
544
522
|
}
|
|
545
523
|
function Wn(e) {
|
|
546
524
|
let t = ge(e);
|
|
547
525
|
if (t) return t;
|
|
548
|
-
let n = /[A-Za-z]/.test(e), r =
|
|
526
|
+
let n = /[A-Za-z]/.test(e), r = e.match(/^(\d{4})[-/](\d{1,2})[-/](\d{1,2})(?:[ T]\d{1,2}:\d{2}(?::\d{2})?)?$/);
|
|
549
527
|
if (!n && !r) return null;
|
|
528
|
+
if (r) {
|
|
529
|
+
let [, e, t, n] = r.map(Number);
|
|
530
|
+
if (n > se(t - 1, e)) return null;
|
|
531
|
+
}
|
|
550
532
|
let i = new Date(e);
|
|
551
533
|
return Number.isNaN(i.getTime()) ? null : i;
|
|
552
534
|
}
|
|
@@ -554,32 +536,32 @@ var Oe = {
|
|
|
554
536
|
return e instanceof HTMLInputElement ? e : typeof e == "object" && e && "value" in e && e.value instanceof HTMLInputElement ? e.value : null;
|
|
555
537
|
}
|
|
556
538
|
function Kn() {
|
|
557
|
-
if (
|
|
558
|
-
let e = Gn(
|
|
559
|
-
if (e) return
|
|
560
|
-
let t =
|
|
561
|
-
return t ? (
|
|
539
|
+
if (V) return V;
|
|
540
|
+
let e = Gn(nt.value?.inputRef);
|
|
541
|
+
if (e) return V = e, e;
|
|
542
|
+
let t = lt(nt.value?.fieldRef)?.querySelector(".q-text-field__input") ?? null;
|
|
543
|
+
return t ? (V = t, t) : null;
|
|
562
544
|
}
|
|
563
545
|
function qn(e) {
|
|
564
546
|
return e.isSelected || e.isRangeStart || e.isRangeEnd ? "bold" : e.isInRange ? "tonal" : "ghost";
|
|
565
547
|
}
|
|
566
548
|
function Jn(e) {
|
|
567
|
-
|
|
549
|
+
H.value?.style.setProperty("--q-date-view-height", `${Math.max(0, e)}px`);
|
|
568
550
|
}
|
|
569
551
|
async function Yn() {
|
|
570
552
|
if (!N.value || M.value) {
|
|
571
553
|
Jn(0);
|
|
572
554
|
return;
|
|
573
555
|
}
|
|
574
|
-
I.value === "date" && (await v(), Jn(
|
|
556
|
+
I.value === "date" && (await v(), Jn(rt.value?.getBoundingClientRect().height ?? 0));
|
|
575
557
|
}
|
|
576
558
|
function $() {
|
|
577
|
-
|
|
559
|
+
Qe?.disconnect(), Qe = null;
|
|
578
560
|
}
|
|
579
561
|
async function Xn() {
|
|
580
|
-
!N.value || M.value || I.value !== "date" || (await v(),
|
|
562
|
+
!N.value || M.value || I.value !== "date" || (await v(), rt.value && ($(), Qe = new MutationObserver(() => {
|
|
581
563
|
Yn();
|
|
582
|
-
}),
|
|
564
|
+
}), Qe.observe(rt.value, {
|
|
583
565
|
childList: !0,
|
|
584
566
|
subtree: !0,
|
|
585
567
|
attributes: !0,
|
|
@@ -593,7 +575,7 @@ var Oe = {
|
|
|
593
575
|
I.value = "date", Xn();
|
|
594
576
|
}
|
|
595
577
|
async function $n(e) {
|
|
596
|
-
|
|
578
|
+
H.value?.focus(), Qn(), await v(), ft(e === "year" ? at.value : e === "month" ? it.value : e === "time" ? ot.value : null);
|
|
597
579
|
}
|
|
598
580
|
function er() {
|
|
599
581
|
let e = I.value;
|
|
@@ -601,89 +583,96 @@ var Oe = {
|
|
|
601
583
|
}
|
|
602
584
|
async function tr() {
|
|
603
585
|
$(), I.value = "month", await v();
|
|
604
|
-
let e =
|
|
586
|
+
let e = st.get(L.value);
|
|
605
587
|
e?.scrollIntoView({ block: "center" }), e?.focus();
|
|
606
588
|
}
|
|
607
589
|
async function nr() {
|
|
608
|
-
$(), z.value = R.value, I.value = "year", await v(),
|
|
590
|
+
$(), z.value = R.value, I.value = "year", await v(), ct.get(z.value)?.scrollIntoView({ block: "center" });
|
|
609
591
|
}
|
|
610
592
|
async function rr(e) {
|
|
611
593
|
if (e.key !== "Escape") return;
|
|
612
594
|
if (B = !0, I.value === "date" || M.value) {
|
|
613
|
-
e.preventDefault(), N.value = !1, await v(),
|
|
595
|
+
e.preventDefault(), N.value = !1, await v(), ur();
|
|
614
596
|
return;
|
|
615
597
|
}
|
|
616
598
|
e.preventDefault();
|
|
617
599
|
let t = I.value;
|
|
618
600
|
await $n(t);
|
|
619
601
|
}
|
|
620
|
-
function ir() {
|
|
602
|
+
function ir(e) {
|
|
603
|
+
rr(e);
|
|
604
|
+
}
|
|
605
|
+
function ar() {
|
|
621
606
|
Kn()?.focus();
|
|
622
607
|
}
|
|
623
|
-
function
|
|
608
|
+
function or(e) {
|
|
624
609
|
return !e || e === document.body || e === document.documentElement;
|
|
625
610
|
}
|
|
626
|
-
function
|
|
611
|
+
function sr(e, t) {
|
|
627
612
|
return e.closest(".q-date-time-picker__menu") || t.closest(".q-date-time-picker")?.contains(e) || !(e instanceof HTMLElement) ? !1 : e.tabIndex >= 0 || e.matches("input, select, textarea, button, a[href], [tabindex]:not([tabindex=\"-1\"])");
|
|
628
613
|
}
|
|
629
|
-
function
|
|
614
|
+
function cr(e) {
|
|
630
615
|
let t = Kn();
|
|
631
|
-
return t ? e === t || !e || !e.isConnected ||
|
|
616
|
+
return t ? e === t || !e || !e.isConnected || or(e) || H.value?.contains(e) ? !0 : !sr(e, t) : !1;
|
|
632
617
|
}
|
|
633
|
-
function
|
|
634
|
-
if (
|
|
618
|
+
function lr() {
|
|
619
|
+
if (et) return;
|
|
635
620
|
let e = Kn();
|
|
636
|
-
!e || !
|
|
621
|
+
!e || !cr(document.activeElement) || (B = !0, e.focus());
|
|
637
622
|
}
|
|
638
|
-
function
|
|
623
|
+
function ur() {
|
|
639
624
|
v().then(() => {
|
|
640
625
|
requestAnimationFrame(() => {
|
|
641
626
|
requestAnimationFrame(() => {
|
|
642
|
-
|
|
627
|
+
lr();
|
|
643
628
|
});
|
|
644
629
|
});
|
|
645
630
|
});
|
|
646
631
|
}
|
|
647
|
-
function
|
|
648
|
-
|
|
649
|
-
let e =
|
|
650
|
-
|
|
632
|
+
function dr() {
|
|
633
|
+
tt();
|
|
634
|
+
let e = et;
|
|
635
|
+
et = !1, !e && (B = !0, ur());
|
|
651
636
|
}
|
|
652
637
|
return w(k, () => {
|
|
653
|
-
|
|
638
|
+
U.value && (X(U.value.getMonth()), Y(U.value.getFullYear()));
|
|
654
639
|
}), w(N, (e, t) => {
|
|
655
640
|
if (e && t === !1 ? be("open") : !e && t === !0 && be("close"), M.value) {
|
|
656
|
-
$(), Jn(0), e ? (document.addEventListener("keydown",
|
|
641
|
+
$(), Jn(0), e ? (document.addEventListener("keydown", ir, { capture: !0 }), Zn()) : (t && (tn(), dr()), document.removeEventListener("keydown", ir, { capture: !0 }));
|
|
657
642
|
return;
|
|
658
643
|
}
|
|
659
|
-
|
|
644
|
+
en(), e ? (document.addEventListener("keydown", ir, { capture: !0 }), Qt(), Xn()) : (t && dr(), document.removeEventListener("keydown", ir, { capture: !0 }), $(), Jn(0));
|
|
660
645
|
}), w(M, (e) => {
|
|
661
646
|
e && $(), N.value = !1, e && Jn(0), e ? Zn() : Qn();
|
|
662
647
|
}, { immediate: !0 }), Se(() => {
|
|
663
|
-
$(), document.removeEventListener("keydown",
|
|
648
|
+
$(), document.removeEventListener("keydown", ir, { capture: !0 });
|
|
664
649
|
}), (e, a) => (b(), f(c, null, [m(S(i), _({
|
|
665
|
-
id: S(
|
|
650
|
+
id: S(Ke),
|
|
666
651
|
ref: "field",
|
|
667
652
|
"model-value": P.value,
|
|
668
653
|
class: ["q-date-time-picker", h.class],
|
|
669
|
-
clearable:
|
|
654
|
+
clearable: Ht.value,
|
|
670
655
|
label: h.label,
|
|
671
656
|
"label-position": h.labelPosition,
|
|
672
657
|
readonly: h.readonly,
|
|
673
658
|
disabled: h.disabled,
|
|
674
|
-
placeholder:
|
|
659
|
+
placeholder: Je.value,
|
|
675
660
|
required: h.required,
|
|
676
661
|
size: h.size,
|
|
677
|
-
invalid: h.invalid
|
|
662
|
+
invalid: h.invalid,
|
|
663
|
+
help: h.help,
|
|
664
|
+
"help-display": h.helpDisplay,
|
|
665
|
+
icons: h.icons,
|
|
666
|
+
texts: h.texts
|
|
678
667
|
}, e.$attrs, {
|
|
679
668
|
onBlur: Bn,
|
|
680
|
-
"onClick:clear":
|
|
669
|
+
"onClick:clear": Ut,
|
|
681
670
|
onDrop: Rn,
|
|
682
671
|
onFocusin: Vn,
|
|
683
672
|
onKeydown: Ln,
|
|
684
673
|
"onUpdate:modelValue": Tn
|
|
685
674
|
}), ye({
|
|
686
|
-
prepend: T(() => [m(S(
|
|
675
|
+
prepend: T(() => [m(S(t), _({ class: "q-date-time-picker__input-icon" }, Lt.value), null, 16)]),
|
|
687
676
|
_: 2
|
|
688
677
|
}, [e.$slots.extras ? {
|
|
689
678
|
name: "extras",
|
|
@@ -701,11 +690,15 @@ var Oe = {
|
|
|
701
690
|
"placeholder",
|
|
702
691
|
"required",
|
|
703
692
|
"size",
|
|
704
|
-
"invalid"
|
|
705
|
-
|
|
693
|
+
"invalid",
|
|
694
|
+
"help",
|
|
695
|
+
"help-display",
|
|
696
|
+
"icons",
|
|
697
|
+
"texts"
|
|
698
|
+
]), !h.readonly && !h.disabled ? (b(), u(S(n), {
|
|
706
699
|
key: 0,
|
|
707
700
|
"model-value": N.value,
|
|
708
|
-
anchor:
|
|
701
|
+
anchor: nt.value?.fieldRef,
|
|
709
702
|
inline: h.inline,
|
|
710
703
|
offset: 8,
|
|
711
704
|
placement: "bottom",
|
|
@@ -726,24 +719,24 @@ var Oe = {
|
|
|
726
719
|
I.value === "date" ? (b(), f("div", Oe, [
|
|
727
720
|
d(" Header "),
|
|
728
721
|
p("div", ke, [
|
|
729
|
-
m(S(
|
|
722
|
+
m(S(r), {
|
|
730
723
|
variant: "ghost",
|
|
731
|
-
disabled: !
|
|
724
|
+
disabled: !Pt.value,
|
|
732
725
|
title: h.texts.previousMonth,
|
|
733
|
-
onClick:
|
|
726
|
+
onClick: Yt
|
|
734
727
|
}, {
|
|
735
|
-
default: T(() => [m(S(
|
|
728
|
+
default: T(() => [m(S(t), y(g(h.icons.back)), null, 16)]),
|
|
736
729
|
_: 1
|
|
737
730
|
}, 8, ["disabled", "title"]),
|
|
738
|
-
m(S(
|
|
731
|
+
m(S(r), {
|
|
739
732
|
ref: "monthHeader",
|
|
740
733
|
"data-testid": "q-date-time-picker-month-header",
|
|
741
734
|
variant: "ghost",
|
|
742
|
-
label:
|
|
735
|
+
label: wt(L.value, 3),
|
|
743
736
|
title: h.texts.pickMonth,
|
|
744
737
|
onClick: tr
|
|
745
738
|
}, null, 8, ["label", "title"]),
|
|
746
|
-
m(S(
|
|
739
|
+
m(S(r), {
|
|
747
740
|
ref: "yearHeader",
|
|
748
741
|
"data-testid": "q-date-time-picker-year-header",
|
|
749
742
|
variant: "ghost",
|
|
@@ -751,31 +744,31 @@ var Oe = {
|
|
|
751
744
|
title: h.texts.pickYear,
|
|
752
745
|
onClick: nr
|
|
753
746
|
}, null, 8, ["label", "title"]),
|
|
754
|
-
m(S(
|
|
747
|
+
m(S(r), {
|
|
755
748
|
variant: "ghost",
|
|
756
|
-
disabled: !
|
|
749
|
+
disabled: !Ft.value,
|
|
757
750
|
title: h.texts.nextMonth,
|
|
758
|
-
onClick:
|
|
751
|
+
onClick: Xt
|
|
759
752
|
}, {
|
|
760
|
-
default: T(() => [m(S(
|
|
753
|
+
default: T(() => [m(S(t), y(g(h.icons.forward)), null, 16)]),
|
|
761
754
|
_: 1
|
|
762
755
|
}, 8, ["disabled", "title"])
|
|
763
756
|
]),
|
|
764
757
|
d(" Weekday Headers "),
|
|
765
|
-
p("div", Ae, [(b(!0), f(c, null, Ce(
|
|
758
|
+
p("div", Ae, [(b(!0), f(c, null, Ce(St.value, (e) => (b(), f("div", {
|
|
766
759
|
key: e,
|
|
767
760
|
class: "q-date-time-picker__weekday"
|
|
768
761
|
}, Te(e), 1))), 128))]),
|
|
769
762
|
d(" Days Grid "),
|
|
770
763
|
p("div", {
|
|
771
764
|
class: "q-date-time-picker__days",
|
|
772
|
-
onMouseleave:
|
|
773
|
-
onFocusout:
|
|
774
|
-
onTouchstartPassive:
|
|
775
|
-
onTouchmovePassive:
|
|
776
|
-
}, [(b(!0), f(c, null, Ce(
|
|
777
|
-
key:
|
|
778
|
-
"data-day-index":
|
|
765
|
+
onMouseleave: Gt,
|
|
766
|
+
onFocusout: Kt,
|
|
767
|
+
onTouchstartPassive: qt,
|
|
768
|
+
onTouchmovePassive: qt
|
|
769
|
+
}, [(b(!0), f(c, null, Ce(bt.value, (e, t) => (b(), u(S(r), {
|
|
770
|
+
key: t,
|
|
771
|
+
"data-day-index": t,
|
|
779
772
|
class: xe(["q-date-time-picker__day", {
|
|
780
773
|
"q-date-time-picker__day--other-month": !e.isCurrentMonth,
|
|
781
774
|
"q-date-time-picker__day--today": e.isToday,
|
|
@@ -787,9 +780,9 @@ var Oe = {
|
|
|
787
780
|
label: e.date.getDate().toString(),
|
|
788
781
|
variant: qn(e),
|
|
789
782
|
disabled: e.isDisabled,
|
|
790
|
-
onMouseenter: () =>
|
|
791
|
-
onFocus: () =>
|
|
792
|
-
onClick: () =>
|
|
783
|
+
onMouseenter: () => Wt(e.date),
|
|
784
|
+
onFocus: () => Wt(e.date),
|
|
785
|
+
onClick: () => Jt(e.date)
|
|
793
786
|
}, null, 8, [
|
|
794
787
|
"data-day-index",
|
|
795
788
|
"class",
|
|
@@ -824,13 +817,13 @@ var Oe = {
|
|
|
824
817
|
d(" Time Inputs "),
|
|
825
818
|
p("div", Pe, [
|
|
826
819
|
p("div", Fe, [
|
|
827
|
-
m(S(
|
|
820
|
+
m(S(r), {
|
|
828
821
|
variant: "ghost",
|
|
829
822
|
title: h.texts.increaseHour,
|
|
830
823
|
"aria-label": h.texts.increaseHour,
|
|
831
824
|
onClick: (t) => ln(e - 1)
|
|
832
825
|
}, {
|
|
833
|
-
default: T(() => [m(S(
|
|
826
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.up), null, 16)]),
|
|
834
827
|
_: 1
|
|
835
828
|
}, 8, [
|
|
836
829
|
"title",
|
|
@@ -841,24 +834,28 @@ var Oe = {
|
|
|
841
834
|
class: "q-date-time-picker__time-number",
|
|
842
835
|
size: "small",
|
|
843
836
|
inputmode: "numeric",
|
|
837
|
+
icons: h.icons,
|
|
838
|
+
texts: h.texts,
|
|
844
839
|
"max-length": 2,
|
|
845
840
|
"aria-label": h.texts.hours,
|
|
846
841
|
"model-value": S(pe)(rn(e - 1)),
|
|
847
842
|
onKeydown: (t) => Sn(t, "hours", e - 1),
|
|
848
843
|
"onUpdate:modelValue": (t) => yn(t, e - 1)
|
|
849
844
|
}, null, 8, [
|
|
845
|
+
"icons",
|
|
846
|
+
"texts",
|
|
850
847
|
"aria-label",
|
|
851
848
|
"model-value",
|
|
852
849
|
"onKeydown",
|
|
853
850
|
"onUpdate:modelValue"
|
|
854
851
|
]),
|
|
855
|
-
m(S(
|
|
852
|
+
m(S(r), {
|
|
856
853
|
variant: "ghost",
|
|
857
854
|
title: h.texts.decreaseHour,
|
|
858
855
|
"aria-label": h.texts.decreaseHour,
|
|
859
856
|
onClick: (t) => un(e - 1)
|
|
860
857
|
}, {
|
|
861
|
-
default: T(() => [m(S(
|
|
858
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.down), null, 16)]),
|
|
862
859
|
_: 1
|
|
863
860
|
}, 8, [
|
|
864
861
|
"title",
|
|
@@ -868,13 +865,13 @@ var Oe = {
|
|
|
868
865
|
]),
|
|
869
866
|
a[1] ||= p("div", { class: "q-date-time-picker__time-separator" }, ":", -1),
|
|
870
867
|
p("div", Ie, [
|
|
871
|
-
m(S(
|
|
868
|
+
m(S(r), {
|
|
872
869
|
variant: "ghost",
|
|
873
870
|
title: h.texts.increaseMinute,
|
|
874
871
|
"aria-label": h.texts.increaseMinute,
|
|
875
872
|
onClick: (t) => dn(e - 1)
|
|
876
873
|
}, {
|
|
877
|
-
default: T(() => [m(S(
|
|
874
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.up), null, 16)]),
|
|
878
875
|
_: 1
|
|
879
876
|
}, 8, [
|
|
880
877
|
"title",
|
|
@@ -885,24 +882,28 @@ var Oe = {
|
|
|
885
882
|
class: "q-date-time-picker__time-number",
|
|
886
883
|
size: "small",
|
|
887
884
|
inputmode: "numeric",
|
|
885
|
+
icons: h.icons,
|
|
886
|
+
texts: h.texts,
|
|
888
887
|
"max-length": 2,
|
|
889
888
|
"aria-label": h.texts.minutes,
|
|
890
889
|
"model-value": S(pe)(an(e - 1)),
|
|
891
890
|
onKeydown: (t) => Sn(t, "minutes", e - 1),
|
|
892
891
|
"onUpdate:modelValue": (t) => bn(t, e - 1)
|
|
893
892
|
}, null, 8, [
|
|
893
|
+
"icons",
|
|
894
|
+
"texts",
|
|
894
895
|
"aria-label",
|
|
895
896
|
"model-value",
|
|
896
897
|
"onKeydown",
|
|
897
898
|
"onUpdate:modelValue"
|
|
898
899
|
]),
|
|
899
|
-
m(S(
|
|
900
|
+
m(S(r), {
|
|
900
901
|
variant: "ghost",
|
|
901
902
|
title: h.texts.decreaseMinute,
|
|
902
903
|
"aria-label": h.texts.decreaseMinute,
|
|
903
904
|
onClick: (t) => fn(e - 1)
|
|
904
905
|
}, {
|
|
905
|
-
default: T(() => [m(S(
|
|
906
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.down), null, 16)]),
|
|
906
907
|
_: 1
|
|
907
908
|
}, 8, [
|
|
908
909
|
"title",
|
|
@@ -910,14 +911,14 @@ var Oe = {
|
|
|
910
911
|
"onClick"
|
|
911
912
|
])
|
|
912
913
|
]),
|
|
913
|
-
|
|
914
|
-
m(S(
|
|
914
|
+
Ye.value ? (b(), f(c, { key: 0 }, [a[0] ||= p("div", { class: "q-date-time-picker__time-separator" }, ":", -1), p("div", Le, [
|
|
915
|
+
m(S(r), {
|
|
915
916
|
variant: "ghost",
|
|
916
917
|
title: h.texts.increaseSecond,
|
|
917
918
|
"aria-label": h.texts.increaseSecond,
|
|
918
919
|
onClick: (t) => pn(e - 1)
|
|
919
920
|
}, {
|
|
920
|
-
default: T(() => [m(S(
|
|
921
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.up), null, 16)]),
|
|
921
922
|
_: 1
|
|
922
923
|
}, 8, [
|
|
923
924
|
"title",
|
|
@@ -928,24 +929,28 @@ var Oe = {
|
|
|
928
929
|
class: "q-date-time-picker__time-number",
|
|
929
930
|
size: "small",
|
|
930
931
|
inputmode: "numeric",
|
|
932
|
+
icons: h.icons,
|
|
933
|
+
texts: h.texts,
|
|
931
934
|
"max-length": 2,
|
|
932
935
|
"aria-label": h.texts.seconds,
|
|
933
936
|
"model-value": S(pe)(on(e - 1)),
|
|
934
937
|
onKeydown: (t) => Sn(t, "seconds", e - 1),
|
|
935
938
|
"onUpdate:modelValue": (t) => xn(t, e - 1)
|
|
936
939
|
}, null, 8, [
|
|
940
|
+
"icons",
|
|
941
|
+
"texts",
|
|
937
942
|
"aria-label",
|
|
938
943
|
"model-value",
|
|
939
944
|
"onKeydown",
|
|
940
945
|
"onUpdate:modelValue"
|
|
941
946
|
]),
|
|
942
|
-
m(S(
|
|
947
|
+
m(S(r), {
|
|
943
948
|
variant: "ghost",
|
|
944
949
|
title: h.texts.decreaseSecond,
|
|
945
950
|
"aria-label": h.texts.decreaseSecond,
|
|
946
951
|
onClick: (t) => mn(e - 1)
|
|
947
952
|
}, {
|
|
948
|
-
default: T(() => [m(S(
|
|
953
|
+
default: T(() => [m(S(t), _({ ref_for: !0 }, h.icons.down), null, 16)]),
|
|
949
954
|
_: 1
|
|
950
955
|
}, 8, [
|
|
951
956
|
"title",
|
|
@@ -954,17 +959,17 @@ var Oe = {
|
|
|
954
959
|
])
|
|
955
960
|
])], 64)) : d("v-if", !0)
|
|
956
961
|
])
|
|
957
|
-
], 8, Me))), 128))])], 2112)) : I.value === "month" ? (b(), f(c, { key: 2 }, [d(" Month View "), p("div", Re, [(b(!0), f(c, null, Ce(
|
|
958
|
-
key:
|
|
962
|
+
], 8, Me))), 128))])], 2112)) : I.value === "month" ? (b(), f(c, { key: 2 }, [d(" Month View "), p("div", Re, [(b(!0), f(c, null, Ce(Ct.value, (e, t) => (b(), u(S(r), {
|
|
963
|
+
key: t,
|
|
959
964
|
ref_for: !0,
|
|
960
|
-
ref: (e) =>
|
|
965
|
+
ref: (e) => ut(e, t),
|
|
961
966
|
"data-testid": "q-date-time-picker-month-option",
|
|
962
|
-
"data-month-index":
|
|
963
|
-
disabled: L.value ===
|
|
967
|
+
"data-month-index": t,
|
|
968
|
+
disabled: L.value === t,
|
|
964
969
|
label: e,
|
|
965
|
-
title:
|
|
970
|
+
title: wt(t),
|
|
966
971
|
variant: "ghost",
|
|
967
|
-
onClick: () => X(
|
|
972
|
+
onClick: () => X(t, !0)
|
|
968
973
|
}, null, 8, [
|
|
969
974
|
"data-month-index",
|
|
970
975
|
"disabled",
|
|
@@ -972,29 +977,29 @@ var Oe = {
|
|
|
972
977
|
"title",
|
|
973
978
|
"onClick"
|
|
974
979
|
]))), 128))])], 2112)) : I.value === "year" ? (b(), f(c, { key: 3 }, [d(" Year View "), p("div", ze, [p("div", Be, [
|
|
975
|
-
m(S(
|
|
980
|
+
m(S(r), {
|
|
976
981
|
variant: "ghost",
|
|
977
|
-
disabled: !
|
|
982
|
+
disabled: !At.value,
|
|
978
983
|
title: h.texts.previousYears,
|
|
979
|
-
onClick:
|
|
984
|
+
onClick: Dt
|
|
980
985
|
}, {
|
|
981
|
-
default: T(() => [m(S(
|
|
986
|
+
default: T(() => [m(S(t), y(g(h.icons.back)), null, 16)]),
|
|
982
987
|
_: 1
|
|
983
988
|
}, 8, ["disabled", "title"]),
|
|
984
|
-
p("div", Ve, Te(
|
|
985
|
-
m(S(
|
|
989
|
+
p("div", Ve, Te(kt.value.startYear) + " - " + Te(kt.value.endYear), 1),
|
|
990
|
+
m(S(r), {
|
|
986
991
|
variant: "ghost",
|
|
987
|
-
disabled: !
|
|
992
|
+
disabled: !jt.value,
|
|
988
993
|
title: h.texts.nextYears,
|
|
989
|
-
onClick:
|
|
994
|
+
onClick: Ot
|
|
990
995
|
}, {
|
|
991
|
-
default: T(() => [m(S(
|
|
996
|
+
default: T(() => [m(S(t), y(g(h.icons.forward)), null, 16)]),
|
|
992
997
|
_: 1
|
|
993
998
|
}, 8, ["disabled", "title"])
|
|
994
|
-
]), p("div", He, [(b(!0), f(c, null, Ce(
|
|
995
|
-
key:
|
|
999
|
+
]), p("div", He, [(b(!0), f(c, null, Ce(It.value, (e, t) => (b(), u(S(r), {
|
|
1000
|
+
key: t,
|
|
996
1001
|
ref_for: !0,
|
|
997
|
-
ref: (t) =>
|
|
1002
|
+
ref: (t) => dt(t, e),
|
|
998
1003
|
"data-testid": "q-date-time-picker-year-option",
|
|
999
1004
|
"data-year": e,
|
|
1000
1005
|
disabled: R.value === e,
|
|
@@ -1010,17 +1015,17 @@ var Oe = {
|
|
|
1010
1015
|
"onClick"
|
|
1011
1016
|
]))), 128))])])], 2112)) : d("v-if", !0),
|
|
1012
1017
|
p("div", Ue, [
|
|
1013
|
-
M.value ? d("v-if", !0) : (b(), u(S(
|
|
1018
|
+
M.value ? d("v-if", !0) : (b(), u(S(r), {
|
|
1014
1019
|
key: 0,
|
|
1015
1020
|
variant: "ghost",
|
|
1016
|
-
disabled:
|
|
1021
|
+
disabled: Xe.value,
|
|
1017
1022
|
title: h.texts.today,
|
|
1018
|
-
onClick:
|
|
1023
|
+
onClick: Zt
|
|
1019
1024
|
}, {
|
|
1020
|
-
default: T(() => [m(S(
|
|
1025
|
+
default: T(() => [m(S(t), y(g(h.icons.today)), null, 16)]),
|
|
1021
1026
|
_: 1
|
|
1022
1027
|
}, 8, ["disabled", "title"])),
|
|
1023
|
-
A.value && I.value === "date" ? (b(), u(S(
|
|
1028
|
+
A.value && I.value === "date" ? (b(), u(S(r), {
|
|
1024
1029
|
key: 1,
|
|
1025
1030
|
ref: "toggleTime",
|
|
1026
1031
|
"data-testid": "q-date-time-picker-toggle-time",
|
|
@@ -1028,27 +1033,27 @@ var Oe = {
|
|
|
1028
1033
|
title: h.texts.toggleMode,
|
|
1029
1034
|
onClick: Zn
|
|
1030
1035
|
}, {
|
|
1031
|
-
default: T(() => [m(S(
|
|
1036
|
+
default: T(() => [m(S(t), y(g(h.icons.clock)), null, 16)]),
|
|
1032
1037
|
_: 1
|
|
1033
|
-
}, 8, ["title"])) : I.value !== "date" && !M.value ? (b(), u(S(
|
|
1038
|
+
}, 8, ["title"])) : I.value !== "date" && !M.value ? (b(), u(S(r), {
|
|
1034
1039
|
key: 2,
|
|
1035
1040
|
"data-testid": "q-date-time-picker-toggle-date",
|
|
1036
1041
|
variant: "ghost",
|
|
1037
1042
|
title: h.texts.toggleMode,
|
|
1038
1043
|
onClick: er
|
|
1039
1044
|
}, {
|
|
1040
|
-
default: T(() => [m(S(
|
|
1045
|
+
default: T(() => [m(S(t), y(g(h.icons.calendar)), null, 16)]),
|
|
1041
1046
|
_: 1
|
|
1042
1047
|
}, 8, ["title"])) : d("v-if", !0),
|
|
1043
|
-
h.clearable ? (b(), u(S(
|
|
1048
|
+
h.clearable ? (b(), u(S(r), {
|
|
1044
1049
|
key: 3,
|
|
1045
1050
|
"data-testid": "q-date-time-picker-clear",
|
|
1046
1051
|
variant: "ghost",
|
|
1047
|
-
disabled: !
|
|
1052
|
+
disabled: !Ht.value,
|
|
1048
1053
|
title: h.texts.clearValue,
|
|
1049
|
-
onClick:
|
|
1054
|
+
onClick: Ut
|
|
1050
1055
|
}, {
|
|
1051
|
-
default: T(() => [m(S(
|
|
1056
|
+
default: T(() => [m(S(t), y(g(h.icons.delete)), null, 16)]),
|
|
1052
1057
|
_: 1
|
|
1053
1058
|
}, 8, ["disabled", "title"])) : d("v-if", !0)
|
|
1054
1059
|
])
|