react-luminus-components 2.0.3-beta.r19-16 → 2.0.3-beta.r19-18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +36 -36
- package/dist/{FormDisabledProvider-DXNc2136.js → FormDisabledProvider-Bi6oyt5U.js} +1 -1
- package/dist/{FormDisabledProvider-vg-vA0WK.cjs → FormDisabledProvider-D5KzXgMJ.cjs} +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +14 -14
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/useAxios/useAxios.d.ts +5 -2
- package/dist/hooks/useGetDataBound/useGetDataBound.d.ts +1 -1
- package/dist/hooks/useIsFormDirty/useIsFormDirty.d.ts +7 -0
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +172 -164
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +42 -42
- package/dist/main.cjs.js +9 -9
- package/dist/main.es.js +3620 -3631
- package/dist/{nivo-bar-BZDK_ha3.js → nivo-bar-BQGSJTnK.js} +7218 -7225
- package/dist/nivo-bar-DcaMZ1K9.cjs +326 -0
- package/dist/style.css +1 -1
- package/dist/useIsFormDirty-BQU8CwxF.cjs +1 -0
- package/dist/useIsFormDirty-uSOXZ5g6.js +123 -0
- package/dist/{useLocalStorageState-DcSLbUf2.js → useLocalStorageState-Ccq9rFKj.js} +16 -17
- package/dist/useLocalStorageState-aCjv2MC6.cjs +1 -0
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +10 -10
- package/package.json +1 -1
- package/dist/nivo-bar-D02kyst9.cjs +0 -326
- package/dist/useEmployeePhotoPath-TFR1dZzz.cjs +0 -1
- package/dist/useEmployeePhotoPath-_slBRHnm.js +0 -111
- package/dist/useLocalStorageState-B0hJPCtQ.cjs +0 -1
package/dist/hooks.es.js
CHANGED
|
@@ -1,75 +1,82 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { useState as U, useRef as D, useSyncExternalStore as W, useContext as z, useEffect as P } from "react";
|
|
1
|
+
import { ao as G, c as V, aq as J, bd as Q } from "./nivo-bar-BQGSJTnK.js";
|
|
2
|
+
import { bR as ft, aR as gt, bT as pt, an as vt, bS as ht, b7 as St, ar as wt, bv as bt, am as yt, aG as It, aU as Ot } from "./nivo-bar-BQGSJTnK.js";
|
|
3
|
+
import { u as Ct, a as Et } from "./useLocalStorageState-Ccq9rFKj.js";
|
|
4
|
+
import { useRef as D, useState as _, useSyncExternalStore as R, useContext as W, useEffect as U } from "react";
|
|
5
|
+
import { c as xt, u as Bt, a as Lt, b as $t } from "./useIsFormDirty-uSOXZ5g6.js";
|
|
7
6
|
import "react/jsx-runtime";
|
|
8
7
|
import "react-router";
|
|
9
|
-
import { createPortal as
|
|
8
|
+
import { createPortal as z } from "react-dom";
|
|
10
9
|
import "react-hook-form";
|
|
11
10
|
import "react-flexmonster";
|
|
12
11
|
import "@azure/msal-browser";
|
|
13
12
|
import "@azure/msal-react";
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
t[0] !== n || t[1] !== o ? (c = {
|
|
13
|
+
const O = /* @__PURE__ */ new Map();
|
|
14
|
+
function at(e, n) {
|
|
15
|
+
const t = G({
|
|
18
16
|
silent: !0,
|
|
19
|
-
differentBaseUrl: n,
|
|
20
|
-
customToken:
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
17
|
+
differentBaseUrl: n == null ? void 0 : n.customBaseUrl,
|
|
18
|
+
customToken: n == null ? void 0 : n.customToken
|
|
19
|
+
});
|
|
20
|
+
console.log("axios.interceptorsUsed", t.interceptorsUsed);
|
|
21
|
+
const s = D(null);
|
|
22
|
+
if (!t.interceptorsUsed)
|
|
23
|
+
return null;
|
|
24
|
+
if (console.log("cache", O), !O.has(e)) {
|
|
25
|
+
const c = t.get(e).then((r) => (O.set(e, {
|
|
26
|
+
status: "success",
|
|
27
|
+
data: r.data
|
|
28
|
+
}), s.current = setTimeout(() => {
|
|
29
|
+
O.delete(e), s.current = null;
|
|
30
|
+
}, 1e4), r.data)).catch((r) => {
|
|
31
|
+
throw O.set(e, {
|
|
32
|
+
status: "error",
|
|
33
|
+
error: r
|
|
34
|
+
}), s.current = setTimeout(() => {
|
|
35
|
+
O.delete(e), s.current = null;
|
|
36
|
+
}, 1e3), r;
|
|
37
|
+
});
|
|
38
|
+
throw O.set(e, {
|
|
39
|
+
status: "pending"
|
|
40
|
+
}), c;
|
|
41
|
+
}
|
|
42
|
+
const o = O.get(e);
|
|
43
|
+
if (console.log("cached", o), o.status === "pending")
|
|
44
|
+
throw t.get(e);
|
|
45
|
+
if (o.status === "error")
|
|
46
|
+
throw o.error;
|
|
47
|
+
return o.data;
|
|
41
48
|
}
|
|
42
|
-
const
|
|
43
|
-
const
|
|
49
|
+
const M = (e) => (n) => (window.addEventListener(`storage_${e}`, n), () => window.removeEventListener(`storage_${e}`, n)), lt = (e, n, t) => {
|
|
50
|
+
const s = V.c(14), o = t === void 0 ? localStorage : t, [c] = _(n);
|
|
44
51
|
let r;
|
|
45
|
-
|
|
46
|
-
const
|
|
47
|
-
let
|
|
48
|
-
|
|
49
|
-
const
|
|
50
|
-
return
|
|
51
|
-
},
|
|
52
|
-
const
|
|
52
|
+
s[0] !== n ? (r = JSON.stringify(n), s[0] = n, s[1] = r) : r = s[1];
|
|
53
|
+
const l = D(r), h = D(n);
|
|
54
|
+
let g;
|
|
55
|
+
s[2] !== e || s[3] !== c || s[4] !== o ? (g = () => {
|
|
56
|
+
const m = o.getItem(e);
|
|
57
|
+
return m !== l.current && (l.current = m, h.current = l.current ? JSON.parse(l.current) : c), h.current;
|
|
58
|
+
}, s[2] = e, s[3] = c, s[4] = o, s[5] = g) : g = s[5];
|
|
59
|
+
const w = g;
|
|
53
60
|
let d;
|
|
54
|
-
|
|
55
|
-
const
|
|
56
|
-
let
|
|
57
|
-
|
|
58
|
-
o.setItem(e, JSON.stringify(
|
|
59
|
-
},
|
|
60
|
-
const
|
|
61
|
+
s[6] !== e ? (d = M(e), s[6] = e, s[7] = d) : d = s[7];
|
|
62
|
+
const u = R(d, w);
|
|
63
|
+
let a;
|
|
64
|
+
s[8] !== e || s[9] !== o ? (a = (m) => {
|
|
65
|
+
o.setItem(e, JSON.stringify(m)), window.dispatchEvent(new Event(`storage_${e}`));
|
|
66
|
+
}, s[8] = e, s[9] = o, s[10] = a) : a = s[10];
|
|
67
|
+
const i = a;
|
|
61
68
|
let p;
|
|
62
|
-
return
|
|
63
|
-
},
|
|
64
|
-
let
|
|
69
|
+
return s[11] !== i || s[12] !== u ? (p = [u, i], s[11] = i, s[12] = u, s[13] = p) : p = s[13], p;
|
|
70
|
+
}, Z = (e, n, t) => {
|
|
71
|
+
let s = "pending", o;
|
|
65
72
|
const c = e.then((r) => {
|
|
66
|
-
|
|
73
|
+
s = "success", o = r;
|
|
67
74
|
}, (r) => {
|
|
68
|
-
const
|
|
69
|
-
(
|
|
75
|
+
const l = r == null ? void 0 : r.response;
|
|
76
|
+
(l == null ? void 0 : l.status) === 404 && t ? (s = "error-404", o = r) : (s = "error", o = r);
|
|
70
77
|
});
|
|
71
78
|
return () => {
|
|
72
|
-
switch (
|
|
79
|
+
switch (s) {
|
|
73
80
|
case "pending":
|
|
74
81
|
throw c;
|
|
75
82
|
case "success":
|
|
@@ -89,145 +96,146 @@ const j = (e) => (s) => (window.addEventListener(`storage_${e}`, s), () => windo
|
|
|
89
96
|
enabled: !0,
|
|
90
97
|
nullStateBeforeLoad: !0,
|
|
91
98
|
nullStateOnFail: !1
|
|
92
|
-
},
|
|
93
|
-
const t =
|
|
94
|
-
loadOnInit:
|
|
99
|
+
}, ut = (e, n) => {
|
|
100
|
+
const t = V.c(26), {
|
|
101
|
+
loadOnInit: s,
|
|
95
102
|
enabled: o,
|
|
96
103
|
silent: c,
|
|
97
104
|
nullStateBeforeLoad: r,
|
|
98
|
-
nullStateOnFail:
|
|
99
|
-
customApiUrl:
|
|
100
|
-
customBearerToken:
|
|
101
|
-
dataTransformer:
|
|
105
|
+
nullStateOnFail: l,
|
|
106
|
+
customApiUrl: h,
|
|
107
|
+
customBearerToken: g,
|
|
108
|
+
dataTransformer: w,
|
|
102
109
|
errorBoundaryOn404: d
|
|
103
|
-
} =
|
|
104
|
-
let
|
|
105
|
-
t[0] !== d ? (
|
|
106
|
-
let
|
|
107
|
-
t[2] !==
|
|
108
|
-
silent:
|
|
109
|
-
customToken:
|
|
110
|
-
differentBaseUrl:
|
|
111
|
-
noToastOnStatus:
|
|
112
|
-
}, t[2] =
|
|
113
|
-
const b =
|
|
110
|
+
} = n === void 0 ? E : n, S = s === void 0 ? E.loadOnInit : s, u = o === void 0 ? E.enabled : o, a = c === void 0 ? E.silent : c, i = r === void 0 ? E.nullStateBeforeLoad : r, p = l === void 0 ? E.nullStateOnFail : l;
|
|
111
|
+
let v;
|
|
112
|
+
t[0] !== d ? (v = d ? [404] : void 0, t[0] = d, t[1] = v) : v = t[1];
|
|
113
|
+
let m;
|
|
114
|
+
t[2] !== h || t[3] !== g || t[4] !== a || t[5] !== v ? (m = {
|
|
115
|
+
silent: a,
|
|
116
|
+
customToken: g,
|
|
117
|
+
differentBaseUrl: h,
|
|
118
|
+
noToastOnStatus: v
|
|
119
|
+
}, t[2] = h, t[3] = g, t[4] = a, t[5] = v, t[6] = m) : m = t[6];
|
|
120
|
+
const b = G(m), {
|
|
114
121
|
startLoading: y,
|
|
115
|
-
stopLoading:
|
|
116
|
-
} =
|
|
122
|
+
stopLoading: f
|
|
123
|
+
} = W(J), I = D(0), {
|
|
117
124
|
isAuthenticated: C
|
|
118
|
-
} =
|
|
119
|
-
let
|
|
120
|
-
t[7] !== b || t[8] !==
|
|
121
|
-
if (!C() ||
|
|
125
|
+
} = Q(), [F, N] = _(null);
|
|
126
|
+
let x;
|
|
127
|
+
t[7] !== b || t[8] !== w || t[9] !== u || t[10] !== d || t[11] !== C || t[12] !== i || t[13] !== p || t[14] !== a || t[15] !== y || t[16] !== f || t[17] !== e ? (x = async (P, q) => {
|
|
128
|
+
if (!C() || u === !1)
|
|
122
129
|
return;
|
|
123
|
-
!
|
|
130
|
+
!a && y(`loadData-${e}-${q}`), i && N(null);
|
|
124
131
|
const H = b.get(e, {
|
|
125
|
-
signal:
|
|
126
|
-
}).then((K) =>
|
|
127
|
-
N(
|
|
128
|
-
}, t[7] = b, t[8] =
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
t[19] !==
|
|
132
|
-
if (
|
|
132
|
+
signal: P
|
|
133
|
+
}).then((K) => w ? w(K.data) : K.data).finally(() => !a && f(`loadData-${e}-${q}`));
|
|
134
|
+
N(Z(H, p ?? !1, d ?? !1));
|
|
135
|
+
}, t[7] = b, t[8] = w, t[9] = u, t[10] = d, t[11] = C, t[12] = i, t[13] = p, t[14] = a, t[15] = y, t[16] = f, t[17] = e, t[18] = x) : x = t[18];
|
|
136
|
+
const T = x;
|
|
137
|
+
let B, L;
|
|
138
|
+
t[19] !== T || t[20] !== S ? (L = () => {
|
|
139
|
+
if (S === !1)
|
|
133
140
|
return;
|
|
134
|
-
const
|
|
135
|
-
return
|
|
136
|
-
|
|
141
|
+
const P = new AbortController();
|
|
142
|
+
return T(P.signal, I.current = I.current + 1), () => {
|
|
143
|
+
P.abort();
|
|
137
144
|
};
|
|
138
|
-
},
|
|
139
|
-
let
|
|
140
|
-
return t[23] !== F || t[24] !==
|
|
145
|
+
}, B = [T, S], t[19] = T, t[20] = S, t[21] = B, t[22] = L) : (B = t[21], L = t[22]), U(L, B);
|
|
146
|
+
let $;
|
|
147
|
+
return t[23] !== F || t[24] !== T ? ($ = {
|
|
141
148
|
data: F,
|
|
142
149
|
setData: N,
|
|
143
|
-
reloadData:
|
|
144
|
-
}, t[23] = F, t[24] =
|
|
145
|
-
},
|
|
150
|
+
reloadData: T
|
|
151
|
+
}, t[23] = F, t[24] = T, t[25] = $) : $ = t[25], $;
|
|
152
|
+
}, it = () => {
|
|
146
153
|
const e = D({}).current;
|
|
147
|
-
return
|
|
148
|
-
const
|
|
149
|
-
return
|
|
150
|
-
document.body.removeChild(
|
|
154
|
+
return U(() => {
|
|
155
|
+
const n = document.createElement("div");
|
|
156
|
+
return n.style.position = "absolute", n.style.pointerEvents = "none", n.style.top = "0", n.style.width = "100%", n.style.height = "100%", e.elt = n, document.body.appendChild(n), () => {
|
|
157
|
+
document.body.removeChild(n);
|
|
151
158
|
};
|
|
152
|
-
}, [e]), (
|
|
153
|
-
const o =
|
|
154
|
-
return t.draggableProps.style.position === "fixed" ?
|
|
159
|
+
}, [e]), (n) => (t, ...s) => {
|
|
160
|
+
const o = n(t, ...s);
|
|
161
|
+
return t.draggableProps.style.position === "fixed" ? z(o, e.elt) : o;
|
|
155
162
|
};
|
|
156
163
|
}, A = {
|
|
157
164
|
storageKey: "--tmp-scroll-save--",
|
|
158
165
|
requiredHeight: 100,
|
|
159
166
|
retryInterval: 50
|
|
160
|
-
},
|
|
161
|
-
const t =
|
|
162
|
-
storageKey:
|
|
167
|
+
}, ct = (e, n) => {
|
|
168
|
+
const t = V.c(18), {
|
|
169
|
+
storageKey: s,
|
|
163
170
|
requiredHeight: o,
|
|
164
171
|
retryInterval: c
|
|
165
|
-
} =
|
|
166
|
-
let
|
|
167
|
-
t[0] !== r ? (
|
|
168
|
-
const
|
|
169
|
-
return localStorage.removeItem(r),
|
|
170
|
-
}, t[0] = r, t[1] =
|
|
171
|
-
const
|
|
172
|
-
let
|
|
173
|
-
t[2] !== r ? (
|
|
174
|
-
localStorage.setItem(r,
|
|
175
|
-
}, t[2] = r, t[3] =
|
|
176
|
-
const
|
|
177
|
-
let p,
|
|
178
|
-
t[4] !==
|
|
179
|
-
const
|
|
180
|
-
if (!
|
|
181
|
-
|
|
182
|
-
const I =
|
|
172
|
+
} = n === void 0 ? A : n, r = s === void 0 ? A.storageKey : s, l = o === void 0 ? A.requiredHeight : o, h = c === void 0 ? A.retryInterval : c, [g, w] = _(!1), d = D(null);
|
|
173
|
+
let S;
|
|
174
|
+
t[0] !== r ? (S = () => {
|
|
175
|
+
const f = localStorage.getItem(r);
|
|
176
|
+
return localStorage.removeItem(r), f === null ? null : Number(f);
|
|
177
|
+
}, t[0] = r, t[1] = S) : S = t[1];
|
|
178
|
+
const u = S;
|
|
179
|
+
let a;
|
|
180
|
+
t[2] !== r ? (a = (f) => {
|
|
181
|
+
localStorage.setItem(r, f);
|
|
182
|
+
}, t[2] = r, t[3] = a) : a = t[3];
|
|
183
|
+
const i = a;
|
|
184
|
+
let p, v;
|
|
185
|
+
t[4] !== g || t[5] !== l || t[6] !== u || t[7] !== h || t[8] !== e ? (p = () => {
|
|
186
|
+
const f = window.setInterval(() => {
|
|
187
|
+
if (!g && e.current !== null && e.current.getBoundingClientRect().height > l) {
|
|
188
|
+
w(!0);
|
|
189
|
+
const I = u();
|
|
183
190
|
I !== null && e.current.scrollTo({
|
|
184
191
|
top: I
|
|
185
|
-
}), window.clearInterval(
|
|
192
|
+
}), window.clearInterval(f);
|
|
186
193
|
}
|
|
187
|
-
},
|
|
194
|
+
}, h);
|
|
188
195
|
return () => {
|
|
189
|
-
window.clearTimeout(
|
|
196
|
+
window.clearTimeout(f);
|
|
190
197
|
};
|
|
191
|
-
},
|
|
192
|
-
let
|
|
193
|
-
t[11] !==
|
|
198
|
+
}, v = [g, l, u, h, e], t[4] = g, t[5] = l, t[6] = u, t[7] = h, t[8] = e, t[9] = p, t[10] = v) : (p = t[9], v = t[10]), U(p, v);
|
|
199
|
+
let m, b;
|
|
200
|
+
t[11] !== i || t[12] !== e ? (m = () => {
|
|
194
201
|
var I;
|
|
195
|
-
const
|
|
202
|
+
const f = new AbortController();
|
|
196
203
|
return (I = e.current) == null || I.addEventListener("scrollend", () => {
|
|
197
204
|
var C;
|
|
198
|
-
d.current = ((C = e.current) == null ? void 0 : C.scrollTop) ?? 0,
|
|
205
|
+
d.current = ((C = e.current) == null ? void 0 : C.scrollTop) ?? 0, i((d.current ?? 0).toString());
|
|
199
206
|
}, {
|
|
200
|
-
signal:
|
|
201
|
-
}), () =>
|
|
202
|
-
}, b = [
|
|
207
|
+
signal: f.signal
|
|
208
|
+
}), () => f.abort();
|
|
209
|
+
}, b = [i, e], t[11] = i, t[12] = e, t[13] = m, t[14] = b) : (m = t[13], b = t[14]), U(m, b);
|
|
203
210
|
let y;
|
|
204
|
-
return t[15] !==
|
|
205
|
-
saveValue:
|
|
206
|
-
retrieveValue:
|
|
207
|
-
}, t[15] =
|
|
211
|
+
return t[15] !== u || t[16] !== i ? (y = {
|
|
212
|
+
saveValue: i,
|
|
213
|
+
retrieveValue: u
|
|
214
|
+
}, t[15] = u, t[16] = i, t[17] = y) : y = t[17], y;
|
|
208
215
|
};
|
|
209
216
|
export {
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
217
|
+
ft as cancelToken,
|
|
218
|
+
Q as useAuth,
|
|
219
|
+
G as useAxios,
|
|
220
|
+
gt as useClickOutside,
|
|
214
221
|
pt as useClipboard,
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
222
|
+
vt as useConfirm,
|
|
223
|
+
xt as useEmployeePhotoPath,
|
|
224
|
+
ht as useFormControlType,
|
|
225
|
+
Ct as useGetApiData,
|
|
226
|
+
ut as useGetApiDataBound,
|
|
227
|
+
at as useGetDataBound,
|
|
228
|
+
Bt as useIsFormDirty,
|
|
229
|
+
St as useKeyPress,
|
|
230
|
+
Et as useLocalStorageState,
|
|
231
|
+
wt as useNotifications,
|
|
232
|
+
bt as usePermissions,
|
|
233
|
+
lt as usePersistentState,
|
|
234
|
+
yt as usePrompt,
|
|
235
|
+
it as useRenderDraggableInPortal,
|
|
236
|
+
ct as useScrollSave,
|
|
237
|
+
Lt as useSearchQuery,
|
|
238
|
+
$t as useSearchQueryState,
|
|
239
|
+
It as useWindowSize,
|
|
240
|
+
Ot as useZodSchemaTypes
|
|
233
241
|
};
|
package/dist/layout.cjs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("./nivo-bar-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("react/jsx-runtime"),l=require("./nivo-bar-DcaMZ1K9.cjs"),F=require("react"),ee=require("react-router");require("react-hook-form");require("react-flexmonster");require("@azure/msal-browser");require("@azure/msal-react");require("@tanstack/react-query");require("react-dom");const ie="_side-menu-item_o72rm_1",oe="_disabled_o72rm_6",ae="_hidden_o72rm_10",re="_nav-button_o72rm_13",ce="_child_o72rm_21",de="_text_o72rm_26",me="_icon_o72rm_36",ue="_collapse-icon_o72rm_42",pe="_collapsed_o72rm_52",he="_collapse-icon-mini_o72rm_55",_e="_expanded_o72rm_86",fe="_children-container_o72rm_92",xe="_visible_o72rm_100",be="_children_o72rm_92",ve="_mobile_o72rm_112",d={sideMenuItem:ie,disabled:oe,hidden:ae,navButton:re,child:ce,text:de,icon:me,collapseIcon:ue,collapsed:pe,collapseIconMini:he,expanded:_e,childrenContainer:fe,visible:xe,children:be,mobile:ve},Ne=o=>{const e=l.compilerRuntimeExports.c(6),{item:u,menuExpanded:f,useTooltips:v,children:y}=o;if(u.tooltip&&!f&&v){let M;e[0]===Symbol.for("react.memo_cache_sentinel")?(M={show:1e3,hide:0},e[0]=M):M=e[0];let s;e[1]!==y?(s=t.jsx("div",{children:y}),e[1]=y,e[2]=s):s=e[2];let r;return e[3]!==u.tooltip||e[4]!==s?(r=t.jsx(l.SimpleTooltip,{text:u.tooltip,placement:"top",delay:M,children:s}),e[3]=u.tooltip,e[4]=s,e[5]=r):r=e[5],r}return y},te=({item:o,menuExpanded:e,collapsed:u,onCollapse:f,currentPath:v,useHover:y,useTooltips:M,isMobile:s,disableMode:r})=>{var m,N,p,b;const[x,n]=F.useState(!1),[h]=v.split("?"),g=o.linkTo===h||((m=o.children)==null?void 0:m.some(i=>i.linkTo===h)),c=F.useRef(null);return l.useClickOutside([c],()=>u&&f()),t.jsxs("li",{ref:c,className:l.classNames("luminus-side-menu-item",d.sideMenuItem,{[d.mobile]:s},{[d.expanded]:e},{active:x||g},{open:u&&o.children},{[r==="disable"?d.disabled:d.hidden]:o.disabled||o.notPermitted||((N=o.children)==null?void 0:N.every(i=>i.notPermitted||i.disabled))},{[r==="disable"?"disabled":"hidden"]:o.disabled||o.notPermitted||((p=o.children)==null?void 0:p.every(i=>i.notPermitted||i.disabled))}),onMouseEnter:()=>n(!0),onMouseLeave:()=>n(!1),children:[t.jsx(Ne,{item:o,menuExpanded:e,useTooltips:M,children:o.children?t.jsx(t.Fragment,{children:t.jsxs("button",{type:"button",className:l.classNames("nav-link",d.navButton),onClick:()=>{f()},children:[t.jsx("div",{className:l.classNames("icon",d.icon),children:o.icon}),!y&&!e&&t.jsx("div",{className:l.classNames("collapse-icon-mini rounded",d.collapseIconMini,{[d.collapsed]:u}),children:t.jsx(l.MdOutlineKeyboardArrowRight,{})}),e&&t.jsx("div",{className:l.classNames("text",d.text,"text-nowrap"),children:o.title}),e&&t.jsx("div",{className:l.classNames("collapse-icon",d.collapseIcon,{[d.collapsed]:u}),children:t.jsx(l.MdOutlineKeyboardArrowRight,{})})]})}):t.jsxs(ee.Link,{to:o.disabled||o.notPermitted?"/":o.linkTo??"/",className:l.classNames("nav-link",d.navButton),children:[t.jsx("div",{className:l.classNames("icon",d.icon),children:o.icon}),e&&t.jsx("div",{className:l.classNames("text",d.text,"text-nowrap"),children:o.title})]})}),t.jsx("div",{className:l.classNames("children-container",d.childrenContainer,{[d.visible]:u}),children:t.jsx("div",{className:l.classNames("shadow rounded children",d.children),children:(b=o.children)==null?void 0:b.map(i=>t.jsx(ee.Link,{to:i.disabled||i.notPermitted?"/":i.linkTo??"/",className:l.classNames("nav-link child rounded",d.navButton,d.child,{[r==="disable"?d.disabled:d.hidden]:i.disabled||i.notPermitted},{[r==="disable"?"disabled":"hidden"]:i.disabled||i.notPermitted}),onClick:f,children:t.jsx("div",{className:l.classNames("text",d.text,"text-nowrap"),children:i.title})},i.linkTo))})})]})},je="_side-menu_12rky_1",ye="_sidebar-header_12rky_15",Me="_side-menu-content_12rky_22",ge="_no-top-margin_12rky_28",ke="_expand_12rky_34",Ie="_only-logo_12rky_38",Ce="_mobile_12rky_41",Pe="_divider_12rky_56",P={sideMenu:je,sidebarHeader:ye,sideMenuContent:Me,noTopMargin:ge,expand:ke,onlyLogo:Ie,mobile:Ce,divider:Pe},Be=14,Se=o=>{const e=l.compilerRuntimeExports.c(100),{headerItem:u,searchItem:f,shortcutsItem:v,mainItems:y,secondaryItems:M,expanded:s,setExpanded:r,currentPath:x,useHover:n,useTooltips:h,disableMode:g}=o,c=g===void 0?"disable":g,[m,N]=F.useState(-1),{checkUserHasPermissions:p}=l.usePermissions();let b;if(e[0]!==p||e[1]!==y){let a;e[3]!==p?(a=_=>{var k;return{..._,notPermitted:!p(_.permissions??[],"any"),children:(k=_.children)==null?void 0:k.map(D=>({...D,notPermitted:!p(D.permissions??[],"any"),disabled:_.disabled||D.disabled}))}},e[3]=p,e[4]=a):a=e[4],b=y.map(a),e[0]=p,e[1]=y,e[2]=b}else b=e[2];const i=b;let C;if(e[5]!==p||e[6]!==M){let a;e[8]!==p?(a=_=>{var k;return{..._,notPermitted:!p(_.permissions??[],"any"),children:(k=_.children)==null?void 0:k.map(D=>({...D,notPermitted:!p(D.permissions??[],"any")}))}},e[8]=p,e[9]=a):a=e[9],C=M.map(a),e[5]=p,e[6]=M,e[7]=C}else C=e[7];const B=C;let z;e[10]!==m?(z=a=>{N(a===m?-1:a)},e[10]=m,e[11]=z):z=e[11];const I=z;let G,U;e[12]!==s?(G=()=>{s||N(-1)},U=[s],e[12]=s,e[13]=G,e[14]=U):(G=e[13],U=e[14]),F.useEffect(G,U);const se=F.useRef(null);let W;e[15]===Symbol.for("react.memo_cache_sentinel")?(W=[se],e[15]=W):W=e[15];let J;e[16]!==r?(J=()=>r(!1),e[16]=r,e[17]=J):J=e[17],l.useClickOutside(W,J);let Q;e[18]!==c||e[19]!==i||e[20]!==B?(Q=[...i,...B].filter(a=>{var _;return c==="hide"?!a.disabled&&!a.notPermitted&&(((_=a.children)==null?void 0:_.filter(Te))??[]).length>0:!0}),e[18]=c,e[19]=i,e[20]=B,e[21]=Q):Q=e[21];const le=Q,{isMobile:j}=l.useWindowSize();let S;e[22]!==s||e[23]!==j?(S=l.classNames("luminus-side-menu shadow",P.sideMenu,{[P.mobile]:j},{[P.expand]:s},{expand:s}),e[22]=s,e[23]=j,e[24]=S):S=e[24];let T,R;e[25]!==r||e[26]!==n?(T=()=>n&&r(!0),R=()=>n&&r(!1),e[25]=r,e[26]=n,e[27]=T,e[28]=R):(T=e[27],R=e[28]);let w;e[29]!==n?(w=l.classNames("sidebar-header",P.sidebarHeader,{[P.onlyLogo]:n}),e[29]=n,e[30]=w):w=e[30];const Y=n?void 0:"button";let q;e[31]!==s||e[32]!==r||e[33]!==n?(q=n?void 0:()=>r(!s),e[31]=s,e[32]=r,e[33]=n,e[34]=q):q=e[34];let O;e[35]!==s||e[36]!==u||e[37]!==n?(O=n?u:s?t.jsxs(t.Fragment,{children:[t.jsx(l.MdOutlineKeyboardDoubleArrowLeft,{}),u]}):t.jsx(l.MdOutlineMenu,{}),e[35]=s,e[36]=u,e[37]=n,e[38]=O):O=e[38];let L;e[39]!==w||e[40]!==Y||e[41]!==q||e[42]!==O?(L=t.jsx("div",{className:w,role:Y,onClick:q,children:O}),e[39]=w,e[40]=Y,e[41]=q,e[42]=O,e[43]=L):L=e[43];let H;e[44]!==s||e[45]!==f||e[46]!==v?(H=s&&(f||v)?t.jsxs("div",{className:"mb-3 d-flex flex-column gap-3",children:[v&&s?v:null,f&&s?f:null]}):null,e[44]=s,e[45]=f,e[46]=v,e[47]=H):H=e[47];const Z=le.length>Be;let E;e[48]!==Z?(E=l.classNames(P.sideMenuContent,{[P.noTopMargin]:Z}),e[48]=Z,e[49]=E):E=e[49];let $;if(e[50]!==m||e[51]!==x||e[52]!==c||e[53]!==s||e[54]!==j||e[55]!==i||e[56]!==I||e[57]!==n||e[58]!==h){let a;e[60]!==m||e[61]!==x||e[62]!==c||e[63]!==s||e[64]!==j||e[65]!==I||e[66]!==n||e[67]!==h?(a=(_,k)=>t.jsx(te,{item:_,menuExpanded:s,collapsed:k===m,onCollapse:()=>I(k),currentPath:x,useHover:n,useTooltips:h,isMobile:j,disableMode:c},_.title),e[60]=m,e[61]=x,e[62]=c,e[63]=s,e[64]=j,e[65]=I,e[66]=n,e[67]=h,e[68]=a):a=e[68],$=i.map(a),e[50]=m,e[51]=x,e[52]=c,e[53]=s,e[54]=j,e[55]=i,e[56]=I,e[57]=n,e[58]=h,e[59]=$}else $=e[59];let V;e[69]===Symbol.for("react.memo_cache_sentinel")?(V=t.jsx("hr",{className:l.classNames("divider",P.divider)}),e[69]=V):V=e[69];let A;if(e[70]!==m||e[71]!==x||e[72]!==c||e[73]!==s||e[74]!==j||e[75]!==I||e[76]!==B||e[77]!==n||e[78]!==h){let a;e[80]!==m||e[81]!==x||e[82]!==c||e[83]!==s||e[84]!==j||e[85]!==I||e[86]!==n||e[87]!==h?(a=(_,k)=>t.jsx(te,{item:_,menuExpanded:s,collapsed:k===m,onCollapse:()=>I(k),currentPath:x,useHover:n,useTooltips:h,isMobile:j,disableMode:c},_.title),e[80]=m,e[81]=x,e[82]=c,e[83]=s,e[84]=j,e[85]=I,e[86]=n,e[87]=h,e[88]=a):a=e[88],A=B.map(a),e[70]=m,e[71]=x,e[72]=c,e[73]=s,e[74]=j,e[75]=I,e[76]=B,e[77]=n,e[78]=h,e[79]=A}else A=e[79];let K;e[89]!==E||e[90]!==$||e[91]!==A?(K=t.jsxs("ul",{className:E,children:[$,V,A]}),e[89]=E,e[90]=$,e[91]=A,e[92]=K):K=e[92];let X;return e[93]!==S||e[94]!==T||e[95]!==R||e[96]!==L||e[97]!==H||e[98]!==K?(X=t.jsxs("section",{ref:se,className:S,onMouseEnter:T,onMouseLeave:R,children:[L,H,K]}),e[93]=S,e[94]=T,e[95]=R,e[96]=L,e[97]=H,e[98]=K,e[99]=X):X=e[99],X};function Te(o){return!o.disabled&&!o.notPermitted}const Re="_top-bar_lnmq0_1",we="_top-bar-brand_lnmq0_12",ne={topBar:Re,topBarBrand:we},qe=o=>{const e=l.compilerRuntimeExports.c(21),{appName:u,leftOffset:f,leftContent:v,centerContent:y,rightContent:M}=o;let s;e[0]===Symbol.for("react.memo_cache_sentinel")?(s=l.classNames("luminus-top-bar shadow",ne.topBar),e[0]=s):s=e[0];const r=f?`calc(100% - ${f}px)`:void 0,x=f?`${f}px`:void 0;let n;e[1]!==r||e[2]!==x?(n={width:r,left:x},e[1]=r,e[2]=x,e[3]=n):n=e[3];let h;e[4]===Symbol.for("react.memo_cache_sentinel")?(h=l.classNames("luminus-top-bar-brand",ne.topBarBrand),e[4]=h):h=e[4];let g;e[5]!==u?(g=t.jsx(ee.Link,{to:"/",className:h,children:u}),e[5]=u,e[6]=g):g=e[6];let c;e[7]!==v||e[8]!==g?(c=t.jsxs("div",{className:"col-4 d-flex gap-3 align-items-center",children:[g,v]}),e[7]=v,e[8]=g,e[9]=c):c=e[9];const m=y??null;let N;e[10]!==m?(N=t.jsx("div",{className:"col-4 d-flex align-items-center",children:m}),e[10]=m,e[11]=N):N=e[11];const p=M??null;let b;e[12]!==p?(b=t.jsx("div",{className:"col-4 d-flex justify-content-end align-items-center",children:p}),e[12]=p,e[13]=b):b=e[13];let i;e[14]!==b||e[15]!==c||e[16]!==N?(i=t.jsxs("div",{className:"w-100 row g-0",children:[c,N,b]}),e[14]=b,e[15]=c,e[16]=N,e[17]=i):i=e[17];let C;return e[18]!==i||e[19]!==n?(C=t.jsx("nav",{className:s,style:n,children:i}),e[18]=i,e[19]=n,e[20]=C):C=e[20],C};exports.PageContainer=l.PageContainer;exports.SideContentBar=l.SideContentBar;exports.SideMenu=Se;exports.TopBar=qe;
|
package/dist/layout.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as B, jsx as i, Fragment as ie } from "react/jsx-runtime";
|
|
2
|
-
import { aR as de, a as u, $ as le, c as te, aE as me,
|
|
3
|
-
import { aC as ot,
|
|
2
|
+
import { aR as de, a as u, $ as le, c as te, aE as me, bv as pe, aG as ue, bG as fe, bH as _e } from "./nivo-bar-BQGSJTnK.js";
|
|
3
|
+
import { aC as ot, bI as it } from "./nivo-bar-BQGSJTnK.js";
|
|
4
4
|
import { useState as ae, useRef as re, useEffect as he } from "react";
|
|
5
5
|
import { Link as ee } from "react-router";
|
|
6
6
|
import "react-hook-form";
|
|
@@ -9,7 +9,7 @@ import "@azure/msal-browser";
|
|
|
9
9
|
import "@azure/msal-react";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "react-dom";
|
|
12
|
-
const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o72rm_10", ye = "_nav-button_o72rm_13", Me = "_child_o72rm_21", Ne = "_text_o72rm_26", Ie = "_icon_o72rm_36", ke = "_collapse-icon_o72rm_42", ge = "_collapsed_o72rm_52", Ce = "_collapse-icon-mini_o72rm_55", Pe = "_expanded_o72rm_86", Be = "_children-container_o72rm_92",
|
|
12
|
+
const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o72rm_10", ye = "_nav-button_o72rm_13", Me = "_child_o72rm_21", Ne = "_text_o72rm_26", Ie = "_icon_o72rm_36", ke = "_collapse-icon_o72rm_42", ge = "_collapsed_o72rm_52", Ce = "_collapse-icon-mini_o72rm_55", Pe = "_expanded_o72rm_86", Be = "_children-container_o72rm_92", Te = "_visible_o72rm_100", we = "_children_o72rm_92", Se = "_mobile_o72rm_112", r = {
|
|
13
13
|
sideMenuItem: be,
|
|
14
14
|
disabled: ve,
|
|
15
15
|
hidden: xe,
|
|
@@ -22,8 +22,8 @@ const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o7
|
|
|
22
22
|
collapseIconMini: Ce,
|
|
23
23
|
expanded: Pe,
|
|
24
24
|
childrenContainer: Be,
|
|
25
|
-
visible:
|
|
26
|
-
children:
|
|
25
|
+
visible: Te,
|
|
26
|
+
children: we,
|
|
27
27
|
mobile: Se
|
|
28
28
|
}, He = (s) => {
|
|
29
29
|
const e = te.c(6), {
|
|
@@ -93,7 +93,7 @@ const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o7
|
|
|
93
93
|
[d === "disable" ? "disabled" : "hidden"]: l.disabled || l.notPermitted
|
|
94
94
|
}), onClick: h, children: /* @__PURE__ */ i("div", { className: u("text", r.text, "text-nowrap"), children: l.title }) }, l.linkTo)) }) })
|
|
95
95
|
] });
|
|
96
|
-
}, Re = "_side-menu_12rky_1", $e = "_sidebar-header_12rky_15", Le = "_side-menu-content_12rky_22", Oe = "_no-top-margin_12rky_28", Ee = "_expand_12rky_34", Ae = "_only-logo_12rky_38", je = "_mobile_12rky_41",
|
|
96
|
+
}, Re = "_side-menu_12rky_1", $e = "_sidebar-header_12rky_15", Le = "_side-menu-content_12rky_22", Oe = "_no-top-margin_12rky_28", Ee = "_expand_12rky_34", Ae = "_only-logo_12rky_38", je = "_mobile_12rky_41", Ge = "_divider_12rky_56", T = {
|
|
97
97
|
sideMenu: Re,
|
|
98
98
|
sidebarHeader: $e,
|
|
99
99
|
sideMenuContent: Le,
|
|
@@ -101,8 +101,8 @@ const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o7
|
|
|
101
101
|
expand: Ee,
|
|
102
102
|
onlyLogo: Ae,
|
|
103
103
|
mobile: je,
|
|
104
|
-
divider:
|
|
105
|
-
},
|
|
104
|
+
divider: Ge
|
|
105
|
+
}, qe = 14, tt = (s) => {
|
|
106
106
|
const e = te.c(100), {
|
|
107
107
|
headerItem: m,
|
|
108
108
|
searchItem: h,
|
|
@@ -152,42 +152,42 @@ const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o7
|
|
|
152
152
|
}, e[8] = p, e[9] = o) : o = e[9], P = I.map(o), e[5] = p, e[6] = I, e[7] = P;
|
|
153
153
|
} else
|
|
154
154
|
P = e[7];
|
|
155
|
-
const
|
|
155
|
+
const w = P;
|
|
156
156
|
let z;
|
|
157
157
|
e[10] !== c ? (z = (o) => {
|
|
158
158
|
y(o === c ? -1 : o);
|
|
159
159
|
}, e[10] = c, e[11] = z) : z = e[11];
|
|
160
160
|
const C = z;
|
|
161
|
-
let F,
|
|
161
|
+
let F, U;
|
|
162
162
|
e[12] !== t ? (F = () => {
|
|
163
163
|
t || y(-1);
|
|
164
|
-
},
|
|
164
|
+
}, U = [t], e[12] = t, e[13] = F, e[14] = U) : (F = e[13], U = e[14]), he(F, U);
|
|
165
165
|
const ne = re(null);
|
|
166
|
-
let U;
|
|
167
|
-
e[15] === Symbol.for("react.memo_cache_sentinel") ? (U = [ne], e[15] = U) : U = e[15];
|
|
168
166
|
let W;
|
|
169
|
-
e[
|
|
167
|
+
e[15] === Symbol.for("react.memo_cache_sentinel") ? (W = [ne], e[15] = W) : W = e[15];
|
|
168
|
+
let J;
|
|
169
|
+
e[16] !== d ? (J = () => d(!1), e[16] = d, e[17] = J) : J = e[17], de(W, J);
|
|
170
170
|
let Q;
|
|
171
|
-
e[18] !== a || e[19] !== l || e[20] !==
|
|
171
|
+
e[18] !== a || e[19] !== l || e[20] !== w ? (Q = [...l, ...w].filter((o) => {
|
|
172
172
|
var _;
|
|
173
|
-
return a === "hide" ? !o.disabled && !o.notPermitted && (((_ = o.children) == null ? void 0 : _.filter(
|
|
174
|
-
}), e[18] = a, e[19] = l, e[20] =
|
|
173
|
+
return a === "hide" ? !o.disabled && !o.notPermitted && (((_ = o.children) == null ? void 0 : _.filter(De)) ?? []).length > 0 : !0;
|
|
174
|
+
}), e[18] = a, e[19] = l, e[20] = w, e[21] = Q) : Q = e[21];
|
|
175
175
|
const ce = Q, {
|
|
176
176
|
isMobile: M
|
|
177
177
|
} = ue();
|
|
178
178
|
let S;
|
|
179
|
-
e[22] !== t || e[23] !== M ? (S = u("luminus-side-menu shadow",
|
|
180
|
-
[
|
|
179
|
+
e[22] !== t || e[23] !== M ? (S = u("luminus-side-menu shadow", T.sideMenu, {
|
|
180
|
+
[T.mobile]: M
|
|
181
181
|
}, {
|
|
182
|
-
[
|
|
182
|
+
[T.expand]: t
|
|
183
183
|
}, {
|
|
184
184
|
expand: t
|
|
185
185
|
}), e[22] = t, e[23] = M, e[24] = S) : S = e[24];
|
|
186
186
|
let H, R;
|
|
187
187
|
e[25] !== d || e[26] !== n ? (H = () => n && d(!0), R = () => n && d(!1), e[25] = d, e[26] = n, e[27] = H, e[28] = R) : (H = e[27], R = e[28]);
|
|
188
188
|
let $;
|
|
189
|
-
e[29] !== n ? ($ = u("sidebar-header",
|
|
190
|
-
[
|
|
189
|
+
e[29] !== n ? ($ = u("sidebar-header", T.sidebarHeader, {
|
|
190
|
+
[T.onlyLogo]: n
|
|
191
191
|
}), e[29] = n, e[30] = $) : $ = e[30];
|
|
192
192
|
const Y = n ? void 0 : "button";
|
|
193
193
|
let L;
|
|
@@ -204,39 +204,39 @@ const be = "_side-menu-item_o72rm_1", ve = "_disabled_o72rm_6", xe = "_hidden_o7
|
|
|
204
204
|
x && t ? x : null,
|
|
205
205
|
h && t ? h : null
|
|
206
206
|
] }) : null, e[44] = t, e[45] = h, e[46] = x, e[47] = A) : A = e[47];
|
|
207
|
-
const Z = ce.length >
|
|
207
|
+
const Z = ce.length > qe;
|
|
208
208
|
let j;
|
|
209
|
-
e[48] !== Z ? (j = u(
|
|
210
|
-
[
|
|
209
|
+
e[48] !== Z ? (j = u(T.sideMenuContent, {
|
|
210
|
+
[T.noTopMargin]: Z
|
|
211
211
|
}), e[48] = Z, e[49] = j) : j = e[49];
|
|
212
|
-
let
|
|
212
|
+
let G;
|
|
213
213
|
if (e[50] !== c || e[51] !== b || e[52] !== a || e[53] !== t || e[54] !== M || e[55] !== l || e[56] !== C || e[57] !== n || e[58] !== f) {
|
|
214
214
|
let o;
|
|
215
|
-
e[60] !== c || e[61] !== b || e[62] !== a || e[63] !== t || e[64] !== M || e[65] !== C || e[66] !== n || e[67] !== f ? (o = (_, g) => /* @__PURE__ */ i(se, { item: _, menuExpanded: t, collapsed: g === c, onCollapse: () => C(g), currentPath: b, useHover: n, useTooltips: f, isMobile: M, disableMode: a }, _.title), e[60] = c, e[61] = b, e[62] = a, e[63] = t, e[64] = M, e[65] = C, e[66] = n, e[67] = f, e[68] = o) : o = e[68],
|
|
215
|
+
e[60] !== c || e[61] !== b || e[62] !== a || e[63] !== t || e[64] !== M || e[65] !== C || e[66] !== n || e[67] !== f ? (o = (_, g) => /* @__PURE__ */ i(se, { item: _, menuExpanded: t, collapsed: g === c, onCollapse: () => C(g), currentPath: b, useHover: n, useTooltips: f, isMobile: M, disableMode: a }, _.title), e[60] = c, e[61] = b, e[62] = a, e[63] = t, e[64] = M, e[65] = C, e[66] = n, e[67] = f, e[68] = o) : o = e[68], G = l.map(o), e[50] = c, e[51] = b, e[52] = a, e[53] = t, e[54] = M, e[55] = l, e[56] = C, e[57] = n, e[58] = f, e[59] = G;
|
|
216
216
|
} else
|
|
217
|
-
|
|
217
|
+
G = e[59];
|
|
218
218
|
let V;
|
|
219
|
-
e[69] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ i("hr", { className: u("divider",
|
|
220
|
-
let
|
|
221
|
-
if (e[70] !== c || e[71] !== b || e[72] !== a || e[73] !== t || e[74] !== M || e[75] !== C || e[76] !==
|
|
219
|
+
e[69] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ i("hr", { className: u("divider", T.divider) }), e[69] = V) : V = e[69];
|
|
220
|
+
let q;
|
|
221
|
+
if (e[70] !== c || e[71] !== b || e[72] !== a || e[73] !== t || e[74] !== M || e[75] !== C || e[76] !== w || e[77] !== n || e[78] !== f) {
|
|
222
222
|
let o;
|
|
223
|
-
e[80] !== c || e[81] !== b || e[82] !== a || e[83] !== t || e[84] !== M || e[85] !== C || e[86] !== n || e[87] !== f ? (o = (_, g) => /* @__PURE__ */ i(se, { item: _, menuExpanded: t, collapsed: g === c, onCollapse: () => C(g), currentPath: b, useHover: n, useTooltips: f, isMobile: M, disableMode: a }, _.title), e[80] = c, e[81] = b, e[82] = a, e[83] = t, e[84] = M, e[85] = C, e[86] = n, e[87] = f, e[88] = o) : o = e[88],
|
|
223
|
+
e[80] !== c || e[81] !== b || e[82] !== a || e[83] !== t || e[84] !== M || e[85] !== C || e[86] !== n || e[87] !== f ? (o = (_, g) => /* @__PURE__ */ i(se, { item: _, menuExpanded: t, collapsed: g === c, onCollapse: () => C(g), currentPath: b, useHover: n, useTooltips: f, isMobile: M, disableMode: a }, _.title), e[80] = c, e[81] = b, e[82] = a, e[83] = t, e[84] = M, e[85] = C, e[86] = n, e[87] = f, e[88] = o) : o = e[88], q = w.map(o), e[70] = c, e[71] = b, e[72] = a, e[73] = t, e[74] = M, e[75] = C, e[76] = w, e[77] = n, e[78] = f, e[79] = q;
|
|
224
224
|
} else
|
|
225
|
-
|
|
226
|
-
let
|
|
227
|
-
e[89] !== j || e[90] !==
|
|
228
|
-
|
|
225
|
+
q = e[79];
|
|
226
|
+
let D;
|
|
227
|
+
e[89] !== j || e[90] !== G || e[91] !== q ? (D = /* @__PURE__ */ B("ul", { className: j, children: [
|
|
228
|
+
G,
|
|
229
229
|
V,
|
|
230
|
-
|
|
231
|
-
] }), e[89] = j, e[90] =
|
|
230
|
+
q
|
|
231
|
+
] }), e[89] = j, e[90] = G, e[91] = q, e[92] = D) : D = e[92];
|
|
232
232
|
let X;
|
|
233
|
-
return e[93] !== S || e[94] !== H || e[95] !== R || e[96] !== E || e[97] !== A || e[98] !==
|
|
233
|
+
return e[93] !== S || e[94] !== H || e[95] !== R || e[96] !== E || e[97] !== A || e[98] !== D ? (X = /* @__PURE__ */ B("section", { ref: ne, className: S, onMouseEnter: H, onMouseLeave: R, children: [
|
|
234
234
|
E,
|
|
235
235
|
A,
|
|
236
|
-
|
|
237
|
-
] }), e[93] = S, e[94] = H, e[95] = R, e[96] = E, e[97] = A, e[98] =
|
|
236
|
+
D
|
|
237
|
+
] }), e[93] = S, e[94] = H, e[95] = R, e[96] = E, e[97] = A, e[98] = D, e[99] = X) : X = e[99], X;
|
|
238
238
|
};
|
|
239
|
-
function
|
|
239
|
+
function De(s) {
|
|
240
240
|
return !s.disabled && !s.notPermitted;
|
|
241
241
|
}
|
|
242
242
|
const Ke = "_top-bar_lnmq0_1", ze = "_top-bar-brand_lnmq0_12", oe = {
|