react-luminus-components 1.3.249 → 1.3.250
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 +35 -35
- package/dist/{FormDisabledProvider-LRgVJzfK.js → FormDisabledProvider-BOJCo7wG.js} +1 -1
- package/dist/{FormDisabledProvider-x4rC1kQI.cjs → FormDisabledProvider-BTSZt93Z.cjs} +1 -1
- package/dist/{ShortcutLinksContext-Bq3NREsX.js → ShortcutLinksContext-BCwsHaEV.js} +55 -56
- package/dist/{ShortcutLinksContext-BD6R_0rT.cjs → ShortcutLinksContext-DNXnUsya.cjs} +16 -16
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +5 -5
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +12 -12
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +10 -10
- package/dist/main.cjs.js +35 -35
- package/dist/main.es.js +239 -239
- package/dist/{useGetApiData-CrZHy35t.js → useGetApiData-Dko0ZM39.js} +1 -1
- package/dist/{useGetApiData-srwLsb--.cjs → useGetApiData-vm1P1Yqc.cjs} +1 -1
- package/dist/{usePermissions-BgT3dbpe.cjs → usePermissions-Cb-Gb4GT.cjs} +1 -1
- package/dist/{usePermissions-D-4CYdGh.js → usePermissions-cAiis3N6.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +8 -8
- package/package.json +1 -1
package/dist/main.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { j as s, c as j, t as Te, s as uo, g as po, m as lc, d as Yr, a as cc, b as dc, e as pt, f as ga, h as uc, i as pc, k as fc, l as gc, n as vc, o as mc, p as hc, T as Ji, q as Qi, r as fo, E as bc, u as Zi, v as va, w as es, x as xc, y as _e, z as ma, F as ts, A as yc, B as wc, C as Dc, D as Nc, M as Sc, G as Cc, H as Ec, I as Ic, J as jc, K as Oc, L as Zn, N as _c, O as Pc, P as de, Q as Qr, R as Tc, S as Ac, U as Rc, V as rs, W as kc, X as Lt, Y as le, Z as ha, _ as Oe, $ as ba, a0 as Bc, a1 as gt, a2 as mt, a3 as $e, a4 as un, a5 as re, a6 as pn, a7 as Mc, a8 as Lc, a9 as Fc, aa as ns, ab as Vc, ac as Jt, ad as Qt, ae as Or, af as et, ag as $c, ah as Gc, ai as Wc, aj as it, ak as xa, al as Uc, am as at, an as Hc, ao as zc, ap as Zr, aq as ee, ar as as, as as qc, at as Yc, au as Kc, av as os, aw as Xc, ax as Jc, ay as Nt, az as Qc, aA as St, aB as Zc, aC as ed, aD as td, aE as Ct, aF as rd, aG as is, aH as nd, aI as _r, aJ as ya, aK as wa, aL as ss, aM as Da, aN as ls, aO as cs, aP as Xe, aQ as ht, aR as ad, aS as od, aT as bt, aU as Ze, aV as id, aW as mr, aX as sd, aY as ld, aZ as en, a_ as Zt, a$ as Na, b0 as Pr, b1 as cd, b2 as Sn, b3 as dd, b4 as Wt, b5 as ud, b6 as pd, b7 as Sa, b8 as fn, b9 as fd, ba as tn, bb as Ca, bc as gd, bd as Et, be as Vt, bf as vd, bg as md, bh as ds, bi as Cn, bj as hd, bk as bd, bl as go, bm as
|
|
2
|
-
import { bu as aD,
|
|
1
|
+
import { j as s, c as j, t as Te, s as uo, g as po, m as lc, d as Yr, a as cc, b as dc, e as pt, f as ga, h as uc, i as pc, k as fc, l as gc, n as vc, o as mc, p as hc, T as Ji, q as Qi, r as fo, E as bc, u as Zi, v as va, w as es, x as xc, y as _e, z as ma, F as ts, A as yc, B as wc, C as Dc, D as Nc, M as Sc, G as Cc, H as Ec, I as Ic, J as jc, K as Oc, L as Zn, N as _c, O as Pc, P as de, Q as Qr, R as Tc, S as Ac, U as Rc, V as rs, W as kc, X as Lt, Y as le, Z as ha, _ as Oe, $ as ba, a0 as Bc, a1 as gt, a2 as mt, a3 as $e, a4 as un, a5 as re, a6 as pn, a7 as Mc, a8 as Lc, a9 as Fc, aa as ns, ab as Vc, ac as Jt, ad as Qt, ae as Or, af as et, ag as $c, ah as Gc, ai as Wc, aj as it, ak as xa, al as Uc, am as at, an as Hc, ao as zc, ap as Zr, aq as ee, ar as as, as as qc, at as Yc, au as Kc, av as os, aw as Xc, ax as Jc, ay as Nt, az as Qc, aA as St, aB as Zc, aC as ed, aD as td, aE as Ct, aF as rd, aG as is, aH as nd, aI as _r, aJ as ya, aK as wa, aL as ss, aM as Da, aN as ls, aO as cs, aP as Xe, aQ as ht, aR as ad, aS as od, aT as bt, aU as Ze, aV as id, aW as mr, aX as sd, aY as ld, aZ as en, a_ as Zt, a$ as Na, b0 as Pr, b1 as cd, b2 as Sn, b3 as dd, b4 as Wt, b5 as ud, b6 as pd, b7 as Sa, b8 as fn, b9 as fd, ba as tn, bb as Ca, bc as gd, bd as Et, be as Vt, bf as vd, bg as md, bh as ds, bi as Cn, bj as hd, bk as bd, bl as go, bm as xd, bn as yd, bo as wd, bp as Dd, bq as us } from "./ShortcutLinksContext-BCwsHaEV.js";
|
|
2
|
+
import { bt as nD, bu as aD, br as oD, bs as iD } from "./ShortcutLinksContext-BCwsHaEV.js";
|
|
3
3
|
import * as Ne from "react";
|
|
4
|
-
import ie, { useCallback as P, useMemo as V, useState as M, useRef as Z, useEffect as W, useContext as q, useId as Nd, Component as Sd, isValidElement as
|
|
5
|
-
import { c as st, L as
|
|
4
|
+
import ie, { useCallback as P, useMemo as V, useState as M, useRef as Z, useEffect as W, useContext as q, useId as Nd, Component as Sd, isValidElement as vo, Suspense as Cd, useLayoutEffect as Ea, useReducer as Ed } from "react";
|
|
5
|
+
import { c as st, L as mo, F as Id } from "./FormDisabledProvider-BOJCo7wG.js";
|
|
6
6
|
import { InteractionType as jd } from "@azure/msal-browser";
|
|
7
7
|
import { MsalAuthenticationTemplate as Od } from "@azure/msal-react";
|
|
8
8
|
import { useNavigate as gn, Link as ot, Navigate as Fr, generatePath as hr, useParams as ps, useSearchParams as _d, useLocation as Pd } from "react-router-dom";
|
|
@@ -10,8 +10,8 @@ import br, { unstable_batchedUpdates as Td } from "react-dom";
|
|
|
10
10
|
import { useFormContext as It, Controller as Ia, useForm as Ad, FormProvider as Rd } from "react-hook-form";
|
|
11
11
|
import { Pivot as kd } from "react-flexmonster";
|
|
12
12
|
import { u as Bd, a as Md, b as fs, c as Ld } from "./useRenderDraggableInPortal-D0OLp7Qb.js";
|
|
13
|
-
import { u as ct } from "./useGetApiData-
|
|
14
|
-
import { u as Fd } from "./usePermissions-
|
|
13
|
+
import { u as ct } from "./useGetApiData-Dko0ZM39.js";
|
|
14
|
+
import { u as Fd } from "./usePermissions-cAiis3N6.js";
|
|
15
15
|
import { l as pr } from "./numberUtils-Bwf8nio8.js";
|
|
16
16
|
const lw = ({ fileLoader: e, fileName: t, children: r }) => {
|
|
17
17
|
const n = P(async () => {
|
|
@@ -32,19 +32,19 @@ function $d(e, t) {
|
|
|
32
32
|
const r = Te(e), n = Te(t), a = r.getTime() - n.getTime();
|
|
33
33
|
return a < 0 ? -1 : a > 0 ? 1 : a;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function ho(e, t) {
|
|
36
36
|
const r = Te(e), n = Te(t), a = r.getFullYear() - n.getFullYear(), o = r.getMonth() - n.getMonth();
|
|
37
37
|
return a * 12 + o;
|
|
38
38
|
}
|
|
39
|
-
function
|
|
39
|
+
function bo(e) {
|
|
40
40
|
const t = Te(e);
|
|
41
41
|
return Math.trunc(t.getMonth() / 3) + 1;
|
|
42
42
|
}
|
|
43
43
|
function En(e, t) {
|
|
44
|
-
const r = Te(e), n = Te(t), a = r.getFullYear() - n.getFullYear(), o =
|
|
44
|
+
const r = Te(e), n = Te(t), a = r.getFullYear() - n.getFullYear(), o = bo(r) - bo(n);
|
|
45
45
|
return a * 4 + o;
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function xo(e, t, r) {
|
|
48
48
|
const n = uo(e, r), a = uo(t, r), o = +n - po(n), i = +a - po(a);
|
|
49
49
|
return Math.round((o - i) / lc);
|
|
50
50
|
}
|
|
@@ -53,12 +53,12 @@ function In(e, t) {
|
|
|
53
53
|
return r.getFullYear() - n.getFullYear();
|
|
54
54
|
}
|
|
55
55
|
function Gd(e, t) {
|
|
56
|
-
const r = Te(e), n = Te(t), a =
|
|
56
|
+
const r = Te(e), n = Te(t), a = yo(r, n), o = Math.abs(Yr(r, n));
|
|
57
57
|
r.setDate(r.getDate() - a * o);
|
|
58
|
-
const i = +(
|
|
58
|
+
const i = +(yo(r, n) === -a), l = a * (o - i);
|
|
59
59
|
return l === 0 ? 0 : l;
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function yo(e, t) {
|
|
62
62
|
const r = e.getFullYear() - t.getFullYear() || e.getMonth() - t.getMonth() || e.getDate() - t.getDate() || e.getHours() - t.getHours() || e.getMinutes() - t.getMinutes() || e.getSeconds() - t.getSeconds() || e.getMilliseconds() - t.getMilliseconds();
|
|
63
63
|
return r < 0 ? -1 : r > 0 ? 1 : r;
|
|
64
64
|
}
|
|
@@ -71,11 +71,11 @@ function ja(e) {
|
|
|
71
71
|
function Oa(e, t) {
|
|
72
72
|
return +Te(e) - +Te(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function wo(e, t, r) {
|
|
75
75
|
const n = Oa(e, t) / cc;
|
|
76
76
|
return ja(r == null ? void 0 : r.roundingMethod)(n);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function Do(e, t, r) {
|
|
79
79
|
const n = Oa(e, t) / dc;
|
|
80
80
|
return ja(r == null ? void 0 : r.roundingMethod)(n);
|
|
81
81
|
}
|
|
@@ -114,10 +114,10 @@ function Ud(e, t, r) {
|
|
|
114
114
|
let n = 0, a;
|
|
115
115
|
const o = Te(e), i = Te(t);
|
|
116
116
|
if (r != null && r.unit)
|
|
117
|
-
a = r == null ? void 0 : r.unit, a === "second" ? n = jn(o, i) : a === "minute" ? n =
|
|
117
|
+
a = r == null ? void 0 : r.unit, a === "second" ? n = jn(o, i) : a === "minute" ? n = Do(o, i) : a === "hour" ? n = wo(o, i) : a === "day" ? n = Yr(o, i) : a === "week" ? n = xo(o, i) : a === "month" ? n = ho(o, i) : a === "quarter" ? n = En(o, i) : a === "year" && (n = In(o, i));
|
|
118
118
|
else {
|
|
119
119
|
const c = jn(o, i);
|
|
120
|
-
Math.abs(c) < uc ? (n = jn(o, i), a = "second") : Math.abs(c) < pc ? (n =
|
|
120
|
+
Math.abs(c) < uc ? (n = jn(o, i), a = "second") : Math.abs(c) < pc ? (n = Do(o, i), a = "minute") : Math.abs(c) < fc && Math.abs(Yr(o, i)) < 1 ? (n = wo(o, i), a = "hour") : Math.abs(c) < gc && (n = Yr(o, i)) && Math.abs(n) < 7 ? a = "day" : Math.abs(c) < vc ? (n = xo(o, i), a = "week") : Math.abs(c) < mc ? (n = ho(o, i), a = "month") : Math.abs(c) < hc && En(o, i) < 4 ? (n = En(o, i), a = "quarter") : (n = In(o, i), a = "year");
|
|
121
121
|
}
|
|
122
122
|
return new Intl.RelativeTimeFormat(r == null ? void 0 : r.locale, {
|
|
123
123
|
localeMatcher: r == null ? void 0 : r.localeMatcher,
|
|
@@ -349,7 +349,7 @@ const Ss = /* @__PURE__ */ Ne.forwardRef(({
|
|
|
349
349
|
});
|
|
350
350
|
});
|
|
351
351
|
Ss.displayName = "Card";
|
|
352
|
-
const
|
|
352
|
+
const No = Object.assign(Ss, {
|
|
353
353
|
Img: bs,
|
|
354
354
|
Title: Ns,
|
|
355
355
|
Subtitle: ws,
|
|
@@ -405,7 +405,7 @@ const Kr = Object.assign(Cs, {
|
|
|
405
405
|
Text: vn,
|
|
406
406
|
Radio: Qd,
|
|
407
407
|
Checkbox: Jd
|
|
408
|
-
}), ra = /* @__PURE__ */ new WeakMap(),
|
|
408
|
+
}), ra = /* @__PURE__ */ new WeakMap(), So = (e, t) => {
|
|
409
409
|
if (!e || !t) return;
|
|
410
410
|
const r = ra.get(t) || /* @__PURE__ */ new Map();
|
|
411
411
|
ra.set(t, r);
|
|
@@ -413,9 +413,9 @@ const Kr = Object.assign(Cs, {
|
|
|
413
413
|
return n || (n = t.matchMedia(e), n.refCount = 0, r.set(n.media, n)), n;
|
|
414
414
|
};
|
|
415
415
|
function Zd(e, t = typeof window > "u" ? void 0 : window) {
|
|
416
|
-
const r =
|
|
416
|
+
const r = So(e, t), [n, a] = M(() => r ? r.matches : !1);
|
|
417
417
|
return wc(() => {
|
|
418
|
-
let o =
|
|
418
|
+
let o = So(e, t);
|
|
419
419
|
if (!o)
|
|
420
420
|
return a(!1);
|
|
421
421
|
let i = ra.get(t);
|
|
@@ -625,7 +625,7 @@ const _s = /* @__PURE__ */ Ne.forwardRef(({
|
|
|
625
625
|
});
|
|
626
626
|
});
|
|
627
627
|
_s.displayName = "Offcanvas";
|
|
628
|
-
const
|
|
628
|
+
const Co = Object.assign(_s, {
|
|
629
629
|
Body: Es,
|
|
630
630
|
Header: js,
|
|
631
631
|
Title: Os
|
|
@@ -793,13 +793,13 @@ const iu = /* @__PURE__ */ Ne.forwardRef(({
|
|
|
793
793
|
] });
|
|
794
794
|
}, pu = "_select_pywmr_1", fu = {
|
|
795
795
|
select: pu
|
|
796
|
-
},
|
|
796
|
+
}, Eo = 2e3, Io = 2050, gu = ({ year: e, onChangeYear: t, className: r, variant: n = "standart", ...a }) => {
|
|
797
797
|
const o = V(() => {
|
|
798
798
|
var p;
|
|
799
|
-
return a.manualOptions ? ((p = a.options) == null ? void 0 : p.at(0)) ??
|
|
799
|
+
return a.manualOptions ? ((p = a.options) == null ? void 0 : p.at(0)) ?? Eo : a.optionMin ?? Eo;
|
|
800
800
|
}, [a]), i = V(() => {
|
|
801
801
|
var p;
|
|
802
|
-
return a.manualOptions ? ((p = a.options) == null ? void 0 : p.at(-1)) ??
|
|
802
|
+
return a.manualOptions ? ((p = a.options) == null ? void 0 : p.at(-1)) ?? Io : a.optionMax ?? Io;
|
|
803
803
|
}, [a]), l = V(() => {
|
|
804
804
|
if (a.manualOptions)
|
|
805
805
|
return a.options;
|
|
@@ -846,12 +846,12 @@ class vu extends Sd {
|
|
|
846
846
|
}
|
|
847
847
|
render() {
|
|
848
848
|
const { fallback: t, fallbackOn404: r, children: n, texts: a, reloadButtonDisplay: o = "append-after-child" } = this.props;
|
|
849
|
-
return this.state.hasError ? o === "inject-to-child" && !this.state.is404Error &&
|
|
849
|
+
return this.state.hasError ? o === "inject-to-child" && !this.state.is404Error && vo(t) ? ie.cloneElement(t, {
|
|
850
850
|
...t.props
|
|
851
851
|
}, /* @__PURE__ */ s.jsxs("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
|
|
852
852
|
...t.props.children,
|
|
853
853
|
/* @__PURE__ */ s.jsx("div", { className: "d-flex gap-2 justify-content-center", children: /* @__PURE__ */ s.jsx(gt, { type: "button", onClick: this.reload, children: a.reloadButtonContent }) })
|
|
854
|
-
] })) : o === "inject-to-child" && this.state.is404Error &&
|
|
854
|
+
] })) : o === "inject-to-child" && this.state.is404Error && vo(r) ? ie.cloneElement(r, {
|
|
855
855
|
...r.props
|
|
856
856
|
}, /* @__PURE__ */ s.jsxs("div", { className: "translate-middle top-50 start-50 position-absolute d-flex flex-column align-items-center gap-2", children: [
|
|
857
857
|
...r.props.children,
|
|
@@ -874,9 +874,9 @@ const mu = (e) => (r) => {
|
|
|
874
874
|
}, hu = mu(vu), bu = "_widget-card_e9tsb_1", xu = {
|
|
875
875
|
"widget-card": "_widget-card_e9tsb_1",
|
|
876
876
|
widgetCard: bu
|
|
877
|
-
},
|
|
877
|
+
}, jo = ({ children: e, title: t, headerContent: r }) => /* @__PURE__ */ s.jsx(nn, { className: j(xu.widgetCard, "luminus-widget"), title: t, headerContent: r, contentClassName: "h-100 overflow-auto", children: e }), yu = ({ children: e, title: t }) => {
|
|
878
878
|
const { texts: { widget: r } } = q(de), n = gn();
|
|
879
|
-
return /* @__PURE__ */ s.jsx(hu, { fallback: /* @__PURE__ */ s.jsx(
|
|
879
|
+
return /* @__PURE__ */ s.jsx(hu, { fallback: /* @__PURE__ */ s.jsx(jo, { title: t, children: r.fallbackError }), reloadButtonDisplay: "inject-to-child", navigateBack: () => n(-1), children: /* @__PURE__ */ s.jsx(Cd, { fallback: /* @__PURE__ */ s.jsx(jo, { title: t, children: /* @__PURE__ */ s.jsx(Vd, {}) }), children: e }) });
|
|
880
880
|
}, wu = "_widgets-row_13gg1_1", Du = "_widget_13gg1_1", Nu = "_widget-img_13gg1_5", Su = "_widget-title-spacer_13gg1_14", Cu = "_widget-title_13gg1_14", Eu = "_title_13gg1_28", ze = {
|
|
881
881
|
"widgets-row": "_widgets-row_13gg1_1",
|
|
882
882
|
widgetsRow: wu,
|
|
@@ -915,14 +915,14 @@ const mu = (e) => (r) => {
|
|
|
915
915
|
] }, d.id) })) }) }) })
|
|
916
916
|
] }) })
|
|
917
917
|
] });
|
|
918
|
-
}, ju = "_widget_19xgl_1", Ou = "_mobile_19xgl_7",
|
|
918
|
+
}, ju = "_widget_19xgl_1", Ou = "_mobile_19xgl_7", Oo = {
|
|
919
919
|
widget: ju,
|
|
920
920
|
mobile: Ou
|
|
921
|
-
},
|
|
921
|
+
}, _o = ({ widgetGroups: e, availableWidgets: t, onAdd: r, texts: n }) => {
|
|
922
922
|
const [a, o] = M(!1), { isMobile: i } = pn();
|
|
923
923
|
return /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
924
|
-
/* @__PURE__ */ s.jsx("div", { className: j("luminus-empty-widget",
|
|
925
|
-
[
|
|
924
|
+
/* @__PURE__ */ s.jsx("div", { className: j("luminus-empty-widget", Oo.widget, {
|
|
925
|
+
[Oo.mobile]: i
|
|
926
926
|
}), children: /* @__PURE__ */ s.jsx(le, { onClick: () => o(!0), children: /* @__PURE__ */ s.jsx(Mc, {}) }) }),
|
|
927
927
|
/* @__PURE__ */ s.jsx(Iu, { show: a, widgetGroups: e, widgets: t, handleClose: () => o(!1), onWidgetPicked: (l) => {
|
|
928
928
|
o(!1), r(l);
|
|
@@ -985,7 +985,7 @@ const mu = (e) => (r) => {
|
|
|
985
985
|
/* @__PURE__ */ s.jsx(le, { color: "danger", onClick: () => p(b), className: j(nt.removeIcon), children: /* @__PURE__ */ s.jsx(Lc, {}) }),
|
|
986
986
|
/* @__PURE__ */ s.jsx(le, { color: h ? "danger" : "primary", onClick: () => d(b), className: j(nt.fullWidthIcon), children: /* @__PURE__ */ s.jsx(Fc, {}) })
|
|
987
987
|
] }),
|
|
988
|
-
v.id === -1 ? r && /* @__PURE__ */ s.jsx("div", { className: nt.widgetWrapper, children: /* @__PURE__ */ s.jsx(
|
|
988
|
+
v.id === -1 ? r && /* @__PURE__ */ s.jsx("div", { className: nt.widgetWrapper, children: /* @__PURE__ */ s.jsx(_o, { widgetGroups: e, availableWidgets: t, onAdd: (m) => c(b, m), texts: o }) }) : /* @__PURE__ */ s.jsx(yu, { title: v.title, children: /* @__PURE__ */ s.jsx(v.WidgetElement, { title: v.title }) }),
|
|
989
989
|
v.id > -1 && r && /* @__PURE__ */ s.jsx("div", { className: nt.widgetEditOverlay })
|
|
990
990
|
] }, b) : /* @__PURE__ */ s.jsx(s.Fragment, {}), [
|
|
991
991
|
r,
|
|
@@ -998,7 +998,7 @@ const mu = (e) => (r) => {
|
|
|
998
998
|
]), { isMobile: f } = pn();
|
|
999
999
|
return /* @__PURE__ */ s.jsx("div", { className: j(nt.dashboard, { [nt.mobile]: f }), children: /* @__PURE__ */ s.jsxs("div", { className: j(nt.widgetsGrid), children: [
|
|
1000
1000
|
(g = i.widgets) == null ? void 0 : g.map((v, b) => u(t.find((h) => h.id === v.widgetId), b, v.fullWidth)),
|
|
1001
|
-
r && /* @__PURE__ */ s.jsx(
|
|
1001
|
+
r && /* @__PURE__ */ s.jsx(_o, { widgetGroups: e, availableWidgets: t, onAdd: (v) => {
|
|
1002
1002
|
var b;
|
|
1003
1003
|
return c((b = i.widgets) == null ? void 0 : b.length, v);
|
|
1004
1004
|
}, texts: o })
|
|
@@ -1012,7 +1012,7 @@ const mu = (e) => (r) => {
|
|
|
1012
1012
|
}, uw = ({ children: e, color: t = "primary", size: r = "md", rounded: n, className: a, variant: o = "filled", ...i }) => {
|
|
1013
1013
|
const l = V(() => o === "filled" ? j(`bg-${t}`) : o === "outline" ? j(`text-${t} border-${t} border bg-white`) : "", [t, o]);
|
|
1014
1014
|
return /* @__PURE__ */ s.jsx("span", { className: j("luminus-badge badge", l, a, { "rounded-pill": n }, { "text-dark": t === "light" }, { [On.light]: t === "light" }, On.badge, On[r]), ...i, children: e });
|
|
1015
|
-
}, Hu = "_collapse-icon_1ahhn_1", zu = "_collapsed_1ahhn_6",
|
|
1015
|
+
}, Hu = "_collapse-icon_1ahhn_1", zu = "_collapsed_1ahhn_6", Po = {
|
|
1016
1016
|
"collapse-icon": "_collapse-icon_1ahhn_1",
|
|
1017
1017
|
collapseIcon: Hu,
|
|
1018
1018
|
collapsed: zu
|
|
@@ -1023,8 +1023,8 @@ const mu = (e) => (r) => {
|
|
|
1023
1023
|
}, [a]), /* @__PURE__ */ s.jsxs("div", { className: r ?? "", children: [
|
|
1024
1024
|
/* @__PURE__ */ s.jsxs("div", { role: "button", className: "d-flex align-items-center justify-content-between pb-3 pt-2", onClick: () => n.controlled ? n.onToggle(!n.isOpen) : i(!o), children: [
|
|
1025
1025
|
/* @__PURE__ */ s.jsx(re, { variant: "h6", children: e }),
|
|
1026
|
-
/* @__PURE__ */ s.jsx(ns, { className: j(
|
|
1027
|
-
[
|
|
1026
|
+
/* @__PURE__ */ s.jsx(ns, { className: j(Po.collapseIcon, {
|
|
1027
|
+
[Po.collapsed]: l
|
|
1028
1028
|
}) })
|
|
1029
1029
|
] }),
|
|
1030
1030
|
/* @__PURE__ */ s.jsx(gs, { in: l, children: /* @__PURE__ */ s.jsx("div", { children: t }) }),
|
|
@@ -1200,7 +1200,7 @@ function bp(e, t, r) {
|
|
|
1200
1200
|
writable: !0
|
|
1201
1201
|
}) : e[t] = r, e;
|
|
1202
1202
|
}
|
|
1203
|
-
function
|
|
1203
|
+
function To(e, t) {
|
|
1204
1204
|
var r = Object.keys(e);
|
|
1205
1205
|
if (Object.getOwnPropertySymbols) {
|
|
1206
1206
|
var n = Object.getOwnPropertySymbols(e);
|
|
@@ -1210,12 +1210,12 @@ function Ao(e, t) {
|
|
|
1210
1210
|
}
|
|
1211
1211
|
return r;
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1213
|
+
function Ao(e) {
|
|
1214
1214
|
for (var t = 1; t < arguments.length; t++) {
|
|
1215
1215
|
var r = arguments[t] != null ? arguments[t] : {};
|
|
1216
|
-
t % 2 ?
|
|
1216
|
+
t % 2 ? To(Object(r), !0).forEach(function(n) {
|
|
1217
1217
|
bp(e, n, r[n]);
|
|
1218
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) :
|
|
1218
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : To(Object(r)).forEach(function(n) {
|
|
1219
1219
|
Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
|
|
1220
1220
|
});
|
|
1221
1221
|
}
|
|
@@ -1224,11 +1224,11 @@ function Ro(e) {
|
|
|
1224
1224
|
function Ve(e) {
|
|
1225
1225
|
return "Minified Redux error #" + e + "; visit https://redux.js.org/Errors?code=" + e + " for the full message or use the non-minified dev environment for full errors. ";
|
|
1226
1226
|
}
|
|
1227
|
-
var
|
|
1227
|
+
var Ro = function() {
|
|
1228
1228
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1229
1229
|
}(), _n = function() {
|
|
1230
1230
|
return Math.random().toString(36).substring(7).split("").join(".");
|
|
1231
|
-
},
|
|
1231
|
+
}, ko = {
|
|
1232
1232
|
INIT: "@@redux/INIT" + _n(),
|
|
1233
1233
|
REPLACE: "@@redux/REPLACE" + _n(),
|
|
1234
1234
|
PROBE_UNKNOWN_ACTION: function() {
|
|
@@ -1339,7 +1339,7 @@ function ks(e, t, r) {
|
|
|
1339
1339
|
if (typeof b != "function")
|
|
1340
1340
|
throw new Error(process.env.NODE_ENV === "production" ? Ve(10) : "Expected the nextReducer to be a function. Instead, received: '" + kt(b));
|
|
1341
1341
|
a = b, f({
|
|
1342
|
-
type:
|
|
1342
|
+
type: ko.REPLACE
|
|
1343
1343
|
});
|
|
1344
1344
|
}
|
|
1345
1345
|
function v() {
|
|
@@ -1365,33 +1365,33 @@ function ks(e, t, r) {
|
|
|
1365
1365
|
unsubscribe: D
|
|
1366
1366
|
};
|
|
1367
1367
|
}
|
|
1368
|
-
}, b[
|
|
1368
|
+
}, b[Ro] = function() {
|
|
1369
1369
|
return this;
|
|
1370
1370
|
}, b;
|
|
1371
1371
|
}
|
|
1372
1372
|
return f({
|
|
1373
|
-
type:
|
|
1373
|
+
type: ko.INIT
|
|
1374
1374
|
}), n = {
|
|
1375
1375
|
dispatch: f,
|
|
1376
1376
|
subscribe: u,
|
|
1377
1377
|
getState: d,
|
|
1378
1378
|
replaceReducer: g
|
|
1379
|
-
}, n[
|
|
1379
|
+
}, n[Ro] = v, n;
|
|
1380
1380
|
}
|
|
1381
|
-
function
|
|
1381
|
+
function Bo(e, t) {
|
|
1382
1382
|
return function() {
|
|
1383
1383
|
return t(e.apply(this, arguments));
|
|
1384
1384
|
};
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1386
|
+
function Mo(e, t) {
|
|
1387
1387
|
if (typeof e == "function")
|
|
1388
|
-
return
|
|
1388
|
+
return Bo(e, t);
|
|
1389
1389
|
if (typeof e != "object" || e === null)
|
|
1390
1390
|
throw new Error(process.env.NODE_ENV === "production" ? Ve(16) : "bindActionCreators expected an object or a function, but instead received: '" + kt(e) + `'. Did you write "import ActionCreators from" instead of "import * as ActionCreators from"?`);
|
|
1391
1391
|
var r = {};
|
|
1392
1392
|
for (var n in e) {
|
|
1393
1393
|
var a = e[n];
|
|
1394
|
-
typeof a == "function" && (r[n] =
|
|
1394
|
+
typeof a == "function" && (r[n] = Bo(a, t));
|
|
1395
1395
|
}
|
|
1396
1396
|
return r;
|
|
1397
1397
|
}
|
|
@@ -1421,7 +1421,7 @@ function Sp() {
|
|
|
1421
1421
|
}, l = t.map(function(c) {
|
|
1422
1422
|
return c(i);
|
|
1423
1423
|
});
|
|
1424
|
-
return o = Bs.apply(void 0, l)(a.dispatch),
|
|
1424
|
+
return o = Bs.apply(void 0, l)(a.dispatch), Ao(Ao({}, a), {}, {
|
|
1425
1425
|
dispatch: o
|
|
1426
1426
|
});
|
|
1427
1427
|
};
|
|
@@ -1466,7 +1466,7 @@ function jp() {
|
|
|
1466
1466
|
}
|
|
1467
1467
|
};
|
|
1468
1468
|
}
|
|
1469
|
-
var
|
|
1469
|
+
var Lo = {
|
|
1470
1470
|
notify: function() {
|
|
1471
1471
|
},
|
|
1472
1472
|
get: function() {
|
|
@@ -1474,7 +1474,7 @@ var Fo = {
|
|
|
1474
1474
|
}
|
|
1475
1475
|
};
|
|
1476
1476
|
function Ls(e, t) {
|
|
1477
|
-
var r, n =
|
|
1477
|
+
var r, n = Lo;
|
|
1478
1478
|
function a(u) {
|
|
1479
1479
|
return c(), n.subscribe(u);
|
|
1480
1480
|
}
|
|
@@ -1491,7 +1491,7 @@ function Ls(e, t) {
|
|
|
1491
1491
|
r || (r = t ? t.addNestedSub(i) : e.subscribe(i), n = jp());
|
|
1492
1492
|
}
|
|
1493
1493
|
function p() {
|
|
1494
|
-
r && (r(), r = void 0, n.clear(), n =
|
|
1494
|
+
r && (r(), r = void 0, n.clear(), n = Lo);
|
|
1495
1495
|
}
|
|
1496
1496
|
var d = {
|
|
1497
1497
|
addNestedSub: a,
|
|
@@ -1573,19 +1573,19 @@ var Aa = Hc(), Op = {
|
|
|
1573
1573
|
}, Ra = {};
|
|
1574
1574
|
Ra[Aa.ForwardRef] = Pp;
|
|
1575
1575
|
Ra[Aa.Memo] = $s;
|
|
1576
|
-
function
|
|
1576
|
+
function Fo(e) {
|
|
1577
1577
|
return Aa.isMemo(e) ? $s : Ra[e.$$typeof] || Op;
|
|
1578
1578
|
}
|
|
1579
|
-
var Tp = Object.defineProperty, Ap = Object.getOwnPropertyNames,
|
|
1579
|
+
var Tp = Object.defineProperty, Ap = Object.getOwnPropertyNames, Vo = Object.getOwnPropertySymbols, Rp = Object.getOwnPropertyDescriptor, kp = Object.getPrototypeOf, $o = Object.prototype;
|
|
1580
1580
|
function Gs(e, t, r) {
|
|
1581
1581
|
if (typeof t != "string") {
|
|
1582
|
-
if (
|
|
1582
|
+
if ($o) {
|
|
1583
1583
|
var n = kp(t);
|
|
1584
|
-
n && n !==
|
|
1584
|
+
n && n !== $o && Gs(e, n, r);
|
|
1585
1585
|
}
|
|
1586
1586
|
var a = Ap(t);
|
|
1587
|
-
|
|
1588
|
-
for (var o =
|
|
1587
|
+
Vo && (a = a.concat(Vo(t)));
|
|
1588
|
+
for (var o = Fo(e), i = Fo(t), l = 0; l < a.length; ++l) {
|
|
1589
1589
|
var c = a[l];
|
|
1590
1590
|
if (!_p[c] && !(r && r[c]) && !(i && i[c]) && !(o && o[c])) {
|
|
1591
1591
|
var p = Rp(t, c);
|
|
@@ -1599,7 +1599,7 @@ function Gs(e, t, r) {
|
|
|
1599
1599
|
return e;
|
|
1600
1600
|
}
|
|
1601
1601
|
var Bp = Gs;
|
|
1602
|
-
const
|
|
1602
|
+
const Go = /* @__PURE__ */ zc(Bp);
|
|
1603
1603
|
var na = { exports: {} }, be = {};
|
|
1604
1604
|
/** @license React v17.0.2
|
|
1605
1605
|
* react-is.production.min.js
|
|
@@ -1609,10 +1609,10 @@ var na = { exports: {} }, be = {};
|
|
|
1609
1609
|
* This source code is licensed under the MIT license found in the
|
|
1610
1610
|
* LICENSE file in the root directory of this source tree.
|
|
1611
1611
|
*/
|
|
1612
|
-
var
|
|
1612
|
+
var Wo;
|
|
1613
1613
|
function Mp() {
|
|
1614
|
-
if (
|
|
1615
|
-
|
|
1614
|
+
if (Wo) return be;
|
|
1615
|
+
Wo = 1;
|
|
1616
1616
|
var e = 60103, t = 60106, r = 60107, n = 60108, a = 60114, o = 60109, i = 60110, l = 60112, c = 60113, p = 60120, d = 60115, u = 60116, f = 60121, g = 60122, v = 60117, b = 60129, h = 60131;
|
|
1617
1617
|
if (typeof Symbol == "function" && Symbol.for) {
|
|
1618
1618
|
var m = Symbol.for;
|
|
@@ -1687,9 +1687,9 @@ var xe = {};
|
|
|
1687
1687
|
* This source code is licensed under the MIT license found in the
|
|
1688
1688
|
* LICENSE file in the root directory of this source tree.
|
|
1689
1689
|
*/
|
|
1690
|
-
var
|
|
1690
|
+
var Uo;
|
|
1691
1691
|
function Lp() {
|
|
1692
|
-
return
|
|
1692
|
+
return Uo || (Uo = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1693
1693
|
var e = 60103, t = 60106, r = 60107, n = 60108, a = 60114, o = 60109, i = 60110, l = 60112, c = 60113, p = 60120, d = 60115, u = 60116, f = 60121, g = 60122, v = 60117, b = 60129, h = 60131;
|
|
1694
1694
|
if (typeof Symbol == "function" && Symbol.for) {
|
|
1695
1695
|
var m = Symbol.for;
|
|
@@ -1774,7 +1774,7 @@ function Lp() {
|
|
|
1774
1774
|
}()), xe;
|
|
1775
1775
|
}
|
|
1776
1776
|
process.env.NODE_ENV === "production" ? na.exports = Mp() : na.exports = Lp();
|
|
1777
|
-
var
|
|
1777
|
+
var Ho = na.exports, Fp = ["getDisplayName", "methodName", "renderCountProp", "shouldHandleStateChanges", "storeKey", "withRef", "forwardRef", "context"], Vp = ["reactReduxForwardedRef"], $p = [], Gp = [null, null], Wp = function(t) {
|
|
1778
1778
|
try {
|
|
1779
1779
|
return JSON.stringify(t);
|
|
1780
1780
|
} catch {
|
|
@@ -1785,7 +1785,7 @@ function Up(e, t) {
|
|
|
1785
1785
|
var r = e[1];
|
|
1786
1786
|
return [t.payload, r + 1];
|
|
1787
1787
|
}
|
|
1788
|
-
function
|
|
1788
|
+
function zo(e, t, r) {
|
|
1789
1789
|
Fs(function() {
|
|
1790
1790
|
return e.apply(void 0, t);
|
|
1791
1791
|
}, r);
|
|
@@ -1838,7 +1838,7 @@ function Yp(e, t) {
|
|
|
1838
1838
|
}
|
|
1839
1839
|
var y = x;
|
|
1840
1840
|
return function(I) {
|
|
1841
|
-
if (process.env.NODE_ENV !== "production" && !
|
|
1841
|
+
if (process.env.NODE_ENV !== "production" && !Ho.isValidElementType(I))
|
|
1842
1842
|
throw new Error("You must pass a component to the function returned by " + (i + ". Instead received " + Wp(I)));
|
|
1843
1843
|
var O = I.displayName || I.name || "Component", E = a(O), T = ee({}, w, {
|
|
1844
1844
|
getDisplayName: a,
|
|
@@ -1861,7 +1861,7 @@ function Yp(e, t) {
|
|
|
1861
1861
|
var ce = R.reactReduxForwardedRef, Be = Zr(R, Vp);
|
|
1862
1862
|
return [R.context, ce, Be];
|
|
1863
1863
|
}, [R]), F = $[0], z = $[1], K = $[2], te = V(function() {
|
|
1864
|
-
return F && F.Consumer &&
|
|
1864
|
+
return F && F.Consumer && Ho.isContextConsumer(/* @__PURE__ */ ie.createElement(F.Consumer, null)) ? F : y;
|
|
1865
1865
|
}, [F, y]), ae = q(te), oe = !!R.store && !!R.store.getState && !!R.store.dispatch, H = !!ae && !!ae.store;
|
|
1866
1866
|
if (process.env.NODE_ENV !== "production" && !oe && !H)
|
|
1867
1867
|
throw new Error('Could not find "store" in the context of ' + ('"' + E + '". Either wrap the root component in a <Provider>, ') + "or pass a custom React context provider to <Provider> and the corresponding " + ("React context consumer to " + E + " in connect options."));
|
|
@@ -1881,7 +1881,7 @@ function Yp(e, t) {
|
|
|
1881
1881
|
var dt = Z(), G = Z(K), A = Z(), J = Z(!1), ue = S(function() {
|
|
1882
1882
|
return A.current && K === G.current ? A.current : pe(U.getState(), K);
|
|
1883
1883
|
}, [U, Le, K]);
|
|
1884
|
-
|
|
1884
|
+
zo(Hp, [G, dt, J, K, ue, A, je]), zo(zp, [d, U, De, pe, G, dt, J, A, je, He], [U, De, pe]);
|
|
1885
1885
|
var Ee = V(function() {
|
|
1886
1886
|
return /* @__PURE__ */ ie.createElement(I, ee({}, ue, {
|
|
1887
1887
|
ref: z
|
|
@@ -1900,22 +1900,22 @@ function Yp(e, t) {
|
|
|
1900
1900
|
reactReduxForwardedRef: F
|
|
1901
1901
|
}));
|
|
1902
1902
|
});
|
|
1903
|
-
return B.displayName = E, B.WrappedComponent = I,
|
|
1903
|
+
return B.displayName = E, B.WrappedComponent = I, Go(B, I);
|
|
1904
1904
|
}
|
|
1905
|
-
return
|
|
1905
|
+
return Go(Y, I);
|
|
1906
1906
|
};
|
|
1907
1907
|
}
|
|
1908
|
-
function
|
|
1908
|
+
function qo(e, t) {
|
|
1909
1909
|
return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
|
|
1910
1910
|
}
|
|
1911
1911
|
function Pn(e, t) {
|
|
1912
|
-
if (
|
|
1912
|
+
if (qo(e, t)) return !0;
|
|
1913
1913
|
if (typeof e != "object" || e === null || typeof t != "object" || t === null)
|
|
1914
1914
|
return !1;
|
|
1915
1915
|
var r = Object.keys(e), n = Object.keys(t);
|
|
1916
1916
|
if (r.length !== n.length) return !1;
|
|
1917
1917
|
for (var a = 0; a < r.length; a++)
|
|
1918
|
-
if (!Object.prototype.hasOwnProperty.call(t, r[a]) || !
|
|
1918
|
+
if (!Object.prototype.hasOwnProperty.call(t, r[a]) || !qo(e[r[a]], t[r[a]]))
|
|
1919
1919
|
return !1;
|
|
1920
1920
|
return !0;
|
|
1921
1921
|
}
|
|
@@ -1957,7 +1957,7 @@ function ka(e) {
|
|
|
1957
1957
|
return o.dependsOnOwnProps = !1, o;
|
|
1958
1958
|
};
|
|
1959
1959
|
}
|
|
1960
|
-
function
|
|
1960
|
+
function Yo(e) {
|
|
1961
1961
|
return e.dependsOnOwnProps !== null && e.dependsOnOwnProps !== void 0 ? !!e.dependsOnOwnProps : e.length !== 1;
|
|
1962
1962
|
}
|
|
1963
1963
|
function Hs(e, t) {
|
|
@@ -1966,9 +1966,9 @@ function Hs(e, t) {
|
|
|
1966
1966
|
return i.dependsOnOwnProps ? i.mapToProps(c, p) : i.mapToProps(c);
|
|
1967
1967
|
};
|
|
1968
1968
|
return i.dependsOnOwnProps = !0, i.mapToProps = function(c, p) {
|
|
1969
|
-
i.mapToProps = e, i.dependsOnOwnProps =
|
|
1969
|
+
i.mapToProps = e, i.dependsOnOwnProps = Yo(e);
|
|
1970
1970
|
var d = i(c, p);
|
|
1971
|
-
return typeof d == "function" && (i.mapToProps = d, i.dependsOnOwnProps =
|
|
1971
|
+
return typeof d == "function" && (i.mapToProps = d, i.dependsOnOwnProps = Yo(d), d = i(c, p)), process.env.NODE_ENV !== "production" && Us(d, o, t), d;
|
|
1972
1972
|
}, i;
|
|
1973
1973
|
};
|
|
1974
1974
|
}
|
|
@@ -2130,7 +2130,7 @@ function xf(e, t) {
|
|
|
2130
2130
|
}, t);
|
|
2131
2131
|
}
|
|
2132
2132
|
var ge = qs, X = xf, yf = process.env.NODE_ENV === "production", Rn = "Invariant failed";
|
|
2133
|
-
function
|
|
2133
|
+
function Ko(e, t) {
|
|
2134
2134
|
if (yf)
|
|
2135
2135
|
throw new Error(Rn);
|
|
2136
2136
|
var r = typeof t == "function" ? t() : t, n = r ? "".concat(Rn, ": ").concat(r) : Rn;
|
|
@@ -2159,7 +2159,7 @@ var tt = function(t) {
|
|
|
2159
2159
|
bottom: t.bottom + r.bottom,
|
|
2160
2160
|
right: t.right + r.right
|
|
2161
2161
|
};
|
|
2162
|
-
},
|
|
2162
|
+
}, Xo = function(t, r) {
|
|
2163
2163
|
return {
|
|
2164
2164
|
top: t.top + r.top,
|
|
2165
2165
|
left: t.left + r.left,
|
|
@@ -2179,7 +2179,7 @@ var tt = function(t) {
|
|
|
2179
2179
|
bottom: 0,
|
|
2180
2180
|
left: 0
|
|
2181
2181
|
}, Ma = function(t) {
|
|
2182
|
-
var r = t.borderBox, n = t.margin, a = n === void 0 ? kn : n, o = t.border, i = o === void 0 ? kn : o, l = t.padding, c = l === void 0 ? kn : l, p = tt(Ba(r, a)), d = tt(
|
|
2182
|
+
var r = t.borderBox, n = t.margin, a = n === void 0 ? kn : n, o = t.border, i = o === void 0 ? kn : o, l = t.padding, c = l === void 0 ? kn : l, p = tt(Ba(r, a)), d = tt(Xo(r, i)), u = tt(Xo(d, c));
|
|
2183
2183
|
return {
|
|
2184
2184
|
marginBox: p,
|
|
2185
2185
|
borderBox: tt(r),
|
|
@@ -2194,7 +2194,7 @@ var tt = function(t) {
|
|
|
2194
2194
|
if (n !== "px")
|
|
2195
2195
|
return 0;
|
|
2196
2196
|
var a = Number(r);
|
|
2197
|
-
return isNaN(a) && (process.env.NODE_ENV !== "production" ?
|
|
2197
|
+
return isNaN(a) && (process.env.NODE_ENV !== "production" ? Ko(!1, "Could not parse value [raw: " + t + ", without suffix: " + r + "]") : Ko()), a;
|
|
2198
2198
|
}, Df = function() {
|
|
2199
2199
|
return {
|
|
2200
2200
|
x: window.pageXOffset,
|
|
@@ -2236,11 +2236,11 @@ var tt = function(t) {
|
|
|
2236
2236
|
}, Ks = function(t) {
|
|
2237
2237
|
var r = t.getBoundingClientRect(), n = window.getComputedStyle(t);
|
|
2238
2238
|
return Ys(r, n);
|
|
2239
|
-
},
|
|
2239
|
+
}, Jo = Number.isNaN || function(t) {
|
|
2240
2240
|
return typeof t == "number" && t !== t;
|
|
2241
2241
|
};
|
|
2242
2242
|
function Nf(e, t) {
|
|
2243
|
-
return !!(e === t ||
|
|
2243
|
+
return !!(e === t || Jo(e) && Jo(t));
|
|
2244
2244
|
}
|
|
2245
2245
|
function Sf(e, t) {
|
|
2246
2246
|
if (e.length !== t.length)
|
|
@@ -2271,13 +2271,13 @@ var yr = function(t) {
|
|
|
2271
2271
|
return a.cancel = function() {
|
|
2272
2272
|
n && (cancelAnimationFrame(n), n = null);
|
|
2273
2273
|
}, a;
|
|
2274
|
-
}, Cf = process.env.NODE_ENV === "production", Ef = /[ \t]{2,}/g, If = /^[ \t]*/gm,
|
|
2274
|
+
}, Cf = process.env.NODE_ENV === "production", Ef = /[ \t]{2,}/g, If = /^[ \t]*/gm, Qo = function(t) {
|
|
2275
2275
|
return t.replace(Ef, " ").replace(If, "").trim();
|
|
2276
2276
|
}, jf = function(t) {
|
|
2277
|
-
return
|
|
2277
|
+
return Qo(`
|
|
2278
2278
|
%creact-beautiful-dnd
|
|
2279
2279
|
|
|
2280
|
-
%c` +
|
|
2280
|
+
%c` + Qo(t) + `
|
|
2281
2281
|
|
|
2282
2282
|
%c👷 This is a development only message. It will be removed in production builds.
|
|
2283
2283
|
`);
|
|
@@ -2307,7 +2307,7 @@ function Ye(e, t, r) {
|
|
|
2307
2307
|
});
|
|
2308
2308
|
};
|
|
2309
2309
|
}
|
|
2310
|
-
var Tf = process.env.NODE_ENV === "production",
|
|
2310
|
+
var Tf = process.env.NODE_ENV === "production", Zo = "Invariant failed";
|
|
2311
2311
|
function wr(e) {
|
|
2312
2312
|
this.message = e;
|
|
2313
2313
|
}
|
|
@@ -2315,7 +2315,7 @@ wr.prototype.toString = function() {
|
|
|
2315
2315
|
return this.message;
|
|
2316
2316
|
};
|
|
2317
2317
|
function N(e, t) {
|
|
2318
|
-
throw Tf ? new wr(
|
|
2318
|
+
throw Tf ? new wr(Zo) : new wr(Zo + ": " + (t || ""));
|
|
2319
2319
|
}
|
|
2320
2320
|
var Af = function(e) {
|
|
2321
2321
|
as(t, e);
|
|
@@ -2392,7 +2392,7 @@ var Af = function(e) {
|
|
|
2392
2392
|
return Js(t.source, r);
|
|
2393
2393
|
var n = t.combine;
|
|
2394
2394
|
return n ? Qs(t.draggableId, t.source, n) : "You are over an area that cannot be dropped on";
|
|
2395
|
-
},
|
|
2395
|
+
}, ei = function(t) {
|
|
2396
2396
|
return `
|
|
2397
2397
|
The item has returned to its starting position
|
|
2398
2398
|
of ` + sn(t.index) + `
|
|
@@ -2401,7 +2401,7 @@ var Af = function(e) {
|
|
|
2401
2401
|
if (t.reason === "CANCEL")
|
|
2402
2402
|
return `
|
|
2403
2403
|
Movement cancelled.
|
|
2404
|
-
` +
|
|
2404
|
+
` + ei(t.source) + `
|
|
2405
2405
|
`;
|
|
2406
2406
|
var r = t.destination, n = t.combine;
|
|
2407
2407
|
return r ? `
|
|
@@ -2412,7 +2412,7 @@ var Af = function(e) {
|
|
|
2412
2412
|
` + Qs(t.draggableId, t.source, n) + `
|
|
2413
2413
|
` : `
|
|
2414
2414
|
The item has been dropped while not over a drop area.
|
|
2415
|
-
` +
|
|
2415
|
+
` + ei(t.source) + `
|
|
2416
2416
|
`;
|
|
2417
2417
|
}, Xr = {
|
|
2418
2418
|
dragHandleUsageInstructions: Rf,
|
|
@@ -2444,7 +2444,7 @@ var Af = function(e) {
|
|
|
2444
2444
|
return n === void 0 && (n = 0), a = {}, a[t] = r, a[t === "x" ? "y" : "x"] = n, a;
|
|
2445
2445
|
}, Dr = function(t, r) {
|
|
2446
2446
|
return Math.sqrt(Math.pow(r.x - t.x, 2) + Math.pow(r.y - t.y, 2));
|
|
2447
|
-
},
|
|
2447
|
+
}, ti = function(t, r) {
|
|
2448
2448
|
return Math.min.apply(Math, r.map(function(n) {
|
|
2449
2449
|
return Dr(t, n);
|
|
2450
2450
|
}));
|
|
@@ -2470,7 +2470,7 @@ var Af = function(e) {
|
|
|
2470
2470
|
bottom: t.bottom + r.y,
|
|
2471
2471
|
right: t.right + r.x
|
|
2472
2472
|
};
|
|
2473
|
-
},
|
|
2473
|
+
}, ri = function(t) {
|
|
2474
2474
|
return [{
|
|
2475
2475
|
x: t.left,
|
|
2476
2476
|
y: t.top
|
|
@@ -2760,7 +2760,7 @@ function rg(e, t) {
|
|
|
2760
2760
|
var r = e[e.length - 1].descriptor.index;
|
|
2761
2761
|
return t.inHomeList ? r : r + 1;
|
|
2762
2762
|
}
|
|
2763
|
-
function
|
|
2763
|
+
function ni(e) {
|
|
2764
2764
|
var t = e.insideDestination, r = e.inHomeList, n = e.displacedBy, a = e.destination, o = rg(t, {
|
|
2765
2765
|
inHomeList: r
|
|
2766
2766
|
});
|
|
@@ -2779,7 +2779,7 @@ function ai(e) {
|
|
|
2779
2779
|
function cn(e) {
|
|
2780
2780
|
var t = e.draggable, r = e.insideDestination, n = e.destination, a = e.viewport, o = e.displacedBy, i = e.last, l = e.index, c = e.forceShouldAnimate, p = tr(t, n);
|
|
2781
2781
|
if (l == null)
|
|
2782
|
-
return
|
|
2782
|
+
return ni({
|
|
2783
2783
|
insideDestination: r,
|
|
2784
2784
|
inHomeList: p,
|
|
2785
2785
|
displacedBy: o,
|
|
@@ -2789,7 +2789,7 @@ function cn(e) {
|
|
|
2789
2789
|
return b.descriptor.index === l;
|
|
2790
2790
|
});
|
|
2791
2791
|
if (!d)
|
|
2792
|
-
return
|
|
2792
|
+
return ni({
|
|
2793
2793
|
insideDestination: r,
|
|
2794
2794
|
inHomeList: p,
|
|
2795
2795
|
displacedBy: o,
|
|
@@ -2885,10 +2885,10 @@ var ng = function(e) {
|
|
|
2885
2885
|
return r.margin[t.end] + r.borderBox[t.size] / 2;
|
|
2886
2886
|
}, Wa = function(t, r, n) {
|
|
2887
2887
|
return r[t.crossAxisStart] + n.margin[t.crossAxisStart] + n.borderBox[t.crossAxisSize] / 2;
|
|
2888
|
-
},
|
|
2888
|
+
}, ai = function(t) {
|
|
2889
2889
|
var r = t.axis, n = t.moveRelativeTo, a = t.isMoving;
|
|
2890
2890
|
return Ft(r.line, n.marginBox[r.end] + sl(r, a), Wa(r, n.marginBox, a));
|
|
2891
|
-
},
|
|
2891
|
+
}, oi = function(t) {
|
|
2892
2892
|
var r = t.axis, n = t.moveRelativeTo, a = t.isMoving;
|
|
2893
2893
|
return Ft(r.line, n.marginBox[r.start] - lg(r, a), Wa(r, n.marginBox, a));
|
|
2894
2894
|
}, cg = function(t) {
|
|
@@ -2906,13 +2906,13 @@ var ng = function(e) {
|
|
|
2906
2906
|
if (u) {
|
|
2907
2907
|
var f = n[u];
|
|
2908
2908
|
if (Dt(u, o))
|
|
2909
|
-
return
|
|
2909
|
+
return oi({
|
|
2910
2910
|
axis: c,
|
|
2911
2911
|
moveRelativeTo: f.page,
|
|
2912
2912
|
isMoving: l
|
|
2913
2913
|
});
|
|
2914
2914
|
var g = an(f.page, d.point);
|
|
2915
|
-
return
|
|
2915
|
+
return oi({
|
|
2916
2916
|
axis: c,
|
|
2917
2917
|
moveRelativeTo: g,
|
|
2918
2918
|
isMoving: l
|
|
@@ -2923,13 +2923,13 @@ var ng = function(e) {
|
|
|
2923
2923
|
return l.borderBox.center;
|
|
2924
2924
|
if (Dt(v.descriptor.id, o)) {
|
|
2925
2925
|
var b = an(v.page, er(o.displacedBy.point));
|
|
2926
|
-
return
|
|
2926
|
+
return ai({
|
|
2927
2927
|
axis: c,
|
|
2928
2928
|
moveRelativeTo: b,
|
|
2929
2929
|
isMoving: l
|
|
2930
2930
|
});
|
|
2931
2931
|
}
|
|
2932
|
-
return
|
|
2932
|
+
return ai({
|
|
2933
2933
|
axis: c,
|
|
2934
2934
|
moveRelativeTo: v.page,
|
|
2935
2935
|
isMoving: l
|
|
@@ -2973,7 +2973,7 @@ var ng = function(e) {
|
|
|
2973
2973
|
};
|
|
2974
2974
|
return o;
|
|
2975
2975
|
};
|
|
2976
|
-
function
|
|
2976
|
+
function ii(e, t) {
|
|
2977
2977
|
return e.map(function(r) {
|
|
2978
2978
|
return t[r];
|
|
2979
2979
|
});
|
|
@@ -2988,14 +2988,14 @@ function pg(e, t) {
|
|
|
2988
2988
|
}
|
|
2989
2989
|
var fg = function(e) {
|
|
2990
2990
|
var t = e.impact, r = e.viewport, n = e.destination, a = e.draggables, o = e.maxScrollChange, i = ll(r, ke(r.scroll.current, o)), l = n.frame ? La(n, ke(n.frame.scroll.current, o)) : n, c = t.displaced, p = Sr({
|
|
2991
|
-
afterDragging:
|
|
2991
|
+
afterDragging: ii(c.all, a),
|
|
2992
2992
|
destination: n,
|
|
2993
2993
|
displacedBy: t.displacedBy,
|
|
2994
2994
|
viewport: i.frame,
|
|
2995
2995
|
last: c,
|
|
2996
2996
|
forceShouldAnimate: !1
|
|
2997
2997
|
}), d = Sr({
|
|
2998
|
-
afterDragging:
|
|
2998
|
+
afterDragging: ii(c.all, a),
|
|
2999
2999
|
destination: l,
|
|
3000
3000
|
displacedBy: t.displacedBy,
|
|
3001
3001
|
viewport: r.frame,
|
|
@@ -3130,10 +3130,10 @@ var fg = function(e) {
|
|
|
3130
3130
|
return d.length === 1 ? d[0] : d.length > 1 ? d.sort(function(u, f) {
|
|
3131
3131
|
return Fe(u)[l.start] - Fe(f)[l.start];
|
|
3132
3132
|
})[0] : p.sort(function(u, f) {
|
|
3133
|
-
var g =
|
|
3133
|
+
var g = ti(r, ri(Fe(u))), v = ti(r, ri(Fe(f)));
|
|
3134
3134
|
return g !== v ? g - v : Fe(u)[l.start] - Fe(f)[l.start];
|
|
3135
3135
|
})[0];
|
|
3136
|
-
},
|
|
3136
|
+
}, si = function(t, r) {
|
|
3137
3137
|
var n = t.page.borderBox.center;
|
|
3138
3138
|
return Dt(t.descriptor.id, r) ? Ge(n, r.displacedBy.point) : n;
|
|
3139
3139
|
}, hg = function(t, r) {
|
|
@@ -3148,7 +3148,7 @@ var fg = function(e) {
|
|
|
3148
3148
|
withDroppableDisplacement: !0
|
|
3149
3149
|
});
|
|
3150
3150
|
}).sort(function(l, c) {
|
|
3151
|
-
var p = Dr(t, oa(n,
|
|
3151
|
+
var p = Dr(t, oa(n, si(l, o))), d = Dr(t, oa(n, si(c, o)));
|
|
3152
3152
|
return p < d ? -1 : d < p ? 1 : l.descriptor.index - c.descriptor.index;
|
|
3153
3153
|
});
|
|
3154
3154
|
return i[0] || null;
|
|
@@ -3738,13 +3738,13 @@ function Mn(e) {
|
|
|
3738
3738
|
scrollJumpRequest: null
|
|
3739
3739
|
}) : e;
|
|
3740
3740
|
}
|
|
3741
|
-
var
|
|
3741
|
+
var li = {
|
|
3742
3742
|
phase: "IDLE",
|
|
3743
3743
|
completed: null,
|
|
3744
3744
|
shouldFlush: !1
|
|
3745
3745
|
}, Gg = function(e, t) {
|
|
3746
|
-
if (e === void 0 && (e =
|
|
3747
|
-
return ee({},
|
|
3746
|
+
if (e === void 0 && (e = li), t.type === "FLUSH")
|
|
3747
|
+
return ee({}, li, {
|
|
3748
3748
|
shouldFlush: !0
|
|
3749
3749
|
});
|
|
3750
3750
|
if (t.type === "INITIAL_PUBLISH") {
|
|
@@ -4126,21 +4126,21 @@ var sv = function(e) {
|
|
|
4126
4126
|
},
|
|
4127
4127
|
outOfTheWay: "transform " + Tt,
|
|
4128
4128
|
placeholder: "height " + Tt + ", width " + Tt + ", margin " + Tt
|
|
4129
|
-
},
|
|
4129
|
+
}, ci = function(t) {
|
|
4130
4130
|
return yt(t, Re) ? null : "translate(" + t.x + "px, " + t.y + "px)";
|
|
4131
4131
|
}, sa = {
|
|
4132
|
-
moveTo:
|
|
4132
|
+
moveTo: ci,
|
|
4133
4133
|
drop: function(t, r) {
|
|
4134
|
-
var n =
|
|
4134
|
+
var n = ci(t);
|
|
4135
4135
|
return n ? r ? n + " scale(" + Cr.scale.drop + ")" : n : null;
|
|
4136
4136
|
}
|
|
4137
|
-
}, la = Ka.minDropTime, Nl = Ka.maxDropTime, cv = Nl - la,
|
|
4137
|
+
}, la = Ka.minDropTime, Nl = Ka.maxDropTime, cv = Nl - la, di = 1500, dv = 0.6, uv = function(e) {
|
|
4138
4138
|
var t = e.current, r = e.destination, n = e.reason, a = Dr(t, r);
|
|
4139
4139
|
if (a <= 0)
|
|
4140
4140
|
return la;
|
|
4141
|
-
if (a >=
|
|
4141
|
+
if (a >= di)
|
|
4142
4142
|
return Nl;
|
|
4143
|
-
var o = a /
|
|
4143
|
+
var o = a / di, i = la + cv * o, l = n === "CANCEL" ? i * dv : i;
|
|
4144
4144
|
return Number(l.toFixed(2));
|
|
4145
4145
|
}, pv = function(e) {
|
|
4146
4146
|
var t = e.impact, r = e.draggable, n = e.dimensions, a = e.viewport, o = e.afterCritical, i = n.draggables, l = n.droppables, c = We(t), p = c ? l[c] : null, d = l[r.descriptor.droppableId], u = hl({
|
|
@@ -4691,7 +4691,7 @@ var Cl = function(e) {
|
|
|
4691
4691
|
};
|
|
4692
4692
|
return d;
|
|
4693
4693
|
};
|
|
4694
|
-
function
|
|
4694
|
+
function ui(e, t, r) {
|
|
4695
4695
|
if (r.descriptor.id === t.id || r.descriptor.type !== t.type)
|
|
4696
4696
|
return !1;
|
|
4697
4697
|
var n = e.droppable.getById(r.descriptor.droppableId);
|
|
@@ -4737,7 +4737,7 @@ var Lv = function(e, t) {
|
|
|
4737
4737
|
}, p = function(g) {
|
|
4738
4738
|
r || (process.env.NODE_ENV !== "production" ? N(!1, "Should only be subscribed when a collection is occurring") : N());
|
|
4739
4739
|
var v = r.critical.draggable;
|
|
4740
|
-
g.type === "ADDITION" &&
|
|
4740
|
+
g.type === "ADDITION" && ui(e, v, g.value) && n.add(g.value), g.type === "REMOVAL" && ui(e, v, g.value) && n.remove(g.value);
|
|
4741
4741
|
}, d = function(g) {
|
|
4742
4742
|
r && (process.env.NODE_ENV !== "production" ? N(!1, "Cannot start capturing critical dimensions as there is already a collection") : N());
|
|
4743
4743
|
var v = e.draggable.getById(g.draggableId), b = e.droppable.getById(v.descriptor.droppableId), h = {
|
|
@@ -4822,29 +4822,29 @@ var Lv = function(e, t) {
|
|
|
4822
4822
|
current: e
|
|
4823
4823
|
}), n = 1 - r, a = wt.maxPixelScroll * wt.ease(n);
|
|
4824
4824
|
return Math.ceil(a);
|
|
4825
|
-
},
|
|
4826
|
-
var r = t, n =
|
|
4827
|
-
if (o >=
|
|
4825
|
+
}, pi = wt.durationDampening.accelerateAt, fi = wt.durationDampening.stopDampeningAt, Hv = function(e, t) {
|
|
4826
|
+
var r = t, n = fi, a = Date.now(), o = a - r;
|
|
4827
|
+
if (o >= fi)
|
|
4828
4828
|
return e;
|
|
4829
|
-
if (o <
|
|
4829
|
+
if (o < pi)
|
|
4830
4830
|
return Xa;
|
|
4831
4831
|
var i = Ol({
|
|
4832
|
-
startOfRange:
|
|
4832
|
+
startOfRange: pi,
|
|
4833
4833
|
endOfRange: n,
|
|
4834
4834
|
current: o
|
|
4835
4835
|
}), l = e * wt.ease(i);
|
|
4836
4836
|
return Math.ceil(l);
|
|
4837
|
-
},
|
|
4837
|
+
}, gi = function(e) {
|
|
4838
4838
|
var t = e.distanceToEdge, r = e.thresholds, n = e.dragStartTime, a = e.shouldUseTimeDampening, o = Uv(t, r);
|
|
4839
4839
|
return o === 0 ? 0 : a ? Math.max(Hv(o, n), Xa) : o;
|
|
4840
|
-
},
|
|
4840
|
+
}, vi = function(e) {
|
|
4841
4841
|
var t = e.container, r = e.distanceToEdges, n = e.dragStartTime, a = e.axis, o = e.shouldUseTimeDampening, i = Wv(t, a), l = r[a.end] < r[a.start];
|
|
4842
|
-
return l ?
|
|
4842
|
+
return l ? gi({
|
|
4843
4843
|
distanceToEdge: r[a.end],
|
|
4844
4844
|
thresholds: i,
|
|
4845
4845
|
dragStartTime: n,
|
|
4846
4846
|
shouldUseTimeDampening: o
|
|
4847
|
-
}) : -1 *
|
|
4847
|
+
}) : -1 * gi({
|
|
4848
4848
|
distanceToEdge: r[a.start],
|
|
4849
4849
|
thresholds: i,
|
|
4850
4850
|
dragStartTime: n,
|
|
@@ -4864,13 +4864,13 @@ var Lv = function(e, t) {
|
|
|
4864
4864
|
right: r.right - a.x,
|
|
4865
4865
|
bottom: r.bottom - a.y,
|
|
4866
4866
|
left: a.x - r.left
|
|
4867
|
-
}, l =
|
|
4867
|
+
}, l = vi({
|
|
4868
4868
|
container: r,
|
|
4869
4869
|
distanceToEdges: i,
|
|
4870
4870
|
dragStartTime: t,
|
|
4871
4871
|
axis: $a,
|
|
4872
4872
|
shouldUseTimeDampening: o
|
|
4873
|
-
}), c =
|
|
4873
|
+
}), c = vi({
|
|
4874
4874
|
container: r,
|
|
4875
4875
|
distanceToEdges: i,
|
|
4876
4876
|
dragStartTime: t,
|
|
@@ -4961,7 +4961,7 @@ var Lv = function(e, t) {
|
|
|
4961
4961
|
shouldUseTimeDampening: o
|
|
4962
4962
|
});
|
|
4963
4963
|
return l && Za(t, l) ? l : null;
|
|
4964
|
-
},
|
|
4964
|
+
}, mi = function(e) {
|
|
4965
4965
|
var t = e.state, r = e.dragStartTime, n = e.shouldUseTimeDampening, a = e.scrollWindow, o = e.scrollDroppable, i = t.current.page.borderBoxCenter, l = t.dimensions.draggables[t.critical.draggable.id], c = l.page.marginBox;
|
|
4966
4966
|
if (t.isWindowScrollAllowed) {
|
|
4967
4967
|
var p = t.viewport, d = Jv({
|
|
@@ -4995,7 +4995,7 @@ var Lv = function(e, t) {
|
|
|
4995
4995
|
var t = e.scrollWindow, r = e.scrollDroppable, n = yr(t), a = yr(r), o = null, i = function(d) {
|
|
4996
4996
|
o || (process.env.NODE_ENV !== "production" ? N(!1, "Cannot fluid scroll if not dragging") : N());
|
|
4997
4997
|
var u = o, f = u.shouldUseTimeDampening, g = u.dragStartTime;
|
|
4998
|
-
|
|
4998
|
+
mi({
|
|
4999
4999
|
state: d,
|
|
5000
5000
|
scrollWindow: n,
|
|
5001
5001
|
scrollDroppable: a,
|
|
@@ -5007,7 +5007,7 @@ var Lv = function(e, t) {
|
|
|
5007
5007
|
var u = Date.now(), f = !1, g = function() {
|
|
5008
5008
|
f = !0;
|
|
5009
5009
|
};
|
|
5010
|
-
|
|
5010
|
+
mi({
|
|
5011
5011
|
state: d,
|
|
5012
5012
|
dragStartTime: 0,
|
|
5013
5013
|
shouldUseTimeDampening: !1,
|
|
@@ -5107,7 +5107,7 @@ var Lv = function(e, t) {
|
|
|
5107
5107
|
contextId: e + "-context-id",
|
|
5108
5108
|
id: e + "-id"
|
|
5109
5109
|
};
|
|
5110
|
-
}(),
|
|
5110
|
+
}(), hi = {
|
|
5111
5111
|
contextId: Kt + "-scroll-container-context-id"
|
|
5112
5112
|
}, nm = function(t) {
|
|
5113
5113
|
return function(r) {
|
|
@@ -5178,7 +5178,7 @@ var Lv = function(e, t) {
|
|
|
5178
5178
|
}, Ue = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u" ? Ea : W, Vn = function() {
|
|
5179
5179
|
var t = document.querySelector("head");
|
|
5180
5180
|
return t || (process.env.NODE_ENV !== "production" ? N(!1, "Cannot find the head to append a style to") : N()), t;
|
|
5181
|
-
},
|
|
5181
|
+
}, bi = function(t) {
|
|
5182
5182
|
var r = document.createElement("style");
|
|
5183
5183
|
return t && r.setAttribute("nonce", t), r.type = "text/css", r;
|
|
5184
5184
|
};
|
|
@@ -5194,7 +5194,7 @@ function im(e, t) {
|
|
|
5194
5194
|
}, []);
|
|
5195
5195
|
Ue(function() {
|
|
5196
5196
|
!n.current && !a.current || (process.env.NODE_ENV !== "production" ? N(!1, "style elements already mounted") : N());
|
|
5197
|
-
var u =
|
|
5197
|
+
var u = bi(t), f = bi(t);
|
|
5198
5198
|
return n.current = u, a.current = f, u.setAttribute(Kt + "-always", e), f.setAttribute(Kt + "-dynamic", e), Vn().appendChild(u), Vn().appendChild(f), i(r.always), o(r.resting), function() {
|
|
5199
5199
|
var g = function(b) {
|
|
5200
5200
|
var h = b.current;
|
|
@@ -5456,7 +5456,7 @@ function mm(e) {
|
|
|
5456
5456
|
var yn = ie.createContext(null), hm = {
|
|
5457
5457
|
react: "^16.8.5 || ^17.0.0 || ^18.0.0",
|
|
5458
5458
|
"react-dom": "^16.8.5 || ^17.0.0 || ^18.0.0"
|
|
5459
|
-
}, bm = /(\d+)\.(\d+)\.(\d+)/,
|
|
5459
|
+
}, bm = /(\d+)\.(\d+)\.(\d+)/, xi = function(t) {
|
|
5460
5460
|
var r = bm.exec(t);
|
|
5461
5461
|
r == null && (process.env.NODE_ENV !== "production" ? N(!1, "Unable to parse React version " + t) : N());
|
|
5462
5462
|
var n = Number(r[1]), a = Number(r[2]), o = Number(r[3]);
|
|
@@ -5469,7 +5469,7 @@ var yn = ie.createContext(null), hm = {
|
|
|
5469
5469
|
}, xm = function(t, r) {
|
|
5470
5470
|
return r.major > t.major ? !0 : r.major < t.major ? !1 : r.minor > t.minor ? !0 : r.minor < t.minor ? !1 : r.patch >= t.patch;
|
|
5471
5471
|
}, ym = function(e, t) {
|
|
5472
|
-
var r =
|
|
5472
|
+
var r = xi(e), n = xi(t);
|
|
5473
5473
|
xm(r, n) || process.env.NODE_ENV !== "production" && we(`
|
|
5474
5474
|
React version: [` + n.raw + `]
|
|
5475
5475
|
does not satisfy expected peer dependency version: [` + r.raw + `]
|
|
@@ -5570,11 +5570,11 @@ var Sm = 9, Cm = 13, ao = 27, Rl = 32, Em = 33, Im = 34, jm = 35, Om = 36, _m =
|
|
|
5570
5570
|
return "on" + n in document;
|
|
5571
5571
|
});
|
|
5572
5572
|
return r || e;
|
|
5573
|
-
}(), Bl = 0,
|
|
5573
|
+
}(), Bl = 0, yi = 5;
|
|
5574
5574
|
function km(e, t) {
|
|
5575
|
-
return Math.abs(t.x - e.x) >=
|
|
5575
|
+
return Math.abs(t.x - e.x) >= yi || Math.abs(t.y - e.y) >= yi;
|
|
5576
5576
|
}
|
|
5577
|
-
var
|
|
5577
|
+
var wi = {
|
|
5578
5578
|
type: "IDLE"
|
|
5579
5579
|
};
|
|
5580
5580
|
function Bm(e) {
|
|
@@ -5663,7 +5663,7 @@ function Bm(e) {
|
|
|
5663
5663
|
}];
|
|
5664
5664
|
}
|
|
5665
5665
|
function Mm(e) {
|
|
5666
|
-
var t = Z(
|
|
5666
|
+
var t = Z(wi), r = Z(xt), n = ge(function() {
|
|
5667
5667
|
return {
|
|
5668
5668
|
eventName: "mousedown",
|
|
5669
5669
|
fn: function(u) {
|
|
@@ -5706,7 +5706,7 @@ function Mm(e) {
|
|
|
5706
5706
|
r.current = Ye(window, [a, n], u);
|
|
5707
5707
|
}, [a, n]), i = X(function() {
|
|
5708
5708
|
var d = t.current;
|
|
5709
|
-
d.type !== "IDLE" && (t.current =
|
|
5709
|
+
d.type !== "IDLE" && (t.current = wi, r.current(), o());
|
|
5710
5710
|
}, [o]), l = X(function() {
|
|
5711
5711
|
var d = t.current;
|
|
5712
5712
|
i(), d.type === "DRAGGING" && d.actions.cancel({
|
|
@@ -6369,7 +6369,7 @@ function ch(e) {
|
|
|
6369
6369
|
}), u = im(t, a), f = X(function(E) {
|
|
6370
6370
|
ur(i).dispatch(E);
|
|
6371
6371
|
}, []), g = ge(function() {
|
|
6372
|
-
return
|
|
6372
|
+
return Mo({
|
|
6373
6373
|
publishWhileDragging: zg,
|
|
6374
6374
|
updateDroppableScroll: Yg,
|
|
6375
6375
|
updateDroppableIsEnabled: Kg,
|
|
@@ -6382,7 +6382,7 @@ function ch(e) {
|
|
|
6382
6382
|
return tm(ee({
|
|
6383
6383
|
scrollWindow: Fv,
|
|
6384
6384
|
scrollDroppable: b.scrollDroppable
|
|
6385
|
-
},
|
|
6385
|
+
}, Mo({
|
|
6386
6386
|
move: yl
|
|
6387
6387
|
}, f)));
|
|
6388
6388
|
}, [b.scrollDroppable, f]), m = sm(t), x = ge(function() {
|
|
@@ -6467,7 +6467,7 @@ var oo = function(t) {
|
|
|
6467
6467
|
return function(r) {
|
|
6468
6468
|
return t === r;
|
|
6469
6469
|
};
|
|
6470
|
-
}, fh = oo("scroll"), gh = oo("auto"), vh = oo("visible"),
|
|
6470
|
+
}, fh = oo("scroll"), gh = oo("auto"), vh = oo("visible"), Di = function(t, r) {
|
|
6471
6471
|
return r(t.overflowX) || r(t.overflowY);
|
|
6472
6472
|
}, mh = function(t, r) {
|
|
6473
6473
|
return r(t.overflowX) && r(t.overflowY);
|
|
@@ -6476,7 +6476,7 @@ var oo = function(t) {
|
|
|
6476
6476
|
overflowX: r.overflowX,
|
|
6477
6477
|
overflowY: r.overflowY
|
|
6478
6478
|
};
|
|
6479
|
-
return
|
|
6479
|
+
return Di(n, fh) || Di(n, gh);
|
|
6480
6480
|
}, hh = function() {
|
|
6481
6481
|
if (process.env.NODE_ENV === "production")
|
|
6482
6482
|
return !1;
|
|
@@ -6614,7 +6614,7 @@ var oo = function(t) {
|
|
|
6614
6614
|
passive: !1
|
|
6615
6615
|
}, Ch = {
|
|
6616
6616
|
passive: !0
|
|
6617
|
-
},
|
|
6617
|
+
}, Ni = function(e) {
|
|
6618
6618
|
return e.shouldPublishImmediately ? Sh : Ch;
|
|
6619
6619
|
};
|
|
6620
6620
|
function dn(e) {
|
|
@@ -6678,7 +6678,7 @@ function Eh(e) {
|
|
|
6678
6678
|
isCombineEnabled: C.isCombineEnabled,
|
|
6679
6679
|
shouldClipSubject: !C.ignoreContainerClipping
|
|
6680
6680
|
}), k = O.closestScrollable;
|
|
6681
|
-
return k && (k.setAttribute(
|
|
6681
|
+
return k && (k.setAttribute(hi.contextId, r.contextId), k.addEventListener("scroll", g, Ni(E.scrollOptions)), process.env.NODE_ENV !== "production" && bh(k)), T;
|
|
6682
6682
|
}, [r.contextId, l, g, i]), b = X(function() {
|
|
6683
6683
|
var D = t.current, y = Ur(D);
|
|
6684
6684
|
return D && y || (process.env.NODE_ENV !== "production" ? N(!1, "Can only recollect Droppable client for Droppables that have a scroll container") : N()), da(y);
|
|
@@ -6686,7 +6686,7 @@ function Eh(e) {
|
|
|
6686
6686
|
var D = t.current;
|
|
6687
6687
|
D || (process.env.NODE_ENV !== "production" ? N(!1, "Cannot stop drag when no active drag") : N());
|
|
6688
6688
|
var y = Ur(D);
|
|
6689
|
-
t.current = null, y && (f.cancel(), y.removeAttribute(
|
|
6689
|
+
t.current = null, y && (f.cancel(), y.removeAttribute(hi.contextId), y.removeEventListener("scroll", g, Ni(D.scrollOptions)));
|
|
6690
6690
|
}, [g, f]), m = X(function(D) {
|
|
6691
6691
|
var y = t.current;
|
|
6692
6692
|
y || (process.env.NODE_ENV !== "production" ? N(!1, "Cannot scroll when there is no drag") : N());
|
|
@@ -6718,13 +6718,13 @@ function Eh(e) {
|
|
|
6718
6718
|
}
|
|
6719
6719
|
function Wn() {
|
|
6720
6720
|
}
|
|
6721
|
-
var
|
|
6721
|
+
var Si = {
|
|
6722
6722
|
width: 0,
|
|
6723
6723
|
height: 0,
|
|
6724
6724
|
margin: Ff
|
|
6725
6725
|
}, Ih = function(t) {
|
|
6726
6726
|
var r = t.isAnimatingOpenOnMount, n = t.placeholder, a = t.animate;
|
|
6727
|
-
return r || a === "close" ?
|
|
6727
|
+
return r || a === "close" ? Si : {
|
|
6728
6728
|
height: n.client.borderBox.height,
|
|
6729
6729
|
width: n.client.borderBox.width,
|
|
6730
6730
|
margin: n.client.margin
|
|
@@ -6868,7 +6868,7 @@ var kh = function(e) {
|
|
|
6868
6868
|
};
|
|
6869
6869
|
return this.props.children(a);
|
|
6870
6870
|
}, t;
|
|
6871
|
-
}(ie.PureComponent),
|
|
6871
|
+
}(ie.PureComponent), Ci = {
|
|
6872
6872
|
dragging: 5e3,
|
|
6873
6873
|
dropAnimating: 4500
|
|
6874
6874
|
}, Bh = function(t, r) {
|
|
@@ -6889,7 +6889,7 @@ function Fh(e) {
|
|
|
6889
6889
|
transition: Bh(l, o),
|
|
6890
6890
|
transform: p,
|
|
6891
6891
|
opacity: Mh(i, c),
|
|
6892
|
-
zIndex: c ?
|
|
6892
|
+
zIndex: c ? Ci.dropAnimating : Ci.dragging,
|
|
6893
6893
|
pointerEvents: "none"
|
|
6894
6894
|
};
|
|
6895
6895
|
return d;
|
|
@@ -7283,7 +7283,7 @@ function nb(e) {
|
|
|
7283
7283
|
}
|
|
7284
7284
|
var zn = function(t, r) {
|
|
7285
7285
|
return t === r.droppable.type;
|
|
7286
|
-
},
|
|
7286
|
+
}, Ei = function(t, r) {
|
|
7287
7287
|
return r.draggables[t.draggable.id];
|
|
7288
7288
|
}, ab = function() {
|
|
7289
7289
|
var t = {
|
|
@@ -7348,14 +7348,14 @@ var zn = function(t, r) {
|
|
|
7348
7348
|
var g = l.critical;
|
|
7349
7349
|
if (!zn(d, g))
|
|
7350
7350
|
return r;
|
|
7351
|
-
var v =
|
|
7351
|
+
var v = Ei(g, l.dimensions), b = We(l.impact) === p;
|
|
7352
7352
|
return a(p, u, b, b, v, f);
|
|
7353
7353
|
}
|
|
7354
7354
|
if (l.phase === "DROP_ANIMATING") {
|
|
7355
7355
|
var h = l.completed;
|
|
7356
7356
|
if (!zn(d, h.critical))
|
|
7357
7357
|
return r;
|
|
7358
|
-
var m =
|
|
7358
|
+
var m = Ei(h.critical, l.dimensions);
|
|
7359
7359
|
return a(p, u, Ul(h.result) === p, We(h.impact) === p, m, f);
|
|
7360
7360
|
}
|
|
7361
7361
|
if (l.phase === "IDLE" && l.completed && !l.shouldFlush) {
|
|
@@ -7653,7 +7653,7 @@ const Xl = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7653
7653
|
}, gw = ({ children: e }) => {
|
|
7654
7654
|
var c, p, d;
|
|
7655
7655
|
const { useMsal: t, msalScopes: r, msalExtraScopes: n } = q(ed), { isAuthenticated: a } = td(), { userLoginState: o } = q(Ct), i = o.state === rd.LOGGING_IN, l = o.user && ((c = o.user) == null ? void 0 : c.permissions) && ((d = (p = o.user) == null ? void 0 : p.permissions) == null ? void 0 : d.length) > 0;
|
|
7656
|
-
return t ? /* @__PURE__ */ s.jsx(Od, { interactionType: jd.Redirect, authenticationRequest: { scopes: r, extraScopesToConsent: n }, children: i || !a() ? /* @__PURE__ */ s.jsx(
|
|
7656
|
+
return t ? /* @__PURE__ */ s.jsx(Od, { interactionType: jd.Redirect, authenticationRequest: { scopes: r, extraScopesToConsent: n }, children: i || !a() ? /* @__PURE__ */ s.jsx(mo, {}) : o.user ? l ? /* @__PURE__ */ s.jsx(s.Fragment, { children: e }) : /* @__PURE__ */ s.jsx(Fr, { to: "/user-not-permitted", replace: !0 }) : /* @__PURE__ */ s.jsx(Fr, { to: "/no-user-login", replace: !0 }) }) : i ? /* @__PURE__ */ s.jsx(mo, {}) : !a() || !o.user ? /* @__PURE__ */ s.jsx(Fr, { to: "/login", replace: !0 }) : l ? e : /* @__PURE__ */ s.jsx(Fr, { to: "/user-not-permitted", replace: !0 });
|
|
7657
7657
|
}, Rb = "_item_z9z4m_1", kb = "_level-success_z9z4m_4", Bb = "_level-info_z9z4m_10", Mb = "_level-warning_z9z4m_16", Lb = "_level-danger_z9z4m_22", Fb = "_type-icon_z9z4m_28", qn = {
|
|
7658
7658
|
item: Rb,
|
|
7659
7659
|
"level-success": "_level-success_z9z4m_4",
|
|
@@ -7694,13 +7694,13 @@ const Xl = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7694
7694
|
}, children: /* @__PURE__ */ s.jsxs(re, { variant: "caption", className: "w-100 text-end", children: [
|
|
7695
7695
|
"verze ",
|
|
7696
7696
|
e
|
|
7697
|
-
] }) }), $b = "_submit-container_j8pmc_1", Gb = "_spacer_j8pmc_14",
|
|
7697
|
+
] }) }), $b = "_submit-container_j8pmc_1", Gb = "_spacer_j8pmc_14", Ii = {
|
|
7698
7698
|
"submit-container": "_submit-container_j8pmc_1",
|
|
7699
7699
|
submitContainer: $b,
|
|
7700
7700
|
spacer: Gb
|
|
7701
7701
|
}, Wb = ({ children: e, noSpacer: t = !1 }) => /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
7702
|
-
!t && /* @__PURE__ */ s.jsx("div", { className:
|
|
7703
|
-
/* @__PURE__ */ s.jsx("div", { className: j("luminus-floating-action-container shadow",
|
|
7702
|
+
!t && /* @__PURE__ */ s.jsx("div", { className: Ii.spacer }),
|
|
7703
|
+
/* @__PURE__ */ s.jsx("div", { className: j("luminus-floating-action-container shadow", Ii.submitContainer), children: e })
|
|
7704
7704
|
] }), Ub = "_timeline_g1754_1", Hb = "_step-container_g1754_1", zb = "_step-date_g1754_1", qb = "_step-content_g1754_4", Yb = "_content-header_g1754_8", Kb = "_content-text_g1754_11", Xb = "_step-icon_g1754_14", At = {
|
|
7705
7705
|
timeline: Ub,
|
|
7706
7706
|
"step-container": "_step-container_g1754_1",
|
|
@@ -7745,7 +7745,7 @@ const Xl = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7745
7745
|
d.abort();
|
|
7746
7746
|
};
|
|
7747
7747
|
}, [p]), { data: l, setData: c, reloadData: p, isLoading: o };
|
|
7748
|
-
},
|
|
7748
|
+
}, ji = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, renderAsDivBg: o, ...i }) => {
|
|
7749
7749
|
const { data: l } = Jb(e, r, n), [c, p] = M(null);
|
|
7750
7750
|
return W(() => {
|
|
7751
7751
|
let d = null;
|
|
@@ -7959,7 +7959,7 @@ function ec(e, t, r) {
|
|
|
7959
7959
|
n += e[o] || a;
|
|
7960
7960
|
return n;
|
|
7961
7961
|
}
|
|
7962
|
-
function
|
|
7962
|
+
function Oi(e, t) {
|
|
7963
7963
|
return Array(t + 1).join(e);
|
|
7964
7964
|
}
|
|
7965
7965
|
function tc(e) {
|
|
@@ -7970,9 +7970,9 @@ function tc(e) {
|
|
|
7970
7970
|
return r + a;
|
|
7971
7971
|
a = a.replace(".", "");
|
|
7972
7972
|
var i = 1 + o, l = a.length;
|
|
7973
|
-
return i < 0 ? a = "0." +
|
|
7973
|
+
return i < 0 ? a = "0." + Oi("0", Math.abs(i)) + a : i >= l ? a = a + Oi("0", i - l) : a = (a.substring(0, i) || "0") + "." + a.substring(i), r + a;
|
|
7974
7974
|
}
|
|
7975
|
-
function
|
|
7975
|
+
function _i(e, t, r) {
|
|
7976
7976
|
if (["", "-"].indexOf(e) !== -1)
|
|
7977
7977
|
return e;
|
|
7978
7978
|
var n = (e.indexOf(".") !== -1 || r) && t, a = so(e), o = a.beforeDecimal, i = a.afterDecimal, l = a.hasNegation, c = parseFloat("0." + (i || "0")), p = i.length <= t ? "0." + i : c.toFixed(t), d = p.split("."), u = o;
|
|
@@ -8063,7 +8063,7 @@ function cx(e, t, r, n, a, o, i) {
|
|
|
8063
8063
|
var w = m === -1 || f[m] === -1 ? 0 : f[m] + 1;
|
|
8064
8064
|
return w > x ? x : n - w < x - n ? w : x;
|
|
8065
8065
|
}
|
|
8066
|
-
function
|
|
8066
|
+
function Pi(e, t, r, n) {
|
|
8067
8067
|
var a = e.length;
|
|
8068
8068
|
if (t = ox(t, 0, a), n === "left") {
|
|
8069
8069
|
for (; t >= 0 && !r[t]; )
|
|
@@ -8154,10 +8154,10 @@ function fx(e) {
|
|
|
8154
8154
|
G.value === J && G.selectionStart !== A && Mt(G, A);
|
|
8155
8155
|
}, 0));
|
|
8156
8156
|
}, te = function(G, A, J) {
|
|
8157
|
-
return
|
|
8157
|
+
return Pi(G, A, x(G), J);
|
|
8158
8158
|
}, ae = function(G, A, J) {
|
|
8159
8159
|
var ue = x(A), Ee = cx(A, O, G, J, ue, w, D);
|
|
8160
|
-
return Ee =
|
|
8160
|
+
return Ee = Pi(A, Ee, ue), Ee;
|
|
8161
8161
|
}, oe = function(G) {
|
|
8162
8162
|
var A = G.formattedValue;
|
|
8163
8163
|
A === void 0 && (A = "");
|
|
@@ -8261,7 +8261,7 @@ function fx(e) {
|
|
|
8261
8261
|
}
|
|
8262
8262
|
return ie.createElement("input", Object.assign({}, He, { ref: o }));
|
|
8263
8263
|
}
|
|
8264
|
-
function
|
|
8264
|
+
function Ti(e, t) {
|
|
8265
8265
|
var r = t.decimalScale, n = t.fixedDecimalScale, a = t.prefix;
|
|
8266
8266
|
a === void 0 && (a = "");
|
|
8267
8267
|
var o = t.suffix;
|
|
@@ -8364,13 +8364,13 @@ function yx(e) {
|
|
|
8364
8364
|
var i = e.thousandSeparator, l = e.decimalScale, c = e.fixedDecimalScale, p = e.prefix;
|
|
8365
8365
|
p === void 0 && (p = "");
|
|
8366
8366
|
var d = e.defaultValue, u = e.value, f = e.valueIsNumericString, g = e.onValueChange, v = Jl(e, ["decimalSeparator", "allowedDecimalSeparators", "thousandsGroupStyle", "suffix", "allowNegative", "allowLeadingZeros", "onKeyDown", "onBlur", "thousandSeparator", "decimalScale", "fixedDecimalScale", "prefix", "defaultValue", "value", "valueIsNumericString", "onValueChange"]), b = Dn(e), h = b.decimalSeparator, m = b.allowedDecimalSeparators, x = function(B) {
|
|
8367
|
-
return
|
|
8367
|
+
return Ti(B, e);
|
|
8368
8368
|
}, w = function(B, R) {
|
|
8369
8369
|
return hx(B, R, e);
|
|
8370
8370
|
}, D = zt(u) ? d : u, y = f ?? mx(D, p, t);
|
|
8371
8371
|
zt(u) ? zt(d) || (y = y || typeof d == "number") : y = y || typeof u == "number";
|
|
8372
8372
|
var C = function(B) {
|
|
8373
|
-
return Ql(B) ? B : (typeof B == "number" && (B = tc(B)), y && typeof l == "number" ?
|
|
8373
|
+
return Ql(B) ? B : (typeof B == "number" && (B = tc(B)), y && typeof l == "number" ? _i(B, l, !!c) : B);
|
|
8374
8374
|
}, I = nc(C(u), C(d), !!y, x, w, g), O = I[0], E = O.numAsString, T = O.formattedValue, k = I[1], L = function(B) {
|
|
8375
8375
|
var R = B.target, $ = B.key, F = R.selectionStart, z = R.selectionEnd, K = R.value;
|
|
8376
8376
|
if (K === void 0 && (K = ""), ($ === "Backspace" || $ === "Delete") && z < p.length) {
|
|
@@ -8386,8 +8386,8 @@ function yx(e) {
|
|
|
8386
8386
|
$ === "Backspace" && K[F - 1] === te && Mt(R, F - 1), $ === "Delete" && K[F] === te && Mt(R, F + 1), a(B);
|
|
8387
8387
|
}, S = function(B) {
|
|
8388
8388
|
var R = E;
|
|
8389
|
-
if (R.match(/\d/g) || (R = ""), n || (R = nx(R)), c && l && (R =
|
|
8390
|
-
var $ =
|
|
8389
|
+
if (R.match(/\d/g) || (R = ""), n || (R = nx(R)), c && l && (R = _i(R, l, c)), R !== E) {
|
|
8390
|
+
var $ = Ti(R, e);
|
|
8391
8391
|
k({
|
|
8392
8392
|
formattedValue: $,
|
|
8393
8393
|
value: R,
|
|
@@ -8464,13 +8464,13 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8464
8464
|
l && l(p.target.value);
|
|
8465
8465
|
}, [l]);
|
|
8466
8466
|
return /* @__PURE__ */ s.jsx(e, { isForRadioInput: !0, hidden: a, withoutLabel: !t, label: `${t}`, className: o, disabled: n, children: r.map((p) => /* @__PURE__ */ s.jsx(Oe.Check, { id: `radio-${p.id}`, label: p.name, type: "radio", value: p.id ?? "", checked: i === p.id, onChange: c, hidden: a, disabled: n, className: "w-100" }, p.id)) });
|
|
8467
|
-
},
|
|
8467
|
+
}, Ai = [
|
|
8468
8468
|
["D", "day"],
|
|
8469
8469
|
// ['W', 'week'],
|
|
8470
8470
|
["M", "month"],
|
|
8471
8471
|
["Y", "year"],
|
|
8472
8472
|
["C", "custom"]
|
|
8473
|
-
], wx = "_wrapper_qfqux_1", Dx = "_lg_qfqux_7", Nx = "_sm_qfqux_11", Sx = "_md_qfqux_14",
|
|
8473
|
+
], wx = "_wrapper_qfqux_1", Dx = "_lg_qfqux_7", Nx = "_sm_qfqux_11", Sx = "_md_qfqux_14", Ri = {
|
|
8474
8474
|
wrapper: wx,
|
|
8475
8475
|
lg: Dx,
|
|
8476
8476
|
sm: Nx,
|
|
@@ -8559,13 +8559,13 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8559
8559
|
const g = Cx(e.from, e.to);
|
|
8560
8560
|
l(g), f.current = !1;
|
|
8561
8561
|
}
|
|
8562
|
-
}, [e.from, e.to]), /* @__PURE__ */ s.jsxs("div", { className: j("d-inline-flex align-items-center gap-1",
|
|
8562
|
+
}, [e.from, e.to]), /* @__PURE__ */ s.jsxs("div", { className: j("d-inline-flex align-items-center gap-1", Ri.wrapper, Ri[n ?? "md"], r), children: [
|
|
8563
8563
|
/* @__PURE__ */ s.jsx(le, { disabled: u, onClick: () => {
|
|
8564
8564
|
c(-1);
|
|
8565
8565
|
}, children: /* @__PURE__ */ s.jsx(o, { icon: "chevron-left" }) }),
|
|
8566
8566
|
/* @__PURE__ */ s.jsx("div", { children: /* @__PURE__ */ s.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
|
|
8567
8567
|
/* @__PURE__ */ s.jsx(bt, { type: "date", value: e.from, onChange: (g) => d("from", g === null ? null : g.toString()), InputContainer: Ze, size: n }),
|
|
8568
|
-
/* @__PURE__ */ s.jsx(Jt, { toggle: /* @__PURE__ */ s.jsx(Qt, { text: a[
|
|
8568
|
+
/* @__PURE__ */ s.jsx(Jt, { toggle: /* @__PURE__ */ s.jsx(Qt, { text: a[Ai.find((g) => g[0] === i)[1]].substring(0, 1), as: id }), children: Ai.map((g) => /* @__PURE__ */ s.jsx(et, { disabled: g[0] === i, className: j(g[0] === i ? "text-black-50" : ""), onClick: () => p(g[0]), role: "button", children: a[g[1]] }, g[0])) }),
|
|
8569
8569
|
/* @__PURE__ */ s.jsx(bt, { type: "date", value: e.to, onChange: (g) => d("to", g === null ? null : g.toString()), InputContainer: Ze, size: n })
|
|
8570
8570
|
] }) }),
|
|
8571
8571
|
/* @__PURE__ */ s.jsx(le, { disabled: u, onClick: () => {
|
|
@@ -8731,7 +8731,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8731
8731
|
}
|
|
8732
8732
|
t[r] = e[r].value;
|
|
8733
8733
|
}), t;
|
|
8734
|
-
},
|
|
8734
|
+
}, ki = (e, t) => {
|
|
8735
8735
|
const r = {};
|
|
8736
8736
|
return Object.keys(e).forEach((n) => {
|
|
8737
8737
|
var i;
|
|
@@ -8948,9 +8948,9 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8948
8948
|
/* @__PURE__ */ s.jsx(Wx, { schema: e, columns: g, setColumns: v, onCreate: a, customPickers: u })
|
|
8949
8949
|
] })
|
|
8950
8950
|
] });
|
|
8951
|
-
}, Jx = ({ master: e, onChange: t, options: r, label: n }) => /* @__PURE__ */ s.jsx("div", { style: { minWidth: "200px" }, children: /* @__PURE__ */ s.jsx(en, { label: n, value: e, onChange: (a) => t(a ? a.toString() : null), options: r, size: "sm" }) }), Qx = "_pagination_gujwe_1",
|
|
8951
|
+
}, Jx = ({ master: e, onChange: t, options: r, label: n }) => /* @__PURE__ */ s.jsx("div", { style: { minWidth: "200px" }, children: /* @__PURE__ */ s.jsx(en, { label: n, value: e, onChange: (a) => t(a ? a.toString() : null), options: r, size: "sm" }) }), Qx = "_pagination_gujwe_1", Bi = {
|
|
8952
8952
|
pagination: Qx
|
|
8953
|
-
},
|
|
8953
|
+
}, Mi = {
|
|
8954
8954
|
appDetail: "/settings/:id"
|
|
8955
8955
|
}, Rt = {
|
|
8956
8956
|
apiSchemaGet: "/dynamicForms/schema",
|
|
@@ -8959,7 +8959,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8959
8959
|
apiItemDelete: "/dynamicForms/delete",
|
|
8960
8960
|
apiItemCreate: "/dynamicForms/insert",
|
|
8961
8961
|
apiExportGet: "/dynamicForms/export"
|
|
8962
|
-
}, Iw = ({ id: e, page: t, setPage: r, filters: n, setFilter: a, sortByField: o, sortByType: i, setSortBy: l, appUrls: { appDetail: c =
|
|
8962
|
+
}, Iw = ({ id: e, page: t, setPage: r, filters: n, setFilter: a, sortByField: o, sortByType: i, setSortBy: l, appUrls: { appDetail: c = Mi.appDetail } = Mi, apiUrls: { apiSchemaGet: p = Rt.apiSchemaGet, apiDataGet: d = Rt.apiDataGet, apiItemPost: u = Rt.apiItemPost, apiItemDelete: f = Rt.apiItemDelete, apiItemCreate: g = Rt.apiItemCreate, apiExportGet: v = Rt.apiExportGet } = Rt, customPickers: b }) => {
|
|
8963
8963
|
var me, ce, Be, Je, Qe, Gt;
|
|
8964
8964
|
const { texts: { dynamicForms: h }, ProjectIconComponent: m } = q(de), x = it(), { startLoading: w, stopLoading: D } = q(Zt), [y, C] = M(null), [I, O] = M(null), [E, T] = M(null), [k, L] = M(null), [S, Q] = M(!1), { addNotification: Y } = Na(), [B, R] = M([]), { confirm: $ } = Pr(), F = 20, z = F + 1, K = k ? Math.ceil(k.length / F) : 1, te = t ? t > 1 : !1, ae = t ? t < K : !1, oe = t ? (t - 1) * F : 0, H = t ? t * F : F, U = V(() => k ? k.length > z : !1, [k, z]), pe = V(() => U ? (k == null ? void 0 : k.slice(oe, H)) ?? null : k ?? null, [U, k, oe, H]), [se, De] = M(null);
|
|
8965
8965
|
W(() => {
|
|
@@ -8995,7 +8995,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
8995
8995
|
}, [x, e, y, w, D, S, se, v]), Ce = P(async (ne) => (w("dynamicFormEdit"), x.post(`${u}?id=${e}`, ne).then(() => (D("dynamicFormEdit"), R([]), !0)).catch((ve) => (D("dynamicFormEdit"), R(Sn(ve)), !1))), [x, e, w, D, u]), Le = P(async (ne) => (w("dynamicFormDelete"), x.delete(`${f}?id=${e}&pk=${ne}`).then(() => (D("dynamicFormDelete"), R([]), !0)).catch((ve) => (D("dynamicFormDelete"), R(Sn(ve)), !1))), [x, e, w, D, f]), He = P(async (ne) => (w("dynamicFormCreate"), x.post(`${g}?id=${e}`, ne).then(({ data: ve }) => (D("dynamicFormCreate"), R([]), ve)).catch((ve) => (D("dynamicFormCreate"), R(Sn(ve)), null))), [x, e, w, D, g]), dt = P(async (ne) => {
|
|
8996
8996
|
y && await Ce(y.masterReference ? { ...ne, [y.masterReferenceColumn ?? ""]: se } : ne) && (Y(h.editSuccess, "success"), O((ve) => ve && ve.map((Se) => {
|
|
8997
8997
|
var he;
|
|
8998
|
-
return ((he = Se[(y == null ? void 0 : y.primaryKey) ?? ""]) == null ? void 0 : he.value) === ne[(y == null ? void 0 : y.primaryKey) ?? ""] ?
|
|
8998
|
+
return ((he = Se[(y == null ? void 0 : y.primaryKey) ?? ""]) == null ? void 0 : he.value) === ne[(y == null ? void 0 : y.primaryKey) ?? ""] ? ki(ne, y) : Se;
|
|
8999
8999
|
})));
|
|
9000
9000
|
}, [Y, Ce, y, se, h]), G = P(async (ne) => {
|
|
9001
9001
|
await $(h.deleteConfirm) && await Le(ne) && (Y(h.deleteSuccess, "success"), O((ve) => ve && ve.filter((Se) => {
|
|
@@ -9008,7 +9008,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9008
9008
|
const ve = await He(y.masterReference ? { ...ne, [y.masterReferenceColumn ?? ""]: se } : ne);
|
|
9009
9009
|
if (ve !== null) {
|
|
9010
9010
|
Y(h.createSuccess, "success");
|
|
9011
|
-
const Se =
|
|
9011
|
+
const Se = ki(ne, y);
|
|
9012
9012
|
return Se[(y == null ? void 0 : y.primaryKey) ?? ""] = { value: ve, defaultValue: ve }, O((he) => [...he ?? [], Se]), !0;
|
|
9013
9013
|
}
|
|
9014
9014
|
return !1;
|
|
@@ -9112,8 +9112,8 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9112
9112
|
y != null && y.masterReference && !se ? /* @__PURE__ */ s.jsx(un, { variant: "warning", children: h.selectMaster(((Gt = (Qe = y.columns) == null ? void 0 : Qe.find((ne) => ne.field === y.masterReferenceColumn)) == null ? void 0 : Gt.caption) ?? "").toLowerCase() }) : /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
9113
9113
|
y && B.length > 0 && /* @__PURE__ */ s.jsx("div", { className: "mb-2", children: /* @__PURE__ */ s.jsx(jx, { errors: B, schema: y }) }),
|
|
9114
9114
|
y && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
9115
|
-
/* @__PURE__ */ s.jsx("div", { className: j("rounded border overflow-auto",
|
|
9116
|
-
U && t && /* @__PURE__ */ s.jsxs("div", { className: j(
|
|
9115
|
+
/* @__PURE__ */ s.jsx("div", { className: j("rounded border overflow-auto", Bi.tableContainer), children: /* @__PURE__ */ s.jsx(Xx, { schema: y, items: !U && k && (k == null ? void 0 : k.length) > z ? [] : (U ? pe : k) ?? [], onEditItem: dt, onDeleteItem: G, onCreateItem: A, filters: n, setFilter: a, sortByField: o, sortByType: i, setSortBy: l, selectedMaster: (se == null ? void 0 : se.toString()) ?? null, customPickers: b }) }),
|
|
9116
|
+
U && t && /* @__PURE__ */ s.jsxs("div", { className: j(Bi.pagination, "d-flex align-items-center gap-3 p-1 border-bottom border-start border-end rounded"), children: [
|
|
9117
9117
|
/* @__PURE__ */ s.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
|
|
9118
9118
|
/* @__PURE__ */ s.jsx(le, { color: "primary", onClick: () => J(1), disabled: !te, children: /* @__PURE__ */ s.jsx(m, { icon: "chevron-double-left" }) }),
|
|
9119
9119
|
/* @__PURE__ */ s.jsx(le, { color: "primary", onClick: () => J(t - 1), disabled: !te, children: /* @__PURE__ */ s.jsx(m, { icon: "chevron-left" }) }),
|
|
@@ -9133,11 +9133,11 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9133
9133
|
] })
|
|
9134
9134
|
] })
|
|
9135
9135
|
] });
|
|
9136
|
-
},
|
|
9136
|
+
}, Li = {
|
|
9137
9137
|
appDetail: "/settings/:id"
|
|
9138
|
-
},
|
|
9138
|
+
}, Fi = {
|
|
9139
9139
|
apiDynamicFormsGet: "/dynamicForms"
|
|
9140
|
-
}, Zx = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ s.jsx(St, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ s.jsx("div", { children: t }) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: t }), jw = ({ activeId: e, otherForms: t = [], groupsDefs: r = [], searchQuery: n, fullSize: a, appUrls: { appDetail: o =
|
|
9140
|
+
}, Zx = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ s.jsx(St, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ s.jsx("div", { children: t }) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: t }), jw = ({ activeId: e, otherForms: t = [], groupsDefs: r = [], searchQuery: n, fullSize: a, appUrls: { appDetail: o = Li.appDetail } = Li, apiUrls: { apiDynamicFormsGet: i = Fi.apiDynamicFormsGet } = Fi }) => {
|
|
9141
9141
|
const l = it(), { startLoading: c, stopLoading: p } = q(Zt), [d, u] = M(null), [f] = fs("search", ""), g = V(() => [
|
|
9142
9142
|
...(d == null ? void 0 : d.map((h) => ({
|
|
9143
9143
|
...h,
|
|
@@ -9200,7 +9200,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9200
9200
|
smSrc: l,
|
|
9201
9201
|
lgSrc: i
|
|
9202
9202
|
}
|
|
9203
|
-
], placeholder: r, ImgComponent:
|
|
9203
|
+
], placeholder: r, ImgComponent: ji }) : /* @__PURE__ */ s.jsx(ji, { baseUrl: n, customToken: o.cafmToken ?? void 0, src: l, alt: t, placeholder: r, className: "rounded w-100" }) }) });
|
|
9204
9204
|
}, Aw = ({ text: e, setText: t, onSearchButtonClick: r, className: n }) => {
|
|
9205
9205
|
const a = (o) => {
|
|
9206
9206
|
t(o);
|
|
@@ -9251,11 +9251,11 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9251
9251
|
/* @__PURE__ */ s.jsx(re, { variant: "caption", className: "text-end opacity-50", children: fd(i.lastUsedDate) })
|
|
9252
9252
|
] })
|
|
9253
9253
|
] }))) }) }) });
|
|
9254
|
-
},
|
|
9254
|
+
}, Vi = ({ reportVersion: e, getReportRoute: t, report: r }) => /* @__PURE__ */ s.jsx(fn, { as: ot, to: t(r, e.id), className: "p-1 px-2", action: !0, children: /* @__PURE__ */ s.jsx(re, { variant: "body2", className: "d-flex justify-content-between align-items-center gap-3", children: /* @__PURE__ */ s.jsx("div", { className: "link", children: e.name }) }) }), zr = 5, $i = ({ versionsList: e, getReportRoute: t, report: r }) => {
|
|
9255
9255
|
const { ProjectIconComponent: n } = q(de), [a, o] = M(!0), i = V(() => e.length <= zr ? e : e.slice(0, zr - 1), [e]), l = V(() => e.length <= zr ? [] : e.slice(zr - 1), [e]);
|
|
9256
9256
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs(Sa, { children: [
|
|
9257
|
-
i.map((c) => /* @__PURE__ */ s.jsx(
|
|
9258
|
-
a ? null : l.map((c) => /* @__PURE__ */ s.jsx(
|
|
9257
|
+
i.map((c) => /* @__PURE__ */ s.jsx(Vi, { reportVersion: c, getReportRoute: t, report: r })),
|
|
9258
|
+
a ? null : l.map((c) => /* @__PURE__ */ s.jsx(Vi, { reportVersion: c, getReportRoute: t, report: r })),
|
|
9259
9259
|
l.length > 0 && /* @__PURE__ */ s.jsx(fn, { onClick: () => o((c) => !c), className: "py-0 d-flex justify-content-center", children: a ? /* @__PURE__ */ s.jsx(n, { icon: "chevron-down" }) : /* @__PURE__ */ s.jsx(n, { icon: "chevron-up" }) })
|
|
9260
9260
|
] }) });
|
|
9261
9261
|
}, cy = ({ report: e, getReportRoute: t, getReportName: r, getReportDescription: n }) => {
|
|
@@ -9270,8 +9270,8 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9270
9270
|
children: [
|
|
9271
9271
|
/* @__PURE__ */ s.jsx(re, { variant: "body2", className: "px-2", children: n(e) }),
|
|
9272
9272
|
/* @__PURE__ */ s.jsxs(Pa, { className: "h-100 g-2", children: [
|
|
9273
|
-
e.versions && e.versions.length > 0 ? /* @__PURE__ */ s.jsx(tn, { ...a, children: /* @__PURE__ */ s.jsx(
|
|
9274
|
-
e.versionsCustom && e.versionsCustom.length > 0 ? /* @__PURE__ */ s.jsx(tn, { ...a, children: /* @__PURE__ */ s.jsx(
|
|
9273
|
+
e.versions && e.versions.length > 0 ? /* @__PURE__ */ s.jsx(tn, { ...a, children: /* @__PURE__ */ s.jsx($i, { versionsList: e.versions, getReportRoute: t, report: e }) }) : null,
|
|
9274
|
+
e.versionsCustom && e.versionsCustom.length > 0 ? /* @__PURE__ */ s.jsx(tn, { ...a, children: /* @__PURE__ */ s.jsx($i, { versionsList: e.versionsCustom, getReportRoute: t, report: e }) }) : null
|
|
9275
9275
|
] })
|
|
9276
9276
|
]
|
|
9277
9277
|
}
|
|
@@ -9304,7 +9304,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9304
9304
|
/* @__PURE__ */ s.jsx("div", { className: j(Ht.groupContent), children: /* @__PURE__ */ s.jsx("div", { className: j("row gx-3 gy-3"), children: g[h].map((m) => /* @__PURE__ */ s.jsx(cy, { report: m, getReportRoute: i, getReportName: n, getReportDescription: a })) }) })
|
|
9305
9305
|
] }, h)) })
|
|
9306
9306
|
] });
|
|
9307
|
-
}, dy = "_mini-detail-popover_obryf_1", uy = "_sm_obryf_5", py = "_lg_obryf_9",
|
|
9307
|
+
}, dy = "_mini-detail-popover_obryf_1", uy = "_sm_obryf_5", py = "_lg_obryf_9", Gi = {
|
|
9308
9308
|
"mini-detail-popover": "_mini-detail-popover_obryf_1",
|
|
9309
9309
|
miniDetailPopover: dy,
|
|
9310
9310
|
sm: uy,
|
|
@@ -9339,7 +9339,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9339
9339
|
/* @__PURE__ */ s.jsx("span", { className: "placeholder col-5" }),
|
|
9340
9340
|
/* @__PURE__ */ s.jsx("span", { className: "placeholder col-4" })
|
|
9341
9341
|
] })
|
|
9342
|
-
] }) : d }), placement: n, trigger: a, popoverClassName: j(
|
|
9342
|
+
] }) : d }), placement: n, trigger: a, popoverClassName: j(Gi.miniDetailPopover, Gi[f]), children: /* @__PURE__ */ s.jsx("div", { children: e }) }) : /* @__PURE__ */ s.jsx(s.Fragment, { children: e }) });
|
|
9343
9343
|
}, Lw = ({ label: e, value: t }) => /* @__PURE__ */ s.jsxs("div", { className: "py-1 border-bottom d-flex gap-3 align-items-center justify-content-between", children: [
|
|
9344
9344
|
/* @__PURE__ */ s.jsx(re, { variant: "caption", children: e }),
|
|
9345
9345
|
/* @__PURE__ */ s.jsx(re, { variant: "body2", className: "text-end", children: t ?? "-" })
|
|
@@ -9504,7 +9504,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9504
9504
|
return W(() => {
|
|
9505
9505
|
i(Object.keys(n.dirtyFields).length > 0);
|
|
9506
9506
|
}, [n]), o ? /* @__PURE__ */ s.jsx(su, { onStorno: t, noSpacer: r, disabled: a, children: e }) : null;
|
|
9507
|
-
},
|
|
9507
|
+
}, Wi = ({ InputContainer: e = Xe, options: t, formField: r, label: n, size: a, resetsFields: o, isNumber: i, required: l, hidden: c, disabled: p, withoutLabel: d, noSortOptions: u, suffixIdToName: f, onSelect: g, className: v, appendCurrentSelectionWithName: b, hint: h, addNewOptionPath: m, refreshOptions: x, MiniDetailComponent: w, miniDetailPlacement: D, selectedItemNavigateTo: y }) => {
|
|
9508
9508
|
const { texts: { customSelect: C } } = q(de), { formState: I, setValue: O, watch: E, control: T } = It(), k = Et({ falseIfNotInit: !0 }), [L, S] = M(void 0), [Q, Y] = M(!1), [B, R] = M(!1), [$, F] = M(""), z = E(r), K = V(() => t.find((_) => _.id === z) ?? null, [t, z]), te = P(() => {
|
|
9509
9509
|
const _ = r.split(".");
|
|
9510
9510
|
let fe = I.errors;
|
|
@@ -9563,7 +9563,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9563
9563
|
L && /* @__PURE__ */ s.jsx(Vt, { message: L.message }),
|
|
9564
9564
|
De.current && /* @__PURE__ */ s.jsx(Da, { show: Q, onCancel: () => Y(!1), items: se, currentSelection: K ?? null, onSelectionChange: oe, onSearchQueryChange: H, texts: C, disabled: U, inputRef: De, autoHideSearch: !0, allItemsLength: t.length, addNewOptionPath: m, refreshOptions: x })
|
|
9565
9565
|
] }) });
|
|
9566
|
-
},
|
|
9566
|
+
}, Uw = ({ InputContainer: e = Xe, formField: t, label: r, placeholder: n, size: a, resetsFields: o, showClearIcon: i, clearValue: l, required: c, hidden: p, disabled: d, withoutLabel: u, step: f, stepperStep: g = 1, className: v, min: b, max: h, onChange: m, hint: x }) => {
|
|
9567
9567
|
const { register: w, formState: D, setValue: y, watch: C } = It(), I = Et({ falseIfNotInit: !0 }), [O, E] = M(void 0), [T, k] = M(!1), L = P(($, F, z) => {
|
|
9568
9568
|
y($, pr(F, b, h), z);
|
|
9569
9569
|
}, [h, b, y]), S = P(() => {
|
|
@@ -9606,7 +9606,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9606
9606
|
i && C(t) && /* @__PURE__ */ s.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ s.jsx(le, { color: "secondary", size: "sm", onClick: S, children: /* @__PURE__ */ s.jsx(Nt, {}) }) }),
|
|
9607
9607
|
O && /* @__PURE__ */ s.jsx(Vt, { message: O.message })
|
|
9608
9608
|
] });
|
|
9609
|
-
},
|
|
9609
|
+
}, Hw = ({ InputContainer: e = Xe, formField: t, label: r, placeholder: n, resetsFields: a, showClearIcon: o, clearValue: i, required: l, hidden: c, disabled: p, withoutLabel: d, step: u, size: f, CustomOnChangeComponent: g, noSelectOnFocus: v, className: b, decimalScale: h = 2, fixedDecimalScale: m = !1, numberPrefix: x, numberSuffix: w, min: D, max: y, onChange: C, hint: I }) => {
|
|
9610
9610
|
const { formState: O, setValue: E, watch: T, control: k } = It(), L = Et({ falseIfNotInit: !0 }), [S, Q] = M(void 0), [Y, B] = M(!1), R = P(() => {
|
|
9611
9611
|
const te = i ?? null;
|
|
9612
9612
|
E(t, te !== null ? Number(te) : null, {
|
|
@@ -9699,7 +9699,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9699
9699
|
return W(() => {
|
|
9700
9700
|
v.reset(g);
|
|
9701
9701
|
}, [g, v]), { formSchema: f, onSubmit: b, formMethods: v };
|
|
9702
|
-
},
|
|
9702
|
+
}, zw = ({ indexRoute: e }) => {
|
|
9703
9703
|
var D;
|
|
9704
9704
|
const { id: t } = ps(), { user: r } = q(Ct), n = it(), a = gn(), { confirm: o } = Pr(), { texts: { substitutions: { detail: i } } } = q(de), { data: l } = ct(`/permissions/substitutions/${t}`, {
|
|
9705
9705
|
enabled: t !== void 0
|
|
@@ -9712,16 +9712,16 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
9712
9712
|
] }), children: /* @__PURE__ */ s.jsx(Rd, { ...d, children: /* @__PURE__ */ s.jsx(Id, { disabled: h, children: /* @__PURE__ */ s.jsxs(Oe, { onSubmit: d.handleSubmit(p), className: "h-100", children: [
|
|
9713
9713
|
/* @__PURE__ */ s.jsxs(Pa, { className: "h-100", children: [
|
|
9714
9714
|
/* @__PURE__ */ s.jsx(tn, { sm: 12, md: 4, children: /* @__PURE__ */ s.jsxs(nn, { title: i.title, children: [
|
|
9715
|
-
/* @__PURE__ */ s.jsx(
|
|
9715
|
+
/* @__PURE__ */ s.jsx(Wi, { formField: "employeeId", options: (c == null ? void 0 : c.map((y) => ({
|
|
9716
9716
|
id: y.employeeId,
|
|
9717
9717
|
name: `${y.employeeName} (${y.name})`
|
|
9718
9718
|
}))) ?? [], label: i.employee, isNumber: !0, required: !0, disabled: !v(["ZASTUP_MODIFY"]), resetsFields: ["roles"] }),
|
|
9719
|
-
/* @__PURE__ */ s.jsx(
|
|
9719
|
+
/* @__PURE__ */ s.jsx(Wi, { formField: "substituteId", options: (c == null ? void 0 : c.map((y) => ({
|
|
9720
9720
|
id: y.employeeId,
|
|
9721
9721
|
name: `${y.employeeName} (${y.name})`
|
|
9722
9722
|
}))) ?? [], label: i.substitute, isNumber: !0, required: !0 }),
|
|
9723
|
-
/* @__PURE__ */ s.jsx(
|
|
9724
|
-
/* @__PURE__ */ s.jsx(
|
|
9723
|
+
/* @__PURE__ */ s.jsx(go, { formField: "from", label: i.from, type: "date", required: !0 }),
|
|
9724
|
+
/* @__PURE__ */ s.jsx(go, { formField: "to", label: i.to, type: "date", required: !0 })
|
|
9725
9725
|
] }) }),
|
|
9726
9726
|
/* @__PURE__ */ s.jsx(tn, { sm: 12, md: 4, children: /* @__PURE__ */ s.jsxs(nn, { title: i.roles(`${(m == null ? void 0 : m.length) ?? 0}/${(x == null ? void 0 : x.length) ?? 0}`), className: "h-max-100", contentClassName: "d-flex flex-column overflow-hidden", children: [
|
|
9727
9727
|
h ? null : /* @__PURE__ */ s.jsx("div", { className: "bg-darker", style: {
|
|
@@ -10006,7 +10006,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10006
10006
|
n(o);
|
|
10007
10007
|
});
|
|
10008
10008
|
}, [t, e]), { mappings: r };
|
|
10009
|
-
},
|
|
10009
|
+
}, qw = ({ reportType: e, title: t, data: r, filterElements: n, getReportRoute: a, localization: o, licenseKey: i, EmployeePicker: l, localizationJsonFile: c, localizationTransformer: p, hyperlinkColumn: d }) => {
|
|
10010
10010
|
const { texts: { reports: u } } = q(de), { confirm: f } = Pr(), g = gn(), [v] = _d(), { id: b } = ps(), h = V(() => b === void 0 ? null : Number(b), [b]), m = P((H) => {
|
|
10011
10011
|
const U = H === null ? "" : H.toString();
|
|
10012
10012
|
g(hr(a(e), { id: U }) + "?" + v.toString(), {
|
|
@@ -10077,7 +10077,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10077
10077
|
}
|
|
10078
10078
|
) : null
|
|
10079
10079
|
] });
|
|
10080
|
-
},
|
|
10080
|
+
}, Yw = ({ cell: { value: e } }) => /* @__PURE__ */ s.jsx(s.Fragment, { children: e ? /* @__PURE__ */ s.jsx(is, { name: e, size: 21, fontSize: 12 }) : /* @__PURE__ */ s.jsx(s.Fragment, {}) }), Dy = ({ knownTypes: e, typeFilters: t, onChangeTypeFilters: r }) => /* @__PURE__ */ s.jsx("div", { className: "mb-1 d-flex justify-content-center gap-2", children: e.map((n) => /* @__PURE__ */ s.jsx("div", { role: "button", style: {
|
|
10081
10081
|
height: "14px",
|
|
10082
10082
|
width: "14px",
|
|
10083
10083
|
borderRadius: "50%",
|
|
@@ -10109,8 +10109,8 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10109
10109
|
return /* @__PURE__ */ s.jsxs("div", { className: "h-100 d-flex flex-column overflow-hidden", children: [
|
|
10110
10110
|
/* @__PURE__ */ s.jsx(Dy, { knownTypes: Yi, typeFilters: l, onChangeTypeFilters: (d) => c(d) }),
|
|
10111
10111
|
t && /* @__PURE__ */ s.jsxs("div", { className: "p-3 w-100", children: [
|
|
10112
|
-
/* @__PURE__ */ s.jsx(ft, { as:
|
|
10113
|
-
/* @__PURE__ */ s.jsxs(ft, { as:
|
|
10112
|
+
/* @__PURE__ */ s.jsx(ft, { as: No.Title, animation: "glow", children: /* @__PURE__ */ s.jsx(ft, { xs: 6 }) }),
|
|
10113
|
+
/* @__PURE__ */ s.jsxs(ft, { as: No.Text, animation: "glow", children: [
|
|
10114
10114
|
/* @__PURE__ */ s.jsx(ft, { xs: 7 }),
|
|
10115
10115
|
" ",
|
|
10116
10116
|
/* @__PURE__ */ s.jsx(ft, { xs: 4 }),
|
|
@@ -10130,7 +10130,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10130
10130
|
}, Xn = {
|
|
10131
10131
|
apiGet: "/messageBoard",
|
|
10132
10132
|
apiDelete: "/messageBoard/"
|
|
10133
|
-
},
|
|
10133
|
+
}, Kw = ({ renderAsNotifPanel: e, notifIcon: t, apiUrls: { apiGet: r = Xn.apiGet, apiDelete: n = Xn.apiDelete } = Xn, getIcon: a, getLinksTo: o }) => {
|
|
10134
10134
|
const l = it(), [c, p] = M([]), [d, u] = M(!1), [f, g] = M(!1), [v, b] = M(!1), h = P(async () => {
|
|
10135
10135
|
g(!0), await l.get(r).then(({ data: y }) => {
|
|
10136
10136
|
p(y), u(!0), g(!1);
|
|
@@ -10155,7 +10155,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10155
10155
|
/* @__PURE__ */ s.jsx(le, { size: "md", onClick: () => b(!v), children: t }),
|
|
10156
10156
|
w > 0 && /* @__PURE__ */ s.jsx("div", { className: "badge rounded-pill bg-danger p-1 px-2 text-white", style: { position: "absolute", top: "-6px", right: "-10px", fontSize: "10px" }, children: w })
|
|
10157
10157
|
] }),
|
|
10158
|
-
/* @__PURE__ */ s.jsx(
|
|
10158
|
+
/* @__PURE__ */ s.jsx(Co, { show: v, onHide: () => b(!1), placement: "end", children: /* @__PURE__ */ s.jsx(Co.Body, { children: /* @__PURE__ */ s.jsx(Ki, { messages: c, isLoading: D, onDeleteMessage: x, onClickMessage: () => b(!1), getIcon: a, getLinksTo: o }) }) })
|
|
10159
10159
|
] }) : /* @__PURE__ */ s.jsx(Ki, { messages: c, isLoading: D, onDeleteMessage: x, getIcon: a, getLinksTo: o });
|
|
10160
10160
|
}, Cy = "_tab-panel_d8l8q_1", Ey = "_full-height-no-overflow_d8l8q_5", Iy = "_disabled_d8l8q_12", Jn = {
|
|
10161
10161
|
"tab-panel": "_tab-panel_d8l8q_1",
|
|
@@ -10163,7 +10163,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10163
10163
|
"full-height-no-overflow": "_full-height-no-overflow_d8l8q_5",
|
|
10164
10164
|
fullHeightNoOverflow: Ey,
|
|
10165
10165
|
disabled: Iy
|
|
10166
|
-
},
|
|
10166
|
+
}, Xw = ({ eventKey: e, activeTab: t, fullHeightNoOverflow: r, disabled: n, className: a, children: o }) => e !== t ? null : /* @__PURE__ */ s.jsx("div", { className: j("luminus-tab-panel", Jn.tabPanel, { [Jn.fullHeightNoOverflow]: r }, { disabled: n }, { [Jn.disabled]: n }, a), children: o }), jy = "_join-line_1q9e8_1", Oy = {
|
|
10167
10167
|
"join-line": "_join-line_1q9e8_1",
|
|
10168
10168
|
joinLine: jy
|
|
10169
10169
|
}, _y = ({ activeTab: e, onSelect: t, children: r, vertical: n, verticalStepper: a }) => /* @__PURE__ */ s.jsx("div", { className: j("luminus-tabs d-flex mb-2", { "gap-1": !a }, { "gap-0": a }, {
|
|
@@ -10185,7 +10185,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10185
10185
|
vertical: Ay
|
|
10186
10186
|
}, Ry = ({ eventKey: e, className: t, onClick: r, disabled: n, vertical: a, children: o }) => /* @__PURE__ */ s.jsx("div", { role: "button", className: j("luminus-tab text-primary rounded", Qn.tab, t, {
|
|
10187
10187
|
disabled: n
|
|
10188
|
-
}, { [Qn.disabled]: n }, { vertical: a }, { [Qn.vertical]: a }), onClick: () => r && !n && r(e), children: typeof o == "string" ? /* @__PURE__ */ s.jsx(re, { variant: a ? "body" : "h6", className: a ? "" : "text-primary", children: o }) : o }),
|
|
10188
|
+
}, { [Qn.disabled]: n }, { vertical: a }, { [Qn.vertical]: a }), onClick: () => r && !n && r(e), children: typeof o == "string" ? /* @__PURE__ */ s.jsx(re, { variant: a ? "body" : "h6", className: a ? "" : "text-primary", children: o }) : o }), Jw = ({ tabs: e, activeTab: t, onSelect: r, ...n }) => {
|
|
10189
10189
|
var i;
|
|
10190
10190
|
const { ProjectIconComponent: a } = q(de), { isMobile: o } = pn();
|
|
10191
10191
|
return o ? /* @__PURE__ */ s.jsx(Jt, { toggle: /* @__PURE__ */ s.jsx(Qt, { as: Or, text: ((i = e.find((l) => l.id === t)) == null ? void 0 : i.name) ?? "", icon: /* @__PURE__ */ s.jsx(a, { icon: "chevron-down" }) }), ...n, children: e.map((l) => /* @__PURE__ */ s.jsx(et, { onClick: () => r(l.id), children: l.name }, l.id)) }) : /* @__PURE__ */ s.jsx(_y, { activeTab: t, onSelect: (l) => r(l), ...n, children: e.map((l) => /* @__PURE__ */ s.jsx(Ry, { eventKey: l.id, children: l.name }, l.id)) });
|
|
@@ -10238,7 +10238,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10238
10238
|
] }) }) }),
|
|
10239
10239
|
/* @__PURE__ */ s.jsx(Fy, { shortcutLink: e, IconComponent: t, IconTypeArray: r, editShortcutLink: n })
|
|
10240
10240
|
] }) });
|
|
10241
|
-
},
|
|
10241
|
+
}, Qw = ({ IconComponent: e, IconTypeArray: t }) => {
|
|
10242
10242
|
const { texts: r } = q(de), { shortcutLinks: n, editShortcutLink: a, deleteShortcutLink: o } = sc();
|
|
10243
10243
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: n !== null && n.length > 0 ? /* @__PURE__ */ s.jsxs(iu, { title: r.shortcutLinks.shortcutLinksSetting, children: [
|
|
10244
10244
|
/* @__PURE__ */ s.jsx("thead", { className: "fw-bold", children: /* @__PURE__ */ s.jsxs("tr", { children: [
|
|
@@ -10285,7 +10285,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10285
10285
|
/* @__PURE__ */ s.jsx(St, { text: o.shortcutLinks.addShortcut, placement: "bottom", children: /* @__PURE__ */ s.jsx("button", { type: "button", className: j(qt.linkButton, qt.linkAddButton), onClick: () => l(!0), children: /* @__PURE__ */ s.jsx(a, { icon: "add" }) }) }),
|
|
10286
10286
|
(i || c) && /* @__PURE__ */ s.jsx(Hy, { IconComponent: e, IconTypeArray: t, closeModal: () => l(!1), createLink: n, isOpen: i, pageTitlePrefix: r })
|
|
10287
10287
|
] });
|
|
10288
|
-
},
|
|
10288
|
+
}, Zw = ({ IconComponent: e, IconTypeArray: t, pageTitlePrefix: r }) => {
|
|
10289
10289
|
const { shortcutLinks: n, createShortcutLink: a } = sc(), o = V(() => n !== null && n.length < fa, [n]);
|
|
10290
10290
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: /* @__PURE__ */ s.jsxs("div", { className: "d-flex gap-2", children: [
|
|
10291
10291
|
n == null ? void 0 : n.slice(0, fa).map((i, l) => i !== null ? /* @__PURE__ */ s.jsx(Uy, { shortcutLink: i, IconComponent: e }, l) : null),
|
|
@@ -10323,7 +10323,7 @@ const yw = ({ InputContainer: e = _r, value: t, onChange: r, debounceMs: n, labe
|
|
|
10323
10323
|
if (e == null)
|
|
10324
10324
|
throw new Error("Tried to make operation on null shortcutLinks.");
|
|
10325
10325
|
return e;
|
|
10326
|
-
},
|
|
10326
|
+
}, eD = ({ children: e, referenceId: t }) => {
|
|
10327
10327
|
const { user: r } = q(Ct), n = P((g) => g.map((v) => ({ id: v.id, icon: v.icon, name: v.name, url: v.url })), []), { data: a, reloadData: o } = ct(`/dynamicForms/lookup-data-all?referenceId=${t}&employee=${r == null ? void 0 : r.personalNumber}`, {
|
|
10328
10328
|
silent: !0,
|
|
10329
10329
|
dataTransformer: n,
|
|
@@ -10362,7 +10362,7 @@ export {
|
|
|
10362
10362
|
qx as ColumnResizer,
|
|
10363
10363
|
gt as ContextButton,
|
|
10364
10364
|
Ow as DisabledRowLabelLink,
|
|
10365
|
-
|
|
10365
|
+
nD as Documents,
|
|
10366
10366
|
Jt as Dropdown,
|
|
10367
10367
|
dd as DropdownDivider,
|
|
10368
10368
|
et as DropdownItem,
|
|
@@ -10371,7 +10371,7 @@ export {
|
|
|
10371
10371
|
Iw as DynamicForm,
|
|
10372
10372
|
Tw as EmployeeSmallPhoto,
|
|
10373
10373
|
hu as ErrorBoundary,
|
|
10374
|
-
|
|
10374
|
+
aD as FileExtensionIcon,
|
|
10375
10375
|
cw as FileUploadButton,
|
|
10376
10376
|
Rs as FileUploadContextButton,
|
|
10377
10377
|
pw as FileUploadDropdownItem,
|
|
@@ -10385,24 +10385,24 @@ export {
|
|
|
10385
10385
|
Gw as HookFormDropdownPicker,
|
|
10386
10386
|
Ww as HookFormFileInput,
|
|
10387
10387
|
fy as HookFormFloatingSubmit,
|
|
10388
|
-
|
|
10389
|
-
|
|
10388
|
+
Uw as HookFormNumericStepperInput,
|
|
10389
|
+
Hw as HookFormNumericTextInput,
|
|
10390
10390
|
$w as HookFormRadioInput,
|
|
10391
|
-
|
|
10392
|
-
|
|
10393
|
-
|
|
10391
|
+
Wi as HookFormSelectInput,
|
|
10392
|
+
oD as HookFormTextAreaInput,
|
|
10393
|
+
go as HookFormTextInput,
|
|
10394
10394
|
ry as HrWithText,
|
|
10395
10395
|
gd as HtmlTooltip,
|
|
10396
10396
|
le as IconButton,
|
|
10397
10397
|
ic as IconPicker,
|
|
10398
|
-
|
|
10398
|
+
ji as ImgApi,
|
|
10399
10399
|
Xl as ImgDirect,
|
|
10400
10400
|
Vt as InvalidFeedback,
|
|
10401
10401
|
_w as LanguageSwitch,
|
|
10402
10402
|
Ew as LineChart,
|
|
10403
|
-
|
|
10403
|
+
mo as Loading,
|
|
10404
10404
|
Vd as LoadingBlock,
|
|
10405
|
-
|
|
10405
|
+
Kw as MessageBoard,
|
|
10406
10406
|
Mw as MiniDetailTooltip,
|
|
10407
10407
|
Lw as MiniDetailValueItem,
|
|
10408
10408
|
uu as MonthPicker,
|
|
@@ -10411,40 +10411,40 @@ export {
|
|
|
10411
10411
|
Rw as NumericFormat,
|
|
10412
10412
|
xw as NumericStepperInput,
|
|
10413
10413
|
yw as NumericTextInput,
|
|
10414
|
-
|
|
10414
|
+
zw as PermissionSubstituteDetail,
|
|
10415
10415
|
Fw as PermissionSubstituteTable,
|
|
10416
10416
|
Ab as PhotoLibrary,
|
|
10417
10417
|
Tb as PhotoLightbox,
|
|
10418
10418
|
Cw as PieChart,
|
|
10419
10419
|
Qr as PrimaryButton,
|
|
10420
10420
|
ww as RadioInput,
|
|
10421
|
-
|
|
10421
|
+
qw as ReportPage,
|
|
10422
10422
|
Bw as ReportsIndexPage,
|
|
10423
10423
|
Xc as ResponsiveContextDropdown,
|
|
10424
10424
|
Jc as ResponsiveContextDropdownItem,
|
|
10425
|
-
|
|
10425
|
+
Jw as ResponsiveTabs,
|
|
10426
10426
|
Xe as RowLabelInput,
|
|
10427
10427
|
Aw as SearchBox,
|
|
10428
10428
|
en as SelectInput,
|
|
10429
10429
|
jw as SettingsFormPicker,
|
|
10430
|
-
|
|
10431
|
-
|
|
10432
|
-
|
|
10430
|
+
Zw as ShortcutLinks,
|
|
10431
|
+
eD as ShortcutLinksProvider,
|
|
10432
|
+
Qw as ShortcutLinksSetup,
|
|
10433
10433
|
Da as SimplePicker,
|
|
10434
10434
|
Or as SimpleToggle,
|
|
10435
10435
|
St as SimpleTooltip,
|
|
10436
10436
|
Ry as Tab,
|
|
10437
|
-
|
|
10437
|
+
Xw as TabPanel,
|
|
10438
10438
|
_y as Tabs,
|
|
10439
10439
|
bw as TextAreaInput,
|
|
10440
10440
|
bt as TextInput,
|
|
10441
10441
|
mw as Timeline,
|
|
10442
10442
|
Pw as TypedFormGroup,
|
|
10443
10443
|
re as Typography,
|
|
10444
|
-
|
|
10445
|
-
|
|
10444
|
+
iD as UserAvatarToggle,
|
|
10445
|
+
Yw as UserAvatarValueFormat,
|
|
10446
10446
|
vw as VersionInfo,
|
|
10447
|
-
|
|
10447
|
+
jo as WidgetCard,
|
|
10448
10448
|
gu as YearPicker,
|
|
10449
10449
|
Sw as YearPickerSearchParams,
|
|
10450
10450
|
sc as useShortcutLinksContext
|