@mx-cartographer/experiences 8.0.0-alpha.bb2 → 8.0.0-alpha.bb4
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 +128 -1
- package/dist/{Account-Bxw0_4FU.mjs → Account-B4CDD-zq.mjs} +1 -1
- package/dist/AccountDetailsContent-adZTkM52.mjs +683 -0
- package/dist/AccountDetailsHeader-DRjFuyJT.mjs +87 -0
- package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-Cl4KHoSj.mjs} +14 -12
- package/dist/AccountListItem-wgmlex-_.mjs +90 -0
- package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-HbVblv86.mjs} +19 -8
- package/dist/{Accounts-BRf_YeTf.mjs → Accounts-CRUehOiy.mjs} +1 -1
- package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
- package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Jv8h9H9l.mjs} +33 -33
- package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-CA190BPF.mjs} +18 -25
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Dl006GKy.mjs} +43 -41
- package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-MUwRWH9e.mjs} +13 -11
- package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
- package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-DVp54lUH.mjs} +49 -48
- package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-Dsc04-4Z.mjs} +3 -3
- package/dist/CurrencyInput-D1cjbdCI.mjs +85 -0
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CDPZw_-m.mjs} +3 -3
- package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-pL63fmdT.mjs} +3 -3
- package/dist/{Dialog-CWW597AF.mjs → Dialog-CDV0kKxj.mjs} +24 -24
- package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
- package/dist/Drawer-BF40nbsH.mjs +163 -0
- package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-QhQK4_FU.mjs} +4 -4
- package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
- package/dist/FinstrongStore-BGf36b0z.mjs +451 -0
- package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-C1-w3Y1E.mjs} +7 -7
- package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
- package/dist/{Help-B6dIcujh.mjs → Help-DBfsTkAi.mjs} +125 -146
- package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/LineChart-C1PxNf7P.mjs +581 -0
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BNCWQAN_.mjs} +10 -10
- package/dist/Loader-Ckqi9Rx6.mjs +21 -0
- package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-8EsStyIQ.mjs} +195 -192
- package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +56 -0
- package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-Bti6u-d9.mjs} +4 -4
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-B74rQVYC.mjs} +276 -273
- package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-2Y_3U_mg.mjs} +10 -10
- package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-DAncu--R.mjs} +17 -17
- package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-CxcSL1dY.mjs} +106 -105
- package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-CNFxyGB6.mjs} +80 -73
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-Cn6-R7ue.mjs} +10 -10
- package/dist/SearchBox-B7km148n.mjs +39 -0
- package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-BASMQSIp.mjs} +3 -3
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
- package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DPQ96k3x.mjs} +19 -19
- package/dist/SpendingLegend-6FqtMcBV.mjs +193 -0
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
- package/dist/TransactionApi-CjBoLleL.mjs +86 -0
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +1336 -0
- package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-DbwAutwC.mjs} +146 -165
- package/dist/TrendsStore-_mRaFUdf.mjs +182 -0
- package/dist/{User-BQUxBeZV.mjs → User-BklmOUSd.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DAkyNRlD.mjs} +706 -729
- package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CDh9fjpR.mjs} +36 -36
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
- package/dist/accounts/index.es.js +228 -199
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +459 -462
- package/dist/cashflow/index.es.js +419 -428
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +1 -1
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +1 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/SkeletonLoader.d.ts +7 -0
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/charts/LineChart.d.ts +12 -2
- package/dist/common/components/charts/index.d.ts +0 -3
- package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
- package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/components/index.d.ts +0 -1
- package/dist/common/hooks/index.d.ts +0 -1
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/index.es.js +413 -674
- package/dist/common/stores/GlobalStore.d.ts +7 -1
- package/dist/common/stores/GlobalUiStore.d.ts +3 -2
- package/dist/common/types/Finstrong.d.ts +54 -0
- package/dist/common/types/Global.d.ts +1 -0
- package/dist/common/types/Widgets.d.ts +1 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
- package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +1 -3
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +1 -2
- package/dist/debts/index.es.js +673 -665
- package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +9 -0
- package/dist/finstrong/index.es.js +3175 -1067
- package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +580 -570
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +6 -6
- package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +537 -536
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
- package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
- package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
- package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
- package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
- package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
- package/dist/microinsights/carousel/BeatList.d.ts +10 -0
- package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
- package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
- package/dist/microinsights/constants/App.d.ts +0 -1
- package/dist/microinsights/index.d.ts +3 -3
- package/dist/microinsights/index.es.js +7 -7
- package/dist/microinsights/interfaces.d.ts +0 -6
- package/dist/networth/components/NetWorthChange.d.ts +3 -1
- package/dist/networth/index.es.js +262 -254
- package/dist/notifications/index.es.js +90 -91
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
- package/dist/recurringtransactions/index.es.js +586 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
- package/dist/settings/index.es.js +371 -365
- package/dist/spending/index.es.js +267 -419
- package/dist/spending/utils/SpendingData.d.ts +2 -1
- package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
- package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
- package/dist/transactions/index.es.js +231 -226
- package/dist/transactions/stores/TransactionStore.d.ts +1 -1
- package/dist/transactions/stores/UiStore.d.ts +0 -2
- package/dist/trends/index.es.js +988 -612
- package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
- package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
- package/package.json +51 -56
- package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
- package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
- package/dist/AccountListItem-JFMZROh7.mjs +0 -90
- package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
- package/dist/LineChart-D4GI7nVh.mjs +0 -541
- package/dist/Loader-DUaFpDGv.mjs +0 -24
- package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
- package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
- package/dist/SearchBox-B2_zLv8-.mjs +0 -42
- package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
- package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
- package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
- package/dist/accounts/components/AccountsWidgetContent.d.ts +0 -3
- package/dist/common/components/barchart/Bar.d.ts +0 -25
- package/dist/common/components/barchart/BarChart.d.ts +0 -34
- package/dist/common/components/barchart/BarColumn.d.ts +0 -37
- package/dist/common/components/barchart/Legend.d.ts +0 -8
- package/dist/common/components/barchart/Util.d.ts +0 -42
- package/dist/common/components/barchart/index.d.ts +0 -1
- package/dist/common/hooks/usePrevious.d.ts +0 -2
- package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
- package/dist/useAriaLive-B3_pRUio.mjs +0 -35
|
@@ -35,11 +35,16 @@ interface LoadDataProps {
|
|
|
35
35
|
transactions?: Transaction[];
|
|
36
36
|
userFeatures?: UserFeature[];
|
|
37
37
|
}
|
|
38
|
+
type OnStoreUpdate = (update: ObservedUpdate) => void;
|
|
39
|
+
type ObservedUpdate = {
|
|
40
|
+
transactions: Transaction[];
|
|
41
|
+
};
|
|
38
42
|
export declare class GlobalStore {
|
|
39
43
|
appConfig: AppConfig;
|
|
40
44
|
endpoint: string;
|
|
41
45
|
sessionToken: string;
|
|
42
46
|
onError?: GlobalErrorHandler;
|
|
47
|
+
onStoreUpdate?: OnStoreUpdate;
|
|
43
48
|
accountStore: AccountStore;
|
|
44
49
|
appDataStore: AppDataStore;
|
|
45
50
|
analyticsStore: AnalyticsStore;
|
|
@@ -63,8 +68,9 @@ export declare class GlobalStore {
|
|
|
63
68
|
trendsStore: TrendsStore;
|
|
64
69
|
userStore: UserStore;
|
|
65
70
|
globalUiStore: GlobalUiStore;
|
|
66
|
-
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
71
|
+
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler, onStoreUpdate?: OnStoreUpdate);
|
|
67
72
|
get isInitialized(): boolean;
|
|
73
|
+
emitUpdate: (change: ObservedUpdate) => void;
|
|
68
74
|
loadConfigData: () => Promise<void>;
|
|
69
75
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
70
76
|
}
|
|
@@ -2,7 +2,6 @@ import { Account } from '../types';
|
|
|
2
2
|
import { GlobalStore } from './GlobalStore';
|
|
3
3
|
export declare class GlobalUiStore {
|
|
4
4
|
globalStore: GlobalStore;
|
|
5
|
-
isInitialized: boolean;
|
|
6
5
|
selectedAccounts: Account[];
|
|
7
6
|
selectedAccountGuids: string[];
|
|
8
7
|
displayedDate: Date;
|
|
@@ -12,7 +11,9 @@ export declare class GlobalUiStore {
|
|
|
12
11
|
};
|
|
13
12
|
constructor(globalStore: GlobalStore);
|
|
14
13
|
get isCopyLoaded(): boolean;
|
|
15
|
-
|
|
14
|
+
get isConfigLoaded(): boolean;
|
|
15
|
+
get areUserFeaturesLoaded(): boolean;
|
|
16
|
+
get isInitialized(): boolean;
|
|
16
17
|
setSelectedAccounts: (accounts: Account[]) => void;
|
|
17
18
|
setSelectedAccountGuids: (guids: string[]) => Promise<void>;
|
|
18
19
|
setDisplayedDate: (startDate: Date, endDate: Date) => void;
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { CardStatus } from '../constants/FinStrong';
|
|
2
|
+
import { Transaction } from './Transaction';
|
|
3
|
+
export interface SpendingFeeTransaction {
|
|
4
|
+
transaction: Transaction;
|
|
5
|
+
}
|
|
2
6
|
export interface HealthScore {
|
|
3
7
|
created_at: string;
|
|
4
8
|
debt_score: number;
|
|
@@ -31,6 +35,33 @@ export interface MonthlyHealthScoreAverage {
|
|
|
31
35
|
export interface MonthlyHealthScore {
|
|
32
36
|
monthly_health_score_average: MonthlyHealthScoreAverage[];
|
|
33
37
|
}
|
|
38
|
+
export interface MonthlyHealthScoreItem {
|
|
39
|
+
monthly_health_score_average: MonthlyHealthScoreAverage;
|
|
40
|
+
}
|
|
41
|
+
export interface MonthlySummaries {
|
|
42
|
+
user_guid: string;
|
|
43
|
+
year: number;
|
|
44
|
+
month: number;
|
|
45
|
+
standard_spend: number;
|
|
46
|
+
debt_spend: number;
|
|
47
|
+
income: number;
|
|
48
|
+
available_cash: number;
|
|
49
|
+
debt_balance: number;
|
|
50
|
+
credit_score: number;
|
|
51
|
+
}
|
|
52
|
+
export interface FinstrongTransaction {
|
|
53
|
+
transaction: Transaction;
|
|
54
|
+
}
|
|
55
|
+
export interface HealthScoreAverage {
|
|
56
|
+
birth_year: number;
|
|
57
|
+
single_year_user_count: number;
|
|
58
|
+
single_year_average_health_score: number;
|
|
59
|
+
user_count_total: number;
|
|
60
|
+
average_health_score: number;
|
|
61
|
+
}
|
|
62
|
+
export interface PeerAverage {
|
|
63
|
+
average_health_score: HealthScoreAverage;
|
|
64
|
+
}
|
|
34
65
|
export interface HealthScoreReport {
|
|
35
66
|
credit_score_change_effect: number;
|
|
36
67
|
debt_score_point_difference: number | null;
|
|
@@ -69,3 +100,26 @@ export interface HealthScoreReport {
|
|
|
69
100
|
user_guid: string;
|
|
70
101
|
}
|
|
71
102
|
export type KeyIndicatorsCardState = (typeof CardStatus)[keyof typeof CardStatus];
|
|
103
|
+
export declare enum OnboardingSteps {
|
|
104
|
+
ConnectAccounts = 1,
|
|
105
|
+
MonthlyIncome = 2,
|
|
106
|
+
Birthday = 3,
|
|
107
|
+
CreditScore = 4
|
|
108
|
+
}
|
|
109
|
+
export declare enum DurationUnit {
|
|
110
|
+
Months = 1,
|
|
111
|
+
Years = 2,
|
|
112
|
+
Days = 3
|
|
113
|
+
}
|
|
114
|
+
export declare enum ContributeFrequency {
|
|
115
|
+
Monthly = 1,
|
|
116
|
+
BiWeekly = 2,
|
|
117
|
+
Weekly = 3,
|
|
118
|
+
Daily = 4
|
|
119
|
+
}
|
|
120
|
+
export interface AllTransactions {
|
|
121
|
+
income: FinstrongTransaction[];
|
|
122
|
+
debtSpend: FinstrongTransaction[];
|
|
123
|
+
spendingFee: Transaction[];
|
|
124
|
+
spend: FinstrongTransaction[];
|
|
125
|
+
}
|
|
@@ -16,7 +16,7 @@ export { GoalType, MetaType, TrackType } from './Goal';
|
|
|
16
16
|
export type { Goal, MonthlyCashFlowProfile, RetirementGoalAccount } from './Goal';
|
|
17
17
|
export type { Debt } from './Debt';
|
|
18
18
|
export type { GlobalErrorHandler, GlobalEventHandler } from './Handlers';
|
|
19
|
-
export type { HealthScore, HealthScoreReport, MonthlyHealthScore } from './Finstrong';
|
|
19
|
+
export type { HealthScore, HealthScoreReport, MonthlyHealthScore, MonthlySummaries, SpendingFeeTransaction, AllTransactions, } from './Finstrong';
|
|
20
20
|
export type { HelpAlertProps, HelpCategory, HelpContentProps, HelpTopic, HelpType, ImageContentProps, InstitutionData, NoImageContentProps, SectionProps, SelectedTopic, Ticket, } from './Help';
|
|
21
21
|
export type { Institution } from './Institution';
|
|
22
22
|
export * from './localization';
|
|
@@ -6,6 +6,23 @@ export interface CreditScoreStatusCopy {
|
|
|
6
6
|
exceptional: string;
|
|
7
7
|
missing_data: string;
|
|
8
8
|
}
|
|
9
|
+
interface HaveManageableDebtDrawer {
|
|
10
|
+
debt_payment: string;
|
|
11
|
+
debt_over_time: string;
|
|
12
|
+
have_manageable_debt_description: string;
|
|
13
|
+
have_manageable_debt_double_bar_chart_empty_state_description: string;
|
|
14
|
+
have_manageable_debt_double_bar_chart_empty_state_header: string;
|
|
15
|
+
have_manageable_debt_more_transactions: string;
|
|
16
|
+
have_manageable_debt_income: string;
|
|
17
|
+
have_manageable_debt_line_chart_empty_state_description: string;
|
|
18
|
+
have_manageable_debt_line_chart_empty_state_header: string;
|
|
19
|
+
have_manageable_debt_payments: string;
|
|
20
|
+
have_manageable_debt_sticky_description: string;
|
|
21
|
+
have_manageable_debt_sticky_title: string;
|
|
22
|
+
have_manageable_debt_title: string;
|
|
23
|
+
have_manageable_debt_transactions: string;
|
|
24
|
+
income: string;
|
|
25
|
+
}
|
|
9
26
|
export interface HealthScoreStatuDetailsCopy {
|
|
10
27
|
building: string;
|
|
11
28
|
stable: string;
|
|
@@ -18,6 +35,7 @@ interface KeyIndicatorBorrow {
|
|
|
18
35
|
credit_score_missing_description: string;
|
|
19
36
|
credit_score_off_track_description: string;
|
|
20
37
|
credit_score_title: string;
|
|
38
|
+
have_manageable_debt_drawer: HaveManageableDebtDrawer;
|
|
21
39
|
manage_debit_fair_description: string;
|
|
22
40
|
manage_debit_good_description: string;
|
|
23
41
|
manage_debit_missing_description: string;
|
|
@@ -31,24 +49,60 @@ interface KeyIndicatorSave {
|
|
|
31
49
|
days_of_cash_missing_description: string;
|
|
32
50
|
days_of_cash_off_track_description: string;
|
|
33
51
|
days_of_cash_title: string;
|
|
52
|
+
drawer_available: string;
|
|
53
|
+
drawer_available_balance: string;
|
|
54
|
+
drawer_daily_spend: string;
|
|
55
|
+
drawer_description: string;
|
|
56
|
+
drawer_progress_bar_label: string;
|
|
57
|
+
drawer_progress_bar_value: string;
|
|
58
|
+
drawer_spending: string;
|
|
59
|
+
drawer_title: string;
|
|
34
60
|
emergency_savings_fair_description: string;
|
|
35
61
|
emergency_savings_good_description: string;
|
|
36
62
|
emergency_savings_missing_description: string;
|
|
37
63
|
emergency_savings_off_track_description: string;
|
|
38
64
|
emergency_savings_title: string;
|
|
65
|
+
savings_over_time: string;
|
|
39
66
|
title: string;
|
|
67
|
+
zero_state_title: string;
|
|
68
|
+
zero_state_description: string;
|
|
69
|
+
}
|
|
70
|
+
interface PayBillsOnTimeDrawer {
|
|
71
|
+
pay_bills_on_time_description: string;
|
|
72
|
+
pay_bills_on_time_sticky_description: string;
|
|
73
|
+
pay_bills_on_time_sticky_fee_count: string;
|
|
74
|
+
pay_bills_on_time_sticky_state: string;
|
|
75
|
+
pay_bills_on_time_title: string;
|
|
76
|
+
pay_bills_on_time_zero_fees_title: string;
|
|
77
|
+
pay_bills_on_time_zero_fees_description: string;
|
|
78
|
+
}
|
|
79
|
+
interface SpendLessThanYouMakeDrawer {
|
|
80
|
+
income: string;
|
|
81
|
+
spend_less_than_you_make_description: string;
|
|
82
|
+
spend_less_than_you_make_title: string;
|
|
83
|
+
spend_less_than_you_make_sticky_description: string;
|
|
84
|
+
spending: string;
|
|
85
|
+
spending_zero_state_title: string;
|
|
86
|
+
spending_zero_state_description: string;
|
|
87
|
+
spent: string;
|
|
88
|
+
trends: string;
|
|
89
|
+
trends_zero_state_title: string;
|
|
90
|
+
trends_zero_state_description: string;
|
|
91
|
+
view_more: string;
|
|
40
92
|
}
|
|
41
|
-
interface KeyIndicatorSpend {
|
|
93
|
+
export interface KeyIndicatorSpend {
|
|
42
94
|
count_card_title: string;
|
|
43
95
|
count_fair_description: string;
|
|
44
96
|
count_good_description: string;
|
|
45
97
|
count_missing_description: string;
|
|
46
98
|
count_off_track_description: string;
|
|
99
|
+
pay_bills_on_time_drawer: PayBillsOnTimeDrawer;
|
|
47
100
|
ratio_card_title: string;
|
|
48
101
|
ratio_fair_description: string;
|
|
49
102
|
ratio_good_description: string;
|
|
50
103
|
ratio_missing_description: string;
|
|
51
104
|
ratio_off_track_description: string;
|
|
105
|
+
spend_less_than_you_make_drawer: SpendLessThanYouMakeDrawer;
|
|
52
106
|
title: string;
|
|
53
107
|
}
|
|
54
108
|
interface ScoreHistoryDrawerTimeline {
|
|
@@ -72,12 +126,18 @@ export interface FinstrongCopy {
|
|
|
72
126
|
connect_more_accounts_button: string;
|
|
73
127
|
connect_more_accounts_description: string;
|
|
74
128
|
connect_more_accounts_title: string;
|
|
129
|
+
connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances: string;
|
|
75
130
|
connect_more_accounts_to_view_more_accurate_financial_picture: string;
|
|
76
131
|
connect_your_accounts: string;
|
|
77
132
|
connected_account: string;
|
|
78
133
|
connections: string;
|
|
134
|
+
credit_over_time_title: string;
|
|
135
|
+
credit_over_time_zero_state_desc: string;
|
|
79
136
|
credit_score: string;
|
|
137
|
+
credit_score_description: string;
|
|
138
|
+
credit_score_keep_strong_credit_score: string;
|
|
80
139
|
credit_score_status: CreditScoreStatusCopy;
|
|
140
|
+
credit_score_updated_score: string;
|
|
81
141
|
date_of_birth: string;
|
|
82
142
|
dont_see_all_your_accounts: string;
|
|
83
143
|
edit_credit_score: string;
|
|
@@ -90,6 +150,7 @@ export interface FinstrongCopy {
|
|
|
90
150
|
health_score_zero_title: string;
|
|
91
151
|
health_score_zero_description: string;
|
|
92
152
|
how_do_we_do_this: string;
|
|
153
|
+
in_the_last_90_days_you_spent: string;
|
|
93
154
|
insufficient_data: string;
|
|
94
155
|
key_indicators: string;
|
|
95
156
|
key_indicators_borrow: KeyIndicatorBorrow;
|
|
@@ -98,16 +159,58 @@ export interface FinstrongCopy {
|
|
|
98
159
|
key_indicators_missing: string;
|
|
99
160
|
key_indicators_label: string;
|
|
100
161
|
key_indicators_off_track: string;
|
|
162
|
+
key_indicators_open: string;
|
|
101
163
|
key_indicators_save: KeyIndicatorSave;
|
|
102
164
|
key_indicators_spend: KeyIndicatorSpend;
|
|
103
165
|
missing_data_description: string;
|
|
166
|
+
maintain_emergency_savings_bi_weekly: string;
|
|
167
|
+
maintain_emergency_savings_calculate: string;
|
|
168
|
+
maintain_emergency_savings_daily: string;
|
|
169
|
+
maintain_emergency_savings_day: string;
|
|
170
|
+
maintain_emergency_savings_days: string;
|
|
171
|
+
maintain_emergency_savings_description: string;
|
|
172
|
+
maintain_emergency_savings_estimated_contribution: string;
|
|
173
|
+
maintain_emergency_savings_estimated_period_bi_weekly: string;
|
|
174
|
+
maintain_emergency_savings_estimated_period_daily: string;
|
|
175
|
+
maintain_emergency_savings_estimated_period_monthly: string;
|
|
176
|
+
maintain_emergency_savings_estimated_period_weekly: string;
|
|
177
|
+
maintain_emergency_savings_how_often_contribute: string;
|
|
178
|
+
maintain_emergency_savings_meet_your_goal_within: string;
|
|
179
|
+
maintain_emergency_savings_months: string;
|
|
180
|
+
maintain_emergency_savings_monthly: string;
|
|
181
|
+
maintain_emergency_savings_savings_goal: string;
|
|
182
|
+
maintain_emergency_savings_suggested_goal: string;
|
|
183
|
+
maintain_emergency_savings_title: string;
|
|
184
|
+
maintain_emergency_savings_weekly: string;
|
|
185
|
+
maintain_emergency_savings_years: string;
|
|
186
|
+
maintain_emergency_savings_your_savings: string;
|
|
104
187
|
missing_data_title: string;
|
|
188
|
+
more_accounts: string;
|
|
105
189
|
monthly_income: string;
|
|
190
|
+
onboarding_add_accounts: string;
|
|
191
|
+
onboarding_add_income_primary: string;
|
|
192
|
+
onboarding_add_income_secondary: string;
|
|
193
|
+
onboarding_add_more_income: string;
|
|
194
|
+
onboarding_back: string;
|
|
195
|
+
onboarding_birthday_primary: string;
|
|
196
|
+
onboarding_birthday_secondary: string;
|
|
197
|
+
onboarding_calculate_primary: string;
|
|
198
|
+
onboarding_calculate_secondary: string;
|
|
199
|
+
onboarding_confirm_income: string;
|
|
200
|
+
onboarding_connect_your_accounts_secondary: string;
|
|
201
|
+
onboarding_credit_score_primary: string;
|
|
202
|
+
onboarding_credit_score_secondary: string;
|
|
203
|
+
onboarding_do_it_later: string;
|
|
204
|
+
onboarding_get_started: string;
|
|
205
|
+
onboarding_next: string;
|
|
206
|
+
onboarding_select_date: string;
|
|
207
|
+
onboarding_subtitle: string;
|
|
208
|
+
onboarding_title: string;
|
|
209
|
+
peer_average: string;
|
|
106
210
|
profile: string;
|
|
107
211
|
score_history: string;
|
|
108
212
|
score_history_drawer_timeline: ScoreHistoryDrawerTimeline;
|
|
109
213
|
score_rubric: string;
|
|
110
|
-
peer_average: string;
|
|
111
214
|
see_whats_possible: string;
|
|
112
215
|
see_whats_possible_description: string;
|
|
113
216
|
stable: string;
|
|
@@ -9,11 +9,9 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
9
9
|
};
|
|
10
10
|
palette: {
|
|
11
11
|
[k: string]: PaletteColor | {
|
|
12
|
-
lighter: string;
|
|
13
12
|
light: string;
|
|
14
13
|
main: string;
|
|
15
14
|
dark: string;
|
|
16
|
-
darker: string;
|
|
17
15
|
};
|
|
18
16
|
};
|
|
19
17
|
components: {
|
|
@@ -66,7 +64,7 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
66
64
|
MuiPickersCalendarHeader: {
|
|
67
65
|
styleOverrides: {
|
|
68
66
|
switchViewButton: {
|
|
69
|
-
color: string
|
|
67
|
+
color: string;
|
|
70
68
|
'&:hover': {
|
|
71
69
|
backgroundColor: string;
|
|
72
70
|
};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { jsx as t, jsxs as s } from "react/jsx-runtime";
|
|
2
2
|
import r from "react";
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
|
-
import h from "@mui/material/
|
|
4
|
+
import h from "@mui/material/Grid";
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import l from "@mui/material/Stack";
|
|
7
|
-
import D from "@mui/material/styles
|
|
8
|
-
import { f as A, u as v, d as C, b as
|
|
7
|
+
import { useTheme as D } from "@mui/material/styles";
|
|
8
|
+
import { f as A, u as v, d as C, b as z, a as k, n as B } from "../hooks-C41HAxM5.mjs";
|
|
9
9
|
import G from "@mui/material/Paper";
|
|
10
10
|
import { Icon as S, H1 as F, P as W } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as I } from "@mui/system";
|
|
12
12
|
import T from "@mui/material/Box";
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { k as
|
|
18
|
-
import { u as
|
|
13
|
+
import R from "@mui/material/Button";
|
|
14
|
+
import $ from "@mui/material/IconButton";
|
|
15
|
+
import j from "@mui/material/Tooltip";
|
|
16
|
+
import E from "@mui/material/useMediaQuery";
|
|
17
|
+
import { k as Q, l as H } from "../ConnectDrawer-DVp54lUH.mjs";
|
|
18
|
+
import { u as M } from "../useScreenSize-B5afALev.mjs";
|
|
19
19
|
const P = _(() => {
|
|
20
20
|
const e = D(), {
|
|
21
21
|
appDataStore: { banner: o, loadBanner: i, user: d }
|
|
@@ -56,9 +56,9 @@ const P = _(() => {
|
|
|
56
56
|
}
|
|
57
57
|
) : null;
|
|
58
58
|
}), N = ({ handleConnectClick: e }) => {
|
|
59
|
-
const { common: o } = v(), i =
|
|
60
|
-
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(
|
|
61
|
-
|
|
59
|
+
const { common: o } = v(), i = E("(max-width: 700px)");
|
|
60
|
+
return /* @__PURE__ */ t(T, { my: 4, children: i ? /* @__PURE__ */ t(j, { id: "add-accounts", placement: "bottom", title: o.add_accounts, children: /* @__PURE__ */ t(
|
|
61
|
+
$,
|
|
62
62
|
{
|
|
63
63
|
"aria-controls": "add_accounts",
|
|
64
64
|
"aria-describedby": "add-accounts",
|
|
@@ -69,7 +69,7 @@ const P = _(() => {
|
|
|
69
69
|
children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
|
|
70
70
|
}
|
|
71
71
|
) }) : /* @__PURE__ */ t(
|
|
72
|
-
|
|
72
|
+
R,
|
|
73
73
|
{
|
|
74
74
|
"aria-controls": "add_accounts",
|
|
75
75
|
"aria-haspopup": !0,
|
|
@@ -86,7 +86,7 @@ const P = _(() => {
|
|
|
86
86
|
}
|
|
87
87
|
) });
|
|
88
88
|
}, O = _(N), U = () => {
|
|
89
|
-
const [e, o] = r.useState(!1), i = I("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } =
|
|
89
|
+
const [e, o] = r.useState(!1), i = I("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: g, setSelectedAccountGuids: b } = z(), { common: n, connect: x } = v(), { config: a } = k(), { isMobile: w } = M(), y = {
|
|
90
90
|
accountFilterOptionsCopy: {
|
|
91
91
|
accountTypeAccounts: n.account_filter.account_type_accounts,
|
|
92
92
|
cancelButton: n.cancel_button,
|
|
@@ -107,13 +107,13 @@ const P = _(() => {
|
|
|
107
107
|
return /* @__PURE__ */ s(r.Fragment, { children: [
|
|
108
108
|
/* @__PURE__ */ t(G, { sx: { gap: 12, mb: w ? 24 : 0, p: 24 }, children: /* @__PURE__ */ s(l, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
109
109
|
/* @__PURE__ */ s(l, { children: [
|
|
110
|
-
/* @__PURE__ */ t(F, { variant: i ? "
|
|
110
|
+
/* @__PURE__ */ t(F, { variant: i ? "h2" : "h1", children: c() }),
|
|
111
111
|
/* @__PURE__ */ t(W, { color: "text.secondary", children: n.heres_your_spending_overview })
|
|
112
112
|
] }),
|
|
113
113
|
/* @__PURE__ */ s(l, { flexDirection: "row", children: [
|
|
114
114
|
a.show_connections_widget_in_master && /* @__PURE__ */ t(O, { handleConnectClick: () => o(!0) }),
|
|
115
115
|
/* @__PURE__ */ t(
|
|
116
|
-
|
|
116
|
+
Q,
|
|
117
117
|
{
|
|
118
118
|
accounts: d,
|
|
119
119
|
copy: y,
|
|
@@ -132,7 +132,7 @@ const P = _(() => {
|
|
|
132
132
|
] })
|
|
133
133
|
] }) }),
|
|
134
134
|
e && /* @__PURE__ */ t(
|
|
135
|
-
|
|
135
|
+
H,
|
|
136
136
|
{
|
|
137
137
|
onClose: () => o(!1),
|
|
138
138
|
showConnectWidget: e,
|
|
@@ -143,7 +143,7 @@ const P = _(() => {
|
|
|
143
143
|
}, q = _(U);
|
|
144
144
|
var f = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(f || {});
|
|
145
145
|
const J = ({ widgets: e, isLoading: o }) => {
|
|
146
|
-
const { isDesktop: i, isMobile: d } =
|
|
146
|
+
const { isDesktop: i, isMobile: d } = M(), { copyStore: g } = A(), { setSelectedAccounts: b } = z(), { visibleAccounts: n } = C(), { onLoad: x } = B();
|
|
147
147
|
r.useEffect(() => {
|
|
148
148
|
b(n);
|
|
149
149
|
}, [n]), r.useEffect(() => {
|
|
@@ -160,8 +160,8 @@ const J = ({ widgets: e, isLoading: o }) => {
|
|
|
160
160
|
[a]
|
|
161
161
|
);
|
|
162
162
|
return /* @__PURE__ */ s(h, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
163
|
-
/* @__PURE__ */ t(h, { xs: 12, children: g.isInitialized && /* @__PURE__ */ t(q, {}) }),
|
|
164
|
-
/* @__PURE__ */ s(h, { lg: 8, xs: 12, children: [
|
|
163
|
+
/* @__PURE__ */ t(h, { size: { xs: 12 }, children: g.isInitialized && /* @__PURE__ */ t(q, {}) }),
|
|
164
|
+
/* @__PURE__ */ s(h, { size: { lg: 8, xs: 12 }, children: [
|
|
165
165
|
/* @__PURE__ */ t(P, {}),
|
|
166
166
|
o && /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
|
|
167
167
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
@@ -170,7 +170,7 @@ const J = ({ widgets: e, isLoading: o }) => {
|
|
|
170
170
|
] }),
|
|
171
171
|
!o && /* @__PURE__ */ t(l, { direction: "column", spacing: 24, children: i ? w.map((c) => /* @__PURE__ */ t(r.Fragment, { children: c.component }, c.index)) : a.map((c) => /* @__PURE__ */ t(r.Fragment, { children: c.component }, c.index)) })
|
|
172
172
|
] }),
|
|
173
|
-
i && /* @__PURE__ */ t(h, { lg: 4, children: o ? /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
|
|
173
|
+
i && /* @__PURE__ */ t(h, { size: { lg: 4 }, children: o ? /* @__PURE__ */ s(l, { direction: "column", spacing: 24, children: [
|
|
174
174
|
/* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
|
|
175
175
|
/* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
|
|
176
176
|
/* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
1
|
import { DebtChartData } from '../utils/DebtsWidget';
|
|
3
2
|
interface DebtsChartProps {
|
|
4
3
|
sx?: any;
|
|
@@ -9,5 +8,5 @@ interface DebtsChartProps {
|
|
|
9
8
|
onClickArea?: () => void;
|
|
10
9
|
onHoverArea?: (debtGuid: string) => void;
|
|
11
10
|
}
|
|
12
|
-
export declare const DebtsChart:
|
|
11
|
+
export declare const DebtsChart: ({ sx, height, width, debts, hoveredDebtGuid, onClickArea, onHoverArea, }: DebtsChartProps) => import("react/jsx-runtime").JSX.Element;
|
|
13
12
|
export {};
|