@esperanca-ui/componentes 2.14.6 → 2.14.7
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as U, jsx as m, Fragment as qr } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import mt, { useState as Fe, useEffect as Se, useRef as Pe, forwardRef as At, useId as Vr, useMemo as Ke, useLayoutEffect as nc, useCallback as ze, createContext as tn, memo as ac, useReducer as ic, useContext as Cr } from "react";
|
|
3
3
|
import { createPortal as yo, unstable_batchedUpdates as pa } from "react-dom";
|
|
4
4
|
var So = {
|
|
5
5
|
color: void 0,
|
|
@@ -7,7 +7,7 @@ var So = {
|
|
|
7
7
|
className: void 0,
|
|
8
8
|
style: void 0,
|
|
9
9
|
attr: void 0
|
|
10
|
-
}, ds =
|
|
10
|
+
}, ds = mt.createContext && mt.createContext(So), Br = globalThis && globalThis.__assign || function() {
|
|
11
11
|
return Br = Object.assign || function(e) {
|
|
12
12
|
for (var t, r = 1, n = arguments.length; r < n; r++) {
|
|
13
13
|
t = arguments[r];
|
|
@@ -27,14 +27,14 @@ var So = {
|
|
|
27
27
|
};
|
|
28
28
|
function Ao(e) {
|
|
29
29
|
return e && e.map(function(t, r) {
|
|
30
|
-
return
|
|
30
|
+
return mt.createElement(t.tag, Br({
|
|
31
31
|
key: r
|
|
32
32
|
}, t.attr), Ao(t.child));
|
|
33
33
|
});
|
|
34
34
|
}
|
|
35
35
|
function yt(e) {
|
|
36
36
|
return function(t) {
|
|
37
|
-
return
|
|
37
|
+
return mt.createElement(oc, Br({
|
|
38
38
|
attr: Br({}, e.attr)
|
|
39
39
|
}, t), Ao(e.child));
|
|
40
40
|
};
|
|
@@ -42,7 +42,7 @@ function yt(e) {
|
|
|
42
42
|
function oc(e) {
|
|
43
43
|
var t = function(r) {
|
|
44
44
|
var n = e.attr, a = e.size, i = e.title, s = sc(e, ["attr", "size", "title"]), o = a || r.size || "1em", c;
|
|
45
|
-
return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className),
|
|
45
|
+
return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), mt.createElement("svg", Br({
|
|
46
46
|
stroke: "currentColor",
|
|
47
47
|
fill: "currentColor",
|
|
48
48
|
strokeWidth: "0"
|
|
@@ -54,9 +54,9 @@ function oc(e) {
|
|
|
54
54
|
height: o,
|
|
55
55
|
width: o,
|
|
56
56
|
xmlns: "http://www.w3.org/2000/svg"
|
|
57
|
-
}), i &&
|
|
57
|
+
}), i && mt.createElement("title", null, i), e.children);
|
|
58
58
|
};
|
|
59
|
-
return ds !== void 0 ?
|
|
59
|
+
return ds !== void 0 ? mt.createElement(ds.Consumer, null, function(r) {
|
|
60
60
|
return t(r);
|
|
61
61
|
}) : t(So);
|
|
62
62
|
}
|
|
@@ -245,7 +245,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
245
245
|
}, [L, x, i, D, I, ke]), $e = Ke(
|
|
246
246
|
() => lt.filter((M) => !M.disabled),
|
|
247
247
|
[lt]
|
|
248
|
-
),
|
|
248
|
+
), ht = $e.length > 0 && $e.every((M) => ke.has(St(M.value))), Je = $e.some((M) => ke.has(St(M.value)));
|
|
249
249
|
Se(() => {
|
|
250
250
|
!x && p !== void 0 && ee(p);
|
|
251
251
|
}, [x, p]), Se(() => {
|
|
@@ -308,7 +308,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
308
308
|
if (!M.disabled) {
|
|
309
309
|
if (x) {
|
|
310
310
|
const We = St(M.value), Me = ke.has(We) ? we.filter((nt) => St(nt) !== We) : [...we, M.value];
|
|
311
|
-
|
|
311
|
+
xt(Me), O(""), I && requestAnimationFrame(() => {
|
|
312
312
|
var nt;
|
|
313
313
|
return (nt = Ce.current) == null ? void 0 : nt.focus();
|
|
314
314
|
});
|
|
@@ -316,7 +316,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
316
316
|
}
|
|
317
317
|
p === void 0 && ee(M.value), h == null || h(M.value, M), k(!1), (ae = Ee.current) == null || ae.focus();
|
|
318
318
|
}
|
|
319
|
-
},
|
|
319
|
+
}, xt = (M) => {
|
|
320
320
|
const ae = Array.from(new Map(
|
|
321
321
|
M.map((Me) => [St(Me), Me])
|
|
322
322
|
).values()), We = ae.map((Me) => i.find((nt) => St(nt.value) === St(Me))).filter(Boolean);
|
|
@@ -327,7 +327,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
327
327
|
const M = new Map(we.map((ae) => [St(ae), ae]));
|
|
328
328
|
$e.forEach((ae) => {
|
|
329
329
|
M.set(St(ae.value), ae.value);
|
|
330
|
-
}),
|
|
330
|
+
}), xt(Array.from(M.values())), requestAnimationFrame(() => {
|
|
331
331
|
var ae;
|
|
332
332
|
return (ae = Ce.current) == null ? void 0 : ae.focus();
|
|
333
333
|
});
|
|
@@ -335,7 +335,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
335
335
|
if (!x || $e.length === 0)
|
|
336
336
|
return;
|
|
337
337
|
const M = new Set($e.map((ae) => St(ae.value)));
|
|
338
|
-
|
|
338
|
+
xt(
|
|
339
339
|
we.filter((ae) => !M.has(St(ae)))
|
|
340
340
|
), requestAnimationFrame(() => {
|
|
341
341
|
var ae;
|
|
@@ -449,7 +449,7 @@ const St = (e) => String(e), bc = At(function({
|
|
|
449
449
|
onClick: (M) => {
|
|
450
450
|
M.stopPropagation(), Ve();
|
|
451
451
|
},
|
|
452
|
-
disabled:
|
|
452
|
+
disabled: ht,
|
|
453
453
|
children: j
|
|
454
454
|
}
|
|
455
455
|
),
|
|
@@ -724,7 +724,7 @@ function Rc(e) {
|
|
|
724
724
|
id: t,
|
|
725
725
|
value: r
|
|
726
726
|
} = e;
|
|
727
|
-
return
|
|
727
|
+
return mt.createElement("div", {
|
|
728
728
|
id: t,
|
|
729
729
|
style: Oc
|
|
730
730
|
}, r);
|
|
@@ -749,7 +749,7 @@ function Ic(e) {
|
|
|
749
749
|
clipPath: "inset(100%)",
|
|
750
750
|
whiteSpace: "nowrap"
|
|
751
751
|
};
|
|
752
|
-
return
|
|
752
|
+
return mt.createElement("div", {
|
|
753
753
|
id: t,
|
|
754
754
|
style: a,
|
|
755
755
|
role: "status",
|
|
@@ -886,10 +886,10 @@ function $c(e) {
|
|
|
886
886
|
}
|
|
887
887
|
}), [i, t])), !c)
|
|
888
888
|
return null;
|
|
889
|
-
const f =
|
|
889
|
+
const f = mt.createElement(mt.Fragment, null, mt.createElement(Rc, {
|
|
890
890
|
id: n,
|
|
891
891
|
value: a.draggable
|
|
892
|
-
}),
|
|
892
|
+
}), mt.createElement(Ic, {
|
|
893
893
|
id: o,
|
|
894
894
|
announcement: s
|
|
895
895
|
}));
|
|
@@ -2641,13 +2641,13 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2641
2641
|
scrollableAncestors: ke,
|
|
2642
2642
|
scrollableAncestorRects: Oe,
|
|
2643
2643
|
windowRect: we
|
|
2644
|
-
}), ut = te ? xn(te, N) : null, be = Ff(ke), lt = As(be), $e = As(be, [q]),
|
|
2644
|
+
}), ut = te ? xn(te, N) : null, be = Ff(ke), lt = As(be), $e = As(be, [q]), ht = xn(et, lt), Je = Ce ? Kc(Ce, et) : null, wt = J && Je ? u({
|
|
2645
2645
|
active: J,
|
|
2646
2646
|
collisionRect: Je,
|
|
2647
2647
|
droppableRects: k,
|
|
2648
2648
|
droppableContainers: xe,
|
|
2649
2649
|
pointerCoordinates: ut
|
|
2650
|
-
}) : null, Vt = Uo(wt, "id"), [ct, Pt] = Fe(null),
|
|
2650
|
+
}) : null, Vt = Uo(wt, "id"), [ct, Pt] = Fe(null), xt = P ? et : xn(et, $e), Ve = Yc(xt, (i = ct == null ? void 0 : ct.rect) != null ? i : null, q), Xe = Pe(null), M = ze(
|
|
2651
2651
|
(de, Ae) => {
|
|
2652
2652
|
let {
|
|
2653
2653
|
sensor: Be,
|
|
@@ -2807,8 +2807,8 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2807
2807
|
activatorEvent: Be,
|
|
2808
2808
|
collisions: Le,
|
|
2809
2809
|
delta: {
|
|
2810
|
-
x:
|
|
2811
|
-
y:
|
|
2810
|
+
x: ht.x,
|
|
2811
|
+
y: ht.y
|
|
2812
2812
|
},
|
|
2813
2813
|
over: Ge
|
|
2814
2814
|
};
|
|
@@ -2820,7 +2820,7 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2820
2820
|
});
|
|
2821
2821
|
},
|
|
2822
2822
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
2823
|
-
[
|
|
2823
|
+
[ht.x, ht.y]
|
|
2824
2824
|
), Se(
|
|
2825
2825
|
() => {
|
|
2826
2826
|
const {
|
|
@@ -2872,12 +2872,12 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2872
2872
|
droppableContainers: B,
|
|
2873
2873
|
over: ct,
|
|
2874
2874
|
scrollableAncestors: ke,
|
|
2875
|
-
scrollAdjustedTranslate:
|
|
2875
|
+
scrollAdjustedTranslate: ht
|
|
2876
2876
|
}, H.current = {
|
|
2877
2877
|
initial: Ce,
|
|
2878
2878
|
translated: Je
|
|
2879
2879
|
};
|
|
2880
|
-
}, [J, Y, wt, Je, I, Ne, Ce, k, B, ct, ke,
|
|
2880
|
+
}, [J, Y, wt, Je, I, Ne, Ce, k, B, ct, ke, ht]), vf({
|
|
2881
2881
|
...le,
|
|
2882
2882
|
delta: N,
|
|
2883
2883
|
draggingRect: Je,
|
|
@@ -2916,17 +2916,17 @@ const Xf = /* @__PURE__ */ ac(function(t) {
|
|
|
2916
2916
|
over: ct,
|
|
2917
2917
|
measureDroppableContainers: D
|
|
2918
2918
|
}), [ve, We, J, q, b, Ye, I, ct, D]);
|
|
2919
|
-
return
|
|
2919
|
+
return mt.createElement(Po.Provider, {
|
|
2920
2920
|
value: y
|
|
2921
|
-
},
|
|
2921
|
+
}, mt.createElement(Qa.Provider, {
|
|
2922
2922
|
value: nt
|
|
2923
|
-
},
|
|
2923
|
+
}, mt.createElement(Jo.Provider, {
|
|
2924
2924
|
value: Me
|
|
2925
|
-
},
|
|
2925
|
+
}, mt.createElement(qo.Provider, {
|
|
2926
2926
|
value: Ve
|
|
2927
|
-
}, l)),
|
|
2927
|
+
}, l)), mt.createElement($f, {
|
|
2928
2928
|
disabled: (o == null ? void 0 : o.restoreFocus) === !1
|
|
2929
|
-
})),
|
|
2929
|
+
})), mt.createElement($c, {
|
|
2930
2930
|
...o,
|
|
2931
2931
|
hiddenTextDescribedById: Ye
|
|
2932
2932
|
}));
|
|
@@ -3162,7 +3162,7 @@ function ru(e, t, r) {
|
|
|
3162
3162
|
const n = e[t], a = e[t - 1], i = e[t + 1];
|
|
3163
3163
|
return n ? r < t ? a ? n.top - (a.top + a.height) : i ? i.top - (n.top + n.height) : 0 : i ? i.top - (n.top + n.height) : a ? n.top - (a.top + a.height) : 0 : 0;
|
|
3164
3164
|
}
|
|
3165
|
-
const Qo = "Sortable", e0 = /* @__PURE__ */
|
|
3165
|
+
const Qo = "Sortable", e0 = /* @__PURE__ */ mt.createContext({
|
|
3166
3166
|
activeIndex: -1,
|
|
3167
3167
|
containerId: Qo,
|
|
3168
3168
|
disableTransforms: !1,
|
|
@@ -3211,7 +3211,7 @@ function nu(e) {
|
|
|
3211
3211
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
3212
3212
|
[h, u, R.draggable, R.droppable, y, p, x, c, d, a]
|
|
3213
3213
|
);
|
|
3214
|
-
return
|
|
3214
|
+
return mt.createElement(e0.Provider, {
|
|
3215
3215
|
value: W
|
|
3216
3216
|
}, t);
|
|
3217
3217
|
}
|
|
@@ -4868,10 +4868,10 @@ var zu = /* @__PURE__ */ function() {
|
|
|
4868
4868
|
G[pe] = oe;
|
|
4869
4869
|
var Ue = p(v, _);
|
|
4870
4870
|
x(V, A, Ue, _, G);
|
|
4871
|
-
var
|
|
4872
|
-
|
|
4873
|
-
var
|
|
4874
|
-
y(X,
|
|
4871
|
+
var gt = F(Ue, X, G, _);
|
|
4872
|
+
gt[X].name = "!Directory", E > 0 && Q !== J && (gt[Q].name = "!MiniFAT"), gt[G[0]].name = "!FAT", gt.fat_addrs = G, gt.ssz = _;
|
|
4873
|
+
var vt = {}, Xt = [], Dn = [], On = [];
|
|
4874
|
+
y(X, gt, Ue, Xt, E, vt, Dn, Q), g(Dn, On, Xt), Xt.shift();
|
|
4875
4875
|
var Rn = {
|
|
4876
4876
|
FileIndex: Dn,
|
|
4877
4877
|
FullPaths: On
|
|
@@ -4996,8 +4996,8 @@ var zu = /* @__PURE__ */ function() {
|
|
|
4996
4996
|
size: 0
|
|
4997
4997
|
}, Ue = oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2);
|
|
4998
4998
|
Ue !== 0 && (pe.ct = R(oe, oe.l - 8));
|
|
4999
|
-
var
|
|
5000
|
-
|
|
4999
|
+
var gt = oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2) + oe.read_shift(2);
|
|
5000
|
+
gt !== 0 && (pe.mt = R(oe, oe.l - 8)), pe.start = oe.read_shift(4, "i"), pe.size = oe.read_shift(4, "i"), pe.size < 0 && pe.start < 0 && (pe.size = pe.type = 0, pe.start = J, pe.name = ""), pe.type === 5 ? (V = pe.start, E > 0 && V !== J && (T[V].name = "!StreamData")) : pe.size >= 4096 ? (pe.storage = "fat", T[pe.start] === void 0 && (T[pe.start] = b(w, pe.start, T.fat_addrs, T.ssz)), T[pe.start].name = pe.name, pe.content = T[pe.start].data.slice(0, pe.size)) : (pe.storage = "minifat", pe.size < 0 ? pe.size = 0 : V !== J && pe.start !== J && T[V] && (pe.content = h(pe, T[V].data, (T[Q] || {}).data))), pe.content && ir(pe.content, 0), A[me] = pe, X.push(pe);
|
|
5001
5001
|
}
|
|
5002
5002
|
}
|
|
5003
5003
|
function R(v, T) {
|
|
@@ -5097,10 +5097,10 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5097
5097
|
}
|
|
5098
5098
|
var _ = function(me) {
|
|
5099
5099
|
for (var oe = 0, pe = 0, Ue = 0; Ue < me.FileIndex.length; ++Ue) {
|
|
5100
|
-
var
|
|
5101
|
-
if (
|
|
5102
|
-
var
|
|
5103
|
-
|
|
5100
|
+
var gt = me.FileIndex[Ue];
|
|
5101
|
+
if (gt.content) {
|
|
5102
|
+
var vt = gt.content.length;
|
|
5103
|
+
vt > 0 && (vt < 4096 ? oe += vt + 63 >> 6 : pe += vt + 511 >> 9);
|
|
5104
5104
|
}
|
|
5105
5105
|
}
|
|
5106
5106
|
for (var Xt = me.FullPaths.length + 3 >> 2, Dn = oe + 7 >> 3, On = oe + 127 >> 7, Rn = Dn + pe + Xt + On, Gr = Rn + 127 >> 7, li = Gr <= 109 ? 0 : Math.ceil((Gr - 109) / 127); Rn + Gr + li + 127 >> 7 > Gr; )
|
|
@@ -5370,17 +5370,17 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5370
5370
|
T[Q | X << ne] = ne & 15 | A << 4;
|
|
5371
5371
|
return _;
|
|
5372
5372
|
}
|
|
5373
|
-
var $e = se ? new Uint16Array(512) : be(512),
|
|
5373
|
+
var $e = se ? new Uint16Array(512) : be(512), ht = se ? new Uint16Array(32) : be(32);
|
|
5374
5374
|
if (!se) {
|
|
5375
5375
|
for (var Je = 0; Je < 512; ++Je)
|
|
5376
5376
|
$e[Je] = 0;
|
|
5377
5377
|
for (Je = 0; Je < 32; ++Je)
|
|
5378
|
-
|
|
5378
|
+
ht[Je] = 0;
|
|
5379
5379
|
}
|
|
5380
5380
|
(function() {
|
|
5381
5381
|
for (var v = [], T = 0; T < 32; T++)
|
|
5382
5382
|
v.push(5);
|
|
5383
|
-
lt(v,
|
|
5383
|
+
lt(v, ht, 32);
|
|
5384
5384
|
var w = [];
|
|
5385
5385
|
for (T = 0; T <= 143; T++)
|
|
5386
5386
|
w.push(8);
|
|
@@ -5432,10 +5432,10 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5432
5432
|
++Ue;
|
|
5433
5433
|
if (Ue > 2) {
|
|
5434
5434
|
oe = E[Ue], oe <= 22 ? G = Oe(V, G, q[oe + 1] >> 1) - 1 : (Oe(V, G, 3), G += 5, Oe(V, G, q[oe - 23] >> 5), G += 3);
|
|
5435
|
-
var
|
|
5436
|
-
|
|
5437
|
-
var
|
|
5438
|
-
|
|
5435
|
+
var gt = oe < 8 ? 0 : oe - 4 >> 2;
|
|
5436
|
+
gt > 0 && (et(V, G, Ue - Y[oe]), G += gt), oe = T[K - pe], G = Oe(V, G, q[oe] >> 3), G -= 3;
|
|
5437
|
+
var vt = oe < 4 ? 0 : oe - 2 >> 1;
|
|
5438
|
+
vt > 0 && (et(V, G, K - pe - te[oe]), G += vt);
|
|
5439
5439
|
for (var Xt = 0; Xt < Ue; ++Xt)
|
|
5440
5440
|
ne[me] = K & 32767, me = (me << 5 ^ Q[K]) & 32767, ++K;
|
|
5441
5441
|
ue -= Ue - 1;
|
|
@@ -5454,7 +5454,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5454
5454
|
var T = Z(50 + Math.floor(v.length * 1.1)), w = wt(v, T);
|
|
5455
5455
|
return T.slice(0, w);
|
|
5456
5456
|
}
|
|
5457
|
-
var ct = se ? new Uint16Array(32768) : be(32768), Pt = se ? new Uint16Array(32768) : be(32768),
|
|
5457
|
+
var ct = se ? new Uint16Array(32768) : be(32768), Pt = se ? new Uint16Array(32768) : be(32768), xt = se ? new Uint16Array(128) : be(128), Ve = 1, Xe = 1;
|
|
5458
5458
|
function M(v, T) {
|
|
5459
5459
|
var w = Ce(v, T) + 257;
|
|
5460
5460
|
T += 5;
|
|
@@ -5474,11 +5474,11 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5474
5474
|
if (oe = X[ue], oe != 0) {
|
|
5475
5475
|
me = q[Q[ue]] >> 8 - oe;
|
|
5476
5476
|
for (var pe = (1 << 7 - oe) - 1; pe >= 0; --pe)
|
|
5477
|
-
|
|
5477
|
+
xt[me | pe << oe] = oe & 7 | ue << 3;
|
|
5478
5478
|
}
|
|
5479
5479
|
var Ue = [];
|
|
5480
5480
|
for (V = 1; Ue.length < w + _; )
|
|
5481
|
-
switch (me =
|
|
5481
|
+
switch (me = xt[P(v, T)], T += me & 7, me >>>= 3) {
|
|
5482
5482
|
case 16:
|
|
5483
5483
|
for (A = 3 + Ie(v, T), T += 2, me = Ue[Ue.length - 1]; A-- > 0; )
|
|
5484
5484
|
Ue.push(me);
|
|
@@ -5495,12 +5495,12 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5495
5495
|
Ue.push(me), V < me && (V = me);
|
|
5496
5496
|
break;
|
|
5497
5497
|
}
|
|
5498
|
-
var
|
|
5498
|
+
var gt = Ue.slice(0, w), vt = Ue.slice(w);
|
|
5499
5499
|
for (ue = w; ue < 286; ++ue)
|
|
5500
|
-
xt[ue] = 0;
|
|
5501
|
-
for (ue = _; ue < 30; ++ue)
|
|
5502
5500
|
gt[ue] = 0;
|
|
5503
|
-
|
|
5501
|
+
for (ue = _; ue < 30; ++ue)
|
|
5502
|
+
vt[ue] = 0;
|
|
5503
|
+
return Ve = lt(gt, ct, 286), Xe = lt(vt, Pt, 30), T;
|
|
5504
5504
|
}
|
|
5505
5505
|
function ae(v, T) {
|
|
5506
5506
|
if (v[0] == 3 && !(v[1] & 3))
|
|
@@ -5528,7 +5528,7 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5528
5528
|
var ue = ne < 8 ? 0 : ne - 4 >> 2;
|
|
5529
5529
|
ue > 5 && (ue = 0);
|
|
5530
5530
|
var me = A + Y[ne];
|
|
5531
|
-
ue > 0 && (me += Te(v, w, ue), w += ue), K = Te(v, w, V), ne = _ >>> 1 == 1 ?
|
|
5531
|
+
ue > 0 && (me += Te(v, w, ue), w += ue), K = Te(v, w, V), ne = _ >>> 1 == 1 ? ht[K] : Pt[K], w += ne & 15, ne >>>= 4;
|
|
5532
5532
|
var oe = ne < 4 ? 0 : ne - 2 >> 1, pe = te[ne];
|
|
5533
5533
|
for (oe > 0 && (pe += Te(v, w, oe), w += oe), !T && X < me && (E = ut(E, me + 100), X = E.length); A < me; )
|
|
5534
5534
|
E[A] = E[A - pe], ++A;
|
|
@@ -5605,17 +5605,17 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5605
5605
|
default:
|
|
5606
5606
|
throw new Error("Unsupported ZIP Compression method " + X);
|
|
5607
5607
|
}
|
|
5608
|
-
var
|
|
5609
|
-
A & 8 && (V = v.read_shift(4), V == 134695760 && (V = v.read_shift(4),
|
|
5608
|
+
var gt = !1;
|
|
5609
|
+
A & 8 && (V = v.read_shift(4), V == 134695760 && (V = v.read_shift(4), gt = !0), G = v.read_shift(4), K = v.read_shift(4)), G != T && Me(gt, "Bad compressed size: " + T + " != " + G), K != w && Me(gt, "Bad uncompressed size: " + w + " != " + K), _t(_, me, Ue, { unsafe: !0, mt: Q });
|
|
5610
5610
|
}
|
|
5611
5611
|
function de(v, T) {
|
|
5612
5612
|
var w = T || {}, _ = [], E = [], A = Z(1), X = w.compression ? 8 : 0, Q = 0, V = 0, G = 0, K = 0, ne = 0, ue = v.FullPaths[0], me = ue, oe = v.FileIndex[0], pe = [], Ue = 0;
|
|
5613
5613
|
for (V = 1; V < v.FullPaths.length; ++V)
|
|
5614
5614
|
if (me = v.FullPaths[V].slice(ue.length), oe = v.FileIndex[V], !(!oe.size || !oe.content || me == "Sh33tJ5")) {
|
|
5615
|
-
var
|
|
5615
|
+
var gt = K, vt = Z(me.length);
|
|
5616
5616
|
for (G = 0; G < me.length; ++G)
|
|
5617
|
-
|
|
5618
|
-
|
|
5617
|
+
vt.write_shift(1, me.charCodeAt(G) & 127);
|
|
5618
|
+
vt = vt.slice(0, vt.l), pe[ne] = zu.buf(
|
|
5619
5619
|
/*::((*/
|
|
5620
5620
|
oe.content,
|
|
5621
5621
|
0
|
|
@@ -5625,11 +5625,11 @@ var zu = /* @__PURE__ */ function() {
|
|
|
5625
5625
|
4,
|
|
5626
5626
|
/*::(*/
|
|
5627
5627
|
oe.content.length
|
|
5628
|
-
), A.write_shift(2,
|
|
5628
|
+
), A.write_shift(2, vt.length), A.write_shift(2, 0), K += A.length, _.push(A), K += vt.length, _.push(vt), K += Xt.length, _.push(Xt), A = Z(46), A.write_shift(4, 33639248), A.write_shift(2, 0), A.write_shift(2, 20), A.write_shift(2, Q), A.write_shift(2, X), A.write_shift(4, 0), A.write_shift(-4, pe[ne]), A.write_shift(4, Xt.length), A.write_shift(
|
|
5629
5629
|
4,
|
|
5630
5630
|
/*::(*/
|
|
5631
5631
|
oe.content.length
|
|
5632
|
-
), A.write_shift(2,
|
|
5632
|
+
), A.write_shift(2, vt.length), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(4, 0), A.write_shift(4, gt), Ue += A.l, E.push(A), Ue += vt.length, E.push(vt), ++ne;
|
|
5633
5633
|
}
|
|
5634
5634
|
return A = Z(22), A.write_shift(4, 101010256), A.write_shift(2, 0), A.write_shift(2, 0), A.write_shift(2, ne), A.write_shift(2, ne), A.write_shift(4, Ue), A.write_shift(4, K), A.write_shift(2, 0), Ut([Ut(_), Ut(E), A]);
|
|
5635
5635
|
}
|
|
@@ -6590,7 +6590,7 @@ function lr(e) {
|
|
|
6590
6590
|
function Nt(e, t) {
|
|
6591
6591
|
return typeof t > "u" || typeof t == "number" ? Nt(e.s, e.e) : (typeof e != "string" && (e = ot(e)), typeof t != "string" && (t = ot(t)), e == t ? e : e + ":" + t);
|
|
6592
6592
|
}
|
|
6593
|
-
function
|
|
6593
|
+
function dt(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 = dt(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 y =
|
|
8369
|
+
var y = dt(o["!ref"]), R = [], W = [], j = [];
|
|
8370
8370
|
for (h = 0; h <= y.e.c - y.s.c; ++h) {
|
|
8371
8371
|
var C = "", I = "", N = 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(d, p) {
|
|
8725
|
-
var g = ["ID;PWXL;N;E"], h = [], x =
|
|
8725
|
+
var g = ["ID;PWXL;N;E"], h = [], x = dt(d["!ref"]), b, F = Array.isArray(d), y = `\r
|
|
8726
8726
|
`;
|
|
8727
8727
|
g.push("P;PGeneral"), g.push("F;P0;DG0G8;M255"), d["!cols"] && l(g, d["!cols"]), d["!rows"] && f(g, d["!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 R = x.s.r; R <= x.e.r; ++R)
|
|
@@ -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 = dt(c["!ref"]), u, d = 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 = [], d =
|
|
9074
|
+
for (var u = [], d = dt(f["!ref"]), p, g = Array.isArray(f), h = d.s.r; h <= d.e.r; ++h) {
|
|
9075
9075
|
for (var x = [], b = d.s.c; b <= d.e.c; ++b) {
|
|
9076
9076
|
var F = ot({ r: h, c: b });
|
|
9077
9077
|
if (p = g ? (f[h] || [])[b] : f[F], !p || p.v == null) {
|
|
@@ -9190,7 +9190,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
9190
9190
|
var D = k || {};
|
|
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 = Qt(), Y =
|
|
9193
|
+
var O = Qt(), Y = dt(S["!ref"]), te = Array.isArray(S), le = [];
|
|
9194
9194
|
fe(O, 0, i(1030)), fe(O, 6, c(Y));
|
|
9195
9195
|
for (var se = Math.min(Y.e.r, 8191), q = Y.s.r; q <= se; ++q)
|
|
9196
9196
|
for (var ee = Wt(q), he = Y.s.c; he <= Y.e.c; ++he) {
|
|
@@ -9218,7 +9218,7 @@ var Ad = /* @__PURE__ */ function() {
|
|
|
9218
9218
|
for (Y = 0; Y < S.SheetNames.length; ++Y) {
|
|
9219
9219
|
var se = S.Sheets[S.SheetNames[Y]];
|
|
9220
9220
|
if (!(!se || !se["!ref"])) {
|
|
9221
|
-
for (var q =
|
|
9221
|
+
for (var q = dt(se["!ref"]), ee = Array.isArray(se), he = [], Ie = Math.min(q.e.r, 8191), Ee = q.s.r; Ee <= Ie; ++Ee)
|
|
9222
9222
|
for (var Ne = Wt(Ee), Ce = q.s.c; Ce <= q.e.c; ++Ce) {
|
|
9223
9223
|
Ee === q.s.r && (he[Ce] = Gt(Ce));
|
|
9224
9224
|
var P = he[Ce] + Ne, Te = ee ? (se[Ee] || [])[Ce] : se[P];
|
|
@@ -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 = dt(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 = dt(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), ce("c", o, c);
|
|
12896
12896
|
}
|
|
12897
12897
|
function lx(e, t, r, n) {
|
|
12898
|
-
var a = [], i = [], s =
|
|
12898
|
+
var a = [], i = [], s = dt(e["!ref"]), o = "", c, l = "", f = [], u = 0, d = 0, p = e["!rows"], g = Array.isArray(e), h = { r: l }, x, b = -1;
|
|
12899
12899
|
for (d = s.s.c; d <= s.e.c; ++d)
|
|
12900
12900
|
f[d] = Gt(d);
|
|
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": Rt.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 = dt(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 = dt(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(dt(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(dt(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 = dt(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 = dt(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 F = !!x.width, y = oi(b, x), R = { "ss:Index": b + 1 };
|
|
@@ -17957,7 +17957,7 @@ function fv(e, t, r, n) {
|
|
|
17957
17957
|
fe(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 = dt(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), fe(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), fe(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(dt(t["!ref"] || "A1"), r), r.write_shift(4, 4), fe(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 = Qt(), 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 = "", d = [], p =
|
|
18060
|
+
var n = Qt(), 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 = "", d = [], p = dt(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 = dt(f);
|
|
19270
19270
|
break;
|
|
19271
19271
|
case "number":
|
|
19272
|
-
c =
|
|
19272
|
+
c = dt(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 = dt(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 d = 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 = dt(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] = Gt(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 = dt(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 : dt(t), i = typeof t == "string" ? t : Nt(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));
|
|
@@ -19913,7 +19913,7 @@ function v2({
|
|
|
19913
19913
|
}, [h, J]), be = (M) => {
|
|
19914
19914
|
var ae;
|
|
19915
19915
|
(ae = M.onClick) == null || ae.call(M), u == null || u(M), ee && b && et();
|
|
19916
|
-
}, lt = R ?? (F ? /* @__PURE__ */ m("img", { src: F, alt: y, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light",
|
|
19916
|
+
}, lt = R ?? (F ? /* @__PURE__ */ m("img", { src: F, alt: y, className: "sd-logo-img" }) : null), $e = B === "dark" ? "dark" : "light", ht = typeof L == "function", Je = q;
|
|
19917
19917
|
Se(() => {
|
|
19918
19918
|
!q && S && k(!1);
|
|
19919
19919
|
}, [S, q]), Se(() => {
|
|
@@ -19929,9 +19929,9 @@ function v2({
|
|
|
19929
19929
|
return "";
|
|
19930
19930
|
const ae = M.trim().split(" ");
|
|
19931
19931
|
return ae.length >= 2 ? `${ae[0][0]}${ae[1][0]}`.toUpperCase() : ae[0].substring(0, 2).toUpperCase();
|
|
19932
|
-
}, ct = ze((M, ae) => M.id ?? M.path ?? ae, []), Pt = ze((M) => l ? l(M) : c ? c === M.path : !1, [c, l]),
|
|
19932
|
+
}, ct = ze((M, ae) => M.id ?? M.path ?? ae, []), Pt = ze((M) => l ? l(M) : c ? c === M.path : !1, [c, l]), xt = ze((M) => {
|
|
19933
19933
|
const ae = M.children ?? [];
|
|
19934
|
-
return ae.length === 0 ? !1 : ae.some((We) => Pt(We) ||
|
|
19934
|
+
return ae.length === 0 ? !1 : ae.some((We) => Pt(We) || xt(We));
|
|
19935
19935
|
}, [Pt]), Ve = ze((M, ae) => {
|
|
19936
19936
|
var We;
|
|
19937
19937
|
(We = M.onClick) == null || We.call(M), u == null || u(M), O((Me) => ({
|
|
@@ -19939,7 +19939,7 @@ function v2({
|
|
|
19939
19939
|
[ae]: !Me[ae]
|
|
19940
19940
|
}));
|
|
19941
19941
|
}, [u]), Xe = ze((M, ae, We = 0) => M.map((Me, nt) => {
|
|
19942
|
-
const Yt = ct(Me, `${ae}-${nt}`), de = Pt(Me), Ae =
|
|
19942
|
+
const Yt = ct(Me, `${ae}-${nt}`), de = Pt(Me), Ae = xt(Me), Be = de || Ae, Le = Me.children ?? [], Ge = Le.length > 0, je = Ge && we && (Ae || !!D[Yt] || !q && Y === Yt), Re = Me.iconName ? ke[Me.iconName] : null, Ze = Me.icon ?? (Re ? /* @__PURE__ */ m(Re, {}) : null), Qe = /* @__PURE__ */ U(qr, { children: [
|
|
19943
19943
|
Ze && /* @__PURE__ */ U("span", { className: _e("sd-icon", we ? "sd-icon-left" : "sd-icon-center"), children: [
|
|
19944
19944
|
Ze,
|
|
19945
19945
|
!we && Me.badge && /* @__PURE__ */ m("span", { className: "sd-badge-dot" })
|
|
@@ -20008,7 +20008,7 @@ function v2({
|
|
|
20008
20008
|
D,
|
|
20009
20009
|
be,
|
|
20010
20010
|
Ve,
|
|
20011
|
-
|
|
20011
|
+
xt,
|
|
20012
20012
|
Y,
|
|
20013
20013
|
Pt,
|
|
20014
20014
|
q,
|
|
@@ -20079,7 +20079,7 @@ function v2({
|
|
|
20079
20079
|
] }),
|
|
20080
20080
|
/* @__PURE__ */ U("div", { className: "sd-footer", children: [
|
|
20081
20081
|
/* @__PURE__ */ U("div", { className: "sd-footer-actions", children: [
|
|
20082
|
-
|
|
20082
|
+
ht && /* @__PURE__ */ U(
|
|
20083
20083
|
"button",
|
|
20084
20084
|
{
|
|
20085
20085
|
type: "button",
|
|
@@ -20835,7 +20835,7 @@ const ym = (e, t, r) => Math.min(Math.max(e, t), r), Sm = At(function({
|
|
|
20835
20835
|
function({ className: t, ...r }, n) {
|
|
20836
20836
|
return /* @__PURE__ */ m("div", { ref: n, className: _e("esp-card-footer", t), ...r });
|
|
20837
20837
|
}
|
|
20838
|
-
),
|
|
20838
|
+
), pt = Object.assign(Sm, {
|
|
20839
20839
|
Header: Am,
|
|
20840
20840
|
Title: bm,
|
|
20841
20841
|
Description: Nm,
|
|
@@ -20856,13 +20856,13 @@ const A2 = At(function({
|
|
|
20856
20856
|
...l
|
|
20857
20857
|
}, f) {
|
|
20858
20858
|
return /* @__PURE__ */ m(
|
|
20859
|
-
|
|
20859
|
+
pt,
|
|
20860
20860
|
{
|
|
20861
20861
|
ref: f,
|
|
20862
20862
|
variant: s,
|
|
20863
20863
|
className: _e("esp-metric-card", `esp-metric-card-tone-${i}`, o),
|
|
20864
20864
|
...l,
|
|
20865
|
-
children: /* @__PURE__ */ U(
|
|
20865
|
+
children: /* @__PURE__ */ U(pt.Body, { className: "esp-metric-card-body", children: [
|
|
20866
20866
|
t ? /* @__PURE__ */ m("div", { className: "esp-metric-card-icon", "aria-hidden": "true", children: t }) : null,
|
|
20867
20867
|
/* @__PURE__ */ m("div", { className: "esp-metric-card-value", children: r }),
|
|
20868
20868
|
/* @__PURE__ */ m("div", { className: "esp-metric-card-title", children: n }),
|
|
@@ -21146,15 +21146,15 @@ const Aa = (e, t, r) => Math.min(Math.max(e, t), r), ba = (e) => typeof e == "nu
|
|
|
21146
21146
|
ge ? /* @__PURE__ */ m("div", { className: "esp-chart-x-axis-slot", children: ge }) : null,
|
|
21147
21147
|
d ? /* @__PURE__ */ m("span", { className: "esp-chart-x-title", "aria-hidden": "true", children: d }) : null
|
|
21148
21148
|
] }) : ve;
|
|
21149
|
-
return /* @__PURE__ */ U(
|
|
21150
|
-
t || r || n ? /* @__PURE__ */ U(
|
|
21149
|
+
return /* @__PURE__ */ U(pt, { ref: J, className: _e("esp-chart", N), style: z, ...H, children: [
|
|
21150
|
+
t || r || n ? /* @__PURE__ */ U(pt.Header, { className: "esp-chart-header", children: [
|
|
21151
21151
|
/* @__PURE__ */ U("div", { className: "esp-chart-header-copy", children: [
|
|
21152
|
-
t ? /* @__PURE__ */ m(
|
|
21153
|
-
r ? /* @__PURE__ */ m(
|
|
21152
|
+
t ? /* @__PURE__ */ m(pt.Title, { children: t }) : null,
|
|
21153
|
+
r ? /* @__PURE__ */ m(pt.Description, { children: r }) : null
|
|
21154
21154
|
] }),
|
|
21155
21155
|
n ? /* @__PURE__ */ m("div", { className: "esp-chart-header-actions", children: n }) : null
|
|
21156
21156
|
] }) : null,
|
|
21157
|
-
/* @__PURE__ */ m(
|
|
21157
|
+
/* @__PURE__ */ m(pt.Body, { className: "esp-chart-body", children: o ? /* @__PURE__ */ m("div", { className: "esp-chart-empty", role: "status", children: c }) : ye && (i === "left" || i === "right") ? /* @__PURE__ */ U(
|
|
21158
21158
|
"div",
|
|
21159
21159
|
{
|
|
21160
21160
|
className: _e(
|
|
@@ -21172,7 +21172,7 @@ const Aa = (e, t, r) => Math.min(Math.max(e, t), r), ba = (e) => typeof e == "nu
|
|
|
21172
21172
|
Ye,
|
|
21173
21173
|
i === "bottom" ? ye : null
|
|
21174
21174
|
] }) }),
|
|
21175
|
-
s ? /* @__PURE__ */ m(
|
|
21175
|
+
s ? /* @__PURE__ */ m(pt.Footer, { className: "esp-chart-footer", children: s }) : null
|
|
21176
21176
|
] });
|
|
21177
21177
|
}), km = {
|
|
21178
21178
|
primary: "var(--esp-color-primary)",
|
|
@@ -21250,9 +21250,12 @@ function Vl(e, t, r) {
|
|
|
21250
21250
|
return { min: 0, max: 1, ticks: [0, 1] };
|
|
21251
21251
|
if (r <= 1 || e === t)
|
|
21252
21252
|
return { min: e, max: t, ticks: [e, t] };
|
|
21253
|
-
const n = go(t - e, !1), a = go(n / Math.max(r - 1, 1), !0)
|
|
21254
|
-
|
|
21255
|
-
|
|
21253
|
+
const n = go(t - e, !1), a = go(n / Math.max(r - 1, 1), !0);
|
|
21254
|
+
if (a <= 0)
|
|
21255
|
+
return { min: e, max: t, ticks: [e, t] };
|
|
21256
|
+
const i = Math.floor(e / a) * a, s = Math.ceil(t / a) * a, o = [];
|
|
21257
|
+
for (let c = i; c <= s + a * 0.5 && (o.push(Im(c, a)), !(o.length > 20)); c += a)
|
|
21258
|
+
;
|
|
21256
21259
|
return { min: i, max: s, ticks: o };
|
|
21257
21260
|
}
|
|
21258
21261
|
function Lr(e, t, r, n, a) {
|
|
@@ -21508,11 +21511,11 @@ const Um = 760, $m = At(function({
|
|
|
21508
21511
|
right: ut,
|
|
21509
21512
|
bottom: 18,
|
|
21510
21513
|
left: ut
|
|
21511
|
-
}, lt = ee - be.left - be.right, $e = s - be.top - be.bottom,
|
|
21512
|
-
ye != null ?
|
|
21513
|
-
const Je = Vl(
|
|
21514
|
+
}, lt = ee - be.left - be.right, $e = s - be.top - be.bottom, ht = Om(t, r);
|
|
21515
|
+
ye != null ? ht.min = ye : ie && (ht.min = 0), ve != null && (ht.max = ve), ht.min >= ht.max && (ht.max = ht.min + 1);
|
|
21516
|
+
const Je = Vl(ht.min, ht.max, z), wt = ye ?? (ie ? 0 : void 0);
|
|
21514
21517
|
wt != null && Je.min < wt && (Je.min = wt, Je.ticks = Je.ticks.filter((de) => de >= wt)), ve != null && Je.max > ve && (Je.max = ve, Je.ticks = Je.ticks.filter((de) => de <= ve));
|
|
21515
|
-
const Vt = p || h ? Je.ticks : [], ct = t.map((de, Ae) => Lm(Ae, t.length, be.left, lt)), Pt = Xl(t.length),
|
|
21518
|
+
const Vt = p || h ? Je.ticks : [], ct = t.map((de, Ae) => Lm(Ae, t.length, be.left, lt)), Pt = Xl(t.length), xt = r.map((de, Ae) => {
|
|
21516
21519
|
const Be = Wl(de, Ae), Le = t.map((Ge, je) => {
|
|
21517
21520
|
const Re = _n(Ge, de.key);
|
|
21518
21521
|
return {
|
|
@@ -21527,29 +21530,29 @@ const Um = 760, $m = At(function({
|
|
|
21527
21530
|
points: Le
|
|
21528
21531
|
};
|
|
21529
21532
|
}), Ve = te !== null && t[te] ? (() => {
|
|
21530
|
-
const de = ja(t[te].label, xe), Ae =
|
|
21533
|
+
const de = ja(t[te].label, xe), Ae = xt.map((Le) => ({
|
|
21531
21534
|
key: Le.key,
|
|
21532
21535
|
label: Le.label,
|
|
21533
21536
|
value: Ya(Le.points[te].value, ge),
|
|
21534
21537
|
color: Le.color
|
|
21535
|
-
})), Be = Math.min(...
|
|
21538
|
+
})), Be = Math.min(...xt.map((Le) => Le.points[te].y));
|
|
21536
21539
|
return {
|
|
21537
21540
|
xPercent: ct[te] / ee * 100,
|
|
21538
21541
|
yPercent: Be / s * 100,
|
|
21539
21542
|
label: de,
|
|
21540
21543
|
items: Ae
|
|
21541
21544
|
};
|
|
21542
|
-
})() : null, Xe =
|
|
21545
|
+
})() : null, Xe = xt.map((de) => ({ label: de.label, color: de.color })), M = L ? /* @__PURE__ */ m(
|
|
21543
21546
|
Ul,
|
|
21544
21547
|
{
|
|
21545
21548
|
preferences: Ie,
|
|
21546
21549
|
availability: {
|
|
21547
21550
|
showTitle: !!n,
|
|
21548
21551
|
showDescription: !!a,
|
|
21549
|
-
showLegend:
|
|
21552
|
+
showLegend: xt.length > 0,
|
|
21550
21553
|
showXAxisLabel: !!x,
|
|
21551
21554
|
showYAxisLabel: !!b,
|
|
21552
|
-
showValueLabels:
|
|
21555
|
+
showValueLabels: xt.length > 0,
|
|
21553
21556
|
xTickRotation: g && t.length > 0
|
|
21554
21557
|
},
|
|
21555
21558
|
valueLabelsLabel: "Mostrar valores nos pontos",
|
|
@@ -21571,7 +21574,7 @@ const Um = 760, $m = At(function({
|
|
|
21571
21574
|
align: Be
|
|
21572
21575
|
};
|
|
21573
21576
|
}).filter((de) => de !== null) : void 0, Yt = Oe ? t.map((de, Ae) => {
|
|
21574
|
-
const Be =
|
|
21577
|
+
const Be = xt.map((Le, Ge) => ({
|
|
21575
21578
|
seriesKey: Le.key,
|
|
21576
21579
|
seriesIndex: Ge,
|
|
21577
21580
|
point: Le.points[Ae]
|
|
@@ -21615,7 +21618,7 @@ const Um = 760, $m = At(function({
|
|
|
21615
21618
|
fontFamily: I,
|
|
21616
21619
|
...O,
|
|
21617
21620
|
children: /* @__PURE__ */ m("div", { ref: q, className: "esp-chart-svg-frame", children: /* @__PURE__ */ U("svg", { viewBox: `0 0 ${ee} ${s}`, className: "esp-chart-svg", children: [
|
|
21618
|
-
/* @__PURE__ */ m("defs", { children:
|
|
21621
|
+
/* @__PURE__ */ m("defs", { children: xt.map((de) => /* @__PURE__ */ U(
|
|
21619
21622
|
"linearGradient",
|
|
21620
21623
|
{
|
|
21621
21624
|
id: `${se}-${de.key}`,
|
|
@@ -21673,7 +21676,7 @@ const Um = 760, $m = At(function({
|
|
|
21673
21676
|
className: "esp-chart-active-line"
|
|
21674
21677
|
}
|
|
21675
21678
|
) : null,
|
|
21676
|
-
|
|
21679
|
+
xt.map((de) => /* @__PURE__ */ U("g", { children: [
|
|
21677
21680
|
c ? /* @__PURE__ */ m(
|
|
21678
21681
|
"path",
|
|
21679
21682
|
{
|
|
@@ -21816,7 +21819,7 @@ const Wm = 760, N2 = At(function({
|
|
|
21816
21819
|
}, Te = D - P.left - P.right, we = s - P.top - P.bottom, ke = Rm(t, r), Oe = Vl(ke.min, ke.max, L), et = f || d ? Oe.ticks : [], ut = t.map((Ve, Xe) => Pm(Xe, t.length, P.left, Te)), be = Lr(0, Oe.min, Oe.max, P.top, we), lt = Xl(t.length), $e = r.map((Ve, Xe) => ({
|
|
21817
21820
|
...Ve,
|
|
21818
21821
|
color: Wl(Ve, Xe)
|
|
21819
|
-
})),
|
|
21822
|
+
})), ht = xe !== null && t[xe] ? (() => {
|
|
21820
21823
|
const Ve = ja(t[xe].label, ie), Xe = $e.map((ae) => ({
|
|
21821
21824
|
key: ae.key,
|
|
21822
21825
|
label: ae.label,
|
|
@@ -21854,7 +21857,7 @@ const Wm = 760, N2 = At(function({
|
|
|
21854
21857
|
key: String(Ve),
|
|
21855
21858
|
label: Vt[Xe],
|
|
21856
21859
|
topPercent: Lr(Ve, Oe.min, Oe.max, P.top, we) / s * 100
|
|
21857
|
-
})) : void 0, Pt = h ?? zl(Vt),
|
|
21860
|
+
})) : void 0, Pt = h ?? zl(Vt), xt = u ? t.map((Ve, Xe) => {
|
|
21858
21861
|
if (Xe % lt !== 0)
|
|
21859
21862
|
return null;
|
|
21860
21863
|
const M = Xe === 0 ? "start" : Xe === t.length - 1 ? "end" : "center";
|
|
@@ -21879,11 +21882,11 @@ const Wm = 760, N2 = At(function({
|
|
|
21879
21882
|
legendPosition: l,
|
|
21880
21883
|
empty: O,
|
|
21881
21884
|
emptyMessage: ye,
|
|
21882
|
-
tooltip:
|
|
21885
|
+
tooltip: ht,
|
|
21883
21886
|
ariaLabel: H ?? (typeof n == "string" ? n : "Bar chart"),
|
|
21884
21887
|
stageProps: { onMouseLeave: () => S(null), style: { height: s } },
|
|
21885
21888
|
xAxisLabel: he,
|
|
21886
|
-
xAxisTicks:
|
|
21889
|
+
xAxisTicks: xt,
|
|
21887
21890
|
xAxisTickRotation: Ne,
|
|
21888
21891
|
xAxisTickHeight: Gl(u, Ne),
|
|
21889
21892
|
yAxisLabel: Ie,
|
|
@@ -22135,14 +22138,14 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = At(function({
|
|
|
22135
22138
|
...H !== void 0 ? { "--esp-task-card-progress": `${H}%` } : {}
|
|
22136
22139
|
};
|
|
22137
22140
|
return /* @__PURE__ */ U(
|
|
22138
|
-
|
|
22141
|
+
pt,
|
|
22139
22142
|
{
|
|
22140
22143
|
ref: L,
|
|
22141
22144
|
className: _e("esp-task-card", C),
|
|
22142
22145
|
style: ie,
|
|
22143
22146
|
...B,
|
|
22144
22147
|
children: [
|
|
22145
|
-
/* @__PURE__ */ U(
|
|
22148
|
+
/* @__PURE__ */ U(pt.Header, { className: "esp-task-card-header", children: [
|
|
22146
22149
|
/* @__PURE__ */ U("div", { className: "esp-task-card-topline", children: [
|
|
22147
22150
|
/* @__PURE__ */ U("div", { className: "esp-task-card-badges", children: [
|
|
22148
22151
|
/* @__PURE__ */ m(
|
|
@@ -22170,10 +22173,10 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = At(function({
|
|
|
22170
22173
|
] }),
|
|
22171
22174
|
F ? /* @__PURE__ */ m("div", { className: "esp-task-card-due-date", children: F }) : null
|
|
22172
22175
|
] }),
|
|
22173
|
-
/* @__PURE__ */ m(
|
|
22174
|
-
r ? /* @__PURE__ */ m(
|
|
22176
|
+
/* @__PURE__ */ m(pt.Title, { className: "esp-task-card-title", children: t }),
|
|
22177
|
+
r ? /* @__PURE__ */ m(pt.Description, { className: "esp-task-card-description", children: r }) : null
|
|
22175
22178
|
] }),
|
|
22176
|
-
z ? /* @__PURE__ */ U(
|
|
22179
|
+
z ? /* @__PURE__ */ U(pt.Body, { className: "esp-task-card-body", children: [
|
|
22177
22180
|
J.length > 0 ? /* @__PURE__ */ m("div", { className: "esp-task-card-meta-grid", children: J.map((ye) => /* @__PURE__ */ U("div", { className: "esp-task-card-meta-item", children: [
|
|
22178
22181
|
/* @__PURE__ */ m("span", { className: "esp-task-card-meta-label", children: ye.label }),
|
|
22179
22182
|
/* @__PURE__ */ m("span", { className: "esp-task-card-meta-value", children: ye.value })
|
|
@@ -22203,7 +22206,7 @@ const Xm = (e, t, r) => Math.min(Math.max(e, t), r), Gm = At(function({
|
|
|
22203
22206
|
W ? /* @__PURE__ */ m("div", { className: "esp-task-card-meta-extra", children: W }) : null,
|
|
22204
22207
|
I
|
|
22205
22208
|
] }) : null,
|
|
22206
|
-
j ? /* @__PURE__ */ m(
|
|
22209
|
+
j ? /* @__PURE__ */ m(pt.Footer, { className: "esp-task-card-footer", children: j }) : null
|
|
22207
22210
|
]
|
|
22208
22211
|
}
|
|
22209
22212
|
);
|
|
@@ -22378,17 +22381,17 @@ const zm = 24 * 60 * 60 * 1e3, Ym = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), Ka = (
|
|
|
22378
22381
|
) : /* @__PURE__ */ m("div", { className: "esp-task-calendar-task-slot", children: we }, `${P.id}-${zr(Te.date)}-${J}`);
|
|
22379
22382
|
};
|
|
22380
22383
|
return /* @__PURE__ */ U(
|
|
22381
|
-
|
|
22384
|
+
pt,
|
|
22382
22385
|
{
|
|
22383
22386
|
ref: N,
|
|
22384
22387
|
variant: C,
|
|
22385
22388
|
className: _e("esp-task-calendar", j),
|
|
22386
22389
|
...I,
|
|
22387
22390
|
children: [
|
|
22388
|
-
/* @__PURE__ */ U(
|
|
22391
|
+
/* @__PURE__ */ U(pt.Header, { className: "esp-task-calendar-header", children: [
|
|
22389
22392
|
x || b ? /* @__PURE__ */ U("div", { className: "esp-task-calendar-copy", children: [
|
|
22390
|
-
x ? /* @__PURE__ */ m(
|
|
22391
|
-
b ? /* @__PURE__ */ m(
|
|
22393
|
+
x ? /* @__PURE__ */ m(pt.Title, { className: "esp-task-calendar-heading", children: x }) : null,
|
|
22394
|
+
b ? /* @__PURE__ */ m(pt.Description, { className: "esp-task-calendar-description", children: b }) : null
|
|
22392
22395
|
] }) : null,
|
|
22393
22396
|
/* @__PURE__ */ U("div", { className: "esp-task-calendar-toolbar", children: [
|
|
22394
22397
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-range-label", children: ee }),
|
|
@@ -22413,7 +22416,7 @@ const zm = 24 * 60 * 60 * 1e3, Ym = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), Ka = (
|
|
|
22413
22416
|
] })
|
|
22414
22417
|
] })
|
|
22415
22418
|
] }),
|
|
22416
|
-
/* @__PURE__ */ U(
|
|
22419
|
+
/* @__PURE__ */ U(pt.Body, { className: "esp-task-calendar-body", children: [
|
|
22417
22420
|
J === "month" ? /* @__PURE__ */ U("div", { className: "esp-task-calendar-grid-wrap", children: [
|
|
22418
22421
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-weekdays", children: Y.map((P) => /* @__PURE__ */ m("div", { className: "esp-task-calendar-weekday", children: P }, P)) }),
|
|
22419
22422
|
/* @__PURE__ */ m("div", { className: "esp-task-calendar-grid", children: k.map((P) => {
|
|
@@ -22693,17 +22696,17 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
|
|
|
22693
22696
|
ee.meta ? /* @__PURE__ */ m("div", { className: "esp-gantt-chart-item-meta", children: /* @__PURE__ */ m("span", { children: ee.meta }) }) : null
|
|
22694
22697
|
] });
|
|
22695
22698
|
return /* @__PURE__ */ U(
|
|
22696
|
-
|
|
22699
|
+
pt,
|
|
22697
22700
|
{
|
|
22698
22701
|
ref: j,
|
|
22699
22702
|
className: _e("esp-gantt-chart", y),
|
|
22700
22703
|
variant: R,
|
|
22701
22704
|
...W,
|
|
22702
22705
|
children: [
|
|
22703
|
-
/* @__PURE__ */ U(
|
|
22706
|
+
/* @__PURE__ */ U(pt.Header, { className: "esp-gantt-chart-header", children: [
|
|
22704
22707
|
/* @__PURE__ */ U("div", { children: [
|
|
22705
|
-
l ? /* @__PURE__ */ m(
|
|
22706
|
-
f ? /* @__PURE__ */ m(
|
|
22708
|
+
l ? /* @__PURE__ */ m(pt.Title, { children: l }) : null,
|
|
22709
|
+
f ? /* @__PURE__ */ m(pt.Description, { children: f }) : null
|
|
22707
22710
|
] }),
|
|
22708
22711
|
/* @__PURE__ */ U("div", { className: "esp-gantt-chart-toolbar", children: [
|
|
22709
22712
|
d ? /* @__PURE__ */ m(
|
|
@@ -22726,7 +22729,7 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
|
|
|
22726
22729
|
] })
|
|
22727
22730
|
] })
|
|
22728
22731
|
] }),
|
|
22729
|
-
/* @__PURE__ */ m(
|
|
22732
|
+
/* @__PURE__ */ m(pt.Body, { className: "esp-gantt-chart-body", children: /* @__PURE__ */ m("div", { className: "esp-gantt-chart-scroll", children: /* @__PURE__ */ U(
|
|
22730
22733
|
"div",
|
|
22731
22734
|
{
|
|
22732
22735
|
className: "esp-gantt-chart-table",
|
|
@@ -22768,7 +22771,7 @@ const t2 = 24 * 60 * 60 * 1e3, r2 = (e) => /^\d{4}-\d{2}-\d{2}$/.test(e), ra = (
|
|
|
22768
22771
|
] }),
|
|
22769
22772
|
D ? t.map((ee) => {
|
|
22770
22773
|
const he = i2(ee), Ie = To(he, ye, ve, De), Ee = Eo(ee);
|
|
22771
|
-
return /* @__PURE__ */ U(
|
|
22774
|
+
return /* @__PURE__ */ U(mt.Fragment, { children: [
|
|
22772
22775
|
/* @__PURE__ */ U("div", { className: "esp-gantt-chart-row esp-gantt-chart-row-group", children: [
|
|
22773
22776
|
/* @__PURE__ */ m(
|
|
22774
22777
|
"div",
|
|
@@ -23044,7 +23047,7 @@ const f2 = ({
|
|
|
23044
23047
|
}
|
|
23045
23048
|
)
|
|
23046
23049
|
] }), size: "sm", ...o, children: /* @__PURE__ */ m("p", { style: { margin: 0, color: "var(--esp-text-base)" }, children: e }) });
|
|
23047
|
-
const u2 = ({ id: e, message: t, type: r = "info", duration: n = 3e3, onClose: a }) => (
|
|
23050
|
+
const u2 = ({ id: e, message: t, type: r = "info", duration: n = 3e3, onClose: a }) => (mt.useEffect(() => {
|
|
23048
23051
|
if (n > 0) {
|
|
23049
23052
|
const i = setTimeout(() => {
|
|
23050
23053
|
a(e);
|
|
@@ -23193,7 +23196,7 @@ export {
|
|
|
23193
23196
|
k2 as Background,
|
|
23194
23197
|
N2 as BarChart,
|
|
23195
23198
|
En as Button,
|
|
23196
|
-
|
|
23199
|
+
pt as Card,
|
|
23197
23200
|
xo as CardBody,
|
|
23198
23201
|
Nm as CardDescription,
|
|
23199
23202
|
Fm as CardFooter,
|