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