@mx-cartographer/experiences 8.0.0-alpha.sms1 → 8.0.0-alpha.sms2
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/dist/{Account-BDXA6PWh.mjs → Account-Cp30A3ad.mjs} +1 -1
- package/dist/{AccountDetailsContent-CUztd3-b.mjs → AccountDetailsContent-C1HumFnW.mjs} +16 -16
- package/dist/{AccountDetailsHeader-i3KFhNuo.mjs → AccountDetailsHeader-NMx79DGs.mjs} +5 -5
- package/dist/{AccountFields-QZspYAji.mjs → AccountFields-CW6cIthP.mjs} +7 -5
- package/dist/{AccountListItem-DX5upmCS.mjs → AccountListItem-DxmAs98Z.mjs} +4 -4
- package/dist/{AccountStore-BcnDpyLL.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
- package/dist/{Accounts-DXfZotRC.mjs → Accounts-DUHkUyK4.mjs} +1 -1
- package/dist/{BudgetUtil-Df2nII9u.mjs → BudgetUtil-CIDAPPPT.mjs} +1 -1
- package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-naOtJcwo.mjs} +12 -12
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DqJK_rrL.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +3 -3
- package/dist/{CategoryStore-DTgyAMM7.mjs → CategoryStore-MUwRWH9e.mjs} +2 -2
- package/dist/{CategoryUtil-C5cR-nfQ.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
- package/dist/{ConnectDrawer-BIbTqYOH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +28 -28
- package/dist/{ConnectionsDrawer-BFfY3_zB.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
- package/dist/{CurrencyInput-BFKcs-_K.mjs → CurrencyInput-BrGvhgVK.mjs} +8 -8
- package/dist/{DateUtil-CBdcsyuk.mjs → DateUtil-CDPZw_-m.mjs} +1 -1
- package/dist/{DebtsStore-BbJB0nmu.mjs → DebtsStore-hi1cqrRk.mjs} +1 -1
- package/dist/{Dialog-BPTr3qHE.mjs → Dialog-CDV0kKxj.mjs} +24 -24
- package/dist/{Drawer-BEtCk82g.mjs → Drawer-Dqe5EqvA.mjs} +14 -14
- package/dist/{ExportCsvAction-DzTrtPzk.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
- package/dist/{FinstrongStore-BIrX0Xg2.mjs → FinstrongStore-dKZOZ2hM.mjs} +53 -53
- package/dist/{GoalStore-DpWY3gVb.mjs → GoalStore-CFeAJloA.mjs} +2 -2
- package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
- package/dist/{Help-BnPXM_N2.mjs → Help-i4OasOO-.mjs} +177 -180
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/{ListItemAction-uobBrm_a.mjs → ListItemAction-BNCWQAN_.mjs} +1 -1
- package/dist/{Loader-DUaFpDGv.mjs → Loader-BSWSYqvn.mjs} +3 -3
- package/dist/{ManageIncome-NpXHhO1n.mjs → ManageIncome-D_qVX5dN.mjs} +8 -8
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
- package/dist/MiniWidgetContainer-D7MkHG15.mjs +56 -0
- package/dist/{NetWorthStore-lsuhEpn6.mjs → NetWorthStore-8FFC1Bs0.mjs} +4 -4
- package/dist/{NotificationSettings-CNmJWVeI.mjs → NotificationSettings-BsWiYD94.mjs} +14 -14
- package/dist/{OriginalBalanceAction-DK8_LkPz.mjs → OriginalBalanceAction-62e0mU_3.mjs} +2 -2
- package/dist/{RecurringSettings-CqZh1SQa.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
- package/dist/{RecurringTransactions-BKcYmpv3.mjs → RecurringTransactions-Bhx56aA3.mjs} +36 -36
- package/dist/{RecurringTransactionsStore-Ni5tSQIO.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-C6KH8JH4.mjs} +9 -9
- package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BASMQSIp.mjs} +1 -1
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
- package/dist/{SpendingData-BuJ03S9d.mjs → SpendingData-DPQ96k3x.mjs} +4 -4
- package/dist/{SpendingLegend-CjX-hX2O.mjs → SpendingLegend-CZzDb-7d.mjs} +3 -3
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{TransactionDetails-5M2vfr59.mjs → TransactionDetails-Duv1X9ec.mjs} +9 -9
- package/dist/{TransactionStore-D-Q3BU9Z.mjs → TransactionStore-DgLrYW4C.mjs} +41 -58
- package/dist/{TrendsStore-BW9FGQeE.mjs → TrendsStore-_mRaFUdf.mjs} +37 -37
- package/dist/{User-wXzDI4M8.mjs → User-DqNX2GAK.mjs} +19 -19
- package/dist/{ViewMoreMicroCard-C0832BMe.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +68 -69
- package/dist/{WidgetContainer-BhQ1Kx2z.mjs → WidgetContainer-B1Jzb4XA.mjs} +33 -33
- package/dist/accounts/index.es.js +71 -71
- package/dist/analytics/index.es.js +7 -7
- package/dist/budgets/index.es.js +110 -110
- package/dist/cashflow/index.es.js +68 -68
- package/dist/categories/index.es.js +2 -2
- package/dist/common/index.es.js +248 -248
- package/dist/dashboard/index.es.js +7 -7
- package/dist/debts/index.es.js +12 -12
- package/dist/{exportTransactionsToCSV-Cz2t0lmA.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +3 -3
- package/dist/finstrong/index.es.js +18 -18
- package/dist/goals/index.es.js +19 -19
- package/dist/help/index.es.js +6 -6
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +12 -12
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +11 -11
- package/dist/notifications/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +16 -16
- package/dist/settings/index.es.js +62 -62
- package/dist/spending/index.es.js +26 -26
- package/dist/transactions/index.es.js +58 -58
- package/dist/trends/index.es.js +59 -59
- package/dist/{useAccountDisplayName-CFNF8766.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
- package/package.json +16 -21
- package/dist/MicroWidgetContainer-DEiRnYVa.mjs +0 -45
- package/dist/MiniWidgetContainer-CmXpTylX.mjs +0 -56
|
@@ -10,61 +10,61 @@ import E from "@mui/material/List";
|
|
|
10
10
|
import N from "@mui/material/ListSubheader";
|
|
11
11
|
import x from "@mui/system/Stack";
|
|
12
12
|
import { useTheme as Q } from "@mui/material/styles";
|
|
13
|
-
import { u as P, A as X } from "../AccountDetailsHeader-
|
|
13
|
+
import { u as P, A as X } from "../AccountDetailsHeader-NMx79DGs.mjs";
|
|
14
14
|
import { L as e1 } from "../LineChart-bc1D9xBE.mjs";
|
|
15
|
-
import { g as t1, a as l1, b as n1 } from "../SpendingData-
|
|
15
|
+
import { g as t1, a as l1, b as n1 } from "../SpendingData-DPQ96k3x.mjs";
|
|
16
16
|
import { m as i1, u as v, b, d as F, g as G, a as o1, n as C1 } from "../hooks-C41HAxM5.mjs";
|
|
17
|
-
import { A as O, l as
|
|
18
|
-
import { F as C3, f as
|
|
19
|
-
import { I as
|
|
20
|
-
import { a as
|
|
21
|
-
import { g as s3, b as a3 } from "../AccountFields-
|
|
22
|
-
import { A as T } from "../AccountListItem-
|
|
23
|
-
import { A as s1 } from "../AccountDetailsContent-
|
|
24
|
-
import { u as
|
|
17
|
+
import { A as O, l as j, m as d1 } from "../ConnectDrawer-Dn1MlqLz.mjs";
|
|
18
|
+
import { F as C3, f as d3 } from "../ConnectDrawer-Dn1MlqLz.mjs";
|
|
19
|
+
import { I as Y, P as $, S as K } from "../Account-Cp30A3ad.mjs";
|
|
20
|
+
import { a as c1 } from "../AccountFields-CW6cIthP.mjs";
|
|
21
|
+
import { g as s3, b as a3 } from "../AccountFields-CW6cIthP.mjs";
|
|
22
|
+
import { A as T } from "../AccountListItem-DxmAs98Z.mjs";
|
|
23
|
+
import { A as s1 } from "../AccountDetailsContent-C1HumFnW.mjs";
|
|
24
|
+
import { u as u3 } from "../AccountDetailsContent-C1HumFnW.mjs";
|
|
25
|
+
import { D as a1 } from "../Drawer-Dqe5EqvA.mjs";
|
|
25
26
|
import { f as W } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
27
|
+
import { A as S, W as r1 } from "../WidgetContainer-B1Jzb4XA.mjs";
|
|
28
|
+
import { C as u1 } from "../ConnectionsDrawer-CSo6AFkG.mjs";
|
|
29
|
+
import { L as B } from "../Loader-BSWSYqvn.mjs";
|
|
29
30
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import { A as h3, a as H3 } from "../AccountStore-BcnDpyLL.mjs";
|
|
31
|
+
import L1 from "@mui/material/ListItem";
|
|
32
|
+
import { M as q } from "../MiniWidgetContainer-D7MkHG15.mjs";
|
|
33
|
+
import { A as h3, a as H3 } from "../AccountStore-hIs-yA6W.mjs";
|
|
34
34
|
const h1 = (o, C) => {
|
|
35
|
-
const n =
|
|
36
|
-
return [n, l,
|
|
35
|
+
const n = Y.includes(C) ? t1(o) : [], l = $.includes(C) ? l1(o) : [], u = K.includes(C) ? n1(o) : [];
|
|
36
|
+
return [n, l, u].filter((i) => i.length > 0);
|
|
37
37
|
}, H1 = (o, C, n) => {
|
|
38
|
-
const [l,
|
|
39
|
-
if (i &&
|
|
38
|
+
const [l, u] = o, i = l, L = u ?? l, d = [];
|
|
39
|
+
if (i && L && Y.includes(C)) {
|
|
40
40
|
const h = i[i.length - 1].y;
|
|
41
|
-
|
|
42
|
-
} else if (
|
|
41
|
+
d.push({ label: n.income_label, amount: h });
|
|
42
|
+
} else if ($.includes(C)) {
|
|
43
43
|
const h = i[i.length - 1].y;
|
|
44
|
-
|
|
44
|
+
d.push({ label: n.payments_label, amount: h });
|
|
45
45
|
}
|
|
46
|
-
if (
|
|
47
|
-
const h =
|
|
48
|
-
|
|
46
|
+
if (L && K.includes(C)) {
|
|
47
|
+
const h = L[L.length - 1].y;
|
|
48
|
+
d.push({ label: n.spending_label, amount: h });
|
|
49
49
|
}
|
|
50
|
-
return
|
|
50
|
+
return d;
|
|
51
51
|
}, p1 = () => {
|
|
52
|
-
const o = Q(), { selectedAccount: C } = P(), { monthlyCategoryTotals: n } = i1(), { trends: l } = v(),
|
|
52
|
+
const o = Q(), { selectedAccount: C } = P(), { monthlyCategoryTotals: n } = i1(), { trends: l } = v(), u = [o.palette.chart?.chart1, o.palette.chart?.chart2], i = h1(n, C.account_type), L = H1(i, C.account_type, l), d = [O.LOAN, O.MORTGAGE].includes(C.account_type);
|
|
53
53
|
return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
|
|
54
54
|
e1,
|
|
55
55
|
{
|
|
56
|
-
colors:
|
|
56
|
+
colors: u,
|
|
57
57
|
datasets: i,
|
|
58
58
|
height: 185,
|
|
59
|
-
labels:
|
|
60
|
-
showAverage:
|
|
61
|
-
showBars:
|
|
59
|
+
labels: L,
|
|
60
|
+
showAverage: d,
|
|
61
|
+
showBars: d,
|
|
62
62
|
showLegend: !0,
|
|
63
63
|
valueFormatterString: "0,0"
|
|
64
64
|
}
|
|
65
65
|
) });
|
|
66
66
|
}, f1 = g(p1), m1 = () => {
|
|
67
|
-
const [o, C] = s.useState(""), { accounts: n } = v(), { selectedAccounts: l } = b(), { setSelectedAccount:
|
|
67
|
+
const [o, C] = s.useState(""), { accounts: n } = v(), { selectedAccounts: l } = b(), { setSelectedAccount: u, setSelectedMember: i } = P(), { members: L } = F(), { onEvent: d } = G(), h = [...new Set(l.map((t) => t.account_type))], p = l.find((t) => o === t.guid), H = s.useMemo(
|
|
68
68
|
() => l.filter((t) => t.is_hidden),
|
|
69
69
|
[l]
|
|
70
70
|
), f = s.useMemo(
|
|
@@ -73,25 +73,25 @@ const h1 = (o, C) => {
|
|
|
73
73
|
), M = H.reduce(
|
|
74
74
|
(t, a) => (a.available_balance || a.balance || 0) + t,
|
|
75
75
|
0
|
|
76
|
-
), R =
|
|
76
|
+
), R = c1(f, n);
|
|
77
77
|
s.useEffect(() => {
|
|
78
78
|
if (p) {
|
|
79
|
-
|
|
80
|
-
const t =
|
|
79
|
+
u(p);
|
|
80
|
+
const t = L.find((a) => a.guid === p?.member_guid) || {};
|
|
81
81
|
t && i(t);
|
|
82
82
|
}
|
|
83
83
|
}, [p, o]);
|
|
84
84
|
const _ = (t) => {
|
|
85
|
-
C(t.guid),
|
|
85
|
+
C(t.guid), d(S.ACCOUNTS_CLICK_ACCOUNT, {
|
|
86
86
|
account_guid: t.guid,
|
|
87
87
|
account_type: t.account_type
|
|
88
88
|
});
|
|
89
89
|
}, w = (t) => {
|
|
90
|
-
const a = t === "hidden" ? H : f, A = t === "hidden" ? M : R,
|
|
90
|
+
const a = t === "hidden" ? H : f, A = t === "hidden" ? M : R, c = t === "hidden" ? n.account_hidden : n.account_closed;
|
|
91
91
|
return /* @__PURE__ */ e(D, { children: /* @__PURE__ */ e(
|
|
92
92
|
E,
|
|
93
93
|
{
|
|
94
|
-
"aria-label":
|
|
94
|
+
"aria-label": c,
|
|
95
95
|
subheader: /* @__PURE__ */ e(N, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ r(
|
|
96
96
|
x,
|
|
97
97
|
{
|
|
@@ -99,7 +99,7 @@ const h1 = (o, C) => {
|
|
|
99
99
|
direction: "row",
|
|
100
100
|
sx: { justifyContent: "space-between", color: "grey.700" },
|
|
101
101
|
children: [
|
|
102
|
-
/* @__PURE__ */ e(V, { bold: !0, variant: "Body", children:
|
|
102
|
+
/* @__PURE__ */ e(V, { bold: !0, variant: "Body", children: c }),
|
|
103
103
|
/* @__PURE__ */ e(V, { bold: !0, variant: "Body", children: W(A, "0,0.00") })
|
|
104
104
|
]
|
|
105
105
|
}
|
|
@@ -140,9 +140,9 @@ const h1 = (o, C) => {
|
|
|
140
140
|
return /* @__PURE__ */ r(D, { sx: { pt: 24 }, children: [
|
|
141
141
|
h.map((t) => {
|
|
142
142
|
const a = l.filter(
|
|
143
|
-
(
|
|
143
|
+
(c) => c.account_type === t && !c.is_closed && !c.is_hidden
|
|
144
144
|
), A = a.reduce(
|
|
145
|
-
(
|
|
145
|
+
(c, m) => (m.balance || 0) + c,
|
|
146
146
|
0
|
|
147
147
|
);
|
|
148
148
|
return a.length === 0 ? null : /* @__PURE__ */ e(
|
|
@@ -161,14 +161,14 @@ const h1 = (o, C) => {
|
|
|
161
161
|
]
|
|
162
162
|
}
|
|
163
163
|
) }),
|
|
164
|
-
children: /* @__PURE__ */ e(x, { children: a.map((
|
|
165
|
-
const m = l.indexOf(
|
|
164
|
+
children: /* @__PURE__ */ e(x, { children: a.map((c) => {
|
|
165
|
+
const m = l.indexOf(c) === l.length - 1, Z = a.indexOf(c) === a.length - 1;
|
|
166
166
|
return /* @__PURE__ */ r(s.Fragment, { children: [
|
|
167
167
|
/* @__PURE__ */ e(
|
|
168
168
|
T,
|
|
169
169
|
{
|
|
170
|
-
account:
|
|
171
|
-
onRowClick: () => _(
|
|
170
|
+
account: c,
|
|
171
|
+
onRowClick: () => _(c),
|
|
172
172
|
shouldShowConnectionStatus: !0
|
|
173
173
|
}
|
|
174
174
|
),
|
|
@@ -181,7 +181,7 @@ const h1 = (o, C) => {
|
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
183
|
)
|
|
184
|
-
] },
|
|
184
|
+
] }, c.guid);
|
|
185
185
|
}) })
|
|
186
186
|
},
|
|
187
187
|
t
|
|
@@ -204,29 +204,29 @@ const h1 = (o, C) => {
|
|
|
204
204
|
)
|
|
205
205
|
] });
|
|
206
206
|
}, V1 = g(m1), g1 = ({ onBackClick: o, sx: C = {} }) => {
|
|
207
|
-
const [n, l] = s.useState(!1), [
|
|
207
|
+
const [n, l] = s.useState(!1), [u, i] = s.useState(!1), { config: L } = o1(), { detailedAccounts: d, isAccountDataLoaded: h, loadAccountData: p } = F(), { accounts: H, connect: f } = v(), { isInitialized: M, selectedAccountGuids: R, setSelectedAccounts: _ } = b(), { isDesktop: w } = z(), { onEvent: t } = G(), { onLoad: a } = C1();
|
|
208
208
|
s.useEffect(() => {
|
|
209
209
|
h || p().finally();
|
|
210
210
|
}, []), s.useEffect(() => {
|
|
211
|
-
_(
|
|
212
|
-
}, [
|
|
211
|
+
_(d);
|
|
212
|
+
}, [d]), s.useEffect(() => {
|
|
213
213
|
h && a?.("AccountsWidget");
|
|
214
214
|
}, [h]);
|
|
215
215
|
const A = () => {
|
|
216
216
|
l(!0), t(S.ACCOUNTS_CLICK_CONNECT);
|
|
217
|
-
},
|
|
217
|
+
}, c = () => {
|
|
218
218
|
i(!0), t(S.ACCOUNTS_CLICK_CONNECT);
|
|
219
219
|
};
|
|
220
220
|
return M ? /* @__PURE__ */ r(
|
|
221
221
|
r1,
|
|
222
222
|
{
|
|
223
|
-
accountOptions:
|
|
224
|
-
actions:
|
|
223
|
+
accountOptions: d,
|
|
224
|
+
actions: L.show_connections_widget_in_master ? [
|
|
225
225
|
{ iconName: "add", label: H.add, onClick: A },
|
|
226
226
|
{
|
|
227
227
|
iconName: "credit_card_gear",
|
|
228
228
|
label: H.manage,
|
|
229
|
-
onClick:
|
|
229
|
+
onClick: c
|
|
230
230
|
}
|
|
231
231
|
] : [],
|
|
232
232
|
onAccountsFilterClick: () => t(S.ACCOUNTS_CLICK_FILTER),
|
|
@@ -239,7 +239,7 @@ const h1 = (o, C) => {
|
|
|
239
239
|
/* @__PURE__ */ e(V1, {})
|
|
240
240
|
] }) : /* @__PURE__ */ e(U, { sx: { px: w ? 48 : 24, pt: 24 }, variant: "list" }),
|
|
241
241
|
/* @__PURE__ */ e(
|
|
242
|
-
|
|
242
|
+
j,
|
|
243
243
|
{
|
|
244
244
|
onClose: () => l(!1),
|
|
245
245
|
showConnectWidget: n,
|
|
@@ -247,10 +247,10 @@ const h1 = (o, C) => {
|
|
|
247
247
|
}
|
|
248
248
|
),
|
|
249
249
|
/* @__PURE__ */ e(
|
|
250
|
-
|
|
250
|
+
u1,
|
|
251
251
|
{
|
|
252
252
|
onClose: () => i(!1),
|
|
253
|
-
showConnectionsWidget:
|
|
253
|
+
showConnectionsWidget: u,
|
|
254
254
|
title: H.manage_connections
|
|
255
255
|
}
|
|
256
256
|
)
|
|
@@ -258,17 +258,17 @@ const h1 = (o, C) => {
|
|
|
258
258
|
}
|
|
259
259
|
) : /* @__PURE__ */ e(B, {});
|
|
260
260
|
}, t3 = g(g1), v1 = ({ onPrimaryCtaClick: o, sx: C }) => {
|
|
261
|
-
const { visibleAccounts: n, isAccountDataLoaded: l, loadAccountData:
|
|
261
|
+
const { visibleAccounts: n, isAccountDataLoaded: l, loadAccountData: u } = F(), { accounts: i } = v(), { isInitialized: L, selectedAccounts: d, setSelectedAccounts: h } = b(), { isDesktop: p } = z();
|
|
262
262
|
s.useEffect(() => {
|
|
263
|
-
l ||
|
|
263
|
+
l || u().finally();
|
|
264
264
|
}, []), s.useEffect(() => {
|
|
265
265
|
h(n);
|
|
266
266
|
}, [n]);
|
|
267
267
|
const H = s.useMemo(
|
|
268
|
-
() =>
|
|
269
|
-
[
|
|
268
|
+
() => d1(d, p ? 5 : 3),
|
|
269
|
+
[d, p]
|
|
270
270
|
);
|
|
271
|
-
return
|
|
271
|
+
return L ? /* @__PURE__ */ e(
|
|
272
272
|
q,
|
|
273
273
|
{
|
|
274
274
|
className: "mx-exp-accounts-miniwidget",
|
|
@@ -277,7 +277,7 @@ const h1 = (o, C) => {
|
|
|
277
277
|
sx: C,
|
|
278
278
|
title: i.mini_title,
|
|
279
279
|
children: l ? /* @__PURE__ */ r(E, { children: [
|
|
280
|
-
|
|
280
|
+
d.length === 0 && /* @__PURE__ */ e(L1, { sx: { justifyContent: "center" }, children: i.no_accounts }),
|
|
281
281
|
H.map((f, M) => {
|
|
282
282
|
const R = H.indexOf(f) === H.length - 1;
|
|
283
283
|
return /* @__PURE__ */ r(s.Fragment, { children: [
|
|
@@ -756,24 +756,24 @@ const h1 = (o, C) => {
|
|
|
756
756
|
},
|
|
757
757
|
sx: C
|
|
758
758
|
}) => {
|
|
759
|
-
const { isCopyLoaded: n } = b(), { connect: l } = v(), [
|
|
759
|
+
const { isCopyLoaded: n } = b(), { connect: l } = v(), [u, i] = s.useState(!1), L = () => {
|
|
760
760
|
i(!0), o();
|
|
761
761
|
};
|
|
762
762
|
return n ? /* @__PURE__ */ r(
|
|
763
763
|
q,
|
|
764
764
|
{
|
|
765
765
|
className: "mx-exp-connect-miniwidget",
|
|
766
|
-
onPrimaryCtaClick:
|
|
766
|
+
onPrimaryCtaClick: L,
|
|
767
767
|
primaryCtaLabel: l.primary_cta,
|
|
768
768
|
sx: C,
|
|
769
769
|
title: l.mini_title,
|
|
770
770
|
children: [
|
|
771
771
|
/* @__PURE__ */ e(w1, {}),
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
u && /* @__PURE__ */ e(
|
|
773
|
+
j,
|
|
774
774
|
{
|
|
775
775
|
onClose: () => i(!1),
|
|
776
|
-
showConnectWidget:
|
|
776
|
+
showConnectWidget: u,
|
|
777
777
|
title: l.mini_title
|
|
778
778
|
}
|
|
779
779
|
)
|
|
@@ -790,9 +790,9 @@ export {
|
|
|
790
790
|
t3 as AccountsWidget,
|
|
791
791
|
n3 as ConnectMiniWidget,
|
|
792
792
|
C3 as FieldType,
|
|
793
|
-
|
|
793
|
+
d3 as MemberConnectionStatus,
|
|
794
794
|
s3 as getAccountBalanceDetails,
|
|
795
795
|
a3 as getAccountDetailFields,
|
|
796
796
|
P as useAccountUiStore,
|
|
797
|
-
|
|
797
|
+
u3 as useGetMergeableAccounts
|
|
798
798
|
};
|
|
@@ -7,8 +7,8 @@ import B from "@mui/material/Button";
|
|
|
7
7
|
import a from "@mui/material/Stack";
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
|
-
import { L as W } from "../Loader-
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
10
|
+
import { L as W } from "../Loader-BSWSYqvn.mjs";
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-D7MkHG15.mjs";
|
|
12
12
|
import { k as f, u as b, g as q, b as E } from "../hooks-C41HAxM5.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
@@ -102,20 +102,20 @@ const O = () => {
|
|
|
102
102
|
$survey_id: i
|
|
103
103
|
});
|
|
104
104
|
}, [w]);
|
|
105
|
-
const
|
|
105
|
+
const F = () => {
|
|
106
106
|
s("survey dismissed", {
|
|
107
107
|
$survey_id: i
|
|
108
108
|
}), g(), C(!1);
|
|
109
|
-
}, F = () => {
|
|
110
|
-
p();
|
|
111
109
|
}, R = () => {
|
|
110
|
+
p();
|
|
111
|
+
}, $ = () => {
|
|
112
112
|
s("survey sent", k), g(), C(!0);
|
|
113
113
|
};
|
|
114
114
|
return T ? !r && !x ? null : /* @__PURE__ */ l(
|
|
115
115
|
j,
|
|
116
116
|
{
|
|
117
117
|
closeLabel: M.close_aria,
|
|
118
|
-
onClose:
|
|
118
|
+
onClose: F,
|
|
119
119
|
sx: {
|
|
120
120
|
"& .MuiCardHeader-root": {
|
|
121
121
|
px: 24,
|
|
@@ -144,7 +144,7 @@ const O = () => {
|
|
|
144
144
|
B,
|
|
145
145
|
{
|
|
146
146
|
disabled: !t && !n,
|
|
147
|
-
onClick: t ?
|
|
147
|
+
onClick: t ? $ : R,
|
|
148
148
|
sx: {
|
|
149
149
|
borderColor: o.palette.border.light,
|
|
150
150
|
"&:hover": {
|