@mx-cartographer/experiences 8.2.3 → 8.2.4-alpha-ram1-bug-testing

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
  3. package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
  4. package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
  5. package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
  6. package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
  7. package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
  8. package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
  10. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  11. package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
  12. package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
  13. package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
  14. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  15. package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
  16. package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
  17. package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
  18. package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
  19. package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
  20. package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
  21. package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
  22. package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  23. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
  24. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  25. package/dist/Select-BFt-HD-L.mjs +55 -0
  26. package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
  27. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  28. package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
  29. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
  30. package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
  31. package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
  32. package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
  33. package/dist/accounts/index.es.js +199 -194
  34. package/dist/analytics/index.es.js +1 -1
  35. package/dist/budgets/index.es.js +183 -184
  36. package/dist/cashflow/index.es.js +70 -80
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  39. package/dist/common/components/WidgetContainer.d.ts +1 -1
  40. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  41. package/dist/common/hooks/usePrevious.d.ts +1 -1
  42. package/dist/common/index.es.js +206 -194
  43. package/dist/common/utils/Theme.d.ts +6 -5
  44. package/dist/common/utils/index.d.ts +1 -1
  45. package/dist/dashboard/index.es.js +47 -47
  46. package/dist/debts/index.es.js +140 -140
  47. package/dist/finstrong/index.es.js +40 -32
  48. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  49. package/dist/goals/index.es.js +154 -165
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  52. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  53. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  54. package/dist/insights/index.es.js +677 -687
  55. package/dist/insights/themes/Typography.d.ts +0 -2
  56. package/dist/investments/index.es.js +205 -207
  57. package/dist/merchants/index.es.js +1 -1
  58. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  59. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
  60. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
  61. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
  62. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  63. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/microinsights/interfaces.d.ts +11 -5
  66. package/dist/networth/index.es.js +85 -87
  67. package/dist/notifications/index.es.js +7 -8
  68. package/dist/recurringtransactions/index.es.js +53 -53
  69. package/dist/settings/index.es.js +111 -111
  70. package/dist/spending/index.es.js +7 -7
  71. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  72. package/dist/transactions/index.es.js +138 -140
  73. package/dist/trends/index.es.js +293 -292
  74. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  75. package/package.json +29 -23
  76. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  77. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -6,54 +6,53 @@ import { startOfToday as F } from "date-fns/startOfToday";
6
6
  import I from "@mui/material/Box";
7
7
  import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
- import ie from "@mui/material/styles/useTheme";
10
- import { Text as m, P as N, Icon as z, InstitutionLogo as xe, H2 as de, H3 as qe } from "@mxenabled/mxui";
9
+ import { useTheme as ie, alpha as qe, keyframes as Ke } from "@mui/material/styles";
10
+ import { Text as m, P as k, Icon as z, InstitutionLogo as xe, H2 as de, H3 as Ve } from "@mxenabled/mxui";
11
11
  import { b as H } from "../Localization-DnoVyBNK.mjs";
12
- import { G as Ke, p as me, u as k, D as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, C as Xe } from "../hooks-BaO_gOI6.mjs";
12
+ import { G as Xe, p as me, u as L, D as ae, d as Le, b as P, i as B, g as Ne, a as Je, h as ke, C as Qe } from "../hooks-BaO_gOI6.mjs";
13
13
  import { C as E } from "../CurrencyText-CCbE6MmF.mjs";
14
- import { u as ue } from "../useScreenSize-CeFhWTt_.mjs";
14
+ import { u as ue } from "../useScreenSize-mWpmnh5w.mjs";
15
15
  import { L as Z } from "../Loader-CxeBwuPG.mjs";
16
16
  import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
17
17
  import { u as Oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
18
- import { M as Je } from "../MiniWidgetContainer-BdPiUU-u.mjs";
19
- import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
20
- import { R as Ze } from "../RecurringSettings-CPXLW6AR.mjs";
21
- import et from "@mui/material/Tabs";
18
+ import { M as Ze } from "../MiniWidgetContainer-BdPiUU-u.mjs";
19
+ import { E as et } from "../EmptyState-CJUDc3kD.mjs";
20
+ import { R as tt } from "../RecurringSettings-cm6MK_aS.mjs";
21
+ import nt from "@mui/material/Tabs";
22
22
  import ye from "@mui/material/Tab";
23
23
  import { getUnixTime as le } from "date-fns/getUnixTime";
24
24
  import Q from "@mui/material/List";
25
25
  import ee from "@mui/material/ListItem";
26
- import { A as tt } from "../AccountListItem-BYyeeCf6.mjs";
26
+ import { A as ot } from "../AccountListItem-BDXHs4tV.mjs";
27
27
  import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
28
- import nt from "@mui/material/ListSubheader";
28
+ import it from "@mui/material/ListSubheader";
29
29
  import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
30
30
  import { isAfter as Ge } from "date-fns/isAfter";
31
31
  import { isBefore as Me } from "date-fns/isBefore";
32
32
  import { isToday as Fe } from "date-fns/isToday";
33
33
  import { addDays as _e } from "date-fns/addDays";
34
- import { alpha as ot, keyframes as it } from "@mui/material/styles";
35
34
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
36
35
  import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
37
36
  import W from "@mui/material/Button";
38
- import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-DwylSiWs.mjs";
39
- import { D as He } from "../Drawer-XPaLYjiO.mjs";
37
+ import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-B1JfqslT.mjs";
38
+ import { D as He } from "../Drawer-BXqqBMxg.mjs";
40
39
  import { subDays as We } from "date-fns/subDays";
41
40
  import { endOfToday as dt } from "date-fns/endOfToday";
42
- import { W as mt } from "../WidgetContainer-CYcmwsSu.mjs";
41
+ import { W as mt } from "../WidgetContainer-DNuz_s7W.mjs";
43
42
  import { A as X } from "../Account-BaJmiJAG.mjs";
44
43
  import { A as Se } from "../Analytics-CzGzz_sE.mjs";
45
44
  import { formatISO as ut } from "date-fns/formatISO";
46
45
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
47
46
  import { startOfMonth as pt } from "date-fns/startOfMonth";
48
- import { S as ht, a as ft } from "../EmbeddedCard-BNl3quCs.mjs";
47
+ import { S as ht, a as ft } from "../EmbeddedCard-DPwJjqMH.mjs";
49
48
  import { F as gt, R as Ie, c as ve } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
50
49
  import { i as bt } from "../DateUtil-Bhq59ZVg.mjs";
51
50
  const q = () => {
52
- if (!h.useContext(Ke))
51
+ if (!h.useContext(Xe))
53
52
  throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
54
53
  return me().uiStore;
55
54
  }, xt = ({ remaining: i }) => {
56
- const { cashflow: o } = k();
55
+ const { cashflow: o } = L();
57
56
  return /* @__PURE__ */ n(j, { children: [
58
57
  /* @__PURE__ */ e(
59
58
  I,
@@ -70,7 +69,7 @@ const q = () => {
70
69
  /* @__PURE__ */ e(E, { amount: i, bold: !0, sx: { fontSize: 12 } })
71
70
  ] });
72
71
  }, he = A(xt), yt = () => {
73
- const i = ie(), { availableWidth: o } = ae(), { isMobile: t } = ue(), { visibleCashAccounts: r, visibleCashBalance: f } = ke(), { selectedAccountGuids: u } = P(), { cashflow: c } = k(), {
72
+ const i = ie(), { availableWidth: o } = ae(), { isMobile: t } = ue(), { visibleCashAccounts: r, visibleCashBalance: f } = Le(), { selectedAccountGuids: u } = P(), { cashflow: c } = L(), {
74
73
  daysUntilNextIncome: l,
75
74
  expensesTilNextIncome: b,
76
75
  selectedCashAccounts: a,
@@ -88,12 +87,12 @@ const q = () => {
88
87
  const D = h.useMemo(
89
88
  () => r.filter((_) => u.includes(_.guid)).reduce((_, S) => _ + (S?.balance || 0), 0),
90
89
  [u, R]
91
- ), L = h.useMemo(
90
+ ), N = h.useMemo(
92
91
  () => b.filter((_) => u.includes(_.accountGuid || "")).reduce((_, S) => _ + S.amount, 0),
93
92
  [u, b]
94
93
  ), p = h.useMemo(
95
- () => D - L,
96
- [D, L]
94
+ () => D - N,
95
+ [D, N]
97
96
  );
98
97
  return C ? /* @__PURE__ */ e(I, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: o > 710 ? /* @__PURE__ */ n(
99
98
  s,
@@ -106,27 +105,27 @@ const q = () => {
106
105
  children: [
107
106
  /* @__PURE__ */ n(s, { pb: 14, pt: 12, children: [
108
107
  /* @__PURE__ */ e(E, { amount: D, variant: "h2" }),
109
- /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: H(
108
+ /* @__PURE__ */ e(k, { variant: "caption", whiteSpace: "nowrap", children: H(
110
109
  c.total_cash_accounts,
111
110
  a.length
112
111
  ) })
113
112
  ] }),
114
113
  /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e(z, { name: "remove" }) }),
115
114
  /* @__PURE__ */ n(s, { pb: 14, pt: 12, children: [
116
- /* @__PURE__ */ e(E, { amount: L, variant: "h2" }),
117
- /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: H(c.expenses_due, b.length) })
115
+ /* @__PURE__ */ e(E, { amount: N, variant: "h2" }),
116
+ /* @__PURE__ */ e(k, { variant: "caption", whiteSpace: "nowrap", children: H(c.expenses_due, b.length) })
118
117
  ] }),
119
118
  /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e(z, { name: "equal" }) }),
120
119
  /* @__PURE__ */ n(s, { pb: 14, pr: 24, pt: 12, children: [
121
120
  /* @__PURE__ */ e(E, { amount: p, variant: "h2" }),
122
121
  /* @__PURE__ */ n(s, { alignItems: "center", direction: "row", gap: 8, children: [
123
- /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.available_to_spend }),
122
+ /* @__PURE__ */ e(k, { variant: "caption", whiteSpace: "nowrap", children: c.available_to_spend }),
124
123
  /* @__PURE__ */ e(pe, { body: c.tooltip_body, title: c.tooltip_title })
125
124
  ] })
126
125
  ] }),
127
126
  /* @__PURE__ */ e(s, { borderLeft: `1px solid ${i.palette.divider}`, pb: 12, pl: 24, pt: 12, children: /* @__PURE__ */ n(j, { children: [
128
127
  /* @__PURE__ */ e(m, { variant: "h2", children: H(c.days, l) }),
129
- /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.next_paycheck })
128
+ /* @__PURE__ */ e(k, { variant: "caption", whiteSpace: "nowrap", children: c.next_paycheck })
130
129
  ] }) })
131
130
  ]
132
131
  }
@@ -141,7 +140,7 @@ const q = () => {
141
140
  /* @__PURE__ */ e(v, {}),
142
141
  /* @__PURE__ */ n(s, { direction: "row", justifyContent: "space-between", p: 16, children: [
143
142
  /* @__PURE__ */ e(m, { variant: "body2", children: H(c.expenses_due, b.length) }),
144
- /* @__PURE__ */ e(E, { amount: L, bold: !0, symbol: "-", variant: "caption" })
143
+ /* @__PURE__ */ e(E, { amount: N, bold: !0, symbol: "-", variant: "caption" })
145
144
  ] }),
146
145
  /* @__PURE__ */ e(v, {}),
147
146
  /* @__PURE__ */ e(
@@ -169,7 +168,7 @@ const q = () => {
169
168
  onSecondaryCtaClick: o,
170
169
  sx: t = {}
171
170
  }) => {
172
- const { cashflow: r } = k(), { isInitialized: f } = P(), { loadRepeatingTransactionData: u, income: c, isDataLoaded: l, setDateRange: b } = B();
171
+ const { cashflow: r } = L(), { isInitialized: f } = P(), { loadRepeatingTransactionData: u, income: c, isDataLoaded: l, setDateRange: b } = B();
173
172
  h.useEffect(() => {
174
173
  b({ start: F(), end: Ye(F(), 1) }), l || u().finally();
175
174
  }, []), Oe({
@@ -178,7 +177,7 @@ const q = () => {
178
177
  });
179
178
  const a = l && !c.length;
180
179
  return f ? /* @__PURE__ */ n(
181
- Je,
180
+ Ze,
182
181
  {
183
182
  className: "mx-exp-cashflow-miniwidget",
184
183
  onPrimaryCtaClick: i,
@@ -190,7 +189,7 @@ const q = () => {
190
189
  children: [
191
190
  !l && /* @__PURE__ */ e(Z, {}),
192
191
  l && (a ? /* @__PURE__ */ e(
193
- Qe,
192
+ et,
194
193
  {
195
194
  header: r.create,
196
195
  icon: "local_atm",
@@ -203,7 +202,7 @@ const q = () => {
203
202
  ]
204
203
  }
205
204
  ) : /* @__PURE__ */ e(Z, {});
206
- }, Fn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
205
+ }, Mn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
207
206
  ee,
208
207
  {
209
208
  sx: {
@@ -238,10 +237,10 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
238
237
  ] }),
239
238
  /* @__PURE__ */ e(v, {})
240
239
  ] }), Te = A(St), Dt = ({ total: i, type: o }) => {
241
- const { cashflow: t } = k();
240
+ const { cashflow: t } = L();
242
241
  return /* @__PURE__ */ n(j, { children: [
243
242
  /* @__PURE__ */ n(
244
- nt,
243
+ it,
245
244
  {
246
245
  sx: {
247
246
  alignItems: "center",
@@ -264,11 +263,11 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
264
263
  /* @__PURE__ */ e(v, {})
265
264
  ] });
266
265
  }, Ae = A(Dt), oe = (i, o) => (t) => t.accountGuid === i.guid && (Fe(t.expectedDate) || Ge(t.expectedDate, o.start)) && Me(t.expectedDate, o.end), It = () => {
267
- const { availableWidth: i } = ae(), { cashflow: o } = k(), { upcomingExpenses: t, upcomingIncome: r } = B(), { dateRange: f, selectedCashAccounts: u } = q();
266
+ const { availableWidth: i } = ae(), { cashflow: o } = L(), { upcomingExpenses: t, upcomingIncome: r } = B(), { dateRange: f, selectedCashAccounts: u } = q();
268
267
  return /* @__PURE__ */ n(s, { children: [
269
268
  /* @__PURE__ */ n(s, { direction: i < 400 ? "column" : "row", justifyContent: "space-between", children: [
270
- /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: o.accounts_breakdown }),
271
- /* @__PURE__ */ n(m, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: [
269
+ /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 15, mb: 12 }, children: o.accounts_breakdown }),
270
+ /* @__PURE__ */ n(m, { bold: !0, sx: { fontSize: 15, mb: 12 }, children: [
272
271
  U(f.start, Y.FULL_MONTH_DAY),
273
272
  " -",
274
273
  " ",
@@ -296,7 +295,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
296
295
  },
297
296
  children: [
298
297
  /* @__PURE__ */ e(
299
- tt,
298
+ ot,
300
299
  {
301
300
  account: c,
302
301
  listItemProps: {
@@ -336,7 +335,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
336
335
  }) })
337
336
  ] });
338
337
  }, vt = A(It), Tt = () => {
339
- const { availableWidth: i } = ae(), o = ie(), { cashflow: t } = k(), { upcomingExpenses: r, upcomingIncome: f } = B(), { dateRange: u, selectedCashAccounts: c } = q(), l = [
338
+ const { availableWidth: i } = ae(), o = ie(), { cashflow: t } = L(), { upcomingExpenses: r, upcomingIncome: f } = B(), { dateRange: u, selectedCashAccounts: c } = q(), l = [
340
339
  {
341
340
  field: "account",
342
341
  flex: 1.5,
@@ -429,8 +428,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
429
428
  {
430
429
  bold: !0,
431
430
  sx: {
432
- fontSize: 15,
433
- whiteSpace: "normal"
431
+ fontSize: 15
434
432
  },
435
433
  children: t.cash_inflow_and_outflow
436
434
  }
@@ -443,7 +441,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
443
441
  }
444
442
  )
445
443
  ] }),
446
- /* @__PURE__ */ n(m, { bold: !0, sx: { fontSize: 15, whiteSpace: "normal" }, children: [
444
+ /* @__PURE__ */ n(m, { bold: !0, sx: { fontSize: 15 }, children: [
447
445
  U(u.start, Y.FULL_MONTH_DAY),
448
446
  " -",
449
447
  " ",
@@ -470,7 +468,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
470
468
  "& .MuiDataGrid-columnHeader .MuiIconButton-root": {
471
469
  color: o.palette.primary.main,
472
470
  "&:hover": {
473
- backgroundColor: ot(o.palette.primary.main, 0.1)
471
+ backgroundColor: qe(o.palette.primary.main, 0.1)
474
472
  }
475
473
  },
476
474
  "& .MuiDataGrid-columnHeaderTitle": {
@@ -572,14 +570,14 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
572
570
  }
573
571
  );
574
572
  }, At = A(Tt), Rt = () => {
575
- const { cashflow: i } = k(), { isDesktop: o } = ue(), { onEvent: t } = Le(), [r, f] = h.useState(0), u = (c, l) => {
573
+ const { cashflow: i } = L(), { isDesktop: o } = ue(), { onEvent: t } = Ne(), [r, f] = h.useState(0), u = (c, l) => {
576
574
  f(l);
577
575
  };
578
576
  return h.useEffect(() => {
579
577
  t(r === 0 ? "cash_flow_summary" : "cash_flow_details");
580
578
  }, [r]), /* @__PURE__ */ n(I, { children: [
581
579
  /* @__PURE__ */ n(
582
- et,
580
+ nt,
583
581
  {
584
582
  "aria-label": i.cashflow_summary_and_details,
585
583
  centered: !0,
@@ -641,8 +639,8 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
641
639
  o && /* @__PURE__ */ e(E, { amount: i, component: "h2", symbol: f, variant: "body2" })
642
640
  ]
643
641
  }
644
- ), Re = (i, o) => (t) => t.accountGuid && i.includes(t.accountGuid) && (Fe(t.expectedDate) || Ge(t.expectedDate, o.start)) && Me(t.expectedDate, o.end), kt = () => {
645
- const { availableWidth: i } = ae(), { cashflow: o } = k(), { income: t, isDataLoaded: r, upcomingExpenses: f, upcomingIncome: u } = B(), { selectedAccountGuids: c } = P(), { dateRange: l, selectedCashAccounts: b } = q(), [a, g] = h.useState(!1), d = h.useMemo(
642
+ ), Re = (i, o) => (t) => t.accountGuid && i.includes(t.accountGuid) && (Fe(t.expectedDate) || Ge(t.expectedDate, o.start)) && Me(t.expectedDate, o.end), Lt = () => {
643
+ const { availableWidth: i } = ae(), { cashflow: o } = L(), { income: t, isDataLoaded: r, upcomingExpenses: f, upcomingIncome: u } = B(), { selectedAccountGuids: c } = P(), { dateRange: l, selectedCashAccounts: b } = q(), [a, g] = h.useState(!1), d = h.useMemo(
646
644
  () => f.filter(Re(c, l)),
647
645
  [l, c, f]
648
646
  ), x = h.useMemo(
@@ -651,7 +649,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
651
649
  ), C = h.useMemo(
652
650
  () => b.reduce((_, S) => _ + (S?.balance || 0), 0),
653
651
  [b]
654
- ), w = d.reduce((_, S) => _ + S.amount, 0), R = x.reduce((_, S) => _ + S.amount, 0), D = C - w + R, L = r && t.length > 0, p = i < 725;
652
+ ), w = d.reduce((_, S) => _ + S.amount, 0), R = x.reduce((_, S) => _ + S.amount, 0), D = C - w + R, N = r && t.length > 0, p = i < 725;
655
653
  return /* @__PURE__ */ n(s, { sx: { mx: p ? 16 : 0, my: p ? 24 : 42 }, children: [
656
654
  /* @__PURE__ */ n(
657
655
  s,
@@ -672,7 +670,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
672
670
  }
673
671
  ),
674
672
  p && /* @__PURE__ */ e(v, {}),
675
- L ? /* @__PURE__ */ n(j, { children: [
673
+ N ? /* @__PURE__ */ n(j, { children: [
676
674
  !p && /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
677
675
  /* @__PURE__ */ e(
678
676
  ne,
@@ -734,8 +732,8 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
734
732
  }
735
733
  )
736
734
  ] });
737
- }, Lt = A(kt), Nt = ({ onBackClick: i, onMenuClick: o, sx: t = {} }) => {
738
- const { selectedAccounts: r, selectedAccountGuids: f, shouldDisableNextDate: u, shouldDisablePrevDate: c } = P(), { onEvent: l } = Le(), { clientConfig: b } = Ve(), { visibleCashAccounts: a } = ke(), { setFilter: g } = Ne(), { dateRange: d, setSelectedCashAccounts: x } = q(), { loadRepeatingTransactionData: C, isDataLoaded: w, setDateRange: R } = B(), { cashflow: D, recurring: L } = k(), { isInitialized: p } = P(), S = b?.master?.deep_link_params?.view === "manage_income", [re, K] = h.useState(S);
735
+ }, Nt = A(Lt), kt = ({ onBackClick: i, onMenuClick: o, sx: t = {} }) => {
736
+ const { selectedAccounts: r, selectedAccountGuids: f, shouldDisableNextDate: u, shouldDisablePrevDate: c } = P(), { onEvent: l } = Ne(), { clientConfig: b } = Je(), { visibleCashAccounts: a } = Le(), { setFilter: g } = ke(), { dateRange: d, setSelectedCashAccounts: x } = q(), { loadRepeatingTransactionData: C, isDataLoaded: w, setDateRange: R } = B(), { cashflow: D, recurring: N } = L(), { isInitialized: p } = P(), S = b?.master?.deep_link_params?.view === "manage_income", [re, K] = h.useState(S);
739
737
  return h.useEffect(() => {
740
738
  R(d), w || C().finally();
741
739
  }, []), h.useEffect(() => {
@@ -754,7 +752,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
754
752
  {
755
753
  actions: [
756
754
  {
757
- label: L.action_title,
755
+ label: N.action_title,
758
756
  iconName: "credit_card_gear",
759
757
  onClick: () => {
760
758
  K(!0), l(Se.CASH_FLOW_CLICK_SETTINGS);
@@ -784,7 +782,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
784
782
  sx: t,
785
783
  title: D.title,
786
784
  children: [
787
- /* @__PURE__ */ e(Lt, {}),
785
+ /* @__PURE__ */ e(Nt, {}),
788
786
  /* @__PURE__ */ e(Et, {}),
789
787
  /* @__PURE__ */ e(
790
788
  He,
@@ -793,29 +791,21 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
793
791
  isOpen: re,
794
792
  onClose: () => K(!1),
795
793
  shouldShowHeaderBorders: !1,
796
- title: L.action_title,
797
- children: /* @__PURE__ */ e(Ze, { defaultSelectedTab: S ? 1 : 0 })
794
+ title: N.action_title,
795
+ children: /* @__PURE__ */ e(tt, { defaultSelectedTab: S ? 1 : 0 })
798
796
  }
799
797
  )
800
798
  ]
801
799
  }
802
800
  ) : /* @__PURE__ */ e(Z, {});
803
- }, Hn = A(Nt), Ot = ({ handleNextStep: i }) => {
804
- const { completeOnboarding: o } = me(), { cashflow: t } = k(), r = ie();
801
+ }, Fn = A(kt), Ot = ({ handleNextStep: i }) => {
802
+ const { completeOnboarding: o } = me(), { cashflow: t } = L(), r = ie();
805
803
  return /* @__PURE__ */ n(s, { children: [
806
804
  /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.welcome_title }),
807
- /* @__PURE__ */ e(
808
- qe,
809
- {
810
- color: r.palette.primary.light,
811
- pb: 8,
812
- sx: { wordBreak: "break-word", whiteSpace: "initial" },
813
- children: t.welcome_sub_title
814
- }
815
- ),
816
- /* @__PURE__ */ e(N, { pb: 32, children: t.welcome_description }),
805
+ /* @__PURE__ */ e(Ve, { color: r.palette.primary.light, pb: 8, children: t.welcome_sub_title }),
806
+ /* @__PURE__ */ e(k, { pb: 32, children: t.welcome_description }),
817
807
  /* @__PURE__ */ n(s, { direction: "column", mb: 32, spacing: 32, children: [
818
- /* @__PURE__ */ n(N, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
808
+ /* @__PURE__ */ n(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
819
809
  /* @__PURE__ */ e(
820
810
  I,
821
811
  {
@@ -831,7 +821,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
831
821
  ),
832
822
  t.bullet_one
833
823
  ] }),
834
- /* @__PURE__ */ n(N, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
824
+ /* @__PURE__ */ n(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
835
825
  /* @__PURE__ */ e(
836
826
  I,
837
827
  {
@@ -847,7 +837,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
847
837
  ),
848
838
  t.bullet_two
849
839
  ] }),
850
- /* @__PURE__ */ n(N, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
840
+ /* @__PURE__ */ n(k, { sx: { display: "flex", alignItems: "center", fontSize: 18 }, children: [
851
841
  /* @__PURE__ */ e(
852
842
  I,
853
843
  {
@@ -873,13 +863,13 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
873
863
  CASHFLOW_ONBOARDING: `${Ee}/cashflow-onboarding.png`,
874
864
  CASHFLOW_LOADING_ANIMATION: `${Ee}/loading-animation.gif`
875
865
  }, Mt = () => {
876
- const { cashflow: i } = k();
866
+ const { cashflow: i } = L();
877
867
  return /* @__PURE__ */ n(h.Fragment, { children: [
878
868
  /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("img", { alt: "Loading", src: ze.CASHFLOW_LOADING_ANIMATION }) }),
879
869
  /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: i.loading_title }),
880
- /* @__PURE__ */ e(N, { children: i.loading_description })
870
+ /* @__PURE__ */ e(k, { children: i.loading_description })
881
871
  ] });
882
- }, Ft = A(Mt), Ht = it`
872
+ }, Ft = A(Mt), Ht = Ke`
883
873
  from {
884
874
  transform: rotate(0deg);
885
875
  }
@@ -887,7 +877,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
887
877
  transform: rotate(360deg);
888
878
  }
889
879
  `, Wt = () => {
890
- const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), C = ie(), [w, R] = V(!0), [D, L] = h.useState(gt.EveryMonth), [p, _] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [$, G] = V(1), [O, je] = V([]), [fe, ce] = V(""), M = h.useMemo(
880
+ const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = L(), { user: f } = Qe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = ke(), C = ie(), [w, R] = V(!0), [D, N] = h.useState(gt.EveryMonth), [p, _] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [$, G] = V(1), [O, je] = V([]), [fe, ce] = V(""), M = h.useMemo(
891
881
  () => x.find((y) => y.guid === fe),
892
882
  [fe, x]
893
883
  ), Be = !!o.filter(
@@ -962,7 +952,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
962
952
  },
963
953
  children: [
964
954
  /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.add_income_title }),
965
- /* @__PURE__ */ e(N, { mb: 24, children: t.add_income_description }),
955
+ /* @__PURE__ */ e(k, { mb: 24, children: t.add_income_description }),
966
956
  O.length > 0 && !M && /* @__PURE__ */ n(j, { children: [
967
957
  /* @__PURE__ */ e(Q, { children: O.map((y, T) => /* @__PURE__ */ n(h.Fragment, { children: [
968
958
  /* @__PURE__ */ e(ht, { bgcolor: "background.paper", children: bt(
@@ -996,7 +986,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
996
986
  }
997
987
  }
998
988
  ),
999
- !Be && c && /* @__PURE__ */ e(N, { color: "error", mt: 16, children: t.confirm_error }),
989
+ !Be && c && /* @__PURE__ */ e(k, { color: "error", mt: 16, children: t.confirm_error }),
1000
990
  M && /* @__PURE__ */ n(j, { children: [
1001
991
  /* @__PURE__ */ e(
1002
992
  lt,
@@ -1005,7 +995,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
1005
995
  firstDay: p,
1006
996
  frequency: D,
1007
997
  onFirstDayChange: _,
1008
- onFrequencyChange: L,
998
+ onFrequencyChange: N,
1009
999
  onSecondDayChange: re,
1010
1000
  secondDay: S,
1011
1001
  transaction: M
@@ -1067,9 +1057,9 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
1067
1057
  ]
1068
1058
  }
1069
1059
  ) : /* @__PURE__ */ e(Z, {});
1070
- }, Wn = A(Wt);
1060
+ }, Hn = A(Wt);
1071
1061
  export {
1072
- Fn as CashflowMiniWidget,
1073
- Wn as CashflowOnboarding,
1074
- Hn as CashflowWidget
1062
+ Mn as CashflowMiniWidget,
1063
+ Hn as CashflowOnboarding,
1064
+ Fn as CashflowWidget
1075
1065
  };
@@ -1,4 +1,4 @@
1
- import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
1
+ import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
2
2
  export {
3
3
  a as CategoryRow,
4
4
  o as CategorySelector,
@@ -9,6 +9,6 @@ declare class ErrorBoundary extends React.Component<ErrorProps, ErrorState> {
9
9
  state: ErrorState;
10
10
  componentDidCatch(error: Error, errorInfo: React.ErrorInfo): void;
11
11
  static getDerivedStateFromError(): ErrorState;
12
- render(): string | number | boolean | Iterable<React.ReactNode> | import("react/jsx-runtime").JSX.Element | null | undefined;
12
+ render(): string | number | bigint | boolean | Iterable<React.ReactNode> | Promise<string | number | bigint | boolean | React.ReactPortal | React.ReactElement<unknown, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | null | undefined> | import("react/jsx-runtime").JSX.Element | null | undefined;
13
13
  }
14
14
  export default ErrorBoundary;
@@ -9,7 +9,7 @@ type Action = {
9
9
  };
10
10
  interface WidgetContainerProps {
11
11
  allowedAccountTypes?: AccountType[] | undefined;
12
- actions?: (Action | JSX.Element)[];
12
+ actions?: (Action | React.JSX.Element)[];
13
13
  calendarActions?: CalendarActions;
14
14
  className?: string;
15
15
  dateRange?: {
@@ -13,6 +13,6 @@ declare const _default: React.FunctionComponent<{
13
13
  x: number;
14
14
  y: number;
15
15
  };
16
- chartContainerRef: React.RefObject<HTMLDivElement>;
16
+ chartContainerRef: React.RefObject<HTMLDivElement | null>;
17
17
  }>;
18
18
  export default _default;
@@ -1,2 +1,2 @@
1
- export declare const usePrevious: (value: any) => undefined;
1
+ export declare const usePrevious: (value: any) => null;
2
2
  export default usePrevious;