@mx-cartographer/experiences 8.2.3 → 8.2.4-alpha-ram1-bug-testing

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 (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
  3. package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
  4. package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
  5. package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
  6. package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
  7. package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
  8. package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
  10. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  11. package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
  12. package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
  13. package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
  14. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  15. package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
  16. package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
  17. package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
  18. package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
  19. package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
  20. package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
  21. package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
  22. package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  23. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
  24. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  25. package/dist/Select-BFt-HD-L.mjs +55 -0
  26. package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
  27. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  28. package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
  29. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
  30. package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
  31. package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
  32. package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
  33. package/dist/accounts/index.es.js +199 -194
  34. package/dist/analytics/index.es.js +1 -1
  35. package/dist/budgets/index.es.js +183 -184
  36. package/dist/cashflow/index.es.js +70 -80
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  39. package/dist/common/components/WidgetContainer.d.ts +1 -1
  40. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  41. package/dist/common/hooks/usePrevious.d.ts +1 -1
  42. package/dist/common/index.es.js +206 -194
  43. package/dist/common/utils/Theme.d.ts +6 -5
  44. package/dist/common/utils/index.d.ts +1 -1
  45. package/dist/dashboard/index.es.js +47 -47
  46. package/dist/debts/index.es.js +140 -140
  47. package/dist/finstrong/index.es.js +40 -32
  48. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  49. package/dist/goals/index.es.js +154 -165
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  52. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  53. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  54. package/dist/insights/index.es.js +677 -687
  55. package/dist/insights/themes/Typography.d.ts +0 -2
  56. package/dist/investments/index.es.js +205 -207
  57. package/dist/merchants/index.es.js +1 -1
  58. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  59. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
  60. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
  61. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
  62. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  63. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/microinsights/interfaces.d.ts +11 -5
  66. package/dist/networth/index.es.js +85 -87
  67. package/dist/notifications/index.es.js +7 -8
  68. package/dist/recurringtransactions/index.es.js +53 -53
  69. package/dist/settings/index.es.js +111 -111
  70. package/dist/spending/index.es.js +7 -7
  71. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  72. package/dist/transactions/index.es.js +138 -140
  73. package/dist/trends/index.es.js +293 -292
  74. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  75. package/package.json +29 -23
  76. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  77. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -1,21 +1,21 @@
1
- import { C as Re, D as Be, M as He, a as Pe, T as $e } from "../TransactionDetails-CbBSxdOi.mjs";
2
- import { B as wa, b as Sa } from "../TransactionDetails-CbBSxdOi.mjs";
3
- import { u as B, T as Ve } from "../EmbeddedCard-BNl3quCs.mjs";
4
- import { a as va } from "../EmbeddedCard-BNl3quCs.mjs";
5
- import { E as Na } from "../ExportCsvAction-hDprC41l.mjs";
1
+ import { C as Be, D as He, M as Pe, a as We, T as $e } from "../TransactionDetails-C3dlAzYf.mjs";
2
+ import { B as xa, b as Aa } from "../TransactionDetails-C3dlAzYf.mjs";
3
+ import { u as B, T as Ge } from "../EmbeddedCard-DPwJjqMH.mjs";
4
+ import { a as Sa } from "../EmbeddedCard-DPwJjqMH.mjs";
5
+ import { E as va } from "../ExportCsvAction-Bw02ZJEj.mjs";
6
6
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
7
7
  import u from "react";
8
8
  import { observer as D } from "mobx-react-lite";
9
- import We from "@mui/material/Paper";
10
- import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
11
- import { h as H, u as v, g as ne, b as K, d as oe, l as Fe, a as Ue, C as Ke } from "../hooks-BaO_gOI6.mjs";
9
+ import Ve from "@mui/material/Paper";
10
+ import { DataGridPro as Fe } from "@mui/x-data-grid-pro";
11
+ import { h as H, u as v, g as ne, b as K, d as oe, l as Ue, a as Ke, C as ze } from "../hooks-BaO_gOI6.mjs";
12
12
  import { L as z } from "../Loader-CxeBwuPG.mjs";
13
- import { Text as y, Icon as R, MerchantLogo as ze, TextField as Z, P as qe } from "@mxenabled/mxui";
13
+ import { Text as y, Icon as R, MerchantLogo as qe, TextField as Z, P as Ye } from "@mxenabled/mxui";
14
14
  import w from "@mui/material/Stack";
15
15
  import { f as re } from "../NumberFormatting--XMeeBfr.mjs";
16
- import { T as k, e as Ye, D as je } from "../TransactionUtils-BphBJBbU.mjs";
16
+ import { T as k, e as je, D as Xe } from "../TransactionUtils-BphBJBbU.mjs";
17
17
  import S from "@mui/material/Box";
18
- import { useTheme as Xe } from "@mui/material/styles";
18
+ import { useTheme as ie } from "@mui/material/styles";
19
19
  import { fromUnixTime as Je } from "date-fns/fromUnixTime";
20
20
  import { f as Qe, D as Ze } from "../DateFormats-HudZ3Bjs.mjs";
21
21
  import { A } from "../Analytics-CzGzz_sE.mjs";
@@ -23,28 +23,27 @@ import { endOfMonth as et } from "date-fns/endOfMonth";
23
23
  import { getUnixTime as tt } from "date-fns/getUnixTime";
24
24
  import { startOfMonth as at } from "date-fns/startOfMonth";
25
25
  import { startOfToday as F } from "date-fns/startOfToday";
26
- import nt from "@mui/material/styles/useTheme";
27
26
  import { b as U } from "../Localization-DnoVyBNK.mjs";
28
- import { C as ot } from "../ConnectDrawer-DgfsTpyW.mjs";
29
- import rt from "@mui/material/Divider";
30
- import it from "@mui/material/MenuItem";
31
- import st from "@mui/material/RadioGroup";
32
- import { ExpandMore as ct } from "@mxenabled/mx-icons";
33
- import { C as lt } from "../CurrencyInput-B59ugxPN.mjs";
34
- import { S as ee } from "../SelectionBox-Bx2a5rh4.mjs";
35
- import { D as ie } from "../Dialog-iLlBR8TG.mjs";
36
- import { b as dt, u as ut } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
37
- import { u as mt } from "../useAriaLive-MkYebyUR.mjs";
38
- import { S as _t } from "../SkeletonLoader-BaNboJjD.mjs";
39
- import { u as pt } from "../useScreenSize-CeFhWTt_.mjs";
40
- import { u as gt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
- import { W as ht } from "../WidgetContainer-CYcmwsSu.mjs";
42
- import { S as ft } from "../SearchBox-CwDgvWVJ.mjs";
43
- import { D as te } from "../Drawer-XPaLYjiO.mjs";
44
- const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
27
+ import { C as nt } from "../ConnectDrawer-Cnjr3Ddg.mjs";
28
+ import ot from "@mui/material/Divider";
29
+ import rt from "@mui/material/MenuItem";
30
+ import it from "@mui/material/RadioGroup";
31
+ import { ExpandMore as st } from "@mxenabled/mx-icons";
32
+ import { C as ct } from "../CurrencyInput-adTIRtL3.mjs";
33
+ import { S as ee } from "../SelectionBox-B4xELRgp.mjs";
34
+ import { D as se } from "../Dialog-CwWc0AbH.mjs";
35
+ import { b as lt, u as dt } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
36
+ import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
37
+ import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
38
+ import { u as _t } from "../useScreenSize-mWpmnh5w.mjs";
39
+ import { u as pt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
40
+ import { W as gt } from "../WidgetContainer-DNuz_s7W.mjs";
41
+ import { S as ht } from "../SearchBox-Cpgu_gdO.mjs";
42
+ import { D as te } from "../Drawer-BXqqBMxg.mjs";
43
+ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
45
44
  `${t.row.account}`,
46
45
  t.row.number && ` | ${t.row.number}`
47
- ] }), yt = (t) => {
46
+ ] }), Ct = (t) => {
48
47
  const { associatedBeats: r } = H(), { showInsights: i } = B(), { amount: a, transaction_type: s } = t.row, c = r.find((p) => p.associated_transaction_guid === t.row.guid), l = s === k.CREDIT;
49
48
  return /* @__PURE__ */ m(w, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
50
49
  /* @__PURE__ */ m(y, { bold: l, color: l ? "success.main" : "text.primary", variant: "body2", children: [
@@ -53,7 +52,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
53
52
  ] }),
54
53
  c && i && /* @__PURE__ */ e(y, { bold: !0, color: "primary.light", variant: "caption", children: c.short_title })
55
54
  ] });
56
- }, bt = (t) => {
55
+ }, yt = (t) => {
57
56
  const { transactions: r } = v(), [i, a] = u.useState(!1);
58
57
  return /* @__PURE__ */ m(
59
58
  w,
@@ -72,8 +71,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
72
71
  ]
73
72
  }
74
73
  );
75
- }, Tt = D(bt), xt = (t) => /* @__PURE__ */ e(y, { tabIndex: t.tabIndex, variant: "body2", children: Qe(Je(t.row.date), Ze.MONTH_DAY) }), At = (t) => {
76
- const r = Xe(), i = r.palette.mode === "dark", { transactions: a } = v(), { is_flagged: s, is_hidden: c, has_been_viewed: l, parent_guid: p } = t.row, f = !l && !!!p;
74
+ }, bt = D(yt), Tt = (t) => /* @__PURE__ */ e(y, { tabIndex: t.tabIndex, variant: "body2", children: Qe(Je(t.row.date), Ze.MONTH_DAY) }), xt = (t) => {
75
+ const r = ie(), i = r.palette.mode === "dark", { transactions: a } = v(), { is_flagged: s, is_hidden: c, has_been_viewed: l, parent_guid: p } = t.row, f = !l && !!!p;
77
76
  return /* @__PURE__ */ m(
78
77
  S,
79
78
  {
@@ -108,9 +107,9 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
108
107
  ]
109
108
  }
110
109
  );
111
- }, wt = D(At), E = (t) => /* @__PURE__ */ e(y, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), St = (t) => /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", gap: 8, children: [
110
+ }, At = D(xt), E = (t) => /* @__PURE__ */ e(y, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), wt = (t) => /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", gap: 8, children: [
112
111
  /* @__PURE__ */ e(
113
- ze,
112
+ qe,
114
113
  {
115
114
  categoryGuid: t.row.top_level_category_guid || "",
116
115
  merchantGuid: t.row.merchant_guid || ""
@@ -120,7 +119,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
120
119
  /* @__PURE__ */ e(y, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee }),
121
120
  t.row.is_hidden && /* @__PURE__ */ e(y, { variant: "caption", children: t.excludedText })
122
121
  ] })
123
- ] }), Dt = ({
122
+ ] }), St = ({
124
123
  height: t = "100dvh",
125
124
  onCategoryClick: r,
126
125
  onRowClick: i
@@ -146,7 +145,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
146
145
  minWidth: 32,
147
146
  width: 32,
148
147
  sortable: !1,
149
- renderCell: (o) => /* @__PURE__ */ e(wt, { ...o }),
148
+ renderCell: (o) => /* @__PURE__ */ e(At, { ...o }),
150
149
  renderHeader: () => /* @__PURE__ */ e("span", { "aria-label": s.transaction_status, role: "presentation" })
151
150
  },
152
151
  {
@@ -154,7 +153,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
154
153
  headerName: s.date_title,
155
154
  width: 103,
156
155
  renderHeader: E,
157
- renderCell: (o) => o.row.parent_guid ? null : /* @__PURE__ */ e(xt, { ...o }),
156
+ renderCell: (o) => o.row.parent_guid ? null : /* @__PURE__ */ e(Tt, { ...o }),
158
157
  sortingOrder: ["desc", "asc"]
159
158
  },
160
159
  {
@@ -163,7 +162,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
163
162
  headerName: s.payee_title,
164
163
  flex: 0.33,
165
164
  renderHeader: E,
166
- renderCell: (o) => /* @__PURE__ */ e(St, { ...o, excludedText: s.is_excluded }),
165
+ renderCell: (o) => /* @__PURE__ */ e(wt, { ...o, excludedText: s.is_excluded }),
167
166
  sortingOrder: ["asc", "desc"]
168
167
  },
169
168
  {
@@ -171,7 +170,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
171
170
  headerName: s.category_title,
172
171
  flex: 0.25,
173
172
  renderHeader: E,
174
- renderCell: (o) => /* @__PURE__ */ e(Tt, { ...o }),
173
+ renderCell: (o) => /* @__PURE__ */ e(bt, { ...o }),
175
174
  sortingOrder: ["asc", "desc"]
176
175
  },
177
176
  {
@@ -179,7 +178,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
179
178
  headerName: s.account_title,
180
179
  flex: 0.33,
181
180
  renderHeader: E,
182
- renderCell: (o) => o.row.parent_guid ? null : /* @__PURE__ */ e(Ct, { ...o }),
181
+ renderCell: (o) => o.row.parent_guid ? null : /* @__PURE__ */ e(ft, { ...o }),
183
182
  sortingOrder: ["asc", "desc"]
184
183
  },
185
184
  {
@@ -187,14 +186,14 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
187
186
  headerName: s.amount_title,
188
187
  flex: 0.25,
189
188
  renderHeader: E,
190
- renderCell: yt,
189
+ renderCell: Ct,
191
190
  align: "right",
192
191
  headerAlign: "right",
193
192
  sortingOrder: ["asc", "desc"]
194
193
  }
195
194
  ];
196
- return /* @__PURE__ */ e(We, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
197
- Ge,
195
+ return /* @__PURE__ */ e(Ve, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
196
+ Fe,
198
197
  {
199
198
  columns: g,
200
199
  disableColumnFilter: !0,
@@ -218,7 +217,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
218
217
  }
219
218
  }
220
219
  ) });
221
- }, vt = D(Dt), It = () => {
220
+ }, Dt = D(St), vt = () => {
222
221
  const { visibleAccounts: t } = oe(), { common: r, transactions: i } = v(), { manualTransaction: a, setIsAmountValid: s, updateManualTransaction: c } = B(), [l, p] = u.useState(""), [b, f] = u.useState(""), C = u.useMemo(
223
222
  () => t.filter((n) => n.is_manual),
224
223
  [t]
@@ -248,15 +247,12 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
248
247
  sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
249
248
  children: [
250
249
  /* @__PURE__ */ e(
251
- lt,
250
+ ct,
252
251
  {
253
252
  allowDecimals: !0,
254
253
  amount: l,
255
254
  ariaLabel: i.amount_title,
256
255
  copy: h,
257
- inputProps: {
258
- noValidate: !0
259
- },
260
256
  label: i.amount_title,
261
257
  setAmount: I,
262
258
  setHasValidInput: s,
@@ -264,7 +260,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
264
260
  type: "number"
265
261
  }
266
262
  ),
267
- /* @__PURE__ */ e(st, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", children: [
263
+ /* @__PURE__ */ e(it, { name: "TransactionType", onChange: g, row: !0, children: /* @__PURE__ */ m(w, { alignItems: "center", direction: "row", children: [
268
264
  /* @__PURE__ */ e(
269
265
  ee,
270
266
  {
@@ -301,29 +297,31 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
301
297
  /* @__PURE__ */ e(
302
298
  Z,
303
299
  {
304
- InputLabelProps: { shrink: !0 },
305
- SelectProps: { defaultValue: -1, IconComponent: ct },
306
300
  label: i.manual_transaction_select_an_account,
307
301
  onChange: (n) => _(n.target.value),
308
302
  placeholder: i.manual_transaction_select,
309
303
  select: !0,
304
+ slotProps: {
305
+ inputLabel: { shrink: !0 },
306
+ select: { defaultValue: -1, IconComponent: st }
307
+ },
310
308
  sx: { bgcolor: "background.paper" },
311
- children: C.map((n) => /* @__PURE__ */ e(it, { value: n.value, children: n.label }, n.value))
309
+ children: C.map((n) => /* @__PURE__ */ e(rt, { value: n.value, children: n.label }, n.value))
312
310
  }
313
311
  )
314
312
  ] }),
315
- /* @__PURE__ */ e(rt, { light: !0 }),
313
+ /* @__PURE__ */ e(ot, { light: !0 }),
316
314
  /* @__PURE__ */ m(S, { bgcolor: "background.paper", children: [
317
- /* @__PURE__ */ e(Re, { transaction: a }),
318
315
  /* @__PURE__ */ e(Be, { transaction: a }),
319
316
  /* @__PURE__ */ e(He, { transaction: a }),
320
- /* @__PURE__ */ e(Pe, { transaction: a })
317
+ /* @__PURE__ */ e(Pe, { transaction: a }),
318
+ /* @__PURE__ */ e(We, { transaction: a })
321
319
  ] })
322
320
  ] });
323
- }, Nt = D(It), Et = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
321
+ }, It = D(vt), Nt = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
324
322
  const { common: s, transactions: c } = v(), { isCopyLoaded: l } = K();
325
323
  return l ? /* @__PURE__ */ m(
326
- ie,
324
+ se,
327
325
  {
328
326
  copy: {
329
327
  title: t.title
@@ -339,8 +337,8 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
339
337
  ]
340
338
  }
341
339
  ) : /* @__PURE__ */ e(z, {});
342
- }, kt = D(Et), Ot = ({ onClose: t, transaction: r }) => {
343
- const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } = Fe(), [l, p] = u.useState(""), b = u.useMemo(
340
+ }, Et = D(Nt), kt = ({ onClose: t, transaction: r }) => {
341
+ const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: s } = v(), { categories: c } = Ue(), [l, p] = u.useState(""), b = u.useMemo(
344
342
  () => c.find((C) => C.guid === l),
345
343
  [l]
346
344
  ), f = async (C) => {
@@ -348,7 +346,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
348
346
  };
349
347
  return /* @__PURE__ */ m(S, { className: "mx-txn-edit-category-action", children: [
350
348
  /* @__PURE__ */ e(
351
- dt,
349
+ lt,
352
350
  {
353
351
  initialSelected: r.category_guid,
354
352
  onClose: t,
@@ -358,7 +356,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
358
356
  }
359
357
  ),
360
358
  /* @__PURE__ */ e(
361
- ie,
359
+ se,
362
360
  {
363
361
  copy: {
364
362
  title: U(
@@ -372,7 +370,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
372
370
  onSecondaryAction: () => f(!1),
373
371
  primaryText: s.actions_apply_to_all,
374
372
  secondaryText: s.actions_this_time_only,
375
- children: /* @__PURE__ */ e(qe, { variant: "subtitle1", children: U(
373
+ children: /* @__PURE__ */ e(Ye, { variant: "subtitle1", children: U(
376
374
  s.actions_all_past_and_future,
377
375
  r.description,
378
376
  b?.name
@@ -380,112 +378,112 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
380
378
  }
381
379
  )
382
380
  ] });
383
- }, Lt = D(Ot), ae = 120, Mt = ({
381
+ }, Ot = D(kt), ae = 120, Lt = ({
384
382
  onBackClick: t,
385
383
  onMenuClick: r,
386
384
  height: i = "100dvh",
387
385
  showInsights: a = !1,
388
386
  sx: s = {}
389
387
  }) => {
390
- const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } = Ue(), { setSearchValue: C } = ut(), { onEvent: h } = ne(), { common: I, transactions: g } = v(), { displayedDateRange: o, isInitialized: _, selectedAccountGuids: n, setDisplayedDate: N } = K(), { isDesktop: se, isTablet: ce } = pt(), O = nt(), {
391
- addTransaction: le,
392
- filter: de,
388
+ const { manualAccounts: c, refreshAccounts: l } = oe(), { is_mobile_webview: p, clientConfig: b, config: f } = Ke(), { setSearchValue: C } = dt(), { onEvent: h } = ne(), { common: I, transactions: g } = v(), { displayedDateRange: o, isInitialized: _, selectedAccountGuids: n, setDisplayedDate: N } = K(), { isDesktop: ce, isTablet: le } = _t(), O = ie(), {
389
+ addTransaction: de,
390
+ filter: ue,
393
391
  isTransactionDataLoaded: P,
394
- loadTransactionData: ue,
392
+ loadTransactionData: me,
395
393
  setFilter: q,
396
394
  sortedTransactions: Y,
397
- sortedTransactionsWithSplits: me,
398
- tags: _e,
399
- detailedTransactions: pe,
400
- updateTransaction: ge
395
+ sortedTransactionsWithSplits: _e,
396
+ tags: pe,
397
+ detailedTransactions: ge,
398
+ updateTransaction: he
401
399
  } = H(), {
402
- clearExpandedSplits: he,
403
- isAmountValid: fe,
400
+ clearExpandedSplits: fe,
401
+ isAmountValid: Ce,
404
402
  manualTransaction: L,
405
403
  searchValue: j,
406
- setSearchValue: Ce,
407
- setShowInsights: ye,
408
- updateManualTransaction: be
409
- } = B(), { userProfile: Te } = Ke(), [$, T] = u.useState(""), [X, M] = u.useState(""), [xe, V] = u.useState(!1), [Ae, J] = u.useState(!1), { announce: we, ariaLive: Se } = mt(), W = b?.transactions?.selected_account_guid;
410
- gt({
404
+ setSearchValue: ye,
405
+ setShowInsights: be,
406
+ updateManualTransaction: Te
407
+ } = B(), { userProfile: xe } = ze(), [W, T] = u.useState(""), [X, M] = u.useState(""), [Ae, $] = u.useState(!1), [we, J] = u.useState(!1), { announce: Se, ariaLive: De } = ut(), G = b?.transactions?.selected_account_guid;
408
+ pt({
411
409
  widgetName: "TransactionWidget",
412
410
  isLoaded: P
413
411
  }), u.useEffect(() => {
414
- P || ue().finally();
415
- const d = at(F()), Me = et(F());
416
- N(d, Me), h(A.TRANSACTIONS_VIEW);
412
+ P || me().finally();
413
+ const d = at(F()), Re = et(F());
414
+ N(d, Re), h(A.TRANSACTIONS_VIEW);
417
415
  }, []), u.useEffect(() => {
418
416
  _ && q({
419
- accounts: W ? [W] : n,
417
+ accounts: G ? [G] : n,
420
418
  dateRange: { start: o.start, end: o.end },
421
419
  searchTerm: j
422
420
  });
423
421
  }, [_, o, n]), u.useEffect(() => {
424
- ye(a);
422
+ be(a);
425
423
  }, [a]), u.useEffect(() => {
426
- _ && we(
424
+ _ && Se(
427
425
  U(g.showing_transactions_count, Y.length)
428
426
  );
429
427
  }, [_, Y]);
430
- const x = X ? pe.find((d) => d.guid === X) : void 0, Q = fe && !!L.payee && !!L.account_guid && !!L.category_guid, De = (d) => {
431
- he(), N(d[0], d[1]);
432
- }, ve = (d) => {
433
- Ce(d), q({
434
- ...de,
428
+ const x = X ? ge.find((d) => d.guid === X) : void 0, Q = Ce && !!L.payee && !!L.account_guid && !!L.category_guid, ve = (d) => {
429
+ fe(), N(d[0], d[1]);
430
+ }, Ie = (d) => {
431
+ ye(d), q({
432
+ ...ue,
435
433
  searchTerm: d
436
434
  }), h(A.TRANSACTIONS_CLICK_SEARCH, { search_term: d });
437
- }, Ie = () => {
438
- Ye(me, _e), h(A.TRANSACTIONS_CLICK_EXPORT);
439
435
  }, Ne = () => {
440
- c.length > 0 ? (be({
441
- ...je,
436
+ je(_e, pe), h(A.TRANSACTIONS_CLICK_EXPORT);
437
+ }, Ee = () => {
438
+ c.length > 0 ? (Te({
439
+ ...Xe,
442
440
  date: tt(F()),
443
- user_guid: Te?.user_guid || ""
441
+ user_guid: xe?.user_guid || ""
444
442
  }), T(
445
443
  "addTransaction"
446
444
  /* AddTransaction */
447
- ), h(A.TRANSACTIONS_CLICK_ADD)) : (V(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
448
- }, Ee = async () => {
449
- Q && await le(L), T("");
450
- }, ke = () => {
451
- V(!1), J(!0);
452
- }, Oe = async () => {
453
- J(!1), await l();
445
+ ), h(A.TRANSACTIONS_CLICK_ADD)) : ($(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
446
+ }, ke = async () => {
447
+ Q && await de(L), T("");
448
+ }, Oe = () => {
449
+ $(!1), J(!0);
454
450
  }, Le = async () => {
455
- x && !x.has_been_viewed && await ge({ ...x, has_been_viewed: !0 }), T("");
451
+ J(!1), await l();
452
+ }, Me = async () => {
453
+ x && !x.has_been_viewed && await he({ ...x, has_been_viewed: !0 }), T("");
456
454
  };
457
455
  if (!_)
458
456
  return /* @__PURE__ */ e(z, {});
459
- const G = [];
460
- return !p && (se || ce) && G.push({
457
+ const V = [];
458
+ return !p && (ce || le) && V.push({
461
459
  iconName: "open_in_new",
462
460
  label: g.export_csv_btn,
463
- onClick: Ie
464
- }), f.show_connections_widget_in_master && G.push({
461
+ onClick: Ne
462
+ }), f.show_connections_widget_in_master && V.push({
465
463
  iconName: "add",
466
464
  label: g.add_transaction_btn,
467
- onClick: Ne
465
+ onClick: Ee
468
466
  }), /* @__PURE__ */ m(
469
- ht,
467
+ gt,
470
468
  {
471
- actions: G,
469
+ actions: V,
472
470
  calendarActions: {
473
- onRangeChanged: De
471
+ onRangeChanged: ve
474
472
  },
475
473
  hasDivider: !0,
476
474
  onAccountsFilterClick: () => h(A.ACCOUNTS_CLICK_FILTER),
477
475
  onBackClick: t,
478
476
  onMenuClick: r,
479
- showAccountFilter: !W,
477
+ showAccountFilter: !G,
480
478
  sx: s,
481
479
  title: g.transactions_title,
482
480
  children: [
483
481
  P ? /* @__PURE__ */ m(w, { children: [
484
- Se,
482
+ De,
485
483
  /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(
486
- ft,
484
+ ht,
487
485
  {
488
- onChange: ve,
486
+ onChange: Ie,
489
487
  placeholder: g.action_bar_search_placeholder,
490
488
  searchValue: j
491
489
  }
@@ -498,7 +496,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
498
496
  [O.breakpoints.up("md")]: { display: "block" }
499
497
  },
500
498
  children: /* @__PURE__ */ e(
501
- vt,
499
+ Dt,
502
500
  {
503
501
  height: `calc(${i} - ${ae}px)`,
504
502
  onCategoryClick: (d) => {
@@ -525,7 +523,7 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
525
523
  [O.breakpoints.up("md")]: { display: "none" }
526
524
  },
527
525
  children: /* @__PURE__ */ e(
528
- Ve,
526
+ Ge,
529
527
  {
530
528
  height: `calc(${i} - ${ae}px)`,
531
529
  onClick: (d) => {
@@ -539,19 +537,19 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
539
537
  )
540
538
  }
541
539
  )
542
- ] }) : /* @__PURE__ */ e(_t, { sx: { m: 48 }, variant: "list" }),
540
+ ] }) : /* @__PURE__ */ e(mt, { sx: { m: 48 }, variant: "list" }),
543
541
  /* @__PURE__ */ e(
544
542
  te,
545
543
  {
546
544
  ariaLabelClose: I.close_aria,
547
- isOpen: $ === "transaction" && !!x,
548
- onClose: Le,
545
+ isOpen: W === "transaction" && !!x,
546
+ onClose: Me,
549
547
  title: g.details_title,
550
548
  children: x && /* @__PURE__ */ e($e, { transaction: x })
551
549
  }
552
550
  ),
553
- x && $ === "category" && /* @__PURE__ */ e(
554
- Lt,
551
+ x && W === "category" && /* @__PURE__ */ e(
552
+ Ot,
555
553
  {
556
554
  onClose: () => {
557
555
  C(""), T(""), M("");
@@ -563,45 +561,45 @@ const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
563
561
  te,
564
562
  {
565
563
  ariaLabelClose: I.close_aria,
566
- isOpen: $ === "addTransaction",
564
+ isOpen: W === "addTransaction",
567
565
  isPrimaryDisabled: !Q,
568
566
  onClose: () => T(""),
569
- onPrimaryAction: Ee,
567
+ onPrimaryAction: ke,
570
568
  title: g.add_transaction_title,
571
- children: /* @__PURE__ */ e(Nt, {})
569
+ children: /* @__PURE__ */ e(It, {})
572
570
  }
573
571
  ),
574
572
  /* @__PURE__ */ e(
575
- kt,
573
+ Et,
576
574
  {
577
575
  copy: { title: g.add_manual_account },
578
- isOpen: xe,
576
+ isOpen: Ae,
579
577
  onClose: () => {
580
- V(!1);
578
+ $(!1);
581
579
  },
582
- onPrimaryAction: ke
580
+ onPrimaryAction: Oe
583
581
  }
584
582
  ),
585
583
  /* @__PURE__ */ e(
586
- ot,
584
+ nt,
587
585
  {
588
- onClose: Oe,
589
- showConnectWidget: Ae,
586
+ onClose: Le,
587
+ showConnectWidget: we,
590
588
  title: g.add_manual_account
591
589
  }
592
590
  )
593
591
  ]
594
592
  }
595
593
  );
596
- }, Ta = D(Mt);
594
+ }, ya = D(Lt);
597
595
  export {
598
- wa as BottomActions,
599
- Na as ExportCsvAction,
600
- Sa as TopActions,
596
+ xa as BottomActions,
597
+ va as ExportCsvAction,
598
+ Aa as TopActions,
601
599
  $e as TransactionDetails,
602
- Ve as TransactionList,
603
- va as TransactionRow,
604
- vt as TransactionTable,
605
- Ta as TransactionWidget,
600
+ Ge as TransactionList,
601
+ Sa as TransactionRow,
602
+ Dt as TransactionTable,
603
+ ya as TransactionWidget,
606
604
  B as useTransactionsUiStore
607
605
  };