@arbocollab/arbo-plugin-item-table 0.0.3 → 0.0.4
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/lib/es/index.es.js +509 -505
- package/lib/style.css +1 -1
- package/lib/umd/index.umd.js +34 -34
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -1208,20 +1208,20 @@ function xM(e, t, n = Lt) {
|
|
|
1208
1208
|
if (!(!(d.flags & 1) || !d.dirty && !R))
|
|
1209
1209
|
if (t) {
|
|
1210
1210
|
const S = d.run();
|
|
1211
|
-
if (s || y || (v ? S.some((F,
|
|
1211
|
+
if (s || y || (v ? S.some((F, k) => fi(F, x[k])) : fi(S, x))) {
|
|
1212
1212
|
f && f();
|
|
1213
1213
|
const F = Jr;
|
|
1214
1214
|
Jr = d;
|
|
1215
1215
|
try {
|
|
1216
|
-
const
|
|
1216
|
+
const k = [
|
|
1217
1217
|
S,
|
|
1218
1218
|
// pass undefined as the old value when it's changed for the first time
|
|
1219
1219
|
x === ch ? void 0 : v && x[0] === ch ? [] : x,
|
|
1220
1220
|
g
|
|
1221
1221
|
];
|
|
1222
|
-
x = S, l ? l(t, 3,
|
|
1222
|
+
x = S, l ? l(t, 3, k) : (
|
|
1223
1223
|
// @ts-expect-error
|
|
1224
|
-
t(...
|
|
1224
|
+
t(...k)
|
|
1225
1225
|
);
|
|
1226
1226
|
} finally {
|
|
1227
1227
|
Jr = F;
|
|
@@ -1795,8 +1795,8 @@ function Tv(e, t, n, i, s) {
|
|
|
1795
1795
|
);
|
|
1796
1796
|
}, F = (O, A) => {
|
|
1797
1797
|
const _ = A[1];
|
|
1798
|
-
S(O, A), at(O) ? O.every((
|
|
1799
|
-
},
|
|
1798
|
+
S(O, A), at(O) ? O.every((I) => I.length <= 1) && _() : O.length <= 1 && _();
|
|
1799
|
+
}, k = {
|
|
1800
1800
|
mode: r,
|
|
1801
1801
|
persisted: a,
|
|
1802
1802
|
beforeEnter(O) {
|
|
@@ -1814,15 +1814,15 @@ function Tv(e, t, n, i, s) {
|
|
|
1814
1814
|
_ && dl(e, _) && _.el[Qr] && _.el[Qr](), S(A, [O]);
|
|
1815
1815
|
},
|
|
1816
1816
|
enter(O) {
|
|
1817
|
-
let A = c, _ = u,
|
|
1817
|
+
let A = c, _ = u, I = d;
|
|
1818
1818
|
if (!n.isMounted)
|
|
1819
1819
|
if (o)
|
|
1820
|
-
A = b || c, _ = E || u,
|
|
1820
|
+
A = b || c, _ = E || u, I = x || d;
|
|
1821
1821
|
else
|
|
1822
1822
|
return;
|
|
1823
1823
|
let $ = !1;
|
|
1824
1824
|
const z = O[uh] = (ge) => {
|
|
1825
|
-
$ || ($ = !0, ge ? S(
|
|
1825
|
+
$ || ($ = !0, ge ? S(I, [O]) : S(_, [O]), k.delayedLeave && k.delayedLeave(), O[uh] = void 0);
|
|
1826
1826
|
};
|
|
1827
1827
|
A ? F(A, [O, z]) : z();
|
|
1828
1828
|
},
|
|
@@ -1834,9 +1834,9 @@ function Tv(e, t, n, i, s) {
|
|
|
1834
1834
|
), n.isUnmounting)
|
|
1835
1835
|
return A();
|
|
1836
1836
|
S(h, [O]);
|
|
1837
|
-
let
|
|
1837
|
+
let I = !1;
|
|
1838
1838
|
const $ = O[Qr] = (z) => {
|
|
1839
|
-
|
|
1839
|
+
I || (I = !0, A(), z ? S(y, [O]) : S(g, [O]), O[Qr] = void 0, R[_] === e && delete R[_]);
|
|
1840
1840
|
};
|
|
1841
1841
|
R[_] = e, f ? F(f, [O, $]) : $();
|
|
1842
1842
|
},
|
|
@@ -1849,7 +1849,7 @@ function Tv(e, t, n, i, s) {
|
|
|
1849
1849
|
);
|
|
1850
1850
|
}
|
|
1851
1851
|
};
|
|
1852
|
-
return
|
|
1852
|
+
return k;
|
|
1853
1853
|
}
|
|
1854
1854
|
function Au(e, t) {
|
|
1855
1855
|
e.shapeFlag & 6 && e.component ? (e.transition = t, Au(e.component.subTree, t)) : e.shapeFlag & 128 ? (e.ssContent.transition = t.clone(e.ssContent), e.ssFallback.transition = t.clone(e.ssFallback)) : e.transition = t;
|
|
@@ -2354,13 +2354,13 @@ function fL(e) {
|
|
|
2354
2354
|
render: R,
|
|
2355
2355
|
renderTracked: S,
|
|
2356
2356
|
renderTriggered: F,
|
|
2357
|
-
errorCaptured:
|
|
2357
|
+
errorCaptured: k,
|
|
2358
2358
|
serverPrefetch: O,
|
|
2359
2359
|
// public API
|
|
2360
2360
|
expose: A,
|
|
2361
2361
|
inheritAttrs: _,
|
|
2362
2362
|
// assets
|
|
2363
|
-
components:
|
|
2363
|
+
components: I,
|
|
2364
2364
|
directives: $,
|
|
2365
2365
|
filters: z
|
|
2366
2366
|
} = t, ge = L.env.NODE_ENV !== "production" ? hL() : null;
|
|
@@ -2432,7 +2432,7 @@ function fL(e) {
|
|
|
2432
2432
|
function U(B, Q) {
|
|
2433
2433
|
at(Q) ? Q.forEach((H) => B(H.bind(n))) : Q && B(Q.bind(n));
|
|
2434
2434
|
}
|
|
2435
|
-
if (U(xC, d), U(cn, h), U(Bx, f), U(Bp, g), U(XM, y), U(eL, v), U(oL,
|
|
2435
|
+
if (U(xC, d), U(cn, h), U(Bx, f), U(Bp, g), U(XM, y), U(eL, v), U(oL, k), U(sL, S), U(iL, F), U($n, E), U(lc, w), U(nL, O), at(A))
|
|
2436
2436
|
if (A.length) {
|
|
2437
2437
|
const B = e.exposed || (e.exposed = {});
|
|
2438
2438
|
A.forEach((Q) => {
|
|
@@ -2443,7 +2443,7 @@ function fL(e) {
|
|
|
2443
2443
|
});
|
|
2444
2444
|
});
|
|
2445
2445
|
} else e.exposed || (e.exposed = {});
|
|
2446
|
-
R && e.render === In && (e.render = R), _ != null && (e.inheritAttrs = _),
|
|
2446
|
+
R && e.render === In && (e.render = R), _ != null && (e.inheritAttrs = _), I && (e.components = I), $ && (e.directives = $), O && Nx(e);
|
|
2447
2447
|
}
|
|
2448
2448
|
function pL(e, t, n = In) {
|
|
2449
2449
|
at(e) && (e = kv(e));
|
|
@@ -2922,12 +2922,12 @@ function yS(e) {
|
|
|
2922
2922
|
try {
|
|
2923
2923
|
if (n.shapeFlag & 4) {
|
|
2924
2924
|
const R = s || i, S = L.env.NODE_ENV !== "production" && f.__isScriptSetup ? new Proxy(R, {
|
|
2925
|
-
get(F,
|
|
2925
|
+
get(F, k, O) {
|
|
2926
2926
|
return Ne(
|
|
2927
2927
|
`Property '${String(
|
|
2928
|
-
|
|
2928
|
+
k
|
|
2929
2929
|
)}' was accessed via 'this'. Avoid using 'this' in templates.`
|
|
2930
|
-
), Reflect.get(F,
|
|
2930
|
+
), Reflect.get(F, k, O);
|
|
2931
2931
|
}
|
|
2932
2932
|
}) : R;
|
|
2933
2933
|
b = cs(
|
|
@@ -2972,15 +2972,15 @@ function yS(e) {
|
|
|
2972
2972
|
o
|
|
2973
2973
|
)), x = Io(x, E, !1, !0);
|
|
2974
2974
|
else if (L.env.NODE_ENV !== "production" && !Mv && x.type !== ui) {
|
|
2975
|
-
const F = Object.keys(a),
|
|
2975
|
+
const F = Object.keys(a), k = [], O = [];
|
|
2976
2976
|
for (let A = 0, _ = F.length; A < _; A++) {
|
|
2977
|
-
const
|
|
2978
|
-
ud(
|
|
2977
|
+
const I = F[A];
|
|
2978
|
+
ud(I) ? xf(I) || k.push(I[2].toLowerCase() + I.slice(3)) : O.push(I);
|
|
2979
2979
|
}
|
|
2980
2980
|
O.length && Ne(
|
|
2981
2981
|
`Extraneous non-props attributes (${O.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
2982
|
-
),
|
|
2983
|
-
`Extraneous non-emits event listeners (${
|
|
2982
|
+
), k.length && Ne(
|
|
2983
|
+
`Extraneous non-emits event listeners (${k.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`
|
|
2984
2984
|
);
|
|
2985
2985
|
}
|
|
2986
2986
|
}
|
|
@@ -3579,7 +3579,7 @@ function jL(e, t) {
|
|
|
3579
3579
|
sm(N, Re),
|
|
3580
3580
|
Le,
|
|
3581
3581
|
Oe
|
|
3582
|
-
), rt && Wr(N, null, _e, "created"),
|
|
3582
|
+
), rt && Wr(N, null, _e, "created"), k(Te, N, N.scopeId, Le, _e), et) {
|
|
3583
3583
|
for (const we in et)
|
|
3584
3584
|
we !== "value" && !su(we) && o(Te, we, null, et[we], Re, _e);
|
|
3585
3585
|
"value" in et && o(Te, "value", null, et.value, Re), (Fe = et.onVnodeBeforeMount) && Ps(Fe, _e, N);
|
|
@@ -3589,7 +3589,7 @@ function jL(e, t) {
|
|
|
3589
3589
|
Dt && tt.beforeEnter(Te), i(Te, W, ce), ((Fe = et && et.onVnodeMounted) || Dt || rt) && Fi(() => {
|
|
3590
3590
|
Fe && Ps(Fe, _e, N), Dt && tt.enter(Te), rt && Wr(N, null, _e, "mounted");
|
|
3591
3591
|
}, be);
|
|
3592
|
-
},
|
|
3592
|
+
}, k = (N, W, ce, _e, be) => {
|
|
3593
3593
|
if (ce && f(N, ce), _e)
|
|
3594
3594
|
for (let Re = 0; Re < _e.length; Re++)
|
|
3595
3595
|
f(N, _e[Re]);
|
|
@@ -3597,7 +3597,7 @@ function jL(e, t) {
|
|
|
3597
3597
|
let Re = be.subTree;
|
|
3598
3598
|
if (L.env.NODE_ENV !== "production" && Re.patchFlag > 0 && Re.patchFlag & 2048 && (Re = IC(Re.children) || Re), W === Re || aT(Re.type) && (Re.ssContent === W || Re.ssFallback === W)) {
|
|
3599
3599
|
const Le = be.vnode;
|
|
3600
|
-
|
|
3600
|
+
k(
|
|
3601
3601
|
N,
|
|
3602
3602
|
Le,
|
|
3603
3603
|
Le.scopeId,
|
|
@@ -3648,7 +3648,7 @@ function jL(e, t) {
|
|
|
3648
3648
|
!1
|
|
3649
3649
|
), Te > 0) {
|
|
3650
3650
|
if (Te & 16)
|
|
3651
|
-
|
|
3651
|
+
I(Oe, He, tt, ce, be);
|
|
3652
3652
|
else if (Te & 2 && He.class !== tt.class && o(Oe, "class", null, tt.class, be), Te & 4 && o(Oe, "style", He.style, tt.style, be), Te & 8) {
|
|
3653
3653
|
const Dt = W.dynamicProps;
|
|
3654
3654
|
for (let we = 0; we < Dt.length; we++) {
|
|
@@ -3657,7 +3657,7 @@ function jL(e, t) {
|
|
|
3657
3657
|
}
|
|
3658
3658
|
}
|
|
3659
3659
|
Te & 1 && N.children !== W.children && u(Oe, W.children);
|
|
3660
|
-
} else !Le && Fe == null &&
|
|
3660
|
+
} else !Le && Fe == null && I(Oe, He, tt, ce, be);
|
|
3661
3661
|
((rt = tt.onVnodeUpdated) || et) && Fi(() => {
|
|
3662
3662
|
rt && Ps(rt, ce, W, N), et && Wr(W, N, ce, "updated");
|
|
3663
3663
|
}, _e);
|
|
@@ -3689,7 +3689,7 @@ function jL(e, t) {
|
|
|
3689
3689
|
!0
|
|
3690
3690
|
);
|
|
3691
3691
|
}
|
|
3692
|
-
},
|
|
3692
|
+
}, I = (N, W, ce, _e, be) => {
|
|
3693
3693
|
if (W !== ce) {
|
|
3694
3694
|
if (W !== Lt)
|
|
3695
3695
|
for (const Re in W)
|
|
@@ -5058,8 +5058,8 @@ const mT = Hv ? (e) => Hv.createHTML(e) : (e) => e, cN = "http://www.w3.org/2000
|
|
|
5058
5058
|
}, IS = (e) => e ? at(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1;
|
|
5059
5059
|
function fN(e) {
|
|
5060
5060
|
const t = {};
|
|
5061
|
-
for (const
|
|
5062
|
-
|
|
5061
|
+
for (const I in e)
|
|
5062
|
+
I in vT || (t[I] = e[I]);
|
|
5063
5063
|
if (e.css === !1)
|
|
5064
5064
|
return t;
|
|
5065
5065
|
const {
|
|
@@ -5083,41 +5083,41 @@ function fN(e) {
|
|
|
5083
5083
|
onLeaveCancelled: R,
|
|
5084
5084
|
onBeforeAppear: S = b,
|
|
5085
5085
|
onAppear: F = E,
|
|
5086
|
-
onAppearCancelled:
|
|
5087
|
-
} = t, O = (
|
|
5088
|
-
|
|
5089
|
-
}, A = (
|
|
5090
|
-
|
|
5091
|
-
}, _ = (
|
|
5092
|
-
const ge =
|
|
5086
|
+
onAppearCancelled: k = x
|
|
5087
|
+
} = t, O = (I, $, z, ge) => {
|
|
5088
|
+
I._enterCancelled = ge, lr(I, $ ? u : a), lr(I, $ ? c : r), z && z();
|
|
5089
|
+
}, A = (I, $) => {
|
|
5090
|
+
I._isLeaving = !1, lr(I, d), lr(I, f), lr(I, h), $ && $();
|
|
5091
|
+
}, _ = (I) => ($, z) => {
|
|
5092
|
+
const ge = I ? F : E, U = () => O($, I, z);
|
|
5093
5093
|
Ur(ge, [$, U]), kS(() => {
|
|
5094
|
-
lr($,
|
|
5094
|
+
lr($, I ? l : o), Os($, I ? u : a), IS(ge) || OS($, i, y, U);
|
|
5095
5095
|
});
|
|
5096
5096
|
};
|
|
5097
5097
|
return ln(t, {
|
|
5098
|
-
onBeforeEnter(
|
|
5099
|
-
Ur(b, [
|
|
5098
|
+
onBeforeEnter(I) {
|
|
5099
|
+
Ur(b, [I]), Os(I, o), Os(I, r);
|
|
5100
5100
|
},
|
|
5101
|
-
onBeforeAppear(
|
|
5102
|
-
Ur(S, [
|
|
5101
|
+
onBeforeAppear(I) {
|
|
5102
|
+
Ur(S, [I]), Os(I, l), Os(I, c);
|
|
5103
5103
|
},
|
|
5104
5104
|
onEnter: _(!1),
|
|
5105
5105
|
onAppear: _(!0),
|
|
5106
|
-
onLeave(
|
|
5107
|
-
|
|
5108
|
-
const z = () => A(
|
|
5109
|
-
Os(
|
|
5110
|
-
|
|
5111
|
-
}), Ur(w, [
|
|
5106
|
+
onLeave(I, $) {
|
|
5107
|
+
I._isLeaving = !0;
|
|
5108
|
+
const z = () => A(I, $);
|
|
5109
|
+
Os(I, d), I._enterCancelled ? (Os(I, h), Gv(I)) : (Gv(I), Os(I, h)), kS(() => {
|
|
5110
|
+
I._isLeaving && (lr(I, d), Os(I, f), IS(w) || OS(I, i, v, z));
|
|
5111
|
+
}), Ur(w, [I, z]);
|
|
5112
5112
|
},
|
|
5113
|
-
onEnterCancelled(
|
|
5114
|
-
O(
|
|
5113
|
+
onEnterCancelled(I) {
|
|
5114
|
+
O(I, !1, void 0, !0), Ur(x, [I]);
|
|
5115
5115
|
},
|
|
5116
|
-
onAppearCancelled(
|
|
5117
|
-
O(
|
|
5116
|
+
onAppearCancelled(I) {
|
|
5117
|
+
O(I, !0, void 0, !0), Ur(k, [I]);
|
|
5118
5118
|
},
|
|
5119
|
-
onLeaveCancelled(
|
|
5120
|
-
A(
|
|
5119
|
+
onLeaveCancelled(I) {
|
|
5120
|
+
A(I), Ur(R, [I]);
|
|
5121
5121
|
}
|
|
5122
5122
|
});
|
|
5123
5123
|
}
|
|
@@ -5976,8 +5976,8 @@ var pV = function(t, n) {
|
|
|
5976
5976
|
function gV(e) {
|
|
5977
5977
|
var t, n = e.state, i = e.name, s = e.options, o = n.elements.arrow, r = n.modifiersData.popperOffsets, a = qs(n.placement), l = HC(a), c = [vi, es].indexOf(a) >= 0, u = c ? "height" : "width";
|
|
5978
5978
|
if (!(!o || !r)) {
|
|
5979
|
-
var d = pV(s.padding, n), h = BC(o), f = l === "y" ? mi : vi, g = l === "y" ? Xi : es, y = n.rects.reference[u] + n.rects.reference[l] - r[l] - n.rects.popper[u], v = r[l] - n.rects.reference[l], b = yd(o), E = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, x = y / 2 - v / 2, w = d[f], R = E - h[u] - d[g], S = E / 2 - h[u] / 2 + x, F = uu(w, S, R),
|
|
5980
|
-
n.modifiersData[i] = (t = {}, t[
|
|
5979
|
+
var d = pV(s.padding, n), h = BC(o), f = l === "y" ? mi : vi, g = l === "y" ? Xi : es, y = n.rects.reference[u] + n.rects.reference[l] - r[l] - n.rects.popper[u], v = r[l] - n.rects.reference[l], b = yd(o), E = b ? l === "y" ? b.clientHeight || 0 : b.clientWidth || 0 : 0, x = y / 2 - v / 2, w = d[f], R = E - h[u] - d[g], S = E / 2 - h[u] / 2 + x, F = uu(w, S, R), k = l;
|
|
5980
|
+
n.modifiersData[i] = (t = {}, t[k] = F, t.centerOffset = F - S, t);
|
|
5981
5981
|
}
|
|
5982
5982
|
}
|
|
5983
5983
|
function mV(e) {
|
|
@@ -6020,8 +6020,8 @@ function o0(e) {
|
|
|
6020
6020
|
f = v.x, y = v.y;
|
|
6021
6021
|
var b = r.hasOwnProperty("x"), E = r.hasOwnProperty("y"), x = vi, w = mi, R = window;
|
|
6022
6022
|
if (c) {
|
|
6023
|
-
var S = yd(n), F = "clientHeight",
|
|
6024
|
-
if (S === Ni(n) && (S = Pr(n), ko(S).position !== "static" && a === "absolute" && (F = "scrollHeight",
|
|
6023
|
+
var S = yd(n), F = "clientHeight", k = "clientWidth";
|
|
6024
|
+
if (S === Ni(n) && (S = Pr(n), ko(S).position !== "static" && a === "absolute" && (F = "scrollHeight", k = "scrollWidth")), S = S, s === mi || (s === vi || s === es) && o === Ou) {
|
|
6025
6025
|
w = Xi;
|
|
6026
6026
|
var O = d && S === R && R.visualViewport ? R.visualViewport.height : (
|
|
6027
6027
|
// $FlowFixMe[prop-missing]
|
|
@@ -6033,21 +6033,21 @@ function o0(e) {
|
|
|
6033
6033
|
x = es;
|
|
6034
6034
|
var A = d && S === R && R.visualViewport ? R.visualViewport.width : (
|
|
6035
6035
|
// $FlowFixMe[prop-missing]
|
|
6036
|
-
S[
|
|
6036
|
+
S[k]
|
|
6037
6037
|
);
|
|
6038
6038
|
f -= A - i.width, f *= l ? 1 : -1;
|
|
6039
6039
|
}
|
|
6040
6040
|
}
|
|
6041
6041
|
var _ = Object.assign({
|
|
6042
6042
|
position: a
|
|
6043
|
-
}, c && yV),
|
|
6043
|
+
}, c && yV), I = u === !0 ? CV({
|
|
6044
6044
|
x: f,
|
|
6045
6045
|
y
|
|
6046
6046
|
}, Ni(n)) : {
|
|
6047
6047
|
x: f,
|
|
6048
6048
|
y
|
|
6049
6049
|
};
|
|
6050
|
-
if (f =
|
|
6050
|
+
if (f = I.x, y = I.y, l) {
|
|
6051
6051
|
var $;
|
|
6052
6052
|
return Object.assign({}, _, ($ = {}, $[w] = E ? "0" : "", $[x] = b ? "0" : "", $.transform = (R.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + y + "px)" : "translate3d(" + f + "px, " + y + "px, 0)", $));
|
|
6053
6053
|
}
|
|
@@ -6255,17 +6255,17 @@ function Mu(e, t) {
|
|
|
6255
6255
|
reference: S,
|
|
6256
6256
|
element: x,
|
|
6257
6257
|
placement: s
|
|
6258
|
-
}),
|
|
6258
|
+
}), k = Uv(Object.assign({}, x, F)), O = h === Mc ? k : S, A = {
|
|
6259
6259
|
top: R.top - O.top + b.top,
|
|
6260
6260
|
bottom: O.bottom - R.bottom + b.bottom,
|
|
6261
6261
|
left: R.left - O.left + b.left,
|
|
6262
6262
|
right: O.right - R.right + b.right
|
|
6263
6263
|
}, _ = e.modifiersData.offset;
|
|
6264
6264
|
if (h === Mc && _) {
|
|
6265
|
-
var
|
|
6265
|
+
var I = _[s];
|
|
6266
6266
|
Object.keys(A).forEach(function($) {
|
|
6267
6267
|
var z = [es, Xi].indexOf($) >= 0 ? 1 : -1, ge = [mi, Xi].indexOf($) >= 0 ? "y" : "x";
|
|
6268
|
-
A[$] +=
|
|
6268
|
+
A[$] += I[ge] * z;
|
|
6269
6269
|
});
|
|
6270
6270
|
}
|
|
6271
6271
|
return A;
|
|
@@ -6308,8 +6308,8 @@ function kV(e) {
|
|
|
6308
6308
|
flipVariations: g,
|
|
6309
6309
|
allowedAutoPlacements: y
|
|
6310
6310
|
}) : dt);
|
|
6311
|
-
}, []), R = t.rects.reference, S = t.rects.popper, F = /* @__PURE__ */ new Map(),
|
|
6312
|
-
var _ = w[A],
|
|
6311
|
+
}, []), R = t.rects.reference, S = t.rects.popper, F = /* @__PURE__ */ new Map(), k = !0, O = w[0], A = 0; A < w.length; A++) {
|
|
6312
|
+
var _ = w[A], I = qs(_), $ = Kl(_) === zl, z = [mi, Xi].indexOf(I) >= 0, ge = z ? "width" : "height", U = Mu(t, {
|
|
6313
6313
|
placement: _,
|
|
6314
6314
|
boundary: u,
|
|
6315
6315
|
rootBoundary: d,
|
|
@@ -6318,15 +6318,15 @@ function kV(e) {
|
|
|
6318
6318
|
}), B = z ? $ ? es : vi : $ ? Xi : mi;
|
|
6319
6319
|
R[ge] > S[ge] && (B = Zh(B));
|
|
6320
6320
|
var Q = Zh(B), H = [];
|
|
6321
|
-
if (o && H.push(U[
|
|
6321
|
+
if (o && H.push(U[I] <= 0), a && H.push(U[B] <= 0, U[Q] <= 0), H.every(function(st) {
|
|
6322
6322
|
return st;
|
|
6323
6323
|
})) {
|
|
6324
|
-
O = _,
|
|
6324
|
+
O = _, k = !1;
|
|
6325
6325
|
break;
|
|
6326
6326
|
}
|
|
6327
6327
|
F.set(_, H);
|
|
6328
6328
|
}
|
|
6329
|
-
if (
|
|
6329
|
+
if (k)
|
|
6330
6330
|
for (var re = g ? 3 : 1, ue = function(dt) {
|
|
6331
6331
|
var gt = w.find(function(xt) {
|
|
6332
6332
|
var Gt = F.get(xt);
|
|
@@ -6442,7 +6442,7 @@ function WV(e) {
|
|
|
6442
6442
|
rootBoundary: c,
|
|
6443
6443
|
padding: d,
|
|
6444
6444
|
altBoundary: u
|
|
6445
|
-
}), b = qs(t.placement), E = Kl(t.placement), x = !E, w = HC(b), R = $V(w), S = t.modifiersData.popperOffsets, F = t.rects.reference,
|
|
6445
|
+
}), b = qs(t.placement), E = Kl(t.placement), x = !E, w = HC(b), R = $V(w), S = t.modifiersData.popperOffsets, F = t.rects.reference, k = t.rects.popper, O = typeof y == "function" ? y(Object.assign({}, t.rects, {
|
|
6446
6446
|
placement: t.placement
|
|
6447
6447
|
})) : y, A = typeof O == "number" ? {
|
|
6448
6448
|
mainAxis: O,
|
|
@@ -6450,23 +6450,23 @@ function WV(e) {
|
|
|
6450
6450
|
} : Object.assign({
|
|
6451
6451
|
mainAxis: 0,
|
|
6452
6452
|
altAxis: 0
|
|
6453
|
-
}, O), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
6453
|
+
}, O), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, I = {
|
|
6454
6454
|
x: 0,
|
|
6455
6455
|
y: 0
|
|
6456
6456
|
};
|
|
6457
6457
|
if (S) {
|
|
6458
6458
|
if (o) {
|
|
6459
|
-
var $, z = w === "y" ? mi : vi, ge = w === "y" ? Xi : es, U = w === "y" ? "height" : "width", B = S[w], Q = B + v[z], H = B - v[ge], re = f ? -
|
|
6459
|
+
var $, z = w === "y" ? mi : vi, ge = w === "y" ? Xi : es, U = w === "y" ? "height" : "width", B = S[w], Q = B + v[z], H = B - v[ge], re = f ? -k[U] / 2 : 0, ue = E === zl ? F[U] : k[U], xe = E === zl ? -k[U] : -F[U], Ie = t.elements.arrow, st = f && Ie ? BC(Ie) : {
|
|
6460
6460
|
width: 0,
|
|
6461
6461
|
height: 0
|
|
6462
6462
|
}, dt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : AT(), gt = dt[z], xt = dt[ge], Gt = uu(0, F[U], st[U]), Ze = x ? F[U] / 2 - re - Gt - gt - A.mainAxis : ue - Gt - gt - A.mainAxis, Xt = x ? -F[U] / 2 + re + Gt + xt + A.mainAxis : xe + Gt + xt + A.mainAxis, Kt = t.elements.arrow && yd(t.elements.arrow), At = Kt ? w === "y" ? Kt.clientTop || 0 : Kt.clientLeft || 0 : 0, N = ($ = _ == null ? void 0 : _[w]) != null ? $ : 0, W = B + Ze - N - At, ce = B + Xt - N, _e = uu(f ? zf(Q, W) : Q, B, f ? ma(H, ce) : H);
|
|
6463
|
-
S[w] = _e,
|
|
6463
|
+
S[w] = _e, I[w] = _e - B;
|
|
6464
6464
|
}
|
|
6465
6465
|
if (a) {
|
|
6466
|
-
var be, Re = w === "x" ? mi : vi, Le = w === "x" ? Xi : es, Oe = S[R], Te = R === "y" ? "height" : "width", Fe = Oe + v[Re], et = Oe - v[Le], He = [mi, vi].indexOf(b) !== -1, tt = (be = _ == null ? void 0 : _[R]) != null ? be : 0, rt = He ? Fe : Oe - F[Te] -
|
|
6467
|
-
S[R] = we,
|
|
6466
|
+
var be, Re = w === "x" ? mi : vi, Le = w === "x" ? Xi : es, Oe = S[R], Te = R === "y" ? "height" : "width", Fe = Oe + v[Re], et = Oe - v[Le], He = [mi, vi].indexOf(b) !== -1, tt = (be = _ == null ? void 0 : _[R]) != null ? be : 0, rt = He ? Fe : Oe - F[Te] - k[Te] - tt + A.altAxis, Dt = He ? Oe + F[Te] + k[Te] - tt - A.altAxis : et, we = f && He ? fV(rt, Oe, Dt) : uu(f ? rt : Fe, Oe, f ? Dt : et);
|
|
6467
|
+
S[R] = we, I[R] = we - Oe;
|
|
6468
6468
|
}
|
|
6469
|
-
t.modifiersData[i] =
|
|
6469
|
+
t.modifiersData[i] = I;
|
|
6470
6470
|
}
|
|
6471
6471
|
}
|
|
6472
6472
|
const zV = {
|
|
@@ -6616,10 +6616,10 @@ function XV(e) {
|
|
|
6616
6616
|
u.reset = !1, w = -1;
|
|
6617
6617
|
continue;
|
|
6618
6618
|
}
|
|
6619
|
-
var R = u.orderedModifiers[w], S = R.fn, F = R.options,
|
|
6619
|
+
var R = u.orderedModifiers[w], S = R.fn, F = R.options, k = F === void 0 ? {} : F, O = R.name;
|
|
6620
6620
|
typeof S == "function" && (u = S({
|
|
6621
6621
|
state: u,
|
|
6622
|
-
options:
|
|
6622
|
+
options: k,
|
|
6623
6623
|
name: O,
|
|
6624
6624
|
instance: f
|
|
6625
6625
|
}) || u);
|
|
@@ -7067,7 +7067,7 @@ function _B(e, t) {
|
|
|
7067
7067
|
return L.env.NODE_ENV !== "production" && jv(!0, "render() function has not been supplied."), w;
|
|
7068
7068
|
var R = n.render(w), S = R.popper, F = R.onUpdate;
|
|
7069
7069
|
S.setAttribute("data-tippy-root", ""), S.id = "tippy-" + w.id, w.popper = S, e._tippy = w, S._tippy = w;
|
|
7070
|
-
var
|
|
7070
|
+
var k = E.map(function(pe) {
|
|
7071
7071
|
return pe.fn(w);
|
|
7072
7072
|
}), O = e.hasAttribute("aria-expanded");
|
|
7073
7073
|
return Kt(), re(), B(), Q("onCreate", [w]), n.showOnCreate && Fe(), S.addEventListener("mouseenter", function() {
|
|
@@ -7082,7 +7082,7 @@ function _B(e, t) {
|
|
|
7082
7082
|
function _() {
|
|
7083
7083
|
return A()[0] === "hold";
|
|
7084
7084
|
}
|
|
7085
|
-
function
|
|
7085
|
+
function I() {
|
|
7086
7086
|
var pe;
|
|
7087
7087
|
return !!((pe = w.props.render) != null && pe.$$tippy);
|
|
7088
7088
|
}
|
|
@@ -7103,7 +7103,7 @@ function _B(e, t) {
|
|
|
7103
7103
|
pe === void 0 && (pe = !1), S.style.pointerEvents = w.props.interactive && !pe ? "" : "none", S.style.zIndex = "" + w.props.zIndex;
|
|
7104
7104
|
}
|
|
7105
7105
|
function Q(pe, ve, Qe) {
|
|
7106
|
-
if (Qe === void 0 && (Qe = !0),
|
|
7106
|
+
if (Qe === void 0 && (Qe = !0), k.forEach(function(Tt) {
|
|
7107
7107
|
Tt[pe] && Tt[pe].apply(Tt, ve);
|
|
7108
7108
|
}), Qe) {
|
|
7109
7109
|
var mt;
|
|
@@ -7265,7 +7265,7 @@ function _B(e, t) {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
function Re() {
|
|
7267
7267
|
Le();
|
|
7268
|
-
var pe = w.props, ve = pe.popperOptions, Qe = pe.placement, mt = pe.offset, Tt = pe.getReferenceClientRect, Me = pe.moveTransition, En =
|
|
7268
|
+
var pe = w.props, ve = pe.popperOptions, Qe = pe.placement, mt = pe.offset, Tt = pe.getReferenceClientRect, Me = pe.moveTransition, En = I() ? qv(S).arrow : null, uo = Tt ? {
|
|
7269
7269
|
getBoundingClientRect: Tt,
|
|
7270
7270
|
contextElement: Tt.contextElement || $()
|
|
7271
7271
|
} : e, za = {
|
|
@@ -7275,7 +7275,7 @@ function _B(e, t) {
|
|
|
7275
7275
|
requires: ["computeStyles"],
|
|
7276
7276
|
fn: function(Ua) {
|
|
7277
7277
|
var qo = Ua.state;
|
|
7278
|
-
if (
|
|
7278
|
+
if (I()) {
|
|
7279
7279
|
var Yo = ge(), xs = Yo.box;
|
|
7280
7280
|
["placement", "reference-hidden", "escaped"].forEach(function(Zo) {
|
|
7281
7281
|
Zo === "placement" ? xs.setAttribute("data-placement", qo.placement) : qo.attributes.popper["data-popper-" + Zo] ? xs.setAttribute("data-" + Zo, "") : xs.removeAttribute("data-" + Zo);
|
|
@@ -7308,7 +7308,7 @@ function _B(e, t) {
|
|
|
7308
7308
|
adaptive: !Me
|
|
7309
7309
|
}
|
|
7310
7310
|
}, za];
|
|
7311
|
-
|
|
7311
|
+
I() && En && Fs.push({
|
|
7312
7312
|
name: "arrow",
|
|
7313
7313
|
options: {
|
|
7314
7314
|
element: En,
|
|
@@ -7388,18 +7388,18 @@ function _B(e, t) {
|
|
|
7388
7388
|
L.env.NODE_ENV !== "production" && bo(w.state.isDestroyed, el("show"));
|
|
7389
7389
|
var pe = w.state.isVisible, ve = w.state.isDestroyed, Qe = !w.state.isEnabled, mt = Vs.isTouch && !w.props.touch, Tt = um(w.props.duration, 0, _i.duration);
|
|
7390
7390
|
if (!(pe || ve || Qe || mt) && !$().hasAttribute("disabled") && (Q("onShow", [w], !1), w.props.onShow(w) !== !1)) {
|
|
7391
|
-
if (w.state.isVisible = !0,
|
|
7391
|
+
if (w.state.isVisible = !0, I() && (S.style.visibility = "visible"), B(), dt(), w.state.isMounted || (S.style.transition = "none"), I()) {
|
|
7392
7392
|
var Me = ge(), En = Me.box, uo = Me.content;
|
|
7393
7393
|
dm([En, uo], 0);
|
|
7394
7394
|
}
|
|
7395
7395
|
h = function() {
|
|
7396
7396
|
var Fs;
|
|
7397
7397
|
if (!(!w.state.isVisible || c)) {
|
|
7398
|
-
if (c = !0, S.offsetHeight, S.style.transition = w.props.moveTransition,
|
|
7398
|
+
if (c = !0, S.offsetHeight, S.style.transition = w.props.moveTransition, I() && w.props.animation) {
|
|
7399
7399
|
var Lr = ge(), Ua = Lr.box, qo = Lr.content;
|
|
7400
7400
|
dm([Ua, qo], Tt), g0([Ua, qo], "visible");
|
|
7401
7401
|
}
|
|
7402
|
-
H(), re(), f0(fm, w), (Fs = w.popperInstance) == null || Fs.forceUpdate(), Q("onMount", [w]), w.props.animation &&
|
|
7402
|
+
H(), re(), f0(fm, w), (Fs = w.popperInstance) == null || Fs.forceUpdate(), Q("onMount", [w]), w.props.animation && I() && Gt(Tt, function() {
|
|
7403
7403
|
w.state.isShown = !0, Q("onShown", [w]);
|
|
7404
7404
|
});
|
|
7405
7405
|
}
|
|
@@ -7410,11 +7410,11 @@ function _B(e, t) {
|
|
|
7410
7410
|
L.env.NODE_ENV !== "production" && bo(w.state.isDestroyed, el("hide"));
|
|
7411
7411
|
var pe = !w.state.isVisible, ve = w.state.isDestroyed, Qe = !w.state.isEnabled, mt = um(w.props.duration, 1, _i.duration);
|
|
7412
7412
|
if (!(pe || ve || Qe) && (Q("onHide", [w], !1), w.props.onHide(w) !== !1)) {
|
|
7413
|
-
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, r = !1,
|
|
7413
|
+
if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, r = !1, I() && (S.style.visibility = "hidden"), ue(), gt(), B(!0), I()) {
|
|
7414
7414
|
var Tt = ge(), Me = Tt.box, En = Tt.content;
|
|
7415
7415
|
w.props.animation && (dm([Me, En], mt), g0([Me, En], "hidden"));
|
|
7416
7416
|
}
|
|
7417
|
-
H(), re(), w.props.animation ?
|
|
7417
|
+
H(), re(), w.props.animation ? I() && xt(mt, w.unmount) : w.unmount();
|
|
7418
7418
|
}
|
|
7419
7419
|
}
|
|
7420
7420
|
function Ft(pe) {
|
|
@@ -8200,16 +8200,16 @@ var i2 = Er.ArrayBuffer, pm = Er.FileReader, jr = Er.URL || Er.webkitURL, s2 = /
|
|
|
8200
8200
|
}, {
|
|
8201
8201
|
key: "draw",
|
|
8202
8202
|
value: function(n) {
|
|
8203
|
-
var i = this, s = n.naturalWidth, o = n.naturalHeight, r = n.rotate, a = r === void 0 ? 0 : r, l = n.scaleX, c = l === void 0 ? 1 : l, u = n.scaleY, d = u === void 0 ? 1 : u, h = this.file, f = this.image, g = this.options, y = document.createElement("canvas"), v = y.getContext("2d"), b = Math.abs(a) % 180 === 90, E = (g.resize === "contain" || g.resize === "cover") && qf(g.width) && qf(g.height), x = Math.max(g.maxWidth, 0) || 1 / 0, w = Math.max(g.maxHeight, 0) || 1 / 0, R = Math.max(g.minWidth, 0) || 0, S = Math.max(g.minHeight, 0) || 0, F = s / o,
|
|
8203
|
+
var i = this, s = n.naturalWidth, o = n.naturalHeight, r = n.rotate, a = r === void 0 ? 0 : r, l = n.scaleX, c = l === void 0 ? 1 : l, u = n.scaleY, d = u === void 0 ? 1 : u, h = this.file, f = this.image, g = this.options, y = document.createElement("canvas"), v = y.getContext("2d"), b = Math.abs(a) % 180 === 90, E = (g.resize === "contain" || g.resize === "cover") && qf(g.width) && qf(g.height), x = Math.max(g.maxWidth, 0) || 1 / 0, w = Math.max(g.maxHeight, 0) || 1 / 0, R = Math.max(g.minWidth, 0) || 0, S = Math.max(g.minHeight, 0) || 0, F = s / o, k = g.width, O = g.height;
|
|
8204
8204
|
if (b) {
|
|
8205
8205
|
var A = [w, x];
|
|
8206
8206
|
x = A[0], w = A[1];
|
|
8207
8207
|
var _ = [S, R];
|
|
8208
8208
|
R = _[0], S = _[1];
|
|
8209
|
-
var
|
|
8210
|
-
|
|
8209
|
+
var I = [O, k];
|
|
8210
|
+
k = I[0], O = I[1];
|
|
8211
8211
|
}
|
|
8212
|
-
E && (F =
|
|
8212
|
+
E && (F = k / O);
|
|
8213
8213
|
var $ = Lc({
|
|
8214
8214
|
aspectRatio: F,
|
|
8215
8215
|
width: x,
|
|
@@ -8224,22 +8224,22 @@ var i2 = Er.ArrayBuffer, pm = Er.FileReader, jr = Er.URL || Er.webkitURL, s2 = /
|
|
|
8224
8224
|
if (R = z.width, S = z.height, E) {
|
|
8225
8225
|
var ge = Lc({
|
|
8226
8226
|
aspectRatio: F,
|
|
8227
|
-
width:
|
|
8227
|
+
width: k,
|
|
8228
8228
|
height: O
|
|
8229
8229
|
}, g.resize);
|
|
8230
|
-
|
|
8230
|
+
k = ge.width, O = ge.height;
|
|
8231
8231
|
} else {
|
|
8232
8232
|
var U = Lc({
|
|
8233
8233
|
aspectRatio: F,
|
|
8234
|
-
width:
|
|
8234
|
+
width: k,
|
|
8235
8235
|
height: O
|
|
8236
8236
|
}), B = U.width;
|
|
8237
|
-
|
|
8237
|
+
k = B === void 0 ? s : B;
|
|
8238
8238
|
var Q = U.height;
|
|
8239
8239
|
O = Q === void 0 ? o : Q;
|
|
8240
8240
|
}
|
|
8241
|
-
|
|
8242
|
-
var H = -
|
|
8241
|
+
k = Math.floor(_0(Math.min(Math.max(k, R), x))), O = Math.floor(_0(Math.min(Math.max(O, S), w)));
|
|
8242
|
+
var H = -k / 2, re = -O / 2, ue = k, xe = O, Ie = [];
|
|
8243
8243
|
if (E) {
|
|
8244
8244
|
var st = 0, dt = 0, gt = s, xt = o, Gt = Lc({
|
|
8245
8245
|
aspectRatio: F,
|
|
@@ -8252,14 +8252,14 @@ var i2 = Er.ArrayBuffer, pm = Er.FileReader, jr = Er.URL || Er.webkitURL, s2 = /
|
|
|
8252
8252
|
gt = Gt.width, xt = Gt.height, st = (s - gt) / 2, dt = (o - xt) / 2, Ie.push(st, dt, gt, xt);
|
|
8253
8253
|
}
|
|
8254
8254
|
if (Ie.push(H, re, ue, xe), b) {
|
|
8255
|
-
var Ze = [O,
|
|
8256
|
-
|
|
8255
|
+
var Ze = [O, k];
|
|
8256
|
+
k = Ze[0], O = Ze[1];
|
|
8257
8257
|
}
|
|
8258
|
-
y.width =
|
|
8258
|
+
y.width = k, y.height = O, Yv(g.mimeType) || (g.mimeType = h.type);
|
|
8259
8259
|
var Xt = "transparent";
|
|
8260
8260
|
h.size > g.convertSize && g.convertTypes.indexOf(g.mimeType) >= 0 && (g.mimeType = "image/jpeg");
|
|
8261
8261
|
var Kt = g.mimeType === "image/jpeg";
|
|
8262
|
-
if (Kt && (Xt = "#fff"), v.fillStyle = Xt, v.fillRect(0, 0,
|
|
8262
|
+
if (Kt && (Xt = "#fff"), v.fillStyle = Xt, v.fillRect(0, 0, k, O), g.beforeDraw && g.beforeDraw.call(this, v, y), !this.aborted && (v.save(), v.translate(k / 2, O / 2), v.rotate(a * Math.PI / 180), v.scale(c, d), v.drawImage.apply(v, [f].concat(Ie)), v.restore(), g.drew && g.drew.call(this, v, y), !this.aborted)) {
|
|
8263
8263
|
var At = function(W) {
|
|
8264
8264
|
if (!i.aborted) {
|
|
8265
8265
|
var ce = function(Le) {
|
|
@@ -8433,7 +8433,7 @@ var n_ = { exports: {} };
|
|
|
8433
8433
|
V !== -1 ? (P = m.substr(0, V), (M = m.substr(V + 1)) === "" ? C === void 0 ? a(p) && !isNaN(parseInt(P)) ? p.splice(P, 1) : delete p[P] : p[P] = C : F(V = !(V = p[P]) || !d(p, P) ? p[P] = {} : V, M, C)) : C === void 0 ? a(p) && !isNaN(parseInt(m)) ? p.splice(m, 1) : delete p[m] : p[m] = C;
|
|
8434
8434
|
}
|
|
8435
8435
|
}
|
|
8436
|
-
function
|
|
8436
|
+
function k(p) {
|
|
8437
8437
|
var m, C = {};
|
|
8438
8438
|
for (m in p) d(p, m) && (C[m] = p[m]);
|
|
8439
8439
|
return C;
|
|
@@ -8450,22 +8450,22 @@ var n_ = { exports: {} };
|
|
|
8450
8450
|
return o[p];
|
|
8451
8451
|
}), _ = new Set(fo.map(function(p) {
|
|
8452
8452
|
return o[p];
|
|
8453
|
-
})),
|
|
8453
|
+
})), I = null;
|
|
8454
8454
|
function $(p) {
|
|
8455
|
-
return
|
|
8455
|
+
return I = /* @__PURE__ */ new WeakMap(), p = function m(C) {
|
|
8456
8456
|
if (!C || typeof C != "object") return C;
|
|
8457
|
-
var D =
|
|
8457
|
+
var D = I.get(C);
|
|
8458
8458
|
if (D) return D;
|
|
8459
8459
|
if (a(C)) {
|
|
8460
|
-
D = [],
|
|
8460
|
+
D = [], I.set(C, D);
|
|
8461
8461
|
for (var T = 0, P = C.length; T < P; ++T) D.push(m(C[T]));
|
|
8462
8462
|
} else if (_.has(C.constructor)) D = C;
|
|
8463
8463
|
else {
|
|
8464
8464
|
var M, V = c(C);
|
|
8465
|
-
for (M in D = V === Object.prototype ? {} : Object.create(V),
|
|
8465
|
+
for (M in D = V === Object.prototype ? {} : Object.create(V), I.set(C, D), C) d(C, M) && (D[M] = m(C[M]));
|
|
8466
8466
|
}
|
|
8467
8467
|
return D;
|
|
8468
|
-
}(p),
|
|
8468
|
+
}(p), I = null, p;
|
|
8469
8469
|
}
|
|
8470
8470
|
var z = {}.toString;
|
|
8471
8471
|
function ge(p) {
|
|
@@ -10146,7 +10146,7 @@ var n_ = { exports: {} };
|
|
|
10146
10146
|
var Ve = le._cfg.contentUpgrade;
|
|
10147
10147
|
if (Ve && le._cfg.version > oe) {
|
|
10148
10148
|
qd(G, te), Z._memoizedTables = {};
|
|
10149
|
-
var je =
|
|
10149
|
+
var je = k(fe);
|
|
10150
10150
|
Ee.del.forEach(function(Ke) {
|
|
10151
10151
|
je[Ke] = de[Ke];
|
|
10152
10152
|
}), kg(G, [G.Transaction.prototype]), Yd(G, [G.Transaction.prototype], r(je), je), Z.schema = je;
|
|
@@ -11320,7 +11320,7 @@ var n_ = { exports: {} };
|
|
|
11320
11320
|
typeof m == "string" ? F(p, m, void 0) : "length" in m && [].map.call(m, function(C) {
|
|
11321
11321
|
F(p, C, void 0);
|
|
11322
11322
|
});
|
|
11323
|
-
}, shallowClone:
|
|
11323
|
+
}, shallowClone: k, deepClone: $, getObjectDiff: Ug, cmp: Nt, asap: R, minKey: -1 / 0, addons: [], connections: Ka, errnames: xt, dependencies: oh, cache: Hr, semVer: "4.0.10", version: "4.0.10".split(".").map(function(p) {
|
|
11324
11324
|
return parseInt(p);
|
|
11325
11325
|
}).reduce(function(p, m, C) {
|
|
11326
11326
|
return p + m / Math.pow(10, 2 * C);
|
|
@@ -13594,19 +13594,19 @@ function to(e, t, n) {
|
|
|
13594
13594
|
throw new TypeError(Yz);
|
|
13595
13595
|
t = Xv(t) || 0, Mo(n) && (u = !!n.leading, d = "maxWait" in n, o = d ? Zz(Xv(n.maxWait) || 0, t) : o, h = "trailing" in n ? !!n.trailing : h);
|
|
13596
13596
|
function f(S) {
|
|
13597
|
-
var F = i,
|
|
13598
|
-
return i = s = void 0, c = S, r = e.apply(
|
|
13597
|
+
var F = i, k = s;
|
|
13598
|
+
return i = s = void 0, c = S, r = e.apply(k, F), r;
|
|
13599
13599
|
}
|
|
13600
13600
|
function g(S) {
|
|
13601
13601
|
return c = S, a = setTimeout(b, t), u ? f(S) : r;
|
|
13602
13602
|
}
|
|
13603
13603
|
function y(S) {
|
|
13604
|
-
var F = S - l,
|
|
13605
|
-
return d ? Jz(O, o -
|
|
13604
|
+
var F = S - l, k = S - c, O = t - F;
|
|
13605
|
+
return d ? Jz(O, o - k) : O;
|
|
13606
13606
|
}
|
|
13607
13607
|
function v(S) {
|
|
13608
|
-
var F = S - l,
|
|
13609
|
-
return l === void 0 || F >= t || F < 0 || d &&
|
|
13608
|
+
var F = S - l, k = S - c;
|
|
13609
|
+
return l === void 0 || F >= t || F < 0 || d && k >= o;
|
|
13610
13610
|
}
|
|
13611
13611
|
function b() {
|
|
13612
13612
|
var S = wm();
|
|
@@ -17811,10 +17811,10 @@ class qe {
|
|
|
17811
17811
|
const w = y ? $U(o, r, a) : u ? WU(o) : Q_(o), R = w || X_(o);
|
|
17812
17812
|
if (R)
|
|
17813
17813
|
return qe.invalid(R);
|
|
17814
|
-
const S = y ? DE(o, r, a) : u ? FE(o) : o, [F,
|
|
17814
|
+
const S = y ? DE(o, r, a) : u ? FE(o) : o, [F, k] = ef(S, c, i), O = new qe({
|
|
17815
17815
|
ts: F,
|
|
17816
17816
|
zone: i,
|
|
17817
|
-
o:
|
|
17817
|
+
o: k,
|
|
17818
17818
|
loc: s
|
|
17819
17819
|
});
|
|
17820
17820
|
return o.weekday && f && t.weekday !== O.weekday ? qe.invalid(
|
|
@@ -19334,17 +19334,17 @@ const Rh = ({
|
|
|
19334
19334
|
const S = new Set(((O = e.value) == null ? void 0 : O.map((_) => _.id)) ?? []), F = ((A = e.value) == null ? void 0 : A.map((_) => ({
|
|
19335
19335
|
...PP(_),
|
|
19336
19336
|
selected: !0
|
|
19337
|
-
}))) ?? [],
|
|
19337
|
+
}))) ?? [], k = n.value.filter(
|
|
19338
19338
|
(_) => !S.has(_.id)
|
|
19339
19339
|
);
|
|
19340
|
-
return Jf(F,
|
|
19340
|
+
return Jf(F, k, "id");
|
|
19341
19341
|
}), h = (S) => {
|
|
19342
|
-
const F = d.value.find((
|
|
19342
|
+
const F = d.value.find((k) => k.id === S);
|
|
19343
19343
|
return F == null ? void 0 : F.data;
|
|
19344
19344
|
}, f = () => {
|
|
19345
19345
|
var S;
|
|
19346
19346
|
return (S = a.value) != null && S.length ? a.value : [String(r.value)];
|
|
19347
|
-
}, g = async (S, F,
|
|
19347
|
+
}, g = async (S, F, k) => {
|
|
19348
19348
|
if (i.value || !u.value) return !1;
|
|
19349
19349
|
i.value = !0;
|
|
19350
19350
|
try {
|
|
@@ -19370,28 +19370,28 @@ const Rh = ({
|
|
|
19370
19370
|
() => u.value.replaceAssignee(String(s.value), f(), [S]),
|
|
19371
19371
|
() => {
|
|
19372
19372
|
t.value = [S];
|
|
19373
|
-
const
|
|
19374
|
-
|
|
19373
|
+
const k = h(S);
|
|
19374
|
+
k && l({ assignees: sf([k]), type: "overwrite" });
|
|
19375
19375
|
}
|
|
19376
19376
|
), b = async (S) => await g(
|
|
19377
19377
|
() => u.value.addAssignee(String(s.value), f(), [S]),
|
|
19378
19378
|
() => {
|
|
19379
19379
|
var O, A, _;
|
|
19380
19380
|
t.value.push(S);
|
|
19381
|
-
const
|
|
19382
|
-
if (
|
|
19383
|
-
const
|
|
19381
|
+
const k = h(S);
|
|
19382
|
+
if (k) {
|
|
19383
|
+
const I = (_ = (A = (O = e.params) == null ? void 0 : O.api) == null ? void 0 : A.getRowNode(String(e.id))) == null ? void 0 : _.data, $ = (I == null ? void 0 : I.assignees) || [], z = Jf([...$, ...sf([k])], "id");
|
|
19384
19384
|
l({ assignees: z, type: "add" });
|
|
19385
19385
|
}
|
|
19386
19386
|
}
|
|
19387
19387
|
), E = async (S) => await g(
|
|
19388
19388
|
() => u.value.removeAssignee(String(s.value), f(), [S]),
|
|
19389
19389
|
() => {
|
|
19390
|
-
var A, _,
|
|
19391
|
-
const
|
|
19390
|
+
var A, _, I;
|
|
19391
|
+
const k = (I = (_ = (A = e.params) == null ? void 0 : A.api) == null ? void 0 : _.getRowNode(String(e.id))) == null ? void 0 : I.data;
|
|
19392
19392
|
t.value = t.value.filter(($) => $ !== S);
|
|
19393
19393
|
const O = sf(
|
|
19394
|
-
((
|
|
19394
|
+
((k == null ? void 0 : k.assignees) || []).filter(($) => $.id !== S)
|
|
19395
19395
|
);
|
|
19396
19396
|
l({ assignees: O, type: "remove" });
|
|
19397
19397
|
}
|
|
@@ -19573,16 +19573,16 @@ const mw = (e, t, n) => {
|
|
|
19573
19573
|
((S = e.value) == null ? void 0 : S.length) === 2 && (s.startDate = e.value[0], s.endDate = e.value[1]), s.cacheStartDate = s.startDate, s.cacheEndDate = s.endDate, s.isSelectingStart = !1, s.isSelectingEnd = !1, e.timezone && (s.timezone = e.timezone);
|
|
19574
19574
|
});
|
|
19575
19575
|
const o = () => {
|
|
19576
|
-
var A, _,
|
|
19576
|
+
var A, _, I, $, z, ge, U, B;
|
|
19577
19577
|
t("tracing", JSON.parse(JSON.stringify(n.value)));
|
|
19578
|
-
const S = ((_ = (A = s.startDate) == null ? void 0 : A.getTime) == null ? void 0 : _.call(A)) !== (($ = (
|
|
19579
|
-
S && F &&
|
|
19578
|
+
const S = ((_ = (A = s.startDate) == null ? void 0 : A.getTime) == null ? void 0 : _.call(A)) !== (($ = (I = s.cacheStartDate) == null ? void 0 : I.getTime) == null ? void 0 : $.call(I)), F = ((ge = (z = s.endDate) == null ? void 0 : z.getTime) == null ? void 0 : ge.call(z)) !== ((B = (U = s.cacheEndDate) == null ? void 0 : U.getTime) == null ? void 0 : B.call(U)), k = s.startDate === null, O = s.endDate === null;
|
|
19579
|
+
S && F && k && O ? t("clearAll") : S && !F ? k ? t("clearStart") : t("update:start", s.startDate) : F && !S ? O ? t("clearDue") : t("update:end", s.endDate) : S && F && t("update", [s.startDate, s.endDate]), t("confirmed", { start: s.startDate, end: s.endDate }), s.isDirty = S || F;
|
|
19580
19580
|
}, r = (S, F) => {
|
|
19581
|
-
const
|
|
19581
|
+
const k = qe.fromObject(
|
|
19582
19582
|
{ year: S.year, month: S.month, day: S.day },
|
|
19583
19583
|
{ zone: s.timezone }
|
|
19584
19584
|
);
|
|
19585
|
-
return (F === "start" ?
|
|
19585
|
+
return (F === "start" ? k.startOf("day") : k.endOf("day")).toJSDate();
|
|
19586
19586
|
}, a = () => {
|
|
19587
19587
|
s.rangeFeedback.status = "idle", s.rangeFeedback.action = null, s.rangeFeedback.message = "";
|
|
19588
19588
|
}, l = (S) => {
|
|
@@ -19601,8 +19601,8 @@ const mw = (e, t, n) => {
|
|
|
19601
19601
|
action: "truncate"
|
|
19602
19602
|
}), s.isSelectingEnd = !0, l("truncate");
|
|
19603
19603
|
} else {
|
|
19604
|
-
const F = { start: s.startDate, end: s.endDate },
|
|
19605
|
-
s.startDate = s.endDate, s.endDate =
|
|
19604
|
+
const F = { start: s.startDate, end: s.endDate }, k = s.startDate;
|
|
19605
|
+
s.startDate = s.endDate, s.endDate = k, t("range:invalid", F), t("range:corrected", {
|
|
19606
19606
|
start: s.startDate,
|
|
19607
19607
|
end: s.endDate,
|
|
19608
19608
|
action: "swap"
|
|
@@ -21563,13 +21563,13 @@ var t6 = Object.create, MP = Object.defineProperty, n6 = Object.getOwnPropertyDe
|
|
|
21563
21563
|
"¤": "tien te"
|
|
21564
21564
|
}
|
|
21565
21565
|
}, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(v, b) {
|
|
21566
|
-
var E = "-", x = "", w = "", R = !0, S = {}, F,
|
|
21566
|
+
var E = "-", x = "", w = "", R = !0, S = {}, F, k, O, A, _, I, $, z, ge, U, B, Q, H, re, ue = "";
|
|
21567
21567
|
if (typeof v != "string")
|
|
21568
21568
|
return "";
|
|
21569
21569
|
if (typeof b == "string" && (E = b), $ = a.en, z = r.en, typeof b == "object") {
|
|
21570
|
-
F = b.maintainCase || !1, S = b.custom && typeof b.custom == "object" ? b.custom : S, O = +b.truncate > 1 && b.truncate || !1, A = b.uric || !1, _ = b.uricNoSlash || !1,
|
|
21570
|
+
F = b.maintainCase || !1, S = b.custom && typeof b.custom == "object" ? b.custom : S, O = +b.truncate > 1 && b.truncate || !1, A = b.uric || !1, _ = b.uricNoSlash || !1, I = b.mark || !1, R = !(b.symbols === !1 || b.lang === !1), E = b.separator || E, A && (ue += l), _ && (ue += c), I && (ue += u), $ = b.lang && a[b.lang] && R ? a[b.lang] : R ? a.en : {}, z = b.lang && r[b.lang] ? r[b.lang] : b.lang === !1 || b.lang === !0 ? {} : r.en, b.titleCase && typeof b.titleCase.length == "number" && Array.prototype.toString.call(b.titleCase) ? (b.titleCase.forEach(function(xe) {
|
|
21571
21571
|
S[xe + ""] = xe + "";
|
|
21572
|
-
}),
|
|
21572
|
+
}), k = !0) : k = !!b.titleCase, b.custom && typeof b.custom.length == "number" && Array.prototype.toString.call(b.custom) && b.custom.forEach(function(xe) {
|
|
21573
21573
|
S[xe + ""] = xe + "";
|
|
21574
21574
|
}), Object.keys(S).forEach(function(xe) {
|
|
21575
21575
|
var Ie;
|
|
@@ -21580,10 +21580,10 @@ var t6 = Object.create, MP = Object.defineProperty, n6 = Object.getOwnPropertyDe
|
|
|
21580
21580
|
}
|
|
21581
21581
|
for (ue += E, ue = f(ue), v = v.replace(/(^\s+|\s+$)/g, ""), H = !1, re = !1, U = 0, Q = v.length; U < Q; U++)
|
|
21582
21582
|
B = v[U], g(B, S) ? H = !1 : z[B] ? (B = H && z[B].match(/[A-Za-z0-9]/) ? " " + z[B] : z[B], H = !1) : B in i ? (U + 1 < Q && s.indexOf(v[U + 1]) >= 0 ? (w += B, B = "") : re === !0 ? (B = o[w] + i[B], w = "") : B = H && i[B].match(/[A-Za-z0-9]/) ? " " + i[B] : i[B], H = !1, re = !1) : B in o ? (w += B, B = "", U === Q - 1 && (B = o[w]), re = !0) : /* process symbol chars */ $[B] && !(A && l.indexOf(B) !== -1) && !(_ && c.indexOf(B) !== -1) ? (B = H || x.substr(-1).match(/[A-Za-z0-9]/) ? E + $[B] : $[B], B += v[U + 1] !== void 0 && v[U + 1].match(/[A-Za-z0-9]/) ? E : "", H = !0) : (re === !0 ? (B = o[w] + B, w = "", re = !1) : H && (/[A-Za-z0-9]/.test(B) || x.substr(-1).match(/A-Za-z0-9]/)) && (B = " " + B), H = !1), x += B.replace(new RegExp("[^\\w\\s" + ue + "_-]", "g"), E);
|
|
21583
|
-
return
|
|
21583
|
+
return k && (x = x.replace(/(\w)(\S*)/g, function(xe, Ie, st) {
|
|
21584
21584
|
var dt = Ie.toUpperCase() + (st !== null ? st : "");
|
|
21585
21585
|
return Object.keys(S).indexOf(dt.toLowerCase()) < 0 ? dt : dt.toLowerCase();
|
|
21586
|
-
})), x = x.replace(/\s+/g, E).replace(new RegExp("\\" + E + "+", "g"), E).replace(new RegExp("(^\\" + E + "+|\\" + E + "+$)", "g"), ""), O && x.length > O && (ge = x.charAt(O) === E, x = x.slice(0, O), ge || (x = x.slice(0, x.lastIndexOf(E)))), !F && !
|
|
21586
|
+
})), x = x.replace(/\s+/g, E).replace(new RegExp("\\" + E + "+", "g"), E).replace(new RegExp("(^\\" + E + "+|\\" + E + "+$)", "g"), ""), O && x.length > O && (ge = x.charAt(O) === E, x = x.slice(0, O), ge || (x = x.slice(0, x.lastIndexOf(E)))), !F && !k && (x = x.toLowerCase()), x;
|
|
21587
21587
|
}, h = function(v) {
|
|
21588
21588
|
return function(E) {
|
|
21589
21589
|
return d(E, v);
|
|
@@ -23989,15 +23989,15 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
23989
23989
|
storeId: e,
|
|
23990
23990
|
events: f
|
|
23991
23991
|
});
|
|
23992
|
-
const
|
|
23992
|
+
const I = v = Symbol();
|
|
23993
23993
|
Qt().then(() => {
|
|
23994
|
-
v ===
|
|
23994
|
+
v === I && (c = !0);
|
|
23995
23995
|
}), u = !0, sl(d, _, i.state.value[e]);
|
|
23996
23996
|
}
|
|
23997
23997
|
const E = o ? function() {
|
|
23998
|
-
const { state: _ } = n,
|
|
23998
|
+
const { state: _ } = n, I = _ ? _() : {};
|
|
23999
23999
|
this.$patch(($) => {
|
|
24000
|
-
Wi($,
|
|
24000
|
+
Wi($, I);
|
|
24001
24001
|
});
|
|
24002
24002
|
} : (
|
|
24003
24003
|
/* istanbul ignore next */
|
|
@@ -24011,7 +24011,7 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24011
24011
|
const w = (A, _ = "") => {
|
|
24012
24012
|
if (sD in A)
|
|
24013
24013
|
return A[Om] = _, A;
|
|
24014
|
-
const
|
|
24014
|
+
const I = function() {
|
|
24015
24015
|
Yu(i);
|
|
24016
24016
|
const $ = Array.from(arguments), z = /* @__PURE__ */ new Set(), ge = /* @__PURE__ */ new Set();
|
|
24017
24017
|
function U(H) {
|
|
@@ -24022,7 +24022,7 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24022
24022
|
}
|
|
24023
24023
|
sl(h, {
|
|
24024
24024
|
args: $,
|
|
24025
|
-
name:
|
|
24025
|
+
name: I[Om],
|
|
24026
24026
|
store: F,
|
|
24027
24027
|
after: U,
|
|
24028
24028
|
onError: B
|
|
@@ -24035,7 +24035,7 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24035
24035
|
}
|
|
24036
24036
|
return Q instanceof Promise ? Q.then((H) => (sl(z, H), H)).catch((H) => (sl(ge, H), Promise.reject(H))) : (sl(z, Q), Q);
|
|
24037
24037
|
};
|
|
24038
|
-
return
|
|
24038
|
+
return I[sD] = !0, I[Om] = _, I;
|
|
24039
24039
|
}, R = /* @__PURE__ */ vr({
|
|
24040
24040
|
actions: {},
|
|
24041
24041
|
getters: {},
|
|
@@ -24049,14 +24049,14 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24049
24049
|
$patch: b,
|
|
24050
24050
|
$reset: E,
|
|
24051
24051
|
$subscribe(A, _ = {}) {
|
|
24052
|
-
const
|
|
24052
|
+
const I = iD(d, A, _.detached, () => $()), $ = r.run(() => ft(() => i.state.value[e], (z) => {
|
|
24053
24053
|
(_.flush === "sync" ? u : c) && A({
|
|
24054
24054
|
storeId: e,
|
|
24055
24055
|
type: Zs.direct,
|
|
24056
24056
|
events: f
|
|
24057
24057
|
}, z);
|
|
24058
24058
|
}, Wi({}, l, _)));
|
|
24059
|
-
return
|
|
24059
|
+
return I;
|
|
24060
24060
|
},
|
|
24061
24061
|
$dispose: x
|
|
24062
24062
|
}, F = so(L.env.NODE_ENV !== "production" || L.env.NODE_ENV !== "production" && L.env.NODE_ENV !== "test" && Fo ? Wi(
|
|
@@ -24076,8 +24076,8 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24076
24076
|
if (Ut(_) && !oD(_) || Ji(_))
|
|
24077
24077
|
L.env.NODE_ENV !== "production" && s ? y.value[A] = yr(O, A) : o || (g && sj(_) && (Ut(_) ? _.value = g[A] : Dy(_, g[A])), i.state.value[e][A] = _), L.env.NODE_ENV !== "production" && R.state.push(A);
|
|
24078
24078
|
else if (typeof _ == "function") {
|
|
24079
|
-
const
|
|
24080
|
-
O[A] =
|
|
24079
|
+
const I = L.env.NODE_ENV !== "production" && s ? _ : w(_, A);
|
|
24080
|
+
O[A] = I, L.env.NODE_ENV !== "production" && (R.actions[A] = _), a.actions[A] = _;
|
|
24081
24081
|
} else L.env.NODE_ENV !== "production" && oD(_) && (R.getters[A] = o ? (
|
|
24082
24082
|
// @ts-expect-error
|
|
24083
24083
|
n.getters[A]
|
|
@@ -24096,8 +24096,8 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24096
24096
|
}), L.env.NODE_ENV !== "production" && (F._hotUpdate = vr((A) => {
|
|
24097
24097
|
F._hotUpdating = !0, A._hmrPayload.state.forEach((_) => {
|
|
24098
24098
|
if (_ in F.$state) {
|
|
24099
|
-
const
|
|
24100
|
-
typeof
|
|
24099
|
+
const I = A.$state[_], $ = F.$state[_];
|
|
24100
|
+
typeof I == "object" && Pa(I) && Pa($) ? wA(I, $) : A.$state[_] = $;
|
|
24101
24101
|
}
|
|
24102
24102
|
F[_] = yr(A.$state, _);
|
|
24103
24103
|
}), Object.keys(F.$state).forEach((_) => {
|
|
@@ -24106,15 +24106,15 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24106
24106
|
c = !0;
|
|
24107
24107
|
});
|
|
24108
24108
|
for (const _ in A._hmrPayload.actions) {
|
|
24109
|
-
const
|
|
24109
|
+
const I = A[_];
|
|
24110
24110
|
F[_] = //
|
|
24111
|
-
w(
|
|
24111
|
+
w(I, _);
|
|
24112
24112
|
}
|
|
24113
24113
|
for (const _ in A._hmrPayload.getters) {
|
|
24114
|
-
const
|
|
24114
|
+
const I = A._hmrPayload.getters[_], $ = o ? (
|
|
24115
24115
|
// special handling of options api
|
|
24116
|
-
K(() => (Yu(i),
|
|
24117
|
-
) :
|
|
24116
|
+
K(() => (Yu(i), I.call(F, F)))
|
|
24117
|
+
) : I;
|
|
24118
24118
|
F[_] = //
|
|
24119
24119
|
$;
|
|
24120
24120
|
}
|
|
@@ -24142,7 +24142,7 @@ function Fy(e, t, n = {}, i, s, o) {
|
|
|
24142
24142
|
pinia: i,
|
|
24143
24143
|
options: a
|
|
24144
24144
|
}));
|
|
24145
|
-
Object.keys(_ || {}).forEach((
|
|
24145
|
+
Object.keys(_ || {}).forEach((I) => F._customProperties.add(I)), Wi(F, _);
|
|
24146
24146
|
} else
|
|
24147
24147
|
Wi(F, r.run(() => A({
|
|
24148
24148
|
store: F,
|
|
@@ -24336,7 +24336,7 @@ const Aw = /* @__PURE__ */ Pw("permissionStore", () => {
|
|
|
24336
24336
|
}
|
|
24337
24337
|
}, y = (z) => l(z, "scene_hub"), v = (z) => l(z, "review_scene"), { tooltip: b, copyToClipboard: E } = mw(a.value.scene_hub || "", void 0, !0), x = (z) => {
|
|
24338
24338
|
E();
|
|
24339
|
-
}, w = (z) => n(z), R = (z) => l(z, "review"), S = (z) => l(z, "update"), F = (z) => l(z, "woohoo"),
|
|
24339
|
+
}, w = (z) => n(z), R = (z) => l(z, "review"), S = (z) => l(z, "update"), F = (z) => l(z, "woohoo"), k = (z) => c(z, t), O = (z) => u(z, t), A = (z) => d(z, t), _ = (z) => g(z, t), I = (z) => h(z, t), $ = K(() => {
|
|
24340
24340
|
let z = [];
|
|
24341
24341
|
return !o.value.scene_id && e.value.optionBlock && z.push(...e.value.optionBlock), Array.isArray(e.value.optionBlock) && e.value.optionBlock.length ? e.value.optionBlock : [
|
|
24342
24342
|
{
|
|
@@ -24440,7 +24440,7 @@ const Aw = /* @__PURE__ */ Pw("permissionStore", () => {
|
|
|
24440
24440
|
id: "delete-rendition",
|
|
24441
24441
|
label: "Delete rendition",
|
|
24442
24442
|
icon: "Clapperboard",
|
|
24443
|
-
action:
|
|
24443
|
+
action: k,
|
|
24444
24444
|
hide: !r.value.canDeleteRendition,
|
|
24445
24445
|
type: "icon"
|
|
24446
24446
|
},
|
|
@@ -24481,7 +24481,7 @@ const Aw = /* @__PURE__ */ Pw("permissionStore", () => {
|
|
|
24481
24481
|
icon: "TrashCan",
|
|
24482
24482
|
isDanger: !0,
|
|
24483
24483
|
description: "Delete permanently",
|
|
24484
|
-
action:
|
|
24484
|
+
action: I,
|
|
24485
24485
|
hide: !r.value.canDeleteScene,
|
|
24486
24486
|
type: "icon"
|
|
24487
24487
|
}
|
|
@@ -24561,7 +24561,7 @@ const Iw = (e) => {
|
|
|
24561
24561
|
size: { default: 16 },
|
|
24562
24562
|
color: { default: "#02C39A" },
|
|
24563
24563
|
label: { default: "" },
|
|
24564
|
-
status: { default: "
|
|
24564
|
+
status: { default: "active" },
|
|
24565
24565
|
statusTooltip: { default: "Online" },
|
|
24566
24566
|
showBadge: { type: Boolean, default: !0 },
|
|
24567
24567
|
loading: { type: Boolean }
|
|
@@ -24570,10 +24570,11 @@ const Iw = (e) => {
|
|
|
24570
24570
|
const t = oo, { triggerRef: n, popupRef: i } = ao({
|
|
24571
24571
|
trigger: "mouseenter focus",
|
|
24572
24572
|
theme: "dark",
|
|
24573
|
-
placement: "right"
|
|
24573
|
+
placement: "right",
|
|
24574
|
+
arrow: !0
|
|
24574
24575
|
}), s = K(() => {
|
|
24575
24576
|
switch (o.status) {
|
|
24576
|
-
case "
|
|
24577
|
+
case "active":
|
|
24577
24578
|
return "#02C39A";
|
|
24578
24579
|
case "offline":
|
|
24579
24580
|
return "#808080";
|
|
@@ -24608,21 +24609,21 @@ const Iw = (e) => {
|
|
|
24608
24609
|
}, St(o.statusTooltip), 3)
|
|
24609
24610
|
], 6));
|
|
24610
24611
|
}
|
|
24611
|
-
}), dj = "
|
|
24612
|
-
"status-badge-wrapper": "_status-badge-
|
|
24613
|
-
"badge-indicator": "_badge-
|
|
24614
|
-
|
|
24612
|
+
}), dj = "_active_13xqg_19", hj = "_offline_13xqg_22", fj = "_busy_13xqg_25", pj = "_away_13xqg_28", gj = {
|
|
24613
|
+
"status-badge-wrapper": "_status-badge-wrapper_13xqg_1",
|
|
24614
|
+
"badge-indicator": "_badge-indicator_13xqg_6",
|
|
24615
|
+
active: dj,
|
|
24615
24616
|
offline: hj,
|
|
24616
24617
|
busy: fj,
|
|
24617
24618
|
away: pj,
|
|
24618
|
-
"badge-tooltip": "_badge-
|
|
24619
|
+
"badge-tooltip": "_badge-tooltip_13xqg_32"
|
|
24619
24620
|
}, mj = {
|
|
24620
24621
|
$style: gj
|
|
24621
24622
|
}, SA = /* @__PURE__ */ Rt(uj, [["__cssModules", mj]]), vj = /* @__PURE__ */ ut({
|
|
24622
24623
|
__name: "MiniPeopleCard",
|
|
24623
24624
|
props: {
|
|
24624
24625
|
user: {},
|
|
24625
|
-
status: { default: "
|
|
24626
|
+
status: { default: "active" },
|
|
24626
24627
|
timezone: { default: fw() },
|
|
24627
24628
|
userConfig: { default: () => ({
|
|
24628
24629
|
size: 96,
|
|
@@ -24643,12 +24644,12 @@ const Iw = (e) => {
|
|
|
24643
24644
|
emits: ["insightClick", "copyLink", "dataUpdated"],
|
|
24644
24645
|
setup(e, { emit: t }) {
|
|
24645
24646
|
const n = Sn, i = oo, s = e, o = t, r = {
|
|
24646
|
-
|
|
24647
|
+
active: "Active in the last 10 minutes",
|
|
24647
24648
|
offline: "Logged out of TESSR",
|
|
24648
24649
|
busy: "User is busy",
|
|
24649
24650
|
away: "No activity in the last 10 minutes"
|
|
24650
24651
|
}, a = {
|
|
24651
|
-
|
|
24652
|
+
active: "#02C39A",
|
|
24652
24653
|
offline: "#808080",
|
|
24653
24654
|
busy: "#FF0000",
|
|
24654
24655
|
away: "#F7941D"
|
|
@@ -24656,15 +24657,15 @@ const Iw = (e) => {
|
|
|
24656
24657
|
var O;
|
|
24657
24658
|
return (O = s.user) == null ? void 0 : O.name;
|
|
24658
24659
|
}), y = K(() => c.value ? g4(c.value, "HH:mm") : ""), v = K(() => c.value ? `(${m4(c.value)})` : ""), b = async () => {
|
|
24659
|
-
var O, A;
|
|
24660
|
+
var O, A, _;
|
|
24660
24661
|
if (s.apiUpdateFunction)
|
|
24661
24662
|
try {
|
|
24662
|
-
const
|
|
24663
|
-
if (!
|
|
24663
|
+
const I = await s.apiUpdateFunction(s.user.id);
|
|
24664
|
+
if (!I)
|
|
24664
24665
|
throw new Error("No data returned from API");
|
|
24665
|
-
(
|
|
24666
|
-
} catch (
|
|
24667
|
-
console.error("Failed to fetch user data:",
|
|
24666
|
+
(O = I.private_info) != null && O.last_active ? ((A = I.private_info) == null ? void 0 : A.is_offline) !== void 0 && (l.value = I.private_info.is_offline ? "offline" : "active") : l.value = "away", (_ = I.private_info) != null && _.timezone && (c.value = I.private_info.timezone), o("dataUpdated", I);
|
|
24667
|
+
} catch (I) {
|
|
24668
|
+
console.error("Failed to fetch user data:", I);
|
|
24668
24669
|
} finally {
|
|
24669
24670
|
u.value = !1;
|
|
24670
24671
|
}
|
|
@@ -24684,7 +24685,7 @@ const Iw = (e) => {
|
|
|
24684
24685
|
), cn(async () => {
|
|
24685
24686
|
s.apiUpdateFunction && (await b(), E());
|
|
24686
24687
|
}), $n(x);
|
|
24687
|
-
const
|
|
24688
|
+
const k = K(() => ({
|
|
24688
24689
|
name: s.user.name,
|
|
24689
24690
|
initial: s.user.initial,
|
|
24690
24691
|
id: s.user.id,
|
|
@@ -24701,7 +24702,7 @@ const Iw = (e) => {
|
|
|
24701
24702
|
s.private ? (q(), Je(Bu, bn({
|
|
24702
24703
|
key: 1,
|
|
24703
24704
|
readOnly: !0
|
|
24704
|
-
},
|
|
24705
|
+
}, k.value), null, 16)) : (q(), Je(SA, {
|
|
24705
24706
|
key: 0,
|
|
24706
24707
|
size: 16,
|
|
24707
24708
|
status: l.value,
|
|
@@ -24709,7 +24710,7 @@ const Iw = (e) => {
|
|
|
24709
24710
|
"status-tooltip": h.value
|
|
24710
24711
|
}, {
|
|
24711
24712
|
default: Ae(() => [
|
|
24712
|
-
De(Bu, bn({ readOnly: !0 },
|
|
24713
|
+
De(Bu, bn({ readOnly: !0 }, k.value), null, 16)
|
|
24713
24714
|
]),
|
|
24714
24715
|
_: 1
|
|
24715
24716
|
}, 8, ["status", "loading", "status-tooltip"]))
|
|
@@ -24798,34 +24799,34 @@ const Iw = (e) => {
|
|
|
24798
24799
|
], 2)
|
|
24799
24800
|
], 2));
|
|
24800
24801
|
}
|
|
24801
|
-
}), yj = "
|
|
24802
|
-
"mini-people-card": "_mini-people-
|
|
24802
|
+
}), yj = "_loading_ba6ew_22", Cj = "_active_ba6ew_90", wj = "_offline_ba6ew_93", bj = "_busy_ba6ew_96", Sj = "_away_ba6ew_99", Ej = "_separator_ba6ew_122", Rj = "_timezone_ba6ew_125", Dj = "_spinning_ba6ew_131", Fj = "_spin_ba6ew_131", xj = {
|
|
24803
|
+
"mini-people-card": "_mini-people-card_ba6ew_1",
|
|
24803
24804
|
loading: yj,
|
|
24804
|
-
"avatar-section": "_avatar-
|
|
24805
|
-
"user-info": "_user-
|
|
24806
|
-
"info-row": "_info-
|
|
24807
|
-
"time-row": "_time-
|
|
24808
|
-
"time-display": "_time-
|
|
24809
|
-
"time-text": "_time-
|
|
24810
|
-
"actions-row": "_actions-
|
|
24811
|
-
"user-name": "_user-
|
|
24812
|
-
"status-badge": "_status-
|
|
24813
|
-
|
|
24805
|
+
"avatar-section": "_avatar-section_ba6ew_25",
|
|
24806
|
+
"user-info": "_user-info_ba6ew_30",
|
|
24807
|
+
"info-row": "_info-row_ba6ew_36",
|
|
24808
|
+
"time-row": "_time-row_ba6ew_43",
|
|
24809
|
+
"time-display": "_time-display_ba6ew_49",
|
|
24810
|
+
"time-text": "_time-text_ba6ew_54",
|
|
24811
|
+
"actions-row": "_actions-row_ba6ew_61",
|
|
24812
|
+
"user-name": "_user-name_ba6ew_65",
|
|
24813
|
+
"status-badge": "_status-badge_ba6ew_76",
|
|
24814
|
+
active: Cj,
|
|
24814
24815
|
offline: wj,
|
|
24815
24816
|
busy: bj,
|
|
24816
24817
|
away: Sj,
|
|
24817
|
-
"user-local-time": "_user-local-
|
|
24818
|
-
"clock-icon": "_clock-
|
|
24818
|
+
"user-local-time": "_user-local-time_ba6ew_102",
|
|
24819
|
+
"clock-icon": "_clock-icon_ba6ew_110",
|
|
24819
24820
|
separator: Ej,
|
|
24820
24821
|
timezone: Rj,
|
|
24821
|
-
"refresh-btn": "_refresh-
|
|
24822
|
+
"refresh-btn": "_refresh-btn_ba6ew_128",
|
|
24822
24823
|
spinning: Dj,
|
|
24823
24824
|
spin: Fj,
|
|
24824
|
-
"insight-btn": "_insight-
|
|
24825
|
-
"copy-link-btn": "_copy-link-
|
|
24826
|
-
"last-update": "_last-
|
|
24827
|
-
"loading-overlay": "_loading-
|
|
24828
|
-
"loading-spinner": "_loading-
|
|
24825
|
+
"insight-btn": "_insight-btn_ba6ew_134",
|
|
24826
|
+
"copy-link-btn": "_copy-link-btn_ba6ew_138",
|
|
24827
|
+
"last-update": "_last-update_ba6ew_141",
|
|
24828
|
+
"loading-overlay": "_loading-overlay_ba6ew_147",
|
|
24829
|
+
"loading-spinner": "_loading-spinner_ba6ew_160"
|
|
24829
24830
|
}, Tj = {
|
|
24830
24831
|
$style: xj
|
|
24831
24832
|
}, _j = /* @__PURE__ */ Rt(vj, [["__cssModules", Tj]]), Pj = /* @__PURE__ */ ut({
|
|
@@ -25021,7 +25022,7 @@ const Iw = (e) => {
|
|
|
25021
25022
|
S === !1 && (s.value = !1);
|
|
25022
25023
|
}
|
|
25023
25024
|
), (S, F) => {
|
|
25024
|
-
const
|
|
25025
|
+
const k = Gx("tooltip");
|
|
25025
25026
|
return q(), Ce("div", {
|
|
25026
25027
|
class: j([S.$style["list-item"], h.value]),
|
|
25027
25028
|
role: "listitem",
|
|
@@ -25083,7 +25084,7 @@ const Iw = (e) => {
|
|
|
25083
25084
|
]),
|
|
25084
25085
|
_: 1
|
|
25085
25086
|
})), [
|
|
25086
|
-
[
|
|
25087
|
+
[k, f.value]
|
|
25087
25088
|
]),
|
|
25088
25089
|
ot((q(), Je(Ct, {
|
|
25089
25090
|
variant: ["danger", "primary", "icon"],
|
|
@@ -25098,7 +25099,7 @@ const Iw = (e) => {
|
|
|
25098
25099
|
]),
|
|
25099
25100
|
_: 1
|
|
25100
25101
|
})), [
|
|
25101
|
-
[
|
|
25102
|
+
[k, g.value]
|
|
25102
25103
|
])
|
|
25103
25104
|
], 2)) : it("", !0)
|
|
25104
25105
|
])
|
|
@@ -25439,7 +25440,7 @@ const Iw = (e) => {
|
|
|
25439
25440
|
[s.ARROW_DOWN]: () => x(H),
|
|
25440
25441
|
[s.ARROW_UP]: () => w(H),
|
|
25441
25442
|
[s.ENTER]: () => F(H),
|
|
25442
|
-
[s.ESCAPE]: () =>
|
|
25443
|
+
[s.ESCAPE]: () => k(H),
|
|
25443
25444
|
[s.TAB]: () => O(H)
|
|
25444
25445
|
}[H.key];
|
|
25445
25446
|
ue && ue();
|
|
@@ -25467,15 +25468,15 @@ const Iw = (e) => {
|
|
|
25467
25468
|
const ue = f.value[l.value];
|
|
25468
25469
|
A(ue);
|
|
25469
25470
|
}
|
|
25470
|
-
},
|
|
25471
|
-
H.preventDefault(),
|
|
25471
|
+
}, k = (H) => {
|
|
25472
|
+
H.preventDefault(), I();
|
|
25472
25473
|
}, O = (H) => {
|
|
25473
25474
|
l.value >= 0 && (H.preventDefault(), F(H));
|
|
25474
25475
|
}, A = (H) => {
|
|
25475
|
-
!H || H.disabled || (r("select", H), l.value = -1,
|
|
25476
|
+
!H || H.disabled || (r("select", H), l.value = -1, I());
|
|
25476
25477
|
}, _ = (H) => {
|
|
25477
25478
|
H >= 0 && H < f.value.length && (l.value = H);
|
|
25478
|
-
},
|
|
25479
|
+
}, I = () => {
|
|
25479
25480
|
r("close");
|
|
25480
25481
|
}, $ = () => {
|
|
25481
25482
|
if (!g.value || !u.value) return;
|
|
@@ -25511,7 +25512,7 @@ const Iw = (e) => {
|
|
|
25511
25512
|
query: a,
|
|
25512
25513
|
filteredOptions: f,
|
|
25513
25514
|
selectedIndex: l,
|
|
25514
|
-
closeDropdown:
|
|
25515
|
+
closeDropdown: I,
|
|
25515
25516
|
clearSearch: () => {
|
|
25516
25517
|
a.value = "";
|
|
25517
25518
|
}
|
|
@@ -25733,7 +25734,7 @@ const Iw = (e) => {
|
|
|
25733
25734
|
...s,
|
|
25734
25735
|
updateRowData: c,
|
|
25735
25736
|
value: s.value
|
|
25736
|
-
}),
|
|
25737
|
+
}), k = ki("bulkUpdate", !1), { apiServices: O } = ro(!k, s), A = ki("workspaceId"), _ = async (Q = 1, H = "", re = !1) => {
|
|
25737
25738
|
var ue, xe, Ie, st, dt;
|
|
25738
25739
|
if (!O.value || !s.id && !s.ids)
|
|
25739
25740
|
throw console.error("API service or item identifiers are undefined"), new Error("API service or item identifiers are undefined");
|
|
@@ -25759,7 +25760,7 @@ const Iw = (e) => {
|
|
|
25759
25760
|
} finally {
|
|
25760
25761
|
u.value = !1, d.value = !1;
|
|
25761
25762
|
}
|
|
25762
|
-
},
|
|
25763
|
+
}, I = () => {
|
|
25763
25764
|
!d.value && g.value && _(f.value + 1, v.value, !0);
|
|
25764
25765
|
}, $ = to(async (Q) => {
|
|
25765
25766
|
v.value = Q, await _(1, Q, !1);
|
|
@@ -25806,7 +25807,7 @@ const Iw = (e) => {
|
|
|
25806
25807
|
"has-more": g.value,
|
|
25807
25808
|
onSelect: ee(w),
|
|
25808
25809
|
onSearch: ee($),
|
|
25809
|
-
onLoadMore:
|
|
25810
|
+
onLoadMore: I
|
|
25810
25811
|
}), TC({
|
|
25811
25812
|
"extra-item": Ae(() => [
|
|
25812
25813
|
De(Ct, {
|
|
@@ -25851,7 +25852,7 @@ const Iw = (e) => {
|
|
|
25851
25852
|
ot(De(Bu, vC(Gp(r(re))), null, 16), [
|
|
25852
25853
|
[ee(o), {
|
|
25853
25854
|
user: re.data,
|
|
25854
|
-
status: "
|
|
25855
|
+
status: "active",
|
|
25855
25856
|
timezone: ge.value,
|
|
25856
25857
|
placement: "bottom-start",
|
|
25857
25858
|
showInsightButton: !0,
|
|
@@ -26179,7 +26180,7 @@ const Iw = (e) => {
|
|
|
26179
26180
|
});
|
|
26180
26181
|
return n.weekStart === 1 ? U : [U[6], ...U.slice(0, 6)];
|
|
26181
26182
|
});
|
|
26182
|
-
function
|
|
26183
|
+
function k(U, B, Q) {
|
|
26183
26184
|
const H = U === "start" ? B.startOf("day") : B.endOf("day"), re = E(H), ue = {
|
|
26184
26185
|
year: H.year,
|
|
26185
26186
|
month: H.month,
|
|
@@ -26204,7 +26205,7 @@ const Iw = (e) => {
|
|
|
26204
26205
|
const Q = (x.value ? qe.fromISO(x.value, { zone: n.timezone }) : c.value).weekday % 7, H = U ? 6 - Q : -Q;
|
|
26205
26206
|
A(H);
|
|
26206
26207
|
}
|
|
26207
|
-
function
|
|
26208
|
+
function I(U) {
|
|
26208
26209
|
switch (U.key) {
|
|
26209
26210
|
case "ArrowLeft":
|
|
26210
26211
|
U.preventDefault(), A(-1);
|
|
@@ -26244,11 +26245,11 @@ const Iw = (e) => {
|
|
|
26244
26245
|
const B = !!u.value, Q = !!d.value, H = n.activeField, re = ((Ze = u.value) == null ? void 0 : Ze.toISODate()) || "null", ue = ((Xt = d.value) == null ? void 0 : Xt.toISODate()) || "null", xe = U.dt.toISODate() || "", Ie = (Kt, At) => {
|
|
26245
26246
|
s.value = { case: Kt, behavior: At };
|
|
26246
26247
|
}, st = () => `Selected start ${xe} > existing end ${ue} -> reset both to ${xe}`, dt = () => `Selected end ${xe} < existing start ${re} -> reset both to ${xe}`, gt = () => {
|
|
26247
|
-
|
|
26248
|
+
k("start", U.dt, !0), k("end", U.dt), o("update:activeField", "end");
|
|
26248
26249
|
}, xt = (Kt = !1) => {
|
|
26249
|
-
|
|
26250
|
+
k("start", U.dt, Kt), Kt && o("update:activeField", "end");
|
|
26250
26251
|
}, Gt = (Kt = !1) => {
|
|
26251
|
-
console.trace("doSelectEnd called with closeAfter:", Kt, n.immediatelyUpdate),
|
|
26252
|
+
console.trace("doSelectEnd called with closeAfter:", Kt, n.immediatelyUpdate), k("end", U.dt), Kt && o("close");
|
|
26252
26253
|
};
|
|
26253
26254
|
if (B && Q) {
|
|
26254
26255
|
H === "start" ? d.value && U.dt > d.value ? (gt(), Ie("INVERT_RANGE_FROM_START", st())) : (xt(!1), Ie(
|
|
@@ -26307,7 +26308,7 @@ const Iw = (e) => {
|
|
|
26307
26308
|
role: "grid",
|
|
26308
26309
|
"aria-label": l.value,
|
|
26309
26310
|
tabindex: "0",
|
|
26310
|
-
onKeydown:
|
|
26311
|
+
onKeydown: I
|
|
26311
26312
|
}, [
|
|
26312
26313
|
ye("div", {
|
|
26313
26314
|
class: j([U.$style["arbo-calendar-header"], U.$style["arbo-calendar-week"]]),
|
|
@@ -26420,7 +26421,7 @@ const Iw = (e) => {
|
|
|
26420
26421
|
setup(e, { emit: t }) {
|
|
26421
26422
|
const n = e, i = K(() => {
|
|
26422
26423
|
if (n.monthLabels && n.monthLabels.length === 12) return n.monthLabels;
|
|
26423
|
-
const _ = n.locale || "en-US",
|
|
26424
|
+
const _ = n.locale || "en-US", I = n.monthLabelStyle || "short", $ = new Intl.DateTimeFormat(_, { month: I, timeZone: "UTC" });
|
|
26424
26425
|
return Array.from({ length: 12 }, (ge, U) => $.format(new Date(Date.UTC(2020, U, 1))));
|
|
26425
26426
|
}), s = t, o = ie(n.year), r = ie(n.month);
|
|
26426
26427
|
ft(
|
|
@@ -26443,12 +26444,12 @@ const Iw = (e) => {
|
|
|
26443
26444
|
return o.value - o.value % _;
|
|
26444
26445
|
}), h = K(() => d.value + n.yearSpan - 1);
|
|
26445
26446
|
function f() {
|
|
26446
|
-
const _ = n.yearSpan,
|
|
26447
|
-
|
|
26447
|
+
const _ = n.yearSpan, I = d.value - _;
|
|
26448
|
+
I >= c.value && (o.value = I);
|
|
26448
26449
|
}
|
|
26449
26450
|
function g() {
|
|
26450
|
-
const _ = n.yearSpan,
|
|
26451
|
-
|
|
26451
|
+
const _ = n.yearSpan, I = d.value + _;
|
|
26452
|
+
I <= u.value && (o.value = I);
|
|
26452
26453
|
}
|
|
26453
26454
|
const y = K(
|
|
26454
26455
|
() => d.value - n.yearSpan < c.value
|
|
@@ -26476,26 +26477,26 @@ const Iw = (e) => {
|
|
|
26476
26477
|
}
|
|
26477
26478
|
function F() {
|
|
26478
26479
|
if (a.value === "days") {
|
|
26479
|
-
let _ = o.value,
|
|
26480
|
-
if (
|
|
26481
|
-
o.value = _, r.value =
|
|
26480
|
+
let _ = o.value, I = r.value - 1;
|
|
26481
|
+
if (I < 1 && (I = 12, _--), _ < c.value) return;
|
|
26482
|
+
o.value = _, r.value = I, s("update:year", _), s("update:month", I);
|
|
26482
26483
|
} else if (a.value === "months") {
|
|
26483
26484
|
if (o.value - 1 < c.value) return;
|
|
26484
26485
|
o.value--, s("update:year", o.value);
|
|
26485
26486
|
} else a.value === "years" && f();
|
|
26486
26487
|
}
|
|
26487
|
-
function
|
|
26488
|
+
function k() {
|
|
26488
26489
|
if (a.value === "days") {
|
|
26489
|
-
let _ = o.value,
|
|
26490
|
-
if (
|
|
26491
|
-
o.value = _, r.value =
|
|
26490
|
+
let _ = o.value, I = r.value + 1;
|
|
26491
|
+
if (I > 12 && (I = 1, _++), _ > u.value) return;
|
|
26492
|
+
o.value = _, r.value = I, s("update:year", _), s("update:month", I);
|
|
26492
26493
|
} else if (a.value === "months") {
|
|
26493
26494
|
if (o.value + 1 > u.value) return;
|
|
26494
26495
|
o.value++, s("update:year", o.value);
|
|
26495
26496
|
} else a.value === "years" && g();
|
|
26496
26497
|
}
|
|
26497
26498
|
const O = K(() => a.value === "days" ? o.value === c.value && r.value === 1 : a.value === "months" ? o.value - 1 < c.value : y.value), A = K(() => a.value === "days" ? o.value === u.value && r.value === 12 : a.value === "months" ? o.value + 1 > u.value : v.value);
|
|
26498
|
-
return (_,
|
|
26499
|
+
return (_, I) => (q(), Ce("div", {
|
|
26499
26500
|
class: j(_.$style["cal-nav-wrapper"])
|
|
26500
26501
|
}, [
|
|
26501
26502
|
bt(_.$slots, "selection"),
|
|
@@ -26550,7 +26551,7 @@ const Iw = (e) => {
|
|
|
26550
26551
|
"aria-label": "Next",
|
|
26551
26552
|
disabled: A.value,
|
|
26552
26553
|
label: "",
|
|
26553
|
-
onClick:
|
|
26554
|
+
onClick: k
|
|
26554
26555
|
}, {
|
|
26555
26556
|
default: Ae(() => [
|
|
26556
26557
|
De(lt, {
|
|
@@ -26837,7 +26838,7 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
26837
26838
|
ref_key: "inputRef",
|
|
26838
26839
|
ref: r,
|
|
26839
26840
|
type: "text",
|
|
26840
|
-
"onUpdate:modelValue": S[0] || (S[0] = (
|
|
26841
|
+
"onUpdate:modelValue": S[0] || (S[0] = (k) => Ut(u) ? u.value = k : null),
|
|
26841
26842
|
onPaste: Wt(x, ["prevent"]),
|
|
26842
26843
|
placeholder: (F = s.format) == null ? void 0 : F.toLocaleUpperCase(),
|
|
26843
26844
|
class: j([R.$style["date-input"]])
|
|
@@ -26985,8 +26986,8 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
26985
26986
|
v();
|
|
26986
26987
|
}, F = () => {
|
|
26987
26988
|
b();
|
|
26988
|
-
},
|
|
26989
|
-
|
|
26989
|
+
}, k = () => {
|
|
26990
|
+
I();
|
|
26990
26991
|
}, O = K(() => u.isSelectingStart || u.isSelectingEnd);
|
|
26991
26992
|
function A() {
|
|
26992
26993
|
s.disabled || s.readOnly || (y(), u.isSelectingStart = !0, u.isSelectingEnd = !1);
|
|
@@ -26994,11 +26995,11 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
26994
26995
|
function _() {
|
|
26995
26996
|
s.disabled || s.readOnly || (y(), u.isSelectingEnd = !0, u.isSelectingStart = !1);
|
|
26996
26997
|
}
|
|
26997
|
-
function
|
|
26998
|
+
function I() {
|
|
26998
26999
|
u.isSelectingStart = !1, u.isSelectingEnd = !1, console.log("closing picker"), r("closed");
|
|
26999
27000
|
}
|
|
27000
27001
|
function $(re) {
|
|
27001
|
-
re.key === "Escape" && (re.stopPropagation(),
|
|
27002
|
+
re.key === "Escape" && (re.stopPropagation(), I());
|
|
27002
27003
|
}
|
|
27003
27004
|
const z = ie((/* @__PURE__ */ new Date()).getFullYear()), ge = ie((/* @__PURE__ */ new Date()).getMonth() + 1);
|
|
27004
27005
|
ft(
|
|
@@ -27041,8 +27042,8 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27041
27042
|
resetCalendarLogic: B,
|
|
27042
27043
|
openStart: A,
|
|
27043
27044
|
openEnd: _,
|
|
27044
|
-
closePicker:
|
|
27045
|
-
clearAll:
|
|
27045
|
+
closePicker: I,
|
|
27046
|
+
clearAll: k,
|
|
27046
27047
|
isOpen: O,
|
|
27047
27048
|
drpRef: U,
|
|
27048
27049
|
getValues: () => ({
|
|
@@ -27128,9 +27129,9 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27128
27129
|
immediatelyUpdate: e.immediatelyUpdate,
|
|
27129
27130
|
onSelectStart: ee(g),
|
|
27130
27131
|
onSelectEnd: ee(d),
|
|
27131
|
-
onConfirm: ue[3] || (ue[3] = (st) => a(ee(f),
|
|
27132
|
-
onCancel: ue[4] || (ue[4] = (st) => l(ee(h),
|
|
27133
|
-
onClose: ue[5] || (ue[5] = (st) => a(ee(f),
|
|
27132
|
+
onConfirm: ue[3] || (ue[3] = (st) => a(ee(f), I)),
|
|
27133
|
+
onCancel: ue[4] || (ue[4] = (st) => l(ee(h), I)),
|
|
27134
|
+
onClose: ue[5] || (ue[5] = (st) => a(ee(f), I))
|
|
27134
27135
|
}, null, 8, ["disabled", "disableConfirm", "readOnly", "tracing-case", "year", "month", "start-date", "end-date", "active-field", "timezone", "immediatelyUpdate", "onSelectStart", "onSelectEnd"])
|
|
27135
27136
|
]),
|
|
27136
27137
|
_: 1
|
|
@@ -27310,13 +27311,13 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27310
27311
|
return s.id && A.add(String(s.id)), s.ids && s.ids.forEach((_) => {
|
|
27311
27312
|
_ && A.add(String(_));
|
|
27312
27313
|
}), Array.from(A);
|
|
27313
|
-
}), E = ki("bulkUpdate", !1), { apiServices: x } = ro(!E, s), w = async (A = i.INITIAL_PAGE, _ = "",
|
|
27314
|
+
}), E = ki("bulkUpdate", !1), { apiServices: x } = ro(!E, s), w = async (A = i.INITIAL_PAGE, _ = "", I = !1) => {
|
|
27314
27315
|
var $, z, ge;
|
|
27315
27316
|
if (!y.value) {
|
|
27316
27317
|
console.error("Missing required props", s);
|
|
27317
27318
|
return;
|
|
27318
27319
|
}
|
|
27319
|
-
|
|
27320
|
+
I ? l.value = !0 : a.value = !0, c.value = null;
|
|
27320
27321
|
try {
|
|
27321
27322
|
const U = {
|
|
27322
27323
|
workspaceId: String(s.workspaceId),
|
|
@@ -27329,13 +27330,13 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27329
27330
|
throw new Error("API service getAssignableStatus is undefined");
|
|
27330
27331
|
const B = await ((z = x.value) == null ? void 0 : z.getAssignableStatus(U));
|
|
27331
27332
|
if (!(B != null && B.data)) {
|
|
27332
|
-
|
|
27333
|
+
I || (r.value = []), d.value = !1;
|
|
27333
27334
|
return;
|
|
27334
27335
|
}
|
|
27335
27336
|
const Q = B.data.map(v);
|
|
27336
|
-
r.value =
|
|
27337
|
+
r.value = I ? [...r.value, ...Q] : Q, h.value = ((ge = B.meta) == null ? void 0 : ge.total) ?? B.data.length, d.value = r.value.length < h.value, u.value = A;
|
|
27337
27338
|
} catch (U) {
|
|
27338
|
-
console.error("Error fetching statuses:", U), c.value = "Failed to load statuses",
|
|
27339
|
+
console.error("Error fetching statuses:", U), c.value = "Failed to load statuses", I || (r.value = []), d.value = !1, o("error", c.value);
|
|
27339
27340
|
} finally {
|
|
27340
27341
|
a.value = !1, l.value = !1;
|
|
27341
27342
|
}
|
|
@@ -27344,7 +27345,7 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27344
27345
|
}, Rd), S = async () => {
|
|
27345
27346
|
!d.value || l.value || await w(u.value + 1, f.value, !0);
|
|
27346
27347
|
}, F = async (A) => {
|
|
27347
|
-
var _,
|
|
27348
|
+
var _, I, $;
|
|
27348
27349
|
if (!y.value) {
|
|
27349
27350
|
console.error("Missing required props for updating status", s);
|
|
27350
27351
|
return;
|
|
@@ -27356,7 +27357,7 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27356
27357
|
statusId: String(A.value)
|
|
27357
27358
|
});
|
|
27358
27359
|
if (!(z != null && z.message)) throw new Error("API did not return success");
|
|
27359
|
-
s.params && ((
|
|
27360
|
+
s.params && ((I = s.params) == null || I.node.setData({
|
|
27360
27361
|
...(_ = s.params) == null ? void 0 : _.node.data,
|
|
27361
27362
|
status: {
|
|
27362
27363
|
id: A.id,
|
|
@@ -27375,7 +27376,7 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27375
27376
|
} catch (z) {
|
|
27376
27377
|
console.error("Error updating status:", z), c.value = "Failed to update status", o("error", c.value);
|
|
27377
27378
|
}
|
|
27378
|
-
},
|
|
27379
|
+
}, k = K(
|
|
27379
27380
|
() => r.value.map((A) => ({
|
|
27380
27381
|
...A
|
|
27381
27382
|
}))
|
|
@@ -27397,13 +27398,13 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27397
27398
|
(A = O.value) == null || A.focus();
|
|
27398
27399
|
});
|
|
27399
27400
|
}), (A, _) => {
|
|
27400
|
-
var
|
|
27401
|
+
var I;
|
|
27401
27402
|
return q(), Je(RA, bn({
|
|
27402
27403
|
ref_key: "popupRef",
|
|
27403
27404
|
ref: O
|
|
27404
27405
|
}, s, {
|
|
27405
|
-
"selected-id": (
|
|
27406
|
-
options:
|
|
27406
|
+
"selected-id": (I = s.value) == null ? void 0 : I.id,
|
|
27407
|
+
options: k.value,
|
|
27407
27408
|
loading: a.value,
|
|
27408
27409
|
"loading-more": l.value,
|
|
27409
27410
|
"has-more": d.value,
|
|
@@ -27485,38 +27486,38 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27485
27486
|
},
|
|
27486
27487
|
emits: ["close", "assignStatus", "assignAssignee", "assignDate", "assignMetric", "moreActions", "deleteSelected", "unselect"],
|
|
27487
27488
|
setup(e, { emit: t }) {
|
|
27488
|
-
const n = Sn, i = e, s = t, o = K(() => i.selectRowData.map((
|
|
27489
|
+
const n = Sn, i = e, s = t, o = K(() => i.selectRowData.map((k) => k.id)), { popupRef: r, triggerRef: a } = ao();
|
|
27489
27490
|
Fa("bulkUpdate", !0);
|
|
27490
27491
|
const l = ({
|
|
27491
|
-
itemIds:
|
|
27492
|
+
itemIds: k,
|
|
27492
27493
|
data: O
|
|
27493
27494
|
}) => {
|
|
27494
27495
|
const A = i.gridApi;
|
|
27495
|
-
|
|
27496
|
+
k.forEach((_) => {
|
|
27496
27497
|
if (!A) {
|
|
27497
27498
|
console.error("Grid API is undefined");
|
|
27498
27499
|
return;
|
|
27499
27500
|
}
|
|
27500
|
-
const
|
|
27501
|
-
if (
|
|
27502
|
-
const $ = { ...
|
|
27503
|
-
|
|
27501
|
+
const I = A.getRowNode(_);
|
|
27502
|
+
if (I) {
|
|
27503
|
+
const $ = { ...I.data, status: O };
|
|
27504
|
+
I.setData($);
|
|
27504
27505
|
}
|
|
27505
27506
|
});
|
|
27506
27507
|
}, c = ({
|
|
27507
|
-
itemIds:
|
|
27508
|
+
itemIds: k,
|
|
27508
27509
|
data: O
|
|
27509
27510
|
}) => {
|
|
27510
27511
|
const A = i.gridApi;
|
|
27511
|
-
|
|
27512
|
+
k.forEach((_) => {
|
|
27512
27513
|
if (!A) {
|
|
27513
27514
|
console.error("Grid API is undefined");
|
|
27514
27515
|
return;
|
|
27515
27516
|
}
|
|
27516
|
-
const
|
|
27517
|
-
if (
|
|
27518
|
-
const $ = { ...
|
|
27519
|
-
|
|
27517
|
+
const I = A.getRowNode(_);
|
|
27518
|
+
if (I) {
|
|
27519
|
+
const $ = { ...I.data, dateRange: O };
|
|
27520
|
+
I.setData($);
|
|
27520
27521
|
}
|
|
27521
27522
|
});
|
|
27522
27523
|
}, u = ["primary"], d = [
|
|
@@ -27556,8 +27557,8 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27556
27557
|
}, f = Aw(), { userPermissions: g } = Xl(f), y = K(() => g.value.includes(xy)), v = () => {
|
|
27557
27558
|
const O = `https://review.dev.arbocollab.com/w:yngazem?scene_ids=${i.selectRowData.map((A) => A.id).join(",")}`;
|
|
27558
27559
|
window.open(O, "_blank");
|
|
27559
|
-
}, b = (
|
|
27560
|
-
const { assignees: O, type: A } =
|
|
27560
|
+
}, b = (k) => {
|
|
27561
|
+
const { assignees: O, type: A } = k, _ = i.gridApi;
|
|
27561
27562
|
if (!_) {
|
|
27562
27563
|
console.error("Grid API is not available for bulk update.");
|
|
27563
27564
|
return;
|
|
@@ -27594,14 +27595,14 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27594
27595
|
});
|
|
27595
27596
|
}, { apiServices: E } = ro(!1, i), x = async () => {
|
|
27596
27597
|
var _;
|
|
27597
|
-
const
|
|
27598
|
+
const k = i.selectRowData.map((I) => I.id), O = i.gridApi;
|
|
27598
27599
|
if (!O) {
|
|
27599
27600
|
console.error("Grid API is not available for bulk delete.");
|
|
27600
27601
|
return;
|
|
27601
27602
|
}
|
|
27602
|
-
const A = await ((_ = E.value) == null ? void 0 : _.bulkDeleteItems(String(i.workspaceId),
|
|
27603
|
-
(A == null ? void 0 : A.message) == "Done" && (
|
|
27604
|
-
const $ = O.getRowNode(
|
|
27603
|
+
const A = await ((_ = E.value) == null ? void 0 : _.bulkDeleteItems(String(i.workspaceId), k));
|
|
27604
|
+
(A == null ? void 0 : A.message) == "Done" && (k.forEach((I) => {
|
|
27605
|
+
const $ = O.getRowNode(I);
|
|
27605
27606
|
if ($) {
|
|
27606
27607
|
const z = { ...$.data, isDeleted: !0, disabled: !0 };
|
|
27607
27608
|
$.setData(z);
|
|
@@ -27609,18 +27610,18 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27609
27610
|
}), O.deselectAll());
|
|
27610
27611
|
}, w = async () => {
|
|
27611
27612
|
var _;
|
|
27612
|
-
const
|
|
27613
|
+
const k = i.selectRowData.map((I) => I.id), O = i.gridApi;
|
|
27613
27614
|
if (!O) {
|
|
27614
27615
|
console.error("Grid API is not available for bulk archive.");
|
|
27615
27616
|
return;
|
|
27616
27617
|
}
|
|
27617
|
-
const A = await ((_ = E.value) == null ? void 0 : _.bulkArchiveItems(String(i.workspaceId),
|
|
27618
|
+
const A = await ((_ = E.value) == null ? void 0 : _.bulkArchiveItems(String(i.workspaceId), k));
|
|
27618
27619
|
if ((A == null ? void 0 : A.message) != "Done") {
|
|
27619
27620
|
console.error("Failed to archive items.");
|
|
27620
27621
|
return;
|
|
27621
27622
|
}
|
|
27622
|
-
|
|
27623
|
-
const $ = O.getRowNode(
|
|
27623
|
+
k.forEach((I) => {
|
|
27624
|
+
const $ = O.getRowNode(I);
|
|
27624
27625
|
if ($) {
|
|
27625
27626
|
const z = { ...$.data, isArchived: !0 };
|
|
27626
27627
|
$.setData(z);
|
|
@@ -27628,18 +27629,18 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27628
27629
|
});
|
|
27629
27630
|
}, R = async () => {
|
|
27630
27631
|
var _;
|
|
27631
|
-
const
|
|
27632
|
+
const k = i.selectRowData.map((I) => I.id), O = i.gridApi;
|
|
27632
27633
|
if (!O) {
|
|
27633
27634
|
console.error("Grid API is not available for bulk thumbnail deletion.");
|
|
27634
27635
|
return;
|
|
27635
27636
|
}
|
|
27636
|
-
const A = await ((_ = E.value) == null ? void 0 : _.deleteThumbnail(String(i.workspaceId),
|
|
27637
|
+
const A = await ((_ = E.value) == null ? void 0 : _.deleteThumbnail(String(i.workspaceId), k));
|
|
27637
27638
|
if ((A == null ? void 0 : A.message) != "Done") {
|
|
27638
27639
|
console.error("Failed to delete thumbnails.");
|
|
27639
27640
|
return;
|
|
27640
27641
|
}
|
|
27641
|
-
|
|
27642
|
-
const $ = O.getRowNode(
|
|
27642
|
+
k.forEach((I) => {
|
|
27643
|
+
const $ = O.getRowNode(I);
|
|
27643
27644
|
if ($) {
|
|
27644
27645
|
const z = { ...$.data, thumbnail: null };
|
|
27645
27646
|
$.setData(z);
|
|
@@ -27647,34 +27648,34 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27647
27648
|
});
|
|
27648
27649
|
}, S = async () => {
|
|
27649
27650
|
var _;
|
|
27650
|
-
const
|
|
27651
|
+
const k = i.selectRowData.map((I) => I.id), O = i.gridApi;
|
|
27651
27652
|
if (!O) {
|
|
27652
27653
|
console.error("Grid API is not available for bulk rendition deletion.");
|
|
27653
27654
|
return;
|
|
27654
27655
|
}
|
|
27655
|
-
const A = await ((_ = E.value) == null ? void 0 : _.deleteRendition(String(i.workspaceId),
|
|
27656
|
+
const A = await ((_ = E.value) == null ? void 0 : _.deleteRendition(String(i.workspaceId), k));
|
|
27656
27657
|
if ((A == null ? void 0 : A.message) != "Done") {
|
|
27657
27658
|
console.error("Failed to delete renditions.");
|
|
27658
27659
|
return;
|
|
27659
27660
|
}
|
|
27660
|
-
|
|
27661
|
-
const $ = O.getRowNode(
|
|
27661
|
+
k.forEach((I) => {
|
|
27662
|
+
const $ = O.getRowNode(I);
|
|
27662
27663
|
if ($) {
|
|
27663
27664
|
const z = { ...$.data, rendition: null };
|
|
27664
27665
|
$.setData(z);
|
|
27665
27666
|
}
|
|
27666
27667
|
});
|
|
27667
|
-
}, F = (
|
|
27668
|
-
|
|
27668
|
+
}, F = (k) => {
|
|
27669
|
+
k.id === "delete" ? x() : k.id === "archive" ? w() : k.id === "delete-thumbnail" ? R() : k.id === "delete-rendition" && S();
|
|
27669
27670
|
};
|
|
27670
|
-
return (
|
|
27671
|
-
class: j(
|
|
27671
|
+
return (k, O) => ot((q(), Ce("div", {
|
|
27672
|
+
class: j(k.$style["bulk-update-action"])
|
|
27672
27673
|
}, [
|
|
27673
27674
|
ye("div", {
|
|
27674
|
-
class: j(
|
|
27675
|
+
class: j(k.$style["left-actions"])
|
|
27675
27676
|
}, [
|
|
27676
27677
|
ye("div", {
|
|
27677
|
-
class: j(
|
|
27678
|
+
class: j(k.$style["selection-track"]),
|
|
27678
27679
|
ref_key: "triggerRef",
|
|
27679
27680
|
ref: a
|
|
27680
27681
|
}, [
|
|
@@ -27691,16 +27692,16 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27691
27692
|
_: 1
|
|
27692
27693
|
}),
|
|
27693
27694
|
ye("span", {
|
|
27694
|
-
class: j(
|
|
27695
|
+
class: j(k.$style["selected-count"])
|
|
27695
27696
|
}, St(e.selectRowData.length) + " selected", 3),
|
|
27696
27697
|
ye("span", {
|
|
27697
|
-
class: j(
|
|
27698
|
+
class: j(k.$style.divider)
|
|
27698
27699
|
}, null, 2)
|
|
27699
27700
|
], 2),
|
|
27700
27701
|
ye("div", {
|
|
27701
27702
|
ref_key: "popupRef",
|
|
27702
27703
|
ref: r,
|
|
27703
|
-
class: j(
|
|
27704
|
+
class: j(k.$style["selected-list"])
|
|
27704
27705
|
}, [
|
|
27705
27706
|
(q(!0), Ce(Pt, null, Cn(e.selectRowData, (A) => (q(), Ce("div", {
|
|
27706
27707
|
key: A.id
|
|
@@ -27728,18 +27729,18 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27728
27729
|
onUpdated: c
|
|
27729
27730
|
}, null, 8, ["ids", "workspace-id", "entity-id"]),
|
|
27730
27731
|
ye("span", {
|
|
27731
|
-
class: j(
|
|
27732
|
+
class: j(k.$style.divider)
|
|
27732
27733
|
}, null, 2),
|
|
27733
27734
|
y.value ? ot((q(), Je(Ct, {
|
|
27734
27735
|
key: 0,
|
|
27735
|
-
class: j(
|
|
27736
|
+
class: j(k.$style["action-button"]),
|
|
27736
27737
|
variant: [...u, "icon"],
|
|
27737
27738
|
onClick: v
|
|
27738
27739
|
}, {
|
|
27739
27740
|
default: Ae(() => [
|
|
27740
27741
|
De(lt, {
|
|
27741
27742
|
src: "PenRuler",
|
|
27742
|
-
class: j(
|
|
27743
|
+
class: j(k.$style["icon-btn"])
|
|
27743
27744
|
}, null, 8, ["class"])
|
|
27744
27745
|
]),
|
|
27745
27746
|
_: 1
|
|
@@ -27747,19 +27748,19 @@ const Y8 = ["disabled", "readonly", "placeholder"], Z8 = /* @__PURE__ */ ut({
|
|
|
27747
27748
|
[ee(n), { content: "Open in Review" }]
|
|
27748
27749
|
]) : it("", !0),
|
|
27749
27750
|
ye("span", {
|
|
27750
|
-
class: j(
|
|
27751
|
+
class: j(k.$style.divider)
|
|
27751
27752
|
}, null, 2),
|
|
27752
27753
|
De(dK, { placement: "top-end" }, {
|
|
27753
27754
|
trigger: Ae(({ open: A }) => [
|
|
27754
27755
|
ot((q(), Je(Ct, {
|
|
27755
27756
|
actived: A,
|
|
27756
|
-
class: j(
|
|
27757
|
+
class: j(k.$style["action-button"]),
|
|
27757
27758
|
variant: [...u, "icon"]
|
|
27758
27759
|
}, {
|
|
27759
27760
|
default: Ae(() => [
|
|
27760
27761
|
De(lt, {
|
|
27761
27762
|
src: "EllipsisVertical",
|
|
27762
|
-
class: j(
|
|
27763
|
+
class: j(k.$style.icon),
|
|
27763
27764
|
source: "remote"
|
|
27764
27765
|
}, null, 8, ["class"])
|
|
27765
27766
|
]),
|
|
@@ -28047,9 +28048,9 @@ const FK = ["placeholder", "maxlength"], xK = {
|
|
|
28047
28048
|
}, [
|
|
28048
28049
|
!e.disabled && !e.readOnly ? {
|
|
28049
28050
|
name: "suffix",
|
|
28050
|
-
fn: Ae(({ hovered: F, focused:
|
|
28051
|
-
F ||
|
|
28052
|
-
F && !
|
|
28051
|
+
fn: Ae(({ hovered: F, focused: k }) => [
|
|
28052
|
+
F || k ? (q(), Ce("div", xK, [
|
|
28053
|
+
F && !k ? ot((q(), Je(ee(Ct), {
|
|
28053
28054
|
key: 0,
|
|
28054
28055
|
variant: ["icon", "secondary"],
|
|
28055
28056
|
size: 24,
|
|
@@ -28064,7 +28065,7 @@ const FK = ["placeholder", "maxlength"], xK = {
|
|
|
28064
28065
|
_: 1
|
|
28065
28066
|
})), [
|
|
28066
28067
|
[ee(s), "Edit"]
|
|
28067
|
-
]) :
|
|
28068
|
+
]) : k ? ot((q(), Je(ee(Ct), {
|
|
28068
28069
|
key: 1,
|
|
28069
28070
|
variant: ["icon", "tertiary", "danger"],
|
|
28070
28071
|
size: 24,
|
|
@@ -28184,41 +28185,41 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28184
28185
|
emits: ["update:value", "enter", "blur"],
|
|
28185
28186
|
setup(e, { emit: t }) {
|
|
28186
28187
|
const n = sessionStorage.getItem("ws.code"), i = sessionStorage.getItem("BASE_URL") || "https://app.dev.arbocollab.com", s = Sn, o = oo, r = e, a = t, l = ie(r.value), c = ie(r.value), u = ie(null), d = ie(null), h = ki("bulkUpdate", !1), { apiServices: f } = ro(!h, r), g = K(() => {
|
|
28187
|
-
var
|
|
28188
|
+
var k;
|
|
28188
28189
|
return {
|
|
28189
28190
|
componentType: void 0,
|
|
28190
28191
|
disabled: r.disabled,
|
|
28191
28192
|
error: !1,
|
|
28192
28193
|
readOnly: r.readOnly,
|
|
28193
|
-
isEmpty: ((
|
|
28194
|
+
isEmpty: ((k = l == null ? void 0 : l.value) == null ? void 0 : k.length) === 0,
|
|
28194
28195
|
inputRef: u,
|
|
28195
28196
|
wrapperRef: d,
|
|
28196
28197
|
clickable: !0
|
|
28197
28198
|
};
|
|
28198
28199
|
}), { isFocus: y } = zo(g), v = K(() => {
|
|
28199
|
-
const
|
|
28200
|
+
const k = n || r.workspaceId;
|
|
28200
28201
|
return ls({
|
|
28201
28202
|
type: "scene_hub",
|
|
28202
28203
|
config: {
|
|
28203
28204
|
baseDomain: i,
|
|
28204
|
-
ws_code:
|
|
28205
|
+
ws_code: k,
|
|
28205
28206
|
scene_id: String(r.id)
|
|
28206
28207
|
}
|
|
28207
28208
|
}).url;
|
|
28208
28209
|
}), b = K(
|
|
28209
28210
|
() => {
|
|
28210
|
-
var
|
|
28211
|
-
return ((
|
|
28211
|
+
var k, O, A;
|
|
28212
|
+
return ((k = r.data) == null ? void 0 : k.isDeleted) == !0 || ((A = (O = r.data) == null ? void 0 : O.isProcessing) == null ? void 0 : A.length) > 0;
|
|
28212
28213
|
}
|
|
28213
28214
|
), E = K(() => {
|
|
28214
|
-
var
|
|
28215
|
-
return (
|
|
28215
|
+
var k;
|
|
28216
|
+
return (k = r.data) == null ? void 0 : k.isProcessing;
|
|
28216
28217
|
}), x = K(() => {
|
|
28217
|
-
var
|
|
28218
|
-
return ((
|
|
28219
|
-
}), w = K(() => r.value === void 0), R = async (
|
|
28220
|
-
var O, A, _,
|
|
28221
|
-
l.value =
|
|
28218
|
+
var k;
|
|
28219
|
+
return ((k = r.data) == null ? void 0 : k.isArchived) == 1;
|
|
28220
|
+
}), w = K(() => r.value === void 0), R = async (k) => {
|
|
28221
|
+
var O, A, _, I;
|
|
28222
|
+
l.value = k, y.value = !1;
|
|
28222
28223
|
try {
|
|
28223
28224
|
const $ = await ((A = (O = f.value) == null ? void 0 : O.updateSceneName) == null ? void 0 : A.call(O, {
|
|
28224
28225
|
workspaceId: r.workspaceId,
|
|
@@ -28228,7 +28229,7 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28228
28229
|
})), z = IK.get(xP) || "UTC";
|
|
28229
28230
|
if ($) {
|
|
28230
28231
|
const ge = _P($, z), U = { ...r.data, ...ge };
|
|
28231
|
-
(
|
|
28232
|
+
(I = (_ = r.params) == null ? void 0 : _.node) == null || I.setData(U), c.value = l.value, a("enter");
|
|
28232
28233
|
} else
|
|
28233
28234
|
l.value = c.value;
|
|
28234
28235
|
} catch ($) {
|
|
@@ -28237,23 +28238,23 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28237
28238
|
}, S = {
|
|
28238
28239
|
focus: () => {
|
|
28239
28240
|
y.value = !0, setTimeout(() => {
|
|
28240
|
-
var
|
|
28241
|
-
return (
|
|
28241
|
+
var k;
|
|
28242
|
+
return (k = d.value) == null ? void 0 : k.focus();
|
|
28242
28243
|
}, 0);
|
|
28243
28244
|
}
|
|
28244
28245
|
}, F = () => d.value ? "$el" in d.value ? d.value.$el : d.value : null;
|
|
28245
28246
|
return ft(
|
|
28246
28247
|
() => r.value,
|
|
28247
|
-
(
|
|
28248
|
-
l.value =
|
|
28248
|
+
(k) => {
|
|
28249
|
+
l.value = k, c.value = k;
|
|
28249
28250
|
}
|
|
28250
28251
|
), cn(() => {
|
|
28251
|
-
const
|
|
28252
|
-
|
|
28252
|
+
const k = F();
|
|
28253
|
+
k && (k.__sceneNameEditor = S);
|
|
28253
28254
|
}), $n(() => {
|
|
28254
|
-
const
|
|
28255
|
+
const k = d.value, O = k && "$el" in k ? k.$el : k;
|
|
28255
28256
|
O && delete O.__sceneNameEditor;
|
|
28256
|
-
}), (
|
|
28257
|
+
}), (k, O) => ot((q(), Je(PA, {
|
|
28257
28258
|
"save-on-blur": !0,
|
|
28258
28259
|
ref_key: "wrapperRef",
|
|
28259
28260
|
ref: d,
|
|
@@ -28268,12 +28269,12 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28268
28269
|
}, {
|
|
28269
28270
|
default: Ae(() => [
|
|
28270
28271
|
ot(ye("div", {
|
|
28271
|
-
class: j(
|
|
28272
|
+
class: j(k.$style["scene-name-display"])
|
|
28272
28273
|
}, [
|
|
28273
28274
|
ot((q(), Ce("a", {
|
|
28274
28275
|
href: v.value,
|
|
28275
28276
|
target: "_blank",
|
|
28276
|
-
class: j(
|
|
28277
|
+
class: j(k.$style["scene-name-text"])
|
|
28277
28278
|
}, [
|
|
28278
28279
|
Et(St(l.value), 1)
|
|
28279
28280
|
], 10, kK)), [
|
|
@@ -28283,7 +28284,7 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28283
28284
|
]),
|
|
28284
28285
|
x.value ? (q(), Ce("div", {
|
|
28285
28286
|
key: 0,
|
|
28286
|
-
class: j([
|
|
28287
|
+
class: j([k.$style["icon-processing"], k.$style.archived])
|
|
28287
28288
|
}, [
|
|
28288
28289
|
De(lt, {
|
|
28289
28290
|
src: "BoxArchive",
|
|
@@ -28292,7 +28293,7 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28292
28293
|
], 2)) : it("", !0),
|
|
28293
28294
|
b.value ? ot((q(), Ce("div", {
|
|
28294
28295
|
key: 1,
|
|
28295
|
-
class: j([
|
|
28296
|
+
class: j([k.$style["icon-processing"], k.$style.processing])
|
|
28296
28297
|
}, [
|
|
28297
28298
|
De(lt, {
|
|
28298
28299
|
src: "AnimatedHourglass",
|
|
@@ -28626,7 +28627,7 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28626
28627
|
isEnded: u.value,
|
|
28627
28628
|
timezone: s.timezone || i
|
|
28628
28629
|
});
|
|
28629
|
-
return (F,
|
|
28630
|
+
return (F, k) => ot((q(), Je(Uo, bn(ee(g), {
|
|
28630
28631
|
ref_key: "wrapperRef",
|
|
28631
28632
|
ref: r
|
|
28632
28633
|
}), {
|
|
@@ -28649,7 +28650,7 @@ const kK = ["href"], OK = /* @__PURE__ */ ut({
|
|
|
28649
28650
|
], 2)), [
|
|
28650
28651
|
[ee(t), ee(x)]
|
|
28651
28652
|
]),
|
|
28652
|
-
|
|
28653
|
+
k[0] || (k[0] = ye("span", null, "→", -1)),
|
|
28653
28654
|
ot((q(), Ce("span", {
|
|
28654
28655
|
class: j([F.$style.dateLabelDisplay, ...ee(E).map((O) => F.$style[O])])
|
|
28655
28656
|
}, [
|
|
@@ -29259,7 +29260,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29259
29260
|
emits: ["update:value", "clear", "copy"],
|
|
29260
29261
|
setup(e, { emit: t }) {
|
|
29261
29262
|
const n = oo, i = Sn, s = e, o = ie(Number(s.value)), r = Sx(!1), a = ie(null), l = ie(null), c = K(() => {
|
|
29262
|
-
var
|
|
29263
|
+
var I, $;
|
|
29263
29264
|
const A = s.value == "N/A" || s.value === null || s.value === void 0 || String(s.value).length === 0, _ = !!s.error;
|
|
29264
29265
|
return {
|
|
29265
29266
|
pendingCalculation: s.value == "N/A",
|
|
@@ -29268,7 +29269,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29268
29269
|
hasPrefix: !A && !_ && u.value.morpheme_type === "prefix",
|
|
29269
29270
|
hasSuffix: !A && !_ && u.value.morpheme_type === "suffix",
|
|
29270
29271
|
isDropdown: u.value.format_type === "dropdown",
|
|
29271
|
-
isFormula: (($ = (
|
|
29272
|
+
isFormula: (($ = (I = u.value) == null ? void 0 : I.metric_type) == null ? void 0 : $.code) === "formula",
|
|
29272
29273
|
isLoading: s.value === void 0,
|
|
29273
29274
|
isRating: u.value.format_type === "icon" && u.value.format_type == "icon"
|
|
29274
29275
|
};
|
|
@@ -29310,7 +29311,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29310
29311
|
})), { argsMain: b, isHover: E } = zo(v), x = K(() => {
|
|
29311
29312
|
if (c.value.isEmpty) return "";
|
|
29312
29313
|
if (c.value.pendingCalculation) return "pending";
|
|
29313
|
-
const A = s.value, { format_type: _, format_value:
|
|
29314
|
+
const A = s.value, { format_type: _, format_value: I, mapping: $ } = u.value;
|
|
29314
29315
|
if ($ && typeof $ == "object" && !Array.isArray($)) {
|
|
29315
29316
|
const ge = $[`!${A}`];
|
|
29316
29317
|
if (ge) return ge;
|
|
@@ -29320,7 +29321,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29320
29321
|
if (ge) return ge.name;
|
|
29321
29322
|
}
|
|
29322
29323
|
if (typeof A == "string" && Number.isNaN(Number(A))) return A;
|
|
29323
|
-
const z = Number.parseInt(String(
|
|
29324
|
+
const z = Number.parseInt(String(I) || "2", 10) || 2;
|
|
29324
29325
|
try {
|
|
29325
29326
|
return Number(A).toFixed(z);
|
|
29326
29327
|
} catch (ge) {
|
|
@@ -29344,7 +29345,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29344
29345
|
},
|
|
29345
29346
|
{ immediate: !0 }
|
|
29346
29347
|
);
|
|
29347
|
-
const
|
|
29348
|
+
const k = () => {
|
|
29348
29349
|
s.disabled || (r.value = !0);
|
|
29349
29350
|
}, O = () => {
|
|
29350
29351
|
r.value = !1;
|
|
@@ -29352,7 +29353,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29352
29353
|
return (A, _) => c.value.isRating ? (q(), Je(P7, {
|
|
29353
29354
|
key: 0,
|
|
29354
29355
|
modelValue: o.value,
|
|
29355
|
-
"onUpdate:modelValue": _[0] || (_[0] = (
|
|
29356
|
+
"onUpdate:modelValue": _[0] || (_[0] = (I) => o.value = I),
|
|
29356
29357
|
params: F.value,
|
|
29357
29358
|
readOnly: !1,
|
|
29358
29359
|
disabled: s.disabled
|
|
@@ -29366,7 +29367,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29366
29367
|
]),
|
|
29367
29368
|
_: 1
|
|
29368
29369
|
}, 8, ["modelValue", "params", "disabled"])) : ot((q(), Je(Uo, bn({ key: 1 }, ee(b), {
|
|
29369
|
-
onMouseenter:
|
|
29370
|
+
onMouseenter: k,
|
|
29370
29371
|
style: { "--icon-size": "24px" },
|
|
29371
29372
|
onMouseleave: O,
|
|
29372
29373
|
ref_key: "wrapperRef",
|
|
@@ -29578,8 +29579,8 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29578
29579
|
return a.headerType;
|
|
29579
29580
|
if (((A = (O = a.params) == null ? void 0 : O.column) == null ? void 0 : A.getColId()).includes("metric"))
|
|
29580
29581
|
return "default";
|
|
29581
|
-
const
|
|
29582
|
-
return l[
|
|
29582
|
+
const k = a.headerType ?? a.params.column.getColId();
|
|
29583
|
+
return l[k] || "default";
|
|
29583
29584
|
}), u = K(() => {
|
|
29584
29585
|
var F;
|
|
29585
29586
|
return ((F = a.params) == null ? void 0 : F.displayName) ?? "";
|
|
@@ -29587,35 +29588,35 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29587
29588
|
let F = [];
|
|
29588
29589
|
switch (c.value) {
|
|
29589
29590
|
case "dateRange":
|
|
29590
|
-
F = Object.values(i).map((
|
|
29591
|
-
...
|
|
29592
|
-
selected: f.value ===
|
|
29591
|
+
F = Object.values(i).map((k) => ({
|
|
29592
|
+
...k,
|
|
29593
|
+
selected: f.value === k.value,
|
|
29593
29594
|
type: "text",
|
|
29594
|
-
hover: w.value ===
|
|
29595
|
+
hover: w.value === k.value
|
|
29595
29596
|
}));
|
|
29596
29597
|
break;
|
|
29597
29598
|
case "date":
|
|
29598
|
-
F = Object.values(s).map((
|
|
29599
|
-
...
|
|
29600
|
-
selected: f.value ===
|
|
29599
|
+
F = Object.values(s).map((k) => ({
|
|
29600
|
+
...k,
|
|
29601
|
+
selected: f.value === k.value,
|
|
29601
29602
|
type: "text",
|
|
29602
|
-
hover: w.value ===
|
|
29603
|
+
hover: w.value === k.value
|
|
29603
29604
|
}));
|
|
29604
29605
|
break;
|
|
29605
29606
|
case "number":
|
|
29606
|
-
F = Object.values(o).map((
|
|
29607
|
-
...
|
|
29608
|
-
selected: f.value ===
|
|
29607
|
+
F = Object.values(o).map((k) => ({
|
|
29608
|
+
...k,
|
|
29609
|
+
selected: f.value === k.value,
|
|
29609
29610
|
type: "text",
|
|
29610
|
-
hover: w.value ===
|
|
29611
|
+
hover: w.value === k.value
|
|
29611
29612
|
}));
|
|
29612
29613
|
break;
|
|
29613
29614
|
default:
|
|
29614
|
-
F = Object.values(r).map((
|
|
29615
|
-
...
|
|
29616
|
-
selected: f.value ===
|
|
29615
|
+
F = Object.values(r).map((k) => ({
|
|
29616
|
+
...k,
|
|
29617
|
+
selected: f.value === k.value,
|
|
29617
29618
|
type: "text",
|
|
29618
|
-
hover: w.value ===
|
|
29619
|
+
hover: w.value === k.value
|
|
29619
29620
|
}));
|
|
29620
29621
|
break;
|
|
29621
29622
|
}
|
|
@@ -29655,7 +29656,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29655
29656
|
}, 300), b = K(() => {
|
|
29656
29657
|
if (f.value === "none")
|
|
29657
29658
|
return "No sorting applied";
|
|
29658
|
-
const F = d.value.find((
|
|
29659
|
+
const F = d.value.find((k) => k.value === f.value);
|
|
29659
29660
|
return (F == null ? void 0 : F.label) || "";
|
|
29660
29661
|
}), E = t, x = K(() => {
|
|
29661
29662
|
if (a.disabled && !a.readOnly)
|
|
@@ -29679,26 +29680,26 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29679
29680
|
}
|
|
29680
29681
|
);
|
|
29681
29682
|
const R = (F) => {
|
|
29682
|
-
var _,
|
|
29683
|
+
var _, I;
|
|
29683
29684
|
if (a.readOnly || a.disabled) return;
|
|
29684
|
-
let
|
|
29685
|
-
F.key === "ArrowDown" ?
|
|
29685
|
+
let k = 0;
|
|
29686
|
+
F.key === "ArrowDown" ? k = 1 : F.key === "ArrowUp" && (k = -1);
|
|
29686
29687
|
const O = d.value.findIndex(($) => $.value === w.value), A = d.value.length;
|
|
29687
29688
|
if (F.key === "Enter" || F.key === " ")
|
|
29688
29689
|
F.preventDefault(), f.value = w.value, (_ = S.value) == null || _.hide();
|
|
29689
|
-
else if (
|
|
29690
|
+
else if (k !== 0) {
|
|
29690
29691
|
F.preventDefault();
|
|
29691
|
-
let $ = (O +
|
|
29692
|
+
let $ = (O + k + A) % A;
|
|
29692
29693
|
w.value = d.value[$].value;
|
|
29693
|
-
} else F.key === "Escape" && ((
|
|
29694
|
+
} else F.key === "Escape" && ((I = S.value) == null || I.hide());
|
|
29694
29695
|
}, S = ie(null);
|
|
29695
29696
|
return cn(() => {
|
|
29696
|
-
var F,
|
|
29697
|
-
(
|
|
29697
|
+
var F, k;
|
|
29698
|
+
(k = (F = S.value) == null ? void 0 : F.$el) == null || k.addEventListener("keydown", R);
|
|
29698
29699
|
}), lc(() => {
|
|
29699
|
-
var F,
|
|
29700
|
-
(
|
|
29701
|
-
}), (F,
|
|
29700
|
+
var F, k;
|
|
29701
|
+
(k = (F = S.value) == null ? void 0 : F.$el) == null || k.removeEventListener("keydown", R);
|
|
29702
|
+
}), (F, k) => (q(), Je(Ow, {
|
|
29702
29703
|
ref_key: "dropdownRef",
|
|
29703
29704
|
ref: S,
|
|
29704
29705
|
options: d.value,
|
|
@@ -29708,7 +29709,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
29708
29709
|
variant: ["icon", "tertiary"],
|
|
29709
29710
|
size: "small",
|
|
29710
29711
|
onHandleClick: ee(v),
|
|
29711
|
-
onSelect:
|
|
29712
|
+
onSelect: k[0] || (k[0] = (O) => y(O))
|
|
29712
29713
|
}, {
|
|
29713
29714
|
prefix: Ae(() => [
|
|
29714
29715
|
De(Ct, {
|
|
@@ -30546,7 +30547,10 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
30546
30547
|
},
|
|
30547
30548
|
emits: ["update:modelValue", "input"],
|
|
30548
30549
|
setup(e, { emit: t }) {
|
|
30549
|
-
const n = Sn, i = e, s = t, o = ie(""), r = ie([]), a = ie({}), { triggerRef: l, popupRef: c, isVisible: u } = ao({
|
|
30550
|
+
const n = Sn, i = e, s = t, o = ie(""), r = ie([]), a = ie({}), { triggerRef: l, popupRef: c, isVisible: u } = ao({
|
|
30551
|
+
placement: "bottom-end",
|
|
30552
|
+
trigger: "click"
|
|
30553
|
+
}), d = K(
|
|
30550
30554
|
() => r.value.filter((w) => w.pinned === "left" && w.field && w.headerName)
|
|
30551
30555
|
), h = K(
|
|
30552
30556
|
() => r.value.filter((w) => w.pinned === "right" && w.field || w.field === "blank")
|
|
@@ -30736,7 +30740,7 @@ const x7 = ["width", "height", "viewBox"], T7 = ["d"], _7 = "M12 17.27L18.18 21l
|
|
|
30736
30740
|
emits: ["update:modelValue"],
|
|
30737
30741
|
setup(e, { emit: t }) {
|
|
30738
30742
|
const n = [
|
|
30739
|
-
{ label: "Online", value: "
|
|
30743
|
+
{ label: "Online", value: "active", color: "green" },
|
|
30740
30744
|
{ label: "Offline", value: "offline", color: "gray" },
|
|
30741
30745
|
{ label: "Busy", value: "busy", color: "red" },
|
|
30742
30746
|
{ label: "Away", value: "away", color: "yellow" }
|
|
@@ -33838,10 +33842,10 @@ function gs(e, t, n) {
|
|
|
33838
33842
|
return !1;
|
|
33839
33843
|
if (t != null && t.state && !t.state.forEach)
|
|
33840
33844
|
return Pe(32), !1;
|
|
33841
|
-
const b = (S, F,
|
|
33845
|
+
const b = (S, F, k, O, A) => {
|
|
33842
33846
|
if (!S)
|
|
33843
33847
|
return;
|
|
33844
|
-
const _ = QY(F, t.defaultState),
|
|
33848
|
+
const _ = QY(F, t.defaultState), I = _("flex").value1;
|
|
33845
33849
|
if (R1(
|
|
33846
33850
|
e,
|
|
33847
33851
|
S,
|
|
@@ -33849,19 +33853,19 @@ function gs(e, t, n) {
|
|
|
33849
33853
|
_("sort").value1,
|
|
33850
33854
|
_("sortIndex").value1,
|
|
33851
33855
|
_("pinned").value1,
|
|
33852
|
-
|
|
33856
|
+
I,
|
|
33853
33857
|
n
|
|
33854
|
-
),
|
|
33858
|
+
), I == null) {
|
|
33855
33859
|
const $ = _("width").value1;
|
|
33856
33860
|
if ($ != null) {
|
|
33857
33861
|
const z = S.getColDef().minWidth ?? d.getDefaultColumnMinWidth();
|
|
33858
33862
|
z != null && $ >= z && S.setActualWidth($, n);
|
|
33859
33863
|
}
|
|
33860
33864
|
}
|
|
33861
|
-
A || !S.isPrimary() || (h == null || h.syncColumnWithState(S, n, _), s == null || s.syncColumnWithState(S, n, _,
|
|
33862
|
-
}, E = (S, F,
|
|
33865
|
+
A || !S.isPrimary() || (h == null || h.syncColumnWithState(S, n, _), s == null || s.syncColumnWithState(S, n, _, k), o == null || o.syncColumnWithState(S, n, _, O));
|
|
33866
|
+
}, E = (S, F, k) => {
|
|
33863
33867
|
var ue, xe;
|
|
33864
|
-
const O = _1(e, n), A = F.slice(), _ = {},
|
|
33868
|
+
const O = _1(e, n), A = F.slice(), _ = {}, I = {}, $ = [], z = [], ge = [];
|
|
33865
33869
|
let U = 0;
|
|
33866
33870
|
const B = (s == null ? void 0 : s.columns.slice()) ?? [], Q = (o == null ? void 0 : o.columns.slice()) ?? [];
|
|
33867
33871
|
for (const Ie of S) {
|
|
@@ -33874,11 +33878,11 @@ function gs(e, t, n) {
|
|
|
33874
33878
|
z.push(Ie), ge.push(Ie);
|
|
33875
33879
|
continue;
|
|
33876
33880
|
}
|
|
33877
|
-
const gt =
|
|
33878
|
-
gt ? (b(gt, Ie, _,
|
|
33881
|
+
const gt = k(st);
|
|
33882
|
+
gt ? (b(gt, Ie, _, I, !1), Ss(A, gt)) : (ge.push(Ie), U += 1);
|
|
33879
33883
|
}
|
|
33880
|
-
const H = (Ie) => b(Ie, null, _,
|
|
33881
|
-
A.forEach(H), s == null || s.sortColumns(bD.bind(s, _, B)), o == null || o.sortColumns(bD.bind(o,
|
|
33884
|
+
const H = (Ie) => b(Ie, null, _, I, !1);
|
|
33885
|
+
A.forEach(H), s == null || s.sortColumns(bD.bind(s, _, B)), o == null || o.sortColumns(bD.bind(o, I, Q)), i.refreshCols(!1, n);
|
|
33882
33886
|
const re = (Ie, st, dt = []) => {
|
|
33883
33887
|
for (const gt of st) {
|
|
33884
33888
|
const xt = Ie(gt.colId);
|
|
@@ -33939,12 +33943,12 @@ function _1(e, t) {
|
|
|
33939
33943
|
for (const d of c)
|
|
33940
33944
|
u[d.colId] = d;
|
|
33941
33945
|
return () => {
|
|
33942
|
-
const d = (S, F,
|
|
33943
|
-
const A = F.map(O), _ =
|
|
33946
|
+
const d = (S, F, k, O) => {
|
|
33947
|
+
const A = F.map(O), _ = k.map(O);
|
|
33944
33948
|
if (Ir(A, _))
|
|
33945
33949
|
return;
|
|
33946
33950
|
const $ = new Set(F);
|
|
33947
|
-
for (const ge of
|
|
33951
|
+
for (const ge of k)
|
|
33948
33952
|
$.delete(ge) || $.add(ge);
|
|
33949
33953
|
const z = [...$];
|
|
33950
33954
|
a.dispatchEvent({
|
|
@@ -33955,9 +33959,9 @@ function _1(e, t) {
|
|
|
33955
33959
|
});
|
|
33956
33960
|
}, h = (S) => {
|
|
33957
33961
|
const F = [];
|
|
33958
|
-
return o.forAllCols((
|
|
33959
|
-
const O = u[
|
|
33960
|
-
O && S(O,
|
|
33962
|
+
return o.forAllCols((k) => {
|
|
33963
|
+
const O = u[k.getColId()];
|
|
33964
|
+
O && S(O, k) && F.push(k);
|
|
33961
33965
|
}), F;
|
|
33962
33966
|
}, f = (S) => S.getColId();
|
|
33963
33967
|
d(
|
|
@@ -33972,7 +33976,7 @@ function _1(e, t) {
|
|
|
33972
33976
|
f
|
|
33973
33977
|
);
|
|
33974
33978
|
const y = h((S, F) => {
|
|
33975
|
-
const
|
|
33979
|
+
const k = S.aggFunc != null, O = k != F.isValueActive(), A = k && S.aggFunc != F.getAggFunc();
|
|
33976
33980
|
return O || A;
|
|
33977
33981
|
});
|
|
33978
33982
|
y.length > 0 && cZ(a, "columnValueChanged", y, t), nc(a, h((S, F) => S.width != F.getActualWidth()), !0, t), T1(a, h((S, F) => S.pinned != F.getPinned()), t), lZ(a, h((S, F) => S.hide == F.isVisible()), t);
|
|
@@ -39667,9 +39671,9 @@ var us = {
|
|
|
39667
39671
|
let d, h, f = 0;
|
|
39668
39672
|
this.invalidateVerticalScroll();
|
|
39669
39673
|
do {
|
|
39670
|
-
const { stickyTopHeight: v, stickyBottomHeight: b } = c, E = u.rowTop, x = u.rowHeight, w = r.getPixelOffset(), R = u.rowTop - w, S = R + u.rowHeight, F = this.getVScrollPosition(),
|
|
39674
|
+
const { stickyTopHeight: v, stickyBottomHeight: b } = c, E = u.rowTop, x = u.rowHeight, w = r.getPixelOffset(), R = u.rowTop - w, S = R + u.rowHeight, F = this.getVScrollPosition(), k = a.divStretchOffset, O = F.top + k, A = F.bottom + k, _ = A - O, I = a.getScrollPositionForPixel(R), $ = a.getScrollPositionForPixel(S - _), z = Math.min((I + $) / 2, R), ge = O + v > R, U = A - b < S;
|
|
39671
39675
|
let B = null;
|
|
39672
|
-
t === "top" ? B =
|
|
39676
|
+
t === "top" ? B = I - v : t === "bottom" ? B = $ + b : t === "middle" ? B = z : ge ? B = I - v : U && ($ - I > _ ? B = I - v : B = $ + b), B !== null && (this.setVerticalScrollPosition(B), l.redraw({ afterScroll: !0 })), d = E !== u.rowTop || x !== u.rowHeight, h = v !== c.stickyTopHeight || b !== c.stickyBottomHeight, f++;
|
|
39673
39677
|
} while ((d || h) && f < 10);
|
|
39674
39678
|
if ((g = this.animationFrameSvc) == null || g.flushAllFrames(), n < 10 && (u != null && u.stub || !((y = this.beans.rowAutoHeight) != null && y.areRowsMeasured()))) {
|
|
39675
39679
|
const v = this.getVScrollPosition().top;
|
|
@@ -47224,9 +47228,9 @@ var zte = class extends me {
|
|
|
47224
47228
|
});
|
|
47225
47229
|
const R = 1 / x;
|
|
47226
47230
|
E.forEach((S, F) => {
|
|
47227
|
-
const
|
|
47231
|
+
const k = F === E.length - 1;
|
|
47228
47232
|
let O;
|
|
47229
|
-
|
|
47233
|
+
k ? O = w : (O = Math.round(f[F] * d * R), w -= O);
|
|
47230
47234
|
const A = S.getMinWidth(), _ = S.getMaxWidth();
|
|
47231
47235
|
O < A ? (O = A, y[S.getId()] = !0, v = !0) : _ > 0 && O > _ && (O = _, y[S.getId()] = !0, v = !0), g[S.getId()] = O;
|
|
47232
47236
|
});
|
|
@@ -53117,7 +53121,7 @@ function xo({
|
|
|
53117
53121
|
return e === is && (e = t), e !== t;
|
|
53118
53122
|
}
|
|
53119
53123
|
function oc(e, t, n) {
|
|
53120
|
-
var b, E, x, w, R, S, F,
|
|
53124
|
+
var b, E, x, w, R, S, F, k, O, A;
|
|
53121
53125
|
const i = e.gos.get("enableGroupEdit"), { key: s, event: o, cellStartedEdit: r, silent: a } = n ?? {}, l = dn(e, t), c = (b = l == null ? void 0 : l.comp) == null ? void 0 : b.getCellEditor(), u = JI(e, t, s, r && !a), d = (E = e.editModelSvc) == null ? void 0 : E.getEdit(t);
|
|
53122
53126
|
let h = u.value;
|
|
53123
53127
|
if (h === void 0 && (h = d == null ? void 0 : d.sourceValue), (x = e.editModelSvc) == null || x.setEdit(t, {
|
|
@@ -53130,11 +53134,11 @@ function oc(e, t, n) {
|
|
|
53130
53134
|
const f = t.column.getColDef(), g = M1(e.userCompFactory, f, u), y = (g == null ? void 0 : g.popupFromSelector) != null ? g.popupFromSelector : !!f.cellEditorPopup, v = (g == null ? void 0 : g.popupPositionFromSelector) != null ? g.popupPositionFromSelector : f.cellEditorPopupPosition;
|
|
53131
53135
|
if (QI(g.params, o), l) {
|
|
53132
53136
|
l.editCompDetails = g, l.onEditorAttachedFuncs.push(() => {
|
|
53133
|
-
var
|
|
53134
|
-
return (
|
|
53137
|
+
var I;
|
|
53138
|
+
return (I = l.rangeFeature) == null ? void 0 : I.unsetComp();
|
|
53135
53139
|
}), (R = l.comp) == null || R.setEditDetails(g, y, v, e.gos.get("reactiveCustomComponents")), (S = l == null ? void 0 : l.rowCtrl) == null || S.refreshRow({ suppressFlash: !0 });
|
|
53136
53140
|
const _ = (F = e.editModelSvc) == null ? void 0 : F.getEdit(t, !0);
|
|
53137
|
-
!a && !((
|
|
53141
|
+
!a && !((k = _ == null ? void 0 : _.editorState) != null && k.cellStartedEditing) && ((O = e.editSvc) == null || O.dispatchCellEvent(
|
|
53138
53142
|
t,
|
|
53139
53143
|
o,
|
|
53140
53144
|
"cellEditingStarted",
|
|
@@ -53312,15 +53316,15 @@ function Ma(e, t) {
|
|
|
53312
53316
|
return;
|
|
53313
53317
|
const n = YI(e), i = new KI(), { ariaAnnounce: s, localeSvc: o, editModelSvc: r, gos: a } = e, l = a.get("editType") === "fullRow", u = t1(o)("ariaValidationErrorPrefix", "Cell Editor Validation");
|
|
53314
53318
|
for (const w of n) {
|
|
53315
|
-
const { ctrl: R, editor: S } = w, { rowNode: F, column:
|
|
53319
|
+
const { ctrl: R, editor: S } = w, { rowNode: F, column: k } = R, O = ((h = S.getValidationErrors) == null ? void 0 : h.call(S)) ?? [], A = ((f = S.getValidationElement) == null ? void 0 : f.call(S, !1)) || !((g = S.isPopup) != null && g.call(S)) && R.eGui;
|
|
53316
53320
|
if (A) {
|
|
53317
|
-
const _ = O != null && O.length > 0,
|
|
53318
|
-
M9(A, _), _ && s.announceValue(`${u} ${O}`, "editorValidation"), A instanceof HTMLInputElement ? A.setCustomValidity(
|
|
53321
|
+
const _ = O != null && O.length > 0, I = _ ? O.join(". ") : "";
|
|
53322
|
+
M9(A, _), _ && s.announceValue(`${u} ${O}`, "editorValidation"), A instanceof HTMLInputElement ? A.setCustomValidity(I) : A.classList.toggle("invalid", _);
|
|
53319
53323
|
}
|
|
53320
53324
|
(O == null ? void 0 : O.length) > 0 && i.setCellValidation(
|
|
53321
53325
|
{
|
|
53322
53326
|
rowNode: F,
|
|
53323
|
-
column:
|
|
53327
|
+
column: k
|
|
53324
53328
|
},
|
|
53325
53329
|
{
|
|
53326
53330
|
errorMessages: O
|
|
@@ -53636,18 +53640,18 @@ var jse = class extends me {
|
|
|
53636
53640
|
return;
|
|
53637
53641
|
}
|
|
53638
53642
|
if (!i || !E) {
|
|
53639
|
-
const R = h == null ? void 0 : h.isEditing(o), F = d.get("enableCellTextSelection") && e.defaultPrevented,
|
|
53640
|
-
o.focusCell(
|
|
53643
|
+
const R = h == null ? void 0 : h.isEditing(o), F = d.get("enableCellTextSelection") && e.defaultPrevented, k = (kr() || F) && !R && !yu(s) && !x;
|
|
53644
|
+
o.focusCell(k, e);
|
|
53641
53645
|
}
|
|
53642
53646
|
if (i && E && !u.isCellFocused(y)) {
|
|
53643
53647
|
e.preventDefault();
|
|
53644
53648
|
const R = u.getFocusedCell();
|
|
53645
53649
|
if (R) {
|
|
53646
|
-
const { column: S, rowIndex: F, rowPinned:
|
|
53650
|
+
const { column: S, rowIndex: F, rowPinned: k } = R;
|
|
53647
53651
|
h != null && h.isEditing(R) && (h == null || h.stopEditing(R)), u.setFocusedCell({
|
|
53648
53652
|
column: S,
|
|
53649
53653
|
rowIndex: F,
|
|
53650
|
-
rowPinned:
|
|
53654
|
+
rowPinned: k,
|
|
53651
53655
|
forceBrowserFocus: !0,
|
|
53652
53656
|
preventScrollOnBrowserFocus: !0,
|
|
53653
53657
|
sourceEvent: e
|
|
@@ -56837,7 +56841,7 @@ var Soe = (
|
|
|
56837
56841
|
const u = this.getRowBufferInPixels(), d = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
|
|
56838
56842
|
let f = !1, g, y;
|
|
56839
56843
|
do {
|
|
56840
|
-
const w = t.getPixelOffset(), { pageFirstPixel: R, pageLastPixel: S } = t.getCurrentPagePixelRange(), F = e.divStretchOffset,
|
|
56844
|
+
const w = t.getPixelOffset(), { pageFirstPixel: R, pageLastPixel: S } = t.getCurrentPagePixelRange(), F = e.divStretchOffset, k = d.getVScrollPosition(), O = k.top, A = k.bottom;
|
|
56841
56845
|
h ? (g = R + F, y = S + F) : (g = Math.max(O + w - u, R) + F, y = Math.min(A + w + u, S) + F), this.firstVisibleVPixel = Math.max(O + w, R) + F, this.lastVisibleVPixel = Math.min(A + w, S) + F, f = this.ensureAllRowsInRangeHaveHeightsCalculated(g, y);
|
|
56842
56846
|
} while (f);
|
|
56843
56847
|
let v = n.getRowIndexAtPixel(g), b = n.getRowIndexAtPixel(y);
|
|
@@ -58335,9 +58339,9 @@ function rre(e, t = !1) {
|
|
|
58335
58339
|
pinned: R,
|
|
58336
58340
|
hide: S,
|
|
58337
58341
|
width: F,
|
|
58338
|
-
flex:
|
|
58342
|
+
flex: k
|
|
58339
58343
|
} = e[h];
|
|
58340
|
-
u.push(f), g && (n[y ?? d++] = { colId: f, sort: g }), v && (i[b ?? 0] = f), typeof E == "string" && s.push({ colId: f, aggFunc: E }), x && (o[w ?? 0] = f), R && (R === "right" ? a : r).push(f), S && l.push(f), (
|
|
58344
|
+
u.push(f), g && (n[y ?? d++] = { colId: f, sort: g }), v && (i[b ?? 0] = f), typeof E == "string" && s.push({ colId: f, aggFunc: E }), x && (o[w ?? 0] = f), R && (R === "right" ? a : r).push(f), S && l.push(f), (k != null || F) && c.push({ colId: f, flex: k ?? void 0, width: F });
|
|
58341
58345
|
}
|
|
58342
58346
|
return {
|
|
58343
58347
|
sort: n.length ? { sortModel: mv(n) } : void 0,
|
|
@@ -60129,19 +60133,19 @@ var $re = {
|
|
|
60129
60133
|
if (h) {
|
|
60130
60134
|
const S = (u == null ? void 0 : u.handlerNameOrCallback) ?? (u == null ? void 0 : u.filterHandler), F = Bn(this.model, e);
|
|
60131
60135
|
if (n.handlerGenerator != S) {
|
|
60132
|
-
const
|
|
60136
|
+
const k = n.handler, { handler: O, handlerParams: A } = this.createHandlerFromFunc(
|
|
60133
60137
|
s,
|
|
60134
60138
|
u.filterHandler,
|
|
60135
60139
|
y
|
|
60136
60140
|
);
|
|
60137
|
-
n.handler = O, n.handlerParams = A, n.handlerGenerator = S, delete this.model[e], (v = O.init) == null || v.call(O, { ...A, source: "init", model: null }), this.destroyBean(
|
|
60141
|
+
n.handler = O, n.handlerParams = A, n.handlerGenerator = S, delete this.model[e], (v = O.init) == null || v.call(O, { ...A, source: "init", model: null }), this.destroyBean(k), F != null && ((b = this.beans.filterManager) == null || b.onFilterChanged({
|
|
60138
60142
|
columns: [s],
|
|
60139
60143
|
source: t
|
|
60140
60144
|
}));
|
|
60141
60145
|
} else {
|
|
60142
|
-
const
|
|
60143
|
-
n.handlerParams =
|
|
60144
|
-
...
|
|
60146
|
+
const k = this.createHandlerParams(s, f == null ? void 0 : f.params);
|
|
60147
|
+
n.handlerParams = k, (x = (E = n.handler).refresh) == null || x.call(E, {
|
|
60148
|
+
...k,
|
|
60145
60149
|
source: "colDef",
|
|
60146
60150
|
model: F
|
|
60147
60151
|
});
|
|
@@ -65458,14 +65462,14 @@ var rce = {
|
|
|
65458
65462
|
const F = x[R];
|
|
65459
65463
|
if (!F)
|
|
65460
65464
|
continue;
|
|
65461
|
-
let
|
|
65462
|
-
if (
|
|
65463
|
-
l.add(
|
|
65465
|
+
let k = this.getRowNode(s({ data: F, level: w }));
|
|
65466
|
+
if (k ? (g(k, F), f || (f = !!u && k.treeParent !== E)) : (k = this.createRowNode(F, w), r.add(k)), !u || l.has(k)) {
|
|
65467
|
+
l.add(k);
|
|
65464
65468
|
continue;
|
|
65465
65469
|
}
|
|
65466
|
-
l.add(
|
|
65470
|
+
l.add(k), k.treeParent = E;
|
|
65467
65471
|
const O = u(F);
|
|
65468
|
-
O && y(
|
|
65472
|
+
O && y(k, O, w + 1);
|
|
65469
65473
|
}
|
|
65470
65474
|
};
|
|
65471
65475
|
y(n, t, 0);
|
|
@@ -65660,16 +65664,16 @@ var rce = {
|
|
|
65660
65664
|
w && (v ?? (v = this.shouldSortContainsGroupCols(e)), w && (w = !v));
|
|
65661
65665
|
let R = null;
|
|
65662
65666
|
if (w) {
|
|
65663
|
-
let
|
|
65667
|
+
let k = !1;
|
|
65664
65668
|
if (h) {
|
|
65665
65669
|
const O = E.level + 1;
|
|
65666
|
-
O < h.length && (
|
|
65670
|
+
O < h.length && (k = h[O].getSort() === null);
|
|
65667
65671
|
}
|
|
65668
|
-
|
|
65672
|
+
k || (R = wce(E));
|
|
65669
65673
|
} else !e.length || x || (t && n ? R = yce(a, E, n, i, e) : R = a.doFullSort(E.childrenAfterAggFilter, e));
|
|
65670
65674
|
if (R || (R = ((S = E.childrenAfterAggFilter) == null ? void 0 : S.slice(0)) ?? []), y || (y = ((F = E.childrenAfterSort) == null ? void 0 : F[0]) !== R[0]), E.childrenAfterSort = R, Ik(E), g) {
|
|
65671
|
-
const
|
|
65672
|
-
g(
|
|
65675
|
+
const k = { nodes: E.childrenAfterSort };
|
|
65676
|
+
g(k);
|
|
65673
65677
|
}
|
|
65674
65678
|
};
|
|
65675
65679
|
if (i == null || i.forEachChangedNodeDepthFirst(b), y && s.get("groupHideOpenParents")) {
|
|
@@ -67545,30 +67549,30 @@ var uue = class extends me {
|
|
|
67545
67549
|
columnOrder: d
|
|
67546
67550
|
} = e;
|
|
67547
67551
|
let h = !1;
|
|
67548
|
-
const f = (_,
|
|
67549
|
-
const $ = !(i != null && i.has(_)) && !!(
|
|
67552
|
+
const f = (_, I) => {
|
|
67553
|
+
const $ = !(i != null && i.has(_)) && !!(I || t === "api");
|
|
67550
67554
|
return h || (h = $), $;
|
|
67551
67555
|
}, g = {}, y = (_) => {
|
|
67552
|
-
let
|
|
67553
|
-
return
|
|
67556
|
+
let I = g[_];
|
|
67557
|
+
return I || (I = { colId: _ }, g[_] = I, I);
|
|
67554
67558
|
}, v = {}, b = f("sort", s);
|
|
67555
|
-
b && (s == null || s.sortModel.forEach(({ colId: _, sort:
|
|
67559
|
+
b && (s == null || s.sortModel.forEach(({ colId: _, sort: I }, $) => {
|
|
67556
67560
|
const z = y(_);
|
|
67557
|
-
z.sort =
|
|
67561
|
+
z.sort = I, z.sortIndex = $;
|
|
67558
67562
|
})), (b || !n) && (v.sort = null, v.sortIndex = null);
|
|
67559
67563
|
const E = f("rowGroup", o);
|
|
67560
|
-
E && (o == null || o.groupColIds.forEach((_,
|
|
67564
|
+
E && (o == null || o.groupColIds.forEach((_, I) => {
|
|
67561
67565
|
const $ = y(_);
|
|
67562
|
-
$.rowGroup = !0, $.rowGroupIndex =
|
|
67566
|
+
$.rowGroup = !0, $.rowGroupIndex = I;
|
|
67563
67567
|
})), (E || !n) && (v.rowGroup = null, v.rowGroupIndex = null);
|
|
67564
67568
|
const x = f("aggregation", r);
|
|
67565
|
-
x && (r == null || r.aggregationModel.forEach(({ colId: _, aggFunc:
|
|
67566
|
-
y(_).aggFunc =
|
|
67569
|
+
x && (r == null || r.aggregationModel.forEach(({ colId: _, aggFunc: I }) => {
|
|
67570
|
+
y(_).aggFunc = I;
|
|
67567
67571
|
})), (x || !n) && (v.aggFunc = null);
|
|
67568
67572
|
const w = f("pivot", a);
|
|
67569
|
-
w && (a == null || a.pivotColIds.forEach((_,
|
|
67573
|
+
w && (a == null || a.pivotColIds.forEach((_, I) => {
|
|
67570
67574
|
const $ = y(_);
|
|
67571
|
-
$.pivot = !0, $.pivotIndex =
|
|
67575
|
+
$.pivot = !0, $.pivotIndex = I;
|
|
67572
67576
|
}), this.gos.updateGridOptions({
|
|
67573
67577
|
options: { pivotMode: !!(a != null && a.pivotMode) },
|
|
67574
67578
|
source: t
|
|
@@ -67588,12 +67592,12 @@ var uue = class extends me {
|
|
|
67588
67592
|
(S || !n) && (v.hide = null);
|
|
67589
67593
|
const F = f("columnSizing", u);
|
|
67590
67594
|
if (F)
|
|
67591
|
-
for (const { colId: _, flex:
|
|
67595
|
+
for (const { colId: _, flex: I, width: $ } of (u == null ? void 0 : u.columnSizingModel) ?? []) {
|
|
67592
67596
|
const z = y(_);
|
|
67593
|
-
z.flex =
|
|
67597
|
+
z.flex = I ?? null, z.width = $;
|
|
67594
67598
|
}
|
|
67595
67599
|
(F || !n) && (v.flex = null);
|
|
67596
|
-
const
|
|
67600
|
+
const k = d == null ? void 0 : d.orderedColIds, O = !!(k != null && k.length) && !(i != null && i.has("columnOrder")), A = O ? k.map((_) => y(_)) : Object.values(g);
|
|
67597
67601
|
(A.length || h) && (this.columnStates = A, gs(
|
|
67598
67602
|
this.beans,
|
|
67599
67603
|
{
|
|
@@ -68614,11 +68618,11 @@ var Que = class extends me {
|
|
|
68614
68618
|
const F = f.getCol(S);
|
|
68615
68619
|
if (!F || v.has(F))
|
|
68616
68620
|
continue;
|
|
68617
|
-
const
|
|
68618
|
-
if (
|
|
68621
|
+
const k = g.getPreferredWidthForColumn(F, x);
|
|
68622
|
+
if (k > 0) {
|
|
68619
68623
|
const O = E[F.colId] ?? {};
|
|
68620
68624
|
O.minWidth ?? (O.minWidth = l), O.maxWidth ?? (O.maxWidth = a);
|
|
68621
|
-
const A = Xue(F,
|
|
68625
|
+
const A = Xue(F, k, O);
|
|
68622
68626
|
F.setActualWidth(A, u), v.add(F), b++;
|
|
68623
68627
|
}
|
|
68624
68628
|
R.push(F);
|
|
@@ -68743,9 +68747,9 @@ var Que = class extends me {
|
|
|
68743
68747
|
const b = v / Eo(l);
|
|
68744
68748
|
let E = v;
|
|
68745
68749
|
for (let x = l.length - 1; x >= 0; x--) {
|
|
68746
|
-
const w = l[x], R = s == null ? void 0 : s[w.getId()], S = (R == null ? void 0 : R.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), F = (R == null ? void 0 : R.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth),
|
|
68747
|
-
let
|
|
68748
|
-
|
|
68750
|
+
const w = l[x], R = s == null ? void 0 : s[w.getId()], S = (R == null ? void 0 : R.minWidth) ?? (i == null ? void 0 : i.defaultMinWidth), F = (R == null ? void 0 : R.maxWidth) ?? (i == null ? void 0 : i.defaultMaxWidth), k = w.getMinWidth(), O = w.getMaxWidth(), A = typeof S == "number" && S > k ? S : k, _ = typeof F == "number" && F < O ? F : O;
|
|
68751
|
+
let I = Math.round(w.getActualWidth() * b);
|
|
68752
|
+
I < A ? (I = A, h(w), d = !1) : I > _ ? (I = _, h(w), d = !1) : x === 0 && (I = E), w.setActualWidth(I, t, !0), E -= I;
|
|
68749
68753
|
}
|
|
68750
68754
|
}
|
|
68751
68755
|
}
|
|
@@ -70626,7 +70630,7 @@ const zde = (e, t) => {
|
|
|
70626
70630
|
hide: !(F.is_primary || F.is_point_metric),
|
|
70627
70631
|
cellClass: "ag-cell-optimized",
|
|
70628
70632
|
headerComponent: op(ta),
|
|
70629
|
-
headerComponentParams: (
|
|
70633
|
+
headerComponentParams: (k) => ({
|
|
70630
70634
|
headerType: F.metric_type.code == "number" ? "number" : "default"
|
|
70631
70635
|
})
|
|
70632
70636
|
})
|
|
@@ -70652,9 +70656,9 @@ const zde = (e, t) => {
|
|
|
70652
70656
|
), w = [];
|
|
70653
70657
|
for (const F of u)
|
|
70654
70658
|
if (F.field && x.has(F.field)) {
|
|
70655
|
-
const
|
|
70659
|
+
const k = x.get(F.field);
|
|
70656
70660
|
w.push({
|
|
70657
|
-
...
|
|
70661
|
+
...k,
|
|
70658
70662
|
hide: F.hide,
|
|
70659
70663
|
width: F.width,
|
|
70660
70664
|
pinned: F.pinned
|
|
@@ -71914,24 +71918,24 @@ const tO = (e) => {
|
|
|
71914
71918
|
onDownloadProgress: R,
|
|
71915
71919
|
onUploadProgress: S,
|
|
71916
71920
|
responseType: F,
|
|
71917
|
-
headers:
|
|
71921
|
+
headers: k,
|
|
71918
71922
|
withCredentials: O = "same-origin",
|
|
71919
71923
|
fetchOptions: A
|
|
71920
71924
|
} = tO(g), _ = t || fetch;
|
|
71921
71925
|
F = F ? (F + "").toLowerCase() : "text";
|
|
71922
|
-
let
|
|
71923
|
-
const z =
|
|
71924
|
-
|
|
71926
|
+
let I = afe([E, x && x.toAbortSignal()], w), $ = null;
|
|
71927
|
+
const z = I && I.unsubscribe && (() => {
|
|
71928
|
+
I.unsubscribe();
|
|
71925
71929
|
});
|
|
71926
71930
|
let ge;
|
|
71927
71931
|
try {
|
|
71928
|
-
if (S && c && v !== "get" && v !== "head" && (ge = await f(
|
|
71932
|
+
if (S && c && v !== "get" && v !== "head" && (ge = await f(k, b)) !== 0) {
|
|
71929
71933
|
let ue = new n(y, {
|
|
71930
71934
|
method: "POST",
|
|
71931
71935
|
body: b,
|
|
71932
71936
|
duplex: "half"
|
|
71933
71937
|
}), xe;
|
|
71934
|
-
if (he.isFormData(b) && (xe = ue.headers.get("content-type")) &&
|
|
71938
|
+
if (he.isFormData(b) && (xe = ue.headers.get("content-type")) && k.setContentType(xe), ue.body) {
|
|
71935
71939
|
const [Ie, st] = NF(
|
|
71936
71940
|
ge,
|
|
71937
71941
|
_p(VF(S))
|
|
@@ -71942,9 +71946,9 @@ const tO = (e) => {
|
|
|
71942
71946
|
he.isString(O) || (O = O ? "include" : "omit");
|
|
71943
71947
|
const U = o && "credentials" in n.prototype, B = {
|
|
71944
71948
|
...A,
|
|
71945
|
-
signal:
|
|
71949
|
+
signal: I,
|
|
71946
71950
|
method: v.toUpperCase(),
|
|
71947
|
-
headers:
|
|
71951
|
+
headers: k.normalize().toJSON(),
|
|
71948
71952
|
body: b,
|
|
71949
71953
|
duplex: "half",
|
|
71950
71954
|
credentials: U ? O : void 0
|
|
@@ -73087,8 +73091,8 @@ const xfe = {
|
|
|
73087
73091
|
entityId: e.value.entityId
|
|
73088
73092
|
}, s = n == null ? void 0 : n.appContext.config.globalProperties.apiConfig, o = new aO(s, i);
|
|
73089
73093
|
o.on("call-api", (_) => {
|
|
73090
|
-
var
|
|
73091
|
-
_.success ? t(_.apiCode, "success") : t((($ = (
|
|
73094
|
+
var I, $;
|
|
73095
|
+
_.success ? t(_.apiCode, "success") : t((($ = (I = _.res) == null ? void 0 : I.data) == null ? void 0 : $.message) || _.apiCode, "error");
|
|
73092
73096
|
});
|
|
73093
73097
|
const r = so({}), a = ie([]), l = ie(!1), c = ie(null), u = ie(null), d = ie(1), h = ie(20), { setCachedUsers: f } = P4(), g = (_) => ({
|
|
73094
73098
|
workspaceId: e.value.workspaceId,
|
|
@@ -73098,9 +73102,9 @@ const xfe = {
|
|
|
73098
73102
|
include_permission: "{include_permission}",
|
|
73099
73103
|
include_permission_names: !0,
|
|
73100
73104
|
q: _
|
|
73101
|
-
}), y = 500, v = async (_,
|
|
73105
|
+
}), y = 500, v = async (_, I, $) => {
|
|
73102
73106
|
if (!_.length) return [];
|
|
73103
|
-
const z = I$(_,
|
|
73107
|
+
const z = I$(_, I);
|
|
73104
73108
|
return (await Promise.all(z.map($))).flat();
|
|
73105
73109
|
}, b = async (_) => {
|
|
73106
73110
|
try {
|
|
@@ -73110,23 +73114,23 @@ const xfe = {
|
|
|
73110
73114
|
})).data.map(
|
|
73111
73115
|
($) => [$.id, $.permission]
|
|
73112
73116
|
);
|
|
73113
|
-
} catch (
|
|
73114
|
-
return console.error("Failed to fetch item permissions chunk:",
|
|
73117
|
+
} catch (I) {
|
|
73118
|
+
return console.error("Failed to fetch item permissions chunk:", I), [];
|
|
73115
73119
|
}
|
|
73116
|
-
}, E = async (_,
|
|
73120
|
+
}, E = async (_, I) => {
|
|
73117
73121
|
try {
|
|
73118
73122
|
return (await o.getMetricValues({
|
|
73119
73123
|
workspaceId: e.value.workspaceId,
|
|
73120
73124
|
item_ids: _,
|
|
73121
|
-
per_page: _.length *
|
|
73122
|
-
metric_ids:
|
|
73125
|
+
per_page: _.length * I.length,
|
|
73126
|
+
metric_ids: I
|
|
73123
73127
|
})).data.map((z) => {
|
|
73124
73128
|
const ge = new Map(
|
|
73125
73129
|
z.item_metrics.map(
|
|
73126
73130
|
(B) => [B.metric_id, B.value]
|
|
73127
73131
|
)
|
|
73128
73132
|
), U = Object.fromEntries(
|
|
73129
|
-
|
|
73133
|
+
I.map((B) => [B, ge.get(B) ?? null])
|
|
73130
73134
|
);
|
|
73131
73135
|
return [z.id, U];
|
|
73132
73136
|
});
|
|
@@ -73135,33 +73139,33 @@ const xfe = {
|
|
|
73135
73139
|
}
|
|
73136
73140
|
}, x = async (_) => {
|
|
73137
73141
|
try {
|
|
73138
|
-
const
|
|
73142
|
+
const I = await o.getAssignedUser({
|
|
73139
73143
|
workspaceId: e.value.workspaceId,
|
|
73140
73144
|
item_ids: _,
|
|
73141
73145
|
per_page: _.length
|
|
73142
|
-
}), $ =
|
|
73143
|
-
return f($),
|
|
73146
|
+
}), $ = I.data.flatMap((z) => z.assignees);
|
|
73147
|
+
return f($), I.data.map(
|
|
73144
73148
|
(z) => [z.id, z.assignees]
|
|
73145
73149
|
);
|
|
73146
|
-
} catch (
|
|
73147
|
-
return console.error("Failed to fetch a chunk of assigned users:",
|
|
73150
|
+
} catch (I) {
|
|
73151
|
+
return console.error("Failed to fetch a chunk of assigned users:", I), [];
|
|
73148
73152
|
}
|
|
73149
73153
|
}, w = async (_) => {
|
|
73150
73154
|
if (!_.length)
|
|
73151
73155
|
return console.warn("getPermissionForItems: Empty itemIds"), {};
|
|
73152
73156
|
try {
|
|
73153
|
-
const
|
|
73154
|
-
return Object.fromEntries(
|
|
73155
|
-
} catch (
|
|
73156
|
-
return console.error("Failed to fetch item permissions:",
|
|
73157
|
+
const I = await v(_, y, b);
|
|
73158
|
+
return Object.fromEntries(I);
|
|
73159
|
+
} catch (I) {
|
|
73160
|
+
return console.error("Failed to fetch item permissions:", I), {};
|
|
73157
73161
|
}
|
|
73158
|
-
}, R = async (_,
|
|
73159
|
-
if (!_.length || !
|
|
73162
|
+
}, R = async (_, I) => {
|
|
73163
|
+
if (!_.length || !I.length) return {};
|
|
73160
73164
|
try {
|
|
73161
73165
|
const $ = await v(
|
|
73162
73166
|
_,
|
|
73163
73167
|
y,
|
|
73164
|
-
(z) => E(z,
|
|
73168
|
+
(z) => E(z, I)
|
|
73165
73169
|
);
|
|
73166
73170
|
return Object.fromEntries($);
|
|
73167
73171
|
} catch ($) {
|
|
@@ -73171,10 +73175,10 @@ const xfe = {
|
|
|
73171
73175
|
if (!_.length)
|
|
73172
73176
|
return console.warn("getAssignedUsers: Empty itemIds"), {};
|
|
73173
73177
|
try {
|
|
73174
|
-
const
|
|
73175
|
-
return Object.fromEntries(
|
|
73176
|
-
} catch (
|
|
73177
|
-
return console.error("Failed to fetch assigned users:",
|
|
73178
|
+
const I = await v(_, y, x);
|
|
73179
|
+
return Object.fromEntries(I);
|
|
73180
|
+
} catch (I) {
|
|
73181
|
+
return console.error("Failed to fetch assigned users:", I), {};
|
|
73178
73182
|
}
|
|
73179
73183
|
};
|
|
73180
73184
|
return {
|
|
@@ -73186,12 +73190,12 @@ const xfe = {
|
|
|
73186
73190
|
pageSize: h,
|
|
73187
73191
|
cusorMap: r,
|
|
73188
73192
|
fetchItems: async (_) => {
|
|
73189
|
-
const { cursor:
|
|
73193
|
+
const { cursor: I, offset: $, size: z, searchQuery: ge } = _;
|
|
73190
73194
|
let U = [];
|
|
73191
73195
|
l.value = !0, c.value = null;
|
|
73192
73196
|
try {
|
|
73193
73197
|
const B = await o.getAllItem_cursor({
|
|
73194
|
-
cursor:
|
|
73198
|
+
cursor: I || void 0,
|
|
73195
73199
|
offset: $ || void 0,
|
|
73196
73200
|
pageSize: z || h.value,
|
|
73197
73201
|
...g(ge),
|
|
@@ -73230,8 +73234,8 @@ const xfe = {
|
|
|
73230
73234
|
itemId: _,
|
|
73231
73235
|
perPage: xfe.ROWS_PER_PAGE
|
|
73232
73236
|
});
|
|
73233
|
-
} catch (
|
|
73234
|
-
throw console.error("Failed to fetch assignable users:",
|
|
73237
|
+
} catch (I) {
|
|
73238
|
+
throw console.error("Failed to fetch assignable users:", I), I;
|
|
73235
73239
|
}
|
|
73236
73240
|
},
|
|
73237
73241
|
getAssignableStatus: async (_) => {
|
|
@@ -73240,8 +73244,8 @@ const xfe = {
|
|
|
73240
73244
|
workspaceId: e.value.workspaceId,
|
|
73241
73245
|
itemIds: _
|
|
73242
73246
|
});
|
|
73243
|
-
} catch (
|
|
73244
|
-
throw console.error("Failed to fetch assignable status:",
|
|
73247
|
+
} catch (I) {
|
|
73248
|
+
throw console.error("Failed to fetch assignable status:", I), I;
|
|
73245
73249
|
}
|
|
73246
73250
|
},
|
|
73247
73251
|
getMetricList: async (_) => {
|
|
@@ -73250,8 +73254,8 @@ const xfe = {
|
|
|
73250
73254
|
workspaceId: e.value.workspaceId,
|
|
73251
73255
|
entityId: _
|
|
73252
73256
|
});
|
|
73253
|
-
} catch (
|
|
73254
|
-
throw console.error("Failed to fetch metric list:",
|
|
73257
|
+
} catch (I) {
|
|
73258
|
+
throw console.error("Failed to fetch metric list:", I), I;
|
|
73255
73259
|
}
|
|
73256
73260
|
},
|
|
73257
73261
|
getMetricValues: R,
|
|
@@ -73359,7 +73363,7 @@ function Afe(e) {
|
|
|
73359
73363
|
}), v == null || v("columnMoved", () => {
|
|
73360
73364
|
var S;
|
|
73361
73365
|
const x = (S = g.getColumnState()) == null ? void 0 : S.map((F) => F.colId), w = o.value.reduce(
|
|
73362
|
-
(F,
|
|
73366
|
+
(F, k) => (k.field && F && (F[k.field] = k), F),
|
|
73363
73367
|
{}
|
|
73364
73368
|
), R = x.map((F) => w[F]).filter(Boolean);
|
|
73365
73369
|
o.value = R;
|
|
@@ -73440,7 +73444,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73440
73444
|
wrapVueCellRenderer: op,
|
|
73441
73445
|
wrapVueCellEditor: LA
|
|
73442
73446
|
});
|
|
73443
|
-
const u = ie(null), d = ie([]), h = ie(0), f = ie(!1), g = ie(""), y = ie(), v = ie(""), b = ie(!1), E = so({ totalItems: 0 }), x = ie(/* @__PURE__ */ new Set()), w = ie(/* @__PURE__ */ new Map()), { apiServices: R } = ro(!1, c), { columnDefs: S, checkboxColumn: F } = zde(y, c.entityId), { updateRowData:
|
|
73447
|
+
const u = ie(null), d = ie([]), h = ie(0), f = ie(!1), g = ie(""), y = ie(), v = ie(""), b = ie(!1), E = so({ totalItems: 0 }), x = ie(/* @__PURE__ */ new Set()), w = ie(/* @__PURE__ */ new Map()), { apiServices: R } = ro(!1, c), { columnDefs: S, checkboxColumn: F } = zde(y, c.entityId), { updateRowData: k, setMetricValues: O } = _fe(u), A = K(() => g.value.length > 0), _ = K(() => !1), I = K(fw), $ = K(
|
|
73444
73448
|
() => S.value.filter((we) => {
|
|
73445
73449
|
var Se;
|
|
73446
73450
|
return ((Se = we.field) == null ? void 0 : Se.startsWith("metric_")) && !we.hide;
|
|
@@ -73449,13 +73453,13 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73449
73453
|
return ((Se = we.field) == null ? void 0 : Se.replace("metric_", "")) || "";
|
|
73450
73454
|
})
|
|
73451
73455
|
);
|
|
73452
|
-
Fa("timezone",
|
|
73456
|
+
Fa("timezone", I);
|
|
73453
73457
|
const z = K(() => ({
|
|
73454
73458
|
autoFetch: !1,
|
|
73455
73459
|
workspaceId: c.workspaceId,
|
|
73456
73460
|
entityId: c.entityId,
|
|
73457
73461
|
metricIds: $.value,
|
|
73458
|
-
updateItemData:
|
|
73462
|
+
updateItemData: k
|
|
73459
73463
|
})), { fetchItems: ge, getMetricList: U, cusorMap: B, getMetricValues: Q } = Tfe(z), H = (we, Se, ht) => we === 1 ? Se : ht, re = K(() => {
|
|
73460
73464
|
const we = H(E.totalItems, "scene", "scenes"), Se = H(h.value, "scene", "scenes");
|
|
73461
73465
|
return {
|
|
@@ -73480,7 +73484,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73480
73484
|
});
|
|
73481
73485
|
if (!ve) return { rows: [], total: 0 };
|
|
73482
73486
|
const mt = ((Tt) => {
|
|
73483
|
-
const Me = Tt.data.map((En) => _P(En,
|
|
73487
|
+
const Me = Tt.data.map((En) => _P(En, I.value));
|
|
73484
73488
|
return Me.forEach((En) => {
|
|
73485
73489
|
x.value.add(String(En.id)), w.value.set(String(En.id), {});
|
|
73486
73490
|
}), Me;
|
|
@@ -73762,7 +73766,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73762
73766
|
id: "item_search_box"
|
|
73763
73767
|
}, null, 8, ["modelValue", "onSearch", "class"]),
|
|
73764
73768
|
De(ee(SA), {
|
|
73765
|
-
status: ee(gt) ? "busy" : "
|
|
73769
|
+
status: ee(gt) ? "busy" : "active",
|
|
73766
73770
|
size: 10,
|
|
73767
73771
|
id: "refresh_table",
|
|
73768
73772
|
"status-tooltip": "Data has changed, please refresh the table",
|
|
@@ -73870,7 +73874,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73870
73874
|
itemSearchBox: Vfe
|
|
73871
73875
|
}, Hfe = {
|
|
73872
73876
|
$style: Bfe
|
|
73873
|
-
}, Gfe = /* @__PURE__ */ Rt(kfe, [["__cssModules", Hfe]]), $fe = "0.0.
|
|
73877
|
+
}, Gfe = /* @__PURE__ */ Rt(kfe, [["__cssModules", Hfe]]), $fe = "0.0.4", Wfe = { key: 0 }, zfe = /* @__PURE__ */ ut({
|
|
73874
73878
|
__name: "app",
|
|
73875
73879
|
setup(e) {
|
|
73876
73880
|
const t = K(() => n.id.length === 0 || n.workspaceId.length === 0), n = so({
|