@mx-cartographer/experiences 7.0.44-alpha.mega1 → 7.0.44

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 (66) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/{Account-CYkoSG86.mjs → Account-DNtjr75t.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BuXTLptM.mjs → AccountDetailsContent-eODMVIVq.mjs} +16 -16
  4. package/dist/{AccountDetailsHeader-BWl2e21n.mjs → AccountDetailsHeader-C0qgTju7.mjs} +38 -37
  5. package/dist/{AccountFields-x4A7Loe5.mjs → AccountFields-DDHk35Ou.mjs} +2 -2
  6. package/dist/AccountListItem-BxmUd4j3.mjs +90 -0
  7. package/dist/{AccountStore-WQAkYgx1.mjs → AccountStore-CpjCeykS.mjs} +2 -2
  8. package/dist/{Accounts-CeeJag5-.mjs → Accounts-nXcS0QUR.mjs} +1 -1
  9. package/dist/{BudgetUtil-n3gEKIub.mjs → BudgetUtil-2EncZLBQ.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-993LpETZ.mjs → CategorySelectorDrawer-BmenK5bu.mjs} +1 -1
  11. package/dist/ConnectDrawer-YIWwEzuN.mjs +521 -0
  12. package/dist/{ConnectionsDrawer-CcBzf4l5.mjs → ConnectionsDrawer-Bf2DNDCF.mjs} +2 -2
  13. package/dist/{CurrencyInput-pHmLzc_c.mjs → CurrencyInput-CRtdzs3o.mjs} +1 -1
  14. package/dist/{DebtsStore-EZh5aBxe.mjs → DebtsStore-Dy3YG1fX.mjs} +1 -1
  15. package/dist/{ExportCsvAction-BKxnEFRu.mjs → ExportCsvAction-CebIvl-V.mjs} +3 -3
  16. package/dist/{GoalStore-B9lVADw5.mjs → GoalStore-voP4QA5C.mjs} +3 -3
  17. package/dist/{Help-PP2i0N9Y.mjs → Help-CzBAsKA2.mjs} +1 -1
  18. package/dist/{LineChart-CHTf3RcN.mjs → LineChart-B2Y7zwMu.mjs} +1 -1
  19. package/dist/{ListItemAction-DXyHyJn0.mjs → ListItemAction-DSrYDGAP.mjs} +1 -1
  20. package/dist/{ManageIncome-D1XoZlqY.mjs → ManageIncome-kMsgLN3T.mjs} +38 -38
  21. package/dist/{MicroWidgetContainer-Dpu8VDSP.mjs → MicroWidgetContainer-C4QQHfD7.mjs} +1 -1
  22. package/dist/{MiniWidgetContainer-BhHaL8eb.mjs → MiniWidgetContainer-DSG6mwaW.mjs} +1 -1
  23. package/dist/{NetWorthStore-N5esR-KJ.mjs → NetWorthStore-C5RMjsMS.mjs} +2 -2
  24. package/dist/{NotificationSettings-CWZR6ki-.mjs → NotificationSettings-BCtanw2c.mjs} +4 -4
  25. package/dist/{OriginalBalanceAction-DSA8sk5b.mjs → OriginalBalanceAction-CEuIYsc_.mjs} +3 -3
  26. package/dist/{RecurringSettings-DA6qT8ai.mjs → RecurringSettings-CETLT79T.mjs} +8 -8
  27. package/dist/{RecurringTransactionsStore-Djo9IeDd.mjs → RecurringTransactionsStore-DeLXfuC4.mjs} +1 -1
  28. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-Dc34Tzx8.mjs} +1 -1
  29. package/dist/{TransactionDetails-DO_YihKP.mjs → TransactionDetails-B-rdHE3_.mjs} +5 -5
  30. package/dist/{TransactionStore-B2Vq95Fg.mjs → TransactionStore-CfQBEIsK.mjs} +2 -2
  31. package/dist/{TrendsStore-DWVFqEC-.mjs → TrendsStore-BKBnNQba.mjs} +1 -1
  32. package/dist/{User-Bfnq7dd4.mjs → User-8itAR7lR.mjs} +22 -21
  33. package/dist/{WidgetContainer-DfyV39Ru.mjs → WidgetContainer-p7NIdiNJ.mjs} +2 -2
  34. package/dist/accounts/index.es.js +123 -128
  35. package/dist/analytics/index.es.js +11 -11
  36. package/dist/budgets/index.es.js +10 -10
  37. package/dist/cashflow/index.es.js +26 -26
  38. package/dist/categories/index.es.js +1 -1
  39. package/dist/common/hooks/index.d.ts +1 -0
  40. package/dist/common/hooks/useAccountDisplayName.d.ts +3 -0
  41. package/dist/common/index.es.js +92 -90
  42. package/dist/common/utils/AccountDisplayName.d.ts +6 -0
  43. package/dist/common/utils/AccountFilter.d.ts +2 -6
  44. package/dist/dashboard/index.es.js +14 -14
  45. package/dist/debts/index.es.js +9 -9
  46. package/dist/{exportTransactionsToCSV-BgWQsGWy.mjs → exportTransactionsToCSV-CfylirZA.mjs} +1 -1
  47. package/dist/finstrong/index.es.js +6 -6
  48. package/dist/goals/index.es.js +529 -524
  49. package/dist/help/index.es.js +5 -5
  50. package/dist/{hooks-BAAimqdq.mjs → hooks-CE2TKk4a.mjs} +12 -12
  51. package/dist/investments/index.es.js +3 -3
  52. package/dist/merchants/index.es.js +1 -1
  53. package/dist/networth/index.es.js +7 -7
  54. package/dist/notifications/index.es.js +10 -10
  55. package/dist/recurringtransactions/index.es.js +11 -11
  56. package/dist/settings/index.es.js +7 -7
  57. package/dist/spending/index.es.js +4 -4
  58. package/dist/transactions/index.es.js +13 -13
  59. package/dist/trends/index.es.js +11 -11
  60. package/dist/useAccountDisplayName-DC1Lqjag.mjs +15 -0
  61. package/dist/{useInsightsEnabled-BwLaOKWW.mjs → useInsightsEnabled-DSnpkUq0.mjs} +1 -1
  62. package/package.json +1 -1
  63. package/dist/AccountListItem-D9mpJkCP.mjs +0 -89
  64. package/dist/ConnectDrawer-CNdzwKdX.mjs +0 -528
  65. package/dist/{ToggleListItem-r0Kx56wF.mjs → Notification-aGCHxikw.mjs} +1 -1
  66. package/dist/{RecurringTransactions-DTUx9VN1.mjs → RepeatingTransaction-BW4J-jeJ.mjs} +1 -1
@@ -1,62 +1,62 @@
1
- import { jsxs as n, jsx as e, Fragment as G } from "react/jsx-runtime";
1
+ import { jsxs as n, jsx as e, Fragment as j } from "react/jsx-runtime";
2
2
  import d from "react";
3
- import { observer as g } from "mobx-react-lite";
3
+ import { observer as M } from "mobx-react-lite";
4
4
  import B from "@mui/material/Box";
5
- import A from "@mui/material/Divider";
5
+ import _ from "@mui/material/Divider";
6
6
  import E from "@mui/material/List";
7
7
  import O from "@mui/material/ListSubheader";
8
- import _ from "@mui/system/Stack";
8
+ import x from "@mui/system/Stack";
9
9
  import { Text as v } from "@mxenabled/mxui";
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";
10
+ import { A as G } from "../AccountDetailsContent-eODMVIVq.mjs";
11
+ import { u as I1 } from "../AccountDetailsContent-eODMVIVq.mjs";
12
+ import { u as K, A as z } from "../AccountDetailsHeader-C0qgTju7.mjs";
13
+ import { A as W } from "../AccountListItem-BxmUd4j3.mjs";
14
+ import { a as P } from "../AccountFields-DDHk35Ou.mjs";
15
+ import { g as D1, b as U1 } from "../AccountFields-DDHk35Ou.mjs";
16
+ import { u as g, b as y, d as T, g as N, a as Y } from "../hooks-CE2TKk4a.mjs";
17
17
  import { f as I } from "../NumberFormatting-CtWHhyBX.mjs";
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";
18
+ import { D as q } from "../Drawer-kEE73B87.mjs";
19
+ import { A, W as J } from "../WidgetContainer-p7NIdiNJ.mjs";
20
+ import { C as Q } from "../ConnectionsDrawer-Bf2DNDCF.mjs";
21
+ import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
22
22
  import { L as R } from "../Loader-DUaFpDGv.mjs";
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(
23
+ import { k as D } from "../ConnectDrawer-YIWwEzuN.mjs";
24
+ import { F as j1, M as G1 } from "../ConnectDrawer-YIWwEzuN.mjs";
25
+ import e1 from "@mui/material/ListItem";
26
+ import { M as U } from "../MiniWidgetContainer-DSG6mwaW.mjs";
27
+ import t1 from "@mui/material/Stack";
28
+ import { A as z1, a as P1 } from "../AccountStore-CpjCeykS.mjs";
29
+ const l1 = () => {
30
+ const [c, L] = d.useState(""), { accounts: C } = g(), { selectedAccounts: l } = y(), { setSelectedAccount: u, setSelectedMember: r } = K(), { members: s } = T(), { onEvent: p } = N(), a = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => c === t.guid), h = d.useMemo(
31
31
  () => l.filter((t) => t.is_hidden),
32
32
  [l]
33
- ), p = d.useMemo(
33
+ ), V = d.useMemo(
34
34
  () => l.filter((t) => t.is_closed),
35
35
  [l]
36
- ), M = u.reduce(
36
+ ), S = h.reduce(
37
37
  (t, i) => (i.available_balance || i.balance || 0) + t,
38
38
  0
39
- ), b = Y(p, C);
39
+ ), b = P(V, C);
40
40
  d.useEffect(() => {
41
- if (a) {
42
- h(a);
43
- const t = L.find((i) => i.guid === a?.member_guid) || {};
41
+ if (H) {
42
+ u(H);
43
+ const t = s.find((i) => i.guid === H?.member_guid) || {};
44
44
  t && r(t);
45
45
  }
46
- }, [a, c]);
47
- const Z = (t) => {
48
- H(t.guid), f(y.ACCOUNTS_CLICK_ACCOUNT, {
46
+ }, [H, c]);
47
+ const w = (t) => {
48
+ L(t.guid), p(A.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" ? u : p, k = t === "hidden" ? M : b, o = t === "hidden" ? C.account_hidden : C.account_closed;
53
+ const i = t === "hidden" ? h : V, k = t === "hidden" ? S : 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
+ x,
60
60
  {
61
61
  component: "span",
62
62
  direction: "row",
@@ -67,19 +67,19 @@ const i1 = () => {
67
67
  ]
68
68
  }
69
69
  ) }),
70
- children: /* @__PURE__ */ e(_, { children: i.map((V, x, $) => {
71
- const F = x === $.length - 1;
70
+ children: /* @__PURE__ */ e(x, { children: i.map((f, Z, $) => {
71
+ const F = Z === $.length - 1;
72
72
  return /* @__PURE__ */ n(d.Fragment, { children: [
73
73
  /* @__PURE__ */ e(
74
74
  W,
75
75
  {
76
- account: V,
77
- onRowClick: () => Z(V),
76
+ account: f,
77
+ onRowClick: () => w(f),
78
78
  shouldShowConnectionStatus: !0
79
79
  }
80
80
  ),
81
81
  t === "hidden" ? /* @__PURE__ */ e(
82
- A,
82
+ _,
83
83
  {
84
84
  sx: {
85
85
  mb: F ? 24 : 4,
@@ -87,7 +87,7 @@ const i1 = () => {
87
87
  }
88
88
  }
89
89
  ) : !F && /* @__PURE__ */ e(
90
- A,
90
+ _,
91
91
  {
92
92
  sx: {
93
93
  mb: 4,
@@ -95,17 +95,17 @@ const i1 = () => {
95
95
  }
96
96
  }
97
97
  )
98
- ] }, V.guid);
98
+ ] }, f.guid);
99
99
  }) })
100
100
  }
101
101
  ) });
102
102
  };
103
103
  return /* @__PURE__ */ n(B, { sx: { pt: 24 }, children: [
104
- s.map((t) => {
104
+ a.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, V) => (V.balance || 0) + o,
108
+ (o, f) => (f.balance || 0) + o,
109
109
  0
110
110
  );
111
111
  return i.length === 0 ? null : /* @__PURE__ */ e(
@@ -113,7 +113,7 @@ const i1 = () => {
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
+ x,
117
117
  {
118
118
  component: "span",
119
119
  direction: "row",
@@ -124,23 +124,23 @@ const i1 = () => {
124
124
  ]
125
125
  }
126
126
  ) }),
127
- children: /* @__PURE__ */ e(_, { children: i.map((o) => {
128
- const V = l.indexOf(o) === l.length - 1, x = i.indexOf(o) === i.length - 1;
127
+ children: /* @__PURE__ */ e(x, { children: i.map((o) => {
128
+ const f = l.indexOf(o) === l.length - 1, Z = 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: () => Z(o),
134
+ onRowClick: () => w(o),
135
135
  shouldShowConnectionStatus: !0
136
136
  }
137
137
  ),
138
- (!V || p.length > 0 || u.length > 0) && /* @__PURE__ */ e(
139
- A,
138
+ (!f || V.length > 0 || h.length > 0) && /* @__PURE__ */ e(
139
+ _,
140
140
  {
141
141
  sx: {
142
- mb: x ? 24 : 4,
143
- ml: x ? 24 : 68
142
+ mb: Z ? 24 : 4,
143
+ ml: Z ? 24 : 68
144
144
  }
145
145
  }
146
146
  )
@@ -150,109 +150,104 @@ const i1 = () => {
150
150
  t
151
151
  );
152
152
  }),
153
- u.length > 0 && m("hidden"),
154
- p.length > 0 && m("closed"),
153
+ h.length > 0 && m("hidden"),
154
+ V.length > 0 && m("closed"),
155
155
  /* @__PURE__ */ n(
156
- J,
156
+ q,
157
157
  {
158
158
  ariaLabelClose: C.close_account_details_aria,
159
159
  isOpen: !!c,
160
- onClose: () => H(""),
160
+ onClose: () => L(""),
161
161
  title: C.account_details,
162
162
  children: [
163
- /* @__PURE__ */ e(P, {}),
164
- /* @__PURE__ */ e(K, {})
163
+ /* @__PURE__ */ e(z, {}),
164
+ /* @__PURE__ */ e(G, {})
165
165
  ]
166
166
  }
167
167
  )
168
168
  ] });
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();
169
+ }, i1 = M(l1), n1 = ({ onBackClick: c, sx: L = {} }) => {
170
+ const [C, l] = d.useState(!1), [u, r] = d.useState(!1), { config: s } = Y(), { accounts: p } = T(), { accounts: a, connect: H } = g(), { isCopyLoaded: h, isInitialized: V, setSelectedAccounts: S, selectedAccountGuids: b } = y(), { isDesktop: w } = X(), { onEvent: m } = N();
171
171
  d.useEffect(() => {
172
- M(f);
173
- }, [f]);
172
+ S(p);
173
+ }, [p]);
174
174
  const t = () => {
175
- l(!0), m(y.ACCOUNTS_CLICK_CONNECT);
175
+ l(!0), m(A.ACCOUNTS_CLICK_CONNECT);
176
176
  }, i = () => {
177
- r(!0), m(y.ACCOUNTS_CLICK_CONNECT);
177
+ r(!0), m(A.ACCOUNTS_CLICK_CONNECT);
178
178
  };
179
- return u ? /* @__PURE__ */ e(
180
- Q,
179
+ return h ? /* @__PURE__ */ e(
180
+ J,
181
181
  {
182
- accountOptions: f,
183
- actions: L.show_connections_widget_in_master ? [
184
- { iconName: "add", label: s.add, onClick: t },
182
+ accountOptions: p,
183
+ actions: s.show_connections_widget_in_master ? [
184
+ { iconName: "add", label: a.add, onClick: t },
185
185
  {
186
186
  iconName: "credit_card_gear",
187
- label: s.manage,
187
+ label: a.manage,
188
188
  onClick: i
189
189
  }
190
190
  ] : [],
191
- onAccountsFilterClick: () => m(y.ACCOUNTS_CLICK_FILTER),
191
+ onAccountsFilterClick: () => m(A.ACCOUNTS_CLICK_FILTER),
192
192
  onBackClick: c,
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, {})
193
+ sx: L,
194
+ title: a.title,
195
+ children: V ? /* @__PURE__ */ n(j, { children: [
196
+ /* @__PURE__ */ n(B, { sx: { px: w ? 24 : 12 }, children: [
197
+ b.length < 1 && /* @__PURE__ */ e(v, { display: "flex", justifyContent: "center", my: 24, children: a.no_accounts }),
198
+ /* @__PURE__ */ e(i1, {})
199
199
  ] }),
200
200
  /* @__PURE__ */ e(
201
- U,
201
+ D,
202
202
  {
203
203
  onClose: () => l(!1),
204
204
  showConnectWidget: C,
205
- title: a.mini_title
205
+ title: H.mini_title
206
206
  }
207
207
  ),
208
208
  /* @__PURE__ */ e(
209
- X,
209
+ Q,
210
210
  {
211
211
  onClose: () => r(!1),
212
- showConnectionsWidget: h,
213
- title: s.manage_connections
212
+ showConnectionsWidget: u,
213
+ title: a.manage_connections
214
214
  }
215
215
  )
216
216
  ] }) : /* @__PURE__ */ e(R, {})
217
217
  }
218
218
  ) : /* @__PURE__ */ e(R, {});
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,
219
+ }, B1 = M(n1), C1 = ({ onPrimaryCtaClick: c, sx: L }) => {
220
+ const { visibleAccounts: C } = T(), { accounts: l } = g(), { isCopyLoaded: u, isInitialized: r, selectedAccounts: s, setSelectedAccounts: p } = y();
221
+ return d.useEffect(() => {
222
+ p(C);
223
+ }, [C]), u ? /* @__PURE__ */ e(
224
+ U,
230
225
  {
231
226
  className: "mx-exp-accounts-miniwidget",
232
227
  onPrimaryCtaClick: c,
233
228
  primaryCtaLabel: l.primary_cta,
234
- sx: H,
229
+ sx: L,
235
230
  title: l.mini_title,
236
231
  children: r ? /* @__PURE__ */ n(E, { children: [
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;
232
+ s.length === 0 && /* @__PURE__ */ e(e1, { sx: { justifyContent: "center" }, children: l.no_accounts }),
233
+ s.map((a, H) => {
234
+ const h = s.indexOf(a) === s.length - 1;
240
235
  return /* @__PURE__ */ n(d.Fragment, { children: [
241
236
  /* @__PURE__ */ e(
242
237
  W,
243
238
  {
244
- account: u,
239
+ account: a,
245
240
  listItemProps: { sx: { px: 24 } },
246
241
  shouldShowConnectionStatus: !0
247
242
  }
248
243
  ),
249
- !M && /* @__PURE__ */ e(A, { "aria-hidden": "true", variant: "inset" })
250
- ] }, `account-item${p}`);
244
+ !h && /* @__PURE__ */ e(_, { "aria-hidden": "true", variant: "inset" })
245
+ ] }, `account-item${H}`);
251
246
  })
252
247
  ] }) : /* @__PURE__ */ e(R, {})
253
248
  }
254
249
  ) : /* @__PURE__ */ e(R, {});
255
- }, W1 = g(o1), d1 = () => /* @__PURE__ */ n(
250
+ }, E1 = M(C1), o1 = () => /* @__PURE__ */ n(
256
251
  "svg",
257
252
  {
258
253
  fill: "none",
@@ -691,10 +686,10 @@ const i1 = () => {
691
686
  )
692
687
  ]
693
688
  }
694
- ), c1 = () => {
695
- const { connect: c } = w();
696
- return /* @__PURE__ */ n(l1, { alignItems: "center", direction: "column", m: 24, children: [
697
- /* @__PURE__ */ e(d1, {}),
689
+ ), d1 = () => {
690
+ const { connect: c } = g();
691
+ return /* @__PURE__ */ n(t1, { alignItems: "center", direction: "column", m: 24, children: [
692
+ /* @__PURE__ */ e(o1, {}),
698
693
  /* @__PURE__ */ e(
699
694
  v,
700
695
  {
@@ -708,48 +703,48 @@ const i1 = () => {
708
703
  }
709
704
  )
710
705
  ] });
711
- }, s1 = g(c1), a1 = ({
706
+ }, c1 = M(d1), s1 = ({
712
707
  onPrimaryCtaClick: c = () => {
713
708
  },
714
- sx: H
709
+ sx: L
715
710
  }) => {
716
- const { isCopyLoaded: C } = S(), { connect: l } = w(), [h, r] = d.useState(!1), L = () => {
711
+ const { isCopyLoaded: C } = y(), { connect: l } = g(), [u, r] = d.useState(!1), s = () => {
717
712
  r(!0), c();
718
713
  };
719
714
  return C ? /* @__PURE__ */ n(
720
- j,
715
+ U,
721
716
  {
722
717
  className: "mx-exp-connect-miniwidget",
723
- onPrimaryCtaClick: L,
718
+ onPrimaryCtaClick: s,
724
719
  primaryCtaLabel: l.primary_cta,
725
- sx: H,
720
+ sx: L,
726
721
  title: l.mini_title,
727
722
  children: [
728
- /* @__PURE__ */ e(s1, {}),
729
- h && /* @__PURE__ */ e(
730
- U,
723
+ /* @__PURE__ */ e(c1, {}),
724
+ u && /* @__PURE__ */ e(
725
+ D,
731
726
  {
732
727
  onClose: () => r(!1),
733
- showConnectWidget: h,
728
+ showConnectWidget: u,
734
729
  title: l.mini_title
735
730
  }
736
731
  )
737
732
  ]
738
733
  }
739
734
  ) : /* @__PURE__ */ e(R, {});
740
- }, T1 = g(a1);
735
+ }, W1 = M(s1);
741
736
  export {
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
737
+ z1 as AccountApi,
738
+ G as AccountDetailsContent,
739
+ z as AccountDetailsHeader,
740
+ P1 as AccountStore,
741
+ E1 as AccountsMiniWidget,
742
+ B1 as AccountsWidget,
743
+ W1 as ConnectMiniWidget,
744
+ j1 as FieldType,
745
+ G1 as MemberConnectionStatus,
746
+ D1 as getAccountBalanceDetails,
747
+ U1 as getAccountDetailFields,
748
+ K as useAccountUiStore,
749
+ I1 as useGetMergeableAccounts
755
750
  };
@@ -2,14 +2,14 @@ import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import d from "react";
3
3
  import { observer as y } from "mobx-react-lite";
4
4
  import { SurveyQuestionType as S } from "posthog-js";
5
- import j from "@mui/material/Alert";
6
- import A from "@mui/material/Button";
5
+ import A from "@mui/material/Alert";
6
+ import B from "@mui/material/Button";
7
7
  import a from "@mui/material/Stack";
8
8
  import _ from "@mui/material/styles/useTheme";
9
- import { Text as u, TextField as B } from "@mxenabled/mxui";
10
- import { L } from "../Loader-DUaFpDGv.mjs";
11
- import { M as W } from "../MiniWidgetContainer-BhHaL8eb.mjs";
12
- import { j as f, u as b, f as q, a as E } from "../hooks-BAAimqdq.mjs";
9
+ import { Text as u, TextField as L } from "@mxenabled/mxui";
10
+ import { L as W } from "../Loader-DUaFpDGv.mjs";
11
+ import { M as j } from "../MiniWidgetContainer-DSG6mwaW.mjs";
12
+ import { k as f, u as b, g as q, b as E } from "../hooks-CE2TKk4a.mjs";
13
13
  import Q from "@mui/material/ToggleButton";
14
14
  import G from "@mui/material/ToggleButtonGroup";
15
15
  const O = () => {
@@ -70,7 +70,7 @@ const O = () => {
70
70
  }, X = y(O), z = () => {
71
71
  const { response: s, setResponse: o } = f(), { analytics: i } = b();
72
72
  return /* @__PURE__ */ e(
73
- B,
73
+ L,
74
74
  {
75
75
  label: i.feedback,
76
76
  multiline: !0,
@@ -112,7 +112,7 @@ const O = () => {
112
112
  s("survey sent", k), g(), C(!0);
113
113
  };
114
114
  return T ? !r && !x ? null : /* @__PURE__ */ l(
115
- W,
115
+ j,
116
116
  {
117
117
  closeLabel: M.close_aria,
118
118
  onClose: $,
@@ -141,7 +141,7 @@ const O = () => {
141
141
  r.type === S.Open && /* @__PURE__ */ e(H, {})
142
142
  ] }),
143
143
  /* @__PURE__ */ e(a, { sx: { px: 24, py: 16 }, children: /* @__PURE__ */ e(
144
- A,
144
+ B,
145
145
  {
146
146
  disabled: !t && !n,
147
147
  onClick: t ? R : F,
@@ -160,11 +160,11 @@ const O = () => {
160
160
  ] }),
161
161
  x && /* @__PURE__ */ l(d.Fragment, { children: [
162
162
  /* @__PURE__ */ e(a, { sx: { px: 24, py: 24 }, children: /* @__PURE__ */ e(u, { bold: !0, truncate: !1, children: c.thank_you }) }),
163
- /* @__PURE__ */ e(a, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ e(j, { severity: "success", variant: "filled", children: c.feedback_sent_successfully }) })
163
+ /* @__PURE__ */ e(a, { sx: { px: 24, pb: 24 }, children: /* @__PURE__ */ e(A, { severity: "success", variant: "filled", children: c.feedback_sent_successfully }) })
164
164
  ] })
165
165
  ]
166
166
  }
167
- ) : /* @__PURE__ */ e(L, {});
167
+ ) : /* @__PURE__ */ e(W, {});
168
168
  }, ie = y(I);
169
169
  export {
170
170
  ie as SurveyMiniWidget
@@ -7,15 +7,15 @@ import W from "@mui/material/Box";
7
7
  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
- import { u as Pe } from "../BudgetUtil-n3gEKIub.mjs";
11
- import { C as Ne } from "../ConnectionsDrawer-CcBzf4l5.mjs";
10
+ import { u as Pe } from "../BudgetUtil-2EncZLBQ.mjs";
11
+ import { C as Ne } from "../ConnectionsDrawer-Bf2DNDCF.mjs";
12
12
  import * as E from "d3";
13
13
  import je from "@mui/material/Tooltip";
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";
14
+ import { i as w, m as j, u as D, g as X, b as ee, p as ze, j as te, h as ne, a as Ue, d as Se } from "../hooks-CE2TKk4a.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-DfyV39Ru.mjs";
18
+ import { A as k, W as Fe } from "../WidgetContainer-p7NIdiNJ.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";
@@ -27,26 +27,26 @@ import Z from "@mui/material/ListItemText";
27
27
  import { b as L } from "../Localization-2MODESHW.mjs";
28
28
  import { D as M } from "../Drawer-kEE73B87.mjs";
29
29
  import We from "@mui/material/ListItemSecondaryAction";
30
- import { C as He } from "../CurrencyInput-pHmLzc_c.mjs";
30
+ import { C as He } from "../CurrencyInput-CRtdzs3o.mjs";
31
31
  import { a as N } from "../Dialog-CWW597AF.mjs";
32
- import { M as Xe } from "../MiniWidgetContainer-BhHaL8eb.mjs";
32
+ import { M as Xe } from "../MiniWidgetContainer-DSG6mwaW.mjs";
33
33
  import { isAfter as Ke } from "date-fns/isAfter";
34
34
  import { startOfToday as q } from "date-fns/startOfToday";
35
35
  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-BgWQsGWy.mjs";
40
- import { T as xe, a as Je } from "../TransactionDetails-DO_YihKP.mjs";
39
+ import { e as qe } from "../exportTransactionsToCSV-CfylirZA.mjs";
40
+ import { T as xe, a as Je } from "../TransactionDetails-B-rdHE3_.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";
44
44
  import { S as ve } from "../SingleSegmentDonut-BgbLgwHi.mjs";
45
- import { u as Qe, b as et } from "../CategorySelectorDrawer-993LpETZ.mjs";
45
+ import { u as Qe, b as et } from "../CategorySelectorDrawer-BmenK5bu.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-D1XoZlqY.mjs";
49
+ import { M as ot } from "../ManageIncome-kMsgLN3T.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;