@quoreadmin/ui 1.10.7 → 1.10.10
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/index138.js +139 -132
- package/dist/index183.js +3 -3
- 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/index216.js +2 -2
- package/dist/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index227.js +83 -156
- package/dist/index228.js +407 -20
- package/dist/index229.js +22 -20
- package/dist/index230.js +126 -21
- package/dist/index231.js +22 -183
- package/dist/index232.js +79 -69
- package/dist/index233.js +19 -87
- package/dist/index234.js +20 -407
- package/dist/index235.js +20 -34
- package/dist/index236.js +19 -39
- package/dist/index237.js +20 -22
- package/dist/index238.js +155 -121
- package/dist/index239.js +19 -37
- package/dist/index240.js +22 -80
- package/dist/index241.js +198 -19
- package/dist/index242.js +68 -18
- package/dist/index243.js +34 -20
- package/dist/index244.js +39 -19
- package/dist/index249.js +22 -3636
- package/dist/index250.js +22 -55
- package/dist/index251.js +20 -77
- package/dist/index252.js +823 -39
- package/dist/index253.js +685 -198
- package/dist/index254.js +175 -9
- package/dist/index255.js +22 -57
- package/dist/index256.js +20 -61
- package/dist/index257.js +20 -54
- package/dist/index258.js +3 -75
- package/dist/index259.js +170 -709
- package/dist/index260.js +128 -37
- package/dist/index261.js +1214 -55
- package/dist/index262.js +20 -11
- package/dist/index263.js +22 -705
- package/dist/index264.js +22 -820
- package/dist/index265.js +22 -15
- package/dist/index266.js +13 -15
- package/dist/index267.js +12 -12
- package/dist/index268.js +2 -836
- package/dist/index269.js +2 -702
- package/dist/index270.js +3630 -170
- package/dist/index271.js +55 -22
- package/dist/index272.js +77 -20
- package/dist/index273.js +52 -20
- package/dist/index274.js +215 -3
- package/dist/index275.js +10 -187
- package/dist/index276.js +52 -128
- package/dist/index277.js +52 -1214
- package/dist/index278.js +54 -20
- package/dist/index279.js +75 -22
- package/dist/index280.js +725 -21
- package/dist/index281.js +42 -29
- package/dist/index282.js +64 -20
- package/dist/index283.js +11 -20
- package/dist/index284.js +705 -2
- package/dist/index285.js +820 -2
- package/dist/index286.js +249 -50
- package/dist/index287.js +8 -79
- package/dist/index288.js +138 -26
- package/dist/index289.js +83 -22
- package/dist/index290.js +2 -22
- package/dist/index291.js +78 -15
- package/dist/index292.js +51 -14
- package/dist/index293.js +26 -253
- package/dist/index294.js +21 -7
- package/dist/index295.js +22 -138
- package/dist/index296.js +16 -83
- package/dist/index297.js +15 -21
- package/dist/index298.js +23 -2
- package/dist/index299.js +3 -262
- package/dist/index300.js +25 -4
- package/dist/index301.js +255 -133
- package/dist/index302.js +4 -71
- package/dist/index303.js +130 -77
- package/dist/index304.js +70 -26
- package/dist/index305.js +84 -13
- package/dist/index306.js +26 -72
- package/dist/index307.js +15 -3
- package/dist/index308.js +75 -2
- package/dist/index309.js +3 -82
- package/dist/index310.js +2 -53
- package/dist/index311.js +82 -5
- package/dist/index312.js +52 -4
- package/dist/index313.js +5 -178
- package/dist/index314.js +4 -62
- package/dist/index315.js +178 -74
- package/dist/index316.js +54 -1525
- package/dist/index317.js +74 -385
- package/dist/index318.js +79 -2731
- package/dist/index319.js +21 -85
- package/dist/index320.js +894 -3751
- package/dist/index321.js +21 -59
- package/dist/index322.js +20 -15
- package/dist/index323.js +19 -83
- package/dist/index324.js +61 -194
- package/dist/index325.js +19 -246
- package/dist/index326.js +19 -3
- package/dist/index327.js +21 -26
- package/dist/index328.js +21 -78
- package/dist/index329.js +63 -22
- package/dist/index330.js +1507 -908
- package/dist/index331.js +386 -22
- package/dist/index332.js +2731 -20
- package/dist/index333.js +85 -19
- package/dist/index334.js +3781 -58
- package/dist/index335.js +60 -19
- package/dist/index336.js +15 -19
- package/dist/index337.js +83 -21
- package/dist/index338.js +202 -22
- package/dist/index339.js +246 -63
- package/dist/index340.js +1 -1
- package/dist/index341.js +8 -18
- package/dist/index342.js +12 -56
- package/dist/index343.js +53 -27
- package/dist/index344.js +11 -6
- package/dist/index345.js +12 -50
- package/dist/index346.js +58 -7
- package/dist/index347.js +50 -10
- package/dist/index348.js +31 -7
- package/dist/index349.js +2 -28
- package/dist/index350.js +5 -2
- package/dist/index351.js +2 -70
- package/dist/index352.js +21 -165
- package/dist/index353.js +40 -9
- package/dist/index354.js +2 -10
- package/dist/index355.js +10 -13
- package/dist/index356.js +20 -10
- package/dist/index357.js +9 -16
- package/dist/index358.js +10 -9
- package/dist/index359.js +16 -12
- package/dist/index360.js +2 -55
- package/dist/index361.js +9 -12
- package/dist/index362.js +9 -13
- package/dist/index363.js +13 -57
- package/dist/index364.js +16 -49
- package/dist/index365.js +54 -28
- package/dist/index366.js +29 -2
- package/dist/index367.js +7 -5
- package/dist/index368.js +52 -2
- package/dist/index369.js +6 -22
- package/dist/index370.js +11 -40
- package/dist/index371.js +7 -2
- package/dist/index372.js +27 -10
- package/dist/index373.js +2 -20
- package/dist/index374.js +70 -2
- package/dist/index375.js +166 -8
- package/dist/index376.js +1 -1
- package/dist/index377.js +1 -1
- package/dist/index378.js +2 -2
- package/dist/index379.js +1 -1
- package/dist/index380.js +1 -1
- package/dist/index381.js +3 -3
- package/dist/index386.js +1 -1
- package/dist/index388.js +1 -1
- package/dist/index389.js +6 -6
- package/dist/index390.js +3 -3
- package/dist/index392.js +16 -100
- package/dist/index393.js +100 -90
- package/dist/index394.js +91 -98
- package/dist/index395.js +97 -16
- package/dist/index401.js +1 -1
- package/dist/index402.js +2 -2
- package/dist/index41.js +17 -12
- package/dist/index45.js +1 -1
- package/dist/index90.js +93 -59
- 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 +29 -13
- package/dist/src/components/grid/grid.stories.d.ts +20 -12
- 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 +30 -13
- 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/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/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 "./index238.js";
|
|
2
|
+
import O from "./index239.js";
|
|
3
|
+
import V from "./index233.js";
|
|
4
|
+
import R from "./index240.js";
|
|
5
|
+
import j from "./index241.js";
|
|
6
|
+
import K from "./index242.js";
|
|
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 "./index243.js";
|
|
11
|
+
import Y from "./index244.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 "./index230.js";
|
|
2
|
+
import X from "./index231.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 "./index232.js";
|
|
6
|
+
import J from "./index233.js";
|
|
7
|
+
import L from "./index227.js";
|
|
8
|
+
import H from "./index234.js";
|
|
9
|
+
import M from "./index235.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 "./index236.js";
|
|
12
|
+
import te from "./index237.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 "./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";
|
|
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 "./index236.js";
|
|
11
|
+
import Ue from "./index235.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 "./index233.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 "./index238.js";
|
|
22
|
+
import vt from "./index261.js";
|
|
23
|
+
import bt from "./index230.js";
|
|
24
|
+
import Ct from "./index262.js";
|
|
25
|
+
import Rt from "./index263.js";
|
|
26
|
+
import St from "./index239.js";
|
|
27
|
+
import Pt from "./index264.js";
|
|
28
|
+
import Et from "./index231.js";
|
|
29
|
+
import Re from "./index265.js";
|
|
30
|
+
import Se from "./index266.js";
|
|
31
|
+
import Pe from "./index267.js";
|
|
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
package/dist/index206.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Editor as p } from "./
|
|
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 "./
|
|
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";
|
|
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 "./
|
|
2
|
-
import { Blockquote as n } from "./
|
|
3
|
-
import { Bold as p } from "./
|
|
4
|
-
import { Code as f } from "./
|
|
5
|
-
import { CodeBlock as h } from "./
|
|
6
|
-
import { Document as u } from "./
|
|
7
|
-
import { HardBreak as l } from "./
|
|
8
|
-
import { Heading as a } from "./
|
|
9
|
-
import { HorizontalRule as c } from "./
|
|
10
|
-
import { Italic as d } from "./
|
|
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";
|
|
11
11
|
import { Link as m } from "./index211.js";
|
|
12
|
-
import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./
|
|
13
|
-
import { Paragraph as x } from "./
|
|
14
|
-
import { Strike as b } from "./
|
|
15
|
-
import { Text as v } from "./
|
|
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";
|
|
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