@onereach/ui-components 4.6.3-beta.2791.0 → 4.6.3
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-0bae9283.js → OrDateTimePickerMonthSelect-30f79990.js} +3 -3
- package/dist/bundled/v2/{OrDateTimePickerPopoverHeader-7c87f38a.js → OrDateTimePickerPopoverHeader-61faaa61.js} +3 -3
- package/dist/bundled/v2/{OrDateTimePickerTimeSelect-3d0ef650.js → OrDateTimePickerTimeSelect-2a5772a9.js} +2 -2
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.js +47 -30
- package/dist/bundled/v2/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/bundled/v2/components/OrBottomSheetV3/index.js +0 -1
- package/dist/bundled/v2/components/OrCardCollectionV3/OrCardCollection.js +1 -2
- package/dist/bundled/v2/components/OrCardCollectionV3/index.js +1 -2
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.js +52 -28
- package/dist/bundled/v2/components/OrConfirmV3/OrConfirm.vue.d.ts +36 -18
- package/dist/bundled/v2/components/OrConfirmV3/index.js +0 -1
- package/dist/bundled/v2/components/OrDatePickerV3/OrDatePicker.js +30 -26
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +2 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +32 -28
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +3 -4
- package/dist/bundled/v2/components/OrIconButtonV3/OrIconButton.js +1 -2
- package/dist/bundled/v2/components/OrIconButtonV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +1 -2
- package/dist/bundled/v2/components/OrInlineInputV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +1 -2
- package/dist/bundled/v2/components/OrInlineTextareaV3/index.js +1 -2
- package/dist/bundled/v2/components/OrInputBoxV3/OrInputBox.js +86 -2
- package/dist/bundled/v2/components/OrInputBoxV3/index.js +1 -1
- package/dist/bundled/v2/components/OrInputV3/OrInput.js +50 -46
- package/dist/bundled/v2/components/OrInputV3/index.js +1 -2
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.js +48 -21
- package/dist/bundled/v2/components/OrMenuV3/OrMenu.vue.d.ts +16 -13
- package/dist/bundled/v2/components/OrMenuV3/index.js +0 -1
- package/dist/bundled/v2/components/OrModalV3/OrModal.js +65 -220
- package/dist/bundled/v2/components/OrModalV3/OrModal.vue.d.ts +19 -13
- package/dist/bundled/v2/components/OrModalV3/index.js +8 -9
- package/dist/bundled/v2/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v2/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v2/components/OrNotificationV3/OrNotification.js +1 -2
- package/dist/bundled/v2/components/OrNotificationV3/index.js +1 -2
- package/dist/bundled/v2/components/OrPaginationV3/OrPagination.js +1 -2
- package/dist/bundled/v2/components/OrPaginationV3/index.js +0 -1
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +102 -31
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +12 -19
- package/dist/bundled/v2/components/OrPopoverV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/OrSearch.js +0 -1
- package/dist/bundled/v2/components/OrSearchV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/OrSelect.js +0 -1
- package/dist/bundled/v2/components/OrSelectV3/index.js +0 -1
- package/dist/bundled/v2/components/OrSidebarV3/OrSidebar.js +0 -1
- package/dist/bundled/v2/components/OrSidebarV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/OrTabs.js +0 -1
- package/dist/bundled/v2/components/OrTabsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTagV3/OrTag.js +1 -2
- package/dist/bundled/v2/components/OrTagV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTagsV3/OrTags.js +0 -1
- package/dist/bundled/v2/components/OrTagsV3/index.js +0 -1
- package/dist/bundled/v2/components/OrTimePickerV3/OrTimePicker.js +30 -26
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +2 -3
- package/dist/bundled/v2/components/OrToastContainerV3/OrToastContainer.js +0 -1
- package/dist/bundled/v2/components/OrToastContainerV3/index.js +0 -1
- package/dist/bundled/v2/components/OrToastV3/OrToast.js +1 -2
- package/dist/bundled/v2/components/OrToastV3/index.js +1 -2
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.js +39 -32
- package/dist/bundled/v2/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -20
- package/dist/bundled/v2/components/OrTooltipV3/index.js +1 -2
- package/dist/bundled/v2/components/index.js +3 -4
- package/dist/bundled/v2/hooks/index.d.ts +0 -1
- package/dist/bundled/v2/hooks/index.js +0 -1
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v2/hooks/useElevation.js +1 -3
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v2/index.js +4 -5
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-abb955a4.js → OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js} +45 -28
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-0aea0b97.js → OrCardCollection.vue_vue_type_script_lang-f2d222a5.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-87ac7c67.js → OrConfirm.vue_vue_type_script_lang-b1b13331.js} +52 -28
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-e5724b48.js → OrDatePicker.vue_vue_type_script_lang-31f5d798.js} +6 -6
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-10e6becd.js → OrDateTimePicker.vue_vue_type_script_lang-a0354296.js} +7 -7
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-e8b9b8c9.js → OrDateTimePickerMonthSelect-98b935cb.js} +5 -5
- package/dist/bundled/v3/{OrDateTimePickerPopoverHeader-f81b902f.js → OrDateTimePickerPopoverHeader-eff55bd9.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerTimeSelect-8bdb97b7.js → OrDateTimePickerTimeSelect-2f1a2767.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-80a5c7dd.js → OrIconButton.vue_vue_type_script_lang-5bba9f3f.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-858acf13.js → OrInlineInput.vue_vue_type_script_lang-3c6b0958.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-83e49316.js → OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-7e6ee1dd.js → OrInput.vue_vue_type_script_lang-d08b3796.js} +2 -2
- package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-ede24b04.js +95 -0
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-115f2c60.js +93 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-202c4e2f.js +71 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-786d104f.js → OrNotification.vue_vue_type_script_lang-463e1a82.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-e0cfbd77.js → OrPagination.vue_vue_type_script_lang-bdc8d9fb.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-05151000.js → OrPopover.vue_vue_type_script_lang-7b1b2488.js} +98 -27
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-0650aac4.js → OrSearch.vue_vue_type_script_lang-940d8e1f.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-dbd1a917.js → OrSelect.vue_vue_type_script_lang-1c77663e.js} +4 -4
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-a8644bf3.js → OrSidebar.vue_vue_type_script_lang-780eaa84.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-c6de8eb1.js → OrTabs.vue_vue_type_script_lang-9d4221f1.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-d4ada34f.js → OrTag.vue_vue_type_script_lang-09948d1f.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-a687ffc9.js → OrTags.vue_vue_type_script_lang-71fb4f1d.js} +2 -2
- package/dist/bundled/v3/{OrTextarea.vue_vue_type_script_lang-7b74a80e.js → OrTextarea.vue_vue_type_script_lang-af284089.js} +1 -1
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-f2d29cdb.js → OrTimePicker.vue_vue_type_script_lang-21be27c6.js} +6 -6
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-bb3db5bf.js +72 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +6 -7
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +2 -3
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +12 -13
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +11 -12
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -12
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +35 -18
- package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -9
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +26 -28
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +10 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +28 -30
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +11 -12
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +7 -8
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +6 -7
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +8 -9
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +7 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +8 -9
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +7 -8
- package/dist/bundled/v3/components/OrInputBoxV3/OrInputBox.js +13 -4
- package/dist/bundled/v3/components/OrInputBoxV3/index.js +2 -1
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +31 -34
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -9
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +8 -9
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +5 -13
- package/dist/bundled/v3/components/OrMenuV3/index.js +4 -5
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +33 -36
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +16 -14
- package/dist/bundled/v3/components/OrModalV3/index.js +14 -15
- package/dist/bundled/v3/components/OrModalV3/styles.d.ts +3 -0
- package/dist/bundled/v3/components/OrModalV3/styles.js +16 -1
- package/dist/bundled/v3/components/OrNotificationV3/OrNotification.js +8 -9
- package/dist/bundled/v3/components/OrNotificationV3/index.js +7 -8
- package/dist/bundled/v3/components/OrOverlayV3/OrOverlay.js +2 -2
- package/dist/bundled/v3/components/OrOverlayV3/index.js +1 -1
- package/dist/bundled/v3/components/OrPaginationV3/OrPagination.js +7 -8
- package/dist/bundled/v3/components/OrPaginationV3/index.js +5 -6
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +7 -8
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +11 -16
- package/dist/bundled/v3/components/OrPopoverV3/index.js +3 -4
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +9 -10
- package/dist/bundled/v3/components/OrSearchV3/index.js +8 -9
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +10 -11
- package/dist/bundled/v3/components/OrSelectV3/index.js +9 -10
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +7 -8
- package/dist/bundled/v3/components/OrSidebarV3/index.js +6 -7
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +6 -7
- package/dist/bundled/v3/components/OrTabsV3/index.js +5 -6
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +8 -9
- package/dist/bundled/v3/components/OrTagV3/index.js +7 -8
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +8 -9
- package/dist/bundled/v3/components/OrTagsV3/index.js +7 -8
- package/dist/bundled/v3/components/OrTextareaV3/OrTextarea.js +3 -3
- package/dist/bundled/v3/components/OrTextareaV3/index.js +2 -2
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +25 -27
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +9 -10
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +7 -8
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +6 -7
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +6 -7
- package/dist/bundled/v3/components/OrToastV3/index.js +7 -8
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +10 -13
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +6 -17
- package/dist/bundled/v3/components/OrTooltipV3/index.js +5 -6
- package/dist/bundled/v3/components/index.js +29 -30
- package/dist/bundled/v3/hooks/index.d.ts +0 -1
- package/dist/bundled/v3/hooks/index.js +0 -1
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/bundled/v3/hooks/useElevation.js +1 -3
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/bundled/v3/index.js +30 -31
- package/dist/esm/v2/{OrBottomSheet-ad5fac1e.js → OrBottomSheet-ffa029ca.js} +48 -31
- package/dist/esm/v2/{OrCardCollection-8b74080d.js → OrCardCollection-02970752.js} +5 -5
- package/dist/esm/v2/{OrCombinedInput-5994d9fc.js → OrCombinedInput-9c2b15fe.js} +1 -1
- package/dist/esm/v2/{OrConfirm-c80bdf6c.js → OrConfirm-308e93bc.js} +54 -30
- package/dist/esm/v2/{OrDatePicker-3137243d.js → OrDatePicker-a79b777e.js} +34 -29
- package/dist/esm/v2/{OrDateTimePicker-b7132620.js → OrDateTimePicker-6fe4969d.js} +36 -31
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-26fa7f2d.js → OrDateTimePickerMonthSelect-355ea67d.js} +6 -6
- package/dist/esm/v2/{OrDateTimePickerPopoverHeader-9e49aba0.js → OrDateTimePickerPopoverHeader-a84af34e.js} +3 -3
- package/dist/esm/v2/{OrDateTimePickerTimeSelect-aed7d33d.js → OrDateTimePickerTimeSelect-eecdd8ab.js} +2 -2
- package/dist/esm/v2/{OrIconButton-15b7cd45.js → OrIconButton-ee747c71.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-64fc4f99.js → OrInlineInput-a131caf4.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-88654ed6.js → OrInlineTextarea-7cc45396.js} +1 -1
- package/dist/esm/v2/{OrInput-54ebf19d.js → OrInput-3eeca714.js} +52 -47
- package/dist/esm/v2/{OrInputBox-d36b1323.js → OrInputBox-7f3c0ee9.js} +8 -2
- package/dist/esm/v2/{OrInputBox.vue_rollup-plugin-vue_script-fe250f7a.js → OrInputBox.vue_rollup-plugin-vue_script-906b3ef8.js} +78 -0
- package/dist/esm/v2/{OrMenu-da06817a.js → OrMenu-8b902c22.js} +49 -23
- package/dist/esm/v2/OrModal-1f80d87f.js +174 -0
- package/dist/esm/v2/{OrNotification-ac7d3d99.js → OrNotification-16e6d4ff.js} +1 -1
- package/dist/esm/v2/{OrOverlay-f791976c.js → OrOverlay-4c8c11e2.js} +1 -1
- package/dist/esm/v2/{OrPagination-b8b3593c.js → OrPagination-36583054.js} +3 -3
- package/dist/esm/v2/{OrPopover-be18292f.js → OrPopover-80459663.js} +104 -33
- package/dist/esm/v2/{OrSearch-f3684c88.js → OrSearch-fa824e87.js} +2 -2
- package/dist/esm/v2/{OrSelect-478df897.js → OrSelect-d5fecc34.js} +5 -5
- package/dist/esm/v2/{OrSidebar-7082fa73.js → OrSidebar-638b1d60.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-f2ee700a.js → OrSidebarCollapseButton-2c81d465.js} +1 -1
- package/dist/esm/v2/{OrTabs-052d9297.js → OrTabs-653258a2.js} +2 -2
- package/dist/esm/v2/{OrTag-328ee017.js → OrTag-6256623c.js} +1 -1
- package/dist/esm/v2/{OrTags-557894a1.js → OrTags-db2608dc.js} +2 -2
- package/dist/esm/v2/{OrTextarea-eaadb85f.js → OrTextarea-e5c66426.js} +2 -2
- package/dist/esm/v2/{OrTimePicker-7b5ba948.js → OrTimePicker-5470d7a0.js} +34 -29
- package/dist/esm/v2/{OrTooltip-3c2b7c80.js → OrTooltip-5a6e0f64.js} +40 -33
- package/dist/esm/v2/components/index.js +33 -34
- package/dist/esm/v2/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -19
- package/dist/esm/v2/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v2/components/or-card-collection-v3/index.js +12 -13
- package/dist/esm/v2/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +36 -18
- package/dist/esm/v2/components/or-confirm-v3/index.js +10 -11
- package/dist/esm/v2/components/or-date-picker-v3/index.js +12 -13
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +13 -14
- package/dist/esm/v2/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v2/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v2/components/or-input-box-v3/index.js +2 -2
- package/dist/esm/v2/components/or-input-box-v3/partials/or-input-box-addon/OrInputBoxAddon.vue.d.ts +46 -0
- package/dist/esm/v2/components/or-input-box-v3/partials/or-input-box-addon/styles.d.ts +1 -0
- package/dist/esm/v2/components/or-input-v3/index.js +9 -10
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +16 -13
- package/dist/esm/v2/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +19 -13
- package/dist/esm/v2/components/or-modal-v3/index.js +11 -12
- package/dist/esm/v2/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v2/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v2/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +12 -19
- package/dist/esm/v2/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v2/components/or-search-v3/index.js +10 -11
- package/dist/esm/v2/components/or-select-v3/index.js +11 -12
- package/dist/esm/v2/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v2/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v2/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v2/components/or-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-time-picker-v3/index.js +11 -12
- package/dist/esm/v2/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -20
- package/dist/esm/v2/components/or-tooltip-v3/index.js +6 -7
- package/dist/esm/v2/hooks/index.d.ts +0 -1
- package/dist/esm/v2/hooks/index.js +1 -2
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v2/index.js +33 -34
- package/dist/esm/v2/{types-34cd762e.js → types-4a7d24f3.js} +2 -2
- package/dist/esm/v2/{useElevation-a50ec347.js → useElevation-b5a49746.js} +1 -3
- package/dist/esm/v3/{OrBottomSheet-4b3c418c.js → OrBottomSheet-5969a217.js} +48 -31
- package/dist/esm/v3/{OrCardCollection-349f9235.js → OrCardCollection-4401de57.js} +5 -5
- package/dist/esm/v3/{OrCombinedInput-14c23a04.js → OrCombinedInput-b5ba46a1.js} +1 -1
- package/dist/esm/v3/{OrConfirm-e443883c.js → OrConfirm-671148e8.js} +54 -30
- package/dist/esm/v3/{OrDatePicker-a457449b.js → OrDatePicker-7cb1da75.js} +21 -22
- package/dist/esm/v3/{OrDateTimePicker-1c466063.js → OrDateTimePicker-3cf882f6.js} +23 -24
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-4da5c922.js → OrDateTimePickerMonthSelect-bd26a294.js} +6 -6
- package/dist/esm/v3/{OrDateTimePickerPopoverHeader-042566f4.js → OrDateTimePickerPopoverHeader-3ae517f8.js} +3 -3
- package/dist/esm/v3/{OrDateTimePickerTimeSelect-e404e826.js → OrDateTimePickerTimeSelect-14503fde.js} +2 -2
- package/dist/esm/v3/{OrIconButton-c6a26d5c.js → OrIconButton-b7217ea5.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-d9a52af5.js → OrInlineInput-dcb28ea2.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-155d9950.js → OrInlineTextarea-88eac437.js} +1 -1
- package/dist/esm/v3/{OrInput-47629e5e.js → OrInput-238fd1c0.js} +24 -26
- package/dist/esm/v3/{OrInputBox-ba40bbdf.js → OrInputBox-32814878.js} +63 -2
- package/dist/esm/v3/{OrMenu-920e1c0d.js → OrMenu-8a53ccf9.js} +50 -24
- package/dist/esm/v3/OrModal-1366926a.js +150 -0
- package/dist/esm/v3/{OrNotification-32d0fd42.js → OrNotification-09216b8b.js} +1 -1
- package/dist/esm/v3/{OrOverlay-28952099.js → OrOverlay-bf72f582.js} +1 -1
- package/dist/esm/v3/{OrPagination-9ce23f29.js → OrPagination-c6046af4.js} +3 -3
- package/dist/esm/v3/{OrPopover-34b32622.js → OrPopover-15c2968f.js} +102 -31
- package/dist/esm/v3/{OrSearch-eebb278f.js → OrSearch-cd0f6a88.js} +2 -2
- package/dist/esm/v3/{OrSelect-31a28d8c.js → OrSelect-ce7f58cf.js} +4 -4
- package/dist/esm/v3/{OrSidebar-70a4758c.js → OrSidebar-1579ad80.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-a560aa67.js → OrSidebarCollapseButton-2668946c.js} +1 -1
- package/dist/esm/v3/{OrTabs-e2ac1e02.js → OrTabs-a2d87627.js} +2 -2
- package/dist/esm/v3/{OrTag-e12add90.js → OrTag-8605e9e6.js} +1 -1
- package/dist/esm/v3/{OrTags-bb4c1dad.js → OrTags-3724ff59.js} +2 -2
- package/dist/esm/v3/{OrTextarea-d9d355ce.js → OrTextarea-93cf7da7.js} +1 -1
- package/dist/esm/v3/{OrTimePicker-df78f967.js → OrTimePicker-a5921c6f.js} +21 -22
- package/dist/esm/v3/{OrTooltip-7028a65b.js → OrTooltip-3d5fcaf9.js} +41 -28
- package/dist/esm/v3/components/index.js +32 -33
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +10 -16
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +3 -4
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -12
- package/dist/esm/v3/components/or-combined-input-v3/index.js +2 -2
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +35 -18
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -10
- package/dist/esm/v3/components/or-date-picker-v3/index.js +11 -12
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +12 -13
- package/dist/esm/v3/components/or-icon-button-v3/index.js +6 -7
- package/dist/esm/v3/components/or-inline-input-v3/index.js +7 -8
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +7 -8
- package/dist/esm/v3/components/or-input-box-v3/index.js +1 -1
- package/dist/esm/v3/components/or-input-box-v3/partials/or-input-box-addon/OrInputBoxAddon.vue.d.ts +35 -0
- package/dist/esm/v3/components/or-input-box-v3/partials/or-input-box-addon/styles.d.ts +1 -0
- package/dist/esm/v3/components/or-input-v3/index.js +8 -9
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +5 -13
- package/dist/esm/v3/components/or-menu-v3/index.js +6 -7
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +16 -14
- package/dist/esm/v3/components/or-modal-v3/index.js +10 -11
- package/dist/esm/v3/components/or-modal-v3/styles.d.ts +3 -0
- package/dist/esm/v3/components/or-notification-v3/index.js +7 -8
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -2
- package/dist/esm/v3/components/or-pagination-v3/index.js +6 -7
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +11 -16
- package/dist/esm/v3/components/or-popover-v3/index.js +4 -5
- package/dist/esm/v3/components/or-search-v3/index.js +9 -10
- package/dist/esm/v3/components/or-select-v3/index.js +10 -11
- package/dist/esm/v3/components/or-sidebar-v3/index.js +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +7 -8
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +7 -8
- package/dist/esm/v3/components/or-tabs-v3/index.js +6 -7
- package/dist/esm/v3/components/or-tag-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tags-v3/index.js +8 -9
- package/dist/esm/v3/components/or-textarea-v3/index.js +2 -2
- package/dist/esm/v3/components/or-time-picker-v3/index.js +10 -11
- package/dist/esm/v3/components/or-toast-v3/index.js +7 -8
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +6 -17
- package/dist/esm/v3/components/or-tooltip-v3/index.js +6 -7
- package/dist/esm/v3/hooks/index.d.ts +0 -1
- package/dist/esm/v3/hooks/index.js +1 -2
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +2 -1
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +2 -1
- package/dist/esm/v3/index.js +32 -33
- package/dist/esm/v3/{types-75f4332f.js → types-9e1555eb.js} +2 -2
- package/dist/esm/v3/{useElevation-a50ec347.js → useElevation-b5a49746.js} +1 -3
- package/package.json +3 -2
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +58 -29
- package/src/components/or-confirm-v3/OrConfirm.vue +50 -29
- package/src/components/or-date-picker-v3/OrDatePicker.vue +4 -4
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +5 -5
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-date-control/OrDateTimePickerDateControl.vue +1 -1
- 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-mobile-control/OrDateTimePickerMobileControl.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-month-select/OrDateTimePickerMonthSelect.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-footer/OrDateTimePickerPopoverFooter.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-popover-header/OrDateTimePickerPopoverHeader.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-control/OrDateTimePickerTimeControl.vue +1 -1
- package/src/components/or-date-time-picker-v3/partials/or-date-time-picker-time-select/OrDateTimePickerTimeSelect.vue +1 -1
- package/src/components/or-input-box-v3/OrInputBox.vue +15 -0
- package/src/components/or-input-box-v3/partials/or-input-box-addon/OrInputBoxAddon.vue +57 -0
- package/src/components/or-input-box-v3/partials/or-input-box-addon/styles.ts +8 -0
- package/src/components/or-input-v3/OrInput.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +40 -18
- package/src/components/or-modal-v3/OrModal.vue +66 -32
- package/src/components/or-modal-v3/styles.ts +25 -0
- package/src/components/or-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +125 -28
- package/src/components/or-time-picker-v3/OrTimePicker.vue +4 -4
- package/src/components/or-tooltip-v3/OrTooltip.vue +40 -24
- package/src/hooks/index.ts +0 -1
- package/src/hooks/useControlAttributes.ts +1 -1
- package/src/hooks/useElevation.ts +1 -3
- package/src/hooks/useValidationAttributes.ts +1 -1
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +0 -11
- package/dist/bundled/v2/hooks/usePopoverState.js +0 -42
- package/dist/bundled/v3/OrInputBox.vue_vue_type_script_lang-a21db166.js +0 -42
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-25820c69.js +0 -66
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-40863f67.js +0 -160
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-666ac1dd.js +0 -56
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +0 -11
- package/dist/bundled/v3/hooks/usePopoverState.js +0 -42
- package/dist/esm/v2/OrModal-c6d89925.js +0 -312
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -8
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -12
- package/dist/esm/v2/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v2/hooks/usePopoverState.d.ts +0 -11
- package/dist/esm/v2/usePopoverState-cc8c0361.js +0 -42
- package/dist/esm/v3/OrModal-8d28e9f3.js +0 -226
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-content/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue.d.ts +0 -5
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-footer/styles.d.ts +0 -1
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue.d.ts +0 -7
- package/dist/esm/v3/components/or-modal-v3/partials/or-modal-header/styles.d.ts +0 -1
- package/dist/esm/v3/hooks/usePopoverState.d.ts +0 -11
- package/dist/esm/v3/usePopoverState-cc8c0361.js +0 -42
- package/src/components/or-modal-v3/partials/or-modal-content/OrModalContent.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-content/styles.ts +0 -10
- package/src/components/or-modal-v3/partials/or-modal-footer/OrModalFooter.vue +0 -37
- package/src/components/or-modal-v3/partials/or-modal-footer/styles.ts +0 -4
- package/src/components/or-modal-v3/partials/or-modal-header/OrModalHeader.vue +0 -54
- package/src/components/or-modal-v3/partials/or-modal-header/styles.ts +0 -10
- package/src/hooks/usePopoverState.ts +0 -66
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-29ff6fd8.js → OrOverlay.vue_vue_type_script_lang-86c7b93a.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-7b7179a1.js → OrToastContainer.vue_vue_type_script_lang-485ef171.js} +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { defineComponent, ref, computed } from 'vue-demi';
|
|
2
|
+
import { MenuRoot } from './components/OrMenuV3/styles.js';
|
|
3
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
4
|
+
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
5
|
+
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
6
|
+
|
|
7
|
+
var script = defineComponent({
|
|
8
|
+
name: 'OrMenu',
|
|
9
|
+
components: {
|
|
10
|
+
OrPopover: script$1
|
|
11
|
+
},
|
|
12
|
+
inheritAttrs: false,
|
|
13
|
+
props: {
|
|
14
|
+
trigger: {
|
|
15
|
+
type: HTMLElement,
|
|
16
|
+
default: undefined
|
|
17
|
+
},
|
|
18
|
+
placement: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: PopoverPlacement.Bottom
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ['update:state'],
|
|
24
|
+
expose: ['root', 'state', 'isOpen', 'open', 'close', 'toggle'],
|
|
25
|
+
setup() {
|
|
26
|
+
// Refs
|
|
27
|
+
const root = ref();
|
|
28
|
+
const popover = ref();
|
|
29
|
+
const popoverRoot = computed(() => {
|
|
30
|
+
var _a;
|
|
31
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
32
|
+
});
|
|
33
|
+
const popoverState = computed(() => {
|
|
34
|
+
var _a;
|
|
35
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
36
|
+
});
|
|
37
|
+
// Styles
|
|
38
|
+
const rootStyles = computed(() => ['or-menu-v3', ...MenuRoot]);
|
|
39
|
+
// State
|
|
40
|
+
const isOpen = computed(() => {
|
|
41
|
+
var _a;
|
|
42
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.isOpen;
|
|
43
|
+
});
|
|
44
|
+
// Methods
|
|
45
|
+
function open() {
|
|
46
|
+
const popoverInstance = popover.value;
|
|
47
|
+
if (popoverInstance) {
|
|
48
|
+
popoverInstance.open();
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
function close() {
|
|
52
|
+
const popoverInstance = popover.value;
|
|
53
|
+
if (popoverInstance) {
|
|
54
|
+
popoverInstance.close();
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
function toggle() {
|
|
58
|
+
isOpen.value ? close() : open();
|
|
59
|
+
}
|
|
60
|
+
// Handlers
|
|
61
|
+
function onClick(event) {
|
|
62
|
+
const path = event.composedPath();
|
|
63
|
+
const classLists = path.filter(_ref => {
|
|
64
|
+
let {
|
|
65
|
+
classList
|
|
66
|
+
} = _ref;
|
|
67
|
+
return !!classList;
|
|
68
|
+
}).map(_ref2 => {
|
|
69
|
+
let {
|
|
70
|
+
classList
|
|
71
|
+
} = _ref2;
|
|
72
|
+
return classList;
|
|
73
|
+
});
|
|
74
|
+
if (classLists.some(classList => classList.contains('or-menu-item-v3'))) {
|
|
75
|
+
close();
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
return {
|
|
79
|
+
root,
|
|
80
|
+
popover,
|
|
81
|
+
popoverRoot,
|
|
82
|
+
state: popoverState,
|
|
83
|
+
rootStyles,
|
|
84
|
+
isOpen,
|
|
85
|
+
open,
|
|
86
|
+
close,
|
|
87
|
+
toggle,
|
|
88
|
+
onClick
|
|
89
|
+
};
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
|
|
93
|
+
export { script as s };
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
2
|
+
import { ModalSize } from './components/OrModalV3/props.js';
|
|
3
|
+
import { ModalRoot, ModalRootSizes, ModalHeader, ModalContent, ModalFooter } from './components/OrModalV3/styles.js';
|
|
4
|
+
import './components/OrOverlayV3/OrOverlay.js';
|
|
5
|
+
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
|
+
import { s as script$1 } from './OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
7
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
8
|
+
|
|
9
|
+
var script = defineComponent({
|
|
10
|
+
name: 'OrModal',
|
|
11
|
+
components: {
|
|
12
|
+
OrOverlay: script$1,
|
|
13
|
+
OrIconButton: script$2
|
|
14
|
+
},
|
|
15
|
+
inheritAttrs: false,
|
|
16
|
+
props: {
|
|
17
|
+
size: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ModalSize.M
|
|
20
|
+
},
|
|
21
|
+
isOpen: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
emits: ['open', 'close'],
|
|
27
|
+
expose: ['root', 'isActive', 'open', 'close'],
|
|
28
|
+
setup(props, context) {
|
|
29
|
+
// Refs
|
|
30
|
+
const root = ref();
|
|
31
|
+
// Styles
|
|
32
|
+
const rootStyles = computed(() => ['or-modal-v3', ...ModalRoot, ...ModalRootSizes[props.size]]);
|
|
33
|
+
const headerStyles = computed(() => [...ModalHeader]);
|
|
34
|
+
const contentStyles = computed(() => [...ModalContent]);
|
|
35
|
+
const footerStyles = computed(() => [...ModalFooter]);
|
|
36
|
+
// State
|
|
37
|
+
const isActive = ref(false);
|
|
38
|
+
// Events
|
|
39
|
+
watch(isActive, value => {
|
|
40
|
+
context.emit(value ? 'open' : 'close');
|
|
41
|
+
});
|
|
42
|
+
watch(() => props.isOpen, newIsOpen => {
|
|
43
|
+
if (newIsOpen) {
|
|
44
|
+
open();
|
|
45
|
+
} else {
|
|
46
|
+
close();
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
immediate: true
|
|
50
|
+
});
|
|
51
|
+
// Methods
|
|
52
|
+
function open() {
|
|
53
|
+
isActive.value = true;
|
|
54
|
+
}
|
|
55
|
+
function close() {
|
|
56
|
+
isActive.value = false;
|
|
57
|
+
}
|
|
58
|
+
return {
|
|
59
|
+
root,
|
|
60
|
+
rootStyles,
|
|
61
|
+
headerStyles,
|
|
62
|
+
contentStyles,
|
|
63
|
+
footerStyles,
|
|
64
|
+
isActive,
|
|
65
|
+
open,
|
|
66
|
+
close
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
export { script as s };
|
|
@@ -4,7 +4,7 @@ import { NotificationRoot, NotificationRootVariants, NotificationIcon, Notificat
|
|
|
4
4
|
import './components/OrIconV3/OrIcon.js';
|
|
5
5
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
6
6
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
7
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
8
8
|
|
|
9
9
|
var script = defineComponent({
|
|
10
10
|
name: 'OrNotification',
|
|
@@ -7,7 +7,7 @@ import './components/OrMenuItemV3/OrMenuItem.js';
|
|
|
7
7
|
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
8
8
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
9
9
|
import { s as script$2 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
10
|
-
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-
|
|
10
|
+
import { s as script$3 } from './OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
11
11
|
import { s as script$4 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
12
12
|
|
|
13
13
|
var script = defineComponent({
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { a as autoUpdate, c as computePosition,
|
|
1
|
+
import { a as autoUpdate, c as computePosition, f as flip, s as shift, h as hide } from './floating-ui.dom.esm-83eba816.js';
|
|
2
2
|
import { onClickOutside } from '@vueuse/core';
|
|
3
|
-
import { defineComponent, ref, computed,
|
|
3
|
+
import { defineComponent, ref, computed, watch, watchPostEffect, unref, toRef, nextTick } from 'vue-demi';
|
|
4
4
|
import { PopoverVariant, PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
5
5
|
import { PopoverRoot, PopoverBody, PopoverBodyPlacements } from './components/OrPopoverV3/styles.js';
|
|
6
6
|
import './components/OrBottomSheetV3/OrBottomSheet.js';
|
|
7
|
-
import { s as script$1 } from './OrBottomSheet.vue_vue_type_script_lang-
|
|
7
|
+
import { s as script$1 } from './OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
8
8
|
import './components/OrTeleportV3/OrTeleport.js';
|
|
9
9
|
import useResponsive from './hooks/useResponsive/useResponsive.js';
|
|
10
|
-
import { usePopoverState } from './hooks/usePopoverState.js';
|
|
11
10
|
import { useElevation } from './hooks/useElevation.js';
|
|
12
11
|
import { s as script$2 } from './OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
13
12
|
|
|
@@ -19,10 +18,6 @@ var script = defineComponent({
|
|
|
19
18
|
},
|
|
20
19
|
inheritAttrs: false,
|
|
21
20
|
props: {
|
|
22
|
-
isOpen: {
|
|
23
|
-
type: Boolean,
|
|
24
|
-
default: false
|
|
25
|
-
},
|
|
26
21
|
variant: {
|
|
27
22
|
type: String,
|
|
28
23
|
default: PopoverVariant.Auto
|
|
@@ -52,8 +47,8 @@ var script = defineComponent({
|
|
|
52
47
|
default: false
|
|
53
48
|
}
|
|
54
49
|
},
|
|
55
|
-
emits: ['update:state', 'open', '
|
|
56
|
-
expose: ['root', 'state', '
|
|
50
|
+
emits: ['update:state', 'update:state:open', 'update:state:fullscreen', 'update:state:closed', 'update:state:closed-automatically'],
|
|
51
|
+
expose: ['root', 'state', 'isOpen', 'isFullscreen', 'isClosed', 'isFlipped', 'open', 'close'],
|
|
57
52
|
setup(props, context) {
|
|
58
53
|
const {
|
|
59
54
|
isDesktop,
|
|
@@ -70,14 +65,89 @@ var script = defineComponent({
|
|
|
70
65
|
const rootStyles = computed(() => ['or-popover-v3', ...PopoverRoot, ...props.customStyles]);
|
|
71
66
|
const bodyStyles = computed(() => [...PopoverBody, ...PopoverBodyPlacements[props.placement]]);
|
|
72
67
|
// State
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
toggle
|
|
78
|
-
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
68
|
+
const state = ref('closed');
|
|
69
|
+
const isOpen = computed(() => state.value === 'open');
|
|
70
|
+
const isFullscreen = computed(() => state.value === 'fullscreen');
|
|
71
|
+
const isClosed = computed(() => state.value === 'closed');
|
|
79
72
|
const isFlipped = ref(false);
|
|
80
|
-
|
|
73
|
+
// Events
|
|
74
|
+
watch(state, value => {
|
|
75
|
+
context.emit('update:state', value);
|
|
76
|
+
switch (value) {
|
|
77
|
+
case 'open':
|
|
78
|
+
context.emit('update:state:open');
|
|
79
|
+
break;
|
|
80
|
+
case 'fullscreen':
|
|
81
|
+
context.emit('update:state:fullscreen');
|
|
82
|
+
break;
|
|
83
|
+
case 'closed':
|
|
84
|
+
context.emit('update:state:closed');
|
|
85
|
+
break;
|
|
86
|
+
}
|
|
87
|
+
});
|
|
88
|
+
// Methods
|
|
89
|
+
function open() {
|
|
90
|
+
state.value = 'open';
|
|
91
|
+
switch (props.variant) {
|
|
92
|
+
case PopoverVariant.Auto:
|
|
93
|
+
if (isMobile.value) {
|
|
94
|
+
nextTick(() => {
|
|
95
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
96
|
+
if (bottomSheetInstance) {
|
|
97
|
+
bottomSheetInstance.open();
|
|
98
|
+
}
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
break;
|
|
102
|
+
case PopoverVariant.Popover:
|
|
103
|
+
break;
|
|
104
|
+
case PopoverVariant.BottomSheet:
|
|
105
|
+
nextTick(() => {
|
|
106
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
107
|
+
if (bottomSheetInstance) {
|
|
108
|
+
bottomSheetInstance.open();
|
|
109
|
+
}
|
|
110
|
+
});
|
|
111
|
+
break;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function close() {
|
|
115
|
+
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
116
|
+
state.value = 'closed';
|
|
117
|
+
switch (props.variant) {
|
|
118
|
+
case PopoverVariant.Auto:
|
|
119
|
+
if (isMobile.value) {
|
|
120
|
+
nextTick(() => {
|
|
121
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
122
|
+
if (bottomSheetInstance) {
|
|
123
|
+
bottomSheetInstance.close();
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
break;
|
|
128
|
+
case PopoverVariant.Popover:
|
|
129
|
+
break;
|
|
130
|
+
case PopoverVariant.BottomSheet:
|
|
131
|
+
nextTick(() => {
|
|
132
|
+
const bottomSheetInstance = bottomSheet.value;
|
|
133
|
+
if (bottomSheetInstance) {
|
|
134
|
+
bottomSheetInstance.close();
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
break;
|
|
138
|
+
}
|
|
139
|
+
if (auto) {
|
|
140
|
+
context.emit('update:state:closed-automatically');
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
// Handlers
|
|
144
|
+
function handleBottomSheetState(bottomSheetState) {
|
|
145
|
+
if (bottomSheetState === 'closed') {
|
|
146
|
+
state.value = 'closed';
|
|
147
|
+
} else {
|
|
148
|
+
state.value = 'open';
|
|
149
|
+
}
|
|
150
|
+
}
|
|
81
151
|
// Effects
|
|
82
152
|
watchPostEffect(() => {
|
|
83
153
|
const rootElement = unref(root);
|
|
@@ -88,14 +158,14 @@ var script = defineComponent({
|
|
|
88
158
|
} = props;
|
|
89
159
|
if (trigger) {
|
|
90
160
|
autoUpdate(trigger, rootElement, async () => {
|
|
91
|
-
var _a
|
|
161
|
+
var _a;
|
|
92
162
|
const {
|
|
93
163
|
x,
|
|
94
164
|
y,
|
|
95
165
|
middlewareData
|
|
96
166
|
} = await computePosition(trigger, rootElement, {
|
|
97
167
|
placement,
|
|
98
|
-
middleware: [
|
|
168
|
+
middleware: [flip(), shift(), hide()]
|
|
99
169
|
});
|
|
100
170
|
Object.assign(rootElement.style, {
|
|
101
171
|
left: `${x}px`,
|
|
@@ -104,14 +174,10 @@ var script = defineComponent({
|
|
|
104
174
|
width: props.fullWidth ? `${trigger.offsetWidth}px` : ''
|
|
105
175
|
});
|
|
106
176
|
isFlipped.value = Boolean((_a = middlewareData.flip) === null || _a === void 0 ? void 0 : _a.index);
|
|
107
|
-
isHidden.value = Boolean((_b = middlewareData.hide) === null || _b === void 0 ? void 0 : _b.referenceHidden);
|
|
108
177
|
});
|
|
109
178
|
}
|
|
110
179
|
}
|
|
111
180
|
});
|
|
112
|
-
// #region Elevation
|
|
113
|
-
useElevation(root, state);
|
|
114
|
-
// #endregion
|
|
115
181
|
// #region Click Outside
|
|
116
182
|
const trigger = toRef(props, 'trigger');
|
|
117
183
|
onClickOutside(root, event => {
|
|
@@ -122,26 +188,31 @@ var script = defineComponent({
|
|
|
122
188
|
} = _ref;
|
|
123
189
|
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'));
|
|
124
190
|
})) {
|
|
125
|
-
close();
|
|
191
|
+
close(true);
|
|
126
192
|
}
|
|
127
193
|
}, {
|
|
128
194
|
ignore: [trigger]
|
|
129
195
|
});
|
|
130
196
|
// #endregion
|
|
197
|
+
// #region Elevation
|
|
198
|
+
useElevation(root, state);
|
|
199
|
+
// #endregion
|
|
131
200
|
return {
|
|
132
201
|
isDesktop,
|
|
133
202
|
isMobile,
|
|
134
203
|
root,
|
|
135
204
|
bottomSheet,
|
|
136
205
|
bottomSheetRoot,
|
|
206
|
+
handleBottomSheetState,
|
|
137
207
|
rootStyles,
|
|
138
208
|
bodyStyles,
|
|
139
209
|
state,
|
|
210
|
+
isOpen,
|
|
211
|
+
isFullscreen,
|
|
212
|
+
isClosed,
|
|
140
213
|
isFlipped,
|
|
141
|
-
isHidden,
|
|
142
214
|
open,
|
|
143
|
-
close
|
|
144
|
-
toggle
|
|
215
|
+
close
|
|
145
216
|
};
|
|
146
217
|
}
|
|
147
218
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { debouncedWatch } from '@vueuse/core';
|
|
2
2
|
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
3
|
import './components/OrInputV3/OrInput.js';
|
|
4
|
-
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-
|
|
4
|
+
import { s as script$1 } from './OrInput.vue_vue_type_script_lang-d08b3796.js';
|
|
5
5
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
@@ -13,17 +13,17 @@ import './components/OrLabelV3/OrLabel.js';
|
|
|
13
13
|
import './components/OrMenuItemV3/OrMenuItem.js';
|
|
14
14
|
import './components/OrPopoverV3/OrPopover.js';
|
|
15
15
|
import './components/OrTagV3/OrTag.js';
|
|
16
|
-
import { s as script$b } from './OrTag.vue_vue_type_script_lang-
|
|
16
|
+
import { s as script$b } from './OrTag.vue_vue_type_script_lang-09948d1f.js';
|
|
17
17
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
18
18
|
import { s as script$1 } from './OrCheckbox.vue_vue_type_script_lang-cfeb4a4e.js';
|
|
19
19
|
import { s as script$2 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
20
20
|
import { s as script$4 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
21
21
|
import { s as script$5 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
22
|
-
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-
|
|
23
|
-
import { s as script$7 } from './OrInputBox.vue_vue_type_script_lang-
|
|
22
|
+
import { s as script$6 } from './OrInput.vue_vue_type_script_lang-d08b3796.js';
|
|
23
|
+
import { s as script$7 } from './OrInputBox.vue_vue_type_script_lang-ede24b04.js';
|
|
24
24
|
import { s as script$8 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
25
25
|
import { s as script$9 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
26
|
-
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-
|
|
26
|
+
import { s as script$a } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
27
27
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
28
28
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
29
29
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -2,7 +2,7 @@ import { useDraggable, useElementBounding } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, useSlots, watch } from 'vue-demi';
|
|
3
3
|
import { OrSidebarPlacement } from './components/OrSidebarV3/props.js';
|
|
4
4
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$2 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
6
6
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, createVNode } from 'vue';
|
|
7
7
|
import { SidebarRoot, SidebarBar, SidebarSides, SidebarToolbar, CollapsibleSidebarToolbar, SidebarToolbarSides, SidebarResize, SidebarResizeSides, SidebarResizingSides, SidebarCollapseButton, SidebarCollapseButtonSides, SidebarMain, SidebarHeader, SidebarContent, SidebarFooter } from './components/OrSidebarV3/styles.js';
|
|
8
8
|
|
|
@@ -8,7 +8,7 @@ import './components/OrMenuItemV3/OrMenuItem.js';
|
|
|
8
8
|
import './components/OrTabV3/OrTab.js';
|
|
9
9
|
import { s as script$4 } from './OrTab.vue_vue_type_script_lang-79f2f523.js';
|
|
10
10
|
import { s as script$1 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
11
|
-
import { s as script$2 } from './OrMenu.vue_vue_type_script_lang-
|
|
11
|
+
import { s as script$2 } from './OrMenu.vue_vue_type_script_lang-115f2c60.js';
|
|
12
12
|
import { s as script$3 } from './OrMenuItem.vue_vue_type_script_lang-b338d68a.js';
|
|
13
13
|
|
|
14
14
|
var script = defineComponent({
|
|
@@ -2,7 +2,7 @@ import { defineComponent, ref, computed, watchPostEffect, unref } from 'vue-demi
|
|
|
2
2
|
import { TagVariant, TagColor } from './components/OrTagV3/props.js';
|
|
3
3
|
import { TagRoot, TagRootVariants, TagRootColors } from './components/OrTagV3/styles.js';
|
|
4
4
|
import './components/OrIconButtonV3/OrIconButton.js';
|
|
5
|
-
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-
|
|
5
|
+
import { s as script$1 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
6
6
|
|
|
7
7
|
var script = defineComponent({
|
|
8
8
|
name: 'OrTag',
|
|
@@ -5,8 +5,8 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
5
5
|
import './components/OrTagV3/OrTag.js';
|
|
6
6
|
import { useOverflow } from './hooks/useOverflow.js';
|
|
7
7
|
import { s as script$1 } from './OrButton.vue_vue_type_script_lang-f58fa1b8.js';
|
|
8
|
-
import { s as script$2 } from './OrPopover.vue_vue_type_script_lang-
|
|
9
|
-
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-
|
|
8
|
+
import { s as script$2 } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
9
|
+
import { s as script$3 } from './OrTag.vue_vue_type_script_lang-09948d1f.js';
|
|
10
10
|
|
|
11
11
|
var script = defineComponent({
|
|
12
12
|
name: 'OrTags',
|
|
@@ -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 './OrInputBox.vue_vue_type_script_lang-
|
|
12
|
+
import { s as script$3 } from './OrInputBox.vue_vue_type_script_lang-ede24b04.js';
|
|
13
13
|
import { s as script$4 } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
14
14
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
15
15
|
|
|
@@ -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$3 } from './OrDateTimePickerPopoverHeader-
|
|
4
|
-
import { s as script$4, a as script$5 } from './OrDateTimePickerTimeSelect-
|
|
3
|
+
import { s as script$1, a as script$2, b as script$3 } from './OrDateTimePickerPopoverHeader-eff55bd9.js';
|
|
4
|
+
import { s as script$4, a as script$5 } from './OrDateTimePickerTimeSelect-2f1a2767.js';
|
|
5
5
|
import { TimePicker, TimePickerPopover } from './components/OrTimePickerV3/styles.js';
|
|
6
6
|
import './components/OrErrorV3/OrError.js';
|
|
7
7
|
import './components/OrHintV3/OrHint.js';
|
|
@@ -13,10 +13,10 @@ import './components/OrPopoverV3/OrPopover.js';
|
|
|
13
13
|
import { s as script$6 } from './OrError.vue_vue_type_script_lang-df7b5e32.js';
|
|
14
14
|
import { s as script$7 } from './OrHint.vue_vue_type_script_lang-0f5e8377.js';
|
|
15
15
|
import { s as script$8 } from './OrIcon.vue_vue_type_script_lang-73f9cc63.js';
|
|
16
|
-
import { s as script$9 } from './OrIconButton.vue_vue_type_script_lang-
|
|
17
|
-
import { s as script$a } from './OrInputBox.vue_vue_type_script_lang-
|
|
16
|
+
import { s as script$9 } from './OrIconButton.vue_vue_type_script_lang-5bba9f3f.js';
|
|
17
|
+
import { s as script$a } from './OrInputBox.vue_vue_type_script_lang-ede24b04.js';
|
|
18
18
|
import { s as script$b } from './OrLabel.vue_vue_type_script_lang-3e11ab8a.js';
|
|
19
|
-
import { s as script$c } from './OrPopover.vue_vue_type_script_lang-
|
|
19
|
+
import { s as script$c } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
20
20
|
import { DropdownClose } from './directives/dropdown-close.js';
|
|
21
21
|
import { DropdownOpen } from './directives/dropdown-open.js';
|
|
22
22
|
import { InputBoxSize } from './components/OrInputBoxV3/props.js';
|
|
@@ -107,7 +107,7 @@ var script = defineComponent({
|
|
|
107
107
|
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.state;
|
|
108
108
|
});
|
|
109
109
|
// Styles
|
|
110
|
-
const rootStyles = computed(() => ['or-time-picker', ...TimePicker]);
|
|
110
|
+
const rootStyles = computed(() => ['or-time-picker-v3', ...TimePicker]);
|
|
111
111
|
const popoverStyles = computed(() => [...TimePickerPopover]);
|
|
112
112
|
// State
|
|
113
113
|
const initialModelValue = useCurrentDate();
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { useDebounceFn, useElementHover } from '@vueuse/core';
|
|
2
|
+
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
3
|
+
import { TooltipRoot, TooltipBody, TooltipBodyPlacements } from './components/OrTooltipV3/styles.js';
|
|
4
|
+
import './components/OrPopoverV3/OrPopover.js';
|
|
5
|
+
import { s as script$1 } from './OrPopover.vue_vue_type_script_lang-7b1b2488.js';
|
|
6
|
+
import { PopoverPlacement } from './components/OrPopoverV3/props.js';
|
|
7
|
+
|
|
8
|
+
var script = defineComponent({
|
|
9
|
+
name: 'OrTooltip',
|
|
10
|
+
components: {
|
|
11
|
+
OrPopover: script$1
|
|
12
|
+
},
|
|
13
|
+
props: {
|
|
14
|
+
text: {
|
|
15
|
+
type: String,
|
|
16
|
+
default: undefined
|
|
17
|
+
},
|
|
18
|
+
placement: {
|
|
19
|
+
type: String,
|
|
20
|
+
default: PopoverPlacement.Bottom
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
emits: ['update:state'],
|
|
24
|
+
expose: ['root', 'open', 'close'],
|
|
25
|
+
setup(props) {
|
|
26
|
+
// Refs
|
|
27
|
+
const root = ref();
|
|
28
|
+
const popover = ref();
|
|
29
|
+
const popoverRoot = computed(() => {
|
|
30
|
+
var _a;
|
|
31
|
+
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
32
|
+
});
|
|
33
|
+
// Styles
|
|
34
|
+
const rootStyles = computed(() => ['or-tooltip-v3', ...TooltipRoot]);
|
|
35
|
+
const bodyStyles = computed(() => [...TooltipBody, ...TooltipBodyPlacements[props.placement]]);
|
|
36
|
+
// Methods
|
|
37
|
+
const open = useDebounceFn(() => {
|
|
38
|
+
if (hover.value) {
|
|
39
|
+
const popoverInstance = popover.value;
|
|
40
|
+
if (popoverInstance) {
|
|
41
|
+
popoverInstance.open();
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}, 250);
|
|
45
|
+
const close = useDebounceFn(() => {
|
|
46
|
+
if (!hover.value) {
|
|
47
|
+
const popoverInstance = popover.value;
|
|
48
|
+
if (popoverInstance) {
|
|
49
|
+
popoverInstance.close();
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}, 250);
|
|
53
|
+
// Effects
|
|
54
|
+
// #region Hover
|
|
55
|
+
const hover = useElementHover(root);
|
|
56
|
+
watch(hover, value => {
|
|
57
|
+
value ? open() : close();
|
|
58
|
+
});
|
|
59
|
+
// #endregion
|
|
60
|
+
return {
|
|
61
|
+
root,
|
|
62
|
+
popover,
|
|
63
|
+
popoverRoot,
|
|
64
|
+
rootStyles,
|
|
65
|
+
bodyStyles,
|
|
66
|
+
open,
|
|
67
|
+
close
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
export { script as s };
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
import { s as script } from '../../OrBottomSheet.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrBottomSheet.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
2
|
+
export { s as default } from '../../OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js';
|
|
3
3
|
import { resolveComponent, openBlock, createBlock, withCtx, createElementVNode, mergeProps, createElementBlock, normalizeClass, createCommentVNode, renderSlot } from 'vue';
|
|
4
4
|
import '@vueuse/core';
|
|
5
5
|
import 'vue-demi';
|
|
6
6
|
import './props.js';
|
|
7
7
|
import './styles.js';
|
|
8
8
|
import '../OrOverlayV3/OrOverlay.js';
|
|
9
|
-
import '../../OrOverlay.vue_vue_type_script_lang-
|
|
9
|
+
import '../../OrOverlay.vue_vue_type_script_lang-86c7b93a.js';
|
|
10
10
|
import '../OrOverlayV3/styles.js';
|
|
11
11
|
import '../OrTeleportV3/OrTeleport.js';
|
|
12
12
|
import '../../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
13
13
|
import '../../hooks/useElevation.js';
|
|
14
14
|
import '../../utils/isVisible.js';
|
|
15
|
-
import '../../hooks/usePopoverState.js';
|
|
16
15
|
|
|
17
16
|
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
18
17
|
const _component_OrOverlay = resolveComponent("OrOverlay");
|
|
19
|
-
return _ctx.state
|
|
18
|
+
return _ctx.state !== 'closed' ? (openBlock(), createBlock(_component_OrOverlay, {
|
|
20
19
|
key: 0,
|
|
21
|
-
fullscreen: _ctx.fullscreen
|
|
20
|
+
fullscreen: _ctx.state === 'fullscreen'
|
|
22
21
|
}, {
|
|
23
22
|
default: withCtx(() => [createElementVNode("div", mergeProps({
|
|
24
23
|
ref: "root"
|
|
@@ -30,7 +29,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
30
29
|
}, null, 2 /* CLASS */)) : createCommentVNode("v-if", true), createElementVNode("div", {
|
|
31
30
|
class: normalizeClass(_ctx.headerStyles)
|
|
32
31
|
}, [renderSlot(_ctx.$slots, "header")], 2 /* CLASS */), createElementVNode("div", {
|
|
33
|
-
class: normalizeClass([_ctx.fullscreen ? 'overflow-y-auto' : 'overflow-hidden'])
|
|
32
|
+
class: normalizeClass([_ctx.state === 'fullscreen' ? 'overflow-y-auto' : 'overflow-hidden'])
|
|
34
33
|
}, [renderSlot(_ctx.$slots, "default")], 2 /* CLASS */)], 16 /* FULL_PROPS */)]),
|
|
35
34
|
|
|
36
35
|
_: 3 /* FORWARDED */
|