@mx-cartographer/experiences 7.0.11-alpha.mega1 → 7.0.12

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 (41) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/{Account-BW3-oYEs.mjs → Account-BVKkr6ft.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-Tm7IjJIc.mjs → AccountDetailsContent-BmQ5a3Lk.mjs} +14 -14
  4. package/dist/{AccountDetailsHeader-sum_Bgdy.mjs → AccountDetailsHeader-vSwO-5Wk.mjs} +3 -3
  5. package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-VRK4zgvW.mjs} +2 -2
  6. package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-SkBUCsb0.mjs} +2 -2
  7. package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-3Umlm7QY.mjs} +9 -9
  8. package/dist/{Accounts-CA-nqAjT.mjs → Accounts-CYsoAdW-.mjs} +1 -1
  9. package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-BA9H_xx8.mjs} +4 -4
  10. package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-Bs-NUsAs.mjs} +1 -1
  11. package/dist/{DebtsStore-Dp-CraCD.mjs → DebtsStore-BwmpJMik.mjs} +1 -1
  12. package/dist/{ExportCsvAction-CbMfQ2Wa.mjs → ExportCsvAction-CvyiKLTh.mjs} +2 -2
  13. package/dist/{GoalStore-BWHkOQ8o.mjs → GoalStore-DLzTboF9.mjs} +52 -51
  14. package/dist/{ManageIncome-Bef4VWt7.mjs → ManageIncome-DCUX6T2b.mjs} +3 -3
  15. package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-NKD8a-19.mjs} +2 -2
  16. package/dist/{RecurringSettings-1EOh67IT.mjs → RecurringSettings-BD_CIXnV.mjs} +2 -2
  17. package/dist/{User-Dq9Qj764.mjs → Transaction-Dns0Kuuy.mjs} +45 -47
  18. package/dist/TransactionDetails-DFDYdDae.mjs +1280 -0
  19. package/dist/{TransactionStore-0tLtBEIC.mjs → TransactionStore-BVKUoEHj.mjs} +2 -2
  20. package/dist/{WidgetContainer-C2NBfpDg.mjs → WidgetContainer-BHhhVctF.mjs} +1 -1
  21. package/dist/accounts/index.es.js +15 -15
  22. package/dist/budgets/index.es.js +5 -5
  23. package/dist/cashflow/index.es.js +5 -5
  24. package/dist/common/index.es.js +12 -12
  25. package/dist/dashboard/index.es.js +6 -6
  26. package/dist/debts/index.es.js +5 -5
  27. package/dist/{exportTransactionsToCSV-BDlt8u0n.mjs → exportTransactionsToCSV-B4JW8rfR.mjs} +1 -1
  28. package/dist/finstrong/index.es.js +4 -4
  29. package/dist/goals/index.es.js +6 -6
  30. package/dist/help/index.es.js +1 -1
  31. package/dist/investments/index.es.js +2 -2
  32. package/dist/networth/index.es.js +4 -4
  33. package/dist/recurringtransactions/index.es.js +5 -5
  34. package/dist/settings/index.es.js +1 -1
  35. package/dist/spending/index.es.js +2 -2
  36. package/dist/transactions/components/shared/transactiondetails/Description.d.ts +0 -1
  37. package/dist/transactions/index.es.js +120 -121
  38. package/dist/trends/index.es.js +3 -3
  39. package/package.json +1 -1
  40. package/dist/TransactionDetails-DYF-P762.mjs +0 -1337
  41. package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.d.ts +0 -8
@@ -1,47 +1,47 @@
1
- import { T as fa } from "../TransactionApi-DbbcjI2L.mjs";
2
- import { u as B, C as Re, D as He, M as Be, c as Pe, T as $e, a as Ve } from "../TransactionDetails-DYF-P762.mjs";
3
- import { B as ya, d as ba, b as Ta } from "../TransactionDetails-DYF-P762.mjs";
4
- import { T as M } from "../User-Dq9Qj764.mjs";
5
- import { O as Sa } from "../User-Dq9Qj764.mjs";
6
- import { S as ee, D as We } from "../TransactionStore-0tLtBEIC.mjs";
7
- import { T as wa } from "../TransactionStore-0tLtBEIC.mjs";
8
- import { e as Ge } from "../exportTransactionsToCSV-BDlt8u0n.mjs";
9
- import { E as va } from "../ExportCsvAction-CbMfQ2Wa.mjs";
1
+ import { T as ha } from "../TransactionApi-DbbcjI2L.mjs";
2
+ import { u as B, C as Le, D as Re, M as He, c as Be, T as Pe, a as $e } from "../TransactionDetails-DFDYdDae.mjs";
3
+ import { B as Ca, d as ya, b as ba } from "../TransactionDetails-DFDYdDae.mjs";
4
+ import { T as M } from "../Transaction-Dns0Kuuy.mjs";
5
+ import { O as Aa } from "../Transaction-Dns0Kuuy.mjs";
6
+ import { S as ee, D as Ve } from "../TransactionStore-BVKUoEHj.mjs";
7
+ import { T as xa } from "../TransactionStore-BVKUoEHj.mjs";
8
+ import { e as We } from "../exportTransactionsToCSV-B4JW8rfR.mjs";
9
+ import { E as Ia } from "../ExportCsvAction-CvyiKLTh.mjs";
10
10
  import { jsxs as _, jsx as e } from "react/jsx-runtime";
11
11
  import u from "react";
12
12
  import { observer as S } from "mobx-react-lite";
13
- import Ue from "@mui/material/Paper";
14
- import { DataGridPro as Fe } from "@mui/x-data-grid-pro";
13
+ import Ge from "@mui/material/Paper";
14
+ import { DataGridPro as Ue } from "@mui/x-data-grid-pro";
15
15
  import A from "@mui/material/Box";
16
- import { useTheme as ze } from "@mui/material/styles";
17
- import { Text as C, Icon as H, MerchantLogo as Ke, TextField as te, P as qe } from "@mxenabled/mxui";
18
- import { f as P, u as x, a as K, c as re, k as je, m as Xe, e as Ye, o as Je } from "../hooks-DkUqN6JE.mjs";
19
- import { fromUnixTime as Qe } from "date-fns/fromUnixTime";
20
- import { f as Ze, D as et, a as se } from "../Dialog-CWW597AF.mjs";
16
+ import { useTheme as Fe } from "@mui/material/styles";
17
+ import { Text as C, Icon as H, MerchantLogo as ze, TextField as te, P as Ke } from "@mxenabled/mxui";
18
+ import { f as P, u as x, a as K, c as re, k as qe, m as je, e as Xe, o as Ye } from "../hooks-DkUqN6JE.mjs";
19
+ import { fromUnixTime as Je } from "date-fns/fromUnixTime";
20
+ import { f as Qe, D as Ze, a as se } from "../Dialog-CWW597AF.mjs";
21
21
  import N from "@mui/material/Stack";
22
22
  import { f as ie } from "../NumberFormatting-CtWHhyBX.mjs";
23
23
  import { L as q } from "../Loader-Dp1P2gNw.mjs";
24
- import { endOfMonth as tt } from "date-fns/endOfMonth";
25
- import { getUnixTime as at } from "date-fns/getUnixTime";
26
- import { startOfMonth as nt } from "date-fns/startOfMonth";
24
+ import { endOfMonth as et } from "date-fns/endOfMonth";
25
+ import { getUnixTime as tt } from "date-fns/getUnixTime";
26
+ import { startOfMonth as at } from "date-fns/startOfMonth";
27
27
  import { startOfToday as z } from "date-fns/startOfToday";
28
- import ot from "@mui/material/styles/useTheme";
29
- import { j as rt } from "../ConnectDrawer-phFH6OHt.mjs";
30
- import st from "@mui/material/Divider";
31
- import it from "@mui/material/MenuItem";
32
- import ct from "@mui/material/RadioGroup";
33
- import { ExpandMore as lt } from "@mxenabled/mx-icons";
34
- import { C as dt } from "../CurrencyInput-bEx2Mbd0.mjs";
35
- import { a as ut, u as mt } from "../CategorySelectorDrawer-BPvjZ-Xo.mjs";
28
+ import nt from "@mui/material/styles/useTheme";
29
+ import { h as ot } from "../ConnectDrawer-BA9H_xx8.mjs";
30
+ import rt from "@mui/material/Divider";
31
+ import st from "@mui/material/MenuItem";
32
+ import it from "@mui/material/RadioGroup";
33
+ import { ExpandMore as ct } from "@mxenabled/mx-icons";
34
+ import { C as lt } from "../CurrencyInput-bEx2Mbd0.mjs";
35
+ import { a as dt, u as ut } from "../CategorySelectorDrawer-BPvjZ-Xo.mjs";
36
36
  import { b as ae } from "../Localization-2MODESHW.mjs";
37
- import { A as T, W as _t } from "../WidgetContainer-C2NBfpDg.mjs";
38
- import { u as pt } from "../useScreenSize-B6JyS_Lj.mjs";
39
- import { S as gt } from "../SearchBox-B2_zLv8-.mjs";
37
+ import { A as T, W as mt } from "../WidgetContainer-BHhhVctF.mjs";
38
+ import { u as _t } from "../useScreenSize-B6JyS_Lj.mjs";
39
+ import { S as pt } from "../SearchBox-B2_zLv8-.mjs";
40
40
  import { D as ne } from "../Drawer-kEE73B87.mjs";
41
- const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
41
+ const gt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
42
42
  `${t.row.account}`,
43
43
  t.row.number && ` | ${t.row.number}`
44
- ] }), ft = (t) => {
44
+ ] }), ht = (t) => {
45
45
  const { associatedBeats: r } = P(), { showInsights: n } = B(), { amount: a, transaction_type: i } = t.row, l = r.find((h) => h.associated_transaction_guid === t.row.guid), d = i === M.CREDIT;
46
46
  return /* @__PURE__ */ _(N, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
47
47
  /* @__PURE__ */ _(C, { color: d ? "success.main" : "text.primary", variant: "Small", children: [
@@ -50,7 +50,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
50
50
  ] }),
51
51
  l && n && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "XSmall", children: l.short_title })
52
52
  ] });
53
- }, Ct = (t) => {
53
+ }, ft = (t) => {
54
54
  const { transactions: r } = x(), [n, a] = u.useState(!1);
55
55
  return /* @__PURE__ */ _(
56
56
  N,
@@ -69,8 +69,8 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
69
69
  ]
70
70
  }
71
71
  );
72
- }, yt = S(Ct), bt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: Ze(Qe(t.row.date), et.MONTH_DAY) }), Tt = (t) => {
73
- const r = ze(), { transactions: n } = x(), { is_flagged: a, is_hidden: i, has_been_viewed: l, parent_guid: d } = t.row, f = !l && !!!d;
72
+ }, Ct = S(ft), yt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: Qe(Je(t.row.date), Ze.MONTH_DAY) }), bt = (t) => {
73
+ const r = Fe(), { transactions: n } = x(), { is_flagged: a, is_hidden: i, has_been_viewed: l, parent_guid: d } = t.row, f = !l && !!!d;
74
74
  return /* @__PURE__ */ _(
75
75
  A,
76
76
  {
@@ -97,16 +97,16 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
97
97
  ]
98
98
  }
99
99
  );
100
- }, At = S(Tt), E = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), St = (t) => /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", gap: 8, children: [
100
+ }, Tt = S(bt), E = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "Small", children: t.colDef.headerName }), At = (t) => /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", gap: 8, children: [
101
101
  /* @__PURE__ */ e(
102
- Ke,
102
+ ze,
103
103
  {
104
104
  categoryGuid: t.row.top_level_category_guid || "",
105
105
  merchantGuid: t.row.merchant_guid || ""
106
106
  }
107
107
  ),
108
108
  /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "Small", children: t.row.payee })
109
- ] }), xt = ({
109
+ ] }), St = ({
110
110
  height: t = "100dvh",
111
111
  onCategoryClick: r,
112
112
  onRowClick: n
@@ -130,7 +130,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
130
130
  minWidth: 32,
131
131
  width: 32,
132
132
  sortable: !1,
133
- renderCell: (s) => /* @__PURE__ */ e(At, { ...s }),
133
+ renderCell: (s) => /* @__PURE__ */ e(Tt, { ...s }),
134
134
  renderHeader: () => /* @__PURE__ */ e("span", { "aria-label": a.transaction_status, role: "presentation" })
135
135
  },
136
136
  {
@@ -138,7 +138,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
138
138
  headerName: a.date_title,
139
139
  width: 103,
140
140
  renderHeader: E,
141
- renderCell: (s) => s.row.parent_guid ? null : /* @__PURE__ */ e(bt, { ...s }),
141
+ renderCell: (s) => s.row.parent_guid ? null : /* @__PURE__ */ e(yt, { ...s }),
142
142
  sortingOrder: ["desc", "asc"]
143
143
  },
144
144
  {
@@ -147,7 +147,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
147
147
  headerName: a.payee_title,
148
148
  flex: 0.33,
149
149
  renderHeader: E,
150
- renderCell: St,
150
+ renderCell: At,
151
151
  sortingOrder: ["asc", "desc"]
152
152
  },
153
153
  {
@@ -155,7 +155,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
155
155
  headerName: a.category_title,
156
156
  flex: 0.25,
157
157
  renderHeader: E,
158
- renderCell: (s) => /* @__PURE__ */ e(yt, { ...s }),
158
+ renderCell: (s) => /* @__PURE__ */ e(Ct, { ...s }),
159
159
  sortingOrder: ["asc", "desc"]
160
160
  },
161
161
  {
@@ -163,7 +163,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
163
163
  headerName: a.account_title,
164
164
  flex: 0.33,
165
165
  renderHeader: E,
166
- renderCell: (s) => s.row.parent_guid ? null : /* @__PURE__ */ e(ht, { ...s }),
166
+ renderCell: (s) => s.row.parent_guid ? null : /* @__PURE__ */ e(gt, { ...s }),
167
167
  sortingOrder: ["asc", "desc"]
168
168
  },
169
169
  {
@@ -171,14 +171,14 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
171
171
  headerName: a.amount_title,
172
172
  flex: 0.25,
173
173
  renderHeader: E,
174
- renderCell: ft,
174
+ renderCell: ht,
175
175
  align: "right",
176
176
  headerAlign: "right",
177
177
  sortingOrder: ["asc", "desc"]
178
178
  }
179
179
  ];
180
- return /* @__PURE__ */ e(Ue, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
181
- Fe,
180
+ return /* @__PURE__ */ e(Ge, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
181
+ Ue,
182
182
  {
183
183
  columns: g,
184
184
  disableColumnFilter: !0,
@@ -197,7 +197,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
197
197
  }
198
198
  }
199
199
  ) });
200
- }, wt = S(xt), It = ({ copy: t, isOpen: r, onClose: n, onPrimaryAction: a }) => {
200
+ }, xt = S(St), wt = ({ copy: t, isOpen: r, onClose: n, onPrimaryAction: a }) => {
201
201
  const { common: i, transactions: l } = x(), { isCopyLoaded: d } = K();
202
202
  return d ? /* @__PURE__ */ _(
203
203
  se,
@@ -216,7 +216,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
216
216
  ]
217
217
  }
218
218
  ) : /* @__PURE__ */ e(q, {});
219
- }, vt = S(It), Dt = () => {
219
+ }, It = S(wt), vt = () => {
220
220
  const { visibleAccounts: t } = re(), { common: r, transactions: n } = x(), { manualTransaction: a, setIsAmountValid: i, updateManualTransaction: l } = B(), [d, h] = u.useState(""), [f, m] = u.useState(""), p = u.useMemo(
221
221
  () => t.filter((o) => o.is_manual),
222
222
  [t]
@@ -246,7 +246,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
246
246
  sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
247
247
  children: [
248
248
  /* @__PURE__ */ e(
249
- dt,
249
+ lt,
250
250
  {
251
251
  allowDecimals: !0,
252
252
  amount: d,
@@ -262,7 +262,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
262
262
  type: "number"
263
263
  }
264
264
  ),
265
- /* @__PURE__ */ e(ct, { name: "TransactionType", onChange: w, row: !0, children: /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", children: [
265
+ /* @__PURE__ */ e(it, { name: "TransactionType", onChange: w, row: !0, children: /* @__PURE__ */ _(N, { alignItems: "center", direction: "row", children: [
266
266
  /* @__PURE__ */ e(
267
267
  ee,
268
268
  {
@@ -300,26 +300,26 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
300
300
  te,
301
301
  {
302
302
  InputLabelProps: { shrink: !0 },
303
- SelectProps: { defaultValue: -1, IconComponent: lt },
303
+ SelectProps: { defaultValue: -1, IconComponent: ct },
304
304
  label: n.manual_transaction_select_an_account,
305
305
  onChange: (o) => I(o.target.value),
306
306
  placeholder: n.manual_transaction_select,
307
307
  select: !0,
308
308
  sx: { bgcolor: "background.paper" },
309
- children: p.map((o) => /* @__PURE__ */ e(it, { value: o.value, children: o.label }, o.value))
309
+ children: p.map((o) => /* @__PURE__ */ e(st, { value: o.value, children: o.label }, o.value))
310
310
  }
311
311
  )
312
312
  ] }),
313
- /* @__PURE__ */ e(st, { light: !0 }),
313
+ /* @__PURE__ */ e(rt, { light: !0 }),
314
314
  /* @__PURE__ */ _(A, { bgcolor: "background.paper", children: [
315
+ /* @__PURE__ */ e(Le, { transaction: a }),
315
316
  /* @__PURE__ */ e(Re, { transaction: a }),
316
317
  /* @__PURE__ */ e(He, { transaction: a }),
317
- /* @__PURE__ */ e(Be, { transaction: a }),
318
- /* @__PURE__ */ e(Pe, { transaction: a })
318
+ /* @__PURE__ */ e(Be, { transaction: a })
319
319
  ] })
320
320
  ] });
321
- }, Nt = S(Dt), Ot = ({ onClose: t, transaction: r }) => {
322
- const { addOrUpdateTransactionRule: n, updateTransaction: a } = P(), { transactions: i } = x(), { categories: l } = je(), [d, h] = u.useState(""), f = u.useMemo(
321
+ }, Dt = S(vt), Nt = ({ onClose: t, transaction: r }) => {
322
+ const { addOrUpdateTransactionRule: n, updateTransaction: a } = P(), { transactions: i } = x(), { categories: l } = qe(), [d, h] = u.useState(""), f = u.useMemo(
323
323
  () => l.find((p) => p.guid === d),
324
324
  [d]
325
325
  ), m = async (p) => {
@@ -327,7 +327,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
327
327
  };
328
328
  return /* @__PURE__ */ _(A, { className: "mx-txn-edit-category-action", children: [
329
329
  /* @__PURE__ */ e(
330
- ut,
330
+ dt,
331
331
  {
332
332
  initialSelected: r.category_guid,
333
333
  onClose: t,
@@ -351,7 +351,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
351
351
  onSecondaryAction: () => m(!1),
352
352
  primaryText: i.actions_apply_to_all,
353
353
  secondaryText: i.actions_this_time_only,
354
- children: /* @__PURE__ */ e(qe, { variant: "Paragraph", children: ae(
354
+ children: /* @__PURE__ */ e(Ke, { variant: "Paragraph", children: ae(
355
355
  i.actions_all_past_and_future,
356
356
  r.description,
357
357
  f?.name
@@ -359,20 +359,20 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
359
359
  }
360
360
  )
361
361
  ] });
362
- }, Et = S(Ot), oe = 120, Mt = ({
362
+ }, Ot = S(Nt), oe = 120, Et = ({
363
363
  onBackClick: t,
364
364
  height: r = "100dvh",
365
365
  showInsights: n = !1,
366
366
  sx: a = {}
367
367
  }) => {
368
- const { visibleAccounts: i, refreshAccounts: l } = re(), { is_mobile_webview: d, clientConfig: h } = Xe(), { setSearchValue: f } = mt(), { onEvent: m } = Ye(), { common: p, transactions: g } = x(), {
368
+ const { visibleAccounts: i, refreshAccounts: l } = re(), { is_mobile_webview: d, clientConfig: h } = je(), { setSearchValue: f } = ut(), { onEvent: m } = Xe(), { common: p, transactions: g } = x(), {
369
369
  displayedDateRange: s,
370
370
  isCopyLoaded: w,
371
371
  isInitialized: O,
372
372
  selectedAccountGuids: I,
373
373
  setDisplayedDate: o,
374
374
  setSelectedAccounts: $
375
- } = K(), { isDesktop: ce, isTablet: le } = pt(), k = ot(), {
375
+ } = K(), { isDesktop: ce, isTablet: le } = _t(), k = nt(), {
376
376
  addTransaction: de,
377
377
  filter: j,
378
378
  loadAssociatedBeats: ue,
@@ -382,21 +382,20 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
382
382
  transactions: pe,
383
383
  updateTransaction: ge
384
384
  } = P(), {
385
- clearExpandedSplits: he,
386
- isAmountValid: fe,
387
385
  manualTransaction: L,
388
- searchValue: Ce,
389
- setSearchValue: ye,
390
- setShowInsights: be,
391
- updateManualTransaction: Te
392
- } = B(), { userProfile: Ae } = Je(), [W, y] = u.useState(""), [X, R] = u.useState(""), [Se, G] = u.useState(!1), [xe, Y] = u.useState(!1), [U, we] = u.useState(!1), v = h?.transactions?.selected_account_guid;
386
+ isAmountValid: he,
387
+ searchValue: fe,
388
+ setSearchValue: Ce,
389
+ setShowInsights: ye,
390
+ updateManualTransaction: be
391
+ } = B(), { userProfile: Te } = Ye(), [W, y] = u.useState(""), [X, R] = u.useState(""), [Ae, G] = u.useState(!1), [Se, Y] = u.useState(!1), [U, xe] = u.useState(!1), v = h?.transactions?.selected_account_guid;
393
392
  u.useEffect(() => {
394
- const c = v ? [{ guid: v }] : i.filter((D) => !D.is_hidden), Q = nt(z()), Z = tt(z());
393
+ const c = v ? [{ guid: v }] : i.filter((D) => !D.is_hidden), Q = at(z()), Z = et(z());
395
394
  v || $(c), o(Q, Z), V({
396
395
  accounts: c.map((D) => D.guid),
397
396
  custom: (D) => !D.accountIsClosed && !D.accountIsHidden,
398
397
  dateRange: { start: Q, end: Z }
399
- }), we(!0), m(T.TRANSACTIONS_VIEW);
398
+ }), xe(!0), m(T.TRANSACTIONS_VIEW);
400
399
  }, [i]), u.useEffect(() => {
401
400
  U && (V({
402
401
  ...j,
@@ -404,36 +403,36 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
404
403
  dateRange: { start: s.start, end: s.end }
405
404
  }), ue(s.start).finally());
406
405
  }, [U, s, I]), u.useEffect(() => {
407
- be(n);
406
+ ye(n);
408
407
  }, [n]);
409
- const Ie = u.useMemo(
408
+ const we = u.useMemo(
410
409
  () => i.filter((c) => c.is_manual),
411
410
  [i]
412
- ), b = X ? pe.find((c) => c.guid === X) : void 0, J = fe && !!L.payee && !!L.account_guid && !!L.category_guid, ve = (c) => {
413
- he(), o(c[0], c[1]);
414
- }, De = (c) => {
415
- ye(c), V({
411
+ ), b = X ? pe.find((c) => c.guid === X) : void 0, J = he && !!L.payee && !!L.account_guid && !!L.category_guid, Ie = (c) => {
412
+ o(c[0], c[1]);
413
+ }, ve = (c) => {
414
+ Ce(c), V({
416
415
  ...j,
417
416
  searchTerm: c
418
417
  }), m(T.TRANSACTIONS_CLICK_SEARCH, { search_term: c });
418
+ }, De = () => {
419
+ We(me, _e), m(T.TRANSACTIONS_CLICK_EXPORT);
419
420
  }, Ne = () => {
420
- Ge(me, _e), m(T.TRANSACTIONS_CLICK_EXPORT);
421
- }, Oe = () => {
422
- Ie.length > 0 ? (Te({
423
- ...We,
424
- date: at(z()),
425
- user_guid: Ae?.user_guid || ""
421
+ we.length > 0 ? (be({
422
+ ...Ve,
423
+ date: tt(z()),
424
+ user_guid: Te?.user_guid || ""
426
425
  }), y(
427
426
  "addTransaction"
428
427
  /* AddTransaction */
429
428
  ), m(T.TRANSACTIONS_CLICK_ADD)) : (G(!0), m(T.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
430
- }, Ee = async () => {
429
+ }, Oe = async () => {
431
430
  J && await de(L), y("");
432
- }, Me = () => {
431
+ }, Ee = () => {
433
432
  G(!1), Y(!0);
434
- }, ke = async () => {
433
+ }, Me = async () => {
435
434
  Y(!1), await l();
436
- }, Le = async () => {
435
+ }, ke = async () => {
437
436
  b && !b.has_been_viewed && await ge({ ...b, has_been_viewed: !0 }), y("");
438
437
  };
439
438
  if (!w || !O || !U)
@@ -442,18 +441,18 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
442
441
  return !d && (ce || le) && F.push({
443
442
  iconName: "open_in_new",
444
443
  label: g.export_csv_btn,
445
- onClick: Ne
444
+ onClick: De
446
445
  }), F.push({
447
446
  iconName: "add",
448
447
  label: g.add_transaction_btn,
449
- onClick: Oe
448
+ onClick: Ne
450
449
  }), /* @__PURE__ */ _(
451
- _t,
450
+ mt,
452
451
  {
453
452
  ...!v && { accountOptions: i },
454
453
  actions: F,
455
454
  calendarActions: {
456
- onRangeChanged: ve
455
+ onRangeChanged: Ie
457
456
  },
458
457
  onAccountsFilterClick: () => m(T.ACCOUNTS_CLICK_FILTER),
459
458
  onBackClick: t,
@@ -461,11 +460,11 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
461
460
  title: g.transactions_title,
462
461
  children: [
463
462
  /* @__PURE__ */ e(A, { mt: 16, children: /* @__PURE__ */ e(
464
- gt,
463
+ pt,
465
464
  {
466
- onChange: De,
465
+ onChange: ve,
467
466
  placeholder: g.action_bar_search_placeholder,
468
- searchValue: Ce
467
+ searchValue: fe
469
468
  }
470
469
  ) }),
471
470
  /* @__PURE__ */ e(
@@ -476,7 +475,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
476
475
  [k.breakpoints.up("md")]: { display: "block" }
477
476
  },
478
477
  children: /* @__PURE__ */ e(
479
- wt,
478
+ xt,
480
479
  {
481
480
  height: `calc(${r} - ${oe}px)`,
482
481
  onCategoryClick: (c) => {
@@ -503,7 +502,7 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
503
502
  [k.breakpoints.up("md")]: { display: "none" }
504
503
  },
505
504
  children: /* @__PURE__ */ e(
506
- $e,
505
+ Pe,
507
506
  {
508
507
  height: `calc(${r} - ${oe}px)`,
509
508
  onClick: (c) => {
@@ -523,13 +522,13 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
523
522
  {
524
523
  ariaLabelClose: p.close_aria,
525
524
  isOpen: W === "transaction" && !!b,
526
- onClose: Le,
525
+ onClose: ke,
527
526
  title: g.details_title,
528
- children: b && /* @__PURE__ */ e(Ve, { transaction: b })
527
+ children: b && /* @__PURE__ */ e($e, { transaction: b })
529
528
  }
530
529
  ),
531
530
  b && W === "category" && /* @__PURE__ */ e(
532
- Et,
531
+ Ot,
533
532
  {
534
533
  onClose: () => {
535
534
  f(""), y(""), R("");
@@ -544,47 +543,47 @@ const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small",
544
543
  isOpen: W === "addTransaction",
545
544
  isPrimaryDisabled: !J,
546
545
  onClose: () => y(""),
547
- onPrimaryAction: Ee,
546
+ onPrimaryAction: Oe,
548
547
  title: g.add_transaction_title,
549
- children: /* @__PURE__ */ e(Nt, {})
548
+ children: /* @__PURE__ */ e(Dt, {})
550
549
  }
551
550
  ),
552
551
  /* @__PURE__ */ e(
553
- vt,
552
+ It,
554
553
  {
555
554
  copy: { title: g.add_manual_account },
556
- isOpen: Se,
555
+ isOpen: Ae,
557
556
  onClose: () => {
558
557
  G(!1);
559
558
  },
560
- onPrimaryAction: Me
559
+ onPrimaryAction: Ee
561
560
  }
562
561
  ),
563
562
  /* @__PURE__ */ e(
564
- rt,
563
+ ot,
565
564
  {
566
- onClose: ke,
567
- showConnectWidget: xe,
565
+ onClose: Me,
566
+ showConnectWidget: Se,
568
567
  title: g.add_manual_account
569
568
  }
570
569
  )
571
570
  ]
572
571
  }
573
572
  );
574
- }, pa = S(Mt);
573
+ }, _a = S(Et);
575
574
  export {
576
- vt as AddAccountModal,
577
- ya as BottomActions,
578
- va as ExportCsvAction,
579
- Sa as TRANSACTION_EVENTS,
580
- ba as TopActions,
581
- fa as TransactionApi,
582
- Ve as TransactionDetails,
583
- $e as TransactionList,
584
- Ta as TransactionRow,
585
- wa as TransactionStore,
586
- wt as TransactionTable,
587
- pa as TransactionWidget,
588
- Ge as exportTransactionsToCSV,
575
+ It as AddAccountModal,
576
+ Ca as BottomActions,
577
+ Ia as ExportCsvAction,
578
+ Aa as TRANSACTION_EVENTS,
579
+ ya as TopActions,
580
+ ha as TransactionApi,
581
+ $e as TransactionDetails,
582
+ Pe as TransactionList,
583
+ ba as TransactionRow,
584
+ xa as TransactionStore,
585
+ xt as TransactionTable,
586
+ _a as TransactionWidget,
587
+ We as exportTransactionsToCSV,
589
588
  B as useTransactionsUiStore
590
589
  };
@@ -21,8 +21,8 @@ import { c as ve } from "../Category-CevNQ03n.mjs";
21
21
  import { b as nt } from "../Localization-2MODESHW.mjs";
22
22
  import { H as _e } from "../HeaderCell-DjuifqHJ.mjs";
23
23
  import { T as R, b as ot } from "../ViewMoreMicroCard-BZI5VMNW.mjs";
24
- import { A as _, W as Me } from "../WidgetContainer-C2NBfpDg.mjs";
25
- import { a as Ae, T as Re } from "../TransactionDetails-DYF-P762.mjs";
24
+ import { A as _, W as Me } from "../WidgetContainer-BHhhVctF.mjs";
25
+ import { a as Ae, T as Re } from "../TransactionDetails-DFDYdDae.mjs";
26
26
  import { D as Ce } from "../Drawer-kEE73B87.mjs";
27
27
  import { L as q } from "../Loader-Dp1P2gNw.mjs";
28
28
  import { useTheme as ke } from "@mui/material/styles";
@@ -43,7 +43,7 @@ import yt from "@mui/material/Divider";
43
43
  import { useTheme as _t, Stack as bt } from "@mui/material";
44
44
  import St from "@mui/material/Paper";
45
45
  import { b as wt } from "../CategoryUtil-BR3H5i6n.mjs";
46
- import { E as Dt } from "../ExportCsvAction-CbMfQ2Wa.mjs";
46
+ import { E as Dt } from "../ExportCsvAction-CvyiKLTh.mjs";
47
47
  import { E as It } from "../EmptyState-Dcb-o2tl.mjs";
48
48
  const Ne = ({ selectedTab: n, onTabChange: o }) => /* @__PURE__ */ e(
49
49
  qe,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "7.0.11-alpha.mega1",
3
+ "version": "7.0.12",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",