@quoreadmin/ui 1.10.10 → 1.10.12

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 (153) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index138.js +146 -146
  3. package/dist/index193.js +8 -8
  4. package/dist/index195.js +8 -8
  5. package/dist/index198.js +17 -17
  6. package/dist/index201.js +26 -26
  7. package/dist/index202.js +1 -1
  8. package/dist/index203.js +1 -1
  9. package/dist/index206.js +2 -2
  10. package/dist/index208.js +14 -14
  11. package/dist/index209.js +1 -1
  12. package/dist/index210.js +1 -1
  13. package/dist/index211.js +3 -3
  14. package/dist/index212.js +6 -6
  15. package/dist/index216.js +2 -2
  16. package/dist/index230.js +155 -121
  17. package/dist/index231.js +19 -37
  18. package/dist/index232.js +20 -80
  19. package/dist/index233.js +15 -13
  20. package/dist/index234.js +198 -19
  21. package/dist/index235.js +68 -18
  22. package/dist/index236.js +34 -20
  23. package/dist/index237.js +39 -19
  24. package/dist/index238.js +121 -155
  25. package/dist/index239.js +37 -19
  26. package/dist/index240.js +80 -22
  27. package/dist/index241.js +19 -198
  28. package/dist/index242.js +18 -68
  29. package/dist/index243.js +20 -34
  30. package/dist/index244.js +19 -39
  31. package/dist/index249.js +3636 -22
  32. package/dist/index250.js +55 -22
  33. package/dist/index251.js +77 -20
  34. package/dist/index252.js +39 -823
  35. package/dist/index253.js +198 -685
  36. package/dist/index254.js +9 -175
  37. package/dist/index255.js +57 -22
  38. package/dist/index256.js +61 -20
  39. package/dist/index257.js +54 -20
  40. package/dist/index258.js +75 -3
  41. package/dist/index259.js +709 -170
  42. package/dist/index260.js +37 -128
  43. package/dist/index261.js +55 -1214
  44. package/dist/index262.js +11 -20
  45. package/dist/index263.js +705 -22
  46. package/dist/index264.js +820 -22
  47. package/dist/index265.js +15 -22
  48. package/dist/index266.js +15 -13
  49. package/dist/index267.js +12 -12
  50. package/dist/index268.js +836 -2
  51. package/dist/index269.js +702 -2
  52. package/dist/index270.js +170 -3630
  53. package/dist/index271.js +22 -55
  54. package/dist/index272.js +20 -77
  55. package/dist/index273.js +20 -52
  56. package/dist/index274.js +3 -215
  57. package/dist/index275.js +187 -10
  58. package/dist/index276.js +128 -52
  59. package/dist/index277.js +1214 -52
  60. package/dist/index278.js +20 -54
  61. package/dist/index279.js +22 -75
  62. package/dist/index280.js +21 -725
  63. package/dist/index281.js +29 -42
  64. package/dist/index282.js +20 -64
  65. package/dist/index283.js +20 -11
  66. package/dist/index284.js +2 -705
  67. package/dist/index285.js +2 -820
  68. package/dist/index290.js +54 -2
  69. package/dist/index292.js +25 -53
  70. package/dist/index293.js +15 -19
  71. package/dist/index294.js +9 -9
  72. package/dist/index295.js +16 -22
  73. package/dist/index296.js +15 -14
  74. package/dist/index297.js +21 -15
  75. package/dist/index298.js +2 -23
  76. package/dist/index299.js +1534 -3
  77. package/dist/index300.js +382 -23
  78. package/dist/index301.js +2714 -245
  79. package/dist/index302.js +84 -4
  80. package/dist/index303.js +3785 -133
  81. package/dist/index304.js +57 -70
  82. package/dist/index305.js +14 -86
  83. package/dist/index306.js +82 -27
  84. package/dist/index307.js +199 -13
  85. package/dist/index308.js +237 -66
  86. package/dist/index309.js +3 -4
  87. package/dist/index310.js +27 -2
  88. package/dist/index311.js +74 -78
  89. package/dist/index312.js +21 -52
  90. package/dist/index313.js +934 -5
  91. package/dist/index314.js +21 -4
  92. package/dist/index315.js +19 -178
  93. package/dist/index316.js +19 -62
  94. package/dist/index317.js +68 -74
  95. package/dist/index318.js +16 -76
  96. package/dist/index319.js +19 -22
  97. package/dist/index320.js +22 -935
  98. package/dist/index321.js +11 -11
  99. package/dist/index322.js +62 -19
  100. package/dist/index323.js +261 -19
  101. package/dist/index324.js +5 -68
  102. package/dist/index325.js +139 -18
  103. package/dist/index326.js +73 -19
  104. package/dist/index327.js +85 -20
  105. package/dist/index328.js +28 -21
  106. package/dist/index329.js +16 -63
  107. package/dist/index330.js +64 -1523
  108. package/dist/index331.js +3 -385
  109. package/dist/index332.js +2 -2731
  110. package/dist/index333.js +77 -80
  111. package/dist/index334.js +53 -3792
  112. package/dist/index335.js +4 -58
  113. package/dist/index336.js +5 -15
  114. package/dist/index337.js +166 -71
  115. package/dist/index338.js +57 -196
  116. package/dist/index339.js +75 -246
  117. package/dist/index364.js +19 -18
  118. package/dist/index365.js +19 -56
  119. package/dist/index366.js +63 -28
  120. package/dist/index367.js +37 -7
  121. package/dist/index368.js +16 -49
  122. package/dist/index369.js +57 -7
  123. package/dist/index370.js +27 -10
  124. package/dist/index371.js +7 -7
  125. package/dist/index372.js +51 -27
  126. package/dist/index373.js +7 -2
  127. package/dist/index374.js +11 -69
  128. package/dist/index375.js +6 -166
  129. package/dist/index376.js +28 -20
  130. package/dist/index377.js +2 -20
  131. package/dist/index378.js +67 -61
  132. package/dist/index379.js +166 -36
  133. package/dist/index380.js +98 -28
  134. package/dist/index381.js +90 -10
  135. package/dist/index382.js +98 -4
  136. package/dist/index383.js +17 -4
  137. package/dist/index384.js +30 -12
  138. package/dist/index385.js +11 -7
  139. package/dist/index386.js +3 -11
  140. package/dist/index387.js +3 -4
  141. package/dist/index388.js +13 -33
  142. package/dist/index389.js +7 -31
  143. package/dist/index390.js +12 -28
  144. package/dist/index391.js +5 -61
  145. package/dist/index392.js +33 -17
  146. package/dist/index393.js +29 -99
  147. package/dist/index394.js +28 -91
  148. package/dist/index395.js +59 -96
  149. package/dist/index396.js +1 -1
  150. package/dist/index401.js +1 -1
  151. package/dist/index402.js +2 -2
  152. package/dist/index50.js +2 -2
  153. package/package.json +1 -1
package/dist/index138.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as j, ref as m, computed as Y, onMounted as D, onUnmounted as J, watch as K, nextTick as B } from "vue";
2
- import { onClickOutside as k } from "./index173.js";
3
- import { useThrottleFn as z } from "./index184.js";
4
- const oe = j({
1
+ import { defineComponent as J, ref as d, computed as z, onMounted as K, onUnmounted as Z, watch as ee, nextTick as q } from "vue";
2
+ import { onClickOutside as L } from "./index173.js";
3
+ import { useThrottleFn as A } from "./index184.js";
4
+ const ne = J({
5
5
  name: "QPopover",
6
6
  props: {
7
7
  /** Aligns the popover accordingly with the trigger.
@@ -84,58 +84,58 @@ const oe = j({
84
84
  }
85
85
  },
86
86
  emits: ["update:modelValue"],
87
- setup(o, { emit: v }) {
88
- const w = m(!1), p = m(""), u = m(null), b = m(null), V = m(!1), I = m({
87
+ setup(t, { emit: w }) {
88
+ const p = d(!1), b = d(""), s = d(null), V = d(null), y = d(null), S = d(null), H = d(!1), x = d({
89
89
  top: "0",
90
90
  left: "0",
91
91
  transform: "none"
92
- }), S = m({}), H = Y(() => w.value === !0 && o.reposition === !0 ? T(o.align) : o.align), E = Y(() => w.value === !0 && o.reposition === !0 ? W(o.position) : o.position), T = (t) => {
93
- if (!u.value) return t;
94
- const e = o.teleport ? document.querySelector(".q-popover.teleported") : u.value.children[1];
95
- if (!e || y(e)) return t;
96
- const n = u.value.children[0].getBoundingClientRect(), r = e.getBoundingClientRect();
97
- if (t === "left" || t === "right" || t === "center") {
98
- const l = n.left;
99
- return window.innerWidth - l < r.width ? "right" : "left";
92
+ }), v = d({}), C = z(() => V.value !== null ? V.value : p.value === !0 && t.reposition === !0 ? B(t.align) : t.align), R = z(() => y.value !== null ? y.value : p.value === !0 && t.reposition === !0 ? I(t.position) : t.position), B = (o) => {
93
+ if (!s.value) return o;
94
+ const e = t.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
95
+ if (!e || E(e)) return o;
96
+ const l = s.value.children[0].getBoundingClientRect(), r = e.getBoundingClientRect();
97
+ if (o === "left" || o === "right" || o === "center") {
98
+ const n = l.left;
99
+ return window.innerWidth - n < r.width ? "right" : "left";
100
100
  } else {
101
- const l = n.top;
102
- return window.innerHeight - l < r.height ? "bottom" : "top";
101
+ const n = l.top;
102
+ return window.innerHeight - n < r.height ? "bottom" : "top";
103
103
  }
104
- }, W = (t) => {
105
- if (!u.value) return t;
106
- const e = o.teleport ? document.querySelector(".q-popover.teleported") : u.value.children[1];
107
- if (!e || y(e)) return t;
108
- const n = u.value.children[0].getBoundingClientRect(), r = e.getBoundingClientRect();
109
- if (t === "top" || t === "bottom") {
110
- const l = n.top;
111
- return window.innerHeight - l < r.height ? "top" : "bottom";
104
+ }, I = (o) => {
105
+ if (!s.value) return o;
106
+ const e = t.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
107
+ if (!e || E(e)) return o;
108
+ const l = s.value.children[0].getBoundingClientRect(), r = e.getBoundingClientRect();
109
+ if (o === "top" || o === "bottom") {
110
+ const n = l.top;
111
+ return window.innerHeight - n < r.height ? "top" : "bottom";
112
112
  } else {
113
- const l = n.left;
114
- return window.innerWidth - l < r.width ? "left" : "right";
113
+ const n = l.left;
114
+ return window.innerWidth - n < r.width ? "left" : "right";
115
115
  }
116
- }, y = (t) => {
117
- if (!t) return !1;
118
- const e = t.getBoundingClientRect();
116
+ }, E = (o) => {
117
+ if (!o) return !1;
118
+ const e = o.getBoundingClientRect();
119
119
  return e ? e.top >= 0 && e.left >= 0 && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) && e.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
120
- }, L = () => {
121
- if (!u.value) return !0;
122
- const t = u.value.children[0];
123
- if (!t) return !0;
124
- const e = t.getBoundingClientRect();
125
- let n = t.parentElement;
126
- for (; n; ) {
127
- const c = getComputedStyle(n), s = c.overflowY, f = c.overflowX;
128
- if (s === "auto" || s === "scroll" || (f === "auto" || f === "scroll")) {
129
- const g = n.getBoundingClientRect();
130
- if (!(e.bottom > g.top && e.top < g.bottom && e.right > g.left && e.left < g.right))
120
+ }, X = () => {
121
+ if (!s.value) return !0;
122
+ const o = s.value.children[0];
123
+ if (!o) return !0;
124
+ const e = o.getBoundingClientRect();
125
+ let l = o.parentElement;
126
+ for (; l; ) {
127
+ const c = getComputedStyle(l), u = c.overflowY, f = c.overflowX;
128
+ if (u === "auto" || u === "scroll" || (f === "auto" || f === "scroll")) {
129
+ const m = l.getBoundingClientRect();
130
+ if (!(e.bottom > m.top && e.top < m.bottom && e.right > m.left && e.left < m.right))
131
131
  return !1;
132
132
  }
133
- n = n.parentElement;
133
+ l = l.parentElement;
134
134
  }
135
- const r = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth;
136
- return e.bottom > 0 && e.top < r && e.right > 0 && e.left < l;
137
- }, X = (t) => {
138
- let e = t.parentElement;
135
+ const r = window.innerHeight || document.documentElement.clientHeight, n = window.innerWidth || document.documentElement.clientWidth;
136
+ return e.bottom > 0 && e.top < r && e.right > 0 && e.left < n;
137
+ }, $ = (o) => {
138
+ let e = o.parentElement;
139
139
  for (; e && e !== document.documentElement; ) {
140
140
  const r = getComputedStyle(e).overflowY;
141
141
  if ((r === "auto" || r === "scroll") && e.scrollHeight > e.clientHeight)
@@ -143,17 +143,17 @@ const oe = j({
143
143
  e = e.parentElement;
144
144
  }
145
145
  return null;
146
- }, q = () => {
147
- if (!o.teleport || !o.scrollIntoView || !o.modelValue) return;
148
- const t = document.querySelector(".q-popover.teleported");
149
- if (!t) return;
150
- const e = t.getBoundingClientRect(), n = o.scrollIntoViewPadding, r = window.innerHeight, l = window.innerWidth;
146
+ }, O = () => {
147
+ if (!t.teleport || !t.scrollIntoView || !t.modelValue) return;
148
+ const o = document.querySelector(".q-popover.teleported");
149
+ if (!o) return;
150
+ const e = o.getBoundingClientRect(), l = t.scrollIntoViewPadding, r = window.innerHeight, n = window.innerWidth;
151
151
  let i = 0, c = 0;
152
- if (e.bottom + n > r ? c = e.bottom + n - r : e.top - n < 0 && (c = e.top - n), e.right + n > l ? i = e.right + n - l : e.left - n < 0 && (i = e.left - n), !(i === 0 && c === 0)) {
153
- if (u.value) {
154
- const s = u.value.children[0];
155
- if (s) {
156
- const f = X(s);
152
+ if (e.bottom + l > r ? c = e.bottom + l - r : e.top - l < 0 && (c = e.top - l), e.right + l > n ? i = e.right + l - n : e.left - l < 0 && (i = e.left - l), !(i === 0 && c === 0)) {
153
+ if (s.value) {
154
+ const u = s.value.children[0];
155
+ if (u) {
156
+ const f = $(u);
157
157
  if (f) {
158
158
  const a = f.scrollTop;
159
159
  f.scrollBy({
@@ -161,7 +161,7 @@ const oe = j({
161
161
  left: i,
162
162
  behavior: "smooth"
163
163
  }), requestAnimationFrame(() => {
164
- f.scrollTop !== a && (d(), h());
164
+ f.scrollTop !== a && (g(), h());
165
165
  });
166
166
  return;
167
167
  }
@@ -173,142 +173,142 @@ const oe = j({
173
173
  behavior: "smooth"
174
174
  });
175
175
  }
176
- }, $ = () => {
177
- if (!o.teleport || !o.scrollIntoView) return;
178
- C();
179
- const t = document.querySelector(".q-popover.teleported");
180
- t && (b.value = new ResizeObserver(() => {
181
- V.value || (V.value = !0, setTimeout(() => {
182
- d(), h(), q(), B(() => {
176
+ }, M = () => {
177
+ if (!t.teleport || !t.scrollIntoView) return;
178
+ T();
179
+ const o = document.querySelector(".q-popover.teleported");
180
+ o && (S.value = new ResizeObserver(() => {
181
+ H.value || (H.value = !0, setTimeout(() => {
182
+ g(), h(), O(), q(() => {
183
183
  requestAnimationFrame(() => {
184
- V.value = !1;
184
+ H.value = !1;
185
185
  });
186
186
  });
187
187
  }, 50));
188
- }), b.value.observe(t));
189
- }, C = () => {
190
- b.value && (b.value.disconnect(), b.value = null);
188
+ }), S.value.observe(o));
189
+ }, T = () => {
190
+ S.value && (S.value.disconnect(), S.value = null);
191
191
  }, h = () => {
192
- if (!o.teleport || !o.scrollIntoView || !o.modelValue || !u.value) return;
193
- const t = u.value.children[0];
194
- if (!t) return;
192
+ if (!t.teleport || !t.scrollIntoView || !t.modelValue || !s.value) return;
193
+ const o = s.value.children[0];
194
+ if (!o) return;
195
195
  const e = document.querySelector(".q-popover.teleported");
196
196
  if (!e) return;
197
- const n = t.getBoundingClientRect(), r = 10, l = o.scrollIntoViewPadding, i = window.innerHeight, c = E.value, s = 200, f = 30;
197
+ const l = o.getBoundingClientRect(), r = 10, n = t.scrollIntoViewPadding, i = window.innerHeight, c = R.value, u = 200, f = 30;
198
198
  let a;
199
199
  if (c === "bottom") {
200
- const P = n.bottom + r;
201
- a = i - P - l;
202
- } else c === "top" ? a = n.top - r - l : a = i - l * 2;
203
- a = Math.max(a, s);
204
- const R = e.scrollHeight, g = !!S.value.maxHeight;
205
- !g && R > a ? S.value = {
200
+ const k = l.bottom + r;
201
+ a = i - k - n;
202
+ } else c === "top" ? a = l.top - r - n : a = i - n * 2;
203
+ a = Math.max(a, u);
204
+ const W = e.scrollHeight, m = !!v.value.maxHeight;
205
+ !m && W > a ? v.value = {
206
206
  maxHeight: `${a}px`,
207
207
  overflowY: "auto"
208
- } : g && (S.value = {
208
+ } : m && (v.value = {
209
209
  maxHeight: `${a}px`,
210
210
  overflowY: "auto"
211
- }, R < a - f && (S.value = {}));
212
- }, A = () => {
213
- (o.trigger === "click" || o.trigger === "both") && v("update:modelValue", !o.modelValue);
214
- }, M = () => {
215
- o.trigger !== "click" && v("update:modelValue", !1);
211
+ }, W < a - f && (v.value = {}));
216
212
  }, F = () => {
217
- o.trigger !== "click" && v("update:modelValue", !0);
213
+ (t.trigger === "click" || t.trigger === "both") && w("update:modelValue", !t.modelValue);
218
214
  }, N = () => {
219
- const t = u.value?.children[0];
220
- if (t) {
221
- const e = t.clientWidth, n = t.clientHeight;
222
- switch (H.value) {
215
+ t.trigger !== "click" && w("update:modelValue", !1);
216
+ }, U = () => {
217
+ t.trigger !== "click" && w("update:modelValue", !0);
218
+ }, Q = () => {
219
+ const o = s.value?.children[0];
220
+ if (o) {
221
+ const e = o.clientWidth, l = o.clientHeight;
222
+ switch (C.value) {
223
223
  case "left":
224
- p.value = `margin-left: ${e / 2 - 10}px;`;
224
+ b.value = `margin-left: ${e / 2 - 10}px;`;
225
225
  break;
226
226
  case "right":
227
- p.value = `margin-right: ${e / 2 - 10}px;`;
227
+ b.value = `margin-right: ${e / 2 - 10}px;`;
228
228
  break;
229
229
  case "top":
230
- p.value = `margin-top: ${n / 2 - 10}px;`;
230
+ b.value = `margin-top: ${l / 2 - 10}px;`;
231
231
  break;
232
232
  case "bottom":
233
- p.value = `margin-bottom: ${n / 2 - 10}px;`;
233
+ b.value = `margin-bottom: ${l / 2 - 10}px;`;
234
234
  break;
235
235
  }
236
236
  }
237
- }, d = () => {
238
- if (!u.value || !o.teleport) return;
239
- const t = u.value.children[0];
240
- if (!t) return;
241
- const e = t.getBoundingClientRect(), n = 10, r = E.value, l = H.value;
242
- let i = 0, c = 0, s = "none";
243
- r === "bottom" ? (i = e.bottom + n, l === "left" ? (c = e.left, s = "none") : l === "right" ? (c = e.right, s = "translateX(-100%)") : l === "center" && (c = e.left + e.width / 2, s = "translateX(-50%)")) : r === "top" ? (i = e.top - n, s = "translateY(-100%)", l === "left" ? c = e.left : l === "right" ? (c = e.right, s = "translate(-100%, -100%)") : l === "center" && (c = e.left + e.width / 2, s = "translate(-50%, -100%)")) : r === "left" ? (c = e.left - n, s = "translateX(-100%)", l === "top" ? i = e.top : l === "bottom" ? (i = e.bottom, s = "translate(-100%, -100%)") : l === "middle" && (i = e.top + e.height / 2, s = "translate(-100%, -50%)")) : r === "right" && (c = e.right + n, l === "top" ? (i = e.top, s = "none") : l === "bottom" ? (i = e.bottom, s = "translateY(-100%)") : l === "middle" && (i = e.top + e.height / 2, s = "translateY(-50%)")), I.value = {
237
+ }, g = () => {
238
+ if (!s.value || !t.teleport) return;
239
+ const o = s.value.children[0];
240
+ if (!o) return;
241
+ const e = o.getBoundingClientRect(), l = 10, r = R.value, n = C.value;
242
+ let i = 0, c = 0, u = "none";
243
+ r === "bottom" ? (i = e.bottom + l, n === "left" ? (c = e.left, u = "none") : n === "right" ? (c = e.right, u = "translateX(-100%)") : n === "center" && (c = e.left + e.width / 2, u = "translateX(-50%)")) : r === "top" ? (i = e.top - l, u = "translateY(-100%)", n === "left" ? c = e.left : n === "right" ? (c = e.right, u = "translate(-100%, -100%)") : n === "center" && (c = e.left + e.width / 2, u = "translate(-50%, -100%)")) : r === "left" ? (c = e.left - l, u = "translateX(-100%)", n === "top" ? i = e.top : n === "bottom" ? (i = e.bottom, u = "translate(-100%, -100%)") : n === "middle" && (i = e.top + e.height / 2, u = "translate(-100%, -50%)")) : r === "right" && (c = e.right + l, n === "top" ? (i = e.top, u = "none") : n === "bottom" ? (i = e.bottom, u = "translateY(-100%)") : n === "middle" && (i = e.top + e.height / 2, u = "translateY(-50%)")), x.value = {
244
244
  top: `${i}px`,
245
245
  left: `${c}px`,
246
- transform: s
246
+ transform: u
247
247
  };
248
- }, U = () => {
249
- o.teleport && o.modelValue && (d(), h());
250
- }, Q = () => {
251
- if (o.teleport && o.modelValue) {
252
- if (o.closeOnScrollOutOfView && !L()) {
253
- v("update:modelValue", !1);
248
+ }, _ = () => {
249
+ t.teleport && t.modelValue && (g(), h());
250
+ }, G = () => {
251
+ if (t.teleport && t.modelValue) {
252
+ if (t.closeOnScrollOutOfView && !X()) {
253
+ w("update:modelValue", !1);
254
254
  return;
255
255
  }
256
- o.followScroll && (d(), h());
256
+ t.followScroll && (g(), h());
257
257
  }
258
- }, x = z(U, 16, !0), O = z(Q, 16, !0);
259
- k(u, (t) => {
260
- if (o.teleport) {
258
+ }, P = A(_, 16, !0), Y = A(G, 16, !0);
259
+ L(s, (o) => {
260
+ if (t.teleport) {
261
261
  const e = document.querySelector(".q-popover.teleported");
262
- if (e && e.contains(t.target))
262
+ if (e && e.contains(o.target))
263
263
  return;
264
264
  }
265
- o.modelValue && v("update:modelValue", !1);
265
+ t.modelValue && w("update:modelValue", !1);
266
266
  });
267
- function _() {
268
- w.value = !1, V.value = !1, C();
267
+ function j() {
268
+ p.value = !1, V.value = null, y.value = null, H.value = !1, v.value = {}, T();
269
269
  }
270
- function G() {
271
- w.value = !0, o.teleport ? B(() => {
272
- d(), o.scrollIntoView && setTimeout(() => {
273
- h(), $(), q();
270
+ function D() {
271
+ p.value = !0, t.teleport ? q(() => {
272
+ t.reposition && (V.value = B(t.align), y.value = I(t.position)), g(), t.scrollIntoView && setTimeout(() => {
273
+ h(), M(), O();
274
274
  }, 100);
275
- }) : !y(u.value?.children[1]) && o.reposition === !0 && N();
275
+ }) : !E(s.value?.children[1]) && t.reposition === !0 && Q();
276
276
  }
277
- return D(() => {
278
- o.teleport && (window.addEventListener("resize", x), window.addEventListener("scroll", O, !0));
279
- }), J(() => {
280
- o.teleport && (window.removeEventListener("resize", x), window.removeEventListener("scroll", O, !0)), C();
281
- }), K(
282
- () => o.modelValue,
283
- (t) => {
284
- o.teleport && t && B(() => {
285
- d(), h();
277
+ return K(() => {
278
+ t.teleport && (window.addEventListener("resize", P), window.addEventListener("scroll", Y, !0));
279
+ }), Z(() => {
280
+ t.teleport && (window.removeEventListener("resize", P), window.removeEventListener("scroll", Y, !0)), T();
281
+ }), ee(
282
+ () => t.modelValue,
283
+ (o) => {
284
+ t.teleport && o && q(() => {
285
+ g(), h();
286
286
  });
287
287
  }
288
288
  ), {
289
289
  // Refs
290
- entered: w,
291
- offsetStyle: p,
292
- popover: u,
293
- teleportedContentStyle: S,
294
- teleportedStyle: I,
290
+ entered: p,
291
+ offsetStyle: b,
292
+ popover: s,
293
+ teleportedContentStyle: v,
294
+ teleportedStyle: x,
295
295
  // Computed
296
- alignment: H,
297
- positioning: E,
296
+ alignment: C,
297
+ positioning: R,
298
298
  // Methods
299
- getAlignment: T,
300
- getPositioning: W,
301
- isElementInView: y,
302
- onAfterLeave: _,
303
- onClick: A,
304
- onClickOutside: k,
305
- onEnter: G,
306
- onMouseLeave: M,
307
- onMouseOver: F,
308
- updateTeleportedPosition: d
299
+ getAlignment: B,
300
+ getPositioning: I,
301
+ isElementInView: E,
302
+ onAfterLeave: j,
303
+ onClick: F,
304
+ onClickOutside: L,
305
+ onEnter: D,
306
+ onMouseLeave: N,
307
+ onMouseOver: U,
308
+ updateTeleportedPosition: g
309
309
  };
310
310
  }
311
311
  });
312
312
  export {
313
- oe as default
313
+ ne as default
314
314
  };
package/dist/index193.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index238.js";
2
- import O from "./index239.js";
3
- import V from "./index233.js";
4
- import R from "./index240.js";
5
- import j from "./index241.js";
6
- import K from "./index242.js";
1
+ import A from "./index230.js";
2
+ import O from "./index231.js";
3
+ import V from "./index232.js";
4
+ import R from "./index233.js";
5
+ import j from "./index234.js";
6
+ import K from "./index235.js";
7
7
  import H from "./index227.js";
8
8
  import { DomHandler as w } from "./index180.js";
9
9
  import W from "./index228.js";
10
- import G from "./index243.js";
11
- import Y from "./index244.js";
10
+ import G from "./index236.js";
11
+ import Y from "./index237.js";
12
12
  import { resolveComponent as y, openBlock as o, createElementBlock as f, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, toDisplayString as F, createVNode as L, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, renderSlot as g, withDirectives as M, withKeys as T, createCommentVNode as v, createTextVNode as z } from "vue";
13
13
  var q = {
14
14
  name: "BaseFileUpload",
package/dist/index195.js CHANGED
@@ -1,15 +1,15 @@
1
- import q from "./index230.js";
2
- import X from "./index231.js";
1
+ import q from "./index238.js";
2
+ import X from "./index239.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index180.js";
4
4
  import O from "./index228.js";
5
- import Y from "./index232.js";
6
- import J from "./index233.js";
5
+ import Y from "./index240.js";
6
+ import J from "./index232.js";
7
7
  import L from "./index227.js";
8
- import H from "./index234.js";
9
- import M from "./index235.js";
8
+ import H from "./index241.js";
9
+ import M from "./index242.js";
10
10
  import { resolveDirective as C, openBlock as s, createElementBlock as d, mergeProps as l, createElementVNode as b, withDirectives as y, createBlock as f, resolveDynamicComponent as p, createCommentVNode as h, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
11
- import ee from "./index236.js";
12
- import te from "./index237.js";
11
+ import ee from "./index243.js";
12
+ import te from "./index244.js";
13
13
  var ie = {
14
14
  name: "BaseGalleria",
15
15
  extends: O,
package/dist/index198.js CHANGED
@@ -1,20 +1,20 @@
1
- import a from "./index301.js";
2
- import p from "./index302.js";
3
- import m from "./index303.js";
4
- import i from "./index304.js";
5
- import f from "./index305.js";
6
- import l from "./index306.js";
7
- import c from "./index307.js";
8
- import d from "./index308.js";
9
- import u from "./index309.js";
10
- import { VERSION as x } from "./index310.js";
11
- import C from "./index311.js";
12
- import A from "./index312.js";
13
- import E from "./index313.js";
14
- import O from "./index314.js";
15
- import S from "./index315.js";
16
- import H from "./index316.js";
17
- import T from "./index317.js";
1
+ import a from "./index323.js";
2
+ import p from "./index324.js";
3
+ import m from "./index325.js";
4
+ import i from "./index326.js";
5
+ import f from "./index327.js";
6
+ import l from "./index328.js";
7
+ import c from "./index329.js";
8
+ import d from "./index330.js";
9
+ import u from "./index331.js";
10
+ import { VERSION as x } from "./index332.js";
11
+ import C from "./index333.js";
12
+ import A from "./index334.js";
13
+ import E from "./index335.js";
14
+ import O from "./index336.js";
15
+ import S from "./index337.js";
16
+ import H from "./index338.js";
17
+ import T from "./index339.js";
18
18
  function n(o) {
19
19
  const t = new m(o), e = p(m.prototype.request, t);
20
20
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index201.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { FilterMatchMode as ve, FilterOperator as se, FilterService as be } from "./index62.js";
2
- import it from "./index249.js";
3
- import lt from "./index250.js";
4
- import at from "./index251.js";
5
- import ut from "./index252.js";
2
+ import it from "./index265.js";
3
+ import lt from "./index266.js";
4
+ import at from "./index267.js";
5
+ import ut from "./index268.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index180.js";
7
- import dt from "./index253.js";
7
+ import dt from "./index269.js";
8
8
  import F from "./index228.js";
9
- import ct from "./index254.js";
10
- import We from "./index236.js";
11
- import Ue from "./index235.js";
9
+ import ct from "./index270.js";
10
+ import We from "./index243.js";
11
+ import Ue from "./index242.js";
12
12
  import { mergeProps as f, resolveComponent as R, openBlock as u, createBlock as w, withCtx as k, resolveDynamicComponent as C, normalizeClass as S, createCommentVNode as v, resolveDirective as qe, createElementBlock as p, toDisplayString as H, Fragment as P, withDirectives as q, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, normalizeProps as ue, guardReactiveProps as fe, createVNode as z, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
13
- import mt from "./index255.js";
14
- import pe from "./index256.js";
15
- import ht from "./index257.js";
16
- import pt from "./index233.js";
17
- import K from "./index258.js";
13
+ import mt from "./index271.js";
14
+ import pe from "./index272.js";
15
+ import ht from "./index273.js";
16
+ import pt from "./index232.js";
17
+ import K from "./index274.js";
18
18
  import gt from "./index227.js";
19
- import Ze from "./index259.js";
20
- import yt from "./index260.js";
21
- import wt from "./index238.js";
22
- import vt from "./index261.js";
23
- import bt from "./index230.js";
24
- import Ct from "./index262.js";
25
- import Rt from "./index263.js";
26
- import St from "./index239.js";
27
- import Pt from "./index264.js";
28
- import Et from "./index231.js";
29
- import Re from "./index265.js";
30
- import Se from "./index266.js";
31
- import Pe from "./index267.js";
19
+ import Ze from "./index275.js";
20
+ import yt from "./index276.js";
21
+ import wt from "./index230.js";
22
+ import vt from "./index277.js";
23
+ import bt from "./index238.js";
24
+ import Ct from "./index278.js";
25
+ import Rt from "./index279.js";
26
+ import St from "./index231.js";
27
+ import Pt from "./index280.js";
28
+ import Et from "./index239.js";
29
+ import Re from "./index281.js";
30
+ import Se from "./index282.js";
31
+ import Pe from "./index283.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index202.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import l from "./index228.js";
2
- import n from "./index268.js";
2
+ import n from "./index284.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index203.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import r from "./index228.js";
2
- import e from "./index269.js";
2
+ import e from "./index285.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index206.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Editor as p } from "./index270.js";
2
- import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index270.js";
1
+ import { Editor as p } from "./index249.js";
2
+ import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index249.js";
3
3
  import { defineComponent as s, h as l, ref as g, getCurrentInstance as m, watchEffect as v, nextTick as S, unref as h, onBeforeUnmount as u, shallowRef as x, onMounted as f, markRaw as w, customRef as E } from "vue";
4
4
  function d(t) {
5
5
  return E((e, r) => ({
package/dist/index208.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Extension as r } from "./index270.js";
2
- import { Blockquote as n } from "./index271.js";
3
- import { Bold as p } from "./index272.js";
4
- import { Code as f } from "./index273.js";
5
- import { CodeBlock as h } from "./index274.js";
6
- import { Document as u } from "./index275.js";
7
- import { HardBreak as l } from "./index276.js";
8
- import { Heading as a } from "./index277.js";
9
- import { HorizontalRule as c } from "./index278.js";
10
- import { Italic as d } from "./index279.js";
1
+ import { Extension as r } from "./index249.js";
2
+ import { Blockquote as n } from "./index250.js";
3
+ import { Bold as p } from "./index251.js";
4
+ import { Code as f } from "./index252.js";
5
+ import { CodeBlock as h } from "./index253.js";
6
+ import { Document as u } from "./index254.js";
7
+ import { HardBreak as l } from "./index255.js";
8
+ import { Heading as a } from "./index256.js";
9
+ import { HorizontalRule as c } from "./index257.js";
10
+ import { Italic as d } from "./index258.js";
11
11
  import { Link as m } from "./index211.js";
12
- import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index280.js";
13
- import { Paragraph as x } from "./index281.js";
14
- import { Strike as b } from "./index282.js";
15
- import { Text as v } from "./index283.js";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index259.js";
13
+ import { Paragraph as x } from "./index260.js";
14
+ import { Strike as b } from "./index261.js";
15
+ import { Text as v } from "./index262.js";
16
16
  import { Underline as R } from "./index209.js";
17
17
  import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index212.js";
18
18
  var y = r.create({
package/dist/index209.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as s, mergeAttributes as d } from "./index270.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index249.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {
package/dist/index210.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as y, mergeAttributes as p, Extension as l } from "./index270.js";
1
+ import { Mark as y, mergeAttributes as p, Extension as l } from "./index249.js";
2
2
  var d = 20, u = (t, e = 0) => {
3
3
  const r = [];
4
4
  return !t.children.length || e > d || Array.from(t.children).forEach((o) => {