@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms2

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 (90) hide show
  1. package/dist/{Account-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
  2. package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
  3. package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
  4. package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
  5. package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
  6. package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
  7. package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
  8. package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
  9. package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
  10. package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
  11. package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
  12. package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
  13. package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
  14. package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
  15. package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
  16. package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
  17. package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
  18. package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
  19. package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
  20. package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
  21. package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
  22. package/dist/Loader-BSWSYqvn.mjs +24 -0
  23. package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
  24. package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
  25. package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
  26. package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
  27. package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
  28. package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
  29. package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
  30. package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
  31. package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
  32. package/dist/SearchBox-B2_zLv8-.mjs +42 -0
  33. package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
  34. package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
  35. package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
  36. package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
  37. package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
  38. package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
  39. package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
  40. package/dist/accounts/index.es.js +45 -45
  41. package/dist/analytics/index.es.js +22 -22
  42. package/dist/budgets/index.es.js +266 -265
  43. package/dist/cashflow/index.es.js +155 -154
  44. package/dist/categories/index.es.js +1 -1
  45. package/dist/common/components/Loader.d.ts +2 -1
  46. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  47. package/dist/common/components/barchart/Bar.d.ts +25 -0
  48. package/dist/common/components/barchart/BarChart.d.ts +34 -0
  49. package/dist/common/components/barchart/BarColumn.d.ts +37 -0
  50. package/dist/common/components/barchart/Legend.d.ts +8 -0
  51. package/dist/common/components/barchart/Util.d.ts +42 -0
  52. package/dist/common/components/barchart/index.d.ts +1 -0
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
  54. package/dist/common/components/index.d.ts +1 -0
  55. package/dist/common/index.es.js +659 -394
  56. package/dist/common/utils/Theme.d.ts +3 -1
  57. package/dist/dashboard/index.es.js +21 -21
  58. package/dist/debts/components/DebtsChart.d.ts +2 -1
  59. package/dist/debts/index.es.js +438 -438
  60. package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
  61. package/dist/finstrong/index.es.js +113 -113
  62. package/dist/goals/index.es.js +379 -385
  63. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  64. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  65. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  66. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  67. package/dist/help/index.es.js +3 -3
  68. package/dist/investments/index.es.js +279 -278
  69. package/dist/merchants/index.es.js +16 -16
  70. package/dist/microinsights/index.es.js +1 -1
  71. package/dist/networth/components/NetWorthChange.d.ts +1 -3
  72. package/dist/networth/index.es.js +185 -191
  73. package/dist/notifications/index.es.js +29 -29
  74. package/dist/recurringtransactions/index.es.js +82 -82
  75. package/dist/settings/index.es.js +254 -254
  76. package/dist/spending/index.es.js +43 -43
  77. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
  78. package/dist/transactions/index.es.js +150 -149
  79. package/dist/trends/index.es.js +297 -296
  80. package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
  81. package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
  82. package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
  83. package/package.json +30 -30
  84. package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
  85. package/dist/AccountListItem-wgmlex-_.mjs +0 -90
  86. package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
  87. package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
  88. package/dist/Loader-Ckqi9Rx6.mjs +0 -21
  89. package/dist/SearchBox-B7km148n.mjs +0 -39
  90. package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
@@ -4,20 +4,20 @@ import { observer as A } from "mobx-react-lite";
4
4
  import M from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
- import y from "@mui/material/Stack";
7
+ import h from "@mui/material/Stack";
8
8
  import { MerchantLogo as H, Text as S, H1 as oe, 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, e as de } from "./RecurringTransactions-CxcSL1dY.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R, e as de } from "./RecurringTransactions-Bhx56aA3.mjs";
14
14
  import { subDays as _e } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as ue } from "date-fns/endOfMonth";
17
17
  import { parseISO as me } from "date-fns/parseISO";
18
18
  import $ from "@mui/material/Button";
19
- import { Delete as pe, Add as ye, ReceiptLong as he } from "@mxenabled/mx-icons";
20
- import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-Bn0qY5Hw.mjs";
19
+ import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
20
+ import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-Duv1X9ec.mjs";
21
21
  import { getDayOfYear as xe } from "date-fns/getDayOfYear";
22
22
  import { setDayOfYear as Se } from "date-fns/setDayOfYear";
23
23
  import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -25,15 +25,15 @@ import { DatePicker as we } from "@mui/x-date-pickers";
25
25
  import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
26
26
  import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
27
27
  import { b as Re, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
28
- import { D as O } from "./Drawer-BF40nbsH.mjs";
29
- import { A as E } from "./WidgetContainer-CDh9fjpR.mjs";
28
+ import { D as O } from "./Drawer-Dqe5EqvA.mjs";
29
+ import { A as E } from "./WidgetContainer-B1Jzb4XA.mjs";
30
30
  import { f as Ee, a as Te, D as Le } from "./Dialog-CDV0kKxj.mjs";
31
31
  import { formatISO as Oe } from "date-fns/formatISO";
32
32
  import { fromUnixTime as ke } from "date-fns/fromUnixTime";
33
- import { S as Ne } from "./SearchBox-B7km148n.mjs";
33
+ import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
34
34
  import { h as Me } from "./DateUtil-CDPZw_-m.mjs";
35
- import { b as q } from "./Category-Ccoew_sA.mjs";
36
- import { T as V } from "./User-BklmOUSd.mjs";
35
+ import { b as B } from "./Category-Ccoew_sA.mjs";
36
+ import { T as V } from "./User-DqNX2GAK.mjs";
37
37
  const ee = ({
38
38
  frequency: n,
39
39
  firstDay: t,
@@ -62,15 +62,15 @@ const ee = ({
62
62
  { id: 4, label: r.weekday_thursday },
63
63
  { id: 5, label: r.weekday_friday },
64
64
  { id: 6, label: r.weekday_saturday }
65
- ], h = [...Array(31).keys()].map((p) => ({
65
+ ], y = [...Array(31).keys()].map((p) => ({
66
66
  id: p + 1,
67
67
  label: Re(p + 1)
68
68
  }));
69
- h[30].label += ` (${r.last_day_of_month})`;
70
- const C = h.slice(0, 15), v = h.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, I = Se(z(), t), f = (p) => {
69
+ y[30].label += ` (${r.last_day_of_month})`;
70
+ 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, I = Se(z(), t), f = (p) => {
71
71
  p && s(xe(p));
72
72
  };
73
- return /* @__PURE__ */ c(y, { gap: 24, sx: { m: 24 }, children: [
73
+ return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
74
74
  /* @__PURE__ */ e(
75
75
  N,
76
76
  {
@@ -94,7 +94,7 @@ const ee = ({
94
94
  {
95
95
  label: n === d.TwiceAMonth ? r.first_day_of_the_month : r.day_of_the_month,
96
96
  onChange: s,
97
- options: n === d.TwiceAMonth ? C : h,
97
+ options: n === d.TwiceAMonth ? C : y,
98
98
  value: t
99
99
  }
100
100
  ),
@@ -118,7 +118,7 @@ const ee = ({
118
118
  ) })
119
119
  ] });
120
120
  }, Fe = A(({ repeatingTransaction: n }) => {
121
- const { recurring: t } = w(), { updateRepeatingTransaction: o } = F(), { onEvent: i } = G(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, h] = _.useState(n.recurrence_day), [C, v] = _.useState(n.second_recurrence_day), b = async () => {
121
+ const { recurring: t } = w(), { updateRepeatingTransaction: o } = F(), { onEvent: i } = G(), [s, l] = _.useState(!1), [r, a] = _.useState(n.recurrence_type), [m, y] = _.useState(n.recurrence_day), [C, v] = _.useState(n.second_recurrence_day), b = async () => {
122
122
  await o({
123
123
  ...n,
124
124
  recurrence_type: r,
@@ -151,7 +151,7 @@ const ee = ({
151
151
  {
152
152
  firstDay: m,
153
153
  frequency: r,
154
- onFirstDayChange: h,
154
+ onFirstDayChange: y,
155
155
  onFrequencyChange: a,
156
156
  onSecondDayChange: v,
157
157
  secondDay: C
@@ -162,7 +162,7 @@ const ee = ({
162
162
  ] });
163
163
  }), Ge = A(
164
164
  ({ onDeleted: n, recurringTransaction: t }) => {
165
- const { recurring: o } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: r, transactions: a } = Z(), { amount: m, description: h, merchant_guid: C } = t, [v, b] = _.useState(!1), [g, I] = _.useState("");
165
+ const { recurring: o } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: r, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = _.useState(!1), [g, I] = _.useState("");
166
166
  _.useEffect(() => {
167
167
  r({
168
168
  accounts: i,
@@ -178,8 +178,8 @@ const ee = ({
178
178
  }, P = () => {
179
179
  b(!0), s(E.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
180
180
  };
181
- return /* @__PURE__ */ c(y, { bgcolor: "background.default", direction: "column", height: "100%", children: [
182
- /* @__PURE__ */ c(y, { direction: "column", m: 24, children: [
181
+ return /* @__PURE__ */ c(h, { bgcolor: "background.default", direction: "column", height: "100%", children: [
182
+ /* @__PURE__ */ c(h, { direction: "column", m: 24, children: [
183
183
  /* @__PURE__ */ e(
184
184
  H,
185
185
  {
@@ -189,7 +189,7 @@ const ee = ({
189
189
  sx: { mb: 12 }
190
190
  }
191
191
  ),
192
- /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: h }),
192
+ /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
193
193
  /* @__PURE__ */ c(oe, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
194
194
  p ? "+" : "",
195
195
  J(m, "0,0.00")
@@ -236,7 +236,7 @@ const ee = ({
236
236
  children: p ? o.delete_income_title : o.delete_expense_title
237
237
  }
238
238
  ),
239
- /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "body1", children: o.paid_transactions }),
239
+ /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: o.paid_transactions }),
240
240
  /* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
241
241
  /* @__PURE__ */ e(
242
242
  O,
@@ -281,10 +281,10 @@ const ee = ({
281
281
  merchantGuid: t.merchant_guid
282
282
  }
283
283
  ) }),
284
- /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(y, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
285
- /* @__PURE__ */ c(y, { direction: "column", sx: { width: "50%" }, children: [
284
+ /* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
285
+ /* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
286
286
  /* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
287
- /* @__PURE__ */ c(y, { alignItems: "center", direction: "row", gap: 6, children: [
287
+ /* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
288
288
  t.account?.institution_guid && /* @__PURE__ */ e(
289
289
  ae,
290
290
  {
@@ -296,7 +296,7 @@ const ee = ({
296
296
  /* @__PURE__ */ e(S, { variant: "caption", children: r })
297
297
  ] })
298
298
  ] }),
299
- /* @__PURE__ */ c(y, { alignItems: "flex-end", sx: { width: "50%" }, children: [
299
+ /* @__PURE__ */ c(h, { alignItems: "flex-end", sx: { width: "50%" }, children: [
300
300
  /* @__PURE__ */ c(
301
301
  S,
302
302
  {
@@ -310,7 +310,7 @@ const ee = ({
310
310
  }
311
311
  ),
312
312
  /* @__PURE__ */ e(
313
- y,
313
+ h,
314
314
  {
315
315
  direction: "row",
316
316
  sx: {
@@ -352,7 +352,7 @@ const ee = ({
352
352
  onSelected: i
353
353
  }) => {
354
354
  const { recurring: s } = w(), { searchValue: l, setSearchValue: r } = fe();
355
- return /* @__PURE__ */ c(y, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
355
+ return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
356
356
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
357
357
  /* @__PURE__ */ e(
358
358
  Ne,
@@ -390,13 +390,13 @@ const ee = ({
390
390
  transaction: a
391
391
  }) => {
392
392
  const { recurring: m } = w();
393
- return /* @__PURE__ */ c(y, { bgcolor: n, gap: 24, height: "100%", children: [
394
- /* @__PURE__ */ c(y, { children: [
393
+ return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
394
+ /* @__PURE__ */ c(h, { children: [
395
395
  /* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
396
396
  /* @__PURE__ */ e(be, { transaction: a })
397
397
  ] }),
398
398
  /* @__PURE__ */ c(M, { children: [
399
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "body1", children: m.payment_schedule }),
399
+ /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
400
400
  /* @__PURE__ */ e(
401
401
  ee,
402
402
  {
@@ -411,17 +411,17 @@ const ee = ({
411
411
  ] })
412
412
  ] });
413
413
  }
414
- ), B = (n) => n.top_level_category_guid !== q.INCOME && n.transaction_type === V.DEBIT, ze = (n, t) => B(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 === q.INCOME || n.top_level_category_guid === q.TRANSFER && n.transaction_type === V.CREDIT, qe = (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(
414
+ ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, ze = (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, Be = (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(
415
415
  ({
416
416
  isIncome: n = !1,
417
417
  label: t,
418
418
  onAddRecurringTransaction: o = () => null
419
419
  }) => {
420
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [h, C] = _.useState(!1), [v, b] = _.useState(""), [g, I] = _.useState(d.EveryMonth), [f, p] = _.useState(1), [k, P] = _.useState(15), u = _.useMemo(
420
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: r } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = _.useState(!1), [v, b] = _.useState(""), [g, I] = _.useState(d.EveryMonth), [f, p] = _.useState(1), [k, P] = _.useState(15), u = _.useMemo(
421
421
  () => r.find((x) => x.guid === v),
422
422
  [v, r]
423
423
  ), ne = () => {
424
- C(!0), l(n ? { ...s, custom: W } : { ...s, custom: B });
424
+ C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
425
425
  }, re = async () => {
426
426
  if (!u) {
427
427
  j();
@@ -448,12 +448,12 @@ const ee = ({
448
448
  b(""), C(!1);
449
449
  };
450
450
  return /* @__PURE__ */ c(L, { children: [
451
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(ye, { size: 24 }), variant: "contained", children: t }),
451
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
452
452
  /* @__PURE__ */ e(
453
453
  O,
454
454
  {
455
455
  ariaLabelClose: i.close_drawer_aria,
456
- isOpen: h,
456
+ isOpen: y,
457
457
  onClose: () => C(!1),
458
458
  title: t,
459
459
  children: /* @__PURE__ */ e(
@@ -463,7 +463,7 @@ const ee = ({
463
463
  onSearch: (x) => {
464
464
  l({
465
465
  ...s,
466
- custom: (D) => n ? x ? qe(D, x) : W(D) : x ? ze(D, x) : B(D)
466
+ custom: (D) => n ? x ? Be(D, x) : W(D) : x ? ze(D, x) : q(D)
467
467
  });
468
468
  },
469
469
  onSelected: (x) => b(x)
@@ -495,11 +495,11 @@ const ee = ({
495
495
  )
496
496
  ] });
497
497
  }
498
- ), Be = A(
498
+ ), qe = A(
499
499
  ({ zeroStateFor: n }) => {
500
500
  const { recurring: t } = w(), { onEvent: o } = 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, r = i ? t.add_income : t.add_expense;
501
- return /* @__PURE__ */ c(y, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
502
- /* @__PURE__ */ e(he, { size: 48 }),
501
+ return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
502
+ /* @__PURE__ */ e(ye, { size: 48 }),
503
503
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
504
504
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
505
505
  /* @__PURE__ */ e(
@@ -527,14 +527,14 @@ const ee = ({
527
527
  (a) => a.repeating_transaction_type === R.Income && (a.transactions.length > 0 || a.recurrence_type === d.EveryYear)
528
528
  );
529
529
  return /* @__PURE__ */ e(L, { children: r.length !== 0 ? /* @__PURE__ */ c(
530
- y,
530
+ h,
531
531
  {
532
532
  sx: {
533
533
  height: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)",
534
534
  maxHeight: n ? "calc(100vh - 62px)" : "calc(100vh - 109px)"
535
535
  },
536
536
  children: [
537
- n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "body2", children: t.income }),
537
+ n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
538
538
  /* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: r.map((a, m) => /* @__PURE__ */ c(_.Fragment, { children: [
539
539
  /* @__PURE__ */ e(Pe, { onClick: s, repeatingTransaction: a }),
540
540
  /* @__PURE__ */ e(
@@ -570,16 +570,16 @@ const ee = ({
570
570
  ] })
571
571
  ]
572
572
  }
573
- ) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
573
+ ) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
574
574
  });
575
575
  export {
576
576
  te as A,
577
577
  It as M,
578
578
  Pe as R,
579
579
  Ue as S,
580
- Be as a,
580
+ qe as a,
581
581
  Ge as b,
582
582
  Ye as c,
583
583
  W as d,
584
- qe as i
584
+ Be as i
585
585
  };
@@ -1,19 +1,19 @@
1
1
  import { jsxs as i, jsx as r, Fragment as x } from "react/jsx-runtime";
2
2
  import g from "@mui/material/Box";
3
- import b from "@mui/material/Button";
4
- import u from "@mui/material/Card";
5
- import C from "@mui/material/CardHeader";
6
- import v from "@mui/material/CardContent";
3
+ import u from "@mui/material/Button";
4
+ import C from "@mui/material/Card";
5
+ import v from "@mui/material/CardHeader";
6
+ import b from "@mui/material/CardContent";
7
7
  import z from "@mui/material/IconButton";
8
8
  import { Icon as H, ChevronRight as I } from "@mxenabled/mx-icons";
9
- import { H3 as W, Text as y, P as B } from "@mxenabled/mxui";
9
+ import { H3 as W, Text as B, P as S } from "@mxenabled/mxui";
10
10
  import { u as j } from "./useDimensions-27p2evRx.mjs";
11
11
  import { W as w } from "./hooks-C41HAxM5.mjs";
12
12
  const G = ({
13
13
  children: m,
14
14
  className: a = "mx-cmn-mini-widget",
15
- closeLabel: d,
16
- contentStyles: l,
15
+ closeLabel: l,
16
+ contentStyles: d,
17
17
  onClose: e,
18
18
  onPrimaryCtaClick: o,
19
19
  primaryCtaLabel: s = "",
@@ -22,9 +22,9 @@ const G = ({
22
22
  title: n = ""
23
23
  }) => {
24
24
  const [p, { height: h, width: f }] = j();
25
- return /* @__PURE__ */ i(u, { className: a, sx: { ...c }, children: [
25
+ return /* @__PURE__ */ i(C, { className: a, sx: { ...c }, children: [
26
26
  /* @__PURE__ */ r(
27
- C,
27
+ v,
28
28
  {
29
29
  sx: { pb: 8 },
30
30
  title: /* @__PURE__ */ i(x, { children: [
@@ -40,15 +40,15 @@ const G = ({
40
40
  },
41
41
  children: [
42
42
  n && /* @__PURE__ */ r(W, { children: n }),
43
- e ? /* @__PURE__ */ r(z, { "aria-label": d, onClick: e, size: "small", children: /* @__PURE__ */ r(H, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(b, { endIcon: /* @__PURE__ */ r(I, {}), onClick: o, size: "small", children: /* @__PURE__ */ r(y, { bold: !0, variant: "body2", children: s }) })
43
+ e ? /* @__PURE__ */ r(z, { "aria-label": l, onClick: e, size: "small", children: /* @__PURE__ */ r(H, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ r(u, { endIcon: /* @__PURE__ */ r(I, {}), onClick: o, size: "small", children: /* @__PURE__ */ r(B, { bold: !0, variant: "Small", children: s }) })
44
44
  ]
45
45
  }
46
46
  ),
47
- t && /* @__PURE__ */ r(B, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "body2", children: t })
47
+ t && /* @__PURE__ */ r(S, { color: "text.secondary", sx: { fontSize: 15, lineHeight: "20px" }, variant: "Small", children: t })
48
48
  ] })
49
49
  }
50
50
  ),
51
- /* @__PURE__ */ r(v, { ref: p, sx: { p: 0, ...l }, children: /* @__PURE__ */ r(w, { availableHeight: h, availableWidth: f, children: m }) })
51
+ /* @__PURE__ */ r(b, { ref: p, sx: { p: 0, ...d }, children: /* @__PURE__ */ r(w, { availableHeight: h, availableWidth: f, children: m }) })
52
52
  ] });
53
53
  };
54
54
  export {
@@ -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-CRUehOiy.mjs";
7
- import { h as N, i as M, a as v } from "./ConnectDrawer-DVp54lUH.mjs";
6
+ import { a as b } from "./Accounts-DUHkUyK4.mjs";
7
+ import { h as N, i as M, a as v } from "./ConnectDrawer-Dn1MlqLz.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));