@mx-cartographer/experiences 7.7.1-alpha.san6 → 7.7.1

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 (31) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{CurrencyText-Dr0EZ7bp.mjs → CurrencyText-C-85TnUF.mjs} +3 -3
  3. package/dist/{ManageIncome-TihufLiw.mjs → ManageIncome-BrTrlplL.mjs} +145 -145
  4. package/dist/{RecurringSettings-DGRrVmLf.mjs → RecurringSettings-D2V6l77l.mjs} +2 -2
  5. package/dist/{SpendingLegend-BZsjOYfi.mjs → SpendingLegend-gTCJLLkV.mjs} +31 -31
  6. package/dist/{TransactionDetails-CKXhveUq.mjs → TransactionDetails-7MHOshKQ.mjs} +175 -175
  7. package/dist/ViewMoreMicroCard-CL1_NwLt.mjs +1161 -0
  8. package/dist/{WidgetContainer-RACapQsn.mjs → WidgetContainer-CrK6tyHr.mjs} +2 -2
  9. package/dist/accounts/index.es.js +2 -2
  10. package/dist/budgets/index.es.js +72 -72
  11. package/dist/cashflow/index.es.js +47 -48
  12. package/dist/common/index.es.js +2 -2
  13. package/dist/dashboard/index.es.js +1 -1
  14. package/dist/debts/index.es.js +135 -135
  15. package/dist/finstrong/index.es.js +5 -5
  16. package/dist/goals/index.es.js +1 -1
  17. package/dist/help/index.es.js +1 -1
  18. package/dist/investments/index.es.js +158 -158
  19. package/dist/microinsights/MicroCardTemplate.d.ts +0 -1
  20. package/dist/microinsights/index.es.js +823 -16
  21. package/dist/networth/index.es.js +92 -92
  22. package/dist/recurringtransactions/index.es.js +5 -5
  23. package/dist/settings/index.es.js +51 -51
  24. package/dist/spending/index.es.js +3 -3
  25. package/dist/transactions/index.es.js +3 -3
  26. package/dist/trends/index.es.js +4 -4
  27. package/package.json +1 -5
  28. package/dist/BeatIcon-Bh6s6Jhw.mjs +0 -88
  29. package/dist/ViewMoreMicroCard-D8KVp2kW.mjs +0 -1071
  30. package/dist/ZeroStateIcon-C0JgRtDy.mjs +0 -813
  31. package/dist/microinsights/beaticons/index.es.js +0 -11
@@ -1,19 +1,19 @@
1
1
  import { b as _ } from "./CategoryUtil-DZflYFam.mjs";
2
2
  import { b as p } from "./Category-CevNQ03n.mjs";
3
- import { jsxs as y, Fragment as w, jsx as m } from "react/jsx-runtime";
3
+ import { jsxs as f, Fragment as w, jsx as m } from "react/jsx-runtime";
4
4
  import x from "react";
5
5
  import { observer as M } from "mobx-react-lite";
6
6
  import N from "@mui/material/Button";
7
- import f from "@mui/material/Stack";
7
+ import h from "@mui/material/Stack";
8
8
  import { useTheme as k } from "@mui/material/styles";
9
- import { CategoryIcon as A, CategoryIconVariants as G, Text as h } from "@mxenabled/mxui";
10
- import { D as O } from "./Donut-Dmy3JTWd.mjs";
11
- import { u as $ } from "./useAriaLive-B3_pRUio.mjs";
12
- import { u as j } from "./hooks-ZMp65DFz.mjs";
13
- import { u as R } from "./useScreenSize-B6JyS_Lj.mjs";
9
+ import { CategoryIcon as A, CategoryIconVariants as G, Text as y, P as O } from "@mxenabled/mxui";
10
+ import { D as $ } from "./Donut-Dmy3JTWd.mjs";
11
+ import { u as j } from "./useAriaLive-B3_pRUio.mjs";
12
+ import { u as R } from "./hooks-ZMp65DFz.mjs";
13
+ import { u as v } from "./useScreenSize-B6JyS_Lj.mjs";
14
14
  import { f as D } from "./NumberFormatting-DjTD0t3W.mjs";
15
- import v from "@mui/material/Box";
16
- const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
15
+ import B from "@mui/material/Box";
16
+ const T = 5, H = (i, l, g, d) => d.reduce((t, n) => {
17
17
  const a = i.find((s) => s.guid === n.category_guid);
18
18
  if (!a) return t;
19
19
  const o = a.parent_guid ?? a.guid, r = i.find((s) => s.guid === o);
@@ -31,8 +31,8 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
31
31
  categoryTotals: [c],
32
32
  amount: n.total
33
33
  }), t;
34
- }, []), to = (i, l, g, d) => {
35
- const t = B(i, l, g, d), n = t.filter(
34
+ }, []), no = (i, l, g, d) => {
35
+ const t = H(i, l, g, d), n = t.filter(
36
36
  (e) => e.guid !== p.INCOME && e.guid !== p.INVESTMENTS && e.guid !== p.TRANSFER && e.amount > 0
37
37
  ).sort((e, s) => s.amount - e.amount), a = n.reduce(
38
38
  (e, s) => e + s.amount,
@@ -66,7 +66,7 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
66
66
  donutData: c,
67
67
  totalAmount: a
68
68
  };
69
- }, no = (i, l, g) => {
69
+ }, eo = (i, l, g) => {
70
70
  const d = i.filter(
71
71
  (o) => o.guid === p.INCOME || o.parent_guid === p.INCOME
72
72
  ), t = l.filter((o) => d.some((r) => r.guid === o.category_guid)).sort((o, r) => o.total - r.total).map((o, r) => ({
@@ -89,7 +89,7 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
89
89
  donutData: a,
90
90
  totalAmount: n
91
91
  };
92
- }, H = ({
92
+ }, V = ({
93
93
  data: i,
94
94
  isIncome: l = !1,
95
95
  onSelected: g,
@@ -99,7 +99,7 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
99
99
  totalLabel: a,
100
100
  variant: o = "mini"
101
101
  }) => {
102
- const { spending: r } = j(), c = k(), { isTablet: e } = R(), { announce: s, ariaLive: C } = $(), u = x.useMemo(
102
+ const { spending: r } = R(), c = k(), { isTablet: e } = v(), { announce: s, ariaLive: C } = j(), u = x.useMemo(
103
103
  () => t ? i.categoryData.find((b) => b.guid === t) : void 0,
104
104
  [t]
105
105
  );
@@ -112,11 +112,11 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
112
112
  const S = x.useMemo(() => i.donutData.length > 0 ? i.donutData : [{ id: "0", color: c.palette.divider, value: 100 }], [i, c]), E = () => {
113
113
  d?.(t);
114
114
  }, I = e ? 32 : 48;
115
- return /* @__PURE__ */ y(w, { children: [
115
+ return /* @__PURE__ */ f(w, { children: [
116
116
  C,
117
- /* @__PURE__ */ m(O, { data: S, onClick: g, selectedId: t, size: n, children: /* @__PURE__ */ m(f, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ y(f, { alignItems: "center", justifyContent: "center", minHeight: n, minWidth: n, children: [
118
- u && /* @__PURE__ */ y(
119
- f,
117
+ /* @__PURE__ */ m($, { data: S, onClick: g, selectedId: t, size: n, children: /* @__PURE__ */ m(h, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ f(h, { alignItems: "center", justifyContent: "center", minHeight: n, minWidth: n, children: [
118
+ u && /* @__PURE__ */ f(
119
+ h,
120
120
  {
121
121
  alignItems: "center",
122
122
  gap: o === "mini" ? 0 : 8,
@@ -133,7 +133,7 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
133
133
  }
134
134
  ),
135
135
  /* @__PURE__ */ m(
136
- h,
136
+ y,
137
137
  {
138
138
  color: "secondary",
139
139
  noWrap: !0,
@@ -144,9 +144,9 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
144
144
  ]
145
145
  }
146
146
  ),
147
- !u && o === "full" && /* @__PURE__ */ m(h, { bold: !0, color: "secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
148
- /* @__PURE__ */ m(h, { variant: o === "mini" ? "H2" : "H1", children: u ? D(u.amount, o === "mini" ? "0,0" : "0,0.00") : D(i.totalAmount, o === "mini" ? "0,0" : "0,0.00") }),
149
- !u && o === "mini" && /* @__PURE__ */ m(h, { color: "secondary", noWrap: !0, variant: "Tiny", children: a }),
147
+ !u && o === "full" && /* @__PURE__ */ m(y, { bold: !0, color: "secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
148
+ /* @__PURE__ */ m(O, { variant: o === "mini" ? "H2" : "H1", children: u ? D(u.amount, o === "mini" ? "0,0" : "0,0.00") : D(i.totalAmount, o === "mini" ? "0,0" : "0,0.00") }),
149
+ !u && o === "mini" && /* @__PURE__ */ m(y, { color: "secondary", noWrap: !0, variant: "Tiny", children: a }),
150
150
  o === "full" && /* @__PURE__ */ m(
151
151
  N,
152
152
  {
@@ -160,12 +160,12 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
160
160
  )
161
161
  ] }) }) })
162
162
  ] });
163
- }, eo = M(H), ro = ({ data: i, onSelected: l, selectedId: g }) => {
163
+ }, ro = M(V), ao = ({ data: i, onSelected: l, selectedId: g }) => {
164
164
  const d = (t, n) => {
165
165
  (t.key === "Enter" || t.key === " ") && (t.preventDefault(), l(n));
166
166
  };
167
- return /* @__PURE__ */ m(f, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: i.categoryData.map((t) => /* @__PURE__ */ y(
168
- f,
167
+ return /* @__PURE__ */ m(h, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: i.categoryData.map((t) => /* @__PURE__ */ f(
168
+ h,
169
169
  {
170
170
  alignItems: "center",
171
171
  "aria-label": t.name,
@@ -178,16 +178,16 @@ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
178
178
  sx: { cursor: "pointer" },
179
179
  tabIndex: 0,
180
180
  children: [
181
- /* @__PURE__ */ m(v, { borderRadius: 4, height: 8, sx: { backgroundColor: t.color }, width: 8 }),
182
- /* @__PURE__ */ m(h, { bold: t.guid === g, variant: "XSmall", children: t.name })
181
+ /* @__PURE__ */ m(B, { borderRadius: 4, height: 8, sx: { backgroundColor: t.color }, width: 8 }),
182
+ /* @__PURE__ */ m(y, { bold: t.guid === g, variant: "XSmall", children: t.name })
183
183
  ]
184
184
  },
185
185
  t.guid
186
186
  )) });
187
187
  };
188
188
  export {
189
- eo as S,
190
- no as a,
191
- ro as b,
192
- to as g
189
+ ro as S,
190
+ eo as a,
191
+ ao as b,
192
+ no as g
193
193
  };