react-luminus-components 1.4.47 → 1.4.49
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,5 +1,5 @@
|
|
|
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
|
|
2
|
-
import { bx as
|
|
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 pt, $ as _e, a0 as It, a1 as Y, a2 as xn, a3 as Qc, a4 as Jc, a5 as Zc, a6 as vs, a7 as ed, a8 as td, a9 as ar, aa as or, ab as Fr, ac as at, ad as rd, ae as nd, af as ad, ag as ft, ah as Oa, ai as od, aj as ut, ak as id, al as sd, am as cn, an as ne, ao as hs, ap as ld, aq as cd, ar as dd, as as bs, at as xs, au as ys, av as la, aw as Ot, ax as ud, ay as Ue, az as pd, aA as fd, aB as md, aC as Pt, aD as gd, aE as ws, aF as vd, aG as ir, aH as hd, aI as it, aJ as Pa, aK as Ta, aL as Ns, aM as Aa, aN as Ds, aO as js, aP as Oe, aQ as jt, aR as bd, aS as xd, aT as nt, aU as yd, aV as Ut, aW as wd, aX as Nd, aY as st, aZ as Cs, a_ as sr, a$ as Ra, b0 as lr, b1 as Dd, b2 as Pn, b3 as jd, b4 as Kt, b5 as Cd, b6 as Sd, b7 as Sr, b8 as yn, b9 as Ss, ba as dn, bb as Er, bc as Ed, bd as Es, be as qr, bf as bt, bg as zt, bh as ca, bi as Id, bj as _d, bk as Is, bl as Tn, bm as Od, bn as Pd, bo as Td, bp as Ad, bq as Rd, br as kd, bs as _s, bt as Bd, bu as Md } from "./ShortcutLinksContext-CvGOQ1rG.js";
|
|
2
|
+
import { bx as vD, bv as hD, bw as bD } from "./ShortcutLinksContext-CvGOQ1rG.js";
|
|
3
3
|
import * as Se from "react";
|
|
4
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
5
|
import { c as gt, a as Wd, b as Ud, L as Io, F as Hd } from "./FormDisabledProvider-CpiQT6Ys.js";
|
|
@@ -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
|
|
13
|
+
import { u as lt, a as da } from "./useLocalStorageState-B3TFIwhw.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 () => {
|
|
@@ -877,7 +877,7 @@ const Au = (e) => (r) => {
|
|
|
877
877
|
widgetTitle: Gu,
|
|
878
878
|
title: Wu
|
|
879
879
|
}, Uu = ({ show: e, widgetGroups: t, widgets: r, handleClose: n, onWidgetPicked: a, texts: i }) => {
|
|
880
|
-
const [s, l] = k(""), c = M(() => r.filter((d) => d.id !== -1 &&
|
|
880
|
+
const [s, l] = k(""), c = M(() => r.filter((d) => d.id !== -1 && pt(d.name, s)), [r, s]), u = M(() => t.filter((d) => c.some((p) => p.group === d.id)), [t, c]);
|
|
881
881
|
return /* @__PURE__ */ o.jsxs(_e, { show: e, onHide: () => n(), size: "lg", children: [
|
|
882
882
|
/* @__PURE__ */ o.jsxs(_e.Header, { closeButton: !0, children: [
|
|
883
883
|
/* @__PURE__ */ o.jsx(_e.Title, { className: "w-100", children: i.pickWidgetToAdd }),
|
|
@@ -916,7 +916,7 @@ const Au = (e) => (r) => {
|
|
|
916
916
|
i(!1), r(l);
|
|
917
917
|
}, texts: n })
|
|
918
918
|
] });
|
|
919
|
-
}, qu = "_dashboard_1gf59_1", Yu = "_widgets-grid_1gf59_1", Ku = "_widget-wrapper_1gf59_8", Xu = "_full-width_1gf59_13", Qu = "_widget-edit_1gf59_16", Ju = "_remove-icon_1gf59_19", Zu = "_full-width-icon_1gf59_26", ep = "_widget-edit-overlay_1gf59_36", tp = "_mobile_1gf59_45",
|
|
919
|
+
}, qu = "_dashboard_1gf59_1", Yu = "_widgets-grid_1gf59_1", Ku = "_widget-wrapper_1gf59_8", Xu = "_full-width_1gf59_13", Qu = "_widget-edit_1gf59_16", Ju = "_remove-icon_1gf59_19", Zu = "_full-width-icon_1gf59_26", ep = "_widget-edit-overlay_1gf59_36", tp = "_mobile_1gf59_45", dt = {
|
|
920
920
|
dashboard: qu,
|
|
921
921
|
"widgets-grid": "_widgets-grid_1gf59_1",
|
|
922
922
|
widgetsGrid: Yu,
|
|
@@ -966,15 +966,15 @@ const Au = (e) => (r) => {
|
|
|
966
966
|
...s,
|
|
967
967
|
widgets: ((b = s.widgets) == null ? void 0 : b.map((h, v) => v === g ? { ...h, fullWidth: !h.fullWidth } : h)) ?? []
|
|
968
968
|
});
|
|
969
|
-
}, [s, l]), p = P((g, b, h) => g ? /* @__PURE__ */ o.jsxs("div", { className: _(
|
|
970
|
-
[
|
|
971
|
-
}, { [
|
|
969
|
+
}, [s, l]), p = P((g, b, h) => g ? /* @__PURE__ */ o.jsxs("div", { className: _(dt.widgetWrapper, {
|
|
970
|
+
[dt.widgetEdit]: r && g.id !== -1
|
|
971
|
+
}, { [dt.fullWidth]: h }), children: [
|
|
972
972
|
r && /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
973
|
-
/* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => u(b), className: _(
|
|
974
|
-
/* @__PURE__ */ o.jsx(te, { color: h ? "danger" : "primary", onClick: () => d(b), className: _(
|
|
973
|
+
/* @__PURE__ */ o.jsx(te, { color: "danger", onClick: () => u(b), className: _(dt.removeIcon), children: /* @__PURE__ */ o.jsx(Jc, {}) }),
|
|
974
|
+
/* @__PURE__ */ o.jsx(te, { color: h ? "danger" : "primary", onClick: () => d(b), className: _(dt.fullWidthIcon), children: /* @__PURE__ */ o.jsx(Zc, {}) })
|
|
975
975
|
] }),
|
|
976
|
-
g.id === -1 ? r && /* @__PURE__ */ o.jsx("div", { className:
|
|
977
|
-
g.id > -1 && r && /* @__PURE__ */ o.jsx("div", { className:
|
|
976
|
+
g.id === -1 ? r && /* @__PURE__ */ o.jsx("div", { className: dt.widgetWrapper, children: /* @__PURE__ */ o.jsx(Wo, { 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 }) }),
|
|
977
|
+
g.id > -1 && r && /* @__PURE__ */ o.jsx("div", { className: dt.widgetEditOverlay })
|
|
978
978
|
] }, b) : /* @__PURE__ */ o.jsx(o.Fragment, {}), [
|
|
979
979
|
r,
|
|
980
980
|
e,
|
|
@@ -984,7 +984,7 @@ const Au = (e) => (r) => {
|
|
|
984
984
|
t,
|
|
985
985
|
i
|
|
986
986
|
]), { isMobile: f } = xn();
|
|
987
|
-
return /* @__PURE__ */ o.jsx("div", { className: _(
|
|
987
|
+
return /* @__PURE__ */ o.jsx("div", { className: _(dt.dashboard, { [dt.mobile]: f }), children: /* @__PURE__ */ o.jsxs("div", { className: _(dt.widgetsGrid), children: [
|
|
988
988
|
(m = s.widgets) == null ? void 0 : m.map((g, b) => p(t.find((h) => h.id === g.widgetId), b, g.fullWidth)),
|
|
989
989
|
r && /* @__PURE__ */ o.jsx(Wo, { widgetGroups: e, availableWidgets: t, onAdd: (g) => {
|
|
990
990
|
var b;
|
|
@@ -1517,13 +1517,13 @@ function rl(e) {
|
|
|
1517
1517
|
}, n);
|
|
1518
1518
|
}
|
|
1519
1519
|
process.env.NODE_ENV !== "production" && (rl.propTypes = {
|
|
1520
|
-
store:
|
|
1521
|
-
subscribe:
|
|
1522
|
-
dispatch:
|
|
1523
|
-
getState:
|
|
1520
|
+
store: ut.shape({
|
|
1521
|
+
subscribe: ut.func.isRequired,
|
|
1522
|
+
dispatch: ut.func.isRequired,
|
|
1523
|
+
getState: ut.func.isRequired
|
|
1524
1524
|
}),
|
|
1525
|
-
context:
|
|
1526
|
-
children:
|
|
1525
|
+
context: ut.object,
|
|
1526
|
+
children: ut.any
|
|
1527
1527
|
});
|
|
1528
1528
|
var Wa = id(), zp = {
|
|
1529
1529
|
childContextTypes: !0,
|
|
@@ -7420,8 +7420,8 @@ var dc = function(e) {
|
|
|
7420
7420
|
}]), t;
|
|
7421
7421
|
}(le.Component);
|
|
7422
7422
|
dc.propTypes = {
|
|
7423
|
-
children:
|
|
7424
|
-
node:
|
|
7423
|
+
children: ut.node.isRequired,
|
|
7424
|
+
node: ut.any
|
|
7425
7425
|
};
|
|
7426
7426
|
var Ob = /* @__PURE__ */ function() {
|
|
7427
7427
|
function e(t, r) {
|
|
@@ -7483,8 +7483,8 @@ var uc = function(e) {
|
|
|
7483
7483
|
}]), t;
|
|
7484
7484
|
}(le.Component);
|
|
7485
7485
|
uc.propTypes = {
|
|
7486
|
-
children:
|
|
7487
|
-
node:
|
|
7486
|
+
children: ut.node.isRequired,
|
|
7487
|
+
node: ut.any
|
|
7488
7488
|
};
|
|
7489
7489
|
var Na = void 0;
|
|
7490
7490
|
Ir.createPortal ? Na = dc : Na = uc;
|
|
@@ -7746,6 +7746,14 @@ const pc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7746
7746
|
backgroundPosition: "center",
|
|
7747
7747
|
backgroundSize: "contain"
|
|
7748
7748
|
} }) : /* @__PURE__ */ o.jsx("img", { ...s, alt: t ?? "", src: c ?? a });
|
|
7749
|
+
}, NN = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, renderAsDivBg: i, ...s }) => {
|
|
7750
|
+
const { data: l } = lt("/photos/SAS", { silent: !0 }), c = M(() => `${e}?${l}`, [e, l]);
|
|
7751
|
+
return !l || !e ? null : i ? /* @__PURE__ */ o.jsx("div", { ...s, style: {
|
|
7752
|
+
backgroundImage: c ? `url(${c})` : void 0,
|
|
7753
|
+
backgroundRepeat: "no-repeat",
|
|
7754
|
+
backgroundPosition: "center",
|
|
7755
|
+
backgroundSize: "contain"
|
|
7756
|
+
} }) : /* @__PURE__ */ o.jsx("img", { ...s, alt: t ?? "", src: c ?? a });
|
|
7749
7757
|
}, Da = ({ InputContainer: e = ir, label: t, value: r, onChange: n, hidden: a, disabled: i, className: s, type: l, withoutLabel: c, indeterminate: u, hint: d }) => {
|
|
7750
7758
|
const p = re(null);
|
|
7751
7759
|
return q(() => {
|
|
@@ -7908,7 +7916,7 @@ const pc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7908
7916
|
] })
|
|
7909
7917
|
] })
|
|
7910
7918
|
] });
|
|
7911
|
-
},
|
|
7919
|
+
}, DN = ({ value: e, label: t, InputContainer: r = ir, className: n, withoutLabel: a, hidden: i, disabled: s, contactType: l, ...c }) => i ? null : /* @__PURE__ */ o.jsx(fc, { contactType: l, value: e, withoutLabel: a, label: t, className: n, children: /* @__PURE__ */ o.jsx(it, { type: "text", value: e, disabled: s, InputContainer: r, size: "sm", withoutLabel: !0, ...c }) }), jN = ({ InputContainer: e = ir, items: t, selectedItemNavigateTo: r, onSearchQueryChange: n, texts: a, isLoading: i, value: s, onSelect: l, label: c, withoutLabel: u, size: d, dropdownItemsNameWidth: p, additionalColumns: f, hidden: m, disabled: g, displayIdAsName: b, CustomOnChangeComponent: h, className: v, archiveColumn: y, icon: N, hint: w, addNewOptionPath: x, refreshOptions: j, MiniDetailComponent: C, miniDetailPlacement: O, suggestedItems: E, suggestedItemsTitle: T }) => {
|
|
7912
7920
|
const [B, V] = k(!1), S = P((G) => {
|
|
7913
7921
|
l && l(G);
|
|
7914
7922
|
}, [l]), I = P((G) => {
|
|
@@ -7954,7 +7962,7 @@ const pc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7954
7962
|
] }),
|
|
7955
7963
|
$.current && /* @__PURE__ */ o.jsx(Aa, { show: B, onCancel: () => V(!1), items: t, currentSelection: s, onSelectionChange: I, onSearchQueryChange: n, texts: a, itemsNameWidth: p, additionalColumns: f, isLoading: i, disabled: g, inputRef: $, archiveColumn: y, displayIdAsName: b, addNewOptionPath: x, refreshOptions: j, suggestedItems: E, suggestedItemsTitle: T })
|
|
7956
7964
|
] }) });
|
|
7957
|
-
},
|
|
7965
|
+
}, CN = ({ InputContainer: e = ir, value: t, onChange: r, label: n, size: a, showClearIcon: i, clearValue: s, hidden: l, disabled: c, rows: u, withoutLabel: d, debounceMs: p, minLength: f, maxLength: m, className: g, hint: b }) => {
|
|
7958
7966
|
const h = P(() => {
|
|
7959
7967
|
if (!r)
|
|
7960
7968
|
return;
|
|
@@ -7980,7 +7988,7 @@ const pc = ({ src: e, alt: t, baseUrl: r, customToken: n, placeholder: a, render
|
|
|
7980
7988
|
/* @__PURE__ */ o.jsx(Pe.Control, { as: "textarea", size: a, value: p ? y : t ?? "", onChange: x, hidden: l, disabled: c, rows: u ?? 2, className: "w-100", minLength: f, maxLength: m }),
|
|
7981
7989
|
i && t && r && !c && /* @__PURE__ */ o.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ o.jsx(te, { color: "secondary", size: "sm", onClick: h, children: /* @__PURE__ */ o.jsx(Ot, {}) }) })
|
|
7982
7990
|
] });
|
|
7983
|
-
},
|
|
7991
|
+
}, SN = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, label: a, withoutLabel: i, placeholder: s, size: l, hidden: c, disabled: u, showClearIcon: d, clearValue: p, className: f, step: m, stepperStep: g = 1, min: b, max: h, hint: v }) => {
|
|
7984
7992
|
const y = P(() => {
|
|
7985
7993
|
if (!r)
|
|
7986
7994
|
return;
|
|
@@ -8694,7 +8702,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
8694
8702
|
}), t(s);
|
|
8695
8703
|
}, [r, t]);
|
|
8696
8704
|
return { setFromToProp: n, handleArrowClick: a, handleRangeChange: i };
|
|
8697
|
-
},
|
|
8705
|
+
}, EN = ({ fromtoState: [e, t], className: r, size: n }) => {
|
|
8698
8706
|
const { texts: { date: a }, ProjectIconComponent: i } = z(J), [s, l] = k("C"), { handleArrowClick: c, handleRangeChange: u, setFromToProp: d } = ry(s, l, t), p = M(() => s === "C", [s]), f = re(!0);
|
|
8699
8707
|
return q(() => {
|
|
8700
8708
|
if (f.current) {
|
|
@@ -8714,17 +8722,17 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
8714
8722
|
c(1);
|
|
8715
8723
|
}, children: /* @__PURE__ */ o.jsx(i, { icon: "chevron-right" }) })
|
|
8716
8724
|
] });
|
|
8717
|
-
},
|
|
8725
|
+
}, IN = ({ defaultMonth: e, searchKey: t = "monthFrom", yearMin: r, yearMax: n }) => {
|
|
8718
8726
|
const { localizationContext: a } = z(J), { dateFnsLocale: i } = z(a), { searchParams: s, setSearch: l } = tu(), c = s.get(t), u = c ? Ut(c) : e, d = P((p) => {
|
|
8719
8727
|
l(t, ua(p, { representation: "date" }));
|
|
8720
8728
|
}, [t, l]);
|
|
8721
8729
|
return /* @__PURE__ */ o.jsx(Iu, { month: u, onChangeMonth: d, locale: i, yearMin: r, yearMax: n });
|
|
8722
|
-
},
|
|
8730
|
+
}, _N = ({ defaultYear: e, searchKey: t = "yearFrom", ...r }) => {
|
|
8723
8731
|
const [n, a] = Ma(t, ua(e, { representation: "date" })), i = n ? Ut(n) : e, s = P((l) => {
|
|
8724
8732
|
a(ua(l, { representation: "date" }));
|
|
8725
8733
|
}, [a]);
|
|
8726
8734
|
return /* @__PURE__ */ o.jsx(Pu, { year: i, onChangeYear: s, ...r });
|
|
8727
|
-
},
|
|
8735
|
+
}, ON = ({ data: e, showLegend: t = !1, legendPosition: r = "left", onClick: n }) => {
|
|
8728
8736
|
const { chartColorPalette: a } = z(J);
|
|
8729
8737
|
return /* @__PURE__ */ o.jsx(wd, { data: e, margin: {
|
|
8730
8738
|
top: 50,
|
|
@@ -8768,7 +8776,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
8768
8776
|
/* @__PURE__ */ o.jsx(Y, { variant: "body", className: "fw-bold", children: (c = r == null ? void 0 : r[i]) == null ? void 0 : c[a] })
|
|
8769
8777
|
] })
|
|
8770
8778
|
] });
|
|
8771
|
-
},
|
|
8779
|
+
}, PN = ({ data: e, xKey: t, yKeys: r, translateKey: n, usePercentageValue: a = !1, variant: i = "default", legendPosition: s, noSort: l = !1 }) => {
|
|
8772
8780
|
const { chartColorPalette: c } = z(J), [u, d] = k(/* @__PURE__ */ new Set()), p = (x) => {
|
|
8773
8781
|
d((j) => {
|
|
8774
8782
|
const C = new Set(j);
|
|
@@ -9119,7 +9127,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9119
9127
|
apiItemDelete: "/dynamicForms/delete",
|
|
9120
9128
|
apiItemCreate: "/dynamicForms/insert",
|
|
9121
9129
|
apiExportGet: "/dynamicForms/export"
|
|
9122
|
-
},
|
|
9130
|
+
}, TN = ({ id: e, page: t, setPage: r, filters: n, setFilter: a, sortByField: i, sortByType: s, setSortBy: l, appUrls: { appDetail: c = Qi.appDetail } = Qi, apiUrls: { apiSchemaGet: u = Lt.apiSchemaGet, apiDataGet: d = Lt.apiDataGet, apiItemPost: p = Lt.apiItemPost, apiItemDelete: f = Lt.apiItemDelete, apiItemCreate: m = Lt.apiItemCreate, apiExportGet: g = Lt.apiExportGet } = Lt, customPickers: b }) => {
|
|
9123
9131
|
var Le, et, tt, Yt, wo, No, Do;
|
|
9124
9132
|
const { texts: { dynamicForms: h }, ProjectIconComponent: v } = z(J), y = ft(), { startLoading: N, stopLoading: w } = z(sr), [x, j] = k(null), [C, O] = k(null), [E, T] = k(null), [B, V] = k(null), [S, I] = k(!1), { addNotification: $ } = Ra(), [A, L] = k([]), { confirm: U } = lr(), G = 20, H = G + 1, X = B ? Math.ceil(B.length / G) : 1, ee = t ? t > 1 : !1, ie = t ? t < X : !1, se = t ? (t - 1) * G : 0, be = t ? t * G : G, W = M(() => B ? B.length > H : !1, [B, H]), ae = M(() => W ? (B == null ? void 0 : B.slice(se, be)) ?? null : B ?? null, [W, B, se, be]), [me, je] = Ma("masterId", null, "string"), [pe, R] = k(me);
|
|
9125
9133
|
q(() => {
|
|
@@ -9216,7 +9224,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9216
9224
|
}
|
|
9217
9225
|
V([...E].sort((oe, ve) => {
|
|
9218
9226
|
var ur, pr, fr, mr, gr, zr;
|
|
9219
|
-
const De = ((pr = (ur = oe[i]) == null ? void 0 : ur.value) == null ? void 0 : pr.toString()) ?? "", he = ((mr = (fr = ve[i]) == null ? void 0 : fr.value) == null ? void 0 : mr.toString()) ?? "", Ie = x.columns.find((
|
|
9227
|
+
const De = ((pr = (ur = oe[i]) == null ? void 0 : ur.value) == null ? void 0 : pr.toString()) ?? "", he = ((mr = (fr = ve[i]) == null ? void 0 : fr.value) == null ? void 0 : mr.toString()) ?? "", Ie = x.columns.find((ct) => ct.field === i), Ae = Ie == null ? void 0 : Ie.type;
|
|
9220
9228
|
if (!Ie || !Ae || !De && !he)
|
|
9221
9229
|
return 0;
|
|
9222
9230
|
if (!De)
|
|
@@ -9224,22 +9232,22 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9224
9232
|
if (!he)
|
|
9225
9233
|
return -1;
|
|
9226
9234
|
if (Ie.values && Ie.values.length > 0) {
|
|
9227
|
-
const
|
|
9235
|
+
const ct = ((gr = Ie.values.find((On) => {
|
|
9228
9236
|
var vr;
|
|
9229
9237
|
return ((vr = On.id) == null ? void 0 : vr.toString()) === De;
|
|
9230
9238
|
})) == null ? void 0 : gr.name) ?? "", yt = ((zr = Ie.values.find((On) => {
|
|
9231
9239
|
var vr;
|
|
9232
9240
|
return ((vr = On.id) == null ? void 0 : vr.toString()) === he;
|
|
9233
9241
|
})) == null ? void 0 : zr.name) ?? "";
|
|
9234
|
-
return s === "asc" ?
|
|
9242
|
+
return s === "asc" ? ct.localeCompare(yt) : yt.localeCompare(ct);
|
|
9235
9243
|
}
|
|
9236
9244
|
if (Ae === "NUM") {
|
|
9237
|
-
const
|
|
9238
|
-
return s === "asc" ?
|
|
9245
|
+
const ct = Number(De), yt = Number(he);
|
|
9246
|
+
return s === "asc" ? ct - yt : yt - ct;
|
|
9239
9247
|
}
|
|
9240
9248
|
if (Ae === "DT") {
|
|
9241
|
-
const
|
|
9242
|
-
return s === "asc" ?
|
|
9249
|
+
const ct = Ut(De == null ? void 0 : De.toString()).getTime(), yt = Ut(he == null ? void 0 : he.toString()).getTime();
|
|
9250
|
+
return s === "asc" ? ct - yt : yt - ct;
|
|
9243
9251
|
}
|
|
9244
9252
|
return s === "asc" ? De.toString().localeCompare(he.toString()) : he.toString().localeCompare(De.toString());
|
|
9245
9253
|
}));
|
|
@@ -9309,14 +9317,14 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9309
9317
|
appDetail: "/settings/:id"
|
|
9310
9318
|
}, Zi = {
|
|
9311
9319
|
apiDynamicFormsGet: "/dynamicForms"
|
|
9312
|
-
}, _y = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ o.jsx(Ue, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ o.jsx("div", { children: t }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: t }),
|
|
9320
|
+
}, _y = ({ item: e, children: t }) => e.description ? /* @__PURE__ */ o.jsx(Ue, { placement: "left", text: e.description ?? "", children: /* @__PURE__ */ o.jsx("div", { children: t }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: t }), AN = ({ activeId: e, otherForms: t = [], groupsDefs: r = [], searchQuery: n, fullSize: a, appUrls: { appDetail: i = Ji.appDetail } = Ji, apiUrls: { apiDynamicFormsGet: s = Zi.apiDynamicFormsGet } = Zi }) => {
|
|
9313
9321
|
const l = ft(), { startLoading: c, stopLoading: u } = z(sr), [d, p] = k(null), [f] = Ma("search", ""), m = M(() => [
|
|
9314
9322
|
...(d == null ? void 0 : d.map((h) => ({
|
|
9315
9323
|
...h,
|
|
9316
9324
|
type: "dynamic-form"
|
|
9317
9325
|
}))) ?? [],
|
|
9318
9326
|
...t
|
|
9319
|
-
].filter((h) =>
|
|
9327
|
+
].filter((h) => pt(h.name, n) || pt(h.description, n)).sort((h, v) => (h.name ?? "").localeCompare(v.name ?? "")) ?? [], [d, t, n]), g = M(() => r.map((h) => ({
|
|
9320
9328
|
id: h.id,
|
|
9321
9329
|
name: h.name ?? "",
|
|
9322
9330
|
items: m.filter((v) => v.group === h.id)
|
|
@@ -9334,10 +9342,10 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9334
9342
|
v.description && /* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "text-muted mt-2", children: v.description })
|
|
9335
9343
|
] }, v.id) : /* @__PURE__ */ o.jsx(_y, { item: v, children: /* @__PURE__ */ o.jsx(Ze, { to: `${er(i, { id: (w = v.id) == null ? void 0 : w.toString() })}?type=${v.type}&search=${f ?? ""}`, className: `text-nowrap list-group-item list-group-item-action ${(e == null ? void 0 : e.toString()) === ((x = v.id) == null ? void 0 : x.toString()) ? "active" : ""}`, children: /* @__PURE__ */ o.jsx(Y, { variant: "body2", children: v.name }) }) }, v.id);
|
|
9336
9344
|
}) }, h.id)) }) }) : null;
|
|
9337
|
-
},
|
|
9345
|
+
}, RN = ({ label: e, to: t, value: r }) => /* @__PURE__ */ o.jsxs(Oe, { label: e, children: [
|
|
9338
9346
|
/* @__PURE__ */ o.jsx("input", { disabled: !0, className: "form-control d-none" }),
|
|
9339
9347
|
t ? /* @__PURE__ */ o.jsx(Ze, { to: t, className: "border-bottom luminus-dropdown-picker-link form-control d-flex justify-content-end align-items-center", children: r }) : /* @__PURE__ */ o.jsx("div", { className: "luminus-dropdown-picker-link form-control d-flex justify-content-end align-items-center", children: r })
|
|
9340
|
-
] }),
|
|
9348
|
+
] }), kN = () => {
|
|
9341
9349
|
const { localizationContext: e } = z(J), { language: t, setLanguage: r } = z(e), n = (a) => {
|
|
9342
9350
|
r(a);
|
|
9343
9351
|
};
|
|
@@ -9362,7 +9370,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9362
9370
|
/* @__PURE__ */ o.jsx(Kt, {}),
|
|
9363
9371
|
/* @__PURE__ */ o.jsx("span", { children: "EN" })
|
|
9364
9372
|
] }) });
|
|
9365
|
-
},
|
|
9373
|
+
}, BN = ({ controlId: e, ...t }) => /* @__PURE__ */ o.jsx(Pe.Group, { controlId: e, ...t }), MN = ({ employeeId: e, alt: t, noPhotoImage: r, cafmApiUrl: n, showLargeInLightBox: a = !1 }) => {
|
|
9366
9374
|
const { user: i } = z(Pt), { photoPath: s, photoPathSm: l } = ru(e);
|
|
9367
9375
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: e && /* @__PURE__ */ o.jsx(o.Fragment, { children: a ? /* @__PURE__ */ o.jsx(Xb, { baseUrl: n, customToken: i.cafmToken ?? void 0, photos: [
|
|
9368
9376
|
{
|
|
@@ -9373,7 +9381,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9373
9381
|
lgSrc: s
|
|
9374
9382
|
}
|
|
9375
9383
|
], placeholder: r, ImgComponent: $i }) : /* @__PURE__ */ o.jsx($i, { baseUrl: n, customToken: i.cafmToken ?? void 0, src: l, alt: t, placeholder: r, className: "rounded w-100" }) }) });
|
|
9376
|
-
},
|
|
9384
|
+
}, LN = ({ text: e, setText: t, onSearchButtonClick: r, className: n }) => {
|
|
9377
9385
|
const a = (i) => {
|
|
9378
9386
|
t(i);
|
|
9379
9387
|
};
|
|
@@ -9382,7 +9390,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9382
9390
|
e && /* @__PURE__ */ o.jsx(sa, { onClick: () => a(""), variant: "link", className: "border text-muted", children: /* @__PURE__ */ o.jsx(Ot, {}) }),
|
|
9383
9391
|
/* @__PURE__ */ o.jsx(sa, { onClick: () => r && r(e), variant: "link", className: "border", children: /* @__PURE__ */ o.jsx(Cd, {}) })
|
|
9384
9392
|
] });
|
|
9385
|
-
},
|
|
9393
|
+
}, FN = ({ value: e, numberPrefix: t, numberSuffix: r, decimalScale: n = 2, fixedDecimalScale: a = !1, className: i }) => /* @__PURE__ */ o.jsx(xo, { value: e, displayType: "text", thousandSeparator: " ", decimalScale: n, fixedDecimalScale: a, defaultValue: "", prefix: t, suffix: r, className: i, decimalSeparator: "," }), VN = ({ data: e, keys: t, colors: r, tooltipLabel: n }) => /* @__PURE__ */ o.jsx(Sd, { data: e.map((a) => ({ name: a.name, ...a.values })), indexBy: "name", keys: t, margin: {
|
|
9386
9394
|
top: 20,
|
|
9387
9395
|
right: 50,
|
|
9388
9396
|
bottom: 30,
|
|
@@ -9415,7 +9423,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9415
9423
|
"card-title-link": "_card-title-link_1gvpy_22",
|
|
9416
9424
|
cardTitleLink: My
|
|
9417
9425
|
}, Ly = ({ reportsLastUsedGet: e, getReportRoute: t, getReportName: r }) => {
|
|
9418
|
-
const { texts: { reports: n } } = z(J), { data: a } =
|
|
9426
|
+
const { texts: { reports: n } } = z(J), { data: a } = lt(e);
|
|
9419
9427
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsx(un, { defaultOpen: !0, title: n.index.lastUsedReports, children: /* @__PURE__ */ o.jsx(Sr, { children: a && a.map((i) => i.versions.map((s) => /* @__PURE__ */ o.jsxs(yn, { as: Ze, to: t(i, s.id), className: "p-1 px-2", action: !0, children: [
|
|
9420
9428
|
/* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "text-uppercase", children: r(i) }),
|
|
9421
9429
|
/* @__PURE__ */ o.jsxs(Y, { variant: "caption", className: "d-flex justify-content-between align-items-center gap-3 text-dark", children: [
|
|
@@ -9451,16 +9459,16 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9451
9459
|
}, ra = {
|
|
9452
9460
|
reportsGet: "/reports",
|
|
9453
9461
|
reportsLastUsedGet: "/reports/last-used"
|
|
9454
|
-
},
|
|
9462
|
+
}, $N = ({ groups: e, apiUrls: { reportsGet: t = ra.reportsGet, reportsLastUsedGet: r = ra.reportsLastUsedGet } = ra, getReportName: n, getReportDescription: a, getGroupTitle: i, getReportRoute: s }) => {
|
|
9455
9463
|
const { texts: { reports: l } } = z(J), [c, u] = k(""), [d] = Oa(c, 500), p = P((h) => h.map((v) => ({
|
|
9456
9464
|
...v,
|
|
9457
9465
|
groupId: !v.groupId || v.groupId === 0 || !e.some((y) => y === v.groupId) ? 999 : v.groupId
|
|
9458
|
-
})), [e]), { data: f } =
|
|
9466
|
+
})), [e]), { data: f } = lt(t, { dataTransformer: p }), m = M(() => {
|
|
9459
9467
|
if (f === null)
|
|
9460
9468
|
return {};
|
|
9461
9469
|
const h = {};
|
|
9462
9470
|
return e.forEach((v) => {
|
|
9463
|
-
h[v] = f.filter((y) => y.groupId === v && (
|
|
9471
|
+
h[v] = f.filter((y) => y.groupId === v && (pt(n(y), d) || pt(a(y), d) || y.versions.some((N) => pt(N.name, d)) || y.versionsCustom.some((N) => pt(N.name, d))));
|
|
9464
9472
|
}), h;
|
|
9465
9473
|
}, [d, e, f, a, n]), g = M(() => e.filter((h) => {
|
|
9466
9474
|
var v;
|
|
@@ -9481,7 +9489,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9481
9489
|
miniDetailPopover: Vy,
|
|
9482
9490
|
sm: $y,
|
|
9483
9491
|
lg: Gy
|
|
9484
|
-
},
|
|
9492
|
+
}, GN = ({ children: e, useMiniDetail: t, miniDetailProps: r, placement: n = "bottom", trigger: a = ["hover"], delayMs: i = 500 }) => {
|
|
9485
9493
|
const { user: s } = z(Pt), [l, c] = k(!1), { isLoading: u, detail: d, heading: p, tooltipWidth: f } = t({
|
|
9486
9494
|
...r,
|
|
9487
9495
|
enabled: l && !(s != null && s.external)
|
|
@@ -9512,10 +9520,10 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9512
9520
|
/* @__PURE__ */ o.jsx("span", { className: "placeholder col-4" })
|
|
9513
9521
|
] })
|
|
9514
9522
|
] }) : d }), placement: n, trigger: a, popoverClassName: _(rs.miniDetailPopover, rs[f]), children: /* @__PURE__ */ o.jsx("div", { children: e }) }) : /* @__PURE__ */ o.jsx(o.Fragment, { children: e }) });
|
|
9515
|
-
},
|
|
9523
|
+
}, WN = ({ label: e, value: t }) => /* @__PURE__ */ o.jsxs("div", { className: "py-1 border-bottom d-flex gap-3 align-items-center justify-content-between", children: [
|
|
9516
9524
|
/* @__PURE__ */ o.jsx(Y, { variant: "caption", children: e }),
|
|
9517
9525
|
/* @__PURE__ */ o.jsx(Y, { variant: "body2", className: "text-end", children: t ?? "-" })
|
|
9518
|
-
] }),
|
|
9526
|
+
] }), UN = ({ route: e, variant: t = "link", children: r, className: n, disabled: a = !1, routeParams: i }) => {
|
|
9519
9527
|
const { checkUserHasPermissions: s } = Es(), l = M(() => a || !(e.permissions === void 0 || s(e.permissions)), [s, a, e.permissions]), c = r ?? e.name, u = M(() => {
|
|
9520
9528
|
switch (t) {
|
|
9521
9529
|
case "primaryButton":
|
|
@@ -9529,9 +9537,9 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9529
9537
|
}
|
|
9530
9538
|
}, [t]);
|
|
9531
9539
|
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 });
|
|
9532
|
-
},
|
|
9540
|
+
}, HN = ({ id: e, getTimelineApiPath: t }) => {
|
|
9533
9541
|
var s;
|
|
9534
|
-
const { texts: { approval: r }, ProjectIconComponent: n } = z(J), { data: a } =
|
|
9542
|
+
const { texts: { approval: r }, ProjectIconComponent: n } = z(J), { data: a } = lt(t(e)), i = P((l, c = !1) => {
|
|
9535
9543
|
switch (l) {
|
|
9536
9544
|
case qr.Zamitnuto:
|
|
9537
9545
|
return /* @__PURE__ */ o.jsx(Ue, { placement: "left", text: r.stateRejected, children: /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx(n, { icon: "cancel-simple", className: c ? "text-danger" : "bg-danger rounded-circle p-1", iconProps: { fontSize: "14px", color: c ? void 0 : "white" } }) }) });
|
|
@@ -9589,7 +9597,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9589
9597
|
left: qy,
|
|
9590
9598
|
right: Yy,
|
|
9591
9599
|
active: Ky
|
|
9592
|
-
},
|
|
9600
|
+
}, zN = ({ isLeftStateActive: e, toggleState: t, leftStateLabel: r, rightStateLabel: n }) => /* @__PURE__ */ o.jsxs("div", { role: "button", className: _("gap-1", rt.stateSwitch), onClick: t, children: [
|
|
9593
9601
|
/* @__PURE__ */ o.jsxs(Y, { variant: "body2", className: _(rt.switchButton, rt.left, {
|
|
9594
9602
|
[rt.active]: e
|
|
9595
9603
|
}), children: [
|
|
@@ -9602,8 +9610,8 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9602
9610
|
/* @__PURE__ */ o.jsx("div", { className: rt.bgLayer }),
|
|
9603
9611
|
/* @__PURE__ */ o.jsx("div", { className: rt.textLayer, children: n })
|
|
9604
9612
|
] })
|
|
9605
|
-
] }),
|
|
9606
|
-
const { texts: { substitutions: a } } = z(J), { data: i } =
|
|
9613
|
+
] }), qN = ({ showArchived: e, BnfTableComponent: t, tableIdentifier: r, detailRoute: n }) => {
|
|
9614
|
+
const { texts: { substitutions: a } } = z(J), { data: i } = lt(`/permissions/substitutions?archived=${e}`), s = M(() => ({ enable: !0, column: "archived" }), []), l = M(() => [
|
|
9607
9615
|
{
|
|
9608
9616
|
fieldName: "employeeName",
|
|
9609
9617
|
caption: a.index.employeeName,
|
|
@@ -9641,7 +9649,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9641
9649
|
id: u.id.toString()
|
|
9642
9650
|
}), [n]);
|
|
9643
9651
|
return /* @__PURE__ */ o.jsx(t, { data: i ?? [], columnsDef: l, tableId: r, useSearchState: !0, paginationMode: "enabled", useScrollableContainer: !0, archiveHighlighting: s, rowNavigation: c });
|
|
9644
|
-
},
|
|
9652
|
+
}, YN = ({ InputContainer: e = Oe, formField: t, label: r, resetsFields: n, type: a, required: i, hidden: s, disabled: l, withoutLabel: c, hint: u, onChange: d, className: p }) => {
|
|
9645
9653
|
const { register: f, formState: m, setValue: g } = xt(), b = bt({ falseIfNotInit: !0 }), [h, v] = k(void 0), [y, N] = k(!1);
|
|
9646
9654
|
q(() => {
|
|
9647
9655
|
const j = t.split(".");
|
|
@@ -9661,7 +9669,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9661
9669
|
}), isInvalid: x, hidden: s, disabled: w, className: "w-100" }),
|
|
9662
9670
|
h && /* @__PURE__ */ o.jsx(zt, { message: h.message })
|
|
9663
9671
|
] });
|
|
9664
|
-
},
|
|
9672
|
+
}, KN = ({ InputContainer: e = Oe, label: t, formField: r, options: n, resetsFields: a, required: i, disabled: s, hidden: l, onChange: c, className: u }) => {
|
|
9665
9673
|
const { register: d, formState: p, setValue: f, watch: m } = xt(), g = bt({ falseIfNotInit: !0 }), [b, h] = k(void 0), [v, y] = k(!1), N = M(() => n, [n]), w = M(() => s || g, [s, g]);
|
|
9666
9674
|
q(() => {
|
|
9667
9675
|
const j = r.split(".");
|
|
@@ -9682,10 +9690,10 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9682
9690
|
}), isInvalid: x, hidden: l, disabled: w, className: "w-100" }, j.id)),
|
|
9683
9691
|
b && /* @__PURE__ */ o.jsx(zt, { message: b.message })
|
|
9684
9692
|
] });
|
|
9685
|
-
},
|
|
9693
|
+
}, XN = ({ label: e, InputContainer: t = Oe, className: r, withoutLabel: n, hidden: a, disabled: i, contactType: s, formField: l, ...c }) => {
|
|
9686
9694
|
const { watch: u } = xt(), d = u(l), p = bt({ falseIfNotInit: !0 }), f = M(() => i || p, [i, p]);
|
|
9687
9695
|
return a ? null : /* @__PURE__ */ o.jsx(fc, { contactType: s, value: d, withoutLabel: n, label: e, className: r, children: /* @__PURE__ */ o.jsx(ca, { type: "text", formField: l, InputContainer: t, size: "sm", withoutLabel: !0, className: "flex-grow-1", disabled: f, ...c }) });
|
|
9688
|
-
},
|
|
9696
|
+
}, QN = ({ InputContainer: e = Oe, formField: t, label: r, size: n, defaultSelection: a, resetsFields: i, isNumber: s, required: l, hidden: c, disabled: u, items: d, onSearchQueryChange: p, selectedItemNavigateTo: f, texts: m, dropdownItemsNameWidth: g, isLoading: b, withoutLabel: h, additionalColumns: v, CustomOnChangeComponent: y, icon: N, displayIdAsName: w, onSelect: x, className: j, archiveColumn: C, hint: O, addNewOptionPath: E, refreshOptions: T, MiniDetailComponent: B, miniDetailPlacement: V, suggestedItems: S, suggestedItemsTitle: I }) => {
|
|
9689
9697
|
const { formState: $, setValue: A, watch: L, control: U } = xt(), G = bt({ falseIfNotInit: !0 }), [H, X] = k(void 0), [ee, ie] = k(!1), [se, be] = k(!1), W = L(t) ?? null, ae = W === (a == null ? void 0 : a.id) ? a == null ? void 0 : a.name : L(`${t}-DropdownName`), me = M(() => W == null ? null : { id: W ?? null, name: ae ?? "" }, [W, ae]), je = P(() => {
|
|
9690
9698
|
const F = t.split(".");
|
|
9691
9699
|
let Z = $.errors;
|
|
@@ -9738,7 +9746,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9738
9746
|
H && /* @__PURE__ */ o.jsx(zt, { message: H.message }),
|
|
9739
9747
|
Ee.current && /* @__PURE__ */ o.jsx(Aa, { show: ee, onCancel: de, items: d, currentSelection: me, onSelectionChange: R, onSearchQueryChange: p, texts: m, itemsNameWidth: g, additionalColumns: v, displayIdAsName: w, isLoading: b, disabled: K, inputRef: Ee, archiveColumn: C, addNewOptionPath: E, refreshOptions: T, suggestedItems: S, suggestedItemsTitle: I })
|
|
9740
9748
|
] }) });
|
|
9741
|
-
},
|
|
9749
|
+
}, JN = ({ InputContainer: e = Oe, label: t, formField: r, hidden: n, required: a, placeholder: i, disabled: s, showClearIcon: l, resetsFields: c, multiple: u, accept: d, withoutLabel: p, hint: f, className: m }) => {
|
|
9742
9750
|
const { watch: g, setValue: b, register: h, formState: v } = xt(), y = bt({ falseIfNotInit: !0 }), [N, w] = k(!1), [x, j] = k(void 0), C = P(() => {
|
|
9743
9751
|
b(r, "");
|
|
9744
9752
|
}, [b, r]), O = P(() => {
|
|
@@ -9806,7 +9814,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9806
9814
|
return b !== void 0 && H && (R.some((de) => de.id === H) || R.push({ id: H, name: b })), R.map((de) => ({
|
|
9807
9815
|
id: de.id,
|
|
9808
9816
|
name: ae(de)
|
|
9809
|
-
})).filter((de) =>
|
|
9817
|
+
})).filter((de) => pt(de.name, U)).sort((de, Ee) => p ? 0 : (de.name ?? "").localeCompare(Ee.name ?? ""));
|
|
9810
9818
|
}, [
|
|
9811
9819
|
t,
|
|
9812
9820
|
p,
|
|
@@ -9825,7 +9833,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9825
9833
|
V && /* @__PURE__ */ o.jsx(zt, { message: V.message }),
|
|
9826
9834
|
je.current && /* @__PURE__ */ o.jsx(Aa, { show: I, onCancel: () => $(!1), items: me, currentSelection: X ?? null, onSelectionChange: se, onSearchQueryChange: be, texts: j, disabled: W, inputRef: je, autoHideSearch: !0, allItemsLength: t.length, addNewOptionPath: v, refreshOptions: y })
|
|
9827
9835
|
] }) });
|
|
9828
|
-
},
|
|
9836
|
+
}, ZN = ({ InputContainer: e = Oe, formField: t, label: r, placeholder: n, size: a, resetsFields: i, showClearIcon: s, clearValue: l, required: c, hidden: u, disabled: d, withoutLabel: p, step: f, stepperStep: m = 1, className: g, min: b, max: h, onChange: v, hint: y }) => {
|
|
9829
9837
|
const { register: N, formState: w, setValue: x, watch: j } = xt(), C = bt({ falseIfNotInit: !0 }), [O, E] = k(void 0), [T, B] = k(!1), V = P((U, G, H) => {
|
|
9830
9838
|
x(U, Nr(G, b, h), H);
|
|
9831
9839
|
}, [h, b, x]), S = P(() => {
|
|
@@ -9868,7 +9876,7 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9868
9876
|
s && j(t) && /* @__PURE__ */ o.jsx("div", { className: "luminus-input-remove-icon", children: /* @__PURE__ */ o.jsx(te, { color: "secondary", size: "sm", onClick: S, children: /* @__PURE__ */ o.jsx(Ot, {}) }) }),
|
|
9869
9877
|
O && /* @__PURE__ */ o.jsx(zt, { message: O.message })
|
|
9870
9878
|
] });
|
|
9871
|
-
},
|
|
9879
|
+
}, eD = ({ InputContainer: e = Oe, formField: t, label: r, placeholder: n, resetsFields: a, showClearIcon: i, clearValue: s, required: l, hidden: c, disabled: u, withoutLabel: d, step: p, size: f, CustomOnChangeComponent: m, noSelectOnFocus: g, className: b, decimalScale: h = 2, fixedDecimalScale: v = !1, numberPrefix: y, numberSuffix: N, min: w, max: x, onChange: j, hint: C }) => {
|
|
9872
9880
|
const { formState: O, setValue: E, watch: T, control: B } = xt(), V = bt({ falseIfNotInit: !0 }), [S, I] = k(void 0), [$, A] = k(!1), L = P(() => {
|
|
9873
9881
|
const ee = s ?? null;
|
|
9874
9882
|
E(t, ee !== null ? Number(ee) : null, {
|
|
@@ -9961,11 +9969,11 @@ const Kx = ({ InputContainer: e = ir, value: t, onChange: r, debounceMs: n, labe
|
|
|
9961
9969
|
return q(() => {
|
|
9962
9970
|
g.reset(m);
|
|
9963
9971
|
}, [m, g]), { formSchema: f, onSubmit: b, formMethods: g };
|
|
9964
|
-
},
|
|
9972
|
+
}, tD = ({ indexRoute: e }) => {
|
|
9965
9973
|
var w;
|
|
9966
|
-
const { id: t } = Os(), { user: r } = z(Pt), n = ft(), a = wn(), { confirm: i } = lr(), { texts: { substitutions: { detail: s } } } = z(J), { data: l } =
|
|
9974
|
+
const { id: t } = Os(), { user: r } = z(Pt), n = ft(), a = wn(), { confirm: i } = lr(), { texts: { substitutions: { detail: s } } } = z(J), { data: l } = lt(`/permissions/substitutions/${t}`, {
|
|
9967
9975
|
enabled: t !== void 0
|
|
9968
|
-
}), { data: c } =
|
|
9976
|
+
}), { data: c } = lt("/permissions/users"), { onSubmit: u, formMethods: d } = Qy(l, e), p = d.watch("employeeId"), { data: f } = lt(`/permissions/roles?userName=${(w = c == null ? void 0 : c.find((x) => x.employeeId === p)) == null ? void 0 : w.name}`, { enabled: p > 0 && !!c }), { refreshAvailableDelegations: m } = z(Is), { checkUserHasPermissions: g } = Es(), b = P(async () => {
|
|
9969
9977
|
await i(s.deleteConfirm) && (await n.delete(`/permissions/substitutions/${t}`), m(), a(e));
|
|
9970
9978
|
}, [n, i, t, a, m, s, e]), h = M(() => p !== (r == null ? void 0 : r.personalNumber) && !g(["ZASTUP_MODIFY"]), [g, p, r == null ? void 0 : r.personalNumber]), v = d.watch("roles"), y = M(() => f == null ? void 0 : f.filter((x) => x.canBeRepresented), [f]), N = M(() => (y == null ? void 0 : y.every((x) => v == null ? void 0 : v.includes(x.name))) ?? !1, [y, v]);
|
|
9971
9979
|
return /* @__PURE__ */ o.jsx(Er, { title: /* @__PURE__ */ o.jsxs("div", { className: "d-flex justify-content-between align-items-center", children: [
|
|
@@ -10327,19 +10335,19 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10327
10335
|
n(i);
|
|
10328
10336
|
});
|
|
10329
10337
|
}, [t, e]), { mappings: r };
|
|
10330
|
-
},
|
|
10338
|
+
}, rD = ({ reportType: e, title: t, data: r, filterElements: n, getReportRoute: a, localization: i, licenseKey: s, EmployeePicker: l, localizationJsonFile: c, localizationTransformer: u, hyperlinkColumn: d, roomPasportization: p = !1 }) => {
|
|
10331
10339
|
const { texts: { reports: f } } = z(J), { confirm: m } = lr(), g = wn(), [b] = Yd(), { id: h } = Os(), v = M(() => h === void 0 ? null : Number(h), [h]), y = P((W) => {
|
|
10332
10340
|
const ae = W === null ? "" : W.toString();
|
|
10333
10341
|
g(er(a(e), { id: ae }) + "?" + b.toString(), {
|
|
10334
10342
|
replace: !0,
|
|
10335
10343
|
flushSync: !0
|
|
10336
10344
|
});
|
|
10337
|
-
}, [a, g, e, b]), [N, w] = k(!1), x = re(null), { user: j } = z(Pt), { data: C, reloadData: O } =
|
|
10345
|
+
}, [a, g, e, b]), [N, w] = k(!1), x = re(null), { user: j } = z(Pt), { data: C, reloadData: O } = lt(`/reports/${e}`), { mappings: E } = ow(c, u), [T, B] = k({}), V = P((W) => {
|
|
10338
10346
|
const ae = W.target.value, me = ae === "" ? null : Number(ae);
|
|
10339
10347
|
y(me);
|
|
10340
10348
|
}, [y]), S = P(async (W) => {
|
|
10341
10349
|
await O(), y(W);
|
|
10342
|
-
}, [O, y]), { data: I, setData: $ } =
|
|
10350
|
+
}, [O, y]), { data: I, setData: $ } = lt(`/reports/version/${v}`, { enabled: v !== null, nullStateBeforeLoad: !1, nullStateOnFail: !0 });
|
|
10343
10351
|
q(() => {
|
|
10344
10352
|
var ae;
|
|
10345
10353
|
if (I === null) {
|
|
@@ -10398,7 +10406,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10398
10406
|
}
|
|
10399
10407
|
) : null
|
|
10400
10408
|
] });
|
|
10401
|
-
},
|
|
10409
|
+
}, nD = ({ cell: { value: e } }) => /* @__PURE__ */ o.jsx(o.Fragment, { children: e ? /* @__PURE__ */ o.jsx(ws, { name: e, size: 21, fontSize: 12 }) : /* @__PURE__ */ o.jsx(o.Fragment, {}) }), iw = ({ knownTypes: e, typeFilters: t, onChangeTypeFilters: r }) => /* @__PURE__ */ o.jsx("div", { className: "mb-1 d-flex justify-content-center gap-2", children: e.map((n) => /* @__PURE__ */ o.jsx("div", { role: "button", style: {
|
|
10402
10410
|
height: "14px",
|
|
10403
10411
|
width: "14px",
|
|
10404
10412
|
borderRadius: "50%",
|
|
@@ -10451,7 +10459,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10451
10459
|
}, na = {
|
|
10452
10460
|
apiGet: "/messageBoard",
|
|
10453
10461
|
apiDelete: "/messageBoard/"
|
|
10454
|
-
},
|
|
10462
|
+
}, aD = ({ renderAsNotifPanel: e, notifIcon: t, apiUrls: { apiGet: r = na.apiGet, apiDelete: n = na.apiDelete } = na, getIcon: a, getLinksTo: i }) => {
|
|
10455
10463
|
const l = ft(), [c, u] = k([]), [d, p] = k(!1), [f, m] = k(!1), [g, b] = k(!1), h = P(async () => {
|
|
10456
10464
|
m(!0), await l.get(r).then(({ data: x }) => {
|
|
10457
10465
|
u(x), p(!0), m(!1);
|
|
@@ -10484,7 +10492,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10484
10492
|
"full-height-no-overflow": "_full-height-no-overflow_d8l8q_5",
|
|
10485
10493
|
fullHeightNoOverflow: dw,
|
|
10486
10494
|
disabled: uw
|
|
10487
|
-
},
|
|
10495
|
+
}, oD = ({ eventKey: e, activeTab: t, fullHeightNoOverflow: r, disabled: n, className: a, children: i }) => e !== t ? null : /* @__PURE__ */ o.jsx("div", { className: _("luminus-tab-panel", aa.tabPanel, { [aa.fullHeightNoOverflow]: r }, { disabled: n }, { [aa.disabled]: n }, a), children: i }), pw = "_join-line_1q9e8_1", fw = {
|
|
10488
10496
|
"join-line": "_join-line_1q9e8_1",
|
|
10489
10497
|
joinLine: pw
|
|
10490
10498
|
}, mw = ({ activeTab: e, onSelect: t, children: r, vertical: n, verticalStepper: a }) => /* @__PURE__ */ o.jsx("div", { className: _("luminus-tabs d-flex mb-2", { "gap-1": !a }, { "gap-0": a }, {
|
|
@@ -10506,7 +10514,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10506
10514
|
vertical: hw
|
|
10507
10515
|
}, bw = ({ eventKey: e, className: t, onClick: r, disabled: n, vertical: a, children: i }) => /* @__PURE__ */ o.jsx("div", { role: "button", className: _("luminus-tab text-primary rounded", oa.tab, t, {
|
|
10508
10516
|
disabled: n
|
|
10509
|
-
}, { [oa.disabled]: n }, { vertical: a }, { [oa.vertical]: a }), onClick: () => r && !n && r(e), children: typeof i == "string" ? /* @__PURE__ */ o.jsx(Y, { variant: a ? "body" : "h6", className: a ? "" : "text-primary", children: i }) : i }),
|
|
10517
|
+
}, { [oa.disabled]: n }, { vertical: a }, { [oa.vertical]: a }), onClick: () => r && !n && r(e), children: typeof i == "string" ? /* @__PURE__ */ o.jsx(Y, { variant: a ? "body" : "h6", className: a ? "" : "text-primary", children: i }) : i }), iD = ({ tabs: e, activeTab: t, onSelect: r, ...n }) => {
|
|
10510
10518
|
var s;
|
|
10511
10519
|
const { ProjectIconComponent: a } = z(J), { isMobile: i } = xn();
|
|
10512
10520
|
return i ? /* @__PURE__ */ o.jsx(ar, { toggle: /* @__PURE__ */ o.jsx(or, { as: Fr, text: ((s = e.find((l) => l.id === t)) == null ? void 0 : s.name) ?? "", icon: /* @__PURE__ */ o.jsx(a, { icon: "chevron-down" }) }), ...n, children: e.map((l) => /* @__PURE__ */ o.jsx(at, { onClick: () => r(l.id), children: l.name }, l.id)) }) : /* @__PURE__ */ o.jsx(mw, { activeTab: t, onSelect: (l) => r(l), ...n, children: e.map((l) => /* @__PURE__ */ o.jsx(bw, { eventKey: l.id, children: l.name }, l.id)) });
|
|
@@ -10559,7 +10567,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10559
10567
|
] }) }) }),
|
|
10560
10568
|
/* @__PURE__ */ o.jsx(Dw, { shortcutLink: e, IconComponent: t, IconTypeArray: r, editShortcutLink: n })
|
|
10561
10569
|
] }) });
|
|
10562
|
-
},
|
|
10570
|
+
}, sD = ({ IconComponent: e, IconTypeArray: t }) => {
|
|
10563
10571
|
const { texts: r } = z(J), { shortcutLinks: n, editShortcutLink: a, deleteShortcutLink: i } = jc();
|
|
10564
10572
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: n !== null && n.length > 0 ? /* @__PURE__ */ o.jsxs(Du, { title: r.shortcutLinks.shortcutLinksSetting, children: [
|
|
10565
10573
|
/* @__PURE__ */ o.jsx("thead", { className: "fw-bold", children: /* @__PURE__ */ o.jsxs("tr", { children: [
|
|
@@ -10579,7 +10587,9 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10579
10587
|
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 () => {
|
|
10580
10588
|
await r({ icon: c, name: d, url: s.pathname + s.search }), e();
|
|
10581
10589
|
}, [e, r, c, s.pathname, s.search, d]), m = M(() => s.pathname + s.search, [s.pathname, s.search]);
|
|
10582
|
-
return /* @__PURE__ */ o.
|
|
10590
|
+
return /* @__PURE__ */ o.jsx(_e, { show: t, onHide: e, size: "sm", children: /* @__PURE__ */ o.jsxs("div", { onKeyDown: (g) => {
|
|
10591
|
+
g.code !== "Escape" && g.stopPropagation();
|
|
10592
|
+
}, children: [
|
|
10583
10593
|
/* @__PURE__ */ o.jsx(_e.Header, { closeButton: !0, children: /* @__PURE__ */ o.jsx(_e.Title, { children: l.shortcutLinks.newShortcut }) }),
|
|
10584
10594
|
/* @__PURE__ */ o.jsxs(_e.Body, { children: [
|
|
10585
10595
|
/* @__PURE__ */ o.jsxs("div", { className: Zt.createLinkRow, children: [
|
|
@@ -10599,14 +10609,14 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10599
10609
|
] })
|
|
10600
10610
|
] }),
|
|
10601
10611
|
/* @__PURE__ */ o.jsx(_e.Footer, { className: "d-flex justify-content-end", children: /* @__PURE__ */ o.jsx(Gt, { onClick: f, children: l.shortcutLinks.addShortcut }) })
|
|
10602
|
-
] });
|
|
10612
|
+
] }) });
|
|
10603
10613
|
}, Ow = ({ IconComponent: e, IconTypeArray: t, pageTitlePrefix: r, createLink: n }) => {
|
|
10604
10614
|
const { ProjectIconComponent: a, texts: i } = z(J), [s, l] = k(!1), [c] = Oa(s, 100);
|
|
10605
10615
|
return /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
|
|
10606
10616
|
/* @__PURE__ */ o.jsx(Ue, { text: i.shortcutLinks.addShortcut, placement: "bottom", children: /* @__PURE__ */ o.jsx("button", { type: "button", className: _(Zt.linkButton, Zt.linkAddButton), onClick: () => l(!0), children: /* @__PURE__ */ o.jsx(a, { icon: "add" }) }) }),
|
|
10607
10617
|
(s || c) && /* @__PURE__ */ o.jsx(_w, { IconComponent: e, IconTypeArray: t, closeModal: () => l(!1), createLink: n, isOpen: s, pageTitlePrefix: r })
|
|
10608
10618
|
] });
|
|
10609
|
-
},
|
|
10619
|
+
}, lD = ({ IconComponent: e, IconTypeArray: t, pageTitlePrefix: r }) => {
|
|
10610
10620
|
const { shortcutLinks: n, createShortcutLink: a } = jc(), i = M(() => n !== null && n.length < ja, [n]);
|
|
10611
10621
|
return /* @__PURE__ */ o.jsx(o.Fragment, { children: /* @__PURE__ */ o.jsxs("div", { className: "d-flex gap-2", children: [
|
|
10612
10622
|
n == null ? void 0 : n.slice(0, ja).map((s, l) => s !== null ? /* @__PURE__ */ o.jsx(Iw, { shortcutLink: s, IconComponent: e }, l) : null),
|
|
@@ -10644,8 +10654,8 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10644
10654
|
if (e == null)
|
|
10645
10655
|
throw new Error("Tried to make operation on null shortcutLinks.");
|
|
10646
10656
|
return e;
|
|
10647
|
-
},
|
|
10648
|
-
const { user: r } = z(Pt), n = P((m) => m.map((g) => ({ id: g.id, icon: g.icon, name: g.name, url: g.url })), []), { data: a, reloadData: i } =
|
|
10657
|
+
}, cD = ({ children: e, referenceId: t }) => {
|
|
10658
|
+
const { user: r } = z(Pt), n = P((m) => m.map((g) => ({ id: g.id, icon: g.icon, name: g.name, url: g.url })), []), { data: a, reloadData: i } = lt(`/dynamicForms/lookup-data-all?referenceId=${t}&employee=${r == null ? void 0 : r.personalNumber}`, {
|
|
10649
10659
|
silent: !0,
|
|
10650
10660
|
dataTransformer: n,
|
|
10651
10661
|
enabled: r !== null
|
|
@@ -10747,7 +10757,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10747
10757
|
t(l.id);
|
|
10748
10758
|
}, [t]);
|
|
10749
10759
|
return /* @__PURE__ */ o.jsx(r, { columnsDef: i, data: a, useScrollableContainer: !0, onRowClick: s, bottomBarProps: { hidden: !0 } });
|
|
10750
|
-
},
|
|
10760
|
+
}, dD = ({ kinds: e, reloadActions: t, reloadHistory: r, reloadRoles: n, onRemoveTarget: a, onPostTarget: i, EmployeePicker: s, BnfTableComponent: l }) => {
|
|
10751
10761
|
var B, V, S;
|
|
10752
10762
|
const { texts: { notifCentrum: c } } = z(J), { confirm: u } = lr(), [d, p] = k(null), [f, m] = k(null), [g, b] = da("notif-kind-id", ((B = e == null ? void 0 : e.at(0)) == null ? void 0 : B.id) ?? 1), [h, v] = k([]);
|
|
10753
10763
|
q(() => {
|
|
@@ -10874,7 +10884,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10874
10884
|
t(s.id);
|
|
10875
10885
|
}, [t]);
|
|
10876
10886
|
return /* @__PURE__ */ o.jsx(r, { columnsDef: a, data: e, useScrollableContainer: !0, paginationMode: "enabled", bottomBarProps: { hideFullScreen: !0 }, onRowClick: i });
|
|
10877
|
-
},
|
|
10887
|
+
}, uD = ({ reloadUserHistory: e, EmployeePicker: t, BnfTableComponent: r }) => {
|
|
10878
10888
|
const { texts: { notifCentrum: n } } = z(J), [a, i] = k(null), [s, l] = da("notif-user", null), [c, u] = k([]);
|
|
10879
10889
|
return q(() => {
|
|
10880
10890
|
s !== null && e(s.id).then((d) => {
|
|
@@ -10966,7 +10976,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
10966
10976
|
] }) })
|
|
10967
10977
|
] })
|
|
10968
10978
|
] });
|
|
10969
|
-
},
|
|
10979
|
+
}, pD = ({ otherSettingId: e, languageOptions: t, tableIdentifier: r, SettingsOutlet: n, BnfTableComponent: a, importLocalization: i }) => {
|
|
10970
10980
|
const { texts: { localizations: s } } = z(J), [l, c] = k(t[0].id), [u, d] = k(null), [p, f] = k(null), m = P(async () => {
|
|
10971
10981
|
if (u === null)
|
|
10972
10982
|
return;
|
|
@@ -11027,7 +11037,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
11027
11037
|
return;
|
|
11028
11038
|
n = s;
|
|
11029
11039
|
}
|
|
11030
|
-
},
|
|
11040
|
+
}, fD = ({ languageOptions: e, envMode: t, getOtherSettingsUrl: r, downloadXls: n, saveChanges: a, localizationFilesOptions: i, remoteLocalesRoot: s }) => {
|
|
11031
11041
|
const { texts: { localizations: l }, ProjectIconComponent: c } = z(J), [u, d] = k(1), [p, f] = k(/* @__PURE__ */ new Map()), [m, g] = k(null), [b, h] = k(""), [v, y] = k(/* @__PURE__ */ new Set()), N = P((S) => {
|
|
11032
11042
|
f(/* @__PURE__ */ new Map()), y(S);
|
|
11033
11043
|
}, []), w = M(() => e.filter((S) => !v.has(S.id)), [v, e]), x = M(() => {
|
|
@@ -11057,7 +11067,7 @@ e.label === "", os = (e, t) => e.hierarchy && e.hierarchy.uniqueName === t, is =
|
|
|
11057
11067
|
];
|
|
11058
11068
|
}))
|
|
11059
11069
|
}));
|
|
11060
|
-
}, [p, i, m, v]), j = M(() => x.filter((S) =>
|
|
11070
|
+
}, [p, i, m, v]), j = M(() => x.filter((S) => pt(S.key, b) || Array.from(S.lngData).some((I) => typeof (I == null ? void 0 : I[1]) != "string" ? !1 : pt((I == null ? void 0 : I[1]) ?? "", b))), [b, x]), C = M(() => Math.ceil(j.length / nn), [j.length]), O = P((S) => {
|
|
11061
11071
|
S !== null && d(() => Math.max(1, Math.min(S, C)));
|
|
11062
11072
|
}, [C]), E = P(async () => {
|
|
11063
11073
|
const S = Array.from(v).map(($) => (async () => {
|
|
@@ -11141,29 +11151,29 @@ export {
|
|
|
11141
11151
|
nx as AlertItem,
|
|
11142
11152
|
mN as ApiFileDownloadButton,
|
|
11143
11153
|
xN as AppSearch,
|
|
11144
|
-
|
|
11154
|
+
HN as Approval,
|
|
11145
11155
|
yN as AuthTemplate,
|
|
11146
11156
|
ws as AvatarIcon,
|
|
11147
11157
|
dd as Backdrop,
|
|
11148
11158
|
hN as Badge,
|
|
11149
|
-
|
|
11159
|
+
VN as BarChart,
|
|
11150
11160
|
pn as Card,
|
|
11151
11161
|
Da as CheckInput,
|
|
11152
11162
|
un as Collapse,
|
|
11153
11163
|
Dy as ColumnResizer,
|
|
11154
11164
|
xx as ContactButtonQrModal,
|
|
11155
|
-
|
|
11165
|
+
DN as ContactInput,
|
|
11156
11166
|
yx as ContactsLink,
|
|
11157
11167
|
ht as ContextButton,
|
|
11158
|
-
|
|
11159
|
-
|
|
11168
|
+
RN as DisabledRowLabelLink,
|
|
11169
|
+
vD as Documents,
|
|
11160
11170
|
ar as Dropdown,
|
|
11161
11171
|
jd as DropdownDivider,
|
|
11162
11172
|
at as DropdownItem,
|
|
11163
|
-
|
|
11173
|
+
jN as DropdownPicker,
|
|
11164
11174
|
or as DropdownToggle,
|
|
11165
|
-
|
|
11166
|
-
|
|
11175
|
+
TN as DynamicForm,
|
|
11176
|
+
MN as EmployeeSmallPhoto,
|
|
11167
11177
|
Ru as ErrorBoundary,
|
|
11168
11178
|
Md as FileExtensionIcon,
|
|
11169
11179
|
gN as FileUploadButton,
|
|
@@ -11173,82 +11183,83 @@ export {
|
|
|
11173
11183
|
ix as FloatingActionContainer,
|
|
11174
11184
|
ju as FloatingFormSubmit,
|
|
11175
11185
|
ir as FloatingLabelInput,
|
|
11176
|
-
|
|
11186
|
+
EN as FromToDatePicker,
|
|
11177
11187
|
vN as HomeDashboard,
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11188
|
+
YN as HookFormCheckInput,
|
|
11189
|
+
XN as HookFormContactInput,
|
|
11190
|
+
QN as HookFormDropdownPicker,
|
|
11191
|
+
JN as HookFormFileInput,
|
|
11182
11192
|
Xy as HookFormFloatingSubmit,
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
|
-
|
|
11193
|
+
ZN as HookFormNumericStepperInput,
|
|
11194
|
+
eD as HookFormNumericTextInput,
|
|
11195
|
+
KN as HookFormRadioInput,
|
|
11186
11196
|
ns as HookFormSelectInput,
|
|
11187
|
-
|
|
11197
|
+
hD as HookFormTextAreaInput,
|
|
11188
11198
|
ca as HookFormTextInput,
|
|
11189
11199
|
Ty as HrWithText,
|
|
11190
11200
|
Ed as HtmlTooltip,
|
|
11191
11201
|
te as IconButton,
|
|
11192
11202
|
Dc as IconPicker,
|
|
11193
11203
|
$i as ImgApi,
|
|
11204
|
+
NN as ImgBlob,
|
|
11194
11205
|
pc as ImgDirect,
|
|
11195
11206
|
$w as ImportFilePicker,
|
|
11196
11207
|
Lw as ImportResult,
|
|
11197
11208
|
zt as InvalidFeedback,
|
|
11198
|
-
|
|
11199
|
-
|
|
11209
|
+
kN as LanguageSwitch,
|
|
11210
|
+
PN as LineChart,
|
|
11200
11211
|
Io as Loading,
|
|
11201
11212
|
nu as LoadingBlock,
|
|
11202
|
-
|
|
11203
|
-
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
|
-
|
|
11213
|
+
pD as LocalizationImport,
|
|
11214
|
+
fD as LocalizationSettings,
|
|
11215
|
+
aD as MessageBoard,
|
|
11216
|
+
GN as MiniDetailTooltip,
|
|
11217
|
+
WN as MiniDetailValueItem,
|
|
11207
11218
|
Iu as MonthPicker,
|
|
11208
|
-
|
|
11219
|
+
IN as MonthPickerSearchParams,
|
|
11209
11220
|
nt as NoInputContainer,
|
|
11210
|
-
|
|
11211
|
-
|
|
11212
|
-
|
|
11213
|
-
|
|
11221
|
+
dD as NotificationActions,
|
|
11222
|
+
uD as NotificationUsers,
|
|
11223
|
+
FN as NumericFormat,
|
|
11224
|
+
SN as NumericStepperInput,
|
|
11214
11225
|
Kx as NumericTextInput,
|
|
11215
|
-
|
|
11216
|
-
|
|
11226
|
+
tD as PermissionSubstituteDetail,
|
|
11227
|
+
qN as PermissionSubstituteTable,
|
|
11217
11228
|
Xb as PhotoLibrary,
|
|
11218
11229
|
Kb as PhotoLightbox,
|
|
11219
|
-
|
|
11230
|
+
ON as PieChart,
|
|
11220
11231
|
Gt as PrimaryButton,
|
|
11221
11232
|
Xx as RadioInput,
|
|
11222
|
-
|
|
11223
|
-
|
|
11233
|
+
rD as ReportPage,
|
|
11234
|
+
$N as ReportsIndexPage,
|
|
11224
11235
|
ys as ResponsiveContextDropdown,
|
|
11225
11236
|
la as ResponsiveContextDropdownItem,
|
|
11226
|
-
|
|
11227
|
-
|
|
11237
|
+
iD as ResponsiveTabs,
|
|
11238
|
+
UN as RouteLink,
|
|
11228
11239
|
Oe as RowLabelInput,
|
|
11229
|
-
|
|
11240
|
+
LN as SearchBox,
|
|
11230
11241
|
st as SelectInput,
|
|
11231
|
-
|
|
11232
|
-
|
|
11233
|
-
|
|
11234
|
-
|
|
11242
|
+
AN as SettingsFormPicker,
|
|
11243
|
+
lD as ShortcutLinks,
|
|
11244
|
+
cD as ShortcutLinksProvider,
|
|
11245
|
+
sD as ShortcutLinksSetup,
|
|
11235
11246
|
Aa as SimplePicker,
|
|
11236
11247
|
Fr as SimpleToggle,
|
|
11237
11248
|
Ue as SimpleTooltip,
|
|
11238
|
-
|
|
11249
|
+
zN as StateToggle,
|
|
11239
11250
|
bw as Tab,
|
|
11240
|
-
|
|
11251
|
+
oD as TabPanel,
|
|
11241
11252
|
mw as Tabs,
|
|
11242
|
-
|
|
11253
|
+
CN as TextAreaInput,
|
|
11243
11254
|
it as TextInput,
|
|
11244
11255
|
mx as Timeline,
|
|
11245
|
-
|
|
11256
|
+
BN as TypedFormGroup,
|
|
11246
11257
|
Y as Typography,
|
|
11247
|
-
|
|
11248
|
-
|
|
11258
|
+
bD as UserAvatarToggle,
|
|
11259
|
+
nD as UserAvatarValueFormat,
|
|
11249
11260
|
wN as VersionInfo,
|
|
11250
11261
|
$o as WidgetCard,
|
|
11251
11262
|
Pu as YearPicker,
|
|
11252
|
-
|
|
11263
|
+
_N as YearPickerSearchParams,
|
|
11253
11264
|
jc as useShortcutLinksContext
|
|
11254
11265
|
};
|