@mx-cartographer/experiences 8.1.9-alpha.mm1 → 8.1.9

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 (89) hide show
  1. package/CHANGELOG.md +1 -2
  2. package/dist/Account-BIKn4XEZ.mjs +30 -0
  3. package/dist/{Account-1TJ1c7XA.mjs → Account-CMjOp7S2.mjs} +9 -9
  4. package/dist/AccountDetailsHeader-D8NIfmO8.mjs +95 -0
  5. package/dist/AccountDisplayName-CO7z3v99.mjs +11 -0
  6. package/dist/AccountFields-BWmpVsS3.mjs +141 -0
  7. package/dist/AccountListItem-DSuv36PF.mjs +95 -0
  8. package/dist/{AccountStore-D1XZmelx.mjs → AccountStore-B3S_p5Qa.mjs} +3 -3
  9. package/dist/Accounts-CseLC3lL.mjs +5 -0
  10. package/dist/{Accounts-CUmaDIbx.mjs → Accounts-DX3xJE97.mjs} +6 -6
  11. package/dist/{Analytics-CF51mL45.mjs → Analytics-CzGzz_sE.mjs} +0 -1
  12. package/dist/{BudgetUtil-pun2SneO.mjs → BudgetUtil-DalEN9--.mjs} +1 -1
  13. package/dist/{CategorySelectorDrawer-C5YAv5Cz.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +1 -1
  14. package/dist/Connect-BRLh-69J.mjs +39 -0
  15. package/dist/{ConnectDrawer-ogLdPJR5.mjs → ConnectDrawer-5BpU4IQU.mjs} +9 -8
  16. package/dist/{ConnectionsDrawer-CPiyC7_u.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +9 -8
  17. package/dist/{CurrencyInput-DLKghNaY.mjs → CurrencyInput-CSJ3zMgE.mjs} +1 -1
  18. package/dist/{DateUtil-O1RcB5-6.mjs → DateUtil-D0TO0DaZ.mjs} +2 -2
  19. package/dist/{DebtsStore-BlPGksR8.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
  20. package/dist/{Donut-D7ekbgf5.mjs → Donut-SzzfZDHF.mjs} +11 -11
  21. package/dist/{EmbeddedCard-BJt_sgPb.mjs → EmbeddedCard-BqVpA1Jn.mjs} +4 -4
  22. package/dist/{ExportCsvAction-DDiOL6Nl.mjs → ExportCsvAction-BPjdEUXx.mjs} +2 -2
  23. package/dist/{GlobalAccountFilter-DuDBm8rG.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
  24. package/dist/{GoalStore-3SyZuHtu.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
  25. package/dist/{Help-dcZ94k2S.mjs → Help-BFlcaOO_.mjs} +2 -2
  26. package/dist/{LineChart-ChYhPaFN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
  27. package/dist/{ListItemAction-BSEEE4-Z.mjs → ListItemAction-Buv7tPLp.mjs} +1 -1
  28. package/dist/ManageIncome-n1ueMTrW.mjs +595 -0
  29. package/dist/{MicroWidgetContainer-C8GzVZhf.mjs → MicroWidgetContainer-CEcwdfti.mjs} +1 -1
  30. package/dist/{MiniWidgetContainer-yEuaUhKs.mjs → MiniWidgetContainer-BS4iG6cw.mjs} +19 -19
  31. package/dist/{NetWorthStore-CQfrrRe3.mjs → NetWorthStore-BY-B_hxy.mjs} +2 -2
  32. package/dist/{NotificationSettings-Ca41KsuN.mjs → NotificationSettings-DOgnTxzv.mjs} +32 -32
  33. package/dist/{OriginalBalanceAction-Br_cS-UH.mjs → OriginalBalanceAction-6XAwp1UT.mjs} +3 -3
  34. package/dist/{RecurringSettings-s-_Gzi2g.mjs → RecurringSettings-DxsDZAp1.mjs} +3 -3
  35. package/dist/RecurringTransactions-DCt94TN4.mjs +297 -0
  36. package/dist/{RecurringTransactionsStore-o5q2yMx-.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +20 -40
  37. package/dist/{SpendingLegend-Bg50ZQKe.mjs → SpendingLegend-x3K9eXrQ.mjs} +7 -7
  38. package/dist/TabContentContainer-CnMXkVqr.mjs +21 -0
  39. package/dist/{TransactionDetails-DiiDqf0T.mjs → TransactionDetails-Bpp1FDUI.mjs} +8 -8
  40. package/dist/{TransactionStore-kDhMRkem.mjs → TransactionStore-DfaO_9m-.mjs} +1 -1
  41. package/dist/{ViewMoreMicroCard-DwmG3R_-.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +249 -228
  42. package/dist/{WidgetContainer-Bvzsv9wZ.mjs → WidgetContainer-_Fzy--dt.mjs} +3 -3
  43. package/dist/accounts/index.d.ts +0 -1
  44. package/dist/accounts/index.es.js +1031 -222
  45. package/dist/analytics/index.es.js +8 -8
  46. package/dist/budgets/index.es.js +98 -90
  47. package/dist/cashflow/index.es.js +13 -13
  48. package/dist/categories/index.es.js +1 -1
  49. package/dist/common/components/DataRow.d.ts +0 -1
  50. package/dist/common/constants/Analytics.d.ts +0 -1
  51. package/dist/common/index.es.js +112 -111
  52. package/dist/core/index.es.js +10 -10
  53. package/dist/core/types/localization/RecurringCopy.d.ts +1 -7
  54. package/dist/dashboard/index.es.js +11 -11
  55. package/dist/debts/index.es.js +13 -13
  56. package/dist/{exportTransactionsToCSV-GjxdjVwJ.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +1 -1
  57. package/dist/finstrong/index.es.js +16 -16
  58. package/dist/goals/index.es.js +25 -24
  59. package/dist/help/index.es.js +4 -4
  60. package/dist/{hooks-ZEzF84jv.mjs → hooks-HwStH7q_.mjs} +13 -13
  61. package/dist/insights/index.es.js +3 -3
  62. package/dist/investments/index.es.js +7 -7
  63. package/dist/merchants/index.es.js +1 -1
  64. package/dist/microinsights/index.es.js +11 -12
  65. package/dist/networth/index.es.js +15 -15
  66. package/dist/notifications/index.es.js +3 -3
  67. package/dist/recurringtransactions/index.es.js +356 -368
  68. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -19
  69. package/dist/settings/index.es.js +26 -26
  70. package/dist/spending/index.es.js +10 -9
  71. package/dist/transactions/index.es.js +38 -38
  72. package/dist/trends/index.es.js +13 -13
  73. package/dist/useAccountDisplayName-SrQA7K_6.mjs +15 -0
  74. package/dist/{useInsightsEnabled-DRAQrdhf.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
  75. package/dist/{useWidgetLoadTimer-DitICDaN.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
  76. package/package.json +1 -1
  77. package/dist/AccountDetailsDrawer-D1_8oLoI.mjs +0 -916
  78. package/dist/AccountDetailsHeader-BO61p8Ev.mjs +0 -228
  79. package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -26
  80. package/dist/Connect-2Z7_c7lx.mjs +0 -42
  81. package/dist/ManageIncome-6Icl4TZy.mjs +0 -826
  82. package/dist/RecurringTransactions-ByuN5eS9.mjs +0 -309
  83. package/dist/TabContentContainer-DHGJ9afW.mjs +0 -48
  84. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.d.ts +0 -6
  85. package/dist/recurringtransactions/components/RecurringTransactionList.d.ts +0 -10
  86. package/dist/recurringtransactions/components/UpcomingRecurrenceCard.d.ts +0 -6
  87. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.d.ts +0 -10
  88. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.d.ts +0 -7
  89. package/dist/useAccountDisplayName-DUD3939Y.mjs +0 -23
package/CHANGELOG.md CHANGED
@@ -1,7 +1,6 @@
1
1
  ## [8.1.9] - 04-29-2026
2
2
 
3
- - **ADDED** - Recurring Transactions manual transaction linking
4
- - **UPDATED** - Recurring Transactions layout, styling, and test coverage
3
+ - **FIXED** - Issue causing webviews to treat swipes on miniwidget as taps
5
4
 
6
5
  ## [8.1.8] - 04-28-2026
7
6
 
@@ -0,0 +1,30 @@
1
+ import { A as C } from "./Account-CMjOp7S2.mjs";
2
+ const I = [
3
+ C.ANY,
4
+ C.CASH,
5
+ C.CHECKING,
6
+ C.DIGITAL_WALLET,
7
+ C.PREPAID,
8
+ C.SAVINGS
9
+ ], A = [
10
+ C.CHECKING_LINE_OF_CREDIT,
11
+ C.CREDIT_CARD,
12
+ C.LINE_OF_CREDIT,
13
+ C.LOAN,
14
+ C.MORTGAGE
15
+ ], N = [
16
+ C.ANY,
17
+ C.CASH,
18
+ C.CHECKING,
19
+ C.CHECKING_LINE_OF_CREDIT,
20
+ C.CREDIT_CARD,
21
+ C.DIGITAL_WALLET,
22
+ C.LINE_OF_CREDIT,
23
+ C.PREPAID,
24
+ C.SAVINGS
25
+ ];
26
+ export {
27
+ I,
28
+ A as P,
29
+ N as S
30
+ };
@@ -105,14 +105,14 @@ export {
105
105
  L as E,
106
106
  O as M,
107
107
  P as N,
108
- C as P,
108
+ _ as P,
109
109
  U as S,
110
- N as a,
111
- A as b,
112
- H as c,
113
- M as d,
114
- R as e,
115
- _ as f,
116
- T as g,
117
- G as h
110
+ M as a,
111
+ G as b,
112
+ C as c,
113
+ N as d,
114
+ A as e,
115
+ H as f,
116
+ R as g,
117
+ T as h
118
118
  };
@@ -0,0 +1,95 @@
1
+ import { jsx as t, jsxs as r } from "react/jsx-runtime";
2
+ import { observer as _ } from "mobx-react-lite";
3
+ import s from "@mui/material/Stack";
4
+ import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mxui";
5
+ import p from "react";
6
+ import { G as P, d as f, l as G, f as O, a as R, u as v } from "./hooks-HwStH7q_.mjs";
7
+ import { g as w } from "./AccountFields-BWmpVsS3.mjs";
8
+ import { A as i } from "./Account-CMjOp7S2.mjs";
9
+ import L from "@mui/material/Card";
10
+ import H from "@mui/material/CardContent";
11
+ import M from "@mui/material/CardHeader";
12
+ import { L as U } from "./Loader-CxeBwuPG.mjs";
13
+ import { I as Y, P as j, S as z } from "./Account-BIKn4XEZ.mjs";
14
+ import { u as k } from "./useAccountDisplayName-SrQA7K_6.mjs";
15
+ import { f as B } from "./NumberFormatting-CyrvFgfd.mjs";
16
+ const C = () => {
17
+ if (!p.useContext(P))
18
+ throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
19
+ return f().uiStore;
20
+ }, F = (o, e) => {
21
+ const c = [i.LOAN, i.MORTGAGE, i.PROPERTY].includes(
22
+ o
23
+ ), n = [
24
+ i.CREDIT_CARD,
25
+ i.LINE_OF_CREDIT,
26
+ i.PREPAID,
27
+ i.CHECKING_LINE_OF_CREDIT
28
+ ].includes(o);
29
+ return c ? { title: e.label_payments, description: e.chart_title_payments } : n ? { title: e.label_payments_spend, description: e.chart_title_payments_spend } : { title: e.label_income_spend, description: e.chart_title_income_spend };
30
+ }, V = ({
31
+ sx: o,
32
+ ChartComponent: e,
33
+ header: c
34
+ }) => {
35
+ const { loadMonthlyCategoryTotals: n } = G(), { isInitialized: l } = O(), { selectedAccount: a } = C(), [u, m] = p.useState(!1);
36
+ return p.useEffect(() => {
37
+ l && n([a]).finally(() => {
38
+ m(!0);
39
+ });
40
+ }, [l, a]), !l || !u ? /* @__PURE__ */ t(U, {}) : /* @__PURE__ */ r(
41
+ L,
42
+ {
43
+ sx: {
44
+ "& .MuiCardContent-root:last-child": {
45
+ pb: 0
46
+ },
47
+ ...o
48
+ },
49
+ children: [
50
+ /* @__PURE__ */ t(M, { sx: { pb: 0 }, title: /* @__PURE__ */ t(x, { sx: { pb: 4 }, children: c }) }),
51
+ /* @__PURE__ */ t(H, { sx: { p: 0 }, children: e ? /* @__PURE__ */ t(e, {}) : null })
52
+ ]
53
+ }
54
+ );
55
+ }, W = _(V), $ = ({
56
+ customDetailsChart: o,
57
+ ChartComponent: e
58
+ }) => {
59
+ const { institutions: c } = f(), { selectedAccount: n } = C(), { config: l } = R(), { accounts: a } = v(), { firstSubtitle: u, firstValue: m, hasAvailableBalance: b, secondSubtitle: h, secondValue: A } = w(n, a, l.display_available_balance_in_accounts), y = c.find(
60
+ (T) => T.guid === n?.institution_guid
61
+ ), g = [
62
+ ...Y,
63
+ ...j,
64
+ ...z
65
+ ].includes(n.account_type), E = k(n), { title: S, description: I } = F(n.account_type, a);
66
+ return /* @__PURE__ */ r(s, { bgcolor: "background.default", p: 24, children: [
67
+ /* @__PURE__ */ r(s, { gap: 12, children: [
68
+ /* @__PURE__ */ t(
69
+ D,
70
+ {
71
+ alt: a.institution_logo_alt,
72
+ institutionGuid: n.institution_guid || "",
73
+ size: 64
74
+ }
75
+ ),
76
+ /* @__PURE__ */ t(d, { variant: "body2", children: y?.name })
77
+ ] }),
78
+ /* @__PURE__ */ r(s, { gap: 8, mb: 24, mt: 4, children: [
79
+ /* @__PURE__ */ t(N, { children: E }),
80
+ /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
81
+ /* @__PURE__ */ t(d, { bold: b, variant: "body1", children: u }),
82
+ /* @__PURE__ */ t(d, { bold: !0, variant: "body1", children: B(m, "0,0.00") })
83
+ ] }),
84
+ /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
85
+ /* @__PURE__ */ t(d, { variant: "body2", children: h }),
86
+ /* @__PURE__ */ t(d, { variant: "body2", children: A })
87
+ ] })
88
+ ] }),
89
+ g && /* @__PURE__ */ t(s, { "aria-label": I, role: "img", children: o || /* @__PURE__ */ t(W, { ChartComponent: e, header: S }) })
90
+ ] });
91
+ }, lt = _($);
92
+ export {
93
+ lt as A,
94
+ C as u
95
+ };
@@ -0,0 +1,11 @@
1
+ function r(e, t) {
2
+ if (t?.allowNickname === !0) {
3
+ const m = e.nickname?.trim();
4
+ if (m) return m;
5
+ }
6
+ const n = e.name?.trim();
7
+ return n || e.feed_name?.trim() || "";
8
+ }
9
+ export {
10
+ r as g
11
+ };
@@ -0,0 +1,141 @@
1
+ import { jsx as p } from "react/jsx-runtime";
2
+ import { Text as v, Icon as b } from "@mxenabled/mxui";
3
+ import { A as d, a as h, P as F, b as T } from "./Account-CMjOp7S2.mjs";
4
+ import { i as A, u as D, a as g, b as O, c as C } from "./Accounts-DX3xJE97.mjs";
5
+ import { F as m } from "./Accounts-CseLC3lL.mjs";
6
+ import { f as N } from "./DateUtil-D0TO0DaZ.mjs";
7
+ import { b as i } from "./Localization-CkQ49EKr.mjs";
8
+ import { f, D as c } from "./DateFormats-CaOj_4eI.mjs";
9
+ import { f as s, i as o, a as S, b as I } from "./NumberFormatting-CyrvFgfd.mjs";
10
+ const Y = (l, e) => {
11
+ const n = [
12
+ {
13
+ event: "account_details_click_account_name",
14
+ label: e.account_name,
15
+ name: "user_name",
16
+ placeholder: i(e.enter_value, e.account_name),
17
+ type: m.Input,
18
+ validation: (a) => a ? "" : i(e.field_is_required, e.account_name),
19
+ valueFormatter: (a) => a
20
+ }
21
+ ];
22
+ if (A(l)) {
23
+ n.unshift({
24
+ label: e.account_balance,
25
+ name: "balance",
26
+ placeholder: i(e.enter_value, e.account_balance),
27
+ type: m.Currency,
28
+ valueFormatter: (t) => s(t, "0,0.00")
29
+ });
30
+ const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
31
+ label: e.account_types[t],
32
+ value: Number(t),
33
+ icon: /* @__PURE__ */ p(b, { name: h[t] })
34
+ }));
35
+ n.push({
36
+ label: e.account_type,
37
+ name: "account_type",
38
+ options: a,
39
+ placeholder: i(e.select_value, e.account_type),
40
+ type: m.Select,
41
+ valueFormatter: (t) => a.find((r) => r.value === t)?.label
42
+ });
43
+ }
44
+ if (l.account_type === d.PROPERTY) {
45
+ const a = Object.keys(F).filter((t) => Number(t)).map((t) => ({
46
+ label: e.property_types[t],
47
+ value: Number(t),
48
+ icon: /* @__PURE__ */ p(b, { name: T[t] })
49
+ }));
50
+ n.push({
51
+ label: e.property_type,
52
+ name: "property_type",
53
+ options: a,
54
+ placeholder: i(e.select_value, e.property_type),
55
+ type: m.Select,
56
+ valueFormatter: (t) => a.find((r) => r.value === t)?.label
57
+ });
58
+ }
59
+ if (D(l)) {
60
+ let a = e.interest_rate, t = "interest_rate";
61
+ l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), n.push({
62
+ event: "account_details_click_interest_rate",
63
+ label: a,
64
+ name: t,
65
+ placeholder: i(e.enter_value, a),
66
+ type: m.Input,
67
+ validation: (r) => o(r) ? "" : e.error_amount_is_invalid,
68
+ valueFormatter: (r) => o(r) ? S(r / 100) : r
69
+ });
70
+ }
71
+ return g(l) && (n.push({
72
+ label: e.minimum_payment,
73
+ name: "minimum_payment",
74
+ placeholder: i(e.enter_value, e.minimum_payment),
75
+ type: m.Currency,
76
+ valueFormatter: (a) => s(a, "0,0.00")
77
+ }), l.payment_due_at ? n.push({
78
+ label: e.next_payment,
79
+ name: "payment_due_at",
80
+ type: m.Date,
81
+ valueFormatter: (a) => {
82
+ const t = typeof a == "number" ? new Date(a * 1e3) : a;
83
+ return f(t, c.MED_MONTH_SHORT_DAY_FULL_YEAR);
84
+ }
85
+ }) : n.push({
86
+ label: e.day_payment_due,
87
+ name: "day_payment_is_due",
88
+ placeholder: i(e.enter_value, e.day_payment_due),
89
+ type: m.Date,
90
+ valueFormatter: (a) => i(
91
+ e.day_of_every_month,
92
+ I(a <= 31 ? a : new Date(a).getDate())
93
+ )
94
+ })), O(l) && n.push({
95
+ label: e.credit_limit,
96
+ name: "credit_limit",
97
+ placeholder: i(e.enter_value, e.credit_limit),
98
+ type: m.Currency,
99
+ valueFormatter: (a) => s(a, "0,0.00")
100
+ }), C(l) && n.push({
101
+ label: e.original_balance,
102
+ minAmount: 1,
103
+ name: "original_balance",
104
+ placeholder: i(e.enter_value, e.original_balance),
105
+ type: m.Currency,
106
+ valueFormatter: (a) => s(a, "0,0.00")
107
+ }), n;
108
+ }, L = (l, e, n) => {
109
+ let a = "", t = null, r = null, _ = null, u = !1;
110
+ switch (l.account_type) {
111
+ case 1:
112
+ case 2: {
113
+ l.available_balance && n ? (a = e.available_balance, t = l.available_balance, r = l.available_balance ? e.current_balance : null, _ = s(l.balance, "0,0.00"), u = !0) : (a = e.current_balance, t = l.balance);
114
+ break;
115
+ }
116
+ default:
117
+ if (a = e.current_balance, t = l.balance, l.minimum_payment && l.payment_due_at) {
118
+ const y = N(l.payment_due_at);
119
+ r = /* @__PURE__ */ p(v, { component: "strong", variant: "caption", children: i(
120
+ e.payment_due_on,
121
+ s(l.minimum_payment, "0,0.00"),
122
+ f(y, c.FULL_MONTH_DAY)
123
+ ) });
124
+ } else l.credit_limit && (r = e.available_credit, _ = s(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
125
+ }
126
+ return {
127
+ firstSubtitle: a,
128
+ firstValue: t,
129
+ secondSubtitle: r,
130
+ secondValue: _,
131
+ hasAvailableBalance: u
132
+ };
133
+ }, j = (l, e, n) => l.reduce((t, r) => {
134
+ const u = L(r, e, n).firstValue || 0;
135
+ return t + u;
136
+ }, 0);
137
+ export {
138
+ Y as a,
139
+ j as b,
140
+ L as g
141
+ };
@@ -0,0 +1,95 @@
1
+ import { jsx as e, jsxs as o, Fragment as c } from "react/jsx-runtime";
2
+ import { observer as _ } from "mobx-react-lite";
3
+ import I from "@mui/material/Badge";
4
+ import m from "@mui/material/Box";
5
+ import v from "@mui/material/ListItem";
6
+ import C from "@mui/material/ListItemAvatar";
7
+ import S from "@mui/material/ListItemButton";
8
+ import A from "@mui/material/ListItemText";
9
+ import L from "@mui/material/styles/useTheme";
10
+ import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
11
+ import { Error as j } from "@mxenabled/mx-icons";
12
+ import { I as T } from "./IconBacking-DgT8DCeh.mjs";
13
+ import { g as $ } from "./AccountFields-BWmpVsS3.mjs";
14
+ import { u as k } from "./useAccountDisplayName-SrQA7K_6.mjs";
15
+ import { a as w, u as E } from "./hooks-HwStH7q_.mjs";
16
+ import { C as d } from "./Account-CMjOp7S2.mjs";
17
+ import { f as M } from "./NumberFormatting-CyrvFgfd.mjs";
18
+ const z = {
19
+ gridRow: 1,
20
+ gridColumn: 1,
21
+ zIndex: 2
22
+ }, D = ({ size: t = 20 }) => /* @__PURE__ */ e(T, { size: t, children: /* @__PURE__ */ e(j, { color: "error", filled: !0, sx: { fontSize: t, ...z } }) }), G = ({
23
+ account: t,
24
+ onRowClick: n,
25
+ listItemProps: s,
26
+ shouldShowConnectionStatus: p = !1
27
+ }) => {
28
+ const u = L(), f = k(t), { config: g } = w(), { accounts: i } = E(), { firstSubtitle: h, firstValue: x, secondSubtitle: b, secondValue: y } = $(
29
+ t,
30
+ i,
31
+ g.display_available_balance_in_accounts
32
+ );
33
+ let a;
34
+ (t.connectionStatus === d.Error || t.connectionStatus === d.RequiresMfa) && (a = /* @__PURE__ */ e(D, { size: 16 }));
35
+ const l = /* @__PURE__ */ o(c, { children: [
36
+ /* @__PURE__ */ e(C, { children: /* @__PURE__ */ e(
37
+ I,
38
+ {
39
+ badgeContent: p ? a : void 0,
40
+ sx: {
41
+ "& .MuiBadge-badge": {
42
+ right: -1
43
+ }
44
+ },
45
+ children: /* @__PURE__ */ e(B, { alt: "MX", institutionGuid: t.institution_guid || "" })
46
+ }
47
+ ) }),
48
+ /* @__PURE__ */ e(
49
+ A,
50
+ {
51
+ disableTypography: !0,
52
+ primary: /* @__PURE__ */ o(
53
+ r,
54
+ {
55
+ bold: !0,
56
+ color: t.is_hidden ? u.palette.text.secondary : void 0,
57
+ sx: { whiteSpace: "normal" },
58
+ variant: "body1",
59
+ children: [
60
+ `${f} ${t.account_number ? `*${t.account_number}` : ""}`,
61
+ " ",
62
+ t.is_hidden && !t.is_closed && i.is_hidden,
63
+ t.is_closed && i.is_closed
64
+ ]
65
+ }
66
+ ),
67
+ secondary: /* @__PURE__ */ o(c, { children: [
68
+ /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
69
+ /* @__PURE__ */ e(r, { variant: "caption", children: h }),
70
+ /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: M(x, "0,0.00") })
71
+ ] }),
72
+ /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
73
+ /* @__PURE__ */ e(r, { variant: "caption", children: b }),
74
+ /* @__PURE__ */ e(r, { ml: "auto", variant: "caption", children: y })
75
+ ] })
76
+ ] })
77
+ }
78
+ )
79
+ ] });
80
+ return /* @__PURE__ */ e(
81
+ v,
82
+ {
83
+ ...s,
84
+ sx: {
85
+ backgroundColor: "background.paper",
86
+ color: t.is_closed ? "grey.700" : "",
87
+ ...s?.sx
88
+ },
89
+ children: n ? /* @__PURE__ */ e(S, { alignItems: "flex-start", onClick: n, sx: { px: 24 }, children: l }) : l
90
+ }
91
+ );
92
+ }, et = _(G);
93
+ export {
94
+ et as A
95
+ };
@@ -1,8 +1,8 @@
1
1
  import { makeAutoObservable as h, runInAction as a } from "mobx";
2
- import { i as g } from "./BudgetUtil-pun2SneO.mjs";
2
+ import { i as g } from "./BudgetUtil-DalEN9--.mjs";
3
3
  import { A as d } from "./AccountApi-WEM2M9tg.mjs";
4
- import { a as p } from "./Accounts-CUmaDIbx.mjs";
5
- import { A as s, a as u } from "./Account-1TJ1c7XA.mjs";
4
+ import { d as p } from "./Accounts-DX3xJE97.mjs";
5
+ import { A as s, d as u } from "./Account-CMjOp7S2.mjs";
6
6
  class m {
7
7
  isLoading = !1;
8
8
  selectedAccount = {};
@@ -0,0 +1,5 @@
1
+ var a = /* @__PURE__ */ ((r) => (r.Loading = "loading", r.Error = "error", r))(a || {}), t = /* @__PURE__ */ ((r) => (r.Currency = "currency", r.Date = "date", r.Input = "input", r.Select = "select", r))(t || {});
2
+ export {
3
+ t as F,
4
+ a as M
5
+ };
@@ -1,4 +1,4 @@
1
- import { A as e, C as u, E as p, P as y, M as d } from "./Account-1TJ1c7XA.mjs";
1
+ import { A as e, C as u, E as p, c as y, M as d } from "./Account-CMjOp7S2.mjs";
2
2
  const m = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, f = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, R = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, N = (t, n, s, _, a) => t.filter((i) => !(i.member_is_managed_by_user && _)).filter((i) => !(!i.member_is_managed_by_user && a)).sort(C).map((i) => {
3
3
  const r = n.find((c) => c.guid === i.institution_guid), o = s.find((c) => c.guid === i.member_guid);
4
4
  return E(i, r, o);
@@ -18,10 +18,10 @@ const m = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.
18
18
  };
19
19
  }, C = (t, n) => t.account_type > n.account_type ? 1 : t.account_type < n.account_type ? -1 : (t.name || "") > (n.name || "") ? 1 : (t.name || "") < (n.name || "") ? -1 : 0;
20
20
  export {
21
- N as a,
22
- I as b,
23
- f as c,
24
- A as d,
25
- m as i,
21
+ m as a,
22
+ f as b,
23
+ A as c,
24
+ N as d,
25
+ I as i,
26
26
  R as u
27
27
  };
@@ -74,7 +74,6 @@ const _ = {
74
74
  RECURRING_TRANSACTIONS_CLICK_SETTINGS: "recurring_transactions_widget_click_settings",
75
75
  RECURRING_TRANSACTIONS_CLICK_UPCOMING: "recurring_transactions_widget_click_upcoming_transaction",
76
76
  RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE: "recurring_transactions_widget_details_click_delete",
77
- RECURRING_TRANSACTIONS_DETAILS_CLICK_MARK_AS_PAID: "recurring_transactions_widget_details_click_mark_as_paid",
78
77
  RECURRING_TRANSACTIONS_DETAILS_CLICK_PAYMENT_SCHEDULE: "recurring_transactions_widget_details_click_payment_schedule",
79
78
  RECURRING_TRANSACTIONS_MICRO_WIDGET_CTA: "recurring_transactions_micro_widget_click_view_all_cta",
80
79
  SPENDING_CLICK_FILTER: "spending_widget_click_filter_accounts",
@@ -28,7 +28,7 @@ import gt from "@mui/material/InputAdornment";
28
28
  import T from "@mui/material/Stack";
29
29
  import ft from "@mui/material/TextField";
30
30
  import { u as pt } from "./useScreenSize-CeFhWTt_.mjs";
31
- import { m as ht } from "./hooks-ZEzF84jv.mjs";
31
+ import { m as ht } from "./hooks-HwStH7q_.mjs";
32
32
  import { b as $ } from "./Category-Ccoew_sA.mjs";
33
33
  import { b as j } from "./Localization-CkQ49EKr.mjs";
34
34
  import { f as O } from "./NumberFormatting-CyrvFgfd.mjs";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
2
  import { observer as E } from "mobx-react-lite";
3
3
  import p from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, l as f, u as S, f as A, a as B } from "./hooks-ZEzF84jv.mjs";
5
+ import { G as K, l as f, u as S, g as A, b as B } from "./hooks-HwStH7q_.mjs";
6
6
  import U from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import Y from "@mui/material/Divider";
@@ -0,0 +1,39 @@
1
+ import { jsx as o, jsxs as e } from "react/jsx-runtime";
2
+ import { observer as i } from "mobx-react-lite";
3
+ import c from "@mui/material/Box";
4
+ import s from "@mui/material/CircularProgress";
5
+ import m from "@mui/material/Stack";
6
+ import { Text as a } from "@mxenabled/mxui";
7
+ import { M as t } from "./Accounts-CseLC3lL.mjs";
8
+ import { u as p } from "./hooks-HwStH7q_.mjs";
9
+ const l = ({ status: r = t.Loading }) => {
10
+ const { connect: n } = p();
11
+ return /* @__PURE__ */ o(
12
+ c,
13
+ {
14
+ sx: {
15
+ height: "calc(100% - 62px)",
16
+ position: "absolute",
17
+ width: "100%"
18
+ },
19
+ children: /* @__PURE__ */ e(m, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
20
+ r === t.Loading && /* @__PURE__ */ o(s, { color: "primary", size: 48 }),
21
+ /* @__PURE__ */ o(
22
+ a,
23
+ {
24
+ sx: {
25
+ color: "grey.600",
26
+ marginTop: "16px"
27
+ },
28
+ children: r === t.Error ? n.oops : n.loading
29
+ }
30
+ )
31
+ ] })
32
+ }
33
+ );
34
+ }, S = i(l), T = "connect_widget", _ = "connections_widget";
35
+ export {
36
+ _ as C,
37
+ S as a,
38
+ T as b
39
+ };
@@ -3,14 +3,15 @@ import s from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import g from "@mui/material/styles/useTheme";
5
5
  import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
- import { b as a, a as c, M as i } from "./Connect-2Z7_c7lx.mjs";
7
- import { c as D, d as L, u as w } from "./hooks-ZEzF84jv.mjs";
6
+ import { b as a, a as c } from "./Connect-BRLh-69J.mjs";
7
+ import { M as i } from "./Accounts-CseLC3lL.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-HwStH7q_.mjs";
8
9
  import { D as y } from "./Drawer-XPaLYjiO.mjs";
9
10
  const I = ({
10
11
  loadWidgetProps: l,
11
- onClose: u,
12
+ onClose: m,
12
13
  showConnectWidget: o,
13
- title: m
14
+ title: u
14
15
  }) => {
15
16
  let n;
16
17
  const { refreshAccounts: f } = D(), { loadWidget: d } = L(), { connect: p } = w(), [C, e] = s.useState(!1), [h, t] = s.useState(!1), {
@@ -42,16 +43,16 @@ const I = ({
42
43
  ariaLabelClose: p.close_manage_connection_aria,
43
44
  isOpen: o,
44
45
  onClose: () => {
45
- u(), f();
46
+ m(), f();
46
47
  },
47
- title: m,
48
+ title: u,
48
49
  children: /* @__PURE__ */ E("div", { id: a, children: [
49
50
  h && /* @__PURE__ */ r(c, { status: i.Error }),
50
51
  C && /* @__PURE__ */ r(c, { status: i.Loading })
51
52
  ] })
52
53
  }
53
54
  );
54
- }, O = _(I);
55
+ }, $ = _(I);
55
56
  export {
56
- O as C
57
+ $ as C
57
58
  };
@@ -3,16 +3,17 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as _ } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
- import { C as a, a as c, M as i } from "./Connect-2Z7_c7lx.mjs";
7
- import { c as D, d as L, u as w } from "./hooks-ZEzF84jv.mjs";
6
+ import { C as a, a as c } from "./Connect-BRLh-69J.mjs";
7
+ import { M as i } from "./Accounts-CseLC3lL.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-HwStH7q_.mjs";
8
9
  import { D as x } from "./Drawer-XPaLYjiO.mjs";
9
10
  const I = ({
10
11
  onClose: l,
11
12
  showConnectionsWidget: o,
12
- title: u
13
+ title: m
13
14
  }) => {
14
15
  let n;
15
- const { refreshAccounts: m } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
+ const { refreshAccounts: u } = D(), { loadWidget: f } = L(), { connect: d } = w(), p = _(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
17
  return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
18
  n = new b({
18
19
  container: `#${a}`,
@@ -38,16 +39,16 @@ const I = ({
38
39
  ariaLabelClose: d.close_connections_aria,
39
40
  isOpen: o,
40
41
  onClose: () => {
41
- l(), m();
42
+ l(), u();
42
43
  },
43
- title: u,
44
+ title: m,
44
45
  children: /* @__PURE__ */ g("div", { id: a, children: [
45
46
  S && /* @__PURE__ */ r(c, { status: i.Error }),
46
47
  C && /* @__PURE__ */ r(c, { status: i.Loading })
47
48
  ] })
48
49
  }
49
50
  );
50
- }, M = E(I);
51
+ }, W = E(I);
51
52
  export {
52
- M as C
53
+ W as C
53
54
  };
@@ -4,7 +4,7 @@ import { css as k } from "@mxenabled/cssinjs";
4
4
  import { v4 as q } from "uuid";
5
5
  import { TextField as B, P as _ } from "@mxenabled/mxui";
6
6
  import { g as L, C as O, f as y, M as C } from "./NumberFormatting-CyrvFgfd.mjs";
7
- import { u as W } from "./hooks-ZEzF84jv.mjs";
7
+ import { u as W } from "./hooks-HwStH7q_.mjs";
8
8
  import { b } from "./Localization-CkQ49EKr.mjs";
9
9
  import { g } from "./Localization-C_HZg9tJ.mjs";
10
10
  const K = ({
@@ -50,9 +50,9 @@ export {
50
50
  W as c,
51
51
  A as d,
52
52
  _ as e,
53
- Y as f,
53
+ E as f,
54
54
  C as g,
55
- E as h,
55
+ Y as h,
56
56
  F as i,
57
57
  Q as j
58
58
  };
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as d } from "mobx";
2
2
  import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
3
- import { A as b } from "./Account-1TJ1c7XA.mjs";
3
+ import { A as b } from "./Account-CMjOp7S2.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 p = {