@mx-cartographer/insights-ui 1.7.4-alpha.mega1 → 1.7.4-alpha.mega3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +27 -27
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6,7 +6,7 @@ import { BottomSheetTransition as ce, Icon as C, P as g, Text as b, InstitutionL
|
|
|
6
6
|
import fe from "react-confetti";
|
|
7
7
|
import u from "@mui/material/Box";
|
|
8
8
|
import H from "@mui/material/Card";
|
|
9
|
-
import { useTheme as
|
|
9
|
+
import { useTheme as w, styled as Y, ThemeProvider as Ee } from "@mui/material/styles";
|
|
10
10
|
import { useInView as ge } from "react-intersection-observer";
|
|
11
11
|
import xe from "@mui/material/CardHeader";
|
|
12
12
|
import ie from "@mui/material/CardContent";
|
|
@@ -17,9 +17,9 @@ import Ce from "@mui/material/Menu";
|
|
|
17
17
|
import ye from "@mui/material/MenuItem";
|
|
18
18
|
import E from "@mui/material/Stack";
|
|
19
19
|
import { ResponsiveChartContainer as ve, ChartsReferenceLine as Ae, ChartsXAxis as He, BarPlot as be } from "@mui/x-charts";
|
|
20
|
-
import { useChartContainerDimensions as
|
|
20
|
+
import { useChartContainerDimensions as we } from "@mui/x-charts/internals";
|
|
21
21
|
import { animated as N } from "@react-spring/web";
|
|
22
|
-
import
|
|
22
|
+
import Me from "@mui/material/Paper";
|
|
23
23
|
import { CardHeader as Le, Stack as B, Card as ke } from "@mui/material";
|
|
24
24
|
import { Box as Se, styled as qe, useTheme as Ve } from "@mui/system";
|
|
25
25
|
import R from "@mui/material/Button";
|
|
@@ -162,7 +162,7 @@ const Ge = ({
|
|
|
162
162
|
percentageCompleteText: l,
|
|
163
163
|
progressColorOverride: o
|
|
164
164
|
}) => {
|
|
165
|
-
const a =
|
|
165
|
+
const a = w();
|
|
166
166
|
return /* @__PURE__ */ s(
|
|
167
167
|
u,
|
|
168
168
|
{
|
|
@@ -212,7 +212,7 @@ const Ge = ({
|
|
|
212
212
|
gradientOverride: r,
|
|
213
213
|
title: n
|
|
214
214
|
}) => {
|
|
215
|
-
const l =
|
|
215
|
+
const l = w();
|
|
216
216
|
return /* @__PURE__ */ s(
|
|
217
217
|
u,
|
|
218
218
|
{
|
|
@@ -443,7 +443,7 @@ const Ge = ({
|
|
|
443
443
|
style: o,
|
|
444
444
|
...a
|
|
445
445
|
}) => {
|
|
446
|
-
const d =
|
|
446
|
+
const d = w(), c = z(null);
|
|
447
447
|
ae(() => {
|
|
448
448
|
const p = new ResizeObserver(() => {
|
|
449
449
|
if (c.current) {
|
|
@@ -486,11 +486,11 @@ const Ge = ({
|
|
|
486
486
|
selectedTabIndex: d,
|
|
487
487
|
onBarClick: c
|
|
488
488
|
}) => {
|
|
489
|
-
const h =
|
|
489
|
+
const h = w(), { containerRef: m, height: p, width: f } = we(), x = j(() => {
|
|
490
490
|
const y = `${r}80`;
|
|
491
|
-
return d === void 0 ? [...new Array(n.length - 1).fill(y), r] : n.map((
|
|
491
|
+
return d === void 0 ? [...new Array(n.length - 1).fill(y), r] : n.map((M, S) => S === d ? r : y);
|
|
492
492
|
}, [r, n, d]), v = de(
|
|
493
|
-
(y, { dataIndex:
|
|
493
|
+
(y, { dataIndex: M }) => c && c(M),
|
|
494
494
|
[c]
|
|
495
495
|
), k = j(
|
|
496
496
|
() => ({
|
|
@@ -504,7 +504,7 @@ const Ge = ({
|
|
|
504
504
|
{
|
|
505
505
|
data: n.map(({ label: y }) => y),
|
|
506
506
|
scaleType: "band",
|
|
507
|
-
categoryGapRatio: 0.
|
|
507
|
+
categoryGapRatio: 0.45
|
|
508
508
|
}
|
|
509
509
|
]
|
|
510
510
|
}),
|
|
@@ -544,13 +544,13 @@ const Ge = ({
|
|
|
544
544
|
}
|
|
545
545
|
},
|
|
546
546
|
slots: {
|
|
547
|
-
axisTickLabel: ({ text: y, ...
|
|
547
|
+
axisTickLabel: ({ text: y, ...M }) => {
|
|
548
548
|
const S = n[d ?? n.length - 1]?.label;
|
|
549
549
|
return /* @__PURE__ */ e(
|
|
550
550
|
"text",
|
|
551
551
|
{
|
|
552
|
-
...
|
|
553
|
-
style: { ...
|
|
552
|
+
...M,
|
|
553
|
+
style: { ...M.style, fontWeight: S === y ? "bold" : 400 },
|
|
554
554
|
children: y
|
|
555
555
|
}
|
|
556
556
|
);
|
|
@@ -572,14 +572,14 @@ const Ge = ({
|
|
|
572
572
|
onItemClick: v,
|
|
573
573
|
slots: {
|
|
574
574
|
bar: (y) => {
|
|
575
|
-
const { ownerState:
|
|
575
|
+
const { ownerState: M, style: S, ...oe } = y;
|
|
576
576
|
return /* @__PURE__ */ e(
|
|
577
577
|
Ne,
|
|
578
578
|
{
|
|
579
579
|
...oe,
|
|
580
580
|
colorRange: x,
|
|
581
581
|
data: n,
|
|
582
|
-
dataIndex:
|
|
582
|
+
dataIndex: M.dataIndex,
|
|
583
583
|
selectedTabIndex: d || n.length - 1,
|
|
584
584
|
style: S
|
|
585
585
|
}
|
|
@@ -705,7 +705,7 @@ const Ge = ({
|
|
|
705
705
|
/* @__PURE__ */ e(b, { bold: i, sx: c, children: d })
|
|
706
706
|
] }), I = 48, Oe = ({ account: i, headerString: r }) => /* @__PURE__ */ s(L, { children: [
|
|
707
707
|
/* @__PURE__ */ e(
|
|
708
|
-
|
|
708
|
+
Me,
|
|
709
709
|
{
|
|
710
710
|
elevation: 1,
|
|
711
711
|
sx: (n) => ({
|
|
@@ -729,7 +729,7 @@ const Ge = ({
|
|
|
729
729
|
),
|
|
730
730
|
/* @__PURE__ */ e(g, { bold: !0, sx: { width: "100%", textAlign: "center" }, children: r })
|
|
731
731
|
] }), Ue = ({ leftLowerText: i, leftUpperText: r }) => {
|
|
732
|
-
const n =
|
|
732
|
+
const n = w();
|
|
733
733
|
return /* @__PURE__ */ s(
|
|
734
734
|
H,
|
|
735
735
|
{
|
|
@@ -779,7 +779,7 @@ const Ge = ({
|
|
|
779
779
|
rightLowerText: r,
|
|
780
780
|
rightUpperText: n
|
|
781
781
|
}) => {
|
|
782
|
-
const l =
|
|
782
|
+
const l = w();
|
|
783
783
|
return /* @__PURE__ */ e(
|
|
784
784
|
H,
|
|
785
785
|
{
|
|
@@ -852,7 +852,7 @@ const Ge = ({
|
|
|
852
852
|
}
|
|
853
853
|
});
|
|
854
854
|
}, J = ({ divProps: i, image: r, isMini: n = !1 }) => {
|
|
855
|
-
const l =
|
|
855
|
+
const l = w(), o = z(null), a = {
|
|
856
856
|
100: l.palette.primary.lighter,
|
|
857
857
|
200: l.palette.primary.light,
|
|
858
858
|
300: l.palette.primary.main,
|
|
@@ -1187,7 +1187,7 @@ const Ge = ({
|
|
|
1187
1187
|
onClose: o,
|
|
1188
1188
|
selectedRadio: a
|
|
1189
1189
|
}) => {
|
|
1190
|
-
const d =
|
|
1190
|
+
const d = w(), { cancelText: c, submitText: h } = i, m = Y(R)({
|
|
1191
1191
|
backgroundColor: "transparent",
|
|
1192
1192
|
color: d.palette.primary.light,
|
|
1193
1193
|
fontSize: 15,
|
|
@@ -1374,7 +1374,7 @@ const Ge = ({
|
|
|
1374
1374
|
}
|
|
1375
1375
|
)
|
|
1376
1376
|
] }),
|
|
1377
|
-
children: /* @__PURE__ */ e(u, { sx: { mb:
|
|
1377
|
+
children: /* @__PURE__ */ e(u, { sx: { mb: 24, width: "100%" }, children: /* @__PURE__ */ e(
|
|
1378
1378
|
Be,
|
|
1379
1379
|
{
|
|
1380
1380
|
amounts: i,
|
|
@@ -1864,7 +1864,7 @@ const Ge = ({
|
|
|
1864
1864
|
)
|
|
1865
1865
|
]
|
|
1866
1866
|
}
|
|
1867
|
-
),
|
|
1867
|
+
), w1 = ({
|
|
1868
1868
|
destinationAccountGuid: i,
|
|
1869
1869
|
externalAccountName: r,
|
|
1870
1870
|
heldAccountName: n,
|
|
@@ -1917,14 +1917,14 @@ const Ge = ({
|
|
|
1917
1917
|
rightUpperText: f
|
|
1918
1918
|
}
|
|
1919
1919
|
) : /* @__PURE__ */ e(
|
|
1920
|
-
|
|
1920
|
+
w1,
|
|
1921
1921
|
{
|
|
1922
1922
|
destinationAccountGuid: n,
|
|
1923
1923
|
externalAccountName: l,
|
|
1924
1924
|
heldAccountName: o,
|
|
1925
1925
|
sourceAccountGuid: x
|
|
1926
1926
|
}
|
|
1927
|
-
) }),
|
|
1927
|
+
) }), M1 = ({
|
|
1928
1928
|
beat: i,
|
|
1929
1929
|
category: r,
|
|
1930
1930
|
formattedNumber: n,
|
|
@@ -2009,7 +2009,7 @@ const Ge = ({
|
|
|
2009
2009
|
},
|
|
2010
2010
|
isMini: a,
|
|
2011
2011
|
children: i.is_zero_state ? /* @__PURE__ */ e(E1, {}) : /* @__PURE__ */ e(
|
|
2012
|
-
|
|
2012
|
+
M1,
|
|
2013
2013
|
{
|
|
2014
2014
|
beat: i,
|
|
2015
2015
|
category: n,
|
|
@@ -2062,9 +2062,9 @@ export {
|
|
|
2062
2062
|
vt as SetUpDirectDepositBody,
|
|
2063
2063
|
ct as Shell,
|
|
2064
2064
|
At as SwitchDirectDepositBody,
|
|
2065
|
-
|
|
2065
|
+
w1 as SwitchDirectDepositMainContainer,
|
|
2066
2066
|
b1 as TotalSavedSection,
|
|
2067
2067
|
Ht as UnifiedDeposit,
|
|
2068
|
-
|
|
2068
|
+
M1 as UnifiedDepositBody
|
|
2069
2069
|
};
|
|
2070
2070
|
//# sourceMappingURL=index.es.js.map
|