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