@mx-cartographer/experiences 9.6.6 → 9.6.8
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/CHANGELOG.md +8 -0
- package/dist/common/components/Banner.es.js +66 -26
- package/dist/common/components/Banner.es.js.map +1 -1
- package/dist/common/components/ConnectDrawer.d.ts +2 -0
- package/dist/common/components/ConnectDrawer.es.js +15 -14
- package/dist/common/components/ConnectDrawer.es.js.map +1 -1
- package/dist/common/components/ConnectWidgetPanel.d.ts +2 -0
- package/dist/common/components/ConnectWidgetPanel.es.js +48 -39
- package/dist/common/components/ConnectWidgetPanel.es.js.map +1 -1
- package/dist/common/constants/Analytics.d.ts +6 -0
- package/dist/common/constants/Analytics.es.js +7 -1
- package/dist/common/constants/Analytics.es.js.map +1 -1
- package/dist/common/constants/Connect.d.ts +7 -0
- package/dist/common/constants/Connect.es.js +6 -4
- package/dist/common/constants/Connect.es.js.map +1 -1
- package/dist/common/constants/index.d.ts +2 -1
- package/dist/common/index.es.js +95 -93
- package/dist/core/api/BannerApi.d.ts +1 -0
- package/dist/core/api/BannerApi.es.js +4 -2
- package/dist/core/api/BannerApi.es.js.map +1 -1
- package/dist/core/stores/AppDataStore.d.ts +1 -0
- package/dist/core/stores/AppDataStore.es.js +9 -2
- package/dist/core/stores/AppDataStore.es.js.map +1 -1
- package/dist/core/types/AppData.d.ts +2 -0
- package/dist/core/types/Insights.d.ts +7 -0
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +9 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.d.ts +24 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js +56 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -0
- package/dist/insights-v2/components/DebtPayoffCard.d.ts +48 -0
- package/dist/insights-v2/components/DebtPayoffCard.es.js +132 -0
- package/dist/insights-v2/components/DebtPayoffCard.es.js.map +1 -0
- package/dist/insights-v2/index.d.ts +1 -0
- package/dist/insights-v2/index.es.js +85 -81
- package/dist/insights-v2/mappings/blocks.es.js +53 -51
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
export interface DebtPayoffStat {
|
|
3
|
+
/** Row label, e.g. "Projected payoff". */
|
|
4
|
+
label: ReactNode;
|
|
5
|
+
/** Pre-formatted row value, e.g. "Mar 2027". */
|
|
6
|
+
value: ReactNode;
|
|
7
|
+
}
|
|
8
|
+
export interface DebtPayoffPillConfig {
|
|
9
|
+
/** Pill background color token. The pill is borderless. */
|
|
10
|
+
bgcolor: string;
|
|
11
|
+
/** Pill label color token. */
|
|
12
|
+
labelColor: string;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Style props for the card. The Debts block supplies them for its look; the card itself
|
|
16
|
+
* is variant-agnostic. Only what a caller sets today is here; add a knob with its first caller.
|
|
17
|
+
*/
|
|
18
|
+
export interface DebtPayoffCardStyleProps {
|
|
19
|
+
/** Slot surface token behind the white card. Default `background.default`. */
|
|
20
|
+
bgcolor?: string;
|
|
21
|
+
/** Status pill color tokens. */
|
|
22
|
+
pill?: DebtPayoffPillConfig;
|
|
23
|
+
}
|
|
24
|
+
interface DebtPayoffCardProps extends DebtPayoffCardStyleProps {
|
|
25
|
+
/** Institution/account logo rendered beside the account name. */
|
|
26
|
+
logo: ReactNode;
|
|
27
|
+
/** Primary line, e.g. "Epic Bank Credit *0987". */
|
|
28
|
+
name: ReactNode;
|
|
29
|
+
/** Optional secondary line beneath the name, e.g. "Credit Card". */
|
|
30
|
+
subtitle?: ReactNode;
|
|
31
|
+
/** Caption above the balance, e.g. "Current balance". Rendered only together with `balance`. */
|
|
32
|
+
balanceLabel?: ReactNode;
|
|
33
|
+
/** Pre-formatted balance, e.g. "$4,500.00". Omitted (with its caption) when unknown. */
|
|
34
|
+
balance?: ReactNode;
|
|
35
|
+
/** Label/value rows beneath the balance (payoff date, monthly payment, rate). */
|
|
36
|
+
stats?: DebtPayoffStat[];
|
|
37
|
+
/** Optional status pill label beside the account, e.g. the payoff strategy name. */
|
|
38
|
+
statusLabel?: ReactNode;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A debt account card: logo + account name row (with an optional status pill), the current
|
|
42
|
+
* balance, and a divided list of label/value payoff stats, on a tinted slot.
|
|
43
|
+
*
|
|
44
|
+
* Purely presentational — it knows nothing about beats or variants; the Debts block passes
|
|
45
|
+
* the style props for its look.
|
|
46
|
+
*/
|
|
47
|
+
declare const DebtPayoffCard: ({ balance, balanceLabel, bgcolor, logo, name, pill, stats, statusLabel, subtitle, }: DebtPayoffCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
48
|
+
export default DebtPayoffCard;
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import u from "./StatusPill.es.js";
|
|
2
|
+
import e from "@mui/material/Stack";
|
|
3
|
+
import { Text as o } from "@mxenabled/mxui";
|
|
4
|
+
import { Fragment as v, jsx as r, jsxs as t } from "react/jsx-runtime";
|
|
5
|
+
import x from "@mui/material/Box";
|
|
6
|
+
import y from "@mui/material/Divider";
|
|
7
|
+
var w = {
|
|
8
|
+
bgcolor: "grey.200",
|
|
9
|
+
labelColor: "text.primary"
|
|
10
|
+
}, h = (i) => typeof i == "string" ? i : void 0, I = ({ balance: i, balanceLabel: l, bgcolor: m = "background.default", logo: s, name: d, pill: a = w, stats: c = [], statusLabel: p, subtitle: n }) => /* @__PURE__ */ r(e, {
|
|
11
|
+
sx: {
|
|
12
|
+
px: 16,
|
|
13
|
+
width: "100%"
|
|
14
|
+
},
|
|
15
|
+
children: /* @__PURE__ */ r(x, {
|
|
16
|
+
sx: {
|
|
17
|
+
bgcolor: m,
|
|
18
|
+
borderRadius: "8px",
|
|
19
|
+
p: 16,
|
|
20
|
+
width: "100%"
|
|
21
|
+
},
|
|
22
|
+
children: /* @__PURE__ */ t(e, {
|
|
23
|
+
sx: {
|
|
24
|
+
bgcolor: "background.paper",
|
|
25
|
+
border: "1px solid",
|
|
26
|
+
borderColor: "divider",
|
|
27
|
+
borderRadius: "8px",
|
|
28
|
+
gap: 12,
|
|
29
|
+
p: 16,
|
|
30
|
+
width: "100%"
|
|
31
|
+
},
|
|
32
|
+
children: [
|
|
33
|
+
/* @__PURE__ */ t(e, {
|
|
34
|
+
sx: {
|
|
35
|
+
alignItems: "center",
|
|
36
|
+
flexDirection: "row",
|
|
37
|
+
gap: 12
|
|
38
|
+
},
|
|
39
|
+
children: [
|
|
40
|
+
/* @__PURE__ */ r(x, {
|
|
41
|
+
sx: {
|
|
42
|
+
borderRadius: "4px",
|
|
43
|
+
display: "flex",
|
|
44
|
+
flexShrink: 0,
|
|
45
|
+
height: 40,
|
|
46
|
+
overflow: "hidden",
|
|
47
|
+
width: 40
|
|
48
|
+
},
|
|
49
|
+
children: s
|
|
50
|
+
}),
|
|
51
|
+
/* @__PURE__ */ t(e, {
|
|
52
|
+
sx: {
|
|
53
|
+
flexGrow: 1,
|
|
54
|
+
minWidth: 0
|
|
55
|
+
},
|
|
56
|
+
children: [/* @__PURE__ */ r(o, {
|
|
57
|
+
sx: { fontWeight: 600 },
|
|
58
|
+
title: h(d),
|
|
59
|
+
truncate: !0,
|
|
60
|
+
variant: "body2",
|
|
61
|
+
children: d
|
|
62
|
+
}), n && /* @__PURE__ */ r(o, {
|
|
63
|
+
color: "text.secondary",
|
|
64
|
+
title: h(n),
|
|
65
|
+
truncate: !0,
|
|
66
|
+
variant: "caption",
|
|
67
|
+
children: n
|
|
68
|
+
})]
|
|
69
|
+
}),
|
|
70
|
+
p && /* @__PURE__ */ r(u, {
|
|
71
|
+
bgcolor: a.bgcolor,
|
|
72
|
+
label: p,
|
|
73
|
+
labelColor: a.labelColor,
|
|
74
|
+
labelVariant: "caption",
|
|
75
|
+
sx: {
|
|
76
|
+
alignSelf: "center",
|
|
77
|
+
border: "none",
|
|
78
|
+
flexShrink: 0,
|
|
79
|
+
px: 12
|
|
80
|
+
}
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
}),
|
|
84
|
+
i != null && l != null && /* @__PURE__ */ t(e, { children: [/* @__PURE__ */ r(o, {
|
|
85
|
+
color: "text.secondary",
|
|
86
|
+
variant: "caption",
|
|
87
|
+
children: l
|
|
88
|
+
}), /* @__PURE__ */ r(o, {
|
|
89
|
+
bold: !0,
|
|
90
|
+
color: "text.primary",
|
|
91
|
+
component: "p",
|
|
92
|
+
variant: "h2",
|
|
93
|
+
children: i
|
|
94
|
+
})] }),
|
|
95
|
+
c.length > 0 && /* @__PURE__ */ t(v, { children: [/* @__PURE__ */ r(y, {}), /* @__PURE__ */ r(e, {
|
|
96
|
+
component: "dl",
|
|
97
|
+
sx: {
|
|
98
|
+
gap: 8,
|
|
99
|
+
m: 0
|
|
100
|
+
},
|
|
101
|
+
children: c.map(({ label: f, value: g }, b) => /* @__PURE__ */ t(e, {
|
|
102
|
+
sx: {
|
|
103
|
+
alignItems: "baseline",
|
|
104
|
+
flexDirection: "row",
|
|
105
|
+
gap: 12,
|
|
106
|
+
justifyContent: "space-between"
|
|
107
|
+
},
|
|
108
|
+
children: [/* @__PURE__ */ r(o, {
|
|
109
|
+
color: "text.secondary",
|
|
110
|
+
component: "dt",
|
|
111
|
+
variant: "caption",
|
|
112
|
+
children: f
|
|
113
|
+
}), /* @__PURE__ */ r(o, {
|
|
114
|
+
component: "dd",
|
|
115
|
+
sx: {
|
|
116
|
+
fontWeight: 600,
|
|
117
|
+
m: 0
|
|
118
|
+
},
|
|
119
|
+
variant: "body2",
|
|
120
|
+
children: g
|
|
121
|
+
})]
|
|
122
|
+
}, b))
|
|
123
|
+
})] })
|
|
124
|
+
]
|
|
125
|
+
})
|
|
126
|
+
})
|
|
127
|
+
});
|
|
128
|
+
export {
|
|
129
|
+
I as default
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
//# sourceMappingURL=DebtPayoffCard.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DebtPayoffCard.es.js","names":[],"sources":["../../../src/insights-v2/components/DebtPayoffCard.tsx"],"sourcesContent":["import type { ReactNode } from 'react'\n\nimport Box from '@mui/material/Box'\nimport Divider from '@mui/material/Divider'\nimport Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport StatusPill from './StatusPill'\n\nexport interface DebtPayoffStat {\n /** Row label, e.g. \"Projected payoff\". */\n label: ReactNode\n /** Pre-formatted row value, e.g. \"Mar 2027\". */\n value: ReactNode\n}\n\nexport interface DebtPayoffPillConfig {\n /** Pill background color token. The pill is borderless. */\n bgcolor: string\n /** Pill label color token. */\n labelColor: string\n}\n\n/**\n * Style props for the card. The Debts block supplies them for its look; the card itself\n * is variant-agnostic. Only what a caller sets today is here; add a knob with its first caller.\n */\nexport interface DebtPayoffCardStyleProps {\n /** Slot surface token behind the white card. Default `background.default`. */\n bgcolor?: string\n /** Status pill color tokens. */\n pill?: DebtPayoffPillConfig\n}\n\ninterface DebtPayoffCardProps extends DebtPayoffCardStyleProps {\n /** Institution/account logo rendered beside the account name. */\n logo: ReactNode\n /** Primary line, e.g. \"Epic Bank Credit *0987\". */\n name: ReactNode\n /** Optional secondary line beneath the name, e.g. \"Credit Card\". */\n subtitle?: ReactNode\n /** Caption above the balance, e.g. \"Current balance\". Rendered only together with `balance`. */\n balanceLabel?: ReactNode\n /** Pre-formatted balance, e.g. \"$4,500.00\". Omitted (with its caption) when unknown. */\n balance?: ReactNode\n /** Label/value rows beneath the balance (payoff date, monthly payment, rate). */\n stats?: DebtPayoffStat[]\n /** Optional status pill label beside the account, e.g. the payoff strategy name. */\n statusLabel?: ReactNode\n}\n\nconst NEUTRAL_PILL: DebtPayoffPillConfig = { bgcolor: 'grey.200', labelColor: 'text.primary' }\n\n/** Native tooltip with the full value for a truncated line, when the value is plain text. */\nconst titleOf = (value: ReactNode) => (typeof value === 'string' ? value : undefined)\n\n/**\n * A debt account card: logo + account name row (with an optional status pill), the current\n * balance, and a divided list of label/value payoff stats, on a tinted slot.\n *\n * Purely presentational — it knows nothing about beats or variants; the Debts block passes\n * the style props for its look.\n */\nconst DebtPayoffCard = ({\n balance,\n balanceLabel,\n bgcolor = 'background.default',\n logo,\n name,\n pill = NEUTRAL_PILL,\n stats = [],\n statusLabel,\n subtitle,\n}: DebtPayoffCardProps) => (\n <Stack sx={{ px: 16, width: '100%' }}>\n <Box sx={{ bgcolor, borderRadius: '8px', p: 16, width: '100%' }}>\n <Stack\n sx={{\n bgcolor: 'background.paper',\n border: '1px solid',\n borderColor: 'divider',\n borderRadius: '8px',\n gap: 12,\n p: 16,\n width: '100%',\n }}\n >\n <Stack sx={{ alignItems: 'center', flexDirection: 'row', gap: 12 }}>\n <Box\n sx={{\n borderRadius: '4px',\n display: 'flex',\n flexShrink: 0,\n height: 40,\n overflow: 'hidden',\n width: 40,\n }}\n >\n {logo}\n </Box>\n <Stack sx={{ flexGrow: 1, minWidth: 0 }}>\n <Text sx={{ fontWeight: 600 }} title={titleOf(name)} truncate={true} variant=\"body2\">\n {name}\n </Text>\n {subtitle && (\n <Text\n color=\"text.secondary\"\n title={titleOf(subtitle)}\n truncate={true}\n variant=\"caption\"\n >\n {subtitle}\n </Text>\n )}\n </Stack>\n {statusLabel && (\n <StatusPill\n bgcolor={pill.bgcolor}\n label={statusLabel}\n labelColor={pill.labelColor}\n labelVariant=\"caption\"\n sx={{ alignSelf: 'center', border: 'none', flexShrink: 0, px: 12 }}\n />\n )}\n </Stack>\n\n {balance != null && balanceLabel != null && (\n <Stack>\n <Text color=\"text.secondary\" variant=\"caption\">\n {balanceLabel}\n </Text>\n {/* Display-size figure, not a heading: the feed owns the heading outline. */}\n <Text bold={true} color=\"text.primary\" component=\"p\" variant=\"h2\">\n {balance}\n </Text>\n </Stack>\n )}\n\n {stats.length > 0 && (\n <>\n <Divider />\n <Stack component=\"dl\" sx={{ gap: 8, m: 0 }}>\n {stats.map(({ label, value }, index) => (\n <Stack\n key={index}\n sx={{\n alignItems: 'baseline',\n flexDirection: 'row',\n gap: 12,\n justifyContent: 'space-between',\n }}\n >\n <Text color=\"text.secondary\" component=\"dt\" variant=\"caption\">\n {label}\n </Text>\n <Text component=\"dd\" sx={{ fontWeight: 600, m: 0 }} variant=\"body2\">\n {value}\n </Text>\n </Stack>\n ))}\n </Stack>\n </>\n )}\n </Stack>\n </Box>\n </Stack>\n)\n\nexport default DebtPayoffCard\n"],"mappings":"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"}
|
|
@@ -2,6 +2,7 @@ export * from './blocks';
|
|
|
2
2
|
export { default as AccountHeroCard } from './components/AccountHeroCard';
|
|
3
3
|
export { default as ConnectionDetailDrillDown, type ConnectionDetailContent, } from './components/ConnectionDetailDrillDown';
|
|
4
4
|
export { default as DirectDepositCard, type DirectDepositCardStyleProps, type DirectDepositPillConfig, } from './components/DirectDepositCard';
|
|
5
|
+
export { default as DebtPayoffCard, type DebtPayoffCardStyleProps, type DebtPayoffPillConfig, type DebtPayoffStat, } from './components/DebtPayoffCard';
|
|
5
6
|
export { default as AmountPill } from './components/AmountPill';
|
|
6
7
|
export { default as BadgedTile } from './components/BadgedTile';
|
|
7
8
|
export { default as StatusBadge, type StatusTone } from './components/StatusBadge';
|
|
@@ -4,15 +4,15 @@ import { useBeatActions as a } from "./beatActions.es.js";
|
|
|
4
4
|
import f from "./components/BadgedTile.es.js";
|
|
5
5
|
import { OverflowMenu as n } from "./components/OverflowMenu.es.js";
|
|
6
6
|
import { InsightOptionsMenu as l } from "./components/InsightOptionsMenu.es.js";
|
|
7
|
-
import d, { isLogoGuid as
|
|
8
|
-
import
|
|
7
|
+
import d, { isLogoGuid as B } from "./components/LogoFromGuid.es.js";
|
|
8
|
+
import g from "./components/StatusBadge.es.js";
|
|
9
9
|
import k from "./components/CompactInsightCard.es.js";
|
|
10
10
|
import h from "./components/InsightErrorCard.es.js";
|
|
11
11
|
import { BAR_CHART_VARIANTS as b, barChartVariant as A, buildChartData as T, buildDataSeries as I } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
12
12
|
import { BarchartBlock as v } from "./blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
13
13
|
import { DoubleBarChartBlock as O } from "./blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
14
|
+
import y from "./blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
15
|
+
import P from "./blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
16
16
|
import R from "./blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
17
17
|
import V from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
18
18
|
import G from "./components/TransferLogoCard.es.js";
|
|
@@ -21,105 +21,109 @@ import W from "./components/AccountHeroCard.es.js";
|
|
|
21
21
|
import q from "./components/DirectDepositCard.es.js";
|
|
22
22
|
import J from "./blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js";
|
|
23
23
|
import { BudgetBlock as Q } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
24
|
-
import Y from "./components/
|
|
25
|
-
import $ from "./
|
|
26
|
-
import ro from "./
|
|
27
|
-
import mo from "./blocks/ComponentBlocks/
|
|
28
|
-
import ao from "./components/
|
|
29
|
-
import fo from "./
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import
|
|
34
|
-
import ko from "./
|
|
35
|
-
import ho from "./
|
|
36
|
-
import bo from "./
|
|
37
|
-
import To from "./components/
|
|
38
|
-
import Lo from "./blocks/ComponentBlocks/
|
|
39
|
-
import
|
|
40
|
-
import wo from "./
|
|
41
|
-
import
|
|
42
|
-
import
|
|
43
|
-
import Fo from "./components/
|
|
44
|
-
import xo from "./components/
|
|
45
|
-
import Uo from "./components/
|
|
46
|
-
import
|
|
47
|
-
import
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import ar from "./components/
|
|
55
|
-
import fr from "./components/
|
|
56
|
-
import nr from "./components/
|
|
57
|
-
import lr from "./components/
|
|
58
|
-
import dr from "./components/
|
|
59
|
-
import
|
|
24
|
+
import Y from "./components/DebtPayoffCard.es.js";
|
|
25
|
+
import $ from "./components/UpcomingBillCard.es.js";
|
|
26
|
+
import ro from "./blocks/ComponentBlocks/UpcomingBillBlock/UpcomingBillBlock.es.js";
|
|
27
|
+
import mo from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
28
|
+
import ao from "./components/SaveAnExtraCard.es.js";
|
|
29
|
+
import fo from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
30
|
+
import no from "./components/SavingsOpportunityCard.es.js";
|
|
31
|
+
import lo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
32
|
+
import Bo from "./components/InsightTransactionRow.es.js";
|
|
33
|
+
import go from "./components/TransactionListCard.es.js";
|
|
34
|
+
import { transactionBlockVariant as ko } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
|
|
35
|
+
import { TransactionBlock as ho } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
36
|
+
import bo from "./components/AmountPill.es.js";
|
|
37
|
+
import To from "./components/SubscriptionHeroCard.es.js";
|
|
38
|
+
import Lo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
39
|
+
import Ho from "./components/WithdrawalCard.es.js";
|
|
40
|
+
import wo from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
41
|
+
import { SVGImageBlock as Mo } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
42
|
+
import Eo from "./components/ConnectionDetailDrillDown.es.js";
|
|
43
|
+
import Fo from "./components/DesignateEmergencySavingsCard.es.js";
|
|
44
|
+
import xo from "./components/shared/StatusSnackbar.es.js";
|
|
45
|
+
import Uo from "./components/FeedbackDialog.es.js";
|
|
46
|
+
import No from "./components/FeedbackModal.es.js";
|
|
47
|
+
import jo from "./components/SurveyModal.es.js";
|
|
48
|
+
import { ErrorCard as zo } from "./components/ErrorCard.es.js";
|
|
49
|
+
import { HOST_ACTIONS as Ko } from "./ctaActions/hostActions.es.js";
|
|
50
|
+
import { useBeatCtaActions as Xo, useCtaHandler as Yo } from "./ctaActions/useCtaAction.es.js";
|
|
51
|
+
import { FeedbackBar as $o } from "./components/FeedbackBar.es.js";
|
|
52
|
+
import { DismissInsightDialog as rr } from "./components/DismissInsightDialog.es.js";
|
|
53
|
+
import { HiddenConfirmationCard as mr } from "./components/HiddenConfirmationCard.es.js";
|
|
54
|
+
import { LoadingCard as ar } from "./components/LoadingCard.es.js";
|
|
55
|
+
import { ObsolesceBanner as fr } from "./components/ObsolesceBanner.es.js";
|
|
56
|
+
import nr from "./components/BaseLayout.es.js";
|
|
57
|
+
import lr from "./components/StatusMessageCard.es.js";
|
|
58
|
+
import dr from "./components/LogoTile.es.js";
|
|
59
|
+
import Cr from "./components/LogoClusterCard.es.js";
|
|
60
|
+
import ur from "./components/MerchantHighlightCard.es.js";
|
|
61
|
+
import Sr from "./components/P2PLogoStack.es.js";
|
|
60
62
|
export {
|
|
61
63
|
V as AccountBlock,
|
|
62
64
|
W as AccountHeroCard,
|
|
63
65
|
_ as AccountSwitchBlock,
|
|
64
|
-
|
|
66
|
+
bo as AmountPill,
|
|
65
67
|
b as BAR_CHART_VARIANTS,
|
|
66
68
|
f as BadgedTile,
|
|
67
69
|
v as BarchartBlock,
|
|
68
|
-
|
|
70
|
+
nr as BaseLayout,
|
|
69
71
|
Q as BudgetBlock,
|
|
70
72
|
k as CompactInsightCard,
|
|
71
|
-
|
|
72
|
-
|
|
73
|
+
Eo as ConnectionDetailDrillDown,
|
|
74
|
+
Y as DebtPayoffCard,
|
|
75
|
+
mo as DebtsBlock,
|
|
76
|
+
Fo as DesignateEmergencySavingsCard,
|
|
73
77
|
J as DirectDepositBlock,
|
|
74
78
|
q as DirectDepositCard,
|
|
75
|
-
|
|
76
|
-
|
|
79
|
+
rr as DismissInsightDialog,
|
|
80
|
+
P as DonutChartBlock,
|
|
77
81
|
O as DoubleBarChartBlock,
|
|
78
82
|
R as DoubleProgressBarBlock,
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
83
|
+
zo as ErrorCard,
|
|
84
|
+
$o as FeedbackBar,
|
|
85
|
+
Uo as FeedbackDialog,
|
|
86
|
+
No as FeedbackModal,
|
|
87
|
+
Ko as HOST_ACTIONS,
|
|
88
|
+
mr as HiddenConfirmationCard,
|
|
85
89
|
h as InsightErrorCard,
|
|
86
90
|
l as InsightOptionsMenu,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
91
|
+
Bo as InsightTransactionRow,
|
|
92
|
+
ar as LoadingCard,
|
|
93
|
+
Cr as LogoClusterCard,
|
|
90
94
|
d as LogoFromGuid,
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
95
|
+
dr as LogoTile,
|
|
96
|
+
ur as MerchantHighlightCard,
|
|
97
|
+
fr as ObsolesceBanner,
|
|
94
98
|
n as OverflowMenu,
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
99
|
+
Sr as P2PLogoStack,
|
|
100
|
+
Mo as SVGImageBlock,
|
|
101
|
+
ao as SaveAnExtraCard,
|
|
102
|
+
fo as SaveExtraBlock,
|
|
103
|
+
lo as SavingsOpportunityBlock,
|
|
104
|
+
no as SavingsOpportunityCard,
|
|
105
|
+
g as StatusBadge,
|
|
106
|
+
lr as StatusMessageCard,
|
|
103
107
|
r as StatusPill,
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
xo as StatusSnackbar,
|
|
109
|
+
y as StepChartBlock,
|
|
110
|
+
To as SubscriptionHeroCard,
|
|
111
|
+
jo as SurveyModal,
|
|
112
|
+
ho as TransactionBlock,
|
|
113
|
+
go as TransactionListCard,
|
|
110
114
|
G as TransferLogoCard,
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
ro as UpcomingBillBlock,
|
|
116
|
+
$ as UpcomingBillCard,
|
|
117
|
+
Lo as UpcomingSubscriptionBlock,
|
|
118
|
+
wo as WithdrawalBlock,
|
|
119
|
+
Ho as WithdrawalCard,
|
|
116
120
|
A as barChartVariant,
|
|
117
121
|
T as buildChartData,
|
|
118
122
|
I as buildDataSeries,
|
|
119
|
-
|
|
123
|
+
B as isLogoGuid,
|
|
120
124
|
m as resolveInsightRender,
|
|
121
|
-
|
|
125
|
+
ko as transactionBlockVariant,
|
|
122
126
|
a as useBeatActions,
|
|
123
|
-
|
|
124
|
-
|
|
127
|
+
Xo as useBeatCtaActions,
|
|
128
|
+
Yo as useCtaHandler
|
|
125
129
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ContactSupportActionBlock as
|
|
1
|
+
import { ContactSupportActionBlock as n } from "../actionBlocks/ContactSupportActionBlock.es.js";
|
|
2
2
|
import { actionBlocksKey as o } from "./actionBlocksKey.es.js";
|
|
3
3
|
import { BarchartBlock as m } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
4
4
|
import { DoubleBarChartBlock as l } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
@@ -9,120 +9,122 @@ import C from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
|
9
9
|
import k from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
10
10
|
import B from "../blocks/ComponentBlocks/DirectDepositBlock/DirectDepositBlock.es.js";
|
|
11
11
|
import { BudgetBlock as T } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
12
|
-
import A from "../blocks/ComponentBlocks/
|
|
13
|
-
import u from "../blocks/ComponentBlocks/
|
|
14
|
-
import
|
|
15
|
-
import f from "../blocks/ComponentBlocks/
|
|
12
|
+
import A from "../blocks/ComponentBlocks/UpcomingBillBlock/UpcomingBillBlock.es.js";
|
|
13
|
+
import u from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
14
|
+
import O from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
15
|
+
import f from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
16
|
+
import { TransactionBlock as b } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
16
17
|
import N from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import { SVGImageBlock as
|
|
20
|
-
import { FeedbackModalActionBlock as
|
|
21
|
-
import { ConnectionDetailActionBlock as
|
|
22
|
-
import { ConnectWidgetActionBlock as
|
|
23
|
-
import { SurveyModalActionBlock as
|
|
24
|
-
import { PlaceholderActionBlock as
|
|
25
|
-
import { getMakeTransferDrawerTitle as
|
|
26
|
-
import { MakeTransferActionBlockLayer as
|
|
27
|
-
import { getDrawerHeaderTitle as
|
|
28
|
-
import { TransactionDetailsBlock as
|
|
18
|
+
import I from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
19
|
+
import d from "../blocks/ImageBlocks/ImageBlock.es.js";
|
|
20
|
+
import { SVGImageBlock as g } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
21
|
+
import { FeedbackModalActionBlock as L } from "../actionBlocks/FeedbackModalActionBlock.es.js";
|
|
22
|
+
import { ConnectionDetailActionBlock as D } from "../actionBlocks/ConnectionDetailActionBlock.es.js";
|
|
23
|
+
import { ConnectWidgetActionBlock as P } from "../actionBlocks/ConnectWidgetActionBlock.es.js";
|
|
24
|
+
import { SurveyModalActionBlock as h } from "../actionBlocks/SurveyModalActionBlock.es.js";
|
|
25
|
+
import { PlaceholderActionBlock as S } from "../actionBlocks/PlaceholderActionBlock.es.js";
|
|
26
|
+
import { getMakeTransferDrawerTitle as R } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
|
|
27
|
+
import { MakeTransferActionBlockLayer as K } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
|
|
28
|
+
import { getDrawerHeaderTitle as E } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
|
|
29
|
+
import { TransactionDetailsBlock as v } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
29
30
|
import { useTransactionDetailsPrepare as i } from "../actionBlocks/TransactionDetailsBlock/useTransactionDetailsPrepare.es.js";
|
|
30
|
-
import { TransactionHistoryBlock as
|
|
31
|
+
import { TransactionHistoryBlock as M } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
|
|
31
32
|
import { useRecurringTransactionPrepare as a } from "../actionBlocks/RecurringTransactionBlock/useRecurringTransactionPrepare.es.js";
|
|
32
|
-
import { RecurringTransactionBlock as
|
|
33
|
-
import { TransactionListBlock as
|
|
34
|
-
import { RemainingCashBlock as
|
|
35
|
-
import { hasDrawerBlock as
|
|
36
|
-
import { AmountInputModalBlock as
|
|
33
|
+
import { RecurringTransactionBlock as w } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
|
|
34
|
+
import { TransactionListBlock as y } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
|
|
35
|
+
import { RemainingCashBlock as U } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
|
|
36
|
+
import { hasDrawerBlock as No } from "./hasDrawerBlock.es.js";
|
|
37
|
+
import { AmountInputModalBlock as H } from "../actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js";
|
|
37
38
|
var r = (e) => {
|
|
38
|
-
},
|
|
39
|
+
}, go = {
|
|
39
40
|
[o.PLACEHOLDER_ACTION_BLOCK]: {
|
|
40
|
-
Component:
|
|
41
|
+
Component: S,
|
|
41
42
|
usePrepare: r,
|
|
42
43
|
title: () => "Action Block Layer Drilldown"
|
|
43
44
|
},
|
|
44
45
|
[o.MAKE_TRANSFER_ACTION_BLOCK]: {
|
|
45
|
-
Component:
|
|
46
|
+
Component: K,
|
|
46
47
|
usePrepare: r,
|
|
47
|
-
title:
|
|
48
|
+
title: R
|
|
48
49
|
},
|
|
49
50
|
[o.TRANSCATION_HISTORY_ACTION_BLOCK]: {
|
|
50
|
-
Component:
|
|
51
|
+
Component: M,
|
|
51
52
|
usePrepare: r,
|
|
52
|
-
title:
|
|
53
|
+
title: E
|
|
53
54
|
},
|
|
54
55
|
[o.TRANSACTION_DETAILS_ACTION_BLOCK]: {
|
|
55
|
-
Component:
|
|
56
|
+
Component: v,
|
|
56
57
|
usePrepare: i,
|
|
57
58
|
title: () => "Transaction Details"
|
|
58
59
|
},
|
|
59
60
|
[o.RECURRING_TRANSACTION_ACTION_BLOCK]: {
|
|
60
|
-
Component:
|
|
61
|
+
Component: w,
|
|
61
62
|
usePrepare: a,
|
|
62
63
|
title: (e, t) => t.recurring?.expense_details ?? ""
|
|
63
64
|
},
|
|
64
65
|
[o.REMAINING_CASH_ACTION_BLOCK]: {
|
|
65
|
-
Component:
|
|
66
|
+
Component: U,
|
|
66
67
|
usePrepare: a,
|
|
67
68
|
title: (e, t) => t.insights_feed?.remaining_cash?.title ?? ""
|
|
68
69
|
},
|
|
69
70
|
[o.CONTACT_SUPPORT_ACTION_BLOCK]: {
|
|
70
|
-
Component:
|
|
71
|
+
Component: n,
|
|
71
72
|
usePrepare: r,
|
|
72
73
|
title: (e, t) => t.help?.request_support ?? ""
|
|
73
74
|
},
|
|
74
75
|
[o.FEEDBACK_MODAL_ACTION_BLOCK]: {
|
|
75
|
-
Component:
|
|
76
|
+
Component: L,
|
|
76
77
|
usePrepare: r,
|
|
77
78
|
presentation: "modal"
|
|
78
79
|
},
|
|
79
80
|
[o.CONNECTION_DETAIL_ACTION_BLOCK]: {
|
|
80
|
-
Component:
|
|
81
|
+
Component: D,
|
|
81
82
|
usePrepare: r,
|
|
82
83
|
title: (e, t) => t.insights_feed?.connection_details?.connection_details_drawer_title ?? ""
|
|
83
84
|
},
|
|
84
85
|
[o.CONNECT_WIDGET_ACTION_BLOCK]: {
|
|
85
|
-
Component:
|
|
86
|
+
Component: P,
|
|
86
87
|
usePrepare: r
|
|
87
88
|
},
|
|
88
89
|
[o.SURVEY_MODAL_ACTION_BLOCK]: {
|
|
89
|
-
Component:
|
|
90
|
+
Component: h,
|
|
90
91
|
usePrepare: r,
|
|
91
92
|
presentation: "modal"
|
|
92
93
|
},
|
|
93
94
|
[o.TRANSACTION_LIST_ACTION_BLOCK]: {
|
|
94
|
-
Component:
|
|
95
|
+
Component: y,
|
|
95
96
|
usePrepare: i,
|
|
96
|
-
title: (e, t,
|
|
97
|
+
title: (e, t, c) => c?.insights_payload?.title ?? ""
|
|
97
98
|
},
|
|
98
99
|
[o.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: {
|
|
99
|
-
Component:
|
|
100
|
+
Component: H,
|
|
100
101
|
presentation: "modal",
|
|
101
102
|
usePrepare: r
|
|
102
103
|
}
|
|
103
|
-
},
|
|
104
|
+
}, Lo = {
|
|
104
105
|
account_block: C,
|
|
105
106
|
account_switch_block: k,
|
|
106
107
|
direct_deposit_block: B,
|
|
107
108
|
bar_chart_block: m,
|
|
108
109
|
budget_block: T,
|
|
110
|
+
debts_block: u,
|
|
109
111
|
donut_chart_block: _,
|
|
110
112
|
double_bar_chart_block: l,
|
|
111
113
|
double_progress_bar_block: s,
|
|
112
|
-
image_block:
|
|
113
|
-
save_extra_block:
|
|
114
|
-
savings_opportunity_block:
|
|
114
|
+
image_block: d,
|
|
115
|
+
save_extra_block: O,
|
|
116
|
+
savings_opportunity_block: f,
|
|
115
117
|
step_chart_block: p,
|
|
116
|
-
svg_image_block:
|
|
117
|
-
upcoming_bill_block:
|
|
118
|
+
svg_image_block: g,
|
|
119
|
+
upcoming_bill_block: A,
|
|
118
120
|
upcoming_subscription_block: N,
|
|
119
|
-
withdrawal_block:
|
|
120
|
-
transaction_block:
|
|
121
|
+
withdrawal_block: I,
|
|
122
|
+
transaction_block: b
|
|
121
123
|
};
|
|
122
124
|
export {
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
125
|
+
go as actionBlocks,
|
|
126
|
+
Lo as blocks,
|
|
127
|
+
No as hasDrawerBlock
|
|
126
128
|
};
|
|
127
129
|
|
|
128
130
|
//# sourceMappingURL=blocks.es.js.map
|