@mx-cartographer/experiences 6.26.2-ram1-alpha-finstrong-financial-strength-section → 6.26.2-ram3-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 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(), { isCopyLoaded: s } = ue();
12827
- return s ? /* @__PURE__ */ t(
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
- ) : /* @__PURE__ */ t(_e, {});
12838
+ );
12839
12839
  }
12840
12840
  ), X2 = x(
12841
12841
  ({
@@ -13051,32 +13051,23 @@ const jo = ({
13051
13051
  }
13052
13052
  );
13053
13053
  }, qp = x(() => {
13054
- const e = ze(), [n, { width: i }] = ni(), { finstrong: a } = T(), { healthScore: o, healthScoreChange: r } = Wi(), s = e.palette.mode === "dark";
13055
- return /* @__PURE__ */ l(At, { ref: n, sx: { p: 16 }, children: [
13054
+ 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";
13055
+ return !o || !r ? /* @__PURE__ */ t(_e, {}) : /* @__PURE__ */ l(At, { ref: n, sx: { p: 16 }, children: [
13056
13056
  /* @__PURE__ */ t(b, { sx: { justifyContent: "center", alignItems: "center" }, children: /* @__PURE__ */ t(
13057
13057
  jp,
13058
13058
  {
13059
13059
  arcRadius: i <= 323 ? 73 : 154,
13060
- footerCenterContent: r,
13061
- healthScore: o?.health_score,
13060
+ footerCenterContent: c,
13061
+ healthScore: s?.health_score,
13062
13062
  size: i <= 323 ? "M" : "L"
13063
13063
  }
13064
13064
  ) }),
13065
- o?.health_score === 0 ? /* @__PURE__ */ t(
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(
13065
+ s?.health_score ? /* @__PURE__ */ l(
13075
13066
  gi,
13076
13067
  {
13077
13068
  sx: {
13078
13069
  px: 16,
13079
- backgroundColor: s ? "grey.800" : "grey.50",
13070
+ backgroundColor: d ? "grey.800" : "grey.50",
13080
13071
  minHeight: 52,
13081
13072
  "&::before": {
13082
13073
  display: "none"
@@ -13098,9 +13089,18 @@ const jo = ({
13098
13089
  children: /* @__PURE__ */ t(ne, { sx: { fontWeight: 600 }, variant: "body1", children: a.accordion_title_text })
13099
13090
  }
13100
13091
  ),
13101
- /* @__PURE__ */ t(mi, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ t(ne, { variant: "subtitle1", children: qc(o?.health_score, a, !0) }) })
13092
+ /* @__PURE__ */ t(mi, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ t(ne, { variant: "subtitle1", children: qc(s?.health_score, a, !0) }) })
13102
13093
  ]
13103
13094
  }
13095
+ ) : /* @__PURE__ */ t(
13096
+ jo,
13097
+ {
13098
+ buttonText: a.connect_more_accounts_title,
13099
+ description: a.health_score_zero_description,
13100
+ hasIcon: !1,
13101
+ sx: { backgroundColor: "grey.50" },
13102
+ title: a.health_score_zero_title
13103
+ }
13104
13104
  )
13105
13105
  ] });
13106
13106
  }), Zp = ({
@@ -13625,7 +13625,7 @@ const jo = ({
13625
13625
  if (!C || !E) return /* @__PURE__ */ t(_e, {});
13626
13626
  const N = () => {
13627
13627
  }, R = () => w(!0);
13628
- return /* @__PURE__ */ l(
13628
+ return console.log(JSON.parse(JSON.stringify(_)), "augmentedchart data"), console.log(JSON.parse(JSON.stringify(h)), "healthscore"), /* @__PURE__ */ l(
13629
13629
  ft,
13630
13630
  {
13631
13631
  accountOptions: a,