@arbocollab/arbo-plugin-item-table 0.0.1-alpha.20 → 0.0.1-alpha.21
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 +377 -376
- package/lib/umd/index.umd.js +19 -19
- package/package.json +1 -1
package/lib/es/index.es.js
CHANGED
|
@@ -1786,24 +1786,24 @@ function Tv(e, t, n, i, s) {
|
|
|
1786
1786
|
onAppear: b,
|
|
1787
1787
|
onAfterAppear: D,
|
|
1788
1788
|
onAppearCancelled: E
|
|
1789
|
-
} = t, y = String(e.key), R = YM(n, e), T = (P,
|
|
1789
|
+
} = t, y = String(e.key), R = YM(n, e), T = (P, N) => {
|
|
1790
1790
|
P && ws(
|
|
1791
1791
|
P,
|
|
1792
1792
|
i,
|
|
1793
1793
|
9,
|
|
1794
|
-
|
|
1794
|
+
N
|
|
1795
1795
|
);
|
|
1796
|
-
}, F = (P,
|
|
1797
|
-
const _ =
|
|
1798
|
-
T(P,
|
|
1796
|
+
}, F = (P, N) => {
|
|
1797
|
+
const _ = N[1];
|
|
1798
|
+
T(P, N), ot(P) ? P.every((L) => L.length <= 1) && _() : P.length <= 1 && _();
|
|
1799
1799
|
}, I = {
|
|
1800
1800
|
mode: r,
|
|
1801
1801
|
persisted: a,
|
|
1802
1802
|
beforeEnter(P) {
|
|
1803
|
-
let
|
|
1803
|
+
let N = l;
|
|
1804
1804
|
if (!n.isMounted)
|
|
1805
1805
|
if (o)
|
|
1806
|
-
|
|
1806
|
+
N = C || l;
|
|
1807
1807
|
else
|
|
1808
1808
|
return;
|
|
1809
1809
|
P[Jr] && P[Jr](
|
|
@@ -1811,32 +1811,32 @@ function Tv(e, t, n, i, s) {
|
|
|
1811
1811
|
/* cancelled */
|
|
1812
1812
|
);
|
|
1813
1813
|
const _ = R[y];
|
|
1814
|
-
_ && dl(e, _) && _.el[Jr] && _.el[Jr](), T(
|
|
1814
|
+
_ && dl(e, _) && _.el[Jr] && _.el[Jr](), T(N, [P]);
|
|
1815
1815
|
},
|
|
1816
1816
|
enter(P) {
|
|
1817
|
-
let
|
|
1817
|
+
let N = u, _ = c, L = d;
|
|
1818
1818
|
if (!n.isMounted)
|
|
1819
1819
|
if (o)
|
|
1820
|
-
|
|
1820
|
+
N = b || u, _ = D || c, L = E || d;
|
|
1821
1821
|
else
|
|
1822
1822
|
return;
|
|
1823
1823
|
let K = !1;
|
|
1824
1824
|
const me = P[uh] = (Pe) => {
|
|
1825
|
-
K || (K = !0, Pe ? T(
|
|
1825
|
+
K || (K = !0, Pe ? T(L, [P]) : T(_, [P]), I.delayedLeave && I.delayedLeave(), P[uh] = void 0);
|
|
1826
1826
|
};
|
|
1827
|
-
|
|
1827
|
+
N ? F(N, [P, me]) : me();
|
|
1828
1828
|
},
|
|
1829
|
-
leave(P,
|
|
1829
|
+
leave(P, N) {
|
|
1830
1830
|
const _ = String(e.key);
|
|
1831
1831
|
if (P[uh] && P[uh](
|
|
1832
1832
|
!0
|
|
1833
1833
|
/* cancelled */
|
|
1834
1834
|
), n.isUnmounting)
|
|
1835
|
-
return
|
|
1835
|
+
return N();
|
|
1836
1836
|
T(h, [P]);
|
|
1837
|
-
let
|
|
1837
|
+
let L = !1;
|
|
1838
1838
|
const K = P[Jr] = (me) => {
|
|
1839
|
-
|
|
1839
|
+
L || (L = !0, N(), me ? T(v, [P]) : T(g, [P]), P[Jr] = void 0, R[_] === e && delete R[_]);
|
|
1840
1840
|
};
|
|
1841
1841
|
R[_] = e, f ? F(f, [P, K]) : K();
|
|
1842
1842
|
},
|
|
@@ -2361,10 +2361,10 @@ function cL(e) {
|
|
|
2361
2361
|
errorCaptured: I,
|
|
2362
2362
|
serverPrefetch: P,
|
|
2363
2363
|
// public API
|
|
2364
|
-
expose:
|
|
2364
|
+
expose: N,
|
|
2365
2365
|
inheritAttrs: _,
|
|
2366
2366
|
// assets
|
|
2367
|
-
components:
|
|
2367
|
+
components: L,
|
|
2368
2368
|
directives: K,
|
|
2369
2369
|
filters: me
|
|
2370
2370
|
} = t, Pe = M.env.NODE_ENV !== "production" ? uL() : null;
|
|
@@ -2436,10 +2436,10 @@ function cL(e) {
|
|
|
2436
2436
|
function ee(ie, se) {
|
|
2437
2437
|
ot(se) ? se.forEach((k) => ie(k.bind(n))) : se && ie(se.bind(n));
|
|
2438
2438
|
}
|
|
2439
|
-
if (ee(Sy, d), ee(Tn, h), ee(OT, f), ee(Ey, g), ee(ZM, v), ee(JM, C), ee(nL, I), ee(tL, T), ee(eL, F), ee(di, D), ee(au, y), ee(XM, P), ot(
|
|
2440
|
-
if (
|
|
2439
|
+
if (ee(Sy, d), ee(Tn, h), ee(OT, f), ee(Ey, g), ee(ZM, v), ee(JM, C), ee(nL, I), ee(tL, T), ee(eL, F), ee(di, D), ee(au, y), ee(XM, P), ot(N))
|
|
2440
|
+
if (N.length) {
|
|
2441
2441
|
const ie = e.exposed || (e.exposed = {});
|
|
2442
|
-
|
|
2442
|
+
N.forEach((se) => {
|
|
2443
2443
|
Object.defineProperty(ie, se, {
|
|
2444
2444
|
get: () => n[se],
|
|
2445
2445
|
set: (k) => n[se] = k,
|
|
@@ -2447,7 +2447,7 @@ function cL(e) {
|
|
|
2447
2447
|
});
|
|
2448
2448
|
});
|
|
2449
2449
|
} else e.exposed || (e.exposed = {});
|
|
2450
|
-
R && e.render === An && (e.render = R), _ != null && (e.inheritAttrs = _),
|
|
2450
|
+
R && e.render === An && (e.render = R), _ != null && (e.inheritAttrs = _), L && (e.components = L), K && (e.directives = K), P && IT(e);
|
|
2451
2451
|
}
|
|
2452
2452
|
function dL(e, t, n = An) {
|
|
2453
2453
|
ot(e) && (e = Av(e));
|
|
@@ -2977,9 +2977,9 @@ function hS(e) {
|
|
|
2977
2977
|
)), E = Oo(E, D, !1, !0);
|
|
2978
2978
|
else if (M.env.NODE_ENV !== "production" && !kv && E.type !== ui) {
|
|
2979
2979
|
const F = Object.keys(a), I = [], P = [];
|
|
2980
|
-
for (let
|
|
2981
|
-
const
|
|
2982
|
-
ld(
|
|
2980
|
+
for (let N = 0, _ = F.length; N < _; N++) {
|
|
2981
|
+
const L = F[N];
|
|
2982
|
+
ld(L) ? Sf(L) || I.push(L[2].toLowerCase() + L.slice(3)) : P.push(L);
|
|
2983
2983
|
}
|
|
2984
2984
|
P.length && Oe(
|
|
2985
2985
|
`Extraneous non-props attributes (${P.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`
|
|
@@ -3553,7 +3553,7 @@ function WL(e, t) {
|
|
|
3553
3553
|
else {
|
|
3554
3554
|
const de = V.el && V.el._isVueCE ? V.el : null;
|
|
3555
3555
|
try {
|
|
3556
|
-
de && de._beginPatch(),
|
|
3556
|
+
de && de._beginPatch(), N(
|
|
3557
3557
|
V,
|
|
3558
3558
|
$,
|
|
3559
3559
|
Se,
|
|
@@ -3625,7 +3625,7 @@ function WL(e, t) {
|
|
|
3625
3625
|
re
|
|
3626
3626
|
);
|
|
3627
3627
|
}
|
|
3628
|
-
},
|
|
3628
|
+
}, N = (V, $, ce, Te, Se, De, ke) => {
|
|
3629
3629
|
const re = $.el = V.el;
|
|
3630
3630
|
M.env.NODE_ENV !== "production" && (re.__vnode = $);
|
|
3631
3631
|
let { patchFlag: Y, dynamicChildren: de, dirs: Be } = $;
|
|
@@ -3652,7 +3652,7 @@ function WL(e, t) {
|
|
|
3652
3652
|
!1
|
|
3653
3653
|
), Y > 0) {
|
|
3654
3654
|
if (Y & 16)
|
|
3655
|
-
|
|
3655
|
+
L(re, Me, Qe, ce, Se);
|
|
3656
3656
|
else if (Y & 2 && Me.class !== Qe.class && o(re, "class", null, Qe.class, Se), Y & 4 && o(re, "style", Me.style, Qe.style, Se), Y & 8) {
|
|
3657
3657
|
const pt = $.dynamicProps;
|
|
3658
3658
|
for (let _t = 0; _t < pt.length; _t++) {
|
|
@@ -3661,7 +3661,7 @@ function WL(e, t) {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
}
|
|
3663
3663
|
Y & 1 && V.children !== $.children && c(re, $.children);
|
|
3664
|
-
} else !ke && de == null &&
|
|
3664
|
+
} else !ke && de == null && L(re, Me, Qe, ce, Se);
|
|
3665
3665
|
((it = Qe.onVnodeUpdated) || Be) && Fi(() => {
|
|
3666
3666
|
it && As(it, ce, $, V), Be && Wr($, V, ce, "updated");
|
|
3667
3667
|
}, Te);
|
|
@@ -3693,7 +3693,7 @@ function WL(e, t) {
|
|
|
3693
3693
|
!0
|
|
3694
3694
|
);
|
|
3695
3695
|
}
|
|
3696
|
-
},
|
|
3696
|
+
}, L = (V, $, ce, Te, Se) => {
|
|
3697
3697
|
if ($ !== ce) {
|
|
3698
3698
|
if ($ !== kt)
|
|
3699
3699
|
for (const De in $)
|
|
@@ -5062,8 +5062,8 @@ const hx = Vv ? (e) => Vv.createHTML(e) : (e) => e, rN = "http://www.w3.org/2000
|
|
|
5062
5062
|
}, FS = (e) => e ? ot(e) ? e.some((t) => t.length > 1) : e.length > 1 : !1;
|
|
5063
5063
|
function cN(e) {
|
|
5064
5064
|
const t = {};
|
|
5065
|
-
for (const
|
|
5066
|
-
|
|
5065
|
+
for (const L in e)
|
|
5066
|
+
L in fx || (t[L] = e[L]);
|
|
5067
5067
|
if (e.css === !1)
|
|
5068
5068
|
return t;
|
|
5069
5069
|
const {
|
|
@@ -5088,40 +5088,40 @@ function cN(e) {
|
|
|
5088
5088
|
onBeforeAppear: T = b,
|
|
5089
5089
|
onAppear: F = D,
|
|
5090
5090
|
onAppearCancelled: I = E
|
|
5091
|
-
} = t, P = (
|
|
5092
|
-
|
|
5093
|
-
},
|
|
5094
|
-
|
|
5095
|
-
}, _ = (
|
|
5096
|
-
const Pe =
|
|
5091
|
+
} = t, P = (L, K, me, Pe) => {
|
|
5092
|
+
L._enterCancelled = Pe, lr(L, K ? c : a), lr(L, K ? u : r), me && me();
|
|
5093
|
+
}, N = (L, K) => {
|
|
5094
|
+
L._isLeaving = !1, lr(L, d), lr(L, f), lr(L, h), K && K();
|
|
5095
|
+
}, _ = (L) => (K, me) => {
|
|
5096
|
+
const Pe = L ? F : D, ee = () => P(K, L, me);
|
|
5097
5097
|
Ur(Pe, [K, ee]), TS(() => {
|
|
5098
|
-
lr(K,
|
|
5098
|
+
lr(K, L ? l : o), Ms(K, L ? c : a), FS(Pe) || xS(K, i, v, ee);
|
|
5099
5099
|
});
|
|
5100
5100
|
};
|
|
5101
5101
|
return an(t, {
|
|
5102
|
-
onBeforeEnter(
|
|
5103
|
-
Ur(b, [
|
|
5102
|
+
onBeforeEnter(L) {
|
|
5103
|
+
Ur(b, [L]), Ms(L, o), Ms(L, r);
|
|
5104
5104
|
},
|
|
5105
|
-
onBeforeAppear(
|
|
5106
|
-
Ur(T, [
|
|
5105
|
+
onBeforeAppear(L) {
|
|
5106
|
+
Ur(T, [L]), Ms(L, l), Ms(L, u);
|
|
5107
5107
|
},
|
|
5108
5108
|
onEnter: _(!1),
|
|
5109
5109
|
onAppear: _(!0),
|
|
5110
|
-
onLeave(
|
|
5111
|
-
|
|
5112
|
-
const me = () => L
|
|
5113
|
-
Ms(
|
|
5114
|
-
|
|
5115
|
-
}), Ur(y, [
|
|
5110
|
+
onLeave(L, K) {
|
|
5111
|
+
L._isLeaving = !0;
|
|
5112
|
+
const me = () => N(L, K);
|
|
5113
|
+
Ms(L, d), L._enterCancelled ? (Ms(L, h), Bv(L)) : (Bv(L), Ms(L, h)), TS(() => {
|
|
5114
|
+
L._isLeaving && (lr(L, d), Ms(L, f), FS(y) || xS(L, i, C, me));
|
|
5115
|
+
}), Ur(y, [L, me]);
|
|
5116
5116
|
},
|
|
5117
|
-
onEnterCancelled(
|
|
5118
|
-
P(
|
|
5117
|
+
onEnterCancelled(L) {
|
|
5118
|
+
P(L, !1, void 0, !0), Ur(E, [L]);
|
|
5119
5119
|
},
|
|
5120
|
-
onAppearCancelled(
|
|
5121
|
-
P(
|
|
5120
|
+
onAppearCancelled(L) {
|
|
5121
|
+
P(L, !0, void 0, !0), Ur(I, [L]);
|
|
5122
5122
|
},
|
|
5123
|
-
onLeaveCancelled(
|
|
5124
|
-
L
|
|
5123
|
+
onLeaveCancelled(L) {
|
|
5124
|
+
N(L), Ur(R, [L]);
|
|
5125
5125
|
}
|
|
5126
5126
|
});
|
|
5127
5127
|
}
|
|
@@ -6035,23 +6035,23 @@ function XS(e) {
|
|
|
6035
6035
|
}
|
|
6036
6036
|
if (s === vi || (s === mi || s === Xi) && o === kc) {
|
|
6037
6037
|
E = es;
|
|
6038
|
-
var
|
|
6038
|
+
var N = d && T === R && R.visualViewport ? R.visualViewport.width : (
|
|
6039
6039
|
// $FlowFixMe[prop-missing]
|
|
6040
6040
|
T[I]
|
|
6041
6041
|
);
|
|
6042
|
-
f -=
|
|
6042
|
+
f -= N - i.width, f *= l ? 1 : -1;
|
|
6043
6043
|
}
|
|
6044
6044
|
}
|
|
6045
6045
|
var _ = Object.assign({
|
|
6046
6046
|
position: a
|
|
6047
|
-
}, u && gV),
|
|
6047
|
+
}, u && gV), L = c === !0 ? mV({
|
|
6048
6048
|
x: f,
|
|
6049
6049
|
y: v
|
|
6050
6050
|
}, Ni(n)) : {
|
|
6051
6051
|
x: f,
|
|
6052
6052
|
y: v
|
|
6053
6053
|
};
|
|
6054
|
-
if (f =
|
|
6054
|
+
if (f = L.x, v = L.y, l) {
|
|
6055
6055
|
var K;
|
|
6056
6056
|
return Object.assign({}, _, (K = {}, K[y] = D ? "0" : "", K[E] = b ? "0" : "", K.transform = (R.devicePixelRatio || 1) <= 1 ? "translate(" + f + "px, " + v + "px)" : "translate3d(" + f + "px, " + v + "px, 0)", K));
|
|
6057
6057
|
}
|
|
@@ -6259,20 +6259,20 @@ function Oc(e, t) {
|
|
|
6259
6259
|
reference: T,
|
|
6260
6260
|
element: E,
|
|
6261
6261
|
placement: s
|
|
6262
|
-
}), I = Wv(Object.assign({}, E, F)), P = h === Ou ? I : T,
|
|
6262
|
+
}), I = Wv(Object.assign({}, E, F)), P = h === Ou ? I : T, N = {
|
|
6263
6263
|
top: R.top - P.top + b.top,
|
|
6264
6264
|
bottom: P.bottom - R.bottom + b.bottom,
|
|
6265
6265
|
left: R.left - P.left + b.left,
|
|
6266
6266
|
right: P.right - R.right + b.right
|
|
6267
6267
|
}, _ = e.modifiersData.offset;
|
|
6268
6268
|
if (h === Ou && _) {
|
|
6269
|
-
var
|
|
6270
|
-
Object.keys(
|
|
6269
|
+
var L = _[s];
|
|
6270
|
+
Object.keys(N).forEach(function(K) {
|
|
6271
6271
|
var me = [es, Xi].indexOf(K) >= 0 ? 1 : -1, Pe = [mi, Xi].indexOf(K) >= 0 ? "y" : "x";
|
|
6272
|
-
|
|
6272
|
+
N[K] += L[Pe] * me;
|
|
6273
6273
|
});
|
|
6274
6274
|
}
|
|
6275
|
-
return
|
|
6275
|
+
return N;
|
|
6276
6276
|
}
|
|
6277
6277
|
function xV(e, t) {
|
|
6278
6278
|
t === void 0 && (t = {});
|
|
@@ -6312,8 +6312,8 @@ function PV(e) {
|
|
|
6312
6312
|
flipVariations: g,
|
|
6313
6313
|
allowedAutoPlacements: v
|
|
6314
6314
|
}) : nt);
|
|
6315
|
-
}, []), R = t.rects.reference, T = t.rects.popper, F = /* @__PURE__ */ new Map(), I = !0, P = y[0],
|
|
6316
|
-
var _ = y[
|
|
6315
|
+
}, []), R = t.rects.reference, T = t.rects.popper, F = /* @__PURE__ */ new Map(), I = !0, P = y[0], N = 0; N < y.length; N++) {
|
|
6316
|
+
var _ = y[N], L = qs(_), K = Kl(_) === zl, me = [mi, Xi].indexOf(L) >= 0, Pe = me ? "width" : "height", ee = Oc(t, {
|
|
6317
6317
|
placement: _,
|
|
6318
6318
|
boundary: c,
|
|
6319
6319
|
rootBoundary: d,
|
|
@@ -6322,7 +6322,7 @@ function PV(e) {
|
|
|
6322
6322
|
}), ie = me ? K ? es : vi : K ? Xi : mi;
|
|
6323
6323
|
R[Pe] > T[Pe] && (ie = jh(ie));
|
|
6324
6324
|
var se = jh(ie), k = [];
|
|
6325
|
-
if (o && k.push(ee[
|
|
6325
|
+
if (o && k.push(ee[L] <= 0), a && k.push(ee[ie] <= 0, ee[se] <= 0), k.every(function(st) {
|
|
6326
6326
|
return st;
|
|
6327
6327
|
})) {
|
|
6328
6328
|
P = _, I = !1;
|
|
@@ -6448,13 +6448,13 @@ function HV(e) {
|
|
|
6448
6448
|
altBoundary: c
|
|
6449
6449
|
}), b = qs(t.placement), D = Kl(t.placement), E = !D, y = My(b), R = BV(y), T = t.modifiersData.popperOffsets, F = t.rects.reference, I = t.rects.popper, P = typeof v == "function" ? v(Object.assign({}, t.rects, {
|
|
6450
6450
|
placement: t.placement
|
|
6451
|
-
})) : v,
|
|
6451
|
+
})) : v, N = typeof P == "number" ? {
|
|
6452
6452
|
mainAxis: P,
|
|
6453
6453
|
altAxis: P
|
|
6454
6454
|
} : Object.assign({
|
|
6455
6455
|
mainAxis: 0,
|
|
6456
6456
|
altAxis: 0
|
|
6457
|
-
}, P), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null,
|
|
6457
|
+
}, P), _ = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, L = {
|
|
6458
6458
|
x: 0,
|
|
6459
6459
|
y: 0
|
|
6460
6460
|
};
|
|
@@ -6463,14 +6463,14 @@ function HV(e) {
|
|
|
6463
6463
|
var K, me = y === "y" ? mi : vi, Pe = y === "y" ? Xi : es, ee = y === "y" ? "height" : "width", ie = T[y], se = ie + C[me], k = ie - C[Pe], te = f ? -I[ee] / 2 : 0, Re = D === zl ? F[ee] : I[ee], _e = D === zl ? -I[ee] : -F[ee], Ie = t.elements.arrow, st = f && Ie ? Oy(Ie) : {
|
|
6464
6464
|
width: 0,
|
|
6465
6465
|
height: 0
|
|
6466
|
-
}, nt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Tx(), ut = nt[me], Pt = nt[Pe], Vt = uc(0, F[ee], st[ee]), qe = E ? F[ee] / 2 - te - Vt - ut -
|
|
6467
|
-
T[y] = Te,
|
|
6466
|
+
}, nt = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : Tx(), ut = nt[me], Pt = nt[Pe], Vt = uc(0, F[ee], st[ee]), qe = E ? F[ee] / 2 - te - Vt - ut - N.mainAxis : Re - Vt - ut - N.mainAxis, en = E ? -F[ee] / 2 + te + Vt + Pt + N.mainAxis : _e + Vt + Pt + N.mainAxis, Bt = t.elements.arrow && vd(t.elements.arrow), Ft = Bt ? y === "y" ? Bt.clientTop || 0 : Bt.clientLeft || 0 : 0, V = (K = _ == null ? void 0 : _[y]) != null ? K : 0, $ = ie + qe - V - Ft, ce = ie + en - V, Te = uc(f ? Hf(se, $) : se, ie, f ? ga(k, ce) : k);
|
|
6467
|
+
T[y] = Te, L[y] = Te - ie;
|
|
6468
6468
|
}
|
|
6469
6469
|
if (a) {
|
|
6470
|
-
var Se, De = y === "x" ? mi : vi, ke = y === "x" ? Xi : es, re = T[R], Y = R === "y" ? "height" : "width", de = re + C[De], Be = re - C[ke], Me = [mi, vi].indexOf(b) !== -1, Qe = (Se = _ == null ? void 0 : _[R]) != null ? Se : 0, it = Me ? de : re - F[Y] - I[Y] - Qe +
|
|
6471
|
-
T[R] = _t,
|
|
6470
|
+
var Se, De = y === "x" ? mi : vi, ke = y === "x" ? Xi : es, re = T[R], Y = R === "y" ? "height" : "width", de = re + C[De], Be = re - C[ke], Me = [mi, vi].indexOf(b) !== -1, Qe = (Se = _ == null ? void 0 : _[R]) != null ? Se : 0, it = Me ? de : re - F[Y] - I[Y] - Qe + N.altAxis, pt = Me ? re + F[Y] + I[Y] - Qe - N.altAxis : Be, _t = f && Me ? cV(it, re, pt) : uc(f ? it : de, re, f ? pt : Be);
|
|
6471
|
+
T[R] = _t, L[R] = _t - re;
|
|
6472
6472
|
}
|
|
6473
|
-
t.modifiersData[i] =
|
|
6473
|
+
t.modifiersData[i] = L;
|
|
6474
6474
|
}
|
|
6475
6475
|
}
|
|
6476
6476
|
const GV = {
|
|
@@ -6612,8 +6612,8 @@ function ZV(e) {
|
|
|
6612
6612
|
c.rects = {
|
|
6613
6613
|
reference: UV(D, vd(E), c.options.strategy === "fixed"),
|
|
6614
6614
|
popper: Oy(E)
|
|
6615
|
-
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(
|
|
6616
|
-
return c.modifiersData[
|
|
6615
|
+
}, c.reset = !1, c.placement = c.options.placement, c.orderedModifiers.forEach(function(N) {
|
|
6616
|
+
return c.modifiersData[N.name] = Object.assign({}, N.data);
|
|
6617
6617
|
});
|
|
6618
6618
|
for (var y = 0; y < c.orderedModifiers.length; y++) {
|
|
6619
6619
|
if (c.reset === !0) {
|
|
@@ -7079,14 +7079,14 @@ function FB(e, t) {
|
|
|
7079
7079
|
}), T.addEventListener("mouseleave", function() {
|
|
7080
7080
|
y.props.interactive && y.props.trigger.indexOf("mouseenter") >= 0 && me().addEventListener("mousemove", g);
|
|
7081
7081
|
}), y;
|
|
7082
|
-
function
|
|
7082
|
+
function N() {
|
|
7083
7083
|
var ge = y.props.touch;
|
|
7084
7084
|
return Array.isArray(ge) ? ge : [ge, 0];
|
|
7085
7085
|
}
|
|
7086
7086
|
function _() {
|
|
7087
|
-
return
|
|
7087
|
+
return N()[0] === "hold";
|
|
7088
7088
|
}
|
|
7089
|
-
function
|
|
7089
|
+
function L() {
|
|
7090
7090
|
var ge;
|
|
7091
7091
|
return !!((ge = y.props.render) != null && ge.$$tippy);
|
|
7092
7092
|
}
|
|
@@ -7269,7 +7269,7 @@ function FB(e, t) {
|
|
|
7269
7269
|
}
|
|
7270
7270
|
function De() {
|
|
7271
7271
|
ke();
|
|
7272
|
-
var ge = y.props, be = ge.popperOptions, Je = ge.placement, mt = ge.offset, Tt = ge.getReferenceClientRect, Le = ge.moveTransition, Un =
|
|
7272
|
+
var ge = y.props, be = ge.popperOptions, Je = ge.placement, mt = ge.offset, Tt = ge.getReferenceClientRect, Le = ge.moveTransition, Un = L() ? jv(T).arrow : null, ho = Tt ? {
|
|
7273
7273
|
getBoundingClientRect: Tt,
|
|
7274
7274
|
contextElement: Tt.contextElement || K()
|
|
7275
7275
|
} : e, za = {
|
|
@@ -7279,7 +7279,7 @@ function FB(e, t) {
|
|
|
7279
7279
|
requires: ["computeStyles"],
|
|
7280
7280
|
fn: function(Ua) {
|
|
7281
7281
|
var qo = Ua.state;
|
|
7282
|
-
if (
|
|
7282
|
+
if (L()) {
|
|
7283
7283
|
var Yo = Pe(), xs = Yo.box;
|
|
7284
7284
|
["placement", "reference-hidden", "escaped"].forEach(function(Zo) {
|
|
7285
7285
|
Zo === "placement" ? xs.setAttribute("data-placement", qo.placement) : qo.attributes.popper["data-popper-" + Zo] ? xs.setAttribute("data-" + Zo, "") : xs.removeAttribute("data-" + Zo);
|
|
@@ -7312,7 +7312,7 @@ function FB(e, t) {
|
|
|
7312
7312
|
adaptive: !Le
|
|
7313
7313
|
}
|
|
7314
7314
|
}, za];
|
|
7315
|
-
|
|
7315
|
+
L() && Un && Ts.push({
|
|
7316
7316
|
name: "arrow",
|
|
7317
7317
|
options: {
|
|
7318
7318
|
element: Un,
|
|
@@ -7342,7 +7342,7 @@ function FB(e, t) {
|
|
|
7342
7342
|
}
|
|
7343
7343
|
function de(ge) {
|
|
7344
7344
|
y.clearDelayTimeouts(), ge && se("onTrigger", [y, ge]), nt();
|
|
7345
|
-
var be = ee(!0), Je =
|
|
7345
|
+
var be = ee(!0), Je = N(), mt = Je[0], Tt = Je[1];
|
|
7346
7346
|
Bs.isTouch && mt === "hold" && Tt && (be = Tt), be ? i = setTimeout(function() {
|
|
7347
7347
|
y.show();
|
|
7348
7348
|
}, be) : y.show();
|
|
@@ -7392,18 +7392,18 @@ function FB(e, t) {
|
|
|
7392
7392
|
M.env.NODE_ENV !== "production" && So(y.state.isDestroyed, el("show"));
|
|
7393
7393
|
var ge = y.state.isVisible, be = y.state.isDestroyed, Je = !y.state.isEnabled, mt = Bs.isTouch && !y.props.touch, Tt = rm(y.props.duration, 0, _i.duration);
|
|
7394
7394
|
if (!(ge || be || Je || mt) && !K().hasAttribute("disabled") && (se("onShow", [y], !1), y.props.onShow(y) !== !1)) {
|
|
7395
|
-
if (y.state.isVisible = !0,
|
|
7395
|
+
if (y.state.isVisible = !0, L() && (T.style.visibility = "visible"), ie(), nt(), y.state.isMounted || (T.style.transition = "none"), L()) {
|
|
7396
7396
|
var Le = Pe(), Un = Le.box, ho = Le.content;
|
|
7397
7397
|
am([Un, ho], 0);
|
|
7398
7398
|
}
|
|
7399
7399
|
h = function() {
|
|
7400
7400
|
var Ts;
|
|
7401
7401
|
if (!(!y.state.isVisible || u)) {
|
|
7402
|
-
if (u = !0, T.offsetHeight, T.style.transition = y.props.moveTransition,
|
|
7402
|
+
if (u = !0, T.offsetHeight, T.style.transition = y.props.moveTransition, L() && y.props.animation) {
|
|
7403
7403
|
var Lr = Pe(), Ua = Lr.box, qo = Lr.content;
|
|
7404
7404
|
am([Ua, qo], Tt), u0([Ua, qo], "visible");
|
|
7405
7405
|
}
|
|
7406
|
-
k(), te(), a0(um, y), (Ts = y.popperInstance) == null || Ts.forceUpdate(), se("onMount", [y]), y.props.animation &&
|
|
7406
|
+
k(), te(), a0(um, y), (Ts = y.popperInstance) == null || Ts.forceUpdate(), se("onMount", [y]), y.props.animation && L() && Vt(Tt, function() {
|
|
7407
7407
|
y.state.isShown = !0, se("onShown", [y]);
|
|
7408
7408
|
});
|
|
7409
7409
|
}
|
|
@@ -7414,11 +7414,11 @@ function FB(e, t) {
|
|
|
7414
7414
|
M.env.NODE_ENV !== "production" && So(y.state.isDestroyed, el("hide"));
|
|
7415
7415
|
var ge = !y.state.isVisible, be = y.state.isDestroyed, Je = !y.state.isEnabled, mt = rm(y.props.duration, 1, _i.duration);
|
|
7416
7416
|
if (!(ge || be || Je) && (se("onHide", [y], !1), y.props.onHide(y) !== !1)) {
|
|
7417
|
-
if (y.state.isVisible = !1, y.state.isShown = !1, u = !1, r = !1,
|
|
7417
|
+
if (y.state.isVisible = !1, y.state.isShown = !1, u = !1, r = !1, L() && (T.style.visibility = "hidden"), Re(), ut(), ie(!0), L()) {
|
|
7418
7418
|
var Tt = Pe(), Le = Tt.box, Un = Tt.content;
|
|
7419
7419
|
y.props.animation && (am([Le, Un], mt), u0([Le, Un], "hidden"));
|
|
7420
7420
|
}
|
|
7421
|
-
k(), te(), y.props.animation ?
|
|
7421
|
+
k(), te(), y.props.animation ? L() && Pt(mt, y.unmount) : y.unmount();
|
|
7422
7422
|
}
|
|
7423
7423
|
}
|
|
7424
7424
|
function Zt(ge) {
|
|
@@ -8200,12 +8200,12 @@ var e2 = Er.ArrayBuffer, cm = Er.FileReader, jr = Er.URL || Er.webkitURL, t2 = /
|
|
|
8200
8200
|
value: function(n) {
|
|
8201
8201
|
var i = this, s = n.naturalWidth, o = n.naturalHeight, r = n.rotate, a = r === void 0 ? 0 : r, l = n.scaleX, u = l === void 0 ? 1 : l, c = n.scaleY, d = c === void 0 ? 1 : c, h = this.file, f = this.image, g = this.options, v = document.createElement("canvas"), C = v.getContext("2d"), b = Math.abs(a) % 180 === 90, D = (g.resize === "contain" || g.resize === "cover") && zf(g.width) && zf(g.height), E = Math.max(g.maxWidth, 0) || 1 / 0, y = Math.max(g.maxHeight, 0) || 1 / 0, R = Math.max(g.minWidth, 0) || 0, T = Math.max(g.minHeight, 0) || 0, F = s / o, I = g.width, P = g.height;
|
|
8202
8202
|
if (b) {
|
|
8203
|
-
var
|
|
8204
|
-
E =
|
|
8203
|
+
var N = [y, E];
|
|
8204
|
+
E = N[0], y = N[1];
|
|
8205
8205
|
var _ = [T, R];
|
|
8206
8206
|
R = _[0], T = _[1];
|
|
8207
|
-
var
|
|
8208
|
-
I =
|
|
8207
|
+
var L = [P, I];
|
|
8208
|
+
I = L[0], P = L[1];
|
|
8209
8209
|
}
|
|
8210
8210
|
D && (F = I / P);
|
|
8211
8211
|
var K = Mu({
|
|
@@ -8437,10 +8437,10 @@ var Qx = { exports: {} };
|
|
|
8437
8437
|
return w;
|
|
8438
8438
|
}
|
|
8439
8439
|
var P = [].concat;
|
|
8440
|
-
function
|
|
8440
|
+
function N(p) {
|
|
8441
8441
|
return P.apply([], p);
|
|
8442
8442
|
}
|
|
8443
|
-
var po = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(
|
|
8443
|
+
var po = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(N([8, 16, 32, 64].map(function(p) {
|
|
8444
8444
|
return ["Int", "Uint", "Float"].map(function(m) {
|
|
8445
8445
|
return m + p + "Array";
|
|
8446
8446
|
});
|
|
@@ -8448,22 +8448,22 @@ var Qx = { exports: {} };
|
|
|
8448
8448
|
return o[p];
|
|
8449
8449
|
}), _ = new Set(po.map(function(p) {
|
|
8450
8450
|
return o[p];
|
|
8451
|
-
})),
|
|
8451
|
+
})), L = null;
|
|
8452
8452
|
function K(p) {
|
|
8453
|
-
return
|
|
8453
|
+
return L = /* @__PURE__ */ new WeakMap(), p = function m(w) {
|
|
8454
8454
|
if (!w || typeof w != "object") return w;
|
|
8455
|
-
var S =
|
|
8455
|
+
var S = L.get(w);
|
|
8456
8456
|
if (S) return S;
|
|
8457
8457
|
if (a(w)) {
|
|
8458
|
-
S = [],
|
|
8458
|
+
S = [], L.set(w, S);
|
|
8459
8459
|
for (var x = 0, A = w.length; x < A; ++x) S.push(m(w[x]));
|
|
8460
8460
|
} else if (_.has(w.constructor)) S = w;
|
|
8461
8461
|
else {
|
|
8462
8462
|
var O, B = u(w);
|
|
8463
|
-
for (O in S = B === Object.prototype ? {} : Object.create(B),
|
|
8463
|
+
for (O in S = B === Object.prototype ? {} : Object.create(B), L.set(w, S), w) d(w, O) && (S[O] = m(w[O]));
|
|
8464
8464
|
}
|
|
8465
8465
|
return S;
|
|
8466
|
-
}(p),
|
|
8466
|
+
}(p), L = null, p;
|
|
8467
8467
|
}
|
|
8468
8468
|
var me = {}.toString;
|
|
8469
8469
|
function Pe(p) {
|
|
@@ -11048,7 +11048,7 @@ var Qx = { exports: {} };
|
|
|
11048
11048
|
var x = arguments.length;
|
|
11049
11049
|
if (x < 2) throw new qe.InvalidArgument("Too few arguments");
|
|
11050
11050
|
for (var A = new Array(x - 1); --x; ) A[x - 1] = arguments[x];
|
|
11051
|
-
return S = A.pop(), [m,
|
|
11051
|
+
return S = A.pop(), [m, N(A), S];
|
|
11052
11052
|
}).apply(this, arguments);
|
|
11053
11053
|
return this._transaction.apply(this, p);
|
|
11054
11054
|
}, Sn.prototype._transaction = function(p, m, w) {
|
|
@@ -13771,7 +13771,7 @@ const ro = (e, t) => {
|
|
|
13771
13771
|
I && u({ assignees: [I], type: "overwrite" });
|
|
13772
13772
|
}
|
|
13773
13773
|
}, v = async (y) => {
|
|
13774
|
-
var T, F, I, P,
|
|
13774
|
+
var T, F, I, P, N;
|
|
13775
13775
|
if (s.value || !d.value) return;
|
|
13776
13776
|
s.value = !0;
|
|
13777
13777
|
const R = (T = l.value) != null && T.length ? l.value : [String(a.value)];
|
|
@@ -13788,12 +13788,12 @@ const ro = (e, t) => {
|
|
|
13788
13788
|
s.value = !1, t.value.push(y);
|
|
13789
13789
|
const _ = h(y);
|
|
13790
13790
|
if (_) {
|
|
13791
|
-
const
|
|
13791
|
+
const L = (N = (P = (I = e.params) == null ? void 0 : I.api) == null ? void 0 : P.getRowNode(String(e.id))) == null ? void 0 : N.data, K = (L == null ? void 0 : L.assignees) || [], me = Kf([...K || [], _], "id");
|
|
13792
13792
|
u({ assignees: me, type: "add" });
|
|
13793
13793
|
}
|
|
13794
13794
|
}
|
|
13795
13795
|
}, C = async (y) => {
|
|
13796
|
-
var T, F, I, P,
|
|
13796
|
+
var T, F, I, P, N;
|
|
13797
13797
|
if (s.value || !d.value) return;
|
|
13798
13798
|
s.value = !0;
|
|
13799
13799
|
const R = (T = l.value) != null && T.length ? l.value : [String(a.value)];
|
|
@@ -13808,12 +13808,12 @@ const ro = (e, t) => {
|
|
|
13808
13808
|
return;
|
|
13809
13809
|
} finally {
|
|
13810
13810
|
s.value = !1;
|
|
13811
|
-
const _ = (
|
|
13811
|
+
const _ = (N = (P = (I = e.params) == null ? void 0 : I.api) == null ? void 0 : P.getRowNode(String(e.id))) == null ? void 0 : N.data;
|
|
13812
13812
|
t.value = t.value.filter((K) => K !== y);
|
|
13813
|
-
const
|
|
13813
|
+
const L = ((_ == null ? void 0 : _.assignees) || []).filter(
|
|
13814
13814
|
(K) => K.id !== y
|
|
13815
13815
|
);
|
|
13816
|
-
u({ assignees:
|
|
13816
|
+
u({ assignees: L, type: "remove" });
|
|
13817
13817
|
}
|
|
13818
13818
|
};
|
|
13819
13819
|
return {
|
|
@@ -18051,9 +18051,9 @@ class Ke {
|
|
|
18051
18051
|
let C, b, D = bh(l, u);
|
|
18052
18052
|
v ? (C = d4, b = u4, D = Yf(D, r, a)) : c ? (C = h4, b = c4, D = wm(D)) : (C = Jh, b = RP);
|
|
18053
18053
|
let E = !1;
|
|
18054
|
-
for (const
|
|
18055
|
-
const _ = o[
|
|
18056
|
-
bt(_) ? E ? o[
|
|
18054
|
+
for (const N of C) {
|
|
18055
|
+
const _ = o[N];
|
|
18056
|
+
bt(_) ? E ? o[N] = b[N] : o[N] = D[N] : E = !0;
|
|
18057
18057
|
}
|
|
18058
18058
|
const y = v ? $U(o, r, a) : c ? WU(o) : Z_(o), R = y || J_(o);
|
|
18059
18059
|
if (R)
|
|
@@ -19468,9 +19468,9 @@ const p4 = (e, t, n) => {
|
|
|
19468
19468
|
((T = e.value) == null ? void 0 : T.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);
|
|
19469
19469
|
});
|
|
19470
19470
|
const o = () => {
|
|
19471
|
-
var
|
|
19471
|
+
var N, _, L, K, me, Pe, ee, ie;
|
|
19472
19472
|
t("tracing", JSON.parse(JSON.stringify(n.value)));
|
|
19473
|
-
const T = ((_ = (
|
|
19473
|
+
const T = ((_ = (N = s.startDate) == null ? void 0 : N.getTime) == null ? void 0 : _.call(N)) !== ((K = (L = s.cacheStartDate) == null ? void 0 : L.getTime) == null ? void 0 : K.call(L)), F = ((Pe = (me = s.endDate) == null ? void 0 : me.getTime) == null ? void 0 : Pe.call(me)) !== ((ie = (ee = s.cacheEndDate) == null ? void 0 : ee.getTime) == null ? void 0 : ie.call(ee)), I = s.startDate === null, P = s.endDate === null;
|
|
19474
19474
|
T && F && I && P ? t("clearAll") : T && !F ? I ? t("clearStart") : t("update:start", s.startDate) : F && !T ? P ? t("clearDue") : t("update:end", s.endDate) : T && F && t("update", [s.startDate, s.endDate]), t("confirmed", { start: s.startDate, end: s.endDate }), s.isDirty = T || F;
|
|
19475
19475
|
}, r = (T, F) => {
|
|
19476
19476
|
const I = Ke.fromObject(
|
|
@@ -19835,16 +19835,16 @@ function D4(e = {}) {
|
|
|
19835
19835
|
}
|
|
19836
19836
|
const F4 = sessionStorage.getItem("BASE_URL"), T4 = sessionStorage.getItem("BASE_REVIEW_URL"), x4 = (e, t, n) => {
|
|
19837
19837
|
const i = G(() => {
|
|
19838
|
-
const { ws_code: P, entity_id:
|
|
19838
|
+
const { ws_code: P, entity_id: N, scene_id: _ } = e.value;
|
|
19839
19839
|
return {
|
|
19840
19840
|
baseDomain: F4 || "",
|
|
19841
19841
|
ws_code: P || "",
|
|
19842
|
-
entity_id:
|
|
19842
|
+
entity_id: N || "",
|
|
19843
19843
|
scene_id: _ || "",
|
|
19844
19844
|
reviewDomain: T4 || "",
|
|
19845
|
-
take_id:
|
|
19846
|
-
woohoo_id:
|
|
19847
|
-
parent_id:
|
|
19845
|
+
take_id: N || "",
|
|
19846
|
+
woohoo_id: N || "",
|
|
19847
|
+
parent_id: N || ""
|
|
19848
19848
|
};
|
|
19849
19849
|
}), s = G(() => ({
|
|
19850
19850
|
project: ls({ type: "project", config: i.value }).url,
|
|
@@ -19854,34 +19854,34 @@ const F4 = sessionStorage.getItem("BASE_URL"), T4 = sessionStorage.getItem("BASE
|
|
|
19854
19854
|
woohoo: ls({ type: "woohoo", config: i.value }).url,
|
|
19855
19855
|
update: ls({ type: "update", config: i.value }).url,
|
|
19856
19856
|
scene_hub: ls({ type: "scene_hub", config: i.value }).url
|
|
19857
|
-
})), o = (P,
|
|
19858
|
-
const _ = P instanceof MouseEvent && (P.metaKey || P.ctrlKey),
|
|
19859
|
-
|
|
19860
|
-
}, r = async (P,
|
|
19857
|
+
})), o = (P, N) => {
|
|
19858
|
+
const _ = P instanceof MouseEvent && (P.metaKey || P.ctrlKey), L = s.value[N] || "";
|
|
19859
|
+
L && (_ ? window.open(L, "_blank") : window.location.href = L);
|
|
19860
|
+
}, r = async (P, N) => {
|
|
19861
19861
|
var _;
|
|
19862
19862
|
try {
|
|
19863
|
-
const
|
|
19864
|
-
if (!
|
|
19863
|
+
const L = prompt("Type YES to confirm deletion of rendition") === "YES";
|
|
19864
|
+
if (!L) return;
|
|
19865
19865
|
const K = await ((_ = e.value.axiosService.value) == null ? void 0 : _.deleteRendition(
|
|
19866
19866
|
i.value.ws_code,
|
|
19867
19867
|
[i.value.scene_id],
|
|
19868
|
-
|
|
19868
|
+
L
|
|
19869
19869
|
));
|
|
19870
|
-
|
|
19871
|
-
} catch (
|
|
19872
|
-
console.error("Error deleting rendition",
|
|
19870
|
+
N && N("deleted");
|
|
19871
|
+
} catch (L) {
|
|
19872
|
+
console.error("Error deleting rendition", L);
|
|
19873
19873
|
}
|
|
19874
|
-
}, a = async (P,
|
|
19874
|
+
}, a = async (P, N) => {
|
|
19875
19875
|
var _;
|
|
19876
19876
|
try {
|
|
19877
19877
|
if (!(prompt("Type YES to confirm deletion of thumbnail") === "YES")) return;
|
|
19878
19878
|
await ((_ = e.value.axiosService.value) == null ? void 0 : _.deleteThumbnail(i.value.ws_code, [
|
|
19879
19879
|
i.value.scene_id
|
|
19880
|
-
])),
|
|
19881
|
-
} catch (
|
|
19882
|
-
console.error("Error deleting thumbnail",
|
|
19880
|
+
])), N && N("deleted");
|
|
19881
|
+
} catch (L) {
|
|
19882
|
+
console.error("Error deleting thumbnail", L);
|
|
19883
19883
|
}
|
|
19884
|
-
}, l = async (P,
|
|
19884
|
+
}, l = async (P, N) => {
|
|
19885
19885
|
var _;
|
|
19886
19886
|
try {
|
|
19887
19887
|
if (!(prompt("Type YES to confirm archiving of scene") === "YES")) return;
|
|
@@ -19890,11 +19890,11 @@ const F4 = sessionStorage.getItem("BASE_URL"), T4 = sessionStorage.getItem("BASE
|
|
|
19890
19890
|
i.value.entity_id,
|
|
19891
19891
|
[i.value.scene_id]
|
|
19892
19892
|
));
|
|
19893
|
-
|
|
19894
|
-
} catch (
|
|
19895
|
-
console.error("Error archiving item",
|
|
19893
|
+
N && N("archived");
|
|
19894
|
+
} catch (L) {
|
|
19895
|
+
console.error("Error archiving item", L);
|
|
19896
19896
|
}
|
|
19897
|
-
}, u = async (P,
|
|
19897
|
+
}, u = async (P, N) => {
|
|
19898
19898
|
var _;
|
|
19899
19899
|
try {
|
|
19900
19900
|
if (!(prompt("Type YES to confirm deletion of scene") === "YES")) return;
|
|
@@ -19903,14 +19903,14 @@ const F4 = sessionStorage.getItem("BASE_URL"), T4 = sessionStorage.getItem("BASE
|
|
|
19903
19903
|
i.value.entity_id,
|
|
19904
19904
|
i.value.scene_id
|
|
19905
19905
|
));
|
|
19906
|
-
|
|
19907
|
-
} catch (
|
|
19908
|
-
console.error("Error deleting item",
|
|
19906
|
+
N && N("deleted");
|
|
19907
|
+
} catch (L) {
|
|
19908
|
+
console.error("Error deleting item", L);
|
|
19909
19909
|
}
|
|
19910
19910
|
}, c = (P) => {
|
|
19911
|
-
const
|
|
19912
|
-
|
|
19913
|
-
}, d = async (P,
|
|
19911
|
+
const N = s.value.scene_hub || "";
|
|
19912
|
+
N && navigator.clipboard.writeText(N);
|
|
19913
|
+
}, d = async (P, N) => {
|
|
19914
19914
|
var _;
|
|
19915
19915
|
try {
|
|
19916
19916
|
if (!(prompt("Type YES to confirm unarchiving of scene") === "YES")) return;
|
|
@@ -19919,9 +19919,9 @@ const F4 = sessionStorage.getItem("BASE_URL"), T4 = sessionStorage.getItem("BASE
|
|
|
19919
19919
|
i.value.entity_id,
|
|
19920
19920
|
[i.value.scene_id]
|
|
19921
19921
|
));
|
|
19922
|
-
|
|
19923
|
-
} catch (
|
|
19924
|
-
console.error("Error unarchiving item",
|
|
19922
|
+
N && N("unarchived");
|
|
19923
|
+
} catch (L) {
|
|
19924
|
+
console.error("Error unarchiving item", L);
|
|
19925
19925
|
}
|
|
19926
19926
|
}, h = (P) => o(P, "scene_hub"), f = (P) => o(P, "review_scene"), g = (P) => c(), v = (P) => n(P), C = (P) => o(P, "review"), b = (P) => o(P, "update"), D = (P) => o(P, "woohoo"), E = (P) => r(P, t), y = (P) => a(P, t), R = (P) => l(P, t), T = (P) => d(P, t), F = (P) => u(P, t), I = G(() => {
|
|
19927
19927
|
let P = [];
|
|
@@ -20229,13 +20229,13 @@ const cw = (e) => {
|
|
|
20229
20229
|
var P;
|
|
20230
20230
|
return ((P = s.user) == null ? void 0 : P.name) || "Unknown User";
|
|
20231
20231
|
}), v = G(() => u.value ? v4(u.value, "HH:mm") : ""), C = G(() => u.value ? `(${C4(u.value)})` : ""), b = async () => {
|
|
20232
|
-
var P,
|
|
20232
|
+
var P, N;
|
|
20233
20233
|
if (s.apiUpdateFunction)
|
|
20234
20234
|
try {
|
|
20235
20235
|
const _ = await s.apiUpdateFunction(s.user.id);
|
|
20236
20236
|
if (!_)
|
|
20237
20237
|
throw new Error("No data returned from API");
|
|
20238
|
-
((P = _.private_info) == null ? void 0 : P.is_offline) !== void 0 && (l.value = _.private_info.is_offline ? "offline" : "online"), (
|
|
20238
|
+
((P = _.private_info) == null ? void 0 : P.is_offline) !== void 0 && (l.value = _.private_info.is_offline ? "offline" : "online"), (N = _.private_info) != null && N.timezone && (u.value = _.private_info.timezone), o("dataUpdated", _);
|
|
20239
20239
|
} catch (_) {
|
|
20240
20240
|
console.error("Failed to fetch user data:", _);
|
|
20241
20241
|
} finally {
|
|
@@ -20265,7 +20265,7 @@ const cw = (e) => {
|
|
|
20265
20265
|
color: s.user.color,
|
|
20266
20266
|
size: 98
|
|
20267
20267
|
}));
|
|
20268
|
-
return (P,
|
|
20268
|
+
return (P, N) => (U(), ye("div", {
|
|
20269
20269
|
class: W([P.$style["mini-people-card"], { [P.$style.loading]: c.value }])
|
|
20270
20270
|
}, [
|
|
20271
20271
|
Ce("div", {
|
|
@@ -21067,7 +21067,7 @@ const D5 = {
|
|
|
21067
21067
|
[s.ARROW_DOWN]: () => R(k),
|
|
21068
21068
|
[s.ARROW_UP]: () => T(k),
|
|
21069
21069
|
[s.ENTER]: () => P(k),
|
|
21070
|
-
[s.ESCAPE]: () =>
|
|
21070
|
+
[s.ESCAPE]: () => N(k)
|
|
21071
21071
|
}[k.key];
|
|
21072
21072
|
Re && Re();
|
|
21073
21073
|
}, R = (k) => {
|
|
@@ -21092,11 +21092,11 @@ const D5 = {
|
|
|
21092
21092
|
const Re = h.value[l.value];
|
|
21093
21093
|
_(Re);
|
|
21094
21094
|
}
|
|
21095
|
-
},
|
|
21095
|
+
}, N = (k) => {
|
|
21096
21096
|
k.preventDefault(), K();
|
|
21097
21097
|
}, _ = (k) => {
|
|
21098
21098
|
k.disabled || (r("select", k), l.value = -1, K());
|
|
21099
|
-
},
|
|
21099
|
+
}, L = (k) => {
|
|
21100
21100
|
l.value = k;
|
|
21101
21101
|
}, K = () => {
|
|
21102
21102
|
r("close");
|
|
@@ -21171,7 +21171,7 @@ const D5 = {
|
|
|
21171
21171
|
selectedIndex: l.value,
|
|
21172
21172
|
isSelected: ie,
|
|
21173
21173
|
handleSelect: _,
|
|
21174
|
-
handleItemHover:
|
|
21174
|
+
handleItemHover: L,
|
|
21175
21175
|
getHighlightedLabel: E,
|
|
21176
21176
|
query: a.value,
|
|
21177
21177
|
idx: _e
|
|
@@ -21181,7 +21181,7 @@ const D5 = {
|
|
|
21181
21181
|
selected: ie(Re),
|
|
21182
21182
|
type: Re.type,
|
|
21183
21183
|
onClick: Kt((Ie) => _(Re), ["stop", "prevent"]),
|
|
21184
|
-
onMouseover: (Ie) =>
|
|
21184
|
+
onMouseover: (Ie) => L(_e)
|
|
21185
21185
|
}), {
|
|
21186
21186
|
prefix: Fe(() => [
|
|
21187
21187
|
Ct(k.$slots, "prefix-item", { item: Re })
|
|
@@ -21339,7 +21339,7 @@ const D5 = {
|
|
|
21339
21339
|
...s,
|
|
21340
21340
|
updateRowData: u,
|
|
21341
21341
|
value: s.value
|
|
21342
|
-
}), I = ki("bulkUpdate", !1), { apiServices: P } = ro(!I, s),
|
|
21342
|
+
}), I = ki("bulkUpdate", !1), { apiServices: P } = ro(!I, s), N = ki("workspaceId"), _ = async (se = 1, k = "", te = !1) => {
|
|
21343
21343
|
var Re, _e, Ie, st, nt;
|
|
21344
21344
|
if (!P.value || !s.id && !s.ids)
|
|
21345
21345
|
throw console.error("API service or item identifiers are undefined"), new Error("API service or item identifiers are undefined");
|
|
@@ -21347,13 +21347,13 @@ const D5 = {
|
|
|
21347
21347
|
throw new Error("API service getAssignableUsers is undefined");
|
|
21348
21348
|
try {
|
|
21349
21349
|
const ut = s.id ? await ((_e = P.value) == null ? void 0 : _e.getAssignableUsers({
|
|
21350
|
-
workspaceId: String(
|
|
21350
|
+
workspaceId: String(N),
|
|
21351
21351
|
itemId: String(s.id),
|
|
21352
21352
|
page: se,
|
|
21353
21353
|
perPage: jE,
|
|
21354
21354
|
q: k.trim()
|
|
21355
21355
|
})) : await ((Ie = P.value) == null ? void 0 : Ie.multipleAssignableUser({
|
|
21356
|
-
workspaceId: String(
|
|
21356
|
+
workspaceId: String(N),
|
|
21357
21357
|
itemIds: s.ids || [],
|
|
21358
21358
|
page: se,
|
|
21359
21359
|
perPage: jE,
|
|
@@ -21365,7 +21365,7 @@ const D5 = {
|
|
|
21365
21365
|
} finally {
|
|
21366
21366
|
c.value = !1, d.value = !1;
|
|
21367
21367
|
}
|
|
21368
|
-
},
|
|
21368
|
+
}, L = () => {
|
|
21369
21369
|
!d.value && g.value && _(f.value + 1, C.value, !0);
|
|
21370
21370
|
}, K = to(async (se) => {
|
|
21371
21371
|
C.value = se, await _(1, se, !1);
|
|
@@ -21386,7 +21386,7 @@ const D5 = {
|
|
|
21386
21386
|
config: {
|
|
21387
21387
|
baseDomain: se,
|
|
21388
21388
|
ws_code: s.workspaceId,
|
|
21389
|
-
entity_id:
|
|
21389
|
+
entity_id: N
|
|
21390
21390
|
}
|
|
21391
21391
|
}).url;
|
|
21392
21392
|
window.open(k, "_blank");
|
|
@@ -21405,7 +21405,7 @@ const D5 = {
|
|
|
21405
21405
|
"has-more": g.value,
|
|
21406
21406
|
onSelect: J(y),
|
|
21407
21407
|
onSearch: J(K),
|
|
21408
|
-
onLoadMore:
|
|
21408
|
+
onLoadMore: L
|
|
21409
21409
|
}), NT({
|
|
21410
21410
|
"extra-item": Fe(() => [
|
|
21411
21411
|
we(yt, {
|
|
@@ -21830,27 +21830,27 @@ const D5 = {
|
|
|
21830
21830
|
se -= 12, ie += 1;
|
|
21831
21831
|
r.value = ie, a.value = se, o("update:year", ie), o("update:month", se);
|
|
21832
21832
|
}
|
|
21833
|
-
function
|
|
21833
|
+
function N(ee) {
|
|
21834
21834
|
const se = (E.value ? Ke.fromISO(E.value, { zone: n.timezone }) : u.value).plus({ days: ee });
|
|
21835
21835
|
(se.month !== a.value || se.year !== r.value) && (a.value = se.month, r.value = se.year, o("update:year", se.year), o("update:month", se.month)), y(se);
|
|
21836
21836
|
}
|
|
21837
21837
|
function _(ee = !1) {
|
|
21838
21838
|
const se = (E.value ? Ke.fromISO(E.value, { zone: n.timezone }) : u.value).weekday % 7, k = ee ? 6 - se : -se;
|
|
21839
|
-
|
|
21839
|
+
N(k);
|
|
21840
21840
|
}
|
|
21841
|
-
function
|
|
21841
|
+
function L(ee) {
|
|
21842
21842
|
switch (ee.key) {
|
|
21843
21843
|
case "ArrowLeft":
|
|
21844
|
-
ee.preventDefault(),
|
|
21844
|
+
ee.preventDefault(), N(-1);
|
|
21845
21845
|
break;
|
|
21846
21846
|
case "ArrowRight":
|
|
21847
|
-
ee.preventDefault(),
|
|
21847
|
+
ee.preventDefault(), N(1);
|
|
21848
21848
|
break;
|
|
21849
21849
|
case "ArrowUp":
|
|
21850
|
-
ee.preventDefault(),
|
|
21850
|
+
ee.preventDefault(), N(-7);
|
|
21851
21851
|
break;
|
|
21852
21852
|
case "ArrowDown":
|
|
21853
|
-
ee.preventDefault(),
|
|
21853
|
+
ee.preventDefault(), N(7);
|
|
21854
21854
|
break;
|
|
21855
21855
|
case "Home":
|
|
21856
21856
|
ee.preventDefault(), _(!1);
|
|
@@ -21941,7 +21941,7 @@ const D5 = {
|
|
|
21941
21941
|
role: "grid",
|
|
21942
21942
|
"aria-label": l.value,
|
|
21943
21943
|
tabindex: "0",
|
|
21944
|
-
onKeydown:
|
|
21944
|
+
onKeydown: L
|
|
21945
21945
|
}, [
|
|
21946
21946
|
Ce("div", {
|
|
21947
21947
|
class: W([ee.$style["arbo-calendar-header"], ee.$style["arbo-calendar-week"]]),
|
|
@@ -22054,7 +22054,7 @@ const D5 = {
|
|
|
22054
22054
|
setup(e, { emit: t }) {
|
|
22055
22055
|
const n = e, i = G(() => {
|
|
22056
22056
|
if (n.monthLabels && n.monthLabels.length === 12) return n.monthLabels;
|
|
22057
|
-
const _ = n.locale || "en-US",
|
|
22057
|
+
const _ = n.locale || "en-US", L = n.monthLabelStyle || "short", K = new Intl.DateTimeFormat(_, { month: L, timeZone: "UTC" });
|
|
22058
22058
|
return Array.from({ length: 12 }, (Pe, ee) => K.format(new Date(Date.UTC(2020, ee, 1))));
|
|
22059
22059
|
}), s = t, o = ae(n.year), r = ae(n.month);
|
|
22060
22060
|
ht(
|
|
@@ -22077,12 +22077,12 @@ const D5 = {
|
|
|
22077
22077
|
return o.value - o.value % _;
|
|
22078
22078
|
}), h = G(() => d.value + n.yearSpan - 1);
|
|
22079
22079
|
function f() {
|
|
22080
|
-
const _ = n.yearSpan,
|
|
22081
|
-
|
|
22080
|
+
const _ = n.yearSpan, L = d.value - _;
|
|
22081
|
+
L >= u.value && (o.value = L);
|
|
22082
22082
|
}
|
|
22083
22083
|
function g() {
|
|
22084
|
-
const _ = n.yearSpan,
|
|
22085
|
-
|
|
22084
|
+
const _ = n.yearSpan, L = d.value + _;
|
|
22085
|
+
L <= c.value && (o.value = L);
|
|
22086
22086
|
}
|
|
22087
22087
|
const v = G(
|
|
22088
22088
|
() => d.value - n.yearSpan < u.value
|
|
@@ -22110,9 +22110,9 @@ const D5 = {
|
|
|
22110
22110
|
}
|
|
22111
22111
|
function F() {
|
|
22112
22112
|
if (a.value === "days") {
|
|
22113
|
-
let _ = o.value,
|
|
22114
|
-
if (
|
|
22115
|
-
o.value = _, r.value =
|
|
22113
|
+
let _ = o.value, L = r.value - 1;
|
|
22114
|
+
if (L < 1 && (L = 12, _--), _ < u.value) return;
|
|
22115
|
+
o.value = _, r.value = L, s("update:year", _), s("update:month", L);
|
|
22116
22116
|
} else if (a.value === "months") {
|
|
22117
22117
|
if (o.value - 1 < u.value) return;
|
|
22118
22118
|
o.value--, s("update:year", o.value);
|
|
@@ -22120,16 +22120,16 @@ const D5 = {
|
|
|
22120
22120
|
}
|
|
22121
22121
|
function I() {
|
|
22122
22122
|
if (a.value === "days") {
|
|
22123
|
-
let _ = o.value,
|
|
22124
|
-
if (
|
|
22125
|
-
o.value = _, r.value =
|
|
22123
|
+
let _ = o.value, L = r.value + 1;
|
|
22124
|
+
if (L > 12 && (L = 1, _++), _ > c.value) return;
|
|
22125
|
+
o.value = _, r.value = L, s("update:year", _), s("update:month", L);
|
|
22126
22126
|
} else if (a.value === "months") {
|
|
22127
22127
|
if (o.value + 1 > c.value) return;
|
|
22128
22128
|
o.value++, s("update:year", o.value);
|
|
22129
22129
|
} else a.value === "years" && g();
|
|
22130
22130
|
}
|
|
22131
|
-
const P = G(() => a.value === "days" ? o.value === u.value && r.value === 1 : a.value === "months" ? o.value - 1 < u.value : v.value),
|
|
22132
|
-
return (_,
|
|
22131
|
+
const P = G(() => a.value === "days" ? o.value === u.value && r.value === 1 : a.value === "months" ? o.value - 1 < u.value : v.value), N = G(() => a.value === "days" ? o.value === c.value && r.value === 12 : a.value === "months" ? o.value + 1 > c.value : C.value);
|
|
22132
|
+
return (_, L) => (U(), ye("div", {
|
|
22133
22133
|
class: W(_.$style["cal-nav-wrapper"])
|
|
22134
22134
|
}, [
|
|
22135
22135
|
Ct(_.$slots, "selection"),
|
|
@@ -22182,7 +22182,7 @@ const D5 = {
|
|
|
22182
22182
|
variant: "secondary",
|
|
22183
22183
|
class: W([_.$style["cal-nav-btn"], _.$style.next]),
|
|
22184
22184
|
"aria-label": "Next",
|
|
22185
|
-
disabled:
|
|
22185
|
+
disabled: N.value,
|
|
22186
22186
|
label: "",
|
|
22187
22187
|
onClick: I
|
|
22188
22188
|
}, {
|
|
@@ -22627,13 +22627,13 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22627
22627
|
function P() {
|
|
22628
22628
|
s.disabled || s.readOnly || (g(), u.isSelectingStart = !0, u.isSelectingEnd = !1);
|
|
22629
22629
|
}
|
|
22630
|
-
function
|
|
22630
|
+
function N() {
|
|
22631
22631
|
s.disabled || s.readOnly || (g(), u.isSelectingEnd = !0, u.isSelectingStart = !1);
|
|
22632
22632
|
}
|
|
22633
22633
|
function _() {
|
|
22634
22634
|
u.isSelectingStart = !1, u.isSelectingEnd = !1;
|
|
22635
22635
|
}
|
|
22636
|
-
function
|
|
22636
|
+
function L(k) {
|
|
22637
22637
|
k.key === "Escape" && (k.stopPropagation(), _());
|
|
22638
22638
|
}
|
|
22639
22639
|
const K = ae((/* @__PURE__ */ new Date()).getFullYear()), me = ae((/* @__PURE__ */ new Date()).getMonth() + 1);
|
|
@@ -22676,7 +22676,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22676
22676
|
), t({
|
|
22677
22677
|
resetCalendarLogic: ee,
|
|
22678
22678
|
openStart: P,
|
|
22679
|
-
openEnd:
|
|
22679
|
+
openEnd: N,
|
|
22680
22680
|
closePicker: _,
|
|
22681
22681
|
clearAll: F,
|
|
22682
22682
|
isOpen: I,
|
|
@@ -22688,7 +22688,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22688
22688
|
dateRange: [u.startDate, u.endDate]
|
|
22689
22689
|
}),
|
|
22690
22690
|
focus: () => {
|
|
22691
|
-
u.startDate || u.endDate ? u.startDate ? P() :
|
|
22691
|
+
u.startDate || u.endDate ? u.startDate ? P() : N() : P();
|
|
22692
22692
|
}
|
|
22693
22693
|
});
|
|
22694
22694
|
const se = ae(null);
|
|
@@ -22711,7 +22711,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22711
22711
|
locale: s.locale,
|
|
22712
22712
|
disabled: s.disabled,
|
|
22713
22713
|
readOnly: s.readOnly,
|
|
22714
|
-
onKeydown:
|
|
22714
|
+
onKeydown: L
|
|
22715
22715
|
}, {
|
|
22716
22716
|
selection: Fe(() => [
|
|
22717
22717
|
Ce("div", {
|
|
@@ -22734,7 +22734,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22734
22734
|
placeholder: s.duePlaceholder,
|
|
22735
22735
|
timezone: s.timezone,
|
|
22736
22736
|
active: J(u).isSelectingEnd,
|
|
22737
|
-
onClick:
|
|
22737
|
+
onClick: N,
|
|
22738
22738
|
onClear: T,
|
|
22739
22739
|
disabled: s.disabled,
|
|
22740
22740
|
onComplete: y,
|
|
@@ -22926,10 +22926,10 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22926
22926
|
color: _.color
|
|
22927
22927
|
}), D = G(() => {
|
|
22928
22928
|
const _ = /* @__PURE__ */ new Set();
|
|
22929
|
-
return s.id && _.add(String(s.id)), s.ids && s.ids.forEach((
|
|
22930
|
-
|
|
22929
|
+
return s.id && _.add(String(s.id)), s.ids && s.ids.forEach((L) => {
|
|
22930
|
+
L && _.add(String(L));
|
|
22931
22931
|
}), Array.from(_);
|
|
22932
|
-
}), E = ki("bulkUpdate", !1), { apiServices: y } = ro(!E, s), R = async (_ = i.INITIAL_PAGE,
|
|
22932
|
+
}), E = ki("bulkUpdate", !1), { apiServices: y } = ro(!E, s), R = async (_ = i.INITIAL_PAGE, L = "", K = !1) => {
|
|
22933
22933
|
var me, Pe, ee;
|
|
22934
22934
|
if (!C.value) {
|
|
22935
22935
|
console.error("Missing required props", s);
|
|
@@ -22942,7 +22942,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22942
22942
|
itemIds: D.value,
|
|
22943
22943
|
page: _,
|
|
22944
22944
|
perPage: i.PER_PAGE,
|
|
22945
|
-
name_like:
|
|
22945
|
+
name_like: L.trim()
|
|
22946
22946
|
};
|
|
22947
22947
|
if (((me = y.value) == null ? void 0 : me.getAssignableStatus) === void 0)
|
|
22948
22948
|
throw new Error("API service getAssignableStatus is undefined");
|
|
@@ -22963,7 +22963,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22963
22963
|
}, Ed), F = () => {
|
|
22964
22964
|
!h.value || u.value || R(d.value + 1, g.value, !0);
|
|
22965
22965
|
}, I = async (_) => {
|
|
22966
|
-
var
|
|
22966
|
+
var L, K, me;
|
|
22967
22967
|
if (!C.value) {
|
|
22968
22968
|
console.error("Missing required props for updating status", s);
|
|
22969
22969
|
return;
|
|
@@ -22976,7 +22976,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
22976
22976
|
});
|
|
22977
22977
|
if (!(Pe != null && Pe.message)) throw new Error("API did not return success");
|
|
22978
22978
|
s.params && ((K = s.params) == null || K.node.setData({
|
|
22979
|
-
...(
|
|
22979
|
+
...(L = s.params) == null ? void 0 : L.node.data,
|
|
22980
22980
|
status: {
|
|
22981
22981
|
id: _.id,
|
|
22982
22982
|
name: _.label,
|
|
@@ -23010,15 +23010,15 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23010
23010
|
refresh: () => R(i.INITIAL_PAGE, g.value, !1),
|
|
23011
23011
|
loadMore: F
|
|
23012
23012
|
});
|
|
23013
|
-
const
|
|
23013
|
+
const N = ae(null);
|
|
23014
23014
|
return Tn(() => {
|
|
23015
23015
|
var _;
|
|
23016
|
-
(_ =
|
|
23017
|
-
}), (_,
|
|
23016
|
+
(_ = N.value) == null || _.focus();
|
|
23017
|
+
}), (_, L) => {
|
|
23018
23018
|
var K;
|
|
23019
23019
|
return U(), Ze(fw, yn({
|
|
23020
23020
|
ref_key: "popupRef",
|
|
23021
|
-
ref:
|
|
23021
|
+
ref: N
|
|
23022
23022
|
}, s, {
|
|
23023
23023
|
"selected-id": (K = s.value) == null ? void 0 : K.id,
|
|
23024
23024
|
options: P.value,
|
|
@@ -23100,8 +23100,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23100
23100
|
}
|
|
23101
23101
|
const P = F.getRowNode(I);
|
|
23102
23102
|
if (P) {
|
|
23103
|
-
const
|
|
23104
|
-
P.setData(
|
|
23103
|
+
const N = { ...P.data, status: T };
|
|
23104
|
+
P.setData(N);
|
|
23105
23105
|
}
|
|
23106
23106
|
});
|
|
23107
23107
|
}, u = ({
|
|
@@ -23116,8 +23116,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23116
23116
|
}
|
|
23117
23117
|
const P = F.getRowNode(I);
|
|
23118
23118
|
if (P) {
|
|
23119
|
-
const
|
|
23120
|
-
P.setData(
|
|
23119
|
+
const N = { ...P.data, dateRange: T };
|
|
23120
|
+
P.setData(N);
|
|
23121
23121
|
}
|
|
23122
23122
|
});
|
|
23123
23123
|
}, c = ["primary"], d = [
|
|
@@ -23163,15 +23163,15 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23163
23163
|
console.error("Grid API is not available for bulk update.");
|
|
23164
23164
|
return;
|
|
23165
23165
|
}
|
|
23166
|
-
i.selectRowData.map((
|
|
23167
|
-
const _ = I.getRowNode(
|
|
23166
|
+
i.selectRowData.map((N) => {
|
|
23167
|
+
const _ = I.getRowNode(N.id);
|
|
23168
23168
|
if (!_) return null;
|
|
23169
|
-
const
|
|
23169
|
+
const L = _.data.assignees || [];
|
|
23170
23170
|
let K = [];
|
|
23171
23171
|
switch (F) {
|
|
23172
23172
|
case "add": {
|
|
23173
|
-
const me = new Set(
|
|
23174
|
-
K = [...
|
|
23173
|
+
const me = new Set(L.map((ee) => ee.id)), Pe = T.filter((ee) => !me.has(ee.id));
|
|
23174
|
+
K = [...L, ...Pe];
|
|
23175
23175
|
break;
|
|
23176
23176
|
}
|
|
23177
23177
|
case "overwrite": {
|
|
@@ -23180,7 +23180,7 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23180
23180
|
}
|
|
23181
23181
|
case "remove": {
|
|
23182
23182
|
const me = new Set(T.map((Pe) => Pe.id));
|
|
23183
|
-
K =
|
|
23183
|
+
K = L.filter((Pe) => !me.has(Pe.id));
|
|
23184
23184
|
break;
|
|
23185
23185
|
}
|
|
23186
23186
|
case "removeAll": {
|
|
@@ -23189,9 +23189,9 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23189
23189
|
}
|
|
23190
23190
|
}
|
|
23191
23191
|
return { ..._.data, assignees: K };
|
|
23192
|
-
}).filter((
|
|
23193
|
-
const _ = I.getRowNode(
|
|
23194
|
-
_ && _.setData(
|
|
23192
|
+
}).filter((N) => N !== null).forEach((N) => {
|
|
23193
|
+
const _ = I.getRowNode(N.id);
|
|
23194
|
+
_ && _.setData(N);
|
|
23195
23195
|
});
|
|
23196
23196
|
}, { apiServices: v } = ro(!1, i), C = async () => {
|
|
23197
23197
|
var F;
|
|
@@ -23203,8 +23203,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23203
23203
|
await ((F = v.value) == null ? void 0 : F.bulkDeleteItems(String(i.workspaceId), R)), R.forEach((I) => {
|
|
23204
23204
|
const P = T.getRowNode(I);
|
|
23205
23205
|
if (P) {
|
|
23206
|
-
const
|
|
23207
|
-
P.setData(
|
|
23206
|
+
const N = { ...P.data, isDeleted: !0, disabled: !0 };
|
|
23207
|
+
P.setData(N);
|
|
23208
23208
|
}
|
|
23209
23209
|
}), T.deselectAll();
|
|
23210
23210
|
}, b = async () => {
|
|
@@ -23217,8 +23217,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23217
23217
|
await ((F = v.value) == null ? void 0 : F.bulkArchiveItems(String(i.workspaceId), R)), R.forEach((I) => {
|
|
23218
23218
|
const P = T.getRowNode(I);
|
|
23219
23219
|
if (P) {
|
|
23220
|
-
const
|
|
23221
|
-
P.setData(
|
|
23220
|
+
const N = { ...P.data, isArchived: !0 };
|
|
23221
|
+
P.setData(N);
|
|
23222
23222
|
}
|
|
23223
23223
|
});
|
|
23224
23224
|
}, D = async () => {
|
|
@@ -23231,8 +23231,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23231
23231
|
await ((F = v.value) == null ? void 0 : F.deleteThumbnail(String(i.workspaceId), R)), R.forEach((I) => {
|
|
23232
23232
|
const P = T.getRowNode(I);
|
|
23233
23233
|
if (P) {
|
|
23234
|
-
const
|
|
23235
|
-
P.setData(
|
|
23234
|
+
const N = { ...P.data, thumbnail: null };
|
|
23235
|
+
P.setData(N);
|
|
23236
23236
|
}
|
|
23237
23237
|
});
|
|
23238
23238
|
}, E = async () => {
|
|
@@ -23245,8 +23245,8 @@ const T6 = ["disabled", "readonly", "placeholder"], x6 = /* @__PURE__ */ rt({
|
|
|
23245
23245
|
await ((F = v.value) == null ? void 0 : F.deleteRendition(String(i.workspaceId), R)), R.forEach((I) => {
|
|
23246
23246
|
const P = T.getRowNode(I);
|
|
23247
23247
|
if (P) {
|
|
23248
|
-
const
|
|
23249
|
-
P.setData(
|
|
23248
|
+
const N = { ...P.data, rendition: null };
|
|
23249
|
+
P.setData(N);
|
|
23250
23250
|
}
|
|
23251
23251
|
});
|
|
23252
23252
|
}, y = (R) => {
|
|
@@ -23707,8 +23707,8 @@ const tj = ["placeholder", "maxlength"], nj = /* @__PURE__ */ rt({
|
|
|
23707
23707
|
}).url;
|
|
23708
23708
|
}), D = G(
|
|
23709
23709
|
() => {
|
|
23710
|
-
var P,
|
|
23711
|
-
return ((P = a.data) == null ? void 0 : P.isDeleted) == !0 || ((_ = (
|
|
23710
|
+
var P, N, _;
|
|
23711
|
+
return ((P = a.data) == null ? void 0 : P.isDeleted) == !0 || ((_ = (N = a.data) == null ? void 0 : N.isProcessing) == null ? void 0 : _.length) > 0;
|
|
23712
23712
|
}
|
|
23713
23713
|
), E = G(() => {
|
|
23714
23714
|
var P;
|
|
@@ -23717,10 +23717,10 @@ const tj = ["placeholder", "maxlength"], nj = /* @__PURE__ */ rt({
|
|
|
23717
23717
|
var P;
|
|
23718
23718
|
return ((P = a.data) == null ? void 0 : P.isArchived) == 1;
|
|
23719
23719
|
}), R = G(() => a.value === void 0), T = async (P) => {
|
|
23720
|
-
var
|
|
23720
|
+
var N, _, L, K;
|
|
23721
23721
|
u.value = P, C.value = !1;
|
|
23722
23722
|
try {
|
|
23723
|
-
const me = await ((_ = (
|
|
23723
|
+
const me = await ((_ = (N = g.value) == null ? void 0 : N.updateSceneName) == null ? void 0 : _.call(N, {
|
|
23724
23724
|
workspaceId: a.workspaceId,
|
|
23725
23725
|
entityId: a.entityId,
|
|
23726
23726
|
itemId: a.id,
|
|
@@ -23728,7 +23728,7 @@ const tj = ["placeholder", "maxlength"], nj = /* @__PURE__ */ rt({
|
|
|
23728
23728
|
}));
|
|
23729
23729
|
if (me) {
|
|
23730
23730
|
const Pe = TP(me, s), ee = { ...a.data, ...Pe };
|
|
23731
|
-
(K = (
|
|
23731
|
+
(K = (L = a.params) == null ? void 0 : L.node) == null || K.setData(ee), c.value = u.value, l("enter");
|
|
23732
23732
|
} else
|
|
23733
23733
|
u.value = c.value;
|
|
23734
23734
|
} catch (me) {
|
|
@@ -23751,9 +23751,9 @@ const tj = ["placeholder", "maxlength"], nj = /* @__PURE__ */ rt({
|
|
|
23751
23751
|
const P = I();
|
|
23752
23752
|
P && (P.__sceneNameEditor = F);
|
|
23753
23753
|
}), di(() => {
|
|
23754
|
-
const P = h.value,
|
|
23755
|
-
|
|
23756
|
-
}), (P,
|
|
23754
|
+
const P = h.value, N = P && "$el" in P ? P.$el : P;
|
|
23755
|
+
N && delete N.__sceneNameEditor;
|
|
23756
|
+
}), (P, N) => tt((U(), Ze(oj, {
|
|
23757
23757
|
"save-on-blur": !0,
|
|
23758
23758
|
ref_key: "wrapperRef",
|
|
23759
23759
|
ref: h,
|
|
@@ -23761,7 +23761,7 @@ const tj = ["placeholder", "maxlength"], nj = /* @__PURE__ */ rt({
|
|
|
23761
23761
|
"read-only": a.readOnly,
|
|
23762
23762
|
placeholder: a.placeholder,
|
|
23763
23763
|
value: u.value,
|
|
23764
|
-
"onUpdate:value":
|
|
23764
|
+
"onUpdate:value": N[0] || (N[0] = (_) => u.value = _),
|
|
23765
23765
|
id: `scene-name-${a.id}`,
|
|
23766
23766
|
onEnter: T,
|
|
23767
23767
|
"max-length": 25
|
|
@@ -24842,7 +24842,7 @@ const s8 = ["width", "height", "viewBox"], o8 = ["d"], r8 = "M12 17.27L18.18 21l
|
|
|
24842
24842
|
clickable: !0,
|
|
24843
24843
|
readOnly: !0,
|
|
24844
24844
|
isEmpty: E.value
|
|
24845
|
-
})), { argsMain:
|
|
24845
|
+
})), { argsMain: N, isHover: _ } = ao(P), L = G(() => {
|
|
24846
24846
|
if (E.value) return "-";
|
|
24847
24847
|
const k = o.value, { format_type: te, format_value: Re, format_symbol: _e, mapping: Ie } = c.value;
|
|
24848
24848
|
if (Ie && typeof Ie == "object" && !Array.isArray(Ie)) {
|
|
@@ -24871,7 +24871,7 @@ const s8 = ["width", "height", "viewBox"], o8 = ["d"], r8 = "M12 17.27L18.18 21l
|
|
|
24871
24871
|
hideOnClick: !1,
|
|
24872
24872
|
contentClass: "extra-padding"
|
|
24873
24873
|
}));
|
|
24874
|
-
const { copyToClipboard: me, tooltip: Pe } = E_(
|
|
24874
|
+
const { copyToClipboard: me, tooltip: Pe } = E_(L.value), ee = G(() => ({
|
|
24875
24875
|
maxRating: c.value.range || 5,
|
|
24876
24876
|
readOnly: o.readOnly,
|
|
24877
24877
|
disabled: o.disabled,
|
|
@@ -24906,7 +24906,7 @@ const s8 = ["width", "height", "viewBox"], o8 = ["d"], r8 = "M12 17.27L18.18 21l
|
|
|
24906
24906
|
}, null, 8, ["src"])
|
|
24907
24907
|
]),
|
|
24908
24908
|
_: 1
|
|
24909
|
-
}, 8, ["modelValue", "params", "disabled"])) : tt((U(), Ze(lo, yn({ key: 1 }, J(
|
|
24909
|
+
}, 8, ["modelValue", "params", "disabled"])) : tt((U(), Ze(lo, yn({ key: 1 }, J(N), {
|
|
24910
24910
|
onMouseenter: ie,
|
|
24911
24911
|
style: { "--icon-size": "52px" },
|
|
24912
24912
|
onMouseleave: se,
|
|
@@ -24968,7 +24968,7 @@ const s8 = ["width", "height", "viewBox"], o8 = ["d"], r8 = "M12 17.27L18.18 21l
|
|
|
24968
24968
|
tt((U(), ye("span", {
|
|
24969
24969
|
class: W([k.$style["metric-value"]])
|
|
24970
24970
|
}, [
|
|
24971
|
-
gt(wt(
|
|
24971
|
+
gt(wt(L.value), 1)
|
|
24972
24972
|
], 2)), [
|
|
24973
24973
|
[J(i), D.value]
|
|
24974
24974
|
]),
|
|
@@ -25187,15 +25187,16 @@ const s8 = ["width", "height", "viewBox"], o8 = ["d"], r8 = "M12 17.27L18.18 21l
|
|
|
25187
25187
|
}
|
|
25188
25188
|
);
|
|
25189
25189
|
const R = (F) => {
|
|
25190
|
+
var _;
|
|
25190
25191
|
if (a.readOnly || a.disabled) return;
|
|
25191
|
-
const I = F.key === "ArrowDown" ? 1 : F.key === "ArrowUp" ? -1 : 0, P = d.value.findIndex((
|
|
25192
|
+
const I = F.key === "ArrowDown" ? 1 : F.key === "ArrowUp" ? -1 : 0, P = d.value.findIndex((L) => L.value === y.value), N = d.value.length;
|
|
25192
25193
|
if (F.key === "Enter" || F.key === " ")
|
|
25193
25194
|
F.preventDefault(), f.value = y.value;
|
|
25194
25195
|
else if (I !== 0) {
|
|
25195
25196
|
F.preventDefault();
|
|
25196
|
-
let
|
|
25197
|
-
y.value = d.value[
|
|
25198
|
-
}
|
|
25197
|
+
let L = (P + I + N) % N;
|
|
25198
|
+
y.value = d.value[L].value;
|
|
25199
|
+
} else F.key === "Escape" && ((_ = T.value) == null || _.hide());
|
|
25199
25200
|
}, T = ae(null);
|
|
25200
25201
|
return Tn(() => {
|
|
25201
25202
|
var F, I;
|
|
@@ -27303,11 +27304,11 @@ var CK = Object.create, zP = Object.defineProperty, yK = Object.getOwnPropertyDe
|
|
|
27303
27304
|
"¤": "tien te"
|
|
27304
27305
|
}
|
|
27305
27306
|
}, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), u = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), c = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(C, b) {
|
|
27306
|
-
var D = "-", E = "", y = "", R = !0, T = {}, F, I, P,
|
|
27307
|
+
var D = "-", E = "", y = "", R = !0, T = {}, F, I, P, N, _, L, K, me, Pe, ee, ie, se, k, te, Re = "";
|
|
27307
27308
|
if (typeof C != "string")
|
|
27308
27309
|
return "";
|
|
27309
27310
|
if (typeof b == "string" && (D = b), K = a.en, me = r.en, typeof b == "object") {
|
|
27310
|
-
F = b.maintainCase || !1, T = b.custom && typeof b.custom == "object" ? b.custom : T, P = +b.truncate > 1 && b.truncate || !1,
|
|
27311
|
+
F = b.maintainCase || !1, T = b.custom && typeof b.custom == "object" ? b.custom : T, P = +b.truncate > 1 && b.truncate || !1, N = b.uric || !1, _ = b.uricNoSlash || !1, L = b.mark || !1, R = !(b.symbols === !1 || b.lang === !1), D = b.separator || D, N && (Re += l), _ && (Re += u), L && (Re += c), K = b.lang && a[b.lang] && R ? a[b.lang] : R ? a.en : {}, me = 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(_e) {
|
|
27311
27312
|
T[_e + ""] = _e + "";
|
|
27312
27313
|
}), I = !0) : I = !!b.titleCase, b.custom && typeof b.custom.length == "number" && Array.prototype.toString.call(b.custom) && b.custom.forEach(function(_e) {
|
|
27313
27314
|
T[_e + ""] = _e + "";
|
|
@@ -27319,7 +27320,7 @@ var CK = Object.create, zP = Object.defineProperty, yK = Object.getOwnPropertyDe
|
|
|
27319
27320
|
Re += ie;
|
|
27320
27321
|
}
|
|
27321
27322
|
for (Re += D, Re = f(Re), C = C.replace(/(^\s+|\s+$)/g, ""), k = !1, te = !1, ee = 0, se = C.length; ee < se; ee++)
|
|
27322
|
-
ie = C[ee], g(ie, T) ? k = !1 : me[ie] ? (ie = k && me[ie].match(/[A-Za-z0-9]/) ? " " + me[ie] : me[ie], k = !1) : ie in i ? (ee + 1 < se && s.indexOf(C[ee + 1]) >= 0 ? (y += ie, ie = "") : te === !0 ? (ie = o[y] + i[ie], y = "") : ie = k && i[ie].match(/[A-Za-z0-9]/) ? " " + i[ie] : i[ie], k = !1, te = !1) : ie in o ? (y += ie, ie = "", ee === se - 1 && (ie = o[y]), te = !0) : /* process symbol chars */ K[ie] && !(
|
|
27323
|
+
ie = C[ee], g(ie, T) ? k = !1 : me[ie] ? (ie = k && me[ie].match(/[A-Za-z0-9]/) ? " " + me[ie] : me[ie], k = !1) : ie in i ? (ee + 1 < se && s.indexOf(C[ee + 1]) >= 0 ? (y += ie, ie = "") : te === !0 ? (ie = o[y] + i[ie], y = "") : ie = k && i[ie].match(/[A-Za-z0-9]/) ? " " + i[ie] : i[ie], k = !1, te = !1) : ie in o ? (y += ie, ie = "", ee === se - 1 && (ie = o[y]), te = !0) : /* process symbol chars */ K[ie] && !(N && l.indexOf(ie) !== -1) && !(_ && u.indexOf(ie) !== -1) ? (ie = k || E.substr(-1).match(/[A-Za-z0-9]/) ? D + K[ie] : K[ie], ie += C[ee + 1] !== void 0 && C[ee + 1].match(/[A-Za-z0-9]/) ? D : "", k = !0) : (te === !0 ? (ie = o[y] + ie, y = "", te = !1) : k && (/[A-Za-z0-9]/.test(ie) || E.substr(-1).match(/A-Za-z0-9]/)) && (ie = " " + ie), k = !1), E += ie.replace(new RegExp("[^\\w\\s" + Re + "_-]", "g"), D);
|
|
27323
27324
|
return I && (E = E.replace(/(\w)(\S*)/g, function(_e, Ie, st) {
|
|
27324
27325
|
var nt = Ie.toUpperCase() + (st !== null ? st : "");
|
|
27325
27326
|
return Object.keys(T).indexOf(nt.toLowerCase()) < 0 ? nt : nt.toLowerCase();
|
|
@@ -29709,35 +29710,35 @@ function RC(e, t, n = {}, i, s, o) {
|
|
|
29709
29710
|
if (M.env.NODE_ENV !== "production" && !i._e.active)
|
|
29710
29711
|
throw new Error("Pinia destroyed");
|
|
29711
29712
|
const l = { deep: !0 };
|
|
29712
|
-
M.env.NODE_ENV !== "production" && (l.onTrigger = (
|
|
29713
|
-
u ? f =
|
|
29713
|
+
M.env.NODE_ENV !== "production" && (l.onTrigger = (N) => {
|
|
29714
|
+
u ? f = N : u == !1 && !F._hotUpdating && (Array.isArray(f) ? f.push(N) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
|
|
29714
29715
|
});
|
|
29715
29716
|
let u, c, d = /* @__PURE__ */ new Set(), h = /* @__PURE__ */ new Set(), f;
|
|
29716
29717
|
const g = i.state.value[e];
|
|
29717
29718
|
!o && !g && (M.env.NODE_ENV === "production" || !s) && (i.state.value[e] = {});
|
|
29718
29719
|
const v = ae({});
|
|
29719
29720
|
let C;
|
|
29720
|
-
function b(
|
|
29721
|
+
function b(N) {
|
|
29721
29722
|
let _;
|
|
29722
|
-
u = c = !1, M.env.NODE_ENV !== "production" && (f = []), typeof
|
|
29723
|
+
u = c = !1, M.env.NODE_ENV !== "production" && (f = []), typeof N == "function" ? (N(i.state.value[e]), _ = {
|
|
29723
29724
|
type: Zs.patchFunction,
|
|
29724
29725
|
storeId: e,
|
|
29725
29726
|
events: f
|
|
29726
|
-
}) : (EC(i.state.value[e],
|
|
29727
|
+
}) : (EC(i.state.value[e], N), _ = {
|
|
29727
29728
|
type: Zs.patchObject,
|
|
29728
|
-
payload:
|
|
29729
|
+
payload: N,
|
|
29729
29730
|
storeId: e,
|
|
29730
29731
|
events: f
|
|
29731
29732
|
});
|
|
29732
|
-
const
|
|
29733
|
+
const L = C = Symbol();
|
|
29733
29734
|
cn().then(() => {
|
|
29734
|
-
C ===
|
|
29735
|
+
C === L && (u = !0);
|
|
29735
29736
|
}), c = !0, sl(d, _, i.state.value[e]);
|
|
29736
29737
|
}
|
|
29737
29738
|
const D = o ? function() {
|
|
29738
|
-
const { state: _ } = n,
|
|
29739
|
+
const { state: _ } = n, L = _ ? _() : {};
|
|
29739
29740
|
this.$patch((K) => {
|
|
29740
|
-
Wi(K,
|
|
29741
|
+
Wi(K, L);
|
|
29741
29742
|
});
|
|
29742
29743
|
} : (
|
|
29743
29744
|
/* istanbul ignore next */
|
|
@@ -29748,10 +29749,10 @@ function RC(e, t, n = {}, i, s, o) {
|
|
|
29748
29749
|
function E() {
|
|
29749
29750
|
r.stop(), d.clear(), h.clear(), i._s.delete(e);
|
|
29750
29751
|
}
|
|
29751
|
-
const y = (
|
|
29752
|
-
if (eD in
|
|
29753
|
-
return
|
|
29754
|
-
const
|
|
29752
|
+
const y = (N, _ = "") => {
|
|
29753
|
+
if (eD in N)
|
|
29754
|
+
return N[Mm] = _, N;
|
|
29755
|
+
const L = function() {
|
|
29755
29756
|
qc(i);
|
|
29756
29757
|
const K = Array.from(arguments), me = /* @__PURE__ */ new Set(), Pe = /* @__PURE__ */ new Set();
|
|
29757
29758
|
function ee(k) {
|
|
@@ -29762,20 +29763,20 @@ function RC(e, t, n = {}, i, s, o) {
|
|
|
29762
29763
|
}
|
|
29763
29764
|
sl(h, {
|
|
29764
29765
|
args: K,
|
|
29765
|
-
name:
|
|
29766
|
+
name: L[Mm],
|
|
29766
29767
|
store: F,
|
|
29767
29768
|
after: ee,
|
|
29768
29769
|
onError: ie
|
|
29769
29770
|
});
|
|
29770
29771
|
let se;
|
|
29771
29772
|
try {
|
|
29772
|
-
se =
|
|
29773
|
+
se = N.apply(this && this.$id === e ? this : F, K);
|
|
29773
29774
|
} catch (k) {
|
|
29774
29775
|
throw sl(Pe, k), k;
|
|
29775
29776
|
}
|
|
29776
29777
|
return se instanceof Promise ? se.then((k) => (sl(me, k), k)).catch((k) => (sl(Pe, k), Promise.reject(k))) : (sl(me, se), se);
|
|
29777
29778
|
};
|
|
29778
|
-
return
|
|
29779
|
+
return L[eD] = !0, L[Mm] = _, L;
|
|
29779
29780
|
}, R = /* @__PURE__ */ vr({
|
|
29780
29781
|
actions: {},
|
|
29781
29782
|
getters: {},
|
|
@@ -29788,15 +29789,15 @@ function RC(e, t, n = {}, i, s, o) {
|
|
|
29788
29789
|
$onAction: XR.bind(null, h),
|
|
29789
29790
|
$patch: b,
|
|
29790
29791
|
$reset: D,
|
|
29791
|
-
$subscribe(
|
|
29792
|
-
const
|
|
29793
|
-
(_.flush === "sync" ? c : u) &&
|
|
29792
|
+
$subscribe(N, _ = {}) {
|
|
29793
|
+
const L = XR(d, N, _.detached, () => K()), K = r.run(() => ht(() => i.state.value[e], (me) => {
|
|
29794
|
+
(_.flush === "sync" ? c : u) && N({
|
|
29794
29795
|
storeId: e,
|
|
29795
29796
|
type: Zs.direct,
|
|
29796
29797
|
events: f
|
|
29797
29798
|
}, me);
|
|
29798
29799
|
}, Wi({}, l, _)));
|
|
29799
|
-
return
|
|
29800
|
+
return L;
|
|
29800
29801
|
},
|
|
29801
29802
|
$dispose: E
|
|
29802
29803
|
}, F = so(M.env.NODE_ENV !== "production" || M.env.NODE_ENV !== "production" && M.env.NODE_ENV !== "test" && To ? Wi(
|
|
@@ -29811,80 +29812,80 @@ function RC(e, t, n = {}, i, s, o) {
|
|
|
29811
29812
|
) : T);
|
|
29812
29813
|
i._s.set(e, F);
|
|
29813
29814
|
const P = (i._a && i._a.runWithContext || y9)(() => i._e.run(() => (r = XF()).run(() => t({ action: y }))));
|
|
29814
|
-
for (const
|
|
29815
|
-
const _ = P[
|
|
29815
|
+
for (const N in P) {
|
|
29816
|
+
const _ = P[N];
|
|
29816
29817
|
if (Wt(_) && !tD(_) || Ji(_))
|
|
29817
|
-
M.env.NODE_ENV !== "production" && s ? v.value[
|
|
29818
|
+
M.env.NODE_ENV !== "production" && s ? v.value[N] = Cr(P, N) : o || (g && b9(_) && (Wt(_) ? _.value = g[N] : EC(_, g[N])), i.state.value[e][N] = _), M.env.NODE_ENV !== "production" && R.state.push(N);
|
|
29818
29819
|
else if (typeof _ == "function") {
|
|
29819
|
-
const
|
|
29820
|
-
P[
|
|
29821
|
-
} else M.env.NODE_ENV !== "production" && tD(_) && (R.getters[
|
|
29820
|
+
const L = M.env.NODE_ENV !== "production" && s ? _ : y(_, N);
|
|
29821
|
+
P[N] = L, M.env.NODE_ENV !== "production" && (R.actions[N] = _), a.actions[N] = _;
|
|
29822
|
+
} else M.env.NODE_ENV !== "production" && tD(_) && (R.getters[N] = o ? (
|
|
29822
29823
|
// @ts-expect-error
|
|
29823
|
-
n.getters[
|
|
29824
|
+
n.getters[N]
|
|
29824
29825
|
) : _, To && (P._getters || // @ts-expect-error: same
|
|
29825
|
-
(P._getters = vr([]))).push(
|
|
29826
|
+
(P._getters = vr([]))).push(N));
|
|
29826
29827
|
}
|
|
29827
29828
|
if (Wi(F, P), Wi(vt(F), P), Object.defineProperty(F, "$state", {
|
|
29828
29829
|
get: () => M.env.NODE_ENV !== "production" && s ? v.value : i.state.value[e],
|
|
29829
|
-
set: (
|
|
29830
|
+
set: (N) => {
|
|
29830
29831
|
if (M.env.NODE_ENV !== "production" && s)
|
|
29831
29832
|
throw new Error("cannot set hotState");
|
|
29832
29833
|
b((_) => {
|
|
29833
|
-
Wi(_,
|
|
29834
|
+
Wi(_, N);
|
|
29834
29835
|
});
|
|
29835
29836
|
}
|
|
29836
|
-
}), M.env.NODE_ENV !== "production" && (F._hotUpdate = vr((
|
|
29837
|
-
F._hotUpdating = !0,
|
|
29837
|
+
}), M.env.NODE_ENV !== "production" && (F._hotUpdate = vr((N) => {
|
|
29838
|
+
F._hotUpdating = !0, N._hmrPayload.state.forEach((_) => {
|
|
29838
29839
|
if (_ in F.$state) {
|
|
29839
|
-
const
|
|
29840
|
-
typeof
|
|
29840
|
+
const L = N.$state[_], K = F.$state[_];
|
|
29841
|
+
typeof L == "object" && Pa(L) && Pa(K) ? _A(L, K) : N.$state[_] = K;
|
|
29841
29842
|
}
|
|
29842
|
-
F[_] = Cr(
|
|
29843
|
+
F[_] = Cr(N.$state, _);
|
|
29843
29844
|
}), Object.keys(F.$state).forEach((_) => {
|
|
29844
|
-
_ in
|
|
29845
|
-
}), u = !1, c = !1, i.state.value[e] = Cr(
|
|
29845
|
+
_ in N.$state || delete F[_];
|
|
29846
|
+
}), u = !1, c = !1, i.state.value[e] = Cr(N._hmrPayload, "hotState"), c = !0, cn().then(() => {
|
|
29846
29847
|
u = !0;
|
|
29847
29848
|
});
|
|
29848
|
-
for (const _ in
|
|
29849
|
-
const
|
|
29849
|
+
for (const _ in N._hmrPayload.actions) {
|
|
29850
|
+
const L = N[_];
|
|
29850
29851
|
F[_] = //
|
|
29851
|
-
y(
|
|
29852
|
+
y(L, _);
|
|
29852
29853
|
}
|
|
29853
|
-
for (const _ in
|
|
29854
|
-
const
|
|
29854
|
+
for (const _ in N._hmrPayload.getters) {
|
|
29855
|
+
const L = N._hmrPayload.getters[_], K = o ? (
|
|
29855
29856
|
// special handling of options api
|
|
29856
|
-
G(() => (qc(i),
|
|
29857
|
-
) :
|
|
29857
|
+
G(() => (qc(i), L.call(F, F)))
|
|
29858
|
+
) : L;
|
|
29858
29859
|
F[_] = //
|
|
29859
29860
|
K;
|
|
29860
29861
|
}
|
|
29861
29862
|
Object.keys(F._hmrPayload.getters).forEach((_) => {
|
|
29862
|
-
_ in
|
|
29863
|
+
_ in N._hmrPayload.getters || delete F[_];
|
|
29863
29864
|
}), Object.keys(F._hmrPayload.actions).forEach((_) => {
|
|
29864
|
-
_ in
|
|
29865
|
-
}), F._hmrPayload =
|
|
29865
|
+
_ in N._hmrPayload.actions || delete F[_];
|
|
29866
|
+
}), F._hmrPayload = N._hmrPayload, F._getters = N._getters, F._hotUpdating = !1;
|
|
29866
29867
|
})), M.env.NODE_ENV !== "production" && M.env.NODE_ENV !== "test" && To) {
|
|
29867
|
-
const
|
|
29868
|
+
const N = {
|
|
29868
29869
|
writable: !0,
|
|
29869
29870
|
configurable: !0,
|
|
29870
29871
|
// avoid warning on devtools trying to display this property
|
|
29871
29872
|
enumerable: !1
|
|
29872
29873
|
};
|
|
29873
29874
|
["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((_) => {
|
|
29874
|
-
Object.defineProperty(F, _, Wi({ value: F[_] },
|
|
29875
|
+
Object.defineProperty(F, _, Wi({ value: F[_] }, N));
|
|
29875
29876
|
});
|
|
29876
29877
|
}
|
|
29877
|
-
return i._p.forEach((
|
|
29878
|
+
return i._p.forEach((N) => {
|
|
29878
29879
|
if (M.env.NODE_ENV !== "production" && M.env.NODE_ENV !== "test" && To) {
|
|
29879
|
-
const _ = r.run(() =>
|
|
29880
|
+
const _ = r.run(() => N({
|
|
29880
29881
|
store: F,
|
|
29881
29882
|
app: i._a,
|
|
29882
29883
|
pinia: i,
|
|
29883
29884
|
options: a
|
|
29884
29885
|
}));
|
|
29885
|
-
Object.keys(_ || {}).forEach((
|
|
29886
|
+
Object.keys(_ || {}).forEach((L) => F._customProperties.add(L)), Wi(F, _);
|
|
29886
29887
|
} else
|
|
29887
|
-
Wi(F, r.run(() =>
|
|
29888
|
+
Wi(F, r.run(() => N({
|
|
29888
29889
|
store: F,
|
|
29889
29890
|
app: i._a,
|
|
29890
29891
|
pinia: i,
|
|
@@ -33607,10 +33608,10 @@ function gs(e, t, n) {
|
|
|
33607
33608
|
return !1;
|
|
33608
33609
|
if (t != null && t.state && !t.state.forEach)
|
|
33609
33610
|
return xe(32), !1;
|
|
33610
|
-
const b = (T, F, I, P,
|
|
33611
|
+
const b = (T, F, I, P, N) => {
|
|
33611
33612
|
if (!T)
|
|
33612
33613
|
return;
|
|
33613
|
-
const _ = XY(F, t.defaultState),
|
|
33614
|
+
const _ = XY(F, t.defaultState), L = _("flex").value1;
|
|
33614
33615
|
if (S1(
|
|
33615
33616
|
e,
|
|
33616
33617
|
T,
|
|
@@ -33618,19 +33619,19 @@ function gs(e, t, n) {
|
|
|
33618
33619
|
_("sort").value1,
|
|
33619
33620
|
_("sortIndex").value1,
|
|
33620
33621
|
_("pinned").value1,
|
|
33621
|
-
|
|
33622
|
+
L,
|
|
33622
33623
|
n
|
|
33623
|
-
),
|
|
33624
|
+
), L == null) {
|
|
33624
33625
|
const K = _("width").value1;
|
|
33625
33626
|
if (K != null) {
|
|
33626
33627
|
const me = T.getColDef().minWidth ?? d.getDefaultColumnMinWidth();
|
|
33627
33628
|
me != null && K >= me && T.setActualWidth(K, n);
|
|
33628
33629
|
}
|
|
33629
33630
|
}
|
|
33630
|
-
|
|
33631
|
+
N || !T.isPrimary() || (h == null || h.syncColumnWithState(T, n, _), s == null || s.syncColumnWithState(T, n, _, I), o == null || o.syncColumnWithState(T, n, _, P));
|
|
33631
33632
|
}, D = (T, F, I) => {
|
|
33632
33633
|
var Re, _e;
|
|
33633
|
-
const P = T1(e, n),
|
|
33634
|
+
const P = T1(e, n), N = F.slice(), _ = {}, L = {}, K = [], me = [], Pe = [];
|
|
33634
33635
|
let ee = 0;
|
|
33635
33636
|
const ie = (s == null ? void 0 : s.columns.slice()) ?? [], se = (o == null ? void 0 : o.columns.slice()) ?? [];
|
|
33636
33637
|
for (const Ie of T) {
|
|
@@ -33644,10 +33645,10 @@ function gs(e, t, n) {
|
|
|
33644
33645
|
continue;
|
|
33645
33646
|
}
|
|
33646
33647
|
const ut = I(st);
|
|
33647
|
-
ut ? (b(ut, Ie, _,
|
|
33648
|
+
ut ? (b(ut, Ie, _, L, !1), Es(N, ut)) : (Pe.push(Ie), ee += 1);
|
|
33648
33649
|
}
|
|
33649
|
-
const k = (Ie) => b(Ie, null, _,
|
|
33650
|
-
|
|
33650
|
+
const k = (Ie) => b(Ie, null, _, L, !1);
|
|
33651
|
+
N.forEach(k), s == null || s.sortColumns(gD.bind(s, _, ie)), o == null || o.sortColumns(gD.bind(o, L, se)), i.refreshCols(!1, n);
|
|
33651
33652
|
const te = (Ie, st, nt = []) => {
|
|
33652
33653
|
for (const ut of st) {
|
|
33653
33654
|
const Pt = Ie(ut.colId);
|
|
@@ -33709,8 +33710,8 @@ function T1(e, t) {
|
|
|
33709
33710
|
c[d.colId] = d;
|
|
33710
33711
|
return () => {
|
|
33711
33712
|
const d = (T, F, I, P) => {
|
|
33712
|
-
const
|
|
33713
|
-
if (Ir(
|
|
33713
|
+
const N = F.map(P), _ = I.map(P);
|
|
33714
|
+
if (Ir(N, _))
|
|
33714
33715
|
return;
|
|
33715
33716
|
const K = new Set(F);
|
|
33716
33717
|
for (const Pe of I)
|
|
@@ -33741,8 +33742,8 @@ function T1(e, t) {
|
|
|
33741
33742
|
f
|
|
33742
33743
|
);
|
|
33743
33744
|
const v = h((T, F) => {
|
|
33744
|
-
const I = T.aggFunc != null, P = I != F.isValueActive(),
|
|
33745
|
-
return P ||
|
|
33745
|
+
const I = T.aggFunc != null, P = I != F.isValueActive(), N = I && T.aggFunc != F.getAggFunc();
|
|
33746
|
+
return P || N;
|
|
33746
33747
|
});
|
|
33747
33748
|
v.length > 0 && cZ(a, "columnValueChanged", v, t), tu(a, h((T, F) => T.width != F.getActualWidth()), !0, t), F1(a, h((T, F) => T.pinned != F.getPinned()), t), uZ(a, h((T, F) => T.hide == F.isVisible()), t);
|
|
33748
33749
|
const y = h((T, F) => T.sort != F.getSort() || T.sortIndex != F.getSortIndex());
|
|
@@ -39436,9 +39437,9 @@ var cs = {
|
|
|
39436
39437
|
let d, h, f = 0;
|
|
39437
39438
|
this.invalidateVerticalScroll();
|
|
39438
39439
|
do {
|
|
39439
|
-
const { stickyTopHeight: C, stickyBottomHeight: b } = u, D = c.rowTop, E = c.rowHeight, y = r.getPixelOffset(), R = c.rowTop - y, T = R + c.rowHeight, F = this.getVScrollPosition(), I = a.divStretchOffset, P = F.top + I,
|
|
39440
|
+
const { stickyTopHeight: C, stickyBottomHeight: b } = u, D = c.rowTop, E = c.rowHeight, y = r.getPixelOffset(), R = c.rowTop - y, T = R + c.rowHeight, F = this.getVScrollPosition(), I = a.divStretchOffset, P = F.top + I, N = F.bottom + I, _ = N - P, L = a.getScrollPositionForPixel(R), K = a.getScrollPositionForPixel(T - _), me = Math.min((L + K) / 2, R), Pe = P + C > R, ee = N - b < T;
|
|
39440
39441
|
let ie = null;
|
|
39441
|
-
t === "top" ? ie =
|
|
39442
|
+
t === "top" ? ie = L - C : t === "bottom" ? ie = K + b : t === "middle" ? ie = me : Pe ? ie = L - C : ee && (K - L > _ ? ie = L - C : ie = K + b), ie !== null && (this.setVerticalScrollPosition(ie), l.redraw({ afterScroll: !0 })), d = D !== c.rowTop || E !== c.rowHeight, h = C !== u.stickyTopHeight || b !== u.stickyBottomHeight, f++;
|
|
39442
39443
|
} while ((d || h) && f < 10);
|
|
39443
39444
|
if ((g = this.animationFrameSvc) == null || g.flushAllFrames(), n < 10 && (c != null && c.stub || !((v = this.beans.rowAutoHeight) != null && v.areRowsMeasured()))) {
|
|
39444
39445
|
const C = this.getVScrollPosition().top;
|
|
@@ -46996,8 +46997,8 @@ var Ute = class extends ve {
|
|
|
46996
46997
|
const I = F === D.length - 1;
|
|
46997
46998
|
let P;
|
|
46998
46999
|
I ? P = y : (P = Math.round(f[F] * d * R), y -= P);
|
|
46999
|
-
const
|
|
47000
|
-
P <
|
|
47000
|
+
const N = T.getMinWidth(), _ = T.getMaxWidth();
|
|
47001
|
+
P < N ? (P = N, v[T.getId()] = !0, C = !0) : _ > 0 && P > _ && (P = _, v[T.getId()] = !0, C = !0), g[T.getId()] = P;
|
|
47001
47002
|
});
|
|
47002
47003
|
}
|
|
47003
47004
|
for (const D of h) {
|
|
@@ -52886,7 +52887,7 @@ function xo({
|
|
|
52886
52887
|
return e === is && (e = t), e !== t;
|
|
52887
52888
|
}
|
|
52888
52889
|
function su(e, t, n) {
|
|
52889
|
-
var b, D, E, y, R, T, F, I, P,
|
|
52890
|
+
var b, D, E, y, R, T, F, I, P, N;
|
|
52890
52891
|
const i = e.gos.get("enableGroupEdit"), { key: s, event: o, cellStartedEdit: r, silent: a } = n ?? {}, l = un(e, t), u = (b = l == null ? void 0 : l.comp) == null ? void 0 : b.getCellEditor(), c = YI(e, t, s, r && !a), d = (D = e.editModelSvc) == null ? void 0 : D.getEdit(t);
|
|
52891
52892
|
let h = c.value;
|
|
52892
52893
|
if (h === void 0 && (h = d == null ? void 0 : d.sourceValue), (E = e.editModelSvc) == null || E.setEdit(t, {
|
|
@@ -52899,8 +52900,8 @@ function su(e, t, n) {
|
|
|
52899
52900
|
const f = t.column.getColDef(), g = k1(e.userCompFactory, f, c), v = (g == null ? void 0 : g.popupFromSelector) != null ? g.popupFromSelector : !!f.cellEditorPopup, C = (g == null ? void 0 : g.popupPositionFromSelector) != null ? g.popupPositionFromSelector : f.cellEditorPopupPosition;
|
|
52900
52901
|
if (ZI(g.params, o), l) {
|
|
52901
52902
|
l.editCompDetails = g, l.onEditorAttachedFuncs.push(() => {
|
|
52902
|
-
var
|
|
52903
|
-
return (
|
|
52903
|
+
var L;
|
|
52904
|
+
return (L = l.rangeFeature) == null ? void 0 : L.unsetComp();
|
|
52904
52905
|
}), (R = l.comp) == null || R.setEditDetails(g, v, C, e.gos.get("reactiveCustomComponents")), (T = l == null ? void 0 : l.rowCtrl) == null || T.refreshRow({ suppressFlash: !0 });
|
|
52905
52906
|
const _ = (F = e.editModelSvc) == null ? void 0 : F.getEdit(t, !0);
|
|
52906
52907
|
!a && !((I = _ == null ? void 0 : _.editorState) != null && I.cellStartedEditing) && ((P = e.editSvc) == null || P.dispatchCellEvent(
|
|
@@ -52908,7 +52909,7 @@ function su(e, t, n) {
|
|
|
52908
52909
|
o,
|
|
52909
52910
|
"cellEditingStarted",
|
|
52910
52911
|
i ? { value: h } : {}
|
|
52911
|
-
), (
|
|
52912
|
+
), (N = e.editModelSvc) == null || N.setEdit(t, { editorState: { cellStartedEditing: !0 } }));
|
|
52912
52913
|
}
|
|
52913
52914
|
}
|
|
52914
52915
|
function qI(e, t, n) {
|
|
@@ -53081,10 +53082,10 @@ function Ma(e, t) {
|
|
|
53081
53082
|
return;
|
|
53082
53083
|
const n = KI(e), i = new UI(), { ariaAnnounce: s, localeSvc: o, editModelSvc: r, gos: a } = e, l = a.get("editType") === "fullRow", c = XA(o)("ariaValidationErrorPrefix", "Cell Editor Validation");
|
|
53083
53084
|
for (const y of n) {
|
|
53084
|
-
const { ctrl: R, editor: T } = y, { rowNode: F, column: I } = R, P = ((h = T.getValidationErrors) == null ? void 0 : h.call(T)) ?? [],
|
|
53085
|
-
if (
|
|
53086
|
-
const _ = P != null && P.length > 0,
|
|
53087
|
-
Lq(
|
|
53085
|
+
const { ctrl: R, editor: T } = y, { rowNode: F, column: I } = R, P = ((h = T.getValidationErrors) == null ? void 0 : h.call(T)) ?? [], N = ((f = T.getValidationElement) == null ? void 0 : f.call(T, !1)) || !((g = T.isPopup) != null && g.call(T)) && R.eGui;
|
|
53086
|
+
if (N) {
|
|
53087
|
+
const _ = P != null && P.length > 0, L = _ ? P.join(". ") : "";
|
|
53088
|
+
Lq(N, _), _ && s.announceValue(`${c} ${P}`, "editorValidation"), N instanceof HTMLInputElement ? N.setCustomValidity(L) : N.classList.toggle("invalid", _);
|
|
53088
53089
|
}
|
|
53089
53090
|
(P == null ? void 0 : P.length) > 0 && i.setCellValidation(
|
|
53090
53091
|
{
|
|
@@ -56606,8 +56607,8 @@ var Eoe = (
|
|
|
56606
56607
|
const c = this.getRowBufferInPixels(), d = this.ctrlsSvc.getScrollFeature(), h = this.gos.get("suppressRowVirtualisation");
|
|
56607
56608
|
let f = !1, g, v;
|
|
56608
56609
|
do {
|
|
56609
|
-
const y = t.getPixelOffset(), { pageFirstPixel: R, pageLastPixel: T } = t.getCurrentPagePixelRange(), F = e.divStretchOffset, I = d.getVScrollPosition(), P = I.top,
|
|
56610
|
-
h ? (g = R + F, v = T + F) : (g = Math.max(P + y - c, R) + F, v = Math.min(
|
|
56610
|
+
const y = t.getPixelOffset(), { pageFirstPixel: R, pageLastPixel: T } = t.getCurrentPagePixelRange(), F = e.divStretchOffset, I = d.getVScrollPosition(), P = I.top, N = I.bottom;
|
|
56611
|
+
h ? (g = R + F, v = T + F) : (g = Math.max(P + y - c, R) + F, v = Math.min(N + y + c, T) + F), this.firstVisibleVPixel = Math.max(P + y, R) + F, this.lastVisibleVPixel = Math.min(N + y, T) + F, f = this.ensureAllRowsInRangeHaveHeightsCalculated(g, v);
|
|
56611
56612
|
} while (f);
|
|
56612
56613
|
let C = n.getRowIndexAtPixel(g), b = n.getRowIndexAtPixel(v);
|
|
56613
56614
|
const D = t.getFirstRow(), E = t.getLastRow();
|
|
@@ -59898,12 +59899,12 @@ var Wre = {
|
|
|
59898
59899
|
if (h) {
|
|
59899
59900
|
const T = (c == null ? void 0 : c.handlerNameOrCallback) ?? (c == null ? void 0 : c.filterHandler), F = Nn(this.model, e);
|
|
59900
59901
|
if (n.handlerGenerator != T) {
|
|
59901
|
-
const I = n.handler, { handler: P, handlerParams:
|
|
59902
|
+
const I = n.handler, { handler: P, handlerParams: N } = this.createHandlerFromFunc(
|
|
59902
59903
|
s,
|
|
59903
59904
|
c.filterHandler,
|
|
59904
59905
|
v
|
|
59905
59906
|
);
|
|
59906
|
-
n.handler = P, n.handlerParams =
|
|
59907
|
+
n.handler = P, n.handlerParams = N, n.handlerGenerator = T, delete this.model[e], (C = P.init) == null || C.call(P, { ...N, source: "init", model: null }), this.destroyBean(I), F != null && ((b = this.beans.filterManager) == null || b.onFilterChanged({
|
|
59907
59908
|
columns: [s],
|
|
59908
59909
|
source: t
|
|
59909
59910
|
}));
|
|
@@ -67314,30 +67315,30 @@ var hce = class extends ve {
|
|
|
67314
67315
|
columnOrder: d
|
|
67315
67316
|
} = e;
|
|
67316
67317
|
let h = !1;
|
|
67317
|
-
const f = (_,
|
|
67318
|
-
const K = !(i != null && i.has(_)) && !!(
|
|
67318
|
+
const f = (_, L) => {
|
|
67319
|
+
const K = !(i != null && i.has(_)) && !!(L || t === "api");
|
|
67319
67320
|
return h || (h = K), K;
|
|
67320
67321
|
}, g = {}, v = (_) => {
|
|
67321
|
-
let
|
|
67322
|
-
return
|
|
67322
|
+
let L = g[_];
|
|
67323
|
+
return L || (L = { colId: _ }, g[_] = L, L);
|
|
67323
67324
|
}, C = {}, b = f("sort", s);
|
|
67324
|
-
b && (s == null || s.sortModel.forEach(({ colId: _, sort:
|
|
67325
|
+
b && (s == null || s.sortModel.forEach(({ colId: _, sort: L }, K) => {
|
|
67325
67326
|
const me = v(_);
|
|
67326
|
-
me.sort =
|
|
67327
|
+
me.sort = L, me.sortIndex = K;
|
|
67327
67328
|
})), (b || !n) && (C.sort = null, C.sortIndex = null);
|
|
67328
67329
|
const D = f("rowGroup", o);
|
|
67329
|
-
D && (o == null || o.groupColIds.forEach((_,
|
|
67330
|
+
D && (o == null || o.groupColIds.forEach((_, L) => {
|
|
67330
67331
|
const K = v(_);
|
|
67331
|
-
K.rowGroup = !0, K.rowGroupIndex =
|
|
67332
|
+
K.rowGroup = !0, K.rowGroupIndex = L;
|
|
67332
67333
|
})), (D || !n) && (C.rowGroup = null, C.rowGroupIndex = null);
|
|
67333
67334
|
const E = f("aggregation", r);
|
|
67334
|
-
E && (r == null || r.aggregationModel.forEach(({ colId: _, aggFunc:
|
|
67335
|
-
v(_).aggFunc =
|
|
67335
|
+
E && (r == null || r.aggregationModel.forEach(({ colId: _, aggFunc: L }) => {
|
|
67336
|
+
v(_).aggFunc = L;
|
|
67336
67337
|
})), (E || !n) && (C.aggFunc = null);
|
|
67337
67338
|
const y = f("pivot", a);
|
|
67338
|
-
y && (a == null || a.pivotColIds.forEach((_,
|
|
67339
|
+
y && (a == null || a.pivotColIds.forEach((_, L) => {
|
|
67339
67340
|
const K = v(_);
|
|
67340
|
-
K.pivot = !0, K.pivotIndex =
|
|
67341
|
+
K.pivot = !0, K.pivotIndex = L;
|
|
67341
67342
|
}), this.gos.updateGridOptions({
|
|
67342
67343
|
options: { pivotMode: !!(a != null && a.pivotMode) },
|
|
67343
67344
|
source: t
|
|
@@ -67357,16 +67358,16 @@ var hce = class extends ve {
|
|
|
67357
67358
|
(T || !n) && (C.hide = null);
|
|
67358
67359
|
const F = f("columnSizing", c);
|
|
67359
67360
|
if (F)
|
|
67360
|
-
for (const { colId: _, flex:
|
|
67361
|
+
for (const { colId: _, flex: L, width: K } of (c == null ? void 0 : c.columnSizingModel) ?? []) {
|
|
67361
67362
|
const me = v(_);
|
|
67362
|
-
me.flex =
|
|
67363
|
+
me.flex = L ?? null, me.width = K;
|
|
67363
67364
|
}
|
|
67364
67365
|
(F || !n) && (C.flex = null);
|
|
67365
|
-
const I = d == null ? void 0 : d.orderedColIds, P = !!(I != null && I.length) && !(i != null && i.has("columnOrder")),
|
|
67366
|
-
(
|
|
67366
|
+
const I = d == null ? void 0 : d.orderedColIds, P = !!(I != null && I.length) && !(i != null && i.has("columnOrder")), N = P ? I.map((_) => v(_)) : Object.values(g);
|
|
67367
|
+
(N.length || h) && (this.columnStates = N, gs(
|
|
67367
67368
|
this.beans,
|
|
67368
67369
|
{
|
|
67369
|
-
state:
|
|
67370
|
+
state: N,
|
|
67370
67371
|
applyOrder: P,
|
|
67371
67372
|
defaultState: C
|
|
67372
67373
|
},
|
|
@@ -68387,8 +68388,8 @@ var ede = class extends ve {
|
|
|
68387
68388
|
if (I > 0) {
|
|
68388
68389
|
const P = D[F.colId] ?? {};
|
|
68389
68390
|
P.minWidth ?? (P.minWidth = l), P.maxWidth ?? (P.maxWidth = a);
|
|
68390
|
-
const
|
|
68391
|
-
F.setActualWidth(
|
|
68391
|
+
const N = tde(F, I, P);
|
|
68392
|
+
F.setActualWidth(N, c), C.add(F), b++;
|
|
68392
68393
|
}
|
|
68393
68394
|
R.push(F);
|
|
68394
68395
|
}
|
|
@@ -68512,9 +68513,9 @@ var ede = class extends ve {
|
|
|
68512
68513
|
const b = C / Ro(l);
|
|
68513
68514
|
let D = C;
|
|
68514
68515
|
for (let E = l.length - 1; E >= 0; E--) {
|
|
68515
|
-
const y = l[E], R = s == null ? void 0 : s[y.getId()], T = (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), I = y.getMinWidth(), P = y.getMaxWidth(),
|
|
68516
|
-
let
|
|
68517
|
-
|
|
68516
|
+
const y = l[E], R = s == null ? void 0 : s[y.getId()], T = (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), I = y.getMinWidth(), P = y.getMaxWidth(), N = typeof T == "number" && T > I ? T : I, _ = typeof F == "number" && F < P ? F : P;
|
|
68517
|
+
let L = Math.round(y.getActualWidth() * b);
|
|
68518
|
+
L < N ? (L = N, h(y), d = !1) : L > _ ? (L = _, h(y), d = !1) : E === 0 && (L = D), y.setActualWidth(L, t, !0), D -= L;
|
|
68518
68519
|
}
|
|
68519
68520
|
}
|
|
68520
68521
|
}
|
|
@@ -71696,12 +71697,12 @@ const Qk = (e) => {
|
|
|
71696
71697
|
responseType: F,
|
|
71697
71698
|
headers: I,
|
|
71698
71699
|
withCredentials: P = "same-origin",
|
|
71699
|
-
fetchOptions:
|
|
71700
|
+
fetchOptions: N
|
|
71700
71701
|
} = Qk(g), _ = t || fetch;
|
|
71701
71702
|
F = F ? (F + "").toLowerCase() : "text";
|
|
71702
|
-
let
|
|
71703
|
-
const me =
|
|
71704
|
-
|
|
71703
|
+
let L = lfe([D, E && E.toAbortSignal()], y), K = null;
|
|
71704
|
+
const me = L && L.unsubscribe && (() => {
|
|
71705
|
+
L.unsubscribe();
|
|
71705
71706
|
});
|
|
71706
71707
|
let Pe;
|
|
71707
71708
|
try {
|
|
@@ -71721,8 +71722,8 @@ const Qk = (e) => {
|
|
|
71721
71722
|
}
|
|
71722
71723
|
fe.isString(P) || (P = P ? "include" : "omit");
|
|
71723
71724
|
const ee = o && "credentials" in n.prototype, ie = {
|
|
71724
|
-
...
|
|
71725
|
-
signal:
|
|
71725
|
+
...N,
|
|
71726
|
+
signal: L,
|
|
71726
71727
|
method: C.toUpperCase(),
|
|
71727
71728
|
headers: I.normalize().toJSON(),
|
|
71728
71729
|
body: b,
|
|
@@ -71730,7 +71731,7 @@ const Qk = (e) => {
|
|
|
71730
71731
|
credentials: ee ? P : void 0
|
|
71731
71732
|
};
|
|
71732
71733
|
K = o && new n(v, ie);
|
|
71733
|
-
let se = await (o ? _(K,
|
|
71734
|
+
let se = await (o ? _(K, N) : _(v, ie));
|
|
71734
71735
|
const k = c && (F === "stream" || F === "response");
|
|
71735
71736
|
if (c && (R || k && me)) {
|
|
71736
71737
|
const Re = {};
|
|
@@ -72733,8 +72734,8 @@ const Tfe = {
|
|
|
72733
72734
|
})).data.map(
|
|
72734
72735
|
(_) => [_.id, _.permission]
|
|
72735
72736
|
);
|
|
72736
|
-
} catch (
|
|
72737
|
-
return console.error("Failed to fetch a chunk of permissions:",
|
|
72737
|
+
} catch (N) {
|
|
72738
|
+
return console.error("Failed to fetch a chunk of permissions:", N), [];
|
|
72738
72739
|
}
|
|
72739
72740
|
});
|
|
72740
72741
|
return Object.fromEntries(I);
|
|
@@ -72745,22 +72746,22 @@ const Tfe = {
|
|
|
72745
72746
|
if (!F.length || !I.length)
|
|
72746
72747
|
return {};
|
|
72747
72748
|
try {
|
|
72748
|
-
const P = await v(F, g, async (
|
|
72749
|
+
const P = await v(F, g, async (N) => {
|
|
72749
72750
|
try {
|
|
72750
72751
|
return (await s.getMetricValues({
|
|
72751
72752
|
workspaceId: e.value.workspaceId,
|
|
72752
|
-
item_ids:
|
|
72753
|
-
per_page:
|
|
72753
|
+
item_ids: N,
|
|
72754
|
+
per_page: N.length * I.length,
|
|
72754
72755
|
metric_ids: I
|
|
72755
|
-
})).data.map((
|
|
72756
|
+
})).data.map((L) => {
|
|
72756
72757
|
const K = new Map(
|
|
72757
|
-
|
|
72758
|
+
L.item_metrics.map(
|
|
72758
72759
|
(Pe) => [Pe.metric_id, Pe.value]
|
|
72759
72760
|
)
|
|
72760
72761
|
), me = Object.fromEntries(
|
|
72761
72762
|
I.map((Pe) => [Pe, K.get(Pe) ?? null])
|
|
72762
72763
|
);
|
|
72763
|
-
return [
|
|
72764
|
+
return [L.id, me];
|
|
72764
72765
|
});
|
|
72765
72766
|
} catch (_) {
|
|
72766
72767
|
return console.error("Failed to fetch a chunk of metric values:", _), [];
|
|
@@ -72776,16 +72777,16 @@ const Tfe = {
|
|
|
72776
72777
|
try {
|
|
72777
72778
|
const I = await v(F, g, async (P) => {
|
|
72778
72779
|
try {
|
|
72779
|
-
const
|
|
72780
|
+
const N = await s.getAssignedUser({
|
|
72780
72781
|
workspaceId: e.value.workspaceId,
|
|
72781
72782
|
item_ids: P,
|
|
72782
72783
|
per_page: P.length
|
|
72783
|
-
}), _ =
|
|
72784
|
-
return h(_),
|
|
72785
|
-
(
|
|
72784
|
+
}), _ = N.data.flatMap((L) => L.assignees);
|
|
72785
|
+
return h(_), N.data.map(
|
|
72786
|
+
(L) => [L.id, L.assignees]
|
|
72786
72787
|
);
|
|
72787
|
-
} catch (
|
|
72788
|
-
return console.error("Failed to fetch a chunk of assigned users:",
|
|
72788
|
+
} catch (N) {
|
|
72789
|
+
return console.error("Failed to fetch a chunk of assigned users:", N), [];
|
|
72789
72790
|
}
|
|
72790
72791
|
});
|
|
72791
72792
|
return Object.fromEntries(I);
|
|
@@ -72802,26 +72803,26 @@ const Tfe = {
|
|
|
72802
72803
|
pageSize: d,
|
|
72803
72804
|
cusorMap: o,
|
|
72804
72805
|
fetchItems: async (F) => {
|
|
72805
|
-
const { cursor: I, offset: P, size:
|
|
72806
|
-
let
|
|
72806
|
+
const { cursor: I, offset: P, size: N, searchQuery: _ } = F;
|
|
72807
|
+
let L = [];
|
|
72807
72808
|
a.value = !0, l.value = null;
|
|
72808
72809
|
try {
|
|
72809
72810
|
const K = await s.getAllItem_cursor({
|
|
72810
72811
|
cursor: I || void 0,
|
|
72811
72812
|
offset: P || void 0,
|
|
72812
|
-
pageSize:
|
|
72813
|
+
pageSize: N || d.value,
|
|
72813
72814
|
...f(_),
|
|
72814
72815
|
sortBy: F.sort_by
|
|
72815
72816
|
});
|
|
72816
|
-
return r.value = K.data, u.value = K.meta, c.value = K.meta.current_page || 0,
|
|
72817
|
+
return r.value = K.data, u.value = K.meta, c.value = K.meta.current_page || 0, L = K.data.map((me) => me.id), K;
|
|
72817
72818
|
} catch (K) {
|
|
72818
72819
|
throw l.value = K, console.error("Failed to fetch items (cursor):", K), K;
|
|
72819
72820
|
} finally {
|
|
72820
72821
|
a.value = !1, setTimeout(async () => {
|
|
72821
72822
|
const [K, me, Pe] = await Promise.all([
|
|
72822
|
-
D(
|
|
72823
|
-
b(
|
|
72824
|
-
C(
|
|
72823
|
+
D(L),
|
|
72824
|
+
b(L, e.value.metricIds),
|
|
72825
|
+
C(L)
|
|
72825
72826
|
]);
|
|
72826
72827
|
e.value.updateItemData(
|
|
72827
72828
|
{
|
|
@@ -72829,7 +72830,7 @@ const Tfe = {
|
|
|
72829
72830
|
metricValues: me,
|
|
72830
72831
|
permission: Pe
|
|
72831
72832
|
},
|
|
72832
|
-
|
|
72833
|
+
L
|
|
72833
72834
|
);
|
|
72834
72835
|
});
|
|
72835
72836
|
}
|
|
@@ -73055,13 +73056,13 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73055
73056
|
})
|
|
73056
73057
|
);
|
|
73057
73058
|
Fa("timezone", I);
|
|
73058
|
-
const
|
|
73059
|
+
const N = G(() => ({
|
|
73059
73060
|
autoFetch: !1,
|
|
73060
73061
|
workspaceId: o.workspaceId,
|
|
73061
73062
|
entityId: o.entityId,
|
|
73062
73063
|
metricIds: P.value,
|
|
73063
73064
|
updateItemData: y
|
|
73064
|
-
})), { fetchItems: _, getMetricList:
|
|
73065
|
+
})), { fetchItems: _, getMetricList: L, cusorMap: K, getMetricValues: me } = xfe(N), Pe = (re, Y, de) => re === 1 ? Y : de, ee = G(() => {
|
|
73065
73066
|
const re = Pe(g.totalItems, "scene", "scenes"), Y = Pe(l.value, "scene", "scenes");
|
|
73066
73067
|
return {
|
|
73067
73068
|
visible: `${l.value} ${re}`,
|
|
@@ -73265,7 +73266,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73265
73266
|
if (!(!re || !Y)) {
|
|
73266
73267
|
_e.value = !0;
|
|
73267
73268
|
try {
|
|
73268
|
-
const de = await
|
|
73269
|
+
const de = await L(re);
|
|
73269
73270
|
d.value = de.data;
|
|
73270
73271
|
} catch (de) {
|
|
73271
73272
|
console.error("Failed to initialize metric list:", de), d.value = [];
|
|
@@ -73456,7 +73457,7 @@ const Ife = `<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="
|
|
|
73456
73457
|
itemSearchBox: Vfe
|
|
73457
73458
|
}, Hfe = {
|
|
73458
73459
|
$style: Bfe
|
|
73459
|
-
}, Gfe = /* @__PURE__ */ St(kfe, [["__cssModules", Hfe]]), $fe = "0.0.1-alpha.
|
|
73460
|
+
}, Gfe = /* @__PURE__ */ St(kfe, [["__cssModules", Hfe]]), $fe = "0.0.1-alpha.21", Wfe = { key: 0 }, zfe = /* @__PURE__ */ rt({
|
|
73460
73461
|
__name: "app",
|
|
73461
73462
|
setup(e) {
|
|
73462
73463
|
const t = G(() => n.id.length === 0 || n.workspaceId.length === 0), n = so({
|