@mx-cartographer/experiences 9.7.25 → 9.7.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/common/components/MiniWidgetContainer.es.js +35 -45
- package/dist/common/components/MiniWidgetContainer.es.js.map +1 -1
- package/dist/common/components/charts/LineChart.es.js +86 -85
- package/dist/common/components/charts/LineChart.es.js.map +1 -1
- package/dist/common/constants/Styles.d.ts +2 -0
- package/dist/common/constants/Styles.es.js +17 -0
- package/dist/common/constants/Styles.es.js.map +1 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/hooks/useAriaLive.es.js +12 -22
- package/dist/common/hooks/useAriaLive.es.js.map +1 -1
- package/dist/common/index.es.js +111 -109
- package/dist/core/stores/TrendsStore.d.ts +5 -0
- package/dist/core/types/Insights.d.ts +3 -0
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +2 -0
- package/dist/core/utils/DateUtil.d.ts +2 -0
- package/dist/core/utils/DateUtil.es.js +37 -35
- package/dist/core/utils/DateUtil.es.js.map +1 -1
- package/dist/core/utils/NumberFormatting.d.ts +1 -0
- package/dist/core/utils/NumberFormatting.es.js +14 -13
- package/dist/core/utils/NumberFormatting.es.js.map +1 -1
- package/dist/core/utils/TrendsUtil.d.ts +5 -0
- package/dist/core/utils/TrendsUtil.es.js +67 -59
- package/dist/core/utils/TrendsUtil.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.d.ts +3 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js +101 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendGraphic.d.ts +5 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendGraphic.es.js +108 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendGraphic.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/NoSpendDaysBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -0
- package/dist/insights-v2/index.es.js +87 -85
- package/dist/insights-v2/mappings/blocks.es.js +44 -42
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/dist/transactions/components/shared/TransactionList.d.ts +4 -0
- package/dist/transactions/components/shared/TransactionList.es.js +138 -84
- package/dist/transactions/components/shared/TransactionList.es.js.map +1 -1
- package/dist/trends/components/CategoryDetailChart.d.ts +2 -1
- package/dist/trends/components/CategoryDetailChart.es.js +55 -35
- package/dist/trends/components/CategoryDetailChart.es.js.map +1 -1
- package/dist/trends/components/CategoryDetails.es.js +68 -71
- package/dist/trends/components/CategoryDetails.es.js.map +1 -1
- package/dist/trends/utils/TrendsTable.es.js +25 -25
- package/dist/trends/utils/TrendsTable.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -10,11 +10,11 @@ import h from "./blocks/ChartBlocks/StepChartBlock/StepChartBlock.es.js";
|
|
|
10
10
|
import L from "./blocks/ChartBlocks/DonutChartBlock/DonutChartBlock.es.js";
|
|
11
11
|
import I from "./blocks/ChartBlocks/DoubleProgressBarBlock/DoubleProgressBarBlock.es.js";
|
|
12
12
|
import R, { isLogoGuid as w } from "./components/LogoFromGuid.es.js";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
13
|
+
import H from "./components/AccountHeroCard.es.js";
|
|
14
|
+
import V from "./components/DirectDepositCard.es.js";
|
|
15
15
|
import { detailedAccountVariant as M, directDepositVariant as P, isDetailedAccountVariant as _ } from "./blocks/ComponentBlocks/DetailedAccountBlock/layout.es.js";
|
|
16
16
|
import x from "./blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlock.es.js";
|
|
17
|
-
import
|
|
17
|
+
import N from "./blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
18
18
|
import W from "./components/TransferLogoCard.es.js";
|
|
19
19
|
import q from "./blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
20
20
|
import { BudgetBlock as J } from "./blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
@@ -22,107 +22,109 @@ import Q from "./components/DebtPayoffCard.es.js";
|
|
|
22
22
|
import Y from "./components/InsightTransactionRow.es.js";
|
|
23
23
|
import $ from "./components/TransactionListCard.es.js";
|
|
24
24
|
import ro from "./blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
25
|
-
import mo from "./
|
|
26
|
-
import ao from "./
|
|
27
|
-
import eo from "./
|
|
28
|
-
import no from "./
|
|
29
|
-
import lo from "./
|
|
30
|
-
import Bo from "./
|
|
31
|
-
import go from "./
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import ho from "./
|
|
35
|
-
import Lo from "./components/
|
|
36
|
-
import Io from "./
|
|
37
|
-
import Ro from "./
|
|
38
|
-
import
|
|
39
|
-
import
|
|
40
|
-
import Eo from "./
|
|
41
|
-
import Po from "./components/
|
|
42
|
-
import Fo from "./components/
|
|
43
|
-
import Go from "./components/
|
|
44
|
-
import
|
|
45
|
-
import jo from "./components/
|
|
46
|
-
import
|
|
47
|
-
import Ko from "./components/
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import or from "./components/
|
|
51
|
-
import tr from "./components/
|
|
52
|
-
import ir from "./components/
|
|
53
|
-
import pr from "./components/
|
|
54
|
-
import
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import kr from "./components/
|
|
60
|
-
import Sr from "./components/
|
|
61
|
-
import hr from "./components/
|
|
62
|
-
import Lr from "./components/
|
|
63
|
-
import Ir from "./components/
|
|
25
|
+
import mo from "./blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
26
|
+
import ao from "./components/UpcomingBillCard.es.js";
|
|
27
|
+
import eo from "./blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
|
|
28
|
+
import no from "./components/SaveAnExtraCard.es.js";
|
|
29
|
+
import lo from "./blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
30
|
+
import Bo from "./components/SavingsOpportunityCard.es.js";
|
|
31
|
+
import go from "./blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
32
|
+
import ko from "./components/StatusMessageCard.es.js";
|
|
33
|
+
import { transactionBlockVariant as So } from "./blocks/ComponentBlocks/TransactionBlock/layout.es.js";
|
|
34
|
+
import { TransactionBlock as ho } from "./blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
35
|
+
import Lo from "./components/AmountPill.es.js";
|
|
36
|
+
import Io from "./components/SubscriptionHeroCard.es.js";
|
|
37
|
+
import Ro from "./blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
38
|
+
import yo from "./components/WithdrawalCard.es.js";
|
|
39
|
+
import Oo from "./blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
40
|
+
import { SVGImageBlock as Eo } from "./blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
41
|
+
import Po from "./components/shared/StatusSnackbar.es.js";
|
|
42
|
+
import Fo from "./components/FeedbackDialog.es.js";
|
|
43
|
+
import Go from "./components/FeedbackModal.es.js";
|
|
44
|
+
import Uo from "./components/ConnectionDetailDrillDown.es.js";
|
|
45
|
+
import jo from "./components/SurveyModal.es.js";
|
|
46
|
+
import zo from "./components/InsightErrorCard.es.js";
|
|
47
|
+
import { ErrorCard as Ko } from "./components/ErrorCard.es.js";
|
|
48
|
+
import Xo from "./components/BadgedTile.es.js";
|
|
49
|
+
import { OverflowMenu as Zo } from "./components/OverflowMenu.es.js";
|
|
50
|
+
import { InsightOptionsMenu as or } from "./components/InsightOptionsMenu.es.js";
|
|
51
|
+
import tr from "./components/StatusBadge.es.js";
|
|
52
|
+
import ir from "./components/CompactInsightCard.es.js";
|
|
53
|
+
import pr from "./components/AmountBreakdownCard.es.js";
|
|
54
|
+
import fr from "./components/DesignateEmergencySavingsCard.es.js";
|
|
55
|
+
import { FeedbackBar as cr } from "./components/FeedbackBar.es.js";
|
|
56
|
+
import { DismissInsightDialog as sr } from "./components/DismissInsightDialog.es.js";
|
|
57
|
+
import { HiddenConfirmationCard as Br } from "./components/HiddenConfirmationCard.es.js";
|
|
58
|
+
import { LoadingCard as gr } from "./components/LoadingCard.es.js";
|
|
59
|
+
import { ObsolesceBanner as kr } from "./components/ObsolesceBanner.es.js";
|
|
60
|
+
import Sr from "./components/BaseLayout.es.js";
|
|
61
|
+
import hr from "./components/LogoTile.es.js";
|
|
62
|
+
import Lr from "./components/LogoClusterCard.es.js";
|
|
63
|
+
import Ir from "./components/MerchantHighlightCard.es.js";
|
|
64
|
+
import Rr from "./components/P2PLogoStack.es.js";
|
|
64
65
|
export {
|
|
65
|
-
|
|
66
|
-
|
|
66
|
+
N as AccountBlock,
|
|
67
|
+
H as AccountHeroCard,
|
|
67
68
|
q as AccountSwitchBlock,
|
|
68
|
-
|
|
69
|
-
|
|
69
|
+
pr as AmountBreakdownCard,
|
|
70
|
+
Lo as AmountPill,
|
|
70
71
|
e as BAR_ARIA_LABEL,
|
|
71
72
|
f as BAR_CHART_VARIANTS,
|
|
72
|
-
|
|
73
|
+
Xo as BadgedTile,
|
|
73
74
|
k as BarchartBlock,
|
|
74
|
-
|
|
75
|
+
Sr as BaseLayout,
|
|
75
76
|
J as BudgetBlock,
|
|
76
|
-
|
|
77
|
-
|
|
77
|
+
ir as CompactInsightCard,
|
|
78
|
+
Uo as ConnectionDetailDrillDown,
|
|
78
79
|
Q as DebtPayoffCard,
|
|
79
80
|
ro as DebtsBlock,
|
|
80
|
-
|
|
81
|
+
fr as DesignateEmergencySavingsCard,
|
|
81
82
|
x as DetailedAccountBlock,
|
|
82
83
|
x as DirectDepositBlock,
|
|
83
|
-
|
|
84
|
-
|
|
84
|
+
V as DirectDepositCard,
|
|
85
|
+
sr as DismissInsightDialog,
|
|
85
86
|
L as DonutChartBlock,
|
|
86
87
|
S as DoubleBarChartBlock,
|
|
87
88
|
I as DoubleProgressBarBlock,
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
Ko as ErrorCard,
|
|
90
|
+
cr as FeedbackBar,
|
|
91
|
+
Fo as FeedbackDialog,
|
|
92
|
+
Go as FeedbackModal,
|
|
92
93
|
d as HOST_ACTIONS,
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
94
|
+
Br as HiddenConfirmationCard,
|
|
95
|
+
zo as InsightErrorCard,
|
|
96
|
+
or as InsightOptionsMenu,
|
|
96
97
|
Y as InsightTransactionRow,
|
|
97
|
-
|
|
98
|
-
|
|
98
|
+
gr as LoadingCard,
|
|
99
|
+
Lr as LogoClusterCard,
|
|
99
100
|
R as LogoFromGuid,
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
no as
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
101
|
+
hr as LogoTile,
|
|
102
|
+
Ir as MerchantHighlightCard,
|
|
103
|
+
mo as NoSpendDaysBlock,
|
|
104
|
+
kr as ObsolesceBanner,
|
|
105
|
+
Zo as OverflowMenu,
|
|
106
|
+
Rr as P2PLogoStack,
|
|
107
|
+
eo as RepeatingTransactionBlock,
|
|
108
|
+
Eo as SVGImageBlock,
|
|
109
|
+
no as SaveAnExtraCard,
|
|
110
|
+
lo as SaveExtraBlock,
|
|
111
|
+
go as SavingsOpportunityBlock,
|
|
112
|
+
Bo as SavingsOpportunityCard,
|
|
113
|
+
tr as StatusBadge,
|
|
114
|
+
ko as StatusMessageCard,
|
|
113
115
|
r as StatusPill,
|
|
114
|
-
|
|
116
|
+
Po as StatusSnackbar,
|
|
115
117
|
h as StepChartBlock,
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
Io as SubscriptionHeroCard,
|
|
119
|
+
jo as SurveyModal,
|
|
120
|
+
ho as TransactionBlock,
|
|
119
121
|
$ as TransactionListCard,
|
|
120
122
|
W as TransferLogoCard,
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
123
|
+
eo as UpcomingBillBlock,
|
|
124
|
+
ao as UpcomingBillCard,
|
|
125
|
+
Ro as UpcomingSubscriptionBlock,
|
|
126
|
+
Oo as WithdrawalBlock,
|
|
127
|
+
yo as WithdrawalCard,
|
|
126
128
|
n as barChartVariant,
|
|
127
129
|
c as buildChartData,
|
|
128
130
|
l as buildDataSeries,
|
|
@@ -131,7 +133,7 @@ export {
|
|
|
131
133
|
_ as isDetailedAccountVariant,
|
|
132
134
|
w as isLogoGuid,
|
|
133
135
|
m as resolveInsightRender,
|
|
134
|
-
|
|
136
|
+
So as transactionBlockVariant,
|
|
135
137
|
a as useBeatActions,
|
|
136
138
|
C as useBeatCtaActions,
|
|
137
139
|
g as useCtaHandler
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ContactSupportActionBlock as p } from "../actionBlocks/ContactSupportActionBlock.es.js";
|
|
2
|
-
import { hasDrawerBlock as
|
|
2
|
+
import { hasDrawerBlock as V } from "./hasDrawerBlock.es.js";
|
|
3
3
|
import { actionBlocksKey as o } from "./actionBlocksKey.es.js";
|
|
4
4
|
import { BarchartBlock as l } from "../blocks/ChartBlocks/BarchartBlock/BarchartBlock.es.js";
|
|
5
5
|
import { DoubleBarChartBlock as _ } from "../blocks/ChartBlocks/DoubleBarChartBlock/DoubleBarChartBlock.es.js";
|
|
@@ -10,31 +10,32 @@ import B from "../blocks/ComponentBlocks/DetailedAccountBlock/DetailedAccountBlo
|
|
|
10
10
|
import u from "../blocks/ComponentBlocks/AccountBlock/AccountBlock.es.js";
|
|
11
11
|
import T from "../blocks/ComponentBlocks/AccountSwitchBlock/AccountSwitchBlock.es.js";
|
|
12
12
|
import { BudgetBlock as A } from "../blocks/ComponentBlocks/BudgetBlock/BudgetBlock.es.js";
|
|
13
|
-
import
|
|
13
|
+
import f from "../blocks/ComponentBlocks/DebtsBlock/DebtsBlock.es.js";
|
|
14
|
+
import O from "../blocks/ComponentBlocks/NoSpendDaysBlock/NoSpendDaysBlock.es.js";
|
|
14
15
|
import n from "../blocks/ComponentBlocks/RepeatingTransactionBlock/RepeatingTransactionBlock.es.js";
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { TransactionBlock as
|
|
16
|
+
import b from "../blocks/ComponentBlocks/SaveExtraBlock/SaveExtraBlock.es.js";
|
|
17
|
+
import N from "../blocks/ComponentBlocks/SavingsOpportunityBlock/SavingsOpportunityBlock.es.js";
|
|
18
|
+
import { TransactionBlock as d } from "../blocks/ComponentBlocks/TransactionBlock/TransactionBlock.es.js";
|
|
18
19
|
import g from "../blocks/ComponentBlocks/UpcomingSubscriptionBlock/UpcomingSubscriptionBlock.es.js";
|
|
19
20
|
import I from "../blocks/ComponentBlocks/WithdrawalBlock/WithdrawalBlock.es.js";
|
|
20
|
-
import
|
|
21
|
-
import { SVGImageBlock as
|
|
22
|
-
import { FeedbackModalActionBlock as
|
|
23
|
-
import { ConnectionDetailActionBlock as
|
|
24
|
-
import { ConnectWidgetActionBlock as
|
|
25
|
-
import { SurveyModalActionBlock as
|
|
26
|
-
import { PlaceholderActionBlock as
|
|
27
|
-
import { getMakeTransferDrawerTitle as
|
|
28
|
-
import { MakeTransferActionBlockLayer as
|
|
29
|
-
import { getDrawerHeaderTitle as
|
|
21
|
+
import L from "../blocks/ImageBlocks/ImageBlock.es.js";
|
|
22
|
+
import { SVGImageBlock as P } from "../blocks/ImageBlocks/SVGImageBlock/SVGImageBlock.es.js";
|
|
23
|
+
import { FeedbackModalActionBlock as D } from "../actionBlocks/FeedbackModalActionBlock.es.js";
|
|
24
|
+
import { ConnectionDetailActionBlock as h } from "../actionBlocks/ConnectionDetailActionBlock.es.js";
|
|
25
|
+
import { ConnectWidgetActionBlock as S } from "../actionBlocks/ConnectWidgetActionBlock.es.js";
|
|
26
|
+
import { SurveyModalActionBlock as R } from "../actionBlocks/SurveyModalActionBlock.es.js";
|
|
27
|
+
import { PlaceholderActionBlock as E } from "../actionBlocks/PlaceholderActionBlock.es.js";
|
|
28
|
+
import { getMakeTransferDrawerTitle as K } from "../actionBlocks/MakeTransferActionBlock/layout.es.js";
|
|
29
|
+
import { MakeTransferActionBlockLayer as v } from "../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer.es.js";
|
|
30
|
+
import { getDrawerHeaderTitle as y } from "../actionBlocks/TransactionHistoryBlock/utils.es.js";
|
|
30
31
|
import { TransactionDetailsBlock as M } from "../actionBlocks/TransactionDetailsBlock/TransactionDetailsBlock.es.js";
|
|
31
32
|
import { useTransactionDetailsPrepare as a } from "../actionBlocks/TransactionDetailsBlock/useTransactionDetailsPrepare.es.js";
|
|
32
33
|
import { TransactionHistoryBlock as w } from "../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js";
|
|
33
34
|
import { useRecurringTransactionPrepare as c } from "../actionBlocks/RecurringTransactionBlock/useRecurringTransactionPrepare.es.js";
|
|
34
|
-
import { RecurringTransactionBlock as
|
|
35
|
-
import { TransactionListBlock as
|
|
36
|
-
import { RemainingCashBlock as
|
|
37
|
-
import { AmountInputModalBlock as
|
|
35
|
+
import { RecurringTransactionBlock as U } from "../actionBlocks/RecurringTransactionBlock/RecurringTransactionBlock.es.js";
|
|
36
|
+
import { TransactionListBlock as H } from "../actionBlocks/TransactionListBlock/TransactionListBlock.es.js";
|
|
37
|
+
import { RemainingCashBlock as x } from "../actionBlocks/RemainingCashBlock/RemainingCashBlock.es.js";
|
|
38
|
+
import { AmountInputModalBlock as G } from "../actionBlocks/AmountInputModalBlock/AmountInputModalBlock.es.js";
|
|
38
39
|
var e = (t) => {
|
|
39
40
|
}, r = (t) => ({
|
|
40
41
|
get Component() {
|
|
@@ -49,21 +50,21 @@ var e = (t) => {
|
|
|
49
50
|
get presentation() {
|
|
50
51
|
return t().presentation;
|
|
51
52
|
}
|
|
52
|
-
}),
|
|
53
|
+
}), Do = {
|
|
53
54
|
[o.PLACEHOLDER_ACTION_BLOCK]: r(() => ({
|
|
54
|
-
Component:
|
|
55
|
+
Component: E,
|
|
55
56
|
usePrepare: e,
|
|
56
57
|
title: () => "Action Block Layer Drilldown"
|
|
57
58
|
})),
|
|
58
59
|
[o.MAKE_TRANSFER_ACTION_BLOCK]: r(() => ({
|
|
59
|
-
Component:
|
|
60
|
+
Component: v,
|
|
60
61
|
usePrepare: e,
|
|
61
|
-
title:
|
|
62
|
+
title: K
|
|
62
63
|
})),
|
|
63
64
|
[o.TRANSCATION_HISTORY_ACTION_BLOCK]: r(() => ({
|
|
64
65
|
Component: w,
|
|
65
66
|
usePrepare: e,
|
|
66
|
-
title:
|
|
67
|
+
title: y
|
|
67
68
|
})),
|
|
68
69
|
[o.TRANSACTION_DETAILS_ACTION_BLOCK]: r(() => ({
|
|
69
70
|
Component: M,
|
|
@@ -71,12 +72,12 @@ var e = (t) => {
|
|
|
71
72
|
title: () => "Transaction Details"
|
|
72
73
|
})),
|
|
73
74
|
[o.RECURRING_TRANSACTION_ACTION_BLOCK]: r(() => ({
|
|
74
|
-
Component:
|
|
75
|
+
Component: U,
|
|
75
76
|
usePrepare: c,
|
|
76
77
|
title: (t, i) => i.recurring?.expense_details ?? ""
|
|
77
78
|
})),
|
|
78
79
|
[o.REMAINING_CASH_ACTION_BLOCK]: r(() => ({
|
|
79
|
-
Component:
|
|
80
|
+
Component: x,
|
|
80
81
|
usePrepare: c,
|
|
81
82
|
title: (t, i) => i.insights_feed?.remaining_cash?.title ?? ""
|
|
82
83
|
})),
|
|
@@ -86,59 +87,60 @@ var e = (t) => {
|
|
|
86
87
|
title: (t, i) => i.help?.request_support ?? ""
|
|
87
88
|
})),
|
|
88
89
|
[o.FEEDBACK_MODAL_ACTION_BLOCK]: r(() => ({
|
|
89
|
-
Component:
|
|
90
|
+
Component: D,
|
|
90
91
|
usePrepare: e,
|
|
91
92
|
presentation: "modal"
|
|
92
93
|
})),
|
|
93
94
|
[o.CONNECTION_DETAIL_ACTION_BLOCK]: r(() => ({
|
|
94
|
-
Component:
|
|
95
|
+
Component: h,
|
|
95
96
|
usePrepare: e,
|
|
96
97
|
title: (t, i) => i.insights_feed?.connection_details?.connection_details_drawer_title ?? ""
|
|
97
98
|
})),
|
|
98
99
|
[o.CONNECT_WIDGET_ACTION_BLOCK]: r(() => ({
|
|
99
|
-
Component:
|
|
100
|
+
Component: S,
|
|
100
101
|
usePrepare: e
|
|
101
102
|
})),
|
|
102
103
|
[o.SURVEY_MODAL_ACTION_BLOCK]: r(() => ({
|
|
103
|
-
Component:
|
|
104
|
+
Component: R,
|
|
104
105
|
usePrepare: e,
|
|
105
106
|
presentation: "modal"
|
|
106
107
|
})),
|
|
107
108
|
[o.TRANSACTION_LIST_ACTION_BLOCK]: r(() => ({
|
|
108
|
-
Component:
|
|
109
|
+
Component: H,
|
|
109
110
|
usePrepare: a,
|
|
110
111
|
title: (t, i, m) => m?.insights_payload?.title ?? ""
|
|
111
112
|
})),
|
|
112
113
|
[o.AMOUNT_INPUT_MODAL_ACTION_BLOCK]: r(() => ({
|
|
113
|
-
Component:
|
|
114
|
+
Component: G,
|
|
114
115
|
presentation: "modal",
|
|
115
116
|
usePrepare: e
|
|
116
117
|
}))
|
|
117
|
-
},
|
|
118
|
+
}, ho = {
|
|
118
119
|
account_block: u,
|
|
119
120
|
account_switch_block: T,
|
|
120
121
|
direct_deposit_block: B,
|
|
121
122
|
bar_chart_block: l,
|
|
122
123
|
budget_block: A,
|
|
123
|
-
debts_block:
|
|
124
|
+
debts_block: f,
|
|
124
125
|
donut_chart_block: C,
|
|
125
126
|
double_bar_chart_block: _,
|
|
126
127
|
double_progress_bar_block: k,
|
|
127
|
-
image_block:
|
|
128
|
+
image_block: L,
|
|
129
|
+
no_spend_days_block: O,
|
|
128
130
|
repeating_transaction_block: n,
|
|
129
|
-
save_extra_block:
|
|
130
|
-
savings_opportunity_block:
|
|
131
|
+
save_extra_block: b,
|
|
132
|
+
savings_opportunity_block: N,
|
|
131
133
|
step_chart_block: s,
|
|
132
|
-
svg_image_block:
|
|
134
|
+
svg_image_block: P,
|
|
133
135
|
upcoming_bill_block: n,
|
|
134
136
|
upcoming_subscription_block: g,
|
|
135
137
|
withdrawal_block: I,
|
|
136
|
-
transaction_block:
|
|
138
|
+
transaction_block: d
|
|
137
139
|
};
|
|
138
140
|
export {
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
141
|
+
Do as actionBlocks,
|
|
142
|
+
ho as blocks,
|
|
143
|
+
V as hasDrawerBlock
|
|
142
144
|
};
|
|
143
145
|
|
|
144
146
|
//# 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 DoubleBarChartBlock,\n DoubleProgressBarBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\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 { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport { TransactionHistoryBlock } from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { RemainingCashBlock } from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\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 // Resolves the drawer title from the clicked CTA's variant + copy, with the beat available\n // for blocks that title from beat fields (e.g. transaction-list reads insights_payload.title).\n // Falls back to the CTA label when the resolver returns an empty string / is absent.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\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 * A registry entry whose fields read their imports when used, not when this module loads. Some\n * registered blocks render `TransactionDetails`, whose embedded card mounts `ActionBlockLayer`,\n * which imports this registry: when one of those blocks loads first, its own import is not\n * initialised yet while this module evaluates, so a value copied at load would be `undefined`\n * (or throw under native ES modules). Reading on access sees the finished import.\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 presentation() {\n return resolve().presentation\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 usePrepare: noop,\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 usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.insights_feed?.remaining_cash?.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 [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\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} 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 image_block: ImageBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_opportunity_block: SavingsOpportunityBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings":"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"}
|
|
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 DoubleBarChartBlock,\n DoubleProgressBarBlock,\n NoSpendDaysBlock,\n RepeatingTransactionBlock,\n SaveExtraBlock,\n SavingsOpportunityBlock,\n SVGImageBlock,\n UpcomingSubscriptionBlock,\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 { PlaceholderActionBlock } from '../actionBlocks/PlaceholderActionBlock'\nimport { MakeTransferActionBlockLayer } from '../actionBlocks/MakeTransferActionBlock/MakeTransferActionBlockLayer'\nimport { getMakeTransferDrawerTitle } from '../actionBlocks/MakeTransferActionBlock/layout'\nimport { TransactionHistoryBlock } from '../actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock'\nimport { getDrawerHeaderTitle } from '../actionBlocks/TransactionHistoryBlock/utils'\nimport {\n TransactionDetailsBlock,\n useTransactionDetailsPrepare,\n} from '../actionBlocks/TransactionDetailsBlock'\nimport {\n RecurringTransactionBlock,\n useRecurringTransactionPrepare,\n} from '../actionBlocks/RecurringTransactionBlock'\nimport { TransactionListBlock } from '../actionBlocks/TransactionListBlock'\nimport { RemainingCashBlock } from '../actionBlocks/RemainingCashBlock'\nimport { AmountInputModalBlock } from '../actionBlocks/AmountInputModalBlock'\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 // Resolves the drawer title from the clicked CTA's variant + copy, with the beat available\n // for blocks that title from beat fields (e.g. transaction-list reads insights_payload.title).\n // Falls back to the CTA label when the resolver returns an empty string / is absent.\n title?: (variant: string | null | undefined, copy: GlobalCopy, beat?: Beat) => string\n // 'drawer' (default) or 'modal' (component renders its own dialog, no Drawer wrapper).\n presentation?: 'drawer' | 'modal'\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 * A registry entry whose fields read their imports when used, not when this module loads. Some\n * registered blocks render `TransactionDetails`, whose embedded card mounts `ActionBlockLayer`,\n * which imports this registry: when one of those blocks loads first, its own import is not\n * initialised yet while this module evaluates, so a value copied at load would be `undefined`\n * (or throw under native ES modules). Reading on access sees the finished import.\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 presentation() {\n return resolve().presentation\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 usePrepare: noop,\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 usePrepare: useRecurringTransactionPrepare,\n title: (_variant, copy) => copy.insights_feed?.remaining_cash?.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 [actionBlocksKey.TRANSACTION_LIST_ACTION_BLOCK]: liveEntry(() => ({\n Component: TransactionListBlock,\n usePrepare: useTransactionDetailsPrepare,\n title: (_variant, _copy, beat) => beat?.insights_payload?.title ?? '',\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} 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 image_block: ImageBlock,\n no_spend_days_block: NoSpendDaysBlock,\n repeating_transaction_block: RepeatingTransactionBlock,\n save_extra_block: SaveExtraBlock,\n savings_opportunity_block: SavingsOpportunityBlock,\n step_chart_block: StepChartBlock,\n svg_image_block: SVGImageBlock,\n upcoming_bill_block: RepeatingTransactionBlock,\n upcoming_subscription_block: UpcomingSubscriptionBlock,\n withdrawal_block: WithdrawalBlock,\n transaction_block: TransactionBlock,\n} as Record<string, React.ComponentType<{ payload: InsightsPayload; beatGuid?: string }>>\n"],"mappings":"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"}
|
|
@@ -11,6 +11,10 @@ export interface TransactionListProps {
|
|
|
11
11
|
isRowDisabled?: (t: Transaction) => boolean;
|
|
12
12
|
loader?: React.JSX.Element;
|
|
13
13
|
onClick?: (guid: string) => void;
|
|
14
|
+
/** Virtualize against the nearest scrolling ancestor instead of an own fixed-height scroll box. */
|
|
15
|
+
scrollsWithParent?: boolean;
|
|
16
|
+
/** Rendered above the rows; stays at the top of the scroll area when used with scrollsWithParent. */
|
|
17
|
+
stickyHeader?: React.ReactNode;
|
|
14
18
|
showInsights?: boolean;
|
|
15
19
|
showLoader?: boolean;
|
|
16
20
|
transaction?: Transaction[];
|