@mx-cartographer/experiences 9.2.4-alpha.al5 → 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-DVZTB7Dp.mjs +0 -922
- package/dist/AccountDetailsDrawer-DVZTB7Dp.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-CWZoNePh.mjs +0 -431
- package/dist/CategorySelectorDrawer-CWZoNePh.mjs.map +0 -1
- package/dist/Connect-BH0Pt6zc.mjs +0 -43
- package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
- package/dist/ConnectCard-CVMLPujx.mjs +0 -55
- package/dist/ConnectCard-CVMLPujx.mjs.map +0 -1
- package/dist/ConnectDrawer-L-UwjKiw.mjs +0 -58
- package/dist/ConnectDrawer-L-UwjKiw.mjs.map +0 -1
- package/dist/ConnectionsDrawer-B2-IGB21.mjs +0 -54
- package/dist/ConnectionsDrawer-B2-IGB21.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-BDN1RgiP.mjs +0 -233
- package/dist/Drawer-BDN1RgiP.mjs.map +0 -1
- package/dist/EmbeddedCard-B1xiWlSD.mjs +0 -860
- package/dist/EmbeddedCard-B1xiWlSD.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-BmhxpUxp.mjs +0 -25
- package/dist/ExportCsvAction-BmhxpUxp.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-CkQTjORd.mjs +0 -300
- package/dist/Help-CkQTjORd.mjs.map +0 -1
- package/dist/Help-CsyZsI4_.mjs +0 -3210
- package/dist/Help-CsyZsI4_.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-Cy_iopks.mjs +0 -906
- package/dist/ManageIncome-Cy_iopks.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-C7-S6PC1.mjs +0 -678
- package/dist/NotificationSettings-C7-S6PC1.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-UHjXxW8J.mjs +0 -89
- package/dist/RecurringSettings-UHjXxW8J.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-Nuyunc5m.mjs +0 -1710
- package/dist/TransactionDetails-Nuyunc5m.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-By47tuTw.mjs +0 -487
- package/dist/WidgetContainer-By47tuTw.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
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { buildDynamicCopy as _ } from "../../core/utils/Localization.es.js";
|
|
2
|
+
import { DATE_FORMATS_INTL as I, formatDate as A } from "../../core/constants/DateFormats.es.js";
|
|
3
|
+
import { formatCurrency as S } from "../../core/utils/NumberFormatting.es.js";
|
|
4
|
+
import { CardStatus as m, FinstrongThresholds as l } from "../../common/constants/FinStrong.es.js";
|
|
5
|
+
import { Action as O } from "../components/ProfileList.es.js";
|
|
6
|
+
import { addDays as v } from "date-fns/addDays";
|
|
7
|
+
import { addMonths as R } from "date-fns/addMonths";
|
|
8
|
+
import { format as T } from "date-fns/format";
|
|
9
|
+
import { startOfToday as D } from "date-fns/startOfToday";
|
|
10
|
+
import { Check as p } from "@mxenabled/mx-icons";
|
|
11
|
+
import { jsx as E } from "react/jsx-runtime";
|
|
12
|
+
import { addYears as G } from "date-fns/addYears";
|
|
13
|
+
import { differenceInDays as M } from "date-fns/differenceInDays";
|
|
14
|
+
import { differenceInMonths as N } from "date-fns/differenceInMonths";
|
|
15
|
+
import { differenceInWeeks as f } from "date-fns/differenceInWeeks";
|
|
16
|
+
var Q = (t) => t * (180 / Math.PI), Z = (t, r) => [
|
|
17
|
+
{
|
|
18
|
+
description: r.vulnerable_description,
|
|
19
|
+
max: 25,
|
|
20
|
+
scoreContent: r.accordion_details_text.vulnerable,
|
|
21
|
+
status: r.vulnerable
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
description: r.building_description,
|
|
25
|
+
max: 50,
|
|
26
|
+
scoreContent: r.accordion_details_text.building,
|
|
27
|
+
status: r.building
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
description: r.stable_description,
|
|
31
|
+
max: 75,
|
|
32
|
+
scoreContent: r.accordion_details_text.stable,
|
|
33
|
+
status: r.stable
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
description: r.strong_description,
|
|
37
|
+
max: 100,
|
|
38
|
+
scoreContent: r.accordion_details_text.strong,
|
|
39
|
+
status: r.strong
|
|
40
|
+
}
|
|
41
|
+
].find((e) => t > 0 && t <= e.max) || {
|
|
42
|
+
status: r.insufficient_data,
|
|
43
|
+
description: "",
|
|
44
|
+
scoreContent: ""
|
|
45
|
+
}, d = {
|
|
46
|
+
POOR: "#8C0E0E",
|
|
47
|
+
FAIR: "#E32727",
|
|
48
|
+
GOOD: "#FFB70D",
|
|
49
|
+
VERY_GOOD: "#0EA26C",
|
|
50
|
+
EXCEPTIONAL: "#005C3D"
|
|
51
|
+
}, c = {
|
|
52
|
+
POOR: "#B21C1C",
|
|
53
|
+
FAIR: "#FF3232",
|
|
54
|
+
GOOD: "#FFC02C",
|
|
55
|
+
VERY_GOOD: "#29C76B",
|
|
56
|
+
EXCEPTIONAL: "#008A5A"
|
|
57
|
+
}, tt = (t, r, e) => t >= 300 && t < 580 ? {
|
|
58
|
+
status: e.poor,
|
|
59
|
+
color: r ? c.POOR : d.POOR
|
|
60
|
+
} : t >= 580 && t < 670 ? {
|
|
61
|
+
status: e.fair,
|
|
62
|
+
color: r ? c.FAIR : d.FAIR
|
|
63
|
+
} : t >= 670 && t < 740 ? {
|
|
64
|
+
status: e.good,
|
|
65
|
+
color: r ? c.GOOD : d.GOOD
|
|
66
|
+
} : t >= 740 && t < 800 ? {
|
|
67
|
+
status: e.very_good,
|
|
68
|
+
color: r ? c.VERY_GOOD : d.VERY_GOOD
|
|
69
|
+
} : t >= 800 && t <= 850 ? {
|
|
70
|
+
status: e.exceptional,
|
|
71
|
+
color: r ? c.EXCEPTIONAL : d.EXCEPTIONAL
|
|
72
|
+
} : { status: e.missing_data }, rt = (t, r, e, n) => {
|
|
73
|
+
const s = t.reduce((a, u) => a + u.value, 0);
|
|
74
|
+
let o = 0;
|
|
75
|
+
const i = t.map((a) => {
|
|
76
|
+
const u = a.value / s * r, g = e + o, F = g + u;
|
|
77
|
+
return o += u, {
|
|
78
|
+
...a,
|
|
79
|
+
startAngle: g,
|
|
80
|
+
endAngle: F
|
|
81
|
+
};
|
|
82
|
+
});
|
|
83
|
+
return [i[n].startAngle, i[n].endAngle];
|
|
84
|
+
}, et = (t, r, e, n, s) => {
|
|
85
|
+
let o = 0, i = 0;
|
|
86
|
+
const a = Math.floor(n), u = n - a;
|
|
87
|
+
return a > e ? (o = t, i = r) : a === e && u > 0 && (o = t, i = s), [o, i];
|
|
88
|
+
}, nt = (t, r, e = 0) => [t * Math.sin(r - e), -t * Math.cos(r - e)], ot = ({ dynamicCopy: t, fallbackLabel: r, icon: e, key: n, label: s, value: o }) => {
|
|
89
|
+
const i = !!o, a = i ? b(n, o) : t && _(t, r) || r;
|
|
90
|
+
return {
|
|
91
|
+
icon: i ? /* @__PURE__ */ E(p, {}) : e,
|
|
92
|
+
isComplete: i,
|
|
93
|
+
key: n,
|
|
94
|
+
primaryText: s,
|
|
95
|
+
secondaryText: a
|
|
96
|
+
};
|
|
97
|
+
}, b = (t, r) => ({
|
|
98
|
+
[O.DateOfBirth]: (e) => T(/* @__PURE__ */ new Date(Number(e) * 1e3), "MMM d, yyyy"),
|
|
99
|
+
[O.MonthlyIncome]: (e) => S(Number(e), "0.00")
|
|
100
|
+
})[t]?.(r) ?? String(r), it = (t) => t !== null ? Math.round(t * 100) : null, at = (t) => A(new Date((/* @__PURE__ */ new Date()).getFullYear(), t - 1, 1), I.MONTH_SHORT), ut = (t) => {
|
|
101
|
+
const { good: r, poor: e } = l.daysOfCashOnHand;
|
|
102
|
+
return t === null ? "MISSING" : t >= r ? "GOOD" : t >= e ? "FAIR" : "OFF_TRACK";
|
|
103
|
+
}, st = (t) => {
|
|
104
|
+
const { good: r, poor: e } = l.emergencySavings;
|
|
105
|
+
return t === null ? "MISSING" : t >= r ? "GOOD" : t >= e ? "FAIR" : "OFF_TRACK";
|
|
106
|
+
}, dt = (t) => {
|
|
107
|
+
const { good: r, poor: e } = l.spendToIncomeRatio;
|
|
108
|
+
return t === null ? "MISSING" : t < r ? "GOOD" : t < e ? "FAIR" : "OFF_TRACK";
|
|
109
|
+
}, ct = (t) => {
|
|
110
|
+
const { good: r, poor: e } = l.debtToIncomeRatio;
|
|
111
|
+
return t === null ? "MISSING" : t <= r ? "GOOD" : t <= e ? "FAIR" : "OFF_TRACK";
|
|
112
|
+
}, lt = (t) => {
|
|
113
|
+
const { good: r, poor: e } = l.creditScore;
|
|
114
|
+
return t === null ? "MISSING" : t >= r ? "GOOD" : t >= e ? "FAIR" : "OFF_TRACK";
|
|
115
|
+
}, P = (t) => t === null ? "MISSING" : t === 0 ? "GOOD" : "OFF_TRACK", gt = (t, r) => {
|
|
116
|
+
const e = P(t);
|
|
117
|
+
return {
|
|
118
|
+
cardState: e,
|
|
119
|
+
description: {
|
|
120
|
+
GOOD: r.count_good_description,
|
|
121
|
+
OFF_TRACK: r.count_off_track_description,
|
|
122
|
+
MISSING: r.count_missing_description
|
|
123
|
+
}[e],
|
|
124
|
+
title: r.count_card_title
|
|
125
|
+
};
|
|
126
|
+
}, mt = (t) => ({
|
|
127
|
+
[m.GOOD]: {
|
|
128
|
+
backgroundColor: "success.lighter",
|
|
129
|
+
color: "success.dark"
|
|
130
|
+
},
|
|
131
|
+
[m.FAIR]: {
|
|
132
|
+
backgroundColor: "warning.lighter",
|
|
133
|
+
color: "warning.dark"
|
|
134
|
+
},
|
|
135
|
+
[m.OFF_TRACK]: {
|
|
136
|
+
backgroundColor: "error.lighter",
|
|
137
|
+
color: "error.dark"
|
|
138
|
+
},
|
|
139
|
+
[m.MISSING]: {
|
|
140
|
+
backgroundColor: "divider",
|
|
141
|
+
color: "text.secondary"
|
|
142
|
+
}
|
|
143
|
+
})[t], x = 1, L = 1, K = {
|
|
144
|
+
1: R,
|
|
145
|
+
2: G,
|
|
146
|
+
3: v
|
|
147
|
+
}, w = {
|
|
148
|
+
1: N,
|
|
149
|
+
2: (t, r) => f(t, r) / 2,
|
|
150
|
+
3: f,
|
|
151
|
+
4: M
|
|
152
|
+
}, C = [
|
|
153
|
+
{
|
|
154
|
+
contributionPeriodIndex: 3,
|
|
155
|
+
targetAmount: 6,
|
|
156
|
+
upperLimit: 500
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
contributionPeriodIndex: 3,
|
|
160
|
+
targetAmount: 3,
|
|
161
|
+
upperLimit: 900
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
contributionPeriodIndex: 2,
|
|
165
|
+
targetAmount: 1,
|
|
166
|
+
upperLimit: 1e3
|
|
167
|
+
}
|
|
168
|
+
], Ot = ({ contribution: t, goalAmount: r, goalPeriod: e, targetPeriod: n, totalSaved: s }) => {
|
|
169
|
+
const o = r - s;
|
|
170
|
+
if (o <= 0) return 0;
|
|
171
|
+
const i = D(), a = K[n], u = w[t];
|
|
172
|
+
if (!a || !u) return o;
|
|
173
|
+
const g = u(a(i, e), i);
|
|
174
|
+
return Math.max(o / (g || 1), 1);
|
|
175
|
+
}, ft = (t) => !t || t <= 0 ? "0%" : t >= 1e3 ? "100%" : `${Math.round(t / 10)}%`, It = (t) => C.find((r) => t < r.upperLimit)?.targetAmount ?? L, At = (t) => C.find((r) => t < r.upperLimit)?.contributionPeriodIndex ?? x, Ct = (t, r) => [...t].sort((e, n) => e.year === n.year ? e.month - n.month : e.year - n.year).map((e) => ({
|
|
176
|
+
x: A(new Date(0, e.month - 1, 1), I.MONTH_SHORT),
|
|
177
|
+
y: e[r]
|
|
178
|
+
}));
|
|
179
|
+
export {
|
|
180
|
+
c as CreditScoreDarkColors,
|
|
181
|
+
d as CreditScoreLightColors,
|
|
182
|
+
ot as buildProfileItem,
|
|
183
|
+
Ot as calculateContribution,
|
|
184
|
+
Z as calculateFinstrongScoreStatus,
|
|
185
|
+
ft as calculatePercentage,
|
|
186
|
+
mt as getCardStateStyles,
|
|
187
|
+
tt as getCreditScoreDetails,
|
|
188
|
+
lt as getCreditScoreState,
|
|
189
|
+
ut as getDaysOfCashOnHandState,
|
|
190
|
+
st as getEmergencySavingsState,
|
|
191
|
+
et as getFilledArcStartEndAngle,
|
|
192
|
+
At as getInitialContributionPeriod,
|
|
193
|
+
It as getInitialTargetPeriodAmount,
|
|
194
|
+
ct as getManageDebtRatioState,
|
|
195
|
+
nt as getMarkerXYCoordinates,
|
|
196
|
+
at as getMonthName,
|
|
197
|
+
rt as getOutterArcStartEndAngle,
|
|
198
|
+
it as getPercentFromRatio,
|
|
199
|
+
Ct as getSeriesGraphData,
|
|
200
|
+
dt as getSpendToIncomeRatioState,
|
|
201
|
+
P as getSpendingFeeCountState,
|
|
202
|
+
gt as getSpendingFeeCountStatus,
|
|
203
|
+
Q as radiansToDegrees
|
|
204
|
+
};
|
|
205
|
+
|
|
206
|
+
//# sourceMappingURL=finstrongUtils.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"finstrongUtils.es.js","names":[],"sources":["../../../src/finstrong/util/finstrongUtils.tsx"],"sourcesContent":["import { addDays } from 'date-fns/addDays'\nimport { addMonths } from 'date-fns/addMonths'\nimport { addYears } from 'date-fns/addYears'\nimport { differenceInDays } from 'date-fns/differenceInDays'\nimport { differenceInMonths } from 'date-fns/differenceInMonths'\nimport { differenceInWeeks } from 'date-fns/differenceInWeeks'\nimport { format } from 'date-fns/format'\nimport { startOfToday } from 'date-fns/startOfToday'\n\nimport type { PieValueType } from '@mui/x-charts'\n\nimport { Check } from '@mxenabled/mx-icons'\n\nimport { DATE_FORMATS_INTL, formatDate } from '../../core/constants'\nimport { type MonthlySummaries } from '../../core'\nimport type {\n CreditScoreStatusCopy,\n FinstrongCopy,\n KeyIndicatorSpend,\n} from '../../core/types/localization/FinstrongCopy'\nimport { CardStatus, FinstrongThresholds } from '../../common/constants/FinStrong'\n\nimport { Action } from '../components/ProfileList'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\n\nexport const radiansToDegrees = (radians: number): number => {\n return radians * (180 / Math.PI)\n}\n\nexport const calculateFinstrongScoreStatus = (healthScore: number, copy: FinstrongCopy) => {\n const scoreRanges = [\n {\n description: copy.vulnerable_description,\n max: 25,\n scoreContent: copy.accordion_details_text.vulnerable,\n status: copy.vulnerable,\n },\n {\n description: copy.building_description,\n max: 50,\n scoreContent: copy.accordion_details_text.building,\n status: copy.building,\n },\n {\n description: copy.stable_description,\n max: 75,\n scoreContent: copy.accordion_details_text.stable,\n status: copy.stable,\n },\n {\n description: copy.strong_description,\n max: 100,\n scoreContent: copy.accordion_details_text.strong,\n status: copy.strong,\n },\n ]\n\n const foundRange = scoreRanges.find((range) => healthScore > 0 && healthScore <= range.max)\n\n return foundRange || { status: copy.insufficient_data, description: '', scoreContent: '' }\n}\n\nexport const CreditScoreLightColors = {\n POOR: '#8C0E0E',\n FAIR: '#E32727',\n GOOD: '#FFB70D',\n VERY_GOOD: '#0EA26C',\n EXCEPTIONAL: '#005C3D',\n}\n\nexport const CreditScoreDarkColors = {\n POOR: '#B21C1C',\n FAIR: '#FF3232',\n GOOD: '#FFC02C',\n VERY_GOOD: '#29C76B',\n EXCEPTIONAL: '#008A5A',\n}\n\nexport const getCreditScoreDetails = (\n healthScore: number,\n isDarkMode: boolean,\n copy: CreditScoreStatusCopy,\n) => {\n if (healthScore >= 300 && healthScore < 580) {\n return {\n status: copy.poor,\n color: isDarkMode ? CreditScoreDarkColors.POOR : CreditScoreLightColors.POOR,\n }\n } else if (healthScore >= 580 && healthScore < 670) {\n return {\n status: copy.fair,\n color: isDarkMode ? CreditScoreDarkColors.FAIR : CreditScoreLightColors.FAIR,\n }\n } else if (healthScore >= 670 && healthScore < 740) {\n return {\n status: copy.good,\n color: isDarkMode ? CreditScoreDarkColors.GOOD : CreditScoreLightColors.GOOD,\n }\n } else if (healthScore >= 740 && healthScore < 800) {\n return {\n status: copy.very_good,\n color: isDarkMode ? CreditScoreDarkColors.VERY_GOOD : CreditScoreLightColors.VERY_GOOD,\n }\n } else if (healthScore >= 800 && healthScore <= 850) {\n return {\n status: copy.exceptional,\n color: isDarkMode ? CreditScoreDarkColors.EXCEPTIONAL : CreditScoreLightColors.EXCEPTIONAL,\n }\n }\n return { status: copy.missing_data }\n}\n\nexport const getOutterArcStartEndAngle = (\n healthScoreData: PieValueType[],\n totalAngularSpan: number,\n arcStartAngle: number,\n dataIndex: number,\n) => {\n const total = healthScoreData.reduce((sum, item) => sum + item.value, 0)\n\n let cumulativeAngle = 0\n\n const arcs = healthScoreData.map((item) => {\n const anglePortion = (item.value / total) * totalAngularSpan\n\n const sliceStart = arcStartAngle + cumulativeAngle\n const sliceEnd = sliceStart + anglePortion\n\n cumulativeAngle += anglePortion\n\n return {\n ...item,\n startAngle: sliceStart,\n endAngle: sliceEnd,\n }\n })\n return [arcs[dataIndex].startAngle, arcs[dataIndex].endAngle]\n}\n\nexport const getFilledArcStartEndAngle = (\n outterArcStartAngle: number,\n outterArcEndAngle: number,\n dataIndex: number,\n unitsPerSegment: number,\n progressEndAngle: number,\n) => {\n let filledArcStartAngle = 0\n let filledArcEndAngle = 0\n const wholeSegments = Math.floor(unitsPerSegment)\n const partialSegment = unitsPerSegment - wholeSegments\n if (wholeSegments > dataIndex) {\n filledArcStartAngle = outterArcStartAngle\n filledArcEndAngle = outterArcEndAngle\n } else if (wholeSegments === dataIndex && partialSegment > 0) {\n filledArcStartAngle = outterArcStartAngle\n filledArcEndAngle = progressEndAngle\n }\n return [filledArcStartAngle, filledArcEndAngle]\n}\n\nexport const getMarkerXYCoordinates = (\n markerRadius: number,\n progressEndAngle: number,\n angleOffset: number = 0,\n) => {\n const markerX = markerRadius * Math.sin(progressEndAngle - angleOffset)\n const markerY = -markerRadius * Math.cos(progressEndAngle - angleOffset)\n return [markerX, markerY]\n}\n\nexport const buildProfileItem = ({\n dynamicCopy,\n fallbackLabel,\n icon,\n key,\n label,\n value,\n}: {\n dynamicCopy?: string\n fallbackLabel: string\n icon: React.JSX.Element\n key: Action\n label: string\n value: string | number | undefined | null\n}) => {\n const isComplete = Boolean(value)\n\n const secondaryText = isComplete\n ? getFormattedValue(key, value!)\n : (dynamicCopy && (buildDynamicCopy(dynamicCopy, fallbackLabel) as string)) || fallbackLabel\n\n return {\n icon: isComplete ? <Check /> : icon,\n isComplete,\n key,\n primaryText: label,\n secondaryText,\n }\n}\n\nconst getFormattedValue = (key: Action, value: string | number) => {\n const formatters: Partial<Record<Action, (value: string | number) => string>> = {\n [Action.DateOfBirth]: (v) => format(new Date(Number(v) * 1000), 'MMM d, yyyy'),\n [Action.MonthlyIncome]: (v) => formatCurrency(Number(v), '0.00'),\n }\n\n return formatters[key]?.(value) ?? String(value)\n}\n\nexport const getPercentFromRatio = (ratio: number | null) => {\n return ratio !== null ? Math.round(ratio * 100) : null\n}\n\nexport const getMonthName = (month: number): string => {\n const date = new Date(new Date().getFullYear(), month - 1, 1)\n return formatDate(date, DATE_FORMATS_INTL.MONTH_SHORT)\n}\n\nexport const getDaysOfCashOnHandState = (days: number | null): keyof typeof CardStatus => {\n const { good, poor } = FinstrongThresholds.daysOfCashOnHand\n\n if (days === null) return 'MISSING'\n if (days >= good) return 'GOOD'\n if (days >= poor) return 'FAIR'\n\n return 'OFF_TRACK'\n}\n\nexport const getEmergencySavingsState = (dollars: number | null): keyof typeof CardStatus => {\n const { good, poor } = FinstrongThresholds.emergencySavings\n\n if (dollars === null) return 'MISSING'\n if (dollars >= good) return 'GOOD'\n if (dollars >= poor) return 'FAIR'\n return 'OFF_TRACK'\n}\n\nexport const getSpendToIncomeRatioState = (ratio: number | null): keyof typeof CardStatus => {\n const { good, poor } = FinstrongThresholds.spendToIncomeRatio\n\n if (ratio === null) return 'MISSING'\n if (ratio < good) return 'GOOD'\n if (ratio < poor) return 'FAIR'\n return 'OFF_TRACK'\n}\n\nexport const getManageDebtRatioState = (ratio: number | null): keyof typeof CardStatus => {\n const { good, poor } = FinstrongThresholds.debtToIncomeRatio\n\n if (ratio === null) return 'MISSING'\n if (ratio <= good) return 'GOOD'\n if (ratio <= poor) return 'FAIR'\n return 'OFF_TRACK'\n}\n\nexport const getCreditScoreState = (score: number | null): keyof typeof CardStatus => {\n const { good, poor } = FinstrongThresholds.creditScore\n\n if (score === null) return 'MISSING'\n if (score >= good) return 'GOOD'\n if (score >= poor) return 'FAIR'\n return 'OFF_TRACK'\n}\n\nexport const getSpendingFeeCountState = (count: number | null) => {\n if (count === null) return 'MISSING'\n if (count === 0) return 'GOOD'\n return 'OFF_TRACK'\n}\n\nexport const getSpendingFeeCountStatus = (\n count: number | null,\n spendCopy: KeyIndicatorSpend,\n): {\n cardState: keyof typeof CardStatus\n description: string\n title: string\n} => {\n const state = getSpendingFeeCountState(count)\n\n const cardStatusMapping = {\n GOOD: spendCopy.count_good_description,\n OFF_TRACK: spendCopy.count_off_track_description,\n MISSING: spendCopy.count_missing_description,\n }\n\n return {\n cardState: state,\n description: cardStatusMapping[state],\n title: spendCopy.count_card_title,\n }\n}\n\nexport const getCardStateStyles = (cardState: string) => {\n return {\n [CardStatus.GOOD]: { backgroundColor: 'success.lighter', color: 'success.dark' },\n [CardStatus.FAIR]: { backgroundColor: 'warning.lighter', color: 'warning.dark' },\n [CardStatus.OFF_TRACK]: { backgroundColor: 'error.lighter', color: 'error.dark' },\n [CardStatus.MISSING]: { backgroundColor: 'divider', color: 'text.secondary' },\n }[cardState]\n}\n\nconst DEFAULT_CONTRIBUTION_PERIOD_INDEX = 1\nconst DEFAULT_TARGET_AMOUNT = 1\n\nconst getFutureDate = {\n 1: addMonths,\n 2: addYears,\n 3: addDays,\n} as const\n\nconst getNumberOfPayments = {\n 1: differenceInMonths,\n 2: (end: Date, start: Date) => differenceInWeeks(end, start) / 2,\n 3: differenceInWeeks,\n 4: differenceInDays,\n} as const\n\nconst SAVINGS_BUCKETS = [\n { contributionPeriodIndex: 3, targetAmount: 6, upperLimit: 500 },\n { contributionPeriodIndex: 3, targetAmount: 3, upperLimit: 900 },\n { contributionPeriodIndex: 2, targetAmount: 1, upperLimit: 1000 },\n]\n\ninterface CalculateContributionParams {\n contribution: keyof typeof getNumberOfPayments\n goalAmount: number\n goalPeriod: number\n targetPeriod: keyof typeof getFutureDate\n totalSaved: number\n}\n\nexport const calculateContribution = ({\n contribution,\n goalAmount,\n goalPeriod,\n targetPeriod,\n totalSaved,\n}: CalculateContributionParams) => {\n const amountRemaining = goalAmount - totalSaved\n\n if (amountRemaining <= 0) return 0\n\n const today = startOfToday()\n const futureDateFn = getFutureDate[targetPeriod]\n const paymentFn = getNumberOfPayments[contribution]\n\n if (!futureDateFn || !paymentFn) return amountRemaining\n\n const futureDate = futureDateFn(today, goalPeriod)\n const payments = paymentFn(futureDate, today)\n\n return Math.max(amountRemaining / (payments || 1), 1)\n}\n\nexport const calculatePercentage = (amount: number | null): string => {\n if (!amount || amount <= 0) return '0%'\n if (amount >= 1000) return '100%'\n\n return `${Math.round(amount / 10)}%`\n}\n\nexport const getInitialTargetPeriodAmount = (totalSaved: number) => {\n const bucket = SAVINGS_BUCKETS.find((bucket) => totalSaved < bucket.upperLimit)\n\n return bucket?.targetAmount ?? DEFAULT_TARGET_AMOUNT\n}\n\nexport const getInitialContributionPeriod = (totalSaved: number) => {\n const bucket = SAVINGS_BUCKETS.find((bucket) => totalSaved < bucket.upperLimit)\n const periodIndex = bucket?.contributionPeriodIndex ?? DEFAULT_CONTRIBUTION_PERIOD_INDEX\n\n return periodIndex\n}\n\nexport const getSeriesGraphData = (\n monthlySummaries: MonthlySummaries[],\n valueKey: keyof Pick<MonthlySummaries, 'available_cash' | 'debt_balance' | 'credit_score'>,\n) => {\n const dataSet = [...monthlySummaries]\n .sort((a, b) => {\n return a.year === b.year ? a.month - b.month : a.year - b.year\n })\n .map((summary) => ({\n x: formatDate(new Date(0, summary.month - 1, 1), DATE_FORMATS_INTL.MONTH_SHORT),\n y: summary[valueKey],\n }))\n\n return dataSet\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { useAccountStore as S, useEvent as _, useGlobalCopyStore as A, useGlobalUiStore as L, useGoalStore as C } from "../common/context/hooks.es.js";
|
|
2
|
+
import { useWidgetLoadTimer as E } from "../common/hooks/useWidgetLoadTimer.es.js";
|
|
3
|
+
import { ANALYTICS_EVENTS as l } from "../common/constants/Analytics.es.js";
|
|
4
|
+
import T from "../common/components/MicroWidgetContainer.es.js";
|
|
5
|
+
import h from "../common/components/Loader.es.js";
|
|
6
|
+
import { GoalMicroStatusCard as D } from "./components/micro/GoalMicroStatusCard.es.js";
|
|
7
|
+
import { GoalsMicroEmptyState as b } from "./components/micro/GoalsMicroEmptyState.es.js";
|
|
8
|
+
import r from "react";
|
|
9
|
+
import { observer as v } from "mobx-react-lite";
|
|
10
|
+
import y from "@mui/material/Stack";
|
|
11
|
+
import { jsx as t, jsxs as I } from "react/jsx-runtime";
|
|
12
|
+
import M from "@mui/material/Divider";
|
|
13
|
+
var U = v(({ onCTAClick: m }) => {
|
|
14
|
+
const { isAccountDataLoaded: d, loadAccountData: f, visibleAccounts: u } = S(), { onEvent: c } = _(), { goals: o } = A(), { isInitialized: a } = L(), { ongoingGoalsForMicroWidget: e, isAllGoalDataLoaded: i, loadGoalData: p } = C();
|
|
15
|
+
E({
|
|
16
|
+
widgetName: "GoalsMicroWidget",
|
|
17
|
+
isLoaded: i
|
|
18
|
+
}), r.useEffect(() => {
|
|
19
|
+
d || f().finally();
|
|
20
|
+
}, []), r.useEffect(() => {
|
|
21
|
+
a && (p().finally(), c(l.GOALS_LOAD_WIDGET, { state: u?.length ? "default" : "zeroState" }));
|
|
22
|
+
}, [a]);
|
|
23
|
+
const s = r.useMemo(() => i && e.length === 0, [e, i]), g = () => {
|
|
24
|
+
c(s ? l.GOALS_CLICK_GET_STARTED : l.GOALS_CLICK_VIEW_DETAILS), m();
|
|
25
|
+
};
|
|
26
|
+
return !a || !i ? /* @__PURE__ */ t(h, {}) : /* @__PURE__ */ t(T, {
|
|
27
|
+
className: "mx-goals-microwidget",
|
|
28
|
+
ctaLabel: s ? o.get_started : o.view_details,
|
|
29
|
+
onCTAClick: g,
|
|
30
|
+
title: o.title,
|
|
31
|
+
children: s ? /* @__PURE__ */ t(b, {
|
|
32
|
+
header: o.create_goals_header,
|
|
33
|
+
subText: o.micro_zero_state_description
|
|
34
|
+
}) : /* @__PURE__ */ t(y, {
|
|
35
|
+
sx: { justifyContent: "space-between" },
|
|
36
|
+
children: e.map((n, G) => /* @__PURE__ */ I(r.Fragment, { children: [/* @__PURE__ */ t(D, { goal: n }), G !== e.length - 1 && /* @__PURE__ */ t(M, {})] }, n.guid))
|
|
37
|
+
})
|
|
38
|
+
});
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
U as GoalsMicroWidget
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=GoalsMicroWidget.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalsMicroWidget.es.js","names":[],"sources":["../../src/goals/GoalsMicroWidget.tsx"],"sourcesContent":["import React from 'react'\n\nimport { observer } from 'mobx-react-lite'\n\nimport Stack from '@mui/material/Stack'\nimport Divider from '@mui/material/Divider'\n\nimport {\n ANALYTICS_EVENTS,\n Loader,\n MicroWidgetContainer,\n useAccountStore,\n useEvent,\n useGlobalCopyStore,\n useGlobalUiStore,\n useGoalStore,\n useWidgetLoadTimer,\n} from '../common'\n\nimport { GoalMicroStatusCard } from './components/micro/GoalMicroStatusCard'\nimport { GoalsMicroEmptyState } from './components/micro/GoalsMicroEmptyState'\n\ninterface GoalsMicroWidgetProps {\n onCTAClick: () => void\n}\n\nexport const GoalsMicroWidget = observer(({ onCTAClick }: GoalsMicroWidgetProps) => {\n const { isAccountDataLoaded, loadAccountData, visibleAccounts: accounts } = useAccountStore()\n const { onEvent } = useEvent()\n const { goals: copy } = useGlobalCopyStore()\n const { isInitialized } = useGlobalUiStore()\n const { ongoingGoalsForMicroWidget: goals, isAllGoalDataLoaded, loadGoalData } = useGoalStore()\n\n useWidgetLoadTimer({\n widgetName: 'GoalsMicroWidget',\n isLoaded: isAllGoalDataLoaded,\n })\n\n React.useEffect(() => {\n if (!isAccountDataLoaded) {\n loadAccountData().finally()\n }\n }, [])\n\n React.useEffect(() => {\n if (isInitialized) {\n loadGoalData().finally()\n onEvent(ANALYTICS_EVENTS.GOALS_LOAD_WIDGET, {\n state: !accounts?.length ? 'zeroState' : 'default',\n })\n }\n }, [isInitialized])\n\n const isEmptyGoalsState = React.useMemo(\n () => isAllGoalDataLoaded && goals.length === 0,\n [goals, isAllGoalDataLoaded],\n )\n\n const handleCTAClick = () => {\n onEvent(\n isEmptyGoalsState\n ? ANALYTICS_EVENTS.GOALS_CLICK_GET_STARTED\n : ANALYTICS_EVENTS.GOALS_CLICK_VIEW_DETAILS,\n )\n onCTAClick()\n }\n\n if (!isInitialized || !isAllGoalDataLoaded) {\n return <Loader />\n }\n\n return (\n <MicroWidgetContainer\n className=\"mx-goals-microwidget\"\n ctaLabel={!isEmptyGoalsState ? copy.view_details : copy.get_started}\n onCTAClick={handleCTAClick}\n title={copy.title}\n >\n {!isEmptyGoalsState ? (\n <Stack sx={{ justifyContent: 'space-between' }}>\n {goals.map((goal, index) => (\n <React.Fragment key={goal.guid}>\n <GoalMicroStatusCard goal={goal} />\n {index !== goals.length - 1 && <Divider />}\n </React.Fragment>\n ))}\n </Stack>\n ) : (\n <GoalsMicroEmptyState\n header={copy.create_goals_header}\n subText={copy.micro_zero_state_description}\n />\n )}\n </MicroWidgetContainer>\n )\n})\n"],"mappings":";;;;;;;;;;;;AA0BA,IAAa,IAAmB,EAAA,CAAU,EAAE,YAAA,EAAA,MAAwC;AAClF,QAAM,EAAE,qBAAA,GAAqB,iBAAA,GAAiB,iBAAiB,EAAA,IAAa,EAAgB,GACtF,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EAAE,OAAO,EAAA,IAAS,EAAmB,GACrC,EAAE,eAAA,EAAA,IAAkB,EAAiB,GACrC,EAAE,4BAA4B,GAAO,qBAAA,GAAqB,cAAA,EAAA,IAAiB,EAAa;AAE9F,EAAA,EAAmB;AAAA,IACjB,YAAY;AAAA,IACZ,UAAU;AAAA,EACZ,CAAC,GAED,EAAM,UAAA,MAAgB;AACpB,IAAK,KACH,EAAgB,EAAE,QAAQ;AAAA,EAE9B,GAAG,CAAC,CAAC,GAEL,EAAM,UAAA,MAAgB;AACpB,IAAI,MACF,EAAa,EAAE,QAAQ,GACvB,EAAQ,EAAiB,mBAAmB,EAC1C,OAAQ,GAAU,SAAuB,YAAd,YAC7B,CAAC;AAAA,EAEL,GAAG,CAAC,CAAa,CAAC;AAElB,QAAM,IAAoB,EAAM,QAAA,MACxB,KAAuB,EAAM,WAAW,GAC9C,CAAC,GAAO,CAAmB,CAC7B,GAEM,IAAA,MAAuB;AAC3B,IAAA,EACE,IACI,EAAiB,0BACjB,EAAiB,wBACvB,GACA,EAAW;AAAA,EACb;AAEA,SAAI,CAAC,KAAiB,CAAC,IACd,gBAAA,EAAC,GAAD,CAAS,CAAA,IAIhB,gBAAA,EAAC,GAAD;AAAA,IACE,WAAU;AAAA,IACV,UAAW,IAAwC,EAAK,cAAzB,EAAK;AAAA,IACpC,YAAY;AAAA,IACZ,OAAO,EAAK;AAAA,cAEV,IAUA,gBAAA,EAAC,GAAD;AAAA,MACE,QAAQ,EAAK;AAAA,MACb,SAAS,EAAK;AAAA,IACf,CAAA,IAZD,gBAAA,EAAC,GAAD;AAAA,MAAO,IAAI,EAAE,gBAAgB,gBAAgB;AAAA,gBAC1C,EAAM,IAAA,CAAK,GAAM,MAChB,gBAAA,EAAC,EAAM,UAAP,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD,EAA2B,MAAA,EAAO,CAAA,GACjC,MAAU,EAAM,SAAS,KAAK,gBAAA,EAAC,GAAD,CAAU,CAAA,CAC3B,EAAA,GAHK,EAAK,IAGV,CACjB;AAAA,IACI,CAAA;AAAA,EAOW,CAAA;AAE1B,CAAC"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { buildDynamicCopy as p } from "../core/utils/Localization.es.js";
|
|
2
|
+
import { useAccountStore as P, useEvent as U, useGlobalCopyStore as Y, useGlobalUiStore as q, useGoalStore as H } from "../common/context/hooks.es.js";
|
|
3
|
+
import { useScreenSize as J } from "../common/hooks/useScreenSize.es.js";
|
|
4
|
+
import { useWidgetLoadTimer as Q } from "../common/hooks/useWidgetLoadTimer.es.js";
|
|
5
|
+
import X from "../common/components/drawer/Drawer.es.js";
|
|
6
|
+
import { ANALYTICS_EVENTS as T } from "../common/constants/Analytics.es.js";
|
|
7
|
+
import { TrackType as o } from "../core/types/Goal.es.js";
|
|
8
|
+
import { formatCurrency as C } from "../core/utils/NumberFormatting.es.js";
|
|
9
|
+
import Z from "../common/components/Loader.es.js";
|
|
10
|
+
import { WidgetContainer as $ } from "../common/components/WidgetContainer.es.js";
|
|
11
|
+
import { EmptyState as tt } from "../common/components/EmptyState.es.js";
|
|
12
|
+
import { TabTitle as A } from "./components/TabTitle.es.js";
|
|
13
|
+
import { GoalList as S } from "./components/GoalList.es.js";
|
|
14
|
+
import { AddGoal as et } from "./components/AddGoal.es.js";
|
|
15
|
+
import { GoalDetailsDrawer as ot } from "./components/GoalDetailsDrawer.es.js";
|
|
16
|
+
import i from "react";
|
|
17
|
+
import { observer as at } from "mobx-react-lite";
|
|
18
|
+
import lt from "@mui/material/Stack";
|
|
19
|
+
import { Fragment as it, jsx as t, jsxs as c } from "react/jsx-runtime";
|
|
20
|
+
import g from "@mui/material/Tab";
|
|
21
|
+
import rt from "@mui/material/Tabs";
|
|
22
|
+
import st from "@mui/material/Alert";
|
|
23
|
+
import nt from "@mui/material/Snackbar";
|
|
24
|
+
var xt = at(({ onBackClick: E, onMenuClick: L, sx: D }) => {
|
|
25
|
+
const { onEvent: b } = U(), { isMobile: r } = J(), { isAccountDataLoaded: v, loadAccountData: R } = P(), { isInitialized: _ } = q(), { goals: e, common: I } = Y(), { alert: h, allGoals: k, goals: x, isAllGoalDataLoaded: s, loadGoalData: K, monthlyCashFlowProfile: f, setAlert: G, retirmentGoals: N } = H(), [n, m] = i.useState(0), [w, u] = i.useState(!1), O = f?.amount_allocated_for_savings_goals || 0, W = f?.amount_allocated_for_debt_goals || 0, F = f?.amount_allocated_for_retirement_goals || 0;
|
|
26
|
+
Q({
|
|
27
|
+
widgetName: "GoalsWidget",
|
|
28
|
+
isLoaded: s
|
|
29
|
+
}), i.useEffect(() => {
|
|
30
|
+
v || R().finally(), b(T.GOALS_VIEW);
|
|
31
|
+
}, []), i.useEffect(() => {
|
|
32
|
+
_ && K().finally();
|
|
33
|
+
}, [_]);
|
|
34
|
+
const B = () => {
|
|
35
|
+
b(T.GOALS_CLICK_FILTER);
|
|
36
|
+
}, a = () => {
|
|
37
|
+
u(!0), b(T.GOALS_CLICK_ADD);
|
|
38
|
+
}, y = (d) => {
|
|
39
|
+
u(!1), d === o.SAVINGS_TRACK ? m(0) : d === o.DEBT_TRACK ? m(1) : d === o.RETIREMENT_TRACK && m(2);
|
|
40
|
+
}, l = i.useMemo(() => s && k.length === 0, [
|
|
41
|
+
x,
|
|
42
|
+
s,
|
|
43
|
+
N
|
|
44
|
+
]);
|
|
45
|
+
if (!_ || !s) return /* @__PURE__ */ t(Z, {});
|
|
46
|
+
const M = p(r ? e.tab_subtitle_mobile : e.tab_subtitle, C(O, "0,0")), V = p(r ? e.tab_subtitle_mobile : e.tab_subtitle, C(W, "0,0")), j = p(r ? e.tab_subtitle_mobile : e.tab_subtitle, C(F, "0,0"));
|
|
47
|
+
return /* @__PURE__ */ c($, {
|
|
48
|
+
actions: [{
|
|
49
|
+
iconName: "add",
|
|
50
|
+
label: e.add_title,
|
|
51
|
+
onClick: a
|
|
52
|
+
}],
|
|
53
|
+
onAccountsFilterClick: B,
|
|
54
|
+
onBackClick: E,
|
|
55
|
+
onMenuClick: L,
|
|
56
|
+
sx: D,
|
|
57
|
+
title: e.title,
|
|
58
|
+
children: [
|
|
59
|
+
/* @__PURE__ */ c(lt, {
|
|
60
|
+
mx: r ? 0 : 48,
|
|
61
|
+
my: 24,
|
|
62
|
+
children: [/* @__PURE__ */ c(rt, {
|
|
63
|
+
onChange: (d, z) => m(z),
|
|
64
|
+
sx: { bgcolor: "background.paper" },
|
|
65
|
+
textColor: "primary",
|
|
66
|
+
value: l ? !1 : n,
|
|
67
|
+
variant: "fullWidth",
|
|
68
|
+
children: [
|
|
69
|
+
/* @__PURE__ */ t(g, {
|
|
70
|
+
disabled: l,
|
|
71
|
+
label: /* @__PURE__ */ t(A, {
|
|
72
|
+
subtitle: M,
|
|
73
|
+
title: e.tab_saving_title
|
|
74
|
+
})
|
|
75
|
+
}),
|
|
76
|
+
/* @__PURE__ */ t(g, {
|
|
77
|
+
disabled: l,
|
|
78
|
+
label: /* @__PURE__ */ t(A, {
|
|
79
|
+
subtitle: V,
|
|
80
|
+
title: e.tab_debt_title
|
|
81
|
+
})
|
|
82
|
+
}),
|
|
83
|
+
/* @__PURE__ */ t(g, {
|
|
84
|
+
disabled: l,
|
|
85
|
+
label: /* @__PURE__ */ t(A, {
|
|
86
|
+
subtitle: j,
|
|
87
|
+
title: e.tab_retirement_title
|
|
88
|
+
})
|
|
89
|
+
})
|
|
90
|
+
]
|
|
91
|
+
}), l ? /* @__PURE__ */ t(tt, {
|
|
92
|
+
header: e.create_goals_header,
|
|
93
|
+
icon: "trophy",
|
|
94
|
+
onClick: a,
|
|
95
|
+
primaryButton: e.add_goals_button,
|
|
96
|
+
subText: e.empty_state_subheader,
|
|
97
|
+
sx: {
|
|
98
|
+
width: { sm: 432 },
|
|
99
|
+
".buttons-footer": { width: 139 }
|
|
100
|
+
}
|
|
101
|
+
}) : /* @__PURE__ */ c(it, { children: [
|
|
102
|
+
n === 0 && /* @__PURE__ */ t(S, {
|
|
103
|
+
onAddGoals: a,
|
|
104
|
+
trackType: o.SAVINGS_TRACK
|
|
105
|
+
}),
|
|
106
|
+
n === 1 && /* @__PURE__ */ t(S, {
|
|
107
|
+
onAddGoals: a,
|
|
108
|
+
trackType: o.DEBT_TRACK
|
|
109
|
+
}),
|
|
110
|
+
n === 2 && /* @__PURE__ */ t(S, {
|
|
111
|
+
onAddGoals: a,
|
|
112
|
+
trackType: o.RETIREMENT_TRACK
|
|
113
|
+
})
|
|
114
|
+
] })]
|
|
115
|
+
}),
|
|
116
|
+
/* @__PURE__ */ t(ot, { onClose: y }),
|
|
117
|
+
/* @__PURE__ */ t(X, {
|
|
118
|
+
ariaLabelClose: I.close_aria,
|
|
119
|
+
isOpen: w,
|
|
120
|
+
onClose: () => u(!1),
|
|
121
|
+
title: e.add_goal_title,
|
|
122
|
+
children: /* @__PURE__ */ t(et, { onClose: y })
|
|
123
|
+
}),
|
|
124
|
+
/* @__PURE__ */ t(nt, {
|
|
125
|
+
onClose: () => G(""),
|
|
126
|
+
open: !!h,
|
|
127
|
+
children: /* @__PURE__ */ t(st, {
|
|
128
|
+
onClose: () => G(""),
|
|
129
|
+
severity: "success",
|
|
130
|
+
variant: "filled",
|
|
131
|
+
children: h
|
|
132
|
+
})
|
|
133
|
+
})
|
|
134
|
+
]
|
|
135
|
+
});
|
|
136
|
+
});
|
|
137
|
+
export {
|
|
138
|
+
xt as GoalsWidget
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
//# sourceMappingURL=GoalsWidget.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalsWidget.es.js","names":[],"sources":["../../src/goals/GoalsWidget.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport Alert from '@mui/material/Alert'\nimport Snackbar from '@mui/material/Snackbar'\nimport Stack from '@mui/material/Stack'\nimport Tab from '@mui/material/Tab'\nimport Tabs from '@mui/material/Tabs'\n\nimport {\n ANALYTICS_EVENTS,\n Drawer,\n EmptyState,\n Loader,\n useAccountStore,\n useEvent,\n useGlobalCopyStore,\n useGlobalUiStore,\n useGoalStore,\n useScreenSize,\n useWidgetLoadTimer,\n WidgetContainer,\n} from '../common'\nimport { TrackType, WidgetProps } from '../core'\n\nimport { TabTitle } from './components/TabTitle'\nimport { GoalList } from './components/GoalList'\n\nimport { AddGoal } from './components/AddGoal'\nimport { GoalDetailsDrawer } from './components/GoalDetailsDrawer'\nimport { formatCurrency } from '../core/utils/NumberFormatting'\nimport { buildDynamicCopy } from '../core/utils/Localization'\n\nexport const GoalsWidget = observer(({ onBackClick, onMenuClick, sx }: WidgetProps) => {\n const { onEvent } = useEvent()\n const { isMobile } = useScreenSize()\n const { isAccountDataLoaded, loadAccountData } = useAccountStore()\n const { isInitialized } = useGlobalUiStore()\n const { goals: copy, common: commonCopy } = useGlobalCopyStore()\n const {\n alert,\n allGoals,\n goals,\n isAllGoalDataLoaded,\n loadGoalData,\n monthlyCashFlowProfile,\n setAlert,\n retirmentGoals,\n } = useGoalStore()\n\n const [selectedTab, setSelectedTab] = React.useState(0)\n const [isAddOpen, setIsAddOpen] = React.useState(false)\n\n const savingTotal = monthlyCashFlowProfile?.amount_allocated_for_savings_goals || 0\n const debtTotal = monthlyCashFlowProfile?.amount_allocated_for_debt_goals || 0\n const retirementTotal = monthlyCashFlowProfile?.amount_allocated_for_retirement_goals || 0\n\n useWidgetLoadTimer({\n widgetName: 'GoalsWidget',\n isLoaded: isAllGoalDataLoaded,\n })\n\n React.useEffect(() => {\n if (!isAccountDataLoaded) {\n loadAccountData().finally()\n }\n onEvent(ANALYTICS_EVENTS.GOALS_VIEW)\n }, [])\n\n React.useEffect(() => {\n if (isInitialized) {\n loadGoalData().finally()\n }\n }, [isInitialized])\n\n const handleAccountFilterClick = () => {\n onEvent(ANALYTICS_EVENTS.GOALS_CLICK_FILTER)\n }\n\n const handleAddClick = () => {\n setIsAddOpen(true)\n onEvent(ANALYTICS_EVENTS.GOALS_CLICK_ADD)\n }\n\n const handleDetailsClose = (trackType: TrackType) => {\n setIsAddOpen(false)\n if (trackType === TrackType.SAVINGS_TRACK) {\n setSelectedTab(0)\n } else if (trackType === TrackType.DEBT_TRACK) {\n setSelectedTab(1)\n } else if (trackType === TrackType.RETIREMENT_TRACK) {\n setSelectedTab(2)\n }\n }\n\n const isEmptyGoalsState = React.useMemo(\n () => isAllGoalDataLoaded && allGoals.length === 0,\n [goals, isAllGoalDataLoaded, retirmentGoals],\n )\n\n if (!isInitialized || !isAllGoalDataLoaded) {\n return <Loader />\n }\n\n const savingsTabSubtitle = buildDynamicCopy(\n isMobile ? copy.tab_subtitle_mobile : copy.tab_subtitle,\n formatCurrency(savingTotal, '0,0'),\n ) as string\n\n const debtTabSubtitle = buildDynamicCopy(\n isMobile ? copy.tab_subtitle_mobile : copy.tab_subtitle,\n formatCurrency(debtTotal, '0,0'),\n ) as string\n\n const retireTabSubtitle = buildDynamicCopy(\n isMobile ? copy.tab_subtitle_mobile : copy.tab_subtitle,\n formatCurrency(retirementTotal, '0,0'),\n ) as string\n\n return (\n <WidgetContainer\n actions={[\n {\n iconName: 'add',\n label: copy.add_title,\n onClick: handleAddClick,\n },\n ]}\n onAccountsFilterClick={handleAccountFilterClick}\n onBackClick={onBackClick}\n onMenuClick={onMenuClick}\n sx={sx}\n title={copy.title}\n >\n <Stack mx={isMobile ? 0 : 48} my={24}>\n <Tabs\n onChange={(_, newValue) => setSelectedTab(newValue)}\n sx={{ bgcolor: 'background.paper' }}\n textColor=\"primary\"\n value={!isEmptyGoalsState ? selectedTab : false}\n variant=\"fullWidth\"\n >\n <Tab\n disabled={isEmptyGoalsState}\n label={<TabTitle subtitle={savingsTabSubtitle} title={copy.tab_saving_title} />}\n />\n <Tab\n disabled={isEmptyGoalsState}\n label={<TabTitle subtitle={debtTabSubtitle} title={copy.tab_debt_title} />}\n />\n <Tab\n disabled={isEmptyGoalsState}\n label={<TabTitle subtitle={retireTabSubtitle} title={copy.tab_retirement_title} />}\n />\n </Tabs>\n {isEmptyGoalsState ? (\n <EmptyState\n header={copy.create_goals_header}\n icon=\"trophy\"\n onClick={handleAddClick}\n primaryButton={copy.add_goals_button}\n subText={copy.empty_state_subheader}\n sx={{\n width: { sm: 432 },\n '.buttons-footer': {\n width: 139,\n },\n }}\n />\n ) : (\n <>\n {selectedTab === 0 && (\n <GoalList onAddGoals={handleAddClick} trackType={TrackType.SAVINGS_TRACK} />\n )}\n {selectedTab === 1 && (\n <GoalList onAddGoals={handleAddClick} trackType={TrackType.DEBT_TRACK} />\n )}\n {selectedTab === 2 && (\n <GoalList onAddGoals={handleAddClick} trackType={TrackType.RETIREMENT_TRACK} />\n )}\n </>\n )}\n </Stack>\n\n <GoalDetailsDrawer onClose={handleDetailsClose} />\n\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n isOpen={isAddOpen}\n onClose={() => setIsAddOpen(false)}\n title={copy.add_goal_title}\n >\n <AddGoal onClose={handleDetailsClose} />\n </Drawer>\n\n <Snackbar onClose={() => setAlert('')} open={Boolean(alert)}>\n <Alert onClose={() => setAlert('')} severity=\"success\" variant=\"filled\">\n {alert}\n </Alert>\n </Snackbar>\n </WidgetContainer>\n )\n})\n"],"mappings":"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"}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import x from "../../common/utils/AccountDisplayName.es.js";
|
|
2
|
+
import { useAppConfig as y, useGlobalCopyStore as b } from "../../common/context/hooks.es.js";
|
|
3
|
+
import k from "../../common/components/drawer/Drawer.es.js";
|
|
4
|
+
import { formatCurrency as w } from "../../core/utils/NumberFormatting.es.js";
|
|
5
|
+
import { ConnectCard as A } from "../../common/components/ConnectCard.es.js";
|
|
6
|
+
import l from "react";
|
|
7
|
+
import { InstitutionLogo as L } from "@mxenabled/mxui";
|
|
8
|
+
import { jsx as o, jsxs as n } from "react/jsx-runtime";
|
|
9
|
+
import a from "@mui/material/Divider";
|
|
10
|
+
import I from "@mui/material/Checkbox";
|
|
11
|
+
import v from "@mui/material/List";
|
|
12
|
+
import S from "@mui/material/ListItem";
|
|
13
|
+
import D from "@mui/material/ListItemButton";
|
|
14
|
+
import j from "@mui/material/ListItemText";
|
|
15
|
+
import B from "@mui/material/ListItemAvatar";
|
|
16
|
+
var O = ({ accounts: s, isOpen: d, onClose: p, onSave: f, title: u }) => {
|
|
17
|
+
const { goals: m, common: g } = b(), { config: c } = y(), [e, h] = l.useState([]), _ = (t) => {
|
|
18
|
+
const r = e.findIndex((C) => C.guid === t.guid), i = [...e];
|
|
19
|
+
r >= 0 ? i.splice(r, 1) : i.push(t), h(i);
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ n(k, {
|
|
22
|
+
ariaLabelClose: g.close_aria,
|
|
23
|
+
isOpen: d,
|
|
24
|
+
onClose: p,
|
|
25
|
+
onPrimaryAction: () => f(e),
|
|
26
|
+
title: u,
|
|
27
|
+
children: [/* @__PURE__ */ n(v, {
|
|
28
|
+
sx: { bgcolor: "background.white" },
|
|
29
|
+
children: [/* @__PURE__ */ o(a, { variant: "fullWidth" }), s.map((t, r) => /* @__PURE__ */ n(l.Fragment, { children: [/* @__PURE__ */ o(S, { children: /* @__PURE__ */ n(D, {
|
|
30
|
+
onClick: () => _(t),
|
|
31
|
+
children: [
|
|
32
|
+
/* @__PURE__ */ o(B, { children: /* @__PURE__ */ o(L, {
|
|
33
|
+
alt: t?.name || "",
|
|
34
|
+
institutionGuid: t?.institution_guid || ""
|
|
35
|
+
}) }),
|
|
36
|
+
/* @__PURE__ */ o(j, {
|
|
37
|
+
primary: x(t, { allowNickname: c?.show_account_nicknames_in_master }),
|
|
38
|
+
secondary: w(t.balance || 0, "0,0.00")
|
|
39
|
+
}),
|
|
40
|
+
/* @__PURE__ */ o(I, { checked: e.some((i) => i.guid === t.guid) })
|
|
41
|
+
]
|
|
42
|
+
}) }), /* @__PURE__ */ o(a, { variant: r < s.length - 1 ? "inset" : "fullWidth" })] }, t.guid))]
|
|
43
|
+
}), c.show_connections_widget_in_master && /* @__PURE__ */ o(A, {
|
|
44
|
+
description: m.connect_description,
|
|
45
|
+
label: m.connect_button,
|
|
46
|
+
title: m.connect_title
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
export {
|
|
51
|
+
O as AccountSelectionDrawer
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
//# sourceMappingURL=AccountSelectionDrawer.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccountSelectionDrawer.es.js","names":[],"sources":["../../../src/goals/components/AccountSelectionDrawer.tsx"],"sourcesContent":["import React from 'react'\n\nimport Checkbox from '@mui/material/Checkbox'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\nimport ListItem from '@mui/material/ListItem'\nimport ListItemAvatar from '@mui/material/ListItemAvatar'\nimport ListItemButton from '@mui/material/ListItemButton'\nimport ListItemText from '@mui/material/ListItemText'\n\nimport { InstitutionLogo } from '@mxenabled/mxui'\n\nimport { ConnectCard, Drawer, useGlobalCopyStore, useAppConfig } from '../../common'\nimport { Account } from '../../core'\nimport getAccountDisplayName from '../../common/utils/AccountDisplayName'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\n\ninterface AccountSelectionDrawerProps {\n accounts: Account[]\n isOpen: boolean\n onClose: () => void\n onSave: (accounts: Account[]) => void\n title: string\n}\n\nexport const AccountSelectionDrawer = ({\n accounts,\n isOpen,\n onClose,\n onSave,\n title,\n}: AccountSelectionDrawerProps) => {\n const { goals: copy, common: commonCopy } = useGlobalCopyStore()\n const { config } = useAppConfig()\n\n const [selectedAccounts, setSelectedAccounts] = React.useState<Account[]>([])\n\n const handleClick = (account: Account) => {\n const index = selectedAccounts.findIndex((a) => a.guid === account.guid)\n const updatedSelected = [...selectedAccounts]\n if (index >= 0) {\n updatedSelected.splice(index, 1)\n } else {\n updatedSelected.push(account)\n }\n setSelectedAccounts(updatedSelected)\n }\n\n return (\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n isOpen={isOpen}\n onClose={onClose}\n onPrimaryAction={() => onSave(selectedAccounts)}\n title={title}\n >\n <List sx={{ bgcolor: 'background.white' }}>\n <Divider variant=\"fullWidth\" />\n {accounts.map((account, index) => (\n <React.Fragment key={account.guid}>\n <ListItem>\n <ListItemButton onClick={() => handleClick(account)}>\n <ListItemAvatar>\n <InstitutionLogo\n alt={account?.name || ''}\n institutionGuid={account?.institution_guid || ''}\n />\n </ListItemAvatar>\n <ListItemText\n primary={getAccountDisplayName(account, {\n allowNickname: config?.show_account_nicknames_in_master,\n })}\n secondary={formatCurrency(account.balance || 0, '0,0.00')}\n />\n <Checkbox checked={selectedAccounts.some((a) => a.guid === account.guid)} />\n </ListItemButton>\n </ListItem>\n <Divider variant={index < accounts.length - 1 ? 'inset' : 'fullWidth'} />\n </React.Fragment>\n ))}\n </List>\n\n {config.show_connections_widget_in_master && (\n <ConnectCard\n description={copy.connect_description}\n label={copy.connect_button}\n title={copy.connect_title}\n />\n )}\n </Drawer>\n )\n}\n"],"mappings":";;;;;;;;;;;;;;;AAyBA,IAAa,IAAA,CAA0B,EACrC,UAAA,GACA,QAAA,GACA,SAAA,GACA,QAAA,GACA,OAAA,EAAA,MACiC;AACjC,QAAM,EAAE,OAAO,GAAM,QAAQ,EAAA,IAAe,EAAmB,GACzD,EAAE,QAAA,EAAA,IAAW,EAAa,GAE1B,CAAC,GAAkB,CAAA,IAAuB,EAAM,SAAoB,CAAC,CAAC,GAEtE,IAAA,CAAe,MAAqB;AACxC,UAAM,IAAQ,EAAiB,UAAA,CAAW,MAAM,EAAE,SAAS,EAAQ,IAAI,GACjE,IAAkB,CAAC,GAAG,CAAgB;AAC5C,IAAI,KAAS,IACX,EAAgB,OAAO,GAAO,CAAC,IAE/B,EAAgB,KAAK,CAAO,GAE9B,EAAoB,CAAe;AAAA,EACrC;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,gBAAgB,EAAW;AAAA,IACnB,QAAA;AAAA,IACC,SAAA;AAAA,IACT,iBAAA,MAAuB,EAAO,CAAgB;AAAA,IACvC,OAAA;AAAA,cALT,CAOE,gBAAA,EAAC,GAAD;AAAA,MAAM,IAAI,EAAE,SAAS,mBAAmB;AAAA,gBAAxC,CACE,gBAAA,EAAC,GAAD,EAAS,SAAQ,YAAa,CAAA,GAC7B,EAAS,IAAA,CAAK,GAAS,MACtB,gBAAA,EAAC,EAAM,UAAP,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,QAAgB,SAAA,MAAe,EAAY,CAAO;AAAA,kBAAlD;AAAA,UACE,gBAAA,EAAC,GAAD,EAAA,UACE,gBAAA,EAAC,GAAD;AAAA,YACE,KAAK,GAAS,QAAQ;AAAA,YACtB,iBAAiB,GAAS,oBAAoB;AAAA,UAC/C,CAAA,EACa,CAAA;AAAA,UAChB,gBAAA,EAAC,GAAD;AAAA,YACE,SAAS,EAAsB,GAAS,EACtC,eAAe,GAAQ,iCACzB,CAAC;AAAA,YACD,WAAW,EAAe,EAAQ,WAAW,GAAG,QAAQ;AAAA,UACzD,CAAA;AAAA,UACD,gBAAA,EAAC,GAAD,EAAU,SAAS,EAAiB,KAAA,CAAM,MAAM,EAAE,SAAS,EAAQ,IAAI,EAAI,CAAA;AAAA,QAC7D;AAAA,SACR,CAAA,GACV,gBAAA,EAAC,GAAD,EAAS,SAAS,IAAQ,EAAS,SAAS,IAAI,UAAU,YAAc,CAAA,CAC1D,EAAA,GAnBK,EAAQ,IAmBb,CACjB,CACG;AAAA,QAEL,EAAO,qCACN,gBAAA,EAAC,GAAD;AAAA,MACE,aAAa,EAAK;AAAA,MAClB,OAAO,EAAK;AAAA,MACZ,OAAO,EAAK;AAAA,IACb,CAAA,CAEG;AAAA;AAEZ"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import E from "../../common/utils/AccountDisplayName.es.js";
|
|
2
|
+
import { useAccountStore as D, useAppConfig as S, useGlobalCopyStore as b, useGoalStore as k } from "../../common/context/hooks.es.js";
|
|
3
|
+
import { AccountType as i } from "../../core/types/Account.es.js";
|
|
4
|
+
import { GoalType as l, MetaType as n, TrackType as r } from "../../core/types/Goal.es.js";
|
|
5
|
+
import { getGoalTypes as G } from "../../core/utils/GoalsUtil.es.js";
|
|
6
|
+
import { AddGoalListItem as O } from "./addgoal/AddGoalListItem.es.js";
|
|
7
|
+
import { AccountSelectionDrawer as L } from "./AccountSelectionDrawer.es.js";
|
|
8
|
+
import N from "react";
|
|
9
|
+
import R from "@mui/material/Stack";
|
|
10
|
+
import { jsx as s, jsxs as I } from "react/jsx-runtime";
|
|
11
|
+
import h from "@mui/material/List";
|
|
12
|
+
var W = ({ onClose: m }) => {
|
|
13
|
+
const { goals: a } = b(), { addGoal: p, debtGoals: u, setAlert: _, setSelectedGoal: d } = k(), { config: f } = S(), { visibleDebtAccounts: A } = D(), [y, c] = N.useState(!1), T = G(a), g = (e, t, o) => {
|
|
14
|
+
o === r.DEBT_TRACK ? c(!0) : d({
|
|
15
|
+
amount: 0,
|
|
16
|
+
current_amount: 0,
|
|
17
|
+
goal_type: l.SAVE_AMOUNT,
|
|
18
|
+
initial_amount: 0,
|
|
19
|
+
meta_type: t,
|
|
20
|
+
name: e,
|
|
21
|
+
track_type: o
|
|
22
|
+
});
|
|
23
|
+
}, C = async (e) => {
|
|
24
|
+
for (const t of e) {
|
|
25
|
+
let o = n.CREDIT_CARD;
|
|
26
|
+
t.account_type === i.LOAN ? o = n.LOANS : t.account_type === i.LINE_OF_CREDIT && (o = n.LINE_OF_CREDIT), await p({
|
|
27
|
+
account_guid: t.guid,
|
|
28
|
+
amount: 0,
|
|
29
|
+
current_amount: 0,
|
|
30
|
+
goal_type: l.KEEP_BALANCE_BELOW,
|
|
31
|
+
initial_amount: t.balance || 0,
|
|
32
|
+
interest_rate: t.interest_rate || 0,
|
|
33
|
+
meta_type: o,
|
|
34
|
+
monthly_payment: t.minimum_payment || 0,
|
|
35
|
+
name: E(t, { allowNickname: f?.show_account_nicknames_in_master }),
|
|
36
|
+
track_type: r.DEBT_TRACK
|
|
37
|
+
}), _(a.alert_goal_added);
|
|
38
|
+
}
|
|
39
|
+
c(!1), m?.(r.DEBT_TRACK);
|
|
40
|
+
};
|
|
41
|
+
return /* @__PURE__ */ I(R, { children: [/* @__PURE__ */ s(h, {
|
|
42
|
+
sx: { bgcolor: "background.paper" },
|
|
43
|
+
children: T.map((e, t) => /* @__PURE__ */ s(O, {
|
|
44
|
+
goalType: e,
|
|
45
|
+
onClick: g
|
|
46
|
+
}, t))
|
|
47
|
+
}), /* @__PURE__ */ s(L, {
|
|
48
|
+
accounts: A.filter((e) => !u.find((t) => t.account_guid === e.guid)),
|
|
49
|
+
isOpen: y,
|
|
50
|
+
onClose: () => c(!1),
|
|
51
|
+
onSave: C,
|
|
52
|
+
title: a.select_debt_accounts_title
|
|
53
|
+
})] });
|
|
54
|
+
};
|
|
55
|
+
export {
|
|
56
|
+
W as AddGoal
|
|
57
|
+
};
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=AddGoal.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AddGoal.es.js","names":[],"sources":["../../../src/goals/components/AddGoal.tsx"],"sourcesContent":["import React from 'react'\n\nimport List from '@mui/material/List'\nimport Stack from '@mui/material/Stack'\n\nimport { useAccountStore, useGlobalCopyStore, useGoalStore, useAppConfig } from '../../common'\nimport { type Account, type Goal, AccountType, GoalType, MetaType, TrackType } from '../../core'\nimport getAccountDisplayName from '../../common/utils/AccountDisplayName'\n\nimport { getGoalTypes } from '../../core/utils/GoalsUtil'\nimport { AddGoalListItem } from './addgoal/AddGoalListItem'\nimport { AccountSelectionDrawer } from './AccountSelectionDrawer'\n\ninterface AddGoalProps {\n onClose?: (trackType: TrackType) => void\n}\n\nexport const AddGoal = ({ onClose }: AddGoalProps) => {\n const { goals: copy } = useGlobalCopyStore()\n const { addGoal, debtGoals, setAlert, setSelectedGoal } = useGoalStore()\n const { config } = useAppConfig()\n const { visibleDebtAccounts: debtAccounts } = useAccountStore()\n\n const [isAccountsOpen, setIsAccountsOpen] = React.useState(false)\n\n const goalTypes = getGoalTypes(copy)\n\n const handleClick = (name: string, metaType: MetaType, type: TrackType) => {\n if (type === TrackType.DEBT_TRACK) {\n setIsAccountsOpen(true)\n } else {\n setSelectedGoal({\n amount: 0,\n current_amount: 0,\n goal_type: GoalType.SAVE_AMOUNT,\n initial_amount: 0,\n meta_type: metaType,\n name: name,\n track_type: type,\n } as Goal)\n }\n }\n\n const handleSaveDebtAccounts = async (accounts: Account[]) => {\n for (const account of accounts) {\n let metaType = MetaType.CREDIT_CARD\n if (account.account_type === AccountType.LOAN) {\n metaType = MetaType.LOANS\n } else if (account.account_type === AccountType.LINE_OF_CREDIT) {\n metaType = MetaType.LINE_OF_CREDIT\n }\n\n await addGoal({\n account_guid: account.guid,\n amount: 0,\n current_amount: 0,\n goal_type: GoalType.KEEP_BALANCE_BELOW,\n initial_amount: account.balance || 0,\n interest_rate: account.interest_rate || 0,\n meta_type: metaType,\n monthly_payment: account.minimum_payment || 0,\n name: getAccountDisplayName(account, {\n allowNickname: config?.show_account_nicknames_in_master,\n }),\n track_type: TrackType.DEBT_TRACK,\n } as Goal)\n setAlert(copy.alert_goal_added)\n }\n setIsAccountsOpen(false)\n onClose?.(TrackType.DEBT_TRACK)\n }\n\n return (\n <Stack>\n <List sx={{ bgcolor: 'background.paper' }}>\n {goalTypes.map((goalType, index) => (\n <AddGoalListItem goalType={goalType} key={index} onClick={handleClick} />\n ))}\n </List>\n\n <AccountSelectionDrawer\n accounts={debtAccounts.filter((a) => !debtGoals.find((g) => g.account_guid === a.guid))}\n isOpen={isAccountsOpen}\n onClose={() => setIsAccountsOpen(false)}\n onSave={handleSaveDebtAccounts}\n title={copy.select_debt_accounts_title}\n />\n </Stack>\n )\n}\n"],"mappings":";;;;;;;;;;;AAiBA,IAAa,IAAA,CAAW,EAAE,SAAA,EAAA,MAA4B;AACpD,QAAM,EAAE,OAAO,EAAA,IAAS,EAAmB,GACrC,EAAE,SAAA,GAAS,WAAA,GAAW,UAAA,GAAU,iBAAA,EAAA,IAAoB,EAAa,GACjE,EAAE,QAAA,EAAA,IAAW,EAAa,GAC1B,EAAE,qBAAqB,EAAA,IAAiB,EAAgB,GAExD,CAAC,GAAgB,CAAA,IAAqB,EAAM,SAAS,EAAK,GAE1D,IAAY,EAAa,CAAI,GAE7B,IAAA,CAAe,GAAc,GAAoB,MAAoB;AACzE,IAAI,MAAS,EAAU,aACrB,EAAkB,EAAI,IAEtB,EAAgB;AAAA,MACd,QAAQ;AAAA,MACR,gBAAgB;AAAA,MAChB,WAAW,EAAS;AAAA,MACpB,gBAAgB;AAAA,MAChB,WAAW;AAAA,MACL,MAAA;AAAA,MACN,YAAY;AAAA,IACd,CAAS;AAAA,EAEb,GAEM,IAAyB,OAAO,MAAwB;AAC5D,eAAW,KAAW,GAAU;AAC9B,UAAI,IAAW,EAAS;AACxB,MAAI,EAAQ,iBAAiB,EAAY,OACvC,IAAW,EAAS,QACX,EAAQ,iBAAiB,EAAY,mBAC9C,IAAW,EAAS,iBAGtB,MAAM,EAAQ;AAAA,QACZ,cAAc,EAAQ;AAAA,QACtB,QAAQ;AAAA,QACR,gBAAgB;AAAA,QAChB,WAAW,EAAS;AAAA,QACpB,gBAAgB,EAAQ,WAAW;AAAA,QACnC,eAAe,EAAQ,iBAAiB;AAAA,QACxC,WAAW;AAAA,QACX,iBAAiB,EAAQ,mBAAmB;AAAA,QAC5C,MAAM,EAAsB,GAAS,EACnC,eAAe,GAAQ,iCACzB,CAAC;AAAA,QACD,YAAY,EAAU;AAAA,MACxB,CAAS,GACT,EAAS,EAAK,gBAAgB;AAAA,IAChC;AACA,IAAA,EAAkB,EAAK,GACvB,IAAU,EAAU,UAAU;AAAA,EAChC;AAEA,SACE,gBAAA,EAAC,GAAD,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAM,IAAI,EAAE,SAAS,mBAAmB;AAAA,cACrC,EAAU,IAAA,CAAK,GAAU,MACxB,gBAAA,EAAC,GAAD;AAAA,MAA2B,UAAA;AAAA,MAAsB,SAAS;AAAA,IAAc,GAA9B,CAA8B,CACzE;AAAA,EACG,CAAA,GAEN,gBAAA,EAAC,GAAD;AAAA,IACE,UAAU,EAAa,OAAA,CAAQ,MAAM,CAAC,EAAU,KAAA,CAAM,MAAM,EAAE,iBAAiB,EAAE,IAAI,CAAC;AAAA,IACtF,QAAQ;AAAA,IACR,SAAA,MAAe,EAAkB,EAAK;AAAA,IACtC,QAAQ;AAAA,IACR,OAAO,EAAK;AAAA,EACb,CAAA,CACI,EAAA,CAAA;AAEX"}
|