@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,4 +1,4 @@
1
- import { BeatApi, TransactionType, Beat, GlobalStore, Tag, Tagging, Transaction, TransactionRule } from '../../common';
1
+ import { BeatApi, 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 = {
@@ -17,103 +17,52 @@ export declare class TransactionStore {
17
17
  api: TransactionApi;
18
18
  beatApi: BeatApi;
19
19
  associatedBeats: Beat[];
20
+ associatedBeatsLoaded: boolean;
21
+ associatedBeatsLoading: boolean;
22
+ transactions: Transaction[];
23
+ transactionsLoaded: boolean;
24
+ transactionsLoading: boolean;
25
+ taggings: Tagging[];
26
+ taggingsLoaded: boolean;
27
+ taggingsLoading: boolean;
28
+ tags: Tag[];
29
+ tagsLoaded: boolean;
30
+ tagsLoading: boolean;
31
+ transactionRules: TransactionRule[];
32
+ transactionRulesLoaded: boolean;
33
+ transactionRulesLoading: boolean;
20
34
  cachedStartDate: Date;
21
35
  filter: TransactionFilter;
22
36
  isLoading: boolean;
23
- rawTransactions: Transaction[];
24
37
  sortColumn: string;
25
38
  sortDirection: string;
26
- taggings: Tagging[];
27
- tags: Tag[];
28
- transactionRules: TransactionRule[];
29
39
  onAnalyticEvent: (event: string, session: import('../analytics').AnalyticSession | null) => Promise<any>;
30
40
  constructor(globalStore: GlobalStore);
31
- loadTransactionData: ({ associatedBeats, transactionRules, transactions, }?: {
32
- associatedBeats?: Beat[];
33
- taggings?: Tagging[];
34
- tags?: Tag[];
35
- transactionRules?: TransactionRule[];
36
- transactions?: Transaction[];
37
- }) => Promise<void>;
41
+ loadTransactionData: () => Promise<void>;
42
+ get isTransactionDataLoaded(): boolean;
43
+ get detailedTransactions(): Transaction[];
38
44
  get sortedTransactions(): Transaction[];
39
45
  get sortedTransactionsWithSplits(): Transaction[];
40
- get transactions(): Transaction[];
46
+ setAssociatedBeats: (beats: Beat[]) => void;
47
+ setTaggings: (taggings: Tagging[]) => void;
48
+ setTags: (tags: Tag[]) => void;
49
+ setTransactionRules: (transactionRules: TransactionRule[]) => void;
50
+ setTransactions: (transactions: Transaction[]) => void;
41
51
  addTag: (name: string) => Promise<void>;
42
52
  addTagging: (tagGuid: string, transactionGuid: string) => Promise<void>;
43
53
  addOrUpdateTransactionRule: (categoryGuid: string, transaction: Transaction) => Promise<void>;
44
54
  addTransaction: (transaction: Transaction) => Promise<void>;
45
- augmentTransactions: (transactions: Transaction[]) => {
46
- account: string;
47
- accountIsClosed: boolean;
48
- accountIsHidden: boolean;
49
- category: string;
50
- isIncome: boolean;
51
- isPending: boolean;
52
- number: string;
53
- payee: string;
54
- tags: string[];
55
- guid: string;
56
- account_guid: string;
57
- amount: number;
58
- attachment_guid?: string | null;
59
- category_guid?: string;
60
- check_number?: string | null;
61
- currency_code: string | null;
62
- date: number;
63
- description: string;
64
- duplicate: boolean;
65
- external_guid?: string | null;
66
- feed_attachment_guid?: string | null;
67
- feed_description: string;
68
- feed_localized_description?: string | null;
69
- feed_posted_date?: number | null;
70
- feed_status: import('../../common').TransactionStatus | null;
71
- feed_transaction_date: number | null;
72
- flags?: number | null;
73
- has_been_split: boolean;
74
- has_been_viewed: boolean;
75
- is_cleared: boolean;
76
- is_flagged: boolean;
77
- is_hidden: boolean;
78
- is_international?: boolean | null;
79
- is_manual: boolean;
80
- is_personal: boolean;
81
- is_reimbursable: boolean;
82
- is_subscription: boolean;
83
- is_void: boolean;
84
- localized_description?: string | null;
85
- localized_memo?: string | null;
86
- memo?: string | null;
87
- metadata?: string | null;
88
- merchant_guid?: string | null;
89
- parent_guid?: string | null;
90
- posted_date?: number | null;
91
- reference?: string | null;
92
- revision: number;
93
- repeating_transaction_guid?: string | null;
94
- scheduled_payment_guid?: string | null;
95
- top_level_category_guid?: string;
96
- transaction_type: TransactionType;
97
- user_date?: number | null;
98
- user_guid: string;
99
- user_transaction_rule_guid?: string | null;
100
- is_duplicate: boolean;
101
- feed_transacted_at: number | null;
102
- }[];
103
- getTransactionData: () => {};
104
- loadAssociatedBeats: (fromDate?: Date, beatsOverride?: Beat[]) => Promise<void>;
55
+ loadAssociatedBeats: (fromDate?: Date) => Promise<void>;
105
56
  loadTags: () => Promise<void>;
106
57
  loadTaggings: () => Promise<void>;
107
- loadTransactionRules: (transactionRulesOverrides?: TransactionRule[]) => Promise<void>;
108
- loadTransactions: (startDate?: Date, endDate?: Date, transactionsOverrides?: Transaction[]) => Promise<void>;
109
- loadTransactionsByDateRange: (endDate: number, startDate: number) => Promise<void>;
58
+ loadTransactionRules: () => Promise<void>;
59
+ loadTransactions: (startDate?: Date) => Promise<void>;
110
60
  modifyTransactionByAccountGuid: (guid: string, updates: Partial<Transaction>) => void;
111
61
  removeTag: (tagGuid: string) => Promise<void>;
112
62
  removeTagging: (taggingGuid: string) => Promise<void>;
113
63
  removeTransaction: (transactionGuid: string) => Promise<void>;
114
64
  setFilter: (filter: TransactionFilter) => void;
115
65
  setIsLoading: (isLoading: boolean) => boolean;
116
- setSortData: (sortColumn: string, sortDirection: string) => void;
117
66
  splitTransaction: (transaction: Transaction, splits: Transaction[]) => Promise<void>;
118
67
  unSplitTransaction: (guid: string) => Promise<void>;
119
68
  updateTaggings: (tagGuids: string[], transactionGuid: string) => Promise<void>;
@@ -3,7 +3,6 @@ export declare class UiStore {
3
3
  beginDate: Date;
4
4
  endDate: Date;
5
5
  expandedSplits: string[];
6
- isInitialized: boolean;
7
6
  height: number;
8
7
  width: number;
9
8
  shouldDisableDrawerScroll: boolean;
@@ -14,7 +13,6 @@ export declare class UiStore {
14
13
  showInsights: boolean;
15
14
  constructor();
16
15
  setDateRange: (beginDate: Date, endDate: Date) => void;
17
- setIsInitialized: (isInitialized: boolean) => boolean;
18
16
  setIsAmountValid: (valid: boolean) => boolean;
19
17
  setSearchValue: (searchValue: string) => string;
20
18
  setSelectedAccountGuids: (accountGuids: string[]) => string[];