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