@mx-cartographer/experiences 8.0.0-alpha.sms2 → 9.0.0-alpha.mega1
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 +217 -0
- package/dist/{Account-Cp30A3ad.mjs → Account-BIKn4XEZ.mjs} +1 -1
- package/dist/Account-CMjOp7S2.mjs +118 -0
- package/dist/AccountApi-DgZ8ILj1.mjs +19 -0
- package/dist/AccountDetailsHeader-BOV91g1o.mjs +95 -0
- package/dist/AccountDisplayName-CO7z3v99.mjs +11 -0
- package/dist/{AccountFields-CW6cIthP.mjs → AccountFields-BRRH37K1.mjs} +10 -11
- package/dist/{AccountListItem-DxmAs98Z.mjs → AccountListItem-Ds5C0mOT.mjs} +4 -4
- package/dist/{AccountStore-hIs-yA6W.mjs → AccountStore-BFKvXJSD.mjs} +79 -69
- package/dist/{Accounts-DUHkUyK4.mjs → Accounts-CuE8aSZN.mjs} +1 -1
- package/dist/{BudgetUtil-CIDAPPPT.mjs → BudgetUtil-CDSOZXem.mjs} +4 -4
- package/dist/CategorySelectorDrawer-C4aZYP4N.mjs +418 -0
- package/dist/CategoryStore-DEqAnHbi.mjs +186 -0
- package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-CFHBvaV4.mjs} +1 -1
- package/dist/{ConnectionsDrawer-CSo6AFkG.mjs → ConnectionsDrawer-BExzgE16.mjs} +5 -5
- package/dist/{CurrencyInput-BrGvhgVK.mjs → CurrencyInput-DDQ4DBrE.mjs} +1 -1
- package/dist/{CurrencyText-Dr0EZ7bp.mjs → CurrencyText-C-85TnUF.mjs} +3 -3
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CVsMhbZU.mjs} +3 -3
- package/dist/{DebtsStore-hi1cqrRk.mjs → DebtsStore-Dv_T7Dts.mjs} +12 -12
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-CWymUiuO.mjs} +32 -35
- package/dist/Drawer-Bet2ZPJo.mjs +176 -0
- package/dist/{ExportCsvAction-CQ1grpwo.mjs → ExportCsvAction-oG_Mn66T.mjs} +3 -3
- package/dist/{FinstrongStore-dKZOZ2hM.mjs → FinstrongStore-BjFkMTIL.mjs} +6 -6
- package/dist/GlobalAccountFilter-BpWlPAl5.mjs +316 -0
- package/dist/{GoalStore-CFeAJloA.mjs → GoalStore-Dbjgft2i.mjs} +155 -137
- package/dist/{Help-i4OasOO-.mjs → Help-BW_ar-4B.mjs} +2 -2
- package/dist/LineChart-DHj-Bufi.mjs +580 -0
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-Cbr3417C.mjs} +10 -10
- package/dist/{ManageIncome-D_qVX5dN.mjs → ManageIncome-DIIyqDTp.mjs} +85 -85
- package/dist/{MicroWidgetContainer-BGpNl5ZS.mjs → MicroWidgetContainer-DSyYwRCU.mjs} +2 -2
- package/dist/{MiniWidgetContainer-D7MkHG15.mjs → MiniWidgetContainer-DKn7ndO6.mjs} +1 -1
- package/dist/NetWorthStore-B6ziBtaH.mjs +168 -0
- package/dist/NotificationSettings-e789PcRb.mjs +676 -0
- package/dist/{OriginalBalanceAction-62e0mU_3.mjs → OriginalBalanceAction-DFoG79Ba.mjs} +3 -3
- package/dist/{RecurringSettings-RfZ8Wuhh.mjs → RecurringSettings-BpCUcE8w.mjs} +4 -4
- package/dist/{RecurringTransactionsStore-D3EOKZ2B.mjs → RecurringTransactionsStore-D_--5PWH.mjs} +1 -1
- package/dist/{RecurringTransactions-Bhx56aA3.mjs → RepeatingTransaction-C2txVA9O.mjs} +3 -3
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-CInvh-rQ.mjs} +1 -1
- package/dist/SpendingData-B7NuTQ9s.mjs +53 -0
- package/dist/SpendingLegend-BxefXiQd.mjs +193 -0
- package/dist/TransactionDetails-CPwv9xtZ.mjs +1374 -0
- package/dist/{TransactionStore-DgLrYW4C.mjs → TransactionStore-D2aMUClq.mjs} +128 -111
- package/dist/TrendsStore-BdsYfCc7.mjs +183 -0
- package/dist/{User-DqNX2GAK.mjs → User-CulNdZUr.mjs} +21 -20
- package/dist/ViewMoreMicroCard-CDWR16_h.mjs +1147 -0
- package/dist/WidgetContainer-mzejMmz2.mjs +555 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +1 -0
- package/dist/accounts/index.es.js +933 -232
- package/dist/accounts/stores/AccountStore.d.ts +6 -2
- package/dist/accounts/utils/AccountDetails.d.ts +5 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/components/AddBudgets.d.ts +2 -1
- package/dist/budgets/index.es.js +561 -522
- package/dist/cashflow/index.es.js +397 -396
- package/dist/categories/components/CustomCategories/AddSubcategory.d.ts +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.d.ts +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.d.ts +1 -0
- package/dist/categories/components/SubcategoryRow.d.ts +1 -0
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +5 -3
- package/dist/common/components/GlobalAccountFilter.d.ts +11 -0
- package/dist/common/components/WidgetContainer.d.ts +7 -6
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.d.ts +7 -0
- package/dist/common/components/index.d.ts +2 -2
- package/dist/common/hooks/index.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +325 -306
- package/dist/common/stores/GlobalUiStore.d.ts +7 -4
- package/dist/common/types/localization/AccountsCopy.d.ts +6 -0
- package/dist/common/types/localization/CategoryCopy.d.ts +3 -0
- package/dist/common/types/localization/CommonCopy.d.ts +3 -0
- package/dist/common/types/localization/GoalsCopy.d.ts +3 -1
- package/dist/common/types/localization/MicroInsightsCopy.d.ts +1 -0
- package/dist/common/types/localization/TransactionsCopy.d.ts +4 -0
- package/dist/common/types/localization/TrendsCopy.d.ts +4 -0
- package/dist/dashboard/index.es.js +95 -125
- package/dist/debts/index.es.js +466 -460
- package/dist/{exportTransactionsToCSV-BFpuIAXW.mjs → exportTransactionsToCSV-BU1jTY0Q.mjs} +4 -4
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +4 -5
- package/dist/finstrong/index.es.js +1660 -1553
- package/dist/goals/index.es.js +716 -677
- package/dist/goals/stores/GoalStore.d.ts +2 -0
- package/dist/help/index.es.js +14 -10
- package/dist/{hooks-C41HAxM5.mjs → hooks-fY_n74f7.mjs} +16 -16
- package/dist/investments/index.es.js +464 -457
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/MicroCardTemplate.d.ts +23 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.d.ts +8 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +1 -2
- package/dist/microinsights/beaticons/index.d.ts +1 -0
- package/dist/microinsights/cards/InsightCard.d.ts +0 -2
- package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +2 -5
- package/dist/microinsights/index.d.ts +2 -2
- package/dist/microinsights/index.es.js +824 -14
- package/dist/networth/components/NetWorthChart.d.ts +3 -2
- package/dist/networth/components/NetWorthList.d.ts +3 -3
- package/dist/networth/index.es.js +433 -438
- package/dist/networth/stores/NetWorthStore.d.ts +20 -9
- package/dist/networth/utils/NetWorthUtils.d.ts +2 -2
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +331 -325
- package/dist/settings/index.es.js +293 -285
- package/dist/spending/components/SpendingChart.d.ts +1 -1
- package/dist/spending/components/SpendingList.d.ts +1 -1
- package/dist/spending/components/SpendingTabLabel.d.ts +1 -0
- package/dist/spending/index.es.js +250 -235
- package/dist/transactions/index.es.js +288 -281
- package/dist/transactions/stores/TransactionStore.d.ts +5 -0
- package/dist/trends/components/TrendsTable.d.ts +0 -2
- package/dist/trends/index.es.js +876 -802
- package/dist/trends/utils/TrendsData.d.ts +1 -0
- package/dist/trends/utils/TrendsTable.d.ts +12 -0
- package/dist/{useAccountDisplayName-usSZCQ7I.mjs → useAccountDisplayName-DbkgGLdg.mjs} +2 -2
- package/dist/useAriaLive-B3_pRUio.mjs +35 -0
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-dhmXeSyF.mjs} +1 -1
- package/dist/useWidgetLoadTimer-CrUzxN-P.mjs +19 -0
- package/package.json +26 -21
- package/dist/AccountDetailsContent-C1HumFnW.mjs +0 -683
- package/dist/AccountDetailsHeader-NMx79DGs.mjs +0 -87
- package/dist/CategorySelectorDrawer-DqDAA_5I.mjs +0 -399
- package/dist/CategoryStore-MUwRWH9e.mjs +0 -176
- package/dist/ConnectDrawer-Dn1MlqLz.mjs +0 -545
- package/dist/Drawer-Dqe5EqvA.mjs +0 -163
- package/dist/LineChart-bc1D9xBE.mjs +0 -581
- package/dist/NetWorthStore-8FFC1Bs0.mjs +0 -150
- package/dist/NotificationSettings-BsWiYD94.mjs +0 -672
- package/dist/SpendingData-DPQ96k3x.mjs +0 -55
- package/dist/SpendingLegend-CZzDb-7d.mjs +0 -193
- package/dist/TransactionDetails-Duv1X9ec.mjs +0 -1379
- package/dist/TrendsStore-_mRaFUdf.mjs +0 -182
- package/dist/ViewMoreMicroCard-CH9E-jOx.mjs +0 -1930
- package/dist/WidgetContainer-B1Jzb4XA.mjs +0 -565
- 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/microinsights/cards/BaseCard.d.ts +0 -13
- package/dist/{ToggleListItem-ciFTiqRS.mjs → Notification-Bs1fdbzI.mjs} +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,220 @@
|
|
|
1
|
+
## [7.8.1] - 01-29-2026
|
|
2
|
+
|
|
3
|
+
- **FIXED** - Retirement Goals | Amount To Save Not Updating | Bug Fixed
|
|
4
|
+
|
|
5
|
+
## [7.8.0] - 01-21-2026
|
|
6
|
+
|
|
7
|
+
- **ADDED** - New Global Account Filter component
|
|
8
|
+
- **UPDATED** - Loading pattern to be consistent across all widgets
|
|
9
|
+
- **UPDATED** - All widgets to use new Global Account Filter component
|
|
10
|
+
- **UPDATED** - `isInitialized` in `GlobalStore` to be set after all copy & config are loaded
|
|
11
|
+
- **UPDATED** - Storybook `preview.tsx` to wrap all stories in `GlobalDataProvider` and load config data
|
|
12
|
+
- **UPDATED** - All stories to use new loading patterns
|
|
13
|
+
- **UPDATED** - Unit test to use new loading patterns
|
|
14
|
+
|
|
15
|
+
## [7.7.3] - 01-28-2026
|
|
16
|
+
|
|
17
|
+
- **FIXED** - `Finstrong` | Score history drawer styling fix
|
|
18
|
+
|
|
19
|
+
## [7.7.2] - 01-28-2026
|
|
20
|
+
|
|
21
|
+
- **UPDATED** - `MicroInsights` CardHeader Style
|
|
22
|
+
|
|
23
|
+
## [7.7.1] - 01-27-2026
|
|
24
|
+
|
|
25
|
+
- **FIXED** - Remove usage of h1 markup while maintaining H1 styles
|
|
26
|
+
|
|
27
|
+
## [7.7.0] - 01-27-2026
|
|
28
|
+
|
|
29
|
+
- **UPDATED** - `MicroInsights` - Updated InsightCard, NoRelevantInsightCard, ViewMoreMicroCard,
|
|
30
|
+
|
|
31
|
+
## [7.6.28] - 01-27-2026
|
|
32
|
+
|
|
33
|
+
- **UPDATED** - Improved accessibility for split transaction edits
|
|
34
|
+
|
|
35
|
+
## [7.6.27] - 01-26-2026
|
|
36
|
+
|
|
37
|
+
- **FIXED** - Display average label on chart when average is 0
|
|
38
|
+
|
|
39
|
+
## [7.6.26] - 01-23-2026
|
|
40
|
+
|
|
41
|
+
- **FIXED** - Dialog for updating budget to close with close or cancel
|
|
42
|
+
|
|
43
|
+
## [7.6.25] - 01-23-2026
|
|
44
|
+
|
|
45
|
+
- **UPDATED** - Improved accessibility for the global accounts filter
|
|
46
|
+
|
|
47
|
+
## [7.6.24] - 01-23-2026
|
|
48
|
+
|
|
49
|
+
- **FIXED** - Adjusted the `Trends` header UI
|
|
50
|
+
|
|
51
|
+
## [7.6.23] - 01-23-2026
|
|
52
|
+
|
|
53
|
+
- **FIXED** - ADA - Goals Header
|
|
54
|
+
|
|
55
|
+
## [7.6.22] - 01-22-2026
|
|
56
|
+
|
|
57
|
+
- **UPDATED** - Transactions details and list actions a11y imrovements
|
|
58
|
+
|
|
59
|
+
## [7.6.21] - 01-22-2026
|
|
60
|
+
|
|
61
|
+
- **FIXED** - Spending widget subcategories to use parent category when in 'Other'
|
|
62
|
+
|
|
63
|
+
## [7.6.20] - 01-21-2026
|
|
64
|
+
|
|
65
|
+
- **UPDATED** - Spending widget to not round amounts
|
|
66
|
+
|
|
67
|
+
## [7.6.19] - 01-21-2026
|
|
68
|
+
|
|
69
|
+
- **UPDATED** - Spending widget subcategories to open transactions list
|
|
70
|
+
|
|
71
|
+
## [7.6.18] - 01-21-2026
|
|
72
|
+
|
|
73
|
+
- **FIXED** - Pay Bills On Time Drawer Loading Issue - Fees Transactions List | Bug Fixed
|
|
74
|
+
|
|
75
|
+
## [7.6.17] - 01-21-2026
|
|
76
|
+
|
|
77
|
+
- **FIXED** - Line Graph | Curve Type Bug Fixed
|
|
78
|
+
|
|
79
|
+
## [7.6.16] - 01-19-2026
|
|
80
|
+
|
|
81
|
+
- **UPDATED** - `MicroInsights` BeatIcons Updated
|
|
82
|
+
|
|
83
|
+
## [7.6.15] - 01-19-2026
|
|
84
|
+
|
|
85
|
+
- **FIXED** - `Finstrong` KeyIndicators Zero State Style
|
|
86
|
+
|
|
87
|
+
## [7.6.14] - 01-19-2026
|
|
88
|
+
|
|
89
|
+
- **FIXED** - Finstrong Header Dimensions | Finstrong Score Card Styling | Issues Fixed
|
|
90
|
+
|
|
91
|
+
## [7.6.13] - 01-19-2026
|
|
92
|
+
|
|
93
|
+
- **UPDATED** - Fixes for `Finstrong` onboarding and sticky footer
|
|
94
|
+
|
|
95
|
+
## [7.6.12] - 01-16-2026
|
|
96
|
+
|
|
97
|
+
- **UPDATED** - Focus style for goal status cards
|
|
98
|
+
|
|
99
|
+
## [7.6.11] - 01-16-2026
|
|
100
|
+
|
|
101
|
+
- **UPDATED** - Fixes for `Finstrong` onboarding and sticky footer
|
|
102
|
+
|
|
103
|
+
## [7.6.10] - 01-16-2026
|
|
104
|
+
|
|
105
|
+
- **UPDATED** - `Finstrong` KeyIndicators Line Graph Style
|
|
106
|
+
|
|
107
|
+
## [7.6.9] - 01-14-2026
|
|
108
|
+
|
|
109
|
+
- **REMOVED** - The ability to open account details from goals due to being inconsistent with other widgets.
|
|
110
|
+
|
|
111
|
+
## [7.6.8] - 01-14-2026
|
|
112
|
+
|
|
113
|
+
- **FIXED** - Issue where export button wasn't working in Trends category list on mobile
|
|
114
|
+
|
|
115
|
+
## [7.6.7] - 01-14-2026
|
|
116
|
+
|
|
117
|
+
- **UPDATED** - Improve ADA support Spending Donut and List interaction
|
|
118
|
+
|
|
119
|
+
## [7.6.6] - 01-14-2026
|
|
120
|
+
|
|
121
|
+
- **ADDED** - General parent category rows when displaying sub-categories
|
|
122
|
+
- **FIXED** - Issue where income category on Trends table would display a `+-` before the number
|
|
123
|
+
|
|
124
|
+
## [7.6.5] - 01-14-2026
|
|
125
|
+
|
|
126
|
+
- **UPDATED** - Added a11y labels for chart/table toggle
|
|
127
|
+
|
|
128
|
+
## [7.6.4] - 01-15-2026
|
|
129
|
+
|
|
130
|
+
- **UPDATED** - Fixes for `Finstrong` Profile and KeyIndicatorsDrawer
|
|
131
|
+
|
|
132
|
+
## [7.6.3] - 01-15-2026
|
|
133
|
+
|
|
134
|
+
- **FIXED** - Finstrong | Mobile key Indicators Styling Issues
|
|
135
|
+
|
|
136
|
+
## [7.6.2] - 01-14-2026
|
|
137
|
+
|
|
138
|
+
- **UPDATED** - Hover, axes, titles, descriptions, role for Account Details charts
|
|
139
|
+
|
|
140
|
+
## [7.6.1] - 01-14-2026
|
|
141
|
+
|
|
142
|
+
- **UPDATED** - Improved ADA support for `Goals` reorder
|
|
143
|
+
|
|
144
|
+
## [7.6.0] - 01-14-2026
|
|
145
|
+
|
|
146
|
+
- **UPDATED** - Migrated MUI X-Charts from v7 to v8
|
|
147
|
+
|
|
148
|
+
## [7.5.6] - 01-13-2026
|
|
149
|
+
|
|
150
|
+
- **FIXED** - semantic HTML in drawer header
|
|
151
|
+
|
|
152
|
+
## [7.5.5] - 01-13-2026
|
|
153
|
+
|
|
154
|
+
- **FIXED** - Missing close button label in transaction details dialogs
|
|
155
|
+
|
|
156
|
+
## [7.5.4] - 01-12-2026
|
|
157
|
+
|
|
158
|
+
- **FIXED** - `Goals` | ReorderGoals Header Accessibility Fix
|
|
159
|
+
|
|
160
|
+
## [7.5.3] - 01-12-2026
|
|
161
|
+
|
|
162
|
+
- **FIXED** - `RecurringTransations` | MiniWidget Header Fix
|
|
163
|
+
|
|
164
|
+
## [7.5.2] - 01-09-2026
|
|
165
|
+
|
|
166
|
+
- **UPDATED** - `TransactionWidget` ADA updates
|
|
167
|
+
|
|
168
|
+
## [7.5.1] - 01-09-2026
|
|
169
|
+
|
|
170
|
+
- **FIXED** - `Finstrong` KeyIndicatorsDrawer - TransactionList Design Fix
|
|
171
|
+
|
|
172
|
+
## [7.5.0] - 01-08-2026
|
|
173
|
+
|
|
174
|
+
- **UPDATED** - Trends table with a new total column
|
|
175
|
+
- **UPDATED** - Trends table style to match updated designs
|
|
176
|
+
|
|
177
|
+
## [7.4.17] - 01-08-2026
|
|
178
|
+
|
|
179
|
+
- **FIXED** - `Finstrong` CreditScore Fix
|
|
180
|
+
|
|
181
|
+
## [7.4.16] - 12-23-2025
|
|
182
|
+
|
|
183
|
+
- **FIXED** - `MicroCardTemplate` LineHeight Fix
|
|
184
|
+
|
|
185
|
+
## [7.4.15] - 12-22-2025
|
|
186
|
+
|
|
187
|
+
- **FIXED** - Spending Total Amount Discrepancies wrt legacy - Bug Fixed
|
|
188
|
+
|
|
189
|
+
## [7.4.14] - 12-19-2025
|
|
190
|
+
|
|
191
|
+
- **FIXED** - button focus styles in Dialog, MicroWidgetContainer, and MiniWidgetContainer
|
|
192
|
+
|
|
193
|
+
## [7.4.13] - 12-19-2025
|
|
194
|
+
|
|
195
|
+
- **FIXED** - Impove a11y compliance for Drawer component
|
|
196
|
+
|
|
197
|
+
## [7.4.12] - 12-19-2025
|
|
198
|
+
|
|
199
|
+
- **FIXED** - Missing label for payee input in transaction details
|
|
200
|
+
|
|
201
|
+
## [7.4.11] - 12-18-2025
|
|
202
|
+
|
|
203
|
+
- **ADDED** - `MicroCardTemplate` for `Insights`
|
|
204
|
+
|
|
205
|
+
## [7.4.10] - 12-16-2025
|
|
206
|
+
|
|
207
|
+
- **ADDED** - `useWidgetLoadTime` hook to replace `GlobalDataProvider.onLoad`
|
|
208
|
+
- **UPDATED** - Widgets to use `useWidgetLoadTime` for load time tracking
|
|
209
|
+
|
|
210
|
+
## [7.4.9] - 12-16-2025
|
|
211
|
+
|
|
212
|
+
- **UPDATED** - Budgets Widget to set alerts differently for a11y
|
|
213
|
+
|
|
214
|
+
## [7.4.8] - 12-16-2025
|
|
215
|
+
|
|
216
|
+
- **FIXED** - Spending widget height and scroll behavior
|
|
217
|
+
|
|
1
218
|
## [7.4.7] - 12-15-2025
|
|
2
219
|
|
|
3
220
|
- **UPDATED** - Improved `d3` chunk loading for better performance.
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
var I = /* @__PURE__ */ ((E) => (E[E.ANY = 0] = "ANY", E[E.CHECKING = 1] = "CHECKING", E[E.SAVINGS = 2] = "SAVINGS", E[E.LOAN = 3] = "LOAN", E[E.CREDIT_CARD = 4] = "CREDIT_CARD", E[E.INVESTMENT = 5] = "INVESTMENT", E[E.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", E[E.MORTGAGE = 7] = "MORTGAGE", E[E.PROPERTY = 8] = "PROPERTY", E[E.CASH = 9] = "CASH", E[E.INSURANCE = 10] = "INSURANCE", E[E.PREPAID = 11] = "PREPAID", E[E.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", E[E.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", E))(I || {}), N = /* @__PURE__ */ ((E) => (E[E.NONE = 0] = "NONE", E[E.MONEY_MARKET = 1] = "MONEY_MARKET", E[E.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", E[E.AUTO = 3] = "AUTO", E[E.STUDENT = 4] = "STUDENT", E[E.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", E[E.PERSONAL = 6] = "PERSONAL", E[E.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", E[E.HOME_EQUITY = 8] = "HOME_EQUITY", E[E.PLAN_401_K = 9] = "PLAN_401_K", E[E.PLAN_403_B = 10] = "PLAN_403_B", E[E.PLAN_529 = 11] = "PLAN_529", E[E.IRA = 12] = "IRA", E[E.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", E[E.ROTH_IRA = 14] = "ROTH_IRA", E[E.TAXABLE = 15] = "TAXABLE", E[E.NON_TAXABLE = 16] = "NON_TAXABLE", E[E.BROKERAGE = 17] = "BROKERAGE", E[E.TRUST = 18] = "TRUST", E[E.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", E[E.PLAN_457 = 20] = "PLAN_457", E[E.PENSION = 21] = "PENSION", E[E.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", E[E.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", E[E.SIMPLE_IRA = 24] = "SIMPLE_IRA", E[E.BOAT = 25] = "BOAT", E[E.POWERSPORTS = 26] = "POWERSPORTS", E[E.RV = 27] = "RV", E[E.HELOC = 28] = "HELOC", E[E.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", E[E.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", E[E.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", E[E.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", E[E.DISABILITY = 33] = "DISABILITY", E[E.HEALTH = 34] = "HEALTH", E[E.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", E[E.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", E[E.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", E[E.TERM_LIFE = 38] = "TERM_LIFE", E[E.WHOLE_LIFE = 39] = "WHOLE_LIFE", E[E.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", E[E.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", E[E.HSA = 42] = "HSA", E[E.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", E[E.INDIVIDUAL = 44] = "INDIVIDUAL", E[E.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", E[E.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", E[E.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", E[E.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", E[E.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", E[E.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", E[E.PLAN_401_A = 51] = "PLAN_401_A", E[E.SARSEP_IRA = 52] = "SARSEP_IRA", E[E.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", E[E.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", E[E.SEPP_IRA = 55] = "SEPP_IRA", E[E.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", E[E.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", E[E.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", E[E.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", E[E.COVERDELL = 60] = "COVERDELL", E[E.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", E[E.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", E[E.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", E[E.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", E[E.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", E[E.CUSTODIAL = 66] = "CUSTODIAL", E[E.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", E[E.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", E[E.EDUCATIONAL = 69] = "EDUCATIONAL", E[E.ESTATE = 70] = "ESTATE", E[E.EXECUTOR = 71] = "EXECUTOR", E[E.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", E[E.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", E[E.HRA = 74] = "HRA", E[E.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", E[E.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", E[E.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", E[E.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", E[E.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", E[E.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", E[E.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", E[E.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", E[E.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", E[E.LIVING_TRUST = 84] = "LIVING_TRUST", E[E.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", E[E.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", E[E.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", E[E.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", E[E.PARTNERSHIP = 89] = "PARTNERSHIP", E[E.PLAN_409_A = 90] = "PLAN_409_A", E[E.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", E[E.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", E[E.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", E[E.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", E[E.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", E[E.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", E[E.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", E[E.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", E[E.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", E[E.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", E[E.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", E[E.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", E[E.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", E[E.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", E[E.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", E[E.HSA_SAVINGS = 106] = "HSA_SAVINGS", E[E.HSA_CHECKING = 107] = "HSA_CHECKING", E))(N || {}), _ = /* @__PURE__ */ ((E) => (E[E.REAL_ESTATE = 0] = "REAL_ESTATE", E[E.VEHICLE = 1] = "VEHICLE", E[E.ART = 2] = "ART", E[E.JEWELRY = 3] = "JEWELRY", E[E.FURNITURE = 4] = "FURNITURE", E[E.APPLIANCES = 5] = "APPLIANCES", E[E.COMPUTER = 6] = "COMPUTER", E[E.ELECTRONICS = 7] = "ELECTRONICS", E[E.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", E[E.MISCELLANEOUS = 9] = "MISCELLANEOUS", E))(_ || {}), R = /* @__PURE__ */ ((E) => (E[E.CREATED = 0] = "CREATED", E[E.PREVENTED = 1] = "PREVENTED", E[E.DENIED = 2] = "DENIED", E[E.CHALLENGED = 3] = "CHALLENGED", E[E.REJECTED = 4] = "REJECTED", E[E.LOCKED = 5] = "LOCKED", E[E.CONNECTED = 6] = "CONNECTED", E[E.IMPEDED = 7] = "IMPEDED", E[E.RECONNECTED = 8] = "RECONNECTED", E[E.DEGRADED = 9] = "DEGRADED", E[E.DISCONNECTED = 10] = "DISCONNECTED", E[E.DISCONTINUED = 11] = "DISCONTINUED", E[E.CLOSED = 12] = "CLOSED", E[E.DELAYED = 13] = "DELAYED", E[E.FAILED = 14] = "FAILED", E[E.UPDATED = 15] = "UPDATED", E[E.DISABLED = 16] = "DISABLED", E[E.IMPORTED = 17] = "IMPORTED", E[E.RESUMED = 18] = "RESUMED", E[E.EXPIRED = 19] = "EXPIRED", E[E.IMPAIRED = 20] = "IMPAIRED", E[E.PENDING = 21] = "PENDING", E))(R || {});
|
|
2
|
+
const C = [
|
|
3
|
+
0,
|
|
4
|
+
15,
|
|
5
|
+
18
|
|
6
|
+
/* RESUMED */
|
|
7
|
+
], O = [
|
|
8
|
+
3,
|
|
9
|
+
4
|
|
10
|
+
/* REJECTED */
|
|
11
|
+
], L = [
|
|
12
|
+
1,
|
|
13
|
+
2,
|
|
14
|
+
5,
|
|
15
|
+
7,
|
|
16
|
+
9,
|
|
17
|
+
10,
|
|
18
|
+
11,
|
|
19
|
+
12,
|
|
20
|
+
13,
|
|
21
|
+
14,
|
|
22
|
+
16,
|
|
23
|
+
17,
|
|
24
|
+
19,
|
|
25
|
+
20
|
|
26
|
+
/* IMPAIRED */
|
|
27
|
+
], P = [...L, ...O];
|
|
28
|
+
var D = /* @__PURE__ */ ((E) => (E.Connected = "Connected", E.Error = "Error", E.Processing = "Processing", E.RequiresMfa = "RequiresMfa", E))(D || {});
|
|
29
|
+
const U = {
|
|
30
|
+
3: "Challenged",
|
|
31
|
+
12: "Closed",
|
|
32
|
+
9: "Degraded",
|
|
33
|
+
13: "Delayed",
|
|
34
|
+
2: "Denied",
|
|
35
|
+
16: "Disabled",
|
|
36
|
+
10: "Disconnected",
|
|
37
|
+
11: "Discontinued",
|
|
38
|
+
19: "Expired",
|
|
39
|
+
14: "Failed",
|
|
40
|
+
20: "Impaired",
|
|
41
|
+
7: "Impeded",
|
|
42
|
+
17: "Imported",
|
|
43
|
+
5: "Locked",
|
|
44
|
+
1: "Prevented",
|
|
45
|
+
4: "Rejected"
|
|
46
|
+
}, A = {
|
|
47
|
+
0: "Any",
|
|
48
|
+
9: "Cash",
|
|
49
|
+
1: "Checking",
|
|
50
|
+
12: "Checking Line of Credit",
|
|
51
|
+
4: "Credit Card",
|
|
52
|
+
13: "Digital Wallet",
|
|
53
|
+
10: "Insurance",
|
|
54
|
+
5: "Investment",
|
|
55
|
+
6: "Line of Credit",
|
|
56
|
+
3: "Loan",
|
|
57
|
+
7: "Mortgage",
|
|
58
|
+
11: "Prepaid",
|
|
59
|
+
8: "Property",
|
|
60
|
+
2: "Savings"
|
|
61
|
+
}, M = {
|
|
62
|
+
0: "account_balance",
|
|
63
|
+
9: "monetization_on",
|
|
64
|
+
1: "checkbook",
|
|
65
|
+
12: "checkbook",
|
|
66
|
+
// Checking line of credit has the same icon as checking
|
|
67
|
+
4: "credit_card",
|
|
68
|
+
13: "wallet",
|
|
69
|
+
10: "monitor_heart",
|
|
70
|
+
5: "trending_up",
|
|
71
|
+
6: "add_credit",
|
|
72
|
+
3: "loans",
|
|
73
|
+
7: "house",
|
|
74
|
+
11: "credit_card",
|
|
75
|
+
8: "key",
|
|
76
|
+
2: "savings"
|
|
77
|
+
}, H = {
|
|
78
|
+
5: "bid_landscape"
|
|
79
|
+
}, T = {
|
|
80
|
+
0: "Real Estate",
|
|
81
|
+
1: "Vehicle",
|
|
82
|
+
2: "Art",
|
|
83
|
+
3: "Jewelry",
|
|
84
|
+
4: "Furniture",
|
|
85
|
+
5: "Appliances",
|
|
86
|
+
6: "Computer",
|
|
87
|
+
7: "Electronics",
|
|
88
|
+
8: "Sports Equipment",
|
|
89
|
+
9: "Miscellaneous"
|
|
90
|
+
}, G = {
|
|
91
|
+
0: "home_work",
|
|
92
|
+
1: "directions_car",
|
|
93
|
+
2: "insert_photo",
|
|
94
|
+
3: "diamond",
|
|
95
|
+
4: "chair",
|
|
96
|
+
5: "kitchen",
|
|
97
|
+
6: "computer",
|
|
98
|
+
7: "camera_alt",
|
|
99
|
+
8: "sports_baseball",
|
|
100
|
+
9: "monetization_on"
|
|
101
|
+
};
|
|
102
|
+
export {
|
|
103
|
+
I as A,
|
|
104
|
+
D as C,
|
|
105
|
+
L as E,
|
|
106
|
+
O as M,
|
|
107
|
+
P as N,
|
|
108
|
+
_ as P,
|
|
109
|
+
U as S,
|
|
110
|
+
M as a,
|
|
111
|
+
G as b,
|
|
112
|
+
C as c,
|
|
113
|
+
N as d,
|
|
114
|
+
A as e,
|
|
115
|
+
H as f,
|
|
116
|
+
R as g,
|
|
117
|
+
T as h
|
|
118
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { F as s, A as e } from "./Fetch-DecPFeGU.mjs";
|
|
2
|
+
class r {
|
|
3
|
+
fetchInstance;
|
|
4
|
+
constructor(t, c, n) {
|
|
5
|
+
this.fetchInstance = new s(t, c, void 0, n);
|
|
6
|
+
}
|
|
7
|
+
createAccount = async (t) => this.fetchInstance.post(e.ACCOUNTS, t).then((c) => c.account).catch((c) => c);
|
|
8
|
+
deleteAccount = async (t) => this.fetchInstance.delete(`${e.ACCOUNTS}/${t}`).catch((c) => c);
|
|
9
|
+
getAccounts = async () => this.fetchInstance.get(e.ACCOUNTS).then((t) => t.accounts).catch((t) => t);
|
|
10
|
+
getInstitutions = async () => this.fetchInstance.get(e.INSTITUTIONS).then((t) => t).catch((t) => t);
|
|
11
|
+
getMembers = async () => this.fetchInstance.get(e.MEMBERS).then((t) => t.members).catch((t) => t);
|
|
12
|
+
getMonthlyAccountBalances = async (t) => this.fetchInstance.get(`${e.ACCOUNTS}/${t}/monthly_account_balances`).then((c) => c.monthly_account_balances).catch((c) => c);
|
|
13
|
+
mergeAccounts = async (t) => this.fetchInstance.put(`${e.ACCOUNTS}/merge`, { accounts: t }).then((c) => c).catch((c) => c);
|
|
14
|
+
refreshAllMembers = async () => this.fetchInstance.get(`${e.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
|
|
15
|
+
updateAccount = async (t) => this.fetchInstance.put(`${e.ACCOUNTS}/${t.guid}`, t).then((c) => c.account).catch((c) => c);
|
|
16
|
+
}
|
|
17
|
+
export {
|
|
18
|
+
r as A
|
|
19
|
+
};
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import { observer as f } from "mobx-react-lite";
|
|
3
|
+
import s from "@mui/material/Stack";
|
|
4
|
+
import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
|
|
5
|
+
import p from "react";
|
|
6
|
+
import { G as N, d as C, m as P, f as G, u as O } from "./hooks-fY_n74f7.mjs";
|
|
7
|
+
import { g as R } from "./AccountFields-BRRH37K1.mjs";
|
|
8
|
+
import { A as r } from "./Account-CMjOp7S2.mjs";
|
|
9
|
+
import w from "@mui/material/Card";
|
|
10
|
+
import v from "@mui/material/CardContent";
|
|
11
|
+
import L from "@mui/material/CardHeader";
|
|
12
|
+
import { L as H } from "./Loader-BSWSYqvn.mjs";
|
|
13
|
+
import { I as M, P as U, S as Y } from "./Account-BIKn4XEZ.mjs";
|
|
14
|
+
import { u as j } from "./useAccountDisplayName-DbkgGLdg.mjs";
|
|
15
|
+
import { f as z } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
|
+
const _ = () => {
|
|
17
|
+
if (!p.useContext(N))
|
|
18
|
+
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
19
|
+
return C().uiStore;
|
|
20
|
+
}, B = (i, e) => {
|
|
21
|
+
const c = [r.LOAN, r.MORTGAGE, r.PROPERTY].includes(
|
|
22
|
+
i
|
|
23
|
+
), n = [
|
|
24
|
+
r.CREDIT_CARD,
|
|
25
|
+
r.LINE_OF_CREDIT,
|
|
26
|
+
r.PREPAID,
|
|
27
|
+
r.CHECKING_LINE_OF_CREDIT
|
|
28
|
+
].includes(i);
|
|
29
|
+
return c ? { title: e.label_payments, description: e.chart_title_payments } : n ? { title: e.label_payments_spend, description: e.chart_title_payments_spend } : { title: e.label_income_spend, description: e.chart_title_income_spend };
|
|
30
|
+
}, k = ({
|
|
31
|
+
sx: i,
|
|
32
|
+
ChartComponent: e,
|
|
33
|
+
header: c
|
|
34
|
+
}) => {
|
|
35
|
+
const { loadMonthlyCategoryTotals: n } = P(), { isInitialized: o } = G(), { selectedAccount: d } = _(), [u, m] = p.useState(!1);
|
|
36
|
+
return p.useEffect(() => {
|
|
37
|
+
o && n([d]).finally(() => {
|
|
38
|
+
m(!0);
|
|
39
|
+
});
|
|
40
|
+
}, [o, d]), !o || !u ? /* @__PURE__ */ t(H, {}) : /* @__PURE__ */ a(
|
|
41
|
+
w,
|
|
42
|
+
{
|
|
43
|
+
sx: {
|
|
44
|
+
"& .MuiCardContent-root:last-child": {
|
|
45
|
+
pb: 0
|
|
46
|
+
},
|
|
47
|
+
...i
|
|
48
|
+
},
|
|
49
|
+
children: [
|
|
50
|
+
/* @__PURE__ */ t(L, { sx: { pb: 0 }, title: /* @__PURE__ */ t(T, { sx: { pb: 4 }, children: c }) }),
|
|
51
|
+
/* @__PURE__ */ t(v, { sx: { p: 0 }, children: e ? /* @__PURE__ */ t(e, {}) : null })
|
|
52
|
+
]
|
|
53
|
+
}
|
|
54
|
+
);
|
|
55
|
+
}, F = f(k), V = ({
|
|
56
|
+
customDetailsChart: i,
|
|
57
|
+
ChartComponent: e
|
|
58
|
+
}) => {
|
|
59
|
+
const { institutions: c } = C(), { selectedAccount: n } = _(), { accounts: o } = O(), { firstSubtitle: d, firstValue: u, hasAvailableBalance: m, secondSubtitle: h, secondValue: b } = R(n, o), A = c.find(
|
|
60
|
+
(I) => I.guid === n?.institution_guid
|
|
61
|
+
), S = [
|
|
62
|
+
...M,
|
|
63
|
+
...U,
|
|
64
|
+
...Y
|
|
65
|
+
].includes(n.account_type), g = j(n), { title: y, description: E } = B(n.account_type, o);
|
|
66
|
+
return /* @__PURE__ */ a(s, { bgcolor: "background.default", p: 24, children: [
|
|
67
|
+
/* @__PURE__ */ a(s, { gap: 12, children: [
|
|
68
|
+
/* @__PURE__ */ t(
|
|
69
|
+
x,
|
|
70
|
+
{
|
|
71
|
+
alt: o.institution_logo_alt,
|
|
72
|
+
institutionGuid: n.institution_guid || "",
|
|
73
|
+
size: 64
|
|
74
|
+
}
|
|
75
|
+
),
|
|
76
|
+
/* @__PURE__ */ t(l, { variant: "Small", children: A?.name })
|
|
77
|
+
] }),
|
|
78
|
+
/* @__PURE__ */ a(s, { gap: 8, mb: 24, mt: 4, children: [
|
|
79
|
+
/* @__PURE__ */ t(D, { children: g }),
|
|
80
|
+
/* @__PURE__ */ a(s, { direction: "row", justifyContent: "space-between", children: [
|
|
81
|
+
/* @__PURE__ */ t(l, { bold: m, variant: "Body", children: d }),
|
|
82
|
+
/* @__PURE__ */ t(l, { bold: !0, variant: "Body", children: z(u, "0,0.00") })
|
|
83
|
+
] }),
|
|
84
|
+
/* @__PURE__ */ a(s, { direction: "row", justifyContent: "space-between", children: [
|
|
85
|
+
/* @__PURE__ */ t(l, { variant: "Small", children: h }),
|
|
86
|
+
/* @__PURE__ */ t(l, { variant: "Small", children: b })
|
|
87
|
+
] })
|
|
88
|
+
] }),
|
|
89
|
+
S && /* @__PURE__ */ t(s, { "aria-label": E, role: "img", children: i || /* @__PURE__ */ t(F, { ChartComponent: e, header: y }) })
|
|
90
|
+
] });
|
|
91
|
+
}, at = f(V);
|
|
92
|
+
export {
|
|
93
|
+
at as A,
|
|
94
|
+
_ as u
|
|
95
|
+
};
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
2
|
import { Text as y, Icon as p } from "@mxenabled/mxui";
|
|
3
|
-
import {
|
|
4
|
-
import { i as T, u as
|
|
5
|
-
import {
|
|
3
|
+
import { A as d, a as v, P as h, b as F } from "./Account-CMjOp7S2.mjs";
|
|
4
|
+
import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-CuE8aSZN.mjs";
|
|
5
|
+
import { F as m } from "./GlobalAccountFilter-BpWlPAl5.mjs";
|
|
6
|
+
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
6
7
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
|
-
import { f as o,
|
|
8
|
-
const
|
|
8
|
+
import { f as o, D as f } from "./Dialog-CWymUiuO.mjs";
|
|
9
|
+
const x = (l, e) => {
|
|
9
10
|
const r = [
|
|
10
11
|
{
|
|
11
12
|
event: "account_details_click_account_name",
|
|
@@ -54,7 +55,7 @@ const w = (l, e) => {
|
|
|
54
55
|
valueFormatter: (t) => a.find((n) => n.value === t)?.label
|
|
55
56
|
});
|
|
56
57
|
}
|
|
57
|
-
if (
|
|
58
|
+
if (D(l)) {
|
|
58
59
|
let a = e.interest_rate, t = "interest_rate";
|
|
59
60
|
l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
|
|
60
61
|
event: "account_details_click_interest_rate",
|
|
@@ -66,7 +67,7 @@ const w = (l, e) => {
|
|
|
66
67
|
valueFormatter: (n) => b(n) ? N(n / 100) : n
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
|
-
return
|
|
70
|
+
return A(l) && (r.push({
|
|
70
71
|
label: e.minimum_payment,
|
|
71
72
|
name: "minimum_payment",
|
|
72
73
|
placeholder: i(e.enter_value, e.minimum_payment),
|
|
@@ -106,13 +107,11 @@ const w = (l, e) => {
|
|
|
106
107
|
}, C = (l, e) => {
|
|
107
108
|
let r = "", a = null, t = null, n = null, s = !1;
|
|
108
109
|
switch (l.account_type) {
|
|
109
|
-
// checking or savings
|
|
110
110
|
case 1:
|
|
111
111
|
case 2: {
|
|
112
112
|
l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = _(l.balance, "0,0.00"), s = !0) : (r = e.current_balance, a = l.balance);
|
|
113
113
|
break;
|
|
114
114
|
}
|
|
115
|
-
// credit cards, loans, investments, etc
|
|
116
115
|
default:
|
|
117
116
|
if (r = e.current_balance, a = l.balance, l.minimum_payment && l.payment_due_at) {
|
|
118
117
|
const c = typeof l.payment_due_at == "number" ? new Date(l.payment_due_at * 1e3) : l.payment_due_at;
|
|
@@ -130,12 +129,12 @@ const w = (l, e) => {
|
|
|
130
129
|
secondValue: n,
|
|
131
130
|
hasAvailableBalance: s
|
|
132
131
|
};
|
|
133
|
-
},
|
|
132
|
+
}, B = (l, e) => l.reduce((a, t) => {
|
|
134
133
|
const s = C(t, e).firstValue || 0;
|
|
135
134
|
return a + s;
|
|
136
135
|
}, 0);
|
|
137
136
|
export {
|
|
138
137
|
x as a,
|
|
139
|
-
|
|
138
|
+
B as b,
|
|
140
139
|
C as g
|
|
141
140
|
};
|
|
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-DgT8DCeh.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
14
|
-
import { u as X } from "./useAccountDisplayName-
|
|
15
|
-
import { u as $ } from "./hooks-
|
|
16
|
-
import { C as d } from "./
|
|
13
|
+
import { g as T } from "./AccountFields-BRRH37K1.mjs";
|
|
14
|
+
import { u as X } from "./useAccountDisplayName-DbkgGLdg.mjs";
|
|
15
|
+
import { u as $ } from "./hooks-fY_n74f7.mjs";
|
|
16
|
+
import { C as d } from "./Account-CMjOp7S2.mjs";
|
|
17
17
|
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|