@onereach/ui-components 4.6.0 → 4.6.1-beta.2760.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrDateTimePickerMonthSelect-75089f80.js → OrDateTimePickerMonthSelect-0072ef90.js} +0 -7
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-7c87f38a.js → OrDateTimePickerPopoverHeader-aab75fad.js} +0 -2
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-3d0ef650.js → OrDateTimePickerTimeSelect-7ce94b9a.js} +0 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +30 -47
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +19 -10
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +1 -0
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +2 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +2 -1
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +27 -51
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +18 -36
- package/dist/bundled/v2/components/OrConfirmV3/index.js +1 -0
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +4 -4
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +3 -2
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +6 -6
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +4 -3
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +2 -1
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +2 -1
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +2 -1
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +2 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +2 -1
- package/dist/bundled/v2/components/OrInputV3/index.js +2 -1
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +26 -53
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +13 -16
- package/dist/bundled/v2/components/OrMenuV3/index.js +1 -0
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +216 -64
- package/dist/bundled/v2/components/OrModalV3/OrModal.vue.d.ts +13 -19
- package/dist/bundled/v2/components/OrModalV3/index.js +9 -8
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +0 -3
- package/dist/bundled/v2/components/OrModalV3/styles.js +1 -16
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +2 -1
- package/dist/bundled/v2/components/OrNotificationV3/index.js +2 -1
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -0
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -0
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +29 -95
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +17 -12
- package/dist/bundled/v2/components/OrPopoverV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +1 -0
- package/dist/bundled/v2/components/OrSearchV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +1 -0
- package/dist/bundled/v2/components/OrSelectV3/index.js +1 -0
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +1 -0
- package/dist/bundled/v2/components/OrSidebarV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +1 -0
- package/dist/bundled/v2/components/OrTabsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +2 -1
- package/dist/bundled/v2/components/OrTagV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +1 -0
- package/dist/bundled/v2/components/OrTagsV3/index.js +1 -0
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +4 -4
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +3 -2
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +1 -0
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +1 -0
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +2 -1
- package/dist/bundled/v2/components/OrToastV3/index.js +2 -1
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +35 -41
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +20 -17
- package/dist/bundled/v2/components/OrTooltipV3/index.js +2 -1
- package/dist/bundled/v2/components/index.js +4 -3
- package/dist/bundled/v2/hooks/index.d.ts +1 -0
- package/dist/bundled/v2/hooks/index.js +1 -0
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +8 -0
- package/dist/bundled/v2/hooks/usePopoverState.js +37 -0
- package/dist/bundled/v2/index.js +5 -4
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js → OrBottomSheet.vue_vue_type_script_lang-c3a0e7b5.js} +27 -44
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-34390dfe.js → OrCardCollection.vue_vue_type_script_lang-1a19b8ba.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-e1390930.js → OrConfirm.vue_vue_type_script_lang-a379bae2.js} +26 -50
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-d071d109.js → OrDatePicker.vue_vue_type_script_lang-ff4f4060.js} +4 -4
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-8aa80833.js → OrDateTimePicker.vue_vue_type_script_lang-610e4408.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-387c2096.js → OrDateTimePickerMonthSelect-1cc50ebb.js} +14 -14
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-f81b902f.js → OrDateTimePickerPopoverHeader-1e3c0ace.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-8bdb97b7.js → OrDateTimePickerTimeSelect-f43e1818.js} +3 -3
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5bba9f3f.js → OrIconButton.vue_vue_type_script_lang-17f98298.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3c6b0958.js → OrInlineInput.vue_vue_type_script_lang-9317d5a9.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js → OrInlineTextarea.vue_vue_type_script_lang-e89beaab.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-6242286b.js → OrInput.vue_vue_type_script_lang-655989d4.js} +1 -1
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-a8e1eb6d.js +66 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-fe580c66.js +158 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-463e1a82.js → OrNotification.vue_vue_type_script_lang-664a7d4d.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdc8d9fb.js → OrPagination.vue_vue_type_script_lang-85cdf374.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-7b1b2488.js → OrPopover.vue_vue_type_script_lang-3592b581.js} +21 -90
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0bcc597c.js → OrSearch.vue_vue_type_script_lang-b402fffd.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-819822b5.js → OrSelect.vue_vue_type_script_lang-3ef33dde.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-f8fc78e3.js → OrSidebar.vue_vue_type_script_lang-9c48413e.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9d4221f1.js → OrTabs.vue_vue_type_script_lang-597d9726.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-09948d1f.js → OrTag.vue_vue_type_script_lang-3a636796.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-71fb4f1d.js → OrTags.vue_vue_type_script_lang-325c7158.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-c52a2a0b.js → OrTimePicker.vue_vue_type_script_lang-d4387a74.js} +4 -4
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-de8c7ff1.js +55 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -5
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +16 -11
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -1
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +11 -10
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +10 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +10 -9
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +16 -34
- package/dist/bundled/v3/components/OrConfirmV3/index.js +7 -6
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +13 -12
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +15 -14
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +10 -9
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +7 -6
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +6 -5
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +8 -7
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +8 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +8 -7
- package/dist/bundled/v3/components/OrInputV3/index.js +7 -6
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +12 -10
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +13 -6
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -3
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +36 -33
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +12 -15
- package/dist/bundled/v3/components/OrModalV3/index.js +15 -14
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +0 -3
- package/dist/bundled/v3/components/OrModalV3/styles.js +1 -16
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +8 -7
- package/dist/bundled/v3/components/OrNotificationV3/index.js +7 -6
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +6 -5
- package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -4
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +8 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +15 -12
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -2
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +8 -7
- package/dist/bundled/v3/components/OrSearchV3/index.js +7 -6
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +9 -8
- package/dist/bundled/v3/components/OrSelectV3/index.js +8 -7
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -6
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -5
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -5
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -4
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +8 -7
- package/dist/bundled/v3/components/OrTagV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +8 -7
- package/dist/bundled/v3/components/OrTagsV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +12 -11
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +8 -7
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -6
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -5
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +6 -5
- package/dist/bundled/v3/components/OrToastV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +13 -9
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -7
- package/dist/bundled/v3/components/OrTooltipV3/index.js +5 -4
- package/dist/bundled/v3/components/index.js +27 -26
- package/dist/bundled/v3/hooks/index.d.ts +1 -0
- package/dist/bundled/v3/hooks/index.js +1 -0
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +8 -0
- package/dist/bundled/v3/hooks/usePopoverState.js +37 -0
- package/dist/bundled/v3/index.js +28 -27
- package/dist/esm/v2/{OrBottomSheet-ffa029ca.js → OrBottomSheet-d766008a.js} +30 -47
- package/dist/esm/v2/{OrCardCollection-e23d4238.js → OrCardCollection-92ae053a.js} +4 -4
- package/dist/esm/v2/{OrConfirm-8ec55f84.js → OrConfirm-be3a54ef.js} +28 -52
- package/dist/esm/v2/{OrDatePicker-b6ebf44a.js → OrDatePicker-da08968e.js} +5 -6
- package/dist/esm/v2/{OrDateTimePicker-85c08b90.js → OrDateTimePicker-3797a712.js} +7 -8
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-e35404a7.js → OrDateTimePickerMonthSelect-3a7cd5e8.js} +3 -10
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-9e49aba0.js → OrDateTimePickerPopoverHeader-b6f8193b.js} +0 -2
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-aed7d33d.js → OrDateTimePickerTimeSelect-e1b6fcf6.js} +0 -2
- package/dist/esm/v2/{OrIconButton-ee747c71.js → OrIconButton-4fdb749c.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-a131caf4.js → OrInlineInput-d5c5d651.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-7cc45396.js → OrInlineTextarea-bbbb2b82.js} +1 -1
- package/dist/esm/v2/{OrInput-8c7b3cce.js → OrInput-166bf64a.js} +1 -1
- package/dist/esm/v2/{OrMenu-8b902c22.js → OrMenu-9bd9f2fd.js} +28 -54
- package/dist/esm/v2/OrModal-79424061.js +309 -0
- package/dist/esm/v2/{OrNotification-16e6d4ff.js → OrNotification-1cc97f8e.js} +1 -1
- package/dist/esm/v2/{OrPagination-36583054.js → OrPagination-43b3bf99.js} +2 -2
- package/dist/esm/v2/{OrPopover-80459663.js → OrPopover-238620ae.js} +30 -96
- package/dist/esm/v2/{OrSearch-5aa8154f.js → OrSearch-4a2cfe75.js} +1 -1
- package/dist/esm/v2/{OrSelect-31d265b9.js → OrSelect-301d2a6b.js} +3 -3
- package/dist/esm/v2/{OrSidebar-14c20b74.js → OrSidebar-83f6add2.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-2efb05f9.js → OrSidebarCollapseButton-357732ba.js} +1 -1
- package/dist/esm/v2/{OrTabs-653258a2.js → OrTabs-419ebf1c.js} +2 -2
- package/dist/esm/v2/{OrTag-6256623c.js → OrTag-a9ca8c34.js} +1 -1
- package/dist/esm/v2/{OrTags-db2608dc.js → OrTags-d2548f30.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-696e29ed.js → OrTimePicker-3fe70b04.js} +5 -6
- package/dist/esm/v2/{OrTooltip-5a6e0f64.js → OrTooltip-e9e967e3.js} +36 -42
- package/dist/esm/v2/components/index.js +28 -27
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +19 -10
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v2/components/or-card-collection-v3/index.js +9 -8
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -36
- package/dist/esm/v2/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v2/components/or-date-picker-v3/index.js +9 -8
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -9
- package/dist/esm/v2/components/or-icon-button-v3/index.js +5 -4
- package/dist/esm/v2/components/or-inline-input-v3/index.js +6 -5
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +6 -5
- package/dist/esm/v2/components/or-input-v3/index.js +6 -5
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +13 -16
- package/dist/esm/v2/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +13 -19
- package/dist/esm/v2/components/or-modal-v3/index.js +11 -10
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +8 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +12 -0
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +0 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +6 -5
- package/dist/esm/v2/components/or-pagination-v3/index.js +5 -4
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +17 -12
- package/dist/esm/v2/components/or-popover-v3/index.js +3 -2
- package/dist/esm/v2/components/or-search-v3/index.js +7 -6
- package/dist/esm/v2/components/or-select-v3/index.js +8 -7
- package/dist/esm/v2/components/or-sidebar-v3/index.js +7 -6
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +6 -5
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -5
- package/dist/esm/v2/components/or-tabs-v3/index.js +5 -4
- package/dist/esm/v2/components/or-tag-v3/index.js +6 -5
- package/dist/esm/v2/components/or-tags-v3/index.js +7 -6
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -7
- package/dist/esm/v2/components/or-toast-v3/index.js +6 -5
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +6 -5
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +20 -17
- package/dist/esm/v2/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v2/hooks/index.d.ts +1 -0
- package/dist/esm/v2/hooks/index.js +1 -0
- package/dist/esm/v2/hooks/usePopoverState.d.ts +8 -0
- package/dist/esm/v2/index.js +28 -27
- package/dist/esm/v2/{types-4a7d24f3.js → types-3d410a76.js} +1 -1
- package/dist/esm/v2/usePopoverState-4cb59ae5.js +37 -0
- package/dist/esm/v3/{OrBottomSheet-5969a217.js → OrBottomSheet-946c14d3.js} +30 -47
- package/dist/esm/v3/{OrCardCollection-d5390215.js → OrCardCollection-7418c761.js} +4 -4
- package/dist/esm/v3/{OrConfirm-fe8617ac.js → OrConfirm-bbc33f51.js} +28 -52
- package/dist/esm/v3/{OrDatePicker-f144d074.js → OrDatePicker-81566ff0.js} +7 -7
- package/dist/esm/v3/{OrDateTimePicker-2214cd85.js → OrDateTimePicker-26155597.js} +9 -9
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-5a7b7b5c.js → OrDateTimePickerMonthSelect-6d328f9c.js} +15 -15
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-042566f4.js → OrDateTimePickerPopoverHeader-6af64e73.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-e404e826.js → OrDateTimePickerTimeSelect-68b76476.js} +3 -3
- package/dist/esm/v3/{OrIconButton-b7217ea5.js → OrIconButton-ce1b5542.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-dcb28ea2.js → OrInlineInput-f6d3ce66.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-88eac437.js → OrInlineTextarea-c3158522.js} +1 -1
- package/dist/esm/v3/{OrInput-af5bb98a.js → OrInput-02821bda.js} +1 -1
- package/dist/esm/v3/{OrMenu-8a53ccf9.js → OrMenu-79312946.js} +28 -53
- package/dist/esm/v3/OrModal-76a06af8.js +224 -0
- package/dist/esm/v3/{OrNotification-09216b8b.js → OrNotification-a699caa8.js} +1 -1
- package/dist/esm/v3/{OrPagination-c6046af4.js → OrPagination-5853e79e.js} +2 -2
- package/dist/esm/v3/{OrPopover-15c2968f.js → OrPopover-bec73a66.js} +25 -93
- package/dist/esm/v3/{OrSearch-ecad7638.js → OrSearch-1333d290.js} +1 -1
- package/dist/esm/v3/{OrSelect-5abcb941.js → OrSelect-53acc3c2.js} +3 -3
- package/dist/esm/v3/{OrSidebar-b7766ba9.js → OrSidebar-a0a0b0c4.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-06681153.js → OrSidebarCollapseButton-c961c428.js} +1 -1
- package/dist/esm/v3/{OrTabs-a2d87627.js → OrTabs-a0da28b8.js} +2 -2
- package/dist/esm/v3/{OrTag-8605e9e6.js → OrTag-8521661a.js} +1 -1
- package/dist/esm/v3/{OrTags-3724ff59.js → OrTags-b677a73b.js} +2 -2
- package/dist/esm/v3/{OrTimePicker-68de86d9.js → OrTimePicker-6825fc88.js} +7 -7
- package/dist/esm/v3/{OrTooltip-3d5fcaf9.js → OrTooltip-54c18e36.js} +28 -42
- package/dist/esm/v3/components/index.js +28 -27
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +16 -11
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +2 -1
- package/dist/esm/v3/components/or-card-collection-v3/index.js +9 -8
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +16 -34
- package/dist/esm/v3/components/or-confirm-v3/index.js +7 -6
- package/dist/esm/v3/components/or-date-picker-v3/index.js +9 -8
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +10 -9
- package/dist/esm/v3/components/or-icon-button-v3/index.js +5 -4
- package/dist/esm/v3/components/or-inline-input-v3/index.js +6 -5
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +6 -5
- package/dist/esm/v3/components/or-input-v3/index.js +6 -5
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +13 -6
- package/dist/esm/v3/components/or-menu-v3/index.js +5 -4
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +12 -15
- package/dist/esm/v3/components/or-modal-v3/index.js +11 -10
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +5 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +7 -0
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +0 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +6 -5
- package/dist/esm/v3/components/or-pagination-v3/index.js +5 -4
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +15 -12
- package/dist/esm/v3/components/or-popover-v3/index.js +3 -2
- package/dist/esm/v3/components/or-search-v3/index.js +7 -6
- package/dist/esm/v3/components/or-select-v3/index.js +8 -7
- package/dist/esm/v3/components/or-sidebar-v3/index.js +7 -6
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +6 -5
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +6 -5
- package/dist/esm/v3/components/or-tabs-v3/index.js +5 -4
- package/dist/esm/v3/components/or-tag-v3/index.js +6 -5
- package/dist/esm/v3/components/or-tags-v3/index.js +7 -6
- package/dist/esm/v3/components/or-time-picker-v3/index.js +8 -7
- package/dist/esm/v3/components/or-toast-v3/index.js +6 -5
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +6 -5
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -7
- package/dist/esm/v3/components/or-tooltip-v3/index.js +5 -4
- package/dist/esm/v3/hooks/index.d.ts +1 -0
- package/dist/esm/v3/hooks/index.js +1 -0
- package/dist/esm/v3/hooks/usePopoverState.d.ts +8 -0
- package/dist/esm/v3/index.js +28 -27
- package/dist/esm/v3/{types-9e1555eb.js → types-c61726e4.js} +1 -1
- package/dist/esm/v3/usePopoverState-4cb59ae5.js +37 -0
- package/package.json +2 -3
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +27 -60
- package/src/components/or-confirm-v3/OrConfirm.vue +25 -50
- package/src/components/or-date-picker-v3/OrDatePicker.vue +2 -2
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +3 -3
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-select/OrDateTimePickerDateSelect.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +6 -6
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +2 -2
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +18 -43
- package/src/components/or-modal-v3/OrModal.vue +27 -65
- package/src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue +37 -0
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +7 -0
- package/src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue +37 -0
- package/src/components/or-modal-v3/partials/or-modal-footer/styles.ts +4 -0
- package/src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue +54 -0
- package/src/components/or-modal-v3/partials/or-modal-header/styles.ts +10 -0
- package/src/components/or-modal-v3/styles.ts +0 -25
- package/src/components/or-popover-v3/OrPopover.vue +22 -123
- package/src/components/or-time-picker-v3/OrTimePicker.vue +2 -2
- package/src/components/or-tooltip-v3/OrTooltip.vue +23 -41
- package/src/hooks/index.ts +1 -0
- package/src/hooks/usePopoverState.ts +51 -0
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-115f2c60.js +0 -93
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-202c4e2f.js +0 -71
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-bb3db5bf.js +0 -72
- package/dist/esm/v2/OrModal-1f80d87f.js +0 -174
- package/dist/esm/v3/OrModal-1366926a.js +0 -150
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-485ef171.js → OrToastContainer.vue_vue_type_script_lang-7caa56c5.js} +0 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { usePointerSwipe, onClickOutside, SwipeDirection } from '@vueuse/core';
|
|
2
|
-
import { defineComponent, ref, computed, watch, unref } from 'vue-demi';
|
|
2
|
+
import { defineComponent, ref, computed, toRef, watch, unref } from 'vue-demi';
|
|
3
|
+
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
3
4
|
import { s as script$1 } from './OrOverlay-bf72f582.js';
|
|
4
5
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, createElementBlock, normalizeClass, createCommentVNode, renderSlot } from 'vue';
|
|
5
6
|
|
|
@@ -56,13 +57,17 @@ var script = defineComponent({
|
|
|
56
57
|
},
|
|
57
58
|
inheritAttrs: false,
|
|
58
59
|
props: {
|
|
60
|
+
isOpen: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: false
|
|
63
|
+
},
|
|
59
64
|
variant: {
|
|
60
65
|
type: String,
|
|
61
66
|
default: BottomSheetVariant.Advanced
|
|
62
67
|
}
|
|
63
68
|
},
|
|
64
|
-
emits: ['
|
|
65
|
-
expose: ['root', '
|
|
69
|
+
emits: ['open', 'close'],
|
|
70
|
+
expose: ['root', 'open', 'close', 'toggle'],
|
|
66
71
|
setup(props, context) {
|
|
67
72
|
// Refs
|
|
68
73
|
const root = ref();
|
|
@@ -71,43 +76,18 @@ var script = defineComponent({
|
|
|
71
76
|
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
72
77
|
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
73
78
|
// State
|
|
74
|
-
const
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
+
const {
|
|
80
|
+
state,
|
|
81
|
+
open,
|
|
82
|
+
close,
|
|
83
|
+
toggle
|
|
84
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
85
|
+
const fullscreen = ref(false);
|
|
79
86
|
watch(state, value => {
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
case 'open':
|
|
83
|
-
context.emit('update:state:open');
|
|
84
|
-
break;
|
|
85
|
-
case 'fullscreen':
|
|
86
|
-
context.emit('update:state:fullscreen');
|
|
87
|
-
break;
|
|
88
|
-
case 'closed':
|
|
89
|
-
context.emit('update:state:closed');
|
|
90
|
-
break;
|
|
87
|
+
if (value === 'closed') {
|
|
88
|
+
fullscreen.value = false;
|
|
91
89
|
}
|
|
92
90
|
});
|
|
93
|
-
// Methods
|
|
94
|
-
function open() {
|
|
95
|
-
state.value = 'open';
|
|
96
|
-
}
|
|
97
|
-
function close() {
|
|
98
|
-
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
99
|
-
state.value = 'closed';
|
|
100
|
-
if (auto) {
|
|
101
|
-
context.emit('update:state:closed-automatically');
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
// Handlers
|
|
105
|
-
function onSwipeUp() {
|
|
106
|
-
state.value = 'fullscreen';
|
|
107
|
-
}
|
|
108
|
-
function onSwipeDown() {
|
|
109
|
-
state.value = state.value === 'fullscreen' ? 'open' : 'closed';
|
|
110
|
-
}
|
|
111
91
|
// Effects
|
|
112
92
|
// #region Swipe
|
|
113
93
|
const swipeOptions = {
|
|
@@ -132,7 +112,7 @@ var script = defineComponent({
|
|
|
132
112
|
minHeight: '100%',
|
|
133
113
|
maxHeight: '100%'
|
|
134
114
|
});
|
|
135
|
-
|
|
115
|
+
fullscreen.value = true;
|
|
136
116
|
break;
|
|
137
117
|
case SwipeDirection.DOWN:
|
|
138
118
|
Object.assign(rootElement.style, {
|
|
@@ -140,7 +120,11 @@ var script = defineComponent({
|
|
|
140
120
|
minHeight: '0',
|
|
141
121
|
maxHeight: '50%'
|
|
142
122
|
});
|
|
143
|
-
|
|
123
|
+
if (fullscreen.value) {
|
|
124
|
+
fullscreen.value = false;
|
|
125
|
+
} else {
|
|
126
|
+
close();
|
|
127
|
+
}
|
|
144
128
|
break;
|
|
145
129
|
}
|
|
146
130
|
}
|
|
@@ -157,7 +141,7 @@ var script = defineComponent({
|
|
|
157
141
|
} = _ref;
|
|
158
142
|
return (classList === null || classList === void 0 ? void 0 : classList.contains('or-popover-v3')) || (classList === null || classList === void 0 ? void 0 : classList.contains('or-bottom-sheet-v3'));
|
|
159
143
|
})) {
|
|
160
|
-
close(
|
|
144
|
+
close();
|
|
161
145
|
}
|
|
162
146
|
});
|
|
163
147
|
// #endregion
|
|
@@ -167,20 +151,19 @@ var script = defineComponent({
|
|
|
167
151
|
handleStyles,
|
|
168
152
|
headerStyles,
|
|
169
153
|
state,
|
|
170
|
-
|
|
171
|
-
isFullscreen,
|
|
172
|
-
isClosed,
|
|
154
|
+
fullscreen,
|
|
173
155
|
open,
|
|
174
|
-
close
|
|
156
|
+
close,
|
|
157
|
+
toggle
|
|
175
158
|
};
|
|
176
159
|
}
|
|
177
160
|
});
|
|
178
161
|
|
|
179
162
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
180
163
|
const _component_OrOverlay = resolveComponent("OrOverlay");
|
|
181
|
-
return _ctx.state
|
|
164
|
+
return _ctx.state === 'open' ? (openBlock(), createBlock(_component_OrOverlay, {
|
|
182
165
|
key: 0,
|
|
183
|
-
fullscreen: _ctx.
|
|
166
|
+
fullscreen: _ctx.fullscreen
|
|
184
167
|
}, {
|
|
185
168
|
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
186
169
|
ref: "root"
|
|
@@ -192,7 +175,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
192
175
|
}, null, 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
193
176
|
class: normalizeClass(_ctx.headerStyles)
|
|
194
177
|
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */), createElementVNode("div", {
|
|
195
|
-
class: normalizeClass([_ctx.
|
|
178
|
+
class: normalizeClass([_ctx.fullscreen ? 'overflow-y-auto' : 'overflow-hidden'])
|
|
196
179
|
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 16 /* FULL_PROPS */)]),
|
|
197
180
|
|
|
198
181
|
_: 3 /* FORWARDED */
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, computed, ref, watch } from 'vue-demi';
|
|
2
2
|
import { s as script$3 } from './OrButton-c2b6aa9e.js';
|
|
3
|
-
import { s as script$2 } from './OrIconButton-
|
|
3
|
+
import { s as script$2 } from './OrIconButton-ce1b5542.js';
|
|
4
4
|
import { s as script$6 } from './OrIcon-62793572.js';
|
|
5
5
|
import { s as script$5 } from './OrMenuItem-dbee450f.js';
|
|
6
|
-
import { s as script$4 } from './OrMenu-
|
|
7
|
-
import './OrPopover-
|
|
8
|
-
import { s as script$7 } from './OrSearch-
|
|
6
|
+
import { s as script$4 } from './OrMenu-79312946.js';
|
|
7
|
+
import './OrPopover-bec73a66.js';
|
|
8
|
+
import { s as script$7 } from './OrSearch-1333d290.js';
|
|
9
9
|
import './OrInputBox-ba40bbdf.js';
|
|
10
10
|
import { openBlock, createElementBlock, normalizeClass, Fragment, renderList, renderSlot, mergeProps, createTextVNode, toDisplayString, resolveComponent, createElementVNode, createVNode, withCtx, createBlock, createCommentVNode, normalizeProps, guardReactiveProps } from 'vue';
|
|
11
11
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { logicAnd } from '@vueuse/math';
|
|
3
|
-
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
+
import { defineComponent, ref, toRef, computed, watch } from 'vue-demi';
|
|
4
|
+
import { u as usePopoverState } from './usePopoverState-4cb59ae5.js';
|
|
4
5
|
import { s as script$2, a as ButtonColor } from './OrButton-c2b6aa9e.js';
|
|
5
|
-
import { s as script$3 } from './OrInput-
|
|
6
|
+
import { s as script$3 } from './OrInput-02821bda.js';
|
|
6
7
|
import { s as script$1 } from './OrOverlay-bf72f582.js';
|
|
7
8
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, normalizeClass, renderSlot, createTextVNode, toDisplayString, createElementBlock, createVNode, createCommentVNode } from 'vue';
|
|
8
9
|
|
|
@@ -65,6 +66,10 @@ var script = defineComponent({
|
|
|
65
66
|
},
|
|
66
67
|
inheritAttrs: false,
|
|
67
68
|
props: {
|
|
69
|
+
isOpen: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: false
|
|
72
|
+
},
|
|
68
73
|
titleText: {
|
|
69
74
|
type: String,
|
|
70
75
|
required: false,
|
|
@@ -72,22 +77,18 @@ var script = defineComponent({
|
|
|
72
77
|
},
|
|
73
78
|
confirmButtonText: {
|
|
74
79
|
type: String,
|
|
75
|
-
required: false,
|
|
76
80
|
default: 'Confirm'
|
|
77
81
|
},
|
|
78
82
|
cancelButtonText: {
|
|
79
83
|
type: String,
|
|
80
|
-
required: false,
|
|
81
84
|
default: 'Cancel'
|
|
82
85
|
},
|
|
83
86
|
confirmType: {
|
|
84
87
|
type: String,
|
|
85
|
-
required: false,
|
|
86
88
|
default: ConfirmType.C
|
|
87
89
|
},
|
|
88
90
|
loading: {
|
|
89
91
|
type: Boolean,
|
|
90
|
-
required: false,
|
|
91
92
|
default: false
|
|
92
93
|
},
|
|
93
94
|
disabled: {
|
|
@@ -97,43 +98,35 @@ var script = defineComponent({
|
|
|
97
98
|
},
|
|
98
99
|
confirmationText: {
|
|
99
100
|
type: String,
|
|
100
|
-
|
|
101
|
-
default: null
|
|
101
|
+
default: undefined
|
|
102
102
|
},
|
|
103
103
|
textConfirmationLabel: {
|
|
104
104
|
type: String,
|
|
105
|
-
|
|
106
|
-
default: null
|
|
105
|
+
default: undefined
|
|
107
106
|
},
|
|
108
107
|
textConfirmationPlaceholder: {
|
|
109
108
|
type: String,
|
|
110
|
-
|
|
111
|
-
default: null
|
|
109
|
+
default: undefined
|
|
112
110
|
},
|
|
113
111
|
textConfirmationError: {
|
|
114
112
|
type: String,
|
|
115
|
-
required: false,
|
|
116
|
-
default: null
|
|
117
|
-
},
|
|
118
|
-
isOpen: {
|
|
119
|
-
type: Boolean,
|
|
120
|
-
required: false,
|
|
121
113
|
default: undefined
|
|
122
114
|
}
|
|
123
115
|
},
|
|
124
116
|
emits: ['open', 'close', 'confirm'],
|
|
125
|
-
expose: ['root', '
|
|
126
|
-
setup(props,
|
|
127
|
-
let {
|
|
128
|
-
emit
|
|
129
|
-
} = _ref;
|
|
117
|
+
expose: ['root', 'open', 'close'],
|
|
118
|
+
setup(props, context) {
|
|
130
119
|
// Refs
|
|
131
120
|
const root = ref();
|
|
132
121
|
const confirmationInput = ref();
|
|
133
122
|
const confirmationButton = ref();
|
|
134
123
|
// State
|
|
135
124
|
const touched = ref(false);
|
|
136
|
-
const
|
|
125
|
+
const {
|
|
126
|
+
state,
|
|
127
|
+
open,
|
|
128
|
+
close
|
|
129
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
137
130
|
const isInputActive = ref(false);
|
|
138
131
|
const confirmationValue = ref('');
|
|
139
132
|
const {
|
|
@@ -146,21 +139,10 @@ var script = defineComponent({
|
|
|
146
139
|
const isConfirmationButtonDisabled = computed(() => !!props.disabled || isInvalid.value);
|
|
147
140
|
const confirmButtonColor = computed(() => props.confirmType === ConfirmType.C ? ButtonColor.Primary : ButtonColor.Danger);
|
|
148
141
|
// Methods
|
|
149
|
-
function open() {
|
|
150
|
-
isActive.value = true;
|
|
151
|
-
emit('open');
|
|
152
|
-
}
|
|
153
|
-
function close() {
|
|
154
|
-
// In case if component opened by isOpen - only event can be emited, app will catch it and flip reference
|
|
155
|
-
if (props.isOpen === true) {
|
|
156
|
-
emit('close');
|
|
157
|
-
} else {
|
|
158
|
-
isActive.value = false;
|
|
159
|
-
emit('close');
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
142
|
function confirm() {
|
|
163
|
-
if (!props.disabled && !isInvalid.value)
|
|
143
|
+
if (!props.disabled && !isInvalid.value) {
|
|
144
|
+
context.emit('confirm');
|
|
145
|
+
}
|
|
164
146
|
}
|
|
165
147
|
function onInputFocus() {
|
|
166
148
|
isInputActive.value = true;
|
|
@@ -170,20 +152,14 @@ var script = defineComponent({
|
|
|
170
152
|
touched.value = true;
|
|
171
153
|
}
|
|
172
154
|
// Events
|
|
173
|
-
watch(() => props.isOpen, value => {
|
|
174
|
-
// In case if component opened by isOpen - no need to emmit events, we need just sync local state
|
|
175
|
-
if (value != undefined) {
|
|
176
|
-
isActive.value = value;
|
|
177
|
-
}
|
|
178
|
-
}, {
|
|
179
|
-
immediate: true
|
|
180
|
-
});
|
|
181
155
|
watch(escape, val => {
|
|
182
156
|
if (val) close();
|
|
183
157
|
});
|
|
184
|
-
watch(
|
|
185
|
-
|
|
186
|
-
|
|
158
|
+
watch(state, value => {
|
|
159
|
+
if (value === 'closed') {
|
|
160
|
+
confirmationValue.value = '';
|
|
161
|
+
touched.value = false;
|
|
162
|
+
}
|
|
187
163
|
});
|
|
188
164
|
// types here are used for fixing TS2349
|
|
189
165
|
watch(confirmationInput, val => {
|
|
@@ -216,7 +192,7 @@ var script = defineComponent({
|
|
|
216
192
|
isInvalid,
|
|
217
193
|
isConfirmationButtonDisabled,
|
|
218
194
|
touched,
|
|
219
|
-
|
|
195
|
+
state,
|
|
220
196
|
isInputActive,
|
|
221
197
|
escape,
|
|
222
198
|
rootStyles,
|
|
@@ -240,9 +216,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
240
216
|
const _component_OrInput = resolveComponent("OrInput");
|
|
241
217
|
const _component_OrButton = resolveComponent("OrButton");
|
|
242
218
|
const _component_OrOverlay = resolveComponent("OrOverlay");
|
|
243
|
-
return _ctx.
|
|
219
|
+
return _ctx.state === 'open' ? (openBlock(), createBlock(_component_OrOverlay, {
|
|
244
220
|
key: 0,
|
|
245
|
-
fullscreen:
|
|
221
|
+
fullscreen: true
|
|
246
222
|
}, {
|
|
247
223
|
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
248
224
|
ref: "root"
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
|
-
import { s as script$3, a as script$5, b as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
4
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
3
|
+
import { s as script$3, a as script$5, b as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-6af64e73.js';
|
|
4
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-6d328f9c.js';
|
|
5
5
|
import { s as script$7 } from './OrError-c01d0c29.js';
|
|
6
6
|
import { s as script$8 } from './OrHint-06ab89d7.js';
|
|
7
|
-
import { s as script$a } from './OrIconButton-
|
|
7
|
+
import { s as script$a } from './OrIconButton-ce1b5542.js';
|
|
8
8
|
import { s as script$9 } from './OrIcon-62793572.js';
|
|
9
9
|
import { s as script$b, I as InputBoxSize } from './OrInputBox-ba40bbdf.js';
|
|
10
10
|
import { s as script$c } from './OrLabel-4da56db0.js';
|
|
11
|
-
import { s as script$d } from './OrPopover-
|
|
12
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode,
|
|
11
|
+
import { s as script$d } from './OrPopover-bec73a66.js';
|
|
12
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode, Fragment } from 'vue';
|
|
13
13
|
|
|
14
14
|
const DatePicker = [
|
|
15
15
|
// Layout
|
|
@@ -238,7 +238,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
238
238
|
},
|
|
239
239
|
trigger: _ctx.inputBoxRoot,
|
|
240
240
|
placement: 'bottom-start',
|
|
241
|
-
|
|
241
|
+
onClose: _cache[5] || (_cache[5] = $event => _ctx.reset())
|
|
242
242
|
}, {
|
|
243
243
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
|
|
244
244
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
|
|
@@ -277,7 +277,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
277
277
|
icon: 'close',
|
|
278
278
|
color: 'inherit',
|
|
279
279
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
280
|
-
onClick: _cache[6] || (_cache[6] =
|
|
280
|
+
onClick: _cache[6] || (_cache[6] = $event => _ctx.$emit('update:modelValue', undefined))
|
|
281
281
|
}, null, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrIcon, {
|
|
282
282
|
key: 1,
|
|
283
283
|
icon: 'calendar_month',
|
|
@@ -2,15 +2,15 @@ import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
|
2
2
|
import { D as DropdownClose, a as DropdownOpen } from './dropdown-open-e1f90e0a.js';
|
|
3
3
|
import { s as script$9 } from './OrError-c01d0c29.js';
|
|
4
4
|
import { s as script$a } from './OrHint-06ab89d7.js';
|
|
5
|
-
import { s as script$c } from './OrIconButton-
|
|
5
|
+
import { s as script$c } from './OrIconButton-ce1b5542.js';
|
|
6
6
|
import { s as script$b } from './OrIcon-62793572.js';
|
|
7
7
|
import { s as script$d, I as InputBoxSize } from './OrInputBox-ba40bbdf.js';
|
|
8
8
|
import { s as script$e } from './OrLabel-4da56db0.js';
|
|
9
|
-
import { s as script$f } from './OrPopover-
|
|
10
|
-
import { s as script$3, a as script$5, b as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-
|
|
11
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
12
|
-
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-
|
|
13
|
-
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode,
|
|
9
|
+
import { s as script$f } from './OrPopover-bec73a66.js';
|
|
10
|
+
import { s as script$3, a as script$5, b as script$6, u as useCurrentDate } from './OrDateTimePickerPopoverHeader-6af64e73.js';
|
|
11
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-6d328f9c.js';
|
|
12
|
+
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-68b76476.js';
|
|
13
|
+
import { resolveComponent, resolveDirective, openBlock, createElementBlock, normalizeClass, createBlock, withCtx, renderSlot, createTextVNode, toDisplayString, createCommentVNode, withDirectives, createVNode, createElementVNode, Fragment } from 'vue';
|
|
14
14
|
|
|
15
15
|
const DateTimePicker = [
|
|
16
16
|
// Layout
|
|
@@ -299,7 +299,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
299
299
|
},
|
|
300
300
|
trigger: _ctx.inputBoxRoot,
|
|
301
301
|
placement: 'bottom-start',
|
|
302
|
-
|
|
302
|
+
onClose: _cache[6] || (_cache[6] = $event => _ctx.reset())
|
|
303
303
|
}, {
|
|
304
304
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
|
|
305
305
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
|
|
@@ -348,7 +348,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
348
348
|
},
|
|
349
349
|
trigger: _ctx.inputBoxRoot,
|
|
350
350
|
placement: 'bottom-start',
|
|
351
|
-
|
|
351
|
+
onClose: _cache[10] || (_cache[10] = $event => _ctx.reset())
|
|
352
352
|
}, {
|
|
353
353
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerPopoverHeader, null, {
|
|
354
354
|
default: withCtx(() => [createVNode(_component_OrDateTimePickerMobileControl, {
|
|
@@ -388,7 +388,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
388
388
|
icon: 'close',
|
|
389
389
|
color: 'inherit',
|
|
390
390
|
disabled: _ctx.readonly || _ctx.disabled,
|
|
391
|
-
onClick: _cache[11] || (_cache[11] =
|
|
391
|
+
onClick: _cache[11] || (_cache[11] = $event => _ctx.$emit('update:modelValue', undefined))
|
|
392
392
|
}, null, 8 /* PROPS */, ["disabled"])) : (openBlock(), createBlock(_component_OrIcon, {
|
|
393
393
|
key: 1,
|
|
394
394
|
icon: 'calendar_month',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock,
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withCtx, createVNode } from 'vue';
|
|
3
3
|
import { s as script$3 } from './OrButton-c2b6aa9e.js';
|
|
4
|
-
import { s as script$5 } from './OrIconButton-
|
|
4
|
+
import { s as script$5 } from './OrIconButton-ce1b5542.js';
|
|
5
5
|
import { s as script$4 } from './OrIcon-62793572.js';
|
|
6
6
|
import { s as script$7 } from './OrMenuItem-dbee450f.js';
|
|
7
|
-
import { s as script$6 } from './OrMenu-
|
|
8
|
-
import './OrPopover-
|
|
7
|
+
import { s as script$6 } from './OrMenu-79312946.js';
|
|
8
|
+
import './OrPopover-bec73a66.js';
|
|
9
9
|
|
|
10
10
|
function useDatePlaceholder() {
|
|
11
11
|
const sample = new Date(Date.UTC(1111, 1, 3, 4, 5)).toLocaleString(navigator.language, {
|
|
@@ -258,7 +258,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
258
258
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
259
259
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
260
260
|
disabled: _ctx.dateFilter && !_ctx.dateFilter(value),
|
|
261
|
-
onClick:
|
|
261
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
262
262
|
}, {
|
|
263
263
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatDay(value)), 1 /* TEXT */)]),
|
|
264
264
|
|
|
@@ -418,15 +418,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
418
418
|
class: normalizeClass(_ctx.rootStyles)
|
|
419
419
|
}, [createVNode(_component_OrIconButton, {
|
|
420
420
|
icon: 'chevron_left',
|
|
421
|
-
onClick: _cache[0] || (_cache[0] =
|
|
421
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.goToPreviousMonth())
|
|
422
422
|
}), createElementVNode("div", _hoisted_1, [createVNode(_component_OrButton, {
|
|
423
423
|
ref: "yearButton",
|
|
424
424
|
variant: 'link',
|
|
425
425
|
color: 'inherit',
|
|
426
|
-
onClick: _cache[1] || (_cache[1] =
|
|
426
|
+
onClick: _cache[1] || (_cache[1] = $event => {
|
|
427
427
|
_ctx.monthMenu.close();
|
|
428
428
|
_ctx.yearMenu.open();
|
|
429
|
-
}
|
|
429
|
+
})
|
|
430
430
|
}, {
|
|
431
431
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
432
432
|
icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
@@ -436,10 +436,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
436
436
|
ref: "monthButton",
|
|
437
437
|
variant: 'link',
|
|
438
438
|
color: 'inherit',
|
|
439
|
-
onClick: _cache[2] || (_cache[2] =
|
|
439
|
+
onClick: _cache[2] || (_cache[2] = $event => {
|
|
440
440
|
_ctx.yearMenu.close();
|
|
441
441
|
_ctx.monthMenu.open();
|
|
442
|
-
}
|
|
442
|
+
})
|
|
443
443
|
}, {
|
|
444
444
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
445
445
|
icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
@@ -454,10 +454,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
454
454
|
key: Number(value),
|
|
455
455
|
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
456
456
|
disabled: _ctx.yearFilter && !_ctx.yearFilter(value),
|
|
457
|
-
onClick:
|
|
457
|
+
onClick: $event => {
|
|
458
458
|
_ctx.proxyModelValue = value;
|
|
459
459
|
_ctx.yearMenu.close();
|
|
460
|
-
}
|
|
460
|
+
}
|
|
461
461
|
}, {
|
|
462
462
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(value)), 1 /* TEXT */)]),
|
|
463
463
|
|
|
@@ -475,10 +475,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
475
475
|
key: Number(value),
|
|
476
476
|
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
477
477
|
disabled: _ctx.monthFilter && !_ctx.monthFilter(value),
|
|
478
|
-
onClick:
|
|
478
|
+
onClick: $event => {
|
|
479
479
|
_ctx.proxyModelValue = value;
|
|
480
480
|
_ctx.monthMenu.close();
|
|
481
|
-
}
|
|
481
|
+
}
|
|
482
482
|
}, {
|
|
483
483
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(value)), 1 /* TEXT */)]),
|
|
484
484
|
|
|
@@ -489,7 +489,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
489
489
|
_: 1 /* STABLE */
|
|
490
490
|
}, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
|
|
491
491
|
icon: 'chevron_right',
|
|
492
|
-
onClick: _cache[3] || (_cache[3] =
|
|
492
|
+
onClick: _cache[3] || (_cache[3] = $event => _ctx.goToNextMonth())
|
|
493
493
|
})], 2 /* CLASS */);
|
|
494
494
|
}
|
|
495
495
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { s as script$3 } from './OrLabel-4da56db0.js';
|
|
3
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, renderSlot
|
|
3
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, renderSlot } from 'vue';
|
|
4
4
|
import { s as script$4 } from './OrButton-c2b6aa9e.js';
|
|
5
5
|
|
|
6
6
|
function useCurrentDate() {
|
|
@@ -98,13 +98,13 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
98
98
|
class: normalizeClass(_ctx.rootStyles)
|
|
99
99
|
}, [createVNode(_component_OrButton, {
|
|
100
100
|
variant: 'outlined',
|
|
101
|
-
onClick: _cache[0] || (_cache[0] =
|
|
101
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('apply'))
|
|
102
102
|
}, {
|
|
103
103
|
default: withCtx(() => [createTextVNode(" Done ")]),
|
|
104
104
|
_: 1 /* STABLE */
|
|
105
105
|
}), createVNode(_component_OrButton, {
|
|
106
106
|
variant: 'text',
|
|
107
|
-
onClick: _cache[1] || (_cache[1] =
|
|
107
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('reset'))
|
|
108
108
|
}, {
|
|
109
109
|
default: withCtx(() => [createTextVNode(" Cancel ")]),
|
|
110
110
|
_: 1 /* STABLE */
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock,
|
|
2
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withCtx } from 'vue';
|
|
3
3
|
import { s as script$2 } from './OrButton-c2b6aa9e.js';
|
|
4
4
|
|
|
5
5
|
function useTimePlaceholder() {
|
|
@@ -222,7 +222,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
222
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
223
223
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
224
224
|
disabled: _ctx.hoursFilter && !_ctx.hoursFilter(value),
|
|
225
|
-
onClick:
|
|
225
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
226
226
|
}, {
|
|
227
227
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatHours(value)), 1 /* TEXT */)]),
|
|
228
228
|
|
|
@@ -237,7 +237,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
237
237
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
238
238
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
239
239
|
disabled: _ctx.minutesFilter && !_ctx.minutesFilter(value),
|
|
240
|
-
onClick:
|
|
240
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
241
241
|
}, {
|
|
242
242
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMinutes(value)), 1 /* TEXT */)]),
|
|
243
243
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, isVue3 } from 'vue-demi';
|
|
2
2
|
import { s as script$1, I as IconSize } from './OrIcon-62793572.js';
|
|
3
|
-
import { s as script$2 } from './OrTooltip-
|
|
4
|
-
import './OrPopover-
|
|
3
|
+
import { s as script$2 } from './OrTooltip-54c18e36.js';
|
|
4
|
+
import './OrPopover-bec73a66.js';
|
|
5
5
|
import { resolveComponent, openBlock, createBlock, normalizeProps, guardReactiveProps, withCtx, createElementVNode, mergeProps, toHandlers, createVNode } from 'vue';
|
|
6
6
|
|
|
7
7
|
var IconButtonColor;
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
6
6
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
7
|
-
import { s as script$3 } from './OrIconButton-
|
|
7
|
+
import { s as script$3 } from './OrIconButton-ce1b5542.js';
|
|
8
8
|
import { s as script$4, I as InlineInputBoxSize } from './OrInlineInputBox-01fb2cb2.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelDynamic, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -4,7 +4,7 @@ import '@vueuse/core';
|
|
|
4
4
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
5
5
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
6
6
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
7
|
-
import { s as script$3 } from './OrIconButton-
|
|
7
|
+
import { s as script$3 } from './OrIconButton-ce1b5542.js';
|
|
8
8
|
import { s as script$4 } from './OrInlineInputBox-01fb2cb2.js';
|
|
9
9
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, withDirectives, mergeProps, vModelText, withModifiers, createCommentVNode, createBlock, createSlots, createTextVNode, toDisplayString, vShow } from 'vue';
|
|
10
10
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
|
@@ -5,7 +5,7 @@ import { u as useResponsive } from './useResponsive-a02e95b7.js';
|
|
|
5
5
|
import { u as useValidationAttributes } from './useValidationAttributes-d1abbe34.js';
|
|
6
6
|
import { s as script$1 } from './OrError-c01d0c29.js';
|
|
7
7
|
import { s as script$2 } from './OrHint-06ab89d7.js';
|
|
8
|
-
import { s as script$4 } from './OrIconButton-
|
|
8
|
+
import { s as script$4 } from './OrIconButton-ce1b5542.js';
|
|
9
9
|
import { s as script$3 } from './OrIcon-62793572.js';
|
|
10
10
|
import { s as script$5, I as InputBoxSize } from './OrInputBox-ba40bbdf.js';
|
|
11
11
|
import { s as script$6 } from './OrLabel-4da56db0.js';
|