@mx-cartographer/experiences 7.7.2 → 7.8.0-alpha-ram-goal-bug
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 +18 -0
- package/dist/Account-BiB1F8lL.mjs +118 -0
- package/dist/{Account-BfkKlfsW.mjs → Account-DuOz1a27.mjs} +1 -1
- package/dist/AccountApi-DgZ8ILj1.mjs +19 -0
- package/dist/{AccountDetailsHeader-DqYIuhOs.mjs → AccountDetailsHeader-Cf2TUJnM.mjs} +4 -4
- package/dist/AccountDisplayName-CO7z3v99.mjs +11 -0
- package/dist/{AccountFields-yP8QdgPd.mjs → AccountFields-UdOvbQ5H.mjs} +7 -6
- package/dist/{AccountListItem-DMbu9ehd.mjs → AccountListItem-BPVxmNT_.mjs} +7 -7
- package/dist/AccountStore-BbPWe2C9.mjs +244 -0
- package/dist/Accounts-M-LTzStv.mjs +27 -0
- package/dist/{CategoryStore-Cnw9yUys.mjs → CategoryStore-BYICdb9m.mjs} +73 -73
- package/dist/CategoryUtil-meuejJqP.mjs +80 -0
- package/dist/{ConnectionsDrawer-BqR6FWJO.mjs → ConnectionsDrawer-BDpVTTSe.mjs} +1 -1
- package/dist/{DebtsStore-DuSdXM1k.mjs → DebtsStore-BIbOVCPe.mjs} +12 -12
- package/dist/{ExportCsvAction-HK5CeZWR.mjs → ExportCsvAction-CDuzTva1.mjs} +2 -2
- package/dist/GlobalAccountFilter-DQCPNc95.mjs +316 -0
- package/dist/GoalStore-B4LVt_kH.mjs +422 -0
- package/dist/{ManageIncome-BrTrlplL.mjs → ManageIncome-CL3hv8i9.mjs} +44 -44
- package/dist/NetWorthStore-yV43kJro.mjs +168 -0
- package/dist/{NotificationSettings-D4Vh3z8I.mjs → NotificationSettings-SPg3pwbX.mjs} +171 -169
- package/dist/{NotificationStore-CDX_kqHa.mjs → NotificationStore-Ck2KdNmT.mjs} +22 -14
- package/dist/{RecurringSettings-D2V6l77l.mjs → RecurringSettings-Bmnnpb48.mjs} +16 -16
- package/dist/{RecurringTransactionsStore-Caf1cq4v.mjs → RecurringTransactionsStore-BQBEJOPP.mjs} +91 -81
- package/dist/{RecurringTransactions-Bf4lX0Cn.mjs → RepeatingTransaction-miZVnk_A.mjs} +4 -4
- package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BHpuyujx.mjs} +1 -1
- package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
- package/dist/{SpendingLegend-gTCJLLkV.mjs → SpendingLegend-CD60HCYS.mjs} +33 -33
- package/dist/{TransactionDetails-7MHOshKQ.mjs → TransactionDetails-BDhz3DLT.mjs} +2 -2
- package/dist/TransactionStore-BSp5bOKg.mjs +705 -0
- package/dist/{User-LJpEwPtn.mjs → User-B0LnmiKO.mjs} +21 -20
- package/dist/WidgetContainer-BbPS3Yxz.mjs +555 -0
- package/dist/accounts/index.es.js +421 -391
- package/dist/accounts/stores/AccountStore.d.ts +30 -23
- package/dist/accounts/utils/Accounts.d.ts +2 -1
- package/dist/budgets/index.es.js +546 -540
- package/dist/budgets/store/BudgetsStore.d.ts +1 -0
- package/dist/cashflow/index.es.js +444 -457
- package/dist/categories/index.es.js +1 -1
- package/dist/categories/stores/CategoryStore.d.ts +10 -5
- package/dist/categories/util/CategoryUtil.d.ts +3 -2
- package/dist/common/components/GlobalAccountFilter.d.ts +11 -0
- package/dist/common/components/SkeletonLoader.d.ts +7 -0
- package/dist/common/components/WidgetContainer.d.ts +7 -6
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +7 -0
- package/dist/common/components/index.d.ts +2 -2
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/index.es.js +459 -445
- package/dist/common/stores/AppDataStore.d.ts +3 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
- package/dist/common/stores/GlobalStore.d.ts +3 -3
- package/dist/common/stores/GlobalUiStore.d.ts +10 -6
- package/dist/common/stores/UserStore.d.ts +3 -2
- package/dist/common/types/Account.d.ts +9 -6
- package/dist/dashboard/index.es.js +84 -116
- package/dist/debts/index.es.js +417 -413
- package/dist/{exportTransactionsToCSV-BrTYdSgJ.mjs → exportTransactionsToCSV-DtQ7ovAR.mjs} +1 -1
- package/dist/finstrong/index.es.js +1167 -1110
- package/dist/goals/index.es.js +618 -598
- package/dist/goals/stores/GoalStore.d.ts +19 -4
- package/dist/help/index.es.js +13 -13
- package/dist/investments/index.es.js +330 -325
- package/dist/investments/stores/HoldingStore.d.ts +1 -0
- package/dist/networth/components/NetWorthChart.d.ts +3 -2
- package/dist/networth/components/NetWorthList.d.ts +3 -3
- package/dist/networth/index.es.js +423 -433
- package/dist/networth/stores/NetWorthStore.d.ts +20 -9
- package/dist/networth/utils/NetWorthUtils.d.ts +2 -2
- package/dist/notifications/index.es.js +90 -91
- package/dist/notifications/stores/NotificationStore.d.ts +3 -1
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
- package/dist/recurringtransactions/index.es.js +543 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +4 -2
- package/dist/settings/index.es.js +253 -248
- package/dist/spending/index.es.js +282 -301
- package/dist/transactions/index.es.js +269 -263
- package/dist/transactions/stores/TransactionStore.d.ts +26 -77
- package/dist/transactions/stores/UiStore.d.ts +0 -2
- package/dist/trends/index.es.js +708 -699
- package/dist/{useAccountDisplayName-BTvP_pw6.mjs → useAccountDisplayName-Bot2tb4n.mjs} +1 -1
- package/package.json +3 -3
- package/dist/AccountStore-CWFzg8-E.mjs +0 -260
- package/dist/Accounts-CWt-NRq8.mjs +0 -9
- package/dist/CategoryUtil-DZflYFam.mjs +0 -78
- package/dist/ConnectDrawer-BOjfI6rz.mjs +0 -563
- package/dist/GoalStore-C7ahxxLi.mjs +0 -364
- package/dist/NetWorthStore-xWIo9CYU.mjs +0 -150
- package/dist/TransactionStore-DJwPaZuM.mjs +0 -677
- package/dist/WidgetContainer-CrK6tyHr.mjs +0 -572
- package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -20
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -31
- package/dist/common/components/accountfilter/index.d.ts +0 -1
- package/dist/{ToggleListItem-ciFTiqRS.mjs → Notification-Bs1fdbzI.mjs} +1 -1
|
@@ -5,25 +5,30 @@ export declare class CategoryStore {
|
|
|
5
5
|
uiStore: UiStore;
|
|
6
6
|
api: CategoryApi;
|
|
7
7
|
categories: Category[];
|
|
8
|
+
categoriesLoaded: boolean;
|
|
9
|
+
categoriesLoading: boolean;
|
|
8
10
|
dateRangeCategoryTotals: DateRangeCategoryTotals[];
|
|
9
11
|
monthlyCategoryTotals: MonthlyCategoryTotals[];
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
dateRangeTotalsLoaded: boolean;
|
|
13
|
+
dateRangeTotalsLoading: boolean;
|
|
12
14
|
monthlyTotalsLoaded: boolean;
|
|
15
|
+
monthlyTotalsLoading: boolean;
|
|
13
16
|
constructor(globalStore: GlobalStore);
|
|
14
17
|
get detailedCategories(): DetailedCategory[];
|
|
15
18
|
get detailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[];
|
|
16
19
|
get incomeCategories(): DetailedCategory[];
|
|
17
20
|
get spendCategories(): DetailedCategory[];
|
|
18
21
|
get transferCategories(): DetailedCategory[];
|
|
22
|
+
setCategories: (categories: Category[]) => void;
|
|
23
|
+
setMonthlyCategoryTotals: (totals: MonthlyCategoryTotals[]) => void;
|
|
24
|
+
setDateRangeCategoryTotals: (totals: DateRangeCategoryTotals[]) => void;
|
|
19
25
|
get trendsCategories(): DetailedCategory[];
|
|
20
26
|
addCategory: (name: string, parentGuid: string) => Promise<void>;
|
|
21
|
-
loadCategories: (
|
|
27
|
+
loadCategories: () => Promise<void>;
|
|
22
28
|
loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
23
29
|
loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
24
|
-
reloadCategoryTotals: (accounts: Account[], startDate
|
|
30
|
+
reloadCategoryTotals: (accounts: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
25
31
|
removeCategory: (guid: string) => Promise<void>;
|
|
26
|
-
setIsLoadingCategoryTotals: (isLoading: boolean) => void;
|
|
27
32
|
updateCategory: (category: Category) => Promise<void>;
|
|
28
33
|
getCategoryName: (guid: string) => string;
|
|
29
34
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { Theme } from '@mui/material';
|
|
2
|
-
import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction } from '../../common';
|
|
2
|
+
import { Category, DateRangeCategoryTotals, DetailedCategory, DetailedCategoryWithTransactions, MonthlyCategoryTotals, Transaction, CategoryCopy } from '../../common';
|
|
3
3
|
/**
|
|
4
4
|
* Augment categories
|
|
5
5
|
* @param categories - Categories to augment
|
|
6
6
|
* @param monthlyCategoryTotals - Monthly category totals
|
|
7
7
|
* @param currentCategoryTotals - Current month category totals
|
|
8
|
+
* @param copy - Category copy
|
|
8
9
|
*/
|
|
9
|
-
export declare const augmentCategories: (categories: Category[], currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
|
|
10
|
+
export declare const augmentCategories: (categories: Category[], copy: CategoryCopy, currentCategoryTotals: DateRangeCategoryTotals[], monthlyCategoryTotals: MonthlyCategoryTotals[]) => DetailedCategory[];
|
|
10
11
|
export declare const getCategoryColor: (guid: string, theme: Theme) => string;
|
|
11
12
|
export declare const getCategoryIcon: (guid: string) => string | undefined;
|
|
12
13
|
/**
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material/styles';
|
|
2
|
+
import { AccountType } from '../types';
|
|
3
|
+
export interface GlobalAccountFilterProps {
|
|
4
|
+
allowedAccountTypes?: AccountType[] | undefined;
|
|
5
|
+
onAccountFilterClick?: () => void;
|
|
6
|
+
sx?: SxProps;
|
|
7
|
+
variant?: 'outlined' | 'text';
|
|
8
|
+
}
|
|
9
|
+
export declare const GlobalAccountFilter: (({ allowedAccountTypes, onAccountFilterClick, sx, variant, }: GlobalAccountFilterProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SxProps } from '@mui/material/styles';
|
|
2
|
+
interface SkeletonLoaderProps {
|
|
3
|
+
sx?: SxProps;
|
|
4
|
+
variant?: 'card' | 'list' | 'dashboard';
|
|
5
|
+
}
|
|
6
|
+
export declare const SkeletonLoader: ({ sx, variant }: SkeletonLoaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
1
|
+
import { default as React, PropsWithChildren } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material/styles';
|
|
3
|
-
import {
|
|
3
|
+
import { AccountType } from '../../common';
|
|
4
4
|
import { CalendarActions } from './daterangeselector/DateRangeSelector';
|
|
5
5
|
type Action = {
|
|
6
6
|
label: string;
|
|
@@ -8,7 +8,7 @@ type Action = {
|
|
|
8
8
|
onClick: () => void;
|
|
9
9
|
};
|
|
10
10
|
interface WidgetContainerProps {
|
|
11
|
-
|
|
11
|
+
allowedAccountTypes?: AccountType[] | undefined;
|
|
12
12
|
actions?: (Action | JSX.Element)[];
|
|
13
13
|
calendarActions?: CalendarActions;
|
|
14
14
|
className?: string;
|
|
@@ -19,10 +19,11 @@ interface WidgetContainerProps {
|
|
|
19
19
|
dateRangeVariant?: 'outlined' | 'text' | 'readonly' | 'timeframebuttons' | 'timeframetabs';
|
|
20
20
|
hasDivider?: boolean;
|
|
21
21
|
onBackClick?: () => void;
|
|
22
|
-
onAccountsFilterClick?: (
|
|
22
|
+
onAccountsFilterClick?: () => void;
|
|
23
|
+
showAccountFilter?: boolean;
|
|
23
24
|
showDividerAboveDateSelector?: boolean;
|
|
24
25
|
sx?: SxProps;
|
|
25
26
|
title?: string;
|
|
26
27
|
}
|
|
27
|
-
declare const
|
|
28
|
-
export
|
|
28
|
+
export declare const WidgetContainer: React.FC<PropsWithChildren<WidgetContainerProps>>;
|
|
29
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AccountType } from '../../types';
|
|
2
|
+
export interface GlobalAccountFilterListProps {
|
|
3
|
+
allowedAccountTypes: AccountType[] | undefined;
|
|
4
|
+
}
|
|
5
|
+
export declare const GlobalAccountFilterList: (({ allowedAccountTypes }: GlobalAccountFilterListProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
6
|
+
displayName: string;
|
|
7
|
+
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
export * from './accountfilter';
|
|
2
1
|
export * from './barchart';
|
|
3
2
|
export * from './calendar';
|
|
4
3
|
export * from './charts';
|
|
@@ -9,7 +8,7 @@ export * from './drawer';
|
|
|
9
8
|
export { default as ErrorBoundary } from './ErrorBoundary';
|
|
10
9
|
export { default as MicroWidgetContainer } from './MicroWidgetContainer';
|
|
11
10
|
export { default as MiniWidgetContainer } from './MiniWidgetContainer';
|
|
12
|
-
export {
|
|
11
|
+
export { WidgetContainer } from './WidgetContainer';
|
|
13
12
|
export { default as ConnectDrawer } from './ConnectDrawer';
|
|
14
13
|
export { default as CurrencyInput } from './CurrencyInput';
|
|
15
14
|
export { default as Loader } from './Loader';
|
|
@@ -29,3 +28,4 @@ export { ListItemWrapper } from './ListItemWrapper';
|
|
|
29
28
|
export { Select } from './Select';
|
|
30
29
|
export { ToggleButtonListItem } from './listitems/ToggleButtonListItem';
|
|
31
30
|
export { ToggleListItem } from './listitems/ToggleListItem';
|
|
31
|
+
export { GlobalAccountFilter } from './GlobalAccountFilter';
|