@quoreadmin/ui 1.10.6 → 1.10.9

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 (204) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +97 -95
  3. package/dist/index138.js +139 -132
  4. package/dist/index182.js +14 -14
  5. package/dist/index183.js +3 -3
  6. package/dist/index186.js +4 -4
  7. package/dist/index193.js +10 -10
  8. package/dist/index195.js +10 -10
  9. package/dist/index198.js +17 -17
  10. package/dist/index201.js +28 -28
  11. package/dist/index202.js +2 -2
  12. package/dist/index203.js +2 -2
  13. package/dist/index204.js +1 -1
  14. package/dist/index206.js +2 -2
  15. package/dist/index208.js +14 -14
  16. package/dist/index209.js +1 -1
  17. package/dist/index210.js +1 -1
  18. package/dist/index211.js +3 -3
  19. package/dist/index212.js +6 -6
  20. package/dist/index213.js +29 -84
  21. package/dist/index214.js +109 -400
  22. package/dist/index215.js +36 -22
  23. package/dist/index216.js +26 -33
  24. package/dist/index217.js +31 -111
  25. package/dist/index218.js +50 -35
  26. package/dist/index219.js +43 -26
  27. package/dist/index220.js +3 -35
  28. package/dist/index221.js +9 -51
  29. package/dist/index222.js +18 -42
  30. package/dist/index223.js +10 -4
  31. package/dist/index224.js +10 -9
  32. package/dist/index225.js +38 -18
  33. package/dist/index226.js +21 -10
  34. package/dist/index227.js +88 -10
  35. package/dist/index228.js +403 -35
  36. package/dist/index229.js +22 -21
  37. package/dist/index230.js +160 -21
  38. package/dist/index231.js +228 -22
  39. package/dist/index232.js +36 -19
  40. package/dist/index233.js +9 -835
  41. package/dist/index234.js +104 -645
  42. package/dist/index235.js +20 -176
  43. package/dist/index236.js +12 -12
  44. package/dist/index237.js +15 -13
  45. package/dist/index238.js +198 -21
  46. package/dist/index239.js +69 -19
  47. package/dist/index240.js +34 -20
  48. package/dist/index241.js +39 -19
  49. package/dist/index242.js +127 -3
  50. package/dist/index243.js +24 -173
  51. package/dist/index244.js +78 -131
  52. package/dist/index245.js +19 -160
  53. package/dist/index246.js +20 -1223
  54. package/dist/index247.js +19 -126
  55. package/dist/index248.js +11 -11
  56. package/dist/index249.js +11 -11
  57. package/dist/index250.js +13 -11
  58. package/dist/index251.js +11 -13
  59. package/dist/index252.js +819 -21
  60. package/dist/index253.js +701 -28
  61. package/dist/index254.js +176 -20
  62. package/dist/index255.js +14 -12
  63. package/dist/index256.js +20 -2
  64. package/dist/index257.js +20 -2
  65. package/dist/index258.js +3 -3636
  66. package/dist/index259.js +181 -49
  67. package/dist/index260.js +128 -72
  68. package/dist/index261.js +1216 -45
  69. package/dist/index262.js +20 -215
  70. package/dist/index263.js +22 -10
  71. package/dist/index264.js +22 -57
  72. package/dist/index265.js +29 -61
  73. package/dist/index266.js +20 -54
  74. package/dist/index267.js +20 -75
  75. package/dist/index268.js +2 -726
  76. package/dist/index269.js +2 -42
  77. package/dist/index270.js +3614 -42
  78. package/dist/index271.js +54 -10
  79. package/dist/index272.js +68 -696
  80. package/dist/index273.js +51 -819
  81. package/dist/index274.js +206 -71
  82. package/dist/index275.js +10 -20
  83. package/dist/index276.js +57 -20
  84. package/dist/index277.js +60 -160
  85. package/dist/index278.js +51 -225
  86. package/dist/index279.js +75 -37
  87. package/dist/index280.js +726 -10
  88. package/dist/index281.js +42 -22
  89. package/dist/index282.js +55 -190
  90. package/dist/index283.js +11 -70
  91. package/dist/index284.js +704 -33
  92. package/dist/index285.js +817 -37
  93. package/dist/index290.js +3 -1534
  94. package/dist/index291.js +23 -382
  95. package/dist/index292.js +54 -2731
  96. package/dist/index293.js +71 -78
  97. package/dist/index294.js +26 -3792
  98. package/dist/index295.js +21 -59
  99. package/dist/index296.js +22 -15
  100. package/dist/index297.js +16 -84
  101. package/dist/index298.js +16 -201
  102. package/dist/index299.js +23 -246
  103. package/dist/index300.js +2 -79
  104. package/dist/index301.js +1534 -79
  105. package/dist/index302.js +386 -22
  106. package/dist/index303.js +2698 -902
  107. package/dist/index304.js +85 -21
  108. package/dist/index305.js +3792 -20
  109. package/dist/index306.js +59 -19
  110. package/dist/index307.js +77 -67
  111. package/dist/index308.js +21 -18
  112. package/dist/index309.js +934 -18
  113. package/dist/index310.js +21 -53
  114. package/dist/index311.js +11 -13
  115. package/dist/index312.js +11 -13
  116. package/dist/index313.js +68 -62
  117. package/dist/index314.js +19 -2
  118. package/dist/index315.js +19 -3
  119. package/dist/index316.js +21 -26
  120. package/dist/index317.js +21 -261
  121. package/dist/index318.js +63 -6
  122. package/dist/index319.js +15 -140
  123. package/dist/index320.js +77 -66
  124. package/dist/index321.js +195 -80
  125. package/dist/index322.js +245 -28
  126. package/dist/index323.js +260 -14
  127. package/dist/index324.js +5 -74
  128. package/dist/index325.js +139 -3
  129. package/dist/index326.js +73 -2
  130. package/dist/index327.js +83 -79
  131. package/dist/index328.js +26 -50
  132. package/dist/index329.js +15 -5
  133. package/dist/index330.js +74 -4
  134. package/dist/index331.js +3 -178
  135. package/dist/index332.js +2 -63
  136. package/dist/index333.js +82 -74
  137. package/dist/index334.js +52 -25
  138. package/dist/index335.js +5 -21
  139. package/dist/index336.js +4 -21
  140. package/dist/index337.js +178 -15
  141. package/dist/index338.js +62 -16
  142. package/dist/index339.js +74 -22
  143. package/dist/index340.js +8 -36
  144. package/dist/index341.js +12 -19
  145. package/dist/index342.js +54 -19
  146. package/dist/index343.js +11 -63
  147. package/dist/index344.js +14 -37
  148. package/dist/index345.js +57 -8
  149. package/dist/index346.js +51 -12
  150. package/dist/index347.js +25 -49
  151. package/dist/index348.js +2 -12
  152. package/dist/index349.js +5 -14
  153. package/dist/index350.js +2 -58
  154. package/dist/index351.js +23 -52
  155. package/dist/index352.js +38 -28
  156. package/dist/index353.js +2 -2
  157. package/dist/index354.js +10 -4
  158. package/dist/index355.js +20 -2
  159. package/dist/index356.js +9 -22
  160. package/dist/index357.js +9 -40
  161. package/dist/index358.js +17 -2
  162. package/dist/index359.js +2 -11
  163. package/dist/index360.js +9 -20
  164. package/dist/index361.js +10 -10
  165. package/dist/index362.js +13 -9
  166. package/dist/index363.js +36 -16
  167. package/dist/index364.js +20 -2
  168. package/dist/index365.js +20 -9
  169. package/dist/index366.js +63 -9
  170. package/dist/index367.js +37 -14
  171. package/dist/index368.js +1 -1
  172. package/dist/index369.js +1 -1
  173. package/dist/index370.js +5 -5
  174. package/dist/index372.js +2 -2
  175. package/dist/index374.js +2 -2
  176. package/dist/index376.js +1 -1
  177. package/dist/index378.js +4 -4
  178. package/dist/index379.js +3 -3
  179. package/dist/index38.js +2 -2
  180. package/dist/index382.js +16 -97
  181. package/dist/index383.js +97 -16
  182. package/dist/index384.js +1 -1
  183. package/dist/index385.js +3 -3
  184. package/dist/index390.js +1 -1
  185. package/dist/index392.js +1 -1
  186. package/dist/index393.js +3 -3
  187. package/dist/index394.js +3 -3
  188. package/dist/index402.js +1 -1
  189. package/dist/index41.js +17 -12
  190. package/dist/index45.js +1 -1
  191. package/dist/src/components/comment/comment.d.ts +10 -6
  192. package/dist/src/components/comment/comment.stories.d.ts +10 -6
  193. package/dist/src/components/comment-section/comment-section.d.ts +10 -6
  194. package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
  195. package/dist/src/components/data-filter/data-filter.d.ts +10 -6
  196. package/dist/src/components/data-list/data-list.d.ts +10 -6
  197. package/dist/src/components/grid/grid.stories.d.ts +20 -12
  198. package/dist/src/components/page-layout/page-layout.vue.d.ts +2 -0
  199. package/dist/src/components/popover/popover.d.ts +10 -6
  200. package/dist/src/components/popover/popover.stories.d.ts +70 -42
  201. package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
  202. package/dist/src/views/lists.vue.d.ts +20 -12
  203. package/dist/src/views/tables.vue.d.ts +10 -6
  204. package/package.json +1 -1
package/dist/index138.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as _, ref as g, computed as O, onMounted as D, onUnmounted as G, watch as U, nextTick as k } from "vue";
2
- import { onClickOutside as q } from "./index173.js";
3
- import { useThrottleFn as x } from "./index184.js";
4
- const te = _({
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({
5
5
  name: "QPopover",
6
6
  props: {
7
7
  /** Aligns the popover accordingly with the trigger.
@@ -84,224 +84,231 @@ const te = _({
84
84
  }
85
85
  },
86
86
  emits: ["update:modelValue"],
87
- setup(o, { emit: m }) {
88
- const h = g(!1), w = g(""), s = g(null), v = g(0), p = g(null), V = g({
87
+ setup(o, { emit: v }) {
88
+ const w = m(!1), p = m(""), u = m(null), b = m(null), V = m(!1), I = m({
89
89
  top: "0",
90
90
  left: "0",
91
91
  transform: "none"
92
- }), H = O(() => (v.value, h.value === !0 && o.reposition === !0 ? B(o.align) : o.align)), E = O(() => (v.value, h.value === !0 && o.reposition === !0 ? C(o.position) : o.position)), B = (t) => {
93
- if (!s.value) return t;
94
- const e = o.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
95
- if (!e || S(e)) return t;
96
- const n = s.value.children[0].getBoundingClientRect(), c = e.getBoundingClientRect();
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
97
  if (t === "left" || t === "right" || t === "center") {
98
98
  const l = n.left;
99
- return window.innerWidth - l < c.width ? "right" : "left";
99
+ return window.innerWidth - l < r.width ? "right" : "left";
100
100
  } else {
101
101
  const l = n.top;
102
- return window.innerHeight - l < c.height ? "bottom" : "top";
102
+ return window.innerHeight - l < r.height ? "bottom" : "top";
103
103
  }
104
- }, C = (t) => {
105
- if (!s.value) return t;
106
- const e = o.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
107
- if (!e || S(e)) return t;
108
- const n = s.value.children[0].getBoundingClientRect(), c = e.getBoundingClientRect();
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
109
  if (t === "top" || t === "bottom") {
110
- if (o.teleport && v.value > 0) {
111
- const i = window.innerHeight - n.bottom - 10, a = n.top - 10, b = 100;
112
- return t === "bottom" && a > i + b ? "top" : t === "top" && i > a + b ? "bottom" : t;
113
- }
114
110
  const l = n.top;
115
- return window.innerHeight - l < c.height ? "top" : "bottom";
111
+ return window.innerHeight - l < r.height ? "top" : "bottom";
116
112
  } else {
117
113
  const l = n.left;
118
- return window.innerWidth - l < c.width ? "left" : "right";
114
+ return window.innerWidth - l < r.width ? "left" : "right";
119
115
  }
120
- }, S = (t) => {
116
+ }, y = (t) => {
121
117
  if (!t) return !1;
122
118
  const e = t.getBoundingClientRect();
123
119
  return e ? e.top >= 0 && e.left >= 0 && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) && e.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
124
- }, P = () => {
125
- if (!s.value) return !0;
126
- const t = s.value.children[0];
120
+ }, L = () => {
121
+ if (!u.value) return !0;
122
+ const t = u.value.children[0];
127
123
  if (!t) return !0;
128
124
  const e = t.getBoundingClientRect();
129
125
  let n = t.parentElement;
130
126
  for (; n; ) {
131
- const u = getComputedStyle(n), i = u.overflowY, a = u.overflowX;
132
- if (i === "auto" || i === "scroll" || (a === "auto" || a === "scroll")) {
133
- const y = n.getBoundingClientRect();
134
- if (!(e.bottom > y.top && e.top < y.bottom && e.right > y.left && e.left < y.right))
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))
135
131
  return !1;
136
132
  }
137
133
  n = n.parentElement;
138
134
  }
139
- const c = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth;
140
- return e.bottom > 0 && e.top < c && e.right > 0 && e.left < l;
141
- }, Y = (t) => {
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) => {
142
138
  let e = t.parentElement;
143
139
  for (; e && e !== document.documentElement; ) {
144
- const c = getComputedStyle(e).overflowY;
145
- if ((c === "auto" || c === "scroll") && e.scrollHeight > e.clientHeight)
140
+ const r = getComputedStyle(e).overflowY;
141
+ if ((r === "auto" || r === "scroll") && e.scrollHeight > e.clientHeight)
146
142
  return e;
147
143
  e = e.parentElement;
148
144
  }
149
145
  return null;
150
- }, T = () => {
146
+ }, q = () => {
151
147
  if (!o.teleport || !o.scrollIntoView || !o.modelValue) return;
152
148
  const t = document.querySelector(".q-popover.teleported");
153
149
  if (!t) return;
154
- const e = t.getBoundingClientRect(), n = o.scrollIntoViewPadding, c = window.innerHeight, l = window.innerWidth;
155
- let r = 0, u = 0;
156
- if (e.bottom + n > c ? u = e.bottom + n - c : e.top - n < 0 && (u = e.top - n), e.right + n > l ? r = e.right + n - l : e.left - n < 0 && (r = e.left - n), !(r === 0 && u === 0)) {
157
- if (s.value) {
158
- const i = s.value.children[0];
159
- if (i) {
160
- const a = Y(i);
161
- if (a) {
162
- const b = a.scrollTop;
163
- a.scrollBy({
164
- top: u,
165
- left: r,
150
+ const e = t.getBoundingClientRect(), n = o.scrollIntoViewPadding, r = window.innerHeight, l = window.innerWidth;
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);
157
+ if (f) {
158
+ const a = f.scrollTop;
159
+ f.scrollBy({
160
+ top: c,
161
+ left: i,
166
162
  behavior: "smooth"
167
163
  }), requestAnimationFrame(() => {
168
- a.scrollTop !== b && (f(), d());
164
+ f.scrollTop !== a && (d(), h());
169
165
  });
170
166
  return;
171
167
  }
172
168
  }
173
169
  }
174
170
  window.scrollBy({
175
- top: u,
176
- left: r,
171
+ top: c,
172
+ left: i,
177
173
  behavior: "smooth"
178
174
  });
179
175
  }
180
- }, L = () => {
176
+ }, $ = () => {
181
177
  if (!o.teleport || !o.scrollIntoView) return;
182
- R();
178
+ C();
183
179
  const t = document.querySelector(".q-popover.teleported");
184
- t && (p.value = new ResizeObserver(() => {
185
- setTimeout(() => {
186
- v.value++, f(), d(), T();
187
- }, 50);
188
- }), p.value.observe(t));
189
- }, R = () => {
190
- p.value && (p.value.disconnect(), p.value = null);
191
- }, d = () => {
192
- if (!o.teleport || !o.scrollIntoView || !o.modelValue || !s.value) return;
193
- const t = s.value.children[0];
180
+ t && (b.value = new ResizeObserver(() => {
181
+ V.value || (V.value = !0, setTimeout(() => {
182
+ d(), h(), q(), B(() => {
183
+ requestAnimationFrame(() => {
184
+ V.value = !1;
185
+ });
186
+ });
187
+ }, 50));
188
+ }), b.value.observe(t));
189
+ }, C = () => {
190
+ b.value && (b.value.disconnect(), b.value = null);
191
+ }, h = () => {
192
+ if (!o.teleport || !o.scrollIntoView || !o.modelValue || !u.value) return;
193
+ const t = u.value.children[0];
194
194
  if (!t) return;
195
- const e = t.getBoundingClientRect(), n = 10, c = o.scrollIntoViewPadding, l = window.innerHeight, r = E.value, u = 200;
196
- let i;
197
- if (r === "bottom") {
198
- const a = e.bottom + n;
199
- i = l - a - c;
200
- } else r === "top" ? i = e.top - n - c : i = l - c * 2;
201
- i = Math.max(i, u), V.value = {
202
- ...V.value,
203
- maxHeight: `${i}px`,
195
+ const e = document.querySelector(".q-popover.teleported");
196
+ if (!e) return;
197
+ const n = t.getBoundingClientRect(), r = 10, l = o.scrollIntoViewPadding, i = window.innerHeight, c = E.value, s = 200, f = 30;
198
+ let a;
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 = {
206
+ maxHeight: `${a}px`,
204
207
  overflowY: "auto"
205
- };
206
- }, z = () => {
207
- (o.trigger === "click" || o.trigger === "both") && m("update:modelValue", !o.modelValue);
208
- }, X = () => {
209
- o.trigger !== "click" && m("update:modelValue", !1);
210
- }, $ = () => {
211
- o.trigger !== "click" && m("update:modelValue", !0);
208
+ } : g && (S.value = {
209
+ maxHeight: `${a}px`,
210
+ overflowY: "auto"
211
+ }, R < a - f && (S.value = {}));
212
212
  }, A = () => {
213
- const t = s.value?.children[0];
213
+ (o.trigger === "click" || o.trigger === "both") && v("update:modelValue", !o.modelValue);
214
+ }, M = () => {
215
+ o.trigger !== "click" && v("update:modelValue", !1);
216
+ }, F = () => {
217
+ o.trigger !== "click" && v("update:modelValue", !0);
218
+ }, N = () => {
219
+ const t = u.value?.children[0];
214
220
  if (t) {
215
221
  const e = t.clientWidth, n = t.clientHeight;
216
222
  switch (H.value) {
217
223
  case "left":
218
- w.value = `margin-left: ${e / 2 - 10}px;`;
224
+ p.value = `margin-left: ${e / 2 - 10}px;`;
219
225
  break;
220
226
  case "right":
221
- w.value = `margin-right: ${e / 2 - 10}px;`;
227
+ p.value = `margin-right: ${e / 2 - 10}px;`;
222
228
  break;
223
229
  case "top":
224
- w.value = `margin-top: ${n / 2 - 10}px;`;
230
+ p.value = `margin-top: ${n / 2 - 10}px;`;
225
231
  break;
226
232
  case "bottom":
227
- w.value = `margin-bottom: ${n / 2 - 10}px;`;
233
+ p.value = `margin-bottom: ${n / 2 - 10}px;`;
228
234
  break;
229
235
  }
230
236
  }
231
- }, f = () => {
232
- if (!s.value || !o.teleport) return;
233
- const t = s.value.children[0];
237
+ }, d = () => {
238
+ if (!u.value || !o.teleport) return;
239
+ const t = u.value.children[0];
234
240
  if (!t) return;
235
- const e = t.getBoundingClientRect(), n = 10, c = E.value, l = H.value;
236
- let r = 0, u = 0, i = "none";
237
- c === "bottom" ? (r = e.bottom + n, l === "left" ? (u = e.left, i = "none") : l === "right" ? (u = e.right, i = "translateX(-100%)") : l === "center" && (u = e.left + e.width / 2, i = "translateX(-50%)")) : c === "top" ? (r = e.top - n, i = "translateY(-100%)", l === "left" ? u = e.left : l === "right" ? (u = e.right, i = "translate(-100%, -100%)") : l === "center" && (u = e.left + e.width / 2, i = "translate(-50%, -100%)")) : c === "left" ? (u = e.left - n, i = "translateX(-100%)", l === "top" ? r = e.top : l === "bottom" ? (r = e.bottom, i = "translate(-100%, -100%)") : l === "middle" && (r = e.top + e.height / 2, i = "translate(-100%, -50%)")) : c === "right" && (u = e.right + n, l === "top" ? (r = e.top, i = "none") : l === "bottom" ? (r = e.bottom, i = "translateY(-100%)") : l === "middle" && (r = e.top + e.height / 2, i = "translateY(-50%)")), V.value = {
238
- top: `${r}px`,
239
- left: `${u}px`,
240
- transform: i
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 = {
244
+ top: `${i}px`,
245
+ left: `${c}px`,
246
+ transform: s
241
247
  };
242
- }, M = () => {
243
- o.teleport && o.modelValue && (f(), d());
244
- }, F = () => {
248
+ }, U = () => {
249
+ o.teleport && o.modelValue && (d(), h());
250
+ }, Q = () => {
245
251
  if (o.teleport && o.modelValue) {
246
- if (o.closeOnScrollOutOfView && !P()) {
247
- m("update:modelValue", !1);
252
+ if (o.closeOnScrollOutOfView && !L()) {
253
+ v("update:modelValue", !1);
248
254
  return;
249
255
  }
250
- o.followScroll && (f(), d());
256
+ o.followScroll && (d(), h());
251
257
  }
252
- }, I = x(M, 16, !0), W = x(F, 16, !0);
253
- q(s, (t) => {
258
+ }, x = z(U, 16, !0), O = z(Q, 16, !0);
259
+ k(u, (t) => {
254
260
  if (o.teleport) {
255
261
  const e = document.querySelector(".q-popover.teleported");
256
262
  if (e && e.contains(t.target))
257
263
  return;
258
264
  }
259
- o.modelValue && m("update:modelValue", !1);
265
+ o.modelValue && v("update:modelValue", !1);
260
266
  });
261
- function N() {
262
- h.value = !1, v.value = 0, R();
267
+ function _() {
268
+ w.value = !1, V.value = !1, C();
263
269
  }
264
- function Q() {
265
- h.value = !0, o.teleport ? k(() => {
266
- f(), o.scrollIntoView && setTimeout(() => {
267
- d(), L(), T();
270
+ function G() {
271
+ w.value = !0, o.teleport ? B(() => {
272
+ d(), o.scrollIntoView && setTimeout(() => {
273
+ h(), $(), q();
268
274
  }, 100);
269
- }) : !S(s.value?.children[1]) && o.reposition === !0 && A();
275
+ }) : !y(u.value?.children[1]) && o.reposition === !0 && N();
270
276
  }
271
277
  return D(() => {
272
- o.teleport && (window.addEventListener("resize", I), window.addEventListener("scroll", W, !0));
273
- }), G(() => {
274
- o.teleport && (window.removeEventListener("resize", I), window.removeEventListener("scroll", W, !0)), R();
275
- }), U(
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(
276
282
  () => o.modelValue,
277
283
  (t) => {
278
- o.teleport && t && k(() => {
279
- f(), d();
284
+ o.teleport && t && B(() => {
285
+ d(), h();
280
286
  });
281
287
  }
282
288
  ), {
283
289
  // Refs
284
- entered: h,
285
- offsetStyle: w,
286
- popover: s,
287
- teleportedStyle: V,
290
+ entered: w,
291
+ offsetStyle: p,
292
+ popover: u,
293
+ teleportedContentStyle: S,
294
+ teleportedStyle: I,
288
295
  // Computed
289
296
  alignment: H,
290
297
  positioning: E,
291
298
  // Methods
292
- getAlignment: B,
293
- getPositioning: C,
294
- isElementInView: S,
295
- onAfterLeave: N,
296
- onClick: z,
297
- onClickOutside: q,
298
- onEnter: Q,
299
- onMouseLeave: X,
300
- onMouseOver: $,
301
- updateTeleportedPosition: f
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
302
309
  };
303
310
  }
304
311
  });
305
312
  export {
306
- te as default
313
+ oe as default
307
314
  };
package/dist/index182.js CHANGED
@@ -1,18 +1,18 @@
1
- import st from "./index216.js";
1
+ import st from "./index213.js";
2
2
  import { reactive as V, watch as h, ref as g, defineComponent as Z, useSlots as H, h as K, Fragment as at, inject as ct, computed as A, toRaw as lt, unref as x } from "vue";
3
- import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index217.js";
4
- import { tryOnUnmounted as pt, isObject as yt } from "./index218.js";
5
- import D, { getFrameData as dt } from "./index219.js";
6
- import { complex as $ } from "./index220.js";
7
- import { inertia as mt } from "./index221.js";
8
- import { animate as bt } from "./index222.js";
9
- import { velocityPerSecond as ht } from "./index223.js";
10
- import { number as vt, alpha as C, scale as j } from "./index224.js";
11
- import { filter as P } from "./index225.js";
12
- import { px as c, progressPercentage as F, degrees as O } from "./index226.js";
13
- import { color as b } from "./index227.js";
14
- import { cubicBezier as gt } from "./index228.js";
15
- import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index229.js";
3
+ import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index214.js";
4
+ import { tryOnUnmounted as pt, isObject as yt } from "./index215.js";
5
+ import D, { getFrameData as dt } from "./index216.js";
6
+ import { complex as $ } from "./index217.js";
7
+ import { inertia as mt } from "./index218.js";
8
+ import { animate as bt } from "./index219.js";
9
+ import { velocityPerSecond as ht } from "./index220.js";
10
+ import { number as vt, alpha as C, scale as j } from "./index221.js";
11
+ import { filter as P } from "./index222.js";
12
+ import { px as c, progressPercentage as F, degrees as O } from "./index223.js";
13
+ import { color as b } from "./index224.js";
14
+ import { cubicBezier as gt } from "./index225.js";
15
+ import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index226.js";
16
16
  const R = {};
17
17
  class Mt {
18
18
  subscriptions = /* @__PURE__ */ new Set();
package/dist/index183.js CHANGED
@@ -1,7 +1,7 @@
1
- import g from "./index213.js";
1
+ import g from "./index227.js";
2
2
  import { DomHandler as f, ObjectUtils as d } from "./index180.js";
3
- import v from "./index214.js";
4
- import S from "./index215.js";
3
+ import v from "./index228.js";
4
+ import S from "./index229.js";
5
5
  import { resolveDirective as A, openBlock as h, createElementBlock as p, mergeProps as b, Fragment as E, renderList as O, withDirectives as w, renderSlot as x, normalizeClass as K, createElementVNode as I, toDisplayString as D } from "vue";
6
6
  var V = {
7
7
  name: "BaseSelectButton",
package/dist/index186.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createVNode as s, defineComponent as nt, ref as k, onMounted as me, onUnmounted as at, h as Ye, watchEffect as Y, Teleport as lt, Transition as ot, computed as A, toRef as rt, inject as ge, watch as st, openBlock as ye, createElementBlock as be, provide as we, shallowRef as it, createElementVNode as Z, isVNode as ut } from "vue";
2
- import { format as Ce } from "./index277.js";
3
- import { parse as ct } from "./index278.js";
4
- import { getWeek as Ie } from "./index279.js";
5
- import dt from "./index280.js";
2
+ import { format as Ce } from "./index230.js";
3
+ import { parse as ct } from "./index231.js";
4
+ import { getWeek as Ie } from "./index232.js";
5
+ import dt from "./index233.js";
6
6
  var ft = Object.defineProperty, pt = Object.defineProperties, vt = Object.getOwnPropertyDescriptors, le = Object.getOwnPropertySymbols, Ue = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, Se = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, M = (t, e) => {
7
7
  for (var n in e || (e = {}))
8
8
  Ue.call(e, n) && Se(t, n, e[n]);
package/dist/index193.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index245.js";
2
- import O from "./index250.js";
3
- import V from "./index241.js";
4
- import R from "./index281.js";
5
- import j from "./index282.js";
6
- import K from "./index283.js";
7
- import H from "./index213.js";
1
+ import A from "./index234.js";
2
+ import O from "./index235.js";
3
+ import V from "./index236.js";
4
+ import R from "./index237.js";
5
+ import j from "./index238.js";
6
+ import K from "./index239.js";
7
+ import H from "./index227.js";
8
8
  import { DomHandler as w } from "./index180.js";
9
- import W from "./index214.js";
10
- import G from "./index284.js";
11
- import Y from "./index285.js";
9
+ import W from "./index228.js";
10
+ import G from "./index240.js";
11
+ import Y from "./index241.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 "./index247.js";
2
- import X from "./index252.js";
1
+ import q from "./index242.js";
2
+ import X from "./index243.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index180.js";
4
- import O from "./index214.js";
5
- import Y from "./index274.js";
6
- import J from "./index241.js";
7
- import L from "./index213.js";
8
- import H from "./index275.js";
9
- import M from "./index237.js";
4
+ import O from "./index228.js";
5
+ import Y from "./index244.js";
6
+ import J from "./index236.js";
7
+ import L from "./index227.js";
8
+ import H from "./index245.js";
9
+ import M from "./index246.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 "./index276.js";
11
+ import ee from "./index247.js";
12
+ import te from "./index248.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 "./index317.js";
2
- import p from "./index318.js";
3
- import m from "./index319.js";
4
- import i from "./index320.js";
5
- import f from "./index321.js";
6
- import l from "./index322.js";
7
- import c from "./index323.js";
8
- import d from "./index324.js";
9
- import u from "./index325.js";
10
- import { VERSION as x } from "./index326.js";
11
- import C from "./index327.js";
12
- import A from "./index328.js";
13
- import E from "./index329.js";
14
- import O from "./index330.js";
15
- import S from "./index331.js";
16
- import H from "./index332.js";
17
- import T from "./index333.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 "./index230.js";
3
- import lt from "./index231.js";
4
- import at from "./index232.js";
5
- import ut from "./index233.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";
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 "./index234.js";
8
- import F from "./index214.js";
9
- import ct from "./index235.js";
10
- import We from "./index236.js";
11
- import Ue from "./index237.js";
7
+ import dt from "./index253.js";
8
+ import F from "./index228.js";
9
+ import ct from "./index254.js";
10
+ import We from "./index247.js";
11
+ import Ue from "./index246.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 "./index238.js";
14
- import pe from "./index239.js";
15
- import ht from "./index240.js";
16
- import pt from "./index241.js";
17
- import K from "./index242.js";
18
- import gt from "./index213.js";
19
- import Ze from "./index243.js";
20
- import yt from "./index244.js";
21
- import wt from "./index245.js";
22
- import vt from "./index246.js";
23
- import bt from "./index247.js";
24
- import Ct from "./index248.js";
25
- import Rt from "./index249.js";
26
- import St from "./index250.js";
27
- import Pt from "./index251.js";
28
- import Et from "./index252.js";
29
- import Re from "./index253.js";
30
- import Se from "./index254.js";
31
- import Pe from "./index255.js";
13
+ import mt from "./index255.js";
14
+ import pe from "./index256.js";
15
+ import ht from "./index257.js";
16
+ import pt from "./index236.js";
17
+ import K from "./index258.js";
18
+ import gt from "./index227.js";
19
+ import Ze from "./index259.js";
20
+ import yt from "./index260.js";
21
+ import wt from "./index234.js";
22
+ import vt from "./index261.js";
23
+ import bt from "./index242.js";
24
+ import Ct from "./index262.js";
25
+ import Rt from "./index263.js";
26
+ import St from "./index235.js";
27
+ import Pt from "./index264.js";
28
+ import Et from "./index243.js";
29
+ import Re from "./index265.js";
30
+ import Se from "./index266.js";
31
+ import Pe from "./index267.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index202.js CHANGED
@@ -1,5 +1,5 @@
1
- import l from "./index214.js";
2
- import n from "./index256.js";
1
+ import l from "./index228.js";
2
+ import n from "./index268.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index203.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index214.js";
2
- import e from "./index257.js";
1
+ import r from "./index228.js";
2
+ import e from "./index269.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index204.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index214.js";
1
+ import r from "./index228.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,