@mx-cartographer/experiences 6.26.2-ram2-alpha-finstrong-financial-strength-section → 6.26.2-ram4-alpha-finstrong-financial-strength-section
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 +38 -21
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -12823,8 +12823,8 @@ const Pp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12823
12823
|
{ id: 2, label: "Group B", value: 25 },
|
|
12824
12824
|
{ id: 3, label: "Group C", value: 25 },
|
|
12825
12825
|
{ id: 4, label: "Group D", value: 25 }
|
|
12826
|
-
], { finstrong: r } = T()
|
|
12827
|
-
return
|
|
12826
|
+
], { finstrong: r } = T();
|
|
12827
|
+
return /* @__PURE__ */ t(
|
|
12828
12828
|
Zc,
|
|
12829
12829
|
{
|
|
12830
12830
|
arcRadius: e,
|
|
@@ -12835,7 +12835,7 @@ const Pp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12835
12835
|
isFinacialStrengthGraph: !0,
|
|
12836
12836
|
size: n
|
|
12837
12837
|
}
|
|
12838
|
-
)
|
|
12838
|
+
);
|
|
12839
12839
|
}
|
|
12840
12840
|
), X2 = x(
|
|
12841
12841
|
({
|
|
@@ -13024,11 +13024,19 @@ const jo = ({
|
|
|
13024
13024
|
},
|
|
13025
13025
|
children: [
|
|
13026
13026
|
n && /* @__PURE__ */ t(so, { sx: { height: 20, width: 20 } }),
|
|
13027
|
-
/* @__PURE__ */ t(at, { sx: { ...e && { fontSize: 15 } }, children: a || _.connect_more_accounts_title })
|
|
13027
|
+
/* @__PURE__ */ t(at, { className: "connect-more-accounts-title", sx: { ...e && { fontSize: 15 } }, children: a || _.connect_more_accounts_title })
|
|
13028
13028
|
]
|
|
13029
13029
|
}
|
|
13030
13030
|
),
|
|
13031
|
-
/* @__PURE__ */ t(
|
|
13031
|
+
/* @__PURE__ */ t(
|
|
13032
|
+
ne,
|
|
13033
|
+
{
|
|
13034
|
+
className: "connect-more-accounts-description",
|
|
13035
|
+
sx: { color: "text.secondary", mt: 8 },
|
|
13036
|
+
variant: "subtitle1",
|
|
13037
|
+
children: o || _.connect_more_accounts_description
|
|
13038
|
+
}
|
|
13039
|
+
),
|
|
13032
13040
|
/* @__PURE__ */ t(
|
|
13033
13041
|
te,
|
|
13034
13042
|
{
|
|
@@ -13051,32 +13059,23 @@ const jo = ({
|
|
|
13051
13059
|
}
|
|
13052
13060
|
);
|
|
13053
13061
|
}, qp = x(() => {
|
|
13054
|
-
const e = ze(), [n, { width: i }] = ni(), { finstrong: a } = T(), {
|
|
13055
|
-
return /* @__PURE__ */ l(At, { ref: n, sx: { p: 16 }, children: [
|
|
13062
|
+
const e = ze(), [n, { width: i }] = ni(), { finstrong: a } = T(), { isCopyLoaded: o, isInitialized: r } = ue(), { healthScore: s, healthScoreChange: c } = Wi(), d = e.palette.mode === "dark";
|
|
13063
|
+
return !o || !r ? /* @__PURE__ */ t(_e, {}) : /* @__PURE__ */ l(At, { ref: n, sx: { p: 16 }, children: [
|
|
13056
13064
|
/* @__PURE__ */ t(b, { sx: { justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(
|
|
13057
13065
|
jp,
|
|
13058
13066
|
{
|
|
13059
13067
|
arcRadius: i <= 323 ? 73 : 154,
|
|
13060
|
-
footerCenterContent:
|
|
13061
|
-
healthScore:
|
|
13068
|
+
footerCenterContent: c,
|
|
13069
|
+
healthScore: s?.health_score || 0,
|
|
13062
13070
|
size: i <= 323 ? "M" : "L"
|
|
13063
13071
|
}
|
|
13064
13072
|
) }),
|
|
13065
|
-
|
|
13066
|
-
jo,
|
|
13067
|
-
{
|
|
13068
|
-
buttonText: a.connect_more_accounts_title,
|
|
13069
|
-
description: a.health_score_zero_description,
|
|
13070
|
-
hasIcon: !1,
|
|
13071
|
-
sx: { backgroundColor: "grey.50" },
|
|
13072
|
-
title: a.health_score_zero_title
|
|
13073
|
-
}
|
|
13074
|
-
) : /* @__PURE__ */ l(
|
|
13073
|
+
s?.health_score ? /* @__PURE__ */ l(
|
|
13075
13074
|
gi,
|
|
13076
13075
|
{
|
|
13077
13076
|
sx: {
|
|
13078
13077
|
px: 16,
|
|
13079
|
-
backgroundColor:
|
|
13078
|
+
backgroundColor: d ? "grey.800" : "grey.50",
|
|
13080
13079
|
minHeight: 52,
|
|
13081
13080
|
"&::before": {
|
|
13082
13081
|
display: "none"
|
|
@@ -13098,9 +13097,27 @@ const jo = ({
|
|
|
13098
13097
|
children: /* @__PURE__ */ t(ne, { sx: { fontWeight: 600 }, variant: "body1", children: a.accordion_title_text })
|
|
13099
13098
|
}
|
|
13100
13099
|
),
|
|
13101
|
-
/* @__PURE__ */ t(mi, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ t(ne, { variant: "subtitle1", children: qc(
|
|
13100
|
+
/* @__PURE__ */ t(mi, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ t(ne, { variant: "subtitle1", children: qc(s?.health_score, a, !0) }) })
|
|
13102
13101
|
]
|
|
13103
13102
|
}
|
|
13103
|
+
) : /* @__PURE__ */ t(
|
|
13104
|
+
jo,
|
|
13105
|
+
{
|
|
13106
|
+
buttonText: a.connect_more_accounts_title,
|
|
13107
|
+
description: a.health_score_zero_description,
|
|
13108
|
+
hasIcon: !1,
|
|
13109
|
+
isDashboard: !0,
|
|
13110
|
+
sx: {
|
|
13111
|
+
backgroundColor: "grey.50",
|
|
13112
|
+
".connect-more-accounts-title": {
|
|
13113
|
+
fontWeight: 600,
|
|
13114
|
+
lineHeight: "20px",
|
|
13115
|
+
color: "text.primary"
|
|
13116
|
+
},
|
|
13117
|
+
".connect-more-accounts-description": { color: "text.primary" }
|
|
13118
|
+
},
|
|
13119
|
+
title: a.health_score_zero_title
|
|
13120
|
+
}
|
|
13104
13121
|
)
|
|
13105
13122
|
] });
|
|
13106
13123
|
}), Zp = ({
|