@mx-cartographer/experiences 7.6.19 → 7.6.20

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.6.20] - 01-21-2026
2
+
3
+ - **UPDATED** - Spending widget to not round amounts
4
+
1
5
  ## [7.6.19] - 01-21-2026
2
6
 
3
7
  - **UPDATED** - Spending widget subcategories to open transactions list
@@ -1,50 +1,50 @@
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 v, jsx as m } from "react/jsx-runtime";
3
+ import { jsxs as y, Fragment as w, jsx as m } from "react/jsx-runtime";
4
4
  import x from "react";
5
- import { observer as w } from "mobx-react-lite";
6
- import M from "@mui/material/Button";
5
+ import { observer as M } from "mobx-react-lite";
6
+ import N from "@mui/material/Button";
7
7
  import f from "@mui/material/Stack";
8
- import { useTheme as N } from "@mui/material/styles";
9
- import { CategoryIcon as k, CategoryIconVariants as A, Text as h } from "@mxenabled/mxui";
10
- import { D as G } from "./Donut-Dmy3JTWd.mjs";
11
- import { u as O } from "./WidgetContainer-COyiIVSd.mjs";
12
- import { u as $ } from "./hooks-ZMp65DFz.mjs";
13
- import { u as j } from "./useScreenSize-B6JyS_Lj.mjs";
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 "./WidgetContainer-COyiIVSd.mjs";
12
+ import { u as j } from "./hooks-ZMp65DFz.mjs";
13
+ import { u as R } from "./useScreenSize-B6JyS_Lj.mjs";
14
14
  import { f as D } from "./NumberFormatting-DjTD0t3W.mjs";
15
- import R from "@mui/material/Box";
16
- const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
15
+ import v from "@mui/material/Box";
16
+ const T = 5, B = (i, l, g, d) => d.reduce((t, n) => {
17
17
  const a = i.find((s) => s.guid === n.category_guid);
18
- if (!a) return o;
19
- const t = a.parent_guid ?? a.guid, r = i.find((s) => s.guid === t);
20
- if (!r) return o;
18
+ if (!a) return t;
19
+ const o = a.parent_guid ?? a.guid, r = i.find((s) => s.guid === o);
20
+ if (!r) return t;
21
21
  const c = {
22
22
  guid: a.guid,
23
- name: a.guid === t ? `${l.parent_category_totals_label_general} ${a.name}` : a.name,
23
+ name: a.guid === o ? `${l.parent_category_totals_label_general} ${a.name}` : a.name,
24
24
  color: _(r.guid, g),
25
25
  amount: n.total
26
- }, e = o.find((s) => s.guid === t);
27
- return e ? (e.amount += n.total, e.categoryTotals?.push(c)) : o.push({
28
- guid: t,
26
+ }, e = t.find((s) => s.guid === o);
27
+ return e ? (e.amount += n.total, e.categoryTotals?.push(c)) : t.push({
28
+ guid: o,
29
29
  name: r.name,
30
30
  color: _(r.guid, g),
31
31
  categoryTotals: [c],
32
32
  amount: n.total
33
- }), o;
34
- }, []), ot = (i, l, g, d) => {
35
- const o = B(i, l, g, d), n = o.filter(
33
+ }), t;
34
+ }, []), to = (i, l, g, d) => {
35
+ const t = B(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,
39
39
  0
40
- ), t = n.length > T ? T : n.length, r = n.slice(0, t), c = r.map((e) => ({
40
+ ), o = n.length > T ? T : n.length, r = n.slice(0, o), c = r.map((e) => ({
41
41
  id: e.guid,
42
42
  color: _(e.guid, g),
43
43
  label: e.name,
44
44
  value: e.amount / a * 100
45
45
  }));
46
46
  if (n.length > 5) {
47
- const e = n.slice(T, o.length), s = e.reduce(
47
+ const e = n.slice(T, t.length), s = e.reduce(
48
48
  (C, u) => C + u.amount,
49
49
  0
50
50
  );
@@ -66,26 +66,26 @@ const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
66
66
  donutData: c,
67
67
  totalAmount: a
68
68
  };
69
- }, nt = (i, l, g) => {
69
+ }, no = (i, l, g) => {
70
70
  const d = i.filter(
71
- (t) => t.guid === p.INCOME || t.parent_guid === p.INCOME
72
- ), o = l.filter((t) => d.some((r) => r.guid === t.category_guid)).sort((t, r) => t.total - r.total).map((t, r) => ({
73
- guid: t.category_guid,
74
- name: i.find((c) => c.guid === t.category_guid)?.name,
71
+ (o) => o.guid === p.INCOME || o.parent_guid === p.INCOME
72
+ ), t = l.filter((o) => d.some((r) => r.guid === o.category_guid)).sort((o, r) => o.total - r.total).map((o, r) => ({
73
+ guid: o.category_guid,
74
+ name: i.find((c) => c.guid === o.category_guid)?.name,
75
75
  color: g[r],
76
76
  categoryTotals: [],
77
- amount: Math.abs(t.total)
78
- })), n = o.reduce(
79
- (t, r) => t + r.amount,
77
+ amount: Math.abs(o.total)
78
+ })), n = t.reduce(
79
+ (o, r) => o + r.amount,
80
80
  0
81
- ), a = o.map((t) => ({
82
- id: t.guid,
83
- color: t.color,
84
- label: t.name,
85
- value: t.amount / n * 100
81
+ ), a = t.map((o) => ({
82
+ id: o.guid,
83
+ color: o.color,
84
+ label: o.name,
85
+ value: o.amount / n * 100
86
86
  }));
87
87
  return {
88
- categoryData: o,
88
+ categoryData: t,
89
89
  donutData: a,
90
90
  totalAmount: n
91
91
  };
@@ -94,42 +94,42 @@ const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
94
94
  isIncome: l = !1,
95
95
  onSelected: g,
96
96
  onViewTransactions: d,
97
- selectedId: o,
97
+ selectedId: t,
98
98
  size: n = 150,
99
99
  totalLabel: a,
100
- variant: t = "mini"
100
+ variant: o = "mini"
101
101
  }) => {
102
- const { spending: r } = $(), c = N(), { isTablet: e } = j(), { announce: s, ariaLive: C } = O(), u = x.useMemo(
103
- () => o ? i.categoryData.find((b) => b.guid === o) : void 0,
104
- [o]
102
+ const { spending: r } = j(), c = k(), { isTablet: e } = R(), { announce: s, ariaLive: C } = $(), u = x.useMemo(
103
+ () => t ? i.categoryData.find((b) => b.guid === t) : void 0,
104
+ [t]
105
105
  );
106
106
  x.useEffect(() => {
107
107
  if (u) {
108
- const b = D(u.amount, "0,0");
108
+ const b = D(u.amount, o === "mini" ? "0,0" : "0,0.00");
109
109
  s(`${u.name}: ${b}`);
110
110
  }
111
- }, [u, s]);
111
+ }, [u, s, o]);
112
112
  const S = x.useMemo(() => i.donutData.length > 0 ? i.donutData : [{ id: "0", color: c.palette.divider, value: 100 }], [i, c]), E = () => {
113
- d?.(o);
113
+ d?.(t);
114
114
  }, I = e ? 32 : 48;
115
- return /* @__PURE__ */ y(v, { children: [
115
+ return /* @__PURE__ */ y(w, { children: [
116
116
  C,
117
- /* @__PURE__ */ m(G, { data: S, onClick: g, selectedId: o, 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: [
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
118
  u && /* @__PURE__ */ y(
119
119
  f,
120
120
  {
121
121
  alignItems: "center",
122
- gap: t === "mini" ? 0 : 8,
123
- mb: t === "mini" ? 0 : 8,
124
- mt: t === "mini" ? 0 : -16,
125
- sx: t === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
122
+ gap: o === "mini" ? 0 : 8,
123
+ mb: o === "mini" ? 0 : 8,
124
+ mt: o === "mini" ? 0 : -16,
125
+ sx: o === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
126
126
  children: [
127
127
  /* @__PURE__ */ m(
128
- k,
128
+ A,
129
129
  {
130
130
  categoryGuid: l ? p.INCOME : u.guid,
131
- size: t === "mini" ? 24 : I,
132
- variant: A.Transparent
131
+ size: o === "mini" ? 24 : I,
132
+ variant: G.Transparent
133
133
  }
134
134
  ),
135
135
  /* @__PURE__ */ m(
@@ -137,18 +137,18 @@ const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
137
137
  {
138
138
  color: "secondary",
139
139
  noWrap: !0,
140
- variant: t === "mini" ? "Tiny" : "Body",
140
+ variant: o === "mini" ? "Tiny" : "Body",
141
141
  children: u ? u.name : a
142
142
  }
143
143
  )
144
144
  ]
145
145
  }
146
146
  ),
147
- !u && t === "full" && /* @__PURE__ */ m(h, { bold: !0, color: "secondary", sx: { mb: { xs: 4, xl: 8 } }, children: a }),
148
- /* @__PURE__ */ m(h, { variant: t === "mini" ? "H2" : "H1", children: u ? D(u.amount, "0,0") : D(i.totalAmount, "0,0") }),
149
- !u && t === "mini" && /* @__PURE__ */ m(h, { color: "secondary", noWrap: !0, variant: "Tiny", children: a }),
150
- t === "full" && /* @__PURE__ */ m(
151
- M,
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 }),
150
+ o === "full" && /* @__PURE__ */ m(
151
+ N,
152
152
  {
153
153
  "aria-label": `View ${u?.name || ""} Transactions`,
154
154
  disabled: i.categoryData.length === 0,
@@ -160,34 +160,34 @@ const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
160
160
  )
161
161
  ] }) }) })
162
162
  ] });
163
- }, et = w(H), rt = ({ data: i, onSelected: l, selectedId: g }) => {
164
- const d = (o, n) => {
165
- (o.key === "Enter" || o.key === " ") && (o.preventDefault(), l(n));
163
+ }, eo = M(H), ro = ({ data: i, onSelected: l, selectedId: g }) => {
164
+ const d = (t, n) => {
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((o) => /* @__PURE__ */ y(
167
+ return /* @__PURE__ */ m(f, { gap: 8, height: "100%", justifyContent: "center", my: "auto", children: i.categoryData.map((t) => /* @__PURE__ */ y(
168
168
  f,
169
169
  {
170
170
  alignItems: "center",
171
- "aria-label": o.name,
172
- "aria-pressed": o.guid === g,
171
+ "aria-label": t.name,
172
+ "aria-pressed": t.guid === g,
173
173
  direction: "row",
174
174
  gap: 8,
175
- onClick: () => l(o.guid),
176
- onKeyDown: (n) => d(n, o.guid),
175
+ onClick: () => l(t.guid),
176
+ onKeyDown: (n) => d(n, t.guid),
177
177
  role: "button",
178
178
  sx: { cursor: "pointer" },
179
179
  tabIndex: 0,
180
180
  children: [
181
- /* @__PURE__ */ m(R, { borderRadius: 4, height: 8, sx: { backgroundColor: o.color }, width: 8 }),
182
- /* @__PURE__ */ m(h, { bold: o.guid === g, variant: "XSmall", children: o.name })
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 })
183
183
  ]
184
184
  },
185
- o.guid
185
+ t.guid
186
186
  )) });
187
187
  };
188
188
  export {
189
- et as S,
190
- nt as a,
191
- rt as b,
192
- ot as g
189
+ eo as S,
190
+ no as a,
191
+ ro as b,
192
+ to as g
193
193
  };
@@ -48,7 +48,7 @@ import { ChartsXAxis as qn } from "@mui/x-charts/ChartsXAxis";
48
48
  import { ChartsYAxis as Un } from "@mui/x-charts/ChartsYAxis";
49
49
  import { startOfMonth as kt } from "date-fns/startOfMonth";
50
50
  import { endOfMonth as Mt } from "date-fns/endOfMonth";
51
- import { g as Qn, S as Zn, b as Jn } from "../SpendingLegend-BuDjbr2d.mjs";
51
+ import { g as Qn, S as Zn, b as Jn } from "../SpendingLegend-BLAhLb1w.mjs";
52
52
  import { formatISO as eo } from "date-fns/formatISO";
53
53
  import { fromUnixTime as to } from "date-fns/fromUnixTime";
54
54
  import { startOfToday as ot } from "date-fns/startOfToday";
@@ -2,6 +2,7 @@ import { default as React } from 'react';
2
2
  interface SpendingTabLabelProps {
3
3
  amount: number;
4
4
  label: string;
5
+ variant?: 'mini' | 'full';
5
6
  }
6
7
  declare const SpendingTabLabel: React.FC<SpendingTabLabelProps>;
7
8
  export default SpendingTabLabel;
@@ -1,6 +1,6 @@
1
1
  import { jsxs as d, jsx as t } from "react/jsx-runtime";
2
2
  import a from "react";
3
- import { observer as D } from "mobx-react-lite";
3
+ import { observer as v } from "mobx-react-lite";
4
4
  import { startOfMonth as st } from "date-fns/startOfMonth";
5
5
  import { endOfMonth as rt } from "date-fns/endOfMonth";
6
6
  import w from "@mui/material/Box";
@@ -8,18 +8,18 @@ import _ from "@mui/material/Stack";
8
8
  import E from "@mui/material/Tab";
9
9
  import ct from "@mui/material/Tabs";
10
10
  import _t from "@mui/material/styles/useTheme";
11
- import { g as lt, a as dt, S as W, b as Q } from "../SpendingLegend-BuDjbr2d.mjs";
11
+ import { g as lt, a as dt, S as W, b as Q } from "../SpendingLegend-BLAhLb1w.mjs";
12
12
  import { Text as T, Icon as St } from "@mxenabled/mxui";
13
13
  import { f as A } from "../NumberFormatting-DjTD0t3W.mjs";
14
- import { u as v, b as R, m as H, d as gt, a as V, h as Ct, g as Tt } from "../hooks-ZMp65DFz.mjs";
14
+ import { u as D, b as R, m as H, d as gt, a as V, h as Ct, g as Tt } from "../hooks-ZMp65DFz.mjs";
15
15
  import { u as pt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
16
16
  import { L as P } from "../Loader-DUaFpDGv.mjs";
17
17
  import { M as Mt } from "../MiniWidgetContainer-98-hKFqm.mjs";
18
18
  import { startOfToday as Z } from "date-fns/startOfToday";
19
19
  import xt from "@mui/material/Button";
20
20
  import { useTheme as wt } from "@mui/material";
21
- import { e as Dt } from "../exportTransactionsToCSV-BrTYdSgJ.mjs";
22
- import { T as vt, a as Lt } from "../TransactionDetails-BKoBKUNp.mjs";
21
+ import { e as vt } from "../exportTransactionsToCSV-BrTYdSgJ.mjs";
22
+ import { T as Dt, a as Lt } from "../TransactionDetails-BKoBKUNp.mjs";
23
23
  import It from "@mui/material/Collapse";
24
24
  import F from "@mui/material/Divider";
25
25
  import tt from "@mui/material/List";
@@ -29,11 +29,11 @@ import { u as At } from "../useScreenSize-B6JyS_Lj.mjs";
29
29
  import { D as ot } from "../Drawer-DV4NTsFg.mjs";
30
30
  import { b as L } from "../Category-CevNQ03n.mjs";
31
31
  import { A as at, W as Et } from "../WidgetContainer-COyiIVSd.mjs";
32
- const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column", children: [
32
+ const N = ({ amount: e, label: g, variant: o = "full" }) => /* @__PURE__ */ d(_, { direction: "column", children: [
33
33
  /* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: g }),
34
- /* @__PURE__ */ t(T, { variant: "XSmall", children: A(e, "0,0") })
34
+ /* @__PURE__ */ t(T, { variant: "XSmall", children: A(e, o === "mini" ? "0,0" : "0,0.00") })
35
35
  ] }), Wt = () => {
36
- const e = _t(), { goals: g, spending: o } = v(), { selectedAccounts: s } = R(), {
36
+ const e = _t(), { goals: g, spending: o } = D(), { selectedAccounts: s } = R(), {
37
37
  categories: i,
38
38
  dateRangeCategoryTotals: r,
39
39
  dataRangeTotalsLoaded: n,
@@ -90,7 +90,8 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
90
90
  N,
91
91
  {
92
92
  amount: b.totalAmount,
93
- label: o.spend_tab_title
93
+ label: o.spend_tab_title,
94
+ variant: "mini"
94
95
  }
95
96
  ),
96
97
  tabIndex: m === 0 ? 0 : -1
@@ -105,7 +106,8 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
105
106
  N,
106
107
  {
107
108
  amount: y.totalAmount,
108
- label: o.income_tab_title
109
+ label: o.income_tab_title,
110
+ variant: "mini"
109
111
  }
110
112
  ),
111
113
  tabIndex: m === 1 ? 0 : -1
@@ -158,8 +160,8 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
158
160
  }
159
161
  )
160
162
  ] }) : /* @__PURE__ */ t(P, { height: 250 });
161
- }, Nt = D(Wt), Rt = ({ onPrimaryCtaClick: e, sx: g = {} }) => {
162
- const { visibleAccounts: o } = gt(), { spending: s } = v(), { isCopyLoaded: i, isInitialized: r, setSelectedAccounts: n } = R();
163
+ }, Nt = v(Wt), Rt = ({ onPrimaryCtaClick: e, sx: g = {} }) => {
164
+ const { visibleAccounts: o } = gt(), { spending: s } = D(), { isCopyLoaded: i, isInitialized: r, setSelectedAccounts: n } = R();
163
165
  return a.useEffect(() => {
164
166
  n(o);
165
167
  }, [o]), !i || !r ? /* @__PURE__ */ t(P, {}) : /* @__PURE__ */ t(
@@ -173,13 +175,13 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
173
175
  children: /* @__PURE__ */ t(Nt, {})
174
176
  }
175
177
  );
176
- }, _e = D(Rt), $t = ({
178
+ }, _e = v(Rt), $t = ({
177
179
  data: e,
178
180
  onSelected: g,
179
181
  selectedId: o = "",
180
182
  title: s
181
183
  }) => {
182
- const { spending: i } = v(), r = e.categoryData.find((n) => n.guid === o);
184
+ const { spending: i } = D(), r = e.categoryData.find((n) => n.guid === o);
183
185
  return /* @__PURE__ */ d(_, { direction: "column", justifyContent: "center", maxWidth: 400, minWidth: 275, width: "100%", children: [
184
186
  /* @__PURE__ */ t(T, { bold: !0, id: "spending-list-title", sx: { py: 12 }, children: `${s} ${i.by_category}` }),
185
187
  /* @__PURE__ */ t(F, { "aria-hidden": "true" }),
@@ -219,7 +221,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
219
221
  width: "100%",
220
222
  children: [
221
223
  /* @__PURE__ */ t(T, { bold: o === n.guid, children: n.name }),
222
- /* @__PURE__ */ t(T, { bold: o === n.guid, variant: "Body", children: A(n.amount, "0,0") })
224
+ /* @__PURE__ */ t(T, { bold: o === n.guid, variant: "Body", children: A(n.amount, "0,0.00") })
223
225
  ]
224
226
  }
225
227
  )
@@ -248,7 +250,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
248
250
  u.name,
249
251
  " "
250
252
  ] }),
251
- /* @__PURE__ */ t(T, { children: A(u.amount, "0,0") })
253
+ /* @__PURE__ */ t(T, { children: A(u.amount, "0,0.00") })
252
254
  ] })
253
255
  }
254
256
  )
@@ -258,16 +260,16 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
258
260
  /* @__PURE__ */ t(F, {})
259
261
  ] }) })
260
262
  ] }, n.guid)) }),
261
- /* @__PURE__ */ t(T, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${i.total}: ${A(e.totalAmount, "0,0")}` })
263
+ /* @__PURE__ */ t(T, { bold: !0, sx: { mt: 12, pr: 8, textAlign: "right" }, children: `${i.total}: ${A(e.totalAmount, "0,0.00")}` })
262
264
  ] });
263
- }, kt = D($t), Ot = ({
265
+ }, kt = v($t), Ot = ({
264
266
  data: e,
265
267
  onSelected: g,
266
268
  onViewTransactions: o,
267
269
  selectedId: s,
268
270
  title: i
269
271
  }) => {
270
- const { isDesktop: r, isMobile: n } = At(), { isLoadingCategoryTotals: u } = H(), { spending: c } = v();
272
+ const { isDesktop: r, isMobile: n } = At(), { isLoadingCategoryTotals: u } = H(), { spending: c } = D();
271
273
  return /* @__PURE__ */ d(
272
274
  _,
273
275
  {
@@ -312,7 +314,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
312
314
  ]
313
315
  }
314
316
  );
315
- }, it = D(Ot), Bt = (e) => [
317
+ }, it = v(Ot), Bt = (e) => [
316
318
  e.palette.chartMono.chartMono5,
317
319
  e.palette.chartMono.chartMono4,
318
320
  e.palette.chartMono.chartMono3,
@@ -329,7 +331,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
329
331
  goals: u,
330
332
  spending: c,
331
333
  transactions: f
332
- } = v(), { displayedDateRange: p, selectedAccounts: m, selectedAccountGuids: M } = R(), {
334
+ } = D(), { displayedDateRange: p, selectedAccounts: m, selectedAccountGuids: M } = R(), {
333
335
  setFilter: b,
334
336
  sortedTransactions: y,
335
337
  sortedTransactionsWithSplits: $,
@@ -392,7 +394,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
392
394
  });
393
395
  B(!0);
394
396
  }, bt = () => {
395
- Dt($, x);
397
+ vt($, x);
396
398
  };
397
399
  return /* @__PURE__ */ d(w, { children: [
398
400
  /* @__PURE__ */ d(ct, { onChange: ht, value: I, variant: "fullWidth", children: [
@@ -458,7 +460,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
458
460
  children: f.export_csv_btn
459
461
  }
460
462
  ) }),
461
- /* @__PURE__ */ t(vt, { onClick: X })
463
+ /* @__PURE__ */ t(Dt, { onClick: X })
462
464
  ] })
463
465
  }
464
466
  ),
@@ -473,8 +475,8 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
473
475
  }
474
476
  )
475
477
  ] });
476
- }, jt = D(Gt), zt = ({ onBackClick: e, sx: g = {} }) => {
477
- const { visibleAccounts: o } = gt(), { spending: s } = v(), { isCopyLoaded: i, isInitialized: r, setDisplayedDate: n, setSelectedAccounts: u } = R(), { onEvent: c } = Tt(), { clientConfig: f } = V(), p = f?.master?.deep_link_params?.date_range, [m, M] = a.useState(!1);
478
+ }, jt = v(Gt), zt = ({ onBackClick: e, sx: g = {} }) => {
479
+ const { visibleAccounts: o } = gt(), { spending: s } = D(), { isCopyLoaded: i, isInitialized: r, setDisplayedDate: n, setSelectedAccounts: u } = R(), { onEvent: c } = Tt(), { clientConfig: f } = V(), p = f?.master?.deep_link_params?.date_range, [m, M] = a.useState(!1);
478
480
  a.useEffect(() => {
479
481
  u(o);
480
482
  }, [o]), a.useEffect(() => {
@@ -495,7 +497,7 @@ const N = ({ amount: e, label: g }) => /* @__PURE__ */ d(_, { direction: "column
495
497
  children: /* @__PURE__ */ t(w, { width: "100%", children: /* @__PURE__ */ t(jt, {}) })
496
498
  }
497
499
  );
498
- }, Se = D(zt);
500
+ }, Se = v(zt);
499
501
  export {
500
502
  _e as SpendingMiniWidget,
501
503
  Se as SpendingWidget
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.6.19",
3
+ "version": "7.6.20",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",