@mx-cartographer/experiences 7.1.5 → 7.2.1
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.
- package/CHANGELOG.md +4 -0
- package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-DeAQv-kI.mjs} +6 -0
- package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-DUVfWzsI.mjs} +88 -84
- package/dist/{ViewMoreMicroCard-664i7l19.mjs → ViewMoreMicroCard-C5yQiaed.mjs} +507 -480
- package/dist/accounts/index.es.js +1 -1
- package/dist/accounts/stores/AccountStore.d.ts +1 -0
- package/dist/common/index.es.js +3 -3
- package/dist/microinsights/components/beaticons/BeatIcon.d.ts +2 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +2 -1
- package/dist/microinsights/components/microBeatCarousel/CarouselControls.d.ts +2 -0
- package/dist/microinsights/index.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +4 -0
- package/dist/transactions/index.es.js +2 -2
- package/dist/transactions/stores/TransactionStore.d.ts +2 -2
- package/dist/trends/index.es.js +1 -1
- package/package.json +1 -1
|
@@ -25,7 +25,7 @@ import { F as G1, M as K1 } from "../ConnectDrawer-CPTXh70j.mjs";
|
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
26
|
import { M as $ } from "../MiniWidgetContainer-DTQdRK-3.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
|
-
import { A as P1, a as Y1 } from "../AccountStore-
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-DeAQv-kI.mjs";
|
|
29
29
|
const i1 = () => {
|
|
30
30
|
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -41,5 +41,6 @@ export declare class AccountStore {
|
|
|
41
41
|
refreshMembers: () => Promise<void>;
|
|
42
42
|
removeAccount: (accountGuid: string) => Promise<void>;
|
|
43
43
|
updateAccount: (account: Account) => Promise<void>;
|
|
44
|
+
updateAccountBalance: (accountGuid: string, balanceChange: number) => void;
|
|
44
45
|
updateAccountFiltering: (guids: string[], isExcluded: boolean) => Promise<void>;
|
|
45
46
|
}
|
package/dist/common/index.es.js
CHANGED
|
@@ -18,8 +18,8 @@ import { C as Ys } from "../CurrencyInput-C4xNRL2W.mjs";
|
|
|
18
18
|
import { L as zs } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as js } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Vs } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as at } from "../TransactionStore-
|
|
22
|
-
import { S as Js } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-DUVfWzsI.mjs";
|
|
22
|
+
import { S as Js } from "../TransactionStore-DUVfWzsI.mjs";
|
|
23
23
|
import { T as er } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as rr } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as ar, F as nr, a as ir, c as cr, R as dr, S as lr } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
@@ -55,7 +55,7 @@ import { u as zo } from "../useAccountDisplayName-BXGkZN5B.mjs";
|
|
|
55
55
|
import { u as jo } from "../useInsightsEnabled-DSnpkUq0.mjs";
|
|
56
56
|
import { u as Vo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t } from "mobx";
|
|
58
|
-
import { a as ft } from "../AccountStore-
|
|
58
|
+
import { a as ft } from "../AccountStore-DeAQv-kI.mjs";
|
|
59
59
|
import yt from "posthog-js";
|
|
60
60
|
import { B as St } from "../BeatStore-IBnXd4YK.mjs";
|
|
61
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
import { clientColorSchemeProps } from '../..';
|
|
2
3
|
import { Beat } from '../../../common/types/Beat';
|
|
3
4
|
export interface BeatIconProps {
|
|
4
5
|
beat?: Beat;
|
|
6
|
+
clientColorScheme?: clientColorSchemeProps;
|
|
5
7
|
color?: string | null;
|
|
6
8
|
type?: number | null;
|
|
7
9
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Beat } from '../../../common/types/Beat';
|
|
3
|
-
import { TheWholeHog } from '../../interfaces';
|
|
3
|
+
import { clientColorSchemeProps, TheWholeHog } from '../../interfaces';
|
|
4
4
|
export interface CarouselHeaderProps {
|
|
5
5
|
analyticsMetadata?: object;
|
|
6
|
+
clientColorScheme?: clientColorSchemeProps;
|
|
6
7
|
onCardClick: (beat?: Beat | undefined) => void;
|
|
7
8
|
posthog?: TheWholeHog;
|
|
8
9
|
widthOverrides?: number | string;
|
|
@@ -9,4 +9,4 @@ export { default as NoRelevantInsightsCard } from './components/noRelevantInsigh
|
|
|
9
9
|
export { default as ViewMoreMicroCard } from './components/viewMoreMicroCard/ViewMoreMicroCard';
|
|
10
10
|
export { default as ZeroStateCard } from './components/zeroStateCard/ZeroStateCard';
|
|
11
11
|
export { ChartFilledIcon, MonthlySpendComparisonIcon, ZeroStateIcon } from './components/beaticons';
|
|
12
|
-
export type { MicroWidgetProps, StyleProps } from './interfaces';
|
|
12
|
+
export type { clientColorSchemeProps, MicroWidgetProps, StyleProps } from './interfaces';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as s, B as e, C as o, c as t, b as i, I as d, M as n, a as C, d as c, N as I, V as M, Z as g, e as h } from "../ViewMoreMicroCard-C5yQiaed.mjs";
|
|
2
2
|
export {
|
|
3
3
|
s as AppStore,
|
|
4
4
|
e as BeatCard,
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
import { Beat } from '../common/types/Beat';
|
|
2
|
+
export interface clientColorSchemeProps {
|
|
3
|
+
[key: string]: string | undefined;
|
|
4
|
+
}
|
|
2
5
|
export interface MicroWidgetProps {
|
|
3
6
|
allowSingleCardPeeking?: boolean;
|
|
4
7
|
ariaLabel?: string;
|
|
8
|
+
clientColorScheme?: clientColorSchemeProps;
|
|
5
9
|
showCTAColocatedWithText?: boolean;
|
|
6
10
|
heightOverrides?: number | string;
|
|
7
11
|
isActiveCard?: boolean;
|
|
@@ -3,8 +3,8 @@ import { u as P, C as He, D as Be, M as Pe, c as $e, T as Ve, a as We } from "..
|
|
|
3
3
|
import { B as ba, d as Ta, b as Aa } from "../TransactionDetails-_cXLXTd3.mjs";
|
|
4
4
|
import { T as M } from "../User-DaJAQ09j.mjs";
|
|
5
5
|
import { O as xa } from "../User-DaJAQ09j.mjs";
|
|
6
|
-
import { S as ee, D as Ge } from "../TransactionStore-
|
|
7
|
-
import { T as Ia } from "../TransactionStore-
|
|
6
|
+
import { S as ee, D as Ge } from "../TransactionStore-DUVfWzsI.mjs";
|
|
7
|
+
import { T as Ia } from "../TransactionStore-DUVfWzsI.mjs";
|
|
8
8
|
import { e as Ue } from "../exportTransactionsToCSV-D8TTNrrE.mjs";
|
|
9
9
|
import { E as Da } from "../ExportCsvAction-CBJAfyAw.mjs";
|
|
10
10
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BeatApi, Beat, GlobalStore, Tag, Tagging, Transaction, TransactionRule } from '../../common';
|
|
1
|
+
import { BeatApi, TransactionType, Beat, GlobalStore, Tag, Tagging, Transaction, TransactionRule } from '../../common';
|
|
2
2
|
import { TransactionApi } from '../api/TransactionApi';
|
|
3
3
|
import { UiStore } from './UiStore';
|
|
4
4
|
export type TransactionFilter = {
|
|
@@ -93,7 +93,7 @@ export declare class TransactionStore {
|
|
|
93
93
|
repeating_transaction_guid?: string | null;
|
|
94
94
|
scheduled_payment_guid?: string | null;
|
|
95
95
|
top_level_category_guid?: string;
|
|
96
|
-
transaction_type:
|
|
96
|
+
transaction_type: TransactionType;
|
|
97
97
|
user_date?: number | null;
|
|
98
98
|
user_guid: string;
|
|
99
99
|
user_transaction_rule_guid?: string | null;
|
package/dist/trends/index.es.js
CHANGED
|
@@ -19,7 +19,7 @@ import { DataGridPro as ut } from "@mui/x-data-grid-pro";
|
|
|
19
19
|
import { C as gt } from "../CurrencyText-kyC1aseI.mjs";
|
|
20
20
|
import { b as mt } from "../Localization-2MODESHW.mjs";
|
|
21
21
|
import { H as Ie } from "../HeaderCell-DjuifqHJ.mjs";
|
|
22
|
-
import { T as A, b as pt } from "../ViewMoreMicroCard-
|
|
22
|
+
import { T as A, b as pt } from "../ViewMoreMicroCard-C5yQiaed.mjs";
|
|
23
23
|
import { A as y, W as ke } from "../WidgetContainer-DtPnPQZY.mjs";
|
|
24
24
|
import { c as Ct } from "../Category-CevNQ03n.mjs";
|
|
25
25
|
import { a as Ne, T as He } from "../TransactionDetails-_cXLXTd3.mjs";
|