jcicl 1.0.48 → 1.0.49
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.js +36 -36
- package/Table/Table.d.ts +1 -0
- package/Table/Table.js +4797 -4788
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { jsx as i, jsxs as y, Fragment as ke } from "react/jsx-runtime";
|
|
|
2
2
|
import * as z from "react";
|
|
3
3
|
import { useState as K } from "react";
|
|
4
4
|
import { c as de } from "../.chunks/createSvgIcon.js";
|
|
5
|
-
import { n as
|
|
5
|
+
import { n as m, i as _ } from "../.chunks/emotion-styled.browser.esm.js";
|
|
6
6
|
import { c as T } from "../.chunks/emotion-react.browser.esm.js";
|
|
7
7
|
import { P as Ve, A as Ge } from "../.chunks/AppHeader.js";
|
|
8
8
|
import { Nav as L } from "../Nav/Nav.js";
|
|
@@ -30,12 +30,12 @@ function ho(e, o, a) {
|
|
|
30
30
|
const u = P.getComputedStyle(o);
|
|
31
31
|
x = u.getPropertyValue("-webkit-transform") || u.getPropertyValue("transform");
|
|
32
32
|
}
|
|
33
|
-
let c = 0,
|
|
33
|
+
let c = 0, g = 0;
|
|
34
34
|
if (x && x !== "none" && typeof x == "string") {
|
|
35
35
|
const u = x.split("(")[1].split(")")[0].split(",");
|
|
36
|
-
c = parseInt(u[4], 10),
|
|
36
|
+
c = parseInt(u[4], 10), g = parseInt(u[5], 10);
|
|
37
37
|
}
|
|
38
|
-
return e === "left" ? l ? `translateX(${l.right + c - n.left}px)` : `translateX(${P.innerWidth + c - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - c}px)` : `translateX(-${n.left + n.width - c}px)` : e === "up" ? l ? `translateY(${l.bottom +
|
|
38
|
+
return e === "left" ? l ? `translateX(${l.right + c - n.left}px)` : `translateX(${P.innerWidth + c - n.left}px)` : e === "right" ? l ? `translateX(-${n.right - l.left - c}px)` : `translateX(-${n.left + n.width - c}px)` : e === "up" ? l ? `translateY(${l.bottom + g - n.top}px)` : `translateY(${P.innerHeight + g - n.top}px)` : l ? `translateY(-${n.top - l.top + n.height - g}px)` : `translateY(-${n.top + n.height - g}px)`;
|
|
39
39
|
}
|
|
40
40
|
function De(e) {
|
|
41
41
|
return typeof e == "function" ? e() : e;
|
|
@@ -54,7 +54,7 @@ const ze = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
54
54
|
}, {
|
|
55
55
|
addEndListener: x,
|
|
56
56
|
appear: c = !0,
|
|
57
|
-
children:
|
|
57
|
+
children: g,
|
|
58
58
|
container: u,
|
|
59
59
|
direction: b = "down",
|
|
60
60
|
easing: B = l,
|
|
@@ -70,7 +70,7 @@ const ze = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
70
70
|
// eslint-disable-next-line react/prop-types
|
|
71
71
|
TransitionComponent: v = to,
|
|
72
72
|
...H
|
|
73
|
-
} = o, h = z.useRef(null), G = po(ro(
|
|
73
|
+
} = o, h = z.useRef(null), G = po(ro(g), h, a), E = (s) => (f) => {
|
|
74
74
|
s && (f === void 0 ? s(h.current) : s(h.current, f));
|
|
75
75
|
}, d = E((s, f) => {
|
|
76
76
|
oe(b, s, u), no(s), F && F(s, f);
|
|
@@ -127,12 +127,12 @@ const ze = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
127
127
|
in: C,
|
|
128
128
|
timeout: M,
|
|
129
129
|
...H,
|
|
130
|
-
children: (s, f) => /* @__PURE__ */ z.cloneElement(
|
|
130
|
+
children: (s, f) => /* @__PURE__ */ z.cloneElement(g, {
|
|
131
131
|
ref: G,
|
|
132
132
|
style: {
|
|
133
133
|
visibility: s === "exited" && !C ? "hidden" : void 0,
|
|
134
134
|
...R,
|
|
135
|
-
...
|
|
135
|
+
...g.props.style
|
|
136
136
|
},
|
|
137
137
|
...f
|
|
138
138
|
})
|
|
@@ -261,7 +261,7 @@ const Ne = (e, o) => {
|
|
|
261
261
|
paper: ["paper", `paperAnchor${te(a)}`, n !== "temporary" && `paperAnchorDocked${te(a)}`]
|
|
262
262
|
};
|
|
263
263
|
return Ke(l, uo, o);
|
|
264
|
-
},
|
|
264
|
+
}, go = pe(ao, {
|
|
265
265
|
name: "MuiDrawer",
|
|
266
266
|
slot: "Root",
|
|
267
267
|
overridesResolver: Ne
|
|
@@ -277,7 +277,7 @@ const Ne = (e, o) => {
|
|
|
277
277
|
overridesResolver: Ne
|
|
278
278
|
})({
|
|
279
279
|
flex: "0 0 auto"
|
|
280
|
-
}),
|
|
280
|
+
}), mo = pe(so, {
|
|
281
281
|
name: "MuiDrawer",
|
|
282
282
|
slot: "Paper",
|
|
283
283
|
overridesResolver: (e, o) => {
|
|
@@ -393,7 +393,7 @@ const U = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
393
393
|
exit: l.transitions.duration.leavingScreen
|
|
394
394
|
}, {
|
|
395
395
|
anchor: c = "left",
|
|
396
|
-
BackdropProps:
|
|
396
|
+
BackdropProps: g,
|
|
397
397
|
children: u,
|
|
398
398
|
className: b,
|
|
399
399
|
elevation: B = 16,
|
|
@@ -424,7 +424,7 @@ const U = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
424
424
|
open: N,
|
|
425
425
|
variant: v,
|
|
426
426
|
...H
|
|
427
|
-
}, p = fo(d), O = /* @__PURE__ */ i(
|
|
427
|
+
}, p = fo(d), O = /* @__PURE__ */ i(mo, {
|
|
428
428
|
elevation: v === "temporary" ? B : 0,
|
|
429
429
|
square: !0,
|
|
430
430
|
...$,
|
|
@@ -454,9 +454,9 @@ const U = /* @__PURE__ */ z.forwardRef(function(o, a) {
|
|
|
454
454
|
ref: a,
|
|
455
455
|
...H,
|
|
456
456
|
children: S
|
|
457
|
-
}) : /* @__PURE__ */ i(
|
|
457
|
+
}) : /* @__PURE__ */ i(go, {
|
|
458
458
|
BackdropProps: {
|
|
459
|
-
...
|
|
459
|
+
...g,
|
|
460
460
|
...F,
|
|
461
461
|
transitionDuration: M
|
|
462
462
|
},
|
|
@@ -563,7 +563,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
563
563
|
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"
|
|
564
564
|
}), "Cancel"), vo = de(/* @__PURE__ */ i("path", {
|
|
565
565
|
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"
|
|
566
|
-
}), "MoreHoriz"), wo =
|
|
566
|
+
}), "MoreHoriz"), wo = m("div", {
|
|
567
567
|
shouldForwardProp: (e) => _(e) && e !== "hasSiteBanner"
|
|
568
568
|
})(({ backgroundColor: e, hasSiteBanner: o }) => ({
|
|
569
569
|
display: "flex",
|
|
@@ -574,7 +574,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
574
574
|
height: o ? `calc(100vh - ${r.constants.siteBannerHeight}px)` : "100vh",
|
|
575
575
|
fontFamily: "Roboto, sans-serif",
|
|
576
576
|
overflow: "hidden"
|
|
577
|
-
})), ko =
|
|
577
|
+
})), ko = m("div")(
|
|
578
578
|
({ tabletPadding: e, mobile: o }) => ({
|
|
579
579
|
display: "flex",
|
|
580
580
|
flexDirection: o ? "column-reverse" : "row",
|
|
@@ -584,9 +584,9 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
584
584
|
padding: o ? 0 : "0 2px 4px",
|
|
585
585
|
paddingLeft: e ? "2px" : 0,
|
|
586
586
|
boxSizing: "border-box",
|
|
587
|
-
|
|
587
|
+
height: `calc(100% - ${r.constants.appHeaderHeight}px)`
|
|
588
588
|
})
|
|
589
|
-
), yo =
|
|
589
|
+
), yo = m("div", {
|
|
590
590
|
shouldForwardProp: (e) => _(e)
|
|
591
591
|
})(({ withActionsPanel: e, tablet: o, borderColor: a, backgroundColor: n }) => ({
|
|
592
592
|
display: "flex",
|
|
@@ -607,7 +607,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
607
607
|
...!e && {
|
|
608
608
|
border: "none"
|
|
609
609
|
}
|
|
610
|
-
})), Co =
|
|
610
|
+
})), Co = m("div", {
|
|
611
611
|
shouldForwardProp: (e) => _(e)
|
|
612
612
|
})(({ show: e, width: o = r.constants.navDefaultWidth, borderColor: a, backgroundColor: n }) => ({
|
|
613
613
|
display: "flex",
|
|
@@ -628,7 +628,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
628
628
|
...!e && {
|
|
629
629
|
border: "none"
|
|
630
630
|
}
|
|
631
|
-
})), $o =
|
|
631
|
+
})), $o = m(U)(
|
|
632
632
|
({ shadowColor: e, backgroundColor: o }) => ({
|
|
633
633
|
...T`
|
|
634
634
|
top: ${r.constants.appHeaderHeight}px;
|
|
@@ -652,7 +652,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
652
652
|
}
|
|
653
653
|
`
|
|
654
654
|
})
|
|
655
|
-
), Re =
|
|
655
|
+
), Re = m(re)(({ iconColor: e, highlight1: o, highlight2: a, rightDrawer: n = !1 }) => ({
|
|
656
656
|
...T`
|
|
657
657
|
position: absolute;
|
|
658
658
|
top: -0.5rem;
|
|
@@ -676,7 +676,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
`
|
|
679
|
-
})), To =
|
|
679
|
+
})), To = m("div", {
|
|
680
680
|
shouldForwardProp: (e) => _(e)
|
|
681
681
|
})(({ withActionsPanel: e, borderColor: o, backgroundColor: a, mobileScreen: n }) => ({
|
|
682
682
|
display: "flex",
|
|
@@ -699,7 +699,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
699
699
|
borderBottomLeftRadius: 0,
|
|
700
700
|
borderTopLeftRadius: 0
|
|
701
701
|
}
|
|
702
|
-
})), Po =
|
|
702
|
+
})), Po = m(U, {
|
|
703
703
|
shouldForwardProp: (e) => !["backgroundColor", "shadowColor"].includes(e)
|
|
704
704
|
})(({ backgroundColor: e, shadowColor: o }) => ({
|
|
705
705
|
...T`
|
|
@@ -717,7 +717,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
717
717
|
background-color: transparent;
|
|
718
718
|
}
|
|
719
719
|
`
|
|
720
|
-
})), Ro =
|
|
720
|
+
})), Ro = m(U, {
|
|
721
721
|
shouldForwardProp: (e) => e != "backgroundColor"
|
|
722
722
|
})(({ backgroundColor: e }) => ({
|
|
723
723
|
...T`
|
|
@@ -739,7 +739,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
739
739
|
background-color: transparent;
|
|
740
740
|
}
|
|
741
741
|
`
|
|
742
|
-
})), Mo =
|
|
742
|
+
})), Mo = m("div", {
|
|
743
743
|
shouldForwardProp: (e) => _(e)
|
|
744
744
|
})(({ backgroundColor: e, open: o }) => ({
|
|
745
745
|
...T`
|
|
@@ -754,14 +754,14 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
754
754
|
box-sizing: border-box;
|
|
755
755
|
padding: ${o ? "16px" : 0};
|
|
756
756
|
`
|
|
757
|
-
})), Ho =
|
|
757
|
+
})), Ho = m("h1")(({ color: e }) => ({
|
|
758
758
|
...T`
|
|
759
759
|
margin: 0;
|
|
760
760
|
font-size: 2.1rem;
|
|
761
761
|
font-family: 'Roboto';
|
|
762
762
|
color: ${e};
|
|
763
763
|
`
|
|
764
|
-
})), Eo =
|
|
764
|
+
})), Eo = m(U)(({ backgroundQuaternary: e }) => ({
|
|
765
765
|
...T`
|
|
766
766
|
top: ${r.constants.appHeaderHeight}px;
|
|
767
767
|
font-family: 'Roboto';
|
|
@@ -781,12 +781,12 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
781
781
|
background-color: transparent;
|
|
782
782
|
}
|
|
783
783
|
`
|
|
784
|
-
})), So =
|
|
784
|
+
})), So = m("img")(({ width: e, height: o }) => ({
|
|
785
785
|
...T`
|
|
786
786
|
width: ${e}px;
|
|
787
787
|
height: ${o}px;
|
|
788
788
|
`
|
|
789
|
-
})), Me =
|
|
789
|
+
})), Me = m("div")(({ justifyStart: e }) => ({
|
|
790
790
|
...T`
|
|
791
791
|
display: flex;
|
|
792
792
|
flex-direction: row;
|
|
@@ -794,7 +794,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
794
794
|
justify-content: ${e ? "start" : "space-between"};
|
|
795
795
|
padding: 8px 16px 8px 24px;
|
|
796
796
|
`
|
|
797
|
-
})), Do =
|
|
797
|
+
})), Do = m(U)(() => ({
|
|
798
798
|
...T`
|
|
799
799
|
top: ${r.constants.appHeaderHeight}px;
|
|
800
800
|
font-family: 'Roboto';
|
|
@@ -825,7 +825,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
825
825
|
userSettingsEnabled: P = !0,
|
|
826
826
|
userProfileMenuItems: x = [],
|
|
827
827
|
actionsPanelContent: c,
|
|
828
|
-
navWidth:
|
|
828
|
+
navWidth: g = r.constants.navDefaultWidth,
|
|
829
829
|
breakpoints: u = { mobile: r.screenSizes.mobile, tablet: r.screenSizes.tablet },
|
|
830
830
|
children: b,
|
|
831
831
|
themeColors: B = {},
|
|
@@ -855,7 +855,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
855
855
|
iconColor: r.colors.darkGreen,
|
|
856
856
|
backgroundColor: r.colors.mint
|
|
857
857
|
}
|
|
858
|
-
} = B, { logoSrc: fe = Xe, logoWidth:
|
|
858
|
+
} = B, { logoSrc: fe = Xe, logoWidth: ge = 36, logoHeight: me = 50 } = C, be = {
|
|
859
859
|
backgroundPrimary: S,
|
|
860
860
|
backgroundSecondary: k,
|
|
861
861
|
backgroundTertiary: I,
|
|
@@ -870,9 +870,9 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
870
870
|
scrollColor: A,
|
|
871
871
|
loadingColor: Be,
|
|
872
872
|
iconColors: ue
|
|
873
|
-
}, Ie = { logoSrc: fe, logoWidth:
|
|
873
|
+
}, Ie = { logoSrc: fe, logoWidth: ge, logoHeight: me }, ae = c != null, Ae = { ...n, navWidth: g, loggedIn: F }, Y = { ...e, themeColors: be }, Le = {
|
|
874
874
|
...Y,
|
|
875
|
-
navWidth: `${
|
|
875
|
+
navWidth: `${g}px`,
|
|
876
876
|
isMobile: d
|
|
877
877
|
}, { navItems: J } = e, se = o || ((we = J.find((w) => w.label === (e == null ? void 0 : e.activeRoute))) == null ? void 0 : we.subnavItems) || [], Fe = {
|
|
878
878
|
themeColors: be,
|
|
@@ -961,7 +961,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
961
961
|
shadowColor: ie,
|
|
962
962
|
children: [
|
|
963
963
|
/* @__PURE__ */ y(Me, { children: [
|
|
964
|
-
/* @__PURE__ */ i(So, { src: fe, alt: "logo", width:
|
|
964
|
+
/* @__PURE__ */ i(So, { src: fe, alt: "logo", width: ge, height: me }),
|
|
965
965
|
/* @__PURE__ */ i(re, { variant: "icon", size: 36, onClick: () => $(!1), color: D, children: /* @__PURE__ */ i(Ye, {}) })
|
|
966
966
|
] }),
|
|
967
967
|
/* @__PURE__ */ i(L, { ...le })
|
|
@@ -1098,7 +1098,7 @@ const Te = de(/* @__PURE__ */ i("path", {
|
|
|
1098
1098
|
show: se && se.length > 0,
|
|
1099
1099
|
borderColor: X,
|
|
1100
1100
|
backgroundColor: I,
|
|
1101
|
-
width:
|
|
1101
|
+
width: g,
|
|
1102
1102
|
children: /* @__PURE__ */ i(L, { ...Fe })
|
|
1103
1103
|
}
|
|
1104
1104
|
),
|