@mx-cartographer/experiences 7.2.14-alpha.san2 → 7.2.14-alpha.san3
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/finstrong/components/KeyIndicatorsSpendTab.d.ts +1 -1
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +1 -1
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +1 -1
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +1 -1
- package/dist/finstrong/index.es.js +15 -15
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface KeyIndicatorsSpendTabProps {
|
|
3
|
-
|
|
3
|
+
onPrimaryCtaClick?: (value: string) => () => void;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: React.FunctionComponent<KeyIndicatorsSpendTabProps>;
|
|
6
6
|
export default _default;
|
|
@@ -6,7 +6,7 @@ interface KeyIndicatorsTabsItemProps {
|
|
|
6
6
|
title: string;
|
|
7
7
|
description: string;
|
|
8
8
|
cardState: keyof typeof CardStatus;
|
|
9
|
-
|
|
9
|
+
onPrimaryCtaClick?: (value: string) => () => void;
|
|
10
10
|
}
|
|
11
11
|
declare const KeyIndicatorsTabsItem: React.FC<KeyIndicatorsTabsItemProps>;
|
|
12
12
|
export default KeyIndicatorsTabsItem;
|
|
@@ -3,9 +3,9 @@ interface KeyIndicatorsTabItemDrawerProps {
|
|
|
3
3
|
drawerFor: KeyIndicatorsTabItemType;
|
|
4
4
|
isOpen: boolean;
|
|
5
5
|
onClose: () => void;
|
|
6
|
-
|
|
6
|
+
onPrimaryCtaClick?: (value: string) => () => void;
|
|
7
7
|
}
|
|
8
|
-
declare const _default: (({ drawerFor, isOpen, onClose,
|
|
8
|
+
declare const _default: (({ drawerFor, isOpen, onClose, onPrimaryCtaClick, }: KeyIndicatorsTabItemDrawerProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface KeyIndicatorsTabsWidgetProps {
|
|
3
|
-
|
|
3
|
+
onPrimaryCtaClick?: (value: string) => () => void;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: React.FunctionComponent<KeyIndicatorsTabsWidgetProps>;
|
|
6
6
|
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface SpendLessThanYouMakeComponentProps {
|
|
3
|
-
|
|
3
|
+
onPrimaryCtaClick?: (value: string) => () => void;
|
|
4
4
|
}
|
|
5
5
|
declare const _default: React.FunctionComponent<SpendLessThanYouMakeComponentProps>;
|
|
6
6
|
export default _default;
|
|
@@ -2022,7 +2022,7 @@ const B = {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
);
|
|
2024
2024
|
}, Fr = S(Rr), Pr = ({
|
|
2025
|
-
|
|
2025
|
+
onPrimaryCtaClick: t
|
|
2026
2026
|
}) => {
|
|
2027
2027
|
const r = G(), { monthlySummaries: n } = F(), { finstrong: o, goals: s, spending: i } = w(), { selectedAccounts: c } = j(), { categories: p, dateRangeCategoryTotals: l, loadDateRangeCategoryTotals: d } = Ye(), { appDataStore: _ } = Kn(), [h, y] = m.useState("");
|
|
2028
2028
|
m.useEffect(() => {
|
|
@@ -2055,10 +2055,10 @@ const B = {
|
|
|
2055
2055
|
data: n,
|
|
2056
2056
|
legendLabelComparison: o.key_indicators_spend.spend_less_than_you_make_drawer.income,
|
|
2057
2057
|
legendLabelMain: o.key_indicators_spend.spend_less_than_you_make_drawer.spending,
|
|
2058
|
+
onClick: () => t?.("trends"),
|
|
2058
2059
|
title: o.key_indicators_spend.spend_less_than_you_make_drawer.trends,
|
|
2059
2060
|
totalComparison: L(D, "0,0.00"),
|
|
2060
|
-
totalMain: L(b, "0,0.00")
|
|
2061
|
-
onClick: t?.("Trends")
|
|
2061
|
+
totalMain: L(b, "0,0.00")
|
|
2062
2062
|
}
|
|
2063
2063
|
) : /* @__PURE__ */ e(
|
|
2064
2064
|
Fe,
|
|
@@ -2105,13 +2105,13 @@ const B = {
|
|
|
2105
2105
|
z,
|
|
2106
2106
|
{
|
|
2107
2107
|
endIcon: /* @__PURE__ */ e(Z, {}),
|
|
2108
|
+
onClick: () => t?.("spending"),
|
|
2108
2109
|
size: "small",
|
|
2109
2110
|
sx: {
|
|
2110
2111
|
pl: 8,
|
|
2111
2112
|
height: 24
|
|
2112
2113
|
},
|
|
2113
2114
|
variant: "text",
|
|
2114
|
-
onClick: t?.("Spending"),
|
|
2115
2115
|
children: o.key_indicators_spend.spend_less_than_you_make_drawer.view_more
|
|
2116
2116
|
}
|
|
2117
2117
|
)
|
|
@@ -2169,14 +2169,14 @@ const B = {
|
|
|
2169
2169
|
drawerFor: t,
|
|
2170
2170
|
isOpen: r,
|
|
2171
2171
|
onClose: n,
|
|
2172
|
-
|
|
2172
|
+
onPrimaryCtaClick: o
|
|
2173
2173
|
}) => {
|
|
2174
2174
|
const { finstrong: s } = w(), c = {
|
|
2175
2175
|
spendLessThanYouMake: {
|
|
2176
2176
|
title: s.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_title,
|
|
2177
2177
|
description: s.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_description,
|
|
2178
2178
|
stickyComponent: /* @__PURE__ */ e(Fr, {}),
|
|
2179
|
-
content: /* @__PURE__ */ e(Br, {
|
|
2179
|
+
content: /* @__PURE__ */ e(Br, { onPrimaryCtaClick: o }),
|
|
2180
2180
|
drawerType: "connectDrawer",
|
|
2181
2181
|
connectTitle: s.connect_your_accounts,
|
|
2182
2182
|
connectDescription: s.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
|
|
@@ -2245,7 +2245,7 @@ const B = {
|
|
|
2245
2245
|
title: r,
|
|
2246
2246
|
description: n,
|
|
2247
2247
|
cardState: o = "MISSING",
|
|
2248
|
-
|
|
2248
|
+
onPrimaryCtaClick: s
|
|
2249
2249
|
}) => {
|
|
2250
2250
|
const [i, c] = m.useState(!1);
|
|
2251
2251
|
return /* @__PURE__ */ a(E, { children: [
|
|
@@ -2279,14 +2279,14 @@ const B = {
|
|
|
2279
2279
|
/* @__PURE__ */ e(
|
|
2280
2280
|
$r,
|
|
2281
2281
|
{
|
|
2282
|
-
handleFinstrongWidgetPrimaryCtaClick: s,
|
|
2283
2282
|
drawerFor: t,
|
|
2284
2283
|
isOpen: i,
|
|
2285
|
-
onClose: () => c(!1)
|
|
2284
|
+
onClose: () => c(!1),
|
|
2285
|
+
onPrimaryCtaClick: s
|
|
2286
2286
|
}
|
|
2287
2287
|
)
|
|
2288
2288
|
] });
|
|
2289
|
-
}, Wr = ({
|
|
2289
|
+
}, Wr = ({ onPrimaryCtaClick: t }) => {
|
|
2290
2290
|
const { finstrong: r } = w(), { key_indicators_spend: n } = r, { healthScore: o } = F(), s = (p) => {
|
|
2291
2291
|
const l = Wn(p), d = {
|
|
2292
2292
|
GOOD: n.ratio_good_description,
|
|
@@ -2318,8 +2318,8 @@ const B = {
|
|
|
2318
2318
|
cardState: i.cardState,
|
|
2319
2319
|
description: i.description,
|
|
2320
2320
|
drawerFor: de.SpendLessThanYouMake,
|
|
2321
|
-
|
|
2322
|
-
|
|
2321
|
+
onPrimaryCtaClick: t,
|
|
2322
|
+
title: i.title
|
|
2323
2323
|
}
|
|
2324
2324
|
),
|
|
2325
2325
|
/* @__PURE__ */ e(
|
|
@@ -2442,7 +2442,7 @@ const B = {
|
|
|
2442
2442
|
}
|
|
2443
2443
|
)
|
|
2444
2444
|
] });
|
|
2445
|
-
}, Nr = S(Hr), Kr = ({
|
|
2445
|
+
}, Nr = S(Hr), Kr = ({ onPrimaryCtaClick: t }) => {
|
|
2446
2446
|
const [r, n] = m.useState(0), { finstrong: o } = w();
|
|
2447
2447
|
return /* @__PURE__ */ a(E, { children: [
|
|
2448
2448
|
/* @__PURE__ */ a(
|
|
@@ -2497,7 +2497,7 @@ const B = {
|
|
|
2497
2497
|
]
|
|
2498
2498
|
}
|
|
2499
2499
|
),
|
|
2500
|
-
/* @__PURE__ */ e(le, { index: 0, name: "spend-details", value: r, children: /* @__PURE__ */ e(zr, {
|
|
2500
|
+
/* @__PURE__ */ e(le, { index: 0, name: "spend-details", value: r, children: /* @__PURE__ */ e(zr, { onPrimaryCtaClick: t }) }),
|
|
2501
2501
|
/* @__PURE__ */ e(le, { index: 1, name: "save-details", value: r, children: /* @__PURE__ */ e(Gr, {}) }),
|
|
2502
2502
|
/* @__PURE__ */ e(le, { index: 2, name: "borrow-details", value: r, children: /* @__PURE__ */ e(Nr, {}) })
|
|
2503
2503
|
] });
|
|
@@ -3554,7 +3554,7 @@ const B = {
|
|
|
3554
3554
|
useCustomMark: !0
|
|
3555
3555
|
}
|
|
3556
3556
|
) : /* @__PURE__ */ e(Vr, { onClick: () => X(!0) }),
|
|
3557
|
-
h.health_score !== null && /* @__PURE__ */ e(jr, {
|
|
3557
|
+
h.health_score !== null && /* @__PURE__ */ e(jr, { onPrimaryCtaClick: n })
|
|
3558
3558
|
] }) })
|
|
3559
3559
|
]
|
|
3560
3560
|
}
|