@quoreadmin/ui 1.6.7 → 1.6.8

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.
Files changed (290) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index102.js +2 -2
  3. package/dist/index109.js +1 -1
  4. package/dist/index113.js +2 -2
  5. package/dist/index117.js +3 -3
  6. package/dist/index129.js +1 -1
  7. package/dist/index131.js +116 -59
  8. package/dist/{index139.js → index140.js} +217 -208
  9. package/dist/{index141.js → index142.js} +1 -1
  10. package/dist/{index143.js → index144.js} +6 -6
  11. package/dist/{index151.js → index152.js} +1 -1
  12. package/dist/{index153.js → index154.js} +1 -1
  13. package/dist/{index157.js → index158.js} +9 -9
  14. package/dist/index161.js +111 -492
  15. package/dist/index162.js +471 -5498
  16. package/dist/index163.js +5511 -80
  17. package/dist/index164.js +86 -856
  18. package/dist/index165.js +844 -21
  19. package/dist/index166.js +23 -265
  20. package/dist/index167.js +256 -126
  21. package/dist/index168.js +146 -1195
  22. package/dist/index169.js +1139 -712
  23. package/dist/index170.js +704 -1240
  24. package/dist/index171.js +1280 -248
  25. package/dist/index172.js +266 -96
  26. package/dist/index173.js +106 -2
  27. package/dist/index174.js +2 -1376
  28. package/dist/index175.js +1378 -0
  29. package/dist/index177.js +12 -12
  30. package/dist/index178.js +10 -10
  31. package/dist/index179.js +12 -12
  32. package/dist/index180.js +14 -21
  33. package/dist/index181.js +23 -757
  34. package/dist/index182.js +759 -1100
  35. package/dist/index183.js +1117 -1234
  36. package/dist/index184.js +1205 -11248
  37. package/dist/index185.js +11277 -36
  38. package/dist/index186.js +36 -44
  39. package/dist/index187.js +42 -1188
  40. package/dist/index188.js +1192 -0
  41. package/dist/index190.js +5830 -99
  42. package/dist/index191.js +188 -16
  43. package/dist/index192.js +25 -8
  44. package/dist/index193.js +16 -76
  45. package/dist/index194.js +74 -249
  46. package/dist/index195.js +229 -13660
  47. package/dist/index196.js +13684 -27
  48. package/dist/index197.js +26 -62
  49. package/dist/index198.js +40 -215
  50. package/dist/index199.js +206 -276
  51. package/dist/index200.js +278 -258
  52. package/dist/index201.js +287 -32
  53. package/dist/index202.js +81 -109
  54. package/dist/index203.js +404 -33
  55. package/dist/index204.js +22 -26
  56. package/dist/index205.js +30 -33
  57. package/dist/index206.js +116 -9
  58. package/dist/index207.js +35 -18
  59. package/dist/index208.js +26 -10
  60. package/dist/index209.js +36 -10
  61. package/dist/index210.js +9 -51
  62. package/dist/index211.js +18 -42
  63. package/dist/index212.js +10 -4
  64. package/dist/index213.js +10 -39
  65. package/dist/index214.js +51 -21
  66. package/dist/index215.js +40 -85
  67. package/dist/index216.js +3 -406
  68. package/dist/index217.js +39 -22
  69. package/dist/index218.js +21 -161
  70. package/dist/index219.js +126 -19
  71. package/dist/index220.js +37 -19
  72. package/dist/index221.js +80 -22
  73. package/dist/index222.js +19 -198
  74. package/dist/index223.js +18 -68
  75. package/dist/index224.js +20 -34
  76. package/dist/index225.js +19 -39
  77. package/dist/index226.js +12 -14
  78. package/dist/index227.js +160 -21
  79. package/dist/index228.js +9 -9
  80. package/dist/index229.js +22 -836
  81. package/dist/index230.js +158 -661
  82. package/dist/index231.js +67 -173
  83. package/dist/index232.js +34 -20
  84. package/dist/index233.js +39 -19
  85. package/dist/index234.js +6 -6
  86. package/dist/index235.js +14 -12
  87. package/dist/index236.js +10 -10
  88. package/dist/index237.js +836 -3
  89. package/dist/index238.js +640 -125
  90. package/dist/index239.js +172 -129
  91. package/dist/index240.js +22 -1223
  92. package/dist/index241.js +19 -126
  93. package/dist/index242.js +9 -9
  94. package/dist/index243.js +3 -22
  95. package/dist/index244.js +186 -21
  96. package/dist/index245.js +118 -23
  97. package/dist/index246.js +1223 -29
  98. package/dist/index247.js +12 -12
  99. package/dist/index248.js +15 -13
  100. package/dist/index249.js +22 -2
  101. package/dist/index250.js +29 -2
  102. package/dist/index251.js +20 -3632
  103. package/dist/index252.js +20 -55
  104. package/dist/index253.js +2 -77
  105. package/dist/index254.js +2 -52
  106. package/dist/index255.js +3599 -182
  107. package/dist/index256.js +53 -8
  108. package/dist/index257.js +60 -40
  109. package/dist/index258.js +35 -44
  110. package/dist/index259.js +193 -32
  111. package/dist/index260.js +9 -74
  112. package/dist/index261.js +38 -704
  113. package/dist/index262.js +44 -22
  114. package/dist/index263.js +36 -46
  115. package/dist/index264.js +74 -10
  116. package/dist/index265.js +698 -680
  117. package/dist/index266.js +37 -818
  118. package/dist/index267.js +63 -160
  119. package/dist/index268.js +10 -227
  120. package/dist/index269.js +704 -36
  121. package/dist/index270.js +819 -9
  122. package/dist/index271.js +161 -80
  123. package/dist/index272.js +228 -20
  124. package/dist/index273.js +36 -19
  125. package/dist/index274.js +9 -252
  126. package/dist/index275.js +253 -8
  127. package/dist/index276.js +8 -138
  128. package/dist/index277.js +123 -68
  129. package/dist/index278.js +79 -50
  130. package/dist/index279.js +2 -79
  131. package/dist/index280.js +78 -25
  132. package/dist/index281.js +3 -22
  133. package/dist/index282.js +26 -21
  134. package/dist/index283.js +52 -14
  135. package/dist/index284.js +26 -17
  136. package/dist/index285.js +22 -23
  137. package/dist/index286.js +22 -1518
  138. package/dist/index287.js +16 -386
  139. package/dist/index288.js +17 -2731
  140. package/dist/index289.js +22 -85
  141. package/dist/index290.js +1276 -3528
  142. package/dist/index291.js +379 -53
  143. package/dist/index292.js +2730 -14
  144. package/dist/index293.js +82 -80
  145. package/dist/index294.js +3722 -154
  146. package/dist/index295.js +54 -240
  147. package/dist/index296.js +1 -1
  148. package/dist/index297.js +1 -1
  149. package/dist/index298.js +7 -7
  150. package/dist/index299.js +1 -1
  151. package/dist/index300.js +1 -1
  152. package/dist/index301.js +1 -1
  153. package/dist/index302.js +1 -1
  154. package/dist/index303.js +1 -1
  155. package/dist/index304.js +1 -1
  156. package/dist/index305.js +1 -1
  157. package/dist/index306.js +1 -1
  158. package/dist/index307.js +1 -1
  159. package/dist/index308.js +15 -2
  160. package/dist/index309.js +84 -3
  161. package/dist/index310.js +197 -22
  162. package/dist/index311.js +230 -219
  163. package/dist/index312.js +233 -4
  164. package/dist/index313.js +5 -133
  165. package/dist/index314.js +129 -63
  166. package/dist/index315.js +67 -86
  167. package/dist/index316.js +85 -27
  168. package/dist/index317.js +28 -8
  169. package/dist/index318.js +8 -74
  170. package/dist/index319.js +74 -3
  171. package/dist/index320.js +4 -2
  172. package/dist/index321.js +2 -83
  173. package/dist/index322.js +81 -52
  174. package/dist/index323.js +53 -5
  175. package/dist/index324.js +5 -4
  176. package/dist/index325.js +4 -178
  177. package/dist/index326.js +174 -58
  178. package/dist/index327.js +61 -73
  179. package/dist/index328.js +74 -36
  180. package/dist/index329.js +36 -19
  181. package/dist/index330.js +8 -19
  182. package/dist/index331.js +12 -63
  183. package/dist/index332.js +54 -36
  184. package/dist/index333.js +11 -8
  185. package/dist/index334.js +13 -12
  186. package/dist/index335.js +52 -49
  187. package/dist/index336.js +49 -9
  188. package/dist/index337.js +27 -10
  189. package/dist/index338.js +2 -58
  190. package/dist/index339.js +5 -52
  191. package/dist/index340.js +2 -31
  192. package/dist/index341.js +23 -2
  193. package/dist/index342.js +40 -4
  194. package/dist/index343.js +2 -2
  195. package/dist/index344.js +10 -22
  196. package/dist/index345.js +17 -38
  197. package/dist/index346.js +17 -2
  198. package/dist/index347.js +9 -10
  199. package/dist/index348.js +10 -20
  200. package/dist/index349.js +2 -17
  201. package/dist/index350.js +8 -9
  202. package/dist/index351.js +10 -10
  203. package/dist/index352.js +14 -2
  204. package/dist/index353.js +20 -9
  205. package/dist/index354.js +19 -9
  206. package/dist/index355.js +64 -14
  207. package/dist/index356.js +36 -20
  208. package/dist/index357.js +19 -54
  209. package/dist/index358.js +55 -28
  210. package/dist/index359.js +27 -5
  211. package/dist/index360.js +6 -51
  212. package/dist/index361.js +51 -5
  213. package/dist/index362.js +6 -12
  214. package/dist/index363.js +12 -7
  215. package/dist/index364.js +6 -27
  216. package/dist/index365.js +28 -2
  217. package/dist/index366.js +2 -70
  218. package/dist/index367.js +67 -164
  219. package/dist/index368.js +165 -99
  220. package/dist/index369.js +100 -90
  221. package/dist/index370.js +91 -98
  222. package/dist/index371.js +1 -1
  223. package/dist/index372.js +97 -30
  224. package/dist/index373.js +30 -10
  225. package/dist/index374.js +10 -3
  226. package/dist/index375.js +3 -3
  227. package/dist/index376.js +4 -13
  228. package/dist/index377.js +13 -7
  229. package/dist/index378.js +7 -12
  230. package/dist/index379.js +11 -4
  231. package/dist/index380.js +5 -33
  232. package/dist/index381.js +33 -31
  233. package/dist/index382.js +29 -26
  234. package/dist/index383.js +26 -59
  235. package/dist/index384.js +61 -3
  236. package/dist/index385.js +3 -2
  237. package/dist/index386.js +2 -2
  238. package/dist/index387.js +2 -17
  239. package/dist/index388.js +15 -11
  240. package/dist/index389.js +13 -6
  241. package/dist/index39.js +44 -14
  242. package/dist/index390.js +6 -32
  243. package/dist/index391.js +34 -0
  244. package/dist/index40.js +1 -1
  245. package/dist/index41.js +1 -1
  246. package/dist/index42.js +1 -1
  247. package/dist/index43.js +72 -49
  248. package/dist/index44.js +1 -1
  249. package/dist/index45.js +1 -1
  250. package/dist/index46.js +1 -1
  251. package/dist/index47.js +2 -2
  252. package/dist/index48.js +2 -2
  253. package/dist/index49.js +1 -1
  254. package/dist/index50.js +1 -1
  255. package/dist/index51.js +1 -1
  256. package/dist/index52.js +1 -1
  257. package/dist/index54.js +2 -2
  258. package/dist/index56.js +1 -1
  259. package/dist/index58.js +5 -5
  260. package/dist/index59.js +1 -1
  261. package/dist/index71.js +2 -2
  262. package/dist/index75.js +1 -1
  263. package/dist/index80.js +1 -1
  264. package/dist/index85.js +1 -1
  265. package/dist/index87.js +3 -3
  266. package/dist/index89.js +2 -2
  267. package/dist/index95.js +2 -2
  268. package/dist/src/components/comment/comment.d.ts +32 -0
  269. package/dist/src/components/comment/comment.stories.d.ts +32 -0
  270. package/dist/src/components/comment-section/comment-section.d.ts +32 -0
  271. package/dist/src/components/comment-section/comment-section.stories.d.ts +32 -0
  272. package/dist/src/components/data-filter/data-filter.d.ts +32 -0
  273. package/dist/src/components/data-list/data-list.d.ts +32 -0
  274. package/dist/src/components/grid/grid.stories.d.ts +64 -0
  275. package/dist/src/components/popover/popover.d.ts +36 -0
  276. package/dist/src/components/popover/popover.stories.d.ts +128 -0
  277. package/dist/src/components/room-details-popover/room-details-popover.d.ts +106 -4
  278. package/dist/src/views/lists.vue.d.ts +64 -0
  279. package/dist/src/views/tables.vue.d.ts +32 -0
  280. package/package.json +1 -1
  281. package/dist/index160.js +0 -116
  282. package/dist/index176.js +0 -20
  283. package/dist/index189.js +0 -5940
  284. /package/dist/{index133.js → index134.js} +0 -0
  285. /package/dist/{index135.js → index136.js} +0 -0
  286. /package/dist/{index137.js → index138.js} +0 -0
  287. /package/dist/{index145.js → index146.js} +0 -0
  288. /package/dist/{index147.js → index148.js} +0 -0
  289. /package/dist/{index149.js → index150.js} +0 -0
  290. /package/dist/{index155.js → index156.js} +0 -0
package/dist/index102.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as C, ref as n, computed as v } from "vue";
2
- import { useDropZone as b } from "./index161.js";
2
+ import { useDropZone as b } from "./index162.js";
3
3
  import z from "./index54.js";
4
- import M from "./index181.js";
4
+ import M from "./index182.js";
5
5
  import T from "./index6.js";
6
6
  import h from "./index30.js";
7
7
  import I from "./index34.js";
package/dist/index109.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as c, onMounted as l, computed as n } from "vue";
2
- import s from "./index182.js";
2
+ import s from "./index183.js";
3
3
  let t = !1;
4
4
  const i = "quore-svg-sprite-container";
5
5
  function o() {
package/dist/index113.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { defineComponent as $, ref as a, computed as s, onMounted as Z, onUnmounted as q } from "vue";
2
- import { useSwipe as K } from "./index161.js";
2
+ import { useSwipe as K } from "./index162.js";
3
3
  import { useI18n as X } from "vue-i18n";
4
- import J from "./index183.js";
4
+ import J from "./index184.js";
5
5
  import Y from "./index6.js";
6
6
  import ee from "./index7.js";
7
7
  import te from "./index33.js";
package/dist/index117.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { defineComponent as E, ref as a, computed as m, onMounted as P, onUnmounted as Q, nextTick as V } from "vue";
2
2
  import { filterData as C } from "./index53.js";
3
3
  import F from "./index6.js";
4
- import { useDrag as H } from "./index169.js";
5
- import { useMotionProperties as N, useMotionTransitions as U } from "./index170.js";
6
- import { useWindowScroll as q, useScroll as W } from "./index161.js";
4
+ import { useDrag as H } from "./index170.js";
5
+ import { useMotionProperties as N, useMotionTransitions as U } from "./index171.js";
6
+ import { useWindowScroll as q, useScroll as W } from "./index162.js";
7
7
  import T from "./index54.js";
8
8
  const X = E({
9
9
  name: "QList",
package/dist/index129.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as x, ref as s, onMounted as y, nextTick as P } from "vue";
2
- import { getDocument as C, version as k, GlobalWorkerOptions as E } from "./index184.js";
2
+ import { getDocument as C, version as k, GlobalWorkerOptions as E } from "./index185.js";
3
3
  import D from "./index22.js";
4
4
  E.workerSrc = `https://cdn.jsdelivr.net/npm/pdfjs-dist@${k}/legacy/build/pdf.worker.min.mjs`;
5
5
  const S = x({
package/dist/index131.js CHANGED
@@ -1,6 +1,7 @@
1
- import { defineComponent as C, ref as g, computed as m } from "vue";
2
- import { onClickOutside as w } from "./index161.js";
3
- const R = C({
1
+ import { defineComponent as L, ref as p, computed as C, onMounted as q, onUnmounted as z, watch as T, nextTick as k } from "vue";
2
+ import { onClickOutside as H } from "./index162.js";
3
+ import { useThrottleFn as $ } from "./index173.js";
4
+ const X = L({
4
5
  name: "QPopover",
5
6
  props: {
6
7
  /** Aligns the popover accordingly with the trigger.
@@ -42,6 +43,16 @@ const R = C({
42
43
  type: String,
43
44
  default: "md"
44
45
  },
46
+ /** Set if the popover is teleported to the teleportTo element (escapes overflow clipping) */
47
+ teleport: {
48
+ type: Boolean,
49
+ default: !1
50
+ },
51
+ /** Target element for teleport */
52
+ teleportTo: {
53
+ type: String,
54
+ default: "body"
55
+ },
45
56
  /** Trigger popover on click, hover or both */
46
57
  trigger: {
47
58
  type: String,
@@ -49,86 +60,132 @@ const R = C({
49
60
  }
50
61
  },
51
62
  emits: ["update:modelValue"],
52
- setup(n, { emit: c }) {
53
- const l = g(!1), u = g(""), i = g(null), f = m(() => l.value === !0 && n.reposition === !0 ? s(n.align) : n.align), v = m(() => l.value === !0 && n.reposition === !0 ? h(n.position) : n.position), s = (e) => {
54
- if (!i.value || d(i.value.children[1])) return e;
55
- const t = i.value.children[0].getBoundingClientRect(), o = i.value.children[1].getBoundingClientRect();
56
- if (e === "left" || e === "right" || e === "center") {
57
- const r = t.left;
58
- return window.innerWidth - r < o.width ? "right" : "left";
63
+ setup(n, { emit: s }) {
64
+ const f = p(!1), c = p(""), a = p(null), v = p({
65
+ top: "0",
66
+ left: "0",
67
+ transform: "none"
68
+ }), w = C(() => f.value === !0 && n.reposition === !0 ? y(n.align) : n.align), b = C(() => f.value === !0 && n.reposition === !0 ? S(n.position) : n.position), y = (t) => {
69
+ if (!a.value) return t;
70
+ const e = n.teleport ? document.querySelector(".q-popover.teleported") : a.value.children[1];
71
+ if (!e || g(e)) return t;
72
+ const i = a.value.children[0].getBoundingClientRect(), u = e.getBoundingClientRect();
73
+ if (t === "left" || t === "right" || t === "center") {
74
+ const o = i.left;
75
+ return window.innerWidth - o < u.width ? "right" : "left";
59
76
  } else {
60
- const r = t.top;
61
- return window.innerHeight - r < o.height ? "bottom" : "top";
77
+ const o = i.top;
78
+ return window.innerHeight - o < u.height ? "bottom" : "top";
62
79
  }
63
- }, h = (e) => {
64
- if (!i.value || d(i.value.children[1])) return e;
65
- const t = i.value.children[0].getBoundingClientRect(), o = i.value.children[1].getBoundingClientRect();
66
- if (e === "top" || e === "bottom") {
67
- const r = t.top;
68
- return window.innerHeight - r < o.height ? "top" : "bottom";
80
+ }, S = (t) => {
81
+ if (!a.value) return t;
82
+ const e = n.teleport ? document.querySelector(".q-popover.teleported") : a.value.children[1];
83
+ if (!e || g(e)) return t;
84
+ const i = a.value.children[0].getBoundingClientRect(), u = e.getBoundingClientRect();
85
+ if (t === "top" || t === "bottom") {
86
+ const o = i.top;
87
+ return window.innerHeight - o < u.height ? "top" : "bottom";
69
88
  } else {
70
- const r = t.left;
71
- return window.innerWidth - r < o.width ? "left" : "right";
89
+ const o = i.left;
90
+ return window.innerWidth - o < u.width ? "left" : "right";
72
91
  }
73
- }, d = (e) => {
74
- const t = e.getBoundingClientRect();
75
- return t ? t.top >= 0 && t.left >= 0 && t.bottom <= (window.innerHeight || document.documentElement.clientHeight) && t.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
76
- }, p = () => {
77
- (n.trigger === "click" || n.trigger === "both") && c("update:modelValue", !n.modelValue);
78
- }, b = () => {
79
- n.trigger !== "click" && c("update:modelValue", !1);
80
- }, k = () => {
81
- n.trigger !== "click" && c("update:modelValue", !0);
82
- }, H = () => {
83
- const e = i.value?.children[0];
84
- if (e) {
85
- const t = e.clientWidth, o = e.clientHeight;
86
- switch (f.value) {
92
+ }, g = (t) => {
93
+ if (!t) return !1;
94
+ const e = t.getBoundingClientRect();
95
+ return e ? e.top >= 0 && e.left >= 0 && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) && e.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
96
+ }, R = () => {
97
+ (n.trigger === "click" || n.trigger === "both") && s("update:modelValue", !n.modelValue);
98
+ }, V = () => {
99
+ n.trigger !== "click" && s("update:modelValue", !1);
100
+ }, B = () => {
101
+ n.trigger !== "click" && s("update:modelValue", !0);
102
+ }, E = () => {
103
+ const t = a.value?.children[0];
104
+ if (t) {
105
+ const e = t.clientWidth, i = t.clientHeight;
106
+ switch (w.value) {
87
107
  case "left":
88
- u.value = `margin-left: ${t / 2 - 10}px;`;
108
+ c.value = `margin-left: ${e / 2 - 10}px;`;
89
109
  break;
90
110
  case "right":
91
- u.value = `margin-right: ${t / 2 - 10}px;`;
111
+ c.value = `margin-right: ${e / 2 - 10}px;`;
92
112
  break;
93
113
  case "top":
94
- u.value = `margin-top: ${o / 2 - 10}px;`;
114
+ c.value = `margin-top: ${i / 2 - 10}px;`;
95
115
  break;
96
116
  case "bottom":
97
- u.value = `margin-bottom: ${o / 2 - 10}px;`;
117
+ c.value = `margin-bottom: ${i / 2 - 10}px;`;
98
118
  break;
99
119
  }
100
120
  }
101
- };
102
- w(i, () => {
103
- n.modelValue && c("update:modelValue", !1);
121
+ }, h = () => {
122
+ if (!a.value || !n.teleport) return;
123
+ const t = a.value.children[0];
124
+ if (!t) return;
125
+ const e = t.getBoundingClientRect(), i = 10, u = b.value, o = w.value;
126
+ let l = 0, d = 0, r = "none";
127
+ u === "bottom" ? (l = e.bottom + i, o === "left" ? (d = e.left - 40, r = "none") : o === "right" ? (d = e.right + 40, r = "translateX(-100%)") : o === "center" && (d = e.left + e.width / 2, r = "translateX(-50%)")) : u === "top" ? (l = e.top - i, r = "translateY(-100%)", o === "left" ? d = e.left - 40 : o === "right" ? (d = e.right + 40, r = "translate(-100%, -100%)") : o === "center" && (d = e.left + e.width / 2, r = "translate(-50%, -100%)")) : u === "left" ? (d = e.left - i, r = "translateX(-100%)", o === "top" ? l = e.top - 16 : o === "bottom" ? (l = e.bottom + 16, r = "translate(-100%, -100%)") : o === "middle" && (l = e.top + e.height / 2, r = "translate(-100%, -50%)")) : u === "right" && (d = e.right + i, o === "top" ? (l = e.top - 16, r = "none") : o === "bottom" ? (l = e.bottom + 16, r = "translateY(-100%)") : o === "middle" && (l = e.top + e.height / 2, r = "translateY(-50%)")), v.value = {
128
+ top: `${l}px`,
129
+ left: `${d}px`,
130
+ transform: r
131
+ };
132
+ }, m = $(
133
+ () => {
134
+ n.teleport && n.modelValue && h();
135
+ },
136
+ 16,
137
+ !0
138
+ );
139
+ H(a, (t) => {
140
+ if (n.teleport) {
141
+ const e = document.querySelector(".q-popover.teleported");
142
+ if (e && e.contains(t.target))
143
+ return;
144
+ }
145
+ n.modelValue && s("update:modelValue", !1);
104
146
  });
105
147
  function W() {
106
- l.value = !1;
148
+ f.value = !1;
107
149
  }
108
- function y() {
109
- l.value = !0, !d(i.value?.children[1]) && n.reposition === !0 && H();
150
+ function x() {
151
+ f.value = !0, n.teleport ? k(() => {
152
+ h();
153
+ }) : !g(a.value?.children[1]) && n.reposition === !0 && E();
110
154
  }
111
- return {
155
+ return q(() => {
156
+ n.teleport && (window.addEventListener("resize", m), window.addEventListener("scroll", m, !0));
157
+ }), z(() => {
158
+ n.teleport && (window.removeEventListener("resize", m), window.removeEventListener("scroll", m, !0));
159
+ }), T(
160
+ () => n.modelValue,
161
+ (t) => {
162
+ n.teleport && t && k(() => {
163
+ h();
164
+ });
165
+ }
166
+ ), {
112
167
  // Refs
113
- entered: l,
114
- offsetStyle: u,
115
- popover: i,
168
+ entered: f,
169
+ offsetStyle: c,
170
+ popover: a,
171
+ teleportedStyle: v,
116
172
  // Computed
117
- alignment: f,
118
- positioning: v,
173
+ alignment: w,
174
+ positioning: b,
119
175
  // Methods
120
- getAlignment: s,
121
- getPositioning: h,
122
- isElementInView: d,
176
+ getAlignment: y,
177
+ getPositioning: S,
178
+ isElementInView: g,
123
179
  onAfterLeave: W,
124
- onClick: p,
125
- onClickOutside: w,
126
- onEnter: y,
127
- onMouseLeave: b,
128
- onMouseOver: k
180
+ onClick: R,
181
+ onClickOutside: H,
182
+ onEnter: x,
183
+ onMouseLeave: V,
184
+ onMouseOver: B,
185
+ updateTeleportedPosition: h
129
186
  };
130
187
  }
131
188
  });
132
189
  export {
133
- R as default
190
+ X as default
134
191
  };