@mx-cartographer/experiences 9.7.200 → 9.7.202
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 +9 -0
- package/dist/core/types/Insights.d.ts +1 -1
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js +75 -73
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.d.ts +5 -2
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js +27 -8
- package/dist/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.d.ts +12 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js +131 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/index.d.ts +3 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js +8 -8
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -1
- package/dist/insights-v2/index.es.js +39 -39
- package/dist/insights-v2/mappings/blocks.es.js +24 -24
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/GreenStatementFeeBlock/GreenStatementFeeBlock.d.ts +0 -8
- package/dist/insights-v2/blocks/ComponentBlocks/GreenStatementFeeBlock/GreenStatementFeeBlock.es.js +0 -88
- package/dist/insights-v2/blocks/ComponentBlocks/GreenStatementFeeBlock/GreenStatementFeeBlock.es.js.map +0 -1
- package/dist/insights-v2/blocks/ComponentBlocks/GreenStatementFeeBlock/index.d.ts +0 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.ts"],"sourcesContent":["import { type SxProps, type Theme } from '@mui/material/styles'\n\nimport {\n CELEBRATION_GRADIENT,\n DIRECT_DEPOSIT_COMPLETE_GRADIENT,\n ERROR_WASH_GRADIENT,\n FEES_WASH_GRADIENT,\n WARM_LIME_ACCENT_GRADIENT,\n} from '../../../components/celebrationGradients'\n\nexport interface BlockLayoutConfig {\n background?: string\n /** Opacity of the category colour behind a `CAT-` tile, with a category-colour border; none = mxui's tile. */\n category_tint?: number\n /** Width in px of that tinted tile's category-colour border. Defaults to 1. */\n category_border_width?: number\n logo_color?: string\n logo_bGcolor?: string\n logo_border_color?: string\n /** Corner radius of the icon tile (`icon_name` or an `ICO-` logo)
|
|
1
|
+
{"version":3,"file":"layout.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/AccountBlock/layout.ts"],"sourcesContent":["import { type SxProps, type Theme } from '@mui/material/styles'\n\nimport {\n CELEBRATION_GRADIENT,\n DIRECT_DEPOSIT_COMPLETE_GRADIENT,\n ERROR_WASH_GRADIENT,\n FEES_WASH_GRADIENT,\n WARM_LIME_ACCENT_GRADIENT,\n} from '../../../components/celebrationGradients'\n\nexport interface BlockLayoutConfig {\n background?: string\n /** Opacity of the category colour behind a `CAT-` tile, with a category-colour border; none = mxui's tile. */\n category_tint?: number\n /** Width in px of that tinted tile's category-colour border. Defaults to 1. */\n category_border_width?: number\n logo_color?: string\n logo_bGcolor?: string\n logo_border_color?: string\n /** Corner radius of the icon tile (`icon_name` or an `ICO-` logo; 6px default) or the confetti logo (4px default). */\n logo_border_radius?: string\n /** Glyph size in px for an `ICO-` logo: on the confetti tile (default 24) and on the standard\n * icon tile (default `TILE_ICON_SIZE`). */\n logo_icon_size?: number\n /** mx-icons glyph shown before `sub_text` (e.g. a warning icon on overdraft_warning). */\n sub_logo?: string\n /** mx-icons glyph badged on the logo's corner (e.g. `error` on Low Account Balance's V2 tile). */\n badge?: string\n /** When true, AccountBlock renders the confetti-backed celebration card using the fields below. */\n isConfetti?: boolean\n /** Gradient wash layered over `background.paper` for the confetti card. */\n gradient?: string\n /** Which illustration sits left of the text. `logo` is the data-driven merchant/institution logo. */\n graphic?: 'paidOffCard' | 'savings' | 'logo'\n /** Amount typography variant. */\n amountVariant?: 'h2' | 'h3'\n /** Prefix prepended to a positive formatted amount, e.g. `+` for deposits. */\n amountPrefix?: string\n /** Keep the variant's own weight (h2 is 700) instead of the confetti tile's semi bold. */\n amountKeepsVariantWeight?: boolean\n /** Render the colored category strip (`header_text`) at the top of the card. */\n categoryStrip?: boolean\n /** Raise the strip and body together with elevation/1. */\n cardShadow?: boolean\n /** Layout overrides for the graphic+text row (padding, gap). */\n rowSx?: SxProps\n /** Which payload field feeds the secondary line beside the amount. */\n secondarySource?: 'merchant' | 'label'\n /** Whether the secondary line sits above or below the amount. */\n secondaryPosition?: 'above' | 'below'\n /** Typography variant for the secondary line. */\n secondaryVariant?: 'body2' | 'caption'\n /** Theme color path for the secondary line. */\n secondaryColor?: string\n /** Truncate the secondary line to one line with an ellipsis. */\n secondaryOneLine?: boolean\n /** Render the neutral lined-card zero state instead of the card when the slot has no amount or\n * the beat is a zero state. */\n zero_state_when_no_amount?: boolean\n}\n\n/** Glyph size in px on the standard icon tile (IconComponent). */\nexport const TILE_ICON_SIZE = 30\n\n// Low Account Balance's red tile, shared by its legacy (`low_balance_alert`) and V2 (`low_balance`)\n// variant names.\nconst LOW_BALANCE_TILE: BlockLayoutConfig = {\n background: ERROR_WASH_GRADIENT,\n}\n\nexport const getLayoutConfig = (theme: Theme): Record<string, BlockLayoutConfig> => {\n return {\n overdraft_warning: {\n background: theme.palette.warning.light,\n sub_logo: 'error',\n },\n low_balance_alert: LOW_BALANCE_TILE,\n // V2 name for the same tile: content from `instance_slot.data`, the logo badged with `badge`.\n low_balance: { ...LOW_BALANCE_TILE, badge: 'error' },\n // Shared on/off-track status pair — used by Monthly Obligations Status and\n // Payday Cash Left Over Status (identical designs, different copy).\n status_off_track: {\n logo_color: 'background.paper',\n logo_bGcolor: 'error.main',\n // Figma 9936:39145: the money icon's tile has 4px corners.\n logo_border_radius: '4px',\n // Figma draws the money glyph at 24px in both status tiles (9936:39156).\n logo_icon_size: 24,\n background: ERROR_WASH_GRADIENT,\n },\n // Monthly Credit Card Interest Summary's fees tile (ditto account_block `charges_summary`); its category\n // glyph rides in `icon`.\n charges_summary: {\n category_tint: 0.25,\n // Figma 1365:301242 <Categories>: a 1.5px category-colour border.\n category_border_width: 1.5,\n background: FEES_WASH_GRADIENT,\n },\n // Unified Deposit and its standalone deposit templates; Figma draws every state alike.\n deposit_received: {\n isConfetti: true,\n gradient: DIRECT_DEPOSIT_COMPLETE_GRADIENT,\n graphic: 'logo',\n amountVariant: 'h2',\n amountKeepsVariantWeight: true,\n amountPrefix: '+',\n categoryStrip: true,\n cardShadow: true,\n rowSx: { gap: 12, p: 12 },\n secondarySource: 'merchant',\n secondaryPosition: 'below',\n secondaryVariant: 'caption',\n secondaryColor: 'text.secondary',\n secondaryOneLine: true,\n },\n // Figma 1943:218986\n deposit_received_on_date: {\n isConfetti: true,\n gradient: DIRECT_DEPOSIT_COMPLETE_GRADIENT,\n graphic: 'logo',\n logo_border_radius: '8px',\n amountVariant: 'h2',\n amountKeepsVariantWeight: true,\n amountPrefix: '+',\n cardShadow: true,\n rowSx: { gap: 16, p: 16 },\n secondarySource: 'label',\n secondaryPosition: 'below',\n secondaryVariant: 'caption',\n secondaryColor: 'text.secondary',\n zero_state_when_no_amount: true,\n },\n status_on_track: {\n isConfetti: true,\n gradient: WARM_LIME_ACCENT_GRADIENT,\n graphic: 'logo',\n amountVariant: 'h2',\n amountKeepsVariantWeight: true,\n rowSx: { gap: 16, p: 16 },\n secondarySource: 'label',\n secondaryPosition: 'below',\n secondaryVariant: 'caption',\n secondaryColor: 'text.secondary',\n },\n payoff_celebration: {\n isConfetti: true,\n gradient: CELEBRATION_GRADIENT,\n graphic: 'paidOffCard',\n amountVariant: 'h2',\n rowSx: { gap: 16, px: 24, py: 16 },\n secondarySource: 'label',\n secondaryPosition: 'below',\n secondaryVariant: 'caption',\n secondaryColor: 'text.secondary',\n },\n savings_deposit: {\n isConfetti: true,\n gradient: CELEBRATION_GRADIENT,\n graphic: 'savings',\n amountVariant: 'h2',\n rowSx: { gap: 16, p: 16 },\n secondarySource: 'label',\n secondaryPosition: 'above',\n secondaryVariant: 'body2',\n secondaryColor: 'text.primary',\n },\n // Neutral fallback for an unknown/unmatched variant: renders the plain standard card (no\n // confetti, no special background). `resolveVariantConfig` warns before falling back here.\n default: {},\n }\n}\n"],"mappings":";AAkEA,IAAM,IAAsC,EAC1C,YAAY,EACd,GAEa,IAAA,CAAmB,OACvB;AAAA,EACL,mBAAmB;AAAA,IACjB,YAAY,EAAM,QAAQ,QAAQ;AAAA,IAClC,UAAU;AAAA,EACZ;AAAA,EACA,mBAAmB;AAAA,EAEnB,aAAa;AAAA,IAAE,GAAG;AAAA,IAAkB,OAAO;AAAA,EAAQ;AAAA,EAGnD,kBAAkB;AAAA,IAChB,YAAY;AAAA,IACZ,cAAc;AAAA,IAEd,oBAAoB;AAAA,IAEpB,gBAAgB;AAAA,IAChB,YAAY;AAAA,EACd;AAAA,EAGA,iBAAiB;AAAA,IACf,eAAe;AAAA,IAEf,uBAAuB;AAAA,IACvB,YAAY;AAAA,EACd;AAAA,EAEA,kBAAkB;AAAA,IAChB,YAAY;AAAA,IACZ,UAAU;AAAA,IACV,SAAS;AAAA,IACT,eAAe;AAAA,IACf,0BAA0B;AAAA,IAC1B,cAAc;AAAA,IACd,eAAe;AAAA,IACf,YAAY;AAAA,IACZ,OAAO;AAAA,MAAE,KAAK;AAAA,MAAI,GAAG;AAAA,IAAG;AAAA,IACxB,iBAAiB;AAAA,IACjB,mBAAmB;AAAA,IACnB,kBAAkB;AAAA,IAClB,gBAAgB;AAAA,IAChB,kBAAk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|
|
2
|
+
/**
|
|
3
|
+
* Formats an ISO `YYYY-MM-DD` date (local midnight) or a unix timestamp (its UTC calendar day) as
|
|
4
|
+
* `MM/dd/yy`; undefined for any other string.
|
|
5
|
+
*/
|
|
6
|
+
export declare const formatStatementDate: (value?: string | number) => string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* The fee card (Figma 433:94157): every value and word comes from `instance_slot.data`. The card
|
|
9
|
+
* renders nothing if any is missing.
|
|
10
|
+
*/
|
|
11
|
+
declare const FeeChargedBlock: ({ payload }: BlockProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export default FeeChargedBlock;
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
import { formatDate as b } from "../../../../core/constants/DateFormats.es.js";
|
|
2
|
+
import { slot as a } from "../../../../core/types/Insights.es.js";
|
|
3
|
+
import { fromUnixUTC as v } from "../../../../core/utils/DateUtil.es.js";
|
|
4
|
+
import { CURRENCY_FORMAT as S, formatCurrency as _ } from "../../../../core/utils/NumberFormatting.es.js";
|
|
5
|
+
import { asNonEmptyText as n, asNumber as y } from "../../slotReaders.es.js";
|
|
6
|
+
import { ELEVATION_SHADOW as A } from "../../../components/shared/elevation.es.js";
|
|
7
|
+
import i from "@mui/material/Stack";
|
|
8
|
+
import { Text as m } from "@mxenabled/mxui";
|
|
9
|
+
import { AccountBalance as E } from "@mxenabled/mx-icons";
|
|
10
|
+
import { jsx as e, jsxs as d } from "react/jsx-runtime";
|
|
11
|
+
import N from "@mui/material/Box";
|
|
12
|
+
import { parseISO as $ } from "date-fns";
|
|
13
|
+
var w = /^\d{4}-\d{2}-\d{2}$/, T = {
|
|
14
|
+
month: "2-digit",
|
|
15
|
+
day: "2-digit",
|
|
16
|
+
year: "2-digit"
|
|
17
|
+
}, k = (t) => {
|
|
18
|
+
if (typeof t == "number") return b(v(t), T);
|
|
19
|
+
if (!t || !w.test(t)) return;
|
|
20
|
+
const r = $(t);
|
|
21
|
+
return Number.isNaN(r.getTime()) ? void 0 : b(r, T);
|
|
22
|
+
}, C = [
|
|
23
|
+
34,
|
|
24
|
+
120,
|
|
25
|
+
120,
|
|
26
|
+
112,
|
|
27
|
+
77,
|
|
28
|
+
153,
|
|
29
|
+
153,
|
|
30
|
+
153,
|
|
31
|
+
153
|
|
32
|
+
].map((t, r) => ({
|
|
33
|
+
height: r === 0 ? "2px" : "1px",
|
|
34
|
+
line: r,
|
|
35
|
+
width: t
|
|
36
|
+
})), O = ({ title: t }) => /* @__PURE__ */ d(i, {
|
|
37
|
+
"aria-hidden": !0,
|
|
38
|
+
sx: {
|
|
39
|
+
bgcolor: "background.paper",
|
|
40
|
+
bottom: 0,
|
|
41
|
+
boxShadow: A[1],
|
|
42
|
+
gap: 10,
|
|
43
|
+
left: 144,
|
|
44
|
+
overflow: "clip",
|
|
45
|
+
p: 13,
|
|
46
|
+
position: "absolute",
|
|
47
|
+
right: -12,
|
|
48
|
+
top: 24
|
|
49
|
+
},
|
|
50
|
+
children: [/* @__PURE__ */ e(i, {
|
|
51
|
+
sx: {
|
|
52
|
+
alignItems: "center",
|
|
53
|
+
alignSelf: "flex-start",
|
|
54
|
+
bgcolor: "action.selected",
|
|
55
|
+
borderRadius: "4px",
|
|
56
|
+
color: "primary.light",
|
|
57
|
+
justifyContent: "center",
|
|
58
|
+
p: 2
|
|
59
|
+
},
|
|
60
|
+
children: /* @__PURE__ */ e(E, { sx: { fontSize: 12 } })
|
|
61
|
+
}), /* @__PURE__ */ d(i, {
|
|
62
|
+
sx: { gap: 3 },
|
|
63
|
+
children: [/* @__PURE__ */ e(m, {
|
|
64
|
+
bold: !0,
|
|
65
|
+
sx: { color: "primary.light" },
|
|
66
|
+
variant: "tiny",
|
|
67
|
+
children: t
|
|
68
|
+
}), C.map(({ height: r, line: s, width: o }) => /* @__PURE__ */ e(N, { sx: {
|
|
69
|
+
bgcolor: "action.selected",
|
|
70
|
+
borderRadius: "34px",
|
|
71
|
+
flexShrink: 0,
|
|
72
|
+
height: r,
|
|
73
|
+
maxWidth: "100%",
|
|
74
|
+
width: o
|
|
75
|
+
} }, s))]
|
|
76
|
+
})]
|
|
77
|
+
}), G = ({ payload: t }) => {
|
|
78
|
+
const { instance_slot: r = {}, is_zero_state: s } = t, o = r.data, f = y(a(o, "amount")), x = a(o, "date"), l = k(n(x) ?? y(x)), p = n(a(o, "primary_text")), c = n(a(o, "amount_label")), h = n(a(o, "header_text"));
|
|
79
|
+
if (s || f === void 0 || !l || !p || !c || !h) return null;
|
|
80
|
+
const g = _(Math.abs(f), S.cents);
|
|
81
|
+
return /* @__PURE__ */ d(i, {
|
|
82
|
+
"aria-label": `${p} ${g} ${c} ${l}`,
|
|
83
|
+
"data-testid": "fee-charged-block",
|
|
84
|
+
direction: "row",
|
|
85
|
+
role: "img",
|
|
86
|
+
sx: {
|
|
87
|
+
background: (u) => `linear-gradient(145deg, ${u.palette.primary.main} 0.56%, ${u.palette.primary.dark} 112.3%)`,
|
|
88
|
+
alignItems: "center",
|
|
89
|
+
justifyContent: "flex-start",
|
|
90
|
+
overflow: "clip",
|
|
91
|
+
pl: 24,
|
|
92
|
+
pr: 16,
|
|
93
|
+
position: "relative",
|
|
94
|
+
py: 24,
|
|
95
|
+
width: "100%"
|
|
96
|
+
},
|
|
97
|
+
children: [/* @__PURE__ */ d(i, {
|
|
98
|
+
"aria-hidden": !0,
|
|
99
|
+
sx: {
|
|
100
|
+
color: "primary.contrastText",
|
|
101
|
+
flex: 1,
|
|
102
|
+
gap: 2,
|
|
103
|
+
maxWidth: 120,
|
|
104
|
+
minWidth: 0
|
|
105
|
+
},
|
|
106
|
+
children: [
|
|
107
|
+
/* @__PURE__ */ e(m, {
|
|
108
|
+
variant: "body2",
|
|
109
|
+
children: p
|
|
110
|
+
}),
|
|
111
|
+
/* @__PURE__ */ e(m, {
|
|
112
|
+
bold: !0,
|
|
113
|
+
component: "span",
|
|
114
|
+
sx: { overflowWrap: "anywhere" },
|
|
115
|
+
variant: "h2",
|
|
116
|
+
children: g
|
|
117
|
+
}),
|
|
118
|
+
/* @__PURE__ */ e(m, {
|
|
119
|
+
variant: "body2",
|
|
120
|
+
children: `${c} ${l}`
|
|
121
|
+
})
|
|
122
|
+
]
|
|
123
|
+
}), /* @__PURE__ */ e(O, { title: h })]
|
|
124
|
+
});
|
|
125
|
+
};
|
|
126
|
+
export {
|
|
127
|
+
G as default,
|
|
128
|
+
k as formatStatementDate
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
//# sourceMappingURL=FeeChargedBlock.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FeeChargedBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.tsx"],"sourcesContent":["import Box from '@mui/material/Box'\nimport Stack from '@mui/material/Stack'\n\nimport { parseISO } from 'date-fns'\n\nimport { Text } from '@mxenabled/mxui'\nimport { AccountBalance } from '@mxenabled/mx-icons'\n\nimport { slot } from '../../../../core/types/Insights'\nimport { formatDate } from '../../../../core/constants'\nimport { fromUnixUTC } from '../../../../core/utils/DateUtil'\nimport { CURRENCY_FORMAT, formatCurrency } from '../../../../core/utils/NumberFormatting'\nimport { ELEVATION_SHADOW } from '../../../components/shared/elevation'\nimport { asNonEmptyText, asNumber } from '../../slotReaders'\nimport type { BlockProps } from '../../types'\n\nconst ISO_DATE = /^\\d{4}-\\d{2}-\\d{2}$/\nconst SHORT_DATE_FORMAT = { month: '2-digit', day: '2-digit', year: '2-digit' }\n\n/**\n * Formats an ISO `YYYY-MM-DD` date (local midnight) or a unix timestamp (its UTC calendar day) as\n * `MM/dd/yy`; undefined for any other string.\n */\nexport const formatStatementDate = (value?: string | number): string | undefined => {\n if (typeof value === 'number') return formatDate(fromUnixUTC(value), SHORT_DATE_FORMAT)\n if (!value || !ISO_DATE.test(value)) return undefined\n\n const parsed = parseISO(value)\n\n return Number.isNaN(parsed.getTime()) ? undefined : formatDate(parsed, SHORT_DATE_FORMAT)\n}\n\n// Widths (px) of the statement drawing's placeholder text lines, from Figma.\nconst STATEMENT_LINES = [34, 120, 120, 112, 77, 153, 153, 153, 153].map((width, line) => ({\n height: line === 0 ? '2px' : '1px',\n line,\n width,\n}))\n\nconst StatementGraphic = ({ title }: { title: string }) => (\n <Stack\n aria-hidden={true}\n sx={{\n bgcolor: 'background.paper',\n bottom: 0,\n boxShadow: ELEVATION_SHADOW[1],\n gap: 10,\n left: 144,\n overflow: 'clip',\n p: 13,\n position: 'absolute',\n right: -12,\n top: 24,\n }}\n >\n <Stack\n sx={{\n alignItems: 'center',\n alignSelf: 'flex-start',\n bgcolor: 'action.selected',\n borderRadius: '4px',\n color: 'primary.light',\n justifyContent: 'center',\n p: 2,\n }}\n >\n <AccountBalance sx={{ fontSize: 12 }} />\n </Stack>\n <Stack sx={{ gap: 3 }}>\n <Text bold={true} sx={{ color: 'primary.light' }} variant=\"tiny\">\n {title}\n </Text>\n {STATEMENT_LINES.map(({ height, line, width }) => (\n <Box\n key={line}\n sx={{\n bgcolor: 'action.selected',\n borderRadius: '34px',\n flexShrink: 0,\n height,\n maxWidth: '100%',\n width,\n }}\n />\n ))}\n </Stack>\n </Stack>\n)\n\n/**\n * The fee card (Figma 433:94157): every value and word comes from `instance_slot.data`. The card\n * renders nothing if any is missing.\n */\nconst FeeChargedBlock = ({ payload }: BlockProps) => {\n const { instance_slot = {}, is_zero_state } = payload\n const data = instance_slot.data\n const amount = asNumber(slot(data, 'amount'))\n const rawDate = slot(data, 'date')\n // An ISO date string or unix seconds.\n const date = formatStatementDate(asNonEmptyText(rawDate) ?? asNumber(rawDate))\n const primaryText = asNonEmptyText(slot(data, 'primary_text'))\n const amountLabel = asNonEmptyText(slot(data, 'amount_label'))\n const headerText = asNonEmptyText(slot(data, 'header_text'))\n\n if (\n is_zero_state ||\n amount === undefined ||\n !date ||\n !primaryText ||\n !amountLabel ||\n !headerText\n ) {\n return null\n }\n\n const formattedAmount = formatCurrency(Math.abs(amount), CURRENCY_FORMAT.cents)\n\n return (\n <Stack\n aria-label={`${primaryText} ${formattedAmount} ${amountLabel} ${date}`}\n data-testid=\"fee-charged-block\"\n direction=\"row\"\n role=\"img\"\n sx={{\n // Figma 433:94157\n background: (theme) =>\n `linear-gradient(145deg, ${theme.palette.primary.main} 0.56%, ${theme.palette.primary.dark} 112.3%)`,\n alignItems: 'center',\n // Needed: the shared Stack theme centres row content by default.\n justifyContent: 'flex-start',\n overflow: 'clip',\n pl: 24,\n pr: 16,\n position: 'relative',\n py: 24,\n width: '100%',\n }}\n >\n <Stack\n aria-hidden={true}\n sx={{ color: 'primary.contrastText', flex: 1, gap: 2, maxWidth: 120, minWidth: 0 }}\n >\n <Text variant=\"body2\">{primaryText}</Text>\n {/* Long amounts ($1,234.56) wrap inside the column rather than run under the drawing. */}\n <Text bold={true} component=\"span\" sx={{ overflowWrap: 'anywhere' }} variant=\"h2\">\n {formattedAmount}\n </Text>\n <Text variant=\"body2\">{`${amountLabel} ${date}`}</Text>\n </Stack>\n <StatementGraphic title={headerText} />\n </Stack>\n )\n}\n\nexport default FeeChargedBlock\n"],"mappings":";;;;;;;;;;;;AAgBA,IAAM,IAAW,uBACX,IAAoB;AAAA,EAAE,OAAO;AAAA,EAAW,KAAK;AAAA,EAAW,MAAM;AAAU,GAMjE,IAAA,CAAuB,MAAgD;AAClF,MAAI,OAAO,KAAU,SAAU,QAAO,EAAW,EAAY,CAAK,GAAG,CAAiB;AACtF,MAAI,CAAC,KAAS,CAAC,EAAS,KAAK,CAAK,EAAG;AAErC,QAAM,IAAS,EAAS,CAAK;AAE7B,SAAO,OAAO,MAAM,EAAO,QAAQ,CAAC,IAAI,SAAY,EAAW,GAAQ,CAAiB;AAC1F,GAGM,IAAkB;AAAA,EAAC;AAAA,EAAI;AAAA,EAAK;AAAA,EAAK;AAAA,EAAK;AAAA,EAAI;AAAA,EAAK;AAAA,EAAK;AAAA,EAAK;AAAG,EAAE,IAAA,CAAK,GAAO,OAAU;AAAA,EACxF,QAAQ,MAAS,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,UAAG,SAAQ;AAAA,UAC1E,UAAA;AAAA,QACG,CAAA;AAAA,QACN,gBAAA,EAAC,GAAD;AAAA,UAAM,SAAQ;AAAA,UAAS,UAAA,GAAG,CAAA,IAAe,CAAA;AAAA,QAAa,CAAA;AAAA,MACjD;AAAA,IACP,CAAA,GAAA,gBAAA,EAAC,GAAD,EAAkB,OAAO,EAAa,CAAA,CACjC;AAAA;AAEX"}
|
|
@@ -3,10 +3,10 @@ import { useGlobalCopyStore as B, useInsightsV2Store as M, useTransactionStore a
|
|
|
3
3
|
import { QUIZ_CONTEXT as c, QUIZ_VARIANTS as O, isTopMerchant as K, merchantKey as S, quizMerchantLogo as q, rankQuizMerchants as Q, readQuizMerchants as W } from "./quiz.es.js";
|
|
4
4
|
import { actionBlocksKey as F } from "../../../mappings/actionBlocksKey.es.js";
|
|
5
5
|
import { SMALL_CARD_SHADOW as Z } from "../../../components/shared/elevation.es.js";
|
|
6
|
-
import N from "
|
|
7
|
-
import
|
|
8
|
-
import V from "../../../components/
|
|
9
|
-
import
|
|
6
|
+
import { LinedCardZeroState as N } from "../../../../insights/components/shared/ZeroState/LinedCardZeroState.es.js";
|
|
7
|
+
import U from "../../../components/LogoFromGuid.es.js";
|
|
8
|
+
import { ConfettiOverlay as V } from "../../../components/shared/ConfettiOverlay.es.js";
|
|
9
|
+
import j from "../../../components/LogoTile.es.js";
|
|
10
10
|
import { useEffect as E, useState as H } from "react";
|
|
11
11
|
import { observer as A } from "mobx-react-lite";
|
|
12
12
|
import a from "@mui/material/Stack";
|
|
@@ -33,7 +33,7 @@ var X = 3e3, z = 32, T = {
|
|
|
33
33
|
...q(o, e),
|
|
34
34
|
alt: ""
|
|
35
35
|
};
|
|
36
|
-
return /* @__PURE__ */ r(
|
|
36
|
+
return /* @__PURE__ */ r(j, {
|
|
37
37
|
borderColor: null,
|
|
38
38
|
borderRadius: 4,
|
|
39
39
|
size: z,
|
|
@@ -41,7 +41,7 @@ var X = 3e3, z = 32, T = {
|
|
|
41
41
|
position: "relative",
|
|
42
42
|
textAlign: "left"
|
|
43
43
|
},
|
|
44
|
-
children: /* @__PURE__ */ r(
|
|
44
|
+
children: /* @__PURE__ */ r(U, {
|
|
45
45
|
logo: t,
|
|
46
46
|
size: z
|
|
47
47
|
})
|
|
@@ -130,7 +130,7 @@ var X = 3e3, z = 32, T = {
|
|
|
130
130
|
s
|
|
131
131
|
]), E(() => {
|
|
132
132
|
t || console.warn("quiz_block: copy namespace missing; rendering without its labels");
|
|
133
|
-
}, [t]), !m.length) return /* @__PURE__ */ r(
|
|
133
|
+
}, [t]), !m.length) return /* @__PURE__ */ r(N, {});
|
|
134
134
|
if (k) {
|
|
135
135
|
const n = (i) => f({
|
|
136
136
|
guid: o,
|
|
@@ -161,7 +161,7 @@ var X = 3e3, z = 32, T = {
|
|
|
161
161
|
position: "relative"
|
|
162
162
|
},
|
|
163
163
|
children: [
|
|
164
|
-
s && C && /* @__PURE__ */ r(
|
|
164
|
+
s && C && /* @__PURE__ */ r(V, {}),
|
|
165
165
|
s && /* @__PURE__ */ r(J, {
|
|
166
166
|
copy: t,
|
|
167
167
|
correct: C
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import r from "./components/StatusPill.es.js";
|
|
2
|
-
import { resolveInsightRender as
|
|
2
|
+
import { resolveInsightRender as t } from "./resolveInsightRender.es.js";
|
|
3
3
|
import { useBeatActions as a } from "./beatActions.es.js";
|
|
4
|
-
import { BAR_ARIA_LABEL as e, BAR_CHART_VARIANTS as f, barChartVariant as
|
|
4
|
+
import { BAR_ARIA_LABEL as e, BAR_CHART_VARIANTS as f, barChartVariant as c, buildChartData as n, buildDataSeries as l } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
5
5
|
import { HOST_ACTIONS as d } from "./ctaActions/hostActions.es.js";
|
|
6
6
|
import { runInDescriptionCta as u } from "./ctaActions/runCtaAction.es.js";
|
|
7
7
|
import { useBeatCtaActions as g, useCtaHandler as C } from "./ctaActions/useCtaAction.es.js";
|
|
8
|
-
import { BarchartBlock as
|
|
8
|
+
import { BarchartBlock as h } from "./blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
9
9
|
import { DoubleBarChartBlock as A } from "./blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
10
10
|
import I from "./blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
11
11
|
import T from "./blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
12
12
|
import v from "./blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
13
13
|
import R, { isLogoGuid as w } from "./components/LogoFromGuid.es.js";
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import { detailedAccountVariant as
|
|
14
|
+
import M from "./components/AccountHeroCard.es.js";
|
|
15
|
+
import V from "./components/DirectDepositCard.es.js";
|
|
16
|
+
import { detailedAccountVariant as G, directDepositVariant as F, isDetailedAccountVariant as _ } from "./blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js";
|
|
17
17
|
import N from "./blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
|
|
18
18
|
import W from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
19
19
|
import z from "./components/TransferLogoCard.es.js";
|
|
@@ -22,23 +22,23 @@ import { BudgetBlock as K } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlo
|
|
|
22
22
|
import Y from "./components/InsightTransactionRow.es.js";
|
|
23
23
|
import $ from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
24
24
|
import ro from "./blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
|
|
25
|
-
import
|
|
25
|
+
import to from "./components/GoalProgressCard.es.js";
|
|
26
26
|
import ao from "./blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
|
|
27
27
|
import eo from "./components/LogoTile.es.js";
|
|
28
|
-
import
|
|
28
|
+
import co from "./components/LogoClusterCard.es.js";
|
|
29
29
|
import lo from "./components/AmountPill.es.js";
|
|
30
30
|
import Bo from "./components/MerchantHighlightCard.es.js";
|
|
31
31
|
import ko from "./components/P2PLogoStack.es.js";
|
|
32
32
|
import Co from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
|
|
33
|
-
import
|
|
33
|
+
import ho from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
34
34
|
import Ao from "./blocks/ComponentBlocks/QuarterlySummaryBlock/QuarterlySummaryBlock.es.js";
|
|
35
35
|
import Io from "./blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
|
|
36
36
|
import To from "./components/UpcomingBillCard.es.js";
|
|
37
37
|
import vo from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
|
|
38
38
|
import Ro from "./components/SaveAnExtraCard.es.js";
|
|
39
|
-
import
|
|
40
|
-
import
|
|
41
|
-
import
|
|
39
|
+
import Ho from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
40
|
+
import Oo from "./components/SavingsOpportunityCard.es.js";
|
|
41
|
+
import Eo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
42
42
|
import Fo from "./blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
|
|
43
43
|
import xo from "./components/StatusMessageCard.es.js";
|
|
44
44
|
import Uo from "./components/TransactionListCard.es.js";
|
|
@@ -48,24 +48,24 @@ import Jo from "./components/SubscriptionHeroCard.es.js";
|
|
|
48
48
|
import Xo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
49
49
|
import Zo from "./blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
|
|
50
50
|
import or from "./components/WithdrawalCard.es.js";
|
|
51
|
-
import
|
|
52
|
-
import ir from "./blocks/ComponentBlocks/
|
|
51
|
+
import mr from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
52
|
+
import ir from "./blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js";
|
|
53
53
|
import pr from "./components/DesignateEmergencySavingsCard.es.js";
|
|
54
54
|
import { SVGImageBlock as fr } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
55
|
-
import
|
|
55
|
+
import nr from "./components/shared/StatusSnackbar.es.js";
|
|
56
56
|
import sr from "./components/FeedbackDialog.es.js";
|
|
57
57
|
import Br from "./components/FeedbackModal.es.js";
|
|
58
58
|
import kr from "./components/ConnectionDetailDrillDown.es.js";
|
|
59
59
|
import Cr from "./components/SurveyModal.es.js";
|
|
60
|
-
import
|
|
60
|
+
import hr from "./components/InsightErrorCard.es.js";
|
|
61
61
|
import { ErrorCard as Ar } from "./components/ErrorCard.es.js";
|
|
62
62
|
import Ir from "./components/AmountBreakdownCard.es.js";
|
|
63
63
|
import Tr from "./components/BadgedTile.es.js";
|
|
64
64
|
import { OverflowMenu as vr } from "./components/OverflowMenu.es.js";
|
|
65
65
|
import { InsightOptionsMenu as Rr } from "./components/InsightOptionsMenu.es.js";
|
|
66
|
-
import
|
|
67
|
-
import
|
|
68
|
-
import { FeedbackBar as
|
|
66
|
+
import Hr from "./components/StatusBadge.es.js";
|
|
67
|
+
import Or from "./components/CompactInsightCard.es.js";
|
|
68
|
+
import { FeedbackBar as Er } from "./components/FeedbackBar.es.js";
|
|
69
69
|
import { DismissInsightDialog as Fr } from "./components/DismissInsightDialog.es.js";
|
|
70
70
|
import { HiddenConfirmationCard as xr } from "./components/HiddenConfirmationCard.es.js";
|
|
71
71
|
import { LoadingCard as Ur } from "./components/LoadingCard.es.js";
|
|
@@ -73,47 +73,47 @@ import { ObsolesceBanner as Qr } from "./components/ObsolesceBanner.es.js";
|
|
|
73
73
|
import jr from "./components/BaseLayout.es.js";
|
|
74
74
|
export {
|
|
75
75
|
W as AccountBlock,
|
|
76
|
-
|
|
76
|
+
M as AccountHeroCard,
|
|
77
77
|
q as AccountSwitchBlock,
|
|
78
78
|
Ir as AmountBreakdownCard,
|
|
79
79
|
lo as AmountPill,
|
|
80
80
|
e as BAR_ARIA_LABEL,
|
|
81
81
|
f as BAR_CHART_VARIANTS,
|
|
82
82
|
Tr as BadgedTile,
|
|
83
|
-
|
|
83
|
+
h as BarchartBlock,
|
|
84
84
|
jr as BaseLayout,
|
|
85
85
|
K as BudgetBlock,
|
|
86
|
-
|
|
86
|
+
Or as CompactInsightCard,
|
|
87
87
|
kr as ConnectionDetailDrillDown,
|
|
88
88
|
$ as DebtsBlock,
|
|
89
89
|
pr as DesignateEmergencySavingsCard,
|
|
90
90
|
N as DetailedAccountBlock,
|
|
91
91
|
N as DirectDepositBlock,
|
|
92
|
-
|
|
92
|
+
V as DirectDepositCard,
|
|
93
93
|
Fr as DismissInsightDialog,
|
|
94
94
|
T as DonutChartBlock,
|
|
95
95
|
A as DoubleBarChartBlock,
|
|
96
96
|
v as DoubleProgressBarBlock,
|
|
97
97
|
Ar as ErrorCard,
|
|
98
|
-
|
|
98
|
+
ir as FeeChargedBlock,
|
|
99
|
+
Er as FeedbackBar,
|
|
99
100
|
sr as FeedbackDialog,
|
|
100
101
|
Br as FeedbackModal,
|
|
101
102
|
ro as GasPurchaseBlock,
|
|
102
|
-
|
|
103
|
+
to as GoalProgressCard,
|
|
103
104
|
ao as GoalsBlock,
|
|
104
|
-
ir as GreenStatementFeeBlock,
|
|
105
105
|
d as HOST_ACTIONS,
|
|
106
106
|
xr as HiddenConfirmationCard,
|
|
107
|
-
|
|
107
|
+
hr as InsightErrorCard,
|
|
108
108
|
Rr as InsightOptionsMenu,
|
|
109
109
|
Y as InsightTransactionRow,
|
|
110
110
|
Ur as LoadingCard,
|
|
111
|
-
|
|
111
|
+
co as LogoClusterCard,
|
|
112
112
|
R as LogoFromGuid,
|
|
113
113
|
eo as LogoTile,
|
|
114
114
|
Co as MerchantBlock,
|
|
115
115
|
Bo as MerchantHighlightCard,
|
|
116
|
-
|
|
116
|
+
ho as NoSpendDaysBlock,
|
|
117
117
|
Qr as ObsolesceBanner,
|
|
118
118
|
vr as OverflowMenu,
|
|
119
119
|
ko as P2PLogoStack,
|
|
@@ -122,14 +122,14 @@ export {
|
|
|
122
122
|
vo as RepeatingTransactionBlock,
|
|
123
123
|
fr as SVGImageBlock,
|
|
124
124
|
Ro as SaveAnExtraCard,
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
125
|
+
Ho as SaveExtraBlock,
|
|
126
|
+
Eo as SavingsOpportunityBlock,
|
|
127
|
+
Oo as SavingsOpportunityCard,
|
|
128
128
|
Fo as SavingsSummaryBlock,
|
|
129
|
-
|
|
129
|
+
Hr as StatusBadge,
|
|
130
130
|
xo as StatusMessageCard,
|
|
131
131
|
r as StatusPill,
|
|
132
|
-
|
|
132
|
+
nr as StatusSnackbar,
|
|
133
133
|
I as StepChartBlock,
|
|
134
134
|
Jo as SubscriptionHeroCard,
|
|
135
135
|
Cr as SurveyModal,
|
|
@@ -140,16 +140,16 @@ export {
|
|
|
140
140
|
To as UpcomingBillCard,
|
|
141
141
|
Xo as UpcomingSubscriptionBlock,
|
|
142
142
|
Zo as WeeklySmallPurchasesBlock,
|
|
143
|
-
|
|
143
|
+
mr as WithdrawalBlock,
|
|
144
144
|
or as WithdrawalCard,
|
|
145
|
-
|
|
146
|
-
|
|
145
|
+
c as barChartVariant,
|
|
146
|
+
n as buildChartData,
|
|
147
147
|
l as buildDataSeries,
|
|
148
|
-
|
|
148
|
+
G as detailedAccountVariant,
|
|
149
149
|
F as directDepositVariant,
|
|
150
150
|
_ as isDetailedAccountVariant,
|
|
151
151
|
w as isLogoGuid,
|
|
152
|
-
|
|
152
|
+
t as resolveInsightRender,
|
|
153
153
|
u as runInDescriptionCta,
|
|
154
154
|
Qo as transactionBlockVariant,
|
|
155
155
|
a as useBeatActions,
|
|
@@ -6,14 +6,14 @@ import { BarchartBlock as O } from "../blocks/ChartBlocks/BarchartBlock/Barchart
|
|
|
6
6
|
import { DoubleBarChartBlock as d } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
7
7
|
import L from "../blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
8
8
|
import P from "../blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
9
|
+
import g from "../blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
10
|
+
import N from "../blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
|
|
11
11
|
import y from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
12
12
|
import I from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
13
13
|
import { BudgetBlock as S } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
14
14
|
import b from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
15
|
+
import h from "../blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
|
|
16
|
+
import D from "../blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
|
|
17
17
|
import E from "../blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
|
|
18
18
|
import K from "../blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
19
19
|
import R from "../blocks/ComponentBlocks/QuarterlySummaryBlock/QuarterlySummaryBlock.es.js";
|
|
@@ -22,11 +22,11 @@ import c from "../blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTran
|
|
|
22
22
|
import M from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
23
23
|
import U from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
24
24
|
import w from "../blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
|
|
25
|
-
import { TransactionBlock as
|
|
26
|
-
import
|
|
27
|
-
import
|
|
25
|
+
import { TransactionBlock as H } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
26
|
+
import F from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
27
|
+
import G from "../blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
|
|
28
28
|
import z from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
29
|
-
import Y from "../blocks/ComponentBlocks/
|
|
29
|
+
import Y from "../blocks/ComponentBlocks/FeeChargedBlock/FeeChargedBlock.es.js";
|
|
30
30
|
import q from "../blocks/ImageBlocks/ImageBlock.es.js";
|
|
31
31
|
import { SVGImageBlock as x } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
32
32
|
import { FeedbackModalActionBlock as Q } from "../actionBlocks/FeedbackModalActionBlock.es.js";
|
|
@@ -57,13 +57,13 @@ import { useAccountListPrepare as fo } from "../actionBlocks/AccountListBlock/us
|
|
|
57
57
|
import { EmergencySavingsBlock as ko, selectEmergencySavingsCopy as To } from "../actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js";
|
|
58
58
|
import { CreditUtilizationBlock as Ao, selectCreditUtilizationCopy as C } from "../actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js";
|
|
59
59
|
import { useCreditUtilizationPrepare as Oo } from "../actionBlocks/CreditUtilizationBlock/useCreditUtilizationPrepare.es.js";
|
|
60
|
-
import { PayoffCalculatorBlock as Lo, selectPayoffCalculatorCopy as u, usePayoffCalculatorLoadState as Po, usePayoffCalculatorPrepare as
|
|
61
|
-
import { BudgetDetailsBlock as
|
|
60
|
+
import { PayoffCalculatorBlock as Lo, selectPayoffCalculatorCopy as u, usePayoffCalculatorLoadState as Po, usePayoffCalculatorPrepare as go } from "../actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js";
|
|
61
|
+
import { BudgetDetailsBlock as No, selectBudgetDetailsCopy as yo } from "../actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js";
|
|
62
62
|
import { TopMerchantsBlock as Io, selectTopMerchantsCopy as B } from "../actionBlocks/TopMerchantsBlock/TopMerchantsBlock.es.js";
|
|
63
63
|
import { useBudgetDetailsPrepare as So } from "../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js";
|
|
64
64
|
import { PayoffStrategiesBlock as bo, selectPayoffStrategiesCopy as f } from "../actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js";
|
|
65
|
-
import { usePayoffStrategiesPrepare as
|
|
66
|
-
import { QuizMerchantBlock as
|
|
65
|
+
import { usePayoffStrategiesPrepare as ho } from "../actionBlocks/PayoffStrategiesBlock/usePayoffStrategiesPrepare.es.js";
|
|
66
|
+
import { QuizMerchantBlock as Do } from "../actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js";
|
|
67
67
|
import { useAccountsLoadState as k } from "../actionBlocks/useAccountsLoadState.es.js";
|
|
68
68
|
var a = (r) => {
|
|
69
69
|
}, t = (r) => ({
|
|
@@ -187,7 +187,7 @@ var a = (r) => {
|
|
|
187
187
|
[o.PAYOFF_CALCULATOR_ACTION_BLOCK]: t(() => ({
|
|
188
188
|
Component: Lo,
|
|
189
189
|
copy: u,
|
|
190
|
-
usePrepare:
|
|
190
|
+
usePrepare: go,
|
|
191
191
|
useLoadState: Po,
|
|
192
192
|
title: (r, e) => u(e)?.title ?? ""
|
|
193
193
|
})),
|
|
@@ -199,7 +199,7 @@ var a = (r) => {
|
|
|
199
199
|
title: (r, e) => B(e)?.title ?? ""
|
|
200
200
|
})),
|
|
201
201
|
[o.BUDGET_DETAILS_ACTION_BLOCK]: t(() => ({
|
|
202
|
-
Component:
|
|
202
|
+
Component: No,
|
|
203
203
|
copy: yo,
|
|
204
204
|
usePrepare: So,
|
|
205
205
|
title: A
|
|
@@ -223,27 +223,27 @@ var a = (r) => {
|
|
|
223
223
|
[o.PAYOFF_STRATEGIES_ACTION_BLOCK]: t(() => ({
|
|
224
224
|
Component: bo,
|
|
225
225
|
copy: f,
|
|
226
|
-
usePrepare:
|
|
226
|
+
usePrepare: ho,
|
|
227
227
|
useLoadState: k,
|
|
228
228
|
title: (r, e) => f(e)?.debt_payoff_strategies ?? ""
|
|
229
229
|
})),
|
|
230
230
|
[o.QUIZ_MERCHANT_ACTION_BLOCK]: t(() => ({
|
|
231
|
-
Component:
|
|
231
|
+
Component: Do,
|
|
232
232
|
usePrepare: n,
|
|
233
233
|
title: (r, e) => e.insights_feed?.quiz_block?.drawer_title ?? ""
|
|
234
234
|
}))
|
|
235
235
|
}, Vt = {
|
|
236
236
|
account_block: y,
|
|
237
237
|
account_switch_block: I,
|
|
238
|
-
direct_deposit_block:
|
|
238
|
+
direct_deposit_block: N,
|
|
239
239
|
bar_chart_block: O,
|
|
240
240
|
budget_block: S,
|
|
241
241
|
debts_block: b,
|
|
242
242
|
donut_chart_block: P,
|
|
243
243
|
double_bar_chart_block: d,
|
|
244
|
-
double_progress_bar_block:
|
|
245
|
-
gas_purchase_block:
|
|
246
|
-
goals_block:
|
|
244
|
+
double_progress_bar_block: g,
|
|
245
|
+
gas_purchase_block: h,
|
|
246
|
+
goals_block: D,
|
|
247
247
|
image_block: q,
|
|
248
248
|
merchant_block: E,
|
|
249
249
|
no_spend_days_block: K,
|
|
@@ -256,11 +256,11 @@ var a = (r) => {
|
|
|
256
256
|
step_chart_block: L,
|
|
257
257
|
svg_image_block: x,
|
|
258
258
|
upcoming_bill_block: c,
|
|
259
|
-
upcoming_subscription_block:
|
|
260
|
-
weekly_small_purchases_block:
|
|
259
|
+
upcoming_subscription_block: F,
|
|
260
|
+
weekly_small_purchases_block: G,
|
|
261
261
|
withdrawal_block: z,
|
|
262
|
-
transaction_block:
|
|
263
|
-
|
|
262
|
+
transaction_block: H,
|
|
263
|
+
fee_charged_block: Y
|
|
264
264
|
};
|
|
265
265
|
export {
|
|
266
266
|
Qt as actionBlocks,
|