@mx-cartographer/experiences 7.0.43 → 7.0.44-alpha.mega1
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 +4 -0
- package/dist/{Account-9Tt9DsMn.mjs → Account-CYkoSG86.mjs} +1 -1
- package/dist/{AccountDetailsContent-BkxDh8cY.mjs → AccountDetailsContent-BuXTLptM.mjs} +6 -6
- package/dist/{AccountDetailsHeader-B3DiwvB7.mjs → AccountDetailsHeader-BWl2e21n.mjs} +3 -3
- package/dist/{AccountFields-DvACKQho.mjs → AccountFields-x4A7Loe5.mjs} +2 -2
- package/dist/{AccountListItem-FmvNfEP8.mjs → AccountListItem-D9mpJkCP.mjs} +2 -2
- package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-WQAkYgx1.mjs} +2 -2
- package/dist/{Accounts-DR3xTyAx.mjs → Accounts-CeeJag5-.mjs} +1 -1
- package/dist/ConnectDrawer-CNdzwKdX.mjs +528 -0
- package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-CcBzf4l5.mjs} +1 -1
- package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-EZh5aBxe.mjs} +1 -1
- package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-BKxnEFRu.mjs} +2 -2
- package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-B9lVADw5.mjs} +2 -2
- package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-D1XoZlqY.mjs} +4 -4
- package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-N5esR-KJ.mjs} +2 -2
- package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-CWZR6ki-.mjs} +1 -1
- package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-DA6qT8ai.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-DeLXfuC4.mjs → RecurringTransactionsStore-Djo9IeDd.mjs} +1 -1
- package/dist/{SettingsStore-Dc34Tzx8.mjs → SettingsStore-BcgS_Ohv.mjs} +1 -1
- package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-DO_YihKP.mjs} +2 -2
- package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-B2Vq95Fg.mjs} +2 -2
- package/dist/{User-BwjK6Fwz.mjs → User-Bfnq7dd4.mjs} +20 -21
- package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-DfyV39Ru.mjs} +1 -1
- package/dist/accounts/index.es.js +128 -123
- package/dist/budgets/index.es.js +5 -5
- package/dist/cashflow/index.es.js +6 -6
- package/dist/common/index.es.js +43 -43
- package/dist/common/utils/AccountFilter.d.ts +5 -0
- package/dist/dashboard/index.es.js +1 -1
- package/dist/debts/index.es.js +5 -5
- package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-BgWQsGWy.mjs} +1 -1
- package/dist/finstrong/index.es.js +4 -4
- package/dist/goals/index.es.js +6 -6
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/networth/index.es.js +4 -4
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +4 -4
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/index.es.js +10 -10
- package/dist/trends/index.es.js +4 -4
- package/package.json +1 -1
- package/dist/ConnectDrawer-L1_xPNYt.mjs +0 -507
- package/dist/{RepeatingTransaction-BW4J-jeJ.mjs → RecurringTransactions-DTUx9VN1.mjs} +1 -1
- package/dist/{Notification-aGCHxikw.mjs → ToggleListItem-r0Kx56wF.mjs} +1 -1
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { jsxs as n, jsx as e, Fragment as
|
|
1
|
+
import { jsxs as n, jsx as e, Fragment as G } from "react/jsx-runtime";
|
|
2
2
|
import d from "react";
|
|
3
|
-
import { observer as
|
|
3
|
+
import { observer as g } from "mobx-react-lite";
|
|
4
4
|
import B from "@mui/material/Box";
|
|
5
|
-
import
|
|
5
|
+
import A from "@mui/material/Divider";
|
|
6
6
|
import E from "@mui/material/List";
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
|
-
import
|
|
8
|
+
import _ from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as
|
|
11
|
-
import { u as
|
|
12
|
-
import { u as
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as
|
|
15
|
-
import { g as
|
|
16
|
-
import { u as
|
|
10
|
+
import { A as K } from "../AccountDetailsContent-BuXTLptM.mjs";
|
|
11
|
+
import { u as D1 } from "../AccountDetailsContent-BuXTLptM.mjs";
|
|
12
|
+
import { u as z, A as P } from "../AccountDetailsHeader-BWl2e21n.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-D9mpJkCP.mjs";
|
|
14
|
+
import { a as Y } from "../AccountFields-x4A7Loe5.mjs";
|
|
15
|
+
import { g as U1, b as j1 } from "../AccountFields-x4A7Loe5.mjs";
|
|
16
|
+
import { u as w, a as S, c as T, f as D, l as q } from "../hooks-BAAimqdq.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
18
|
-
import { D as
|
|
19
|
-
import { A, W as
|
|
20
|
-
import { C as
|
|
21
|
-
import { u as
|
|
18
|
+
import { D as J } from "../Drawer-kEE73B87.mjs";
|
|
19
|
+
import { A as y, W as Q } from "../WidgetContainer-DfyV39Ru.mjs";
|
|
20
|
+
import { C as X } from "../ConnectionsDrawer-CcBzf4l5.mjs";
|
|
21
|
+
import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { j as
|
|
24
|
-
import { F as
|
|
25
|
-
import
|
|
26
|
-
import { M as
|
|
27
|
-
import
|
|
28
|
-
import { A as
|
|
29
|
-
const
|
|
30
|
-
const [c,
|
|
23
|
+
import { j as U, k as e1 } from "../ConnectDrawer-CNdzwKdX.mjs";
|
|
24
|
+
import { F as G1, M as K1 } from "../ConnectDrawer-CNdzwKdX.mjs";
|
|
25
|
+
import t1 from "@mui/material/ListItem";
|
|
26
|
+
import { M as j } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
27
|
+
import l1 from "@mui/material/Stack";
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-WQAkYgx1.mjs";
|
|
29
|
+
const i1 = () => {
|
|
30
|
+
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
32
32
|
[l]
|
|
33
|
-
),
|
|
33
|
+
), p = d.useMemo(
|
|
34
34
|
() => l.filter((t) => t.is_closed),
|
|
35
35
|
[l]
|
|
36
|
-
),
|
|
36
|
+
), M = u.reduce(
|
|
37
37
|
(t, i) => (i.available_balance || i.balance || 0) + t,
|
|
38
38
|
0
|
|
39
|
-
), b =
|
|
39
|
+
), b = Y(p, C);
|
|
40
40
|
d.useEffect(() => {
|
|
41
|
-
if (
|
|
42
|
-
|
|
43
|
-
const t =
|
|
41
|
+
if (a) {
|
|
42
|
+
h(a);
|
|
43
|
+
const t = L.find((i) => i.guid === a?.member_guid) || {};
|
|
44
44
|
t && r(t);
|
|
45
45
|
}
|
|
46
|
-
}, [
|
|
47
|
-
const
|
|
48
|
-
|
|
46
|
+
}, [a, c]);
|
|
47
|
+
const Z = (t) => {
|
|
48
|
+
H(t.guid), f(y.ACCOUNTS_CLICK_ACCOUNT, {
|
|
49
49
|
account_guid: t.guid,
|
|
50
50
|
account_type: t.account_type
|
|
51
51
|
});
|
|
52
52
|
}, m = (t) => {
|
|
53
|
-
const i = t === "hidden" ?
|
|
53
|
+
const i = t === "hidden" ? u : p, k = t === "hidden" ? M : b, o = t === "hidden" ? C.account_hidden : C.account_closed;
|
|
54
54
|
return /* @__PURE__ */ e(B, { children: /* @__PURE__ */ e(
|
|
55
55
|
E,
|
|
56
56
|
{
|
|
57
57
|
"aria-label": o,
|
|
58
58
|
subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ n(
|
|
59
|
-
|
|
59
|
+
_,
|
|
60
60
|
{
|
|
61
61
|
component: "span",
|
|
62
62
|
direction: "row",
|
|
@@ -67,19 +67,19 @@ const l1 = () => {
|
|
|
67
67
|
]
|
|
68
68
|
}
|
|
69
69
|
) }),
|
|
70
|
-
children: /* @__PURE__ */ e(
|
|
71
|
-
const F =
|
|
70
|
+
children: /* @__PURE__ */ e(_, { children: i.map((V, x, $) => {
|
|
71
|
+
const F = x === $.length - 1;
|
|
72
72
|
return /* @__PURE__ */ n(d.Fragment, { children: [
|
|
73
73
|
/* @__PURE__ */ e(
|
|
74
74
|
W,
|
|
75
75
|
{
|
|
76
|
-
account:
|
|
77
|
-
onRowClick: () =>
|
|
76
|
+
account: V,
|
|
77
|
+
onRowClick: () => Z(V),
|
|
78
78
|
shouldShowConnectionStatus: !0
|
|
79
79
|
}
|
|
80
80
|
),
|
|
81
81
|
t === "hidden" ? /* @__PURE__ */ e(
|
|
82
|
-
|
|
82
|
+
A,
|
|
83
83
|
{
|
|
84
84
|
sx: {
|
|
85
85
|
mb: F ? 24 : 4,
|
|
@@ -87,7 +87,7 @@ const l1 = () => {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
) : !F && /* @__PURE__ */ e(
|
|
90
|
-
|
|
90
|
+
A,
|
|
91
91
|
{
|
|
92
92
|
sx: {
|
|
93
93
|
mb: 4,
|
|
@@ -95,17 +95,17 @@ const l1 = () => {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
)
|
|
98
|
-
] },
|
|
98
|
+
] }, V.guid);
|
|
99
99
|
}) })
|
|
100
100
|
}
|
|
101
101
|
) });
|
|
102
102
|
};
|
|
103
103
|
return /* @__PURE__ */ n(B, { sx: { pt: 24 }, children: [
|
|
104
|
-
|
|
104
|
+
s.map((t) => {
|
|
105
105
|
const i = l.filter(
|
|
106
106
|
(o) => o.account_type === t && !o.is_closed && !o.is_hidden
|
|
107
107
|
), k = i.reduce(
|
|
108
|
-
(o,
|
|
108
|
+
(o, V) => (V.balance || 0) + o,
|
|
109
109
|
0
|
|
110
110
|
);
|
|
111
111
|
return i.length === 0 ? null : /* @__PURE__ */ e(
|
|
@@ -113,7 +113,7 @@ const l1 = () => {
|
|
|
113
113
|
{
|
|
114
114
|
"aria-label": C.account_type_accounts[i[0]?.account_type],
|
|
115
115
|
subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ n(
|
|
116
|
-
|
|
116
|
+
_,
|
|
117
117
|
{
|
|
118
118
|
component: "span",
|
|
119
119
|
direction: "row",
|
|
@@ -124,23 +124,23 @@ const l1 = () => {
|
|
|
124
124
|
]
|
|
125
125
|
}
|
|
126
126
|
) }),
|
|
127
|
-
children: /* @__PURE__ */ e(
|
|
128
|
-
const
|
|
127
|
+
children: /* @__PURE__ */ e(_, { children: i.map((o) => {
|
|
128
|
+
const V = l.indexOf(o) === l.length - 1, x = i.indexOf(o) === i.length - 1;
|
|
129
129
|
return /* @__PURE__ */ n(d.Fragment, { children: [
|
|
130
130
|
/* @__PURE__ */ e(
|
|
131
131
|
W,
|
|
132
132
|
{
|
|
133
133
|
account: o,
|
|
134
|
-
onRowClick: () =>
|
|
134
|
+
onRowClick: () => Z(o),
|
|
135
135
|
shouldShowConnectionStatus: !0
|
|
136
136
|
}
|
|
137
137
|
),
|
|
138
|
-
(!
|
|
139
|
-
|
|
138
|
+
(!V || p.length > 0 || u.length > 0) && /* @__PURE__ */ e(
|
|
139
|
+
A,
|
|
140
140
|
{
|
|
141
141
|
sx: {
|
|
142
|
-
mb:
|
|
143
|
-
ml:
|
|
142
|
+
mb: x ? 24 : 4,
|
|
143
|
+
ml: x ? 24 : 68
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
146
|
)
|
|
@@ -150,104 +150,109 @@ const l1 = () => {
|
|
|
150
150
|
t
|
|
151
151
|
);
|
|
152
152
|
}),
|
|
153
|
-
|
|
154
|
-
|
|
153
|
+
u.length > 0 && m("hidden"),
|
|
154
|
+
p.length > 0 && m("closed"),
|
|
155
155
|
/* @__PURE__ */ n(
|
|
156
|
-
|
|
156
|
+
J,
|
|
157
157
|
{
|
|
158
158
|
ariaLabelClose: C.close_account_details_aria,
|
|
159
159
|
isOpen: !!c,
|
|
160
|
-
onClose: () =>
|
|
160
|
+
onClose: () => H(""),
|
|
161
161
|
title: C.account_details,
|
|
162
162
|
children: [
|
|
163
|
-
/* @__PURE__ */ e(
|
|
164
|
-
/* @__PURE__ */ e(
|
|
163
|
+
/* @__PURE__ */ e(P, {}),
|
|
164
|
+
/* @__PURE__ */ e(K, {})
|
|
165
165
|
]
|
|
166
166
|
}
|
|
167
167
|
)
|
|
168
168
|
] });
|
|
169
|
-
},
|
|
170
|
-
const [C, l] = d.useState(!1), [
|
|
169
|
+
}, n1 = g(i1), C1 = ({ onBackClick: c, sx: H = {} }) => {
|
|
170
|
+
const [C, l] = d.useState(!1), [h, r] = d.useState(!1), { config: L } = q(), { accounts: f } = T(), { accounts: s, connect: a } = w(), { isCopyLoaded: u, isInitialized: p, setSelectedAccounts: M, selectedAccountGuids: b } = S(), { isDesktop: Z } = N(), { onEvent: m } = D();
|
|
171
171
|
d.useEffect(() => {
|
|
172
|
-
|
|
173
|
-
}, [
|
|
172
|
+
M(f);
|
|
173
|
+
}, [f]);
|
|
174
174
|
const t = () => {
|
|
175
|
-
l(!0), m(
|
|
175
|
+
l(!0), m(y.ACCOUNTS_CLICK_CONNECT);
|
|
176
176
|
}, i = () => {
|
|
177
|
-
r(!0), m(
|
|
177
|
+
r(!0), m(y.ACCOUNTS_CLICK_CONNECT);
|
|
178
178
|
};
|
|
179
|
-
return
|
|
180
|
-
|
|
179
|
+
return u ? /* @__PURE__ */ e(
|
|
180
|
+
Q,
|
|
181
181
|
{
|
|
182
|
-
accountOptions:
|
|
183
|
-
actions:
|
|
184
|
-
{ iconName: "add", label:
|
|
182
|
+
accountOptions: f,
|
|
183
|
+
actions: L.show_connections_widget_in_master ? [
|
|
184
|
+
{ iconName: "add", label: s.add, onClick: t },
|
|
185
185
|
{
|
|
186
186
|
iconName: "credit_card_gear",
|
|
187
|
-
label:
|
|
187
|
+
label: s.manage,
|
|
188
188
|
onClick: i
|
|
189
189
|
}
|
|
190
190
|
] : [],
|
|
191
|
-
onAccountsFilterClick: () => m(
|
|
191
|
+
onAccountsFilterClick: () => m(y.ACCOUNTS_CLICK_FILTER),
|
|
192
192
|
onBackClick: c,
|
|
193
|
-
sx:
|
|
194
|
-
title:
|
|
195
|
-
children:
|
|
196
|
-
/* @__PURE__ */ n(B, { sx: { px:
|
|
197
|
-
b.length < 1 && /* @__PURE__ */ e(v, { display: "flex", justifyContent: "center", my: 24, children:
|
|
198
|
-
/* @__PURE__ */ e(
|
|
193
|
+
sx: H,
|
|
194
|
+
title: s.title,
|
|
195
|
+
children: p ? /* @__PURE__ */ n(G, { children: [
|
|
196
|
+
/* @__PURE__ */ n(B, { sx: { px: Z ? 24 : 12 }, children: [
|
|
197
|
+
b.length < 1 && /* @__PURE__ */ e(v, { display: "flex", justifyContent: "center", my: 24, children: s.no_accounts }),
|
|
198
|
+
/* @__PURE__ */ e(n1, {})
|
|
199
199
|
] }),
|
|
200
200
|
/* @__PURE__ */ e(
|
|
201
|
-
|
|
201
|
+
U,
|
|
202
202
|
{
|
|
203
203
|
onClose: () => l(!1),
|
|
204
204
|
showConnectWidget: C,
|
|
205
|
-
title:
|
|
205
|
+
title: a.mini_title
|
|
206
206
|
}
|
|
207
207
|
),
|
|
208
208
|
/* @__PURE__ */ e(
|
|
209
|
-
|
|
209
|
+
X,
|
|
210
210
|
{
|
|
211
211
|
onClose: () => r(!1),
|
|
212
|
-
showConnectionsWidget:
|
|
213
|
-
title:
|
|
212
|
+
showConnectionsWidget: h,
|
|
213
|
+
title: s.manage_connections
|
|
214
214
|
}
|
|
215
215
|
)
|
|
216
216
|
] }) : /* @__PURE__ */ e(R, {})
|
|
217
217
|
}
|
|
218
218
|
) : /* @__PURE__ */ e(R, {});
|
|
219
|
-
},
|
|
220
|
-
const { visibleAccounts: C } = T(), { accounts: l } =
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}, [C])
|
|
224
|
-
|
|
219
|
+
}, E1 = g(C1), o1 = ({ onPrimaryCtaClick: c, sx: H }) => {
|
|
220
|
+
const { visibleAccounts: C } = T(), { accounts: l } = w(), { isCopyLoaded: h, isInitialized: r, selectedAccounts: L, setSelectedAccounts: f } = S(), { isDesktop: s } = N();
|
|
221
|
+
d.useEffect(() => {
|
|
222
|
+
f(C);
|
|
223
|
+
}, [C]);
|
|
224
|
+
const a = d.useMemo(
|
|
225
|
+
() => e1(L, s ? 5 : 3),
|
|
226
|
+
[L, s]
|
|
227
|
+
);
|
|
228
|
+
return h ? /* @__PURE__ */ e(
|
|
229
|
+
j,
|
|
225
230
|
{
|
|
226
231
|
className: "mx-exp-accounts-miniwidget",
|
|
227
232
|
onPrimaryCtaClick: c,
|
|
228
233
|
primaryCtaLabel: l.primary_cta,
|
|
229
|
-
sx:
|
|
234
|
+
sx: H,
|
|
230
235
|
title: l.mini_title,
|
|
231
236
|
children: r ? /* @__PURE__ */ n(E, { children: [
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
const
|
|
237
|
+
L.length === 0 && /* @__PURE__ */ e(t1, { sx: { justifyContent: "center" }, children: l.no_accounts }),
|
|
238
|
+
a.map((u, p) => {
|
|
239
|
+
const M = a.indexOf(u) === a.length - 1;
|
|
235
240
|
return /* @__PURE__ */ n(d.Fragment, { children: [
|
|
236
241
|
/* @__PURE__ */ e(
|
|
237
242
|
W,
|
|
238
243
|
{
|
|
239
|
-
account:
|
|
244
|
+
account: u,
|
|
240
245
|
listItemProps: { sx: { px: 24 } },
|
|
241
246
|
shouldShowConnectionStatus: !0
|
|
242
247
|
}
|
|
243
248
|
),
|
|
244
|
-
!
|
|
245
|
-
] }, `account-item${
|
|
249
|
+
!M && /* @__PURE__ */ e(A, { "aria-hidden": "true", variant: "inset" })
|
|
250
|
+
] }, `account-item${p}`);
|
|
246
251
|
})
|
|
247
252
|
] }) : /* @__PURE__ */ e(R, {})
|
|
248
253
|
}
|
|
249
254
|
) : /* @__PURE__ */ e(R, {});
|
|
250
|
-
},
|
|
255
|
+
}, W1 = g(o1), d1 = () => /* @__PURE__ */ n(
|
|
251
256
|
"svg",
|
|
252
257
|
{
|
|
253
258
|
fill: "none",
|
|
@@ -686,10 +691,10 @@ const l1 = () => {
|
|
|
686
691
|
)
|
|
687
692
|
]
|
|
688
693
|
}
|
|
689
|
-
),
|
|
690
|
-
const { connect: c } =
|
|
691
|
-
return /* @__PURE__ */ n(
|
|
692
|
-
/* @__PURE__ */ e(
|
|
694
|
+
), c1 = () => {
|
|
695
|
+
const { connect: c } = w();
|
|
696
|
+
return /* @__PURE__ */ n(l1, { alignItems: "center", direction: "column", m: 24, children: [
|
|
697
|
+
/* @__PURE__ */ e(d1, {}),
|
|
693
698
|
/* @__PURE__ */ e(
|
|
694
699
|
v,
|
|
695
700
|
{
|
|
@@ -703,48 +708,48 @@ const l1 = () => {
|
|
|
703
708
|
}
|
|
704
709
|
)
|
|
705
710
|
] });
|
|
706
|
-
},
|
|
711
|
+
}, s1 = g(c1), a1 = ({
|
|
707
712
|
onPrimaryCtaClick: c = () => {
|
|
708
713
|
},
|
|
709
|
-
sx:
|
|
714
|
+
sx: H
|
|
710
715
|
}) => {
|
|
711
|
-
const { isCopyLoaded: C } =
|
|
716
|
+
const { isCopyLoaded: C } = S(), { connect: l } = w(), [h, r] = d.useState(!1), L = () => {
|
|
712
717
|
r(!0), c();
|
|
713
718
|
};
|
|
714
719
|
return C ? /* @__PURE__ */ n(
|
|
715
|
-
|
|
720
|
+
j,
|
|
716
721
|
{
|
|
717
722
|
className: "mx-exp-connect-miniwidget",
|
|
718
|
-
onPrimaryCtaClick:
|
|
723
|
+
onPrimaryCtaClick: L,
|
|
719
724
|
primaryCtaLabel: l.primary_cta,
|
|
720
|
-
sx:
|
|
725
|
+
sx: H,
|
|
721
726
|
title: l.mini_title,
|
|
722
727
|
children: [
|
|
723
|
-
/* @__PURE__ */ e(
|
|
724
|
-
|
|
725
|
-
|
|
728
|
+
/* @__PURE__ */ e(s1, {}),
|
|
729
|
+
h && /* @__PURE__ */ e(
|
|
730
|
+
U,
|
|
726
731
|
{
|
|
727
732
|
onClose: () => r(!1),
|
|
728
|
-
showConnectWidget:
|
|
733
|
+
showConnectWidget: h,
|
|
729
734
|
title: l.mini_title
|
|
730
735
|
}
|
|
731
736
|
)
|
|
732
737
|
]
|
|
733
738
|
}
|
|
734
739
|
) : /* @__PURE__ */ e(R, {});
|
|
735
|
-
},
|
|
740
|
+
}, T1 = g(a1);
|
|
736
741
|
export {
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
742
|
+
P1 as AccountApi,
|
|
743
|
+
K as AccountDetailsContent,
|
|
744
|
+
P as AccountDetailsHeader,
|
|
745
|
+
Y1 as AccountStore,
|
|
746
|
+
W1 as AccountsMiniWidget,
|
|
747
|
+
E1 as AccountsWidget,
|
|
748
|
+
T1 as ConnectMiniWidget,
|
|
749
|
+
G1 as FieldType,
|
|
750
|
+
K1 as MemberConnectionStatus,
|
|
751
|
+
U1 as getAccountBalanceDetails,
|
|
752
|
+
j1 as getAccountDetailFields,
|
|
753
|
+
z as useAccountUiStore,
|
|
754
|
+
D1 as useGetMergeableAccounts
|
|
750
755
|
};
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -8,14 +8,14 @@ import b from "@mui/material/Stack";
|
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Icon as $, Text as p, CategoryIcon as H, H1 as Ge, H3 as Be } from "@mxenabled/mxui";
|
|
10
10
|
import { u as Pe } from "../BudgetUtil-n3gEKIub.mjs";
|
|
11
|
-
import { C as Ne } from "../ConnectionsDrawer-
|
|
11
|
+
import { C as Ne } from "../ConnectionsDrawer-CcBzf4l5.mjs";
|
|
12
12
|
import * as E from "d3";
|
|
13
13
|
import je from "@mui/material/Tooltip";
|
|
14
14
|
import { h as w, m as j, u as D, f as X, a as ee, p as ze, i as te, g as ne, l as Ue, c as Se } from "../hooks-BAAimqdq.mjs";
|
|
15
15
|
import { L as P } from "../Loader-DUaFpDGv.mjs";
|
|
16
16
|
import { E as ce } from "../EmptyState-C0lr9E5T.mjs";
|
|
17
17
|
import { u as me } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
18
|
-
import { A as k, W as Fe } from "../WidgetContainer-
|
|
18
|
+
import { A as k, W as Fe } from "../WidgetContainer-DfyV39Ru.mjs";
|
|
19
19
|
import K from "@mui/material/List";
|
|
20
20
|
import { f as T } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
21
21
|
import Ae from "@mui/material/Button";
|
|
@@ -36,8 +36,8 @@ import Ve from "@mui/material/Alert";
|
|
|
36
36
|
import Ye from "@mui/material/Snackbar";
|
|
37
37
|
import be from "@mui/material/Tab";
|
|
38
38
|
import Ze from "@mui/material/Tabs";
|
|
39
|
-
import { e as qe } from "../exportTransactionsToCSV
|
|
40
|
-
import { T as xe, a as Je } from "../TransactionDetails-
|
|
39
|
+
import { e as qe } from "../exportTransactionsToCSV-BgWQsGWy.mjs";
|
|
40
|
+
import { T as xe, a as Je } from "../TransactionDetails-DO_YihKP.mjs";
|
|
41
41
|
import ge from "@mui/material/Card";
|
|
42
42
|
import pe from "@mui/material/CardContent";
|
|
43
43
|
import { S as ue } from "../StatusBar-BK_uYHAB.mjs";
|
|
@@ -46,7 +46,7 @@ import { u as Qe, b as et } from "../CategorySelectorDrawer-993LpETZ.mjs";
|
|
|
46
46
|
import Te from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as tt } from "date-fns/subDays";
|
|
48
48
|
import nt from "@mui/material/IconButton";
|
|
49
|
-
import { M as ot } from "../ManageIncome-
|
|
49
|
+
import { M as ot } from "../ManageIncome-D1XoZlqY.mjs";
|
|
50
50
|
const ye = 5, at = 100, rt = 25, st = (t) => {
|
|
51
51
|
const o = (a) => {
|
|
52
52
|
a.active || t.alphaTarget(0.3).restart(), a.subject.fx = a.subject.x, a.subject.fy = a.subject.y;
|
|
@@ -17,13 +17,13 @@ import { I as he } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
|
17
17
|
import { C as Wn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
18
18
|
import { b as X } from "../Localization-2MODESHW.mjs";
|
|
19
19
|
import { M as Qe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
|
|
20
|
-
import { R as Ve } from "../RecurringSettings-
|
|
20
|
+
import { R as Ve } from "../RecurringSettings-DA6qT8ai.mjs";
|
|
21
21
|
import Ke from "@mui/material/Tabs";
|
|
22
22
|
import ye from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
24
24
|
import ee from "@mui/material/List";
|
|
25
25
|
import te from "@mui/material/ListItem";
|
|
26
|
-
import { A as Je } from "../AccountListItem-
|
|
26
|
+
import { A as Je } from "../AccountListItem-D9mpJkCP.mjs";
|
|
27
27
|
import { f as Q, D as V } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import Ze from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as Z } from "../NumberFormatting-CtWHhyBX.mjs";
|
|
@@ -34,17 +34,17 @@ import { addDays as Ce } from "date-fns/addDays";
|
|
|
34
34
|
import { alpha as et, keyframes as tt } from "@mui/material/styles";
|
|
35
35
|
import { DataGridPro as nt } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as Se } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
|
-
import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-
|
|
37
|
+
import { M as ot, S as at, i as it, d as _e, c as rt } from "../ManageIncome-D1XoZlqY.mjs";
|
|
38
38
|
import { D as $e } from "../Drawer-kEE73B87.mjs";
|
|
39
39
|
import { formatISO as st } from "date-fns/formatISO";
|
|
40
40
|
import { fromUnixTime as we } from "date-fns/fromUnixTime";
|
|
41
41
|
import { startOfMonth as ct } from "date-fns/startOfMonth";
|
|
42
42
|
import { subDays as Me } from "date-fns/subDays";
|
|
43
|
-
import { S as lt, b as dt } from "../TransactionDetails-
|
|
44
|
-
import { F as mt, R as Ie, e as De } from "../
|
|
43
|
+
import { S as lt, b as dt } from "../TransactionDetails-DO_YihKP.mjs";
|
|
44
|
+
import { F as mt, R as Ie, e as De } from "../RecurringTransactions-DTUx9VN1.mjs";
|
|
45
45
|
import { h as ut } from "../DateUtil-BcuH7ErC.mjs";
|
|
46
46
|
import { endOfToday as ht } from "date-fns/endOfToday";
|
|
47
|
-
import { W as ve, A as Ae } from "../WidgetContainer-
|
|
47
|
+
import { W as ve, A as Ae } from "../WidgetContainer-DfyV39Ru.mjs";
|
|
48
48
|
import { F as pt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
49
49
|
const K = () => {
|
|
50
50
|
if (!u.useContext(Ye))
|