@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
|
@@ -1,30 +1,45 @@
|
|
|
1
1
|
import { useId as e } from "../../composables/useId/index.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
2
|
+
import { useColor as t } from "../../composables/useColor/index.js";
|
|
3
|
+
import { QIcon as n } from "../QIcon/index.js";
|
|
4
|
+
import { getNextTabbable as r, getTabbableElements as i } from "../../utils/focus.js";
|
|
5
|
+
import { QOverlay as a } from "../QOverlay/index.js";
|
|
6
|
+
import { QButton as o } from "../QButton/index.js";
|
|
7
|
+
import { QTextField as s } from "../QTextField/index.js";
|
|
8
|
+
import { useFieldError as ee } from "../../composables/useFieldError/index.js";
|
|
9
|
+
import { getPopupLabel as te } from "../../utils/popupLabel.js";
|
|
10
|
+
import { DEFAULT_ICONS as ne, DEFAULT_TEXTS as re, MONTH_NAMES as ie, WEEKDAY_NAMES as ae } from "./constants.js";
|
|
11
|
+
import { QSwitch as oe } from "../QSwitch/index.js";
|
|
12
|
+
import { addDays as c, convertDatePatternToMask as se, formatDate as ce, formatUsesSeconds as le, formatUsesTime as ue, getDaysInMonth as de, getFirstDayOfMonth as fe, inputIncludesTimePortion as pe, isBetween as me, isSameDay as l, isTimeOnlyFormat as he, padNumber as ge, padNumericSegments as _e, parseDate as ve, parseDateWithCompletion as ye, parseIsoDate as be, uses12HourFormat as xe } from "../../utils/date.js";
|
|
13
|
+
import { applyMask as Se } from "../../utils/mask.js";
|
|
14
|
+
import { Fragment as u, computed as d, createBlock as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createSlots as Ce, createTextVNode as we, createVNode as g, defineComponent as _, guardReactiveProps as v, mergeModels as Te, mergeProps as y, nextTick as b, normalizeClass as Ee, normalizeProps as x, normalizeStyle as De, onBeforeUnmount as Oe, openBlock as S, ref as C, renderList as ke, renderSlot as Ae, toDisplayString as je, toRef as Me, unref as w, useAttrs as Ne, useModel as Pe, useSlots as Fe, useTemplateRef as T, watch as Ie, withCtx as E } from "vue";
|
|
13
15
|
//#region src/components/QDateTimePicker/QDateTimePicker.vue?vue&type=script&setup=true&lang.ts
|
|
14
|
-
var
|
|
16
|
+
var Le = [
|
|
17
|
+
"id",
|
|
18
|
+
"aria-label",
|
|
19
|
+
"aria-labelledby"
|
|
20
|
+
], Re = {
|
|
15
21
|
key: 0,
|
|
16
22
|
ref: "calendar",
|
|
17
23
|
class: "q-date-time-picker__calendar"
|
|
18
|
-
},
|
|
24
|
+
}, ze = { class: "q-date-time-picker__header" }, Be = ["aria-label", "aria-multiselectable"], Ve = {
|
|
19
25
|
role: "row",
|
|
20
26
|
class: "q-date-time-picker__weekdays"
|
|
21
|
-
},
|
|
27
|
+
}, He = ["aria-label"], Ue = {
|
|
28
|
+
key: 1,
|
|
29
|
+
class: "q-date-time-picker__time"
|
|
30
|
+
}, We = ["role", "aria-label"], Ge = {
|
|
22
31
|
key: 0,
|
|
23
32
|
class: "q-date-time-picker__time-period"
|
|
24
|
-
},
|
|
33
|
+
}, Ke = { class: "q-date-time-picker__time-inputs" }, qe = { class: "q-date-time-picker__time-input-group" }, Je = { class: "q-date-time-picker__time-input-group" }, Ye = { class: "q-date-time-picker__time-input-group" }, Xe = {
|
|
34
|
+
key: 2,
|
|
35
|
+
class: "q-date-time-picker__month-grid"
|
|
36
|
+
}, Ze = {
|
|
37
|
+
key: 3,
|
|
38
|
+
class: "q-date-time-picker__year"
|
|
39
|
+
}, Qe = { class: "q-date-time-picker__year-change" }, $e = { class: "q-date-time-picker__year-interval" }, et = { class: "q-date-time-picker__year-grid" }, tt = { class: "q-date-time-picker__bottom-bar" }, D = 1001, O = 9999, nt = 26, rt = /*@__PURE__*/ _({
|
|
25
40
|
inheritAttrs: !1,
|
|
26
41
|
__name: "QDateTimePicker",
|
|
27
|
-
props: /*@__PURE__*/
|
|
42
|
+
props: /*@__PURE__*/ Te({
|
|
28
43
|
id: {},
|
|
29
44
|
class: {},
|
|
30
45
|
label: {},
|
|
@@ -33,8 +48,8 @@ var Pe = {
|
|
|
33
48
|
labelPosition: {},
|
|
34
49
|
help: {},
|
|
35
50
|
helpDisplay: {},
|
|
36
|
-
icons: { default: () =>
|
|
37
|
-
texts: { default: () =>
|
|
51
|
+
icons: { default: () => ne },
|
|
52
|
+
texts: { default: () => re },
|
|
38
53
|
size: {},
|
|
39
54
|
readonly: { type: Boolean },
|
|
40
55
|
disabled: { type: Boolean },
|
|
@@ -51,22 +66,22 @@ var Pe = {
|
|
|
51
66
|
modelValue: {},
|
|
52
67
|
modelModifiers: {}
|
|
53
68
|
}),
|
|
54
|
-
emits: /*@__PURE__*/
|
|
55
|
-
setup(
|
|
56
|
-
let
|
|
57
|
-
get: () =>
|
|
58
|
-
set: (e) =>
|
|
59
|
-
}),
|
|
60
|
-
function
|
|
69
|
+
emits: /*@__PURE__*/ Te(["open", "close"], ["update:modelValue"]),
|
|
70
|
+
setup(ne, { emit: re }) {
|
|
71
|
+
let _ = ne, Te = re, rt = { ignoreWeekday: !0 }, it = e(Me(_, "id")), at = Ne(), ot = d(() => `${it.value}_menu`), st = d(() => !_.readonly && !_.disabled), ct = Pe(ne, "modelValue"), k = d({
|
|
72
|
+
get: () => ct.value,
|
|
73
|
+
set: (e) => ct.value = e || void 0
|
|
74
|
+
}), lt = d(() => _.readonly || _.disabled ? void 0 : _.placeholder), ut = d(() => ue(_.format)), dt = d(() => le(_.format)), A = d(() => xe(_.format)), j = d(() => he(_.format)), ft = d(() => I.value === (/* @__PURE__ */ new Date()).getMonth() && L.value === (/* @__PURE__ */ new Date()).getFullYear()), M = C(!1), pt = C(!1), N = C(""), P = C(null), F = C("date"), I = C((/* @__PURE__ */ new Date()).getMonth()), L = C((/* @__PURE__ */ new Date()).getFullYear()), R = C((/* @__PURE__ */ new Date()).getFullYear()), mt = null, z = !1, ht = !1, gt = !1, B = null;
|
|
75
|
+
function _t() {
|
|
61
76
|
queueMicrotask(() => {
|
|
62
77
|
requestAnimationFrame(() => {
|
|
63
|
-
let e =
|
|
64
|
-
e && (t === e || t instanceof Node &&
|
|
78
|
+
let e = zr(), t = document.activeElement;
|
|
79
|
+
e && (t === e || t instanceof Node && V.value?.contains(t)) && (z = !0);
|
|
65
80
|
});
|
|
66
81
|
});
|
|
67
82
|
}
|
|
68
|
-
let
|
|
69
|
-
function
|
|
83
|
+
let vt = T("field"), V = T("menu"), yt = T("calendar"), bt = T("monthHeader"), xt = T("yearHeader"), St = T("toggleTime"), Ct = T("toggleDate"), wt = /* @__PURE__ */ new Map(), Tt = /* @__PURE__ */ new Map();
|
|
84
|
+
function Et(e) {
|
|
70
85
|
if (!e) return null;
|
|
71
86
|
if (e instanceof HTMLElement) return e;
|
|
72
87
|
if (typeof e == "object" && "$el" in e) {
|
|
@@ -75,405 +90,468 @@ var Pe = {
|
|
|
75
90
|
}
|
|
76
91
|
return null;
|
|
77
92
|
}
|
|
78
|
-
function
|
|
79
|
-
let n =
|
|
80
|
-
n ?
|
|
93
|
+
function Dt(e, t) {
|
|
94
|
+
let n = Et(e);
|
|
95
|
+
n ? wt.set(t, n) : wt.delete(t);
|
|
81
96
|
}
|
|
82
|
-
function
|
|
83
|
-
let n =
|
|
84
|
-
n ?
|
|
97
|
+
function Ot(e, t) {
|
|
98
|
+
let n = Et(e);
|
|
99
|
+
n ? Tt.set(t, n) : Tt.delete(t);
|
|
85
100
|
}
|
|
86
|
-
function
|
|
87
|
-
|
|
101
|
+
function kt(e) {
|
|
102
|
+
Et(e)?.focus();
|
|
88
103
|
}
|
|
89
|
-
|
|
104
|
+
function At() {
|
|
105
|
+
return !!V.value?.contains(document.activeElement);
|
|
106
|
+
}
|
|
107
|
+
let H = C(null);
|
|
108
|
+
function jt(e, t) {
|
|
109
|
+
return !t && H.value !== e;
|
|
110
|
+
}
|
|
111
|
+
function Mt() {
|
|
112
|
+
At() && V.value?.focus();
|
|
113
|
+
}
|
|
114
|
+
let U = d(() => {
|
|
90
115
|
let e = k.value;
|
|
91
|
-
return e ? e instanceof Date ? e : Array.isArray(e) && e.length > 0 ? e[0] : typeof e == "string" ?
|
|
92
|
-
}),
|
|
116
|
+
return e ? e instanceof Date ? e : Array.isArray(e) && e.length > 0 ? e[0] : typeof e == "string" ? gr(e) : null : null;
|
|
117
|
+
}), Nt = d(() => {
|
|
93
118
|
let e = k.value;
|
|
94
119
|
return Array.isArray(e) && e.length > 1 ? e[1] : null;
|
|
95
|
-
}), W =
|
|
96
|
-
if (!
|
|
97
|
-
if (!q.value || !W.value) return
|
|
120
|
+
}), W = C(null), G = C(null), K = C(null), q = C(!1), Pt = d(() => !q.value || !W.value ? U.value : K.value && K.value < W.value ? K.value : W.value), Ft = d(() => {
|
|
121
|
+
if (!_.range) return U.value;
|
|
122
|
+
if (!q.value || !W.value) return Nt.value;
|
|
98
123
|
let e = K.value ?? G.value;
|
|
99
124
|
return e ? e < W.value ? W.value : e : null;
|
|
100
|
-
}), J =
|
|
125
|
+
}), J = d(() => ({
|
|
101
126
|
getMonthName: (e, t) => {
|
|
102
|
-
let n =
|
|
127
|
+
let n = un(e);
|
|
103
128
|
return t ? n.substring(0, 3) : n;
|
|
104
129
|
},
|
|
105
130
|
getWeekdayName: (e, t) => {
|
|
106
|
-
let n =
|
|
131
|
+
let n = ae[(e + 6) % 7], r = _.texts[n] ?? n;
|
|
107
132
|
return t ? r.substring(0, 3) : r;
|
|
108
133
|
}
|
|
109
|
-
})),
|
|
134
|
+
})), It = d(() => J.value), Lt = d(() => {
|
|
110
135
|
let e = k.value;
|
|
111
136
|
if (!e) return "";
|
|
112
|
-
if (Array.isArray(e)) return e.map((e) => e instanceof Date ?
|
|
113
|
-
if (e instanceof Date) return
|
|
137
|
+
if (Array.isArray(e)) return e.map((e) => e instanceof Date ? ce(e, _.format, J.value) : e).join(" - ");
|
|
138
|
+
if (e instanceof Date) return ce(e, _.format, J.value);
|
|
114
139
|
if (typeof e == "string") {
|
|
115
|
-
let t =
|
|
116
|
-
return t ?
|
|
140
|
+
let t = gr(e);
|
|
141
|
+
return t ? ce(t, _.format, J.value) : String(e);
|
|
117
142
|
}
|
|
118
143
|
return String(e);
|
|
119
|
-
}),
|
|
120
|
-
if (!
|
|
121
|
-
let e =
|
|
122
|
-
return
|
|
123
|
-
}), { isInvalid:
|
|
124
|
-
invalid: () =>
|
|
125
|
-
error:
|
|
126
|
-
slots:
|
|
144
|
+
}), Rt = d(() => P.value ?? Lt.value), zt = C(!1), Bt = d(() => {
|
|
145
|
+
if (!zt.value) return;
|
|
146
|
+
let e = ce(/* @__PURE__ */ new Date(), _.format, J.value), t = _.range ? `${e} - ${e}` : e;
|
|
147
|
+
return _.texts.invalidValue.replace("{0}", t);
|
|
148
|
+
}), { isInvalid: Vt, showsAppErrors: Ht } = ee({
|
|
149
|
+
invalid: () => _.invalid,
|
|
150
|
+
error: Bt,
|
|
151
|
+
slots: Fe()
|
|
127
152
|
});
|
|
128
|
-
function
|
|
129
|
-
|
|
153
|
+
function Ut() {
|
|
154
|
+
N.value = Rt.value;
|
|
130
155
|
}
|
|
131
|
-
|
|
132
|
-
|
|
156
|
+
Ie(Rt, () => {
|
|
157
|
+
pt.value || Ut();
|
|
133
158
|
}, { immediate: !0 });
|
|
134
|
-
let
|
|
135
|
-
let e =
|
|
136
|
-
for (let e =
|
|
137
|
-
for (let e = 1; e <= t; e++)
|
|
138
|
-
let
|
|
139
|
-
for (let e = 1; e <=
|
|
140
|
-
return
|
|
159
|
+
let Wt = d(() => {
|
|
160
|
+
let e = fe(new Date(L.value, I.value, 1)), t = de(I.value, L.value), n = (e.getDay() + 6) % 7, r = 6 - Math.ceil((n + t) / 7), i = n + Math.floor(r / 2) * 7, a = [], o = I.value === 0 ? 11 : I.value - 1, s = I.value === 0 ? L.value - 1 : L.value, ee = de(o, s);
|
|
161
|
+
for (let e = i - 1; e >= 0; e--) Gt(a, new Date(s, o, ee - e), !1);
|
|
162
|
+
for (let e = 1; e <= t; e++) Gt(a, new Date(L.value, I.value, e), !0);
|
|
163
|
+
let te = 42 - a.length;
|
|
164
|
+
for (let e = 1; e <= te; e++) Gt(a, new Date(L.value, I.value + 1, e), !1);
|
|
165
|
+
return a;
|
|
141
166
|
});
|
|
142
|
-
function
|
|
143
|
-
let r =
|
|
167
|
+
function Gt(e, t, n) {
|
|
168
|
+
let r = Pt.value, i = Ft.value, a = t.getFullYear(), o = a < D || a > O;
|
|
144
169
|
e.push({
|
|
145
170
|
date: t,
|
|
146
171
|
isCurrentMonth: n,
|
|
147
|
-
isToday:
|
|
148
|
-
isSelected: r ?
|
|
149
|
-
isRangeStart: !!r &&
|
|
150
|
-
isRangeEnd: !!i &&
|
|
151
|
-
isInRange: r && i ?
|
|
172
|
+
isToday: l(t, /* @__PURE__ */ new Date()),
|
|
173
|
+
isSelected: r ? l(t, r) : !1,
|
|
174
|
+
isRangeStart: !!r && l(t, r),
|
|
175
|
+
isRangeEnd: !!i && l(t, i),
|
|
176
|
+
isInRange: r && i ? me(t, r, i) : !1,
|
|
152
177
|
isDisabled: o
|
|
153
178
|
});
|
|
154
179
|
}
|
|
155
|
-
let
|
|
180
|
+
let Kt = d(() => ae.map((e) => {
|
|
156
181
|
let t = e;
|
|
157
|
-
return
|
|
158
|
-
})),
|
|
182
|
+
return _.texts[t]?.substring(0, 2) ?? e;
|
|
183
|
+
})), { style: qt } = t("primary"), Jt = d(() => qt.value ? {
|
|
184
|
+
"--q-date-band-color-rgb": qt.value.mainColorRgb,
|
|
185
|
+
"--q-date-band-edge-color": qt.value.textColor
|
|
186
|
+
} : void 0), Yt = d(() => {
|
|
159
187
|
let e = [];
|
|
160
|
-
return
|
|
188
|
+
return Wt.value.forEach((t, n) => {
|
|
161
189
|
n % 7 == 0 && e.push([]), e[e.length - 1].push({
|
|
162
190
|
day: t,
|
|
163
191
|
index: n
|
|
164
192
|
});
|
|
165
|
-
}), e
|
|
193
|
+
}), e.map((e) => ({
|
|
194
|
+
days: e,
|
|
195
|
+
band: Xt(e.map(({ day: e }) => e))
|
|
196
|
+
}));
|
|
166
197
|
});
|
|
167
|
-
function
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
198
|
+
function Xt(e) {
|
|
199
|
+
if (!Ft.value) return;
|
|
200
|
+
let t = e.map((e) => e.isRangeStart || e.isInRange || e.isRangeEnd), n = t.indexOf(!0);
|
|
201
|
+
if (n < 0) return;
|
|
202
|
+
let r = t.lastIndexOf(!0), i = e[n].isRangeStart ? n + .5 : n, a = e[r].isRangeEnd ? r + .5 : r + 1;
|
|
203
|
+
return a > i ? {
|
|
204
|
+
start: i,
|
|
205
|
+
end: a
|
|
206
|
+
} : void 0;
|
|
207
|
+
}
|
|
208
|
+
function Zt(e) {
|
|
209
|
+
let t = ae[e];
|
|
210
|
+
return _.texts[t] ?? t;
|
|
211
|
+
}
|
|
212
|
+
function Qt(e) {
|
|
213
|
+
if (_.range && q.value && W.value) return l(e, W.value);
|
|
214
|
+
let t = U.value;
|
|
215
|
+
if (!t) return !1;
|
|
216
|
+
let n = _.range ? Nt.value : null;
|
|
217
|
+
return n ? l(e, t) || l(e, n) || me(e, t, n) : l(e, t);
|
|
218
|
+
}
|
|
219
|
+
function $t() {
|
|
220
|
+
return te(at["aria-label"], vt.value?.inputRef);
|
|
221
|
+
}
|
|
222
|
+
let en = d(() => typeof at["aria-labelledby"] == "string" ? at["aria-labelledby"] : void 0), tn = d(() => `${un(I.value)} ${L.value}`);
|
|
223
|
+
function nn(e) {
|
|
224
|
+
return `${Zt((e.getDay() + 6) % 7)}, ${e.getDate()} ${un(e.getMonth())} ${e.getFullYear()}`;
|
|
225
|
+
}
|
|
226
|
+
let rn = C(null), an = d(() => {
|
|
227
|
+
let e = Wt.value;
|
|
177
228
|
for (let t of [
|
|
178
|
-
|
|
179
|
-
|
|
229
|
+
rn.value,
|
|
230
|
+
Pt.value,
|
|
180
231
|
/* @__PURE__ */ new Date()
|
|
181
232
|
]) {
|
|
182
233
|
if (!t) continue;
|
|
183
|
-
let n = e.findIndex((e) => e.isCurrentMonth && !e.isDisabled &&
|
|
234
|
+
let n = e.findIndex((e) => e.isCurrentMonth && !e.isDisabled && l(e.date, t));
|
|
184
235
|
if (n >= 0) return n;
|
|
185
236
|
}
|
|
186
237
|
return e.findIndex((e) => e.isCurrentMonth && !e.isDisabled);
|
|
187
238
|
});
|
|
188
|
-
function
|
|
189
|
-
let n = new Date(e.getFullYear(), e.getMonth() + t, 1), r =
|
|
239
|
+
function on(e, t) {
|
|
240
|
+
let n = new Date(e.getFullYear(), e.getMonth() + t, 1), r = de(n.getMonth(), n.getFullYear());
|
|
190
241
|
return new Date(n.getFullYear(), n.getMonth(), Math.min(e.getDate(), r));
|
|
191
242
|
}
|
|
192
|
-
function
|
|
243
|
+
function sn(e) {
|
|
193
244
|
if (e.ctrlKey || e.altKey || e.metaKey) return;
|
|
194
|
-
let t = e.target.closest("[data-day-index]"), n =
|
|
245
|
+
let t = e.target.closest("[data-day-index]"), n = Wt.value[Number(t?.getAttribute("data-day-index"))];
|
|
195
246
|
if (!n) return;
|
|
196
247
|
let { date: r } = n, i = (r.getDay() + 6) % 7, a = e.shiftKey ? 12 : 1, o = {
|
|
197
|
-
ArrowLeft: () =>
|
|
198
|
-
ArrowRight: () =>
|
|
199
|
-
ArrowUp: () =>
|
|
200
|
-
ArrowDown: () =>
|
|
201
|
-
Home: () =>
|
|
202
|
-
End: () =>
|
|
203
|
-
PageUp: () =>
|
|
204
|
-
PageDown: () =>
|
|
248
|
+
ArrowLeft: () => c(r, -1),
|
|
249
|
+
ArrowRight: () => c(r, 1),
|
|
250
|
+
ArrowUp: () => c(r, -7),
|
|
251
|
+
ArrowDown: () => c(r, 7),
|
|
252
|
+
Home: () => c(r, -i),
|
|
253
|
+
End: () => c(r, 6 - i),
|
|
254
|
+
PageUp: () => on(r, -a),
|
|
255
|
+
PageDown: () => on(r, a)
|
|
205
256
|
}[e.key];
|
|
206
|
-
o && (e.preventDefault(),
|
|
257
|
+
o && (e.preventDefault(), cn(o()));
|
|
207
258
|
}
|
|
208
|
-
async function
|
|
259
|
+
async function cn(e) {
|
|
209
260
|
let t = e.getFullYear();
|
|
210
|
-
t <
|
|
261
|
+
t < D || t > O || (rn.value = e, (e.getMonth() !== I.value || t !== L.value) && (X(e.getMonth()), Y(t)), await b(), V.value?.querySelector(`[data-day-index="${an.value}"]`)?.focus());
|
|
211
262
|
}
|
|
212
|
-
let
|
|
213
|
-
function
|
|
214
|
-
let n =
|
|
263
|
+
let ln = d(() => Array.from({ length: 12 }, (e, t) => un(t, 3)));
|
|
264
|
+
function un(e, t = 0) {
|
|
265
|
+
let n = ie[e], r = _.texts[n] ?? ie[e];
|
|
215
266
|
return t <= 0 ? r : r.substring(0, t);
|
|
216
267
|
}
|
|
217
|
-
function
|
|
218
|
-
let t = e - Math.floor(
|
|
219
|
-
return t <
|
|
268
|
+
function dn(e) {
|
|
269
|
+
let t = e - Math.floor(nt / 2), n = t + nt;
|
|
270
|
+
return t < D && (t = D, n = Math.min(t + nt, O)), n > O && (n = O, t = Math.max(D, n - nt)), {
|
|
220
271
|
startYear: t,
|
|
221
272
|
endYear: n
|
|
222
273
|
};
|
|
223
274
|
}
|
|
224
|
-
function
|
|
225
|
-
let { startYear: t, endYear: n } =
|
|
275
|
+
function fn(e) {
|
|
276
|
+
let { startYear: t, endYear: n } = dn(e);
|
|
226
277
|
return Array.from({ length: n - t + 1 }, (e, n) => t + n);
|
|
227
278
|
}
|
|
228
|
-
function
|
|
229
|
-
|
|
279
|
+
function pn() {
|
|
280
|
+
gn.value && (R.value -= nt);
|
|
230
281
|
}
|
|
231
|
-
function
|
|
232
|
-
|
|
282
|
+
function mn() {
|
|
283
|
+
_n.value && (R.value += nt);
|
|
233
284
|
}
|
|
234
|
-
let
|
|
235
|
-
|
|
236
|
-
let r =
|
|
237
|
-
|
|
238
|
-
|
|
285
|
+
let hn = d(() => dn(R.value)), gn = d(() => hn.value.startYear > D), _n = d(() => hn.value.endYear < O), vn = d(() => I.value === 0 ? L.value - 1 : L.value), yn = d(() => I.value === 11 ? L.value + 1 : L.value), bn = d(() => vn.value >= D), xn = d(() => yn.value <= O), Sn = d(() => fn(R.value)), Cn = d(() => j.value ? _.icons.clock : _.icons.calendar), wn = d(() => `${_.format} - ${_.format}`), Tn = d(() => se(_.format)), En = d(() => `${Tn.value} - ${Tn.value}`);
|
|
286
|
+
Ie(() => vt?.value?.inputRef, (e, t, n) => {
|
|
287
|
+
let r = Rr(e);
|
|
288
|
+
B = r, r && (r.addEventListener("click", Fr), n(() => {
|
|
289
|
+
B = null, r.removeEventListener("click", Fr);
|
|
239
290
|
}));
|
|
240
|
-
}, { flush: "post" }),
|
|
241
|
-
|
|
291
|
+
}, { flush: "post" }), Ie(k, () => {
|
|
292
|
+
P.value = null, zt.value = !1, Ut();
|
|
242
293
|
});
|
|
243
|
-
function
|
|
294
|
+
function Dn(e) {
|
|
244
295
|
return e === void 0 ? !1 : typeof e == "string" ? e.trim().length > 0 : e instanceof Date ? !0 : Array.isArray(e) ? e.length > 0 : !1;
|
|
245
296
|
}
|
|
246
|
-
let
|
|
247
|
-
function
|
|
248
|
-
|
|
297
|
+
let On = d(() => _.clearable && !_.readonly && !_.disabled && Dn(k.value));
|
|
298
|
+
function kn() {
|
|
299
|
+
On.value && (Un(), k.value = void 0, N.value = "", $r());
|
|
249
300
|
}
|
|
250
|
-
function
|
|
251
|
-
!
|
|
301
|
+
function An(e) {
|
|
302
|
+
!_.range || !q.value || !W.value || e.getFullYear() < D || e.getFullYear() > O || (K.value = new Date(e));
|
|
252
303
|
}
|
|
253
|
-
function
|
|
304
|
+
function jn() {
|
|
254
305
|
K.value = null;
|
|
255
306
|
}
|
|
256
|
-
function
|
|
307
|
+
function Mn(e) {
|
|
257
308
|
let t = e.currentTarget, n = e.relatedTarget;
|
|
258
|
-
!t || n && t.contains(n) ||
|
|
309
|
+
!t || n && t.contains(n) || jn();
|
|
259
310
|
}
|
|
260
|
-
function
|
|
261
|
-
if (!
|
|
311
|
+
function Nn(e) {
|
|
312
|
+
if (!_.range || !q.value || !W.value) return;
|
|
262
313
|
let t = e.touches.item(0);
|
|
263
314
|
if (!t) return;
|
|
264
315
|
let n = document.elementFromPoint(t.clientX, t.clientY)?.closest("[data-day-index]");
|
|
265
316
|
if (!n) return;
|
|
266
317
|
let r = Number(n.dataset.dayIndex);
|
|
267
318
|
if (Number.isNaN(r)) return;
|
|
268
|
-
let i =
|
|
269
|
-
i &&
|
|
319
|
+
let i = Wt.value[r];
|
|
320
|
+
i && An(i.date);
|
|
270
321
|
}
|
|
271
|
-
function
|
|
272
|
-
|
|
322
|
+
async function Pn(e) {
|
|
323
|
+
let t = At();
|
|
324
|
+
if (Fn(e), !t || (rn.value = e, await b(), !M.value)) return;
|
|
325
|
+
let n = Wt.value.findIndex((t) => l(t.date, e));
|
|
326
|
+
V.value?.querySelector(`[data-day-index="${n >= 0 ? n : an.value}"]`)?.focus();
|
|
327
|
+
}
|
|
328
|
+
function Fn(e) {
|
|
329
|
+
if (!(_.readonly || _.disabled) && !(e.getFullYear() < D || e.getFullYear() > O)) if (_.range) if (!q.value) W.value = new Date(e), G.value = null, K.value = null, q.value = !0;
|
|
273
330
|
else {
|
|
274
331
|
let t = W.value, n = new Date(e), [r, i] = n < t ? [n, t] : [t, n];
|
|
275
|
-
|
|
332
|
+
ut.value && i.setHours(23, 59, dt.value ? 59 : 0, 0), k.value = [r, i], W.value = null, G.value = null, K.value = null, q.value = !1;
|
|
276
333
|
}
|
|
277
334
|
else {
|
|
278
335
|
let t = new Date(e);
|
|
279
|
-
U.value && !
|
|
336
|
+
U.value && !wr(U.value) ? t.setHours(U.value.getHours(), U.value.getMinutes(), U.value.getSeconds()) : ut.value && Tr(t), k.value = t;
|
|
280
337
|
}
|
|
281
338
|
}
|
|
282
|
-
function
|
|
283
|
-
|
|
339
|
+
function In(e) {
|
|
340
|
+
X(e, !0);
|
|
284
341
|
}
|
|
285
|
-
function
|
|
286
|
-
|
|
342
|
+
function Ln(e) {
|
|
343
|
+
Y(e, !0);
|
|
287
344
|
}
|
|
288
345
|
function Y(e, t) {
|
|
289
|
-
|
|
346
|
+
L.value = e, t && qr("year");
|
|
290
347
|
}
|
|
291
348
|
function X(e, t) {
|
|
292
|
-
|
|
349
|
+
I.value = e, t && qr("month");
|
|
293
350
|
}
|
|
294
|
-
function
|
|
295
|
-
|
|
351
|
+
function Rn() {
|
|
352
|
+
bn.value && (I.value === 0 ? (X(11), Y(L.value - 1)) : X(I.value - 1));
|
|
296
353
|
}
|
|
297
|
-
function
|
|
298
|
-
|
|
354
|
+
function zn() {
|
|
355
|
+
xn.value && (I.value === 11 ? (X(0), Y(L.value + 1)) : X(I.value + 1));
|
|
299
356
|
}
|
|
300
|
-
function
|
|
301
|
-
X((/* @__PURE__ */ new Date()).getMonth()), Y((/* @__PURE__ */ new Date()).getFullYear()),
|
|
357
|
+
function Bn() {
|
|
358
|
+
ft.value || (X((/* @__PURE__ */ new Date()).getMonth()), Y((/* @__PURE__ */ new Date()).getFullYear()), Kr());
|
|
302
359
|
}
|
|
303
|
-
function
|
|
360
|
+
function Vn() {
|
|
304
361
|
let e = U.value ?? /* @__PURE__ */ new Date();
|
|
305
|
-
X(e.getMonth()), Y(e.getFullYear()),
|
|
362
|
+
X(e.getMonth()), Y(e.getFullYear()), Kr();
|
|
306
363
|
}
|
|
307
|
-
function
|
|
308
|
-
return
|
|
364
|
+
function Hn(e) {
|
|
365
|
+
return _.range ? q.value ? e === 1 ? G.value : W.value : e === 1 ? Nt.value ?? G.value : U.value ?? W.value : U.value;
|
|
309
366
|
}
|
|
310
|
-
function
|
|
367
|
+
function Un() {
|
|
311
368
|
W.value = null, G.value = null, K.value = null, q.value = !1;
|
|
312
369
|
}
|
|
313
|
-
function
|
|
314
|
-
if (!
|
|
370
|
+
function Wn() {
|
|
371
|
+
if (!_.range || !j.value) return;
|
|
315
372
|
let e = k.value;
|
|
316
373
|
if (!Array.isArray(e) || e.length < 2) return;
|
|
317
374
|
let t = e[0], n = e[1];
|
|
318
375
|
!(t instanceof Date) || !(n instanceof Date) || n >= t || (k.value = [new Date(n), new Date(t)]);
|
|
319
376
|
}
|
|
320
|
-
function
|
|
321
|
-
if (!
|
|
377
|
+
function Gn(e, t) {
|
|
378
|
+
if (!_.range) {
|
|
322
379
|
k.value = t;
|
|
323
380
|
return;
|
|
324
381
|
}
|
|
325
|
-
if (
|
|
382
|
+
if (j.value) {
|
|
326
383
|
e === 0 ? W.value = t : G.value = t;
|
|
327
|
-
let n = e === 0 ? t : U.value ?? W.value, r = e === 1 ? t :
|
|
384
|
+
let n = e === 0 ? t : U.value ?? W.value, r = e === 1 ? t : Nt.value;
|
|
328
385
|
if (!n || !r) return;
|
|
329
|
-
k.value = [new Date(n), new Date(r)],
|
|
386
|
+
k.value = [new Date(n), new Date(r)], Un();
|
|
330
387
|
return;
|
|
331
388
|
}
|
|
332
389
|
if (q.value) {
|
|
333
390
|
e === 0 && (W.value = t);
|
|
334
391
|
return;
|
|
335
392
|
}
|
|
336
|
-
let n = U.value, r =
|
|
393
|
+
let n = U.value, r = Nt.value;
|
|
337
394
|
!n || !r || (k.value = e === 1 ? [n, t] : [t, r]);
|
|
338
395
|
}
|
|
339
396
|
function Z(e, t) {
|
|
340
|
-
let n =
|
|
397
|
+
let n = Hn(e) ?? (() => {
|
|
341
398
|
let e = /* @__PURE__ */ new Date();
|
|
342
399
|
return e.setHours(0, 0, 0, 0), e;
|
|
343
400
|
})(), r = new Date(n);
|
|
344
|
-
t(r),
|
|
401
|
+
t(r), Gn(e, r);
|
|
345
402
|
}
|
|
346
|
-
function
|
|
347
|
-
let t =
|
|
348
|
-
if (!t) return
|
|
403
|
+
function Kn(e) {
|
|
404
|
+
let t = Hn(e);
|
|
405
|
+
if (!t) return A.value ? 12 : 0;
|
|
349
406
|
let n = t.getHours();
|
|
350
|
-
return
|
|
407
|
+
return A.value ? n % 12 || 12 : n;
|
|
351
408
|
}
|
|
352
|
-
function
|
|
353
|
-
return
|
|
409
|
+
function qn(e) {
|
|
410
|
+
return Hn(e)?.getMinutes() ?? 0;
|
|
354
411
|
}
|
|
355
|
-
function
|
|
356
|
-
return
|
|
412
|
+
function Jn(e) {
|
|
413
|
+
return Hn(e)?.getSeconds() ?? 0;
|
|
357
414
|
}
|
|
358
|
-
function
|
|
359
|
-
let t =
|
|
415
|
+
function Yn(e) {
|
|
416
|
+
let t = Hn(e);
|
|
360
417
|
return t ? t.getHours() >= 12 : !1;
|
|
361
418
|
}
|
|
362
419
|
function Q(e, t) {
|
|
363
420
|
return t ? e === 12 ? 12 : e + 12 : e === 12 ? 0 : e;
|
|
364
421
|
}
|
|
365
|
-
function
|
|
422
|
+
function Xn(e, t) {
|
|
366
423
|
let n = e >= 12, r = e % 12 || 12;
|
|
367
424
|
return t === 1 ? r >= 12 ? Q(1, n) : r === 11 ? Q(12, !n) : Q(r + 1, n) : r <= 1 ? Q(12, n) : r === 12 ? Q(11, !n) : Q(r - 1, n);
|
|
368
425
|
}
|
|
369
|
-
function
|
|
426
|
+
function Zn(e) {
|
|
370
427
|
Z(e, (e) => {
|
|
371
|
-
|
|
428
|
+
A.value ? e.setHours(Xn(e.getHours(), 1)) : e.setHours(e.getHours() >= 23 ? 0 : e.getHours() + 1);
|
|
372
429
|
});
|
|
373
430
|
}
|
|
374
|
-
function
|
|
431
|
+
function Qn(e) {
|
|
375
432
|
Z(e, (e) => {
|
|
376
|
-
|
|
433
|
+
A.value ? e.setHours(Xn(e.getHours(), -1)) : e.setHours(e.getHours() <= 0 ? 23 : e.getHours() - 1);
|
|
377
434
|
});
|
|
378
435
|
}
|
|
379
|
-
function
|
|
436
|
+
function $n(e) {
|
|
380
437
|
Z(e, (e) => {
|
|
381
438
|
e.setMinutes(e.getMinutes() >= 59 ? 0 : e.getMinutes() + 1);
|
|
382
439
|
});
|
|
383
440
|
}
|
|
384
|
-
function
|
|
441
|
+
function er(e) {
|
|
385
442
|
Z(e, (e) => {
|
|
386
443
|
e.setMinutes(e.getMinutes() <= 0 ? 59 : e.getMinutes() - 1);
|
|
387
444
|
});
|
|
388
445
|
}
|
|
389
|
-
function
|
|
446
|
+
function tr(e) {
|
|
390
447
|
Z(e, (e) => {
|
|
391
448
|
e.setSeconds(e.getSeconds() >= 59 ? 0 : e.getSeconds() + 1);
|
|
392
449
|
});
|
|
393
450
|
}
|
|
394
|
-
function
|
|
451
|
+
function nr(e) {
|
|
395
452
|
Z(e, (e) => {
|
|
396
453
|
e.setSeconds(e.getSeconds() <= 0 ? 59 : e.getSeconds() - 1);
|
|
397
454
|
});
|
|
398
455
|
}
|
|
399
|
-
function
|
|
456
|
+
function rr(e) {
|
|
400
457
|
return (e ?? "").replace(/\D/g, "");
|
|
401
458
|
}
|
|
402
|
-
function
|
|
459
|
+
function ir(e) {
|
|
403
460
|
return Math.min(23, Math.max(0, e));
|
|
404
461
|
}
|
|
405
|
-
function
|
|
462
|
+
function ar(e) {
|
|
406
463
|
return Math.min(12, Math.max(1, e));
|
|
407
464
|
}
|
|
408
|
-
function
|
|
465
|
+
function or(e) {
|
|
409
466
|
return Math.min(59, Math.max(0, e));
|
|
410
467
|
}
|
|
411
|
-
function
|
|
412
|
-
let n =
|
|
468
|
+
function sr(e, t) {
|
|
469
|
+
let n = rr(e).slice(0, 2);
|
|
413
470
|
if (n === "") return;
|
|
414
|
-
let r = Number.parseInt(n, 10), i =
|
|
415
|
-
Z(t, (e) => {
|
|
416
|
-
|
|
417
|
-
});
|
|
471
|
+
let r = Number.parseInt(n, 10), i = A.value ? ar(r) : ir(r);
|
|
472
|
+
return Z(t, (e) => {
|
|
473
|
+
A.value ? e.setHours(Q(i, e.getHours() >= 12)) : e.setHours(i);
|
|
474
|
+
}), i;
|
|
418
475
|
}
|
|
419
|
-
function
|
|
420
|
-
let n =
|
|
476
|
+
function cr(e, t) {
|
|
477
|
+
let n = rr(e).slice(0, 2);
|
|
421
478
|
if (n === "") return;
|
|
422
|
-
let r =
|
|
423
|
-
Z(t, (e) => {
|
|
479
|
+
let r = or(Number.parseInt(n, 10));
|
|
480
|
+
return Z(t, (e) => {
|
|
424
481
|
e.setMinutes(r);
|
|
425
|
-
});
|
|
482
|
+
}), r;
|
|
426
483
|
}
|
|
427
|
-
function
|
|
428
|
-
let n =
|
|
484
|
+
function lr(e, t) {
|
|
485
|
+
let n = rr(e).slice(0, 2);
|
|
429
486
|
if (n === "") return;
|
|
430
|
-
let r =
|
|
431
|
-
Z(t, (e) => {
|
|
487
|
+
let r = or(Number.parseInt(n, 10));
|
|
488
|
+
return Z(t, (e) => {
|
|
432
489
|
e.setSeconds(r);
|
|
433
|
-
});
|
|
434
|
-
}
|
|
435
|
-
|
|
490
|
+
}), r;
|
|
491
|
+
}
|
|
492
|
+
let ur = C(null);
|
|
493
|
+
function dr(e, t) {
|
|
494
|
+
let n = ur.value;
|
|
495
|
+
return n?.field === e && n.index === t ? n.text : ge(e === "hours" ? Kn(t) : e === "minutes" ? qn(t) : Jn(t));
|
|
496
|
+
}
|
|
497
|
+
function fr(e, t, n) {
|
|
498
|
+
let r;
|
|
499
|
+
r = t === "hours" ? sr(e, n) : t === "minutes" ? cr(e, n) : lr(e, n);
|
|
500
|
+
let i = rr(e).slice(0, 2);
|
|
501
|
+
ur.value = r === void 0 || Number.parseInt(i, 10) === r ? {
|
|
502
|
+
field: t,
|
|
503
|
+
index: n,
|
|
504
|
+
text: e ?? ""
|
|
505
|
+
} : null;
|
|
506
|
+
}
|
|
507
|
+
function pr(e, t, n) {
|
|
508
|
+
let r = e.relatedTarget ?? document.activeElement;
|
|
509
|
+
if (r && e.currentTarget.contains(r)) return;
|
|
510
|
+
let i = ur.value;
|
|
511
|
+
i?.field === t && i.index === n && (ur.value = null);
|
|
512
|
+
}
|
|
513
|
+
async function mr(e, t, n) {
|
|
436
514
|
if (e.ctrlKey || e.altKey || e.metaKey || !/^\d$/.test(e.key)) return;
|
|
437
515
|
let r = e.target, i = r.selectionStart, a = r.selectionEnd;
|
|
438
|
-
if (i === null || a === null || i !== a || r.maxLength <= 0 || r.value.length < r.maxLength
|
|
516
|
+
if (i === null || a === null || i !== a || r.maxLength <= 0 || r.value.length < r.maxLength) return;
|
|
439
517
|
e.preventDefault();
|
|
440
|
-
let o =
|
|
441
|
-
|
|
442
|
-
let s = Math.min(i + 1, r.maxLength);
|
|
443
|
-
await
|
|
518
|
+
let o = i >= r.value.length;
|
|
519
|
+
fr(o ? e.key : `${r.value.slice(0, i)}${e.key}${r.value.slice(i + 1)}`, t, n);
|
|
520
|
+
let s = o ? 1 : Math.min(i + 1, r.maxLength);
|
|
521
|
+
await b(), r.setSelectionRange(s, s);
|
|
444
522
|
}
|
|
445
|
-
function
|
|
523
|
+
function hr(e, t) {
|
|
446
524
|
Z(t, (t) => {
|
|
447
525
|
let n = t.getHours() % 12 || 12;
|
|
448
526
|
t.setHours(Q(n, e));
|
|
449
527
|
});
|
|
450
528
|
}
|
|
451
|
-
function
|
|
529
|
+
function gr(e, t) {
|
|
452
530
|
let n = e.trim();
|
|
453
531
|
if (!n) return null;
|
|
454
|
-
let r =
|
|
532
|
+
let r = ve(n, _.format, It.value, rt);
|
|
455
533
|
if (r) return r;
|
|
456
|
-
let i =
|
|
534
|
+
let i = be(n);
|
|
457
535
|
if (i) return i;
|
|
458
536
|
if (t?.complete) {
|
|
459
|
-
let e =
|
|
537
|
+
let e = ye(n, _.format, It.value, rt);
|
|
460
538
|
if (e) return e;
|
|
461
539
|
}
|
|
462
|
-
return
|
|
540
|
+
return Lr(n);
|
|
463
541
|
}
|
|
464
|
-
function
|
|
465
|
-
if (
|
|
466
|
-
|
|
542
|
+
function _r(e) {
|
|
543
|
+
if (_.readonly || _.disabled) {
|
|
544
|
+
Ut();
|
|
467
545
|
return;
|
|
468
546
|
}
|
|
469
547
|
let t = e ?? "";
|
|
470
|
-
|
|
548
|
+
P.value = t, N.value = t;
|
|
471
549
|
}
|
|
472
|
-
function
|
|
550
|
+
function vr(e, t) {
|
|
473
551
|
let n = e.split(" - ");
|
|
474
552
|
if (n.length !== 2) return null;
|
|
475
|
-
let r = n[0]?.trim() ?? "", i = n[1]?.trim() ?? "", a =
|
|
476
|
-
return !a || !o ? null : (
|
|
553
|
+
let r = n[0]?.trim() ?? "", i = n[1]?.trim() ?? "", a = gr(r, t), o = gr(i, t);
|
|
554
|
+
return !a || !o ? null : (xr(r) && xr(i) ? o < a : Date.UTC(o.getFullYear(), o.getMonth(), o.getDate()) < Date.UTC(a.getFullYear(), a.getMonth(), a.getDate())) ? {
|
|
477
555
|
range: [o, a],
|
|
478
556
|
startSource: i,
|
|
479
557
|
endSource: r
|
|
@@ -483,286 +561,299 @@ var Pe = {
|
|
|
483
561
|
endSource: i
|
|
484
562
|
};
|
|
485
563
|
}
|
|
486
|
-
function
|
|
487
|
-
if (
|
|
488
|
-
let e =
|
|
489
|
-
if (!e) return
|
|
490
|
-
if (
|
|
491
|
-
let t =
|
|
564
|
+
function yr() {
|
|
565
|
+
if (_.readonly || _.disabled) return !1;
|
|
566
|
+
let e = _e(P.value ?? N.value, _.range ? wn.value : _.format);
|
|
567
|
+
if (!e) return P.value = null, zt.value = !1, Dn(k.value) && (k.value = void 0), N.value = "", !1;
|
|
568
|
+
if (_.range) {
|
|
569
|
+
let t = Se(e, En.value), n = vr(e, { complete: !0 }) ?? vr(t, { complete: !0 });
|
|
492
570
|
if (n) {
|
|
493
|
-
let e =
|
|
494
|
-
return k.value = e,
|
|
571
|
+
let e = Cr(n.range, n.startSource, n.endSource);
|
|
572
|
+
return k.value = e, P.value = null, zt.value = !1, N.value = e.map((e) => ce(e, _.format, J.value)).join(" - "), !0;
|
|
495
573
|
}
|
|
496
|
-
return
|
|
574
|
+
return br();
|
|
497
575
|
}
|
|
498
|
-
let t =
|
|
499
|
-
if (!n) return
|
|
500
|
-
let r =
|
|
501
|
-
return k.value = r,
|
|
576
|
+
let t = Se(e, Tn.value), n = gr(e, { complete: !0 }) ?? ye(t, _.format, It.value, rt);
|
|
577
|
+
if (!n) return br();
|
|
578
|
+
let r = Sr(n, e, t);
|
|
579
|
+
return k.value = r, P.value = null, zt.value = !1, N.value = ce(r, _.format, J.value), !0;
|
|
502
580
|
}
|
|
503
|
-
function
|
|
504
|
-
return
|
|
581
|
+
function br() {
|
|
582
|
+
return zt.value = P.value !== null, !1;
|
|
505
583
|
}
|
|
506
|
-
function
|
|
507
|
-
return !
|
|
584
|
+
function xr(e) {
|
|
585
|
+
return !ut.value || pe(e, _.format) ? !0 : /\dT\d/i.test(e) || /\d{1,2}:\d{2}/.test(e);
|
|
508
586
|
}
|
|
509
|
-
function
|
|
510
|
-
if (!
|
|
587
|
+
function Sr(e, ...t) {
|
|
588
|
+
if (!ut.value || _.range || t.some((e) => xr(e))) return e;
|
|
511
589
|
let n = new Date(e);
|
|
512
|
-
return
|
|
590
|
+
return Tr(n), n;
|
|
513
591
|
}
|
|
514
|
-
function
|
|
515
|
-
if (!
|
|
592
|
+
function Cr(e, t, n) {
|
|
593
|
+
if (!ut.value) return e;
|
|
516
594
|
let [r, i] = e, a = new Date(r), o = new Date(i);
|
|
517
|
-
return
|
|
595
|
+
return xr(t) || a.setHours(0, 0, 0, 0), xr(n) || o.setHours(23, 59, dt.value ? 59 : 0, 0), [a, o];
|
|
518
596
|
}
|
|
519
|
-
function
|
|
597
|
+
function wr(e) {
|
|
520
598
|
return e.getHours() === 0 && e.getMinutes() === 0 && e.getSeconds() === 0 && e.getMilliseconds() === 0;
|
|
521
599
|
}
|
|
522
|
-
function
|
|
600
|
+
function Tr(e) {
|
|
523
601
|
let t = /* @__PURE__ */ new Date();
|
|
524
|
-
e.setHours(t.getHours(), t.getMinutes(),
|
|
602
|
+
e.setHours(t.getHours(), t.getMinutes(), dt.value ? t.getSeconds() : 0, dt.value ? t.getMilliseconds() : 0);
|
|
525
603
|
}
|
|
526
|
-
function
|
|
604
|
+
function Er(e) {
|
|
527
605
|
let t = e.target;
|
|
528
|
-
if (!(t instanceof Element) || !
|
|
606
|
+
if (!(t instanceof Element) || !V.value) return null;
|
|
529
607
|
let n = t.closest("button, input, select, textarea, a[href], [tabindex], [contenteditable]");
|
|
530
|
-
return n &&
|
|
608
|
+
return n && V.value.contains(n) ? n : null;
|
|
531
609
|
}
|
|
532
|
-
function
|
|
610
|
+
function Dr(e) {
|
|
533
611
|
return !(e.matches(":disabled") || e.getAttribute("aria-disabled") === "true" || e.getAttribute("tabindex") === "-1");
|
|
534
612
|
}
|
|
535
|
-
function
|
|
536
|
-
if (!(e.target instanceof Node) || !
|
|
537
|
-
|
|
538
|
-
let t =
|
|
539
|
-
t && !
|
|
613
|
+
function Or(e) {
|
|
614
|
+
if (!(e.target instanceof Node) || !V.value?.contains(e.target)) return;
|
|
615
|
+
ht = !0;
|
|
616
|
+
let t = Er(e);
|
|
617
|
+
t && !Dr(t) && e.preventDefault();
|
|
540
618
|
}
|
|
541
|
-
function
|
|
542
|
-
return
|
|
619
|
+
function kr() {
|
|
620
|
+
return V.value ? i(V.value).filter((e) => !(Number(e.getAttribute("tabindex")) < 0)) : [];
|
|
543
621
|
}
|
|
544
|
-
async function
|
|
545
|
-
if (!(
|
|
622
|
+
async function Ar(e) {
|
|
623
|
+
if (!(_.readonly || _.disabled)) {
|
|
546
624
|
if (e.key === "Enter") {
|
|
547
|
-
e.preventDefault(),
|
|
625
|
+
e.preventDefault(), yr();
|
|
548
626
|
return;
|
|
549
|
-
} else if (e.key === "Tab")
|
|
627
|
+
} else if (e.key === "Tab") V.value?.setAttribute("inert", ""), gt = !0, M.value = !1;
|
|
550
628
|
else if (e.key === "ArrowDown") {
|
|
551
|
-
|
|
552
|
-
let [t] =
|
|
629
|
+
M.value = !0, await b();
|
|
630
|
+
let [t] = kr();
|
|
553
631
|
if (!t) return;
|
|
554
|
-
e.preventDefault(),
|
|
632
|
+
e.preventDefault(), ht = !0, t.focus();
|
|
555
633
|
}
|
|
556
634
|
}
|
|
557
635
|
}
|
|
558
|
-
function
|
|
559
|
-
|
|
636
|
+
function jr() {
|
|
637
|
+
$r();
|
|
560
638
|
}
|
|
561
|
-
function
|
|
639
|
+
function Mr(e) {
|
|
562
640
|
if (e.key !== "Tab") return;
|
|
563
|
-
let t =
|
|
641
|
+
let t = kr();
|
|
564
642
|
if (!t.length) return;
|
|
565
|
-
let
|
|
643
|
+
let n = t[0], i = t[t.length - 1], a = document.activeElement;
|
|
566
644
|
if (e.shiftKey) {
|
|
567
|
-
if (a !==
|
|
568
|
-
e.preventDefault(),
|
|
645
|
+
if (a !== n) return;
|
|
646
|
+
e.preventDefault(), ht = !1, $r();
|
|
569
647
|
return;
|
|
570
648
|
}
|
|
571
649
|
if (a !== i) return;
|
|
572
|
-
e.preventDefault(),
|
|
573
|
-
let o =
|
|
574
|
-
s ? s.focus() :
|
|
650
|
+
e.preventDefault(), gt = !1, M.value = !1;
|
|
651
|
+
let o = vt.value?.$el, s = o ? r(o, V.value) : void 0;
|
|
652
|
+
s ? s.focus() : $r();
|
|
575
653
|
}
|
|
576
|
-
async function
|
|
577
|
-
if (
|
|
578
|
-
|
|
654
|
+
async function Nr(e) {
|
|
655
|
+
if (yr(), ht) {
|
|
656
|
+
ht = !1;
|
|
579
657
|
return;
|
|
580
658
|
}
|
|
581
659
|
let t = e?.relatedTarget;
|
|
582
|
-
if (t instanceof Node &&
|
|
583
|
-
await
|
|
584
|
-
let n =
|
|
585
|
-
n !== r && (r instanceof Node &&
|
|
586
|
-
}
|
|
587
|
-
function
|
|
588
|
-
if (!(
|
|
589
|
-
if (
|
|
590
|
-
|
|
660
|
+
if (t instanceof Node && V.value?.contains(t)) return;
|
|
661
|
+
await b();
|
|
662
|
+
let n = zr(), r = document.activeElement;
|
|
663
|
+
n !== r && (r instanceof Node && V.value?.contains(r) || (z = !1, M.value = !1, pt.value = !1));
|
|
664
|
+
}
|
|
665
|
+
function Pr() {
|
|
666
|
+
if (!(_.readonly || _.disabled)) {
|
|
667
|
+
if (pt.value = !0, z) {
|
|
668
|
+
z = !1;
|
|
591
669
|
return;
|
|
592
670
|
}
|
|
593
|
-
|
|
671
|
+
M.value ||= !0;
|
|
594
672
|
}
|
|
595
673
|
}
|
|
596
|
-
function
|
|
597
|
-
|
|
674
|
+
function Fr() {
|
|
675
|
+
_.readonly || _.disabled || (z = !1, M.value = !0);
|
|
598
676
|
}
|
|
599
|
-
function
|
|
600
|
-
e ||
|
|
677
|
+
function Ir(e) {
|
|
678
|
+
e || _t(), M.value = e ?? !1;
|
|
601
679
|
}
|
|
602
|
-
function
|
|
603
|
-
let t =
|
|
680
|
+
function Lr(e) {
|
|
681
|
+
let t = be(e);
|
|
604
682
|
if (t) return t;
|
|
605
683
|
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})?)?$/);
|
|
606
684
|
if (!n && !r) return null;
|
|
607
685
|
if (r) {
|
|
608
686
|
let [, e, t, n] = r.map(Number);
|
|
609
|
-
if (n >
|
|
687
|
+
if (n > de(t - 1, e)) return null;
|
|
610
688
|
}
|
|
611
689
|
let i = new Date(e);
|
|
612
|
-
|
|
690
|
+
if (Number.isNaN(i.getTime())) return null;
|
|
691
|
+
if (!r) {
|
|
692
|
+
let t = e.replace(/\d{1,2}:\d{2}(?::\d{2})?/g, " ").match(/\b\d{1,2}\b/g);
|
|
693
|
+
if (t?.length === 1 && Number(t[0]) !== i.getDate()) return null;
|
|
694
|
+
}
|
|
695
|
+
return i;
|
|
613
696
|
}
|
|
614
|
-
function
|
|
697
|
+
function Rr(e) {
|
|
615
698
|
return e instanceof HTMLInputElement ? e : typeof e == "object" && e && "value" in e && e.value instanceof HTMLInputElement ? e.value : null;
|
|
616
699
|
}
|
|
617
|
-
function
|
|
618
|
-
if (
|
|
619
|
-
let e =
|
|
620
|
-
if (e) return
|
|
621
|
-
let t =
|
|
622
|
-
return t ? (
|
|
700
|
+
function zr() {
|
|
701
|
+
if (B) return B;
|
|
702
|
+
let e = Rr(vt.value?.inputRef);
|
|
703
|
+
if (e) return B = e, e;
|
|
704
|
+
let t = Et(vt.value?.fieldRef)?.querySelector(".q-text-field__input") ?? null;
|
|
705
|
+
return t ? (B = t, t) : null;
|
|
623
706
|
}
|
|
624
|
-
function
|
|
707
|
+
function Br(e) {
|
|
625
708
|
return e.isSelected || e.isRangeStart || e.isRangeEnd ? "bold" : e.isInRange ? "tonal" : "ghost";
|
|
626
709
|
}
|
|
627
|
-
function
|
|
628
|
-
|
|
710
|
+
function Vr(e) {
|
|
711
|
+
V.value?.style.setProperty("--q-date-view-height", `${Math.max(0, e)}px`);
|
|
629
712
|
}
|
|
630
|
-
async function
|
|
631
|
-
if (!
|
|
632
|
-
|
|
713
|
+
async function Hr() {
|
|
714
|
+
if (!M.value || j.value) {
|
|
715
|
+
Vr(0);
|
|
633
716
|
return;
|
|
634
717
|
}
|
|
635
|
-
|
|
718
|
+
F.value === "date" && (await b(), Vr(yt.value?.getBoundingClientRect().height ?? 0));
|
|
636
719
|
}
|
|
637
720
|
function $() {
|
|
638
|
-
|
|
721
|
+
mt?.disconnect(), mt = null;
|
|
639
722
|
}
|
|
640
|
-
async function
|
|
641
|
-
!
|
|
642
|
-
|
|
643
|
-
}),
|
|
723
|
+
async function Ur() {
|
|
724
|
+
!M.value || j.value || F.value !== "date" || (await b(), yt.value && ($(), mt = new MutationObserver(() => {
|
|
725
|
+
Hr();
|
|
726
|
+
}), mt.observe(yt.value, {
|
|
644
727
|
childList: !0,
|
|
645
728
|
subtree: !0,
|
|
646
729
|
attributes: !0,
|
|
647
730
|
characterData: !0
|
|
648
|
-
}),
|
|
731
|
+
}), Hr()));
|
|
649
732
|
}
|
|
650
|
-
function
|
|
651
|
-
|
|
733
|
+
function Wr() {
|
|
734
|
+
F.value = "time", $();
|
|
652
735
|
}
|
|
653
|
-
async function
|
|
654
|
-
|
|
736
|
+
async function Gr() {
|
|
737
|
+
Mt(), Wr(), await b(), kt(Ct.value);
|
|
655
738
|
}
|
|
656
|
-
function
|
|
657
|
-
|
|
739
|
+
function Kr() {
|
|
740
|
+
F.value = "date", Ur();
|
|
658
741
|
}
|
|
659
|
-
async function
|
|
660
|
-
|
|
742
|
+
async function qr(e) {
|
|
743
|
+
V.value?.focus(), Kr(), await b(), kt(e === "year" ? xt.value : e === "month" ? bt.value : e === "time" ? St.value : null);
|
|
661
744
|
}
|
|
662
|
-
function
|
|
663
|
-
let e =
|
|
664
|
-
e !== "date" &&
|
|
745
|
+
function Jr() {
|
|
746
|
+
let e = F.value;
|
|
747
|
+
e !== "date" && qr(e);
|
|
665
748
|
}
|
|
666
|
-
async function
|
|
667
|
-
$(),
|
|
668
|
-
let e =
|
|
749
|
+
async function Yr() {
|
|
750
|
+
Mt(), $(), F.value = "month", await b();
|
|
751
|
+
let e = wt.get(I.value);
|
|
669
752
|
e?.scrollIntoView({ block: "center" }), e?.focus();
|
|
670
753
|
}
|
|
671
|
-
async function
|
|
672
|
-
$(),
|
|
673
|
-
let e =
|
|
754
|
+
async function Xr() {
|
|
755
|
+
Mt(), $(), R.value = L.value, F.value = "year", await b();
|
|
756
|
+
let e = Tt.get(R.value);
|
|
674
757
|
e?.scrollIntoView({ block: "center" }), e?.focus();
|
|
675
758
|
}
|
|
676
|
-
async function
|
|
759
|
+
async function Zr(e) {
|
|
677
760
|
if (e.key !== "Escape") return;
|
|
678
|
-
if (
|
|
679
|
-
e.preventDefault(),
|
|
761
|
+
if (z = !0, F.value === "date" || j.value) {
|
|
762
|
+
e.preventDefault(), At() && $r(), M.value = !1, await b(), ii();
|
|
680
763
|
return;
|
|
681
764
|
}
|
|
682
765
|
e.preventDefault();
|
|
683
|
-
let t =
|
|
684
|
-
await
|
|
766
|
+
let t = F.value;
|
|
767
|
+
await qr(t);
|
|
685
768
|
}
|
|
686
|
-
function
|
|
687
|
-
|
|
769
|
+
function Qr(e) {
|
|
770
|
+
Zr(e);
|
|
688
771
|
}
|
|
689
|
-
function
|
|
690
|
-
|
|
772
|
+
function $r() {
|
|
773
|
+
zr()?.focus();
|
|
691
774
|
}
|
|
692
|
-
function
|
|
775
|
+
function ei(e) {
|
|
693
776
|
return !e || e === document.body || e === document.documentElement;
|
|
694
777
|
}
|
|
695
|
-
function
|
|
778
|
+
function ti(e, t) {
|
|
696
779
|
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\"])");
|
|
697
780
|
}
|
|
698
|
-
function
|
|
699
|
-
let t =
|
|
700
|
-
return t ? e === t || !e || !e.isConnected ||
|
|
781
|
+
function ni(e) {
|
|
782
|
+
let t = zr();
|
|
783
|
+
return t ? e === t || !e || !e.isConnected || ei(e) || V.value?.contains(e) ? !0 : !ti(e, t) : !1;
|
|
701
784
|
}
|
|
702
|
-
function
|
|
703
|
-
if (
|
|
704
|
-
let e =
|
|
705
|
-
!e || !
|
|
785
|
+
function ri() {
|
|
786
|
+
if (gt) return;
|
|
787
|
+
let e = zr();
|
|
788
|
+
!e || !ni(document.activeElement) || (z = !0, e.focus());
|
|
706
789
|
}
|
|
707
|
-
function
|
|
708
|
-
|
|
790
|
+
function ii() {
|
|
791
|
+
b().then(() => {
|
|
709
792
|
requestAnimationFrame(() => {
|
|
710
793
|
requestAnimationFrame(() => {
|
|
711
|
-
|
|
794
|
+
ri();
|
|
712
795
|
});
|
|
713
796
|
});
|
|
714
797
|
});
|
|
715
798
|
}
|
|
716
|
-
function
|
|
717
|
-
|
|
718
|
-
let e =
|
|
719
|
-
|
|
799
|
+
function ai() {
|
|
800
|
+
_t();
|
|
801
|
+
let e = gt;
|
|
802
|
+
gt = !1, !e && (z = !0, ii());
|
|
720
803
|
}
|
|
721
|
-
return
|
|
804
|
+
return Ie(k, () => {
|
|
722
805
|
U.value && (X(U.value.getMonth()), Y(U.value.getFullYear()));
|
|
723
|
-
}),
|
|
724
|
-
if (e && t === !1 ?
|
|
725
|
-
$(),
|
|
806
|
+
}), Ie(M, (e, t) => {
|
|
807
|
+
if (e && t === !1 ? Te("open") : !e && t === !0 && Te("close"), e || (rn.value = null), j.value) {
|
|
808
|
+
$(), Vr(0), e ? (document.addEventListener("keydown", Qr, { capture: !0 }), Wr()) : (t && (Wn(), ai()), document.removeEventListener("keydown", Qr, { capture: !0 }));
|
|
726
809
|
return;
|
|
727
810
|
}
|
|
728
|
-
|
|
729
|
-
}),
|
|
730
|
-
e && $(),
|
|
731
|
-
}, { immediate: !0 }),
|
|
732
|
-
$(), document.removeEventListener("keydown",
|
|
733
|
-
}), (e,
|
|
734
|
-
id:
|
|
811
|
+
Un(), e ? (document.addEventListener("keydown", Qr, { capture: !0 }), Vn(), Ur()) : (t && ai(), document.removeEventListener("keydown", Qr, { capture: !0 }), $(), Vr(0));
|
|
812
|
+
}), Ie(j, (e) => {
|
|
813
|
+
e && $(), M.value = !1, e && Vr(0), e ? Wr() : Kr();
|
|
814
|
+
}, { immediate: !0 }), Oe(() => {
|
|
815
|
+
$(), document.removeEventListener("keydown", Qr, { capture: !0 });
|
|
816
|
+
}), (e, t) => (S(), m(u, null, [g(w(s), y({
|
|
817
|
+
id: w(it),
|
|
735
818
|
ref: "field",
|
|
736
|
-
"model-value":
|
|
737
|
-
class: ["q-date-time-picker",
|
|
738
|
-
clearable:
|
|
739
|
-
label:
|
|
740
|
-
"label-position":
|
|
741
|
-
readonly:
|
|
742
|
-
disabled:
|
|
743
|
-
placeholder:
|
|
744
|
-
required:
|
|
745
|
-
size:
|
|
746
|
-
invalid:
|
|
747
|
-
help:
|
|
748
|
-
"help-display":
|
|
749
|
-
icons:
|
|
750
|
-
texts:
|
|
819
|
+
"model-value": N.value,
|
|
820
|
+
class: ["q-date-time-picker", _.class],
|
|
821
|
+
clearable: On.value,
|
|
822
|
+
label: _.label,
|
|
823
|
+
"label-position": _.labelPosition,
|
|
824
|
+
readonly: _.readonly,
|
|
825
|
+
disabled: _.disabled,
|
|
826
|
+
placeholder: lt.value,
|
|
827
|
+
required: _.required,
|
|
828
|
+
size: _.size,
|
|
829
|
+
invalid: w(Vt),
|
|
830
|
+
help: _.help,
|
|
831
|
+
"help-display": _.helpDisplay,
|
|
832
|
+
icons: _.icons,
|
|
833
|
+
texts: _.texts,
|
|
834
|
+
role: st.value ? "combobox" : void 0,
|
|
835
|
+
"aria-haspopup": st.value ? "dialog" : void 0,
|
|
836
|
+
"aria-expanded": st.value ? M.value : void 0,
|
|
837
|
+
"aria-controls": st.value && M.value ? ot.value : void 0
|
|
751
838
|
}, e.$attrs, {
|
|
752
|
-
onBlur:
|
|
753
|
-
"onClick:clear":
|
|
754
|
-
onDrop:
|
|
755
|
-
onFocusin:
|
|
756
|
-
onKeydown:
|
|
757
|
-
"onUpdate:modelValue":
|
|
758
|
-
}),
|
|
759
|
-
prepend:
|
|
760
|
-
errors:
|
|
839
|
+
onBlur: Nr,
|
|
840
|
+
"onClick:clear": kn,
|
|
841
|
+
onDrop: jr,
|
|
842
|
+
onFocusin: Pr,
|
|
843
|
+
onKeydown: Ar,
|
|
844
|
+
"onUpdate:modelValue": _r
|
|
845
|
+
}), Ce({
|
|
846
|
+
prepend: E(() => [g(w(n), y({ class: "q-date-time-picker__input-icon" }, Cn.value), null, 16)]),
|
|
847
|
+
errors: E(() => [w(Ht)() ? Ae(e.$slots, "errors", { key: 0 }) : Bt.value ? (S(), m(u, { key: 1 }, [we(je(Bt.value), 1)], 64)) : p("", !0)]),
|
|
761
848
|
_: 2
|
|
762
|
-
}, [e.$slots.
|
|
763
|
-
name: "
|
|
764
|
-
fn:
|
|
849
|
+
}, [e.$slots.warnings ? {
|
|
850
|
+
name: "warnings",
|
|
851
|
+
fn: E(() => [Ae(e.$slots, "warnings")]),
|
|
765
852
|
key: "0"
|
|
853
|
+
} : void 0, e.$slots.extras ? {
|
|
854
|
+
name: "extras",
|
|
855
|
+
fn: E(() => [Ae(e.$slots, "extras")]),
|
|
856
|
+
key: "1"
|
|
766
857
|
} : void 0]), 1040, [
|
|
767
858
|
"id",
|
|
768
859
|
"model-value",
|
|
@@ -779,400 +870,438 @@ var Pe = {
|
|
|
779
870
|
"help",
|
|
780
871
|
"help-display",
|
|
781
872
|
"icons",
|
|
782
|
-
"texts"
|
|
783
|
-
|
|
873
|
+
"texts",
|
|
874
|
+
"role",
|
|
875
|
+
"aria-haspopup",
|
|
876
|
+
"aria-expanded",
|
|
877
|
+
"aria-controls"
|
|
878
|
+
]), st.value ? (S(), f(w(a), {
|
|
784
879
|
key: 0,
|
|
785
|
-
"model-value":
|
|
786
|
-
anchor:
|
|
787
|
-
inline:
|
|
880
|
+
"model-value": M.value,
|
|
881
|
+
anchor: vt.value?.fieldRef,
|
|
882
|
+
inline: _.inline,
|
|
788
883
|
offset: 8,
|
|
789
884
|
placement: "bottom",
|
|
790
885
|
trigger: "manual",
|
|
791
886
|
arrow: "",
|
|
792
887
|
"non-modal": "",
|
|
793
888
|
spy: "",
|
|
794
|
-
"onUpdate:modelValue":
|
|
889
|
+
"onUpdate:modelValue": Ir
|
|
795
890
|
}, {
|
|
796
|
-
default:
|
|
891
|
+
default: E(() => [h("div", {
|
|
892
|
+
id: ot.value,
|
|
797
893
|
ref: "menu",
|
|
798
|
-
|
|
894
|
+
role: "dialog",
|
|
895
|
+
class: Ee(["q-date-time-picker__menu", { "q-date-time-picker__menu--time-only": j.value }]),
|
|
896
|
+
"aria-label": $t(),
|
|
897
|
+
"aria-labelledby": en.value,
|
|
799
898
|
tabindex: "-1",
|
|
800
|
-
onPointerdownCapture:
|
|
801
|
-
onKeydown:
|
|
802
|
-
}, [
|
|
803
|
-
|
|
804
|
-
I.value === "date" ? (x(), p("div", Pe, [
|
|
805
|
-
f(" Header "),
|
|
806
|
-
m("div", Fe, [
|
|
807
|
-
h(C(a), {
|
|
808
|
-
variant: "ghost",
|
|
809
|
-
disabled: !tn.value,
|
|
810
|
-
title: g.texts.previousMonth,
|
|
811
|
-
onClick: yn
|
|
812
|
-
}, {
|
|
813
|
-
default: T(() => [h(C(t), b(_(g.icons.back)), null, 16)]),
|
|
814
|
-
_: 1
|
|
815
|
-
}, 8, ["disabled", "title"]),
|
|
816
|
-
h(C(a), {
|
|
817
|
-
ref: "monthHeader",
|
|
818
|
-
"data-testid": "q-date-time-picker-month-header",
|
|
819
|
-
variant: "ghost",
|
|
820
|
-
label: Gt(L.value, 3),
|
|
821
|
-
title: g.texts.pickMonth,
|
|
822
|
-
onClick: Er
|
|
823
|
-
}, null, 8, ["label", "title"]),
|
|
824
|
-
h(C(a), {
|
|
825
|
-
ref: "yearHeader",
|
|
826
|
-
"data-testid": "q-date-time-picker-year-header",
|
|
827
|
-
variant: "ghost",
|
|
828
|
-
label: R.value.toString(),
|
|
829
|
-
title: g.texts.pickYear,
|
|
830
|
-
onClick: Dr
|
|
831
|
-
}, null, 8, ["label", "title"]),
|
|
832
|
-
h(C(a), {
|
|
833
|
-
variant: "ghost",
|
|
834
|
-
disabled: !nn.value,
|
|
835
|
-
title: g.texts.nextMonth,
|
|
836
|
-
onClick: bn
|
|
837
|
-
}, {
|
|
838
|
-
default: T(() => [h(C(t), b(_(g.icons.forward)), null, 16)]),
|
|
839
|
-
_: 1
|
|
840
|
-
}, 8, ["disabled", "title"])
|
|
841
|
-
]),
|
|
842
|
-
f(" Days Grid: one Tab stop, and the arrow keys move through the days "),
|
|
843
|
-
m("div", {
|
|
844
|
-
role: "grid",
|
|
845
|
-
class: "q-date-time-picker__grid",
|
|
846
|
-
"aria-label": Lt.value
|
|
847
|
-
}, [
|
|
848
|
-
m("div", Le, [(x(!0), p(l, null, De(Pt.value, (e, t) => (x(), p("div", {
|
|
849
|
-
key: e,
|
|
850
|
-
role: "columnheader",
|
|
851
|
-
class: "q-date-time-picker__weekday",
|
|
852
|
-
"aria-label": It(t)
|
|
853
|
-
}, ke(e), 9, Re))), 128))]),
|
|
854
|
-
f(" eslint-disable-next-line vuejs-accessibility/no-static-element-interactions -- Hover and touch preview of a range; the day buttons inside take the keyboard "),
|
|
855
|
-
m("div", {
|
|
856
|
-
class: "q-date-time-picker__days",
|
|
857
|
-
onMouseleave: pn,
|
|
858
|
-
onFocusout: mn,
|
|
859
|
-
onKeydown: Ht,
|
|
860
|
-
onTouchstartPassive: hn,
|
|
861
|
-
onTouchmovePassive: hn
|
|
862
|
-
}, [(x(!0), p(l, null, De(Ft.value, (e, t) => (x(), p("div", {
|
|
863
|
-
key: t,
|
|
864
|
-
role: "row",
|
|
865
|
-
class: "q-date-time-picker__week"
|
|
866
|
-
}, [(x(!0), p(l, null, De(e, ({ day: e, index: t }) => (x(), d(C(a), {
|
|
867
|
-
key: t,
|
|
868
|
-
role: "gridcell",
|
|
869
|
-
"data-day-index": t,
|
|
870
|
-
class: Te(["q-date-time-picker__day", {
|
|
871
|
-
"q-date-time-picker__day--other-month": !e.isCurrentMonth,
|
|
872
|
-
"q-date-time-picker__day--today": e.isToday,
|
|
873
|
-
"q-date-time-picker__day--selected": e.isSelected,
|
|
874
|
-
"q-date-time-picker__day--in-range": e.isInRange,
|
|
875
|
-
"q-date-time-picker__day--range-start": e.isRangeStart,
|
|
876
|
-
"q-date-time-picker__day--range-end": e.isRangeEnd
|
|
877
|
-
}]),
|
|
878
|
-
label: e.date.getDate().toString(),
|
|
879
|
-
"aria-label": Rt(e.date),
|
|
880
|
-
"aria-selected": e.isSelected || e.isInRange || e.isRangeEnd,
|
|
881
|
-
"aria-current": e.isToday ? "date" : void 0,
|
|
882
|
-
tabindex: t === Bt.value ? 0 : -1,
|
|
883
|
-
variant: _r(e),
|
|
884
|
-
disabled: e.isDisabled,
|
|
885
|
-
onMouseenter: () => fn(e.date),
|
|
886
|
-
onFocus: () => fn(e.date),
|
|
887
|
-
onClick: () => gn(e.date)
|
|
888
|
-
}, null, 8, [
|
|
889
|
-
"data-day-index",
|
|
890
|
-
"class",
|
|
891
|
-
"label",
|
|
892
|
-
"aria-label",
|
|
893
|
-
"aria-selected",
|
|
894
|
-
"aria-current",
|
|
895
|
-
"tabindex",
|
|
896
|
-
"variant",
|
|
897
|
-
"disabled",
|
|
898
|
-
"onMouseenter",
|
|
899
|
-
"onFocus",
|
|
900
|
-
"onClick"
|
|
901
|
-
]))), 128))]))), 128))], 32)
|
|
902
|
-
], 8, Ie)
|
|
903
|
-
], 512)) : I.value === "time" ? (x(), p(l, { key: 1 }, [f(" Time View "), m("div", ze, [(x(!0), p(l, null, De(g.range ? 2 : 1, (e) => (x(), p("div", {
|
|
904
|
-
key: e,
|
|
905
|
-
class: "q-date-time-picker__time-group",
|
|
906
|
-
role: g.range ? "group" : void 0,
|
|
907
|
-
"aria-label": g.range ? e === 1 ? g.texts.startTime : g.texts.endTime : void 0
|
|
908
|
-
}, [
|
|
909
|
-
j.value ? (x(), p("div", Ve, [h(C(ie), {
|
|
910
|
-
"model-value": An(e - 1),
|
|
911
|
-
"show-state-labels": "",
|
|
912
|
-
size: "small",
|
|
913
|
-
"aria-label": g.texts.pm,
|
|
914
|
-
"false-label": g.texts.am,
|
|
915
|
-
"true-label": g.texts.pm,
|
|
916
|
-
"onUpdate:modelValue": (t) => Kn(t ?? !1, e - 1)
|
|
917
|
-
}, null, 8, [
|
|
918
|
-
"model-value",
|
|
919
|
-
"aria-label",
|
|
920
|
-
"false-label",
|
|
921
|
-
"true-label",
|
|
922
|
-
"onUpdate:modelValue"
|
|
923
|
-
])])) : f("v-if", !0),
|
|
924
|
-
f(" Time Inputs "),
|
|
925
|
-
m("div", He, [
|
|
926
|
-
m("div", Ue, [
|
|
927
|
-
h(C(a), {
|
|
928
|
-
variant: "ghost",
|
|
929
|
-
title: g.texts.increaseHour,
|
|
930
|
-
"aria-label": g.texts.increaseHour,
|
|
931
|
-
onClick: (t) => Mn(e - 1)
|
|
932
|
-
}, {
|
|
933
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.up), null, 16)]),
|
|
934
|
-
_: 1
|
|
935
|
-
}, 8, [
|
|
936
|
-
"title",
|
|
937
|
-
"aria-label",
|
|
938
|
-
"onClick"
|
|
939
|
-
]),
|
|
940
|
-
h(C(o), {
|
|
941
|
-
class: "q-date-time-picker__time-number",
|
|
942
|
-
size: "small",
|
|
943
|
-
inputmode: "numeric",
|
|
944
|
-
icons: g.icons,
|
|
945
|
-
texts: g.texts,
|
|
946
|
-
"max-length": 2,
|
|
947
|
-
"aria-label": g.texts.hours,
|
|
948
|
-
"model-value": C(ge)(Dn(e - 1)),
|
|
949
|
-
onKeydown: (t) => Gn(t, "hours", e - 1),
|
|
950
|
-
"onUpdate:modelValue": (t) => Hn(t, e - 1)
|
|
951
|
-
}, null, 8, [
|
|
952
|
-
"icons",
|
|
953
|
-
"texts",
|
|
954
|
-
"aria-label",
|
|
955
|
-
"model-value",
|
|
956
|
-
"onKeydown",
|
|
957
|
-
"onUpdate:modelValue"
|
|
958
|
-
]),
|
|
959
|
-
h(C(a), {
|
|
960
|
-
variant: "ghost",
|
|
961
|
-
title: g.texts.decreaseHour,
|
|
962
|
-
"aria-label": g.texts.decreaseHour,
|
|
963
|
-
onClick: (t) => Nn(e - 1)
|
|
964
|
-
}, {
|
|
965
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.down), null, 16)]),
|
|
966
|
-
_: 1
|
|
967
|
-
}, 8, [
|
|
968
|
-
"title",
|
|
969
|
-
"aria-label",
|
|
970
|
-
"onClick"
|
|
971
|
-
])
|
|
972
|
-
]),
|
|
973
|
-
n[1] ||= m("div", { class: "q-date-time-picker__time-separator" }, ":", -1),
|
|
974
|
-
m("div", We, [
|
|
975
|
-
h(C(a), {
|
|
976
|
-
variant: "ghost",
|
|
977
|
-
title: g.texts.increaseMinute,
|
|
978
|
-
"aria-label": g.texts.increaseMinute,
|
|
979
|
-
onClick: (t) => Pn(e - 1)
|
|
980
|
-
}, {
|
|
981
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.up), null, 16)]),
|
|
982
|
-
_: 1
|
|
983
|
-
}, 8, [
|
|
984
|
-
"title",
|
|
985
|
-
"aria-label",
|
|
986
|
-
"onClick"
|
|
987
|
-
]),
|
|
988
|
-
h(C(o), {
|
|
989
|
-
class: "q-date-time-picker__time-number",
|
|
990
|
-
size: "small",
|
|
991
|
-
inputmode: "numeric",
|
|
992
|
-
icons: g.icons,
|
|
993
|
-
texts: g.texts,
|
|
994
|
-
"max-length": 2,
|
|
995
|
-
"aria-label": g.texts.minutes,
|
|
996
|
-
"model-value": C(ge)(On(e - 1)),
|
|
997
|
-
onKeydown: (t) => Gn(t, "minutes", e - 1),
|
|
998
|
-
"onUpdate:modelValue": (t) => Un(t, e - 1)
|
|
999
|
-
}, null, 8, [
|
|
1000
|
-
"icons",
|
|
1001
|
-
"texts",
|
|
1002
|
-
"aria-label",
|
|
1003
|
-
"model-value",
|
|
1004
|
-
"onKeydown",
|
|
1005
|
-
"onUpdate:modelValue"
|
|
1006
|
-
]),
|
|
1007
|
-
h(C(a), {
|
|
1008
|
-
variant: "ghost",
|
|
1009
|
-
title: g.texts.decreaseMinute,
|
|
1010
|
-
"aria-label": g.texts.decreaseMinute,
|
|
1011
|
-
onClick: (t) => Fn(e - 1)
|
|
1012
|
-
}, {
|
|
1013
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.down), null, 16)]),
|
|
1014
|
-
_: 1
|
|
1015
|
-
}, 8, [
|
|
1016
|
-
"title",
|
|
1017
|
-
"aria-label",
|
|
1018
|
-
"onClick"
|
|
1019
|
-
])
|
|
1020
|
-
]),
|
|
1021
|
-
nt.value ? (x(), p(l, { key: 0 }, [n[0] ||= m("div", { class: "q-date-time-picker__time-separator" }, ":", -1), m("div", Ge, [
|
|
1022
|
-
h(C(a), {
|
|
1023
|
-
variant: "ghost",
|
|
1024
|
-
title: g.texts.increaseSecond,
|
|
1025
|
-
"aria-label": g.texts.increaseSecond,
|
|
1026
|
-
onClick: (t) => In(e - 1)
|
|
1027
|
-
}, {
|
|
1028
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.up), null, 16)]),
|
|
1029
|
-
_: 1
|
|
1030
|
-
}, 8, [
|
|
1031
|
-
"title",
|
|
1032
|
-
"aria-label",
|
|
1033
|
-
"onClick"
|
|
1034
|
-
]),
|
|
1035
|
-
h(C(o), {
|
|
1036
|
-
class: "q-date-time-picker__time-number",
|
|
1037
|
-
size: "small",
|
|
1038
|
-
inputmode: "numeric",
|
|
1039
|
-
icons: g.icons,
|
|
1040
|
-
texts: g.texts,
|
|
1041
|
-
"max-length": 2,
|
|
1042
|
-
"aria-label": g.texts.seconds,
|
|
1043
|
-
"model-value": C(ge)(kn(e - 1)),
|
|
1044
|
-
onKeydown: (t) => Gn(t, "seconds", e - 1),
|
|
1045
|
-
"onUpdate:modelValue": (t) => Wn(t, e - 1)
|
|
1046
|
-
}, null, 8, [
|
|
1047
|
-
"icons",
|
|
1048
|
-
"texts",
|
|
1049
|
-
"aria-label",
|
|
1050
|
-
"model-value",
|
|
1051
|
-
"onKeydown",
|
|
1052
|
-
"onUpdate:modelValue"
|
|
1053
|
-
]),
|
|
1054
|
-
h(C(a), {
|
|
1055
|
-
variant: "ghost",
|
|
1056
|
-
title: g.texts.decreaseSecond,
|
|
1057
|
-
"aria-label": g.texts.decreaseSecond,
|
|
1058
|
-
onClick: (t) => Ln(e - 1)
|
|
1059
|
-
}, {
|
|
1060
|
-
default: T(() => [h(C(t), v({ ref_for: !0 }, g.icons.down), null, 16)]),
|
|
1061
|
-
_: 1
|
|
1062
|
-
}, 8, [
|
|
1063
|
-
"title",
|
|
1064
|
-
"aria-label",
|
|
1065
|
-
"onClick"
|
|
1066
|
-
])
|
|
1067
|
-
])], 64)) : f("v-if", !0)
|
|
1068
|
-
])
|
|
1069
|
-
], 8, Be))), 128))])], 2112)) : I.value === "month" ? (x(), p(l, { key: 2 }, [f(" Month View "), m("div", Ke, [(x(!0), p(l, null, De(Wt.value, (e, t) => (x(), d(C(a), {
|
|
1070
|
-
key: t,
|
|
1071
|
-
ref_for: !0,
|
|
1072
|
-
ref: (e) => vt(e, t),
|
|
1073
|
-
"data-testid": "q-date-time-picker-month-option",
|
|
1074
|
-
"data-month-index": t,
|
|
1075
|
-
"aria-disabled": L.value === t || void 0,
|
|
1076
|
-
label: e,
|
|
1077
|
-
title: Gt(t),
|
|
899
|
+
onPointerdownCapture: Or,
|
|
900
|
+
onKeydown: Mr
|
|
901
|
+
}, [F.value === "date" ? (S(), m("div", Re, [h("div", ze, [
|
|
902
|
+
g(w(o), {
|
|
1078
903
|
variant: "ghost",
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
904
|
+
disabled: jt("previousMonth", bn.value),
|
|
905
|
+
"aria-disabled": !bn.value || void 0,
|
|
906
|
+
title: _.texts.previousMonth,
|
|
907
|
+
onFocus: t[0] ||= (e) => H.value = "previousMonth",
|
|
908
|
+
onBlur: t[1] ||= (e) => H.value = null,
|
|
909
|
+
onClick: Rn
|
|
910
|
+
}, {
|
|
911
|
+
default: E(() => [g(w(n), x(v(_.icons.back)), null, 16)]),
|
|
912
|
+
_: 1
|
|
913
|
+
}, 8, [
|
|
914
|
+
"disabled",
|
|
1082
915
|
"aria-disabled",
|
|
1083
|
-
"
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
916
|
+
"title"
|
|
917
|
+
]),
|
|
918
|
+
g(w(o), {
|
|
919
|
+
ref: "monthHeader",
|
|
920
|
+
"data-testid": "q-date-time-picker-month-header",
|
|
921
|
+
variant: "ghost",
|
|
922
|
+
label: un(I.value, 3),
|
|
923
|
+
title: _.texts.pickMonth,
|
|
924
|
+
onClick: Yr
|
|
925
|
+
}, null, 8, ["label", "title"]),
|
|
926
|
+
g(w(o), {
|
|
927
|
+
ref: "yearHeader",
|
|
928
|
+
"data-testid": "q-date-time-picker-year-header",
|
|
929
|
+
variant: "ghost",
|
|
930
|
+
label: L.value.toString(),
|
|
931
|
+
title: _.texts.pickYear,
|
|
932
|
+
onClick: Xr
|
|
933
|
+
}, null, 8, ["label", "title"]),
|
|
934
|
+
g(w(o), {
|
|
935
|
+
variant: "ghost",
|
|
936
|
+
disabled: jt("nextMonth", xn.value),
|
|
937
|
+
"aria-disabled": !xn.value || void 0,
|
|
938
|
+
title: _.texts.nextMonth,
|
|
939
|
+
onFocus: t[2] ||= (e) => H.value = "nextMonth",
|
|
940
|
+
onBlur: t[3] ||= (e) => H.value = null,
|
|
941
|
+
onClick: zn
|
|
942
|
+
}, {
|
|
943
|
+
default: E(() => [g(w(n), x(v(_.icons.forward)), null, 16)]),
|
|
944
|
+
_: 1
|
|
945
|
+
}, 8, [
|
|
946
|
+
"disabled",
|
|
947
|
+
"aria-disabled",
|
|
948
|
+
"title"
|
|
949
|
+
])
|
|
950
|
+
]), h("div", {
|
|
951
|
+
role: "grid",
|
|
952
|
+
class: "q-date-time-picker__grid",
|
|
953
|
+
"aria-label": tn.value,
|
|
954
|
+
"aria-multiselectable": _.range || void 0
|
|
955
|
+
}, [h("div", Ve, [(S(!0), m(u, null, ke(Kt.value, (e, t) => (S(), m("div", {
|
|
956
|
+
key: e,
|
|
957
|
+
role: "columnheader",
|
|
958
|
+
class: "q-date-time-picker__weekday",
|
|
959
|
+
"aria-label": Zt(t)
|
|
960
|
+
}, je(e), 9, He))), 128))]), h("div", {
|
|
961
|
+
class: "q-date-time-picker__days",
|
|
962
|
+
style: De(Jt.value),
|
|
963
|
+
onMouseleave: jn,
|
|
964
|
+
onFocusout: Mn,
|
|
965
|
+
onKeydown: sn,
|
|
966
|
+
onTouchstartPassive: Nn,
|
|
967
|
+
onTouchmovePassive: Nn
|
|
968
|
+
}, [(S(!0), m(u, null, ke(Yt.value, (e, t) => (S(), m("div", {
|
|
969
|
+
key: t,
|
|
970
|
+
role: "row",
|
|
971
|
+
class: Ee(["q-date-time-picker__week", { "q-date-time-picker__week--band": e.band }]),
|
|
972
|
+
style: De(e.band && {
|
|
973
|
+
"--q-date-band-start": e.band.start,
|
|
974
|
+
"--q-date-band-end": e.band.end
|
|
975
|
+
})
|
|
976
|
+
}, [(S(!0), m(u, null, ke(e.days, ({ day: e, index: t }) => (S(), f(w(o), {
|
|
977
|
+
key: t,
|
|
978
|
+
role: "gridcell",
|
|
979
|
+
"data-day-index": t,
|
|
980
|
+
class: Ee(["q-date-time-picker__day", {
|
|
981
|
+
"q-date-time-picker__day--other-month": !e.isCurrentMonth,
|
|
982
|
+
"q-date-time-picker__day--today": e.isToday,
|
|
983
|
+
"q-date-time-picker__day--selected": e.isSelected,
|
|
984
|
+
"q-date-time-picker__day--in-range": e.isInRange,
|
|
985
|
+
"q-date-time-picker__day--range-start": e.isRangeStart,
|
|
986
|
+
"q-date-time-picker__day--range-end": e.isRangeEnd
|
|
987
|
+
}]),
|
|
988
|
+
label: e.date.getDate().toString(),
|
|
989
|
+
"aria-label": nn(e.date),
|
|
990
|
+
"aria-selected": Qt(e.date),
|
|
991
|
+
"aria-current": e.isToday ? "date" : void 0,
|
|
992
|
+
tabindex: t === an.value ? 0 : -1,
|
|
993
|
+
variant: Br(e),
|
|
994
|
+
disabled: e.isDisabled,
|
|
995
|
+
onMouseenter: () => An(e.date),
|
|
996
|
+
onFocus: () => An(e.date),
|
|
997
|
+
onClick: () => Pn(e.date)
|
|
998
|
+
}, null, 8, [
|
|
999
|
+
"data-day-index",
|
|
1000
|
+
"class",
|
|
1001
|
+
"label",
|
|
1002
|
+
"aria-label",
|
|
1003
|
+
"aria-selected",
|
|
1004
|
+
"aria-current",
|
|
1005
|
+
"tabindex",
|
|
1006
|
+
"variant",
|
|
1007
|
+
"disabled",
|
|
1008
|
+
"onMouseenter",
|
|
1009
|
+
"onFocus",
|
|
1010
|
+
"onClick"
|
|
1011
|
+
]))), 128))], 6))), 128))], 36)], 8, Be)], 512)) : F.value === "time" ? (S(), m("div", Ue, [(S(!0), m(u, null, ke(_.range ? 2 : 1, (e) => (S(), m("div", {
|
|
1012
|
+
key: e,
|
|
1013
|
+
class: "q-date-time-picker__time-group",
|
|
1014
|
+
role: _.range ? "group" : void 0,
|
|
1015
|
+
"aria-label": _.range ? e === 1 ? _.texts.startTime : _.texts.endTime : void 0
|
|
1016
|
+
}, [A.value ? (S(), m("div", Ge, [g(w(oe), {
|
|
1017
|
+
"model-value": Yn(e - 1),
|
|
1018
|
+
"show-state-labels": "",
|
|
1019
|
+
size: "small",
|
|
1020
|
+
"aria-label": _.texts.pm,
|
|
1021
|
+
"false-label": _.texts.am,
|
|
1022
|
+
"true-label": _.texts.pm,
|
|
1023
|
+
"onUpdate:modelValue": (t) => hr(t ?? !1, e - 1)
|
|
1024
|
+
}, null, 8, [
|
|
1025
|
+
"model-value",
|
|
1026
|
+
"aria-label",
|
|
1027
|
+
"false-label",
|
|
1028
|
+
"true-label",
|
|
1029
|
+
"onUpdate:modelValue"
|
|
1030
|
+
])])) : p("", !0), h("div", Ke, [
|
|
1031
|
+
h("div", qe, [
|
|
1032
|
+
g(w(o), {
|
|
1088
1033
|
variant: "ghost",
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
onClick:
|
|
1034
|
+
title: _.texts.increaseHour,
|
|
1035
|
+
"aria-label": _.texts.increaseHour,
|
|
1036
|
+
onClick: (t) => Zn(e - 1)
|
|
1092
1037
|
}, {
|
|
1093
|
-
default:
|
|
1038
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.up), null, 16)]),
|
|
1094
1039
|
_: 1
|
|
1095
|
-
}, 8, [
|
|
1096
|
-
|
|
1097
|
-
|
|
1040
|
+
}, 8, [
|
|
1041
|
+
"title",
|
|
1042
|
+
"aria-label",
|
|
1043
|
+
"onClick"
|
|
1044
|
+
]),
|
|
1045
|
+
g(w(s), {
|
|
1046
|
+
class: "q-date-time-picker__time-number",
|
|
1047
|
+
size: "small",
|
|
1048
|
+
inputmode: "numeric",
|
|
1049
|
+
icons: _.icons,
|
|
1050
|
+
texts: _.texts,
|
|
1051
|
+
"max-length": 2,
|
|
1052
|
+
"aria-label": _.texts.hours,
|
|
1053
|
+
"model-value": dr("hours", e - 1),
|
|
1054
|
+
onKeydown: (t) => mr(t, "hours", e - 1),
|
|
1055
|
+
onFocusout: (t) => pr(t, "hours", e - 1),
|
|
1056
|
+
"onUpdate:modelValue": (t) => fr(t, "hours", e - 1)
|
|
1057
|
+
}, null, 8, [
|
|
1058
|
+
"icons",
|
|
1059
|
+
"texts",
|
|
1060
|
+
"aria-label",
|
|
1061
|
+
"model-value",
|
|
1062
|
+
"onKeydown",
|
|
1063
|
+
"onFocusout",
|
|
1064
|
+
"onUpdate:modelValue"
|
|
1065
|
+
]),
|
|
1066
|
+
g(w(o), {
|
|
1098
1067
|
variant: "ghost",
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
onClick:
|
|
1068
|
+
title: _.texts.decreaseHour,
|
|
1069
|
+
"aria-label": _.texts.decreaseHour,
|
|
1070
|
+
onClick: (t) => Qn(e - 1)
|
|
1102
1071
|
}, {
|
|
1103
|
-
default:
|
|
1072
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.down), null, 16)]),
|
|
1104
1073
|
_: 1
|
|
1105
|
-
}, 8, [
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
title: e,
|
|
1115
|
-
variant: "ghost",
|
|
1116
|
-
onClick: () => vn(e)
|
|
1117
|
-
}, null, 8, [
|
|
1118
|
-
"data-year",
|
|
1119
|
-
"aria-disabled",
|
|
1120
|
-
"label",
|
|
1121
|
-
"title",
|
|
1122
|
-
"onClick"
|
|
1123
|
-
]))), 128))])])], 2112)) : f("v-if", !0),
|
|
1124
|
-
m("div", Ze, [
|
|
1125
|
-
M.value ? f("v-if", !0) : (x(), d(C(a), {
|
|
1126
|
-
key: 0,
|
|
1074
|
+
}, 8, [
|
|
1075
|
+
"title",
|
|
1076
|
+
"aria-label",
|
|
1077
|
+
"onClick"
|
|
1078
|
+
])
|
|
1079
|
+
]),
|
|
1080
|
+
t[11] ||= h("div", { class: "q-date-time-picker__time-separator" }, ":", -1),
|
|
1081
|
+
h("div", Je, [
|
|
1082
|
+
g(w(o), {
|
|
1127
1083
|
variant: "ghost",
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
onClick:
|
|
1084
|
+
title: _.texts.increaseMinute,
|
|
1085
|
+
"aria-label": _.texts.increaseMinute,
|
|
1086
|
+
onClick: (t) => $n(e - 1)
|
|
1131
1087
|
}, {
|
|
1132
|
-
default:
|
|
1088
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.up), null, 16)]),
|
|
1133
1089
|
_: 1
|
|
1134
|
-
}, 8, [
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1090
|
+
}, 8, [
|
|
1091
|
+
"title",
|
|
1092
|
+
"aria-label",
|
|
1093
|
+
"onClick"
|
|
1094
|
+
]),
|
|
1095
|
+
g(w(s), {
|
|
1096
|
+
class: "q-date-time-picker__time-number",
|
|
1097
|
+
size: "small",
|
|
1098
|
+
inputmode: "numeric",
|
|
1099
|
+
icons: _.icons,
|
|
1100
|
+
texts: _.texts,
|
|
1101
|
+
"max-length": 2,
|
|
1102
|
+
"aria-label": _.texts.minutes,
|
|
1103
|
+
"model-value": dr("minutes", e - 1),
|
|
1104
|
+
onKeydown: (t) => mr(t, "minutes", e - 1),
|
|
1105
|
+
onFocusout: (t) => pr(t, "minutes", e - 1),
|
|
1106
|
+
"onUpdate:modelValue": (t) => fr(t, "minutes", e - 1)
|
|
1107
|
+
}, null, 8, [
|
|
1108
|
+
"icons",
|
|
1109
|
+
"texts",
|
|
1110
|
+
"aria-label",
|
|
1111
|
+
"model-value",
|
|
1112
|
+
"onKeydown",
|
|
1113
|
+
"onFocusout",
|
|
1114
|
+
"onUpdate:modelValue"
|
|
1115
|
+
]),
|
|
1116
|
+
g(w(o), {
|
|
1139
1117
|
variant: "ghost",
|
|
1140
|
-
title:
|
|
1141
|
-
|
|
1118
|
+
title: _.texts.decreaseMinute,
|
|
1119
|
+
"aria-label": _.texts.decreaseMinute,
|
|
1120
|
+
onClick: (t) => er(e - 1)
|
|
1142
1121
|
}, {
|
|
1143
|
-
default:
|
|
1122
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.down), null, 16)]),
|
|
1144
1123
|
_: 1
|
|
1145
|
-
}, 8, [
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
"
|
|
1124
|
+
}, 8, [
|
|
1125
|
+
"title",
|
|
1126
|
+
"aria-label",
|
|
1127
|
+
"onClick"
|
|
1128
|
+
])
|
|
1129
|
+
]),
|
|
1130
|
+
dt.value ? (S(), m(u, { key: 0 }, [t[10] ||= h("div", { class: "q-date-time-picker__time-separator" }, ":", -1), h("div", Ye, [
|
|
1131
|
+
g(w(o), {
|
|
1149
1132
|
variant: "ghost",
|
|
1150
|
-
title:
|
|
1151
|
-
|
|
1133
|
+
title: _.texts.increaseSecond,
|
|
1134
|
+
"aria-label": _.texts.increaseSecond,
|
|
1135
|
+
onClick: (t) => tr(e - 1)
|
|
1152
1136
|
}, {
|
|
1153
|
-
default:
|
|
1137
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.up), null, 16)]),
|
|
1154
1138
|
_: 1
|
|
1155
|
-
}, 8, [
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
"
|
|
1139
|
+
}, 8, [
|
|
1140
|
+
"title",
|
|
1141
|
+
"aria-label",
|
|
1142
|
+
"onClick"
|
|
1143
|
+
]),
|
|
1144
|
+
g(w(s), {
|
|
1145
|
+
class: "q-date-time-picker__time-number",
|
|
1146
|
+
size: "small",
|
|
1147
|
+
inputmode: "numeric",
|
|
1148
|
+
icons: _.icons,
|
|
1149
|
+
texts: _.texts,
|
|
1150
|
+
"max-length": 2,
|
|
1151
|
+
"aria-label": _.texts.seconds,
|
|
1152
|
+
"model-value": dr("seconds", e - 1),
|
|
1153
|
+
onKeydown: (t) => mr(t, "seconds", e - 1),
|
|
1154
|
+
onFocusout: (t) => pr(t, "seconds", e - 1),
|
|
1155
|
+
"onUpdate:modelValue": (t) => fr(t, "seconds", e - 1)
|
|
1156
|
+
}, null, 8, [
|
|
1157
|
+
"icons",
|
|
1158
|
+
"texts",
|
|
1159
|
+
"aria-label",
|
|
1160
|
+
"model-value",
|
|
1161
|
+
"onKeydown",
|
|
1162
|
+
"onFocusout",
|
|
1163
|
+
"onUpdate:modelValue"
|
|
1164
|
+
]),
|
|
1165
|
+
g(w(o), {
|
|
1159
1166
|
variant: "ghost",
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
onClick:
|
|
1167
|
+
title: _.texts.decreaseSecond,
|
|
1168
|
+
"aria-label": _.texts.decreaseSecond,
|
|
1169
|
+
onClick: (t) => nr(e - 1)
|
|
1163
1170
|
}, {
|
|
1164
|
-
default:
|
|
1171
|
+
default: E(() => [g(w(n), y({ ref_for: !0 }, _.icons.down), null, 16)]),
|
|
1165
1172
|
_: 1
|
|
1166
|
-
}, 8, [
|
|
1173
|
+
}, 8, [
|
|
1174
|
+
"title",
|
|
1175
|
+
"aria-label",
|
|
1176
|
+
"onClick"
|
|
1177
|
+
])
|
|
1178
|
+
])], 64)) : p("", !0)
|
|
1179
|
+
])], 8, We))), 128))])) : F.value === "month" ? (S(), m("div", Xe, [(S(!0), m(u, null, ke(ln.value, (e, t) => (S(), f(w(o), {
|
|
1180
|
+
key: t,
|
|
1181
|
+
ref_for: !0,
|
|
1182
|
+
ref: (e) => Dt(e, t),
|
|
1183
|
+
"data-testid": "q-date-time-picker-month-option",
|
|
1184
|
+
"data-month-index": t,
|
|
1185
|
+
"aria-current": I.value === t || void 0,
|
|
1186
|
+
label: e,
|
|
1187
|
+
title: un(t),
|
|
1188
|
+
variant: "ghost",
|
|
1189
|
+
onClick: () => In(t)
|
|
1190
|
+
}, null, 8, [
|
|
1191
|
+
"data-month-index",
|
|
1192
|
+
"aria-current",
|
|
1193
|
+
"label",
|
|
1194
|
+
"title",
|
|
1195
|
+
"onClick"
|
|
1196
|
+
]))), 128))])) : F.value === "year" ? (S(), m("div", Ze, [h("div", Qe, [
|
|
1197
|
+
g(w(o), {
|
|
1198
|
+
variant: "ghost",
|
|
1199
|
+
disabled: jt("previousYears", gn.value),
|
|
1200
|
+
"aria-disabled": !gn.value || void 0,
|
|
1201
|
+
title: _.texts.previousYears,
|
|
1202
|
+
onFocus: t[4] ||= (e) => H.value = "previousYears",
|
|
1203
|
+
onBlur: t[5] ||= (e) => H.value = null,
|
|
1204
|
+
onClick: pn
|
|
1205
|
+
}, {
|
|
1206
|
+
default: E(() => [g(w(n), x(v(_.icons.back)), null, 16)]),
|
|
1207
|
+
_: 1
|
|
1208
|
+
}, 8, [
|
|
1209
|
+
"disabled",
|
|
1210
|
+
"aria-disabled",
|
|
1211
|
+
"title"
|
|
1212
|
+
]),
|
|
1213
|
+
h("div", $e, je(hn.value.startYear) + " - " + je(hn.value.endYear), 1),
|
|
1214
|
+
g(w(o), {
|
|
1215
|
+
variant: "ghost",
|
|
1216
|
+
disabled: jt("nextYears", _n.value),
|
|
1217
|
+
"aria-disabled": !_n.value || void 0,
|
|
1218
|
+
title: _.texts.nextYears,
|
|
1219
|
+
onFocus: t[6] ||= (e) => H.value = "nextYears",
|
|
1220
|
+
onBlur: t[7] ||= (e) => H.value = null,
|
|
1221
|
+
onClick: mn
|
|
1222
|
+
}, {
|
|
1223
|
+
default: E(() => [g(w(n), x(v(_.icons.forward)), null, 16)]),
|
|
1224
|
+
_: 1
|
|
1225
|
+
}, 8, [
|
|
1226
|
+
"disabled",
|
|
1227
|
+
"aria-disabled",
|
|
1228
|
+
"title"
|
|
1167
1229
|
])
|
|
1168
|
-
],
|
|
1230
|
+
]), h("div", et, [(S(!0), m(u, null, ke(Sn.value, (e, t) => (S(), f(w(o), {
|
|
1231
|
+
key: t,
|
|
1232
|
+
ref_for: !0,
|
|
1233
|
+
ref: (t) => Ot(t, e),
|
|
1234
|
+
"data-testid": "q-date-time-picker-year-option",
|
|
1235
|
+
"data-year": e,
|
|
1236
|
+
"aria-current": L.value === e || void 0,
|
|
1237
|
+
label: e.toString(),
|
|
1238
|
+
title: e,
|
|
1239
|
+
variant: "ghost",
|
|
1240
|
+
onClick: () => Ln(e)
|
|
1241
|
+
}, null, 8, [
|
|
1242
|
+
"data-year",
|
|
1243
|
+
"aria-current",
|
|
1244
|
+
"label",
|
|
1245
|
+
"title",
|
|
1246
|
+
"onClick"
|
|
1247
|
+
]))), 128))])])) : p("", !0), h("div", tt, [
|
|
1248
|
+
j.value ? p("", !0) : (S(), f(w(o), {
|
|
1249
|
+
key: 0,
|
|
1250
|
+
variant: "ghost",
|
|
1251
|
+
disabled: jt("today", !ft.value),
|
|
1252
|
+
"aria-disabled": ft.value || void 0,
|
|
1253
|
+
title: _.texts.today,
|
|
1254
|
+
onFocus: t[8] ||= (e) => H.value = "today",
|
|
1255
|
+
onBlur: t[9] ||= (e) => H.value = null,
|
|
1256
|
+
onClick: Bn
|
|
1257
|
+
}, {
|
|
1258
|
+
default: E(() => [g(w(n), x(v(_.icons.today)), null, 16)]),
|
|
1259
|
+
_: 1
|
|
1260
|
+
}, 8, [
|
|
1261
|
+
"disabled",
|
|
1262
|
+
"aria-disabled",
|
|
1263
|
+
"title"
|
|
1264
|
+
])),
|
|
1265
|
+
ut.value && F.value === "date" ? (S(), f(w(o), {
|
|
1266
|
+
key: 1,
|
|
1267
|
+
ref: "toggleTime",
|
|
1268
|
+
"data-testid": "q-date-time-picker-toggle-time",
|
|
1269
|
+
variant: "ghost",
|
|
1270
|
+
title: _.texts.pickTime,
|
|
1271
|
+
onClick: Gr
|
|
1272
|
+
}, {
|
|
1273
|
+
default: E(() => [g(w(n), x(v(_.icons.clock)), null, 16)]),
|
|
1274
|
+
_: 1
|
|
1275
|
+
}, 8, ["title"])) : F.value !== "date" && !j.value ? (S(), f(w(o), {
|
|
1276
|
+
key: 2,
|
|
1277
|
+
ref: "toggleDate",
|
|
1278
|
+
"data-testid": "q-date-time-picker-toggle-date",
|
|
1279
|
+
variant: "ghost",
|
|
1280
|
+
title: _.texts.pickDate,
|
|
1281
|
+
onClick: Jr
|
|
1282
|
+
}, {
|
|
1283
|
+
default: E(() => [g(w(n), x(v(_.icons.calendar)), null, 16)]),
|
|
1284
|
+
_: 1
|
|
1285
|
+
}, 8, ["title"])) : p("", !0),
|
|
1286
|
+
_.clearable ? (S(), f(w(o), {
|
|
1287
|
+
key: 3,
|
|
1288
|
+
"data-testid": "q-date-time-picker-clear",
|
|
1289
|
+
variant: "ghost",
|
|
1290
|
+
disabled: !On.value,
|
|
1291
|
+
title: _.texts.clearValue,
|
|
1292
|
+
onClick: kn
|
|
1293
|
+
}, {
|
|
1294
|
+
default: E(() => [g(w(n), x(v(_.icons.delete)), null, 16)]),
|
|
1295
|
+
_: 1
|
|
1296
|
+
}, 8, ["disabled", "title"])) : p("", !0)
|
|
1297
|
+
])], 42, Le)]),
|
|
1169
1298
|
_: 1
|
|
1170
1299
|
}, 8, [
|
|
1171
1300
|
"model-value",
|
|
1172
1301
|
"anchor",
|
|
1173
1302
|
"inline"
|
|
1174
|
-
])) :
|
|
1303
|
+
])) : p("", !0)], 64));
|
|
1175
1304
|
}
|
|
1176
1305
|
});
|
|
1177
1306
|
//#endregion
|
|
1178
|
-
export {
|
|
1307
|
+
export { rt as default };
|