@mx-cartographer/experiences 9.0.0-alpha.al9 → 9.0.0

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 (58) hide show
  1. package/CHANGELOG.md +20 -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-DJaIOxbb.mjs → AccountListItem-BDXHs4tV.mjs} +1 -1
  5. package/dist/{CategorySelectorDrawer-DVGuR3Ab.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +2 -2
  6. package/dist/{ConnectCard-CdXeMN22.mjs → ConnectCard-CCep7Zqe.mjs} +1 -1
  7. package/dist/{ConnectDrawer-CPsSusKE.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +1 -1
  8. package/dist/{ConnectionsDrawer-DWPOixe6.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  10. package/dist/{Drawer-BNu88yNt.mjs → Drawer-BXqqBMxg.mjs} +29 -32
  11. package/dist/{EmbeddedCard-wENckl64.mjs → EmbeddedCard-DPwJjqMH.mjs} +1 -1
  12. package/dist/{ExportCsvAction-BkABqw52.mjs → ExportCsvAction-Bw02ZJEj.mjs} +1 -1
  13. package/dist/{Help-CNjuW34A.mjs → Help-DJ8PrVHX.mjs} +2 -2
  14. package/dist/{ManageIncome-D2hEHycu.mjs → ManageIncome-B1JfqslT.mjs} +5 -5
  15. package/dist/{NotificationSettings-CNsh4U5U.mjs → NotificationSettings-6p-h5phZ.mjs} +3 -3
  16. package/dist/{OriginalBalanceAction-BxOhy_ru.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +1 -1
  17. package/dist/{RecurringSettings-Qqila2ld.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  18. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  19. package/dist/{Select-KwuuoKM-.mjs → Select-BFt-HD-L.mjs} +15 -15
  20. package/dist/{ToggleListItem-BTDtw-N4.mjs → ToggleListItem-Dl1lXNwj.mjs} +7 -8
  21. package/dist/{TransactionDetails-CMUIncOc.mjs → TransactionDetails-C3dlAzYf.mjs} +10 -8
  22. package/dist/{ViewMoreMicroCard-DoVNDQVG.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +527 -526
  23. package/dist/{WidgetContainer-CmkRiOTH.mjs → WidgetContainer-DNuz_s7W.mjs} +1 -1
  24. package/dist/accounts/index.es.js +11 -11
  25. package/dist/budgets/index.es.js +8 -8
  26. package/dist/cashflow/index.es.js +6 -6
  27. package/dist/categories/index.es.js +1 -1
  28. package/dist/common/index.es.js +101 -100
  29. package/dist/common/utils/Theme.d.ts +4 -13
  30. package/dist/common/utils/index.d.ts +1 -1
  31. package/dist/core/types/AppData.d.ts +0 -14
  32. package/dist/core/types/Client.d.ts +13 -20
  33. package/dist/dashboard/index.es.js +33 -33
  34. package/dist/debts/index.es.js +6 -6
  35. package/dist/finstrong/index.es.js +9 -9
  36. package/dist/goals/index.es.js +5 -5
  37. package/dist/help/index.es.js +2 -2
  38. package/dist/insights/index.es.js +206 -209
  39. package/dist/investments/index.es.js +3 -3
  40. package/dist/merchants/index.es.js +1 -1
  41. package/dist/microinsights/MicroCardTemplate.d.ts +2 -4
  42. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  43. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -4
  44. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -4
  45. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -4
  46. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  47. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  48. package/dist/microinsights/index.es.js +1 -1
  49. package/dist/microinsights/interfaces.d.ts +12 -4
  50. package/dist/networth/index.es.js +3 -3
  51. package/dist/notifications/index.es.js +2 -2
  52. package/dist/recurringtransactions/index.es.js +6 -6
  53. package/dist/settings/index.es.js +6 -6
  54. package/dist/spending/index.es.js +4 -4
  55. package/dist/transactions/index.es.js +35 -36
  56. package/dist/trends/index.es.js +8 -9
  57. package/package.json +4 -4
  58. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
@@ -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-DWPOixe6.mjs";
7
+ import { C as pe } from "../ConnectionsDrawer-CtfPXk0M.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";
@@ -33,12 +33,12 @@ import we from "@mui/material/AccordionSummary";
33
33
  import se from "@mui/material/Paper";
34
34
  import p from "@mui/system/Stack";
35
35
  import Ce from "@mui/material/TextField";
36
- import { D as Re } from "../Drawer-BNu88yNt.mjs";
36
+ import { D as Re } from "../Drawer-BXqqBMxg.mjs";
37
37
  import { DataGridPro as $e } from "@mui/x-data-grid-pro";
38
38
  import { Stack as Pe } from "@mui/material";
39
39
  import { L as De } from "../Loader-CxeBwuPG.mjs";
40
40
  import { u as qe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
- import { W as Ke } from "../WidgetContainer-CmkRiOTH.mjs";
41
+ import { W as Ke } from "../WidgetContainer-DNuz_s7W.mjs";
42
42
  import { A as Ye } from "../Account-BaJmiJAG.mjs";
43
43
  import { E as Qe } from "../EmptyState-CJUDc3kD.mjs";
44
44
  const me = ({ sx: t = {} }) => {
@@ -14,7 +14,7 @@ import d from "@mui/material/Stack";
14
14
  import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
15
15
  import { c as v, u as w, b as C } from "../hooks-BaO_gOI6.mjs";
16
16
  import { L as u } from "../Loader-CxeBwuPG.mjs";
17
- import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
17
+ import { S as N } from "../SearchBox-Cpgu_gdO.mjs";
18
18
  const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, p = 65, P = ({
19
19
  height: f = "calc(100dvh - 120px)",
20
20
  onSelect: g
@@ -1,13 +1,11 @@
1
1
  import { default as React } from 'react';
2
- import { SxProps } from '@mui/material/styles';
3
2
  interface MicroCardTemplateProps {
4
3
  ariaLabel?: string;
5
- cardSx?: SxProps;
6
4
  closeAriaLabel?: string;
7
5
  description: string;
6
+ elevation?: number;
8
7
  icon?: React.ReactNode;
9
8
  isActiveCard?: boolean;
10
- hasCardEffect?: boolean;
11
9
  heightOverrides?: string | number;
12
10
  onClose?: () => void;
13
11
  onCardClick?: () => void;
@@ -16,7 +14,7 @@ interface MicroCardTemplateProps {
16
14
  primaryActionText?: string;
17
15
  secondaryActionText?: string;
18
16
  title: string;
19
- variant?: 'elevation' | 'outlined';
17
+ variant?: 'outlined' | 'elevation' | undefined;
20
18
  widthOverrides?: string | number;
21
19
  }
22
20
  declare const MicroCardTemplate: React.ForwardRefExoticComponent<MicroCardTemplateProps & React.RefAttributes<HTMLDivElement>>;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps, BeatLikeOffer } from '../interfaces';
2
+ import { BeatLikeOffer, MicroInsightCardProps } from '../interfaces';
3
3
  import { Beat } from '../../core/types/Beat';
4
- export interface InsightCardProps extends Pick<MicroWidgetProps, 'ariaLabel' | 'heightOverrides' | 'isActiveCard' | 'onCardClick' | 'posthog' | 'showIcon' | 'variant' | 'widthOverrides'> {
4
+ export interface InsightCardProps extends MicroInsightCardProps {
5
5
  beat: Beat | BeatLikeOffer;
6
6
  index?: number;
7
7
  }
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
3
- type NoRelevantInsightsCardProps = Pick<MicroWidgetProps, 'ariaLabel' | 'heightOverrides' | 'onCardClick' | 'posthog' | 'showIcon' | 'variant'>;
4
- export declare const NoRelevantInsightsCard: React.FC<NoRelevantInsightsCardProps>;
5
- declare const _default: React.FunctionComponent<NoRelevantInsightsCardProps>;
2
+ import { MicroInsightCardProps } from '../interfaces';
3
+ export declare const NoRelevantInsightsCard: React.FC<MicroInsightCardProps>;
4
+ declare const _default: React.FunctionComponent<MicroInsightCardProps>;
6
5
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
3
- type ViewMoreMicroCardProps = Pick<MicroWidgetProps, 'ariaLabel' | 'heightOverrides' | 'isActiveCard' | 'onCardClick' | 'posthog' | 'showIcon' | 'variant' | 'widthOverrides'>;
4
- export declare const ViewMoreMicroCard: React.FC<ViewMoreMicroCardProps>;
5
- declare const _default: React.FunctionComponent<ViewMoreMicroCardProps>;
2
+ import { MicroInsightCardProps } from '../interfaces';
3
+ export declare const ViewMoreMicroCard: React.FC<MicroInsightCardProps>;
4
+ declare const _default: React.FunctionComponent<MicroInsightCardProps>;
6
5
  export default _default;
@@ -1,6 +1,5 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '../interfaces';
3
- type ZeroStateCardProps = Pick<MicroWidgetProps, 'ariaLabel' | 'heightOverrides' | 'onCardClick' | 'showIcon' | 'variant'>;
4
- export declare const ZeroStateCard: React.FC<ZeroStateCardProps>;
5
- declare const _default: React.FunctionComponent<ZeroStateCardProps>;
2
+ import { MicroInsightCardProps } from '../interfaces';
3
+ export declare const ZeroStateCard: React.FC<MicroInsightCardProps>;
4
+ declare const _default: React.FunctionComponent<MicroInsightCardProps>;
6
5
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import { default as React } from 'react';
2
- import { MicroWidgetProps } from '..';
2
+ import { MicroInsightCardProps } from '../interfaces';
3
3
  import { Beat } from '../../core/types/Beat';
4
- export interface BeatListProps extends Pick<MicroWidgetProps, 'heightOverrides' | 'onCardClick' | 'posthog' | 'showIcon' | 'variant'> {
4
+ export interface BeatListProps extends MicroInsightCardProps {
5
5
  activeCardIndex: number;
6
6
  beats: Beat[];
7
7
  cardWidth: number | null;
@@ -1,9 +1,20 @@
1
1
  import { default as React } from 'react';
2
2
  import { MicroWidgetProps } from '..';
3
3
  import { Beat } from '../../core/types/Beat';
4
- export interface MicroBeatCarouselProps extends Pick<MicroWidgetProps, 'allowSingleCardPeeking' | 'heightOverrides' | 'onCardClick' | 'posthog' | 'showCarouselControls' | 'showIcon' | 'showWithMargin' | 'variant' | 'visibleCardsCount' | 'widthOverrides'> {
4
+ interface MicroBeatCarouselProps {
5
+ allowSingleCardPeeking?: boolean;
5
6
  analyticsMetadata?: Record<string, string>;
6
7
  beats?: Beat[];
8
+ elevation?: number;
9
+ heightOverrides?: MicroWidgetProps['heightOverrides'];
10
+ onCardClick?: MicroWidgetProps['onCardClick'];
11
+ posthog?: MicroWidgetProps['posthog'];
12
+ showCarouselControls?: boolean;
13
+ showIcon?: boolean;
14
+ showWithMargin?: boolean;
15
+ variant?: 'outlined' | 'elevation' | undefined;
16
+ visibleCardsCount?: number;
17
+ widthOverrides?: number;
7
18
  }
8
19
  declare const _default: React.FunctionComponent<MicroBeatCarouselProps>;
9
20
  export default _default;
@@ -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-DoVNDQVG.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-BD_MNc2z.mjs";
2
2
  import { jsx as e, jsxs as l } from "react/jsx-runtime";
3
3
  const a = ({
4
4
  color: i = "currentColor",
@@ -2,29 +2,37 @@ import { Beat, Offer } from '../core';
2
2
  import { SxProps } from '@mui/material/styles';
3
3
  export interface MicroWidgetProps {
4
4
  allowSingleCardPeeking?: boolean;
5
- ariaLabel?: string;
6
5
  areBeatsLoading?: boolean;
7
6
  beats?: Beat[];
7
+ cardStyle?: 'elevation 1' | 'border' | 'flat';
8
8
  endpoint?: string;
9
9
  headerSx?: SxProps;
10
10
  heightOverrides?: number | string;
11
- isActiveCard?: boolean;
12
11
  logOutUser?: () => void;
13
12
  onCardClick?: (beat?: Beat | undefined) => void;
14
13
  onEvent?: (event?: string | undefined) => void;
15
14
  onPageview?: (event?: string | undefined) => void;
16
15
  posthog?: TheWholeHog;
17
- showBorder?: boolean;
18
16
  showCarouselControls?: boolean;
19
17
  showHeader?: boolean;
20
18
  showIcon?: boolean;
21
19
  showWithMargin?: boolean;
22
20
  token?: string;
23
21
  userHasFullInsightFeedBeats?: boolean;
24
- variant?: 'elevation' | 'outlined' | undefined;
25
22
  visibleCardsCount?: number;
26
23
  widthOverrides?: number;
27
24
  }
25
+ export interface MicroInsightCardProps {
26
+ ariaLabel?: string;
27
+ elevation?: number;
28
+ heightOverrides?: number | string;
29
+ isActiveCard?: boolean;
30
+ onCardClick?: (beat?: Beat | undefined) => void;
31
+ posthog?: TheWholeHog;
32
+ showIcon?: boolean;
33
+ variant?: 'outlined' | 'elevation' | undefined;
34
+ widthOverrides?: number;
35
+ }
28
36
  export interface TheWholeHog {
29
37
  identify: (userGuid: string, clientGuid: string, properties?: Record<string, any>) => void;
30
38
  capture: (eventName: string, properties?: Record<string, any>) => void;
@@ -12,7 +12,7 @@ import { L as Q } from "../Loader-CxeBwuPG.mjs";
12
12
  import { M as ie } from "../MicroWidgetContainer-CfKdQfhi.mjs";
13
13
  import { format as ae, fromUnixTime as se, differenceInMonths as ce } from "date-fns";
14
14
  import P from "@mui/material/Box";
15
- import { C as le } from "../ConnectionsDrawer-DWPOixe6.mjs";
15
+ import { C as le } from "../ConnectionsDrawer-CtfPXk0M.mjs";
16
16
  import { fromUnixTime as de } from "date-fns/fromUnixTime";
17
17
  import { useTheme as H } from "@mui/material/styles";
18
18
  import { L as me } from "../LineChart-CejWS_rh.mjs";
@@ -31,8 +31,8 @@ import { Stack as fe } from "@mui/material";
31
31
  import xe from "@mui/material/Collapse";
32
32
  import K from "@mui/material/ListItemIcon";
33
33
  import { g as U } from "../NetWorthUtils-DilGN1nW.mjs";
34
- import { D as V } from "../Drawer-BNu88yNt.mjs";
35
- import { W as ge } from "../WidgetContainer-CmkRiOTH.mjs";
34
+ import { D as V } from "../Drawer-BXqqBMxg.mjs";
35
+ import { W as ge } from "../WidgetContainer-DNuz_s7W.mjs";
36
36
  import { E as ye } from "../EmptyState-CJUDc3kD.mjs";
37
37
  const Ce = ({ amount: t, copy: s, trendValue: i }) => {
38
38
  const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
@@ -16,8 +16,8 @@ import M from "@mui/material/Button";
16
16
  import X from "@mui/material/Stack";
17
17
  import { L as k } from "../Loader-CxeBwuPG.mjs";
18
18
  import Y from "@mui/material/IconButton";
19
- import { N as q } from "../NotificationSettings-CNsh4U5U.mjs";
20
- import { D as x } from "../Drawer-BNu88yNt.mjs";
19
+ import { N as q } from "../NotificationSettings-6p-h5phZ.mjs";
20
+ import { D as x } from "../Drawer-BXqqBMxg.mjs";
21
21
  const xt = (i) => {
22
22
  switch (i) {
23
23
  case N.BudgetExceeded:
@@ -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 _e } from "../RecurringSettings-Qqila2ld.mjs";
10
- import { M as Un } from "../RecurringSettings-Qqila2ld.mjs";
9
+ import { R as _e } from "../RecurringSettings-cm6MK_aS.mjs";
10
+ import { M as Un } from "../RecurringSettings-cm6MK_aS.mjs";
11
11
  import { addMonths as ze } from "date-fns/addMonths";
12
12
  import { subMonths as He } from "date-fns/subMonths";
13
13
  import { isBefore as $e } from "date-fns/isBefore";
@@ -47,16 +47,16 @@ import ut from "@mui/material/ListItemAvatar";
47
47
  import mt from "@mui/material/ListItemButton";
48
48
  import pt from "@mui/material/ListItemText";
49
49
  import { f as E } from "../NumberFormatting--XMeeBfr.mjs";
50
- import { d as gt } from "../ManageIncome-D2hEHycu.mjs";
51
- import { c as jn, M as Kn, S as Vn } from "../ManageIncome-D2hEHycu.mjs";
52
- import { D as ie } from "../Drawer-BNu88yNt.mjs";
50
+ import { d as gt } from "../ManageIncome-B1JfqslT.mjs";
51
+ import { c as jn, M as Kn, S as Vn } from "../ManageIncome-B1JfqslT.mjs";
52
+ import { D as ie } from "../Drawer-BXqqBMxg.mjs";
53
53
  import O from "@mui/material/Box";
54
54
  import { u as Me } from "../useScreenSize-mWpmnh5w.mjs";
55
55
  import { S as Le } from "../StatusBar-CPfSXe80.mjs";
56
56
  import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
57
57
  import { u as oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
58
58
  import { L as ae } from "../Loader-CxeBwuPG.mjs";
59
- import { W as ht } from "../WidgetContainer-CmkRiOTH.mjs";
59
+ import { W as ht } from "../WidgetContainer-DNuz_s7W.mjs";
60
60
  import { M as ft } from "../MiniWidgetContainer-BdPiUU-u.mjs";
61
61
  import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
62
62
  import { M as bt } from "../MicroWidgetContainer-CfKdQfhi.mjs";
@@ -15,8 +15,8 @@ import W from "@mui/material/Box";
15
15
  import Z from "@mui/material/Button";
16
16
  import I from "@mui/material/TextField";
17
17
  import { H3 as Y, P as M, Text as x, Icon as B } from "@mxenabled/mxui";
18
- import { V as xe, a as ve, N as J } from "../NotificationSettings-CNsh4U5U.mjs";
19
- import { A as $t, B as Jt, I as Kt } from "../NotificationSettings-CNsh4U5U.mjs";
18
+ import { V as xe, a as ve, N as J } from "../NotificationSettings-6p-h5phZ.mjs";
19
+ import { A as $t, B as Jt, I as Kt } from "../NotificationSettings-6p-h5phZ.mjs";
20
20
  import { u as w, a as G, A as E, C as Ce, b as ee, l as j } from "../hooks-BaO_gOI6.mjs";
21
21
  import { u as O } from "../useScreenSize-mWpmnh5w.mjs";
22
22
  import { D as $ } from "../Dialog-CwWc0AbH.mjs";
@@ -33,16 +33,16 @@ import { L as ie } from "../Loader-CxeBwuPG.mjs";
33
33
  import Te from "@mui/material/List";
34
34
  import K from "@mui/material/Divider";
35
35
  import Ae from "@mui/material/ListSubheader";
36
- import { b as Ie, u as Ee } from "../CategorySelectorDrawer-DVGuR3Ab.mjs";
36
+ import { b as Ie, u as Ee } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
37
37
  import Pe from "@mui/material/ListItem";
38
38
  import Re from "@mui/material/ListItemButton";
39
39
  import Ne from "@mui/material/ListItemIcon";
40
40
  import Me from "@mui/material/ListItemText";
41
41
  import { ChevronRight as Le } from "@mxenabled/mx-icons";
42
- import { D as Be } from "../Drawer-BNu88yNt.mjs";
42
+ import { D as Be } from "../Drawer-BXqqBMxg.mjs";
43
43
  import { u as ne } from "../useWidgetLoadTimer-CJb-RELP.mjs";
44
- import { H as He } from "../Help-CNjuW34A.mjs";
45
- import { W as q } from "../WidgetContainer-CmkRiOTH.mjs";
44
+ import { H as He } from "../Help-DJ8PrVHX.mjs";
45
+ import { W as q } from "../WidgetContainer-DNuz_s7W.mjs";
46
46
  const Oe = ({ availableWidth: t, handleOnLeavClick: r }) => {
47
47
  const i = L(), { common: o, settings: n } = w(), { isDesktop: u, isMobile: s, isSmallMobile: a, isTablet: l } = O(t), { config: b } = G(), { updateUser: _ } = E(), { user: d } = Ce(), [p, k] = m.useState({
48
48
  first_name: d.first_name,
@@ -19,19 +19,19 @@ import { startOfToday as J } from "date-fns/startOfToday";
19
19
  import St from "@mui/material/Button";
20
20
  import { useTheme as Tt } from "@mui/material";
21
21
  import { e as Mt } from "../TransactionUtils-BphBJBbU.mjs";
22
- import { T as Dt } from "../EmbeddedCard-wENckl64.mjs";
23
- import { T as xt } from "../TransactionDetails-CMUIncOc.mjs";
22
+ import { T as Dt } from "../EmbeddedCard-DPwJjqMH.mjs";
23
+ import { T as xt } from "../TransactionDetails-C3dlAzYf.mjs";
24
24
  import vt from "@mui/material/Collapse";
25
25
  import wt from "@mui/material/Divider";
26
26
  import Q from "@mui/material/List";
27
27
  import X from "@mui/material/ListItem";
28
28
  import Z from "@mui/material/ListItemButton";
29
29
  import { u as Lt } from "../useScreenSize-mWpmnh5w.mjs";
30
- import { D as tt } from "../Drawer-BNu88yNt.mjs";
30
+ import { D as tt } from "../Drawer-BXqqBMxg.mjs";
31
31
  import { C as w } from "../Category-DEKZGLYe.mjs";
32
32
  import { parseISO as et } from "date-fns/parseISO";
33
33
  import { A as nt } from "../Analytics-CzGzz_sE.mjs";
34
- import { W as It } from "../WidgetContainer-CmkRiOTH.mjs";
34
+ import { W as It } from "../WidgetContainer-DNuz_s7W.mjs";
35
35
  const G = ({ 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: k(n, o === "mini" ? "0,0" : "0,0.00") })
@@ -1,12 +1,12 @@
1
- import { C as Be, D as He, M as Pe, a as Ve, T as We } from "../TransactionDetails-CMUIncOc.mjs";
2
- import { B as xa, b as Aa } from "../TransactionDetails-CMUIncOc.mjs";
3
- import { u as B, T as $e } from "../EmbeddedCard-wENckl64.mjs";
4
- import { a as Sa } from "../EmbeddedCard-wENckl64.mjs";
5
- import { E as va } from "../ExportCsvAction-BkABqw52.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 Ge from "@mui/material/Paper";
9
+ import Ve from "@mui/material/Paper";
10
10
  import { DataGridPro as Fe } from "@mui/x-data-grid-pro";
11
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";
@@ -24,22 +24,22 @@ 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
26
  import { b as U } from "../Localization-DnoVyBNK.mjs";
27
- import { C as nt } from "../ConnectDrawer-CPsSusKE.mjs";
27
+ import { C as nt } from "../ConnectDrawer-Cnjr3Ddg.mjs";
28
28
  import ot from "@mui/material/Divider";
29
29
  import rt from "@mui/material/MenuItem";
30
30
  import it from "@mui/material/RadioGroup";
31
31
  import { ExpandMore as st } from "@mxenabled/mx-icons";
32
- import { C as ct } from "../CurrencyInput-B59ugxPN.mjs";
32
+ import { C as ct } from "../CurrencyInput-adTIRtL3.mjs";
33
33
  import { S as ee } from "../SelectionBox-B4xELRgp.mjs";
34
34
  import { D as se } from "../Dialog-CwWc0AbH.mjs";
35
- import { b as lt, u as dt } from "../CategorySelectorDrawer-DVGuR3Ab.mjs";
35
+ import { b as lt, u as dt } from "../CategorySelectorDrawer-CmaDLhnf.mjs";
36
36
  import { u as ut } from "../useAriaLive-MkYebyUR.mjs";
37
37
  import { S as mt } from "../SkeletonLoader-BaNboJjD.mjs";
38
38
  import { u as _t } from "../useScreenSize-mWpmnh5w.mjs";
39
39
  import { u as pt } from "../useWidgetLoadTimer-CJb-RELP.mjs";
40
- import { W as gt } from "../WidgetContainer-CmkRiOTH.mjs";
41
- import { S as ht } from "../SearchBox-CwDgvWVJ.mjs";
42
- import { D as te } from "../Drawer-BNu88yNt.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
43
  const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2", children: [
44
44
  `${t.row.account}`,
45
45
  t.row.number && ` | ${t.row.number}`
@@ -192,7 +192,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
192
192
  sortingOrder: ["asc", "desc"]
193
193
  }
194
194
  ];
195
- return /* @__PURE__ */ e(Ge, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
195
+ return /* @__PURE__ */ e(Ve, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
196
196
  Fe,
197
197
  {
198
198
  columns: g,
@@ -253,9 +253,6 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
253
253
  amount: l,
254
254
  ariaLabel: i.amount_title,
255
255
  copy: h,
256
- inputProps: {
257
- noValidate: !0
258
- },
259
256
  label: i.amount_title,
260
257
  setAmount: I,
261
258
  setHasValidInput: s,
@@ -300,12 +297,14 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
300
297
  /* @__PURE__ */ e(
301
298
  Z,
302
299
  {
303
- InputLabelProps: { shrink: !0 },
304
- SelectProps: { defaultValue: -1, IconComponent: st },
305
300
  label: i.manual_transaction_select_an_account,
306
301
  onChange: (n) => _(n.target.value),
307
302
  placeholder: i.manual_transaction_select,
308
303
  select: !0,
304
+ slotProps: {
305
+ inputLabel: { shrink: !0 },
306
+ select: { defaultValue: -1, IconComponent: st }
307
+ },
309
308
  sx: { bgcolor: "background.paper" },
310
309
  children: C.map((n) => /* @__PURE__ */ e(rt, { value: n.value, children: n.label }, n.value))
311
310
  }
@@ -316,7 +315,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
316
315
  /* @__PURE__ */ e(Be, { transaction: a }),
317
316
  /* @__PURE__ */ e(He, { transaction: a }),
318
317
  /* @__PURE__ */ e(Pe, { transaction: a }),
319
- /* @__PURE__ */ e(Ve, { transaction: a })
318
+ /* @__PURE__ */ e(We, { transaction: a })
320
319
  ] })
321
320
  ] });
322
321
  }, It = D(vt), Nt = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
@@ -405,7 +404,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
405
404
  setSearchValue: ye,
406
405
  setShowInsights: be,
407
406
  updateManualTransaction: Te
408
- } = B(), { userProfile: xe } = ze(), [V, T] = u.useState(""), [X, M] = u.useState(""), [Ae, W] = u.useState(!1), [we, J] = u.useState(!1), { announce: Se, ariaLive: De } = ut(), $ = b?.transactions?.selected_account_guid;
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;
409
408
  pt({
410
409
  widgetName: "TransactionWidget",
411
410
  isLoaded: P
@@ -415,7 +414,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
415
414
  N(d, Re), h(A.TRANSACTIONS_VIEW);
416
415
  }, []), u.useEffect(() => {
417
416
  _ && q({
418
- accounts: $ ? [$] : n,
417
+ accounts: G ? [G] : n,
419
418
  dateRange: { start: o.start, end: o.end },
420
419
  searchTerm: j
421
420
  });
@@ -443,11 +442,11 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
443
442
  }), T(
444
443
  "addTransaction"
445
444
  /* AddTransaction */
446
- ), h(A.TRANSACTIONS_CLICK_ADD)) : (W(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
445
+ ), h(A.TRANSACTIONS_CLICK_ADD)) : ($(!0), h(A.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
447
446
  }, ke = async () => {
448
447
  Q && await de(L), T("");
449
448
  }, Oe = () => {
450
- W(!1), J(!0);
449
+ $(!1), J(!0);
451
450
  }, Le = async () => {
452
451
  J(!1), await l();
453
452
  }, Me = async () => {
@@ -455,19 +454,19 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
455
454
  };
456
455
  if (!_)
457
456
  return /* @__PURE__ */ e(z, {});
458
- const G = [];
459
- return !p && (ce || le) && G.push({
457
+ const V = [];
458
+ return !p && (ce || le) && V.push({
460
459
  iconName: "open_in_new",
461
460
  label: g.export_csv_btn,
462
461
  onClick: Ne
463
- }), f.show_connections_widget_in_master && G.push({
462
+ }), f.show_connections_widget_in_master && V.push({
464
463
  iconName: "add",
465
464
  label: g.add_transaction_btn,
466
465
  onClick: Ee
467
466
  }), /* @__PURE__ */ m(
468
467
  gt,
469
468
  {
470
- actions: G,
469
+ actions: V,
471
470
  calendarActions: {
472
471
  onRangeChanged: ve
473
472
  },
@@ -475,7 +474,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
475
474
  onAccountsFilterClick: () => h(A.ACCOUNTS_CLICK_FILTER),
476
475
  onBackClick: t,
477
476
  onMenuClick: r,
478
- showAccountFilter: !$,
477
+ showAccountFilter: !G,
479
478
  sx: s,
480
479
  title: g.transactions_title,
481
480
  children: [
@@ -524,7 +523,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
524
523
  [O.breakpoints.up("md")]: { display: "none" }
525
524
  },
526
525
  children: /* @__PURE__ */ e(
527
- $e,
526
+ Ge,
528
527
  {
529
528
  height: `calc(${i} - ${ae}px)`,
530
529
  onClick: (d) => {
@@ -543,13 +542,13 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
543
542
  te,
544
543
  {
545
544
  ariaLabelClose: I.close_aria,
546
- isOpen: V === "transaction" && !!x,
545
+ isOpen: W === "transaction" && !!x,
547
546
  onClose: Me,
548
547
  title: g.details_title,
549
- children: x && /* @__PURE__ */ e(We, { transaction: x })
548
+ children: x && /* @__PURE__ */ e($e, { transaction: x })
550
549
  }
551
550
  ),
552
- x && V === "category" && /* @__PURE__ */ e(
551
+ x && W === "category" && /* @__PURE__ */ e(
553
552
  Ot,
554
553
  {
555
554
  onClose: () => {
@@ -562,7 +561,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
562
561
  te,
563
562
  {
564
563
  ariaLabelClose: I.close_aria,
565
- isOpen: V === "addTransaction",
564
+ isOpen: W === "addTransaction",
566
565
  isPrimaryDisabled: !Q,
567
566
  onClose: () => T(""),
568
567
  onPrimaryAction: ke,
@@ -576,7 +575,7 @@ const ft = (t) => /* @__PURE__ */ m(y, { tabIndex: t.tabIndex, variant: "body2",
576
575
  copy: { title: g.add_manual_account },
577
576
  isOpen: Ae,
578
577
  onClose: () => {
579
- W(!1);
578
+ $(!1);
580
579
  },
581
580
  onPrimaryAction: Oe
582
581
  }
@@ -597,8 +596,8 @@ export {
597
596
  xa as BottomActions,
598
597
  va as ExportCsvAction,
599
598
  Aa as TopActions,
600
- We as TransactionDetails,
601
- $e as TransactionList,
599
+ $e as TransactionDetails,
600
+ Ge as TransactionList,
602
601
  Sa as TransactionRow,
603
602
  Dt as TransactionTable,
604
603
  ya as TransactionWidget,
@@ -29,17 +29,17 @@ import Ft from "@mui/material/ToggleButton";
29
29
  import $t from "@mui/material/ToggleButtonGroup";
30
30
  import { parseISO as lt } from "date-fns/parseISO";
31
31
  import { H as ke } from "../HeaderCell-P8w6CmfO.mjs";
32
- import { T as W, a as Kt } from "../ViewMoreMicroCard-DoVNDQVG.mjs";
32
+ import { T as W, a as Kt } from "../ViewMoreMicroCard-BD_MNc2z.mjs";
33
33
  import { useGridApiContext as Yt, useGridRootProps as jt, DataGridPro as Ut } from "@mui/x-data-grid-pro";
34
34
  import Xt from "@mui/material/Badge";
35
35
  import Zt from "@mui/material/IconButton";
36
36
  import { A as w } from "../Analytics-CzGzz_sE.mjs";
37
- import { T as ct } from "../EmbeddedCard-wENckl64.mjs";
38
- import { T as dt } from "../TransactionDetails-CMUIncOc.mjs";
39
- import { D as Pe } from "../Drawer-BNu88yNt.mjs";
37
+ import { T as ct } from "../EmbeddedCard-DPwJjqMH.mjs";
38
+ import { T as dt } from "../TransactionDetails-C3dlAzYf.mjs";
39
+ import { D as Pe } from "../Drawer-BXqqBMxg.mjs";
40
40
  import { u as Ie } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
41
  import { L as Le } from "../Loader-CxeBwuPG.mjs";
42
- import { W as ut } from "../WidgetContainer-CmkRiOTH.mjs";
42
+ import { W as ut } from "../WidgetContainer-DNuz_s7W.mjs";
43
43
  import { L as Ve } from "../LineChart-CejWS_rh.mjs";
44
44
  import { M as Qt } from "../MiniWidgetContainer-BdPiUU-u.mjs";
45
45
  import { subMonths as qt } from "date-fns";
@@ -55,10 +55,10 @@ import { g as Oe } from "../TransactionUtils-BphBJBbU.mjs";
55
55
  import { L as uo } from "../ListItemRow-kH1rn8Xu.mjs";
56
56
  import { Stack as mo } from "@mui/material";
57
57
  import ho from "@mui/material/ListItemAvatar";
58
- import { E as go } from "../ExportCsvAction-BkABqw52.mjs";
58
+ import { E as go } from "../ExportCsvAction-Bw02ZJEj.mjs";
59
59
  import { u as po } from "../useInsightsEnabled-DaNLPmUU.mjs";
60
60
  import { E as fo } from "../EmptyState-CJUDc3kD.mjs";
61
- import { C as yo } from "../ConnectDrawer-CPsSusKE.mjs";
61
+ import { C as yo } from "../ConnectDrawer-Cnjr3Ddg.mjs";
62
62
  const gt = ({ categoryGuid: t, topLevelCategoryGuid: n }) => {
63
63
  const { categories: s } = R(), { getCategoryName: o } = q(), r = o(t);
64
64
  return /* @__PURE__ */ C(S, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
@@ -1226,18 +1226,17 @@ const Lo = g.memo(Io), Qe = ({
1226
1226
  {
1227
1227
  areBeatsLoading: a.isLoading,
1228
1228
  beats: t,
1229
+ cardStyle: "border",
1229
1230
  endpoint: d,
1230
1231
  headerSx: { p: 0 },
1231
1232
  logOutUser: m,
1232
1233
  onCardClick: _,
1233
- showBorder: !0,
1234
1234
  showCarouselControls: !0,
1235
1235
  showHeader: i,
1236
1236
  showIcon: !0,
1237
1237
  showWithMargin: !1,
1238
1238
  token: u,
1239
1239
  userHasFullInsightFeedBeats: !1,
1240
- variant: "outlined",
1241
1240
  visibleCardsCount: f
1242
1241
  }
1243
1242
  ) });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-cartographer/experiences",
3
- "version": "9.0.0-alpha.al9",
3
+ "version": "9.0.0",
4
4
  "description": "Library containing experience widgets",
5
5
  "author": "MX",
6
6
  "license": "MIT",
@@ -192,15 +192,15 @@
192
192
  "@emotion/react": "^11.14.0",
193
193
  "@emotion/styled": "^11.14.1",
194
194
  "@mui/lab": "^7",
195
- "@mui/material": "^7",
196
- "@mui/system": "^7",
195
+ "@mui/material": "7.3.11",
196
+ "@mui/system": "7.3.11",
197
197
  "@mui/x-charts": "^8.28.2",
198
198
  "@mui/x-data-grid-pro": "^7.29.12",
199
199
  "@mui/x-date-pickers": "^7.29.4",
200
200
  "@mui/x-date-pickers-pro": "^7.29.4",
201
201
  "@mxenabled/cssinjs": "^0.6.0",
202
202
  "@mxenabled/mx-icons": "^2",
203
- "@mxenabled/mxui": "2.5.3-alpha.al3",
203
+ "@mxenabled/mxui": "2.5.3",
204
204
  "@mxenabled/web-widget-sdk": "^0.0.15",
205
205
  "@tanstack/react-virtual": "^3.13.24",
206
206
  "bowser": "^2.14.1",