@imj_media/ui 1.6.15 → 1.6.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -2
- package/README.md +1 -1
- package/dist/index.esm.js +412 -408
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.d.ts +4 -0
- package/dist/modules/Table/hooks/useTableColumns.d.ts.map +1 -1
- package/dist/modules/Table/hooks/useTableColumns.test.d.ts +2 -0
- package/dist/modules/Table/hooks/useTableColumns.test.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -20,7 +20,7 @@ import i1 from "lodash/isEqual";
|
|
|
20
20
|
import r1 from "classnames";
|
|
21
21
|
import oa from "memoize-one";
|
|
22
22
|
import vu from "dayjs/plugin/localizedFormat";
|
|
23
|
-
import { ReviewProvider as
|
|
23
|
+
import { ReviewProvider as lb, useReview as ub } from "@bitux/review-layer-react";
|
|
24
24
|
function N(...e) {
|
|
25
25
|
return J0(Q0(e));
|
|
26
26
|
}
|
|
@@ -85,7 +85,7 @@ function pr(e, n, r) {
|
|
|
85
85
|
const t = Math.max(e.width, 0), i = Math.max(e.height, 0), a = t > 0 ? Math.min(1, t) : 0, s = i > 0 ? Math.min(1, i) : 0, l = t > 0 ? e.right - a : e.left, u = i > 0 ? e.bottom - s : e.top, d = Math.min(Math.max(n, e.left), l), f = Math.min(Math.max(r, e.top), u);
|
|
86
86
|
return { x: d, y: f };
|
|
87
87
|
}
|
|
88
|
-
const sa = 1e3,
|
|
88
|
+
const sa = 1e3, Tg = 1200, Mr = sa - 100;
|
|
89
89
|
function o1(e, n, r, t, i, a, s, l, u, d) {
|
|
90
90
|
if (!e || e === "auto")
|
|
91
91
|
return { left: r, top: t };
|
|
@@ -239,8 +239,8 @@ function Iu(e) {
|
|
|
239
239
|
const mo = (e, n, r) => {
|
|
240
240
|
const t = Array.from(e), [i] = t.splice(n, 1);
|
|
241
241
|
return t.splice(r, 0, i), t;
|
|
242
|
-
},
|
|
243
|
-
function
|
|
242
|
+
}, Vg = (e, n, r) => n === r || n < 0 || n >= e.length || r < 0 || r >= e.length ? e : mo(e, n, r), Hg = (e, n, r = "id") => e.findIndex((t) => t[r] === n);
|
|
243
|
+
function Eg(e, n) {
|
|
244
244
|
let r = !1, t;
|
|
245
245
|
return function(...i) {
|
|
246
246
|
return r || (r = !0, t = e.apply(this, i), setTimeout(() => {
|
|
@@ -248,7 +248,7 @@ function Hg(e, n) {
|
|
|
248
248
|
}, n)), t;
|
|
249
249
|
};
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function Pg(e, n) {
|
|
252
252
|
let r = !1, t = null;
|
|
253
253
|
return function(...i) {
|
|
254
254
|
t = i, r || (e.apply(this, i), r = !0, t = null, setTimeout(() => {
|
|
@@ -2980,7 +2980,7 @@ const wc = ({
|
|
|
2980
2980
|
]
|
|
2981
2981
|
}
|
|
2982
2982
|
);
|
|
2983
|
-
},
|
|
2983
|
+
}, Ag = (e) => /* @__PURE__ */ o(wc, { ...e }), yc = () => ({
|
|
2984
2984
|
getAlertClassName: (i, a, s = "contained") => `ui-rounded-2xl ui-p-2 ui-shadow-md ui-transform ui-transition-all ui-duration-300 ui-ease-in-out ${a ? "ui-opacity-0 ui-translate-x-4" : "ui-opacity-100 ui-translate-x-0"} ${{
|
|
2985
2985
|
success: {
|
|
2986
2986
|
contained: "ui-bg-success-500",
|
|
@@ -4391,7 +4391,7 @@ const Ec = (e, n, r, t = !1) => {
|
|
|
4391
4391
|
};
|
|
4392
4392
|
return window.addEventListener("keydown", u), () => window.removeEventListener("keydown", u);
|
|
4393
4393
|
}, [e, r, n]);
|
|
4394
|
-
},
|
|
4394
|
+
}, Rg = () => {
|
|
4395
4395
|
const [e, n] = F({ x: 0, y: 0 }), [r, t] = F({ width: 0, height: 0 }), [i, a] = F(!1), s = _(null), l = _(null);
|
|
4396
4396
|
return { RenderElementOnClick: ({ children: f, className: c }) => (ie(() => {
|
|
4397
4397
|
if (!i) return;
|
|
@@ -4451,7 +4451,7 @@ const Ec = (e, n, r, t = !1) => {
|
|
|
4451
4451
|
document.body.contains(n) && document.body.removeChild(n);
|
|
4452
4452
|
};
|
|
4453
4453
|
}, [n, e]), n;
|
|
4454
|
-
},
|
|
4454
|
+
}, zg = (e, n, r, t) => {
|
|
4455
4455
|
ie(() => {
|
|
4456
4456
|
if (!e) return;
|
|
4457
4457
|
const i = () => {
|
|
@@ -5826,7 +5826,7 @@ const Jc = ({
|
|
|
5826
5826
|
}
|
|
5827
5827
|
);
|
|
5828
5828
|
return Ni.createPortal(yt, _e);
|
|
5829
|
-
}, g1 = Qc(Jc),
|
|
5829
|
+
}, g1 = Qc(Jc), Bg = ({
|
|
5830
5830
|
isOpen: e,
|
|
5831
5831
|
onClose: n,
|
|
5832
5832
|
label: r = "",
|
|
@@ -25442,7 +25442,7 @@ const dn = ({
|
|
|
25442
25442
|
)
|
|
25443
25443
|
] })
|
|
25444
25444
|
] }) }) : w;
|
|
25445
|
-
},
|
|
25445
|
+
}, $g = ({
|
|
25446
25446
|
children: e,
|
|
25447
25447
|
className: n,
|
|
25448
25448
|
theme: r = "solid",
|
|
@@ -26867,7 +26867,7 @@ const Mo = ({
|
|
|
26867
26867
|
) }),
|
|
26868
26868
|
e
|
|
26869
26869
|
] });
|
|
26870
|
-
},
|
|
26870
|
+
}, Fg = ({
|
|
26871
26871
|
items: e,
|
|
26872
26872
|
currentValue: n,
|
|
26873
26873
|
onItemClick: r,
|
|
@@ -26900,7 +26900,7 @@ const Mo = ({
|
|
|
26900
26900
|
className: "ui-m-0 ui-box-border ui-h-0 ui-w-full ui-border-0 ui-border-t ui-border-solid ui-border-default",
|
|
26901
26901
|
role: "presentation"
|
|
26902
26902
|
}
|
|
26903
|
-
) }),
|
|
26903
|
+
) }), Zg = ({
|
|
26904
26904
|
groups: e,
|
|
26905
26905
|
currentValue: n,
|
|
26906
26906
|
onItemClick: r,
|
|
@@ -26991,7 +26991,7 @@ const Mo = ({
|
|
|
26991
26991
|
] })
|
|
26992
26992
|
]
|
|
26993
26993
|
}
|
|
26994
|
-
),
|
|
26994
|
+
), _g = ({
|
|
26995
26995
|
items: e,
|
|
26996
26996
|
selectedValue: n,
|
|
26997
26997
|
onSelectionChange: r,
|
|
@@ -27033,7 +27033,7 @@ const Mo = ({
|
|
|
27033
27033
|
className: "focus:ui-ring-brand ui-h-32 ui-w-full ui-rounded-control-sm ui-border ui-border-default ui-py-4 ui-pl-32 ui-pr-8 ui-text-body-sm-regular ui-text-primary ui-transition-all placeholder:ui-text-tertiary focus:ui-border-brand focus:ui-outline-none focus:ui-ring-1"
|
|
27034
27034
|
}
|
|
27035
27035
|
)
|
|
27036
|
-
] }),
|
|
27036
|
+
] }), Ug = ({
|
|
27037
27037
|
users: e,
|
|
27038
27038
|
onUserToggle: n,
|
|
27039
27039
|
onDelete: r,
|
|
@@ -27246,7 +27246,7 @@ const Mo = ({
|
|
|
27246
27246
|
}
|
|
27247
27247
|
);
|
|
27248
27248
|
ko.displayName = "Toggle";
|
|
27249
|
-
const
|
|
27249
|
+
const Gg = {
|
|
27250
27250
|
// Clases semánticas de color (background)
|
|
27251
27251
|
colors: {
|
|
27252
27252
|
active: "ui-bg-fill-brand",
|
|
@@ -27379,7 +27379,7 @@ const Ug = {
|
|
|
27379
27379
|
]
|
|
27380
27380
|
}
|
|
27381
27381
|
);
|
|
27382
|
-
},
|
|
27382
|
+
}, qg = ({
|
|
27383
27383
|
items: e,
|
|
27384
27384
|
onToggleChange: n,
|
|
27385
27385
|
onItemsReorder: r,
|
|
@@ -27503,7 +27503,7 @@ const Ug = {
|
|
|
27503
27503
|
]
|
|
27504
27504
|
}
|
|
27505
27505
|
);
|
|
27506
|
-
},
|
|
27506
|
+
}, Yg = ({
|
|
27507
27507
|
users: e,
|
|
27508
27508
|
selectedUserId: n,
|
|
27509
27509
|
onUserClick: r,
|
|
@@ -27580,7 +27580,7 @@ const Ug = {
|
|
|
27580
27580
|
]
|
|
27581
27581
|
}
|
|
27582
27582
|
);
|
|
27583
|
-
},
|
|
27583
|
+
}, Kg = ({
|
|
27584
27584
|
items: e,
|
|
27585
27585
|
onCheckboxChange: n,
|
|
27586
27586
|
className: r
|
|
@@ -27604,7 +27604,7 @@ const Ug = {
|
|
|
27604
27604
|
t.id
|
|
27605
27605
|
))
|
|
27606
27606
|
}
|
|
27607
|
-
),
|
|
27607
|
+
), Xg = ({
|
|
27608
27608
|
user: e,
|
|
27609
27609
|
menuItems: n,
|
|
27610
27610
|
selectedItemId: r,
|
|
@@ -27674,7 +27674,7 @@ const Ug = {
|
|
|
27674
27674
|
]
|
|
27675
27675
|
}
|
|
27676
27676
|
);
|
|
27677
|
-
},
|
|
27677
|
+
}, Qg = ({
|
|
27678
27678
|
groups: e,
|
|
27679
27679
|
selectedItem: n,
|
|
27680
27680
|
onItemClick: r,
|
|
@@ -27713,7 +27713,7 @@ const Ug = {
|
|
|
27713
27713
|
}) })
|
|
27714
27714
|
] }, i.letter))
|
|
27715
27715
|
}
|
|
27716
|
-
),
|
|
27716
|
+
), Jg = ({
|
|
27717
27717
|
title: e = "Filtrar Por",
|
|
27718
27718
|
items: n,
|
|
27719
27719
|
selectedItemId: r,
|
|
@@ -27765,7 +27765,7 @@ const Ug = {
|
|
|
27765
27765
|
}
|
|
27766
27766
|
),
|
|
27767
27767
|
/* @__PURE__ */ o("h3", { className: "ui-text-body-sm-regular ui-font-body-sm-bold ui-text-primary", children: e })
|
|
27768
|
-
] }),
|
|
27768
|
+
] }), Wg = ({
|
|
27769
27769
|
title: e = "Headline",
|
|
27770
27770
|
items: n,
|
|
27771
27771
|
onItemToggle: r,
|
|
@@ -30071,7 +30071,7 @@ function p5(e, n, r, t, i) {
|
|
|
30071
30071
|
a.index
|
|
30072
30072
|
));
|
|
30073
30073
|
}
|
|
30074
|
-
function
|
|
30074
|
+
function eC({
|
|
30075
30075
|
initialView: e,
|
|
30076
30076
|
menus: n,
|
|
30077
30077
|
activeIndex: r,
|
|
@@ -30638,7 +30638,7 @@ const C5 = (e) => {
|
|
|
30638
30638
|
isToday: u,
|
|
30639
30639
|
formatDate: d
|
|
30640
30640
|
};
|
|
30641
|
-
},
|
|
30641
|
+
}, tC = (e = "", n = "dd/MM/yyyy", r = "es-ES") => {
|
|
30642
30642
|
const [t, i] = F({
|
|
30643
30643
|
isFocused: !1,
|
|
30644
30644
|
inputValue: e
|
|
@@ -33677,7 +33677,7 @@ const G5 = {
|
|
|
33677
33677
|
tiro: "🎯",
|
|
33678
33678
|
esgrima: "🤺",
|
|
33679
33679
|
boxeo: "🥊"
|
|
33680
|
-
},
|
|
33680
|
+
}, nC = ({ name: e, size: n, className: r }) => {
|
|
33681
33681
|
const t = G5[e], i = ct(`ui-inline-block ui-leading-none ${r}`, {
|
|
33682
33682
|
variants: {
|
|
33683
33683
|
size: {
|
|
@@ -35638,7 +35638,7 @@ const S1 = "emoji-picker-recent", K5 = ({
|
|
|
35638
35638
|
}),
|
|
35639
35639
|
[s, f, d, c]
|
|
35640
35640
|
);
|
|
35641
|
-
},
|
|
35641
|
+
}, iC = ({
|
|
35642
35642
|
filters: e = [],
|
|
35643
35643
|
clearText: n = "Limpiar",
|
|
35644
35644
|
title: r = "Filtros",
|
|
@@ -36225,7 +36225,7 @@ const c7 = {
|
|
|
36225
36225
|
] });
|
|
36226
36226
|
});
|
|
36227
36227
|
m7.displayName = "FileUploader";
|
|
36228
|
-
function
|
|
36228
|
+
function rC(e) {
|
|
36229
36229
|
var t;
|
|
36230
36230
|
const n = ((t = e.split(".").pop()) == null ? void 0 : t.toLowerCase()) ?? "";
|
|
36231
36231
|
return {
|
|
@@ -36489,7 +36489,7 @@ const x7 = () => {
|
|
|
36489
36489
|
pill: "xs",
|
|
36490
36490
|
className: N("ui-h-8 ui-w-8")
|
|
36491
36491
|
}
|
|
36492
|
-
),
|
|
36492
|
+
), oC = ({
|
|
36493
36493
|
value: e,
|
|
36494
36494
|
defaultValue: n = "",
|
|
36495
36495
|
onChange: r,
|
|
@@ -36902,7 +36902,7 @@ const x7 = () => {
|
|
|
36902
36902
|
sm: 24,
|
|
36903
36903
|
md: 32,
|
|
36904
36904
|
lg: 40
|
|
36905
|
-
},
|
|
36905
|
+
}, aC = ({ size: e = "sm" }) => {
|
|
36906
36906
|
const n = S7[e];
|
|
36907
36907
|
return /* @__PURE__ */ o(_a, { width: n, height: n, role: "img", "aria-label": "Logo" });
|
|
36908
36908
|
}, k7 = {
|
|
@@ -37739,7 +37739,7 @@ const B7 = [
|
|
|
37739
37739
|
ip: Q7,
|
|
37740
37740
|
assets: J7,
|
|
37741
37741
|
slots: W7
|
|
37742
|
-
},
|
|
37742
|
+
}, sC = ({ size: e = 96, loop: n = !0, style: r, className: t }) => /* @__PURE__ */ o(
|
|
37743
37743
|
"div",
|
|
37744
37744
|
{
|
|
37745
37745
|
className: N("ui-imj", t),
|
|
@@ -38065,7 +38065,7 @@ const B7 = [
|
|
|
38065
38065
|
selectedValue: a,
|
|
38066
38066
|
handleChange: s
|
|
38067
38067
|
};
|
|
38068
|
-
},
|
|
38068
|
+
}, lC = ({
|
|
38069
38069
|
options: e,
|
|
38070
38070
|
value: n,
|
|
38071
38071
|
onChange: r,
|
|
@@ -38110,7 +38110,7 @@ const B7 = [
|
|
|
38110
38110
|
))
|
|
38111
38111
|
}
|
|
38112
38112
|
);
|
|
38113
|
-
},
|
|
38113
|
+
}, uC = ({
|
|
38114
38114
|
value: e = 0,
|
|
38115
38115
|
max: n = 5,
|
|
38116
38116
|
size: r = "md",
|
|
@@ -38549,7 +38549,7 @@ const bf = _t(function({
|
|
|
38549
38549
|
] });
|
|
38550
38550
|
});
|
|
38551
38551
|
bf.displayName = "RangeSelector";
|
|
38552
|
-
const
|
|
38552
|
+
const cC = ({ width: e, height: n = 20, circle: r = !1, className: t }) => {
|
|
38553
38553
|
const i = N(
|
|
38554
38554
|
"ui-imj",
|
|
38555
38555
|
"ui-animate-pulse ui-bg-neutral-200",
|
|
@@ -38762,7 +38762,7 @@ const uC = ({ width: e, height: n = 20, circle: r = !1, className: t }) => {
|
|
|
38762
38762
|
color: "blue",
|
|
38763
38763
|
size: "md"
|
|
38764
38764
|
}
|
|
38765
|
-
}),
|
|
38765
|
+
}), dC = ({
|
|
38766
38766
|
steps: e,
|
|
38767
38767
|
color: n,
|
|
38768
38768
|
size: r,
|
|
@@ -41841,7 +41841,7 @@ const zn = [
|
|
|
41841
41841
|
"day",
|
|
41842
41842
|
"week",
|
|
41843
41843
|
"month"
|
|
41844
|
-
],
|
|
41844
|
+
], fC = To;
|
|
41845
41845
|
function tn(e) {
|
|
41846
41846
|
switch (e) {
|
|
41847
41847
|
case "hour":
|
|
@@ -41872,7 +41872,7 @@ function As(e, n, r, t) {
|
|
|
41872
41872
|
const i = n - e;
|
|
41873
41873
|
return !(i > 0) || !Number.isFinite(i) ? { vs: r, ve: Math.min(r + zr, t) } : (e < r && (e = r, n = e + i), n > t && (n = t, e = n - i), e < r && (e = r), n <= e && (n = Math.min(e + zr, t)), { vs: e, ve: n });
|
|
41874
41874
|
}
|
|
41875
|
-
function
|
|
41875
|
+
function hC(e) {
|
|
41876
41876
|
const n = zn.indexOf(e);
|
|
41877
41877
|
return n >= 0 ? n : e === "year" ? zn.length - 1 : 2;
|
|
41878
41878
|
}
|
|
@@ -41996,7 +41996,7 @@ function gh(e, n) {
|
|
|
41996
41996
|
function V1(e, n) {
|
|
41997
41997
|
return `${e}|${n}`;
|
|
41998
41998
|
}
|
|
41999
|
-
function
|
|
41999
|
+
function pC(e, n) {
|
|
42000
42000
|
const r = Ze(e.viewStart), t = Ze(e.viewEnd);
|
|
42001
42001
|
if (!Number.isFinite(r) || !Number.isFinite(t) || t <= r) return null;
|
|
42002
42002
|
const i = Math.max(0, Math.min(1, n.anchorFraction)), a = r + i * (t - r), s = Math.max(0, Math.min(zn.length - 1, Math.round(n.targetScaleIndex))), l = zn[s], { viewStart: u, viewEnd: d } = Vo(l, a, e), f = e.scale ?? "day", c = f === "year" ? "month" : f, p = tn(l), h = e.columnWidthPx ?? tn(c);
|
|
@@ -42028,7 +42028,7 @@ function Ch(e, n) {
|
|
|
42028
42028
|
includeLeadingFullMonth: l === "day" ? !1 : e.includeLeadingFullMonth
|
|
42029
42029
|
};
|
|
42030
42030
|
}
|
|
42031
|
-
const Bi = 96, Ho = 120,
|
|
42031
|
+
const Bi = 96, Ho = 120, mC = Ho, bh = 200, vh = 300;
|
|
42032
42032
|
function $i(e, n, r, t) {
|
|
42033
42033
|
if (t <= 0) return { start: 0, end: 0 };
|
|
42034
42034
|
const i = Math.max(1, Math.round(r)), a = Math.max(1, n), s = Math.max(0, e), l = Math.floor(s / i), u = Math.min(t - 1, Math.floor((s + a - 1) / i)), d = Math.max(1, u - l + 1);
|
|
@@ -42042,7 +42042,7 @@ function $i(e, n, r, t) {
|
|
|
42042
42042
|
const m = Math.min(t - 1, h + f - 1);
|
|
42043
42043
|
return m - h + 1 < f && (h = Math.max(0, m - f + 1)), { start: h, end: m };
|
|
42044
42044
|
}
|
|
42045
|
-
const
|
|
42045
|
+
const gC = $i, CC = 72;
|
|
42046
42046
|
function Br(e, n) {
|
|
42047
42047
|
if (e <= 0) return [];
|
|
42048
42048
|
const r = Math.max(1, Math.ceil(e / n)), t = [];
|
|
@@ -43025,7 +43025,7 @@ const Th = ({
|
|
|
43025
43025
|
I.id
|
|
43026
43026
|
)) })
|
|
43027
43027
|
] });
|
|
43028
|
-
}, Zs = ot(Hh),
|
|
43028
|
+
}, Zs = ot(Hh), bC = ({ columns: e, onAddFilter: n, className: r }) => {
|
|
43029
43029
|
const [t, i] = F(""), [a, s] = F(""), [l, u] = F(""), [d, f] = F(""), c = ee(
|
|
43030
43030
|
() => e.find((C) => C.value === t),
|
|
43031
43031
|
[e, t]
|
|
@@ -43126,7 +43126,7 @@ const Th = ({
|
|
|
43126
43126
|
)
|
|
43127
43127
|
] })
|
|
43128
43128
|
] });
|
|
43129
|
-
},
|
|
43129
|
+
}, vC = ({ filters: e, onRemoveFilter: n, className: r }) => {
|
|
43130
43130
|
if (e.length === 0)
|
|
43131
43131
|
return /* @__PURE__ */ b(
|
|
43132
43132
|
"div",
|
|
@@ -43667,10 +43667,10 @@ const Eh = _s, Ph = ({
|
|
|
43667
43667
|
clearSort: i,
|
|
43668
43668
|
setSort: a
|
|
43669
43669
|
};
|
|
43670
|
-
}, Zh = (e, n) => e.includes(n) ? e.filter((t) => t !== n) : [...e, n],
|
|
43670
|
+
}, Zh = (e, n) => e.includes(n) ? e.filter((t) => t !== n) : [...e, n], wC = (e, n) => {
|
|
43671
43671
|
const r = e.map((i) => i.id);
|
|
43672
43672
|
return r.every((i) => n.includes(i)) ? [] : r;
|
|
43673
|
-
},
|
|
43673
|
+
}, yC = (e, n, r, t) => {
|
|
43674
43674
|
const i = n.indexOf(r), a = n.indexOf(t);
|
|
43675
43675
|
if (i === -1 || a === -1) return e;
|
|
43676
43676
|
const s = Math.min(i, a), l = Math.max(i, a), u = n.slice(s, l + 1), d = /* @__PURE__ */ new Set([...e, ...u]);
|
|
@@ -43732,12 +43732,16 @@ const Eh = _s, Ph = ({
|
|
|
43732
43732
|
}, Gh = (e, n, r) => {
|
|
43733
43733
|
const t = [...e], [i] = t.splice(n, 1);
|
|
43734
43734
|
return t.splice(r, 0, i), t;
|
|
43735
|
-
}, qh = (e, n) => e.map((r) => r.id === n ? { ...r, visible: !r.visible } : r), Yh = (e, n, r) => e.map((t) => t.id === n ? { ...t, visible: r } : t), Kh = (e, n) => e.map((r) => r.id === n ? { ...r, locked: !r.locked } : r), Xh = (e, n, r) => e.map((t) => t.id === n ? { ...t, width: r } : t),
|
|
43735
|
+
}, qh = (e, n) => e.map((r) => r.id === n ? { ...r, visible: !r.visible } : r), Yh = (e, n, r) => e.map((t) => t.id === n ? { ...t, visible: r } : t), Kh = (e, n) => e.map((r) => r.id === n ? { ...r, locked: !r.locked } : r), Xh = (e, n, r) => e.map((t) => t.id === n ? { ...t, width: r } : t), xC = (e) => e.map((n) => ({
|
|
43736
43736
|
...n,
|
|
43737
43737
|
visible: !0,
|
|
43738
43738
|
locked: !1,
|
|
43739
43739
|
width: n.width
|
|
43740
|
-
})),
|
|
43740
|
+
})), LC = (e) => e.filter((n) => n.visible !== !1), MC = (e) => e.filter((n) => n.locked === !0);
|
|
43741
|
+
function Qh(e, n) {
|
|
43742
|
+
return e.render === void 0 && n.render === void 0 || e.render !== void 0 && n.render !== void 0 && e.render === n.render ? e.accessor === n.accessor : !1;
|
|
43743
|
+
}
|
|
43744
|
+
const Jh = (e) => {
|
|
43741
43745
|
const [n, r] = F(e);
|
|
43742
43746
|
ie(() => {
|
|
43743
43747
|
r((f) => {
|
|
@@ -43766,7 +43770,7 @@ const Eh = _s, Ph = ({
|
|
|
43766
43770
|
)
|
|
43767
43771
|
), C.length === f.length && C.every((v, y) => {
|
|
43768
43772
|
const w = f[y];
|
|
43769
|
-
return v.id === w.id && v.width === w.width && v.originalWidth === w.originalWidth && v.visible === w.visible && v.locked === w.locked && v.columnOptions === w.columnOptions && v.columnOptionsLoading === w.columnOptionsLoading && v.editable === w.editable && v.header === w.header;
|
|
43773
|
+
return v.id === w.id && v.width === w.width && v.originalWidth === w.originalWidth && v.visible === w.visible && v.locked === w.locked && v.columnOptions === w.columnOptions && v.columnOptionsLoading === w.columnOptionsLoading && v.editable === w.editable && v.header === w.header && Qh(v, w);
|
|
43770
43774
|
}) ? f : C;
|
|
43771
43775
|
});
|
|
43772
43776
|
}, [e]);
|
|
@@ -43798,7 +43802,7 @@ const Eh = _s, Ph = ({
|
|
|
43798
43802
|
setColumnsOrder: u,
|
|
43799
43803
|
resetColumns: d
|
|
43800
43804
|
};
|
|
43801
|
-
},
|
|
43805
|
+
}, Wh = (e = []) => {
|
|
43802
43806
|
const [n, r] = F(new Set(e)), t = T((c) => {
|
|
43803
43807
|
r((p) => {
|
|
43804
43808
|
const h = new Set(p);
|
|
@@ -43843,7 +43847,7 @@ const Eh = _s, Ph = ({
|
|
|
43843
43847
|
isExpanded: d,
|
|
43844
43848
|
applyExpandedState: f
|
|
43845
43849
|
};
|
|
43846
|
-
},
|
|
43850
|
+
}, ep = () => {
|
|
43847
43851
|
const [e, n] = F(null), r = T((a, s) => {
|
|
43848
43852
|
n({ rowId: a, columnId: s });
|
|
43849
43853
|
}, []), t = T(() => {
|
|
@@ -43863,7 +43867,7 @@ const Eh = _s, Ph = ({
|
|
|
43863
43867
|
operator: e.operator,
|
|
43864
43868
|
value: e.value,
|
|
43865
43869
|
value2: e.value2
|
|
43866
|
-
}),
|
|
43870
|
+
}), tp = ({
|
|
43867
43871
|
initialFilters: e = [],
|
|
43868
43872
|
onFiltersChange: n
|
|
43869
43873
|
} = {}) => {
|
|
@@ -43922,7 +43926,7 @@ const Eh = _s, Ph = ({
|
|
|
43922
43926
|
clearFilters: l,
|
|
43923
43927
|
setAllFilters: u
|
|
43924
43928
|
};
|
|
43925
|
-
},
|
|
43929
|
+
}, np = (e = {}) => {
|
|
43926
43930
|
const { externalEditingRowIds: n, onEditingRowIdsChange: r, onEditModeChange: t } = e, [i, a] = F(
|
|
43927
43931
|
/* @__PURE__ */ new Set()
|
|
43928
43932
|
);
|
|
@@ -43973,7 +43977,7 @@ const Eh = _s, Ph = ({
|
|
|
43973
43977
|
isRowEditing: p,
|
|
43974
43978
|
applyEditState: h
|
|
43975
43979
|
};
|
|
43976
|
-
}, A1 = 1,
|
|
43980
|
+
}, A1 = 1, ip = "table-config-", rp = ({
|
|
43977
43981
|
configKey: e,
|
|
43978
43982
|
persistConfig: n = !1,
|
|
43979
43983
|
queryPersist: r = !0,
|
|
@@ -43982,7 +43986,7 @@ const Eh = _s, Ph = ({
|
|
|
43982
43986
|
initialFilters: a = [],
|
|
43983
43987
|
onConfigChange: s
|
|
43984
43988
|
}) => {
|
|
43985
|
-
const l = e ? `${
|
|
43989
|
+
const l = e ? `${ip}${e}` : null, u = T(() => ({
|
|
43986
43990
|
version: A1,
|
|
43987
43991
|
updatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
43988
43992
|
columns: t.map((I, D) => ({
|
|
@@ -44151,7 +44155,7 @@ const Eh = _s, Ph = ({
|
|
|
44151
44155
|
currentConfig: c
|
|
44152
44156
|
};
|
|
44153
44157
|
};
|
|
44154
|
-
function
|
|
44158
|
+
function op(e) {
|
|
44155
44159
|
const { effectiveColumns: n, hasEditableColumns: r, showEditActions: t } = e;
|
|
44156
44160
|
if (t === !1 || !r)
|
|
44157
44161
|
return n;
|
|
@@ -44195,7 +44199,7 @@ function rp(e) {
|
|
|
44195
44199
|
};
|
|
44196
44200
|
return [...n, a];
|
|
44197
44201
|
}
|
|
44198
|
-
function
|
|
44202
|
+
function ap(e) {
|
|
44199
44203
|
return e.map((n) => n.width === void 0 && n.resizable !== !1 ? { ...n, resizable: !0 } : n);
|
|
44200
44204
|
}
|
|
44201
44205
|
const Be = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e), tt = (e) => {
|
|
@@ -44243,7 +44247,7 @@ const Be = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e)
|
|
|
44243
44247
|
default:
|
|
44244
44248
|
return !1;
|
|
44245
44249
|
}
|
|
44246
|
-
},
|
|
44250
|
+
}, sp = (e, n) => {
|
|
44247
44251
|
if (!Be(e)) return !1;
|
|
44248
44252
|
const r = tt(String(e)), { start: t, end: i } = Ys(n), a = r.getTime(), s = t.getTime(), l = i.getTime();
|
|
44249
44253
|
return a >= s && a <= l;
|
|
@@ -44308,7 +44312,7 @@ const Be = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e)
|
|
|
44308
44312
|
case "lastMonth":
|
|
44309
44313
|
case "thisYear":
|
|
44310
44314
|
case "lastYear":
|
|
44311
|
-
return i ? !1 :
|
|
44315
|
+
return i ? !1 : sp(e, n);
|
|
44312
44316
|
default:
|
|
44313
44317
|
return !0;
|
|
44314
44318
|
}
|
|
@@ -44316,7 +44320,7 @@ const Be = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e)
|
|
|
44316
44320
|
const t = r.find((i) => i.id === n);
|
|
44317
44321
|
if (t)
|
|
44318
44322
|
return t.accessor ? typeof t.accessor == "function" ? t.accessor(e) : e[t.accessor] : e[n];
|
|
44319
|
-
},
|
|
44323
|
+
}, lp = (e, n, r) => n.length === 0 ? e : e.filter((t) => {
|
|
44320
44324
|
if (n.length === 1) {
|
|
44321
44325
|
const a = z1(t, n[0].columnId, r);
|
|
44322
44326
|
return R1(a, n[0].operator, n[0].value, n[0].value2);
|
|
@@ -44333,7 +44337,7 @@ const Be = (e) => !e || typeof e != "string" ? !1 : /^\d{4}-\d{2}-\d{2}/.test(e)
|
|
|
44333
44337
|
}
|
|
44334
44338
|
return i;
|
|
44335
44339
|
});
|
|
44336
|
-
function
|
|
44340
|
+
function up(e) {
|
|
44337
44341
|
const { initialRows: n, columns: r, internalSearchQuery: t, internalSearchEnabled: i } = e;
|
|
44338
44342
|
if (!t.trim() || !(i ?? !1))
|
|
44339
44343
|
return n;
|
|
@@ -44344,15 +44348,15 @@ function lp(e) {
|
|
|
44344
44348
|
return typeof u.accessor == "function" ? d = u.accessor(l) : u.accessor && (d = l[u.accessor]), d !== null ? String(d).toLowerCase().includes(s) : !1;
|
|
44345
44349
|
}));
|
|
44346
44350
|
}
|
|
44347
|
-
function
|
|
44351
|
+
function cp(e) {
|
|
44348
44352
|
const { searchedRows: n, filters: r, columns: t, internalFiltersEnabled: i } = e;
|
|
44349
|
-
return r.length === 0 || !(i ?? !1) ? n :
|
|
44353
|
+
return r.length === 0 || !(i ?? !1) ? n : lp(
|
|
44350
44354
|
n,
|
|
44351
44355
|
r,
|
|
44352
44356
|
t
|
|
44353
44357
|
);
|
|
44354
44358
|
}
|
|
44355
|
-
function
|
|
44359
|
+
function dp(e) {
|
|
44356
44360
|
const { filteredRows: n, sortConfig: r, columns: t } = e;
|
|
44357
44361
|
return !r || !r.direction ? n : [...n].sort((i, a) => {
|
|
44358
44362
|
const s = t.find((h) => h.id === r.columnId);
|
|
@@ -44372,7 +44376,7 @@ function cp(e) {
|
|
|
44372
44376
|
return c < p ? r.direction === "asc" ? -1 : 1 : c > p ? r.direction === "asc" ? 1 : -1 : 0;
|
|
44373
44377
|
});
|
|
44374
44378
|
}
|
|
44375
|
-
function
|
|
44379
|
+
function fp(e) {
|
|
44376
44380
|
const { sortedRows: n, paginationConfig: r, toolbarConfig: t, totalAfterFilters: i } = e;
|
|
44377
44381
|
if (!(r != null && r.enabled))
|
|
44378
44382
|
return n;
|
|
@@ -44382,7 +44386,7 @@ function dp(e) {
|
|
|
44382
44386
|
const f = (a - 1) * s, c = f + s;
|
|
44383
44387
|
return n.slice(f, c);
|
|
44384
44388
|
}
|
|
44385
|
-
function
|
|
44389
|
+
function hp(e) {
|
|
44386
44390
|
const {
|
|
44387
44391
|
empty: n,
|
|
44388
44392
|
rowsWithEditStateLength: r,
|
|
@@ -44409,16 +44413,16 @@ function fp(e) {
|
|
|
44409
44413
|
action: n.action
|
|
44410
44414
|
} : n;
|
|
44411
44415
|
}
|
|
44412
|
-
function
|
|
44416
|
+
function pp(e, n) {
|
|
44413
44417
|
return Object.is(e, n) ? !0 : e == null ? n == null : String(e) === String(n);
|
|
44414
44418
|
}
|
|
44415
44419
|
function B1(e, n) {
|
|
44416
44420
|
var i;
|
|
44417
44421
|
if (!((i = n == null ? void 0 : n.rows) != null && i.length)) return !1;
|
|
44418
44422
|
const r = n.excludeKey, t = e[r];
|
|
44419
|
-
return n.rows.some((a) =>
|
|
44423
|
+
return n.rows.some((a) => pp(t, a));
|
|
44420
44424
|
}
|
|
44421
|
-
const
|
|
44425
|
+
const mp = ({
|
|
44422
44426
|
columns: e,
|
|
44423
44427
|
rows: n,
|
|
44424
44428
|
loading: r = !1,
|
|
@@ -44462,7 +44466,7 @@ const pp = ({
|
|
|
44462
44466
|
onEditModeChange: W,
|
|
44463
44467
|
onSuccessComplete: Y
|
|
44464
44468
|
}) => {
|
|
44465
|
-
const re = _(null), [ue, Q] = F(null), U = _(/* @__PURE__ */ new Set()), le = _(/* @__PURE__ */ new Set()), oe =
|
|
44469
|
+
const re = _(null), [ue, Q] = F(null), U = _(/* @__PURE__ */ new Set()), le = _(/* @__PURE__ */ new Set()), oe = rp({
|
|
44466
44470
|
configKey: x,
|
|
44467
44471
|
persistConfig: M,
|
|
44468
44472
|
queryPersist: L,
|
|
@@ -44471,16 +44475,16 @@ const pp = ({
|
|
|
44471
44475
|
initialFilters: d,
|
|
44472
44476
|
onConfigChange: I
|
|
44473
44477
|
}), K = M && x && L ? oe.filters ?? d : d, ae = M && x ? oe.columns : e, R = ee(() => ae.some((de) => de.editable && de.editable !== "none"), [ae]), te = ee(
|
|
44474
|
-
() =>
|
|
44478
|
+
() => op({
|
|
44475
44479
|
effectiveColumns: ae,
|
|
44476
44480
|
hasEditableColumns: R,
|
|
44477
44481
|
showEditActions: k
|
|
44478
44482
|
}),
|
|
44479
44483
|
[ae, R, k]
|
|
44480
44484
|
), se = ee(
|
|
44481
|
-
() =>
|
|
44485
|
+
() => ap(te),
|
|
44482
44486
|
[te]
|
|
44483
|
-
), { columns: ve, handleSetVisibility: J, handleToggleLock: Z, handleResize: G, setColumnsOrder: fe } =
|
|
44487
|
+
), { columns: ve, handleSetVisibility: J, handleToggleLock: Z, handleResize: G, setColumnsOrder: fe } = Jh(se), { sortConfig: ce, handleSort: $ } = Fh(u), ge = ee(
|
|
44484
44488
|
() => (de) => de.disabled !== !0 && !B1(de, a),
|
|
44485
44489
|
[a]
|
|
44486
44490
|
), {
|
|
@@ -44493,12 +44497,12 @@ const pp = ({
|
|
|
44493
44497
|
clearSelection: Ee
|
|
44494
44498
|
} = Uh(n, i == null ? void 0 : i.multiple, {
|
|
44495
44499
|
isRowSelectable: ge
|
|
44496
|
-
}), { handleRowExpand: _e, applyExpandedState: Fe } =
|
|
44500
|
+
}), { handleRowExpand: _e, applyExpandedState: Fe } = Wh(), { handleCellFocus: qe, handleCellBlur: Le, isCellFocused: Ue } = ep(), { filters: we, setAllFilters: Ye } = tp({
|
|
44497
44501
|
initialFilters: K,
|
|
44498
44502
|
onFiltersChange: (de) => {
|
|
44499
44503
|
O == null || O(de), M && x && L && oe.updateFilters(de);
|
|
44500
44504
|
}
|
|
44501
|
-
}), { toggleRowEdit: nt, applyEditState: We } =
|
|
44505
|
+
}), { toggleRowEdit: nt, applyEditState: We } = np({
|
|
44502
44506
|
externalEditingRowIds: B,
|
|
44503
44507
|
onEditingRowIdsChange: X,
|
|
44504
44508
|
onEditModeChange: W
|
|
@@ -44520,7 +44524,7 @@ const pp = ({
|
|
|
44520
44524
|
s != null && s.enabled && (de || q) && s.currentPage !== 1 && ((Te = s == null ? void 0 : s.onPageChange) == null || Te.call(s, 1)), Ae.current = we.length, st.current = Pe;
|
|
44521
44525
|
}, [we.length, Pe, s]);
|
|
44522
44526
|
const at = ee(
|
|
44523
|
-
() =>
|
|
44527
|
+
() => up({
|
|
44524
44528
|
initialRows: n,
|
|
44525
44529
|
columns: ve,
|
|
44526
44530
|
internalSearchQuery: Pe,
|
|
@@ -44528,7 +44532,7 @@ const pp = ({
|
|
|
44528
44532
|
}),
|
|
44529
44533
|
[n, Pe, ve, l == null ? void 0 : l.internalSearch]
|
|
44530
44534
|
), it = ee(
|
|
44531
|
-
() =>
|
|
44535
|
+
() => cp({
|
|
44532
44536
|
searchedRows: at,
|
|
44533
44537
|
filters: we,
|
|
44534
44538
|
columns: ve,
|
|
@@ -44536,14 +44540,14 @@ const pp = ({
|
|
|
44536
44540
|
}),
|
|
44537
44541
|
[at, we, ve, l == null ? void 0 : l.internalFilters]
|
|
44538
44542
|
), xt = ee(
|
|
44539
|
-
() =>
|
|
44543
|
+
() => dp({
|
|
44540
44544
|
filteredRows: it,
|
|
44541
44545
|
sortConfig: ce,
|
|
44542
44546
|
columns: ve
|
|
44543
44547
|
}),
|
|
44544
44548
|
[it, ce, ve]
|
|
44545
44549
|
), lt = xt.length, ht = ee(
|
|
44546
|
-
() =>
|
|
44550
|
+
() => fp({
|
|
44547
44551
|
sortedRows: xt,
|
|
44548
44552
|
paginationConfig: s,
|
|
44549
44553
|
toolbarConfig: l,
|
|
@@ -44568,7 +44572,7 @@ const pp = ({
|
|
|
44568
44572
|
const de = ((Ge = ut[0]) == null ? void 0 : Ge.id) ?? "", q = ((De = ut[ut.length - 1]) == null ? void 0 : De.id) ?? "";
|
|
44569
44573
|
return `${ut.length}-${de}-${q}`;
|
|
44570
44574
|
}, [s == null ? void 0 : s.enabled, s == null ? void 0 : s.currentPage, ut]), St = ee(
|
|
44571
|
-
() =>
|
|
44575
|
+
() => hp({
|
|
44572
44576
|
empty: t,
|
|
44573
44577
|
rowsWithEditStateLength: ut.length,
|
|
44574
44578
|
internalSearchQuery: Pe,
|
|
@@ -44766,7 +44770,7 @@ const pp = ({
|
|
|
44766
44770
|
}
|
|
44767
44771
|
)
|
|
44768
44772
|
] });
|
|
44769
|
-
},
|
|
44773
|
+
}, SC = (e = []) => {
|
|
44770
44774
|
const [n, r] = F(e), [t, i] = F(""), a = T((f) => {
|
|
44771
44775
|
r((c) => {
|
|
44772
44776
|
const p = c.findIndex((h) => h.columnId === f.columnId);
|
|
@@ -44793,7 +44797,7 @@ const pp = ({
|
|
|
44793
44797
|
updateFilter: u,
|
|
44794
44798
|
hasActiveFilters: d
|
|
44795
44799
|
};
|
|
44796
|
-
},
|
|
44800
|
+
}, kC = (e, n = 10, r = 1) => {
|
|
44797
44801
|
const [t, i] = F(r), [a, s] = F(n), l = ee(() => Math.ceil(e / a), [e, a]), u = T(
|
|
44798
44802
|
(C) => {
|
|
44799
44803
|
C >= 1 && C <= l && i(C);
|
|
@@ -44825,12 +44829,12 @@ const pp = ({
|
|
|
44825
44829
|
hasNextPage: t < l,
|
|
44826
44830
|
hasPreviousPage: t > 1
|
|
44827
44831
|
};
|
|
44828
|
-
},
|
|
44832
|
+
}, gp = (e, n, r) => n.length === 0 ? e : e.filter((t) => n.every((i) => {
|
|
44829
44833
|
const a = r.find((l) => l.id === i.columnId);
|
|
44830
44834
|
if (!a) return !0;
|
|
44831
44835
|
const s = a.accessor ? typeof a.accessor == "function" ? a.accessor(t) : t[a.accessor] : null;
|
|
44832
|
-
return
|
|
44833
|
-
})),
|
|
44836
|
+
return Cp(s, i);
|
|
44837
|
+
})), Cp = (e, n) => {
|
|
44834
44838
|
const r = n.value, t = e == null || e === "";
|
|
44835
44839
|
switch (n.operator) {
|
|
44836
44840
|
case "isEmpty":
|
|
@@ -44896,14 +44900,14 @@ const pp = ({
|
|
|
44896
44900
|
default:
|
|
44897
44901
|
return !0;
|
|
44898
44902
|
}
|
|
44899
|
-
},
|
|
44903
|
+
}, bp = (e, n, r) => {
|
|
44900
44904
|
if (!n.trim()) return e;
|
|
44901
44905
|
const t = n.toLowerCase();
|
|
44902
44906
|
return e.filter((i) => r.some((a) => {
|
|
44903
44907
|
const s = a.accessor ? typeof a.accessor == "function" ? a.accessor(i) : i[a.accessor] : null;
|
|
44904
44908
|
return s == null ? !1 : String(s).toLowerCase().includes(t);
|
|
44905
44909
|
}));
|
|
44906
|
-
},
|
|
44910
|
+
}, NC = ({
|
|
44907
44911
|
rows: e,
|
|
44908
44912
|
columns: n,
|
|
44909
44913
|
sortConfig: r,
|
|
@@ -44914,7 +44918,7 @@ const pp = ({
|
|
|
44914
44918
|
}) => {
|
|
44915
44919
|
const l = ee(() => {
|
|
44916
44920
|
let d = [...e];
|
|
44917
|
-
return i && (d =
|
|
44921
|
+
return i && (d = bp(d, i, n)), t.length > 0 && (d = gp(d, t, n)), r && (d = Bh(d, r.columnId, r.direction, n)), d;
|
|
44918
44922
|
}, [e, n, r, t, i]), u = ee(() => {
|
|
44919
44923
|
if (!s) return l;
|
|
44920
44924
|
const d = (a - 1) * s, f = d + s;
|
|
@@ -44926,11 +44930,11 @@ const pp = ({
|
|
|
44926
44930
|
totalRows: l.length
|
|
44927
44931
|
};
|
|
44928
44932
|
};
|
|
44929
|
-
function
|
|
44933
|
+
function vp(e, n) {
|
|
44930
44934
|
return n(e.id, e.attributes);
|
|
44931
44935
|
}
|
|
44932
44936
|
function Ks(e, n) {
|
|
44933
|
-
return e.data.map((r) =>
|
|
44937
|
+
return e.data.map((r) => vp(r, n));
|
|
44934
44938
|
}
|
|
44935
44939
|
function Xs(e, n) {
|
|
44936
44940
|
return {
|
|
@@ -44952,7 +44956,7 @@ function Qs(e) {
|
|
|
44952
44956
|
}
|
|
44953
44957
|
};
|
|
44954
44958
|
}
|
|
44955
|
-
function
|
|
44959
|
+
function IC(e) {
|
|
44956
44960
|
return (n) => ({
|
|
44957
44961
|
data: Ks(n, e),
|
|
44958
44962
|
pagination: {
|
|
@@ -44963,7 +44967,7 @@ function NC(e) {
|
|
|
44963
44967
|
}
|
|
44964
44968
|
});
|
|
44965
44969
|
}
|
|
44966
|
-
const
|
|
44970
|
+
const wp = {
|
|
44967
44971
|
equals: "$eq",
|
|
44968
44972
|
notEquals: "$ne",
|
|
44969
44973
|
contains: "$containsi",
|
|
@@ -44990,28 +44994,28 @@ const vp = {
|
|
|
44990
44994
|
lastYear: "$gte"
|
|
44991
44995
|
// Se manejará con valor calculado
|
|
44992
44996
|
};
|
|
44993
|
-
function
|
|
44997
|
+
function yp() {
|
|
44994
44998
|
const e = /* @__PURE__ */ new Date(), n = new Date(e.getFullYear(), e.getMonth(), 1), r = new Date(e.getFullYear(), e.getMonth() + 1, 0);
|
|
44995
44999
|
return {
|
|
44996
45000
|
start: n.toISOString().split("T")[0],
|
|
44997
45001
|
end: r.toISOString().split("T")[0]
|
|
44998
45002
|
};
|
|
44999
45003
|
}
|
|
45000
|
-
function
|
|
45004
|
+
function xp() {
|
|
45001
45005
|
const e = /* @__PURE__ */ new Date(), n = new Date(e.getFullYear(), e.getMonth() - 1, 1), r = new Date(e.getFullYear(), e.getMonth(), 0);
|
|
45002
45006
|
return {
|
|
45003
45007
|
start: n.toISOString().split("T")[0],
|
|
45004
45008
|
end: r.toISOString().split("T")[0]
|
|
45005
45009
|
};
|
|
45006
45010
|
}
|
|
45007
|
-
function
|
|
45011
|
+
function Lp() {
|
|
45008
45012
|
const e = /* @__PURE__ */ new Date();
|
|
45009
45013
|
return {
|
|
45010
45014
|
start: `${e.getFullYear()}-01-01`,
|
|
45011
45015
|
end: `${e.getFullYear()}-12-31`
|
|
45012
45016
|
};
|
|
45013
45017
|
}
|
|
45014
|
-
function
|
|
45018
|
+
function Mp() {
|
|
45015
45019
|
const n = (/* @__PURE__ */ new Date()).getFullYear() - 1;
|
|
45016
45020
|
return {
|
|
45017
45021
|
start: `${n}-01-01`,
|
|
@@ -45019,9 +45023,9 @@ function Lp() {
|
|
|
45019
45023
|
};
|
|
45020
45024
|
}
|
|
45021
45025
|
function $1(e) {
|
|
45022
|
-
const { field: n, operator: r, value: t, value2: i } = e, a =
|
|
45026
|
+
const { field: n, operator: r, value: t, value2: i } = e, a = wp[r];
|
|
45023
45027
|
if (r === "thisMonth") {
|
|
45024
|
-
const s =
|
|
45028
|
+
const s = yp();
|
|
45025
45029
|
return {
|
|
45026
45030
|
[n]: {
|
|
45027
45031
|
$gte: s.start,
|
|
@@ -45030,7 +45034,7 @@ function $1(e) {
|
|
|
45030
45034
|
};
|
|
45031
45035
|
}
|
|
45032
45036
|
if (r === "lastMonth") {
|
|
45033
|
-
const s =
|
|
45037
|
+
const s = xp();
|
|
45034
45038
|
return {
|
|
45035
45039
|
[n]: {
|
|
45036
45040
|
$gte: s.start,
|
|
@@ -45039,7 +45043,7 @@ function $1(e) {
|
|
|
45039
45043
|
};
|
|
45040
45044
|
}
|
|
45041
45045
|
if (r === "thisYear") {
|
|
45042
|
-
const s =
|
|
45046
|
+
const s = Lp();
|
|
45043
45047
|
return {
|
|
45044
45048
|
[n]: {
|
|
45045
45049
|
$gte: s.start,
|
|
@@ -45048,7 +45052,7 @@ function $1(e) {
|
|
|
45048
45052
|
};
|
|
45049
45053
|
}
|
|
45050
45054
|
if (r === "lastYear") {
|
|
45051
|
-
const s =
|
|
45055
|
+
const s = Mp();
|
|
45052
45056
|
return {
|
|
45053
45057
|
[n]: {
|
|
45054
45058
|
$gte: s.start,
|
|
@@ -45075,7 +45079,7 @@ function $1(e) {
|
|
|
45075
45079
|
}
|
|
45076
45080
|
};
|
|
45077
45081
|
}
|
|
45078
|
-
function
|
|
45082
|
+
function Sp(e) {
|
|
45079
45083
|
return {
|
|
45080
45084
|
field: e.columnId,
|
|
45081
45085
|
operator: e.operator,
|
|
@@ -45098,8 +45102,8 @@ function Js(e) {
|
|
|
45098
45102
|
$or: n.map((t) => t.length === 1 ? t[0] : { $and: t })
|
|
45099
45103
|
};
|
|
45100
45104
|
}
|
|
45101
|
-
function
|
|
45102
|
-
const n = e.map(
|
|
45105
|
+
function kp(e) {
|
|
45106
|
+
const n = e.map(Sp);
|
|
45103
45107
|
return Js(n);
|
|
45104
45108
|
}
|
|
45105
45109
|
function Ws(e) {
|
|
@@ -45119,24 +45123,24 @@ function e0(e, n, r) {
|
|
|
45119
45123
|
});
|
|
45120
45124
|
}
|
|
45121
45125
|
let Fi = null;
|
|
45122
|
-
class
|
|
45126
|
+
class Np extends Error {
|
|
45123
45127
|
constructor(n, r, t, i) {
|
|
45124
45128
|
super(n), this.status = r, this.statusText = t, this.data = i, this.name = "StrapiApiError";
|
|
45125
45129
|
}
|
|
45126
45130
|
}
|
|
45127
|
-
function
|
|
45131
|
+
function jC(e) {
|
|
45128
45132
|
Fi = e;
|
|
45129
45133
|
}
|
|
45130
|
-
function
|
|
45134
|
+
function Ip() {
|
|
45131
45135
|
if (!Fi)
|
|
45132
45136
|
throw new Error("Strapi client not configured. Call configureStrapiClient() first.");
|
|
45133
45137
|
return Fi;
|
|
45134
45138
|
}
|
|
45135
|
-
function
|
|
45139
|
+
function OC() {
|
|
45136
45140
|
return Fi !== null;
|
|
45137
45141
|
}
|
|
45138
45142
|
async function ar(e, n = {}) {
|
|
45139
|
-
const r =
|
|
45143
|
+
const r = Ip(), t = e.startsWith("http") ? e : `${r.baseUrl}${e.startsWith("/") ? e : `/${e}`}`, i = {
|
|
45140
45144
|
"Content-Type": "application/json",
|
|
45141
45145
|
Authorization: `Bearer ${r.token}`,
|
|
45142
45146
|
...n.headers
|
|
@@ -45151,7 +45155,7 @@ async function ar(e, n = {}) {
|
|
|
45151
45155
|
} catch {
|
|
45152
45156
|
s = await a.text();
|
|
45153
45157
|
}
|
|
45154
|
-
throw new
|
|
45158
|
+
throw new Np(
|
|
45155
45159
|
`API Error: ${a.status} ${a.statusText}`,
|
|
45156
45160
|
a.status,
|
|
45157
45161
|
a.statusText,
|
|
@@ -45164,32 +45168,32 @@ async function t0(e, n) {
|
|
|
45164
45168
|
const r = n ? `${e}?${n}` : e;
|
|
45165
45169
|
return ar(r, { method: "GET" });
|
|
45166
45170
|
}
|
|
45167
|
-
async function
|
|
45171
|
+
async function DC(e, n) {
|
|
45168
45172
|
return ar(e, {
|
|
45169
45173
|
method: "POST",
|
|
45170
45174
|
body: JSON.stringify(n)
|
|
45171
45175
|
});
|
|
45172
45176
|
}
|
|
45173
|
-
async function
|
|
45177
|
+
async function jp(e, n) {
|
|
45174
45178
|
return ar(e, {
|
|
45175
45179
|
method: "PUT",
|
|
45176
45180
|
body: JSON.stringify(n)
|
|
45177
45181
|
});
|
|
45178
45182
|
}
|
|
45179
|
-
async function
|
|
45183
|
+
async function TC(e) {
|
|
45180
45184
|
return ar(e, { method: "DELETE" });
|
|
45181
45185
|
}
|
|
45182
45186
|
const Ao = "/api/equipos";
|
|
45183
|
-
async function
|
|
45184
|
-
const n =
|
|
45187
|
+
async function Op(e) {
|
|
45188
|
+
const n = Dp(e);
|
|
45185
45189
|
return t0(Ao, n);
|
|
45186
45190
|
}
|
|
45187
45191
|
async function $r(e) {
|
|
45188
|
-
const n = await
|
|
45192
|
+
const n = await Op(e);
|
|
45189
45193
|
return Qs(n);
|
|
45190
45194
|
}
|
|
45191
45195
|
async function Fr(e, n) {
|
|
45192
|
-
const r =
|
|
45196
|
+
const r = kp(e), t = Ws({
|
|
45193
45197
|
filters: r,
|
|
45194
45198
|
sort: n == null ? void 0 : n.sortField,
|
|
45195
45199
|
sortDirection: n == null ? void 0 : n.sortDirection,
|
|
@@ -45198,7 +45202,7 @@ async function Fr(e, n) {
|
|
|
45198
45202
|
}), i = await t0(Ao, t);
|
|
45199
45203
|
return Qs(i);
|
|
45200
45204
|
}
|
|
45201
|
-
function
|
|
45205
|
+
function Dp(e) {
|
|
45202
45206
|
if (!e)
|
|
45203
45207
|
return "";
|
|
45204
45208
|
const { page: n, pageSize: r, sortField: t, sortDirection: i, filters: a, search: s } = e;
|
|
@@ -45217,13 +45221,13 @@ function Op(e) {
|
|
|
45217
45221
|
});
|
|
45218
45222
|
}
|
|
45219
45223
|
async function n0(e, n) {
|
|
45220
|
-
const r = await
|
|
45224
|
+
const r = await jp(
|
|
45221
45225
|
`${Ao}/${e}`,
|
|
45222
45226
|
{ data: n }
|
|
45223
45227
|
);
|
|
45224
45228
|
return Xs(r.data.id, r.data.attributes);
|
|
45225
45229
|
}
|
|
45226
|
-
async function
|
|
45230
|
+
async function Tp(e, n) {
|
|
45227
45231
|
return n0(e, { nombre: n });
|
|
45228
45232
|
}
|
|
45229
45233
|
const bt = {
|
|
@@ -45233,7 +45237,7 @@ const bt = {
|
|
|
45233
45237
|
details: () => [...bt.all, "detail"],
|
|
45234
45238
|
detail: (e) => [...bt.details(), e]
|
|
45235
45239
|
};
|
|
45236
|
-
function
|
|
45240
|
+
function VC(e, n) {
|
|
45237
45241
|
return po({
|
|
45238
45242
|
queryKey: bt.list(e),
|
|
45239
45243
|
queryFn: () => $r(e),
|
|
@@ -45242,7 +45246,7 @@ function TC(e, n) {
|
|
|
45242
45246
|
...n
|
|
45243
45247
|
});
|
|
45244
45248
|
}
|
|
45245
|
-
function
|
|
45249
|
+
function HC(e, n, r) {
|
|
45246
45250
|
return po({
|
|
45247
45251
|
queryKey: [...bt.lists(), "filtered", { advancedFilters: e, params: n }],
|
|
45248
45252
|
queryFn: () => Fr(e, n),
|
|
@@ -45251,7 +45255,7 @@ function VC(e, n, r) {
|
|
|
45251
45255
|
...r
|
|
45252
45256
|
});
|
|
45253
45257
|
}
|
|
45254
|
-
function
|
|
45258
|
+
function EC(e = {}) {
|
|
45255
45259
|
var h, m;
|
|
45256
45260
|
const {
|
|
45257
45261
|
page: n = 1,
|
|
@@ -45327,14 +45331,14 @@ function HC(e = {}) {
|
|
|
45327
45331
|
query: d
|
|
45328
45332
|
};
|
|
45329
45333
|
}
|
|
45330
|
-
function
|
|
45334
|
+
function PC() {
|
|
45331
45335
|
const e = Yi();
|
|
45332
45336
|
return {
|
|
45333
45337
|
invalidateAll: () => e.invalidateQueries({ queryKey: bt.all }),
|
|
45334
45338
|
invalidateLists: () => e.invalidateQueries({ queryKey: bt.lists() })
|
|
45335
45339
|
};
|
|
45336
45340
|
}
|
|
45337
|
-
function
|
|
45341
|
+
function AC() {
|
|
45338
45342
|
const e = Yi();
|
|
45339
45343
|
return ia({
|
|
45340
45344
|
mutationFn: ({ id: n, data: r }) => n0(n, r),
|
|
@@ -45362,10 +45366,10 @@ function PC() {
|
|
|
45362
45366
|
}
|
|
45363
45367
|
});
|
|
45364
45368
|
}
|
|
45365
|
-
function
|
|
45369
|
+
function RC() {
|
|
45366
45370
|
const e = Yi();
|
|
45367
45371
|
return ia({
|
|
45368
|
-
mutationFn: ({ id: n, nombre: r }) =>
|
|
45372
|
+
mutationFn: ({ id: n, nombre: r }) => Tp(n, r),
|
|
45369
45373
|
// Optimistic update: actualizar la UI antes de que el servidor responda
|
|
45370
45374
|
onMutate: async ({ id: n, nombre: r }) => {
|
|
45371
45375
|
await e.cancelQueries({ queryKey: bt.all });
|
|
@@ -45390,7 +45394,7 @@ function AC() {
|
|
|
45390
45394
|
}
|
|
45391
45395
|
});
|
|
45392
45396
|
}
|
|
45393
|
-
function
|
|
45397
|
+
function zC(e = {}) {
|
|
45394
45398
|
const {
|
|
45395
45399
|
initialPage: n = 1,
|
|
45396
45400
|
initialPageSize: r = 10,
|
|
@@ -45444,7 +45448,7 @@ function RC(e = {}) {
|
|
|
45444
45448
|
reset: j
|
|
45445
45449
|
};
|
|
45446
45450
|
}
|
|
45447
|
-
function
|
|
45451
|
+
function BC(e, n) {
|
|
45448
45452
|
return ee(() => e.map((r) => {
|
|
45449
45453
|
const t = n.sortField === r.id, i = n.filters.some((a) => a.columnId === r.id);
|
|
45450
45454
|
return {
|
|
@@ -45454,7 +45458,7 @@ function zC(e, n) {
|
|
|
45454
45458
|
};
|
|
45455
45459
|
}), [e, n.sortField, n.sortDirection, n.filters]);
|
|
45456
45460
|
}
|
|
45457
|
-
function
|
|
45461
|
+
function $C(e, n = 300) {
|
|
45458
45462
|
const [r, t] = F(e);
|
|
45459
45463
|
return ie(() => {
|
|
45460
45464
|
const i = setTimeout(() => {
|
|
@@ -45465,7 +45469,7 @@ function BC(e, n = 300) {
|
|
|
45465
45469
|
};
|
|
45466
45470
|
}, [e, n]), r;
|
|
45467
45471
|
}
|
|
45468
|
-
function
|
|
45472
|
+
function FC(e, n = 300) {
|
|
45469
45473
|
const [r, t] = F(null), i = ((...a) => {
|
|
45470
45474
|
r && clearTimeout(r);
|
|
45471
45475
|
const s = setTimeout(() => {
|
|
@@ -45477,7 +45481,7 @@ function $C(e, n = 300) {
|
|
|
45477
45481
|
r && clearTimeout(r);
|
|
45478
45482
|
}, [r]), i;
|
|
45479
45483
|
}
|
|
45480
|
-
function
|
|
45484
|
+
function ZC({
|
|
45481
45485
|
children: e,
|
|
45482
45486
|
staleTime: n = 1e3 * 60 * 5,
|
|
45483
45487
|
// 5 minutos
|
|
@@ -45500,7 +45504,7 @@ function FC({
|
|
|
45500
45504
|
);
|
|
45501
45505
|
return /* @__PURE__ */ o(Cu, { client: a, children: e });
|
|
45502
45506
|
}
|
|
45503
|
-
function
|
|
45507
|
+
function _C(e = {}) {
|
|
45504
45508
|
const {
|
|
45505
45509
|
staleTime: n = 1e3 * 60 * 5,
|
|
45506
45510
|
gcTime: r = 1e3 * 60 * 30,
|
|
@@ -45518,9 +45522,9 @@ function ZC(e = {}) {
|
|
|
45518
45522
|
}
|
|
45519
45523
|
});
|
|
45520
45524
|
}
|
|
45521
|
-
const
|
|
45522
|
-
function
|
|
45523
|
-
const { column: r, data: t } = n, i = r.id ??
|
|
45525
|
+
const Vp = "__imj_gantt__", Hp = 560;
|
|
45526
|
+
function Ep(e, n) {
|
|
45527
|
+
const { column: r, data: t } = n, i = r.id ?? Vp, a = r.maxWidth !== void 0 ? r.maxWidth : n.timeline.columnMaxWidthPx ?? Hp, s = {
|
|
45524
45528
|
id: i,
|
|
45525
45529
|
header: r.header,
|
|
45526
45530
|
type: "gantt",
|
|
@@ -45551,16 +45555,16 @@ function F1(e) {
|
|
|
45551
45555
|
const { modifierWheelZoom: n, ...r } = e;
|
|
45552
45556
|
return r;
|
|
45553
45557
|
}
|
|
45554
|
-
function
|
|
45558
|
+
function Pp(e, n) {
|
|
45555
45559
|
const r = e;
|
|
45556
45560
|
if (!r) return 0;
|
|
45557
45561
|
const t = r.getBoundingClientRect(), i = r.clientWidth > 0 ? r.clientWidth : t.width;
|
|
45558
45562
|
return Math.max(0, Math.min(i, n - t.left));
|
|
45559
45563
|
}
|
|
45560
|
-
const
|
|
45564
|
+
const Ap = {
|
|
45561
45565
|
trackMinHeightPx: 44
|
|
45562
|
-
},
|
|
45563
|
-
function
|
|
45566
|
+
}, Rp = {};
|
|
45567
|
+
function zp({
|
|
45564
45568
|
columns: e,
|
|
45565
45569
|
gantt: n,
|
|
45566
45570
|
...r
|
|
@@ -45578,11 +45582,11 @@ function Rp({
|
|
|
45578
45582
|
l.columnWidthPx,
|
|
45579
45583
|
l.columnMaxWidthPx
|
|
45580
45584
|
]
|
|
45581
|
-
), c = ee(() =>
|
|
45582
|
-
() => ({ ...
|
|
45585
|
+
), c = ee(() => Ep(e, n), [e, n]), p = ee(() => oh(), []), h = ee(
|
|
45586
|
+
() => ({ ...Ap, ...n.appearance }),
|
|
45583
45587
|
[(K = n.appearance) == null ? void 0 : K.trackMinHeightPx, (ae = n.appearance) == null ? void 0 : ae.trackClassName]
|
|
45584
45588
|
), m = ee(
|
|
45585
|
-
() => ({ ...
|
|
45589
|
+
() => ({ ...Rp, ...n.events }),
|
|
45586
45590
|
[(R = n.events) == null ? void 0 : R.onBarClick, (te = n.events) == null ? void 0 : te.onTimelineChange]
|
|
45587
45591
|
), g = _((se = n.events) == null ? void 0 : se.onTimelineChange);
|
|
45588
45592
|
g.current = (ve = n.events) == null ? void 0 : ve.onTimelineChange, ie(() => {
|
|
@@ -45729,7 +45733,7 @@ function Rp({
|
|
|
45729
45733
|
(J) => {
|
|
45730
45734
|
if (t && (J.ctrlKey || J.metaKey)) {
|
|
45731
45735
|
J.preventDefault(), J.stopPropagation(), u.current;
|
|
45732
|
-
const G = D.current, fe = J.currentTarget, ce =
|
|
45736
|
+
const G = D.current, fe = J.currentTarget, ce = Pp(
|
|
45733
45737
|
G ?? fe,
|
|
45734
45738
|
J.clientX
|
|
45735
45739
|
), $ = k.current > 0 ? k.current : (G == null ? void 0 : G.scrollWidth) || 1, ge = Math.max(
|
|
@@ -45822,10 +45826,10 @@ function Rp({
|
|
|
45822
45826
|
le
|
|
45823
45827
|
]
|
|
45824
45828
|
);
|
|
45825
|
-
return /* @__PURE__ */ o(nh, { value: oe, children: /* @__PURE__ */ o(ah, { store: p, children: /* @__PURE__ */ o(
|
|
45829
|
+
return /* @__PURE__ */ o(nh, { value: oe, children: /* @__PURE__ */ o(ah, { store: p, children: /* @__PURE__ */ o(mp, { ...r, columns: c }) }) });
|
|
45826
45830
|
}
|
|
45827
|
-
|
|
45828
|
-
function
|
|
45831
|
+
zp.displayName = "Ghantt";
|
|
45832
|
+
function UC({ title: e, className: n }) {
|
|
45829
45833
|
const r = Do(), t = (r == null ? void 0 : r.timeline.scale) ?? "day", i = r == null ? void 0 : r.timeline.viewStart, a = r == null ? void 0 : r.timeline.viewEnd, s = (r == null ? void 0 : r.timeline.includeLeadingFullMonth) !== !1, l = r == null ? void 0 : r.timelineSlots, u = ee(() => l && l.length > 0 ? l : i == null || a == null ? [] : oi(i, a, t, {
|
|
45830
45834
|
includeLeadingFullMonth: t === "day" ? s : void 0
|
|
45831
45835
|
}), [l, i, a, t, s]), d = ee(
|
|
@@ -45953,7 +45957,7 @@ function _C({ title: e, className: n }) {
|
|
|
45953
45957
|
/* @__PURE__ */ o(Rn, { type: "body", size: "xs", color: "secondary", children: "—" })
|
|
45954
45958
|
] });
|
|
45955
45959
|
}
|
|
45956
|
-
const
|
|
45960
|
+
const Bp = {
|
|
45957
45961
|
duration: 5e3,
|
|
45958
45962
|
maxMessages: 5,
|
|
45959
45963
|
position: "bottom-right",
|
|
@@ -45963,11 +45967,11 @@ const zp = {
|
|
|
45963
45967
|
animationDuration: 300,
|
|
45964
45968
|
size: "sm"
|
|
45965
45969
|
};
|
|
45966
|
-
let Ht = { ...
|
|
45967
|
-
const
|
|
45970
|
+
let Ht = { ...Bp };
|
|
45971
|
+
const GC = (e) => {
|
|
45968
45972
|
Ht = { ...Ht, ...e };
|
|
45969
45973
|
};
|
|
45970
|
-
class
|
|
45974
|
+
class $p {
|
|
45971
45975
|
constructor() {
|
|
45972
45976
|
this.listeners = [], this.idCounter = 0, this.recentMessages = /* @__PURE__ */ new Map();
|
|
45973
45977
|
}
|
|
@@ -46091,7 +46095,7 @@ class Bp {
|
|
|
46091
46095
|
};
|
|
46092
46096
|
}
|
|
46093
46097
|
}
|
|
46094
|
-
const Ct = new
|
|
46098
|
+
const Ct = new $p(), qC = () => Ct, i0 = () => {
|
|
46095
46099
|
const [e, n] = F([]), r = _(/* @__PURE__ */ new Map()), t = _(null);
|
|
46096
46100
|
return ie(() => {
|
|
46097
46101
|
const a = Ct.getListeners();
|
|
@@ -46164,14 +46168,14 @@ const Ct = new Bp(), GC = () => Ct, i0 = () => {
|
|
|
46164
46168
|
`[useMessageStyles] Invalid position "${n}". Using "top-right" as fallback.`
|
|
46165
46169
|
), r["top-right"]) : t || r["top-right"];
|
|
46166
46170
|
}
|
|
46167
|
-
}),
|
|
46171
|
+
}), Fp = {
|
|
46168
46172
|
position: "top-right",
|
|
46169
46173
|
duration: 5e3,
|
|
46170
46174
|
animationDuration: 300,
|
|
46171
46175
|
size: "sm",
|
|
46172
46176
|
showTimer: !0
|
|
46173
|
-
}, ln = {
|
|
46174
|
-
class
|
|
46177
|
+
}, ln = { ...Fp };
|
|
46178
|
+
class Zp {
|
|
46175
46179
|
constructor() {
|
|
46176
46180
|
this.listeners = [], this.idCounter = 0, this.groups = {
|
|
46177
46181
|
brand: null,
|
|
@@ -46348,7 +46352,7 @@ class Fp {
|
|
|
46348
46352
|
return { ...ln };
|
|
46349
46353
|
}
|
|
46350
46354
|
}
|
|
46351
|
-
const Zt = new
|
|
46355
|
+
const Zt = new Zp(), YC = () => Zt, o0 = () => {
|
|
46352
46356
|
const [e, n] = F({
|
|
46353
46357
|
brand: null,
|
|
46354
46358
|
neutral: null
|
|
@@ -46437,7 +46441,7 @@ const Ro = Ne.memo(({ messages: e }) => {
|
|
|
46437
46441
|
}) });
|
|
46438
46442
|
});
|
|
46439
46443
|
Ro.displayName = "MessagePositions";
|
|
46440
|
-
const
|
|
46444
|
+
const KC = () => {
|
|
46441
46445
|
const { messagesByPosition: e } = i0();
|
|
46442
46446
|
return nn(/* @__PURE__ */ o(Ro, { messages: e }), document.body);
|
|
46443
46447
|
}, s0 = Ne.memo(({ group: e }) => {
|
|
@@ -46512,10 +46516,10 @@ const zo = Ne.memo(({ groups: e }) => {
|
|
|
46512
46516
|
), /* @__PURE__ */ o("div", { className: `${n(i)} ui-z-50 ui-space-y-2`, children: t.map((a) => a.notification.id ? /* @__PURE__ */ o(s0, { group: a }, `${a.color}-${a.count}`) : (process.env.NODE_ENV !== "production" && console.warn("[NotificationPositions] Group notification without id. Skipping."), null)) });
|
|
46513
46517
|
});
|
|
46514
46518
|
zo.displayName = "NotificationPositions";
|
|
46515
|
-
const
|
|
46519
|
+
const XC = () => {
|
|
46516
46520
|
const { groups: e } = o0();
|
|
46517
46521
|
return nn(/* @__PURE__ */ o(zo, { groups: e }), document.body);
|
|
46518
|
-
},
|
|
46522
|
+
}, QC = () => {
|
|
46519
46523
|
const { messagesByPosition: e } = i0(), { groups: n } = o0();
|
|
46520
46524
|
return nn(
|
|
46521
46525
|
/* @__PURE__ */ b(Je, { children: [
|
|
@@ -46524,7 +46528,7 @@ const KC = () => {
|
|
|
46524
46528
|
] }),
|
|
46525
46529
|
document.body
|
|
46526
46530
|
);
|
|
46527
|
-
},
|
|
46531
|
+
}, JC = Ct, WC = Zt, eb = {
|
|
46528
46532
|
// Métodos de toast (se apilan)
|
|
46529
46533
|
success: Ct.success.bind(Ct),
|
|
46530
46534
|
error: Ct.error.bind(Ct),
|
|
@@ -46538,7 +46542,7 @@ const KC = () => {
|
|
|
46538
46542
|
neutral: Zt.neutral.bind(Zt),
|
|
46539
46543
|
dismissNotification: Zt.dismissGroup.bind(Zt),
|
|
46540
46544
|
configureNotification: Zt.configure.bind(Zt)
|
|
46541
|
-
},
|
|
46545
|
+
}, tb = ({
|
|
46542
46546
|
text: e,
|
|
46543
46547
|
count: n,
|
|
46544
46548
|
buttons: r = [],
|
|
@@ -46711,7 +46715,7 @@ const KC = () => {
|
|
|
46711
46715
|
/* @__PURE__ */ o("div", { className: N("ui-imj", I), children: z }),
|
|
46712
46716
|
document.body
|
|
46713
46717
|
) : null;
|
|
46714
|
-
},
|
|
46718
|
+
}, _p = ({
|
|
46715
46719
|
id: e,
|
|
46716
46720
|
label: n,
|
|
46717
46721
|
icon: r,
|
|
@@ -46752,7 +46756,7 @@ const KC = () => {
|
|
|
46752
46756
|
}) => n && r ? /* @__PURE__ */ b("div", { className: N("ui-flex ui-w-full ui-items-center ui-gap-8", e), children: [
|
|
46753
46757
|
/* @__PURE__ */ o("span", { className: "ui-shrink-0 ui-whitespace-nowrap ui-text-body-xs-regular ui-font-body-xs-regular ui-text-tertiary", children: r }),
|
|
46754
46758
|
/* @__PURE__ */ o("div", { className: "ui-flex-1 ui-border-t-1 ui-border-default" })
|
|
46755
|
-
] }) : /* @__PURE__ */ o("div", { className: N("ui-w-full ui-py-4", e), children: /* @__PURE__ */ o("div", { className: "ui-border-t-1 ui-border-default" }) }),
|
|
46759
|
+
] }) : /* @__PURE__ */ o("div", { className: N("ui-w-full ui-py-4", e), children: /* @__PURE__ */ o("div", { className: "ui-border-t-1 ui-border-default" }) }), nb = ({ title: e, className: n }) => /* @__PURE__ */ o(
|
|
46756
46760
|
"span",
|
|
46757
46761
|
{
|
|
46758
46762
|
className: N(
|
|
@@ -46762,10 +46766,10 @@ const KC = () => {
|
|
|
46762
46766
|
),
|
|
46763
46767
|
children: e
|
|
46764
46768
|
}
|
|
46765
|
-
),
|
|
46769
|
+
), Up = ({ title: e, items: n, className: r }) => /* @__PURE__ */ b("div", { className: N("ui-flex ui-w-full ui-flex-col ui-gap-16", r), children: [
|
|
46766
46770
|
e && /* @__PURE__ */ o(sr, { withText: !0, text: e }),
|
|
46767
|
-
/* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-flex-col ui-gap-4", children: n.map((t) => /* @__PURE__ */ o(
|
|
46768
|
-
] }),
|
|
46771
|
+
/* @__PURE__ */ o("div", { className: "ui-flex ui-w-full ui-flex-col ui-gap-4", children: n.map((t) => /* @__PURE__ */ o(_p, { ...t }, t.id)) })
|
|
46772
|
+
] }), Gp = ({
|
|
46769
46773
|
name: e,
|
|
46770
46774
|
role: n,
|
|
46771
46775
|
avatarProps: r,
|
|
@@ -46800,7 +46804,7 @@ const KC = () => {
|
|
|
46800
46804
|
}
|
|
46801
46805
|
)
|
|
46802
46806
|
] });
|
|
46803
|
-
},
|
|
46807
|
+
}, qp = ({
|
|
46804
46808
|
icon: e = zl,
|
|
46805
46809
|
title: n = "Mesa de trabajo",
|
|
46806
46810
|
badge: r,
|
|
@@ -46899,7 +46903,7 @@ const KC = () => {
|
|
|
46899
46903
|
]
|
|
46900
46904
|
}
|
|
46901
46905
|
);
|
|
46902
|
-
},
|
|
46906
|
+
}, ib = ({
|
|
46903
46907
|
logo: e,
|
|
46904
46908
|
onLogoClick: n,
|
|
46905
46909
|
workspace: r,
|
|
@@ -46941,10 +46945,10 @@ const KC = () => {
|
|
|
46941
46945
|
}
|
|
46942
46946
|
),
|
|
46943
46947
|
e && /* @__PURE__ */ o(sr, {}),
|
|
46944
|
-
r && !a && /* @__PURE__ */ o(
|
|
46945
|
-
t.map((f, c) => /* @__PURE__ */ o(
|
|
46948
|
+
r && !a && /* @__PURE__ */ o(qp, { ...r }),
|
|
46949
|
+
t.map((f, c) => /* @__PURE__ */ o(Up, { ...f }, f.title || `group-${c}`))
|
|
46946
46950
|
] }),
|
|
46947
|
-
i && !a && /* @__PURE__ */ o(
|
|
46951
|
+
i && !a && /* @__PURE__ */ o(Gp, { ...i }),
|
|
46948
46952
|
s && /* @__PURE__ */ o(
|
|
46949
46953
|
"button",
|
|
46950
46954
|
{
|
|
@@ -46979,13 +46983,13 @@ const KC = () => {
|
|
|
46979
46983
|
info: "var(--ui-color-cyan-500)",
|
|
46980
46984
|
neutral: "var(--ui-color-light-gray-500)",
|
|
46981
46985
|
yellow: "var(--ui-color-yellow-500)"
|
|
46982
|
-
},
|
|
46986
|
+
}, Yp = [
|
|
46983
46987
|
"brand",
|
|
46984
46988
|
"success",
|
|
46985
46989
|
"warning",
|
|
46986
46990
|
"danger",
|
|
46987
46991
|
"info"
|
|
46988
|
-
],
|
|
46992
|
+
], Kp = (e) => Zr[e] || Zr.neutral, Xp = (e) => typeof e == "string" && e in Zr ? e : "neutral", l0 = ot(
|
|
46989
46993
|
({
|
|
46990
46994
|
data: e,
|
|
46991
46995
|
index: n,
|
|
@@ -47003,7 +47007,7 @@ const KC = () => {
|
|
|
47003
47007
|
i && "ui-rounded-l-control-pill",
|
|
47004
47008
|
a && "ui-rounded-r-control-pill",
|
|
47005
47009
|
!i && !a && "ui-rounded-none"
|
|
47006
|
-
), g =
|
|
47010
|
+
), g = Kp(t), C = {
|
|
47007
47011
|
flex: `0 0 ${h}%`,
|
|
47008
47012
|
width: `${h}%`,
|
|
47009
47013
|
minWidth: h > 0 && h < 0.5 ? "1px" : void 0,
|
|
@@ -47042,13 +47046,13 @@ const _r = {
|
|
|
47042
47046
|
info: "var(--ui-color-cyan-500)",
|
|
47043
47047
|
neutral: "var(--ui-color-light-gray-500)",
|
|
47044
47048
|
yellow: "var(--ui-color-yellow-500)"
|
|
47045
|
-
},
|
|
47049
|
+
}, Qp = [
|
|
47046
47050
|
"brand",
|
|
47047
47051
|
"success",
|
|
47048
47052
|
"warning",
|
|
47049
47053
|
"danger",
|
|
47050
47054
|
"info"
|
|
47051
|
-
],
|
|
47055
|
+
], Jp = (e) => _r[e] || _r.neutral, Wp = (e) => typeof e == "string" && e in _r ? e : "neutral", u0 = ot(
|
|
47052
47056
|
({
|
|
47053
47057
|
item: e,
|
|
47054
47058
|
index: n,
|
|
@@ -47061,7 +47065,7 @@ const _r = {
|
|
|
47061
47065
|
onHover: u,
|
|
47062
47066
|
onLeave: d
|
|
47063
47067
|
}) => {
|
|
47064
|
-
const [f, c] = F(!1), p = e.name !== null ? String(e.name) : "", h = Math.max(0, Math.min(100, Number(e.percent) || 0)), m =
|
|
47068
|
+
const [f, c] = F(!1), p = e.name !== null ? String(e.name) : "", h = Math.max(0, Math.min(100, Number(e.percent) || 0)), m = Jp(r);
|
|
47065
47069
|
return /* @__PURE__ */ b(
|
|
47066
47070
|
"div",
|
|
47067
47071
|
{
|
|
@@ -47121,7 +47125,7 @@ const c0 = ot(
|
|
|
47121
47125
|
const c = ee(() => !Array.isArray(e) || e.length === 0 ? [] : e.filter((v) => v !== null && typeof v == "object").map((v) => ({
|
|
47122
47126
|
name: String(v.name ?? ""),
|
|
47123
47127
|
percent: Math.max(0, Math.min(100, Number(v.percent) || 0))
|
|
47124
|
-
})), [e]), p = ee(() => !Array.isArray(n) || n.length === 0 ?
|
|
47128
|
+
})), [e]), p = ee(() => !Array.isArray(n) || n.length === 0 ? Qp : n.map((v) => Wp(v)), [n]), h = Math.max(4, Math.min(32, Number(i) || 8)), m = Math.max(0, Math.min(32, Number(a) || 4)), g = N(
|
|
47125
47129
|
"ui-flex ui-flex-wrap ui-justify-around ui-w-full",
|
|
47126
47130
|
t && "ui-opacity-50 ui-pointer-events-none",
|
|
47127
47131
|
r
|
|
@@ -47168,7 +47172,7 @@ const c0 = ot(
|
|
|
47168
47172
|
}
|
|
47169
47173
|
);
|
|
47170
47174
|
c0.displayName = "ListWithDataInHover";
|
|
47171
|
-
const
|
|
47175
|
+
const em = ot(
|
|
47172
47176
|
({
|
|
47173
47177
|
data: e,
|
|
47174
47178
|
colors: n,
|
|
@@ -47186,7 +47190,7 @@ const Wp = ot(
|
|
|
47186
47190
|
const p = ee(() => !Array.isArray(e) || e.length === 0 ? [] : e.filter((y) => y !== null && typeof y == "object").map((y) => ({
|
|
47187
47191
|
name: String(y.name ?? ""),
|
|
47188
47192
|
percent: Math.max(0, Math.min(100, Number(y.percent) || 0))
|
|
47189
|
-
})).filter((y) => y.percent > 0), [e]), h = ee(() => !Array.isArray(n) || n.length === 0 ?
|
|
47193
|
+
})).filter((y) => y.percent > 0), [e]), h = ee(() => !Array.isArray(n) || n.length === 0 ? Yp : n.map((y) => Xp(y)), [n]), m = ee(() => p.reduce((y, w) => y + w.percent, 0), [p]), g = ee(() => m === 0 ? p.map(() => 0) : m > 100 ? p.map((y) => y.percent / m * 100) : p.map((y) => y.percent), [p, m]), C = N(
|
|
47190
47194
|
"ui-relative ui-w-full",
|
|
47191
47195
|
d && "ui-opacity-50 ui-pointer-events-none",
|
|
47192
47196
|
r
|
|
@@ -47255,7 +47259,7 @@ const Wp = ot(
|
|
|
47255
47259
|
] });
|
|
47256
47260
|
}
|
|
47257
47261
|
);
|
|
47258
|
-
|
|
47262
|
+
em.displayName = "LinearGraphic";
|
|
47259
47263
|
const d0 = ot(({ color: e, size: n, className: r }) => {
|
|
47260
47264
|
const t = {
|
|
47261
47265
|
width: `${n}px`,
|
|
@@ -47283,7 +47287,7 @@ const Z1 = {
|
|
|
47283
47287
|
info: "var(--ui-color-cyan-500)",
|
|
47284
47288
|
neutral: "var(--ui-color-light-gray-500)",
|
|
47285
47289
|
yellow: "var(--ui-color-yellow-500)"
|
|
47286
|
-
},
|
|
47290
|
+
}, tm = (e) => Z1[e] || Z1.neutral, nm = ot(
|
|
47287
47291
|
({
|
|
47288
47292
|
title: e,
|
|
47289
47293
|
color: n,
|
|
@@ -47293,7 +47297,7 @@ const Z1 = {
|
|
|
47293
47297
|
indicatorSize: a = 8,
|
|
47294
47298
|
showIndicator: s = !0
|
|
47295
47299
|
}) => {
|
|
47296
|
-
const l = e != null ? String(e) : "", u = r != null ? String(r) : "", d =
|
|
47300
|
+
const l = e != null ? String(e) : "", u = r != null ? String(r) : "", d = tm(n), f = Math.max(4, Math.min(32, Number(a) || 8)), c = N(
|
|
47297
47301
|
"ui-flex ui-flex-wrap ui-items-center ui-justify-between ui-w-full ui-gap-4",
|
|
47298
47302
|
i && "ui-opacity-50 ui-pointer-events-none",
|
|
47299
47303
|
t
|
|
@@ -47307,7 +47311,7 @@ const Z1 = {
|
|
|
47307
47311
|
] });
|
|
47308
47312
|
}
|
|
47309
47313
|
);
|
|
47310
|
-
|
|
47314
|
+
nm.displayName = "TextListWithData";
|
|
47311
47315
|
function $e(e, n) {
|
|
47312
47316
|
return typeof e.get == "function" ? e.get(n) : e[n];
|
|
47313
47317
|
}
|
|
@@ -47317,7 +47321,7 @@ function _1(e) {
|
|
|
47317
47321
|
function vr(e, n) {
|
|
47318
47322
|
return _1(e) === _1(n) && e.every((r, t) => r === $e(n, t.toString()));
|
|
47319
47323
|
}
|
|
47320
|
-
function
|
|
47324
|
+
function im(e, n) {
|
|
47321
47325
|
const r = {};
|
|
47322
47326
|
return e.forEach((t) => {
|
|
47323
47327
|
r[t[n]] = t;
|
|
@@ -47330,7 +47334,7 @@ function Pn(...e) {
|
|
|
47330
47334
|
n.preventDefault(), e.forEach((t) => t && t(n, ...r));
|
|
47331
47335
|
};
|
|
47332
47336
|
}
|
|
47333
|
-
function
|
|
47337
|
+
function rm({
|
|
47334
47338
|
item: e,
|
|
47335
47339
|
itemContext: n,
|
|
47336
47340
|
getItemProps: r,
|
|
@@ -47470,8 +47474,8 @@ function _o(e, n, r, t) {
|
|
|
47470
47474
|
return l && u;
|
|
47471
47475
|
});
|
|
47472
47476
|
}
|
|
47473
|
-
const
|
|
47474
|
-
function m0(e, n, r =
|
|
47477
|
+
const om = 1e-3;
|
|
47478
|
+
function m0(e, n, r = om) {
|
|
47475
47479
|
return e.collisionLeft + r < n.collisionLeft + n.collisionWidth && e.collisionLeft + e.collisionWidth - r > n.collisionLeft && e.top - 0 + r < n.top + n.height && e.top + e.height + 0 - r > n.top;
|
|
47476
47480
|
}
|
|
47477
47481
|
function g0(e, n, r, t, i, a) {
|
|
@@ -47673,7 +47677,7 @@ function Yr(e, n, r, t, i, a, s) {
|
|
|
47673
47677
|
}
|
|
47674
47678
|
return p;
|
|
47675
47679
|
}
|
|
47676
|
-
const
|
|
47680
|
+
const rb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
47677
47681
|
__proto__: null,
|
|
47678
47682
|
NEXT_UNITS: qr,
|
|
47679
47683
|
calculateDimensions: h0,
|
|
@@ -47728,29 +47732,29 @@ function Xr(e) {
|
|
|
47728
47732
|
};
|
|
47729
47733
|
}
|
|
47730
47734
|
}
|
|
47731
|
-
const
|
|
47735
|
+
const am = {
|
|
47732
47736
|
fontSize: 12,
|
|
47733
47737
|
color: "white",
|
|
47734
47738
|
cursor: "pointer",
|
|
47735
47739
|
background: "#2196f3",
|
|
47736
47740
|
border: "1px solid #1a6fb3",
|
|
47737
47741
|
zIndex: 10
|
|
47738
|
-
},
|
|
47742
|
+
}, sm = {
|
|
47739
47743
|
background: "#ffc107",
|
|
47740
47744
|
border: "1px solid #ff9800",
|
|
47741
47745
|
zIndex: 10
|
|
47742
|
-
},
|
|
47746
|
+
}, lm = {
|
|
47743
47747
|
willChange: "left, top, width",
|
|
47744
47748
|
cursor: "move"
|
|
47745
|
-
}, lm = {
|
|
47746
|
-
borderLeftWidth: 3
|
|
47747
47749
|
}, um = {
|
|
47748
|
-
|
|
47750
|
+
borderLeftWidth: 3
|
|
47749
47751
|
}, cm = {
|
|
47750
|
-
|
|
47752
|
+
cursor: "w-resize"
|
|
47751
47753
|
}, dm = {
|
|
47752
|
-
|
|
47754
|
+
borderRightWidth: 3
|
|
47753
47755
|
}, fm = {
|
|
47756
|
+
cursor: "e-resize"
|
|
47757
|
+
}, hm = {
|
|
47754
47758
|
position: "absolute",
|
|
47755
47759
|
width: 24,
|
|
47756
47760
|
maxWidth: "20%",
|
|
@@ -47760,7 +47764,7 @@ const om = {
|
|
|
47760
47764
|
left: 0,
|
|
47761
47765
|
cursor: "pointer",
|
|
47762
47766
|
zIndex: 88
|
|
47763
|
-
},
|
|
47767
|
+
}, pm = {
|
|
47764
47768
|
position: "absolute",
|
|
47765
47769
|
width: 24,
|
|
47766
47770
|
maxWidth: "20%",
|
|
@@ -47770,7 +47774,7 @@ const om = {
|
|
|
47770
47774
|
right: 0,
|
|
47771
47775
|
cursor: "pointer",
|
|
47772
47776
|
zIndex: 88
|
|
47773
|
-
},
|
|
47777
|
+
}, mm = {
|
|
47774
47778
|
getTimelineState: () => (console.warn('"getTimelineState" default func is being used'), {}),
|
|
47775
47779
|
getLeftOffsetFromDate: () => (console.warn('"getLeftOffsetFromDate" default func is being used'), 0),
|
|
47776
47780
|
getDateFromLeftOffsetPosition: () => (console.warn('"getDateFromLeftOffsetPosition" default func is being used'), 0),
|
|
@@ -47778,7 +47782,7 @@ const om = {
|
|
|
47778
47782
|
console.warn('"showPeriod" default func is being used');
|
|
47779
47783
|
}
|
|
47780
47784
|
}, lr = Qn(
|
|
47781
|
-
|
|
47785
|
+
mm
|
|
47782
47786
|
);
|
|
47783
47787
|
function x0(e) {
|
|
47784
47788
|
const {
|
|
@@ -47819,7 +47823,7 @@ function x0(e) {
|
|
|
47819
47823
|
return /* @__PURE__ */ o(lr.Provider, { value: d, children: e.children });
|
|
47820
47824
|
}
|
|
47821
47825
|
x0.displayName = "TimelineStateProvider";
|
|
47822
|
-
const ur = lr.Consumer,
|
|
47826
|
+
const ur = lr.Consumer, gm = () => fi(lr);
|
|
47823
47827
|
gn.extend(bu);
|
|
47824
47828
|
const _i = class _i extends oo {
|
|
47825
47829
|
constructor(n) {
|
|
@@ -47879,12 +47883,12 @@ const _i = class _i extends oo {
|
|
|
47879
47883
|
left: {
|
|
47880
47884
|
ref: this.getDragLeftRef,
|
|
47881
47885
|
className: t,
|
|
47882
|
-
style: Object.assign({},
|
|
47886
|
+
style: Object.assign({}, hm, r.leftStyle)
|
|
47883
47887
|
},
|
|
47884
47888
|
right: {
|
|
47885
47889
|
ref: this.getDragRightRef,
|
|
47886
47890
|
className: i,
|
|
47887
|
-
style: Object.assign({},
|
|
47891
|
+
style: Object.assign({}, pm, r.rightStyle)
|
|
47888
47892
|
}
|
|
47889
47893
|
};
|
|
47890
47894
|
}, this.cacheDataFromProps(n);
|
|
@@ -48111,13 +48115,13 @@ const _i = class _i extends oo {
|
|
|
48111
48115
|
};
|
|
48112
48116
|
return Object.assign(
|
|
48113
48117
|
{},
|
|
48114
|
-
|
|
48115
|
-
this.props.selected ?
|
|
48116
|
-
this.props.selected && this.canMove(this.props) ?
|
|
48117
|
-
this.props.selected && this.canResizeLeft(this.props) ?
|
|
48118
|
-
this.props.selected && this.canResizeLeft(this.props) && this.state.dragging ?
|
|
48119
|
-
this.props.selected && this.canResizeRight(this.props) ?
|
|
48120
|
-
this.props.selected && this.canResizeRight(this.props) && this.state.dragging ?
|
|
48118
|
+
am,
|
|
48119
|
+
this.props.selected ? sm : {},
|
|
48120
|
+
this.props.selected && this.canMove(this.props) ? lm : {},
|
|
48121
|
+
this.props.selected && this.canResizeLeft(this.props) ? um : {},
|
|
48122
|
+
this.props.selected && this.canResizeLeft(this.props) && this.state.dragging ? cm : {},
|
|
48123
|
+
this.props.selected && this.canResizeRight(this.props) ? dm : {},
|
|
48124
|
+
this.props.selected && this.canResizeRight(this.props) && this.state.dragging ? fm : {},
|
|
48121
48125
|
n.style,
|
|
48122
48126
|
t
|
|
48123
48127
|
);
|
|
@@ -48154,18 +48158,18 @@ const _i = class _i extends oo {
|
|
|
48154
48158
|
};
|
|
48155
48159
|
_i.defaultProps = {
|
|
48156
48160
|
selected: !1,
|
|
48157
|
-
itemRenderer:
|
|
48161
|
+
itemRenderer: rm
|
|
48158
48162
|
}, _i.contextType = lr;
|
|
48159
48163
|
let Qr = _i;
|
|
48160
|
-
function
|
|
48164
|
+
function Cm(e, n) {
|
|
48161
48165
|
const r = $e(e, "canResize") !== void 0 ? $e(e, "canResize") : n;
|
|
48162
48166
|
return r === "left" || r === "both";
|
|
48163
48167
|
}
|
|
48164
|
-
function
|
|
48168
|
+
function bm(e, n) {
|
|
48165
48169
|
const r = $e(e, "canResize") !== void 0 ? $e(e, "canResize") : n;
|
|
48166
48170
|
return r === "right" || r === "both" || r === !0;
|
|
48167
48171
|
}
|
|
48168
|
-
class
|
|
48172
|
+
class vm extends oo {
|
|
48169
48173
|
shouldComponentUpdate(n) {
|
|
48170
48174
|
return !(vr(n.groups, this.props.groups) && vr(n.items, this.props.items) && vr(n.dimensionItems, this.props.dimensionItems) && n.keys === this.props.keys && n.canvasTimeStart === this.props.canvasTimeStart && n.canvasTimeEnd === this.props.canvasTimeEnd && n.canvasWidth === this.props.canvasWidth && n.selectedItem === this.props.selectedItem && n.selected === this.props.selected && n.dragSnap === this.props.dragSnap && n.minResizeWidth === this.props.minResizeWidth && n.canChangeGroup === this.props.canChangeGroup && n.canMove === this.props.canMove && n.canResize === this.props.canResize && n.canSelect === this.props.canSelect);
|
|
48171
48175
|
}
|
|
@@ -48181,7 +48185,7 @@ class bm extends oo {
|
|
|
48181
48185
|
return _o(i, n, r, t);
|
|
48182
48186
|
}
|
|
48183
48187
|
render() {
|
|
48184
|
-
const { canvasTimeStart: n, canvasTimeEnd: r, dimensionItems: t, keys: i, groups: a } = this.props, { itemIdKey: s, itemGroupKey: l } = i, u = Zo(a, i), d = this.getVisibleItems(n, r), f =
|
|
48188
|
+
const { canvasTimeStart: n, canvasTimeEnd: r, dimensionItems: t, keys: i, groups: a } = this.props, { itemIdKey: s, itemGroupKey: l } = i, u = Zo(a, i), d = this.getVisibleItems(n, r), f = im(t, "id");
|
|
48185
48189
|
return /* @__PURE__ */ o("div", { className: "rct-items", children: d.filter((c) => f[$e(c, s)]).map((c) => /* @__PURE__ */ o(
|
|
48186
48190
|
Qr,
|
|
48187
48191
|
{
|
|
@@ -48193,8 +48197,8 @@ class bm extends oo {
|
|
|
48193
48197
|
selected: this.isSelected(c, s),
|
|
48194
48198
|
canChangeGroup: $e(c, "canChangeGroup") !== void 0 ? $e(c, "canChangeGroup") : this.props.canChangeGroup,
|
|
48195
48199
|
canMove: $e(c, "canMove") !== void 0 ? $e(c, "canMove") : this.props.canMove,
|
|
48196
|
-
canResizeLeft:
|
|
48197
|
-
canResizeRight:
|
|
48200
|
+
canResizeLeft: Cm(c, this.props.canResize),
|
|
48201
|
+
canResizeRight: bm(c, this.props.canResize),
|
|
48198
48202
|
canSelect: $e(c, "canSelect") !== void 0 ? $e(c, "canSelect") : this.props.canSelect,
|
|
48199
48203
|
useResizeHandle: this.props.useResizeHandle,
|
|
48200
48204
|
groupTops: this.props.groupTops,
|
|
@@ -48218,7 +48222,7 @@ class bm extends oo {
|
|
|
48218
48222
|
)) });
|
|
48219
48223
|
}
|
|
48220
48224
|
}
|
|
48221
|
-
function
|
|
48225
|
+
function wm(e, n, r, t, i) {
|
|
48222
48226
|
return i ? i({ group: e, isRightSidebar: n }) : $e(e, n ? t : r);
|
|
48223
48227
|
}
|
|
48224
48228
|
function Jr({
|
|
@@ -48245,7 +48249,7 @@ function Jr({
|
|
|
48245
48249
|
{
|
|
48246
48250
|
className: "rct-sidebar-row rct-sidebar-row-" + (m % 2 === 0 ? "even" : "odd"),
|
|
48247
48251
|
style: g,
|
|
48248
|
-
children:
|
|
48252
|
+
children: wm(
|
|
48249
48253
|
h,
|
|
48250
48254
|
s,
|
|
48251
48255
|
u,
|
|
@@ -48266,7 +48270,7 @@ function Jr({
|
|
|
48266
48270
|
);
|
|
48267
48271
|
}
|
|
48268
48272
|
Jr.displayName = "Sidebar";
|
|
48269
|
-
function
|
|
48273
|
+
function ym({
|
|
48270
48274
|
canvasTimeStart: e,
|
|
48271
48275
|
canvasTimeEnd: n,
|
|
48272
48276
|
minUnit: r,
|
|
@@ -48303,7 +48307,7 @@ function wm({
|
|
|
48303
48307
|
}), /* @__PURE__ */ o("div", { className: "rct-vertical-lines", children: l });
|
|
48304
48308
|
}
|
|
48305
48309
|
function L0(e) {
|
|
48306
|
-
return /* @__PURE__ */ o(ur, { children: ({ getLeftOffsetFromDate: n }) => /* @__PURE__ */ o(
|
|
48310
|
+
return /* @__PURE__ */ o(ur, { children: ({ getLeftOffsetFromDate: n }) => /* @__PURE__ */ o(ym, { getLeftOffsetFromDate: n, ...e }) });
|
|
48307
48311
|
}
|
|
48308
48312
|
L0.displayName = "ColumnsWrapper";
|
|
48309
48313
|
function M0({ children: e, onClick: n, clickTolerance: r }) {
|
|
@@ -48485,24 +48489,24 @@ function N0({
|
|
|
48485
48489
|
);
|
|
48486
48490
|
}
|
|
48487
48491
|
N0.displayName = "ScrollElement";
|
|
48488
|
-
const
|
|
48492
|
+
const xm = {
|
|
48489
48493
|
subscribeToMouseOver: () => (console.warn('"subscribeToMouseOver" default func is being used'), () => {
|
|
48490
48494
|
})
|
|
48491
|
-
}, { Consumer:
|
|
48495
|
+
}, { Consumer: Lm, Provider: Mm } = Ne.createContext(xm), Sm = Mm, km = Lm, Nm = {
|
|
48492
48496
|
markers: [],
|
|
48493
48497
|
subscribeMarker: () => (console.warn("default subscribe marker used"), {
|
|
48494
48498
|
unsubscribe: wr,
|
|
48495
48499
|
getMarker: wr
|
|
48496
48500
|
}),
|
|
48497
48501
|
updateMarker: () => (console.warn("default subscribe marker used"), wr)
|
|
48498
|
-
}, I0 = Qn(
|
|
48502
|
+
}, I0 = Qn(Nm);
|
|
48499
48503
|
let q1 = 0;
|
|
48500
|
-
const
|
|
48504
|
+
const Im = () => (q1 += 1, q1 + 1);
|
|
48501
48505
|
function j0(e) {
|
|
48502
48506
|
const [n, r] = F([]), t = T((s) => {
|
|
48503
48507
|
const l = {
|
|
48504
48508
|
...s,
|
|
48505
|
-
id:
|
|
48509
|
+
id: Im()
|
|
48506
48510
|
};
|
|
48507
48511
|
return r((u) => [...u, l]), {
|
|
48508
48512
|
unsubscribe: () => {
|
|
@@ -48525,7 +48529,7 @@ function j0(e) {
|
|
|
48525
48529
|
j0.displayName = "TimelineMarkersProvider";
|
|
48526
48530
|
const cr = I0.Consumer;
|
|
48527
48531
|
var Bn = /* @__PURE__ */ ((e) => (e.Today = "Today", e.Custom = "Custom", e.Cursor = "Cursor", e))(Bn || {});
|
|
48528
|
-
const
|
|
48532
|
+
const jm = {
|
|
48529
48533
|
position: "absolute",
|
|
48530
48534
|
top: 0,
|
|
48531
48535
|
bottom: 0,
|
|
@@ -48536,11 +48540,11 @@ const Im = {
|
|
|
48536
48540
|
// will not get in the way of canvas click
|
|
48537
48541
|
pointerEvents: "none"
|
|
48538
48542
|
}, Go = (e) => ({
|
|
48539
|
-
...
|
|
48543
|
+
...jm,
|
|
48540
48544
|
left: e
|
|
48541
48545
|
}), qo = (e) => function({ styles: r }) {
|
|
48542
48546
|
return /* @__PURE__ */ o("div", { style: r, "data-testid": e });
|
|
48543
|
-
},
|
|
48547
|
+
}, Om = qo("default-today-line"), Ko = class Ko extends Ne.Component {
|
|
48544
48548
|
constructor() {
|
|
48545
48549
|
super(...arguments), this.state = {
|
|
48546
48550
|
date: Date.now()
|
|
@@ -48569,20 +48573,20 @@ const Im = {
|
|
|
48569
48573
|
}
|
|
48570
48574
|
};
|
|
48571
48575
|
Ko.defaultProps = {
|
|
48572
|
-
renderer:
|
|
48576
|
+
renderer: Om
|
|
48573
48577
|
};
|
|
48574
48578
|
let Wr = Ko;
|
|
48575
|
-
const
|
|
48579
|
+
const Dm = qo("default-customer-marker-id"), Xo = class Xo extends Ne.Component {
|
|
48576
48580
|
render() {
|
|
48577
48581
|
const { date: n } = this.props, r = this.props.getLeftOffsetFromDate(n), t = Go(r);
|
|
48578
48582
|
return this.props.renderer({ styles: t, date: n });
|
|
48579
48583
|
}
|
|
48580
48584
|
};
|
|
48581
48585
|
Xo.defaultProps = {
|
|
48582
|
-
renderer:
|
|
48586
|
+
renderer: Dm
|
|
48583
48587
|
};
|
|
48584
48588
|
let eo = Xo;
|
|
48585
|
-
const
|
|
48589
|
+
const Tm = qo("default-cursor-marker"), Qo = class Qo extends Ne.Component {
|
|
48586
48590
|
constructor(n) {
|
|
48587
48591
|
super(n), this.handleCanvasMouseOver = ({
|
|
48588
48592
|
leftOffset: r,
|
|
@@ -48614,12 +48618,12 @@ const Dm = qo("default-cursor-marker"), Qo = class Qo extends Ne.Component {
|
|
|
48614
48618
|
}
|
|
48615
48619
|
};
|
|
48616
48620
|
Qo.defaultProps = {
|
|
48617
|
-
renderer:
|
|
48621
|
+
renderer: Tm
|
|
48618
48622
|
};
|
|
48619
48623
|
let to = Qo;
|
|
48620
|
-
const O0 = (e) => /* @__PURE__ */ o(
|
|
48624
|
+
const O0 = (e) => /* @__PURE__ */ o(km, { children: ({ subscribeToMouseOver: n }) => /* @__PURE__ */ o(to, { subscribeToCanvasMouseOver: n, ...e }) });
|
|
48621
48625
|
O0.displayName = "CursorMarkerWrapper";
|
|
48622
|
-
const
|
|
48626
|
+
const Vm = () => /* @__PURE__ */ o(ur, { children: ({ getLeftOffsetFromDate: e, getTimelineState: n }) => /* @__PURE__ */ o(cr, { children: ({ markers: r }) => {
|
|
48623
48627
|
const t = n();
|
|
48624
48628
|
return r.map((i) => {
|
|
48625
48629
|
switch (i.type) {
|
|
@@ -48656,14 +48660,14 @@ const Tm = () => /* @__PURE__ */ o(ur, { children: ({ getLeftOffsetFromDate: e,
|
|
|
48656
48660
|
return null;
|
|
48657
48661
|
}
|
|
48658
48662
|
});
|
|
48659
|
-
} }) }),
|
|
48663
|
+
} }) }), Hm = {
|
|
48660
48664
|
position: "absolute",
|
|
48661
48665
|
left: 0,
|
|
48662
48666
|
right: 0,
|
|
48663
48667
|
top: 0,
|
|
48664
48668
|
bottom: 0
|
|
48665
48669
|
};
|
|
48666
|
-
function
|
|
48670
|
+
function Em({ getDateFromLeftOffsetPosition: e, children: n }) {
|
|
48667
48671
|
const r = _(null), t = _(null), i = T(
|
|
48668
48672
|
(u) => {
|
|
48669
48673
|
if (t.current !== null && r.current) {
|
|
@@ -48689,15 +48693,15 @@ function Hm({ getDateFromLeftOffsetPosition: e, children: n }) {
|
|
|
48689
48693
|
}),
|
|
48690
48694
|
[s]
|
|
48691
48695
|
);
|
|
48692
|
-
return /* @__PURE__ */ o(
|
|
48696
|
+
return /* @__PURE__ */ o(Sm, { value: l, children: /* @__PURE__ */ b(
|
|
48693
48697
|
"div",
|
|
48694
48698
|
{
|
|
48695
|
-
style:
|
|
48699
|
+
style: Hm,
|
|
48696
48700
|
onMouseMove: i,
|
|
48697
48701
|
onMouseLeave: a,
|
|
48698
48702
|
ref: r,
|
|
48699
48703
|
children: [
|
|
48700
|
-
/* @__PURE__ */ o(
|
|
48704
|
+
/* @__PURE__ */ o(Vm, {}),
|
|
48701
48705
|
n
|
|
48702
48706
|
]
|
|
48703
48707
|
}
|
|
@@ -48705,7 +48709,7 @@ function Hm({ getDateFromLeftOffsetPosition: e, children: n }) {
|
|
|
48705
48709
|
}
|
|
48706
48710
|
function D0(e) {
|
|
48707
48711
|
return /* @__PURE__ */ o(ur, { children: ({ getDateFromLeftOffsetPosition: n }) => /* @__PURE__ */ o(
|
|
48708
|
-
|
|
48712
|
+
Em,
|
|
48709
48713
|
{
|
|
48710
48714
|
getDateFromLeftOffsetPosition: n,
|
|
48711
48715
|
...e
|
|
@@ -48713,13 +48717,13 @@ function D0(e) {
|
|
|
48713
48717
|
) });
|
|
48714
48718
|
}
|
|
48715
48719
|
D0.displayName = "MarkerCanvas";
|
|
48716
|
-
function
|
|
48720
|
+
function Pm(e) {
|
|
48717
48721
|
e._resizeEventListener = () => e.resize(), window.addEventListener("resize", e._resizeEventListener);
|
|
48718
48722
|
}
|
|
48719
|
-
function
|
|
48723
|
+
function Am(e) {
|
|
48720
48724
|
window.removeEventListener("resize", e._resizeEventListener);
|
|
48721
48725
|
}
|
|
48722
|
-
const Y1 = { addListener:
|
|
48726
|
+
const Y1 = { addListener: Pm, removeListener: Am }, Rm = {
|
|
48723
48727
|
groupIdKey: "id",
|
|
48724
48728
|
groupTitleKey: "title",
|
|
48725
48729
|
groupRightTitleKey: "rightTitle",
|
|
@@ -48730,14 +48734,14 @@ const Y1 = { addListener: Em, removeListener: Pm }, Am = {
|
|
|
48730
48734
|
itemGroupKey: "group",
|
|
48731
48735
|
itemTimeStartKey: "start_time",
|
|
48732
48736
|
itemTimeEndKey: "end_time"
|
|
48733
|
-
},
|
|
48737
|
+
}, zm = {
|
|
48734
48738
|
second: 1,
|
|
48735
48739
|
minute: 1,
|
|
48736
48740
|
hour: 1,
|
|
48737
48741
|
day: 1,
|
|
48738
48742
|
month: 1,
|
|
48739
48743
|
year: 1
|
|
48740
|
-
},
|
|
48744
|
+
}, Bm = {
|
|
48741
48745
|
year: {
|
|
48742
48746
|
long: "YYYY",
|
|
48743
48747
|
mediumLong: "YYYY",
|
|
@@ -48780,14 +48784,14 @@ const Y1 = { addListener: Em, removeListener: Pm }, Am = {
|
|
|
48780
48784
|
medium: "mm:ss",
|
|
48781
48785
|
short: "ss"
|
|
48782
48786
|
}
|
|
48783
|
-
},
|
|
48787
|
+
}, $m = {
|
|
48784
48788
|
registerScroll: () => {
|
|
48785
48789
|
console.warn("default registerScroll header used");
|
|
48786
48790
|
},
|
|
48787
48791
|
rightSidebarWidth: 0,
|
|
48788
48792
|
leftSidebarWidth: 150,
|
|
48789
48793
|
timeSteps: {}
|
|
48790
|
-
}, T0 = Qn(
|
|
48794
|
+
}, T0 = Qn($m);
|
|
48791
48795
|
function V0({
|
|
48792
48796
|
children: e,
|
|
48793
48797
|
rightSidebarWidth: n = 0,
|
|
@@ -48804,7 +48808,7 @@ function V0({
|
|
|
48804
48808
|
return /* @__PURE__ */ o(T0.Provider, { value: a, children: e });
|
|
48805
48809
|
}
|
|
48806
48810
|
V0.displayName = "TimelineHeadersProvider";
|
|
48807
|
-
const
|
|
48811
|
+
const Fm = T0, Yo = () => fi(Fm), Zm = "left", H0 = "right";
|
|
48808
48812
|
function E0({
|
|
48809
48813
|
children: e,
|
|
48810
48814
|
rightSidebarWidth: n = 0,
|
|
@@ -48821,11 +48825,11 @@ function E0({
|
|
|
48821
48825
|
);
|
|
48822
48826
|
return /* @__PURE__ */ o(e, { getRootProps: a, data: i });
|
|
48823
48827
|
}
|
|
48824
|
-
const
|
|
48828
|
+
const _m = ({
|
|
48825
48829
|
getRootProps: e
|
|
48826
48830
|
}) => /* @__PURE__ */ o("div", { "data-testid": "sidebarHeader", ...e() });
|
|
48827
48831
|
function no(e) {
|
|
48828
|
-
const { children: n, variant: r =
|
|
48832
|
+
const { children: n, variant: r = Zm, headerData: t } = e, { leftSidebarWidth: i, rightSidebarWidth: a } = Yo();
|
|
48829
48833
|
return /* @__PURE__ */ o(
|
|
48830
48834
|
E0,
|
|
48831
48835
|
{
|
|
@@ -48833,15 +48837,15 @@ function no(e) {
|
|
|
48833
48837
|
rightSidebarWidth: a,
|
|
48834
48838
|
variant: r,
|
|
48835
48839
|
headerData: t,
|
|
48836
|
-
children: n ||
|
|
48840
|
+
children: n || _m
|
|
48837
48841
|
}
|
|
48838
48842
|
);
|
|
48839
48843
|
}
|
|
48840
48844
|
no.secretKey = "SidebarHeader";
|
|
48841
48845
|
E0.displayName = "SidebarHeader";
|
|
48842
|
-
const
|
|
48843
|
-
function
|
|
48844
|
-
return (e == null ? void 0 : e.type) === void 0 ? !1 : e.type.secretKey ===
|
|
48846
|
+
const Um = "SidebarHeader";
|
|
48847
|
+
function Gm(e) {
|
|
48848
|
+
return (e == null ? void 0 : e.type) === void 0 ? !1 : e.type.secretKey === Um;
|
|
48845
48849
|
}
|
|
48846
48850
|
function P0({
|
|
48847
48851
|
registerScroll: e,
|
|
@@ -48866,7 +48870,7 @@ function P0({
|
|
|
48866
48870
|
const h = [];
|
|
48867
48871
|
return ro.map(f, (m) => {
|
|
48868
48872
|
var g;
|
|
48869
|
-
|
|
48873
|
+
Gm(m) ? ((g = m == null ? void 0 : m.props) == null ? void 0 : g.variant) === H0 ? c = m : p = m : h.push(m);
|
|
48870
48874
|
}), p || (p = /* @__PURE__ */ o(no, {})), !c && r && (c = /* @__PURE__ */ o(no, { variant: "right" })), /* @__PURE__ */ b(
|
|
48871
48875
|
"div",
|
|
48872
48876
|
{
|
|
@@ -48915,7 +48919,7 @@ function A0({
|
|
|
48915
48919
|
}
|
|
48916
48920
|
const R0 = "TimelineHeaders";
|
|
48917
48921
|
A0.secretKey = R0;
|
|
48918
|
-
function
|
|
48922
|
+
function qm({
|
|
48919
48923
|
canvasTimeStart: e,
|
|
48920
48924
|
canvasTimeEnd: n,
|
|
48921
48925
|
unit: r,
|
|
@@ -48933,7 +48937,7 @@ function Gm({
|
|
|
48933
48937
|
});
|
|
48934
48938
|
}), a;
|
|
48935
48939
|
}
|
|
48936
|
-
function
|
|
48940
|
+
function Ym({
|
|
48937
48941
|
children: e,
|
|
48938
48942
|
unit: n,
|
|
48939
48943
|
timeSteps: r,
|
|
@@ -48949,7 +48953,7 @@ function qm({
|
|
|
48949
48953
|
timelineWidth: p
|
|
48950
48954
|
}) {
|
|
48951
48955
|
const h = ee(
|
|
48952
|
-
() =>
|
|
48956
|
+
() => qm({
|
|
48953
48957
|
canvasTimeStart: a,
|
|
48954
48958
|
canvasTimeEnd: s,
|
|
48955
48959
|
unit: n,
|
|
@@ -49001,9 +49005,9 @@ function z0({
|
|
|
49001
49005
|
headerData: r,
|
|
49002
49006
|
height: t
|
|
49003
49007
|
}) {
|
|
49004
|
-
const { getTimelineState: i, showPeriod: a, getLeftOffsetFromDate: s } =
|
|
49008
|
+
const { getTimelineState: i, showPeriod: a, getLeftOffsetFromDate: s } = gm(), l = i(), { timeSteps: u } = Yo();
|
|
49005
49009
|
return /* @__PURE__ */ o(
|
|
49006
|
-
|
|
49010
|
+
Ym,
|
|
49007
49011
|
{
|
|
49008
49012
|
children: e,
|
|
49009
49013
|
timeSteps: u,
|
|
@@ -49022,7 +49026,7 @@ function z0({
|
|
|
49022
49026
|
);
|
|
49023
49027
|
}
|
|
49024
49028
|
z0.displayName = "CustomHeaderWrapper";
|
|
49025
|
-
class
|
|
49029
|
+
class Km extends Ne.PureComponent {
|
|
49026
49030
|
constructor() {
|
|
49027
49031
|
super(...arguments), this.onIntervalClick = () => {
|
|
49028
49032
|
const { primaryHeader: n, interval: r, unit: t, showPeriod: i } = this.props;
|
|
@@ -49066,7 +49070,7 @@ class Ym extends Ne.PureComponent {
|
|
|
49066
49070
|
);
|
|
49067
49071
|
}
|
|
49068
49072
|
}
|
|
49069
|
-
function
|
|
49073
|
+
function Xm({
|
|
49070
49074
|
headerContext: { intervals: e, unit: n },
|
|
49071
49075
|
getRootProps: r,
|
|
49072
49076
|
getIntervalProps: t,
|
|
@@ -49080,7 +49084,7 @@ function Km({
|
|
|
49080
49084
|
c.labelWidth
|
|
49081
49085
|
);
|
|
49082
49086
|
return /* @__PURE__ */ o(
|
|
49083
|
-
|
|
49087
|
+
Km,
|
|
49084
49088
|
{
|
|
49085
49089
|
unit: n,
|
|
49086
49090
|
interval: c,
|
|
@@ -49095,10 +49099,10 @@ function Km({
|
|
|
49095
49099
|
);
|
|
49096
49100
|
}) });
|
|
49097
49101
|
}
|
|
49098
|
-
const
|
|
49102
|
+
const Qm = oa((e) => ({
|
|
49099
49103
|
height: 30,
|
|
49100
49104
|
...e
|
|
49101
|
-
})),
|
|
49105
|
+
})), Jm = oa(
|
|
49102
49106
|
(e, n, r, t, i, a) => ({
|
|
49103
49107
|
intervalRenderer: e,
|
|
49104
49108
|
style: n,
|
|
@@ -49108,7 +49112,7 @@ const Xm = oa((e) => ({
|
|
|
49108
49112
|
headerData: a
|
|
49109
49113
|
})
|
|
49110
49114
|
);
|
|
49111
|
-
function
|
|
49115
|
+
function Wm({
|
|
49112
49116
|
unit: e,
|
|
49113
49117
|
timelineUnit: n,
|
|
49114
49118
|
labelFormat: r,
|
|
@@ -49128,9 +49132,9 @@ function Jm({
|
|
|
49128
49132
|
},
|
|
49129
49133
|
[r]
|
|
49130
49134
|
), f = ee(
|
|
49131
|
-
() =>
|
|
49135
|
+
() => Jm(
|
|
49132
49136
|
a,
|
|
49133
|
-
|
|
49137
|
+
Qm(t),
|
|
49134
49138
|
i,
|
|
49135
49139
|
d,
|
|
49136
49140
|
e,
|
|
@@ -49141,7 +49145,7 @@ function Jm({
|
|
|
49141
49145
|
return /* @__PURE__ */ o(
|
|
49142
49146
|
z0,
|
|
49143
49147
|
{
|
|
49144
|
-
children:
|
|
49148
|
+
children: Xm,
|
|
49145
49149
|
unit: u,
|
|
49146
49150
|
height: l,
|
|
49147
49151
|
headerData: f
|
|
@@ -49160,11 +49164,11 @@ function io({
|
|
|
49160
49164
|
return /* @__PURE__ */ o(ur, { children: ({ getTimelineState: l }) => {
|
|
49161
49165
|
const u = l();
|
|
49162
49166
|
return /* @__PURE__ */ o(
|
|
49163
|
-
|
|
49167
|
+
Wm,
|
|
49164
49168
|
{
|
|
49165
49169
|
timelineUnit: u.timelineUnit,
|
|
49166
49170
|
unit: n,
|
|
49167
|
-
labelFormat: e ??
|
|
49171
|
+
labelFormat: e ?? eg,
|
|
49168
49172
|
style: r,
|
|
49169
49173
|
className: t,
|
|
49170
49174
|
intervalRenderer: i,
|
|
@@ -49174,7 +49178,7 @@ function io({
|
|
|
49174
49178
|
);
|
|
49175
49179
|
} });
|
|
49176
49180
|
}
|
|
49177
|
-
function
|
|
49181
|
+
function eg([e], n, r, t = Bm) {
|
|
49178
49182
|
let i;
|
|
49179
49183
|
return r >= 150 ? i = t[n].long : r >= 100 ? i = t[n].mediumLong : r >= 50 ? i = t[n].medium : i = t[n].short, e.format(i);
|
|
49180
49184
|
}
|
|
@@ -49547,7 +49551,7 @@ const Ui = class Ui extends oo {
|
|
|
49547
49551
|
groupTops: a
|
|
49548
49552
|
}) {
|
|
49549
49553
|
return /* @__PURE__ */ o(
|
|
49550
|
-
|
|
49554
|
+
vm,
|
|
49551
49555
|
{
|
|
49552
49556
|
canvasTimeStart: n,
|
|
49553
49557
|
canvasTimeEnd: r,
|
|
@@ -49807,8 +49811,8 @@ Ui.setDayjsLocale = gn.locale, Ui.defaultProps = {
|
|
|
49807
49811
|
itemTouchSendsClick: !1,
|
|
49808
49812
|
style: {},
|
|
49809
49813
|
className: "",
|
|
49810
|
-
keys:
|
|
49811
|
-
timeSteps:
|
|
49814
|
+
keys: Rm,
|
|
49815
|
+
timeSteps: zm,
|
|
49812
49816
|
headerRef: () => {
|
|
49813
49817
|
},
|
|
49814
49818
|
scrollRef: () => {
|
|
@@ -49826,9 +49830,9 @@ Ui.setDayjsLocale = gn.locale, Ui.defaultProps = {
|
|
|
49826
49830
|
selected: null
|
|
49827
49831
|
};
|
|
49828
49832
|
let K1 = Ui;
|
|
49829
|
-
const
|
|
49830
|
-
function
|
|
49831
|
-
interval: e =
|
|
49833
|
+
const ob = (e) => e.children || null, tg = 1e3 * 10;
|
|
49834
|
+
function ng({
|
|
49835
|
+
interval: e = tg,
|
|
49832
49836
|
updateMarker: n,
|
|
49833
49837
|
subscribeMarker: r,
|
|
49834
49838
|
children: t
|
|
@@ -49850,9 +49854,9 @@ function tg({
|
|
|
49850
49854
|
}
|
|
49851
49855
|
}, [e, n]), null;
|
|
49852
49856
|
}
|
|
49853
|
-
function
|
|
49857
|
+
function ig(e) {
|
|
49854
49858
|
return /* @__PURE__ */ o(cr, { children: ({ subscribeMarker: n, updateMarker: r }) => /* @__PURE__ */ o(
|
|
49855
|
-
|
|
49859
|
+
ng,
|
|
49856
49860
|
{
|
|
49857
49861
|
subscribeMarker: n,
|
|
49858
49862
|
updateMarker: r,
|
|
@@ -49860,8 +49864,8 @@ function ng(e) {
|
|
|
49860
49864
|
}
|
|
49861
49865
|
) });
|
|
49862
49866
|
}
|
|
49863
|
-
|
|
49864
|
-
function
|
|
49867
|
+
ig.displayName = "TodayMarker";
|
|
49868
|
+
function rg({ date: e, children: n, updateMarker: r, subscribeMarker: t }) {
|
|
49865
49869
|
const i = _(null);
|
|
49866
49870
|
return ie(() => {
|
|
49867
49871
|
const { unsubscribe: a, getMarker: s } = t({
|
|
@@ -49879,9 +49883,9 @@ function ig({ date: e, children: n, updateMarker: r, subscribeMarker: t }) {
|
|
|
49879
49883
|
}
|
|
49880
49884
|
}, [e, r]), null;
|
|
49881
49885
|
}
|
|
49882
|
-
function
|
|
49886
|
+
function og(e) {
|
|
49883
49887
|
return /* @__PURE__ */ o(cr, { children: ({ subscribeMarker: n, updateMarker: r }) => /* @__PURE__ */ o(
|
|
49884
|
-
|
|
49888
|
+
rg,
|
|
49885
49889
|
{
|
|
49886
49890
|
subscribeMarker: n,
|
|
49887
49891
|
updateMarker: r,
|
|
@@ -49889,8 +49893,8 @@ function rg(e) {
|
|
|
49889
49893
|
}
|
|
49890
49894
|
) });
|
|
49891
49895
|
}
|
|
49892
|
-
|
|
49893
|
-
function
|
|
49896
|
+
og.displayName = "CustomMarker";
|
|
49897
|
+
function ag({ subscribeMarker: e, children: n }) {
|
|
49894
49898
|
return ie(() => {
|
|
49895
49899
|
const { unsubscribe: r } = e({
|
|
49896
49900
|
type: Bn.Cursor,
|
|
@@ -49901,15 +49905,15 @@ function og({ subscribeMarker: e, children: n }) {
|
|
|
49901
49905
|
};
|
|
49902
49906
|
}, [e, n]), null;
|
|
49903
49907
|
}
|
|
49904
|
-
function
|
|
49905
|
-
return /* @__PURE__ */ o(cr, { children: ({ subscribeMarker: n }) => /* @__PURE__ */ o(
|
|
49908
|
+
function sg(e) {
|
|
49909
|
+
return /* @__PURE__ */ o(cr, { children: ({ subscribeMarker: n }) => /* @__PURE__ */ o(ag, { subscribeMarker: n, ...e }) });
|
|
49906
49910
|
}
|
|
49907
|
-
|
|
49911
|
+
sg.displayName = "CursorMarker";
|
|
49908
49912
|
export {
|
|
49909
|
-
|
|
49913
|
+
Ag as Accordion,
|
|
49910
49914
|
Ns as ActionsCell,
|
|
49911
49915
|
Oa as Alert,
|
|
49912
|
-
|
|
49916
|
+
Bg as AlertDialog,
|
|
49913
49917
|
Rt as Avatar,
|
|
49914
49918
|
Ff as AvatarsCell,
|
|
49915
49919
|
aa as BUTTON_SLOT_SPREAD_CENTER,
|
|
@@ -49919,7 +49923,7 @@ export {
|
|
|
49919
49923
|
Ar as Body,
|
|
49920
49924
|
Ve as Button,
|
|
49921
49925
|
Uf as ButtonCell,
|
|
49922
|
-
|
|
49926
|
+
$g as ButtonGroup,
|
|
49923
49927
|
Li as COLORS,
|
|
49924
49928
|
k5 as Calendar,
|
|
49925
49929
|
S5 as CalendarContent,
|
|
@@ -49927,7 +49931,7 @@ export {
|
|
|
49927
49931
|
x5 as CalendarHeader,
|
|
49928
49932
|
ys as Caption,
|
|
49929
49933
|
un as Card,
|
|
49930
|
-
|
|
49934
|
+
eC as CardsGenericas,
|
|
49931
49935
|
m5 as CardsWithAside,
|
|
49932
49936
|
a5 as CatalogCard,
|
|
49933
49937
|
Th as CellRenderer,
|
|
@@ -49939,11 +49943,11 @@ export {
|
|
|
49939
49943
|
z7 as ColorPicker,
|
|
49940
49944
|
R7 as ColorPickerContent,
|
|
49941
49945
|
N7 as ColorSwatch,
|
|
49942
|
-
|
|
49946
|
+
sg as CursorMarker,
|
|
49943
49947
|
z0 as CustomHeader,
|
|
49944
|
-
|
|
49948
|
+
og as CustomMarker,
|
|
49945
49949
|
Ls as CustomText,
|
|
49946
|
-
|
|
49950
|
+
Hp as DEFAULT_GHANTT_COLUMN_MAX_WIDTH_PX,
|
|
49947
49951
|
Ds as DateCell,
|
|
49948
49952
|
io as DateHeader,
|
|
49949
49953
|
L5 as DateInput,
|
|
@@ -49953,31 +49957,31 @@ export {
|
|
|
49953
49957
|
T5 as Drawer,
|
|
49954
49958
|
Jt as Dropdown,
|
|
49955
49959
|
_f as DropdownCell,
|
|
49956
|
-
|
|
49960
|
+
nC as Emoji,
|
|
49957
49961
|
K5 as EmojiPicker,
|
|
49958
49962
|
Us as EmptyTableState,
|
|
49959
49963
|
hs as FileTypeIcon,
|
|
49960
49964
|
ps as FileUploadListItem,
|
|
49961
49965
|
m7 as FileUploader,
|
|
49962
49966
|
Tf as FilterCard,
|
|
49963
|
-
|
|
49964
|
-
|
|
49965
|
-
|
|
49966
|
-
|
|
49967
|
-
|
|
49967
|
+
bC as FilterForm,
|
|
49968
|
+
vC as FilterList,
|
|
49969
|
+
iC as Filters,
|
|
49970
|
+
Vp as GHANTT_DEFAULT_COLUMN_ID,
|
|
49971
|
+
CC as GHANTT_DENSE_HEADER_MAX_LABELS,
|
|
49968
49972
|
Bi as GHANTT_DENSE_SLOT_GRID_MIN_SLOTS,
|
|
49969
|
-
|
|
49973
|
+
mC as GHANTT_HOUR_VIRTUAL_MIN_SLOTS,
|
|
49970
49974
|
ui as GHANTT_MODIFIER_ZOOM_GLOBAL_START,
|
|
49971
49975
|
ch as GHANTT_MODIFIER_ZOOM_HOUR_HALF_MS,
|
|
49972
|
-
|
|
49976
|
+
fC as GHANTT_MODIFIER_ZOOM_MIN_SPAN_MS,
|
|
49973
49977
|
zn as GHANTT_MODIFIER_ZOOM_ORDER,
|
|
49974
49978
|
Ho as GHANTT_SCROLL_VIRTUAL_MIN_SLOTS,
|
|
49975
49979
|
Rr as GHANTT_TIMELINE_HEADER_STACK_HEIGHT_PX,
|
|
49976
49980
|
Fs as GanttCell,
|
|
49977
|
-
|
|
49981
|
+
zp as Ghantt,
|
|
49978
49982
|
nh as GhanttConfigProvider,
|
|
49979
49983
|
Po as GhanttSlotStrip,
|
|
49980
|
-
|
|
49984
|
+
UC as GhanttTimelineHeader,
|
|
49981
49985
|
S0 as GroupRow,
|
|
49982
49986
|
Vh as HeaderCell,
|
|
49983
49987
|
ja as HelperText,
|
|
@@ -49992,16 +49996,16 @@ export {
|
|
|
49992
49996
|
X3 as LegacyButton,
|
|
49993
49997
|
Wi as LegacyIcon,
|
|
49994
49998
|
M7 as Lightbox,
|
|
49995
|
-
|
|
49999
|
+
em as LinearGraphic,
|
|
49996
50000
|
l0 as LinearGraphicSegment,
|
|
49997
50001
|
zf as LinkCell,
|
|
49998
50002
|
Wa as List,
|
|
49999
|
-
|
|
50003
|
+
Qg as ListAlphabetic,
|
|
50000
50004
|
ts as ListBase,
|
|
50001
|
-
|
|
50005
|
+
Fg as ListDefault,
|
|
50002
50006
|
k6 as ListEmpty,
|
|
50003
|
-
|
|
50004
|
-
|
|
50007
|
+
Jg as ListFilters,
|
|
50008
|
+
Wg as ListFiltersCheckbox,
|
|
50005
50009
|
es as ListHeader,
|
|
50006
50010
|
Mo as ListItem,
|
|
50007
50011
|
tr as ListItemCheckbox,
|
|
@@ -50012,18 +50016,18 @@ export {
|
|
|
50012
50016
|
Ja as ListItemWithCheckbox,
|
|
50013
50017
|
Dr as ListSearchInput,
|
|
50014
50018
|
en as ListSeparator,
|
|
50015
|
-
|
|
50016
|
-
|
|
50017
|
-
|
|
50018
|
-
|
|
50019
|
+
Yg as ListUserList,
|
|
50020
|
+
Xg as ListUserProfile,
|
|
50021
|
+
Ug as ListUsersSelect,
|
|
50022
|
+
Kg as ListWithCheckbox,
|
|
50019
50023
|
c0 as ListWithDataInHover,
|
|
50020
|
-
|
|
50021
|
-
|
|
50022
|
-
|
|
50023
|
-
|
|
50024
|
+
_g as ListWithRadio,
|
|
50025
|
+
Zg as ListWithSeparator,
|
|
50026
|
+
qg as ListWithToggle,
|
|
50027
|
+
aC as Logo,
|
|
50024
50028
|
a0 as MessageItem,
|
|
50025
50029
|
Ro as MessagePositions,
|
|
50026
|
-
|
|
50030
|
+
QC as Messaging,
|
|
50027
50031
|
g1 as Modal,
|
|
50028
50032
|
Ba as ModalProvider,
|
|
50029
50033
|
v5 as Month,
|
|
@@ -50032,7 +50036,7 @@ export {
|
|
|
50032
50036
|
Ei as NavigationButton,
|
|
50033
50037
|
s0 as NotificationItem,
|
|
50034
50038
|
zo as NotificationPositions,
|
|
50035
|
-
|
|
50039
|
+
XC as Notifier,
|
|
50036
50040
|
p6 as POPUP_ARROW_TILT_LEFT_DEG,
|
|
50037
50041
|
m6 as POPUP_ARROW_TILT_RIGHT_DEG,
|
|
50038
50042
|
h6 as POPUP_ARROW_WIDTH_SCALE,
|
|
@@ -50049,46 +50053,46 @@ export {
|
|
|
50049
50053
|
Gf as ProgressBarCell,
|
|
50050
50054
|
Er as RANGE_BAR_TRACK_BLEED_X,
|
|
50051
50055
|
af as RadioButton,
|
|
50052
|
-
|
|
50056
|
+
lC as RadioButtonGroup,
|
|
50053
50057
|
Pr as RangeBar,
|
|
50054
50058
|
bf as RangeSelector,
|
|
50055
|
-
|
|
50059
|
+
uC as Rating,
|
|
50056
50060
|
K1 as ReactCalendarTimeline,
|
|
50057
|
-
|
|
50058
|
-
|
|
50061
|
+
lb as ReviewProvider,
|
|
50062
|
+
vm as RowItems,
|
|
50059
50063
|
Ai as SelectionCheckbox,
|
|
50060
50064
|
Pt as Separator,
|
|
50061
|
-
|
|
50065
|
+
ib as Sidebar,
|
|
50062
50066
|
sr as SidebarDivider,
|
|
50063
50067
|
no as SidebarHeader,
|
|
50064
|
-
|
|
50065
|
-
|
|
50066
|
-
|
|
50067
|
-
|
|
50068
|
-
|
|
50069
|
-
|
|
50068
|
+
Up as SidebarMenuGroup,
|
|
50069
|
+
_p as SidebarMenuItem,
|
|
50070
|
+
nb as SidebarSectionTitle,
|
|
50071
|
+
Gp as SidebarUserProfile,
|
|
50072
|
+
qp as SidebarWorkspaceCard,
|
|
50073
|
+
cC as Skeleton,
|
|
50070
50074
|
Is as SkeletonCell,
|
|
50071
50075
|
Ph as SkeletonRow,
|
|
50072
|
-
|
|
50076
|
+
sC as Spinner,
|
|
50073
50077
|
Jf as StarsCell,
|
|
50074
50078
|
ks as StatusCell,
|
|
50075
50079
|
xf as StepConnector,
|
|
50076
50080
|
wf as StepIcon,
|
|
50077
50081
|
Lf as StepItem,
|
|
50078
50082
|
yf as StepLabel,
|
|
50079
|
-
|
|
50083
|
+
dC as Stepper,
|
|
50080
50084
|
rr as StoryBox,
|
|
50081
|
-
|
|
50085
|
+
Np as StrapiApiError,
|
|
50082
50086
|
Ir as Switch,
|
|
50083
50087
|
M6 as TOGGLE_DEFAULT_TOOLTIP,
|
|
50084
|
-
|
|
50088
|
+
Gg as TOGGLE_DESIGN_TOKENS,
|
|
50085
50089
|
g5 as TabContent,
|
|
50086
|
-
|
|
50090
|
+
mp as Table,
|
|
50087
50091
|
Rh as TableBody,
|
|
50088
50092
|
Ms as TableCell,
|
|
50089
50093
|
zh as TableContent,
|
|
50090
50094
|
Eh as TableHeader,
|
|
50091
|
-
|
|
50095
|
+
ZC as TableQueryProvider,
|
|
50092
50096
|
Zs as TableRow,
|
|
50093
50097
|
P1 as TableSelectionBar,
|
|
50094
50098
|
Ef as TableToolbar,
|
|
@@ -50097,52 +50101,52 @@ export {
|
|
|
50097
50101
|
Rn as Text,
|
|
50098
50102
|
Zf as TextFieldCell,
|
|
50099
50103
|
d0 as TextListIndicator,
|
|
50100
|
-
|
|
50104
|
+
nm as TextListWithData,
|
|
50101
50105
|
Q5 as Textarea,
|
|
50102
50106
|
K1 as Timeline,
|
|
50103
50107
|
A0 as TimelineHeaders,
|
|
50104
|
-
|
|
50108
|
+
ob as TimelineMarkers,
|
|
50105
50109
|
ir as Title,
|
|
50106
50110
|
ws as TitleText,
|
|
50107
|
-
|
|
50108
|
-
|
|
50111
|
+
KC as Toaster,
|
|
50112
|
+
ig as TodayMarker,
|
|
50109
50113
|
ko as Toggle,
|
|
50110
|
-
|
|
50114
|
+
tb as Toolbar,
|
|
50111
50115
|
vt as Tooltip,
|
|
50112
50116
|
Yt as TruncatedWithTooltip,
|
|
50113
50117
|
bn as Visual,
|
|
50114
50118
|
y5 as WeekDay,
|
|
50115
|
-
|
|
50119
|
+
oC as Wysiwyg,
|
|
50116
50120
|
w5 as Year,
|
|
50117
50121
|
ds as YearGrid,
|
|
50118
|
-
|
|
50122
|
+
Tg as Z_INDEX_MODAL_ABOVE_POPUP,
|
|
50119
50123
|
Mr as Z_INDEX_TOOLTIP,
|
|
50120
|
-
|
|
50121
|
-
|
|
50122
|
-
|
|
50124
|
+
Sp as advancedFilterToTeamFilter,
|
|
50125
|
+
ap as applyAutoResizeFlagsToColumns,
|
|
50126
|
+
op as buildColumnsWithEditActions,
|
|
50123
50127
|
Ws as buildStrapiQueryString,
|
|
50124
|
-
|
|
50128
|
+
rb as calendarUtils,
|
|
50125
50129
|
Q3 as catalogCardDefaultMediaIndicators,
|
|
50126
50130
|
N as cn,
|
|
50127
|
-
|
|
50128
|
-
|
|
50129
|
-
|
|
50131
|
+
GC as configureMessage,
|
|
50132
|
+
jC as configureStrapiClient,
|
|
50133
|
+
kp as convertAdvancedFiltersToStrapi,
|
|
50130
50134
|
$1 as convertFilterToStrapi,
|
|
50131
50135
|
Js as convertFiltersToStrapiQuery,
|
|
50132
|
-
|
|
50133
|
-
|
|
50136
|
+
IC as createNormalizer,
|
|
50137
|
+
_C as createTableQueryClient,
|
|
50134
50138
|
$r as fetchTeams,
|
|
50135
|
-
|
|
50139
|
+
Op as fetchTeamsRaw,
|
|
50136
50140
|
Fr as fetchTeamsWithAdvancedFilters,
|
|
50137
50141
|
u7 as fileMatchesAccept,
|
|
50138
|
-
|
|
50139
|
-
|
|
50140
|
-
|
|
50142
|
+
gp as filterRows,
|
|
50143
|
+
cp as filterRowsWithAdvancedFilters,
|
|
50144
|
+
Hg as findItemIndex,
|
|
50141
50145
|
th as formatDate,
|
|
50142
|
-
|
|
50146
|
+
MC as getLockedColumns,
|
|
50143
50147
|
$h as getNextSortConfig,
|
|
50144
|
-
|
|
50145
|
-
|
|
50148
|
+
Ip as getStrapiConfig,
|
|
50149
|
+
LC as getVisibleColumns,
|
|
50146
50150
|
zi as ghanttAddCalendarMonths,
|
|
50147
50151
|
uh as ghanttBarLayoutPercent,
|
|
50148
50152
|
oi as ghanttBuildTimelineSlots,
|
|
@@ -50150,15 +50154,15 @@ export {
|
|
|
50150
50154
|
tn as ghanttDefaultColumnWidthForScale,
|
|
50151
50155
|
Br as ghanttDenseHeaderLabelIndices,
|
|
50152
50156
|
wh as ghanttDenseHeaderLabelIndicesByUpperSpans,
|
|
50153
|
-
|
|
50157
|
+
gC as ghanttHourVirtualIndexRange,
|
|
50154
50158
|
dh as ghanttInferScaleForSpan,
|
|
50155
50159
|
Ch as ghanttModifierZoomApplyStep,
|
|
50156
50160
|
Rs as ghanttModifierZoomColumnBounds,
|
|
50157
50161
|
Vo as ghanttModifierZoomFullTimelineBounds,
|
|
50158
50162
|
ci as ghanttModifierZoomGlobalEndExclusive,
|
|
50159
50163
|
hh as ghanttModifierZoomNormalizeInitial,
|
|
50160
|
-
|
|
50161
|
-
|
|
50164
|
+
pC as ghanttModifierZoomOnWheel,
|
|
50165
|
+
hC as ghanttModifierZoomScaleIndex,
|
|
50162
50166
|
gh as ghanttModifierZoomWheelDelta,
|
|
50163
50167
|
Ze as ghanttParseTime,
|
|
50164
50168
|
Hs as ghanttResolveExpandedDayRange,
|
|
@@ -50167,100 +50171,100 @@ export {
|
|
|
50167
50171
|
br as ghanttStartOfLocalDay,
|
|
50168
50172
|
lh as ghanttStartOfLocalHour,
|
|
50169
50173
|
Ri as ghanttStartOfLocalMonth,
|
|
50170
|
-
|
|
50174
|
+
rC as inferFileFormat,
|
|
50171
50175
|
qs as isAllSelected,
|
|
50172
50176
|
ai as isButtonSlotSpreadLayout,
|
|
50173
50177
|
B1 as isRowExcludedFromSelection,
|
|
50174
50178
|
_h as isSomeSelected,
|
|
50175
|
-
|
|
50179
|
+
OC as isStrapiConfigured,
|
|
50176
50180
|
rf as labelVariants,
|
|
50177
|
-
|
|
50181
|
+
Ep as mergeGhanttColumns,
|
|
50178
50182
|
Ct as messageService,
|
|
50179
|
-
|
|
50183
|
+
Vg as moveItem,
|
|
50180
50184
|
Ks as normalizeStrapiList,
|
|
50181
|
-
|
|
50185
|
+
vp as normalizeStrаpiItem,
|
|
50182
50186
|
Qs as normalizeTeamsResponse,
|
|
50183
|
-
|
|
50187
|
+
WC as notification,
|
|
50184
50188
|
Zt as notificationService,
|
|
50185
|
-
|
|
50186
|
-
|
|
50189
|
+
eb as notify,
|
|
50190
|
+
fp as paginateRowsForDisplay,
|
|
50187
50191
|
Wf as parseDate,
|
|
50188
50192
|
nf as radioButtonVariants,
|
|
50189
50193
|
mo as reorder,
|
|
50190
50194
|
Gh as reorderColumns,
|
|
50191
|
-
|
|
50195
|
+
xC as resetColumns,
|
|
50192
50196
|
Xh as resizeColumn,
|
|
50193
|
-
|
|
50194
|
-
|
|
50195
|
-
|
|
50196
|
-
|
|
50197
|
-
|
|
50197
|
+
hp as resolveEffectiveEmptyState,
|
|
50198
|
+
bp as searchRows,
|
|
50199
|
+
up as searchRowsWithColumns,
|
|
50200
|
+
wC as selectAllRows,
|
|
50201
|
+
yC as selectRange,
|
|
50198
50202
|
Yh as setColumnVisibility,
|
|
50199
50203
|
Bh as sortRows,
|
|
50200
|
-
|
|
50204
|
+
dp as sortRowsByColumn,
|
|
50201
50205
|
ar as strapiClient,
|
|
50202
|
-
|
|
50206
|
+
TC as strapiDelete,
|
|
50203
50207
|
t0 as strapiGet,
|
|
50204
|
-
|
|
50205
|
-
|
|
50208
|
+
DC as strapiPost,
|
|
50209
|
+
jp as strapiPut,
|
|
50206
50210
|
bt as teamsQueryKeys,
|
|
50207
|
-
|
|
50208
|
-
|
|
50209
|
-
|
|
50211
|
+
Eg as throttle,
|
|
50212
|
+
Pg as throttleWithTrailing,
|
|
50213
|
+
JC as toast,
|
|
50210
50214
|
Kh as toggleColumnLock,
|
|
50211
50215
|
qh as toggleColumnVisibility,
|
|
50212
50216
|
Zh as toggleRowSelection,
|
|
50213
50217
|
Gs as toggleSortDirection,
|
|
50214
50218
|
Xs as transformTeamAttributes,
|
|
50215
50219
|
n0 as updateTeam,
|
|
50216
|
-
|
|
50220
|
+
Tp as updateTeamName,
|
|
50217
50221
|
Ta as useAnimationState,
|
|
50218
50222
|
e2 as useBadges,
|
|
50219
50223
|
Va as useBodyScrollLock,
|
|
50220
50224
|
nr as useCalendar,
|
|
50221
50225
|
Ec as useClickOutside,
|
|
50222
|
-
|
|
50223
|
-
|
|
50226
|
+
BC as useColumnsWithQueryState,
|
|
50227
|
+
tC as useDateInput,
|
|
50224
50228
|
C5 as useDatePicker,
|
|
50225
50229
|
ls as useDateRange,
|
|
50226
|
-
|
|
50227
|
-
|
|
50230
|
+
FC as useDebouncedCallback,
|
|
50231
|
+
$C as useDebouncedValue,
|
|
50228
50232
|
Pa as useDragAndDrop,
|
|
50229
50233
|
yo as useEscapeKey,
|
|
50230
50234
|
Aa as useFocusTrap,
|
|
50231
|
-
|
|
50235
|
+
Rg as useGetElementOnClick,
|
|
50232
50236
|
Do as useGhanttConfig,
|
|
50233
50237
|
Pc as useInitialFocus,
|
|
50234
|
-
|
|
50238
|
+
PC as useInvalidateTeams,
|
|
50235
50239
|
L7 as useLightbox,
|
|
50236
50240
|
i0 as useMessage,
|
|
50237
|
-
|
|
50241
|
+
qC as useMessageService,
|
|
50238
50242
|
r0 as useMessageStyles,
|
|
50239
50243
|
Xi as useModalContext,
|
|
50240
50244
|
o0 as useNotification,
|
|
50241
|
-
|
|
50245
|
+
YC as useNotificationService,
|
|
50242
50246
|
Ra as usePortal,
|
|
50243
50247
|
of as useRadioButton,
|
|
50244
50248
|
sf as useRadioButtonGroup,
|
|
50245
|
-
|
|
50246
|
-
|
|
50249
|
+
zg as useResizeAndScroll,
|
|
50250
|
+
ub as useReview,
|
|
50247
50251
|
vf as useStepper,
|
|
50248
|
-
|
|
50249
|
-
|
|
50250
|
-
|
|
50251
|
-
|
|
50252
|
-
|
|
50253
|
-
|
|
50254
|
-
|
|
50255
|
-
|
|
50252
|
+
Jh as useTableColumns,
|
|
50253
|
+
NC as useTableData,
|
|
50254
|
+
np as useTableEdit,
|
|
50255
|
+
Wh as useTableExpand,
|
|
50256
|
+
SC as useTableFilter,
|
|
50257
|
+
ep as useTableFocus,
|
|
50258
|
+
kC as useTablePagination,
|
|
50259
|
+
zC as useTableQueryState,
|
|
50256
50260
|
Uh as useTableSelection,
|
|
50257
50261
|
Fh as useTableSort,
|
|
50258
|
-
|
|
50259
|
-
|
|
50260
|
-
|
|
50262
|
+
VC as useTeams,
|
|
50263
|
+
EC as useTeamsTable,
|
|
50264
|
+
HC as useTeamsWithFilters,
|
|
50261
50265
|
S6 as useToggle,
|
|
50262
|
-
|
|
50263
|
-
|
|
50266
|
+
AC as useUpdateTeam,
|
|
50267
|
+
RC as useUpdateTeamName,
|
|
50264
50268
|
x7 as useWysiwyg
|
|
50265
50269
|
};
|
|
50266
50270
|
//# sourceMappingURL=index.esm.js.map
|