@mx-cartographer/experiences 9.7.133 → 9.7.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/core/types/Insights.d.ts +1 -0
- package/dist/core/types/Insights.es.js.map +1 -1
- package/dist/core/types/localization/InsightsFeedCopy.d.ts +25 -1
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js +4 -4
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js +4 -4
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js +4 -4
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js +8 -8
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js +4 -4
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js +4 -4
- package/dist/insights/index.es.js +84 -84
- package/dist/insights-v2/actionBlocks/QuizMerchantBlock/QuizMerchantBlock.d.ts +7 -0
- package/dist/insights-v2/actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js +147 -0
- package/dist/insights-v2/actionBlocks/QuizMerchantBlock/QuizMerchantBlock.es.js.map +1 -0
- package/dist/insights-v2/actionBlocks/QuizMerchantBlock/index.d.ts +1 -0
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.d.ts +1 -2
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js +82 -89
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionDrillDown.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js +62 -63
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/TransactionHistoryBlock.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.d.ts +1 -2
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js +153 -134
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/actionBlocks/TransactionHistoryBlock/utils.es.js.map +1 -1
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js +3 -2
- package/dist/insights-v2/blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js.map +1 -1
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.d.ts +6 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js +220 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/QuizBlock.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/index.d.ts +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/quiz.d.ts +39 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/quiz.es.js +44 -0
- package/dist/insights-v2/blocks/ComponentBlocks/QuizBlock/quiz.es.js.map +1 -0
- package/dist/insights-v2/blocks/ComponentBlocks/index.d.ts +1 -0
- package/dist/insights-v2/components/shared/elevation.d.ts +2 -0
- package/dist/insights-v2/components/shared/elevation.es.js +3 -2
- package/dist/insights-v2/components/shared/elevation.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/ctaConfig.es.js +41 -23
- package/dist/insights-v2/ctaActions/ctaConfig.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/ctaHandlers.d.ts +2 -0
- package/dist/insights-v2/ctaActions/ctaHandlers.es.js +32 -20
- package/dist/insights-v2/ctaActions/ctaHandlers.es.js.map +1 -1
- package/dist/insights-v2/ctaActions/hostActions.d.ts +1 -1
- package/dist/insights-v2/ctaActions/hostActions.es.js.map +1 -1
- package/dist/insights-v2/index.es.js +79 -77
- package/dist/insights-v2/mappings/actionBlocksKey.d.ts +1 -0
- package/dist/insights-v2/mappings/actionBlocksKey.es.js +2 -1
- package/dist/insights-v2/mappings/actionBlocksKey.es.js.map +1 -1
- package/dist/insights-v2/mappings/blocks.es.js +122 -114
- package/dist/insights-v2/mappings/blocks.es.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,169 +1,179 @@
|
|
|
1
|
-
import { buildDynamicCopy as
|
|
2
|
-
import { DATE_FORMATS_INTL as
|
|
3
|
-
import { TransactionStatus as
|
|
4
|
-
import { fromUnixUTC as
|
|
5
|
-
import { CURRENCY_FORMAT as
|
|
6
|
-
import { getCategoryColor as
|
|
7
|
-
import { buildDataSeries as
|
|
8
|
-
import { asGuidList as
|
|
9
|
-
import { getLayoutConfig as
|
|
10
|
-
import
|
|
11
|
-
import { buildProjectedBillTransaction as
|
|
12
|
-
import { Icon as
|
|
1
|
+
import { buildDynamicCopy as S } from "../../../core/utils/Localization.es.js";
|
|
2
|
+
import { DATE_FORMATS_INTL as M, formatDate as C } from "../../../core/constants/DateFormats.es.js";
|
|
3
|
+
import { TransactionStatus as P } from "../../../core/types/Transaction.es.js";
|
|
4
|
+
import { fromUnixUTC as D } from "../../../core/utils/DateUtil.es.js";
|
|
5
|
+
import { CURRENCY_FORMAT as Y } from "../../../core/utils/NumberFormatting.es.js";
|
|
6
|
+
import { getCategoryColor as F } from "../../../core/utils/CategoryUtil.es.js";
|
|
7
|
+
import { buildDataSeries as E } from "../../blocks/ChartBlocks/BarchartBlock/utils.es.js";
|
|
8
|
+
import { asGuidList as O, asNonEmptyText as v, asNumber as p } from "../../blocks/slotReaders.es.js";
|
|
9
|
+
import { getLayoutConfig as T } from "../../blocks/ChartBlocks/DoubleBarChartBlock/layout.es.js";
|
|
10
|
+
import H from "../../components/LogoMark.es.js";
|
|
11
|
+
import { buildProjectedBillTransaction as x, calendarDateOf as k, toDrillDownSlotData as V } from "./utils.es.js";
|
|
12
|
+
import { Icon as W } from "@mxenabled/mx-icons";
|
|
13
13
|
import { jsx as c } from "react/jsx-runtime";
|
|
14
|
-
import { endOfMonth as
|
|
15
|
-
var
|
|
14
|
+
import { endOfMonth as L, fromUnixTime as j, isValid as B, parseISO as f, startOfMonth as G } from "date-fns";
|
|
15
|
+
var n = {
|
|
16
16
|
TRANSACTION: "not_standard_amount",
|
|
17
17
|
CATEGORY_SPEND: "category_spend",
|
|
18
18
|
MONTHLY_SPEND: "monthly_spend_comparison",
|
|
19
19
|
ACCOUNT_BALANCE: "account_balance",
|
|
20
20
|
UPCOMING_BILL: "upcoming_bill",
|
|
21
21
|
SPEND_TO_INCOME: "monthly_spend_to_income",
|
|
22
|
-
SAVINGS_TO_INCOME: "
|
|
22
|
+
SAVINGS_TO_INCOME: "savings_to_income",
|
|
23
23
|
DEBT_TO_INCOME: "debt_to_income",
|
|
24
24
|
COST_OF_LIVING: "cost_living_to_income",
|
|
25
25
|
NON_ESSENTIAL_CATEGORY: "non_essential_category_summary",
|
|
26
26
|
DEPOSIT_SUMMARY: "monthly_deposit_summary",
|
|
27
27
|
LOW_BALANCE: "low_balance",
|
|
28
28
|
SUBSCRIPTION_AGGREGATE: "monthly_subscription_aggregate"
|
|
29
|
-
},
|
|
30
|
-
start:
|
|
31
|
-
end:
|
|
32
|
-
}),
|
|
29
|
+
}, _ = (t, e) => e && F(e, t) || t.palette.primary.main, h = (t) => typeof t == "string" ? f(t) : new Date(t ?? NaN), y = (t) => ({
|
|
30
|
+
start: G(h(t)),
|
|
31
|
+
end: L(h(t))
|
|
32
|
+
}), R = (t) => t?.length ? { accounts: t } : {}, z = ({ beat: t }) => {
|
|
33
33
|
const { account_guid: e, from_date: a, to_date: o } = t.insights_payload?.drilldown_data ?? {};
|
|
34
34
|
return typeof e != "string" || typeof a != "number" || typeof o != "number" || !Number.isFinite(a) || !Number.isFinite(o) || o <= a ? {
|
|
35
35
|
accounts: [],
|
|
36
36
|
custom: () => !1
|
|
37
37
|
} : {
|
|
38
38
|
accounts: [e],
|
|
39
|
-
custom: (r) => !r.is_hidden && r.feed_status !==
|
|
39
|
+
custom: (r) => !r.is_hidden && r.feed_status !== P.PENDING,
|
|
40
40
|
showSplits: !0,
|
|
41
41
|
dateRange: {
|
|
42
|
-
start:
|
|
43
|
-
end:
|
|
42
|
+
start: D(a),
|
|
43
|
+
end: D(o - 1)
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
-
},
|
|
46
|
+
}, K = (t) => {
|
|
47
47
|
const e = t?.drilldown_data ?? {};
|
|
48
48
|
return {
|
|
49
|
-
transaction_guids:
|
|
50
|
-
date:
|
|
51
|
-
amount:
|
|
52
|
-
category_guid:
|
|
53
|
-
average_amount:
|
|
54
|
-
merchant_name:
|
|
49
|
+
transaction_guids: O(e.transaction_guids),
|
|
50
|
+
date: k(e.due_date),
|
|
51
|
+
amount: p(e.amount),
|
|
52
|
+
category_guid: v(e.category_guid),
|
|
53
|
+
average_amount: p(e.average_amount),
|
|
54
|
+
merchant_name: v(e.merchant_name)
|
|
55
55
|
};
|
|
56
|
-
},
|
|
56
|
+
}, g = (t) => {
|
|
57
57
|
const e = t;
|
|
58
58
|
return Array.isArray(e?.names) && Array.isArray(e?.data) ? e : void 0;
|
|
59
|
-
},
|
|
59
|
+
}, q = (t) => {
|
|
60
60
|
const e = t?.drilldown_data ?? {};
|
|
61
61
|
return {
|
|
62
|
-
account_guids:
|
|
63
|
-
data_series:
|
|
64
|
-
average_amount:
|
|
62
|
+
account_guids: O(e.account_guids),
|
|
63
|
+
data_series: g(e.data_series),
|
|
64
|
+
average_amount: p(e.average_amount)
|
|
65
65
|
};
|
|
66
|
-
},
|
|
66
|
+
}, U = ["income", "other"], J = (t) => {
|
|
67
67
|
const e = t?.drilldown_data ?? {}, a = t?.instance_slot?.data?.legends?.map(({ label: o }) => o);
|
|
68
68
|
return {
|
|
69
|
-
data_series:
|
|
70
|
-
average_amount:
|
|
71
|
-
income_transaction_guids:
|
|
72
|
-
sub_tab_labels: a?.length ===
|
|
69
|
+
data_series: g(e.data_series),
|
|
70
|
+
average_amount: p(e.average_amount),
|
|
71
|
+
income_transaction_guids: O(e.income_transaction_guids),
|
|
72
|
+
sub_tab_labels: a?.length === U.length ? a : void 0
|
|
73
73
|
};
|
|
74
|
-
},
|
|
75
|
-
const a = e ?? {}, o =
|
|
76
|
-
return !o || r.length !==
|
|
74
|
+
}, Q = 2, w = (t, e) => {
|
|
75
|
+
const a = e ?? {}, o = g(a.series), r = Array.isArray(a.labels) ? a.labels.map(v) : [];
|
|
76
|
+
return !o || r.length !== Q || !r.every((s) => !!s) ? {} : {
|
|
77
77
|
data_series: o,
|
|
78
78
|
legends: r.map((s) => ({
|
|
79
79
|
label: s,
|
|
80
80
|
value: 0
|
|
81
81
|
}))
|
|
82
82
|
};
|
|
83
|
-
},
|
|
83
|
+
}, I = (t, e) => E(g(e?.series)).flatMap((a) => a.aggregated_guids ?? []), X = (t, e) => {
|
|
84
84
|
const a = e.transaction_history_block?.monthly_debt_to_income_tip_message, o = e.transaction_history_block?.monthly_debt_to_income_tip_limit;
|
|
85
85
|
if (!(!a || !o))
|
|
86
86
|
return {
|
|
87
|
-
message:
|
|
87
|
+
message: S(a, /* @__PURE__ */ c("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ c("strong", { children: o })),
|
|
88
88
|
onDismiss: () => t(!0)
|
|
89
89
|
};
|
|
90
|
-
},
|
|
91
|
-
const a =
|
|
90
|
+
}, Z = (t, e) => {
|
|
91
|
+
const a = w(t, e);
|
|
92
|
+
return a.data_series ? a : V(t?.instance_slot?.data ?? {});
|
|
93
|
+
}, $ = (t, e) => {
|
|
94
|
+
const a = e.transaction_history_block?.savings_to_income_tip_message, o = e.transaction_history_block?.savings_to_income_tip_percentage;
|
|
95
|
+
if (!(!a || !o))
|
|
96
|
+
return {
|
|
97
|
+
message: S(a, /* @__PURE__ */ c("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ c("strong", { children: o })),
|
|
98
|
+
onDismiss: () => t(!0)
|
|
99
|
+
};
|
|
100
|
+
}, tt = (t) => E(g(t.insights_payload?.drilldown_data?.data_series)).flatMap((e) => e.aggregated_guids ?? []), et = (t, e) => {
|
|
101
|
+
const a = x(t, e);
|
|
92
102
|
return a ? [...t, a] : t;
|
|
93
|
-
},
|
|
103
|
+
}, at = (t, e, a, o) => {
|
|
94
104
|
const r = o?.merchant_name, s = o?.date;
|
|
95
105
|
if (!r || !s) return;
|
|
96
|
-
const
|
|
97
|
-
if (
|
|
106
|
+
const i = e.transaction_history_block?.upcoming_bill_tip_message;
|
|
107
|
+
if (i)
|
|
98
108
|
return {
|
|
99
|
-
message:
|
|
109
|
+
message: S(i, /* @__PURE__ */ c("strong", { children: e.general.tip_section_title }), r, C(f(s), M.FULL_MONTH_DAY)),
|
|
100
110
|
onDismiss: () => t(!0)
|
|
101
111
|
};
|
|
102
|
-
},
|
|
103
|
-
const o = e[a], r = o?.guid, s = t.find((
|
|
112
|
+
}, N = ({ beatTransactions: t, dataSeries: e, selectedIndex: a }) => {
|
|
113
|
+
const o = e[a], r = o?.guid, s = t.find((i) => i.guid === r)?.has_been_split;
|
|
104
114
|
return {
|
|
105
|
-
custom: (
|
|
106
|
-
dateRange:
|
|
115
|
+
custom: (i) => i.guid === r,
|
|
116
|
+
dateRange: y(o?.date),
|
|
107
117
|
showSplits: !s
|
|
108
118
|
};
|
|
109
|
-
},
|
|
119
|
+
}, ot = ({ dataSeries: t, selectedIndex: e, instanceSlotData: a }) => {
|
|
110
120
|
const o = t[e], r = a.category_guid ?? o?.guid;
|
|
111
121
|
return {
|
|
112
122
|
custom: (s) => s.category_guid === r || s.top_level_category_guid === r,
|
|
113
|
-
dateRange:
|
|
123
|
+
dateRange: y(o?.date)
|
|
114
124
|
};
|
|
115
|
-
},
|
|
125
|
+
}, rt = ({ dataSeries: t, selectedIndex: e, spendCategoryGuids: a, instanceSlotData: o }) => {
|
|
116
126
|
const r = t[e];
|
|
117
127
|
return {
|
|
118
128
|
custom: (s) => !!s.top_level_category_guid && a.includes(s.top_level_category_guid),
|
|
119
|
-
dateRange:
|
|
120
|
-
...
|
|
129
|
+
dateRange: y(r?.date),
|
|
130
|
+
...R(o.account_guids)
|
|
121
131
|
};
|
|
122
|
-
},
|
|
123
|
-
const s = e[a], { start:
|
|
124
|
-
start:
|
|
125
|
-
end: o &&
|
|
132
|
+
}, st = (t) => typeof t == "number" ? j(t) : f(t ?? ""), nt = ({ beat: t, dataSeries: e, selectedIndex: a, isLastTab: o, instanceSlotData: r }) => {
|
|
133
|
+
const s = e[a], { start: i, end: d } = y(s?.date), l = st(t.created_at), m = r.account_guids, A = {
|
|
134
|
+
start: i,
|
|
135
|
+
end: o && B(l) && l < d ? l : d
|
|
126
136
|
};
|
|
127
137
|
return m?.length ? {
|
|
128
|
-
dateRange:
|
|
138
|
+
dateRange: A,
|
|
129
139
|
accounts: m
|
|
130
140
|
} : {
|
|
131
|
-
dateRange:
|
|
141
|
+
dateRange: A,
|
|
132
142
|
accounts: [],
|
|
133
143
|
custom: () => !1
|
|
134
144
|
};
|
|
135
|
-
},
|
|
136
|
-
const o = new Set(t), r =
|
|
137
|
-
return !o.size || !
|
|
145
|
+
}, b = (t, e, a) => {
|
|
146
|
+
const o = new Set(t), r = f(e ?? "");
|
|
147
|
+
return !o.size || !B(r) ? {
|
|
138
148
|
accounts: [],
|
|
139
149
|
custom: () => !1
|
|
140
150
|
} : {
|
|
141
151
|
custom: (s) => o.has(s.guid),
|
|
142
152
|
dateRange: {
|
|
143
|
-
start:
|
|
144
|
-
end:
|
|
153
|
+
start: G(r),
|
|
154
|
+
end: L(r)
|
|
145
155
|
},
|
|
146
|
-
...
|
|
156
|
+
...R(a)
|
|
147
157
|
};
|
|
148
|
-
},
|
|
158
|
+
}, it = ({ beat: t, dataSeries: e, selectedIndex: a }) => b(e[a]?.aggregated_guids, e[a]?.date, t.account_guids), u = ({ beat: t, comparisonBars: e, selectedIndex: a, subIndex: o }) => {
|
|
149
159
|
const r = e[a];
|
|
150
|
-
return
|
|
151
|
-
},
|
|
152
|
-
const { dataSeries: e, selectedIndex: a, subIndex: o, instanceSlotData: r } = t, s = e[a],
|
|
153
|
-
return
|
|
154
|
-
},
|
|
155
|
-
[
|
|
160
|
+
return b(o === 1 ? r?.comparisonGuids : r?.mainGuids, r?.date, t.account_guids);
|
|
161
|
+
}, ct = ({ beat: t, dataSeries: e, subIndex: a }) => b(e[a]?.aggregated_guids, e[a]?.date, t.account_guids), lt = (t) => {
|
|
162
|
+
const { dataSeries: e, selectedIndex: a, subIndex: o, instanceSlotData: r } = t, s = e[a], i = new Set(r.income_transaction_guids), d = U[o] === "income", l = r.sub_tab_labels ? s?.aggregated_guids?.filter((m) => i.has(m) === d) : s?.aggregated_guids;
|
|
163
|
+
return b(l, s?.date);
|
|
164
|
+
}, Ot = {
|
|
165
|
+
[n.TRANSACTION]: {
|
|
156
166
|
top: "singleBar",
|
|
157
167
|
scope: "store",
|
|
158
168
|
filterMode: "store",
|
|
159
|
-
filterStrategy:
|
|
160
|
-
colors: (t, e) => [
|
|
169
|
+
filterStrategy: N,
|
|
170
|
+
colors: (t, e) => [_(t, e)],
|
|
161
171
|
header: (t) => {
|
|
162
172
|
const { title: e, subHeader: a } = t;
|
|
163
173
|
return {
|
|
164
174
|
heading: e,
|
|
165
175
|
subHeadingText: a?.text || void 0,
|
|
166
|
-
icon: /* @__PURE__ */ c(
|
|
176
|
+
icon: /* @__PURE__ */ c(H, {
|
|
167
177
|
logo: {
|
|
168
178
|
...a?.logo,
|
|
169
179
|
merchant_name: a?.text ?? a?.logo?.merchant_name
|
|
@@ -173,130 +183,139 @@ var i = {
|
|
|
173
183
|
};
|
|
174
184
|
},
|
|
175
185
|
tipSection: (t, e, a = "") => ({
|
|
176
|
-
message:
|
|
186
|
+
message: S(e.general.tip_section_message, /* @__PURE__ */ c("strong", { children: e.general.tip_section_title }), /* @__PURE__ */ c("strong", { children: a })),
|
|
177
187
|
onDismiss: () => t(!0)
|
|
178
188
|
})
|
|
179
189
|
},
|
|
180
|
-
[
|
|
190
|
+
[n.CATEGORY_SPEND]: {
|
|
181
191
|
top: "singleBar",
|
|
182
|
-
averageFormat:
|
|
183
|
-
filterStrategy:
|
|
192
|
+
averageFormat: Y.whole,
|
|
193
|
+
filterStrategy: ot,
|
|
184
194
|
scope: "store",
|
|
185
195
|
filterMode: "store",
|
|
186
|
-
colors: (t, e) => [
|
|
196
|
+
colors: (t, e) => [_(t, e)],
|
|
187
197
|
header: (t) => ({
|
|
188
198
|
heading: t.categoryName,
|
|
189
|
-
subHeadingText: t.selectedDate &&
|
|
190
|
-
icon: /* @__PURE__ */ c(
|
|
199
|
+
subHeadingText: t.selectedDate && C(h(t.selectedDate), M.MONTH_LONG) || "",
|
|
200
|
+
icon: /* @__PURE__ */ c(W, {
|
|
191
201
|
color: "primary",
|
|
192
202
|
name: "calendar_month",
|
|
193
203
|
size: 16
|
|
194
204
|
})
|
|
195
205
|
})
|
|
196
206
|
},
|
|
197
|
-
[
|
|
207
|
+
[n.MONTHLY_SPEND]: {
|
|
198
208
|
top: "singleBar",
|
|
199
|
-
filterStrategy:
|
|
209
|
+
filterStrategy: rt,
|
|
200
210
|
scope: "store",
|
|
201
211
|
filterMode: "store",
|
|
202
212
|
colors: (t) => [t.palette.chart.chart2 ?? t.palette.primary.main]
|
|
203
213
|
},
|
|
204
|
-
[
|
|
214
|
+
[n.ACCOUNT_BALANCE]: {
|
|
205
215
|
top: "singleBar",
|
|
206
|
-
filterStrategy:
|
|
207
|
-
slotData:
|
|
216
|
+
filterStrategy: nt,
|
|
217
|
+
slotData: q,
|
|
208
218
|
scope: "store",
|
|
209
219
|
filterMode: "store",
|
|
210
220
|
colors: (t) => [t.palette.success.main]
|
|
211
221
|
},
|
|
212
|
-
[
|
|
222
|
+
[n.UPCOMING_BILL]: {
|
|
213
223
|
top: "upcomingBill",
|
|
214
|
-
filterStrategy:
|
|
224
|
+
filterStrategy: N,
|
|
215
225
|
scope: "beat",
|
|
216
226
|
filterMode: "local",
|
|
217
|
-
colors: (t, e) => [
|
|
218
|
-
slotData:
|
|
219
|
-
beatTransactions:
|
|
227
|
+
colors: (t, e) => [_(t, e)],
|
|
228
|
+
slotData: K,
|
|
229
|
+
beatTransactions: et,
|
|
220
230
|
fetchMissingTransactions: (t) => t.insights_payload?.drilldown_data?.transaction_guids,
|
|
221
|
-
tipSection:
|
|
231
|
+
tipSection: at
|
|
222
232
|
},
|
|
223
|
-
[
|
|
233
|
+
[n.DEPOSIT_SUMMARY]: {
|
|
224
234
|
top: "singleBar",
|
|
225
|
-
filterStrategy:
|
|
235
|
+
filterStrategy: lt,
|
|
226
236
|
scope: "store",
|
|
227
237
|
filterMode: "store",
|
|
228
238
|
colors: (t) => [t.palette.success.main],
|
|
229
|
-
slotData:
|
|
230
|
-
fetchMissingTransactions:
|
|
239
|
+
slotData: J,
|
|
240
|
+
fetchMissingTransactions: tt,
|
|
231
241
|
subTabs: ({ instanceSlotData: t }) => t.sub_tab_labels ?? []
|
|
232
242
|
},
|
|
233
|
-
[
|
|
243
|
+
[n.LOW_BALANCE]: {
|
|
234
244
|
top: "list",
|
|
235
|
-
filterStrategy:
|
|
245
|
+
filterStrategy: z,
|
|
236
246
|
scope: "store",
|
|
237
247
|
filterMode: "store",
|
|
238
248
|
colors: (t) => [t.palette.primary.main],
|
|
239
249
|
hideListHeader: !0
|
|
240
250
|
},
|
|
241
|
-
[
|
|
251
|
+
[n.SUBSCRIPTION_AGGREGATE]: {
|
|
242
252
|
top: "monthTabs",
|
|
243
|
-
filterStrategy:
|
|
253
|
+
filterStrategy: it,
|
|
244
254
|
scope: "store",
|
|
245
255
|
filterMode: "store",
|
|
246
256
|
colors: (t) => [t.palette.primary.main]
|
|
247
257
|
},
|
|
248
|
-
[
|
|
258
|
+
[n.SPEND_TO_INCOME]: {
|
|
249
259
|
top: "doubleBar",
|
|
250
|
-
filterStrategy:
|
|
260
|
+
filterStrategy: u,
|
|
251
261
|
scope: "store",
|
|
252
262
|
filterMode: "store",
|
|
253
|
-
colors: (t) =>
|
|
263
|
+
colors: (t) => T(t, "spend_to_income")?.color ?? [],
|
|
254
264
|
subTabAriaLabels: (t) => [t.general.spend_transactions, t.general.income_transactions]
|
|
255
265
|
},
|
|
256
|
-
[
|
|
266
|
+
[n.COST_OF_LIVING]: {
|
|
257
267
|
top: "doubleBar",
|
|
258
|
-
filterStrategy:
|
|
268
|
+
filterStrategy: u,
|
|
259
269
|
scope: "store",
|
|
260
270
|
filterMode: "store",
|
|
261
|
-
colors: (t, e) => [
|
|
271
|
+
colors: (t, e) => [_(t, e), t.palette.chart.chart4 ?? t.palette.primary.main],
|
|
262
272
|
subTabAriaLabels: (t) => [void 0, t.general.income_transactions]
|
|
263
273
|
},
|
|
264
|
-
[
|
|
274
|
+
[n.DEBT_TO_INCOME]: {
|
|
265
275
|
top: "doubleBar",
|
|
266
|
-
filterStrategy:
|
|
276
|
+
filterStrategy: u,
|
|
267
277
|
scope: "store",
|
|
268
278
|
filterMode: "store",
|
|
269
|
-
colors: (t) =>
|
|
279
|
+
colors: (t) => T(t, "debt_to_income")?.color ?? [],
|
|
270
280
|
subTabAriaLabels: (t) => [void 0, t.general.income_transactions],
|
|
271
|
-
slotData:
|
|
272
|
-
fetchMissingTransactions:
|
|
273
|
-
tipSection:
|
|
274
|
-
|
|
275
|
-
|
|
281
|
+
slotData: w,
|
|
282
|
+
fetchMissingTransactions: I,
|
|
283
|
+
tipSection: X
|
|
284
|
+
},
|
|
285
|
+
[n.SAVINGS_TO_INCOME]: {
|
|
286
|
+
top: "doubleBar",
|
|
287
|
+
filterStrategy: u,
|
|
288
|
+
scope: "store",
|
|
289
|
+
filterMode: "store",
|
|
290
|
+
colors: (t) => T(t, "savings_to_income")?.color ?? [],
|
|
291
|
+
subTabAriaLabels: (t) => [t.general.savings_transactions, t.general.income_transactions],
|
|
292
|
+
slotData: Z,
|
|
293
|
+
fetchMissingTransactions: I,
|
|
294
|
+
tipSection: $
|
|
276
295
|
},
|
|
277
|
-
[
|
|
296
|
+
[n.NON_ESSENTIAL_CATEGORY]: {
|
|
278
297
|
top: "tabsOnly",
|
|
279
|
-
filterStrategy:
|
|
298
|
+
filterStrategy: ct,
|
|
280
299
|
scope: "store",
|
|
281
300
|
filterMode: "store",
|
|
282
301
|
colors: (t) => [t.palette.primary.main]
|
|
283
302
|
}
|
|
284
|
-
},
|
|
303
|
+
}, At = {
|
|
285
304
|
top: "singleBar",
|
|
286
|
-
filterStrategy:
|
|
305
|
+
filterStrategy: N,
|
|
287
306
|
scope: "store",
|
|
288
307
|
filterMode: "store",
|
|
289
|
-
colors: (t, e) => [
|
|
308
|
+
colors: (t, e) => [_(t, e)]
|
|
290
309
|
};
|
|
291
310
|
export {
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
311
|
+
n as DRILLDOWN_VARIANTS,
|
|
312
|
+
At as FALLBACK,
|
|
313
|
+
Ot as layout,
|
|
314
|
+
w as resolveDebtToIncomeSlotData,
|
|
315
|
+
J as resolveDepositSummarySlotData,
|
|
316
|
+
q as resolveSavingsContributionsSlotData,
|
|
317
|
+
K as resolveUpcomingBillSlotData,
|
|
318
|
+
et as resolveUpcomingBillTransactions
|
|
300
319
|
};
|
|
301
320
|
|
|
302
321
|
//# sourceMappingURL=layout.es.js.map
|