@mx-cartographer/experiences 7.2.13-alpha.mm3 → 7.2.14

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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist/{Account-B-CuHOYf.mjs → Account-vp_TAbGt.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-bqByD9ea.mjs → AccountDetailsContent-CsH1w_GZ.mjs} +6 -6
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-Df1JkzYi.mjs} +4 -4
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-DUToRRqW.mjs} +2 -2
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CeY_WIpj.mjs} +3 -3
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-BkoLK9Tq.mjs} +1 -1
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-C1QxUB-e.mjs} +1 -1
  9. package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer-Bw5s6Dw1.mjs} +1 -0
  10. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-BDvVuJQf.mjs} +13 -12
  11. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-BD_XwsI7.mjs} +1 -1
  12. package/dist/Donut-oaQFlbit.mjs +86 -0
  13. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-DZ_Jvsa_.mjs} +1 -1
  14. package/dist/{ManageIncome-Cw-QhHiy.mjs → ManageIncome-CV-bGuR-.mjs} +63 -64
  15. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-D1NiDUcc.mjs} +2 -2
  16. package/dist/{RecurringSettings-Dhf7DHVC.mjs → RecurringSettings-G6_BbsIF.mjs} +2 -2
  17. package/dist/{TransactionDetails-DW7T0W0z.mjs → TransactionDetails-CDtya0KS.mjs} +1 -1
  18. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-EbrN1oIo.mjs} +1 -1
  19. package/dist/accounts/index.es.js +11 -11
  20. package/dist/budgets/index.es.js +455 -430
  21. package/dist/cashflow/index.es.js +5 -5
  22. package/dist/common/index.es.js +10 -10
  23. package/dist/dashboard/index.es.js +1 -1
  24. package/dist/debts/index.es.js +5 -5
  25. package/dist/finstrong/index.es.js +4 -4
  26. package/dist/goals/index.es.js +7 -7
  27. package/dist/help/index.es.js +1 -1
  28. package/dist/investments/index.es.js +3 -3
  29. package/dist/networth/index.es.js +4 -4
  30. package/dist/recurringtransactions/index.es.js +5 -5
  31. package/dist/settings/index.es.js +1 -1
  32. package/dist/spending/index.es.js +342 -290
  33. package/dist/transactions/index.es.js +166 -193
  34. package/dist/trends/index.es.js +3 -3
  35. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-jS05A6-6.mjs} +1 -1
  36. package/dist/useAriaLive-B3_pRUio.mjs +35 -0
  37. package/package.json +1 -1
  38. package/dist/Donut-1UMNcG67.mjs +0 -57
package/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## [7.2.14] - 11-25-2025
2
+
3
+ - **FIXED** - Removed border from embedded widgets
4
+
5
+ ## [7.2.13] - 11-24-2025
6
+
7
+ - **FIXED** - interactive controls for budget and spending mini widgets
8
+
1
9
  ## [7.2.12] - 11-20-2025
2
10
 
3
11
  - **FIXED** - Accessibility label on split transaction amount input
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-DaFRU5st.mjs";
1
+ import { A as C } from "./ConnectDrawer-Bw5s6Dw1.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,10 +11,10 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-vcy67tuH.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-Df1JkzYi.mjs";
15
15
  import { d as z, u as E, g as O, h as X } from "./hooks-D6XlXHf4.mjs";
16
- import { A as at } from "./AccountListItem-DChcf3SN.mjs";
17
- import { A as k } from "./WidgetContainer-C88Ecu2W.mjs";
16
+ import { A as at } from "./AccountListItem-CeY_WIpj.mjs";
17
+ import { A as k } from "./WidgetContainer-EbrN1oIo.mjs";
18
18
  import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
@@ -22,7 +22,7 @@ import P from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-DaFRU5st.mjs";
25
+ import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-Bw5s6Dw1.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -38,13 +38,13 @@ import bt from "@mui/material/MenuItem";
38
38
  import At from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
40
  import { C as St } from "./CurrencyInput-DUsQbkXb.mjs";
41
- import { b as Dt } from "./AccountFields-cUP-9Hm6.mjs";
41
+ import { b as Dt } from "./AccountFields-DUToRRqW.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-DW7T0W0z.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-CDtya0KS.mjs";
48
48
  import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as v } from "./AccountFields-cUP-9Hm6.mjs";
5
+ import { g as v } from "./AccountFields-DUToRRqW.mjs";
6
6
  import h from "react";
7
7
  import { G as E, d as y, m as S, u as _, f as G } from "./hooks-D6XlXHf4.mjs";
8
8
  import O from "@mui/material/Card";
@@ -11,11 +11,11 @@ import M from "@mui/material/CardHeader";
11
11
  import { useTheme as B } from "@mui/material/styles";
12
12
  import { g as H, a as U, b as j } from "./SpendingData-D5vsfYKo.mjs";
13
13
  import { L as z } from "./LineChart-D4GI7nVh.mjs";
14
- import { I as f, P as g, S as C } from "./Account-B-CuHOYf.mjs";
15
- import { A } from "./ConnectDrawer-DaFRU5st.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-vp_TAbGt.mjs";
15
+ import { A } from "./ConnectDrawer-Bw5s6Dw1.mjs";
16
16
  import { L as Y } from "./Loader-DUaFpDGv.mjs";
17
17
  import { f as R, D as $ } from "./Dialog-CWW597AF.mjs";
18
- import { u as k } from "./useAccountDisplayName-BcRqfar8.mjs";
18
+ import { u as k } from "./useAccountDisplayName-jS05A6-6.mjs";
19
19
  import { f as F } from "./NumberFormatting-Buh7u8Oi.mjs";
20
20
  const b = () => {
21
21
  if (!h.useContext(E))
@@ -1,7 +1,7 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-DaFRU5st.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-IeEtQjzA.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-Bw5s6Dw1.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-C1QxUB-e.mjs";
5
5
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-Buh7u8Oi.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
@@ -10,9 +10,9 @@ import B from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as A } from "@mxenabled/mx-icons";
12
12
  import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as T } from "./AccountFields-cUP-9Hm6.mjs";
14
- import { u as X } from "./useAccountDisplayName-BcRqfar8.mjs";
15
- import { d } from "./ConnectDrawer-DaFRU5st.mjs";
13
+ import { g as T } from "./AccountFields-DUToRRqW.mjs";
14
+ import { u as X } from "./useAccountDisplayName-jS05A6-6.mjs";
15
+ import { d } from "./ConnectDrawer-Bw5s6Dw1.mjs";
16
16
  import { u as $ } from "./hooks-D6XlXHf4.mjs";
17
17
  import { f as k } from "./NumberFormatting-Buh7u8Oi.mjs";
18
18
  const w = {
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as A, runInAction as a } from "mobx";
2
2
  import { i as f } from "./User-BQUxBeZV.mjs";
3
3
  import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
4
- import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-DaFRU5st.mjs";
4
+ import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-Bw5s6Dw1.mjs";
5
5
  class _ {
6
6
  fetchInstance;
7
7
  constructor(t, e, n) {
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-DaFRU5st.mjs";
1
+ import { A as _ } from "./ConnectDrawer-Bw5s6Dw1.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -486,6 +486,7 @@ const j = "connect_widget", rI = "connections_widget", HE = ({
486
486
  r = new aE({
487
487
  container: `#${j}`,
488
488
  style: {
489
+ border: "none",
489
490
  height: "calc(100% - 62px)",
490
491
  maxWidth: "450px",
491
492
  position: "absolute",
@@ -1,10 +1,10 @@
1
- import { jsx as s, jsxs as g } from "react/jsx-runtime";
2
- import r from "react";
1
+ import { jsx as r, jsxs as g } from "react/jsx-runtime";
2
+ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
- import { useTheme as D } from "@mui/material/styles";
5
- import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-DaFRU5st.mjs";
7
- import { d as b, e as w, u as _ } from "./hooks-D6XlXHf4.mjs";
4
+ import { useTheme as b } from "@mui/material/styles";
5
+ import { ConnectionsWidget as D } from "@mxenabled/web-widget-sdk";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-Bw5s6Dw1.mjs";
7
+ import { d as L, e as w, u as _ } from "./hooks-D6XlXHf4.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
10
10
  onClose: l,
@@ -12,11 +12,12 @@ const I = ({
12
12
  title: u
13
13
  }) => {
14
14
  let n;
15
- const { refreshAccounts: m } = b(), { loadWidget: f } = w(), { connect: d } = _(), p = D(), [C, e] = r.useState(!1), [S, t] = r.useState(!1);
16
- return r.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
- n = new L({
15
+ const { refreshAccounts: m } = L(), { loadWidget: f } = w(), { connect: d } = _(), p = b(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
+ return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
+ n = new D({
18
18
  container: `#${a}`,
19
19
  style: {
20
+ border: "none",
20
21
  height: "calc(100% - 62px)",
21
22
  width: "100%",
22
23
  position: "absolute"
@@ -31,7 +32,7 @@ const I = ({
31
32
  });
32
33
  })) : (e(!1), t(!1)), () => {
33
34
  n?.unmount();
34
- }), [o]), /* @__PURE__ */ s(
35
+ }), [o]), /* @__PURE__ */ r(
35
36
  x,
36
37
  {
37
38
  ariaLabelClose: d.close_connections_aria,
@@ -41,8 +42,8 @@ const I = ({
41
42
  },
42
43
  title: u,
43
44
  children: /* @__PURE__ */ g("div", { id: a, children: [
44
- S && /* @__PURE__ */ s(c, { status: i.Error }),
45
- C && /* @__PURE__ */ s(c, { status: i.Loading })
45
+ S && /* @__PURE__ */ r(c, { status: i.Error }),
46
+ C && /* @__PURE__ */ r(c, { status: i.Loading })
46
47
  ] })
47
48
  }
48
49
  );
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
3
- import { A as p } from "./ConnectDrawer-DaFRU5st.mjs";
3
+ import { A as p } from "./ConnectDrawer-Bw5s6Dw1.mjs";
4
4
  const E = 12, T = 100;
5
5
  var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
6
6
  const b = {
@@ -0,0 +1,86 @@
1
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
2
+ import b from "react";
3
+ import { selectAll as m, interpolateString as x, arc as I } from "d3";
4
+ import d from "@mui/material/Box";
5
+ import { useTheme as S } from "@mui/material/styles";
6
+ const k = 100, E = 140, v = 10, B = ({
7
+ data: u,
8
+ hoveredId: h,
9
+ onClick: s,
10
+ onMouseEnter: a,
11
+ onMouseLeave: l,
12
+ selectedId: i,
13
+ size: t = 300,
14
+ children: p
15
+ }) => {
16
+ const f = S();
17
+ let r = 0;
18
+ const g = (o, n) => {
19
+ (o.key === "Enter" || o.key === " ") && (o.preventDefault(), s?.(n));
20
+ }, y = (o) => {
21
+ a?.(o);
22
+ }, D = (o) => {
23
+ l?.(o);
24
+ };
25
+ return b.useEffect(() => {
26
+ m(".arc-outer").transition("roll").duration(500).attrTween("transform", () => x("rotate(0)", "rotate(360)"));
27
+ }, []), /* @__PURE__ */ c(d, { height: t, position: "relative", width: t, children: [
28
+ /* @__PURE__ */ e(d, { height: "100%", width: "100%", children: p }),
29
+ /* @__PURE__ */ c(
30
+ "svg",
31
+ {
32
+ height: t,
33
+ style: { position: "absolute", top: 0, left: 0 },
34
+ viewBox: "-150 -150 300 300",
35
+ width: t,
36
+ children: [
37
+ /* @__PURE__ */ e("style", { children: `
38
+ .arc-outer:focus,
39
+ .arc-outer:focus-visible {
40
+ stroke: ${f.palette.primary.main};
41
+ stroke-width: 3;
42
+ stroke-opacity: 0.8;
43
+ }
44
+ ` }),
45
+ /* @__PURE__ */ e("g", { children: u.map((o) => {
46
+ const n = r;
47
+ r = r + 2 * Math.PI * (o.value / 100);
48
+ const w = r, R = I().cornerRadius(4)({
49
+ innerRadius: k,
50
+ outerRadius: E + (o.id === i || o.id === h ? v : 0),
51
+ startAngle: n,
52
+ endAngle: w,
53
+ padAngle: 0.025
54
+ });
55
+ return /* @__PURE__ */ e(
56
+ "path",
57
+ {
58
+ "aria-label": o.label || `Segment ${o.id}`,
59
+ "aria-pressed": o.id === i,
60
+ className: "arc-outer",
61
+ d: R,
62
+ fill: o.color,
63
+ onBlur: () => D(o.id),
64
+ onClick: () => s?.(o.id),
65
+ onFocus: () => y(o.id),
66
+ onKeyDown: (A) => g(A, o.id),
67
+ onMouseEnter: () => a?.(o.id),
68
+ onMouseLeave: () => l?.(o.id),
69
+ role: "button",
70
+ style: {
71
+ cursor: "pointer",
72
+ outline: "none"
73
+ },
74
+ tabIndex: 0
75
+ },
76
+ o.id
77
+ );
78
+ }) })
79
+ ]
80
+ }
81
+ )
82
+ ] });
83
+ }, j = B;
84
+ export {
85
+ j as D
86
+ };
@@ -7,7 +7,7 @@ import O from "@mui/material/CardHeader";
7
7
  import S from "@mui/material/Stack";
8
8
  import { AccountBalance as w, ChevronRight as L } from "@mxenabled/mx-icons";
9
9
  import { Text as A } from "@mxenabled/mxui";
10
- import { l as b } from "./ConnectDrawer-DaFRU5st.mjs";
10
+ import { l as b } from "./ConnectDrawer-Bw5s6Dw1.mjs";
11
11
  import { a as y } from "./hooks-D6XlXHf4.mjs";
12
12
  import { makeAutoObservable as D, runInAction as c } from "mobx";
13
13
  import { F as v, A as i } from "./Fetch-87LIQbEA.mjs";
@@ -14,24 +14,23 @@ import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTran
14
14
  import { subDays as ue } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
- import { parseISO as me } from "date-fns/parseISO";
18
17
  import $ from "@mui/material/Button";
19
- import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
20
- import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-DW7T0W0z.mjs";
21
- import { getDayOfYear as xe } from "date-fns/getDayOfYear";
22
- import { setDayOfYear as Se } from "date-fns/setDayOfYear";
23
- import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
24
- import { DatePicker as we } from "@mui/x-date-pickers";
25
- import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
26
- import { u as w, j as M, g as F, b as Ie, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
27
- import { b as Ee, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
18
+ import { Delete as me, Add as pe, ReceiptLong as he } from "@mxenabled/mx-icons";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-CDtya0KS.mjs";
20
+ import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
+ import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
+ import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
+ import { DatePicker as ve } from "@mui/x-date-pickers";
24
+ import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
+ import { u as w, j as M, g as F, b as Ae, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
26
+ import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
28
27
  import { D as O } from "./Drawer-kEE73B87.mjs";
29
- import { A as R } from "./WidgetContainer-C88Ecu2W.mjs";
30
- import { f as Re, D as Te, a as Le } from "./Dialog-CWW597AF.mjs";
31
- import { formatISO as Oe } from "date-fns/formatISO";
32
- import { fromUnixTime as ke } from "date-fns/fromUnixTime";
33
- import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
34
- import { h as Me } from "./DateUtil-BcuH7ErC.mjs";
28
+ import { A as R } from "./WidgetContainer-EbrN1oIo.mjs";
29
+ import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
30
+ import { formatISO as Le } from "date-fns/formatISO";
31
+ import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
+ import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
+ import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
35
34
  import { b as B } from "./Category-CevNQ03n.mjs";
36
35
  import { T as V } from "./User-BQUxBeZV.mjs";
37
36
  const ee = ({
@@ -64,11 +63,11 @@ const ee = ({
64
63
  { id: 6, label: o.weekday_saturday }
65
64
  ], y = [...Array(31).keys()].map((p) => ({
66
65
  id: p + 1,
67
- label: Ee(p + 1)
66
+ label: Ie(p + 1)
68
67
  }));
69
68
  y[30].label += ` (${o.last_day_of_month})`;
70
- const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = Se(z(), t), f = (p) => {
71
- p && s(xe(p));
69
+ const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, D = xe(z(), t), f = (p) => {
70
+ p && s(be(p));
72
71
  };
73
72
  return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
74
73
  /* @__PURE__ */ e(
@@ -107,17 +106,17 @@ const ee = ({
107
106
  value: r || 0
108
107
  }
109
108
  ),
110
- n === d.EveryYear && /* @__PURE__ */ e(Ae, { dateAdapter: ve, children: /* @__PURE__ */ e(
111
- we,
109
+ n === d.EveryYear && /* @__PURE__ */ e(we, { dateAdapter: Se, children: /* @__PURE__ */ e(
110
+ ve,
112
111
  {
113
112
  disablePast: !0,
114
113
  label: o.next_payment_date,
115
114
  onChange: f,
116
- value: I
115
+ value: D
117
116
  }
118
117
  ) })
119
118
  ] });
120
- }, Fe = A(({ repeatingTransaction: n }) => {
119
+ }, Me = A(({ repeatingTransaction: n }) => {
121
120
  const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: i } = F(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
122
121
  await r({
123
122
  ...n,
@@ -160,9 +159,9 @@ const ee = ({
160
159
  }
161
160
  )
162
161
  ] });
163
- }), Ge = A(
162
+ }), Fe = A(
164
163
  ({ onDeleted: n, recurringTransaction: t }) => {
165
- const { recurring: r } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
164
+ const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
166
165
  u.useEffect(() => {
167
166
  o({
168
167
  accounts: i,
@@ -194,9 +193,9 @@ const ee = ({
194
193
  p ? "+" : "",
195
194
  J(m, "0,0.00")
196
195
  ] }),
197
- /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Re(
198
- me(t.predicted_occurs_on),
199
- Te.MONTH_DAY_YEAR
196
+ /* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Ee(
197
+ t.predicted_occurs_on,
198
+ Re.MONTH_DAY_YEAR
200
199
  )}` })
201
200
  ] }),
202
201
  /* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
@@ -222,7 +221,7 @@ const ee = ({
222
221
  ),
223
222
  /* @__PURE__ */ e(T, { variant: "inset" })
224
223
  ] }),
225
- /* @__PURE__ */ e(Fe, { repeatingTransaction: t }),
224
+ /* @__PURE__ */ e(Me, { repeatingTransaction: t }),
226
225
  /* @__PURE__ */ e(T, {})
227
226
  ] }),
228
227
  /* @__PURE__ */ e(
@@ -230,26 +229,26 @@ const ee = ({
230
229
  {
231
230
  color: "error",
232
231
  onClick: G,
233
- startIcon: /* @__PURE__ */ e(pe, {}),
232
+ startIcon: /* @__PURE__ */ e(me, {}),
234
233
  sx: { mx: 24, my: 16 },
235
234
  variant: "text",
236
235
  children: p ? r.delete_income_title : r.delete_expense_title
237
236
  }
238
237
  ),
239
238
  /* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
240
- /* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
239
+ /* @__PURE__ */ e(X, { height: "30dvh", onClick: D }),
241
240
  /* @__PURE__ */ e(
242
241
  O,
243
242
  {
244
243
  ariaLabelClose: r.close_drawer_aria,
245
244
  isOpen: !!g && !!f,
246
- onClose: () => I(""),
245
+ onClose: () => D(""),
247
246
  title: r.transaction_details_drawer_title,
248
- children: f && /* @__PURE__ */ e(ge, { transaction: f })
247
+ children: f && /* @__PURE__ */ e(ye, { transaction: f })
249
248
  }
250
249
  ),
251
250
  /* @__PURE__ */ e(
252
- Le,
251
+ Te,
253
252
  {
254
253
  copy: {
255
254
  title: p ? r.delete_income_title : r.delete_expense_title,
@@ -263,7 +262,7 @@ const ee = ({
263
262
  )
264
263
  ] });
265
264
  }
266
- ), Pe = A(
265
+ ), Ge = A(
267
266
  ({ onClick: n = () => {
268
267
  }, repeatingTransaction: t }) => {
269
268
  const { recurring: r } = w(), [i, s] = u.useState(!1), l = u.useMemo(
@@ -334,7 +333,7 @@ const ee = ({
334
333
  onClose: () => s(!1),
335
334
  title: t.repeating_transaction_type === E.Income ? r.income_details : r.expense_details,
336
335
  children: /* @__PURE__ */ e(
337
- Ge,
336
+ Fe,
338
337
  {
339
338
  onDeleted: () => s(!1),
340
339
  recurringTransaction: t
@@ -344,18 +343,18 @@ const ee = ({
344
343
  )
345
344
  ] });
346
345
  }
347
- ), Ue = A(
346
+ ), Pe = A(
348
347
  ({
349
348
  bgcolor: n = "background.default",
350
349
  description: t,
351
350
  onSearch: r,
352
351
  onSelected: i
353
352
  }) => {
354
- const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = fe();
353
+ const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = ge();
355
354
  return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
356
355
  t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
357
356
  /* @__PURE__ */ e(
358
- Ne,
357
+ ke,
359
358
  {
360
359
  ariaLabel: s.select_transaction_search_aria,
361
360
  cancelAriaLabel: s.select_transaction_search_cancel_aria,
@@ -378,7 +377,7 @@ const ee = ({
378
377
  )
379
378
  ] });
380
379
  }
381
- ), Ye = A(
380
+ ), Ue = A(
382
381
  ({
383
382
  bgcolor: n = "background.default",
384
383
  firstDay: t,
@@ -392,8 +391,8 @@ const ee = ({
392
391
  const { recurring: m } = w();
393
392
  return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
394
393
  /* @__PURE__ */ c(h, { children: [
395
- /* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
396
- /* @__PURE__ */ e(be, { transaction: a })
394
+ /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
+ /* @__PURE__ */ e(Ce, { transaction: a })
397
396
  ] }),
398
397
  /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
399
398
  /* @__PURE__ */ e(
@@ -409,13 +408,13 @@ const ee = ({
409
408
  )
410
409
  ] });
411
410
  }
412
- ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
411
+ ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, ze = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
413
412
  ({
414
413
  isIncome: n = !1,
415
414
  label: t,
416
415
  onAddRecurringTransaction: r = () => null
417
416
  }) => {
418
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, I] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
417
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
419
418
  () => o.find((x) => x.guid === v),
420
419
  [v, o]
421
420
  ), ne = () => {
@@ -426,14 +425,14 @@ const ee = ({
426
425
  return;
427
426
  }
428
427
  r();
429
- const x = de(g, ke(_.date)), D = {
428
+ const x = de(g, Oe(_.date)), I = {
430
429
  account_guid: _.account_guid,
431
430
  amount: _.amount,
432
431
  created_by: 0,
433
432
  // User
434
433
  merchant_guid: _.merchant_guid,
435
434
  description: _.payee || _.description || _.feed_description,
436
- predicted_occurs_on: Oe(x, { representation: "date" }),
435
+ predicted_occurs_on: Le(x, { representation: "date" }),
437
436
  recurrence_day: f,
438
437
  recurrence_type: g,
439
438
  repeating_transaction_type: n ? E.Income : E.Bill,
@@ -441,12 +440,12 @@ const ee = ({
441
440
  transaction_type: _.transaction_type,
442
441
  user_guid: m.guid
443
442
  };
444
- await a(D, _), j();
443
+ await a(I, _), j();
445
444
  }, j = () => {
446
445
  b(""), C(!1);
447
446
  };
448
447
  return /* @__PURE__ */ c(L, { children: [
449
- /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
448
+ /* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(pe, { size: 24 }), variant: "contained", children: t }),
450
449
  /* @__PURE__ */ e(
451
450
  O,
452
451
  {
@@ -455,13 +454,13 @@ const ee = ({
455
454
  onClose: () => C(!1),
456
455
  title: t,
457
456
  children: /* @__PURE__ */ e(
458
- Ue,
457
+ Pe,
459
458
  {
460
459
  description: n ? i.add_income_description : i.add_expense_description,
461
460
  onSearch: (x) => {
462
461
  l({
463
462
  ...s,
464
- custom: (D) => n ? x ? Be(D, x) : W(D) : x ? ze(D, x) : q(D)
463
+ custom: (I) => n ? x ? ze(I, x) : W(I) : x ? Ye(I, x) : q(I)
465
464
  });
466
465
  },
467
466
  onSelected: (x) => b(x)
@@ -478,12 +477,12 @@ const ee = ({
478
477
  onPrimaryAction: oe,
479
478
  title: n ? i.income_details : i.expense_details,
480
479
  children: _ && /* @__PURE__ */ e(
481
- Ye,
480
+ Ue,
482
481
  {
483
482
  firstDay: f,
484
483
  frequency: g,
485
484
  onFirstDayChange: p,
486
- onFrequencyChange: I,
485
+ onFrequencyChange: D,
487
486
  onSecondDayChange: G,
488
487
  secondDay: k,
489
488
  transaction: _
@@ -493,11 +492,11 @@ const ee = ({
493
492
  )
494
493
  ] });
495
494
  }
496
- ), qe = A(
495
+ ), Be = A(
497
496
  ({ zeroStateFor: n }) => {
498
497
  const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
499
498
  return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
500
- /* @__PURE__ */ e(ye, { size: 48 }),
499
+ /* @__PURE__ */ e(he, { size: 48 }),
501
500
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
502
501
  /* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
503
502
  /* @__PURE__ */ e(
@@ -514,7 +513,7 @@ const ee = ({
514
513
  )
515
514
  ] });
516
515
  }
517
- ), It = A(({ forOverview: n = !1 }) => {
516
+ ), wt = A(({ forOverview: n = !1 }) => {
518
517
  const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
519
518
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
520
519
  repeating_transaction_guid: a.guid
@@ -534,7 +533,7 @@ const ee = ({
534
533
  children: [
535
534
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
536
535
  /* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
537
- /* @__PURE__ */ e(Pe, { onClick: s, repeatingTransaction: a }),
536
+ /* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
538
537
  /* @__PURE__ */ e(
539
538
  T,
540
539
  {
@@ -568,16 +567,16 @@ const ee = ({
568
567
  ] })
569
568
  ]
570
569
  }
571
- ) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
570
+ ) : /* @__PURE__ */ e(Be, { zeroStateFor: "income" }) });
572
571
  });
573
572
  export {
574
573
  te as A,
575
- It as M,
576
- Pe as R,
577
- Ue as S,
578
- qe as a,
579
- Ge as b,
580
- Ye as c,
574
+ wt as M,
575
+ Ge as R,
576
+ Pe as S,
577
+ Be as a,
578
+ Fe as b,
579
+ Ue as c,
581
580
  W as d,
582
- Be as i
581
+ ze as i
583
582
  };
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-IeEtQjzA.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-DaFRU5st.mjs";
6
+ import { a as b } from "./Accounts-C1QxUB-e.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer-Bw5s6Dw1.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));