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