@mx-cartographer/experiences 9.7.150 → 9.7.152

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.
Files changed (42) hide show
  1. package/CHANGELOG.md +16 -4
  2. package/dist/core/types/Insights.d.ts +7 -10
  3. package/dist/core/types/Insights.es.js.map +1 -1
  4. package/dist/core/types/localization/InsightsFeedCopy.d.ts +13 -7
  5. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +33 -36
  6. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
  7. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js +91 -54
  8. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js.map +1 -1
  9. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSubscriptionHeader.d.ts +12 -0
  10. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSubscriptionHeader.es.js +76 -0
  11. package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListSubscriptionHeader.es.js.map +1 -0
  12. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.d.ts +14 -0
  13. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js +76 -37
  14. package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js.map +1 -1
  15. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.d.ts +4 -23
  16. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js +95 -72
  17. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js.map +1 -1
  18. package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js +6 -6
  19. package/dist/insights-v2/blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js +4 -4
  20. package/dist/insights-v2/components/SubscriptionStatus/subscriptionFrequency.d.ts +3 -1
  21. package/dist/insights-v2/components/SubscriptionStatus/subscriptionFrequency.es.js +5 -4
  22. package/dist/insights-v2/components/SubscriptionStatus/subscriptionFrequency.es.js.map +1 -1
  23. package/dist/insights-v2/components/drawerTip.d.ts +2 -0
  24. package/dist/insights-v2/components/drawerTip.es.js +10 -0
  25. package/dist/insights-v2/components/drawerTip.es.js.map +1 -0
  26. package/dist/insights-v2/index.d.ts +0 -1
  27. package/dist/insights-v2/index.es.js +104 -106
  28. package/dist/transactions/components/shared/TransactionList.d.ts +2 -0
  29. package/dist/transactions/components/shared/TransactionList.es.js +48 -47
  30. package/dist/transactions/components/shared/TransactionList.es.js.map +1 -1
  31. package/dist/transactions/components/shared/transactionlist/TransactionRow.d.ts +2 -0
  32. package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +50 -45
  33. package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/layout.d.ts +0 -17
  36. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/layout.es.js +0 -24
  37. package/dist/insights-v2/blocks/ComponentBlocks/DebtsBlock/layout.es.js.map +0 -1
  38. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js +0 -30
  39. package/dist/insights-v2/components/ComponentBlocks/DepositLogo.es.js.map +0 -1
  40. package/dist/insights-v2/components/DebtPayoffCard.d.ts +0 -48
  41. package/dist/insights-v2/components/DebtPayoffCard.es.js +0 -132
  42. package/dist/insights-v2/components/DebtPayoffCard.es.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"DebtsBlock.es.js","names":[],"sources":["../../../../../src/insights-v2/blocks/ComponentBlocks/DebtsBlock/DebtsBlock.tsx"],"sourcesContent":["import React from 'react'\n\nimport { useTheme } from '@mui/material/styles'\n\nimport { useGlobalCopyStore } from '../../../../common'\nimport { slot, type InsightsPayload, type InstanceSlotRow } from '../../../../core'\nimport { DATE_FORMATS_INTL, formatDate } from '../../../../core/constants'\nimport type { DebtsBlockCopy } from '../../../../core/types/localization/InsightsFeedCopy'\nimport {\n CURRENCY_FORMAT,\n formatCurrency,\n formatPercentage,\n} from '../../../../core/utils/NumberFormatting'\n\nimport DepositLogo from '../../../components/ComponentBlocks/DepositLogo'\nimport DebtPayoffCard, { type DebtPayoffStat } from '../../../components/DebtPayoffCard'\nimport LogoFromGuid from '../../../components/LogoFromGuid'\nimport TransactionListCard from '../../../components/TransactionListCard'\nimport { resolveVariantConfig } from '../../resolveVariantConfig'\nimport { parseDueDate } from '../RepeatingTransactionBlock/weekStrip'\n\nimport { DEBTS_LAYOUT, debtsBlockVariant } from './layout'\n\n// The card story reads the block's look from here.\nexport { PAYOFF_STYLE } from './layout'\n\ninterface DebtsBlockProps {\n payload: InsightsPayload\n beatGuid?: string\n}\n\nconst ROW_LOGO_SIZE = 32\n\n/** Account types drawn with the card glyph when there is no institution logo; the rest get the bank. */\nconst CREDIT_CARD_TYPES = new Set(['credit card', 'credit_card', 'creditcard'])\n\nconst iconFor = (accountType?: string) =>\n CREDIT_CARD_TYPES.has((accountType ?? '').trim().toLowerCase())\n ? 'credit_card'\n : 'account_balance'\n\n/** A summary row ditto can draw: an object with a name. Anything else in `series` is skipped. */\nconst isNamedRow = (row: unknown): row is InstanceSlotRow & { primary_text: string } =>\n typeof row === 'object' &&\n row !== null &&\n typeof (row as InstanceSlotRow).primary_text === 'string'\n\n/** Every label the payoff card renders; a partial namespace counts as missing. */\nconst hasAllLabels = (copy?: DebtsBlockCopy): copy is DebtsBlockCopy =>\n !!copy?.balance_label &&\n !!copy.payoff_date_label &&\n !!copy.monthly_payment_label &&\n !!copy.interest_rate_label\n\n/**\n * Debts component block — the content card for the Debt Payoff Strategies beat.\n * `instance_slot.variant` picks the card from `./layout.ts` through `resolveVariantConfig`, as\n * `AccountBlock` does:\n *\n * - `projected_payoff` — one account on the `DebtPayoffCard`. Its facts arrive flat on\n * `instance_slot` (the shape it shipped with): the balance (`amount`), `payoff_date`,\n * `monthly_payment`, `interest_rate`, plus the shared account/institution fields.\n * - `debt_summary` — the beat's several debt accounts on a `TransactionListCard`, read from\n * `instance_slot.data`: one row per account from `series` (pre-localized `logo`, `primary_text`\n * name, `secondary_text` rate, `amount` balance, in the order sent), an optional `header_text`,\n * and the total owed (`amount`) as the footer. With no rows there is nothing to summarize and the\n * block renders nothing.\n *\n * Captions and payoff row labels come from `insights_feed.debts_block` copy, which ships\n * separately. Each variant needs only its own keys: until they have shipped, the card shows what\n * needs no copy (the account row, the summary rows) but never an unlabelled figure, and warns once\n * per mount so the rollout gap is traceable. A row with no value (or an unparseable date) is\n * dropped rather than rendered blank.\n */\nconst DebtsBlock = ({ payload }: DebtsBlockProps) => {\n const theme = useTheme()\n const copy = useGlobalCopyStore().insights_feed?.debts_block\n const { instance_slot } = payload\n const { data, variant } = instance_slot\n\n const layout = resolveVariantConfig(\n DEBTS_LAYOUT,\n variant,\n debtsBlockVariant.ProjectedPayoff,\n 'DebtsBlock',\n )\n const isSummary = layout.card === 'summary'\n\n const labels = hasAllLabels(copy) ? copy : undefined\n const totalLabel = copy?.total_balance_label\n const hasCopy = isSummary ? !!totalLabel : !!labels\n\n React.useEffect(() => {\n if (hasCopy) return\n console.warn(\n `debts_block: ${copy ? 'copy incomplete' : 'copy namespace missing'}; rendering without its labelled figures`,\n )\n }, [copy, hasCopy])\n\n if (isSummary) {\n // `slot()` is an unchecked cast over backend data, so every value is narrowed before use.\n const series = slot<unknown[]>(data, 'series')\n const rows = (Array.isArray(series) ? series : []).filter(isNamedRow).map((row) => ({\n amount:\n typeof row.amount === 'number' ? formatCurrency(row.amount, CURRENCY_FORMAT.cents) : '',\n leading: <LogoFromGuid logo={row.logo} size={ROW_LOGO_SIZE} />,\n subtitle: typeof row.secondary_text === 'string' ? row.secondary_text : '',\n title: row.primary_text,\n }))\n const header = slot<unknown>(data, 'header_text')\n const total = slot<unknown>(data, 'amount')\n\n return (\n <TransactionListCard\n background={theme.palette.primary.lighter}\n footer={\n totalLabel && typeof total === 'number' && Number.isFinite(total)\n ? { amount: formatCurrency(total, CURRENCY_FORMAT.cents), label: totalLabel }\n : undefined\n }\n header={typeof header === 'string' ? header : undefined}\n rows={rows}\n />\n )\n }\n\n const {\n account_name,\n account_type,\n amount,\n institution_guid,\n institution_name,\n interest_rate,\n monthly_payment,\n payoff_date,\n status_text,\n } = instance_slot\n\n const stats: DebtPayoffStat[] = []\n if (labels) {\n const payoffDate = payoff_date ? parseDueDate(payoff_date) : null\n if (payoffDate) {\n stats.push({\n label: labels.payoff_date_label,\n value: formatDate(payoffDate, DATE_FORMATS_INTL.MONTH_SHORT_YEAR),\n })\n }\n if (monthly_payment != null) {\n stats.push({\n label: labels.monthly_payment_label,\n value: formatCurrency(monthly_payment, CURRENCY_FORMAT.cents),\n })\n }\n if (interest_rate != null) {\n // `interest_rate` arrives as a percentage (19.99); Intl's percent style expects a fraction.\n stats.push({\n label: labels.interest_rate_label,\n value: formatPercentage(interest_rate / 100),\n })\n }\n }\n\n const hasBalance = labels !== undefined && amount != null\n\n return (\n <DebtPayoffCard\n {...layout.style}\n balance={hasBalance ? formatCurrency(amount, CURRENCY_FORMAT.cents) : undefined}\n balanceLabel={hasBalance ? labels.balance_label : undefined}\n logo={\n <DepositLogo\n iconName={iconFor(account_type)}\n institutionGuid={institution_guid ?? ''}\n institutionName={institution_name ?? ''}\n />\n }\n name={account_name}\n stats={stats}\n statusLabel={status_text}\n subtitle={account_type}\n />\n )\n}\n\nexport default DebtsBlock\n"],"mappings":";;;;;;;;;;;;;;AA+BA,IAAM,IAAgB,IAGhB,IAAoB,oBAAI,IAAI;AAAA,EAAC;AAAA,EAAe;AAAA,EAAe;AAAY,CAAC,GAExE,IAAA,CAAW,MACf,EAAkB,KAAK,KAAe,IAAI,KAAK,EAAE,YAAY,CAAC,IAC1D,gBACA,mBAGA,IAAA,CAAc,MAClB,OAAO,KAAQ,YACf,MAAQ,QACR,OAAQ,EAAwB,gBAAiB,UAG7C,IAAA,C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"sourcesContent":["import { useEffect } from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport Divider from '@mui/material/Divider'\nimport Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore } from '../../../../common'\nimport { slot, type InsightsPayload, type LogoRef } from '../../../../core'\nimport { DATE_FORMATS_INTL, formatDate } from '../../../../core/constants'\nimport { CURRENCY_FORMAT, formatCurrency } from '../../../../core/utils/NumberFormatting'\n\nimport InsightTransactionRow from '../../../components/InsightTransactionRow'\nimport LogoFromGuid from '../../../components/LogoFromGuid'\nimport { asLogoRef, asNonEmptyText, asNumber, asText } from '../../slotReaders'\nimport { parseDueDate } from '../RepeatingTransactionBlock/weekStrip'\n\ninterface DebtsBlockProps {\n payload: InsightsPayload\n beatGuid?: string\n}\n\nconst ROW_LOGO_SIZE = 32\n\ninterface PaymentRow {\n name: string\n account?: string\n amount?: number\n logo?: LogoRef\n}\n\n/** The first `series` row with a name, read through the shared slot readers; else undefined. */\nconst readPayment = (series: unknown): PaymentRow | undefined => {\n if (!Array.isArray(series)) return undefined\n for (const row of series) {\n if (typeof row !== 'object' || row === null) continue\n const { amount, logo, primary_text, secondary_text } = row as Record<string, unknown>\n const name = asNonEmptyText(primary_text)\n if (name) {\n return {\n name,\n account: asText(secondary_text),\n amount: asNumber(amount),\n logo: asLogoRef(logo),\n }\n }\n }\n return undefined\n}\n\n/** A label / value line under the payment row; the card's last line sits on the grey surface. */\nconst SummaryLine = ({ grey, label, value }: { grey?: boolean; label: string; value: string }) => (\n <>\n <Divider />\n <Stack\n sx={{\n alignItems: 'center',\n bgcolor: grey ? 'background.default' : 'background.paper',\n flexDirection: 'row',\n justifyContent: 'space-between',\n minHeight: 40,\n px: 16,\n py: 2,\n }}\n >\n <Text color=\"text.primary\" variant=\"subtitle2\">\n {label}\n </Text>\n <Text bold={true} color=\"text.primary\" variant=\"caption\">\n {value}\n </Text>\n </Stack>\n </>\n)\n\n/**\n * Debts component block: the Debt Payment Reminder card (Figma 1943:219556). One bordered card:\n *\n * - the upcoming payment, from `data.series[0]`: `logo`, `primary_text` (payment name),\n * `secondary_text` (account name) and `amount` (the payment);\n * - \"Payment due on\" with `data.due_date` (ISO day, shown as \"September 15\");\n * - \"Minimum payment\" with `data.minimum_payment`, only when ditto sends one (Figma \"Has Minimum\n * Payment\"; \"No Minimum Payment\" omits the line);\n * - the account balance, `data.amount`.\n *\n * The last line drawn sits on the grey surface: the balance on full, the due date on mini (whose\n * Figma draws the due date alone).\n *\n * The captions come from `insights_feed.debts_block` (`payment_due_label`, `minimum_payment_label`,\n * `balance_label`). A line whose caption has not shipped, or whose value is missing or invalid, is\n * left out rather than drawn unlabelled or blank; a missing caption for a line that has a value\n * also warns once, naming the key. With no payment row there is no card.\n */\nconst DebtsBlock = ({ payload }: DebtsBlockProps) => {\n const copy = useGlobalCopyStore().insights_feed?.debts_block\n const dueLabel = copy?.payment_due_label\n const minimumLabel = copy?.minimum_payment_label\n const balanceLabel = copy?.balance_label\n\n // Backend data is untrusted: every value goes through the shared slot readers before use.\n const data = payload.instance_slot?.data\n const payment = readPayment(slot(data, 'series'))\n const dueDateIso = asText(slot(data, 'due_date'))\n const dueDate = dueDateIso ? parseDueDate(dueDateIso) : null\n const minimum = asNumber(slot(data, 'minimum_payment'))\n const balance = asNumber(slot(data, 'amount'))\n const hasPayment = payment !== undefined\n\n // Only the captions for lines this card has a value to draw (mini sends no balance).\n const missingKeys = [\n dueDate && !dueLabel && 'payment_due_label',\n minimum !== undefined && !minimumLabel && 'minimum_payment_label',\n balance !== undefined && !balanceLabel && 'balance_label',\n ]\n .filter(Boolean)\n .join(', ')\n\n useEffect(() => {\n if (hasPayment && missingKeys) {\n console.warn(`debts_block: copy missing ${missingKeys}; hiding those lines`)\n }\n }, [hasPayment, missingKeys])\n\n if (!payment) return null\n\n // Figma's order; the last line drawn sits on the grey surface.\n const lines = [\n dueLabel && dueDate\n ? { label: dueLabel, value: formatDate(dueDate, DATE_FORMATS_INTL.FULL_MONTH_DAY) }\n : null,\n minimumLabel && minimum !== undefined\n ? { label: minimumLabel, value: formatCurrency(minimum, CURRENCY_FORMAT.cents) }\n : null,\n balanceLabel && balance !== undefined\n ? { label: balanceLabel, value: formatCurrency(balance, CURRENCY_FORMAT.cents) }\n : null,\n ].filter((line): line is { label: string; value: string } => line !== null)\n\n return (\n <Stack sx={{ px: 16 }}>\n <Stack\n sx={{\n border: '1px solid',\n borderColor: 'divider',\n borderRadius: '8px',\n overflow: 'hidden',\n width: '100%',\n }}\n >\n <InsightTransactionRow\n amount={\n payment.amount === undefined\n ? ''\n : formatCurrency(payment.amount, CURRENCY_FORMAT.cents)\n }\n leading={<LogoFromGuid logo={payment.logo} size={ROW_LOGO_SIZE} />}\n subtitle={payment.account ?? ''}\n title={payment.name}\n />\n {lines.map((line, index) => (\n <SummaryLine\n grey={index === lines.length - 1}\n key={line.label}\n label={line.label}\n value={line.value}\n />\n ))}\n </Stack>\n </Stack>\n )\n}\n\n// observer: the captions come from the copy store, which can load or change after the first render.\nexport default observer(DebtsBlock)\n"],"mappings":";;;;;;;;;;;;;;AAuBA,IAAM,IAAgB,IAUhB,IAAA,CAAe,MAA4C;AAC/D,MAAK,MAAM,QAAQ,CAAM;AACzB,eAAW,KAAO,GAAQ;AACxB,UAAI,OAAO,KAAQ,YAAY,MAAQ,KAAM;AAC7C,YAAM,EAAE,QAAA,GAAQ,MAAA,GAAM,cAAA,GAAc,gBAAA,EAAA,IAAmB,GACjD,IAAO,EAAe,CAAY;AACxC,UAAI,EACF,QAAO;AAAA,QACL,MAAA;AAAA,QACA,SAAS,EAAO,CAAc;AAAA,QAC9B,QAAQ,EAAS,CAAM;AAAA,QACvB,MAAM,EAAU,CAAI;AAAA,MACtB;AAAA,IAEJ;AAEF,GAGM,IAAA,CAAe,EAAE,MAAA,GAAM,OAAA,GAAO,OAAA,EAAA,MAClC,gBAAA,EAAA,GAAA,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD,CAAU,CAA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;AAAA,MAAU,OAAO,EAAW,GAAS,EAAkB,cAAc;AAAA,IAAE,IAChF;AAAA,IACJ,KAAgB,MAAY,SACxB;AAAA,MAAE,OAAO;AAAA,MAAc,OAAO,EAAe,GAAS,EAAgB,KAAK;AAAA,IAAE,IAC7E;AAAA,IACJ,KAAgB,MAAY,SACxB;AAAA,MAAE,OAAO;AAAA,MAAc,OAAO,EAAe,GAAS,EAAgB,KAAK;AAAA,IAAE,IAC7E;AAAA,EACN,EAAE,OAAA,CAAQ,MAAmD,MAAS,IAAI;AAE1E,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,IAAI,GAAG;AAAA,IAClB,UAAA,gBAAA,EAAC,GAAD;AAAA,MACE,IAAI;AAAA,QACF,QAAQ;AAAA,QACR,aAAa;AAAA,QACb,cAAc;AAAA,QACd,UAAU;AAAA,QACV,OAAO;AAAA,MACT;AAAA,MAPF,UAAA,CASE,gBAAA,EAAC,GAAD;AAAA,QACE,QACE,EAAQ,WAAW,SACf,KACA,EAAe,EAAQ,QAAQ,EAAgB,KAAK;AAAA,QAE1D,SAAS,gBAAA,EAAC,GAAD;AAAA,UAAc,MAAM,EAAQ;AAAA,UAAM,MAAM;AAAA,QAAgB,CAAA;AAAA,QACjE,UAAU,EAAQ,WAAW;AAAA,QAC7B,OAAO,EAAQ;AAAA,MAChB,CAAA,GACA,EAAM,IAAA,CAAK,GAAM,MAChB,gBAAA,EAAC,GAAD;AAAA,QACE,MAAM,MAAU,EAAM,SAAS;AAAA,QAE/B,OAAO,EAAK;AAAA,QACZ,OAAO,EAAK;AAAA,MACb,GAHM,EAAK,KAGX,CACF,CACI;AAAA;EACF,CAAA;AAEX,GAGA,KAAe,EAAS,CAAU"}
@@ -4,9 +4,9 @@ import { QUIZ_CONTEXT as c, QUIZ_VARIANTS as O, isTopMerchant as K, merchantKey
4
4
  import { actionBlocksKey as F } from "../../../mappings/actionBlocksKey.es.js";
5
5
  import Z from "../../../components/LogoFromGuid.es.js";
6
6
  import { ConfettiOverlay as N } from "../../../components/shared/ConfettiOverlay.es.js";
7
- import { SMALL_CARD_SHADOW as U } from "../../../components/shared/elevation.es.js";
8
- import V from "../../../components/LogoTile.es.js";
9
- import { LinedCardZeroState as j } from "../../../../insights/components/shared/ZeroState/LinedCardZeroState.es.js";
7
+ import U from "../../../components/LogoTile.es.js";
8
+ import { LinedCardZeroState as V } from "../../../../insights/components/shared/ZeroState/LinedCardZeroState.es.js";
9
+ import { SMALL_CARD_SHADOW as j } from "../../../components/shared/elevation.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(V, {
36
+ return /* @__PURE__ */ r(U, {
37
37
  borderColor: null,
38
38
  borderRadius: 4,
39
39
  size: z,
@@ -53,7 +53,7 @@ var X = 3e3, z = 32, T = {
53
53
  backdropFilter: o ? void 0 : "blur(6px)",
54
54
  bgcolor: (t) => o ? "success.main" : _(t.palette.common.black, 0.5),
55
55
  borderRadius: "8px",
56
- boxShadow: o ? U : void 0,
56
+ boxShadow: o ? j : void 0,
57
57
  color: o ? "success.contrastText" : "common.white",
58
58
  gap: 18,
59
59
  inset: 16,
@@ -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(j, {});
133
+ }, [t]), !m.length) return /* @__PURE__ */ r(V, {});
134
134
  if (k) {
135
135
  const n = (i) => f({
136
136
  guid: o,
@@ -10,8 +10,8 @@ import K, { isKnownIcon as J } from "../../../components/LogoMark.es.js";
10
10
  import { logoFromRef as Q } from "../../../components/shared/EntityLogo.es.js";
11
11
  import X from "../../../components/LogoFromGuid.es.js";
12
12
  import { statusIconName as oo, statusIconPalette as S } from "../../../components/statusIcon.es.js";
13
- import ro from "../../../components/TransactionListCard.es.js";
14
- import to from "../../../components/StatusMessageCard.es.js";
13
+ import ro from "../../../components/StatusMessageCard.es.js";
14
+ import to from "../../../components/TransactionListCard.es.js";
15
15
  import { subscriptionFrequency as eo } from "../../../components/SubscriptionStatus/subscriptionFrequency.es.js";
16
16
  import { getLayoutConfig as no, transactionBlockVariant as io } from "./layout.es.js";
17
17
  import { observer as ao } from "mobx-react-lite";
@@ -83,7 +83,7 @@ var c = 32, mo = Math.round(c * 0.625), uo = 24, T = 32, lo = 20, go = ({ icon:
83
83
  }) : void 0, y = !!l && _?.user_response === V.CONFIRMED;
84
84
  if (M) {
85
85
  const r = a(n, "message");
86
- return typeof r != "string" || !r.trim() ? (console.warn("[TransactionBlock] status_message has no message — rendering nothing."), null) : /* @__PURE__ */ t(to, {
86
+ return typeof r != "string" || !r.trim() ? (console.warn("[TransactionBlock] status_message has no message — rendering nothing."), null) : /* @__PURE__ */ t(ro, {
87
87
  icon: /* @__PURE__ */ t(g, {
88
88
  "aria-hidden": "true",
89
89
  sx: { display: "flex" },
@@ -105,7 +105,7 @@ var c = 32, mo = Math.round(c * 0.625), uo = 24, T = 32, lo = 20, go = ({ icon:
105
105
  label: b,
106
106
  amount: C(Z, x.cents)
107
107
  } : void 0, j = p ? eo(o, _) : void 0, q = l ? /* @__PURE__ */ t(go, { icon: I(a(n, y ? "reviewed_icon" : "icon")) }) : void 0, v = (r) => !!O && typeof r == "number" && r > 0;
108
- return /* @__PURE__ */ t(ro, {
108
+ return /* @__PURE__ */ t(to, {
109
109
  background: y && f ? f : u,
110
110
  badge: q,
111
111
  elevated: A,
@@ -1,4 +1,6 @@
1
1
  import { RepeatingTransaction } from '../../../core/types/RepeatingTransaction';
2
2
  import { RecurringCopy } from '../../../core/types/localization/RecurringCopy';
3
- /** Frequency word from `recurrence_type` (e.g. "Yearly"); unknown or unmapped → undefined. */
3
+ /** Frequency word from a stored `recurrence_type` (e.g. "Yearly"); unknown or unmapped → undefined. */
4
+ export declare const frequencyWord: (copy: RecurringCopy | undefined, type: number | undefined) => string | undefined;
5
+ /** Frequency word for a live repeating transaction. */
4
6
  export declare const subscriptionFrequency: (copy: RecurringCopy | undefined, repeating: RepeatingTransaction | undefined) => string | undefined;
@@ -1,11 +1,12 @@
1
1
  import { RECURRENCE_COPY as n } from "../../../common/constants/ScheduledPayment.es.js";
2
- var p = (r, t) => {
3
- const e = t?.recurrence_type, o = e ? n.find(({ id: i }) => i === e)?.copy : void 0;
2
+ var c = (r, e) => {
3
+ const o = e ? n.find(({ id: i }) => i === e)?.copy : void 0;
4
4
  if (!(!r || !o))
5
5
  return r[o] || void 0;
6
- };
6
+ }, u = (r, e) => c(r, e?.recurrence_type);
7
7
  export {
8
- p as subscriptionFrequency
8
+ c as frequencyWord,
9
+ u as subscriptionFrequency
9
10
  };
10
11
 
11
12
  //# sourceMappingURL=subscriptionFrequency.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"subscriptionFrequency.es.js","names":[],"sources":["../../../../src/insights-v2/components/SubscriptionStatus/subscriptionFrequency.ts"],"sourcesContent":["import { RECURRENCE_COPY } from '../../../common/constants'\nimport type { RepeatingTransaction } from '../../../core/types/RepeatingTransaction'\nimport type { RecurringCopy } from '../../../core/types/localization/RecurringCopy'\n\n/** Frequency word from `recurrence_type` (e.g. \"Yearly\"); unknown or unmapped → undefined. */\nexport const subscriptionFrequency = (\n copy: RecurringCopy | undefined,\n repeating: RepeatingTransaction | undefined,\n): string | undefined => {\n const type: number | undefined = repeating?.recurrence_type\n // Same numbers as `Frequency`; 0 (unknown) has no word.\n const key = type ? RECURRENCE_COPY.find(({ id }) => id === type)?.copy : undefined\n\n if (!copy || !key) return undefined\n\n return copy[key as keyof RecurringCopy] || undefined\n}\n"],"mappings":";AAKA,IAAa,IAAA,CACX,GACA,MACuB;AACvB,QAAM,IAA2B,GAAW,iBAEtC,IAAM,IAAO,EAAgB,KAAA,CAAM,EAAE,IAAA,EAAA,MAAS,MAAO,CAAI,GAAG,OAAO;AAEzE,MAAI,GAAC,KAAQ,CAAC;AAEd,WAAO,EAAK,CAAA,KAA+B;AAC7C"}
1
+ {"version":3,"file":"subscriptionFrequency.es.js","names":[],"sources":["../../../../src/insights-v2/components/SubscriptionStatus/subscriptionFrequency.ts"],"sourcesContent":["import { RECURRENCE_COPY } from '../../../common/constants'\nimport type { RepeatingTransaction } from '../../../core/types/RepeatingTransaction'\nimport type { RecurringCopy } from '../../../core/types/localization/RecurringCopy'\n\n/** Frequency word from a stored `recurrence_type` (e.g. \"Yearly\"); unknown or unmapped → undefined. */\nexport const frequencyWord = (\n copy: RecurringCopy | undefined,\n type: number | undefined,\n): string | undefined => {\n // Same numbers as `Frequency`; 0 (unknown) has no word.\n const key = type ? RECURRENCE_COPY.find(({ id }) => id === type)?.copy : undefined\n\n if (!copy || !key) return undefined\n\n return copy[key as keyof RecurringCopy] || undefined\n}\n\n/** Frequency word for a live repeating transaction. */\nexport const subscriptionFrequency = (\n copy: RecurringCopy | undefined,\n repeating: RepeatingTransaction | undefined,\n): string | undefined => frequencyWord(copy, repeating?.recurrence_type)\n"],"mappings":";AAKA,IAAa,IAAA,CACX,GACA,MACuB;AAEvB,QAAM,IAAM,IAAO,EAAgB,KAAA,CAAM,EAAE,IAAA,EAAA,MAAS,MAAO,CAAI,GAAG,OAAO;AAEzE,MAAI,GAAC,KAAQ,CAAC;AAEd,WAAO,EAAK,CAAA,KAA+B;AAC7C,GAGa,IAAA,CACX,GACA,MACuB,EAAc,GAAM,GAAW,eAAe"}
@@ -0,0 +1,2 @@
1
+ import { TipSectionIcon } from '../../insights/components/shared/ChartDrawerTemplate/TipSection';
2
+ export declare const DRAWER_TIP_ICON: TipSectionIcon;
@@ -0,0 +1,10 @@
1
+ var a = {
2
+ color: "primary",
3
+ name: "tips_and_updates",
4
+ size: 20
5
+ };
6
+ export {
7
+ a as DRAWER_TIP_ICON
8
+ };
9
+
10
+ //# sourceMappingURL=drawerTip.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"drawerTip.es.js","names":[],"sources":["../../../src/insights-v2/components/drawerTip.ts"],"sourcesContent":["import type { TipSectionIcon } from '../../insights/components/shared/ChartDrawerTemplate/TipSection'\n\n// Every Figma drawer tip draws this icon; the shared TipSection keeps its lightbulb for V1 insights.\nexport const DRAWER_TIP_ICON: TipSectionIcon = {\n color: 'primary',\n name: 'tips_and_updates',\n size: 20,\n}\n"],"mappings":"AAGA,IAAa,IAAkC;AAAA,EAC7C,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AACR"}
@@ -2,7 +2,6 @@ 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';
6
5
  export { default as GoalProgressCard, type GoalProgressCardStyleProps, type GoalProgressPillConfig, type GoalProgressRow, } from './components/GoalProgressCard';
7
6
  export { default as AmountPill } from './components/AmountPill';
8
7
  export { default as AmountBreakdownCard, type AmountBreakdownCardProps, type AmountBreakdownRow, type AmountBreakdownTotal, } from './components/AmountBreakdownCard';
@@ -1,10 +1,10 @@
1
1
  import r from "./components/StatusPill.es.js";
2
2
  import { resolveInsightRender as m } 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 n, buildChartData as c, buildDataSeries as l } from "./blocks/ChartBlocks/BarchartBlock/utils.es.js";
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
- import { useBeatCtaActions as g, useCtaHandler as k } from "./ctaActions/useCtaAction.es.js";
7
+ import { useBeatCtaActions as g, useCtaHandler as C } from "./ctaActions/useCtaAction.es.js";
8
8
  import { BarchartBlock as D } 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";
@@ -19,129 +19,127 @@ import W from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
19
19
  import Q from "./components/TransferLogoCard.es.js";
20
20
  import q from "./blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
21
21
  import { BudgetBlock as K } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
22
- import Y from "./components/DebtPayoffCard.es.js";
23
- import $ from "./components/InsightTransactionRow.es.js";
24
- import ro from "./components/TransactionListCard.es.js";
25
- import mo from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
26
- import ao from "./blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
27
- import eo from "./components/GoalProgressCard.es.js";
28
- import no from "./blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
29
- import lo from "./components/LogoTile.es.js";
30
- import Bo from "./components/LogoClusterCard.es.js";
31
- import Co from "./components/AmountPill.es.js";
32
- import ko from "./components/MerchantHighlightCard.es.js";
33
- import Do from "./components/P2PLogoStack.es.js";
34
- import Ao from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
35
- import Io from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
36
- import To from "./blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
37
- import yo from "./components/UpcomingBillCard.es.js";
38
- import Ro from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
39
- import Ho from "./components/SaveAnExtraCard.es.js";
40
- import Oo from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
41
- import Eo from "./components/SavingsOpportunityCard.es.js";
42
- import _o from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
43
- import xo from "./blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
44
- import Uo from "./components/StatusMessageCard.es.js";
45
- import { transactionBlockVariant as zo } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
46
- import { TransactionBlock as jo } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
47
- import Jo from "./components/SubscriptionHeroCard.es.js";
48
- import Xo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
49
- import Zo from "./blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
50
- import or from "./components/WithdrawalCard.es.js";
51
- import tr from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
52
- import ir from "./components/DesignateEmergencySavingsCard.es.js";
53
- import { SVGImageBlock as pr } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
54
- import fr from "./components/shared/StatusSnackbar.es.js";
55
- import cr from "./components/FeedbackDialog.es.js";
56
- import sr from "./components/FeedbackModal.es.js";
57
- import Br from "./components/ConnectionDetailDrillDown.es.js";
58
- import Cr from "./components/SurveyModal.es.js";
22
+ import Y from "./components/InsightTransactionRow.es.js";
23
+ import $ from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
24
+ import ro from "./blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
25
+ import mo from "./components/GoalProgressCard.es.js";
26
+ import ao from "./blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
27
+ import eo from "./components/LogoTile.es.js";
28
+ import co from "./components/LogoClusterCard.es.js";
29
+ import lo from "./components/AmountPill.es.js";
30
+ import Bo from "./components/MerchantHighlightCard.es.js";
31
+ import ko from "./components/P2PLogoStack.es.js";
32
+ import Co from "./blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
33
+ import Do from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
34
+ import Ao from "./blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
35
+ import Io from "./components/UpcomingBillCard.es.js";
36
+ import To from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
37
+ import yo from "./components/SaveAnExtraCard.es.js";
38
+ import Ro from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
39
+ import Ho from "./components/SavingsOpportunityCard.es.js";
40
+ import Oo from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
41
+ import Eo from "./blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
42
+ import _o from "./components/StatusMessageCard.es.js";
43
+ import xo from "./components/TransactionListCard.es.js";
44
+ import { transactionBlockVariant as Uo } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
45
+ import { TransactionBlock as zo } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
46
+ import jo from "./components/SubscriptionHeroCard.es.js";
47
+ import Jo from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
48
+ import Xo from "./blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
49
+ import Zo from "./components/WithdrawalCard.es.js";
50
+ import or from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
51
+ import tr from "./components/DesignateEmergencySavingsCard.es.js";
52
+ import { SVGImageBlock as ir } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
53
+ import pr from "./components/shared/StatusSnackbar.es.js";
54
+ import fr from "./components/FeedbackDialog.es.js";
55
+ import nr from "./components/FeedbackModal.es.js";
56
+ import sr from "./components/ConnectionDetailDrillDown.es.js";
57
+ import Br from "./components/SurveyModal.es.js";
59
58
  import kr from "./components/InsightErrorCard.es.js";
60
- import { ErrorCard as Dr } from "./components/ErrorCard.es.js";
61
- import Ar from "./components/AmountBreakdownCard.es.js";
62
- import Ir from "./components/BadgedTile.es.js";
63
- import { OverflowMenu as Tr } from "./components/OverflowMenu.es.js";
64
- import { InsightOptionsMenu as yr } from "./components/InsightOptionsMenu.es.js";
65
- import Rr from "./components/StatusBadge.es.js";
66
- import Hr from "./components/CompactInsightCard.es.js";
67
- import { FeedbackBar as Or } from "./components/FeedbackBar.es.js";
68
- import { DismissInsightDialog as Er } from "./components/DismissInsightDialog.es.js";
69
- import { HiddenConfirmationCard as _r } from "./components/HiddenConfirmationCard.es.js";
70
- import { LoadingCard as xr } from "./components/LoadingCard.es.js";
71
- import { ObsolesceBanner as Ur } from "./components/ObsolesceBanner.es.js";
72
- import zr from "./components/BaseLayout.es.js";
59
+ import { ErrorCard as Cr } from "./components/ErrorCard.es.js";
60
+ import Dr from "./components/AmountBreakdownCard.es.js";
61
+ import Ar from "./components/BadgedTile.es.js";
62
+ import { OverflowMenu as Ir } from "./components/OverflowMenu.es.js";
63
+ import { InsightOptionsMenu as Tr } from "./components/InsightOptionsMenu.es.js";
64
+ import yr from "./components/StatusBadge.es.js";
65
+ import Rr from "./components/CompactInsightCard.es.js";
66
+ import { FeedbackBar as Hr } from "./components/FeedbackBar.es.js";
67
+ import { DismissInsightDialog as Or } from "./components/DismissInsightDialog.es.js";
68
+ import { HiddenConfirmationCard as Er } from "./components/HiddenConfirmationCard.es.js";
69
+ import { LoadingCard as _r } from "./components/LoadingCard.es.js";
70
+ import { ObsolesceBanner as xr } from "./components/ObsolesceBanner.es.js";
71
+ import Ur from "./components/BaseLayout.es.js";
73
72
  export {
74
73
  W as AccountBlock,
75
74
  M as AccountHeroCard,
76
75
  q as AccountSwitchBlock,
77
- Ar as AmountBreakdownCard,
78
- Co as AmountPill,
76
+ Dr as AmountBreakdownCard,
77
+ lo as AmountPill,
79
78
  e as BAR_ARIA_LABEL,
80
79
  f as BAR_CHART_VARIANTS,
81
- Ir as BadgedTile,
80
+ Ar as BadgedTile,
82
81
  D as BarchartBlock,
83
- zr as BaseLayout,
82
+ Ur as BaseLayout,
84
83
  K as BudgetBlock,
85
- Hr as CompactInsightCard,
86
- Br as ConnectionDetailDrillDown,
87
- Y as DebtPayoffCard,
88
- mo as DebtsBlock,
89
- ir as DesignateEmergencySavingsCard,
84
+ Rr as CompactInsightCard,
85
+ sr as ConnectionDetailDrillDown,
86
+ $ as DebtsBlock,
87
+ tr as DesignateEmergencySavingsCard,
90
88
  N as DetailedAccountBlock,
91
89
  N as DirectDepositBlock,
92
90
  V as DirectDepositCard,
93
- Er as DismissInsightDialog,
91
+ Or as DismissInsightDialog,
94
92
  T as DonutChartBlock,
95
93
  A as DoubleBarChartBlock,
96
94
  y as DoubleProgressBarBlock,
97
- Dr as ErrorCard,
98
- Or as FeedbackBar,
99
- cr as FeedbackDialog,
100
- sr as FeedbackModal,
101
- ao as GasPurchaseBlock,
102
- eo as GoalProgressCard,
103
- no as GoalsBlock,
95
+ Cr as ErrorCard,
96
+ Hr as FeedbackBar,
97
+ fr as FeedbackDialog,
98
+ nr as FeedbackModal,
99
+ ro as GasPurchaseBlock,
100
+ mo as GoalProgressCard,
101
+ ao as GoalsBlock,
104
102
  d as HOST_ACTIONS,
105
- _r as HiddenConfirmationCard,
103
+ Er as HiddenConfirmationCard,
106
104
  kr as InsightErrorCard,
107
- yr as InsightOptionsMenu,
108
- $ as InsightTransactionRow,
109
- xr as LoadingCard,
110
- Bo as LogoClusterCard,
105
+ Tr as InsightOptionsMenu,
106
+ Y as InsightTransactionRow,
107
+ _r as LoadingCard,
108
+ co as LogoClusterCard,
111
109
  R as LogoFromGuid,
112
- lo as LogoTile,
113
- Ao as MerchantBlock,
114
- ko as MerchantHighlightCard,
115
- Io as NoSpendDaysBlock,
116
- Ur as ObsolesceBanner,
117
- Tr as OverflowMenu,
118
- Do as P2PLogoStack,
119
- To as QuizBlock,
120
- Ro as RepeatingTransactionBlock,
121
- pr as SVGImageBlock,
122
- Ho as SaveAnExtraCard,
123
- Oo as SaveExtraBlock,
124
- _o as SavingsOpportunityBlock,
125
- Eo as SavingsOpportunityCard,
126
- xo as SavingsSummaryBlock,
127
- Rr as StatusBadge,
128
- Uo as StatusMessageCard,
110
+ eo as LogoTile,
111
+ Co as MerchantBlock,
112
+ Bo as MerchantHighlightCard,
113
+ Do as NoSpendDaysBlock,
114
+ xr as ObsolesceBanner,
115
+ Ir as OverflowMenu,
116
+ ko as P2PLogoStack,
117
+ Ao as QuizBlock,
118
+ To as RepeatingTransactionBlock,
119
+ ir as SVGImageBlock,
120
+ yo as SaveAnExtraCard,
121
+ Ro as SaveExtraBlock,
122
+ Oo as SavingsOpportunityBlock,
123
+ Ho as SavingsOpportunityCard,
124
+ Eo as SavingsSummaryBlock,
125
+ yr as StatusBadge,
126
+ _o as StatusMessageCard,
129
127
  r as StatusPill,
130
- fr as StatusSnackbar,
128
+ pr as StatusSnackbar,
131
129
  I as StepChartBlock,
132
- Jo as SubscriptionHeroCard,
133
- Cr as SurveyModal,
134
- jo as TransactionBlock,
135
- ro as TransactionListCard,
130
+ jo as SubscriptionHeroCard,
131
+ Br as SurveyModal,
132
+ zo as TransactionBlock,
133
+ xo as TransactionListCard,
136
134
  Q as TransferLogoCard,
137
- Ro as UpcomingBillBlock,
138
- yo as UpcomingBillCard,
139
- Xo as UpcomingSubscriptionBlock,
140
- Zo as WeeklySmallPurchasesBlock,
141
- tr as WithdrawalBlock,
142
- or as WithdrawalCard,
143
- n as barChartVariant,
144
- c as buildChartData,
135
+ To as UpcomingBillBlock,
136
+ Io as UpcomingBillCard,
137
+ Jo as UpcomingSubscriptionBlock,
138
+ Xo as WeeklySmallPurchasesBlock,
139
+ or as WithdrawalBlock,
140
+ Zo as WithdrawalCard,
141
+ c as barChartVariant,
142
+ n as buildChartData,
145
143
  l as buildDataSeries,
146
144
  G as detailedAccountVariant,
147
145
  _ as directDepositVariant,
@@ -149,8 +147,8 @@ export {
149
147
  w as isLogoGuid,
150
148
  m as resolveInsightRender,
151
149
  u as runInDescriptionCta,
152
- zo as transactionBlockVariant,
150
+ Uo as transactionBlockVariant,
153
151
  a as useBeatActions,
154
152
  g as useBeatCtaActions,
155
- k as useCtaHandler
153
+ C as useCtaHandler
156
154
  };
@@ -11,6 +11,8 @@ export interface TransactionListProps {
11
11
  isRowDisabled?: (t: Transaction) => boolean;
12
12
  loader?: React.JSX.Element;
13
13
  onClick?: (guid: string) => void;
14
+ /** A caption under each row's amount (see TransactionRow); omitted, the amount stands alone. */
15
+ renderAmountCaption?: (transaction: Transaction) => React.ReactNode;
14
16
  /** Replaces each row's category subline (see TransactionRow); omitted, rows show the category. */
15
17
  renderSecondaryText?: (transaction: Transaction) => React.ReactNode;
16
18
  /** Virtualize against the nearest scrolling ancestor instead of an own fixed-height scroll box. */