react-luminus-components 2.0.32 → 2.0.33
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/dist/.vite/manifest.json +12 -2
- package/dist/components/Layout/ConnectionNotification/ConnectionAlert.d.ts +5 -0
- package/dist/components/Layout/ConnectionNotification/ConnectionIcon.d.ts +5 -0
- package/dist/components/Layout/index.d.ts +2 -0
- package/dist/contexts/index.d.ts +1 -0
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +415 -408
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +148 -155
- package/dist/main.cjs.js +7 -7
- package/dist/main.d.ts +2 -0
- package/dist/main.es.js +346 -308
- package/dist/useIsBrowserOnline-CREGrf2l.cjs +1 -0
- package/dist/useIsBrowserOnline-RAirIO4c.js +13 -0
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { c as q, a as G, t as lt, b as
|
|
2
|
-
import { bM as
|
|
1
|
+
import { c as q, a as G, t as lt, b as ri, d as Ks, s as ma, g as pa, m as qs, e as Zl, f as Ys, h as Qs, i as mn, j as Xs, k as Js, l as Zs, n as er, o as tr, p as nr, q as lr, T as No, r as Co, u as ko, v as ha, w as ir, E as Io, x as ji, y as _o, z as ar, A as tt, B as zi, C as or, F as To, D as sr, G as rr, H as cr, M as dr, I as ur, J as fr, K as mr, L as pr, N as hr, O as ti, P as gr, Q as vr, R as re, S as et, U as yr, V as br, W as Sr, X as Do, Y as Ot, Z as Me, _ as Ui, $ as Ce, a0 as Hi, a1 as Di, a2 as wr, a3 as xr, a4 as Nr, a5 as we, a6 as Z, a7 as Tt, a8 as nt, a9 as Vi, aa as Gi, ab as $o, ac as Wi, ad as yn, ae as Lo, af as Po, ag as Oe, ah as un, ai as Pn, aj as Mt, ak as Cr, al as Et, am as kr, an as Eo, ao as Zt, ap as Qe, aq as bn, ar as st, as as en, at as gl, au as $n, av as It, aw as _t, ax as ot, ay as Ir, az as _r, aA as Tr, aB as Sn, aC as En, aD as wn, aE as Ht, aF as Ut, aG as xt, aH as Pl, aI as Oo, aJ as zt, aK as Ki, aL as Nt, aM as On, aN as Qt, aO as Dr, aP as $r, aQ as El, aR as Lr, aS as Pr, aT as Er, aU as Or, aV as tn, aW as qi, aX as nn, aY as hl, aZ as Ar, a_ as Br, a$ as Rr, b0 as Ao, b1 as ni, b2 as Cl, b3 as Ol, b4 as Mr, b5 as Fr, b6 as jr, b7 as zr, b8 as Ur, b9 as Hr, ba as Bo, bb as Vr, bc as Gr, bd as Wr, be as Kr, bf as ga, bg as qr, bh as gn, bi as Yr, bj as Qr, bk as Xr, bl as Jr, bm as Zr, bn as cn, bo as Ro, bp as ec, bq as mi, br as Yi, bs as tc, bt as nc, bu as li, bv as lc, bw as Mo, bx as Hl, by as Fo, bz as vn, bA as jo, bB as ic, bC as Qi, bD as ac, bE as oc, bF as sc, bG as rc, bH as cc, bI as Xi, bJ as dc, bK as dl, bL as Ji } from "./nivo-bar-wBsr2P1t.js";
|
|
2
|
+
import { bM as j3 } from "./nivo-bar-wBsr2P1t.js";
|
|
3
3
|
import { jsx as o, jsxs as P, Fragment as be } from "react/jsx-runtime";
|
|
4
4
|
import { c as sn, a as uc, b as fc, L as wl, F as mc } from "./FormDisabledProvider-CknAF8EI.js";
|
|
5
5
|
import * as Ye from "react";
|
|
6
6
|
import Pt, { useMemo as je, useState as te, useRef as Ue, useEffect as ue, useCallback as Pe, useContext as ne, useId as pc, useLayoutEffect as hc, Component as gc, isValidElement as va, Suspense as vc, Fragment as yc } from "react";
|
|
7
7
|
import "@azure/msal-browser";
|
|
8
8
|
import { AuthenticatedTemplate as bc } from "@azure/msal-react";
|
|
9
|
-
import { Link as yt, useNavigate as vl, useParams as
|
|
10
|
-
import
|
|
9
|
+
import { Link as yt, useNavigate as vl, useParams as Al, generatePath as Xt, useLocation as Sc, Navigate as Vl } from "react-router";
|
|
10
|
+
import ii from "react-dom";
|
|
11
11
|
import { useFormContext as An, useFormState as Bn, useController as Rn, useWatch as kl, FormProvider as ln, useForm as an } from "react-hook-form";
|
|
12
12
|
import { Pivot as wc } from "react-flexmonster";
|
|
13
13
|
import { l as xl, g as $i, d as xc, r as Nc, h as ul, a as zo } from "./localStorageUtils-CZ4HDRzi.js";
|
|
@@ -53,7 +53,7 @@ const Tg = (n) => {
|
|
|
53
53
|
};
|
|
54
54
|
function Tc(n, e) {
|
|
55
55
|
const t = lt(n);
|
|
56
|
-
return isNaN(e) ?
|
|
56
|
+
return isNaN(e) ? ri(n, NaN) : (e && t.setDate(t.getDate() + e), t);
|
|
57
57
|
}
|
|
58
58
|
function Dc(n, e) {
|
|
59
59
|
return Ks(n, e * 1e3);
|
|
@@ -83,7 +83,7 @@ function hi(n, e) {
|
|
|
83
83
|
return t.getFullYear() - l.getFullYear();
|
|
84
84
|
}
|
|
85
85
|
function Lc(n, e) {
|
|
86
|
-
const t = lt(n), l = lt(e), i = wa(t, l), a = Math.abs(
|
|
86
|
+
const t = lt(n), l = lt(e), i = wa(t, l), a = Math.abs(Zl(t, l));
|
|
87
87
|
t.setDate(t.getDate() - i * a);
|
|
88
88
|
const s = +(wa(t, l) === -i), r = i * (a - s);
|
|
89
89
|
return r === 0 ? 0 : r;
|
|
@@ -137,17 +137,17 @@ function fl(n, e) {
|
|
|
137
137
|
return a;
|
|
138
138
|
}
|
|
139
139
|
function Pc(n) {
|
|
140
|
-
const e = lt(n), t = e.getFullYear(), l = e.getMonth(), i =
|
|
140
|
+
const e = lt(n), t = e.getFullYear(), l = e.getMonth(), i = ri(n, 0);
|
|
141
141
|
return i.setFullYear(t, l + 1, 0), i.setHours(0, 0, 0, 0), i.getDate();
|
|
142
142
|
}
|
|
143
143
|
function Ec(n, e, t) {
|
|
144
144
|
let l = 0, i;
|
|
145
145
|
const a = lt(n), s = lt(e);
|
|
146
146
|
if (t != null && t.unit)
|
|
147
|
-
i = t == null ? void 0 : t.unit, i === "second" ? l = gi(a, s) : i === "minute" ? l = Na(a, s) : i === "hour" ? l = xa(a, s) : i === "day" ? l =
|
|
147
|
+
i = t == null ? void 0 : t.unit, i === "second" ? l = gi(a, s) : i === "minute" ? l = Na(a, s) : i === "hour" ? l = xa(a, s) : i === "day" ? l = Zl(a, s) : i === "week" ? l = Sa(a, s) : i === "month" ? l = ya(a, s) : i === "quarter" ? l = pi(a, s) : i === "year" && (l = hi(a, s));
|
|
148
148
|
else {
|
|
149
149
|
const c = gi(a, s);
|
|
150
|
-
Math.abs(c) < Xs ? (l = gi(a, s), i = "second") : Math.abs(c) < Js ? (l = Na(a, s), i = "minute") : Math.abs(c) < Zs && Math.abs(
|
|
150
|
+
Math.abs(c) < Xs ? (l = gi(a, s), i = "second") : Math.abs(c) < Js ? (l = Na(a, s), i = "minute") : Math.abs(c) < Zs && Math.abs(Zl(a, s)) < 1 ? (l = xa(a, s), i = "hour") : Math.abs(c) < er && (l = Zl(a, s)) && Math.abs(l) < 7 ? i = "day" : Math.abs(c) < tr ? (l = Sa(a, s), i = "week") : Math.abs(c) < nr ? (l = ya(a, s), i = "month") : Math.abs(c) < lr && pi(a, s) < 4 ? (l = pi(a, s), i = "quarter") : (l = hi(a, s), i = "year");
|
|
151
151
|
}
|
|
152
152
|
return new Intl.RelativeTimeFormat(t == null ? void 0 : t.locale, {
|
|
153
153
|
localeMatcher: t == null ? void 0 : t.localeMatcher,
|
|
@@ -156,14 +156,14 @@ function Ec(n, e, t) {
|
|
|
156
156
|
}).format(l, i);
|
|
157
157
|
}
|
|
158
158
|
function Li(n, e) {
|
|
159
|
-
const t = lt(n), l = t.getFullYear(), i = t.getDate(), a =
|
|
159
|
+
const t = lt(n), l = t.getFullYear(), i = t.getDate(), a = ri(n, 0);
|
|
160
160
|
a.setFullYear(l, e, 15), a.setHours(0, 0, 0, 0);
|
|
161
161
|
const s = Pc(a);
|
|
162
162
|
return t.setMonth(e, Math.min(i, s)), t;
|
|
163
163
|
}
|
|
164
164
|
function Pi(n, e) {
|
|
165
165
|
const t = lt(n);
|
|
166
|
-
return isNaN(+t) ?
|
|
166
|
+
return isNaN(+t) ? ri(n, NaN) : (t.setFullYear(e), t);
|
|
167
167
|
}
|
|
168
168
|
function yl(...n) {
|
|
169
169
|
return n.filter((e) => e != null).reduce((e, t) => {
|
|
@@ -453,7 +453,7 @@ const Fc = (n) => /* @__PURE__ */ o(ci, {
|
|
|
453
453
|
});
|
|
454
454
|
});
|
|
455
455
|
Zo.displayName = "InputGroup";
|
|
456
|
-
const
|
|
456
|
+
const ei = Object.assign(Zo, {
|
|
457
457
|
Text: ci,
|
|
458
458
|
Radio: jc,
|
|
459
459
|
Checkbox: Fc
|
|
@@ -701,7 +701,7 @@ function as({
|
|
|
701
701
|
}
|
|
702
702
|
const os = /* @__PURE__ */ Ye.forwardRef((n, e) => {
|
|
703
703
|
const t = as(n);
|
|
704
|
-
return /* @__PURE__ */ o(
|
|
704
|
+
return /* @__PURE__ */ o(ti, {
|
|
705
705
|
...t,
|
|
706
706
|
ref: e,
|
|
707
707
|
disabled: !0,
|
|
@@ -842,7 +842,7 @@ const qc = (n) => {
|
|
|
842
842
|
/* @__PURE__ */ o("label", { htmlFor: s, className: G("btn luminus-context-button text-primary", `btn-${i}`, l), children: t }),
|
|
843
843
|
/* @__PURE__ */ o("input", { id: s, type: "file", accept: e, onChange: a, hidden: !0 })
|
|
844
844
|
] });
|
|
845
|
-
}, Yc = "_select_14f33_1", Qc = "_sm_14f33_11", Xc = "_lg_14f33_23",
|
|
845
|
+
}, Yc = "_select_14f33_1", Qc = "_sm_14f33_11", Xc = "_lg_14f33_23", Gl = {
|
|
846
846
|
select: Yc,
|
|
847
847
|
sm: Qc,
|
|
848
848
|
lg: Xc
|
|
@@ -886,7 +886,7 @@ const qc = (n) => {
|
|
|
886
886
|
e[8] = i, e[9] = y;
|
|
887
887
|
} else
|
|
888
888
|
y = e[9];
|
|
889
|
-
const S = y, x =
|
|
889
|
+
const S = y, x = Gl[f];
|
|
890
890
|
let w;
|
|
891
891
|
e[10] !== r || e[11] !== f || e[12] !== x ? (w = G("card d-flex flex-row align-items-center justify-content-center m-0 p-1 gap-2", r, {
|
|
892
892
|
[x]: f
|
|
@@ -907,7 +907,7 @@ const qc = (n) => {
|
|
|
907
907
|
return ((U = H.target) == null ? void 0 : U.value) && l(Li(t, Number(H.target.value)));
|
|
908
908
|
}, e[25] = t, e[26] = l, e[27] = L) : L = e[27];
|
|
909
909
|
let T;
|
|
910
|
-
e[28] !== c ? (T = G(
|
|
910
|
+
e[28] !== c ? (T = G(Gl.select, Gl.month, c), e[28] = c, e[29] = T) : T = e[29];
|
|
911
911
|
let _;
|
|
912
912
|
e[30] !== S ? (_ = S.map(Zc), e[30] = S, e[31] = _) : _ = e[31];
|
|
913
913
|
let $;
|
|
@@ -920,7 +920,7 @@ const qc = (n) => {
|
|
|
920
920
|
return ((U = H.target) == null ? void 0 : U.value) && l(Pi(t, Number(H.target.value)));
|
|
921
921
|
}, e[39] = t, e[40] = l, e[41] = E) : E = e[41];
|
|
922
922
|
let D;
|
|
923
|
-
e[42] !== u ? (D = G(
|
|
923
|
+
e[42] !== u ? (D = G(Gl.select, u), e[42] = u, e[43] = D) : D = e[43];
|
|
924
924
|
let A;
|
|
925
925
|
e[44] !== g ? (A = g.map(ed), e[44] = g, e[45] = A) : A = e[45];
|
|
926
926
|
let B;
|
|
@@ -3389,7 +3389,7 @@ const Zd = (n, e) => {
|
|
|
3389
3389
|
prompt: S
|
|
3390
3390
|
} = Eo(), x = vl(), {
|
|
3391
3391
|
id: w
|
|
3392
|
-
} =
|
|
3392
|
+
} = Al(), b = w === void 0 ? null : Number(w);
|
|
3393
3393
|
let N;
|
|
3394
3394
|
e[0] !== s || e[1] !== x || e[2] !== t ? (N = (_e) => {
|
|
3395
3395
|
const Ae = _e === null ? "" : _e.toString();
|
|
@@ -3529,28 +3529,28 @@ const Zd = (n, e) => {
|
|
|
3529
3529
|
e[84] === Symbol.for("react.memo_cache_sentinel") ? (it = /* @__PURE__ */ o(_r, {}), e[84] = it) : it = e[84];
|
|
3530
3530
|
const We = b === null || (M == null ? void 0 : M.isSystem) || !se;
|
|
3531
3531
|
let Ve;
|
|
3532
|
-
e[85] !== g.save || e[86] !== K || e[87] !== We ? (Ve = /* @__PURE__ */ o(
|
|
3532
|
+
e[85] !== g.save || e[86] !== K || e[87] !== We ? (Ve = /* @__PURE__ */ o(It, { icon: it, onClick: K, disabled: We, children: g.save }), e[85] = g.save, e[86] = K, e[87] = We, e[88] = Ve) : Ve = e[88];
|
|
3533
3533
|
let at;
|
|
3534
3534
|
e[89] === Symbol.for("react.memo_cache_sentinel") ? (at = /* @__PURE__ */ o(Tr, {}), e[89] = at) : at = e[89];
|
|
3535
3535
|
let qe;
|
|
3536
|
-
e[90] !== g.saveAs || e[91] !== J ? (qe = /* @__PURE__ */ o(
|
|
3537
|
-
let
|
|
3538
|
-
e[93] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
3536
|
+
e[90] !== g.saveAs || e[91] !== J ? (qe = /* @__PURE__ */ o(It, { icon: at, onClick: J, className: "flex-shrink-0", children: g.saveAs }), e[90] = g.saveAs, e[91] = J, e[92] = qe) : qe = e[92];
|
|
3537
|
+
let Ct;
|
|
3538
|
+
e[93] === Symbol.for("react.memo_cache_sentinel") ? (Ct = /* @__PURE__ */ o(Sn, { as: En }), e[93] = Ct) : Ct = e[93];
|
|
3539
3539
|
let rt;
|
|
3540
|
-
e[94] !== ie || e[95] !== g.revertChanges ? (rt = /* @__PURE__ */ o(
|
|
3540
|
+
e[94] !== ie || e[95] !== g.revertChanges ? (rt = /* @__PURE__ */ o(_t, { onClick: ie, children: g.revertChanges }), e[94] = ie, e[95] = g.revertChanges, e[96] = rt) : rt = e[96];
|
|
3541
3541
|
let At;
|
|
3542
3542
|
e[97] === Symbol.for("react.memo_cache_sentinel") ? (At = () => I(!0), e[97] = At) : At = e[97];
|
|
3543
|
-
const
|
|
3543
|
+
const kt = !se || (M == null ? void 0 : M.isSystem);
|
|
3544
3544
|
let Dt;
|
|
3545
|
-
e[98] !== g.share || e[99] !==
|
|
3545
|
+
e[98] !== g.share || e[99] !== kt ? (Dt = /* @__PURE__ */ o(_t, { onClick: At, disabled: kt, children: g.share }), e[98] = g.share, e[99] = kt, e[100] = Dt) : Dt = e[100];
|
|
3546
3546
|
let ct;
|
|
3547
|
-
e[101] !== ke || e[102] !== se || e[103] !== (M == null ? void 0 : M.isSystem) || e[104] !== g.rename ? (ct = se && !(M != null && M.isSystem) ? /* @__PURE__ */ o(
|
|
3547
|
+
e[101] !== ke || e[102] !== se || e[103] !== (M == null ? void 0 : M.isSystem) || e[104] !== g.rename ? (ct = se && !(M != null && M.isSystem) ? /* @__PURE__ */ o(_t, { onClick: ke, children: g.rename }) : null, e[101] = ke, e[102] = se, e[103] = M == null ? void 0 : M.isSystem, e[104] = g.rename, e[105] = ct) : ct = e[105];
|
|
3548
3548
|
let pt;
|
|
3549
|
-
e[106] !== pe || e[107] !== se || e[108] !== (M == null ? void 0 : M.isSystem) || e[109] !== g.delete ? (pt = se && !(M != null && M.isSystem) ? /* @__PURE__ */ o(
|
|
3549
|
+
e[106] !== pe || e[107] !== se || e[108] !== (M == null ? void 0 : M.isSystem) || e[109] !== g.delete ? (pt = se && !(M != null && M.isSystem) ? /* @__PURE__ */ o(_t, { color: "danger", onClick: pe, children: g.delete }) : null, e[106] = pe, e[107] = se, e[108] = M == null ? void 0 : M.isSystem, e[109] = g.delete, e[110] = pt) : pt = e[110];
|
|
3550
3550
|
let dt;
|
|
3551
|
-
e[111] !== ae || e[112] !== me || e[113] !== (M == null ? void 0 : M.isSystem) || e[114] !== g.detach ? (dt = me && !(M != null && M.isSystem) ? /* @__PURE__ */ o(
|
|
3551
|
+
e[111] !== ae || e[112] !== me || e[113] !== (M == null ? void 0 : M.isSystem) || e[114] !== g.detach ? (dt = me && !(M != null && M.isSystem) ? /* @__PURE__ */ o(_t, { color: "danger", onClick: ae, children: g.detach }) : null, e[111] = ae, e[112] = me, e[113] = M == null ? void 0 : M.isSystem, e[114] = g.detach, e[115] = dt) : dt = e[115];
|
|
3552
3552
|
let ht;
|
|
3553
|
-
e[116] !== rt || e[117] !== Dt || e[118] !== ct || e[119] !== pt || e[120] !== dt ? (ht = /* @__PURE__ */ P(wn, { toggle:
|
|
3553
|
+
e[116] !== rt || e[117] !== Dt || e[118] !== ct || e[119] !== pt || e[120] !== dt ? (ht = /* @__PURE__ */ P(wn, { toggle: Ct, children: [
|
|
3554
3554
|
rt,
|
|
3555
3555
|
Dt,
|
|
3556
3556
|
ct,
|
|
@@ -3651,7 +3651,7 @@ const jg = (n) => {
|
|
|
3651
3651
|
let f;
|
|
3652
3652
|
if (e[0] !== u || e[1] !== t.dateTime) {
|
|
3653
3653
|
const I = t.dateTime ? Ut(t.dateTime) : null, L = I ? Lc(new Date(Date.now()), I) : 0;
|
|
3654
|
-
f = I && /* @__PURE__ */ o("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ o(
|
|
3654
|
+
f = I && /* @__PURE__ */ o("div", { className: "d-flex justify-content-end", children: /* @__PURE__ */ o(xt, { text: Ot(I, "dd.MM.yyyy HH:mm"), placement: "left", children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(Z, { variant: "caption", children: L > 2 ? Ot(I, "dd.MM.yyyy") : Ec(I, new Date(Date.now()), {
|
|
3655
3655
|
locale: u.code
|
|
3656
3656
|
}) }) }) }) }), e[0] = u, e[1] = t.dateTime, e[2] = f;
|
|
3657
3657
|
} else
|
|
@@ -3820,7 +3820,43 @@ function cu() {
|
|
|
3820
3820
|
function du(n) {
|
|
3821
3821
|
return n.type === "danger";
|
|
3822
3822
|
}
|
|
3823
|
-
const
|
|
3823
|
+
const Ug = (n) => {
|
|
3824
|
+
const e = q.c(6), {
|
|
3825
|
+
cantConnectText: t
|
|
3826
|
+
} = n, {
|
|
3827
|
+
ProjectIconComponent: l
|
|
3828
|
+
} = ne(re);
|
|
3829
|
+
let i;
|
|
3830
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = {
|
|
3831
|
+
clipPath: "polygon(50% 0, 100% 100%, 0 100%)",
|
|
3832
|
+
width: "36px",
|
|
3833
|
+
height: "30px",
|
|
3834
|
+
filter: "grayscale(0)"
|
|
3835
|
+
}, e[0] = i) : i = e[0];
|
|
3836
|
+
let a;
|
|
3837
|
+
e[1] !== l ? (a = /* @__PURE__ */ o("div", { className: "bg-white rounded", style: i, children: /* @__PURE__ */ o(l, { icon: "warning", className: "text-danger", size: 32 }) }), e[1] = l, e[2] = a) : a = e[2];
|
|
3838
|
+
let s;
|
|
3839
|
+
return e[3] !== t || e[4] !== a ? (s = /* @__PURE__ */ o("div", { className: "offline-indicator", children: /* @__PURE__ */ o(xt, { text: t, placement: "bottom", children: a }) }), e[3] = t, e[4] = a, e[5] = s) : s = e[5], s;
|
|
3840
|
+
}, Hg = (n) => {
|
|
3841
|
+
const e = q.c(8), {
|
|
3842
|
+
cantConnectText: t
|
|
3843
|
+
} = n, {
|
|
3844
|
+
isMobile: l
|
|
3845
|
+
} = Pl();
|
|
3846
|
+
let i;
|
|
3847
|
+
e[0] !== l ? (i = G("d-flex justify-content-center align-items-center gap-2 flex-grow-1", {
|
|
3848
|
+
"d-none": l
|
|
3849
|
+
}), e[0] = l, e[1] = i) : i = e[1];
|
|
3850
|
+
let a;
|
|
3851
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
3852
|
+
background: "radial-gradient(closest-side, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0) 100%)",
|
|
3853
|
+
fontSize: "1.1rem"
|
|
3854
|
+
}, e[2] = a) : a = e[2];
|
|
3855
|
+
let s;
|
|
3856
|
+
e[3] !== t ? (s = /* @__PURE__ */ o("div", { className: "offline-indicator text-danger fw-bold text-large rounded px-2 py-1", children: t }), e[3] = t, e[4] = s) : s = e[4];
|
|
3857
|
+
let r;
|
|
3858
|
+
return e[5] !== i || e[6] !== s ? (r = /* @__PURE__ */ o("div", { className: i, style: a, children: s }), e[5] = i, e[6] = s, e[7] = r) : r = e[7], r;
|
|
3859
|
+
}, uu = "_tab-panel_d8l8q_1", fu = "_full-height-no-overflow_d8l8q_5", mu = "_disabled_d8l8q_12", bi = {
|
|
3824
3860
|
tabPanel: uu,
|
|
3825
3861
|
fullHeightNoOverflow: fu,
|
|
3826
3862
|
disabled: mu
|
|
@@ -3913,7 +3949,7 @@ const uu = "_tab-panel_d8l8q_1", fu = "_full-height-no-overflow_d8l8q_5", mu = "
|
|
|
3913
3949
|
e[8] !== r || e[9] !== s ? (f = typeof r == "string" ? /* @__PURE__ */ o(Z, { variant: s ? "body" : "h6", className: s ? "" : "text-primary", children: r }) : r, e[8] = r, e[9] = s, e[10] = f) : f = e[10];
|
|
3914
3950
|
let d;
|
|
3915
3951
|
return e[11] !== c || e[12] !== u || e[13] !== f ? (d = /* @__PURE__ */ o("div", { role: "button", className: c, onClick: u, children: f }), e[11] = c, e[12] = u, e[13] = f, e[14] = d) : d = e[14], d;
|
|
3916
|
-
},
|
|
3952
|
+
}, Vg = (n) => {
|
|
3917
3953
|
var d;
|
|
3918
3954
|
const e = q.c(31);
|
|
3919
3955
|
let t, l, i, a;
|
|
@@ -3927,7 +3963,7 @@ const uu = "_tab-panel_d8l8q_1", fu = "_full-height-no-overflow_d8l8q_5", mu = "
|
|
|
3927
3963
|
ProjectIconComponent: s
|
|
3928
3964
|
} = ne(re), {
|
|
3929
3965
|
isMobile: r
|
|
3930
|
-
} =
|
|
3966
|
+
} = Pl();
|
|
3931
3967
|
if (r) {
|
|
3932
3968
|
let m;
|
|
3933
3969
|
e[5] !== t || e[6] !== a ? (m = ((d = a.find((y) => y.id === t)) == null ? void 0 : d.name) ?? "", e[5] = t, e[6] = a, e[7] = m) : m = e[7];
|
|
@@ -3938,7 +3974,7 @@ const uu = "_tab-panel_d8l8q_1", fu = "_full-height-no-overflow_d8l8q_5", mu = "
|
|
|
3938
3974
|
let v;
|
|
3939
3975
|
if (e[13] !== l || e[14] !== a) {
|
|
3940
3976
|
let y;
|
|
3941
|
-
e[16] !== l ? (y = (S) => /* @__PURE__ */ o(
|
|
3977
|
+
e[16] !== l ? (y = (S) => /* @__PURE__ */ o(_t, { onClick: () => l(S.id), children: S.name }, S.id), e[16] = l, e[17] = y) : y = e[17], v = a.map(y), e[13] = l, e[14] = a, e[15] = v;
|
|
3942
3978
|
} else
|
|
3943
3979
|
v = e[15];
|
|
3944
3980
|
let g;
|
|
@@ -3954,7 +3990,7 @@ const uu = "_tab-panel_d8l8q_1", fu = "_full-height-no-overflow_d8l8q_5", mu = "
|
|
|
3954
3990
|
function Su(n) {
|
|
3955
3991
|
return /* @__PURE__ */ o(xs, { eventKey: n.id, children: n.name }, n.id);
|
|
3956
3992
|
}
|
|
3957
|
-
const wu = "_selection_1dtmm_1", xu = "_selectionBg_1dtmm_10", Nu = "_selectionItemsContainer_1dtmm_18", Cu = "_selectionItems_1dtmm_18",
|
|
3993
|
+
const wu = "_selection_1dtmm_1", xu = "_selectionBg_1dtmm_10", Nu = "_selectionItemsContainer_1dtmm_18", Cu = "_selectionItems_1dtmm_18", Wl = {
|
|
3958
3994
|
selection: wu,
|
|
3959
3995
|
selectionBg: xu,
|
|
3960
3996
|
selectionItemsContainer: Nu,
|
|
@@ -3976,9 +4012,9 @@ const wu = "_selection_1dtmm_1", xu = "_selectionBg_1dtmm_10", Nu = "_selectionI
|
|
|
3976
4012
|
let d;
|
|
3977
4013
|
e[3] !== i || e[4] !== t ? (d = /* @__PURE__ */ o(Ce, { className: "rounded m-1", onClick: f, children: /* @__PURE__ */ o(i, { icon: t }) }), e[3] = i, e[4] = t, e[5] = d) : d = e[5];
|
|
3978
4014
|
let m;
|
|
3979
|
-
e[6] !== i || e[7] !== a || e[8] !== u || e[9] !== s ? (m = s && /* @__PURE__ */ P("div", { className:
|
|
3980
|
-
/* @__PURE__ */ o("div", { className:
|
|
3981
|
-
/* @__PURE__ */ o("div", { className:
|
|
4015
|
+
e[6] !== i || e[7] !== a || e[8] !== u || e[9] !== s ? (m = s && /* @__PURE__ */ P("div", { className: Wl.selection, children: [
|
|
4016
|
+
/* @__PURE__ */ o("div", { className: Wl.selectionBg, onClick: () => r(!1) }),
|
|
4017
|
+
/* @__PURE__ */ o("div", { className: Wl.selectionItemsContainer, children: /* @__PURE__ */ o("div", { className: Wl.selectionItems, children: a.filter(ku).map((h) => /* @__PURE__ */ o(Ce, { className: "rounded", onClick: () => u(h), children: /* @__PURE__ */ o(i, { icon: h }) }, h)) }) })
|
|
3982
4018
|
] }), e[6] = i, e[7] = a, e[8] = u, e[9] = s, e[10] = m) : m = e[10];
|
|
3983
4019
|
let p;
|
|
3984
4020
|
return e[11] !== d || e[12] !== m ? (p = /* @__PURE__ */ P(be, { children: [
|
|
@@ -4060,7 +4096,7 @@ const Cs = () => {
|
|
|
4060
4096
|
}, e[0] = s, e[1] = t.id, e[2] = r) : r = e[2];
|
|
4061
4097
|
const c = r;
|
|
4062
4098
|
let u;
|
|
4063
|
-
e[3] !== t.url ? (u = /* @__PURE__ */ o("td", { className: "align-middle", children: t.url.length <= 23 ? /* @__PURE__ */ o(Z, { variant: "body2", children: t.url }) : /* @__PURE__ */ o(
|
|
4099
|
+
e[3] !== t.url ? (u = /* @__PURE__ */ o("td", { className: "align-middle", children: t.url.length <= 23 ? /* @__PURE__ */ o(Z, { variant: "body2", children: t.url }) : /* @__PURE__ */ o(xt, { placement: "bottom", text: t.url, children: /* @__PURE__ */ P(Z, { variant: "body2", children: [
|
|
4064
4100
|
t.url.slice(0, 21),
|
|
4065
4101
|
"..."
|
|
4066
4102
|
] }) }) }), e[3] = t.url, e[4] = u) : u = e[4];
|
|
@@ -4071,7 +4107,7 @@ const Cs = () => {
|
|
|
4071
4107
|
u,
|
|
4072
4108
|
f
|
|
4073
4109
|
] }) }), e[11] = u, e[12] = f, e[13] = d) : d = e[13], d;
|
|
4074
|
-
},
|
|
4110
|
+
}, Gg = (n) => {
|
|
4075
4111
|
const e = q.c(11), {
|
|
4076
4112
|
IconComponent: t,
|
|
4077
4113
|
IconTypeArray: l
|
|
@@ -4106,7 +4142,7 @@ const Cs = () => {
|
|
|
4106
4142
|
let a;
|
|
4107
4143
|
e[3] !== t.url || e[4] !== i ? (a = /* @__PURE__ */ o(yt, { to: t.url, className: pl.linkButton, children: i }), e[3] = t.url, e[4] = i, e[5] = a) : a = e[5];
|
|
4108
4144
|
let s;
|
|
4109
|
-
return e[6] !== t.name || e[7] !== a ? (s = /* @__PURE__ */ o(
|
|
4145
|
+
return e[6] !== t.name || e[7] !== a ? (s = /* @__PURE__ */ o(xt, { text: t.name, placement: "bottom", children: a }), e[6] = t.name, e[7] = a, e[8] = s) : s = e[8], s;
|
|
4110
4146
|
}, Pu = (n) => {
|
|
4111
4147
|
const e = q.c(51), {
|
|
4112
4148
|
closeModal: t,
|
|
@@ -4135,7 +4171,7 @@ const Cs = () => {
|
|
|
4135
4171
|
let x;
|
|
4136
4172
|
e[11] !== u.shortcutLinks.target ? (x = /* @__PURE__ */ o(Z, { variant: "form-label", className: "pe-3 text-end", children: u.shortcutLinks.target }), e[11] = u.shortcutLinks.target, e[12] = x) : x = e[12];
|
|
4137
4173
|
let w;
|
|
4138
|
-
e[13] !== y ? (w = y.length <= 23 ? y : /* @__PURE__ */ o(
|
|
4174
|
+
e[13] !== y ? (w = y.length <= 23 ? y : /* @__PURE__ */ o(xt, { placement: "bottom", text: y, children: /* @__PURE__ */ P("span", { children: [
|
|
4139
4175
|
y.slice(0, 21),
|
|
4140
4176
|
"..."
|
|
4141
4177
|
] }) }), e[13] = y, e[14] = w) : w = e[14];
|
|
@@ -4199,7 +4235,7 @@ const Ou = (n) => {
|
|
|
4199
4235
|
let h;
|
|
4200
4236
|
e[2] !== s ? (h = /* @__PURE__ */ o("button", { type: "button", className: m, onClick: p, children: /* @__PURE__ */ o(s, { icon: "add" }) }), e[2] = s, e[3] = h) : h = e[3];
|
|
4201
4237
|
let v;
|
|
4202
|
-
e[4] !== h || e[5] !== r.shortcutLinks.addShortcut ? (v = /* @__PURE__ */ o(
|
|
4238
|
+
e[4] !== h || e[5] !== r.shortcutLinks.addShortcut ? (v = /* @__PURE__ */ o(xt, { text: d, placement: "bottom", children: h }), e[4] = h, e[5] = r.shortcutLinks.addShortcut, e[6] = v) : v = e[6];
|
|
4203
4239
|
let g;
|
|
4204
4240
|
e[7] !== t || e[8] !== l || e[9] !== a || e[10] !== f || e[11] !== c || e[12] !== i ? (g = (c || f) && /* @__PURE__ */ o(Pu, { IconComponent: t, IconTypeArray: l, closeModal: () => u(!1), createLink: a, isOpen: c, pageTitlePrefix: i }), e[7] = t, e[8] = l, e[9] = a, e[10] = f, e[11] = c, e[12] = i, e[13] = g) : g = e[13];
|
|
4205
4241
|
let y;
|
|
@@ -4207,7 +4243,7 @@ const Ou = (n) => {
|
|
|
4207
4243
|
v,
|
|
4208
4244
|
g
|
|
4209
4245
|
] }), e[14] = v, e[15] = g, e[16] = y) : y = e[16], y;
|
|
4210
|
-
},
|
|
4246
|
+
}, Wg = (n) => {
|
|
4211
4247
|
const e = q.c(12), {
|
|
4212
4248
|
IconComponent: t,
|
|
4213
4249
|
IconTypeArray: l,
|
|
@@ -4264,7 +4300,7 @@ const Ou = (n) => {
|
|
|
4264
4300
|
if (n == null)
|
|
4265
4301
|
throw new Error("Tried to make operation on null shortcutLinks.");
|
|
4266
4302
|
return n;
|
|
4267
|
-
},
|
|
4303
|
+
}, Kg = (n) => {
|
|
4268
4304
|
const e = q.c(22), {
|
|
4269
4305
|
children: t,
|
|
4270
4306
|
referenceId: l
|
|
@@ -4516,12 +4552,12 @@ const Hu = (n) => {
|
|
|
4516
4552
|
}, e[10] = s, e[11] = r, e[12] = E) : E = e[12];
|
|
4517
4553
|
const D = E;
|
|
4518
4554
|
let A;
|
|
4519
|
-
e[13] !== C || e[14] !== T || e[15] !== b || e[16] !== x || e[17] !== c || e[18] !== I || e[19] !== v || e[20] !== r ? (A = v === "minute" && /* @__PURE__ */ o(
|
|
4555
|
+
e[13] !== C || e[14] !== T || e[15] !== b || e[16] !== x || e[17] !== c || e[18] !== I || e[19] !== v || e[20] !== r ? (A = v === "minute" && /* @__PURE__ */ o(Nt, { dropdownWidth: 90, InputContainer: Oe, noEmptyOption: !0, withoutLabel: !0, noSortOptions: !0, options: c.map(Vu).sort(Gu), value: Number(x.replace("*/", "")), onChange: (X) => {
|
|
4520
4556
|
const Q = Number(X) === 0 ? "*" : `*/${X}`;
|
|
4521
4557
|
w(Q), r(`${Q} ${b} ${C} ${I} ${T}`);
|
|
4522
4558
|
} }), e[13] = C, e[14] = T, e[15] = b, e[16] = x, e[17] = c, e[18] = I, e[19] = v, e[20] = r, e[21] = A) : A = e[21];
|
|
4523
4559
|
let B;
|
|
4524
|
-
e[22] !== C || e[23] !== T || e[24] !== b || e[25] !== u || e[26] !== I || e[27] !== v || e[28] !== r ? (B = v === "hour" && /* @__PURE__ */ o(
|
|
4560
|
+
e[22] !== C || e[23] !== T || e[24] !== b || e[25] !== u || e[26] !== I || e[27] !== v || e[28] !== r ? (B = v === "hour" && /* @__PURE__ */ o(Nt, { dropdownWidth: 90, InputContainer: Oe, noEmptyOption: !0, withoutLabel: !0, noSortOptions: !0, options: u.map(Wu).sort(Ku), value: Number(b.replace("*/", "")), onChange: (X) => {
|
|
4525
4561
|
const Q = Number(X) === 0 ? "*" : `*/${X}`;
|
|
4526
4562
|
w("0"), N(Q), r(`0 ${Q} ${C} ${I} ${T}`);
|
|
4527
4563
|
} }), e[22] = C, e[23] = T, e[24] = b, e[25] = u, e[26] = I, e[27] = v, e[28] = r, e[29] = B) : B = e[29];
|
|
@@ -4783,7 +4819,7 @@ function n1(n) {
|
|
|
4783
4819
|
function l1(n) {
|
|
4784
4820
|
return n.preventDefault();
|
|
4785
4821
|
}
|
|
4786
|
-
const
|
|
4822
|
+
const qg = (n) => {
|
|
4787
4823
|
const e = q.c(18), {
|
|
4788
4824
|
otherSettingId: t,
|
|
4789
4825
|
languageOptions: l,
|
|
@@ -4810,7 +4846,7 @@ const Wg = (n) => {
|
|
|
4810
4846
|
let S;
|
|
4811
4847
|
e[4] !== s || e[5] !== y || e[6] !== f || e[7] !== l || e[8] !== u.importedLanguage || e[9] !== h || e[10] !== m || e[11] !== i ? (S = h ? /* @__PURE__ */ o(Ju, { result: h, onClose: () => v(null), BnfTableComponent: s, tableIdentifier: i }) : /* @__PURE__ */ o(t1, { file: m, onFileChange: p, onImport: y, children: /* @__PURE__ */ o("div", { style: {
|
|
4812
4848
|
minWidth: 140
|
|
4813
|
-
}, children: /* @__PURE__ */ o(
|
|
4849
|
+
}, children: /* @__PURE__ */ o(Nt, { value: f, onChange: (w) => typeof w == "string" ? d(w) : null, options: l, label: u.importedLanguage }) }) }), e[4] = s, e[5] = y, e[6] = f, e[7] = l, e[8] = u.importedLanguage, e[9] = h, e[10] = m, e[11] = i, e[12] = S) : S = e[12];
|
|
4814
4850
|
let x;
|
|
4815
4851
|
return e[13] !== a || e[14] !== u.localizationImport || e[15] !== t || e[16] !== S ? (x = /* @__PURE__ */ o(a, { itemId: t, title: u.localizationImport, children: S }), e[13] = a, e[14] = u.localizationImport, e[15] = t, e[16] = S, e[17] = x) : x = e[17], x;
|
|
4816
4852
|
}, i1 = (n, e) => {
|
|
@@ -4888,7 +4924,7 @@ const Wg = (n) => {
|
|
|
4888
4924
|
addLng: p1,
|
|
4889
4925
|
fileSelect: h1,
|
|
4890
4926
|
searchBox: g1
|
|
4891
|
-
},
|
|
4927
|
+
}, Kl = 50, v1 = (n, e) => {
|
|
4892
4928
|
const t = e.split(".");
|
|
4893
4929
|
let l = n;
|
|
4894
4930
|
for (let i = 0; i < t.length; i++) {
|
|
@@ -4899,7 +4935,7 @@ const Wg = (n) => {
|
|
|
4899
4935
|
return;
|
|
4900
4936
|
l = s;
|
|
4901
4937
|
}
|
|
4902
|
-
},
|
|
4938
|
+
}, Yg = (n) => {
|
|
4903
4939
|
const e = q.c(173), {
|
|
4904
4940
|
languageOptions: t,
|
|
4905
4941
|
envMode: l,
|
|
@@ -4967,7 +5003,7 @@ const Wg = (n) => {
|
|
|
4967
5003
|
const $ = _;
|
|
4968
5004
|
let O;
|
|
4969
5005
|
e[14] !== x || e[15] !== $ ? (O = $.filter((Le) => Et(Le.key, x) || Array.from(Le.lngData).some((Fe) => typeof (Fe == null ? void 0 : Fe[1]) != "string" ? !1 : Et((Fe == null ? void 0 : Fe[1]) ?? "", x))), e[14] = x, e[15] = $, e[16] = O) : O = e[16];
|
|
4970
|
-
const E = O, D = Math.ceil(E.length /
|
|
5006
|
+
const E = O, D = Math.ceil(E.length / Kl);
|
|
4971
5007
|
let A;
|
|
4972
5008
|
e[17] !== D ? (A = (Le) => {
|
|
4973
5009
|
Le !== null && p(() => Math.max(1, Math.min(Le, D)));
|
|
@@ -5029,7 +5065,7 @@ const Wg = (n) => {
|
|
|
5029
5065
|
let ye;
|
|
5030
5066
|
e[51] === Symbol.for("react.memo_cache_sentinel") ? (ye = (Le) => typeof Le != "number" ? S(Le) : null, e[51] = ye) : ye = e[51];
|
|
5031
5067
|
let de;
|
|
5032
|
-
e[52] !== d.localizationFile || e[53] !== y || e[54] !== ce ? (de = /* @__PURE__ */ o(
|
|
5068
|
+
e[52] !== d.localizationFile || e[53] !== y || e[54] !== ce ? (de = /* @__PURE__ */ o(Nt, { options: ce, value: y, onChange: ye, size: "sm", label: d.localizationFile, className: St.fileSelect, noSortOptions: !0 }), e[52] = d.localizationFile, e[53] = y, e[54] = ce, e[55] = de) : de = e[55];
|
|
5033
5069
|
let le;
|
|
5034
5070
|
e[56] === Symbol.for("react.memo_cache_sentinel") ? (le = G(St.searchBox, "d-flex align-items-center gap-2 border rounded"), e[56] = le) : le = e[56];
|
|
5035
5071
|
let ee;
|
|
@@ -5059,7 +5095,7 @@ const Wg = (n) => {
|
|
|
5059
5095
|
let Se;
|
|
5060
5096
|
e[75] !== d.import || e[76] !== Te || e[77] !== ae ? (Se = /* @__PURE__ */ o(Qt, { cKey: "import", hideOn: "always", to: Te, icon: ae, children: d.import }), e[75] = d.import, e[76] = Te, e[77] = ae, e[78] = Se) : Se = e[78];
|
|
5061
5097
|
let ke;
|
|
5062
|
-
e[79] !== pe || e[80] !== Se ? (ke = /* @__PURE__ */ P(
|
|
5098
|
+
e[79] !== pe || e[80] !== Se ? (ke = /* @__PURE__ */ P(El, { children: [
|
|
5063
5099
|
pe,
|
|
5064
5100
|
Se
|
|
5065
5101
|
] }), e[79] = pe, e[80] = Se, e[81] = ke) : ke = e[81];
|
|
@@ -5076,9 +5112,9 @@ const Wg = (n) => {
|
|
|
5076
5112
|
let $e;
|
|
5077
5113
|
e[89] !== N ? ($e = Array.from(N), e[89] = N, e[90] = $e) : $e = e[90];
|
|
5078
5114
|
let xe;
|
|
5079
|
-
e[91] !== t || e[92] !== d.language || e[93] !== N || e[94] !== $e ? (xe = $e.map((Le, Fe) => /* @__PURE__ */ o(
|
|
5115
|
+
e[91] !== t || e[92] !== d.language || e[93] !== N || e[94] !== $e ? (xe = $e.map((Le, Fe) => /* @__PURE__ */ o(Nt, { options: t.filter((_e) => _e.id === Le || !N.has(_e.id)), value: Le, onChange: (_e) => I((Ae) => _e === null ? (Ae.delete(Le), new Set(Ae)) : (typeof _e == "string" && (Ae.delete(Le), Ae.add(_e)), new Set(Ae))), size: "sm", label: `${d.language} ${Fe + 1}`, withoutLabel: !0, InputContainer: Oe, className: G(St.lngSelect) }, Le)), e[91] = t, e[92] = d.language, e[93] = N, e[94] = $e, e[95] = xe) : xe = e[95];
|
|
5080
5116
|
let De;
|
|
5081
|
-
e[96] !== T || e[97] !== M || e[98] !== d.addLanguage ? (De = M ? /* @__PURE__ */ o(
|
|
5117
|
+
e[96] !== T || e[97] !== M || e[98] !== d.addLanguage ? (De = M ? /* @__PURE__ */ o(Nt, { options: T, value: null, onChange: (Le) => I((Fe) => (typeof Le == "string" && Fe.add(Le), new Set(Fe))), size: "sm", label: d.addLanguage, InputContainer: Oe, className: G(St.lngSelect, St.addLng) }) : null, e[96] = T, e[97] = M, e[98] = d.addLanguage, e[99] = De) : De = e[99];
|
|
5082
5118
|
let Ee;
|
|
5083
5119
|
e[100] !== Ie || e[101] !== xe || e[102] !== De ? (Ee = /* @__PURE__ */ P("div", { className: ve, children: [
|
|
5084
5120
|
Ie,
|
|
@@ -5090,7 +5126,7 @@ const Wg = (n) => {
|
|
|
5090
5126
|
let Ke;
|
|
5091
5127
|
e[105] !== d.noDataFiltered || e[106] !== d.noDataLoaded || e[107] !== $.length || e[108] !== E.length ? (Ke = $.length === 0 || E.length === 0 ? /* @__PURE__ */ o(ot, { variant: "warning", className: G(St.tableFullWidth, St.emptyTableAlert, "my-n1"), children: $.length === 0 ? d.noDataLoaded : E.length === 0 ? d.noDataFiltered : null }) : null, e[105] = d.noDataFiltered, e[106] = d.noDataLoaded, e[107] = $.length, e[108] = E.length, e[109] = Ke) : Ke = e[109];
|
|
5092
5128
|
let Xe;
|
|
5093
|
-
e[110] !== m || e[111] !== E ? (Xe = E.slice(
|
|
5129
|
+
e[110] !== m || e[111] !== E ? (Xe = E.slice(Kl * (m - 1), Kl * m), e[110] = m, e[111] = E, e[112] = Xe) : Xe = e[112];
|
|
5094
5130
|
let Je;
|
|
5095
5131
|
e[113] !== v || e[114] !== z || e[115] !== s || e[116] !== N || e[117] !== Xe ? (Je = Xe.map((Le) => /* @__PURE__ */ P("div", { className: G(St.subgrid, St.tableItem), children: [
|
|
5096
5132
|
/* @__PURE__ */ o(Z, { variant: "form-label", children: Le.key }),
|
|
@@ -5119,17 +5155,17 @@ const Wg = (n) => {
|
|
|
5119
5155
|
] }), e[128] = d.page, e[129] = at) : at = e[129];
|
|
5120
5156
|
let qe;
|
|
5121
5157
|
e[130] !== B || e[131] !== m ? (qe = () => B(m - 1), e[130] = B, e[131] = m, e[132] = qe) : qe = e[132];
|
|
5122
|
-
let
|
|
5123
|
-
e[133] !== f ? (
|
|
5158
|
+
let Ct;
|
|
5159
|
+
e[133] !== f ? (Ct = /* @__PURE__ */ o(f, { icon: "minus" }), e[133] = f, e[134] = Ct) : Ct = e[134];
|
|
5124
5160
|
let rt;
|
|
5125
|
-
e[135] !== qe || e[136] !==
|
|
5161
|
+
e[135] !== qe || e[136] !== Ct ? (rt = /* @__PURE__ */ o(Ce, { size: "sm", onClick: qe, children: Ct }), e[135] = qe, e[136] = Ct, e[137] = rt) : rt = e[137];
|
|
5126
5162
|
let At;
|
|
5127
5163
|
e[138] === Symbol.for("react.memo_cache_sentinel") ? (At = {
|
|
5128
5164
|
width: 30
|
|
5129
5165
|
}, e[138] = At) : At = e[138];
|
|
5130
|
-
let
|
|
5131
|
-
e[139] !== B || e[140] !== m ? (
|
|
5132
|
-
const Dt = Math.ceil(E.length /
|
|
5166
|
+
let kt;
|
|
5167
|
+
e[139] !== B || e[140] !== m ? (kt = /* @__PURE__ */ o("div", { style: At, children: /* @__PURE__ */ o(zd, { value: m, onChange: B, InputContainer: Oe, withoutLabel: !0, size: "sm" }) }), e[139] = B, e[140] = m, e[141] = kt) : kt = e[141];
|
|
5168
|
+
const Dt = Math.ceil(E.length / Kl);
|
|
5133
5169
|
let ct;
|
|
5134
5170
|
e[142] !== Dt ? (ct = /* @__PURE__ */ P(Z, { variant: "body", children: [
|
|
5135
5171
|
"/",
|
|
@@ -5142,12 +5178,12 @@ const Wg = (n) => {
|
|
|
5142
5178
|
let ht;
|
|
5143
5179
|
e[149] !== pt || e[150] !== dt ? (ht = /* @__PURE__ */ o(Ce, { size: "sm", onClick: pt, children: dt }), e[149] = pt, e[150] = dt, e[151] = ht) : ht = e[151];
|
|
5144
5180
|
let ut;
|
|
5145
|
-
e[152] !== rt || e[153] !==
|
|
5181
|
+
e[152] !== rt || e[153] !== kt || e[154] !== ct || e[155] !== ht ? (ut = /* @__PURE__ */ P("div", { className: "d-flex align-items-center gap-1", children: [
|
|
5146
5182
|
rt,
|
|
5147
|
-
|
|
5183
|
+
kt,
|
|
5148
5184
|
ct,
|
|
5149
5185
|
ht
|
|
5150
|
-
] }), e[152] = rt, e[153] =
|
|
5186
|
+
] }), e[152] = rt, e[153] = kt, e[154] = ct, e[155] = ht, e[156] = ut) : ut = e[156];
|
|
5151
5187
|
let gt;
|
|
5152
5188
|
e[157] !== at || e[158] !== ut ? (gt = /* @__PURE__ */ P("div", { className: "d-flex gap-1 align-items-center", children: [
|
|
5153
5189
|
at,
|
|
@@ -5270,7 +5306,7 @@ const ja = 3, ks = (n, e, t) => {
|
|
|
5270
5306
|
let r;
|
|
5271
5307
|
if (e[2] !== t || e[3] !== i) {
|
|
5272
5308
|
let u;
|
|
5273
|
-
e[5] !== i ? (u = (f) => /* @__PURE__ */ o(
|
|
5309
|
+
e[5] !== i ? (u = (f) => /* @__PURE__ */ o(_t, { icon: null, onClick: () => i(f.key), children: f.text }, f.key), e[5] = i, e[6] = u) : u = e[6], r = t.map(u), e[2] = t, e[3] = i, e[4] = r;
|
|
5274
5310
|
} else
|
|
5275
5311
|
r = e[4];
|
|
5276
5312
|
let c;
|
|
@@ -5351,7 +5387,7 @@ const ja = 3, ks = (n, e, t) => {
|
|
|
5351
5387
|
}) }), e[3] = u, e[4] = a, e[5] = s, e[6] = i, e[7] = l, e[8] = r, e[9] = p) : p = e[9];
|
|
5352
5388
|
let h;
|
|
5353
5389
|
return e[10] !== m || e[11] !== p ? (h = /* @__PURE__ */ o("div", { ref: f, className: m, children: p }), e[10] = m, e[11] = p, e[12] = h) : h = e[12], h;
|
|
5354
|
-
},
|
|
5390
|
+
}, Qg = (n) => {
|
|
5355
5391
|
var Y;
|
|
5356
5392
|
const e = q.c(48), {
|
|
5357
5393
|
searchTypes: t,
|
|
@@ -5394,7 +5430,7 @@ const ja = 3, ks = (n, e, t) => {
|
|
|
5394
5430
|
let E;
|
|
5395
5431
|
e[19] === Symbol.for("react.memo_cache_sentinel") ? (E = G("p-1 rounded", Nn.inputGroupText, Nn.left), e[19] = E) : E = e[19];
|
|
5396
5432
|
let D;
|
|
5397
|
-
e[20] !== t || e[21] !== v ? (D = /* @__PURE__ */ o(
|
|
5433
|
+
e[20] !== t || e[21] !== v ? (D = /* @__PURE__ */ o(ei.Text, { className: E, children: /* @__PURE__ */ o(_1, { searchTypes: t, selectedType: v, setSelectedType: p }) }), e[20] = t, e[21] = v, e[22] = D) : D = e[22];
|
|
5398
5434
|
const A = d.searchPlaceholder;
|
|
5399
5435
|
let B;
|
|
5400
5436
|
e[23] === Symbol.for("react.memo_cache_sentinel") ? (B = G("luminus-app-search-input", Nn.input), e[23] = B) : B = e[23];
|
|
@@ -5410,13 +5446,13 @@ const ja = 3, ks = (n, e, t) => {
|
|
|
5410
5446
|
let z;
|
|
5411
5447
|
e[31] === Symbol.for("react.memo_cache_sentinel") ? (z = G("p-0 rounded", Nn.inputGroupText, Nn.right), e[31] = z) : z = e[31];
|
|
5412
5448
|
let M;
|
|
5413
|
-
e[32] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ o(
|
|
5449
|
+
e[32] === Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ o(ei.Text, { className: z, children: /* @__PURE__ */ o("button", { type: "submit", className: G("text-primary", Nn.submitButton), children: /* @__PURE__ */ o(Or, {}) }) }), e[32] = M) : M = e[32];
|
|
5414
5450
|
let H;
|
|
5415
5451
|
e[33] === Symbol.for("react.memo_cache_sentinel") ? (H = () => N(!1), e[33] = H) : H = e[33];
|
|
5416
5452
|
let U;
|
|
5417
5453
|
e[34] !== S || e[35] !== x || e[36] !== w || e[37] !== t || e[38] !== b ? (U = /* @__PURE__ */ o(B1, { query: S, searchTypes: t, show: b, onCancel: H, groups: w, isLoading: x }), e[34] = S, e[35] = x, e[36] = w, e[37] = t, e[38] = b, e[39] = U) : U = e[39];
|
|
5418
5454
|
let V;
|
|
5419
|
-
e[40] !== D || e[41] !== j || e[42] !== U || e[43] !== O ? (V = /* @__PURE__ */ P(
|
|
5455
|
+
e[40] !== D || e[41] !== j || e[42] !== U || e[43] !== O ? (V = /* @__PURE__ */ P(ei, { className: O, children: [
|
|
5420
5456
|
D,
|
|
5421
5457
|
j,
|
|
5422
5458
|
M,
|
|
@@ -5453,7 +5489,7 @@ const ja = 3, ks = (n, e, t) => {
|
|
|
5453
5489
|
d,
|
|
5454
5490
|
m
|
|
5455
5491
|
] }), e[16] = c, e[17] = d, e[18] = m, e[19] = p) : p = e[19], p;
|
|
5456
|
-
},
|
|
5492
|
+
}, Xg = (n) => {
|
|
5457
5493
|
var g, y;
|
|
5458
5494
|
const e = q.c(11), {
|
|
5459
5495
|
query: t,
|
|
@@ -5485,7 +5521,7 @@ function M1(n) {
|
|
|
5485
5521
|
var e, t;
|
|
5486
5522
|
return /* @__PURE__ */ o(xs, { eventKey: ((e = n.key) == null ? void 0 : e.category) ?? "", children: ((t = n.key) == null ? void 0 : t.categoryName) ?? "" }, n.key.category);
|
|
5487
5523
|
}
|
|
5488
|
-
const
|
|
5524
|
+
const Jg = () => {
|
|
5489
5525
|
const n = q.c(7), {
|
|
5490
5526
|
texts: e
|
|
5491
5527
|
} = ne(re), {
|
|
@@ -5583,18 +5619,18 @@ function j1() {
|
|
|
5583
5619
|
function z1() {
|
|
5584
5620
|
return !1;
|
|
5585
5621
|
}
|
|
5586
|
-
const
|
|
5622
|
+
const ql = {
|
|
5587
5623
|
apiGetBackups: "/localStorageSettings",
|
|
5588
5624
|
apiCreateBackup: "/localStorageSettings",
|
|
5589
5625
|
apiDeleteBackup: "/localStorageSettings"
|
|
5590
|
-
},
|
|
5626
|
+
}, Zg = (n) => {
|
|
5591
5627
|
const e = q.c(39), {
|
|
5592
5628
|
apiUrls: t
|
|
5593
5629
|
} = n, {
|
|
5594
5630
|
apiGetBackups: l,
|
|
5595
5631
|
apiCreateBackup: i,
|
|
5596
5632
|
apiDeleteBackup: a
|
|
5597
|
-
} = t === void 0 ?
|
|
5633
|
+
} = t === void 0 ? ql : t, s = l === void 0 ? ql.apiGetBackups : l, r = i === void 0 ? ql.apiCreateBackup : i, c = a === void 0 ? ql.apiDeleteBackup : a, {
|
|
5598
5634
|
ProjectIconComponent: u,
|
|
5599
5635
|
texts: f
|
|
5600
5636
|
} = ne(re), {
|
|
@@ -5627,7 +5663,7 @@ const Kl = {
|
|
|
5627
5663
|
let _;
|
|
5628
5664
|
e[18] === Symbol.for("react.memo_cache_sentinel") ? (_ = () => S(!0), e[18] = _) : _ = e[18];
|
|
5629
5665
|
let $;
|
|
5630
|
-
e[19] !== d.localStorageCreateBackup ? ($ = /* @__PURE__ */ o(
|
|
5666
|
+
e[19] !== d.localStorageCreateBackup ? ($ = /* @__PURE__ */ o(It, { className: "mb-2", onClick: _, children: d.localStorageCreateBackup }), e[19] = d.localStorageCreateBackup, e[20] = $) : $ = e[20];
|
|
5631
5667
|
let O;
|
|
5632
5668
|
e[21] !== u || e[22] !== x || e[23] !== I || e[24] !== T || e[25] !== d.localStorageNoBackups ? (O = x && x.length > 0 ? /* @__PURE__ */ o("div", { className: "list-group", children: x.map((R, F) => /* @__PURE__ */ P("div", { role: "button", className: "list-group-item list-group-item-action d-flex justify-content-between align-items-center", onClick: () => T(R), children: [
|
|
5633
5669
|
/* @__PURE__ */ o(Z, { variant: "body2", children: R.name }),
|
|
@@ -5659,7 +5695,7 @@ function U1() {
|
|
|
5659
5695
|
function H1() {
|
|
5660
5696
|
return !1;
|
|
5661
5697
|
}
|
|
5662
|
-
const
|
|
5698
|
+
const e3 = () => {
|
|
5663
5699
|
const n = q.c(7), {
|
|
5664
5700
|
texts: e
|
|
5665
5701
|
} = ne(re), {
|
|
@@ -5669,7 +5705,7 @@ const Jg = () => {
|
|
|
5669
5705
|
n[0] !== i || n[1] !== a || n[2] !== t.searchSettingsUseAsterisk ? (s = /* @__PURE__ */ o(Ln, { type: "switch", value: a, onChange: i, label: t.searchSettingsUseAsterisk }), n[0] = i, n[1] = a, n[2] = t.searchSettingsUseAsterisk, n[3] = s) : s = n[3];
|
|
5670
5706
|
let r;
|
|
5671
5707
|
return n[4] !== s || n[5] !== t.searchSettings ? (r = /* @__PURE__ */ o(Jt, { collapsible: !0, title: t.searchSettings, defaultOpen: !0, children: s }), n[4] = s, n[5] = t.searchSettings, n[6] = r) : r = n[6], r;
|
|
5672
|
-
},
|
|
5708
|
+
}, t3 = () => {
|
|
5673
5709
|
const n = q.c(9), {
|
|
5674
5710
|
texts: e
|
|
5675
5711
|
} = ne(re), {
|
|
@@ -5755,14 +5791,14 @@ const Jg = () => {
|
|
|
5755
5791
|
] }), e[19] = v, e[20] = S, e[21] = x) : x = e[21];
|
|
5756
5792
|
let w;
|
|
5757
5793
|
e[22] !== d || e[23] !== p || e[24] !== s || e[25] !== r.noWidgets || e[26] !== r.otherWidgets ? (w = /* @__PURE__ */ o(we.Body, { className: "flex-column gap-3", children: d.length === 0 ? /* @__PURE__ */ o(ot, { variant: "warning", children: r.noWidgets }) : /* @__PURE__ */ P(be, { children: [
|
|
5758
|
-
p.map((N) => /* @__PURE__ */ o(
|
|
5794
|
+
p.map((N) => /* @__PURE__ */ o(ai, { defaultOpen: !0, title: N.name ?? "", children: /* @__PURE__ */ o("div", { className: "p-1", children: /* @__PURE__ */ o("div", { className: G("row gx-3 gy-3", jt.widgetsRow), children: d.filter((C) => C.group === N.id).map((C) => /* @__PURE__ */ o("div", { className: "col col-4", children: /* @__PURE__ */ P("div", { role: "button", className: G("p-0 pt-2 bg-white rounded shadow-sm", jt.widget), onClick: () => s(C.id), children: [
|
|
5759
5795
|
/* @__PURE__ */ o("div", { className: jt.widgetImg, style: {
|
|
5760
5796
|
backgroundImage: C.img ? `url(${C.img})` : void 0
|
|
5761
5797
|
} }),
|
|
5762
5798
|
/* @__PURE__ */ o("div", { className: jt.widgetTitleSpacer }),
|
|
5763
5799
|
/* @__PURE__ */ o("div", { className: G(jt.widgetTitle, "rounded"), children: /* @__PURE__ */ o(Z, { variant: "body", className: G(jt.title, "text-white text-truncate"), children: C.name }) })
|
|
5764
5800
|
] }, C.id) })) }) }) }, N.id)),
|
|
5765
|
-
d.some(X1) && /* @__PURE__ */ o(
|
|
5801
|
+
d.some(X1) && /* @__PURE__ */ o(ai, { defaultOpen: !0, title: r.otherWidgets, children: /* @__PURE__ */ o("div", { className: "p-1", children: /* @__PURE__ */ o("div", { className: G("row gx-3 gy-3", jt.widgetsRow), children: d.filter(J1).map((N) => /* @__PURE__ */ o("div", { className: "col col-4", children: /* @__PURE__ */ P("div", { role: "button", className: G("p-0 pt-2 bg-white rounded shadow-sm", jt.widget), onClick: () => s(N.id), children: [
|
|
5766
5802
|
/* @__PURE__ */ o("div", { className: jt.widgetImg, style: {
|
|
5767
5803
|
backgroundImage: N.img ? `url(${N.img})` : void 0
|
|
5768
5804
|
} }),
|
|
@@ -5793,7 +5829,7 @@ const Z1 = "_widget_19xgl_1", ef = "_mobile_19xgl_7", za = {
|
|
|
5793
5829
|
texts: a
|
|
5794
5830
|
} = n, [s, r] = te(!1), {
|
|
5795
5831
|
isMobile: c
|
|
5796
|
-
} =
|
|
5832
|
+
} = Pl();
|
|
5797
5833
|
let u;
|
|
5798
5834
|
e[0] !== c ? (u = G("luminus-empty-widget", za.widget, {
|
|
5799
5835
|
[za.mobile]: c
|
|
@@ -5886,7 +5922,7 @@ const Z1 = "_widget_19xgl_1", ef = "_mobile_19xgl_7", za = {
|
|
|
5886
5922
|
dashboardConfig: a,
|
|
5887
5923
|
onChangeDashboardConfig: f
|
|
5888
5924
|
}, t[7] = a, t[8] = f, t[9] = d) : d = t[9], d;
|
|
5889
|
-
},
|
|
5925
|
+
}, n3 = (n) => {
|
|
5890
5926
|
var k, I, L;
|
|
5891
5927
|
const e = q.c(34), {
|
|
5892
5928
|
widgetGroups: t,
|
|
@@ -5942,7 +5978,7 @@ const Z1 = "_widget_19xgl_1", ef = "_mobile_19xgl_7", za = {
|
|
|
5942
5978
|
}, e[7] = u, e[8] = f, e[9] = v) : v = e[9];
|
|
5943
5979
|
const g = v, {
|
|
5944
5980
|
isMobile: y
|
|
5945
|
-
} =
|
|
5981
|
+
} = Pl();
|
|
5946
5982
|
let S;
|
|
5947
5983
|
e[10] !== y ? (S = G(Yt.dashboard, {
|
|
5948
5984
|
[Yt.mobile]: y
|
|
@@ -6012,7 +6048,7 @@ const Z1 = "_widget_19xgl_1", ef = "_mobile_19xgl_7", za = {
|
|
|
6012
6048
|
}, yf = "_collapse-icon_1ahhn_1", bf = "_collapsed_1ahhn_6", Ua = {
|
|
6013
6049
|
collapseIcon: yf,
|
|
6014
6050
|
collapsed: bf
|
|
6015
|
-
},
|
|
6051
|
+
}, ai = (n) => {
|
|
6016
6052
|
const e = q.c(23), {
|
|
6017
6053
|
title: t,
|
|
6018
6054
|
children: l,
|
|
@@ -6131,13 +6167,13 @@ var Ds = function(n) {
|
|
|
6131
6167
|
}, {
|
|
6132
6168
|
key: "render",
|
|
6133
6169
|
value: function() {
|
|
6134
|
-
return _f ? (!this.props.node && !this.defaultNode && (this.defaultNode = document.createElement("div"), document.body.appendChild(this.defaultNode)),
|
|
6170
|
+
return _f ? (!this.props.node && !this.defaultNode && (this.defaultNode = document.createElement("div"), document.body.appendChild(this.defaultNode)), ii.createPortal(this.props.children, this.props.node || this.defaultNode)) : null;
|
|
6135
6171
|
}
|
|
6136
6172
|
}]), e;
|
|
6137
6173
|
}(Pt.Component);
|
|
6138
6174
|
Ds.propTypes = {
|
|
6139
|
-
children:
|
|
6140
|
-
node:
|
|
6175
|
+
children: ni.node.isRequired,
|
|
6176
|
+
node: ni.any
|
|
6141
6177
|
};
|
|
6142
6178
|
var Pf = /* @__PURE__ */ function() {
|
|
6143
6179
|
function n(e, t) {
|
|
@@ -6182,14 +6218,14 @@ var $s = function(n) {
|
|
|
6182
6218
|
}, {
|
|
6183
6219
|
key: "componentWillUnmount",
|
|
6184
6220
|
value: function() {
|
|
6185
|
-
|
|
6221
|
+
ii.unmountComponentAtNode(this.defaultNode || this.props.node), this.defaultNode && document.body.removeChild(this.defaultNode), this.defaultNode = null, this.portal = null;
|
|
6186
6222
|
}
|
|
6187
6223
|
}, {
|
|
6188
6224
|
key: "renderPortal",
|
|
6189
6225
|
value: function(l) {
|
|
6190
6226
|
!this.props.node && !this.defaultNode && (this.defaultNode = document.createElement("div"), document.body.appendChild(this.defaultNode));
|
|
6191
6227
|
var i = this.props.children;
|
|
6192
|
-
typeof this.props.children.type == "function" && (i = Pt.cloneElement(this.props.children)), this.portal =
|
|
6228
|
+
typeof this.props.children.type == "function" && (i = Pt.cloneElement(this.props.children)), this.portal = ii.unstable_renderSubtreeIntoContainer(this, i, this.props.node || this.defaultNode);
|
|
6193
6229
|
}
|
|
6194
6230
|
}, {
|
|
6195
6231
|
key: "render",
|
|
@@ -6199,11 +6235,11 @@ var $s = function(n) {
|
|
|
6199
6235
|
}]), e;
|
|
6200
6236
|
}(Pt.Component);
|
|
6201
6237
|
$s.propTypes = {
|
|
6202
|
-
children:
|
|
6203
|
-
node:
|
|
6238
|
+
children: ni.node.isRequired,
|
|
6239
|
+
node: ni.any
|
|
6204
6240
|
};
|
|
6205
6241
|
var Bi = void 0;
|
|
6206
|
-
|
|
6242
|
+
ii.createPortal ? Bi = Ds : Bi = $s;
|
|
6207
6243
|
const Ls = (n) => {
|
|
6208
6244
|
const e = q.c(15);
|
|
6209
6245
|
let t, l, i, a, s;
|
|
@@ -6273,7 +6309,7 @@ function Xf(n) {
|
|
|
6273
6309
|
var e = Qf(n, "string");
|
|
6274
6310
|
return Dl(e) == "symbol" ? e : e + "";
|
|
6275
6311
|
}
|
|
6276
|
-
function
|
|
6312
|
+
function Bl(n, e, t) {
|
|
6277
6313
|
return (e = Xf(e)) in n ? Object.defineProperty(n, e, {
|
|
6278
6314
|
value: t,
|
|
6279
6315
|
enumerable: !0,
|
|
@@ -6295,7 +6331,7 @@ function Va(n) {
|
|
|
6295
6331
|
for (var e = 1; e < arguments.length; e++) {
|
|
6296
6332
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
6297
6333
|
e % 2 ? Ha(Object(t), !0).forEach(function(l) {
|
|
6298
|
-
|
|
6334
|
+
Bl(n, l, t[l]);
|
|
6299
6335
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Ha(Object(t)).forEach(function(l) {
|
|
6300
6336
|
Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
|
|
6301
6337
|
});
|
|
@@ -6328,7 +6364,7 @@ function Zf(n, e) {
|
|
|
6328
6364
|
}), f = (t = (l = u.sort(function(d, m) {
|
|
6329
6365
|
return d.value - m.value;
|
|
6330
6366
|
})[0]) === null || l === void 0 ? void 0 : l.edge) !== null && t !== void 0 ? t : null;
|
|
6331
|
-
return Va(Va({}, n), {},
|
|
6367
|
+
return Va(Va({}, n), {}, Bl({}, Ps, f));
|
|
6332
6368
|
}
|
|
6333
6369
|
function Es(n) {
|
|
6334
6370
|
var e;
|
|
@@ -6406,7 +6442,7 @@ function Wa(n) {
|
|
|
6406
6442
|
for (var e = 1; e < arguments.length; e++) {
|
|
6407
6443
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
6408
6444
|
e % 2 ? Ga(Object(t), !0).forEach(function(l) {
|
|
6409
|
-
|
|
6445
|
+
Bl(n, l, t[l]);
|
|
6410
6446
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Ga(Object(t)).forEach(function(l) {
|
|
6411
6447
|
Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
|
|
6412
6448
|
});
|
|
@@ -6624,7 +6660,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
6624
6660
|
function Fs(n) {
|
|
6625
6661
|
return fm(n) || mm(n) || Os(n) || pm();
|
|
6626
6662
|
}
|
|
6627
|
-
var hm =
|
|
6663
|
+
var hm = Ol(function() {
|
|
6628
6664
|
return process.env.NODE_ENV === "test" ? !1 : navigator.userAgent.includes("Firefox");
|
|
6629
6665
|
});
|
|
6630
6666
|
function gm(n) {
|
|
@@ -6927,7 +6963,7 @@ function pn(n) {
|
|
|
6927
6963
|
for (var e = 1; e < arguments.length; e++) {
|
|
6928
6964
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
6929
6965
|
e % 2 ? Xa(Object(t), !0).forEach(function(l) {
|
|
6930
|
-
|
|
6966
|
+
Bl(n, l, t[l]);
|
|
6931
6967
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : Xa(Object(t)).forEach(function(l) {
|
|
6932
6968
|
Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
|
|
6933
6969
|
});
|
|
@@ -7003,7 +7039,7 @@ function _m(n) {
|
|
|
7003
7039
|
attribute: i,
|
|
7004
7040
|
value: "true"
|
|
7005
7041
|
}), s(p));
|
|
7006
|
-
return
|
|
7042
|
+
return Ol(v);
|
|
7007
7043
|
}
|
|
7008
7044
|
function c(p) {
|
|
7009
7045
|
var h, v, g, y, S = p.source, x = p.target, w = p.input, b = p.result, N = b === void 0 ? [] : b;
|
|
@@ -7216,7 +7252,7 @@ function $m(n) {
|
|
|
7216
7252
|
for (var e = 1; e < arguments.length; e++) {
|
|
7217
7253
|
var t = arguments[e] != null ? arguments[e] : {};
|
|
7218
7254
|
e % 2 ? eo(Object(t), !0).forEach(function(l) {
|
|
7219
|
-
|
|
7255
|
+
Bl(n, l, t[l]);
|
|
7220
7256
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(t)) : eo(Object(t)).forEach(function(l) {
|
|
7221
7257
|
Object.defineProperty(n, l, Object.getOwnPropertyDescriptor(t, l));
|
|
7222
7258
|
});
|
|
@@ -7234,7 +7270,7 @@ function Lm() {
|
|
|
7234
7270
|
function r() {
|
|
7235
7271
|
n.delete(s), e && e.active.delete(s);
|
|
7236
7272
|
}
|
|
7237
|
-
return
|
|
7273
|
+
return Ol(r);
|
|
7238
7274
|
}
|
|
7239
7275
|
function i(a) {
|
|
7240
7276
|
var s = a.eventName, r = a.payload;
|
|
@@ -7310,7 +7346,7 @@ function Pm(n) {
|
|
|
7310
7346
|
monitor: s.monitorForConsumers
|
|
7311
7347
|
};
|
|
7312
7348
|
}
|
|
7313
|
-
var Em =
|
|
7349
|
+
var Em = Ol(function() {
|
|
7314
7350
|
return navigator.userAgent.toLocaleLowerCase().includes("android");
|
|
7315
7351
|
}), Om = "pdnd:android-fallback", to = "text/plain", Am = "text/uri-list", Bm = "application/vnd.pdnd", Ll = /* @__PURE__ */ new WeakMap();
|
|
7316
7352
|
function Rm(n) {
|
|
@@ -7423,7 +7459,7 @@ function Mm(n) {
|
|
|
7423
7459
|
value: "true"
|
|
7424
7460
|
})
|
|
7425
7461
|
);
|
|
7426
|
-
return
|
|
7462
|
+
return Ol(t);
|
|
7427
7463
|
}
|
|
7428
7464
|
const lo = (n) => {
|
|
7429
7465
|
const e = q.c(2), {
|
|
@@ -7675,7 +7711,7 @@ const Hm = (n) => {
|
|
|
7675
7711
|
}, icon: /* @__PURE__ */ o(Bo, { style: {
|
|
7676
7712
|
fontSize: 18
|
|
7677
7713
|
} }), multiple: !0, className: "me-1 me-lg-3", children: s ?? null }),
|
|
7678
|
-
/* @__PURE__ */ o(
|
|
7714
|
+
/* @__PURE__ */ o(El, { children: N && (u == null ? void 0 : u.map((Y, K) => {
|
|
7679
7715
|
const {
|
|
7680
7716
|
label: J,
|
|
7681
7717
|
onClick: X,
|
|
@@ -7772,7 +7808,7 @@ const Xm = (n) => {
|
|
|
7772
7808
|
textShadow: "-2px 2px 4px #696969",
|
|
7773
7809
|
background: "rgba(105,105,105,0.5)"
|
|
7774
7810
|
}, children: /* @__PURE__ */ o(Gr, { fontSize: 24 }) })
|
|
7775
|
-
] }) : /* @__PURE__ */ o(
|
|
7811
|
+
] }) : /* @__PURE__ */ o(xt, { text: i ?? "", placement: "left", children: /* @__PURE__ */ o("div", { role: "button", className: G("rounded p-3 d-flex justify-content-center"), onClick: () => b(!0), children: /* @__PURE__ */ o("img", { src: u, alt: "placeholder", className: "rounded w-25" }) }) }), e[9] = h, e[10] = r, e[11] = c, e[12] = x, e[13] = t.length, e[14] = u, e[15] = i, e[16] = k) : k = e[16];
|
|
7776
7812
|
const I = w && !g;
|
|
7777
7813
|
let L;
|
|
7778
7814
|
e[17] === Symbol.for("react.memo_cache_sentinel") ? (L = () => b(!1), e[17] = L) : L = e[17];
|
|
@@ -7788,7 +7824,7 @@ const Xm = (n) => {
|
|
|
7788
7824
|
function Jm(n) {
|
|
7789
7825
|
return n.isDefault;
|
|
7790
7826
|
}
|
|
7791
|
-
const
|
|
7827
|
+
const l3 = (n) => {
|
|
7792
7828
|
var p, h, v;
|
|
7793
7829
|
const e = q.c(13), {
|
|
7794
7830
|
children: t
|
|
@@ -7819,7 +7855,7 @@ const t3 = (n) => {
|
|
|
7819
7855
|
return e[1] === Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ o(wl, {}), e[1] = S) : S = e[1], S;
|
|
7820
7856
|
}
|
|
7821
7857
|
let g;
|
|
7822
|
-
e[2] !== t || e[3] !== a || e[4] !== f || e[5] !== r.user || e[6] !== d ? (g = !a() || f ? /* @__PURE__ */ o(wl, {}) : r.user ? d ? t : /* @__PURE__ */ o(
|
|
7858
|
+
e[2] !== t || e[3] !== a || e[4] !== f || e[5] !== r.user || e[6] !== d ? (g = !a() || f ? /* @__PURE__ */ o(wl, {}) : r.user ? d ? t : /* @__PURE__ */ o(Vl, { to: "/user-not-permitted", replace: !0 }) : /* @__PURE__ */ o(Vl, { to: "/no-user-login", replace: !0 }), e[2] = t, e[3] = a, e[4] = f, e[5] = r.user, e[6] = d, e[7] = g) : g = e[7];
|
|
7823
7859
|
let y;
|
|
7824
7860
|
return e[8] !== g ? (y = /* @__PURE__ */ o(bc, { children: g }), e[8] = g, e[9] = y) : y = e[9], y;
|
|
7825
7861
|
}
|
|
@@ -7829,11 +7865,11 @@ const t3 = (n) => {
|
|
|
7829
7865
|
}
|
|
7830
7866
|
if (!a() || !r.user) {
|
|
7831
7867
|
let g;
|
|
7832
|
-
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ o(
|
|
7868
|
+
return e[11] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ o(Vl, { to: "/login", replace: !0 }), e[11] = g) : g = e[11], g;
|
|
7833
7869
|
}
|
|
7834
7870
|
if (!d) {
|
|
7835
7871
|
let g;
|
|
7836
|
-
return e[12] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ o(
|
|
7872
|
+
return e[12] === Symbol.for("react.memo_cache_sentinel") ? (g = /* @__PURE__ */ o(Vl, { to: "/user-not-permitted", replace: !0 }), e[12] = g) : g = e[12], g;
|
|
7837
7873
|
}
|
|
7838
7874
|
return t;
|
|
7839
7875
|
}, Zm = "_item_z9z4m_1", ep = "_level-success_z9z4m_4", tp = "_level-info_z9z4m_10", np = "_level-warning_z9z4m_16", lp = "_level-danger_z9z4m_22", ip = "_type-icon_z9z4m_28", Ii = {
|
|
@@ -7884,7 +7920,7 @@ const t3 = (n) => {
|
|
|
7884
7920
|
d,
|
|
7885
7921
|
m
|
|
7886
7922
|
] }), e[12] = f, e[13] = d, e[14] = m, e[15] = p) : p = e[15], p;
|
|
7887
|
-
},
|
|
7923
|
+
}, i3 = (n) => {
|
|
7888
7924
|
const e = q.c(3), {
|
|
7889
7925
|
version: t
|
|
7890
7926
|
} = n;
|
|
@@ -7956,20 +7992,20 @@ class rp extends gc {
|
|
|
7956
7992
|
...e.props
|
|
7957
7993
|
}, /* @__PURE__ */ P("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
|
|
7958
7994
|
...e.props.children,
|
|
7959
|
-
/* @__PURE__ */ o("div", { className: "d-flex gap-2 justify-content-center", children: /* @__PURE__ */ o(
|
|
7995
|
+
/* @__PURE__ */ o("div", { className: "d-flex gap-2 justify-content-center", children: /* @__PURE__ */ o(It, { type: "button", onClick: this.reload, children: i.reloadButtonContent }) })
|
|
7960
7996
|
] })) : a === "inject-to-child" && this.state.is404Error && va(t) ? Pt.cloneElement(t, {
|
|
7961
7997
|
...t.props
|
|
7962
7998
|
}, /* @__PURE__ */ P("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
|
|
7963
7999
|
...t.props.children,
|
|
7964
8000
|
/* @__PURE__ */ P("div", { className: "d-flex gap-2 justify-content-center", children: [
|
|
7965
|
-
/* @__PURE__ */ o(
|
|
7966
|
-
/* @__PURE__ */ o(
|
|
8001
|
+
/* @__PURE__ */ o(It, { type: "button", onClick: this.reload, children: i.reloadButtonContent }),
|
|
8002
|
+
/* @__PURE__ */ o(It, { type: "button", onClick: this.props.navigateBack, children: i.navigateBackButtonContent })
|
|
7967
8003
|
] })
|
|
7968
8004
|
] })) : /* @__PURE__ */ P("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
|
|
7969
8005
|
this.state.is404Error ? t : e,
|
|
7970
8006
|
/* @__PURE__ */ P("div", { className: "d-flex gap-2 justify-content-center", children: [
|
|
7971
|
-
a === "none" ? null : /* @__PURE__ */ o(
|
|
7972
|
-
this.state.is404Error && /* @__PURE__ */ o(
|
|
8007
|
+
a === "none" ? null : /* @__PURE__ */ o(It, { type: "button", onClick: this.reload, children: i.reloadButtonContent }),
|
|
8008
|
+
this.state.is404Error && /* @__PURE__ */ o(It, { type: "button", onClick: this.props.navigateBack, children: i.navigateBackButtonContent })
|
|
7973
8009
|
] })
|
|
7974
8010
|
] }) : l;
|
|
7975
8011
|
}
|
|
@@ -8133,7 +8169,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8133
8169
|
}, e[15] = h, e[16] = v) : v = e[16];
|
|
8134
8170
|
let g;
|
|
8135
8171
|
return e[17] !== a || e[18] !== v ? (g = /* @__PURE__ */ o("div", { ...a, style: v }), e[17] = a, e[18] = v, e[19] = g) : g = e[19], g;
|
|
8136
|
-
},
|
|
8172
|
+
}, a3 = (n) => {
|
|
8137
8173
|
const e = q.c(16);
|
|
8138
8174
|
let t, l, i, a, s;
|
|
8139
8175
|
if (e[0] !== n) {
|
|
@@ -8203,7 +8239,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8203
8239
|
lg: _p,
|
|
8204
8240
|
sm: Tp,
|
|
8205
8241
|
md: Dp
|
|
8206
|
-
},
|
|
8242
|
+
}, oi = (n) => {
|
|
8207
8243
|
const e = new Date(n), t = gn(e.toISOString());
|
|
8208
8244
|
e.setUTCMonth(e.getUTCMonth() + 1), e.setUTCDate(e.getUTCDate() - 1);
|
|
8209
8245
|
const l = gn(e.toISOString());
|
|
@@ -8211,7 +8247,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8211
8247
|
from: t,
|
|
8212
8248
|
to: l
|
|
8213
8249
|
};
|
|
8214
|
-
},
|
|
8250
|
+
}, si = (n) => {
|
|
8215
8251
|
const e = new Date(n), t = gn(e.toISOString());
|
|
8216
8252
|
e.setUTCFullYear(e.getUTCFullYear() + 1), e.setUTCDate(e.getUTCDate() - 1);
|
|
8217
8253
|
const l = gn(e.toISOString());
|
|
@@ -8225,7 +8261,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8225
8261
|
if (n === e)
|
|
8226
8262
|
return "D";
|
|
8227
8263
|
const t = new Date(n);
|
|
8228
|
-
return
|
|
8264
|
+
return oi(t).to === e ? "M" : si(t).to === e ? "Y" : "C";
|
|
8229
8265
|
}, Lp = (n, e, t) => {
|
|
8230
8266
|
const l = q.c(14);
|
|
8231
8267
|
let i;
|
|
@@ -8250,7 +8286,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8250
8286
|
to: v
|
|
8251
8287
|
};
|
|
8252
8288
|
}
|
|
8253
|
-
return n === "M" ?
|
|
8289
|
+
return n === "M" ? oi(h) : n === "Y" ? si(h) : p;
|
|
8254
8290
|
});
|
|
8255
8291
|
break e;
|
|
8256
8292
|
}
|
|
@@ -8280,7 +8316,7 @@ const Cp = (n, e, t, l) => {
|
|
|
8280
8316
|
to: v
|
|
8281
8317
|
};
|
|
8282
8318
|
}
|
|
8283
|
-
return n === "M" ? (p.setMonth(p.getMonth() + d),
|
|
8319
|
+
return n === "M" ? (p.setMonth(p.getMonth() + d), oi(p)) : n === "Y" ? (p.setFullYear(p.getFullYear() + d), si(p)) : {
|
|
8284
8320
|
from: gn(p.toISOString()),
|
|
8285
8321
|
to: gn(h.toISOString())
|
|
8286
8322
|
};
|
|
@@ -8309,15 +8345,15 @@ function Ep(n) {
|
|
|
8309
8345
|
if (n.from === null)
|
|
8310
8346
|
return n;
|
|
8311
8347
|
const e = Yr(n.from);
|
|
8312
|
-
return
|
|
8348
|
+
return oi(e);
|
|
8313
8349
|
}
|
|
8314
8350
|
function Op(n) {
|
|
8315
8351
|
if (n.from === null)
|
|
8316
8352
|
return n;
|
|
8317
8353
|
const e = Qr(new Date(n.from).getFullYear());
|
|
8318
|
-
return
|
|
8354
|
+
return si(e);
|
|
8319
8355
|
}
|
|
8320
|
-
const
|
|
8356
|
+
const o3 = (n) => {
|
|
8321
8357
|
const e = q.c(55), {
|
|
8322
8358
|
fromtoState: t,
|
|
8323
8359
|
className: l,
|
|
@@ -8360,7 +8396,7 @@ const i3 = (n) => {
|
|
|
8360
8396
|
let _;
|
|
8361
8397
|
e[23] !== T ? (_ = /* @__PURE__ */ o(Sn, { text: T, as: kp }), e[23] = T, e[24] = _) : _ = e[24];
|
|
8362
8398
|
let $;
|
|
8363
|
-
e[25] !== u || e[26] !== p || e[27] !== f ? ($ = so.map((z) => /* @__PURE__ */ o(
|
|
8399
|
+
e[25] !== u || e[26] !== p || e[27] !== f ? ($ = so.map((z) => /* @__PURE__ */ o(_t, { disabled: z[0] === f, className: G(z[0] === f ? "text-black-50" : ""), onClick: () => p(z[0]), role: "button", children: u[z[1]] }, z[0])), e[25] = u, e[26] = p, e[27] = f, e[28] = $) : $ = e[28];
|
|
8364
8400
|
let O;
|
|
8365
8401
|
e[29] !== _ || e[30] !== $ ? (O = /* @__PURE__ */ o(wn, { toggle: _, children: $ }), e[29] = _, e[30] = $, e[31] = O) : O = e[31];
|
|
8366
8402
|
let E;
|
|
@@ -8387,7 +8423,7 @@ const i3 = (n) => {
|
|
|
8387
8423
|
A,
|
|
8388
8424
|
F
|
|
8389
8425
|
] }), e[50] = A, e[51] = F, e[52] = w, e[53] = C, e[54] = j) : j = e[54], j;
|
|
8390
|
-
},
|
|
8426
|
+
}, s3 = (n) => {
|
|
8391
8427
|
const e = q.c(13), {
|
|
8392
8428
|
defaultMonth: t,
|
|
8393
8429
|
searchKey: l,
|
|
@@ -8443,7 +8479,7 @@ const i3 = (n) => {
|
|
|
8443
8479
|
const m = d;
|
|
8444
8480
|
let p;
|
|
8445
8481
|
return e[11] !== m || e[12] !== l || e[13] !== f ? (p = /* @__PURE__ */ o(ld, { year: f, onChangeYear: m, ...l }), e[11] = m, e[12] = l, e[13] = f, e[14] = p) : p = e[14], p;
|
|
8446
|
-
},
|
|
8482
|
+
}, r3 = (n) => {
|
|
8447
8483
|
const e = q.c(17), {
|
|
8448
8484
|
data: t,
|
|
8449
8485
|
showLegend: l,
|
|
@@ -8536,7 +8572,7 @@ const i3 = (n) => {
|
|
|
8536
8572
|
g,
|
|
8537
8573
|
N
|
|
8538
8574
|
] }), e[19] = p, e[20] = N, e[21] = g, e[22] = C) : C = e[22], C;
|
|
8539
|
-
},
|
|
8575
|
+
}, c3 = (n) => {
|
|
8540
8576
|
var Te;
|
|
8541
8577
|
const e = q.c(81), {
|
|
8542
8578
|
data: t,
|
|
@@ -8909,7 +8945,7 @@ const i3 = (n) => {
|
|
|
8909
8945
|
e[2] !== i || e[3] !== f ? ($ = (D) => f(i, D === null ? null : Number(D)), e[2] = i, e[3] = f, e[4] = $) : $ = e[4];
|
|
8910
8946
|
const O = !d;
|
|
8911
8947
|
let E;
|
|
8912
|
-
return e[5] !== m || e[6] !== S || e[7] !== _ || e[8] !== $ || e[9] !== O || e[10] !== c ? (E = /* @__PURE__ */ o(
|
|
8948
|
+
return e[5] !== m || e[6] !== S || e[7] !== _ || e[8] !== $ || e[9] !== O || e[10] !== c ? (E = /* @__PURE__ */ o(Nt, { withoutLabel: !0, InputContainer: zt, className: rn.input, size: "sm", value: _, onChange: $, options: c, disabled: S, showClearIcon: O, clearValue: m, dropdownWidth: 200 }), e[5] = m, e[6] = S, e[7] = _, e[8] = $, e[9] = O, e[10] = c, e[11] = E) : E = e[11], E;
|
|
8913
8949
|
}
|
|
8914
8950
|
let k;
|
|
8915
8951
|
e[12] !== l ? (k = (l == null ? void 0 : l.toString()) ?? "", e[12] = l, e[13] = k) : k = e[13];
|
|
@@ -8935,7 +8971,7 @@ const i3 = (n) => {
|
|
|
8935
8971
|
e[35] !== i || e[36] !== f ? (O = (A) => f(i, (A == null ? void 0 : A.toString()) ?? null), e[35] = i, e[36] = f, e[37] = O) : O = e[37];
|
|
8936
8972
|
const E = !d;
|
|
8937
8973
|
let D;
|
|
8938
|
-
return e[38] !== m || e[39] !== S || e[40] !== $ || e[41] !== O || e[42] !== E || e[43] !== c ? (D = /* @__PURE__ */ o(
|
|
8974
|
+
return e[38] !== m || e[39] !== S || e[40] !== $ || e[41] !== O || e[42] !== E || e[43] !== c ? (D = /* @__PURE__ */ o(Nt, { withoutLabel: !0, InputContainer: zt, className: rn.input, size: "sm", value: $, onChange: O, options: c, disabled: S, showClearIcon: E, clearValue: m, dropdownWidth: 200 }), e[38] = m, e[39] = S, e[40] = $, e[41] = O, e[42] = E, e[43] = c, e[44] = D) : D = e[44], D;
|
|
8939
8975
|
}
|
|
8940
8976
|
let I;
|
|
8941
8977
|
e[45] !== l ? (I = (l == null ? void 0 : l.toString()) ?? "", e[45] = l, e[46] = I) : I = e[46];
|
|
@@ -9065,7 +9101,7 @@ const i3 = (n) => {
|
|
|
9065
9101
|
var O, E;
|
|
9066
9102
|
return /* @__PURE__ */ o(Ce, { as: "link", href: `${Xt(u, {
|
|
9067
9103
|
id: (O = _.id) == null ? void 0 : O.toString()
|
|
9068
|
-
})}?type=dynamic-form&masterId=${(E = d.id) == null ? void 0 : E.value}`, children: /* @__PURE__ */ o(
|
|
9104
|
+
})}?type=dynamic-form&masterId=${(E = d.id) == null ? void 0 : E.value}`, children: /* @__PURE__ */ o(xt, { text: _.name ?? "", placement: "left", children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ P(Z, { variant: "body", className: "d-flex align-items-center text-primary", children: [
|
|
9069
9105
|
t.slaves.length > 1 ? /* @__PURE__ */ o(Z, { variant: "caption", className: "text-primary", children: $ + 1 }) : null,
|
|
9070
9106
|
/* @__PURE__ */ o(Ro, {})
|
|
9071
9107
|
] }) }) }) }, _.id);
|
|
@@ -9138,7 +9174,7 @@ const nh = (n) => {
|
|
|
9138
9174
|
/* @__PURE__ */ o("td", { className: "sticky-first", children: /* @__PURE__ */ o(Ce, { onClick: d, children: /* @__PURE__ */ o(r, { icon: "add" }) }) }),
|
|
9139
9175
|
/* @__PURE__ */ o("td", { colSpan: l.length + 1 })
|
|
9140
9176
|
] }), e[3] = r, e[4] = l, e[5] = s, e[6] = d, e[7] = c, e[8] = a, e[9] = t.id, e[10] = t.primaryKey, e[11] = t.userCanModify, e[12] = i, e[13] = h) : h = e[13], h;
|
|
9141
|
-
}, lh = "_resizer_ref0b_1", ih = "_content_ref0b_11", ah = "_dragging_ref0b_16",
|
|
9177
|
+
}, lh = "_resizer_ref0b_1", ih = "_content_ref0b_11", ah = "_dragging_ref0b_16", Yl = {
|
|
9142
9178
|
resizer: lh,
|
|
9143
9179
|
content: ih,
|
|
9144
9180
|
dragging: ah
|
|
@@ -9156,10 +9192,10 @@ const nh = (n) => {
|
|
|
9156
9192
|
t.current && (t.current.style.minWidth = `${i}px`);
|
|
9157
9193
|
}, f = [i, t], e[3] = t, e[4] = i, e[5] = u, e[6] = f) : (u = e[5], f = e[6]), ue(u, f);
|
|
9158
9194
|
let d;
|
|
9159
|
-
e[7] === Symbol.for("react.memo_cache_sentinel") ? (d = G("luminus-column-resizer",
|
|
9195
|
+
e[7] === Symbol.for("react.memo_cache_sentinel") ? (d = G("luminus-column-resizer", Yl.resizer), e[7] = d) : d = e[7];
|
|
9160
9196
|
let m;
|
|
9161
9197
|
e[8] !== s ? (m = (y) => {
|
|
9162
|
-
s(y.currentTarget.getBoundingClientRect().x), y.currentTarget.classList.add(
|
|
9198
|
+
s(y.currentTarget.getBoundingClientRect().x), y.currentTarget.classList.add(Yl.dragging);
|
|
9163
9199
|
}, e[8] = s, e[9] = m) : m = e[9];
|
|
9164
9200
|
let p;
|
|
9165
9201
|
e[10] !== t || e[11] !== s ? (p = (y) => {
|
|
@@ -9167,10 +9203,10 @@ const nh = (n) => {
|
|
|
9167
9203
|
}, e[10] = t, e[11] = s, e[12] = p) : p = e[12];
|
|
9168
9204
|
let h;
|
|
9169
9205
|
e[13] !== s ? (h = (y) => {
|
|
9170
|
-
s(null), y.currentTarget.classList.remove(
|
|
9206
|
+
s(null), y.currentTarget.classList.remove(Yl.dragging);
|
|
9171
9207
|
}, e[13] = s, e[14] = h) : h = e[14];
|
|
9172
9208
|
let v;
|
|
9173
|
-
e[15] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ o("div", { className: G("content",
|
|
9209
|
+
e[15] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ o("div", { className: G("content", Yl.content) }), e[15] = v) : v = e[15];
|
|
9174
9210
|
let g;
|
|
9175
9211
|
return e[16] !== m || e[17] !== p || e[18] !== h ? (g = /* @__PURE__ */ o("div", { className: d, draggable: !0, onDragStart: m, onDrag: p, onDragEnd: h, children: v }), e[16] = m, e[17] = p, e[18] = h, e[19] = g) : g = e[19], g;
|
|
9176
9212
|
}, sh = (n) => {
|
|
@@ -9190,7 +9226,7 @@ const nh = (n) => {
|
|
|
9190
9226
|
r
|
|
9191
9227
|
] }), e[2] = l, e[3] = r, e[4] = c) : c = e[4];
|
|
9192
9228
|
let u;
|
|
9193
|
-
return e[5] !== s || e[6] !== c ? (u = /* @__PURE__ */ o(
|
|
9229
|
+
return e[5] !== s || e[6] !== c ? (u = /* @__PURE__ */ o(xt, { placement: "bottom", text: s, children: c }), e[5] = s, e[6] = c, e[7] = u) : u = e[7], u;
|
|
9194
9230
|
}
|
|
9195
9231
|
let a;
|
|
9196
9232
|
return e[8] !== l ? (a = /* @__PURE__ */ o(be, { children: l }), e[8] = l, e[9] = a) : a = e[9], a;
|
|
@@ -9331,7 +9367,7 @@ const nh = (n) => {
|
|
|
9331
9367
|
let D;
|
|
9332
9368
|
if (e[32] !== S || e[33] !== g || e[34] !== r || e[35] !== t.id || e[36] !== c) {
|
|
9333
9369
|
let U;
|
|
9334
|
-
e[38] !== g || e[39] !== r || e[40] !== t.id || e[41] !== c ? (U = (V) => /* @__PURE__ */ o("th", { className: G("table-head", Ge.tableHead), children: V.valuesForSelect && V.valuesForSelect.length > 0 || V.type === "BIT" ? /* @__PURE__ */ o(be, { children: /* @__PURE__ */ o(
|
|
9370
|
+
e[38] !== g || e[39] !== r || e[40] !== t.id || e[41] !== c ? (U = (V) => /* @__PURE__ */ o("th", { className: G("table-head", Ge.tableHead), children: V.valuesForSelect && V.valuesForSelect.length > 0 || V.type === "BIT" ? /* @__PURE__ */ o(be, { children: /* @__PURE__ */ o(Nt, { InputContainer: zt, withoutLabel: !0, size: "sm", value: r[V.field] ?? "", onChange: (W) => c(V.field, (W == null ? void 0 : W.toString()) ?? null), options: V.type === "BIT" ? [{
|
|
9335
9371
|
id: 1,
|
|
9336
9372
|
name: g.yes
|
|
9337
9373
|
}, {
|
|
@@ -9399,7 +9435,7 @@ const fh = (n) => {
|
|
|
9399
9435
|
let r;
|
|
9400
9436
|
e[1] !== l ? (r = (u) => l(u ? u.toString() : null), e[1] = l, e[2] = r) : r = e[2];
|
|
9401
9437
|
let c;
|
|
9402
|
-
return e[3] !== a || e[4] !== t || e[5] !== i || e[6] !== r ? (c = /* @__PURE__ */ o("div", { style: s, children: /* @__PURE__ */ o(
|
|
9438
|
+
return e[3] !== a || e[4] !== t || e[5] !== i || e[6] !== r ? (c = /* @__PURE__ */ o("div", { style: s, children: /* @__PURE__ */ o(Nt, { label: a, value: t, onChange: r, options: i, size: "sm" }) }), e[3] = a, e[4] = t, e[5] = i, e[6] = r, e[7] = c) : c = e[7], c;
|
|
9403
9439
|
}, mh = "_pagination_gujwe_1", mo = {
|
|
9404
9440
|
pagination: mh
|
|
9405
9441
|
}, po = {
|
|
@@ -9411,7 +9447,7 @@ const fh = (n) => {
|
|
|
9411
9447
|
apiItemDelete: "/dynamicForms/delete",
|
|
9412
9448
|
apiItemCreate: "/dynamicForms/insert",
|
|
9413
9449
|
apiExportGet: "/dynamicForms/export"
|
|
9414
|
-
},
|
|
9450
|
+
}, d3 = ({
|
|
9415
9451
|
id: n,
|
|
9416
9452
|
page: e,
|
|
9417
9453
|
setPage: t,
|
|
@@ -9622,7 +9658,7 @@ const fh = (n) => {
|
|
|
9622
9658
|
/* @__PURE__ */ P("div", { className: "d-flex align-items-center gap-1", children: [
|
|
9623
9659
|
(Se = b == null ? void 0 : b.slaves) == null ? void 0 : Se.map((ve, Ie) => {
|
|
9624
9660
|
var $e;
|
|
9625
|
-
return /* @__PURE__ */ P(
|
|
9661
|
+
return /* @__PURE__ */ P(It, { as: "link", href: `${Xt(c, {
|
|
9626
9662
|
id: ($e = ve.id) == null ? void 0 : $e.toString()
|
|
9627
9663
|
})}?type=dynamic-form`, children: [
|
|
9628
9664
|
/* @__PURE__ */ P("div", { className: "d-flex align-items-center", children: [
|
|
@@ -9633,9 +9669,9 @@ const fh = (n) => {
|
|
|
9633
9669
|
] }, ve.id);
|
|
9634
9670
|
}),
|
|
9635
9671
|
/* @__PURE__ */ P(wn, { toggle: /* @__PURE__ */ o(Sn, { as: En }), children: [
|
|
9636
|
-
/* @__PURE__ */ o(
|
|
9672
|
+
/* @__PURE__ */ o(_t, { onClick: () => O(!$), children: $ ? g.hideArchived : g.showArchived }),
|
|
9637
9673
|
/* @__PURE__ */ o(Yi, {}),
|
|
9638
|
-
/* @__PURE__ */ o(
|
|
9674
|
+
/* @__PURE__ */ o(_t, { onClick: ce, icon: /* @__PURE__ */ o(y, { icon: "file-download" }), children: g.downloadExport })
|
|
9639
9675
|
] })
|
|
9640
9676
|
] })
|
|
9641
9677
|
] }),
|
|
@@ -9678,7 +9714,7 @@ const fh = (n) => {
|
|
|
9678
9714
|
let s;
|
|
9679
9715
|
e[0] !== l ? (s = /* @__PURE__ */ o("div", { children: l }), e[0] = l, e[1] = s) : s = e[1];
|
|
9680
9716
|
let r;
|
|
9681
|
-
return e[2] !== a || e[3] !== s ? (r = /* @__PURE__ */ o(
|
|
9717
|
+
return e[2] !== a || e[3] !== s ? (r = /* @__PURE__ */ o(xt, { placement: "left", text: a, children: s }), e[2] = a, e[3] = s, e[4] = r) : r = e[4], r;
|
|
9682
9718
|
}
|
|
9683
9719
|
let i;
|
|
9684
9720
|
return e[5] !== l ? (i = /* @__PURE__ */ o(be, { children: l }), e[5] = l, e[6] = i) : i = e[6], i;
|
|
@@ -9713,7 +9749,7 @@ const fh = (n) => {
|
|
|
9713
9749
|
] }) : /* @__PURE__ */ o(ph, { item: n, children: /* @__PURE__ */ o(vo, { disabled: !!a, to: `${Xt(t, {
|
|
9714
9750
|
id: (c = n.id) == null ? void 0 : c.toString()
|
|
9715
9751
|
})}?type=${n.type}&search=${l ?? ""}`, className: `text-nowrap list-group-item list-group-item-action ${(i == null ? void 0 : i.toString()) === ((u = n.id) == null ? void 0 : u.toString()) ? "active" : ""}`, children: /* @__PURE__ */ o(Z, { variant: "body2", children: n.name }) }) }, n.id);
|
|
9716
|
-
},
|
|
9752
|
+
}, u3 = (n) => {
|
|
9717
9753
|
const e = q.c(33), {
|
|
9718
9754
|
activeId: t,
|
|
9719
9755
|
anchoredForms: l,
|
|
@@ -9774,7 +9810,7 @@ const fh = (n) => {
|
|
|
9774
9810
|
I.map((R) => /* @__PURE__ */ o(yo, { item: R, fullSize: r ?? !1, appDetail: v, search: C, activeId: t, disabled: !R.userCanModify && !R.userCanSelect }, R.id)),
|
|
9775
9811
|
/* @__PURE__ */ o("hr", { className: "mb-0" })
|
|
9776
9812
|
] }) : null,
|
|
9777
|
-
$.map((R) => /* @__PURE__ */ o(
|
|
9813
|
+
$.map((R) => /* @__PURE__ */ o(ai, { title: R.name, defaultOpen: !0, children: R.items.map((F) => /* @__PURE__ */ o(yo, { item: F, fullSize: r ?? !1, appDetail: v, search: C, activeId: t, disabled: !F.userCanSelect && !F.userCanModify }, F.id)) }, R.id))
|
|
9778
9814
|
] }) }) : null, e[25] = t, e[26] = v, e[27] = I, e[28] = $, e[29] = T, e[30] = r, e[31] = C, e[32] = B) : B = e[32], B;
|
|
9779
9815
|
};
|
|
9780
9816
|
function hh(n, e) {
|
|
@@ -9792,7 +9828,7 @@ function vh(n, e) {
|
|
|
9792
9828
|
function yh(n) {
|
|
9793
9829
|
return n.items.length > 0;
|
|
9794
9830
|
}
|
|
9795
|
-
const
|
|
9831
|
+
const f3 = (n) => {
|
|
9796
9832
|
const e = q.c(7), {
|
|
9797
9833
|
label: t,
|
|
9798
9834
|
to: l,
|
|
@@ -9807,7 +9843,7 @@ const d3 = (n) => {
|
|
|
9807
9843
|
a,
|
|
9808
9844
|
s
|
|
9809
9845
|
] }), e[4] = t, e[5] = s, e[6] = r) : r = e[6], r;
|
|
9810
|
-
},
|
|
9846
|
+
}, m3 = () => {
|
|
9811
9847
|
const n = q.c(27), {
|
|
9812
9848
|
localizationContext: e
|
|
9813
9849
|
} = ne(re), {
|
|
@@ -9853,12 +9889,12 @@ const d3 = (n) => {
|
|
|
9853
9889
|
let y;
|
|
9854
9890
|
n[20] !== g || n[21] !== h ? (y = /* @__PURE__ */ o("span", { role: "button", onClick: h, className: g, children: "DE" }), n[20] = g, n[21] = h, n[22] = y) : y = n[22];
|
|
9855
9891
|
let S;
|
|
9856
|
-
return n[23] !== y || n[24] !== u || n[25] !== p ? (S = /* @__PURE__ */ o(
|
|
9892
|
+
return n[23] !== y || n[24] !== u || n[25] !== p ? (S = /* @__PURE__ */ o(_t, { children: /* @__PURE__ */ P("div", { className: "w-100 d-flex align-items-center", children: [
|
|
9857
9893
|
u,
|
|
9858
9894
|
p,
|
|
9859
9895
|
y
|
|
9860
9896
|
] }) }), n[23] = y, n[24] = u, n[25] = p, n[26] = S) : S = n[26], S;
|
|
9861
|
-
},
|
|
9897
|
+
}, p3 = (n) => {
|
|
9862
9898
|
const e = q.c(6);
|
|
9863
9899
|
let t, l;
|
|
9864
9900
|
e[0] !== n ? ({
|
|
@@ -9867,7 +9903,7 @@ const d3 = (n) => {
|
|
|
9867
9903
|
} = n, e[0] = n, e[1] = t, e[2] = l) : (t = e[1], l = e[2]);
|
|
9868
9904
|
let i;
|
|
9869
9905
|
return e[3] !== t || e[4] !== l ? (i = /* @__PURE__ */ o(Me.Group, { controlId: t, ...l }), e[3] = t, e[4] = l, e[5] = i) : i = e[5], i;
|
|
9870
|
-
},
|
|
9906
|
+
}, h3 = (n) => {
|
|
9871
9907
|
const e = q.c(11), {
|
|
9872
9908
|
employeeId: t,
|
|
9873
9909
|
alt: l,
|
|
@@ -9890,7 +9926,7 @@ const d3 = (n) => {
|
|
|
9890
9926
|
}], placeholder: i, ImgComponent: oo }) : /* @__PURE__ */ o(oo, { baseUrl: a, customToken: c.cafmToken ?? void 0, src: f, alt: l, placeholder: i, className: "rounded w-100" }) }), e[0] = l, e[1] = a, e[2] = t, e[3] = i, e[4] = u, e[5] = f, e[6] = r, e[7] = c, e[8] = d) : d = e[8];
|
|
9891
9927
|
let m;
|
|
9892
9928
|
return e[9] !== d ? (m = /* @__PURE__ */ o(be, { children: d }), e[9] = d, e[10] = m) : m = e[10], m;
|
|
9893
|
-
},
|
|
9929
|
+
}, g3 = (n) => {
|
|
9894
9930
|
const e = q.c(21), {
|
|
9895
9931
|
text: t,
|
|
9896
9932
|
setText: l,
|
|
@@ -9907,20 +9943,20 @@ const d3 = (n) => {
|
|
|
9907
9943
|
let f;
|
|
9908
9944
|
e[4] !== u || e[5] !== t ? (f = /* @__PURE__ */ o(Me.Control, { value: t, onChange: u }), e[4] = u, e[5] = t, e[6] = f) : f = e[6];
|
|
9909
9945
|
let d;
|
|
9910
|
-
e[7] !== r || e[8] !== t ? (d = t && /* @__PURE__ */ o(
|
|
9946
|
+
e[7] !== r || e[8] !== t ? (d = t && /* @__PURE__ */ o(ti, { onClick: () => r(""), variant: "link", className: "border text-muted", children: /* @__PURE__ */ o(yn, {}) }), e[7] = r, e[8] = t, e[9] = d) : d = e[9];
|
|
9911
9947
|
let m;
|
|
9912
9948
|
e[10] !== i || e[11] !== t ? (m = () => i && i(t), e[10] = i, e[11] = t, e[12] = m) : m = e[12];
|
|
9913
9949
|
let p;
|
|
9914
9950
|
e[13] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ o(tc, {}), e[13] = p) : p = e[13];
|
|
9915
9951
|
let h;
|
|
9916
|
-
e[14] !== m ? (h = /* @__PURE__ */ o(
|
|
9952
|
+
e[14] !== m ? (h = /* @__PURE__ */ o(ti, { onClick: m, variant: "link", className: "border", children: p }), e[14] = m, e[15] = h) : h = e[15];
|
|
9917
9953
|
let v;
|
|
9918
|
-
return e[16] !== c || e[17] !== f || e[18] !== d || e[19] !== h ? (v = /* @__PURE__ */ P(
|
|
9954
|
+
return e[16] !== c || e[17] !== f || e[18] !== d || e[19] !== h ? (v = /* @__PURE__ */ P(ei, { className: c, children: [
|
|
9919
9955
|
f,
|
|
9920
9956
|
d,
|
|
9921
9957
|
h
|
|
9922
9958
|
] }), e[16] = c, e[17] = f, e[18] = d, e[19] = h, e[20] = v) : v = e[20], v;
|
|
9923
|
-
},
|
|
9959
|
+
}, v3 = (n) => {
|
|
9924
9960
|
const e = q.c(7), {
|
|
9925
9961
|
value: t,
|
|
9926
9962
|
numberPrefix: l,
|
|
@@ -9931,7 +9967,7 @@ const d3 = (n) => {
|
|
|
9931
9967
|
} = n, c = a === void 0 ? 2 : a, u = s === void 0 ? !1 : s;
|
|
9932
9968
|
let f;
|
|
9933
9969
|
return e[0] !== r || e[1] !== c || e[2] !== u || e[3] !== l || e[4] !== i || e[5] !== t ? (f = /* @__PURE__ */ o(oa, { value: t, displayType: "text", thousandSeparator: " ", decimalScale: c, fixedDecimalScale: u, defaultValue: "", prefix: l, suffix: i, className: r, decimalSeparator: "," }), e[0] = r, e[1] = c, e[2] = u, e[3] = l, e[4] = i, e[5] = t, e[6] = f) : f = e[6], f;
|
|
9934
|
-
},
|
|
9970
|
+
}, y3 = (n) => {
|
|
9935
9971
|
const e = q.c(12), {
|
|
9936
9972
|
data: t,
|
|
9937
9973
|
keys: l,
|
|
@@ -10009,7 +10045,7 @@ const Sh = "_hrText_xxish_1", wh = {
|
|
|
10009
10045
|
let u;
|
|
10010
10046
|
e[4] !== c ? (u = /* @__PURE__ */ o($n, { children: c }), e[4] = c, e[5] = u) : u = e[5];
|
|
10011
10047
|
let f;
|
|
10012
|
-
return e[6] !== s.index.lastUsedReports || e[7] !== u ? (f = /* @__PURE__ */ o(be, { children: /* @__PURE__ */ o(
|
|
10048
|
+
return e[6] !== s.index.lastUsedReports || e[7] !== u ? (f = /* @__PURE__ */ o(be, { children: /* @__PURE__ */ o(ai, { defaultOpen: !0, title: s.index.lastUsedReports, children: u }) }), e[6] = s.index.lastUsedReports, e[7] = u, e[8] = f) : f = e[8], f;
|
|
10013
10049
|
}, Ch = "_cards-group_163sq_1", kh = "_group-title_163sq_1", Ih = "_group-content_163sq_8", _h = "_report-card_163sq_12", Th = "_card-title-link_163sq_22", Dh = "_disabled_163sq_28", Dn = {
|
|
10014
10050
|
cardsGroup: Ch,
|
|
10015
10051
|
groupTitle: kh,
|
|
@@ -10029,7 +10065,7 @@ const Sh = "_hrText_xxish_1", wh = {
|
|
|
10029
10065
|
e[4] !== t.name ? (s = /* @__PURE__ */ o(Z, { variant: "body2", className: "d-flex justify-content-between align-items-center gap-3", children: /* @__PURE__ */ o("div", { className: "link", children: t.name }) }), e[4] = t.name, e[5] = s) : s = e[5];
|
|
10030
10066
|
let r;
|
|
10031
10067
|
return e[6] !== a || e[7] !== s ? (r = /* @__PURE__ */ o(gl, { as: yt, to: a, className: "p-1 px-2", action: !0, children: s }), e[6] = a, e[7] = s, e[8] = r) : r = e[8], r;
|
|
10032
|
-
},
|
|
10068
|
+
}, Ql = 5, So = (n) => {
|
|
10033
10069
|
const e = q.c(25), {
|
|
10034
10070
|
versionsList: t,
|
|
10035
10071
|
getReportRoute: l,
|
|
@@ -10039,23 +10075,23 @@ const Sh = "_hrText_xxish_1", wh = {
|
|
|
10039
10075
|
} = ne(re), [s, r] = te(!0);
|
|
10040
10076
|
let c;
|
|
10041
10077
|
e: {
|
|
10042
|
-
if (t.length <=
|
|
10078
|
+
if (t.length <= Ql) {
|
|
10043
10079
|
c = t;
|
|
10044
10080
|
break e;
|
|
10045
10081
|
}
|
|
10046
10082
|
let g;
|
|
10047
|
-
e[0] !== t ? (g = t.slice(0,
|
|
10083
|
+
e[0] !== t ? (g = t.slice(0, Ql - 1), e[0] = t, e[1] = g) : g = e[1], c = g;
|
|
10048
10084
|
}
|
|
10049
10085
|
const u = c;
|
|
10050
10086
|
let f;
|
|
10051
10087
|
e: {
|
|
10052
|
-
if (t.length <=
|
|
10088
|
+
if (t.length <= Ql) {
|
|
10053
10089
|
let y;
|
|
10054
10090
|
e[2] === Symbol.for("react.memo_cache_sentinel") ? (y = [], e[2] = y) : y = e[2], f = y;
|
|
10055
10091
|
break e;
|
|
10056
10092
|
}
|
|
10057
10093
|
let g;
|
|
10058
|
-
e[3] !== t ? (g = t.slice(
|
|
10094
|
+
e[3] !== t ? (g = t.slice(Ql - 1), e[3] = t, e[4] = g) : g = e[4], f = g;
|
|
10059
10095
|
}
|
|
10060
10096
|
const d = f;
|
|
10061
10097
|
let m;
|
|
@@ -10123,9 +10159,9 @@ const Lh = (n) => {
|
|
|
10123
10159
|
let v;
|
|
10124
10160
|
e[17] !== h ? (v = /* @__PURE__ */ o(Z, { variant: "body2", className: "px-2", children: h }), e[17] = h, e[18] = v) : v = e[18];
|
|
10125
10161
|
let g;
|
|
10126
|
-
e[19] !== l || e[20] !== t || e[21] !== r ? (g = t.versions && t.versions.length > 0 ? /* @__PURE__ */ o(
|
|
10162
|
+
e[19] !== l || e[20] !== t || e[21] !== r ? (g = t.versions && t.versions.length > 0 ? /* @__PURE__ */ o(li, { ...r, children: /* @__PURE__ */ o(So, { versionsList: t.versions, getReportRoute: l, report: t }) }) : null, e[19] = l, e[20] = t, e[21] = r, e[22] = g) : g = e[22];
|
|
10127
10163
|
let y;
|
|
10128
|
-
e[23] !== l || e[24] !== t || e[25] !== r ? (y = t.versionsCustom && t.versionsCustom.length > 0 ? /* @__PURE__ */ o(
|
|
10164
|
+
e[23] !== l || e[24] !== t || e[25] !== r ? (y = t.versionsCustom && t.versionsCustom.length > 0 ? /* @__PURE__ */ o(li, { ...r, children: /* @__PURE__ */ o(So, { versionsList: t.versionsCustom, getReportRoute: l, report: t }) }) : null, e[23] = l, e[24] = t, e[25] = r, e[26] = y) : y = e[26];
|
|
10129
10165
|
let S;
|
|
10130
10166
|
e[27] !== g || e[28] !== y ? (S = /* @__PURE__ */ P(la, { className: "h-100 g-2", children: [
|
|
10131
10167
|
g,
|
|
@@ -10149,7 +10185,7 @@ const Lh = (n) => {
|
|
|
10149
10185
|
getReportDescription: f
|
|
10150
10186
|
} = n, {
|
|
10151
10187
|
isMobile: d
|
|
10152
|
-
} =
|
|
10188
|
+
} = Pl();
|
|
10153
10189
|
let m;
|
|
10154
10190
|
e[0] !== l ? (m = (y) => {
|
|
10155
10191
|
var S;
|
|
@@ -10227,11 +10263,11 @@ const Lh = (n) => {
|
|
|
10227
10263
|
function Oh(n) {
|
|
10228
10264
|
return n.id;
|
|
10229
10265
|
}
|
|
10230
|
-
const
|
|
10266
|
+
const Xl = {
|
|
10231
10267
|
reportsGet: "/reports",
|
|
10232
10268
|
reportsLastUsedGet: "/reports/last-used",
|
|
10233
10269
|
groupsGet: "/reports/groups"
|
|
10234
|
-
},
|
|
10270
|
+
}, b3 = (n) => {
|
|
10235
10271
|
const e = q.c(16), {
|
|
10236
10272
|
apiUrls: t,
|
|
10237
10273
|
getReportName: l,
|
|
@@ -10242,7 +10278,7 @@ const Ql = {
|
|
|
10242
10278
|
reportsGet: r,
|
|
10243
10279
|
reportsLastUsedGet: c,
|
|
10244
10280
|
groupsGet: u
|
|
10245
|
-
} = t === void 0 ?
|
|
10281
|
+
} = t === void 0 ? Xl : t, f = r === void 0 ? Xl.reportsGet : r, d = c === void 0 ? Xl.reportsLastUsedGet : c, m = u === void 0 ? Xl.groupsGet : u, {
|
|
10246
10282
|
texts: p
|
|
10247
10283
|
} = ne(re), {
|
|
10248
10284
|
reports: h
|
|
@@ -10261,7 +10297,7 @@ const Ql = {
|
|
|
10261
10297
|
miniDetailPopover: Ah,
|
|
10262
10298
|
sm: Bh,
|
|
10263
10299
|
lg: Rh
|
|
10264
|
-
},
|
|
10300
|
+
}, S3 = ({
|
|
10265
10301
|
children: n,
|
|
10266
10302
|
useMiniDetail: e,
|
|
10267
10303
|
miniDetailProps: t,
|
|
@@ -10306,7 +10342,7 @@ const Ql = {
|
|
|
10306
10342
|
/* @__PURE__ */ o("span", { className: "placeholder col-4" })
|
|
10307
10343
|
] })
|
|
10308
10344
|
] }) : f }), placement: l, trigger: i, popoverClassName: G(wo.miniDetailPopover, wo[m]), children: /* @__PURE__ */ o("div", { children: n }) }) : /* @__PURE__ */ o(be, { children: n }) });
|
|
10309
|
-
},
|
|
10345
|
+
}, w3 = (n) => {
|
|
10310
10346
|
const e = q.c(7), {
|
|
10311
10347
|
label: t,
|
|
10312
10348
|
value: l
|
|
@@ -10321,7 +10357,7 @@ const Ql = {
|
|
|
10321
10357
|
i,
|
|
10322
10358
|
s
|
|
10323
10359
|
] }), e[4] = i, e[5] = s, e[6] = r) : r = e[6], r;
|
|
10324
|
-
},
|
|
10360
|
+
}, x3 = (n) => {
|
|
10325
10361
|
const e = q.c(21), {
|
|
10326
10362
|
route: t,
|
|
10327
10363
|
variant: l,
|
|
@@ -10339,7 +10375,7 @@ const Ql = {
|
|
|
10339
10375
|
break e;
|
|
10340
10376
|
}
|
|
10341
10377
|
case "contextButton": {
|
|
10342
|
-
p =
|
|
10378
|
+
p = It;
|
|
10343
10379
|
break e;
|
|
10344
10380
|
}
|
|
10345
10381
|
case "iconButton": {
|
|
@@ -10366,7 +10402,7 @@ const Ql = {
|
|
|
10366
10402
|
e[13] !== a || e[14] !== g ? (y = G(g, a), e[13] = a, e[14] = g, e[15] = y) : y = e[15];
|
|
10367
10403
|
let S;
|
|
10368
10404
|
return e[16] !== h || e[17] !== m || e[18] !== v || e[19] !== y ? (S = /* @__PURE__ */ o(h, { as: "link", href: v, className: y, children: m }), e[16] = h, e[17] = m, e[18] = v, e[19] = y, e[20] = S) : S = e[20], S;
|
|
10369
|
-
},
|
|
10405
|
+
}, N3 = (n) => {
|
|
10370
10406
|
var p;
|
|
10371
10407
|
const e = q.c(17), {
|
|
10372
10408
|
id: t,
|
|
@@ -10386,23 +10422,23 @@ const Ql = {
|
|
|
10386
10422
|
e[3] !== a || e[4] !== s ? (u = (h, v) => {
|
|
10387
10423
|
const g = v === void 0 ? !1 : v;
|
|
10388
10424
|
switch (h) {
|
|
10389
|
-
case
|
|
10390
|
-
return /* @__PURE__ */ o(
|
|
10425
|
+
case Hl.Zamitnuto:
|
|
10426
|
+
return /* @__PURE__ */ o(xt, { placement: "left", text: s.stateRejected, children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(a, { icon: "cancel-simple", className: g ? "text-danger" : "bg-danger rounded-circle p-1", iconProps: {
|
|
10391
10427
|
fontSize: "14px",
|
|
10392
10428
|
color: g ? void 0 : "white"
|
|
10393
10429
|
} }) }) });
|
|
10394
|
-
case
|
|
10395
|
-
return /* @__PURE__ */ o(
|
|
10430
|
+
case Hl.Nevyrizeno:
|
|
10431
|
+
return /* @__PURE__ */ o(xt, { placement: "left", text: s.stateUnrealized, children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(a, { icon: "pending", className: g ? "text-secondary" : "bg-secondary rounded-circle p-1", iconProps: {
|
|
10396
10432
|
fontSize: "14px",
|
|
10397
10433
|
color: g ? void 0 : "white"
|
|
10398
10434
|
} }) }) });
|
|
10399
|
-
case
|
|
10400
|
-
return /* @__PURE__ */ o(
|
|
10435
|
+
case Hl.Odebrano:
|
|
10436
|
+
return /* @__PURE__ */ o(xt, { placement: "left", text: s.stateRemoved, children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(a, { icon: "cancel-simple", className: g ? "text-warning" : "bg-warning rounded-circle p-1", iconProps: {
|
|
10401
10437
|
fontSize: "14px",
|
|
10402
10438
|
color: g ? void 0 : "white"
|
|
10403
10439
|
} }) }) });
|
|
10404
|
-
case
|
|
10405
|
-
return /* @__PURE__ */ o(
|
|
10440
|
+
case Hl.Schvaleno:
|
|
10441
|
+
return /* @__PURE__ */ o(xt, { placement: "left", text: s.stateApproved, children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(a, { icon: "check-simple", className: g ? "text-success" : "bg-success rounded-circle p-1", iconProps: {
|
|
10406
10442
|
fontSize: "14px",
|
|
10407
10443
|
color: g ? void 0 : "white"
|
|
10408
10444
|
} }) }) });
|
|
@@ -10434,7 +10470,7 @@ const Ql = {
|
|
|
10434
10470
|
] }),
|
|
10435
10471
|
icon: f(v.state),
|
|
10436
10472
|
text: v.approvers && ((g = v.approvers) == null ? void 0 : g.length) > 0 ? /* @__PURE__ */ o("div", { className: "list-group", children: v.approvers.map((y) => /* @__PURE__ */ o("div", { className: "list-group-item p-1", children: /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center gap-2", children: [
|
|
10437
|
-
y.automaticApproval ? /* @__PURE__ */ o(
|
|
10473
|
+
y.automaticApproval ? /* @__PURE__ */ o(xt, { placement: "left", text: s.autoApproved, children: /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o("div", { className: "text-success", style: {
|
|
10438
10474
|
fontSize: "14px"
|
|
10439
10475
|
}, children: "A" }) }) }) : f(y.state, !0),
|
|
10440
10476
|
/* @__PURE__ */ P("div", { className: "text-end", children: [
|
|
@@ -10462,7 +10498,7 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10462
10498
|
left: Vh,
|
|
10463
10499
|
right: Gh,
|
|
10464
10500
|
active: Wh
|
|
10465
|
-
},
|
|
10501
|
+
}, C3 = (n) => {
|
|
10466
10502
|
const e = q.c(21), {
|
|
10467
10503
|
isLeftStateActive: t,
|
|
10468
10504
|
toggleState: l,
|
|
@@ -10503,7 +10539,7 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10503
10539
|
f,
|
|
10504
10540
|
v
|
|
10505
10541
|
] }), e[17] = v, e[18] = f, e[19] = l, e[20] = g) : g = e[20], g;
|
|
10506
|
-
},
|
|
10542
|
+
}, k3 = (n) => {
|
|
10507
10543
|
const e = q.c(30), {
|
|
10508
10544
|
showArchived: t,
|
|
10509
10545
|
BnfTableComponent: l,
|
|
@@ -10641,14 +10677,14 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10641
10677
|
onSubmit: v,
|
|
10642
10678
|
formMethods: h
|
|
10643
10679
|
};
|
|
10644
|
-
},
|
|
10680
|
+
}, I3 = (n) => {
|
|
10645
10681
|
var $e;
|
|
10646
10682
|
const e = q.c(114), {
|
|
10647
10683
|
indexRoute: t,
|
|
10648
10684
|
zastupModifyPermission: l
|
|
10649
10685
|
} = n, i = l === void 0 ? "ZASTUP_MODIFY" : l, {
|
|
10650
10686
|
id: a
|
|
10651
|
-
} =
|
|
10687
|
+
} = Al(), {
|
|
10652
10688
|
user: s
|
|
10653
10689
|
} = ne(bn), r = Qe(), c = vl(), {
|
|
10654
10690
|
confirm: u
|
|
@@ -10728,7 +10764,7 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10728
10764
|
let V;
|
|
10729
10765
|
e[37] !== _ ? (V = () => _(), e[37] = _, e[38] = V) : V = e[38];
|
|
10730
10766
|
let W;
|
|
10731
|
-
e[39] !== V || e[40] !== m.delete ? (W = /* @__PURE__ */ o(wn, { toggle: U, children: /* @__PURE__ */ o(
|
|
10767
|
+
e[39] !== V || e[40] !== m.delete ? (W = /* @__PURE__ */ o(wn, { toggle: U, children: /* @__PURE__ */ o(_t, { onClick: V, children: m.delete }) }), e[39] = V, e[40] = m.delete, e[41] = W) : W = e[41];
|
|
10732
10768
|
let Y;
|
|
10733
10769
|
e[42] !== H || e[43] !== W ? (Y = /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
10734
10770
|
H,
|
|
@@ -10751,7 +10787,7 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10751
10787
|
let ee;
|
|
10752
10788
|
e[61] !== m.to ? (ee = /* @__PURE__ */ o(Mt, { formField: "to", label: m.to, type: "date", required: !0 }), e[61] = m.to, e[62] = ee) : ee = e[62];
|
|
10753
10789
|
let ie;
|
|
10754
|
-
e[63] !== ye || e[64] !== de || e[65] !== le || e[66] !== ee || e[67] !== m.title ? (ie = /* @__PURE__ */ o(
|
|
10790
|
+
e[63] !== ye || e[64] !== de || e[65] !== le || e[66] !== ee || e[67] !== m.title ? (ie = /* @__PURE__ */ o(li, { sm: 12, md: 4, children: /* @__PURE__ */ P(Jt, { title: J, children: [
|
|
10755
10791
|
ye,
|
|
10756
10792
|
de,
|
|
10757
10793
|
le,
|
|
@@ -10786,7 +10822,7 @@ const jh = "_state-switch_uc6su_1", zh = "_switch-button_uc6su_7", Uh = "_bg-lay
|
|
|
10786
10822
|
let Ne;
|
|
10787
10823
|
e[87] !== me ? (Ne = /* @__PURE__ */ o("div", { className: "overflow-auto", style: he, children: me }), e[87] = me, e[88] = Ne) : Ne = e[88];
|
|
10788
10824
|
let pe;
|
|
10789
|
-
e[89] !== fe || e[90] !== se || e[91] !== Ne ? (pe = /* @__PURE__ */ o(
|
|
10825
|
+
e[89] !== fe || e[90] !== se || e[91] !== Ne ? (pe = /* @__PURE__ */ o(li, { sm: 12, md: 4, children: /* @__PURE__ */ P(Jt, { title: fe, className: "h-max-100", contentClassName: "d-flex flex-column overflow-hidden", children: [
|
|
10790
10826
|
se,
|
|
10791
10827
|
Ne
|
|
10792
10828
|
] }) }), e[89] = fe, e[90] = se, e[91] = Ne, e[92] = pe) : pe = e[92];
|
|
@@ -11036,7 +11072,7 @@ const t2 = (n, e = "/approval/delegation/runningProcess", t = "/approval/delegat
|
|
|
11036
11072
|
let R;
|
|
11037
11073
|
e[31] !== B ? (R = /* @__PURE__ */ o(we.Title, { className: "w-100", children: B }), e[31] = B, e[32] = R) : R = e[32];
|
|
11038
11074
|
let F;
|
|
11039
|
-
e[33] !== f || e[34] !== (t == null ? void 0 : t.id) || e[35] !== E || e[36] !== m.delegations.delete ? (F = t != null && t.id ? /* @__PURE__ */ o(wn, { toggle: /* @__PURE__ */ o(Sn, { as: En }), className: "modalHeaderDropdown", children: /* @__PURE__ */ o(
|
|
11075
|
+
e[33] !== f || e[34] !== (t == null ? void 0 : t.id) || e[35] !== E || e[36] !== m.delegations.delete ? (F = t != null && t.id ? /* @__PURE__ */ o(wn, { toggle: /* @__PURE__ */ o(Sn, { as: En }), className: "modalHeaderDropdown", children: /* @__PURE__ */ o(_t, { color: "danger", icon: /* @__PURE__ */ o(f, { icon: "delete" }), onClick: E, children: m.delegations.delete }) }) : null, e[33] = f, e[34] = t == null ? void 0 : t.id, e[35] = E, e[36] = m.delegations.delete, e[37] = F) : F = e[37];
|
|
11040
11076
|
let j;
|
|
11041
11077
|
e[38] !== R || e[39] !== F ? (j = /* @__PURE__ */ P(we.Header, { closeButton: !0, children: [
|
|
11042
11078
|
R,
|
|
@@ -11095,7 +11131,7 @@ const t2 = (n, e = "/approval/delegation/runningProcess", t = "/approval/delegat
|
|
|
11095
11131
|
apiPostEditDelegation: "/approval/delegation",
|
|
11096
11132
|
apiDeleteDelegation: (n) => `/approval/delegation/${n}`,
|
|
11097
11133
|
apiApprovalDefinitions: "/approval/definition"
|
|
11098
|
-
},
|
|
11134
|
+
}, _3 = (n) => {
|
|
11099
11135
|
const e = q.c(38), {
|
|
11100
11136
|
apiUrls: t,
|
|
11101
11137
|
BnfTableComponent: l,
|
|
@@ -11130,14 +11166,14 @@ const t2 = (n, e = "/approval/delegation/runningProcess", t = "/approval/delegat
|
|
|
11130
11166
|
includeExisting: null
|
|
11131
11167
|
}), e[3] = L) : L = e[3];
|
|
11132
11168
|
let T;
|
|
11133
|
-
e[4] !== y.delegations.createDelegation ? (T = /* @__PURE__ */ o(
|
|
11169
|
+
e[4] !== y.delegations.createDelegation ? (T = /* @__PURE__ */ o(_t, { onClick: L, children: y.delegations.createDelegation }), e[4] = y.delegations.createDelegation, e[5] = T) : T = e[5];
|
|
11134
11170
|
let _;
|
|
11135
11171
|
e[6] === Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ o(Yi, {}), e[6] = _) : _ = e[6];
|
|
11136
11172
|
let $;
|
|
11137
11173
|
e[7] !== x || e[8] !== S ? ($ = () => x(!S), e[7] = x, e[8] = S, e[9] = $) : $ = e[9];
|
|
11138
11174
|
const O = S ? y.delegations.hideArchived : y.delegations.showArchived;
|
|
11139
11175
|
let E;
|
|
11140
|
-
e[10] !== $ || e[11] !== O ? (E = /* @__PURE__ */ o(
|
|
11176
|
+
e[10] !== $ || e[11] !== O ? (E = /* @__PURE__ */ o(_t, { onClick: $, children: O }), e[10] = $, e[11] = O, e[12] = E) : E = e[12];
|
|
11141
11177
|
let D;
|
|
11142
11178
|
e[13] !== T || e[14] !== E ? (D = /* @__PURE__ */ P(wn, { toggle: I, children: [
|
|
11143
11179
|
T,
|
|
@@ -11410,7 +11446,7 @@ const Sl = {
|
|
|
11410
11446
|
}, _i = {
|
|
11411
11447
|
appApprovalsDelegations: "/approvals/delegations",
|
|
11412
11448
|
appEmployeeDetail: (n) => `/employees/${n}`
|
|
11413
|
-
},
|
|
11449
|
+
}, T3 = (n) => {
|
|
11414
11450
|
const e = q.c(43), {
|
|
11415
11451
|
appUrls: t,
|
|
11416
11452
|
apiUrls: l,
|
|
@@ -11452,7 +11488,7 @@ const Sl = {
|
|
|
11452
11488
|
let D;
|
|
11453
11489
|
e[12] !== y ? (D = /* @__PURE__ */ o(y, { icon: "link" }), e[12] = y, e[13] = D) : D = e[13];
|
|
11454
11490
|
let A;
|
|
11455
|
-
e[14] !== r || e[15] !== D || e[16] !== x.definitions.delegationsDefinitions ? (A = /* @__PURE__ */ o(
|
|
11491
|
+
e[14] !== r || e[15] !== D || e[16] !== x.definitions.delegationsDefinitions ? (A = /* @__PURE__ */ o(It, { as: "link", href: r, icon: D, children: x.definitions.delegationsDefinitions }), e[14] = r, e[15] = D, e[16] = x.definitions.delegationsDefinitions, e[17] = A) : A = e[17];
|
|
11456
11492
|
let B;
|
|
11457
11493
|
e[18] !== E || e[19] !== A ? (B = /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
11458
11494
|
E,
|
|
@@ -11485,7 +11521,7 @@ const Sl = {
|
|
|
11485
11521
|
function c2(n, e) {
|
|
11486
11522
|
return (n.name ?? "").localeCompare(e.name ?? "");
|
|
11487
11523
|
}
|
|
11488
|
-
const
|
|
11524
|
+
const D3 = ({
|
|
11489
11525
|
overviewApiPath: n = (e) => `/notification/email/overview?date=${e}`
|
|
11490
11526
|
}) => {
|
|
11491
11527
|
const {
|
|
@@ -11551,11 +11587,11 @@ const _3 = ({
|
|
|
11551
11587
|
animateBounceDelay: v2,
|
|
11552
11588
|
animateBounceDelay200: y2,
|
|
11553
11589
|
animateBounceDelay400: b2
|
|
11554
|
-
},
|
|
11590
|
+
}, Jl = {
|
|
11555
11591
|
getHistory: "/documentation/history",
|
|
11556
11592
|
deleteHistory: "/documentation/history",
|
|
11557
11593
|
postQuestion: "/documentation/aiPrompt"
|
|
11558
|
-
},
|
|
11594
|
+
}, $3 = (n) => {
|
|
11559
11595
|
const e = q.c(84), {
|
|
11560
11596
|
isOpen: t,
|
|
11561
11597
|
setIsOpen: l,
|
|
@@ -11566,7 +11602,7 @@ const _3 = ({
|
|
|
11566
11602
|
getHistory: r,
|
|
11567
11603
|
deleteHistory: c,
|
|
11568
11604
|
postQuestion: u
|
|
11569
|
-
} = s === void 0 ?
|
|
11605
|
+
} = s === void 0 ? Jl : s, f = r === void 0 ? Jl.getHistory : r, d = c === void 0 ? Jl.deleteHistory : c, m = u === void 0 ? Jl.postQuestion : u, p = Qe(), {
|
|
11570
11606
|
ProjectIconComponent: h,
|
|
11571
11607
|
texts: v
|
|
11572
11608
|
} = ne(re), {
|
|
@@ -11650,9 +11686,9 @@ const _3 = ({
|
|
|
11650
11686
|
let W;
|
|
11651
11687
|
e[32] !== h ? (W = /* @__PURE__ */ o(h, { icon: "link" }), e[32] = h, e[33] = W) : W = e[33];
|
|
11652
11688
|
let Y;
|
|
11653
|
-
e[34] !== a || e[35] !== W ? (Y = /* @__PURE__ */ o(
|
|
11689
|
+
e[34] !== a || e[35] !== W ? (Y = /* @__PURE__ */ o(It, { className: "me-3 text-nowrap", as: "link", href: a, target: "__blank", children: W }), e[34] = a, e[35] = W, e[36] = Y) : Y = e[36];
|
|
11654
11690
|
let K;
|
|
11655
|
-
e[37] !== Y || e[38] !== g.docs ? (K = /* @__PURE__ */ o(
|
|
11691
|
+
e[37] !== Y || e[38] !== g.docs ? (K = /* @__PURE__ */ o(xt, { placement: "bottom", text: g.docs, children: Y }), e[37] = Y, e[38] = g.docs, e[39] = K) : K = e[39];
|
|
11656
11692
|
let J;
|
|
11657
11693
|
e[40] !== U || e[41] !== V || e[42] !== K ? (J = /* @__PURE__ */ P(cl.Header, { closeButton: !0, children: [
|
|
11658
11694
|
U,
|
|
@@ -11756,7 +11792,7 @@ function w2(n, e) {
|
|
|
11756
11792
|
return n.dateTime.getTime() - e.dateTime.getTime();
|
|
11757
11793
|
}
|
|
11758
11794
|
function x2(n, e) {
|
|
11759
|
-
return /* @__PURE__ */ o(yt, { to: n.path, children: /* @__PURE__ */ P(
|
|
11795
|
+
return /* @__PURE__ */ o(yt, { to: n.path, children: /* @__PURE__ */ P(ti, { variant: "light", size: "sm", className: "w-100 d-flex justify-content-between align-items-center gap-1", children: [
|
|
11760
11796
|
n.name,
|
|
11761
11797
|
/* @__PURE__ */ o(rc, {})
|
|
11762
11798
|
] }) }, e);
|
|
@@ -11865,7 +11901,7 @@ const I2 = () => {
|
|
|
11865
11901
|
e[15] !== $ ? (O = /* @__PURE__ */ o(we.Header, { closeButton: !0, children: /* @__PURE__ */ o(we.Title, { children: $ }) }), e[15] = $, e[16] = O) : O = e[16];
|
|
11866
11902
|
let E;
|
|
11867
11903
|
e[17] !== C || e[18] !== h || e[19] !== m || e[20] !== i || e[21] !== c.taskSearch.noTasksToFilter || e[22] !== c.taskSearch.searchButton || e[23] !== c.taskSearch.searchText || e[24] !== c.taskSearch.selectedTask ? (E = i.length < 1 ? /* @__PURE__ */ o(ot, { variant: "danger", size: "sm", children: c.taskSearch.noTasksToFilter }) : /* @__PURE__ */ P("div", { children: [
|
|
11868
|
-
/* @__PURE__ */ o(
|
|
11904
|
+
/* @__PURE__ */ o(Nt, { InputContainer: Oe, label: c.taskSearch.selectedTask, options: i, value: m, onChange: (R) => {
|
|
11869
11905
|
p((R == null ? void 0 : R.toString()) ?? ""), y(!1);
|
|
11870
11906
|
} }),
|
|
11871
11907
|
/* @__PURE__ */ o(nt, { InputContainer: Oe, type: "text", label: c.taskSearch.searchText, value: h, size: "sm", onChange: (R) => {
|
|
@@ -12045,7 +12081,7 @@ const L2 = (n) => {
|
|
|
12045
12081
|
}), e[1] = n.tasks, e[2] = i) : i = e[2], t = i;
|
|
12046
12082
|
}
|
|
12047
12083
|
return t;
|
|
12048
|
-
},
|
|
12084
|
+
}, L3 = (n) => {
|
|
12049
12085
|
var le;
|
|
12050
12086
|
const e = q.c(67), {
|
|
12051
12087
|
gdprAppRoute: t,
|
|
@@ -12119,7 +12155,7 @@ const L2 = (n) => {
|
|
|
12119
12155
|
let H;
|
|
12120
12156
|
e[27] !== d ? (H = d.map(A2), e[27] = d, e[28] = H) : H = e[28];
|
|
12121
12157
|
let U;
|
|
12122
|
-
e[29] !== r || e[30] !== L || e[31] !== H || e[32] !== s.scenario ? (U = /* @__PURE__ */ o("div", { style: z, children: /* @__PURE__ */ o(
|
|
12158
|
+
e[29] !== r || e[30] !== L || e[31] !== H || e[32] !== s.scenario ? (U = /* @__PURE__ */ o("div", { style: z, children: /* @__PURE__ */ o(Nt, { InputContainer: Tt, label: M, options: H, value: r, onChange: L, size: "sm", noEmptyOption: !0, dropdownWidth: 140 }) }), e[29] = r, e[30] = L, e[31] = H, e[32] = s.scenario, e[33] = U) : U = e[33];
|
|
12123
12159
|
let V;
|
|
12124
12160
|
e[34] !== p ? (V = p ? /* @__PURE__ */ o(Ap, { defaultYear: new Date(Date.now()), searchKey: "gdprTasksDate", optionMax: +Ot(/* @__PURE__ */ new Date(), "yyyy") }) : null, e[34] = p, e[35] = V) : V = e[35];
|
|
12125
12161
|
let W;
|
|
@@ -12139,7 +12175,7 @@ const L2 = (n) => {
|
|
|
12139
12175
|
e[49] !== a ? (X = /* @__PURE__ */ o(a, { icon: "search" }), e[49] = a, e[50] = X) : X = e[50];
|
|
12140
12176
|
const Q = F.length < 1;
|
|
12141
12177
|
let oe;
|
|
12142
|
-
e[51] !== X || e[52] !== Q || e[53] !== s.searchTask ? (oe = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(
|
|
12178
|
+
e[51] !== X || e[52] !== Q || e[53] !== s.searchTask ? (oe = /* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(It, { type: "button", onClick: J, icon: X, disabled: Q, children: s.searchTask }) }), e[51] = X, e[52] = Q, e[53] = s.searchTask, e[54] = oe) : oe = e[54];
|
|
12143
12179
|
let ce;
|
|
12144
12180
|
e[55] !== K || e[56] !== oe ? (ce = /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
12145
12181
|
K,
|
|
@@ -12290,7 +12326,7 @@ function F2(n) {
|
|
|
12290
12326
|
errors: (e = n.setBatchTasks) == null ? void 0 : e.filter(M2).length
|
|
12291
12327
|
};
|
|
12292
12328
|
}
|
|
12293
|
-
const
|
|
12329
|
+
const P3 = (n) => {
|
|
12294
12330
|
const e = q.c(23), {
|
|
12295
12331
|
createRoute: t,
|
|
12296
12332
|
detailRoute: l,
|
|
@@ -12311,7 +12347,7 @@ const $3 = (n) => {
|
|
|
12311
12347
|
let m;
|
|
12312
12348
|
e[4] !== t ? (m = Xt(t), e[4] = t, e[5] = m) : m = e[5];
|
|
12313
12349
|
let p;
|
|
12314
|
-
e[6] !== c.addBatchSet || e[7] !== d || e[8] !== m ? (p = /* @__PURE__ */ o(
|
|
12350
|
+
e[6] !== c.addBatchSet || e[7] !== d || e[8] !== m ? (p = /* @__PURE__ */ o(El, { children: /* @__PURE__ */ o(Qt, { hideOn: "sm", cKey: "new", icon: d, to: m, children: c.addBatchSet }) }), e[6] = c.addBatchSet, e[7] = d, e[8] = m, e[9] = p) : p = e[9];
|
|
12315
12351
|
let h;
|
|
12316
12352
|
e[10] !== f || e[11] !== p ? (h = /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
12317
12353
|
f,
|
|
@@ -12489,7 +12525,7 @@ const U2 = ({
|
|
|
12489
12525
|
}) => {
|
|
12490
12526
|
const {
|
|
12491
12527
|
id: r
|
|
12492
|
-
} =
|
|
12528
|
+
} = Al(), c = Qe(), {
|
|
12493
12529
|
startLoading: u,
|
|
12494
12530
|
stopLoading: f
|
|
12495
12531
|
} = ne(st), {
|
|
@@ -12680,7 +12716,7 @@ const U2 = ({
|
|
|
12680
12716
|
apiBatchTaskSwapUrl: c
|
|
12681
12717
|
} = n, {
|
|
12682
12718
|
id: u
|
|
12683
|
-
} =
|
|
12719
|
+
} = Al(), f = Qe(), {
|
|
12684
12720
|
startLoading: d,
|
|
12685
12721
|
stopLoading: m
|
|
12686
12722
|
} = ne(st), {
|
|
@@ -12717,7 +12753,7 @@ const U2 = ({
|
|
|
12717
12753
|
let E;
|
|
12718
12754
|
e[18] !== h ? (E = /* @__PURE__ */ o(h, { icon: "edit" }), e[18] = h, e[19] = E) : E = e[19];
|
|
12719
12755
|
let D;
|
|
12720
|
-
e[20] !== v.editTasksList || e[21] !== E ? (D = /* @__PURE__ */ o(
|
|
12756
|
+
e[20] !== v.editTasksList || e[21] !== E ? (D = /* @__PURE__ */ o(It, { onClick: O, icon: E, children: v.editTasksList }), e[20] = v.editTasksList, e[21] = E, e[22] = D) : D = e[22];
|
|
12721
12757
|
let A;
|
|
12722
12758
|
e[23] !== h || e[24] !== v.noTasks || e[25] !== C || e[26] !== $ ? (A = /* @__PURE__ */ o($n, { children: C.length > 0 ? /* @__PURE__ */ o(be, { children: C.sort(K2).map((U) => /* @__PURE__ */ P(gl, { className: "d-flex justify-content-between", onClick: () => {
|
|
12723
12759
|
b(U), y(!0);
|
|
@@ -12779,7 +12815,7 @@ const qt = {
|
|
|
12779
12815
|
apiGetBatchTasksUrl: "batchTask",
|
|
12780
12816
|
apiBatchTaskPost: "/batchTask/set/update-task",
|
|
12781
12817
|
apiBatchTaskSwapUrl: (n, e, t) => `/batchTask/set/${n}/swap-tasks?batchTaskId1=${e}&batchTaskId2=${t}`
|
|
12782
|
-
},
|
|
12818
|
+
}, E3 = (n) => {
|
|
12783
12819
|
const e = q.c(64), {
|
|
12784
12820
|
settingsRoute: t,
|
|
12785
12821
|
batchSetDetailRoute: l,
|
|
@@ -12796,7 +12832,7 @@ const qt = {
|
|
|
12796
12832
|
apiBatchTaskSwapUrl: p
|
|
12797
12833
|
} = i === void 0 ? qt : i, h = a === void 0 ? qt.apiRunBatchSet : a, v = s === void 0 ? qt.apiDeleteBatchSet : s, g = r === void 0 ? qt.apiGetBatchSet : r, y = c === void 0 ? qt.apiPostBatchTask : c, S = u === void 0 ? qt.apiBatchTaskAddUrl : u, x = f === void 0 ? qt.apiBatchTaskDeleteUrl : f, w = d === void 0 ? qt.apiGetBatchTasksUrl : d, b = m === void 0 ? qt.apiBatchTaskPost : m, N = p === void 0 ? qt.apiBatchTaskSwapUrl : p, {
|
|
12798
12834
|
id: C
|
|
12799
|
-
} =
|
|
12835
|
+
} = Al(), {
|
|
12800
12836
|
confirm: k
|
|
12801
12837
|
} = Zt(), I = Qe(), L = vl(), {
|
|
12802
12838
|
startLoading: T,
|
|
@@ -12842,7 +12878,7 @@ const qt = {
|
|
|
12842
12878
|
let oe;
|
|
12843
12879
|
e[35] !== E.delete || e[36] !== V || e[37] !== Q ? (oe = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "delete", onClick: V, color: "danger", icon: Q, children: E.delete }), e[35] = E.delete, e[36] = V, e[37] = Q, e[38] = oe) : oe = e[38];
|
|
12844
12880
|
let ce;
|
|
12845
|
-
e[39] !== J || e[40] !== oe ? (ce = /* @__PURE__ */ P(
|
|
12881
|
+
e[39] !== J || e[40] !== oe ? (ce = /* @__PURE__ */ P(El, { children: [
|
|
12846
12882
|
J,
|
|
12847
12883
|
X,
|
|
12848
12884
|
oe
|
|
@@ -12868,7 +12904,7 @@ const qt = {
|
|
|
12868
12904
|
return e[61] !== ye || e[62] !== ee ? (ie = /* @__PURE__ */ o(Ht, { title: ye, children: ee }), e[61] = ye, e[62] = ee, e[63] = ie) : ie = e[63], ie;
|
|
12869
12905
|
}, q2 = {
|
|
12870
12906
|
apiPostBatchTask: (n) => `/batchTask/set/${n !== 0 ? "update" : "create"}`
|
|
12871
|
-
},
|
|
12907
|
+
}, O3 = (n) => {
|
|
12872
12908
|
const e = q.c(8), {
|
|
12873
12909
|
batchSetDetailRoute: t,
|
|
12874
12910
|
apiPostBatchTask: l
|
|
@@ -12955,7 +12991,7 @@ const J2 = (n) => {
|
|
|
12955
12991
|
}, onSelect: (O) => d({
|
|
12956
12992
|
id: Number(O == null ? void 0 : O.id) ?? null,
|
|
12957
12993
|
name: (O == null ? void 0 : O.name) ?? ""
|
|
12958
|
-
}) }) : /* @__PURE__ */ o(
|
|
12994
|
+
}) }) : /* @__PURE__ */ o(Nt, { InputContainer: Oe, label: u.role, options: i.map(Z2), value: m, onChange: (O) => p((O == null ? void 0 : O.toString()) ?? "") }), e[17] = s, e[18] = f == null ? void 0 : f.id, e[19] = f == null ? void 0 : f.name, e[20] = u.employee, e[21] = u.role, e[22] = m, e[23] = i, e[24] = h, e[25] = I) : I = e[25];
|
|
12959
12995
|
let L;
|
|
12960
12996
|
e[26] !== I || e[27] !== k ? (L = /* @__PURE__ */ P(we.Body, { children: [
|
|
12961
12997
|
k,
|
|
@@ -13134,7 +13170,7 @@ const lg = (n) => {
|
|
|
13134
13170
|
/* @__PURE__ */ o("div", { className: "col-auto", children: /* @__PURE__ */ o(et, { color: "secondary", variant: "outlined", size: "sm", onClick: H, children: v.templatePreview }) })
|
|
13135
13171
|
] }) : /* @__PURE__ */ P("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
13136
13172
|
/* @__PURE__ */ P("div", { className: "d-flex gap-3 w-75", children: [
|
|
13137
|
-
/* @__PURE__ */ o("div", { className: "w-75", children: /* @__PURE__ */ o(
|
|
13173
|
+
/* @__PURE__ */ o("div", { className: "w-75", children: /* @__PURE__ */ o(Nt, { label: v.entity, size: "sm", options: c, value: (y == null ? void 0 : y.id) ?? "", onChange: (K) => S(c.find((J) => J.id === K) ?? null) }) }),
|
|
13138
13174
|
/* @__PURE__ */ o(nt, { size: "sm", type: "text", label: "ID", value: x, onChange: (K) => w((K == null ? void 0 : K.toString()) ?? null) })
|
|
13139
13175
|
] }),
|
|
13140
13176
|
/* @__PURE__ */ o("div", { children: /* @__PURE__ */ o(et, { color: "secondary", variant: "outlined", size: "sm", onClick: H, disabled: !x || !y, children: v.templatePreview }) })
|
|
@@ -13392,7 +13428,7 @@ const lg = (n) => {
|
|
|
13392
13428
|
apiPostShowPreviewUrl: "notification/template/preview",
|
|
13393
13429
|
apiGetEntitiesUrl: "/notification/entities",
|
|
13394
13430
|
apiGetStylesUrl: "notification/styles"
|
|
13395
|
-
},
|
|
13431
|
+
}, A3 = (n) => {
|
|
13396
13432
|
var ca, da, ua, fa;
|
|
13397
13433
|
const e = q.c(203), {
|
|
13398
13434
|
kinds: t,
|
|
@@ -13494,9 +13530,9 @@ const lg = (n) => {
|
|
|
13494
13530
|
We(ge, He).then((Gt) => {
|
|
13495
13531
|
he(se ? [...se.map((on) => on.id !== pe ? on : {
|
|
13496
13532
|
...on,
|
|
13497
|
-
templates: [...on.templates.map((
|
|
13498
|
-
...
|
|
13499
|
-
targets: [...
|
|
13533
|
+
templates: [...on.templates.map((Ul) => Ul.id !== j ? Ul : {
|
|
13534
|
+
...Ul,
|
|
13535
|
+
targets: [...Ul.targets, Gt]
|
|
13500
13536
|
})]
|
|
13501
13537
|
})] : []);
|
|
13502
13538
|
}).catch(og);
|
|
@@ -13506,19 +13542,19 @@ const lg = (n) => {
|
|
|
13506
13542
|
e[36] !== C || e[37] !== O || e[38] !== E || e[39] !== D ? (qe = async (ge) => {
|
|
13507
13543
|
E("not-action-template-edit"), await O.put(C, ge).finally(() => D("not-action-template-edit"));
|
|
13508
13544
|
}, e[36] = C, e[37] = O, e[38] = E, e[39] = D, e[40] = qe) : qe = e[40];
|
|
13509
|
-
const
|
|
13545
|
+
const Ct = qe;
|
|
13510
13546
|
let rt;
|
|
13511
|
-
e[41] !==
|
|
13512
|
-
oe && await
|
|
13547
|
+
e[41] !== Ct || e[42] !== me || e[43] !== oe ? (rt = async (ge) => {
|
|
13548
|
+
oe && await Ct(ge).then(async () => {
|
|
13513
13549
|
me();
|
|
13514
13550
|
}).catch(sg);
|
|
13515
|
-
}, e[41] =
|
|
13551
|
+
}, e[41] = Ct, e[42] = me, e[43] = oe, e[44] = rt) : rt = e[44];
|
|
13516
13552
|
const At = rt;
|
|
13517
|
-
let
|
|
13518
|
-
e[45] !== L || e[46] !== O || e[47] !== E || e[48] !== D ? (
|
|
13553
|
+
let kt;
|
|
13554
|
+
e[45] !== L || e[46] !== O || e[47] !== E || e[48] !== D ? (kt = async (ge) => {
|
|
13519
13555
|
E("not-template-delete"), await O.delete(L(ge)).finally(() => D("not-template-delete"));
|
|
13520
|
-
}, e[45] = L, e[46] = O, e[47] = E, e[48] = D, e[49] =
|
|
13521
|
-
const Dt =
|
|
13556
|
+
}, e[45] = L, e[46] = O, e[47] = E, e[48] = D, e[49] = kt) : kt = e[49];
|
|
13557
|
+
const Dt = kt;
|
|
13522
13558
|
let ct;
|
|
13523
13559
|
e[50] !== F || e[51] !== R.confirmTemplateDelete || e[52] !== Dt || e[53] !== me || e[54] !== oe ? (ct = async (ge) => {
|
|
13524
13560
|
oe && await F(R.confirmTemplateDelete) && await Dt(ge).then(async () => {
|
|
@@ -13577,40 +13613,40 @@ const lg = (n) => {
|
|
|
13577
13613
|
let Kt;
|
|
13578
13614
|
e[85] !== ce ? (Kt = (ge) => ce(Number(ge)), e[85] = ce, e[86] = Kt) : Kt = e[86];
|
|
13579
13615
|
let xn;
|
|
13580
|
-
e[87] !== R.kind || e[88] !== Ae || e[89] !== Bt || e[90] !== Kt ? (xn = /* @__PURE__ */ o("div", { className: "col-2", children: /* @__PURE__ */ o(
|
|
13616
|
+
e[87] !== R.kind || e[88] !== Ae || e[89] !== Bt || e[90] !== Kt ? (xn = /* @__PURE__ */ o("div", { className: "col-2", children: /* @__PURE__ */ o(Nt, { label: R.kind, size: "sm", noEmptyOption: !0, options: Ae, value: Bt, onChange: Kt, dropdownWidth: 200 }) }), e[87] = R.kind, e[88] = Ae, e[89] = Bt, e[90] = Kt, e[91] = xn) : xn = e[91];
|
|
13581
13617
|
let mt;
|
|
13582
13618
|
e[92] !== se ? (mt = (se == null ? void 0 : se.map(dg)) ?? [], e[92] = se, e[93] = mt) : mt = e[93];
|
|
13583
13619
|
const Vt = pe ?? null;
|
|
13584
13620
|
let Ft;
|
|
13585
13621
|
e[94] !== Te ? (Ft = (ge) => Te(Number(ge)), e[94] = Te, e[95] = Ft) : Ft = e[95];
|
|
13586
13622
|
let fn;
|
|
13587
|
-
e[96] !== R.subkind || e[97] !== mt || e[98] !== Vt || e[99] !== Ft ? (fn = /* @__PURE__ */ o("div", { className: "col-3", children: /* @__PURE__ */ o(
|
|
13623
|
+
e[96] !== R.subkind || e[97] !== mt || e[98] !== Vt || e[99] !== Ft ? (fn = /* @__PURE__ */ o("div", { className: "col-3", children: /* @__PURE__ */ o(Nt, { label: R.subkind, size: "sm", noEmptyOption: !0, options: mt, value: Vt, onChange: Ft, dropdownWidth: 250 }) }), e[96] = R.subkind, e[97] = mt, e[98] = Vt, e[99] = Ft, e[100] = fn) : fn = e[100];
|
|
13588
13624
|
let Mn;
|
|
13589
13625
|
e[101] !== xn || e[102] !== fn ? (Mn = /* @__PURE__ */ P("div", { className: "row w-100", children: [
|
|
13590
13626
|
xn,
|
|
13591
13627
|
fn
|
|
13592
13628
|
] }), e[101] = xn, e[102] = fn, e[103] = Mn) : Mn = e[103];
|
|
13593
|
-
let
|
|
13594
|
-
e[104] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
13629
|
+
let Rl;
|
|
13630
|
+
e[104] === Symbol.for("react.memo_cache_sentinel") ? (Rl = () => Y(!0), e[104] = Rl) : Rl = e[104];
|
|
13595
13631
|
const fi = oe === null;
|
|
13596
13632
|
let Fn;
|
|
13597
|
-
e[105] !== R.addNotifAction || e[106] !== fi ? (Fn = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "notif-action-add", onClick:
|
|
13598
|
-
let
|
|
13599
|
-
e[108] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
13633
|
+
e[105] !== R.addNotifAction || e[106] !== fi ? (Fn = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "notif-action-add", onClick: Rl, disabled: fi, children: R.addNotifAction }), e[105] = R.addNotifAction, e[106] = fi, e[107] = Fn) : Fn = e[107];
|
|
13634
|
+
let Ml;
|
|
13635
|
+
e[108] === Symbol.for("react.memo_cache_sentinel") ? (Ml = () => J(!0), e[108] = Ml) : Ml = e[108];
|
|
13600
13636
|
let jn;
|
|
13601
13637
|
e[109] !== se || e[110] !== pe ? (jn = pe === null || (se == null ? void 0 : se.find((ge) => ge.id === pe)) === void 0, e[109] = se, e[110] = pe, e[111] = jn) : jn = e[111];
|
|
13602
13638
|
let zn;
|
|
13603
13639
|
e[112] !== B ? (zn = /* @__PURE__ */ o(B, { icon: "add" }), e[112] = B, e[113] = zn) : zn = e[113];
|
|
13604
13640
|
let Un;
|
|
13605
|
-
e[114] !== R.addNotifActionTemplate || e[115] !== jn || e[116] !== zn ? (Un = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "notif-action-template-add", onClick:
|
|
13606
|
-
let
|
|
13607
|
-
e[118] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
13641
|
+
e[114] !== R.addNotifActionTemplate || e[115] !== jn || e[116] !== zn ? (Un = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "notif-action-template-add", onClick: Ml, disabled: jn, icon: zn, children: R.addNotifActionTemplate }), e[114] = R.addNotifActionTemplate, e[115] = jn, e[116] = zn, e[117] = Un) : Un = e[117];
|
|
13642
|
+
let Fl;
|
|
13643
|
+
e[118] === Symbol.for("react.memo_cache_sentinel") ? (Fl = () => V(!0), e[118] = Fl) : Fl = e[118];
|
|
13608
13644
|
let Hn;
|
|
13609
13645
|
e[119] !== Re || e[120] !== j ? (Hn = j === null || Re.find((ge) => ge.id === j) === void 0, e[119] = Re, e[120] = j, e[121] = Hn) : Hn = e[121];
|
|
13610
13646
|
let Vn;
|
|
13611
13647
|
e[122] !== B ? (Vn = /* @__PURE__ */ o(B, { icon: "edit" }), e[122] = B, e[123] = Vn) : Vn = e[123];
|
|
13612
13648
|
let Gn;
|
|
13613
|
-
e[124] !== R.editTemplate || e[125] !== Hn || e[126] !== Vn ? (Gn = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "template-edit", onClick:
|
|
13649
|
+
e[124] !== R.editTemplate || e[125] !== Hn || e[126] !== Vn ? (Gn = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "template-edit", onClick: Fl, disabled: Hn, icon: Vn, children: R.editTemplate }), e[124] = R.editTemplate, e[125] = Hn, e[126] = Vn, e[127] = Gn) : Gn = e[127];
|
|
13614
13650
|
let Wn;
|
|
13615
13651
|
e[128] !== pt || e[129] !== j ? (Wn = () => {
|
|
13616
13652
|
j && pt(j);
|
|
@@ -13622,7 +13658,7 @@ const lg = (n) => {
|
|
|
13622
13658
|
let Yn;
|
|
13623
13659
|
e[136] !== R.deleteTemplate || e[137] !== Wn || e[138] !== Kn || e[139] !== qn ? (Yn = /* @__PURE__ */ o(Qt, { hideOn: "always", cKey: "template-delete", onClick: Wn, color: "danger", disabled: Kn, icon: qn, children: R.deleteTemplate }), e[136] = R.deleteTemplate, e[137] = Wn, e[138] = Kn, e[139] = qn, e[140] = Yn) : Yn = e[140];
|
|
13624
13660
|
let Qn;
|
|
13625
|
-
e[141] !== Fn || e[142] !== Un || e[143] !== Gn || e[144] !== Yn ? (Qn = /* @__PURE__ */ P(
|
|
13661
|
+
e[141] !== Fn || e[142] !== Un || e[143] !== Gn || e[144] !== Yn ? (Qn = /* @__PURE__ */ P(El, { children: [
|
|
13626
13662
|
Fn,
|
|
13627
13663
|
Un,
|
|
13628
13664
|
Gn,
|
|
@@ -13635,12 +13671,12 @@ const lg = (n) => {
|
|
|
13635
13671
|
] }), e[146] = Mn, e[147] = Qn, e[148] = Xn) : Xn = e[148];
|
|
13636
13672
|
let Jn;
|
|
13637
13673
|
e[149] !== Xe ? (Jn = Xe ?? [], e[149] = Xe, e[150] = Jn) : Jn = e[150];
|
|
13638
|
-
let
|
|
13639
|
-
e[151] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
13674
|
+
let jl;
|
|
13675
|
+
e[151] === Symbol.for("react.memo_cache_sentinel") ? (jl = (ge) => {
|
|
13640
13676
|
z(ge), H(null);
|
|
13641
|
-
}, e[151] =
|
|
13677
|
+
}, e[151] = jl) : jl = e[151];
|
|
13642
13678
|
let Zn;
|
|
13643
|
-
e[152] !== i || e[153] !== Re || e[154] !== at || e[155] !== gt || e[156] !== j || e[157] !== Jn ? (Zn = /* @__PURE__ */ o("div", { className: "h-75 w-25 overflow-hidden", children: /* @__PURE__ */ o(eg, { templates: Re, roles: Jn, onAddNotifTarget: at, onRemoveNotifTarget: gt, selectedTemplateId: j, setSelectedTemplateId:
|
|
13679
|
+
e[152] !== i || e[153] !== Re || e[154] !== at || e[155] !== gt || e[156] !== j || e[157] !== Jn ? (Zn = /* @__PURE__ */ o("div", { className: "h-75 w-25 overflow-hidden", children: /* @__PURE__ */ o(eg, { templates: Re, roles: Jn, onAddNotifTarget: at, onRemoveNotifTarget: gt, selectedTemplateId: j, setSelectedTemplateId: jl, EmployeePicker: i }) }), e[152] = i, e[153] = Re, e[154] = at, e[155] = gt, e[156] = j, e[157] = Jn, e[158] = Zn) : Zn = e[158];
|
|
13644
13680
|
let el;
|
|
13645
13681
|
e[159] !== Re || e[160] !== (M == null ? void 0 : M.message) || e[161] !== j ? (el = j && /* @__PURE__ */ o("div", { className: "h-75 w-75 overflow-hidden border rounded bg-white", children: /* @__PURE__ */ o("iframe", { title: "notification", className: "w-100 h-100", srcDoc: (M == null ? void 0 : M.message) ?? ((fa = Re.find((ge) => ge.id === j)) == null ? void 0 : fa.templatePreview) }) }), e[159] = Re, e[160] = M == null ? void 0 : M.message, e[161] = j, e[162] = el) : el = e[162];
|
|
13646
13682
|
let tl;
|
|
@@ -13687,11 +13723,11 @@ const lg = (n) => {
|
|
|
13687
13723
|
ll,
|
|
13688
13724
|
il
|
|
13689
13725
|
] }), e[193] = Zn, e[194] = el, e[195] = tl, e[196] = nl, e[197] = ll, e[198] = il, e[199] = al) : al = e[199];
|
|
13690
|
-
let
|
|
13691
|
-
return e[200] !== Xn || e[201] !== al ? (
|
|
13726
|
+
let zl;
|
|
13727
|
+
return e[200] !== Xn || e[201] !== al ? (zl = /* @__PURE__ */ P("div", { className: "h-100 overflow-hidden", children: [
|
|
13692
13728
|
Xn,
|
|
13693
13729
|
al
|
|
13694
|
-
] }), e[200] = Xn, e[201] = al, e[202] =
|
|
13730
|
+
] }), e[200] = Xn, e[201] = al, e[202] = zl) : zl = e[202], zl;
|
|
13695
13731
|
};
|
|
13696
13732
|
function og(n) {
|
|
13697
13733
|
return console.log(n);
|
|
@@ -13825,7 +13861,7 @@ const pg = (n) => {
|
|
|
13825
13861
|
return e[24] !== i || e[25] !== w || e[26] !== t || e[27] !== N ? (I = /* @__PURE__ */ o(i, { columns: w, data: t, pagination: C, fullScreen: k, onRowClick: N }), e[24] = i, e[25] = w, e[26] = t, e[27] = N, e[28] = I) : I = e[28], I;
|
|
13826
13862
|
}, xo = {
|
|
13827
13863
|
apiGetUserHistoryUrl: (n) => `notification/user-history/${n}`
|
|
13828
|
-
},
|
|
13864
|
+
}, B3 = (n) => {
|
|
13829
13865
|
const e = q.c(28), {
|
|
13830
13866
|
apiUrls: t,
|
|
13831
13867
|
EmployeePicker: l,
|
|
@@ -13875,7 +13911,7 @@ const pg = (n) => {
|
|
|
13875
13911
|
}, Ti = {
|
|
13876
13912
|
apiGetStylesUrl: "notification/styles",
|
|
13877
13913
|
apiPostStyleUrl: "notification/style"
|
|
13878
|
-
},
|
|
13914
|
+
}, R3 = (n) => {
|
|
13879
13915
|
const e = q.c(59), {
|
|
13880
13916
|
urls: t
|
|
13881
13917
|
} = n, {
|
|
@@ -13960,7 +13996,7 @@ const pg = (n) => {
|
|
|
13960
13996
|
let R;
|
|
13961
13997
|
e[28] !== h ? (R = /* @__PURE__ */ o(h, { icon: "add" }), e[28] = h, e[29] = R) : R = e[29];
|
|
13962
13998
|
let F;
|
|
13963
|
-
e[30] !== v.addNewStyle || e[31] !== R ? (F = /* @__PURE__ */ o(
|
|
13999
|
+
e[30] !== v.addNewStyle || e[31] !== R ? (F = /* @__PURE__ */ o(It, { onClick: B, icon: R, className: "mt-1", children: v.addNewStyle }), e[30] = v.addNewStyle, e[31] = R, e[32] = F) : F = e[32];
|
|
13964
14000
|
let j;
|
|
13965
14001
|
e[33] !== A || e[34] !== F ? (j = /* @__PURE__ */ P("div", { className: "col-3 h-100 overflow-hidden d-flex flex-column", children: [
|
|
13966
14002
|
A,
|
|
@@ -14001,40 +14037,42 @@ export {
|
|
|
14001
14037
|
ot as Alert,
|
|
14002
14038
|
ap as AlertItem,
|
|
14003
14039
|
Tg as ApiFileDownloadButton,
|
|
14004
|
-
|
|
14005
|
-
|
|
14006
|
-
|
|
14007
|
-
|
|
14008
|
-
|
|
14040
|
+
Qg as AppSearch,
|
|
14041
|
+
N3 as Approval,
|
|
14042
|
+
T3 as Approvals,
|
|
14043
|
+
_3 as ApprovalsDelegations,
|
|
14044
|
+
l3 as AuthTemplate,
|
|
14009
14045
|
ia as AvatarIcon,
|
|
14010
14046
|
Vr as Backdrop,
|
|
14011
14047
|
ra as Badge,
|
|
14012
|
-
|
|
14013
|
-
|
|
14014
|
-
|
|
14015
|
-
|
|
14048
|
+
y3 as BarChart,
|
|
14049
|
+
O3 as BatchSetCreate,
|
|
14050
|
+
E3 as BatchSetDetail,
|
|
14051
|
+
P3 as BatchSetOverview,
|
|
14016
14052
|
Jt as Card,
|
|
14017
14053
|
Ln as CheckInput,
|
|
14018
|
-
|
|
14054
|
+
ai as Collapse,
|
|
14019
14055
|
oh as ColumnResizer,
|
|
14056
|
+
Hg as ConnectionAlert,
|
|
14057
|
+
Ug as ConnectionIcon,
|
|
14020
14058
|
dd as ContactButtonQrModal,
|
|
14021
14059
|
$g as ContactInput,
|
|
14022
14060
|
ud as ContactsLink,
|
|
14023
|
-
|
|
14061
|
+
It as ContextButton,
|
|
14024
14062
|
Hu as CronEditor,
|
|
14025
|
-
|
|
14026
|
-
|
|
14027
|
-
|
|
14063
|
+
f3 as DisabledRowLabelLink,
|
|
14064
|
+
$3 as DocsAIChat,
|
|
14065
|
+
j3 as Documents,
|
|
14028
14066
|
wn as Dropdown,
|
|
14029
14067
|
Yi as DropdownDivider,
|
|
14030
|
-
|
|
14068
|
+
_t as DropdownItem,
|
|
14031
14069
|
vd as DropdownPicker,
|
|
14032
14070
|
Sn as DropdownToggle,
|
|
14033
|
-
|
|
14034
|
-
|
|
14035
|
-
|
|
14071
|
+
d3 as DynamicForm,
|
|
14072
|
+
D3 as EmailOverview,
|
|
14073
|
+
h3 as EmployeeSmallPhoto,
|
|
14036
14074
|
dp as ErrorBoundary,
|
|
14037
|
-
|
|
14075
|
+
Jg as FileDownloadUS,
|
|
14038
14076
|
$r as FileExtensionIcon,
|
|
14039
14077
|
Dg as FileUploadButton,
|
|
14040
14078
|
cs as FileUploadContextButton,
|
|
@@ -14043,9 +14081,9 @@ export {
|
|
|
14043
14081
|
pp as FloatingActionContainer,
|
|
14044
14082
|
qc as FloatingFormSubmit,
|
|
14045
14083
|
Tt as FloatingLabelInput,
|
|
14046
|
-
|
|
14047
|
-
|
|
14048
|
-
|
|
14084
|
+
o3 as FromToDatePicker,
|
|
14085
|
+
L3 as GdprOverview,
|
|
14086
|
+
n3 as HomeDashboard,
|
|
14049
14087
|
bs as HookFormCheckInput,
|
|
14050
14088
|
Eg as HookFormContactInput,
|
|
14051
14089
|
Og as HookFormDropdownPicker,
|
|
@@ -14062,68 +14100,68 @@ export {
|
|
|
14062
14100
|
Ce as IconButton,
|
|
14063
14101
|
Ns as IconPicker,
|
|
14064
14102
|
oo as ImgApi,
|
|
14065
|
-
|
|
14103
|
+
a3 as ImgBlob,
|
|
14066
14104
|
Ls as ImgDirect,
|
|
14067
14105
|
t1 as ImportFilePicker,
|
|
14068
14106
|
Ju as ImportResult,
|
|
14069
14107
|
Pn as InvalidFeedback,
|
|
14070
|
-
|
|
14071
|
-
|
|
14072
|
-
|
|
14108
|
+
t3 as LanguageSettingsUS,
|
|
14109
|
+
m3 as LanguageSwitch,
|
|
14110
|
+
c3 as LineChart,
|
|
14073
14111
|
wl as Loading,
|
|
14074
14112
|
_c as LoadingBlock,
|
|
14075
|
-
|
|
14076
|
-
|
|
14077
|
-
|
|
14113
|
+
Zg as LocalStorageBackupUS,
|
|
14114
|
+
qg as LocalizationImport,
|
|
14115
|
+
Yg as LocalizationSettings,
|
|
14078
14116
|
zg as MessageBoard,
|
|
14079
|
-
|
|
14080
|
-
|
|
14117
|
+
S3 as MiniDetailTooltip,
|
|
14118
|
+
w3 as MiniDetailValueItem,
|
|
14081
14119
|
Jc as MonthPicker,
|
|
14082
|
-
|
|
14120
|
+
s3 as MonthPickerSearchParams,
|
|
14083
14121
|
zt as NoInputContainer,
|
|
14084
|
-
|
|
14085
|
-
|
|
14086
|
-
|
|
14087
|
-
|
|
14122
|
+
A3 as NotificationActions,
|
|
14123
|
+
R3 as NotificationStyles,
|
|
14124
|
+
B3 as NotificationUsers,
|
|
14125
|
+
v3 as NumericFormat,
|
|
14088
14126
|
Lg as NumericStepperInput,
|
|
14089
14127
|
zd as NumericTextInput,
|
|
14090
|
-
|
|
14091
|
-
|
|
14128
|
+
I3 as PermissionSubstituteDetail,
|
|
14129
|
+
k3 as PermissionSubstituteTable,
|
|
14092
14130
|
Xm as PhotoLibrary,
|
|
14093
14131
|
Vm as PhotoLightbox,
|
|
14094
|
-
|
|
14132
|
+
r3 as PieChart,
|
|
14095
14133
|
et as PrimaryButton,
|
|
14096
14134
|
Ud as RadioInput,
|
|
14097
14135
|
Fg as ReportPage,
|
|
14098
|
-
|
|
14099
|
-
|
|
14136
|
+
b3 as ReportsIndexPage,
|
|
14137
|
+
El as ResponsiveContextDropdown,
|
|
14100
14138
|
Qt as ResponsiveContextDropdownItem,
|
|
14101
|
-
|
|
14102
|
-
|
|
14139
|
+
Vg as ResponsiveTabs,
|
|
14140
|
+
x3 as RouteLink,
|
|
14103
14141
|
Oe as RowLabelInput,
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14142
|
+
g3 as SearchBox,
|
|
14143
|
+
Xg as SearchPage,
|
|
14144
|
+
e3 as SearchSettingsUS,
|
|
14145
|
+
Nt as SelectInput,
|
|
14146
|
+
u3 as SettingsFormPicker,
|
|
14147
|
+
Wg as ShortcutLinks,
|
|
14148
|
+
Kg as ShortcutLinksProvider,
|
|
14149
|
+
Gg as ShortcutLinksSetup,
|
|
14112
14150
|
Wi as SimplePicker,
|
|
14113
14151
|
En as SimpleToggle,
|
|
14114
|
-
|
|
14115
|
-
|
|
14152
|
+
xt as SimpleTooltip,
|
|
14153
|
+
C3 as StateToggle,
|
|
14116
14154
|
xs as Tab,
|
|
14117
14155
|
pu as TabPanel,
|
|
14118
14156
|
ws as Tabs,
|
|
14119
14157
|
us as TextAreaInput,
|
|
14120
14158
|
nt as TextInput,
|
|
14121
14159
|
xp as Timeline,
|
|
14122
|
-
|
|
14160
|
+
p3 as TypedFormGroup,
|
|
14123
14161
|
Z as Typography,
|
|
14124
14162
|
Rg as UserAvatarToggle,
|
|
14125
14163
|
jg as UserAvatarValueFormat,
|
|
14126
|
-
|
|
14164
|
+
i3 as VersionInfo,
|
|
14127
14165
|
io as WidgetCard,
|
|
14128
14166
|
ld as YearPicker,
|
|
14129
14167
|
Ap as YearPickerSearchParams,
|