@mx-cartographer/experiences 7.11.5 → 7.11.7

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 (84) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AccountApi-DgZ8ILj1.mjs → AccountApi-JlrX0MwM.mjs} +1 -1
  3. package/dist/{AccountDetailsHeader-hDo7gojQ.mjs → AccountDetailsHeader-BCi1WwkM.mjs} +2 -2
  4. package/dist/{AccountListItem-CjeAlrPC.mjs → AccountListItem-Ceuh5WKe.mjs} +2 -2
  5. package/dist/{AccountStore-DdGz1ig2.mjs → AccountStore-CSLinWGm.mjs} +2 -2
  6. package/dist/{BeatApi-De2IaqH2.mjs → BeatApi-B7yMnwRX.mjs} +1 -1
  7. package/dist/{BeatStore-D_NYuBSz.mjs → BeatStore-C3njaxFy.mjs} +1 -1
  8. package/dist/BudgetUtil-CTpLz9lw.mjs +101 -0
  9. package/dist/{CategorySelectorDrawer-DpC8T96X.mjs → CategorySelectorDrawer-BMmxw2oY.mjs} +2 -2
  10. package/dist/{CategoryStore-Cg6hsxza.mjs → CategoryStore-BC1Dbefp.mjs} +1 -1
  11. package/dist/{Connect-Dg9HlAWv.mjs → Connect-Df7iVTcV.mjs} +1 -1
  12. package/dist/{ConnectDrawer-BLwcW0Oe.mjs → ConnectDrawer-CVt-8rPJ.mjs} +2 -2
  13. package/dist/{ConnectionsDrawer-UQTh9UEc.mjs → ConnectionsDrawer-c7HaKeRj.mjs} +2 -2
  14. package/dist/{CurrencyInput-PMOAH5R3.mjs → CurrencyInput-CDY0awYV.mjs} +1 -1
  15. package/dist/Dialog-DdCwLgrl.mjs +60 -0
  16. package/dist/{ExportCsvAction-B5Ra5duE.mjs → ExportCsvAction-BSK-EZ4D.mjs} +3 -3
  17. package/dist/{Fetch-DecPFeGU.mjs → Fetch-C67go-m2.mjs} +1 -0
  18. package/dist/{FinstrongStore-DBSoLGSE.mjs → FinstrongStore-93XvOWQr.mjs} +1 -1
  19. package/dist/{GlobalAccountFilter-C8mpfudV.mjs → GlobalAccountFilter-B3v8E_rC.mjs} +1 -1
  20. package/dist/{GoalStore-DzOZ0je_.mjs → GoalStore-XHAvX1lP.mjs} +2 -2
  21. package/dist/{Help-HjHBZzI9.mjs → Help-BBxespai.mjs} +1 -1
  22. package/dist/{LineChart-Dlp9RAJz.mjs → LineChart-Pu3pKqtQ.mjs} +1 -1
  23. package/dist/{ListItemAction-Dq1lMdxh.mjs → ListItemAction-5YhgdUZW.mjs} +2 -2
  24. package/dist/{ManageIncome-nsPkRmtW.mjs → ManageIncome-C389-HAc.mjs} +11 -11
  25. package/dist/{MerchantStore-WvZ4gnQe.mjs → MerchantStore-DeeJLKfx.mjs} +1 -1
  26. package/dist/{MicroWidgetContainer-jvYZ5bb6.mjs → MicroWidgetContainer-CMES42I1.mjs} +1 -1
  27. package/dist/{MiniWidgetContainer-B4gbUTJ2.mjs → MiniWidgetContainer-DhEx4qKi.mjs} +1 -1
  28. package/dist/{NetWorthStore-yV43kJro.mjs → NetWorthStore-iebGdvTb.mjs} +1 -1
  29. package/dist/{NotificationSettings-Bw4fdVRU.mjs → NotificationSettings-BSaCGB8x.mjs} +5 -5
  30. package/dist/{NotificationStore-DBs11ZBH.mjs → NotificationStore-CUhig4c1.mjs} +1 -1
  31. package/dist/{OriginalBalanceAction-CBZ_YHmB.mjs → OriginalBalanceAction-Bq4utJ1f.mjs} +3 -3
  32. package/dist/{RecurringSettings-DPNluP-k.mjs → RecurringSettings-CLtfXCFT.mjs} +2 -2
  33. package/dist/{RecurringTransactionsStore-DAX5ozGz.mjs → RecurringTransactionsStore-Ce7p6L0E.mjs} +1 -1
  34. package/dist/{SettingsStore-BqPjOIWk.mjs → SettingsStore-tK6INBFP.mjs} +2 -2
  35. package/dist/{SpendingLegend-D91UDDIu.mjs → SpendingLegend-bMrPWOGJ.mjs} +1 -1
  36. package/dist/{Transaction-BNO5Yz-B.mjs → Transaction-BR682Yj5.mjs} +1 -1
  37. package/dist/{TransactionApi-CjBoLleL.mjs → TransactionApi-BnjVP2x2.mjs} +1 -1
  38. package/dist/TransactionDetails-Cedp4OOg.mjs +1260 -0
  39. package/dist/{TransactionList-DrtItQUk.mjs → TransactionList-BibbhhS9.mjs} +2 -2
  40. package/dist/{TransactionStore-DYXYuq5s.mjs → TransactionStore-Cv-7GLPT.mjs} +4 -4
  41. package/dist/User-CCSM9p05.mjs +368 -0
  42. package/dist/{ViewMoreMicroCard-BCYgXtiG.mjs → ViewMoreMicroCard-C4QiAZz4.mjs} +3 -3
  43. package/dist/{WidgetContainer-B5jzz8M1.mjs → WidgetContainer-sC5KLXHI.mjs} +3 -3
  44. package/dist/accounts/index.es.js +16 -15
  45. package/dist/analytics/index.es.js +11 -11
  46. package/dist/budgets/api/BudgetsApi.d.ts +1 -0
  47. package/dist/budgets/index.es.js +26 -25
  48. package/dist/budgets/store/BudgetsStore.d.ts +7 -0
  49. package/dist/cashflow/index.es.js +9 -9
  50. package/dist/categories/index.es.js +2 -2
  51. package/dist/common/constants/ApiEndpoints.d.ts +1 -0
  52. package/dist/common/index.es.js +277 -253
  53. package/dist/common/stores/GlobalStore.d.ts +3 -1
  54. package/dist/common/types/Budget.d.ts +8 -0
  55. package/dist/common/types/localization/BudgetsCopy.d.ts +5 -0
  56. package/dist/common/types/localization/CommonCopy.d.ts +2 -0
  57. package/dist/dashboard/index.es.js +4 -4
  58. package/dist/debts/index.es.js +8 -8
  59. package/dist/{exportTransactionsToCSV-DC2YMFft.mjs → exportTransactionsToCSV-YXwmzmUp.mjs} +1 -1
  60. package/dist/finstrong/index.es.js +13 -13
  61. package/dist/goals/index.es.js +11 -11
  62. package/dist/help/index.es.js +4 -4
  63. package/dist/{hooks-0kWPTHNb.mjs → hooks-zu7yblbi.mjs} +3 -3
  64. package/dist/insights/index.es.js +4 -4
  65. package/dist/investments/index.es.js +4 -4
  66. package/dist/merchants/index.es.js +2 -2
  67. package/dist/microinsights/index.es.js +1 -1
  68. package/dist/networth/index.es.js +8 -8
  69. package/dist/notifications/index.es.js +11 -11
  70. package/dist/recurringtransactions/index.es.js +102 -102
  71. package/dist/settings/index.es.js +9 -9
  72. package/dist/spending/index.es.js +8 -8
  73. package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.d.ts +3 -1
  74. package/dist/transactions/index.es.js +18 -18
  75. package/dist/trends/index.es.js +12 -12
  76. package/dist/{useAccountDisplayName-BQfelpG3.mjs → useAccountDisplayName-CxYB0Wpw.mjs} +1 -1
  77. package/dist/{useCombineEvents-ARuNN9Xh.mjs → useCombineEvents-C6fkIgHW.mjs} +1 -1
  78. package/dist/{useInsightsEnabled-bDCTNOJS.mjs → useInsightsEnabled-CYLDtNYt.mjs} +1 -1
  79. package/dist/{useWidgetLoadTimer-yzSfT9dS.mjs → useWidgetLoadTimer-Bmgv_UeH.mjs} +1 -1
  80. package/package.json +1 -1
  81. package/dist/BudgetUtil-C71e-szt.mjs +0 -236
  82. package/dist/Dialog-BqUCsQvo.mjs +0 -58
  83. package/dist/TransactionDetails-CurpH7lH.mjs +0 -1181
  84. package/dist/User-C8w4H0cj.mjs +0 -237
@@ -6,8 +6,8 @@ import { endOfToday as Z } from "date-fns/endOfToday";
6
6
  import { startOfMonth as G } from "date-fns/startOfMonth";
7
7
  import { startOfToday as J } from "date-fns/startOfToday";
8
8
  import { subDays as Q } from "date-fns/subDays";
9
- import { R as Te } from "../RecurringSettings-DPNluP-k.mjs";
10
- import { M as Ln } from "../RecurringSettings-DPNluP-k.mjs";
9
+ import { R as Te } from "../RecurringSettings-CLtfXCFT.mjs";
10
+ import { M as Ln } from "../RecurringSettings-CLtfXCFT.mjs";
11
11
  import { addMonths as $e } from "date-fns/addMonths";
12
12
  import { subMonths as Be } from "date-fns/subMonths";
13
13
  import { isBefore as Pe } from "date-fns/isBefore";
@@ -27,35 +27,35 @@ import { isSameDay as Ze } from "date-fns/isSameDay";
27
27
  import Je from "@mui/material/Badge";
28
28
  import { PickersDay as Qe } from "@mui/x-date-pickers/PickersDay";
29
29
  import { I as P } from "../IconBacking-B9oC6uL2.mjs";
30
- import { u as R, b as H, i as _, g as z, p as Se, h as ne } from "../hooks-0kWPTHNb.mjs";
30
+ import { u as R, b as H, j as _, g as z, p as Se, h as ne } from "../hooks-zu7yblbi.mjs";
31
31
  import { d as I, c as T, g as xe, f as et } from "../RecurringTransactions-B_I4_FGO.mjs";
32
- import { T as O } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
33
- import { R as En } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
32
+ import { T as O } from "../RecurringTransactionsStore-Ce7p6L0E.mjs";
33
+ import { R as En } from "../RecurringTransactionsStore-Ce7p6L0E.mjs";
34
34
  import { A as S } from "../Analytics-i5h6BxR1.mjs";
35
35
  import tt from "@mui/material/Button";
36
36
  import q from "@mui/material/Divider";
37
37
  import be from "@mui/material/List";
38
38
  import Ie from "@mui/material/ListItem";
39
39
  import nt from "@mui/material/ListSubheader";
40
- import it from "@mui/material/ListItemAvatar";
41
- import rt from "@mui/material/ListItemButton";
40
+ import rt from "@mui/material/ListItemAvatar";
41
+ import it from "@mui/material/ListItemButton";
42
42
  import ot from "@mui/material/ListItemText";
43
- import { b as at } from "../ManageIncome-nsPkRmtW.mjs";
44
- import { c as Gn, M as On, S as kn } from "../ManageIncome-nsPkRmtW.mjs";
43
+ import { b as at } from "../ManageIncome-C389-HAc.mjs";
44
+ import { c as Gn, M as On, S as kn } from "../ManageIncome-C389-HAc.mjs";
45
45
  import { f as M } from "../NumberFormatting-DjTD0t3W.mjs";
46
- import { D as ie } from "../Drawer-DV4NTsFg.mjs";
46
+ import { D as re } from "../Drawer-DV4NTsFg.mjs";
47
47
  import { b as E } from "../Localization-2MODESHW.mjs";
48
48
  import { f as v, D as L } from "../DateFormats-Cs-NbEZ7.mjs";
49
49
  import N from "@mui/material/Box";
50
50
  import { S as Me } from "../StatusBar-BK_uYHAB.mjs";
51
- import { u as re } from "../useScreenSize-B6JyS_Lj.mjs";
51
+ import { u as ie } from "../useScreenSize-B6JyS_Lj.mjs";
52
52
  import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
53
- import { u as oe } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
53
+ import { u as oe } from "../useWidgetLoadTimer-Bmgv_UeH.mjs";
54
54
  import { L as ae } from "../Loader-D3rjKx72.mjs";
55
- import { W as st } from "../WidgetContainer-B5jzz8M1.mjs";
56
- import { M as ct } from "../MiniWidgetContainer-B4gbUTJ2.mjs";
55
+ import { W as st } from "../WidgetContainer-sC5KLXHI.mjs";
56
+ import { M as ct } from "../MiniWidgetContainer-DhEx4qKi.mjs";
57
57
  import { u as lt } from "../useDimensions-CeDR9V8N.mjs";
58
- import { M as dt } from "../MicroWidgetContainer-jvYZ5bb6.mjs";
58
+ import { M as dt } from "../MicroWidgetContainer-CMES42I1.mjs";
59
59
  const F = {
60
60
  gridRow: 1,
61
61
  gridColumn: 1,
@@ -67,10 +67,10 @@ const F = {
67
67
  sx: { color: "categories.income", fontSize: n, ...F }
68
68
  }
69
69
  ) }), le = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(De, { color: "error", filled: !0, sx: { fontSize: n, ...F } }) }), de = ({ isOffset: t = !1, size: n = 16 }) => /* @__PURE__ */ e(P, { size: n, sx: { ...U(t) }, children: /* @__PURE__ */ e(we, { color: "success", filled: !0, sx: { fontSize: n, ...F } }) }), ut = C(
70
- ({ day: t, outsideCurrentMonth: n, ...i }) => {
71
- const { recurring: o } = R(), { selectedAccountGuids: r } = H(), { recurrences: c, setSelectedDay: u } = _(), s = x.useMemo(
72
- () => c.filter((f) => r.includes(f.accountGuid)),
73
- [r, c]
70
+ ({ day: t, outsideCurrentMonth: n, ...r }) => {
71
+ const { recurring: o } = R(), { selectedAccountGuids: i } = H(), { recurrences: c, setSelectedDay: u } = _(), s = x.useMemo(
72
+ () => c.filter((f) => i.includes(f.accountGuid)),
73
+ [i, c]
74
74
  ).filter(
75
75
  (f) => Ze(f.occurredOnDate || f.expectedDate, t)
76
76
  ), d = s.some(
@@ -115,7 +115,7 @@ const F = {
115
115
  }
116
116
  }
117
117
  },
118
- ...i
118
+ ...r
119
119
  }
120
120
  )
121
121
  }
@@ -144,7 +144,7 @@ const F = {
144
144
  }
145
145
  );
146
146
  }), ye = 58, Le = C(() => {
147
- const t = te(), { onEvent: n } = z(), { selectedDay: i, setDateRange: o } = _(), [r, c] = x.useState(
147
+ const t = te(), { onEvent: n } = z(), { selectedDay: r, setDateRange: o } = _(), [i, c] = x.useState(
148
148
  fe(/* @__PURE__ */ new Date()) * O + ye
149
149
  ), u = (m) => {
150
150
  c(fe(m) * O + ye), o({
@@ -190,10 +190,10 @@ const F = {
190
190
  fontWeight: 600
191
191
  },
192
192
  "& .MuiDayCalendar-slideTransition": {
193
- minHeight: r
193
+ minHeight: i
194
194
  },
195
195
  "&.MuiDateCalendar-root": {
196
- minHeight: r + O
196
+ minHeight: i + O
197
197
  },
198
198
  "& .MuiButtonBase-root, .MuiDayCalendar-weekDayLabel": {
199
199
  height: O,
@@ -205,7 +205,7 @@ const F = {
205
205
  fontSize: t.typography.body2.fontSize
206
206
  }
207
207
  },
208
- value: i,
208
+ value: r,
209
209
  views: ["day"]
210
210
  }
211
211
  );
@@ -235,8 +235,8 @@ const F = {
235
235
  }
236
236
  ),
237
237
  /* @__PURE__ */ a(qe, { dateAdapter: Ve, children: [
238
- i && s,
239
- !i && s,
238
+ r && s,
239
+ !r && s,
240
240
  /* @__PURE__ */ e(mt, {})
241
241
  ] })
242
242
  ]
@@ -279,21 +279,21 @@ const F = {
279
279
  }, Ce = ({
280
280
  recurrence: t,
281
281
  isMini: n = !1,
282
- onRecurrenceClick: i = () => {
282
+ onRecurrenceClick: r = () => {
283
283
  },
284
284
  showOrdinal: o = !1
285
285
  }) => {
286
- const { recurring: r } = R(), { detailedRepeatingTransactions: c } = _(), [u, p] = x.useState(!1), s = x.useMemo(
286
+ const { recurring: i } = R(), { detailedRepeatingTransactions: c } = _(), [u, p] = x.useState(!1), s = x.useMemo(
287
287
  () => c.find((A) => A.guid === t.repeatingTransactionGuid),
288
288
  [t, c]
289
289
  ), d = t.type === I.Income, m = t.status === T.Paid, g = t.status === T.Missed, b = t.status === T.Upcoming;
290
- let y = r.paid?.toLowerCase();
291
- return g ? y = r.missed?.toLowerCase() : b && (y = o ? xe(r, s || {}, !0) : xe(r, s || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
290
+ let y = i.paid?.toLowerCase();
291
+ return g ? y = i.missed?.toLowerCase() : b && (y = o ? xe(i, s || {}, !0) : xe(i, s || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
292
292
  /* @__PURE__ */ a(Ie, { disableGutters: !0, disablePadding: !0, children: [
293
- /* @__PURE__ */ a(rt, { onClick: () => {
294
- p(!0), i(t);
293
+ /* @__PURE__ */ a(it, { onClick: () => {
294
+ p(!0), r(t);
295
295
  }, children: [
296
- /* @__PURE__ */ e(it, { children: /* @__PURE__ */ e(
296
+ /* @__PURE__ */ e(rt, { children: /* @__PURE__ */ e(
297
297
  ee,
298
298
  {
299
299
  categoryGuid: t.categoryGuid,
@@ -311,7 +311,7 @@ const F = {
311
311
  /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: t.name }),
312
312
  /* @__PURE__ */ e(l, { alignItems: "center", direction: "row", gap: 6, children: n ? /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
313
313
  pt(t),
314
- /* @__PURE__ */ e(h, { variant: "caption", children: gt(t, r) })
314
+ /* @__PURE__ */ e(h, { variant: "caption", children: gt(t, i) })
315
315
  ] }) : /* @__PURE__ */ a(B, { children: [
316
316
  t.institutionGuid && /* @__PURE__ */ e(
317
317
  Ye,
@@ -353,12 +353,12 @@ const F = {
353
353
  ) })
354
354
  ] }),
355
355
  /* @__PURE__ */ e(
356
- ie,
356
+ re,
357
357
  {
358
- ariaLabelClose: r.close_drawer_aria,
358
+ ariaLabelClose: i.close_drawer_aria,
359
359
  isOpen: u,
360
360
  onClose: () => p(!1),
361
- title: t.type === I.Income ? r.income_details : r.expense_details,
361
+ title: t.type === I.Income ? i.income_details : i.expense_details,
362
362
  children: s && /* @__PURE__ */ e(
363
363
  at,
364
364
  {
@@ -373,13 +373,13 @@ const F = {
373
373
  ({
374
374
  recurrences: t,
375
375
  isMini: n = !1,
376
- onResetClick: i,
376
+ onResetClick: r,
377
377
  onRecurrenceClick: o,
378
- sx: r = {},
378
+ sx: i = {},
379
379
  title: c
380
380
  }) => {
381
381
  const { recurring: u } = R(), p = x.useMemo(() => et(t), [t]);
382
- return /* @__PURE__ */ a(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...r }, "tab-index": -1, children: [
382
+ return /* @__PURE__ */ a(l, { id: "recurrence-list", sx: { gap: 8, mt: 4, ...i }, "tab-index": -1, children: [
383
383
  c && /* @__PURE__ */ a(
384
384
  l,
385
385
  {
@@ -391,7 +391,7 @@ const F = {
391
391
  },
392
392
  children: [
393
393
  /* @__PURE__ */ e(_e, { bold: !0, variant: "body1", children: c }),
394
- i && /* @__PURE__ */ e(tt, { onClick: i, size: "small", variant: "text", children: u.reset })
394
+ r && /* @__PURE__ */ e(tt, { onClick: r, size: "small", variant: "text", children: u.reset })
395
395
  ]
396
396
  }
397
397
  ),
@@ -426,14 +426,14 @@ const F = {
426
426
  ] });
427
427
  }
428
428
  ), Re = C(
429
- ({ expected: t, isExpense: n = !0, missed: i, paid: o, title: r, total: c, upcoming: u }) => {
430
- const p = te(), { isSmallMobile: s } = re(), { recurring: d } = R(), m = x.useMemo(() => {
429
+ ({ expected: t, isExpense: n = !0, missed: r, paid: o, title: i, total: c, upcoming: u }) => {
430
+ const p = te(), { isSmallMobile: s } = ie(), { recurring: d } = R(), m = x.useMemo(() => {
431
431
  const g = [{ color: p.palette.success.main, percentage: `${o / t}` }];
432
- return i && g.push({ color: p.palette.error.main, percentage: `${i / t}` }), g;
433
- }, [o, t, i]);
432
+ return r && g.push({ color: p.palette.error.main, percentage: `${r / t}` }), g;
433
+ }, [o, t, r]);
434
434
  return /* @__PURE__ */ a(l, { children: [
435
435
  /* @__PURE__ */ a(l, { sx: { flexDirection: "row", justifyContent: "space-between", pb: 12 }, children: [
436
- /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${r} (${c})` }),
436
+ /* @__PURE__ */ e(h, { bold: !0, variant: "body1", children: `${i} (${c})` }),
437
437
  /* @__PURE__ */ e(h, { bold: !0, color: n ? "text.primary" : "success.main", variant: "body1", children: `${n ? "-" : "+"}${M(t, "0,0.00")}` })
438
438
  ] }),
439
439
  /* @__PURE__ */ e(Me, { data: m, height: 12 }),
@@ -441,9 +441,9 @@ const F = {
441
441
  /* @__PURE__ */ e(N, { sx: { bgcolor: "success.main", height: 8, mr: 8, width: 8 } }),
442
442
  !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(o, "0,0.00") }),
443
443
  /* @__PURE__ */ e(h, { variant: "caption", children: d.paid?.toLowerCase() }),
444
- i !== void 0 && /* @__PURE__ */ a(B, { children: [
444
+ r !== void 0 && /* @__PURE__ */ a(B, { children: [
445
445
  /* @__PURE__ */ e(N, { sx: { bgcolor: "error.main", height: 8, ml: 16, mr: 8, width: 8 } }),
446
- !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(i, "0,0.00") }),
446
+ !s && /* @__PURE__ */ e(h, { bold: !0, variant: "body2", children: M(r, "0,0.00") }),
447
447
  /* @__PURE__ */ e(h, { variant: "caption", children: d.missed?.toLowerCase() })
448
448
  ] }),
449
449
  /* @__PURE__ */ e(N, { sx: { bgcolor: "divider", height: 8, ml: 16, mr: 8, width: 8 } }),
@@ -453,7 +453,7 @@ const F = {
453
453
  ] });
454
454
  }
455
455
  ), ht = C(() => {
456
- const { recurring: t } = R(), { availableWidth: n } = Se(), { isDesktop: i, isSmallMobile: o, isMobile: r } = re(n), { onEvent: c } = z(), {
456
+ const { recurring: t } = R(), { availableWidth: n } = Se(), { isDesktop: r, isSmallMobile: o, isMobile: i } = ie(n), { onEvent: c } = z(), {
457
457
  currentMonthExpenses: u,
458
458
  currentMonthIncome: p,
459
459
  dateRange: s,
@@ -501,13 +501,13 @@ const F = {
501
501
  },
502
502
  children: [
503
503
  /* @__PURE__ */ a(V, { md: !0, sm: 12, width: "100%", children: [
504
- /* @__PURE__ */ a(l, { sx: { gap: 16, px: i ? 48 : 24 }, children: [
504
+ /* @__PURE__ */ a(l, { sx: { gap: 16, px: r ? 48 : 24 }, children: [
505
505
  /* @__PURE__ */ a(l, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
506
506
  /* @__PURE__ */ e(_e, { children: E(
507
507
  t.header_title,
508
508
  v(s.start, L.MONTH_LONG)
509
509
  ) }),
510
- !i && /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
510
+ !r && /* @__PURE__ */ a(l, { direction: "row", gap: 4, children: [
511
511
  /* @__PURE__ */ e(
512
512
  ge,
513
513
  {
@@ -542,7 +542,7 @@ const F = {
542
542
  upcoming: Ae
543
543
  }
544
544
  ),
545
- i && /* @__PURE__ */ e(
545
+ r && /* @__PURE__ */ e(
546
546
  k,
547
547
  {
548
548
  onRecurrenceClick: me,
@@ -551,7 +551,7 @@ const F = {
551
551
  }
552
552
  )
553
553
  ] }),
554
- !i && /* @__PURE__ */ a(l, { sx: { px: r ? 0 : 24 }, children: [
554
+ !r && /* @__PURE__ */ a(l, { sx: { px: i ? 0 : 24 }, children: [
555
555
  /* @__PURE__ */ a(He, { onChange: Ge, value: Y, variant: "fullWidth", children: [
556
556
  /* @__PURE__ */ e(
557
557
  he,
@@ -582,7 +582,7 @@ const F = {
582
582
  )
583
583
  ] })
584
584
  ] }),
585
- i && /* @__PURE__ */ e(V, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ a(l, { gap: 24, children: [
585
+ r && /* @__PURE__ */ e(V, { sx: { minWidth: 450 }, xs: "auto", children: /* @__PURE__ */ a(l, { gap: 24, children: [
586
586
  /* @__PURE__ */ e(Le, {}),
587
587
  /* @__PURE__ */ e(
588
588
  k,
@@ -600,7 +600,7 @@ const F = {
600
600
  }
601
601
  );
602
602
  }), wn = C(({ onBackClick: t, sx: n = {} }) => {
603
- const { recurring: i } = R(), { isInitialized: o, selectedAccountGuids: r } = H(), { isDataLoaded: c, loadRepeatingTransactionData: u, setDateRange: p } = _(), { setFilter: s } = ne(), { onEvent: d } = z(), { isMobile: m } = re(), [g, b] = x.useState(!1);
603
+ const { recurring: r } = R(), { isInitialized: o, selectedAccountGuids: i } = H(), { isDataLoaded: c, loadRepeatingTransactionData: u, setDateRange: p } = _(), { setFilter: s } = ne(), { onEvent: d } = z(), { isMobile: m } = ie(), [g, b] = x.useState(!1);
604
604
  return oe({
605
605
  widgetName: "RecurringTransactionsWidget",
606
606
  isLoaded: c
@@ -609,14 +609,14 @@ const F = {
609
609
  }, []), x.useEffect(() => {
610
610
  s({
611
611
  dateRange: { start: Q(J(), 90), end: Z() },
612
- accounts: r
612
+ accounts: i
613
613
  }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) });
614
- }, [r]), o ? /* @__PURE__ */ a(
614
+ }, [i]), o ? /* @__PURE__ */ a(
615
615
  st,
616
616
  {
617
617
  actions: [
618
618
  {
619
- label: i.action_title,
619
+ label: r.action_title,
620
620
  iconName: "credit_card_gear",
621
621
  onClick: () => {
622
622
  b(!0), d(S.RECURRING_TRANSACTIONS_CLICK_SETTINGS);
@@ -627,17 +627,17 @@ const F = {
627
627
  onAccountsFilterClick: () => d(S.RECURRING_TRANSACTIONS_CLICK_FILTER),
628
628
  onBackClick: t,
629
629
  sx: n,
630
- title: i.title,
630
+ title: r.title,
631
631
  children: [
632
632
  c ? /* @__PURE__ */ e(ht, {}) : /* @__PURE__ */ e(ve, { sx: { m: 48 }, variant: "list" }),
633
633
  /* @__PURE__ */ e(
634
- ie,
634
+ re,
635
635
  {
636
- ariaLabelClose: i.close_drawer_aria,
636
+ ariaLabelClose: r.close_drawer_aria,
637
637
  isOpen: g,
638
638
  onClose: () => b(!1),
639
639
  shouldShowHeaderBorders: !1,
640
- title: i.action_title,
640
+ title: r.action_title,
641
641
  children: /* @__PURE__ */ e(Te, {})
642
642
  }
643
643
  )
@@ -645,7 +645,7 @@ const F = {
645
645
  }
646
646
  ) : /* @__PURE__ */ e(ae, {});
647
647
  }), ft = C(() => {
648
- const { recurring: t } = R(), { availableWidth: n } = Se(), { selectedDay: i, selectedDayRecurrences: o, setSelectedDay: r, upcomingRecurrences: c } = _(), u = n < 750;
648
+ const { recurring: t } = R(), { availableWidth: n } = Se(), { selectedDay: r, selectedDayRecurrences: o, setSelectedDay: i, upcomingRecurrences: c } = _(), u = n < 750;
649
649
  return /* @__PURE__ */ a(l, { flexDirection: u ? "column" : "row", width: "100%", children: [
650
650
  /* @__PURE__ */ e(Le, {}),
651
651
  !u && /* @__PURE__ */ e(q, { flexItem: !0, orientation: "vertical", sx: { my: 16, ml: 16 } }),
@@ -653,24 +653,24 @@ const F = {
653
653
  k,
654
654
  {
655
655
  isMini: !0,
656
- onResetClick: i ? () => r(i) : void 0,
656
+ onResetClick: r ? () => i(r) : void 0,
657
657
  recurrences: o || c.slice(0, 5),
658
658
  sx: { width: u ? "100%" : "calc(100% - 336px)", mt: 12 },
659
- title: i ? E(
659
+ title: r ? E(
660
660
  t.day_transactions,
661
- v(i, L.MONTH_DAY)
661
+ v(r, L.MONTH_DAY)
662
662
  ) : t.upcoming_activity
663
663
  }
664
664
  )
665
665
  ] });
666
666
  }), _n = C(
667
667
  ({ onPrimaryCtaClick: t, sx: n }) => {
668
- const { recurring: i } = R(), { setFilter: o } = ne(), { isDataLoaded: r, loadRepeatingTransactionData: c } = _(), { isInitialized: u, selectedAccountGuids: p } = H();
668
+ const { recurring: r } = R(), { setFilter: o } = ne(), { isDataLoaded: i, loadRepeatingTransactionData: c } = _(), { isInitialized: u, selectedAccountGuids: p } = H();
669
669
  return oe({
670
670
  widgetName: "RecurringTransactionsMiniWidget",
671
- isLoaded: r
671
+ isLoaded: i
672
672
  }), x.useEffect(() => {
673
- r || c().finally();
673
+ i || c().finally();
674
674
  }, []), x.useEffect(() => {
675
675
  p.length > 0 && o({
676
676
  dateRange: { start: Q(J(), 90), end: Z() },
@@ -681,11 +681,11 @@ const F = {
681
681
  {
682
682
  className: "mx-exp-recurring-transactions-miniwidget",
683
683
  onPrimaryCtaClick: t,
684
- primaryCtaLabel: i.primary_cta,
685
- subTitle: i.sub_title,
684
+ primaryCtaLabel: r.primary_cta,
685
+ subTitle: r.sub_title,
686
686
  sx: n,
687
- title: i.mini_title,
688
- children: r ? /* @__PURE__ */ e(ft, {}) : /* @__PURE__ */ e(ve, { sx: { mx: 16 }, variant: "list" })
687
+ title: r.mini_title,
688
+ children: i ? /* @__PURE__ */ e(ft, {}) : /* @__PURE__ */ e(ve, { sx: { mx: 16 }, variant: "list" })
689
689
  }
690
690
  ) : /* @__PURE__ */ e(ae, {});
691
691
  }
@@ -701,9 +701,9 @@ const F = {
701
701
  }), bt = ({
702
702
  amount: t,
703
703
  bgcolor: n,
704
- isLargeScreen: i,
704
+ isLargeScreen: r,
705
705
  isSmallScreen: o,
706
- label: r
706
+ label: i
707
707
  }) => /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
708
708
  /* @__PURE__ */ e(
709
709
  N,
@@ -717,15 +717,15 @@ const F = {
717
717
  }
718
718
  ),
719
719
  /* @__PURE__ */ a(l, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
720
- !o && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: M(t, t === 0 || !i ? "0,0" : "0,0.00") }),
721
- /* @__PURE__ */ e(h, { variant: "caption", children: r })
720
+ !o && /* @__PURE__ */ e(h, { bold: !0, variant: "caption", children: M(t, t === 0 || !r ? "0,0" : "0,0.00") }),
721
+ /* @__PURE__ */ e(h, { variant: "caption", children: i })
722
722
  ] })
723
723
  ] }), yt = ({
724
724
  upcomingRecurrences: t,
725
725
  logoSize: n = 32,
726
- maxLogos: i = 3
726
+ maxLogos: r = 3
727
727
  }) => {
728
- const o = (r) => r * (n / 2);
728
+ const o = (i) => i * (n / 2);
729
729
  return /* @__PURE__ */ e(
730
730
  N,
731
731
  {
@@ -733,7 +733,7 @@ const F = {
733
733
  position: "relative",
734
734
  width: 64
735
735
  },
736
- children: t.map((r, c) => c < i ? /* @__PURE__ */ e(
736
+ children: t.map((i, c) => c < r ? /* @__PURE__ */ e(
737
737
  N,
738
738
  {
739
739
  sx: {
@@ -747,44 +747,44 @@ const F = {
747
747
  children: /* @__PURE__ */ e(
748
748
  ee,
749
749
  {
750
- categoryGuid: r.categoryGuid || "",
751
- merchantGuid: r.merchantGuid || "",
750
+ categoryGuid: i.categoryGuid || "",
751
+ merchantGuid: i.merchantGuid || "",
752
752
  size: n
753
753
  }
754
754
  )
755
755
  },
756
- `${r.categoryGuid}-${r.merchantGuid}-${c}`
756
+ `${i.categoryGuid}-${i.merchantGuid}-${c}`
757
757
  ) : null)
758
758
  }
759
759
  );
760
760
  }, Ct = ({
761
761
  upcomingRecurrences: t,
762
762
  maxLogos: n = 3
763
- }) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((i, o) => /* @__PURE__ */ e(
763
+ }) => /* @__PURE__ */ e(l, { sx: { flexDirection: "row", gap: 4 }, children: t?.slice(0, n).map((r, o) => /* @__PURE__ */ e(
764
764
  ee,
765
765
  {
766
- categoryGuid: i.categoryGuid || "",
767
- merchantGuid: i.merchantGuid || ""
766
+ categoryGuid: r.categoryGuid || "",
767
+ merchantGuid: r.merchantGuid || ""
768
768
  },
769
- `${i.categoryGuid}-${i.merchantGuid}-${o}`
769
+ `${r.categoryGuid}-${r.merchantGuid}-${o}`
770
770
  )) }), Rt = C(() => {
771
- const t = te(), [n, { width: i }] = lt(), {
771
+ const t = te(), [n, { width: r }] = lt(), {
772
772
  upcomingRecurrences: o,
773
- expenseTotal: r,
773
+ expenseTotal: i,
774
774
  missedExpenseTotal: c,
775
775
  paidExpenseTotal: u,
776
776
  upcomingExpenseTotal: p
777
- } = _(), { recurring: s } = R(), d = i <= 288, m = i >= 450, g = 32, b = o.length > 0, y = x.useMemo(() => M(r, r === 0 ? "0,0" : "0,0.00"), [r]), f = x.useMemo(() => {
777
+ } = _(), { recurring: s } = R(), d = r <= 288, m = r >= 450, g = 32, b = o.length > 0, y = x.useMemo(() => M(i, i === 0 ? "0,0" : "0,0.00"), [i]), f = x.useMemo(() => {
778
778
  const w = [
779
- { color: t.palette.success.main, percentage: `${u / r}` }
779
+ { color: t.palette.success.main, percentage: `${u / i}` }
780
780
  ];
781
781
  return c && w.push({
782
782
  color: t.palette.error.main,
783
- percentage: `${c / r}`
783
+ percentage: `${c / i}`
784
784
  }), w;
785
785
  }, [
786
786
  u,
787
- r,
787
+ i,
788
788
  c,
789
789
  t.palette.success.main,
790
790
  t.palette.error.main
@@ -869,8 +869,8 @@ const F = {
869
869
  ] });
870
870
  }), Sn = C(
871
871
  ({ onCTAClick: t }) => {
872
- const { onEvent: n } = z(), { isInitialized: i, selectedAccountGuids: o } = H(), {
873
- loadRepeatingTransactionData: r,
872
+ const { onEvent: n } = z(), { isInitialized: r, selectedAccountGuids: o } = H(), {
873
+ loadRepeatingTransactionData: i,
874
874
  upcomingRecurrences: c,
875
875
  repeatingTransactions: u,
876
876
  setDateRange: p,
@@ -880,23 +880,23 @@ const F = {
880
880
  widgetName: "RecurringTransactionsMicroWidget",
881
881
  isLoaded: s
882
882
  }), x.useEffect(() => {
883
- s || r().finally(() => {
883
+ s || i().finally(() => {
884
884
  n(S.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
885
885
  state: c.length > 0 ? "default" : "zeroState"
886
886
  });
887
887
  });
888
888
  }, []), x.useEffect(() => {
889
- i && (d({
889
+ r && (d({
890
890
  dateRange: { start: Q(J(), 90), end: Z() },
891
891
  accounts: o
892
892
  }), p({ start: G(/* @__PURE__ */ new Date()), end: W(/* @__PURE__ */ new Date()) }));
893
- }, [i, o]);
893
+ }, [r, o]);
894
894
  const b = () => {
895
895
  n(
896
896
  c.length > 0 ? S.RECURRING_TRANSACTIONS_CLICK_GET_STARTED : S.RECURRING_TRANSACTIONS_CLICK_VIEW_ALL
897
897
  ), t();
898
898
  };
899
- if (!i || !s) return /* @__PURE__ */ e(ae, { height: 100 });
899
+ if (!r || !s) return /* @__PURE__ */ e(ae, { height: 100 });
900
900
  const y = !u?.length;
901
901
  return /* @__PURE__ */ e(
902
902
  dt,
@@ -910,16 +910,16 @@ const F = {
910
910
  );
911
911
  }
912
912
  ), In = C(
913
- ({ isOpen: t, onClose: n, selectedTab: i }) => {
913
+ ({ isOpen: t, onClose: n, selectedTab: r }) => {
914
914
  const { cashflow: o } = R();
915
915
  return /* @__PURE__ */ e(
916
- ie,
916
+ re,
917
917
  {
918
918
  ariaLabelClose: o.close_settings_aria,
919
919
  isOpen: t,
920
920
  onClose: n,
921
921
  title: o.cashflow_settings,
922
- children: /* @__PURE__ */ e(Te, { defaultSelectedTab: i })
922
+ children: /* @__PURE__ */ e(Te, { defaultSelectedTab: r })
923
923
  }
924
924
  );
925
925
  }
@@ -1,4 +1,4 @@
1
- import { S as Xt, a as Yt } from "../SettingsStore-BqPjOIWk.mjs";
1
+ import { S as Xt, a as Yt } from "../SettingsStore-tK6INBFP.mjs";
2
2
  import { jsxs as c, Fragment as Q, jsx as e } from "react/jsx-runtime";
3
3
  import p from "react";
4
4
  import { observer as C } from "mobx-react-lite";
@@ -16,11 +16,11 @@ import V from "@mui/material/Box";
16
16
  import Z from "@mui/material/Button";
17
17
  import I from "@mui/material/TextField";
18
18
  import { H3 as K, P as N, Text as v, Icon as L, ChevronRightIcon as ve } from "@mxenabled/mxui";
19
- import { V as Ce, a as De, N as j } from "../NotificationSettings-Bw4fdVRU.mjs";
20
- import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-Bw4fdVRU.mjs";
21
- import { u as D, a as $, r as A, o as Se, b as ee, m as z } from "../hooks-0kWPTHNb.mjs";
19
+ import { V as Ce, a as De, N as j } from "../NotificationSettings-BSaCGB8x.mjs";
20
+ import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-BSaCGB8x.mjs";
21
+ import { u as D, a as $, r as A, o as Se, b as ee, m as z } from "../hooks-zu7yblbi.mjs";
22
22
  import { u as O } from "../useScreenSize-B6JyS_Lj.mjs";
23
- import { D as G } from "../Dialog-BqUCsQvo.mjs";
23
+ import { D as G } from "../Dialog-DdCwLgrl.mjs";
24
24
  import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
25
25
  import { fromUnixTime as oe } from "date-fns/fromUnixTime";
26
26
  import R from "@mui/material/styles/useTheme";
@@ -35,15 +35,15 @@ import { L as ie } from "../Loader-D3rjKx72.mjs";
35
35
  import Ae from "@mui/material/List";
36
36
  import J from "@mui/material/Divider";
37
37
  import Ee from "@mui/material/ListSubheader";
38
- import { a as Re, u as Pe } from "../CategorySelectorDrawer-DpC8T96X.mjs";
38
+ import { a as Re, u as Pe } from "../CategorySelectorDrawer-BMmxw2oY.mjs";
39
39
  import Be from "@mui/material/ListItem";
40
40
  import Ne from "@mui/material/ListItemButton";
41
41
  import Me from "@mui/material/ListItemIcon";
42
42
  import Le from "@mui/material/ListItemText";
43
43
  import { D as He } from "../Drawer-DV4NTsFg.mjs";
44
- import { u as ne } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
45
- import { H as Oe } from "../Help-HjHBZzI9.mjs";
46
- import { W as X } from "../WidgetContainer-B5jzz8M1.mjs";
44
+ import { u as ne } from "../useWidgetLoadTimer-Bmgv_UeH.mjs";
45
+ import { H as Oe } from "../Help-BBxespai.mjs";
46
+ import { W as X } from "../WidgetContainer-sC5KLXHI.mjs";
47
47
  const Fe = ({ availableWidth: t, handleOnLeavClick: a }) => {
48
48
  const o = xe(), { common: i, settings: n } = D(), { isDesktop: d, isMobile: l, isSmallMobile: r, isTablet: s } = O(t), { config: b } = $(), { updateUser: _ } = A(), { user: m } = Se(), [h, S] = p.useState({
49
49
  first_name: m.first_name,
@@ -8,19 +8,19 @@ import C from "@mui/material/Stack";
8
8
  import N from "@mui/material/Tab";
9
9
  import rt from "@mui/material/Tabs";
10
10
  import yt from "@mui/material/styles/useTheme";
11
- import { g as st, a as lt, S as $, b as Y } from "../SpendingLegend-D91UDDIu.mjs";
11
+ import { g as st, a as lt, S as $, b as Y } from "../SpendingLegend-bMrPWOGJ.mjs";
12
12
  import { Text as T, Icon as bt } from "@mxenabled/mxui";
13
13
  import { f as R } from "../NumberFormatting-DjTD0t3W.mjs";
14
- import { u as I, m as A, d as ct, b as z, a as V, h as dt, g as Ct } from "../hooks-0kWPTHNb.mjs";
15
- import { u as gt } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
14
+ import { u as I, m as A, d as ct, b as z, a as V, h as dt, g as Ct } from "../hooks-zu7yblbi.mjs";
15
+ import { u as gt } from "../useWidgetLoadTimer-Bmgv_UeH.mjs";
16
16
  import { L as pt } from "../Loader-D3rjKx72.mjs";
17
- import { M as St } from "../MiniWidgetContainer-B4gbUTJ2.mjs";
17
+ import { M as St } from "../MiniWidgetContainer-DhEx4qKi.mjs";
18
18
  import { startOfToday as q } from "date-fns/startOfToday";
19
19
  import Tt from "@mui/material/Button";
20
20
  import { useTheme as Mt } from "@mui/material";
21
- import { e as Dt } from "../exportTransactionsToCSV-DC2YMFft.mjs";
22
- import { T as xt } from "../TransactionList-DrtItQUk.mjs";
23
- import { T as wt } from "../TransactionDetails-CurpH7lH.mjs";
21
+ import { e as Dt } from "../exportTransactionsToCSV-YXwmzmUp.mjs";
22
+ import { T as xt } from "../TransactionList-BibbhhS9.mjs";
23
+ import { T as wt } from "../TransactionDetails-Cedp4OOg.mjs";
24
24
  import Lt from "@mui/material/Collapse";
25
25
  import F from "@mui/material/Divider";
26
26
  import J from "@mui/material/List";
@@ -31,7 +31,7 @@ import { D as tt } from "../Drawer-DV4NTsFg.mjs";
31
31
  import { b as w } from "../Category-CevNQ03n.mjs";
32
32
  import { parseISO as et } from "date-fns/parseISO";
33
33
  import { A as nt } from "../Analytics-i5h6BxR1.mjs";
34
- import { W as It } from "../WidgetContainer-B5jzz8M1.mjs";
34
+ import { W as It } from "../WidgetContainer-sC5KLXHI.mjs";
35
35
  const O = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ c(C, { direction: "column", children: [
36
36
  /* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: d }),
37
37
  /* @__PURE__ */ t(T, { variant: "XSmall", children: R(n, o === "mini" ? "0,0" : "0,0.00") })
@@ -2,5 +2,7 @@ import { Transaction } from '../../../../../common';
2
2
  interface AddMerchantBudgetActionProps {
3
3
  transaction: Transaction;
4
4
  }
5
- export declare const AddMerchantBudgetAction: ({ transaction }: AddMerchantBudgetActionProps) => import("react/jsx-runtime").JSX.Element;
5
+ export declare const AddMerchantBudgetAction: (({ transaction }: AddMerchantBudgetActionProps) => import("react/jsx-runtime").JSX.Element) & {
6
+ displayName: string;
7
+ };
6
8
  export {};