@esperanca-ui/componentes 2.14.15 → 2.14.17
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.
|
@@ -245,7 +245,7 @@ const At = (e) => String(e), bc = bt(function({
|
|
|
245
245
|
}, [P, x, i, D, R, De]), $e = je(
|
|
246
246
|
() => at.filter((L) => !L.disabled),
|
|
247
247
|
[at]
|
|
248
|
-
), Rt = $e.length > 0 && $e.every((L) => De.has(At(L.value))),
|
|
248
|
+
), Rt = $e.length > 0 && $e.every((L) => De.has(At(L.value))), ut = $e.some((L) => De.has(At(L.value)));
|
|
249
249
|
Fe(() => {
|
|
250
250
|
!x && p !== void 0 && te(p);
|
|
251
251
|
}, [x, p]), Fe(() => {
|
|
@@ -283,10 +283,10 @@ const At = (e) => String(e), bc = bt(function({
|
|
|
283
283
|
L.preventDefault(), M(!0);
|
|
284
284
|
return;
|
|
285
285
|
}
|
|
286
|
-
L.preventDefault(), ne((oe) => oe < at.length - 1 ? oe + 1 : oe),
|
|
286
|
+
L.preventDefault(), ne((oe) => oe < at.length - 1 ? oe + 1 : oe), dt(Y + 1);
|
|
287
287
|
},
|
|
288
288
|
ArrowUp: (L) => {
|
|
289
|
-
L.preventDefault(), ne((oe) => oe > 0 ? oe - 1 : oe),
|
|
289
|
+
L.preventDefault(), ne((oe) => oe > 0 ? oe - 1 : oe), dt(Y - 1);
|
|
290
290
|
},
|
|
291
291
|
Enter: (L) => {
|
|
292
292
|
S && Y >= 0 && Y < at.length ? (L.preventDefault(), kt(at[Y])) : S || (L.preventDefault(), M(!0));
|
|
@@ -298,7 +298,7 @@ const At = (e) => String(e), bc = bt(function({
|
|
|
298
298
|
}, le);
|
|
299
299
|
const it = (L) => {
|
|
300
300
|
(L.key === "Enter" || L.key === " " || L.key === "ArrowDown") && (L.preventDefault(), V || M(!0));
|
|
301
|
-
},
|
|
301
|
+
}, dt = (L) => {
|
|
302
302
|
if (I.current && L >= 0 && L < at.length) {
|
|
303
303
|
const oe = I.current.children[L];
|
|
304
304
|
oe && oe.scrollIntoView({ block: "nearest" });
|
|
@@ -461,7 +461,7 @@ const At = (e) => String(e), bc = bt(function({
|
|
|
461
461
|
onClick: (L) => {
|
|
462
462
|
L.stopPropagation(), Xe();
|
|
463
463
|
},
|
|
464
|
-
disabled: !
|
|
464
|
+
disabled: !ut,
|
|
465
465
|
children: C
|
|
466
466
|
}
|
|
467
467
|
)
|
|
@@ -2641,13 +2641,13 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2641
2641
|
scrollableAncestors: De,
|
|
2642
2642
|
scrollableAncestorRects: Le,
|
|
2643
2643
|
windowRect: me
|
|
2644
|
-
}), ft = ne ? xn(ne, F) : null, Ce = Ff(De), at = As(Ce), $e = As(Ce, [j]), Rt = xn(Je, at),
|
|
2644
|
+
}), ft = ne ? xn(ne, F) : null, Ce = Ff(De), at = As(Ce), $e = As(Ce, [j]), Rt = xn(Je, at), ut = we ? Kc(we, Je) : null, lt = q && ut ? u({
|
|
2645
2645
|
active: q,
|
|
2646
|
-
collisionRect:
|
|
2646
|
+
collisionRect: ut,
|
|
2647
2647
|
droppableRects: M,
|
|
2648
2648
|
droppableContainers: Se,
|
|
2649
2649
|
pointerCoordinates: ft
|
|
2650
|
-
}) : null, it = Uo(lt, "id"), [
|
|
2650
|
+
}) : null, it = Uo(lt, "id"), [dt, kt] = Oe(null), vt = I ? Je : xn(Je, $e), ze = Yc(vt, (i = dt == null ? void 0 : dt.rect) != null ? i : null, j), Xe = Pe(null), L = Ge(
|
|
2651
2651
|
(ct, st) => {
|
|
2652
2652
|
let {
|
|
2653
2653
|
sensor: Tt,
|
|
@@ -2670,24 +2670,24 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2670
2670
|
if (!R.get(Ye))
|
|
2671
2671
|
return;
|
|
2672
2672
|
const {
|
|
2673
|
-
onDragAbort:
|
|
2673
|
+
onDragAbort: xt
|
|
2674
2674
|
} = ve.current, It = {
|
|
2675
2675
|
id: Ye
|
|
2676
2676
|
};
|
|
2677
|
-
|
|
2677
|
+
xt == null || xt(It), N({
|
|
2678
2678
|
type: "onDragAbort",
|
|
2679
2679
|
event: It
|
|
2680
2680
|
});
|
|
2681
2681
|
},
|
|
2682
|
-
onPending(Ye,
|
|
2682
|
+
onPending(Ye, pt, xt, It) {
|
|
2683
2683
|
if (!R.get(Ye))
|
|
2684
2684
|
return;
|
|
2685
2685
|
const {
|
|
2686
2686
|
onDragPending: Jt
|
|
2687
2687
|
} = ve.current, v = {
|
|
2688
2688
|
id: Ye,
|
|
2689
|
-
constraint:
|
|
2690
|
-
initialCoordinates:
|
|
2689
|
+
constraint: pt,
|
|
2690
|
+
initialCoordinates: xt,
|
|
2691
2691
|
offset: It
|
|
2692
2692
|
};
|
|
2693
2693
|
Jt == null || Jt(v), N({
|
|
@@ -2696,19 +2696,19 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2696
2696
|
});
|
|
2697
2697
|
},
|
|
2698
2698
|
onStart(Ye) {
|
|
2699
|
-
const
|
|
2700
|
-
if (
|
|
2699
|
+
const pt = G.current;
|
|
2700
|
+
if (pt == null)
|
|
2701
2701
|
return;
|
|
2702
|
-
const
|
|
2703
|
-
if (!
|
|
2702
|
+
const xt = R.get(pt);
|
|
2703
|
+
if (!xt)
|
|
2704
2704
|
return;
|
|
2705
2705
|
const {
|
|
2706
2706
|
onDragStart: It
|
|
2707
2707
|
} = ve.current, Ut = {
|
|
2708
2708
|
activatorEvent: ke,
|
|
2709
2709
|
active: {
|
|
2710
|
-
id:
|
|
2711
|
-
data:
|
|
2710
|
+
id: pt,
|
|
2711
|
+
data: xt.data,
|
|
2712
2712
|
rect: V
|
|
2713
2713
|
}
|
|
2714
2714
|
};
|
|
@@ -2716,7 +2716,7 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2716
2716
|
It == null || It(Ut), W(Ir.Initializing), b({
|
|
2717
2717
|
type: Ot.DragStart,
|
|
2718
2718
|
initialCoordinates: Ye,
|
|
2719
|
-
active:
|
|
2719
|
+
active: pt
|
|
2720
2720
|
}), N({
|
|
2721
2721
|
type: "onDragStart",
|
|
2722
2722
|
event: Ut
|
|
@@ -2736,19 +2736,19 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2736
2736
|
function Ue(Ye) {
|
|
2737
2737
|
return async function() {
|
|
2738
2738
|
const {
|
|
2739
|
-
active:
|
|
2739
|
+
active: xt,
|
|
2740
2740
|
collisions: It,
|
|
2741
2741
|
over: Ut,
|
|
2742
2742
|
scrollAdjustedTranslate: Jt
|
|
2743
2743
|
} = de.current;
|
|
2744
2744
|
let v = null;
|
|
2745
|
-
if (
|
|
2745
|
+
if (xt && Jt) {
|
|
2746
2746
|
const {
|
|
2747
2747
|
cancelDrop: T
|
|
2748
2748
|
} = ve.current;
|
|
2749
2749
|
v = {
|
|
2750
2750
|
activatorEvent: ke,
|
|
2751
|
-
active:
|
|
2751
|
+
active: xt,
|
|
2752
2752
|
collisions: It,
|
|
2753
2753
|
delta: Jt,
|
|
2754
2754
|
over: Ut
|
|
@@ -2863,24 +2863,24 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2863
2863
|
activatorEvent: Ee,
|
|
2864
2864
|
active: q,
|
|
2865
2865
|
activeNode: Y,
|
|
2866
|
-
collisionRect:
|
|
2866
|
+
collisionRect: ut,
|
|
2867
2867
|
collisions: lt,
|
|
2868
2868
|
droppableRects: M,
|
|
2869
2869
|
draggableNodes: R,
|
|
2870
2870
|
draggingNode: le,
|
|
2871
2871
|
draggingNodeRect: we,
|
|
2872
2872
|
droppableContainers: B,
|
|
2873
|
-
over:
|
|
2873
|
+
over: dt,
|
|
2874
2874
|
scrollableAncestors: De,
|
|
2875
2875
|
scrollAdjustedTranslate: Rt
|
|
2876
2876
|
}, V.current = {
|
|
2877
2877
|
initial: we,
|
|
2878
|
-
translated:
|
|
2878
|
+
translated: ut
|
|
2879
2879
|
};
|
|
2880
|
-
}, [q, Y, lt,
|
|
2880
|
+
}, [q, Y, lt, ut, R, le, we, M, B, dt, De, Rt]), vf({
|
|
2881
2881
|
...fe,
|
|
2882
2882
|
delta: F,
|
|
2883
|
-
draggingRect:
|
|
2883
|
+
draggingRect: ut,
|
|
2884
2884
|
pointerCoordinates: ft,
|
|
2885
2885
|
scrollableAncestors: De,
|
|
2886
2886
|
scrollableAncestorRects: Le
|
|
@@ -2896,14 +2896,14 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2896
2896
|
draggableNodes: R,
|
|
2897
2897
|
droppableContainers: B,
|
|
2898
2898
|
droppableRects: M,
|
|
2899
|
-
over:
|
|
2899
|
+
over: dt,
|
|
2900
2900
|
measureDroppableContainers: D,
|
|
2901
2901
|
scrollableAncestors: De,
|
|
2902
2902
|
scrollableAncestorRects: Le,
|
|
2903
2903
|
measuringConfiguration: S,
|
|
2904
2904
|
measuringScheduled: O,
|
|
2905
2905
|
windowRect: me
|
|
2906
|
-
}), [q, Y, j, Ee, lt, te, Q, R, B, M,
|
|
2906
|
+
}), [q, Y, j, Ee, lt, te, Q, R, B, M, dt, D, De, Le, S, O, me]), Ze = je(() => ({
|
|
2907
2907
|
activatorEvent: Ee,
|
|
2908
2908
|
activators: We,
|
|
2909
2909
|
active: q,
|
|
@@ -2913,9 +2913,9 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2913
2913
|
},
|
|
2914
2914
|
dispatch: b,
|
|
2915
2915
|
draggableNodes: R,
|
|
2916
|
-
over:
|
|
2916
|
+
over: dt,
|
|
2917
2917
|
measureDroppableContainers: D
|
|
2918
|
-
}), [Ee, We, q, j, b, Ve, R,
|
|
2918
|
+
}), [Ee, We, q, j, b, Ve, R, dt, D]);
|
|
2919
2919
|
return _t.createElement(Po.Provider, {
|
|
2920
2920
|
value: E
|
|
2921
2921
|
}, _t.createElement(Qa.Provider, {
|
|
@@ -5372,10 +5372,10 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5372
5372
|
}
|
|
5373
5373
|
var $e = ae ? new Uint16Array(512) : Ce(512), Rt = ae ? new Uint16Array(32) : Ce(32);
|
|
5374
5374
|
if (!ae) {
|
|
5375
|
-
for (var
|
|
5376
|
-
$e[
|
|
5377
|
-
for (
|
|
5378
|
-
Rt[
|
|
5375
|
+
for (var ut = 0; ut < 512; ++ut)
|
|
5376
|
+
$e[ut] = 0;
|
|
5377
|
+
for (ut = 0; ut < 32; ++ut)
|
|
5378
|
+
Rt[ut] = 0;
|
|
5379
5379
|
}
|
|
5380
5380
|
(function() {
|
|
5381
5381
|
for (var v = [], T = 0; T < 32; T++)
|
|
@@ -5454,7 +5454,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5454
5454
|
var T = Z(50 + Math.floor(v.length * 1.1)), w = lt(v, T);
|
|
5455
5455
|
return T.slice(0, w);
|
|
5456
5456
|
}
|
|
5457
|
-
var
|
|
5457
|
+
var dt = ae ? new Uint16Array(32768) : Ce(32768), kt = ae ? new Uint16Array(32768) : Ce(32768), vt = ae ? new Uint16Array(128) : Ce(128), ze = 1, Xe = 1;
|
|
5458
5458
|
function L(v, T) {
|
|
5459
5459
|
var w = we(v, T) + 257;
|
|
5460
5460
|
T += 5;
|
|
@@ -5500,7 +5500,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5500
5500
|
mt[pe] = 0;
|
|
5501
5501
|
for (pe = _; pe < 30; ++pe)
|
|
5502
5502
|
wt[pe] = 0;
|
|
5503
|
-
return ze = at(mt,
|
|
5503
|
+
return ze = at(mt, dt, 286), Xe = at(wt, kt, 30), T;
|
|
5504
5504
|
}
|
|
5505
5505
|
function oe(v, T) {
|
|
5506
5506
|
if (v[0] == 3 && !(v[1] & 3))
|
|
@@ -5518,7 +5518,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5518
5518
|
}
|
|
5519
5519
|
for (; ; ) {
|
|
5520
5520
|
!T && X < A + 32767 && (y = ft(y, A + 32767), X = y.length);
|
|
5521
|
-
var K = xe(v, w, ee), ie = _ >>> 1 == 1 ? $e[K] :
|
|
5521
|
+
var K = xe(v, w, ee), ie = _ >>> 1 == 1 ? $e[K] : dt[K];
|
|
5522
5522
|
if (w += ie & 15, ie >>>= 4, !(ie >>> 8 & 255))
|
|
5523
5523
|
y[A++] = ie;
|
|
5524
5524
|
else {
|
|
@@ -5606,7 +5606,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5606
5606
|
throw new Error("Unsupported ZIP Compression method " + X);
|
|
5607
5607
|
}
|
|
5608
5608
|
var mt = !1;
|
|
5609
|
-
A & 8 && (H = v.read_shift(4), H == 134695760 && (H = v.read_shift(4), mt = !0), z = v.read_shift(4), K = v.read_shift(4)), z != T && Me(mt, "Bad compressed size: " + T + " != " + z), K != w && Me(mt, "Bad uncompressed size: " + w + " != " + K),
|
|
5609
|
+
A & 8 && (H = v.read_shift(4), H == 134695760 && (H = v.read_shift(4), mt = !0), z = v.read_shift(4), K = v.read_shift(4)), z != T && Me(mt, "Bad compressed size: " + T + " != " + z), K != w && Me(mt, "Bad uncompressed size: " + w + " != " + K), xt(_, ye, Be, { unsafe: !0, mt: ee });
|
|
5610
5610
|
}
|
|
5611
5611
|
function ct(v, T) {
|
|
5612
5612
|
var w = T || {}, _ = [], y = [], A = Z(1), X = w.compression ? 8 : 0, ee = 0, H = 0, z = 0, K = 0, ie = 0, pe = v.FullPaths[0], ye = pe, ce = v.FileIndex[0], _e = [], Be = 0;
|
|
@@ -5721,7 +5721,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5721
5721
|
default:
|
|
5722
5722
|
throw new Error("Unsupported Content-Transfer-Encoding " + y);
|
|
5723
5723
|
}
|
|
5724
|
-
var K =
|
|
5724
|
+
var K = xt(v, _.slice(w.length), X, { unsafe: !0 });
|
|
5725
5725
|
A && (K.ctype = A);
|
|
5726
5726
|
}
|
|
5727
5727
|
function Ue(v, T) {
|
|
@@ -5773,11 +5773,11 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5773
5773
|
`), y.join(`\r
|
|
5774
5774
|
`);
|
|
5775
5775
|
}
|
|
5776
|
-
function
|
|
5776
|
+
function pt(v) {
|
|
5777
5777
|
var T = {};
|
|
5778
5778
|
return C(T, v), T;
|
|
5779
5779
|
}
|
|
5780
|
-
function
|
|
5780
|
+
function xt(v, T, w, _) {
|
|
5781
5781
|
var y = _ && _.unsafe;
|
|
5782
5782
|
y || C(v);
|
|
5783
5783
|
var A = !y && ot.find(v, T);
|
|
@@ -5811,8 +5811,8 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5811
5811
|
F(v, !0);
|
|
5812
5812
|
}
|
|
5813
5813
|
return t.find = P, t.read = J, t.parse = f, t.write = Ve, t.writeFile = Re, t.utils = {
|
|
5814
|
-
cfb_new:
|
|
5815
|
-
cfb_add:
|
|
5814
|
+
cfb_new: pt,
|
|
5815
|
+
cfb_add: xt,
|
|
5816
5816
|
cfb_del: It,
|
|
5817
5817
|
cfb_mov: Ut,
|
|
5818
5818
|
cfb_gc: Jt,
|
|
@@ -6590,7 +6590,7 @@ function lr(e) {
|
|
|
6590
6590
|
function Ft(e, t) {
|
|
6591
6591
|
return typeof t > "u" || typeof t == "number" ? Ft(e.s, e.e) : (typeof e != "string" && (e = nt(e)), typeof t != "string" && (t = nt(t)), e == t ? e : e + ":" + t);
|
|
6592
6592
|
}
|
|
6593
|
-
function
|
|
6593
|
+
function ht(e) {
|
|
6594
6594
|
var t = { s: { c: 0, r: 0 }, e: { c: 0, r: 0 } }, r = 0, n = 0, a = 0, i = e.length;
|
|
6595
6595
|
for (r = 0; n < i && !((a = e.charCodeAt(n) - 64) < 1 || a > 26); ++n)
|
|
6596
6596
|
r = 26 * r + a;
|
|
@@ -6637,7 +6637,7 @@ function P0(e, t, r) {
|
|
|
6637
6637
|
}
|
|
6638
6638
|
var l = { s: { c: 1e7, r: 1e7 }, e: { c: 0, r: 0 } };
|
|
6639
6639
|
if (i["!ref"]) {
|
|
6640
|
-
var f =
|
|
6640
|
+
var f = ht(i["!ref"]);
|
|
6641
6641
|
l.s.c = f.s.c, l.s.r = f.s.r, l.e.c = Math.max(l.e.c, f.e.c), l.e.r = Math.max(l.e.r, f.e.r), s == -1 && (l.e.r = s = f.e.r + 1);
|
|
6642
6642
|
}
|
|
6643
6643
|
for (var u = 0; u != t.length; ++u)
|
|
@@ -8366,7 +8366,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
8366
8366
|
}
|
|
8367
8367
|
}
|
|
8368
8368
|
}
|
|
8369
|
-
var E =
|
|
8369
|
+
var E = ht(o["!ref"]), k = [], W = [], J = [];
|
|
8370
8370
|
for (d = 0; d <= E.e.c - E.s.c; ++d) {
|
|
8371
8371
|
var C = "", R = "", F = 0, B = [];
|
|
8372
8372
|
for (x = 0; x < p.length; ++x)
|
|
@@ -8722,7 +8722,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
8722
8722
|
});
|
|
8723
8723
|
}
|
|
8724
8724
|
function u(h, p) {
|
|
8725
|
-
var g = ["ID;PWXL;N;E"], d = [], x =
|
|
8725
|
+
var g = ["ID;PWXL;N;E"], d = [], x = ht(h["!ref"]), b, N = Array.isArray(h), E = `\r
|
|
8726
8726
|
`;
|
|
8727
8727
|
g.push("P;PGeneral"), g.push("F;P0;DG0G8;M255"), h["!cols"] && l(g, h["!cols"]), h["!rows"] && f(g, h["!rows"]), g.push("B;Y" + (x.e.r - x.s.r + 1) + ";X" + (x.e.c - x.s.c + 1) + ";D" + [x.s.c, x.s.r, x.e.c, x.e.r].join(" "));
|
|
8728
8728
|
for (var k = x.s.r; k <= x.e.r; ++k)
|
|
@@ -8798,7 +8798,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
8798
8798
|
c.push(l + "," + f), c.push(l == 1 ? '"' + u.replace(/"/g, '""') + '"' : u);
|
|
8799
8799
|
};
|
|
8800
8800
|
return function(c) {
|
|
8801
|
-
var l = [], f =
|
|
8801
|
+
var l = [], f = ht(c["!ref"]), u, h = Array.isArray(c);
|
|
8802
8802
|
i(l, "TABLE", 0, 1, "sheetjs"), i(l, "VECTORS", 0, f.e.r - f.s.r + 1, ""), i(l, "TUPLES", 0, f.e.c - f.s.c + 1, ""), i(l, "DATA", 0, 0, "");
|
|
8803
8803
|
for (var p = f.s.r; p <= f.e.r; ++p) {
|
|
8804
8804
|
s(l, -1, 0, "BOT");
|
|
@@ -9071,7 +9071,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
9071
9071
|
return rn(o(f, u), u);
|
|
9072
9072
|
}
|
|
9073
9073
|
function l(f) {
|
|
9074
|
-
for (var u = [], h =
|
|
9074
|
+
for (var u = [], h = ht(f["!ref"]), p, g = Array.isArray(f), d = h.s.r; d <= h.e.r; ++d) {
|
|
9075
9075
|
for (var x = [], b = h.s.c; b <= h.e.c; ++b) {
|
|
9076
9076
|
var N = nt({ r: d, c: b });
|
|
9077
9077
|
if (p = g ? (f[d] || [])[b] : f[N], !p || p.v == null) {
|
|
@@ -9190,7 +9190,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
9190
9190
|
var D = M || {};
|
|
9191
9191
|
if (+D.codepage >= 0 && Jn(+D.codepage), D.type == "string")
|
|
9192
9192
|
throw new Error("Cannot write WK1 to JS string");
|
|
9193
|
-
var O = er(), Y =
|
|
9193
|
+
var O = er(), Y = ht(S["!ref"]), ne = Array.isArray(S), fe = [];
|
|
9194
9194
|
he(O, 0, i(1030)), he(O, 6, c(Y));
|
|
9195
9195
|
for (var ae = Math.min(Y.e.r, 8191), j = Y.s.r; j <= ae; ++j)
|
|
9196
9196
|
for (var te = Xt(j), de = Y.s.c; de <= Y.e.c; ++de) {
|
|
@@ -9218,7 +9218,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
9218
9218
|
for (Y = 0; Y < S.SheetNames.length; ++Y) {
|
|
9219
9219
|
var ae = S.Sheets[S.SheetNames[Y]];
|
|
9220
9220
|
if (!(!ae || !ae["!ref"])) {
|
|
9221
|
-
for (var j =
|
|
9221
|
+
for (var j = ht(ae["!ref"]), te = Array.isArray(ae), de = [], Ie = Math.min(j.e.r, 8191), Q = j.s.r; Q <= Ie; ++Q)
|
|
9222
9222
|
for (var le = Xt(Q), we = j.s.c; we <= j.e.c; ++we) {
|
|
9223
9223
|
Q === j.s.r && (de[we] = Yt(we));
|
|
9224
9224
|
var I = de[we] + le, xe = te ? (ae[Q] || [])[we] : ae[I];
|
|
@@ -10013,7 +10013,7 @@ var Ld = /* @__PURE__ */ function() {
|
|
|
10013
10013
|
return rn(e(a, i), i);
|
|
10014
10014
|
}
|
|
10015
10015
|
function n(a) {
|
|
10016
|
-
for (var i = ["{\\rtf1\\ansi"], s =
|
|
10016
|
+
for (var i = ["{\\rtf1\\ansi"], s = ht(a["!ref"]), o, c = Array.isArray(a), l = s.s.r; l <= s.e.r; ++l) {
|
|
10017
10017
|
i.push("\\trowd\\trautofit1");
|
|
10018
10018
|
for (var f = s.s.c; f <= s.e.c; ++f)
|
|
10019
10019
|
i.push("\\cellx" + (f + 1));
|
|
@@ -12762,7 +12762,7 @@ function Xr(e, t, r) {
|
|
|
12762
12762
|
}
|
|
12763
12763
|
function qp(e, t, r) {
|
|
12764
12764
|
if (e && e["!ref"]) {
|
|
12765
|
-
var n =
|
|
12765
|
+
var n = ht(e["!ref"]);
|
|
12766
12766
|
if (n.e.c < n.s.c || n.e.r < n.s.r)
|
|
12767
12767
|
throw new Error("Bad range (" + r + "): " + e["!ref"]);
|
|
12768
12768
|
}
|
|
@@ -12895,7 +12895,7 @@ function ox(e, t, r, n) {
|
|
|
12895
12895
|
return e.l && r["!links"].push([t, e.l]), e.D && (c.cm = 1), ue("c", o, c);
|
|
12896
12896
|
}
|
|
12897
12897
|
function lx(e, t, r, n) {
|
|
12898
|
-
var a = [], i = [], s =
|
|
12898
|
+
var a = [], i = [], s = ht(e["!ref"]), o = "", c, l = "", f = [], u = 0, h = 0, p = e["!rows"], g = Array.isArray(e), d = { r: l }, x, b = -1;
|
|
12899
12899
|
for (h = s.s.c; h <= s.e.c; ++h)
|
|
12900
12900
|
f[h] = Yt(h);
|
|
12901
12901
|
for (u = s.s.r; u <= s.e.r; ++u) {
|
|
@@ -12917,7 +12917,7 @@ function El(e, t, r, n) {
|
|
|
12917
12917
|
"xmlns:r": Pt.r
|
|
12918
12918
|
})], i = r.SheetNames[e], s = 0, o = "", c = r.Sheets[i];
|
|
12919
12919
|
c == null && (c = {});
|
|
12920
|
-
var l = c["!ref"] || "A1", f =
|
|
12920
|
+
var l = c["!ref"] || "A1", f = ht(l);
|
|
12921
12921
|
if (f.e.c > 16383 || f.e.r > 1048575) {
|
|
12922
12922
|
if (t.WTF)
|
|
12923
12923
|
throw new Error("Range " + l + " exceeds format limit A1:XFD1048576");
|
|
@@ -13282,7 +13282,7 @@ function dg(e, t, r, n, a, i, s) {
|
|
|
13282
13282
|
return s ? re(e, 12, _x(t, c)) : re(e, 1, mx(t, c)), !0;
|
|
13283
13283
|
}
|
|
13284
13284
|
function pg(e, t, r, n) {
|
|
13285
|
-
var a =
|
|
13285
|
+
var a = ht(t["!ref"] || "A1"), i, s = "", o = [];
|
|
13286
13286
|
re(
|
|
13287
13287
|
e,
|
|
13288
13288
|
145
|
|
@@ -13337,7 +13337,7 @@ function vg(e, t) {
|
|
|
13337
13337
|
e,
|
|
13338
13338
|
648
|
|
13339
13339
|
/* BrtBeginCellIgnoreECs */
|
|
13340
|
-
), re(e, 649, cg(
|
|
13340
|
+
), re(e, 649, cg(ht(t["!ref"]))), re(
|
|
13341
13341
|
e,
|
|
13342
13342
|
650
|
|
13343
13343
|
/* BrtEndCellIgnoreECs */
|
|
@@ -13370,7 +13370,7 @@ function _g(e, t, r, n) {
|
|
|
13370
13370
|
break;
|
|
13371
13371
|
}
|
|
13372
13372
|
}
|
|
13373
|
-
c == s.length && s.push({ Name: "_xlnm._FilterDatabase", Sheet: n, Ref: "'" + r.SheetNames[n] + "'!" + i }), re(e, 161, Cn(
|
|
13373
|
+
c == s.length && s.push({ Name: "_xlnm._FilterDatabase", Sheet: n, Ref: "'" + r.SheetNames[n] + "'!" + i }), re(e, 161, Cn(ht(i))), re(
|
|
13374
13374
|
e,
|
|
13375
13375
|
162
|
|
13376
13376
|
/* BrtEndAFilter */
|
|
@@ -13401,7 +13401,7 @@ function yg(e, t, r, n) {
|
|
|
13401
13401
|
r && r.Workbook && (o = r.Workbook.Sheets[e].CodeName || o);
|
|
13402
13402
|
} catch {
|
|
13403
13403
|
}
|
|
13404
|
-
var c =
|
|
13404
|
+
var c = ht(s["!ref"] || "A1");
|
|
13405
13405
|
if (c.e.c > 16383 || c.e.r > 1048575) {
|
|
13406
13406
|
if (t.WTF)
|
|
13407
13407
|
throw new Error("Range " + (s["!ref"] || "A1") + " exceeds format limit A1:XFD1048576");
|
|
@@ -13742,7 +13742,7 @@ function ev(e, t) {
|
|
|
13742
13742
|
function tv(e, t, r, n) {
|
|
13743
13743
|
if (!e["!ref"])
|
|
13744
13744
|
return "";
|
|
13745
|
-
var a =
|
|
13745
|
+
var a = ht(e["!ref"]), i = e["!merges"] || [], s = 0, o = [];
|
|
13746
13746
|
e["!cols"] && e["!cols"].forEach(function(x, b) {
|
|
13747
13747
|
is(x);
|
|
13748
13748
|
var N = !!x.width, E = oi(b, x), k = { "ss:Index": b + 1 };
|
|
@@ -17957,7 +17957,7 @@ function fv(e, t, r, n) {
|
|
|
17957
17957
|
he(e, 1, da(null, r, n));
|
|
17958
17958
|
}
|
|
17959
17959
|
function uv(e, t, r, n) {
|
|
17960
|
-
var a = Array.isArray(t), i =
|
|
17960
|
+
var a = Array.isArray(t), i = ht(t["!ref"] || "A1"), s, o = "", c = [];
|
|
17961
17961
|
if (i.e.c > 255 || i.e.r > 16383) {
|
|
17962
17962
|
if (n.WTF)
|
|
17963
17963
|
throw new Error("Range " + (t["!ref"] || "A1") + " exceeds format limit A1:IV16384");
|
|
@@ -18001,7 +18001,7 @@ function pv(e, t, r) {
|
|
|
18001
18001
|
}
|
|
18002
18002
|
function xv(e, t) {
|
|
18003
18003
|
var r = Z(19);
|
|
18004
|
-
r.write_shift(4, 2151), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 1), r.write_shift(4, 0), he(e, 2151, r), r = Z(39), r.write_shift(4, 2152), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 0), r.write_shift(4, 0), r.write_shift(2, 1), r.write_shift(4, 4), r.write_shift(2, 0), tl(
|
|
18004
|
+
r.write_shift(4, 2151), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 1), r.write_shift(4, 0), he(e, 2151, r), r = Z(39), r.write_shift(4, 2152), r.write_shift(4, 0), r.write_shift(4, 0), r.write_shift(2, 3), r.write_shift(1, 0), r.write_shift(4, 0), r.write_shift(2, 1), r.write_shift(4, 4), r.write_shift(2, 0), tl(ht(t["!ref"] || "A1"), r), r.write_shift(4, 4), he(e, 2152, r);
|
|
18005
18005
|
}
|
|
18006
18006
|
function gv(e, t) {
|
|
18007
18007
|
for (var r = 0; r < 16; ++r)
|
|
@@ -18057,7 +18057,7 @@ function wv(e, t, r, n, a) {
|
|
|
18057
18057
|
}
|
|
18058
18058
|
}
|
|
18059
18059
|
function _v(e, t, r) {
|
|
18060
|
-
var n = er(), a = r.SheetNames[e], i = r.Sheets[a] || {}, s = (r || {}).Workbook || {}, o = (s.Sheets || [])[e] || {}, c = Array.isArray(i), l = t.biff == 8, f, u = "", h = [], p =
|
|
18060
|
+
var n = er(), a = r.SheetNames[e], i = r.Sheets[a] || {}, s = (r || {}).Workbook || {}, o = (s.Sheets || [])[e] || {}, c = Array.isArray(i), l = t.biff == 8, f, u = "", h = [], p = ht(i["!ref"] || "A1"), g = l ? 65536 : 16384;
|
|
18061
18061
|
if (p.e.c > 255 || p.e.r >= g) {
|
|
18062
18062
|
if (t.WTF)
|
|
18063
18063
|
throw new Error("Range " + (i["!ref"] || "A1") + " exceeds format limit A1:IV16384");
|
|
@@ -19266,10 +19266,10 @@ function za(e, t) {
|
|
|
19266
19266
|
var r = { t: "n", v: 0 }, n = 0, a = 1, i = [], s = 0, o = "", c = { s: { r: 0, c: 0 }, e: { r: 0, c: 0 } }, l = t || {}, f = l.range != null ? l.range : e["!ref"];
|
|
19267
19267
|
switch (l.header === 1 ? n = 1 : l.header === "A" ? n = 2 : Array.isArray(l.header) ? n = 3 : l.header == null && (n = 0), typeof f) {
|
|
19268
19268
|
case "string":
|
|
19269
|
-
c =
|
|
19269
|
+
c = ht(f);
|
|
19270
19270
|
break;
|
|
19271
19271
|
case "number":
|
|
19272
|
-
c =
|
|
19272
|
+
c = ht(e["!ref"]), c.s.r = f;
|
|
19273
19273
|
break;
|
|
19274
19274
|
default:
|
|
19275
19275
|
c = f;
|
|
@@ -19333,7 +19333,7 @@ function us(e, t) {
|
|
|
19333
19333
|
var r = [], n = t ?? {};
|
|
19334
19334
|
if (e == null || e["!ref"] == null)
|
|
19335
19335
|
return "";
|
|
19336
|
-
var a =
|
|
19336
|
+
var a = ht(e["!ref"]), i = n.FS !== void 0 ? n.FS : ",", s = i.charCodeAt(0), o = n.RS !== void 0 ? n.RS : `
|
|
19337
19337
|
`, c = o.charCodeAt(0), l = new RegExp((i == "|" ? "\\|" : i) + "+$"), f = "", u = [];
|
|
19338
19338
|
n.dense = Array.isArray(e);
|
|
19339
19339
|
for (var h = n.skipHidden && e["!cols"] || [], p = n.skipHidden && e["!rows"] || [], g = a.s.c; g <= a.e.c; ++g)
|
|
@@ -19352,7 +19352,7 @@ function Kv(e) {
|
|
|
19352
19352
|
var t = "", r, n = "";
|
|
19353
19353
|
if (e == null || e["!ref"] == null)
|
|
19354
19354
|
return [];
|
|
19355
|
-
var a =
|
|
19355
|
+
var a = ht(e["!ref"]), i = "", s = [], o, c = [], l = Array.isArray(e);
|
|
19356
19356
|
for (o = a.s.c; o <= a.e.c; ++o)
|
|
19357
19357
|
s[o] = Yt(o);
|
|
19358
19358
|
for (var f = a.s.r; f <= a.e.r; ++f)
|
|
@@ -19395,7 +19395,7 @@ function Ll(e, t, r) {
|
|
|
19395
19395
|
}
|
|
19396
19396
|
var l, f = { s: { c: 0, r: 0 }, e: { c: o, r: s + t.length - 1 + a } };
|
|
19397
19397
|
if (i["!ref"]) {
|
|
19398
|
-
var u =
|
|
19398
|
+
var u = ht(i["!ref"]);
|
|
19399
19399
|
f.e.c = Math.max(f.e.c, u.e.c), f.e.r = Math.max(f.e.r, u.e.r), s == -1 && (s = u.e.r + 1, f.e.r = s + t.length - 1 + a);
|
|
19400
19400
|
} else
|
|
19401
19401
|
s == -1 && (s = 0, f.e.r = t.length - 1 + a);
|
|
@@ -19486,7 +19486,7 @@ function nm(e, t, r) {
|
|
|
19486
19486
|
e.c || (e.c = []), e.c.push({ t, a: r || "SheetJS" });
|
|
19487
19487
|
}
|
|
19488
19488
|
function am(e, t, r, n) {
|
|
19489
|
-
for (var a = typeof t != "string" ? t :
|
|
19489
|
+
for (var a = typeof t != "string" ? t : ht(t), i = typeof t == "string" ? t : Ft(t), s = a.s.r; s <= a.e.r; ++s)
|
|
19490
19490
|
for (var o = a.s.c; o <= a.e.c; ++o) {
|
|
19491
19491
|
var c = ta(e, s, o);
|
|
19492
19492
|
c.t = "n", c.F = i, delete c.v, s == a.s.r && o == a.s.c && (c.f = r, n && (c.D = !0));
|
|
@@ -19952,7 +19952,7 @@ function v2({
|
|
|
19952
19952
|
}, [d, q]), Ce = (L) => {
|
|
19953
19953
|
var oe;
|
|
19954
19954
|
(oe = L.onClick) == null || oe.call(L), u == null || u(L), te && b && Je();
|
|
19955
|
-
}, at = k ?? (N ? /* @__PURE__ */ m("img", { src: N, alt: E, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light", Rt = typeof P == "function",
|
|
19955
|
+
}, at = k ?? (N ? /* @__PURE__ */ m("img", { src: N, alt: E, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light", Rt = typeof P == "function", ut = j;
|
|
19956
19956
|
Fe(() => {
|
|
19957
19957
|
!j && S && M(!1);
|
|
19958
19958
|
}, [S, j]), Fe(() => {
|
|
@@ -19968,7 +19968,7 @@ function v2({
|
|
|
19968
19968
|
return "";
|
|
19969
19969
|
const oe = L.trim().split(" ");
|
|
19970
19970
|
return oe.length >= 2 ? `${oe[0][0]}${oe[1][0]}`.toUpperCase() : oe[0].substring(0, 2).toUpperCase();
|
|
19971
|
-
},
|
|
19971
|
+
}, dt = Ge((L, oe) => L.id ?? L.path ?? oe, []), kt = Ge((L) => l ? l(L) : c ? c === L.path : !1, [c, l]), vt = Ge((L) => {
|
|
19972
19972
|
const oe = L.children ?? [];
|
|
19973
19973
|
return oe.length === 0 ? !1 : oe.some((We) => kt(We) || vt(We));
|
|
19974
19974
|
}, [kt]), ze = Ge((L, oe) => {
|
|
@@ -19978,7 +19978,7 @@ function v2({
|
|
|
19978
19978
|
[oe]: !Me[oe]
|
|
19979
19979
|
}));
|
|
19980
19980
|
}, [u]), Xe = Ge((L, oe, We = 0) => L.map((Me, Ze) => {
|
|
19981
|
-
const Kt =
|
|
19981
|
+
const Kt = dt(Me, `${oe}-${Ze}`), ct = kt(Me), st = vt(Me), Tt = ct || st, ge = Me.children ?? [], Ne = ge.length > 0, ke = Ne && me && (st || !!D[Kt] || !j && Y === Kt), be = Me.iconName ? De[Me.iconName] : null, Ue = Me.icon ?? (be ? /* @__PURE__ */ m(be, {}) : null), Ye = /* @__PURE__ */ U(qr, { children: [
|
|
19982
19982
|
Ue && /* @__PURE__ */ U("span", { className: Ae("sd-icon", me ? "sd-icon-left" : "sd-icon-center"), children: [
|
|
19983
19983
|
Ue,
|
|
19984
19984
|
!me && Me.badge && /* @__PURE__ */ m("span", { className: "sd-badge-dot" })
|
|
@@ -19997,12 +19997,12 @@ function v2({
|
|
|
19997
19997
|
) : null
|
|
19998
19998
|
] })
|
|
19999
19999
|
] })
|
|
20000
|
-
] }),
|
|
20000
|
+
] }), pt = Ae(
|
|
20001
20001
|
"sd-link",
|
|
20002
20002
|
Tt ? "sd-link-active" : "sd-link-inactive",
|
|
20003
20003
|
Ne && "sd-link-parent",
|
|
20004
20004
|
We > 0 && "sd-link-child"
|
|
20005
|
-
),
|
|
20005
|
+
), xt = Ae(
|
|
20006
20006
|
"sd-link-wrapper",
|
|
20007
20007
|
Ne && "sd-link-wrapper-parent",
|
|
20008
20008
|
ke && "sd-link-wrapper-open",
|
|
@@ -20010,7 +20010,7 @@ function v2({
|
|
|
20010
20010
|
), It = {
|
|
20011
20011
|
"--sd-link-depth": We
|
|
20012
20012
|
}, Ut = {
|
|
20013
|
-
className:
|
|
20013
|
+
className: pt,
|
|
20014
20014
|
onClick: () => Ce(Me),
|
|
20015
20015
|
children: Ye,
|
|
20016
20016
|
title: I ? Me.label : void 0
|
|
@@ -20018,7 +20018,7 @@ function v2({
|
|
|
20018
20018
|
return /* @__PURE__ */ U(
|
|
20019
20019
|
"li",
|
|
20020
20020
|
{
|
|
20021
|
-
className:
|
|
20021
|
+
className: xt,
|
|
20022
20022
|
role: "none",
|
|
20023
20023
|
style: It,
|
|
20024
20024
|
onMouseEnter: Ne && !j ? () => ne(Kt) : void 0,
|
|
@@ -20028,7 +20028,7 @@ function v2({
|
|
|
20028
20028
|
"button",
|
|
20029
20029
|
{
|
|
20030
20030
|
type: "button",
|
|
20031
|
-
className:
|
|
20031
|
+
className: pt,
|
|
20032
20032
|
onClick: () => ze(Me, Kt),
|
|
20033
20033
|
title: I ? Me.label : void 0,
|
|
20034
20034
|
role: "menuitem",
|
|
@@ -20052,7 +20052,7 @@ function v2({
|
|
|
20052
20052
|
kt,
|
|
20053
20053
|
j,
|
|
20054
20054
|
f,
|
|
20055
|
-
|
|
20055
|
+
dt,
|
|
20056
20056
|
De,
|
|
20057
20057
|
me
|
|
20058
20058
|
]);
|
|
@@ -20067,7 +20067,7 @@ function v2({
|
|
|
20067
20067
|
"data-sd-theme": B,
|
|
20068
20068
|
"data-sd-mode": j ? "mobile" : "desktop",
|
|
20069
20069
|
children: [
|
|
20070
|
-
|
|
20070
|
+
ut && /* @__PURE__ */ m(
|
|
20071
20071
|
"button",
|
|
20072
20072
|
{
|
|
20073
20073
|
type: "button",
|
|
@@ -20874,7 +20874,7 @@ const ym = (e, t, r) => Math.min(Math.max(e, t), r), Sm = bt(function({
|
|
|
20874
20874
|
function({ className: t, ...r }, n) {
|
|
20875
20875
|
return /* @__PURE__ */ m("div", { ref: n, className: Ae("esp-card-footer", t), ...r });
|
|
20876
20876
|
}
|
|
20877
|
-
),
|
|
20877
|
+
), gt = Object.assign(Sm, {
|
|
20878
20878
|
Header: Am,
|
|
20879
20879
|
Title: bm,
|
|
20880
20880
|
Description: Nm,
|
|
@@ -20895,13 +20895,13 @@ const A2 = bt(function({
|
|
|
20895
20895
|
...l
|
|
20896
20896
|
}, f) {
|
|
20897
20897
|
return /* @__PURE__ */ m(
|
|
20898
|
-
|
|
20898
|
+
gt,
|
|
20899
20899
|
{
|
|
20900
20900
|
ref: f,
|
|
20901
20901
|
variant: s,
|
|
20902
20902
|
className: Ae("esp-metric-card", `esp-metric-card-tone-${i}`, o),
|
|
20903
20903
|
...l,
|
|
20904
|
-
children: /* @__PURE__ */ U(
|
|
20904
|
+
children: /* @__PURE__ */ U(gt.Body, { className: "esp-metric-card-body", children: [
|
|
20905
20905
|
t ? /* @__PURE__ */ m("div", { className: "esp-metric-card-icon", "aria-hidden": "true", children: t }) : null,
|
|
20906
20906
|
/* @__PURE__ */ m("div", { className: "esp-metric-card-value", children: r }),
|
|
20907
20907
|
/* @__PURE__ */ m("div", { className: "esp-metric-card-title", children: n }),
|
|
@@ -21185,15 +21185,15 @@ const Aa = (e, t, r) => Math.min(Math.max(e, t), r), ba = (e) => typeof e == "nu
|
|
|
21185
21185
|
ve ? /* @__PURE__ */ m("div", { className: "esp-chart-x-axis-slot", children: ve }) : null,
|
|
21186
21186
|
h ? /* @__PURE__ */ m("span", { className: "esp-chart-x-title", "aria-hidden": "true", children: h }) : null
|
|
21187
21187
|
] }) : Ee;
|
|
21188
|
-
return /* @__PURE__ */ U(
|
|
21189
|
-
t || r || n ? /* @__PURE__ */ U(
|
|
21188
|
+
return /* @__PURE__ */ U(gt, { ref: q, className: Ae("esp-chart", F), style: G, ...V, children: [
|
|
21189
|
+
t || r || n ? /* @__PURE__ */ U(gt.Header, { className: "esp-chart-header", children: [
|
|
21190
21190
|
/* @__PURE__ */ U("div", { className: "esp-chart-header-copy", children: [
|
|
21191
|
-
t ? /* @__PURE__ */ m(
|
|
21192
|
-
r ? /* @__PURE__ */ m(
|
|
21191
|
+
t ? /* @__PURE__ */ m(gt.Title, { children: t }) : null,
|
|
21192
|
+
r ? /* @__PURE__ */ m(gt.Description, { children: r }) : null
|
|
21193
21193
|
] }),
|
|
21194
21194
|
n ? /* @__PURE__ */ m("div", { className: "esp-chart-header-actions", children: n }) : null
|
|
21195
21195
|
] }) : null,
|
|
21196
|
-
/* @__PURE__ */ m(
|
|
21196
|
+
/* @__PURE__ */ m(gt.Body, { className: "esp-chart-body", children: o ? /* @__PURE__ */ m("div", { className: "esp-chart-empty", role: "status", children: c }) : Te && (i === "left" || i === "right") ? /* @__PURE__ */ U(
|
|
21197
21197
|
"div",
|
|
21198
21198
|
{
|
|
21199
21199
|
className: Ae(
|
|
@@ -21211,7 +21211,7 @@ const Aa = (e, t, r) => Math.min(Math.max(e, t), r), ba = (e) => typeof e == "nu
|
|
|
21211
21211
|
Ve,
|
|
21212
21212
|
i === "bottom" ? Te : null
|
|
21213
21213
|
] }) }),
|
|
21214
|
-
s ? /* @__PURE__ */ m(
|
|
21214
|
+
s ? /* @__PURE__ */ m(gt.Footer, { className: "esp-chart-footer", children: s }) : null
|
|
21215
21215
|
] });
|
|
21216
21216
|
}), km = {
|
|
21217
21217
|
primary: "var(--esp-color-primary)",
|
|
@@ -21555,17 +21555,17 @@ const Um = 760, $m = bt(function({
|
|
|
21555
21555
|
right: ft,
|
|
21556
21556
|
bottom: 18,
|
|
21557
21557
|
left: ft
|
|
21558
|
-
}, at = te - Ce.left - Ce.right, $e = s - Ce.top - Ce.bottom, Rt = Gl(g, Je),
|
|
21558
|
+
}, at = te - Ce.left - Ce.right, $e = s - Ce.top - Ce.bottom, Rt = Gl(g, Je), ut = s + (g && t.length > 0 ? Rt + 8 : 0), lt = Om(t, r);
|
|
21559
21559
|
Te != null ? lt.min = Te : se && (lt.min = 0), Ee != null && (lt.max = Ee), lt.min >= lt.max && (lt.max = lt.min + 1);
|
|
21560
|
-
const it = Vl(lt.min, lt.max, G),
|
|
21561
|
-
|
|
21560
|
+
const it = Vl(lt.min, lt.max, G), dt = Te ?? (se ? 0 : void 0);
|
|
21561
|
+
dt != null && it.min < dt && (it.min = dt, it.ticks = it.ticks.filter((ge) => ge >= dt)), Ee != null && it.max > Ee && (it.max = Ee, it.ticks = it.ticks.filter((ge) => ge <= Ee));
|
|
21562
21562
|
const kt = p || d ? it.ticks : [], vt = t.map((ge, Ne) => Lm(Ne, t.length, Ce.left, at)), Xe = Ie.showAllXLabels ? 1 : Xl(t.length), L = r.map((ge, Ne) => {
|
|
21563
21563
|
const ke = Wl(ge, Ne), be = t.map((Ue, Ye) => {
|
|
21564
|
-
const
|
|
21564
|
+
const pt = _n(Ue, ge.key);
|
|
21565
21565
|
return {
|
|
21566
21566
|
x: vt[Ye],
|
|
21567
|
-
y: Lr(
|
|
21568
|
-
value:
|
|
21567
|
+
y: Lr(pt, it.min, it.max, Ce.top, $e),
|
|
21568
|
+
value: pt
|
|
21569
21569
|
};
|
|
21570
21570
|
});
|
|
21571
21571
|
return {
|
|
@@ -21582,7 +21582,7 @@ const Um = 760, $m = bt(function({
|
|
|
21582
21582
|
})), ke = Math.min(...L.map((be) => be.points[ne].y));
|
|
21583
21583
|
return {
|
|
21584
21584
|
xPercent: vt[ne] / te * 100,
|
|
21585
|
-
yPercent: ke /
|
|
21585
|
+
yPercent: ke / ut * 100,
|
|
21586
21586
|
label: ge,
|
|
21587
21587
|
items: Ne
|
|
21588
21588
|
};
|
|
@@ -21607,7 +21607,7 @@ const Um = 760, $m = bt(function({
|
|
|
21607
21607
|
) : void 0, Ze = kt.map((ge) => Hl(ge, Ve)), Kt = d ? kt.map((ge, Ne) => ({
|
|
21608
21608
|
key: String(ge),
|
|
21609
21609
|
label: Ze[Ne],
|
|
21610
|
-
topPercent: Lr(ge, it.min, it.max, Ce.top, $e) /
|
|
21610
|
+
topPercent: Lr(ge, it.min, it.max, Ce.top, $e) / ut * 100
|
|
21611
21611
|
})) : void 0, ct = N ?? zl(Ze), st = g ? t.map((ge, Ne) => {
|
|
21612
21612
|
if (Ne % Xe !== 0)
|
|
21613
21613
|
return null;
|
|
@@ -21626,7 +21626,7 @@ const Um = 760, $m = bt(function({
|
|
|
21626
21626
|
})).sort((be, Ue) => be.point.y - Ue.point.y || be.seriesIndex - Ue.seriesIndex);
|
|
21627
21627
|
return new Map(
|
|
21628
21628
|
ke.map((be, Ue) => {
|
|
21629
|
-
const Ye = Ue,
|
|
21629
|
+
const Ye = Ue, pt = ke.length - 1 - Ue, xt = Ye <= pt ? -1 : 1, It = xt < 0 ? Ye : pt, Ut = xt < 0 ? 12 + It * 14 : 18 + It * 14, Jt = xt < 0 ? Math.max(be.point.y - Ut, Ce.top + 10) : Math.min(be.point.y + Ut, Ce.top + $e - 6);
|
|
21630
21630
|
return [be.seriesKey, Jt];
|
|
21631
21631
|
})
|
|
21632
21632
|
);
|
|
@@ -21647,7 +21647,7 @@ const Um = 760, $m = bt(function({
|
|
|
21647
21647
|
emptyMessage: S,
|
|
21648
21648
|
tooltip: oe,
|
|
21649
21649
|
ariaLabel: Re ?? (typeof n == "string" ? n : "Line chart"),
|
|
21650
|
-
stageProps: { onMouseLeave: () => fe(null), style: { height:
|
|
21650
|
+
stageProps: { onMouseLeave: () => fe(null), style: { height: ut } },
|
|
21651
21651
|
xAxisLabel: me,
|
|
21652
21652
|
xAxisTickHeight: st.length > 0 ? 0 : void 0,
|
|
21653
21653
|
yAxisLabel: De,
|
|
@@ -21660,7 +21660,7 @@ const Um = 760, $m = bt(function({
|
|
|
21660
21660
|
valueLabelFontWeight: C,
|
|
21661
21661
|
fontFamily: R,
|
|
21662
21662
|
...O,
|
|
21663
|
-
children: /* @__PURE__ */ m("div", { ref: j, className: "esp-chart-svg-frame", children: /* @__PURE__ */ U("svg", { viewBox: `0 0 ${te} ${
|
|
21663
|
+
children: /* @__PURE__ */ m("div", { ref: j, className: "esp-chart-svg-frame", children: /* @__PURE__ */ U("svg", { viewBox: `0 0 ${te} ${ut}`, className: "esp-chart-svg", children: [
|
|
21664
21664
|
/* @__PURE__ */ m("defs", { children: L.map((ge) => /* @__PURE__ */ U(
|
|
21665
21665
|
"linearGradient",
|
|
21666
21666
|
{
|
|
@@ -21751,8 +21751,8 @@ const Um = 760, $m = bt(function({
|
|
|
21751
21751
|
`${ge.key}-${ke}`
|
|
21752
21752
|
)),
|
|
21753
21753
|
Le && ge.points.map((Ne, ke) => {
|
|
21754
|
-
var
|
|
21755
|
-
const be = ke === 0 ? "start" : ke === ge.points.length - 1 ? "end" : "middle", Ue = be === "start" ? Ne.x + 8 : be === "end" ? Ne.x - 8 : Ne.x, Ye = ((
|
|
21754
|
+
var pt;
|
|
21755
|
+
const be = ke === 0 ? "start" : ke === ge.points.length - 1 ? "end" : "middle", Ue = be === "start" ? Ne.x + 8 : be === "end" ? Ne.x - 8 : Ne.x, Ye = ((pt = Tt[ke]) == null ? void 0 : pt.get(ge.key)) ?? Math.max(Ne.y - 12, Ce.top + 10);
|
|
21756
21756
|
return /* @__PURE__ */ m(
|
|
21757
21757
|
"text",
|
|
21758
21758
|
{
|
|
@@ -21896,7 +21896,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
21896
21896
|
label: ze,
|
|
21897
21897
|
items: Xe
|
|
21898
21898
|
};
|
|
21899
|
-
})() : null,
|
|
21899
|
+
})() : null, ut = $e.map((ze) => ({ label: ze.label, color: ze.color })), lt = R ? /* @__PURE__ */ m(
|
|
21900
21900
|
Ul,
|
|
21901
21901
|
{
|
|
21902
21902
|
preferences: Y,
|
|
@@ -21913,7 +21913,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
21913
21913
|
onChange: ne,
|
|
21914
21914
|
onReset: fe
|
|
21915
21915
|
}
|
|
21916
|
-
) : void 0, it = Je.map((ze) => Hl(ze, G)),
|
|
21916
|
+
) : void 0, it = Je.map((ze) => Hl(ze, G)), dt = h ? Je.map((ze, Xe) => ({
|
|
21917
21917
|
key: String(ze),
|
|
21918
21918
|
label: it[Xe],
|
|
21919
21919
|
topPercent: Lr(ze, Le.min, Le.max, I.top, me) / s * 100
|
|
@@ -21938,7 +21938,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
21938
21938
|
description: j,
|
|
21939
21939
|
headerActions: lt,
|
|
21940
21940
|
footer: i,
|
|
21941
|
-
legend: te ?
|
|
21941
|
+
legend: te ? ut : void 0,
|
|
21942
21942
|
legendPosition: l,
|
|
21943
21943
|
empty: O,
|
|
21944
21944
|
emptyMessage: Te,
|
|
@@ -21950,7 +21950,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
21950
21950
|
xAxisTickRotation: le,
|
|
21951
21951
|
xAxisTickHeight: Gl(u, le),
|
|
21952
21952
|
yAxisLabel: Ie,
|
|
21953
|
-
yAxisTicks:
|
|
21953
|
+
yAxisTicks: dt,
|
|
21954
21954
|
yAxisTickWidth: kt,
|
|
21955
21955
|
axisFontSize: x,
|
|
21956
21956
|
axisTitleFontSize: b,
|
|
@@ -22007,7 +22007,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
22007
22007
|
const L = Kr(Xe, ft, I.left, I.left + xe), oe = Math.min(L.width * 0.82, 92), We = Math.min(8, Math.max(4, oe * 0.08)), Me = We * Math.max($e.length - 1, 0), Ze = Math.max((oe - Me) / Math.max($e.length, 1), 8), Kt = L.x + (L.width - oe) / 2;
|
|
22008
22008
|
let ct = null;
|
|
22009
22009
|
return /* @__PURE__ */ m("g", { children: $e.map((st, Tt) => {
|
|
22010
|
-
const ge = _n(ze, st.key), Ne = Lr(ge, Le.min, Le.max, I.top, me), ke = Math.max(Math.abs(Ce - Ne), 1), be = Kt + Tt * (Ze + We), Ue = ge >= 0 ? Ne : Ce, Ye = 8,
|
|
22010
|
+
const ge = _n(ze, st.key), Ne = Lr(ge, Le.min, Le.max, I.top, me), ke = Math.max(Math.abs(Ce - Ne), 1), be = Kt + Tt * (Ze + We), Ue = ge >= 0 ? Ne : Ce, Ye = 8, pt = $e.length > 1 ? Tt < $e.length / 2 ? "end" : "start" : "middle", xt = be < I.left + 18 ? "start" : be + Ze > I.left + xe - 18 ? "end" : pt, It = xt === "start" ? be + 2 : xt === "end" ? be + Ze - 2 : be + Ze / 2, Ut = ge >= 0 ? Math.max(Ue - 10, I.top - 6) : Ue + ke + 14, Jt = 20, v = ct !== null && Math.abs(ct - Ut) < Jt ? Math.max(ct - Jt, 12) : Ut;
|
|
22011
22011
|
return ct = v, /* @__PURE__ */ U("g", { children: [
|
|
22012
22012
|
/* @__PURE__ */ m(
|
|
22013
22013
|
"path",
|
|
@@ -22034,7 +22034,7 @@ const Wm = 760, N2 = bt(function({
|
|
|
22034
22034
|
{
|
|
22035
22035
|
x: It,
|
|
22036
22036
|
y: v,
|
|
22037
|
-
textAnchor:
|
|
22037
|
+
textAnchor: xt,
|
|
22038
22038
|
className: "esp-bar-chart-value",
|
|
22039
22039
|
children: Ya(ge, q)
|
|
22040
22040
|
}
|
|
@@ -22198,14 +22198,14 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = bt(function({
|
|
|
22198
22198
|
...V !== void 0 ? { "--esp-task-card-progress": `${V}%` } : {}
|
|
22199
22199
|
};
|
|
22200
22200
|
return /* @__PURE__ */ U(
|
|
22201
|
-
|
|
22201
|
+
gt,
|
|
22202
22202
|
{
|
|
22203
22203
|
ref: P,
|
|
22204
22204
|
className: Ae("esp-task-card", C),
|
|
22205
22205
|
style: se,
|
|
22206
22206
|
...B,
|
|
22207
22207
|
children: [
|
|
22208
|
-
/* @__PURE__ */ U(
|
|
22208
|
+
/* @__PURE__ */ U(gt.Header, { className: "esp-task-card-header", children: [
|
|
22209
22209
|
/* @__PURE__ */ U("div", { className: "esp-task-card-topline", children: [
|
|
22210
22210
|
/* @__PURE__ */ U("div", { className: "esp-task-card-badges", children: [
|
|
22211
22211
|
/* @__PURE__ */ m(
|
|
@@ -22233,10 +22233,10 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = bt(function({
|
|
|
22233
22233
|
] }),
|
|
22234
22234
|
N ? /* @__PURE__ */ m("div", { className: "esp-task-card-due-date", children: N }) : null
|
|
22235
22235
|
] }),
|
|
22236
|
-
/* @__PURE__ */ m(
|
|
22237
|
-
r ? /* @__PURE__ */ m(
|
|
22236
|
+
/* @__PURE__ */ m(gt.Title, { className: "esp-task-card-title", children: t }),
|
|
22237
|
+
r ? /* @__PURE__ */ m(gt.Description, { className: "esp-task-card-description", children: r }) : null
|
|
22238
22238
|
] }),
|
|
22239
|
-
G ? /* @__PURE__ */ U(
|
|
22239
|
+
G ? /* @__PURE__ */ U(gt.Body, { className: "esp-task-card-body", children: [
|
|
22240
22240
|
q.length > 0 ? /* @__PURE__ */ m("div", { className: "esp-task-card-meta-grid", children: q.map((Te) => /* @__PURE__ */ U("div", { className: "esp-task-card-meta-item", children: [
|
|
22241
22241
|
/* @__PURE__ */ m("span", { className: "esp-task-card-meta-label", children: Te.label }),
|
|
22242
22242
|
/* @__PURE__ */ m("span", { className: "esp-task-card-meta-value", children: Te.value })
|
|
@@ -22266,7 +22266,7 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = bt(function({
|
|
|
22266
22266
|
W ? /* @__PURE__ */ m("div", { className: "esp-task-card-meta-extra", children: W }) : null,
|
|
22267
22267
|
R
|
|
22268
22268
|
] }) : null,
|
|
22269
|
-
J ? /* @__PURE__ */ m(
|
|
22269
|
+
J ? /* @__PURE__ */ m(gt.Footer, { className: "esp-task-card-footer", children: J }) : null
|
|
22270
22270
|
]
|
|
22271
22271
|
}
|
|
22272
22272
|
);
|
|
@@ -22441,17 +22441,17 @@ const zm = 24 * 60 * 60 * 1e3, Ym = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), Ka = (
|
|
|
22441
22441
|
) : /* @__PURE__ */ m("div", { className: "esp-task-calendar-task-slot", children: me }, `${I.id}-${zr(xe.date)}-${q}`);
|
|
22442
22442
|
};
|
|
22443
22443
|
return /* @__PURE__ */ U(
|
|
22444
|
-
|
|
22444
|
+
gt,
|
|
22445
22445
|
{
|
|
22446
22446
|
ref: F,
|
|
22447
22447
|
variant: C,
|
|
22448
22448
|
className: Ae("esp-task-calendar", J),
|
|
22449
22449
|
...R,
|
|
22450
22450
|
children: [
|
|
22451
|
-
/* @__PURE__ */ U(
|
|
22451
|
+
/* @__PURE__ */ U(gt.Header, { className: "esp-task-calendar-header", children: [
|
|
22452
22452
|
x || b ? /* @__PURE__ */ U("div", { className: "esp-task-calendar-copy", children: [
|
|
22453
|
-
x ? /* @__PURE__ */ m(
|
|
22454
|
-
b ? /* @__PURE__ */ m(
|
|
22453
|
+
x ? /* @__PURE__ */ m(gt.Title, { className: "esp-task-calendar-heading", children: x }) : null,
|
|
22454
|
+
b ? /* @__PURE__ */ m(gt.Description, { className: "esp-task-calendar-description", children: b }) : null
|
|
22455
22455
|
] }) : null,
|
|
22456
22456
|
/* @__PURE__ */ U("div", { className: "esp-task-calendar-toolbar", children: [
|
|
22457
22457
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-range-label", children: te }),
|
|
@@ -22476,7 +22476,7 @@ const zm = 24 * 60 * 60 * 1e3, Ym = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), Ka = (
|
|
|
22476
22476
|
] })
|
|
22477
22477
|
] })
|
|
22478
22478
|
] }),
|
|
22479
|
-
/* @__PURE__ */ U(
|
|
22479
|
+
/* @__PURE__ */ U(gt.Body, { className: "esp-task-calendar-body", children: [
|
|
22480
22480
|
q === "month" ? /* @__PURE__ */ U("div", { className: "esp-task-calendar-grid-wrap", children: [
|
|
22481
22481
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-weekdays", children: Y.map((I) => /* @__PURE__ */ m("div", { className: "esp-task-calendar-weekday", children: I }, I)) }),
|
|
22482
22482
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-grid", children: M.map((I) => {
|
|
@@ -22756,17 +22756,17 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
|
|
|
22756
22756
|
te.meta ? /* @__PURE__ */ m("div", { className: "esp-gantt-chart-item-meta", children: /* @__PURE__ */ m("span", { children: te.meta }) }) : null
|
|
22757
22757
|
] });
|
|
22758
22758
|
return /* @__PURE__ */ U(
|
|
22759
|
-
|
|
22759
|
+
gt,
|
|
22760
22760
|
{
|
|
22761
22761
|
ref: J,
|
|
22762
22762
|
className: Ae("esp-gantt-chart", E),
|
|
22763
22763
|
variant: k,
|
|
22764
22764
|
...W,
|
|
22765
22765
|
children: [
|
|
22766
|
-
/* @__PURE__ */ U(
|
|
22766
|
+
/* @__PURE__ */ U(gt.Header, { className: "esp-gantt-chart-header", children: [
|
|
22767
22767
|
/* @__PURE__ */ U("div", { children: [
|
|
22768
|
-
l ? /* @__PURE__ */ m(
|
|
22769
|
-
f ? /* @__PURE__ */ m(
|
|
22768
|
+
l ? /* @__PURE__ */ m(gt.Title, { children: l }) : null,
|
|
22769
|
+
f ? /* @__PURE__ */ m(gt.Description, { children: f }) : null
|
|
22770
22770
|
] }),
|
|
22771
22771
|
/* @__PURE__ */ U("div", { className: "esp-gantt-chart-toolbar", children: [
|
|
22772
22772
|
h ? /* @__PURE__ */ m(
|
|
@@ -22789,7 +22789,7 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
|
|
|
22789
22789
|
] })
|
|
22790
22790
|
] })
|
|
22791
22791
|
] }),
|
|
22792
|
-
/* @__PURE__ */ m(
|
|
22792
|
+
/* @__PURE__ */ m(gt.Body, { className: "esp-gantt-chart-body", children: /* @__PURE__ */ m("div", { className: "esp-gantt-chart-scroll", children: /* @__PURE__ */ U(
|
|
22793
22793
|
"div",
|
|
22794
22794
|
{
|
|
22795
22795
|
className: "esp-gantt-chart-table",
|
|
@@ -23256,7 +23256,7 @@ export {
|
|
|
23256
23256
|
k2 as Background,
|
|
23257
23257
|
N2 as BarChart,
|
|
23258
23258
|
En as Button,
|
|
23259
|
-
|
|
23259
|
+
gt as Card,
|
|
23260
23260
|
xo as CardBody,
|
|
23261
23261
|
Nm as CardDescription,
|
|
23262
23262
|
Fm as CardFooter,
|