@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.
Files changed (92) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/Account-BiB1F8lL.mjs +118 -0
  3. package/dist/{Account-BfkKlfsW.mjs → Account-DuOz1a27.mjs} +1 -1
  4. package/dist/AccountApi-DgZ8ILj1.mjs +19 -0
  5. package/dist/{AccountDetailsHeader-DqYIuhOs.mjs → AccountDetailsHeader-Cf2TUJnM.mjs} +4 -4
  6. package/dist/AccountDisplayName-CO7z3v99.mjs +11 -0
  7. package/dist/{AccountFields-yP8QdgPd.mjs → AccountFields-UdOvbQ5H.mjs} +7 -6
  8. package/dist/{AccountListItem-DMbu9ehd.mjs → AccountListItem-BPVxmNT_.mjs} +7 -7
  9. package/dist/AccountStore-BbPWe2C9.mjs +244 -0
  10. package/dist/Accounts-M-LTzStv.mjs +27 -0
  11. package/dist/{CategoryStore-Cnw9yUys.mjs → CategoryStore-BYICdb9m.mjs} +73 -73
  12. package/dist/CategoryUtil-meuejJqP.mjs +80 -0
  13. package/dist/{ConnectionsDrawer-BqR6FWJO.mjs → ConnectionsDrawer-BDpVTTSe.mjs} +1 -1
  14. package/dist/{DebtsStore-DuSdXM1k.mjs → DebtsStore-BIbOVCPe.mjs} +12 -12
  15. package/dist/{ExportCsvAction-HK5CeZWR.mjs → ExportCsvAction-CDuzTva1.mjs} +2 -2
  16. package/dist/GlobalAccountFilter-DQCPNc95.mjs +316 -0
  17. package/dist/GoalStore-B4LVt_kH.mjs +422 -0
  18. package/dist/{ManageIncome-BrTrlplL.mjs → ManageIncome-CL3hv8i9.mjs} +44 -44
  19. package/dist/NetWorthStore-yV43kJro.mjs +168 -0
  20. package/dist/{NotificationSettings-D4Vh3z8I.mjs → NotificationSettings-SPg3pwbX.mjs} +171 -169
  21. package/dist/{NotificationStore-CDX_kqHa.mjs → NotificationStore-Ck2KdNmT.mjs} +22 -14
  22. package/dist/{RecurringSettings-D2V6l77l.mjs → RecurringSettings-Bmnnpb48.mjs} +16 -16
  23. package/dist/{RecurringTransactionsStore-Caf1cq4v.mjs → RecurringTransactionsStore-BQBEJOPP.mjs} +91 -81
  24. package/dist/{RecurringTransactions-Bf4lX0Cn.mjs → RepeatingTransaction-miZVnk_A.mjs} +4 -4
  25. package/dist/{SettingsStore-krIRNwHK.mjs → SettingsStore-BHpuyujx.mjs} +1 -1
  26. package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
  27. package/dist/{SpendingLegend-gTCJLLkV.mjs → SpendingLegend-CD60HCYS.mjs} +33 -33
  28. package/dist/{TransactionDetails-7MHOshKQ.mjs → TransactionDetails-BDhz3DLT.mjs} +2 -2
  29. package/dist/TransactionStore-BSp5bOKg.mjs +705 -0
  30. package/dist/{User-LJpEwPtn.mjs → User-B0LnmiKO.mjs} +21 -20
  31. package/dist/WidgetContainer-BbPS3Yxz.mjs +555 -0
  32. package/dist/accounts/index.es.js +421 -391
  33. package/dist/accounts/stores/AccountStore.d.ts +30 -23
  34. package/dist/accounts/utils/Accounts.d.ts +2 -1
  35. package/dist/budgets/index.es.js +546 -540
  36. package/dist/budgets/store/BudgetsStore.d.ts +1 -0
  37. package/dist/cashflow/index.es.js +444 -457
  38. package/dist/categories/index.es.js +1 -1
  39. package/dist/categories/stores/CategoryStore.d.ts +10 -5
  40. package/dist/categories/util/CategoryUtil.d.ts +3 -2
  41. package/dist/common/components/GlobalAccountFilter.d.ts +11 -0
  42. package/dist/common/components/SkeletonLoader.d.ts +7 -0
  43. package/dist/common/components/WidgetContainer.d.ts +7 -6
  44. package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +7 -0
  45. package/dist/common/components/index.d.ts +2 -2
  46. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  47. package/dist/common/index.es.js +459 -445
  48. package/dist/common/stores/AppDataStore.d.ts +3 -1
  49. package/dist/common/stores/GlobalCopyStore.d.ts +0 -1
  50. package/dist/common/stores/GlobalStore.d.ts +3 -3
  51. package/dist/common/stores/GlobalUiStore.d.ts +10 -6
  52. package/dist/common/stores/UserStore.d.ts +3 -2
  53. package/dist/common/types/Account.d.ts +9 -6
  54. package/dist/dashboard/index.es.js +84 -116
  55. package/dist/debts/index.es.js +417 -413
  56. package/dist/{exportTransactionsToCSV-BrTYdSgJ.mjs → exportTransactionsToCSV-DtQ7ovAR.mjs} +1 -1
  57. package/dist/finstrong/index.es.js +1167 -1110
  58. package/dist/goals/index.es.js +618 -598
  59. package/dist/goals/stores/GoalStore.d.ts +19 -4
  60. package/dist/help/index.es.js +13 -13
  61. package/dist/investments/index.es.js +330 -325
  62. package/dist/investments/stores/HoldingStore.d.ts +1 -0
  63. package/dist/networth/components/NetWorthChart.d.ts +3 -2
  64. package/dist/networth/components/NetWorthList.d.ts +3 -3
  65. package/dist/networth/index.es.js +423 -433
  66. package/dist/networth/stores/NetWorthStore.d.ts +20 -9
  67. package/dist/networth/utils/NetWorthUtils.d.ts +2 -2
  68. package/dist/notifications/index.es.js +90 -91
  69. package/dist/notifications/stores/NotificationStore.d.ts +3 -1
  70. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  71. package/dist/recurringtransactions/index.es.js +543 -562
  72. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +4 -2
  73. package/dist/settings/index.es.js +253 -248
  74. package/dist/spending/index.es.js +282 -301
  75. package/dist/transactions/index.es.js +269 -263
  76. package/dist/transactions/stores/TransactionStore.d.ts +26 -77
  77. package/dist/transactions/stores/UiStore.d.ts +0 -2
  78. package/dist/trends/index.es.js +708 -699
  79. package/dist/{useAccountDisplayName-BTvP_pw6.mjs → useAccountDisplayName-Bot2tb4n.mjs} +1 -1
  80. package/package.json +3 -3
  81. package/dist/AccountStore-CWFzg8-E.mjs +0 -260
  82. package/dist/Accounts-CWt-NRq8.mjs +0 -9
  83. package/dist/CategoryUtil-DZflYFam.mjs +0 -78
  84. package/dist/ConnectDrawer-BOjfI6rz.mjs +0 -563
  85. package/dist/GoalStore-C7ahxxLi.mjs +0 -364
  86. package/dist/NetWorthStore-xWIo9CYU.mjs +0 -150
  87. package/dist/TransactionStore-DJwPaZuM.mjs +0 -677
  88. package/dist/WidgetContainer-CrK6tyHr.mjs +0 -572
  89. package/dist/common/components/accountfilter/AccountFilter.d.ts +0 -20
  90. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +0 -31
  91. package/dist/common/components/accountfilter/index.d.ts +0 -1
  92. package/dist/{ToggleListItem-ciFTiqRS.mjs → Notification-Bs1fdbzI.mjs} +1 -1
@@ -1,5 +1,5 @@
1
1
  import { b as o, C as a, a as t, u as C } from "../CategorySelectorDrawer-cQKX5dZb.mjs";
2
- import { C as g } from "../CategoryStore-Cnw9yUys.mjs";
2
+ import { C as g } from "../CategoryStore-BYICdb9m.mjs";
3
3
  export {
4
4
  o as CategoryRow,
5
5
  a as CategorySelector,
@@ -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
- dataRangeTotalsLoaded: boolean;
11
- isLoadingCategoryTotals: boolean;
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: (categoriesOverride?: Category[]) => Promise<void>;
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: Date, endDate: Date) => Promise<void>;
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 { Account } from '../types';
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
- accountOptions?: Account[];
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?: (selectedAccountGuids: string[]) => void;
22
+ onAccountsFilterClick?: () => void;
23
+ showAccountFilter?: boolean;
23
24
  showDividerAboveDateSelector?: boolean;
24
25
  sx?: SxProps;
25
26
  title?: string;
26
27
  }
27
- declare const _default: React.FunctionComponent<React.PropsWithChildren<WidgetContainerProps>>;
28
- export default _default;
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 { default as WidgetContainer } from './WidgetContainer';
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';
@@ -5,4 +5,4 @@ interface UseAriaLiveResult {
5
5
  ariaLive: React.ReactElement | null;
6
6
  }
7
7
  export declare const useAriaLive: (initialPoliteness?: AriaLivePoliteness) => UseAriaLiveResult;
8
- export default useAriaLive;
8
+ export {};