@mx-cartographer/experiences 8.1.0 → 8.1.2

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 (91) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
  3. package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
  4. package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
  5. package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
  6. package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
  7. package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-B3S_p5Qa.mjs} +3 -3
  8. package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
  9. package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
  10. package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-DalEN9--.mjs} +47 -47
  11. package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
  12. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  13. package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
  14. package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
  15. package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
  16. package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
  17. package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
  18. package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
  19. package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
  20. package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
  21. package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
  22. package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
  23. package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
  24. package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
  25. package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
  26. package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
  27. package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
  28. package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
  29. package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
  30. package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
  31. package/dist/{Help-cTsMzSQh.mjs → Help-DuhUdMTZ.mjs} +95 -98
  32. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  33. package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
  34. package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
  35. package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
  36. package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-CrHDAku7.mjs} +8 -8
  37. package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
  38. package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
  39. package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
  40. package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-DOgnTxzv.mjs} +9 -9
  41. package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
  42. package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-CIpZL4CX.mjs} +2 -2
  43. package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
  44. package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
  45. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
  46. package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
  47. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  48. package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
  49. package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-DIWHSsKw.mjs} +5 -5
  50. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  51. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  52. package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Db8dwHoM.mjs} +21 -21
  53. package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
  54. package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
  55. package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
  56. package/dist/WidgetContainer-CCR7I0gu.mjs +470 -0
  57. package/dist/accounts/index.es.js +29 -29
  58. package/dist/analytics/index.es.js +10 -10
  59. package/dist/budgets/index.es.js +19 -19
  60. package/dist/cashflow/index.es.js +110 -110
  61. package/dist/categories/index.es.js +2 -2
  62. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +1 -0
  63. package/dist/common/index.es.js +250 -250
  64. package/dist/core/index.es.js +64 -64
  65. package/dist/dashboard/index.es.js +22 -22
  66. package/dist/debts/index.es.js +22 -22
  67. package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
  68. package/dist/finstrong/index.es.js +22 -22
  69. package/dist/goals/index.es.js +17 -17
  70. package/dist/help/index.es.js +5 -5
  71. package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
  72. package/dist/insights/index.es.js +328 -328
  73. package/dist/investments/index.es.js +10 -10
  74. package/dist/merchants/index.es.js +9 -9
  75. package/dist/microinsights/index.es.js +1 -1
  76. package/dist/networth/index.es.js +25 -25
  77. package/dist/notifications/index.es.js +5 -5
  78. package/dist/recurringtransactions/index.es.js +23 -23
  79. package/dist/settings/index.es.js +96 -96
  80. package/dist/spending/index.es.js +65 -65
  81. package/dist/transactions/index.es.js +74 -74
  82. package/dist/trends/index.es.js +55 -55
  83. package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
  84. package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
  85. package/dist/{useScreenSize-CUcpY7aJ.mjs → useScreenSize-CeFhWTt_.mjs} +1 -1
  86. package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
  87. package/package.json +20 -20
  88. package/dist/DateUtil-C57sqxn4.mjs +0 -54
  89. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
  90. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
  91. package/dist/WidgetContainer-Bc75FqK7.mjs +0 -468
@@ -1,4 +1,4 @@
1
- import { jsxs as n, Fragment as $, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as n, Fragment as j, jsx as e } from "react/jsx-runtime";
2
2
  import h, { useState as V } from "react";
3
3
  import { observer as A } from "mobx-react-lite";
4
4
  import { addMonths as Ye } from "date-fns/addMonths";
@@ -8,47 +8,47 @@ import v from "@mui/material/Divider";
8
8
  import s from "@mui/material/Stack";
9
9
  import ie from "@mui/material/styles/useTheme";
10
10
  import { Text as m, P as N, Icon as z, InstitutionLogo as xe, H2 as de, H3 as qe } from "@mxenabled/mxui";
11
- import { G as Ke, t as me, u as k, p as ae, d as ke, b as P, i as j, g as Le, a as Ve, h as Ne, o as Xe } from "../hooks-BxkfR-Ff.mjs";
11
+ import { G as Ke, t as me, u as k, p as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, o as Xe } from "../hooks-HwStH7q_.mjs";
12
12
  import { C as E } from "../CurrencyText-oqd6cX3M.mjs";
13
- import { I as pe } from "../CashflowStore-CeAzChyD.mjs";
14
- import { C as Bn } from "../CashflowStore-CeAzChyD.mjs";
15
- import { u as ue } from "../useScreenSize-CUcpY7aJ.mjs";
16
- import { L as Z } from "../Loader-D3rjKx72.mjs";
13
+ import { u as ue } from "../useScreenSize-CeFhWTt_.mjs";
14
+ import { L as Z } from "../Loader-CxeBwuPG.mjs";
17
15
  import { b as H } from "../Localization-CkQ49EKr.mjs";
18
- import { M as Je } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
16
+ import { I as pe } from "../CashflowStore-BEi92kJg.mjs";
17
+ import { C as $n } from "../CashflowStore-BEi92kJg.mjs";
18
+ import { u as Oe } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
19
+ import { M as Je } from "../MiniWidgetContainer-CmTGSUL5.mjs";
19
20
  import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
20
- import { u as Oe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
21
- import { R as Ze } from "../RecurringSettings-CZKeZC4m.mjs";
21
+ import { R as Ze } from "../RecurringSettings-CIpZL4CX.mjs";
22
22
  import et from "@mui/material/Tabs";
23
23
  import ye from "@mui/material/Tab";
24
24
  import { getUnixTime as le } from "date-fns/getUnixTime";
25
25
  import Q from "@mui/material/List";
26
26
  import ee from "@mui/material/ListItem";
27
- import { A as tt } from "../AccountListItem-qpACFl6i.mjs";
27
+ import { A as tt } from "../AccountListItem-D80egD01.mjs";
28
28
  import { f as U, D as Y } from "../DateFormats-CaOj_4eI.mjs";
29
29
  import nt from "@mui/material/ListSubheader";
30
30
  import { f as J } from "../NumberFormatting-CyrvFgfd.mjs";
31
31
  import { isAfter as Ge } from "date-fns/isAfter";
32
32
  import { isBefore as Me } from "date-fns/isBefore";
33
33
  import { isToday as Fe } from "date-fns/isToday";
34
- import { addDays as Ce } from "date-fns/addDays";
34
+ import { addDays as _e } from "date-fns/addDays";
35
35
  import { alpha as ot, keyframes as it } from "@mui/material/styles";
36
36
  import { DataGridPro as at } from "@mui/x-data-grid-pro";
37
- import { T as _e } from "../TabContentContainer-j01JYR_7.mjs";
37
+ import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
38
38
  import W from "@mui/material/Button";
39
- import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-DwSE_a8L.mjs";
40
- import { D as He } from "../Drawer-Bbe4AMB1.mjs";
39
+ import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-CrHDAku7.mjs";
40
+ import { D as He } from "../Drawer-XPaLYjiO.mjs";
41
41
  import { subDays as We } from "date-fns/subDays";
42
42
  import { endOfToday as dt } from "date-fns/endOfToday";
43
- import { W as mt } from "../WidgetContainer-Bc75FqK7.mjs";
43
+ import { W as mt } from "../WidgetContainer-CCR7I0gu.mjs";
44
+ import { A as X } from "../Account-CMjOp7S2.mjs";
44
45
  import { A as Se } from "../Analytics-0Xm_BjHU.mjs";
45
- import { A as X } from "../Account-BiB1F8lL.mjs";
46
- import { formatISO as pt } from "date-fns/formatISO";
46
+ import { formatISO as ut } from "date-fns/formatISO";
47
47
  import { fromUnixTime as De } from "date-fns/fromUnixTime";
48
- import { startOfMonth as ut } from "date-fns/startOfMonth";
49
- import { S as ht, a as ft } from "../EmbeddedCard-j7IGx3s1.mjs";
50
- import { c as Ie } from "../RecurringTransactions-kzlU8OFY.mjs";
51
- import { h as gt } from "../DateUtil-C57sqxn4.mjs";
48
+ import { startOfMonth as pt } from "date-fns/startOfMonth";
49
+ import { S as ht, a as ft } from "../EmbeddedCard-BCcn_fK2.mjs";
50
+ import { c as Ie } from "../RecurringTransactions-DCt94TN4.mjs";
51
+ import { i as gt } from "../DateUtil-D0TO0DaZ.mjs";
52
52
  import { F as bt, b as ve } from "../RepeatingTransaction-D2gmBTd0.mjs";
53
53
  const q = () => {
54
54
  if (!h.useContext(Ke))
@@ -56,7 +56,7 @@ const q = () => {
56
56
  return me().uiStore;
57
57
  }, xt = ({ remaining: i }) => {
58
58
  const { cashflow: o } = k();
59
- return /* @__PURE__ */ n($, { children: [
59
+ return /* @__PURE__ */ n(j, { children: [
60
60
  /* @__PURE__ */ e(
61
61
  I,
62
62
  {
@@ -72,32 +72,32 @@ const q = () => {
72
72
  /* @__PURE__ */ e(E, { amount: i, bold: !0, sx: { fontSize: 12 } })
73
73
  ] });
74
74
  }, he = A(xt), yt = () => {
75
- const i = ie(), { availableWidth: o } = ae(), { isMobile: t } = ue(), { visibleCashAccounts: r, visibleCashBalance: f } = ke(), { selectedAccountGuids: p } = P(), { cashflow: c } = k(), {
75
+ const i = ie(), { availableWidth: o } = ae(), { isMobile: t } = ue(), { visibleCashAccounts: r, visibleCashBalance: f } = ke(), { selectedAccountGuids: u } = P(), { cashflow: c } = k(), {
76
76
  daysUntilNextIncome: l,
77
77
  expensesTilNextIncome: b,
78
78
  selectedCashAccounts: a,
79
79
  setNextIncome: g,
80
80
  setSelectedCashAccounts: d,
81
81
  setUpcomingExpenses: x
82
- } = q(), { isDataLoaded: _, nextIncomeRecurrence: w, upcomingExpenses: R } = j();
82
+ } = q(), { isDataLoaded: C, nextIncomeRecurrence: w, upcomingExpenses: R } = B();
83
83
  h.useEffect(() => {
84
84
  d(
85
- r.filter((C) => p.includes(C.guid))
85
+ r.filter((_) => u.includes(_.guid))
86
86
  );
87
- }, [r, p]), h.useEffect(() => {
87
+ }, [r, u]), h.useEffect(() => {
88
88
  w && g(w), x(R);
89
89
  }, [w, R]);
90
90
  const D = h.useMemo(
91
- () => r.filter((C) => p.includes(C.guid)).reduce((C, S) => C + (S?.balance || 0), 0),
92
- [p, R]
91
+ () => r.filter((_) => u.includes(_.guid)).reduce((_, S) => _ + (S?.balance || 0), 0),
92
+ [u, R]
93
93
  ), L = h.useMemo(
94
- () => b.filter((C) => p.includes(C.accountGuid || "")).reduce((C, S) => C + S.amount, 0),
95
- [p, b]
96
- ), u = h.useMemo(
94
+ () => b.filter((_) => u.includes(_.accountGuid || "")).reduce((_, S) => _ + S.amount, 0),
95
+ [u, b]
96
+ ), p = h.useMemo(
97
97
  () => D - L,
98
98
  [D, L]
99
99
  );
100
- return _ ? /* @__PURE__ */ e(I, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: o > 710 ? /* @__PURE__ */ n(
100
+ return C ? /* @__PURE__ */ e(I, { className: "mx-cashflow", pl: 16, pr: 16, pt: 16, children: o > 710 ? /* @__PURE__ */ n(
101
101
  s,
102
102
  {
103
103
  border: `1px solid ${i.palette.divider}`,
@@ -120,13 +120,13 @@ const q = () => {
120
120
  ] }),
121
121
  /* @__PURE__ */ e(s, { pt: 18, children: /* @__PURE__ */ e(z, { name: "equal" }) }),
122
122
  /* @__PURE__ */ n(s, { pb: 14, pr: 24, pt: 12, children: [
123
- /* @__PURE__ */ e(E, { amount: u, variant: "h2" }),
123
+ /* @__PURE__ */ e(E, { amount: p, variant: "h2" }),
124
124
  /* @__PURE__ */ n(s, { alignItems: "center", direction: "row", gap: 8, children: [
125
125
  /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.available_to_spend }),
126
126
  /* @__PURE__ */ e(pe, { body: c.tooltip_body, title: c.tooltip_title })
127
127
  ] })
128
128
  ] }),
129
- /* @__PURE__ */ e(s, { borderLeft: `1px solid ${i.palette.divider}`, pb: 12, pl: 24, pt: 12, children: /* @__PURE__ */ n($, { children: [
129
+ /* @__PURE__ */ e(s, { borderLeft: `1px solid ${i.palette.divider}`, pb: 12, pl: 24, pt: 12, children: /* @__PURE__ */ n(j, { children: [
130
130
  /* @__PURE__ */ e(m, { variant: "h2", children: H(c.days, l) }),
131
131
  /* @__PURE__ */ e(N, { variant: "caption", whiteSpace: "nowrap", children: c.next_paycheck })
132
132
  ] }) })
@@ -157,7 +157,7 @@ const q = () => {
157
157
  justifyContent: "space-between",
158
158
  px: 16,
159
159
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
160
- children: /* @__PURE__ */ e(he, { remaining: u })
160
+ children: /* @__PURE__ */ e(he, { remaining: p })
161
161
  }
162
162
  ),
163
163
  /* @__PURE__ */ e(v, {}),
@@ -166,14 +166,14 @@ const q = () => {
166
166
  /* @__PURE__ */ e(m, { bold: !0, variant: "caption", children: H(c.days, l) })
167
167
  ] })
168
168
  ] }) }) : /* @__PURE__ */ e(Z, { height: t ? 210 : 120 });
169
- }, Ct = A(yt), _t = ({
169
+ }, _t = A(yt), Ct = ({
170
170
  onPrimaryCtaClick: i,
171
171
  onSecondaryCtaClick: o,
172
172
  sx: t = {}
173
173
  }) => {
174
- const { cashflow: r } = k(), { isInitialized: f } = P(), { loadRepeatingTransactionData: p, income: c, isDataLoaded: l, setDateRange: b } = j();
174
+ const { cashflow: r } = k(), { isInitialized: f } = P(), { loadRepeatingTransactionData: u, income: c, isDataLoaded: l, setDateRange: b } = B();
175
175
  h.useEffect(() => {
176
- b({ start: F(), end: Ye(F(), 1) }), l || p().finally();
176
+ b({ start: F(), end: Ye(F(), 1) }), l || u().finally();
177
177
  }, []), Oe({
178
178
  widgetName: "CashflowMiniWidget",
179
179
  isLoaded: l
@@ -201,11 +201,11 @@ const q = () => {
201
201
  primaryButtonStartIcon: "add",
202
202
  subText: r.create_description
203
203
  }
204
- ) : /* @__PURE__ */ e(Ct, {}))
204
+ ) : /* @__PURE__ */ e(_t, {}))
205
205
  ]
206
206
  }
207
207
  ) : /* @__PURE__ */ e(Z, {});
208
- }, Hn = A(_t), wt = ({ remaining: i }) => /* @__PURE__ */ e(
208
+ }, Hn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
209
209
  ee,
210
210
  {
211
211
  sx: {
@@ -222,7 +222,7 @@ const q = () => {
222
222
  }
223
223
  );
224
224
  var te = /* @__PURE__ */ ((i) => (i.EXPENSE = "expense", i.INCOME = "income", i))(te || {});
225
- const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
225
+ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
226
226
  /* @__PURE__ */ n(ee, { sx: { display: "flex", alignItems: "center", gap: 16, px: 24, py: 12 }, children: [
227
227
  /* @__PURE__ */ n(s, { alignItems: "center", height: 32, width: 32, children: [
228
228
  /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 11 }, children: U(i.expectedDate, Y.MONTH) }),
@@ -241,7 +241,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
241
241
  /* @__PURE__ */ e(v, {})
242
242
  ] }), Te = A(St), Dt = ({ total: i, type: o }) => {
243
243
  const { cashflow: t } = k();
244
- return /* @__PURE__ */ n($, { children: [
244
+ return /* @__PURE__ */ n(j, { children: [
245
245
  /* @__PURE__ */ n(
246
246
  nt,
247
247
  {
@@ -266,7 +266,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
266
266
  /* @__PURE__ */ e(v, {})
267
267
  ] });
268
268
  }, 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 = () => {
269
- const { availableWidth: i } = ae(), { cashflow: o } = k(), { upcomingExpenses: t, upcomingIncome: r } = j(), { dateRange: f, selectedCashAccounts: p } = q();
269
+ const { availableWidth: i } = ae(), { cashflow: o } = k(), { upcomingExpenses: t, upcomingIncome: r } = B(), { dateRange: f, selectedCashAccounts: u } = q();
270
270
  return /* @__PURE__ */ n(s, { children: [
271
271
  /* @__PURE__ */ n(s, { direction: i < 400 ? "column" : "row", justifyContent: "space-between", children: [
272
272
  /* @__PURE__ */ e(m, { bold: !0, sx: { fontSize: 15, mb: 12, whiteSpace: "normal" }, children: o.accounts_breakdown }),
@@ -277,7 +277,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
277
277
  U(f.end, Y.FULL_MONTH_DAY)
278
278
  ] })
279
279
  ] }),
280
- /* @__PURE__ */ e(s, { children: p.map((c) => {
280
+ /* @__PURE__ */ e(s, { children: u.map((c) => {
281
281
  const l = r.filter(oe(c, f)).sort((d, x) => le(d.expectedDate) - le(x.expectedDate)), b = t.filter(
282
282
  oe(c, f)
283
283
  ), a = l.reduce(
@@ -338,13 +338,13 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
338
338
  }) })
339
339
  ] });
340
340
  }, vt = A(It), Tt = () => {
341
- const { availableWidth: i } = ae(), o = ie(), { cashflow: t } = k(), { upcomingExpenses: r, upcomingIncome: f } = j(), { dateRange: p, selectedCashAccounts: c } = q(), l = [
341
+ const { availableWidth: i } = ae(), o = ie(), { cashflow: t } = k(), { upcomingExpenses: r, upcomingIncome: f } = B(), { dateRange: u, selectedCashAccounts: c } = q(), l = [
342
342
  {
343
343
  field: "account",
344
344
  flex: 1.5,
345
345
  headerName: t.accounts,
346
346
  renderCell: ({ value: { name: a, nickname: g, institution_guid: d, account_number: x } }) => {
347
- const _ = g || a;
347
+ const C = g || a;
348
348
  return /* @__PURE__ */ n(s, { alignItems: "center", flexDirection: "row", gap: 12, children: [
349
349
  /* @__PURE__ */ e(
350
350
  xe,
@@ -354,7 +354,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
354
354
  size: 16
355
355
  }
356
356
  ),
357
- /* @__PURE__ */ e(m, { variant: "body2", children: `${_} ${x ? `*${x}` : ""}` })
357
+ /* @__PURE__ */ e(m, { variant: "body2", children: `${C} ${x ? `*${x}` : ""}` })
358
358
  ] });
359
359
  }
360
360
  },
@@ -398,10 +398,10 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
398
398
  }
399
399
  ], b = h.useMemo(() => c.map((a) => {
400
400
  const g = r.filter(
401
- oe(a, { start: F(), end: Ce(F(), 30) })
402
- ).reduce((_, w) => _ + w.amount, 0), d = f.filter(
403
- oe(a, { start: F(), end: Ce(F(), 30) })
404
- ).reduce((_, w) => _ + w.amount, 0), x = (a.balance || 0) + d - g;
401
+ oe(a, { start: F(), end: _e(F(), 30) })
402
+ ).reduce((C, w) => C + w.amount, 0), d = f.filter(
403
+ oe(a, { start: F(), end: _e(F(), 30) })
404
+ ).reduce((C, w) => C + w.amount, 0), x = (a.balance || 0) + d - g;
405
405
  return {
406
406
  account: a,
407
407
  balance: a.balance || 0,
@@ -446,10 +446,10 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
446
446
  )
447
447
  ] }),
448
448
  /* @__PURE__ */ n(m, { bold: !0, sx: { fontSize: 15, whiteSpace: "normal" }, children: [
449
- U(p.start, Y.FULL_MONTH_DAY),
449
+ U(u.start, Y.FULL_MONTH_DAY),
450
450
  " -",
451
451
  " ",
452
- U(p.end, Y.FULL_MONTH_DAY)
452
+ U(u.end, Y.FULL_MONTH_DAY)
453
453
  ] })
454
454
  ]
455
455
  }
@@ -485,7 +485,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
485
485
  }
486
486
  }
487
487
  ) : b.map((a) => {
488
- const { name: g, nickname: d, institution_guid: x, account_number: _ } = a.account, w = d || g;
488
+ const { name: g, nickname: d, institution_guid: x, account_number: C } = a.account, w = d || g;
489
489
  return /* @__PURE__ */ e(
490
490
  Q,
491
491
  {
@@ -514,7 +514,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
514
514
  size: 16
515
515
  }
516
516
  ),
517
- /* @__PURE__ */ e(m, { variant: "body2", children: `${w} ${_ ? `*${_}` : ""}` })
517
+ /* @__PURE__ */ e(m, { variant: "body2", children: `${w} ${C ? `*${C}` : ""}` })
518
518
  ] }),
519
519
  /* @__PURE__ */ e(E, { amount: a.balance, bold: !0, variant: "body2" })
520
520
  ]
@@ -574,7 +574,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
574
574
  }
575
575
  );
576
576
  }, At = A(Tt), Rt = () => {
577
- const { cashflow: i } = k(), { isDesktop: o } = ue(), { onEvent: t } = Le(), [r, f] = h.useState(0), p = (c, l) => {
577
+ const { cashflow: i } = k(), { isDesktop: o } = ue(), { onEvent: t } = Le(), [r, f] = h.useState(0), u = (c, l) => {
578
578
  f(l);
579
579
  };
580
580
  return h.useEffect(() => {
@@ -585,7 +585,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
585
585
  {
586
586
  "aria-label": i.cashflow_summary_and_details,
587
587
  centered: !0,
588
- onChange: p,
588
+ onChange: u,
589
589
  textColor: "primary",
590
590
  value: r,
591
591
  variant: "fullWidth",
@@ -616,8 +616,8 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
616
616
  }
617
617
  ),
618
618
  /* @__PURE__ */ e(I, { sx: { mb: 32 } }),
619
- /* @__PURE__ */ e(_e, { index: 0, name: "cashflow", value: r, children: /* @__PURE__ */ e(I, { sx: { m: o ? 48 : 16 }, children: /* @__PURE__ */ e(At, {}) }) }),
620
- /* @__PURE__ */ e(_e, { index: 1, name: "cashflow", value: r, children: /* @__PURE__ */ e(I, { sx: { m: o ? 48 : 16 }, children: /* @__PURE__ */ e(vt, {}) }) })
619
+ /* @__PURE__ */ e(Ce, { index: 0, name: "cashflow", value: r, children: /* @__PURE__ */ e(I, { sx: { m: o ? 48 : 16 }, children: /* @__PURE__ */ e(At, {}) }) }),
620
+ /* @__PURE__ */ e(Ce, { index: 1, name: "cashflow", value: r, children: /* @__PURE__ */ e(I, { sx: { m: o ? 48 : 16 }, children: /* @__PURE__ */ e(vt, {}) }) })
621
621
  ] });
622
622
  }, Et = A(Rt), ne = ({
623
623
  amount: i,
@@ -625,7 +625,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
625
625
  isTotal: t = !1,
626
626
  label: r,
627
627
  symbol: f,
628
- tooltip: p
628
+ tooltip: u
629
629
  }) => /* @__PURE__ */ n(
630
630
  s,
631
631
  {
@@ -638,51 +638,51 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
638
638
  !o && /* @__PURE__ */ e(E, { amount: i, component: "h2", variant: "h2" }),
639
639
  /* @__PURE__ */ n(s, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
640
640
  /* @__PURE__ */ e(m, { bold: t, variant: "body2", children: r }),
641
- p
641
+ u
642
642
  ] }),
643
643
  o && /* @__PURE__ */ e(E, { amount: i, component: "h2", symbol: f, variant: "body2" })
644
644
  ]
645
645
  }
646
646
  ), Re = (i, o) => (t) => t.accountGuid && i.includes(t.accountGuid) && (Fe(t.expectedDate) || Ge(t.expectedDate, o.start)) && Me(t.expectedDate, o.end), kt = () => {
647
- const { availableWidth: i } = ae(), { cashflow: o } = k(), { income: t, isDataLoaded: r, upcomingExpenses: f, upcomingIncome: p } = j(), { selectedAccountGuids: c } = P(), { dateRange: l, selectedCashAccounts: b } = q(), [a, g] = h.useState(!1), d = h.useMemo(
647
+ 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(
648
648
  () => f.filter(Re(c, l)),
649
649
  [l, c, f]
650
650
  ), x = h.useMemo(
651
- () => p.filter(Re(c, l)),
652
- [l, c, p]
653
- ), _ = h.useMemo(
654
- () => b.reduce((C, S) => C + (S?.balance || 0), 0),
651
+ () => u.filter(Re(c, l)),
652
+ [l, c, u]
653
+ ), C = h.useMemo(
654
+ () => b.reduce((_, S) => _ + (S?.balance || 0), 0),
655
655
  [b]
656
- ), w = d.reduce((C, S) => C + S.amount, 0), R = x.reduce((C, S) => C + S.amount, 0), D = _ - w + R, L = r && t.length > 0, u = i < 725;
657
- return /* @__PURE__ */ n(s, { sx: { mx: u ? 16 : 0, my: u ? 24 : 42 }, children: [
656
+ ), 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;
657
+ return /* @__PURE__ */ n(s, { sx: { mx: p ? 16 : 0, my: p ? 24 : 42 }, children: [
658
658
  /* @__PURE__ */ n(
659
659
  s,
660
660
  {
661
- border: u ? "1px solid" : "none",
661
+ border: p ? "1px solid" : "none",
662
662
  borderColor: "neutral.light",
663
663
  borderRadius: 2,
664
- flexDirection: u ? "column" : "row",
665
- gap: u ? 0 : 24,
664
+ flexDirection: p ? "column" : "row",
665
+ gap: p ? 0 : 24,
666
666
  justifyContent: "center",
667
667
  children: [
668
668
  /* @__PURE__ */ e(
669
669
  ne,
670
670
  {
671
- amount: _,
672
- isMobile: u,
671
+ amount: C,
672
+ isMobile: p,
673
673
  label: H(o.cash_and_bank, b.length)
674
674
  }
675
675
  ),
676
- u && /* @__PURE__ */ e(v, {}),
677
- L ? /* @__PURE__ */ n($, { children: [
678
- !u && /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
676
+ p && /* @__PURE__ */ e(v, {}),
677
+ L ? /* @__PURE__ */ n(j, { children: [
678
+ !p && /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
679
679
  /* @__PURE__ */ e(
680
680
  ne,
681
681
  {
682
682
  amount: R,
683
- isMobile: u,
683
+ isMobile: p,
684
684
  label: o.to_be_received,
685
- symbol: u ? "+" : void 0
685
+ symbol: p ? "+" : void 0
686
686
  }
687
687
  )
688
688
  ] }) : /* @__PURE__ */ e(
@@ -694,23 +694,23 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
694
694
  children: o.add_income
695
695
  }
696
696
  ),
697
- u ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
697
+ p ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
698
698
  /* @__PURE__ */ e(
699
699
  ne,
700
700
  {
701
701
  amount: w,
702
- isMobile: u,
702
+ isMobile: p,
703
703
  label: H(o.to_be_paid_out, d.length),
704
- symbol: u ? "-" : void 0
704
+ symbol: p ? "-" : void 0
705
705
  }
706
706
  ),
707
- u ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
707
+ p ? /* @__PURE__ */ e(v, {}) : /* @__PURE__ */ e(m, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
708
708
  /* @__PURE__ */ e(
709
709
  ne,
710
710
  {
711
711
  amount: D,
712
- isMobile: u,
713
- isTotal: u,
712
+ isMobile: p,
713
+ isTotal: p,
714
714
  label: o.remaining_cash,
715
715
  tooltip: /* @__PURE__ */ e(
716
716
  pe,
@@ -737,21 +737,21 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
737
737
  )
738
738
  ] });
739
739
  }, Lt = A(kt), Nt = ({ onBackClick: i, onMenuClick: o, sx: t = {} }) => {
740
- const { selectedAccounts: r, selectedAccountGuids: f, shouldDisableNextDate: p, shouldDisablePrevDate: c } = P(), { onEvent: l } = Le(), { clientConfig: b } = Ve(), { visibleCashAccounts: a } = ke(), { setFilter: g } = Ne(), { dateRange: d, setSelectedCashAccounts: x } = q(), { loadRepeatingTransactionData: _, isDataLoaded: w, setDateRange: R } = j(), { cashflow: D, recurring: L } = k(), { isInitialized: u } = P(), S = b?.master?.deep_link_params?.view === "manage_income", [re, K] = h.useState(S);
740
+ 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);
741
741
  return h.useEffect(() => {
742
- R(d), w || _().finally();
742
+ R(d), w || C().finally();
743
743
  }, []), h.useEffect(() => {
744
- const se = a.map((G) => G.guid), B = r.filter(
744
+ const se = a.map((G) => G.guid), $ = r.filter(
745
745
  (G) => f.includes(G.guid) && se.includes(G.guid)
746
746
  );
747
- x(B), g({
747
+ x($), g({
748
748
  dateRange: { start: We(F(), 90), end: dt() },
749
- accounts: B.map((G) => G.guid)
749
+ accounts: $.map((G) => G.guid)
750
750
  });
751
751
  }, [a, r]), Oe({
752
752
  widgetName: "CashflowWidget",
753
753
  isLoaded: w
754
- }), u ? /* @__PURE__ */ n(
754
+ }), p ? /* @__PURE__ */ n(
755
755
  mt,
756
756
  {
757
757
  actions: [
@@ -771,7 +771,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
771
771
  X.CHECKING_LINE_OF_CREDIT
772
772
  ],
773
773
  calendarActions: {
774
- shouldDisableNext: p,
774
+ shouldDisableNext: u,
775
775
  shouldDisablePrevious: c,
776
776
  shouldDisablePicker: !0,
777
777
  onRangeChanged: () => {
@@ -889,18 +889,18 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
889
889
  transform: rotate(360deg);
890
890
  }
891
891
  `, Wt = () => {
892
- const { addRepeatingTransaction: i, repeatingTransactions: o } = j(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: p } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), _ = ie(), [w, R] = V(!0), [D, L] = h.useState(bt.EveryMonth), [u, C] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [B, G] = V(1), [O, $e] = V([]), [fe, ce] = V(""), M = h.useMemo(
892
+ 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(bt.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(
893
893
  () => x.find((y) => y.guid === fe),
894
894
  [fe, x]
895
- ), je = !!o.filter(
895
+ ), Be = !!o.filter(
896
896
  (y) => y.repeating_transaction_type === ve.Income
897
897
  ).length, ge = async () => {
898
898
  G(2), a(
899
899
  // Beginning of the month, 90 days before today
900
- ut(We(F(), 90)),
900
+ pt(We(F(), 90)),
901
901
  F()
902
902
  ), d({ ...g, custom: we }), G(3);
903
- }, Be = async () => {
903
+ }, $e = async () => {
904
904
  if (!(O.length < 1)) {
905
905
  se(!0);
906
906
  for (let y = 0; y < O.length; y++) {
@@ -911,7 +911,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
911
911
  //user
912
912
  merchant_guid: T.merchant_guid,
913
913
  description: T.feed_description || T.description,
914
- predicted_occurs_on: pt(be, { representation: "date" }),
914
+ predicted_occurs_on: ut(be, { representation: "date" }),
915
915
  recurrence_day: be.getDay(),
916
916
  recurrence_type: D,
917
917
  repeating_transaction_type: ve.Income,
@@ -921,7 +921,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
921
921
  };
922
922
  await i(Ue, T);
923
923
  }
924
- await p();
924
+ await u();
925
925
  }
926
926
  }, Pe = !M && w || !M && O.length < 1;
927
927
  return b ? /* @__PURE__ */ n(
@@ -930,7 +930,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
930
930
  sx: {
931
931
  display: "flex",
932
932
  alignItems: l ? "flex-start" : "center",
933
- backgroundColor: _.palette.background.paper,
933
+ backgroundColor: C.palette.background.paper,
934
934
  backgroundImage: l ? null : `url(${ze.CASHFLOW_ONBOARDING})`,
935
935
  backgroundRepeat: "no-repeat",
936
936
  backgroundPosition: "left 100px",
@@ -938,7 +938,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
938
938
  py: 24
939
939
  },
940
940
  children: [
941
- B === 1 && /* @__PURE__ */ e(
941
+ $ === 1 && /* @__PURE__ */ e(
942
942
  I,
943
943
  {
944
944
  sx: {
@@ -947,7 +947,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
947
947
  children: /* @__PURE__ */ e(Gt, { handleNextStep: ge })
948
948
  }
949
949
  ),
950
- B === 2 && /* @__PURE__ */ e(
950
+ $ === 2 && /* @__PURE__ */ e(
951
951
  I,
952
952
  {
953
953
  sx: {
@@ -956,7 +956,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
956
956
  children: /* @__PURE__ */ e(Ft, {})
957
957
  }
958
958
  ),
959
- B === 3 && /* @__PURE__ */ n(
959
+ $ === 3 && /* @__PURE__ */ n(
960
960
  I,
961
961
  {
962
962
  sx: {
@@ -965,7 +965,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
965
965
  children: [
966
966
  /* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.add_income_title }),
967
967
  /* @__PURE__ */ e(N, { mb: 24, children: t.add_income_description }),
968
- O.length > 0 && !M && /* @__PURE__ */ n($, { children: [
968
+ O.length > 0 && !M && /* @__PURE__ */ n(j, { children: [
969
969
  /* @__PURE__ */ e(Q, { children: O.map((y, T) => /* @__PURE__ */ n(h.Fragment, { children: [
970
970
  /* @__PURE__ */ e(ht, { bgcolor: "background.paper", children: gt(
971
971
  le(y.nextDate || y.date)
@@ -998,15 +998,15 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
998
998
  }
999
999
  }
1000
1000
  ),
1001
- !je && c && /* @__PURE__ */ e(N, { color: "error", mt: 16, children: t.confirm_error }),
1002
- M && /* @__PURE__ */ n($, { children: [
1001
+ !Be && c && /* @__PURE__ */ e(N, { color: "error", mt: 16, children: t.confirm_error }),
1002
+ M && /* @__PURE__ */ n(j, { children: [
1003
1003
  /* @__PURE__ */ e(
1004
1004
  lt,
1005
1005
  {
1006
1006
  bgcolor: "background.paper",
1007
- firstDay: u,
1007
+ firstDay: p,
1008
1008
  frequency: D,
1009
- onFirstDayChange: C,
1009
+ onFirstDayChange: _,
1010
1010
  onFrequencyChange: L,
1011
1011
  onSecondDayChange: re,
1012
1012
  secondDay: S,
@@ -1024,7 +1024,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
1024
1024
  ...M,
1025
1025
  nextDate: Ie(D, De(M.date)),
1026
1026
  frequency: D
1027
- }), $e(y), ce("");
1027
+ }), je(y), ce("");
1028
1028
  },
1029
1029
  variant: "contained",
1030
1030
  children: r.confirm_button
@@ -1047,7 +1047,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
1047
1047
  W,
1048
1048
  {
1049
1049
  "aria-disabled": O.length < 1 || K,
1050
- onClick: Be,
1050
+ onClick: $e,
1051
1051
  startIcon: K ? /* @__PURE__ */ e(
1052
1052
  z,
1053
1053
  {
@@ -1061,7 +1061,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
1061
1061
  children: t.confirm_income_button
1062
1062
  }
1063
1063
  ),
1064
- /* @__PURE__ */ e(W, { onClick: p, variant: "outlined", children: t.skip_button })
1064
+ /* @__PURE__ */ e(W, { onClick: u, variant: "outlined", children: t.skip_button })
1065
1065
  ] })
1066
1066
  ]
1067
1067
  }
@@ -1073,6 +1073,6 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n($, { children: [
1073
1073
  export {
1074
1074
  Hn as CashflowMiniWidget,
1075
1075
  zn as CashflowOnboarding,
1076
- Bn as CashflowStore,
1076
+ $n as CashflowStore,
1077
1077
  Wn as CashflowWidget
1078
1078
  };
@@ -1,5 +1,5 @@
1
- import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-BG04ByUx.mjs";
2
- import { C as g } from "../CategoryStore-Bp1kO9Z-.mjs";
1
+ import { C as o, a, b as t, u as C } from "../CategorySelectorDrawer-DjeHNx71.mjs";
2
+ import { C as g } from "../CategoryStore-CA4NTaKH.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -8,6 +8,7 @@ export declare const useWidgetHeaderStyles: (availableWidth?: number) => {
8
8
  iconSize: number;
9
9
  isCompact: boolean;
10
10
  isDesktop: boolean;
11
+ isViewportAbove900: boolean;
11
12
  slotSx: {
12
13
  px?: number | undefined;
13
14
  '& .mx-cmn-date-range-selector'?: {