jcicl 0.0.279 → 0.0.283
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/AppContainer/AppContainer.d.ts +1 -0
- package/AppContainer/AppContainer.js +445 -409
- package/Nav/Nav.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
import { jsx as i, jsxs as
|
|
2
|
-
import * as
|
|
3
|
-
import { useState as
|
|
4
|
-
import { c as
|
|
5
|
-
import { n as
|
|
6
|
-
import { c as
|
|
7
|
-
import
|
|
8
|
-
import { Nav as
|
|
9
|
-
import
|
|
10
|
-
import { Button as
|
|
1
|
+
import { jsx as i, jsxs as $, Fragment as xe } from "react/jsx-runtime";
|
|
2
|
+
import * as z from "react";
|
|
3
|
+
import { useState as q } from "react";
|
|
4
|
+
import { c as le } from "../.chunks/createSvgIcon.js";
|
|
5
|
+
import { n as f, i as G } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
|
+
import { c as M } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
|
+
import je from "../AppHeader/AppHeader.js";
|
|
8
|
+
import { Nav as L } from "../Nav/Nav.js";
|
|
9
|
+
import Q from "../ScrollContainer/ScrollContainer.js";
|
|
10
|
+
import { Button as Z } from "../Button/Button.js";
|
|
11
11
|
import t from "../theme.js";
|
|
12
|
-
import { l as
|
|
13
|
-
import { X as
|
|
14
|
-
import { P as r, g as
|
|
15
|
-
import { u as
|
|
16
|
-
import { a as
|
|
17
|
-
import { m as
|
|
18
|
-
import { o as
|
|
19
|
-
import { P as
|
|
20
|
-
import { i as
|
|
21
|
-
import { e as
|
|
22
|
-
import { c as
|
|
23
|
-
import { a as
|
|
24
|
-
import { u as
|
|
25
|
-
function
|
|
26
|
-
const n = o.getBoundingClientRect(),
|
|
27
|
-
let
|
|
12
|
+
import { l as Ue } from "../.chunks/jocologo.js";
|
|
13
|
+
import { X as We } from "../.chunks/Close.js";
|
|
14
|
+
import { P as r, g as Ve, a as Xe, s as ce, r as Ge, c as ee, u as Ye, b as J, d as _e } from "../.chunks/DefaultPropsProvider.js";
|
|
15
|
+
import { u as qe } from "../.chunks/index.js";
|
|
16
|
+
import { a as Pe } from "../.chunks/useTheme.js";
|
|
17
|
+
import { m as Re } from "../.chunks/memoTheme.js";
|
|
18
|
+
import { o as Me, d as Qe, M as Je } from "../.chunks/TextField.js";
|
|
19
|
+
import { P as Ke } from "../.chunks/Paper.js";
|
|
20
|
+
import { i as Ze } from "../.chunks/integerPropType.js";
|
|
21
|
+
import { e as eo, H as oo, g as ro, T as to, r as no, a as ve } from "../.chunks/Portal.js";
|
|
22
|
+
import { c as io } from "../.chunks/chainPropTypes.js";
|
|
23
|
+
import { a as ao } from "../.chunks/TransitionGroupContext.js";
|
|
24
|
+
import { u as we } from "../.chunks/useMediaQuery.js";
|
|
25
|
+
function so(e, o, s) {
|
|
26
|
+
const n = o.getBoundingClientRect(), l = s && s.getBoundingClientRect(), H = Me(o);
|
|
27
|
+
let c;
|
|
28
28
|
if (o.fakeTransform)
|
|
29
|
-
|
|
29
|
+
c = o.fakeTransform;
|
|
30
30
|
else {
|
|
31
|
-
const
|
|
32
|
-
|
|
31
|
+
const d = H.getComputedStyle(o);
|
|
32
|
+
c = d.getPropertyValue("-webkit-transform") || d.getPropertyValue("transform");
|
|
33
33
|
}
|
|
34
|
-
let
|
|
35
|
-
if (
|
|
36
|
-
const
|
|
37
|
-
|
|
34
|
+
let m = 0, w = 0;
|
|
35
|
+
if (c && c !== "none" && typeof c == "string") {
|
|
36
|
+
const d = c.split("(")[1].split(")")[0].split(",");
|
|
37
|
+
m = parseInt(d[4], 10), w = parseInt(d[5], 10);
|
|
38
38
|
}
|
|
39
|
-
return e === "left" ?
|
|
39
|
+
return e === "left" ? l ? `translateX(${l.right + m - n.left}px)` : `translateX(${H.innerWidth + m - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - m}px)` : `translateX(-${n.left + n.width - m}px)` : e === "up" ? l ? `translateY(${l.bottom + w - n.top}px)` : `translateY(${H.innerHeight + w - n.top}px)` : l ? `translateY(-${n.top - l.top + n.height - w}px)` : `translateY(-${n.top + n.height - w}px)`;
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function He(e) {
|
|
42
42
|
return typeof e == "function" ? e() : e;
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
const n =
|
|
46
|
-
|
|
44
|
+
function K(e, o, s) {
|
|
45
|
+
const n = He(s), l = so(e, o, n);
|
|
46
|
+
l && (o.style.webkitTransform = l, o.style.transform = l);
|
|
47
47
|
}
|
|
48
|
-
const
|
|
49
|
-
const n =
|
|
48
|
+
const Ee = /* @__PURE__ */ z.forwardRef(function(o, s) {
|
|
49
|
+
const n = Pe(), l = {
|
|
50
50
|
enter: n.transitions.easing.easeOut,
|
|
51
51
|
exit: n.transitions.easing.sharp
|
|
52
|
-
},
|
|
52
|
+
}, H = {
|
|
53
53
|
enter: n.transitions.duration.enteringScreen,
|
|
54
54
|
exit: n.transitions.duration.leavingScreen
|
|
55
55
|
}, {
|
|
56
|
-
addEndListener:
|
|
57
|
-
appear:
|
|
58
|
-
children:
|
|
59
|
-
container:
|
|
60
|
-
direction:
|
|
61
|
-
easing:
|
|
62
|
-
in:
|
|
63
|
-
onEnter:
|
|
64
|
-
onEntered:
|
|
65
|
-
onEntering:
|
|
66
|
-
onExit:
|
|
67
|
-
onExited:
|
|
68
|
-
onExiting:
|
|
69
|
-
style:
|
|
70
|
-
timeout:
|
|
56
|
+
addEndListener: c,
|
|
57
|
+
appear: m = !0,
|
|
58
|
+
children: w,
|
|
59
|
+
container: d,
|
|
60
|
+
direction: g = "down",
|
|
61
|
+
easing: O = l,
|
|
62
|
+
in: T,
|
|
63
|
+
onEnter: F,
|
|
64
|
+
onEntered: W,
|
|
65
|
+
onEntering: E,
|
|
66
|
+
onExit: N,
|
|
67
|
+
onExited: D,
|
|
68
|
+
onExiting: j,
|
|
69
|
+
style: y,
|
|
70
|
+
timeout: S = H,
|
|
71
71
|
// eslint-disable-next-line react/prop-types
|
|
72
|
-
TransitionComponent:
|
|
73
|
-
...
|
|
74
|
-
} = o,
|
|
75
|
-
|
|
76
|
-
},
|
|
77
|
-
|
|
78
|
-
}),
|
|
79
|
-
const
|
|
80
|
-
timeout:
|
|
81
|
-
style:
|
|
82
|
-
easing:
|
|
72
|
+
TransitionComponent: P = to,
|
|
73
|
+
...I
|
|
74
|
+
} = o, u = z.useRef(null), b = ao(ro(w), u, s), h = (a) => (p) => {
|
|
75
|
+
a && (p === void 0 ? a(u.current) : a(u.current, p));
|
|
76
|
+
}, C = h((a, p) => {
|
|
77
|
+
K(g, a, d), no(a), F && F(a, p);
|
|
78
|
+
}), x = h((a, p) => {
|
|
79
|
+
const B = ve({
|
|
80
|
+
timeout: S,
|
|
81
|
+
style: y,
|
|
82
|
+
easing: O
|
|
83
83
|
}, {
|
|
84
84
|
mode: "enter"
|
|
85
85
|
});
|
|
86
|
-
|
|
87
|
-
...
|
|
88
|
-
}),
|
|
89
|
-
...
|
|
90
|
-
}),
|
|
91
|
-
}),
|
|
92
|
-
const
|
|
93
|
-
timeout:
|
|
94
|
-
style:
|
|
95
|
-
easing:
|
|
86
|
+
a.style.webkitTransition = n.transitions.create("-webkit-transform", {
|
|
87
|
+
...B
|
|
88
|
+
}), a.style.transition = n.transitions.create("transform", {
|
|
89
|
+
...B
|
|
90
|
+
}), a.style.webkitTransform = "none", a.style.transform = "none", E && E(a, p);
|
|
91
|
+
}), v = h(W), R = h(j), oe = h((a) => {
|
|
92
|
+
const p = ve({
|
|
93
|
+
timeout: S,
|
|
94
|
+
style: y,
|
|
95
|
+
easing: O
|
|
96
96
|
}, {
|
|
97
97
|
mode: "exit"
|
|
98
98
|
});
|
|
99
|
-
|
|
100
|
-
}),
|
|
101
|
-
|
|
102
|
-
}),
|
|
103
|
-
|
|
104
|
-
},
|
|
105
|
-
|
|
106
|
-
}, [
|
|
107
|
-
return
|
|
108
|
-
if (
|
|
99
|
+
a.style.webkitTransition = n.transitions.create("-webkit-transform", p), a.style.transition = n.transitions.create("transform", p), K(g, a, d), N && N(a);
|
|
100
|
+
}), re = h((a) => {
|
|
101
|
+
a.style.webkitTransition = "", a.style.transition = "", D && D(a);
|
|
102
|
+
}), te = (a) => {
|
|
103
|
+
c && c(u.current, a);
|
|
104
|
+
}, Y = z.useCallback(() => {
|
|
105
|
+
u.current && K(g, u.current, d);
|
|
106
|
+
}, [g, d]);
|
|
107
|
+
return z.useEffect(() => {
|
|
108
|
+
if (T || g === "down" || g === "right")
|
|
109
109
|
return;
|
|
110
|
-
const
|
|
111
|
-
|
|
112
|
-
}),
|
|
113
|
-
return
|
|
114
|
-
|
|
110
|
+
const a = Qe(() => {
|
|
111
|
+
u.current && K(g, u.current, d);
|
|
112
|
+
}), p = Me(u.current);
|
|
113
|
+
return p.addEventListener("resize", a), () => {
|
|
114
|
+
a.clear(), p.removeEventListener("resize", a);
|
|
115
115
|
};
|
|
116
|
-
}, [
|
|
117
|
-
|
|
118
|
-
}, [
|
|
119
|
-
nodeRef:
|
|
120
|
-
onEnter:
|
|
121
|
-
onEntered:
|
|
122
|
-
onEntering:
|
|
123
|
-
onExit:
|
|
124
|
-
onExited:
|
|
125
|
-
onExiting:
|
|
126
|
-
addEndListener:
|
|
127
|
-
appear:
|
|
128
|
-
in:
|
|
129
|
-
timeout:
|
|
130
|
-
...
|
|
131
|
-
children: (
|
|
132
|
-
ref:
|
|
116
|
+
}, [g, T, d]), z.useEffect(() => {
|
|
117
|
+
T || Y();
|
|
118
|
+
}, [T, Y]), /* @__PURE__ */ i(P, {
|
|
119
|
+
nodeRef: u,
|
|
120
|
+
onEnter: C,
|
|
121
|
+
onEntered: v,
|
|
122
|
+
onEntering: x,
|
|
123
|
+
onExit: oe,
|
|
124
|
+
onExited: re,
|
|
125
|
+
onExiting: R,
|
|
126
|
+
addEndListener: te,
|
|
127
|
+
appear: m,
|
|
128
|
+
in: T,
|
|
129
|
+
timeout: S,
|
|
130
|
+
...I,
|
|
131
|
+
children: (a, p) => /* @__PURE__ */ z.cloneElement(w, {
|
|
132
|
+
ref: b,
|
|
133
133
|
style: {
|
|
134
|
-
visibility:
|
|
135
|
-
...
|
|
136
|
-
...
|
|
134
|
+
visibility: a === "exited" && !T ? "hidden" : void 0,
|
|
135
|
+
...y,
|
|
136
|
+
...w.props.style
|
|
137
137
|
},
|
|
138
|
-
...
|
|
138
|
+
...p
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
});
|
|
142
|
-
process.env.NODE_ENV !== "production" && (
|
|
142
|
+
process.env.NODE_ENV !== "production" && (Ee.propTypes = {
|
|
143
143
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
144
144
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
145
145
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -159,17 +159,17 @@ process.env.NODE_ENV !== "production" && (Te.propTypes = {
|
|
|
159
159
|
/**
|
|
160
160
|
* A single child content element.
|
|
161
161
|
*/
|
|
162
|
-
children:
|
|
162
|
+
children: eo.isRequired,
|
|
163
163
|
/**
|
|
164
164
|
* An HTML element, or a function that returns one.
|
|
165
165
|
* It's used to set the container the Slide is transitioning from.
|
|
166
166
|
*/
|
|
167
|
-
container:
|
|
167
|
+
container: io(r.oneOfType([oo, r.func]), (e) => {
|
|
168
168
|
if (e.open) {
|
|
169
|
-
const o =
|
|
169
|
+
const o = He(e.container);
|
|
170
170
|
if (o && o.nodeType === 1) {
|
|
171
|
-
const
|
|
172
|
-
if (process.env.NODE_ENV !== "test" &&
|
|
171
|
+
const s = o.getBoundingClientRect();
|
|
172
|
+
if (process.env.NODE_ENV !== "test" && s.top === 0 && s.left === 0 && s.right === 0 && s.bottom === 0)
|
|
173
173
|
return new Error(["MUI: The `container` prop provided to the component is invalid.", "The anchor element should be part of the document layout.", "Make sure the element is present in the document or that it's not display none."].join(`
|
|
174
174
|
`));
|
|
175
175
|
} else if (!o || typeof o.getBoundingClientRect != "function" || o.contextElement != null && o.contextElement.nodeType !== 1)
|
|
@@ -241,53 +241,53 @@ process.env.NODE_ENV !== "production" && (Te.propTypes = {
|
|
|
241
241
|
exit: r.number
|
|
242
242
|
})])
|
|
243
243
|
});
|
|
244
|
-
function
|
|
245
|
-
return
|
|
244
|
+
function lo(e) {
|
|
245
|
+
return Ve("MuiDrawer", e);
|
|
246
246
|
}
|
|
247
|
-
|
|
248
|
-
const
|
|
247
|
+
Xe("MuiDrawer", ["root", "docked", "paper", "paperAnchorLeft", "paperAnchorRight", "paperAnchorTop", "paperAnchorBottom", "paperAnchorDockedLeft", "paperAnchorDockedRight", "paperAnchorDockedTop", "paperAnchorDockedBottom", "modal"]);
|
|
248
|
+
const De = (e, o) => {
|
|
249
249
|
const {
|
|
250
|
-
ownerState:
|
|
250
|
+
ownerState: s
|
|
251
251
|
} = e;
|
|
252
|
-
return [o.root, (
|
|
253
|
-
},
|
|
252
|
+
return [o.root, (s.variant === "permanent" || s.variant === "persistent") && o.docked, o.modal];
|
|
253
|
+
}, co = (e) => {
|
|
254
254
|
const {
|
|
255
255
|
classes: o,
|
|
256
|
-
anchor:
|
|
256
|
+
anchor: s,
|
|
257
257
|
variant: n
|
|
258
|
-
} = e,
|
|
258
|
+
} = e, l = {
|
|
259
259
|
root: ["root"],
|
|
260
260
|
docked: [(n === "permanent" || n === "persistent") && "docked"],
|
|
261
261
|
modal: ["modal"],
|
|
262
|
-
paper: ["paper", `paperAnchor${
|
|
262
|
+
paper: ["paper", `paperAnchor${ee(s)}`, n !== "temporary" && `paperAnchorDocked${ee(s)}`]
|
|
263
263
|
};
|
|
264
|
-
return
|
|
265
|
-
},
|
|
264
|
+
return _e(l, lo, o);
|
|
265
|
+
}, po = ce(Je, {
|
|
266
266
|
name: "MuiDrawer",
|
|
267
267
|
slot: "Root",
|
|
268
|
-
overridesResolver:
|
|
269
|
-
})(
|
|
268
|
+
overridesResolver: De
|
|
269
|
+
})(Re(({
|
|
270
270
|
theme: e
|
|
271
271
|
}) => ({
|
|
272
272
|
zIndex: (e.vars || e).zIndex.drawer
|
|
273
|
-
}))),
|
|
274
|
-
shouldForwardProp:
|
|
273
|
+
}))), ke = ce("div", {
|
|
274
|
+
shouldForwardProp: Ge,
|
|
275
275
|
name: "MuiDrawer",
|
|
276
276
|
slot: "Docked",
|
|
277
277
|
skipVariantsResolver: !1,
|
|
278
|
-
overridesResolver:
|
|
278
|
+
overridesResolver: De
|
|
279
279
|
})({
|
|
280
280
|
flex: "0 0 auto"
|
|
281
|
-
}),
|
|
281
|
+
}), ho = ce(Ke, {
|
|
282
282
|
name: "MuiDrawer",
|
|
283
283
|
slot: "Paper",
|
|
284
284
|
overridesResolver: (e, o) => {
|
|
285
285
|
const {
|
|
286
|
-
ownerState:
|
|
286
|
+
ownerState: s
|
|
287
287
|
} = e;
|
|
288
|
-
return [o.paper, o[`paperAnchor${
|
|
288
|
+
return [o.paper, o[`paperAnchor${ee(s.anchor)}`], s.variant !== "temporary" && o[`paperAnchorDocked${ee(s.anchor)}`]];
|
|
289
289
|
}
|
|
290
|
-
})(
|
|
290
|
+
})(Re(({
|
|
291
291
|
theme: e
|
|
292
292
|
}) => ({
|
|
293
293
|
overflowY: "auto",
|
|
@@ -371,108 +371,108 @@ const Me = (e, o) => {
|
|
|
371
371
|
borderTop: `1px solid ${(e.vars || e).palette.divider}`
|
|
372
372
|
}
|
|
373
373
|
}]
|
|
374
|
-
}))),
|
|
374
|
+
}))), Se = {
|
|
375
375
|
left: "right",
|
|
376
376
|
right: "left",
|
|
377
377
|
top: "down",
|
|
378
378
|
bottom: "up"
|
|
379
379
|
};
|
|
380
|
-
function
|
|
380
|
+
function uo(e) {
|
|
381
381
|
return ["left", "right"].includes(e);
|
|
382
382
|
}
|
|
383
|
-
function
|
|
383
|
+
function fo({
|
|
384
384
|
direction: e
|
|
385
385
|
}, o) {
|
|
386
|
-
return e === "rtl" &&
|
|
386
|
+
return e === "rtl" && uo(o) ? Se[o] : o;
|
|
387
387
|
}
|
|
388
|
-
const
|
|
389
|
-
const n =
|
|
388
|
+
const U = /* @__PURE__ */ z.forwardRef(function(o, s) {
|
|
389
|
+
const n = Ye({
|
|
390
390
|
props: o,
|
|
391
391
|
name: "MuiDrawer"
|
|
392
|
-
}),
|
|
393
|
-
enter:
|
|
394
|
-
exit:
|
|
392
|
+
}), l = Pe(), H = qe(), c = {
|
|
393
|
+
enter: l.transitions.duration.enteringScreen,
|
|
394
|
+
exit: l.transitions.duration.leavingScreen
|
|
395
395
|
}, {
|
|
396
|
-
anchor:
|
|
397
|
-
BackdropProps:
|
|
398
|
-
children:
|
|
399
|
-
className:
|
|
400
|
-
elevation:
|
|
401
|
-
hideBackdrop:
|
|
396
|
+
anchor: m = "left",
|
|
397
|
+
BackdropProps: w,
|
|
398
|
+
children: d,
|
|
399
|
+
className: g,
|
|
400
|
+
elevation: O = 16,
|
|
401
|
+
hideBackdrop: T = !1,
|
|
402
402
|
ModalProps: {
|
|
403
|
-
BackdropProps:
|
|
404
|
-
...
|
|
403
|
+
BackdropProps: F,
|
|
404
|
+
...W
|
|
405
405
|
} = {},
|
|
406
|
-
onClose:
|
|
407
|
-
open:
|
|
408
|
-
PaperProps:
|
|
409
|
-
SlideProps:
|
|
406
|
+
onClose: E,
|
|
407
|
+
open: N = !1,
|
|
408
|
+
PaperProps: D = {},
|
|
409
|
+
SlideProps: j,
|
|
410
410
|
// eslint-disable-next-line react/prop-types
|
|
411
|
-
TransitionComponent:
|
|
412
|
-
transitionDuration:
|
|
413
|
-
variant:
|
|
414
|
-
...
|
|
415
|
-
} = n,
|
|
416
|
-
|
|
417
|
-
|
|
411
|
+
TransitionComponent: y = Ee,
|
|
412
|
+
transitionDuration: S = c,
|
|
413
|
+
variant: P = "temporary",
|
|
414
|
+
...I
|
|
415
|
+
} = n, u = z.useRef(!1);
|
|
416
|
+
z.useEffect(() => {
|
|
417
|
+
u.current = !0;
|
|
418
418
|
}, []);
|
|
419
|
-
const
|
|
420
|
-
direction:
|
|
421
|
-
},
|
|
419
|
+
const b = fo({
|
|
420
|
+
direction: H ? "rtl" : "ltr"
|
|
421
|
+
}, m), C = {
|
|
422
422
|
...n,
|
|
423
|
-
anchor:
|
|
424
|
-
elevation:
|
|
425
|
-
open:
|
|
426
|
-
variant:
|
|
427
|
-
...
|
|
428
|
-
},
|
|
429
|
-
elevation:
|
|
423
|
+
anchor: m,
|
|
424
|
+
elevation: O,
|
|
425
|
+
open: N,
|
|
426
|
+
variant: P,
|
|
427
|
+
...I
|
|
428
|
+
}, x = co(C), v = /* @__PURE__ */ i(ho, {
|
|
429
|
+
elevation: P === "temporary" ? O : 0,
|
|
430
430
|
square: !0,
|
|
431
|
-
...
|
|
432
|
-
className:
|
|
433
|
-
ownerState:
|
|
434
|
-
children:
|
|
431
|
+
...D,
|
|
432
|
+
className: J(x.paper, D.className),
|
|
433
|
+
ownerState: C,
|
|
434
|
+
children: d
|
|
435
435
|
});
|
|
436
|
-
if (
|
|
437
|
-
return /* @__PURE__ */ i(
|
|
438
|
-
className:
|
|
439
|
-
ownerState:
|
|
440
|
-
ref:
|
|
441
|
-
...
|
|
442
|
-
children:
|
|
436
|
+
if (P === "permanent")
|
|
437
|
+
return /* @__PURE__ */ i(ke, {
|
|
438
|
+
className: J(x.root, x.docked, g),
|
|
439
|
+
ownerState: C,
|
|
440
|
+
ref: s,
|
|
441
|
+
...I,
|
|
442
|
+
children: v
|
|
443
443
|
});
|
|
444
|
-
const
|
|
445
|
-
in:
|
|
446
|
-
direction:
|
|
447
|
-
timeout:
|
|
448
|
-
appear:
|
|
449
|
-
...
|
|
450
|
-
children:
|
|
444
|
+
const R = /* @__PURE__ */ i(y, {
|
|
445
|
+
in: N,
|
|
446
|
+
direction: Se[b],
|
|
447
|
+
timeout: S,
|
|
448
|
+
appear: u.current,
|
|
449
|
+
...j,
|
|
450
|
+
children: v
|
|
451
451
|
});
|
|
452
|
-
return
|
|
453
|
-
className:
|
|
454
|
-
ownerState:
|
|
455
|
-
ref:
|
|
456
|
-
...
|
|
457
|
-
children:
|
|
458
|
-
}) : /* @__PURE__ */ i(
|
|
452
|
+
return P === "persistent" ? /* @__PURE__ */ i(ke, {
|
|
453
|
+
className: J(x.root, x.docked, g),
|
|
454
|
+
ownerState: C,
|
|
455
|
+
ref: s,
|
|
456
|
+
...I,
|
|
457
|
+
children: R
|
|
458
|
+
}) : /* @__PURE__ */ i(po, {
|
|
459
459
|
BackdropProps: {
|
|
460
|
-
...
|
|
461
|
-
...
|
|
462
|
-
transitionDuration:
|
|
460
|
+
...w,
|
|
461
|
+
...F,
|
|
462
|
+
transitionDuration: S
|
|
463
463
|
},
|
|
464
|
-
className:
|
|
465
|
-
open:
|
|
466
|
-
ownerState:
|
|
467
|
-
onClose:
|
|
468
|
-
hideBackdrop:
|
|
469
|
-
ref:
|
|
470
|
-
...
|
|
471
|
-
...
|
|
472
|
-
children:
|
|
464
|
+
className: J(x.root, x.modal, g),
|
|
465
|
+
open: N,
|
|
466
|
+
ownerState: C,
|
|
467
|
+
onClose: E,
|
|
468
|
+
hideBackdrop: T,
|
|
469
|
+
ref: s,
|
|
470
|
+
...I,
|
|
471
|
+
...W,
|
|
472
|
+
children: R
|
|
473
473
|
});
|
|
474
474
|
});
|
|
475
|
-
process.env.NODE_ENV !== "production" && (
|
|
475
|
+
process.env.NODE_ENV !== "production" && (U.propTypes = {
|
|
476
476
|
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
|
477
477
|
// │ These PropTypes are generated from the TypeScript type definitions. │
|
|
478
478
|
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
|
@@ -502,7 +502,7 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
502
502
|
* The elevation of the drawer.
|
|
503
503
|
* @default 16
|
|
504
504
|
*/
|
|
505
|
-
elevation:
|
|
505
|
+
elevation: Ze,
|
|
506
506
|
/**
|
|
507
507
|
* If `true`, the backdrop is not rendered.
|
|
508
508
|
* @default false
|
|
@@ -558,14 +558,14 @@ process.env.NODE_ENV !== "production" && (W.propTypes = {
|
|
|
558
558
|
*/
|
|
559
559
|
variant: r.oneOf(["permanent", "persistent", "temporary"])
|
|
560
560
|
});
|
|
561
|
-
const
|
|
561
|
+
const ye = le(/* @__PURE__ */ i("path", {
|
|
562
562
|
d: "m12 4-1.41 1.41L16.17 11H4v2h12.17l-5.58 5.59L12 20l8-8z"
|
|
563
|
-
}), "ArrowForward"),
|
|
563
|
+
}), "ArrowForward"), Ce = le(/* @__PURE__ */ i("path", {
|
|
564
564
|
d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2m5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12z"
|
|
565
|
-
}), "Cancel"),
|
|
565
|
+
}), "Cancel"), mo = le(/* @__PURE__ */ i("path", {
|
|
566
566
|
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
|
567
|
-
}), "MoreHoriz"),
|
|
568
|
-
shouldForwardProp: (e) =>
|
|
567
|
+
}), "MoreHoriz"), go = f("div", {
|
|
568
|
+
shouldForwardProp: (e) => G(e)
|
|
569
569
|
})(({ backgroundColor: e }) => ({
|
|
570
570
|
display: "flex",
|
|
571
571
|
flexDirection: "column",
|
|
@@ -575,7 +575,7 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
575
575
|
height: "100vh",
|
|
576
576
|
fontFamily: "Roboto, sans-serif",
|
|
577
577
|
overflow: "hidden"
|
|
578
|
-
})),
|
|
578
|
+
})), bo = f("div")(
|
|
579
579
|
({ tabletPadding: e, mobile: o }) => ({
|
|
580
580
|
display: "flex",
|
|
581
581
|
flexDirection: o ? "column-reverse" : "row",
|
|
@@ -587,13 +587,13 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
587
587
|
boxSizing: "border-box",
|
|
588
588
|
minHeight: `calc(100% - ${t.constants.appHeaderHeight}px)`
|
|
589
589
|
})
|
|
590
|
-
),
|
|
591
|
-
shouldForwardProp: (e) =>
|
|
592
|
-
})(({ withActionsPanel: e, tablet: o, borderColor:
|
|
590
|
+
), xo = f("div", {
|
|
591
|
+
shouldForwardProp: (e) => G(e)
|
|
592
|
+
})(({ withActionsPanel: e, tablet: o, borderColor: s, backgroundColor: n }) => ({
|
|
593
593
|
display: "flex",
|
|
594
594
|
flexDirection: "column",
|
|
595
595
|
opacity: e ? 1 : 0,
|
|
596
|
-
border: `1px solid ${
|
|
596
|
+
border: `1px solid ${s}`,
|
|
597
597
|
borderRight: 0,
|
|
598
598
|
borderRadius: "4px",
|
|
599
599
|
borderTopRightRadius: 0,
|
|
@@ -608,9 +608,29 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
608
608
|
...!e && {
|
|
609
609
|
border: "none"
|
|
610
610
|
}
|
|
611
|
-
})),
|
|
611
|
+
})), vo = f("div", {
|
|
612
|
+
shouldForwardProp: (e) => G(e)
|
|
613
|
+
})(({ show: e, width: o = t.constants.navDefaultWidth, borderColor: s, backgroundColor: n }) => ({
|
|
614
|
+
display: "flex",
|
|
615
|
+
flexDirection: "column",
|
|
616
|
+
alignItems: "center",
|
|
617
|
+
opacity: e ? 1 : 0,
|
|
618
|
+
border: `1px solid ${s}`,
|
|
619
|
+
borderRight: 0,
|
|
620
|
+
borderRadius: "4px",
|
|
621
|
+
borderTopRightRadius: 0,
|
|
622
|
+
borderBottomRightRadius: 0,
|
|
623
|
+
height: e ? "calc(100% + 2px)" : "100%",
|
|
624
|
+
boxSizing: "border-box",
|
|
625
|
+
backgroundColor: n,
|
|
626
|
+
width: e ? `${o}px` : 0,
|
|
627
|
+
transition: "313ms all ease-in-out",
|
|
628
|
+
...!e && {
|
|
629
|
+
border: "none"
|
|
630
|
+
}
|
|
631
|
+
})), wo = f(U)(
|
|
612
632
|
({ shadowColor: e, backgroundColor: o }) => ({
|
|
613
|
-
...
|
|
633
|
+
...M`
|
|
614
634
|
top: ${t.constants.appHeaderHeight}px;
|
|
615
635
|
font-family: 'Roboto';
|
|
616
636
|
|
|
@@ -632,8 +652,8 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
632
652
|
}
|
|
633
653
|
`
|
|
634
654
|
})
|
|
635
|
-
),
|
|
636
|
-
...
|
|
655
|
+
), $e = f(Z)(({ iconColor: e, highlight1: o, highlight2: s, rightDrawer: n = !1 }) => ({
|
|
656
|
+
...M`
|
|
637
657
|
position: absolute;
|
|
638
658
|
top: -0.5rem;
|
|
639
659
|
${!n && { right: "-0.5rem" }};
|
|
@@ -651,17 +671,17 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
651
671
|
:focus-visible {
|
|
652
672
|
svg {
|
|
653
673
|
filter: unset;
|
|
654
|
-
background-color: ${
|
|
674
|
+
background-color: ${s};
|
|
655
675
|
fill: ${e};
|
|
656
676
|
}
|
|
657
677
|
}
|
|
658
678
|
`
|
|
659
|
-
})),
|
|
660
|
-
shouldForwardProp: (e) =>
|
|
661
|
-
})(({ withActionsPanel: e, borderColor: o, backgroundColor:
|
|
679
|
+
})), ko = f("div", {
|
|
680
|
+
shouldForwardProp: (e) => G(e)
|
|
681
|
+
})(({ withActionsPanel: e, borderColor: o, backgroundColor: s, mobileScreen: n }) => ({
|
|
662
682
|
display: "flex",
|
|
663
683
|
overflow: "hidden",
|
|
664
|
-
backgroundColor:
|
|
684
|
+
backgroundColor: s,
|
|
665
685
|
borderRadius: "4px",
|
|
666
686
|
borderBottomLeftRadius: e ? 0 : "4px",
|
|
667
687
|
borderTopLeftRadius: e ? 0 : "4px",
|
|
@@ -679,10 +699,10 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
679
699
|
borderBottomLeftRadius: 0,
|
|
680
700
|
borderTopLeftRadius: 0
|
|
681
701
|
}
|
|
682
|
-
})),
|
|
702
|
+
})), yo = f(U, {
|
|
683
703
|
shouldForwardProp: (e) => !["backgroundColor", "shadowColor"].includes(e)
|
|
684
704
|
})(({ backgroundColor: e, shadowColor: o }) => ({
|
|
685
|
-
...
|
|
705
|
+
...M`
|
|
686
706
|
z-index: 1327;
|
|
687
707
|
|
|
688
708
|
.MuiDrawer-paper {
|
|
@@ -697,10 +717,10 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
697
717
|
background-color: transparent;
|
|
698
718
|
}
|
|
699
719
|
`
|
|
700
|
-
})),
|
|
720
|
+
})), Co = f(U, {
|
|
701
721
|
shouldForwardProp: (e) => e != "backgroundColor"
|
|
702
722
|
})(({ backgroundColor: e }) => ({
|
|
703
|
-
...
|
|
723
|
+
...M`
|
|
704
724
|
z-index: 1300;
|
|
705
725
|
|
|
706
726
|
.MuiDrawer-paper {
|
|
@@ -719,10 +739,10 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
719
739
|
background-color: transparent;
|
|
720
740
|
}
|
|
721
741
|
`
|
|
722
|
-
})),
|
|
723
|
-
shouldForwardProp: (e) =>
|
|
742
|
+
})), $o = f("div", {
|
|
743
|
+
shouldForwardProp: (e) => G(e)
|
|
724
744
|
})(({ backgroundColor: e, open: o }) => ({
|
|
725
|
-
...
|
|
745
|
+
...M`
|
|
726
746
|
position: fixed;
|
|
727
747
|
transition: height 201ms cubic-bezier(0, 0, 0.2, 1);
|
|
728
748
|
z-index: 1300;
|
|
@@ -734,15 +754,15 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
734
754
|
box-sizing: border-box;
|
|
735
755
|
padding: ${o ? "16px" : 0};
|
|
736
756
|
`
|
|
737
|
-
})),
|
|
738
|
-
...
|
|
757
|
+
})), To = f("h1")(({ color: e }) => ({
|
|
758
|
+
...M`
|
|
739
759
|
margin: 0;
|
|
740
760
|
font-size: 2.1rem;
|
|
741
761
|
font-family: 'Roboto';
|
|
742
762
|
color: ${e};
|
|
743
763
|
`
|
|
744
|
-
})),
|
|
745
|
-
...
|
|
764
|
+
})), Po = f(U)(({ backgroundQuaternary: e }) => ({
|
|
765
|
+
...M`
|
|
746
766
|
top: ${t.constants.appHeaderHeight}px;
|
|
747
767
|
font-family: 'Roboto';
|
|
748
768
|
z-index: 1336;
|
|
@@ -761,21 +781,21 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
761
781
|
background-color: transparent;
|
|
762
782
|
}
|
|
763
783
|
`
|
|
764
|
-
})),
|
|
765
|
-
...
|
|
784
|
+
})), Ro = f("img")(({ width: e, height: o }) => ({
|
|
785
|
+
...M`
|
|
766
786
|
width: ${e}px;
|
|
767
787
|
height: ${o}px;
|
|
768
788
|
`
|
|
769
|
-
})),
|
|
770
|
-
...
|
|
789
|
+
})), Te = f("div")(({ justifyStart: e }) => ({
|
|
790
|
+
...M`
|
|
771
791
|
display: flex;
|
|
772
792
|
flex-direction: row;
|
|
773
793
|
align-items: flex-start;
|
|
774
794
|
justify-content: ${e ? "start" : "space-between"};
|
|
775
795
|
padding: 8px 16px 8px 24px;
|
|
776
796
|
`
|
|
777
|
-
})),
|
|
778
|
-
...
|
|
797
|
+
})), Mo = f(U)(() => ({
|
|
798
|
+
...M`
|
|
779
799
|
top: ${t.constants.appHeaderHeight}px;
|
|
780
800
|
font-family: 'Roboto';
|
|
781
801
|
|
|
@@ -796,197 +816,203 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
796
816
|
background-color: transparent;
|
|
797
817
|
}
|
|
798
818
|
`
|
|
799
|
-
})),
|
|
819
|
+
})), Zo = ({
|
|
800
820
|
navProps: e,
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
821
|
+
activeSubnavRoute: o,
|
|
822
|
+
appHeaderProps: s = {},
|
|
823
|
+
userInfo: n,
|
|
824
|
+
userSettingsEnabled: l = !0,
|
|
825
|
+
userProfileMenuItems: H = [],
|
|
826
|
+
actionsPanelContent: c,
|
|
827
|
+
navWidth: m = t.constants.navDefaultWidth,
|
|
828
|
+
breakpoints: w = { mobile: t.screenSizes.mobile, tablet: t.screenSizes.tablet },
|
|
829
|
+
children: d,
|
|
830
|
+
themeColors: g = {},
|
|
831
|
+
logoProps: O = {},
|
|
832
|
+
loggedIn: T,
|
|
833
|
+
mobileActionsPanelOpen: F
|
|
813
834
|
}) => {
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
835
|
+
var be;
|
|
836
|
+
const [W, E] = q(!1), [N, D] = q(!1), [j, y] = q(!1), [S, P] = q(!1), { mobile: I = t.screenSizes.mobile, tablet: u = t.screenSizes.tablet } = w, b = we(`(max-width: ${I})`), h = we(`(max-width: ${u})`) && !b, C = !b && !h, {
|
|
837
|
+
backgroundPrimary: x = t.colors.whiteGreen,
|
|
838
|
+
backgroundSecondary: v = t.colors.whiteGreenA,
|
|
817
839
|
backgroundTertiary: R = t.colors.sage,
|
|
818
|
-
highlightPrimary:
|
|
819
|
-
backgroundQuaternary:
|
|
820
|
-
highlightSecondary:
|
|
821
|
-
highlightTertiary:
|
|
822
|
-
iconPrimary:
|
|
823
|
-
shadowPrimary:
|
|
824
|
-
shadowSecondary:
|
|
825
|
-
shadowTertiary:
|
|
826
|
-
borderPrimary:
|
|
840
|
+
highlightPrimary: oe = t.colors.sunlight,
|
|
841
|
+
backgroundQuaternary: re = t.colors.moss,
|
|
842
|
+
highlightSecondary: te = t.colors.dandelion,
|
|
843
|
+
highlightTertiary: Y = `${t.colors.dandelion}99`,
|
|
844
|
+
iconPrimary: a = t.colors.darkGreen,
|
|
845
|
+
shadowPrimary: p = t.colors.darkGreenO99,
|
|
846
|
+
shadowSecondary: B = t.boxShadows.darkGreen,
|
|
847
|
+
shadowTertiary: pe = t.boxShadows.darkGreenThick,
|
|
848
|
+
borderPrimary: V = t.colors.green,
|
|
827
849
|
scrollColor: A = t.colors.darkGreenO99,
|
|
828
|
-
iconColors:
|
|
829
|
-
} =
|
|
830
|
-
backgroundPrimary:
|
|
831
|
-
backgroundSecondary:
|
|
850
|
+
iconColors: ze
|
|
851
|
+
} = g, { logoSrc: de = Ue, logoWidth: he = 36, logoHeight: ue = 50 } = O, fe = {
|
|
852
|
+
backgroundPrimary: x,
|
|
853
|
+
backgroundSecondary: v,
|
|
832
854
|
backgroundTertiary: R,
|
|
833
|
-
highlightPrimary:
|
|
834
|
-
highlightSecondary:
|
|
835
|
-
highlightTertiary:
|
|
836
|
-
borderPrimary:
|
|
837
|
-
iconPrimary:
|
|
838
|
-
shadowPrimary:
|
|
839
|
-
shadowSecondary:
|
|
840
|
-
shadowTertiary:
|
|
855
|
+
highlightPrimary: oe,
|
|
856
|
+
highlightSecondary: te,
|
|
857
|
+
highlightTertiary: Y,
|
|
858
|
+
borderPrimary: V,
|
|
859
|
+
iconPrimary: a,
|
|
860
|
+
shadowPrimary: p,
|
|
861
|
+
shadowSecondary: B,
|
|
862
|
+
shadowTertiary: pe,
|
|
841
863
|
scrollColor: A
|
|
842
|
-
},
|
|
864
|
+
}, Ne = { logoSrc: de, logoWidth: he, logoHeight: ue }, ne = c != null, Ie = { ...s, navWidth: m, loggedIn: T }, X = { ...e, themeColors: fe }, Oe = {
|
|
843
865
|
...X,
|
|
844
|
-
navWidth: `${
|
|
845
|
-
isMobile:
|
|
846
|
-
},
|
|
866
|
+
navWidth: `${m}px`,
|
|
867
|
+
isMobile: b
|
|
868
|
+
}, { navItems: _ } = e, ie = ((be = _.find((k) => k.label === (e == null ? void 0 : e.activeRoute))) == null ? void 0 : be.subnavItems) || [], Be = {
|
|
869
|
+
themeColors: fe,
|
|
870
|
+
activeRoute: o,
|
|
871
|
+
navItems: ie
|
|
872
|
+
}, me = [
|
|
847
873
|
// { label: 'Log Out', icon: <LogoutIcon />, onClick: onLogout },
|
|
848
|
-
...
|
|
849
|
-
].map((
|
|
850
|
-
...
|
|
874
|
+
...H
|
|
875
|
+
].map((k) => ({
|
|
876
|
+
...k,
|
|
851
877
|
onClick: () => {
|
|
852
|
-
|
|
878
|
+
k.onClick && k.onClick(), y(!1);
|
|
853
879
|
}
|
|
854
|
-
})),
|
|
855
|
-
...
|
|
880
|
+
})), Ae = _.map((k) => ({
|
|
881
|
+
...k,
|
|
856
882
|
onClick: () => {
|
|
857
|
-
|
|
883
|
+
k.onClick && k.onClick(), E(!1);
|
|
858
884
|
}
|
|
859
|
-
})),
|
|
885
|
+
})), ae = {
|
|
860
886
|
...X,
|
|
861
887
|
navWidth: "100%",
|
|
862
888
|
isTablet: !0,
|
|
863
|
-
navItems:
|
|
889
|
+
navItems: Ae
|
|
864
890
|
};
|
|
865
|
-
let
|
|
866
|
-
...
|
|
891
|
+
let se = _.map((k) => ({
|
|
892
|
+
...k,
|
|
867
893
|
onClick: () => {
|
|
868
|
-
|
|
894
|
+
k.onClick && k.onClick(), P(!1);
|
|
869
895
|
}
|
|
870
|
-
})),
|
|
871
|
-
|
|
896
|
+
})), ge = [];
|
|
897
|
+
_.length > 4 && b && (ge = se.splice(3), se.push({
|
|
872
898
|
label: "More",
|
|
873
|
-
icon: /* @__PURE__ */ i(
|
|
874
|
-
onClick: () =>
|
|
899
|
+
icon: /* @__PURE__ */ i(mo, {}),
|
|
900
|
+
onClick: () => P(!0)
|
|
875
901
|
}));
|
|
876
|
-
const
|
|
902
|
+
const Le = {
|
|
877
903
|
...X,
|
|
878
904
|
navWidth: "100%",
|
|
879
|
-
navItems:
|
|
905
|
+
navItems: se,
|
|
880
906
|
isMobile: !0,
|
|
881
|
-
activeRoute:
|
|
882
|
-
},
|
|
907
|
+
activeRoute: S ? "More" : X.activeRoute
|
|
908
|
+
}, Fe = {
|
|
883
909
|
...X,
|
|
884
910
|
navWidth: "100%",
|
|
885
|
-
navItems:
|
|
911
|
+
navItems: ge,
|
|
886
912
|
isTablet: !0
|
|
887
913
|
};
|
|
888
|
-
return /* @__PURE__ */
|
|
914
|
+
return /* @__PURE__ */ $(go, { backgroundColor: v, children: [
|
|
889
915
|
/* @__PURE__ */ i(
|
|
890
|
-
|
|
916
|
+
je,
|
|
891
917
|
{
|
|
892
|
-
...
|
|
893
|
-
hamburgerMenu:
|
|
894
|
-
onHamburgerMenuClick: () =>
|
|
895
|
-
onUserMenuClick: () =>
|
|
896
|
-
logoProps:
|
|
897
|
-
iconColor:
|
|
898
|
-
isMobile:
|
|
899
|
-
themeProps: { shadowSecondary:
|
|
900
|
-
iconColors:
|
|
901
|
-
userName:
|
|
902
|
-
userSettingsEnabled:
|
|
918
|
+
...Ie,
|
|
919
|
+
hamburgerMenu: h,
|
|
920
|
+
onHamburgerMenuClick: () => E(!0),
|
|
921
|
+
onUserMenuClick: () => y(!0),
|
|
922
|
+
logoProps: Ne,
|
|
923
|
+
iconColor: a,
|
|
924
|
+
isMobile: b,
|
|
925
|
+
themeProps: { shadowSecondary: B, shadowTertiary: pe, iconPrimary: a, borderPrimary: V },
|
|
926
|
+
iconColors: ze,
|
|
927
|
+
userName: n == null ? void 0 : n.name,
|
|
928
|
+
userSettingsEnabled: l
|
|
903
929
|
}
|
|
904
930
|
),
|
|
905
|
-
/* @__PURE__ */
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
/* @__PURE__ */ i(
|
|
931
|
+
/* @__PURE__ */ $(bo, { tabletPadding: h, mobile: b, children: [
|
|
932
|
+
C && /* @__PURE__ */ i(L, { ...Oe }),
|
|
933
|
+
b && /* @__PURE__ */ $(xe, { children: [
|
|
934
|
+
/* @__PURE__ */ i(L, { ...Le }),
|
|
909
935
|
/* @__PURE__ */ i(
|
|
910
|
-
|
|
936
|
+
Co,
|
|
911
937
|
{
|
|
912
|
-
open:
|
|
913
|
-
onClose: () =>
|
|
914
|
-
backgroundColor:
|
|
938
|
+
open: S,
|
|
939
|
+
onClose: () => P(!1),
|
|
940
|
+
backgroundColor: v,
|
|
915
941
|
anchor: "right",
|
|
916
|
-
children: /* @__PURE__ */ i(
|
|
942
|
+
children: /* @__PURE__ */ i(L, { ...Fe })
|
|
917
943
|
}
|
|
918
944
|
)
|
|
919
945
|
] }),
|
|
920
|
-
|
|
921
|
-
|
|
946
|
+
h && /* @__PURE__ */ $(
|
|
947
|
+
yo,
|
|
922
948
|
{
|
|
923
|
-
open:
|
|
924
|
-
onClose: () =>
|
|
925
|
-
backgroundColor:
|
|
926
|
-
shadowColor:
|
|
949
|
+
open: W,
|
|
950
|
+
onClose: () => E(!1),
|
|
951
|
+
backgroundColor: v,
|
|
952
|
+
shadowColor: p,
|
|
927
953
|
children: [
|
|
928
|
-
/* @__PURE__ */
|
|
929
|
-
/* @__PURE__ */ i(
|
|
930
|
-
/* @__PURE__ */ i(
|
|
954
|
+
/* @__PURE__ */ $(Te, { children: [
|
|
955
|
+
/* @__PURE__ */ i(Ro, { src: de, alt: "logo", width: he, height: ue }),
|
|
956
|
+
/* @__PURE__ */ i(Z, { variant: "icon", size: 36, onClick: () => E(!1), color: a, children: /* @__PURE__ */ i(We, {}) })
|
|
931
957
|
] }),
|
|
932
|
-
/* @__PURE__ */ i(
|
|
958
|
+
/* @__PURE__ */ i(L, { ...ae })
|
|
933
959
|
]
|
|
934
960
|
}
|
|
935
961
|
),
|
|
936
|
-
|
|
937
|
-
|
|
962
|
+
h && /* @__PURE__ */ $(
|
|
963
|
+
wo,
|
|
938
964
|
{
|
|
939
|
-
open:
|
|
940
|
-
onClose: () =>
|
|
941
|
-
shadowColor:
|
|
965
|
+
open: N && ne,
|
|
966
|
+
onClose: () => D(!1),
|
|
967
|
+
shadowColor: p,
|
|
942
968
|
backgroundColor: R,
|
|
943
969
|
children: [
|
|
944
970
|
/* @__PURE__ */ i(
|
|
945
|
-
|
|
971
|
+
$e,
|
|
946
972
|
{
|
|
947
973
|
variant: "icon",
|
|
948
974
|
size: 24,
|
|
949
|
-
onClick: () =>
|
|
950
|
-
iconColor:
|
|
951
|
-
highlight1:
|
|
952
|
-
highlight2:
|
|
953
|
-
children: /* @__PURE__ */ i(
|
|
975
|
+
onClick: () => D(!1),
|
|
976
|
+
iconColor: a,
|
|
977
|
+
highlight1: v,
|
|
978
|
+
highlight2: v,
|
|
979
|
+
children: /* @__PURE__ */ i(Ce, {})
|
|
954
980
|
}
|
|
955
981
|
),
|
|
956
|
-
/* @__PURE__ */ i(
|
|
982
|
+
/* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c })
|
|
957
983
|
]
|
|
958
984
|
}
|
|
959
985
|
),
|
|
960
|
-
(
|
|
961
|
-
|
|
986
|
+
(h || C) && /* @__PURE__ */ $(
|
|
987
|
+
Mo,
|
|
962
988
|
{
|
|
963
989
|
anchor: "right",
|
|
964
|
-
open:
|
|
965
|
-
onClose: () =>
|
|
990
|
+
open: j,
|
|
991
|
+
onClose: () => y(!1),
|
|
966
992
|
children: [
|
|
967
993
|
/* @__PURE__ */ i(
|
|
968
|
-
|
|
994
|
+
$e,
|
|
969
995
|
{
|
|
970
996
|
variant: "icon",
|
|
971
997
|
size: 24,
|
|
972
|
-
onClick: () =>
|
|
998
|
+
onClick: () => y(!1),
|
|
973
999
|
iconColor: t.colors.midnight,
|
|
974
1000
|
highlight1: t.colors.white,
|
|
975
|
-
highlight2:
|
|
1001
|
+
highlight2: v,
|
|
976
1002
|
rightDrawer: !0,
|
|
977
|
-
children: /* @__PURE__ */ i(
|
|
1003
|
+
children: /* @__PURE__ */ i(Ce, {})
|
|
978
1004
|
}
|
|
979
1005
|
),
|
|
980
1006
|
/* @__PURE__ */ i(
|
|
981
|
-
|
|
1007
|
+
L,
|
|
982
1008
|
{
|
|
983
|
-
...
|
|
984
|
-
navItems:
|
|
1009
|
+
...ae,
|
|
1010
|
+
navItems: me,
|
|
985
1011
|
themeColors: {
|
|
986
1012
|
iconPrimary: t.colors.midnight,
|
|
987
|
-
highlightPrimary:
|
|
988
|
-
highlightTertiary:
|
|
989
|
-
shadowSecondary:
|
|
1013
|
+
highlightPrimary: x,
|
|
1014
|
+
highlightTertiary: v,
|
|
1015
|
+
shadowSecondary: B,
|
|
990
1016
|
scrollColor: A
|
|
991
1017
|
}
|
|
992
1018
|
}
|
|
@@ -994,38 +1020,38 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
994
1020
|
]
|
|
995
1021
|
}
|
|
996
1022
|
),
|
|
997
|
-
|
|
998
|
-
/* @__PURE__ */
|
|
999
|
-
|
|
1023
|
+
b && /* @__PURE__ */ $(xe, { children: [
|
|
1024
|
+
/* @__PURE__ */ $(
|
|
1025
|
+
Po,
|
|
1000
1026
|
{
|
|
1001
1027
|
anchor: "right",
|
|
1002
|
-
open:
|
|
1003
|
-
onClose: () =>
|
|
1004
|
-
backgroundQuaternary:
|
|
1028
|
+
open: j,
|
|
1029
|
+
onClose: () => y(!1),
|
|
1030
|
+
backgroundQuaternary: re,
|
|
1005
1031
|
children: [
|
|
1006
|
-
/* @__PURE__ */
|
|
1007
|
-
/* @__PURE__ */ i(
|
|
1032
|
+
/* @__PURE__ */ $(Te, { children: [
|
|
1033
|
+
/* @__PURE__ */ i(To, { color: t.colors.midnight, children: "Settings" }),
|
|
1008
1034
|
/* @__PURE__ */ i(
|
|
1009
|
-
|
|
1035
|
+
Z,
|
|
1010
1036
|
{
|
|
1011
1037
|
variant: "icon",
|
|
1012
1038
|
size: 36,
|
|
1013
|
-
onClick: () =>
|
|
1039
|
+
onClick: () => y(!1),
|
|
1014
1040
|
color: t.colors.midnight,
|
|
1015
|
-
children: /* @__PURE__ */ i(
|
|
1041
|
+
children: /* @__PURE__ */ i(ye, {})
|
|
1016
1042
|
}
|
|
1017
1043
|
)
|
|
1018
1044
|
] }),
|
|
1019
1045
|
/* @__PURE__ */ i(
|
|
1020
|
-
|
|
1046
|
+
L,
|
|
1021
1047
|
{
|
|
1022
|
-
...
|
|
1023
|
-
navItems:
|
|
1048
|
+
...ae,
|
|
1049
|
+
navItems: me,
|
|
1024
1050
|
themeColors: {
|
|
1025
1051
|
iconPrimary: t.colors.midnight,
|
|
1026
|
-
highlightPrimary:
|
|
1027
|
-
highlightTertiary:
|
|
1028
|
-
shadowSecondary:
|
|
1052
|
+
highlightPrimary: x,
|
|
1053
|
+
highlightTertiary: v,
|
|
1054
|
+
shadowSecondary: B,
|
|
1029
1055
|
scrollColor: A
|
|
1030
1056
|
}
|
|
1031
1057
|
}
|
|
@@ -1033,43 +1059,53 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
1033
1059
|
]
|
|
1034
1060
|
}
|
|
1035
1061
|
),
|
|
1036
|
-
/* @__PURE__ */ i(
|
|
1062
|
+
/* @__PURE__ */ i($o, { backgroundColor: R, open: F, children: /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c }) })
|
|
1037
1063
|
] }),
|
|
1038
|
-
!
|
|
1039
|
-
|
|
1064
|
+
!b && /* @__PURE__ */ $(
|
|
1065
|
+
xo,
|
|
1040
1066
|
{
|
|
1041
|
-
withActionsPanel:
|
|
1042
|
-
tablet:
|
|
1043
|
-
borderColor:
|
|
1067
|
+
withActionsPanel: ne,
|
|
1068
|
+
tablet: h,
|
|
1069
|
+
borderColor: V,
|
|
1044
1070
|
backgroundColor: R,
|
|
1045
1071
|
children: [
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1072
|
+
C && /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c }),
|
|
1073
|
+
h && /* @__PURE__ */ i(
|
|
1074
|
+
Z,
|
|
1049
1075
|
{
|
|
1050
1076
|
variant: "icon",
|
|
1051
1077
|
size: 36,
|
|
1052
|
-
onClick: () =>
|
|
1053
|
-
color:
|
|
1054
|
-
children: /* @__PURE__ */ i(
|
|
1078
|
+
onClick: () => D(!0),
|
|
1079
|
+
color: a,
|
|
1080
|
+
children: /* @__PURE__ */ i(ye, {})
|
|
1055
1081
|
}
|
|
1056
1082
|
)
|
|
1057
1083
|
]
|
|
1058
1084
|
}
|
|
1059
1085
|
),
|
|
1086
|
+
!C && /* @__PURE__ */ i(
|
|
1087
|
+
vo,
|
|
1088
|
+
{
|
|
1089
|
+
show: ie && ie.length > 0,
|
|
1090
|
+
borderColor: V,
|
|
1091
|
+
backgroundColor: R,
|
|
1092
|
+
width: m,
|
|
1093
|
+
children: /* @__PURE__ */ i(L, { ...Be })
|
|
1094
|
+
}
|
|
1095
|
+
),
|
|
1060
1096
|
/* @__PURE__ */ i(
|
|
1061
|
-
|
|
1097
|
+
ko,
|
|
1062
1098
|
{
|
|
1063
|
-
withActionsPanel:
|
|
1064
|
-
borderColor:
|
|
1065
|
-
backgroundColor:
|
|
1066
|
-
mobileScreen:
|
|
1067
|
-
children: /* @__PURE__ */ i(
|
|
1099
|
+
withActionsPanel: ne,
|
|
1100
|
+
borderColor: V,
|
|
1101
|
+
backgroundColor: x,
|
|
1102
|
+
mobileScreen: b,
|
|
1103
|
+
children: /* @__PURE__ */ i(Q, { scrollColor: A, children: d })
|
|
1068
1104
|
}
|
|
1069
1105
|
)
|
|
1070
1106
|
] })
|
|
1071
1107
|
] });
|
|
1072
1108
|
};
|
|
1073
1109
|
export {
|
|
1074
|
-
|
|
1110
|
+
Zo as default
|
|
1075
1111
|
};
|
package/Nav/Nav.d.ts
CHANGED
|
@@ -4,8 +4,10 @@ export interface NavItemProps {
|
|
|
4
4
|
icon?: React.ReactNode;
|
|
5
5
|
onClick?: () => void;
|
|
6
6
|
active?: boolean;
|
|
7
|
+
url?: string;
|
|
7
8
|
/** This is defined only to enable type safe external management of the AppContainer actions panel */
|
|
8
9
|
actionsPanelContent?: React.ReactNode;
|
|
10
|
+
subnavItems?: NavItemProps[];
|
|
9
11
|
}
|
|
10
12
|
export interface NavProps {
|
|
11
13
|
navItems: NavItemProps[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jcicl",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.283",
|
|
5
5
|
"description": "Component library for the websites of Johnson County Iowa",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://devops.jc.net/JCIT/Business%20Solutions%20Delivery/_git/JCComponentLibrary?path=%2FREADME.md&version=GBmaster",
|