@mx-cartographer/experiences 9.7.168 → 9.7.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +10 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.d.ts +5 -1
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js +71 -59
- package/dist/insights-v2/actionBlocks/BudgetDetailsBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlock.es.js +17 -17
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/MakeTransferActionBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/layout.d.ts +6 -2
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/layout.es.js +12 -10
- package/dist/insights-v2/actionBlocks/MakeTransferActionBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js +118 -102
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.d.ts +8 -1
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.es.js +140 -73
- package/dist/insights-v2/actionBlocks/PayoffCalculatorBlock/PayoffResults.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +2 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +74 -71
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.d.ts +4 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js +47 -51
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js +35 -35
- package/dist/insights-v2/actionBlocks/TransactionListBlock/TransactionListBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.d.ts +8 -3
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js +65 -66
- package/dist/insights-v2/actionBlocks/TransactionListBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/components/Header.es.js +4 -4
- package/dist/insights-v2/components/shared/elevation.es.js +2 -3
- package/dist/insights-v2/components/shared/elevation.es.js.map +1 -1
- package/dist/insights-v2/mappings/blocks.es.js +179 -183
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import L from "../blocks/ChartBlocks/
|
|
10
|
-
import P from "../blocks/
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import
|
|
26
|
-
import
|
|
27
|
-
import
|
|
28
|
-
import
|
|
29
|
-
import
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import { TransactionDetailsBlock as $ } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
1
|
+
import { ContactSupportActionBlock as f } from "../actionBlocks/ContactSupportActionBlock.es.js";
|
|
2
|
+
import { getBudgetDetailsDrawerTitle as k } from "../actionBlocks/BudgetDetailsBlock/layout.es.js";
|
|
3
|
+
import { hasDrawerBlock as ho } from "./hasDrawerBlock.es.js";
|
|
4
|
+
import { actionBlocksKey as o } from "./actionBlocksKey.es.js";
|
|
5
|
+
import { BarchartBlock as A } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
6
|
+
import { DoubleBarChartBlock as T } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
7
|
+
import O from "../blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
8
|
+
import d from "../blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
9
|
+
import L from "../blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
10
|
+
import P from "../blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
|
|
11
|
+
import g from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
12
|
+
import I from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
13
|
+
import { BudgetBlock as N } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
14
|
+
import S from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
15
|
+
import y from "../blocks/ComponentBlocks/GasPurchaseBlock/GasPurchaseBlock.es.js";
|
|
16
|
+
import b from "../blocks/ComponentBlocks/GoalsBlock/GoalsBlock.es.js";
|
|
17
|
+
import D from "../blocks/ComponentBlocks/MerchantBlock/MerchantBlock.es.js";
|
|
18
|
+
import h from "../blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
19
|
+
import E from "../blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js";
|
|
20
|
+
import c from "../blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
|
|
21
|
+
import K from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
22
|
+
import R from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
23
|
+
import v from "../blocks/ComponentBlocks/SavingsSummaryBlock/SavingsSummaryBlock.es.js";
|
|
24
|
+
import { TransactionBlock as M } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
25
|
+
import U from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
26
|
+
import w from "../blocks/ComponentBlocks/WeeklySmallPurchasesBlock/WeeklySmallPurchasesBlock.es.js";
|
|
27
|
+
import G from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
28
|
+
import H from "../blocks/ImageBlocks/ImageBlock.es.js";
|
|
29
|
+
import { SVGImageBlock as F } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
30
|
+
import { FeedbackModalActionBlock as z } from "../actionBlocks/FeedbackModalActionBlock.es.js";
|
|
31
|
+
import { ConnectionDetailActionBlock as Y } from "../actionBlocks/ConnectionDetailActionBlock.es.js";
|
|
32
|
+
import { ConnectWidgetActionBlock as x } from "../actionBlocks/ConnectWidgetActionBlock.es.js";
|
|
33
|
+
import { getDrawerHeaderTitle as V } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
|
|
34
|
+
import { SurveyModalActionBlock as W } from "../actionBlocks/SurveyModalActionBlock.es.js";
|
|
35
|
+
import { SubscriptionStatusModalBlock as q } from "../actionBlocks/SubscriptionStatusModalBlock.es.js";
|
|
36
|
+
import { PlaceholderActionBlock as Q } from "../actionBlocks/PlaceholderActionBlock.es.js";
|
|
37
|
+
import { getMakeTransferDrawerTitle as Z } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
|
|
38
|
+
import { MakeTransferActionBlockLayer as j } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
|
|
39
|
+
import { TransactionDetailsBlock as J } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
41
40
|
import { useTransactionDetailsPrepare as n } from "../actionBlocks/TransactionDetailsBlock/useTransactionDetailsPrepare.es.js";
|
|
42
|
-
import { TransactionHistoryBlock as
|
|
43
|
-
import { useTransactionHistoryPrepare as
|
|
44
|
-
import { useRecurringTransactionPrepare as
|
|
45
|
-
import { RecurringTransactionBlock as
|
|
46
|
-
import { HelpBlock as
|
|
47
|
-
import { getTransactionListDrawerTitle as
|
|
48
|
-
import { TransactionListBlock as
|
|
49
|
-
import { RemainingCashBlock as
|
|
50
|
-
import { AmountInputModalBlock as
|
|
51
|
-
import { OverdraftBlock as
|
|
52
|
-
import { AccountDetailsBlock as
|
|
53
|
-
import { useAccountDetailsPrepare as
|
|
54
|
-
import { AccountListBlock as
|
|
55
|
-
import { useAccountListPrepare as
|
|
56
|
-
import { EmergencySavingsBlock as
|
|
57
|
-
import { CreditUtilizationBlock as
|
|
58
|
-
import { useCreditUtilizationPrepare as
|
|
59
|
-
import { PayoffCalculatorBlock as
|
|
60
|
-
import { BudgetDetailsBlock as
|
|
61
|
-
import { useBudgetDetailsPrepare as
|
|
62
|
-
import { PayoffStrategiesBlock as
|
|
63
|
-
import { usePayoffStrategiesPrepare as
|
|
64
|
-
import { QuizMerchantBlock as
|
|
41
|
+
import { TransactionHistoryBlock as X, selectTransactionHistoryCopy as $ } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
|
|
42
|
+
import { useTransactionHistoryPrepare as oo } from "../actionBlocks/TransactionHistoryBlock/useTransactionHistoryPrepare.es.js";
|
|
43
|
+
import { useRecurringTransactionPrepare as p } from "../actionBlocks/RecurringTransactionBlock/useRecurringTransactionPrepare.es.js";
|
|
44
|
+
import { RecurringTransactionBlock as to } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
|
|
45
|
+
import { HelpBlock as eo } from "../actionBlocks/HelpBlock/HelpBlock.es.js";
|
|
46
|
+
import { getTransactionListDrawerTitle as ro } from "../actionBlocks/TransactionListBlock/layout.es.js";
|
|
47
|
+
import { TransactionListBlock as ao } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
|
|
48
|
+
import { RemainingCashBlock as io, selectRemainingCashCopy as m, useRemainingCashLoadState as no } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
|
|
49
|
+
import { AmountInputModalBlock as l } from "../actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js";
|
|
50
|
+
import { OverdraftBlock as co, selectOverdraftCopy as po, useOverdraftPrepare as mo } from "../actionBlocks/OverdraftBlock/OverdraftBlock.es.js";
|
|
51
|
+
import { AccountDetailsBlock as lo } from "../actionBlocks/AccountDetailsBlock/AccountDetailsBlock.es.js";
|
|
52
|
+
import { useAccountDetailsPrepare as so } from "../actionBlocks/AccountDetailsBlock/useAccountDetailsPrepare.es.js";
|
|
53
|
+
import { AccountListBlock as _o, selectAccountListCopy as s } from "../actionBlocks/AccountListBlock/AccountListBlock.es.js";
|
|
54
|
+
import { useAccountListPrepare as Co } from "../actionBlocks/AccountListBlock/useAccountListPrepare.es.js";
|
|
55
|
+
import { EmergencySavingsBlock as uo, selectEmergencySavingsCopy as Bo } from "../actionBlocks/EmergencySavingsBlock/EmergencySavingsBlock.es.js";
|
|
56
|
+
import { CreditUtilizationBlock as fo, selectCreditUtilizationCopy as _ } from "../actionBlocks/CreditUtilizationBlock/CreditUtilizationBlock.es.js";
|
|
57
|
+
import { useCreditUtilizationPrepare as ko } from "../actionBlocks/CreditUtilizationBlock/useCreditUtilizationPrepare.es.js";
|
|
58
|
+
import { PayoffCalculatorBlock as Ao, selectPayoffCalculatorCopy as C, usePayoffCalculatorLoadState as To, usePayoffCalculatorPrepare as Oo } from "../actionBlocks/PayoffCalculatorBlock/PayoffCalculatorBlock.es.js";
|
|
59
|
+
import { BudgetDetailsBlock as Lo, selectBudgetDetailsCopy as Po } from "../actionBlocks/BudgetDetailsBlock/BudgetDetailsBlock.es.js";
|
|
60
|
+
import { useBudgetDetailsPrepare as go } from "../actionBlocks/BudgetDetailsBlock/useBudgetDetailsPrepare.es.js";
|
|
61
|
+
import { PayoffStrategiesBlock as Io, selectPayoffStrategiesCopy as u } from "../actionBlocks/PayoffStrategiesBlock/PayoffStrategiesBlock.es.js";
|
|
62
|
+
import { usePayoffStrategiesPrepare as No } from "../actionBlocks/PayoffStrategiesBlock/usePayoffStrategiesPrepare.es.js";
|
|
63
|
+
import { QuizMerchantBlock as So } from "../actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js";
|
|
65
64
|
import { useAccountsLoadState as B } from "../actionBlocks/useAccountsLoadState.es.js";
|
|
66
65
|
var a = (r) => {
|
|
67
|
-
},
|
|
66
|
+
}, t = (r) => ({
|
|
68
67
|
get Component() {
|
|
69
68
|
return r().Component;
|
|
70
69
|
},
|
|
@@ -86,179 +85,176 @@ var a = (r) => {
|
|
|
86
85
|
get headerAction() {
|
|
87
86
|
return r().headerAction;
|
|
88
87
|
}
|
|
89
|
-
}),
|
|
90
|
-
[
|
|
91
|
-
Component:
|
|
88
|
+
}), Gt = {
|
|
89
|
+
[o.PLACEHOLDER_ACTION_BLOCK]: t(() => ({
|
|
90
|
+
Component: Q,
|
|
92
91
|
usePrepare: a,
|
|
93
92
|
title: () => "Action Block Layer Drilldown"
|
|
94
93
|
})),
|
|
95
|
-
[
|
|
96
|
-
Component:
|
|
94
|
+
[o.MAKE_TRANSFER_ACTION_BLOCK]: t(() => ({
|
|
95
|
+
Component: j,
|
|
97
96
|
usePrepare: a,
|
|
98
|
-
title:
|
|
97
|
+
title: Z
|
|
99
98
|
})),
|
|
100
|
-
[
|
|
101
|
-
Component:
|
|
102
|
-
copy:
|
|
103
|
-
usePrepare:
|
|
104
|
-
title:
|
|
99
|
+
[o.TRANSCATION_HISTORY_ACTION_BLOCK]: t(() => ({
|
|
100
|
+
Component: X,
|
|
101
|
+
copy: $,
|
|
102
|
+
usePrepare: oo,
|
|
103
|
+
title: V
|
|
105
104
|
})),
|
|
106
|
-
[
|
|
107
|
-
Component:
|
|
105
|
+
[o.TRANSACTION_DETAILS_ACTION_BLOCK]: t(() => ({
|
|
106
|
+
Component: J,
|
|
108
107
|
usePrepare: n,
|
|
109
108
|
title: () => "Transaction Details"
|
|
110
109
|
})),
|
|
111
|
-
[
|
|
112
|
-
Component:
|
|
113
|
-
usePrepare:
|
|
114
|
-
title: (r,
|
|
110
|
+
[o.RECURRING_TRANSACTION_ACTION_BLOCK]: t(() => ({
|
|
111
|
+
Component: to,
|
|
112
|
+
usePrepare: p,
|
|
113
|
+
title: (r, e) => e.recurring?.expense_details ?? ""
|
|
115
114
|
})),
|
|
116
|
-
[
|
|
117
|
-
Component:
|
|
115
|
+
[o.REMAINING_CASH_ACTION_BLOCK]: t(() => ({
|
|
116
|
+
Component: io,
|
|
118
117
|
copy: m,
|
|
119
|
-
usePrepare:
|
|
120
|
-
useLoadState:
|
|
121
|
-
title: (r,
|
|
118
|
+
usePrepare: p,
|
|
119
|
+
useLoadState: no,
|
|
120
|
+
title: (r, e) => m(e)?.title ?? ""
|
|
122
121
|
})),
|
|
123
|
-
[
|
|
124
|
-
Component:
|
|
122
|
+
[o.CONTACT_SUPPORT_ACTION_BLOCK]: t(() => ({
|
|
123
|
+
Component: f,
|
|
125
124
|
usePrepare: a,
|
|
126
|
-
title: (r,
|
|
125
|
+
title: (r, e) => e.help?.request_support ?? ""
|
|
127
126
|
})),
|
|
128
|
-
[
|
|
129
|
-
Component:
|
|
127
|
+
[o.FEEDBACK_MODAL_ACTION_BLOCK]: t(() => ({
|
|
128
|
+
Component: z,
|
|
130
129
|
usePrepare: a,
|
|
131
130
|
presentation: "modal"
|
|
132
131
|
})),
|
|
133
|
-
[
|
|
134
|
-
Component:
|
|
132
|
+
[o.CONNECTION_DETAIL_ACTION_BLOCK]: t(() => ({
|
|
133
|
+
Component: Y,
|
|
135
134
|
usePrepare: a,
|
|
136
|
-
title: (r,
|
|
135
|
+
title: (r, e) => e.insights_feed?.connection_details?.connection_details_drawer_title ?? ""
|
|
137
136
|
})),
|
|
138
|
-
[
|
|
139
|
-
Component:
|
|
137
|
+
[o.CONNECT_WIDGET_ACTION_BLOCK]: t(() => ({
|
|
138
|
+
Component: x,
|
|
140
139
|
usePrepare: a
|
|
141
140
|
})),
|
|
142
|
-
[
|
|
143
|
-
Component:
|
|
141
|
+
[o.SURVEY_MODAL_ACTION_BLOCK]: t(() => ({
|
|
142
|
+
Component: W,
|
|
144
143
|
usePrepare: a,
|
|
145
144
|
presentation: "modal"
|
|
146
145
|
})),
|
|
147
|
-
[
|
|
148
|
-
Component:
|
|
146
|
+
[o.SUBSCRIPTION_STATUS_MODAL_ACTION_BLOCK]: t(() => ({
|
|
147
|
+
Component: q,
|
|
149
148
|
usePrepare: a,
|
|
150
149
|
presentation: "modal"
|
|
151
150
|
})),
|
|
152
|
-
[
|
|
153
|
-
Component:
|
|
151
|
+
[o.TRANSACTION_LIST_ACTION_BLOCK]: t(() => ({
|
|
152
|
+
Component: ao,
|
|
154
153
|
usePrepare: n,
|
|
155
|
-
title:
|
|
154
|
+
title: ro
|
|
156
155
|
})),
|
|
157
|
-
[
|
|
158
|
-
Component:
|
|
156
|
+
[o.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: t(() => ({
|
|
157
|
+
Component: l,
|
|
159
158
|
presentation: "modal",
|
|
160
159
|
usePrepare: a
|
|
161
160
|
})),
|
|
162
|
-
[
|
|
163
|
-
Component:
|
|
161
|
+
[o.SAFETY_NET_ACTION_BLOCK]: t(() => ({
|
|
162
|
+
Component: l,
|
|
164
163
|
presentation: "modal",
|
|
165
164
|
usePrepare: a
|
|
166
165
|
})),
|
|
167
|
-
[
|
|
168
|
-
Component:
|
|
169
|
-
copy:
|
|
170
|
-
usePrepare:
|
|
171
|
-
title: (r,
|
|
166
|
+
[o.OVERDRAFT_ACTION_BLOCK]: t(() => ({
|
|
167
|
+
Component: co,
|
|
168
|
+
copy: po,
|
|
169
|
+
usePrepare: mo,
|
|
170
|
+
title: (r, e, i) => i?.insights_payload?.title ?? ""
|
|
172
171
|
})),
|
|
173
|
-
[
|
|
174
|
-
Component:
|
|
175
|
-
copy:
|
|
176
|
-
usePrepare:
|
|
177
|
-
title: (r,
|
|
172
|
+
[o.CREDIT_UTILIZATION_ACTION_BLOCK]: t(() => ({
|
|
173
|
+
Component: fo,
|
|
174
|
+
copy: _,
|
|
175
|
+
usePrepare: ko,
|
|
176
|
+
title: (r, e) => _(e)?.title ?? ""
|
|
178
177
|
})),
|
|
179
|
-
[
|
|
180
|
-
Component:
|
|
181
|
-
copy:
|
|
178
|
+
[o.EMERGENCY_SAVINGS_ACTION_BLOCK]: t(() => ({
|
|
179
|
+
Component: uo,
|
|
180
|
+
copy: Bo,
|
|
182
181
|
usePrepare: a,
|
|
183
|
-
title: (r,
|
|
182
|
+
title: (r, e, i) => i?.insights_payload?.title ?? ""
|
|
184
183
|
})),
|
|
185
|
-
[
|
|
186
|
-
Component:
|
|
187
|
-
copy:
|
|
188
|
-
usePrepare:
|
|
189
|
-
useLoadState:
|
|
190
|
-
title: (r,
|
|
184
|
+
[o.PAYOFF_CALCULATOR_ACTION_BLOCK]: t(() => ({
|
|
185
|
+
Component: Ao,
|
|
186
|
+
copy: C,
|
|
187
|
+
usePrepare: Oo,
|
|
188
|
+
useLoadState: To,
|
|
189
|
+
title: (r, e) => C(e)?.title ?? ""
|
|
191
190
|
})),
|
|
192
|
-
[
|
|
193
|
-
Component:
|
|
194
|
-
copy:
|
|
191
|
+
[o.BUDGET_DETAILS_ACTION_BLOCK]: t(() => ({
|
|
192
|
+
Component: Lo,
|
|
193
|
+
copy: Po,
|
|
195
194
|
headerAction: "close",
|
|
196
|
-
usePrepare:
|
|
197
|
-
title:
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
195
|
+
usePrepare: go,
|
|
196
|
+
title: k
|
|
197
|
+
})),
|
|
198
|
+
[o.ACCOUNT_DETAILS_ACTION_BLOCK]: t(() => ({
|
|
199
|
+
Component: lo,
|
|
200
|
+
usePrepare: so,
|
|
201
|
+
title: (r, e) => e.accounts?.account_details ?? ""
|
|
201
202
|
})),
|
|
202
|
-
[
|
|
203
|
+
[o.ACCOUNT_LIST_ACTION_BLOCK]: t(() => ({
|
|
203
204
|
Component: _o,
|
|
205
|
+
copy: s,
|
|
204
206
|
usePrepare: Co,
|
|
205
|
-
title: (r, o) => o.accounts?.account_details ?? ""
|
|
206
|
-
})),
|
|
207
|
-
[t.ACCOUNT_LIST_ACTION_BLOCK]: e(() => ({
|
|
208
|
-
Component: uo,
|
|
209
|
-
copy: _,
|
|
210
|
-
usePrepare: fo,
|
|
211
207
|
useLoadState: B,
|
|
212
|
-
title: (r,
|
|
208
|
+
title: (r, e) => s(e)?.title ?? ""
|
|
213
209
|
})),
|
|
214
|
-
[
|
|
215
|
-
Component:
|
|
210
|
+
[o.HELP_ACTION_BLOCK]: t(() => ({
|
|
211
|
+
Component: eo,
|
|
216
212
|
usePrepare: a
|
|
217
213
|
})),
|
|
218
|
-
[
|
|
219
|
-
Component:
|
|
220
|
-
copy:
|
|
221
|
-
usePrepare:
|
|
214
|
+
[o.PAYOFF_STRATEGIES_ACTION_BLOCK]: t(() => ({
|
|
215
|
+
Component: Io,
|
|
216
|
+
copy: u,
|
|
217
|
+
usePrepare: No,
|
|
222
218
|
useLoadState: B,
|
|
223
|
-
title: (r,
|
|
219
|
+
title: (r, e) => u(e)?.debt_payoff_strategies ?? ""
|
|
224
220
|
})),
|
|
225
|
-
[
|
|
226
|
-
Component:
|
|
221
|
+
[o.QUIZ_MERCHANT_ACTION_BLOCK]: t(() => ({
|
|
222
|
+
Component: So,
|
|
227
223
|
usePrepare: n,
|
|
228
|
-
title: (r,
|
|
224
|
+
title: (r, e) => e.insights_feed?.quiz_block?.drawer_title ?? ""
|
|
229
225
|
}))
|
|
230
|
-
},
|
|
231
|
-
account_block:
|
|
232
|
-
account_switch_block:
|
|
233
|
-
direct_deposit_block:
|
|
234
|
-
bar_chart_block:
|
|
235
|
-
budget_block:
|
|
236
|
-
debts_block:
|
|
237
|
-
donut_chart_block:
|
|
238
|
-
double_bar_chart_block:
|
|
239
|
-
double_progress_bar_block:
|
|
240
|
-
gas_purchase_block:
|
|
241
|
-
goals_block:
|
|
242
|
-
image_block:
|
|
243
|
-
merchant_block:
|
|
244
|
-
no_spend_days_block:
|
|
245
|
-
quiz_block:
|
|
246
|
-
repeating_transaction_block:
|
|
247
|
-
save_extra_block:
|
|
248
|
-
savings_amount_block:
|
|
249
|
-
savings_summary_block:
|
|
250
|
-
step_chart_block:
|
|
251
|
-
svg_image_block:
|
|
252
|
-
upcoming_bill_block:
|
|
253
|
-
upcoming_subscription_block:
|
|
254
|
-
weekly_small_purchases_block:
|
|
255
|
-
withdrawal_block:
|
|
256
|
-
transaction_block:
|
|
226
|
+
}, Ht = {
|
|
227
|
+
account_block: g,
|
|
228
|
+
account_switch_block: I,
|
|
229
|
+
direct_deposit_block: P,
|
|
230
|
+
bar_chart_block: A,
|
|
231
|
+
budget_block: N,
|
|
232
|
+
debts_block: S,
|
|
233
|
+
donut_chart_block: d,
|
|
234
|
+
double_bar_chart_block: T,
|
|
235
|
+
double_progress_bar_block: L,
|
|
236
|
+
gas_purchase_block: y,
|
|
237
|
+
goals_block: b,
|
|
238
|
+
image_block: H,
|
|
239
|
+
merchant_block: D,
|
|
240
|
+
no_spend_days_block: h,
|
|
241
|
+
quiz_block: E,
|
|
242
|
+
repeating_transaction_block: c,
|
|
243
|
+
save_extra_block: K,
|
|
244
|
+
savings_amount_block: R,
|
|
245
|
+
savings_summary_block: v,
|
|
246
|
+
step_chart_block: O,
|
|
247
|
+
svg_image_block: F,
|
|
248
|
+
upcoming_bill_block: c,
|
|
249
|
+
upcoming_subscription_block: U,
|
|
250
|
+
weekly_small_purchases_block: w,
|
|
251
|
+
withdrawal_block: G,
|
|
252
|
+
transaction_block: M
|
|
257
253
|
};
|
|
258
254
|
export {
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
255
|
+
Gt as actionBlocks,
|
|
256
|
+
Ht as blocks,
|
|
257
|
+
ho as hasDrawerBlock
|
|
262
258
|
};
|
|
263
259
|
|
|
264
260
|
//# 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 {\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,EACn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;AAAA,IACpD,WAAW;AAAA,IACX,YAAY;AAAA,EACd,EAAE;AAAA,EAED,CAAA,EAAgB,8BAAA,GAAiC,EAAA,OAAiB;AAAA,IACjE,WAAW;AAAA,IACX,MAAM;AAAA,IACN,YAAY;AAAA,IACZ,cAAc;AAAA,IACd,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 { 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 { getBudgetDetailsDrawerTitle } 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 title: getBudgetDetailsDrawerTitle,\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.Com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