@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
|
@@ -18,7 +18,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
18
18
|
isInvalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
19
19
|
isConfirmationButtonDisabled: import("@vue/composition-api").ComputedRef<boolean>;
|
|
20
20
|
touched: import("@vue/composition-api").Ref<boolean>;
|
|
21
|
-
|
|
21
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
22
22
|
isInputActive: import("@vue/composition-api").Ref<boolean>;
|
|
23
23
|
escape: import("@vue/composition-api").ComputedRef<boolean>;
|
|
24
24
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -32,6 +32,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
32
32
|
onInputFocus: () => void;
|
|
33
33
|
onInputBlur: () => void;
|
|
34
34
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
35
|
+
isOpen: {
|
|
36
|
+
type: BooleanConstructor;
|
|
37
|
+
default: boolean;
|
|
38
|
+
};
|
|
35
39
|
titleText: {
|
|
36
40
|
type: StringConstructor;
|
|
37
41
|
required: false;
|
|
@@ -39,22 +43,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
39
43
|
};
|
|
40
44
|
confirmButtonText: {
|
|
41
45
|
type: StringConstructor;
|
|
42
|
-
required: false;
|
|
43
46
|
default: string;
|
|
44
47
|
};
|
|
45
48
|
cancelButtonText: {
|
|
46
49
|
type: StringConstructor;
|
|
47
|
-
required: false;
|
|
48
50
|
default: string;
|
|
49
51
|
};
|
|
50
52
|
confirmType: {
|
|
51
53
|
type: PropType<ConfirmType>;
|
|
52
|
-
required: false;
|
|
53
54
|
default: ConfirmType;
|
|
54
55
|
};
|
|
55
56
|
loading: {
|
|
56
57
|
type: BooleanConstructor;
|
|
57
|
-
required: false;
|
|
58
58
|
default: boolean;
|
|
59
59
|
};
|
|
60
60
|
disabled: {
|
|
@@ -64,30 +64,25 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
64
64
|
};
|
|
65
65
|
confirmationText: {
|
|
66
66
|
type: StringConstructor;
|
|
67
|
-
|
|
68
|
-
default: null;
|
|
67
|
+
default: undefined;
|
|
69
68
|
};
|
|
70
69
|
textConfirmationLabel: {
|
|
71
70
|
type: StringConstructor;
|
|
72
|
-
|
|
73
|
-
default: null;
|
|
71
|
+
default: undefined;
|
|
74
72
|
};
|
|
75
73
|
textConfirmationPlaceholder: {
|
|
76
74
|
type: StringConstructor;
|
|
77
|
-
|
|
78
|
-
default: null;
|
|
75
|
+
default: undefined;
|
|
79
76
|
};
|
|
80
77
|
textConfirmationError: {
|
|
81
78
|
type: StringConstructor;
|
|
82
|
-
|
|
83
|
-
default: null;
|
|
79
|
+
default: undefined;
|
|
84
80
|
};
|
|
81
|
+
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
85
82
|
isOpen: {
|
|
86
83
|
type: BooleanConstructor;
|
|
87
|
-
|
|
88
|
-
default: undefined;
|
|
84
|
+
default: boolean;
|
|
89
85
|
};
|
|
90
|
-
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
91
86
|
titleText: {
|
|
92
87
|
type: StringConstructor;
|
|
93
88
|
required: false;
|
|
@@ -95,22 +90,18 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
95
90
|
};
|
|
96
91
|
confirmButtonText: {
|
|
97
92
|
type: StringConstructor;
|
|
98
|
-
required: false;
|
|
99
93
|
default: string;
|
|
100
94
|
};
|
|
101
95
|
cancelButtonText: {
|
|
102
96
|
type: StringConstructor;
|
|
103
|
-
required: false;
|
|
104
97
|
default: string;
|
|
105
98
|
};
|
|
106
99
|
confirmType: {
|
|
107
100
|
type: PropType<ConfirmType>;
|
|
108
|
-
required: false;
|
|
109
101
|
default: ConfirmType;
|
|
110
102
|
};
|
|
111
103
|
loading: {
|
|
112
104
|
type: BooleanConstructor;
|
|
113
|
-
required: false;
|
|
114
105
|
default: boolean;
|
|
115
106
|
};
|
|
116
107
|
disabled: {
|
|
@@ -120,30 +111,22 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
120
111
|
};
|
|
121
112
|
confirmationText: {
|
|
122
113
|
type: StringConstructor;
|
|
123
|
-
|
|
124
|
-
default: null;
|
|
114
|
+
default: undefined;
|
|
125
115
|
};
|
|
126
116
|
textConfirmationLabel: {
|
|
127
117
|
type: StringConstructor;
|
|
128
|
-
|
|
129
|
-
default: null;
|
|
118
|
+
default: undefined;
|
|
130
119
|
};
|
|
131
120
|
textConfirmationPlaceholder: {
|
|
132
121
|
type: StringConstructor;
|
|
133
|
-
|
|
134
|
-
default: null;
|
|
122
|
+
default: undefined;
|
|
135
123
|
};
|
|
136
124
|
textConfirmationError: {
|
|
137
125
|
type: StringConstructor;
|
|
138
|
-
required: false;
|
|
139
|
-
default: null;
|
|
140
|
-
};
|
|
141
|
-
isOpen: {
|
|
142
|
-
type: BooleanConstructor;
|
|
143
|
-
required: false;
|
|
144
126
|
default: undefined;
|
|
145
127
|
};
|
|
146
128
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
129
|
+
isOpen: boolean;
|
|
147
130
|
titleText: string;
|
|
148
131
|
confirmButtonText: string;
|
|
149
132
|
cancelButtonText: string;
|
|
@@ -154,7 +137,6 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
154
137
|
textConfirmationLabel: string;
|
|
155
138
|
textConfirmationPlaceholder: string;
|
|
156
139
|
textConfirmationError: string;
|
|
157
|
-
isOpen: boolean;
|
|
158
140
|
} & {} & {
|
|
159
141
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
160
142
|
}, import("@vue/composition-api").ShallowUnwrapRef<{
|
|
@@ -174,7 +156,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
174
156
|
isInvalid: import("@vue/composition-api").ComputedRef<boolean>;
|
|
175
157
|
isConfirmationButtonDisabled: import("@vue/composition-api").ComputedRef<boolean>;
|
|
176
158
|
touched: import("@vue/composition-api").Ref<boolean>;
|
|
177
|
-
|
|
159
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
178
160
|
isInputActive: import("@vue/composition-api").Ref<boolean>;
|
|
179
161
|
escape: import("@vue/composition-api").ComputedRef<boolean>;
|
|
180
162
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
@@ -188,6 +170,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
188
170
|
onInputFocus: () => void;
|
|
189
171
|
onInputBlur: () => void;
|
|
190
172
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
173
|
+
isOpen: boolean;
|
|
191
174
|
titleText: string;
|
|
192
175
|
confirmButtonText: string;
|
|
193
176
|
cancelButtonText: string;
|
|
@@ -198,10 +181,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
198
181
|
textConfirmationLabel: string;
|
|
199
182
|
textConfirmationPlaceholder: string;
|
|
200
183
|
textConfirmationError: string;
|
|
201
|
-
isOpen: boolean;
|
|
202
184
|
} & {} & {
|
|
203
185
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
204
186
|
}, {
|
|
187
|
+
isOpen: boolean;
|
|
205
188
|
titleText: string;
|
|
206
189
|
confirmButtonText: string;
|
|
207
190
|
cancelButtonText: string;
|
|
@@ -212,6 +195,5 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
212
195
|
textConfirmationLabel: string;
|
|
213
196
|
textConfirmationPlaceholder: string;
|
|
214
197
|
textConfirmationError: string;
|
|
215
|
-
isOpen: boolean;
|
|
216
198
|
}, true>);
|
|
217
199
|
export default _default;
|
|
@@ -40,6 +40,7 @@ import '../OrPopoverV3/styles.js';
|
|
|
40
40
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
41
41
|
import '../OrBottomSheetV3/props.js';
|
|
42
42
|
import '../OrBottomSheetV3/styles.js';
|
|
43
|
+
import '../../hooks/usePopoverState.js';
|
|
43
44
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
44
45
|
import '../OrInputBoxV3/OrInputBox.js';
|
|
45
46
|
import '../OrInputBoxV3/styles.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
4
|
-
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-0072ef90.js';
|
|
4
|
+
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-aab75fad.js';
|
|
5
5
|
import { DatePicker, DatePickerPopover } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
7
7
|
import __vue_component__$2 from '../OrHintV3/OrHint.js';
|
|
@@ -24,6 +24,7 @@ import '../OrLoaderV3/props.js';
|
|
|
24
24
|
import '../OrLoaderV3/styles.js';
|
|
25
25
|
import '../OrMenuV3/OrMenu.js';
|
|
26
26
|
import '../OrMenuV3/styles.js';
|
|
27
|
+
import '../../hooks/usePopoverState.js';
|
|
27
28
|
import '../OrPopoverV3/props.js';
|
|
28
29
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
29
30
|
import '../OrMenuItemV3/styles.js';
|
|
@@ -291,7 +292,7 @@ var __vue_render__ = function () {
|
|
|
291
292
|
"placement": 'bottom-start'
|
|
292
293
|
},
|
|
293
294
|
on: {
|
|
294
|
-
"
|
|
295
|
+
"close": function ($event) {
|
|
295
296
|
return _vm.reset();
|
|
296
297
|
}
|
|
297
298
|
}
|
|
@@ -347,7 +348,6 @@ var __vue_render__ = function () {
|
|
|
347
348
|
},
|
|
348
349
|
on: {
|
|
349
350
|
"click": function ($event) {
|
|
350
|
-
$event.stopPropagation();
|
|
351
351
|
return _vm.$emit('update:modelValue', undefined);
|
|
352
352
|
}
|
|
353
353
|
}
|
|
@@ -2,7 +2,7 @@ export { default as OrDatePickerV3 } from './OrDatePicker.js';
|
|
|
2
2
|
export { InputBoxSize as DatePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import '../OrDateTimePickerV3/hooks/useCurrentDate.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-0072ef90.js';
|
|
6
6
|
import '../OrDateTimePickerV3/hooks/useDatePlaceholder.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
8
|
import '../OrButtonV3/OrButton.js';
|
|
@@ -33,12 +33,13 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
33
33
|
import 'portal-vue';
|
|
34
34
|
import '../../hooks/useElevation.js';
|
|
35
35
|
import '../../utils/isVisible.js';
|
|
36
|
+
import '../../hooks/usePopoverState.js';
|
|
36
37
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
37
38
|
import '../OrMenuV3/OrMenu.js';
|
|
38
39
|
import '../OrMenuV3/styles.js';
|
|
39
40
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
40
41
|
import '../OrMenuItemV3/styles.js';
|
|
41
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
42
|
+
import '../../OrDateTimePickerPopoverHeader-aab75fad.js';
|
|
42
43
|
import '../OrLabelV3/OrLabel.js';
|
|
43
44
|
import '../OrLabelV3/props.js';
|
|
44
45
|
import '../OrLabelV3/styles.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
2
|
import { useCurrentDate } from './hooks/useCurrentDate.js';
|
|
3
|
-
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-
|
|
4
|
-
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-
|
|
5
|
-
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-
|
|
3
|
+
import { O as OrDateTimePickerDateControl, a as OrDateTimePickerDateSelect, b as OrDateTimePickerMonthSelect } from '../../OrDateTimePickerMonthSelect-0072ef90.js';
|
|
4
|
+
import { O as OrDateTimePickerMobileControl, a as OrDateTimePickerPopoverFooter, b as OrDateTimePickerPopoverHeader } from '../../OrDateTimePickerPopoverHeader-aab75fad.js';
|
|
5
|
+
import { O as OrDateTimePickerTimeControl, a as OrDateTimePickerTimeSelect } from '../../OrDateTimePickerTimeSelect-7ce94b9a.js';
|
|
6
6
|
import { DateTimePicker, DateTimePickerDatePopover, DateTimePickerTimePopover } from './styles.js';
|
|
7
7
|
import __vue_component__$1 from '../OrErrorV3/OrError.js';
|
|
8
8
|
import __vue_component__$2 from '../OrHintV3/OrHint.js';
|
|
@@ -25,6 +25,7 @@ import '../OrLoaderV3/props.js';
|
|
|
25
25
|
import '../OrLoaderV3/styles.js';
|
|
26
26
|
import '../OrMenuV3/OrMenu.js';
|
|
27
27
|
import '../OrMenuV3/styles.js';
|
|
28
|
+
import '../../hooks/usePopoverState.js';
|
|
28
29
|
import '../OrPopoverV3/props.js';
|
|
29
30
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
30
31
|
import '../OrMenuItemV3/styles.js';
|
|
@@ -366,7 +367,7 @@ var __vue_render__ = function () {
|
|
|
366
367
|
"placement": 'bottom-start'
|
|
367
368
|
},
|
|
368
369
|
on: {
|
|
369
|
-
"
|
|
370
|
+
"close": function ($event) {
|
|
370
371
|
return _vm.reset();
|
|
371
372
|
}
|
|
372
373
|
}
|
|
@@ -426,7 +427,7 @@ var __vue_render__ = function () {
|
|
|
426
427
|
"placement": 'bottom-start'
|
|
427
428
|
},
|
|
428
429
|
on: {
|
|
429
|
-
"
|
|
430
|
+
"close": function ($event) {
|
|
430
431
|
return _vm.reset();
|
|
431
432
|
}
|
|
432
433
|
}
|
|
@@ -474,7 +475,6 @@ var __vue_render__ = function () {
|
|
|
474
475
|
},
|
|
475
476
|
on: {
|
|
476
477
|
"click": function ($event) {
|
|
477
|
-
$event.stopPropagation();
|
|
478
478
|
return _vm.$emit('update:modelValue', undefined);
|
|
479
479
|
}
|
|
480
480
|
}
|
|
@@ -2,7 +2,7 @@ export { default as OrDateTimePickerV3 } from './OrDateTimePicker.js';
|
|
|
2
2
|
export { InputBoxSize as DateTimePickerSize } from '../OrInputBoxV3/props.js';
|
|
3
3
|
import 'vue-demi';
|
|
4
4
|
import './hooks/useCurrentDate.js';
|
|
5
|
-
import '../../OrDateTimePickerMonthSelect-
|
|
5
|
+
import '../../OrDateTimePickerMonthSelect-0072ef90.js';
|
|
6
6
|
import './hooks/useDatePlaceholder.js';
|
|
7
7
|
import '../../normalize-component-6e8e3d80.js';
|
|
8
8
|
import '../OrButtonV3/OrButton.js';
|
|
@@ -33,16 +33,17 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
33
33
|
import 'portal-vue';
|
|
34
34
|
import '../../hooks/useElevation.js';
|
|
35
35
|
import '../../utils/isVisible.js';
|
|
36
|
+
import '../../hooks/usePopoverState.js';
|
|
36
37
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
37
38
|
import '../OrMenuV3/OrMenu.js';
|
|
38
39
|
import '../OrMenuV3/styles.js';
|
|
39
40
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
40
41
|
import '../OrMenuItemV3/styles.js';
|
|
41
|
-
import '../../OrDateTimePickerPopoverHeader-
|
|
42
|
+
import '../../OrDateTimePickerPopoverHeader-aab75fad.js';
|
|
42
43
|
import '../OrLabelV3/OrLabel.js';
|
|
43
44
|
import '../OrLabelV3/props.js';
|
|
44
45
|
import '../OrLabelV3/styles.js';
|
|
45
|
-
import '../../OrDateTimePickerTimeSelect-
|
|
46
|
+
import '../../OrDateTimePickerTimeSelect-7ce94b9a.js';
|
|
46
47
|
import './hooks/useTimePlaceholder.js';
|
|
47
48
|
import './styles.js';
|
|
48
49
|
import '../OrErrorV3/OrError.js';
|
|
@@ -6,8 +6,8 @@ import __vue_component__$2 from '../OrTooltipV3/OrTooltip.js';
|
|
|
6
6
|
import { IconSize } from '../OrIconV3/props.js';
|
|
7
7
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
8
8
|
import '../OrIconV3/styles.js';
|
|
9
|
-
import '@vueuse/core';
|
|
10
9
|
import '../OrTooltipV3/styles.js';
|
|
10
|
+
import '@vueuse/core';
|
|
11
11
|
import '../OrPopoverV3/OrPopover.js';
|
|
12
12
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
13
13
|
import '../OrPopoverV3/props.js';
|
|
@@ -21,6 +21,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
21
21
|
import 'portal-vue';
|
|
22
22
|
import '../../hooks/useElevation.js';
|
|
23
23
|
import '../../utils/isVisible.js';
|
|
24
|
+
import '../../hooks/usePopoverState.js';
|
|
24
25
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
25
26
|
|
|
26
27
|
var script = defineComponent({
|
|
@@ -7,8 +7,8 @@ import '../OrIconV3/OrIcon.js';
|
|
|
7
7
|
import '../OrIconV3/styles.js';
|
|
8
8
|
import '../../normalize-component-6e8e3d80.js';
|
|
9
9
|
import '../OrTooltipV3/OrTooltip.js';
|
|
10
|
-
import '@vueuse/core';
|
|
11
10
|
import '../OrTooltipV3/styles.js';
|
|
11
|
+
import '@vueuse/core';
|
|
12
12
|
import '../OrPopoverV3/OrPopover.js';
|
|
13
13
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
14
14
|
import '../OrPopoverV3/props.js';
|
|
@@ -22,4 +22,5 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
22
22
|
import 'portal-vue';
|
|
23
23
|
import '../../hooks/useElevation.js';
|
|
24
24
|
import '../../utils/isVisible.js';
|
|
25
|
+
import '../../hooks/usePopoverState.js';
|
|
25
26
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
@@ -19,8 +19,8 @@ import '../OrIconButtonV3/styles.js';
|
|
|
19
19
|
import '../OrIconV3/OrIcon.js';
|
|
20
20
|
import '../OrIconV3/styles.js';
|
|
21
21
|
import '../OrTooltipV3/OrTooltip.js';
|
|
22
|
-
import '@vueuse/core';
|
|
23
22
|
import '../OrTooltipV3/styles.js';
|
|
23
|
+
import '@vueuse/core';
|
|
24
24
|
import '../OrPopoverV3/OrPopover.js';
|
|
25
25
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
26
26
|
import '../OrPopoverV3/props.js';
|
|
@@ -34,6 +34,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
34
34
|
import 'portal-vue';
|
|
35
35
|
import '../../hooks/useElevation.js';
|
|
36
36
|
import '../../utils/isVisible.js';
|
|
37
|
+
import '../../hooks/usePopoverState.js';
|
|
37
38
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
38
39
|
import '../OrInlineInputBoxV3/styles.js';
|
|
39
40
|
|
|
@@ -15,8 +15,8 @@ import '../OrIconButtonV3/styles.js';
|
|
|
15
15
|
import '../OrIconV3/OrIcon.js';
|
|
16
16
|
import '../OrIconV3/styles.js';
|
|
17
17
|
import '../OrTooltipV3/OrTooltip.js';
|
|
18
|
-
import '@vueuse/core';
|
|
19
18
|
import '../OrTooltipV3/styles.js';
|
|
19
|
+
import '@vueuse/core';
|
|
20
20
|
import '../OrPopoverV3/OrPopover.js';
|
|
21
21
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
22
22
|
import '../OrPopoverV3/props.js';
|
|
@@ -30,6 +30,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
30
30
|
import 'portal-vue';
|
|
31
31
|
import '../../hooks/useElevation.js';
|
|
32
32
|
import '../../utils/isVisible.js';
|
|
33
|
+
import '../../hooks/usePopoverState.js';
|
|
33
34
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
34
35
|
import '../OrInlineInputBoxV3/OrInlineInputBox.js';
|
|
35
36
|
import '../OrInlineInputBoxV3/styles.js';
|
|
@@ -17,8 +17,8 @@ import '../OrIconButtonV3/styles.js';
|
|
|
17
17
|
import '../OrIconV3/OrIcon.js';
|
|
18
18
|
import '../OrIconV3/styles.js';
|
|
19
19
|
import '../OrTooltipV3/OrTooltip.js';
|
|
20
|
-
import '@vueuse/core';
|
|
21
20
|
import '../OrTooltipV3/styles.js';
|
|
21
|
+
import '@vueuse/core';
|
|
22
22
|
import '../OrPopoverV3/OrPopover.js';
|
|
23
23
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
24
24
|
import '../OrPopoverV3/props.js';
|
|
@@ -32,6 +32,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
32
32
|
import 'portal-vue';
|
|
33
33
|
import '../../hooks/useElevation.js';
|
|
34
34
|
import '../../utils/isVisible.js';
|
|
35
|
+
import '../../hooks/usePopoverState.js';
|
|
35
36
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
36
37
|
import '../OrInlineInputBoxV3/props.js';
|
|
37
38
|
import '../OrInlineInputBoxV3/styles.js';
|
|
@@ -13,8 +13,8 @@ import '../OrIconButtonV3/styles.js';
|
|
|
13
13
|
import '../OrIconV3/OrIcon.js';
|
|
14
14
|
import '../OrIconV3/styles.js';
|
|
15
15
|
import '../OrTooltipV3/OrTooltip.js';
|
|
16
|
-
import '@vueuse/core';
|
|
17
16
|
import '../OrTooltipV3/styles.js';
|
|
17
|
+
import '@vueuse/core';
|
|
18
18
|
import '../OrPopoverV3/OrPopover.js';
|
|
19
19
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
20
20
|
import '../OrPopoverV3/props.js';
|
|
@@ -28,6 +28,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
28
28
|
import 'portal-vue';
|
|
29
29
|
import '../../hooks/useElevation.js';
|
|
30
30
|
import '../../utils/isVisible.js';
|
|
31
|
+
import '../../hooks/usePopoverState.js';
|
|
31
32
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
32
33
|
import '../OrInlineInputBoxV3/OrInlineInputBox.js';
|
|
33
34
|
import '../OrInlineInputBoxV3/props.js';
|
|
@@ -22,8 +22,8 @@ import '../OrIconV3/styles.js';
|
|
|
22
22
|
import '../OrIconButtonV3/props.js';
|
|
23
23
|
import '../OrIconButtonV3/styles.js';
|
|
24
24
|
import '../OrTooltipV3/OrTooltip.js';
|
|
25
|
-
import '@vueuse/core';
|
|
26
25
|
import '../OrTooltipV3/styles.js';
|
|
26
|
+
import '@vueuse/core';
|
|
27
27
|
import '../OrPopoverV3/OrPopover.js';
|
|
28
28
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
29
29
|
import '../OrPopoverV3/props.js';
|
|
@@ -37,6 +37,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
37
37
|
import 'portal-vue';
|
|
38
38
|
import '../../hooks/useElevation.js';
|
|
39
39
|
import '../../utils/isVisible.js';
|
|
40
|
+
import '../../hooks/usePopoverState.js';
|
|
40
41
|
import '../OrInputBoxV3/styles.js';
|
|
41
42
|
import '../OrLabelV3/props.js';
|
|
42
43
|
import '../OrLabelV3/styles.js';
|
|
@@ -15,8 +15,8 @@ import '../OrIconButtonV3/OrIconButton.js';
|
|
|
15
15
|
import '../OrIconButtonV3/props.js';
|
|
16
16
|
import '../OrIconButtonV3/styles.js';
|
|
17
17
|
import '../OrTooltipV3/OrTooltip.js';
|
|
18
|
-
import '@vueuse/core';
|
|
19
18
|
import '../OrTooltipV3/styles.js';
|
|
19
|
+
import '@vueuse/core';
|
|
20
20
|
import '../OrPopoverV3/OrPopover.js';
|
|
21
21
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
22
22
|
import '../OrPopoverV3/props.js';
|
|
@@ -30,6 +30,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
30
30
|
import 'portal-vue';
|
|
31
31
|
import '../../hooks/useElevation.js';
|
|
32
32
|
import '../../utils/isVisible.js';
|
|
33
|
+
import '../../hooks/usePopoverState.js';
|
|
33
34
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
34
35
|
import '../OrInputBoxV3/OrInputBox.js';
|
|
35
36
|
import '../OrInputBoxV3/styles.js';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { defineComponent, ref, computed } from 'vue-demi';
|
|
1
|
+
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
2
2
|
import { MenuRoot } from './styles.js';
|
|
3
3
|
import __vue_component__$1 from '../OrPopoverV3/OrPopover.js';
|
|
4
|
+
import { usePopoverState } from '../../hooks/usePopoverState.js';
|
|
4
5
|
import { PopoverPlacement } from '../OrPopoverV3/props.js';
|
|
5
6
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
6
7
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
@@ -24,6 +25,10 @@ var script = defineComponent({
|
|
|
24
25
|
},
|
|
25
26
|
inheritAttrs: false,
|
|
26
27
|
props: {
|
|
28
|
+
isOpen: {
|
|
29
|
+
type: Boolean,
|
|
30
|
+
default: false
|
|
31
|
+
},
|
|
27
32
|
trigger: {
|
|
28
33
|
type: HTMLElement,
|
|
29
34
|
default: undefined
|
|
@@ -33,68 +38,36 @@ var script = defineComponent({
|
|
|
33
38
|
default: PopoverPlacement.Bottom
|
|
34
39
|
}
|
|
35
40
|
},
|
|
36
|
-
emits: ['
|
|
37
|
-
expose: ['root', '
|
|
38
|
-
setup() {
|
|
41
|
+
emits: ['open', 'close'],
|
|
42
|
+
expose: ['root', 'open', 'close', 'toggle'],
|
|
43
|
+
setup(props, context) {
|
|
39
44
|
// Refs
|
|
40
45
|
const root = ref();
|
|
41
|
-
const popover = ref();
|
|
42
|
-
const popoverRoot = computed(() => {
|
|
43
|
-
var _a;
|
|
44
|
-
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
45
|
-
});
|
|
46
|
-
const popoverState = computed(() => {
|
|
47
|
-
var _a;
|
|
48
|
-
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
49
|
-
});
|
|
50
46
|
// Styles
|
|
51
47
|
const rootStyles = computed(() => ['or-menu-v3', ...MenuRoot]);
|
|
52
48
|
// State
|
|
53
|
-
const
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
const popoverInstance = popover.value;
|
|
60
|
-
if (popoverInstance) {
|
|
61
|
-
popoverInstance.open();
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
function close() {
|
|
65
|
-
const popoverInstance = popover.value;
|
|
66
|
-
if (popoverInstance) {
|
|
67
|
-
popoverInstance.close();
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
function toggle() {
|
|
71
|
-
isOpen.value ? close() : open();
|
|
72
|
-
}
|
|
49
|
+
const {
|
|
50
|
+
state,
|
|
51
|
+
open,
|
|
52
|
+
close,
|
|
53
|
+
toggle
|
|
54
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
73
55
|
// Handlers
|
|
74
56
|
function onClick(event) {
|
|
75
57
|
const path = event.composedPath();
|
|
76
|
-
|
|
58
|
+
if (path.some(_ref => {
|
|
77
59
|
let {
|
|
78
60
|
classList
|
|
79
61
|
} = _ref;
|
|
80
|
-
return
|
|
81
|
-
})
|
|
82
|
-
let {
|
|
83
|
-
classList
|
|
84
|
-
} = _ref2;
|
|
85
|
-
return classList;
|
|
86
|
-
});
|
|
87
|
-
if (classLists.some(classList => classList.contains('or-menu-item-v3'))) {
|
|
62
|
+
return classList === null || classList === void 0 ? void 0 : classList.contains('or-menu-item-v3');
|
|
63
|
+
})) {
|
|
88
64
|
close();
|
|
89
65
|
}
|
|
90
66
|
}
|
|
91
67
|
return {
|
|
92
68
|
root,
|
|
93
|
-
popover,
|
|
94
|
-
popoverRoot,
|
|
95
|
-
state: popoverState,
|
|
96
69
|
rootStyles,
|
|
97
|
-
|
|
70
|
+
state,
|
|
98
71
|
open,
|
|
99
72
|
close,
|
|
100
73
|
toggle,
|
|
@@ -112,8 +85,8 @@ var __vue_render__ = function () {
|
|
|
112
85
|
var _h = _vm.$createElement;
|
|
113
86
|
var _c = _vm._self._c || _h;
|
|
114
87
|
return _c('OrPopover', {
|
|
115
|
-
ref: "popover",
|
|
116
88
|
attrs: {
|
|
89
|
+
"is-open": _vm.state === 'open',
|
|
117
90
|
"variant": 'auto',
|
|
118
91
|
"trigger": _vm.trigger,
|
|
119
92
|
"placement": _vm.placement,
|
|
@@ -121,18 +94,18 @@ var __vue_render__ = function () {
|
|
|
121
94
|
"disable-default-styles": false
|
|
122
95
|
},
|
|
123
96
|
on: {
|
|
124
|
-
"
|
|
125
|
-
return _vm
|
|
97
|
+
"open": function ($event) {
|
|
98
|
+
return _vm.open();
|
|
99
|
+
},
|
|
100
|
+
"close": function ($event) {
|
|
101
|
+
return _vm.close();
|
|
126
102
|
}
|
|
127
103
|
}
|
|
128
104
|
}, [_c('div', _vm._b({
|
|
129
105
|
ref: "root",
|
|
130
106
|
class: _vm.rootStyles,
|
|
131
107
|
on: {
|
|
132
|
-
"click":
|
|
133
|
-
$event.stopPropagation();
|
|
134
|
-
return _vm.onClick.apply(null, arguments);
|
|
135
|
-
}
|
|
108
|
+
"click": _vm.onClick
|
|
136
109
|
}
|
|
137
110
|
}, 'div', _vm.$attrs, false), [_vm._t("default")], 2)]);
|
|
138
111
|
};
|