@mx-cartographer/experiences 9.7.164 → 9.7.166

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 (47) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/dist/core/types/localization/InsightsFeedCopy.d.ts +0 -2
  3. package/dist/insights-v2/actionBlocks/AccountListBlock/AccountListBlock.es.js +34 -37
  4. package/dist/insights-v2/actionBlocks/AccountListBlock/AccountListBlock.es.js.map +1 -1
  5. package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js +40 -37
  6. package/dist/insights-v2/actionBlocks/ActionBlockLayer.es.js.map +1 -1
  7. package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/SaveEnoughToLiveOnBottomSection.es.js +1 -1
  8. package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/SaveEnoughToLiveOnBottomSection.es.js.map +1 -1
  9. package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.d.ts +3 -1
  10. package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js +54 -51
  11. package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js.map +1 -1
  12. package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/index.d.ts +1 -1
  13. package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js +24 -27
  14. package/dist/insights-v2/actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js.map +1 -1
  15. package/dist/insights-v2/actionBlocks/PlaceholderActionBlock.es.js.map +1 -1
  16. package/dist/insights-v2/actionBlocks/RemainingCashBlock/RemainingCashBlock.d.ts +3 -1
  17. package/dist/insights-v2/actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js +49 -46
  18. package/dist/insights-v2/actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js.map +1 -1
  19. package/dist/insights-v2/actionBlocks/RemainingCashBlock/index.d.ts +1 -1
  20. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.d.ts +1 -5
  21. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +53 -58
  22. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
  23. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +92 -99
  24. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
  25. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +1 -3
  26. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +72 -81
  27. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
  28. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.d.ts +5 -6
  29. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.es.js +16 -16
  30. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/useTransactionHistory.es.js.map +1 -1
  31. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.d.ts +4 -32
  32. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js +59 -83
  33. package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js.map +1 -1
  34. package/dist/insights-v2/actionBlocks/useAccountsLoadState.d.ts +3 -0
  35. package/dist/insights-v2/actionBlocks/useAccountsLoadState.es.js +7 -0
  36. package/dist/insights-v2/actionBlocks/useAccountsLoadState.es.js.map +1 -0
  37. package/dist/insights-v2/blocks/ComponentBlocks/AccountSwitchBlock/layout.es.js +8 -7
  38. package/dist/insights-v2/blocks/ComponentBlocks/AccountSwitchBlock/layout.es.js.map +1 -1
  39. package/dist/insights-v2/blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js +1 -1
  40. package/dist/insights-v2/blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js.map +1 -1
  41. package/dist/insights-v2/components/celebrationGradients.d.ts +4 -3
  42. package/dist/insights-v2/components/celebrationGradients.es.js +14 -14
  43. package/dist/insights-v2/components/celebrationGradients.es.js.map +1 -1
  44. package/dist/insights-v2/mappings/blocks.d.ts +6 -0
  45. package/dist/insights-v2/mappings/blocks.es.js +144 -137
  46. package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
  47. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"celebrationGradients.es.js","names":[],"sources":["../../../src/insights-v2/components/celebrationGradients.ts"],"sourcesContent":["import { alpha, type Theme } from '@mui/material/styles'\n\n/**\n * Decorative slot washes shared by the block layouts and the presentational components, so\n * one source holds each gradient. The 20%–25% washes layer over `background.paper` via\n * `backgroundImage`; `DISCOVERED_ACCOUNTS_GRADIENT` and the tile gradients are opaque and stand alone.\n *\n * - WARM_LIME_ACCENT_GRADIENT: merchant categorization and deposit celebration states.\n * - DIRECT_DEPOSIT_COMPLETE_GRADIENT: the direct deposit complete tile.\n * - CELEBRATION_GRADIENT / ACCOUNT_CONNECTED_GRADIENT: balance milestones, account connected.\n * - celebrateGradient(angle): Figma's Celebrate Gradient at any angle.\n * - WARNING_WASH_GRADIENT: a flagged charge (Unexpected Subscription Payment).\n * - ERROR_WASH_GRADIENT: low balance, off-track status.\n * - FEES_WASH_GRADIENT: fees and interest charges.\n * - PRIMARY_TILE_GRADIENTS / SUCCESS_TILE_GRADIENTS: blue and green tiles, per theme mode.\n * - getPrimaryWashGradient(theme): pending connect / detected subscription, from the palette.\n */\n\n/**\n * Warm → lime accent wash at 20% opacity. Used as a tinted background behind\n * merchant categorization highlights and deposit celebration callouts.\n */\nexport const WARM_LIME_ACCENT_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(173, 248, 43, 0.2) 101.54%)'\n\n/**\n * Warm → lime wash at 20% behind the Direct Deposit complete tile (Set Up / Switch Direct Deposit).\n * Figma gives it its own angle and stops, so it does not reuse WARM_LIME_ACCENT_GRADIENT.\n */\nexport const DIRECT_DEPOSIT_COMPLETE_GRADIENT =\n 'linear-gradient(257deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(173, 248, 44, 0.2) 101.54%)'\n\n/** Warm → pink wash behind balance/savings milestones. */\nexport const CELEBRATION_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(255, 128, 229, 0.2) 101.54%)'\n\n/** Figma Celebrate Gradient; its angle varies per slot. */\nexport const celebrateGradient = (angleDeg: number) =>\n `linear-gradient(${angleDeg}deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(255, 129, 230, 0.2) 101.54%)`\n\n/** Peach → pink gradient for Discovered Accounts success state. */\nexport const DISCOVERED_ACCOUNTS_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 224, 153, 1) 1.86%, rgba(255, 129, 230, 1) 101.54%)'\n\n/**\n * Warm → pink wash at 20% opacity for the account-connected success state.\n * Layer over `background.paper` (the Figma spec's `#FFF` base), not the\n * `background` shorthand — a 20% gradient over transparency renders wrong.\n */\nexport const ACCOUNT_CONNECTED_GRADIENT = celebrateGradient(200.73)\n\n/**\n * Orange → red-orange wash at 25% opacity behind a flagged charge (Unexpected Subscription\n * Payment). Figma \"Warning Gradient 1\": a bespoke two-stop blend with no palette token, so it\n * stays a literal like the other washes here rather than being derived from `palette.warning`.\n */\nexport const WARNING_WASH_GRADIENT =\n 'linear-gradient(201deg, rgba(255, 170, 0, 0.25) 1.86%, rgba(255, 68, 0, 0.25) 101.54%)'\n\n/** Red wash at 20%: low balance, off-track status. */\nexport const ERROR_WASH_GRADIENT =\n 'linear-gradient(256.82deg, rgba(255, 47, 40, 0.2) 1.86%, rgba(255, 0, 72, 0.2) 101.54%)'\n\n/** Red → orange wash at 20%: fees and interest charges. */\nexport const FEES_WASH_GRADIENT =\n 'linear-gradient(256.82deg, rgba(227, 39, 39, 0.2) 1.86%, rgba(255, 123, 0, 0.2) 101.54%)'\n\n/** Blue tile, per theme mode (Missing Interest Rate before the rate is added). */\nexport const PRIMARY_TILE_GRADIENTS = {\n light: 'linear-gradient(180deg, #A0B9F8 0%, #2C64EF 100%)',\n dark: 'linear-gradient(180deg, #1F46A7 0%, #6B92F4 100%)',\n} as const\n\n/** Green tile, per theme mode (Missing Interest Rate once the rate is added). */\nexport const SUCCESS_TILE_GRADIENTS = {\n light: 'linear-gradient(180deg, #94C9B7 0%, #12875E 100%)',\n dark: 'linear-gradient(180deg, #0D5F42 0%, #59AB8E 100%)',\n} as const\n\n/**\n * Blue slot wash behind a pending connect / detected-subscription row: `primary.light` →\n * `primary.main` at 75% over paper, built from the live palette so it follows the theme.\n */\nexport const getPrimaryWashGradient = ({ palette }: Theme) =>\n `linear-gradient(173deg, ${alpha(palette.primary.light, 0.75)} 46.41%, ${alpha(palette.primary.main, 0.75)} 78.14%)`\n"],"mappings":";AAsBA,IAAa,IACX,+FAMW,IACX,4FAGW,IACX,gGAGW,IAAA,CAAqB,MAChC,mBAAmB,CAAA,0EAWR,IAA6B,EAAkB,MAAM,GAOrD,IACX,0FAGW,IACX,2FAGW,IACX,4FAGW,IAAyB;AAAA,EACpC,OAAO;AAAA,EACP,MAAM;AACR,GAGa,IAAyB;AAAA,EACpC,OAAO;AAAA,EACP,MAAM;AACR,GAMa,IAAA,CAA0B,EAAE,SAAA,EAAA,MACvC,2BAA2B,EAAM,EAAQ,QAAQ,OAAO,IAAI,CAAA,YAAa,EAAM,EAAQ,QAAQ,MAAM,IAAI,CAAA"}
1
+ {"version":3,"file":"celebrationGradients.es.js","names":[],"sources":["../../../src/insights-v2/components/celebrationGradients.ts"],"sourcesContent":["import { alpha, type Theme } from '@mui/material/styles'\n\n/**\n * Decorative slot washes shared by the block layouts and the presentational components, so\n * one source holds each gradient. The 20%–25% washes layer over `background.paper` via\n * `backgroundImage`; `DISCOVERED_ACCOUNTS_GRADIENT` and the tile gradients are opaque and stand alone.\n *\n * - WARM_LIME_ACCENT_GRADIENT: merchant categorization and deposit celebration states.\n * - DIRECT_DEPOSIT_COMPLETE_GRADIENT: the direct deposit complete tile.\n * - CELEBRATION_GRADIENT / ACCOUNT_CONNECTED_GRADIENT: balance milestones, account connected.\n * - celebrateGradient(angle): Figma's Celebrate Gradient at any angle.\n * - WARNING_WASH_GRADIENT: a flagged charge (Unexpected Subscription Payment).\n * - ERROR_WASH_GRADIENT: low balance, off-track status.\n * - FEES_WASH_GRADIENT: fees and interest charges.\n * - PRIMARY_TILE_GRADIENTS / SUCCESS_TILE_GRADIENTS: blue and green tiles, per theme mode.\n * - getPrimaryWashGradient(theme, angle?): pending connect / detected subscription, from the palette.\n */\n\n/**\n * Warm → lime accent wash at 20% opacity. Used as a tinted background behind\n * merchant categorization highlights and deposit celebration callouts.\n */\nexport const WARM_LIME_ACCENT_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(173, 248, 43, 0.2) 101.54%)'\n\n/**\n * Warm → lime wash at 20% behind the Direct Deposit complete tile (Set Up / Switch Direct Deposit).\n * Figma gives it its own angle and stops, so it does not reuse WARM_LIME_ACCENT_GRADIENT.\n */\nexport const DIRECT_DEPOSIT_COMPLETE_GRADIENT =\n 'linear-gradient(257deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(173, 248, 44, 0.2) 101.54%)'\n\n/** Warm → pink wash behind balance/savings milestones. */\nexport const CELEBRATION_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 223, 152, 0.2) 1.86%, rgba(255, 128, 229, 0.2) 101.54%)'\n\n/** Figma Celebrate Gradient; its angle varies per slot. */\nexport const celebrateGradient = (angleDeg: number) =>\n `linear-gradient(${angleDeg}deg, rgba(255, 224, 153, 0.2) 1.86%, rgba(255, 129, 230, 0.2) 101.54%)`\n\n/** Peach → pink gradient for Discovered Accounts success state. */\nexport const DISCOVERED_ACCOUNTS_GRADIENT =\n 'linear-gradient(200.73deg, rgba(255, 224, 153, 1) 1.86%, rgba(255, 129, 230, 1) 101.54%)'\n\n/**\n * Warm → pink wash at 20% opacity for the account-connected success state.\n * Layer over `background.paper` (the Figma spec's `#FFF` base), not the\n * `background` shorthand — a 20% gradient over transparency renders wrong.\n */\nexport const ACCOUNT_CONNECTED_GRADIENT = celebrateGradient(200.73)\n\n/**\n * Orange → red-orange wash at 25% opacity behind a flagged charge (Unexpected Subscription\n * Payment). Figma \"Warning Gradient 1\": a bespoke two-stop blend with no palette token, so it\n * stays a literal like the other washes here rather than being derived from `palette.warning`.\n */\nexport const WARNING_WASH_GRADIENT =\n 'linear-gradient(201deg, rgba(255, 170, 0, 0.25) 1.86%, rgba(255, 68, 0, 0.25) 101.54%)'\n\n/** Red wash at 20%: low balance, off-track status. */\nexport const ERROR_WASH_GRADIENT =\n 'linear-gradient(256.82deg, rgba(255, 47, 40, 0.2) 1.86%, rgba(255, 0, 72, 0.2) 101.54%)'\n\n/** Red → orange wash at 20%: fees and interest charges. */\nexport const FEES_WASH_GRADIENT =\n 'linear-gradient(256.82deg, rgba(227, 39, 39, 0.2) 1.86%, rgba(255, 123, 0, 0.2) 101.54%)'\n\n/** Blue tile, per theme mode (Missing Interest Rate before the rate is added). */\nexport const PRIMARY_TILE_GRADIENTS = {\n light: 'linear-gradient(180deg, #A0B9F8 0%, #2C64EF 100%)',\n dark: 'linear-gradient(180deg, #1F46A7 0%, #6B92F4 100%)',\n} as const\n\n/** Green tile, per theme mode (Missing Interest Rate once the rate is added). */\nexport const SUCCESS_TILE_GRADIENTS = {\n light: 'linear-gradient(180deg, #94C9B7 0%, #12875E 100%)',\n dark: 'linear-gradient(180deg, #0D5F42 0%, #59AB8E 100%)',\n} as const\n\n/**\n * Blue slot wash behind a pending connect / detected-subscription row: `primary.light` →\n * `primary.main` at 75% over paper, built from the live palette so it follows the theme. Figma's\n * angle follows the slot's shape, so a slot passes its own.\n */\nexport const getPrimaryWashGradient = ({ palette }: Theme, angleDeg = 173) =>\n `linear-gradient(${angleDeg}deg, ${alpha(palette.primary.light, 0.75)} 46.41%, ${alpha(palette.primary.main, 0.75)} 78.14%)`\n"],"mappings":";AAsBA,IAAa,IACX,+FAMW,IACX,4FAGW,IACX,gGAGW,IAAA,CAAqB,MAChC,mBAAmB,CAAA,0EAWR,IAA6B,EAAkB,MAAM,GAOrD,IACX,0FAGW,IACX,2FAGW,IACX,4FAGW,IAAyB;AAAA,EACpC,OAAO;AAAA,EACP,MAAM;AACR,GAGa,IAAyB;AAAA,EACpC,OAAO;AAAA,EACP,MAAM;AACR,GAOa,IAAA,CAA0B,EAAE,SAAA,EAAA,GAAkB,IAAW,QACpE,mBAAmB,CAAA,QAAgB,EAAM,EAAQ,QAAQ,OAAO,IAAI,CAAA,YAAa,EAAM,EAAQ,QAAQ,MAAM,IAAI,CAAA"}
@@ -3,9 +3,15 @@ export interface ActionBlockProps {
3
3
  beat: Beat;
4
4
  }
5
5
  export { hasDrawerBlock } from './hasDrawerBlock';
6
+ export interface BlockLoadState {
7
+ ready: boolean;
8
+ failed?: boolean;
9
+ retry?: () => void;
10
+ }
6
11
  export interface ActionBlockEntry {
7
12
  Component: React.ComponentType<ActionBlockProps>;
8
13
  usePrepare: (props: ActionBlockProps) => void;
14
+ useLoadState?: (props: ActionBlockProps) => BlockLoadState;
9
15
  title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string;
10
16
  copy?: (copy: GlobalCopy) => unknown;
11
17
  presentation?: 'drawer' | 'modal';
@@ -1,68 +1,69 @@
1
- import { buildDynamicCopy as f } from "../../core/utils/Localization.es.js";
2
- import { ContactSupportActionBlock as k } from "../actionBlocks/ContactSupportActionBlock.es.js";
3
- import { resolveBudgetSubject as A } from "../actionBlocks/BudgetDetailsBlock/layout.es.js";
4
- import { hasDrawerBlock as ho } from "./hasDrawerBlock.es.js";
1
+ import { buildDynamicCopy as k } from "../../core/utils/Localization.es.js";
2
+ import { ContactSupportActionBlock as A } from "../actionBlocks/ContactSupportActionBlock.es.js";
3
+ import { resolveBudgetSubject as T } from "../actionBlocks/BudgetDetailsBlock/layout.es.js";
4
+ import { hasDrawerBlock as Ro } from "./hasDrawerBlock.es.js";
5
5
  import { actionBlocksKey as t } from "./actionBlocksKey.es.js";
6
- import { BarchartBlock as T } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
7
- import { DoubleBarChartBlock as O } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
8
- import d from "../blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
9
- import g from "../blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
6
+ import { BarchartBlock as O } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
7
+ import { DoubleBarChartBlock as d } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
8
+ import g from "../blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
9
+ import L from "../blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
10
10
  import P from "../blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
11
11
  import I from "../blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
12
12
  import N from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
13
- import y from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
14
- import { BudgetBlock as b } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
15
- import L from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
16
- import S from "../blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
17
- import D from "../blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
18
- import h from "../blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
19
- import E from "../blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
20
- import K from "../blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
13
+ import S from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
14
+ import { BudgetBlock as y } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
15
+ import b from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
16
+ import D from "../blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
17
+ import h from "../blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
18
+ import E from "../blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
19
+ import K from "../blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
20
+ import R from "../blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
21
21
  import p from "../blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
22
22
  import v from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
23
- import R from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
24
- import M from "../blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
25
- import { TransactionBlock as U } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
26
- import w from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
27
- import G from "../blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
28
- import H from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
29
- import F from "../blocks/ImageBlocks/ImageBlock.es.js";
30
- import { SVGImageBlock as z } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
31
- import { FeedbackModalActionBlock as Y } from "../actionBlocks/FeedbackModalActionBlock.es.js";
32
- import { ConnectionDetailActionBlock as x } from "../actionBlocks/ConnectionDetailActionBlock.es.js";
33
- import { ConnectWidgetActionBlock as V } from "../actionBlocks/ConnectWidgetActionBlock.es.js";
34
- import { getDrawerHeaderTitle as W } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
35
- import { SurveyModalActionBlock as q } from "../actionBlocks/SurveyModalActionBlock.es.js";
36
- import { SubscriptionStatusModalBlock as Q } from "../actionBlocks/SubscriptionStatusModalBlock.es.js";
37
- import { PlaceholderActionBlock as j } from "../actionBlocks/PlaceholderActionBlock.es.js";
38
- import { getMakeTransferDrawerTitle as Z } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
39
- import { MakeTransferActionBlockLayer as J } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
40
- import { TransactionDetailsBlock as X } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
23
+ import M from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
24
+ import U from "../blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
25
+ import { TransactionBlock as w } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
26
+ import G from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
27
+ import H from "../blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
28
+ import F from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
29
+ import z from "../blocks/ImageBlocks/ImageBlock.es.js";
30
+ import { SVGImageBlock as Y } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
31
+ import { FeedbackModalActionBlock as x } from "../actionBlocks/FeedbackModalActionBlock.es.js";
32
+ import { ConnectionDetailActionBlock as V } from "../actionBlocks/ConnectionDetailActionBlock.es.js";
33
+ import { ConnectWidgetActionBlock as W } from "../actionBlocks/ConnectWidgetActionBlock.es.js";
34
+ import { getDrawerHeaderTitle as q } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
35
+ import { SurveyModalActionBlock as Q } from "../actionBlocks/SurveyModalActionBlock.es.js";
36
+ import { SubscriptionStatusModalBlock as j } from "../actionBlocks/SubscriptionStatusModalBlock.es.js";
37
+ import { PlaceholderActionBlock as Z } from "../actionBlocks/PlaceholderActionBlock.es.js";
38
+ import { getMakeTransferDrawerTitle as J } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
39
+ import { MakeTransferActionBlockLayer as X } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
40
+ import { TransactionDetailsBlock as $ } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
41
41
  import { useTransactionDetailsPrepare as n } from "../actionBlocks/TransactionDetailsBlock/useTransactionDetailsPrepare.es.js";
42
- import { TransactionHistoryBlock as $, selectTransactionHistoryCopy as oo } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
43
- import { useTransactionHistoryPrepare as to } from "../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js";
42
+ import { TransactionHistoryBlock as oo, selectTransactionHistoryCopy as to } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
43
+ import { useTransactionHistoryPrepare as eo } from "../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js";
44
44
  import { useRecurringTransactionPrepare as l } from "../actionBlocks/RecurringTransactionBlock/useRecurringTransactionPrepare.es.js";
45
- import { RecurringTransactionBlock as eo } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
46
- import { HelpBlock as ro } from "../actionBlocks/HelpBlock/HelpBlock.es.js";
45
+ import { RecurringTransactionBlock as ro } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
46
+ import { HelpBlock as ao } from "../actionBlocks/HelpBlock/HelpBlock.es.js";
47
47
  import { getTransactionListDrawerTitle as io } from "../actionBlocks/TransactionListBlock/layout.es.js";
48
- import { TransactionListBlock as ao } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
49
- import { RemainingCashBlock as no, selectRemainingCashCopy as m } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
48
+ import { TransactionListBlock as no } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
49
+ import { RemainingCashBlock as co, selectRemainingCashCopy as m, useRemainingCashLoadState as po } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
50
50
  import { AmountInputModalBlock as s } from "../actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js";
51
- import { OverdraftBlock as co, selectOverdraftCopy as po, useOverdraftPrepare as lo } from "../actionBlocks/OverdraftBlock/OverdraftBlock.es.js";
52
- import { AccountDetailsBlock as mo } from "../actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js";
53
- import { useAccountDetailsPrepare as so } from "../actionBlocks/AccountDetailsBlock/useAccountDetailsPrepare.es.js";
54
- import { AccountListBlock as _o, selectAccountListCopy as _ } from "../actionBlocks/AccountListBlock/AccountListBlock.es.js";
55
- import { useAccountListPrepare as Co } from "../actionBlocks/AccountListBlock/useAccountListPrepare.es.js";
56
- import { EmergencySavingsBlock as uo, selectEmergencySavingsCopy as Bo } from "../actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js";
57
- import { CreditUtilizationBlock as fo, selectCreditUtilizationCopy as C } from "../actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js";
58
- import { useCreditUtilizationPrepare as ko } from "../actionBlocks/CreditUtilizationBlock/useCreditUtilizationPrepare.es.js";
59
- import { PayoffCalculatorBlock as Ao, selectPayoffCalculatorCopy as u, usePayoffCalculatorPrepare as To } from "../actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js";
60
- import { BudgetDetailsBlock as Oo, selectBudgetDetailsCopy as go } from "../actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js";
61
- import { useBudgetDetailsPrepare as Po } from "../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js";
62
- import { PayoffStrategiesBlock as Io, selectPayoffStrategiesCopy as B } from "../actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js";
63
- import { usePayoffStrategiesPrepare as No } from "../actionBlocks/PayoffStrategiesBlock/usePayoffStrategiesPrepare.es.js";
64
- import { QuizMerchantBlock as yo } from "../actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js";
65
- var i = (r) => {
51
+ import { OverdraftBlock as lo, selectOverdraftCopy as mo, useOverdraftPrepare as so } from "../actionBlocks/OverdraftBlock/OverdraftBlock.es.js";
52
+ import { AccountDetailsBlock as _o } from "../actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js";
53
+ import { useAccountDetailsPrepare as Co } from "../actionBlocks/AccountDetailsBlock/useAccountDetailsPrepare.es.js";
54
+ import { AccountListBlock as uo, selectAccountListCopy as _ } from "../actionBlocks/AccountListBlock/AccountListBlock.es.js";
55
+ import { useAccountListPrepare as fo } from "../actionBlocks/AccountListBlock/useAccountListPrepare.es.js";
56
+ import { EmergencySavingsBlock as Bo, selectEmergencySavingsCopy as ko } from "../actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js";
57
+ import { CreditUtilizationBlock as Ao, selectCreditUtilizationCopy as C } from "../actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js";
58
+ import { useCreditUtilizationPrepare as To } from "../actionBlocks/CreditUtilizationBlock/useCreditUtilizationPrepare.es.js";
59
+ import { PayoffCalculatorBlock as Oo, selectPayoffCalculatorCopy as u, usePayoffCalculatorLoadState as go, usePayoffCalculatorPrepare as Lo } from "../actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js";
60
+ import { BudgetDetailsBlock as Po, selectBudgetDetailsCopy as Io } from "../actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js";
61
+ import { useBudgetDetailsPrepare as No } from "../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js";
62
+ import { PayoffStrategiesBlock as So, selectPayoffStrategiesCopy as f } from "../actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js";
63
+ import { usePayoffStrategiesPrepare as yo } from "../actionBlocks/PayoffStrategiesBlock/usePayoffStrategiesPrepare.es.js";
64
+ import { QuizMerchantBlock as bo } from "../actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js";
65
+ import { useAccountsLoadState as B } from "../actionBlocks/useAccountsLoadState.es.js";
66
+ var a = (r) => {
66
67
  }, e = (r) => ({
67
68
  get Component() {
68
69
  return r().Component;
@@ -70,6 +71,9 @@ var i = (r) => {
70
71
  get usePrepare() {
71
72
  return r().usePrepare;
72
73
  },
74
+ get useLoadState() {
75
+ return r().useLoadState;
76
+ },
73
77
  get title() {
74
78
  return r().title;
75
79
  },
@@ -82,176 +86,179 @@ var i = (r) => {
82
86
  get headerAction() {
83
87
  return r().headerAction;
84
88
  }
85
- }), wt = {
89
+ }), zt = {
86
90
  [t.PLACEHOLDER_ACTION_BLOCK]: e(() => ({
87
- Component: j,
88
- usePrepare: i,
91
+ Component: Z,
92
+ usePrepare: a,
89
93
  title: () => "Action Block Layer Drilldown"
90
94
  })),
91
95
  [t.MAKE_TRANSFER_ACTION_BLOCK]: e(() => ({
92
- Component: J,
93
- headerAction: "close",
94
- usePrepare: i,
95
- title: Z
96
+ Component: X,
97
+ usePrepare: a,
98
+ title: J
96
99
  })),
97
100
  [t.TRANSCATION_HISTORY_ACTION_BLOCK]: e(() => ({
98
- Component: $,
99
- copy: oo,
100
- usePrepare: to,
101
- title: W
101
+ Component: oo,
102
+ copy: to,
103
+ usePrepare: eo,
104
+ title: q
102
105
  })),
103
106
  [t.TRANSACTION_DETAILS_ACTION_BLOCK]: e(() => ({
104
- Component: X,
107
+ Component: $,
105
108
  usePrepare: n,
106
109
  title: () => "Transaction Details"
107
110
  })),
108
111
  [t.RECURRING_TRANSACTION_ACTION_BLOCK]: e(() => ({
109
- Component: eo,
112
+ Component: ro,
110
113
  usePrepare: l,
111
114
  title: (r, o) => o.recurring?.expense_details ?? ""
112
115
  })),
113
116
  [t.REMAINING_CASH_ACTION_BLOCK]: e(() => ({
114
- Component: no,
117
+ Component: co,
115
118
  copy: m,
116
119
  usePrepare: l,
120
+ useLoadState: po,
117
121
  title: (r, o) => m(o)?.title ?? ""
118
122
  })),
119
123
  [t.CONTACT_SUPPORT_ACTION_BLOCK]: e(() => ({
120
- Component: k,
121
- usePrepare: i,
124
+ Component: A,
125
+ usePrepare: a,
122
126
  title: (r, o) => o.help?.request_support ?? ""
123
127
  })),
124
128
  [t.FEEDBACK_MODAL_ACTION_BLOCK]: e(() => ({
125
- Component: Y,
126
- usePrepare: i,
129
+ Component: x,
130
+ usePrepare: a,
127
131
  presentation: "modal"
128
132
  })),
129
133
  [t.CONNECTION_DETAIL_ACTION_BLOCK]: e(() => ({
130
- Component: x,
131
- usePrepare: i,
134
+ Component: V,
135
+ usePrepare: a,
132
136
  title: (r, o) => o.insights_feed?.connection_details?.connection_details_drawer_title ?? ""
133
137
  })),
134
138
  [t.CONNECT_WIDGET_ACTION_BLOCK]: e(() => ({
135
- Component: V,
136
- usePrepare: i
139
+ Component: W,
140
+ usePrepare: a
137
141
  })),
138
142
  [t.SURVEY_MODAL_ACTION_BLOCK]: e(() => ({
139
- Component: q,
140
- usePrepare: i,
143
+ Component: Q,
144
+ usePrepare: a,
141
145
  presentation: "modal"
142
146
  })),
143
147
  [t.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: e(() => ({
144
- Component: Q,
145
- usePrepare: i,
148
+ Component: j,
149
+ usePrepare: a,
146
150
  presentation: "modal"
147
151
  })),
148
152
  [t.TRANSACTION_LIST_ACTION_BLOCK]: e(() => ({
149
- Component: ao,
153
+ Component: no,
150
154
  usePrepare: n,
151
155
  title: io
152
156
  })),
153
157
  [t.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: e(() => ({
154
158
  Component: s,
155
159
  presentation: "modal",
156
- usePrepare: i
160
+ usePrepare: a
157
161
  })),
158
162
  [t.SAFETY_NET_ACTION_BLOCK]: e(() => ({
159
163
  Component: s,
160
164
  presentation: "modal",
161
- usePrepare: i
165
+ usePrepare: a
162
166
  })),
163
167
  [t.OVERDRAFT_ACTION_BLOCK]: e(() => ({
164
- Component: co,
165
- copy: po,
166
- usePrepare: lo,
167
- title: (r, o, a) => a?.insights_payload?.title ?? ""
168
+ Component: lo,
169
+ copy: mo,
170
+ usePrepare: so,
171
+ title: (r, o, i) => i?.insights_payload?.title ?? ""
168
172
  })),
169
173
  [t.CREDIT_UTILIZATION_ACTION_BLOCK]: e(() => ({
170
- Component: fo,
174
+ Component: Ao,
171
175
  copy: C,
172
- usePrepare: ko,
176
+ usePrepare: To,
173
177
  title: (r, o) => C(o)?.title ?? ""
174
178
  })),
175
179
  [t.EMERGENCY_SAVINGS_ACTION_BLOCK]: e(() => ({
176
- Component: uo,
177
- copy: Bo,
178
- usePrepare: i,
179
- title: (r, o, a) => a?.insights_payload?.title ?? ""
180
+ Component: Bo,
181
+ copy: ko,
182
+ usePrepare: a,
183
+ title: (r, o, i) => i?.insights_payload?.title ?? ""
180
184
  })),
181
185
  [t.PAYOFF_CALCULATOR_ACTION_BLOCK]: e(() => ({
182
- Component: Ao,
186
+ Component: Oo,
183
187
  copy: u,
184
- usePrepare: To,
188
+ usePrepare: Lo,
189
+ useLoadState: go,
185
190
  title: (r, o) => u(o)?.title ?? ""
186
191
  })),
187
192
  [t.BUDGET_DETAILS_ACTION_BLOCK]: e(() => ({
188
- Component: Oo,
189
- copy: go,
193
+ Component: Po,
194
+ copy: Io,
190
195
  headerAction: "close",
191
- usePrepare: Po,
192
- title: (r, o, a) => {
193
- const c = a ? A(r, a, o) : void 0;
194
- return c && o.budgets?.details_type_title ? f(o.budgets.details_type_title, c) : a?.insights_payload?.title || o.budgets?.details_title || "";
196
+ usePrepare: No,
197
+ title: (r, o, i) => {
198
+ const c = i ? T(r, i, o) : void 0;
199
+ return c && o.budgets?.details_type_title ? k(o.budgets.details_type_title, c) : i?.insights_payload?.title || o.budgets?.details_title || "";
195
200
  }
196
201
  })),
197
202
  [t.ACCOUNT_DETAILS_ACTION_BLOCK]: e(() => ({
198
- Component: mo,
199
- usePrepare: so,
203
+ Component: _o,
204
+ usePrepare: Co,
200
205
  title: (r, o) => o.accounts?.account_details ?? ""
201
206
  })),
202
207
  [t.ACCOUNT_LIST_ACTION_BLOCK]: e(() => ({
203
- Component: _o,
208
+ Component: uo,
204
209
  copy: _,
205
- usePrepare: Co,
210
+ usePrepare: fo,
211
+ useLoadState: B,
206
212
  title: (r, o) => _(o)?.title ?? ""
207
213
  })),
208
214
  [t.HELP_ACTION_BLOCK]: e(() => ({
209
- Component: ro,
210
- usePrepare: i
215
+ Component: ao,
216
+ usePrepare: a
211
217
  })),
212
218
  [t.PAYOFF_STRATEGIES_ACTION_BLOCK]: e(() => ({
213
- Component: Io,
214
- copy: B,
215
- usePrepare: No,
216
- title: (r, o) => B(o)?.debt_payoff_strategies ?? ""
219
+ Component: So,
220
+ copy: f,
221
+ usePrepare: yo,
222
+ useLoadState: B,
223
+ title: (r, o) => f(o)?.debt_payoff_strategies ?? ""
217
224
  })),
218
225
  [t.QUIZ_MERCHANT_ACTION_BLOCK]: e(() => ({
219
- Component: yo,
226
+ Component: bo,
220
227
  usePrepare: n,
221
228
  title: (r, o) => o.insights_feed?.quiz_block?.drawer_title ?? ""
222
229
  }))
223
- }, Gt = {
230
+ }, Yt = {
224
231
  account_block: N,
225
- account_switch_block: y,
232
+ account_switch_block: S,
226
233
  direct_deposit_block: I,
227
- bar_chart_block: T,
228
- budget_block: b,
229
- debts_block: L,
230
- donut_chart_block: g,
231
- double_bar_chart_block: O,
234
+ bar_chart_block: O,
235
+ budget_block: y,
236
+ debts_block: b,
237
+ donut_chart_block: L,
238
+ double_bar_chart_block: d,
232
239
  double_progress_bar_block: P,
233
- gas_purchase_block: S,
234
- goals_block: D,
235
- image_block: F,
236
- merchant_block: h,
237
- no_spend_days_block: E,
238
- quiz_block: K,
240
+ gas_purchase_block: D,
241
+ goals_block: h,
242
+ image_block: z,
243
+ merchant_block: E,
244
+ no_spend_days_block: K,
245
+ quiz_block: R,
239
246
  repeating_transaction_block: p,
240
247
  save_extra_block: v,
241
- savings_amount_block: R,
242
- savings_summary_block: M,
243
- step_chart_block: d,
244
- svg_image_block: z,
248
+ savings_amount_block: M,
249
+ savings_summary_block: U,
250
+ step_chart_block: g,
251
+ svg_image_block: Y,
245
252
  upcoming_bill_block: p,
246
- upcoming_subscription_block: w,
247
- weekly_small_purchases_block: G,
248
- withdrawal_block: H,
249
- transaction_block: U
253
+ upcoming_subscription_block: G,
254
+ weekly_small_purchases_block: H,
255
+ withdrawal_block: F,
256
+ transaction_block: w
250
257
  };
251
258
  export {
252
- wt as actionBlocks,
253
- Gt as blocks,
254
- ho as hasDrawerBlock
259
+ zt as actionBlocks,
260
+ Yt as blocks,
261
+ Ro as hasDrawerBlock
255
262
  };
256
263
 
257
264
  //# sourceMappingURL=blocks.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"blocks.es.js","names":[],"sources":["../../../src/insights-v2/mappings/blocks.ts"],"sourcesContent":["import {\n AccountBlock,\n AccountSwitchBlock,\n BarchartBlock,\n BudgetBlock,\n DebtsBlock,\n DetailedAccountBlock,\n DonutChartBlock,\n GasPurchaseBlock,\n GoalsBlock,\n MerchantBlock,\n DoubleBarChartBlock,\n DoubleProgressBarBlock,\n NoSpendDaysBlock,\n QuizBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SavingsSummaryBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\n WeeklySmallPurchasesBlock,\n WithdrawalBlock,\n TransactionBlock,\n} from '../blocks'\nimport StepChartBlock from '../blocks/ChartBlocks/StepChartBlock'\nimport ImageBlock from '../blocks/ImageBlocks/ImageBlock'\n\nimport type { Beat, GlobalCopy, InsightsPayload } from '../../core'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\nimport { ContactSupportActionBlock } from '../actionBlocks/ContactSupportActionBlock'\nimport { FeedbackModalActionBlock } from '../actionBlocks/FeedbackModalActionBlock'\nimport { ConnectionDetailActionBlock } from '../actionBlocks/ConnectionDetailActionBlock'\nimport { ConnectWidgetActionBlock } from '../actionBlocks/ConnectWidgetActionBlock'\nimport { SurveyModalActionBlock } from '../actionBlocks/SurveyModalActionBlock'\nimport { SubscriptionStatusModalBlock } from '../actionBlocks/SubscriptionStatusModalBlock'\nimport { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport {\n selectTransactionHistoryCopy,\n TransactionHistoryBlock,\n} from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport { useTransactionHistoryPrepare } from '../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { getTransactionListDrawerTitle } from '../actionBlocks/TransactionListBlock/layout'\nimport { RemainingCashBlock, selectRemainingCashCopy } from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\nimport {\n OverdraftBlock,\n selectOverdraftCopy,\n useOverdraftPrepare,\n} from '../actionBlocks/OverdraftBlock'\nimport {\n AccountListBlock,\n selectAccountListCopy,\n useAccountListPrepare,\n} from '../actionBlocks/AccountListBlock'\nimport {\n EmergencySavingsBlock,\n selectEmergencySavingsCopy,\n} from '../actionBlocks/EmergencySavingsBlock'\nimport {\n CreditUtilizationBlock,\n selectCreditUtilizationCopy,\n useCreditUtilizationPrepare,\n} from '../actionBlocks/CreditUtilizationBlock'\nimport {\n PayoffCalculatorBlock,\n selectPayoffCalculatorCopy,\n usePayoffCalculatorPrepare,\n} from '../actionBlocks/PayoffCalculatorBlock'\nimport { BudgetDetailsBlock, selectBudgetDetailsCopy } from '../actionBlocks/BudgetDetailsBlock'\nimport { useBudgetDetailsPrepare } from '../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare'\nimport { resolveBudgetSubject } from '../actionBlocks/BudgetDetailsBlock/layout'\nimport { AccountDetailsBlock, useAccountDetailsPrepare } from '../actionBlocks/AccountDetailsBlock'\nimport { HelpBlock } from '../actionBlocks/HelpBlock'\nimport {\n PayoffStrategiesBlock,\n selectPayoffStrategiesCopy,\n usePayoffStrategiesPrepare,\n} from '../actionBlocks/PayoffStrategiesBlock'\nimport { QuizMerchantBlock } from '../actionBlocks/QuizMerchantBlock'\n// Keys live in ./actionBlocksKey (imported directly by chart blocks/tests too) to avoid a\n// circular import between this module and the chart blocks — see that file for details.\nimport { actionBlocksKey } from './actionBlocksKey'\n\n// Drilldown indexes are not passed down: action blocks read them from\n// InsightsV2Store (useInsightsV2Store().actionDrawer).\nexport interface ActionBlockProps {\n beat: Beat\n}\n\nconst noop = (_: ActionBlockProps) => {}\n\n// Re-exported so existing `hasDrawerBlock` imports from this module keep working.\nexport { hasDrawerBlock } from './hasDrawerBlock'\n\nexport interface ActionBlockEntry {\n Component: React.ComponentType<ActionBlockProps>\n usePrepare: (props: ActionBlockProps) => void // required; default to noop in each entry\n // Drawer title from the CTA's variant and copy; falls back to the CTA label when empty.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // The copy section a drawer block needs; the layer shows BlockErrorMessage without it.\n copy?: (copy: GlobalCopy) => unknown\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\n // The drawer header's close control: 'back' (default, arrow on the left) or 'close' (X on the right).\n headerAction?: 'back' | 'close'\n}\n\n// Registry of drawer drilldowns, keyed by the `block` name the backend sends Add\n// `usePrepare` when the block needs to load data before rendering.\n\n/**\n * Reads its imports on access, not at load: some blocks import this registry back through\n * `ActionBlockLayer`, so a value copied at load would still be `undefined`.\n */\nconst liveEntry = (resolve: () => ActionBlockEntry): ActionBlockEntry => ({\n get Component() {\n return resolve().Component\n },\n get usePrepare() {\n return resolve().usePrepare\n },\n get title() {\n return resolve().title\n },\n get copy() {\n return resolve().copy\n },\n get presentation() {\n return resolve().presentation\n },\n get headerAction() {\n return resolve().headerAction\n },\n})\n\nexport const actionBlocks = {\n [actionBlocksKey.PLACEHOLDER_ACTION_BLOCK]: liveEntry(() => ({\n Component: PlaceholderActionBlock,\n usePrepare: noop,\n title: () => 'Action Block Layer Drilldown',\n })),\n [actionBlocksKey.MAKE_TRANSFER_ACTION_BLOCK]: liveEntry(() => ({\n Component: MakeTransferActionBlockLayer,\n headerAction: 'close',\n usePrepare: noop,\n title: getMakeTransferDrawerTitle,\n })),\n [actionBlocksKey.TRANSCATION_HISTORY_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionHistoryBlock,\n copy: selectTransactionHistoryCopy,\n usePrepare: useTransactionHistoryPrepare,\n title: getDrawerHeaderTitle,\n })),\n [actionBlocksKey.TRANSACTION_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionDetailsBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: () => 'Transaction Details',\n })),\n // Expense Details for one recurring subscription. Which subscription a beat names is resolved in\n // `RecurringTransactionBlock/subscriptionBeats.ts`, not through this registry.\n [actionBlocksKey.RECURRING_TRANSACTION_ACTION_BLOCK]: liveEntry(() => ({\n Component: RecurringTransactionBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.recurring?.expense_details ?? '',\n })),\n // Remaining Cash for the Payday Cash Left Over Status beat. Store-driven: reuses the recurring\n // loader, which also loads accounts and categories, so CashflowStore's computeds are ready.\n [actionBlocksKey.REMAINING_CASH_ACTION_BLOCK]: liveEntry(() => ({\n Component: RemainingCashBlock,\n copy: selectRemainingCashCopy,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => selectRemainingCashCopy(copy)?.title ?? '',\n })),\n // The block renders its own drawer (the help module's RequestSupport) on top of the action\n // drawer, so the action drawer's title is the CTA label.\n [actionBlocksKey.CONTACT_SUPPORT_ACTION_BLOCK]: liveEntry(() => ({\n Component: ContactSupportActionBlock,\n usePrepare: noop,\n title: (_variant, copy) => copy.help?.request_support ?? '',\n })),\n [actionBlocksKey.FEEDBACK_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: FeedbackModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.CONNECTION_DETAIL_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectionDetailActionBlock,\n usePrepare: noop,\n title: (_variant, copy) =>\n copy.insights_feed?.connection_details?.connection_details_drawer_title ?? '',\n })),\n // Boots MX's Connect widget (web-widget-sdk iframe) inside the action\n // drawer; the drawer title falls back to the CTA label.\n [actionBlocksKey.CONNECT_WIDGET_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectWidgetActionBlock,\n usePrepare: noop,\n })),\n [actionBlocksKey.SURVEY_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SurveyModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n // Unexpected Subscription Payment's Subscription Status modal.\n [actionBlocksKey.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SubscriptionStatusModalBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: getTransactionListDrawerTitle,\n })),\n // One whole-dollar setting in a dialog; the CTA variant picks which (low-balance threshold or\n // safety net). A modal: no drawer, so no drawer title.\n [actionBlocksKey.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n // Loads inside the block: it mounts only while open, so mounting is the open-time load.\n usePrepare: noop,\n })),\n // Savings Opportunity's safety net: `safety_net_block` opens the amount-input modal.\n [actionBlocksKey.SAFETY_NET_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n usePrepare: noop,\n })),\n // Transparent Overdraft's \"Learn more\": the projected overdraft, its account and the confidence\n // meter. Titled from the beat, as the pulse drawer was.\n [actionBlocksKey.OVERDRAFT_ACTION_BLOCK]: liveEntry(() => ({\n Component: OverdraftBlock,\n copy: selectOverdraftCopy,\n usePrepare: useOverdraftPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Credit Utilization's \"Learn more\": the explanation, the band legend and the per-card list.\n [actionBlocksKey.CREDIT_UTILIZATION_ACTION_BLOCK]: liveEntry(() => ({\n Component: CreditUtilizationBlock,\n copy: selectCreditUtilizationCopy,\n usePrepare: useCreditUtilizationPrepare,\n title: (_variant, copy) => selectCreditUtilizationCopy(copy)?.title ?? '',\n })),\n [actionBlocksKey.EMERGENCY_SAVINGS_ACTION_BLOCK]: liveEntry(() => ({\n Component: EmergencySavingsBlock,\n copy: selectEmergencySavingsCopy,\n usePrepare: noop,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Monthly Credit Card Interest Summary's \"Learn how to save\": the credit card payoff calculator.\n [actionBlocksKey.PAYOFF_CALCULATOR_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffCalculatorBlock,\n copy: selectPayoffCalculatorCopy,\n usePrepare: usePayoffCalculatorPrepare,\n title: (_variant, copy) => selectPayoffCalculatorCopy(copy)?.title ?? '',\n })),\n [actionBlocksKey.BUDGET_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: BudgetDetailsBlock,\n copy: selectBudgetDetailsCopy,\n // Figma's Budget Details: a close X on the right, not the back arrow.\n headerAction: 'close',\n // Loads the budget data and points the transaction store at the budget month, as pulse did.\n usePrepare: useBudgetDetailsPrepare,\n // \"{subject} Budget\" (subject by the CTA variant), else the card's title.\n title: (variant, copy, beat) => {\n const subject = beat ? resolveBudgetSubject(variant, beat, copy) : undefined\n if (subject && copy.budgets?.details_type_title) {\n return buildDynamicCopy(copy.budgets.details_type_title, subject) as string\n }\n\n return beat?.insights_payload?.title || copy.budgets?.details_title || ''\n },\n })),\n // The accounts widget's account details (header, trend chart, tabs, connection, actions) for the\n // beat's primary account. Shared by every beat that opens an account.\n [actionBlocksKey.ACCOUNT_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountDetailsBlock,\n usePrepare: useAccountDetailsPrepare,\n title: (_variant, copy) => copy.accounts?.account_details ?? '',\n })),\n // Monthly Obligations Status's account list: the beat's calculation and the accounts behind it.\n [actionBlocksKey.ACCOUNT_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountListBlock,\n copy: selectAccountListCopy,\n usePrepare: useAccountListPrepare,\n title: (_variant, copy) => selectAccountListCopy(copy)?.title ?? '',\n })),\n // A beat's \"Learn More\": its pre-localized help title and body from the payload's\n // `drilldown_data`. The drawer title is the CTA label.\n [actionBlocksKey.HELP_ACTION_BLOCK]: liveEntry(() => ({\n Component: HelpBlock,\n usePrepare: noop,\n })),\n // Debt Payoff Strategies' \"Learn more\": Avalanche / Snowball tabs over the beat's debt accounts.\n [actionBlocksKey.PAYOFF_STRATEGIES_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffStrategiesBlock,\n copy: selectPayoffStrategiesCopy,\n usePrepare: usePayoffStrategiesPrepare,\n title: (_variant, copy) => selectPayoffStrategiesCopy(copy)?.debt_payoff_strategies ?? '',\n })),\n // A Monthly Top Transacted Merchant result row: that merchant's rank, totals and transactions.\n [actionBlocksKey.QUIZ_MERCHANT_ACTION_BLOCK]: liveEntry(() => ({\n Component: QuizMerchantBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, copy) => copy.insights_feed?.quiz_block?.drawer_title ?? '',\n })),\n} as Record<string, ActionBlockEntry>\n\nexport const blocks = {\n account_block: AccountBlock,\n account_switch_block: AccountSwitchBlock,\n direct_deposit_block: DetailedAccountBlock,\n bar_chart_block: BarchartBlock,\n budget_block: BudgetBlock,\n debts_block: DebtsBlock,\n donut_chart_block: DonutChartBlock,\n double_bar_chart_block: DoubleBarChartBlock,\n double_progress_bar_block: DoubleProgressBarBlock,\n gas_purchase_block: GasPurchaseBlock,\n goals_block: GoalsBlock,\n image_block: ImageBlock,\n merchant_block: MerchantBlock,\n no_spend_days_block: NoSpendDaysBlock,\n quiz_block: QuizBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_amount_block: SavingsOpportunityBlock,\n savings_summary_block: SavingsSummaryBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n weekly_small_purchases_block: WeeklySmallPurchasesBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAsGA,IAAM,IAAA,CAAQ,MAAwB;AAAC,GAyBjC,IAAA,CAAa,OAAuD;AAAA,EACxE,IAAI,YAAY;AACd,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,aAAa;AACf,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,OAAO;AACT,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAA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B,8BAAA,GAAiC,EAAA,OAAiB;AAAA,IACjE,WAAW;AAAA,IACX,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAA,CAAQ,GAAU,MAAS,EAA2B,CAAI,GAAG,0BAA0B;AAAA,EACzF,EAAE;AAAA,EAED,CAAA,EAAgB,0BAAA,GAA6B,EAAA,OAAiB;AAAA,IAC7D,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAA,CAAQ,GAAU,MAAS,EAAK,eAAe,YAAY,gBAAgB;AAAA,EAC7E,EAAE;AACJ,GAEa,KAAS;AAAA,EACpB,eAAe;AAAA,EACf,sBAAsB;AAAA,EACtB,sBAAsB;AAAA,EACtB,iBAAiB;AAAA,EACjB,cAAc;AAAA,EACd,aAAa;AAAA,EACb,mBAAmB;AAAA,EACnB,wBAAwB;AAAA,EACxB,2BAA2B;AAAA,EAC3B,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,YAAY;AAAA,EACZ,6BAA6B;AAAA,EAC7B,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,6BAA6B;AAAA,EAC7B,8BAA8B;AAAA,EAC9B,kBAAkB;AAAA,EAClB,mBAAmB;AACrB"}
1
+ {"version":3,"file":"blocks.es.js","names":[],"sources":["../../../src/insights-v2/mappings/blocks.ts"],"sourcesContent":["import {\n AccountBlock,\n AccountSwitchBlock,\n BarchartBlock,\n BudgetBlock,\n DebtsBlock,\n DetailedAccountBlock,\n DonutChartBlock,\n GasPurchaseBlock,\n GoalsBlock,\n MerchantBlock,\n DoubleBarChartBlock,\n DoubleProgressBarBlock,\n NoSpendDaysBlock,\n QuizBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SavingsSummaryBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\n WeeklySmallPurchasesBlock,\n WithdrawalBlock,\n TransactionBlock,\n} from '../blocks'\nimport StepChartBlock from '../blocks/ChartBlocks/StepChartBlock'\nimport ImageBlock from '../blocks/ImageBlocks/ImageBlock'\n\nimport type { Beat, GlobalCopy, InsightsPayload } from '../../core'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\nimport { ContactSupportActionBlock } from '../actionBlocks/ContactSupportActionBlock'\nimport { FeedbackModalActionBlock } from '../actionBlocks/FeedbackModalActionBlock'\nimport { ConnectionDetailActionBlock } from '../actionBlocks/ConnectionDetailActionBlock'\nimport { ConnectWidgetActionBlock } from '../actionBlocks/ConnectWidgetActionBlock'\nimport { SurveyModalActionBlock } from '../actionBlocks/SurveyModalActionBlock'\nimport { SubscriptionStatusModalBlock } from '../actionBlocks/SubscriptionStatusModalBlock'\nimport { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport {\n selectTransactionHistoryCopy,\n TransactionHistoryBlock,\n} from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport { useTransactionHistoryPrepare } from '../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { getTransactionListDrawerTitle } from '../actionBlocks/TransactionListBlock/layout'\nimport {\n RemainingCashBlock,\n selectRemainingCashCopy,\n useRemainingCashLoadState,\n} from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\nimport {\n OverdraftBlock,\n selectOverdraftCopy,\n useOverdraftPrepare,\n} from '../actionBlocks/OverdraftBlock'\nimport {\n AccountListBlock,\n selectAccountListCopy,\n useAccountListPrepare,\n} from '../actionBlocks/AccountListBlock'\nimport {\n EmergencySavingsBlock,\n selectEmergencySavingsCopy,\n} from '../actionBlocks/EmergencySavingsBlock'\nimport {\n CreditUtilizationBlock,\n selectCreditUtilizationCopy,\n useCreditUtilizationPrepare,\n} from '../actionBlocks/CreditUtilizationBlock'\nimport {\n PayoffCalculatorBlock,\n selectPayoffCalculatorCopy,\n usePayoffCalculatorLoadState,\n usePayoffCalculatorPrepare,\n} from '../actionBlocks/PayoffCalculatorBlock'\nimport { BudgetDetailsBlock, selectBudgetDetailsCopy } from '../actionBlocks/BudgetDetailsBlock'\nimport { useBudgetDetailsPrepare } from '../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare'\nimport { resolveBudgetSubject } from '../actionBlocks/BudgetDetailsBlock/layout'\nimport { AccountDetailsBlock, useAccountDetailsPrepare } from '../actionBlocks/AccountDetailsBlock'\nimport { HelpBlock } from '../actionBlocks/HelpBlock'\nimport {\n PayoffStrategiesBlock,\n selectPayoffStrategiesCopy,\n usePayoffStrategiesPrepare,\n} from '../actionBlocks/PayoffStrategiesBlock'\nimport { QuizMerchantBlock } from '../actionBlocks/QuizMerchantBlock'\nimport { useAccountsLoadState } from '../actionBlocks/useAccountsLoadState'\n// Keys live in ./actionBlocksKey (imported directly by chart blocks/tests too) to avoid a\n// circular import between this module and the chart blocks — see that file for details.\nimport { actionBlocksKey } from './actionBlocksKey'\n\n// Drilldown indexes are not passed down: action blocks read them from\n// InsightsV2Store (useInsightsV2Store().actionDrawer).\nexport interface ActionBlockProps {\n beat: Beat\n}\n\nconst noop = (_: ActionBlockProps) => {}\n\n// Re-exported so existing `hasDrawerBlock` imports from this module keep working.\nexport { hasDrawerBlock } from './hasDrawerBlock'\n\nexport interface BlockLoadState {\n ready: boolean\n failed?: boolean\n retry?: () => void\n}\n\nexport interface ActionBlockEntry {\n Component: React.ComponentType<ActionBlockProps>\n usePrepare: (props: ActionBlockProps) => void // required; default to noop in each entry\n // The data the block waits for: a loader until `ready`, the error card while `failed`.\n useLoadState?: (props: ActionBlockProps) => BlockLoadState\n // Drawer title from the CTA's variant and copy; falls back to the CTA label when empty.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // The copy section a drawer block needs; the layer shows BlockErrorMessage without it.\n copy?: (copy: GlobalCopy) => unknown\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\n // The drawer header's close control: 'back' (default, arrow on the left) or 'close' (X on the right).\n headerAction?: 'back' | 'close'\n}\n\n// Registry of drawer drilldowns, keyed by the `block` name the backend sends Add\n// `usePrepare` when the block needs to load data before rendering.\n\n/**\n * Reads its imports on access, not at load: some blocks import this registry back through\n * `ActionBlockLayer`, so a value copied at load would still be `undefined`.\n */\nconst liveEntry = (resolve: () => ActionBlockEntry): ActionBlockEntry => ({\n get Component() {\n return resolve().Component\n },\n get usePrepare() {\n return resolve().usePrepare\n },\n get useLoadState() {\n return resolve().useLoadState\n },\n get title() {\n return resolve().title\n },\n get copy() {\n return resolve().copy\n },\n get presentation() {\n return resolve().presentation\n },\n get headerAction() {\n return resolve().headerAction\n },\n})\n\nexport const actionBlocks = {\n [actionBlocksKey.PLACEHOLDER_ACTION_BLOCK]: liveEntry(() => ({\n Component: PlaceholderActionBlock,\n usePrepare: noop,\n title: () => 'Action Block Layer Drilldown',\n })),\n [actionBlocksKey.MAKE_TRANSFER_ACTION_BLOCK]: liveEntry(() => ({\n Component: MakeTransferActionBlockLayer,\n usePrepare: noop,\n title: getMakeTransferDrawerTitle,\n })),\n [actionBlocksKey.TRANSCATION_HISTORY_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionHistoryBlock,\n copy: selectTransactionHistoryCopy,\n usePrepare: useTransactionHistoryPrepare,\n title: getDrawerHeaderTitle,\n })),\n [actionBlocksKey.TRANSACTION_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionDetailsBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: () => 'Transaction Details',\n })),\n // Expense Details for one recurring subscription. Which subscription a beat names is resolved in\n // `RecurringTransactionBlock/subscriptionBeats.ts`, not through this registry.\n [actionBlocksKey.RECURRING_TRANSACTION_ACTION_BLOCK]: liveEntry(() => ({\n Component: RecurringTransactionBlock,\n usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.recurring?.expense_details ?? '',\n })),\n // Remaining Cash for the Payday Cash Left Over Status beat. Store-driven: reuses the recurring\n // loader, which also loads accounts and categories, so CashflowStore's computeds are ready.\n [actionBlocksKey.REMAINING_CASH_ACTION_BLOCK]: liveEntry(() => ({\n Component: RemainingCashBlock,\n copy: selectRemainingCashCopy,\n usePrepare: useRecurringTransactionPrepare,\n useLoadState: useRemainingCashLoadState,\n title: (_variant, copy) => selectRemainingCashCopy(copy)?.title ?? '',\n })),\n // The block renders its own drawer (the help module's RequestSupport) on top of the action\n // drawer, so the action drawer's title is the CTA label.\n [actionBlocksKey.CONTACT_SUPPORT_ACTION_BLOCK]: liveEntry(() => ({\n Component: ContactSupportActionBlock,\n usePrepare: noop,\n title: (_variant, copy) => copy.help?.request_support ?? '',\n })),\n [actionBlocksKey.FEEDBACK_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: FeedbackModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.CONNECTION_DETAIL_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectionDetailActionBlock,\n usePrepare: noop,\n title: (_variant, copy) =>\n copy.insights_feed?.connection_details?.connection_details_drawer_title ?? '',\n })),\n // Boots MX's Connect widget (web-widget-sdk iframe) inside the action\n // drawer; the drawer title falls back to the CTA label.\n [actionBlocksKey.CONNECT_WIDGET_ACTION_BLOCK]: liveEntry(() => ({\n Component: ConnectWidgetActionBlock,\n usePrepare: noop,\n })),\n [actionBlocksKey.SURVEY_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SurveyModalActionBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n // Unexpected Subscription Payment's Subscription Status modal.\n [actionBlocksKey.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: SubscriptionStatusModalBlock,\n usePrepare: noop,\n presentation: 'modal',\n })),\n [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: getTransactionListDrawerTitle,\n })),\n // One whole-dollar setting in a dialog; the CTA variant picks which (low-balance threshold or\n // safety net). A modal: no drawer, so no drawer title.\n [actionBlocksKey.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n // Loads inside the block: it mounts only while open, so mounting is the open-time load.\n usePrepare: noop,\n })),\n // Savings Opportunity's safety net: `safety_net_block` opens the amount-input modal.\n [actionBlocksKey.SAFETY_NET_ACTION_BLOCK]: liveEntry(() => ({\n Component: AmountInputModalBlock,\n presentation: 'modal',\n usePrepare: noop,\n })),\n // Transparent Overdraft's \"Learn more\": the projected overdraft, its account and the confidence\n // meter. Titled from the beat, as the pulse drawer was.\n [actionBlocksKey.OVERDRAFT_ACTION_BLOCK]: liveEntry(() => ({\n Component: OverdraftBlock,\n copy: selectOverdraftCopy,\n usePrepare: useOverdraftPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Credit Utilization's \"Learn more\": the explanation, the band legend and the per-card list.\n [actionBlocksKey.CREDIT_UTILIZATION_ACTION_BLOCK]: liveEntry(() => ({\n Component: CreditUtilizationBlock,\n copy: selectCreditUtilizationCopy,\n usePrepare: useCreditUtilizationPrepare,\n title: (_variant, copy) => selectCreditUtilizationCopy(copy)?.title ?? '',\n })),\n [actionBlocksKey.EMERGENCY_SAVINGS_ACTION_BLOCK]: liveEntry(() => ({\n Component: EmergencySavingsBlock,\n copy: selectEmergencySavingsCopy,\n usePrepare: noop,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\n })),\n // Monthly Credit Card Interest Summary's \"Learn how to save\": the credit card payoff calculator.\n [actionBlocksKey.PAYOFF_CALCULATOR_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffCalculatorBlock,\n copy: selectPayoffCalculatorCopy,\n usePrepare: usePayoffCalculatorPrepare,\n useLoadState: usePayoffCalculatorLoadState,\n title: (_variant, copy) => selectPayoffCalculatorCopy(copy)?.title ?? '',\n })),\n [actionBlocksKey.BUDGET_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: BudgetDetailsBlock,\n copy: selectBudgetDetailsCopy,\n // Figma's Budget Details: a close X on the right, not the back arrow.\n headerAction: 'close',\n // Loads the budget data and points the transaction store at the budget month, as pulse did.\n usePrepare: useBudgetDetailsPrepare,\n // \"{subject} Budget\" (subject by the CTA variant), else the card's title.\n title: (variant, copy, beat) => {\n const subject = beat ? resolveBudgetSubject(variant, beat, copy) : undefined\n if (subject && copy.budgets?.details_type_title) {\n return buildDynamicCopy(copy.budgets.details_type_title, subject) as string\n }\n\n return beat?.insights_payload?.title || copy.budgets?.details_title || ''\n },\n })),\n // The accounts widget's account details (header, trend chart, tabs, connection, actions) for the\n // beat's primary account. Shared by every beat that opens an account.\n [actionBlocksKey.ACCOUNT_DETAILS_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountDetailsBlock,\n usePrepare: useAccountDetailsPrepare,\n title: (_variant, copy) => copy.accounts?.account_details ?? '',\n })),\n // Monthly Obligations Status's account list: the beat's calculation and the accounts behind it.\n [actionBlocksKey.ACCOUNT_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: AccountListBlock,\n copy: selectAccountListCopy,\n usePrepare: useAccountListPrepare,\n useLoadState: useAccountsLoadState,\n title: (_variant, copy) => selectAccountListCopy(copy)?.title ?? '',\n })),\n // A beat's \"Learn More\": its pre-localized help title and body from the payload's\n // `drilldown_data`. The drawer title is the CTA label.\n [actionBlocksKey.HELP_ACTION_BLOCK]: liveEntry(() => ({\n Component: HelpBlock,\n usePrepare: noop,\n })),\n // Debt Payoff Strategies' \"Learn more\": Avalanche / Snowball tabs over the beat's debt accounts.\n [actionBlocksKey.PAYOFF_STRATEGIES_ACTION_BLOCK]: liveEntry(() => ({\n Component: PayoffStrategiesBlock,\n copy: selectPayoffStrategiesCopy,\n usePrepare: usePayoffStrategiesPrepare,\n useLoadState: useAccountsLoadState,\n title: (_variant, copy) => selectPayoffStrategiesCopy(copy)?.debt_payoff_strategies ?? '',\n })),\n // A Monthly Top Transacted Merchant result row: that merchant's rank, totals and transactions.\n [actionBlocksKey.QUIZ_MERCHANT_ACTION_BLOCK]: liveEntry(() => ({\n Component: QuizMerchantBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, copy) => copy.insights_feed?.quiz_block?.drawer_title ?? '',\n })),\n} as Record<string, ActionBlockEntry>\n\nexport const blocks = {\n account_block: AccountBlock,\n account_switch_block: AccountSwitchBlock,\n direct_deposit_block: DetailedAccountBlock,\n bar_chart_block: BarchartBlock,\n budget_block: BudgetBlock,\n debts_block: DebtsBlock,\n donut_chart_block: DonutChartBlock,\n double_bar_chart_block: DoubleBarChartBlock,\n double_progress_bar_block: DoubleProgressBarBlock,\n gas_purchase_block: GasPurchaseBlock,\n goals_block: GoalsBlock,\n image_block: ImageBlock,\n merchant_block: MerchantBlock,\n no_spend_days_block: NoSpendDaysBlock,\n quiz_block: QuizBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_amount_block: SavingsOpportunityBlock,\n savings_summary_block: SavingsSummaryBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n weekly_small_purchases_block: WeeklySmallPurchasesBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4GA,IAAM,IAAA,CAAQ,MAAwB;AAAC,GAiCjC,IAAA,CAAa,OAAuD;AAAA,EACxE,IAAI,YAAY;AACd,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,aAAa;AACf,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,QAAQ;AACV,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,OAAO;AACT,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AAAA,EACA,IAAI,eAAe;AACjB,WAAO,EAAQ,EAAE;AAAA,EACnB;AACF,IAEa,KAAe;AAAA,EACzB,CAAA,EAAgB,wBAAA,GAA2B,EAAA,OAAiB;AAAA,IAC3D,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAA,MAAa;AAAA,EACf,EAAE;AAAA,EACD,CAAA,EAAgB,0BAAA,GAA6B,EAAA,OAAiB;AAAA,IAC7D,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,EAAE;AAAA,EACD,CAAA,EAAgB,gCAAA,GAAmC,EAAA,OAAiB;AAAA,IACnE,WAAW;AAAA,IACX,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,OAAO;AAAA,EACT,EAAE;AAAA,EACD,CAAA,EAAgB,gCAAA,GAAmC,EAAA,OAAiB;AAAA,IACnE,WAAW;AAAA,IACX,YAAY;AAAA,IACZ,OAAA,M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;AAAA,EACnB,wBAAwB;AAAA,EACxB,2BAA2B;AAAA,EAC3B,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,qBAAqB;AAAA,EACrB,YAAY;AAAA,EACZ,6BAA6B;AAAA,EAC7B,kBAAkB;AAAA,EAClB,sBAAsB;AAAA,EACtB,uBAAuB;AAAA,EACvB,kBAAkB;AAAA,EAClB,iBAAiB;AAAA,EACjB,qBAAqB;AAAA,EACrB,6BAA6B;AAAA,EAC7B,8BAA8B;AAAA,EAC9B,kBAAkB;AAAA,EAClB,mBAAmB;AACrB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.7.164",
3
+ "version": "9.7.166",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",