@mx-cartographer/experiences 7.2.16-alpha.mm0 → 7.3.0-alpha.sms1
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/dist/{Account-vp_TAbGt.mjs → Account-Bxw0_4FU.mjs} +1 -1
- package/dist/{AccountDetailsContent-CsH1w_GZ.mjs → AccountDetailsContent-CAM9y39M.mjs} +6 -6
- package/dist/{AccountDetailsHeader-Df1JkzYi.mjs → AccountDetailsHeader-JtSX6Uf9.mjs} +4 -4
- package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-C9FlatNb.mjs} +2 -2
- package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-JFMZROh7.mjs} +7 -7
- package/dist/{AccountStore-BkoLK9Tq.mjs → AccountStore-BgNOyMdp.mjs} +74 -100
- package/dist/Accounts-BRf_YeTf.mjs +27 -0
- package/dist/CategoryStore-yHI0hWmK.mjs +174 -0
- package/dist/CategoryUtil-pZRIYOgN.mjs +80 -0
- package/dist/{ConnectDrawer-Bw5s6Dw1.mjs → ConnectDrawer-BQNs-hjk.mjs} +9 -9
- package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-ByGQE7D5.mjs} +3 -3
- package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-C9bblOgW.mjs} +1 -1
- package/dist/{GoalStore-DZ_Jvsa_.mjs → GoalStore-D-aB35SY.mjs} +151 -111
- package/dist/{ManageIncome-CV-bGuR-.mjs → ManageIncome-1s_q5W4X.mjs} +3 -3
- package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-DCsTZpuS.mjs} +2 -2
- package/dist/{NotificationSettings-5i3IywCi.mjs → NotificationSettings-DqrkNMod.mjs} +236 -238
- package/dist/{NotificationStore-C6PH6MKm.mjs → NotificationStore-BxP_P2dA.mjs} +23 -15
- package/dist/{RecurringSettings-G6_BbsIF.mjs → RecurringSettings-A_rAGCTP.mjs} +3 -3
- package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-DK8dWldr.mjs} +3 -3
- package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4YOD7_D.mjs} +29 -26
- package/dist/{TransactionDetails-CDtya0KS.mjs → TransactionDetails-oP1eSuiS.mjs} +1 -1
- package/dist/TransactionStore-ai3uII_r.mjs +690 -0
- package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-BHWANqT4.mjs} +1 -1
- package/dist/accounts/index.es.js +125 -127
- package/dist/accounts/stores/AccountStore.d.ts +25 -22
- package/dist/accounts/utils/Accounts.d.ts +2 -1
- package/dist/budgets/index.es.js +499 -501
- package/dist/budgets/store/BudgetsStore.d.ts +1 -0
- package/dist/cashflow/index.es.js +382 -384
- package/dist/categories/index.es.js +1 -1
- package/dist/categories/stores/CategoryStore.d.ts +5 -1
- package/dist/categories/util/CategoryUtil.d.ts +3 -2
- package/dist/common/index.es.js +206 -214
- 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/UserStore.d.ts +3 -2
- package/dist/common/types/Account.d.ts +9 -6
- package/dist/dashboard/index.es.js +1 -1
- package/dist/debts/index.es.js +375 -377
- package/dist/finstrong/index.es.js +415 -417
- package/dist/goals/index.es.js +557 -559
- package/dist/goals/stores/GoalStore.d.ts +17 -4
- package/dist/help/index.es.js +1 -1
- package/dist/investments/index.es.js +435 -437
- package/dist/investments/stores/HoldingStore.d.ts +1 -0
- package/dist/networth/index.es.js +172 -174
- package/dist/notifications/index.es.js +3 -3
- package/dist/notifications/stores/NotificationStore.d.ts +3 -1
- package/dist/recurringtransactions/index.es.js +173 -175
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +3 -2
- package/dist/settings/index.es.js +279 -285
- package/dist/spending/index.es.js +281 -283
- package/dist/transactions/index.es.js +6 -6
- package/dist/transactions/stores/TransactionStore.d.ts +21 -77
- package/dist/trends/index.es.js +4 -4
- package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-BUAApBIb.mjs} +1 -1
- package/package.json +4 -4
- package/dist/Accounts-C1QxUB-e.mjs +0 -9
- package/dist/CategoryStore-BCcpI3oJ.mjs +0 -183
- package/dist/CategoryUtil-BR3H5i6n.mjs +0 -78
- package/dist/TransactionStore-DxPLdF3B.mjs +0 -677
|
@@ -5,6 +5,7 @@ export declare class CategoryStore {
|
|
|
5
5
|
uiStore: UiStore;
|
|
6
6
|
api: CategoryApi;
|
|
7
7
|
categories: Category[];
|
|
8
|
+
categoriesLoaded: boolean;
|
|
8
9
|
dateRangeCategoryTotals: DateRangeCategoryTotals[];
|
|
9
10
|
monthlyCategoryTotals: MonthlyCategoryTotals[];
|
|
10
11
|
dataRangeTotalsLoaded: boolean;
|
|
@@ -16,8 +17,11 @@ export declare class CategoryStore {
|
|
|
16
17
|
get incomeCategories(): DetailedCategory[];
|
|
17
18
|
get spendCategories(): DetailedCategory[];
|
|
18
19
|
get transferCategories(): DetailedCategory[];
|
|
20
|
+
setCategories: (categories: Category[]) => void;
|
|
21
|
+
setMonthlyCategoryTotals: (totals: MonthlyCategoryTotals[]) => void;
|
|
22
|
+
setDateRangeCategoryTotals: (totals: DateRangeCategoryTotals[]) => void;
|
|
19
23
|
addCategory: (name: string, parentGuid: string) => Promise<void>;
|
|
20
|
-
loadCategories: (
|
|
24
|
+
loadCategories: () => Promise<void>;
|
|
21
25
|
loadDateRangeCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
22
26
|
loadMonthlyCategoryTotals: (accounts?: Account[], startDate?: Date, endDate?: Date) => Promise<void>;
|
|
23
27
|
reloadCategoryTotals: (accounts: Account[], startDate: Date, endDate: Date) => Promise<void>;
|
|
@@ -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
|
/**
|