jcicl 0.0.277 → 0.0.281
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 +441 -409
- package/Button/Button.js +1 -1
- 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,199 @@ 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.url === (e == null ? void 0 : e.activeRoute))) == null ? void 0 : be.subnavItems) || [], Be = { themeColors: fe, activeSubnavRoute: o, navItems: ie }, me = [
|
|
847
869
|
// { label: 'Log Out', icon: <LogoutIcon />, onClick: onLogout },
|
|
848
|
-
...
|
|
849
|
-
].map((
|
|
850
|
-
...
|
|
870
|
+
...H
|
|
871
|
+
].map((k) => ({
|
|
872
|
+
...k,
|
|
851
873
|
onClick: () => {
|
|
852
|
-
|
|
874
|
+
k.onClick && k.onClick(), y(!1);
|
|
853
875
|
}
|
|
854
|
-
})),
|
|
855
|
-
...
|
|
876
|
+
})), Ae = _.map((k) => ({
|
|
877
|
+
...k,
|
|
856
878
|
onClick: () => {
|
|
857
|
-
|
|
879
|
+
k.onClick && k.onClick(), E(!1);
|
|
858
880
|
}
|
|
859
|
-
})),
|
|
881
|
+
})), ae = {
|
|
860
882
|
...X,
|
|
861
883
|
navWidth: "100%",
|
|
862
884
|
isTablet: !0,
|
|
863
|
-
navItems:
|
|
885
|
+
navItems: Ae
|
|
864
886
|
};
|
|
865
|
-
let
|
|
866
|
-
...
|
|
887
|
+
let se = _.map((k) => ({
|
|
888
|
+
...k,
|
|
867
889
|
onClick: () => {
|
|
868
|
-
|
|
890
|
+
k.onClick && k.onClick(), P(!1);
|
|
869
891
|
}
|
|
870
|
-
})),
|
|
871
|
-
|
|
892
|
+
})), ge = [];
|
|
893
|
+
_.length > 4 && b && (ge = se.splice(3), se.push({
|
|
872
894
|
label: "More",
|
|
873
|
-
icon: /* @__PURE__ */ i(
|
|
874
|
-
onClick: () =>
|
|
895
|
+
icon: /* @__PURE__ */ i(mo, {}),
|
|
896
|
+
onClick: () => P(!0)
|
|
875
897
|
}));
|
|
876
|
-
const
|
|
898
|
+
const Le = {
|
|
877
899
|
...X,
|
|
878
900
|
navWidth: "100%",
|
|
879
|
-
navItems:
|
|
901
|
+
navItems: se,
|
|
880
902
|
isMobile: !0,
|
|
881
|
-
activeRoute:
|
|
882
|
-
},
|
|
903
|
+
activeRoute: S ? "More" : X.activeRoute
|
|
904
|
+
}, Fe = {
|
|
883
905
|
...X,
|
|
884
906
|
navWidth: "100%",
|
|
885
|
-
navItems:
|
|
907
|
+
navItems: ge,
|
|
886
908
|
isTablet: !0
|
|
887
909
|
};
|
|
888
|
-
return /* @__PURE__ */
|
|
910
|
+
return /* @__PURE__ */ $(go, { backgroundColor: v, children: [
|
|
889
911
|
/* @__PURE__ */ i(
|
|
890
|
-
|
|
912
|
+
je,
|
|
891
913
|
{
|
|
892
|
-
...
|
|
893
|
-
hamburgerMenu:
|
|
894
|
-
onHamburgerMenuClick: () =>
|
|
895
|
-
onUserMenuClick: () =>
|
|
896
|
-
logoProps:
|
|
897
|
-
iconColor:
|
|
898
|
-
isMobile:
|
|
899
|
-
themeProps: { shadowSecondary:
|
|
900
|
-
iconColors:
|
|
901
|
-
userName:
|
|
902
|
-
userSettingsEnabled:
|
|
914
|
+
...Ie,
|
|
915
|
+
hamburgerMenu: h,
|
|
916
|
+
onHamburgerMenuClick: () => E(!0),
|
|
917
|
+
onUserMenuClick: () => y(!0),
|
|
918
|
+
logoProps: Ne,
|
|
919
|
+
iconColor: a,
|
|
920
|
+
isMobile: b,
|
|
921
|
+
themeProps: { shadowSecondary: B, shadowTertiary: pe, iconPrimary: a, borderPrimary: V },
|
|
922
|
+
iconColors: ze,
|
|
923
|
+
userName: n == null ? void 0 : n.name,
|
|
924
|
+
userSettingsEnabled: l
|
|
903
925
|
}
|
|
904
926
|
),
|
|
905
|
-
/* @__PURE__ */
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
/* @__PURE__ */ i(
|
|
927
|
+
/* @__PURE__ */ $(bo, { tabletPadding: h, mobile: b, children: [
|
|
928
|
+
C && /* @__PURE__ */ i(L, { ...Oe }),
|
|
929
|
+
b && /* @__PURE__ */ $(xe, { children: [
|
|
930
|
+
/* @__PURE__ */ i(L, { ...Le }),
|
|
909
931
|
/* @__PURE__ */ i(
|
|
910
|
-
|
|
932
|
+
Co,
|
|
911
933
|
{
|
|
912
|
-
open:
|
|
913
|
-
onClose: () =>
|
|
914
|
-
backgroundColor:
|
|
934
|
+
open: S,
|
|
935
|
+
onClose: () => P(!1),
|
|
936
|
+
backgroundColor: v,
|
|
915
937
|
anchor: "right",
|
|
916
|
-
children: /* @__PURE__ */ i(
|
|
938
|
+
children: /* @__PURE__ */ i(L, { ...Fe })
|
|
917
939
|
}
|
|
918
940
|
)
|
|
919
941
|
] }),
|
|
920
|
-
|
|
921
|
-
|
|
942
|
+
h && /* @__PURE__ */ $(
|
|
943
|
+
yo,
|
|
922
944
|
{
|
|
923
|
-
open:
|
|
924
|
-
onClose: () =>
|
|
925
|
-
backgroundColor:
|
|
926
|
-
shadowColor:
|
|
945
|
+
open: W,
|
|
946
|
+
onClose: () => E(!1),
|
|
947
|
+
backgroundColor: v,
|
|
948
|
+
shadowColor: p,
|
|
927
949
|
children: [
|
|
928
|
-
/* @__PURE__ */
|
|
929
|
-
/* @__PURE__ */ i(
|
|
930
|
-
/* @__PURE__ */ i(
|
|
950
|
+
/* @__PURE__ */ $(Te, { children: [
|
|
951
|
+
/* @__PURE__ */ i(Ro, { src: de, alt: "logo", width: he, height: ue }),
|
|
952
|
+
/* @__PURE__ */ i(Z, { variant: "icon", size: 36, onClick: () => E(!1), color: a, children: /* @__PURE__ */ i(We, {}) })
|
|
931
953
|
] }),
|
|
932
|
-
/* @__PURE__ */ i(
|
|
954
|
+
/* @__PURE__ */ i(L, { ...ae })
|
|
933
955
|
]
|
|
934
956
|
}
|
|
935
957
|
),
|
|
936
|
-
|
|
937
|
-
|
|
958
|
+
h && /* @__PURE__ */ $(
|
|
959
|
+
wo,
|
|
938
960
|
{
|
|
939
|
-
open:
|
|
940
|
-
onClose: () =>
|
|
941
|
-
shadowColor:
|
|
961
|
+
open: N && ne,
|
|
962
|
+
onClose: () => D(!1),
|
|
963
|
+
shadowColor: p,
|
|
942
964
|
backgroundColor: R,
|
|
943
965
|
children: [
|
|
944
966
|
/* @__PURE__ */ i(
|
|
945
|
-
|
|
967
|
+
$e,
|
|
946
968
|
{
|
|
947
969
|
variant: "icon",
|
|
948
970
|
size: 24,
|
|
949
|
-
onClick: () =>
|
|
950
|
-
iconColor:
|
|
951
|
-
highlight1:
|
|
952
|
-
highlight2:
|
|
953
|
-
children: /* @__PURE__ */ i(
|
|
971
|
+
onClick: () => D(!1),
|
|
972
|
+
iconColor: a,
|
|
973
|
+
highlight1: v,
|
|
974
|
+
highlight2: v,
|
|
975
|
+
children: /* @__PURE__ */ i(Ce, {})
|
|
954
976
|
}
|
|
955
977
|
),
|
|
956
|
-
/* @__PURE__ */ i(
|
|
978
|
+
/* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c })
|
|
957
979
|
]
|
|
958
980
|
}
|
|
959
981
|
),
|
|
960
|
-
(
|
|
961
|
-
|
|
982
|
+
(h || C) && /* @__PURE__ */ $(
|
|
983
|
+
Mo,
|
|
962
984
|
{
|
|
963
985
|
anchor: "right",
|
|
964
|
-
open:
|
|
965
|
-
onClose: () =>
|
|
986
|
+
open: j,
|
|
987
|
+
onClose: () => y(!1),
|
|
966
988
|
children: [
|
|
967
989
|
/* @__PURE__ */ i(
|
|
968
|
-
|
|
990
|
+
$e,
|
|
969
991
|
{
|
|
970
992
|
variant: "icon",
|
|
971
993
|
size: 24,
|
|
972
|
-
onClick: () =>
|
|
994
|
+
onClick: () => y(!1),
|
|
973
995
|
iconColor: t.colors.midnight,
|
|
974
996
|
highlight1: t.colors.white,
|
|
975
|
-
highlight2:
|
|
997
|
+
highlight2: v,
|
|
976
998
|
rightDrawer: !0,
|
|
977
|
-
children: /* @__PURE__ */ i(
|
|
999
|
+
children: /* @__PURE__ */ i(Ce, {})
|
|
978
1000
|
}
|
|
979
1001
|
),
|
|
980
1002
|
/* @__PURE__ */ i(
|
|
981
|
-
|
|
1003
|
+
L,
|
|
982
1004
|
{
|
|
983
|
-
...
|
|
984
|
-
navItems:
|
|
1005
|
+
...ae,
|
|
1006
|
+
navItems: me,
|
|
985
1007
|
themeColors: {
|
|
986
1008
|
iconPrimary: t.colors.midnight,
|
|
987
|
-
highlightPrimary:
|
|
988
|
-
highlightTertiary:
|
|
989
|
-
shadowSecondary:
|
|
1009
|
+
highlightPrimary: x,
|
|
1010
|
+
highlightTertiary: v,
|
|
1011
|
+
shadowSecondary: B,
|
|
990
1012
|
scrollColor: A
|
|
991
1013
|
}
|
|
992
1014
|
}
|
|
@@ -994,38 +1016,38 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
994
1016
|
]
|
|
995
1017
|
}
|
|
996
1018
|
),
|
|
997
|
-
|
|
998
|
-
/* @__PURE__ */
|
|
999
|
-
|
|
1019
|
+
b && /* @__PURE__ */ $(xe, { children: [
|
|
1020
|
+
/* @__PURE__ */ $(
|
|
1021
|
+
Po,
|
|
1000
1022
|
{
|
|
1001
1023
|
anchor: "right",
|
|
1002
|
-
open:
|
|
1003
|
-
onClose: () =>
|
|
1004
|
-
backgroundQuaternary:
|
|
1024
|
+
open: j,
|
|
1025
|
+
onClose: () => y(!1),
|
|
1026
|
+
backgroundQuaternary: re,
|
|
1005
1027
|
children: [
|
|
1006
|
-
/* @__PURE__ */
|
|
1007
|
-
/* @__PURE__ */ i(
|
|
1028
|
+
/* @__PURE__ */ $(Te, { children: [
|
|
1029
|
+
/* @__PURE__ */ i(To, { color: t.colors.midnight, children: "Settings" }),
|
|
1008
1030
|
/* @__PURE__ */ i(
|
|
1009
|
-
|
|
1031
|
+
Z,
|
|
1010
1032
|
{
|
|
1011
1033
|
variant: "icon",
|
|
1012
1034
|
size: 36,
|
|
1013
|
-
onClick: () =>
|
|
1035
|
+
onClick: () => y(!1),
|
|
1014
1036
|
color: t.colors.midnight,
|
|
1015
|
-
children: /* @__PURE__ */ i(
|
|
1037
|
+
children: /* @__PURE__ */ i(ye, {})
|
|
1016
1038
|
}
|
|
1017
1039
|
)
|
|
1018
1040
|
] }),
|
|
1019
1041
|
/* @__PURE__ */ i(
|
|
1020
|
-
|
|
1042
|
+
L,
|
|
1021
1043
|
{
|
|
1022
|
-
...
|
|
1023
|
-
navItems:
|
|
1044
|
+
...ae,
|
|
1045
|
+
navItems: me,
|
|
1024
1046
|
themeColors: {
|
|
1025
1047
|
iconPrimary: t.colors.midnight,
|
|
1026
|
-
highlightPrimary:
|
|
1027
|
-
highlightTertiary:
|
|
1028
|
-
shadowSecondary:
|
|
1048
|
+
highlightPrimary: x,
|
|
1049
|
+
highlightTertiary: v,
|
|
1050
|
+
shadowSecondary: B,
|
|
1029
1051
|
scrollColor: A
|
|
1030
1052
|
}
|
|
1031
1053
|
}
|
|
@@ -1033,43 +1055,53 @@ const xe = se(/* @__PURE__ */ i("path", {
|
|
|
1033
1055
|
]
|
|
1034
1056
|
}
|
|
1035
1057
|
),
|
|
1036
|
-
/* @__PURE__ */ i(
|
|
1058
|
+
/* @__PURE__ */ i($o, { backgroundColor: R, open: F, children: /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c }) })
|
|
1037
1059
|
] }),
|
|
1038
|
-
!
|
|
1039
|
-
|
|
1060
|
+
!b && /* @__PURE__ */ $(
|
|
1061
|
+
xo,
|
|
1040
1062
|
{
|
|
1041
|
-
withActionsPanel:
|
|
1042
|
-
tablet:
|
|
1043
|
-
borderColor:
|
|
1063
|
+
withActionsPanel: ne,
|
|
1064
|
+
tablet: h,
|
|
1065
|
+
borderColor: V,
|
|
1044
1066
|
backgroundColor: R,
|
|
1045
1067
|
children: [
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1068
|
+
C && /* @__PURE__ */ i(Q, { scrollColor: A, direction: "vertical", children: c && c }),
|
|
1069
|
+
h && /* @__PURE__ */ i(
|
|
1070
|
+
Z,
|
|
1049
1071
|
{
|
|
1050
1072
|
variant: "icon",
|
|
1051
1073
|
size: 36,
|
|
1052
|
-
onClick: () =>
|
|
1053
|
-
color:
|
|
1054
|
-
children: /* @__PURE__ */ i(
|
|
1074
|
+
onClick: () => D(!0),
|
|
1075
|
+
color: a,
|
|
1076
|
+
children: /* @__PURE__ */ i(ye, {})
|
|
1055
1077
|
}
|
|
1056
1078
|
)
|
|
1057
1079
|
]
|
|
1058
1080
|
}
|
|
1059
1081
|
),
|
|
1082
|
+
!C && /* @__PURE__ */ i(
|
|
1083
|
+
vo,
|
|
1084
|
+
{
|
|
1085
|
+
show: ie && ie.length > 0,
|
|
1086
|
+
borderColor: V,
|
|
1087
|
+
backgroundColor: R,
|
|
1088
|
+
width: m,
|
|
1089
|
+
children: /* @__PURE__ */ i(L, { ...Be })
|
|
1090
|
+
}
|
|
1091
|
+
),
|
|
1060
1092
|
/* @__PURE__ */ i(
|
|
1061
|
-
|
|
1093
|
+
ko,
|
|
1062
1094
|
{
|
|
1063
|
-
withActionsPanel:
|
|
1064
|
-
borderColor:
|
|
1065
|
-
backgroundColor:
|
|
1066
|
-
mobileScreen:
|
|
1067
|
-
children: /* @__PURE__ */ i(
|
|
1095
|
+
withActionsPanel: ne,
|
|
1096
|
+
borderColor: V,
|
|
1097
|
+
backgroundColor: x,
|
|
1098
|
+
mobileScreen: b,
|
|
1099
|
+
children: /* @__PURE__ */ i(Q, { scrollColor: A, children: d })
|
|
1068
1100
|
}
|
|
1069
1101
|
)
|
|
1070
1102
|
] })
|
|
1071
1103
|
] });
|
|
1072
1104
|
};
|
|
1073
1105
|
export {
|
|
1074
|
-
|
|
1106
|
+
Zo as default
|
|
1075
1107
|
};
|
package/Button/Button.js
CHANGED
|
@@ -576,7 +576,7 @@ const $ = c(T)`
|
|
|
576
576
|
children: i,
|
|
577
577
|
active: u,
|
|
578
578
|
...s
|
|
579
|
-
}) => o === "bibi" ? /* @__PURE__ */ l(z, { ...s, children: i }) : o === "bibiOutlined" ? /* @__PURE__ */ l(so, { ...s, children: i }) : o === "bibiInverse" ? /* @__PURE__ */ l(lo, { ...s, children: i }) : o === "unstyled" ? /* @__PURE__ */ l(co, { ...s, children: i }) : o === 2 ? /* @__PURE__ */ l(io, { ...s, children: /* @__PURE__ */ l("span", { children: i }) }) : o === "icon" ? /* @__PURE__ */ l(po, { className: "jcIconButton", ...{ size: a, color: n, highlightColor: e }, ...s, children: i }) : o === "filter" ? /* @__PURE__ */ l(uo, { className: "jcFilterButton", active: u, ...s, children: i }) : /* @__PURE__ */ l(eo, { ...s, children: /* @__PURE__ */ l("span", { children: i }) });
|
|
579
|
+
}) => o === "bibi" ? /* @__PURE__ */ l(z, { ...s, children: i }) : o === "bibiOutlined" ? /* @__PURE__ */ l(so, { ...s, children: i }) : o === "bibiInverse" ? /* @__PURE__ */ l(lo, { ...s, children: i }) : o === "unstyled" ? /* @__PURE__ */ l(co, { ...s, children: i }) : o === 2 ? /* @__PURE__ */ l(io, { ...s, children: /* @__PURE__ */ l("span", { children: i }) }) : o === "icon" ? /* @__PURE__ */ l(po, { className: "jcIconButton", ...{ size: a, color: n, highlightColor: e, hoverColor: p }, ...s, children: i }) : o === "filter" ? /* @__PURE__ */ l(uo, { className: "jcFilterButton", active: u, ...s, children: i }) : /* @__PURE__ */ l(eo, { ...s, children: /* @__PURE__ */ l("span", { children: i }) });
|
|
580
580
|
export {
|
|
581
581
|
So as Button,
|
|
582
582
|
So as default
|
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.281",
|
|
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",
|