@quoreadmin/ui 1.3.38 → 1.3.39
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.js +304 -300
- package/dist/index.umd.cjs +20 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1423,8 +1423,8 @@ let kA = mA.RenderStrategy, m_ = Oe({ props: { as: { type: [Object, String], def
|
|
|
1423
1423
|
!S.value && g.value !== "hidden" && (g.value = "hidden", y(b), u());
|
|
1424
1424
|
});
|
|
1425
1425
|
Et(() => {
|
|
1426
|
-
let
|
|
1427
|
-
Gr(
|
|
1426
|
+
let te = m(b);
|
|
1427
|
+
Gr(te);
|
|
1428
1428
|
}), Ln(() => {
|
|
1429
1429
|
if (d.value === W0.Hidden && b) {
|
|
1430
1430
|
if (f.value && g.value !== "visible") {
|
|
@@ -1438,25 +1438,25 @@ let kA = mA.RenderStrategy, m_ = Oe({ props: { as: { type: [Object, String], def
|
|
|
1438
1438
|
Et(() => {
|
|
1439
1439
|
Ln(() => {
|
|
1440
1440
|
if (g.value === "visible") {
|
|
1441
|
-
let
|
|
1442
|
-
if (
|
|
1441
|
+
let te = Nb(c);
|
|
1442
|
+
if (te instanceof Comment && te.data === "") throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
|
|
1443
1443
|
}
|
|
1444
1444
|
});
|
|
1445
1445
|
});
|
|
1446
|
-
function U(
|
|
1446
|
+
function U(te) {
|
|
1447
1447
|
let K = v.value && !h.value, ie = Nb(c);
|
|
1448
|
-
!ie || !(ie instanceof HTMLElement) || K || (S.value = !0, f.value && o(), f.value || l(),
|
|
1449
|
-
S.value = !1,
|
|
1450
|
-
}) : Lb(ie, I, $, F, N, (
|
|
1451
|
-
S.value = !1,
|
|
1448
|
+
!ie || !(ie instanceof HTMLElement) || K || (S.value = !0, f.value && o(), f.value || l(), te(f.value ? Lb(ie, E, M, T, N, (ne) => {
|
|
1449
|
+
S.value = !1, ne === i7.Finished && a();
|
|
1450
|
+
}) : Lb(ie, I, $, F, N, (ne) => {
|
|
1451
|
+
S.value = !1, ne === i7.Finished && (x5(C) || (g.value = "hidden", y(b), u()));
|
|
1452
1452
|
})));
|
|
1453
1453
|
}
|
|
1454
1454
|
return Et(() => {
|
|
1455
|
-
nt([f], (
|
|
1455
|
+
nt([f], (te, K, ie) => {
|
|
1456
1456
|
U(ie), v.value = !1;
|
|
1457
1457
|
}, { immediate: !0 });
|
|
1458
1458
|
}), Va(s9, C), a_(G(() => nf(g.value, { visible: sa.Open, hidden: sa.Closed }) | s.value)), () => {
|
|
1459
|
-
let { appear:
|
|
1459
|
+
let { appear: te, show: K, enter: ie, enterFrom: ne, enterTo: Z, entered: ce, leave: Y, leaveFrom: ae, leaveTo: de, ...he } = t, V = { ref: c }, q = { ...he, ...h.value && f.value && i_.isServer ? { class: B([n.class, he.class, ...E, ...M]) } : {} };
|
|
1460
1460
|
return gA({ theirProps: q, ourProps: V, slot: {}, slots: r, attrs: n, features: kA, visible: g.value === "visible", name: "TransitionChild" });
|
|
1461
1461
|
};
|
|
1462
1462
|
} }), g_ = m_, MA = Oe({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(t, { emit: e, attrs: n, slots: r }) {
|
|
@@ -1931,12 +1931,12 @@ function q3(t, e = {}) {
|
|
|
1931
1931
|
return;
|
|
1932
1932
|
const I = ((N = T == null ? void 0 : T.document) == null ? void 0 : N.documentElement) || (T == null ? void 0 : T.documentElement) || Fr(T), { display: $, flexDirection: F } = getComputedStyle(I), U = I.scrollLeft;
|
|
1933
1933
|
b.left = U < d.value, b.right = U > d.value;
|
|
1934
|
-
const
|
|
1935
|
-
$ === "flex" && F === "row-reverse" ? (v.left = K, v.right =
|
|
1934
|
+
const te = Math.abs(U) <= (o.left || 0), K = Math.abs(U) + I.clientWidth >= I.scrollWidth - (o.right || 0) - _b;
|
|
1935
|
+
$ === "flex" && F === "row-reverse" ? (v.left = K, v.right = te) : (v.left = te, v.right = K), d.value = U;
|
|
1936
1936
|
let ie = I.scrollTop;
|
|
1937
1937
|
T === u.document && !ie && (ie = u.document.body.scrollTop), b.top = ie < f.value, b.bottom = ie > f.value;
|
|
1938
|
-
const
|
|
1939
|
-
$ === "flex" && F === "column-reverse" ? (v.top = Z, v.bottom =
|
|
1938
|
+
const ne = Math.abs(ie) <= (o.top || 0), Z = Math.abs(ie) + I.clientHeight >= I.scrollHeight - (o.bottom || 0) - _b;
|
|
1939
|
+
$ === "flex" && F === "column-reverse" ? (v.top = Z, v.bottom = ne) : (v.top = ne, v.bottom = Z), f.value = ie;
|
|
1940
1940
|
}, M = (T) => {
|
|
1941
1941
|
var N;
|
|
1942
1942
|
if (!u)
|
|
@@ -2529,10 +2529,10 @@ function nT(t) {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
m == null || m(C), E && (b === 0 && (S ?? (S = o)), b < a ? R$(o, S, u, M) && $() : F());
|
|
2531
2531
|
}
|
|
2532
|
-
function
|
|
2532
|
+
function te() {
|
|
2533
2533
|
c == null || c(), v = s(U), v.start();
|
|
2534
2534
|
}
|
|
2535
|
-
return i &&
|
|
2535
|
+
return i && te(), {
|
|
2536
2536
|
stop: () => {
|
|
2537
2537
|
d == null || d(), v.stop();
|
|
2538
2538
|
}
|
|
@@ -5337,14 +5337,14 @@ function vT(t) {
|
|
|
5337
5337
|
}, T = function($) {
|
|
5338
5338
|
var F = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
5339
5339
|
if (a) {
|
|
5340
|
-
var U = rw(rw({}, E), F),
|
|
5341
|
-
i.value = a.querySelector('style[data-primevue-style-id="'.concat(
|
|
5340
|
+
var U = rw(rw({}, E), F), te = U.name || h, K = U.id || y, ie = U.nonce || S;
|
|
5341
|
+
i.value = a.querySelector('style[data-primevue-style-id="'.concat(te, '"]')) || a.getElementById(K) || a.createElement("style"), i.value.isConnected || (r.value = $ || t, z.setAttributes(i.value, {
|
|
5342
5342
|
type: "text/css",
|
|
5343
5343
|
id: K,
|
|
5344
5344
|
media: v,
|
|
5345
5345
|
nonce: ie
|
|
5346
|
-
}), a.head.appendChild(i.value), z.setAttribute(i.value, "data-primevue-style-id", h), z.setAttributes(i.value, U)), !n.value && (M = nt(r, function(
|
|
5347
|
-
i.value.textContent =
|
|
5346
|
+
}), a.head.appendChild(i.value), z.setAttribute(i.value, "data-primevue-style-id", h), z.setAttributes(i.value, U)), !n.value && (M = nt(r, function(ne) {
|
|
5347
|
+
i.value.textContent = ne;
|
|
5348
5348
|
}, {
|
|
5349
5349
|
immediate: !0
|
|
5350
5350
|
}), n.value = !0);
|
|
@@ -12977,14 +12977,14 @@ function eC(t, ...e) {
|
|
|
12977
12977
|
const I = DU(t, b, S, u), $ = oU(I), F = EU(t, N, $);
|
|
12978
12978
|
let U = r ? r(F, l) : F;
|
|
12979
12979
|
if (f && $e(U) && (U = kz(U)), process.env.NODE_ENV !== "production" || __INTLIFY_PROD_DEVTOOLS__) {
|
|
12980
|
-
const
|
|
12980
|
+
const te = {
|
|
12981
12981
|
timestamp: Date.now(),
|
|
12982
12982
|
key: $e(l) ? l : ds(C) ? C.key : "",
|
|
12983
12983
|
locale: b || (ds(C) ? C.locale : ""),
|
|
12984
12984
|
format: $e(C) ? C : ds(C) ? C.source : "",
|
|
12985
12985
|
message: U
|
|
12986
12986
|
};
|
|
12987
|
-
|
|
12987
|
+
te.meta = kr({}, t.__meta, /* @__PURE__ */ SU() || {}), uU(te);
|
|
12988
12988
|
}
|
|
12989
12989
|
return U;
|
|
12990
12990
|
}
|
|
@@ -13555,12 +13555,12 @@ function VU(t = {}, e) {
|
|
|
13555
13555
|
set: (ue) => {
|
|
13556
13556
|
u.value = ue, I.locale = u.value;
|
|
13557
13557
|
}
|
|
13558
|
-
}),
|
|
13558
|
+
}), te = G({
|
|
13559
13559
|
get: () => c.value,
|
|
13560
13560
|
set: (ue) => {
|
|
13561
13561
|
c.value = ue, I.fallbackLocale = c.value, X1(I, u.value, ue);
|
|
13562
13562
|
}
|
|
13563
|
-
}), K = G(() => d.value), ie = /* @__PURE__ */ G(() => f.value),
|
|
13563
|
+
}), K = G(() => d.value), ie = /* @__PURE__ */ G(() => f.value), ne = /* @__PURE__ */ G(() => h.value);
|
|
13564
13564
|
function Z() {
|
|
13565
13565
|
return nn(C) ? C : null;
|
|
13566
13566
|
}
|
|
@@ -13615,7 +13615,7 @@ function VU(t = {}, e) {
|
|
|
13615
13615
|
throw gf(bn.INVALID_ARGUMENT);
|
|
13616
13616
|
return V(ge, dt, kr({ resolvedMessage: !0 }, Nt || {}));
|
|
13617
13617
|
}
|
|
13618
|
-
function
|
|
13618
|
+
function re(...ue) {
|
|
13619
13619
|
return he((ge) => Reflect.apply(nC, null, [ge, ...ue]), () => E7(...ue), "datetime format", (ge) => Reflect.apply(ge.d, ge, [...ue]), () => tg, (ge) => $e(ge));
|
|
13620
13620
|
}
|
|
13621
13621
|
function ee(...ue) {
|
|
@@ -13744,7 +13744,7 @@ function VU(t = {}, e) {
|
|
|
13744
13744
|
const wt = {
|
|
13745
13745
|
id: uC,
|
|
13746
13746
|
locale: U,
|
|
13747
|
-
fallbackLocale:
|
|
13747
|
+
fallbackLocale: te,
|
|
13748
13748
|
get inheritLocale() {
|
|
13749
13749
|
return l;
|
|
13750
13750
|
},
|
|
@@ -13810,7 +13810,7 @@ function VU(t = {}, e) {
|
|
|
13810
13810
|
setMissingHandler: ae,
|
|
13811
13811
|
[RU]: Ve
|
|
13812
13812
|
};
|
|
13813
|
-
return wt.datetimeFormats = ie, wt.numberFormats =
|
|
13813
|
+
return wt.datetimeFormats = ie, wt.numberFormats = ne, wt.rt = q, wt.te = ct, wt.tm = qt, wt.d = re, wt.n = ee, wt.getDateTimeFormat = Xt, wt.setDateTimeFormat = fn, wt.mergeDateTimeFormat = Ki, wt.getNumberFormat = Qr, wt.setNumberFormat = Tr, wt.mergeNumberFormat = Ci, wt[_U] = r, wt[O7] = Me, wt[D7] = De, wt[x7] = We, process.env.NODE_ENV !== "production" && (wt[N7] = (ue) => {
|
|
13814
13814
|
I.__v_emitter = ue;
|
|
13815
13815
|
}, wt[P7] = () => {
|
|
13816
13816
|
I.__v_emitter = void 0;
|
|
@@ -15757,31 +15757,31 @@ var fq = { 9306: (t, e, n) => {
|
|
|
15757
15757
|
return M;
|
|
15758
15758
|
if ($ >= F && (!N || U)) I = v(M, 0, F);
|
|
15759
15759
|
else {
|
|
15760
|
-
var
|
|
15761
|
-
I = new f(F,
|
|
15762
|
-
for (var K = new h(M), ie = new h(I),
|
|
15760
|
+
var te = N && !U && S ? { maxByteLength: S(M) } : void 0;
|
|
15761
|
+
I = new f(F, te);
|
|
15762
|
+
for (var K = new h(M), ie = new h(I), ne = m(F, $), Z = 0; Z < ne; Z++) E(ie, Z, C(K, Z));
|
|
15763
15763
|
}
|
|
15764
15764
|
return c || u(M), I;
|
|
15765
15765
|
};
|
|
15766
15766
|
}, 4644: (t, e, n) => {
|
|
15767
|
-
var r, i, s, o = n(7811), a = n(3724), l = n(4576), u = n(4901), c = n(34), d = n(9297), f = n(6955), h = n(6823), m = n(6699), y = n(6840), g = n(2106), v = n(1625), b = n(2787), S = n(2967), C = n(8227), E = n(3392), M = n(1181), T = M.enforce, N = M.get, I = l.Int8Array, $ = I && I.prototype, F = l.Uint8ClampedArray, U = F && F.prototype,
|
|
15767
|
+
var r, i, s, o = n(7811), a = n(3724), l = n(4576), u = n(4901), c = n(34), d = n(9297), f = n(6955), h = n(6823), m = n(6699), y = n(6840), g = n(2106), v = n(1625), b = n(2787), S = n(2967), C = n(8227), E = n(3392), M = n(1181), T = M.enforce, N = M.get, I = l.Int8Array, $ = I && I.prototype, F = l.Uint8ClampedArray, U = F && F.prototype, te = I && b(I), K = $ && b($), ie = Object.prototype, ne = l.TypeError, Z = C("toStringTag"), ce = E("TYPED_ARRAY_TAG"), Y = "TypedArrayConstructor", ae = o && !!S && f(l.opera) !== "Opera", de = !1, he = { Int8Array: 1, Uint8Array: 1, Uint8ClampedArray: 1, Int16Array: 2, Uint16Array: 2, Int32Array: 4, Uint32Array: 4, Float32Array: 4, Float64Array: 8 }, V = { BigInt64Array: 8, BigUint64Array: 8 }, q = function(ee) {
|
|
15768
15768
|
var pe = b(ee);
|
|
15769
15769
|
if (c(pe)) {
|
|
15770
15770
|
var Se = N(pe);
|
|
15771
15771
|
return Se && d(Se, Y) ? Se[Y] : q(pe);
|
|
15772
15772
|
}
|
|
15773
|
-
},
|
|
15773
|
+
}, re = function(ee) {
|
|
15774
15774
|
if (!c(ee)) return !1;
|
|
15775
15775
|
var pe = f(ee);
|
|
15776
15776
|
return d(he, pe) || d(V, pe);
|
|
15777
15777
|
};
|
|
15778
15778
|
for (r in he) (s = (i = l[r]) && i.prototype) ? T(s)[Y] = i : ae = !1;
|
|
15779
15779
|
for (r in V) (s = (i = l[r]) && i.prototype) && (T(s)[Y] = i);
|
|
15780
|
-
if ((!ae || !u(
|
|
15781
|
-
throw new
|
|
15780
|
+
if ((!ae || !u(te) || te === Function.prototype) && (te = function() {
|
|
15781
|
+
throw new ne("Incorrect invocation");
|
|
15782
15782
|
}, ae))
|
|
15783
|
-
for (r in he) l[r] && S(l[r],
|
|
15784
|
-
if ((!ae || !K || K === ie) && (K =
|
|
15783
|
+
for (r in he) l[r] && S(l[r], te);
|
|
15784
|
+
if ((!ae || !K || K === ie) && (K = te.prototype, ae))
|
|
15785
15785
|
for (r in he) l[r] && S(l[r].prototype, K);
|
|
15786
15786
|
if (ae && b(U) !== K && S(U, K), a && !d(K, Z)) {
|
|
15787
15787
|
de = !0, g(K, Z, { configurable: !0, get: function() {
|
|
@@ -15790,11 +15790,11 @@ var fq = { 9306: (t, e, n) => {
|
|
|
15790
15790
|
for (r in he) l[r] && m(l[r], ce, r);
|
|
15791
15791
|
}
|
|
15792
15792
|
t.exports = { NATIVE_ARRAY_BUFFER_VIEWS: ae, TYPED_ARRAY_TAG: de && ce, aTypedArray: function(ee) {
|
|
15793
|
-
if (
|
|
15794
|
-
throw new
|
|
15793
|
+
if (re(ee)) return ee;
|
|
15794
|
+
throw new ne("Target is not a typed array");
|
|
15795
15795
|
}, aTypedArrayConstructor: function(ee) {
|
|
15796
|
-
if (u(ee) && (!S || v(
|
|
15797
|
-
throw new
|
|
15796
|
+
if (u(ee) && (!S || v(te, ee))) return ee;
|
|
15797
|
+
throw new ne(h(ee) + " is not a typed array constructor");
|
|
15798
15798
|
}, exportTypedArrayMethod: function(ee, pe, Se, Te) {
|
|
15799
15799
|
if (a) {
|
|
15800
15800
|
if (Se) for (var Me in he) {
|
|
@@ -15820,9 +15820,9 @@ var fq = { 9306: (t, e, n) => {
|
|
|
15820
15820
|
} catch {
|
|
15821
15821
|
}
|
|
15822
15822
|
}
|
|
15823
|
-
if (
|
|
15823
|
+
if (te[ee] && !Se) return;
|
|
15824
15824
|
try {
|
|
15825
|
-
return y(
|
|
15825
|
+
return y(te, ee, Se ? pe : ae && te[ee] || pe);
|
|
15826
15826
|
} catch {
|
|
15827
15827
|
}
|
|
15828
15828
|
}
|
|
@@ -15832,7 +15832,7 @@ var fq = { 9306: (t, e, n) => {
|
|
|
15832
15832
|
if (!c(pe)) return !1;
|
|
15833
15833
|
var Se = f(pe);
|
|
15834
15834
|
return Se === "DataView" || d(he, Se) || d(V, Se);
|
|
15835
|
-
}, isTypedArray:
|
|
15835
|
+
}, isTypedArray: re, TypedArray: te, TypedArrayPrototype: K };
|
|
15836
15836
|
}, 5370: (t, e, n) => {
|
|
15837
15837
|
var r = n(6198);
|
|
15838
15838
|
t.exports = function(i, s, o) {
|
|
@@ -16308,13 +16308,13 @@ var fq = { 9306: (t, e, n) => {
|
|
|
16308
16308
|
this.stopped = g, this.result = v;
|
|
16309
16309
|
}, y = m.prototype;
|
|
16310
16310
|
t.exports = function(g, v, b) {
|
|
16311
|
-
var S, C, E, M, T, N, I, $ = b && b.that, F = !(!b || !b.AS_ENTRIES), U = !(!b || !b.IS_RECORD),
|
|
16311
|
+
var S, C, E, M, T, N, I, $ = b && b.that, F = !(!b || !b.AS_ENTRIES), U = !(!b || !b.IS_RECORD), te = !(!b || !b.IS_ITERATOR), K = !(!b || !b.INTERRUPTED), ie = r(v, $), ne = function(ce) {
|
|
16312
16312
|
return S && f(S, "normal", ce), new m(!0, ce);
|
|
16313
16313
|
}, Z = function(ce) {
|
|
16314
|
-
return F ? (s(ce), K ? ie(ce[0], ce[1],
|
|
16314
|
+
return F ? (s(ce), K ? ie(ce[0], ce[1], ne) : ie(ce[0], ce[1])) : K ? ie(ce, ne) : ie(ce);
|
|
16315
16315
|
};
|
|
16316
16316
|
if (U) S = g.iterator;
|
|
16317
|
-
else if (
|
|
16317
|
+
else if (te) S = g;
|
|
16318
16318
|
else {
|
|
16319
16319
|
if (!(C = d(g))) throw new h(o(g) + " is not iterable");
|
|
16320
16320
|
if (a(C)) {
|
|
@@ -17049,61 +17049,61 @@ var fq = { 9306: (t, e, n) => {
|
|
|
17049
17049
|
}, 7550: (t, e, n) => {
|
|
17050
17050
|
n(3579);
|
|
17051
17051
|
}, 8335: (t, e, n) => {
|
|
17052
|
-
var r = n(6518), i = n(3724), s = n(4576), o = n(7751), a = n(9504), l = n(9565), u = n(4901), c = n(34), d = n(4376), f = n(9297), h = n(655), m = n(6198), y = n(4659), g = n(9039), v = n(8235), b = n(4495), S = s.JSON, C = s.Number, E = s.SyntaxError, M = S && S.parse, T = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, I = a("".charAt), $ = a("".slice), F = a(/./.exec), U = a([].push),
|
|
17052
|
+
var r = n(6518), i = n(3724), s = n(4576), o = n(7751), a = n(9504), l = n(9565), u = n(4901), c = n(34), d = n(4376), f = n(9297), h = n(655), m = n(6198), y = n(4659), g = n(9039), v = n(8235), b = n(4495), S = s.JSON, C = s.Number, E = s.SyntaxError, M = S && S.parse, T = o("Object", "keys"), N = Object.getOwnPropertyDescriptor, I = a("".charAt), $ = a("".slice), F = a(/./.exec), U = a([].push), te = /^\d$/, K = /^[1-9]$/, ie = /^[\d-]$/, ne = /^[\t\n\r ]$/, Z = function(V, q, re, ee) {
|
|
17053
17053
|
var pe, Se, Te, Me, We, De = V[q], Ve = ee && De === ee.value, ct = Ve && typeof ee.source == "string" ? { source: ee.source } : {};
|
|
17054
17054
|
if (c(De)) {
|
|
17055
17055
|
var Ot = d(De), qt = Ve ? ee.nodes : Ot ? [] : {};
|
|
17056
17056
|
if (Ot)
|
|
17057
|
-
for (pe = qt.length, Te = m(De), Me = 0; Me < Te; Me++) ce(De, Me, Z(De, "" + Me,
|
|
17057
|
+
for (pe = qt.length, Te = m(De), Me = 0; Me < Te; Me++) ce(De, Me, Z(De, "" + Me, re, Me < pe ? qt[Me] : void 0));
|
|
17058
17058
|
else
|
|
17059
17059
|
for (Se = T(De), Te = m(Se), Me = 0; Me < Te; Me++)
|
|
17060
|
-
We = Se[Me], ce(De, We, Z(De, We,
|
|
17060
|
+
We = Se[Me], ce(De, We, Z(De, We, re, f(qt, We) ? qt[We] : void 0));
|
|
17061
17061
|
}
|
|
17062
|
-
return l(
|
|
17063
|
-
}, ce = function(V, q,
|
|
17062
|
+
return l(re, V, q, De, ct);
|
|
17063
|
+
}, ce = function(V, q, re) {
|
|
17064
17064
|
if (i) {
|
|
17065
17065
|
var ee = N(V, q);
|
|
17066
17066
|
if (ee && !ee.configurable) return;
|
|
17067
17067
|
}
|
|
17068
|
-
|
|
17069
|
-
}, Y = function(V, q,
|
|
17070
|
-
this.value = V, this.end = q, this.source =
|
|
17068
|
+
re === void 0 ? delete V[q] : y(V, q, re);
|
|
17069
|
+
}, Y = function(V, q, re, ee) {
|
|
17070
|
+
this.value = V, this.end = q, this.source = re, this.nodes = ee;
|
|
17071
17071
|
}, ae = function(V, q) {
|
|
17072
17072
|
this.source = V, this.index = q;
|
|
17073
17073
|
};
|
|
17074
17074
|
ae.prototype = { fork: function(V) {
|
|
17075
17075
|
return new ae(this.source, V);
|
|
17076
17076
|
}, parse: function() {
|
|
17077
|
-
var V = this.source, q = this.skip(
|
|
17078
|
-
if (F(ie, ee)) return
|
|
17077
|
+
var V = this.source, q = this.skip(ne, this.index), re = this.fork(q), ee = I(V, q);
|
|
17078
|
+
if (F(ie, ee)) return re.number();
|
|
17079
17079
|
switch (ee) {
|
|
17080
17080
|
case "{":
|
|
17081
|
-
return
|
|
17081
|
+
return re.object();
|
|
17082
17082
|
case "[":
|
|
17083
|
-
return
|
|
17083
|
+
return re.array();
|
|
17084
17084
|
case '"':
|
|
17085
|
-
return
|
|
17085
|
+
return re.string();
|
|
17086
17086
|
case "t":
|
|
17087
|
-
return
|
|
17087
|
+
return re.keyword(!0);
|
|
17088
17088
|
case "f":
|
|
17089
|
-
return
|
|
17089
|
+
return re.keyword(!1);
|
|
17090
17090
|
case "n":
|
|
17091
|
-
return
|
|
17091
|
+
return re.keyword(null);
|
|
17092
17092
|
}
|
|
17093
17093
|
throw new E('Unexpected character: "' + ee + '" at: ' + q);
|
|
17094
|
-
}, node: function(V, q,
|
|
17095
|
-
return new Y(q, ee, V ? null : $(this.source,
|
|
17094
|
+
}, node: function(V, q, re, ee, pe) {
|
|
17095
|
+
return new Y(q, ee, V ? null : $(this.source, re, ee), pe);
|
|
17096
17096
|
}, object: function() {
|
|
17097
|
-
for (var V = this.source, q = this.index + 1,
|
|
17098
|
-
if (q = this.until(['"', "}"], q), I(V, q) === "}" && !
|
|
17097
|
+
for (var V = this.source, q = this.index + 1, re = !1, ee = {}, pe = {}; q < V.length; ) {
|
|
17098
|
+
if (q = this.until(['"', "}"], q), I(V, q) === "}" && !re) {
|
|
17099
17099
|
q++;
|
|
17100
17100
|
break;
|
|
17101
17101
|
}
|
|
17102
17102
|
var Se = this.fork(q).string(), Te = Se.value;
|
|
17103
|
-
q = Se.end, q = this.until([":"], q) + 1, q = this.skip(
|
|
17103
|
+
q = Se.end, q = this.until([":"], q) + 1, q = this.skip(ne, q), Se = this.fork(q).parse(), y(pe, Te, Se), y(ee, Te, Se.value), q = this.until([",", "}"], Se.end);
|
|
17104
17104
|
var Me = I(V, q);
|
|
17105
17105
|
if (Me === ",")
|
|
17106
|
-
|
|
17106
|
+
re = !0, q++;
|
|
17107
17107
|
else if (Me === "}") {
|
|
17108
17108
|
q++;
|
|
17109
17109
|
break;
|
|
@@ -17111,14 +17111,14 @@ var fq = { 9306: (t, e, n) => {
|
|
|
17111
17111
|
}
|
|
17112
17112
|
return this.node(1, ee, this.index, q, pe);
|
|
17113
17113
|
}, array: function() {
|
|
17114
|
-
for (var V = this.source, q = this.index + 1,
|
|
17115
|
-
if (q = this.skip(
|
|
17114
|
+
for (var V = this.source, q = this.index + 1, re = !1, ee = [], pe = []; q < V.length; ) {
|
|
17115
|
+
if (q = this.skip(ne, q), I(V, q) === "]" && !re) {
|
|
17116
17116
|
q++;
|
|
17117
17117
|
break;
|
|
17118
17118
|
}
|
|
17119
17119
|
var Se = this.fork(q).parse();
|
|
17120
17120
|
if (U(pe, Se), U(ee, Se.value), q = this.until([",", "]"], Se.end), I(V, q) === ",")
|
|
17121
|
-
|
|
17121
|
+
re = !0, q++;
|
|
17122
17122
|
else if (I(V, q) === "]") {
|
|
17123
17123
|
q++;
|
|
17124
17124
|
break;
|
|
@@ -17129,49 +17129,49 @@ var fq = { 9306: (t, e, n) => {
|
|
|
17129
17129
|
var V = this.index, q = v(this.source, this.index + 1);
|
|
17130
17130
|
return this.node(0, q.value, V, q.end);
|
|
17131
17131
|
}, number: function() {
|
|
17132
|
-
var V = this.source, q = this.index,
|
|
17133
|
-
if (I(V,
|
|
17132
|
+
var V = this.source, q = this.index, re = q;
|
|
17133
|
+
if (I(V, re) === "-" && re++, I(V, re) === "0") re++;
|
|
17134
17134
|
else {
|
|
17135
|
-
if (!F(K, I(V,
|
|
17136
|
-
|
|
17135
|
+
if (!F(K, I(V, re))) throw new E("Failed to parse number at: " + re);
|
|
17136
|
+
re = this.skip(te, re + 1);
|
|
17137
17137
|
}
|
|
17138
|
-
if (I(V,
|
|
17139
|
-
throw new E("Failed to parse number's exponent value at: " +
|
|
17140
|
-
return this.node(0, C($(V, q,
|
|
17138
|
+
if (I(V, re) === "." && (re = this.skip(te, re + 1)), (I(V, re) === "e" || I(V, re) === "E") && (re++, I(V, re) !== "+" && I(V, re) !== "-" || re++, re === (re = this.skip(te, re))))
|
|
17139
|
+
throw new E("Failed to parse number's exponent value at: " + re);
|
|
17140
|
+
return this.node(0, C($(V, q, re)), q, re);
|
|
17141
17141
|
}, keyword: function(V) {
|
|
17142
|
-
var q = "" + V,
|
|
17143
|
-
if ($(this.source,
|
|
17144
|
-
return this.node(0, V,
|
|
17142
|
+
var q = "" + V, re = this.index, ee = re + q.length;
|
|
17143
|
+
if ($(this.source, re, ee) !== q) throw new E("Failed to parse value at: " + re);
|
|
17144
|
+
return this.node(0, V, re, ee);
|
|
17145
17145
|
}, skip: function(V, q) {
|
|
17146
|
-
for (var
|
|
17146
|
+
for (var re = this.source; q < re.length && F(V, I(re, q)); q++) ;
|
|
17147
17147
|
return q;
|
|
17148
17148
|
}, until: function(V, q) {
|
|
17149
|
-
q = this.skip(
|
|
17150
|
-
for (var
|
|
17151
|
-
throw new E('Unexpected character: "' +
|
|
17149
|
+
q = this.skip(ne, q);
|
|
17150
|
+
for (var re = I(this.source, q), ee = 0; ee < V.length; ee++) if (V[ee] === re) return q;
|
|
17151
|
+
throw new E('Unexpected character: "' + re + '" at: ' + q);
|
|
17152
17152
|
} };
|
|
17153
17153
|
var de = g(function() {
|
|
17154
17154
|
var V, q = "9007199254740993";
|
|
17155
|
-
return M(q, function(
|
|
17155
|
+
return M(q, function(re, ee, pe) {
|
|
17156
17156
|
V = pe.source;
|
|
17157
17157
|
}), V !== q;
|
|
17158
17158
|
}), he = b && !g(function() {
|
|
17159
17159
|
return 1 / M("-0 ") != -1 / 0;
|
|
17160
17160
|
});
|
|
17161
|
-
r({ target: "JSON", stat: !0, forced: de }, { parse: function(q,
|
|
17162
|
-
return he && !u(
|
|
17161
|
+
r({ target: "JSON", stat: !0, forced: de }, { parse: function(q, re) {
|
|
17162
|
+
return he && !u(re) ? M(q) : function(ee, pe) {
|
|
17163
17163
|
ee = h(ee);
|
|
17164
|
-
var Se = new ae(ee, 0), Te = Se.parse(), Me = Te.value, We = Se.skip(
|
|
17164
|
+
var Se = new ae(ee, 0), Te = Se.parse(), Me = Te.value, We = Se.skip(ne, Te.end);
|
|
17165
17165
|
if (We < ee.length) throw new E('Unexpected extra character: "' + I(ee, We) + '" after the parsed data at: ' + We);
|
|
17166
17166
|
return u(pe) ? Z({ "": Me }, "", pe, Te) : Me;
|
|
17167
|
-
}(q,
|
|
17167
|
+
}(q, re);
|
|
17168
17168
|
} });
|
|
17169
17169
|
}, 5247: (t, e, n) => {
|
|
17170
17170
|
n(1689);
|
|
17171
17171
|
}, 4979: (t, e, n) => {
|
|
17172
17172
|
var r = n(6518), i = n(4576), s = n(7751), o = n(6980), a = n(4913).f, l = n(9297), u = n(679), c = n(3167), d = n(2603), f = n(5002), h = n(8574), m = n(3724), y = n(6395), g = "DOMException", v = s("Error"), b = s(g), S = function() {
|
|
17173
17173
|
u(this, C);
|
|
17174
|
-
var
|
|
17174
|
+
var ne = arguments.length, Z = d(ne < 1 ? void 0 : arguments[0]), ce = d(ne < 2 ? void 0 : arguments[1], "Error"), Y = new b(Z, ce), ae = new v(Z);
|
|
17175
17175
|
return ae.name = g, a(Y, "stack", o(1, h(ae.stack, 1))), c(Y, this, S), Y;
|
|
17176
17176
|
}, C = S.prototype = b.prototype, E = "stack" in new v(g), M = "stack" in new b(1, 2), T = b && m && Object.getOwnPropertyDescriptor(i, g), N = !(!T || T.writable && T.configurable), I = E && !N && !M;
|
|
17177
17177
|
r({ global: !0, constructor: !0, forced: y || I }, { DOMException: I ? S : b });
|
|
@@ -17179,8 +17179,8 @@ var fq = { 9306: (t, e, n) => {
|
|
|
17179
17179
|
if (F.constructor !== $) {
|
|
17180
17180
|
y || a(F, "constructor", o(1, $));
|
|
17181
17181
|
for (var U in f) if (l(f, U)) {
|
|
17182
|
-
var
|
|
17183
|
-
l($, K) || a($, K, o(6,
|
|
17182
|
+
var te = f[U], K = te.s;
|
|
17183
|
+
l($, K) || a($, K, o(6, te.c));
|
|
17184
17184
|
}
|
|
17185
17185
|
}
|
|
17186
17186
|
}, 4603: (t, e, n) => {
|
|
@@ -19429,10 +19429,10 @@ f2 = new WeakMap(), Rs = new WeakMap(), Ut = new WeakMap(), Mc = new WeakMap(),
|
|
|
19429
19429
|
const Z = Math.hypot(a, l);
|
|
19430
19430
|
I = $ = Math.max(Math.min(Math.hypot(S[0] - b[0] - T, S[1] - b[1] - N) / Z, 1 / a, 1 / l), u / a, c / l);
|
|
19431
19431
|
} else v ? I = Math.max(u, Math.min(1, Math.abs(S[0] - b[0] - T))) / a : $ = Math.max(c, Math.min(1, Math.abs(S[1] - b[1] - N))) / l;
|
|
19432
|
-
const
|
|
19433
|
-
C = f(...y(
|
|
19434
|
-
const ie = E - C[0],
|
|
19435
|
-
p(this, Ti) || A(this, Ti, [this.x, this.y, this.width, this.height]), this.width =
|
|
19432
|
+
const te = it._round(a * I), K = it._round(l * $);
|
|
19433
|
+
C = f(...y(te, K));
|
|
19434
|
+
const ie = E - C[0], ne = M - C[1];
|
|
19435
|
+
p(this, Ti) || A(this, Ti, [this.x, this.y, this.width, this.height]), this.width = te, this.height = K, this.x = ie, this.y = ne, this.setDims(r * te, i * K), this.fixAndSetPosition(), this._onResizing();
|
|
19436
19436
|
}, OI = function() {
|
|
19437
19437
|
var e;
|
|
19438
19438
|
A(this, da, { savedX: this.x, savedY: this.y, savedWidth: this.width, savedHeight: this.height }), (e = p(this, Ut)) == null || e.toggle(!1), this.parent.togglePointerEvents(!1);
|
|
@@ -20116,22 +20116,22 @@ function a6(t, e, n, r, i, s, o, a) {
|
|
|
20116
20116
|
l[n + 1] > l[r + 1] && (f = n, n = r, r = f, f = s, s = o, o = f), l[r + 1] > l[i + 1] && (f = r, r = i, i = f, f = o, o = a, a = f), l[n + 1] > l[r + 1] && (f = n, n = r, r = f, f = s, s = o, o = f);
|
|
20117
20117
|
const h = (l[n] + e.offsetX) * e.scaleX, m = (l[n + 1] + e.offsetY) * e.scaleY, y = (l[r] + e.offsetX) * e.scaleX, g = (l[r + 1] + e.offsetY) * e.scaleY, v = (l[i] + e.offsetX) * e.scaleX, b = (l[i + 1] + e.offsetY) * e.scaleY;
|
|
20118
20118
|
if (m >= b) return;
|
|
20119
|
-
const S = u[s], C = u[s + 1], E = u[s + 2], M = u[o], T = u[o + 1], N = u[o + 2], I = u[a], $ = u[a + 1], F = u[a + 2], U = Math.round(m),
|
|
20120
|
-
let K, ie,
|
|
20121
|
-
for (let he = U; he <=
|
|
20119
|
+
const S = u[s], C = u[s + 1], E = u[s + 2], M = u[o], T = u[o + 1], N = u[o + 2], I = u[a], $ = u[a + 1], F = u[a + 2], U = Math.round(m), te = Math.round(b);
|
|
20120
|
+
let K, ie, ne, Z, ce, Y, ae, de;
|
|
20121
|
+
for (let he = U; he <= te; he++) {
|
|
20122
20122
|
if (he < g) {
|
|
20123
20123
|
const pe = he < m ? 0 : (m - he) / (m - g);
|
|
20124
|
-
K = h - (h - y) * pe, ie = S - (S - M) * pe,
|
|
20124
|
+
K = h - (h - y) * pe, ie = S - (S - M) * pe, ne = C - (C - T) * pe, Z = E - (E - N) * pe;
|
|
20125
20125
|
} else {
|
|
20126
20126
|
let pe;
|
|
20127
|
-
pe = he > b ? 1 : g === b ? 0 : (g - he) / (g - b), K = y - (y - v) * pe, ie = M - (M - I) * pe,
|
|
20127
|
+
pe = he > b ? 1 : g === b ? 0 : (g - he) / (g - b), K = y - (y - v) * pe, ie = M - (M - I) * pe, ne = T - (T - $) * pe, Z = N - (N - F) * pe;
|
|
20128
20128
|
}
|
|
20129
20129
|
let V;
|
|
20130
20130
|
V = he < m ? 0 : he > b ? 1 : (m - he) / (m - b), ce = h - (h - v) * V, Y = S - (S - I) * V, ae = C - (C - $) * V, de = E - (E - F) * V;
|
|
20131
|
-
const q = Math.round(Math.min(K, ce)),
|
|
20131
|
+
const q = Math.round(Math.min(K, ce)), re = Math.round(Math.max(K, ce));
|
|
20132
20132
|
let ee = d * he + 4 * q;
|
|
20133
|
-
for (let pe = q; pe <=
|
|
20134
|
-
V = (K - pe) / (K - ce), V < 0 ? V = 0 : V > 1 && (V = 1), c[ee++] = ie - (ie - Y) * V | 0, c[ee++] =
|
|
20133
|
+
for (let pe = q; pe <= re; pe++)
|
|
20134
|
+
V = (K - pe) / (K - ce), V < 0 ? V = 0 : V > 1 && (V = 1), c[ee++] = ie - (ie - Y) * V | 0, c[ee++] = ne - (ne - ae) * V | 0, c[ee++] = Z - (Z - de) * V | 0, c[ee++] = 255;
|
|
20135
20135
|
}
|
|
20136
20136
|
}
|
|
20137
20137
|
function oW(t, e, n) {
|
|
@@ -20196,13 +20196,13 @@ const uW = 1, cW = 2, y5 = class y5 {
|
|
|
20196
20196
|
let C = m, E = y, M = !1, T = !1;
|
|
20197
20197
|
const N = Math.ceil(l * b), I = Math.ceil(u * S);
|
|
20198
20198
|
N >= Math.ceil(m * b) ? C = l : M = !0, I >= Math.ceil(y * S) ? E = u : T = !0;
|
|
20199
|
-
const $ = this.getSizeAndScale(C, this.ctx.canvas.width, b), F = this.getSizeAndScale(E, this.ctx.canvas.height, S), U = e.cachedCanvases.getCanvas("pattern", $.size, F.size),
|
|
20200
|
-
if (K.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(K, i, o),
|
|
20199
|
+
const $ = this.getSizeAndScale(C, this.ctx.canvas.width, b), F = this.getSizeAndScale(E, this.ctx.canvas.height, S), U = e.cachedCanvases.getCanvas("pattern", $.size, F.size), te = U.context, K = a.createCanvasGraphics(te);
|
|
20200
|
+
if (K.groupLevel = e.groupLevel, this.setFillAndStrokeStyleToContext(K, i, o), te.translate(-$.scale * c, -F.scale * d), K.transform($.scale, 0, 0, F.scale, 0, 0), te.save(), this.clipBbox(K, c, d, f, h), K.baseTransform = Kt(K.ctx), K.executeOperatorList(r), K.endDrawing(), te.restore(), M || T) {
|
|
20201
20201
|
const ie = U.canvas;
|
|
20202
20202
|
M && (C = l), T && (E = u);
|
|
20203
|
-
const
|
|
20204
|
-
for (let q = 0; q <= he; q++) for (let
|
|
20205
|
-
return { canvas: ae.canvas, scaleX:
|
|
20203
|
+
const ne = this.getSizeAndScale(C, this.ctx.canvas.width, b), Z = this.getSizeAndScale(E, this.ctx.canvas.height, S), ce = ne.size, Y = Z.size, ae = e.cachedCanvases.getCanvas("pattern-workaround", ce, Y), de = ae.context, he = M ? Math.floor(m / l) : 0, V = T ? Math.floor(y / u) : 0;
|
|
20204
|
+
for (let q = 0; q <= he; q++) for (let re = 0; re <= V; re++) de.drawImage(ie, ce * q, Y * re, ce, Y, 0, 0, ce, Y);
|
|
20205
|
+
return { canvas: ae.canvas, scaleX: ne.scale, scaleY: Z.scale, offsetX: c, offsetY: d };
|
|
20206
20206
|
}
|
|
20207
20207
|
return { canvas: U.canvas, scaleX: $.scale, scaleY: F.scale, offsetX: c, offsetY: d };
|
|
20208
20208
|
}
|
|
@@ -20834,24 +20834,24 @@ const vb = class vb {
|
|
|
20834
20834
|
}
|
|
20835
20835
|
let N = !1;
|
|
20836
20836
|
const I = (T.isSpace ? l : 0) + a, $ = T.fontChar, F = T.accent;
|
|
20837
|
-
let U,
|
|
20837
|
+
let U, te, K = T.width;
|
|
20838
20838
|
if (f) {
|
|
20839
|
-
const ie = T.vmetric || m,
|
|
20840
|
-
K = ie ? -ie[0] : K, U =
|
|
20839
|
+
const ie = T.vmetric || m, ne = -(T.vmetric ? ie[1] : 0.5 * K) * y, Z = ie[2] * y;
|
|
20840
|
+
K = ie ? -ie[0] : K, U = ne / o, te = (M + Z) / o;
|
|
20841
20841
|
} else
|
|
20842
|
-
U = M / o,
|
|
20842
|
+
U = M / o, te = 0;
|
|
20843
20843
|
if (r.remeasure && K > 0) {
|
|
20844
20844
|
const ie = 1e3 * s.measureText($).width / i * o;
|
|
20845
20845
|
if (K < ie && this.isFontSubpixelAAEnabled) {
|
|
20846
|
-
const
|
|
20847
|
-
N = !0, s.save(), s.scale(
|
|
20846
|
+
const ne = K / ie;
|
|
20847
|
+
N = !0, s.save(), s.scale(ne, 1), U /= ne;
|
|
20848
20848
|
} else K !== ie && (U += (K - ie) / 2e3 * i / o);
|
|
20849
20849
|
}
|
|
20850
20850
|
if (this.contentVisible && (T.isInFont || r.missingFile)) {
|
|
20851
|
-
if (g && !F) s.fillText($, U,
|
|
20852
|
-
else if (this.paintChar($, U,
|
|
20853
|
-
const ie = U + i * F.offset.x / o,
|
|
20854
|
-
this.paintChar(F.fontChar, ie,
|
|
20851
|
+
if (g && !F) s.fillText($, U, te);
|
|
20852
|
+
else if (this.paintChar($, U, te, v, b), F) {
|
|
20853
|
+
const ie = U + i * F.offset.x / o, ne = te - i * F.offset.y / o;
|
|
20854
|
+
this.paintChar(F.fontChar, ie, ne, v, b);
|
|
20855
20855
|
}
|
|
20856
20856
|
}
|
|
20857
20857
|
M += f ? K * y - I * u : K * y + I * u, N && s.restore();
|
|
@@ -22360,8 +22360,8 @@ const RW = yr ? class extends _C {
|
|
|
22360
22360
|
const M = new Array(256), T = (f - d) / E, N = S / 255, I = (C - S) / (255 * E);
|
|
22361
22361
|
let $ = 0;
|
|
22362
22362
|
for (let F = 0; F <= E; F++) {
|
|
22363
|
-
const U = Math.round(d + F * T),
|
|
22364
|
-
for (let K = $; K <= U; K++) M[K] =
|
|
22363
|
+
const U = Math.round(d + F * T), te = N + F * I;
|
|
22364
|
+
for (let K = $; K <= U; K++) M[K] = te;
|
|
22365
22365
|
$ = U + 1;
|
|
22366
22366
|
}
|
|
22367
22367
|
for (let F = $; F < 256; F++) M[F] = M[$ - 1];
|
|
@@ -22446,20 +22446,20 @@ function $W(t = {}) {
|
|
|
22446
22446
|
throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.");
|
|
22447
22447
|
}(t.data) : null, s = t.httpHeaders || null, o = t.withCredentials === !0, a = t.password ?? null, l = t.range instanceof iO ? t.range : null, u = Number.isInteger(t.rangeChunkSize) && t.rangeChunkSize > 0 ? t.rangeChunkSize : NW;
|
|
22448
22448
|
let c = t.worker instanceof uc ? t.worker : null;
|
|
22449
|
-
const d = t.verbosity, f = typeof t.docBaseUrl != "string" || X5(t.docBaseUrl) ? null : t.docBaseUrl, h = typeof t.cMapUrl == "string" ? t.cMapUrl : null, m = t.cMapPacked !== !1, y = t.CMapReaderFactory || LW, g = typeof t.standardFontDataUrl == "string" ? t.standardFontDataUrl : null, v = t.StandardFontDataFactory || _W, b = t.stopAtErrors !== !0, S = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, C = t.isEvalSupported !== !1, E = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !yr, M = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !yr && (Hr.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, N = typeof t.disableFontFace == "boolean" ? t.disableFontFace : yr, I = t.fontExtraProperties === !0, $ = t.enableXfa === !0, F = t.ownerDocument || globalThis.document, U = t.disableRange === !0,
|
|
22449
|
+
const d = t.verbosity, f = typeof t.docBaseUrl != "string" || X5(t.docBaseUrl) ? null : t.docBaseUrl, h = typeof t.cMapUrl == "string" ? t.cMapUrl : null, m = t.cMapPacked !== !1, y = t.CMapReaderFactory || LW, g = typeof t.standardFontDataUrl == "string" ? t.standardFontDataUrl : null, v = t.StandardFontDataFactory || _W, b = t.stopAtErrors !== !0, S = Number.isInteger(t.maxImageSize) && t.maxImageSize > -1 ? t.maxImageSize : -1, C = t.isEvalSupported !== !1, E = typeof t.isOffscreenCanvasSupported == "boolean" ? t.isOffscreenCanvasSupported : !yr, M = typeof t.isImageDecoderSupported == "boolean" ? t.isImageDecoderSupported : !yr && (Hr.platform.isFirefox || !globalThis.chrome), T = Number.isInteger(t.canvasMaxAreaInBytes) ? t.canvasMaxAreaInBytes : -1, N = typeof t.disableFontFace == "boolean" ? t.disableFontFace : yr, I = t.fontExtraProperties === !0, $ = t.enableXfa === !0, F = t.ownerDocument || globalThis.document, U = t.disableRange === !0, te = t.disableStream === !0, K = t.disableAutoFetch === !0, ie = t.pdfBug === !0, ne = t.CanvasFactory || PW, Z = t.FilterFactory || RW, ce = t.enableHWA === !0, Y = l ? l.length : t.length ?? NaN, ae = typeof t.useSystemFonts == "boolean" ? t.useSystemFonts : !yr && !N, de = typeof t.useWorkerFetch == "boolean" ? t.useWorkerFetch : y === zI && v === ZI && h && g && fd(h, document.baseURI) && fd(g, document.baseURI);
|
|
22450
22450
|
Zq(d);
|
|
22451
|
-
const he = { canvasFactory: new
|
|
22451
|
+
const he = { canvasFactory: new ne({ ownerDocument: F, enableHWA: ce }), filterFactory: new Z({ docId: n, ownerDocument: F }), cMapReaderFactory: de ? null : new y({ baseUrl: h, isCompressed: m }), standardFontDataFactory: de ? null : new v({ baseUrl: g }) };
|
|
22452
22452
|
if (!c) {
|
|
22453
|
-
const
|
|
22454
|
-
c =
|
|
22453
|
+
const re = { verbosity: d, port: xa.workerPort };
|
|
22454
|
+
c = re.port ? uc.fromPort(re) : new uc(re), e._worker = c;
|
|
22455
22455
|
}
|
|
22456
22456
|
const V = { docId: n, apiVersion: "4.10.38", data: i, password: a, disableAutoFetch: K, rangeChunkSize: u, length: Y, docBaseUrl: f, enableXfa: $, evaluatorOptions: { maxImageSize: S, disableFontFace: N, ignoreErrors: b, isEvalSupported: C, isOffscreenCanvasSupported: E, isImageDecoderSupported: M, canvasMaxAreaInBytes: T, fontExtraProperties: I, useSystemFonts: ae, cMapUrl: de ? h : null, standardFontDataUrl: de ? g : null } }, q = { disableFontFace: N, fontExtraProperties: I, ownerDocument: F, pdfBug: ie, styleElement: null, loadingParams: { disableAutoFetch: K, enableXfa: $ } };
|
|
22457
22457
|
return c.promise.then(function() {
|
|
22458
22458
|
if (e.destroyed) throw new Error("Loading aborted");
|
|
22459
22459
|
if (c.destroyed) throw new Error("Worker was destroyed");
|
|
22460
|
-
const
|
|
22460
|
+
const re = c.messageHandler.sendWithPromise("GetDocRequest", V, i ? [i.buffer] : null);
|
|
22461
22461
|
let ee;
|
|
22462
|
-
if (l) ee = new bW(l, { disableRange: U, disableStream:
|
|
22462
|
+
if (l) ee = new bW(l, { disableRange: U, disableStream: te });
|
|
22463
22463
|
else if (!i) {
|
|
22464
22464
|
if (!r) throw new Error("getDocument - no `url` parameter provided.");
|
|
22465
22465
|
let pe;
|
|
@@ -22468,9 +22468,9 @@ function $W(t = {}) {
|
|
|
22468
22468
|
pe = HC;
|
|
22469
22469
|
} else pe = OW;
|
|
22470
22470
|
else pe = fd(r) ? HC : AW;
|
|
22471
|
-
ee = new pe({ url: r, length: Y, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: U, disableStream:
|
|
22471
|
+
ee = new pe({ url: r, length: Y, httpHeaders: s, withCredentials: o, rangeChunkSize: u, disableRange: U, disableStream: te });
|
|
22472
22472
|
}
|
|
22473
|
-
return
|
|
22473
|
+
return re.then((pe) => {
|
|
22474
22474
|
if (e.destroyed) throw new Error("Loading aborted");
|
|
22475
22475
|
if (c.destroyed) throw new Error("Worker was destroyed");
|
|
22476
22476
|
const Se = new gd(n, pe, c.port), Te = new jW(Se, e, ee, q, he);
|
|
@@ -27631,8 +27631,8 @@ const j1 = /* @__PURE__ */ Ze(PG, [["render", _G], ["__scopeId", "data-v-fac0204
|
|
|
27631
27631
|
}), u = _(null), c = _([]), d = _(!1), f = _(null), h = _("0"), m = _(1), y = _(Rn.md ? 1 : 0.9), g = _(0), v = _(null), b = _(), S = _(!1), C = _(!1), E = G(() => [
|
|
27632
27632
|
`z-[${t.baseZIndex + 1}]`
|
|
27633
27633
|
]), M = G(() => t.files.map((V) => {
|
|
27634
|
-
const q = V instanceof File,
|
|
27635
|
-
|
|
27634
|
+
const q = V instanceof File, re = q ? V.name : V.original.url, ee = ae(
|
|
27635
|
+
re.toLowerCase()
|
|
27636
27636
|
).replace(/^\./, ""), pe = ee ? s.has(ee) ? ee : o[ee] || "txt" : "txt";
|
|
27637
27637
|
return q ? {
|
|
27638
27638
|
id: V.lastModified + "-" + V.name.replace(/[\s.]/g, ""),
|
|
@@ -27663,19 +27663,19 @@ const j1 = /* @__PURE__ */ Ze(PG, [["render", _G], ["__scopeId", "data-v-fac0204
|
|
|
27663
27663
|
]), $ = G(() => [{
|
|
27664
27664
|
text: n("HC_DELETE_ATTACHMENT"),
|
|
27665
27665
|
classes: "!text-red-20",
|
|
27666
|
-
event:
|
|
27666
|
+
event: ne
|
|
27667
27667
|
}]), F = (V) => {
|
|
27668
27668
|
r.value === "desktop" ? window.open(V.url, "_blank") : window.open(V.url, "_self");
|
|
27669
27669
|
}, U = (V) => {
|
|
27670
27670
|
r.value === "desktop" ? F(V) : (v.value = V, C.value = !0);
|
|
27671
|
-
},
|
|
27671
|
+
}, te = (V) => {
|
|
27672
27672
|
V.event(), d.value = !1;
|
|
27673
27673
|
}, K = (V, q) => {
|
|
27674
27674
|
!d.value && q.isImage ? ie(V, q) : !d.value && !q.isImage && U(q);
|
|
27675
27675
|
}, ie = (V, q) => {
|
|
27676
|
-
const
|
|
27676
|
+
const re = (pe) => pe.url === (q == null ? void 0 : q.url), ee = T.value.findIndex(re);
|
|
27677
27677
|
g.value = ee !== -1 ? ee : V, S.value = !0;
|
|
27678
|
-
},
|
|
27678
|
+
}, ne = (V = null) => {
|
|
27679
27679
|
var q;
|
|
27680
27680
|
d.value = !1, e(
|
|
27681
27681
|
"update:model-value",
|
|
@@ -27705,8 +27705,8 @@ const j1 = /* @__PURE__ */ Ze(PG, [["render", _G], ["__scopeId", "data-v-fac0204
|
|
|
27705
27705
|
l.value && (m.value = 1.1 - V / l.value, h.value = Y.value < 0 ? `${V / 4}px` : `-${V / 4}px`);
|
|
27706
27706
|
},
|
|
27707
27707
|
onSwipeEnd() {
|
|
27708
|
-
const V = g.value <= 0, q = g.value >= T.value.length - 1,
|
|
27709
|
-
l.value &&
|
|
27708
|
+
const V = g.value <= 0, q = g.value >= T.value.length - 1, re = Math.abs(Y.value);
|
|
27709
|
+
l.value && re / l.value >= 0.5 ? (Y.value < 0 ? g.value = V ? T.value.length - 1 : g.value - 1 : g.value = q ? 0 : g.value + 1, h.value = "0", m.value = 1) : (h.value = "0", m.value = 1);
|
|
27710
27710
|
}
|
|
27711
27711
|
}), ae = (V) => V.substring(V.lastIndexOf(".")), de = (V, q) => {
|
|
27712
27712
|
V.preventDefault(), f.value = M.value[q], d.value = !0;
|
|
@@ -27747,10 +27747,10 @@ const j1 = /* @__PURE__ */ Ze(PG, [["render", _G], ["__scopeId", "data-v-fac0204
|
|
|
27747
27747
|
downloadDocument: F,
|
|
27748
27748
|
getExtension: ae,
|
|
27749
27749
|
onAttachmentClick: U,
|
|
27750
|
-
onClickMenuLink:
|
|
27750
|
+
onClickMenuLink: te,
|
|
27751
27751
|
onClickThumbnail: K,
|
|
27752
27752
|
onOpenCarousel: ie,
|
|
27753
|
-
onRemoveFile:
|
|
27753
|
+
onRemoveFile: ne,
|
|
27754
27754
|
onKeyboardNavigation: Z,
|
|
27755
27755
|
onLongPressCallbackHook: de,
|
|
27756
27756
|
resetHook: he,
|
|
@@ -40188,8 +40188,8 @@ function XS(t) {
|
|
|
40188
40188
|
y
|
|
40189
40189
|
};
|
|
40190
40190
|
if (h = U.x, y = U.y, l) {
|
|
40191
|
-
var
|
|
40192
|
-
return Object.assign({}, F, (
|
|
40191
|
+
var te;
|
|
40192
|
+
return Object.assign({}, F, (te = {}, te[C] = b ? "0" : "", te[S] = v ? "0" : "", te.transform = (E.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + y + "px)" : "translate3d(" + h + "px, " + y + "px, 0)", te));
|
|
40193
40193
|
}
|
|
40194
40194
|
return Object.assign({}, F, (e = {}, e[C] = b ? y + "px" : "", e[S] = v ? h + "px" : "", e.transform = "", e));
|
|
40195
40195
|
}
|
|
@@ -40403,9 +40403,9 @@ function Rf(t, e) {
|
|
|
40403
40403
|
}, F = t.modifiersData.offset;
|
|
40404
40404
|
if (f === sd && F) {
|
|
40405
40405
|
var U = F[i];
|
|
40406
|
-
Object.keys($).forEach(function(
|
|
40407
|
-
var K = [Ss, Cs].indexOf(
|
|
40408
|
-
$[
|
|
40406
|
+
Object.keys($).forEach(function(te) {
|
|
40407
|
+
var K = [Ss, Cs].indexOf(te) >= 0 ? 1 : -1, ie = [fi, Cs].indexOf(te) >= 0 ? "y" : "x";
|
|
40408
|
+
$[te] += U[ie] * K;
|
|
40409
40409
|
});
|
|
40410
40410
|
}
|
|
40411
40411
|
return $;
|
|
@@ -40439,26 +40439,26 @@ function Bee(t) {
|
|
|
40439
40439
|
function Vee(t) {
|
|
40440
40440
|
var e = t.state, n = t.options, r = t.name;
|
|
40441
40441
|
if (!e.modifiersData[r]._skip) {
|
|
40442
|
-
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = $o(g), b = v === g, S = l || (b || !m ? [$3(g)] : Bee(g)), C = [g].concat(S).reduce(function(q,
|
|
40443
|
-
return q.concat($o(
|
|
40444
|
-
placement:
|
|
40442
|
+
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = $o(g), b = v === g, S = l || (b || !m ? [$3(g)] : Bee(g)), C = [g].concat(S).reduce(function(q, re) {
|
|
40443
|
+
return q.concat($o(re) === bv ? Fee(e, {
|
|
40444
|
+
placement: re,
|
|
40445
40445
|
boundary: c,
|
|
40446
40446
|
rootBoundary: d,
|
|
40447
40447
|
padding: u,
|
|
40448
40448
|
flipVariations: m,
|
|
40449
40449
|
allowedAutoPlacements: y
|
|
40450
|
-
}) :
|
|
40450
|
+
}) : re);
|
|
40451
40451
|
}, []), E = e.rects.reference, M = e.rects.popper, T = /* @__PURE__ */ new Map(), N = !0, I = C[0], $ = 0; $ < C.length; $++) {
|
|
40452
|
-
var F = C[$], U = $o(F),
|
|
40452
|
+
var F = C[$], U = $o(F), te = O1(F) === T1, K = [fi, Cs].indexOf(U) >= 0, ie = K ? "width" : "height", ne = Rf(e, {
|
|
40453
40453
|
placement: F,
|
|
40454
40454
|
boundary: c,
|
|
40455
40455
|
rootBoundary: d,
|
|
40456
40456
|
altBoundary: f,
|
|
40457
40457
|
padding: u
|
|
40458
|
-
}), Z = K ?
|
|
40458
|
+
}), Z = K ? te ? Ss : hi : te ? Cs : fi;
|
|
40459
40459
|
E[ie] > M[ie] && (Z = $3(Z));
|
|
40460
40460
|
var ce = $3(Z), Y = [];
|
|
40461
|
-
if (s && Y.push(
|
|
40461
|
+
if (s && Y.push(ne[U] <= 0), a && Y.push(ne[Z] <= 0, ne[ce] <= 0), Y.every(function(q) {
|
|
40462
40462
|
return q;
|
|
40463
40463
|
})) {
|
|
40464
40464
|
I = F, N = !1;
|
|
@@ -40467,11 +40467,11 @@ function Vee(t) {
|
|
|
40467
40467
|
T.set(F, Y);
|
|
40468
40468
|
}
|
|
40469
40469
|
if (N)
|
|
40470
|
-
for (var ae = m ? 3 : 1, de = function(
|
|
40470
|
+
for (var ae = m ? 3 : 1, de = function(re) {
|
|
40471
40471
|
var ee = C.find(function(pe) {
|
|
40472
40472
|
var Se = T.get(pe);
|
|
40473
40473
|
if (Se)
|
|
40474
|
-
return Se.slice(0,
|
|
40474
|
+
return Se.slice(0, re).every(function(Te) {
|
|
40475
40475
|
return Te;
|
|
40476
40476
|
});
|
|
40477
40477
|
});
|
|
@@ -40596,10 +40596,10 @@ function Yee(t) {
|
|
|
40596
40596
|
};
|
|
40597
40597
|
if (M) {
|
|
40598
40598
|
if (s) {
|
|
40599
|
-
var
|
|
40599
|
+
var te, K = C === "y" ? fi : hi, ie = C === "y" ? Cs : Ss, ne = C === "y" ? "height" : "width", Z = M[C], ce = Z + g[K], Y = Z - g[ie], ae = h ? -N[ne] / 2 : 0, de = b === T1 ? T[ne] : N[ne], he = b === T1 ? -N[ne] : -T[ne], V = e.elements.arrow, q = h && V ? Cv(V) : {
|
|
40600
40600
|
width: 0,
|
|
40601
40601
|
height: 0
|
|
40602
|
-
},
|
|
40602
|
+
}, re = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : Fx(), ee = re[K], pe = re[ie], Se = zd(0, T[ne], q[ne]), Te = S ? T[ne] / 2 - ae - Se - ee - $.mainAxis : de - Se - ee - $.mainAxis, Me = S ? -T[ne] / 2 + ae + Se + pe + $.mainAxis : he + Se + pe + $.mainAxis, We = e.elements.arrow && em(e.elements.arrow), De = We ? C === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, Ve = (te = F == null ? void 0 : F[C]) != null ? te : 0, ct = Z + Te - Ve - De, Ot = Z + Me - Ve, qt = zd(h ? Eg(ce, ct) : ce, Z, h ? cu(Y, Ot) : Y);
|
|
40603
40603
|
M[C] = qt, U[C] = qt - Z;
|
|
40604
40604
|
}
|
|
40605
40605
|
if (a) {
|
|
@@ -41226,17 +41226,17 @@ function _te(t, e) {
|
|
|
41226
41226
|
var le;
|
|
41227
41227
|
return !!((le = C.props.render) != null && le.$$tippy);
|
|
41228
41228
|
}
|
|
41229
|
-
function
|
|
41229
|
+
function te() {
|
|
41230
41230
|
return y || t;
|
|
41231
41231
|
}
|
|
41232
41232
|
function K() {
|
|
41233
|
-
var le =
|
|
41233
|
+
var le = te().parentNode;
|
|
41234
41234
|
return le ? wte(le) : document;
|
|
41235
41235
|
}
|
|
41236
41236
|
function ie() {
|
|
41237
41237
|
return Sy(M);
|
|
41238
41238
|
}
|
|
41239
|
-
function
|
|
41239
|
+
function ne(le) {
|
|
41240
41240
|
return C.state.isMounted && !C.state.isVisible || No.isTouch || c && c.type === "focus" ? 0 : O6(C.props.delay, le ? 0 : 1, Bi.delay);
|
|
41241
41241
|
}
|
|
41242
41242
|
function Z(le) {
|
|
@@ -41269,7 +41269,7 @@ function _te(t, e) {
|
|
|
41269
41269
|
if (!(I || !C.props.aria.expanded)) {
|
|
41270
41270
|
var le = Yu(C.props.triggerTarget || t);
|
|
41271
41271
|
le.forEach(function(Pe) {
|
|
41272
|
-
C.props.interactive ? Pe.setAttribute("aria-expanded", C.state.isVisible && Pe ===
|
|
41272
|
+
C.props.interactive ? Pe.setAttribute("aria-expanded", C.state.isVisible && Pe === te() ? "true" : "false") : Pe.removeAttribute("aria-expanded");
|
|
41273
41273
|
});
|
|
41274
41274
|
}
|
|
41275
41275
|
}
|
|
@@ -41301,7 +41301,7 @@ function _te(t, e) {
|
|
|
41301
41301
|
function q() {
|
|
41302
41302
|
l = !1;
|
|
41303
41303
|
}
|
|
41304
|
-
function
|
|
41304
|
+
function re() {
|
|
41305
41305
|
var le = K();
|
|
41306
41306
|
le.addEventListener("mousedown", he, !0), le.addEventListener("touchend", he, Vl), le.addEventListener("touchstart", q, Vl), le.addEventListener("touchmove", V, Vl);
|
|
41307
41307
|
}
|
|
@@ -41374,7 +41374,7 @@ function _te(t, e) {
|
|
|
41374
41374
|
}
|
|
41375
41375
|
}
|
|
41376
41376
|
function ct(le) {
|
|
41377
|
-
var Pe = le.target, He =
|
|
41377
|
+
var Pe = le.target, He = te().contains(Pe) || M.contains(Pe);
|
|
41378
41378
|
if (!(le.type === "mousemove" && He)) {
|
|
41379
41379
|
var kt = fn().concat(M).map(function(ft) {
|
|
41380
41380
|
var Yn, Er = ft._tippy, ro = (Yn = Er.popperInstance) == null ? void 0 : Yn.state;
|
|
@@ -41398,7 +41398,7 @@ function _te(t, e) {
|
|
|
41398
41398
|
}
|
|
41399
41399
|
}
|
|
41400
41400
|
function qt(le) {
|
|
41401
|
-
C.props.trigger.indexOf("focusin") < 0 && le.target !==
|
|
41401
|
+
C.props.trigger.indexOf("focusin") < 0 && le.target !== te() || C.props.interactive && le.relatedTarget && M.contains(le.relatedTarget) || Qr(le);
|
|
41402
41402
|
}
|
|
41403
41403
|
function dn(le) {
|
|
41404
41404
|
return No.isTouch ? F() !== le.type.indexOf("touch") >= 0 : !1;
|
|
@@ -41407,7 +41407,7 @@ function _te(t, e) {
|
|
|
41407
41407
|
Ts();
|
|
41408
41408
|
var le = C.props, Pe = le.popperOptions, He = le.placement, kt = le.offset, ft = le.getReferenceClientRect, Yn = le.moveTransition, Er = U() ? Sy(M).arrow : null, ro = ft ? {
|
|
41409
41409
|
getBoundingClientRect: ft,
|
|
41410
|
-
contextElement: ft.contextElement ||
|
|
41410
|
+
contextElement: ft.contextElement || te()
|
|
41411
41411
|
} : t, fm = {
|
|
41412
41412
|
name: "$$tippy",
|
|
41413
41413
|
enabled: !0,
|
|
@@ -41464,7 +41464,7 @@ function _te(t, e) {
|
|
|
41464
41464
|
C.popperInstance && (C.popperInstance.destroy(), C.popperInstance = null);
|
|
41465
41465
|
}
|
|
41466
41466
|
function Xt() {
|
|
41467
|
-
var le = C.props.appendTo, Pe, He =
|
|
41467
|
+
var le = C.props.appendTo, Pe, He = te();
|
|
41468
41468
|
C.props.interactive && le === qx || le === "parent" ? Pe = He.parentNode : Pe = Wx(le, [He]), Pe.contains(M) || Pe.appendChild(M), C.state.isMounted = !0, Yr(), process.env.NODE_ENV !== "production" && na(C.props.interactive && le === Bi.appendTo && He.nextElementSibling !== M, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
|
|
41469
41469
|
|
|
41470
41470
|
`, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
|
|
@@ -41477,8 +41477,8 @@ function _te(t, e) {
|
|
|
41477
41477
|
return Ig(M.querySelectorAll("[data-tippy-root]"));
|
|
41478
41478
|
}
|
|
41479
41479
|
function Ki(le) {
|
|
41480
|
-
C.clearDelayTimeouts(), le && ce("onTrigger", [C, le]),
|
|
41481
|
-
var Pe =
|
|
41480
|
+
C.clearDelayTimeouts(), le && ce("onTrigger", [C, le]), re();
|
|
41481
|
+
var Pe = ne(!0), He = $(), kt = He[0], ft = He[1];
|
|
41482
41482
|
No.isTouch && kt === "hold" && ft && (Pe = ft), Pe ? r = setTimeout(function() {
|
|
41483
41483
|
C.show();
|
|
41484
41484
|
}, Pe) : C.show();
|
|
@@ -41489,7 +41489,7 @@ function _te(t, e) {
|
|
|
41489
41489
|
return;
|
|
41490
41490
|
}
|
|
41491
41491
|
if (!(C.props.trigger.indexOf("mouseenter") >= 0 && C.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(le.type) >= 0 && o)) {
|
|
41492
|
-
var Pe =
|
|
41492
|
+
var Pe = ne(!1);
|
|
41493
41493
|
Pe ? i = setTimeout(function() {
|
|
41494
41494
|
C.state.isVisible && C.hide();
|
|
41495
41495
|
}, Pe) : s = requestAnimationFrame(function() {
|
|
@@ -41527,8 +41527,8 @@ function _te(t, e) {
|
|
|
41527
41527
|
function dt() {
|
|
41528
41528
|
process.env.NODE_ENV !== "production" && na(C.state.isDestroyed, Bu("show"));
|
|
41529
41529
|
var le = C.state.isVisible, Pe = C.state.isDestroyed, He = !C.state.isEnabled, kt = No.isTouch && !C.props.touch, ft = O6(C.props.duration, 0, Bi.duration);
|
|
41530
|
-
if (!(le || Pe || He || kt) && !
|
|
41531
|
-
if (C.state.isVisible = !0, U() && (M.style.visibility = "visible"), Z(),
|
|
41530
|
+
if (!(le || Pe || He || kt) && !te().hasAttribute("disabled") && (ce("onShow", [C], !1), C.props.onShow(C) !== !1)) {
|
|
41531
|
+
if (C.state.isVisible = !0, U() && (M.style.visibility = "visible"), Z(), re(), C.state.isMounted || (M.style.transition = "none"), U()) {
|
|
41532
41532
|
var Yn = ie(), Er = Yn.box, ro = Yn.content;
|
|
41533
41533
|
D6([Er, ro], 0);
|
|
41534
41534
|
}
|
|
@@ -54741,8 +54741,8 @@ function Vf(t, e) {
|
|
|
54741
54741
|
if (c === od && I) {
|
|
54742
54742
|
var $ = I[i];
|
|
54743
54743
|
Object.keys(N).forEach(function(F) {
|
|
54744
|
-
var U = [Ms, ks].indexOf(F) >= 0 ? 1 : -1,
|
|
54745
|
-
N[F] += $[
|
|
54744
|
+
var U = [Ms, ks].indexOf(F) >= 0 ? 1 : -1, te = [pi, ks].indexOf(F) >= 0 ? "y" : "x";
|
|
54745
|
+
N[F] += $[te] * U;
|
|
54746
54746
|
});
|
|
54747
54747
|
}
|
|
54748
54748
|
return N;
|
|
@@ -54776,26 +54776,26 @@ function nre(t) {
|
|
|
54776
54776
|
function rre(t) {
|
|
54777
54777
|
var e = t.state, n = t.options, r = t.name;
|
|
54778
54778
|
if (!e.modifiersData[r]._skip) {
|
|
54779
|
-
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Fo(g), b = v === g, S = l || (b || !m ? [F3(g)] : nre(g)), C = [g].concat(S).reduce(function(q,
|
|
54780
|
-
return q.concat(Fo(
|
|
54781
|
-
placement:
|
|
54779
|
+
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, l = n.fallbackPlacements, u = n.padding, c = n.boundary, d = n.rootBoundary, f = n.altBoundary, h = n.flipVariations, m = h === void 0 ? !0 : h, y = n.allowedAutoPlacements, g = e.options.placement, v = Fo(g), b = v === g, S = l || (b || !m ? [F3(g)] : nre(g)), C = [g].concat(S).reduce(function(q, re) {
|
|
54780
|
+
return q.concat(Fo(re) === xv ? tre(e, {
|
|
54781
|
+
placement: re,
|
|
54782
54782
|
boundary: c,
|
|
54783
54783
|
rootBoundary: d,
|
|
54784
54784
|
padding: u,
|
|
54785
54785
|
flipVariations: m,
|
|
54786
54786
|
allowedAutoPlacements: y
|
|
54787
|
-
}) :
|
|
54787
|
+
}) : re);
|
|
54788
54788
|
}, []), E = e.rects.reference, M = e.rects.popper, T = /* @__PURE__ */ new Map(), N = !0, I = C[0], $ = 0; $ < C.length; $++) {
|
|
54789
|
-
var F = C[$], U = Fo(F),
|
|
54789
|
+
var F = C[$], U = Fo(F), te = R1(F) === x1, K = [pi, ks].indexOf(U) >= 0, ie = K ? "width" : "height", ne = Vf(e, {
|
|
54790
54790
|
placement: F,
|
|
54791
54791
|
boundary: c,
|
|
54792
54792
|
rootBoundary: d,
|
|
54793
54793
|
altBoundary: f,
|
|
54794
54794
|
padding: u
|
|
54795
|
-
}), Z = K ?
|
|
54795
|
+
}), Z = K ? te ? Ms : mi : te ? ks : pi;
|
|
54796
54796
|
E[ie] > M[ie] && (Z = F3(Z));
|
|
54797
54797
|
var ce = F3(Z), Y = [];
|
|
54798
|
-
if (s && Y.push(
|
|
54798
|
+
if (s && Y.push(ne[U] <= 0), a && Y.push(ne[Z] <= 0, ne[ce] <= 0), Y.every(function(q) {
|
|
54799
54799
|
return q;
|
|
54800
54800
|
})) {
|
|
54801
54801
|
I = F, N = !1;
|
|
@@ -54804,11 +54804,11 @@ function rre(t) {
|
|
|
54804
54804
|
T.set(F, Y);
|
|
54805
54805
|
}
|
|
54806
54806
|
if (N)
|
|
54807
|
-
for (var ae = m ? 3 : 1, de = function(
|
|
54807
|
+
for (var ae = m ? 3 : 1, de = function(re) {
|
|
54808
54808
|
var ee = C.find(function(pe) {
|
|
54809
54809
|
var Se = T.get(pe);
|
|
54810
54810
|
if (Se)
|
|
54811
|
-
return Se.slice(0,
|
|
54811
|
+
return Se.slice(0, re).every(function(Te) {
|
|
54812
54812
|
return Te;
|
|
54813
54813
|
});
|
|
54814
54814
|
});
|
|
@@ -54934,10 +54934,10 @@ function hre(t) {
|
|
|
54934
54934
|
};
|
|
54935
54935
|
if (M) {
|
|
54936
54936
|
if (s) {
|
|
54937
|
-
var
|
|
54937
|
+
var te, K = C === "y" ? pi : mi, ie = C === "y" ? ks : Ms, ne = C === "y" ? "height" : "width", Z = M[C], ce = Z + g[K], Y = Z - g[ie], ae = h ? -N[ne] / 2 : 0, de = b === x1 ? T[ne] : N[ne], he = b === x1 ? -N[ne] : -T[ne], V = e.elements.arrow, q = h && V ? Nv(V) : {
|
|
54938
54938
|
width: 0,
|
|
54939
54939
|
height: 0
|
|
54940
|
-
},
|
|
54940
|
+
}, re = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : dN(), ee = re[K], pe = re[ie], Se = qd(0, T[ne], q[ne]), Te = S ? T[ne] / 2 - ae - Se - ee - $.mainAxis : de - Se - ee - $.mainAxis, Me = S ? -T[ne] / 2 + ae + Se + pe + $.mainAxis : he + Se + pe + $.mainAxis, We = e.elements.arrow && nm(e.elements.arrow), De = We ? C === "y" ? We.clientTop || 0 : We.clientLeft || 0 : 0, Ve = (te = F == null ? void 0 : F[C]) != null ? te : 0, ct = Z + Te - Ve - De, Ot = Z + Me - Ve, qt = qd(h ? Dg(ce, ct) : ce, Z, h ? du(Y, Ot) : Y);
|
|
54941
54941
|
M[C] = qt, U[C] = qt - Z;
|
|
54942
54942
|
}
|
|
54943
54943
|
if (a) {
|
|
@@ -57915,12 +57915,12 @@ function Rse({
|
|
|
57915
57915
|
// <>
|
|
57916
57916
|
];
|
|
57917
57917
|
for (let U = 0; U < F.length; U++) {
|
|
57918
|
-
const [
|
|
57919
|
-
ve(M,
|
|
57920
|
-
const
|
|
57921
|
-
rt(ie, e,
|
|
57918
|
+
const [te, K] = F[U], ie = ve(E, te);
|
|
57919
|
+
ve(M, te, ie), ve(ie, K, E);
|
|
57920
|
+
const ne = es(zm);
|
|
57921
|
+
rt(ie, e, ne);
|
|
57922
57922
|
const Z = es();
|
|
57923
|
-
rt(ie, n), rt(
|
|
57923
|
+
rt(ie, n), rt(ne, e, ne), rt(ne, n, Z), rt(Z, e, ne), rt(Z, n, Z), ve(ne, K, E), ve(Z, K, E);
|
|
57924
57924
|
}
|
|
57925
57925
|
return ve(i, jf, b), ve(i, Bv, Lse), {
|
|
57926
57926
|
start: i,
|
|
@@ -60095,11 +60095,11 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60095
60095
|
},
|
|
60096
60096
|
emits: ["update:model-value", "update:attachments", "keyboard-open"],
|
|
60097
60097
|
setup(t, { emit: e }) {
|
|
60098
|
-
const n = _(), r = _(!1), i = _(""), s = _(), o = _(), a = _(!1), l = _(!1), u = _(!1), c = _([]), d = _(), f = _(), h = _(), m = _(!1), y = _(window.innerHeight), g = G(() =>
|
|
60098
|
+
const n = _(), r = _(!1), i = _(""), s = _(), o = _(), a = _(!1), l = _(!1), u = _(!1), c = _([]), d = _(), f = _(), h = _(), m = _(!1), y = _(window.innerHeight), g = G(() => ne.value.getAttributes("textStyle").color || "#121517"), v = G(() => t.attachments), b = G(() => t.isStacked || t.expands && (v.value.length > 0 || u.value || !ne.value.isEmpty) || l.value), C = OA(T_).greaterOrEqual("md"), E = () => {
|
|
60099
60099
|
const Z = window.prompt("URL");
|
|
60100
|
-
|
|
60100
|
+
ne.value.chain().focus().extendMarkRange("link").setLink({ href: Z || "" }).run();
|
|
60101
60101
|
}, M = (Z) => {
|
|
60102
|
-
|
|
60102
|
+
ne.value.chain().focus().setColor(Z).run(), N();
|
|
60103
60103
|
}, T = () => {
|
|
60104
60104
|
a.value = !a.value;
|
|
60105
60105
|
}, N = () => {
|
|
@@ -60108,7 +60108,7 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60108
60108
|
var Z, ce;
|
|
60109
60109
|
(ce = (Z = d.value) == null ? void 0 : Z.fileUpload) == null || ce.choose();
|
|
60110
60110
|
}, $ = (Z) => {
|
|
60111
|
-
|
|
60111
|
+
ne.value.chain().focus().insertContent(Z).run(), s.value.$el.click();
|
|
60112
60112
|
}, F = async () => {
|
|
60113
60113
|
if (await gn(), u.value) {
|
|
60114
60114
|
const Z = m.value, ce = (visualViewport == null ? void 0 : visualViewport.height) || window.innerHeight;
|
|
@@ -60116,14 +60116,14 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60116
60116
|
}
|
|
60117
60117
|
}, U = () => {
|
|
60118
60118
|
u.value && t.expands && (m.value = !1, e("keyboard-open", m.value)), u.value = !1;
|
|
60119
|
-
},
|
|
60120
|
-
|
|
60119
|
+
}, te = (Z) => {
|
|
60120
|
+
ne.value.chain().focus().insertContent(Z.i).run(), r.value = !1;
|
|
60121
60121
|
}, K = (Z) => {
|
|
60122
60122
|
c.value = Z, ie();
|
|
60123
60123
|
}, ie = () => {
|
|
60124
60124
|
let Z = "";
|
|
60125
|
-
|
|
60126
|
-
},
|
|
60125
|
+
ne.value.isEmpty || (Z = t.allowFormatting ? ne.value.getHTML() : ne.value.getText()), c.value !== t.attachments && e("update:attachments", c.value), e("update:model-value", Z);
|
|
60126
|
+
}, ne = _(
|
|
60127
60127
|
jte({
|
|
60128
60128
|
extensions: [
|
|
60129
60129
|
wse.configure({
|
|
@@ -60154,12 +60154,12 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60154
60154
|
})
|
|
60155
60155
|
);
|
|
60156
60156
|
return nt(() => t.modelValue, (Z) => {
|
|
60157
|
-
|
|
60157
|
+
ne.value && !Z && ne.value.commands.clearContent();
|
|
60158
60158
|
}), nt(() => t.disabled, (Z) => {
|
|
60159
|
-
|
|
60159
|
+
ne.value && (ne.value.options.editable = !Z, ne.value.view.update(ne.value.view.props));
|
|
60160
60160
|
}), Eu(() => {
|
|
60161
60161
|
var Z;
|
|
60162
|
-
(Z =
|
|
60162
|
+
(Z = ne.value) == null || Z.destroy();
|
|
60163
60163
|
}), Et(() => {
|
|
60164
60164
|
visualViewport && t.expands && visualViewport.addEventListener("resize", F);
|
|
60165
60165
|
}), Gr(() => {
|
|
@@ -60188,7 +60188,7 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60188
60188
|
"recurring",
|
|
60189
60189
|
"workorder"
|
|
60190
60190
|
],
|
|
60191
|
-
editor:
|
|
60191
|
+
editor: ne,
|
|
60192
60192
|
editorRef: f,
|
|
60193
60193
|
// refs
|
|
60194
60194
|
emojiPickerElement: n,
|
|
@@ -60215,7 +60215,7 @@ const pae = /* @__PURE__ */ Ze(tae, [["render", hae]]), mae = Oe({
|
|
|
60215
60215
|
onClickOutColors: N,
|
|
60216
60216
|
attachFiles: I,
|
|
60217
60217
|
appendEmoji: $,
|
|
60218
|
-
onSelectEmoji:
|
|
60218
|
+
onSelectEmoji: te,
|
|
60219
60219
|
onSelectFiles: K
|
|
60220
60220
|
};
|
|
60221
60221
|
}
|
|
@@ -60543,7 +60543,11 @@ const FN = /* @__PURE__ */ Ze(mae, [["render", Cae], ["__scopeId", "data-v-6c7a3
|
|
|
60543
60543
|
}), F;
|
|
60544
60544
|
}), f = G(() => t.user.firstName + " " + t.user.lastName.substring(0, 1)), h = G(() => ht.fromISO(t.dateUtc).toLocaleString(
|
|
60545
60545
|
ht.DATETIME_MED
|
|
60546
|
-
)), m = G(() =>
|
|
60546
|
+
)), m = G(() => {
|
|
60547
|
+
var ie, ne;
|
|
60548
|
+
const F = t.user.name.split(" "), U = ((ie = F[0]) == null ? void 0 : ie.charAt(0)) || "", te = ((ne = F[1]) == null ? void 0 : ne.charAt(0)) || "";
|
|
60549
|
+
return (U + te).toUpperCase();
|
|
60550
|
+
}), y = () => {
|
|
60547
60551
|
i.value = !1, s.value = "";
|
|
60548
60552
|
}, g = () => {
|
|
60549
60553
|
navigator.clipboard.writeText(
|
|
@@ -60566,8 +60570,8 @@ const FN = /* @__PURE__ */ Ze(mae, [["render", Cae], ["__scopeId", "data-v-6c7a3
|
|
|
60566
60570
|
}, E = () => {
|
|
60567
60571
|
u.value === "comment" ? C() : b();
|
|
60568
60572
|
}, M = async () => {
|
|
60569
|
-
var U,
|
|
60570
|
-
i.value = !0, s.value = t.comment, await gn(), (
|
|
60573
|
+
var U, te;
|
|
60574
|
+
i.value = !0, s.value = t.comment, await gn(), (te = (U = c.value) == null ? void 0 : U.editor) == null || te.chain().focus("end").run(), o.value = !1;
|
|
60571
60575
|
const F = document.getElementById(`comment-${t.id}`);
|
|
60572
60576
|
F && !Rn.md && F.scrollIntoView({ block: "center", behavior: "smooth" });
|
|
60573
60577
|
}, T = () => {
|
|
@@ -60586,8 +60590,8 @@ const FN = /* @__PURE__ */ Ze(mae, [["render", Cae], ["__scopeId", "data-v-6c7a3
|
|
|
60586
60590
|
});
|
|
60587
60591
|
};
|
|
60588
60592
|
return nt(() => t.processing, (F) => {
|
|
60589
|
-
var U,
|
|
60590
|
-
F || (i.value = !1, s.value = "", l.value = !1, c.value && c.value.allowAttachments && ((K = (
|
|
60593
|
+
var U, te, K;
|
|
60594
|
+
F || (i.value = !1, s.value = "", l.value = !1, c.value && c.value.allowAttachments && ((K = (te = (U = c.value) == null ? void 0 : U.fileUploadRef) == null ? void 0 : te.fileUpload) == null || K.clear(), c.value.uploadedfiles = []));
|
|
60591
60595
|
}), {
|
|
60592
60596
|
// static
|
|
60593
60597
|
menuActions: n,
|
|
@@ -61657,26 +61661,26 @@ const m0e = /* @__PURE__ */ Ze(e0e, [["render", p0e], ["__scopeId", "data-v-7868
|
|
|
61657
61661
|
}, $ = (K) => {
|
|
61658
61662
|
if (K.tap || K.axis === "x")
|
|
61659
61663
|
return;
|
|
61660
|
-
const ie = K.direction[1],
|
|
61661
|
-
!f.value && (
|
|
61664
|
+
const ie = K.direction[1], ne = ie >= 0, Z = ie <= 0 && r.value <= 0;
|
|
61665
|
+
!f.value && (ne || Z) && U(!Z, "drag"), u.value = !1;
|
|
61662
61666
|
}, F = async () => {
|
|
61663
61667
|
const K = r.value + v.value, ie = a.value.offsetTop + a.value.offsetHeight;
|
|
61664
61668
|
K > ie - 400 && y.value < T.value && (y.value++, e("page-updated"));
|
|
61665
61669
|
}, U = async (K, ie) => {
|
|
61666
61670
|
if (f.value = K, await gn(), c.value && o.value === "up" && r.value <= 0 || ie === "drag") {
|
|
61667
|
-
const
|
|
61668
|
-
S("y",
|
|
61671
|
+
const ne = M.value ? M.value : 0;
|
|
61672
|
+
S("y", ne, b, h), c.value = !1;
|
|
61669
61673
|
}
|
|
61670
|
-
},
|
|
61674
|
+
}, te = () => {
|
|
61671
61675
|
const K = Math.max(0, r.value) > s.value ? "down" : "up";
|
|
61672
61676
|
K !== o.value && (o.value = K), r.value < 70 && U(!0, "scroll"), s.value = Math.max(0, r.value), F();
|
|
61673
61677
|
};
|
|
61674
61678
|
return Et(() => {
|
|
61675
|
-
d.value ? (l.value = m.value.offsetTop - 16, window.addEventListener("scroll",
|
|
61679
|
+
d.value ? (l.value = m.value.offsetTop - 16, window.addEventListener("scroll", te)) : window.addEventListener("scroll", F), window.addEventListener("resize", async () => {
|
|
61676
61680
|
v.value = window.innerHeight, await gn();
|
|
61677
61681
|
});
|
|
61678
61682
|
}), Gr(() => {
|
|
61679
|
-
d.value ? window.removeEventListener("scroll",
|
|
61683
|
+
d.value ? window.removeEventListener("scroll", te) : window.removeEventListener("scroll", F);
|
|
61680
61684
|
}), {
|
|
61681
61685
|
// Refs
|
|
61682
61686
|
dataListRef: a,
|
|
@@ -61698,7 +61702,7 @@ const m0e = /* @__PURE__ */ Ze(e0e, [["render", p0e], ["__scopeId", "data-v-7868
|
|
|
61698
61702
|
searchHeight: M,
|
|
61699
61703
|
totalPages: T,
|
|
61700
61704
|
// Methods
|
|
61701
|
-
onScroll:
|
|
61705
|
+
onScroll: te,
|
|
61702
61706
|
scrollWatcher: F,
|
|
61703
61707
|
toggleSearch: U,
|
|
61704
61708
|
// Composable
|
|
@@ -62108,7 +62112,7 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62108
62112
|
}
|
|
62109
62113
|
}), U = () => {
|
|
62110
62114
|
T.value = !!t.modelValue.length && F.value.length === t.modelValue.length && !!F.value.length;
|
|
62111
|
-
},
|
|
62115
|
+
}, te = G(() => n.value === "desktop"), K = G(() => M.value * t.itemsPerPage - 1), ie = G(() => t.isFixed && d.value >= b.value), ne = G(() => Z.value > 0), Z = G(() => s.value ? l.value - m.value : 0), ce = G(() => (!te.value || E.value) && u.value > 0 && t.modelValue.length && !t.loading), Y = G(() => (!te.value || E.value) && u.value < Z.value && t.modelValue.length && !t.loading), ae = G(() => {
|
|
62112
62116
|
const De = [], Ve = {};
|
|
62113
62117
|
let ct = 0;
|
|
62114
62118
|
return t.columns.forEach((Ot) => {
|
|
@@ -62125,7 +62129,7 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62125
62129
|
}), he = () => {
|
|
62126
62130
|
var Ve;
|
|
62127
62131
|
let De = 0;
|
|
62128
|
-
if (
|
|
62132
|
+
if (ne.value) {
|
|
62129
62133
|
const ct = (((Ve = r.value) == null ? void 0 : Ve.clientHeight) || 0) + t.thHeight, Ot = o.value.clientHeight + o.value.offsetTop;
|
|
62130
62134
|
S.value < Ot ? De = (S.value - (o.value.offsetTop + ct)) / 2 : De = (o.value.clientHeight - ct) / 2;
|
|
62131
62135
|
}
|
|
@@ -62134,7 +62138,7 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62134
62138
|
u.value = s.value.scrollLeft, c.value = s.value.scrollLeft;
|
|
62135
62139
|
}, q = () => {
|
|
62136
62140
|
c.value = i.value.scrollLeft, u.value = i.value.scrollLeft;
|
|
62137
|
-
},
|
|
62141
|
+
}, re = async () => {
|
|
62138
62142
|
const De = d.value + S.value - t.fixedTopOffset, Ve = b.value + y.value;
|
|
62139
62143
|
De > Ve - 400 && M.value < de.value && M.value++, he();
|
|
62140
62144
|
}, ee = (De, Ve, ct) => {
|
|
@@ -62184,7 +62188,7 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62184
62188
|
)) == null ? void 0 : qt.clientWidth, window.addEventListener("resize", async () => {
|
|
62185
62189
|
var dn;
|
|
62186
62190
|
l.value = (dn = s.value) == null ? void 0 : dn.scrollWidth, S.value = window.innerHeight, he(), await gn();
|
|
62187
|
-
}), window.addEventListener("scroll",
|
|
62191
|
+
}), window.addEventListener("scroll", re), s.value.addEventListener("scroll", V), i.value.addEventListener("scroll", q);
|
|
62188
62192
|
}), Gr(() => {
|
|
62189
62193
|
window.removeEventListener("resize", async () => await gn()), window.removeEventListener("scroll", async () => await gn());
|
|
62190
62194
|
}), {
|
|
@@ -62217,10 +62221,10 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62217
62221
|
windowHeight: S,
|
|
62218
62222
|
windowY: d,
|
|
62219
62223
|
// Computed
|
|
62220
|
-
isDesktop:
|
|
62224
|
+
isDesktop: te,
|
|
62221
62225
|
lastOnPage: K,
|
|
62222
62226
|
pinHeaders: ie,
|
|
62223
|
-
scrollable:
|
|
62227
|
+
scrollable: ne,
|
|
62224
62228
|
scrollMax: Z,
|
|
62225
62229
|
showLeftScrollButton: ce,
|
|
62226
62230
|
showRightScrollButton: Y,
|
|
@@ -62233,7 +62237,7 @@ const V0e = /* @__PURE__ */ Ze(_0e, [["render", B0e], ["__scopeId", "data-v-9451
|
|
|
62233
62237
|
onUpdateCheckbox: Te,
|
|
62234
62238
|
onUpdateAllCheckboxes: Me,
|
|
62235
62239
|
getScrollButtonTop: he,
|
|
62236
|
-
scrollWatcher:
|
|
62240
|
+
scrollWatcher: re,
|
|
62237
62241
|
smoothScroll: ee,
|
|
62238
62242
|
triggerScrollLeft: pe,
|
|
62239
62243
|
triggerScrollRight: Se
|
|
@@ -63457,13 +63461,13 @@ function h2e(t, {
|
|
|
63457
63461
|
confirm: $,
|
|
63458
63462
|
range: F,
|
|
63459
63463
|
popupClass: U,
|
|
63460
|
-
popupStyle:
|
|
63464
|
+
popupStyle: te,
|
|
63461
63465
|
appendToBody: K
|
|
63462
63466
|
} = r, ie = {
|
|
63463
63467
|
value: v.value,
|
|
63464
63468
|
"onUpdate:value": b,
|
|
63465
63469
|
emit: g
|
|
63466
|
-
},
|
|
63470
|
+
}, ne = e.header && R("div", {
|
|
63467
63471
|
class: `${N}-datepicker-header`
|
|
63468
63472
|
}, [e.header(ie)]), Z = (e.footer || $) && R("div", {
|
|
63469
63473
|
class: `${N}-datepicker-footer`
|
|
@@ -63490,7 +63494,7 @@ function h2e(t, {
|
|
|
63490
63494
|
onBlur: c
|
|
63491
63495
|
}), $a(e, ["icon-calendar", "icon-clear", "input"])), R(qle, {
|
|
63492
63496
|
className: U,
|
|
63493
|
-
style:
|
|
63497
|
+
style: te,
|
|
63494
63498
|
visible: l.value,
|
|
63495
63499
|
appendToBody: K,
|
|
63496
63500
|
getRelativeElement: o,
|
|
@@ -63498,7 +63502,7 @@ function h2e(t, {
|
|
|
63498
63502
|
}, {
|
|
63499
63503
|
default: () => [Y, R("div", {
|
|
63500
63504
|
class: `${N}-datepicker-content`
|
|
63501
|
-
}, [
|
|
63505
|
+
}, [ne, ce, Z])]
|
|
63502
63506
|
})]);
|
|
63503
63507
|
};
|
|
63504
63508
|
}
|
|
@@ -63582,12 +63586,12 @@ function g2e({
|
|
|
63582
63586
|
firstDayOfWeek: b,
|
|
63583
63587
|
year: C,
|
|
63584
63588
|
month: E
|
|
63585
|
-
}), 7), T = (ie,
|
|
63589
|
+
}), 7), T = (ie, ne) => Yv(ie, ne, {
|
|
63586
63590
|
locale: h.formatLocale
|
|
63587
63591
|
}), N = (ie) => {
|
|
63588
63592
|
a(ie);
|
|
63589
63593
|
}, I = (ie) => {
|
|
63590
|
-
const
|
|
63594
|
+
const ne = ie.getAttribute("data-index"), [Z, ce] = ne.split(",").map((ae) => parseInt(ae, 10)), Y = M[Z][ce];
|
|
63591
63595
|
return new Date(Y);
|
|
63592
63596
|
}, $ = (ie) => {
|
|
63593
63597
|
o(I(ie.currentTarget));
|
|
@@ -63595,7 +63599,7 @@ function g2e({
|
|
|
63595
63599
|
u && u(I(ie.currentTarget));
|
|
63596
63600
|
}, U = (ie) => {
|
|
63597
63601
|
c && c(I(ie.currentTarget));
|
|
63598
|
-
},
|
|
63602
|
+
}, te = R("button", {
|
|
63599
63603
|
type: "button",
|
|
63600
63604
|
class: `${d}-btn ${d}-btn-text ${d}-btn-current-year`,
|
|
63601
63605
|
onClick: () => N("year")
|
|
@@ -63613,7 +63617,7 @@ function g2e({
|
|
|
63613
63617
|
calendar: t,
|
|
63614
63618
|
onUpdateCalendar: l
|
|
63615
63619
|
}, {
|
|
63616
|
-
default: () => [y ? [K,
|
|
63620
|
+
default: () => [y ? [K, te] : [te, K]]
|
|
63617
63621
|
}), R("div", {
|
|
63618
63622
|
class: `${d}-calendar-content`
|
|
63619
63623
|
}, [R("table", {
|
|
@@ -63622,20 +63626,20 @@ function g2e({
|
|
|
63622
63626
|
class: `${d}-week-number-header`
|
|
63623
63627
|
}, null), S.map((ie) => R("th", {
|
|
63624
63628
|
key: ie
|
|
63625
|
-
}, [ie]))])]), R("tbody", null, [M.map((ie,
|
|
63626
|
-
key:
|
|
63629
|
+
}, [ie]))])]), R("tbody", null, [M.map((ie, ne) => R("tr", {
|
|
63630
|
+
key: ne,
|
|
63627
63631
|
class: [`${d}-date-row`, {
|
|
63628
63632
|
[`${d}-active-week`]: i(ie)
|
|
63629
63633
|
}]
|
|
63630
63634
|
}, [n && R("td", {
|
|
63631
63635
|
class: `${d}-week-number`,
|
|
63632
|
-
"data-index": `${
|
|
63636
|
+
"data-index": `${ne},0`,
|
|
63633
63637
|
onClick: $
|
|
63634
63638
|
}, [R("div", null, [f(ie[0])])]), ie.map((Z, ce) => R("td", {
|
|
63635
63639
|
key: ce,
|
|
63636
63640
|
class: ["cell", s(Z)],
|
|
63637
63641
|
title: T(Z, r),
|
|
63638
|
-
"data-index": `${
|
|
63642
|
+
"data-index": `${ne},${ce}`,
|
|
63639
63643
|
onClick: $,
|
|
63640
63644
|
onMouseenter: F,
|
|
63641
63645
|
onMouseleave: U
|
|
@@ -67180,7 +67184,7 @@ const DP = (t) => {
|
|
|
67180
67184
|
fetchOptions: $
|
|
67181
67185
|
} = DP(m), F = e || fetch;
|
|
67182
67186
|
T = T ? (T + "").toLowerCase() : "text";
|
|
67183
|
-
let U = k1e([b, S && S.toAbortSignal()], C),
|
|
67187
|
+
let U = k1e([b, S && S.toAbortSignal()], C), te = null;
|
|
67184
67188
|
const K = U && U.unsubscribe && (() => {
|
|
67185
67189
|
U.unsubscribe();
|
|
67186
67190
|
});
|
|
@@ -67201,22 +67205,22 @@ const DP = (t) => {
|
|
|
67201
67205
|
}
|
|
67202
67206
|
}
|
|
67203
67207
|
se.isString(I) || (I = I ? "include" : "omit");
|
|
67204
|
-
const
|
|
67208
|
+
const ne = s && "credentials" in n.prototype, Z = {
|
|
67205
67209
|
...$,
|
|
67206
67210
|
signal: U,
|
|
67207
67211
|
method: g.toUpperCase(),
|
|
67208
67212
|
headers: N.normalize().toJSON(),
|
|
67209
67213
|
body: v,
|
|
67210
67214
|
duplex: "half",
|
|
67211
|
-
credentials:
|
|
67215
|
+
credentials: ne ? I : void 0
|
|
67212
67216
|
};
|
|
67213
|
-
|
|
67214
|
-
let ce = await (s ? F(
|
|
67217
|
+
te = s && new n(y, Z);
|
|
67218
|
+
let ce = await (s ? F(te, $) : F(y, Z));
|
|
67215
67219
|
const Y = c && (T === "stream" || T === "response");
|
|
67216
67220
|
if (c && (E || Y && K)) {
|
|
67217
67221
|
const de = {};
|
|
67218
|
-
["status", "statusText", "headers"].forEach((
|
|
67219
|
-
de[
|
|
67222
|
+
["status", "statusText", "headers"].forEach((re) => {
|
|
67223
|
+
de[re] = ce[re];
|
|
67220
67224
|
});
|
|
67221
67225
|
const he = se.toFiniteNumber(ce.headers.get("content-length")), [V, q] = E && lM(
|
|
67222
67226
|
he,
|
|
@@ -67238,16 +67242,16 @@ const DP = (t) => {
|
|
|
67238
67242
|
status: ce.status,
|
|
67239
67243
|
statusText: ce.statusText,
|
|
67240
67244
|
config: m,
|
|
67241
|
-
request:
|
|
67245
|
+
request: te
|
|
67242
67246
|
});
|
|
67243
67247
|
});
|
|
67244
|
-
} catch (
|
|
67245
|
-
throw K && K(),
|
|
67246
|
-
new Xe("Network Error", Xe.ERR_NETWORK, m,
|
|
67248
|
+
} catch (ne) {
|
|
67249
|
+
throw K && K(), ne && ne.name === "TypeError" && /Load failed|fetch/i.test(ne.message) ? Object.assign(
|
|
67250
|
+
new Xe("Network Error", Xe.ERR_NETWORK, m, te),
|
|
67247
67251
|
{
|
|
67248
|
-
cause:
|
|
67252
|
+
cause: ne.cause || ne
|
|
67249
67253
|
}
|
|
67250
|
-
) : Xe.from(
|
|
67254
|
+
) : Xe.from(ne, ne && ne.code, m, te);
|
|
67251
67255
|
}
|
|
67252
67256
|
};
|
|
67253
67257
|
}, O1e = /* @__PURE__ */ new Map(), xP = (t) => {
|
|
@@ -68006,12 +68010,12 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68006
68010
|
label: n("HC_HOTEL_GUEST")
|
|
68007
68011
|
// need to localize
|
|
68008
68012
|
}
|
|
68009
|
-
]), U = _(!1),
|
|
68013
|
+
]), U = _(!1), te = _(null), K = _({
|
|
68010
68014
|
endDate: /* @__PURE__ */ new Date(),
|
|
68011
68015
|
issue: null,
|
|
68012
68016
|
notes: "",
|
|
68013
68017
|
startDate: /* @__PURE__ */ new Date()
|
|
68014
|
-
}), ie = _([]),
|
|
68018
|
+
}), ie = _([]), ne = _(!1), Z = _([]), ce = _([
|
|
68015
68019
|
{
|
|
68016
68020
|
label: n("HC_COMPLAINT"),
|
|
68017
68021
|
id: "complaint"
|
|
@@ -68051,7 +68055,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68051
68055
|
default:
|
|
68052
68056
|
return "";
|
|
68053
68057
|
}
|
|
68054
|
-
}), q = G(() => V.value === "CLEAN" ? "blue-10" : V.value === "DIRTY" ? "red-10" : "gray-30"),
|
|
68058
|
+
}), q = G(() => V.value === "CLEAN" ? "blue-10" : V.value === "DIRTY" ? "red-10" : "gray-30"), re = G(() => {
|
|
68055
68059
|
var X;
|
|
68056
68060
|
return n(`HC_${(X = r.value.cleaning) == null ? void 0 : X.name}`) || "";
|
|
68057
68061
|
}), ee = G(() => {
|
|
@@ -68074,7 +68078,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68074
68078
|
return ((X = r.value.occupancy) == null ? void 0 : X.name) === "OCCUPIED";
|
|
68075
68079
|
}), We = G(() => Me.value && pe.value ? "HK_ROOM_STATUS_Occupied_Complaint" : "HK_ROOM_STATUS_Occupied"), De = G(() => {
|
|
68076
68080
|
var X;
|
|
68077
|
-
switch ((X =
|
|
68081
|
+
switch ((X = te.value) == null ? void 0 : X.id) {
|
|
68078
68082
|
case "request":
|
|
68079
68083
|
case "work_order":
|
|
68080
68084
|
return o.value[0];
|
|
@@ -68084,7 +68088,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68084
68088
|
}), Ve = G(() => {
|
|
68085
68089
|
var X;
|
|
68086
68090
|
if (d.value)
|
|
68087
|
-
switch ((X =
|
|
68091
|
+
switch ((X = te.value) == null ? void 0 : X.id) {
|
|
68088
68092
|
case "request":
|
|
68089
68093
|
return d.value.find((we) => parseInt(we.id) === 4);
|
|
68090
68094
|
case "work_order":
|
|
@@ -68095,7 +68099,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68095
68099
|
return null;
|
|
68096
68100
|
}), ct = G(() => {
|
|
68097
68101
|
var X;
|
|
68098
|
-
switch ((X =
|
|
68102
|
+
switch ((X = te.value) == null ? void 0 : X.id) {
|
|
68099
68103
|
case "request":
|
|
68100
68104
|
return F.value[1];
|
|
68101
68105
|
case "work_order":
|
|
@@ -68119,7 +68123,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68119
68123
|
return X = [...new Set(X)], X;
|
|
68120
68124
|
}), dn = G(() => {
|
|
68121
68125
|
var we;
|
|
68122
|
-
const X = (we =
|
|
68126
|
+
const X = (we = te.value) == null ? void 0 : we.id;
|
|
68123
68127
|
if (!X)
|
|
68124
68128
|
return !1;
|
|
68125
68129
|
switch (X.value) {
|
|
@@ -68135,7 +68139,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68135
68139
|
return !1;
|
|
68136
68140
|
}
|
|
68137
68141
|
}), Yr = () => {
|
|
68138
|
-
|
|
68142
|
+
ne.value = !1, I.value = !1, i.value = !1, b.value = [], E.value = [], he.value = [], te.value = null, K.value.issue = null, K.value.startDate = /* @__PURE__ */ new Date(), K.value.endDate = /* @__PURE__ */ new Date(), K.value.notes = "", l.value.guestName = "", l.value.guestEmail = "", l.value.guestPhone = "", l.value.guestMood = null, l.value.guestLoyalty = "", l.value.problem = null, l.value.checkInDate = /* @__PURE__ */ new Date(), l.value.checkOutDate = /* @__PURE__ */ new Date(), l.value.notes = "", de.value.assignType = null, de.value.department = null, de.value.person = null, de.value.due = /* @__PURE__ */ new Date(), de.value.item = null, de.value.issue = null, de.value.notes = "", $.value.assignType = null, $.value.department = null, $.value.person = null, $.value.due = /* @__PURE__ */ new Date(), $.value.item = null, $.value.notes = "";
|
|
68139
68143
|
}, Ts = async () => {
|
|
68140
68144
|
e("create:callback", r.value), e("toggle", !1);
|
|
68141
68145
|
}, Xt = (X) => {
|
|
@@ -68365,13 +68369,13 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68365
68369
|
}, Pe = async () => {
|
|
68366
68370
|
var we, fe;
|
|
68367
68371
|
const X = {
|
|
68368
|
-
type: (we =
|
|
68372
|
+
type: (we = te.value) == null ? void 0 : we.id,
|
|
68369
68373
|
propertyId: t.propertyId,
|
|
68370
68374
|
userId: ae.value,
|
|
68371
68375
|
areaId: r.value.qv2Rooms.qRoomId,
|
|
68372
68376
|
areaName: r.value.qv2Rooms.qRoomName
|
|
68373
68377
|
};
|
|
68374
|
-
switch ((fe =
|
|
68378
|
+
switch ((fe = te.value) == null ? void 0 : fe.id) {
|
|
68375
68379
|
case "complaint":
|
|
68376
68380
|
X.tokenId = r.value.tokenId, X.problem = l.value.problem.id, X.guestName = l.value.guestName, X.guestPhone = l.value.guestPhone, X.guestEmail = l.value.guestEmail, X.guestLoyalty = l.value.guestLoyalty, X.guestMood = l.value.guestMood.id, X.checkInDate = ht(l.value.checkInDate).format(
|
|
68377
68381
|
"YYYY-MM-DD"
|
|
@@ -68392,7 +68396,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68392
68396
|
}, kt = (X) => {
|
|
68393
68397
|
Al(), a.value = X;
|
|
68394
68398
|
}, ft = async (X) => {
|
|
68395
|
-
if (console.log("selected:", X),
|
|
68399
|
+
if (console.log("selected:", X), te.value = X, b.value = [], K.value.issue = null, l.value.problem = null, de.value.item = null, de.value.issue = null, $.value.item = null, !te.value)
|
|
68396
68400
|
return;
|
|
68397
68401
|
const we = new FormData();
|
|
68398
68402
|
switch (we.append("property_id", t.propertyId), we.append("area_id", r.value.qv2Rooms.qRoomId), X.id) {
|
|
@@ -68473,7 +68477,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68473
68477
|
return;
|
|
68474
68478
|
}
|
|
68475
68479
|
}, Yn = () => {
|
|
68476
|
-
|
|
68480
|
+
ne.value = !ne.value, i.value = !1;
|
|
68477
68481
|
}, Er = () => {
|
|
68478
68482
|
const X = document.getElementById("comment-field"), we = document.getElementById("hidden-text");
|
|
68479
68483
|
X.style.height = (we == null ? void 0 : we.offsetHeight) + "px";
|
|
@@ -68585,11 +68589,11 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68585
68589
|
request: $,
|
|
68586
68590
|
requestedByOptions: F,
|
|
68587
68591
|
requestLoading: U,
|
|
68588
|
-
requestType:
|
|
68592
|
+
requestType: te,
|
|
68589
68593
|
roomDetailsData: r,
|
|
68590
68594
|
roomNotice: K,
|
|
68591
68595
|
roomNotices: ie,
|
|
68592
|
-
showCreateRequest:
|
|
68596
|
+
showCreateRequest: ne,
|
|
68593
68597
|
ticketsList: Z,
|
|
68594
68598
|
todoOptions: ce,
|
|
68595
68599
|
trigger: Y,
|
|
@@ -68599,7 +68603,7 @@ const F1e = /* @__PURE__ */ Ze(_1e, [["render", $1e], ["__scopeId", "data-v-1a01
|
|
|
68599
68603
|
// Computed
|
|
68600
68604
|
cleanliness: V,
|
|
68601
68605
|
cleanlinessColor: q,
|
|
68602
|
-
cleanlinessTooltipContent:
|
|
68606
|
+
cleanlinessTooltipContent: re,
|
|
68603
68607
|
filteredReplies: ee,
|
|
68604
68608
|
hasGuestCallback: Se,
|
|
68605
68609
|
hasComplaint: pe,
|
|
@@ -72368,13 +72372,13 @@ var db = {
|
|
|
72368
72372
|
return F ? F > U ? F - U : F : 0;
|
|
72369
72373
|
}, l = function(F, U) {
|
|
72370
72374
|
return Math.floor(F / (U || F));
|
|
72371
|
-
}, u = function(F, U,
|
|
72372
|
-
return F <= ie ? ie :
|
|
72373
|
-
}, c = function(F, U,
|
|
72374
|
-
return F <=
|
|
72375
|
-
}, d = function(F, U,
|
|
72375
|
+
}, u = function(F, U, te, K, ie, ne) {
|
|
72376
|
+
return F <= ie ? ie : ne ? te - K - ie : U + ie - 1;
|
|
72377
|
+
}, c = function(F, U, te, K, ie, ne, Z) {
|
|
72378
|
+
return F <= ne ? 0 : Math.max(0, Z ? F < U ? te : F - ne : F > U ? te : F - 2 * ne);
|
|
72379
|
+
}, d = function(F, U, te, K, ie, ne) {
|
|
72376
72380
|
var Z = U + K + 2 * ie;
|
|
72377
|
-
return F >= ie && (Z += ie + 1), n.getLast(Z,
|
|
72381
|
+
return F >= ie && (Z += ie + 1), n.getLast(Z, ne);
|
|
72378
72382
|
}, f = a(r.scrollTop, o.top), h = a(r.scrollLeft, o.left), m = i ? {
|
|
72379
72383
|
rows: 0,
|
|
72380
72384
|
cols: 0
|
|
@@ -82805,12 +82809,12 @@ const dge = Oe({
|
|
|
82805
82809
|
const q = document.querySelector(
|
|
82806
82810
|
'div[data-pc-section="header"] > div[data-pc-section="wrapper"]'
|
|
82807
82811
|
);
|
|
82808
|
-
(V = q == null ? void 0 : q.querySelectorAll("th")) == null || V.forEach((
|
|
82812
|
+
(V = q == null ? void 0 : q.querySelectorAll("th")) == null || V.forEach((re, ee) => {
|
|
82809
82813
|
var Te;
|
|
82810
82814
|
const pe = (Te = d.value) == null ? void 0 : Te.querySelector(
|
|
82811
82815
|
`th:nth-child(${ee + 1})`
|
|
82812
82816
|
), Se = pe == null ? void 0 : pe.getAttribute("aria-sort");
|
|
82813
|
-
|
|
82817
|
+
re == null || re.setAttribute("aria-sort", Se), re.classList.contains("actions") && (re.style.minWidth = (pe == null ? void 0 : pe.clientWidth) + "px");
|
|
82814
82818
|
}), q && (q.scrollLeft = d.value.scrollLeft);
|
|
82815
82819
|
}
|
|
82816
82820
|
U(), N(), Z();
|
|
@@ -82831,13 +82835,13 @@ const dge = Oe({
|
|
|
82831
82835
|
if (Y) {
|
|
82832
82836
|
const q = document.querySelector('div[data-pc-section="header"]');
|
|
82833
82837
|
q == null || q.append(Y);
|
|
82834
|
-
const
|
|
82835
|
-
(de =
|
|
82836
|
-
d.value.scrollLeft =
|
|
82838
|
+
const re = q == null ? void 0 : q.querySelector('div[data-pc-section="wrapper"]');
|
|
82839
|
+
(de = re == null ? void 0 : re.querySelector("tbody")) == null || de.remove(), re == null || re.addEventListener("scroll", () => {
|
|
82840
|
+
d.value.scrollLeft = re.scrollLeft, N(), Z();
|
|
82837
82841
|
}), (he = d.value) == null || he.addEventListener("scroll", () => {
|
|
82838
82842
|
var ee;
|
|
82839
|
-
|
|
82840
|
-
}), (V =
|
|
82843
|
+
re.scrollLeft = d.value.scrollLeft, N(), (ee = d.value) == null || ee.setAttribute("data-scroll", d.value.scrollLeft.toString()), Z();
|
|
82844
|
+
}), (V = re == null ? void 0 : re.querySelectorAll("th")) == null || V.forEach((ee, pe) => {
|
|
82841
82845
|
ee == null || ee.addEventListener("click", async () => {
|
|
82842
82846
|
var Se;
|
|
82843
82847
|
if (s.value && i.value) {
|
|
@@ -82855,7 +82859,7 @@ const dge = Oe({
|
|
|
82855
82859
|
}, U = () => {
|
|
82856
82860
|
const Y = d.value.clientWidth + "px", ae = document.querySelector('div[data-pc-section="header"]'), de = ae.querySelector('div[data-pc-section="wrapper"] thead');
|
|
82857
82861
|
ae.style.width = Y, d.value.querySelector("thead").style.width = Y, de && (de.style.width = Y);
|
|
82858
|
-
},
|
|
82862
|
+
}, te = () => {
|
|
82859
82863
|
if (d.value) {
|
|
82860
82864
|
const Y = -Math.min(
|
|
82861
82865
|
t.leftScrollAmount,
|
|
@@ -82891,26 +82895,26 @@ const dge = Oe({
|
|
|
82891
82895
|
type: "",
|
|
82892
82896
|
size: "md",
|
|
82893
82897
|
class: "p-[0.1875rem]"
|
|
82894
|
-
}),
|
|
82898
|
+
}), re = Zn(hu, {
|
|
82895
82899
|
icon: "chevron-right",
|
|
82896
82900
|
type: "",
|
|
82897
82901
|
size: "md",
|
|
82898
82902
|
class: "p-[0.1875rem]"
|
|
82899
82903
|
}), ee = (ae = m.value) == null ? void 0 : ae.querySelector(".scroll-button.scroll-left"), pe = (de = m.value) == null ? void 0 : de.querySelector(".scroll-button.scroll-right");
|
|
82900
|
-
kb(q, ee), kb(
|
|
82904
|
+
kb(q, ee), kb(re, pe), ee == null || ee.addEventListener("click", te), pe == null || pe.addEventListener("click", K), Z();
|
|
82901
82905
|
}
|
|
82902
|
-
},
|
|
82906
|
+
}, ne = () => {
|
|
82903
82907
|
var Y, ae;
|
|
82904
82908
|
(ae = (Y = m.value) == null ? void 0 : Y.querySelectorAll(".scroll-button")) == null || ae.forEach((de) => {
|
|
82905
82909
|
de.remove();
|
|
82906
82910
|
});
|
|
82907
82911
|
}, Z = () => {
|
|
82908
82912
|
var ee, pe, Se, Te;
|
|
82909
|
-
const Y = (ee = m.value) == null ? void 0 : ee.querySelector(".scroll-button.scroll-left"), ae = (pe = m.value) == null ? void 0 : pe.querySelector(".scroll-button.scroll-right"), de = (Se = d.value) == null ? void 0 : Se.querySelector("td.sticky:first-child"), he = (Te = m.value) == null ? void 0 : Te.getBoundingClientRect(), V = document.querySelector('div[data-pc-section="header"]'), q = (V == null ? void 0 : V.getBoundingClientRect().height) || 0,
|
|
82910
|
-
if (m.value && he &&
|
|
82913
|
+
const Y = (ee = m.value) == null ? void 0 : ee.querySelector(".scroll-button.scroll-left"), ae = (pe = m.value) == null ? void 0 : pe.querySelector(".scroll-button.scroll-right"), de = (Se = d.value) == null ? void 0 : Se.querySelector("td.sticky:first-child"), he = (Te = m.value) == null ? void 0 : Te.getBoundingClientRect(), V = document.querySelector('div[data-pc-section="header"]'), q = (V == null ? void 0 : V.getBoundingClientRect().height) || 0, re = d.value;
|
|
82914
|
+
if (m.value && he && re) {
|
|
82911
82915
|
const Me = (de == null ? void 0 : de.getBoundingClientRect().width) || 0;
|
|
82912
82916
|
m.value.style.setProperty("--first-sticky-width", `${Me}px`);
|
|
82913
|
-
const We =
|
|
82917
|
+
const We = re.getBoundingClientRect(), De = Math.max(We.top, q), Ve = Math.min(We.bottom, window.innerHeight), ct = De < window.innerHeight && Ve > q, Ot = Ve - De, qt = De + Ot / 2;
|
|
82914
82918
|
if (Y && ae)
|
|
82915
82919
|
if (ct && i.value) {
|
|
82916
82920
|
Y.classList.remove("hidden"), ae.classList.remove("hidden");
|
|
@@ -82941,7 +82945,7 @@ const dge = Oe({
|
|
|
82941
82945
|
isScrolledToStart: u,
|
|
82942
82946
|
noResultsPath: c,
|
|
82943
82947
|
scrollableElement: d,
|
|
82944
|
-
scrollLeft:
|
|
82948
|
+
scrollLeft: te,
|
|
82945
82949
|
scrollRight: K,
|
|
82946
82950
|
search: f,
|
|
82947
82951
|
selectedRows: h,
|
|
@@ -82958,7 +82962,7 @@ const dge = Oe({
|
|
|
82958
82962
|
onPageResizeOrLoad: C,
|
|
82959
82963
|
onSelectRow: E,
|
|
82960
82964
|
onUnselectRow: M,
|
|
82961
|
-
removeScrollButtons:
|
|
82965
|
+
removeScrollButtons: ne,
|
|
82962
82966
|
setSticky: I,
|
|
82963
82967
|
// Composable
|
|
82964
82968
|
mq: Rn,
|
|
@@ -83417,22 +83421,22 @@ const a4e = /* @__PURE__ */ Ze(Ige, [["render", Nge], ["__scopeId", "data-v-3862
|
|
|
83417
83421
|
for (const N of b) {
|
|
83418
83422
|
const I = N === "t" || N === "b";
|
|
83419
83423
|
let $ = m[N];
|
|
83420
|
-
const [F, U] = I ? ["top", "left"] : ["left", "top"], [
|
|
83421
|
-
if (!($ < Z || $ +
|
|
83424
|
+
const [F, U] = I ? ["top", "left"] : ["left", "top"], [te, K] = I ? [h.height, h.width] : [h.width, h.height], [ie, ne] = I ? [M, T] : [T, M], [Z, ce] = I ? [C, E] : [E, C];
|
|
83425
|
+
if (!($ < Z || $ + te + o > ie))
|
|
83422
83426
|
for (const Y of S) {
|
|
83423
83427
|
let ae = y[(I ? "v" : "h") + Y];
|
|
83424
|
-
if (!(ae < ce || ae + K + o >
|
|
83428
|
+
if (!(ae < ce || ae + K + o > ne)) {
|
|
83425
83429
|
if (ae -= h[U], $ -= h[F], e.style[U] = `${ae}px`, e.style[F] = `${$}px`, i) {
|
|
83426
83430
|
const de = I ? f.width / 2 : f.height / 2, he = K / 2, V = de > he, q = {
|
|
83427
83431
|
s: V ? he : de,
|
|
83428
83432
|
m: he,
|
|
83429
83433
|
e: V ? he : K - de
|
|
83430
|
-
},
|
|
83431
|
-
t:
|
|
83434
|
+
}, re = {
|
|
83435
|
+
t: te,
|
|
83432
83436
|
b: 0,
|
|
83433
83437
|
r: 0,
|
|
83434
|
-
l:
|
|
83435
|
-
}, ee = ae + q[Y], pe = $ +
|
|
83438
|
+
l: te
|
|
83439
|
+
}, ee = ae + q[Y], pe = $ + re[N];
|
|
83436
83440
|
i.style[U] = `${ee}px`, i.style[F] = `${pe}px`;
|
|
83437
83441
|
}
|
|
83438
83442
|
return N + Y;
|
|
@@ -83637,12 +83641,12 @@ const a4e = /* @__PURE__ */ Ze(Ige, [["render", Nge], ["__scopeId", "data-v-3862
|
|
|
83637
83641
|
), U();
|
|
83638
83642
|
}, F = async (Y) => {
|
|
83639
83643
|
var de, he, V, q;
|
|
83640
|
-
document.querySelectorAll(".tour-highlight").forEach((
|
|
83644
|
+
document.querySelectorAll(".tour-highlight").forEach((re) => re.classList.remove("tour-highlight"));
|
|
83641
83645
|
const ae = document.querySelector(`#${s}`);
|
|
83642
83646
|
ae && (ae.style.clipPath = ""), (de = l.value) == null || de.setAttribute("data-hidden", ""), await ((V = (he = d.value[Y]) == null ? void 0 : he.onBefore) == null ? void 0 : V.call(he)), (q = l.value) == null || q.removeAttribute("data-hidden");
|
|
83643
83647
|
}, U = async () => {
|
|
83644
|
-
var q,
|
|
83645
|
-
if (
|
|
83648
|
+
var q, re, ee, pe, Se;
|
|
83649
|
+
if (te(), K(), (q = l.value) == null || q.setAttribute("data-hidden", ""), f.getCurrentStep.tooltipWidth ? (re = l.value) == null || re.style.setProperty("width", f.getCurrentStep.tooltipWidth) : (ee = l.value) == null || ee.style.removeProperty("width"), !t.noScroll && !f.getCurrentStep.noScroll) {
|
|
83646
83650
|
const Te = document.querySelector(
|
|
83647
83651
|
f.getCurrentStep.target
|
|
83648
83652
|
);
|
|
@@ -83688,7 +83692,7 @@ const a4e = /* @__PURE__ */ Ze(Ige, [["render", Nge], ["__scopeId", "data-v-3862
|
|
|
83688
83692
|
`tour-current-${t.name}`,
|
|
83689
83693
|
f.currentStep.toString()
|
|
83690
83694
|
), y(f.currentStep)), e("onTourStep");
|
|
83691
|
-
},
|
|
83695
|
+
}, te = () => {
|
|
83692
83696
|
if (document.querySelectorAll(".tour-highlight").forEach(
|
|
83693
83697
|
(de) => de.classList.remove("tour-highlight")
|
|
83694
83698
|
), !(t.highlight && f.getCurrentStep.highlight !== !1 || f.getCurrentStep.highlight === !0)) return;
|
|
@@ -83709,19 +83713,19 @@ const a4e = /* @__PURE__ */ Ze(Ige, [["render", Nge], ["__scopeId", "data-v-3862
|
|
|
83709
83713
|
Y.setAttribute("data-hidden", "");
|
|
83710
83714
|
return;
|
|
83711
83715
|
}
|
|
83712
|
-
const he = de.getBoundingClientRect(), V = f.getCurrentStep.clipPaddingHorizontal ?? f.getCurrentStep.clipPadding ?? 0, q = f.getCurrentStep.clipPaddingVertical ?? f.getCurrentStep.clipPadding ?? 0,
|
|
83716
|
+
const he = de.getBoundingClientRect(), V = f.getCurrentStep.clipPaddingHorizontal ?? f.getCurrentStep.clipPadding ?? 0, q = f.getCurrentStep.clipPaddingVertical ?? f.getCurrentStep.clipPadding ?? 0, re = t.outlineWidth ?? 4, ee = f.getCurrentStep.clipWidth ?? he.width, pe = f.getCurrentStep.clipHeight ?? he.height, Se = f.getCurrentStep.clipAlign ?? "center";
|
|
83713
83717
|
let Te, Me;
|
|
83714
83718
|
Se === "left" ? Te = he.left : Se === "right" ? Te = he.right - ee : Te = he.left + he.width / 2 - ee / 2, Se === "top" ? Me = he.top : Se === "bottom" ? Me = he.bottom - pe : Me = he.top + he.height / 2 - pe / 2;
|
|
83715
|
-
const We = Te + ee, De = Me + pe, Ve = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${Te - V},${Me - q} L ${We + V},${Me - q} L ${We + V},${De + q} L ${Te - V},${De + q} Z')`, ct = `path('M ${Te - V -
|
|
83719
|
+
const We = Te + ee, De = Me + pe, Ve = `path('M 0,0 L 0,${window.innerHeight} L ${window.innerWidth},${window.innerHeight} L ${window.innerWidth},0 Z M ${Te - V},${Me - q} L ${We + V},${Me - q} L ${We + V},${De + q} L ${Te - V},${De + q} Z')`, ct = `path('M ${Te - V - re},${Me - q - re} L ${We + V + re},${Me - q - re} L ${We + V + re},${De + q + re} L ${Te - V - re},${De + q + re} Z')`;
|
|
83716
83720
|
Y.style.clipPath = Ve, t.highlight && f.getCurrentStep.highlight !== !1 ? ae.style.clipPath = ct : ae.style.clipPath = "none", Y.removeAttribute("data-hidden");
|
|
83717
83721
|
}, ie = () => {
|
|
83718
83722
|
u.value = !u.value;
|
|
83719
|
-
},
|
|
83723
|
+
}, ne = (Y) => {
|
|
83720
83724
|
u.value = !1, localStorage.setItem(`tour-current-${t.name}`, Y.toString()), S();
|
|
83721
83725
|
}, Z = (Y) => c.value.has(Y), ce = () => {
|
|
83722
83726
|
if (f.getCurrentStep) {
|
|
83723
83727
|
const Y = f.getCurrentStep.fixedPositioning !== void 0 ? f.getCurrentStep.fixedPositioning : t.fixedPositioning;
|
|
83724
|
-
K(),
|
|
83728
|
+
K(), te(), Y ? U() : window.requestAnimationFrame(() => {
|
|
83725
83729
|
U();
|
|
83726
83730
|
});
|
|
83727
83731
|
}
|
|
@@ -83758,7 +83762,7 @@ const a4e = /* @__PURE__ */ Ze(Ige, [["render", Nge], ["__scopeId", "data-v-3862
|
|
|
83758
83762
|
arrowId: o,
|
|
83759
83763
|
showPopover: u,
|
|
83760
83764
|
togglePopover: ie,
|
|
83761
|
-
startStepFromPopover:
|
|
83765
|
+
startStepFromPopover: ne,
|
|
83762
83766
|
isStepViewed: Z,
|
|
83763
83767
|
visibleSteps: d,
|
|
83764
83768
|
viewedSteps: c
|