@onereach/ui-components 2.66.1 → 2.67.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundled/v2/{OrCardCollection-432f5781.js → OrCardCollection-7c13a3bd.js} +2 -2
- package/dist/bundled/v2/{OrConfirm-8e62359c.js → OrConfirm-bd862fdc.js} +1 -1
- package/dist/bundled/v2/{OrIconButton-7a0675ef.js → OrIconButton-bd603c0a.js} +1 -1
- package/dist/bundled/v2/{OrInlineInput-021f6902.js → OrInlineInput-057e8a0d.js} +1 -1
- package/dist/bundled/v2/{OrInlineTextarea-bd4e5b96.js → OrInlineTextarea-26202344.js} +1 -1
- package/dist/bundled/v2/{OrInput-433ce585.js → OrInput-31a6d6ae.js} +1 -1
- package/dist/bundled/v2/{OrModal-cab3183b.js → OrModal-eedde1b4.js} +1 -1
- package/dist/bundled/v2/{OrNotification-1bb32838.js → OrNotification-13259dff.js} +1 -1
- package/dist/bundled/v2/{OrSearch-0048cc41.js → OrSearch-cbd331c4.js} +1 -1
- package/dist/bundled/v2/{OrSelect-92ba4bb6.js → OrSelect-6902a50b.js} +2 -2
- package/dist/bundled/v2/{OrTag-4c3cf27a.js → OrTag-1af18778.js} +1 -1
- package/dist/bundled/v2/{OrTooltip-2b60b1c4.js → OrTooltip-b572ee62.js} +15 -11
- package/dist/bundled/v2/components/index.js +13 -13
- package/dist/bundled/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-input-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-modal-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-notification-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-search-v3/index.js +4 -4
- package/dist/bundled/v2/components/or-select-v3/index.js +5 -5
- package/dist/bundled/v2/components/or-tag-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-toast-v3/index.js +3 -3
- package/dist/bundled/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v2/index.js +13 -13
- package/dist/bundled/v2/{types-e2400129.js → types-7ce01e13.js} +1 -1
- package/dist/bundled/v3/{OrCardCollection.vue_vue_type_script_lang-009796eb.js → OrCardCollection.vue_vue_type_script_lang-b3a66a7c.js} +4 -4
- package/dist/bundled/v3/{OrConfirm.vue_vue_type_script_lang-f4e95460.js → OrConfirm.vue_vue_type_script_lang-84a04cfd.js} +2 -2
- package/dist/bundled/v3/{OrIconButton-60d6d892.js → OrIconButton-266c8d10.js} +1 -1
- package/dist/bundled/v3/{OrIconButton.vue_vue_type_script_lang-0453a94c.js → OrIconButton.vue_vue_type_script_lang-1a3f26e9.js} +1 -1
- package/dist/bundled/v3/{OrInlineInput.vue_vue_type_script_lang-a53ad2a1.js → OrInlineInput.vue_vue_type_script_lang-cedb6021.js} +2 -2
- package/dist/bundled/v3/{OrInlineTextarea.vue_vue_type_script_lang-719332e2.js → OrInlineTextarea.vue_vue_type_script_lang-d8392c9d.js} +2 -2
- package/dist/bundled/v3/{OrInput-b6e54f65.js → OrInput-1d72afa3.js} +1 -1
- package/dist/bundled/v3/{OrInput.vue_vue_type_script_lang-af21b7c0.js → OrInput.vue_vue_type_script_lang-555432de.js} +2 -2
- package/dist/bundled/v3/{OrModal.vue_vue_type_script_lang-7bbbcb29.js → OrModal.vue_vue_type_script_lang-a3a4e6ce.js} +2 -2
- package/dist/bundled/v3/{OrNotification.vue_vue_type_script_lang-3f8ab8ef.js → OrNotification.vue_vue_type_script_lang-1f1b88b2.js} +2 -2
- package/dist/bundled/v3/{OrSearch.vue_vue_type_script_lang-fe254bb6.js → OrSearch.vue_vue_type_script_lang-82a27f13.js} +2 -2
- package/dist/bundled/v3/{OrSelect.vue_vue_type_script_lang-6c0cc6ce.js → OrSelect.vue_vue_type_script_lang-7c518520.js} +3 -3
- package/dist/bundled/v3/{OrTag.vue_vue_type_script_lang-511e5aae.js → OrTag.vue_vue_type_script_lang-f0b8b1dd.js} +2 -2
- package/dist/bundled/v3/{OrToastContainer-40d69fb8.js → OrToastContainer-0ac62d2d.js} +1 -1
- package/dist/bundled/v3/{OrTooltip.vue_vue_type_script_lang-d8bca183.js → OrTooltip.vue_vue_type_script_lang-497543c7.js} +15 -11
- package/dist/bundled/v3/components/index.js +15 -15
- package/dist/bundled/v3/components/or-card-collection-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-confirm-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/bundled/v3/components/or-inline-input-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-inline-textarea-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-input-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-modal-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-notification-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-search-v3/index.js +6 -6
- package/dist/bundled/v3/components/or-select-v3/index.js +7 -7
- package/dist/bundled/v3/components/or-tag-v3/index.js +4 -4
- package/dist/bundled/v3/components/or-toast-v3/index.js +5 -5
- package/dist/bundled/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/bundled/v3/index.js +24 -24
- package/dist/bundled/v3/{types-e835fb44.js → types-b32449b7.js} +2 -2
- package/dist/esm/v2/{OrCardCollection-4b0ac2bc.js → OrCardCollection-53f767dd.js} +2 -2
- package/dist/esm/v2/{OrConfirm-fe91a77f.js → OrConfirm-7afbef04.js} +1 -1
- package/dist/esm/v2/{OrIconButton-a2dda348.js → OrIconButton-f9d5ff27.js} +1 -1
- package/dist/esm/v2/{OrInlineInput-d4815724.js → OrInlineInput-16b53685.js} +1 -1
- package/dist/esm/v2/{OrInlineTextarea-968dc141.js → OrInlineTextarea-9b85150f.js} +1 -1
- package/dist/esm/v2/{OrInput-f6f438bd.js → OrInput-9a484f2b.js} +1 -1
- package/dist/esm/v2/{OrModal-c8617460.js → OrModal-a7b04967.js} +1 -1
- package/dist/esm/v2/{OrNotification-9c5b175d.js → OrNotification-999059f3.js} +1 -1
- package/dist/esm/v2/{OrSearch-5f11e597.js → OrSearch-365a7797.js} +1 -1
- package/dist/esm/v2/{OrSelect-806dde86.js → OrSelect-3f913e5f.js} +2 -2
- package/dist/esm/v2/{OrTag-f3dbd61f.js → OrTag-92eb418d.js} +1 -1
- package/dist/esm/v2/{OrTooltip-afe7030b.js → OrTooltip-4e1b0d6c.js} +15 -11
- package/dist/esm/v2/components/index.js +13 -13
- package/dist/esm/v2/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v2/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v2/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v2/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v2/components/or-input-v3/index.js +3 -3
- package/dist/esm/v2/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v2/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v2/components/or-search-v3/index.js +4 -4
- package/dist/esm/v2/components/or-select-v3/index.js +5 -5
- package/dist/esm/v2/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v2/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v2/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v2/index.js +13 -13
- package/dist/esm/v2/{types-d89ea983.js → types-4b4245fc.js} +1 -1
- package/dist/esm/v3/{OrCardCollection-30914b21.js → OrCardCollection-aabc4ee8.js} +2 -2
- package/dist/esm/v3/{OrConfirm-d702733a.js → OrConfirm-4efec964.js} +1 -1
- package/dist/esm/v3/{OrIconButton-f0aca58a.js → OrIconButton-f6e7d913.js} +1 -1
- package/dist/esm/v3/{OrInlineInput-9afe1893.js → OrInlineInput-02655710.js} +1 -1
- package/dist/esm/v3/{OrInlineTextarea-7c67a298.js → OrInlineTextarea-dd7e58f8.js} +1 -1
- package/dist/esm/v3/{OrInput-6376195d.js → OrInput-c9cbac93.js} +1 -1
- package/dist/esm/v3/{OrModal-ce7a20bf.js → OrModal-892d7155.js} +1 -1
- package/dist/esm/v3/{OrNotification-4b09a862.js → OrNotification-0764ca9b.js} +1 -1
- package/dist/esm/v3/{OrSearch-8aaedf9d.js → OrSearch-1f71b1db.js} +1 -1
- package/dist/esm/v3/{OrSelect-58a004fd.js → OrSelect-25c0622d.js} +2 -2
- package/dist/esm/v3/{OrTag-a3f5dbf4.js → OrTag-3da3c48e.js} +1 -1
- package/dist/esm/v3/{OrTooltip-36c6728c.js → OrTooltip-91f1a258.js} +15 -11
- package/dist/esm/v3/components/index.js +13 -13
- package/dist/esm/v3/components/or-card-collection-v3/index.js +4 -4
- package/dist/esm/v3/components/or-confirm-v3/index.js +4 -4
- package/dist/esm/v3/components/or-icon-button-v3/index.js +2 -2
- package/dist/esm/v3/components/or-inline-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-inline-textarea-v3/index.js +3 -3
- package/dist/esm/v3/components/or-input-v3/index.js +3 -3
- package/dist/esm/v3/components/or-modal-v3/index.js +3 -3
- package/dist/esm/v3/components/or-notification-v3/index.js +3 -3
- package/dist/esm/v3/components/or-search-v3/index.js +4 -4
- package/dist/esm/v3/components/or-select-v3/index.js +5 -5
- package/dist/esm/v3/components/or-tag-v3/index.js +3 -3
- package/dist/esm/v3/components/or-toast-v3/index.js +3 -3
- package/dist/esm/v3/components/or-tooltip-v3/index.js +1 -1
- package/dist/esm/v3/index.js +13 -13
- package/dist/esm/v3/{types-bc8b5580.js → types-87510065.js} +1 -1
- package/package.json +2 -2
- package/src/components/or-tooltip-v3/OrTooltip.vue +15 -11
package/dist/esm/v3/index.js
CHANGED
|
@@ -6,7 +6,7 @@ export { b as BUTTON_COLOR, d as BUTTON_LOADER_TYPE, c as BUTTON_SIZE, B as BUTT
|
|
|
6
6
|
export { a as ButtonColor, b as ButtonType, B as ButtonVariant, s as OrButtonV3 } from './OrButton-12b36e89.js';
|
|
7
7
|
export { s as OrCard } from './OrCard-e3a5aea4.js';
|
|
8
8
|
export { C as CARD_COLLECTION_LAYOUT, s as OrCardCollection } from './OrCardCollection-a5e326ef.js';
|
|
9
|
-
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-
|
|
9
|
+
export { C as CardCollectionView, s as OrCardCollectionV3 } from './OrCardCollection-aabc4ee8.js';
|
|
10
10
|
export { s as OrCardV3 } from './OrCard-b63658a8.js';
|
|
11
11
|
export { a as OrCarousel, s as OrCarouselItem } from './OrCarouselItem-636d99a1.js';
|
|
12
12
|
export { s as OrCheckbox } from './OrCheckbox-a0b957e7.js';
|
|
@@ -16,7 +16,7 @@ export { s as OrCode, O as OrCodeLanguages } from './OrCode-ee19a5e6.js';
|
|
|
16
16
|
export { s as OrCollapse } from './OrCollapse-445141ab.js';
|
|
17
17
|
export { s as OrColorPicker, h as amber, n as black, b as blue, m as blueGrey, k as brown, c as cyan, j as deepOrange, d as deepPurple, g as green, i as indigo, l as lightBlue, e as lightGreen, f as lime, o as orange, p as pink, a as purple, r as red, t as teal, w as white, y as yellow } from './OrColorPicker-189cb097.js';
|
|
18
18
|
export { s as OrConfirm } from './OrConfirm-f39bd784.js';
|
|
19
|
-
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-
|
|
19
|
+
export { C as ConfirmType, s as OrConfirmV3 } from './OrConfirm-4efec964.js';
|
|
20
20
|
export { D as DEFAULT_TEXT, s as OrDateTimePicker, a as OrDateTimePickerItemTypes, O as OrDateTimePickerTypes } from './OrDateTimePicker-f2e08564.js';
|
|
21
21
|
export { s as OrError } from './OrError-f90296db.js';
|
|
22
22
|
export { s as OrErrorTagV3 } from './OrErrorTag-bbfd3ca6.js';
|
|
@@ -27,14 +27,14 @@ export { s as OrFloating, a as OrFloatingHideStrategy, O as OrFloatingPlacements
|
|
|
27
27
|
export { s as OrHint } from './OrHint-1414c530.js';
|
|
28
28
|
export { s as OrHintV3 } from './OrHint-73835593.js';
|
|
29
29
|
export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-669503c3.js';
|
|
30
|
-
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-
|
|
30
|
+
export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-f6e7d913.js';
|
|
31
31
|
export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-e2fa4cf8.js';
|
|
32
32
|
export { I as InlineInputBoxSize, I as InlineInputSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-1b473796.js';
|
|
33
|
-
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-
|
|
33
|
+
export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-02655710.js';
|
|
34
34
|
export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-1aa477b5.js';
|
|
35
|
-
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-
|
|
35
|
+
export { s as OrInlineTextareaV3 } from './OrInlineTextarea-dd7e58f8.js';
|
|
36
36
|
export { a as InputBoxSize, I as InputBoxVariant, a as InputSize, s as OrInputBoxV3, a as SearchSize, a as SelectSize, a as TextareaSize } from './OrInputBox-634230b1.js';
|
|
37
|
-
export { I as InputType, s as OrInputV3 } from './OrInput-
|
|
37
|
+
export { I as InputType, s as OrInputV3 } from './OrInput-c9cbac93.js';
|
|
38
38
|
export { a as OrInput, b as OrNumberInput, c as OrPassword, d as OrSearch, s as OrTextarea } from './OrSearch-7cb2c91c.js';
|
|
39
39
|
export { s as OrLabel } from './OrLabel-876f8729.js';
|
|
40
40
|
export { L as LabelVariant, s as OrLabelV3 } from './OrLabel-7d4fe80b.js';
|
|
@@ -47,9 +47,9 @@ export { s as OrMenuItemV3 } from './OrMenuItem-60afcdcb.js';
|
|
|
47
47
|
export { s as OrMenuV3 } from './OrMenu-75ef8635.js';
|
|
48
48
|
export { P as MenuPlacement, s as OrPopoverV3, P as PopoverPlacement, a as PopoverVariant, P as TooltipPlacement } from './OrPopover-3525c670.js';
|
|
49
49
|
export { s as OrModal, O as OrModalSizes } from './OrModal-8b074b0c.js';
|
|
50
|
-
export { M as ModalSize, s as OrModalV3 } from './OrModal-
|
|
50
|
+
export { M as ModalSize, s as OrModalV3 } from './OrModal-892d7155.js';
|
|
51
51
|
export { a as OR_NOTIFICATION_SIZE, O as OR_NOTIFICATION_TYPE, s as OrNotification } from './OrNotification-e85a4956.js';
|
|
52
|
-
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-
|
|
52
|
+
export { N as NotificationVariant, s as OrNotificationV3 } from './OrNotification-0764ca9b.js';
|
|
53
53
|
export { s as OrOverflowMenu } from './OrOverflowMenu-e82cbcbe.js';
|
|
54
54
|
export { s as OrOverlay } from './OrOverlay-451dce49.js';
|
|
55
55
|
export { s as OrOverlayV3 } from './OrOverlay-27050c19.js';
|
|
@@ -58,10 +58,10 @@ export { s as OrProgressV3, P as ProgressColor, a as ProgressType } from './OrPr
|
|
|
58
58
|
export { s as OrRadio } from './OrRadio-c3ab11f2.js';
|
|
59
59
|
export { s as OrRadioGroup } from './OrRadioGroup-00785e41.js';
|
|
60
60
|
export { s as OrRadioV3 } from './OrRadio-0c1883f2.js';
|
|
61
|
-
export { s as OrSearchV3 } from './OrSearch-
|
|
61
|
+
export { s as OrSearchV3 } from './OrSearch-1f71b1db.js';
|
|
62
62
|
export { s as OrSegmentedControlV3, S as SegmentedControlSize } from './OrSegmentedControl-2bbc0f22.js';
|
|
63
63
|
export { s as OrSelect } from './OrSelect-73690828.js';
|
|
64
|
-
export { s as OrSelectV3 } from './OrSelect-
|
|
64
|
+
export { s as OrSelectV3 } from './OrSelect-25c0622d.js';
|
|
65
65
|
export { s as OrSidebar, O as OrSidebarSide } from './OrSidebar-375c85a3.js';
|
|
66
66
|
export { O as OrSidebarPlacement, s as OrSidebarV3 } from './OrSidebar-a62972f5.js';
|
|
67
67
|
export { s as OrSkeletonCircle, a as OrSkeletonRect, b as OrSkeletonText, O as OrSkeletonTextSizes } from './OrSkeletonText-2b1610ce.js';
|
|
@@ -77,7 +77,7 @@ export { s as OrTabV3 } from './OrTab-97044946.js';
|
|
|
77
77
|
export { s as OrTabs } from './OrTabs-d3812c11.js';
|
|
78
78
|
export { s as OrTabsV3, T as TabsVariant } from './OrTabs-fe7039de.js';
|
|
79
79
|
export { s as OrTag } from './OrTag-1b5e43fa.js';
|
|
80
|
-
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-
|
|
80
|
+
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-3da3c48e.js';
|
|
81
81
|
export { s as OrTeleport } from './OrTeleportVue3-ad639f12.js';
|
|
82
82
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
83
83
|
export { s as OrTextV3 } from './OrText-ecb46923.js';
|
|
@@ -85,10 +85,10 @@ export { s as OrTextareaV3 } from './OrTextarea-98895b2a.js';
|
|
|
85
85
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-2f33e9c3.js';
|
|
86
86
|
export { s as OrToast, a as OrToastContainer } from './OrToastContainer-40c4c1c8.js';
|
|
87
87
|
export { P as PositionsX, b as PositionsY, c as ToastType, T as TransitionType, a as useQueue, u as useToast } from './useToast-4fbe0e5a.js';
|
|
88
|
-
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-
|
|
88
|
+
export { a as OrToastContainerV3, s as OrToastV3, t as TypesV3 } from './types-87510065.js';
|
|
89
89
|
export { p as PropsV3, a as useQueueV3, u as useToastV3 } from './useToast-0665462d.js';
|
|
90
90
|
export { s as OrTooltip, a as OrTooltipContent } from './OrTooltip-78cd7f6b.js';
|
|
91
|
-
export { s as OrTooltipV3 } from './OrTooltip-
|
|
91
|
+
export { s as OrTooltipV3 } from './OrTooltip-91f1a258.js';
|
|
92
92
|
export { D as DropdownClose, a as DropdownOpen } from './dropdown-open-0d314aa4.js';
|
|
93
93
|
export { u as useClassAttribute } from './useClassAttribute-47fdb016.js';
|
|
94
94
|
export { u as useElevation } from './useElevation-0e973238.js';
|
|
@@ -2,7 +2,7 @@ import { useToggle } from '@vueuse/core';
|
|
|
2
2
|
import { defineComponent, ref, computed, onBeforeMount, onBeforeUnmount, nextTick } from 'vue-demi';
|
|
3
3
|
import { s as script$4 } from './OrTeleport.vue3-8099178c.js';
|
|
4
4
|
import { T as ToastType, P as PositionsX, b as PositionsY, c as TransitionType, d as useToastEventBus, a as useQueue } from './useToast-0665462d.js';
|
|
5
|
-
import { s as script$2 } from './OrIconButton-
|
|
5
|
+
import { s as script$2 } from './OrIconButton-f6e7d913.js';
|
|
6
6
|
import { s as script$3 } from './OrLoader-60943812.js';
|
|
7
7
|
import { resolveComponent, openBlock, createElementBlock, normalizeClass, renderSlot, createCommentVNode, createVNode, toDisplayString, createElementVNode, createBlock, withModifiers, withCtx, TransitionGroup, Fragment, renderList, mergeProps } from 'vue';
|
|
8
8
|
import { s as styleInject } from './style-inject.es-4c6f2515.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@onereach/ui-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.67.0",
|
|
4
4
|
"description": "Vue components library for v2/3",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/auto/index.js",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"default": "./dist/bundled/v3/components/*/index.js"
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "9ff819514bf6e4ada6c046de3e0ddc2e9e241b48"
|
|
127
127
|
}
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
</template>
|
|
26
26
|
|
|
27
27
|
<script lang="ts">
|
|
28
|
-
import { useElementHover } from '@vueuse/core';
|
|
28
|
+
import { useDebounceFn, useElementHover } from '@vueuse/core';
|
|
29
29
|
import { computed, defineComponent, PropType, ref, watch } from 'vue-demi';
|
|
30
30
|
import { useClassAttribute } from '../../hooks';
|
|
31
31
|
import { OrPopoverV3 as OrPopover } from '../or-popover-v3';
|
|
@@ -85,21 +85,25 @@ export default defineComponent({
|
|
|
85
85
|
]);
|
|
86
86
|
|
|
87
87
|
// Methods
|
|
88
|
-
|
|
89
|
-
|
|
88
|
+
const open = useDebounceFn(() => {
|
|
89
|
+
if (hover.value) {
|
|
90
|
+
const popoverInstance = popover.value;
|
|
90
91
|
|
|
91
|
-
|
|
92
|
-
|
|
92
|
+
if (popoverInstance) {
|
|
93
|
+
(popoverInstance.open as () => void)();
|
|
94
|
+
}
|
|
93
95
|
}
|
|
94
|
-
}
|
|
96
|
+
}, 1000);
|
|
95
97
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
+
const close = useDebounceFn(() => {
|
|
99
|
+
if (!hover.value) {
|
|
100
|
+
const popoverInstance = popover.value;
|
|
98
101
|
|
|
99
|
-
|
|
100
|
-
|
|
102
|
+
if (popoverInstance) {
|
|
103
|
+
(popoverInstance.close as () => void)();
|
|
104
|
+
}
|
|
101
105
|
}
|
|
102
|
-
}
|
|
106
|
+
}, 500);
|
|
103
107
|
|
|
104
108
|
// Effects
|
|
105
109
|
// #region Hover
|