@ukpc-lib/react 0.2.34 → 0.2.35
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/GlobalMenu/components/Tooltip.d.ts +1 -1
- package/dist/components/index.cjs +19 -19
- package/dist/components/index.js +117 -114
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.cjs +1 -1
- package/web-components-bundle/global-topbar/index.js +2 -2
- package/web-components-bundle/has-permission/index.cjs +1 -1
- package/web-components-bundle/has-permission/index.js +2 -2
- package/web-components-bundle/{index-fc7ef96b.cjs → index-01dc8163.cjs} +1 -1
- package/web-components-bundle/{index-c8cf7c0f.js → index-30758085.js} +44 -41
- package/web-components-bundle/{index-2111aa4b.cjs → index-3c1963a0.cjs} +82 -82
- package/web-components-bundle/{index-340d7782.js → index-b9d26092.js} +5747 -5744
package/dist/components/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import { C as ln, p as Zn, a as Hc, b as Uc, L as lo, u as Yc, i as Gc, g as qc,
|
|
|
2
2
|
import { z as i5, A as o5 } from "../index.module-68397449.js";
|
|
3
3
|
import { jsxs as P, Fragment as jt, jsx as g } from "react/jsx-runtime";
|
|
4
4
|
import * as N from "react";
|
|
5
|
-
import xi, { useContext as ie, useState as Y, useEffect as
|
|
5
|
+
import xi, { useContext as ie, useState as Y, useEffect as be, useRef as ze, createContext as Bt, useLayoutEffect as wi, useInsertionEffect as lu, useCallback as en, useMemo as hr, forwardRef as ga, createElement as tn, useId as cu, PureComponent as uu } from "react";
|
|
6
6
|
import { c as ya } from "../Colors-4ad88021.js";
|
|
7
7
|
import oe from "moment";
|
|
8
8
|
import cn from "axios";
|
|
@@ -374,7 +374,7 @@ function Au({
|
|
|
374
374
|
);
|
|
375
375
|
}
|
|
376
376
|
};
|
|
377
|
-
return
|
|
377
|
+
return be(() => {
|
|
378
378
|
l();
|
|
379
379
|
}, [r]), /* @__PURE__ */ P("div", { children: [
|
|
380
380
|
/* @__PURE__ */ P("div", { style: { position: "relative" }, children: [
|
|
@@ -671,7 +671,7 @@ function Lu({
|
|
|
671
671
|
element: /* @__PURE__ */ g(Iu, {})
|
|
672
672
|
}
|
|
673
673
|
], { language: s, setLanguage: o } = Yc();
|
|
674
|
-
return
|
|
674
|
+
return be(() => {
|
|
675
675
|
const l = (c) => {
|
|
676
676
|
r.current && !r.current.contains(c.target) && n(!1);
|
|
677
677
|
};
|
|
@@ -768,7 +768,7 @@ function $u({
|
|
|
768
768
|
}, p = {
|
|
769
769
|
backgroundColor: u ? r : "transparent"
|
|
770
770
|
};
|
|
771
|
-
return
|
|
771
|
+
return be(() => {
|
|
772
772
|
const y = (f) => {
|
|
773
773
|
o.current && !o.current.contains(f.target) && s(!1), a.current && !a.current.contains(f.target) && s(!1);
|
|
774
774
|
};
|
|
@@ -1279,15 +1279,15 @@ var vd = /* @__PURE__ */ Object.freeze({
|
|
|
1279
1279
|
autoHide: !0
|
|
1280
1280
|
}, e.getOptions = bd, e.helpers = vd, e;
|
|
1281
1281
|
}()
|
|
1282
|
-
),
|
|
1283
|
-
return
|
|
1282
|
+
), ye = function() {
|
|
1283
|
+
return ye = Object.assign || function(t) {
|
|
1284
1284
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
1285
1285
|
n = arguments[r];
|
|
1286
1286
|
for (var s in n)
|
|
1287
1287
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
1288
1288
|
}
|
|
1289
1289
|
return t;
|
|
1290
|
-
},
|
|
1290
|
+
}, ye.apply(this, arguments);
|
|
1291
1291
|
};
|
|
1292
1292
|
function xd(e, t) {
|
|
1293
1293
|
var n = {};
|
|
@@ -1303,10 +1303,10 @@ var Ma = N.forwardRef(function(e, t) {
|
|
|
1303
1303
|
Object.keys(s).forEach(function(p) {
|
|
1304
1304
|
Object.prototype.hasOwnProperty.call(Nn.defaultOptions, p) ? c[p] = s[p] : u[p] = s[p];
|
|
1305
1305
|
});
|
|
1306
|
-
var d =
|
|
1306
|
+
var d = ye(ye({}, Nn.defaultOptions.classNames), c.classNames), h = ye(ye({}, i), { className: "".concat(d.contentWrapper).concat(i.className ? " ".concat(i.className) : ""), tabIndex: 0, role: "region", "aria-label": c.ariaLabel || Nn.defaultOptions.ariaLabel });
|
|
1307
1307
|
return N.useEffect(function() {
|
|
1308
1308
|
var p;
|
|
1309
|
-
return a.current = h.ref ? h.ref.current : a.current, o.current && (p = new Nn(o.current,
|
|
1309
|
+
return a.current = h.ref ? h.ref.current : a.current, o.current && (p = new Nn(o.current, ye(ye(ye({}, c), a.current && {
|
|
1310
1310
|
scrollableNode: a.current
|
|
1311
1311
|
}), l.current && {
|
|
1312
1312
|
contentNode: l.current
|
|
@@ -1315,7 +1315,7 @@ var Ma = N.forwardRef(function(e, t) {
|
|
|
1315
1315
|
};
|
|
1316
1316
|
}, []), N.createElement(
|
|
1317
1317
|
"div",
|
|
1318
|
-
|
|
1318
|
+
ye({ "data-simplebar": "init", ref: o }, u),
|
|
1319
1319
|
N.createElement(
|
|
1320
1320
|
"div",
|
|
1321
1321
|
{ className: d.wrapper },
|
|
@@ -1329,7 +1329,7 @@ var Ma = N.forwardRef(function(e, t) {
|
|
|
1329
1329
|
{ className: d.mask },
|
|
1330
1330
|
N.createElement("div", { className: d.offset }, typeof n == "function" ? n({
|
|
1331
1331
|
scrollableNodeRef: a,
|
|
1332
|
-
scrollableNodeProps:
|
|
1332
|
+
scrollableNodeProps: ye(ye({}, h), { ref: a }),
|
|
1333
1333
|
contentNodeRef: l,
|
|
1334
1334
|
contentNodeProps: {
|
|
1335
1335
|
className: d.contentEl,
|
|
@@ -1337,7 +1337,7 @@ var Ma = N.forwardRef(function(e, t) {
|
|
|
1337
1337
|
}
|
|
1338
1338
|
}) : N.createElement(
|
|
1339
1339
|
"div",
|
|
1340
|
-
|
|
1340
|
+
ye({}, h),
|
|
1341
1341
|
N.createElement("div", { className: d.contentEl }, n)
|
|
1342
1342
|
))
|
|
1343
1343
|
),
|
|
@@ -1386,7 +1386,7 @@ const wd = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:w
|
|
|
1386
1386
|
transformPagePoint: (e) => e,
|
|
1387
1387
|
isStatic: !1,
|
|
1388
1388
|
reducedMotion: "never"
|
|
1389
|
-
}), pr = Bt({}), Si = Bt(null), mr = typeof document < "u", Sd = mr ? wi :
|
|
1389
|
+
}), pr = Bt({}), Si = Bt(null), mr = typeof document < "u", Sd = mr ? wi : be, Da = Bt({ strict: !1 }), Ei = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), Ed = "framerAppearId", Ra = "data-" + Ei(Ed);
|
|
1390
1390
|
function Cd(e, t, n, r) {
|
|
1391
1391
|
const { visualElement: i } = ie(pr), s = ie(Da), o = ie(Si), a = ie(Na).reducedMotion, l = ze();
|
|
1392
1392
|
r = r || s.renderer, !l.current && r && (l.current = r(e, {
|
|
@@ -1404,7 +1404,7 @@ function Cd(e, t, n, r) {
|
|
|
1404
1404
|
const u = ze(!!(n[Ra] && !window.HandoffComplete));
|
|
1405
1405
|
return Sd(() => {
|
|
1406
1406
|
c && (c.render(), u.current && c.animationState && c.animationState.animateChanges());
|
|
1407
|
-
}),
|
|
1407
|
+
}), be(() => {
|
|
1408
1408
|
c && (c.updateFeatures(), !u.current && c.animationState && c.animationState.animateChanges(), u.current && (u.current = !1, window.HandoffComplete = !0));
|
|
1409
1409
|
}), c;
|
|
1410
1410
|
}
|
|
@@ -1617,7 +1617,7 @@ const vn = [
|
|
|
1617
1617
|
function $a(e, { layout: t, layoutId: n }) {
|
|
1618
1618
|
return yt.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!er[e] || e === "opacity");
|
|
1619
1619
|
}
|
|
1620
|
-
const
|
|
1620
|
+
const pe = (e) => !!(e && e.getVelocity), Vd = {
|
|
1621
1621
|
x: "translateX",
|
|
1622
1622
|
y: "translateY",
|
|
1623
1623
|
z: "translateZ",
|
|
@@ -1755,7 +1755,7 @@ const Ai = () => ({
|
|
|
1755
1755
|
});
|
|
1756
1756
|
function Wa(e, t, n) {
|
|
1757
1757
|
for (const r in t)
|
|
1758
|
-
!
|
|
1758
|
+
!pe(t[r]) && !$a(r, n) && (e[r] = t[r]);
|
|
1759
1759
|
}
|
|
1760
1760
|
function Wd({ transformTemplate: e }, t, n) {
|
|
1761
1761
|
return hr(() => {
|
|
@@ -1887,7 +1887,7 @@ function e0(e = !1) {
|
|
|
1887
1887
|
...qd(r, typeof n == "string", e),
|
|
1888
1888
|
...l,
|
|
1889
1889
|
ref: i
|
|
1890
|
-
}, { children: d } = r, h = hr(() =>
|
|
1890
|
+
}, { children: d } = r, h = hr(() => pe(d) ? d.get() : d, [d]);
|
|
1891
1891
|
return tn(n, {
|
|
1892
1892
|
...u,
|
|
1893
1893
|
children: h
|
|
@@ -1932,13 +1932,13 @@ function qa(e, t, n, r) {
|
|
|
1932
1932
|
function Mi(e, t) {
|
|
1933
1933
|
const { style: n } = e, r = {};
|
|
1934
1934
|
for (const i in n)
|
|
1935
|
-
(
|
|
1935
|
+
(pe(n[i]) || t.style && pe(t.style[i]) || $a(i, e)) && (r[i] = n[i]);
|
|
1936
1936
|
return r;
|
|
1937
1937
|
}
|
|
1938
1938
|
function Ka(e, t) {
|
|
1939
1939
|
const n = Mi(e, t);
|
|
1940
1940
|
for (const r in e)
|
|
1941
|
-
if (
|
|
1941
|
+
if (pe(e[r]) || pe(t[r])) {
|
|
1942
1942
|
const i = vn.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
|
|
1943
1943
|
n[i] = e[r];
|
|
1944
1944
|
}
|
|
@@ -1953,7 +1953,7 @@ function t0(e) {
|
|
|
1953
1953
|
}
|
|
1954
1954
|
const nr = (e) => Array.isArray(e), n0 = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), r0 = (e) => nr(e) ? e[e.length - 1] || 0 : e;
|
|
1955
1955
|
function jn(e) {
|
|
1956
|
-
const t =
|
|
1956
|
+
const t = pe(e) ? e.get() : e;
|
|
1957
1957
|
return n0(t) ? t.toValue() : t;
|
|
1958
1958
|
}
|
|
1959
1959
|
function i0({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, s) {
|
|
@@ -2877,14 +2877,14 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
|
|
|
2877
2877
|
C = "idle", U(), f(), b(), A = D = null;
|
|
2878
2878
|
}, ue = () => {
|
|
2879
2879
|
C = "finished", u && u(), U(), f();
|
|
2880
|
-
},
|
|
2880
|
+
}, ge = () => {
|
|
2881
2881
|
if (y)
|
|
2882
2882
|
return;
|
|
2883
2883
|
w || (w = n(fe));
|
|
2884
2884
|
const B = w.now();
|
|
2885
2885
|
l && l(), _ !== null ? A = B - _ : (!A || C === "finished") && (A = B), C === "finished" && b(), D = A, _ = null, C = "running", w.start();
|
|
2886
2886
|
};
|
|
2887
|
-
e &&
|
|
2887
|
+
e && ge();
|
|
2888
2888
|
const Re = {
|
|
2889
2889
|
then(B, ke) {
|
|
2890
2890
|
return m.then(B, ke);
|
|
@@ -2908,7 +2908,7 @@ function or({ autoplay: e = !0, delay: t = 0, driver: n = df, keyframes: r, type
|
|
|
2908
2908
|
get state() {
|
|
2909
2909
|
return C;
|
|
2910
2910
|
},
|
|
2911
|
-
play:
|
|
2911
|
+
play: ge,
|
|
2912
2912
|
pause: () => {
|
|
2913
2913
|
C = "paused", _ = H;
|
|
2914
2914
|
},
|
|
@@ -3176,7 +3176,7 @@ const Nf = {
|
|
|
3176
3176
|
return or(p);
|
|
3177
3177
|
};
|
|
3178
3178
|
function sr(e) {
|
|
3179
|
-
return !!(
|
|
3179
|
+
return !!(pe(e) && e.add);
|
|
3180
3180
|
}
|
|
3181
3181
|
const Ol = (e) => /^\-?\d*\.?\d+$/.test(e);
|
|
3182
3182
|
function zi(e, t) {
|
|
@@ -3583,8 +3583,8 @@ function Zf(e) {
|
|
|
3583
3583
|
const ce = V[U], ue = K[U];
|
|
3584
3584
|
if (y.hasOwnProperty(U))
|
|
3585
3585
|
continue;
|
|
3586
|
-
let
|
|
3587
|
-
nr(ce) && nr(ue) ?
|
|
3586
|
+
let ge = !1;
|
|
3587
|
+
nr(ce) && nr(ue) ? ge = !nl(ce, ue) : ge = ce !== ue, ge ? ce !== void 0 ? fe(U) : p.add(U) : ce !== void 0 && p.has(U) ? fe(U) : x.protectedKeys[U] = !0;
|
|
3588
3588
|
}
|
|
3589
3589
|
x.prevProp = S, x.prevResolvedValues = V, x.isActive && (y = { ...y, ...V }), r && e.blockInitialAnimation && (A = !1), A && (!C || D) && h.push(...O.map((U) => ({
|
|
3590
3590
|
animation: U,
|
|
@@ -4234,7 +4234,7 @@ function _h() {
|
|
|
4234
4234
|
if (e === null)
|
|
4235
4235
|
return [!0, null];
|
|
4236
4236
|
const { isPresent: t, onExitComplete: n, register: r } = e, i = cu();
|
|
4237
|
-
return
|
|
4237
|
+
return be(() => r(i), []), !t && n ? [!1, () => n && n(i)] : [!0];
|
|
4238
4238
|
}
|
|
4239
4239
|
const Bn = {
|
|
4240
4240
|
/**
|
|
@@ -4487,7 +4487,7 @@ function Bh(e) {
|
|
|
4487
4487
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
4488
4488
|
}
|
|
4489
4489
|
function Wh(e, t, n) {
|
|
4490
|
-
const r =
|
|
4490
|
+
const r = pe(e) ? e : Lt(e);
|
|
4491
4491
|
return r.start($i("", r, t, n)), r.animation;
|
|
4492
4492
|
}
|
|
4493
4493
|
const fs = ["", "X", "Y", "Z"], Hh = { visibility: "hidden" }, hs = 1e3;
|
|
@@ -5222,9 +5222,9 @@ function E1(e, t, n) {
|
|
|
5222
5222
|
const { willChange: r } = t;
|
|
5223
5223
|
for (const i in t) {
|
|
5224
5224
|
const s = t[i], o = n[i];
|
|
5225
|
-
if (
|
|
5225
|
+
if (pe(s))
|
|
5226
5226
|
e.addValue(i, s), sr(r) && r.add(i), process.env.NODE_ENV === "development" && Bi(s.version === "10.18.0", `Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);
|
|
5227
|
-
else if (
|
|
5227
|
+
else if (pe(o))
|
|
5228
5228
|
e.addValue(i, Lt(s, { owner: e })), sr(r) && r.remove(i);
|
|
5229
5229
|
else if (o !== s)
|
|
5230
5230
|
if (e.hasValue(i)) {
|
|
@@ -5258,7 +5258,7 @@ class T1 {
|
|
|
5258
5258
|
const { willChange: c, ...u } = this.scrapeMotionValuesFromProps(n, {});
|
|
5259
5259
|
for (const d in u) {
|
|
5260
5260
|
const h = u[d];
|
|
5261
|
-
a[d] !== void 0 &&
|
|
5261
|
+
a[d] !== void 0 && pe(h) && (h.set(a[d], !1), sr(c) && c.add(d));
|
|
5262
5262
|
}
|
|
5263
5263
|
}
|
|
5264
5264
|
/**
|
|
@@ -5469,7 +5469,7 @@ class T1 {
|
|
|
5469
5469
|
if (r && i !== void 0)
|
|
5470
5470
|
return i;
|
|
5471
5471
|
const s = this.getBaseTargetFromProps(this.props, t);
|
|
5472
|
-
return s !== void 0 && !
|
|
5472
|
+
return s !== void 0 && !pe(s) ? s : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
|
|
5473
5473
|
}
|
|
5474
5474
|
on(t, n) {
|
|
5475
5475
|
return this.events[t] || (this.events[t] = new ji()), this.events[t].add(n);
|
|
@@ -5530,7 +5530,7 @@ class A1 extends Jl {
|
|
|
5530
5530
|
handleChildMotionValue() {
|
|
5531
5531
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
5532
5532
|
const { children: t } = this.props;
|
|
5533
|
-
|
|
5533
|
+
pe(t) && (this.childSubscription = t.on("change", (n) => {
|
|
5534
5534
|
this.current && (this.current.textContent = `${n}`);
|
|
5535
5535
|
}));
|
|
5536
5536
|
}
|
|
@@ -5626,46 +5626,49 @@ function V1(e) {
|
|
|
5626
5626
|
);
|
|
5627
5627
|
}
|
|
5628
5628
|
function I1(e) {
|
|
5629
|
-
const { children: t, title: n,
|
|
5630
|
-
return
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
className: "tooltip-container",
|
|
5644
|
-
onMouseEnter: () => s(!0),
|
|
5645
|
-
onMouseLeave: () => s(!1),
|
|
5646
|
-
children: [
|
|
5647
|
-
/* @__PURE__ */ g("div", { ref: l, children: t }),
|
|
5648
|
-
i && r && /* @__PURE__ */ g(
|
|
5649
|
-
"div",
|
|
5650
|
-
{
|
|
5651
|
-
className: "tooltip-content",
|
|
5652
|
-
style: {
|
|
5653
|
-
position: "fixed",
|
|
5654
|
-
background: "#919196",
|
|
5655
|
-
borderRadius: "4px",
|
|
5656
|
-
color: "#fff",
|
|
5657
|
-
padding: "4px 8px",
|
|
5658
|
-
top: o.top,
|
|
5659
|
-
left: o.left,
|
|
5660
|
-
zIndex: 1400,
|
|
5661
|
-
fontSize: 10,
|
|
5662
|
-
transition: "all 0.2s ease-in-out"
|
|
5663
|
-
},
|
|
5664
|
-
children: n
|
|
5629
|
+
const { children: t, title: n, hasTooltip: r } = e, i = ze(), [s, o] = Y(!1), [a, l] = Y({ top: 0, left: 0 });
|
|
5630
|
+
return (
|
|
5631
|
+
// Tooltip wrapper
|
|
5632
|
+
/* @__PURE__ */ P(
|
|
5633
|
+
"div",
|
|
5634
|
+
{
|
|
5635
|
+
className: "tooltip-item__wrapper",
|
|
5636
|
+
onMouseOver: () => {
|
|
5637
|
+
if (o(!0), i.current) {
|
|
5638
|
+
const c = i.current.getBoundingClientRect();
|
|
5639
|
+
l({
|
|
5640
|
+
top: c.top - 20,
|
|
5641
|
+
left: c.left
|
|
5642
|
+
});
|
|
5665
5643
|
}
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5644
|
+
},
|
|
5645
|
+
onMouseLeave: () => o(!1),
|
|
5646
|
+
ref: i,
|
|
5647
|
+
children: [
|
|
5648
|
+
/* @__PURE__ */ g("div", { children: t }),
|
|
5649
|
+
s && r && /* @__PURE__ */ g(
|
|
5650
|
+
"div",
|
|
5651
|
+
{
|
|
5652
|
+
className: "tooltip-item__content",
|
|
5653
|
+
style: {
|
|
5654
|
+
position: "fixed",
|
|
5655
|
+
background: "#919196",
|
|
5656
|
+
borderRadius: "4px",
|
|
5657
|
+
color: "#fff",
|
|
5658
|
+
padding: "4px 8px",
|
|
5659
|
+
top: a.top,
|
|
5660
|
+
left: a.left,
|
|
5661
|
+
zIndex: 1400,
|
|
5662
|
+
fontSize: 10,
|
|
5663
|
+
transition: "all 0.2s ease-in-out",
|
|
5664
|
+
animation: "fadeIn 0.2s ease-in-out"
|
|
5665
|
+
},
|
|
5666
|
+
children: n
|
|
5667
|
+
}
|
|
5668
|
+
)
|
|
5669
|
+
]
|
|
5670
|
+
}
|
|
5671
|
+
)
|
|
5669
5672
|
);
|
|
5670
5673
|
}
|
|
5671
5674
|
function Ql({ item: e, level: t = 0, ...n }) {
|
|
@@ -5682,7 +5685,7 @@ function Ql({ item: e, level: t = 0, ...n }) {
|
|
|
5682
5685
|
/* @__PURE__ */ g(
|
|
5683
5686
|
I1,
|
|
5684
5687
|
{
|
|
5685
|
-
|
|
5688
|
+
hasTooltip: i && t === 1,
|
|
5686
5689
|
children: /* @__PURE__ */ P(
|
|
5687
5690
|
S,
|
|
5688
5691
|
{
|
|
@@ -5838,13 +5841,13 @@ function F1(e) {
|
|
|
5838
5841
|
}
|
|
5839
5842
|
);
|
|
5840
5843
|
}
|
|
5841
|
-
const j1 = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1;transition:all .15s ease-in-out}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}
|
|
5844
|
+
const j1 = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:40px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a!important;color:#009d4f!important}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;color:#292929;opacity:1;transition:all .15s ease-in-out}.menu-item__label.level-1.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:180px;max-width:180px;padding:4px;z-index:1200}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-1{height:48px}.menu-item__dropdown.collapsed.level-1{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}
|
|
5842
5845
|
`;
|
|
5843
5846
|
function B1(e) {
|
|
5844
5847
|
const { baseUrl: t, menuPath: n } = e, r = fu(), [i, s] = Y([]), [o, a] = Y(
|
|
5845
5848
|
localStorage.getItem("isCollapsed") === "true"
|
|
5846
5849
|
), [l, c] = Y({}), u = Wi(i), [d, h] = Y(window.location.href);
|
|
5847
|
-
|
|
5850
|
+
be(() => {
|
|
5848
5851
|
h(window.location.href);
|
|
5849
5852
|
}, [r]);
|
|
5850
5853
|
const p = ec(u, d).filter(
|
|
@@ -6663,12 +6666,12 @@ function Q1() {
|
|
|
6663
6666
|
}
|
|
6664
6667
|
}
|
|
6665
6668
|
}
|
|
6666
|
-
var E = o, C = s, _ = e, A = l, D = n, O = h, V = d, K = t, H = i, fe = r, U = c, ce = u, ue = !1,
|
|
6669
|
+
var E = o, C = s, _ = e, A = l, D = n, O = h, V = d, K = t, H = i, fe = r, U = c, ce = u, ue = !1, ge = !1;
|
|
6667
6670
|
function Re(k) {
|
|
6668
6671
|
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
6669
6672
|
}
|
|
6670
6673
|
function B(k) {
|
|
6671
|
-
return
|
|
6674
|
+
return ge || (ge = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
|
|
6672
6675
|
}
|
|
6673
6676
|
function ke(k) {
|
|
6674
6677
|
return v(k) === o;
|
|
@@ -7175,12 +7178,12 @@ const Kp = ee({
|
|
|
7175
7178
|
transform: Vt
|
|
7176
7179
|
});
|
|
7177
7180
|
Cr(Kp, Xp, Zp);
|
|
7178
|
-
function
|
|
7181
|
+
function ve(e) {
|
|
7179
7182
|
return e <= 1 && e !== 0 ? `${e * 100}%` : e;
|
|
7180
7183
|
}
|
|
7181
7184
|
const Jp = ee({
|
|
7182
7185
|
prop: "width",
|
|
7183
|
-
transform:
|
|
7186
|
+
transform: ve
|
|
7184
7187
|
}), Yi = (e) => {
|
|
7185
7188
|
if (e.maxWidth !== void 0 && e.maxWidth !== null) {
|
|
7186
7189
|
const t = (n) => {
|
|
@@ -7191,7 +7194,7 @@ const Jp = ee({
|
|
|
7191
7194
|
} : {
|
|
7192
7195
|
maxWidth: s
|
|
7193
7196
|
} : {
|
|
7194
|
-
maxWidth:
|
|
7197
|
+
maxWidth: ve(n)
|
|
7195
7198
|
};
|
|
7196
7199
|
};
|
|
7197
7200
|
return qe(e, e.maxWidth, t);
|
|
@@ -7201,26 +7204,26 @@ const Jp = ee({
|
|
|
7201
7204
|
Yi.filterProps = ["maxWidth"];
|
|
7202
7205
|
const Qp = ee({
|
|
7203
7206
|
prop: "minWidth",
|
|
7204
|
-
transform:
|
|
7207
|
+
transform: ve
|
|
7205
7208
|
}), em = ee({
|
|
7206
7209
|
prop: "height",
|
|
7207
|
-
transform:
|
|
7210
|
+
transform: ve
|
|
7208
7211
|
}), tm = ee({
|
|
7209
7212
|
prop: "maxHeight",
|
|
7210
|
-
transform:
|
|
7213
|
+
transform: ve
|
|
7211
7214
|
}), nm = ee({
|
|
7212
7215
|
prop: "minHeight",
|
|
7213
|
-
transform:
|
|
7216
|
+
transform: ve
|
|
7214
7217
|
});
|
|
7215
7218
|
ee({
|
|
7216
7219
|
prop: "size",
|
|
7217
7220
|
cssProperty: "width",
|
|
7218
|
-
transform:
|
|
7221
|
+
transform: ve
|
|
7219
7222
|
});
|
|
7220
7223
|
ee({
|
|
7221
7224
|
prop: "size",
|
|
7222
7225
|
cssProperty: "height",
|
|
7223
|
-
transform:
|
|
7226
|
+
transform: ve
|
|
7224
7227
|
});
|
|
7225
7228
|
const rm = ee({
|
|
7226
7229
|
prop: "boxSizing"
|
|
@@ -7471,22 +7474,22 @@ const im = {
|
|
|
7471
7474
|
},
|
|
7472
7475
|
// sizing
|
|
7473
7476
|
width: {
|
|
7474
|
-
transform:
|
|
7477
|
+
transform: ve
|
|
7475
7478
|
},
|
|
7476
7479
|
maxWidth: {
|
|
7477
7480
|
style: Yi
|
|
7478
7481
|
},
|
|
7479
7482
|
minWidth: {
|
|
7480
|
-
transform:
|
|
7483
|
+
transform: ve
|
|
7481
7484
|
},
|
|
7482
7485
|
height: {
|
|
7483
|
-
transform:
|
|
7486
|
+
transform: ve
|
|
7484
7487
|
},
|
|
7485
7488
|
maxHeight: {
|
|
7486
|
-
transform:
|
|
7489
|
+
transform: ve
|
|
7487
7490
|
},
|
|
7488
7491
|
minHeight: {
|
|
7489
|
-
transform:
|
|
7492
|
+
transform: ve
|
|
7490
7493
|
},
|
|
7491
7494
|
boxSizing: {},
|
|
7492
7495
|
// typography
|
|
@@ -7724,7 +7727,7 @@ function $n(e, t) {
|
|
|
7724
7727
|
function xm(e, t) {
|
|
7725
7728
|
return e.map(t).join("");
|
|
7726
7729
|
}
|
|
7727
|
-
var Or = 1, zt = 1, gc = 0,
|
|
7730
|
+
var Or = 1, zt = 1, gc = 0, me = 0, re = 0, Wt = "";
|
|
7728
7731
|
function Mr(e, t, n, r, i, s, o) {
|
|
7729
7732
|
return { value: e, root: t, parent: n, type: r, props: i, children: s, line: Or, column: zt, length: o, return: "" };
|
|
7730
7733
|
}
|
|
@@ -7735,16 +7738,16 @@ function wm() {
|
|
|
7735
7738
|
return re;
|
|
7736
7739
|
}
|
|
7737
7740
|
function Sm() {
|
|
7738
|
-
return re =
|
|
7741
|
+
return re = me > 0 ? se(Wt, --me) : 0, zt--, re === 10 && (zt = 1, Or--), re;
|
|
7739
7742
|
}
|
|
7740
7743
|
function xe() {
|
|
7741
|
-
return re =
|
|
7744
|
+
return re = me < gc ? se(Wt, me++) : 0, zt++, re === 10 && (zt = 1, Or++), re;
|
|
7742
7745
|
}
|
|
7743
7746
|
function $e() {
|
|
7744
|
-
return se(Wt,
|
|
7747
|
+
return se(Wt, me);
|
|
7745
7748
|
}
|
|
7746
7749
|
function Wn() {
|
|
7747
|
-
return
|
|
7750
|
+
return me;
|
|
7748
7751
|
}
|
|
7749
7752
|
function Tn(e, t) {
|
|
7750
7753
|
return pn(Wt, e, t);
|
|
@@ -7782,13 +7785,13 @@ function mn(e) {
|
|
|
7782
7785
|
return 0;
|
|
7783
7786
|
}
|
|
7784
7787
|
function yc(e) {
|
|
7785
|
-
return Or = zt = 1, gc = Ve(Wt = e),
|
|
7788
|
+
return Or = zt = 1, gc = Ve(Wt = e), me = 0, [];
|
|
7786
7789
|
}
|
|
7787
7790
|
function vc(e) {
|
|
7788
7791
|
return Wt = "", e;
|
|
7789
7792
|
}
|
|
7790
7793
|
function Hn(e) {
|
|
7791
|
-
return mc(Tn(
|
|
7794
|
+
return mc(Tn(me - 1, pi(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
|
|
7792
7795
|
}
|
|
7793
7796
|
function Em(e) {
|
|
7794
7797
|
for (; (re = $e()) && re < 33; )
|
|
@@ -7804,7 +7807,7 @@ function pi(e) {
|
|
|
7804
7807
|
for (; xe(); )
|
|
7805
7808
|
switch (re) {
|
|
7806
7809
|
case e:
|
|
7807
|
-
return
|
|
7810
|
+
return me;
|
|
7808
7811
|
case 34:
|
|
7809
7812
|
case 39:
|
|
7810
7813
|
e !== 34 && e !== 39 && pi(re);
|
|
@@ -7816,18 +7819,18 @@ function pi(e) {
|
|
|
7816
7819
|
xe();
|
|
7817
7820
|
break;
|
|
7818
7821
|
}
|
|
7819
|
-
return
|
|
7822
|
+
return me;
|
|
7820
7823
|
}
|
|
7821
7824
|
function _m(e, t) {
|
|
7822
7825
|
for (; xe() && e + re !== 47 + 10; )
|
|
7823
7826
|
if (e + re === 42 + 42 && $e() === 47)
|
|
7824
7827
|
break;
|
|
7825
|
-
return "/*" + Tn(t,
|
|
7828
|
+
return "/*" + Tn(t, me - 1) + "*" + kr(e === 47 ? e : xe());
|
|
7826
7829
|
}
|
|
7827
7830
|
function Tm(e) {
|
|
7828
7831
|
for (; !mn($e()); )
|
|
7829
7832
|
xe();
|
|
7830
|
-
return Tn(e,
|
|
7833
|
+
return Tn(e, me);
|
|
7831
7834
|
}
|
|
7832
7835
|
function Pm(e) {
|
|
7833
7836
|
return vc(Un("", null, null, null, [""], e = yc(e), 0, [0], e));
|
|
@@ -7971,13 +7974,13 @@ function Mm(e) {
|
|
|
7971
7974
|
var Nm = function(t, n, r) {
|
|
7972
7975
|
for (var i = 0, s = 0; i = s, s = $e(), i === 38 && s === 12 && (n[r] = 1), !mn(s); )
|
|
7973
7976
|
xe();
|
|
7974
|
-
return Tn(t,
|
|
7977
|
+
return Tn(t, me);
|
|
7975
7978
|
}, Dm = function(t, n) {
|
|
7976
7979
|
var r = -1, i = 44;
|
|
7977
7980
|
do
|
|
7978
7981
|
switch (mn(i)) {
|
|
7979
7982
|
case 0:
|
|
7980
|
-
i === 38 && $e() === 12 && (n[r] = 1), t[r] += Nm(
|
|
7983
|
+
i === 38 && $e() === 12 && (n[r] = 1), t[r] += Nm(me - 1, n, r);
|
|
7981
7984
|
break;
|
|
7982
7985
|
case 2:
|
|
7983
7986
|
t[r] += Hn(i);
|
|
@@ -8388,7 +8391,7 @@ function Um() {
|
|
|
8388
8391
|
}
|
|
8389
8392
|
}
|
|
8390
8393
|
var v = l, E = c, C = a, _ = o, A = t, D = u, O = r, V = y, K = p, H = n, fe = s, U = i, ce = d, ue = !1;
|
|
8391
|
-
function
|
|
8394
|
+
function ge(T) {
|
|
8392
8395
|
return ue || (ue = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Re(T) || S(T) === l;
|
|
8393
8396
|
}
|
|
8394
8397
|
function Re(T) {
|
|
@@ -8427,7 +8430,7 @@ function Um() {
|
|
|
8427
8430
|
function Oe(T) {
|
|
8428
8431
|
return S(T) === d;
|
|
8429
8432
|
}
|
|
8430
|
-
j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = C, j.ContextProvider = _, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = V, j.Memo = K, j.Portal = H, j.Profiler = fe, j.StrictMode = U, j.Suspense = ce, j.isAsyncMode =
|
|
8433
|
+
j.AsyncMode = v, j.ConcurrentMode = E, j.ContextConsumer = C, j.ContextProvider = _, j.Element = A, j.ForwardRef = D, j.Fragment = O, j.Lazy = V, j.Memo = K, j.Portal = H, j.Profiler = fe, j.StrictMode = U, j.Suspense = ce, j.isAsyncMode = ge, j.isConcurrentMode = Re, j.isContextConsumer = B, j.isContextProvider = ke, j.isElement = je, j.isForwardRef = Se, j.isFragment = Be, j.isLazy = We, j.isMemo = xt, j.isPortal = Yt, j.isProfiler = ct, j.isStrictMode = Ke, j.isSuspense = Oe, j.isValidElementType = x, j.typeOf = S;
|
|
8431
8434
|
}()), j;
|
|
8432
8435
|
}
|
|
8433
8436
|
process.env.NODE_ENV === "production" ? mi.exports = Hm() : mi.exports = Um();
|
|
@@ -10637,7 +10640,7 @@ function v3(e) {
|
|
|
10637
10640
|
}, p.componentWillUnmount = function() {
|
|
10638
10641
|
this._resetIsScrollingTimeoutId !== null && ua(this._resetIsScrollingTimeoutId);
|
|
10639
10642
|
}, p.render = function() {
|
|
10640
|
-
var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, C = f.itemCount, _ = f.itemData, A = f.itemKey, D = A === void 0 ? y3 : A, O = f.layout, V = f.outerElementType, K = f.outerTagName, H = f.style, fe = f.useIsScrolling, U = f.width, ce = this.state.isScrolling, ue = w === "horizontal" || O === "horizontal",
|
|
10643
|
+
var f = this.props, m = f.children, b = f.className, w = f.direction, x = f.height, S = f.innerRef, v = f.innerElementType, E = f.innerTagName, C = f.itemCount, _ = f.itemData, A = f.itemKey, D = A === void 0 ? y3 : A, O = f.layout, V = f.outerElementType, K = f.outerTagName, H = f.style, fe = f.useIsScrolling, U = f.width, ce = this.state.isScrolling, ue = w === "horizontal" || O === "horizontal", ge = ue ? this._onScrollHorizontal : this._onScrollVertical, Re = this._getRangeToRender(), B = Re[0], ke = Re[1], je = [];
|
|
10641
10644
|
if (C > 0)
|
|
10642
10645
|
for (var Se = B; Se <= ke; Se++)
|
|
10643
10646
|
je.push(tn(m, {
|
|
@@ -10650,7 +10653,7 @@ function v3(e) {
|
|
|
10650
10653
|
var Be = r(this.props, this._instanceProps);
|
|
10651
10654
|
return tn(V || K || "div", {
|
|
10652
10655
|
className: b,
|
|
10653
|
-
onScroll:
|
|
10656
|
+
onScroll: ge,
|
|
10654
10657
|
ref: this._outerRefSetter,
|
|
10655
10658
|
style: W({
|
|
10656
10659
|
position: "relative",
|
|
@@ -10867,11 +10870,11 @@ function X3(e) {
|
|
|
10867
10870
|
}, h = () => {
|
|
10868
10871
|
n(!1), o(""), u("");
|
|
10869
10872
|
};
|
|
10870
|
-
|
|
10873
|
+
be(() => {
|
|
10871
10874
|
i(e.value ? e.getOptionLabel(e.value) : "");
|
|
10872
|
-
}, [e.value]),
|
|
10875
|
+
}, [e.value]), be(() => {
|
|
10873
10876
|
t || i(e.value ? e.getOptionLabel(e.value) : "");
|
|
10874
|
-
}, [t]),
|
|
10877
|
+
}, [t]), be(() => {
|
|
10875
10878
|
l(e.searchLoading);
|
|
10876
10879
|
}, [e.paging.rows, e.searchLoading]);
|
|
10877
10880
|
const p = e.paging.rows, { hasNextPage: y } = e, f = y ? p.length + 1 : p.length, m = () => e.isNextPageLoading ? void 0 : e.loadNextPage(s), b = (S) => !y || S < p.length, w = (S) => {
|
|
@@ -11156,7 +11159,7 @@ function Z3(e) {
|
|
|
11156
11159
|
}, l = (d) => {
|
|
11157
11160
|
r((h) => ({ ...h, searchLoading: !0 })), i({ page: 1, search: { content: d } });
|
|
11158
11161
|
};
|
|
11159
|
-
|
|
11162
|
+
be(() => {
|
|
11160
11163
|
e.disabled || (r((d) => ({ ...d, initLoading: !0 })), i({ page: 1 }));
|
|
11161
11164
|
}, [...e.dependencyList || []]);
|
|
11162
11165
|
const c = () => {
|
|
@@ -11254,7 +11257,7 @@ const T3 = "Reset date";
|
|
|
11254
11257
|
function J3(e) {
|
|
11255
11258
|
var i, s;
|
|
11256
11259
|
const [t, n] = Y(e.value), r = !(t != null && t.startDate) || !(t != null && t.endDate) ? "" : oe(t == null ? void 0 : t.startDate).format("DD/MM/YYYY") + " ~ " + oe(t == null ? void 0 : t.endDate).format("DD/MM/YYYY");
|
|
11257
|
-
return
|
|
11260
|
+
return be(() => {
|
|
11258
11261
|
n(e.value);
|
|
11259
11262
|
}, [e.value]), /* @__PURE__ */ g(
|
|
11260
11263
|
iu,
|
|
@@ -11410,7 +11413,7 @@ const P3 = ["granted", "denied"], A3 = (e) => {
|
|
|
11410
11413
|
] })
|
|
11411
11414
|
] }) });
|
|
11412
11415
|
}
|
|
11413
|
-
return
|
|
11416
|
+
return be(() => {
|
|
11414
11417
|
t && Notification.permission === "granted" && t.userName && t.message && t.context && su(/* @__PURE__ */ g(i, {}));
|
|
11415
11418
|
}, [t]), au(e).then((s) => {
|
|
11416
11419
|
var o, a, l;
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});require("../react-to-web-component-5d347552.cjs");const e=require("../index-01dc8163.cjs");exports.GlobalMenu=e.GlobalMenu;
|