@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,9 +1,10 @@
|
|
|
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
3
|
import { BottomSheetVariant } from './components/OrBottomSheetV3/props.js';
|
|
4
4
|
import { BottomSheet, BottomSheetVariants, BottomSheetHandle, BottomSheetHeader } from './components/OrBottomSheetV3/styles.js';
|
|
5
5
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
6
6
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
7
|
+
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
7
8
|
|
|
8
9
|
var script = defineComponent({
|
|
9
10
|
name: 'OrBottomSheet',
|
|
@@ -12,13 +13,17 @@ var script = defineComponent({
|
|
|
12
13
|
},
|
|
13
14
|
inheritAttrs: false,
|
|
14
15
|
props: {
|
|
16
|
+
isOpen: {
|
|
17
|
+
type: Boolean,
|
|
18
|
+
default: false
|
|
19
|
+
},
|
|
15
20
|
variant: {
|
|
16
21
|
type: String,
|
|
17
22
|
default: BottomSheetVariant.Advanced
|
|
18
23
|
}
|
|
19
24
|
},
|
|
20
|
-
emits: ['
|
|
21
|
-
expose: ['root', '
|
|
25
|
+
emits: ['open', 'close'],
|
|
26
|
+
expose: ['root', 'open', 'close', 'toggle'],
|
|
22
27
|
setup(props, context) {
|
|
23
28
|
// Refs
|
|
24
29
|
const root = ref();
|
|
@@ -27,43 +32,18 @@ var script = defineComponent({
|
|
|
27
32
|
const handleStyles = computed(() => [...BottomSheetHandle]);
|
|
28
33
|
const headerStyles = computed(() => [...BottomSheetHeader]);
|
|
29
34
|
// State
|
|
30
|
-
const
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
const {
|
|
36
|
+
state,
|
|
37
|
+
open,
|
|
38
|
+
close,
|
|
39
|
+
toggle
|
|
40
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
41
|
+
const fullscreen = ref(false);
|
|
35
42
|
watch(state, value => {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
case 'open':
|
|
39
|
-
context.emit('update:state:open');
|
|
40
|
-
break;
|
|
41
|
-
case 'fullscreen':
|
|
42
|
-
context.emit('update:state:fullscreen');
|
|
43
|
-
break;
|
|
44
|
-
case 'closed':
|
|
45
|
-
context.emit('update:state:closed');
|
|
46
|
-
break;
|
|
43
|
+
if (value === 'closed') {
|
|
44
|
+
fullscreen.value = false;
|
|
47
45
|
}
|
|
48
46
|
});
|
|
49
|
-
// Methods
|
|
50
|
-
function open() {
|
|
51
|
-
state.value = 'open';
|
|
52
|
-
}
|
|
53
|
-
function close() {
|
|
54
|
-
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
55
|
-
state.value = 'closed';
|
|
56
|
-
if (auto) {
|
|
57
|
-
context.emit('update:state:closed-automatically');
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
// Handlers
|
|
61
|
-
function onSwipeUp() {
|
|
62
|
-
state.value = 'fullscreen';
|
|
63
|
-
}
|
|
64
|
-
function onSwipeDown() {
|
|
65
|
-
state.value = state.value === 'fullscreen' ? 'open' : 'closed';
|
|
66
|
-
}
|
|
67
47
|
// Effects
|
|
68
48
|
// #region Swipe
|
|
69
49
|
const swipeOptions = {
|
|
@@ -88,7 +68,7 @@ var script = defineComponent({
|
|
|
88
68
|
minHeight: '100%',
|
|
89
69
|
maxHeight: '100%'
|
|
90
70
|
});
|
|
91
|
-
|
|
71
|
+
fullscreen.value = true;
|
|
92
72
|
break;
|
|
93
73
|
case SwipeDirection.DOWN:
|
|
94
74
|
Object.assign(rootElement.style, {
|
|
@@ -96,7 +76,11 @@ var script = defineComponent({
|
|
|
96
76
|
minHeight: '0',
|
|
97
77
|
maxHeight: '50%'
|
|
98
78
|
});
|
|
99
|
-
|
|
79
|
+
if (fullscreen.value) {
|
|
80
|
+
fullscreen.value = false;
|
|
81
|
+
} else {
|
|
82
|
+
close();
|
|
83
|
+
}
|
|
100
84
|
break;
|
|
101
85
|
}
|
|
102
86
|
}
|
|
@@ -113,7 +97,7 @@ var script = defineComponent({
|
|
|
113
97
|
} = _ref;
|
|
114
98
|
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'));
|
|
115
99
|
})) {
|
|
116
|
-
close(
|
|
100
|
+
close();
|
|
117
101
|
}
|
|
118
102
|
});
|
|
119
103
|
// #endregion
|
|
@@ -123,11 +107,10 @@ var script = defineComponent({
|
|
|
123
107
|
handleStyles,
|
|
124
108
|
headerStyles,
|
|
125
109
|
state,
|
|
126
|
-
|
|
127
|
-
isFullscreen,
|
|
128
|
-
isClosed,
|
|
110
|
+
fullscreen,
|
|
129
111
|
open,
|
|
130
|
-
close
|
|
112
|
+
close,
|
|
113
|
+
toggle
|
|
131
114
|
};
|
|
132
115
|
}
|
|
133
116
|
});
|
|
@@ -6,13 +6,13 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
6
6
|
import './components/OrButtonV3/OrButton.js';
|
|
7
7
|
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
|
-
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-
|
|
9
|
+
import { s as script$4 } from './OrMenu.vue_vue_type_script_lang-a8e1eb6d.js';
|
|
10
10
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
11
11
|
import { s as script$5 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
import './components/OrIconV3/OrIcon.js';
|
|
13
13
|
import './components/OrSearchV3/OrSearch.js';
|
|
14
|
-
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-
|
|
15
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
14
|
+
import { s as script$7 } from './OrSearch.vue_vue_type_script_lang-b402fffd.js';
|
|
15
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
16
16
|
import { s as script$6 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
17
|
|
|
18
18
|
var script$1 = defineComponent({
|
|
@@ -1,15 +1,16 @@
|
|
|
1
1
|
import { useMagicKeys, whenever, onClickOutside } from '@vueuse/core';
|
|
2
2
|
import { l as logicAnd } from './index-968c331a.js';
|
|
3
|
-
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
+
import { defineComponent, ref, toRef, computed, watch } from 'vue-demi';
|
|
4
4
|
import { ConfirmType } from './components/OrConfirmV3/props.js';
|
|
5
5
|
import { ConfirmRoot, ConfirmHeader, ConfirmInput, ConfirmFooter, ConfirmFooterTypes, ConfirmFooterButtons } from './components/OrConfirmV3/styles.js';
|
|
6
6
|
import './components/OrOverlayV3/OrOverlay.js';
|
|
7
7
|
import './components/OrButtonV3/OrButton.js';
|
|
8
8
|
import './components/OrInputV3/OrInput.js';
|
|
9
|
+
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
9
10
|
import { ButtonColor } from './components/OrButtonV3/props.js';
|
|
10
11
|
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
11
12
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
12
|
-
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-
|
|
13
|
+
import { s as script$3 } from './OrInput.vue_vue_type_script_lang-655989d4.js';
|
|
13
14
|
|
|
14
15
|
var script = defineComponent({
|
|
15
16
|
name: 'OrConfirm',
|
|
@@ -20,6 +21,10 @@ var script = defineComponent({
|
|
|
20
21
|
},
|
|
21
22
|
inheritAttrs: false,
|
|
22
23
|
props: {
|
|
24
|
+
isOpen: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
default: false
|
|
27
|
+
},
|
|
23
28
|
titleText: {
|
|
24
29
|
type: String,
|
|
25
30
|
required: false,
|
|
@@ -27,22 +32,18 @@ var script = defineComponent({
|
|
|
27
32
|
},
|
|
28
33
|
confirmButtonText: {
|
|
29
34
|
type: String,
|
|
30
|
-
required: false,
|
|
31
35
|
default: 'Confirm'
|
|
32
36
|
},
|
|
33
37
|
cancelButtonText: {
|
|
34
38
|
type: String,
|
|
35
|
-
required: false,
|
|
36
39
|
default: 'Cancel'
|
|
37
40
|
},
|
|
38
41
|
confirmType: {
|
|
39
42
|
type: String,
|
|
40
|
-
required: false,
|
|
41
43
|
default: ConfirmType.C
|
|
42
44
|
},
|
|
43
45
|
loading: {
|
|
44
46
|
type: Boolean,
|
|
45
|
-
required: false,
|
|
46
47
|
default: false
|
|
47
48
|
},
|
|
48
49
|
disabled: {
|
|
@@ -52,43 +53,35 @@ var script = defineComponent({
|
|
|
52
53
|
},
|
|
53
54
|
confirmationText: {
|
|
54
55
|
type: String,
|
|
55
|
-
|
|
56
|
-
default: null
|
|
56
|
+
default: undefined
|
|
57
57
|
},
|
|
58
58
|
textConfirmationLabel: {
|
|
59
59
|
type: String,
|
|
60
|
-
|
|
61
|
-
default: null
|
|
60
|
+
default: undefined
|
|
62
61
|
},
|
|
63
62
|
textConfirmationPlaceholder: {
|
|
64
63
|
type: String,
|
|
65
|
-
|
|
66
|
-
default: null
|
|
64
|
+
default: undefined
|
|
67
65
|
},
|
|
68
66
|
textConfirmationError: {
|
|
69
67
|
type: String,
|
|
70
|
-
required: false,
|
|
71
|
-
default: null
|
|
72
|
-
},
|
|
73
|
-
isOpen: {
|
|
74
|
-
type: Boolean,
|
|
75
|
-
required: false,
|
|
76
68
|
default: undefined
|
|
77
69
|
}
|
|
78
70
|
},
|
|
79
71
|
emits: ['open', 'close', 'confirm'],
|
|
80
|
-
expose: ['root', '
|
|
81
|
-
setup(props,
|
|
82
|
-
let {
|
|
83
|
-
emit
|
|
84
|
-
} = _ref;
|
|
72
|
+
expose: ['root', 'open', 'close'],
|
|
73
|
+
setup(props, context) {
|
|
85
74
|
// Refs
|
|
86
75
|
const root = ref();
|
|
87
76
|
const confirmationInput = ref();
|
|
88
77
|
const confirmationButton = ref();
|
|
89
78
|
// State
|
|
90
79
|
const touched = ref(false);
|
|
91
|
-
const
|
|
80
|
+
const {
|
|
81
|
+
state,
|
|
82
|
+
open,
|
|
83
|
+
close
|
|
84
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
92
85
|
const isInputActive = ref(false);
|
|
93
86
|
const confirmationValue = ref('');
|
|
94
87
|
const {
|
|
@@ -101,21 +94,10 @@ var script = defineComponent({
|
|
|
101
94
|
const isConfirmationButtonDisabled = computed(() => !!props.disabled || isInvalid.value);
|
|
102
95
|
const confirmButtonColor = computed(() => props.confirmType === ConfirmType.C ? ButtonColor.Primary : ButtonColor.Danger);
|
|
103
96
|
// Methods
|
|
104
|
-
function open() {
|
|
105
|
-
isActive.value = true;
|
|
106
|
-
emit('open');
|
|
107
|
-
}
|
|
108
|
-
function close() {
|
|
109
|
-
// In case if component opened by isOpen - only event can be emited, app will catch it and flip reference
|
|
110
|
-
if (props.isOpen === true) {
|
|
111
|
-
emit('close');
|
|
112
|
-
} else {
|
|
113
|
-
isActive.value = false;
|
|
114
|
-
emit('close');
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
97
|
function confirm() {
|
|
118
|
-
if (!props.disabled && !isInvalid.value)
|
|
98
|
+
if (!props.disabled && !isInvalid.value) {
|
|
99
|
+
context.emit('confirm');
|
|
100
|
+
}
|
|
119
101
|
}
|
|
120
102
|
function onInputFocus() {
|
|
121
103
|
isInputActive.value = true;
|
|
@@ -125,20 +107,14 @@ var script = defineComponent({
|
|
|
125
107
|
touched.value = true;
|
|
126
108
|
}
|
|
127
109
|
// Events
|
|
128
|
-
watch(() => props.isOpen, value => {
|
|
129
|
-
// In case if component opened by isOpen - no need to emmit events, we need just sync local state
|
|
130
|
-
if (value != undefined) {
|
|
131
|
-
isActive.value = value;
|
|
132
|
-
}
|
|
133
|
-
}, {
|
|
134
|
-
immediate: true
|
|
135
|
-
});
|
|
136
110
|
watch(escape, val => {
|
|
137
111
|
if (val) close();
|
|
138
112
|
});
|
|
139
|
-
watch(
|
|
140
|
-
|
|
141
|
-
|
|
113
|
+
watch(state, value => {
|
|
114
|
+
if (value === 'closed') {
|
|
115
|
+
confirmationValue.value = '';
|
|
116
|
+
touched.value = false;
|
|
117
|
+
}
|
|
142
118
|
});
|
|
143
119
|
// types here are used for fixing TS2349
|
|
144
120
|
watch(confirmationInput, val => {
|
|
@@ -171,7 +147,7 @@ var script = defineComponent({
|
|
|
171
147
|
isInvalid,
|
|
172
148
|
isConfirmationButtonDisabled,
|
|
173
149
|
touched,
|
|
174
|
-
|
|
150
|
+
state,
|
|
175
151
|
isInputActive,
|
|
176
152
|
escape,
|
|
177
153
|
rootStyles,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
4
|
-
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-1cc50ebb.js';
|
|
4
|
+
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-1e3c0ace.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './components/OrDatePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
7
7
|
import './components/OrHintV3/OrHint.js';
|
|
@@ -15,10 +15,10 @@ import { DropdownOpen } from './directives/dropdown-open.js';
|
|
|
15
15
|
import { s as script$7 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
16
16
|
import { s as script$8 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
17
17
|
import { s as script$9 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
18
|
-
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-
|
|
18
|
+
import { s as script$a } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
19
19
|
import { s as script$b } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
20
20
|
import { s as script$c } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
21
|
-
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-
|
|
21
|
+
import { s as script$d } from './OrPopover.vue_vue_type_script_lang-3592b581.js';
|
|
22
22
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
23
23
|
|
|
24
24
|
var script = defineComponent({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './components/OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-
|
|
4
|
-
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-
|
|
5
|
-
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$4 } from './OrDateTimePickerMonthSelect-1cc50ebb.js';
|
|
4
|
+
import { s as script$3, a as script$5, b as script$6 } from './OrDateTimePickerPopoverHeader-1e3c0ace.js';
|
|
5
|
+
import { s as script$7, a as script$8 } from './OrDateTimePickerTimeSelect-f43e1818.js';
|
|
6
6
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './components/OrDateTimePickerV3/styles.js';
|
|
7
7
|
import './components/OrErrorV3/OrError.js';
|
|
8
8
|
import './components/OrHintV3/OrHint.js';
|
|
@@ -14,10 +14,10 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
14
14
|
import { s as script$9 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
15
15
|
import { s as script$a } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
16
16
|
import { s as script$b } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
17
|
-
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
+
import { s as script$c } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
18
18
|
import { s as script$d } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
19
19
|
import { s as script$e } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
20
|
-
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-
|
|
20
|
+
import { s as script$f } from './OrPopover.vue_vue_type_script_lang-3592b581.js';
|
|
21
21
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
22
22
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
23
23
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { useDatePlaceholder } from './components/OrDateTimePickerV3/hooks/useDatePlaceholder.js';
|
|
3
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock,
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withCtx, createVNode } from 'vue';
|
|
4
4
|
import './components/OrButtonV3/OrButton.js';
|
|
5
5
|
import { s as script$3 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
6
6
|
import './components/OrIconV3/OrIcon.js';
|
|
@@ -8,8 +8,8 @@ import './components/OrIconButtonV3/OrIconButton.js';
|
|
|
8
8
|
import './components/OrMenuV3/OrMenu.js';
|
|
9
9
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
10
10
|
import { s as script$4 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
11
|
-
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
-
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$5 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
12
|
+
import { s as script$6 } from './OrMenu.vue_vue_type_script_lang-a8e1eb6d.js';
|
|
13
13
|
import { s as script$7 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
14
14
|
|
|
15
15
|
const DateTimePickerDateControl = [
|
|
@@ -255,7 +255,7 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
255
255
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
256
256
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
257
257
|
disabled: _ctx.dateFilter && !_ctx.dateFilter(value),
|
|
258
|
-
onClick:
|
|
258
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
259
259
|
}, {
|
|
260
260
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatDay(value)), 1 /* TEXT */)]),
|
|
261
261
|
|
|
@@ -415,15 +415,15 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
415
415
|
class: normalizeClass(_ctx.rootStyles)
|
|
416
416
|
}, [createVNode(_component_OrIconButton, {
|
|
417
417
|
icon: 'chevron_left',
|
|
418
|
-
onClick: _cache[0] || (_cache[0] =
|
|
418
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.goToPreviousMonth())
|
|
419
419
|
}), createElementVNode("div", _hoisted_1, [createVNode(_component_OrButton, {
|
|
420
420
|
ref: "yearButton",
|
|
421
421
|
variant: 'link',
|
|
422
422
|
color: 'inherit',
|
|
423
|
-
onClick: _cache[1] || (_cache[1] =
|
|
423
|
+
onClick: _cache[1] || (_cache[1] = $event => {
|
|
424
424
|
_ctx.monthMenu.close();
|
|
425
425
|
_ctx.yearMenu.open();
|
|
426
|
-
}
|
|
426
|
+
})
|
|
427
427
|
}, {
|
|
428
428
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
429
429
|
icon: _ctx.yearMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
@@ -433,10 +433,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
433
433
|
ref: "monthButton",
|
|
434
434
|
variant: 'link',
|
|
435
435
|
color: 'inherit',
|
|
436
|
-
onClick: _cache[2] || (_cache[2] =
|
|
436
|
+
onClick: _cache[2] || (_cache[2] = $event => {
|
|
437
437
|
_ctx.yearMenu.close();
|
|
438
438
|
_ctx.monthMenu.open();
|
|
439
|
-
}
|
|
439
|
+
})
|
|
440
440
|
}, {
|
|
441
441
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(_ctx.proxyModelValue)) + " ", 1 /* TEXT */), createVNode(_component_OrIcon, {
|
|
442
442
|
icon: _ctx.monthMenuState === 'open' ? 'arrow_drop_up' : 'arrow_drop_down'
|
|
@@ -451,10 +451,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
451
451
|
key: Number(value),
|
|
452
452
|
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
453
453
|
disabled: _ctx.yearFilter && !_ctx.yearFilter(value),
|
|
454
|
-
onClick:
|
|
454
|
+
onClick: $event => {
|
|
455
455
|
_ctx.proxyModelValue = value;
|
|
456
456
|
_ctx.yearMenu.close();
|
|
457
|
-
}
|
|
457
|
+
}
|
|
458
458
|
}, {
|
|
459
459
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatYear(value)), 1 /* TEXT */)]),
|
|
460
460
|
|
|
@@ -472,10 +472,10 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
472
472
|
key: Number(value),
|
|
473
473
|
selected: Number(value) === Number(_ctx.proxyModelValue),
|
|
474
474
|
disabled: _ctx.monthFilter && !_ctx.monthFilter(value),
|
|
475
|
-
onClick:
|
|
475
|
+
onClick: $event => {
|
|
476
476
|
_ctx.proxyModelValue = value;
|
|
477
477
|
_ctx.monthMenu.close();
|
|
478
|
-
}
|
|
478
|
+
}
|
|
479
479
|
}, {
|
|
480
480
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMonth(value)), 1 /* TEXT */)]),
|
|
481
481
|
|
|
@@ -486,7 +486,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
486
486
|
_: 1 /* STABLE */
|
|
487
487
|
}, 8 /* PROPS */, ["trigger"])]), createVNode(_component_OrIconButton, {
|
|
488
488
|
icon: 'chevron_right',
|
|
489
|
-
onClick: _cache[3] || (_cache[3] =
|
|
489
|
+
onClick: _cache[3] || (_cache[3] = $event => _ctx.goToNextMonth())
|
|
490
490
|
})], 2 /* CLASS */);
|
|
491
491
|
}
|
|
492
492
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import './components/OrLabelV3/OrLabel.js';
|
|
3
3
|
import { s as script$3 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
4
|
-
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, renderSlot
|
|
4
|
+
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode, withCtx, createTextVNode, toDisplayString, createElementVNode, renderSlot } from 'vue';
|
|
5
5
|
import './components/OrButtonV3/OrButton.js';
|
|
6
6
|
import { s as script$4 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
7
7
|
|
|
@@ -95,13 +95,13 @@ function render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
95
95
|
class: normalizeClass(_ctx.rootStyles)
|
|
96
96
|
}, [createVNode(_component_OrButton, {
|
|
97
97
|
variant: 'outlined',
|
|
98
|
-
onClick: _cache[0] || (_cache[0] =
|
|
98
|
+
onClick: _cache[0] || (_cache[0] = $event => _ctx.$emit('apply'))
|
|
99
99
|
}, {
|
|
100
100
|
default: withCtx(() => [createTextVNode(" Done ")]),
|
|
101
101
|
_: 1 /* STABLE */
|
|
102
102
|
}), createVNode(_component_OrButton, {
|
|
103
103
|
variant: 'text',
|
|
104
|
-
onClick: _cache[1] || (_cache[1] =
|
|
104
|
+
onClick: _cache[1] || (_cache[1] = $event => _ctx.$emit('reset'))
|
|
105
105
|
}, {
|
|
106
106
|
default: withCtx(() => [createTextVNode(" Cancel ")]),
|
|
107
107
|
_: 1 /* STABLE */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
2
|
import { useTimePlaceholder } from './components/OrDateTimePickerV3/hooks/useTimePlaceholder.js';
|
|
3
|
-
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock,
|
|
3
|
+
import { openBlock, createElementBlock, normalizeClass, Fragment, createTextVNode, toDisplayString, resolveComponent, createElementVNode, renderList, createBlock, withCtx } from 'vue';
|
|
4
4
|
import './components/OrButtonV3/OrButton.js';
|
|
5
5
|
import { s as script$2 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
6
6
|
|
|
@@ -216,7 +216,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
216
216
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
217
217
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
218
218
|
disabled: _ctx.hoursFilter && !_ctx.hoursFilter(value),
|
|
219
|
-
onClick:
|
|
219
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
220
220
|
}, {
|
|
221
221
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatHours(value)), 1 /* TEXT */)]),
|
|
222
222
|
|
|
@@ -231,7 +231,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
231
231
|
variant: Number(value) === Number(_ctx.proxyModelValue) ? 'contained' : 'text',
|
|
232
232
|
color: Number(value) === Number(_ctx.proxyModelValue) ? 'primary' : 'inherit',
|
|
233
233
|
disabled: _ctx.minutesFilter && !_ctx.minutesFilter(value),
|
|
234
|
-
onClick:
|
|
234
|
+
onClick: $event => _ctx.proxyModelValue = value
|
|
235
235
|
}, {
|
|
236
236
|
default: withCtx(() => [createTextVNode(toDisplayString(_ctx.formatMinutes(value)), 1 /* TEXT */)]),
|
|
237
237
|
|
|
@@ -3,7 +3,7 @@ import { IconButtonColor } from './components/OrIconButtonV3/props.js';
|
|
|
3
3
|
import { IconButtonRoot, IconButtonRootColors } from './components/OrIconButtonV3/styles.js';
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrTooltipV3/OrTooltip.js';
|
|
6
|
-
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-
|
|
6
|
+
import { s as script$2 } from './OrTooltip.vue_vue_type_script_lang-de8c7ff1.js';
|
|
7
7
|
import { IconSize } from './components/OrIconV3/props.js';
|
|
8
8
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
9
9
|
|
|
@@ -12,7 +12,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
12
12
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
13
13
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
14
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
15
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
16
16
|
|
|
17
17
|
var script = defineComponent({
|
|
18
18
|
name: 'OrInlineInput',
|
|
@@ -9,7 +9,7 @@ import { useControlAttributes } from './hooks/useControlAttributes.js';
|
|
|
9
9
|
import { useValidationAttributes } from './hooks/useValidationAttributes.js';
|
|
10
10
|
import { s as script$1 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
11
11
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
12
|
-
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
13
13
|
import { s as script$4 } from './OrInlineInputBox.vue_vue_type_script_lang-fe99c485.js';
|
|
14
14
|
|
|
15
15
|
var script = defineComponent({
|
|
@@ -7,7 +7,7 @@ import './components/OrHintV3/OrHint.js';
|
|
|
7
7
|
import { s as script$2 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
8
8
|
import './components/OrIconV3/OrIcon.js';
|
|
9
9
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
10
|
-
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$4 } from './OrIconButton.vue_vue_type_script_lang-17f98298.js';
|
|
11
11
|
import './components/OrInputBoxV3/OrInputBox.js';
|
|
12
12
|
import { s as script$5 } from './OrInputBox.vue_vue_type_script_lang-a21db166.js';
|
|
13
13
|
import './components/OrLabelV3/OrLabel.js';
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
|
+
import { MenuRoot } from './components/OrMenuV3/styles.js';
|
|
3
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
4
|
+
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
5
|
+
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-3592b581.js';
|
|
6
|
+
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
7
|
+
|
|
8
|
+
var script = defineComponent({
|
|
9
|
+
name: 'OrMenu',
|
|
10
|
+
components: {
|
|
11
|
+
OrPopover: script$1
|
|
12
|
+
},
|
|
13
|
+
inheritAttrs: false,
|
|
14
|
+
props: {
|
|
15
|
+
isOpen: {
|
|
16
|
+
type: Boolean,
|
|
17
|
+
default: false
|
|
18
|
+
},
|
|
19
|
+
trigger: {
|
|
20
|
+
type: HTMLElement,
|
|
21
|
+
default: undefined
|
|
22
|
+
},
|
|
23
|
+
placement: {
|
|
24
|
+
type: String,
|
|
25
|
+
default: PopoverPlacement.Bottom
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
emits: ['open', 'close'],
|
|
29
|
+
expose: ['root', 'open', 'close', 'toggle'],
|
|
30
|
+
setup(props, context) {
|
|
31
|
+
// Refs
|
|
32
|
+
const root = ref();
|
|
33
|
+
// Styles
|
|
34
|
+
const rootStyles = computed(() => ['or-menu-v3', ...MenuRoot]);
|
|
35
|
+
// State
|
|
36
|
+
const {
|
|
37
|
+
state,
|
|
38
|
+
open,
|
|
39
|
+
close,
|
|
40
|
+
toggle
|
|
41
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
42
|
+
// Handlers
|
|
43
|
+
function onClick(event) {
|
|
44
|
+
const path = event.composedPath();
|
|
45
|
+
if (path.some(_ref => {
|
|
46
|
+
let {
|
|
47
|
+
classList
|
|
48
|
+
} = _ref;
|
|
49
|
+
return classList === null || classList === void 0 ? void 0 : classList.contains('or-menu-item-v3');
|
|
50
|
+
})) {
|
|
51
|
+
close();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
root,
|
|
56
|
+
rootStyles,
|
|
57
|
+
state,
|
|
58
|
+
open,
|
|
59
|
+
close,
|
|
60
|
+
toggle,
|
|
61
|
+
onClick
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
export { script as s };
|