@quoreadmin/ui 1.10.4 → 1.10.5

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 (197) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index138.js +145 -96
  3. package/dist/index147.js +1 -1
  4. package/dist/index186.js +4 -4
  5. package/dist/index193.js +8 -8
  6. package/dist/index195.js +8 -8
  7. package/dist/index198.js +17 -17
  8. package/dist/index201.js +26 -26
  9. package/dist/index202.js +1 -1
  10. package/dist/index203.js +1 -1
  11. package/dist/index206.js +2 -2
  12. package/dist/index208.js +14 -14
  13. package/dist/index209.js +1 -1
  14. package/dist/index210.js +1 -1
  15. package/dist/index211.js +3 -3
  16. package/dist/index212.js +6 -6
  17. package/dist/index217.js +1 -1
  18. package/dist/index219.js +4 -4
  19. package/dist/index221.js +1 -1
  20. package/dist/index222.js +1 -1
  21. package/dist/index223.js +1 -1
  22. package/dist/index224.js +4 -4
  23. package/dist/index226.js +1 -1
  24. package/dist/index230.js +156 -122
  25. package/dist/index231.js +225 -35
  26. package/dist/index232.js +37 -80
  27. package/dist/index233.js +10 -20
  28. package/dist/index234.js +126 -19
  29. package/dist/index235.js +34 -16
  30. package/dist/index236.js +80 -20
  31. package/dist/index237.js +8 -8
  32. package/dist/index238.js +19 -160
  33. package/dist/index239.js +20 -228
  34. package/dist/index240.js +19 -36
  35. package/dist/index241.js +20 -10
  36. package/dist/index242.js +3624 -149
  37. package/dist/index243.js +55 -20
  38. package/dist/index244.js +77 -22
  39. package/dist/index245.js +43 -190
  40. package/dist/index246.js +211 -66
  41. package/dist/index247.js +9 -33
  42. package/dist/index248.js +53 -36
  43. package/dist/index249.js +61 -22
  44. package/dist/index250.js +54 -22
  45. package/dist/index251.js +75 -20
  46. package/dist/index252.js +681 -791
  47. package/dist/index253.js +33 -693
  48. package/dist/index254.js +56 -168
  49. package/dist/index255.js +11 -22
  50. package/dist/index256.js +705 -20
  51. package/dist/index257.js +820 -20
  52. package/dist/index258.js +161 -3
  53. package/dist/index259.js +19 -186
  54. package/dist/index260.js +21 -132
  55. package/dist/index261.js +141 -1165
  56. package/dist/index262.js +69 -19
  57. package/dist/index263.js +33 -21
  58. package/dist/index264.js +38 -20
  59. package/dist/index265.js +15 -22
  60. package/dist/index266.js +15 -13
  61. package/dist/index267.js +12 -12
  62. package/dist/index268.js +836 -2
  63. package/dist/index269.js +702 -2
  64. package/dist/index270.js +170 -3630
  65. package/dist/index271.js +22 -55
  66. package/dist/index272.js +20 -77
  67. package/dist/index273.js +20 -52
  68. package/dist/index274.js +3 -215
  69. package/dist/index275.js +187 -10
  70. package/dist/index276.js +128 -52
  71. package/dist/index277.js +1214 -52
  72. package/dist/index278.js +20 -54
  73. package/dist/index279.js +22 -75
  74. package/dist/index280.js +21 -725
  75. package/dist/index281.js +29 -42
  76. package/dist/index282.js +20 -64
  77. package/dist/index283.js +20 -11
  78. package/dist/index284.js +2 -705
  79. package/dist/index285.js +2 -820
  80. package/dist/index294.js +1534 -54
  81. package/dist/index295.js +386 -26
  82. package/dist/index296.js +2731 -22
  83. package/dist/index297.js +85 -21
  84. package/dist/index298.js +3792 -16
  85. package/dist/index299.js +60 -17
  86. package/dist/index300.js +15 -23
  87. package/dist/index301.js +76 -254
  88. package/dist/index302.js +200 -4
  89. package/dist/index303.js +235 -129
  90. package/dist/index304.js +52 -71
  91. package/dist/index305.js +25 -86
  92. package/dist/index306.js +21 -28
  93. package/dist/index307.js +20 -14
  94. package/dist/index308.js +16 -75
  95. package/dist/index309.js +17 -4
  96. package/dist/index310.js +23 -2
  97. package/dist/index311.js +74 -78
  98. package/dist/index312.js +21 -52
  99. package/dist/index313.js +934 -5
  100. package/dist/index314.js +21 -4
  101. package/dist/index315.js +19 -178
  102. package/dist/index316.js +19 -62
  103. package/dist/index317.js +68 -74
  104. package/dist/index318.js +19 -1534
  105. package/dist/index319.js +19 -386
  106. package/dist/index320.js +22 -2731
  107. package/dist/index321.js +21 -85
  108. package/dist/index322.js +63 -3792
  109. package/dist/index323.js +254 -52
  110. package/dist/index324.js +5 -78
  111. package/dist/index325.js +139 -21
  112. package/dist/index326.js +66 -928
  113. package/dist/index327.js +86 -21
  114. package/dist/index328.js +28 -19
  115. package/dist/index329.js +15 -19
  116. package/dist/index330.js +73 -67
  117. package/dist/index331.js +4 -19
  118. package/dist/index332.js +2 -19
  119. package/dist/index333.js +82 -21
  120. package/dist/index334.js +52 -21
  121. package/dist/index335.js +6 -63
  122. package/dist/index336.js +5 -15
  123. package/dist/index337.js +166 -71
  124. package/dist/index338.js +57 -196
  125. package/dist/index339.js +75 -246
  126. package/dist/index340.js +8 -9
  127. package/dist/index341.js +13 -10
  128. package/dist/index342.js +54 -13
  129. package/dist/index343.js +12 -10
  130. package/dist/index344.js +12 -15
  131. package/dist/index345.js +57 -8
  132. package/dist/index346.js +51 -12
  133. package/dist/index347.js +25 -49
  134. package/dist/index348.js +2 -12
  135. package/dist/index349.js +5 -14
  136. package/dist/index350.js +2 -58
  137. package/dist/index351.js +23 -52
  138. package/dist/index352.js +38 -28
  139. package/dist/index353.js +2 -2
  140. package/dist/index354.js +10 -4
  141. package/dist/index355.js +20 -2
  142. package/dist/index356.js +9 -22
  143. package/dist/index357.js +9 -40
  144. package/dist/index358.js +17 -2
  145. package/dist/index359.js +2 -11
  146. package/dist/index360.js +9 -20
  147. package/dist/index361.js +10 -2
  148. package/dist/index362.js +13 -8
  149. package/dist/index364.js +19 -18
  150. package/dist/index365.js +19 -56
  151. package/dist/index366.js +63 -28
  152. package/dist/index367.js +37 -7
  153. package/dist/index368.js +16 -49
  154. package/dist/index369.js +57 -7
  155. package/dist/index370.js +27 -10
  156. package/dist/index371.js +7 -7
  157. package/dist/index372.js +51 -27
  158. package/dist/index373.js +7 -2
  159. package/dist/index374.js +11 -69
  160. package/dist/index375.js +6 -166
  161. package/dist/index376.js +28 -20
  162. package/dist/index377.js +2 -20
  163. package/dist/index378.js +67 -61
  164. package/dist/index379.js +166 -36
  165. package/dist/index380.js +97 -30
  166. package/dist/index381.js +100 -10
  167. package/dist/index382.js +90 -3
  168. package/dist/index383.js +17 -4
  169. package/dist/index384.js +30 -12
  170. package/dist/index385.js +11 -7
  171. package/dist/index386.js +3 -11
  172. package/dist/index387.js +3 -4
  173. package/dist/index388.js +13 -33
  174. package/dist/index389.js +7 -31
  175. package/dist/index390.js +12 -28
  176. package/dist/index391.js +5 -61
  177. package/dist/index392.js +33 -17
  178. package/dist/index393.js +29 -99
  179. package/dist/index394.js +28 -91
  180. package/dist/index395.js +59 -96
  181. package/dist/index396.js +1 -1
  182. package/dist/index401.js +1 -1
  183. package/dist/index402.js +2 -2
  184. package/dist/index41.js +5 -5
  185. package/dist/src/components/comment/comment.d.ts +6 -0
  186. package/dist/src/components/comment/comment.stories.d.ts +6 -0
  187. package/dist/src/components/comment-section/comment-section.d.ts +6 -0
  188. package/dist/src/components/comment-section/comment-section.stories.d.ts +6 -0
  189. package/dist/src/components/data-filter/data-filter.d.ts +6 -0
  190. package/dist/src/components/data-list/data-list.d.ts +6 -0
  191. package/dist/src/components/grid/grid.stories.d.ts +12 -0
  192. package/dist/src/components/popover/popover.d.ts +6 -0
  193. package/dist/src/components/popover/popover.stories.d.ts +42 -0
  194. package/dist/src/components/room-details-popover/room-details-popover.d.ts +6 -0
  195. package/dist/src/views/lists.vue.d.ts +12 -0
  196. package/dist/src/views/tables.vue.d.ts +6 -0
  197. package/package.json +1 -1
package/dist/index138.js CHANGED
@@ -1,7 +1,7 @@
1
- import { defineComponent as A, ref as h, computed as W, onMounted as Q, onUnmounted as F, watch as N, nextTick as O } from "vue";
2
- import { onClickOutside as k } from "./index173.js";
3
- import { useThrottleFn as I } from "./index184.js";
4
- const Z = A({
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 = _({
5
5
  name: "QPopover",
6
6
  props: {
7
7
  /** Aligns the popover accordingly with the trigger.
@@ -84,175 +84,224 @@ const Z = A({
84
84
  }
85
85
  },
86
86
  emits: ["update:modelValue"],
87
- setup(o, { emit: a }) {
88
- const f = h(!1), d = h(""), s = h(null), g = h(null), V = h({
87
+ setup(o, { emit: m }) {
88
+ const h = g(!1), w = g(""), s = g(null), v = g(0), p = g(null), V = g({
89
89
  top: "0",
90
90
  left: "0",
91
91
  transform: "none"
92
- }), p = W(() => f.value === !0 && o.reposition === !0 ? S(o.align) : o.align), y = W(() => f.value === !0 && o.reposition === !0 ? R(o.position) : o.position), S = (t) => {
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
93
  if (!s.value) return t;
94
94
  const e = o.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
95
- if (!e || w(e)) return t;
96
- const n = s.value.children[0].getBoundingClientRect(), u = e.getBoundingClientRect();
95
+ if (!e || S(e)) return t;
96
+ const n = s.value.children[0].getBoundingClientRect(), c = e.getBoundingClientRect();
97
97
  if (t === "left" || t === "right" || t === "center") {
98
98
  const l = n.left;
99
- return window.innerWidth - l < u.width ? "right" : "left";
99
+ return window.innerWidth - l < c.width ? "right" : "left";
100
100
  } else {
101
101
  const l = n.top;
102
- return window.innerHeight - l < u.height ? "bottom" : "top";
102
+ return window.innerHeight - l < c.height ? "bottom" : "top";
103
103
  }
104
- }, R = (t) => {
104
+ }, C = (t) => {
105
105
  if (!s.value) return t;
106
106
  const e = o.teleport ? document.querySelector(".q-popover.teleported") : s.value.children[1];
107
- if (!e || w(e)) return t;
108
- const n = s.value.children[0].getBoundingClientRect(), u = e.getBoundingClientRect();
107
+ if (!e || S(e)) return t;
108
+ const n = s.value.children[0].getBoundingClientRect(), c = 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
+ }
110
114
  const l = n.top;
111
- return window.innerHeight - l < u.height ? "top" : "bottom";
115
+ return window.innerHeight - l < c.height ? "top" : "bottom";
112
116
  } else {
113
117
  const l = n.left;
114
- return window.innerWidth - l < u.width ? "left" : "right";
118
+ return window.innerWidth - l < c.width ? "left" : "right";
115
119
  }
116
- }, w = (t) => {
120
+ }, S = (t) => {
117
121
  if (!t) return !1;
118
122
  const e = t.getBoundingClientRect();
119
123
  return e ? e.top >= 0 && e.left >= 0 && e.bottom <= (window.innerHeight || document.documentElement.clientHeight) && e.right <= (window.innerWidth || document.documentElement.clientWidth) : !1;
120
- }, q = () => {
124
+ }, P = () => {
121
125
  if (!s.value) return !0;
122
126
  const t = s.value.children[0];
123
127
  if (!t) return !0;
124
128
  const e = t.getBoundingClientRect();
125
129
  let n = t.parentElement;
126
130
  for (; n; ) {
127
- const r = getComputedStyle(n), c = r.overflowY, H = r.overflowX;
128
- if (c === "auto" || c === "scroll" || (H === "auto" || H === "scroll")) {
129
- const v = n.getBoundingClientRect();
130
- if (!(e.bottom > v.top && e.top < v.bottom && e.right > v.left && e.left < v.right))
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))
131
135
  return !1;
132
136
  }
133
137
  n = n.parentElement;
134
138
  }
135
- const u = window.innerHeight || document.documentElement.clientHeight, l = window.innerWidth || document.documentElement.clientWidth;
136
- return e.bottom > 0 && e.top < u && e.right > 0 && e.left < l;
137
- }, B = () => {
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) => {
142
+ let e = t.parentElement;
143
+ for (; e && e !== document.documentElement; ) {
144
+ const c = getComputedStyle(e).overflowY;
145
+ if ((c === "auto" || c === "scroll") && e.scrollHeight > e.clientHeight)
146
+ return e;
147
+ e = e.parentElement;
148
+ }
149
+ return null;
150
+ }, T = () => {
138
151
  if (!o.teleport || !o.scrollIntoView || !o.modelValue) return;
139
152
  const t = document.querySelector(".q-popover.teleported");
140
153
  if (!t) return;
141
- const e = t.getBoundingClientRect(), n = o.scrollIntoViewPadding, u = window.innerHeight, l = window.innerWidth;
142
- let i = 0, r = 0;
143
- e.bottom + n > u ? r = e.bottom + n - u : e.top - n < 0 && (r = e.top - n), e.right + n > l ? i = e.right + n - l : e.left - n < 0 && (i = e.left - n), (i !== 0 || r !== 0) && window.scrollBy({
144
- top: r,
145
- left: i,
146
- behavior: "smooth"
147
- });
148
- }, z = () => {
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,
166
+ behavior: "smooth"
167
+ }), requestAnimationFrame(() => {
168
+ a.scrollTop !== b && (f(), d());
169
+ });
170
+ return;
171
+ }
172
+ }
173
+ }
174
+ window.scrollBy({
175
+ top: u,
176
+ left: r,
177
+ behavior: "smooth"
178
+ });
179
+ }
180
+ }, L = () => {
149
181
  if (!o.teleport || !o.scrollIntoView) return;
150
- b();
182
+ R();
151
183
  const t = document.querySelector(".q-popover.teleported");
152
- t && (g.value = new ResizeObserver(() => {
153
- setTimeout(B, 50);
154
- }), g.value.observe(t));
155
- }, b = () => {
156
- g.value && (g.value.disconnect(), g.value = null);
157
- }, P = () => {
158
- (o.trigger === "click" || o.trigger === "both") && a("update:modelValue", !o.modelValue);
159
- }, T = () => {
160
- o.trigger !== "click" && a("update:modelValue", !1);
161
- }, x = () => {
162
- o.trigger !== "click" && a("update:modelValue", !0);
163
- }, L = () => {
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];
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`,
204
+ 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);
212
+ }, A = () => {
164
213
  const t = s.value?.children[0];
165
214
  if (t) {
166
215
  const e = t.clientWidth, n = t.clientHeight;
167
- switch (p.value) {
216
+ switch (H.value) {
168
217
  case "left":
169
- d.value = `margin-left: ${e / 2 - 10}px;`;
218
+ w.value = `margin-left: ${e / 2 - 10}px;`;
170
219
  break;
171
220
  case "right":
172
- d.value = `margin-right: ${e / 2 - 10}px;`;
221
+ w.value = `margin-right: ${e / 2 - 10}px;`;
173
222
  break;
174
223
  case "top":
175
- d.value = `margin-top: ${n / 2 - 10}px;`;
224
+ w.value = `margin-top: ${n / 2 - 10}px;`;
176
225
  break;
177
226
  case "bottom":
178
- d.value = `margin-bottom: ${n / 2 - 10}px;`;
227
+ w.value = `margin-bottom: ${n / 2 - 10}px;`;
179
228
  break;
180
229
  }
181
230
  }
182
- }, m = () => {
231
+ }, f = () => {
183
232
  if (!s.value || !o.teleport) return;
184
233
  const t = s.value.children[0];
185
234
  if (!t) return;
186
- const e = t.getBoundingClientRect(), n = 10, u = y.value, l = p.value;
187
- let i = 0, r = 0, c = "none";
188
- u === "bottom" ? (i = e.bottom + n, l === "left" ? (r = e.left, c = "none") : l === "right" ? (r = e.right, c = "translateX(-100%)") : l === "center" && (r = e.left + e.width / 2, c = "translateX(-50%)")) : u === "top" ? (i = e.top - n, c = "translateY(-100%)", l === "left" ? r = e.left : l === "right" ? (r = e.right, c = "translate(-100%, -100%)") : l === "center" && (r = e.left + e.width / 2, c = "translate(-50%, -100%)")) : u === "left" ? (r = e.left - n, c = "translateX(-100%)", l === "top" ? i = e.top : l === "bottom" ? (i = e.bottom, c = "translate(-100%, -100%)") : l === "middle" && (i = e.top + e.height / 2, c = "translate(-100%, -50%)")) : u === "right" && (r = e.right + n, l === "top" ? (i = e.top, c = "none") : l === "bottom" ? (i = e.bottom, c = "translateY(-100%)") : l === "middle" && (i = e.top + e.height / 2, c = "translateY(-50%)")), V.value = {
189
- top: `${i}px`,
190
- left: `${r}px`,
191
- transform: c
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
192
241
  };
193
- }, X = () => {
194
- o.teleport && o.modelValue && m();
195
- }, Y = () => {
242
+ }, M = () => {
243
+ o.teleport && o.modelValue && (f(), d());
244
+ }, F = () => {
196
245
  if (o.teleport && o.modelValue) {
197
- if (o.closeOnScrollOutOfView && !q()) {
198
- a("update:modelValue", !1);
246
+ if (o.closeOnScrollOutOfView && !P()) {
247
+ m("update:modelValue", !1);
199
248
  return;
200
249
  }
201
- o.followScroll && m();
250
+ o.followScroll && (f(), d());
202
251
  }
203
- }, C = I(X, 16, !0), E = I(Y, 16, !0);
204
- k(s, (t) => {
252
+ }, I = x(M, 16, !0), W = x(F, 16, !0);
253
+ q(s, (t) => {
205
254
  if (o.teleport) {
206
255
  const e = document.querySelector(".q-popover.teleported");
207
256
  if (e && e.contains(t.target))
208
257
  return;
209
258
  }
210
- o.modelValue && a("update:modelValue", !1);
259
+ o.modelValue && m("update:modelValue", !1);
211
260
  });
212
- function $() {
213
- f.value = !1, b();
261
+ function N() {
262
+ h.value = !1, v.value = 0, R();
214
263
  }
215
- function M() {
216
- f.value = !0, o.teleport ? O(() => {
217
- m(), o.scrollIntoView && setTimeout(() => {
218
- z(), B();
264
+ function Q() {
265
+ h.value = !0, o.teleport ? k(() => {
266
+ f(), o.scrollIntoView && setTimeout(() => {
267
+ d(), L(), T();
219
268
  }, 100);
220
- }) : !w(s.value?.children[1]) && o.reposition === !0 && L();
269
+ }) : !S(s.value?.children[1]) && o.reposition === !0 && A();
221
270
  }
222
- return Q(() => {
223
- o.teleport && (window.addEventListener("resize", C), window.addEventListener("scroll", E, !0));
224
- }), F(() => {
225
- o.teleport && (window.removeEventListener("resize", C), window.removeEventListener("scroll", E, !0)), b();
226
- }), N(
271
+ 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(
227
276
  () => o.modelValue,
228
277
  (t) => {
229
- o.teleport && t && O(() => {
230
- m();
278
+ o.teleport && t && k(() => {
279
+ f(), d();
231
280
  });
232
281
  }
233
282
  ), {
234
283
  // Refs
235
- entered: f,
236
- offsetStyle: d,
284
+ entered: h,
285
+ offsetStyle: w,
237
286
  popover: s,
238
287
  teleportedStyle: V,
239
288
  // Computed
240
- alignment: p,
241
- positioning: y,
289
+ alignment: H,
290
+ positioning: E,
242
291
  // Methods
243
- getAlignment: S,
244
- getPositioning: R,
245
- isElementInView: w,
246
- onAfterLeave: $,
247
- onClick: P,
248
- onClickOutside: k,
249
- onEnter: M,
250
- onMouseLeave: T,
251
- onMouseOver: x,
252
- updateTeleportedPosition: m
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
253
302
  };
254
303
  }
255
304
  });
256
305
  export {
257
- Z as default
306
+ te as default
258
307
  };
package/dist/index147.js CHANGED
@@ -751,7 +751,7 @@ const Pt = 996, Zt = It({
751
751
  }, dt = (e) => {
752
752
  Ne(), b.value = e;
753
753
  }, mt = async (e) => {
754
- if (console.log("selected:", e), E.value = e, O.value = [], g.value.issue = null, p.value.problem = null, v.value.item = null, v.value.issue = null, d.value.item = null, !E.value) {
754
+ if (E.value = e, O.value = [], g.value.issue = null, p.value.problem = null, v.value.item = null, v.value.issue = null, d.value.item = null, !E.value) {
755
755
  y.value.actionItems = !1;
756
756
  return;
757
757
  }
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 "./index238.js";
3
- import { parse as ct } from "./index239.js";
4
- import { getWeek as Ie } from "./index240.js";
5
- import dt from "./index241.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 "./index242.js";
2
- import O from "./index243.js";
3
- import V from "./index233.js";
4
- import R from "./index244.js";
5
- import j from "./index245.js";
6
- import K from "./index246.js";
1
+ import A from "./index258.js";
2
+ import O from "./index259.js";
3
+ import V from "./index237.js";
4
+ import R from "./index260.js";
5
+ import j from "./index261.js";
6
+ import K from "./index262.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 "./index247.js";
11
- import Y from "./index248.js";
10
+ import G from "./index263.js";
11
+ import Y from "./index264.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 "./index234.js";
2
+ import X from "./index235.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 "./index236.js";
6
+ import J from "./index237.js";
7
7
  import L from "./index227.js";
8
- import H from "./index234.js";
9
- import M from "./index235.js";
8
+ import H from "./index238.js";
9
+ import M from "./index239.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 "./index240.js";
12
+ import te from "./index241.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 "./index240.js";
11
+ import Ue from "./index239.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 "./index237.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 "./index242.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 "./index243.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 "./index258.js";
22
+ import vt from "./index277.js";
23
+ import bt from "./index234.js";
24
+ import Ct from "./index278.js";
25
+ import Rt from "./index279.js";
26
+ import St from "./index259.js";
27
+ import Pt from "./index280.js";
28
+ import Et from "./index235.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 "./index242.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 "./index242.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 "./index242.js";
2
+ import { Blockquote as n } from "./index243.js";
3
+ import { Bold as p } from "./index244.js";
4
+ import { Code as f } from "./index245.js";
5
+ import { CodeBlock as h } from "./index246.js";
6
+ import { Document as u } from "./index247.js";
7
+ import { HardBreak as l } from "./index248.js";
8
+ import { Heading as a } from "./index249.js";
9
+ import { HorizontalRule as c } from "./index250.js";
10
+ import { Italic as d } from "./index251.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 "./index252.js";
13
+ import { Paragraph as x } from "./index253.js";
14
+ import { Strike as b } from "./index254.js";
15
+ import { Text as v } from "./index255.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 "./index242.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 "./index242.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) => {
package/dist/index211.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index270.js";
2
- import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index284.js";
3
- import { Plugin as g, PluginKey as A } from "./index285.js";
1
+ import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index242.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index256.js";
3
+ import { Plugin as g, PluginKey as A } from "./index257.js";
4
4
  var P = "[\0-   ᠎ -\u2029  ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
5
5
  function $(t) {
6
6
  return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
package/dist/index212.js CHANGED
@@ -1,9 +1,9 @@
1
- import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index270.js";
2
- import { Plugin as p, PluginKey as m } from "./index285.js";
3
- import { dropCursor as E } from "./index337.js";
4
- import { Decoration as y, DecorationSet as f } from "./index322.js";
5
- import { gapCursor as N } from "./index338.js";
6
- import { history as A, redo as M, undo as O } from "./index339.js";
1
+ import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index242.js";
2
+ import { Plugin as p, PluginKey as m } from "./index257.js";
3
+ import { dropCursor as E } from "./index301.js";
4
+ import { Decoration as y, DecorationSet as f } from "./index298.js";
5
+ import { gapCursor as N } from "./index302.js";
6
+ import { history as A, redo as M, undo as O } from "./index303.js";
7
7
  l.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index217.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { color as m } from "./index224.js";
2
2
  import { number as b } from "./index221.js";
3
- import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index340.js";
3
+ import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index361.js";
4
4
  const i = "${c}", p = "${n}";
5
5
  function x(e) {
6
6
  var o, n, r, t;