@mx-cartographer/experiences 7.10.13 → 7.10.15

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 (53) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{AccountDetailsHeader-3ZD1Of4i.mjs → AccountDetailsHeader-C4V-fdYo.mjs} +1 -1
  3. package/dist/{AccountFields-CiofAlEI.mjs → AccountFields-CzfB9Q8i.mjs} +1 -1
  4. package/dist/{AccountListItem-CvYjSc-O.mjs → AccountListItem-DMypRg6w.mjs} +1 -1
  5. package/dist/{AccountStore-BV6LpLJl.mjs → AccountStore-MG4m41XY.mjs} +1 -1
  6. package/dist/{CategorySelectorDrawer-euTDUflY.mjs → CategorySelectorDrawer-DCGWu9Vd.mjs} +1 -1
  7. package/dist/{CategoryStore-CqSW9TsW.mjs → CategoryStore-Cg6hsxza.mjs} +1 -1
  8. package/dist/{CategoryUtil-CCY_tiFg.mjs → CategoryUtil-Cufq3fxg.mjs} +1 -1
  9. package/dist/DateFormats-Cs-NbEZ7.mjs +65 -0
  10. package/dist/{DateUtil-BALs-njL.mjs → DateUtil-CVXVMbjf.mjs} +1 -1
  11. package/dist/Dialog-BqUCsQvo.mjs +58 -0
  12. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-DoxNUae-.mjs} +17 -16
  13. package/dist/{ExportCsvAction-BMWhHM8W.mjs → ExportCsvAction-C4GQ4id5.mjs} +2 -2
  14. package/dist/{FinstrongStore-OylmCNuf.mjs → FinstrongStore-DBSoLGSE.mjs} +1 -1
  15. package/dist/{GoalStore-DNp0ttXZ.mjs → GoalStore-CpK43RJt.mjs} +1 -1
  16. package/dist/{ListItemAction-pvmKK9RU.mjs → ListItemAction-CpS4YY0y.mjs} +3 -3
  17. package/dist/{ManageIncome-8yTcFH7J.mjs → ManageIncome-COGmNMz1.mjs} +31 -30
  18. package/dist/{NotificationSettings-DuHI7GgA.mjs → NotificationSettings-x5syewdH.mjs} +1 -1
  19. package/dist/{OriginalBalanceAction-BhXMJ8wC.mjs → OriginalBalanceAction-BctEUz31.mjs} +1 -1
  20. package/dist/{RecurringSettings-C85RGgv4.mjs → RecurringSettings-DyR9KleL.mjs} +3 -3
  21. package/dist/{RecurringTransactionsStore-B1jZBQLY.mjs → RecurringTransactionsStore-BJrH7BJ7.mjs} +1 -1
  22. package/dist/{RepeatingTransaction-CIq3wSEA.mjs → RepeatingTransaction-CIrVdIet.mjs} +2 -2
  23. package/dist/{SpendingData-DtNL2mQL.mjs → SpendingData-C3bN-37j.mjs} +1 -1
  24. package/dist/{SpendingLegend-DCQtF8Wf.mjs → SpendingLegend-Ct-XcqUs.mjs} +1 -1
  25. package/dist/{TransactionDetails-C27q5FUQ.mjs → TransactionDetails-BOuk5Sz7.mjs} +10 -9
  26. package/dist/{TransactionStore-DXTFzPmW.mjs → TransactionStore-Cm9rQ1XO.mjs} +3 -3
  27. package/dist/{TrendsStore-C6mrxcHX.mjs → TrendsStore-Ys6BY_Uo.mjs} +1 -1
  28. package/dist/{User-CCYFbd5i.mjs → User-Cdyam577.mjs} +1 -1
  29. package/dist/{WidgetContainer-BNltq9UG.mjs → WidgetContainer-BxDAkXZT.mjs} +4 -3
  30. package/dist/accounts/index.es.js +22 -21
  31. package/dist/budgets/index.es.js +7 -7
  32. package/dist/cashflow/index.es.js +9 -9
  33. package/dist/categories/index.es.js +2 -2
  34. package/dist/common/components/EmptyState.d.ts +1 -0
  35. package/dist/common/index.es.js +113 -112
  36. package/dist/common/types/localization/TrendsCopy.d.ts +0 -2
  37. package/dist/debts/index.es.js +5 -5
  38. package/dist/{exportTransactionsToCSV-DNbCbq9P.mjs → exportTransactionsToCSV-DoifE4Fe.mjs} +2 -2
  39. package/dist/finstrong/index.es.js +39 -34
  40. package/dist/goals/index.es.js +33 -32
  41. package/dist/help/index.es.js +1 -1
  42. package/dist/insights/components/insights/CategoryBudget/types/CategoryBudget.d.ts +1 -0
  43. package/dist/insights/index.es.js +324 -319
  44. package/dist/investments/index.es.js +2 -2
  45. package/dist/networth/index.es.js +4 -4
  46. package/dist/notifications/index.es.js +2 -2
  47. package/dist/recurringtransactions/index.es.js +9 -9
  48. package/dist/settings/index.es.js +5 -5
  49. package/dist/spending/index.es.js +4 -4
  50. package/dist/transactions/index.es.js +27 -26
  51. package/dist/trends/index.es.js +337 -341
  52. package/package.json +1 -1
  53. package/dist/Dialog-CwiqpTGe.mjs +0 -120
@@ -1,5 +1,5 @@
1
- import { g as de, T as i, G as ce, a as Ve, M as Y, C as Te, b as Pe } from "../GoalStore-DNp0ttXZ.mjs";
2
- import { c as $n, d as Xn } from "../GoalStore-DNp0ttXZ.mjs";
1
+ import { g as de, T as i, G as ce, a as Ve, M as Y, C as Te, b as Pe } from "../GoalStore-CpK43RJt.mjs";
2
+ import { c as Xn, d as Hn } from "../GoalStore-CpK43RJt.mjs";
3
3
  import { jsxs as c, jsx as e, Fragment as $ } from "react/jsx-runtime";
4
4
  import T from "react";
5
5
  import { observer as D } from "mobx-react-lite";
@@ -23,7 +23,7 @@ import { f as I } from "../NumberFormatting-DjTD0t3W.mjs";
23
23
  import { S as Je } from "../StatusBar-BK_uYHAB.mjs";
24
24
  import v from "@mui/material/Divider";
25
25
  import L from "@mui/material/List";
26
- import { L as q } from "../ListItemAction-pvmKK9RU.mjs";
26
+ import { L as q } from "../ListItemAction-CpS4YY0y.mjs";
27
27
  import { C as ke } from "../CurrencyInput-DUJ_mlm_.mjs";
28
28
  import { fromUnixTime as ne } from "date-fns/fromUnixTime";
29
29
  import Qe from "@mui/material/IconButton";
@@ -32,25 +32,26 @@ import P from "@mui/material/ListItemAvatar";
32
32
  import M from "@mui/material/ListItemButton";
33
33
  import w from "@mui/material/ListItemText";
34
34
  import { b as O } from "../Localization-2MODESHW.mjs";
35
- import { f as be, D as ge, a as et } from "../Dialog-CwiqpTGe.mjs";
35
+ import { f as be, D as ge } from "../DateFormats-Cs-NbEZ7.mjs";
36
36
  import { D as J } from "../Drawer-DV4NTsFg.mjs";
37
37
  import { g as we } from "../AccountDisplayName-CO7z3v99.mjs";
38
- import tt from "@mui/material/Collapse";
39
- import nt from "@mui/material/ListItemIcon";
40
- import at from "@mui/material/Checkbox";
38
+ import et from "@mui/material/Collapse";
39
+ import tt from "@mui/material/ListItemIcon";
40
+ import nt from "@mui/material/Checkbox";
41
41
  import { A as Ae } from "../Account-BiB1F8lL.mjs";
42
- import { u as ot } from "../useAccountDisplayName-D27PXvdj.mjs";
42
+ import { u as at } from "../useAccountDisplayName-D27PXvdj.mjs";
43
43
  import De from "@mui/material/TextField";
44
- import { M as rt, I as it, O as st } from "../OriginalBalanceAction-BhXMJ8wC.mjs";
45
- import { getUnixTime as ct } from "date-fns/getUnixTime";
46
- import { isValid as lt } from "date-fns/isValid";
47
- import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
48
- import { DatePicker as mt } from "@mui/x-date-pickers";
49
- import { LocalizationProvider as _t } from "@mui/x-date-pickers/LocalizationProvider";
44
+ import { M as ot, I as rt, O as it } from "../OriginalBalanceAction-BctEUz31.mjs";
45
+ import { getUnixTime as st } from "date-fns/getUnixTime";
46
+ import { isValid as ct } from "date-fns/isValid";
47
+ import { AdapterDateFns as lt } from "@mui/x-date-pickers/AdapterDateFnsV3";
48
+ import { DatePicker as dt } from "@mui/x-date-pickers";
49
+ import { LocalizationProvider as mt } from "@mui/x-date-pickers/LocalizationProvider";
50
+ import { D as _t } from "../Dialog-BqUCsQvo.mjs";
50
51
  import { u as Ke } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
51
- import { A as X, W as ut } from "../WidgetContainer-BNltq9UG.mjs";
52
+ import { A as X, W as ut } from "../WidgetContainer-BxDAkXZT.mjs";
52
53
  import { L as Me } from "../Loader-DUaFpDGv.mjs";
53
- import { E as pt } from "../EmptyState-DHAkGsjk.mjs";
54
+ import { E as pt } from "../EmptyState-DoxNUae-.mjs";
54
55
  import ht from "@mui/material/Stack/Stack";
55
56
  import bt from "@mui/material/Box";
56
57
  import gt from "@mui/material/styles/useTheme";
@@ -353,8 +354,8 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
353
354
  }
354
355
  ) }),
355
356
  /* @__PURE__ */ e(v, { variant: "inset" }),
356
- a && /* @__PURE__ */ e(tt, { in: h, children: /* @__PURE__ */ e(L, { sx: { bgcolor: "background.default" }, children: s.map((b, m) => /* @__PURE__ */ e(k, { sx: { pl: 48 }, children: /* @__PURE__ */ c(M, { onClick: () => n(b.label, b.metaType, p), children: [
357
- /* @__PURE__ */ e(nt, { sx: { mr: 8 }, children: /* @__PURE__ */ e(fe, { name: b.icon }) }),
357
+ a && /* @__PURE__ */ e(et, { in: h, children: /* @__PURE__ */ e(L, { sx: { bgcolor: "background.default" }, children: s.map((b, m) => /* @__PURE__ */ e(k, { sx: { pl: 48 }, children: /* @__PURE__ */ c(M, { onClick: () => n(b.label, b.metaType, p), children: [
358
+ /* @__PURE__ */ e(tt, { sx: { mr: 8 }, children: /* @__PURE__ */ e(fe, { name: b.icon }) }),
358
359
  /* @__PURE__ */ e(
359
360
  w,
360
361
  {
@@ -405,7 +406,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
405
406
  secondary: I(a.balance || 0, "0,0.00")
406
407
  }
407
408
  ),
408
- /* @__PURE__ */ e(at, { checked: p.some((m) => m.guid === a.guid) })
409
+ /* @__PURE__ */ e(nt, { checked: p.some((m) => m.guid === a.guid) })
409
410
  ] }) }),
410
411
  /* @__PURE__ */ e(v, { variant: b < t.length - 1 ? "inset" : "fullWidth" })
411
412
  ] }, a.guid))
@@ -466,7 +467,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
466
467
  )
467
468
  ] });
468
469
  }, Oe = ({ account: t }) => {
469
- const n = ot(t);
470
+ const n = at(t);
470
471
  return /* @__PURE__ */ c(k, { sx: { bgcolor: "background.paper", p: 24 }, children: [
471
472
  /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
472
473
  te,
@@ -655,7 +656,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
655
656
  );
656
657
  }, kt = D(({ goal: t }) => {
657
658
  const { goals: n } = S(), { user: _, updateUser: l } = Ge(), { setAlert: u } = G(), [r, d] = T.useState(ne(_.birthday ?? 0)), [s, p] = T.useState(null), h = t.is_complete, o = async () => {
658
- r && lt(r) && (await l({ ..._, birthday: ct(r) }), u(n.alert_goal_updated_birthday));
659
+ r && ct(r) && (await l({ ..._, birthday: st(r) }), u(n.alert_goal_updated_birthday));
659
660
  };
660
661
  return /* @__PURE__ */ e(
661
662
  q,
@@ -667,8 +668,8 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
667
668
  primaryText: n.details_birthday,
668
669
  secondaryText: `${be(ne(_.birthday ?? 0), ge.MONTH_DAY_YEAR)}`,
669
670
  zeroStateText: !t.guid && !_.birthday ? n.add_birthday : void 0,
670
- children: /* @__PURE__ */ e(_t, { dateAdapter: dt, children: /* @__PURE__ */ e(
671
- mt,
671
+ children: /* @__PURE__ */ e(mt, { dateAdapter: lt, children: /* @__PURE__ */ e(
672
+ dt,
672
673
  {
673
674
  label: n.details_birthday,
674
675
  onChange: d,
@@ -759,11 +760,11 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
759
760
  /* @__PURE__ */ e(v, { sx: { ml: u === i.RETIREMENT_TRACK ? 24 : 0 } })
760
761
  ] }),
761
762
  t.track_type === i.DEBT_TRACK && /* @__PURE__ */ c($, { children: [
763
+ /* @__PURE__ */ e(ot, { goal: t }),
764
+ /* @__PURE__ */ e(v, { sx: { ml: 24 } }),
762
765
  /* @__PURE__ */ e(rt, { goal: t }),
763
766
  /* @__PURE__ */ e(v, { sx: { ml: 24 } }),
764
767
  /* @__PURE__ */ e(it, { goal: t }),
765
- /* @__PURE__ */ e(v, { sx: { ml: 24 } }),
766
- /* @__PURE__ */ e(st, { goal: t }),
767
768
  /* @__PURE__ */ e(v, { variant: "fullWidth" })
768
769
  ] }),
769
770
  t.track_type === i.RETIREMENT_TRACK && /* @__PURE__ */ c($, { children: [
@@ -839,7 +840,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
839
840
  }
840
841
  ),
841
842
  /* @__PURE__ */ e(
842
- et,
843
+ _t,
843
844
  {
844
845
  copy: { close_aria: l.close_aria, title: _.delete_goal },
845
846
  isOpen: R,
@@ -852,7 +853,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
852
853
  }
853
854
  )
854
855
  ] });
855
- }), Pn = D(({ onBackClick: t, sx: n }) => {
856
+ }), zn = D(({ onBackClick: t, sx: n }) => {
856
857
  const { onEvent: _ } = Ne(), { isMobile: l } = he(), { isAccountDataLoaded: u, loadAccountData: r } = z(), { isInitialized: d } = ue(), { goals: s, common: p } = S(), {
857
858
  alert: h,
858
859
  goals: o,
@@ -1026,7 +1027,7 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
1026
1027
  )
1027
1028
  ]
1028
1029
  }
1029
- ), zn = D(({ onCTAClick: t }) => {
1030
+ ), jn = D(({ onCTAClick: t }) => {
1030
1031
  const { isAccountDataLoaded: n, loadAccountData: _, visibleAccounts: l } = z(), { onEvent: u } = Ne(), { goals: r } = S(), { isInitialized: d } = ue(), { ongoingGoalsForMicroWidget: s, isAllGoalDataLoaded: p, loadGoalData: h } = G();
1031
1032
  Ke({
1032
1033
  widgetName: "GoalsMicroWidget",
@@ -1067,8 +1068,8 @@ const At = (t, n) => n ? I(t, t < 1e3 ? "0" : "0.00a").replace(
1067
1068
  );
1068
1069
  });
1069
1070
  export {
1070
- $n as GoalApi,
1071
- Xn as GoalStore,
1072
- zn as GoalsMicroWidget,
1073
- Pn as GoalsWidget
1071
+ Xn as GoalApi,
1072
+ Hn as GoalStore,
1073
+ jn as GoalsMicroWidget,
1074
+ zn as GoalsWidget
1074
1075
  };
@@ -4,7 +4,7 @@ import { H as m } from "../Help-C0hzCqyd.mjs";
4
4
  import { b as s } from "../hooks-BUCn6FeJ.mjs";
5
5
  import { u as a } from "../useWidgetLoadTimer-BYMP5Q8g.mjs";
6
6
  import { L as p } from "../Loader-DUaFpDGv.mjs";
7
- import { W as d } from "../WidgetContainer-BNltq9UG.mjs";
7
+ import { W as d } from "../WidgetContainer-BxDAkXZT.mjs";
8
8
  const H = t(({ onBackClick: e, sx: i }) => {
9
9
  const { isInitialized: o } = s();
10
10
  return a({
@@ -1,6 +1,7 @@
1
1
  import { CommonBeatProps } from '../../../../types/CommonBeat';
2
2
  export interface CategoryBudgetProps extends CommonBeatProps {
3
3
  amount: string;
4
+ budgetPercentage: number;
4
5
  label: string;
5
6
  avatarBgColor?: string;
6
7
  leftLabel: string;