@onereach/ui-components 4.6.4-beta.2804.0 → 4.6.4
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/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 +28 -52
- 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 +3 -2
- package/dist/bundled/v2/components/OrDatePickerV3/index.js +2 -1
- package/dist/bundled/v2/components/OrDateTimePickerV3/OrDateTimePicker.js +4 -3
- package/dist/bundled/v2/components/OrDateTimePickerV3/index.js +2 -1
- 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 +21 -48
- 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 +220 -65
- 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 +2 -1
- package/dist/bundled/v2/components/OrPaginationV3/index.js +1 -0
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.js +31 -102
- package/dist/bundled/v2/components/OrPopoverV3/OrPopover.vue.d.ts +19 -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 +2 -1
- package/dist/bundled/v2/components/OrTimePickerV3/index.js +1 -0
- 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 +32 -39
- 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 +2 -1
- package/dist/bundled/v2/hooks/index.d.ts +1 -1
- package/dist/bundled/v2/hooks/index.js +1 -3
- package/dist/bundled/v2/hooks/useControlAttributes.d.ts +1 -2
- package/dist/bundled/v2/hooks/useElevation.js +3 -1
- package/dist/bundled/v2/hooks/useOverflow.d.ts +2 -2
- package/dist/bundled/v2/hooks/usePopoverState.d.ts +11 -0
- package/dist/bundled/v2/hooks/usePopoverState.js +42 -0
- package/dist/bundled/v2/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/bundled/v2/index.js +3 -5
- package/dist/bundled/v3/{OrBottomSheet.vue_vue_type_script_lang-a81b2abb.js → OrBottomSheet.vue_vue_type_script_lang-aebedcb2.js} +28 -45
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-f2d222a5.js → OrCardCollection.vue_vue_type_script_lang-d15329fd.js} +3 -3
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-b1b13331.js → OrConfirm.vue_vue_type_script_lang-84f80066.js} +28 -52
- package/dist/bundled/v3/{OrDatePicker.vue_vue_type_script_lang-31f5d798.js → OrDatePicker.vue_vue_type_script_lang-92222927.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePicker.vue_vue_type_script_lang-a0354296.js → OrDateTimePicker.vue_vue_type_script_lang-81f3cb69.js} +3 -3
- package/dist/bundled/v3/{OrDateTimePickerMonthSelect-98b935cb.js → OrDateTimePickerMonthSelect-354e1af8.js} +2 -2
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-5bba9f3f.js → OrIconButton.vue_vue_type_script_lang-fe97e57a.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-3c6b0958.js → OrInlineInput.vue_vue_type_script_lang-3131ae11.js} +1 -1
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-da59cd8e.js → OrInlineTextarea.vue_vue_type_script_lang-db28519e.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-d08b3796.js → OrInput.vue_vue_type_script_lang-5f74dd08.js} +1 -1
- package/dist/bundled/v3/OrMenu.vue_vue_type_script_lang-1f45bf44.js +66 -0
- package/dist/bundled/v3/OrModal.vue_vue_type_script_lang-31c15ba1.js +160 -0
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-463e1a82.js → OrNotification.vue_vue_type_script_lang-89bbc41f.js} +1 -1
- package/dist/bundled/v3/{OrPagination.vue_vue_type_script_lang-bdc8d9fb.js → OrPagination.vue_vue_type_script_lang-1835d432.js} +1 -1
- package/dist/bundled/v3/{OrPopover.vue_vue_type_script_lang-7b1b2488.js → OrPopover.vue_vue_type_script_lang-c75dbd63.js} +27 -98
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-940d8e1f.js → OrSearch.vue_vue_type_script_lang-142ab019.js} +1 -1
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-1c77663e.js → OrSelect.vue_vue_type_script_lang-0ab50e13.js} +3 -3
- package/dist/bundled/v3/{OrSidebar.vue_vue_type_script_lang-780eaa84.js → OrSidebar.vue_vue_type_script_lang-23c6a11f.js} +1 -1
- package/dist/bundled/v3/{OrTabs.vue_vue_type_script_lang-9d4221f1.js → OrTabs.vue_vue_type_script_lang-255f33d2.js} +1 -1
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-09948d1f.js → OrTag.vue_vue_type_script_lang-f4321103.js} +1 -1
- package/dist/bundled/v3/{OrTags.vue_vue_type_script_lang-71fb4f1d.js → OrTags.vue_vue_type_script_lang-4684a9c5.js} +2 -2
- package/dist/bundled/v3/{OrTimePicker.vue_vue_type_script_lang-21be27c6.js → OrTimePicker.vue_vue_type_script_lang-e9684fe9.js} +2 -2
- package/dist/bundled/v3/OrTooltip.vue_vue_type_script_lang-f3ccffce.js +56 -0
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.js +7 -6
- package/dist/bundled/v3/components/OrBottomSheetV3/OrBottomSheet.vue.d.ts +16 -10
- package/dist/bundled/v3/components/OrBottomSheetV3/index.js +3 -2
- package/dist/bundled/v3/components/OrCardCollectionV3/OrCardCollection.js +12 -11
- package/dist/bundled/v3/components/OrCardCollectionV3/index.js +11 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.js +11 -10
- package/dist/bundled/v3/components/OrConfirmV3/OrConfirm.vue.d.ts +18 -35
- package/dist/bundled/v3/components/OrConfirmV3/index.js +8 -7
- package/dist/bundled/v3/components/OrDatePickerV3/OrDatePicker.js +11 -10
- package/dist/bundled/v3/components/OrDatePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrDateTimePickerV3/OrDateTimePicker.js +12 -11
- package/dist/bundled/v3/components/OrDateTimePickerV3/index.js +9 -8
- package/dist/bundled/v3/components/OrIconButtonV3/OrIconButton.js +8 -7
- package/dist/bundled/v3/components/OrIconButtonV3/index.js +7 -6
- package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +9 -8
- package/dist/bundled/v3/components/OrInlineInputV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +9 -8
- package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +8 -7
- package/dist/bundled/v3/components/OrInputV3/OrInput.js +9 -8
- package/dist/bundled/v3/components/OrInputV3/index.js +8 -7
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.js +9 -8
- package/dist/bundled/v3/components/OrMenuV3/OrMenu.vue.d.ts +13 -5
- package/dist/bundled/v3/components/OrMenuV3/index.js +5 -4
- package/dist/bundled/v3/components/OrModalV3/OrModal.js +36 -33
- package/dist/bundled/v3/components/OrModalV3/OrModal.vue.d.ts +14 -16
- 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 +9 -8
- package/dist/bundled/v3/components/OrNotificationV3/index.js +8 -7
- 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 +8 -7
- package/dist/bundled/v3/components/OrPaginationV3/index.js +6 -5
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.js +8 -7
- package/dist/bundled/v3/components/OrPopoverV3/OrPopover.vue.d.ts +16 -11
- package/dist/bundled/v3/components/OrPopoverV3/index.js +4 -3
- package/dist/bundled/v3/components/OrSearchV3/OrSearch.js +9 -8
- package/dist/bundled/v3/components/OrSearchV3/index.js +8 -7
- package/dist/bundled/v3/components/OrSelectV3/OrSelect.js +10 -9
- package/dist/bundled/v3/components/OrSelectV3/index.js +9 -8
- package/dist/bundled/v3/components/OrSidebarV3/OrSidebar.js +8 -7
- package/dist/bundled/v3/components/OrSidebarV3/index.js +7 -6
- package/dist/bundled/v3/components/OrTabsV3/OrTabs.js +7 -6
- package/dist/bundled/v3/components/OrTabsV3/index.js +6 -5
- package/dist/bundled/v3/components/OrTagV3/OrTag.js +9 -8
- package/dist/bundled/v3/components/OrTagV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTagsV3/OrTags.js +9 -8
- package/dist/bundled/v3/components/OrTagsV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTimePickerV3/OrTimePicker.js +9 -8
- package/dist/bundled/v3/components/OrTimePickerV3/index.js +7 -6
- package/dist/bundled/v3/components/OrToastContainerV3/OrToastContainer.js +8 -7
- package/dist/bundled/v3/components/OrToastContainerV3/index.js +7 -6
- package/dist/bundled/v3/components/OrToastV3/OrToast.js +7 -6
- package/dist/bundled/v3/components/OrToastV3/index.js +8 -7
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.js +13 -10
- package/dist/bundled/v3/components/OrTooltipV3/OrTooltip.vue.d.ts +17 -6
- package/dist/bundled/v3/components/OrTooltipV3/index.js +6 -5
- package/dist/bundled/v3/components/index.js +26 -25
- package/dist/bundled/v3/hooks/index.d.ts +1 -1
- package/dist/bundled/v3/hooks/index.js +1 -3
- package/dist/bundled/v3/hooks/useControlAttributes.d.ts +1 -2
- package/dist/bundled/v3/hooks/useElevation.js +3 -1
- package/dist/bundled/v3/hooks/useOverflow.d.ts +2 -2
- package/dist/bundled/v3/hooks/usePopoverState.d.ts +11 -0
- package/dist/bundled/v3/hooks/usePopoverState.js +42 -0
- package/dist/bundled/v3/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/bundled/v3/index.js +27 -29
- package/dist/esm/v2/{OrBottomSheet-75a3b3c0.js → OrBottomSheet-0592ccb2.js} +31 -48
- package/dist/esm/v2/{OrCardCollection-94e0d4b3.js → OrCardCollection-2b9bc050.js} +4 -4
- package/dist/esm/v2/{OrCheckbox-41f2822d.js → OrCheckbox-3a8c93ad.js} +0 -2
- package/dist/esm/v2/{OrCheckboxGroup-97cfcbda.js → OrCheckboxGroup-b0d95dd6.js} +1 -1
- package/dist/esm/v2/{OrCheckboxTree-a7dc126c.js → OrCheckboxTree-54b0fdc1.js} +1 -1
- package/dist/esm/v2/{OrConfirm-93176f0d.js → OrConfirm-3f19c23b.js} +30 -54
- package/dist/esm/v2/{OrDatePicker-1f49baf1.js → OrDatePicker-e991e7b2.js} +4 -4
- package/dist/esm/v2/{OrDateTimePicker-3609de6e.js → OrDateTimePicker-7bbd81d1.js} +5 -5
- package/dist/esm/v2/{OrDateTimePickerMonthSelect-94af0df9.js → OrDateTimePickerMonthSelect-d75a849c.js} +3 -3
- package/dist/esm/v2/{OrIconButton-1ee067fd.js → OrIconButton-75972865.js} +2 -2
- package/dist/esm/v2/{OrInlineInput-737e8fff.js → OrInlineInput-cf17dbb2.js} +1 -3
- package/dist/esm/v2/{OrInlineTextarea-8bc79191.js → OrInlineTextarea-2b0e2f39.js} +1 -3
- package/dist/esm/v2/{OrInput-00cba216.js → OrInput-1a2b8ad9.js} +1 -3
- package/dist/esm/v2/{OrMenu-1c14379f.js → OrMenu-a35caf3b.js} +23 -49
- package/dist/esm/v2/OrModal-4aaae6bc.js +312 -0
- package/dist/esm/v2/{OrNotification-b2dd7471.js → OrNotification-a773f1df.js} +1 -1
- package/dist/esm/v2/{OrOverlay-cdaf5b7a.js → OrOverlay-f791976c.js} +1 -3
- package/dist/esm/v2/{OrPagination-06a860c7.js → OrPagination-3513165d.js} +3 -5
- package/dist/esm/v2/{OrPassword-681f8c53.js → OrPassword-1de0dc6c.js} +0 -2
- package/dist/esm/v2/{OrPopover-7096d459.js → OrPopover-a8950b85.js} +33 -106
- package/dist/esm/v2/{OrProgress-e079e857.js → OrProgress-102e3b5d.js} +0 -2
- package/dist/esm/v2/{OrRadio-23810acd.js → OrRadio-a812088f.js} +0 -2
- package/dist/esm/v2/{OrRadioGroup-0e1bf22c.js → OrRadioGroup-0de37d76.js} +1 -1
- package/dist/esm/v2/{OrSearch-408fb293.js → OrSearch-19c157b3.js} +1 -1
- package/dist/esm/v2/{OrSelect-1d437402.js → OrSelect-991b8be3.js} +4 -6
- package/dist/esm/v2/{OrSidebar-c106e59c.js → OrSidebar-bfbb8b0a.js} +1 -1
- package/dist/esm/v2/{OrSidebarCollapseButton-db2b96c5.js → OrSidebarCollapseButton-a98037d6.js} +1 -1
- package/dist/esm/v2/{OrSwitch-cb97f4d3.js → OrSwitch-9fae0bae.js} +0 -2
- package/dist/esm/v2/{OrTabs-52acc3f2.js → OrTabs-abf290af.js} +2 -2
- package/dist/esm/v2/{OrTag-dc2a1452.js → OrTag-aa46cecd.js} +1 -1
- package/dist/esm/v2/{OrTags-33e9a167.js → OrTags-2a567e79.js} +2 -4
- package/dist/esm/v2/{OrTextarea-01df0715.js → OrTextarea-e5c66426.js} +0 -2
- package/dist/esm/v2/{OrTextbox-a937432f.js → OrTextbox-c85d7fe6.js} +0 -2
- package/dist/esm/v2/{OrTimePicker-13359d63.js → OrTimePicker-766637cb.js} +3 -3
- package/dist/esm/v2/{OrTooltip-0649a0cd.js → OrTooltip-0dc63c1a.js} +33 -40
- package/dist/esm/v2/components/index.js +38 -39
- 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 +4 -5
- package/dist/esm/v2/components/or-card-collection-v3/index.js +11 -12
- package/dist/esm/v2/components/or-checkbox-group-v3/index.js +3 -5
- package/dist/esm/v2/components/or-checkbox-tree-v3/index.js +2 -4
- package/dist/esm/v2/components/or-checkbox-v3/index.js +1 -3
- package/dist/esm/v2/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -36
- package/dist/esm/v2/components/or-confirm-v3/index.js +9 -10
- package/dist/esm/v2/components/or-date-picker-v3/index.js +10 -11
- package/dist/esm/v2/components/or-date-time-picker-v3/index.js +10 -11
- package/dist/esm/v2/components/or-icon-button-v3/index.js +7 -8
- package/dist/esm/v2/components/or-inline-input-v3/index.js +8 -9
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +8 -9
- package/dist/esm/v2/components/or-input-v3/index.js +8 -9
- package/dist/esm/v2/components/or-menu-v3/OrMenu.vue.d.ts +13 -16
- package/dist/esm/v2/components/or-menu-v3/index.js +7 -8
- package/dist/esm/v2/components/or-modal-v3/OrModal.vue.d.ts +13 -19
- package/dist/esm/v2/components/or-modal-v3/index.js +12 -13
- 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 +8 -9
- package/dist/esm/v2/components/or-overlay-v3/index.js +2 -4
- package/dist/esm/v2/components/or-pagination-v3/index.js +7 -8
- package/dist/esm/v2/components/or-password/index.js +1 -3
- package/dist/esm/v2/components/or-popover-v3/OrPopover.vue.d.ts +19 -12
- package/dist/esm/v2/components/or-popover-v3/index.js +5 -6
- package/dist/esm/v2/components/or-progress-v3/index.js +1 -3
- package/dist/esm/v2/components/or-radio-group-v3/index.js +2 -4
- package/dist/esm/v2/components/or-radio-v3/index.js +1 -3
- package/dist/esm/v2/components/or-search-v3/index.js +9 -10
- package/dist/esm/v2/components/or-select-v3/index.js +11 -12
- package/dist/esm/v2/components/or-sidebar-v3/index.js +9 -10
- package/dist/esm/v2/components/or-sidebar-v3/partials/index.js +8 -9
- package/dist/esm/v2/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +8 -9
- package/dist/esm/v2/components/or-switch-v3/index.js +1 -3
- package/dist/esm/v2/components/or-tabs-v3/index.js +7 -8
- package/dist/esm/v2/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tags-v3/index.js +9 -10
- package/dist/esm/v2/components/or-textarea-v3/index.js +1 -3
- package/dist/esm/v2/components/or-textbox/index.js +1 -3
- package/dist/esm/v2/components/or-time-picker-v3/index.js +8 -9
- package/dist/esm/v2/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v2/components/or-toast-v3/or-toast-container-v3/index.js +8 -9
- package/dist/esm/v2/components/or-tooltip-v3/OrTooltip.vue.d.ts +20 -17
- package/dist/esm/v2/components/or-tooltip-v3/index.js +7 -8
- package/dist/esm/v2/hooks/index.d.ts +1 -1
- package/dist/esm/v2/hooks/index.js +2 -4
- package/dist/esm/v2/hooks/useControlAttributes.d.ts +1 -2
- package/dist/esm/v2/hooks/useOverflow.d.ts +2 -2
- package/dist/esm/v2/hooks/usePopoverState.d.ts +11 -0
- package/dist/esm/v2/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/esm/v2/index.js +38 -40
- package/dist/esm/v2/{types-a8cdee2b.js → types-f30860ee.js} +2 -4
- package/dist/esm/{v3/useElevation-b5a49746.js → v2/useElevation-a50ec347.js} +3 -1
- package/dist/esm/v2/usePopoverState-8a95a300.js +42 -0
- package/dist/esm/v3/{OrBottomSheet-77311b39.js → OrBottomSheet-a39fb331.js} +31 -48
- package/dist/esm/v3/{OrCardCollection-bb83c68d.js → OrCardCollection-3d652a34.js} +4 -4
- package/dist/esm/v3/{OrCheckbox-2194e473.js → OrCheckbox-7093e9c2.js} +0 -2
- package/dist/esm/v3/{OrCheckboxGroup-6c36527f.js → OrCheckboxGroup-f755d216.js} +1 -1
- package/dist/esm/v3/{OrCheckboxTree-1873a941.js → OrCheckboxTree-99f6eaec.js} +1 -1
- package/dist/esm/v3/{OrConfirm-db0bc902.js → OrConfirm-cb0b2b78.js} +30 -54
- package/dist/esm/v3/{OrDatePicker-afede6ed.js → OrDatePicker-6a44ad41.js} +4 -4
- package/dist/esm/v3/{OrDateTimePicker-c74ee133.js → OrDateTimePicker-2cbcf8c7.js} +5 -5
- package/dist/esm/v3/{OrDateTimePickerMonthSelect-37ab67a7.js → OrDateTimePickerMonthSelect-2f61d92f.js} +3 -3
- package/dist/esm/v3/{OrIconButton-22ed57ad.js → OrIconButton-e34a20eb.js} +2 -2
- package/dist/esm/v3/{OrInlineInput-180b24c4.js → OrInlineInput-ad0d4264.js} +1 -3
- package/dist/esm/v3/{OrInlineTextarea-0ac83ef3.js → OrInlineTextarea-b5ec488d.js} +1 -3
- package/dist/esm/v3/{OrInput-ae5c1b2f.js → OrInput-a9aeef6e.js} +1 -3
- package/dist/esm/v3/{OrMenu-659eb389.js → OrMenu-f590d761.js} +24 -50
- package/dist/esm/v3/OrModal-9dc09e95.js +226 -0
- package/dist/esm/v3/{OrNotification-bcae9dec.js → OrNotification-69031471.js} +1 -1
- package/dist/esm/v3/{OrOverlay-5db47cfe.js → OrOverlay-28952099.js} +1 -3
- package/dist/esm/v3/{OrPagination-9e2ee086.js → OrPagination-f3be120f.js} +3 -5
- package/dist/esm/v3/{OrPassword-cd8a3c46.js → OrPassword-9192b9ea.js} +0 -2
- package/dist/esm/v3/{OrPopover-e2208d1c.js → OrPopover-ebd57053.js} +31 -104
- package/dist/esm/v3/{OrProgress-a54a42c0.js → OrProgress-efa51d7b.js} +0 -2
- package/dist/esm/v3/{OrRadio-4f0026c9.js → OrRadio-a6c88f29.js} +0 -2
- package/dist/esm/v3/{OrRadioGroup-d215409c.js → OrRadioGroup-5d1fe6fd.js} +1 -1
- package/dist/esm/v3/{OrSearch-5c1384ce.js → OrSearch-5576cf14.js} +1 -1
- package/dist/esm/v3/{OrSelect-f32d7727.js → OrSelect-0b3ebce9.js} +4 -6
- package/dist/esm/v3/{OrSidebar-47bea81a.js → OrSidebar-303ef558.js} +1 -1
- package/dist/esm/v3/{OrSidebarCollapseButton-ece05a32.js → OrSidebarCollapseButton-d7f004df.js} +1 -1
- package/dist/esm/v3/{OrSwitch-ed9868db.js → OrSwitch-594f5a63.js} +0 -2
- package/dist/esm/v3/{OrTabs-b9de0432.js → OrTabs-b6c8077c.js} +2 -2
- package/dist/esm/v3/{OrTag-c6f35b07.js → OrTag-4ac45254.js} +1 -1
- package/dist/esm/v3/{OrTags-5990db43.js → OrTags-de9f065e.js} +2 -4
- package/dist/esm/v3/{OrTextarea-0f9a2a27.js → OrTextarea-93cf7da7.js} +0 -2
- package/dist/esm/v3/{OrTextbox-8d2903db.js → OrTextbox-56714f51.js} +0 -2
- package/dist/esm/v3/{OrTimePicker-81437237.js → OrTimePicker-0fe72767.js} +3 -3
- package/dist/esm/v3/{OrTooltip-7e0473b9.js → OrTooltip-edb28095.js} +28 -41
- package/dist/esm/v3/components/index.js +38 -39
- package/dist/esm/v3/components/or-bottom-sheet-v3/OrBottomSheet.vue.d.ts +16 -10
- package/dist/esm/v3/components/or-bottom-sheet-v3/index.js +4 -5
- package/dist/esm/v3/components/or-card-collection-v3/index.js +11 -12
- package/dist/esm/v3/components/or-checkbox-group-v3/index.js +3 -5
- package/dist/esm/v3/components/or-checkbox-tree-v3/index.js +2 -4
- package/dist/esm/v3/components/or-checkbox-v3/index.js +1 -3
- package/dist/esm/v3/components/or-confirm-v3/OrConfirm.vue.d.ts +18 -35
- package/dist/esm/v3/components/or-confirm-v3/index.js +9 -10
- package/dist/esm/v3/components/or-date-picker-v3/index.js +10 -11
- package/dist/esm/v3/components/or-date-time-picker-v3/index.js +10 -11
- package/dist/esm/v3/components/or-icon-button-v3/index.js +7 -8
- package/dist/esm/v3/components/or-inline-input-v3/index.js +8 -9
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +8 -9
- package/dist/esm/v3/components/or-input-v3/index.js +8 -9
- package/dist/esm/v3/components/or-menu-v3/OrMenu.vue.d.ts +13 -5
- package/dist/esm/v3/components/or-menu-v3/index.js +7 -8
- package/dist/esm/v3/components/or-modal-v3/OrModal.vue.d.ts +14 -16
- package/dist/esm/v3/components/or-modal-v3/index.js +11 -12
- 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 +8 -9
- package/dist/esm/v3/components/or-overlay-v3/index.js +2 -4
- package/dist/esm/v3/components/or-pagination-v3/index.js +7 -8
- package/dist/esm/v3/components/or-password/index.js +1 -3
- package/dist/esm/v3/components/or-popover-v3/OrPopover.vue.d.ts +16 -11
- package/dist/esm/v3/components/or-popover-v3/index.js +5 -6
- package/dist/esm/v3/components/or-progress-v3/index.js +1 -3
- package/dist/esm/v3/components/or-radio-group-v3/index.js +2 -4
- package/dist/esm/v3/components/or-radio-v3/index.js +1 -3
- package/dist/esm/v3/components/or-search-v3/index.js +9 -10
- package/dist/esm/v3/components/or-select-v3/index.js +11 -12
- package/dist/esm/v3/components/or-sidebar-v3/index.js +9 -10
- package/dist/esm/v3/components/or-sidebar-v3/partials/index.js +8 -9
- package/dist/esm/v3/components/or-sidebar-v3/partials/or-sidebar-collapse-button/index.js +8 -9
- package/dist/esm/v3/components/or-switch-v3/index.js +1 -3
- package/dist/esm/v3/components/or-tabs-v3/index.js +7 -8
- package/dist/esm/v3/components/or-tag-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tags-v3/index.js +9 -10
- package/dist/esm/v3/components/or-textarea-v3/index.js +1 -3
- package/dist/esm/v3/components/or-textbox/index.js +1 -3
- package/dist/esm/v3/components/or-time-picker-v3/index.js +8 -9
- package/dist/esm/v3/components/or-toast-v3/index.js +8 -9
- package/dist/esm/v3/components/or-toast-v3/or-toast-container-v3/index.js +8 -9
- package/dist/esm/v3/components/or-tooltip-v3/OrTooltip.vue.d.ts +17 -6
- package/dist/esm/v3/components/or-tooltip-v3/index.js +7 -8
- package/dist/esm/v3/hooks/index.d.ts +1 -1
- package/dist/esm/v3/hooks/index.js +2 -4
- package/dist/esm/v3/hooks/useControlAttributes.d.ts +1 -2
- package/dist/esm/v3/hooks/useOverflow.d.ts +2 -2
- package/dist/esm/v3/hooks/usePopoverState.d.ts +11 -0
- package/dist/esm/v3/hooks/useValidationAttributes.d.ts +1 -2
- package/dist/esm/v3/index.js +38 -40
- package/dist/esm/v3/{types-637a5626.js → types-60f3dd35.js} +2 -4
- package/dist/esm/{v2/useElevation-b5a49746.js → v3/useElevation-a50ec347.js} +3 -1
- package/dist/esm/v3/usePopoverState-8a95a300.js +42 -0
- package/package.json +4 -4
- package/src/components/or-bottom-sheet-v3/OrBottomSheet.vue +29 -58
- package/src/components/or-confirm-v3/OrConfirm.vue +29 -50
- package/src/components/or-date-picker-v3/OrDatePicker.vue +1 -1
- package/src/components/or-date-time-picker-v3/OrDateTimePicker.vue +2 -2
- package/src/components/or-menu-v3/OrMenu.vue +18 -40
- package/src/components/or-modal-v3/OrModal.vue +32 -66
- 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 +10 -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-pagination-v3/OrPagination.vue +1 -1
- package/src/components/or-popover-v3/OrPopover.vue +28 -125
- package/src/components/or-time-picker-v3/OrTimePicker.vue +1 -1
- package/src/components/or-tooltip-v3/OrTooltip.vue +24 -40
- package/src/hooks/index.ts +1 -1
- package/src/hooks/useControlAttributes.ts +1 -1
- package/src/hooks/useElevation.ts +7 -2
- package/src/hooks/useOverflow.ts +5 -3
- package/src/hooks/usePopoverState.ts +66 -0
- package/src/hooks/useValidationAttributes.ts +1 -1
- package/src/shims-png.d.ts +2 -2
- package/src/shims-vue.d.ts +2 -3
- package/src/shims.d.ts +3 -5
- package/dist/bundled/v2/hooks/useTheme.d.ts +0 -2
- package/dist/bundled/v2/hooks/useTheme.js +0 -10128
- 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/bundled/v3/hooks/useTheme.d.ts +0 -2
- package/dist/bundled/v3/hooks/useTheme.js +0 -10128
- package/dist/esm/v2/OrModal-3dca06f9.js +0 -174
- package/dist/esm/v2/hooks/useTheme.d.ts +0 -2
- package/dist/esm/v2/useTheme-e23d13c8.js +0 -9
- package/dist/esm/v3/OrModal-2db2eb9f.js +0 -150
- package/dist/esm/v3/hooks/useTheme.d.ts +0 -2
- package/dist/esm/v3/useTheme-e23d13c8.js +0 -9
- package/src/hooks/useTheme.ts +0 -7
- package/src/shims-mdx.d.ts +0 -4
- /package/dist/bundled/v2/{OrDateTimePickerMonthSelect-30f79990.js → OrDateTimePickerMonthSelect-9a8e332c.js} +0 -0
- /package/dist/bundled/v3/{OrOverlay.vue_vue_type_script_lang-86c7b93a.js → OrOverlay.vue_vue_type_script_lang-29ff6fd8.js} +0 -0
- /package/dist/bundled/v3/{OrToastContainer.vue_vue_type_script_lang-485ef171.js → OrToastContainer.vue_vue_type_script_lang-461fb6d1.js} +0 -0
|
@@ -1,11 +1,12 @@
|
|
|
1
|
-
import { a as autoUpdate, c as computePosition,
|
|
1
|
+
import { a as autoUpdate, c as computePosition, s as shift, f as flip, 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, toRef, watchPostEffect, unref } from 'vue-demi';
|
|
4
4
|
import { PopoverVariant, PopoverPlacement } from './props.js';
|
|
5
5
|
import { PopoverRoot, PopoverBody, PopoverBodyPlacements } from './styles.js';
|
|
6
6
|
import __vue_component__$1 from '../OrBottomSheetV3/OrBottomSheet.js';
|
|
7
7
|
import __vue_component__$2 from '../OrTeleportV3/OrTeleport.js';
|
|
8
8
|
import useResponsive from '../../hooks/useResponsive/useResponsive.js';
|
|
9
|
+
import { usePopoverState } from '../../hooks/usePopoverState.js';
|
|
9
10
|
import { useElevation } from '../../hooks/useElevation.js';
|
|
10
11
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
11
12
|
import '../OrBottomSheetV3/props.js';
|
|
@@ -23,6 +24,10 @@ var script = defineComponent({
|
|
|
23
24
|
},
|
|
24
25
|
inheritAttrs: false,
|
|
25
26
|
props: {
|
|
27
|
+
isOpen: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
30
|
+
},
|
|
26
31
|
variant: {
|
|
27
32
|
type: String,
|
|
28
33
|
default: PopoverVariant.Auto
|
|
@@ -52,8 +57,8 @@ var script = defineComponent({
|
|
|
52
57
|
default: false
|
|
53
58
|
}
|
|
54
59
|
},
|
|
55
|
-
emits: ['update:state', '
|
|
56
|
-
expose: ['root', 'state', '
|
|
60
|
+
emits: ['update:state', 'open', 'close'],
|
|
61
|
+
expose: ['root', 'state', 'isFlipped', 'isHidden', 'open', 'close', 'toggle'],
|
|
57
62
|
setup(props, context) {
|
|
58
63
|
const {
|
|
59
64
|
isDesktop,
|
|
@@ -70,89 +75,14 @@ var script = defineComponent({
|
|
|
70
75
|
const rootStyles = computed(() => ['or-popover-v3', ...PopoverRoot, ...props.customStyles]);
|
|
71
76
|
const bodyStyles = computed(() => [...PopoverBody, ...PopoverBodyPlacements[props.placement]]);
|
|
72
77
|
// State
|
|
73
|
-
const
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
78
|
+
const {
|
|
79
|
+
state,
|
|
80
|
+
open,
|
|
81
|
+
close,
|
|
82
|
+
toggle
|
|
83
|
+
} = usePopoverState(toRef(props, 'isOpen'), context);
|
|
77
84
|
const isFlipped = ref(false);
|
|
78
|
-
|
|
79
|
-
watch(state, value => {
|
|
80
|
-
context.emit('update:state', value);
|
|
81
|
-
switch (value) {
|
|
82
|
-
case 'open':
|
|
83
|
-
context.emit('update:state:open');
|
|
84
|
-
break;
|
|
85
|
-
case 'fullscreen':
|
|
86
|
-
context.emit('update:state:fullscreen');
|
|
87
|
-
break;
|
|
88
|
-
case 'closed':
|
|
89
|
-
context.emit('update:state:closed');
|
|
90
|
-
break;
|
|
91
|
-
}
|
|
92
|
-
});
|
|
93
|
-
// Methods
|
|
94
|
-
function open() {
|
|
95
|
-
state.value = 'open';
|
|
96
|
-
switch (props.variant) {
|
|
97
|
-
case PopoverVariant.Auto:
|
|
98
|
-
if (isMobile.value) {
|
|
99
|
-
nextTick(() => {
|
|
100
|
-
const bottomSheetInstance = bottomSheet.value;
|
|
101
|
-
if (bottomSheetInstance) {
|
|
102
|
-
bottomSheetInstance.open();
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
break;
|
|
107
|
-
case PopoverVariant.Popover:
|
|
108
|
-
break;
|
|
109
|
-
case PopoverVariant.BottomSheet:
|
|
110
|
-
nextTick(() => {
|
|
111
|
-
const bottomSheetInstance = bottomSheet.value;
|
|
112
|
-
if (bottomSheetInstance) {
|
|
113
|
-
bottomSheetInstance.open();
|
|
114
|
-
}
|
|
115
|
-
});
|
|
116
|
-
break;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
function close() {
|
|
120
|
-
let auto = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
121
|
-
state.value = 'closed';
|
|
122
|
-
switch (props.variant) {
|
|
123
|
-
case PopoverVariant.Auto:
|
|
124
|
-
if (isMobile.value) {
|
|
125
|
-
nextTick(() => {
|
|
126
|
-
const bottomSheetInstance = bottomSheet.value;
|
|
127
|
-
if (bottomSheetInstance) {
|
|
128
|
-
bottomSheetInstance.close();
|
|
129
|
-
}
|
|
130
|
-
});
|
|
131
|
-
}
|
|
132
|
-
break;
|
|
133
|
-
case PopoverVariant.Popover:
|
|
134
|
-
break;
|
|
135
|
-
case PopoverVariant.BottomSheet:
|
|
136
|
-
nextTick(() => {
|
|
137
|
-
const bottomSheetInstance = bottomSheet.value;
|
|
138
|
-
if (bottomSheetInstance) {
|
|
139
|
-
bottomSheetInstance.close();
|
|
140
|
-
}
|
|
141
|
-
});
|
|
142
|
-
break;
|
|
143
|
-
}
|
|
144
|
-
if (auto) {
|
|
145
|
-
context.emit('update:state:closed-automatically');
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
// Handlers
|
|
149
|
-
function handleBottomSheetState(bottomSheetState) {
|
|
150
|
-
if (bottomSheetState === 'closed') {
|
|
151
|
-
state.value = 'closed';
|
|
152
|
-
} else {
|
|
153
|
-
state.value = 'open';
|
|
154
|
-
}
|
|
155
|
-
}
|
|
85
|
+
const isHidden = ref(false);
|
|
156
86
|
// Effects
|
|
157
87
|
watchPostEffect(() => {
|
|
158
88
|
const rootElement = unref(root);
|
|
@@ -163,14 +93,14 @@ var script = defineComponent({
|
|
|
163
93
|
} = props;
|
|
164
94
|
if (trigger) {
|
|
165
95
|
autoUpdate(trigger, rootElement, async () => {
|
|
166
|
-
var _a;
|
|
96
|
+
var _a, _b;
|
|
167
97
|
const {
|
|
168
98
|
x,
|
|
169
99
|
y,
|
|
170
100
|
middlewareData
|
|
171
101
|
} = await computePosition(trigger, rootElement, {
|
|
172
102
|
placement,
|
|
173
|
-
middleware: [
|
|
103
|
+
middleware: [shift(), flip(), hide()]
|
|
174
104
|
});
|
|
175
105
|
Object.assign(rootElement.style, {
|
|
176
106
|
left: `${x}px`,
|
|
@@ -179,10 +109,14 @@ var script = defineComponent({
|
|
|
179
109
|
width: props.fullWidth ? `${trigger.offsetWidth}px` : ''
|
|
180
110
|
});
|
|
181
111
|
isFlipped.value = Boolean((_a = middlewareData.flip) === null || _a === void 0 ? void 0 : _a.index);
|
|
112
|
+
isHidden.value = Boolean((_b = middlewareData.hide) === null || _b === void 0 ? void 0 : _b.referenceHidden);
|
|
182
113
|
});
|
|
183
114
|
}
|
|
184
115
|
}
|
|
185
116
|
});
|
|
117
|
+
// #region Elevation
|
|
118
|
+
useElevation(root, state);
|
|
119
|
+
// #endregion
|
|
186
120
|
// #region Click Outside
|
|
187
121
|
const trigger = toRef(props, 'trigger');
|
|
188
122
|
onClickOutside(root, event => {
|
|
@@ -193,31 +127,26 @@ var script = defineComponent({
|
|
|
193
127
|
} = _ref;
|
|
194
128
|
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'));
|
|
195
129
|
})) {
|
|
196
|
-
close(
|
|
130
|
+
close();
|
|
197
131
|
}
|
|
198
132
|
}, {
|
|
199
133
|
ignore: [trigger]
|
|
200
134
|
});
|
|
201
135
|
// #endregion
|
|
202
|
-
// #region Elevation
|
|
203
|
-
useElevation(root, state);
|
|
204
|
-
// #endregion
|
|
205
136
|
return {
|
|
206
137
|
isDesktop,
|
|
207
138
|
isMobile,
|
|
208
139
|
root,
|
|
209
140
|
bottomSheet,
|
|
210
141
|
bottomSheetRoot,
|
|
211
|
-
handleBottomSheetState,
|
|
212
142
|
rootStyles,
|
|
213
143
|
bodyStyles,
|
|
214
144
|
state,
|
|
215
|
-
isOpen,
|
|
216
|
-
isFullscreen,
|
|
217
|
-
isClosed,
|
|
218
145
|
isFlipped,
|
|
146
|
+
isHidden,
|
|
219
147
|
open,
|
|
220
|
-
close
|
|
148
|
+
close,
|
|
149
|
+
toggle
|
|
221
150
|
};
|
|
222
151
|
}
|
|
223
152
|
});
|
|
@@ -234,8 +163,8 @@ var __vue_render__ = function () {
|
|
|
234
163
|
directives: [{
|
|
235
164
|
name: "show",
|
|
236
165
|
rawName: "v-show",
|
|
237
|
-
value: _vm.
|
|
238
|
-
expression: "
|
|
166
|
+
value: _vm.state === 'open',
|
|
167
|
+
expression: "state === 'open'"
|
|
239
168
|
}],
|
|
240
169
|
class: ['contents']
|
|
241
170
|
}, [_vm.isDesktop && _vm.variant === 'auto' || _vm.variant === 'popover' ? [_c('div', _vm._b({
|
|
@@ -245,12 +174,12 @@ var __vue_render__ = function () {
|
|
|
245
174
|
class: _vm.bodyStyles
|
|
246
175
|
}, [_vm._t("default")], 2)]], 2)] : _vm._e(), _vm._v(" "), _vm.isMobile && _vm.variant === 'auto' || _vm.variant === 'bottom-sheet' ? [_c('OrBottomSheet', _vm._b({
|
|
247
176
|
ref: "bottomSheet",
|
|
177
|
+
attrs: {
|
|
178
|
+
"is-open": _vm.state === 'open'
|
|
179
|
+
},
|
|
248
180
|
on: {
|
|
249
181
|
"update:state": function ($event) {
|
|
250
182
|
_vm.state = $event;
|
|
251
|
-
},
|
|
252
|
-
"update:state:closed-automatically": function ($event) {
|
|
253
|
-
return _vm.$emit('update:state:closed-automatically');
|
|
254
183
|
}
|
|
255
184
|
}
|
|
256
185
|
}, 'OrBottomSheet', _vm.bottomSheetProps, false), [_vm._t("default")], 2)] : _vm._e()], 2)]);
|
|
@@ -10,17 +10,19 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
10
10
|
[x: number]: string;
|
|
11
11
|
} | {}, true> | undefined>;
|
|
12
12
|
bottomSheetRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
13
|
-
handleBottomSheetState: (bottomSheetState: string) => void;
|
|
14
13
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
15
14
|
bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
16
|
-
state: import("@vue/composition-api").Ref<"open" | "
|
|
17
|
-
isOpen: import("@vue/composition-api").ComputedRef<boolean>;
|
|
18
|
-
isFullscreen: import("@vue/composition-api").ComputedRef<boolean>;
|
|
19
|
-
isClosed: import("@vue/composition-api").ComputedRef<boolean>;
|
|
15
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
20
16
|
isFlipped: import("@vue/composition-api").Ref<boolean>;
|
|
17
|
+
isHidden: import("@vue/composition-api").Ref<boolean>;
|
|
21
18
|
open: () => void;
|
|
22
|
-
close: (
|
|
19
|
+
close: () => void;
|
|
20
|
+
toggle: () => void;
|
|
23
21
|
}> & import("@vue/composition-api").Data, {}, {}, {
|
|
22
|
+
isOpen: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
24
26
|
variant: {
|
|
25
27
|
type: PropType<"auto" | "popover" | "bottom-sheet">;
|
|
26
28
|
default: PopoverVariant;
|
|
@@ -55,6 +57,10 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
55
57
|
default: boolean;
|
|
56
58
|
};
|
|
57
59
|
}, import("@vue/composition-api").ExtractPropTypes<{
|
|
60
|
+
isOpen: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default: boolean;
|
|
63
|
+
};
|
|
58
64
|
variant: {
|
|
59
65
|
type: PropType<"auto" | "popover" | "bottom-sheet">;
|
|
60
66
|
default: PopoverVariant;
|
|
@@ -89,6 +95,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
89
95
|
default: boolean;
|
|
90
96
|
};
|
|
91
97
|
}>> & Omit<import("vue").VueConstructor<import("vue").default>, never> & (new (...args: any[]) => import("@vue/composition-api").ComponentRenderProxy<{
|
|
98
|
+
isOpen: boolean;
|
|
92
99
|
variant: "auto" | "popover" | "bottom-sheet";
|
|
93
100
|
bottomSheetProps: Readonly<Partial<{
|
|
94
101
|
[x: number]: string;
|
|
@@ -110,17 +117,16 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
110
117
|
[x: number]: string;
|
|
111
118
|
} | {}, true> | undefined>;
|
|
112
119
|
bottomSheetRoot: import("@vue/composition-api").ComputedRef<undefined>;
|
|
113
|
-
handleBottomSheetState: (bottomSheetState: string) => void;
|
|
114
120
|
rootStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
115
121
|
bodyStyles: import("@vue/composition-api").ComputedRef<string[]>;
|
|
116
|
-
state: import("@vue/composition-api").Ref<"open" | "
|
|
117
|
-
isOpen: import("@vue/composition-api").ComputedRef<boolean>;
|
|
118
|
-
isFullscreen: import("@vue/composition-api").ComputedRef<boolean>;
|
|
119
|
-
isClosed: import("@vue/composition-api").ComputedRef<boolean>;
|
|
122
|
+
state: import("@vue/composition-api").Ref<"open" | "closed">;
|
|
120
123
|
isFlipped: import("@vue/composition-api").Ref<boolean>;
|
|
124
|
+
isHidden: import("@vue/composition-api").Ref<boolean>;
|
|
121
125
|
open: () => void;
|
|
122
|
-
close: (
|
|
126
|
+
close: () => void;
|
|
127
|
+
toggle: () => void;
|
|
123
128
|
}>, import("@vue/composition-api").Data, {}, {}, {}, {}, string[], {
|
|
129
|
+
isOpen: boolean;
|
|
124
130
|
variant: "auto" | "popover" | "bottom-sheet";
|
|
125
131
|
bottomSheetProps: Readonly<Partial<{
|
|
126
132
|
[x: number]: string;
|
|
@@ -133,6 +139,7 @@ declare const _default: import("vue").ComponentOptions<import("vue").default, im
|
|
|
133
139
|
} & {} & {
|
|
134
140
|
[x: `on${Capitalize<string>}`]: ((...args: any[]) => any) | undefined;
|
|
135
141
|
}, {
|
|
142
|
+
isOpen: boolean;
|
|
136
143
|
variant: "auto" | "popover" | "bottom-sheet";
|
|
137
144
|
bottomSheetProps: Readonly<Partial<{
|
|
138
145
|
[x: number]: string;
|
|
@@ -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';
|
|
@@ -31,6 +31,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
31
31
|
import 'portal-vue';
|
|
32
32
|
import '../../hooks/useElevation.js';
|
|
33
33
|
import '../../utils/isVisible.js';
|
|
34
|
+
import '../../hooks/usePopoverState.js';
|
|
34
35
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
35
36
|
import '../OrInputBoxV3/OrInputBox.js';
|
|
36
37
|
import '../OrInputBoxV3/styles.js';
|
|
@@ -37,6 +37,7 @@ import '../OrIconButtonV3/styles.js';
|
|
|
37
37
|
import '../OrTooltipV3/OrTooltip.js';
|
|
38
38
|
import '../OrTooltipV3/styles.js';
|
|
39
39
|
import '../OrPopoverV3/props.js';
|
|
40
|
+
import '../../hooks/usePopoverState.js';
|
|
40
41
|
import '../OrLoaderV3/OrLoader.js';
|
|
41
42
|
import '../OrLoaderV3/props.js';
|
|
42
43
|
import '../OrLoaderV3/styles.js';
|
|
@@ -44,6 +44,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
44
44
|
import 'portal-vue';
|
|
45
45
|
import '../../hooks/useElevation.js';
|
|
46
46
|
import '../../utils/isVisible.js';
|
|
47
|
+
import '../../hooks/usePopoverState.js';
|
|
47
48
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
48
49
|
import '../OrInputBoxV3/OrInputBox.js';
|
|
49
50
|
import '../OrInputBoxV3/styles.js';
|
|
@@ -24,6 +24,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
24
24
|
import 'portal-vue';
|
|
25
25
|
import '../../hooks/useElevation.js';
|
|
26
26
|
import '../../utils/isVisible.js';
|
|
27
|
+
import '../../hooks/usePopoverState.js';
|
|
27
28
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
28
29
|
|
|
29
30
|
const CollapseButtonContainer = [
|
|
@@ -24,5 +24,6 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
24
24
|
import 'portal-vue';
|
|
25
25
|
import '../../hooks/useElevation.js';
|
|
26
26
|
import '../../utils/isVisible.js';
|
|
27
|
+
import '../../hooks/usePopoverState.js';
|
|
27
28
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
28
29
|
import './styles.js';
|
|
@@ -23,6 +23,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
23
23
|
import 'portal-vue';
|
|
24
24
|
import '../../hooks/useElevation.js';
|
|
25
25
|
import '../../utils/isVisible.js';
|
|
26
|
+
import '../../hooks/usePopoverState.js';
|
|
26
27
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
27
28
|
import '../OrMenuItemV3/styles.js';
|
|
28
29
|
import '../OrTabV3/styles.js';
|
|
@@ -22,6 +22,7 @@ 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';
|
|
26
27
|
import '../OrMenuItemV3/OrMenuItem.js';
|
|
27
28
|
import '../OrMenuItemV3/styles.js';
|
|
@@ -9,10 +9,10 @@ import '../OrIconButtonV3/styles.js';
|
|
|
9
9
|
import '../OrIconV3/OrIcon.js';
|
|
10
10
|
import '../OrIconV3/styles.js';
|
|
11
11
|
import '../OrTooltipV3/OrTooltip.js';
|
|
12
|
-
import '@vueuse/core';
|
|
13
12
|
import '../OrTooltipV3/styles.js';
|
|
14
13
|
import '../OrPopoverV3/OrPopover.js';
|
|
15
14
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
15
|
+
import '@vueuse/core';
|
|
16
16
|
import '../OrPopoverV3/props.js';
|
|
17
17
|
import '../OrPopoverV3/styles.js';
|
|
18
18
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
@@ -24,6 +24,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
24
24
|
import 'portal-vue';
|
|
25
25
|
import '../../hooks/useElevation.js';
|
|
26
26
|
import '../../utils/isVisible.js';
|
|
27
|
+
import '../../hooks/usePopoverState.js';
|
|
27
28
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
28
29
|
|
|
29
30
|
var script = defineComponent({
|
|
@@ -10,10 +10,10 @@ import '../OrIconV3/OrIcon.js';
|
|
|
10
10
|
import '../OrIconV3/styles.js';
|
|
11
11
|
import '../../normalize-component-6e8e3d80.js';
|
|
12
12
|
import '../OrTooltipV3/OrTooltip.js';
|
|
13
|
-
import '@vueuse/core';
|
|
14
13
|
import '../OrTooltipV3/styles.js';
|
|
15
14
|
import '../OrPopoverV3/OrPopover.js';
|
|
16
15
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
16
|
+
import '@vueuse/core';
|
|
17
17
|
import '../OrPopoverV3/props.js';
|
|
18
18
|
import '../OrPopoverV3/styles.js';
|
|
19
19
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
@@ -25,4 +25,5 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
25
25
|
import 'portal-vue';
|
|
26
26
|
import '../../hooks/useElevation.js';
|
|
27
27
|
import '../../utils/isVisible.js';
|
|
28
|
+
import '../../hooks/usePopoverState.js';
|
|
28
29
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
@@ -23,6 +23,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
23
23
|
import 'portal-vue';
|
|
24
24
|
import '../../hooks/useElevation.js';
|
|
25
25
|
import '../../utils/isVisible.js';
|
|
26
|
+
import '../../hooks/usePopoverState.js';
|
|
26
27
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
27
28
|
import '../OrTagV3/props.js';
|
|
28
29
|
import '../OrTagV3/styles.js';
|
|
@@ -22,6 +22,7 @@ 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';
|
|
26
27
|
import '../OrTagV3/OrTag.js';
|
|
27
28
|
import '../OrTagV3/props.js';
|
|
@@ -31,6 +31,7 @@ import '../OrIconButtonV3/styles.js';
|
|
|
31
31
|
import '../OrTooltipV3/OrTooltip.js';
|
|
32
32
|
import '../OrTooltipV3/styles.js';
|
|
33
33
|
import '../OrPopoverV3/props.js';
|
|
34
|
+
import '../../hooks/usePopoverState.js';
|
|
34
35
|
import '../OrInputBoxV3/styles.js';
|
|
35
36
|
import '../OrLabelV3/props.js';
|
|
36
37
|
import '../OrLabelV3/styles.js';
|
|
@@ -306,7 +307,7 @@ var __vue_render__ = function () {
|
|
|
306
307
|
"placement": 'bottom-start'
|
|
307
308
|
},
|
|
308
309
|
on: {
|
|
309
|
-
"
|
|
310
|
+
"close": function ($event) {
|
|
310
311
|
return _vm.reset();
|
|
311
312
|
}
|
|
312
313
|
}
|
|
@@ -42,6 +42,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
42
42
|
import 'portal-vue';
|
|
43
43
|
import '../../hooks/useElevation.js';
|
|
44
44
|
import '../../utils/isVisible.js';
|
|
45
|
+
import '../../hooks/usePopoverState.js';
|
|
45
46
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
46
47
|
import '../OrInputBoxV3/OrInputBox.js';
|
|
47
48
|
import '../OrInputBoxV3/styles.js';
|
|
@@ -26,6 +26,7 @@ import '../OrBottomSheetV3/props.js';
|
|
|
26
26
|
import '../OrBottomSheetV3/styles.js';
|
|
27
27
|
import '../OrOverlayV3/OrOverlay.js';
|
|
28
28
|
import '../OrOverlayV3/styles.js';
|
|
29
|
+
import '../../hooks/usePopoverState.js';
|
|
29
30
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
30
31
|
import '../OrLoaderV3/OrLoader.js';
|
|
31
32
|
import '../OrLoaderV3/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 '../OrLoaderV3/OrLoader.js';
|
|
35
36
|
import '../OrLoaderV3/props.js';
|
|
@@ -11,10 +11,10 @@ import '../OrIconButtonV3/styles.js';
|
|
|
11
11
|
import '../OrIconV3/OrIcon.js';
|
|
12
12
|
import '../OrIconV3/styles.js';
|
|
13
13
|
import '../OrTooltipV3/OrTooltip.js';
|
|
14
|
-
import '@vueuse/core';
|
|
15
14
|
import '../OrTooltipV3/styles.js';
|
|
16
15
|
import '../OrPopoverV3/OrPopover.js';
|
|
17
16
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
17
|
+
import '@vueuse/core';
|
|
18
18
|
import '../OrPopoverV3/props.js';
|
|
19
19
|
import '../OrPopoverV3/styles.js';
|
|
20
20
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
@@ -26,6 +26,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
26
26
|
import 'portal-vue';
|
|
27
27
|
import '../../hooks/useElevation.js';
|
|
28
28
|
import '../../utils/isVisible.js';
|
|
29
|
+
import '../../hooks/usePopoverState.js';
|
|
29
30
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
30
31
|
import '../OrLoaderV3/props.js';
|
|
31
32
|
import '../OrLoaderV3/styles.js';
|
|
@@ -14,10 +14,10 @@ import '../OrIconV3/OrIcon.js';
|
|
|
14
14
|
import '../OrIconV3/styles.js';
|
|
15
15
|
import '../../normalize-component-6e8e3d80.js';
|
|
16
16
|
import '../OrTooltipV3/OrTooltip.js';
|
|
17
|
-
import '@vueuse/core';
|
|
18
17
|
import '../OrTooltipV3/styles.js';
|
|
19
18
|
import '../OrPopoverV3/OrPopover.js';
|
|
20
19
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
20
|
+
import '@vueuse/core';
|
|
21
21
|
import '../OrPopoverV3/props.js';
|
|
22
22
|
import '../OrPopoverV3/styles.js';
|
|
23
23
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
@@ -29,6 +29,7 @@ import '../OrTeleportV3/OrTeleport.js';
|
|
|
29
29
|
import 'portal-vue';
|
|
30
30
|
import '../../hooks/useElevation.js';
|
|
31
31
|
import '../../utils/isVisible.js';
|
|
32
|
+
import '../../hooks/usePopoverState.js';
|
|
32
33
|
import '../../hooks/useResponsive/useResponsive.js';
|
|
33
34
|
import '../OrLoaderV3/OrLoader.js';
|
|
34
35
|
import '../OrLoaderV3/props.js';
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent, ref, computed, watch } from 'vue-demi';
|
|
1
|
+
import { defineComponent, ref, computed, toRef } from 'vue-demi';
|
|
3
2
|
import { TooltipRoot, TooltipBody, TooltipBodyPlacements } from './styles.js';
|
|
4
3
|
import __vue_component__$1 from '../OrPopoverV3/OrPopover.js';
|
|
5
4
|
import { PopoverPlacement } from '../OrPopoverV3/props.js';
|
|
5
|
+
import { usePopoverState } from '../../hooks/usePopoverState.js';
|
|
6
6
|
import { n as normalizeComponent } from '../../normalize-component-6e8e3d80.js';
|
|
7
7
|
import '../../floating-ui.dom.esm-83eba816.js';
|
|
8
|
+
import '@vueuse/core';
|
|
8
9
|
import '../OrPopoverV3/styles.js';
|
|
9
10
|
import '../OrBottomSheetV3/OrBottomSheet.js';
|
|
10
11
|
import '../OrBottomSheetV3/props.js';
|
|
@@ -23,6 +24,10 @@ var script = defineComponent({
|
|
|
23
24
|
OrPopover: __vue_component__$1
|
|
24
25
|
},
|
|
25
26
|
props: {
|
|
27
|
+
isOpen: {
|
|
28
|
+
type: Boolean,
|
|
29
|
+
default: false
|
|
30
|
+
},
|
|
26
31
|
text: {
|
|
27
32
|
type: String,
|
|
28
33
|
default: undefined
|
|
@@ -32,51 +37,31 @@ var script = defineComponent({
|
|
|
32
37
|
default: PopoverPlacement.Bottom
|
|
33
38
|
}
|
|
34
39
|
},
|
|
35
|
-
emits: ['update:state'],
|
|
36
|
-
expose: ['root', 'open', 'close'],
|
|
37
|
-
setup(props) {
|
|
40
|
+
emits: ['update:state', 'open', 'close'],
|
|
41
|
+
expose: ['root', 'state', 'open', 'close', 'toggle'],
|
|
42
|
+
setup(props, context) {
|
|
38
43
|
// Refs
|
|
39
44
|
const root = ref();
|
|
40
|
-
const popover = ref();
|
|
41
|
-
const popoverRoot = computed(() => {
|
|
42
|
-
var _a;
|
|
43
|
-
return (_a = popover.value) === null || _a === void 0 ? void 0 : _a.root;
|
|
44
|
-
});
|
|
45
45
|
// Styles
|
|
46
46
|
const rootStyles = computed(() => ['or-tooltip-v3', ...TooltipRoot]);
|
|
47
47
|
const bodyStyles = computed(() => [...TooltipBody, ...TooltipBodyPlacements[props.placement]]);
|
|
48
|
-
//
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
}, 250);
|
|
57
|
-
const close = useDebounceFn(() => {
|
|
58
|
-
if (!hover.value) {
|
|
59
|
-
const popoverInstance = popover.value;
|
|
60
|
-
if (popoverInstance) {
|
|
61
|
-
popoverInstance.close();
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, 250);
|
|
65
|
-
// Effects
|
|
66
|
-
// #region Hover
|
|
67
|
-
const hover = useElementHover(root);
|
|
68
|
-
watch(hover, value => {
|
|
69
|
-
value ? open() : close();
|
|
48
|
+
// State
|
|
49
|
+
const {
|
|
50
|
+
state,
|
|
51
|
+
open,
|
|
52
|
+
close,
|
|
53
|
+
toggle
|
|
54
|
+
} = usePopoverState(toRef(props, 'isOpen'), context, {
|
|
55
|
+
debounce: 250
|
|
70
56
|
});
|
|
71
|
-
// #endregion
|
|
72
57
|
return {
|
|
73
58
|
root,
|
|
74
|
-
popover,
|
|
75
|
-
popoverRoot,
|
|
76
59
|
rootStyles,
|
|
77
60
|
bodyStyles,
|
|
61
|
+
state,
|
|
78
62
|
open,
|
|
79
|
-
close
|
|
63
|
+
close,
|
|
64
|
+
toggle
|
|
80
65
|
};
|
|
81
66
|
}
|
|
82
67
|
});
|
|
@@ -91,10 +76,18 @@ var __vue_render__ = function () {
|
|
|
91
76
|
var _c = _vm._self._c || _h;
|
|
92
77
|
return _c('div', {
|
|
93
78
|
ref: "root",
|
|
94
|
-
class: _vm.rootStyles
|
|
79
|
+
class: _vm.rootStyles,
|
|
80
|
+
on: {
|
|
81
|
+
"mouseenter": function ($event) {
|
|
82
|
+
return _vm.open();
|
|
83
|
+
},
|
|
84
|
+
"mouseleave": function ($event) {
|
|
85
|
+
return _vm.close();
|
|
86
|
+
}
|
|
87
|
+
}
|
|
95
88
|
}, [_vm._t("default"), _vm._v(" "), _vm.text ? [_c('OrPopover', {
|
|
96
|
-
ref: "popover",
|
|
97
89
|
attrs: {
|
|
90
|
+
"is-open": _vm.state === 'open',
|
|
98
91
|
"variant": 'popover',
|
|
99
92
|
"trigger": _vm.root,
|
|
100
93
|
"placement": _vm.placement,
|
|
@@ -103,7 +96,7 @@ var __vue_render__ = function () {
|
|
|
103
96
|
},
|
|
104
97
|
on: {
|
|
105
98
|
"update:state": function ($event) {
|
|
106
|
-
|
|
99
|
+
_vm.state = $event;
|
|
107
100
|
}
|
|
108
101
|
}
|
|
109
102
|
}, [_c('div', {
|