@mx-cartographer/experiences 9.2.4-alpha.al4 → 9.3.0-alph.bb2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts/AccountsMiniWidget.es.js +56 -0
- package/dist/accounts/AccountsMiniWidget.es.js.map +1 -0
- package/dist/accounts/AccountsWidget.es.js +75 -0
- package/dist/accounts/AccountsWidget.es.js.map +1 -0
- package/dist/accounts/ConnectMiniWidget.es.js +35 -0
- package/dist/accounts/ConnectMiniWidget.es.js.map +1 -0
- package/dist/accounts/components/AccountListItem.es.js +91 -0
- package/dist/accounts/components/AccountListItem.es.js.map +1 -0
- package/dist/accounts/components/AccountsList.es.js +129 -0
- package/dist/accounts/components/AccountsList.es.js.map +1 -0
- package/dist/accounts/components/AccountsListCompact.es.js +86 -0
- package/dist/accounts/components/AccountsListCompact.es.js.map +1 -0
- package/dist/accounts/components/ConnectImage.es.js +388 -0
- package/dist/accounts/components/ConnectImage.es.js.map +1 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js +27 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js.map +1 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js +23 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js.map +1 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js +52 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js +32 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +158 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js +119 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js +38 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js +81 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js +22 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +37 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js.map +1 -0
- package/dist/accounts/constants/Accounts.d.ts +1 -4
- package/dist/accounts/constants/Accounts.es.js +10 -0
- package/dist/accounts/constants/Accounts.es.js.map +1 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js +11 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js.map +1 -0
- package/dist/accounts/hooks/useUiStore.es.js +12 -0
- package/dist/accounts/hooks/useUiStore.es.js.map +1 -0
- package/dist/accounts/index.es.js +23 -784
- package/dist/accounts/utils/AccountDetails.es.js +28 -0
- package/dist/accounts/utils/AccountDetails.es.js.map +1 -0
- package/dist/accounts/utils/AccountFields.es.js +131 -0
- package/dist/accounts/utils/AccountFields.es.js.map +1 -0
- package/dist/accounts/utils/getConnectionMessages.es.js +131 -0
- package/dist/accounts/utils/getConnectionMessages.es.js.map +1 -0
- package/dist/analytics/SurveyMiniWidget.es.js +117 -0
- package/dist/analytics/SurveyMiniWidget.es.js.map +1 -0
- package/dist/analytics/components/OpenTextField.es.js +23 -0
- package/dist/analytics/components/OpenTextField.es.js.map +1 -0
- package/dist/analytics/components/RatingScale.es.js +56 -0
- package/dist/analytics/components/RatingScale.es.js.map +1 -0
- package/dist/analytics/index.es.js +2 -151
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js +100 -0
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js.map +1 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js +143 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js.map +1 -0
- package/dist/budgets/components/AddBudgets.es.js +31 -0
- package/dist/budgets/components/AddBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleBudgets.es.js +47 -0
- package/dist/budgets/components/BubbleBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart.es.js +59 -0
- package/dist/budgets/components/BubbleChart.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js +106 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js +126 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js.map +1 -0
- package/dist/budgets/components/BudgetList.es.js +44 -0
- package/dist/budgets/components/BudgetList.es.js.map +1 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js +109 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js.map +1 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js +54 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/Overview.es.js +129 -0
- package/dist/budgets/components/Overview.es.js.map +1 -0
- package/dist/budgets/components/addbudget/Header.es.js +70 -0
- package/dist/budgets/components/addbudget/Header.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js +62 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js.map +1 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +50 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js +128 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js +29 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js +98 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js +66 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/Header.es.js +48 -0
- package/dist/budgets/components/budgetdetails/Header.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +98 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js +71 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js +62 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js +38 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js +27 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js +84 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js.map +1 -0
- package/dist/budgets/index.es.js +6 -1400
- package/dist/budgets/utils/BubblesSVG.es.js +73 -0
- package/dist/budgets/utils/BubblesSVG.es.js.map +1 -0
- package/dist/cashflow/CashflowMiniWidget.es.js +45 -0
- package/dist/cashflow/CashflowMiniWidget.es.js.map +1 -0
- package/dist/cashflow/CashflowOnboarding.es.js +224 -0
- package/dist/cashflow/CashflowOnboarding.es.js.map +1 -0
- package/dist/cashflow/CashflowWidget.es.js +101 -0
- package/dist/cashflow/CashflowWidget.es.js.map +1 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js +45 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowContent.es.js +63 -0
- package/dist/cashflow/components/CashflowContent.es.js.map +1 -0
- package/dist/cashflow/components/CashflowHeading.es.js +101 -0
- package/dist/cashflow/components/CashflowHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js +167 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js +37 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js +57 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js.map +1 -0
- package/dist/cashflow/components/DetailsFooter.es.js +21 -0
- package/dist/cashflow/components/DetailsFooter.es.js.map +1 -0
- package/dist/cashflow/components/DetailsTab.es.js +90 -0
- package/dist/cashflow/components/DetailsTab.es.js.map +1 -0
- package/dist/cashflow/components/RemainingCash.es.js +35 -0
- package/dist/cashflow/components/RemainingCash.es.js.map +1 -0
- package/dist/cashflow/components/SummaryTab.es.js +258 -0
- package/dist/cashflow/components/SummaryTab.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js +128 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js +26 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js.map +1 -0
- package/dist/cashflow/constants/CashflowImages.es.js +9 -0
- package/dist/cashflow/constants/CashflowImages.es.js.map +1 -0
- package/dist/cashflow/context/hooks.d.ts +1 -1
- package/dist/cashflow/context/hooks.es.js +12 -0
- package/dist/cashflow/context/hooks.es.js.map +1 -0
- package/dist/cashflow/index.es.js +6 -1058
- package/dist/cashflow/util/Filters.es.js +9 -0
- package/dist/cashflow/util/Filters.es.js.map +1 -0
- package/dist/categories/components/CategoryList.es.js +38 -0
- package/dist/categories/components/CategoryList.es.js.map +1 -0
- package/dist/categories/components/CategoryRow.es.js +65 -0
- package/dist/categories/components/CategoryRow.es.js.map +1 -0
- package/dist/categories/components/CategorySelector.es.js +39 -0
- package/dist/categories/components/CategorySelector.es.js.map +1 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js +24 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js +46 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js +61 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js +26 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js +29 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js.map +1 -0
- package/dist/categories/components/SubcategoryList.es.js +41 -0
- package/dist/categories/components/SubcategoryList.es.js.map +1 -0
- package/dist/categories/components/SubcategoryRow.es.js +90 -0
- package/dist/categories/components/SubcategoryRow.es.js.map +1 -0
- package/dist/categories/constants/OnClickEvents.es.js +18 -0
- package/dist/categories/constants/OnClickEvents.es.js.map +1 -0
- package/dist/categories/context/hooks.es.js +12 -0
- package/dist/categories/context/hooks.es.js.map +1 -0
- package/dist/categories/index.es.js +8 -6
- package/dist/common/components/Banner.es.js +39 -0
- package/dist/common/components/Banner.es.js.map +1 -0
- package/dist/common/components/ConnectCard.es.js +58 -0
- package/dist/common/components/ConnectCard.es.js.map +1 -0
- package/dist/common/components/ConnectDrawer.es.js +53 -0
- package/dist/common/components/ConnectDrawer.es.js.map +1 -0
- package/dist/common/components/ConnectStatus.d.ts +6 -0
- package/dist/common/components/ConnectStatus.es.js +39 -0
- package/dist/common/components/ConnectStatus.es.js.map +1 -0
- package/dist/common/components/CurrencyDialog.es.js +119 -0
- package/dist/common/components/CurrencyDialog.es.js.map +1 -0
- package/dist/common/components/CurrencyInput.es.js +49 -0
- package/dist/common/components/CurrencyInput.es.js.map +1 -0
- package/dist/common/components/CurrencyText.es.js +17 -0
- package/dist/common/components/CurrencyText.es.js.map +1 -0
- package/dist/common/components/DataRow.es.js +53 -0
- package/dist/common/components/DataRow.es.js.map +1 -0
- package/dist/common/components/EmptyState.es.js +68 -0
- package/dist/common/components/EmptyState.es.js.map +1 -0
- package/dist/common/components/Error.es.js +86 -0
- package/dist/common/components/Error.es.js.map +1 -0
- package/dist/common/components/ErrorBoundary.es.js +26 -0
- package/dist/common/components/ErrorBoundary.es.js.map +1 -0
- package/dist/common/components/GlobalAccountFilter.es.js +97 -0
- package/dist/common/components/GlobalAccountFilter.es.js.map +1 -0
- package/dist/common/components/IconBacking.es.js +25 -0
- package/dist/common/components/IconBacking.es.js.map +1 -0
- package/dist/common/components/InformationTooltip.es.js +49 -0
- package/dist/common/components/InformationTooltip.es.js.map +1 -0
- package/dist/common/components/ListItemAction.es.js +55 -0
- package/dist/common/components/ListItemAction.es.js.map +1 -0
- package/dist/common/components/ListItemRow.es.js +65 -0
- package/dist/common/components/ListItemRow.es.js.map +1 -0
- package/dist/common/components/ListItemWrapper.es.js +37 -0
- package/dist/common/components/ListItemWrapper.es.js.map +1 -0
- package/dist/common/components/Loader.es.js +17 -0
- package/dist/common/components/Loader.es.js.map +1 -0
- package/dist/common/components/MicroWidgetContainer.es.js +60 -0
- package/dist/common/components/MicroWidgetContainer.es.js.map +1 -0
- package/dist/common/components/MiniWidgetContainer.es.js +77 -0
- package/dist/common/components/MiniWidgetContainer.es.js.map +1 -0
- package/dist/common/components/ResponsiveButton.es.js +37 -0
- package/dist/common/components/ResponsiveButton.es.js.map +1 -0
- package/dist/common/components/SearchBox.es.js +59 -0
- package/dist/common/components/SearchBox.es.js.map +1 -0
- package/dist/common/components/Select.d.ts +1 -1
- package/dist/common/components/Select.es.js +33 -0
- package/dist/common/components/Select.es.js.map +1 -0
- package/dist/common/components/SelectionBox.es.js +45 -0
- package/dist/common/components/SelectionBox.es.js.map +1 -0
- package/dist/common/components/SkeletonLoader.es.js +104 -0
- package/dist/common/components/SkeletonLoader.es.js.map +1 -0
- package/dist/common/components/SubheaderRow.es.js +23 -0
- package/dist/common/components/SubheaderRow.es.js.map +1 -0
- package/dist/common/components/TabContentContainer.es.js +14 -0
- package/dist/common/components/TabContentContainer.es.js.map +1 -0
- package/dist/common/components/TinyBarChart.d.ts +1 -1
- package/dist/common/components/TinyBarChart.es.js +81 -0
- package/dist/common/components/TinyBarChart.es.js.map +1 -0
- package/dist/common/components/WidgetContainer.es.js +146 -0
- package/dist/common/components/WidgetContainer.es.js.map +1 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js +38 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js.map +1 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js +50 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js.map +1 -0
- package/dist/common/components/calendar/Calendar.es.js +148 -0
- package/dist/common/components/calendar/Calendar.es.js.map +1 -0
- package/dist/common/components/calendar/Day.es.js +82 -0
- package/dist/common/components/calendar/Day.es.js.map +1 -0
- package/dist/common/components/calendar/Header.es.js +42 -0
- package/dist/common/components/calendar/Header.es.js.map +1 -0
- package/dist/common/components/charts/Donut.es.js +82 -0
- package/dist/common/components/charts/Donut.es.js.map +1 -0
- package/dist/common/components/charts/LineChart.es.js +195 -0
- package/dist/common/components/charts/LineChart.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart.es.js.map +1 -0
- package/dist/common/components/charts/StatusBar.es.js +25 -0
- package/dist/common/components/charts/StatusBar.es.js.map +1 -0
- package/dist/common/components/charts/chartSlotProps.d.ts +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js +95 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js +27 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js +56 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js +138 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js.map +1 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js +26 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js +31 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js +97 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js +54 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js +51 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js.map +1 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js +262 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js.map +1 -0
- package/dist/common/components/dialog/Dialog.es.js +58 -0
- package/dist/common/components/dialog/Dialog.es.js.map +1 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js +53 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js.map +1 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js +50 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js.map +1 -0
- package/dist/common/components/drawer/Drawer.es.js +57 -0
- package/dist/common/components/drawer/Drawer.es.js.map +1 -0
- package/dist/common/components/drawer/Footer.es.js +31 -0
- package/dist/common/components/drawer/Footer.es.js.map +1 -0
- package/dist/common/components/drawer/Header.es.js +52 -0
- package/dist/common/components/drawer/Header.es.js.map +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +133 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js +41 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js +54 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleListItem.es.js +37 -0
- package/dist/common/components/listitems/ToggleListItem.es.js.map +1 -0
- package/dist/common/constants/Account.es.js +32 -0
- package/dist/common/constants/Account.es.js.map +1 -0
- package/dist/common/constants/Analytics.es.js +139 -0
- package/dist/common/constants/Analytics.es.js.map +1 -0
- package/dist/common/constants/Connect.d.ts +4 -0
- package/dist/common/constants/Connect.es.js +10 -0
- package/dist/common/constants/Connect.es.js.map +1 -0
- package/dist/common/constants/Donut.es.js +7 -0
- package/dist/common/constants/Donut.es.js.map +1 -0
- package/dist/common/constants/FinStrong.es.js +33 -0
- package/dist/common/constants/FinStrong.es.js.map +1 -0
- package/dist/common/constants/ScheduledPayment.es.js +40 -0
- package/dist/common/constants/ScheduledPayment.es.js.map +1 -0
- package/dist/common/constants/Sizes.es.js +9 -0
- package/dist/common/constants/Sizes.es.js.map +1 -0
- package/dist/common/constants/SpendingPlan.es.js +10 -0
- package/dist/common/constants/SpendingPlan.es.js.map +1 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/context/GlobalDataProvider.es.js +19 -0
- package/dist/common/context/GlobalDataProvider.es.js.map +1 -0
- package/dist/common/context/WidgetContainerProvider.es.js +16 -0
- package/dist/common/context/WidgetContainerProvider.es.js.map +1 -0
- package/dist/common/context/hooks.es.js +46 -0
- package/dist/common/context/hooks.es.js.map +1 -0
- package/dist/common/hooks/useAccountDisplayName.es.js +13 -0
- package/dist/common/hooks/useAccountDisplayName.es.js.map +1 -0
- package/dist/common/hooks/useAriaLive.es.js +34 -0
- package/dist/common/hooks/useAriaLive.es.js.map +1 -0
- package/dist/common/hooks/useCombineEvents.es.js +22 -0
- package/dist/common/hooks/useCombineEvents.es.js.map +1 -0
- package/dist/common/hooks/useDimensions.es.js +41 -0
- package/dist/common/hooks/useDimensions.es.js.map +1 -0
- package/dist/common/hooks/useInsightsEnabled.es.js +13 -0
- package/dist/common/hooks/useInsightsEnabled.es.js.map +1 -0
- package/dist/common/hooks/usePrevious.es.js +13 -0
- package/dist/common/hooks/usePrevious.es.js.map +1 -0
- package/dist/common/hooks/useScreenSize.es.js +26 -0
- package/dist/common/hooks/useScreenSize.es.js.map +1 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js +46 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js.map +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js +24 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js.map +1 -0
- package/dist/common/index.es.js +154 -310
- package/dist/common/types/Charts.d.ts +10 -0
- package/dist/common/utils/AccountDisplayName.es.js +14 -0
- package/dist/common/utils/AccountDisplayName.es.js.map +1 -0
- package/dist/common/utils/AccountFilter.es.js +31 -0
- package/dist/common/utils/AccountFilter.es.js.map +1 -0
- package/dist/common/utils/Analytics.es.js +31 -0
- package/dist/common/utils/Analytics.es.js.map +1 -0
- package/dist/common/utils/PostMessage.es.js +29 -0
- package/dist/common/utils/PostMessage.es.js.map +1 -0
- package/dist/common/utils/Theme.es.js +96 -0
- package/dist/common/utils/Theme.es.js.map +1 -0
- package/dist/core/api/AccountApi.es.js +22 -0
- package/dist/core/api/AccountApi.es.js.map +1 -0
- package/dist/core/api/AnalyticsApi.es.js +34 -0
- package/dist/core/api/AnalyticsApi.es.js.map +1 -0
- package/dist/core/api/AppDataApi.es.js +14 -0
- package/dist/core/api/AppDataApi.es.js.map +1 -0
- package/dist/core/api/BannerApi.es.js +23 -0
- package/dist/core/api/BannerApi.es.js.map +1 -0
- package/dist/core/api/BeatApi.es.js +24 -0
- package/dist/core/api/BeatApi.es.js.map +1 -0
- package/dist/core/api/BudgetsApi.es.js +28 -0
- package/dist/core/api/BudgetsApi.es.js.map +1 -0
- package/dist/core/api/CategoryApi.es.js +29 -0
- package/dist/core/api/CategoryApi.es.js.map +1 -0
- package/dist/core/api/FinstrongApi.es.js +22 -0
- package/dist/core/api/FinstrongApi.es.js.map +1 -0
- package/dist/core/api/GlobalCopyApi.es.js +14 -0
- package/dist/core/api/GlobalCopyApi.es.js.map +1 -0
- package/dist/core/api/GoalApi.es.js +28 -0
- package/dist/core/api/GoalApi.es.js.map +1 -0
- package/dist/core/api/HelpApi.es.js +14 -0
- package/dist/core/api/HelpApi.es.js.map +1 -0
- package/dist/core/api/HoldingApi.es.js +15 -0
- package/dist/core/api/HoldingApi.es.js.map +1 -0
- package/dist/core/api/MerchantApi.es.js +18 -0
- package/dist/core/api/MerchantApi.es.js.map +1 -0
- package/dist/core/api/NotificationApi.es.js +19 -0
- package/dist/core/api/NotificationApi.es.js.map +1 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js +17 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js.map +1 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js +22 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js.map +1 -0
- package/dist/core/api/SettingsApi.es.js +24 -0
- package/dist/core/api/SettingsApi.es.js.map +1 -0
- package/dist/core/api/TransactionApi.es.js +55 -0
- package/dist/core/api/TransactionApi.es.js.map +1 -0
- package/dist/core/api/UserApi.es.js +16 -0
- package/dist/core/api/UserApi.es.js.map +1 -0
- package/dist/core/api/WidgetApi.es.js +14 -0
- package/dist/core/api/WidgetApi.es.js.map +1 -0
- package/dist/core/constants/ApiEndpoints.es.js +51 -0
- package/dist/core/constants/ApiEndpoints.es.js.map +1 -0
- package/dist/core/constants/Category.es.js +299 -0
- package/dist/core/constants/Category.es.js.map +1 -0
- package/dist/core/constants/DateFormats.es.js +55 -0
- package/dist/core/constants/DateFormats.es.js.map +1 -0
- package/dist/core/constants/Debts.es.js +8 -0
- package/dist/core/constants/Debts.es.js.map +1 -0
- package/dist/core/constants/DefaultConfig.es.js +109 -0
- package/dist/core/constants/DefaultConfig.es.js.map +1 -0
- package/dist/core/constants/Help.es.js +183 -0
- package/dist/core/constants/Help.es.js.map +1 -0
- package/dist/core/constants/Investments.es.js +56 -0
- package/dist/core/constants/Investments.es.js.map +1 -0
- package/dist/core/constants/Numbers.es.js +9 -0
- package/dist/core/constants/Numbers.es.js.map +1 -0
- package/dist/core/constants/Table.es.js +18 -0
- package/dist/core/constants/Table.es.js.map +1 -0
- package/dist/core/constants/Transaction.es.js +43 -0
- package/dist/core/constants/Transaction.es.js.map +1 -0
- package/dist/core/constants/repeatingTransactions.es.js +8 -0
- package/dist/core/constants/repeatingTransactions.es.js.map +1 -0
- package/dist/core/index.es.js +134 -107
- package/dist/core/stores/AccountStore.es.js +247 -0
- package/dist/core/stores/AccountStore.es.js.map +1 -0
- package/dist/core/stores/AnalyticsStore.es.js +55 -0
- package/dist/core/stores/AnalyticsStore.es.js.map +1 -0
- package/dist/core/stores/AppDataStore.d.ts +2 -2
- package/dist/core/stores/AppDataStore.es.js +61 -0
- package/dist/core/stores/AppDataStore.es.js.map +1 -0
- package/dist/core/stores/BeatStore.es.js +43 -0
- package/dist/core/stores/BeatStore.es.js.map +1 -0
- package/dist/core/stores/BudgetsStore.es.js +155 -0
- package/dist/core/stores/BudgetsStore.es.js.map +1 -0
- package/dist/core/stores/CashflowStore.es.js +62 -0
- package/dist/core/stores/CashflowStore.es.js.map +1 -0
- package/dist/core/stores/CategoryStore.es.js +147 -0
- package/dist/core/stores/CategoryStore.es.js.map +1 -0
- package/dist/core/stores/ConnectStore.es.js +19 -0
- package/dist/core/stores/ConnectStore.es.js.map +1 -0
- package/dist/core/stores/DebtsStore.es.js +40 -0
- package/dist/core/stores/DebtsStore.es.js.map +1 -0
- package/dist/core/stores/FinstrongStore.es.js +156 -0
- package/dist/core/stores/FinstrongStore.es.js.map +1 -0
- package/dist/core/stores/GlobalCopyStore.es.js +32 -0
- package/dist/core/stores/GlobalCopyStore.es.js.map +1 -0
- package/dist/core/stores/GlobalStore.es.js +87 -0
- package/dist/core/stores/GlobalStore.es.js.map +1 -0
- package/dist/core/stores/GlobalUiStore.d.ts +2 -2
- package/dist/core/stores/GlobalUiStore.es.js +68 -0
- package/dist/core/stores/GlobalUiStore.es.js.map +1 -0
- package/dist/core/stores/GoalStore.es.js +233 -0
- package/dist/core/stores/GoalStore.es.js.map +1 -0
- package/dist/core/stores/HelpStore.d.ts +1 -1
- package/dist/core/stores/HelpStore.es.js +45 -0
- package/dist/core/stores/HelpStore.es.js.map +1 -0
- package/dist/core/stores/HoldingStore.es.js +60 -0
- package/dist/core/stores/HoldingStore.es.js.map +1 -0
- package/dist/core/stores/MerchantStore.es.js +28 -0
- package/dist/core/stores/MerchantStore.es.js.map +1 -0
- package/dist/core/stores/NetWorthStore.es.js +73 -0
- package/dist/core/stores/NetWorthStore.es.js.map +1 -0
- package/dist/core/stores/NotificationStore.es.js +46 -0
- package/dist/core/stores/NotificationStore.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js +198 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js.map +1 -0
- package/dist/core/stores/SettingsStore.d.ts +1 -1
- package/dist/core/stores/SettingsStore.es.js +184 -0
- package/dist/core/stores/SettingsStore.es.js.map +1 -0
- package/dist/core/stores/TransactionStore.es.js +372 -0
- package/dist/core/stores/TransactionStore.es.js.map +1 -0
- package/dist/core/stores/TrendsStore.es.js +51 -0
- package/dist/core/stores/TrendsStore.es.js.map +1 -0
- package/dist/core/stores/UserStore.es.js +49 -0
- package/dist/core/stores/UserStore.es.js.map +1 -0
- package/dist/core/types/Account.es.js +118 -0
- package/dist/core/types/Account.es.js.map +1 -0
- package/dist/core/types/Beat.es.js +8 -0
- package/dist/core/types/Beat.es.js.map +1 -0
- package/dist/core/types/Expense.es.js +11 -0
- package/dist/core/types/Expense.es.js.map +1 -0
- package/dist/core/types/Finstrong.es.js +14 -0
- package/dist/core/types/Finstrong.es.js.map +1 -0
- package/dist/core/types/Goal.es.js +14 -0
- package/dist/core/types/Goal.es.js.map +1 -0
- package/dist/core/types/Notification.es.js +17 -0
- package/dist/core/types/Notification.es.js.map +1 -0
- package/dist/core/types/RepeatingTransaction.es.js +17 -0
- package/dist/core/types/RepeatingTransaction.es.js.map +1 -0
- package/dist/core/types/ScreenSize.es.js +8 -0
- package/dist/core/types/ScreenSize.es.js.map +1 -0
- package/dist/core/types/Transaction.es.js +11 -0
- package/dist/core/types/Transaction.es.js.map +1 -0
- package/dist/core/utils/AccountUtils.es.js +27 -0
- package/dist/core/utils/AccountUtils.es.js.map +1 -0
- package/dist/core/utils/BeatUtils.es.js +50 -0
- package/dist/core/utils/BeatUtils.es.js.map +1 -0
- package/dist/core/utils/BudgetUtil.es.js +71 -0
- package/dist/core/utils/BudgetUtil.es.js.map +1 -0
- package/dist/core/utils/CategoryUtil.es.js +60 -0
- package/dist/core/utils/CategoryUtil.es.js.map +1 -0
- package/dist/core/utils/DateUtil.es.js +70 -0
- package/dist/core/utils/DateUtil.es.js.map +1 -0
- package/dist/core/utils/DebtUtils.es.js +144 -0
- package/dist/core/utils/DebtUtils.es.js.map +1 -0
- package/dist/core/utils/Fetch.es.js +74 -0
- package/dist/core/utils/Fetch.es.js.map +1 -0
- package/dist/core/utils/FinstrongUtils.es.js +11 -0
- package/dist/core/utils/FinstrongUtils.es.js.map +1 -0
- package/dist/core/utils/GoalsUtil.es.js +113 -0
- package/dist/core/utils/GoalsUtil.es.js.map +1 -0
- package/dist/core/utils/HelpUtil.es.js +23 -0
- package/dist/core/utils/HelpUtil.es.js.map +1 -0
- package/dist/core/utils/InvestmentUtil.es.js +77 -0
- package/dist/core/utils/InvestmentUtil.es.js.map +1 -0
- package/dist/core/utils/Localization.es.js +34 -0
- package/dist/core/utils/Localization.es.js.map +1 -0
- package/dist/core/utils/NetWorthUtils.es.js +115 -0
- package/dist/core/utils/NetWorthUtils.es.js.map +1 -0
- package/dist/core/utils/NotificationUtils.es.js +17 -0
- package/dist/core/utils/NotificationUtils.es.js.map +1 -0
- package/dist/core/utils/NumberFormatting.es.js +31 -0
- package/dist/core/utils/NumberFormatting.es.js.map +1 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js +285 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js.map +1 -0
- package/dist/core/utils/SettingsUtil.es.js +56 -0
- package/dist/core/utils/SettingsUtil.es.js.map +1 -0
- package/dist/core/utils/TransactionUtils.es.js +113 -0
- package/dist/core/utils/TransactionUtils.es.js.map +1 -0
- package/dist/core/utils/TrendsUtil.es.js +72 -0
- package/dist/core/utils/TrendsUtil.es.js.map +1 -0
- package/dist/core/utils/UserUtils.es.js +6 -0
- package/dist/core/utils/UserUtils.es.js.map +1 -0
- package/dist/dashboard/Dashboard.es.js +99 -0
- package/dist/dashboard/Dashboard.es.js.map +1 -0
- package/dist/dashboard/Greeting.es.js +49 -0
- package/dist/dashboard/Greeting.es.js.map +1 -0
- package/dist/dashboard/constants/Dashboard.es.js +8 -0
- package/dist/dashboard/constants/Dashboard.es.js.map +1 -0
- package/dist/dashboard/index.es.js +4 -153
- package/dist/debts/DebtsWidget.es.js +138 -0
- package/dist/debts/DebtsWidget.es.js.map +1 -0
- package/dist/debts/components/DebtDrawer.es.js +26 -0
- package/dist/debts/components/DebtDrawer.es.js.map +1 -0
- package/dist/debts/components/DebtsChart.es.js +135 -0
- package/dist/debts/components/DebtsChart.es.js.map +1 -0
- package/dist/debts/components/DebtsTable.es.js +193 -0
- package/dist/debts/components/DebtsTable.es.js.map +1 -0
- package/dist/debts/components/PaydownDrawer.es.js +19 -0
- package/dist/debts/components/PaydownDrawer.es.js.map +1 -0
- package/dist/debts/components/SnowballCard.es.js +87 -0
- package/dist/debts/components/SnowballCard.es.js.map +1 -0
- package/dist/debts/components/SnowballDrawer.es.js +457 -0
- package/dist/debts/components/SnowballDrawer.es.js.map +1 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js +37 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js.map +1 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/InterestRateAction.es.js +41 -0
- package/dist/debts/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js +43 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js +43 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +54 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +40 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +108 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js +86 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js +32 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js +77 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js +32 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js +78 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js.map +1 -0
- package/dist/debts/components/debtstable/AccountCell.es.js +30 -0
- package/dist/debts/components/debtstable/AccountCell.es.js.map +1 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js +35 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js.map +1 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js +12 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js.map +1 -0
- package/dist/debts/index.es.js +6 -1496
- package/dist/debts/utils/DebtsChart.es.js +15 -0
- package/dist/debts/utils/DebtsChart.es.js.map +1 -0
- package/dist/debts/utils/DebtsTable.es.js +17 -0
- package/dist/debts/utils/DebtsTable.es.js.map +1 -0
- package/dist/debts/utils/SnowballCard.es.js +40 -0
- package/dist/debts/utils/SnowballCard.es.js.map +1 -0
- package/dist/finstrong/FinancialStrengthCard.es.js +127 -0
- package/dist/finstrong/FinancialStrengthCard.es.js.map +1 -0
- package/dist/finstrong/FinstrongWidget.es.js +175 -0
- package/dist/finstrong/FinstrongWidget.es.js.map +1 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js +80 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js +39 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js +22 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js.map +1 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js +61 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js.map +1 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js +44 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js +43 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +88 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js +73 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js +40 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HealthChart.es.js +117 -0
- package/dist/finstrong/components/HealthChart.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js +71 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js +92 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js +73 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +65 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js +93 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js +78 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js +170 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js +51 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js +53 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js.map +1 -0
- package/dist/finstrong/components/ManageCreditScore.es.js +52 -0
- package/dist/finstrong/components/ManageCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/ManageDOB.es.js +79 -0
- package/dist/finstrong/components/ManageDOB.es.js.map +1 -0
- package/dist/finstrong/components/MissingData.es.js +51 -0
- package/dist/finstrong/components/MissingData.es.js.map +1 -0
- package/dist/finstrong/components/ProfileDrawer.es.js +124 -0
- package/dist/finstrong/components/ProfileDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ProfileList.es.js +65 -0
- package/dist/finstrong/components/ProfileList.es.js.map +1 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js +32 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/ProgressBar.es.js +53 -0
- package/dist/finstrong/components/ProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js +27 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +51 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js +56 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js +34 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js.map +1 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js +90 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js +118 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js +130 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js +50 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/StatusChip.es.js +37 -0
- package/dist/finstrong/components/StatusChip.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js +57 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js +57 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js +46 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js +28 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js +313 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js +25 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js +69 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js +38 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js.map +1 -0
- package/dist/finstrong/components/shared/Accounts.es.js +102 -0
- package/dist/finstrong/components/shared/Accounts.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js +49 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js +52 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js.map +1 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js +186 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js +196 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js.map +1 -0
- package/dist/finstrong/components/shared/LineGraph.es.js +136 -0
- package/dist/finstrong/components/shared/LineGraph.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +107 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js +40 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js.map +1 -0
- package/dist/finstrong/components/shared/TotalCard.es.js +30 -0
- package/dist/finstrong/components/shared/TotalCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/Transactions.es.js +129 -0
- package/dist/finstrong/components/shared/Transactions.es.js.map +1 -0
- package/dist/finstrong/constants/index.es.js +9 -0
- package/dist/finstrong/constants/index.es.js.map +1 -0
- package/dist/finstrong/index.es.js +8 -3912
- package/dist/finstrong/util/finstrongUtils.es.js +206 -0
- package/dist/finstrong/util/finstrongUtils.es.js.map +1 -0
- package/dist/goals/GoalsMicroWidget.es.js +44 -0
- package/dist/goals/GoalsMicroWidget.es.js.map +1 -0
- package/dist/goals/GoalsWidget.es.js +141 -0
- package/dist/goals/GoalsWidget.es.js.map +1 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js +54 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js.map +1 -0
- package/dist/goals/components/AddGoal.es.js +59 -0
- package/dist/goals/components/AddGoal.es.js.map +1 -0
- package/dist/goals/components/GoalDetails.es.js +115 -0
- package/dist/goals/components/GoalDetails.es.js.map +1 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js +83 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js.map +1 -0
- package/dist/goals/components/GoalList.es.js +135 -0
- package/dist/goals/components/GoalList.es.js.map +1 -0
- package/dist/goals/components/GoalStatusCard.es.js +95 -0
- package/dist/goals/components/GoalStatusCard.es.js.map +1 -0
- package/dist/goals/components/ManageGoals.es.js +89 -0
- package/dist/goals/components/ManageGoals.es.js.map +1 -0
- package/dist/goals/components/TabTitle.es.js +19 -0
- package/dist/goals/components/TabTitle.es.js.map +1 -0
- package/dist/goals/components/actions/AccountAction.es.js +28 -0
- package/dist/goals/components/actions/AccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js +56 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js +45 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js.map +1 -0
- package/dist/goals/components/actions/BirthdayAction.es.js +44 -0
- package/dist/goals/components/actions/BirthdayAction.es.js.map +1 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js +127 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/ContributionAction.es.js +49 -0
- package/dist/goals/components/actions/ContributionAction.es.js.map +1 -0
- package/dist/goals/components/actions/GoalNameAction.es.js +41 -0
- package/dist/goals/components/actions/GoalNameAction.es.js.map +1 -0
- package/dist/goals/components/actions/InterestRateAction.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js +47 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js +47 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js +42 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js.map +1 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js +72 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js +59 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js +83 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js.map +1 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js +64 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js.map +1 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js +35 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js.map +1 -0
- package/dist/goals/index.es.js +4 -1088
- package/dist/help/HelpWidget.es.js +25 -0
- package/dist/help/HelpWidget.es.js.map +1 -0
- package/dist/help/components/Help.es.js +48 -0
- package/dist/help/components/Help.es.js.map +1 -0
- package/dist/help/components/HelpContent.es.js +25 -0
- package/dist/help/components/HelpContent.es.js.map +1 -0
- package/dist/help/components/HelpList.es.js +142 -0
- package/dist/help/components/HelpList.es.js.map +1 -0
- package/dist/help/components/content/BottomImageContent.es.js +51 -0
- package/dist/help/components/content/BottomImageContent.es.js.map +1 -0
- package/dist/help/components/content/ContentItem.es.js +46 -0
- package/dist/help/components/content/ContentItem.es.js.map +1 -0
- package/dist/help/components/content/Header.es.js +83 -0
- package/dist/help/components/content/Header.es.js.map +1 -0
- package/dist/help/components/content/LeftImageContent.es.js +57 -0
- package/dist/help/components/content/LeftImageContent.es.js.map +1 -0
- package/dist/help/components/content/NoImageContent.es.js +15 -0
- package/dist/help/components/content/NoImageContent.es.js.map +1 -0
- package/dist/help/components/content/RightImageContent.es.js +55 -0
- package/dist/help/components/content/RightImageContent.es.js.map +1 -0
- package/dist/help/components/content/TopImageContent.es.js +51 -0
- package/dist/help/components/content/TopImageContent.es.js.map +1 -0
- package/dist/help/components/content/section/Accounts.es.js +159 -0
- package/dist/help/components/content/section/Accounts.es.js.map +1 -0
- package/dist/help/components/content/section/Budgets.es.js +66 -0
- package/dist/help/components/content/section/Budgets.es.js.map +1 -0
- package/dist/help/components/content/section/CashFlow.es.js +47 -0
- package/dist/help/components/content/section/CashFlow.es.js.map +1 -0
- package/dist/help/components/content/section/Debts.es.js +168 -0
- package/dist/help/components/content/section/Debts.es.js.map +1 -0
- package/dist/help/components/content/section/General.es.js +84 -0
- package/dist/help/components/content/section/General.es.js.map +1 -0
- package/dist/help/components/content/section/Goals.es.js +112 -0
- package/dist/help/components/content/section/Goals.es.js.map +1 -0
- package/dist/help/components/content/section/Insights.es.js +79 -0
- package/dist/help/components/content/section/Insights.es.js.map +1 -0
- package/dist/help/components/content/section/Investments.es.js +48 -0
- package/dist/help/components/content/section/Investments.es.js.map +1 -0
- package/dist/help/components/content/section/Mobile.es.js +48 -0
- package/dist/help/components/content/section/Mobile.es.js.map +1 -0
- package/dist/help/components/content/section/NetWorth.es.js +61 -0
- package/dist/help/components/content/section/NetWorth.es.js.map +1 -0
- package/dist/help/components/content/section/Notifications.es.js +53 -0
- package/dist/help/components/content/section/Notifications.es.js.map +1 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js +72 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js.map +1 -0
- package/dist/help/components/content/section/Spending.es.js +63 -0
- package/dist/help/components/content/section/Spending.es.js.map +1 -0
- package/dist/help/components/content/section/Transactions.es.js +209 -0
- package/dist/help/components/content/section/Transactions.es.js.map +1 -0
- package/dist/help/components/content/section/Trends.es.js +43 -0
- package/dist/help/components/content/section/Trends.es.js.map +1 -0
- package/dist/help/components/content/section/index.es.js +37 -0
- package/dist/help/components/content/section/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js +90 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js.map +1 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js +103 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js +52 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js +24 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js +40 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js +172 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js +46 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js +47 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js +68 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js +71 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js.map +1 -0
- package/dist/help/constants/HelpImages.es.js +49 -0
- package/dist/help/constants/HelpImages.es.js.map +1 -0
- package/dist/help/index.es.js +4 -26
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js +16 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js.map +1 -0
- package/dist/insights/components/feed/Header.es.js +75 -0
- package/dist/insights/components/feed/Header.es.js.map +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js +12 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js +22 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js +274 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js +56 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js +35 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js +41 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js +45 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js +6 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js +55 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js +46 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js +48 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js +66 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js.map +1 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +24 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js +120 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +143 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js +20 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js +29 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js +20 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js +55 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js +494 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js +88 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js.map +1 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js +44 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js +33 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js +29 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js +42 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js +27 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js +28 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js +33 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js +37 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js +35 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js +20 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js +83 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js +42 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js +40 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js.map +1 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js +19 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js +104 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js +37 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js +25 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js +36 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js +38 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js +86 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js +34 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +133 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js +59 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js +23 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js +51 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js.map +1 -0
- package/dist/insights/components/shared/BottomSheet.es.js +39 -0
- package/dist/insights/components/shared/BottomSheet.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js +66 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js +60 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js.map +1 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js +76 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js +147 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js +148 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js +75 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js +80 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +4 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js +32 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js +52 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js +46 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js +118 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js +116 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js +14 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Confetti.es.js +32 -0
- package/dist/insights/components/shared/Confetti.es.js.map +1 -0
- package/dist/insights/components/shared/ConnectionCard.es.js +90 -0
- package/dist/insights/components/shared/ConnectionCard.es.js.map +1 -0
- package/dist/insights/components/shared/Coupon.es.js +66 -0
- package/dist/insights/components/shared/Coupon.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js +34 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js +20 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +163 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js +19 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js +16 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js +85 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +20 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js +33 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js +43 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js.map +1 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js +82 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js +58 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js +264 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js +76 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js +57 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js +47 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js +16 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js +29 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js +50 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js +45 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js.map +1 -0
- package/dist/insights/components/shared/GoalProgress.es.js +42 -0
- package/dist/insights/components/shared/GoalProgress.es.js.map +1 -0
- package/dist/insights/components/shared/GradientBox.es.js +33 -0
- package/dist/insights/components/shared/GradientBox.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +32 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js +24 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js +28 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js +21 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js +38 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js +69 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js +120 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js +25 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js +44 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js +42 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js +728 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js.map +1 -0
- package/dist/insights/components/shared/MenuAction.es.js +68 -0
- package/dist/insights/components/shared/MenuAction.es.js.map +1 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js +69 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js.map +1 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js +107 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js.map +1 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js +75 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js.map +1 -0
- package/dist/insights/components/shared/ProgressBar.es.js +39 -0
- package/dist/insights/components/shared/ProgressBar.es.js.map +1 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js +55 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js +77 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js +12 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js.map +1 -0
- package/dist/insights/components/shared/StatusIndicator.es.js +69 -0
- package/dist/insights/components/shared/StatusIndicator.es.js.map +1 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js +49 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js.map +1 -0
- package/dist/insights/components/shared/TransactionCard.es.js +93 -0
- package/dist/insights/components/shared/TransactionCard.es.js.map +1 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js +23 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js +101 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js +38 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js.map +1 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js +101 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js +91 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js +21 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js +815 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js.map +1 -0
- package/dist/insights/hooks/useContainerDimensions.es.js +26 -0
- package/dist/insights/hooks/useContainerDimensions.es.js.map +1 -0
- package/dist/insights/images/Loading.es.js +6 -0
- package/dist/insights/images/Loading.es.js.map +1 -0
- package/dist/insights/index.es.js +183 -4871
- package/dist/insights/types/Charts/BarChart.d.ts +2 -11
- package/dist/insights/types/CommonBeat.es.js +8 -0
- package/dist/insights/types/CommonBeat.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget.es.js +98 -0
- package/dist/investments/InvestmentsWidget.es.js.map +1 -0
- package/dist/investments/components/Allocation.es.js +55 -0
- package/dist/investments/components/Allocation.es.js.map +1 -0
- package/dist/investments/components/Analysis.es.js +167 -0
- package/dist/investments/components/Analysis.es.js.map +1 -0
- package/dist/investments/components/AnalysisDetails.es.js +86 -0
- package/dist/investments/components/AnalysisDetails.es.js.map +1 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js +52 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js.map +1 -0
- package/dist/investments/components/HeaderCell.es.js +28 -0
- package/dist/investments/components/HeaderCell.es.js.map +1 -0
- package/dist/investments/components/HoldingDrawer.es.js +343 -0
- package/dist/investments/components/HoldingDrawer.es.js.map +1 -0
- package/dist/investments/components/HoldingTable.es.js +199 -0
- package/dist/investments/components/HoldingTable.es.js.map +1 -0
- package/dist/investments/components/InfoToolTip.es.js +45 -0
- package/dist/investments/components/InfoToolTip.es.js.map +1 -0
- package/dist/investments/components/Overview.es.js +456 -0
- package/dist/investments/components/Overview.es.js.map +1 -0
- package/dist/investments/components/TabTitle.es.js +12 -0
- package/dist/investments/components/TabTitle.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js +136 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js +86 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js.map +1 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js +103 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js.map +1 -0
- package/dist/investments/index.es.js +2 -1675
- package/dist/merchants/components/MerchantLookup.es.js +91 -0
- package/dist/merchants/components/MerchantLookup.es.js.map +1 -0
- package/dist/merchants/index.es.js +2 -76
- package/dist/microinsights/InsightsMicroWidget.es.js +109 -0
- package/dist/microinsights/InsightsMicroWidget.es.js.map +1 -0
- package/dist/microinsights/MicroCardTemplate.es.js +159 -0
- package/dist/microinsights/MicroCardTemplate.es.js.map +1 -0
- package/dist/microinsights/MicroWidgetContainer.es.js +24 -0
- package/dist/microinsights/MicroWidgetContainer.es.js.map +1 -0
- package/dist/microinsights/Spinner.es.js +19 -0
- package/dist/microinsights/Spinner.es.js.map +1 -0
- package/dist/microinsights/analytics.es.js +12 -0
- package/dist/microinsights/analytics.es.js.map +1 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js +18 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js +23 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js +16 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js +162 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js +25 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js +20 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js.map +1 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js +21 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js +12 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js +17 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js +722 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js.map +1 -0
- package/dist/microinsights/cards/InsightCard.es.js +71 -0
- package/dist/microinsights/cards/InsightCard.es.js.map +1 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js +38 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js.map +1 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js +43 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js.map +1 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js +32 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js.map +1 -0
- package/dist/microinsights/carousel/BeatList.es.js +37 -0
- package/dist/microinsights/carousel/BeatList.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselControls.es.js +63 -0
- package/dist/microinsights/carousel/CarouselControls.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js +39 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js.map +1 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js +147 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js.map +1 -0
- package/dist/microinsights/constants/Analytics.es.js +148 -0
- package/dist/microinsights/constants/Analytics.es.js.map +1 -0
- package/dist/microinsights/constants/App.es.js +11 -0
- package/dist/microinsights/constants/App.es.js.map +1 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js +17 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js.map +1 -0
- package/dist/microinsights/context/hooks.es.js +27 -0
- package/dist/microinsights/context/hooks.es.js.map +1 -0
- package/dist/microinsights/index.es.js +28 -826
- package/dist/microinsights/stores/AppStore.es.js +27 -0
- package/dist/microinsights/stores/AppStore.es.js.map +1 -0
- package/dist/microinsights/stores/CopyStore.es.js +34 -0
- package/dist/microinsights/stores/CopyStore.es.js.map +1 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js +33 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js.map +1 -0
- package/dist/microinsights/utils/DataSeries.es.js +11 -0
- package/dist/microinsights/utils/DataSeries.es.js.map +1 -0
- package/dist/microinsights/utils/colorType.es.js +13 -0
- package/dist/microinsights/utils/colorType.es.js.map +1 -0
- package/dist/networth/NetWorthMicroWidget.es.js +40 -0
- package/dist/networth/NetWorthMicroWidget.es.js.map +1 -0
- package/dist/networth/NetWorthWidget.es.js +78 -0
- package/dist/networth/NetWorthWidget.es.js.map +1 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +158 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js.map +1 -0
- package/dist/networth/components/GainsLossesDetail.es.js +137 -0
- package/dist/networth/components/GainsLossesDetail.es.js.map +1 -0
- package/dist/networth/components/NetWorthChange.es.js +34 -0
- package/dist/networth/components/NetWorthChange.es.js.map +1 -0
- package/dist/networth/components/NetWorthChart.es.js +58 -0
- package/dist/networth/components/NetWorthChart.es.js.map +1 -0
- package/dist/networth/components/NetWorthList.es.js +99 -0
- package/dist/networth/components/NetWorthList.es.js.map +1 -0
- package/dist/networth/components/NetWorthListItem.es.js +50 -0
- package/dist/networth/components/NetWorthListItem.es.js.map +1 -0
- package/dist/networth/components/NetWorthSummary.es.js +38 -0
- package/dist/networth/components/NetWorthSummary.es.js.map +1 -0
- package/dist/networth/components/micro/NetworthData.es.js +49 -0
- package/dist/networth/components/micro/NetworthData.es.js.map +1 -0
- package/dist/networth/components/micro/ZeroState.es.js +31 -0
- package/dist/networth/components/micro/ZeroState.es.js.map +1 -0
- package/dist/networth/index.es.js +4 -565
- package/dist/notifications/components/DateRow.es.js +23 -0
- package/dist/notifications/components/DateRow.es.js.map +1 -0
- package/dist/notifications/components/NotificationBadge.es.js +33 -0
- package/dist/notifications/components/NotificationBadge.es.js.map +1 -0
- package/dist/notifications/components/NotificationCard.es.js +56 -0
- package/dist/notifications/components/NotificationCard.es.js.map +1 -0
- package/dist/notifications/components/NotificationDrawer.es.js +47 -0
- package/dist/notifications/components/NotificationDrawer.es.js.map +1 -0
- package/dist/notifications/components/NotificationList.es.js +42 -0
- package/dist/notifications/components/NotificationList.es.js.map +1 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js +49 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js.map +1 -0
- package/dist/notifications/constants/NotificationConstants.es.js +24 -0
- package/dist/notifications/constants/NotificationConstants.es.js.map +1 -0
- package/dist/notifications/index.es.js +6 -198
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js +54 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js +47 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js +89 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js.map +1 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js +30 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js +103 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js +45 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js +133 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js +64 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js +87 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +133 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js +20 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js +114 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js +27 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js +155 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js.map +1 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js +63 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js +46 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +47 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js +19 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js +33 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js +37 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js +111 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js +37 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +93 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js +42 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js +57 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +72 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +96 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js +47 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js +45 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/index.es.js +18 -1022
- package/dist/settings/NotificationSettingsWidget.es.js +32 -0
- package/dist/settings/NotificationSettingsWidget.es.js.map +1 -0
- package/dist/settings/SettingsWidget.es.js +82 -0
- package/dist/settings/SettingsWidget.es.js.map +1 -0
- package/dist/settings/TransactionRulesWidget.es.js +28 -0
- package/dist/settings/TransactionRulesWidget.es.js.map +1 -0
- package/dist/settings/components/SettingsWidgetContents.es.js +47 -0
- package/dist/settings/components/SettingsWidgetContents.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceDialog.es.js +127 -0
- package/dist/settings/components/devices/DeviceDialog.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceList.es.js +125 -0
- package/dist/settings/components/devices/DeviceList.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTab.es.js +107 -0
- package/dist/settings/components/devices/DeviceTab.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTable.es.js +120 -0
- package/dist/settings/components/devices/DeviceTable.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js +92 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js +44 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js +84 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js.map +1 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js +78 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js.map +1 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js +80 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js +94 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js.map +1 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js +111 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js.map +1 -0
- package/dist/settings/components/profile/ProfileTab.es.js +178 -0
- package/dist/settings/components/profile/ProfileTab.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js +88 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js +105 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js +40 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js +35 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js +31 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js +45 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js +36 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js +46 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js +26 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js.map +1 -0
- package/dist/settings/constants/Settings.es.js +8 -0
- package/dist/settings/constants/Settings.es.js.map +1 -0
- package/dist/settings/index.es.js +23 -892
- package/dist/spending/SpendingMiniWidget.es.js +41 -0
- package/dist/spending/SpendingMiniWidget.es.js.map +1 -0
- package/dist/spending/SpendingWidget.es.js +51 -0
- package/dist/spending/SpendingWidget.es.js.map +1 -0
- package/dist/spending/components/MiniSpendingChart.es.js +112 -0
- package/dist/spending/components/MiniSpendingChart.es.js.map +1 -0
- package/dist/spending/components/Spending.es.js +123 -0
- package/dist/spending/components/Spending.es.js.map +1 -0
- package/dist/spending/components/SpendingChart.es.js +60 -0
- package/dist/spending/components/SpendingChart.es.js.map +1 -0
- package/dist/spending/components/SpendingDonut.es.js +132 -0
- package/dist/spending/components/SpendingDonut.es.js.map +1 -0
- package/dist/spending/components/SpendingLegend.es.js +46 -0
- package/dist/spending/components/SpendingLegend.es.js.map +1 -0
- package/dist/spending/components/SpendingList.es.js +124 -0
- package/dist/spending/components/SpendingList.es.js.map +1 -0
- package/dist/spending/components/SpendingTabLabel.es.js +22 -0
- package/dist/spending/components/SpendingTabLabel.es.js.map +1 -0
- package/dist/spending/index.es.js +4 -491
- package/dist/spending/utils/SpendingData.es.js +72 -0
- package/dist/spending/utils/SpendingData.es.js.map +1 -0
- package/dist/transactions/TransactionWidget.es.js +189 -0
- package/dist/transactions/TransactionWidget.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js +255 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList.es.js +92 -0
- package/dist/transactions/components/shared/TransactionList.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable.es.js +124 -0
- package/dist/transactions/components/shared/TransactionTable.es.js.map +1 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js +25 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js +85 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js +49 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js +151 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js +39 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js +82 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +161 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +105 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +103 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +66 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +77 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +90 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +101 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +150 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +94 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +92 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js +39 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js +30 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js +38 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js +14 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js +46 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js +28 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js +68 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js +119 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/Header.es.js +68 -0
- package/dist/transactions/components/tagmanager/Header.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js +48 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js +36 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js +108 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js +33 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js +44 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js +26 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js.map +1 -0
- package/dist/transactions/constants/Actions.es.js +22 -0
- package/dist/transactions/constants/Actions.es.js.map +1 -0
- package/dist/transactions/constants/OnClickEvents.es.js +50 -0
- package/dist/transactions/constants/OnClickEvents.es.js.map +1 -0
- package/dist/transactions/context/hooks.es.js +12 -0
- package/dist/transactions/context/hooks.es.js.map +1 -0
- package/dist/transactions/index.es.js +17 -604
- package/dist/transactions/utils/Filters.es.js +11 -0
- package/dist/transactions/utils/Filters.es.js.map +1 -0
- package/dist/transactions/utils/Transactions.es.js +24 -0
- package/dist/transactions/utils/Transactions.es.js.map +1 -0
- package/dist/trends/TrendsFullWidget.es.js +154 -0
- package/dist/trends/TrendsFullWidget.es.js.map +1 -0
- package/dist/trends/TrendsMicroWidget.es.js +72 -0
- package/dist/trends/TrendsMicroWidget.es.js.map +1 -0
- package/dist/trends/TrendsMiniWidget.es.js +43 -0
- package/dist/trends/TrendsMiniWidget.es.js.map +1 -0
- package/dist/trends/TrendsWidget.es.js +207 -0
- package/dist/trends/TrendsWidget.es.js.map +1 -0
- package/dist/trends/ZeroStateMicroWidget.es.js +30 -0
- package/dist/trends/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/trends/components/CategoriesList.es.js +64 -0
- package/dist/trends/components/CategoriesList.es.js.map +1 -0
- package/dist/trends/components/CategoriesListItem.es.js +44 -0
- package/dist/trends/components/CategoriesListItem.es.js.map +1 -0
- package/dist/trends/components/CategoryDetailChart.es.js +45 -0
- package/dist/trends/components/CategoryDetailChart.es.js.map +1 -0
- package/dist/trends/components/CategoryDetails.es.js +104 -0
- package/dist/trends/components/CategoryDetails.es.js.map +1 -0
- package/dist/trends/components/DateRangeText.es.js +26 -0
- package/dist/trends/components/DateRangeText.es.js.map +1 -0
- package/dist/trends/components/SpendingChart.es.js +28 -0
- package/dist/trends/components/SpendingChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChart.es.js +63 -0
- package/dist/trends/components/TrendsChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChartTotals.es.js +58 -0
- package/dist/trends/components/TrendsChartTotals.es.js.map +1 -0
- package/dist/trends/components/TrendsDrawer.es.js +38 -0
- package/dist/trends/components/TrendsDrawer.es.js.map +1 -0
- package/dist/trends/components/TrendsInsights.es.js +38 -0
- package/dist/trends/components/TrendsInsights.es.js.map +1 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js +82 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js.map +1 -0
- package/dist/trends/components/TrendsTableContainer.es.js +56 -0
- package/dist/trends/components/TrendsTableContainer.es.js.map +1 -0
- package/dist/trends/components/TrendsViewToggle.es.js +28 -0
- package/dist/trends/components/TrendsViewToggle.es.js.map +1 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js +49 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js.map +1 -0
- package/dist/trends/components/trendstable/AmountCell.es.js +24 -0
- package/dist/trends/components/trendstable/AmountCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js +30 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js +12 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js +53 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js.map +1 -0
- package/dist/trends/constants/TrendsInsights.es.js +40 -0
- package/dist/trends/constants/TrendsInsights.es.js.map +1 -0
- package/dist/trends/constants/TrendsWidget.es.js +6 -0
- package/dist/trends/constants/TrendsWidget.es.js.map +1 -0
- package/dist/trends/index.es.js +8 -1612
- package/dist/trends/utils/SpendingData.es.js +53 -0
- package/dist/trends/utils/SpendingData.es.js.map +1 -0
- package/dist/trends/utils/TrendsTable.es.js +101 -0
- package/dist/trends/utils/TrendsTable.es.js.map +1 -0
- package/dist/trends/utils/TrendsWidget.es.js +11 -0
- package/dist/trends/utils/TrendsWidget.es.js.map +1 -0
- package/dist/trends/utils/shared.es.js +18 -0
- package/dist/trends/utils/shared.es.js.map +1 -0
- package/package.json +34 -39
- package/dist/Account-DR7Plrqy.mjs +0 -119
- package/dist/Account-DR7Plrqy.mjs.map +0 -1
- package/dist/AccountDetailsDrawer-BcwBkxIE.mjs +0 -922
- package/dist/AccountDetailsDrawer-BcwBkxIE.mjs.map +0 -1
- package/dist/AccountDetailsHeader-C84CSN2K.mjs +0 -230
- package/dist/AccountDetailsHeader-C84CSN2K.mjs.map +0 -1
- package/dist/AccountUtils-Cbh8r9cP.mjs +0 -29
- package/dist/AccountUtils-Cbh8r9cP.mjs.map +0 -1
- package/dist/Analytics-B8AaC22u.mjs +0 -54
- package/dist/Analytics-B8AaC22u.mjs.map +0 -1
- package/dist/Analytics-D-jdcL72.mjs +0 -140
- package/dist/Analytics-D-jdcL72.mjs.map +0 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +0 -50
- package/dist/ApiEndpoints-DXwIYNUV.mjs.map +0 -1
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -27
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +0 -1
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +0 -75
- package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +0 -1
- package/dist/Category-DEKZGLYe.mjs +0 -302
- package/dist/Category-DEKZGLYe.mjs.map +0 -1
- package/dist/CategorySelectorDrawer-BIsncOhX.mjs +0 -431
- package/dist/CategorySelectorDrawer-BIsncOhX.mjs.map +0 -1
- package/dist/Connect-BH0Pt6zc.mjs +0 -43
- package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
- package/dist/ConnectCard-BdxyIUkW.mjs +0 -55
- package/dist/ConnectCard-BdxyIUkW.mjs.map +0 -1
- package/dist/ConnectDrawer-CYP3sd5f.mjs +0 -58
- package/dist/ConnectDrawer-CYP3sd5f.mjs.map +0 -1
- package/dist/ConnectionsDrawer-Pjc0E6uI.mjs +0 -54
- package/dist/ConnectionsDrawer-Pjc0E6uI.mjs.map +0 -1
- package/dist/CurrencyDialog-DumQCTPO.mjs +0 -374
- package/dist/CurrencyDialog-DumQCTPO.mjs.map +0 -1
- package/dist/CurrencyInput-DaGEQaLW.mjs +0 -88
- package/dist/CurrencyInput-DaGEQaLW.mjs.map +0 -1
- package/dist/CurrencyText-CCbE6MmF.mjs +0 -21
- package/dist/CurrencyText-CCbE6MmF.mjs.map +0 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +0 -65
- package/dist/DateFormats-HudZ3Bjs.mjs.map +0 -1
- package/dist/DateUtil-Bl7d7C1W.mjs +0 -76
- package/dist/DateUtil-Bl7d7C1W.mjs.map +0 -1
- package/dist/DebtUtils-i4pI2Uoe.mjs +0 -154
- package/dist/DebtUtils-i4pI2Uoe.mjs.map +0 -1
- package/dist/Dialog-Bvd2n8hz.mjs +0 -67
- package/dist/Dialog-Bvd2n8hz.mjs.map +0 -1
- package/dist/Donut-SzzfZDHF.mjs +0 -89
- package/dist/Donut-SzzfZDHF.mjs.map +0 -1
- package/dist/Drawer-DLUMdk6P.mjs +0 -201
- package/dist/Drawer-DLUMdk6P.mjs.map +0 -1
- package/dist/EmbeddedCard-DCR-ziFE.mjs +0 -860
- package/dist/EmbeddedCard-DCR-ziFE.mjs.map +0 -1
- package/dist/EmptyState-CJUDc3kD.mjs +0 -85
- package/dist/EmptyState-CJUDc3kD.mjs.map +0 -1
- package/dist/Error-Dtw6yxkf.mjs +0 -85
- package/dist/Error-Dtw6yxkf.mjs.map +0 -1
- package/dist/ErrorBoundary-C7BlHx04.mjs +0 -27
- package/dist/ErrorBoundary-C7BlHx04.mjs.map +0 -1
- package/dist/ExportCsvAction-C2Y4D7Kn.mjs +0 -25
- package/dist/ExportCsvAction-C2Y4D7Kn.mjs.map +0 -1
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +0 -230
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +0 -1
- package/dist/GlobalCopyApi-CLhyon-B.mjs +0 -145
- package/dist/GlobalCopyApi-CLhyon-B.mjs.map +0 -1
- package/dist/GoalsUtil-C9EnLWvC.mjs +0 -108
- package/dist/GoalsUtil-C9EnLWvC.mjs.map +0 -1
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -7
- package/dist/HeaderCell-P8w6CmfO.mjs.map +0 -1
- package/dist/Help-CTmDMtG2.mjs +0 -3210
- package/dist/Help-CTmDMtG2.mjs.map +0 -1
- package/dist/Help-CkQTjORd.mjs +0 -300
- package/dist/Help-CkQTjORd.mjs.map +0 -1
- package/dist/IconBacking-DgT8DCeh.mjs +0 -40
- package/dist/IconBacking-DgT8DCeh.mjs.map +0 -1
- package/dist/InformationTooltip-4su8bn1e.mjs +0 -42
- package/dist/InformationTooltip-4su8bn1e.mjs.map +0 -1
- package/dist/InvestmentUtil-BItV7uEs.mjs +0 -135
- package/dist/InvestmentUtil-BItV7uEs.mjs.map +0 -1
- package/dist/LineChart-CUfiH86G.mjs +0 -613
- package/dist/LineChart-CUfiH86G.mjs.map +0 -1
- package/dist/ListItemAction-BqUCLj_w.mjs +0 -70
- package/dist/ListItemAction-BqUCLj_w.mjs.map +0 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +0 -68
- package/dist/ListItemRow-kH1rn8Xu.mjs.map +0 -1
- package/dist/ListItemWrapper-DRse79Iu.mjs +0 -44
- package/dist/ListItemWrapper-DRse79Iu.mjs.map +0 -1
- package/dist/Loader-CxeBwuPG.mjs +0 -22
- package/dist/Loader-CxeBwuPG.mjs.map +0 -1
- package/dist/Localization-DnoVyBNK.mjs +0 -39
- package/dist/Localization-DnoVyBNK.mjs.map +0 -1
- package/dist/ManageIncome-CRSMKFWt.mjs +0 -906
- package/dist/ManageIncome-CRSMKFWt.mjs.map +0 -1
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs +0 -46
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +0 -1
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +0 -67
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +0 -1
- package/dist/NetWorthUtils-Dj7CgAg2.mjs +0 -96
- package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +0 -1
- package/dist/Notification-DTNYSd8P.mjs +0 -8
- package/dist/Notification-DTNYSd8P.mjs.map +0 -1
- package/dist/NotificationSettings-BXpzPNjH.mjs +0 -678
- package/dist/NotificationSettings-BXpzPNjH.mjs.map +0 -1
- package/dist/NotificationUtils-BRGFTePr.mjs +0 -24
- package/dist/NotificationUtils-BRGFTePr.mjs.map +0 -1
- package/dist/NumberFormatting--XMeeBfr.mjs +0 -50
- package/dist/NumberFormatting--XMeeBfr.mjs.map +0 -1
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs +0 -115
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +0 -1
- package/dist/RecurringSettings-7zGNq-fh.mjs +0 -89
- package/dist/RecurringSettings-7zGNq-fh.mjs.map +0 -1
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs +0 -299
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs.map +0 -1
- package/dist/ResponsiveButton-CC9F_Ezk.mjs +0 -46
- package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +0 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +0 -51
- package/dist/SearchBox-Cpgu_gdO.mjs.map +0 -1
- package/dist/Select-CSpkK5cR.mjs +0 -62
- package/dist/Select-CSpkK5cR.mjs.map +0 -1
- package/dist/SelectionBox-B4xELRgp.mjs +0 -49
- package/dist/SelectionBox-B4xELRgp.mjs.map +0 -1
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs +0 -70
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +0 -1
- package/dist/Sizes-DISGrlUg.mjs +0 -7
- package/dist/Sizes-DISGrlUg.mjs.map +0 -1
- package/dist/SkeletonLoader-BaNboJjD.mjs +0 -39
- package/dist/SkeletonLoader-BaNboJjD.mjs.map +0 -1
- package/dist/SpendingData-Fii_xATx.mjs +0 -54
- package/dist/SpendingData-Fii_xATx.mjs.map +0 -1
- package/dist/SpendingLegend-CxvNOg3c.mjs +0 -204
- package/dist/SpendingLegend-CxvNOg3c.mjs.map +0 -1
- package/dist/StatusBar-CPfSXe80.mjs +0 -31
- package/dist/StatusBar-CPfSXe80.mjs.map +0 -1
- package/dist/TabContentContainer-B0eYJP5p.mjs +0 -49
- package/dist/TabContentContainer-B0eYJP5p.mjs.map +0 -1
- package/dist/ToggleListItem-Dl1lXNwj.mjs +0 -92
- package/dist/ToggleListItem-Dl1lXNwj.mjs.map +0 -1
- package/dist/TransactionDetails-C5JAB8SL.mjs +0 -1710
- package/dist/TransactionDetails-C5JAB8SL.mjs.map +0 -1
- package/dist/TransactionUtils-BphBJBbU.mjs +0 -235
- package/dist/TransactionUtils-BphBJBbU.mjs.map +0 -1
- package/dist/TrendsUtil-D9z3kIj_.mjs +0 -70
- package/dist/TrendsUtil-D9z3kIj_.mjs.map +0 -1
- package/dist/UserStore-Cp-2Jtnw.mjs +0 -3210
- package/dist/UserStore-Cp-2Jtnw.mjs.map +0 -1
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs +0 -1280
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs.map +0 -1
- package/dist/WidgetContainer-DKRs7nIV.mjs +0 -487
- package/dist/WidgetContainer-DKRs7nIV.mjs.map +0 -1
- package/dist/accounts/components/ConnectStatus.d.ts +0 -7
- package/dist/accounts/index.es.js.map +0 -1
- package/dist/analytics/index.es.js.map +0 -1
- package/dist/budgets/index.es.js.map +0 -1
- package/dist/cashflow/index.es.js.map +0 -1
- package/dist/categories/index.es.js.map +0 -1
- package/dist/common/index.es.js.map +0 -1
- package/dist/core/index.es.js.map +0 -1
- package/dist/dashboard/index.es.js.map +0 -1
- package/dist/debts/index.es.js.map +0 -1
- package/dist/finstrong/index.es.js.map +0 -1
- package/dist/goals/index.es.js.map +0 -1
- package/dist/help/index.es.js.map +0 -1
- package/dist/hooks-97sNJ_lf.mjs +0 -78
- package/dist/hooks-97sNJ_lf.mjs.map +0 -1
- package/dist/insights/index.es.js.map +0 -1
- package/dist/investments/index.es.js.map +0 -1
- package/dist/merchants/index.es.js.map +0 -1
- package/dist/microinsights/index.es.js.map +0 -1
- package/dist/networth/index.es.js.map +0 -1
- package/dist/notifications/index.es.js.map +0 -1
- package/dist/recurringtransactions/index.es.js.map +0 -1
- package/dist/settings/index.es.js.map +0 -1
- package/dist/spending/index.es.js.map +0 -1
- package/dist/transactions/index.es.js.map +0 -1
- package/dist/trends/index.es.js.map +0 -1
- package/dist/useAccountDisplayName-BsiXA0qf.mjs +0 -24
- package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +0 -1
- package/dist/useAriaLive-MkYebyUR.mjs +0 -36
- package/dist/useAriaLive-MkYebyUR.mjs.map +0 -1
- package/dist/useDimensions-CeDR9V8N.mjs +0 -37
- package/dist/useDimensions-CeDR9V8N.mjs.map +0 -1
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +0 -12
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +0 -1
- package/dist/useScreenSize-mWpmnh5w.mjs +0 -37
- package/dist/useScreenSize-mWpmnh5w.mjs.map +0 -1
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +0 -20
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +0 -1
|
@@ -1,3914 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import { PieChart as pn } from "@mui/x-charts/PieChart";
|
|
6
|
-
import { Text as D, P as A, H3 as j, InstitutionLogo as yt, H2 as Ge, MerchantLogo as un, Icon as _n } from "@mxenabled/mxui";
|
|
7
|
-
import { ChevronRight as J, Check as mn, TrendingUp as hn, ArrowRightAlt as gn, TrendingDown as yn, AccountBalance as ft, CheckCircle as fn, Cancel as bn, CreditCard as bt, Savings as xn, ContentCopy as Cn, MultilineChart as Sn, Add as xt, Cardiology as vn, Payments as wn, CalendarMonth as kn, ExpandMore as Mn } from "@mxenabled/mx-icons";
|
|
8
|
-
import { addDays as Dn } from "date-fns/addDays";
|
|
9
|
-
import { addMonths as In } from "date-fns/addMonths";
|
|
10
|
-
import { addYears as An } from "date-fns/addYears";
|
|
11
|
-
import { differenceInDays as Tn } from "date-fns/differenceInDays";
|
|
12
|
-
import { differenceInMonths as On } from "date-fns/differenceInMonths";
|
|
13
|
-
import { differenceInWeeks as it } from "date-fns/differenceInWeeks";
|
|
14
|
-
import { format as Ct } from "date-fns/format";
|
|
15
|
-
import { startOfToday as Ve } from "date-fns/startOfToday";
|
|
16
|
-
import m, { useState as Rn, useRef as Fn, useCallback as st, useEffect as ct } from "react";
|
|
17
|
-
import Ln from "@mui/material/Avatar";
|
|
18
|
-
import ae from "@mui/material/Divider";
|
|
19
|
-
import Le from "@mui/material/List";
|
|
20
|
-
import _e from "@mui/material/ListItem";
|
|
21
|
-
import Ye from "@mui/material/ListItemAvatar";
|
|
22
|
-
import St from "@mui/material/ListItemButton";
|
|
23
|
-
import me from "@mui/material/ListItemText";
|
|
24
|
-
import { f as B } from "../NumberFormatting--XMeeBfr.mjs";
|
|
25
|
-
import { b as z } from "../Localization-DnoVyBNK.mjs";
|
|
26
|
-
import { f as Xe, D as Ue } from "../DateFormats-HudZ3Bjs.mjs";
|
|
27
|
-
import * as lt from "d3";
|
|
28
|
-
import { observer as w } from "mobx-react-lite";
|
|
29
|
-
import { u as S, a as ne, i as qe, C as oe, s as L, D as Pn, c as ke, l as Qe, e as Bn, h as Ze, g as En, o as Gn } from "../hooks-97sNJ_lf.mjs";
|
|
30
|
-
import { L as ee } from "../Loader-CxeBwuPG.mjs";
|
|
31
|
-
import E from "@mui/material/Button";
|
|
32
|
-
import Y from "@mui/material/Card";
|
|
33
|
-
import { L as Je } from "../LineChart-CUfiH86G.mjs";
|
|
34
|
-
import { C as vt } from "../ConnectionsDrawer-Pjc0E6uI.mjs";
|
|
35
|
-
import { C as se } from "../ConnectDrawer-CYP3sd5f.mjs";
|
|
36
|
-
import he from "@mui/material/Tab";
|
|
37
|
-
import et from "@mui/material/Tabs";
|
|
38
|
-
import Pe from "@mui/material/TextField";
|
|
39
|
-
import { u as tt } from "../useScreenSize-mWpmnh5w.mjs";
|
|
40
|
-
import { D as Wn } from "../Dialog-Bvd2n8hz.mjs";
|
|
41
|
-
import { u as wt } from "../useDimensions-CeDR9V8N.mjs";
|
|
42
|
-
import { E as Be } from "../EmptyState-CJUDc3kD.mjs";
|
|
43
|
-
import $n from "@mui/material/Chip";
|
|
44
|
-
import { D as ie } from "../Drawer-DLUMdk6P.mjs";
|
|
45
|
-
import { g as kt } from "../useAccountDisplayName-BsiXA0qf.mjs";
|
|
46
|
-
import { a as Mt } from "../AccountDetailsHeader-C84CSN2K.mjs";
|
|
47
|
-
import Nn from "@mui/material/ListSubheader";
|
|
48
|
-
import { S as dt } from "../Select-CSpkK5cR.mjs";
|
|
49
|
-
import { c as je } from "../Account-DR7Plrqy.mjs";
|
|
50
|
-
import { S as zn } from "../StatusBar-CPfSXe80.mjs";
|
|
51
|
-
import { k as Dt } from "../DateUtil-Bl7d7C1W.mjs";
|
|
52
|
-
import { T as Hn, s as Kn, h as Vn, S as jn, a as Yn } from "../EmbeddedCard-DCR-ziFE.mjs";
|
|
53
|
-
import { T as ge } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
54
|
-
import Xn from "@mui/material/useMediaQuery";
|
|
55
|
-
import { BarPlot as Un } from "@mui/x-charts/BarChart";
|
|
56
|
-
import { ChartContainer as qn } from "@mui/x-charts/ChartContainer";
|
|
57
|
-
import { ChartsXAxis as Qn } from "@mui/x-charts/ChartsXAxis";
|
|
58
|
-
import { ChartsYAxis as Zn } from "@mui/x-charts/ChartsYAxis";
|
|
59
|
-
import { startOfMonth as It } from "date-fns/startOfMonth";
|
|
60
|
-
import { endOfMonth as At } from "date-fns/endOfMonth";
|
|
61
|
-
import { g as Jn, S as eo, b as to } from "../SpendingLegend-CxvNOg3c.mjs";
|
|
62
|
-
import { formatISO as no } from "date-fns/formatISO";
|
|
63
|
-
import { fromUnixTime as oo } from "date-fns/fromUnixTime";
|
|
64
|
-
import { subDays as ro } from "date-fns/subDays";
|
|
65
|
-
import { c as ao, b as pt, S as io, i as so } from "../ManageIncome-CRSMKFWt.mjs";
|
|
66
|
-
import { F as Tt, d as co, R as Ot } from "../RecurringTransactionsUtil-CfWviBh1.mjs";
|
|
67
|
-
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as uo } from "@mui/x-date-pickers";
|
|
68
|
-
import { AdapterDateFns as Rt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
69
|
-
import { R as _o } from "../RecurringSettings-7zGNq-fh.mjs";
|
|
70
|
-
import { LocalizationProvider as mo } from "@mui/x-date-pickers/LocalizationProvider";
|
|
71
|
-
import ho from "@mui/lab/Timeline";
|
|
72
|
-
import go, { timelineItemClasses as yo } from "@mui/lab/TimelineItem";
|
|
73
|
-
import fo from "@mui/lab/TimelineConnector";
|
|
74
|
-
import bo from "@mui/lab/TimelineContent";
|
|
75
|
-
import xo from "@mui/lab/TimelineDot";
|
|
76
|
-
import Co from "@mui/lab/TimelineSeparator";
|
|
77
|
-
import So from "@mui/material/Accordion";
|
|
78
|
-
import vo from "@mui/material/AccordionDetails";
|
|
79
|
-
import wo from "@mui/material/AccordionSummary";
|
|
80
|
-
import { u as ko } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
81
|
-
import { W as Mo } from "../WidgetContainer-DKRs7nIV.mjs";
|
|
82
|
-
const Ae = {
|
|
83
|
-
creditScore: {
|
|
84
|
-
poor: 600,
|
|
85
|
-
good: 720
|
|
86
|
-
},
|
|
87
|
-
daysOfCashOnHand: {
|
|
88
|
-
poor: 30,
|
|
89
|
-
good: 90
|
|
90
|
-
},
|
|
91
|
-
debtToIncomeRatio: {
|
|
92
|
-
poor: 40,
|
|
93
|
-
good: 30
|
|
94
|
-
},
|
|
95
|
-
emergencySavings: {
|
|
96
|
-
poor: 750,
|
|
97
|
-
good: 1e3
|
|
98
|
-
},
|
|
99
|
-
spendToIncomeRatio: {
|
|
100
|
-
poor: 110,
|
|
101
|
-
good: 100
|
|
102
|
-
}
|
|
103
|
-
}, De = {
|
|
104
|
-
GOOD: "GOOD",
|
|
105
|
-
FAIR: "FAIR",
|
|
106
|
-
OFF_TRACK: "OFF TRACK",
|
|
107
|
-
MISSING: "MISSING DATA"
|
|
108
|
-
};
|
|
109
|
-
var q = /* @__PURE__ */ ((t) => (t.Connections = "connections", t.CreditScore = "credit_score", t.DateOfBirth = "date_of_birth", t.MonthlyIncome = "monthly_income", t))(q || {});
|
|
110
|
-
const Do = ({ list: t, onClickItem: n }) => /* @__PURE__ */ e(M, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
111
|
-
Le,
|
|
112
|
-
{
|
|
113
|
-
sx: {
|
|
114
|
-
"& .MuiListItemSecondaryAction-root": {
|
|
115
|
-
color: "text.primary",
|
|
116
|
-
pr: 24
|
|
117
|
-
}
|
|
118
|
-
},
|
|
119
|
-
children: t.map((o, r) => /* @__PURE__ */ s(m.Fragment, { children: [
|
|
120
|
-
/* @__PURE__ */ e(_e, { secondaryAction: /* @__PURE__ */ e(J, {}), children: /* @__PURE__ */ s(St, { onClick: () => n(o.key), children: [
|
|
121
|
-
/* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(
|
|
122
|
-
Ln,
|
|
123
|
-
{
|
|
124
|
-
sx: {
|
|
125
|
-
bgcolor: "primary.main",
|
|
126
|
-
...!o.isComplete && {
|
|
127
|
-
bgcolor: "transparent",
|
|
128
|
-
borderColor: "action.active",
|
|
129
|
-
borderStyle: "solid",
|
|
130
|
-
borderWidth: 1,
|
|
131
|
-
color: "action.active"
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
children: o.icon
|
|
135
|
-
}
|
|
136
|
-
) }),
|
|
137
|
-
/* @__PURE__ */ e(
|
|
138
|
-
me,
|
|
139
|
-
{
|
|
140
|
-
primary: /* @__PURE__ */ e(D, { sx: { color: "text.secondary" }, variant: "caption", children: o.primaryText }),
|
|
141
|
-
secondary: /* @__PURE__ */ e(D, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: o.secondaryText })
|
|
142
|
-
}
|
|
143
|
-
)
|
|
144
|
-
] }) }),
|
|
145
|
-
/* @__PURE__ */ e(ae, { sx: { color: "divider", ml: r === t.length - 1 ? 0 : 68 } })
|
|
146
|
-
] }, o.key))
|
|
147
|
-
}
|
|
148
|
-
) }), ut = (t) => t * (180 / Math.PI), nt = (t, n) => [
|
|
149
|
-
{
|
|
150
|
-
description: n.vulnerable_description,
|
|
151
|
-
max: 25,
|
|
152
|
-
scoreContent: n.accordion_details_text.vulnerable,
|
|
153
|
-
status: n.vulnerable
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
description: n.building_description,
|
|
157
|
-
max: 50,
|
|
158
|
-
scoreContent: n.accordion_details_text.building,
|
|
159
|
-
status: n.building
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
description: n.stable_description,
|
|
163
|
-
max: 75,
|
|
164
|
-
scoreContent: n.accordion_details_text.stable,
|
|
165
|
-
status: n.stable
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
description: n.strong_description,
|
|
169
|
-
max: 100,
|
|
170
|
-
scoreContent: n.accordion_details_text.strong,
|
|
171
|
-
status: n.strong
|
|
172
|
-
}
|
|
173
|
-
].find((i) => t > 0 && t <= i.max) || { status: n.insufficient_data, description: "", scoreContent: "" }, Q = {
|
|
174
|
-
POOR: "#8C0E0E",
|
|
175
|
-
FAIR: "#E32727",
|
|
176
|
-
GOOD: "#FFB70D",
|
|
177
|
-
VERY_GOOD: "#0EA26C",
|
|
178
|
-
EXCEPTIONAL: "#005C3D"
|
|
179
|
-
}, Z = {
|
|
180
|
-
POOR: "#B21C1C",
|
|
181
|
-
FAIR: "#FF3232",
|
|
182
|
-
GOOD: "#FFC02C",
|
|
183
|
-
VERY_GOOD: "#29C76B",
|
|
184
|
-
EXCEPTIONAL: "#008A5A"
|
|
185
|
-
}, Ft = (t, n, o) => t >= 300 && t < 580 ? {
|
|
186
|
-
status: o.poor,
|
|
187
|
-
color: n ? Z.POOR : Q.POOR
|
|
188
|
-
} : t >= 580 && t < 670 ? {
|
|
189
|
-
status: o.fair,
|
|
190
|
-
color: n ? Z.FAIR : Q.FAIR
|
|
191
|
-
} : t >= 670 && t < 740 ? {
|
|
192
|
-
status: o.good,
|
|
193
|
-
color: n ? Z.GOOD : Q.GOOD
|
|
194
|
-
} : t >= 740 && t < 800 ? {
|
|
195
|
-
status: o.very_good,
|
|
196
|
-
color: n ? Z.VERY_GOOD : Q.VERY_GOOD
|
|
197
|
-
} : t >= 800 && t <= 850 ? {
|
|
198
|
-
status: o.exceptional,
|
|
199
|
-
color: n ? Z.EXCEPTIONAL : Q.EXCEPTIONAL
|
|
200
|
-
} : { status: o.missing_data }, Io = (t, n, o, r) => {
|
|
201
|
-
const i = t.reduce((c, d) => c + d.value, 0);
|
|
202
|
-
let a = 0;
|
|
203
|
-
const l = t.map((c) => {
|
|
204
|
-
const d = c.value / i * n, p = o + a, u = p + d;
|
|
205
|
-
return a += d, {
|
|
206
|
-
...c,
|
|
207
|
-
startAngle: p,
|
|
208
|
-
endAngle: u
|
|
209
|
-
};
|
|
210
|
-
});
|
|
211
|
-
return [l[r].startAngle, l[r].endAngle];
|
|
212
|
-
}, Ao = (t, n, o, r, i) => {
|
|
213
|
-
let a = 0, l = 0;
|
|
214
|
-
const c = Math.floor(r), d = r - c;
|
|
215
|
-
return c > o ? (a = t, l = n) : c === o && d > 0 && (a = t, l = i), [a, l];
|
|
216
|
-
}, To = (t, n, o = 0) => {
|
|
217
|
-
const r = t * Math.sin(n - o), i = -t * Math.cos(n - o);
|
|
218
|
-
return [r, i];
|
|
219
|
-
}, Oo = ({
|
|
220
|
-
dynamicCopy: t,
|
|
221
|
-
fallbackLabel: n,
|
|
222
|
-
icon: o,
|
|
223
|
-
key: r,
|
|
224
|
-
label: i,
|
|
225
|
-
value: a
|
|
226
|
-
}) => {
|
|
227
|
-
const l = !!a, c = l ? Ro(r, a) : t && z(t, n) || n;
|
|
228
|
-
return {
|
|
229
|
-
icon: l ? /* @__PURE__ */ e(mn, {}) : o,
|
|
230
|
-
isComplete: l,
|
|
231
|
-
key: r,
|
|
232
|
-
primaryText: i,
|
|
233
|
-
secondaryText: c
|
|
234
|
-
};
|
|
235
|
-
}, Ro = (t, n) => ({
|
|
236
|
-
[q.DateOfBirth]: (r) => Ct(new Date(Number(r) * 1e3), "MMM d, yyyy"),
|
|
237
|
-
[q.MonthlyIncome]: (r) => B(Number(r), "0.00")
|
|
238
|
-
})[t]?.(n) ?? String(n), Ee = (t) => t !== null ? Math.round(t * 100) : null, Fo = (t) => {
|
|
239
|
-
const n = new Date((/* @__PURE__ */ new Date()).getFullYear(), t - 1, 1);
|
|
240
|
-
return Xe(n, Ue.MONTH_SHORT);
|
|
241
|
-
}, Lt = (t) => {
|
|
242
|
-
const { good: n, poor: o } = Ae.daysOfCashOnHand;
|
|
243
|
-
return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
|
|
244
|
-
}, Pt = (t) => {
|
|
245
|
-
const { good: n, poor: o } = Ae.emergencySavings;
|
|
246
|
-
return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
|
|
247
|
-
}, Bt = (t) => {
|
|
248
|
-
const { good: n, poor: o } = Ae.spendToIncomeRatio;
|
|
249
|
-
return t === null ? "MISSING" : t < n ? "GOOD" : t < o ? "FAIR" : "OFF_TRACK";
|
|
250
|
-
}, Et = (t) => {
|
|
251
|
-
const { good: n, poor: o } = Ae.debtToIncomeRatio;
|
|
252
|
-
return t === null ? "MISSING" : t <= n ? "GOOD" : t <= o ? "FAIR" : "OFF_TRACK";
|
|
253
|
-
}, Gt = (t) => {
|
|
254
|
-
const { good: n, poor: o } = Ae.creditScore;
|
|
255
|
-
return t === null ? "MISSING" : t >= n ? "GOOD" : t >= o ? "FAIR" : "OFF_TRACK";
|
|
256
|
-
}, Wt = (t) => t === null ? "MISSING" : t === 0 ? "GOOD" : "OFF_TRACK", Lo = (t, n) => {
|
|
257
|
-
const o = Wt(t), r = {
|
|
258
|
-
GOOD: n.count_good_description,
|
|
259
|
-
OFF_TRACK: n.count_off_track_description,
|
|
260
|
-
MISSING: n.count_missing_description
|
|
261
|
-
};
|
|
262
|
-
return {
|
|
263
|
-
cardState: o,
|
|
264
|
-
description: r[o],
|
|
265
|
-
title: n.count_card_title
|
|
266
|
-
};
|
|
267
|
-
}, Po = (t) => ({
|
|
268
|
-
[De.GOOD]: { backgroundColor: "success.lighter", color: "success.dark" },
|
|
269
|
-
[De.FAIR]: { backgroundColor: "warning.lighter", color: "warning.dark" },
|
|
270
|
-
[De.OFF_TRACK]: { backgroundColor: "error.lighter", color: "error.dark" },
|
|
271
|
-
[De.MISSING]: { backgroundColor: "divider", color: "text.secondary" }
|
|
272
|
-
})[t], Bo = 1, Eo = 1, Go = {
|
|
273
|
-
1: In,
|
|
274
|
-
2: An,
|
|
275
|
-
3: Dn
|
|
276
|
-
}, Wo = {
|
|
277
|
-
1: On,
|
|
278
|
-
2: (t, n) => it(t, n) / 2,
|
|
279
|
-
3: it,
|
|
280
|
-
4: Tn
|
|
281
|
-
}, $t = [
|
|
282
|
-
{ contributionPeriodIndex: 3, targetAmount: 6, upperLimit: 500 },
|
|
283
|
-
{ contributionPeriodIndex: 3, targetAmount: 3, upperLimit: 900 },
|
|
284
|
-
{ contributionPeriodIndex: 2, targetAmount: 1, upperLimit: 1e3 }
|
|
285
|
-
], _t = ({
|
|
286
|
-
contribution: t,
|
|
287
|
-
goalAmount: n,
|
|
288
|
-
goalPeriod: o,
|
|
289
|
-
targetPeriod: r,
|
|
290
|
-
totalSaved: i
|
|
291
|
-
}) => {
|
|
292
|
-
const a = n - i;
|
|
293
|
-
if (a <= 0) return 0;
|
|
294
|
-
const l = Ve(), c = Go[r], d = Wo[t];
|
|
295
|
-
if (!c || !d) return a;
|
|
296
|
-
const p = c(l, o), u = d(p, l);
|
|
297
|
-
return Math.max(a / (u || 1), 1);
|
|
298
|
-
}, $o = (t) => !t || t <= 0 ? "0%" : t >= 1e3 ? "100%" : `${Math.round(t / 10)}%`, No = (t) => $t.find((o) => t < o.upperLimit)?.targetAmount ?? Eo, mt = (t) => $t.find((r) => t < r.upperLimit)?.contributionPeriodIndex ?? Bo, zo = (t, n) => [...t].sort((r, i) => r.year === i.year ? r.month - i.month : r.year - i.year).map((r) => ({
|
|
299
|
-
x: Xe(new Date(0, r.month - 1, 1), Ue.MONTH_SHORT),
|
|
300
|
-
y: r[n]
|
|
301
|
-
})), Ho = ({
|
|
302
|
-
dialScoreData: t,
|
|
303
|
-
dataIndex: n,
|
|
304
|
-
arcColor: o,
|
|
305
|
-
arcStartAngle: r,
|
|
306
|
-
totalAngularSpan: i,
|
|
307
|
-
centerX: a,
|
|
308
|
-
centerY: l,
|
|
309
|
-
arcRadius: c,
|
|
310
|
-
innerArcRadius: d,
|
|
311
|
-
outterArcRadius: p,
|
|
312
|
-
progressEndAngle: u,
|
|
313
|
-
unitsPerSegment: h,
|
|
314
|
-
isFinacialStrengthGraph: f
|
|
315
|
-
}) => {
|
|
316
|
-
const v = W(), x = [
|
|
317
|
-
{ offset: "13.62%", color: v.palette.chartMono.chartMono2 },
|
|
318
|
-
{ offset: "36.67%", color: v.palette.chartMono.chartMono3 },
|
|
319
|
-
{ offset: "59.72%", color: v.palette.chartMono.chartMono4 },
|
|
320
|
-
{ offset: "83.46%", color: v.palette.chartMono.chartMono5 }
|
|
321
|
-
], [C, b] = Io(
|
|
322
|
-
t,
|
|
323
|
-
i,
|
|
324
|
-
r,
|
|
325
|
-
n
|
|
326
|
-
), [k, g] = Ao(
|
|
327
|
-
C,
|
|
328
|
-
b,
|
|
329
|
-
n,
|
|
330
|
-
h,
|
|
331
|
-
u
|
|
332
|
-
), y = lt.arc().innerRadius(d).outerRadius(p).startAngle(C).endAngle(b).padAngle(0.02).cornerRadius(8), I = lt.arc().innerRadius(d).outerRadius(p).startAngle(k).endAngle(g).padAngle(0.02).cornerRadius(8);
|
|
333
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
334
|
-
/* @__PURE__ */ e(
|
|
335
|
-
"path",
|
|
336
|
-
{
|
|
337
|
-
d: y({}),
|
|
338
|
-
fill: f ? v.palette.divider : o
|
|
339
|
-
}
|
|
340
|
-
),
|
|
341
|
-
f && /* @__PURE__ */ e("path", { d: I({}), fill: "url(#arcGradient)" }),
|
|
342
|
-
/* @__PURE__ */ e("defs", { children: /* @__PURE__ */ e(
|
|
343
|
-
"linearGradient",
|
|
344
|
-
{
|
|
345
|
-
gradientTransform: `rotate(5, ${a}, ${l})`,
|
|
346
|
-
gradientUnits: "userSpaceOnUse",
|
|
347
|
-
id: "arcGradient",
|
|
348
|
-
x1: a + c * 0.8 * Math.cos(Math.PI / 1.35),
|
|
349
|
-
x2: a - c * 0.8 * Math.cos(Math.PI / 1.35),
|
|
350
|
-
y1: l + c * 0.8 * Math.sin(Math.PI / 1.35),
|
|
351
|
-
y2: l - c * 0.8 * Math.sin(Math.PI / 1.35),
|
|
352
|
-
children: x.map((G, O) => /* @__PURE__ */ e("stop", { offset: G.offset, stopColor: G.color }, O))
|
|
353
|
-
}
|
|
354
|
-
) })
|
|
355
|
-
] });
|
|
356
|
-
}, Nt = ({
|
|
357
|
-
arcRadius: t = 100,
|
|
358
|
-
healthScore: n,
|
|
359
|
-
size: o = "L",
|
|
360
|
-
dialScoreData: r,
|
|
361
|
-
minValue: i = 0,
|
|
362
|
-
maxValue: a = 100,
|
|
363
|
-
margin: l,
|
|
364
|
-
markerColor: c,
|
|
365
|
-
healthScoreStatus: d,
|
|
366
|
-
footerCenterContent: p,
|
|
367
|
-
footerLeftContent: u,
|
|
368
|
-
footerRightContent: h,
|
|
369
|
-
isFinacialStrengthGraph: f = !1
|
|
370
|
-
}) => {
|
|
371
|
-
const v = W(), x = -Math.PI / 1.35, C = Math.PI / 1.35, b = C - x, k = b / (a - i), g = (n - i) * k, y = x + g + 0.02, I = o !== "SM" ? 0.1 : 0.12, G = t, O = t * (1 - I), $ = G * 2, F = $ / 2, K = $ / 2, fe = (O + G) / 2, be = n !== 25 && n !== 50 && n !== 75 && n !== 100 ? 0 : 0.12, [X, re] = To(fe, y, be), ce = n / 25, U = {
|
|
372
|
-
L: { markerSize: 12, healthScoreFontSize: 64 },
|
|
373
|
-
M: { markerSize: 8, healthScoreFontSize: 48 },
|
|
374
|
-
SM: { markerSize: 3, healthScoreFontSize: 14 }
|
|
375
|
-
}, V = {
|
|
376
|
-
top: 0,
|
|
377
|
-
right: 0,
|
|
378
|
-
bottom: 0,
|
|
379
|
-
left: 0,
|
|
380
|
-
...l
|
|
381
|
-
}, le = p === 0 ? gn : yn, de = o !== "SM" ? 3 : 1, xe = de * 4, N = U[o].markerSize * 2 + xe;
|
|
382
|
-
return /* @__PURE__ */ s(
|
|
383
|
-
_,
|
|
384
|
-
{
|
|
385
|
-
sx: {
|
|
386
|
-
width: $,
|
|
387
|
-
height: o === "SM" ? $ - 7 : $,
|
|
388
|
-
position: "relative",
|
|
389
|
-
alignSelf: "center",
|
|
390
|
-
overflow: "visible"
|
|
391
|
-
},
|
|
392
|
-
children: [
|
|
393
|
-
/* @__PURE__ */ e(
|
|
394
|
-
pn,
|
|
395
|
-
{
|
|
396
|
-
height: o === "SM" ? $ - 7 : $,
|
|
397
|
-
hideLegend: !0,
|
|
398
|
-
margin: V,
|
|
399
|
-
series: [
|
|
400
|
-
{
|
|
401
|
-
data: r,
|
|
402
|
-
innerRadius: O,
|
|
403
|
-
outerRadius: G,
|
|
404
|
-
startAngle: Math.round(ut(x)),
|
|
405
|
-
// Use Math.degrees to convert
|
|
406
|
-
endAngle: Math.round(ut(C))
|
|
407
|
-
// Use Math.degrees to convert
|
|
408
|
-
}
|
|
409
|
-
],
|
|
410
|
-
skipAnimation: !0,
|
|
411
|
-
slots: {
|
|
412
|
-
pieArc: (Ce) => /* @__PURE__ */ e(
|
|
413
|
-
Ho,
|
|
414
|
-
{
|
|
415
|
-
arcColor: Ce.color,
|
|
416
|
-
arcRadius: t,
|
|
417
|
-
arcStartAngle: x,
|
|
418
|
-
centerX: F,
|
|
419
|
-
centerY: K,
|
|
420
|
-
dataIndex: Ce.dataIndex,
|
|
421
|
-
dialScoreData: r,
|
|
422
|
-
innerArcRadius: O,
|
|
423
|
-
isFinacialStrengthGraph: f,
|
|
424
|
-
outterArcRadius: G,
|
|
425
|
-
progressEndAngle: y,
|
|
426
|
-
totalAngularSpan: b,
|
|
427
|
-
unitsPerSegment: ce
|
|
428
|
-
}
|
|
429
|
-
)
|
|
430
|
-
},
|
|
431
|
-
sx: {
|
|
432
|
-
"& path": {
|
|
433
|
-
stroke: "none"
|
|
434
|
-
}
|
|
435
|
-
},
|
|
436
|
-
width: $
|
|
437
|
-
}
|
|
438
|
-
),
|
|
439
|
-
n >= i && n <= a && /* @__PURE__ */ e(
|
|
440
|
-
"svg",
|
|
441
|
-
{
|
|
442
|
-
height: N,
|
|
443
|
-
style: {
|
|
444
|
-
position: "absolute",
|
|
445
|
-
left: F + X - U[o].markerSize - 5,
|
|
446
|
-
top: K + re - U[o].markerSize - 5,
|
|
447
|
-
overflow: "visible"
|
|
448
|
-
},
|
|
449
|
-
viewBox: `${F + X - U[o].markerSize - 5} ${K + re - U[o].markerSize - 5} ${N} ${N}`,
|
|
450
|
-
width: N,
|
|
451
|
-
children: /* @__PURE__ */ e(
|
|
452
|
-
"circle",
|
|
453
|
-
{
|
|
454
|
-
cx: F + X,
|
|
455
|
-
cy: K + re,
|
|
456
|
-
fill: v.palette.common.white,
|
|
457
|
-
r: U[o].markerSize,
|
|
458
|
-
stroke: f ? "url(#arcGradient)" : c,
|
|
459
|
-
strokeWidth: de
|
|
460
|
-
}
|
|
461
|
-
)
|
|
462
|
-
}
|
|
463
|
-
),
|
|
464
|
-
/* @__PURE__ */ e(
|
|
465
|
-
M,
|
|
466
|
-
{
|
|
467
|
-
sx: {
|
|
468
|
-
position: "absolute",
|
|
469
|
-
top: `${K}px`,
|
|
470
|
-
left: `${F}px`,
|
|
471
|
-
transform: "translate(-50%, -50%)",
|
|
472
|
-
textAlign: "center"
|
|
473
|
-
},
|
|
474
|
-
children: /* @__PURE__ */ s(
|
|
475
|
-
_,
|
|
476
|
-
{
|
|
477
|
-
spacing: 1,
|
|
478
|
-
sx: { alignItems: "center", justifyContent: "center", gap: o !== "M" ? 10 : 3 },
|
|
479
|
-
children: [
|
|
480
|
-
/* @__PURE__ */ e(
|
|
481
|
-
A,
|
|
482
|
-
{
|
|
483
|
-
sx: {
|
|
484
|
-
fontSize: U[o].healthScoreFontSize,
|
|
485
|
-
lineHeight: o !== "SM" ? "48px" : "100%"
|
|
486
|
-
},
|
|
487
|
-
variant: "h1",
|
|
488
|
-
children: n
|
|
489
|
-
}
|
|
490
|
-
),
|
|
491
|
-
o !== "SM" && /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: o === "L" ? "body1" : "body2", children: d })
|
|
492
|
-
]
|
|
493
|
-
}
|
|
494
|
-
)
|
|
495
|
-
}
|
|
496
|
-
),
|
|
497
|
-
p !== void 0 && /* @__PURE__ */ e(
|
|
498
|
-
M,
|
|
499
|
-
{
|
|
500
|
-
sx: {
|
|
501
|
-
position: "absolute",
|
|
502
|
-
top: `${K * 2 * 0.83}px`,
|
|
503
|
-
left: `${F}px`,
|
|
504
|
-
transform: "translate(-50%, -50%)",
|
|
505
|
-
textAlign: "center"
|
|
506
|
-
},
|
|
507
|
-
children: typeof p == "number" ? /* @__PURE__ */ s(
|
|
508
|
-
_,
|
|
509
|
-
{
|
|
510
|
-
sx: {
|
|
511
|
-
flexDirection: "row",
|
|
512
|
-
alignItems: "center",
|
|
513
|
-
gap: 4,
|
|
514
|
-
mt: 24
|
|
515
|
-
},
|
|
516
|
-
children: [
|
|
517
|
-
p > 0 ? /* @__PURE__ */ e(hn, { size: 16, sx: { color: "success.main" } }) : /* @__PURE__ */ e(le, { size: 16, sx: { color: "text.secondary" } }),
|
|
518
|
-
/* @__PURE__ */ e(
|
|
519
|
-
A,
|
|
520
|
-
{
|
|
521
|
-
sx: {
|
|
522
|
-
fontWeight: 600,
|
|
523
|
-
color: p > 0 ? "success.main" : "text.secondary"
|
|
524
|
-
},
|
|
525
|
-
variant: "body1",
|
|
526
|
-
children: Math.abs(p)
|
|
527
|
-
}
|
|
528
|
-
)
|
|
529
|
-
]
|
|
530
|
-
}
|
|
531
|
-
) : /* @__PURE__ */ e(A, { sx: { color: "text.secondary" }, variant: "subtitle2", children: p })
|
|
532
|
-
}
|
|
533
|
-
),
|
|
534
|
-
u !== void 0 && /* @__PURE__ */ e(
|
|
535
|
-
M,
|
|
536
|
-
{
|
|
537
|
-
sx: {
|
|
538
|
-
position: "absolute",
|
|
539
|
-
top: `${K * 2 * 0.83}px`,
|
|
540
|
-
left: `${F - F / 2}px`,
|
|
541
|
-
// shift left from center
|
|
542
|
-
transform: "translate(-50%, -50%)",
|
|
543
|
-
textAlign: "left"
|
|
544
|
-
},
|
|
545
|
-
children: /* @__PURE__ */ e(A, { variant: "body1", children: u })
|
|
546
|
-
}
|
|
547
|
-
),
|
|
548
|
-
h !== void 0 && /* @__PURE__ */ e(
|
|
549
|
-
M,
|
|
550
|
-
{
|
|
551
|
-
sx: {
|
|
552
|
-
position: "absolute",
|
|
553
|
-
top: `${K * 2 * 0.83}px`,
|
|
554
|
-
left: `${F + F / 2}px`,
|
|
555
|
-
transform: "translate(-50%, -50%)",
|
|
556
|
-
textAlign: "right"
|
|
557
|
-
},
|
|
558
|
-
children: /* @__PURE__ */ e(A, { variant: "body1", children: h })
|
|
559
|
-
}
|
|
560
|
-
)
|
|
561
|
-
]
|
|
562
|
-
}
|
|
563
|
-
);
|
|
564
|
-
}, zt = w(
|
|
565
|
-
({
|
|
566
|
-
arcRadius: t,
|
|
567
|
-
size: n = "L",
|
|
568
|
-
healthScore: o,
|
|
569
|
-
footerCenterContent: r,
|
|
570
|
-
margin: i
|
|
571
|
-
}) => {
|
|
572
|
-
const a = [
|
|
573
|
-
{ id: 1, label: "Group A", value: 25 },
|
|
574
|
-
{ id: 2, label: "Group B", value: 25 },
|
|
575
|
-
{ id: 3, label: "Group C", value: 25 },
|
|
576
|
-
{ id: 4, label: "Group D", value: 25 }
|
|
577
|
-
], { finstrong: l } = S(), c = nt(o, l);
|
|
578
|
-
return /* @__PURE__ */ e(
|
|
579
|
-
Nt,
|
|
580
|
-
{
|
|
581
|
-
arcRadius: t,
|
|
582
|
-
dialScoreData: a,
|
|
583
|
-
footerCenterContent: n === "L" ? l.footer_center_content_updated_just_now : r,
|
|
584
|
-
healthScore: o,
|
|
585
|
-
healthScoreStatus: c.status,
|
|
586
|
-
isFinacialStrengthGraph: !0,
|
|
587
|
-
margin: i,
|
|
588
|
-
size: n
|
|
589
|
-
}
|
|
590
|
-
);
|
|
591
|
-
}
|
|
592
|
-
), Ko = w(
|
|
593
|
-
({
|
|
594
|
-
arcRadius: t,
|
|
595
|
-
size: n = "L",
|
|
596
|
-
healthScore: o,
|
|
597
|
-
maxValue: r = 850,
|
|
598
|
-
minValue: i = 300,
|
|
599
|
-
footerCenterContent: a
|
|
600
|
-
}) => {
|
|
601
|
-
const c = W().palette.mode === "dark", d = [
|
|
602
|
-
{
|
|
603
|
-
id: 1,
|
|
604
|
-
label: "Poor",
|
|
605
|
-
value: 29,
|
|
606
|
-
color: c ? Z.POOR : Q.POOR
|
|
607
|
-
},
|
|
608
|
-
{
|
|
609
|
-
id: 2,
|
|
610
|
-
label: "Fair",
|
|
611
|
-
value: 25,
|
|
612
|
-
color: c ? Z.FAIR : Q.FAIR
|
|
613
|
-
},
|
|
614
|
-
{
|
|
615
|
-
id: 3,
|
|
616
|
-
label: "Good",
|
|
617
|
-
value: 17,
|
|
618
|
-
color: c ? Z.GOOD : Q.GOOD
|
|
619
|
-
},
|
|
620
|
-
{
|
|
621
|
-
id: 4,
|
|
622
|
-
label: "Very Good",
|
|
623
|
-
value: 17,
|
|
624
|
-
color: c ? Z.VERY_GOOD : Q.VERY_GOOD
|
|
625
|
-
},
|
|
626
|
-
{
|
|
627
|
-
id: 5,
|
|
628
|
-
label: "Exceptional",
|
|
629
|
-
value: 12,
|
|
630
|
-
color: c ? Z.EXCEPTIONAL : Q.EXCEPTIONAL
|
|
631
|
-
}
|
|
632
|
-
], { finstrong: p } = S(), { isCopyLoaded: u } = ne();
|
|
633
|
-
if (!u) return /* @__PURE__ */ e(ee, {});
|
|
634
|
-
const { status: h, color: f = "none" } = Ft(
|
|
635
|
-
o,
|
|
636
|
-
c,
|
|
637
|
-
p.credit_score_status
|
|
638
|
-
);
|
|
639
|
-
return /* @__PURE__ */ e(
|
|
640
|
-
Nt,
|
|
641
|
-
{
|
|
642
|
-
arcRadius: t,
|
|
643
|
-
dialScoreData: d,
|
|
644
|
-
footerCenterContent: a,
|
|
645
|
-
footerLeftContent: i,
|
|
646
|
-
footerRightContent: r,
|
|
647
|
-
healthScore: o,
|
|
648
|
-
healthScoreStatus: h,
|
|
649
|
-
markerColor: f,
|
|
650
|
-
maxValue: r,
|
|
651
|
-
minValue: i,
|
|
652
|
-
size: n
|
|
653
|
-
}
|
|
654
|
-
);
|
|
655
|
-
}
|
|
656
|
-
), We = ({
|
|
657
|
-
drawerType: t,
|
|
658
|
-
isDashboard: n = !1,
|
|
659
|
-
hasIcon: o = !0,
|
|
660
|
-
buttonText: r,
|
|
661
|
-
title: i,
|
|
662
|
-
titleDrawer: a,
|
|
663
|
-
description: l,
|
|
664
|
-
sx: c
|
|
665
|
-
}) => {
|
|
666
|
-
const [d, p] = m.useState(!1), { connect: u, finstrong: h } = S(), { config: f } = qe();
|
|
667
|
-
return t && f.show_connections_widget_in_master ? /* @__PURE__ */ s(
|
|
668
|
-
Y,
|
|
669
|
-
{
|
|
670
|
-
sx: {
|
|
671
|
-
pb: 24,
|
|
672
|
-
pt: 18,
|
|
673
|
-
px: 24,
|
|
674
|
-
width: "100%",
|
|
675
|
-
...c
|
|
676
|
-
},
|
|
677
|
-
children: [
|
|
678
|
-
/* @__PURE__ */ s(
|
|
679
|
-
_,
|
|
680
|
-
{
|
|
681
|
-
sx: {
|
|
682
|
-
gap: 8,
|
|
683
|
-
...n && { flexDirection: "row", alignItems: "center" }
|
|
684
|
-
},
|
|
685
|
-
children: [
|
|
686
|
-
o && /* @__PURE__ */ e(ft, { sx: { height: 20, width: 20 } }),
|
|
687
|
-
/* @__PURE__ */ e(j, { className: "connect-more-accounts-title", sx: { ...n && { fontSize: 15 } }, children: i || h.connect_more_accounts_title })
|
|
688
|
-
]
|
|
689
|
-
}
|
|
690
|
-
),
|
|
691
|
-
/* @__PURE__ */ e(
|
|
692
|
-
A,
|
|
693
|
-
{
|
|
694
|
-
className: "connect-more-accounts-description",
|
|
695
|
-
sx: { color: "text.secondary", mt: 8 },
|
|
696
|
-
variant: "subtitle1",
|
|
697
|
-
children: l || h.connect_more_accounts_description
|
|
698
|
-
}
|
|
699
|
-
),
|
|
700
|
-
/* @__PURE__ */ e(
|
|
701
|
-
E,
|
|
702
|
-
{
|
|
703
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
704
|
-
onClick: () => p(!0),
|
|
705
|
-
size: "small",
|
|
706
|
-
sx: { p: 0, mt: 8, "&:hover": { backgroundColor: "transparent" } },
|
|
707
|
-
children: /* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body2", children: r || h.connect_more_accounts_button })
|
|
708
|
-
}
|
|
709
|
-
),
|
|
710
|
-
t === "connectDrawer" && /* @__PURE__ */ e(
|
|
711
|
-
se,
|
|
712
|
-
{
|
|
713
|
-
onClose: () => p(!1),
|
|
714
|
-
showConnectWidget: d,
|
|
715
|
-
title: a || u.mini_title
|
|
716
|
-
}
|
|
717
|
-
),
|
|
718
|
-
t === "connectionsDrawer" && /* @__PURE__ */ e(
|
|
719
|
-
vt,
|
|
720
|
-
{
|
|
721
|
-
onClose: () => p(!1),
|
|
722
|
-
showConnectionsWidget: d,
|
|
723
|
-
title: a || u.mini_title
|
|
724
|
-
}
|
|
725
|
-
)
|
|
726
|
-
]
|
|
727
|
-
}
|
|
728
|
-
) : null;
|
|
729
|
-
};
|
|
730
|
-
var ye = /* @__PURE__ */ ((t) => (t.SpendLessThanYouMake = "spendLessThanYouMake", t.PayBillsOnTime = "payBillsOnTime", t.SaveEnoughToLiveOn = "saveEnoughToLiveOn", t.MaintainEmergencySavings = "maintainEmergencySavings", t.HaveManageableDebt = "haveManageableDebt", t.HaveAGoodCreditScore = "haveAGoodCreditScore", t))(ye || {});
|
|
731
|
-
const Vo = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_animation_final.gif", jo = ({ isOpen: t, onClose: n }) => {
|
|
732
|
-
const { common: o, finstrong: r } = S(), { isMobile: i } = tt(), { updateUser: a, user: l } = oe(), [c, d] = m.useState(l.credit_score || 0), p = !isNaN(c), u = () => {
|
|
733
|
-
n(), setTimeout(() => d(l.credit_score || 0), 300);
|
|
734
|
-
}, h = () => {
|
|
735
|
-
!c || c === l.credit_score || a({ ...l, credit_score: c });
|
|
736
|
-
};
|
|
737
|
-
return /* @__PURE__ */ e(
|
|
738
|
-
Wn,
|
|
739
|
-
{
|
|
740
|
-
copy: { close_aria: o.close_aria, title: r.edit_credit_score },
|
|
741
|
-
disablePrimaryButton: !c || !p,
|
|
742
|
-
isOpen: t,
|
|
743
|
-
maxWidth: "xs",
|
|
744
|
-
onClose: u,
|
|
745
|
-
onPrimaryAction: h,
|
|
746
|
-
primaryColor: "primary",
|
|
747
|
-
primaryText: o.save_button,
|
|
748
|
-
sx: {
|
|
749
|
-
"& .MuiDialog-paper": {
|
|
750
|
-
minWidth: i ? "100%" : 400
|
|
751
|
-
}
|
|
752
|
-
},
|
|
753
|
-
children: /* @__PURE__ */ e(
|
|
754
|
-
"form",
|
|
755
|
-
{
|
|
756
|
-
onSubmit: (f) => {
|
|
757
|
-
f.preventDefault(), h(), u();
|
|
758
|
-
},
|
|
759
|
-
children: /* @__PURE__ */ e(
|
|
760
|
-
Pe,
|
|
761
|
-
{
|
|
762
|
-
error: !p,
|
|
763
|
-
fullWidth: !0,
|
|
764
|
-
inputMode: "numeric",
|
|
765
|
-
onChange: (f) => d(Number(f.target.value)),
|
|
766
|
-
slotProps: {
|
|
767
|
-
htmlInput: {
|
|
768
|
-
noValidate: !0,
|
|
769
|
-
pattern: "[0-9]*"
|
|
770
|
-
}
|
|
771
|
-
},
|
|
772
|
-
value: p ? c : ""
|
|
773
|
-
}
|
|
774
|
-
)
|
|
775
|
-
}
|
|
776
|
-
)
|
|
777
|
-
}
|
|
778
|
-
);
|
|
779
|
-
}, Ht = w(jo), Yo = ({ chartFor: t }) => {
|
|
780
|
-
const n = W(), o = n.palette.mode === "dark", { monthlySummaries: r } = L(), { user: i } = oe(), { finstrong: a } = S(), [l, { width: c }] = wt(), d = {
|
|
781
|
-
savingsOverTime: {
|
|
782
|
-
icon: "trending_up",
|
|
783
|
-
title: a.key_indicators_save.zero_state_title,
|
|
784
|
-
description: a.key_indicators_save.zero_state_description
|
|
785
|
-
},
|
|
786
|
-
debtOverTime: {
|
|
787
|
-
icon: "multiline_chart",
|
|
788
|
-
title: a.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_line_chart_empty_state_header,
|
|
789
|
-
description: a.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_line_chart_empty_state_description
|
|
790
|
-
},
|
|
791
|
-
creditOverTime: {
|
|
792
|
-
icon: "credit_card",
|
|
793
|
-
title: a.credit_over_time_title,
|
|
794
|
-
description: a.credit_over_time_zero_state_desc
|
|
795
|
-
}
|
|
796
|
-
}[t], u = {
|
|
797
|
-
savingsOverTime: {
|
|
798
|
-
title: a.key_indicators_save.savings_over_time,
|
|
799
|
-
valueKey: "available_cash"
|
|
800
|
-
},
|
|
801
|
-
debtOverTime: {
|
|
802
|
-
title: a.key_indicators_borrow.have_manageable_debt_drawer.debt_over_time,
|
|
803
|
-
valueKey: "debt_balance"
|
|
804
|
-
},
|
|
805
|
-
creditOverTime: {
|
|
806
|
-
title: a.credit_over_time_title,
|
|
807
|
-
valueKey: "credit_score"
|
|
808
|
-
}
|
|
809
|
-
}[t], h = zo(r, u.valueKey), f = r.map((O) => O[u.valueKey]), v = Math.max(...f), x = Math.min(...f), C = () => v >= 1e6 ? { formatter: "0.000a", leftMargin: -7 } : v >= 1e3 ? { formatter: "0a", leftMargin: -27 } : { formatter: "0a", leftMargin: -32 }, { formatter: b, leftMargin: k } = C(), g = u.title, y = t === "creditOverTime";
|
|
810
|
-
let I;
|
|
811
|
-
if (y) {
|
|
812
|
-
const { color: O } = Ft(
|
|
813
|
-
i?.credit_score ?? 0,
|
|
814
|
-
o,
|
|
815
|
-
a.credit_score_status
|
|
816
|
-
);
|
|
817
|
-
I = O;
|
|
818
|
-
}
|
|
819
|
-
const G = h.some((O) => O.y !== 0);
|
|
820
|
-
return /* @__PURE__ */ e(Y, { ref: l, sx: { backgroundColor: "background.paper" }, children: G ? /* @__PURE__ */ s(_, { gap: 8, sx: { pl: 18 }, children: [
|
|
821
|
-
/* @__PURE__ */ e(A, { sx: { pb: 8, pt: 16 }, variant: "h3", children: g }),
|
|
822
|
-
/* @__PURE__ */ e(
|
|
823
|
-
Je,
|
|
824
|
-
{
|
|
825
|
-
areaColor: I,
|
|
826
|
-
axisColor: n.palette.divider,
|
|
827
|
-
baseline: "min",
|
|
828
|
-
chartFor: t,
|
|
829
|
-
colors: [n.palette.primary.main],
|
|
830
|
-
curveType: y ? "linear" : "monotoneX",
|
|
831
|
-
datasets: h ? [h] : [],
|
|
832
|
-
height: 244,
|
|
833
|
-
labelFontColor: y ? "text.primary" : "",
|
|
834
|
-
labelFontSize: y ? 13 : void 0,
|
|
835
|
-
labels: [a.key_indicators_label],
|
|
836
|
-
margin: { left: k, top: y ? 25 : 15, right: 20 },
|
|
837
|
-
markStyles: (O) => y ? {
|
|
838
|
-
markLabelStyles: {
|
|
839
|
-
marginLeft: 16,
|
|
840
|
-
transform: O === h.length - 1 ? "translateX(-16px)" : "translateX(16px)",
|
|
841
|
-
fontWeight: 600,
|
|
842
|
-
fill: n.palette.text.primary
|
|
843
|
-
},
|
|
844
|
-
stroke: I
|
|
845
|
-
} : {},
|
|
846
|
-
maxRange: y ? 850 : void 0,
|
|
847
|
-
minRange: (() => {
|
|
848
|
-
if (y)
|
|
849
|
-
return x < 300 ? 0 : 300;
|
|
850
|
-
})(),
|
|
851
|
-
showArea: !0,
|
|
852
|
-
showAverage: !y,
|
|
853
|
-
showMark: !y,
|
|
854
|
-
showMarkLabel: y,
|
|
855
|
-
showXAxis: !0,
|
|
856
|
-
showYAxis: y,
|
|
857
|
-
showYAxisTicks: y,
|
|
858
|
-
useCustomMark: !0,
|
|
859
|
-
valueFormatterString: y ? void 0 : b,
|
|
860
|
-
width: c < 342 ? c - 48 : 342
|
|
861
|
-
}
|
|
862
|
-
)
|
|
863
|
-
] }) : /* @__PURE__ */ e(
|
|
864
|
-
Be,
|
|
865
|
-
{
|
|
866
|
-
header: d.title,
|
|
867
|
-
icon: d.icon,
|
|
868
|
-
subText: d.description,
|
|
869
|
-
sx: {
|
|
870
|
-
backgroundColor: "background.paper",
|
|
871
|
-
borderRadius: "8px",
|
|
872
|
-
boxShadow: 1,
|
|
873
|
-
p: 24,
|
|
874
|
-
pb: 48,
|
|
875
|
-
".empty-state-subtext": {
|
|
876
|
-
fontSize: 15,
|
|
877
|
-
lineHeight: "24px",
|
|
878
|
-
mt: 8
|
|
879
|
-
}
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
) });
|
|
883
|
-
}, ot = w(Yo), Xo = () => {
|
|
884
|
-
const { healthScoreChangeReports: t } = L(), { finstrong: n } = S(), { user: o } = oe(), { availableWidth: r } = Pn(), { isSmallMobile: i } = tt(r), [a, l] = m.useState(!1), c = t.at(-1);
|
|
885
|
-
return /* @__PURE__ */ s(M, { children: [
|
|
886
|
-
/* @__PURE__ */ s(_, { sx: { gap: 28 }, children: [
|
|
887
|
-
/* @__PURE__ */ e(
|
|
888
|
-
Ko,
|
|
889
|
-
{
|
|
890
|
-
arcRadius: i ? 124 : 154,
|
|
891
|
-
footerCenterContent: c ? c.newer_credit_score - c.older_credit_score : 0,
|
|
892
|
-
healthScore: o.credit_score ?? 0,
|
|
893
|
-
size: i ? "M" : "L"
|
|
894
|
-
}
|
|
895
|
-
),
|
|
896
|
-
/* @__PURE__ */ e(E, { onClick: () => l(!0), variant: "contained", children: n.credit_score_updated_score }),
|
|
897
|
-
/* @__PURE__ */ e(ot, { chartFor: "creditOverTime" })
|
|
898
|
-
] }),
|
|
899
|
-
/* @__PURE__ */ e(Ht, { isOpen: a, onClose: () => l(!1) })
|
|
900
|
-
] });
|
|
901
|
-
}, Uo = w(Xo), $e = ({ status: t }) => {
|
|
902
|
-
const { finstrong: n } = S(), o = Po(De[t]), r = {
|
|
903
|
-
GOOD: n.key_indicators_good,
|
|
904
|
-
FAIR: n.key_indicators_fair,
|
|
905
|
-
OFF_TRACK: n.key_indicators_off_track,
|
|
906
|
-
MISSING: n.key_indicators_missing
|
|
907
|
-
}[t];
|
|
908
|
-
return /* @__PURE__ */ e(
|
|
909
|
-
$n,
|
|
910
|
-
{
|
|
911
|
-
label: /* @__PURE__ */ e(
|
|
912
|
-
A,
|
|
913
|
-
{
|
|
914
|
-
fontWeight: 700,
|
|
915
|
-
sx: { color: o.color, minHeight: 12 },
|
|
916
|
-
uppercase: !0,
|
|
917
|
-
variant: "tiny",
|
|
918
|
-
children: r
|
|
919
|
-
}
|
|
920
|
-
),
|
|
921
|
-
size: "small",
|
|
922
|
-
sx: {
|
|
923
|
-
bgcolor: o.backgroundColor,
|
|
924
|
-
height: 16
|
|
925
|
-
},
|
|
926
|
-
variant: "filled"
|
|
927
|
-
}
|
|
928
|
-
);
|
|
929
|
-
}, qo = () => {
|
|
930
|
-
const { finstrong: t } = S(), { user: n } = oe(), o = Gt(n.credit_score ?? null);
|
|
931
|
-
return /* @__PURE__ */ s(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
932
|
-
/* @__PURE__ */ e(j, { children: t.credit_score_keep_strong_credit_score }),
|
|
933
|
-
/* @__PURE__ */ e($e, { status: o })
|
|
934
|
-
] });
|
|
935
|
-
}, Qo = w(qo), Zo = ({
|
|
936
|
-
additionalContent: t,
|
|
937
|
-
connectTitle: n,
|
|
938
|
-
connectDescription: o,
|
|
939
|
-
children: r,
|
|
940
|
-
description: i,
|
|
941
|
-
drawerTitle: a,
|
|
942
|
-
isOpen: l,
|
|
943
|
-
loadConnectAccountsCard: c = !0,
|
|
944
|
-
onClose: d,
|
|
945
|
-
stickyComponent: p,
|
|
946
|
-
title: u,
|
|
947
|
-
drawerType: h
|
|
948
|
-
}) => {
|
|
949
|
-
const { finstrong: f } = S(), { isCopyLoaded: v } = ne(), [x, C] = Rn(!1), b = Fn(null), k = st(() => {
|
|
950
|
-
if (b.current) {
|
|
951
|
-
const y = b.current.scrollTop > 0;
|
|
952
|
-
C((I) => I !== y ? y : I);
|
|
953
|
-
}
|
|
954
|
-
}, []), g = st(
|
|
955
|
-
(y) => {
|
|
956
|
-
if (b.current && b.current.removeEventListener("scroll", k), y) {
|
|
957
|
-
let I = y.parentElement;
|
|
958
|
-
for (; I; ) {
|
|
959
|
-
const { overflow: G, overflowY: O } = window.getComputedStyle(I);
|
|
960
|
-
if (G === "auto" || O === "auto" || G === "scroll" || O === "scroll") {
|
|
961
|
-
b.current = I, I.addEventListener("scroll", k, { passive: !0 });
|
|
962
|
-
break;
|
|
963
|
-
}
|
|
964
|
-
I = I.parentElement;
|
|
965
|
-
}
|
|
966
|
-
}
|
|
967
|
-
},
|
|
968
|
-
[k]
|
|
969
|
-
);
|
|
970
|
-
return ct(() => {
|
|
971
|
-
l || C(!1);
|
|
972
|
-
}, [l]), ct(() => () => {
|
|
973
|
-
b.current && b.current.removeEventListener("scroll", k);
|
|
974
|
-
}, [k]), v ? /* @__PURE__ */ e(ie, { isOpen: l, onClose: d, title: a || f.key_indicators, children: /* @__PURE__ */ s(
|
|
975
|
-
_,
|
|
976
|
-
{
|
|
977
|
-
ref: g,
|
|
978
|
-
sx: { backgroundColor: "background.default", height: "100%" },
|
|
979
|
-
children: [
|
|
980
|
-
(u || i) && /* @__PURE__ */ s(
|
|
981
|
-
_,
|
|
982
|
-
{
|
|
983
|
-
sx: {
|
|
984
|
-
backgroundColor: "background.paper",
|
|
985
|
-
gap: 8,
|
|
986
|
-
p: 24,
|
|
987
|
-
pb: p ? 0 : 24
|
|
988
|
-
},
|
|
989
|
-
children: [
|
|
990
|
-
u && typeof u == "string" ? /* @__PURE__ */ e(j, { children: u }) : u,
|
|
991
|
-
i && /* @__PURE__ */ e(A, { sx: { lineHeight: "24px" }, children: i })
|
|
992
|
-
]
|
|
993
|
-
}
|
|
994
|
-
),
|
|
995
|
-
p && /* @__PURE__ */ e(
|
|
996
|
-
M,
|
|
997
|
-
{
|
|
998
|
-
sx: {
|
|
999
|
-
position: "sticky",
|
|
1000
|
-
top: 0,
|
|
1001
|
-
zIndex: 1,
|
|
1002
|
-
"& > *": {
|
|
1003
|
-
borderBottom: x ? "1px solid" : "none",
|
|
1004
|
-
borderColor: x ? "divider" : "transparent"
|
|
1005
|
-
}
|
|
1006
|
-
},
|
|
1007
|
-
children: p
|
|
1008
|
-
}
|
|
1009
|
-
),
|
|
1010
|
-
t && /* @__PURE__ */ e(M, { children: t }),
|
|
1011
|
-
/* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", gap: 24, p: 24 }, children: [
|
|
1012
|
-
r,
|
|
1013
|
-
c && /* @__PURE__ */ e(
|
|
1014
|
-
We,
|
|
1015
|
-
{
|
|
1016
|
-
description: o,
|
|
1017
|
-
drawerType: h,
|
|
1018
|
-
isDashboard: !0,
|
|
1019
|
-
sx: { backgroundColor: "background.paper" },
|
|
1020
|
-
title: n
|
|
1021
|
-
}
|
|
1022
|
-
)
|
|
1023
|
-
] })
|
|
1024
|
-
]
|
|
1025
|
-
}
|
|
1026
|
-
) }) : /* @__PURE__ */ e(ee, {});
|
|
1027
|
-
}, Kt = w(Zo), Jo = ({
|
|
1028
|
-
onClick: t,
|
|
1029
|
-
shouldShowBalance: n = !0,
|
|
1030
|
-
loadAccounts: o
|
|
1031
|
-
}) => {
|
|
1032
|
-
const { config: r } = qe(), { accounts: i } = S(), { selectedAccounts: a } = ne(), l = m.useCallback(
|
|
1033
|
-
(d) => {
|
|
1034
|
-
t?.(d);
|
|
1035
|
-
},
|
|
1036
|
-
[t]
|
|
1037
|
-
), c = m.useMemo(
|
|
1038
|
-
() => Array.from(new Set(a.map((d) => d.account_type))).filter(
|
|
1039
|
-
(d) => o ? o.includes(d) : !0
|
|
1040
|
-
),
|
|
1041
|
-
[a, o]
|
|
1042
|
-
);
|
|
1043
|
-
return a.length ? /* @__PURE__ */ e(m.Fragment, { children: c.map((d) => {
|
|
1044
|
-
const { accountsForType: p, totalBalanceForType: u } = a.reduce(
|
|
1045
|
-
(h, f) => (f.account_type === d && (h.accountsForType.push(f), h.totalBalanceForType += f.balance || 0), h),
|
|
1046
|
-
{ accountsForType: [], totalBalanceForType: 0 }
|
|
1047
|
-
);
|
|
1048
|
-
return /* @__PURE__ */ s(
|
|
1049
|
-
Le,
|
|
1050
|
-
{
|
|
1051
|
-
subheader: /* @__PURE__ */ e(Nn, { sx: { pb: 4, position: "static", pt: 12, px: 24 }, children: /* @__PURE__ */ s(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
|
|
1052
|
-
/* @__PURE__ */ e(D, { bold: !0, variant: "caption", children: i.account_types[d] }),
|
|
1053
|
-
n && /* @__PURE__ */ e(D, { bold: !0, variant: "caption", children: B(u, "0,0.00") })
|
|
1054
|
-
] }) }),
|
|
1055
|
-
sx: { bgcolor: "background.paper" },
|
|
1056
|
-
children: [
|
|
1057
|
-
p.map((h, f) => {
|
|
1058
|
-
const { firstValue: v } = Mt(
|
|
1059
|
-
h,
|
|
1060
|
-
i,
|
|
1061
|
-
r.display_available_balance_in_accounts
|
|
1062
|
-
), x = kt(h, {
|
|
1063
|
-
allowNickname: r?.show_account_nicknames_in_master
|
|
1064
|
-
}), C = /* @__PURE__ */ s(H, { children: [
|
|
1065
|
-
/* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(yt, { alt: "MX", institutionGuid: h.institution_guid ?? "" }) }),
|
|
1066
|
-
/* @__PURE__ */ e(
|
|
1067
|
-
me,
|
|
1068
|
-
{
|
|
1069
|
-
primary: `${x}${h.account_number ? ` *${h.account_number}` : ""}`,
|
|
1070
|
-
slotProps: { primary: { noWrap: !0, pr: 4, variant: "body1" } }
|
|
1071
|
-
}
|
|
1072
|
-
),
|
|
1073
|
-
n && /* @__PURE__ */ e(A, { bold: !0, variant: "body2", children: B(v ?? 0, "0,0.00") })
|
|
1074
|
-
] });
|
|
1075
|
-
return /* @__PURE__ */ s(m.Fragment, { children: [
|
|
1076
|
-
/* @__PURE__ */ e(_e, { sx: { px: t ? 0 : 24 }, children: t ? /* @__PURE__ */ e(St, { onClick: () => l(h), children: C }) : C }),
|
|
1077
|
-
f !== p.length - 1 && /* @__PURE__ */ e(ae, { variant: "inset" })
|
|
1078
|
-
] }, h.guid);
|
|
1079
|
-
}),
|
|
1080
|
-
/* @__PURE__ */ e(ae, {})
|
|
1081
|
-
]
|
|
1082
|
-
},
|
|
1083
|
-
d
|
|
1084
|
-
);
|
|
1085
|
-
}) }) : null;
|
|
1086
|
-
}, Vt = w(Jo), er = ({ loadAccounts: t, loadMoreLabel: n }) => {
|
|
1087
|
-
const o = W(), { config: r } = qe(), { connect: i, finstrong: a } = S(), { accounts: l } = S(), { selectedAccounts: c } = ne(), [d, p] = m.useState(!1), [u, h] = m.useState(!1), f = m.useMemo(
|
|
1088
|
-
() => c.filter(
|
|
1089
|
-
(C) => t ? t.includes(C.account_type) : !0
|
|
1090
|
-
),
|
|
1091
|
-
[c, t]
|
|
1092
|
-
), v = m.useMemo(() => f.slice(0, 3), [f]), x = (C) => {
|
|
1093
|
-
const { firstValue: b } = Mt(
|
|
1094
|
-
C,
|
|
1095
|
-
l,
|
|
1096
|
-
r.display_available_balance_in_accounts
|
|
1097
|
-
);
|
|
1098
|
-
return b;
|
|
1099
|
-
};
|
|
1100
|
-
return f.length >= 1 ? /* @__PURE__ */ s(H, { children: [
|
|
1101
|
-
/* @__PURE__ */ e(M, { sx: { border: `1px solid ${o.palette.divider}`, borderRadius: 2 }, children: v.map((C, b) => /* @__PURE__ */ s(m.Fragment, { children: [
|
|
1102
|
-
/* @__PURE__ */ s(_e, { sx: { px: 24 }, children: [
|
|
1103
|
-
/* @__PURE__ */ e(Ye, { children: /* @__PURE__ */ e(yt, { alt: "MX", institutionGuid: C.institution_guid ?? "" }) }),
|
|
1104
|
-
/* @__PURE__ */ e(
|
|
1105
|
-
me,
|
|
1106
|
-
{
|
|
1107
|
-
primary: `${kt(C, {
|
|
1108
|
-
allowNickname: r?.show_account_nicknames_in_master
|
|
1109
|
-
})}
|
|
1110
|
-
${C.account_number ? ` *${C.account_number}` : ""}`,
|
|
1111
|
-
slotProps: { primary: { noWrap: !0, pr: 4, variant: "body1" } }
|
|
1112
|
-
}
|
|
1113
|
-
),
|
|
1114
|
-
/* @__PURE__ */ e(A, { bold: !0, variant: "body2", children: B(x(C), "0,0.00") })
|
|
1115
|
-
] }),
|
|
1116
|
-
b < v.length - 1 && /* @__PURE__ */ e(ae, { variant: "inset" })
|
|
1117
|
-
] }, C.guid)) }),
|
|
1118
|
-
f.length > 3 && /* @__PURE__ */ s(H, { children: [
|
|
1119
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
1120
|
-
E,
|
|
1121
|
-
{
|
|
1122
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
1123
|
-
onClick: () => p(!0),
|
|
1124
|
-
size: "small",
|
|
1125
|
-
sx: { my: 0, px: 16, py: 12, width: "100%" },
|
|
1126
|
-
children: /* @__PURE__ */ s(D, { bold: !0, variant: "body1", children: [
|
|
1127
|
-
f.length - 3,
|
|
1128
|
-
" ",
|
|
1129
|
-
n
|
|
1130
|
-
] })
|
|
1131
|
-
}
|
|
1132
|
-
) }),
|
|
1133
|
-
/* @__PURE__ */ e(ie, { isOpen: d, onClose: () => p(!1), title: a.accounts, children: /* @__PURE__ */ e(Vt, { loadAccounts: t }) })
|
|
1134
|
-
] })
|
|
1135
|
-
] }) : /* @__PURE__ */ s(H, { children: [
|
|
1136
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
1137
|
-
E,
|
|
1138
|
-
{
|
|
1139
|
-
onClick: () => h(!0),
|
|
1140
|
-
size: "small",
|
|
1141
|
-
sx: { my: 0, px: 16, py: 12, width: "100%" },
|
|
1142
|
-
variant: "contained",
|
|
1143
|
-
children: /* @__PURE__ */ e(D, { bold: !0, variant: "body1", children: a.connect_more_accounts_button })
|
|
1144
|
-
}
|
|
1145
|
-
) }),
|
|
1146
|
-
/* @__PURE__ */ e(
|
|
1147
|
-
se,
|
|
1148
|
-
{
|
|
1149
|
-
onClose: () => h(!1),
|
|
1150
|
-
showConnectWidget: u,
|
|
1151
|
-
title: i.mini_title
|
|
1152
|
-
}
|
|
1153
|
-
)
|
|
1154
|
-
] });
|
|
1155
|
-
}, jt = w(er), Me = ({ balance: t, title: n, sx: o }) => /* @__PURE__ */ s(
|
|
1156
|
-
_,
|
|
1157
|
-
{
|
|
1158
|
-
sx: {
|
|
1159
|
-
alignItems: "center",
|
|
1160
|
-
backgroundColor: "background.default",
|
|
1161
|
-
borderRadius: 2,
|
|
1162
|
-
height: 72,
|
|
1163
|
-
justifyContent: "center",
|
|
1164
|
-
p: 12,
|
|
1165
|
-
...o
|
|
1166
|
-
},
|
|
1167
|
-
children: [
|
|
1168
|
-
typeof t == "number" ? /* @__PURE__ */ e(A, { variant: "h2", children: B(t, "0,0.00") }) : t,
|
|
1169
|
-
/* @__PURE__ */ e(A, { color: "text.secondary", fontWeight: "400", variant: "subtitle2", children: n })
|
|
1170
|
-
]
|
|
1171
|
-
}
|
|
1172
|
-
);
|
|
1173
|
-
var R = /* @__PURE__ */ ((t) => (t[t.ConnectAccounts = 1] = "ConnectAccounts", t[t.MonthlyIncome = 2] = "MonthlyIncome", t[t.Birthday = 3] = "Birthday", t[t.CreditScore = 4] = "CreditScore", t))(R || {}), Ie = /* @__PURE__ */ ((t) => (t[t.Months = 1] = "Months", t[t.Years = 2] = "Years", t[t.Days = 3] = "Days", t))(Ie || {}), te = /* @__PURE__ */ ((t) => (t[t.Monthly = 1] = "Monthly", t[t.BiWeekly = 2] = "BiWeekly", t[t.Weekly = 3] = "Weekly", t[t.Daily = 4] = "Daily", t))(te || {});
|
|
1174
|
-
const tr = ({ total: t }) => {
|
|
1175
|
-
const { finstrong: n } = S(), o = [
|
|
1176
|
-
{ id: te.Monthly, label: n.maintain_emergency_savings_monthly },
|
|
1177
|
-
{ id: te.BiWeekly, label: n.maintain_emergency_savings_bi_weekly },
|
|
1178
|
-
{ id: te.Weekly, label: n.maintain_emergency_savings_weekly },
|
|
1179
|
-
{ id: te.Daily, label: n.maintain_emergency_savings_daily }
|
|
1180
|
-
], r = {
|
|
1181
|
-
[te.Monthly]: n.maintain_emergency_savings_estimated_period_monthly,
|
|
1182
|
-
[te.BiWeekly]: n.maintain_emergency_savings_estimated_period_bi_weekly,
|
|
1183
|
-
[te.Weekly]: n.maintain_emergency_savings_estimated_period_weekly,
|
|
1184
|
-
[te.Daily]: n.maintain_emergency_savings_estimated_period_daily
|
|
1185
|
-
}, i = [
|
|
1186
|
-
{ id: Ie.Months, label: n.maintain_emergency_savings_months },
|
|
1187
|
-
{ id: Ie.Years, label: n.maintain_emergency_savings_years },
|
|
1188
|
-
{ id: Ie.Days, label: n.maintain_emergency_savings_days }
|
|
1189
|
-
], a = Math.ceil((t + 1) / 1e3) * 1e3, [l, c] = m.useState(0), [d, p] = m.useState(mt(t)), [u, h] = m.useState(
|
|
1190
|
-
mt(t)
|
|
1191
|
-
), [f, v] = m.useState(a), [x, C] = m.useState(No(t)), [b, k] = m.useState(Ie.Months);
|
|
1192
|
-
m.useEffect(() => {
|
|
1193
|
-
c(
|
|
1194
|
-
_t({
|
|
1195
|
-
contribution: u,
|
|
1196
|
-
goalAmount: f,
|
|
1197
|
-
goalPeriod: x,
|
|
1198
|
-
targetPeriod: b,
|
|
1199
|
-
totalSaved: t
|
|
1200
|
-
})
|
|
1201
|
-
), p(u);
|
|
1202
|
-
}, []);
|
|
1203
|
-
const g = (y) => {
|
|
1204
|
-
y.preventDefault(), c(
|
|
1205
|
-
_t({
|
|
1206
|
-
contribution: u,
|
|
1207
|
-
goalAmount: f,
|
|
1208
|
-
goalPeriod: x,
|
|
1209
|
-
targetPeriod: b,
|
|
1210
|
-
totalSaved: t
|
|
1211
|
-
})
|
|
1212
|
-
), p(u);
|
|
1213
|
-
};
|
|
1214
|
-
return /* @__PURE__ */ e(Y, { children: /* @__PURE__ */ e("form", { onSubmit: g, children: /* @__PURE__ */ s(_, { sx: { gap: 24, pb: 24, pt: 16, px: 16 }, children: [
|
|
1215
|
-
/* @__PURE__ */ e(
|
|
1216
|
-
Me,
|
|
1217
|
-
{
|
|
1218
|
-
balance: /* @__PURE__ */ s(_, { sx: { flexDirection: "row", height: 32 }, children: [
|
|
1219
|
-
/* @__PURE__ */ e(D, { variant: "h2", children: B(l, "0,0") }),
|
|
1220
|
-
/* @__PURE__ */ s(D, { sx: { alignSelf: "end", height: 24 }, variant: "subtitle2", children: [
|
|
1221
|
-
"/",
|
|
1222
|
-
r[d]
|
|
1223
|
-
] })
|
|
1224
|
-
] }),
|
|
1225
|
-
title: n.maintain_emergency_savings_estimated_contribution
|
|
1226
|
-
}
|
|
1227
|
-
),
|
|
1228
|
-
/* @__PURE__ */ e(
|
|
1229
|
-
Pe,
|
|
1230
|
-
{
|
|
1231
|
-
"aria-label": n.maintain_emergency_savings_savings_goal,
|
|
1232
|
-
helperText: z(
|
|
1233
|
-
n.maintain_emergency_savings_suggested_goal,
|
|
1234
|
-
B(a, "0,0")
|
|
1235
|
-
),
|
|
1236
|
-
label: n.maintain_emergency_savings_savings_goal,
|
|
1237
|
-
onChange: (y) => {
|
|
1238
|
-
y.target.value && v(Number(y.target.value.replace(/[^0-9]/g, "")));
|
|
1239
|
-
},
|
|
1240
|
-
slotProps: {
|
|
1241
|
-
htmlInput: {
|
|
1242
|
-
noValidate: !0,
|
|
1243
|
-
pattern: "[0-9]*"
|
|
1244
|
-
}
|
|
1245
|
-
},
|
|
1246
|
-
value: f ? B(f, "0,0") : ""
|
|
1247
|
-
}
|
|
1248
|
-
),
|
|
1249
|
-
/* @__PURE__ */ e(
|
|
1250
|
-
dt,
|
|
1251
|
-
{
|
|
1252
|
-
label: n.maintain_emergency_savings_how_often_contribute,
|
|
1253
|
-
onChange: h,
|
|
1254
|
-
options: o,
|
|
1255
|
-
required: !0,
|
|
1256
|
-
value: u
|
|
1257
|
-
}
|
|
1258
|
-
),
|
|
1259
|
-
/* @__PURE__ */ s(_, { sx: { flexDirection: "row" }, children: [
|
|
1260
|
-
/* @__PURE__ */ e(
|
|
1261
|
-
Pe,
|
|
1262
|
-
{
|
|
1263
|
-
"aria-label": n.maintain_emergency_savings_meet_your_goal_within,
|
|
1264
|
-
fullWidth: !0,
|
|
1265
|
-
label: n.maintain_emergency_savings_meet_your_goal_within,
|
|
1266
|
-
onChange: (y) => {
|
|
1267
|
-
isNaN(Number(y.target.value)) || C(Number(y.target.value));
|
|
1268
|
-
},
|
|
1269
|
-
slotProps: {
|
|
1270
|
-
htmlInput: {
|
|
1271
|
-
noValidate: !0,
|
|
1272
|
-
pattern: "[0-9]*"
|
|
1273
|
-
}
|
|
1274
|
-
},
|
|
1275
|
-
sx: {
|
|
1276
|
-
"& .MuiInputBase-root": {
|
|
1277
|
-
borderBottomRightRadius: 0,
|
|
1278
|
-
borderTopRightRadius: 0,
|
|
1279
|
-
fieldset: {
|
|
1280
|
-
borderRightWidth: 0.5
|
|
1281
|
-
}
|
|
1282
|
-
}
|
|
1283
|
-
},
|
|
1284
|
-
value: x
|
|
1285
|
-
}
|
|
1286
|
-
),
|
|
1287
|
-
/* @__PURE__ */ e(
|
|
1288
|
-
M,
|
|
1289
|
-
{
|
|
1290
|
-
sx: {
|
|
1291
|
-
"& .MuiInputBase-root": {
|
|
1292
|
-
borderBottomLeftRadius: 0,
|
|
1293
|
-
borderTopLeftRadius: 0,
|
|
1294
|
-
fieldset: {
|
|
1295
|
-
borderLeftWidth: 0.5
|
|
1296
|
-
}
|
|
1297
|
-
}
|
|
1298
|
-
},
|
|
1299
|
-
children: /* @__PURE__ */ e(dt, { label: "", onChange: k, options: i, value: b })
|
|
1300
|
-
}
|
|
1301
|
-
)
|
|
1302
|
-
] }),
|
|
1303
|
-
/* @__PURE__ */ e(E, { fullWidth: !0, onClick: g, type: "submit", variant: "contained", children: n.maintain_emergency_savings_calculate })
|
|
1304
|
-
] }) }) });
|
|
1305
|
-
}, nr = w(tr), or = () => {
|
|
1306
|
-
const { savingsAccounts: t } = ke(), { finstrong: n } = S(), [o, r] = m.useState(!1), i = m.useMemo(
|
|
1307
|
-
() => t.reduce((a, l) => a + (l.balance ?? 0), 0),
|
|
1308
|
-
[t]
|
|
1309
|
-
);
|
|
1310
|
-
return /* @__PURE__ */ s(_, { sx: { gap: 24 }, children: [
|
|
1311
|
-
/* @__PURE__ */ e(Y, { sx: { bgcolor: "background.paper", p: 16 }, children: /* @__PURE__ */ s(_, { sx: { gap: 16 }, children: [
|
|
1312
|
-
/* @__PURE__ */ e(Me, { balance: i, title: n.maintain_emergency_savings_your_savings }),
|
|
1313
|
-
t.length ? /* @__PURE__ */ e(
|
|
1314
|
-
jt,
|
|
1315
|
-
{
|
|
1316
|
-
loadAccounts: [je.SAVINGS],
|
|
1317
|
-
loadMoreLabel: n.connect_more_accounts_button
|
|
1318
|
-
}
|
|
1319
|
-
) : /* @__PURE__ */ e(E, { onClick: () => r(!0), variant: "contained", children: n.connect_more_accounts_button })
|
|
1320
|
-
] }) }),
|
|
1321
|
-
/* @__PURE__ */ e(nr, { total: i }),
|
|
1322
|
-
/* @__PURE__ */ e(
|
|
1323
|
-
se,
|
|
1324
|
-
{
|
|
1325
|
-
onClose: () => r(!1),
|
|
1326
|
-
showConnectWidget: o,
|
|
1327
|
-
title: n.connect_more_accounts_button
|
|
1328
|
-
}
|
|
1329
|
-
)
|
|
1330
|
-
] });
|
|
1331
|
-
}, rr = w(or), Ne = w(
|
|
1332
|
-
({ label: t, value: n, status: o, bottomComponent: r, statusBarData: i = [] }) => {
|
|
1333
|
-
const a = {
|
|
1334
|
-
GOOD: {
|
|
1335
|
-
progressBarColor: "primary.main"
|
|
1336
|
-
},
|
|
1337
|
-
FAIR: {
|
|
1338
|
-
progressBarColor: "warning.main"
|
|
1339
|
-
},
|
|
1340
|
-
OFF_TRACK: {
|
|
1341
|
-
progressBarColor: "error.main"
|
|
1342
|
-
},
|
|
1343
|
-
MISSING: {
|
|
1344
|
-
progressBarColor: "text.secondary"
|
|
1345
|
-
}
|
|
1346
|
-
}[o], l = i.map((c, d) => i.length === 2 ? {
|
|
1347
|
-
color: d === 0 ? "primary.main" : c.color || a?.progressBarColor,
|
|
1348
|
-
percentage: c.percentage
|
|
1349
|
-
} : {
|
|
1350
|
-
color: c.color || a?.progressBarColor,
|
|
1351
|
-
percentage: c.percentage
|
|
1352
|
-
});
|
|
1353
|
-
return /* @__PURE__ */ s(
|
|
1354
|
-
_,
|
|
1355
|
-
{
|
|
1356
|
-
sx: {
|
|
1357
|
-
backgroundColor: "background.paper",
|
|
1358
|
-
gap: 8,
|
|
1359
|
-
p: 24,
|
|
1360
|
-
borderBottom: "1px solid",
|
|
1361
|
-
borderColor: "divider"
|
|
1362
|
-
},
|
|
1363
|
-
children: [
|
|
1364
|
-
/* @__PURE__ */ s(_, { sx: { gap: 2 }, children: [
|
|
1365
|
-
/* @__PURE__ */ e(D, { variant: "body2", children: t }),
|
|
1366
|
-
/* @__PURE__ */ s(
|
|
1367
|
-
_,
|
|
1368
|
-
{
|
|
1369
|
-
sx: {
|
|
1370
|
-
alignItems: "center",
|
|
1371
|
-
flexDirection: "row",
|
|
1372
|
-
gap: 12,
|
|
1373
|
-
justifyContent: "space-between"
|
|
1374
|
-
},
|
|
1375
|
-
children: [
|
|
1376
|
-
/* @__PURE__ */ e(Ge, { children: n }),
|
|
1377
|
-
/* @__PURE__ */ e($e, { status: o })
|
|
1378
|
-
]
|
|
1379
|
-
}
|
|
1380
|
-
)
|
|
1381
|
-
] }),
|
|
1382
|
-
/* @__PURE__ */ s(_, { children: [
|
|
1383
|
-
/* @__PURE__ */ e(zn, { data: l, height: 16 }),
|
|
1384
|
-
r
|
|
1385
|
-
] })
|
|
1386
|
-
]
|
|
1387
|
-
}
|
|
1388
|
-
);
|
|
1389
|
-
}
|
|
1390
|
-
), ar = {
|
|
1391
|
-
sticky_label: "You have saved"
|
|
1392
|
-
}, ir = ["$0", "$250", "$500", "$750", "$1k"], sr = () => {
|
|
1393
|
-
const { healthScore: t } = L(), n = Math.round(t.emergency_savings_on_hand ?? NaN) || null, o = $o(n), r = Pt(n);
|
|
1394
|
-
return /* @__PURE__ */ e(
|
|
1395
|
-
Ne,
|
|
1396
|
-
{
|
|
1397
|
-
bottomComponent: /* @__PURE__ */ e(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: ir.map((i) => /* @__PURE__ */ s(_, { sx: { alignItems: "center", height: 24, width: 30 }, children: [
|
|
1398
|
-
/* @__PURE__ */ e(
|
|
1399
|
-
ae,
|
|
1400
|
-
{
|
|
1401
|
-
orientation: "vertical",
|
|
1402
|
-
sx: {
|
|
1403
|
-
borderWidth: 0.5,
|
|
1404
|
-
height: 8,
|
|
1405
|
-
mt: 2
|
|
1406
|
-
}
|
|
1407
|
-
}
|
|
1408
|
-
),
|
|
1409
|
-
/* @__PURE__ */ e(D, { variant: "caption", children: i })
|
|
1410
|
-
] }, i)) }),
|
|
1411
|
-
label: ar.sticky_label,
|
|
1412
|
-
status: r,
|
|
1413
|
-
statusBarData: [
|
|
1414
|
-
{
|
|
1415
|
-
percentage: o
|
|
1416
|
-
}
|
|
1417
|
-
],
|
|
1418
|
-
value: B(n ?? 0, "0,0.00")
|
|
1419
|
-
}
|
|
1420
|
-
);
|
|
1421
|
-
}, cr = w(sr), ze = ({
|
|
1422
|
-
transactions: t = [],
|
|
1423
|
-
amountColor: n = "success.main",
|
|
1424
|
-
amountPosition: o = "center",
|
|
1425
|
-
formatDate: r = Dt,
|
|
1426
|
-
secondaryIcon: i
|
|
1427
|
-
}) => {
|
|
1428
|
-
const a = W(), { connect: l, finstrong: c, categories: d } = S(), [p, u] = m.useState(!1), [h, f] = m.useState(!1), { getCategoryName: v } = Qe(), x = 3, C = t.length > x, b = t.length - x;
|
|
1429
|
-
let k = t;
|
|
1430
|
-
return C && (k = t.map((g) => ({
|
|
1431
|
-
...g,
|
|
1432
|
-
category: d.default_categories[g.top_level_category_guid]?.replace(
|
|
1433
|
-
/&/g,
|
|
1434
|
-
"&"
|
|
1435
|
-
) ?? v(g.top_level_category_guid)
|
|
1436
|
-
})).sort((g, y) => y.date - g.date)), !t || t.length === 0 ? /* @__PURE__ */ s(H, { children: [
|
|
1437
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
1438
|
-
E,
|
|
1439
|
-
{
|
|
1440
|
-
onClick: () => f(!0),
|
|
1441
|
-
size: "small",
|
|
1442
|
-
sx: { my: 0, px: 16, py: 12, width: "100%" },
|
|
1443
|
-
variant: "contained",
|
|
1444
|
-
children: /* @__PURE__ */ e(D, { bold: !0, variant: "body1", children: c.connect_more_accounts_button })
|
|
1445
|
-
}
|
|
1446
|
-
) }),
|
|
1447
|
-
/* @__PURE__ */ e(
|
|
1448
|
-
se,
|
|
1449
|
-
{
|
|
1450
|
-
onClose: () => f(!1),
|
|
1451
|
-
showConnectWidget: h,
|
|
1452
|
-
title: l.mini_title
|
|
1453
|
-
}
|
|
1454
|
-
)
|
|
1455
|
-
] }) : /* @__PURE__ */ s(_, { sx: { gap: 16 }, children: [
|
|
1456
|
-
/* @__PURE__ */ e(M, { sx: { border: `1px solid ${a.palette.divider}`, borderRadius: 2 }, children: t.slice(0, x).sort((g, y) => y.date - g.date).map((g, y) => /* @__PURE__ */ s(
|
|
1457
|
-
_,
|
|
1458
|
-
{
|
|
1459
|
-
sx: {
|
|
1460
|
-
alignItems: "center",
|
|
1461
|
-
flexDirection: "row",
|
|
1462
|
-
gap: 16,
|
|
1463
|
-
pl: 24,
|
|
1464
|
-
pt: 14
|
|
1465
|
-
},
|
|
1466
|
-
children: [
|
|
1467
|
-
/* @__PURE__ */ e(_, { sx: { pb: 14 }, children: /* @__PURE__ */ e(
|
|
1468
|
-
un,
|
|
1469
|
-
{
|
|
1470
|
-
categoryGuid: g.top_level_category_guid || "",
|
|
1471
|
-
merchantGuid: g.merchant_guid || "",
|
|
1472
|
-
size: 32
|
|
1473
|
-
}
|
|
1474
|
-
) }),
|
|
1475
|
-
/* @__PURE__ */ s(
|
|
1476
|
-
_,
|
|
1477
|
-
{
|
|
1478
|
-
sx: {
|
|
1479
|
-
alignItems: o,
|
|
1480
|
-
flexDirection: "row",
|
|
1481
|
-
gap: 12,
|
|
1482
|
-
justifyContent: "space-between",
|
|
1483
|
-
...y < Math.min(t.length, x) - 1 && {
|
|
1484
|
-
borderBottom: `1px solid ${a.palette.divider}`
|
|
1485
|
-
},
|
|
1486
|
-
pb: 13,
|
|
1487
|
-
pr: 24,
|
|
1488
|
-
width: "100%"
|
|
1489
|
-
},
|
|
1490
|
-
children: [
|
|
1491
|
-
/* @__PURE__ */ s(_, { children: [
|
|
1492
|
-
/* @__PURE__ */ e(A, { bold: !0, variant: "body1", children: g.description }),
|
|
1493
|
-
/* @__PURE__ */ s(_, { sx: { flexDirection: "row", alignItems: "center", gap: 4 }, children: [
|
|
1494
|
-
!!i && i,
|
|
1495
|
-
/* @__PURE__ */ e(D, { variant: "caption", children: r(g.date) })
|
|
1496
|
-
] })
|
|
1497
|
-
] }),
|
|
1498
|
-
/* @__PURE__ */ e(A, { bold: !0, sx: { color: n, flexShrink: 0 }, variant: "body1", children: B(g.amount, "0,0.00") })
|
|
1499
|
-
]
|
|
1500
|
-
},
|
|
1501
|
-
g.guid || y
|
|
1502
|
-
)
|
|
1503
|
-
]
|
|
1504
|
-
},
|
|
1505
|
-
y
|
|
1506
|
-
)) }),
|
|
1507
|
-
C && /* @__PURE__ */ s(H, { children: [
|
|
1508
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
1509
|
-
E,
|
|
1510
|
-
{
|
|
1511
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
1512
|
-
onClick: () => u(!0),
|
|
1513
|
-
size: "small",
|
|
1514
|
-
sx: { my: 0, px: 16, py: 12, width: "100%" },
|
|
1515
|
-
children: /* @__PURE__ */ s(D, { bold: !0, variant: "body1", children: [
|
|
1516
|
-
b,
|
|
1517
|
-
" ",
|
|
1518
|
-
c.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_more_transactions
|
|
1519
|
-
] })
|
|
1520
|
-
}
|
|
1521
|
-
) }),
|
|
1522
|
-
/* @__PURE__ */ e(
|
|
1523
|
-
ie,
|
|
1524
|
-
{
|
|
1525
|
-
isOpen: p,
|
|
1526
|
-
onClose: () => u(!1),
|
|
1527
|
-
title: c.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_transactions,
|
|
1528
|
-
children: /* @__PURE__ */ e(Hn, { transaction: k })
|
|
1529
|
-
}
|
|
1530
|
-
)
|
|
1531
|
-
] })
|
|
1532
|
-
] });
|
|
1533
|
-
}, lr = () => {
|
|
1534
|
-
const [t, n] = m.useState(!0), {
|
|
1535
|
-
finstrong: {
|
|
1536
|
-
key_indicators_spend: { pay_bills_on_time_drawer: o }
|
|
1537
|
-
}
|
|
1538
|
-
} = S(), { getSpendingFeeTransactions: r, allTransactions: i } = L();
|
|
1539
|
-
return m.useEffect(() => {
|
|
1540
|
-
r().finally(() => n(!1));
|
|
1541
|
-
}, []), t ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ e(H, { children: i.spendingFee.length === 0 ? /* @__PURE__ */ s(
|
|
1542
|
-
Y,
|
|
1543
|
-
{
|
|
1544
|
-
sx: {
|
|
1545
|
-
backgroundColor: "background.paper",
|
|
1546
|
-
pb: 48,
|
|
1547
|
-
pt: 32,
|
|
1548
|
-
px: 24,
|
|
1549
|
-
textAlign: "center",
|
|
1550
|
-
width: "100%"
|
|
1551
|
-
},
|
|
1552
|
-
children: [
|
|
1553
|
-
/* @__PURE__ */ e(fn, { filled: !0, size: 48, sx: { color: "success.main" } }),
|
|
1554
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 4, pt: 24 }, children: [
|
|
1555
|
-
/* @__PURE__ */ e(j, { children: o.pay_bills_on_time_zero_fees_title }),
|
|
1556
|
-
/* @__PURE__ */ e(A, { variant: "subtitle1", children: o.pay_bills_on_time_zero_fees_description })
|
|
1557
|
-
] })
|
|
1558
|
-
]
|
|
1559
|
-
}
|
|
1560
|
-
) : /* @__PURE__ */ s(
|
|
1561
|
-
Y,
|
|
1562
|
-
{
|
|
1563
|
-
sx: {
|
|
1564
|
-
p: 16,
|
|
1565
|
-
width: "100%",
|
|
1566
|
-
backgroundColor: "background.paper"
|
|
1567
|
-
},
|
|
1568
|
-
children: [
|
|
1569
|
-
/* @__PURE__ */ e(j, { sx: { textAlign: "left", pb: 16 }, children: o.pay_bills_on_time_sticky_fee_count }),
|
|
1570
|
-
/* @__PURE__ */ e(
|
|
1571
|
-
ze,
|
|
1572
|
-
{
|
|
1573
|
-
amountColor: "text.primary",
|
|
1574
|
-
amountPosition: "flex-start",
|
|
1575
|
-
formatDate: (a) => Xe(new Date(a * 1e3), Ue.MONTH_DAY),
|
|
1576
|
-
secondaryIcon: /* @__PURE__ */ e(bn, { color: "error", filled: !0, size: 12 }),
|
|
1577
|
-
transactions: i.spendingFee
|
|
1578
|
-
}
|
|
1579
|
-
)
|
|
1580
|
-
]
|
|
1581
|
-
}
|
|
1582
|
-
) });
|
|
1583
|
-
}, dr = w(lr), pr = () => {
|
|
1584
|
-
const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_spend: o } = n, { pay_bills_on_time_drawer: r } = o, i = Wt(t.spending_fee_transaction_count);
|
|
1585
|
-
return /* @__PURE__ */ s(
|
|
1586
|
-
_,
|
|
1587
|
-
{
|
|
1588
|
-
sx: {
|
|
1589
|
-
p: 24,
|
|
1590
|
-
backgroundColor: "background.paper",
|
|
1591
|
-
borderBottom: "1px solid",
|
|
1592
|
-
borderColor: "divider"
|
|
1593
|
-
},
|
|
1594
|
-
children: [
|
|
1595
|
-
/* @__PURE__ */ e(A, { variant: "body2", children: r.pay_bills_on_time_sticky_description }),
|
|
1596
|
-
/* @__PURE__ */ s(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
1597
|
-
/* @__PURE__ */ s(Ge, { children: [
|
|
1598
|
-
t.spending_fee_transaction_count,
|
|
1599
|
-
" ",
|
|
1600
|
-
r.pay_bills_on_time_sticky_fee_count
|
|
1601
|
-
] }),
|
|
1602
|
-
/* @__PURE__ */ e($e, { status: i })
|
|
1603
|
-
] })
|
|
1604
|
-
]
|
|
1605
|
-
}
|
|
1606
|
-
);
|
|
1607
|
-
}, ur = w(pr), _r = () => {
|
|
1608
|
-
const { savingsAndCheckingAccountsBalance: t } = ke(), { finstrong: n } = S();
|
|
1609
|
-
return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
|
|
1610
|
-
/* @__PURE__ */ e(
|
|
1611
|
-
Me,
|
|
1612
|
-
{
|
|
1613
|
-
balance: t,
|
|
1614
|
-
title: n.key_indicators_save.drawer_available_balance
|
|
1615
|
-
}
|
|
1616
|
-
),
|
|
1617
|
-
/* @__PURE__ */ e(
|
|
1618
|
-
jt,
|
|
1619
|
-
{
|
|
1620
|
-
loadAccounts: [je.SAVINGS, je.CHECKING],
|
|
1621
|
-
loadMoreLabel: n.more_accounts
|
|
1622
|
-
}
|
|
1623
|
-
)
|
|
1624
|
-
] });
|
|
1625
|
-
}, mr = w(_r), hr = () => {
|
|
1626
|
-
const { finstrong: t } = S(), {
|
|
1627
|
-
isSpendingInitialized: n,
|
|
1628
|
-
healthScore: o,
|
|
1629
|
-
allTransactions: r,
|
|
1630
|
-
loadSpendTransactions: i,
|
|
1631
|
-
loadDebtSpend: a
|
|
1632
|
-
} = L();
|
|
1633
|
-
m.useEffect(() => {
|
|
1634
|
-
n || (i().finally(), a().finally());
|
|
1635
|
-
}, [n]);
|
|
1636
|
-
const l = m.useMemo(() => {
|
|
1637
|
-
const c = r.spend.map((p) => p.transaction), d = r.debtSpend.map((p) => p.transaction);
|
|
1638
|
-
return [...c, ...d];
|
|
1639
|
-
}, [r.spend, r.debtSpend]);
|
|
1640
|
-
return n ? /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
|
|
1641
|
-
/* @__PURE__ */ e(
|
|
1642
|
-
Me,
|
|
1643
|
-
{
|
|
1644
|
-
balance: o.ninety_day_spend / 90,
|
|
1645
|
-
title: t.key_indicators_save.drawer_daily_spend
|
|
1646
|
-
}
|
|
1647
|
-
),
|
|
1648
|
-
/* @__PURE__ */ e(ze, { amountColor: "text.primary", transactions: l })
|
|
1649
|
-
] }) : /* @__PURE__ */ e(ee, {});
|
|
1650
|
-
}, gr = w(hr), yr = () => {
|
|
1651
|
-
const [t, n] = m.useState(0), { finstrong: o } = S();
|
|
1652
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
1653
|
-
/* @__PURE__ */ s(Y, { children: [
|
|
1654
|
-
/* @__PURE__ */ s(
|
|
1655
|
-
et,
|
|
1656
|
-
{
|
|
1657
|
-
"aria-label": o.key_indicators_save.drawer_title,
|
|
1658
|
-
centered: !0,
|
|
1659
|
-
onChange: (r, i) => n(i),
|
|
1660
|
-
selectionFollowsFocus: !0,
|
|
1661
|
-
sx: { mb: 0 },
|
|
1662
|
-
value: t,
|
|
1663
|
-
variant: "fullWidth",
|
|
1664
|
-
children: [
|
|
1665
|
-
/* @__PURE__ */ e(
|
|
1666
|
-
he,
|
|
1667
|
-
{
|
|
1668
|
-
"aria-controls": "available-details-tabpanel-0",
|
|
1669
|
-
label: o.key_indicators_save.drawer_available,
|
|
1670
|
-
sx: { minHeight: 44 }
|
|
1671
|
-
}
|
|
1672
|
-
),
|
|
1673
|
-
/* @__PURE__ */ e(
|
|
1674
|
-
he,
|
|
1675
|
-
{
|
|
1676
|
-
"aria-controls": "spending-details-tabpanel-1",
|
|
1677
|
-
label: o.key_indicators_save.drawer_spending,
|
|
1678
|
-
sx: { minHeight: 44 }
|
|
1679
|
-
}
|
|
1680
|
-
)
|
|
1681
|
-
]
|
|
1682
|
-
}
|
|
1683
|
-
),
|
|
1684
|
-
/* @__PURE__ */ e(ge, { index: 0, name: "available-details", value: t, children: /* @__PURE__ */ e(mr, {}) }),
|
|
1685
|
-
/* @__PURE__ */ e(ge, { index: 1, name: "spending-details", value: t, children: /* @__PURE__ */ e(gr, {}) })
|
|
1686
|
-
] }),
|
|
1687
|
-
/* @__PURE__ */ e(ot, { chartFor: "savingsOverTime" })
|
|
1688
|
-
] });
|
|
1689
|
-
}, fr = w(yr), br = () => {
|
|
1690
|
-
const { finstrong: t } = S(), { healthScore: n } = L(), o = n.months_of_cash_on_hand, r = Lt(o ? o * 30 : null), i = 183 / 6, a = Math.floor(o), l = Math.round((o - a) * i), c = o / 6 * 100;
|
|
1691
|
-
return /* @__PURE__ */ e(
|
|
1692
|
-
Ne,
|
|
1693
|
-
{
|
|
1694
|
-
bottomComponent: /* @__PURE__ */ e(
|
|
1695
|
-
_,
|
|
1696
|
-
{
|
|
1697
|
-
sx: {
|
|
1698
|
-
flexDirection: "row",
|
|
1699
|
-
height: 24,
|
|
1700
|
-
justifyContent: "space-between",
|
|
1701
|
-
mt: 2,
|
|
1702
|
-
px: 1
|
|
1703
|
-
},
|
|
1704
|
-
children: ["0 Mo", "1 Mo", "2 Mo", "3 Mo", "4 Mo", "5 Mo", "6 Mo"].map((p) => /* @__PURE__ */ s(
|
|
1705
|
-
_,
|
|
1706
|
-
{
|
|
1707
|
-
sx: {
|
|
1708
|
-
alignItems: "center",
|
|
1709
|
-
height: 24
|
|
1710
|
-
},
|
|
1711
|
-
children: [
|
|
1712
|
-
/* @__PURE__ */ e(
|
|
1713
|
-
ae,
|
|
1714
|
-
{
|
|
1715
|
-
orientation: "vertical",
|
|
1716
|
-
sx: {
|
|
1717
|
-
borderWidth: 1,
|
|
1718
|
-
height: 8
|
|
1719
|
-
}
|
|
1720
|
-
}
|
|
1721
|
-
),
|
|
1722
|
-
/* @__PURE__ */ e(D, { variant: "caption", children: p })
|
|
1723
|
-
]
|
|
1724
|
-
},
|
|
1725
|
-
p
|
|
1726
|
-
))
|
|
1727
|
-
}
|
|
1728
|
-
),
|
|
1729
|
-
label: t.key_indicators_save.drawer_progress_bar_label,
|
|
1730
|
-
status: r,
|
|
1731
|
-
statusBarData: [
|
|
1732
|
-
{
|
|
1733
|
-
percentage: `${c}%`
|
|
1734
|
-
}
|
|
1735
|
-
],
|
|
1736
|
-
value: z(t.key_indicators_save.drawer_progress_bar_value, a, l)
|
|
1737
|
-
}
|
|
1738
|
-
);
|
|
1739
|
-
}, xr = w(br), Cr = () => {
|
|
1740
|
-
const { healthScore: t } = L(), { finstrong: n } = S(), o = Ee(t.debt_to_income_ratio), r = Et(o);
|
|
1741
|
-
return /* @__PURE__ */ e(
|
|
1742
|
-
Ne,
|
|
1743
|
-
{
|
|
1744
|
-
bottomComponent: /* @__PURE__ */ s(
|
|
1745
|
-
_,
|
|
1746
|
-
{
|
|
1747
|
-
sx: {
|
|
1748
|
-
alignItems: "flex-end",
|
|
1749
|
-
flexDirection: "row",
|
|
1750
|
-
height: 24,
|
|
1751
|
-
justifyContent: "space-between",
|
|
1752
|
-
mt: 2,
|
|
1753
|
-
position: "relative"
|
|
1754
|
-
},
|
|
1755
|
-
children: [
|
|
1756
|
-
/* @__PURE__ */ e(
|
|
1757
|
-
M,
|
|
1758
|
-
{
|
|
1759
|
-
sx: {
|
|
1760
|
-
left: "30%",
|
|
1761
|
-
position: "absolute",
|
|
1762
|
-
transform: "translateX(-50%)"
|
|
1763
|
-
},
|
|
1764
|
-
children: /* @__PURE__ */ s(
|
|
1765
|
-
_,
|
|
1766
|
-
{
|
|
1767
|
-
sx: {
|
|
1768
|
-
alignItems: "center",
|
|
1769
|
-
flexDirection: "column",
|
|
1770
|
-
height: 24,
|
|
1771
|
-
justifyContent: "flex-end"
|
|
1772
|
-
},
|
|
1773
|
-
children: [
|
|
1774
|
-
/* @__PURE__ */ e(
|
|
1775
|
-
ae,
|
|
1776
|
-
{
|
|
1777
|
-
orientation: "vertical",
|
|
1778
|
-
sx: {
|
|
1779
|
-
borderWidth: 1,
|
|
1780
|
-
height: 8
|
|
1781
|
-
}
|
|
1782
|
-
}
|
|
1783
|
-
),
|
|
1784
|
-
/* @__PURE__ */ e(D, { sx: { color: "text.primary" }, variant: "caption", children: "30%" })
|
|
1785
|
-
]
|
|
1786
|
-
}
|
|
1787
|
-
)
|
|
1788
|
-
}
|
|
1789
|
-
),
|
|
1790
|
-
/* @__PURE__ */ e(
|
|
1791
|
-
M,
|
|
1792
|
-
{
|
|
1793
|
-
sx: {
|
|
1794
|
-
display: "flex",
|
|
1795
|
-
flexDirection: "column",
|
|
1796
|
-
height: 24,
|
|
1797
|
-
justifyContent: "center",
|
|
1798
|
-
marginLeft: "auto"
|
|
1799
|
-
},
|
|
1800
|
-
children: /* @__PURE__ */ e(D, { variant: "body2", children: t.debt_to_income_ratio ? z(
|
|
1801
|
-
n.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_description,
|
|
1802
|
-
o
|
|
1803
|
-
) : "-" })
|
|
1804
|
-
}
|
|
1805
|
-
)
|
|
1806
|
-
]
|
|
1807
|
-
}
|
|
1808
|
-
),
|
|
1809
|
-
label: n.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_sticky_title,
|
|
1810
|
-
status: r,
|
|
1811
|
-
statusBarData: [
|
|
1812
|
-
{
|
|
1813
|
-
percentage: `${o}%`
|
|
1814
|
-
}
|
|
1815
|
-
],
|
|
1816
|
-
value: B(t.ninety_day_debt_spend, "0,0.00")
|
|
1817
|
-
}
|
|
1818
|
-
);
|
|
1819
|
-
}, Sr = w(Cr), vr = () => {
|
|
1820
|
-
const { healthScore: t, allTransactions: n } = L(), { connect: o, finstrong: r } = S(), [i, a] = m.useState(!1);
|
|
1821
|
-
return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
|
|
1822
|
-
/* @__PURE__ */ e(
|
|
1823
|
-
Me,
|
|
1824
|
-
{
|
|
1825
|
-
balance: t.ninety_day_income,
|
|
1826
|
-
sx: { flexDirection: "column-reverse" },
|
|
1827
|
-
title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_income
|
|
1828
|
-
}
|
|
1829
|
-
),
|
|
1830
|
-
n.income.length ? (
|
|
1831
|
-
// TODO: Need to add More Transactions functionality
|
|
1832
|
-
/* @__PURE__ */ e(ze, { transactions: n.income.map((l) => l.transaction) })
|
|
1833
|
-
) : /* @__PURE__ */ e(
|
|
1834
|
-
E,
|
|
1835
|
-
{
|
|
1836
|
-
onClick: () => {
|
|
1837
|
-
a(!0);
|
|
1838
|
-
},
|
|
1839
|
-
variant: "contained",
|
|
1840
|
-
children: r.connect_more_accounts_button
|
|
1841
|
-
}
|
|
1842
|
-
),
|
|
1843
|
-
/* @__PURE__ */ e(
|
|
1844
|
-
se,
|
|
1845
|
-
{
|
|
1846
|
-
onClose: () => a(!1),
|
|
1847
|
-
showConnectWidget: i,
|
|
1848
|
-
title: o.mini_title
|
|
1849
|
-
}
|
|
1850
|
-
)
|
|
1851
|
-
] });
|
|
1852
|
-
}, wr = w(vr), kr = () => {
|
|
1853
|
-
const { allTransactions: t, healthScore: n } = L(), { connect: o, finstrong: r } = S(), [i, a] = m.useState(!1);
|
|
1854
|
-
return /* @__PURE__ */ s(_, { gap: 16, sx: { p: 16 }, children: [
|
|
1855
|
-
/* @__PURE__ */ e(
|
|
1856
|
-
Me,
|
|
1857
|
-
{
|
|
1858
|
-
balance: n.ninety_day_debt_spend,
|
|
1859
|
-
sx: { flexDirection: "column-reverse" },
|
|
1860
|
-
title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_payments
|
|
1861
|
-
}
|
|
1862
|
-
),
|
|
1863
|
-
t.debtSpend.length ? (
|
|
1864
|
-
//TODO: Need to add More Transactions functionality
|
|
1865
|
-
/* @__PURE__ */ e(
|
|
1866
|
-
ze,
|
|
1867
|
-
{
|
|
1868
|
-
amountColor: "text.primary",
|
|
1869
|
-
transactions: t.debtSpend.map((l) => l.transaction)
|
|
1870
|
-
}
|
|
1871
|
-
)
|
|
1872
|
-
) : /* @__PURE__ */ e(
|
|
1873
|
-
E,
|
|
1874
|
-
{
|
|
1875
|
-
onClick: () => {
|
|
1876
|
-
a(!0);
|
|
1877
|
-
},
|
|
1878
|
-
variant: "contained",
|
|
1879
|
-
children: r.connect_more_accounts_button
|
|
1880
|
-
}
|
|
1881
|
-
),
|
|
1882
|
-
/* @__PURE__ */ e(
|
|
1883
|
-
se,
|
|
1884
|
-
{
|
|
1885
|
-
onClose: () => a(!1),
|
|
1886
|
-
showConnectWidget: i,
|
|
1887
|
-
title: o.mini_title
|
|
1888
|
-
}
|
|
1889
|
-
)
|
|
1890
|
-
] });
|
|
1891
|
-
}, Mr = w(kr), Dr = ({
|
|
1892
|
-
color: t,
|
|
1893
|
-
data: n,
|
|
1894
|
-
series: o,
|
|
1895
|
-
style: r,
|
|
1896
|
-
...i
|
|
1897
|
-
}) => {
|
|
1898
|
-
const a = W(), l = m.useRef(null), c = m.useRef(null), [d, p] = m.useState(r.width || 0);
|
|
1899
|
-
m.useLayoutEffect(() => {
|
|
1900
|
-
p(r.width || 0);
|
|
1901
|
-
}, [r.width]), m.useLayoutEffect(() => {
|
|
1902
|
-
const C = new ResizeObserver(() => {
|
|
1903
|
-
window.requestAnimationFrame(() => {
|
|
1904
|
-
if (l.current) {
|
|
1905
|
-
const { width: b } = l.current.getBoundingClientRect(), k = b / 2, g = l.current.querySelector("text");
|
|
1906
|
-
g && g.setAttribute("transform", `translate(${k}, -8)`);
|
|
1907
|
-
}
|
|
1908
|
-
});
|
|
1909
|
-
});
|
|
1910
|
-
return l.current && C.observe(l.current), () => {
|
|
1911
|
-
l.current && C.unobserve(l.current);
|
|
1912
|
-
};
|
|
1913
|
-
}, []);
|
|
1914
|
-
const { formattedComparison: u, formattedMain: h } = n[o.index], f = o.type === 0 ? h : u, v = {
|
|
1915
|
-
...r,
|
|
1916
|
-
transition: "all 0.3s ease-in-out"
|
|
1917
|
-
}, x = `translate(${d / 2}, -5)`;
|
|
1918
|
-
return /* @__PURE__ */ s("g", { children: [
|
|
1919
|
-
/* @__PURE__ */ e("rect", { ...i, fill: t, ref: l, rx: 2, style: v }),
|
|
1920
|
-
/* @__PURE__ */ e(
|
|
1921
|
-
"text",
|
|
1922
|
-
{
|
|
1923
|
-
fill: a.palette.text.secondary,
|
|
1924
|
-
fontSize: 9,
|
|
1925
|
-
fontWeight: 400,
|
|
1926
|
-
ref: c,
|
|
1927
|
-
style: { transition: "transform 0.3s ease-in-out" },
|
|
1928
|
-
textAnchor: "middle",
|
|
1929
|
-
transform: x,
|
|
1930
|
-
x: r.x,
|
|
1931
|
-
y: r.y,
|
|
1932
|
-
children: f
|
|
1933
|
-
}
|
|
1934
|
-
)
|
|
1935
|
-
] });
|
|
1936
|
-
}, Fe = (t, n = 1e3) => {
|
|
1937
|
-
const o = Math.abs(t) >= n ? "0.[0]a" : "0";
|
|
1938
|
-
return B(t, o);
|
|
1939
|
-
}, Yt = ({
|
|
1940
|
-
chartFor: t,
|
|
1941
|
-
data: n,
|
|
1942
|
-
title: o,
|
|
1943
|
-
buttonLabel: r,
|
|
1944
|
-
onClick: i,
|
|
1945
|
-
legendLabelMain: a,
|
|
1946
|
-
legendLabelComparison: l,
|
|
1947
|
-
totalComparison: c,
|
|
1948
|
-
totalMain: d
|
|
1949
|
-
}) => {
|
|
1950
|
-
const p = W(), u = Xn(p.breakpoints.down("xs")), h = m.useMemo(
|
|
1951
|
-
() => n.sort((g, y) => g.year !== y.year ? g.year - y.year : g.month - y.month).map((g) => {
|
|
1952
|
-
const y = Fo(g.month), I = {
|
|
1953
|
-
spending_vs_income: {
|
|
1954
|
-
main: g.standard_spend,
|
|
1955
|
-
comparison: g.income,
|
|
1956
|
-
formattedMain: Fe(g.standard_spend),
|
|
1957
|
-
formattedComparison: Fe(g.income)
|
|
1958
|
-
},
|
|
1959
|
-
debt_payment_vs_income: {
|
|
1960
|
-
main: g.income,
|
|
1961
|
-
comparison: g.debt_spend,
|
|
1962
|
-
formattedMain: Fe(g.income),
|
|
1963
|
-
formattedComparison: Fe(g.debt_spend)
|
|
1964
|
-
}
|
|
1965
|
-
};
|
|
1966
|
-
return {
|
|
1967
|
-
label: y,
|
|
1968
|
-
...I[t]
|
|
1969
|
-
};
|
|
1970
|
-
}),
|
|
1971
|
-
[n, t]
|
|
1972
|
-
), f = {
|
|
1973
|
-
dataKey: "label",
|
|
1974
|
-
scaleType: "band"
|
|
1975
|
-
}, v = Math.max(...h.map((g) => Math.max(g.main, g.comparison))), C = Math.min(...h.map((g) => Math.min(g.main, g.comparison))) === 0 && v === 0 ? 100 : Math.ceil(v * 1.2 / 1e3) * 1e3, b = C / 3, k = {
|
|
1976
|
-
scaleType: "linear",
|
|
1977
|
-
min: 0,
|
|
1978
|
-
max: C,
|
|
1979
|
-
tickNumber: 4,
|
|
1980
|
-
tickMinStep: b,
|
|
1981
|
-
valueFormatter: (g) => g === 0 ? "$0" : B(g, "0.[0]a")
|
|
1982
|
-
};
|
|
1983
|
-
return /* @__PURE__ */ s(Y, { children: [
|
|
1984
|
-
/* @__PURE__ */ s(
|
|
1985
|
-
_,
|
|
1986
|
-
{
|
|
1987
|
-
sx: {
|
|
1988
|
-
alignItems: "center",
|
|
1989
|
-
flexDirection: "row",
|
|
1990
|
-
gap: 12,
|
|
1991
|
-
justifyContent: "space-between",
|
|
1992
|
-
pb: 8,
|
|
1993
|
-
pt: 16,
|
|
1994
|
-
px: 16
|
|
1995
|
-
},
|
|
1996
|
-
children: [
|
|
1997
|
-
/* @__PURE__ */ e(j, { children: o }),
|
|
1998
|
-
r && /* @__PURE__ */ e(
|
|
1999
|
-
E,
|
|
2000
|
-
{
|
|
2001
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
2002
|
-
onClick: i,
|
|
2003
|
-
size: "small",
|
|
2004
|
-
sx: {
|
|
2005
|
-
pl: 8,
|
|
2006
|
-
height: 24
|
|
2007
|
-
},
|
|
2008
|
-
variant: "text",
|
|
2009
|
-
children: r
|
|
2010
|
-
}
|
|
2011
|
-
)
|
|
2012
|
-
]
|
|
2013
|
-
}
|
|
2014
|
-
),
|
|
2015
|
-
/* @__PURE__ */ s(_, { sx: { pb: 24, pl: 16, pr: 24 }, children: [
|
|
2016
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 24, py: 4 }, children: [
|
|
2017
|
-
/* @__PURE__ */ s(_, { sx: { gap: 8, alignItems: "center", flexDirection: "row" }, children: [
|
|
2018
|
-
/* @__PURE__ */ e(
|
|
2019
|
-
M,
|
|
2020
|
-
{
|
|
2021
|
-
sx: {
|
|
2022
|
-
width: 10,
|
|
2023
|
-
height: 10,
|
|
2024
|
-
backgroundColor: "chartMono.chartMono3",
|
|
2025
|
-
borderRadius: "2px"
|
|
2026
|
-
}
|
|
2027
|
-
}
|
|
2028
|
-
),
|
|
2029
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
2030
|
-
/* @__PURE__ */ s(D, { variant: "subtitle2", children: [
|
|
2031
|
-
a,
|
|
2032
|
-
" "
|
|
2033
|
-
] }),
|
|
2034
|
-
!u && d && /* @__PURE__ */ e(D, { sx: { fontWeight: 700 }, variant: "subtitle2", children: d })
|
|
2035
|
-
] })
|
|
2036
|
-
] }),
|
|
2037
|
-
/* @__PURE__ */ s(_, { alignItems: "center", direction: "row", spacing: 8, children: [
|
|
2038
|
-
/* @__PURE__ */ e(
|
|
2039
|
-
M,
|
|
2040
|
-
{
|
|
2041
|
-
sx: {
|
|
2042
|
-
width: 10,
|
|
2043
|
-
height: 10,
|
|
2044
|
-
backgroundColor: "chartMono.chartMono5",
|
|
2045
|
-
borderRadius: "2px"
|
|
2046
|
-
}
|
|
2047
|
-
}
|
|
2048
|
-
),
|
|
2049
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row" }, children: [
|
|
2050
|
-
/* @__PURE__ */ s(D, { variant: "subtitle2", children: [
|
|
2051
|
-
l,
|
|
2052
|
-
" "
|
|
2053
|
-
] }),
|
|
2054
|
-
!u && c && /* @__PURE__ */ e(D, { sx: { fontWeight: 700 }, variant: "subtitle2", children: c })
|
|
2055
|
-
] })
|
|
2056
|
-
] })
|
|
2057
|
-
] }),
|
|
2058
|
-
/* @__PURE__ */ s(
|
|
2059
|
-
qn,
|
|
2060
|
-
{
|
|
2061
|
-
colors: [
|
|
2062
|
-
`${p.palette.chartMono.chartMono3}`,
|
|
2063
|
-
`${p.palette.chartMono.chartMono5}`
|
|
2064
|
-
],
|
|
2065
|
-
dataset: h,
|
|
2066
|
-
height: 240,
|
|
2067
|
-
margin: { top: 14, bottom: 10, right: 2, left: -2 },
|
|
2068
|
-
series: [
|
|
2069
|
-
{ dataKey: "main", type: "bar" },
|
|
2070
|
-
{ dataKey: "comparison", type: "bar" }
|
|
2071
|
-
],
|
|
2072
|
-
xAxis: [f],
|
|
2073
|
-
yAxis: [k],
|
|
2074
|
-
children: [
|
|
2075
|
-
/* @__PURE__ */ e(
|
|
2076
|
-
Un,
|
|
2077
|
-
{
|
|
2078
|
-
slots: {
|
|
2079
|
-
bar: (g) => {
|
|
2080
|
-
const { ownerState: y, ...I } = g;
|
|
2081
|
-
return /* @__PURE__ */ e(
|
|
2082
|
-
Dr,
|
|
2083
|
-
{
|
|
2084
|
-
...I,
|
|
2085
|
-
color: y.color,
|
|
2086
|
-
data: h,
|
|
2087
|
-
series: {
|
|
2088
|
-
index: y.dataIndex,
|
|
2089
|
-
type: Number(y.id.toString().split("-").pop())
|
|
2090
|
-
},
|
|
2091
|
-
style: {
|
|
2092
|
-
x: g.x,
|
|
2093
|
-
y: g.y,
|
|
2094
|
-
width: g.width
|
|
2095
|
-
}
|
|
2096
|
-
}
|
|
2097
|
-
);
|
|
2098
|
-
}
|
|
2099
|
-
}
|
|
2100
|
-
}
|
|
2101
|
-
),
|
|
2102
|
-
/* @__PURE__ */ e(
|
|
2103
|
-
Qn,
|
|
2104
|
-
{
|
|
2105
|
-
sx: () => ({
|
|
2106
|
-
".MuiChartsAxis-line": {
|
|
2107
|
-
stroke: p.palette.divider
|
|
2108
|
-
},
|
|
2109
|
-
".MuiChartsAxis-tick": {
|
|
2110
|
-
stroke: p.palette.divider
|
|
2111
|
-
},
|
|
2112
|
-
".MuiChartsAxis-tickLabel": {
|
|
2113
|
-
transform: "translateY(10px)"
|
|
2114
|
-
}
|
|
2115
|
-
}),
|
|
2116
|
-
tickLabelStyle: {
|
|
2117
|
-
fontSize: 11,
|
|
2118
|
-
fill: "text.secondary"
|
|
2119
|
-
}
|
|
2120
|
-
}
|
|
2121
|
-
),
|
|
2122
|
-
/* @__PURE__ */ e(
|
|
2123
|
-
Zn,
|
|
2124
|
-
{
|
|
2125
|
-
sx: () => ({
|
|
2126
|
-
".MuiChartsAxis-line": {
|
|
2127
|
-
stroke: p.palette.divider
|
|
2128
|
-
},
|
|
2129
|
-
".MuiChartsAxis-tick": {
|
|
2130
|
-
stroke: p.palette.divider
|
|
2131
|
-
},
|
|
2132
|
-
".MuiChartsAxis-tickLabel": {
|
|
2133
|
-
transform: "translateX(-8px)"
|
|
2134
|
-
}
|
|
2135
|
-
}),
|
|
2136
|
-
tickLabelStyle: {
|
|
2137
|
-
fontSize: 11,
|
|
2138
|
-
fill: "text.secondary"
|
|
2139
|
-
}
|
|
2140
|
-
}
|
|
2141
|
-
)
|
|
2142
|
-
]
|
|
2143
|
-
}
|
|
2144
|
-
)
|
|
2145
|
-
] })
|
|
2146
|
-
] });
|
|
2147
|
-
}, Ir = () => {
|
|
2148
|
-
const { isIncomeInitialized: t, loadDebtSpend: n, loadIncome: o, monthlySummaries: r } = L(), [i, a] = m.useState(0), { finstrong: l } = S();
|
|
2149
|
-
if (m.useEffect(() => {
|
|
2150
|
-
t || (n().finally(), o().finally());
|
|
2151
|
-
}, [t]), !t) return /* @__PURE__ */ e(ee, {});
|
|
2152
|
-
const c = r.some(
|
|
2153
|
-
(d) => d.debt_spend !== 0 || d.income !== 0
|
|
2154
|
-
);
|
|
2155
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
2156
|
-
/* @__PURE__ */ s(Y, { children: [
|
|
2157
|
-
/* @__PURE__ */ s(
|
|
2158
|
-
et,
|
|
2159
|
-
{
|
|
2160
|
-
"aria-label": l.key_indicators_save.drawer_title,
|
|
2161
|
-
centered: !0,
|
|
2162
|
-
onChange: (d, p) => a(p),
|
|
2163
|
-
selectionFollowsFocus: !0,
|
|
2164
|
-
sx: { mb: 0 },
|
|
2165
|
-
value: i,
|
|
2166
|
-
variant: "fullWidth",
|
|
2167
|
-
children: [
|
|
2168
|
-
/* @__PURE__ */ e(
|
|
2169
|
-
he,
|
|
2170
|
-
{
|
|
2171
|
-
"aria-controls": "income-details-tabpanel-0",
|
|
2172
|
-
id: "income-details-tab-0",
|
|
2173
|
-
label: l.key_indicators_borrow.have_manageable_debt_drawer.income,
|
|
2174
|
-
sx: { minHeight: 44 }
|
|
2175
|
-
}
|
|
2176
|
-
),
|
|
2177
|
-
/* @__PURE__ */ e(
|
|
2178
|
-
he,
|
|
2179
|
-
{
|
|
2180
|
-
"aria-controls": "debt-payment-details-tabpanel-1",
|
|
2181
|
-
id: "debt-payment-details-tab-1",
|
|
2182
|
-
label: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment,
|
|
2183
|
-
sx: { minHeight: 44 }
|
|
2184
|
-
}
|
|
2185
|
-
)
|
|
2186
|
-
]
|
|
2187
|
-
}
|
|
2188
|
-
),
|
|
2189
|
-
/* @__PURE__ */ e(
|
|
2190
|
-
ge,
|
|
2191
|
-
{
|
|
2192
|
-
"aria-labelledby": "income-details-tab-0",
|
|
2193
|
-
index: 0,
|
|
2194
|
-
name: "income-details",
|
|
2195
|
-
value: i,
|
|
2196
|
-
children: /* @__PURE__ */ e(wr, {})
|
|
2197
|
-
}
|
|
2198
|
-
),
|
|
2199
|
-
/* @__PURE__ */ e(
|
|
2200
|
-
ge,
|
|
2201
|
-
{
|
|
2202
|
-
"aria-labelledby": "debt-payment-details-tab-1",
|
|
2203
|
-
index: 1,
|
|
2204
|
-
name: "debt-payment-details",
|
|
2205
|
-
value: i,
|
|
2206
|
-
children: /* @__PURE__ */ e(Mr, {})
|
|
2207
|
-
}
|
|
2208
|
-
)
|
|
2209
|
-
] }),
|
|
2210
|
-
c ? /* @__PURE__ */ e(H, { children: /* @__PURE__ */ e(
|
|
2211
|
-
Yt,
|
|
2212
|
-
{
|
|
2213
|
-
chartFor: "debt_payment_vs_income",
|
|
2214
|
-
data: r,
|
|
2215
|
-
legendLabelComparison: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment,
|
|
2216
|
-
legendLabelMain: l.key_indicators_borrow.have_manageable_debt_drawer.income,
|
|
2217
|
-
title: l.key_indicators_borrow.have_manageable_debt_drawer.debt_payment
|
|
2218
|
-
}
|
|
2219
|
-
) }) : /* @__PURE__ */ e(
|
|
2220
|
-
Be,
|
|
2221
|
-
{
|
|
2222
|
-
header: l.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_double_bar_chart_empty_state_header,
|
|
2223
|
-
icon: "multiline_chart",
|
|
2224
|
-
subText: l.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_double_bar_chart_empty_state_description,
|
|
2225
|
-
sx: {
|
|
2226
|
-
backgroundColor: "background.paper",
|
|
2227
|
-
borderRadius: "8px",
|
|
2228
|
-
boxShadow: 1,
|
|
2229
|
-
p: 24,
|
|
2230
|
-
pb: 48,
|
|
2231
|
-
".empty-state-subtext": {
|
|
2232
|
-
fontSize: 15,
|
|
2233
|
-
lineHeight: "24px",
|
|
2234
|
-
mt: 8
|
|
2235
|
-
}
|
|
2236
|
-
}
|
|
2237
|
-
}
|
|
2238
|
-
),
|
|
2239
|
-
/* @__PURE__ */ e(ot, { chartFor: "debtOverTime" })
|
|
2240
|
-
] });
|
|
2241
|
-
}, Ar = w(Ir), Tr = () => {
|
|
2242
|
-
const { healthScore: t } = L(), { finstrong: n } = S(), o = Ee(t.spend_to_income_ratio), r = o ?? 0, i = Object.keys(t).length === 0, a = Bt(o), l = {
|
|
2243
|
-
GOOD: [{ percentage: `${r}%` }],
|
|
2244
|
-
FAIR: [{ percentage: "100%" }, { percentage: `${r - 100}%` }],
|
|
2245
|
-
OFF_TRACK: [{ percentage: "100%" }, { percentage: `${r - 100}%` }],
|
|
2246
|
-
MISSING: [{ percentage: "0%" }]
|
|
2247
|
-
}[a];
|
|
2248
|
-
return /* @__PURE__ */ e(
|
|
2249
|
-
Ne,
|
|
2250
|
-
{
|
|
2251
|
-
bottomComponent: /* @__PURE__ */ s(
|
|
2252
|
-
_,
|
|
2253
|
-
{
|
|
2254
|
-
sx: {
|
|
2255
|
-
flexDirection: "row",
|
|
2256
|
-
justifyContent: "space-between",
|
|
2257
|
-
alignItems: "center",
|
|
2258
|
-
mt: 8
|
|
2259
|
-
},
|
|
2260
|
-
children: [
|
|
2261
|
-
/* @__PURE__ */ s(D, { variant: "body2", children: [
|
|
2262
|
-
t.ninety_day_income <= 0 ? "-" : B(t.ninety_day_income, "0,0.00"),
|
|
2263
|
-
" ",
|
|
2264
|
-
n?.key_indicators_spend.spend_less_than_you_make_drawer.income
|
|
2265
|
-
] }),
|
|
2266
|
-
/* @__PURE__ */ s(D, { variant: "body2", children: [
|
|
2267
|
-
r <= 0 ? "-%" : `${r}%`,
|
|
2268
|
-
" ",
|
|
2269
|
-
n?.key_indicators_spend.spend_less_than_you_make_drawer.spent
|
|
2270
|
-
] })
|
|
2271
|
-
]
|
|
2272
|
-
}
|
|
2273
|
-
),
|
|
2274
|
-
label: n?.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_sticky_description,
|
|
2275
|
-
status: a,
|
|
2276
|
-
statusBarData: l,
|
|
2277
|
-
value: i ? "$0" : B(t.ninety_day_spend, "0,0.00")
|
|
2278
|
-
}
|
|
2279
|
-
);
|
|
2280
|
-
}, Or = w(Tr), Rr = () => {
|
|
2281
|
-
const { accounts: t } = ke(), { categories: n, dateRangeCategoryTotals: o, loadDateRangeCategoryTotals: r } = Qe(), { monthlySummaries: i, handleFinstrongWidgetPrimaryCtaClick: a } = L(), { appDataStore: l } = Bn(), { finstrong: c, goals: d, spending: p } = S(), u = W(), [h, f] = m.useState("");
|
|
2282
|
-
m.useEffect(() => {
|
|
2283
|
-
r(
|
|
2284
|
-
t,
|
|
2285
|
-
It(/* @__PURE__ */ new Date()),
|
|
2286
|
-
At(/* @__PURE__ */ new Date())
|
|
2287
|
-
).finally();
|
|
2288
|
-
}, [t]);
|
|
2289
|
-
const v = m.useMemo(
|
|
2290
|
-
() => Jn(n, d, u, o),
|
|
2291
|
-
[n, o]
|
|
2292
|
-
), x = (k) => {
|
|
2293
|
-
f(h === k ? "" : k);
|
|
2294
|
-
}, { totalSpending: C, totalIncome: b } = m.useMemo(() => i?.reduce(
|
|
2295
|
-
(k, { standard_spend: g = 0, income: y = 0 }) => ({
|
|
2296
|
-
totalSpending: k.totalSpending + g,
|
|
2297
|
-
totalIncome: k.totalIncome + y
|
|
2298
|
-
}),
|
|
2299
|
-
{ totalSpending: 0, totalIncome: 0 }
|
|
2300
|
-
), [i]);
|
|
2301
|
-
return /* @__PURE__ */ s(_, { sx: { gap: 24 }, children: [
|
|
2302
|
-
b > 0 || C > 0 ? /* @__PURE__ */ e(
|
|
2303
|
-
Yt,
|
|
2304
|
-
{
|
|
2305
|
-
...l.appData.client_profile?.allow_trends_widget && {
|
|
2306
|
-
buttonLabel: c.key_indicators_spend.spend_less_than_you_make_drawer.view_more
|
|
2307
|
-
},
|
|
2308
|
-
chartFor: "spending_vs_income",
|
|
2309
|
-
data: i,
|
|
2310
|
-
legendLabelComparison: c.key_indicators_spend.spend_less_than_you_make_drawer.income,
|
|
2311
|
-
legendLabelMain: c.key_indicators_spend.spend_less_than_you_make_drawer.spending,
|
|
2312
|
-
onClick: () => a("trends")(),
|
|
2313
|
-
title: c.key_indicators_spend.spend_less_than_you_make_drawer.trends,
|
|
2314
|
-
totalComparison: B(b, "0,0.00"),
|
|
2315
|
-
totalMain: B(C, "0,0.00")
|
|
2316
|
-
}
|
|
2317
|
-
) : /* @__PURE__ */ e(
|
|
2318
|
-
Be,
|
|
2319
|
-
{
|
|
2320
|
-
header: c.key_indicators_spend.spend_less_than_you_make_drawer.trends_zero_state_title,
|
|
2321
|
-
icon: "multiline_chart",
|
|
2322
|
-
subText: c.key_indicators_spend.spend_less_than_you_make_drawer.trends_zero_state_description,
|
|
2323
|
-
sx: {
|
|
2324
|
-
backgroundColor: "background.paper",
|
|
2325
|
-
borderRadius: "8px",
|
|
2326
|
-
boxShadow: 1,
|
|
2327
|
-
p: 24,
|
|
2328
|
-
pb: 48,
|
|
2329
|
-
".empty-state-subtext": {
|
|
2330
|
-
fontSize: 15,
|
|
2331
|
-
lineHeight: "24px",
|
|
2332
|
-
mt: 8
|
|
2333
|
-
}
|
|
2334
|
-
}
|
|
2335
|
-
}
|
|
2336
|
-
),
|
|
2337
|
-
v.donutData.length > 0 ? /* @__PURE__ */ s(
|
|
2338
|
-
Y,
|
|
2339
|
-
{
|
|
2340
|
-
sx: {
|
|
2341
|
-
px: 16,
|
|
2342
|
-
py: 24
|
|
2343
|
-
},
|
|
2344
|
-
children: [
|
|
2345
|
-
/* @__PURE__ */ s(
|
|
2346
|
-
_,
|
|
2347
|
-
{
|
|
2348
|
-
sx: {
|
|
2349
|
-
alignItems: "center",
|
|
2350
|
-
flexDirection: "row",
|
|
2351
|
-
gap: 12,
|
|
2352
|
-
justifyContent: "space-between",
|
|
2353
|
-
pb: 8,
|
|
2354
|
-
pt: 16,
|
|
2355
|
-
px: 16
|
|
2356
|
-
},
|
|
2357
|
-
children: [
|
|
2358
|
-
/* @__PURE__ */ e(j, { children: c.key_indicators_spend.spend_less_than_you_make_drawer.spending }),
|
|
2359
|
-
l.appData.client_profile?.allow_spending_widget && /* @__PURE__ */ e(
|
|
2360
|
-
E,
|
|
2361
|
-
{
|
|
2362
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
2363
|
-
onClick: () => a("spending")(),
|
|
2364
|
-
size: "small",
|
|
2365
|
-
sx: {
|
|
2366
|
-
pl: 8,
|
|
2367
|
-
height: 24
|
|
2368
|
-
},
|
|
2369
|
-
variant: "text",
|
|
2370
|
-
children: c.key_indicators_spend.spend_less_than_you_make_drawer.view_more
|
|
2371
|
-
}
|
|
2372
|
-
)
|
|
2373
|
-
]
|
|
2374
|
-
}
|
|
2375
|
-
),
|
|
2376
|
-
/* @__PURE__ */ s(
|
|
2377
|
-
_,
|
|
2378
|
-
{
|
|
2379
|
-
sx: { flexDirection: "row", gap: 12, justifyContent: "center", pb: 32, pt: 16, px: 24 },
|
|
2380
|
-
children: [
|
|
2381
|
-
/* @__PURE__ */ e(
|
|
2382
|
-
eo,
|
|
2383
|
-
{
|
|
2384
|
-
data: v,
|
|
2385
|
-
onSelected: x,
|
|
2386
|
-
selectedId: h,
|
|
2387
|
-
totalLabel: p.total_spending
|
|
2388
|
-
}
|
|
2389
|
-
),
|
|
2390
|
-
/* @__PURE__ */ e(
|
|
2391
|
-
to,
|
|
2392
|
-
{
|
|
2393
|
-
data: v,
|
|
2394
|
-
onSelected: x,
|
|
2395
|
-
selectedId: h
|
|
2396
|
-
}
|
|
2397
|
-
)
|
|
2398
|
-
]
|
|
2399
|
-
}
|
|
2400
|
-
)
|
|
2401
|
-
]
|
|
2402
|
-
}
|
|
2403
|
-
) : /* @__PURE__ */ e(
|
|
2404
|
-
Be,
|
|
2405
|
-
{
|
|
2406
|
-
header: c.key_indicators_spend.spend_less_than_you_make_drawer.spending_zero_state_title,
|
|
2407
|
-
icon: "donut_small",
|
|
2408
|
-
subText: c.key_indicators_spend.spend_less_than_you_make_drawer.spending_zero_state_description,
|
|
2409
|
-
sx: {
|
|
2410
|
-
backgroundColor: "background.paper",
|
|
2411
|
-
borderRadius: "8px",
|
|
2412
|
-
boxShadow: 1,
|
|
2413
|
-
p: 24,
|
|
2414
|
-
pb: 48,
|
|
2415
|
-
".empty-state-subtext": {
|
|
2416
|
-
fontSize: 15,
|
|
2417
|
-
lineHeight: "24px",
|
|
2418
|
-
mt: 8
|
|
2419
|
-
}
|
|
2420
|
-
}
|
|
2421
|
-
}
|
|
2422
|
-
)
|
|
2423
|
-
] });
|
|
2424
|
-
}, Fr = w(Rr), Lr = ({
|
|
2425
|
-
drawerFor: t,
|
|
2426
|
-
isOpen: n,
|
|
2427
|
-
onClose: o
|
|
2428
|
-
}) => {
|
|
2429
|
-
const { finstrong: r } = S(), a = {
|
|
2430
|
-
spendLessThanYouMake: {
|
|
2431
|
-
title: r.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_title,
|
|
2432
|
-
description: r.key_indicators_spend.spend_less_than_you_make_drawer.spend_less_than_you_make_description,
|
|
2433
|
-
stickyComponent: /* @__PURE__ */ e(Or, {}),
|
|
2434
|
-
content: /* @__PURE__ */ e(Fr, {}),
|
|
2435
|
-
drawerType: "connectDrawer",
|
|
2436
|
-
connectTitle: r.connect_your_accounts,
|
|
2437
|
-
connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
|
|
2438
|
-
},
|
|
2439
|
-
payBillsOnTime: {
|
|
2440
|
-
title: r.key_indicators_spend.pay_bills_on_time_drawer.pay_bills_on_time_title,
|
|
2441
|
-
description: r.key_indicators_spend.pay_bills_on_time_drawer.pay_bills_on_time_description,
|
|
2442
|
-
stickyComponent: /* @__PURE__ */ e(ur, {}),
|
|
2443
|
-
content: /* @__PURE__ */ e(dr, {}),
|
|
2444
|
-
drawerType: "connectDrawer",
|
|
2445
|
-
connectTitle: r.connect_your_accounts,
|
|
2446
|
-
connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
|
|
2447
|
-
},
|
|
2448
|
-
maintainEmergencySavings: {
|
|
2449
|
-
content: /* @__PURE__ */ e(rr, {}),
|
|
2450
|
-
description: r.maintain_emergency_savings_description,
|
|
2451
|
-
stickyComponent: /* @__PURE__ */ e(cr, {}),
|
|
2452
|
-
title: r.maintain_emergency_savings_title,
|
|
2453
|
-
drawerType: "connectDrawer",
|
|
2454
|
-
connectTitle: r.connect_your_accounts,
|
|
2455
|
-
connectDescription: r.connect_more_accounts_to_unlock_a_fuller_understanding_of_your_finances
|
|
2456
|
-
},
|
|
2457
|
-
haveManageableDebt: {
|
|
2458
|
-
title: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_title,
|
|
2459
|
-
description: r.key_indicators_borrow.have_manageable_debt_drawer.have_manageable_debt_description,
|
|
2460
|
-
stickyComponent: /* @__PURE__ */ e(Sr, {}),
|
|
2461
|
-
content: /* @__PURE__ */ e(Ar, {}),
|
|
2462
|
-
drawerType: "connectDrawer",
|
|
2463
|
-
connectTitle: r.dont_see_all_your_accounts,
|
|
2464
|
-
connectDescription: r.connect_more_accounts_to_view_more_accurate_financial_picture
|
|
2465
|
-
},
|
|
2466
|
-
haveAGoodCreditScore: {
|
|
2467
|
-
title: /* @__PURE__ */ e(Qo, {}),
|
|
2468
|
-
description: r.credit_score_description,
|
|
2469
|
-
stickyComponent: null,
|
|
2470
|
-
content: /* @__PURE__ */ e(Uo, {})
|
|
2471
|
-
},
|
|
2472
|
-
saveEnoughToLiveOn: {
|
|
2473
|
-
title: r.key_indicators_save.drawer_title,
|
|
2474
|
-
description: r.key_indicators_save.drawer_description,
|
|
2475
|
-
stickyComponent: /* @__PURE__ */ e(xr, {}),
|
|
2476
|
-
content: /* @__PURE__ */ e(fr, {}),
|
|
2477
|
-
drawerType: "connectDrawer",
|
|
2478
|
-
connectTitle: r.dont_see_all_your_accounts,
|
|
2479
|
-
connectDescription: r.connect_more_accounts_to_view_more_accurate_financial_picture
|
|
2480
|
-
}
|
|
2481
|
-
}[t];
|
|
2482
|
-
return /* @__PURE__ */ e(
|
|
2483
|
-
Kt,
|
|
2484
|
-
{
|
|
2485
|
-
connectDescription: a?.connectDescription,
|
|
2486
|
-
connectTitle: a?.connectTitle,
|
|
2487
|
-
description: a?.description,
|
|
2488
|
-
drawerTitle: r.key_indicators,
|
|
2489
|
-
drawerType: a.drawerType,
|
|
2490
|
-
isOpen: n,
|
|
2491
|
-
loadConnectAccountsCard: !0,
|
|
2492
|
-
onClose: o,
|
|
2493
|
-
stickyComponent: a.stickyComponent,
|
|
2494
|
-
title: a.title,
|
|
2495
|
-
children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: a.content })
|
|
2496
|
-
}
|
|
2497
|
-
);
|
|
2498
|
-
}, Pr = w(Lr), we = ({
|
|
2499
|
-
drawerFor: t,
|
|
2500
|
-
title: n,
|
|
2501
|
-
description: o,
|
|
2502
|
-
cardState: r = "MISSING"
|
|
2503
|
-
}) => {
|
|
2504
|
-
const { finstrong: i } = S(), [a, l] = m.useState(!1), c = (d) => {
|
|
2505
|
-
(d.key === "Enter" || d.key === " ") && (d.preventDefault(), l(!0));
|
|
2506
|
-
};
|
|
2507
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
2508
|
-
/* @__PURE__ */ s(
|
|
2509
|
-
_,
|
|
2510
|
-
{
|
|
2511
|
-
"aria-label": `${i.key_indicators_open} ${n}`,
|
|
2512
|
-
onClick: () => l(!0),
|
|
2513
|
-
onKeyDown: c,
|
|
2514
|
-
role: "button",
|
|
2515
|
-
sx: {
|
|
2516
|
-
alignItems: "center",
|
|
2517
|
-
borderRadius: 2,
|
|
2518
|
-
cursor: "pointer",
|
|
2519
|
-
flexDirection: "row",
|
|
2520
|
-
gap: 12,
|
|
2521
|
-
justifyContent: "space-between",
|
|
2522
|
-
outline: "1px solid",
|
|
2523
|
-
outlineColor: "divider",
|
|
2524
|
-
p: 16
|
|
2525
|
-
},
|
|
2526
|
-
tabIndex: 0,
|
|
2527
|
-
children: [
|
|
2528
|
-
/* @__PURE__ */ s(_, { sx: { gap: 8, minWidth: 0 }, children: [
|
|
2529
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
2530
|
-
/* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: n }),
|
|
2531
|
-
/* @__PURE__ */ e($e, { status: r })
|
|
2532
|
-
] }),
|
|
2533
|
-
/* @__PURE__ */ e(A, { color: "secondary", variant: "subtitle2", children: o })
|
|
2534
|
-
] }),
|
|
2535
|
-
/* @__PURE__ */ e(J, { color: "secondary", size: 24 })
|
|
2536
|
-
]
|
|
2537
|
-
}
|
|
2538
|
-
),
|
|
2539
|
-
/* @__PURE__ */ e(
|
|
2540
|
-
Pr,
|
|
2541
|
-
{
|
|
2542
|
-
drawerFor: t,
|
|
2543
|
-
isOpen: a,
|
|
2544
|
-
onClose: () => l(!1)
|
|
2545
|
-
}
|
|
2546
|
-
)
|
|
2547
|
-
] });
|
|
2548
|
-
}, Br = () => {
|
|
2549
|
-
const { finstrong: t } = S(), { key_indicators_spend: n } = t, { healthScore: o } = L(), r = (l) => {
|
|
2550
|
-
const c = Bt(l), d = {
|
|
2551
|
-
GOOD: n.ratio_good_description,
|
|
2552
|
-
FAIR: n.ratio_fair_description,
|
|
2553
|
-
OFF_TRACK: n.ratio_off_track_description,
|
|
2554
|
-
MISSING: n.ratio_missing_description
|
|
2555
|
-
}, p = c === "MISSING" ? d[c] : z(d[c], l);
|
|
2556
|
-
return {
|
|
2557
|
-
cardState: c,
|
|
2558
|
-
description: p,
|
|
2559
|
-
title: n.ratio_card_title
|
|
2560
|
-
};
|
|
2561
|
-
}, { spendToIncomeRatio: i, spendFeeCount: a } = m.useMemo(() => {
|
|
2562
|
-
const l = o.spend_to_income_ratio !== null ? Math.round(o.spend_to_income_ratio * 100) : null, c = r(l), d = Lo(
|
|
2563
|
-
o.spending_fee_transaction_count,
|
|
2564
|
-
n
|
|
2565
|
-
);
|
|
2566
|
-
return { spendToIncomeRatio: c, spendFeeCount: d };
|
|
2567
|
-
}, [
|
|
2568
|
-
o.spend_to_income_ratio,
|
|
2569
|
-
o.spending_fee_transaction_count,
|
|
2570
|
-
n,
|
|
2571
|
-
t
|
|
2572
|
-
]);
|
|
2573
|
-
return /* @__PURE__ */ s(_, { sx: { gap: 24, p: 8, pt: 24 }, children: [
|
|
2574
|
-
/* @__PURE__ */ e(
|
|
2575
|
-
we,
|
|
2576
|
-
{
|
|
2577
|
-
cardState: i.cardState,
|
|
2578
|
-
description: i.description,
|
|
2579
|
-
drawerFor: ye.SpendLessThanYouMake,
|
|
2580
|
-
title: i.title
|
|
2581
|
-
}
|
|
2582
|
-
),
|
|
2583
|
-
/* @__PURE__ */ e(
|
|
2584
|
-
we,
|
|
2585
|
-
{
|
|
2586
|
-
cardState: a.cardState,
|
|
2587
|
-
description: a.description,
|
|
2588
|
-
drawerFor: ye.PayBillsOnTime,
|
|
2589
|
-
title: a.title
|
|
2590
|
-
}
|
|
2591
|
-
)
|
|
2592
|
-
] });
|
|
2593
|
-
}, Er = w(Br), Gr = () => {
|
|
2594
|
-
const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_save: o } = n, r = (c) => {
|
|
2595
|
-
const d = Lt(c), p = {
|
|
2596
|
-
GOOD: o.days_of_cash_good_description,
|
|
2597
|
-
FAIR: o.days_of_cash_fair_description,
|
|
2598
|
-
OFF_TRACK: o.days_of_cash_off_track_description,
|
|
2599
|
-
MISSING: o.days_of_cash_missing_description
|
|
2600
|
-
}, u = d === "MISSING" ? p[d] : z(p[d], c);
|
|
2601
|
-
return {
|
|
2602
|
-
cardState: d,
|
|
2603
|
-
description: u,
|
|
2604
|
-
title: o.days_of_cash_title
|
|
2605
|
-
};
|
|
2606
|
-
}, i = (c) => {
|
|
2607
|
-
const d = Pt(c), p = {
|
|
2608
|
-
GOOD: o.emergency_savings_good_description,
|
|
2609
|
-
FAIR: o.emergency_savings_fair_description,
|
|
2610
|
-
OFF_TRACK: o.emergency_savings_off_track_description,
|
|
2611
|
-
MISSING: o.emergency_savings_missing_description
|
|
2612
|
-
};
|
|
2613
|
-
let u;
|
|
2614
|
-
return d === "FAIR" && c !== null ? u = z(
|
|
2615
|
-
p[d],
|
|
2616
|
-
B(c, "0,0.00")
|
|
2617
|
-
) : u = p[d], {
|
|
2618
|
-
cardState: d,
|
|
2619
|
-
description: u,
|
|
2620
|
-
title: o.emergency_savings_title
|
|
2621
|
-
};
|
|
2622
|
-
}, { daysOfCashOnHand: a, emergencySavings: l } = m.useMemo(() => {
|
|
2623
|
-
const c = t.months_of_cash_on_hand !== null ? Math.round(t.months_of_cash_on_hand * 30) : null, d = r(c), p = t.emergency_savings_on_hand !== null ? Math.round(t.emergency_savings_on_hand) : null, u = i(p);
|
|
2624
|
-
return { daysOfCashOnHand: d, emergencySavings: u };
|
|
2625
|
-
}, [
|
|
2626
|
-
t.months_of_cash_on_hand,
|
|
2627
|
-
t.emergency_savings_on_hand,
|
|
2628
|
-
o,
|
|
2629
|
-
n
|
|
2630
|
-
]);
|
|
2631
|
-
return /* @__PURE__ */ s(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
|
|
2632
|
-
/* @__PURE__ */ e(
|
|
2633
|
-
we,
|
|
2634
|
-
{
|
|
2635
|
-
cardState: a.cardState,
|
|
2636
|
-
description: a.description,
|
|
2637
|
-
drawerFor: ye.SaveEnoughToLiveOn,
|
|
2638
|
-
title: a.title
|
|
2639
|
-
}
|
|
2640
|
-
),
|
|
2641
|
-
/* @__PURE__ */ e(
|
|
2642
|
-
we,
|
|
2643
|
-
{
|
|
2644
|
-
cardState: l.cardState,
|
|
2645
|
-
description: l.description,
|
|
2646
|
-
drawerFor: ye.MaintainEmergencySavings,
|
|
2647
|
-
title: l.title
|
|
2648
|
-
}
|
|
2649
|
-
)
|
|
2650
|
-
] });
|
|
2651
|
-
}, Wr = w(Gr), $r = () => {
|
|
2652
|
-
const { healthScore: t } = L(), { finstrong: n } = S(), { key_indicators_borrow: o } = n, { user: r } = oe(), i = (d) => {
|
|
2653
|
-
const p = Et(d), u = {
|
|
2654
|
-
GOOD: o.manage_debit_good_description,
|
|
2655
|
-
FAIR: o.manage_debit_fair_description,
|
|
2656
|
-
OFF_TRACK: o.manage_debit_off_track_description,
|
|
2657
|
-
MISSING: o.manage_debit_missing_description
|
|
2658
|
-
}, h = p === "FAIR" || p === "OFF_TRACK" ? z(u[p], d) : u[p];
|
|
2659
|
-
return {
|
|
2660
|
-
cardState: p,
|
|
2661
|
-
description: h,
|
|
2662
|
-
title: o.manage_debit_title
|
|
2663
|
-
};
|
|
2664
|
-
}, a = (d) => {
|
|
2665
|
-
const p = Gt(d), u = {
|
|
2666
|
-
GOOD: o.credit_score_good_description,
|
|
2667
|
-
FAIR: o.credit_score_fair_description,
|
|
2668
|
-
OFF_TRACK: o.credit_score_off_track_description,
|
|
2669
|
-
MISSING: o.credit_score_missing_description
|
|
2670
|
-
}, h = p === "MISSING" ? u[p] : z(u[p], d);
|
|
2671
|
-
return {
|
|
2672
|
-
cardState: p,
|
|
2673
|
-
description: h,
|
|
2674
|
-
title: o.credit_score_title
|
|
2675
|
-
};
|
|
2676
|
-
}, { manageDebtStatus: l, creditScoreStatus: c } = m.useMemo(() => {
|
|
2677
|
-
const d = t.debt_to_income_ratio !== null ? Math.round(t.debt_to_income_ratio * 100) : null, p = i(d), u = a(r.credit_score || null);
|
|
2678
|
-
return {
|
|
2679
|
-
manageDebtStatus: p,
|
|
2680
|
-
creditScoreStatus: u
|
|
2681
|
-
};
|
|
2682
|
-
}, [t.debt_to_income_ratio, r.credit_score, o, n]);
|
|
2683
|
-
return /* @__PURE__ */ s(_, { direction: "column", gap: 24, sx: { p: 8, pt: 24 }, children: [
|
|
2684
|
-
/* @__PURE__ */ e(
|
|
2685
|
-
we,
|
|
2686
|
-
{
|
|
2687
|
-
cardState: l.cardState,
|
|
2688
|
-
description: l.description,
|
|
2689
|
-
drawerFor: ye.HaveManageableDebt,
|
|
2690
|
-
title: l.title
|
|
2691
|
-
}
|
|
2692
|
-
),
|
|
2693
|
-
/* @__PURE__ */ e(
|
|
2694
|
-
we,
|
|
2695
|
-
{
|
|
2696
|
-
cardState: c.cardState,
|
|
2697
|
-
description: c.description,
|
|
2698
|
-
drawerFor: ye.HaveAGoodCreditScore,
|
|
2699
|
-
title: c.title
|
|
2700
|
-
}
|
|
2701
|
-
)
|
|
2702
|
-
] });
|
|
2703
|
-
}, Nr = w($r), zr = () => {
|
|
2704
|
-
const [t, n] = m.useState(0), { finstrong: o } = S();
|
|
2705
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
2706
|
-
/* @__PURE__ */ s(
|
|
2707
|
-
et,
|
|
2708
|
-
{
|
|
2709
|
-
"aria-label": "Key Indicators",
|
|
2710
|
-
centered: !0,
|
|
2711
|
-
onChange: (r, i) => n(i),
|
|
2712
|
-
selectionFollowsFocus: !0,
|
|
2713
|
-
sx: {
|
|
2714
|
-
mb: 0,
|
|
2715
|
-
"& .MuiTab-root": {
|
|
2716
|
-
minWidth: 0
|
|
2717
|
-
}
|
|
2718
|
-
},
|
|
2719
|
-
textColor: "primary",
|
|
2720
|
-
value: t,
|
|
2721
|
-
variant: "fullWidth",
|
|
2722
|
-
children: [
|
|
2723
|
-
/* @__PURE__ */ e(
|
|
2724
|
-
he,
|
|
2725
|
-
{
|
|
2726
|
-
"aria-controls": "spend-details-tabpanel-0",
|
|
2727
|
-
icon: /* @__PURE__ */ e(bt, { sx: { mr: 8 } }),
|
|
2728
|
-
iconPosition: "start",
|
|
2729
|
-
id: "spend-details-tab-0",
|
|
2730
|
-
label: o.key_indicators_spend.title,
|
|
2731
|
-
sx: { minHeight: 44 }
|
|
2732
|
-
}
|
|
2733
|
-
),
|
|
2734
|
-
/* @__PURE__ */ e(
|
|
2735
|
-
he,
|
|
2736
|
-
{
|
|
2737
|
-
"aria-controls": "save-details-tabpanel-1",
|
|
2738
|
-
icon: /* @__PURE__ */ e(xn, { sx: { mr: 8 } }),
|
|
2739
|
-
iconPosition: "start",
|
|
2740
|
-
id: "save-details-tab-1",
|
|
2741
|
-
label: o.key_indicators_save.title,
|
|
2742
|
-
sx: { minHeight: 44 }
|
|
2743
|
-
}
|
|
2744
|
-
),
|
|
2745
|
-
/* @__PURE__ */ e(
|
|
2746
|
-
he,
|
|
2747
|
-
{
|
|
2748
|
-
"aria-controls": "borrow-details-tabpanel-2",
|
|
2749
|
-
icon: /* @__PURE__ */ e(Cn, { sx: { mr: 8 } }),
|
|
2750
|
-
iconPosition: "start",
|
|
2751
|
-
id: "borrow-details-tab-2",
|
|
2752
|
-
label: o.key_indicators_borrow.title,
|
|
2753
|
-
sx: { minHeight: 44 }
|
|
2754
|
-
}
|
|
2755
|
-
)
|
|
2756
|
-
]
|
|
2757
|
-
}
|
|
2758
|
-
),
|
|
2759
|
-
/* @__PURE__ */ e(ge, { index: 0, name: "spend-details", value: t, children: /* @__PURE__ */ e(Er, {}) }),
|
|
2760
|
-
/* @__PURE__ */ e(ge, { index: 1, name: "save-details", value: t, children: /* @__PURE__ */ e(Wr, {}) }),
|
|
2761
|
-
/* @__PURE__ */ e(ge, { index: 2, name: "borrow-details", value: t, children: /* @__PURE__ */ e(Nr, {}) })
|
|
2762
|
-
] });
|
|
2763
|
-
}, Hr = w(zr), Kr = ({ onClick: t }) => {
|
|
2764
|
-
const { finstrong: n } = S(), { isCopyLoaded: o } = ne();
|
|
2765
|
-
return o ? /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
|
|
2766
|
-
/* @__PURE__ */ e(Sn, { size: 48 }),
|
|
2767
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
|
|
2768
|
-
/* @__PURE__ */ e(j, { children: n.missing_data_title }),
|
|
2769
|
-
/* @__PURE__ */ e(A, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: n.missing_data_description })
|
|
2770
|
-
] }),
|
|
2771
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(
|
|
2772
|
-
E,
|
|
2773
|
-
{
|
|
2774
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
2775
|
-
onClick: t,
|
|
2776
|
-
size: "small",
|
|
2777
|
-
sx: {
|
|
2778
|
-
fontSize: 13,
|
|
2779
|
-
":hover": {
|
|
2780
|
-
bgcolor: "transparent"
|
|
2781
|
-
}
|
|
2782
|
-
},
|
|
2783
|
-
variant: "text",
|
|
2784
|
-
children: n.connect_more_accounts_button
|
|
2785
|
-
}
|
|
2786
|
-
) })
|
|
2787
|
-
] }) : /* @__PURE__ */ e(ee, {});
|
|
2788
|
-
}, Vr = w(Kr), jr = ({
|
|
2789
|
-
firstDay: t,
|
|
2790
|
-
frequency: n,
|
|
2791
|
-
secondDay: o,
|
|
2792
|
-
incomeTransactions: r,
|
|
2793
|
-
setCurrentStep: i,
|
|
2794
|
-
setFirstDay: a,
|
|
2795
|
-
setFrequency: l,
|
|
2796
|
-
setSecondDay: c,
|
|
2797
|
-
transaction: d
|
|
2798
|
-
}) => {
|
|
2799
|
-
const { finstrong: p } = S();
|
|
2800
|
-
return /* @__PURE__ */ s(m.Fragment, { children: [
|
|
2801
|
-
/* @__PURE__ */ s(_, { children: [
|
|
2802
|
-
!!r.length && /* @__PURE__ */ e(M, { sx: { pb: 24 }, children: r.reduce((u, h, f) => {
|
|
2803
|
-
if (h.guid === d.guid) return u;
|
|
2804
|
-
const v = Kn(f, r), x = Vn(f, r);
|
|
2805
|
-
return u.push(
|
|
2806
|
-
/* @__PURE__ */ s(m.Fragment, { children: [
|
|
2807
|
-
v && /* @__PURE__ */ e(jn, { children: Dt(h.date) }),
|
|
2808
|
-
/* @__PURE__ */ e(Yn, { component: "div", transaction: h }),
|
|
2809
|
-
/* @__PURE__ */ e(ae, { sx: { ml: x ? 44 : 0 } })
|
|
2810
|
-
] }, h.guid)
|
|
2811
|
-
), u;
|
|
2812
|
-
}, []) }),
|
|
2813
|
-
/* @__PURE__ */ e(
|
|
2814
|
-
ao,
|
|
2815
|
-
{
|
|
2816
|
-
firstDay: t,
|
|
2817
|
-
frequency: n,
|
|
2818
|
-
onFirstDayChange: a,
|
|
2819
|
-
onFrequencyChange: l,
|
|
2820
|
-
onSecondDayChange: c,
|
|
2821
|
-
secondDay: o,
|
|
2822
|
-
transaction: d
|
|
2823
|
-
}
|
|
2824
|
-
)
|
|
2825
|
-
] }),
|
|
2826
|
-
/* @__PURE__ */ e(M, { sx: { px: 24 }, children: /* @__PURE__ */ e(
|
|
2827
|
-
E,
|
|
2828
|
-
{
|
|
2829
|
-
fullWidth: !0,
|
|
2830
|
-
onClick: () => i({ step: R.MonthlyIncome, type: "main" }),
|
|
2831
|
-
startIcon: /* @__PURE__ */ e(xt, {}),
|
|
2832
|
-
children: p.onboarding_add_more_income
|
|
2833
|
-
}
|
|
2834
|
-
) })
|
|
2835
|
-
] });
|
|
2836
|
-
}, Yr = w(jr), Xr = ({ selectedDate: t, setSelectedDate: n }) => {
|
|
2837
|
-
const { finstrong: o } = S(), r = W(), i = (a) => {
|
|
2838
|
-
n(Math.floor(new Date(a).getTime() / 1e3));
|
|
2839
|
-
};
|
|
2840
|
-
return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(lo, { dateAdapter: Rt, children: /* @__PURE__ */ e(
|
|
2841
|
-
po,
|
|
2842
|
-
{
|
|
2843
|
-
disableFuture: !0,
|
|
2844
|
-
label: o.onboarding_select_date,
|
|
2845
|
-
onChange: i,
|
|
2846
|
-
slotProps: {
|
|
2847
|
-
nextIconButton: {
|
|
2848
|
-
sx: {
|
|
2849
|
-
color: "primary.main",
|
|
2850
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
2851
|
-
}
|
|
2852
|
-
},
|
|
2853
|
-
previousIconButton: {
|
|
2854
|
-
sx: {
|
|
2855
|
-
color: "primary.main",
|
|
2856
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
2857
|
-
}
|
|
2858
|
-
}
|
|
2859
|
-
},
|
|
2860
|
-
sx: {
|
|
2861
|
-
width: "100%",
|
|
2862
|
-
"& .MuiIconButton-edgeEnd": {
|
|
2863
|
-
color: "primary.main",
|
|
2864
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
2865
|
-
}
|
|
2866
|
-
},
|
|
2867
|
-
value: t ? new Date(t * 1e3) : null
|
|
2868
|
-
}
|
|
2869
|
-
) }) });
|
|
2870
|
-
}, Ur = w(Xr), qr = ({ creditScore: t, setCreditScore: n }) => {
|
|
2871
|
-
const { finstrong: o } = S(), r = !isNaN(t);
|
|
2872
|
-
return /* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(
|
|
2873
|
-
Pe,
|
|
2874
|
-
{
|
|
2875
|
-
error: !r,
|
|
2876
|
-
fullWidth: !0,
|
|
2877
|
-
inputMode: "numeric",
|
|
2878
|
-
label: o.credit_score,
|
|
2879
|
-
onChange: (i) => n(Number(i.target.value)),
|
|
2880
|
-
slotProps: {
|
|
2881
|
-
htmlInput: {
|
|
2882
|
-
noValidate: !0,
|
|
2883
|
-
pattern: "[0-9]*"
|
|
2884
|
-
}
|
|
2885
|
-
},
|
|
2886
|
-
value: r ? t : ""
|
|
2887
|
-
}
|
|
2888
|
-
) });
|
|
2889
|
-
}, Qr = w(qr), Xt = ({ value: t, completeCopy: n }) => /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
|
|
2890
|
-
/* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 4 }, children: Array.from({ length: 4 }).map((o, r) => /* @__PURE__ */ e(
|
|
2891
|
-
M,
|
|
2892
|
-
{
|
|
2893
|
-
sx: {
|
|
2894
|
-
bgcolor: r < t ? "primary.main" : "neutral.light",
|
|
2895
|
-
borderRadius: "24px",
|
|
2896
|
-
height: 4,
|
|
2897
|
-
width: "100%"
|
|
2898
|
-
}
|
|
2899
|
-
},
|
|
2900
|
-
r
|
|
2901
|
-
)) }),
|
|
2902
|
-
/* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "body2", children: [
|
|
2903
|
-
t / 4 * 100,
|
|
2904
|
-
"% ",
|
|
2905
|
-
n
|
|
2906
|
-
] })
|
|
2907
|
-
] }), Zr = ({
|
|
2908
|
-
completeCopy: t,
|
|
2909
|
-
primaryText: n,
|
|
2910
|
-
secondaryText: o,
|
|
2911
|
-
value: r
|
|
2912
|
-
}) => /* @__PURE__ */ s(_, { sx: { gap: 20, p: 24 }, children: [
|
|
2913
|
-
/* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
|
|
2914
|
-
/* @__PURE__ */ e(j, { children: n }),
|
|
2915
|
-
/* @__PURE__ */ e(A, { variant: "subtitle1", children: o })
|
|
2916
|
-
] }),
|
|
2917
|
-
/* @__PURE__ */ e(Xt, { completeCopy: t, value: r })
|
|
2918
|
-
] }), ht = {
|
|
2919
|
-
step: R.ConnectAccounts,
|
|
2920
|
-
type: "main"
|
|
2921
|
-
}, Jr = ({ isOpen: t, onClose: n }) => {
|
|
2922
|
-
const { visibleAccounts: o } = ke(), { calculateHealthScore: r } = L(), { finstrong: i } = S(), { addRepeatingTransaction: a, setDateRange: l } = Ze(), { filter: c, setFilter: d, transactions: p } = En(), { user: u, userProfile: h, updateUser: f, updateUserProfile: v } = oe(), [x, C] = m.useState(u.credit_score || 0), [b, k] = m.useState(
|
|
2923
|
-
ht
|
|
2924
|
-
), [g, y] = m.useState(1), [I, G] = m.useState(Tt.EveryMonth), [O, $] = m.useState([]), [F, K] = m.useState(!1), [fe, be] = m.useState(!1), [X, re] = m.useState(u.birthday), [ce, U] = m.useState(15), [V, le] = m.useState("");
|
|
2925
|
-
m.useEffect(() => {
|
|
2926
|
-
l({ start: It(Ve()), end: At(Ve()) });
|
|
2927
|
-
}, []), m.useEffect(() => {
|
|
2928
|
-
d({
|
|
2929
|
-
accounts: o.map((T) => T.guid),
|
|
2930
|
-
dateRange: {
|
|
2931
|
-
start: ro(/* @__PURE__ */ new Date(), 90),
|
|
2932
|
-
end: /* @__PURE__ */ new Date()
|
|
2933
|
-
},
|
|
2934
|
-
custom: pt
|
|
2935
|
-
});
|
|
2936
|
-
}, [o]);
|
|
2937
|
-
const de = m.useMemo(
|
|
2938
|
-
() => p.find((T) => T.guid === V),
|
|
2939
|
-
[V, p]
|
|
2940
|
-
), xe = m.useMemo(() => ({
|
|
2941
|
-
[R.ConnectAccounts]: !0,
|
|
2942
|
-
[R.MonthlyIncome]: !!V,
|
|
2943
|
-
[R.Birthday]: !!u.birthday || !!X,
|
|
2944
|
-
[R.CreditScore]: !!u.credit_score || !!x
|
|
2945
|
-
})[b.step], [x, b, X, V, u]), N = o.length > 0, Ce = m.useMemo(() => {
|
|
2946
|
-
const { step: T } = b;
|
|
2947
|
-
let P = 0;
|
|
2948
|
-
return T >= R.MonthlyIncome && N && P++, T >= R.Birthday && O.length && P++, T >= R.CreditScore && (u.birthday || u.credit_score) && P++, P;
|
|
2949
|
-
}, [b.step, N, O.length, u.birthday, u.credit_score]), He = (T) => {
|
|
2950
|
-
d({
|
|
2951
|
-
...c,
|
|
2952
|
-
custom: (P) => T ? so(P, T) : pt(P)
|
|
2953
|
-
});
|
|
2954
|
-
}, Ke = {
|
|
2955
|
-
[R.ConnectAccounts]: {
|
|
2956
|
-
main: N ? /* @__PURE__ */ e(Vt, { shouldShowBalance: !1 }) : null,
|
|
2957
|
-
mainActionContent: N ? i.onboarding_next : i.onboarding_add_accounts,
|
|
2958
|
-
primaryText: i.connect_your_accounts,
|
|
2959
|
-
secondaryText: i.onboarding_connect_your_accounts_secondary
|
|
2960
|
-
},
|
|
2961
|
-
[R.MonthlyIncome]: {
|
|
2962
|
-
detail: /* @__PURE__ */ e(
|
|
2963
|
-
Yr,
|
|
2964
|
-
{
|
|
2965
|
-
firstDay: g,
|
|
2966
|
-
frequency: I,
|
|
2967
|
-
incomeTransactions: O,
|
|
2968
|
-
secondDay: ce,
|
|
2969
|
-
setCurrentStep: (T) => {
|
|
2970
|
-
k(T), $((P) => {
|
|
2971
|
-
if (P.some((pe) => pe.guid === V)) return P.filter((pe) => pe.guid !== V);
|
|
2972
|
-
const Re = p.find((pe) => pe.guid === V);
|
|
2973
|
-
return Re ? [...P, { ...Re, firstDay: g, frequency: I, secondDay: ce }] : P;
|
|
2974
|
-
});
|
|
2975
|
-
},
|
|
2976
|
-
setFirstDay: y,
|
|
2977
|
-
setFrequency: G,
|
|
2978
|
-
setSecondDay: U,
|
|
2979
|
-
transaction: de
|
|
2980
|
-
}
|
|
2981
|
-
),
|
|
2982
|
-
detailActionContent: i.onboarding_confirm_income,
|
|
2983
|
-
main: /* @__PURE__ */ e(
|
|
2984
|
-
io,
|
|
2985
|
-
{
|
|
2986
|
-
onSearch: He,
|
|
2987
|
-
onSelected: (T) => {
|
|
2988
|
-
k({ step: R.MonthlyIncome, type: "detail" }), le(T);
|
|
2989
|
-
}
|
|
2990
|
-
}
|
|
2991
|
-
),
|
|
2992
|
-
mainActionContent: i.onboarding_confirm_income,
|
|
2993
|
-
primaryText: i.onboarding_add_income_primary,
|
|
2994
|
-
secondaryText: i.onboarding_add_income_secondary
|
|
2995
|
-
},
|
|
2996
|
-
[R.Birthday]: {
|
|
2997
|
-
main: /* @__PURE__ */ e(Ur, { selectedDate: X, setSelectedDate: re }),
|
|
2998
|
-
mainActionContent: i.onboarding_next,
|
|
2999
|
-
primaryText: i.onboarding_birthday_primary,
|
|
3000
|
-
secondaryText: i.onboarding_birthday_secondary
|
|
3001
|
-
},
|
|
3002
|
-
[R.CreditScore]: {
|
|
3003
|
-
main: /* @__PURE__ */ e(Qr, { creditScore: x, setCreditScore: C }),
|
|
3004
|
-
mainActionContent: i.onboarding_next,
|
|
3005
|
-
primaryText: i.onboarding_credit_score_primary,
|
|
3006
|
-
secondaryText: i.onboarding_credit_score_secondary
|
|
3007
|
-
}
|
|
3008
|
-
}, Te = () => {
|
|
3009
|
-
k(ht), K(!1), le(""), n();
|
|
3010
|
-
}, rt = async () => {
|
|
3011
|
-
K(!0), await Zt(O), await r(), await v({ ...h, has_completed_finstrong_onboarding: !0 }), Te();
|
|
3012
|
-
}, Ut = () => {
|
|
3013
|
-
if (b.step === R.CreditScore) {
|
|
3014
|
-
rt();
|
|
3015
|
-
return;
|
|
3016
|
-
}
|
|
3017
|
-
k({ step: b.step + 1, type: "main" });
|
|
3018
|
-
}, qt = () => {
|
|
3019
|
-
const { step: T } = b, P = T + 1;
|
|
3020
|
-
switch (T) {
|
|
3021
|
-
case R.Birthday:
|
|
3022
|
-
X && X !== u.birthday && f({ ...u, birthday: X });
|
|
3023
|
-
break;
|
|
3024
|
-
case R.CreditScore:
|
|
3025
|
-
x && x !== u.credit_score && f({ ...u, credit_score: x }), rt();
|
|
3026
|
-
return;
|
|
3027
|
-
case R.MonthlyIncome:
|
|
3028
|
-
V && O.findIndex(({ guid: ve }) => ve === V) === -1 && $((ve) => [
|
|
3029
|
-
...ve,
|
|
3030
|
-
{ ...de, firstDay: g, frequency: I, secondDay: ce }
|
|
3031
|
-
]);
|
|
3032
|
-
break;
|
|
3033
|
-
case R.ConnectAccounts:
|
|
3034
|
-
if (!N) {
|
|
3035
|
-
be(!0);
|
|
3036
|
-
return;
|
|
3037
|
-
}
|
|
3038
|
-
break;
|
|
3039
|
-
}
|
|
3040
|
-
P in R && k({ step: P, type: "main" });
|
|
3041
|
-
}, Qt = () => {
|
|
3042
|
-
const { step: T, type: P } = b;
|
|
3043
|
-
if (P === "detail") {
|
|
3044
|
-
k({ step: T, type: "main" });
|
|
3045
|
-
return;
|
|
3046
|
-
}
|
|
3047
|
-
if (T === R.Birthday && O.length) {
|
|
3048
|
-
k({ step: T - 1, type: "detail" });
|
|
3049
|
-
return;
|
|
3050
|
-
}
|
|
3051
|
-
T > R.ConnectAccounts && k({ step: T - 1, type: "main" });
|
|
3052
|
-
}, Zt = async (T) => {
|
|
3053
|
-
for (const P of T) {
|
|
3054
|
-
const {
|
|
3055
|
-
account_guid: ve,
|
|
3056
|
-
amount: Re,
|
|
3057
|
-
date: pe,
|
|
3058
|
-
description: tn,
|
|
3059
|
-
feed_description: nn,
|
|
3060
|
-
firstDay: on,
|
|
3061
|
-
frequency: at,
|
|
3062
|
-
secondDay: rn,
|
|
3063
|
-
merchant_guid: an,
|
|
3064
|
-
payee: sn,
|
|
3065
|
-
transaction_type: cn
|
|
3066
|
-
} = P, ln = co(at, oo(pe)), dn = {
|
|
3067
|
-
account_guid: ve,
|
|
3068
|
-
amount: Re,
|
|
3069
|
-
created_by: 0,
|
|
3070
|
-
description: sn || tn || nn,
|
|
3071
|
-
merchant_guid: an,
|
|
3072
|
-
predicted_occurs_on: no(ln, { representation: "date" }),
|
|
3073
|
-
recurrence_day: on,
|
|
3074
|
-
recurrence_type: at,
|
|
3075
|
-
repeating_transaction_type: Ot.Income,
|
|
3076
|
-
second_recurrence_day: rn,
|
|
3077
|
-
transaction_type: cn,
|
|
3078
|
-
user_guid: u.guid
|
|
3079
|
-
};
|
|
3080
|
-
await a(dn, P);
|
|
3081
|
-
}
|
|
3082
|
-
}, Se = Ke[b.step], Oe = b.step === R.ConnectAccounts, Jt = {
|
|
3083
|
-
fullWidth: !0,
|
|
3084
|
-
...Oe && !N && { startIcon: /* @__PURE__ */ e(xt, {}) }
|
|
3085
|
-
}, en = !Oe || Oe && !N;
|
|
3086
|
-
return /* @__PURE__ */ s(m.Fragment, { children: [
|
|
3087
|
-
/* @__PURE__ */ e(
|
|
3088
|
-
ie,
|
|
3089
|
-
{
|
|
3090
|
-
footerStyles: { borderTop: 1, borderColor: "divider", px: 24, py: 16 },
|
|
3091
|
-
hasSecondaryAction: !Oe,
|
|
3092
|
-
isOpen: t,
|
|
3093
|
-
isPrimaryDisabled: !xe,
|
|
3094
|
-
onClose: Te,
|
|
3095
|
-
onSecondaryAction: Qt,
|
|
3096
|
-
primaryButtonProps: Jt,
|
|
3097
|
-
primaryText: Se?.mainActionContent,
|
|
3098
|
-
secondaryColor: "primary",
|
|
3099
|
-
secondaryText: i.onboarding_back,
|
|
3100
|
-
title: i.title,
|
|
3101
|
-
...!F && { onPrimaryAction: qt },
|
|
3102
|
-
children: /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
|
|
3103
|
-
F && /* @__PURE__ */ s(_, { sx: { alignItems: "center", gap: 24, position: "relative", px: 16, top: 126 }, children: [
|
|
3104
|
-
/* @__PURE__ */ e("img", { alt: "", src: Vo, style: { minHeight: 100, width: 211 } }),
|
|
3105
|
-
/* @__PURE__ */ e(Ge, { children: i.onboarding_calculate_primary }),
|
|
3106
|
-
/* @__PURE__ */ e(A, { sx: { textAlign: "center" }, variant: "subtitle1", children: i.onboarding_calculate_secondary })
|
|
3107
|
-
] }),
|
|
3108
|
-
Se && !F && /* @__PURE__ */ s(m.Fragment, { children: [
|
|
3109
|
-
/* @__PURE__ */ e(
|
|
3110
|
-
Zr,
|
|
3111
|
-
{
|
|
3112
|
-
completeCopy: i.complete,
|
|
3113
|
-
primaryText: Se.primaryText,
|
|
3114
|
-
secondaryText: Se.secondaryText,
|
|
3115
|
-
value: Ce
|
|
3116
|
-
}
|
|
3117
|
-
),
|
|
3118
|
-
b.type === "main" && /* @__PURE__ */ s(M, { sx: { bgcolor: "background.default" }, children: [
|
|
3119
|
-
Se.main,
|
|
3120
|
-
en && /* @__PURE__ */ e(_, { sx: { alignItems: "center", px: 24, py: 12 }, children: /* @__PURE__ */ e(E, { fullWidth: !0, onClick: Ut, children: i.onboarding_do_it_later }) })
|
|
3121
|
-
] }),
|
|
3122
|
-
b.type === "detail" && Se.detail
|
|
3123
|
-
] })
|
|
3124
|
-
] })
|
|
3125
|
-
}
|
|
3126
|
-
),
|
|
3127
|
-
/* @__PURE__ */ e(
|
|
3128
|
-
se,
|
|
3129
|
-
{
|
|
3130
|
-
onClose: () => be(!1),
|
|
3131
|
-
showConnectWidget: fe,
|
|
3132
|
-
title: i.connect_more_accounts_button
|
|
3133
|
-
}
|
|
3134
|
-
)
|
|
3135
|
-
] });
|
|
3136
|
-
}, ea = w(Jr), ta = () => {
|
|
3137
|
-
const { finstrong: t } = S(), [n, o] = m.useState(!1);
|
|
3138
|
-
return /* @__PURE__ */ s(m.Fragment, { children: [
|
|
3139
|
-
/* @__PURE__ */ s(
|
|
3140
|
-
_,
|
|
3141
|
-
{
|
|
3142
|
-
sx: {
|
|
3143
|
-
alignItems: "center",
|
|
3144
|
-
bgcolor: "background.default",
|
|
3145
|
-
gap: 48,
|
|
3146
|
-
height: "calc(100dvh - 116px)",
|
|
3147
|
-
pb: 24,
|
|
3148
|
-
pt: 72,
|
|
3149
|
-
px: 16
|
|
3150
|
-
},
|
|
3151
|
-
children: [
|
|
3152
|
-
/* @__PURE__ */ s(_, { sx: { alignItems: { sm: "center" }, gap: 24, width: "100%" }, children: [
|
|
3153
|
-
/* @__PURE__ */ e(M, { sx: { textAlign: "center" }, children: /* @__PURE__ */ e(vn, { size: 72 }) }),
|
|
3154
|
-
/* @__PURE__ */ s(_, { sx: { gap: 4, textAlign: "center", width: { sm: 400 } }, children: [
|
|
3155
|
-
/* @__PURE__ */ e(Ge, { children: t.onboarding_title }),
|
|
3156
|
-
/* @__PURE__ */ e(A, { sx: { color: "text.secondary" }, variant: "subtitle1", children: t.onboarding_subtitle })
|
|
3157
|
-
] })
|
|
3158
|
-
] }),
|
|
3159
|
-
/* @__PURE__ */ e(E, { onClick: () => o(!0), variant: "contained", children: t.onboarding_get_started })
|
|
3160
|
-
]
|
|
3161
|
-
}
|
|
3162
|
-
),
|
|
3163
|
-
/* @__PURE__ */ e(ea, { isOpen: n, onClose: () => o(!1) })
|
|
3164
|
-
] });
|
|
3165
|
-
}, na = ({ isOpen: t, onClose: n }) => {
|
|
3166
|
-
const { finstrong: o } = S(), r = W(), { updateUser: i, user: a } = oe(), { loadPeerScore: l } = L(), [c, d] = m.useState(a.birthday), p = (h) => {
|
|
3167
|
-
d(Math.floor(new Date(h).getTime() / 1e3));
|
|
3168
|
-
};
|
|
3169
|
-
return /* @__PURE__ */ e(
|
|
3170
|
-
ie,
|
|
3171
|
-
{
|
|
3172
|
-
footerStyles: { borderTop: 1, borderColor: "divider", px: 24, py: 16 },
|
|
3173
|
-
isOpen: t,
|
|
3174
|
-
onClose: n,
|
|
3175
|
-
onPrimaryAction: () => {
|
|
3176
|
-
!c || c === a.birthday || (i({ ...a, birthday: c }).finally(() => {
|
|
3177
|
-
l();
|
|
3178
|
-
}), n());
|
|
3179
|
-
},
|
|
3180
|
-
onSecondaryAction: n,
|
|
3181
|
-
title: o.date_of_birth,
|
|
3182
|
-
children: /* @__PURE__ */ e(_, { sx: { bgcolor: "background.default", height: "100%" }, children: /* @__PURE__ */ e(mo, { dateAdapter: Rt, children: /* @__PURE__ */ e(
|
|
3183
|
-
uo,
|
|
3184
|
-
{
|
|
3185
|
-
disableFuture: !0,
|
|
3186
|
-
onChange: p,
|
|
3187
|
-
slotProps: {
|
|
3188
|
-
nextIconButton: {
|
|
3189
|
-
sx: {
|
|
3190
|
-
color: "primary.main",
|
|
3191
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
3192
|
-
}
|
|
3193
|
-
},
|
|
3194
|
-
previousIconButton: {
|
|
3195
|
-
sx: {
|
|
3196
|
-
color: "primary.main",
|
|
3197
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
3198
|
-
}
|
|
3199
|
-
},
|
|
3200
|
-
switchViewButton: {
|
|
3201
|
-
sx: {
|
|
3202
|
-
color: "primary.main",
|
|
3203
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
3204
|
-
}
|
|
3205
|
-
}
|
|
3206
|
-
},
|
|
3207
|
-
slots: {
|
|
3208
|
-
actionBar: () => null,
|
|
3209
|
-
toolbar: () => null
|
|
3210
|
-
},
|
|
3211
|
-
sx: {
|
|
3212
|
-
width: "100%",
|
|
3213
|
-
"& .MuiIconButton-edgeEnd": {
|
|
3214
|
-
color: "primary.main",
|
|
3215
|
-
"&:hover": { bgcolor: ue(r.palette.primary.light, 0.1) }
|
|
3216
|
-
}
|
|
3217
|
-
},
|
|
3218
|
-
value: c ? new Date(c * 1e3) : /* @__PURE__ */ new Date()
|
|
3219
|
-
}
|
|
3220
|
-
) }) })
|
|
3221
|
-
}
|
|
3222
|
-
);
|
|
3223
|
-
}, oa = w(na), ra = ({ isOpen: t, onClose: n }) => {
|
|
3224
|
-
const { visibleFinstrongAccounts: o } = ke(), {
|
|
3225
|
-
accounts: r,
|
|
3226
|
-
common: i,
|
|
3227
|
-
finstrong: a,
|
|
3228
|
-
recurring: l
|
|
3229
|
-
} = S(), { repeatingTransactions: c } = Ze(), { user: d } = oe(), p = c.reduce((x, C) => {
|
|
3230
|
-
const { repeating_transaction_type: b, transactions: k, recurrence_type: g, amount: y } = C;
|
|
3231
|
-
return b === Ot.Income && (k && k.length > 0 || g === Tt.EveryYear) ? x + y : x;
|
|
3232
|
-
}, 0), [u, h] = m.useState(null), v = [
|
|
3233
|
-
{
|
|
3234
|
-
dynamicCopy: a.add_profile_item,
|
|
3235
|
-
fallbackLabel: a.monthly_income,
|
|
3236
|
-
icon: /* @__PURE__ */ e(wn, {}),
|
|
3237
|
-
key: q.MonthlyIncome,
|
|
3238
|
-
label: a.monthly_income,
|
|
3239
|
-
value: p
|
|
3240
|
-
},
|
|
3241
|
-
{
|
|
3242
|
-
dynamicCopy: a.add_profile_item,
|
|
3243
|
-
fallbackLabel: a.date_of_birth,
|
|
3244
|
-
icon: /* @__PURE__ */ e(kn, {}),
|
|
3245
|
-
key: q.DateOfBirth,
|
|
3246
|
-
label: a.date_of_birth,
|
|
3247
|
-
value: d.birthday
|
|
3248
|
-
},
|
|
3249
|
-
{
|
|
3250
|
-
dynamicCopy: a.add_profile_item,
|
|
3251
|
-
fallbackLabel: a.credit_score,
|
|
3252
|
-
icon: /* @__PURE__ */ e(bt, {}),
|
|
3253
|
-
key: q.CreditScore,
|
|
3254
|
-
label: a.credit_score,
|
|
3255
|
-
value: d.credit_score
|
|
3256
|
-
},
|
|
3257
|
-
{
|
|
3258
|
-
fallbackLabel: a.connect_your_accounts,
|
|
3259
|
-
icon: /* @__PURE__ */ e(ft, {}),
|
|
3260
|
-
key: q.Connections,
|
|
3261
|
-
label: a.connections,
|
|
3262
|
-
value: o.length > 0 ? z(
|
|
3263
|
-
a.connected_account,
|
|
3264
|
-
String(o.length),
|
|
3265
|
-
o.length > 1 ? a.accounts : a.account
|
|
3266
|
-
) : void 0
|
|
3267
|
-
}
|
|
3268
|
-
].map((x) => Oo(x));
|
|
3269
|
-
return /* @__PURE__ */ s(ie, { isOpen: t, onClose: n, title: a.financial_profile, children: [
|
|
3270
|
-
/* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", height: "100%" }, children: [
|
|
3271
|
-
/* @__PURE__ */ s(_, { sx: { gap: 20, p: 24 }, children: [
|
|
3272
|
-
/* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
|
|
3273
|
-
/* @__PURE__ */ e(j, { children: a.your_financial_profile }),
|
|
3274
|
-
/* @__PURE__ */ e(A, { children: a.financial_profile_description })
|
|
3275
|
-
] }),
|
|
3276
|
-
/* @__PURE__ */ e(
|
|
3277
|
-
Xt,
|
|
3278
|
-
{
|
|
3279
|
-
completeCopy: a.complete,
|
|
3280
|
-
value: v.reduce((x, C) => x + (C.isComplete ? 1 : 0), 0)
|
|
3281
|
-
}
|
|
3282
|
-
)
|
|
3283
|
-
] }),
|
|
3284
|
-
/* @__PURE__ */ e(Do, { list: v, onClickItem: h }),
|
|
3285
|
-
/* @__PURE__ */ e(M, { sx: { p: 24 }, children: /* @__PURE__ */ e(
|
|
3286
|
-
We,
|
|
3287
|
-
{
|
|
3288
|
-
description: a.connect_more_accounts_to_view_more_accurate_financial_picture,
|
|
3289
|
-
drawerType: "connectDrawer",
|
|
3290
|
-
isDashboard: !0,
|
|
3291
|
-
title: a.dont_see_all_your_accounts,
|
|
3292
|
-
titleDrawer: i.add_accounts
|
|
3293
|
-
}
|
|
3294
|
-
) })
|
|
3295
|
-
] }),
|
|
3296
|
-
/* @__PURE__ */ e(
|
|
3297
|
-
ie,
|
|
3298
|
-
{
|
|
3299
|
-
isOpen: u === q.MonthlyIncome,
|
|
3300
|
-
onClose: () => h(null),
|
|
3301
|
-
shouldShowHeaderBorders: !1,
|
|
3302
|
-
title: l.action_title,
|
|
3303
|
-
children: /* @__PURE__ */ e(_o, {})
|
|
3304
|
-
}
|
|
3305
|
-
),
|
|
3306
|
-
/* @__PURE__ */ e(oa, { isOpen: u === q.DateOfBirth, onClose: () => h(null) }),
|
|
3307
|
-
/* @__PURE__ */ e(Ht, { isOpen: u === q.CreditScore, onClose: () => h(null) }),
|
|
3308
|
-
/* @__PURE__ */ e(
|
|
3309
|
-
vt,
|
|
3310
|
-
{
|
|
3311
|
-
onClose: () => h(null),
|
|
3312
|
-
showConnectionsWidget: u === q.Connections,
|
|
3313
|
-
title: r.manage_connections
|
|
3314
|
-
}
|
|
3315
|
-
)
|
|
3316
|
-
] });
|
|
3317
|
-
}, aa = w(ra), gt = ({
|
|
3318
|
-
content: t,
|
|
3319
|
-
islast: n = !1
|
|
3320
|
-
}) => /* @__PURE__ */ s(go, { sx: { minHeight: 0 }, children: [
|
|
3321
|
-
/* @__PURE__ */ s(Co, { children: [
|
|
3322
|
-
/* @__PURE__ */ e(xo, { sx: { bgcolor: "divider", boxShadow: "none", p: 2 } }),
|
|
3323
|
-
!n && /* @__PURE__ */ e(
|
|
3324
|
-
fo,
|
|
3325
|
-
{
|
|
3326
|
-
sx: {
|
|
3327
|
-
bgcolor: "background.paper",
|
|
3328
|
-
borderLeft: "1px solid",
|
|
3329
|
-
borderColor: "divider",
|
|
3330
|
-
borderRadius: 1,
|
|
3331
|
-
m: -4
|
|
3332
|
-
}
|
|
3333
|
-
}
|
|
3334
|
-
)
|
|
3335
|
-
] }),
|
|
3336
|
-
/* @__PURE__ */ e(bo, { sx: { pb: 16, pl: 12, pr: 0, pt: 5 }, children: /* @__PURE__ */ e(A, { fontSize: 13, fontWeight: 400, variant: "subtitle2", children: t }) })
|
|
3337
|
-
] }), ia = ({ report: t }) => {
|
|
3338
|
-
const { finstrong: n } = S(), { score_history_drawer_timeline: o } = n, {
|
|
3339
|
-
health_score_point_difference: r,
|
|
3340
|
-
newer_credit_score: i,
|
|
3341
|
-
older_credit_score: a,
|
|
3342
|
-
older_spend_to_income_ratio: l,
|
|
3343
|
-
newer_spend_to_income_ratio: c,
|
|
3344
|
-
older_health_score: d,
|
|
3345
|
-
newer_health_score: p,
|
|
3346
|
-
newer_score_calculated_at: u
|
|
3347
|
-
} = t, h = Ct(new Date(u), "MMM d"), f = () => r === 0 ? "info.lighter" : r > 0 ? "success.lighter" : "error.lighter", v = () => r === 0 ? z(o.stayed_at, d) : r > 0 ? o.less_spending : o.more_spending, x = () => {
|
|
3348
|
-
if (r === 0) return null;
|
|
3349
|
-
const C = r > 0 ? o.up_from : o.down_from, b = z(C, d, p);
|
|
3350
|
-
return /* @__PURE__ */ s(H, { children: [
|
|
3351
|
-
/* @__PURE__ */ e(
|
|
3352
|
-
_n,
|
|
3353
|
-
{
|
|
3354
|
-
fill: !0,
|
|
3355
|
-
name: "circle",
|
|
3356
|
-
sx: { color: "text.secondary", fontSize: 8, mx: 4, p: 1 }
|
|
3357
|
-
}
|
|
3358
|
-
),
|
|
3359
|
-
b
|
|
3360
|
-
] });
|
|
3361
|
-
};
|
|
3362
|
-
return /* @__PURE__ */ s(Y, { children: [
|
|
3363
|
-
/* @__PURE__ */ e(
|
|
3364
|
-
M,
|
|
3365
|
-
{
|
|
3366
|
-
sx: {
|
|
3367
|
-
borderBottomColor: "divider",
|
|
3368
|
-
borderBottomStyle: "solid",
|
|
3369
|
-
borderBottomWidth: r !== 0 ? 1 : 0,
|
|
3370
|
-
p: 16
|
|
3371
|
-
},
|
|
3372
|
-
children: /* @__PURE__ */ s(
|
|
3373
|
-
_,
|
|
3374
|
-
{
|
|
3375
|
-
flexDirection: "row",
|
|
3376
|
-
sx: { alignItems: "center", gap: 16, height: 48, width: "100%" },
|
|
3377
|
-
children: [
|
|
3378
|
-
/* @__PURE__ */ e(
|
|
3379
|
-
_,
|
|
3380
|
-
{
|
|
3381
|
-
sx: {
|
|
3382
|
-
alignItems: "center",
|
|
3383
|
-
backgroundColor: f(),
|
|
3384
|
-
borderRadius: 999,
|
|
3385
|
-
height: 48,
|
|
3386
|
-
justifyContent: "center",
|
|
3387
|
-
width: 48
|
|
3388
|
-
},
|
|
3389
|
-
children: /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: "body1", children: r > 0 ? `+${r}` : r })
|
|
3390
|
-
}
|
|
3391
|
-
),
|
|
3392
|
-
/* @__PURE__ */ s(_, { sx: { gap: 2, width: "80%" }, children: [
|
|
3393
|
-
/* @__PURE__ */ e(D, { fontWeight: 600, variant: "body1", children: v() }),
|
|
3394
|
-
/* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "subtitle2", children: [
|
|
3395
|
-
h,
|
|
3396
|
-
" ",
|
|
3397
|
-
x()
|
|
3398
|
-
] })
|
|
3399
|
-
] })
|
|
3400
|
-
]
|
|
3401
|
-
}
|
|
3402
|
-
)
|
|
3403
|
-
}
|
|
3404
|
-
),
|
|
3405
|
-
r !== 0 && /* @__PURE__ */ e(M, { sx: { color: "text.secondary", pb: 8, pl: 32, pr: 16, pt: 12 }, children: /* @__PURE__ */ s(
|
|
3406
|
-
ho,
|
|
3407
|
-
{
|
|
3408
|
-
sx: {
|
|
3409
|
-
[`& .${yo.root}:before`]: {
|
|
3410
|
-
flex: 0,
|
|
3411
|
-
padding: 0
|
|
3412
|
-
},
|
|
3413
|
-
m: 0,
|
|
3414
|
-
p: 0
|
|
3415
|
-
},
|
|
3416
|
-
children: [
|
|
3417
|
-
/* @__PURE__ */ e(
|
|
3418
|
-
gt,
|
|
3419
|
-
{
|
|
3420
|
-
content: z(
|
|
3421
|
-
o.spend_to_income_description,
|
|
3422
|
-
Ee(l),
|
|
3423
|
-
Ee(c)
|
|
3424
|
-
)
|
|
3425
|
-
}
|
|
3426
|
-
),
|
|
3427
|
-
/* @__PURE__ */ e(
|
|
3428
|
-
gt,
|
|
3429
|
-
{
|
|
3430
|
-
content: z(
|
|
3431
|
-
o.credit_score_description,
|
|
3432
|
-
a,
|
|
3433
|
-
i
|
|
3434
|
-
),
|
|
3435
|
-
islast: !0
|
|
3436
|
-
}
|
|
3437
|
-
)
|
|
3438
|
-
]
|
|
3439
|
-
}
|
|
3440
|
-
) })
|
|
3441
|
-
] });
|
|
3442
|
-
}, sa = w(ia), ca = ({ isOpen: t, onClose: n }) => {
|
|
3443
|
-
const o = W(), { finstrong: r } = S(), { isCopyLoaded: i, isInitialized: a } = ne(), { augmentedChartData: l, healthScore: c, healthScoreChangeReports: d, peerScore: p } = L();
|
|
3444
|
-
if (!i || !a) return /* @__PURE__ */ e(ee, {});
|
|
3445
|
-
const u = nt(c.health_score || 0, r), h = d.slice().reverse();
|
|
3446
|
-
return /* @__PURE__ */ e(
|
|
3447
|
-
Kt,
|
|
3448
|
-
{
|
|
3449
|
-
additionalContent: /* @__PURE__ */ e(
|
|
3450
|
-
_,
|
|
3451
|
-
{
|
|
3452
|
-
sx: {
|
|
3453
|
-
backgroundColor: "background.paper",
|
|
3454
|
-
borderBottom: "1px solid",
|
|
3455
|
-
borderColor: "divider"
|
|
3456
|
-
},
|
|
3457
|
-
children: /* @__PURE__ */ e(
|
|
3458
|
-
Je,
|
|
3459
|
-
{
|
|
3460
|
-
axisColor: o.palette.divider,
|
|
3461
|
-
baseline: "min",
|
|
3462
|
-
colors: [o.palette.primary.main],
|
|
3463
|
-
curveType: "natural",
|
|
3464
|
-
datasets: [l],
|
|
3465
|
-
height: 160,
|
|
3466
|
-
isGraphClippingXAxis: !0,
|
|
3467
|
-
labels: [r.key_indicators_label],
|
|
3468
|
-
margin: { top: 24, bottom: 6, right: 24, left: -17 },
|
|
3469
|
-
peerAverage: Math.round(p?.average_health_score?.average_health_score || 0),
|
|
3470
|
-
showArea: !0,
|
|
3471
|
-
showAverage: !0,
|
|
3472
|
-
title: r.peer_average,
|
|
3473
|
-
useCustomMark: !0
|
|
3474
|
-
}
|
|
3475
|
-
)
|
|
3476
|
-
}
|
|
3477
|
-
),
|
|
3478
|
-
drawerTitle: r.score_history,
|
|
3479
|
-
isOpen: t,
|
|
3480
|
-
loadConnectAccountsCard: !1,
|
|
3481
|
-
onClose: n,
|
|
3482
|
-
stickyComponent: /* @__PURE__ */ e(
|
|
3483
|
-
_,
|
|
3484
|
-
{
|
|
3485
|
-
sx: {
|
|
3486
|
-
backgroundColor: "background.paper",
|
|
3487
|
-
pb: 11,
|
|
3488
|
-
pt: 8,
|
|
3489
|
-
px: 24
|
|
3490
|
-
},
|
|
3491
|
-
children: /* @__PURE__ */ s(_, { sx: { alignItems: "center", flexDirection: "row", gap: 16 }, children: [
|
|
3492
|
-
/* @__PURE__ */ e(
|
|
3493
|
-
zt,
|
|
3494
|
-
{
|
|
3495
|
-
arcRadius: 24,
|
|
3496
|
-
healthScore: c?.health_score,
|
|
3497
|
-
margin: { top: 9 },
|
|
3498
|
-
size: "SM"
|
|
3499
|
-
}
|
|
3500
|
-
),
|
|
3501
|
-
/* @__PURE__ */ s(_, { sx: { gap: 4 }, children: [
|
|
3502
|
-
/* @__PURE__ */ e(A, { variant: "h3", children: u.status }),
|
|
3503
|
-
/* @__PURE__ */ e(A, { variant: "caption", children: u.description })
|
|
3504
|
-
] })
|
|
3505
|
-
] })
|
|
3506
|
-
}
|
|
3507
|
-
),
|
|
3508
|
-
children: /* @__PURE__ */ e(_, { sx: { gap: 16 }, children: h.map((f, v) => /* @__PURE__ */ e(sa, { report: f }, v)) })
|
|
3509
|
-
}
|
|
3510
|
-
);
|
|
3511
|
-
}, la = w(ca), da = ({ copy: t }) => {
|
|
3512
|
-
const n = W(), o = [
|
|
3513
|
-
n.palette.chartMono.chartMono5,
|
|
3514
|
-
n.palette.chartMono.chartMono4,
|
|
3515
|
-
n.palette.chartMono.chartMono3,
|
|
3516
|
-
n.palette.chartMono.chartMono2
|
|
3517
|
-
];
|
|
3518
|
-
return /* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
|
|
3519
|
-
/* @__PURE__ */ e(_, { sx: { flexDirection: "row", gap: 8, px: 2 }, children: [
|
|
3520
|
-
{ color: "chartMono.chartMono2", text: t.vulnerable, value: "0-25" },
|
|
3521
|
-
{ color: "chartMono.chartMono3", text: t.building, value: "26-50" },
|
|
3522
|
-
{ color: "chartMono.chartMono4", text: t.stable, value: "51-75" },
|
|
3523
|
-
{ color: "chartMono.chartMono5", text: t.strong, value: "76-100" }
|
|
3524
|
-
].map(({ color: r, text: i, value: a }) => /* @__PURE__ */ s(_, { sx: { gap: 4, textAlign: "center", width: "100%" }, children: [
|
|
3525
|
-
/* @__PURE__ */ s(M, { children: [
|
|
3526
|
-
/* @__PURE__ */ e(A, { sx: { fontWeight: 700, textTransform: "uppercase" }, variant: "caption", children: i }),
|
|
3527
|
-
/* @__PURE__ */ s(D, { sx: { color: "text.secondary" }, variant: "caption", children: [
|
|
3528
|
-
"(",
|
|
3529
|
-
a,
|
|
3530
|
-
")"
|
|
3531
|
-
] })
|
|
3532
|
-
] }),
|
|
3533
|
-
/* @__PURE__ */ e(M, { sx: { border: "2px solid", borderColor: r, borderRadius: "3px" } })
|
|
3534
|
-
] }, i)) }),
|
|
3535
|
-
/* @__PURE__ */ s(M, { children: [
|
|
3536
|
-
/* @__PURE__ */ e(
|
|
3537
|
-
M,
|
|
3538
|
-
{
|
|
3539
|
-
sx: {
|
|
3540
|
-
background: `linear-gradient(to left, ${o.join(", ")})`,
|
|
3541
|
-
borderRadius: "4px",
|
|
3542
|
-
height: 16
|
|
3543
|
-
}
|
|
3544
|
-
}
|
|
3545
|
-
),
|
|
3546
|
-
/* @__PURE__ */ e(_, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100].map((r) => /* @__PURE__ */ s(
|
|
3547
|
-
_,
|
|
3548
|
-
{
|
|
3549
|
-
sx: { alignItems: "center", height: 20, justifyContent: "space-between", width: 24 },
|
|
3550
|
-
children: [
|
|
3551
|
-
/* @__PURE__ */ e(
|
|
3552
|
-
M,
|
|
3553
|
-
{
|
|
3554
|
-
sx: {
|
|
3555
|
-
borderBottom: "1px solid",
|
|
3556
|
-
borderColor: "divider",
|
|
3557
|
-
position: "relative",
|
|
3558
|
-
rotate: "90deg",
|
|
3559
|
-
top: 3.5,
|
|
3560
|
-
width: 8
|
|
3561
|
-
}
|
|
3562
|
-
}
|
|
3563
|
-
),
|
|
3564
|
-
/* @__PURE__ */ e(D, { sx: { color: "text.secondary" }, variant: "tiny", children: r })
|
|
3565
|
-
]
|
|
3566
|
-
},
|
|
3567
|
-
r
|
|
3568
|
-
)) })
|
|
3569
|
-
] })
|
|
3570
|
-
] });
|
|
3571
|
-
}, pa = ({ isOpen: t, onClose: n }) => {
|
|
3572
|
-
const { finstrong: o } = S(), { isCopyLoaded: r } = ne();
|
|
3573
|
-
return r ? /* @__PURE__ */ e(ie, { isOpen: t, onClose: n, title: o.score_rubric, children: /* @__PURE__ */ s(_, { sx: { bgcolor: "background.default", gap: 36, height: "100%", p: 24 }, children: [
|
|
3574
|
-
/* @__PURE__ */ s(_, { sx: { gap: 20 }, children: [
|
|
3575
|
-
/* @__PURE__ */ s(_, { sx: { gap: 8 }, children: [
|
|
3576
|
-
/* @__PURE__ */ e(j, { children: o.your_path_to_financial_freedom }),
|
|
3577
|
-
/* @__PURE__ */ e(A, { variant: "subtitle1", children: o.finstrong_freedom_description })
|
|
3578
|
-
] }),
|
|
3579
|
-
/* @__PURE__ */ e(M, { children: /* @__PURE__ */ e(da, { copy: o }) })
|
|
3580
|
-
] }),
|
|
3581
|
-
/* @__PURE__ */ s(_, { sx: { gap: 12 }, children: [
|
|
3582
|
-
/* @__PURE__ */ e(D, { sx: { fontWeight: 600 }, variant: "body1", children: o.how_do_we_do_this }),
|
|
3583
|
-
/* @__PURE__ */ s(
|
|
3584
|
-
Le,
|
|
3585
|
-
{
|
|
3586
|
-
component: "ol",
|
|
3587
|
-
sx: {
|
|
3588
|
-
listStyleType: "decimal",
|
|
3589
|
-
pl: 20,
|
|
3590
|
-
pr: 16,
|
|
3591
|
-
"& li": {
|
|
3592
|
-
"::marker": {
|
|
3593
|
-
fontWeight: 600
|
|
3594
|
-
}
|
|
3595
|
-
},
|
|
3596
|
-
"& .MuiListItemText-secondary": {
|
|
3597
|
-
fontSize: 15,
|
|
3598
|
-
lineHeight: "24px",
|
|
3599
|
-
pt: 4
|
|
3600
|
-
}
|
|
3601
|
-
},
|
|
3602
|
-
children: [
|
|
3603
|
-
/* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(
|
|
3604
|
-
me,
|
|
3605
|
-
{
|
|
3606
|
-
primary: o.understand_your_habits,
|
|
3607
|
-
secondary: o.understand_your_habits_description
|
|
3608
|
-
}
|
|
3609
|
-
) }),
|
|
3610
|
-
/* @__PURE__ */ e(_e, { sx: { display: "list-item", pt: 16 }, children: /* @__PURE__ */ e(
|
|
3611
|
-
me,
|
|
3612
|
-
{
|
|
3613
|
-
primary: o.see_whats_possible,
|
|
3614
|
-
secondary: o.see_whats_possible_description
|
|
3615
|
-
}
|
|
3616
|
-
) })
|
|
3617
|
-
]
|
|
3618
|
-
}
|
|
3619
|
-
)
|
|
3620
|
-
] }),
|
|
3621
|
-
/* @__PURE__ */ s(_, { sx: { gap: 4 }, children: [
|
|
3622
|
-
/* @__PURE__ */ e(D, { sx: { fontWeight: 600, pb: 4 }, variant: "body1", children: o.we_ask_questions }),
|
|
3623
|
-
/* @__PURE__ */ s(
|
|
3624
|
-
Le,
|
|
3625
|
-
{
|
|
3626
|
-
component: "ol",
|
|
3627
|
-
sx: {
|
|
3628
|
-
listStyleType: "initial",
|
|
3629
|
-
pl: 20,
|
|
3630
|
-
pr: 16,
|
|
3631
|
-
"& li": {
|
|
3632
|
-
minHeight: "max-content",
|
|
3633
|
-
"::marker": {
|
|
3634
|
-
color: "text.secondary",
|
|
3635
|
-
fontWeight: 600
|
|
3636
|
-
}
|
|
3637
|
-
},
|
|
3638
|
-
"& .MuiListItemText-secondary": {
|
|
3639
|
-
fontSize: 15,
|
|
3640
|
-
lineHeight: "24px"
|
|
3641
|
-
}
|
|
3642
|
-
},
|
|
3643
|
-
children: [
|
|
3644
|
-
/* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(me, { secondary: o.we_ask_questions_description_1 }) }),
|
|
3645
|
-
/* @__PURE__ */ e(_e, { sx: { display: "list-item" }, children: /* @__PURE__ */ e(me, { secondary: o.we_ask_questions_description_2 }) })
|
|
3646
|
-
]
|
|
3647
|
-
}
|
|
3648
|
-
)
|
|
3649
|
-
] })
|
|
3650
|
-
] }) }) : /* @__PURE__ */ e(ee, {});
|
|
3651
|
-
}, ua = w(pa), _a = w(() => {
|
|
3652
|
-
const [t, n] = m.useState(!1), o = W(), [r, { width: i }] = wt(), { finstrong: a } = S(), { isCopyLoaded: l, isInitialized: c } = ne(), { healthScore: d, healthScoreChange: p } = L(), u = o.palette.mode === "dark", h = nt(d?.health_score, a);
|
|
3653
|
-
return !l || !c ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ s(Y, { ref: r, sx: { p: 16, display: "flex", flexDirection: "column", gap: 8 }, children: [
|
|
3654
|
-
/* @__PURE__ */ s(_, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
3655
|
-
/* @__PURE__ */ e(j, { children: a.financial_strength_header }),
|
|
3656
|
-
/* @__PURE__ */ e(
|
|
3657
|
-
E,
|
|
3658
|
-
{
|
|
3659
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
3660
|
-
onClick: () => n(!0),
|
|
3661
|
-
size: "small",
|
|
3662
|
-
sx: {
|
|
3663
|
-
"&.MuiButtonBase-root": {
|
|
3664
|
-
px: 8,
|
|
3665
|
-
py: 4
|
|
3666
|
-
}
|
|
3667
|
-
},
|
|
3668
|
-
variant: "text",
|
|
3669
|
-
children: /* @__PURE__ */ e(
|
|
3670
|
-
D,
|
|
3671
|
-
{
|
|
3672
|
-
bold: !0,
|
|
3673
|
-
sx: {
|
|
3674
|
-
overflow: "visible"
|
|
3675
|
-
},
|
|
3676
|
-
variant: "body2",
|
|
3677
|
-
children: a.financial_strength_header_action
|
|
3678
|
-
}
|
|
3679
|
-
)
|
|
3680
|
-
}
|
|
3681
|
-
)
|
|
3682
|
-
] }),
|
|
3683
|
-
/* @__PURE__ */ e(_, { sx: { justifyContent: "center", alignItems: "center", pb: 4, pt: 20, px: 16 }, children: /* @__PURE__ */ e(
|
|
3684
|
-
zt,
|
|
3685
|
-
{
|
|
3686
|
-
arcRadius: i <= 323 ? 72.5 : 154,
|
|
3687
|
-
footerCenterContent: p,
|
|
3688
|
-
healthScore: d?.health_score || 0,
|
|
3689
|
-
size: i <= 323 ? "M" : "L"
|
|
3690
|
-
}
|
|
3691
|
-
) }),
|
|
3692
|
-
d?.health_score ? /* @__PURE__ */ s(
|
|
3693
|
-
So,
|
|
3694
|
-
{
|
|
3695
|
-
sx: {
|
|
3696
|
-
px: 16,
|
|
3697
|
-
backgroundColor: u ? "grey.800" : "grey.50",
|
|
3698
|
-
//TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
|
|
3699
|
-
"&.Mui-expanded": {
|
|
3700
|
-
m: 0
|
|
3701
|
-
},
|
|
3702
|
-
"&::before": {
|
|
3703
|
-
display: "none"
|
|
3704
|
-
}
|
|
3705
|
-
},
|
|
3706
|
-
children: [
|
|
3707
|
-
/* @__PURE__ */ e(
|
|
3708
|
-
wo,
|
|
3709
|
-
{
|
|
3710
|
-
expandIcon: /* @__PURE__ */ e(Mn, { size: 20 }),
|
|
3711
|
-
sx: {
|
|
3712
|
-
"&.MuiAccordionSummary-root": {
|
|
3713
|
-
minHeight: 0
|
|
3714
|
-
},
|
|
3715
|
-
height: 44,
|
|
3716
|
-
p: 0,
|
|
3717
|
-
"&.Mui-expanded": {
|
|
3718
|
-
minHeight: 0
|
|
3719
|
-
}
|
|
3720
|
-
},
|
|
3721
|
-
children: /* @__PURE__ */ e(A, { sx: { fontWeight: 600 }, variant: "body1", children: a.accordion_title_text })
|
|
3722
|
-
}
|
|
3723
|
-
),
|
|
3724
|
-
/* @__PURE__ */ e(vo, { sx: { "&.MuiAccordionDetails-root": { padding: 0, pb: 16 } }, children: /* @__PURE__ */ e(A, { variant: "subtitle1", children: h.scoreContent }) })
|
|
3725
|
-
]
|
|
3726
|
-
}
|
|
3727
|
-
) : /* @__PURE__ */ e(
|
|
3728
|
-
We,
|
|
3729
|
-
{
|
|
3730
|
-
buttonText: a.connect_more_accounts_title,
|
|
3731
|
-
description: a.health_score_zero_description,
|
|
3732
|
-
drawerType: "connectDrawer",
|
|
3733
|
-
hasIcon: !1,
|
|
3734
|
-
isDashboard: !0,
|
|
3735
|
-
sx: {
|
|
3736
|
-
backgroundColor: u ? "grey.800" : "grey.50",
|
|
3737
|
-
//TODO: Need to change the background color to palette (supporting both darkmode and lightmode)
|
|
3738
|
-
".connect-more-accounts-title": {
|
|
3739
|
-
fontWeight: 600,
|
|
3740
|
-
lineHeight: "20px",
|
|
3741
|
-
color: "text.primary"
|
|
3742
|
-
},
|
|
3743
|
-
".connect-more-accounts-description": { color: "text.primary" }
|
|
3744
|
-
},
|
|
3745
|
-
title: a.health_score_zero_title
|
|
3746
|
-
}
|
|
3747
|
-
),
|
|
3748
|
-
/* @__PURE__ */ e(
|
|
3749
|
-
ua,
|
|
3750
|
-
{
|
|
3751
|
-
isOpen: t,
|
|
3752
|
-
onClose: () => n(!1)
|
|
3753
|
-
}
|
|
3754
|
-
)
|
|
3755
|
-
] });
|
|
3756
|
-
}), ma = ({ onBackClick: t, onMenuClick: n, sx: o, onPrimaryCtaClick: r }) => {
|
|
3757
|
-
const { visibleAccounts: i } = ke(), { dateRange: a, isDataLoaded: l, loadBudgetData: c, setTheme: d } = Gn(), { reloadCategoryTotals: p } = Qe(), u = L(), {
|
|
3758
|
-
augmentedChartData: h,
|
|
3759
|
-
calculateHealthScore: f,
|
|
3760
|
-
loadAugmentedChartData: v,
|
|
3761
|
-
loadMonthlySummaries: x,
|
|
3762
|
-
loadPeerScore: C,
|
|
3763
|
-
peerScore: b,
|
|
3764
|
-
healthScore: k
|
|
3765
|
-
} = u, { finstrong: g, connect: y } = S(), { isInitialized: I } = ne(), { loadRepeatingTransactionData: G, isDataLoaded: O } = Ze(), { isSmallMobile: $ } = tt(), F = W(), { userProfile: K } = oe(), [fe, be] = m.useState(!1), [X, re] = m.useState(!1), [ce, U] = m.useState(!1), [V, le] = m.useState(!1), [de, xe] = m.useState(!1);
|
|
3766
|
-
ko({
|
|
3767
|
-
widgetName: "FinstrongWidget",
|
|
3768
|
-
isLoaded: fe
|
|
3769
|
-
}), m.useEffect(() => {
|
|
3770
|
-
d(F);
|
|
3771
|
-
}, []), m.useEffect(() => {
|
|
3772
|
-
r && (u.handleFinstrongWidgetPrimaryCtaClick = r);
|
|
3773
|
-
}, [r, u]), m.useEffect(() => {
|
|
3774
|
-
I && (x().finally(), C().finally(), f().finally());
|
|
3775
|
-
}, [I]), m.useEffect(() => {
|
|
3776
|
-
I && (p(i, a.start, a.end).finally(() => {
|
|
3777
|
-
be(!0);
|
|
3778
|
-
}), l || (c(), G().finally()));
|
|
3779
|
-
}, [a, l, I, i]), m.useEffect(() => {
|
|
3780
|
-
k?.health_score && v().finally();
|
|
3781
|
-
}, [k.health_score]);
|
|
3782
|
-
const N = () => U(!0), Ce = Math.round(b?.average_health_score?.average_health_score || 0), He = h.some((Te) => Te.y !== 0), Ke = () => {
|
|
3783
|
-
re(!0), f(!1).finally(() => {
|
|
3784
|
-
re(!1);
|
|
3785
|
-
}), U(!1);
|
|
3786
|
-
};
|
|
3787
|
-
return !I || !fe || !O || X ? /* @__PURE__ */ e(ee, {}) : /* @__PURE__ */ s(
|
|
3788
|
-
Mo,
|
|
3789
|
-
{
|
|
3790
|
-
actions: [
|
|
3791
|
-
{
|
|
3792
|
-
iconName: "person",
|
|
3793
|
-
label: g.profile,
|
|
3794
|
-
onClick: N
|
|
3795
|
-
}
|
|
3796
|
-
],
|
|
3797
|
-
hasDivider: !0,
|
|
3798
|
-
onBackClick: t,
|
|
3799
|
-
onMenuClick: n,
|
|
3800
|
-
showAccountFilter: !1,
|
|
3801
|
-
sx: o,
|
|
3802
|
-
title: g.title,
|
|
3803
|
-
children: [
|
|
3804
|
-
K.has_completed_finstrong_onboarding ? /* @__PURE__ */ s(
|
|
3805
|
-
_,
|
|
3806
|
-
{
|
|
3807
|
-
sx: {
|
|
3808
|
-
bgcolor: "background.default",
|
|
3809
|
-
flexDirection: { md: "row" },
|
|
3810
|
-
gap: 24,
|
|
3811
|
-
justifyContent: "center",
|
|
3812
|
-
pt: $ ? 16 : 24,
|
|
3813
|
-
px: $ ? 16 : 48
|
|
3814
|
-
},
|
|
3815
|
-
children: [
|
|
3816
|
-
/* @__PURE__ */ s(_, { sx: { gap: 24, width: { md: 432 }, height: "100%" }, children: [
|
|
3817
|
-
/* @__PURE__ */ e(_a, {}),
|
|
3818
|
-
/* @__PURE__ */ e(
|
|
3819
|
-
We,
|
|
3820
|
-
{
|
|
3821
|
-
description: g.connect_more_accounts_description,
|
|
3822
|
-
drawerType: "connectDrawer",
|
|
3823
|
-
title: g.connect_more_accounts_title
|
|
3824
|
-
}
|
|
3825
|
-
)
|
|
3826
|
-
] }),
|
|
3827
|
-
/* @__PURE__ */ e(_, { sx: { maxWidth: 848, width: { md: 720 } }, children: /* @__PURE__ */ s(Y, { sx: { height: "100%", p: 16 }, children: [
|
|
3828
|
-
/* @__PURE__ */ s(
|
|
3829
|
-
_,
|
|
3830
|
-
{
|
|
3831
|
-
direction: "row",
|
|
3832
|
-
sx: { alignItems: "center", gap: 12, justifyContent: "space-between" },
|
|
3833
|
-
children: [
|
|
3834
|
-
/* @__PURE__ */ e(j, { children: g.key_indicators }),
|
|
3835
|
-
/* @__PURE__ */ e(
|
|
3836
|
-
E,
|
|
3837
|
-
{
|
|
3838
|
-
endIcon: /* @__PURE__ */ e(J, {}),
|
|
3839
|
-
onClick: () => le(!0),
|
|
3840
|
-
size: "small",
|
|
3841
|
-
sx: {
|
|
3842
|
-
"&.MuiButtonBase-root": {
|
|
3843
|
-
px: 8,
|
|
3844
|
-
py: 4
|
|
3845
|
-
}
|
|
3846
|
-
},
|
|
3847
|
-
variant: "text",
|
|
3848
|
-
children: /* @__PURE__ */ e(D, { bold: !0, variant: "body2", children: g.whats_changed })
|
|
3849
|
-
}
|
|
3850
|
-
)
|
|
3851
|
-
]
|
|
3852
|
-
}
|
|
3853
|
-
),
|
|
3854
|
-
He ? /* @__PURE__ */ e(
|
|
3855
|
-
Je,
|
|
3856
|
-
{
|
|
3857
|
-
axisColor: F.palette.divider,
|
|
3858
|
-
baseline: "min",
|
|
3859
|
-
colors: [F.palette.primary.main],
|
|
3860
|
-
curveType: "natural",
|
|
3861
|
-
customLegendBoxSx: { borderRadius: "2px" },
|
|
3862
|
-
customLegendSx: { left: 0 },
|
|
3863
|
-
customLegendVariant: "caption",
|
|
3864
|
-
datasets: [h],
|
|
3865
|
-
height: 300,
|
|
3866
|
-
isCurrency: !1,
|
|
3867
|
-
isGraphClippingXAxis: !0,
|
|
3868
|
-
labelBackgroundColor: F.palette.neutral.dark,
|
|
3869
|
-
labelFontColor: F.palette.common.white,
|
|
3870
|
-
labelFontSize: typeof F.typography.caption?.fontSize == "string" ? parseFloat(F.typography.caption.fontSize) : F.typography.caption?.fontSize,
|
|
3871
|
-
labels: [g.key_indicators_label],
|
|
3872
|
-
margin: { right: 12, left: -37 },
|
|
3873
|
-
peerAverage: Ce,
|
|
3874
|
-
showArea: !0,
|
|
3875
|
-
showAverage: !0,
|
|
3876
|
-
showLegend: !0,
|
|
3877
|
-
showMarkLabel: !0,
|
|
3878
|
-
showTooltip: !0,
|
|
3879
|
-
showXAxis: !0,
|
|
3880
|
-
title: g.peer_average
|
|
3881
|
-
}
|
|
3882
|
-
) : /* @__PURE__ */ e(Vr, { onClick: () => xe(!0) }),
|
|
3883
|
-
/* @__PURE__ */ e(Hr, {})
|
|
3884
|
-
] }) })
|
|
3885
|
-
]
|
|
3886
|
-
}
|
|
3887
|
-
) : /* @__PURE__ */ e(ta, {}),
|
|
3888
|
-
/* @__PURE__ */ e(aa, { isOpen: ce, onClose: Ke }),
|
|
3889
|
-
/* @__PURE__ */ e(
|
|
3890
|
-
se,
|
|
3891
|
-
{
|
|
3892
|
-
onClose: () => xe(!1),
|
|
3893
|
-
showConnectWidget: de,
|
|
3894
|
-
title: y.mini_title
|
|
3895
|
-
}
|
|
3896
|
-
),
|
|
3897
|
-
/* @__PURE__ */ e(
|
|
3898
|
-
la,
|
|
3899
|
-
{
|
|
3900
|
-
isOpen: V,
|
|
3901
|
-
onClose: () => le(!1)
|
|
3902
|
-
}
|
|
3903
|
-
)
|
|
3904
|
-
]
|
|
3905
|
-
}
|
|
3906
|
-
);
|
|
3907
|
-
}, Ni = w(ma);
|
|
1
|
+
import { DialScoreCard as o } from "./components/shared/DialScoreCard.es.js";
|
|
2
|
+
import { FinancialStrengthGraph as i } from "./components/FinancialStrengthGraph.es.js";
|
|
3
|
+
import { CreditScoreGraph as e } from "./components/CreditScoreGraph.es.js";
|
|
4
|
+
import n from "./FinstrongWidget.es.js";
|
|
3908
5
|
export {
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
6
|
+
e as CreditScoreGraph,
|
|
7
|
+
o as DialScoreCard,
|
|
8
|
+
i as FinancialStrengthGraph,
|
|
9
|
+
n as FinstrongWidget
|
|
3913
10
|
};
|
|
3914
|
-
//# sourceMappingURL=index.es.js.map
|