@mx-cartographer/experiences 7.1.4-ram1-alpha-finstrong-credit-score-graph-check → 7.1.5

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 (132) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CpRTVIHg.mjs → Account-8IUM_CLv.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-6aPMU6Hp.mjs → AccountDetailsContent-CuZSSAEc.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-BkUZYoV8.mjs → AccountDetailsHeader-BZBsIKdF.mjs} +8 -8
  5. package/dist/{AccountFields-DOLjKu5l.mjs → AccountFields-BD_0GT68.mjs} +5 -5
  6. package/dist/{AccountListItem-CTT5m4qx.mjs → AccountListItem-CllIBCao.mjs} +4 -4
  7. package/dist/{AccountStore-DTfpr3h0.mjs → AccountStore-BL0FE1QL.mjs} +15 -26
  8. package/dist/{Accounts-D0BmvNxn.mjs → Accounts-Bvc9TJaO.mjs} +1 -1
  9. package/dist/{BudgetUtil-D2Jcp-E-.mjs → BudgetUtil-psfk-Amb.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DomNyubP.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +3 -3
  11. package/dist/{CategoryStore-C1IfDPCE.mjs → CategoryStore-BCcpI3oJ.mjs} +1 -1
  12. package/dist/{CategoryUtil-DUM8NuGO.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
  13. package/dist/{ConnectDrawer--gJHyp-S.mjs → ConnectDrawer-CPTXh70j.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-DabiwV9L.mjs → ConnectionsDrawer-Dkb4vBmt.mjs} +3 -3
  15. package/dist/{CurrencyInput-CC5cwVit.mjs → CurrencyInput-C4xNRL2W.mjs} +1 -1
  16. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
  17. package/dist/{DebtsStore-9aR2sTJQ.mjs → DebtsStore-D4grpB4m.mjs} +1 -1
  18. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CWW597AF.mjs} +2 -2
  19. package/dist/Drawer-kEE73B87.mjs +113 -0
  20. package/dist/{ExportCsvAction-Um-CDa4C.mjs → ExportCsvAction-CBJAfyAw.mjs} +3 -3
  21. package/dist/FinstrongStore-F2c607dj.mjs +101 -0
  22. package/dist/{GoalStore-CiBKZvTg.mjs → GoalStore-B5MZzPLZ.mjs} +3 -3
  23. package/dist/{Help-BZ8pIkkR.mjs → Help-CzBAsKA2.mjs} +2 -2
  24. package/dist/LineChart-B35qvXik.mjs +541 -0
  25. package/dist/{ListItemAction-DGaxy7oz.mjs → ListItemAction-DSrYDGAP.mjs} +10 -10
  26. package/dist/{ManageIncome-BaNgfwr5.mjs → ManageIncome-DUuT-yMV.mjs} +32 -34
  27. package/dist/{MicroWidgetContainer-C3iV1FBR.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-LtXXgZ6H.mjs → MiniWidgetContainer-DTQdRK-3.mjs} +1 -1
  29. package/dist/{NetWorthStore-MnpP5KEc.mjs → NetWorthStore-Do1Gk8Te.mjs} +2 -2
  30. package/dist/{NotificationSettings-Ckx8tgQj.mjs → NotificationSettings-BuShgjn6.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-CGZDUsCc.mjs → OriginalBalanceAction-BsxcvNEF.mjs} +3 -3
  32. package/dist/{RecurringSettings-DE4T4yQy.mjs → RecurringSettings-BVOt46uV.mjs} +4 -4
  33. package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-ej39mgA6.mjs} +44 -45
  34. package/dist/{RecurringTransactionsStore-C4RVULF8.mjs → RecurringTransactionsStore-DrzS1LmF.mjs} +1 -1
  35. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-D5vsfYKo.mjs} +16 -16
  36. package/dist/{TransactionDetails-DRlrltGq.mjs → TransactionDetails-_cXLXTd3.mjs} +8 -11
  37. package/dist/{TransactionStore-D8MKYDMb.mjs → TransactionStore-B-Tq_YFE.mjs} +3 -3
  38. package/dist/{TrendsStore-DL3Vuh71.mjs → TrendsStore-ZZ8X36lJ.mjs} +14 -14
  39. package/dist/{User-BthIKO4w.mjs → User-DaJAQ09j.mjs} +2 -2
  40. package/dist/{ViewMoreMicroCard-DTtQNV3D.mjs → ViewMoreMicroCard-664i7l19.mjs} +487 -533
  41. package/dist/{WidgetContainer-DJA1bxLn.mjs → WidgetContainer-DtPnPQZY.mjs} +4 -4
  42. package/dist/accounts/index.es.js +14 -14
  43. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  44. package/dist/analytics/index.es.js +2 -2
  45. package/dist/budgets/index.es.js +12 -12
  46. package/dist/cashflow/index.es.js +11 -11
  47. package/dist/categories/index.es.js +2 -2
  48. package/dist/common/components/Select.d.ts +2 -4
  49. package/dist/common/components/charts/LineChart.d.ts +0 -2
  50. package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -2
  51. package/dist/common/components/drawer/Drawer.d.ts +0 -3
  52. package/dist/common/index.es.js +33 -33
  53. package/dist/common/types/Finstrong.d.ts +0 -50
  54. package/dist/common/types/index.d.ts +1 -1
  55. package/dist/common/types/localization/FinstrongCopy.d.ts +1 -57
  56. package/dist/dashboard/index.es.js +2 -2
  57. package/dist/debts/index.es.js +11 -11
  58. package/dist/{exportTransactionsToCSV-XqdHNe2V.mjs → exportTransactionsToCSV-D8TTNrrE.mjs} +2 -2
  59. package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
  60. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -2
  61. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  62. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
  63. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  64. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  65. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
  66. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  67. package/dist/finstrong/index.es.js +1010 -2892
  68. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -9
  69. package/dist/finstrong/util/finstrongUtils.d.ts +1 -65
  70. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  71. package/dist/goals/index.es.js +14 -14
  72. package/dist/help/index.es.js +3 -3
  73. package/dist/{hooks-CBST3rkm.mjs → hooks-CE2TKk4a.mjs} +3 -3
  74. package/dist/investments/index.es.js +4 -4
  75. package/dist/merchants/index.es.js +1 -1
  76. package/dist/microinsights/components/beaticons/BeatIcon.d.ts +0 -2
  77. package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -2
  78. package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +0 -2
  79. package/dist/microinsights/index.d.ts +1 -1
  80. package/dist/microinsights/index.es.js +1 -1
  81. package/dist/microinsights/interfaces.d.ts +0 -4
  82. package/dist/networth/index.es.js +34 -34
  83. package/dist/notifications/index.es.js +4 -4
  84. package/dist/recurringtransactions/index.es.js +13 -13
  85. package/dist/settings/index.es.js +8 -8
  86. package/dist/spending/index.es.js +373 -222
  87. package/dist/transactions/index.es.js +15 -15
  88. package/dist/trends/index.es.js +16 -16
  89. package/dist/{useAccountDisplayName-DH1CuQ9R.mjs → useAccountDisplayName-BXGkZN5B.mjs} +2 -2
  90. package/dist/{useInsightsEnabled-jdvS1ppf.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  91. package/package.json +1 -1
  92. package/dist/Drawer-BEtCk82g.mjs +0 -163
  93. package/dist/FinstrongStore-CC4SrBjA.mjs +0 -436
  94. package/dist/LineChart-CE3oLBQ0.mjs +0 -566
  95. package/dist/SpendingLegend-D24CEkL3.mjs +0 -170
  96. package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
  97. package/dist/common/components/drawer/Footer.d.ts +0 -17
  98. package/dist/finstrong/components/CreditOverTimeGraph.d.ts +0 -1
  99. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
  100. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
  101. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
  102. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
  103. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
  104. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
  105. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
  106. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
  107. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
  108. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
  109. package/dist/finstrong/components/ProgressBar.d.ts +0 -15
  110. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
  111. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
  112. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
  113. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
  114. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
  115. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
  116. package/dist/finstrong/components/StatusChip.d.ts +0 -5
  117. package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
  118. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
  119. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
  120. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
  121. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
  122. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
  123. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
  124. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
  125. package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
  126. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
  127. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
  128. package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
  129. package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
  130. package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
  131. package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
  132. package/dist/finstrong/constants/index.d.ts +0 -8
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { observer as A } from "mobx-react-lite";
4
- import M from "@mui/material/Box";
4
+ import P from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
7
  import p from "@mui/material/Stack";
@@ -10,29 +10,29 @@ import ie from "@mui/material/ListItem";
10
10
  import se from "@mui/material/ListItemAvatar";
11
11
  import ce from "@mui/material/ListItemButton";
12
12
  import le from "@mui/material/ListItemText";
13
- import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-CngsRZ3K.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-ej39mgA6.mjs";
14
14
  import { subDays as ue } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import $ from "@mui/material/Button";
18
18
  import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-DRlrltGq.mjs";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-_cXLXTd3.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as ve } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, j as F, g as G, b as Ae, h as Z, o as De } from "./hooks-CBST3rkm.mjs";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
27
- import { D as O } from "./Drawer-BEtCk82g.mjs";
28
- import { A as R } from "./WidgetContainer-DJA1bxLn.mjs";
29
- import { f as Ee, a as Re, D as Te } from "./Dialog-BPTr3qHE.mjs";
27
+ import { D as O } from "./Drawer-kEE73B87.mjs";
28
+ import { A as R } from "./WidgetContainer-DtPnPQZY.mjs";
29
+ import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
- import { h as Ne } from "./DateUtil-CBdcsyuk.mjs";
33
+ import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-BthIKO4w.mjs";
35
+ import { T as V } from "./User-DaJAQ09j.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -117,7 +117,7 @@ const ee = ({
117
117
  ) })
118
118
  ] });
119
119
  }, Me = A(({ repeatingTransaction: n }) => {
120
- const { recurring: t } = w(), { updateRepeatingTransaction: r } = F(), { onEvent: i } = G(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
120
+ const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: i } = F(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
121
121
  await r({
122
122
  ...n,
123
123
  recurrence_type: o,
@@ -161,7 +161,7 @@ const ee = ({
161
161
  ] });
162
162
  }), Fe = A(
163
163
  ({ onDeleted: n, recurringTransaction: t }) => {
164
- const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
164
+ const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
165
165
  u.useEffect(() => {
166
166
  o({
167
167
  accounts: i,
@@ -174,7 +174,7 @@ const ee = ({
174
174
  [g, a]
175
175
  ), h = t.repeating_transaction_type === E.Income, k = async () => {
176
176
  await l(t.guid), n();
177
- }, P = () => {
177
+ }, G = () => {
178
178
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
179
179
  };
180
180
  return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
@@ -228,7 +228,7 @@ const ee = ({
228
228
  $,
229
229
  {
230
230
  color: "error",
231
- onClick: P,
231
+ onClick: G,
232
232
  startIcon: /* @__PURE__ */ e(me, {}),
233
233
  sx: { mx: 24, my: 16 },
234
234
  variant: "text",
@@ -394,20 +394,18 @@ const ee = ({
394
394
  /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
395
  /* @__PURE__ */ e(Ce, { transaction: a })
396
396
  ] }),
397
- /* @__PURE__ */ c(M, { children: [
398
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
399
- /* @__PURE__ */ e(
400
- ee,
401
- {
402
- firstDay: t,
403
- frequency: i,
404
- onFirstDayChange: l,
405
- onFrequencyChange: s,
406
- onSecondDayChange: o,
407
- secondDay: r
408
- }
409
- )
410
- ] })
397
+ /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
398
+ /* @__PURE__ */ e(
399
+ ee,
400
+ {
401
+ firstDay: t,
402
+ frequency: i,
403
+ onFirstDayChange: l,
404
+ onFrequencyChange: s,
405
+ onSecondDayChange: o,
406
+ secondDay: r
407
+ }
408
+ )
411
409
  ] });
412
410
  }
413
411
  ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, ze = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
@@ -416,7 +414,7 @@ const ee = ({
416
414
  label: t,
417
415
  onAddRecurringTransaction: r = () => null
418
416
  }) => {
419
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
417
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
420
418
  () => o.find((x) => x.guid === v),
421
419
  [v, o]
422
420
  ), ne = () => {
@@ -485,7 +483,7 @@ const ee = ({
485
483
  frequency: g,
486
484
  onFirstDayChange: h,
487
485
  onFrequencyChange: D,
488
- onSecondDayChange: P,
486
+ onSecondDayChange: G,
489
487
  secondDay: k,
490
488
  transaction: _
491
489
  }
@@ -496,7 +494,7 @@ const ee = ({
496
494
  }
497
495
  ), Be = A(
498
496
  ({ zeroStateFor: n }) => {
499
- const { recurring: t } = w(), { onEvent: r } = G(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
497
+ const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
500
498
  return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
501
499
  /* @__PURE__ */ e(pe, { size: 48 }),
502
500
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
@@ -516,7 +514,7 @@ const ee = ({
516
514
  ] });
517
515
  }
518
516
  ), wt = A(({ forOverview: n = !1 }) => {
519
- const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
517
+ const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
520
518
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
521
519
  repeating_transaction_guid: a.guid
522
520
  });
@@ -534,7 +532,7 @@ const ee = ({
534
532
  },
535
533
  children: [
536
534
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
537
- /* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
535
+ /* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
538
536
  /* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
539
537
  /* @__PURE__ */ e(
540
538
  T,
@@ -543,10 +541,10 @@ const ee = ({
543
541
  }
544
542
  )
545
543
  ] }, a.guid)) }) }),
546
- /* @__PURE__ */ c(M, { children: [
544
+ /* @__PURE__ */ c(P, { children: [
547
545
  /* @__PURE__ */ e(T, {}),
548
546
  /* @__PURE__ */ e(
549
- M,
547
+ P,
550
548
  {
551
549
  sx: {
552
550
  alignContent: "center",
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
6
6
  import { P as u, H3 as v } from "@mxenabled/mxui";
7
7
  import { ChevronRight as W } from "@mxenabled/mx-icons";
8
8
  import { u as M } from "./useDimensions-27p2evRx.mjs";
9
- import { W as w } from "./hooks-CBST3rkm.mjs";
9
+ import { W as w } from "./hooks-CE2TKk4a.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
8
8
  import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
9
9
  import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
10
10
  import { u as S } from "./useDimensions-27p2evRx.mjs";
11
- import { W as j } from "./hooks-CBST3rkm.mjs";
11
+ import { W as j } from "./hooks-CE2TKk4a.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-D0BmvNxn.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer--gJHyp-S.mjs";
6
+ import { a as b } from "./Accounts-Bvc9TJaO.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-CPTXh70j.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -15,13 +15,13 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
17
  import { A as oe, T as F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
18
- import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CBST3rkm.mjs";
18
+ import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CE2TKk4a.mjs";
19
19
  import { b as ce } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
21
- import { D as M } from "./Dialog-BPTr3qHE.mjs";
22
- import { C as me } from "./CurrencyInput-CC5cwVit.mjs";
21
+ import { a as M } from "./Dialog-CWW597AF.mjs";
22
+ import { C as me } from "./CurrencyInput-C4xNRL2W.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
- import { D as J } from "./Drawer-BEtCk82g.mjs";
24
+ import { D as J } from "./Drawer-kEE73B87.mjs";
25
25
  import _e from "@mui/material/Collapse";
26
26
  import ue from "@mui/material/Card";
27
27
  import pe from "@mui/material/CardContent";
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ge } from "./useInsightsEnabled-jdvS1ppf.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-DSnpkUq0.mjs";
34
34
  import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
35
  const be = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
- import { L as y } from "./ListItemAction-DGaxy7oz.mjs";
6
- import { u as h, l as b } from "./hooks-CBST3rkm.mjs";
5
+ import { L as y } from "./ListItemAction-DSrYDGAP.mjs";
6
+ import { u as h, l as b } from "./hooks-CE2TKk4a.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-CC5cwVit.mjs";
8
+ import { C as f } from "./CurrencyInput-C4xNRL2W.mjs";
9
9
  const F = p(({ goal: e }) => {
10
10
  const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const n = { ...e, interest_rate: t };
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import R from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-BaNgfwr5.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-CBST3rkm.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-CngsRZ3K.mjs";
13
- import { A as m } from "./WidgetContainer-DJA1bxLn.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-DUuT-yMV.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-CE2TKk4a.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
+ import { A as m } from "./WidgetContainer-DtPnPQZY.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
16
16
  o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -17,7 +17,7 @@ import { formatISO as H } from "date-fns/formatISO";
17
17
  import { fromUnixTime as V } from "date-fns/fromUnixTime";
18
18
  import { getUnixTime as y } from "date-fns/getUnixTime";
19
19
  import { isAfter as h } from "date-fns/isAfter";
20
- import { isBefore as u } from "date-fns/isBefore";
20
+ import { isBefore as i } from "date-fns/isBefore";
21
21
  import { isSameDay as X } from "date-fns/isSameDay";
22
22
  import { nextDay as E } from "date-fns/nextDay";
23
23
  import { parseISO as J } from "date-fns/parseISO";
@@ -29,9 +29,9 @@ import { subQuarters as N } from "date-fns/subQuarters";
29
29
  import { subYears as T } from "date-fns/subYears";
30
30
  import { lastDayOfMonth as q } from "date-fns/lastDayOfMonth";
31
31
  import { setDayOfYear as F } from "date-fns/setDayOfYear";
32
- import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-CBdcsyuk.mjs";
32
+ import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-BcuH7ErC.mjs";
33
33
  import { b as W } from "./NumberFormatting-Buh7u8Oi.mjs";
34
- import { f as v, a as k } from "./Dialog-BPTr3qHE.mjs";
34
+ import { f as v, D as k } from "./Dialog-CWW597AF.mjs";
35
35
  import { b as l } from "./Localization-2MODESHW.mjs";
36
36
  var s = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(s || {}), p = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(p || {}), O = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(O || {}), Y = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(Y || {});
37
37
  const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
@@ -51,23 +51,22 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
51
51
  o,
52
52
  /* @__PURE__ */ d(C, { children: /* @__PURE__ */ d(I, { name: "chevron_right", size: 24 }) })
53
53
  ] }) }) : /* @__PURE__ */ d(w, { disableGutters: !1, disablePadding: !1, children: o });
54
- }, Fe = se, Re = ({ label: e, onChange: a, options: t, value: n, ...o }) => /* @__PURE__ */ d(
54
+ }, Fe = se, Re = ({ label: e, onChange: a, options: t, value: n }) => /* @__PURE__ */ d(
55
55
  j,
56
56
  {
57
57
  InputLabelProps: { shrink: !0 },
58
58
  SelectProps: {
59
- IconComponent: (c) => /* @__PURE__ */ d(z, { size: 20, sx: { mr: 4 }, ...c })
59
+ IconComponent: (r) => /* @__PURE__ */ d(z, { size: 20, sx: { mr: 4 }, ...r })
60
60
  },
61
61
  defaultValue: 0,
62
62
  label: e,
63
- onChange: (c) => {
64
- a(Number(c.target.value));
63
+ onChange: (r) => {
64
+ a(Number(r.target.value));
65
65
  },
66
66
  select: !0,
67
67
  value: n,
68
68
  variant: "outlined",
69
- ...o,
70
- children: t.map((c) => /* @__PURE__ */ d($, { value: c.id, children: c.label }, c.id))
69
+ children: t.map((r) => /* @__PURE__ */ d($, { value: r.id, children: r.label }, r.id))
71
70
  }
72
71
  ), ce = (e) => {
73
72
  if (!e) return "";
@@ -94,93 +93,93 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
94
93
  status: p.Upcoming,
95
94
  type: e.repeating_transaction_type === Y.Income ? O.Income : O.Expense,
96
95
  transaction: void 0
97
- }, c = a.start, i = a.end;
96
+ }, u = a.start, c = a.end;
98
97
  switch (e.recurrence_type) {
99
98
  case s.EveryWeek:
100
- t.push(...ue(r, c, i));
99
+ t.push(...ue(r, u, c));
101
100
  break;
102
101
  case s.EveryOtherWeek:
103
- t.push(...de(r, c, i));
102
+ t.push(...de(r, u, c));
104
103
  break;
105
104
  case s.TwiceAMonth:
106
- t.push(...me(r, c, i));
105
+ t.push(...me(r, u, c));
107
106
  break;
108
107
  case s.EveryMonth:
109
- t.push(...le(r, c, i));
108
+ t.push(...le(r, u, c));
110
109
  break;
111
110
  case s.EveryOtherMonth:
112
- t.push(...he(r, c, i));
111
+ t.push(...he(r, u, c));
113
112
  break;
114
113
  case s.EveryQuarter:
115
- t.push(...fe(r, c, i));
114
+ t.push(...fe(r, u, c));
116
115
  break;
117
116
  case s.EveryOtherQuarter:
118
- t.push(...pe(r, c, i));
117
+ t.push(...pe(r, u, c));
119
118
  break;
120
119
  case s.EveryYear:
121
- t.push(...ye(r, c, i));
120
+ t.push(...ye(r, u, c));
122
121
  break;
123
122
  }
124
123
  for (const m of t) {
125
124
  const _ = e.transactions.find(
126
125
  (x) => x.repeating_transaction_guid === e.guid && x.date > y(D(m.expectedDate, 5)) && x.date < y(Q(m.expectedDate, 5))
127
126
  );
128
- _ ? (m.transaction = _, m.status = p.Paid, m.occurredOnDate = V(_.date)) : u(m.expectedDate, D(b(), 3)) && (m.status = p.Missed);
127
+ _ ? (m.transaction = _, m.status = p.Paid, m.occurredOnDate = V(_.date)) : i(m.expectedDate, D(b(), 3)) && (m.status = p.Missed);
129
128
  }
130
129
  return t;
131
130
  }, ue = (e, a, t) => {
132
131
  const n = [];
133
132
  let o = E(a, e.recurrenceDay);
134
- for (; u(o, t); )
133
+ for (; i(o, t); )
135
134
  n.push({ ...e, expectedDate: o }), o = E(o, e.recurrenceDay);
136
135
  return n;
137
136
  }, de = (e, a, t) => {
138
137
  const n = [], o = e.expectedDate;
139
- if (u(o, t)) {
138
+ if (i(o, t)) {
140
139
  let r = D(o, 14);
141
140
  for (; h(r, a) || X(r, a); )
142
141
  n.push({ ...e, expectedDate: r }), r = D(r, 14);
143
- for (r = o; h(r, a) && u(r, t); )
142
+ for (r = o; h(r, a) && i(r, t); )
144
143
  n.push({ ...e, expectedDate: r }), r = Q(r, 14);
145
144
  }
146
145
  return n;
147
146
  }, me = (e, a, t) => {
148
147
  const n = [];
149
148
  let o = g(a, e.recurrenceDay);
150
- for (; u(o, t); )
149
+ for (; i(o, t); )
151
150
  n.push({ ...e, expectedDate: o }), o = f(o, 1);
152
151
  let r = e.secondRecurrenceDay && e.secondRecurrenceDay < 28 ? g(a, e.secondRecurrenceDay) : q(a);
153
- for (; u(r, t); )
152
+ for (; i(r, t); )
154
153
  n.push({ ...e, expectedDate: r }), r = f(r, 1);
155
154
  return n;
156
155
  }, le = (e, a, t) => {
157
156
  const n = [];
158
157
  let o = g(a, e.recurrenceDay);
159
- for (n.push({ ...e, expectedDate: o }), o = f(o, 1); u(o, t); )
158
+ for (n.push({ ...e, expectedDate: o }), o = f(o, 1); i(o, t); )
160
159
  n.push({ ...e, expectedDate: o }), o = f(o, 1);
161
160
  return n;
162
161
  }, he = (e, a, t) => {
163
162
  const n = [], o = e.expectedDate;
164
- let r = u(o, t) ? o : Z(o, 2);
165
- for (; u(r, t); )
163
+ let r = i(o, t) ? o : Z(o, 2);
164
+ for (; i(r, t); )
166
165
  h(r, a) && n.push({ ...e, expectedDate: r }), r = f(r, 2);
167
166
  return n;
168
167
  }, fe = (e, a, t) => {
169
168
  const n = [], o = e.expectedDate;
170
- let r = u(o, t) ? o : N(o, 1);
171
- for (; u(r, t); )
169
+ let r = i(o, t) ? o : N(o, 1);
170
+ for (; i(r, t); )
172
171
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 1);
173
172
  return n;
174
173
  }, pe = (e, a, t) => {
175
174
  const n = [], o = e.expectedDate;
176
- let r = u(o, t) ? o : N(o, 2);
177
- for (; u(r, t); )
175
+ let r = i(o, t) ? o : N(o, 2);
176
+ for (; i(r, t); )
178
177
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 2);
179
178
  return n;
180
179
  }, ye = (e, a, t) => {
181
180
  const n = [], o = e.expectedDate;
182
- let r = u(o, t) ? o : T(o, 1);
183
- for (; u(r, t); )
181
+ let r = i(o, t) ? o : T(o, 1);
182
+ for (; i(r, t); )
184
183
  h(r, a) && n.push({ ...e, expectedDate: r }), r = K(r, 1);
185
184
  return n;
186
185
  }, et = (e, a) => {
@@ -196,11 +195,11 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
196
195
  const n = [];
197
196
  for (const o of a) {
198
197
  const r = t.filter(
199
- (c) => c.repeating_transaction_guid === o.guid
198
+ (u) => u.repeating_transaction_guid === o.guid
200
199
  );
201
200
  t.length > 0 && n.push({
202
201
  ...o,
203
- account: e.find((c) => c.guid === o.account_guid),
202
+ account: e.find((u) => u.guid === o.account_guid),
204
203
  transactions: r
205
204
  });
206
205
  }
@@ -215,41 +214,41 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
215
214
  recurrences: [t]
216
215
  }), a;
217
216
  }, []), ot = (e, a, t) => {
218
- const n = E(b(), a.recurrence_day), o = F(b(), a.recurrence_day), r = W(a.recurrence_day), c = a.second_recurrence_day ? W(a.second_recurrence_day) : "";
219
- let i = t ? l(e.monthly_ordinal, r) : e.monthly;
217
+ const n = E(b(), a.recurrence_day), o = F(b(), a.recurrence_day), r = W(a.recurrence_day), u = a.second_recurrence_day ? W(a.second_recurrence_day) : "";
218
+ let c = t ? l(e.monthly_ordinal, r) : e.monthly;
220
219
  switch (a.recurrence_type) {
221
220
  case s.EveryQuarter:
222
- i = t ? l(e.quarterly_ordinal, r) : e.quarterly;
221
+ c = t ? l(e.quarterly_ordinal, r) : e.quarterly;
223
222
  break;
224
223
  case s.EveryWeek:
225
- i = t ? l(
224
+ c = t ? l(
226
225
  e.weekly_ordinal,
227
226
  v(n, k.DAY_OF_WEEK)
228
227
  ) : e.weekly;
229
228
  break;
230
229
  case s.EveryYear:
231
- i = t ? l(
230
+ c = t ? l(
232
231
  e.anually_ordinal,
233
232
  v(o, k.MONTH_DAY)
234
233
  ) : e.anually;
235
234
  break;
236
235
  case s.EveryOtherWeek:
237
- i = t ? l(
236
+ c = t ? l(
238
237
  e.every_other_week_ordinal,
239
238
  v(n, k.DAY_OF_WEEK)
240
239
  ) : e.every_other_week;
241
240
  break;
242
241
  case s.EveryOtherMonth:
243
- i = t ? l(e.every_other_month_ordinal, r) : e.every_other_month;
242
+ c = t ? l(e.every_other_month_ordinal, r) : e.every_other_month;
244
243
  break;
245
244
  case s.EveryOtherQuarter:
246
- i = t ? l(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
245
+ c = t ? l(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
247
246
  break;
248
247
  case s.TwiceAMonth:
249
- i = t ? l(e.twice_a_month_ordinal, r, c) : e.twice_a_month;
248
+ c = t ? l(e.twice_a_month_ordinal, r, u) : e.twice_a_month;
250
249
  break;
251
250
  }
252
- return i;
251
+ return c;
253
252
  }, at = (e, a) => {
254
253
  let t = a;
255
254
  switch (e) {
@@ -8,7 +8,7 @@ import { startOfMonth as S } from "date-fns/startOfMonth";
8
8
  import { startOfToday as c } from "date-fns/startOfToday";
9
9
  import { subDays as y } from "date-fns/subDays";
10
10
  import { F as x, A as o } from "./Fetch-87LIQbEA.mjs";
11
- import { b as E, a, c as d, d as u } from "./RecurringTransactions-CngsRZ3K.mjs";
11
+ import { b as E, a, c as d, d as u } from "./RecurringTransactions-ej39mgA6.mjs";
12
12
  var A = /* @__PURE__ */ ((r) => (r.Small = "small", r.Medium = "medium", r.Large = "large", r))(A || {});
13
13
  const U = 44;
14
14
  class h {
@@ -4,40 +4,40 @@ import { startOfMonth as _ } from "date-fns/startOfMonth";
4
4
  import { subMonths as y } from "date-fns/subMonths";
5
5
  import { endOfMonth as M } from "date-fns/endOfMonth";
6
6
  import { b as n, P as l } from "./Category-CevNQ03n.mjs";
7
- import { f as m, a as T } from "./Dialog-BPTr3qHE.mjs";
7
+ import { f as m, D as T } from "./Dialog-CWW597AF.mjs";
8
8
  const i = (e) => (e.top_level_category_guid === n.INCOME || e.category_guid === n.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === n.TRANSFER || e.category_guid === n.TRANSFER, h = (e) => e.top_level_category_guid === n.INVESTMENTS || e.category_guid === n.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
9
9
  if (r === 0) return 0;
10
- const a = (e - r) / r;
11
- return isNaN(a) ? 0 : a;
10
+ const o = (e - r) / r;
11
+ return isNaN(o) ? 0 : o;
12
12
  }, g = (e, r) => {
13
- const a = [];
13
+ const o = [];
14
14
  let t = _(r?.start ?? y(/* @__PURE__ */ new Date(), 5));
15
15
  const s = r?.end ?? /* @__PURE__ */ new Date();
16
16
  for (; d(t, s); )
17
- a.push({
17
+ o.push({
18
18
  x: m(t, T.MONTH_SHORT),
19
- y: e.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
19
+ y: e.filter((a) => a.year === t.getFullYear() && a.month === t.getMonth() + 1).reduce((a, c) => a + c.total, 0)
20
20
  }), t = u(t, 1);
21
- return a;
21
+ return o;
22
22
  }, b = (e, r) => {
23
- const a = e.filter(i);
24
- return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
23
+ const o = e.filter(i);
24
+ return g(o, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
25
25
  }, A = (e, r) => {
26
- const a = e.filter(p);
27
- return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
26
+ const o = e.filter(p);
27
+ return g(o, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
28
28
  }, x = (e, r) => {
29
- const a = e.filter(N);
30
- return g(a, r);
29
+ const o = e.filter(N);
30
+ return g(o, r);
31
31
  }, H = (e) => {
32
- const r = [], a = e.filter(
33
- (o) => o.top_level_category_guid !== n.INCOME && o.top_level_category_guid !== n.TRANSFER && o.total > 0
32
+ const r = [], o = e.filter(
33
+ (a) => a.top_level_category_guid !== n.INCOME && a.top_level_category_guid !== n.TRANSFER && a.total > 0
34
34
  );
35
35
  let t = _(y(/* @__PURE__ */ new Date(), 5));
36
36
  const s = M(/* @__PURE__ */ new Date());
37
37
  for (; d(t, s); )
38
38
  r.push({
39
39
  x: m(t, T.MONTH_SHORT),
40
- y: a.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
40
+ y: o.filter((a) => a.year === t.getFullYear() && a.month === t.getMonth() + 1).reduce((a, c) => a + c.total, 0)
41
41
  }), t = u(t, 1);
42
42
  return r;
43
43
  };
@@ -9,15 +9,15 @@ import { MerchantLogo as pe, Icon as S, Text as T, useTokens as ee, CategoryIcon
9
9
  import B from "@mui/material/ListItemAvatar";
10
10
  import M from "@mui/material/ListItemText";
11
11
  import f from "@mui/material/Stack";
12
- import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-BthIKO4w.mjs";
13
- import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CBST3rkm.mjs";
12
+ import { T as Pe, L as Ge, O as h, C as Me, b as Ke, i as $e } from "./User-DaJAQ09j.mjs";
13
+ import { G as Be, h as v, u as A, g as L, m as xe, b as Fe, o as He } from "./hooks-CE2TKk4a.mjs";
14
14
  import { f as te } from "./NumberFormatting-Buh7u8Oi.mjs";
15
15
  import { Receipt as ze, Delete as oe, ChevronRight as Ue, Cancel as ie, Search as Xe, Edit as Ve, Flag as We } from "@mxenabled/mx-icons";
16
16
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
17
17
  import { isSameDay as Ne } from "date-fns/isSameDay";
18
- import { h as Ye } from "./DateUtil-CBdcsyuk.mjs";
18
+ import { h as Ye } from "./DateUtil-BcuH7ErC.mjs";
19
19
  import { L as Ie } from "./Loader-DUaFpDGv.mjs";
20
- import { A as P } from "./WidgetContainer-DJA1bxLn.mjs";
20
+ import { A as P } from "./WidgetContainer-DtPnPQZY.mjs";
21
21
  import ne from "@mui/material/Paper";
22
22
  import ce from "@mui/material/Button";
23
23
  import je from "@mui/material/FormGroup";
@@ -27,17 +27,17 @@ import qe from "@mui/material/ToggleButton";
27
27
  import ve from "@mui/material/styles/useTheme";
28
28
  import z from "@mui/material/Avatar";
29
29
  import F from "@mui/material/ListItem";
30
- import { D as V, f as Ee, a as Oe } from "./Dialog-BPTr3qHE.mjs";
30
+ import { a as V, f as Ee, D as Oe } from "./Dialog-CWW597AF.mjs";
31
31
  import U from "@mui/material/ListItemButton";
32
32
  import X from "@mui/material/ListItemIcon";
33
- import { a as we } from "./CategorySelectorDrawer-DomNyubP.mjs";
33
+ import { a as we } from "./CategorySelectorDrawer-BmenK5bu.mjs";
34
34
  import { b as se } from "./Localization-2MODESHW.mjs";
35
35
  import { getUnixTime as Ze } from "date-fns/getUnixTime";
36
- import { D as de } from "./Drawer-BEtCk82g.mjs";
36
+ import { D as de } from "./Drawer-kEE73B87.mjs";
37
37
  import ye from "@mui/material/InputAdornment";
38
38
  import Je from "@mui/material/Checkbox";
39
39
  import ge from "@mui/material/Grid";
40
- import { C as Qe } from "./CurrencyInput-CC5cwVit.mjs";
40
+ import { C as Qe } from "./CurrencyInput-C4xNRL2W.mjs";
41
41
  import et from "@mui/material/Switch";
42
42
  var q = /* @__PURE__ */ ((t) => (t[t.Category = 0] = "Category", t[t.Date = 1] = "Date", t[t.Memo = 2] = "Memo", t[t.Tags = 3] = "Tags", t))(q || {}), re = /* @__PURE__ */ ((t) => (t[t.SplitTransaction = 0] = "SplitTransaction", t[t.HideTransaction = 1] = "HideTransaction", t[t.MerchantLogo = 2] = "MerchantLogo", t))(re || {});
43
43
  const tt = [
@@ -1329,12 +1329,9 @@ export {
1329
1329
  bt as M,
1330
1330
  lt as S,
1331
1331
  Ra as T,
1332
- dt as Z,
1333
1332
  ka as a,
1334
1333
  st as b,
1335
1334
  Kt as c,
1336
1335
  q as d,
1337
- _t as h,
1338
- Se as s,
1339
1336
  G as u
1340
1337
  };
@@ -13,12 +13,12 @@ import { isBefore as B } from "date-fns/isBefore";
13
13
  import { startOfMonth as R } from "date-fns/startOfMonth";
14
14
  import { startOfToday as G } from "date-fns/startOfToday";
15
15
  import { subDays as Y } from "date-fns/subDays";
16
- import { O as n, a as b, T as F } from "./User-BthIKO4w.mjs";
16
+ import { O as n, a as b, T as F } from "./User-DaJAQ09j.mjs";
17
17
  import { T as p } from "./TransactionApi-B3Tksf7L.mjs";
18
18
  import { b as W } from "./Category-CevNQ03n.mjs";
19
- import { f as z } from "./exportTransactionsToCSV-XqdHNe2V.mjs";
19
+ import { f as z } from "./exportTransactionsToCSV-D8TTNrrE.mjs";
20
20
  import { format as k } from "date-fns/format";
21
- import { f as g, a as O, O as $ } from "./Dialog-BPTr3qHE.mjs";
21
+ import { f as g, D as O, O as $ } from "./Dialog-CWW597AF.mjs";
22
22
  import { endOfMonth as X } from "date-fns/endOfMonth";
23
23
  import { B as f } from "./BeatApi-DhJpgCLz.mjs";
24
24
  const j = ({