@mx-cartographer/experiences 8.0.0-alpha.sms1 → 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 (76) hide show
  1. package/dist/{Account-BDXA6PWh.mjs → Account-Cp30A3ad.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-CUztd3-b.mjs → AccountDetailsContent-C1HumFnW.mjs} +16 -16
  3. package/dist/{AccountDetailsHeader-i3KFhNuo.mjs → AccountDetailsHeader-NMx79DGs.mjs} +5 -5
  4. package/dist/{AccountFields-QZspYAji.mjs → AccountFields-CW6cIthP.mjs} +7 -5
  5. package/dist/{AccountListItem-DX5upmCS.mjs → AccountListItem-DxmAs98Z.mjs} +4 -4
  6. package/dist/{AccountStore-BcnDpyLL.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
  7. package/dist/{Accounts-DXfZotRC.mjs → Accounts-DUHkUyK4.mjs} +1 -1
  8. package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-CIDAPPPT.mjs} +1 -1
  9. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-naOtJcwo.mjs} +12 -12
  10. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  11. package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +3 -3
  12. package/dist/{CategoryStore-DTgyAMM7.mjs → CategoryStore-MUwRWH9e.mjs} +2 -2
  13. package/dist/{CategoryUtil-C5cR-nfQ.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  14. package/dist/{ConnectDrawer-BIbTqYOH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +28 -28
  15. package/dist/{ConnectionsDrawer-BFfY3_zB.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
  16. package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BrGvhgVK.mjs} +8 -8
  17. package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-CDPZw_-m.mjs} +1 -1
  18. package/dist/{DebtsStore-BbJB0nmu.mjs → DebtsStore-hi1cqrRk.mjs} +1 -1
  19. package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  20. package/dist/{Drawer-BEtCk82g.mjs → Drawer-Dqe5EqvA.mjs} +14 -14
  21. package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
  22. package/dist/{FinstrongStore-BIrX0Xg2.mjs → FinstrongStore-dKZOZ2hM.mjs} +53 -53
  23. package/dist/{GoalStore-DpWY3gVb.mjs → GoalStore-CFeAJloA.mjs} +2 -2
  24. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  25. package/dist/{Help-BnPXM_N2.mjs → Help-i4OasOO-.mjs} +177 -180
  26. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  27. package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-BNCWQAN_.mjs} +1 -1
  28. package/dist/{Loader-DUaFpDGv.mjs → Loader-BSWSYqvn.mjs} +3 -3
  29. package/dist/{ManageIncome-NpXHhO1n.mjs → ManageIncome-D_qVX5dN.mjs} +8 -8
  30. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  31. package/dist/MiniWidgetContainer-D7MkHG15.mjs +56 -0
  32. package/dist/{NetWorthStore-lsuhEpn6.mjs → NetWorthStore-8FFC1Bs0.mjs} +4 -4
  33. package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-BsWiYD94.mjs} +14 -14
  34. package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-62e0mU_3.mjs} +2 -2
  35. package/dist/{RecurringSettings-CqZh1SQa.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
  36. package/dist/{RecurringTransactions-BKcYmpv3.mjs → RecurringTransactions-Bhx56aA3.mjs} +36 -36
  37. package/dist/{RecurringTransactionsStore-Ni5tSQIO.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
  38. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-C6KH8JH4.mjs} +9 -9
  39. package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BASMQSIp.mjs} +1 -1
  40. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  41. package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-DPQ96k3x.mjs} +4 -4
  42. package/dist/{SpendingLegend-CjX-hX2O.mjs → SpendingLegend-CZzDb-7d.mjs} +3 -3
  43. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  44. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  45. package/dist/{TransactionDetails-5M2vfr59.mjs → TransactionDetails-Duv1X9ec.mjs} +9 -9
  46. package/dist/{TransactionStore-D-Q3BU9Z.mjs → TransactionStore-DgLrYW4C.mjs} +41 -58
  47. package/dist/{TrendsStore-BW9FGQeE.mjs → TrendsStore-_mRaFUdf.mjs} +37 -37
  48. package/dist/{User-wXzDI4M8.mjs → User-DqNX2GAK.mjs} +19 -19
  49. package/dist/{ViewMoreMicroCard-C0832BMe.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +68 -69
  50. package/dist/{WidgetContainer-BhQ1Kx2z.mjs → WidgetContainer-B1Jzb4XA.mjs} +33 -33
  51. package/dist/accounts/index.es.js +71 -71
  52. package/dist/analytics/index.es.js +7 -7
  53. package/dist/budgets/index.es.js +110 -110
  54. package/dist/cashflow/index.es.js +68 -68
  55. package/dist/categories/index.es.js +2 -2
  56. package/dist/common/index.es.js +248 -248
  57. package/dist/dashboard/index.es.js +7 -7
  58. package/dist/debts/index.es.js +12 -12
  59. package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +3 -3
  60. package/dist/finstrong/index.es.js +18 -18
  61. package/dist/goals/index.es.js +19 -19
  62. package/dist/help/index.es.js +6 -6
  63. package/dist/investments/index.es.js +4 -4
  64. package/dist/merchants/index.es.js +12 -12
  65. package/dist/microinsights/index.es.js +1 -1
  66. package/dist/networth/index.es.js +11 -11
  67. package/dist/notifications/index.es.js +4 -4
  68. package/dist/recurringtransactions/index.es.js +16 -16
  69. package/dist/settings/index.es.js +62 -62
  70. package/dist/spending/index.es.js +26 -26
  71. package/dist/transactions/index.es.js +58 -58
  72. package/dist/trends/index.es.js +59 -59
  73. package/dist/{useAccountDisplayName-CFNF8766.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
  74. package/package.json +16 -21
  75. package/dist/MicroWidgetContainer-DEiRnYVa.mjs +0 -45
  76. package/dist/MiniWidgetContainer-CmXpTylX.mjs +0 -56
@@ -1,4 +1,4 @@
1
- import { S as Kt, a as Xt } from "../SettingsStore-krIRNwHK.mjs";
1
+ import { S as jt, a as Jt } from "../SettingsStore-BASMQSIp.mjs";
2
2
  import { jsxs as c, Fragment as q, jsx as e } from "react/jsx-runtime";
3
3
  import u from "react";
4
4
  import { observer as D } from "mobx-react-lite";
@@ -16,14 +16,14 @@ import F from "@mui/material/Box";
16
16
  import Q from "@mui/material/Button";
17
17
  import I from "@mui/material/TextField";
18
18
  import { H3 as J, P as L, Text as v, Icon as M, ChevronRightIcon as ve } from "@mxenabled/mxui";
19
- import { V as Ce, a as De, N as G } from "../NotificationSettings-CNmJWVeI.mjs";
20
- import { A as qt, B as Qt, I as Zt } from "../NotificationSettings-CNmJWVeI.mjs";
21
- import { u as k, a as W, s as A, p as Se, b as Z, m as ee, n as te } from "../hooks-C41HAxM5.mjs";
19
+ import { V as Ce, a as De, N as G } from "../NotificationSettings-BsWiYD94.mjs";
20
+ import { A as Xt, B as Yt, I as qt } from "../NotificationSettings-BsWiYD94.mjs";
21
+ import { D as W } from "../Dialog-CDV0kKxj.mjs";
22
+ import { u as k, a as $, s as A, p as Se, b as Z, m as ee, n as te } from "../hooks-C41HAxM5.mjs";
22
23
  import { u as H } from "../useScreenSize-B6JyS_Lj.mjs";
23
- import { D as $ } from "../Dialog-BPTr3qHE.mjs";
24
24
  import { formatDistanceToNow as oe } from "date-fns/formatDistanceToNow";
25
25
  import { fromUnixTime as ne } from "date-fns/fromUnixTime";
26
- import R from "@mui/material/styles/useTheme";
26
+ import P from "@mui/material/styles/useTheme";
27
27
  import V from "@mui/material/IconButton";
28
28
  import { DataGridPro as ke } from "@mui/x-data-grid-pro";
29
29
  import { H as O } from "../HeaderCell-DjuifqHJ.mjs";
@@ -31,20 +31,20 @@ import { b as N } from "../Localization-2MODESHW.mjs";
31
31
  import we from "@mui/material/Accordion";
32
32
  import Te from "@mui/material/AccordionDetails";
33
33
  import Ie from "@mui/material/AccordionSummary";
34
- import { L as re } from "../Loader-DUaFpDGv.mjs";
34
+ import { L as re } from "../Loader-BSWSYqvn.mjs";
35
35
  import Ae from "@mui/material/List";
36
36
  import j from "@mui/material/Divider";
37
37
  import Ee from "@mui/material/ListSubheader";
38
- import { a as Re, u as Pe } from "../CategorySelectorDrawer-DqJK_rrL.mjs";
38
+ import { a as Pe, u as Re } from "../CategorySelectorDrawer-DqDAA_5I.mjs";
39
39
  import Be from "@mui/material/ListItem";
40
40
  import Me from "@mui/material/ListItemButton";
41
41
  import Ne from "@mui/material/ListItemIcon";
42
42
  import Le from "@mui/material/ListItemText";
43
- import { D as He } from "../Drawer-BEtCk82g.mjs";
44
- import { H as Oe } from "../Help-BnPXM_N2.mjs";
45
- import { W as K } from "../WidgetContainer-BhQ1Kx2z.mjs";
43
+ import { D as He } from "../Drawer-Dqe5EqvA.mjs";
44
+ import { H as Oe } from "../Help-i4OasOO-.mjs";
45
+ import { W as K } from "../WidgetContainer-B1Jzb4XA.mjs";
46
46
  const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
47
- const o = xe(), { common: n, settings: r } = k(), { isDesktop: d, isMobile: l, isSmallMobile: i, isTablet: s } = H(t), { config: b } = W(), { updateUser: _ } = A(), { user: m } = Se(), [p, S] = u.useState({
47
+ const o = xe(), { common: n, settings: r } = k(), { isDesktop: d, isMobile: l, isSmallMobile: i, isTablet: s } = H(t), { config: b } = $(), { updateUser: _ } = A(), { user: m } = Se(), [p, S] = u.useState({
48
48
  first_name: m.first_name,
49
49
  last_name: m.last_name,
50
50
  email: m.email,
@@ -55,8 +55,8 @@ const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
55
55
  }), [C, w] = u.useState(!1), [T, x] = u.useState(!1), g = u.useRef(null), z = p.email && !m.email_is_verified && !C, Y = p.phone && !m.phone_is_verified && !C;
56
56
  u.useEffect(() => {
57
57
  if (a) {
58
- const f = (P) => {
59
- g.current && !g.current.contains(P.target) && C && x(!0);
58
+ const f = (R) => {
59
+ g.current && !g.current.contains(R.target) && C && x(!0);
60
60
  };
61
61
  return document.addEventListener("mousedown", f), () => {
62
62
  document.removeEventListener("mousedown", f);
@@ -65,8 +65,8 @@ const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
65
65
  }, [C]);
66
66
  const ae = () => {
67
67
  if (p.birthday) {
68
- const f = new Date(p.birthday * 1e3), P = f.getUTCFullYear(), de = f.getUTCMonth(), me = f.getUTCDate();
69
- return new Date(P, de, me);
68
+ const f = new Date(p.birthday * 1e3), R = f.getUTCFullYear(), de = f.getUTCMonth(), me = f.getUTCDate();
69
+ return new Date(R, de, me);
70
70
  }
71
71
  }, le = async () => {
72
72
  await _({ ...m, ...p }), w(!1);
@@ -75,11 +75,11 @@ const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
75
75
  }, ce = () => {
76
76
  x(!1);
77
77
  }, E = (f) => {
78
- const P = {
78
+ const R = {
79
79
  ...p,
80
80
  ...f
81
81
  };
82
- S(P), w(JSON.stringify({ ...m, ...P }) !== JSON.stringify(m));
82
+ S(R), w(JSON.stringify({ ...m, ...R }) !== JSON.stringify(m));
83
83
  };
84
84
  return /* @__PURE__ */ c(q, { children: [
85
85
  /* @__PURE__ */ c(
@@ -213,7 +213,7 @@ const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
213
213
  }
214
214
  ),
215
215
  /* @__PURE__ */ e(
216
- $,
216
+ W,
217
217
  {
218
218
  copy: { title: r.discard_changes },
219
219
  isOpen: T,
@@ -232,7 +232,7 @@ const Ve = ({
232
232
  onClickDeviceEdit: a,
233
233
  onClickDeviceDelete: o
234
234
  }) => {
235
- const n = R(), { settings: r } = k(), d = [
235
+ const n = P(), { settings: r } = k(), d = [
236
236
  {
237
237
  field: "name",
238
238
  headerName: r.mobile_devices_column_name,
@@ -347,7 +347,7 @@ const Ve = ({
347
347
  onClickDeviceEdit: a,
348
348
  onClickDeviceDelete: o
349
349
  }) => {
350
- const n = R(), { settings: r } = k(), [d, l] = u.useState(!1), i = (s) => (b, _) => {
350
+ const n = P(), { settings: r } = k(), [d, l] = u.useState(!1), i = (s) => (b, _) => {
351
351
  l(_ ? s : !1);
352
352
  };
353
353
  return /* @__PURE__ */ c(h, { mx: -28, sx: { "& .MuiAccordion-root": { mb: 0, mt: 0 } }, children: [
@@ -448,7 +448,7 @@ const Ve = ({
448
448
  device: n,
449
449
  deviceToken: r = ""
450
450
  }) => {
451
- const d = R(), { common: l, settings: i } = k(), { updateDevice: s, deleteDevice: b, setAlert: _, loadDevices: m } = A(), [p, S] = u.useState("");
451
+ const d = P(), { common: l, settings: i } = k(), { updateDevice: s, deleteDevice: b, setAlert: _, loadDevices: m } = A(), [p, S] = u.useState("");
452
452
  u.useEffect(() => {
453
453
  n && S(n.name);
454
454
  }, [n, t]);
@@ -521,7 +521,7 @@ const Ve = ({
521
521
  ), o());
522
522
  };
523
523
  return /* @__PURE__ */ c(
524
- $,
524
+ W,
525
525
  {
526
526
  copy: { title: C() },
527
527
  isOpen: a,
@@ -616,15 +616,15 @@ const Ve = ({
616
616
  ]
617
617
  }
618
618
  );
619
- }), je = Ge, X = D(
619
+ }), X = D(
620
620
  ({ onClick: t, primaryText: a, secondaryText: o, sx: n }) => {
621
- const r = R();
621
+ const r = P();
622
622
  return /* @__PURE__ */ e(Be, { sx: { bgcolor: r.palette.background.paper }, children: /* @__PURE__ */ c(Me, { alignItems: "flex-start", onClick: t, sx: n, children: [
623
623
  /* @__PURE__ */ e(Le, { primary: a, secondary: o }),
624
624
  /* @__PURE__ */ e(Ne, { children: /* @__PURE__ */ e(ve, {}) })
625
625
  ] }) });
626
626
  }
627
- ), Je = D(() => {
627
+ ), je = D(() => {
628
628
  const { settings: t } = k(), { categories: a } = ee(), { selectedRule: o, updateRuleCategory: n } = A(), [r, d] = u.useState(!1), l = () => {
629
629
  d(!1);
630
630
  }, i = () => {
@@ -642,7 +642,7 @@ const Ve = ({
642
642
  }
643
643
  ),
644
644
  /* @__PURE__ */ e(
645
- Re,
645
+ Pe,
646
646
  {
647
647
  initialSelected: o?.category_guid ? o.category_guid : void 0,
648
648
  onClose: l,
@@ -652,8 +652,8 @@ const Ve = ({
652
652
  }
653
653
  )
654
654
  ] });
655
- }), Ke = D(() => {
656
- const { common: t, settings: a } = k(), { selectedRule: o, updateRulePayee: n } = A(), r = R(), [d, l] = u.useState(!1), i = o?.description ? o.description : o?.match_description, [s, b] = u.useState(i || ""), _ = () => {
655
+ }), Je = D(() => {
656
+ const { common: t, settings: a } = k(), { selectedRule: o, updateRulePayee: n } = A(), r = P(), [d, l] = u.useState(!1), i = o?.description ? o.description : o?.match_description, [s, b] = u.useState(i || ""), _ = () => {
657
657
  l(!0);
658
658
  }, m = async () => {
659
659
  s !== i && o && (o.description = s, await n(o), l(!1));
@@ -668,7 +668,7 @@ const Ve = ({
668
668
  }
669
669
  ),
670
670
  /* @__PURE__ */ e(
671
- $,
671
+ W,
672
672
  {
673
673
  copy: { title: a.edit_payee },
674
674
  isOpen: d,
@@ -692,10 +692,10 @@ const Ve = ({
692
692
  }
693
693
  )
694
694
  ] });
695
- }), Xe = D(({ onClose: t, onDelete: a, isOpen: o }) => {
696
- const { common: n, settings: r } = k(), d = R();
695
+ }), Ke = D(({ onClose: t, onDelete: a, isOpen: o }) => {
696
+ const { common: n, settings: r } = k(), d = P();
697
697
  return /* @__PURE__ */ e(
698
- $,
698
+ W,
699
699
  {
700
700
  copy: { title: r.delete_rule },
701
701
  isOpen: o,
@@ -716,9 +716,9 @@ const Ve = ({
716
716
  children: /* @__PURE__ */ e(v, { truncate: !1, variant: "Small", children: r.delete_rule_confirm })
717
717
  }
718
718
  );
719
- }), Ye = D(
719
+ }), Xe = D(
720
720
  ({ isOpen: t, onClose: a, onDelete: o }) => {
721
- const { common: n, settings: r } = k(), d = R(), [l, i] = u.useState(!1);
721
+ const { common: n, settings: r } = k(), d = P(), [l, i] = u.useState(!1);
722
722
  return /* @__PURE__ */ c(
723
723
  He,
724
724
  {
@@ -736,12 +736,12 @@ const Ve = ({
736
736
  title: r.edit_rule,
737
737
  children: [
738
738
  /* @__PURE__ */ e(Ee, { children: /* @__PURE__ */ e(v, { bold: !0, variant: "XSmall", children: r.details }) }),
739
- /* @__PURE__ */ e(Ke, {}),
740
- /* @__PURE__ */ e(j, { sx: { ml: 24 } }),
741
739
  /* @__PURE__ */ e(Je, {}),
742
740
  /* @__PURE__ */ e(j, { sx: { ml: 24 } }),
741
+ /* @__PURE__ */ e(je, {}),
742
+ /* @__PURE__ */ e(j, { sx: { ml: 24 } }),
743
743
  /* @__PURE__ */ e(
744
- Xe,
744
+ Ke,
745
745
  {
746
746
  isOpen: l,
747
747
  onClose: () => i(!1),
@@ -752,8 +752,8 @@ const Ve = ({
752
752
  }
753
753
  );
754
754
  }
755
- ), qe = D(({ rule: t }) => {
756
- const { categories: a } = ee(), { setSelectedGuid: o } = Pe(), { deleteTransactionRule: n, setSelectedRule: r } = A(), { isDesktop: d, isTablet: l } = H(), [i, s] = u.useState(!1), b = () => {
755
+ ), Ye = D(({ rule: t }) => {
756
+ const { categories: a } = ee(), { setSelectedGuid: o } = Re(), { deleteTransactionRule: n, setSelectedRule: r } = A(), { isDesktop: d, isTablet: l } = H(), [i, s] = u.useState(!1), b = () => {
757
757
  s(!1), o(null), r(void 0);
758
758
  }, _ = async () => {
759
759
  await n(), b();
@@ -770,9 +770,9 @@ const Ve = ({
770
770
  }
771
771
  ),
772
772
  /* @__PURE__ */ e(j, { sx: { ml: l || d ? 0 : 24 } }),
773
- /* @__PURE__ */ e(Ye, { isOpen: i, onClose: b, onDelete: _ })
773
+ /* @__PURE__ */ e(Xe, { isOpen: i, onClose: b, onDelete: _ })
774
774
  ] });
775
- }), Qe = D(() => {
775
+ }), ie = D(() => {
776
776
  const { settings: t } = k(), { loadTransactionRules: a, transactionRules: o } = A(), { onLoad: n } = te();
777
777
  return u.useEffect(() => {
778
778
  a().finally(() => {
@@ -783,15 +783,15 @@ const Ve = ({
783
783
  /* @__PURE__ */ e(J, { children: t.transaction_rules_label }),
784
784
  /* @__PURE__ */ e(L, { variant: "Body", children: t.transaction_rules_description })
785
785
  ] }),
786
- /* @__PURE__ */ e(Ae, { children: o.map((r, d) => /* @__PURE__ */ e(qe, { rule: r }, d)) })
786
+ /* @__PURE__ */ e(Ae, { children: o.map((r, d) => /* @__PURE__ */ e(Ye, { rule: r }, d)) })
787
787
  ] });
788
- }), ie = Qe, Ze = D(({ selectedTab: t }) => {
788
+ }), qe = D(({ selectedTab: t }) => {
789
789
  const { alert: a, setAlert: o } = A(), {
790
790
  config: { display_user_profile_in_settings: n }
791
- } = W();
791
+ } = $();
792
792
  return /* @__PURE__ */ c(q, { children: [
793
793
  t === B.Profile && /* @__PURE__ */ e(Fe, {}),
794
- t === B.Devices && /* @__PURE__ */ e(je, {}),
794
+ t === B.Devices && /* @__PURE__ */ e(Ge, {}),
795
795
  t === B.Notifications && /* @__PURE__ */ e(G, { showPersonalDetails: !n }),
796
796
  t === B.TransactionRules && /* @__PURE__ */ e(ie, {}),
797
797
  t === B.Help && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(Oe, {}) }),
@@ -818,8 +818,8 @@ const Ve = ({
818
818
  ] });
819
819
  });
820
820
  var B = /* @__PURE__ */ ((t) => (t[t.Profile = 0] = "Profile", t[t.Devices = 1] = "Devices", t[t.Notifications = 2] = "Notifications", t[t.TransactionRules = 3] = "TransactionRules", t[t.Help = 4] = "Help", t))(B || {});
821
- const $t = D(({ onBackClick: t, sx: a }) => {
822
- const { settings: o } = k(), { isCopyLoaded: n, isInitialized: r } = Z(), { config: d } = W(), { isMobile: l } = H(), { onLoad: i } = te();
821
+ const Vt = D(({ onBackClick: t, sx: a }) => {
822
+ const { settings: o } = k(), { isCopyLoaded: n, isInitialized: r } = Z(), { config: d } = $(), { isMobile: l } = H(), { onLoad: i } = te();
823
823
  u.useEffect(() => {
824
824
  r && n && i?.("SettingsWidget");
825
825
  }, [r, n]);
@@ -856,30 +856,30 @@ const $t = D(({ onBackClick: t, sx: a }) => {
856
856
  )
857
857
  }
858
858
  ),
859
- /* @__PURE__ */ e(Ze, { selectedTab: w })
859
+ /* @__PURE__ */ e(qe, { selectedTab: w })
860
860
  ] })
861
861
  }
862
862
  );
863
- }), zt = D((t) => {
864
- const { clientConfig: a } = W(), o = a?.master?.deep_link_params?.view;
863
+ }), Wt = D((t) => {
864
+ const { clientConfig: a } = $(), o = a?.master?.deep_link_params?.view;
865
865
  return o ? /* @__PURE__ */ e(G, { view: o }) : /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(h, { my: 24, children: /* @__PURE__ */ e(G, {}) }) });
866
- }), Gt = (t) => {
866
+ }), $t = (t) => {
867
867
  const { isMobile: a } = H();
868
868
  return /* @__PURE__ */ e(K, { ...t, children: /* @__PURE__ */ e(h, { sx: { mx: a ? 0 : 48, my: 24 }, children: /* @__PURE__ */ e(ie, {}) }) });
869
869
  };
870
870
  export {
871
- qt as AccountNotificationProfiles,
872
- Qt as BudgetNotificationProfiles,
873
- je as DeviceTab,
874
- Zt as InsightsNotificationProfiles,
871
+ Xt as AccountNotificationProfiles,
872
+ Yt as BudgetNotificationProfiles,
873
+ Ge as DeviceTab,
874
+ qt as InsightsNotificationProfiles,
875
875
  G as NotificationSettings,
876
- zt as NotificationSettingsWidget,
876
+ Wt as NotificationSettingsWidget,
877
877
  Fe as ProfileTab,
878
- Kt as SettingsApi,
879
- Xt as SettingsStore,
878
+ jt as SettingsApi,
879
+ Jt as SettingsStore,
880
880
  B as SettingsTabs,
881
- $t as SettingsWidget,
882
- Ze as SettingsWidgetContents,
881
+ Vt as SettingsWidget,
882
+ qe as SettingsWidgetContents,
883
883
  ie as TransactionRulesTab,
884
- Gt as TransactionRulesWidget
884
+ $t as TransactionRulesWidget
885
885
  };
@@ -8,27 +8,27 @@ import b from "@mui/material/Stack";
8
8
  import k from "@mui/material/Tab";
9
9
  import at from "@mui/material/Tabs";
10
10
  import mt from "@mui/material/styles/useTheme";
11
- import { g as it, a as rt, S as $, b as Y } from "../SpendingLegend-CjX-hX2O.mjs";
11
+ import { g as it, a as rt, S as B, b as Y } from "../SpendingLegend-CZzDb-7d.mjs";
12
12
  import { Text as C, Icon as ht } from "@mxenabled/mxui";
13
13
  import { f as R } from "../NumberFormatting-DjTD0t3W.mjs";
14
14
  import { u as L, m as W, d as st, b as P, a as F, h as ct, g as ft, n as bt } from "../hooks-C41HAxM5.mjs";
15
- import { L as lt } from "../Loader-DUaFpDGv.mjs";
16
- import { M as _t } from "../MiniWidgetContainer-CmXpTylX.mjs";
15
+ import { L as lt } from "../Loader-BSWSYqvn.mjs";
16
+ import { M as _t } from "../MiniWidgetContainer-D7MkHG15.mjs";
17
17
  import { startOfToday as q } from "date-fns/startOfToday";
18
18
  import yt from "@mui/material/Button";
19
19
  import { useTheme as Ct } from "@mui/material";
20
- import { e as St } from "../exportTransactionsToCSV-Cz2t0lmA.mjs";
21
- import { T as Tt, a as Mt } from "../TransactionDetails-5M2vfr59.mjs";
20
+ import { e as St } from "../exportTransactionsToCSV-BFpuIAXW.mjs";
21
+ import { T as Tt, a as Mt } from "../TransactionDetails-Duv1X9ec.mjs";
22
22
  import Dt from "@mui/material/Collapse";
23
23
  import z from "@mui/material/Divider";
24
24
  import J from "@mui/material/List";
25
25
  import Q from "@mui/material/ListItem";
26
26
  import xt from "@mui/material/ListItemButton";
27
27
  import { u as vt } from "../useScreenSize-B6JyS_Lj.mjs";
28
- import { D as Z } from "../Drawer-BEtCk82g.mjs";
29
- import { b as x } from "../Category-CevNQ03n.mjs";
30
- import { A as tt, W as wt } from "../WidgetContainer-BhQ1Kx2z.mjs";
31
- const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column", children: [
28
+ import { D as Z } from "../Drawer-Dqe5EqvA.mjs";
29
+ import { b as x } from "../Category-Ccoew_sA.mjs";
30
+ import { A as tt, W as wt } from "../WidgetContainer-B1Jzb4XA.mjs";
31
+ const G = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column", children: [
32
32
  /* @__PURE__ */ t(C, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: d }),
33
33
  /* @__PURE__ */ t(C, { variant: "XSmall", children: R(n, "0,0") })
34
34
  ] }), Lt = () => {
@@ -68,7 +68,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
68
68
  "aria-controls": "spending-tabpanel",
69
69
  id: "spending-tab",
70
70
  label: /* @__PURE__ */ t(
71
- B,
71
+ G,
72
72
  {
73
73
  amount: m.totalAmount,
74
74
  label: o.spend_tab_title
@@ -83,7 +83,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
83
83
  "aria-controls": "income-tabpanel",
84
84
  id: "income-tab",
85
85
  label: /* @__PURE__ */ t(
86
- B,
86
+ G,
87
87
  {
88
88
  amount: p.totalAmount,
89
89
  label: o.income_tab_title
@@ -104,7 +104,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
104
104
  role: "tabpanel",
105
105
  children: /* @__PURE__ */ s(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
106
106
  /* @__PURE__ */ t(
107
- $,
107
+ B,
108
108
  {
109
109
  data: m,
110
110
  onSelected: f,
@@ -125,7 +125,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
125
125
  role: "tabpanel",
126
126
  children: /* @__PURE__ */ s(b, { direction: "row", gap: 16, justifyContent: "center", p: 24, children: [
127
127
  /* @__PURE__ */ t(
128
- $,
128
+ B,
129
129
  {
130
130
  data: p,
131
131
  isIncome: !0,
@@ -260,7 +260,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
260
260
  px: 8,
261
261
  children: [
262
262
  l && /* @__PURE__ */ t(
263
- $,
263
+ B,
264
264
  {
265
265
  data: {
266
266
  categoryData: [],
@@ -276,7 +276,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
276
276
  }
277
277
  ),
278
278
  !l && /* @__PURE__ */ t(
279
- $,
279
+ B,
280
280
  {
281
281
  data: n,
282
282
  onSelected: d,
@@ -308,13 +308,13 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
308
308
  sortedTransactions: p,
309
309
  sortedTransactionsWithSplits: A,
310
310
  tags: f
311
- } = ct(), y = o?.master?.deep_link_params?.account_guids, T = o?.master?.deep_link_params?.view, [M, N] = i.useState(""), [D, S] = i.useState(T === "income" ? 1 : 0), [O, I] = i.useState(""), [dt, H] = i.useState(!1), G = i.useMemo(
311
+ } = ct(), y = o?.master?.deep_link_params?.account_guids, T = o?.master?.deep_link_params?.view, [M, N] = i.useState(""), [D, S] = i.useState(T === "income" ? 1 : 0), [O, I] = i.useState(""), [dt, H] = i.useState(!1), j = i.useMemo(
312
312
  () => it(r, c, n, a),
313
313
  [r, a]
314
314
  ), K = i.useMemo(
315
315
  () => rt(r, a, Ot(n)),
316
316
  [r, a]
317
- ), j = i.useMemo(
317
+ ), $ = i.useMemo(
318
318
  () => p.find((u) => u.guid === O),
319
319
  [O, p]
320
320
  ), gt = (u, E) => {
@@ -328,7 +328,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
328
328
  };
329
329
  if (D === 0)
330
330
  if (u === "other") {
331
- const h = G.categoryData.find((V) => V.guid === "other");
331
+ const h = j.categoryData.find((V) => V.guid === "other");
332
332
  m({
333
333
  ...E,
334
334
  custom: (V) => !!h?.categoryTotals?.find((ut) => ut.guid === V.top_level_category_guid)
@@ -354,9 +354,9 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
354
354
  k,
355
355
  {
356
356
  label: /* @__PURE__ */ t(
357
- B,
357
+ G,
358
358
  {
359
- amount: G.totalAmount,
359
+ amount: j.totalAmount,
360
360
  label: e.spend_tab_title
361
361
  }
362
362
  )
@@ -366,7 +366,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
366
366
  k,
367
367
  {
368
368
  label: /* @__PURE__ */ t(
369
- B,
369
+ G,
370
370
  {
371
371
  amount: K.totalAmount,
372
372
  label: e.income_tab_title
@@ -378,7 +378,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
378
378
  D === 0 && /* @__PURE__ */ t(
379
379
  et,
380
380
  {
381
- data: G,
381
+ data: j,
382
382
  onSelected: U,
383
383
  onViewTransactions: X,
384
384
  selectedId: M,
@@ -420,14 +420,14 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
420
420
  Z,
421
421
  {
422
422
  ariaLabelClose: e.close_drawer_aria,
423
- isOpen: !!j,
423
+ isOpen: !!$,
424
424
  onClose: () => I(""),
425
425
  title: e.transaction_details_drawer_title,
426
- children: j && /* @__PURE__ */ t(Mt, { transaction: j })
426
+ children: $ && /* @__PURE__ */ t(Mt, { transaction: $ })
427
427
  }
428
428
  )
429
429
  ] });
430
- }, kt = w(Rt), $t = ({ onBackClick: n, sx: d = {} }) => {
430
+ }, kt = w(Rt), Bt = ({ onBackClick: n, sx: d = {} }) => {
431
431
  const { visibleAccounts: o, isAccountDataLoaded: r, loadAccountData: a } = st(), { categoriesLoaded: c, loadCategories: e, loadDateRangeCategoryTotals: l } = W(), { isTransactionDataLoaded: g, loadTransactionData: _ } = ct(), { spending: m } = L(), {
432
432
  displayedDateRange: p,
433
433
  isInitialized: A,
@@ -463,7 +463,7 @@ const B = ({ amount: n, label: d }) => /* @__PURE__ */ s(b, { direction: "column
463
463
  children: /* @__PURE__ */ t(v, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(kt, {}) })
464
464
  }
465
465
  ) : /* @__PURE__ */ t(lt, {});
466
- }, he = w($t);
466
+ }, he = w(Bt);
467
467
  export {
468
468
  me as SpendingMiniWidget,
469
469
  he as SpendingWidget