@mx-cartographer/experiences 8.1.9 → 8.1.10

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 (60) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{AccountDetailsHeader-D8NIfmO8.mjs → AccountDetailsHeader-CzefHTWU.mjs} +2 -2
  3. package/dist/{AccountListItem-DSuv36PF.mjs → AccountListItem-DRDxaRBe.mjs} +2 -2
  4. package/dist/{AccountStore-B3S_p5Qa.mjs → AccountStore-CGrjC2Oe.mjs} +1 -1
  5. package/dist/BeatStore-C7-PIhpB.mjs +163 -0
  6. package/dist/{BudgetUtil-DalEN9--.mjs → BudgetUtil-H9igoNVm.mjs} +1 -1
  7. package/dist/{CategorySelectorDrawer-DjeHNx71.mjs → CategorySelectorDrawer-hhDdSFHO.mjs} +1 -1
  8. package/dist/{Connect-BRLh-69J.mjs → Connect-CBBTL1HJ.mjs} +1 -1
  9. package/dist/{ConnectDrawer-5BpU4IQU.mjs → ConnectDrawer-DNnuF80E.mjs} +2 -2
  10. package/dist/{ConnectionsDrawer-DxpSlJN7.mjs → ConnectionsDrawer-DX6d7uwJ.mjs} +2 -2
  11. package/dist/{CurrencyInput-CSJ3zMgE.mjs → CurrencyInput-BMbUVSvz.mjs} +1 -1
  12. package/dist/{EmbeddedCard-BqVpA1Jn.mjs → EmbeddedCard-B9JoBaan.mjs} +2 -2
  13. package/dist/{ExportCsvAction-BPjdEUXx.mjs → ExportCsvAction-BDFu6YIe.mjs} +2 -2
  14. package/dist/{GlobalAccountFilter-CZbiDwBH.mjs → GlobalAccountFilter-jkFxqPg6.mjs} +1 -1
  15. package/dist/{GoalStore-DmqM1ZfW.mjs → GoalStore-BBAEbf43.mjs} +1 -1
  16. package/dist/{Help-BFlcaOO_.mjs → Help-C_CM4gpK.mjs} +1 -1
  17. package/dist/{LineChart-jJVBE8V8.mjs → LineChart-CeZnCZ7j.mjs} +1 -1
  18. package/dist/{ListItemAction-Buv7tPLp.mjs → ListItemAction-CNpknVvo.mjs} +1 -1
  19. package/dist/{ManageIncome-n1ueMTrW.mjs → ManageIncome-BX2IqW57.mjs} +3 -3
  20. package/dist/{MicroWidgetContainer-CEcwdfti.mjs → MicroWidgetContainer-DAesImQ6.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-BS4iG6cw.mjs → MiniWidgetContainer-BOv3n4iw.mjs} +1 -1
  22. package/dist/{NotificationSettings-DOgnTxzv.mjs → NotificationSettings-DatCL2Ej.mjs} +4 -4
  23. package/dist/{OriginalBalanceAction-6XAwp1UT.mjs → OriginalBalanceAction-CWQ0CK-T.mjs} +3 -3
  24. package/dist/{RecurringSettings-DxsDZAp1.mjs → RecurringSettings-DCplGEv_.mjs} +2 -2
  25. package/dist/{SpendingLegend-x3K9eXrQ.mjs → SpendingLegend-DLElSvH0.mjs} +1 -1
  26. package/dist/{TransactionDetails-Bpp1FDUI.mjs → TransactionDetails-C_skrQk8.mjs} +6 -6
  27. package/dist/{TransactionStore-DfaO_9m-.mjs → TransactionStore-amPYxHnA.mjs} +1 -1
  28. package/dist/{ViewMoreMicroCard-C7dC9lDT.mjs → ViewMoreMicroCard-D1j0w64K.mjs} +1 -1
  29. package/dist/{WidgetContainer-_Fzy--dt.mjs → WidgetContainer-BPJoDkhL.mjs} +2 -2
  30. package/dist/accounts/index.es.js +13 -13
  31. package/dist/analytics/index.es.js +2 -2
  32. package/dist/budgets/index.es.js +12 -12
  33. package/dist/cashflow/index.es.js +8 -8
  34. package/dist/categories/index.es.js +1 -1
  35. package/dist/common/components/Error.d.ts +2 -0
  36. package/dist/common/index.es.js +294 -323
  37. package/dist/dashboard/index.es.js +4 -4
  38. package/dist/debts/index.es.js +8 -8
  39. package/dist/{exportTransactionsToCSV-B2Lp7AMl.mjs → exportTransactionsToCSV-CSvbZrvL.mjs} +1 -1
  40. package/dist/finstrong/index.es.js +10 -10
  41. package/dist/goals/index.es.js +10 -10
  42. package/dist/help/index.es.js +4 -4
  43. package/dist/{hooks-HwStH7q_.mjs → hooks-RzCoiTd0.mjs} +3 -3
  44. package/dist/insights/components/shared/ErrorCard/ErrorCard.d.ts +2 -1
  45. package/dist/insights/index.es.js +516 -480
  46. package/dist/investments/index.es.js +4 -4
  47. package/dist/merchants/index.es.js +1 -1
  48. package/dist/microinsights/index.es.js +1 -1
  49. package/dist/networth/index.es.js +6 -6
  50. package/dist/notifications/index.es.js +2 -2
  51. package/dist/recurringtransactions/index.es.js +9 -9
  52. package/dist/settings/index.es.js +7 -7
  53. package/dist/spending/index.es.js +8 -8
  54. package/dist/transactions/index.es.js +15 -15
  55. package/dist/trends/index.es.js +12 -12
  56. package/dist/{useAccountDisplayName-SrQA7K_6.mjs → useAccountDisplayName-pliH6hz0.mjs} +1 -1
  57. package/dist/{useInsightsEnabled-DzvRm5Bo.mjs → useInsightsEnabled-CzJoG8xi.mjs} +1 -1
  58. package/dist/{useWidgetLoadTimer-wkBTL5xx.mjs → useWidgetLoadTimer-BZjr-BiE.mjs} +1 -1
  59. package/package.json +1 -1
  60. package/dist/BeatStore-DuvvrljY.mjs +0 -81
@@ -4,7 +4,7 @@ import { observer as $ } from "mobx-react-lite";
4
4
  import _ from "@mui/material/Stack";
5
5
  import Fe from "@mui/material/Tab";
6
6
  import Ee from "@mui/material/Tabs";
7
- import { C as pe } from "../ConnectionsDrawer-DxpSlJN7.mjs";
7
+ import { C as pe } from "../ConnectionsDrawer-DX6d7uwJ.mjs";
8
8
  import xe from "@mui/material/useMediaQuery";
9
9
  import Ne from "@mui/material/Box";
10
10
  import Me from "@mui/material/Collapse";
@@ -16,7 +16,7 @@ import ye from "@mui/material/ToggleButton";
16
16
  import fe from "@mui/material/ToggleButtonGroup";
17
17
  import { Text as i, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
18
18
  import Ue from "@mui/material/Button";
19
- import { u as N, g as ve, s as U, b as J, d as le } from "../hooks-HwStH7q_.mjs";
19
+ import { u as N, g as ve, s as U, b as J, d as le } from "../hooks-RzCoiTd0.mjs";
20
20
  import { A as z } from "../Analytics-CzGzz_sE.mjs";
21
21
  import { f as ie, a as je } from "../NumberFormatting-CyrvFgfd.mjs";
22
22
  import { u as j } from "../useScreenSize-CeFhWTt_.mjs";
@@ -38,8 +38,8 @@ import { D as $e } from "../Drawer-XPaLYjiO.mjs";
38
38
  import { DataGridPro as Pe } from "@mui/x-data-grid-pro";
39
39
  import { Stack as qe } from "@mui/material";
40
40
  import { L as De } from "../Loader-CxeBwuPG.mjs";
41
- import { u as Ke } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
42
- import { W as Ye } from "../WidgetContainer-_Fzy--dt.mjs";
41
+ import { u as Ke } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
42
+ import { W as Ye } from "../WidgetContainer-BPJoDkhL.mjs";
43
43
  import { A as Qe } from "../Account-CMjOp7S2.mjs";
44
44
  import { E as Je } from "../EmptyState-DHAkGsjk.mjs";
45
45
  const me = ({ sx: t = {} }) => {
@@ -12,7 +12,7 @@ import k from "@mui/material/ListItemText";
12
12
  import A from "@mui/material/Paper";
13
13
  import d from "@mui/material/Stack";
14
14
  import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
15
- import { c as v, u as w, b as C } from "../hooks-HwStH7q_.mjs";
15
+ import { c as v, u as w, b as C } from "../hooks-RzCoiTd0.mjs";
16
16
  import { L as p } from "../Loader-CxeBwuPG.mjs";
17
17
  import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
18
18
  import { M as ne } from "../MerchantStore-CyZTv-BM.mjs";
@@ -1,4 +1,4 @@
1
- import { A as u, B as s, C as c, I as v, a as C, b as R, M as H, c as M, d as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-C7dC9lDT.mjs";
1
+ import { A as u, B as s, C as c, I as v, a as C, b as R, M as H, c as M, d as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-D1j0w64K.mjs";
2
2
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
3
  const a = ({
4
4
  color: i = "currentColor",
@@ -3,9 +3,9 @@ import { fromUnixTime as rt } from "date-fns/fromUnixTime";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import it from "@mui/material/Stack/Stack";
5
5
  import { useTheme as z } from "@mui/material/styles";
6
- import { L as at } from "../LineChart-jJVBE8V8.mjs";
6
+ import { L as at } from "../LineChart-CeZnCZ7j.mjs";
7
7
  import { u as Y } from "../useScreenSize-CeFhWTt_.mjs";
8
- import { p as st, q as R, u as E, g as G, d as ct, b as q } from "../hooks-HwStH7q_.mjs";
8
+ import { p as st, q as R, u as E, g as G, d as ct, b as q } from "../hooks-RzCoiTd0.mjs";
9
9
  import { f as lt, D as mt } from "../DateFormats-CaOj_4eI.mjs";
10
10
  import u from "react";
11
11
  import dt from "@mui/material/Button";
@@ -31,11 +31,11 @@ import { A as v } from "../Analytics-CzGzz_sE.mjs";
31
31
  import { format as ut, fromUnixTime as ft, differenceInMonths as xt } from "date-fns";
32
32
  import { Icon as et } from "@mxenabled/mx-icons";
33
33
  import { f as V } from "../NumberFormatting-CyrvFgfd.mjs";
34
- import { u as nt } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
34
+ import { u as nt } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
35
35
  import { L as ot } from "../Loader-CxeBwuPG.mjs";
36
- import { M as gt } from "../MicroWidgetContainer-CEcwdfti.mjs";
37
- import { C as yt } from "../ConnectionsDrawer-DxpSlJN7.mjs";
38
- import { W as Ct } from "../WidgetContainer-_Fzy--dt.mjs";
36
+ import { M as gt } from "../MicroWidgetContainer-DAesImQ6.mjs";
37
+ import { C as yt } from "../ConnectionsDrawer-DX6d7uwJ.mjs";
38
+ import { W as Ct } from "../WidgetContainer-BPJoDkhL.mjs";
39
39
  import { E as bt } from "../EmptyState-DHAkGsjk.mjs";
40
40
  const _t = () => {
41
41
  const { isMobile: e } = Y(), { availableWidth: s } = st(), i = z(), {
@@ -11,13 +11,13 @@ import O from "@mui/material/List";
11
11
  import { Text as g, InstitutionLogo as G, CategoryIcon as E } from "@mxenabled/mxui";
12
12
  import { i as j } from "../DateUtil-D0TO0DaZ.mjs";
13
13
  import { useTheme as z, Card as U } from "@mui/material";
14
- import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-HwStH7q_.mjs";
14
+ import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-RzCoiTd0.mjs";
15
15
  import { Icon as W, Settings as $ } from "@mxenabled/mx-icons";
16
16
  import M from "@mui/material/Button";
17
17
  import X from "@mui/material/Stack";
18
18
  import { L as k } from "../Loader-CxeBwuPG.mjs";
19
19
  import Y from "@mui/material/IconButton";
20
- import { N as q } from "../NotificationSettings-DOgnTxzv.mjs";
20
+ import { N as q } from "../NotificationSettings-DatCL2Ej.mjs";
21
21
  import { D as x } from "../Drawer-XPaLYjiO.mjs";
22
22
  const xt = (i) => {
23
23
  switch (i) {
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
6
6
  import { startOfMonth as k } from "date-fns/startOfMonth";
7
7
  import { startOfToday as Q } from "date-fns/startOfToday";
8
8
  import { subDays as ee } from "date-fns/subDays";
9
- import { R as Te } from "../RecurringSettings-DxsDZAp1.mjs";
10
- import { M as jn } from "../RecurringSettings-DxsDZAp1.mjs";
9
+ import { R as Te } from "../RecurringSettings-DCplGEv_.mjs";
10
+ import { M as jn } from "../RecurringSettings-DCplGEv_.mjs";
11
11
  import { addMonths as He } from "date-fns/addMonths";
12
12
  import { subMonths as $e } from "date-fns/subMonths";
13
13
  import { isBefore as Be } from "date-fns/isBefore";
@@ -32,7 +32,7 @@ import { isSameDay as it } from "date-fns/isSameDay";
32
32
  import ot from "@mui/material/Badge";
33
33
  import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
34
34
  import { I as F } from "../IconBacking-DgT8DCeh.mjs";
35
- import { u as y, b as z, i as I, g as U, p as we, h as re } from "../hooks-HwStH7q_.mjs";
35
+ import { u as y, b as z, i as I, g as U, p as we, h as re } from "../hooks-RzCoiTd0.mjs";
36
36
  import { a as A, R as D } from "../RepeatingTransaction-D2gmBTd0.mjs";
37
37
  import { f as S, D as w } from "../DateFormats-CaOj_4eI.mjs";
38
38
  import { T as G } from "../RecurringTransactionsStore-CFJYC7lI.mjs";
@@ -48,8 +48,8 @@ import { g as Ce, d as dt } from "../RecurringTransactions-DCt94TN4.mjs";
48
48
  import ut from "@mui/material/ListItemAvatar";
49
49
  import mt from "@mui/material/ListItemButton";
50
50
  import pt from "@mui/material/ListItemText";
51
- import { d as gt } from "../ManageIncome-n1ueMTrW.mjs";
52
- import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-n1ueMTrW.mjs";
51
+ import { d as gt } from "../ManageIncome-BX2IqW57.mjs";
52
+ import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-BX2IqW57.mjs";
53
53
  import { f as E } from "../NumberFormatting-CyrvFgfd.mjs";
54
54
  import { D as ie } from "../Drawer-XPaLYjiO.mjs";
55
55
  import { b as N } from "../Localization-CkQ49EKr.mjs";
@@ -57,12 +57,12 @@ import O from "@mui/material/Box";
57
57
  import { u as Me } from "../useScreenSize-CeFhWTt_.mjs";
58
58
  import { S as Le } from "../StatusBar-CPfSXe80.mjs";
59
59
  import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
60
- import { u as oe } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
60
+ import { u as oe } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
61
61
  import { L as ae } from "../Loader-CxeBwuPG.mjs";
62
- import { W as ht } from "../WidgetContainer-_Fzy--dt.mjs";
63
- import { M as ft } from "../MiniWidgetContainer-BS4iG6cw.mjs";
62
+ import { W as ht } from "../WidgetContainer-BPJoDkhL.mjs";
63
+ import { M as ft } from "../MiniWidgetContainer-BOv3n4iw.mjs";
64
64
  import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
65
- import { M as bt } from "../MicroWidgetContainer-CEcwdfti.mjs";
65
+ import { M as bt } from "../MicroWidgetContainer-DAesImQ6.mjs";
66
66
  const Y = {
67
67
  gridRow: 1,
68
68
  gridColumn: 1,
@@ -16,9 +16,9 @@ import W from "@mui/material/Box";
16
16
  import Z from "@mui/material/Button";
17
17
  import A from "@mui/material/TextField";
18
18
  import { H3 as Y, P as M, Text as x, Icon as L, ChevronRightIcon as ve } from "@mxenabled/mxui";
19
- import { V as Ce, a as De, N as J } from "../NotificationSettings-DOgnTxzv.mjs";
20
- import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-DOgnTxzv.mjs";
21
- import { u as w, a as G, r as E, o as we, b as ee, l as $ } from "../hooks-HwStH7q_.mjs";
19
+ import { V as Ce, a as De, N as J } from "../NotificationSettings-DatCL2Ej.mjs";
20
+ import { A as Yt, B as qt, I as Qt } from "../NotificationSettings-DatCL2Ej.mjs";
21
+ import { u as w, a as G, r as E, o as we, b as ee, l as $ } from "../hooks-RzCoiTd0.mjs";
22
22
  import { u as H } from "../useScreenSize-CeFhWTt_.mjs";
23
23
  import { D as j } from "../Dialog-iLlBR8TG.mjs";
24
24
  import { formatDistanceToNow as te } from "date-fns/formatDistanceToNow";
@@ -35,15 +35,15 @@ import { L as ie } from "../Loader-CxeBwuPG.mjs";
35
35
  import Ae from "@mui/material/List";
36
36
  import K from "@mui/material/Divider";
37
37
  import Ee from "@mui/material/ListSubheader";
38
- import { b as Pe, u as Re } from "../CategorySelectorDrawer-DjeHNx71.mjs";
38
+ import { b as Pe, u as Re } from "../CategorySelectorDrawer-hhDdSFHO.mjs";
39
39
  import Ne from "@mui/material/ListItem";
40
40
  import Me from "@mui/material/ListItemButton";
41
41
  import Le from "@mui/material/ListItemIcon";
42
42
  import Be from "@mui/material/ListItemText";
43
43
  import { D as He } from "../Drawer-XPaLYjiO.mjs";
44
- import { u as ne } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
45
- import { H as Oe } from "../Help-BFlcaOO_.mjs";
46
- import { W as q } from "../WidgetContainer-_Fzy--dt.mjs";
44
+ import { u as ne } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
45
+ import { H as Oe } from "../Help-C_CM4gpK.mjs";
46
+ import { W as q } from "../WidgetContainer-BPJoDkhL.mjs";
47
47
  const Fe = ({ availableWidth: t, handleOnLeavClick: r }) => {
48
48
  const i = xe(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = H(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = we(), [p, k] = m.useState({
49
49
  first_name: d.first_name,
@@ -8,19 +8,19 @@ import y from "@mui/material/Stack";
8
8
  import O from "@mui/material/Tab";
9
9
  import it from "@mui/material/Tabs";
10
10
  import _t from "@mui/material/styles/useTheme";
11
- import { g as rt, a as st, S as k, b as Y } from "../SpendingLegend-x3K9eXrQ.mjs";
11
+ import { g as rt, a as st, S as k, b as Y } from "../SpendingLegend-DLElSvH0.mjs";
12
12
  import { Text as T, Icon as bt } from "@mxenabled/mxui";
13
13
  import { f as N } from "../NumberFormatting-CyrvFgfd.mjs";
14
- import { u as A, l as W, d as lt, b as z, a as V, h as ct, g as yt } from "../hooks-HwStH7q_.mjs";
15
- import { u as dt } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
14
+ import { u as A, l as W, d as lt, b as z, a as V, h as ct, g as yt } from "../hooks-RzCoiTd0.mjs";
15
+ import { u as dt } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
16
16
  import { L as gt } from "../Loader-CxeBwuPG.mjs";
17
- import { M as Ct } from "../MiniWidgetContainer-BS4iG6cw.mjs";
17
+ import { M as Ct } from "../MiniWidgetContainer-BOv3n4iw.mjs";
18
18
  import { startOfToday as q } from "date-fns/startOfToday";
19
19
  import St from "@mui/material/Button";
20
20
  import { useTheme as Tt } from "@mui/material";
21
- import { e as Mt } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
22
- import { T as Dt } from "../EmbeddedCard-BqVpA1Jn.mjs";
23
- import { T as xt } from "../TransactionDetails-Bpp1FDUI.mjs";
21
+ import { e as Mt } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
22
+ import { T as Dt } from "../EmbeddedCard-B9JoBaan.mjs";
23
+ import { T as xt } from "../TransactionDetails-C_skrQk8.mjs";
24
24
  import vt from "@mui/material/Collapse";
25
25
  import wt from "@mui/material/Divider";
26
26
  import J from "@mui/material/List";
@@ -31,7 +31,7 @@ import { D as Z } from "../Drawer-XPaLYjiO.mjs";
31
31
  import { b as w } from "../Category-Ccoew_sA.mjs";
32
32
  import { parseISO as tt } from "date-fns/parseISO";
33
33
  import { A as et } from "../Analytics-CzGzz_sE.mjs";
34
- import { W as It } from "../WidgetContainer-_Fzy--dt.mjs";
34
+ import { W as It } from "../WidgetContainer-BPJoDkhL.mjs";
35
35
  const $ = ({ amount: n, label: d, variant: o = "full" }) => /* @__PURE__ */ p(y, { direction: "column", children: [
36
36
  /* @__PURE__ */ t(T, { bold: !0, sx: { textTransform: "none" }, variant: "body1", children: d }),
37
37
  /* @__PURE__ */ t(T, { variant: "caption", children: N(n, o === "mini" ? "0,0" : "0,0.00") })
@@ -1,18 +1,18 @@
1
- import { C as Re, D as Be, M as He, a as Pe, T as Ve } from "../TransactionDetails-Bpp1FDUI.mjs";
2
- import { B as Sa, b as Da } from "../TransactionDetails-Bpp1FDUI.mjs";
3
- import { e as $e } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
4
- import { O as va } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
5
- import { S as Z, D as We } from "../TransactionStore-DfaO_9m-.mjs";
6
- import { T as Ea } from "../TransactionStore-DfaO_9m-.mjs";
7
- import { u as B, T as Ge } from "../EmbeddedCard-BqVpA1Jn.mjs";
8
- import { a as ka } from "../EmbeddedCard-BqVpA1Jn.mjs";
9
- import { E as Ma } from "../ExportCsvAction-BPjdEUXx.mjs";
1
+ import { C as Re, D as Be, M as He, a as Pe, T as Ve } from "../TransactionDetails-C_skrQk8.mjs";
2
+ import { B as Sa, b as Da } from "../TransactionDetails-C_skrQk8.mjs";
3
+ import { e as $e } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
4
+ import { O as va } from "../exportTransactionsToCSV-CSvbZrvL.mjs";
5
+ import { S as Z, D as We } from "../TransactionStore-amPYxHnA.mjs";
6
+ import { T as Ea } from "../TransactionStore-amPYxHnA.mjs";
7
+ import { u as B, T as Ge } from "../EmbeddedCard-B9JoBaan.mjs";
8
+ import { a as ka } from "../EmbeddedCard-B9JoBaan.mjs";
9
+ import { E as Ma } from "../ExportCsvAction-BDFu6YIe.mjs";
10
10
  import { jsxs as m, jsx as e } from "react/jsx-runtime";
11
11
  import u from "react";
12
12
  import { observer as D } from "mobx-react-lite";
13
13
  import Fe from "@mui/material/Paper";
14
14
  import { DataGridPro as Ue } from "@mui/x-data-grid-pro";
15
- import { h as H, u as I, g as ne, b as K, d as oe, l as Ke, a as ze, o as qe } from "../hooks-HwStH7q_.mjs";
15
+ import { h as H, u as I, g as ne, b as K, d as oe, l as Ke, a as ze, o as qe } from "../hooks-RzCoiTd0.mjs";
16
16
  import { L as z } from "../Loader-CxeBwuPG.mjs";
17
17
  import { Text as y, Icon as R, MerchantLogo as Ye, TextField as ee, P as je } from "@mxenabled/mxui";
18
18
  import w from "@mui/material/Stack";
@@ -29,19 +29,19 @@ import { getUnixTime as tt } from "date-fns/getUnixTime";
29
29
  import { startOfMonth as at } from "date-fns/startOfMonth";
30
30
  import { startOfToday as F } from "date-fns/startOfToday";
31
31
  import nt from "@mui/material/styles/useTheme";
32
- import { C as ot } from "../ConnectDrawer-5BpU4IQU.mjs";
32
+ import { C as ot } from "../ConnectDrawer-DNnuF80E.mjs";
33
33
  import rt from "@mui/material/Divider";
34
34
  import it from "@mui/material/MenuItem";
35
35
  import st from "@mui/material/RadioGroup";
36
36
  import { ExpandMore as ct } from "@mxenabled/mx-icons";
37
- import { C as lt } from "../CurrencyInput-CSJ3zMgE.mjs";
38
- import { b as dt, u as ut } from "../CategorySelectorDrawer-DjeHNx71.mjs";
37
+ import { C as lt } from "../CurrencyInput-BMbUVSvz.mjs";
38
+ import { b as dt, u as ut } from "../CategorySelectorDrawer-hhDdSFHO.mjs";
39
39
  import { b as U } from "../Localization-CkQ49EKr.mjs";
40
40
  import { u as mt } from "../useAriaLive-MkYebyUR.mjs";
41
41
  import { S as _t } from "../SkeletonLoader-BaNboJjD.mjs";
42
42
  import { u as pt } from "../useScreenSize-CeFhWTt_.mjs";
43
- import { u as gt } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
44
- import { W as ht } from "../WidgetContainer-_Fzy--dt.mjs";
43
+ import { u as gt } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
44
+ import { W as ht } from "../WidgetContainer-BPJoDkhL.mjs";
45
45
  import { S as ft } from "../SearchBox-CwDgvWVJ.mjs";
46
46
  import { D as te } from "../Drawer-XPaLYjiO.mjs";
47
47
  const Ct = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
@@ -17,7 +17,7 @@ import tt from "@mui/material/Card";
17
17
  import ot from "@mui/material/CardContent";
18
18
  import Ne from "@mui/material/Divider";
19
19
  import ze from "@mui/material/Grid";
20
- import { u as R, l as Q, g as $, b as fe, h as ve, d as De, D as ye, p as nt, f as Be, a as st } from "../hooks-HwStH7q_.mjs";
20
+ import { u as R, l as Q, g as $, b as fe, h as ve, d as De, D as ye, p as nt, f as Be, a as st } from "../hooks-RzCoiTd0.mjs";
21
21
  import { b as rt } from "../Localization-CkQ49EKr.mjs";
22
22
  import { C as xe } from "../CurrencyText-oqd6cX3M.mjs";
23
23
  import { a as Re, b as $e, c as Wt } from "../Category-Ccoew_sA.mjs";
@@ -30,22 +30,22 @@ import Kt from "@mui/material/ToggleButton";
30
30
  import Yt from "@mui/material/ToggleButtonGroup";
31
31
  import { parseISO as lt } from "date-fns/parseISO";
32
32
  import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
33
- import { T as W, a as jt } from "../ViewMoreMicroCard-C7dC9lDT.mjs";
33
+ import { T as W, a as jt } from "../ViewMoreMicroCard-D1j0w64K.mjs";
34
34
  import { useGridApiContext as Ut, useGridRootProps as Xt, DataGridPro as Zt } from "@mui/x-data-grid-pro";
35
35
  import Qt from "@mui/material/Badge";
36
36
  import qt from "@mui/material/IconButton";
37
37
  import { A as v } from "../Analytics-CzGzz_sE.mjs";
38
- import { T as ct } from "../EmbeddedCard-BqVpA1Jn.mjs";
39
- import { T as dt } from "../TransactionDetails-Bpp1FDUI.mjs";
38
+ import { T as ct } from "../EmbeddedCard-B9JoBaan.mjs";
39
+ import { T as dt } from "../TransactionDetails-C_skrQk8.mjs";
40
40
  import { D as Pe } from "../Drawer-XPaLYjiO.mjs";
41
- import { u as Ie } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
41
+ import { u as Ie } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
42
42
  import { L as Le } from "../Loader-CxeBwuPG.mjs";
43
- import { W as ut } from "../WidgetContainer-_Fzy--dt.mjs";
44
- import { L as Ve } from "../LineChart-jJVBE8V8.mjs";
45
- import { M as Jt } from "../MiniWidgetContainer-BS4iG6cw.mjs";
43
+ import { W as ut } from "../WidgetContainer-BPJoDkhL.mjs";
44
+ import { L as Ve } from "../LineChart-CeZnCZ7j.mjs";
45
+ import { M as Jt } from "../MiniWidgetContainer-BOv3n4iw.mjs";
46
46
  import { subMonths as eo } from "date-fns";
47
47
  import { TrendingUp as to, TrendingDown as oo, MultilineChart as no, ExpandLess as so, ExpandMore as ro, ChevronRight as ao, ArrowBack as io } from "@mxenabled/mx-icons";
48
- import { M as lo } from "../MicroWidgetContainer-CEcwdfti.mjs";
48
+ import { M as lo } from "../MicroWidgetContainer-DAesImQ6.mjs";
49
49
  import co from "@mui/material/Collapse";
50
50
  import We from "@mui/material/List";
51
51
  import mt from "@mui/material/ListItem";
@@ -56,10 +56,10 @@ import gt from "@mui/material/styles/useTheme";
56
56
  import { b as Oe } from "../CategoryUtil-BJOHgYKS.mjs";
57
57
  import { Stack as ho } from "@mui/material";
58
58
  import go from "@mui/material/ListItemAvatar";
59
- import { E as po } from "../ExportCsvAction-BPjdEUXx.mjs";
60
- import { u as fo } from "../useInsightsEnabled-DzvRm5Bo.mjs";
59
+ import { E as po } from "../ExportCsvAction-BDFu6YIe.mjs";
60
+ import { u as fo } from "../useInsightsEnabled-CzJoG8xi.mjs";
61
61
  import { E as yo } from "../EmptyState-DHAkGsjk.mjs";
62
- import { C as Co } from "../ConnectDrawer-5BpU4IQU.mjs";
62
+ import { C as Co } from "../ConnectDrawer-DNnuF80E.mjs";
63
63
  const pt = ({ categoryGuid: t, topLevelCategoryGuid: n }) => {
64
64
  const { categories: s } = R(), { getCategoryName: o } = Q(), r = o(t);
65
65
  return /* @__PURE__ */ C(S, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
@@ -1,6 +1,6 @@
1
1
  import e from "react";
2
2
  import { g as s } from "./AccountDisplayName-CO7z3v99.mjs";
3
- import { a as n } from "./hooks-HwStH7q_.mjs";
3
+ import { a as n } from "./hooks-RzCoiTd0.mjs";
4
4
  const i = (o) => {
5
5
  const { config: a } = n();
6
6
  return e.useMemo(
@@ -1,5 +1,5 @@
1
1
  import { useState as n, useEffect as a } from "react";
2
- import { f as o } from "./hooks-HwStH7q_.mjs";
2
+ import { f as o } from "./hooks-RzCoiTd0.mjs";
3
3
  const f = () => {
4
4
  const { isInitialized: e, appDataStore: t } = o(), [s, i] = n(!1);
5
5
  return a(() => {
@@ -1,5 +1,5 @@
1
1
  import { useRef as r, useEffect as c } from "react";
2
- import { g as l } from "./hooks-HwStH7q_.mjs";
2
+ import { g as l } from "./hooks-RzCoiTd0.mjs";
3
3
  let n = !0;
4
4
  const d = ({ widgetName: i, isLoaded: u = !0 }) => {
5
5
  const { onEvent: o } = l(), t = r(null), s = r(!1), e = r(!1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "8.1.9",
3
+ "version": "8.1.10",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -1,81 +0,0 @@
1
- import { makeAutoObservable as c, runInAction as r } from "mobx";
2
- import { B as l } from "./BeatApi-C6pBa0Rb.mjs";
3
- function d(t, e, s, i = "asc") {
4
- const a = i === "desc" ? -1 : 1;
5
- return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);
6
- }
7
- const m = (t) => ({
8
- ...t,
9
- //fields that are offer specific, adding here for visibility
10
- image_url: t.image_url,
11
- guid: t.guid,
12
- created_at: t.created_at,
13
- dismissed_at: t.dismissed_at,
14
- active_at: t.campaign_activated_at,
15
- displayed_at: t.has_been_viewed,
16
- post_message_secondary: t.pulse_post_message_secondary,
17
- //offer fields mapped to beat fields for functionality
18
- title: t.pulse_title || t.campaign_name,
19
- html_title: t.pulse_title || t.campaign_name,
20
- short_title: t.pulse_title || t.campaign_name,
21
- html_short_title: t.pulse_title || t.campaign_name,
22
- micro_title: t.pulse_title || t.campaign_name,
23
- html_micro_title: t.pulse_title || t.campaign_name,
24
- supporting_action: t.pulse_call_to_action_text_secondary,
25
- description: t.pulse_body,
26
- html_description: t.pulse_body,
27
- micro_description: t.pulse_body,
28
- html_micro_description: t.pulse_body,
29
- call_to_action: t.pulse_call_to_action_text,
30
- html_micro_call_to_action: t.pulse_call_to_action_text,
31
- micro_call_to_action: t.pulse_call_to_action_text,
32
- is_dismissed: t.has_been_dismissed,
33
- icon_type: 5,
34
- template: "MarketingOffer",
35
- //beat fields we null out
36
- account_guids: [],
37
- data_series: {},
38
- has_been_displayed: !1,
39
- is_obsolete: !1,
40
- is_refreshable: !1,
41
- is_sampled: !1,
42
- merchant_guids: [],
43
- payload: {},
44
- pulse_campaign_name: t.campaign_name,
45
- scheduled_payment_guids: [],
46
- transaction_guids: [],
47
- user_guid: "",
48
- user_verification: 0
49
- });
50
- class u {
51
- globalStore;
52
- api = new l("/", "");
53
- beats = [];
54
- isLoading = !1;
55
- constructor(e) {
56
- this.globalStore = e, this.api = new l(e.endpoint, e.sessionToken, e.onError), c(this);
57
- }
58
- loadBeats = async () => {
59
- this.isLoading = !0;
60
- const e = await this.api.getBeats(), i = (await this.api.getOffers()).map((a) => m(a));
61
- r(() => {
62
- this.beats = d(e, i, "active_at", "desc"), this.isLoading = !1;
63
- });
64
- };
65
- getFilteredBeats(e) {
66
- const { categoryGuids: s, templates: i } = e;
67
- let a = this.beats;
68
- return s && (a = this.filterBeatsByCategory(a, s)), i && (a = this.filterBeatsByTemplate(a, i)), a;
69
- }
70
- // Return beats with any beat.category_guids that are in categoryGuids
71
- filterBeatsByCategory(e, s) {
72
- return e.filter((i) => i.category_guids?.some((a) => s.includes(a)));
73
- }
74
- // Return beats with a beat.template that is in templates
75
- filterBeatsByTemplate(e, s) {
76
- return e.filter((i) => s.some((a) => i.template === a));
77
- }
78
- }
79
- export {
80
- u as B
81
- };