@mx-cartographer/experiences 3.7.0-alpha.sms7 → 3.7.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.
- package/CHANGELOG.md +22 -0
- package/dist/accounts/ConnectMiniWidget.d.ts +2 -2
- package/dist/accounts/components/ConnectStatus.d.ts +2 -1
- package/dist/accounts/components/ConnectionsDrawer.d.ts +2 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.d.ts +4 -2
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.d.ts +4 -2
- package/dist/accounts/utils/AccountFields.d.ts +3 -3
- package/dist/budgets/utils/Budget.d.ts +2 -2
- package/dist/cashflow/components/RemainingCash.d.ts +2 -2
- package/dist/common/api/AnalyticsApi.d.ts +3 -3
- package/dist/common/components/CurrencyInput.d.ts +2 -7
- package/dist/common/components/CurrencyText.d.ts +1 -0
- package/dist/common/components/charts/StackedLineChart.d.ts +3 -0
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +5 -2
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +2 -2
- package/dist/common/constants/Analytics.d.ts +9 -0
- package/dist/common/types/Analytics.d.ts +9 -23
- package/dist/common/types/GlobalCopy.d.ts +8 -1
- package/dist/common/types/localization/AccountFilterCopy.d.ts +4 -0
- package/dist/common/types/localization/AccountTypeCopy.d.ts +16 -0
- package/dist/common/types/localization/AccountsCopy.d.ts +113 -0
- package/dist/common/types/localization/BudgetsCopy.d.ts +11 -0
- package/dist/common/types/localization/CashflowCopy.d.ts +7 -1
- package/dist/common/types/localization/CategoryCopy.d.ts +1 -0
- package/dist/common/types/localization/CommonCopy.d.ts +9 -1
- package/dist/common/types/localization/ConnectCopy.d.ts +74 -0
- package/dist/common/types/localization/DateRangePickerCopy.d.ts +5 -0
- package/dist/common/types/localization/NotificationsCopy.d.ts +7 -0
- package/dist/common/types/localization/RecurringCopy.d.ts +76 -0
- package/dist/common/types/localization/SpendingCopy.d.ts +16 -0
- package/dist/common/types/localization/TransactionsCopy.d.ts +3 -0
- package/dist/common/types/localization/TrendsCopy.d.ts +9 -0
- package/dist/common/types/localization/index.d.ts +8 -0
- package/dist/common/utils/Fetch.d.ts +2 -1
- package/dist/index.es.js +5616 -5791
- package/dist/index.es.js.map +1 -1
- package/dist/microinsights/analytics.d.ts +2 -2
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget.d.ts +0 -1
- package/dist/microinsights/stores/AppStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +3 -9
- package/dist/notifications/components/NotificationBadge.d.ts +2 -2
- package/dist/notifications/components/NotificationList.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityList.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityRow.d.ts +2 -2
- package/dist/recurringactivity/components/ActivityStatus.d.ts +2 -2
- package/dist/recurringactivity/components/activitycalendar/Legend.d.ts +4 -2
- package/dist/recurringactivity/components/shared/ActivitySettings.d.ts +4 -2
- package/dist/recurringactivity/components/shared/activitysettings/AddActivityDetails.d.ts +2 -2
- package/dist/recurringactivity/util/getRecurrence.d.ts +9 -0
- package/dist/recurringactivity/util/getStatus.d.ts +3 -0
- package/dist/spending/components/SpendingDonut.d.ts +2 -2
- package/dist/spending/components/SpendingList.d.ts +2 -2
- package/dist/transactions/analytics.d.ts +1 -1
- package/dist/transactions/components/shared/transactiondetails/Description.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/HideAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.d.ts +2 -2
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.d.ts +5 -3
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.d.ts +5 -3
- package/dist/transactions/components/splitmanager/SplitManager.d.ts +2 -2
- package/dist/transactions/components/splitmanager/SplitRow.d.ts +2 -2
- package/dist/transactions/components/tagmanager/Header.d.ts +4 -2
- package/dist/transactions/components/tagmanager/SearchBox.d.ts +2 -2
- package/dist/transactions/components/tagmanager/TagRow.d.ts +2 -2
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.d.ts +2 -2
- package/dist/transactions/stores/TransactionStore.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { analyticsSession } from '../common';
|
|
2
2
|
|
|
3
3
|
export type AnalyticSession = Awaited<ReturnType<typeof analyticsSession>>;
|
|
4
|
-
export declare const onAnalyticEvent: (event: string, session: AnalyticSession) => Promise<any>;
|
|
5
|
-
export declare const onAnalyticPageView: (page: string, session: AnalyticSession) => Promise<any>;
|
|
4
|
+
export declare const onAnalyticEvent: (event: string, session: AnalyticSession | null) => Promise<any>;
|
|
5
|
+
export declare const onAnalyticPageView: (page: string, session: AnalyticSession | null) => Promise<any>;
|
|
@@ -6,7 +6,6 @@ export interface InsightsMicroWidgetProps extends MicroWidgetProps {
|
|
|
6
6
|
areBeatsLoading: boolean;
|
|
7
7
|
beats: Beat[];
|
|
8
8
|
endpoint: string;
|
|
9
|
-
logOutUser: () => void;
|
|
10
9
|
onEvent?: (event?: string | undefined) => void;
|
|
11
10
|
onPageview?: (event?: string | undefined) => void;
|
|
12
11
|
token: string;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
import { AnalyticSession } from '../analytics';
|
|
2
1
|
import { BeatApi } from '../../common/api/BeatApi';
|
|
3
2
|
import { Beat } from '../../common';
|
|
4
3
|
|
|
5
|
-
export interface ErrPromise<TSuccess, TError = unknown> {
|
|
6
|
-
then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
7
|
-
catch<TResult = never>(onrejected?: ((reason: TError) => TResult | PromiseLike<TResult>) | undefined | null): Promise<TSuccess | TResult>;
|
|
8
|
-
}
|
|
9
4
|
export declare class InsightsMicroWidgetStore {
|
|
10
|
-
onAnalyticEvent: (event: string, session: AnalyticSession) =>
|
|
11
|
-
onAnalyticPageView: (
|
|
5
|
+
onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
|
|
6
|
+
onAnalyticPageView: (page: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
|
|
12
7
|
beatApi: BeatApi;
|
|
13
|
-
|
|
14
|
-
initialize: (endpoint: string, token: string, logOutUser: () => void) => Promise<void>;
|
|
8
|
+
initialize: (endpoint: string, token: string) => Promise<void>;
|
|
15
9
|
updateBeat: (beat: Beat) => Promise<void>;
|
|
16
10
|
}
|
|
@@ -4,5 +4,5 @@ import { Notification } from '../../common/types';
|
|
|
4
4
|
interface NotificationBadgeProps {
|
|
5
5
|
notification: Notification;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<NotificationBadgeProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Notification } from '../../common/types';
|
|
|
4
4
|
export interface NotificationListProps {
|
|
5
5
|
onClick?: (notification: Notification) => void;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<NotificationListProps>;
|
|
8
|
+
export default _default;
|
|
@@ -7,5 +7,5 @@ interface ActivityRowProps {
|
|
|
7
7
|
onActivityClick?: (activity: Activity) => void;
|
|
8
8
|
showOrdinal?: boolean;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
10
|
+
declare const _default: React.FunctionComponent<ActivityRowProps>;
|
|
11
|
+
export default _default;
|
|
@@ -8,5 +8,5 @@ interface ActivityStatusProps {
|
|
|
8
8
|
total: number;
|
|
9
9
|
onNewClick?: () => void;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
11
|
+
declare const _default: React.FunctionComponent<ActivityStatusProps>;
|
|
12
|
+
export default _default;
|
|
@@ -10,5 +10,5 @@ interface ActivityDetailsProps {
|
|
|
10
10
|
onNextDateChange: (date: Date | null) => void;
|
|
11
11
|
transaction: Transaction;
|
|
12
12
|
}
|
|
13
|
-
declare const
|
|
14
|
-
export default
|
|
13
|
+
declare const _default: React.FunctionComponent<ActivityDetailsProps>;
|
|
14
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { RecurrenceTypes, RecurringCopy } from '../../common';
|
|
2
|
+
|
|
3
|
+
interface GetRecurrenceArgs {
|
|
4
|
+
copy: RecurringCopy;
|
|
5
|
+
date: Date | null;
|
|
6
|
+
type: RecurrenceTypes;
|
|
7
|
+
}
|
|
8
|
+
export declare const getRecurrence: ({ copy, date, type }: GetRecurrenceArgs) => string;
|
|
9
|
+
export {};
|
|
@@ -11,5 +11,5 @@ interface SpendingDonutProps {
|
|
|
11
11
|
totalLabel: string;
|
|
12
12
|
variant?: 'mini' | 'full';
|
|
13
13
|
}
|
|
14
|
-
declare const
|
|
15
|
-
export default
|
|
14
|
+
declare const _default: React.FunctionComponent<SpendingDonutProps>;
|
|
15
|
+
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { analyticsSession } from '../common';
|
|
2
2
|
|
|
3
3
|
export type AnalyticSession = Awaited<ReturnType<typeof analyticsSession>>;
|
|
4
|
-
export declare const onAnalyticEvent: (event: string, session: AnalyticSession) => Promise<any>;
|
|
4
|
+
export declare const onAnalyticEvent: (event: string, session: AnalyticSession | null) => Promise<any>;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../common';
|
|
|
4
4
|
interface DescriptionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<DescriptionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../common';
|
|
|
4
4
|
interface FlagTransactionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<FlagTransactionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../../common';
|
|
|
4
4
|
interface DeleteActionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<DeleteActionProps>;
|
|
8
|
+
export default _default;
|
package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../../common';
|
|
|
4
4
|
interface DeleteLogoActionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<DeleteLogoActionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../../common';
|
|
|
4
4
|
interface HideActionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<HideActionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../../common';
|
|
|
4
4
|
interface MemoActionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<MemoActionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ import { Transaction } from '../../../../../common';
|
|
|
4
4
|
interface SplitActionProps {
|
|
5
5
|
transaction: Transaction;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<SplitActionProps>;
|
|
8
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import { GridCellParams } from '@mui/x-data-grid';
|
|
1
|
+
import { GridCellParams } from '@mui/x-data-grid-pro';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
4
|
-
|
|
3
|
+
declare const _default: ((params: GridCellParams) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GridRenderCellParams } from '@mui/x-data-grid-pro';
|
|
2
2
|
|
|
3
|
-
declare const
|
|
4
|
-
|
|
3
|
+
declare const _default: ((params: GridRenderCellParams) => import("react/jsx-runtime").JSX.Element) & {
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
6
|
+
export default _default;
|
|
@@ -9,5 +9,5 @@ interface SplitManagerProps {
|
|
|
9
9
|
splits: Transaction[];
|
|
10
10
|
transaction: Transaction;
|
|
11
11
|
}
|
|
12
|
-
declare const
|
|
13
|
-
export default
|
|
12
|
+
declare const _default: React.FunctionComponent<SplitManagerProps>;
|
|
13
|
+
export default _default;
|
|
@@ -8,5 +8,5 @@ interface SplitRowProps {
|
|
|
8
8
|
onUpdateAmount: (index: number, amount: number) => void;
|
|
9
9
|
split: Transaction;
|
|
10
10
|
}
|
|
11
|
-
declare const
|
|
12
|
-
export default
|
|
11
|
+
declare const _default: React.FunctionComponent<SplitRowProps>;
|
|
12
|
+
export default _default;
|
|
@@ -4,5 +4,5 @@ interface SearchBoxProps {
|
|
|
4
4
|
onSearchValueChanged: (value: string) => void;
|
|
5
5
|
searchValue: string;
|
|
6
6
|
}
|
|
7
|
-
declare const
|
|
8
|
-
export default
|
|
7
|
+
declare const _default: React.FunctionComponent<SearchBoxProps>;
|
|
8
|
+
export default _default;
|
|
@@ -5,5 +5,5 @@ interface EditCategoryActionProps {
|
|
|
5
5
|
onClose: () => void;
|
|
6
6
|
transaction: Transaction;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const _default: React.FunctionComponent<EditCategoryActionProps>;
|
|
9
|
+
export default _default;
|
|
@@ -23,7 +23,7 @@ export declare class TransactionStore {
|
|
|
23
23
|
transactions: Transaction[];
|
|
24
24
|
associatedBeats: Beat[];
|
|
25
25
|
cachedStartDate: Date;
|
|
26
|
-
onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession) => Promise<any>;
|
|
26
|
+
onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
|
|
27
27
|
sortColumn: string;
|
|
28
28
|
sortDirection: string;
|
|
29
29
|
filter: TransactionFilter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "3.7.0
|
|
3
|
+
"version": "3.7.0",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"main": "dist/index.es.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@emotion/styled": "^11.11.0",
|
|
28
28
|
"@honeybadger-io/js": "^6.8.3",
|
|
29
29
|
"@honeybadger-io/react": "^6.1.19",
|
|
30
|
-
"@kyper/mui": "^4.0.
|
|
30
|
+
"@kyper/mui": "^4.0.4",
|
|
31
31
|
"@mui/icons-material": "^5.16.0",
|
|
32
32
|
"@mui/lab": "^5.0.0-alpha.172",
|
|
33
33
|
"@mui/material": "^5.16.0",
|
|
@@ -122,4 +122,4 @@
|
|
|
122
122
|
"README.md"
|
|
123
123
|
],
|
|
124
124
|
"packageManager": "yarn@4.4.1"
|
|
125
|
-
}
|
|
125
|
+
}
|