react-luminus-components 2.0.5-beta.r19-1 → 2.0.5-beta.r19-3
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 +34 -34
- package/dist/{FormDisabledProvider-DLOuFqTN.js → FormDisabledProvider-B3K6xY2L.js} +1 -1
- package/dist/{FormDisabledProvider-BGEKOIzq.cjs → FormDisabledProvider-CVdRzLl9.cjs} +1 -1
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +14 -14
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +1 -1
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +17 -17
- package/dist/layout/SideMenu/SideMenu.d.ts +3 -1
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +229 -224
- package/dist/main.cjs.js +1 -1
- package/dist/main.es.js +5 -5
- package/dist/{nivo-bar-W-IB9CF6.js → nivo-bar-CrepoHwY.js} +2228 -2224
- package/dist/{nivo-bar-BuQvk7Aq.cjs → nivo-bar-Cwdx9KfY.cjs} +49 -49
- package/dist/style.css +1 -1
- package/dist/{useIsFormDirty-CNKHbm_I.cjs → useIsFormDirty-DWQ_eUNS.cjs} +1 -1
- package/dist/{useIsFormDirty-B4keXaXH.js → useIsFormDirty-Da9_szAL.js} +1 -1
- package/dist/{useLocalStorageState-f6nawg6B.cjs → useLocalStorageState-Dv0z_uwL.cjs} +1 -1
- package/dist/{useLocalStorageState-CMAthsbd.js → useLocalStorageState-eiqxO3hs.js} +1 -1
- package/dist/utils.cjs.js +1 -1
- package/dist/utils.es.js +4 -4
- package/package.json +1 -1
package/dist/layout.es.js
CHANGED
|
@@ -1,290 +1,295 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import { aR as
|
|
3
|
-
import { aC as
|
|
4
|
-
import { useState as
|
|
5
|
-
import { Link as
|
|
1
|
+
import { jsxs as T, jsx as o, Fragment as ae } from "react/jsx-runtime";
|
|
2
|
+
import { aR as ce, a as p, $ as ie, c as se, aE as ue, bv as he, aG as _e, bG as be, bH as fe, bI as ve } from "./nivo-bar-CrepoHwY.js";
|
|
3
|
+
import { aC as ct, bJ as rt } from "./nivo-bar-CrepoHwY.js";
|
|
4
|
+
import { useState as re, useRef as me, useEffect as xe } from "react";
|
|
5
|
+
import { Link as ne } from "react-router";
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "react-flexmonster";
|
|
8
8
|
import "@azure/msal-browser";
|
|
9
9
|
import "@azure/msal-react";
|
|
10
10
|
import "@tanstack/react-query";
|
|
11
11
|
import "react-dom";
|
|
12
|
-
const
|
|
13
|
-
sideMenuItem:
|
|
14
|
-
disabled:
|
|
15
|
-
hidden:
|
|
16
|
-
navButton:
|
|
17
|
-
child:
|
|
18
|
-
text:
|
|
19
|
-
icon:
|
|
20
|
-
collapseIcon:
|
|
21
|
-
collapsed:
|
|
22
|
-
collapseIconMini:
|
|
23
|
-
expanded:
|
|
24
|
-
childrenContainer:
|
|
25
|
-
visible:
|
|
26
|
-
children:
|
|
27
|
-
mobile:
|
|
28
|
-
},
|
|
29
|
-
const e =
|
|
12
|
+
const Me = "_side-menu-item_o72rm_1", Pe = "_disabled_o72rm_6", Ne = "_hidden_o72rm_10", Ie = "_nav-button_o72rm_13", ge = "_child_o72rm_21", ye = "_text_o72rm_26", Ce = "_icon_o72rm_36", Be = "_collapse-icon_o72rm_42", ke = "_collapsed_o72rm_52", Te = "_collapse-icon-mini_o72rm_55", Se = "_expanded_o72rm_86", we = "_children-container_o72rm_92", He = "_visible_o72rm_100", Re = "_children_o72rm_92", $e = "_mobile_o72rm_112", c = {
|
|
13
|
+
sideMenuItem: Me,
|
|
14
|
+
disabled: Pe,
|
|
15
|
+
hidden: Ne,
|
|
16
|
+
navButton: Ie,
|
|
17
|
+
child: ge,
|
|
18
|
+
text: ye,
|
|
19
|
+
icon: Ce,
|
|
20
|
+
collapseIcon: Be,
|
|
21
|
+
collapsed: ke,
|
|
22
|
+
collapseIconMini: Te,
|
|
23
|
+
expanded: Se,
|
|
24
|
+
childrenContainer: we,
|
|
25
|
+
visible: He,
|
|
26
|
+
children: Re,
|
|
27
|
+
mobile: $e
|
|
28
|
+
}, Ee = (l) => {
|
|
29
|
+
const e = se.c(6), {
|
|
30
30
|
item: m,
|
|
31
|
-
menuExpanded:
|
|
32
|
-
useTooltips:
|
|
33
|
-
children:
|
|
34
|
-
} =
|
|
35
|
-
if (m.tooltip && !
|
|
36
|
-
let
|
|
37
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
31
|
+
menuExpanded: _,
|
|
32
|
+
useTooltips: f,
|
|
33
|
+
children: P
|
|
34
|
+
} = l;
|
|
35
|
+
if (m.tooltip && !_ && f) {
|
|
36
|
+
let N;
|
|
37
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (N = {
|
|
38
38
|
show: 1e3,
|
|
39
39
|
hide: 0
|
|
40
|
-
}, e[0] =
|
|
40
|
+
}, e[0] = N) : N = e[0];
|
|
41
41
|
let t;
|
|
42
|
-
e[1] !==
|
|
42
|
+
e[1] !== P ? (t = /* @__PURE__ */ o("div", { children: P }), e[1] = P, e[2] = t) : t = e[2];
|
|
43
43
|
let d;
|
|
44
|
-
return e[3] !== m.tooltip || e[4] !== t ? (d = /* @__PURE__ */
|
|
44
|
+
return e[3] !== m.tooltip || e[4] !== t ? (d = /* @__PURE__ */ o(ue, { text: m.tooltip, placement: "top", delay: N, children: t }), e[3] = m.tooltip, e[4] = t, e[5] = d) : d = e[5], d;
|
|
45
45
|
}
|
|
46
|
-
return
|
|
47
|
-
},
|
|
48
|
-
item:
|
|
46
|
+
return P;
|
|
47
|
+
}, oe = ({
|
|
48
|
+
item: l,
|
|
49
49
|
menuExpanded: e,
|
|
50
50
|
collapsed: m,
|
|
51
|
-
onCollapse:
|
|
52
|
-
currentPath:
|
|
53
|
-
useHover:
|
|
54
|
-
useTooltips:
|
|
51
|
+
onCollapse: _,
|
|
52
|
+
currentPath: f,
|
|
53
|
+
useHover: P,
|
|
54
|
+
useTooltips: N,
|
|
55
55
|
isMobile: t,
|
|
56
56
|
disableMode: d
|
|
57
57
|
}) => {
|
|
58
|
-
var
|
|
59
|
-
const [b,
|
|
60
|
-
return
|
|
61
|
-
[
|
|
58
|
+
var y, a, r, x;
|
|
59
|
+
const [b, s] = re(!1), [u] = f.split("?"), I = l.linkTo === u || ((y = l.children) == null ? void 0 : y.some((n) => n.linkTo === u)), v = me(null);
|
|
60
|
+
return ce([v], () => m && _()), /* @__PURE__ */ T("li", { ref: v, className: p("luminus-side-menu-item", c.sideMenuItem, {
|
|
61
|
+
[c.mobile]: t
|
|
62
62
|
}, {
|
|
63
|
-
[
|
|
63
|
+
[c.expanded]: e
|
|
64
64
|
}, {
|
|
65
|
-
active: b ||
|
|
65
|
+
active: b || I
|
|
66
66
|
}, {
|
|
67
|
-
open: m &&
|
|
67
|
+
open: m && l.children
|
|
68
68
|
}, {
|
|
69
|
-
[d === "disable" ?
|
|
69
|
+
[d === "disable" ? c.disabled : c.hidden]: l.disabled || l.notPermitted || ((a = l.children) == null ? void 0 : a.every((n) => n.notPermitted || n.disabled))
|
|
70
70
|
}, {
|
|
71
|
-
[d === "disable" ? "disabled" : "hidden"]:
|
|
72
|
-
}), onMouseEnter: () =>
|
|
73
|
-
/* @__PURE__ */
|
|
74
|
-
|
|
71
|
+
[d === "disable" ? "disabled" : "hidden"]: l.disabled || l.notPermitted || ((r = l.children) == null ? void 0 : r.every((n) => n.notPermitted || n.disabled))
|
|
72
|
+
}), onMouseEnter: () => s(!0), onMouseLeave: () => s(!1), children: [
|
|
73
|
+
/* @__PURE__ */ o(Ee, { item: l, menuExpanded: e, useTooltips: N, children: l.children ? /* @__PURE__ */ o(ae, { children: /* @__PURE__ */ T("button", { type: "button", className: p("nav-link", c.navButton), onClick: () => {
|
|
74
|
+
_();
|
|
75
75
|
}, children: [
|
|
76
|
-
/* @__PURE__ */
|
|
77
|
-
!
|
|
78
|
-
[
|
|
79
|
-
}), children: /* @__PURE__ */
|
|
80
|
-
e && /* @__PURE__ */
|
|
81
|
-
e && /* @__PURE__ */
|
|
82
|
-
[
|
|
83
|
-
}), children: /* @__PURE__ */
|
|
84
|
-
] }) }) : /* @__PURE__ */
|
|
85
|
-
/* @__PURE__ */
|
|
86
|
-
e && /* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ o("div", { className: p("icon", c.icon), children: l.icon }),
|
|
77
|
+
!P && !e && /* @__PURE__ */ o("div", { className: p("collapse-icon-mini rounded", c.collapseIconMini, {
|
|
78
|
+
[c.collapsed]: m
|
|
79
|
+
}), children: /* @__PURE__ */ o(ie, {}) }),
|
|
80
|
+
e && /* @__PURE__ */ o("div", { className: p("text", c.text, "text-nowrap"), children: l.title }),
|
|
81
|
+
e && /* @__PURE__ */ o("div", { className: p("collapse-icon", c.collapseIcon, {
|
|
82
|
+
[c.collapsed]: m
|
|
83
|
+
}), children: /* @__PURE__ */ o(ie, {}) })
|
|
84
|
+
] }) }) : /* @__PURE__ */ T(ne, { to: l.disabled || l.notPermitted ? "/" : l.linkTo ?? "/", className: p("nav-link", c.navButton), children: [
|
|
85
|
+
/* @__PURE__ */ o("div", { className: p("icon", c.icon), children: l.icon }),
|
|
86
|
+
e && /* @__PURE__ */ o("div", { className: p("text", c.text, "text-nowrap"), children: l.title })
|
|
87
87
|
] }) }),
|
|
88
|
-
/* @__PURE__ */
|
|
89
|
-
[
|
|
90
|
-
}), children: /* @__PURE__ */
|
|
91
|
-
[d === "disable" ?
|
|
88
|
+
/* @__PURE__ */ o("div", { className: p("children-container", c.childrenContainer, {
|
|
89
|
+
[c.visible]: m
|
|
90
|
+
}), children: /* @__PURE__ */ o("div", { className: p("shadow rounded children", c.children), children: (x = l.children) == null ? void 0 : x.map((n) => /* @__PURE__ */ o(ne, { to: n.disabled || n.notPermitted ? "/" : n.linkTo ?? "/", className: p("nav-link child rounded", c.navButton, c.child, {
|
|
91
|
+
[d === "disable" ? c.disabled : c.hidden]: n.disabled || n.notPermitted
|
|
92
92
|
}, {
|
|
93
|
-
[d === "disable" ? "disabled" : "hidden"]:
|
|
94
|
-
}), onClick:
|
|
93
|
+
[d === "disable" ? "disabled" : "hidden"]: n.disabled || n.notPermitted
|
|
94
|
+
}), onClick: _, children: /* @__PURE__ */ o("div", { className: p("text", c.text, "text-nowrap"), children: n.title }) }, n.linkTo)) }) })
|
|
95
95
|
] });
|
|
96
|
-
},
|
|
97
|
-
sideMenu:
|
|
98
|
-
sidebarHeader:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
96
|
+
}, Le = "_side-menu_140bh_1", Oe = "_sidebar-header_140bh_15", je = "_side-menu-pin_140bh_22", Ae = "_side-menu-content_140bh_27", Ge = "_no-top-margin_140bh_33", qe = "_expand_140bh_39", ze = "_only-logo_140bh_43", De = "_mobile_140bh_46", Fe = "_divider_140bh_61", k = {
|
|
97
|
+
sideMenu: Le,
|
|
98
|
+
sidebarHeader: Oe,
|
|
99
|
+
sideMenuPin: je,
|
|
100
|
+
sideMenuContent: Ae,
|
|
101
|
+
noTopMargin: Ge,
|
|
102
|
+
expand: qe,
|
|
103
|
+
onlyLogo: ze,
|
|
104
|
+
mobile: De,
|
|
105
|
+
divider: Fe
|
|
106
|
+
}, Je = 14, it = (l) => {
|
|
107
|
+
const e = se.c(102), {
|
|
107
108
|
headerItem: m,
|
|
108
|
-
searchItem:
|
|
109
|
-
shortcutsItem:
|
|
110
|
-
mainItems:
|
|
111
|
-
secondaryItems:
|
|
109
|
+
searchItem: _,
|
|
110
|
+
shortcutsItem: f,
|
|
111
|
+
mainItems: P,
|
|
112
|
+
secondaryItems: N,
|
|
112
113
|
expanded: t,
|
|
113
114
|
setExpanded: d,
|
|
114
115
|
currentPath: b,
|
|
115
|
-
useHover:
|
|
116
|
-
useTooltips:
|
|
117
|
-
disableMode:
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
} =
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
116
|
+
useHover: s,
|
|
117
|
+
useTooltips: u,
|
|
118
|
+
disableMode: I,
|
|
119
|
+
sideMenuPinned: v,
|
|
120
|
+
toggleSideMenuPinned: y
|
|
121
|
+
} = l, a = I === void 0 ? "disable" : I, [r, x] = re(-1), {
|
|
122
|
+
checkUserHasPermissions: n
|
|
123
|
+
} = he();
|
|
124
|
+
let B;
|
|
125
|
+
if (e[0] !== n || e[1] !== P) {
|
|
126
|
+
let i;
|
|
127
|
+
e[3] !== n ? (i = (h) => {
|
|
125
128
|
var g;
|
|
126
129
|
return {
|
|
127
|
-
...
|
|
128
|
-
notPermitted: !
|
|
129
|
-
children: (g =
|
|
130
|
-
...
|
|
131
|
-
notPermitted: !
|
|
132
|
-
disabled:
|
|
130
|
+
...h,
|
|
131
|
+
notPermitted: !n(h.permissions ?? [], "any"),
|
|
132
|
+
children: (g = h.children) == null ? void 0 : g.map((F) => ({
|
|
133
|
+
...F,
|
|
134
|
+
notPermitted: !n(F.permissions ?? [], "any"),
|
|
135
|
+
disabled: h.disabled || F.disabled
|
|
133
136
|
}))
|
|
134
137
|
};
|
|
135
|
-
}, e[3] =
|
|
138
|
+
}, e[3] = n, e[4] = i) : i = e[4], B = P.map(i), e[0] = n, e[1] = P, e[2] = B;
|
|
136
139
|
} else
|
|
137
|
-
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
if (e[5] !==
|
|
141
|
-
let
|
|
142
|
-
e[8] !==
|
|
140
|
+
B = e[2];
|
|
141
|
+
const S = B;
|
|
142
|
+
let J;
|
|
143
|
+
if (e[5] !== n || e[6] !== N) {
|
|
144
|
+
let i;
|
|
145
|
+
e[8] !== n ? (i = (h) => {
|
|
143
146
|
var g;
|
|
144
147
|
return {
|
|
145
|
-
...
|
|
146
|
-
notPermitted: !
|
|
147
|
-
children: (g =
|
|
148
|
-
...
|
|
149
|
-
notPermitted: !
|
|
148
|
+
...h,
|
|
149
|
+
notPermitted: !n(h.permissions ?? [], "any"),
|
|
150
|
+
children: (g = h.children) == null ? void 0 : g.map((F) => ({
|
|
151
|
+
...F,
|
|
152
|
+
notPermitted: !n(F.permissions ?? [], "any")
|
|
150
153
|
}))
|
|
151
154
|
};
|
|
152
|
-
}, e[8] =
|
|
155
|
+
}, e[8] = n, e[9] = i) : i = e[9], J = N.map(i), e[5] = n, e[6] = N, e[7] = J;
|
|
153
156
|
} else
|
|
154
|
-
|
|
155
|
-
const w =
|
|
156
|
-
let
|
|
157
|
-
e[10] !==
|
|
158
|
-
|
|
159
|
-
}, e[10] =
|
|
160
|
-
const C =
|
|
161
|
-
let
|
|
162
|
-
e[12] !== t ? (
|
|
163
|
-
t ||
|
|
164
|
-
},
|
|
165
|
-
const
|
|
166
|
-
let W;
|
|
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);
|
|
157
|
+
J = e[7];
|
|
158
|
+
const w = J;
|
|
159
|
+
let K;
|
|
160
|
+
e[10] !== r ? (K = (i) => {
|
|
161
|
+
x(i === r ? -1 : i);
|
|
162
|
+
}, e[10] = r, e[11] = K) : K = e[11];
|
|
163
|
+
const C = K;
|
|
164
|
+
let U, W;
|
|
165
|
+
e[12] !== t ? (U = () => {
|
|
166
|
+
t || x(-1);
|
|
167
|
+
}, W = [t], e[12] = t, e[13] = U, e[14] = W) : (U = e[13], W = e[14]), xe(U, W);
|
|
168
|
+
const le = me(null);
|
|
170
169
|
let Q;
|
|
171
|
-
e[
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
170
|
+
e[15] === Symbol.for("react.memo_cache_sentinel") ? (Q = [le], e[15] = Q) : Q = e[15];
|
|
171
|
+
let V;
|
|
172
|
+
e[16] !== d ? (V = () => d(!1), e[16] = d, e[17] = V) : V = e[17], ce(Q, V);
|
|
173
|
+
let X;
|
|
174
|
+
e[18] !== a || e[19] !== S || e[20] !== w ? (X = [...S, ...w].filter((i) => {
|
|
175
|
+
var h;
|
|
176
|
+
return a === "hide" ? !i.disabled && !i.notPermitted && (((h = i.children) == null ? void 0 : h.filter(Ke)) ?? []).length > 0 : !0;
|
|
177
|
+
}), e[18] = a, e[19] = S, e[20] = w, e[21] = X) : X = e[21];
|
|
178
|
+
const pe = X, {
|
|
176
179
|
isMobile: M
|
|
177
|
-
} =
|
|
178
|
-
let
|
|
179
|
-
e[22] !== t || e[23] !== M ? (
|
|
180
|
-
[
|
|
180
|
+
} = _e();
|
|
181
|
+
let H;
|
|
182
|
+
e[22] !== t || e[23] !== M ? (H = p("luminus-side-menu shadow", k.sideMenu, {
|
|
183
|
+
[k.mobile]: M
|
|
181
184
|
}, {
|
|
182
|
-
[
|
|
185
|
+
[k.expand]: t
|
|
183
186
|
}, {
|
|
184
187
|
expand: t
|
|
185
|
-
}), e[22] = t, e[23] = M, e[24] =
|
|
186
|
-
let
|
|
187
|
-
e[25] !== d || e[26] !==
|
|
188
|
-
let
|
|
189
|
-
e[29] !==
|
|
190
|
-
[
|
|
191
|
-
}), e[29] =
|
|
192
|
-
const
|
|
188
|
+
}), e[22] = t, e[23] = M, e[24] = H) : H = e[24];
|
|
189
|
+
let R, $;
|
|
190
|
+
e[25] !== d || e[26] !== s ? (R = () => s && d(!0), $ = () => s && d(!1), e[25] = d, e[26] = s, e[27] = R, e[28] = $) : (R = e[27], $ = e[28]);
|
|
191
|
+
let E;
|
|
192
|
+
e[29] !== s ? (E = p("sidebar-header", k.sidebarHeader, {
|
|
193
|
+
[k.onlyLogo]: s
|
|
194
|
+
}), e[29] = s, e[30] = E) : E = e[30];
|
|
195
|
+
const ee = s ? void 0 : "button";
|
|
193
196
|
let L;
|
|
194
|
-
e[31] !== t || e[32] !== d || e[33] !==
|
|
197
|
+
e[31] !== t || e[32] !== d || e[33] !== s ? (L = s ? void 0 : () => d(!t), e[31] = t, e[32] = d, e[33] = s, e[34] = L) : L = e[34];
|
|
195
198
|
let O;
|
|
196
|
-
e[35] !== t || e[36] !== m || e[37] !==
|
|
197
|
-
/* @__PURE__ */
|
|
199
|
+
e[35] !== t || e[36] !== m || e[37] !== v || e[38] !== y || e[39] !== s ? (O = s ? m : t ? /* @__PURE__ */ T(ae, { children: [
|
|
200
|
+
/* @__PURE__ */ o("div", { role: "button", onClick: (i) => {
|
|
201
|
+
i.stopPropagation(), y();
|
|
202
|
+
}, className: k.sideMenuPin, children: v ? /* @__PURE__ */ o(be, {}) : /* @__PURE__ */ o(fe, {}) }),
|
|
198
203
|
m
|
|
199
|
-
] }) : /* @__PURE__ */
|
|
200
|
-
let E;
|
|
201
|
-
e[39] !== $ || e[40] !== Y || e[41] !== L || e[42] !== O ? (E = /* @__PURE__ */ i("div", { className: $, role: Y, onClick: L, children: O }), e[39] = $, e[40] = Y, e[41] = L, e[42] = O, e[43] = E) : E = e[43];
|
|
202
|
-
let A;
|
|
203
|
-
e[44] !== t || e[45] !== h || e[46] !== x ? (A = t && (h || x) ? /* @__PURE__ */ B("div", { className: "mb-3 d-flex flex-column gap-3", children: [
|
|
204
|
-
x && t ? x : null,
|
|
205
|
-
h && t ? h : null
|
|
206
|
-
] }) : null, e[44] = t, e[45] = h, e[46] = x, e[47] = A) : A = e[47];
|
|
207
|
-
const Z = ce.length > qe;
|
|
204
|
+
] }) : /* @__PURE__ */ o(ve, {}), e[35] = t, e[36] = m, e[37] = v, e[38] = y, e[39] = s, e[40] = O) : O = e[40];
|
|
208
205
|
let j;
|
|
209
|
-
e[
|
|
210
|
-
|
|
211
|
-
|
|
206
|
+
e[41] !== E || e[42] !== ee || e[43] !== L || e[44] !== O ? (j = /* @__PURE__ */ o("div", { className: E, role: ee, onClick: L, children: O }), e[41] = E, e[42] = ee, e[43] = L, e[44] = O, e[45] = j) : j = e[45];
|
|
207
|
+
let A;
|
|
208
|
+
e[46] !== t || e[47] !== _ || e[48] !== f ? (A = t && (_ || f) ? /* @__PURE__ */ T("div", { className: "mb-3 d-flex flex-column gap-3", children: [
|
|
209
|
+
f && t ? f : null,
|
|
210
|
+
_ && t ? _ : null
|
|
211
|
+
] }) : null, e[46] = t, e[47] = _, e[48] = f, e[49] = A) : A = e[49];
|
|
212
|
+
const te = pe.length > Je;
|
|
212
213
|
let G;
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
} else
|
|
217
|
-
G = e[59];
|
|
218
|
-
let V;
|
|
219
|
-
e[69] === Symbol.for("react.memo_cache_sentinel") ? (V = /* @__PURE__ */ i("hr", { className: u("divider", T.divider) }), e[69] = V) : V = e[69];
|
|
214
|
+
e[50] !== te ? (G = p(k.sideMenuContent, {
|
|
215
|
+
[k.noTopMargin]: te
|
|
216
|
+
}), e[50] = te, e[51] = G) : G = e[51];
|
|
220
217
|
let q;
|
|
221
|
-
if (e[
|
|
222
|
-
let
|
|
223
|
-
e[
|
|
218
|
+
if (e[52] !== r || e[53] !== b || e[54] !== a || e[55] !== t || e[56] !== M || e[57] !== S || e[58] !== C || e[59] !== s || e[60] !== u) {
|
|
219
|
+
let i;
|
|
220
|
+
e[62] !== r || e[63] !== b || e[64] !== a || e[65] !== t || e[66] !== M || e[67] !== C || e[68] !== s || e[69] !== u ? (i = (h, g) => /* @__PURE__ */ o(oe, { item: h, menuExpanded: t, collapsed: g === r, onCollapse: () => C(g), currentPath: b, useHover: s, useTooltips: u, isMobile: M, disableMode: a }, h.title), e[62] = r, e[63] = b, e[64] = a, e[65] = t, e[66] = M, e[67] = C, e[68] = s, e[69] = u, e[70] = i) : i = e[70], q = S.map(i), e[52] = r, e[53] = b, e[54] = a, e[55] = t, e[56] = M, e[57] = S, e[58] = C, e[59] = s, e[60] = u, e[61] = q;
|
|
221
|
+
} else
|
|
222
|
+
q = e[61];
|
|
223
|
+
let Y;
|
|
224
|
+
e[71] === Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ o("hr", { className: p("divider", k.divider) }), e[71] = Y) : Y = e[71];
|
|
225
|
+
let z;
|
|
226
|
+
if (e[72] !== r || e[73] !== b || e[74] !== a || e[75] !== t || e[76] !== M || e[77] !== C || e[78] !== w || e[79] !== s || e[80] !== u) {
|
|
227
|
+
let i;
|
|
228
|
+
e[82] !== r || e[83] !== b || e[84] !== a || e[85] !== t || e[86] !== M || e[87] !== C || e[88] !== s || e[89] !== u ? (i = (h, g) => /* @__PURE__ */ o(oe, { item: h, menuExpanded: t, collapsed: g === r, onCollapse: () => C(g), currentPath: b, useHover: s, useTooltips: u, isMobile: M, disableMode: a }, h.title), e[82] = r, e[83] = b, e[84] = a, e[85] = t, e[86] = M, e[87] = C, e[88] = s, e[89] = u, e[90] = i) : i = e[90], z = w.map(i), e[72] = r, e[73] = b, e[74] = a, e[75] = t, e[76] = M, e[77] = C, e[78] = w, e[79] = s, e[80] = u, e[81] = z;
|
|
224
229
|
} else
|
|
225
|
-
|
|
230
|
+
z = e[81];
|
|
226
231
|
let D;
|
|
227
|
-
e[
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
] }), e[
|
|
232
|
-
let
|
|
233
|
-
return e[
|
|
234
|
-
|
|
232
|
+
e[91] !== G || e[92] !== q || e[93] !== z ? (D = /* @__PURE__ */ T("ul", { className: G, children: [
|
|
233
|
+
q,
|
|
234
|
+
Y,
|
|
235
|
+
z
|
|
236
|
+
] }), e[91] = G, e[92] = q, e[93] = z, e[94] = D) : D = e[94];
|
|
237
|
+
let Z;
|
|
238
|
+
return e[95] !== H || e[96] !== R || e[97] !== $ || e[98] !== j || e[99] !== A || e[100] !== D ? (Z = /* @__PURE__ */ T("section", { ref: le, className: H, onMouseEnter: R, onMouseLeave: $, children: [
|
|
239
|
+
j,
|
|
235
240
|
A,
|
|
236
241
|
D
|
|
237
|
-
] }), e[
|
|
242
|
+
] }), e[95] = H, e[96] = R, e[97] = $, e[98] = j, e[99] = A, e[100] = D, e[101] = Z) : Z = e[101], Z;
|
|
238
243
|
};
|
|
239
|
-
function
|
|
240
|
-
return !
|
|
244
|
+
function Ke(l) {
|
|
245
|
+
return !l.disabled && !l.notPermitted;
|
|
241
246
|
}
|
|
242
|
-
const
|
|
243
|
-
topBar:
|
|
244
|
-
topBarBrand:
|
|
245
|
-
},
|
|
246
|
-
const e =
|
|
247
|
+
const Ue = "_top-bar_lnmq0_1", We = "_top-bar-brand_lnmq0_12", de = {
|
|
248
|
+
topBar: Ue,
|
|
249
|
+
topBarBrand: We
|
|
250
|
+
}, ot = (l) => {
|
|
251
|
+
const e = se.c(21), {
|
|
247
252
|
appName: m,
|
|
248
|
-
leftOffset:
|
|
249
|
-
leftContent:
|
|
250
|
-
centerContent:
|
|
251
|
-
rightContent:
|
|
252
|
-
} =
|
|
253
|
+
leftOffset: _,
|
|
254
|
+
leftContent: f,
|
|
255
|
+
centerContent: P,
|
|
256
|
+
rightContent: N
|
|
257
|
+
} = l;
|
|
253
258
|
let t;
|
|
254
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t =
|
|
255
|
-
const d =
|
|
256
|
-
let
|
|
257
|
-
e[1] !== d || e[2] !== b ? (
|
|
259
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (t = p("luminus-top-bar shadow", de.topBar), e[0] = t) : t = e[0];
|
|
260
|
+
const d = _ ? `calc(100% - ${_}px)` : void 0, b = _ ? `${_}px` : void 0;
|
|
261
|
+
let s;
|
|
262
|
+
e[1] !== d || e[2] !== b ? (s = {
|
|
258
263
|
width: d,
|
|
259
264
|
left: b
|
|
260
|
-
}, e[1] = d, e[2] = b, e[3] =
|
|
261
|
-
let
|
|
262
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
263
|
-
let
|
|
264
|
-
e[5] !== m ? (
|
|
265
|
-
let a;
|
|
266
|
-
e[7] !== x || e[8] !== k ? (a = /* @__PURE__ */ B("div", { className: "col-4 d-flex gap-3 align-items-center", children: [
|
|
267
|
-
k,
|
|
268
|
-
x
|
|
269
|
-
] }), e[7] = x, e[8] = k, e[9] = a) : a = e[9];
|
|
270
|
-
const c = N ?? null;
|
|
271
|
-
let y;
|
|
272
|
-
e[10] !== c ? (y = /* @__PURE__ */ i("div", { className: "col-4 d-flex align-items-center", children: c }), e[10] = c, e[11] = y) : y = e[11];
|
|
273
|
-
const p = I ?? null;
|
|
265
|
+
}, e[1] = d, e[2] = b, e[3] = s) : s = e[3];
|
|
266
|
+
let u;
|
|
267
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (u = p("luminus-top-bar-brand", de.topBarBrand), e[4] = u) : u = e[4];
|
|
268
|
+
let I;
|
|
269
|
+
e[5] !== m ? (I = /* @__PURE__ */ o(ne, { to: "/", className: u, children: m }), e[5] = m, e[6] = I) : I = e[6];
|
|
274
270
|
let v;
|
|
275
|
-
e[
|
|
276
|
-
|
|
277
|
-
|
|
271
|
+
e[7] !== f || e[8] !== I ? (v = /* @__PURE__ */ T("div", { className: "col-4 d-flex gap-3 align-items-center", children: [
|
|
272
|
+
I,
|
|
273
|
+
f
|
|
274
|
+
] }), e[7] = f, e[8] = I, e[9] = v) : v = e[9];
|
|
275
|
+
const y = P ?? null;
|
|
276
|
+
let a;
|
|
277
|
+
e[10] !== y ? (a = /* @__PURE__ */ o("div", { className: "col-4 d-flex align-items-center", children: y }), e[10] = y, e[11] = a) : a = e[11];
|
|
278
|
+
const r = N ?? null;
|
|
279
|
+
let x;
|
|
280
|
+
e[12] !== r ? (x = /* @__PURE__ */ o("div", { className: "col-4 d-flex justify-content-end align-items-center", children: r }), e[12] = r, e[13] = x) : x = e[13];
|
|
281
|
+
let n;
|
|
282
|
+
e[14] !== x || e[15] !== v || e[16] !== a ? (n = /* @__PURE__ */ T("div", { className: "w-100 row g-0", children: [
|
|
283
|
+
v,
|
|
278
284
|
a,
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
return e[18] !== l || e[19] !== n ? (P = /* @__PURE__ */ i("nav", { className: t, style: n, children: l }), e[18] = l, e[19] = n, e[20] = P) : P = e[20], P;
|
|
285
|
+
x
|
|
286
|
+
] }), e[14] = x, e[15] = v, e[16] = a, e[17] = n) : n = e[17];
|
|
287
|
+
let B;
|
|
288
|
+
return e[18] !== n || e[19] !== s ? (B = /* @__PURE__ */ o("nav", { className: t, style: s, children: n }), e[18] = n, e[19] = s, e[20] = B) : B = e[20], B;
|
|
284
289
|
};
|
|
285
290
|
export {
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
291
|
+
ct as PageContainer,
|
|
292
|
+
rt as SideContentBar,
|
|
293
|
+
it as SideMenu,
|
|
294
|
+
ot as TopBar
|
|
290
295
|
};
|