@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.
- package/dist/index.css +1 -1
- package/dist/index131.js +97 -95
- package/dist/index138.js +139 -132
- package/dist/index182.js +14 -14
- package/dist/index183.js +3 -3
- package/dist/index186.js +4 -4
- package/dist/index193.js +10 -10
- package/dist/index195.js +10 -10
- package/dist/index198.js +17 -17
- package/dist/index201.js +28 -28
- package/dist/index202.js +2 -2
- package/dist/index203.js +2 -2
- package/dist/index204.js +1 -1
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index213.js +29 -84
- package/dist/index214.js +109 -400
- package/dist/index215.js +36 -22
- package/dist/index216.js +26 -33
- package/dist/index217.js +31 -111
- package/dist/index218.js +50 -35
- package/dist/index219.js +43 -26
- package/dist/index220.js +3 -35
- package/dist/index221.js +9 -51
- package/dist/index222.js +18 -42
- package/dist/index223.js +10 -4
- package/dist/index224.js +10 -9
- package/dist/index225.js +38 -18
- package/dist/index226.js +21 -10
- package/dist/index227.js +88 -10
- package/dist/index228.js +403 -35
- package/dist/index229.js +22 -21
- package/dist/index230.js +160 -21
- package/dist/index231.js +228 -22
- package/dist/index232.js +36 -19
- package/dist/index233.js +9 -835
- package/dist/index234.js +104 -645
- package/dist/index235.js +20 -176
- package/dist/index236.js +12 -12
- package/dist/index237.js +15 -13
- package/dist/index238.js +198 -21
- package/dist/index239.js +69 -19
- package/dist/index240.js +34 -20
- package/dist/index241.js +39 -19
- package/dist/index242.js +127 -3
- package/dist/index243.js +24 -173
- package/dist/index244.js +78 -131
- package/dist/index245.js +19 -160
- package/dist/index246.js +20 -1223
- package/dist/index247.js +19 -126
- package/dist/index248.js +11 -11
- package/dist/index249.js +11 -11
- package/dist/index250.js +13 -11
- package/dist/index251.js +11 -13
- package/dist/index252.js +819 -21
- package/dist/index253.js +701 -28
- package/dist/index254.js +176 -20
- package/dist/index255.js +14 -12
- package/dist/index256.js +20 -2
- package/dist/index257.js +20 -2
- package/dist/index258.js +3 -3636
- package/dist/index259.js +181 -49
- package/dist/index260.js +128 -72
- package/dist/index261.js +1216 -45
- package/dist/index262.js +20 -215
- package/dist/index263.js +22 -10
- package/dist/index264.js +22 -57
- package/dist/index265.js +29 -61
- package/dist/index266.js +20 -54
- package/dist/index267.js +20 -75
- package/dist/index268.js +2 -726
- package/dist/index269.js +2 -42
- package/dist/index270.js +3614 -42
- package/dist/index271.js +54 -10
- package/dist/index272.js +68 -696
- package/dist/index273.js +51 -819
- package/dist/index274.js +206 -71
- package/dist/index275.js +10 -20
- package/dist/index276.js +57 -20
- package/dist/index277.js +60 -160
- package/dist/index278.js +51 -225
- package/dist/index279.js +75 -37
- package/dist/index280.js +726 -10
- package/dist/index281.js +42 -22
- package/dist/index282.js +55 -190
- package/dist/index283.js +11 -70
- package/dist/index284.js +704 -33
- package/dist/index285.js +817 -37
- package/dist/index290.js +3 -1534
- package/dist/index291.js +23 -382
- package/dist/index292.js +54 -2731
- package/dist/index293.js +71 -78
- package/dist/index294.js +26 -3792
- package/dist/index295.js +21 -59
- package/dist/index296.js +22 -15
- package/dist/index297.js +16 -84
- package/dist/index298.js +16 -201
- package/dist/index299.js +23 -246
- package/dist/index300.js +2 -79
- package/dist/index301.js +1534 -79
- package/dist/index302.js +386 -22
- package/dist/index303.js +2698 -902
- package/dist/index304.js +85 -21
- package/dist/index305.js +3792 -20
- package/dist/index306.js +59 -19
- package/dist/index307.js +77 -67
- package/dist/index308.js +21 -18
- package/dist/index309.js +934 -18
- package/dist/index310.js +21 -53
- package/dist/index311.js +11 -13
- package/dist/index312.js +11 -13
- package/dist/index313.js +68 -62
- package/dist/index314.js +19 -2
- package/dist/index315.js +19 -3
- package/dist/index316.js +21 -26
- package/dist/index317.js +21 -261
- package/dist/index318.js +63 -6
- package/dist/index319.js +15 -140
- package/dist/index320.js +77 -66
- package/dist/index321.js +195 -80
- package/dist/index322.js +245 -28
- package/dist/index323.js +260 -14
- package/dist/index324.js +5 -74
- package/dist/index325.js +139 -3
- package/dist/index326.js +73 -2
- package/dist/index327.js +83 -79
- package/dist/index328.js +26 -50
- package/dist/index329.js +15 -5
- package/dist/index330.js +74 -4
- package/dist/index331.js +3 -178
- package/dist/index332.js +2 -63
- package/dist/index333.js +82 -74
- package/dist/index334.js +52 -25
- package/dist/index335.js +5 -21
- package/dist/index336.js +4 -21
- package/dist/index337.js +178 -15
- package/dist/index338.js +62 -16
- package/dist/index339.js +74 -22
- package/dist/index340.js +8 -36
- package/dist/index341.js +12 -19
- package/dist/index342.js +54 -19
- package/dist/index343.js +11 -63
- package/dist/index344.js +14 -37
- package/dist/index345.js +57 -8
- package/dist/index346.js +51 -12
- package/dist/index347.js +25 -49
- package/dist/index348.js +2 -12
- package/dist/index349.js +5 -14
- package/dist/index350.js +2 -58
- package/dist/index351.js +23 -52
- package/dist/index352.js +38 -28
- package/dist/index353.js +2 -2
- package/dist/index354.js +10 -4
- package/dist/index355.js +20 -2
- package/dist/index356.js +9 -22
- package/dist/index357.js +9 -40
- package/dist/index358.js +17 -2
- package/dist/index359.js +2 -11
- package/dist/index360.js +9 -20
- package/dist/index361.js +10 -10
- package/dist/index362.js +13 -9
- package/dist/index363.js +36 -16
- package/dist/index364.js +20 -2
- package/dist/index365.js +20 -9
- package/dist/index366.js +63 -9
- package/dist/index367.js +37 -14
- package/dist/index368.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index370.js +5 -5
- package/dist/index372.js +2 -2
- package/dist/index374.js +2 -2
- package/dist/index376.js +1 -1
- package/dist/index378.js +4 -4
- package/dist/index379.js +3 -3
- package/dist/index38.js +2 -2
- package/dist/index382.js +16 -97
- package/dist/index383.js +97 -16
- package/dist/index384.js +1 -1
- package/dist/index385.js +3 -3
- package/dist/index390.js +1 -1
- package/dist/index392.js +1 -1
- package/dist/index393.js +3 -3
- package/dist/index394.js +3 -3
- package/dist/index402.js +1 -1
- package/dist/index41.js +17 -12
- package/dist/index45.js +1 -1
- package/dist/src/components/comment/comment.d.ts +10 -6
- package/dist/src/components/comment/comment.stories.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.d.ts +10 -6
- package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
- package/dist/src/components/data-filter/data-filter.d.ts +10 -6
- package/dist/src/components/data-list/data-list.d.ts +10 -6
- package/dist/src/components/grid/grid.stories.d.ts +20 -12
- package/dist/src/components/page-layout/page-layout.vue.d.ts +2 -0
- package/dist/src/components/popover/popover.d.ts +10 -6
- package/dist/src/components/popover/popover.stories.d.ts +70 -42
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
- package/dist/src/views/lists.vue.d.ts +20 -12
- package/dist/src/views/tables.vue.d.ts +10 -6
- package/package.json +1 -1
package/dist/index138.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { onClickOutside as
|
|
3
|
-
import { useThrottleFn as
|
|
4
|
-
const
|
|
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:
|
|
88
|
-
const
|
|
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 =
|
|
93
|
-
if (!
|
|
94
|
-
const e = o.teleport ? document.querySelector(".q-popover.teleported") :
|
|
95
|
-
if (!e ||
|
|
96
|
-
const n =
|
|
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 <
|
|
99
|
+
return window.innerWidth - l < r.width ? "right" : "left";
|
|
100
100
|
} else {
|
|
101
101
|
const l = n.top;
|
|
102
|
-
return window.innerHeight - l <
|
|
102
|
+
return window.innerHeight - l < r.height ? "bottom" : "top";
|
|
103
103
|
}
|
|
104
|
-
},
|
|
105
|
-
if (!
|
|
106
|
-
const e = o.teleport ? document.querySelector(".q-popover.teleported") :
|
|
107
|
-
if (!e ||
|
|
108
|
-
const n =
|
|
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 <
|
|
111
|
+
return window.innerHeight - l < r.height ? "top" : "bottom";
|
|
116
112
|
} else {
|
|
117
113
|
const l = n.left;
|
|
118
|
-
return window.innerWidth - l <
|
|
114
|
+
return window.innerWidth - l < r.width ? "left" : "right";
|
|
119
115
|
}
|
|
120
|
-
},
|
|
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
|
-
},
|
|
125
|
-
if (!
|
|
126
|
-
const t =
|
|
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
|
|
132
|
-
if (
|
|
133
|
-
const
|
|
134
|
-
if (!(e.bottom >
|
|
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
|
|
140
|
-
return e.bottom > 0 && e.top <
|
|
141
|
-
},
|
|
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
|
|
145
|
-
if ((
|
|
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
|
-
},
|
|
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,
|
|
155
|
-
let
|
|
156
|
-
if (e.bottom + n >
|
|
157
|
-
if (
|
|
158
|
-
const
|
|
159
|
-
if (
|
|
160
|
-
const
|
|
161
|
-
if (
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
top:
|
|
165
|
-
left:
|
|
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
|
-
|
|
164
|
+
f.scrollTop !== a && (d(), h());
|
|
169
165
|
});
|
|
170
166
|
return;
|
|
171
167
|
}
|
|
172
168
|
}
|
|
173
169
|
}
|
|
174
170
|
window.scrollBy({
|
|
175
|
-
top:
|
|
176
|
-
left:
|
|
171
|
+
top: c,
|
|
172
|
+
left: i,
|
|
177
173
|
behavior: "smooth"
|
|
178
174
|
});
|
|
179
175
|
}
|
|
180
|
-
},
|
|
176
|
+
}, $ = () => {
|
|
181
177
|
if (!o.teleport || !o.scrollIntoView) return;
|
|
182
|
-
|
|
178
|
+
C();
|
|
183
179
|
const t = document.querySelector(".q-popover.teleported");
|
|
184
|
-
t && (
|
|
185
|
-
setTimeout(() => {
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
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 =
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
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
|
-
|
|
207
|
-
|
|
208
|
-
|
|
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
|
-
|
|
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
|
-
|
|
224
|
+
p.value = `margin-left: ${e / 2 - 10}px;`;
|
|
219
225
|
break;
|
|
220
226
|
case "right":
|
|
221
|
-
|
|
227
|
+
p.value = `margin-right: ${e / 2 - 10}px;`;
|
|
222
228
|
break;
|
|
223
229
|
case "top":
|
|
224
|
-
|
|
230
|
+
p.value = `margin-top: ${n / 2 - 10}px;`;
|
|
225
231
|
break;
|
|
226
232
|
case "bottom":
|
|
227
|
-
|
|
233
|
+
p.value = `margin-bottom: ${n / 2 - 10}px;`;
|
|
228
234
|
break;
|
|
229
235
|
}
|
|
230
236
|
}
|
|
231
|
-
},
|
|
232
|
-
if (!
|
|
233
|
-
const t =
|
|
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,
|
|
236
|
-
let
|
|
237
|
-
|
|
238
|
-
top: `${
|
|
239
|
-
left: `${
|
|
240
|
-
transform:
|
|
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
|
-
},
|
|
243
|
-
o.teleport && o.modelValue && (
|
|
244
|
-
},
|
|
248
|
+
}, U = () => {
|
|
249
|
+
o.teleport && o.modelValue && (d(), h());
|
|
250
|
+
}, Q = () => {
|
|
245
251
|
if (o.teleport && o.modelValue) {
|
|
246
|
-
if (o.closeOnScrollOutOfView && !
|
|
247
|
-
|
|
252
|
+
if (o.closeOnScrollOutOfView && !L()) {
|
|
253
|
+
v("update:modelValue", !1);
|
|
248
254
|
return;
|
|
249
255
|
}
|
|
250
|
-
o.followScroll && (
|
|
256
|
+
o.followScroll && (d(), h());
|
|
251
257
|
}
|
|
252
|
-
},
|
|
253
|
-
|
|
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 &&
|
|
265
|
+
o.modelValue && v("update:modelValue", !1);
|
|
260
266
|
});
|
|
261
|
-
function
|
|
262
|
-
|
|
267
|
+
function _() {
|
|
268
|
+
w.value = !1, V.value = !1, C();
|
|
263
269
|
}
|
|
264
|
-
function
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
270
|
+
function G() {
|
|
271
|
+
w.value = !0, o.teleport ? B(() => {
|
|
272
|
+
d(), o.scrollIntoView && setTimeout(() => {
|
|
273
|
+
h(), $(), q();
|
|
268
274
|
}, 100);
|
|
269
|
-
}) : !
|
|
275
|
+
}) : !y(u.value?.children[1]) && o.reposition === !0 && N();
|
|
270
276
|
}
|
|
271
277
|
return D(() => {
|
|
272
|
-
o.teleport && (window.addEventListener("resize",
|
|
273
|
-
}),
|
|
274
|
-
o.teleport && (window.removeEventListener("resize",
|
|
275
|
-
}),
|
|
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 &&
|
|
279
|
-
|
|
284
|
+
o.teleport && t && B(() => {
|
|
285
|
+
d(), h();
|
|
280
286
|
});
|
|
281
287
|
}
|
|
282
288
|
), {
|
|
283
289
|
// Refs
|
|
284
|
-
entered:
|
|
285
|
-
offsetStyle:
|
|
286
|
-
popover:
|
|
287
|
-
|
|
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:
|
|
293
|
-
getPositioning:
|
|
294
|
-
isElementInView:
|
|
295
|
-
onAfterLeave:
|
|
296
|
-
onClick:
|
|
297
|
-
onClickOutside:
|
|
298
|
-
onEnter:
|
|
299
|
-
onMouseLeave:
|
|
300
|
-
onMouseOver:
|
|
301
|
-
updateTeleportedPosition:
|
|
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
|
-
|
|
313
|
+
oe as default
|
|
307
314
|
};
|
package/dist/index182.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import st from "./
|
|
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 "./
|
|
4
|
-
import { tryOnUnmounted as pt, isObject as yt } from "./
|
|
5
|
-
import D, { getFrameData as dt } from "./
|
|
6
|
-
import { complex as $ } from "./
|
|
7
|
-
import { inertia as mt } from "./
|
|
8
|
-
import { animate as bt } from "./
|
|
9
|
-
import { velocityPerSecond as ht } from "./
|
|
10
|
-
import { number as vt, alpha as C, scale as j } from "./
|
|
11
|
-
import { filter as P } from "./
|
|
12
|
-
import { px as c, progressPercentage as F, degrees as O } from "./
|
|
13
|
-
import { color as b } from "./
|
|
14
|
-
import { cubicBezier as gt } from "./
|
|
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 "./
|
|
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 "./
|
|
1
|
+
import g from "./index227.js";
|
|
2
2
|
import { DomHandler as f, ObjectUtils as d } from "./index180.js";
|
|
3
|
-
import v from "./
|
|
4
|
-
import S from "./
|
|
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 "./
|
|
3
|
-
import { parse as ct } from "./
|
|
4
|
-
import { getWeek as Ie } from "./
|
|
5
|
-
import dt from "./
|
|
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 "./
|
|
2
|
-
import O from "./
|
|
3
|
-
import V from "./
|
|
4
|
-
import R from "./
|
|
5
|
-
import j from "./
|
|
6
|
-
import K from "./
|
|
7
|
-
import H from "./
|
|
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 "./
|
|
10
|
-
import G from "./
|
|
11
|
-
import Y from "./
|
|
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 "./
|
|
2
|
-
import X from "./
|
|
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 "./
|
|
5
|
-
import Y from "./
|
|
6
|
-
import J from "./
|
|
7
|
-
import L from "./
|
|
8
|
-
import H from "./
|
|
9
|
-
import M from "./
|
|
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 "./
|
|
12
|
-
import te from "./
|
|
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 "./
|
|
2
|
-
import p from "./
|
|
3
|
-
import m from "./
|
|
4
|
-
import i from "./
|
|
5
|
-
import f from "./
|
|
6
|
-
import l from "./
|
|
7
|
-
import c from "./
|
|
8
|
-
import d from "./
|
|
9
|
-
import u from "./
|
|
10
|
-
import { VERSION as x } from "./
|
|
11
|
-
import C from "./
|
|
12
|
-
import A from "./
|
|
13
|
-
import E from "./
|
|
14
|
-
import O from "./
|
|
15
|
-
import S from "./
|
|
16
|
-
import H from "./
|
|
17
|
-
import T from "./
|
|
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 "./
|
|
3
|
-
import lt from "./
|
|
4
|
-
import at from "./
|
|
5
|
-
import ut from "./
|
|
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 "./
|
|
8
|
-
import F from "./
|
|
9
|
-
import ct from "./
|
|
10
|
-
import We from "./
|
|
11
|
-
import Ue from "./
|
|
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 "./
|
|
14
|
-
import pe from "./
|
|
15
|
-
import ht from "./
|
|
16
|
-
import pt from "./
|
|
17
|
-
import K from "./
|
|
18
|
-
import gt from "./
|
|
19
|
-
import Ze from "./
|
|
20
|
-
import yt from "./
|
|
21
|
-
import wt from "./
|
|
22
|
-
import vt from "./
|
|
23
|
-
import bt from "./
|
|
24
|
-
import Ct from "./
|
|
25
|
-
import Rt from "./
|
|
26
|
-
import St from "./
|
|
27
|
-
import Pt from "./
|
|
28
|
-
import Et from "./
|
|
29
|
-
import Re from "./
|
|
30
|
-
import Se from "./
|
|
31
|
-
import Pe from "./
|
|
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
package/dist/index203.js
CHANGED
package/dist/index204.js
CHANGED