@mx-cartographer/experiences 9.1.3 → 9.1.4-alpha.al0

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 (128) hide show
  1. package/CHANGELOG.md +0 -6
  2. package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs → AccountDetailsDrawer-Dae8eUXt.mjs} +10 -10
  3. package/dist/{AccountDetailsDrawer-Cq4kiiKD.mjs.map → AccountDetailsDrawer-Dae8eUXt.mjs.map} +1 -1
  4. package/dist/{AccountDetailsHeader-BliEZhz7.mjs → AccountDetailsHeader-D_UjMD99.mjs} +4 -4
  5. package/dist/{AccountDetailsHeader-BliEZhz7.mjs.map → AccountDetailsHeader-D_UjMD99.mjs.map} +1 -1
  6. package/dist/{Analytics-CkYXKvco.mjs → Analytics-BJDUP2qI.mjs} +2 -2
  7. package/dist/{Analytics-CkYXKvco.mjs.map → Analytics-BJDUP2qI.mjs.map} +1 -1
  8. package/dist/{CategorySelectorDrawer-NJsFsKP1.mjs → CategorySelectorDrawer-k8AZYC8I.mjs} +2 -2
  9. package/dist/{CategorySelectorDrawer-NJsFsKP1.mjs.map → CategorySelectorDrawer-k8AZYC8I.mjs.map} +1 -1
  10. package/dist/{Connect-BH0Pt6zc.mjs → Connect-tID_S_5e.mjs} +2 -2
  11. package/dist/{Connect-BH0Pt6zc.mjs.map → Connect-tID_S_5e.mjs.map} +1 -1
  12. package/dist/{ConnectCard-D7uxoH5Y.mjs → ConnectCard-DcM6tUOX.mjs} +2 -2
  13. package/dist/{ConnectCard-D7uxoH5Y.mjs.map → ConnectCard-DcM6tUOX.mjs.map} +1 -1
  14. package/dist/{ConnectDrawer-CW4LA3H3.mjs → ConnectDrawer-BQy4YYuc.mjs} +3 -3
  15. package/dist/{ConnectDrawer-CW4LA3H3.mjs.map → ConnectDrawer-BQy4YYuc.mjs.map} +1 -1
  16. package/dist/{ConnectionsDrawer-CZU9ku-k.mjs → ConnectionsDrawer-C73ASLMj.mjs} +3 -3
  17. package/dist/{ConnectionsDrawer-CZU9ku-k.mjs.map → ConnectionsDrawer-C73ASLMj.mjs.map} +1 -1
  18. package/dist/{CurrencyInput-DaGEQaLW.mjs → CurrencyInput-CABYmqBh.mjs} +2 -2
  19. package/dist/{CurrencyInput-DaGEQaLW.mjs.map → CurrencyInput-CABYmqBh.mjs.map} +1 -1
  20. package/dist/{EmbeddedCard-DCOQnTz-.mjs → EmbeddedCard-BwfkCsUN.mjs} +3 -3
  21. package/dist/{EmbeddedCard-DCOQnTz-.mjs.map → EmbeddedCard-BwfkCsUN.mjs.map} +1 -1
  22. package/dist/{Error-Dtw6yxkf.mjs → Error-BFJ3BnfS.mjs} +2 -2
  23. package/dist/{Error-Dtw6yxkf.mjs.map → Error-BFJ3BnfS.mjs.map} +1 -1
  24. package/dist/ErrorBoundary-C7BlHx04.mjs +27 -0
  25. package/dist/ErrorBoundary-C7BlHx04.mjs.map +1 -0
  26. package/dist/{ExportCsvAction-C-IisDcv.mjs → ExportCsvAction-B1257a3M.mjs} +3 -3
  27. package/dist/{ExportCsvAction-C-IisDcv.mjs.map → ExportCsvAction-B1257a3M.mjs.map} +1 -1
  28. package/dist/{GlobalAccountFilter-BhzR5Vb1.mjs → GlobalAccountFilter-DEEc3Bc5.mjs} +2 -2
  29. package/dist/{GlobalAccountFilter-BhzR5Vb1.mjs.map → GlobalAccountFilter-DEEc3Bc5.mjs.map} +1 -1
  30. package/dist/GlobalCopyApi-Tz10hezK.mjs +130 -0
  31. package/dist/GlobalCopyApi-Tz10hezK.mjs.map +1 -0
  32. package/dist/{Help-zVZdcmlk.mjs → Help-BAj_yo3q.mjs} +145 -145
  33. package/dist/Help-BAj_yo3q.mjs.map +1 -0
  34. package/dist/{LineChart-CUfiH86G.mjs → LineChart-BxEIZHht.mjs} +2 -2
  35. package/dist/{LineChart-CUfiH86G.mjs.map → LineChart-BxEIZHht.mjs.map} +1 -1
  36. package/dist/{ListItemAction-BqUCLj_w.mjs → ListItemAction-GDU5z4BN.mjs} +2 -2
  37. package/dist/{ListItemAction-BqUCLj_w.mjs.map → ListItemAction-GDU5z4BN.mjs.map} +1 -1
  38. package/dist/{ListItemWrapper-DRse79Iu.mjs → ListItemWrapper-D6b-6m4t.mjs} +2 -2
  39. package/dist/{ListItemWrapper-DRse79Iu.mjs.map → ListItemWrapper-D6b-6m4t.mjs.map} +1 -1
  40. package/dist/{ManageIncome-B_8i71mE.mjs → ManageIncome-BJWVPAly.mjs} +32 -32
  41. package/dist/{ManageIncome-B_8i71mE.mjs.map → ManageIncome-BJWVPAly.mjs.map} +1 -1
  42. package/dist/{MicroWidgetContainer-B2NnKBgW.mjs → MicroWidgetContainer-IUZQlml1.mjs} +2 -2
  43. package/dist/{MicroWidgetContainer-B2NnKBgW.mjs.map → MicroWidgetContainer-IUZQlml1.mjs.map} +1 -1
  44. package/dist/{MiniWidgetContainer-Bmv_WeUd.mjs → MiniWidgetContainer-CIswJui8.mjs} +2 -2
  45. package/dist/{MiniWidgetContainer-Bmv_WeUd.mjs.map → MiniWidgetContainer-CIswJui8.mjs.map} +1 -1
  46. package/dist/{NotificationSettings-CW7okUrk.mjs → NotificationSettings-DltXMrnb.mjs} +33 -33
  47. package/dist/{NotificationSettings-CW7okUrk.mjs.map → NotificationSettings-DltXMrnb.mjs.map} +1 -1
  48. package/dist/{OriginalBalanceAction-YrvxBYAl.mjs → OriginalBalanceAction-KuJSsZCA.mjs} +4 -4
  49. package/dist/{OriginalBalanceAction-YrvxBYAl.mjs.map → OriginalBalanceAction-KuJSsZCA.mjs.map} +1 -1
  50. package/dist/{RecurringSettings-hs0YUp83.mjs → RecurringSettings-D2Aaqz7d.mjs} +3 -3
  51. package/dist/{RecurringSettings-hs0YUp83.mjs.map → RecurringSettings-D2Aaqz7d.mjs.map} +1 -1
  52. package/dist/{SpendingLegend-CxvNOg3c.mjs → SpendingLegend-C_dMdqbe.mjs} +2 -2
  53. package/dist/{SpendingLegend-CxvNOg3c.mjs.map → SpendingLegend-C_dMdqbe.mjs.map} +1 -1
  54. package/dist/{TransactionDetails-DT-MQqOB.mjs → TransactionDetails-CDZNsKv7.mjs} +5 -5
  55. package/dist/{TransactionDetails-DT-MQqOB.mjs.map → TransactionDetails-CDZNsKv7.mjs.map} +1 -1
  56. package/dist/{UserStore-E5WvBXaY.mjs → UserStore-DzGgxsKk.mjs} +302 -317
  57. package/dist/UserStore-DzGgxsKk.mjs.map +1 -0
  58. package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs → ViewMoreMicroCard-DXaJ-56q.mjs} +4 -4
  59. package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs.map → ViewMoreMicroCard-DXaJ-56q.mjs.map} +1 -1
  60. package/dist/{WidgetContainer-CjdCY4sj.mjs → WidgetContainer-5O6N88mr.mjs} +3 -3
  61. package/dist/{WidgetContainer-CjdCY4sj.mjs.map → WidgetContainer-5O6N88mr.mjs.map} +1 -1
  62. package/dist/accounts/index.es.js +11 -11
  63. package/dist/analytics/index.es.js +2 -2
  64. package/dist/budgets/index.es.js +10 -10
  65. package/dist/cashflow/index.es.js +70 -70
  66. package/dist/categories/index.es.js +1 -1
  67. package/dist/common/components/ErrorBoundary.d.ts +2 -0
  68. package/dist/common/context/GlobalDataProvider.d.ts +2 -1
  69. package/dist/common/context/hooks.d.ts +3 -0
  70. package/dist/common/context/index.d.ts +1 -1
  71. package/dist/common/index.es.js +66 -65
  72. package/dist/core/api/AccountApi.d.ts +2 -2
  73. package/dist/core/api/AnalyticsApi.d.ts +2 -2
  74. package/dist/core/api/AppDataApi.d.ts +2 -2
  75. package/dist/core/api/BeatApi.d.ts +2 -2
  76. package/dist/core/api/BudgetsApi.d.ts +2 -2
  77. package/dist/core/api/CategoryApi.d.ts +2 -2
  78. package/dist/core/api/FinstrongApi.d.ts +2 -2
  79. package/dist/core/api/GlobalCopyApi.d.ts +2 -2
  80. package/dist/core/api/GoalApi.d.ts +2 -2
  81. package/dist/core/api/HelpApi.d.ts +2 -2
  82. package/dist/core/api/HoldingApi.d.ts +2 -2
  83. package/dist/core/api/MerchantApi.d.ts +2 -2
  84. package/dist/core/api/NotificationApi.d.ts +2 -2
  85. package/dist/core/api/RepeatingTransactionsApi.d.ts +2 -2
  86. package/dist/core/api/ScheduledPaymentsApi.d.ts +2 -2
  87. package/dist/core/api/SettingsApi.d.ts +2 -2
  88. package/dist/core/api/TransactionApi.d.ts +2 -2
  89. package/dist/core/api/UserApi.d.ts +2 -2
  90. package/dist/core/index.es.js +95 -95
  91. package/dist/core/index.es.js.map +1 -1
  92. package/dist/core/stores/GlobalStore.d.ts +4 -2
  93. package/dist/core/types/Handlers.d.ts +1 -0
  94. package/dist/core/types/index.d.ts +1 -1
  95. package/dist/core/utils/Fetch.d.ts +3 -2
  96. package/dist/dashboard/index.es.js +4 -4
  97. package/dist/debts/index.es.js +8 -8
  98. package/dist/finstrong/index.es.js +12 -12
  99. package/dist/goals/index.es.js +9 -9
  100. package/dist/help/index.es.js +4 -4
  101. package/dist/hooks-DWOrMnfZ.mjs +83 -0
  102. package/dist/hooks-DWOrMnfZ.mjs.map +1 -0
  103. package/dist/insights/index.es.js +4 -4
  104. package/dist/investments/index.es.js +4 -4
  105. package/dist/merchants/index.es.js +1 -1
  106. package/dist/microinsights/index.es.js +1 -1
  107. package/dist/networth/index.es.js +6 -6
  108. package/dist/notifications/index.es.js +8 -8
  109. package/dist/recurringtransactions/index.es.js +38 -38
  110. package/dist/settings/index.es.js +27 -27
  111. package/dist/spending/index.es.js +7 -7
  112. package/dist/transactions/index.es.js +11 -11
  113. package/dist/trends/index.es.js +12 -12
  114. package/dist/{useAccountDisplayName-BsiXA0qf.mjs → useAccountDisplayName-DHXXCFYZ.mjs} +2 -2
  115. package/dist/{useAccountDisplayName-BsiXA0qf.mjs.map → useAccountDisplayName-DHXXCFYZ.mjs.map} +1 -1
  116. package/dist/{useInsightsEnabled-D5Sdm0TJ.mjs → useInsightsEnabled-B_UpjpE6.mjs} +2 -2
  117. package/dist/{useInsightsEnabled-D5Sdm0TJ.mjs.map → useInsightsEnabled-B_UpjpE6.mjs.map} +1 -1
  118. package/dist/{useWidgetLoadTimer-B0tB-yzL.mjs → useWidgetLoadTimer-C0Mr0eRf.mjs} +2 -2
  119. package/dist/{useWidgetLoadTimer-B0tB-yzL.mjs.map → useWidgetLoadTimer-C0Mr0eRf.mjs.map} +1 -1
  120. package/package.json +1 -1
  121. package/dist/ErrorBoundary-CsdOcnJ9.mjs +0 -24
  122. package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +0 -1
  123. package/dist/GlobalCopyApi-wcnDUzMV.mjs +0 -129
  124. package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +0 -1
  125. package/dist/Help-zVZdcmlk.mjs.map +0 -1
  126. package/dist/UserStore-E5WvBXaY.mjs.map +0 -1
  127. package/dist/hooks-97sNJ_lf.mjs +0 -78
  128. package/dist/hooks-97sNJ_lf.mjs.map +0 -1
@@ -8,8 +8,8 @@ import { startOfToday as Q } from "date-fns/startOfToday";
8
8
  import { subDays as ee } from "date-fns/subDays";
9
9
  import Be from "@mui/material/Alert";
10
10
  import Fe from "@mui/material/Snackbar";
11
- import { R as _e } from "../RecurringSettings-hs0YUp83.mjs";
12
- import { M as Jn } from "../RecurringSettings-hs0YUp83.mjs";
11
+ import { R as De } from "../RecurringSettings-D2Aaqz7d.mjs";
12
+ import { M as Jn } from "../RecurringSettings-D2Aaqz7d.mjs";
13
13
  import { addMonths as Ue } from "date-fns/addMonths";
14
14
  import { subMonths as Ye } from "date-fns/subMonths";
15
15
  import { isBefore as je } from "date-fns/isBefore";
@@ -35,8 +35,8 @@ import { isSameDay as dt } from "date-fns/isSameDay";
35
35
  import ut from "@mui/material/Badge";
36
36
  import { PickersDay as mt } from "@mui/x-date-pickers/PickersDay";
37
37
  import { I as F } from "../IconBacking-DgT8DCeh.mjs";
38
- import { u as b, a as U, h as _, f as Y, D as Ie, g as re } from "../hooks-97sNJ_lf.mjs";
39
- import { b as E, a as D, g as ye, e as pt, R as gt } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
38
+ import { u as b, a as U, h as D, f as Y, E as Ie, g as re } from "../hooks-DWOrMnfZ.mjs";
39
+ import { b as E, a as _, g as ye, e as pt, R as gt } from "../RecurringTransactionsUtil-CHWmqvW5.mjs";
40
40
  import { f as I, D as M } from "../DateFormats-HudZ3Bjs.mjs";
41
41
  import { T as W } from "../Sizes-DISGrlUg.mjs";
42
42
  import { A as v } from "../Analytics-D-jdcL72.mjs";
@@ -52,16 +52,16 @@ import { f as L } from "../NumberFormatting--XMeeBfr.mjs";
52
52
  import N from "@mui/material/Box";
53
53
  import { u as ve } from "../useScreenSize-mWpmnh5w.mjs";
54
54
  import { S as Le } from "../StatusBar-CPfSXe80.mjs";
55
- import { d as Ct } from "../ManageIncome-B_8i71mE.mjs";
56
- import { c as er, M as tr, S as nr } from "../ManageIncome-B_8i71mE.mjs";
55
+ import { d as Ct } from "../ManageIncome-BJWVPAly.mjs";
56
+ import { c as er, M as tr, S as nr } from "../ManageIncome-BJWVPAly.mjs";
57
57
  import { D as ie } from "../Drawer-DsnW2o0v.mjs";
58
58
  import { S as Ae } from "../SkeletonLoader-BaNboJjD.mjs";
59
- import { u as oe } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
59
+ import { u as oe } from "../useWidgetLoadTimer-C0Mr0eRf.mjs";
60
60
  import { L as ae } from "../Loader-CxeBwuPG.mjs";
61
- import { W as Rt } from "../WidgetContainer-CjdCY4sj.mjs";
62
- import { M as Tt } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
63
- import { u as Dt } from "../useDimensions-CeDR9V8N.mjs";
64
- import { M as _t } from "../MicroWidgetContainer-B2NnKBgW.mjs";
61
+ import { W as Rt } from "../WidgetContainer-5O6N88mr.mjs";
62
+ import { M as Tt } from "../MiniWidgetContainer-CIswJui8.mjs";
63
+ import { u as _t } from "../useDimensions-CeDR9V8N.mjs";
64
+ import { M as Dt } from "../MicroWidgetContainer-IUZQlml1.mjs";
65
65
  const j = {
66
66
  gridRow: 1,
67
67
  gridColumn: 1,
@@ -106,17 +106,17 @@ const j = {
106
106
  }
107
107
  ), St = T(
108
108
  ({ day: t, outsideCurrentMonth: n, ...r }) => {
109
- const { recurring: i } = b(), { selectedAccountGuids: o } = U(), { recurrences: s, setSelectedDay: m } = _(), a = x.useMemo(
109
+ const { recurring: i } = b(), { selectedAccountGuids: o } = U(), { recurrences: s, setSelectedDay: m } = D(), a = x.useMemo(
110
110
  () => s.filter((f) => o.includes(f.accountGuid)),
111
111
  [o, s]
112
112
  ).filter(
113
113
  (f) => dt(f.occurredOnDate || f.expectedDate, t)
114
114
  ), l = a.some(
115
- (f) => f.type !== E.Income && f.status === D.Upcoming
115
+ (f) => f.type !== E.Income && f.status === _.Upcoming
116
116
  ), u = a.some(
117
- (f) => f.type !== E.Income && f.status === D.Missed
117
+ (f) => f.type !== E.Income && f.status === _.Missed
118
118
  ), g = a.some(
119
- (f) => f.type !== E.Income && f.status === D.Paid
119
+ (f) => f.type !== E.Income && f.status === _.Paid
120
120
  ), y = a.some((f) => f.type === E.Income), C = (l ? 1 : 0) + (u ? 1 : 0) + (g ? 1 : 0) + (y ? 1 : 0), S = [
121
121
  g && i.paid,
122
122
  u && i.missed,
@@ -195,7 +195,7 @@ const j = {
195
195
  [O.ES]: it
196
196
  }[t] || be;
197
197
  }, Ee = T(() => {
198
- const t = ne(), { onEvent: n } = Y(), { recurring: r } = b(), { selectedDay: i, setDateRange: o } = _(), [s, m] = x.useState(
198
+ const t = ne(), { onEvent: n } = Y(), { recurring: r } = b(), { selectedDay: i, setDateRange: o } = D(), [s, m] = x.useState(
199
199
  xe(/* @__PURE__ */ new Date()) * W + Re
200
200
  ), p = (u) => {
201
201
  m(xe(u) * W + Re), o({
@@ -274,16 +274,16 @@ const j = {
274
274
  if (t.type === E.Income)
275
275
  return /* @__PURE__ */ e(ce, {});
276
276
  switch (t.status) {
277
- case D.Missed:
277
+ case _.Missed:
278
278
  return /* @__PURE__ */ e(le, {});
279
- case D.Paid:
279
+ case _.Paid:
280
280
  return /* @__PURE__ */ e(de, {});
281
281
  default:
282
282
  return /* @__PURE__ */ e(se, {});
283
283
  }
284
284
  }, vt = (t, n) => {
285
285
  switch (t.status) {
286
- case D.Paid:
286
+ case _.Paid:
287
287
  return t.expectedDate ? G(
288
288
  n.paid_on,
289
289
  I(
@@ -291,12 +291,12 @@ const j = {
291
291
  M.MONTH_DAY
292
292
  )
293
293
  ) : n.paid;
294
- case D.Missed:
294
+ case _.Missed:
295
295
  return G(
296
296
  n.missed_on,
297
297
  I(t.expectedDate, M.MONTH_DAY)
298
298
  );
299
- case D.Upcoming:
299
+ case _.Upcoming:
300
300
  return G(
301
301
  n.upcoming_on,
302
302
  I(t.expectedDate, M.MONTH_DAY)
@@ -311,10 +311,10 @@ const j = {
311
311
  },
312
312
  showOrdinal: i = !1
313
313
  }) => {
314
- const { recurring: o } = b(), { detailedRepeatingTransactions: s } = _(), m = x.useMemo(
314
+ const { recurring: o } = b(), { detailedRepeatingTransactions: s } = D(), m = x.useMemo(
315
315
  () => s.find((C) => C.guid === t.repeatingTransactionGuid),
316
316
  [t, s]
317
- ), p = t.type === E.Income, a = t.status === D.Paid, l = t.status === D.Missed, u = t.status === D.Upcoming;
317
+ ), p = t.type === E.Income, a = t.status === _.Paid, l = t.status === _.Missed, u = t.status === _.Upcoming;
318
318
  let g = o.paid?.toLowerCase();
319
319
  return l ? g = o.missed?.toLowerCase() : u && (g = i ? ye(o, m || {}, !0) : ye(o, m || {}, !1)), //TODO: implement common/components/ListItemRow.tsx
320
320
  /* @__PURE__ */ e(Me, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ c(bt, { onClick: () => {
@@ -445,7 +445,7 @@ const j = {
445
445
  ] }, `recurrence-${l}`)) })
446
446
  ] });
447
447
  }
448
- ), De = T(
448
+ ), _e = T(
449
449
  ({ expected: t, isExpense: n = !0, missed: r, paid: i, title: o, total: s, upcoming: m }) => {
450
450
  const p = ne(), { isSmallMobile: a } = ve(), { recurring: l } = b(), u = x.useMemo(() => {
451
451
  const g = [{ color: p.palette.success.main, percentage: `${i / t}` }];
@@ -478,7 +478,7 @@ const j = {
478
478
  selectedRepeatingTransaction: r,
479
479
  setSelectedRecurrence: i,
480
480
  setSelectedRepeatingTransactionGuid: o
481
- } = _(), s = () => {
481
+ } = D(), s = () => {
482
482
  o(null), i(null);
483
483
  };
484
484
  return /* @__PURE__ */ e(
@@ -517,7 +517,7 @@ const j = {
517
517
  upcomingExpenseTotal: Ne,
518
518
  upcomingIncomeTotal: ke,
519
519
  upcomingRecurrences: me
520
- } = _(), [V, Oe] = x.useState(0), We = je(a.start, /* @__PURE__ */ new Date()), Pe = (R, $e) => {
520
+ } = D(), [V, Oe] = x.useState(0), We = je(a.start, /* @__PURE__ */ new Date()), Pe = (R, $e) => {
521
521
  Oe($e);
522
522
  }, pe = (R) => {
523
523
  ue(R.repeatingTransactionGuid), H(R), s(v.RECURRING_TRANSACTIONS_CLICK_UPCOMING, {
@@ -569,7 +569,7 @@ const j = {
569
569
  ] })
570
570
  ] }),
571
571
  /* @__PURE__ */ e(
572
- De,
572
+ _e,
573
573
  {
574
574
  expected: l,
575
575
  missed: g,
@@ -580,7 +580,7 @@ const j = {
580
580
  }
581
581
  ),
582
582
  /* @__PURE__ */ e(
583
- De,
583
+ _e,
584
584
  {
585
585
  expected: u,
586
586
  isExpense: !1,
@@ -650,7 +650,7 @@ const j = {
650
650
  );
651
651
  }), jn = T(
652
652
  ({ onBackClick: t, onMenuClick: n, sx: r = {} }) => {
653
- const { recurring: i } = b(), { isInitialized: o, selectedAccountGuids: s } = U(), { alert: m, isDataLoaded: p, loadRepeatingTransactionData: a, setAlert: l, setDateRange: u } = _(), { setFilter: g } = re(), { onEvent: y } = Y(), [C, S] = x.useState(!1);
653
+ const { recurring: i } = b(), { isInitialized: o, selectedAccountGuids: s } = U(), { alert: m, isDataLoaded: p, loadRepeatingTransactionData: a, setAlert: l, setDateRange: u } = D(), { setFilter: g } = re(), { onEvent: y } = Y(), [C, S] = x.useState(!1);
654
654
  return oe({
655
655
  widgetName: "RecurringTransactionsWidget",
656
656
  isLoaded: p
@@ -689,7 +689,7 @@ const j = {
689
689
  onClose: () => S(!1),
690
690
  shouldShowHeaderBorders: !1,
691
691
  title: i.action_title,
692
- children: /* @__PURE__ */ e(_e, {})
692
+ children: /* @__PURE__ */ e(De, {})
693
693
  }
694
694
  ),
695
695
  /* @__PURE__ */ e(
@@ -714,7 +714,7 @@ const j = {
714
714
  setSelectedRecurrence: s,
715
715
  setSelectedRepeatingTransactionGuid: m,
716
716
  upcomingRecurrences: p
717
- } = _(), a = (u) => {
717
+ } = D(), a = (u) => {
718
718
  m(u.repeatingTransactionGuid), s(u);
719
719
  }, l = n < 750;
720
720
  return /* @__PURE__ */ c(d, { flexDirection: l ? "column" : "row", width: "100%", children: [
@@ -737,7 +737,7 @@ const j = {
737
737
  ] });
738
738
  }), Kn = T(
739
739
  ({ onPrimaryCtaClick: t, sx: n }) => {
740
- const { recurring: r } = b(), { setFilter: i } = re(), { isDataLoaded: o, loadRepeatingTransactionData: s } = _(), { isInitialized: m, selectedAccountGuids: p } = U();
740
+ const { recurring: r } = b(), { setFilter: i } = re(), { isDataLoaded: o, loadRepeatingTransactionData: s } = D(), { isInitialized: m, selectedAccountGuids: p } = U();
741
741
  return oe({
742
742
  widgetName: "RecurringTransactionsMiniWidget",
743
743
  isLoaded: o
@@ -844,13 +844,13 @@ const j = {
844
844
  },
845
845
  `${r.categoryGuid}-${r.merchantGuid}-${i}`
846
846
  )) }), Ot = T(() => {
847
- const t = ne(), [n, { width: r }] = Dt(), {
847
+ const t = ne(), [n, { width: r }] = _t(), {
848
848
  upcomingRecurrences: i,
849
849
  expenseTotal: o,
850
850
  missedExpenseTotal: s,
851
851
  paidExpenseTotal: m,
852
852
  upcomingExpenseTotal: p
853
- } = _(), { recurring: a } = b(), l = r <= 288, u = r >= 450, g = 32, y = i.length > 0, C = x.useMemo(() => L(o, o === 0 ? "0,0" : "0,0.00"), [o]), S = x.useMemo(() => {
853
+ } = D(), { recurring: a } = b(), l = r <= 288, u = r >= 450, g = 32, y = i.length > 0, C = x.useMemo(() => L(o, o === 0 ? "0,0" : "0,0.00"), [o]), S = x.useMemo(() => {
854
854
  const w = [
855
855
  { color: t.palette.success.main, percentage: `${m / o}` }
856
856
  ];
@@ -951,7 +951,7 @@ const j = {
951
951
  repeatingTransactions: m,
952
952
  setDateRange: p,
953
953
  isDataLoaded: a
954
- } = _(), { setFilter: l } = re(), { recurring: u, budgets: g } = b();
954
+ } = D(), { setFilter: l } = re(), { recurring: u, budgets: g } = b();
955
955
  oe({
956
956
  widgetName: "RecurringTransactionsMicroWidget",
957
957
  isLoaded: a
@@ -975,7 +975,7 @@ const j = {
975
975
  if (!r || !a) return /* @__PURE__ */ e(ae, { height: 100 });
976
976
  const C = !m?.length;
977
977
  return /* @__PURE__ */ e(
978
- _t,
978
+ Dt,
979
979
  {
980
980
  className: "mx-recurring-transaction-microwidget",
981
981
  ctaLabel: C ? g.get_started_cta : u.primary_cta,
@@ -995,7 +995,7 @@ const j = {
995
995
  isOpen: t,
996
996
  onClose: n,
997
997
  title: i.cashflow_settings,
998
- children: /* @__PURE__ */ e(_e, { defaultSelectedTab: r })
998
+ children: /* @__PURE__ */ e(De, { defaultSelectedTab: r })
999
999
  }
1000
1000
  );
1001
1001
  }
@@ -1004,7 +1004,7 @@ export {
1004
1004
  er as AddRecurringTransactionDetails,
1005
1005
  Jn as ManageExpenses,
1006
1006
  tr as ManageIncome,
1007
- _e as RecurringSettings,
1007
+ De as RecurringSettings,
1008
1008
  qn as RecurringSettingsDrawer,
1009
1009
  Vn as RecurringTransactionsMicroWidget,
1010
1010
  Kn as RecurringTransactionsMiniWidget,
@@ -13,11 +13,11 @@ import { LocalizationProvider as ye } from "@mui/x-date-pickers/LocalizationProv
13
13
  import { useTheme as L, alpha as W } from "@mui/material/styles";
14
14
  import z from "@mui/material/Box";
15
15
  import Z from "@mui/material/Button";
16
- import I from "@mui/material/TextField";
16
+ import A from "@mui/material/TextField";
17
17
  import { H3 as Y, P as M, Text as x, Icon as B } from "@mxenabled/mxui";
18
- import { V as xe, a as ve, N as J } from "../NotificationSettings-CW7okUrk.mjs";
19
- import { A as Jt, B as Kt, I as Yt } from "../NotificationSettings-CW7okUrk.mjs";
20
- import { u as k, i as G, A as E, C as Ce, a as ee, l as j } from "../hooks-97sNJ_lf.mjs";
18
+ import { V as xe, a as ve, N as J } from "../NotificationSettings-DltXMrnb.mjs";
19
+ import { A as Jt, B as Kt, I as Yt } from "../NotificationSettings-DltXMrnb.mjs";
20
+ import { u as k, i as G, B as E, D as Ce, a as ee, l as j } from "../hooks-DWOrMnfZ.mjs";
21
21
  import { u as F } from "../useScreenSize-mWpmnh5w.mjs";
22
22
  import { D as $ } from "../Dialog-Bvd2n8hz.mjs";
23
23
  import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
@@ -32,17 +32,17 @@ import Se from "@mui/material/AccordionSummary";
32
32
  import { L as ie } from "../Loader-CxeBwuPG.mjs";
33
33
  import Te from "@mui/material/List";
34
34
  import K from "@mui/material/Divider";
35
- import Ae from "@mui/material/ListSubheader";
36
- import { b as Ie, u as Ee } from "../CategorySelectorDrawer-NJsFsKP1.mjs";
35
+ import Ie from "@mui/material/ListSubheader";
36
+ import { b as Ae, u as Ee } from "../CategorySelectorDrawer-k8AZYC8I.mjs";
37
37
  import Pe from "@mui/material/ListItem";
38
38
  import Re from "@mui/material/ListItemButton";
39
39
  import Ne from "@mui/material/ListItemIcon";
40
40
  import Me from "@mui/material/ListItemText";
41
41
  import { ChevronRight as Le, ChevronLeft as Be } from "@mxenabled/mx-icons";
42
42
  import { D as He } from "../Drawer-DsnW2o0v.mjs";
43
- import { u as ne } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
44
- import { H as Oe } from "../Help-zVZdcmlk.mjs";
45
- import { W as q } from "../WidgetContainer-CjdCY4sj.mjs";
43
+ import { u as ne } from "../useWidgetLoadTimer-C0Mr0eRf.mjs";
44
+ import { H as Oe } from "../Help-BAj_yo3q.mjs";
45
+ import { W as q } from "../WidgetContainer-5O6N88mr.mjs";
46
46
  const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
47
47
  const i = L(), { common: o, settings: n } = k(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = F(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = Ce(), [h, w] = m.useState({
48
48
  first_name: d.first_name,
@@ -52,7 +52,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
52
52
  birthday: d.birthday,
53
53
  postal_code: d.postal_code,
54
54
  credit_score: d.credit_score
55
- }), [v, S] = m.useState(!1), [A, T] = m.useState(!1), g = m.useRef(null), D = h.email && !d.email_is_verified && !v, U = h.phone && !d.phone_is_verified && !v;
55
+ }), [v, S] = m.useState(!1), [I, T] = m.useState(!1), g = m.useRef(null), D = h.email && !d.email_is_verified && !v, U = h.phone && !d.phone_is_verified && !v;
56
56
  m.useEffect(() => {
57
57
  if (r) {
58
58
  const f = (R) => {
@@ -106,7 +106,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
106
106
  sx: { mb: 44, pt: 32 },
107
107
  children: [
108
108
  /* @__PURE__ */ e(
109
- I,
109
+ A,
110
110
  {
111
111
  defaultValue: h.first_name,
112
112
  label: n.first_name,
@@ -114,7 +114,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
114
114
  }
115
115
  ),
116
116
  /* @__PURE__ */ e(
117
- I,
117
+ A,
118
118
  {
119
119
  defaultValue: h.last_name,
120
120
  label: n.last_name,
@@ -127,7 +127,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
127
127
  /* @__PURE__ */ c(p, { direction: s ? "column" : "row", children: [
128
128
  b.display_email_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: D ? 20 : 44, mr: s ? 0 : 24 }, children: [
129
129
  /* @__PURE__ */ e(
130
- I,
130
+ A,
131
131
  {
132
132
  defaultValue: h.email,
133
133
  label: n.email_address,
@@ -138,7 +138,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
138
138
  ] }),
139
139
  b.display_sms_edit_field_in_settings && /* @__PURE__ */ c(p, { sx: { mb: U ? 20 : 44 }, children: [
140
140
  /* @__PURE__ */ e(
141
- I,
141
+ A,
142
142
  {
143
143
  defaultValue: h.phone,
144
144
  label: n.mobile_number,
@@ -180,7 +180,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
180
180
  }
181
181
  ) }),
182
182
  /* @__PURE__ */ e(
183
- I,
183
+ A,
184
184
  {
185
185
  defaultValue: h.postal_code,
186
186
  label: n.zip_code,
@@ -190,7 +190,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
190
190
  ] }),
191
191
  /* @__PURE__ */ c(p, { children: [
192
192
  /* @__PURE__ */ e(
193
- I,
193
+ A,
194
194
  {
195
195
  defaultValue: h.credit_score,
196
196
  label: n.credit_score,
@@ -216,7 +216,7 @@ const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
216
216
  $,
217
217
  {
218
218
  copy: { title: n.discard_changes },
219
- isOpen: A,
219
+ isOpen: I,
220
220
  onClose: ce,
221
221
  onSecondaryAction: le,
222
222
  primaryText: n.keep_editing,
@@ -472,7 +472,7 @@ const Ve = ({
472
472
  default:
473
473
  return "";
474
474
  }
475
- }, A = () => {
475
+ }, I = () => {
476
476
  const g = {
477
477
  "& .MuiDialogContent-root": {
478
478
  width: 400,
@@ -531,7 +531,7 @@ const Ve = ({
531
531
  primaryColor: t === y.Delete ? "error" : void 0,
532
532
  primaryText: S(),
533
533
  secondaryText: t === y.Token ? s.back : s.cancel_button,
534
- sx: A(),
534
+ sx: I(),
535
535
  children: [
536
536
  t === y.Token && /* @__PURE__ */ c(p, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
537
537
  /* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "body1", children: a.mobile_devices_access_label }),
@@ -550,7 +550,7 @@ const Ve = ({
550
550
  ),
551
551
  /* @__PURE__ */ e(x, { truncate: !1, variant: "body2", children: a.mobile_devices_access_info_2 })
552
552
  ] }),
553
- t === y.Edit && /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(I, { onChange: (g) => w(g.target.value), value: h }) }),
553
+ t === y.Edit && /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(A, { onChange: (g) => w(g.target.value), value: h }) }),
554
554
  t === y.Delete && /* @__PURE__ */ e(M, { children: a.mobile_devices_delete_info })
555
555
  ]
556
556
  }
@@ -565,7 +565,7 @@ const Ve = ({
565
565
  g ? (w(g), b({ open: !0, type: y.Token })) : n(r.mobile_devices_access_error, "error");
566
566
  }, S = (g) => {
567
567
  d(g), b({ open: !0, type: y.Edit });
568
- }, A = (g) => {
568
+ }, I = (g) => {
569
569
  d(g), b({ open: !0, type: y.Delete });
570
570
  }, T = () => {
571
571
  b({ open: !1, type: "" }), d(void 0);
@@ -587,14 +587,14 @@ const Ve = ({
587
587
  We,
588
588
  {
589
589
  devices: u,
590
- onClickDeviceDelete: A,
590
+ onClickDeviceDelete: I,
591
591
  onClickDeviceEdit: S
592
592
  }
593
593
  ) : /* @__PURE__ */ e(
594
594
  Ve,
595
595
  {
596
596
  devices: u,
597
- onClickDeviceDelete: A,
597
+ onClickDeviceDelete: I,
598
598
  onClickDeviceEdit: S
599
599
  }
600
600
  ),
@@ -642,7 +642,7 @@ const Ve = ({
642
642
  }
643
643
  ),
644
644
  /* @__PURE__ */ e(
645
- Ie,
645
+ Ae,
646
646
  {
647
647
  initialSelected: i?.category_guid ? i.category_guid : void 0,
648
648
  onClose: s,
@@ -682,7 +682,7 @@ const Ve = ({
682
682
  path: { fill: n.palette.secondary.darker }
683
683
  },
684
684
  children: /* @__PURE__ */ e(
685
- I,
685
+ A,
686
686
  {
687
687
  onChange: (h) => b(h.target.value),
688
688
  sx: { width: 352 },
@@ -726,7 +726,7 @@ const Ve = ({
726
726
  primaryText: o.delete_button,
727
727
  title: n.edit_rule,
728
728
  children: [
729
- /* @__PURE__ */ e(Ae, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "caption", children: n.details }) }),
729
+ /* @__PURE__ */ e(Ie, { children: /* @__PURE__ */ e(x, { bold: !0, variant: "caption", children: n.details }) }),
730
730
  /* @__PURE__ */ e(Je, {}),
731
731
  /* @__PURE__ */ e(K, { sx: { ml: 24 } }),
732
732
  /* @__PURE__ */ e($e, {}),
@@ -830,7 +830,7 @@ const Wt = C(({ onBackClick: t, onMenuClick: r, sx: i }) => {
830
830
  { enabled: h, index: 2, label: o?.notifications_label },
831
831
  { enabled: w, index: 3, label: o?.transaction_rules_label },
832
832
  { enabled: v, index: 4, label: o?.help_label }
833
- ], A = S.find((D) => D.enabled), [T, g] = m.useState(A ? A.index : -1);
833
+ ], I = S.find((D) => D.enabled), [T, g] = m.useState(I ? I.index : -1);
834
834
  return !n || !u ? /* @__PURE__ */ e(ie, {}) : /* @__PURE__ */ e(
835
835
  q,
836
836
  {
@@ -8,19 +8,19 @@ import y from "@mui/material/Stack";
8
8
  import $ from "@mui/material/Tab";
9
9
  import rt from "@mui/material/Tabs";
10
10
  import { useTheme as _t } from "@mui/material/styles";
11
- import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-CxvNOg3c.mjs";
11
+ import { g as st, a as lt, S as B, b as q } from "../SpendingLegend-C_dMdqbe.mjs";
12
12
  import { Text as T, Icon as bt } from "@mxenabled/mxui";
13
13
  import { f as k } from "../NumberFormatting--XMeeBfr.mjs";
14
- import { u as A, l as R, c as ct, a as P, i as H, g as dt, f as yt } from "../hooks-97sNJ_lf.mjs";
15
- import { u as gt } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
14
+ import { u as A, l as R, c as ct, a as P, i as H, g as dt, f as yt } from "../hooks-DWOrMnfZ.mjs";
15
+ import { u as gt } from "../useWidgetLoadTimer-C0Mr0eRf.mjs";
16
16
  import { L as pt } from "../Loader-CxeBwuPG.mjs";
17
- import { M as Ct } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
17
+ import { M as Ct } from "../MiniWidgetContainer-CIswJui8.mjs";
18
18
  import { startOfToday as J } from "date-fns/startOfToday";
19
19
  import St from "@mui/material/Button";
20
20
  import { useTheme as Tt } from "@mui/material";
21
21
  import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
22
- import { T as Dt } from "../EmbeddedCard-DCOQnTz-.mjs";
23
- import { T as xt } from "../TransactionDetails-DT-MQqOB.mjs";
22
+ import { T as Dt } from "../EmbeddedCard-BwfkCsUN.mjs";
23
+ import { T as xt } from "../TransactionDetails-CDZNsKv7.mjs";
24
24
  import vt from "@mui/material/Collapse";
25
25
  import wt from "@mui/material/Divider";
26
26
  import Q from "@mui/material/List";
@@ -31,7 +31,7 @@ import { D as tt } from "../Drawer-DsnW2o0v.mjs";
31
31
  import { C as w } from "../Category-DEKZGLYe.mjs";
32
32
  import { parseISO as et } from "date-fns/parseISO";
33
33
  import { A as nt } from "../Analytics-D-jdcL72.mjs";
34
- import { W as It } from "../WidgetContainer-CjdCY4sj.mjs";
34
+ import { W as It } from "../WidgetContainer-5O6N88mr.mjs";
35
35
  const G = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
36
36
  /* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
37
37
  /* @__PURE__ */ t(T, { variant: "caption", children: k(n, o === "mini" ? "0,0" : "0,0.00") })
@@ -1,14 +1,14 @@
1
- import { C as Be, D as He, M as Pe, a as We, T as $e } from "../TransactionDetails-DT-MQqOB.mjs";
2
- import { B as xa, b as Aa } from "../TransactionDetails-DT-MQqOB.mjs";
3
- import { u as B, T as Ge } from "../EmbeddedCard-DCOQnTz-.mjs";
4
- import { a as Sa } from "../EmbeddedCard-DCOQnTz-.mjs";
5
- import { E as va } from "../ExportCsvAction-C-IisDcv.mjs";
1
+ import { C as Be, D as He, M as Pe, a as We, T as $e } from "../TransactionDetails-CDZNsKv7.mjs";
2
+ import { B as xa, b as Aa } from "../TransactionDetails-CDZNsKv7.mjs";
3
+ import { u as B, T as Ge } from "../EmbeddedCard-BwfkCsUN.mjs";
4
+ import { a as Sa } from "../EmbeddedCard-BwfkCsUN.mjs";
5
+ import { E as va } from "../ExportCsvAction-B1257a3M.mjs";
6
6
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
7
7
  import u from "react";
8
8
  import { observer as D } from "mobx-react-lite";
9
9
  import Ve from "@mui/material/Paper";
10
10
  import { DataGridPro as Fe } from "@mui/x-data-grid-pro";
11
- import { g as H, u as v, f as ne, a as K, c as oe, l as Ue, i as Ke, C as ze } from "../hooks-97sNJ_lf.mjs";
11
+ import { g as H, u as v, f as ne, a as K, c as oe, l as Ue, i as Ke, D as ze } from "../hooks-DWOrMnfZ.mjs";
12
12
  import { L as z } from "../Loader-CxeBwuPG.mjs";
13
13
  import { Text as y, Icon as R, MerchantLogo as qe, TextField as Z, P as Ye } from "@mxenabled/mxui";
14
14
  import w from "@mui/material/Stack";
@@ -24,20 +24,20 @@ import { getUnixTime as tt } from "date-fns/getUnixTime";
24
24
  import { startOfMonth as at } from "date-fns/startOfMonth";
25
25
  import { startOfToday as F } from "date-fns/startOfToday";
26
26
  import { b as U } from "../Localization-DnoVyBNK.mjs";
27
- import { C as nt } from "../ConnectDrawer-CW4LA3H3.mjs";
27
+ import { C as nt } from "../ConnectDrawer-BQy4YYuc.mjs";
28
28
  import ot from "@mui/material/Divider";
29
29
  import rt from "@mui/material/MenuItem";
30
30
  import it from "@mui/material/RadioGroup";
31
31
  import { ExpandMore as st } from "@mxenabled/mx-icons";
32
- import { C as ct } from "../CurrencyInput-DaGEQaLW.mjs";
32
+ import { C as ct } from "../CurrencyInput-CABYmqBh.mjs";
33
33
  import { S as ee } from "../SelectionBox-B4xELRgp.mjs";
34
34
  import { D as se } from "../Dialog-Bvd2n8hz.mjs";
35
- import { b as lt, u as dt } from "../CategorySelectorDrawer-NJsFsKP1.mjs";
35
+ import { b as lt, u as dt } from "../CategorySelectorDrawer-k8AZYC8I.mjs";
36
36
  import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
37
37
  import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
38
38
  import { u as _t } from "../useScreenSize-mWpmnh5w.mjs";
39
- import { u as pt } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
40
- import { W as gt } from "../WidgetContainer-CjdCY4sj.mjs";
39
+ import { u as pt } from "../useWidgetLoadTimer-C0Mr0eRf.mjs";
40
+ import { W as gt } from "../WidgetContainer-5O6N88mr.mjs";
41
41
  import { S as ht } from "../SearchBox-Cpgu_gdO.mjs";
42
42
  import { D as te } from "../Drawer-DsnW2o0v.mjs";
43
43
  const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
@@ -18,7 +18,7 @@ import ot from "@mui/material/CardContent";
18
18
  import Ne from "@mui/material/Divider";
19
19
  import Fe from "@mui/material/Grid";
20
20
  import { b as nt } from "../Localization-DnoVyBNK.mjs";
21
- import { u as R, l as q, f as $, a as fe, g as we, c as De, B as ye, D as st, e as Be, i as rt } from "../hooks-97sNJ_lf.mjs";
21
+ import { u as R, l as q, f as $, a as fe, g as we, c as De, C as ye, E as st, e as Be, i as rt } from "../hooks-DWOrMnfZ.mjs";
22
22
  import { C as xe } from "../CurrencyText-CCbE6MmF.mjs";
23
23
  import { a as Re, C as $e, b as Nt } from "../Category-DEKZGLYe.mjs";
24
24
  import { f as X, D as G } from "../DateFormats-HudZ3Bjs.mjs";
@@ -29,22 +29,22 @@ import Ft from "@mui/material/ToggleButton";
29
29
  import $t from "@mui/material/ToggleButtonGroup";
30
30
  import { parseISO as lt } from "date-fns/parseISO";
31
31
  import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
32
- import { T as W, a as Kt } from "../ViewMoreMicroCard-fnwE0hqd.mjs";
32
+ import { T as W, a as Kt } from "../ViewMoreMicroCard-DXaJ-56q.mjs";
33
33
  import { useGridApiContext as Yt, useGridRootProps as jt, DataGridPro as Ut } from "@mui/x-data-grid-pro";
34
34
  import Xt from "@mui/material/Badge";
35
35
  import Zt from "@mui/material/IconButton";
36
36
  import { A as w } from "../Analytics-D-jdcL72.mjs";
37
- import { T as ct } from "../EmbeddedCard-DCOQnTz-.mjs";
38
- import { T as dt } from "../TransactionDetails-DT-MQqOB.mjs";
37
+ import { T as ct } from "../EmbeddedCard-BwfkCsUN.mjs";
38
+ import { T as dt } from "../TransactionDetails-CDZNsKv7.mjs";
39
39
  import { D as Pe } from "../Drawer-DsnW2o0v.mjs";
40
- import { u as Ie } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
40
+ import { u as Ie } from "../useWidgetLoadTimer-C0Mr0eRf.mjs";
41
41
  import { L as Le } from "../Loader-CxeBwuPG.mjs";
42
- import { W as ut } from "../WidgetContainer-CjdCY4sj.mjs";
43
- import { L as Ve } from "../LineChart-CUfiH86G.mjs";
44
- import { M as Qt } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
42
+ import { W as ut } from "../WidgetContainer-5O6N88mr.mjs";
43
+ import { L as Ve } from "../LineChart-BxEIZHht.mjs";
44
+ import { M as Qt } from "../MiniWidgetContainer-CIswJui8.mjs";
45
45
  import { subMonths as qt } from "date-fns";
46
46
  import { TrendingUp as Jt, TrendingDown as eo, MultilineChart as to, ExpandLess as oo, ExpandMore as no, ChevronRight as so, ArrowBack as ro } from "@mxenabled/mx-icons";
47
- import { M as ao } from "../MicroWidgetContainer-B2NnKBgW.mjs";
47
+ import { M as ao } from "../MicroWidgetContainer-IUZQlml1.mjs";
48
48
  import io from "@mui/material/Collapse";
49
49
  import We from "@mui/material/List";
50
50
  import mt from "@mui/material/ListItem";
@@ -55,10 +55,10 @@ import { g as Oe } from "../TransactionUtils-BphBJBbU.mjs";
55
55
  import { L as uo } from "../ListItemRow-kH1rn8Xu.mjs";
56
56
  import { Stack as mo } from "@mui/material";
57
57
  import ho from "@mui/material/ListItemAvatar";
58
- import { E as go } from "../ExportCsvAction-C-IisDcv.mjs";
59
- import { u as po } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
58
+ import { E as go } from "../ExportCsvAction-B1257a3M.mjs";
59
+ import { u as po } from "../useInsightsEnabled-B_UpjpE6.mjs";
60
60
  import { E as fo } from "../EmptyState-CJUDc3kD.mjs";
61
- import { C as yo } from "../ConnectDrawer-CW4LA3H3.mjs";
61
+ import { C as yo } from "../ConnectDrawer-BQy4YYuc.mjs";
62
62
  const gt = ({ categoryGuid: t, topLevelCategoryGuid: n }) => {
63
63
  const { categories: s } = R(), { getCategoryName: o } = q(), r = o(t);
64
64
  return /* @__PURE__ */ C(S, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
@@ -1,5 +1,5 @@
1
1
  import t from "react";
2
- import { i } from "./hooks-97sNJ_lf.mjs";
2
+ import { i } from "./hooks-DWOrMnfZ.mjs";
3
3
  function o(e, n) {
4
4
  if (n?.allowNickname === !0) {
5
5
  const m = e.nickname?.trim();
@@ -21,4 +21,4 @@ export {
21
21
  o as g,
22
22
  f as u
23
23
  };
24
- //# sourceMappingURL=useAccountDisplayName-BsiXA0qf.mjs.map
24
+ //# sourceMappingURL=useAccountDisplayName-DHXXCFYZ.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useAccountDisplayName-BsiXA0qf.mjs","sources":["../src/common/utils/AccountDisplayName.ts","../src/common/hooks/useAccountDisplayName.tsx"],"sourcesContent":["import type { Account } from '../../core/types/Account'\n\nexport interface AccountDisplayNameOptions {\n allowNickname?: boolean\n}\n\nexport function getAccountDisplayName(\n account: Account,\n options?: AccountDisplayNameOptions,\n): string {\n if (options?.allowNickname === true) {\n const nickName = account.nickname?.trim()\n if (nickName) return nickName\n }\n\n const name = account.name?.trim()\n if (name) return name\n\n const feedName = account.feed_name?.trim()\n return feedName || ''\n}\n\nexport default getAccountDisplayName\n","import React from 'react'\nimport { useAppConfig } from '../'\nimport type { Account } from '../../core'\nimport getAccountDisplayName from '../utils/AccountDisplayName'\n\nexport const useAccountDisplayName = (account: Account) => {\n const { config } = useAppConfig()\n return React.useMemo(\n () =>\n getAccountDisplayName(account, {\n allowNickname: config?.show_account_nicknames_in_master,\n }),\n [account, config?.show_account_nicknames_in_master],\n )\n}\n\nexport default useAccountDisplayName\n"],"names":["getAccountDisplayName","account","options","nickName","name","useAccountDisplayName","config","useAppConfig","React"],"mappings":";;AAMO,SAASA,EACdC,GACAC,GACQ;AACR,MAAIA,GAAS,kBAAkB,IAAM;AACnC,UAAMC,IAAWF,EAAQ,UAAU,KAAA;AACnC,QAAIE,EAAU,QAAOA;AAAA,EACvB;AAEA,QAAMC,IAAOH,EAAQ,MAAM,KAAA;AAC3B,SAAIG,KAEaH,EAAQ,WAAW,KAAA,KACjB;AACrB;ACfO,MAAMI,IAAwB,CAACJ,MAAqB;AACzD,QAAM,EAAE,QAAAK,EAAA,IAAWC,EAAA;AACnB,SAAOC,EAAM;AAAA,IACX,MACER,EAAsBC,GAAS;AAAA,MAC7B,eAAeK,GAAQ;AAAA,IAAA,CACxB;AAAA,IACH,CAACL,GAASK,GAAQ,gCAAgC;AAAA,EAAA;AAEtD;"}
1
+ {"version":3,"file":"useAccountDisplayName-DHXXCFYZ.mjs","sources":["../src/common/utils/AccountDisplayName.ts","../src/common/hooks/useAccountDisplayName.tsx"],"sourcesContent":["import type { Account } from '../../core/types/Account'\n\nexport interface AccountDisplayNameOptions {\n allowNickname?: boolean\n}\n\nexport function getAccountDisplayName(\n account: Account,\n options?: AccountDisplayNameOptions,\n): string {\n if (options?.allowNickname === true) {\n const nickName = account.nickname?.trim()\n if (nickName) return nickName\n }\n\n const name = account.name?.trim()\n if (name) return name\n\n const feedName = account.feed_name?.trim()\n return feedName || ''\n}\n\nexport default getAccountDisplayName\n","import React from 'react'\nimport { useAppConfig } from '../'\nimport type { Account } from '../../core'\nimport getAccountDisplayName from '../utils/AccountDisplayName'\n\nexport const useAccountDisplayName = (account: Account) => {\n const { config } = useAppConfig()\n return React.useMemo(\n () =>\n getAccountDisplayName(account, {\n allowNickname: config?.show_account_nicknames_in_master,\n }),\n [account, config?.show_account_nicknames_in_master],\n )\n}\n\nexport default useAccountDisplayName\n"],"names":["getAccountDisplayName","account","options","nickName","name","useAccountDisplayName","config","useAppConfig","React"],"mappings":";;AAMO,SAASA,EACdC,GACAC,GACQ;AACR,MAAIA,GAAS,kBAAkB,IAAM;AACnC,UAAMC,IAAWF,EAAQ,UAAU,KAAA;AACnC,QAAIE,EAAU,QAAOA;AAAA,EACvB;AAEA,QAAMC,IAAOH,EAAQ,MAAM,KAAA;AAC3B,SAAIG,KAEaH,EAAQ,WAAW,KAAA,KACjB;AACrB;ACfO,MAAMI,IAAwB,CAACJ,MAAqB;AACzD,QAAM,EAAE,QAAAK,EAAA,IAAWC,EAAA;AACnB,SAAOC,EAAM;AAAA,IACX,MACER,EAAsBC,GAAS;AAAA,MAC7B,eAAeK,GAAQ;AAAA,IAAA,CACxB;AAAA,IACH,CAACL,GAASK,GAAQ,gCAAgC;AAAA,EAAA;AAEtD;"}
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useEffect as a } from "react";
2
- import { e as o } from "./hooks-97sNJ_lf.mjs";
2
+ import { e as o } from "./hooks-DWOrMnfZ.mjs";
3
3
  const f = () => {
4
4
  const { isInitialized: e, appDataStore: t } = o(), [s, i] = n(!1);
5
5
  return a(() => {
@@ -9,4 +9,4 @@ const f = () => {
9
9
  export {
10
10
  f as u
11
11
  };
12
- //# sourceMappingURL=useInsightsEnabled-D5Sdm0TJ.mjs.map
12
+ //# sourceMappingURL=useInsightsEnabled-B_UpjpE6.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"useInsightsEnabled-D5Sdm0TJ.mjs","sources":["../src/common/hooks/useInsightsEnabled.tsx"],"sourcesContent":["import { useState, useEffect } from 'react'\nimport { useGlobalStore } from '../context'\n\nexport const useInsightsEnabled = () => {\n const { isInitialized, appDataStore } = useGlobalStore()\n const [insightsEnabled, setInsightsEnabled] = useState(false)\n\n useEffect(() => {\n if (isInitialized && appDataStore.clientInsightProfile?.is_enabled) {\n setInsightsEnabled(true)\n }\n }, [isInitialized, appDataStore.clientInsightProfile])\n\n return insightsEnabled\n}\n"],"names":["useInsightsEnabled","isInitialized","appDataStore","useGlobalStore","insightsEnabled","setInsightsEnabled","useState","useEffect"],"mappings":";;AAGO,MAAMA,IAAqB,MAAM;AACtC,QAAM,EAAE,eAAAC,GAAe,cAAAC,EAAA,IAAiBC,EAAA,GAClC,CAACC,GAAiBC,CAAkB,IAAIC,EAAS,EAAK;AAE5D,SAAAC,EAAU,MAAM;AACd,IAAIN,KAAiBC,EAAa,sBAAsB,cACtDG,EAAmB,EAAI;AAAA,EAE3B,GAAG,CAACJ,GAAeC,EAAa,oBAAoB,CAAC,GAE9CE;AACT;"}
1
+ {"version":3,"file":"useInsightsEnabled-B_UpjpE6.mjs","sources":["../src/common/hooks/useInsightsEnabled.tsx"],"sourcesContent":["import { useState, useEffect } from 'react'\nimport { useGlobalStore } from '../context'\n\nexport const useInsightsEnabled = () => {\n const { isInitialized, appDataStore } = useGlobalStore()\n const [insightsEnabled, setInsightsEnabled] = useState(false)\n\n useEffect(() => {\n if (isInitialized && appDataStore.clientInsightProfile?.is_enabled) {\n setInsightsEnabled(true)\n }\n }, [isInitialized, appDataStore.clientInsightProfile])\n\n return insightsEnabled\n}\n"],"names":["useInsightsEnabled","isInitialized","appDataStore","useGlobalStore","insightsEnabled","setInsightsEnabled","useState","useEffect"],"mappings":";;AAGO,MAAMA,IAAqB,MAAM;AACtC,QAAM,EAAE,eAAAC,GAAe,cAAAC,EAAA,IAAiBC,EAAA,GAClC,CAACC,GAAiBC,CAAkB,IAAIC,EAAS,EAAK;AAE5D,SAAAC,EAAU,MAAM;AACd,IAAIN,KAAiBC,EAAa,sBAAsB,cACtDG,EAAmB,EAAI;AAAA,EAE3B,GAAG,CAACJ,GAAeC,EAAa,oBAAoB,CAAC,GAE9CE;AACT;"}
@@ -1,5 +1,5 @@
1
1
  import { useRef as r, useEffect as c } from "react";
2
- import { f as l } from "./hooks-97sNJ_lf.mjs";
2
+ import { f as l } from "./hooks-DWOrMnfZ.mjs";
3
3
  let n = !0;
4
4
  const d = ({ widgetName: i, isLoaded: u = !0 }) => {
5
5
  const { onEvent: o } = l(), t = r(null), s = r(!1), e = r(!1);
@@ -17,4 +17,4 @@ const d = ({ widgetName: i, isLoaded: u = !0 }) => {
17
17
  export {
18
18
  d as u
19
19
  };
20
- //# sourceMappingURL=useWidgetLoadTimer-B0tB-yzL.mjs.map
20
+ //# sourceMappingURL=useWidgetLoadTimer-C0Mr0eRf.mjs.map