@ukpc-lib/react 0.16.3-dev.20 → 0.16.3-dev.23
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/components/FavoriteMenu/components/MenuItem.d.ts +1 -1
- package/dist/components/index.cjs +8 -8
- package/dist/components/index.js +273 -273
- package/dist/{index.esm2017-CfqFJQ9r.cjs → index.esm2017-DRyvZpXK.cjs} +23 -23
- package/dist/{index.esm2017-BGIhKoPQ.js → index.esm2017-DwhyAk8J.js} +366 -366
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +295 -70
- package/dist/theme/ThemeProvider.d.ts +6 -0
- package/dist/theme/index.d.ts +1 -0
- package/package.json +2 -1
- package/web-components-bundle/{SaasThemeProvider-A_eMJWqw.js → SaasThemeProvider-DUpoV8xb.js} +1 -1
- package/web-components-bundle/access-denied/index.js +6 -6
- package/web-components-bundle/base-breadcrumbs/index.js +3 -3
- package/web-components-bundle/favorite-menu/index.js +6 -6
- package/web-components-bundle/global-menu/index.js +5 -5
- package/web-components-bundle/global-topbar/index.js +6 -6
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-B0KNckiL.js → index-BYJonILY.js} +200 -200
- package/web-components-bundle/{index-CKnnH8IY.js → index-Dkof1OzO.js} +493 -493
- package/web-components-bundle/{index-BwEhsh9S.js → index-N6zjI_u_.js} +2 -2
- package/web-components-bundle/page-not-found/index.js +3 -3
- package/web-components-bundle/{react-to-web-component-BOygDorD.js → react-to-web-component-w5r1Fs9q.js} +1527 -1535
- package/web-components-bundle/{react-toastify.esm-DnABvuky.js → react-toastify.esm-H_Xdunfj.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var sU = Object.defineProperty;
|
|
2
2
|
var oU = (e, t, n) => t in e ? sU(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var bh = (e, t, n) => (oU(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { c as Yn, g as xl, r as M, R as je, j as I, a as wh, b as Tg, s as Xf, d as aU } from "./react-to-web-component-
|
|
5
|
-
import { _ as lU, a as vs, b as da, T as Sk, c as uU, s as cU, d as fU, e as Ck, f as kr, D as dU, g as Dp, h as hU, i as Tk, r as pU, u as Cf, j as kp, k as nC, l as $u, m as Sl, o as rC, n as gU, p as Fu, q as Qf, t as ur, C as mU, v as _k, w as Ek, x as Xr, B as vU, y as yU, z as Ok, A as Dk, E as _g, F as jb, G as qc, H as bU, I as iC, J as wU, K as xh, L as xU, M as Pp, N as SU, O as CU, P as Dn, Q as TU, R as _U, S as EU, U as kk, V as Pk, W as Ak } from "./index-
|
|
6
|
-
import { i as Ap, s as OU, _ as _e, a as Qy, f as DU, r as Zy, n as Wn, t as Rk, e as kU, g as Mk, b as an, c as Rp, h as Ik, p as Yo, m as sC, d as oC, j as Qh, k as Sh, l as aC, o as PU } from "./SaasThemeProvider-
|
|
4
|
+
import { c as Yn, g as xl, r as M, R as je, j as I, a as wh, b as Tg, s as Xf, d as aU } from "./react-to-web-component-w5r1Fs9q.js";
|
|
5
|
+
import { _ as lU, a as vs, b as da, T as Sk, c as uU, s as cU, d as fU, e as Ck, f as kr, D as dU, g as Dp, h as hU, i as Tk, r as pU, u as Cf, j as kp, k as nC, l as $u, m as Sl, o as rC, n as gU, p as Fu, q as Qf, t as ur, C as mU, v as _k, w as Ek, x as Xr, B as vU, y as yU, z as Ok, A as Dk, E as _g, F as jb, G as qc, H as bU, I as iC, J as wU, K as xh, L as xU, M as Pp, N as SU, O as CU, P as Dn, Q as TU, R as _U, S as EU, U as kk, V as Pk, W as Ak } from "./index-Dkof1OzO.js";
|
|
6
|
+
import { i as Ap, s as OU, _ as _e, a as Qy, f as DU, r as Zy, n as Wn, t as Rk, e as kU, g as Mk, b as an, c as Rp, h as Ik, p as Yo, m as sC, d as oC, j as Qh, k as Sh, l as aC, o as PU } from "./SaasThemeProvider-DUpoV8xb.js";
|
|
7
7
|
import { c as Ks } from "./clsx-DB4S2d7J.js";
|
|
8
|
-
import { S as Bb } from "./index-
|
|
9
|
-
import { B as Vb } from "./react-toastify.esm-
|
|
8
|
+
import { S as Bb } from "./index-N6zjI_u_.js";
|
|
9
|
+
import { B as Vb } from "./react-toastify.esm-H_Xdunfj.js";
|
|
10
10
|
import "./toast-config/index.js";
|
|
11
11
|
import "./toast-config-notification/index.js";
|
|
12
12
|
function AU(e, t) {
|
|
@@ -2635,20 +2635,20 @@ var LC = {}, NC = function(e) {
|
|
|
2635
2635
|
}
|
|
2636
2636
|
if (f) {
|
|
2637
2637
|
var le = L === "[object Array]", ge = le ? [] : {}, pe = le ? B : O;
|
|
2638
|
-
for (var
|
|
2639
|
-
if (Object.prototype.hasOwnProperty.call(P,
|
|
2640
|
-
var q = "".concat(pe).concat(f).concat(
|
|
2641
|
-
ge[
|
|
2638
|
+
for (var ce in P)
|
|
2639
|
+
if (Object.prototype.hasOwnProperty.call(P, ce)) {
|
|
2640
|
+
var q = "".concat(pe).concat(f).concat(ce);
|
|
2641
|
+
ge[ce] = this.translate(q, Un(Un({}, s), {
|
|
2642
2642
|
joinArrays: !1,
|
|
2643
2643
|
ns: v
|
|
2644
|
-
})), ge[
|
|
2644
|
+
})), ge[ce] === q && (ge[ce] = P[ce]);
|
|
2645
2645
|
}
|
|
2646
2646
|
P = ge;
|
|
2647
2647
|
}
|
|
2648
2648
|
} else if (Y && typeof b == "string" && L === "[object Array]")
|
|
2649
2649
|
P = P.join(b), P && (P = this.extendTranslation(P, i, s, o));
|
|
2650
2650
|
else {
|
|
2651
|
-
var z = !1, te = !1, ee = s.count !== void 0 && typeof s.count != "string", re = n.hasDefaultValue(s),
|
|
2651
|
+
var z = !1, te = !1, ee = s.count !== void 0 && typeof s.count != "string", re = n.hasDefaultValue(s), fe = ee ? this.pluralResolver.getSuffix(S, s.count, s) : "", Se = s["defaultValue".concat(fe)] || s.defaultValue;
|
|
2652
2652
|
!this.isValidLookup(P) && re && (z = !0, P = Se), this.isValidLookup(P) || (te = !0, P = p);
|
|
2653
2653
|
var Ee = s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, Oe = Ee && te ? void 0 : P, Te = re && Se !== P && this.options.updateMissing;
|
|
2654
2654
|
if (te || z || Te) {
|
|
@@ -4728,26 +4728,26 @@ function V5() {
|
|
|
4728
4728
|
t.fetchFn = function() {
|
|
4729
4729
|
var n, r, i, s, o, a, u = (n = t.fetchOptions) == null || (r = n.meta) == null ? void 0 : r.refetchPage, f = (i = t.fetchOptions) == null || (s = i.meta) == null ? void 0 : s.fetchMore, d = f == null ? void 0 : f.pageParam, p = (f == null ? void 0 : f.direction) === "forward", v = (f == null ? void 0 : f.direction) === "backward", y = ((o = t.state.data) == null ? void 0 : o.pages) || [], S = ((a = t.state.data) == null ? void 0 : a.pageParams) || [], w = Mk(), E = w == null ? void 0 : w.signal, _ = S, P = !1, O = t.options.queryFn || function() {
|
|
4730
4730
|
return Promise.reject("Missing queryFn");
|
|
4731
|
-
}, B = function(
|
|
4732
|
-
return _ = te ? [q].concat(_) : [].concat(_, [q]), te ? [z].concat(
|
|
4733
|
-
}, L = function(
|
|
4731
|
+
}, B = function(ce, q, z, te) {
|
|
4732
|
+
return _ = te ? [q].concat(_) : [].concat(_, [q]), te ? [z].concat(ce) : [].concat(ce, [z]);
|
|
4733
|
+
}, L = function(ce, q, z, te) {
|
|
4734
4734
|
if (P)
|
|
4735
4735
|
return Promise.reject("Cancelled");
|
|
4736
|
-
if (typeof z > "u" && !q &&
|
|
4737
|
-
return Promise.resolve(
|
|
4736
|
+
if (typeof z > "u" && !q && ce.length)
|
|
4737
|
+
return Promise.resolve(ce);
|
|
4738
4738
|
var ee = {
|
|
4739
4739
|
queryKey: t.queryKey,
|
|
4740
4740
|
signal: E,
|
|
4741
4741
|
pageParam: z,
|
|
4742
4742
|
meta: t.meta
|
|
4743
|
-
}, re = O(ee),
|
|
4744
|
-
return B(
|
|
4743
|
+
}, re = O(ee), fe = Promise.resolve(re).then(function(Ee) {
|
|
4744
|
+
return B(ce, z, Ee, te);
|
|
4745
4745
|
});
|
|
4746
4746
|
if (Np(re)) {
|
|
4747
|
-
var Se =
|
|
4747
|
+
var Se = fe;
|
|
4748
4748
|
Se.cancel = re.cancel;
|
|
4749
4749
|
}
|
|
4750
|
-
return
|
|
4750
|
+
return fe;
|
|
4751
4751
|
}, F;
|
|
4752
4752
|
if (!y.length)
|
|
4753
4753
|
F = L([]);
|
|
@@ -4760,12 +4760,12 @@ function V5() {
|
|
|
4760
4760
|
} else
|
|
4761
4761
|
(function() {
|
|
4762
4762
|
_ = [];
|
|
4763
|
-
var pe = typeof t.options.getNextPageParam > "u",
|
|
4764
|
-
F =
|
|
4763
|
+
var pe = typeof t.options.getNextPageParam > "u", ce = u && y[0] ? u(y[0], 0, y) : !0;
|
|
4764
|
+
F = ce ? L([], pe, S[0]) : Promise.resolve(B([], S[0], y[0]));
|
|
4765
4765
|
for (var q = function(ee) {
|
|
4766
4766
|
F = F.then(function(re) {
|
|
4767
|
-
var
|
|
4768
|
-
if (
|
|
4767
|
+
var fe = u && y[ee] ? u(y[ee], ee, y) : !0;
|
|
4768
|
+
if (fe) {
|
|
4769
4769
|
var Se = pe ? S[ee] : qC(t.options, re);
|
|
4770
4770
|
return L(re, pe, Se);
|
|
4771
4771
|
}
|
|
@@ -6169,8 +6169,8 @@ function Ef(e, t) {
|
|
|
6169
6169
|
if (v === Lc && le) {
|
|
6170
6170
|
var ge = le[i];
|
|
6171
6171
|
Object.keys(oe).forEach(function(pe) {
|
|
6172
|
-
var
|
|
6173
|
-
oe[pe] += ge[q] *
|
|
6172
|
+
var ce = [ki, Di].indexOf(pe) >= 0 ? 1 : -1, q = [Er, Di].indexOf(pe) >= 0 ? "y" : "x";
|
|
6173
|
+
oe[pe] += ge[q] * ce;
|
|
6174
6174
|
});
|
|
6175
6175
|
}
|
|
6176
6176
|
return oe;
|
|
@@ -6214,13 +6214,13 @@ function a6(e) {
|
|
|
6214
6214
|
allowedAutoPlacements: w
|
|
6215
6215
|
}) : De);
|
|
6216
6216
|
}, []), L = t.rects.reference, F = t.rects.popper, b = /* @__PURE__ */ new Map(), Y = !0, H = B[0], oe = 0; oe < B.length; oe++) {
|
|
6217
|
-
var le = B[oe], ge = ys(le), pe = Du(le) === _u,
|
|
6217
|
+
var le = B[oe], ge = ys(le), pe = Du(le) === _u, ce = [Er, Di].indexOf(ge) >= 0, q = ce ? "width" : "height", z = Ef(t, {
|
|
6218
6218
|
placement: le,
|
|
6219
6219
|
boundary: d,
|
|
6220
6220
|
rootBoundary: p,
|
|
6221
6221
|
altBoundary: v,
|
|
6222
6222
|
padding: f
|
|
6223
|
-
}), te =
|
|
6223
|
+
}), te = ce ? pe ? ki : Or : pe ? Di : Er;
|
|
6224
6224
|
L[q] > F[q] && (te = np(te));
|
|
6225
6225
|
var ee = np(te), re = [];
|
|
6226
6226
|
if (s && re.push(z[ge] <= 0), a && re.push(z[te] <= 0, z[ee] <= 0), re.every(function(Te) {
|
|
@@ -6232,7 +6232,7 @@ function a6(e) {
|
|
|
6232
6232
|
b.set(le, re);
|
|
6233
6233
|
}
|
|
6234
6234
|
if (Y)
|
|
6235
|
-
for (var
|
|
6235
|
+
for (var fe = S ? 3 : 1, Se = function(De) {
|
|
6236
6236
|
var Ue = B.find(function(ut) {
|
|
6237
6237
|
var rt = b.get(ut);
|
|
6238
6238
|
if (rt)
|
|
@@ -6242,7 +6242,7 @@ function a6(e) {
|
|
|
6242
6242
|
});
|
|
6243
6243
|
if (Ue)
|
|
6244
6244
|
return H = Ue, "break";
|
|
6245
|
-
}, Ee =
|
|
6245
|
+
}, Ee = fe; Ee > 0; Ee--) {
|
|
6246
6246
|
var Oe = Se(Ee);
|
|
6247
6247
|
if (Oe === "break")
|
|
6248
6248
|
break;
|
|
@@ -6362,10 +6362,10 @@ function v6(e) {
|
|
|
6362
6362
|
};
|
|
6363
6363
|
if (F) {
|
|
6364
6364
|
if (s) {
|
|
6365
|
-
var pe,
|
|
6365
|
+
var pe, ce = B === "y" ? Er : Or, q = B === "y" ? Di : ki, z = B === "y" ? "height" : "width", te = F[B], ee = te + E[ce], re = te - E[q], fe = y ? -Y[z] / 2 : 0, Se = P === _u ? b[z] : Y[z], Ee = P === _u ? -Y[z] : -b[z], Oe = t.elements.arrow, Te = y && Oe ? nw(Oe) : {
|
|
6366
6366
|
width: 0,
|
|
6367
6367
|
height: 0
|
|
6368
|
-
}, De = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VP(), Ue = De[
|
|
6368
|
+
}, De = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : VP(), Ue = De[ce], ut = De[q], rt = af(0, b[z], Te[z]), vt = O ? b[z] / 2 - fe - rt - Ue - oe.mainAxis : Se - rt - Ue - oe.mainAxis, Ct = O ? -b[z] / 2 + fe + rt + ut + oe.mainAxis : Ee + rt + ut + oe.mainAxis, Fe = t.elements.arrow && id(t.elements.arrow), yt = Fe ? B === "y" ? Fe.clientTop || 0 : Fe.clientLeft || 0 : 0, Wt = (pe = le == null ? void 0 : le[B]) != null ? pe : 0, kt = te + vt - Wt - yt, zt = te + Ct - Wt, dr = af(y ? $p(ee, kt) : ee, te, y ? ll(re, zt) : re);
|
|
6369
6369
|
F[B] = dr, ge[B] = dr - te;
|
|
6370
6370
|
}
|
|
6371
6371
|
if (a) {
|
|
@@ -6706,7 +6706,7 @@ const $6 = (e) => {
|
|
|
6706
6706
|
placement: b
|
|
6707
6707
|
};
|
|
6708
6708
|
w !== null && (le.TransitionProps = w);
|
|
6709
|
-
const ge = $6(t), pe = (r = S.root) != null ? r : "div",
|
|
6709
|
+
const ge = $6(t), pe = (r = S.root) != null ? r : "div", ce = gU({
|
|
6710
6710
|
elementType: pe,
|
|
6711
6711
|
externalSlotProps: y.root,
|
|
6712
6712
|
externalForwardedProps: E,
|
|
@@ -6717,7 +6717,7 @@ const $6 = (e) => {
|
|
|
6717
6717
|
ownerState: t,
|
|
6718
6718
|
className: ge.root
|
|
6719
6719
|
});
|
|
6720
|
-
return /* @__PURE__ */ I.jsx(pe, _e({},
|
|
6720
|
+
return /* @__PURE__ */ I.jsx(pe, _e({}, ce, {
|
|
6721
6721
|
children: typeof s == "function" ? s(le) : s
|
|
6722
6722
|
}));
|
|
6723
6723
|
}), B6 = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
@@ -6910,11 +6910,11 @@ const K6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
6910
6910
|
P && P(re), le && le.onFocus && le.onFocus(re);
|
|
6911
6911
|
}, pe = (re) => {
|
|
6912
6912
|
E && E(re), le && le.onBlur && le.onBlur(re);
|
|
6913
|
-
},
|
|
6913
|
+
}, ce = (re) => {
|
|
6914
6914
|
if (re.nativeEvent.defaultPrevented)
|
|
6915
6915
|
return;
|
|
6916
|
-
const
|
|
6917
|
-
oe(
|
|
6916
|
+
const fe = re.target.checked;
|
|
6917
|
+
oe(fe), _ && _(re, fe);
|
|
6918
6918
|
};
|
|
6919
6919
|
let q = u;
|
|
6920
6920
|
le && typeof q > "u" && (q = le.disabled);
|
|
@@ -6945,7 +6945,7 @@ const K6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
6945
6945
|
disabled: q,
|
|
6946
6946
|
id: z ? v : void 0,
|
|
6947
6947
|
name: w,
|
|
6948
|
-
onChange:
|
|
6948
|
+
onChange: ce,
|
|
6949
6949
|
readOnly: O,
|
|
6950
6950
|
ref: S,
|
|
6951
6951
|
required: B,
|
|
@@ -7466,12 +7466,12 @@ const Cz = {
|
|
|
7466
7466
|
}, {
|
|
7467
7467
|
mode: "enter"
|
|
7468
7468
|
});
|
|
7469
|
-
let
|
|
7470
|
-
w === "auto" ? (
|
|
7471
|
-
duration:
|
|
7469
|
+
let fe;
|
|
7470
|
+
w === "auto" ? (fe = B.transitions.getAutoHeightDuration(q.clientHeight), O.current = fe) : fe = te, q.style.transition = [B.transitions.create("opacity", {
|
|
7471
|
+
duration: fe,
|
|
7472
7472
|
delay: ee
|
|
7473
7473
|
}), B.transitions.create("transform", {
|
|
7474
|
-
duration: Fv ?
|
|
7474
|
+
duration: Fv ? fe : fe * 0.666,
|
|
7475
7475
|
delay: ee,
|
|
7476
7476
|
easing: re
|
|
7477
7477
|
})].join(","), u && u(q, z);
|
|
@@ -7496,7 +7496,7 @@ const Cz = {
|
|
|
7496
7496
|
delay: Fv ? te : te || re * 0.333,
|
|
7497
7497
|
easing: ee
|
|
7498
7498
|
})].join(","), q.style.opacity = 0, q.style.transform = u0(0.75), p && p(q);
|
|
7499
|
-
}), pe = b(v),
|
|
7499
|
+
}), pe = b(v), ce = (q) => {
|
|
7500
7500
|
w === "auto" && P.start(O.current || 0, q), r && r(L.current, q);
|
|
7501
7501
|
};
|
|
7502
7502
|
return /* @__PURE__ */ I.jsx(E, _e({
|
|
@@ -7509,7 +7509,7 @@ const Cz = {
|
|
|
7509
7509
|
onExit: ge,
|
|
7510
7510
|
onExited: pe,
|
|
7511
7511
|
onExiting: le,
|
|
7512
|
-
addEndListener:
|
|
7512
|
+
addEndListener: ce,
|
|
7513
7513
|
timeout: w === "auto" ? null : w
|
|
7514
7514
|
}, _, {
|
|
7515
7515
|
children: (q, z) => /* @__PURE__ */ M.cloneElement(s, _e({
|
|
@@ -7717,13 +7717,13 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7717
7717
|
describeChild: le = !1,
|
|
7718
7718
|
disableFocusListener: ge = !1,
|
|
7719
7719
|
disableHoverListener: pe = !1,
|
|
7720
|
-
disableInteractive:
|
|
7720
|
+
disableInteractive: ce = !1,
|
|
7721
7721
|
disableTouchListener: q = !1,
|
|
7722
7722
|
enterDelay: z = 100,
|
|
7723
7723
|
enterNextDelay: te = 0,
|
|
7724
7724
|
enterTouchDelay: ee = 700,
|
|
7725
7725
|
followCursor: re = !1,
|
|
7726
|
-
id:
|
|
7726
|
+
id: fe,
|
|
7727
7727
|
leaveDelay: Se = 0,
|
|
7728
7728
|
leaveTouchDelay: Ee = 1500,
|
|
7729
7729
|
onClose: Oe,
|
|
@@ -7739,14 +7739,14 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7739
7739
|
TransitionProps: Wt
|
|
7740
7740
|
} = F, kt = kr(F, _z), zt = /* @__PURE__ */ M.isValidElement(Y) ? Y : /* @__PURE__ */ I.jsx("span", {
|
|
7741
7741
|
children: Y
|
|
7742
|
-
}), dr = Zb(), gn = hW(), [cn, wo] = M.useState(), [mn, fn] = M.useState(null), Yt = M.useRef(!1), kn =
|
|
7742
|
+
}), dr = Zb(), gn = hW(), [cn, wo] = M.useState(), [mn, fn] = M.useState(null), Yt = M.useRef(!1), kn = ce || re, hr = qc(), Ie = qc(), qt = qc(), Pr = qc(), [Ar, xo] = Ek({
|
|
7743
7743
|
controlled: De,
|
|
7744
7744
|
default: !1,
|
|
7745
7745
|
name: "Tooltip",
|
|
7746
7746
|
state: "open"
|
|
7747
7747
|
});
|
|
7748
7748
|
let $n = Ar;
|
|
7749
|
-
const Ki = bU(
|
|
7749
|
+
const Ki = bU(fe), Qn = M.useRef(), Tn = iC(() => {
|
|
7750
7750
|
Qn.current !== void 0 && (document.body.style.WebkitUserSelect = Qn.current, Qn.current = void 0), Pr.clear();
|
|
7751
7751
|
});
|
|
7752
7752
|
M.useEffect(() => Tn, [Tn]);
|
|
@@ -9044,8 +9044,8 @@ function D8() {
|
|
|
9044
9044
|
var z = new FormData();
|
|
9045
9045
|
return q.trim().split("&").forEach(function(te) {
|
|
9046
9046
|
if (te) {
|
|
9047
|
-
var ee = te.split("="), re = ee.shift().replace(/\+/g, " "),
|
|
9048
|
-
z.append(decodeURIComponent(re), decodeURIComponent(
|
|
9047
|
+
var ee = te.split("="), re = ee.shift().replace(/\+/g, " "), fe = ee.join("=").replace(/\+/g, " ");
|
|
9048
|
+
z.append(decodeURIComponent(re), decodeURIComponent(fe));
|
|
9049
9049
|
}
|
|
9050
9050
|
}), z;
|
|
9051
9051
|
}
|
|
@@ -9055,10 +9055,10 @@ function D8() {
|
|
|
9055
9055
|
return ee.indexOf(`
|
|
9056
9056
|
`) === 0 ? ee.substr(1, ee.length) : ee;
|
|
9057
9057
|
}).forEach(function(ee) {
|
|
9058
|
-
var re = ee.split(":"),
|
|
9059
|
-
if (
|
|
9058
|
+
var re = ee.split(":"), fe = re.shift().trim();
|
|
9059
|
+
if (fe) {
|
|
9060
9060
|
var Se = re.join(":").trim();
|
|
9061
|
-
z.append(
|
|
9061
|
+
z.append(fe, Se);
|
|
9062
9062
|
}
|
|
9063
9063
|
}), z;
|
|
9064
9064
|
}
|
|
@@ -9094,35 +9094,35 @@ function D8() {
|
|
|
9094
9094
|
this.stack = ee.stack;
|
|
9095
9095
|
}, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
|
|
9096
9096
|
}
|
|
9097
|
-
function
|
|
9097
|
+
function ce(q, z) {
|
|
9098
9098
|
return new Promise(function(te, ee) {
|
|
9099
9099
|
var re = new H(q, z);
|
|
9100
9100
|
if (re.signal && re.signal.aborted)
|
|
9101
9101
|
return ee(new o.DOMException("Aborted", "AbortError"));
|
|
9102
|
-
var
|
|
9102
|
+
var fe = new XMLHttpRequest();
|
|
9103
9103
|
function Se() {
|
|
9104
|
-
|
|
9104
|
+
fe.abort();
|
|
9105
9105
|
}
|
|
9106
|
-
|
|
9106
|
+
fe.onload = function() {
|
|
9107
9107
|
var Oe = {
|
|
9108
|
-
status:
|
|
9109
|
-
statusText:
|
|
9110
|
-
headers: le(
|
|
9108
|
+
status: fe.status,
|
|
9109
|
+
statusText: fe.statusText,
|
|
9110
|
+
headers: le(fe.getAllResponseHeaders() || "")
|
|
9111
9111
|
};
|
|
9112
|
-
Oe.url = "responseURL" in
|
|
9113
|
-
var Te = "response" in
|
|
9112
|
+
Oe.url = "responseURL" in fe ? fe.responseURL : Oe.headers.get("X-Request-URL");
|
|
9113
|
+
var Te = "response" in fe ? fe.response : fe.responseText;
|
|
9114
9114
|
setTimeout(function() {
|
|
9115
9115
|
te(new ge(Te, Oe));
|
|
9116
9116
|
}, 0);
|
|
9117
|
-
},
|
|
9117
|
+
}, fe.onerror = function() {
|
|
9118
9118
|
setTimeout(function() {
|
|
9119
9119
|
ee(new TypeError("Network request failed"));
|
|
9120
9120
|
}, 0);
|
|
9121
|
-
},
|
|
9121
|
+
}, fe.ontimeout = function() {
|
|
9122
9122
|
setTimeout(function() {
|
|
9123
9123
|
ee(new TypeError("Network request failed"));
|
|
9124
9124
|
}, 0);
|
|
9125
|
-
},
|
|
9125
|
+
}, fe.onabort = function() {
|
|
9126
9126
|
setTimeout(function() {
|
|
9127
9127
|
ee(new o.DOMException("Aborted", "AbortError"));
|
|
9128
9128
|
}, 0);
|
|
@@ -9134,16 +9134,16 @@ function D8() {
|
|
|
9134
9134
|
return Oe;
|
|
9135
9135
|
}
|
|
9136
9136
|
}
|
|
9137
|
-
|
|
9138
|
-
|
|
9137
|
+
fe.open(re.method, Ee(re.url), !0), re.credentials === "include" ? fe.withCredentials = !0 : re.credentials === "omit" && (fe.withCredentials = !1), "responseType" in fe && (u.blob ? fe.responseType = "blob" : u.arrayBuffer && re.headers.get("Content-Type") && re.headers.get("Content-Type").indexOf("application/octet-stream") !== -1 && (fe.responseType = "arraybuffer")), z && typeof z.headers == "object" && !(z.headers instanceof w) ? Object.getOwnPropertyNames(z.headers).forEach(function(Oe) {
|
|
9138
|
+
fe.setRequestHeader(Oe, y(z.headers[Oe]));
|
|
9139
9139
|
}) : re.headers.forEach(function(Oe, Te) {
|
|
9140
|
-
|
|
9141
|
-
}), re.signal && (re.signal.addEventListener("abort", Se),
|
|
9142
|
-
|
|
9143
|
-
}),
|
|
9140
|
+
fe.setRequestHeader(Te, Oe);
|
|
9141
|
+
}), re.signal && (re.signal.addEventListener("abort", Se), fe.onreadystatechange = function() {
|
|
9142
|
+
fe.readyState === 4 && re.signal.removeEventListener("abort", Se);
|
|
9143
|
+
}), fe.send(typeof re._bodyInit > "u" ? null : re._bodyInit);
|
|
9144
9144
|
});
|
|
9145
9145
|
}
|
|
9146
|
-
return
|
|
9146
|
+
return ce.polyfill = !0, a.fetch || (a.fetch = ce, a.Headers = w, a.Request = H, a.Response = ge), o.Headers = w, o.Request = H, o.Response = ge, o.fetch = ce, o;
|
|
9147
9147
|
})({});
|
|
9148
9148
|
})(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
|
|
9149
9149
|
var i = n.fetch ? n : r;
|
|
@@ -13462,7 +13462,7 @@ function yG(e) {
|
|
|
13462
13462
|
}, y.componentWillUnmount = function() {
|
|
13463
13463
|
this._resetIsScrollingTimeoutId !== null && zT(this._resetIsScrollingTimeoutId);
|
|
13464
13464
|
}, y.render = function() {
|
|
13465
|
-
var w = this.props, E = w.children, _ = w.className, P = w.direction, O = w.height, B = w.innerRef, L = w.innerElementType, F = w.innerTagName, b = w.itemCount, Y = w.itemData, H = w.itemKey, oe = H === void 0 ? vG : H, le = w.layout, ge = w.outerElementType, pe = w.outerTagName,
|
|
13465
|
+
var w = this.props, E = w.children, _ = w.className, P = w.direction, O = w.height, B = w.innerRef, L = w.innerElementType, F = w.innerTagName, b = w.itemCount, Y = w.itemData, H = w.itemKey, oe = H === void 0 ? vG : H, le = w.layout, ge = w.outerElementType, pe = w.outerTagName, ce = w.style, q = w.useIsScrolling, z = w.width, te = this.state.isScrolling, ee = P === "horizontal" || le === "horizontal", re = ee ? this._onScrollHorizontal : this._onScrollVertical, fe = this._getRangeToRender(), Se = fe[0], Ee = fe[1], Oe = [];
|
|
13466
13466
|
if (b > 0)
|
|
13467
13467
|
for (var Te = Se; Te <= Ee; Te++)
|
|
13468
13468
|
Oe.push(M.createElement(E, {
|
|
@@ -13485,7 +13485,7 @@ function yG(e) {
|
|
|
13485
13485
|
WebkitOverflowScrolling: "touch",
|
|
13486
13486
|
willChange: "transform",
|
|
13487
13487
|
direction: P
|
|
13488
|
-
},
|
|
13488
|
+
}, ce)
|
|
13489
13489
|
}, M.createElement(L || F || "div", {
|
|
13490
13490
|
children: Oe,
|
|
13491
13491
|
ref: B,
|
|
@@ -13629,8 +13629,8 @@ const Gv = 20, KT = ({
|
|
|
13629
13629
|
if (!(S || !v)) {
|
|
13630
13630
|
w(!0);
|
|
13631
13631
|
try {
|
|
13632
|
-
const ee = d.length === 0 ? 1 : E + 1, re = await F(ee, Gv, i),
|
|
13633
|
-
b.current = (re == null ? void 0 : re.count) || (re == null ? void 0 : re.total) || null, p((Se) => [...Se, ...
|
|
13632
|
+
const ee = d.length === 0 ? 1 : E + 1, re = await F(ee, Gv, i), fe = (re == null ? void 0 : re.rows) || [];
|
|
13633
|
+
b.current = (re == null ? void 0 : re.count) || (re == null ? void 0 : re.total) || null, p((Se) => [...Se, ...fe]), _(ee), (fe.length < Gv || b.current && d.length + fe.length >= b.current) && y(!1);
|
|
13634
13634
|
} catch {
|
|
13635
13635
|
y(!1);
|
|
13636
13636
|
} finally {
|
|
@@ -13646,8 +13646,8 @@ const Gv = 20, KT = ({
|
|
|
13646
13646
|
i
|
|
13647
13647
|
]), H = v ? d.length + 1 : d.length, oe = (ee) => !v || ee < d.length, le = async () => {
|
|
13648
13648
|
try {
|
|
13649
|
-
const
|
|
13650
|
-
await Xn.put(
|
|
13649
|
+
const fe = e + (t || "/notification-management/api/v1/notifications");
|
|
13650
|
+
await Xn.put(fe);
|
|
13651
13651
|
} catch (re) {
|
|
13652
13652
|
console.log(re);
|
|
13653
13653
|
}
|
|
@@ -13675,7 +13675,7 @@ const Gv = 20, KT = ({
|
|
|
13675
13675
|
/* @__PURE__ */ I.jsx(TU, { color: "text.first", variant: "body2", children: "Loading..." })
|
|
13676
13676
|
]
|
|
13677
13677
|
}
|
|
13678
|
-
),
|
|
13678
|
+
), ce = async (ee, re, fe) => {
|
|
13679
13679
|
p(i === "unread" && re ? (Oe) => Oe.filter((Te) => Te.id !== ee) : (Oe) => Oe.map((Te) => Te.id === ee ? { ...Te, isRead: re } : Te)), L((Oe) => {
|
|
13680
13680
|
let Te = 0;
|
|
13681
13681
|
const De = d.find((Ue) => Ue.id === ee);
|
|
@@ -13687,15 +13687,15 @@ const Gv = 20, KT = ({
|
|
|
13687
13687
|
}
|
|
13688
13688
|
};
|
|
13689
13689
|
});
|
|
13690
|
-
const Se =
|
|
13690
|
+
const Se = fe || `/notification-management/api/v1/notifications/${ee}`, Ee = e + Se;
|
|
13691
13691
|
await Xn.put(Ee, { isRead: re });
|
|
13692
13692
|
}, q = (ee) => {
|
|
13693
13693
|
var Oe;
|
|
13694
13694
|
const Ee = d[ee];
|
|
13695
13695
|
return Ee && Ee.notificationType === "deleteMultiple" && P[Ee.id] ? 90 + 38 * (((Oe = Ee.data) == null ? void 0 : Oe.length) ?? 0) + 8 : 90;
|
|
13696
13696
|
}, z = (ee, re) => {
|
|
13697
|
-
O((
|
|
13698
|
-
const Se = { ...
|
|
13697
|
+
O((fe) => {
|
|
13698
|
+
const Se = { ...fe, [ee]: !fe[ee] };
|
|
13699
13699
|
return setTimeout(() => {
|
|
13700
13700
|
var Ee;
|
|
13701
13701
|
(Ee = B.current) == null || Ee.resetAfterIndex(re);
|
|
@@ -13704,19 +13704,19 @@ const Gv = 20, KT = ({
|
|
|
13704
13704
|
}, te = ({ index: ee, style: re }) => {
|
|
13705
13705
|
if (!oe(ee))
|
|
13706
13706
|
return /* @__PURE__ */ I.jsx(pe, { style: re });
|
|
13707
|
-
const
|
|
13707
|
+
const fe = d[ee];
|
|
13708
13708
|
return /* @__PURE__ */ I.jsx("div", { style: re, children: /* @__PURE__ */ I.jsx(
|
|
13709
13709
|
iG,
|
|
13710
13710
|
{
|
|
13711
|
-
notification:
|
|
13711
|
+
notification: fe,
|
|
13712
13712
|
notiPath: t,
|
|
13713
13713
|
markAllAsReadState: o,
|
|
13714
13714
|
brandColors: n,
|
|
13715
|
-
onMark:
|
|
13716
|
-
showDetail: !!P[
|
|
13717
|
-
onToggleDetail: () => z(
|
|
13715
|
+
onMark: ce,
|
|
13716
|
+
showDetail: !!P[fe.id],
|
|
13717
|
+
onToggleDetail: () => z(fe.id, ee)
|
|
13718
13718
|
},
|
|
13719
|
-
|
|
13719
|
+
fe.id || ee
|
|
13720
13720
|
) });
|
|
13721
13721
|
};
|
|
13722
13722
|
return /* @__PURE__ */ I.jsxs("div", { children: [
|
|
@@ -13748,8 +13748,8 @@ const Gv = 20, KT = ({
|
|
|
13748
13748
|
itemSize: q,
|
|
13749
13749
|
width: "100%",
|
|
13750
13750
|
onItemsRendered: ee,
|
|
13751
|
-
ref: (
|
|
13752
|
-
B.current =
|
|
13751
|
+
ref: (fe) => {
|
|
13752
|
+
B.current = fe, typeof re == "function" && re(fe);
|
|
13753
13753
|
},
|
|
13754
13754
|
children: te
|
|
13755
13755
|
}
|
|
@@ -14474,9 +14474,9 @@ function eK(e, t, n, {
|
|
|
14474
14474
|
B = H;
|
|
14475
14475
|
let oe = Math.max(1, v - H + 1), le = o ? p : Math.min(v + H, p) + d, ge = Array(le + 2);
|
|
14476
14476
|
ge[le + 1] = (1 << b) - 1;
|
|
14477
|
-
for (let
|
|
14478
|
-
let q =
|
|
14479
|
-
if (w && (E[q] = +!!z), ge[
|
|
14477
|
+
for (let ce = le; ce >= oe; ce -= 1) {
|
|
14478
|
+
let q = ce - 1, z = n[e.charAt(q)];
|
|
14479
|
+
if (w && (E[q] = +!!z), ge[ce] = (ge[ce + 1] << 1 | 1) & z, b && (ge[ce] |= (P[ce + 1] | P[ce]) << 1 | 1 | P[ce + 1]), ge[ce] & L && (O = Ah(t, {
|
|
14480
14480
|
errors: b,
|
|
14481
14481
|
currentLocation: q,
|
|
14482
14482
|
expectedLocation: v,
|
|
@@ -15299,13 +15299,13 @@ function TK({
|
|
|
15299
15299
|
autoFocus: i,
|
|
15300
15300
|
onBlur: () => r(),
|
|
15301
15301
|
onKeyDown: (E) => {
|
|
15302
|
-
var _
|
|
15302
|
+
var _;
|
|
15303
15303
|
if (E.key === "Enter") {
|
|
15304
|
-
const
|
|
15305
|
-
if ((
|
|
15304
|
+
const P = document.querySelector("global-topbar");
|
|
15305
|
+
if ((P != null ? P.shadowRoot : document).getElementById("selectedSearch") === null) {
|
|
15306
15306
|
console.log("enter", E);
|
|
15307
|
-
const
|
|
15308
|
-
(
|
|
15307
|
+
const B = E.currentTarget.value;
|
|
15308
|
+
(_ = window.top) == null || _.shellNavigate(`/app/stella/page/Search/Index?Term=${B}`);
|
|
15309
15309
|
return;
|
|
15310
15310
|
}
|
|
15311
15311
|
}
|
|
@@ -15361,7 +15361,7 @@ function OK({
|
|
|
15361
15361
|
({ ...S });
|
|
15362
15362
|
const b = { ...t_, ...t }, Y = new Hu(e, b);
|
|
15363
15363
|
Y.setCollection(e);
|
|
15364
|
-
const [H, oe] = M.useState(E), [le, ge] = M.useState([]), [pe,
|
|
15364
|
+
const [H, oe] = M.useState(E), [le, ge] = M.useState([]), [pe, ce] = M.useState(-1), [q, z] = M.useState(!1), [te, ee] = M.useState(!1), [re, fe] = M.useState(!1), [Se, Ee] = M.useState(!1);
|
|
15365
15365
|
M.useEffect(() => {
|
|
15366
15366
|
oe(E);
|
|
15367
15367
|
const Fe = setTimeout(
|
|
@@ -15378,7 +15378,7 @@ function OK({
|
|
|
15378
15378
|
return document.addEventListener("click", Fe), () => document.removeEventListener("click", Fe);
|
|
15379
15379
|
}, []), M.useEffect(() => {
|
|
15380
15380
|
(() => {
|
|
15381
|
-
P && H.length > 0 && !te && le.length === 0 && !q ?
|
|
15381
|
+
P && H.length > 0 && !te && le.length === 0 && !q ? fe(!0) : fe(!1), B && le.length === 0 && H.length === 0 && Se && ge(e.slice(0, p));
|
|
15382
15382
|
})();
|
|
15383
15383
|
}, [
|
|
15384
15384
|
te,
|
|
@@ -15398,7 +15398,7 @@ function OK({
|
|
|
15398
15398
|
n > 0 ? wK((Fe) => Te(Fe), n) : (Fe) => Te(Fe),
|
|
15399
15399
|
[e]
|
|
15400
15400
|
), Ue = (Fe) => {
|
|
15401
|
-
vt(), s(Fe), oe(Fe[w]),
|
|
15401
|
+
vt(), s(Fe), oe(Fe[w]), ce(0);
|
|
15402
15402
|
}, ut = (Fe) => Y.search(Fe, { limit: p }).map((yt) => ({ ...yt.item })).slice(0, p), rt = ({ target: Fe }) => {
|
|
15403
15403
|
const yt = Fe.value;
|
|
15404
15404
|
oe(yt), De(yt), ee(!0), q && z(!1);
|
|
@@ -15410,14 +15410,14 @@ function OK({
|
|
|
15410
15410
|
}) => {
|
|
15411
15411
|
let Wt = -1;
|
|
15412
15412
|
const kt = (zt) => {
|
|
15413
|
-
|
|
15413
|
+
ce(zt), le != null && le[zt] && i(le[zt]);
|
|
15414
15414
|
};
|
|
15415
15415
|
if (Fe !== void 0)
|
|
15416
|
-
|
|
15416
|
+
ce(Fe), le != null && le[Fe] && i(le[Fe]);
|
|
15417
15417
|
else if (yt)
|
|
15418
15418
|
switch (yt.key) {
|
|
15419
15419
|
case "Enter":
|
|
15420
|
-
le.length > 0 && le[pe] ? (yt.preventDefault(), s(le[pe])) : r(H, le),
|
|
15420
|
+
le.length > 0 && le[pe] ? (yt.preventDefault(), s(le[pe])) : r(H, le), ce(-1), vt();
|
|
15421
15421
|
break;
|
|
15422
15422
|
case "ArrowUp":
|
|
15423
15423
|
yt.preventDefault(), Wt = pe > -1 ? pe - 1 : le.length - 1, kt(Wt);
|
|
@@ -17373,23 +17373,23 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = _Q, keyframes: r, type
|
|
|
17373
17373
|
const { calculatedDuration: le } = L;
|
|
17374
17374
|
let ge = 1 / 0, pe = 1 / 0;
|
|
17375
17375
|
le !== null && (ge = le + o, pe = ge * (s + 1) - o);
|
|
17376
|
-
let
|
|
17376
|
+
let ce = 0;
|
|
17377
17377
|
const q = (Se) => {
|
|
17378
17378
|
if (H === null)
|
|
17379
17379
|
return;
|
|
17380
|
-
y > 0 && (H = Math.min(H, Se)), y < 0 && (H = Math.min(Se - pe / y, H)), Y !== null ?
|
|
17381
|
-
const Ee =
|
|
17382
|
-
|
|
17383
|
-
let Te =
|
|
17380
|
+
y > 0 && (H = Math.min(H, Se)), y < 0 && (H = Math.min(Se - pe / y, H)), Y !== null ? ce = Y : ce = Math.round(Se - H) * y;
|
|
17381
|
+
const Ee = ce - t * (y >= 0 ? 1 : -1), Oe = y >= 0 ? Ee < 0 : Ee > pe;
|
|
17382
|
+
ce = Math.max(Ee, 0), b === "finished" && Y === null && (ce = pe);
|
|
17383
|
+
let Te = ce, De = L;
|
|
17384
17384
|
if (s) {
|
|
17385
|
-
const vt = Math.min(
|
|
17385
|
+
const vt = Math.min(ce, pe) / ge;
|
|
17386
17386
|
let Ct = Math.floor(vt), Fe = vt % 1;
|
|
17387
17387
|
!Fe && vt >= 1 && (Fe = 1), Fe === 1 && Ct--, Ct = Math.min(Ct, s + 1), !!(Ct % 2) && (a === "reverse" ? (Fe = 1 - Fe, o && (Fe -= o / ge)) : a === "mirror" && (De = F)), Te = oa(0, 1, Fe) * ge;
|
|
17388
17388
|
}
|
|
17389
17389
|
const Ue = Oe ? { done: !1, value: r[0] } : De.next(Te);
|
|
17390
17390
|
B && (Ue.value = B(Ue.value));
|
|
17391
17391
|
let { done: ut } = Ue;
|
|
17392
|
-
!Oe && le !== null && (ut = y >= 0 ?
|
|
17392
|
+
!Oe && le !== null && (ut = y >= 0 ? ce >= pe : ce <= 0);
|
|
17393
17393
|
const rt = Y === null && (b === "finished" || b === "running" && ut);
|
|
17394
17394
|
return p && p(Ue.value), rt && ee(), Ue;
|
|
17395
17395
|
}, z = () => {
|
|
@@ -17406,15 +17406,15 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = _Q, keyframes: r, type
|
|
|
17406
17406
|
u && u(), Y !== null ? H = Se - Y : (!H || b === "finished") && (H = Se), b === "finished" && _(), oe = H, Y = null, b = "running", P.start();
|
|
17407
17407
|
};
|
|
17408
17408
|
e && re();
|
|
17409
|
-
const
|
|
17409
|
+
const fe = {
|
|
17410
17410
|
then(Se, Ee) {
|
|
17411
17411
|
return E.then(Se, Ee);
|
|
17412
17412
|
},
|
|
17413
17413
|
get time() {
|
|
17414
|
-
return ro(
|
|
17414
|
+
return ro(ce);
|
|
17415
17415
|
},
|
|
17416
17416
|
set time(Se) {
|
|
17417
|
-
Se = cl(Se),
|
|
17417
|
+
Se = cl(Se), ce = Se, Y !== null || !P || y === 0 ? Y = Se : H = P.now() - Se / y;
|
|
17418
17418
|
},
|
|
17419
17419
|
get duration() {
|
|
17420
17420
|
const Se = L.calculatedDuration === null ? b_(L) : L.calculatedDuration;
|
|
@@ -17424,14 +17424,14 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = _Q, keyframes: r, type
|
|
|
17424
17424
|
return y;
|
|
17425
17425
|
},
|
|
17426
17426
|
set speed(Se) {
|
|
17427
|
-
Se === y || !P || (y = Se,
|
|
17427
|
+
Se === y || !P || (y = Se, fe.time = ro(ce));
|
|
17428
17428
|
},
|
|
17429
17429
|
get state() {
|
|
17430
17430
|
return b;
|
|
17431
17431
|
},
|
|
17432
17432
|
play: re,
|
|
17433
17433
|
pause: () => {
|
|
17434
|
-
b = "paused", Y =
|
|
17434
|
+
b = "paused", Y = ce;
|
|
17435
17435
|
},
|
|
17436
17436
|
stop: () => {
|
|
17437
17437
|
S = !0, b !== "idle" && (b = "idle", f && f(), te());
|
|
@@ -17444,7 +17444,7 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = _Q, keyframes: r, type
|
|
|
17444
17444
|
},
|
|
17445
17445
|
sample: (Se) => (H = 0, q(Se))
|
|
17446
17446
|
};
|
|
17447
|
-
return
|
|
17447
|
+
return fe;
|
|
17448
17448
|
}
|
|
17449
17449
|
function OQ(e) {
|
|
17450
17450
|
let t;
|
|
@@ -18089,13 +18089,13 @@ function fZ(e) {
|
|
|
18089
18089
|
const le = Array.isArray(B) ? B : [B];
|
|
18090
18090
|
let ge = le.reduce(i, {});
|
|
18091
18091
|
F === !1 && (ge = {});
|
|
18092
|
-
const { prevResolvedValues: pe = {} } = O,
|
|
18092
|
+
const { prevResolvedValues: pe = {} } = O, ce = {
|
|
18093
18093
|
...pe,
|
|
18094
18094
|
...ge
|
|
18095
18095
|
}, q = (z) => {
|
|
18096
18096
|
H = !0, y.has(z) && (oe = !0, y.delete(z)), O.needsAnimating[z] = !0;
|
|
18097
18097
|
};
|
|
18098
|
-
for (const z in
|
|
18098
|
+
for (const z in ce) {
|
|
18099
18099
|
const te = ge[z], ee = pe[z];
|
|
18100
18100
|
if (S.hasOwnProperty(z))
|
|
18101
18101
|
continue;
|
|
@@ -20322,12 +20322,12 @@ var iu = /* @__PURE__ */ new Map(), YM = function(t) {
|
|
|
20322
20322
|
for (var Fe = 0, yt = ut.length; Fe < yt; Fe++)
|
|
20323
20323
|
ut[Fe].setAttributeNS(ly, "href", "#" + Y);
|
|
20324
20324
|
L[Oe].id = Y;
|
|
20325
|
-
},
|
|
20326
|
-
re(
|
|
20325
|
+
}, fe = 0, Se = L.length; fe < Se; fe++)
|
|
20326
|
+
re(fe);
|
|
20327
20327
|
});
|
|
20328
20328
|
}
|
|
20329
20329
|
p.removeAttribute("xmlns:a");
|
|
20330
|
-
for (var H = p.querySelectorAll("script"), oe = [], le, ge, pe = 0,
|
|
20330
|
+
for (var H = p.querySelectorAll("script"), oe = [], le, ge, pe = 0, ce = H.length; pe < ce; pe++)
|
|
20331
20331
|
ge = H[pe].getAttribute("type"), (!ge || ge === "application/ecmascript" || ge === "application/javascript" || ge === "text/javascript") && (le = H[pe].innerText || H[pe].textContent, le && oe.push(le), p.removeChild(H[pe]));
|
|
20332
20332
|
if (oe.length > 0 && (n === "always" || n === "once" && !cE[u])) {
|
|
20333
20333
|
for (var q = 0, z = oe.length; q < z; q++)
|
|
@@ -20571,16 +20571,16 @@ function fee({ item: e }) {
|
|
|
20571
20571
|
}
|
|
20572
20572
|
function GM({ ...e }) {
|
|
20573
20573
|
var le, ge, pe;
|
|
20574
|
-
const t = e.item, n = e.level || 0, r = !!((le = e.item.children) != null && le.length), i = `level-${n}`, s = (
|
|
20574
|
+
const t = e.item, n = e.level || 0, r = !!((le = e.item.children) != null && le.length), i = `level-${n}`, s = (ce, q = i) => `${ce} ${q} `, [o, a] = M.useState(!1), [u, f] = M.useState(t.isFavorite || !1), d = M.useRef(), p = M.useRef();
|
|
20575
20575
|
p != null && p.current && ((ge = p == null ? void 0 : p.current) == null ? void 0 : ge.scrollWidth) > ((pe = p == null ? void 0 : p.current) == null ? void 0 : pe.clientWidth);
|
|
20576
20576
|
const v = window.location.origin, y = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, S = window.location.pathname.split("/")[1], w = y.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !v.includes("local") && v !== y.origin || w !== S, _ = r || n === 0 ? "div" : E ? "a" : kk, P = t.redirectUrl || (t.path && t.path.includes("http") ? new URL(t.path).pathname : t.path) || "#", O = n + 1, B = r && o && n > 0, L = () => {
|
|
20577
20577
|
e.isDrop || a(!0);
|
|
20578
20578
|
}, F = () => {
|
|
20579
20579
|
a(!1);
|
|
20580
|
-
}, b = "/global-menu-config/api/v1/menu-items/user/set-favorite", Y = (
|
|
20581
|
-
|
|
20580
|
+
}, b = "/global-menu-config/api/v1/menu-items/user/set-favorite", Y = (ce) => {
|
|
20581
|
+
ce.stopPropagation();
|
|
20582
20582
|
}, H = v !== y.origin || e.item.redirectUrl ? "_blank" : "_self", oe = Object.entries(e.brandColors || {}).reduce(
|
|
20583
|
-
(
|
|
20583
|
+
(ce, [q, z]) => (z && (ce[`--${q}`] = z), ce),
|
|
20584
20584
|
{}
|
|
20585
20585
|
);
|
|
20586
20586
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -20595,8 +20595,8 @@ function GM({ ...e }) {
|
|
|
20595
20595
|
},
|
|
20596
20596
|
onMouseOver: L,
|
|
20597
20597
|
onMouseOut: F,
|
|
20598
|
-
onDragStart: (
|
|
20599
|
-
n > 1 &&
|
|
20598
|
+
onDragStart: (ce) => {
|
|
20599
|
+
n > 1 && ce.preventDefault(), a(!1);
|
|
20600
20600
|
},
|
|
20601
20601
|
onDragEnd: () => {
|
|
20602
20602
|
console.log("drag end 1223"), a(!1);
|
|
@@ -20613,12 +20613,12 @@ function GM({ ...e }) {
|
|
|
20613
20613
|
width: "100%",
|
|
20614
20614
|
transition: "all 0.3s"
|
|
20615
20615
|
},
|
|
20616
|
-
onClick: (
|
|
20616
|
+
onClick: (ce) => {
|
|
20617
20617
|
var q, z;
|
|
20618
|
-
_ === "a" && H === "_blank" || (!r && t.path && ((q = e.onClickItem) == null || q.call(e,
|
|
20618
|
+
_ === "a" && H === "_blank" || (!r && t.path && ((q = e.onClickItem) == null || q.call(e, t), Y(ce)), P !== "#" && ((z = e.onClick) == null || z.call(e, t), Y(ce)));
|
|
20619
20619
|
},
|
|
20620
|
-
onDragStart: (
|
|
20621
|
-
console.log("onDragStart component",
|
|
20620
|
+
onDragStart: (ce) => {
|
|
20621
|
+
console.log("onDragStart component", ce.target);
|
|
20622
20622
|
},
|
|
20623
20623
|
onDragEnd: () => {
|
|
20624
20624
|
console.log("onDragEnd menu item"), a(!1);
|
|
@@ -20633,18 +20633,18 @@ function GM({ ...e }) {
|
|
|
20633
20633
|
hasChildren: r,
|
|
20634
20634
|
isHovered: o,
|
|
20635
20635
|
isFavorite: u,
|
|
20636
|
-
onClick: (
|
|
20636
|
+
onClick: (ce) => {
|
|
20637
20637
|
const q = {
|
|
20638
20638
|
menuConfigId: t.id,
|
|
20639
|
-
isFavorite:
|
|
20639
|
+
isFavorite: ce
|
|
20640
20640
|
}, z = e.baseUrl + b;
|
|
20641
20641
|
Xn.post(z, q).then((te) => {
|
|
20642
20642
|
var ee;
|
|
20643
|
-
f(
|
|
20643
|
+
f(ce), wR(
|
|
20644
20644
|
Lt("components.menu.pushSuccess.menuSuccess", {
|
|
20645
20645
|
defaultValue: "Set favorite menu item successful"
|
|
20646
20646
|
})
|
|
20647
|
-
), (ee = e.onSetFavoriteSuccess) == null || ee.call(e, e.item.id,
|
|
20647
|
+
), (ee = e.onSetFavoriteSuccess) == null || ee.call(e, e.item.id, ce);
|
|
20648
20648
|
}).catch((te) => {
|
|
20649
20649
|
var ee, re;
|
|
20650
20650
|
console.log(" MenuItem.tsx ~ error:", te), ud(
|
|
@@ -20666,7 +20666,7 @@ function GM({ ...e }) {
|
|
|
20666
20666
|
parentRef: d,
|
|
20667
20667
|
onlyChild: O < 2,
|
|
20668
20668
|
dropdownLevel: n,
|
|
20669
|
-
renderChildren: ({ maxHeight:
|
|
20669
|
+
renderChildren: ({ maxHeight: ce }) => {
|
|
20670
20670
|
var q;
|
|
20671
20671
|
return /* @__PURE__ */ I.jsx(
|
|
20672
20672
|
UM.div,
|
|
@@ -20676,8 +20676,8 @@ function GM({ ...e }) {
|
|
|
20676
20676
|
`level-${O}`
|
|
20677
20677
|
),
|
|
20678
20678
|
style: HM(
|
|
20679
|
-
{ maxHeight:
|
|
20680
|
-
|
|
20679
|
+
{ maxHeight: ce, overflowY: "auto", paddingRight: 3 },
|
|
20680
|
+
ce !== "auto" && !!O
|
|
20681
20681
|
),
|
|
20682
20682
|
children: (q = t.children) == null ? void 0 : q.map((z) => /* @__PURE__ */ M.createElement(
|
|
20683
20683
|
GM,
|
|
@@ -26053,18 +26053,18 @@ function qie(e) {
|
|
|
26053
26053
|
const b = M.useRef(null), [{ isDragging: Y }, H] = uL({
|
|
26054
26054
|
type: Ty,
|
|
26055
26055
|
item: () => ({ id: L.id, index: F }),
|
|
26056
|
-
collect: (
|
|
26057
|
-
isDragging:
|
|
26056
|
+
collect: (ce) => ({
|
|
26057
|
+
isDragging: ce.isDragging()
|
|
26058
26058
|
})
|
|
26059
26059
|
}), [{ isOver: oe, isOverCurrent: le }, ge] = dg(
|
|
26060
26060
|
() => ({
|
|
26061
26061
|
accept: Ty,
|
|
26062
|
-
collect: (
|
|
26063
|
-
isOver:
|
|
26064
|
-
isOverCurrent:
|
|
26062
|
+
collect: (ce) => ({
|
|
26063
|
+
isOver: ce.isOver(),
|
|
26064
|
+
isOverCurrent: ce.isOver({ shallow: !0 })
|
|
26065
26065
|
}),
|
|
26066
|
-
drop: (
|
|
26067
|
-
|
|
26066
|
+
drop: (ce) => {
|
|
26067
|
+
ce.index !== F && (ce.index < F ? (_(ce.index, F - 1), ce.index = F - 1) : (_(ce.index, F), ce.index = F));
|
|
26068
26068
|
}
|
|
26069
26069
|
}),
|
|
26070
26070
|
[]
|
|
@@ -26096,11 +26096,11 @@ function qie(e) {
|
|
|
26096
26096
|
level: 1,
|
|
26097
26097
|
onSetFavoriteSuccess: y,
|
|
26098
26098
|
isDrop: o,
|
|
26099
|
-
onClickItem:
|
|
26100
|
-
|
|
26101
|
-
window.dispatchEvent(
|
|
26099
|
+
onClickItem: (ce) => {
|
|
26100
|
+
var q;
|
|
26101
|
+
(q = e.onClickItem) == null || q.call(e, ce), window.dispatchEvent(
|
|
26102
26102
|
new CustomEvent("favoriteMenuPathChange", {
|
|
26103
|
-
detail: { path:
|
|
26103
|
+
detail: { path: ce.path, menuItemId: ce.id }
|
|
26104
26104
|
})
|
|
26105
26105
|
);
|
|
26106
26106
|
}
|
|
@@ -26185,7 +26185,7 @@ function Gie(e = 32) {
|
|
|
26185
26185
|
return;
|
|
26186
26186
|
const o = () => {
|
|
26187
26187
|
const a = s.contentWindow;
|
|
26188
|
-
a && a.addEventListener("scroll", i);
|
|
26188
|
+
a && (a.addEventListener("scroll", i), n(!0), r.current = a.scrollY || 0);
|
|
26189
26189
|
};
|
|
26190
26190
|
return s.addEventListener("load", o), () => {
|
|
26191
26191
|
s.removeEventListener("load", o);
|
|
@@ -26353,7 +26353,7 @@ var hg = { exports: {} };
|
|
|
26353
26353
|
hg.exports;
|
|
26354
26354
|
(function(e, t) {
|
|
26355
26355
|
(function() {
|
|
26356
|
-
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", f = 500, d = "__lodash_placeholder__", p = 1, v = 2, y = 4, S = 1, w = 2, E = 1, _ = 2, P = 4, O = 8, B = 16, L = 32, F = 64, b = 128, Y = 256, H = 512, oe = 30, le = "...", ge = 800, pe = 16,
|
|
26356
|
+
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", f = 500, d = "__lodash_placeholder__", p = 1, v = 2, y = 4, S = 1, w = 2, E = 1, _ = 2, P = 4, O = 8, B = 16, L = 32, F = 64, b = 128, Y = 256, H = 512, oe = 30, le = "...", ge = 800, pe = 16, ce = 1, q = 2, z = 3, te = 1 / 0, ee = 9007199254740991, re = 17976931348623157e292, fe = NaN, Se = 4294967295, Ee = Se - 1, Oe = Se >>> 1, Te = [
|
|
26357
26357
|
["ary", b],
|
|
26358
26358
|
["bind", E],
|
|
26359
26359
|
["bindKey", _],
|
|
@@ -26741,7 +26741,7 @@ hg.exports;
|
|
|
26741
26741
|
}
|
|
26742
26742
|
function Mr(j, X) {
|
|
26743
26743
|
var K = j == null ? 0 : j.length;
|
|
26744
|
-
return K ? jn(j, X) / K :
|
|
26744
|
+
return K ? jn(j, X) / K : fe;
|
|
26745
26745
|
}
|
|
26746
26746
|
function Rs(j) {
|
|
26747
26747
|
return function(X) {
|
|
@@ -27009,7 +27009,7 @@ hg.exports;
|
|
|
27009
27009
|
if (Fr == q)
|
|
27010
27010
|
qe = ir;
|
|
27011
27011
|
else if (!ir) {
|
|
27012
|
-
if (Fr ==
|
|
27012
|
+
if (Fr == ce)
|
|
27013
27013
|
continue e;
|
|
27014
27014
|
break e;
|
|
27015
27015
|
}
|
|
@@ -27691,7 +27691,7 @@ hg.exports;
|
|
|
27691
27691
|
return $;
|
|
27692
27692
|
}
|
|
27693
27693
|
function U1(l) {
|
|
27694
|
-
return typeof l == "number" ? l : $r(l) ?
|
|
27694
|
+
return typeof l == "number" ? l : $r(l) ? fe : +l;
|
|
27695
27695
|
}
|
|
27696
27696
|
function Nr(l) {
|
|
27697
27697
|
if (typeof l == "string")
|
|
@@ -29382,7 +29382,7 @@ hg.exports;
|
|
|
29382
29382
|
if (typeof l == "number")
|
|
29383
29383
|
return l;
|
|
29384
29384
|
if ($r(l))
|
|
29385
|
-
return
|
|
29385
|
+
return fe;
|
|
29386
29386
|
if (Qt(l)) {
|
|
29387
29387
|
var c = typeof l.valueOf == "function" ? l.valueOf() : l;
|
|
29388
29388
|
l = Qt(c) ? c + "" : c;
|
|
@@ -29391,7 +29391,7 @@ hg.exports;
|
|
|
29391
29391
|
return l === 0 ? l : +l;
|
|
29392
29392
|
l = ci(l);
|
|
29393
29393
|
var g = Rl.test(l);
|
|
29394
|
-
return g || it.test(l) ? Rm(l.slice(2), g ? 2 : 8) : Qi.test(l) ?
|
|
29394
|
+
return g || it.test(l) ? Rm(l.slice(2), g ? 2 : 8) : Qi.test(l) ? fe : +l;
|
|
29395
29395
|
}
|
|
29396
29396
|
function WS(l) {
|
|
29397
29397
|
return ss(l, wr(l));
|
|
@@ -29936,7 +29936,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29936
29936
|
return this.reverse()[l](g).reverse();
|
|
29937
29937
|
};
|
|
29938
29938
|
}), U(["filter", "map", "takeWhile"], function(l, c) {
|
|
29939
|
-
var g = c + 1, C = g ==
|
|
29939
|
+
var g = c + 1, C = g == ce || g == z;
|
|
29940
29940
|
wt.prototype[l] = function(A) {
|
|
29941
29941
|
var $ = this.clone();
|
|
29942
29942
|
return $.__iteratees__.push({
|
|
@@ -30231,7 +30231,7 @@ var bL = { exports: {} };
|
|
|
30231
30231
|
function H(h, m) {
|
|
30232
30232
|
return h.nodeName && h.nodeName.toLowerCase() === m.toLowerCase();
|
|
30233
30233
|
}
|
|
30234
|
-
var oe = r.pop, le = r.sort, ge = r.splice, pe = "[\\x20\\t\\r\\n\\f]",
|
|
30234
|
+
var oe = r.pop, le = r.sort, ge = r.splice, pe = "[\\x20\\t\\r\\n\\f]", ce = new RegExp(
|
|
30235
30235
|
"^" + pe + "+|((?:^|[^\\\\])(?:\\\\.)*)" + pe + "+$",
|
|
30236
30236
|
"g"
|
|
30237
30237
|
);
|
|
@@ -30339,7 +30339,7 @@ var bL = { exports: {} };
|
|
|
30339
30339
|
}
|
|
30340
30340
|
}
|
|
30341
30341
|
}
|
|
30342
|
-
return jd(V.replace(
|
|
30342
|
+
return jd(V.replace(ce, "$1"), Z, ie, ae);
|
|
30343
30343
|
}
|
|
30344
30344
|
function Pa() {
|
|
30345
30345
|
var V = [];
|
|
@@ -30581,7 +30581,7 @@ var bL = { exports: {} };
|
|
|
30581
30581
|
pseudos: {
|
|
30582
30582
|
// Potentially complex pseudos
|
|
30583
30583
|
not: Ir(function(V) {
|
|
30584
|
-
var Z = [], ie = [], ae = mc(V.replace(
|
|
30584
|
+
var Z = [], ie = [], ae = mc(V.replace(ce, "$1"));
|
|
30585
30585
|
return ae[de] ? Ir(function(j, X, K, he) {
|
|
30586
30586
|
for (var me, Le = ae(j, null, he, []), Ne = j.length; Ne--; )
|
|
30587
30587
|
(me = Le[Ne]) && (j[Ne] = !(X[Ne] = me));
|
|
@@ -30711,7 +30711,7 @@ var bL = { exports: {} };
|
|
|
30711
30711
|
(!ie || (ae = Rt.exec(K))) && (ae && (K = K.slice(ae[0].length) || K), he.push(j = [])), ie = !1, (ae = Oa.exec(K)) && (ie = ae.shift(), j.push({
|
|
30712
30712
|
value: ie,
|
|
30713
30713
|
// Cast descendant combinators to space
|
|
30714
|
-
type: ae[0].replace(
|
|
30714
|
+
type: ae[0].replace(ce, " ")
|
|
30715
30715
|
}), K = K.slice(ie.length));
|
|
30716
30716
|
for (X in m.filter)
|
|
30717
30717
|
(ae = mr[X].exec(K)) && (!me[X] || (ae = me[X](ae))) && (ie = ae.shift(), j.push({
|
|
@@ -30835,7 +30835,7 @@ var bL = { exports: {} };
|
|
|
30835
30835
|
he > 1 && Lr(
|
|
30836
30836
|
// If the preceding token was a descendant combinator, insert an implicit any-element `*`
|
|
30837
30837
|
V.slice(0, he - 1).concat({ value: V[he - 2].type === " " ? "*" : "" })
|
|
30838
|
-
).replace(
|
|
30838
|
+
).replace(ce, "$1"),
|
|
30839
30839
|
ie,
|
|
30840
30840
|
he < ae && er(V.slice(he, ae)),
|
|
30841
30841
|
ae < j && er(V = V.slice(ae)),
|
|
@@ -30930,7 +30930,7 @@ var bL = { exports: {} };
|
|
|
30930
30930
|
T.push(h);
|
|
30931
30931
|
}
|
|
30932
30932
|
return T;
|
|
30933
|
-
},
|
|
30933
|
+
}, fe = function(h, m) {
|
|
30934
30934
|
for (var x = []; h; h = h.nextSibling)
|
|
30935
30935
|
h.nodeType === 1 && h !== m && x.push(h);
|
|
30936
30936
|
return x;
|
|
@@ -31095,10 +31095,10 @@ var bL = { exports: {} };
|
|
|
31095
31095
|
return re(h, "previousSibling", x);
|
|
31096
31096
|
},
|
|
31097
31097
|
siblings: function(h) {
|
|
31098
|
-
return
|
|
31098
|
+
return fe((h.parentNode || {}).firstChild, h);
|
|
31099
31099
|
},
|
|
31100
31100
|
children: function(h) {
|
|
31101
|
-
return
|
|
31101
|
+
return fe(h.firstChild);
|
|
31102
31102
|
},
|
|
31103
31103
|
contents: function(h) {
|
|
31104
31104
|
return h.contentDocument != null && // Support: IE 11+
|
|
@@ -32210,7 +32210,7 @@ var bL = { exports: {} };
|
|
|
32210
32210
|
})();
|
|
32211
32211
|
function _a(h, m, x) {
|
|
32212
32212
|
var T, D, k, R, G = it.test(m), U = h.style;
|
|
32213
|
-
return x = x || dn(h), x && (R = x.getPropertyValue(m) || x[m], G && R && (R = R.replace(
|
|
32213
|
+
return x = x || dn(h), x && (R = x.getPropertyValue(m) || x[m], G && R && (R = R.replace(ce, "$1") || void 0), R === "" && !Zn(h) && (R = b.style(h, m)), !S.pixelBoxStyles() && Ta.test(R) && Ml.test(m) && (T = U.width, D = U.minWidth, k = U.maxWidth, U.minWidth = U.maxWidth = U.width = R, R = x.width, U.width = T, U.minWidth = D, U.maxWidth = k)), R !== void 0 ? (
|
|
32214
32214
|
// Support: IE <=9 - 11 only
|
|
32215
32215
|
// IE returns zIndex value as an integer.
|
|
32216
32216
|
R + ""
|
|
@@ -33766,11 +33766,11 @@ const nse = /* @__PURE__ */ aU(rG);
|
|
|
33766
33766
|
H += "<thead>", H += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (H += "<th></th>"), (!b || b.isBefore(_.firstDay)) && (!this.linkedCalendars || i == "left") ? H += '<th class="prev available"><span></span></th>' : H += "<th></th>";
|
|
33767
33767
|
var oe = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
|
|
33768
33768
|
if (this.showDropdowns) {
|
|
33769
|
-
for (var le = _[1][1].month(), ge = _[1][1].year(), pe = Y && Y.year() || this.maxYear,
|
|
33769
|
+
for (var le = _[1][1].month(), ge = _[1][1].year(), pe = Y && Y.year() || this.maxYear, ce = b && b.year() || this.minYear, q = ge == ce, z = ge == pe, te = '<select class="monthselect">', ee = 0; ee < 12; ee++)
|
|
33770
33770
|
(!q || b && ee >= b.month()) && (!z || Y && ee <= Y.month()) ? te += "<option value='" + ee + "'" + (ee === le ? " selected='selected'" : "") + ">" + this.locale.monthNames[ee] + "</option>" : te += "<option value='" + ee + "'" + (ee === le ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[ee] + "</option>";
|
|
33771
33771
|
te += "</select>";
|
|
33772
|
-
for (var re = '<select class="yearselect">',
|
|
33773
|
-
re += '<option value="' +
|
|
33772
|
+
for (var re = '<select class="yearselect">', fe = ce; fe <= pe; fe++)
|
|
33773
|
+
re += '<option value="' + fe + '"' + (fe === ge ? ' selected="selected"' : "") + ">" + fe + "</option>";
|
|
33774
33774
|
re += "</select>", oe = te + re;
|
|
33775
33775
|
}
|
|
33776
33776
|
if (H += '<th colspan="5" class="month">' + oe + "</th>", (!Y || Y.isAfter(_.lastDay)) && (!this.linkedCalendars || i == "right" || this.singleDatePicker) ? H += '<th class="next available"><span></span></th>' : H += "<th></th>", H += "</tr>", H += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (H += '<th class="week">' + this.locale.weekLabel + "</th>"), n.each(this.locale.daysOfWeek, function(Ue, ut) {
|
|
@@ -37279,12 +37279,12 @@ const UO = (e) => {
|
|
|
37279
37279
|
] });
|
|
37280
37280
|
}
|
|
37281
37281
|
M.useEffect(() => {
|
|
37282
|
-
t && Notification.permission === "granted" && (t.actorName || t.message || t.context || t.contextUrl) && IK(/* @__PURE__ */ I.jsx(i, {}));
|
|
37282
|
+
t && typeof window < "u" && "Notification" in window && Notification.permission === "granted" && (t.actorName || t.message || t.context || t.contextUrl) && IK(/* @__PURE__ */ I.jsx(i, {}));
|
|
37283
37283
|
}, [t]), M.useEffect(() => {
|
|
37284
|
-
"Notification" in window
|
|
37284
|
+
typeof window < "u" && "Notification" in window ? (console.log("notification permission", Notification.permission), Notification.permission === "default" ? Notification.requestPermission(function(o) {
|
|
37285
37285
|
o === "granted" && UO(e);
|
|
37286
|
-
}) : Notification.permission === "granted" && UO(e));
|
|
37287
|
-
}, [
|
|
37286
|
+
}) : Notification.permission === "granted" && UO(e)) : console.log("Web Notifications API is not supported on this device");
|
|
37287
|
+
}, []), M.useEffect(() => {
|
|
37288
37288
|
Jae(r);
|
|
37289
37289
|
}, []);
|
|
37290
37290
|
const s = (o, a) => {
|
|
@@ -40441,7 +40441,7 @@ function xfe(e) {
|
|
|
40441
40441
|
const { prevResolvedValues: ge = {} } = P, pe = {
|
|
40442
40442
|
...ge,
|
|
40443
40443
|
...le
|
|
40444
|
-
},
|
|
40444
|
+
}, ce = (te) => {
|
|
40445
40445
|
Y = !0, v.has(te) && (H = !0, v.delete(te)), P.needsAnimating[te] = !0;
|
|
40446
40446
|
const ee = e.getValue(te);
|
|
40447
40447
|
ee && (ee.liveStyle = !1);
|
|
@@ -40450,8 +40450,8 @@ function xfe(e) {
|
|
|
40450
40450
|
const ee = le[te], re = ge[te];
|
|
40451
40451
|
if (y.hasOwnProperty(te))
|
|
40452
40452
|
continue;
|
|
40453
|
-
let
|
|
40454
|
-
mb(ee) && mb(re) ?
|
|
40453
|
+
let fe = !1;
|
|
40454
|
+
mb(ee) && mb(re) ? fe = !k2(ee, re) : fe = ee !== re, fe ? ee != null ? ce(te) : v.add(te) : ee !== void 0 && v.has(te) ? ce(te) : P.protectedKeys[te] = !0;
|
|
40455
40455
|
}
|
|
40456
40456
|
P.prevProp = O, P.prevResolvedValues = le, P.isActive && (y = { ...y, ...le }), r && e.blockInitialAnimation && (Y = !1), Y && (!(F && b) || H) && p.push(...oe.map((te) => ({
|
|
40457
40457
|
animation: te,
|
|
@@ -43673,7 +43673,7 @@ function XN({ ...e }) {
|
|
|
43673
43673
|
P != null && P.current && ((Ee = P == null ? void 0 : P.current) == null ? void 0 : Ee.scrollWidth) > ((Oe = P == null ? void 0 : P.current) == null ? void 0 : Oe.clientWidth);
|
|
43674
43674
|
const O = window.location.origin, B = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, L = window.location.pathname.split("/")[1], F = B.pathname.split("/")[1], b = e.item.redirectUrl || e.ssr || !O.includes("local") && O !== B.origin || F !== L, Y = r ? "div" : !e.isInternalApp && b ? "a" : kk, H = ipe(t), oe = n + 1, le = r && s && y, ge = s || n === 0 ? void 0 : `${n + 0.25}rem`, pe = () => {
|
|
43675
43675
|
S(!0);
|
|
43676
|
-
},
|
|
43676
|
+
}, ce = () => {
|
|
43677
43677
|
S(!1);
|
|
43678
43678
|
}, q = "/global-menu-config/api/v1/menu-items/user/set-favorite", z = t.serviceKey === "mn_poms";
|
|
43679
43679
|
e.params.depth * 20, e.params.depth, Hhe(
|
|
@@ -43684,7 +43684,7 @@ function XN({ ...e }) {
|
|
|
43684
43684
|
const ee = z || s && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null, re = Object.entries(e.brandColors || {}).reduce(
|
|
43685
43685
|
(Te, [De, Ue]) => (Ue && (Te[`--${De}`] = Ue), Te),
|
|
43686
43686
|
{}
|
|
43687
|
-
),
|
|
43687
|
+
), fe = O !== B.origin || e.item.redirectUrl ? "_blank" : "_self";
|
|
43688
43688
|
return /* @__PURE__ */ I.jsxs(
|
|
43689
43689
|
"div",
|
|
43690
43690
|
{
|
|
@@ -43696,7 +43696,7 @@ function XN({ ...e }) {
|
|
|
43696
43696
|
...re
|
|
43697
43697
|
},
|
|
43698
43698
|
onMouseOver: pe,
|
|
43699
|
-
onMouseOut:
|
|
43699
|
+
onMouseOut: ce,
|
|
43700
43700
|
onDragStart: (Te) => {
|
|
43701
43701
|
s && n > 1 && Te.preventDefault();
|
|
43702
43702
|
},
|
|
@@ -43704,7 +43704,7 @@ function XN({ ...e }) {
|
|
|
43704
43704
|
/* @__PURE__ */ I.jsx(Df, { placement: "top", title: ee, disableInteractive: !0, children: /* @__PURE__ */ I.jsxs(
|
|
43705
43705
|
Y,
|
|
43706
43706
|
{
|
|
43707
|
-
target:
|
|
43707
|
+
target: fe,
|
|
43708
43708
|
to: H,
|
|
43709
43709
|
draggable: "true",
|
|
43710
43710
|
className: v("menu-item__link"),
|
|
@@ -43713,7 +43713,7 @@ function XN({ ...e }) {
|
|
|
43713
43713
|
},
|
|
43714
43714
|
onClick: (Te) => {
|
|
43715
43715
|
var De;
|
|
43716
|
-
Y === "a" &&
|
|
43716
|
+
Y === "a" && fe === "_blank" || (!r && t.path && (localStorage.setItem(
|
|
43717
43717
|
"latestClickMenuPath",
|
|
43718
43718
|
(t.path || "").replace(window.location.origin, "")
|
|
43719
43719
|
), (De = e.onClickItem) == null || De.call(e, H)), !s && e.toggleExpand(Te));
|
|
@@ -43962,7 +43962,7 @@ function gpe(e) {
|
|
|
43962
43962
|
(async () => {
|
|
43963
43963
|
var te, ee;
|
|
43964
43964
|
try {
|
|
43965
|
-
const re = e.menuPath || "/global-menu-config/api/v1/menu-items/user",
|
|
43965
|
+
const re = e.menuPath || "/global-menu-config/api/v1/menu-items/user", fe = e.baseUrl + re, { data: Se } = await Xn.get(fe);
|
|
43966
43966
|
let Ee = Se.map((Te) => ({
|
|
43967
43967
|
...Te,
|
|
43968
43968
|
parentKey: Te.parentKey || 0
|
|
@@ -44027,26 +44027,26 @@ function gpe(e) {
|
|
|
44027
44027
|
}, []), M.useEffect(() => {
|
|
44028
44028
|
let z = [];
|
|
44029
44029
|
a.forEach((re) => {
|
|
44030
|
-
const
|
|
44030
|
+
const fe = i.find(
|
|
44031
44031
|
(Se) => Se.id === re && Se.isFavorite === !0
|
|
44032
44032
|
);
|
|
44033
|
-
|
|
44033
|
+
fe && (z = [...z, fe]);
|
|
44034
44034
|
});
|
|
44035
44035
|
function te(re) {
|
|
44036
|
-
return i.every((
|
|
44036
|
+
return i.every((fe) => fe.parentKey !== re.id) ? re : {
|
|
44037
44037
|
...re,
|
|
44038
|
-
children: i.filter((
|
|
44038
|
+
children: i.filter((fe) => fe.parentKey === re.id).map((fe) => te(fe))
|
|
44039
44039
|
};
|
|
44040
44040
|
}
|
|
44041
44041
|
const ee = z.map((re) => te(re));
|
|
44042
44042
|
ppe(ee);
|
|
44043
44043
|
}, [i]);
|
|
44044
44044
|
const oe = (z, te, ee) => {
|
|
44045
|
-
let re = z.find((
|
|
44045
|
+
let re = z.find((fe) => fe.id === ee);
|
|
44046
44046
|
for (; re; ) {
|
|
44047
44047
|
if (re.parentKey === te)
|
|
44048
44048
|
return !0;
|
|
44049
|
-
re = z.find((
|
|
44049
|
+
re = z.find((fe) => fe.id === (re == null ? void 0 : re.parentKey));
|
|
44050
44050
|
}
|
|
44051
44051
|
return !1;
|
|
44052
44052
|
}, le = M.useRef(w);
|
|
@@ -44086,13 +44086,13 @@ function gpe(e) {
|
|
|
44086
44086
|
var re;
|
|
44087
44087
|
const z = localStorage.getItem("scrollPos");
|
|
44088
44088
|
z && F.current && setTimeout(() => {
|
|
44089
|
-
const
|
|
44090
|
-
|
|
44089
|
+
const fe = F.current.getScrollElement();
|
|
44090
|
+
fe.scrollTop = parseInt(z);
|
|
44091
44091
|
}, 0);
|
|
44092
44092
|
const te = () => {
|
|
44093
44093
|
if (F.current) {
|
|
44094
|
-
const
|
|
44095
|
-
localStorage.setItem("scrollPos",
|
|
44094
|
+
const fe = F.current.getScrollElement();
|
|
44095
|
+
localStorage.setItem("scrollPos", fe.scrollTop.toString());
|
|
44096
44096
|
}
|
|
44097
44097
|
}, ee = (re = F.current) == null ? void 0 : re.getScrollElement();
|
|
44098
44098
|
return ee == null || ee.addEventListener("scroll", te), () => {
|
|
@@ -44101,7 +44101,7 @@ function gpe(e) {
|
|
|
44101
44101
|
}, [i]);
|
|
44102
44102
|
function pe(z) {
|
|
44103
44103
|
o(!0);
|
|
44104
|
-
const te = [...n], ee = [...z], re = ee.filter((Ue) => Ue.parent === 0),
|
|
44104
|
+
const te = [...n], ee = [...z], re = ee.filter((Ue) => Ue.parent === 0), fe = ee.filter((Ue) => Ue.parent !== 0), Se = re.find((Ue) => {
|
|
44105
44105
|
var ut;
|
|
44106
44106
|
return ((ut = Ue.data) == null ? void 0 : ut.name) === "Home";
|
|
44107
44107
|
}), Ee = re.filter(
|
|
@@ -44109,7 +44109,7 @@ function gpe(e) {
|
|
|
44109
44109
|
var ut;
|
|
44110
44110
|
return ((ut = Ue.data) == null ? void 0 : ut.name) !== "Home";
|
|
44111
44111
|
}
|
|
44112
|
-
), Te = [...Se ? [Se, ...Ee] : Ee, ...
|
|
44112
|
+
), Te = [...Se ? [Se, ...Ee] : Ee, ...fe];
|
|
44113
44113
|
r(Te);
|
|
44114
44114
|
const De = Te.map((Ue, ut) => ({
|
|
44115
44115
|
menuItemId: Ue.id,
|
|
@@ -44124,8 +44124,8 @@ function gpe(e) {
|
|
|
44124
44124
|
o(!1);
|
|
44125
44125
|
});
|
|
44126
44126
|
}
|
|
44127
|
-
const
|
|
44128
|
-
console.log("🚀 ~ GlobalMenuContent ~ initOpenIds:",
|
|
44127
|
+
const ce = M.useMemo(() => Op === "false" ? w : [], []);
|
|
44128
|
+
console.log("🚀 ~ GlobalMenuContent ~ initOpenIds:", ce), console.log("🚀 ~ GlobalMenuContent ~ openingMenuIds:", w), console.log("matchPath", S);
|
|
44129
44129
|
const q = document.getElementById("global-menu-container");
|
|
44130
44130
|
return /* @__PURE__ */ I.jsxs("div", { className: L("side-bar"), children: [
|
|
44131
44131
|
/* @__PURE__ */ I.jsx("div", { className: L("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ I.jsx(
|
|
@@ -44175,7 +44175,7 @@ function gpe(e) {
|
|
|
44175
44175
|
children: n.filter((Oe) => Oe.parent === Ee.id).map((Oe) => ee(Oe.data))
|
|
44176
44176
|
};
|
|
44177
44177
|
}
|
|
44178
|
-
const re = ee(z.data),
|
|
44178
|
+
const re = ee(z.data), fe = (Ee) => S.some((Oe) => Oe.id === Ee);
|
|
44179
44179
|
function Se(Ee, Oe) {
|
|
44180
44180
|
r(
|
|
44181
44181
|
(Te) => Te.map(
|
|
@@ -44194,7 +44194,7 @@ function gpe(e) {
|
|
|
44194
44194
|
{
|
|
44195
44195
|
onClickItem: e.onClickItem,
|
|
44196
44196
|
isInternalApp: e.isInternalApp,
|
|
44197
|
-
isActive:
|
|
44197
|
+
isActive: fe,
|
|
44198
44198
|
isCollapsed: f,
|
|
44199
44199
|
replacePath: e.replacePath,
|
|
44200
44200
|
ssr: e.ssr,
|
|
@@ -44247,7 +44247,7 @@ function gpe(e) {
|
|
|
44247
44247
|
onChangeOpen: (z) => {
|
|
44248
44248
|
localStorage.getItem("isCollapsed") === "false" && (console.log("onChangeOpen:", z), E(z));
|
|
44249
44249
|
},
|
|
44250
|
-
initialOpen:
|
|
44250
|
+
initialOpen: ce
|
|
44251
44251
|
}
|
|
44252
44252
|
) })
|
|
44253
44253
|
}
|