react-luminus-components 1.4.46 → 1.4.48

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/main.es.js CHANGED
@@ -1,8 +1,8 @@
1
- import { j as o, c as _, t as Re, s as jo, g as Co, m as Cc, d as an, a as Sc, b as Ec, e as wt, f as Ca, h as Ic, i as _c, k as Oc, l as Pc, n as Tc, o as Ac, p as Rc, T as us, q as ps, r as So, E as kc, u as fs, v as Sa, w as ms, x as Bc, y as Te, z as Ea, F as gs, A as Mc, B as Lc, C as Fc, D as Vc, M as $c, G as Gc, H as Wc, I as Uc, J as Hc, K as zc, L as sa, N as qc, O as Yc, P as J, Q as Gt, R as Kc, S as Xc, U as Qc, V as Wt, W as te, X as Ia, Y as Pe, Z as _a, _ as Jc, $ as ht, a0 as Zc, a1 as _e, a2 as Y, a3 as ar, a4 as it, a5 as Oa, a6 as Pa, a7 as vs, a8 as Ta, a9 as Ot, aa as hs, ab as bs, ac as Oe, ad as bt, ae as zt, af as la, ag as ed, ah as ut, ai as td, aj as rd, ak as nd, al as or, am as ft, an as Pt, ao as ir, ap as Aa, aq as Sr, ar as xn, as as Er, at as ad, au as od, av as id, aw as sr, ax as lr, ay as Fr, az as at, aA as xs, aB as Ut, aC as Ue, aD as It, aE as yn, aF as ys, aG as nt, aH as Ra, aI as st, aJ as sd, aK as ws, aL as ca, aM as ld, aN as cd, aO as dd, aP as ud, aQ as Ns, aR as pd, aS as fd, aT as md, aU as gd, aV as dt, aW as vd, aX as hd, aY as cn, aZ as ne, a_ as Ds, a$ as bd, b0 as xd, b1 as yd, b2 as js, b3 as Cs, b4 as wd, b5 as Nd, b6 as Dd, b7 as jd, b8 as Cd, b9 as Sd, ba as jt, bb as Ed, bc as Id, bd as _d, be as Od, bf as Pd, bg as Ss, bh as Td, bi as Pn, bj as Ad, bk as Kt, bl as Rd, bm as kd, bn as Es, bo as dn, bp as Bd, bq as Is, br as qr, bs as Md, bt as _s, bu as Tn, bv as Ld, bw as Fd } from "./nivo-bar.es-CZIO12ob.js";
2
- import { bz as gD, bx as vD, by as hD } from "./nivo-bar.es-CZIO12ob.js";
1
+ import { j as o, c as _, t as Re, s as jo, g as Co, m as Cc, d as an, a as Sc, b as Ec, e as wt, f as Ca, h as Ic, i as _c, k as Oc, l as Pc, n as Tc, o as Ac, p as Rc, T as us, q as ps, r as So, E as kc, u as fs, v as Sa, w as ms, x as Bc, y as Te, z as Ea, F as gs, A as Mc, B as Lc, C as Fc, D as Vc, M as $c, G as Gc, H as Wc, I as Uc, J as Hc, K as zc, L as sa, N as qc, O as Yc, P as J, Q as Gt, R as Kc, S as Xc, U as Wt, V as te, W as Ia, X as Pe, Y as _a, Z as ht, _ as Qc, $ as _e, a0 as Y, a1 as ar, a2 as it, a3 as Oa, a4 as Pa, a5 as vs, a6 as Ta, a7 as Ot, a8 as hs, a9 as bs, aa as Oe, ab as bt, ac as zt, ad as la, ae as Jc, af as ut, ag as Zc, ah as ed, ai as td, aj as or, ak as ft, al as Pt, am as ir, an as Aa, ao as Sr, ap as xn, aq as Er, ar as rd, as as nd, at as ad, au as sr, av as lr, aw as Fr, ax as at, ay as xs, az as Ut, aA as Ue, aB as It, aC as yn, aD as ys, aE as nt, aF as Ra, aG as st, aH as od, aI as ws, aJ as ca, aK as id, aL as sd, aM as ld, aN as cd, aO as Ns, aP as dd, aQ as ud, aR as pd, aS as fd, aT as dt, aU as md, aV as gd, aW as cn, aX as ne, aY as Ds, aZ as vd, a_ as hd, a$ as bd, b0 as js, b1 as Cs, b2 as xd, b3 as yd, b4 as wd, b5 as Nd, b6 as Dd, b7 as jd, b8 as jt, b9 as Cd, ba as Sd, bb as Ed, bc as Id, bd as _d, be as Ss, bf as Od, bg as Pn, bh as Pd, bi as Kt, bj as Td, bk as Ad, bl as Es, bm as dn, bn as Rd, bo as Is, bp as qr, bq as kd, br as _s, bs as Tn, bt as Bd, bu as Md } from "./nivo-bar.es-DRPYhamY.js";
2
+ import { bx as gD, bv as vD, bw as hD } from "./nivo-bar.es-DRPYhamY.js";
3
3
  import * as Se from "react";
4
- import le, { useCallback as P, useMemo as M, useState as k, useRef as re, useEffect as q, useContext as z, useId as Vd, Component as $d, isValidElement as Eo, Suspense as Gd, useLayoutEffect as ka, useReducer as Wd, Fragment as Ud } from "react";
5
- import { c as gt, L as Io, F as Hd } from "./FormDisabledProvider-CRvfN8Ti.js";
4
+ import le, { useCallback as P, useMemo as M, useState as k, useRef as re, useEffect as q, useContext as z, useId as Ld, Component as Fd, isValidElement as Eo, Suspense as Vd, useLayoutEffect as ka, useReducer as $d, Fragment as Gd } from "react";
5
+ import { c as gt, a as Wd, b as Ud, L as Io, F as Hd } from "./FormDisabledProvider-DFgDxFs5.js";
6
6
  import { InteractionType as zd } from "@azure/msal-browser";
7
7
  import { MsalAuthenticationTemplate as qd } from "@azure/msal-react";
8
8
  import { useNavigate as wn, Link as Ze, useSearchParams as Yd, useParams as Os, generatePath as er, useLocation as Kd, Navigate as Yr } from "react-router-dom";
@@ -10,7 +10,7 @@ import Ir, { unstable_batchedUpdates as Xd } from "react-dom";
10
10
  import { useFormContext as xt, Controller as Ba, useForm as Qd, FormProvider as Jd } from "react-hook-form";
11
11
  import { Pivot as Zd } from "react-flexmonster";
12
12
  import { u as eu, a as tu, b as Ma, c as ru } from "./useRenderDraggableInPortal-D0OLp7Qb.js";
13
- import { u as pt, a as da } from "./useLocalStorageState-Di1g3-X5.js";
13
+ import { u as pt, a as da } from "./useLocalStorageState-C3TjznAr.js";
14
14
  import { l as Nr, g as _o } from "./apiPathUtils-DiqvB8mF.js";
15
15
  const mN = ({ fileLoader: e, fileName: t, children: r }) => {
16
16
  const n = P(async () => {
@@ -738,7 +738,7 @@ const Du = /* @__PURE__ */ Se.forwardRef(({
738
738
  } finally {
739
739
  l.target.value = "";
740
740
  }
741
- }, [e]), s = Vd();
741
+ }, [e]), s = Ld();
742
742
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
743
743
  /* @__PURE__ */ o.jsx("label", { htmlFor: s, className: _("btn luminus-context-button text-primary", `btn-${a}`, n), children: r }),
744
744
  /* @__PURE__ */ o.jsx("input", { id: s, type: "file", accept: t, onChange: i, hidden: !0 })
@@ -749,7 +749,7 @@ const Du = /* @__PURE__ */ Se.forwardRef(({
749
749
  lg: Eu
750
750
  }, Iu = ({ month: e, onChangeMonth: t, locale: r, yearMin: n = 2e3, yearMax: a = 2050, className: i, monthClassName: s, yearClassName: l, size: c }) => {
751
751
  const u = P((f) => {
752
- const m = Qc(e, f);
752
+ const m = Wd(e, f);
753
753
  m.getFullYear() < n || m.getFullYear() > a || t(m);
754
754
  }, [e, t, n, a]), d = M(() => {
755
755
  const f = [];
@@ -804,7 +804,7 @@ const Du = /* @__PURE__ */ Se.forwardRef(({
804
804
  }
805
805
  } else {
806
806
  const d = e.getFullYear() + u;
807
- d >= i && d <= s && t(Jc(e, u));
807
+ d >= i && d <= s && t(Ud(e, u));
808
808
  }
809
809
  }, [e, t, s, i, a, l]);
810
810
  return /* @__PURE__ */ o.jsxs("div", { className: _("d-flex flex-row align-items-center m-0", n === "standart" ? "card p-1 gap-2" : void 0, n === "minimalist" ? "p-0 gap-0" : void 0, r ?? ""), children: [
@@ -816,7 +816,7 @@ const Du = /* @__PURE__ */ Se.forwardRef(({
816
816
  /* @__PURE__ */ o.jsx(te, { onClick: () => c(1), disabled: e.getFullYear() >= s, children: /* @__PURE__ */ o.jsx(_a, {}) })
817
817
  ] });
818
818
  };
819
- class Tu extends $d {
819
+ class Tu extends Fd {
820
820
  constructor(t) {
821
821
  super(t), this.state = { hasError: !1, is404Error: !1 }, this.reload = this.reload.bind(this);
822
822
  }
@@ -864,7 +864,7 @@ const Au = (e) => (r) => {
864
864
  widgetCard: ku
865
865
  }, $o = ({ children: e, title: t, headerContent: r }) => /* @__PURE__ */ o.jsx(pn, { className: _(Bu.widgetCard, "luminus-widget"), title: t, headerContent: r, contentClassName: "h-100 overflow-auto", children: e }), Mu = ({ children: e, title: t }) => {
866
866
  const { texts: { widget: r } } = z(J), n = wn();
867
- return /* @__PURE__ */ o.jsx(Ru, { fallback: /* @__PURE__ */ o.jsx($o, { title: t, children: r.fallbackError }), reloadButtonDisplay: "inject-to-child", navigateBack: () => n(-1), children: /* @__PURE__ */ o.jsx(Gd, { fallback: /* @__PURE__ */ o.jsx($o, { title: t, children: /* @__PURE__ */ o.jsx(nu, {}) }), children: e }) });
867
+ return /* @__PURE__ */ o.jsx(Ru, { fallback: /* @__PURE__ */ o.jsx($o, { title: t, children: r.fallbackError }), reloadButtonDisplay: "inject-to-child", navigateBack: () => n(-1), children: /* @__PURE__ */ o.jsx(Vd, { fallback: /* @__PURE__ */ o.jsx($o, { title: t, children: /* @__PURE__ */ o.jsx(nu, {}) }), children: e }) });
868
868
  }, Go = {
869
869
  "eon-red": "#ea1b0a",
870
870
  "eon-yellow": "#c3c000",
@@ -949,7 +949,7 @@ const Au = (e) => (r) => {
949
949
  eyeRadius: { inner: 100, outer: 100 },
950
950
  qrStyle: "dots"
951
951
  }
952
- }, Fu = Lu, Vu = ({ value: e, qrRef: t, variant: r = "blackRedEyes" }) => /* @__PURE__ */ o.jsx(Zc, { ref: t, value: e, eyeColor: Go["eon-red"], fgColor: Go["eon-turquoise"], logoHeight: 32, logoWidth: 32, removeQrCodeBehindLogo: !0, logoPadding: 5, logoPaddingStyle: "circle", ecLevel: "Q", ...Fu[r] }), $u = ({ value: e, contactType: t, className: r }) => {
952
+ }, Fu = Lu, Vu = ({ value: e, qrRef: t, variant: r = "blackRedEyes" }) => /* @__PURE__ */ o.jsx(Qc, { ref: t, value: e, eyeColor: Go["eon-red"], fgColor: Go["eon-turquoise"], logoHeight: 32, logoWidth: 32, removeQrCodeBehindLogo: !0, logoPadding: 5, logoPaddingStyle: "circle", ecLevel: "Q", ...Fu[r] }), $u = ({ value: e, contactType: t, className: r }) => {
953
953
  const { ProjectIconComponent: n } = z(J), [a, i] = k(!1), s = P(() => {
954
954
  i(!0);
955
955
  }, []), l = P(() => {
@@ -1837,7 +1837,7 @@ const hp = ({ InputContainer: e = ar, value: t, onChange: r, debounceMs: n, labe
1837
1837
  }, [v]);
1838
1838
  const E = M(() => s || y, [s, y]), T = x !== void 0;
1839
1839
  return /* @__PURE__ */ o.jsxs(e, { label: t ?? "", required: a, disabled: E, hidden: n, withoutLabel: p, isInvalid: T, hint: f, className: m, children: [
1840
- /* @__PURE__ */ o.jsx(ed, { type: "file", multiple: u, accept: d.join(", "), placeholder: i ?? t, isInvalid: T, hidden: n, disabled: E, className: "w-100", ...h(r, {
1840
+ /* @__PURE__ */ o.jsx(Jc, { type: "file", multiple: u, accept: d.join(", "), placeholder: i ?? t, isInvalid: T, hidden: n, disabled: E, className: "w-100", ...h(r, {
1841
1841
  onChange: () => {
1842
1842
  c && c.forEach((B) => b(B, null, { shouldDirty: !0, shouldValidate: N }));
1843
1843
  }
@@ -1996,12 +1996,12 @@ const hp = ({ InputContainer: e = ar, value: t, onChange: r, debounceMs: n, labe
1996
1996
  i && T(t) && /* @__PURE__ */ o.jsx("div", { className: "luminus-input-remove-icon inset", children: /* @__PURE__ */ o.jsx(te, { color: "secondary", size: "sm", onClick: L, children: /* @__PURE__ */ o.jsx(Ot, {}) }) }),
1997
1997
  S && /* @__PURE__ */ o.jsx(zt, { message: S.message })
1998
1998
  ] });
1999
- }, EN = ({ color: e = "primary", icon: t = /* @__PURE__ */ o.jsx(rd, { size: 12 }), inputId: r = "context-file-input", accept: n = "*", onUpload: a, multiple: i, className: s, children: l, ...c }) => {
1999
+ }, EN = ({ color: e = "primary", icon: t = /* @__PURE__ */ o.jsx(ed, { size: 12 }), inputId: r = "context-file-input", accept: n = "*", onUpload: a, multiple: i, className: s, children: l, ...c }) => {
2000
2000
  const u = (d) => {
2001
2001
  d.target.files && (a(d.target.files), d.target.value = "");
2002
2002
  };
2003
2003
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
2004
- /* @__PURE__ */ o.jsxs("label", { htmlFor: r, className: _(`btn luminus-dropdown-item text-nowrap rounded text-${e} ${s ?? ""}`, td.item), ...c, children: [
2004
+ /* @__PURE__ */ o.jsxs("label", { htmlFor: r, className: _(`btn luminus-dropdown-item text-nowrap rounded text-${e} ${s ?? ""}`, Zc.item), ...c, children: [
2005
2005
  t,
2006
2006
  l
2007
2007
  ] }),
@@ -2171,7 +2171,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
2171
2171
  }
2172
2172
  ) });
2173
2173
  }, jp = (e, t, r, n) => {
2174
- const { texts: { reports: a } } = z(J), { prompt: i } = nd(), { confirm: s } = or(), l = ft(), { user: c } = z(Pt), { startLoading: u, stopLoading: d } = z(ir), { addNotification: p } = Aa(), f = P(async (v) => {
2174
+ const { texts: { reports: a } } = z(J), { prompt: i } = td(), { confirm: s } = or(), l = ft(), { user: c } = z(Pt), { startLoading: u, stopLoading: d } = z(ir), { addNotification: p } = Aa(), f = P(async (v) => {
2175
2175
  u("report-versionSavingAs");
2176
2176
  try {
2177
2177
  const y = await l.post("/reports/version", v);
@@ -2372,13 +2372,13 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
2372
2372
  /* @__PURE__ */ o.jsx(Y, { variant: "h3", children: t }),
2373
2373
  n,
2374
2374
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex gap-1 align-items-center", children: [
2375
- /* @__PURE__ */ o.jsxs(ad, { size: "sm", value: v ?? void 0, onChange: V, children: [
2375
+ /* @__PURE__ */ o.jsxs(rd, { size: "sm", value: v ?? void 0, onChange: V, children: [
2376
2376
  /* @__PURE__ */ o.jsx("optgroup", { label: f.versionSelectSystem, children: C == null ? void 0 : C.reportVersions.filter((W) => W.isSystem === !0).map((W) => /* @__PURE__ */ o.jsx("option", { value: W.reportVersionId, children: W.name }, W.reportVersionId)) }),
2377
2377
  /* @__PURE__ */ o.jsx("optgroup", { label: f.versionSelectYour, children: C == null ? void 0 : C.reportVersions.filter((W) => W.ownerId === j.personalNumber).map((W) => /* @__PURE__ */ o.jsx("option", { value: W.reportVersionId, children: W.name }, W.reportVersionId)) }),
2378
2378
  /* @__PURE__ */ o.jsx("optgroup", { label: f.versionSelectSharedWithYou, children: C == null ? void 0 : C.reportVersions.filter((W) => W.isSystem === !1 && W.ownerId !== j.personalNumber).map((W) => /* @__PURE__ */ o.jsx("option", { value: W.reportVersionId, children: `${W.name} [${W.ownerId}]` }, W.reportVersionId)) })
2379
2379
  ] }),
2380
- /* @__PURE__ */ o.jsx(ht, { icon: /* @__PURE__ */ o.jsx(od, {}), onClick: A, disabled: v === null || (I == null ? void 0 : I.isSystem) || !ee, children: f.save }),
2381
- /* @__PURE__ */ o.jsx(ht, { icon: /* @__PURE__ */ o.jsx(id, {}), onClick: L, className: "flex-shrink-0", children: f.saveAs }),
2380
+ /* @__PURE__ */ o.jsx(ht, { icon: /* @__PURE__ */ o.jsx(nd, {}), onClick: A, disabled: v === null || (I == null ? void 0 : I.isSystem) || !ee, children: f.save }),
2381
+ /* @__PURE__ */ o.jsx(ht, { icon: /* @__PURE__ */ o.jsx(ad, {}), onClick: L, className: "flex-shrink-0", children: f.saveAs }),
2382
2382
  /* @__PURE__ */ o.jsxs(sr, { toggle: /* @__PURE__ */ o.jsx(lr, { as: Fr }), children: [
2383
2383
  /* @__PURE__ */ o.jsx(at, { onClick: X, children: f.revertChanges }),
2384
2384
  /* @__PURE__ */ o.jsx(at, { onClick: () => w(!0), disabled: !ee || (I == null ? void 0 : I.isSystem), children: f.share }),
@@ -2580,7 +2580,9 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
2580
2580
  const s = Kd(), { texts: l } = z(J), [c, u] = k("star-outline"), [d, p] = k(n ? document.title.replace(n, "") : document.title), f = P(async () => {
2581
2581
  await r({ icon: c, name: d, url: s.pathname + s.search }), e();
2582
2582
  }, [e, r, c, s.pathname, s.search, d]), m = M(() => s.pathname + s.search, [s.pathname, s.search]);
2583
- return /* @__PURE__ */ o.jsxs(_e, { show: t, onHide: e, size: "sm", children: [
2583
+ return /* @__PURE__ */ o.jsx(_e, { show: t, onHide: e, size: "sm", children: /* @__PURE__ */ o.jsxs("div", { onKeyDown: (g) => {
2584
+ g.code !== "Escape" && g.stopPropagation();
2585
+ }, children: [
2584
2586
  /* @__PURE__ */ o.jsx(_e.Header, { closeButton: !0, children: /* @__PURE__ */ o.jsx(_e.Title, { children: l.shortcutLinks.newShortcut }) }),
2585
2587
  /* @__PURE__ */ o.jsxs(_e.Body, { children: [
2586
2588
  /* @__PURE__ */ o.jsxs("div", { className: Zt.createLinkRow, children: [
@@ -2600,7 +2602,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
2600
2602
  ] })
2601
2603
  ] }),
2602
2604
  /* @__PURE__ */ o.jsx(_e.Footer, { className: "d-flex justify-content-end", children: /* @__PURE__ */ o.jsx(Gt, { onClick: f, children: l.shortcutLinks.addShortcut }) })
2603
- ] });
2605
+ ] }) });
2604
2606
  }, Jp = ({ IconComponent: e, IconTypeArray: t, pageTitlePrefix: r, createLink: n }) => {
2605
2607
  const { ProjectIconComponent: a, texts: i } = z(J), [s, l] = k(!1), [c] = Ra(s, 100);
2606
2608
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
@@ -3062,7 +3064,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3062
3064
  S !== null && d(() => Math.max(1, Math.min(S, C)));
3063
3065
  }, [C]), E = P(async () => {
3064
3066
  const S = Array.from(v).map(($) => (async () => {
3065
- const A = await sd.get(
3067
+ const A = await od.get(
3066
3068
  `${s}${m == null ? void 0 : m.replace("{{lng}}", $)}?v=${(/* @__PURE__ */ new Date()).getTime()}`,
3067
3069
  // ?v to not hit browser cache
3068
3070
  { responseType: "json" }
@@ -3096,7 +3098,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3096
3098
  /* @__PURE__ */ o.jsx(it, { type: "text", value: b, onChange: (S) => h(typeof S == "string" ? S : ""), size: "sm", showClearIcon: b !== "", withoutLabel: !0, placeholder: "vyhledávat...", className: "placeholder-muted bg-transparent border-0 my-0 py-0 w-100" })
3097
3099
  ] }),
3098
3100
  /* @__PURE__ */ o.jsxs(ws, { children: [
3099
- /* @__PURE__ */ o.jsx(ca, { cKey: "export", hideOn: "always", onClick: n, icon: /* @__PURE__ */ o.jsx(ld, { fileExtension: "xls" }), children: l.xlsExport }),
3101
+ /* @__PURE__ */ o.jsx(ca, { cKey: "export", hideOn: "always", onClick: n, icon: /* @__PURE__ */ o.jsx(id, { fileExtension: "xls" }), children: l.xlsExport }),
3100
3102
  /* @__PURE__ */ o.jsx(ca, { cKey: "import", hideOn: "always", to: r("localizationImport"), icon: /* @__PURE__ */ o.jsx(c, { icon: "link" }), children: l.import })
3101
3103
  ] })
3102
3104
  ] }),
@@ -3182,7 +3184,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3182
3184
  return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3183
3185
  /* @__PURE__ */ o.jsx("div", { className: _("luminus-empty-widget", ti.widget, {
3184
3186
  [ti.mobile]: s
3185
- }), children: /* @__PURE__ */ o.jsx(te, { onClick: () => i(!0), children: /* @__PURE__ */ o.jsx(cd, {}) }) }),
3187
+ }), children: /* @__PURE__ */ o.jsx(te, { onClick: () => i(!0), children: /* @__PURE__ */ o.jsx(sd, {}) }) }),
3186
3188
  /* @__PURE__ */ o.jsx(Pf, { show: a, widgetGroups: e, widgets: t, handleClose: () => i(!1), onWidgetPicked: (l) => {
3187
3189
  i(!1), r(l);
3188
3190
  }, texts: n })
@@ -3241,8 +3243,8 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3241
3243
  [ct.widgetEdit]: r && g.id !== -1
3242
3244
  }, { [ct.fullWidth]: h }), children: [
3243
3245
  r && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
3244
- /* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => u(b), className: _(ct.removeIcon), children: /* @__PURE__ */ o.jsx(dd, {}) }),
3245
- /* @__PURE__ */ o.jsx(te, { color: h ? "danger" : "primary", onClick: () => d(b), className: _(ct.fullWidthIcon), children: /* @__PURE__ */ o.jsx(ud, {}) })
3246
+ /* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => u(b), className: _(ct.removeIcon), children: /* @__PURE__ */ o.jsx(ld, {}) }),
3247
+ /* @__PURE__ */ o.jsx(te, { color: h ? "danger" : "primary", onClick: () => d(b), className: _(ct.fullWidthIcon), children: /* @__PURE__ */ o.jsx(cd, {}) })
3246
3248
  ] }),
3247
3249
  g.id === -1 ? r && /* @__PURE__ */ o.jsx("div", { className: ct.widgetWrapper, children: /* @__PURE__ */ o.jsx(ri, { widgetGroups: e, availableWidgets: t, onAdd: (v) => c(b, v), texts: i }) }) : /* @__PURE__ */ o.jsx(Mu, { title: g.title, children: /* @__PURE__ */ o.jsx(g.WidgetElement, { title: g.title }) }),
3248
3250
  g.id > -1 && r && /* @__PURE__ */ o.jsx("div", { className: ct.widgetEditOverlay })
@@ -3315,9 +3317,9 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3315
3317
  const d = (p = i.find((f) => f.key === u.type)) == null ? void 0 : p.toPath;
3316
3318
  return d ? `${d}/${u.searchKey}` : "/not-found";
3317
3319
  }, [i]);
3318
- return pd([l], r), /* @__PURE__ */ o.jsx("div", { ref: l, className: _("luminus-app-search-dropdown shadow rounded", Rt.dropdown, {
3320
+ return dd([l], r), /* @__PURE__ */ o.jsx("div", { ref: l, className: _("luminus-app-search-dropdown shadow rounded", Rt.dropdown, {
3319
3321
  [Rt.open]: e
3320
- }), children: a ? /* @__PURE__ */ o.jsx("div", { className: Rt.loadingContainer, children: /* @__PURE__ */ o.jsx(fd, { animation: "border", variant: "primary" }) }) : /* @__PURE__ */ o.jsx("div", { className: Rt.groupsContainer, children: n == null ? void 0 : n.map((u) => {
3322
+ }), children: a ? /* @__PURE__ */ o.jsx("div", { className: Rt.loadingContainer, children: /* @__PURE__ */ o.jsx(ud, { animation: "border", variant: "primary" }) }) : /* @__PURE__ */ o.jsx("div", { className: Rt.groupsContainer, children: n == null ? void 0 : n.map((u) => {
3321
3323
  var d;
3322
3324
  return /* @__PURE__ */ o.jsxs("div", { className: _(Rt.group), children: [
3323
3325
  /* @__PURE__ */ o.jsxs(Ze, { to: `/search?query=${t}&type=${u.key.category}`, className: _("group-header", Rt.header), onClick: r, children: [
@@ -3338,7 +3340,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3338
3340
  onClick: r,
3339
3341
  children: [
3340
3342
  /* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "text-nowrap text-truncate", children: p.name }),
3341
- /* @__PURE__ */ o.jsx(Y, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ o.jsx(md, {}) })
3343
+ /* @__PURE__ */ o.jsx(Y, { variant: "caption", className: "text-primary", children: /* @__PURE__ */ o.jsx(pd, {}) })
3342
3344
  ]
3343
3345
  },
3344
3346
  f
@@ -3378,7 +3380,7 @@ e.label === "", Ko = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, Xo =
3378
3380
  var w;
3379
3381
  return d(((w = N.target) == null ? void 0 : w.value) ?? "");
3380
3382
  }, onFocus: () => g.length > 0 && h(!0) }),
3381
- /* @__PURE__ */ o.jsx(on.Text, { className: _("p-0 rounded", At.inputGroupText, At.right), children: /* @__PURE__ */ o.jsx("button", { type: "submit", className: _("text-primary", At.submitButton), children: /* @__PURE__ */ o.jsx(gd, {}) }) }),
3383
+ /* @__PURE__ */ o.jsx(on.Text, { className: _("p-0 rounded", At.inputGroupText, At.right), children: /* @__PURE__ */ o.jsx("button", { type: "submit", className: _("text-primary", At.submitButton), children: /* @__PURE__ */ o.jsx(fd, {}) }) }),
3382
3384
  /* @__PURE__ */ o.jsx(um, { query: p, searchTypes: e, show: b, onCancel: () => h(!1), groups: g, isLoading: m })
3383
3385
  ] }) });
3384
3386
  }, fm = "_card_19733_1", mm = "_header_19733_6", gm = "_header-content_19733_13", vm = "_title_19733_19", hm = "_collapse-icon_19733_22", bm = "_collapsed_19733_27", xm = "_content_19733_30", kt = {
@@ -3785,7 +3787,7 @@ process.env.NODE_ENV !== "production" && (pl.propTypes = {
3785
3787
  context: dt.object,
3786
3788
  children: dt.any
3787
3789
  });
3788
- var za = vd(), Am = {
3790
+ var za = md(), Am = {
3789
3791
  childContextTypes: !0,
3790
3792
  contextType: !0,
3791
3793
  contextTypes: !0,
@@ -3847,7 +3849,7 @@ function ml(e, t, r) {
3847
3849
  return e;
3848
3850
  }
3849
3851
  var Vm = ml;
3850
- const mi = /* @__PURE__ */ hd(Vm);
3852
+ const mi = /* @__PURE__ */ gd(Vm);
3851
3853
  var va = { exports: {} }, xe = {};
3852
3854
  /** @license React v17.0.2
3853
3855
  * react-is.production.min.js
@@ -4123,7 +4125,7 @@ function Jm(e, t) {
4123
4125
  return se ? ie : ne({}, ie, {
4124
4126
  subscription: je
4125
4127
  });
4126
- }, [se, ie, je]), de = Wd(Ym, Hm, Qm), Ee = de[0], Ge = Ee[0], Ye = de[1];
4128
+ }, [se, ie, je]), de = $d(Ym, Hm, Qm), Ee = de[0], Ge = Ee[0], Ye = de[1];
4127
4129
  if (Ge && Ge.error)
4128
4130
  throw Ge.error;
4129
4131
  var mt = re(), K = re(X), F = re(), Z = re(!1), ue = S(function() {
@@ -9814,8 +9816,8 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
9814
9816
  const T = j(E.source.index, E.destination.index);
9815
9817
  f && f(E.draggableId, E.destination.index), b(T);
9816
9818
  };
9817
- bd(x);
9818
- const O = xd({
9819
+ vd(x);
9820
+ const O = hd({
9819
9821
  onSwipedLeft: (E) => {
9820
9822
  E.velocity > 0.8 && w && v((T) => T + 1);
9821
9823
  },
@@ -9825,7 +9827,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
9825
9827
  delta: 100
9826
9828
  });
9827
9829
  return /* @__PURE__ */ o.jsxs(ja, { children: [
9828
- /* @__PURE__ */ o.jsx(yd, { show: e, onClick: t }),
9830
+ /* @__PURE__ */ o.jsx(bd, { show: e, onClick: t }),
9829
9831
  /* @__PURE__ */ o.jsx("div", { className: _("luminus-lightbox rounded shadow", Ve.lightbox, {
9830
9832
  [Ve.show]: e
9831
9833
  }), ...O, children: e && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
@@ -9862,7 +9864,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
9862
9864
  [Ve.selected]: B === h
9863
9865
  }), baseUrl: c, customToken: u, placeholder: d }, T.id),
9864
9866
  T.isDefault || T.customIndicators && T.customIndicators.length > 0 ? /* @__PURE__ */ o.jsxs("div", { className: _(Ve.indicators, "gap-1"), children: [
9865
- T.isDefault && /* @__PURE__ */ o.jsx("div", { className: "text-primary", children: /* @__PURE__ */ o.jsx(wd, {}) }),
9867
+ T.isDefault && /* @__PURE__ */ o.jsx("div", { className: "text-primary", children: /* @__PURE__ */ o.jsx(xd, {}) }),
9866
9868
  (S = T.customIndicators) == null ? void 0 : S.map((I, $) => (
9867
9869
  // eslint-disable-next-line react/no-array-index-key
9868
9870
  /* @__PURE__ */ o.jsx("div", { className: I.className, children: I.content }, $)
@@ -9894,13 +9896,13 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
9894
9896
  color: "white",
9895
9897
  textShadow: "-2px 2px 4px #696969",
9896
9898
  background: "rgba(105,105,105,0.5)"
9897
- }, children: /* @__PURE__ */ o.jsx(Nd, { fontSize: 24 }) })
9899
+ }, children: /* @__PURE__ */ o.jsx(yd, { fontSize: 24 }) })
9898
9900
  ] }) : /* @__PURE__ */ o.jsx(Ue, { text: r ?? "", placement: "left", children: /* @__PURE__ */ o.jsx("div", { role: "button", className: _("rounded p-3 d-flex justify-content-center"), onClick: () => h(!0), children: /* @__PURE__ */ o.jsx("img", { src: l, alt: "placeholder", className: "rounded w-25" }) }) }),
9899
9901
  /* @__PURE__ */ o.jsx(ky, { show: b && !d, onClose: () => h(!1), photos: e, defaultIndex: f ?? 0, uploadPhotosText: r, noPhotosText: n, onUploadPhotos: t, photoActions: a, baseUrl: i, customToken: s, placeholder: l, ImgComponent: c, onChangeOrder: p })
9900
9902
  ] });
9901
9903
  }, WN = ({ children: e }) => {
9902
9904
  var c, u, d;
9903
- const { useMsal: t, msalScopes: r, msalExtraScopes: n } = z(Dd), { isAuthenticated: a } = jd(), { userLoginState: i } = z(Pt), s = i.state === Cd.LOGGING_IN, l = i.user && ((c = i.user) == null ? void 0 : c.permissions) && ((d = (u = i.user) == null ? void 0 : u.permissions) == null ? void 0 : d.length) > 0;
9905
+ const { useMsal: t, msalScopes: r, msalExtraScopes: n } = z(wd), { isAuthenticated: a } = Nd(), { userLoginState: i } = z(Pt), s = i.state === Dd.LOGGING_IN, l = i.user && ((c = i.user) == null ? void 0 : c.permissions) && ((d = (u = i.user) == null ? void 0 : u.permissions) == null ? void 0 : d.length) > 0;
9904
9906
  return t ? /* @__PURE__ */ o.jsx(qd, { interactionType: zd.Redirect, authenticationRequest: { scopes: r, extraScopesToConsent: n }, children: s || !a() ? /* @__PURE__ */ o.jsx(Io, {}) : i.user ? l ? /* @__PURE__ */ o.jsx(o.Fragment, { children: e }) : /* @__PURE__ */ o.jsx(Yr, { to: "/user-not-permitted", replace: !0 }) : /* @__PURE__ */ o.jsx(Yr, { to: "/no-user-login", replace: !0 }) }) : s ? /* @__PURE__ */ o.jsx(Io, {}) : !a() || !i.user ? /* @__PURE__ */ o.jsx(Yr, { to: "/login", replace: !0 }) : l ? e : /* @__PURE__ */ o.jsx(Yr, { to: "/user-not-permitted", replace: !0 });
9905
9907
  }, My = "_item_z9z4m_1", Ly = "_level-success_z9z4m_4", Fy = "_level-info_z9z4m_10", Vy = "_level-warning_z9z4m_16", $y = "_level-danger_z9z4m_22", Gy = "_type-icon_z9z4m_28", oa = {
9906
9908
  item: My,
@@ -9974,7 +9976,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
9974
9976
  typeof r.title == "string" ? /* @__PURE__ */ o.jsx(Y, { variant: "body", className: "fw-bold", children: r.title }) : r.title
9975
9977
  ] }),
9976
9978
  r.text && /* @__PURE__ */ o.jsx(Y, { variant: "body2", className: Mt.contentText, children: r.text }),
9977
- /* @__PURE__ */ o.jsx("div", { className: _("text-primary", Mt.stepIcon), children: r.icon ?? /* @__PURE__ */ o.jsx(Sd, {}) })
9979
+ /* @__PURE__ */ o.jsx("div", { className: _("text-primary", Mt.stepIcon), children: r.icon ?? /* @__PURE__ */ o.jsx(jd, {}) })
9978
9980
  ] }) })
9979
9981
  ] }, n)) }), tw = (e, t, r, n = !0) => {
9980
9982
  const a = ft({ silent: n, differentBaseUrl: t, customToken: r }), [i, s] = k(!1), [l, c] = k(null), u = P(async (d) => {
@@ -10084,12 +10086,12 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10084
10086
  s === "D" ? r((l) => ({ from: l.from, to: l.from })) : s === "M" ? r((l) => {
10085
10087
  if (l.from === null)
10086
10088
  return l;
10087
- const c = Ed(l.from);
10089
+ const c = Cd(l.from);
10088
10090
  return ln(c);
10089
10091
  }) : s === "Y" && r((l) => {
10090
10092
  if (l.from === null)
10091
10093
  return l;
10092
- const c = Id(new Date(l.from).getFullYear());
10094
+ const c = Sd(new Date(l.from).getFullYear());
10093
10095
  return Cr(c);
10094
10096
  }), t(s);
10095
10097
  }, [r, t]);
@@ -10107,7 +10109,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10107
10109
  }, children: /* @__PURE__ */ o.jsx(i, { icon: "chevron-left" }) }),
10108
10110
  /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsxs("div", { className: "d-flex align-items-center gap-1", children: [
10109
10111
  /* @__PURE__ */ o.jsx(it, { type: "date", value: e.from, onChange: (m) => d("from", m === null ? null : m.toString()), InputContainer: nt, size: n }),
10110
- /* @__PURE__ */ o.jsx(sr, { toggle: /* @__PURE__ */ o.jsx(lr, { text: a[ts.find((m) => m[0] === s)[1]].substring(0, 1), as: _d }), children: ts.map((m) => /* @__PURE__ */ o.jsx(at, { disabled: m[0] === s, className: _(m[0] === s ? "text-black-50" : ""), onClick: () => u(m[0]), role: "button", children: a[m[1]] }, m[0])) }),
10112
+ /* @__PURE__ */ o.jsx(sr, { toggle: /* @__PURE__ */ o.jsx(lr, { text: a[ts.find((m) => m[0] === s)[1]].substring(0, 1), as: Ed }), children: ts.map((m) => /* @__PURE__ */ o.jsx(at, { disabled: m[0] === s, className: _(m[0] === s ? "text-black-50" : ""), onClick: () => u(m[0]), role: "button", children: a[m[1]] }, m[0])) }),
10111
10113
  /* @__PURE__ */ o.jsx(it, { type: "date", value: e.to, onChange: (m) => d("to", m === null ? null : m.toString()), InputContainer: nt, size: n })
10112
10114
  ] }) }),
10113
10115
  /* @__PURE__ */ o.jsx(te, { disabled: p, onClick: () => {
@@ -10126,7 +10128,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10126
10128
  return /* @__PURE__ */ o.jsx(Pu, { year: i, onChangeYear: s, ...r });
10127
10129
  }, YN = ({ data: e, showLegend: t = !1, legendPosition: r = "left", onClick: n }) => {
10128
10130
  const { chartColorPalette: a } = z(J);
10129
- return /* @__PURE__ */ o.jsx(Od, { data: e, margin: {
10131
+ return /* @__PURE__ */ o.jsx(Id, { data: e, margin: {
10130
10132
  top: 50,
10131
10133
  right: t && r === "right" ? 200 : 100,
10132
10134
  bottom: 50,
@@ -10201,7 +10203,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10201
10203
  var x;
10202
10204
  return typeof ((x = e == null ? void 0 : e[0]) == null ? void 0 : x[t]);
10203
10205
  }, [e, t]), y = s ?? (i === "sideContent" ? "bottom" : "right"), N = M(() => !a && i !== "sideContent", [a, i]), w = M(() => [b, h], [h, b]);
10204
- return console.log(m), /* @__PURE__ */ o.jsx(Pd, { data: m, xScale: v === "string" ? { type: "point" } : { type: "linear", min: b }, yScale: { type: "linear", nice: !0 }, axisLeft: N ? {
10206
+ return console.log(m), /* @__PURE__ */ o.jsx(_d, { data: m, xScale: v === "string" ? { type: "point" } : { type: "linear", min: b }, yScale: { type: "linear", nice: !0 }, axisLeft: N ? {
10205
10207
  tickSize: 5,
10206
10208
  tickPadding: 5,
10207
10209
  tickRotation: 0,
@@ -10553,7 +10555,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10553
10555
  var oe;
10554
10556
  x === null || ((oe = x.id) == null ? void 0 : oe.toString()) !== e || x.masterReference && !pe || (N("dynamicFormExport"), await y.get(`${g}?id=${e}&showArchive=${S}${x.masterReference ? `&master=${pe}` : ""}`, {
10555
10557
  responseType: "blob"
10556
- }).then((ve) => Td(ve, { fallbackName: `export-${e}` })).finally(() => w("dynamicFormExport")));
10558
+ }).then((ve) => Od(ve, { fallbackName: `export-${e}` })).finally(() => w("dynamicFormExport")));
10557
10559
  }, [y, e, x, N, w, S, pe, g]), Ye = P(async (oe) => (N("dynamicFormEdit"), y.post(`${p}?id=${e}`, oe).then(() => (w("dynamicFormEdit"), L([]), !0)).catch((ve) => (w("dynamicFormEdit"), L(Pn(ve)), !1))), [y, e, N, w, p]), mt = P(async (oe) => (N("dynamicFormDelete"), y.delete(`${f}?id=${e}&pk=${oe}`).then(() => (w("dynamicFormDelete"), L([]), !0)).catch((ve) => (w("dynamicFormDelete"), L(Pn(ve)), !1))), [y, e, N, w, f]), K = P(async (oe) => (N("dynamicFormCreate"), y.post(`${m}?id=${e}`, oe).then(({ data: ve }) => (w("dynamicFormCreate"), L([]), ve)).catch((ve) => (w("dynamicFormCreate"), L(Pn(ve)), null))), [y, e, N, w, m]), F = P(async (oe) => {
10558
10560
  x && await Ye(x.masterReference ? { ...oe, [x.masterReferenceColumn ?? ""]: pe } : oe) && ($(h.editSuccess, "success"), O((ve) => ve && ve.map((De) => {
10559
10561
  var he;
@@ -10675,7 +10677,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10675
10677
  }),
10676
10678
  /* @__PURE__ */ o.jsxs(sr, { toggle: /* @__PURE__ */ o.jsx(lr, { as: Fr }), children: [
10677
10679
  /* @__PURE__ */ o.jsx(at, { onClick: () => I(!S), children: S ? h.hideArchived : h.showArchived }),
10678
- /* @__PURE__ */ o.jsx(Ad, {}),
10680
+ /* @__PURE__ */ o.jsx(Pd, {}),
10679
10681
  /* @__PURE__ */ o.jsx(at, { onClick: Ge, icon: /* @__PURE__ */ o.jsx(v, { icon: "file-download" }), children: h.downloadExport })
10680
10682
  ] })
10681
10683
  ] })
@@ -10780,9 +10782,9 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10780
10782
  return /* @__PURE__ */ o.jsxs(on, { className: `${n}`, children: [
10781
10783
  /* @__PURE__ */ o.jsx(Pe.Control, { value: e, onChange: (i) => t(i.target.value) }),
10782
10784
  e && /* @__PURE__ */ o.jsx(sa, { onClick: () => a(""), variant: "link", className: "border text-muted", children: /* @__PURE__ */ o.jsx(Ot, {}) }),
10783
- /* @__PURE__ */ o.jsx(sa, { onClick: () => r && r(e), variant: "link", className: "border", children: /* @__PURE__ */ o.jsx(Rd, {}) })
10785
+ /* @__PURE__ */ o.jsx(sa, { onClick: () => r && r(e), variant: "link", className: "border", children: /* @__PURE__ */ o.jsx(Td, {}) })
10784
10786
  ] });
10785
- }, nD = ({ value: e, numberPrefix: t, numberSuffix: r, decimalScale: n = 2, fixedDecimalScale: a = !1, className: i }) => /* @__PURE__ */ o.jsx(Wa, { value: e, displayType: "text", thousandSeparator: " ", decimalScale: n, fixedDecimalScale: a, defaultValue: "", prefix: t, suffix: r, className: i, decimalSeparator: "," }), aD = ({ data: e, keys: t, colors: r, tooltipLabel: n }) => /* @__PURE__ */ o.jsx(kd, { data: e.map((a) => ({ name: a.name, ...a.values })), indexBy: "name", keys: t, margin: {
10787
+ }, nD = ({ value: e, numberPrefix: t, numberSuffix: r, decimalScale: n = 2, fixedDecimalScale: a = !1, className: i }) => /* @__PURE__ */ o.jsx(Wa, { value: e, displayType: "text", thousandSeparator: " ", decimalScale: n, fixedDecimalScale: a, defaultValue: "", prefix: t, suffix: r, className: i, decimalSeparator: "," }), aD = ({ data: e, keys: t, colors: r, tooltipLabel: n }) => /* @__PURE__ */ o.jsx(Ad, { data: e.map((a) => ({ name: a.name, ...a.values })), indexBy: "name", keys: t, margin: {
10786
10788
  top: 20,
10787
10789
  right: 50,
10788
10790
  bottom: 30,
@@ -10890,7 +10892,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10890
10892
  m.current = window.setTimeout(() => c(!0), i);
10891
10893
  }, onMouseLeave: () => {
10892
10894
  m.current && clearTimeout(m.current), c(!1);
10893
- }, children: l && !(s != null && s.external) ? /* @__PURE__ */ o.jsx(Bd, { heading: u ? /* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "placeholder-glow", children: /* @__PURE__ */ o.jsx("span", { className: "placeholder bg-primary col-6" }) }) : p, content: /* @__PURE__ */ o.jsx(o.Fragment, { children: u ? /* @__PURE__ */ o.jsxs(Y, { variant: "body2", className: "placeholder-glow", children: [
10895
+ }, children: l && !(s != null && s.external) ? /* @__PURE__ */ o.jsx(Rd, { heading: u ? /* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "placeholder-glow", children: /* @__PURE__ */ o.jsx("span", { className: "placeholder bg-primary col-6" }) }) : p, content: /* @__PURE__ */ o.jsx(o.Fragment, { children: u ? /* @__PURE__ */ o.jsxs(Y, { variant: "body2", className: "placeholder-glow", children: [
10894
10896
  /* @__PURE__ */ o.jsxs("div", { className: "d-flex justify-content-between py-1", children: [
10895
10897
  /* @__PURE__ */ o.jsx("span", { className: "placeholder col-5" }),
10896
10898
  /* @__PURE__ */ o.jsx("span", { className: "placeholder col-4" })
@@ -10925,7 +10927,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
10925
10927
  case "iconButton":
10926
10928
  return te;
10927
10929
  default:
10928
- return Ud;
10930
+ return Gd;
10929
10931
  }
10930
10932
  }, [t]);
10931
10933
  return t === "link" ? /* @__PURE__ */ o.jsx(Ze, { to: _o(e.route, i), className: _("link font-size-14", l ? "disabled" : void 0, n), children: c }) : /* @__PURE__ */ o.jsx(u, { as: "link", href: _o(e.route, i), className: _(l ? "disabled" : void 0, n), children: c });
@@ -11042,7 +11044,7 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
11042
11044
  }), [n]);
11043
11045
  return /* @__PURE__ */ o.jsx(t, { data: i ?? [], columnsDef: l, tableId: r, useSearchState: !0, paginationMode: "enabled", useScrollableContainer: !0, archiveHighlighting: s, rowNavigation: c });
11044
11046
  }, tN = (e, t) => {
11045
- const r = ft(), n = wn(), { startLoading: a, stopLoading: i } = z(ir), { zDateRequired: s, zNumberRequired: l } = Md(), { addNotification: c } = Aa(), { refreshAvailableDelegations: u } = z(_s), { user: d } = z(Pt), { texts: { substitutions: { detail: p } } } = z(J), f = Tn.object({
11047
+ const r = ft(), n = wn(), { startLoading: a, stopLoading: i } = z(ir), { zDateRequired: s, zNumberRequired: l } = kd(), { addNotification: c } = Aa(), { refreshAvailableDelegations: u } = z(_s), { user: d } = z(Pt), { texts: { substitutions: { detail: p } } } = z(J), f = Tn.object({
11046
11048
  id: l(),
11047
11049
  employeeId: l(),
11048
11050
  substituteId: l(),
@@ -11065,14 +11067,14 @@ const Nc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
11065
11067
  e == null ? void 0 : e.to,
11066
11068
  d == null ? void 0 : d.personalNumber
11067
11069
  ]), g = Qd({
11068
- resolver: Ld(f),
11070
+ resolver: Bd(f),
11069
11071
  defaultValues: m
11070
11072
  }), b = P(async (h) => {
11071
11073
  a("premissions-substitute-submit");
11072
11074
  try {
11073
11075
  await r.post("permissions/substitutions", h), c(p.updateSuccess, "success"), u(), n(t);
11074
11076
  } catch (v) {
11075
- Fd(g, v);
11077
+ Md(g, v);
11076
11078
  } finally {
11077
11079
  i("premissions-substitute-submit");
11078
11080
  }
@@ -11144,7 +11146,7 @@ export {
11144
11146
  cD as Approval,
11145
11147
  WN as AuthTemplate,
11146
11148
  xs as AvatarIcon,
11147
- yd as Backdrop,
11149
+ bd as Backdrop,
11148
11150
  $N as Badge,
11149
11151
  aD as BarChart,
11150
11152
  pn as Card,
@@ -11158,14 +11160,14 @@ export {
11158
11160
  JN as DisabledRowLabelLink,
11159
11161
  gD as Documents,
11160
11162
  sr as Dropdown,
11161
- Ad as DropdownDivider,
11163
+ Pd as DropdownDivider,
11162
11164
  at as DropdownItem,
11163
11165
  hN as DropdownPicker,
11164
11166
  lr as DropdownToggle,
11165
11167
  XN as DynamicForm,
11166
11168
  tD as EmployeeSmallPhoto,
11167
11169
  Ru as ErrorBoundary,
11168
- ld as FileExtensionIcon,
11170
+ id as FileExtensionIcon,
11169
11171
  gN as FileUploadButton,
11170
11172
  js as FileUploadContextButton,
11171
11173
  EN as FileUploadDropdownItem,
@@ -11187,7 +11189,7 @@ export {
11187
11189
  vD as HookFormTextAreaInput,
11188
11190
  la as HookFormTextInput,
11189
11191
  Mw as HrWithText,
11190
- Bd as HtmlTooltip,
11192
+ Rd as HtmlTooltip,
11191
11193
  te as IconButton,
11192
11194
  ol as IconPicker,
11193
11195
  es as ImgApi,