@mx-cartographer/experiences 7.2.9-alpha.san4 → 7.2.10

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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CBQnFO6w.mjs → Account-B-CuHOYf.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CmdOOZw1.mjs → AccountDetailsContent-DfzPOeMI.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-CaIoP_2Q.mjs → AccountDetailsHeader-vcy67tuH.mjs} +8 -8
  5. package/dist/{AccountFields-CLbLAhLf.mjs → AccountFields-cUP-9Hm6.mjs} +5 -5
  6. package/dist/{AccountListItem-CPm3572e.mjs → AccountListItem-DChcf3SN.mjs} +4 -4
  7. package/dist/{AccountStore-DttEGFeu.mjs → AccountStore-D6KiXA1B.mjs} +29 -40
  8. package/dist/{Accounts-B5Yr0e_o.mjs → Accounts-IeEtQjzA.mjs} +1 -1
  9. package/dist/{BudgetUtil-wjoNuj7B.mjs → BudgetUtil-B2ZXyw-g.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-ZO9N26Kx.mjs → CategorySelectorDrawer-DUe4lH5-.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-FyY0AWYQ.mjs → ConnectDrawer-DaFRU5st.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-Cd_rztVC.mjs → ConnectionsDrawer-DHJ7qdWL.mjs} +3 -3
  15. package/dist/{CurrencyInput-CBOkNlNP.mjs → CurrencyInput-CsCy7uaS.mjs} +1 -1
  16. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-BcuH7ErC.mjs} +3 -3
  17. package/dist/{DebtsStore-DB5U2WMC.mjs → DebtsStore-z3VARSO6.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-DlGZfm4y.mjs → ExportCsvAction-sX8Rg4Ov.mjs} +3 -3
  21. package/dist/FinstrongStore-F2c607dj.mjs +101 -0
  22. package/dist/{GoalStore-deVLYr7n.mjs → GoalStore-TD0BfzWX.mjs} +3 -3
  23. package/dist/{Help-BnPXM_N2.mjs → Help-B6dIcujh.mjs} +2 -2
  24. package/dist/{LineChart-Ct9DNmhS.mjs → LineChart-D4GI7nVh.mjs} +181 -209
  25. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-DHa3KJPs.mjs} +10 -10
  26. package/dist/{ManageIncome-DB_lKOIy.mjs → ManageIncome-D3n1EWxe.mjs} +61 -63
  27. package/dist/{MicroWidgetContainer-DEiRnYVa.mjs → MicroWidgetContainer-DpeqN9n3.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-CmXpTylX.mjs → MiniWidgetContainer-D0gfmbaF.mjs} +1 -1
  29. package/dist/{NetWorthStore-CUz0bwVm.mjs → NetWorthStore-B_1oulrt.mjs} +2 -2
  30. package/dist/{NotificationSettings-Bfb3T7nN.mjs → NotificationSettings-BRm_EJZV.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-BLiU-7Lf.mjs → OriginalBalanceAction-CAaVbVMO.mjs} +3 -3
  32. package/dist/{RecurringSettings-dJJxtLyU.mjs → RecurringSettings-C28GrQcP.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-CJvE4LNC.mjs → TransactionDetails-BWffqew4.mjs} +8 -11
  37. package/dist/{TransactionStore-DvOEbOzL.mjs → TransactionStore-DxPLdF3B.mjs} +3 -3
  38. package/dist/{TrendsStore-BVNxGsE4.mjs → TrendsStore-DCYbpXPO.mjs} +14 -14
  39. package/dist/{User-wXzDI4M8.mjs → User-BQUxBeZV.mjs} +2 -2
  40. package/dist/{WidgetContainer-GoNq8wwm.mjs → WidgetContainer-C88Ecu2W.mjs} +4 -4
  41. package/dist/accounts/index.es.js +14 -14
  42. package/dist/accounts/stores/AccountStore.d.ts +0 -2
  43. package/dist/analytics/index.es.js +2 -2
  44. package/dist/budgets/index.es.js +12 -12
  45. package/dist/cashflow/index.es.js +44 -44
  46. package/dist/categories/index.es.js +2 -2
  47. package/dist/common/components/Select.d.ts +2 -4
  48. package/dist/common/components/charts/LineChart.d.ts +2 -8
  49. package/dist/common/components/charts/linechart/CustomMark.d.ts +0 -4
  50. package/dist/common/components/drawer/Drawer.d.ts +0 -3
  51. package/dist/common/hooks/useAriaLive.d.ts +8 -0
  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 -58
  56. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  57. package/dist/dashboard/index.es.js +2 -2
  58. package/dist/debts/index.es.js +11 -11
  59. package/dist/{exportTransactionsToCSV-hrNpJ77n.mjs → exportTransactionsToCSV-7bVS7KXf.mjs} +2 -2
  60. package/dist/finstrong/api/FinstrongApi.d.ts +0 -5
  61. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +1 -3
  62. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  63. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -4
  64. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  65. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  66. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +3 -4
  67. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  68. package/dist/finstrong/index.es.js +1055 -3130
  69. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -9
  70. package/dist/finstrong/util/finstrongUtils.d.ts +1 -58
  71. package/dist/finstrong/utils/Finstrong.d.ts +6 -0
  72. package/dist/goals/index.es.js +14 -14
  73. package/dist/help/index.es.js +3 -3
  74. package/dist/{hooks-C41HAxM5.mjs → hooks-D6XlXHf4.mjs} +3 -3
  75. package/dist/investments/index.es.js +4 -4
  76. package/dist/merchants/index.es.js +1 -1
  77. package/dist/networth/index.es.js +34 -34
  78. package/dist/notifications/index.es.js +4 -4
  79. package/dist/recurringtransactions/index.es.js +13 -13
  80. package/dist/settings/index.es.js +8 -8
  81. package/dist/spending/index.es.js +373 -222
  82. package/dist/transactions/index.es.js +307 -271
  83. package/dist/trends/index.es.js +94 -94
  84. package/dist/{useAccountDisplayName-B5O6hQ1B.mjs → useAccountDisplayName-BcRqfar8.mjs} +2 -2
  85. package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-DBpwEq10.mjs} +1 -1
  86. package/package.json +1 -1
  87. package/dist/Drawer-BEtCk82g.mjs +0 -163
  88. package/dist/FinstrongStore-rVhw737g.mjs +0 -432
  89. package/dist/SpendingLegend-squvjEhu.mjs +0 -170
  90. package/dist/accounts/components/AccountsListCompact.d.ts +0 -10
  91. package/dist/common/components/drawer/Footer.d.ts +0 -17
  92. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +0 -4
  93. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +0 -4
  94. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +0 -3
  95. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +0 -3
  96. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +0 -4
  97. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +0 -3
  98. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +0 -10
  99. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +0 -6
  100. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +0 -4
  101. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +0 -4
  102. package/dist/finstrong/components/ProgressBar.d.ts +0 -15
  103. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +0 -3
  104. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +0 -3
  105. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +0 -4
  106. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +0 -3
  107. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +0 -3
  108. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +0 -4
  109. package/dist/finstrong/components/StatusChip.d.ts +0 -5
  110. package/dist/finstrong/components/onboarding/Onboarding.d.ts +0 -2
  111. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +0 -11
  112. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +0 -8
  113. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +0 -8
  114. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +0 -14
  115. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +0 -8
  116. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +0 -4
  117. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +0 -4
  118. package/dist/finstrong/components/shared/Accounts.d.ts +0 -8
  119. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +0 -25
  120. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +0 -28
  121. package/dist/finstrong/components/shared/LineGraph.d.ts +0 -7
  122. package/dist/finstrong/components/shared/TotalCard.d.ts +0 -8
  123. package/dist/finstrong/components/shared/TransactionList.d.ts +0 -15
  124. package/dist/finstrong/components/shared/Transactions.d.ts +0 -11
  125. package/dist/finstrong/constants/index.d.ts +0 -8
@@ -6,10 +6,10 @@ import C from "@mui/material/ListItemButton";
6
6
  import I from "@mui/material/ListItemText";
7
7
  import L from "@mui/material/Stack";
8
8
  import { ChevronRight as g } from "@mxenabled/mx-icons";
9
- import { Text as a } from "@mxenabled/mxui";
10
- import { D as j } from "./Dialog-BPTr3qHE.mjs";
11
- import { u as P } from "./hooks-C41HAxM5.mjs";
12
- const q = v(
9
+ import { Text as m } from "@mxenabled/mxui";
10
+ import { a as j } from "./Dialog-CWW597AF.mjs";
11
+ import { u as P } from "./hooks-D6XlXHf4.mjs";
12
+ const D = v(
13
13
  ({
14
14
  children: n,
15
15
  isDisabled: i = !1,
@@ -21,7 +21,7 @@ const q = v(
21
21
  secondaryText: y,
22
22
  zeroStateText: o
23
23
  }) => {
24
- const { common: m } = P(), [d, t] = b.useState(!1), h = () => {
24
+ const { common: a } = P(), [d, t] = b.useState(!1), h = () => {
25
25
  t(!1), c?.();
26
26
  }, u = () => {
27
27
  t(!1), l();
@@ -32,9 +32,9 @@ const q = v(
32
32
  I,
33
33
  {
34
34
  primary: /* @__PURE__ */ e(L, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
35
- /* @__PURE__ */ r(a, { variant: "body1", children: f }),
35
+ /* @__PURE__ */ r(m, { variant: "body1", children: f }),
36
36
  /* @__PURE__ */ r(
37
- a,
37
+ m,
38
38
  {
39
39
  bold: !0,
40
40
  color: o ? "primary.main" : "text.primary",
@@ -52,12 +52,12 @@ const q = v(
52
52
  /* @__PURE__ */ r(
53
53
  j,
54
54
  {
55
- copy: { title: p, close_aria: m.close_aria },
55
+ copy: { title: p, close_aria: a.close_aria },
56
56
  disablePrimaryButton: s,
57
57
  isOpen: d,
58
58
  onClose: h,
59
59
  onPrimaryAction: u,
60
- primaryText: m.save_button,
60
+ primaryText: a.save_button,
61
61
  children: n
62
62
  }
63
63
  )
@@ -65,5 +65,5 @@ const q = v(
65
65
  }
66
66
  );
67
67
  export {
68
- q as L
68
+ D as L
69
69
  };
@@ -1,38 +1,38 @@
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
- import p from "@mui/material/Stack";
7
+ import h from "@mui/material/Stack";
8
8
  import { MerchantLogo as H, Text as S, H1 as re, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
9
9
  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
- 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-CJvE4LNC.mjs";
18
+ import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-BWffqew4.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, p as De } from "./hooks-C41HAxM5.mjs";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, p as De } from "./hooks-D6XlXHf4.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-GoNq8wwm.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-C88Ecu2W.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-wXzDI4M8.mjs";
35
+ import { T as V } from "./User-BQUxBeZV.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -61,15 +61,15 @@ const ee = ({
61
61
  { id: 4, label: o.weekday_thursday },
62
62
  { id: 5, label: o.weekday_friday },
63
63
  { id: 6, label: o.weekday_saturday }
64
- ], y = [...Array(31).keys()].map((h) => ({
65
- id: h + 1,
66
- label: Ie(h + 1)
64
+ ], y = [...Array(31).keys()].map((p) => ({
65
+ id: p + 1,
66
+ label: Ie(p + 1)
67
67
  }));
68
68
  y[30].label += ` (${o.last_day_of_month})`;
69
- const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, D = xe(z(), t), f = (h) => {
70
- h && s(be(h));
69
+ const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, D = xe(z(), t), f = (p) => {
70
+ p && s(be(p));
71
71
  };
72
- return /* @__PURE__ */ c(p, { gap: 24, sx: { m: 24 }, children: [
72
+ return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
73
73
  /* @__PURE__ */ e(
74
74
  N,
75
75
  {
@@ -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,
@@ -172,13 +172,13 @@ const ee = ({
172
172
  const f = u.useMemo(
173
173
  () => a.find((_) => _.guid === g),
174
174
  [g, a]
175
- ), h = t.repeating_transaction_type === E.Income, k = async () => {
175
+ ), p = 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
- return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
- /* @__PURE__ */ c(p, { direction: "column", m: 24, children: [
180
+ return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
181
+ /* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
182
182
  /* @__PURE__ */ e(
183
183
  H,
184
184
  {
@@ -189,8 +189,8 @@ const ee = ({
189
189
  }
190
190
  ),
191
191
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
192
- /* @__PURE__ */ c(re, { color: h ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
- h ? "+" : "",
192
+ /* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
193
+ p ? "+" : "",
194
194
  J(m, "0,0.00")
195
195
  ] }),
196
196
  /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
@@ -228,11 +228,11 @@ 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",
235
- children: h ? r.delete_income_title : r.delete_expense_title
235
+ children: p ? r.delete_income_title : r.delete_expense_title
236
236
  }
237
237
  ),
238
238
  /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
@@ -251,13 +251,13 @@ const ee = ({
251
251
  Te,
252
252
  {
253
253
  copy: {
254
- title: h ? r.delete_income_title : r.delete_expense_title,
254
+ title: p ? r.delete_income_title : r.delete_expense_title,
255
255
  close_aria: r.close_drawer_aria
256
256
  },
257
257
  isOpen: v,
258
258
  onClose: () => b(!1),
259
259
  onPrimaryAction: k,
260
- children: /* @__PURE__ */ e(S, { children: h ? r.delete_income_description : r.delete_expense_description })
260
+ children: /* @__PURE__ */ e(S, { children: p ? r.delete_income_description : r.delete_expense_description })
261
261
  }
262
262
  )
263
263
  ] });
@@ -280,10 +280,10 @@ const ee = ({
280
280
  merchantGuid: t.merchant_guid
281
281
  }
282
282
  ) }),
283
- /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(p, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
- /* @__PURE__ */ c(p, { direction: "column", sx: { width: "50%" }, children: [
283
+ /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
284
+ /* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
285
285
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
286
- /* @__PURE__ */ c(p, { alignItems: "center", direction: "row", gap: 6, children: [
286
+ /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
287
287
  t.account?.institution_guid && /* @__PURE__ */ e(
288
288
  ae,
289
289
  {
@@ -295,7 +295,7 @@ const ee = ({
295
295
  /* @__PURE__ */ e(S, { variant: "caption", children: o })
296
296
  ] })
297
297
  ] }),
298
- /* @__PURE__ */ c(p, { alignItems: "flex-end", sx: { width: "50%" }, children: [
298
+ /* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
299
299
  /* @__PURE__ */ c(
300
300
  S,
301
301
  {
@@ -309,7 +309,7 @@ const ee = ({
309
309
  }
310
310
  ),
311
311
  /* @__PURE__ */ e(
312
- p,
312
+ h,
313
313
  {
314
314
  direction: "row",
315
315
  sx: {
@@ -351,7 +351,7 @@ const ee = ({
351
351
  onSelected: i
352
352
  }) => {
353
353
  const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
354
- return /* @__PURE__ */ c(p, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
354
+ return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
355
355
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
356
356
  /* @__PURE__ */ e(
357
357
  ke,
@@ -389,25 +389,23 @@ const ee = ({
389
389
  transaction: a
390
390
  }) => {
391
391
  const { recurring: m } = w();
392
- return /* @__PURE__ */ c(p, { bgcolor: n, gap: 24, height: "100%", children: [
393
- /* @__PURE__ */ c(p, { children: [
392
+ return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
393
+ /* @__PURE__ */ c(h, { children: [
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, p] = 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 = () => {
@@ -447,7 +445,7 @@ const ee = ({
447
445
  b(""), C(!1);
448
446
  };
449
447
  return /* @__PURE__ */ c(L, { children: [
450
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
448
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(pe, { size: 24 }), variant: "contained", children: t }),
451
449
  /* @__PURE__ */ e(
452
450
  O,
453
451
  {
@@ -483,9 +481,9 @@ const ee = ({
483
481
  {
484
482
  firstDay: f,
485
483
  frequency: g,
486
- onFirstDayChange: h,
484
+ onFirstDayChange: p,
487
485
  onFrequencyChange: D,
488
- onSecondDayChange: P,
486
+ onSecondDayChange: G,
489
487
  secondDay: k,
490
488
  transaction: _
491
489
  }
@@ -496,9 +494,9 @@ 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;
500
- return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
501
- /* @__PURE__ */ e(pe, { size: 48 }),
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;
498
+ return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
499
+ /* @__PURE__ */ e(he, { size: 48 }),
502
500
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
503
501
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
504
502
  /* @__PURE__ */ e(
@@ -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
  });
@@ -526,7 +524,7 @@ const ee = ({
526
524
  (a) => a.repeating_transaction_type === E.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
527
525
  );
528
526
  return /* @__PURE__ */ e(L, { children: o.length !== 0 ? /* @__PURE__ */ c(
529
- p,
527
+ h,
530
528
  {
531
529
  sx: {
532
530
  height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
@@ -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-C41HAxM5.mjs";
9
+ import { W as w } from "./hooks-D6XlXHf4.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-C41HAxM5.mjs";
11
+ import { W as j } from "./hooks-D6XlXHf4.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-B5Yr0e_o.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-FyY0AWYQ.mjs";
6
+ import { a as b } from "./Accounts-IeEtQjzA.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-DaFRU5st.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, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-C41HAxM5.mjs";
18
+ import { u as D, s as T, p as A, d as se, g as ae, a as W, b as le } from "./hooks-D6XlXHf4.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-CBOkNlNP.mjs";
21
+ import { a as M } from "./Dialog-CWW597AF.mjs";
22
+ import { C as me } from "./CurrencyInput-CsCy7uaS.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-CNjP5cfR.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-DBpwEq10.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-uobBrm_a.mjs";
6
- import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
5
+ import { L as y } from "./ListItemAction-DHa3KJPs.mjs";
6
+ import { u as h, l as b } from "./hooks-D6XlXHf4.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-CBOkNlNP.mjs";
8
+ import { C as f } from "./CurrencyInput-CsCy7uaS.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-DB_lKOIy.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-CngsRZ3K.mjs";
13
- import { A as m } from "./WidgetContainer-GoNq8wwm.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-D3n1EWxe.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-D6XlXHf4.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
+ import { A as m } from "./WidgetContainer-C88Ecu2W.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, {