@mx-cartographer/experiences 9.2.4-alpha.al0 → 9.3.0-alpha.bb1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -12
- package/dist/accounts/AccountsMiniWidget/index.es.js +56 -0
- package/dist/accounts/AccountsMiniWidget/index.es.js.map +1 -0
- package/dist/accounts/AccountsWidget/index.es.js +75 -0
- package/dist/accounts/AccountsWidget/index.es.js.map +1 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js +35 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js.map +1 -0
- package/dist/accounts/components/AccountListItem/index.es.js +91 -0
- package/dist/accounts/components/AccountListItem/index.es.js.map +1 -0
- package/dist/accounts/components/AccountsList/index.es.js +129 -0
- package/dist/accounts/components/AccountsList/index.es.js.map +1 -0
- package/dist/accounts/components/AccountsListCompact/index.es.js +86 -0
- package/dist/accounts/components/AccountsListCompact/index.es.js.map +1 -0
- package/dist/accounts/components/ConnectImage/index.es.js +388 -0
- package/dist/accounts/components/ConnectImage/index.es.js.map +1 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js.map +1 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +23 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js.map +1 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +52 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +32 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +158 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +119 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +38 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +81 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +22 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js.map +1 -0
- package/dist/accounts/constants/Accounts/index.es.js +10 -0
- package/dist/accounts/constants/Accounts/index.es.js.map +1 -0
- package/dist/accounts/constants/Accounts.d.ts +1 -4
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js.map +1 -0
- package/dist/accounts/hooks/useUiStore/index.es.js +12 -0
- package/dist/accounts/hooks/useUiStore/index.es.js.map +1 -0
- package/dist/accounts/index.es.js +23 -784
- package/dist/accounts/utils/AccountDetails/index.es.js +28 -0
- package/dist/accounts/utils/AccountDetails/index.es.js.map +1 -0
- package/dist/accounts/utils/AccountFields/index.es.js +131 -0
- package/dist/accounts/utils/AccountFields/index.es.js.map +1 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js +131 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js.map +1 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js +117 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js.map +1 -0
- package/dist/analytics/components/OpenTextField/index.es.js +23 -0
- package/dist/analytics/components/OpenTextField/index.es.js.map +1 -0
- package/dist/analytics/components/RatingScale/index.es.js +56 -0
- package/dist/analytics/components/RatingScale/index.es.js.map +1 -0
- package/dist/analytics/index.es.js +2 -151
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +100 -0
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js.map +1 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +143 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js.map +1 -0
- package/dist/budgets/components/AddBudgets/index.es.js +31 -0
- package/dist/budgets/components/AddBudgets/index.es.js.map +1 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js +47 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +128 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +29 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart/index.es.js +59 -0
- package/dist/budgets/components/BubbleChart/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +106 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js +126 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +71 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +62 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +38 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetList/index.es.js +44 -0
- package/dist/budgets/components/BudgetList/index.es.js.map +1 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +109 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js.map +1 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js +54 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js.map +1 -0
- package/dist/budgets/components/Overview/index.es.js +129 -0
- package/dist/budgets/components/Overview/index.es.js.map +1 -0
- package/dist/budgets/components/addbudget/Header/index.es.js +70 -0
- package/dist/budgets/components/addbudget/Header/index.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +62 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js.map +1 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +50 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +98 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +66 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js +48 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +98 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +27 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js +84 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js.map +1 -0
- package/dist/budgets/index.es.js +6 -1400
- package/dist/budgets/utils/BubblesSVG/index.es.js +73 -0
- package/dist/budgets/utils/BubblesSVG/index.es.js.map +1 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js +45 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js.map +1 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js +224 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js.map +1 -0
- package/dist/cashflow/CashflowWidget/index.es.js +82 -0
- package/dist/cashflow/CashflowWidget/index.es.js.map +1 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +45 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js.map +1 -0
- package/dist/cashflow/components/CashflowContent/index.es.js +63 -0
- package/dist/cashflow/components/CashflowContent/index.es.js.map +1 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js +101 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js.map +1 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +167 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +37 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +57 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js.map +1 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js +21 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js.map +1 -0
- package/dist/cashflow/components/DetailsTab/index.es.js +90 -0
- package/dist/cashflow/components/DetailsTab/index.es.js.map +1 -0
- package/dist/cashflow/components/RemainingCash/index.es.js +35 -0
- package/dist/cashflow/components/RemainingCash/index.es.js.map +1 -0
- package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
- package/dist/cashflow/components/SummaryTab/index.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +128 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +26 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js.map +1 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js +9 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js.map +1 -0
- package/dist/cashflow/context/hooks/index.es.js +12 -0
- package/dist/cashflow/context/hooks/index.es.js.map +1 -0
- package/dist/cashflow/context/hooks.d.ts +1 -1
- package/dist/cashflow/index.es.js +6 -1058
- package/dist/cashflow/util/Filters/index.es.js +9 -0
- package/dist/cashflow/util/Filters/index.es.js.map +1 -0
- package/dist/categories/components/CategoryList/index.es.js +38 -0
- package/dist/categories/components/CategoryList/index.es.js.map +1 -0
- package/dist/categories/components/CategoryRow/index.es.js +65 -0
- package/dist/categories/components/CategoryRow/index.es.js.map +1 -0
- package/dist/categories/components/CategorySelector/index.es.js +39 -0
- package/dist/categories/components/CategorySelector/index.es.js.map +1 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +24 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +46 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +61 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +26 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js.map +1 -0
- package/dist/categories/components/SubcategoryList/index.es.js +41 -0
- package/dist/categories/components/SubcategoryList/index.es.js.map +1 -0
- package/dist/categories/components/SubcategoryRow/index.es.js +90 -0
- package/dist/categories/components/SubcategoryRow/index.es.js.map +1 -0
- package/dist/categories/constants/OnClickEvents/index.es.js +18 -0
- package/dist/categories/constants/OnClickEvents/index.es.js.map +1 -0
- package/dist/categories/context/hooks/index.es.js +12 -0
- package/dist/categories/context/hooks/index.es.js.map +1 -0
- package/dist/categories/index.es.js +8 -6
- package/dist/common/components/Banner/index.es.js +39 -0
- package/dist/common/components/Banner/index.es.js.map +1 -0
- package/dist/common/components/ConnectCard/index.es.js +58 -0
- package/dist/common/components/ConnectCard/index.es.js.map +1 -0
- package/dist/common/components/ConnectDrawer/index.es.js +53 -0
- package/dist/common/components/ConnectDrawer/index.es.js.map +1 -0
- package/dist/common/components/ConnectStatus/index.es.js +39 -0
- package/dist/common/components/ConnectStatus/index.es.js.map +1 -0
- package/dist/common/components/ConnectStatus.d.ts +6 -0
- package/dist/common/components/CurrencyDialog/index.es.js +119 -0
- package/dist/common/components/CurrencyDialog/index.es.js.map +1 -0
- package/dist/common/components/CurrencyInput/index.es.js +49 -0
- package/dist/common/components/CurrencyInput/index.es.js.map +1 -0
- package/dist/common/components/CurrencyText/index.es.js +17 -0
- package/dist/common/components/CurrencyText/index.es.js.map +1 -0
- package/dist/common/components/DataRow/index.es.js +53 -0
- package/dist/common/components/DataRow/index.es.js.map +1 -0
- package/dist/common/components/EmptyState/index.es.js +68 -0
- package/dist/common/components/EmptyState/index.es.js.map +1 -0
- package/dist/common/components/Error/index.es.js +86 -0
- package/dist/common/components/Error/index.es.js.map +1 -0
- package/dist/common/components/ErrorBoundary/index.es.js +26 -0
- package/dist/common/components/ErrorBoundary/index.es.js.map +1 -0
- package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js +133 -0
- package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js.map +1 -0
- package/dist/common/components/GlobalAccountFilter/index.es.js +97 -0
- package/dist/common/components/GlobalAccountFilter/index.es.js.map +1 -0
- package/dist/common/components/IconBacking/index.es.js +25 -0
- package/dist/common/components/IconBacking/index.es.js.map +1 -0
- package/dist/common/components/InformationTooltip/index.es.js +49 -0
- package/dist/common/components/InformationTooltip/index.es.js.map +1 -0
- package/dist/common/components/ListItemAction/index.es.js +55 -0
- package/dist/common/components/ListItemAction/index.es.js.map +1 -0
- package/dist/common/components/ListItemRow/index.es.js +65 -0
- package/dist/common/components/ListItemRow/index.es.js.map +1 -0
- package/dist/common/components/ListItemWrapper/index.es.js +37 -0
- package/dist/common/components/ListItemWrapper/index.es.js.map +1 -0
- package/dist/common/components/Loader/index.es.js +17 -0
- package/dist/common/components/Loader/index.es.js.map +1 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js +60 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js.map +1 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js +77 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js.map +1 -0
- package/dist/common/components/ResponsiveButton/index.es.js +37 -0
- package/dist/common/components/ResponsiveButton/index.es.js.map +1 -0
- package/dist/common/components/SearchBox/index.es.js +59 -0
- package/dist/common/components/SearchBox/index.es.js.map +1 -0
- package/dist/common/components/Select/index.es.js +33 -0
- package/dist/common/components/Select/index.es.js.map +1 -0
- package/dist/common/components/SelectionBox/index.es.js +45 -0
- package/dist/common/components/SelectionBox/index.es.js.map +1 -0
- package/dist/common/components/SkeletonLoader/index.es.js +104 -0
- package/dist/common/components/SkeletonLoader/index.es.js.map +1 -0
- package/dist/common/components/SubheaderRow/index.es.js +23 -0
- package/dist/common/components/SubheaderRow/index.es.js.map +1 -0
- package/dist/common/components/TabContentContainer/index.es.js +14 -0
- package/dist/common/components/TabContentContainer/index.es.js.map +1 -0
- package/dist/common/components/TinyBarChart/index.es.js +80 -0
- package/dist/common/components/TinyBarChart/index.es.js.map +1 -0
- package/dist/common/components/TinyBarChart.d.ts +1 -1
- package/dist/common/components/WidgetContainer/index.es.js +146 -0
- package/dist/common/components/WidgetContainer/index.es.js.map +1 -0
- package/dist/common/components/WidgetDateRangeSelector/index.es.js +38 -0
- package/dist/common/components/WidgetDateRangeSelector/index.es.js.map +1 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +50 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js.map +1 -0
- package/dist/common/components/calendar/Calendar/index.es.js +148 -0
- package/dist/common/components/calendar/Calendar/index.es.js.map +1 -0
- package/dist/common/components/calendar/Day/index.es.js +82 -0
- package/dist/common/components/calendar/Day/index.es.js.map +1 -0
- package/dist/common/components/calendar/Header/index.es.js +42 -0
- package/dist/common/components/calendar/Header/index.es.js.map +1 -0
- package/dist/common/components/charts/Donut/index.es.js +82 -0
- package/dist/common/components/charts/Donut/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +95 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +27 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +56 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +138 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/index.es.js +194 -0
- package/dist/common/components/charts/LineChart/index.es.js.map +1 -0
- package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js +26 -0
- package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +31 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +97 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +54 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +51 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js.map +1 -0
- package/dist/common/components/charts/StatusBar/index.es.js +25 -0
- package/dist/common/components/charts/StatusBar/index.es.js.map +1 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +258 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js.map +1 -0
- package/dist/common/components/dialog/Dialog/index.es.js +58 -0
- package/dist/common/components/dialog/Dialog/index.es.js.map +1 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +53 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js.map +1 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +50 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js.map +1 -0
- package/dist/common/components/drawer/Drawer/index.es.js +57 -0
- package/dist/common/components/drawer/Drawer/index.es.js.map +1 -0
- package/dist/common/components/drawer/Footer/index.es.js +31 -0
- package/dist/common/components/drawer/Footer/index.es.js.map +1 -0
- package/dist/common/components/drawer/Header/index.es.js +52 -0
- package/dist/common/components/drawer/Header/index.es.js.map +1 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +41 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +54 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js +37 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js.map +1 -0
- package/dist/common/constants/Account/index.es.js +32 -0
- package/dist/common/constants/Account/index.es.js.map +1 -0
- package/dist/common/constants/Analytics/index.es.js +139 -0
- package/dist/common/constants/Analytics/index.es.js.map +1 -0
- package/dist/common/constants/Connect/index.es.js +10 -0
- package/dist/common/constants/Connect/index.es.js.map +1 -0
- package/dist/common/constants/Connect.d.ts +4 -0
- package/dist/common/constants/Donut/index.es.js +7 -0
- package/dist/common/constants/Donut/index.es.js.map +1 -0
- package/dist/common/constants/FinStrong/index.es.js +33 -0
- package/dist/common/constants/FinStrong/index.es.js.map +1 -0
- package/dist/common/constants/ScheduledPayment/index.es.js +40 -0
- package/dist/common/constants/ScheduledPayment/index.es.js.map +1 -0
- package/dist/common/constants/Sizes/index.es.js +9 -0
- package/dist/common/constants/Sizes/index.es.js.map +1 -0
- package/dist/common/constants/SpendingPlan/index.es.js +10 -0
- package/dist/common/constants/SpendingPlan/index.es.js.map +1 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/context/GlobalDataProvider/index.es.js +19 -0
- package/dist/common/context/GlobalDataProvider/index.es.js.map +1 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js +16 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js.map +1 -0
- package/dist/common/context/hooks/index.es.js +46 -0
- package/dist/common/context/hooks/index.es.js.map +1 -0
- package/dist/common/hooks/useAccountDisplayName/index.es.js +13 -0
- package/dist/common/hooks/useAccountDisplayName/index.es.js.map +1 -0
- package/dist/common/hooks/useAriaLive/index.es.js +34 -0
- package/dist/common/hooks/useAriaLive/index.es.js.map +1 -0
- package/dist/common/hooks/useCombineEvents/index.es.js +22 -0
- package/dist/common/hooks/useCombineEvents/index.es.js.map +1 -0
- package/dist/common/hooks/useDimensions/index.es.js +41 -0
- package/dist/common/hooks/useDimensions/index.es.js.map +1 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js +13 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js.map +1 -0
- package/dist/common/hooks/usePrevious/index.es.js +13 -0
- package/dist/common/hooks/usePrevious/index.es.js.map +1 -0
- package/dist/common/hooks/useScreenSize/index.es.js +26 -0
- package/dist/common/hooks/useScreenSize/index.es.js.map +1 -0
- package/dist/common/hooks/useWidgetHeaderStyles/index.es.js +46 -0
- package/dist/common/hooks/useWidgetHeaderStyles/index.es.js.map +1 -0
- package/dist/common/hooks/useWidgetLoadTimer/index.es.js +24 -0
- package/dist/common/hooks/useWidgetLoadTimer/index.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/index.es.js +14 -0
- package/dist/common/utils/AccountDisplayName/index.es.js.map +1 -0
- package/dist/common/utils/AccountFilter/index.es.js +31 -0
- package/dist/common/utils/AccountFilter/index.es.js.map +1 -0
- package/dist/common/utils/Analytics/index.es.js +31 -0
- package/dist/common/utils/Analytics/index.es.js.map +1 -0
- package/dist/common/utils/PostMessage/index.es.js +29 -0
- package/dist/common/utils/PostMessage/index.es.js.map +1 -0
- package/dist/common/utils/Theme/index.es.js +96 -0
- package/dist/common/utils/Theme/index.es.js.map +1 -0
- package/dist/core/api/AccountApi/index.es.js +22 -0
- package/dist/core/api/AccountApi/index.es.js.map +1 -0
- package/dist/core/api/AnalyticsApi/index.es.js +34 -0
- package/dist/core/api/AnalyticsApi/index.es.js.map +1 -0
- package/dist/core/api/AppDataApi/index.es.js +14 -0
- package/dist/core/api/AppDataApi/index.es.js.map +1 -0
- package/dist/core/api/BannerApi/index.es.js +23 -0
- package/dist/core/api/BannerApi/index.es.js.map +1 -0
- package/dist/core/api/BeatApi/index.es.js +24 -0
- package/dist/core/api/BeatApi/index.es.js.map +1 -0
- package/dist/core/api/BudgetsApi/index.es.js +28 -0
- package/dist/core/api/BudgetsApi/index.es.js.map +1 -0
- package/dist/core/api/CategoryApi/index.es.js +29 -0
- package/dist/core/api/CategoryApi/index.es.js.map +1 -0
- package/dist/core/api/FinstrongApi/index.es.js +22 -0
- package/dist/core/api/FinstrongApi/index.es.js.map +1 -0
- package/dist/core/api/GlobalCopyApi/index.es.js +14 -0
- package/dist/core/api/GlobalCopyApi/index.es.js.map +1 -0
- package/dist/core/api/GoalApi/index.es.js +28 -0
- package/dist/core/api/GoalApi/index.es.js.map +1 -0
- package/dist/core/api/HelpApi/index.es.js +14 -0
- package/dist/core/api/HelpApi/index.es.js.map +1 -0
- package/dist/core/api/HoldingApi/index.es.js +15 -0
- package/dist/core/api/HoldingApi/index.es.js.map +1 -0
- package/dist/core/api/MerchantApi/index.es.js +18 -0
- package/dist/core/api/MerchantApi/index.es.js.map +1 -0
- package/dist/core/api/NotificationApi/index.es.js +19 -0
- package/dist/core/api/NotificationApi/index.es.js.map +1 -0
- package/dist/core/api/RepeatingTransactionsApi/index.es.js +17 -0
- package/dist/core/api/RepeatingTransactionsApi/index.es.js.map +1 -0
- package/dist/core/api/ScheduledPaymentsApi/index.es.js +22 -0
- package/dist/core/api/ScheduledPaymentsApi/index.es.js.map +1 -0
- package/dist/core/api/SettingsApi/index.es.js +24 -0
- package/dist/core/api/SettingsApi/index.es.js.map +1 -0
- package/dist/core/api/TransactionApi/index.es.js +55 -0
- package/dist/core/api/TransactionApi/index.es.js.map +1 -0
- package/dist/core/api/UserApi/index.es.js +16 -0
- package/dist/core/api/UserApi/index.es.js.map +1 -0
- package/dist/core/api/WidgetApi/index.es.js +14 -0
- package/dist/core/api/WidgetApi/index.es.js.map +1 -0
- package/dist/core/constants/ApiEndpoints/index.es.js +51 -0
- package/dist/core/constants/ApiEndpoints/index.es.js.map +1 -0
- package/dist/core/constants/Category/index.es.js +299 -0
- package/dist/core/constants/Category/index.es.js.map +1 -0
- package/dist/core/constants/DateFormats/index.es.js +55 -0
- package/dist/core/constants/DateFormats/index.es.js.map +1 -0
- package/dist/core/constants/Debts/index.es.js +8 -0
- package/dist/core/constants/Debts/index.es.js.map +1 -0
- package/dist/core/constants/DefaultConfig/index.es.js +109 -0
- package/dist/core/constants/DefaultConfig/index.es.js.map +1 -0
- package/dist/core/constants/Help/index.es.js +183 -0
- package/dist/core/constants/Help/index.es.js.map +1 -0
- package/dist/core/constants/Investments/index.es.js +56 -0
- package/dist/core/constants/Investments/index.es.js.map +1 -0
- package/dist/core/constants/Numbers/index.es.js +9 -0
- package/dist/core/constants/Numbers/index.es.js.map +1 -0
- package/dist/core/constants/Table/index.es.js +18 -0
- package/dist/core/constants/Table/index.es.js.map +1 -0
- package/dist/core/constants/Transaction/index.es.js +43 -0
- package/dist/core/constants/Transaction/index.es.js.map +1 -0
- package/dist/core/constants/repeatingTransactions/index.es.js +8 -0
- package/dist/core/constants/repeatingTransactions/index.es.js.map +1 -0
- package/dist/core/index.es.js +134 -107
- package/dist/core/stores/AccountStore/index.es.js +247 -0
- package/dist/core/stores/AccountStore/index.es.js.map +1 -0
- package/dist/core/stores/AnalyticsStore/index.es.js +55 -0
- package/dist/core/stores/AnalyticsStore/index.es.js.map +1 -0
- package/dist/core/stores/AppDataStore/index.es.js +61 -0
- package/dist/core/stores/AppDataStore/index.es.js.map +1 -0
- package/dist/core/stores/AppDataStore.d.ts +2 -2
- package/dist/core/stores/BeatStore/index.es.js +43 -0
- package/dist/core/stores/BeatStore/index.es.js.map +1 -0
- package/dist/core/stores/BudgetsStore/index.es.js +155 -0
- package/dist/core/stores/BudgetsStore/index.es.js.map +1 -0
- package/dist/core/stores/CashflowStore/index.es.js +62 -0
- package/dist/core/stores/CashflowStore/index.es.js.map +1 -0
- package/dist/core/stores/CategoryStore/index.es.js +147 -0
- package/dist/core/stores/CategoryStore/index.es.js.map +1 -0
- package/dist/core/stores/ConnectStore/index.es.js +19 -0
- package/dist/core/stores/ConnectStore/index.es.js.map +1 -0
- package/dist/core/stores/DebtsStore/index.es.js +40 -0
- package/dist/core/stores/DebtsStore/index.es.js.map +1 -0
- package/dist/core/stores/FinstrongStore/index.es.js +156 -0
- package/dist/core/stores/FinstrongStore/index.es.js.map +1 -0
- package/dist/core/stores/GlobalCopyStore/index.es.js +32 -0
- package/dist/core/stores/GlobalCopyStore/index.es.js.map +1 -0
- package/dist/core/stores/GlobalStore/index.es.js +87 -0
- package/dist/core/stores/GlobalStore/index.es.js.map +1 -0
- package/dist/core/stores/GlobalUiStore/index.es.js +68 -0
- package/dist/core/stores/GlobalUiStore/index.es.js.map +1 -0
- package/dist/core/stores/GlobalUiStore.d.ts +2 -2
- package/dist/core/stores/GoalStore/index.es.js +233 -0
- package/dist/core/stores/GoalStore/index.es.js.map +1 -0
- package/dist/core/stores/HelpStore/index.es.js +45 -0
- package/dist/core/stores/HelpStore/index.es.js.map +1 -0
- package/dist/core/stores/HelpStore.d.ts +1 -1
- package/dist/core/stores/HoldingStore/index.es.js +60 -0
- package/dist/core/stores/HoldingStore/index.es.js.map +1 -0
- package/dist/core/stores/MerchantStore/index.es.js +28 -0
- package/dist/core/stores/MerchantStore/index.es.js.map +1 -0
- package/dist/core/stores/NetWorthStore/index.es.js +73 -0
- package/dist/core/stores/NetWorthStore/index.es.js.map +1 -0
- package/dist/core/stores/NotificationStore/index.es.js +46 -0
- package/dist/core/stores/NotificationStore/index.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore/index.es.js +199 -0
- package/dist/core/stores/RecurringTransactionsStore/index.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore.d.ts +3 -3
- package/dist/core/stores/SettingsStore/index.es.js +184 -0
- package/dist/core/stores/SettingsStore/index.es.js.map +1 -0
- package/dist/core/stores/SettingsStore.d.ts +1 -1
- package/dist/core/stores/TransactionStore/index.es.js +372 -0
- package/dist/core/stores/TransactionStore/index.es.js.map +1 -0
- package/dist/core/stores/TrendsStore/index.es.js +51 -0
- package/dist/core/stores/TrendsStore/index.es.js.map +1 -0
- package/dist/core/stores/UserStore/index.es.js +49 -0
- package/dist/core/stores/UserStore/index.es.js.map +1 -0
- package/dist/core/types/Account/index.es.js +118 -0
- package/dist/core/types/Account/index.es.js.map +1 -0
- package/dist/core/types/Beat/index.es.js +8 -0
- package/dist/core/types/Beat/index.es.js.map +1 -0
- package/dist/core/types/Expense/index.es.js +11 -0
- package/dist/core/types/Expense/index.es.js.map +1 -0
- package/dist/core/types/Finstrong/index.es.js +14 -0
- package/dist/core/types/Finstrong/index.es.js.map +1 -0
- package/dist/core/types/Goal/index.es.js +14 -0
- package/dist/core/types/Goal/index.es.js.map +1 -0
- package/dist/core/types/Notification/index.es.js +17 -0
- package/dist/core/types/Notification/index.es.js.map +1 -0
- package/dist/core/types/RepeatingTransaction/index.es.js +17 -0
- package/dist/core/types/RepeatingTransaction/index.es.js.map +1 -0
- package/dist/core/types/ScreenSize/index.es.js +8 -0
- package/dist/core/types/ScreenSize/index.es.js.map +1 -0
- package/dist/core/types/Transaction/index.es.js +11 -0
- package/dist/core/types/Transaction/index.es.js.map +1 -0
- package/dist/core/types/localization/RecurringCopy.d.ts +0 -6
- package/dist/core/utils/AccountUtils/index.es.js +27 -0
- package/dist/core/utils/AccountUtils/index.es.js.map +1 -0
- package/dist/core/utils/BeatUtils/index.es.js +50 -0
- package/dist/core/utils/BeatUtils/index.es.js.map +1 -0
- package/dist/core/utils/BudgetUtil/index.es.js +71 -0
- package/dist/core/utils/BudgetUtil/index.es.js.map +1 -0
- package/dist/core/utils/CategoryUtil/index.es.js +60 -0
- package/dist/core/utils/CategoryUtil/index.es.js.map +1 -0
- package/dist/core/utils/DateUtil/index.es.js +70 -0
- package/dist/core/utils/DateUtil/index.es.js.map +1 -0
- package/dist/core/utils/DebtUtils/index.es.js +144 -0
- package/dist/core/utils/DebtUtils/index.es.js.map +1 -0
- package/dist/core/utils/Fetch/index.es.js +74 -0
- package/dist/core/utils/Fetch/index.es.js.map +1 -0
- package/dist/core/utils/FinstrongUtils/index.es.js +11 -0
- package/dist/core/utils/FinstrongUtils/index.es.js.map +1 -0
- package/dist/core/utils/GoalsUtil/index.es.js +113 -0
- package/dist/core/utils/GoalsUtil/index.es.js.map +1 -0
- package/dist/core/utils/HelpUtil/index.es.js +23 -0
- package/dist/core/utils/HelpUtil/index.es.js.map +1 -0
- package/dist/core/utils/InvestmentUtil/index.es.js +77 -0
- package/dist/core/utils/InvestmentUtil/index.es.js.map +1 -0
- package/dist/core/utils/Localization/index.es.js +34 -0
- package/dist/core/utils/Localization/index.es.js.map +1 -0
- package/dist/core/utils/NetWorthUtils/index.es.js +115 -0
- package/dist/core/utils/NetWorthUtils/index.es.js.map +1 -0
- package/dist/core/utils/NotificationUtils/index.es.js +17 -0
- package/dist/core/utils/NotificationUtils/index.es.js.map +1 -0
- package/dist/core/utils/NumberFormatting/index.es.js +31 -0
- package/dist/core/utils/NumberFormatting/index.es.js.map +1 -0
- package/dist/core/utils/RecurringTransactionsUtil/index.es.js +285 -0
- package/dist/core/utils/RecurringTransactionsUtil/index.es.js.map +1 -0
- package/dist/core/utils/SettingsUtil/index.es.js +56 -0
- package/dist/core/utils/SettingsUtil/index.es.js.map +1 -0
- package/dist/core/utils/TransactionUtils/index.es.js +113 -0
- package/dist/core/utils/TransactionUtils/index.es.js.map +1 -0
- package/dist/core/utils/TrendsUtil/index.es.js +72 -0
- package/dist/core/utils/TrendsUtil/index.es.js.map +1 -0
- package/dist/core/utils/UserUtils/index.es.js +6 -0
- package/dist/core/utils/UserUtils/index.es.js.map +1 -0
- package/dist/dashboard/Dashboard/index.es.js +99 -0
- package/dist/dashboard/Dashboard/index.es.js.map +1 -0
- package/dist/dashboard/Greeting/index.es.js +49 -0
- package/dist/dashboard/Greeting/index.es.js.map +1 -0
- package/dist/dashboard/constants/Dashboard/index.es.js +8 -0
- package/dist/dashboard/constants/Dashboard/index.es.js.map +1 -0
- package/dist/dashboard/index.es.js +4 -153
- package/dist/debts/DebtsWidget/index.es.js +138 -0
- package/dist/debts/DebtsWidget/index.es.js.map +1 -0
- package/dist/debts/components/DebtDrawer/index.es.js +26 -0
- package/dist/debts/components/DebtDrawer/index.es.js.map +1 -0
- package/dist/debts/components/DebtsChart/index.es.js +135 -0
- package/dist/debts/components/DebtsChart/index.es.js.map +1 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +30 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js.map +1 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +35 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js.map +1 -0
- package/dist/debts/components/DebtsTable/index.es.js +193 -0
- package/dist/debts/components/DebtsTable/index.es.js.map +1 -0
- package/dist/debts/components/PaydownDrawer/index.es.js +19 -0
- package/dist/debts/components/PaydownDrawer/index.es.js.map +1 -0
- package/dist/debts/components/SnowballCard/index.es.js +87 -0
- package/dist/debts/components/SnowballCard/index.es.js.map +1 -0
- package/dist/debts/components/SnowballDrawer/index.es.js +457 -0
- package/dist/debts/components/SnowballDrawer/index.es.js.map +1 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +37 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js.map +1 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +43 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js.map +1 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js +41 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js.map +1 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +43 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +43 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +43 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +54 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +40 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +108 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +86 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +32 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +77 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +32 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +78 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js.map +1 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +12 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js.map +1 -0
- package/dist/debts/index.es.js +6 -1496
- package/dist/debts/utils/DebtsChart/index.es.js +15 -0
- package/dist/debts/utils/DebtsChart/index.es.js.map +1 -0
- package/dist/debts/utils/DebtsTable/index.es.js +17 -0
- package/dist/debts/utils/DebtsTable/index.es.js.map +1 -0
- package/dist/debts/utils/SnowballCard/index.es.js +40 -0
- package/dist/debts/utils/SnowballCard/index.es.js.map +1 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js +127 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js.map +1 -0
- package/dist/finstrong/FinstrongWidget/index.es.js +175 -0
- package/dist/finstrong/FinstrongWidget/index.es.js.map +1 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +80 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js +39 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js +22 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js.map +1 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +61 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js.map +1 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +44 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js +43 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js +88 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js +73 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js +40 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js.map +1 -0
- package/dist/finstrong/components/HealthChart/index.es.js +117 -0
- package/dist/finstrong/components/HealthChart/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +71 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +92 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +73 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +65 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js +93 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +78 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js +170 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js +51 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js +53 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js.map +1 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js +52 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js.map +1 -0
- package/dist/finstrong/components/ManageDOB/index.es.js +79 -0
- package/dist/finstrong/components/ManageDOB/index.es.js.map +1 -0
- package/dist/finstrong/components/MissingData/index.es.js +51 -0
- package/dist/finstrong/components/MissingData/index.es.js.map +1 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js +124 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/ProfileList/index.es.js +65 -0
- package/dist/finstrong/components/ProfileList/index.es.js.map +1 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +32 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js.map +1 -0
- package/dist/finstrong/components/ProgressBar/index.es.js +53 -0
- package/dist/finstrong/components/ProgressBar/index.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js +27 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js +51 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js +56 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js +34 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js.map +1 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +90 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/ScoreRubricDrawer/index.es.js +118 -0
- package/dist/finstrong/components/ScoreRubricDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js +130 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js +50 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js.map +1 -0
- package/dist/finstrong/components/StatusChip/index.es.js +37 -0
- package/dist/finstrong/components/StatusChip/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/Onboarding/index.es.js +57 -0
- package/dist/finstrong/components/onboarding/Onboarding/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js +57 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js +46 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js +28 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js +313 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js +25 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js +69 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js +38 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/Accounts/index.es.js +102 -0
- package/dist/finstrong/components/shared/Accounts/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js +48 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +52 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +186 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/DoubleBarChart/index.es.js +196 -0
- package/dist/finstrong/components/shared/DoubleBarChart/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/LineGraph/index.es.js +136 -0
- package/dist/finstrong/components/shared/LineGraph/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +107 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +40 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/TotalCard/index.es.js +30 -0
- package/dist/finstrong/components/shared/TotalCard/index.es.js.map +1 -0
- package/dist/finstrong/components/shared/Transactions/index.es.js +129 -0
- package/dist/finstrong/components/shared/Transactions/index.es.js.map +1 -0
- package/dist/finstrong/constants/index/index.es.js +9 -0
- package/dist/finstrong/constants/index/index.es.js.map +1 -0
- package/dist/finstrong/index.es.js +8 -3912
- package/dist/finstrong/util/finstrongUtils/index.es.js +206 -0
- package/dist/finstrong/util/finstrongUtils/index.es.js.map +1 -0
- package/dist/goals/GoalsMicroWidget/index.es.js +44 -0
- package/dist/goals/GoalsMicroWidget/index.es.js.map +1 -0
- package/dist/goals/GoalsWidget/index.es.js +141 -0
- package/dist/goals/GoalsWidget/index.es.js.map +1 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +54 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js.map +1 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +72 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js.map +1 -0
- package/dist/goals/components/AddGoal/index.es.js +59 -0
- package/dist/goals/components/AddGoal/index.es.js.map +1 -0
- package/dist/goals/components/GoalDetails/index.es.js +115 -0
- package/dist/goals/components/GoalDetails/index.es.js.map +1 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +83 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js.map +1 -0
- package/dist/goals/components/GoalList/index.es.js +135 -0
- package/dist/goals/components/GoalList/index.es.js.map +1 -0
- package/dist/goals/components/GoalStatusCard/index.es.js +95 -0
- package/dist/goals/components/GoalStatusCard/index.es.js.map +1 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +59 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js.map +1 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +83 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js.map +1 -0
- package/dist/goals/components/ManageGoals/index.es.js +89 -0
- package/dist/goals/components/ManageGoals/index.es.js.map +1 -0
- package/dist/goals/components/TabTitle/index.es.js +19 -0
- package/dist/goals/components/TabTitle/index.es.js.map +1 -0
- package/dist/goals/components/actions/AccountAction/index.es.js +28 -0
- package/dist/goals/components/actions/AccountAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +56 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +45 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js +44 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +127 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js +49 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js +41 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +47 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +47 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +42 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js.map +1 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +64 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js.map +1 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +35 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js.map +1 -0
- package/dist/goals/index.es.js +4 -1088
- package/dist/help/HelpWidget/index.es.js +25 -0
- package/dist/help/HelpWidget/index.es.js.map +1 -0
- package/dist/help/components/Help/index.es.js +48 -0
- package/dist/help/components/Help/index.es.js.map +1 -0
- package/dist/help/components/HelpContent/index.es.js +25 -0
- package/dist/help/components/HelpContent/index.es.js.map +1 -0
- package/dist/help/components/HelpList/index.es.js +142 -0
- package/dist/help/components/HelpList/index.es.js.map +1 -0
- package/dist/help/components/content/BottomImageContent/index.es.js +51 -0
- package/dist/help/components/content/BottomImageContent/index.es.js.map +1 -0
- package/dist/help/components/content/ContentItem/index.es.js +46 -0
- package/dist/help/components/content/ContentItem/index.es.js.map +1 -0
- package/dist/help/components/content/Header/index.es.js +83 -0
- package/dist/help/components/content/Header/index.es.js.map +1 -0
- package/dist/help/components/content/LeftImageContent/index.es.js +57 -0
- package/dist/help/components/content/LeftImageContent/index.es.js.map +1 -0
- package/dist/help/components/content/NoImageContent/index.es.js +15 -0
- package/dist/help/components/content/NoImageContent/index.es.js.map +1 -0
- package/dist/help/components/content/RightImageContent/index.es.js +55 -0
- package/dist/help/components/content/RightImageContent/index.es.js.map +1 -0
- package/dist/help/components/content/TopImageContent/index.es.js +51 -0
- package/dist/help/components/content/TopImageContent/index.es.js.map +1 -0
- package/dist/help/components/content/section/Accounts/index.es.js +159 -0
- package/dist/help/components/content/section/Accounts/index.es.js.map +1 -0
- package/dist/help/components/content/section/Budgets/index.es.js +66 -0
- package/dist/help/components/content/section/Budgets/index.es.js.map +1 -0
- package/dist/help/components/content/section/CashFlow/index.es.js +47 -0
- package/dist/help/components/content/section/CashFlow/index.es.js.map +1 -0
- package/dist/help/components/content/section/Debts/index.es.js +168 -0
- package/dist/help/components/content/section/Debts/index.es.js.map +1 -0
- package/dist/help/components/content/section/General/index.es.js +84 -0
- package/dist/help/components/content/section/General/index.es.js.map +1 -0
- package/dist/help/components/content/section/Goals/index.es.js +112 -0
- package/dist/help/components/content/section/Goals/index.es.js.map +1 -0
- package/dist/help/components/content/section/Insights/index.es.js +79 -0
- package/dist/help/components/content/section/Insights/index.es.js.map +1 -0
- package/dist/help/components/content/section/Investments/index.es.js +48 -0
- package/dist/help/components/content/section/Investments/index.es.js.map +1 -0
- package/dist/help/components/content/section/Mobile/index.es.js +48 -0
- package/dist/help/components/content/section/Mobile/index.es.js.map +1 -0
- package/dist/help/components/content/section/NetWorth/index.es.js +61 -0
- package/dist/help/components/content/section/NetWorth/index.es.js.map +1 -0
- package/dist/help/components/content/section/Notifications/index.es.js +53 -0
- package/dist/help/components/content/section/Notifications/index.es.js.map +1 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +72 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js.map +1 -0
- package/dist/help/components/content/section/Spending/index.es.js +63 -0
- package/dist/help/components/content/section/Spending/index.es.js.map +1 -0
- package/dist/help/components/content/section/Transactions/index.es.js +209 -0
- package/dist/help/components/content/section/Transactions/index.es.js.map +1 -0
- package/dist/help/components/content/section/Trends/index.es.js +43 -0
- package/dist/help/components/content/section/Trends/index.es.js.map +1 -0
- package/dist/help/components/content/section/index/index.es.js +37 -0
- package/dist/help/components/content/section/index/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +90 -0
- package/dist/help/components/requestsupport/ContactSupport/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +103 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +52 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +24 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +40 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +172 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +46 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +47 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +68 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +71 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js.map +1 -0
- package/dist/help/constants/HelpImages/index.es.js +49 -0
- package/dist/help/constants/HelpImages/index.es.js.map +1 -0
- package/dist/help/index.es.js +4 -26
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +16 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js.map +1 -0
- package/dist/insights/components/feed/Header/index.es.js +75 -0
- package/dist/insights/components/feed/Header/index.es.js.map +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js +12 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js +22 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js +274 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js +56 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js +35 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js +41 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/CashBack/index.es.js +45 -0
- package/dist/insights/components/insights/CashBack/CashBack/index.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js +6 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js +55 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js +46 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js +48 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js +66 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js +24 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js +120 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js +143 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js +20 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js +29 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js +20 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js +55 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js +494 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js +88 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js.map +1 -0
- package/dist/insights/components/insights/MarketingHub/Offer/index.es.js +44 -0
- package/dist/insights/components/insights/MarketingHub/Offer/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js +33 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js +29 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js +42 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js +27 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js +28 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js +33 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js +37 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js +35 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js +20 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js +83 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js +42 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js.map +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js +40 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js.map +1 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js +19 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js.map +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js +104 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js +37 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js +25 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js +36 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js +38 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js +86 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js +34 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js +133 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js +59 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js +23 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js +51 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js.map +1 -0
- package/dist/insights/components/shared/BottomSheet/index.es.js +39 -0
- package/dist/insights/components/shared/BottomSheet/index.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js +66 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js +60 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js.map +1 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js +76 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js +147 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js +148 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js +75 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js +80 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js +72 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js +32 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js +51 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js +45 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js +118 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js +116 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js +14 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js.map +1 -0
- package/dist/insights/components/shared/Confetti/index.es.js +32 -0
- package/dist/insights/components/shared/Confetti/index.es.js.map +1 -0
- package/dist/insights/components/shared/ConnectionCard/index.es.js +90 -0
- package/dist/insights/components/shared/ConnectionCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/Coupon/index.es.js +66 -0
- package/dist/insights/components/shared/Coupon/index.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js +34 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js +20 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js +163 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js +19 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js +16 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js +85 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js +20 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js +33 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js +43 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js.map +1 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js +82 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js +58 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js +264 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js +76 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js +57 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js +47 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js +16 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js +29 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js +50 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js +45 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js.map +1 -0
- package/dist/insights/components/shared/GoalProgress/index.es.js +42 -0
- package/dist/insights/components/shared/GoalProgress/index.es.js.map +1 -0
- package/dist/insights/components/shared/GradientBox/index.es.js +33 -0
- package/dist/insights/components/shared/GradientBox/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js +32 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardError/index.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardError/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js +24 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js +28 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js +21 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js +38 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/Description/index.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/Description/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js +69 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js +120 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js +25 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js +44 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js +42 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js +728 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/MenuAction/index.es.js +68 -0
- package/dist/insights/components/shared/MenuAction/index.es.js.map +1 -0
- package/dist/insights/components/shared/MiniInsightCard/index.es.js +69 -0
- package/dist/insights/components/shared/MiniInsightCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js +107 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js.map +1 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js +75 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js.map +1 -0
- package/dist/insights/components/shared/ProgressBar/index.es.js +39 -0
- package/dist/insights/components/shared/ProgressBar/index.es.js.map +1 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js +55 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js +77 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js +12 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js.map +1 -0
- package/dist/insights/components/shared/StatusIndicator/index.es.js +69 -0
- package/dist/insights/components/shared/StatusIndicator/index.es.js.map +1 -0
- package/dist/insights/components/shared/ThemedSVGImage/index.es.js +49 -0
- package/dist/insights/components/shared/ThemedSVGImage/index.es.js.map +1 -0
- package/dist/insights/components/shared/TransactionCard/index.es.js +93 -0
- package/dist/insights/components/shared/TransactionCard/index.es.js.map +1 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js +23 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js +101 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js +38 -0
- package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js +101 -0
- package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js +91 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js +21 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js +815 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js.map +1 -0
- package/dist/insights/hooks/useContainerDimensions/index.es.js +26 -0
- package/dist/insights/hooks/useContainerDimensions/index.es.js.map +1 -0
- package/dist/insights/images/Loading.gif/index.es.js +6 -0
- package/dist/insights/images/Loading.gif/index.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/index.es.js +8 -0
- package/dist/insights/types/CommonBeat/index.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget/index.es.js +98 -0
- package/dist/investments/InvestmentsWidget/index.es.js.map +1 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +136 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js.map +1 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +86 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js.map +1 -0
- package/dist/investments/components/Allocation/index.es.js +55 -0
- package/dist/investments/components/Allocation/index.es.js.map +1 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +103 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js.map +1 -0
- package/dist/investments/components/Analysis/index.es.js +167 -0
- package/dist/investments/components/Analysis/index.es.js.map +1 -0
- package/dist/investments/components/AnalysisDetails/index.es.js +86 -0
- package/dist/investments/components/AnalysisDetails/index.es.js.map +1 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js.map +1 -0
- package/dist/investments/components/HeaderCell/index.es.js +28 -0
- package/dist/investments/components/HeaderCell/index.es.js.map +1 -0
- package/dist/investments/components/HoldingDrawer/index.es.js +327 -0
- package/dist/investments/components/HoldingDrawer/index.es.js.map +1 -0
- package/dist/investments/components/HoldingTable/index.es.js +199 -0
- package/dist/investments/components/HoldingTable/index.es.js.map +1 -0
- package/dist/investments/components/InfoToolTip/index.es.js +45 -0
- package/dist/investments/components/InfoToolTip/index.es.js.map +1 -0
- package/dist/investments/components/Overview/index.es.js +456 -0
- package/dist/investments/components/Overview/index.es.js.map +1 -0
- package/dist/investments/components/TabTitle/index.es.js +12 -0
- package/dist/investments/components/TabTitle/index.es.js.map +1 -0
- package/dist/investments/index.es.js +2 -1675
- package/dist/merchants/components/MerchantLookup/index.es.js +91 -0
- package/dist/merchants/components/MerchantLookup/index.es.js.map +1 -0
- package/dist/merchants/index.es.js +2 -76
- package/dist/microinsights/InsightsMicroWidget/index.es.js +109 -0
- package/dist/microinsights/InsightsMicroWidget/index.es.js.map +1 -0
- package/dist/microinsights/MicroCardTemplate/index.es.js +159 -0
- package/dist/microinsights/MicroCardTemplate/index.es.js.map +1 -0
- package/dist/microinsights/MicroWidgetContainer/index.es.js +24 -0
- package/dist/microinsights/MicroWidgetContainer/index.es.js.map +1 -0
- package/dist/microinsights/Spinner/index.es.js +19 -0
- package/dist/microinsights/Spinner/index.es.js.map +1 -0
- package/dist/microinsights/analytics/index.es.js +12 -0
- package/dist/microinsights/analytics/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/AreaChartIcon/index.es.js +18 -0
- package/dist/microinsights/beaticons/AreaChartIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js +23 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js +16 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatIcon/index.es.js +162 -0
- package/dist/microinsights/beaticons/BeatIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js +25 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js +20 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js +21 -0
- package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js +12 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js +17 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js.map +1 -0
- package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js +722 -0
- package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js.map +1 -0
- package/dist/microinsights/cards/InsightCard/index.es.js +71 -0
- package/dist/microinsights/cards/InsightCard/index.es.js.map +1 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js +38 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js.map +1 -0
- package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js +43 -0
- package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js.map +1 -0
- package/dist/microinsights/cards/ZeroStateCard/index.es.js +32 -0
- package/dist/microinsights/cards/ZeroStateCard/index.es.js.map +1 -0
- package/dist/microinsights/carousel/BeatList/index.es.js +37 -0
- package/dist/microinsights/carousel/BeatList/index.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselControls/index.es.js +63 -0
- package/dist/microinsights/carousel/CarouselControls/index.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselHeader/index.es.js +39 -0
- package/dist/microinsights/carousel/CarouselHeader/index.es.js.map +1 -0
- package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js +147 -0
- package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js.map +1 -0
- package/dist/microinsights/constants/Analytics/index.es.js +148 -0
- package/dist/microinsights/constants/Analytics/index.es.js.map +1 -0
- package/dist/microinsights/constants/App/index.es.js +11 -0
- package/dist/microinsights/constants/App/index.es.js.map +1 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +17 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js.map +1 -0
- package/dist/microinsights/context/hooks/index.es.js +27 -0
- package/dist/microinsights/context/hooks/index.es.js.map +1 -0
- package/dist/microinsights/index.es.js +28 -826
- package/dist/microinsights/stores/AppStore/index.es.js +27 -0
- package/dist/microinsights/stores/AppStore/index.es.js.map +1 -0
- package/dist/microinsights/stores/CopyStore/index.es.js +34 -0
- package/dist/microinsights/stores/CopyStore/index.es.js.map +1 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +33 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js.map +1 -0
- package/dist/microinsights/utils/DataSeries/index.es.js +11 -0
- package/dist/microinsights/utils/DataSeries/index.es.js.map +1 -0
- package/dist/microinsights/utils/colorType/index.es.js +13 -0
- package/dist/microinsights/utils/colorType/index.es.js.map +1 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js +40 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js.map +1 -0
- package/dist/networth/NetWorthWidget/index.es.js +78 -0
- package/dist/networth/NetWorthWidget/index.es.js.map +1 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +158 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js.map +1 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js +137 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js.map +1 -0
- package/dist/networth/components/NetWorthChange/index.es.js +34 -0
- package/dist/networth/components/NetWorthChange/index.es.js.map +1 -0
- package/dist/networth/components/NetWorthChart/index.es.js +58 -0
- package/dist/networth/components/NetWorthChart/index.es.js.map +1 -0
- package/dist/networth/components/NetWorthList/index.es.js +99 -0
- package/dist/networth/components/NetWorthList/index.es.js.map +1 -0
- package/dist/networth/components/NetWorthListItem/index.es.js +50 -0
- package/dist/networth/components/NetWorthListItem/index.es.js.map +1 -0
- package/dist/networth/components/NetWorthSummary/index.es.js +38 -0
- package/dist/networth/components/NetWorthSummary/index.es.js.map +1 -0
- package/dist/networth/components/micro/NetworthData/index.es.js +49 -0
- package/dist/networth/components/micro/NetworthData/index.es.js.map +1 -0
- package/dist/networth/components/micro/ZeroState/index.es.js +31 -0
- package/dist/networth/components/micro/ZeroState/index.es.js.map +1 -0
- package/dist/networth/index.es.js +4 -565
- package/dist/notifications/components/DateRow/index.es.js +23 -0
- package/dist/notifications/components/DateRow/index.es.js.map +1 -0
- package/dist/notifications/components/NotificationBadge/index.es.js +33 -0
- package/dist/notifications/components/NotificationBadge/index.es.js.map +1 -0
- package/dist/notifications/components/NotificationCard/index.es.js +56 -0
- package/dist/notifications/components/NotificationCard/index.es.js.map +1 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js +47 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js.map +1 -0
- package/dist/notifications/components/NotificationList/index.es.js +42 -0
- package/dist/notifications/components/NotificationList/index.es.js.map +1 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +49 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js.map +1 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js +24 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js.map +1 -0
- package/dist/notifications/index.es.js +6 -198
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +54 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +47 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +87 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js.map +1 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +30 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js +103 -0
- package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +45 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +133 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +64 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +87 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +133 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js +20 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +114 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js +27 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +155 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js +63 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js +46 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +47 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +19 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +33 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +37 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +111 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js +93 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js +42 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js +57 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js +72 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js +96 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js +47 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js +45 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js +37 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js.map +1 -0
- package/dist/recurringtransactions/index.es.js +18 -1022
- package/dist/settings/NotificationSettingsWidget/index.es.js +32 -0
- package/dist/settings/NotificationSettingsWidget/index.es.js.map +1 -0
- package/dist/settings/SettingsWidget/index.es.js +82 -0
- package/dist/settings/SettingsWidget/index.es.js.map +1 -0
- package/dist/settings/TransactionRulesWidget/index.es.js +28 -0
- package/dist/settings/TransactionRulesWidget/index.es.js.map +1 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js +127 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceList/index.es.js +125 -0
- package/dist/settings/components/devices/DeviceList/index.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js +107 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js +120 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +92 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +44 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +84 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js.map +1 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +14 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js.map +1 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +78 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js.map +1 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +14 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +80 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +94 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js.map +1 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +111 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js.map +1 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js +178 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +88 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +105 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +40 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +35 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +31 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +45 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +36 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +46 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +26 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js.map +1 -0
- package/dist/settings/constants/Settings/index.es.js +8 -0
- package/dist/settings/constants/Settings/index.es.js.map +1 -0
- package/dist/settings/index.es.js +23 -892
- package/dist/spending/SpendingMiniWidget/index.es.js +41 -0
- package/dist/spending/SpendingMiniWidget/index.es.js.map +1 -0
- package/dist/spending/SpendingWidget/index.es.js +51 -0
- package/dist/spending/SpendingWidget/index.es.js.map +1 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js +112 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js.map +1 -0
- package/dist/spending/components/Spending/index.es.js +123 -0
- package/dist/spending/components/Spending/index.es.js.map +1 -0
- package/dist/spending/components/SpendingChart/index.es.js +60 -0
- package/dist/spending/components/SpendingChart/index.es.js.map +1 -0
- package/dist/spending/components/SpendingDonut/index.es.js +132 -0
- package/dist/spending/components/SpendingDonut/index.es.js.map +1 -0
- package/dist/spending/components/SpendingLegend/index.es.js +46 -0
- package/dist/spending/components/SpendingLegend/index.es.js.map +1 -0
- package/dist/spending/components/SpendingList/index.es.js +124 -0
- package/dist/spending/components/SpendingList/index.es.js.map +1 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js +22 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js.map +1 -0
- package/dist/spending/index.es.js +4 -491
- package/dist/spending/utils/SpendingData/index.es.js +72 -0
- package/dist/spending/utils/SpendingData/index.es.js.map +1 -0
- package/dist/transactions/TransactionWidget/index.es.js +189 -0
- package/dist/transactions/TransactionWidget/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +85 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +49 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +151 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +39 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js +82 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js +161 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +103 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +66 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +77 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js +90 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +101 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +150 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +94 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +255 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +92 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +39 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js +92 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +12 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +30 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +38 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +14 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +46 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +12 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +28 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js +124 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js.map +1 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js +25 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +68 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +119 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js +68 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +48 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +36 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +108 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +33 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +44 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js +26 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js.map +1 -0
- package/dist/transactions/constants/Actions/index.es.js +22 -0
- package/dist/transactions/constants/Actions/index.es.js.map +1 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js +50 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js.map +1 -0
- package/dist/transactions/context/hooks/index.es.js +12 -0
- package/dist/transactions/context/hooks/index.es.js.map +1 -0
- package/dist/transactions/index.es.js +17 -604
- package/dist/transactions/utils/Filters/index.es.js +11 -0
- package/dist/transactions/utils/Filters/index.es.js.map +1 -0
- package/dist/transactions/utils/Transactions/index.es.js +24 -0
- package/dist/transactions/utils/Transactions/index.es.js.map +1 -0
- package/dist/trends/TrendsFullWidget/index.es.js +154 -0
- package/dist/trends/TrendsFullWidget/index.es.js.map +1 -0
- package/dist/trends/TrendsMicroWidget/index.es.js +72 -0
- package/dist/trends/TrendsMicroWidget/index.es.js.map +1 -0
- package/dist/trends/TrendsMiniWidget/index.es.js +43 -0
- package/dist/trends/TrendsMiniWidget/index.es.js.map +1 -0
- package/dist/trends/TrendsWidget/index.es.js +207 -0
- package/dist/trends/TrendsWidget/index.es.js.map +1 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js +30 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js.map +1 -0
- package/dist/trends/components/CategoriesList/index.es.js +64 -0
- package/dist/trends/components/CategoriesList/index.es.js.map +1 -0
- package/dist/trends/components/CategoriesListItem/index.es.js +44 -0
- package/dist/trends/components/CategoriesListItem/index.es.js.map +1 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js +45 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js.map +1 -0
- package/dist/trends/components/CategoryDetails/index.es.js +104 -0
- package/dist/trends/components/CategoryDetails/index.es.js.map +1 -0
- package/dist/trends/components/DateRangeText/index.es.js +26 -0
- package/dist/trends/components/DateRangeText/index.es.js.map +1 -0
- package/dist/trends/components/SpendingChart/index.es.js +28 -0
- package/dist/trends/components/SpendingChart/index.es.js.map +1 -0
- package/dist/trends/components/TrendsChart/index.es.js +63 -0
- package/dist/trends/components/TrendsChart/index.es.js.map +1 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js +58 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js.map +1 -0
- package/dist/trends/components/TrendsDrawer/index.es.js +38 -0
- package/dist/trends/components/TrendsDrawer/index.es.js.map +1 -0
- package/dist/trends/components/TrendsInsights/index.es.js +38 -0
- package/dist/trends/components/TrendsInsights/index.es.js.map +1 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +82 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js.map +1 -0
- package/dist/trends/components/TrendsTableContainer/index.es.js +56 -0
- package/dist/trends/components/TrendsTableContainer/index.es.js.map +1 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js +28 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js.map +1 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js +49 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js.map +1 -0
- package/dist/trends/components/trendstable/AmountCell/index.es.js +24 -0
- package/dist/trends/components/trendstable/AmountCell/index.es.js.map +1 -0
- package/dist/trends/components/trendstable/CategoryCell/index.es.js +30 -0
- package/dist/trends/components/trendstable/CategoryCell/index.es.js.map +1 -0
- package/dist/trends/components/trendstable/HeaderCell/index.es.js +12 -0
- package/dist/trends/components/trendstable/HeaderCell/index.es.js.map +1 -0
- package/dist/trends/components/trendstable/TrendsTable/index.es.js +52 -0
- package/dist/trends/components/trendstable/TrendsTable/index.es.js.map +1 -0
- package/dist/trends/constants/TrendsInsights/index.es.js +40 -0
- package/dist/trends/constants/TrendsInsights/index.es.js.map +1 -0
- package/dist/trends/constants/TrendsWidget/index.es.js +6 -0
- package/dist/trends/constants/TrendsWidget/index.es.js.map +1 -0
- package/dist/trends/index.es.js +8 -1612
- package/dist/trends/utils/SpendingData/index.es.js +53 -0
- package/dist/trends/utils/SpendingData/index.es.js.map +1 -0
- package/dist/trends/utils/TrendsTable/index.es.js +101 -0
- package/dist/trends/utils/TrendsTable/index.es.js.map +1 -0
- package/dist/trends/utils/TrendsWidget/index.es.js +11 -0
- package/dist/trends/utils/TrendsWidget/index.es.js.map +1 -0
- package/dist/trends/utils/shared/index.es.js +18 -0
- package/dist/trends/utils/shared/index.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-JORrub4d.mjs +0 -922
- package/dist/AccountDetailsDrawer-JORrub4d.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-BuSaE8-f.mjs +0 -431
- package/dist/CategorySelectorDrawer-BuSaE8-f.mjs.map +0 -1
- package/dist/Connect-BH0Pt6zc.mjs +0 -43
- package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
- package/dist/ConnectCard-D7exwcv8.mjs +0 -55
- package/dist/ConnectCard-D7exwcv8.mjs.map +0 -1
- package/dist/ConnectDrawer-BQ9ouCgh.mjs +0 -58
- package/dist/ConnectDrawer-BQ9ouCgh.mjs.map +0 -1
- package/dist/ConnectionsDrawer-CCDnZGh0.mjs +0 -54
- package/dist/ConnectionsDrawer-CCDnZGh0.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-CWQYTC6t.mjs +0 -187
- package/dist/Drawer-CWQYTC6t.mjs.map +0 -1
- package/dist/EmbeddedCard-AdIOFTGI.mjs +0 -860
- package/dist/EmbeddedCard-AdIOFTGI.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-CuQY5irL.mjs +0 -25
- package/dist/ExportCsvAction-CuQY5irL.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-wVQI-yjk.mjs +0 -3210
- package/dist/Help-wVQI-yjk.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-lfbxMoW8.mjs +0 -906
- package/dist/ManageIncome-lfbxMoW8.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-BOz1Xkf4.mjs +0 -678
- package/dist/NotificationSettings-BOz1Xkf4.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-BG5wxPbS.mjs +0 -89
- package/dist/RecurringSettings-BG5wxPbS.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-naGZa2sb.mjs +0 -1710
- package/dist/TransactionDetails-naGZa2sb.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-BBzwzqOz.mjs +0 -487
- package/dist/WidgetContainer-BBzwzqOz.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
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
- /package/dist/common/components/{globalaccountfilter → GlobalAccountFilter}/GlobalAccountFilterList.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/utils/markerShapes.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
- /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransaction.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransactionDetails.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageExpenses.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageIncome.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringRow.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringSettingsZeroState.d.ts +0 -0
- /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/SelectTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionDetailsView.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/AddMerchantBudgetAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/ExcludeAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/AccountUtils.ts"],"sourcesContent":["import {\n type Account,\n type DetailedAccount,\n type Institution,\n type Member,\n AccountType,\n ConnectionStatus,\n ErrorStatuses,\n MfaStatuses,\n ProcessingStatuses,\n} from '../'\n\nexport const isAccountLiability = (account: Account) =>\n account &&\n (account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.LOAN ||\n account.account_type === AccountType.MORTGAGE ||\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CHECKING_LINE_OF_CREDIT)\n\n/**\n * Returns the balance to use as an account's spendable / starting balance.\n * For checking/savings accounts it uses available_balance when present and\n * enabled via config, otherwise the current balance. All other account types\n * use the current balance. Single source of truth shared by the Accounts,\n * Financial Strength, and Cash Flow experiences.\n */\nexport const getAccountStartingBalance = (\n account: Account,\n showAvailableBalance: boolean,\n): number => {\n const isCheckingOrSavings =\n account.account_type === AccountType.CHECKING || account.account_type === AccountType.SAVINGS\n\n if (isCheckingOrSavings && account.available_balance != null && showAvailableBalance) {\n return account.available_balance\n }\n\n return account.balance || 0\n}\n\nexport const isManual = (account: Account) => account.is_manual || !account.guid\n\nexport const usesCreditLimitField = (account: Account) =>\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.CHECKING_LINE_OF_CREDIT\n\nexport const usesInterestRateField = (account: Account) =>\n account.account_type === AccountType.SAVINGS ||\n account.account_type === AccountType.CHECKING ||\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.LOAN ||\n account.account_type === AccountType.MORTGAGE\n\nexport const usesOriginalBalanceField = (account: Account) =>\n account.account_type === AccountType.LOAN || account.account_type === AccountType.MORTGAGE\n\nexport const augmentAccounts = (\n accounts: Account[],\n institutions: Institution[],\n members: Member[],\n shouldExcludeExternalAccounts: boolean,\n shouldExcludeHeldAccounts: boolean,\n): DetailedAccount[] => {\n return accounts\n .filter((account) => !(account.member_is_managed_by_user && shouldExcludeExternalAccounts))\n .filter((account) => !(!account.member_is_managed_by_user && shouldExcludeHeldAccounts))\n .sort(accountSorter)\n .map((account) => {\n const institution = institutions.find((inst) => inst.guid === account.institution_guid)\n const member = members.find((member) => member.guid === account.member_guid)\n\n return buildDetailedAccount(account, institution, member)\n })\n}\n\nconst buildDetailedAccount = (account: Account, institution?: Institution, member?: Member) => {\n // TODO: Needs to be localized here\n let connectionStatus = ConnectionStatus.Connected\n if (member) {\n if (ErrorStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.Error\n } else if (ProcessingStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.Processing\n } else if (MfaStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.RequiresMfa\n }\n }\n\n const displayName = [\n account.user_name || account.feed_name || '',\n account.account_number ? `*${account.account_number}` : '',\n ]\n .join(' ')\n .trim()\n\n return {\n ...account,\n connectionStatus,\n displayName,\n institution,\n member,\n }\n}\n\nconst accountSorter = (a: Account, b: Account) => {\n // orders by account type descending (Checking -> Savings -> Credit card)\n if (a.account_type > b.account_type) return 1\n if (a.account_type < b.account_type) return -1\n // orders by name (Emergency Savings -> Health Savings -> Rainy Day Savings)\n if ((a.name || '') > (b.name || '')) return 1\n if ((a.name || '') < (b.name || '')) return -1\n return 0\n}\n"],"mappings":";AAYA,IAAa,IAAA,CAAsB,MACjC,MACC,EAAQ,iBAAiB,EAAY,eACpC,EAAQ,iBAAiB,EAAY,QACrC,EAAQ,iBAAiB,EAAY,YACrC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,0BAS5B,IAAA,CACX,GACA,OAGE,EAAQ,iBAAiB,EAAY,YAAY,EAAQ,iBAAiB,EAAY,YAE7D,EAAQ,qBAAqB,QAAQ,IACvD,EAAQ,oBAGV,EAAQ,WAAW,GAGf,IAAA,CAAY,MAAqB,EAAQ,aAAa,CAAC,EAAQ,MAE/D,IAAA,CAAwB,MACnC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,eACrC,EAAQ,iBAAiB,EAAY,yBAE1B,IAAA,CAAyB,MACpC,EAAQ,iBAAiB,EAAY,WACrC,EAAQ,iBAAiB,EAAY,YACrC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,eACrC,EAAQ,iBAAiB,EAAY,QACrC,EAAQ,iBAAiB,EAAY,UAE1B,IAAA,CAA4B,MACvC,EAAQ,iBAAiB,EAAY,QAAQ,EAAQ,iBAAiB,EAAY,UAEvE,IAAA,CACX,GACA,GACA,GACA,GACA,MAEO,EACJ,OAAA,CAAQ,MAAY,EAAE,EAAQ,6BAA6B,EAA8B,EACzF,OAAA,CAAQ,MAAY,EAAE,CAAC,EAAQ,6BAA6B,EAA0B,EACtF,KAAK,CAAa,EAClB,IAAA,CAAK,MAAY;AAChB,QAAM,IAAc,EAAa,KAAA,CAAM,MAAS,EAAK,SAAS,EAAQ,gBAAgB,GAChF,IAAS,EAAQ,KAAA,CAAM,MAAW,EAAO,SAAS,EAAQ,WAAW;AAE3E,SAAO,EAAqB,GAAS,GAAa,CAAM;AAC1D,CAAC,GAGC,IAAA,CAAwB,GAAkB,GAA2B,MAAoB;AAE7F,MAAI,IAAmB,EAAiB;AACxC,EAAI,MACE,EAAc,SAAS,EAAO,iBAAiB,IACjD,IAAmB,EAAiB,QAC3B,EAAmB,SAAS,EAAO,iBAAiB,IAC7D,IAAmB,EAAiB,aAC3B,EAAY,SAAS,EAAO,iBAAiB,MACtD,IAAmB,EAAiB;AAIxC,QAAM,IAAc,CAClB,EAAQ,aAAa,EAAQ,aAAa,IAC1C,EAAQ,iBAAiB,IAAI,EAAQ,cAAA,KAAmB,EAC1D,EACG,KAAK,GAAG,EACR,KAAK;AAER,SAAO;AAAA,IACL,GAAG;AAAA,IACH,kBAAA;AAAA,IACA,aAAA;AAAA,IACA,aAAA;AAAA,IACA,QAAA;AAAA,EACF;AACF,GAEM,IAAA,CAAiB,GAAY,MAE7B,EAAE,eAAe,EAAE,eAAqB,IACxC,EAAE,eAAe,EAAE,eAAqB,MAEvC,EAAE,QAAQ,OAAO,EAAE,QAAQ,MAAY,KACvC,EAAE,QAAQ,OAAO,EAAE,QAAQ,MAAY,KACrC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
function n(t, s, _, l = "asc") {
|
|
2
|
+
const a = l === "desc" ? -1 : 1;
|
|
3
|
+
return [...t, ...s].sort((i, e) => i[_] < e[_] ? -1 * a : i[_] > e[_] ? 1 * a : 0);
|
|
4
|
+
}
|
|
5
|
+
var c = (t) => ({
|
|
6
|
+
...t,
|
|
7
|
+
image_url: t.image_url,
|
|
8
|
+
guid: t.guid,
|
|
9
|
+
created_at: t.created_at,
|
|
10
|
+
dismissed_at: t.dismissed_at,
|
|
11
|
+
active_at: t.campaign_activated_at,
|
|
12
|
+
displayed_at: t.has_been_viewed,
|
|
13
|
+
post_message_secondary: t.pulse_post_message_secondary,
|
|
14
|
+
title: t.pulse_title || t.campaign_name,
|
|
15
|
+
html_title: t.pulse_title || t.campaign_name,
|
|
16
|
+
short_title: t.pulse_title || t.campaign_name,
|
|
17
|
+
html_short_title: t.pulse_title || t.campaign_name,
|
|
18
|
+
micro_title: t.pulse_title || t.campaign_name,
|
|
19
|
+
html_micro_title: t.pulse_title || t.campaign_name,
|
|
20
|
+
supporting_action: t.pulse_call_to_action_text_secondary,
|
|
21
|
+
description: t.pulse_body,
|
|
22
|
+
html_description: t.pulse_body,
|
|
23
|
+
micro_description: t.pulse_body,
|
|
24
|
+
html_micro_description: t.pulse_body,
|
|
25
|
+
call_to_action: t.pulse_call_to_action_text,
|
|
26
|
+
html_micro_call_to_action: t.pulse_call_to_action_text,
|
|
27
|
+
micro_call_to_action: t.pulse_call_to_action_text,
|
|
28
|
+
is_dismissed: t.has_been_dismissed,
|
|
29
|
+
icon_type: 5,
|
|
30
|
+
template: "MarketingOffer",
|
|
31
|
+
account_guids: [],
|
|
32
|
+
data_series: {},
|
|
33
|
+
has_been_displayed: !1,
|
|
34
|
+
is_obsolete: !1,
|
|
35
|
+
is_refreshable: !1,
|
|
36
|
+
is_sampled: !1,
|
|
37
|
+
merchant_guids: [],
|
|
38
|
+
payload: {},
|
|
39
|
+
pulse_campaign_name: t.campaign_name,
|
|
40
|
+
scheduled_payment_guids: [],
|
|
41
|
+
transaction_guids: [],
|
|
42
|
+
user_guid: "",
|
|
43
|
+
user_verification: 0
|
|
44
|
+
});
|
|
45
|
+
export {
|
|
46
|
+
n as orderArray,
|
|
47
|
+
c as transformOfferIntoBeatLikeObject
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/BeatUtils.ts"],"sourcesContent":["import { Offer } from '../types'\n\ntype SortOrder = 'asc' | 'desc'\n\nexport function orderArray<T>(arr1: T[], arr2: T[], prop: keyof T, order: SortOrder = 'asc'): T[] {\n const direction = order === 'desc' ? -1 : 1\n return [...arr1, ...arr2].sort((item1, item2) => {\n if (item1[prop] < item2[prop]) return -1 * direction\n if (item1[prop] > item2[prop]) return 1 * direction\n return 0\n })\n}\n\nexport const transformOfferIntoBeatLikeObject = (offer: Offer) => {\n return {\n ...offer, //fields that are offer specific, adding here for visibility\n image_url: offer.image_url,\n guid: offer.guid,\n created_at: offer.created_at,\n dismissed_at: offer.dismissed_at,\n active_at: offer.campaign_activated_at,\n displayed_at: offer.has_been_viewed,\n post_message_secondary: offer.pulse_post_message_secondary, //offer fields mapped to beat fields for functionality\n title: offer.pulse_title || offer.campaign_name,\n html_title: offer.pulse_title || offer.campaign_name,\n short_title: offer.pulse_title || offer.campaign_name,\n html_short_title: offer.pulse_title || offer.campaign_name,\n micro_title: offer.pulse_title || offer.campaign_name,\n html_micro_title: offer.pulse_title || offer.campaign_name,\n supporting_action: offer.pulse_call_to_action_text_secondary,\n description: offer.pulse_body,\n html_description: offer.pulse_body,\n micro_description: offer.pulse_body,\n html_micro_description: offer.pulse_body,\n call_to_action: offer.pulse_call_to_action_text,\n html_micro_call_to_action: offer.pulse_call_to_action_text,\n micro_call_to_action: offer.pulse_call_to_action_text,\n is_dismissed: offer.has_been_dismissed,\n icon_type: 5,\n template: 'MarketingOffer',\n //beat fields we null out\n account_guids: [],\n data_series: {},\n has_been_displayed: false,\n is_obsolete: false,\n is_refreshable: false,\n is_sampled: false,\n merchant_guids: [],\n payload: {},\n pulse_campaign_name: offer.campaign_name,\n scheduled_payment_guids: [],\n transaction_guids: [],\n user_guid: '',\n user_verification: 0,\n }\n}\n"],"mappings":"AAIA,SAAgB,EAAc,GAAW,GAAW,GAAe,IAAmB,OAAY;AAChG,QAAM,IAAY,MAAU,SAAS,KAAK;AAC1C,SAAO,CAAC,GAAG,GAAM,GAAG,CAAI,EAAE,KAAA,CAAM,GAAO,MACjC,EAAM,CAAA,IAAQ,EAAM,CAAA,IAAc,KAAK,IACvC,EAAM,CAAA,IAAQ,EAAM,CAAA,IAAc,IAAI,IACnC,CACR;AACH;AAEA,IAAa,IAAA,CAAoC,OACxC;AAAA,EACL,GAAG;AAAA,EACH,WAAW,EAAM;AAAA,EACjB,MAAM,EAAM;AAAA,EACZ,YAAY,EAAM;AAAA,EAClB,cAAc,EAAM;AAAA,EACpB,WAAW,EAAM;AAAA,EACjB,cAAc,EAAM;AAAA,EACpB,wBAAwB,EAAM;AAAA,EAC9B,OAAO,EAAM,eAAe,EAAM;AAAA,EAClC,YAAY,EAAM,eAAe,EAAM;AAAA,EACvC,aAAa,EAAM,eAAe,EAAM;AAAA,EACxC,kBAAkB,EAAM,eAAe,EAAM;AAAA,EAC7C,aAAa,EAAM,eAAe,EAAM;AAAA,EACxC,kBAAkB,EAAM,eAAe,EAAM;AAAA,EAC7C,mBAAmB,EAAM;AAAA,EACzB,aAAa,EAAM;AAAA,EACnB,kBAAkB,EAAM;AAAA,EACxB,mBAAmB,EAAM;AAAA,EACzB,wBAAwB,EAAM;AAAA,EAC9B,gBAAgB,EAAM;AAAA,EACtB,2BAA2B,EAAM;AAAA,EACjC,sBAAsB,EAAM;AAAA,EAC5B,cAAc,EAAM;AAAA,EACpB,WAAW;AAAA,EACX,UAAU;AAAA,EAEV,eAAe,CAAC;AAAA,EAChB,aAAa,CAAC;AAAA,EACd,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,gBAAgB,CAAC;AAAA,EACjB,SAAS,CAAC;AAAA,EACV,qBAAqB,EAAM;AAAA,EAC3B,yBAAyB,CAAC;AAAA,EAC1B,mBAAmB,CAAC;AAAA,EACpB,WAAW;AAAA,EACX,mBAAmB;AACrB"}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { buildDynamicCopy as d } from "../Localization/index.es.js";
|
|
2
|
+
import { findDetailedCategory as _, findDetailedSubCategory as y } from "../CategoryUtil/index.es.js";
|
|
3
|
+
import { formatCurrency as f } from "../NumberFormatting/index.es.js";
|
|
4
|
+
var l = (r, t) => !r && !t ? 0 : !r && t ? 101 : t / r * 100, p = (r, t) => {
|
|
5
|
+
const e = {
|
|
6
|
+
background: t.palette.success.main,
|
|
7
|
+
description: r <= 100 ? t.palette.text.secondary : t.palette.error.main,
|
|
8
|
+
text: t.palette.common.white,
|
|
9
|
+
mercury: t.palette.success.lighter
|
|
10
|
+
};
|
|
11
|
+
return r > 100 ? (e.background = t.palette.error.main, e.mercury = t.palette.error.lighter) : r > 80 && (e.background = t.palette.warning.main, e.text = t.palette.grey[900], e.mercury = t.palette.warning.lighter), e;
|
|
12
|
+
}, x = (r) => r.map((t) => {
|
|
13
|
+
const e = t.transaction_total;
|
|
14
|
+
return t.amount - e;
|
|
15
|
+
}).reduce((t, e) => t + e, 0), w = (r, t, e, n) => {
|
|
16
|
+
const a = [];
|
|
17
|
+
for (const o of r) {
|
|
18
|
+
const i = _(t, o.category_guid);
|
|
19
|
+
if (!i) continue;
|
|
20
|
+
const u = i.totalAmount, s = l(o.amount, u), c = o.amount - u;
|
|
21
|
+
a.push({
|
|
22
|
+
...o,
|
|
23
|
+
budgetColors: p(s, n),
|
|
24
|
+
category: i,
|
|
25
|
+
description: d(c < 0 ? e.budget_remaining_over : e.budget_remaining_left, f(Math.abs(c), "0,0")),
|
|
26
|
+
percentage: s,
|
|
27
|
+
subBudgets: [],
|
|
28
|
+
transaction_total: u
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
for (const o of r) {
|
|
32
|
+
const i = y(t, o.category_guid);
|
|
33
|
+
if (!i) continue;
|
|
34
|
+
const u = i.currentAmount, s = a.find((b) => b.category_guid === i.parent_guid);
|
|
35
|
+
if (!s) continue;
|
|
36
|
+
const c = o.amount - u, g = l(o.amount, u);
|
|
37
|
+
s && s.subBudgets.push({
|
|
38
|
+
...o,
|
|
39
|
+
budgetColors: p(g, n),
|
|
40
|
+
category: i,
|
|
41
|
+
description: d(c < 0 ? e.budget_remaining_over : e.budget_remaining_left, f(Math.abs(c), "0,0")),
|
|
42
|
+
percentage: g,
|
|
43
|
+
subBudgets: [],
|
|
44
|
+
transaction_total: u
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
return a;
|
|
48
|
+
}, m = (r, t) => r.find((e) => e.guid === t), D = (r, t, e) => {
|
|
49
|
+
const n = m(r, e);
|
|
50
|
+
if (n)
|
|
51
|
+
return m(n.subBudgets, t);
|
|
52
|
+
}, M = (r, t) => {
|
|
53
|
+
const e = Math.max(0, t - r), n = t > 0 ? Math.min(100, r / t * 100) : 0;
|
|
54
|
+
let a = "success";
|
|
55
|
+
return n >= 100 ? a = "error" : n >= 50 && (a = "warning"), {
|
|
56
|
+
remainingAmount: e,
|
|
57
|
+
spentPercentage: n,
|
|
58
|
+
iconColor: a
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export {
|
|
62
|
+
w as augmentBudgets,
|
|
63
|
+
m as findBudget,
|
|
64
|
+
D as findSubBudget,
|
|
65
|
+
p as getBudgetColors,
|
|
66
|
+
x as getBudgetDifference,
|
|
67
|
+
l as getBudgetPercentage,
|
|
68
|
+
M as getRemainingAmountSpentPercentage
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/BudgetUtil.ts"],"sourcesContent":["import type { Theme } from '@mui/system'\n\nimport type { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '../types'\n\nimport { findDetailedCategory, findDetailedSubCategory } from './CategoryUtil'\nimport { formatCurrency } from './NumberFormatting'\nimport { buildDynamicCopy } from './Localization'\n\nexport const getBudgetPercentage = (budgetAmount: number, totalAmount: number) => {\n // No budget amount and nothing spent results in zero percent and green bubble\n if (!budgetAmount && !totalAmount) {\n return 0\n }\n\n // No budget amount and money spent results in 101 percent and red bubble\n if (!budgetAmount && totalAmount) {\n return 101\n }\n\n // Budget amount and money spent results in calculating percentage for color\n return (totalAmount / budgetAmount) * 100\n}\n\nexport const getBudgetColors = (percentage: number, theme: Theme) => {\n const budgetColors: BudgetColors = {\n background: theme.palette.success.main,\n description: percentage <= 100 ? theme.palette.text.secondary : theme.palette.error.main,\n text: theme.palette.common.white,\n mercury: theme.palette.success.lighter,\n }\n\n if (percentage > 100) {\n budgetColors.background = theme.palette.error.main\n budgetColors.mercury = theme.palette.error.lighter\n } else if (percentage > 80) {\n budgetColors.background = theme.palette.warning.main\n budgetColors.text = theme.palette.grey['900']\n budgetColors.mercury = theme.palette.warning.lighter\n }\n\n return budgetColors\n}\n\nexport const getBudgetDifference = (budgets: DetailedBudget[]) => {\n const differences = budgets.map((budget) => {\n const currentAmount = budget.transaction_total\n const totalAmount = budget.amount\n return totalAmount - currentAmount\n })\n\n return differences.reduce((total, difference) => total + difference, 0)\n}\n\nexport const augmentBudgets = (\n budgets: Budget[],\n categories: DetailedCategory[],\n copy: BudgetsCopy,\n theme: Theme,\n): DetailedBudget[] => {\n const detailedBudgets = [] as DetailedBudget[]\n\n // Top-level Categories\n for (const budget of budgets) {\n const category = findDetailedCategory(categories, budget.category_guid)\n if (!category) continue\n\n const spent = category.totalAmount\n\n const percentage = getBudgetPercentage(budget.amount, spent)\n const difference = budget.amount - spent\n\n detailedBudgets.push({\n ...budget,\n budgetColors: getBudgetColors(percentage, theme),\n category,\n description: buildDynamicCopy(\n difference < 0 ? copy.budget_remaining_over : copy.budget_remaining_left,\n formatCurrency(Math.abs(difference), '0,0'),\n ) as string,\n percentage,\n subBudgets: [],\n transaction_total: spent,\n })\n }\n\n // Sub categories\n for (const budget of budgets) {\n const category = findDetailedSubCategory(categories, budget.category_guid)\n if (!category) continue\n\n const spent = category.currentAmount\n\n const parentBudget = detailedBudgets.find((b) => b.category_guid === category.parent_guid)\n if (!parentBudget) continue\n\n const difference = budget.amount - spent\n const percentage = getBudgetPercentage(budget.amount, spent)\n\n if (parentBudget) {\n parentBudget.subBudgets.push({\n ...budget,\n budgetColors: getBudgetColors(percentage, theme),\n category,\n description: buildDynamicCopy(\n difference < 0 ? copy.budget_remaining_over : copy.budget_remaining_left,\n formatCurrency(Math.abs(difference), '0,0'),\n ) as string,\n percentage,\n subBudgets: [],\n transaction_total: spent,\n })\n }\n }\n\n return detailedBudgets\n}\n\nexport const findBudget = (budgets: DetailedBudget[], guid: string): DetailedBudget | undefined => {\n return budgets.find((budget) => budget.guid === guid)\n}\n\nexport const findSubBudget = (\n budgets: DetailedBudget[],\n guid: string,\n parentGuid: string,\n): DetailedBudget | undefined => {\n const parent = findBudget(budgets, parentGuid)\n if (!parent) return undefined\n\n return findBudget(parent.subBudgets, guid)\n}\n\nexport const getRemainingAmountSpentPercentage = (totalTransaction: number, amount: number) => {\n const remainingAmount = Math.max(0, amount - totalTransaction)\n const spentPercentage = amount > 0 ? Math.min(100, (totalTransaction / amount) * 100) : 0\n\n let iconColor = 'success'\n if (spentPercentage >= 100) iconColor = 'error'\n else if (spentPercentage >= 50) iconColor = 'warning'\n\n return {\n remainingAmount,\n spentPercentage,\n iconColor,\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { CategoryColors as M, CategoryGuids as h, CategoryIcon as T } from "../../constants/Category/index.es.js";
|
|
2
|
+
import { DATE_FORMATS_INTL as b, formatDate as D } from "../../constants/DateFormats/index.es.js";
|
|
3
|
+
import { CategoryIconList as N } from "@mxenabled/mxui";
|
|
4
|
+
import { format as c } from "date-fns/format";
|
|
5
|
+
import { startOfMonth as O } from "date-fns/startOfMonth";
|
|
6
|
+
import { startOfToday as E } from "date-fns/startOfToday";
|
|
7
|
+
import { subMonths as I } from "date-fns/subMonths";
|
|
8
|
+
var R = 3, f = 12, k = (t, e, r, o) => t.filter((a) => !a.parent_guid).map((a) => p(a, e, r, o, t.filter((n) => n.parent_guid === a.guid))), z = (t, e) => {
|
|
9
|
+
const r = N.find((o) => o.guid === t);
|
|
10
|
+
return r ? e.palette.categories[r.colorName] || "" : e.palette.categories.uncategorized || "";
|
|
11
|
+
}, p = (t, e, r, o, a = []) => {
|
|
12
|
+
const n = t.guid, u = t.parent_guid || n, s = n === u, g = r.find((i) => i.category_guid === n)?.total || 0, d = y(o.filter((i) => i.category_guid === n)), m = y(o.filter((i) => i.category_guid === n || i.top_level_category_guid === n)), l = a.map((i) => p(i, e, r, o)), A = l.reduce((i, C) => i + C.currentAmount, g), v = e.default_categories[t.guid] ? e.default_categories[t.guid].replace(/&/g, "&") : t.name;
|
|
13
|
+
return {
|
|
14
|
+
...t,
|
|
15
|
+
currentAmount: g,
|
|
16
|
+
averageAmount: _(d),
|
|
17
|
+
color: M[u],
|
|
18
|
+
icon: T[u],
|
|
19
|
+
isTransfer: u === h.TRANSFER,
|
|
20
|
+
monthlyAmounts: d,
|
|
21
|
+
name: v,
|
|
22
|
+
subCategories: l,
|
|
23
|
+
totalAmount: s ? A : 0,
|
|
24
|
+
totalAverageAmount: _(m),
|
|
25
|
+
totalMonthlyAmounts: s ? m : []
|
|
26
|
+
};
|
|
27
|
+
}, B = (t, e) => t.map((r) => {
|
|
28
|
+
const o = e.filter((a) => a.category_guid === r.guid || a.top_level_category_guid === r.guid);
|
|
29
|
+
return {
|
|
30
|
+
...r,
|
|
31
|
+
transactions: o
|
|
32
|
+
};
|
|
33
|
+
}), _ = (t, e = R) => {
|
|
34
|
+
const r = e > history.length ? history.length : e;
|
|
35
|
+
return Math.ceil(Math.max(0, t.slice(-r).reduce((o, a) => o + a.amount, 0) / r));
|
|
36
|
+
}, y = (t) => {
|
|
37
|
+
const e = [], r = E();
|
|
38
|
+
for (let o = 0; o <= f; o++) {
|
|
39
|
+
const a = O(I(r, f - o)), n = t.filter((u) => u.year_month === Number(c(a, "yyyyMM"))).reduce((u, s) => u + s.total, 0);
|
|
40
|
+
e.push({
|
|
41
|
+
amount: n,
|
|
42
|
+
isoDate: c(a, "yyyy-MM-dd"),
|
|
43
|
+
label: D(a, b.MONTH_YEAR)
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
return e;
|
|
47
|
+
}, P = (t, e) => t.find((r) => r.guid === e), V = (t, e) => {
|
|
48
|
+
const r = t.find((o) => o.subCategories.find((a) => a.guid === e));
|
|
49
|
+
if (r)
|
|
50
|
+
return r.subCategories.find((o) => o.guid === e);
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
k as augmentCategories,
|
|
54
|
+
P as findDetailedCategory,
|
|
55
|
+
V as findDetailedSubCategory,
|
|
56
|
+
z as getCategoryColor,
|
|
57
|
+
B as getDetailedCategoryTransactions
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/CategoryUtil.ts"],"sourcesContent":["import { format } from 'date-fns/format'\nimport { startOfMonth } from 'date-fns/startOfMonth'\nimport { startOfToday } from 'date-fns/startOfToday'\nimport { subMonths } from 'date-fns/subMonths'\n\nimport type { Palette, Theme } from '@mui/material'\n\nimport { CategoryIconList } from '@mxenabled/mxui'\n\nimport {\n CategoryColors,\n CategoryGuids,\n CategoryIcon,\n DATE_FORMATS_INTL,\n formatDate,\n} from '../constants'\n\nimport type {\n Category,\n DateRangeCategoryTotals,\n DetailedCategory,\n DetailedCategoryWithTransactions,\n MonthlyAmount,\n MonthlyCategoryTotals,\n Transaction,\n CategoryCopy,\n CategoryTotal,\n} from '../types'\n\nconst MONTHLY_AVERAGE_LENGTH = 3\nconst MONTHS_OF_HISTORY = 12\n\n/**\n * Augment categories\n * @param categories - Categories to augment\n * @param monthlyCategoryTotals - Monthly category totals\n * @param currentCategoryTotals - Current month category totals\n * @param copy - Category copy\n */\nexport const augmentCategories = (\n categories: Category[],\n copy: CategoryCopy,\n currentCategoryTotals: DateRangeCategoryTotals[],\n monthlyCategoryTotals: MonthlyCategoryTotals[],\n): DetailedCategory[] => {\n return categories\n .filter((category) => !category.parent_guid)\n .map((category) =>\n getDetailedCategory(\n category,\n copy,\n currentCategoryTotals,\n monthlyCategoryTotals,\n categories.filter((c) => c.parent_guid === category.guid),\n ),\n )\n}\n\nexport const getCategoryColor = (guid: string, theme: Theme) => {\n const categoryInfo = CategoryIconList.find((c) => c.guid === guid)\n if (!categoryInfo) return theme.palette.categories.uncategorized || ''\n\n return theme.palette.categories[categoryInfo.colorName as keyof Palette['categories']] || ''\n}\n\nexport const getCategoryIcon = (guid: string) => {\n return CategoryIconList.find((c) => c.guid === guid)?.icon\n}\n\n/**\n * Get an augmented category with additional details\n * @param category - The category to augment\n * @param copy - Category copy\n * @param currentCategoryTotals - Current month category totals\n * @param monthlyCategoryTotals - Past monthly category totals\n * @param subCategories - Subcategories for the specified category (If applicable)\n */\nconst getDetailedCategory = (\n category: Category,\n copy: CategoryCopy,\n currentCategoryTotals: DateRangeCategoryTotals[],\n monthlyCategoryTotals: MonthlyCategoryTotals[],\n subCategories: Category[] = [],\n): DetailedCategory => {\n const guid = category.guid\n const parentGuid = category.parent_guid || guid\n const isParent = guid === parentGuid\n\n const currentAmount = currentCategoryTotals.find((t) => t.category_guid === guid)?.total || 0\n const monthlyAmounts = getMonthlyAmounts(\n monthlyCategoryTotals.filter((total) => total.category_guid === guid),\n )\n const totalMonthlyAmounts = getMonthlyAmounts(\n monthlyCategoryTotals.filter(\n (total) => total.category_guid === guid || total.top_level_category_guid === guid,\n ),\n )\n const detailedSubCategories = subCategories.map((subCategory) =>\n getDetailedCategory(subCategory, copy, currentCategoryTotals, monthlyCategoryTotals),\n )\n const totalAmount = detailedSubCategories.reduce(\n (total, current) => total + current.currentAmount,\n currentAmount,\n )\n\n const name = copy.default_categories[category.guid]\n ? copy.default_categories[category.guid].replace(/&/g, '&')\n : category.name\n\n return {\n ...category,\n currentAmount,\n averageAmount: getAverage(monthlyAmounts),\n color: CategoryColors[parentGuid],\n icon: CategoryIcon[parentGuid],\n isTransfer: parentGuid === CategoryGuids.TRANSFER,\n monthlyAmounts,\n name,\n subCategories: detailedSubCategories,\n totalAmount: isParent ? totalAmount : 0,\n totalAverageAmount: getAverage(totalMonthlyAmounts),\n totalMonthlyAmounts: isParent ? totalMonthlyAmounts : [],\n }\n}\n/**\n * get the transactions belonging to parent categories\n * @param detailedCategories - detailed categories from the category store\n * @param transactions - sortedTransactions from the transaction store\n */\nexport const getDetailedCategoryTransactions = (\n detailedCategories: DetailedCategory[],\n transactions: Transaction[],\n): DetailedCategoryWithTransactions[] => {\n return detailedCategories.map((category) => {\n const categoryTransactions = transactions.filter(\n (transaction) =>\n transaction.category_guid === category.guid ||\n transaction.top_level_category_guid === category.guid,\n )\n\n return {\n ...category,\n transactions: categoryTransactions,\n }\n })\n}\n\n/**\n * Get the average amount based on the number of months (numMonths) requested\n * @param monthlyAmounts - Monthly amounts to calculate and average from\n * @param numMonths - Number of months to base the average on (DEFAULT: 3)\n */\nconst getAverage = (\n monthlyAmounts: MonthlyAmount[],\n numMonths: number = MONTHLY_AVERAGE_LENGTH,\n): number => {\n const monthsBack = numMonths > history.length ? history.length : numMonths\n\n return Math.ceil(\n Math.max(\n 0,\n monthlyAmounts.slice(-monthsBack).reduce((total, current) => total + current.amount, 0) /\n monthsBack,\n ),\n )\n}\n\n/**\n * Get the last 12 months of amounts for a category\n * @param categoryTotals - Monthly category totals\n */\nconst getMonthlyAmounts = (categoryTotals: MonthlyCategoryTotals[]): MonthlyAmount[] => {\n const monthlyAmounts: MonthlyAmount[] = []\n const today = startOfToday()\n for (let i = 0; i <= MONTHS_OF_HISTORY; i++) {\n const historyDate = startOfMonth(subMonths(today, MONTHS_OF_HISTORY - i))\n const monthlyTotals = categoryTotals.filter(\n (total) => total.year_month === Number(format(historyDate, 'yyyyMM')),\n )\n const totalAmount = monthlyTotals.reduce((acc, curr) => acc + curr.total, 0)\n\n monthlyAmounts.push({\n amount: totalAmount,\n isoDate: format(historyDate, 'yyyy-MM-dd'),\n label: formatDate(historyDate, DATE_FORMATS_INTL.MONTH_YEAR),\n })\n }\n\n return monthlyAmounts\n}\n\nexport const findCategory = (\n categories: Category[],\n categoryGuid: string | undefined,\n): Category | undefined => {\n return categories.find((c) => c.guid === categoryGuid)\n}\n\nexport const findDetailedCategory = (\n detailedCategories: DetailedCategory[],\n guid: string | undefined,\n): DetailedCategory | undefined => {\n return detailedCategories.find((dc) => dc.guid === guid)\n}\n\nexport const findDetailedSubCategory = (\n detailedCategories: DetailedCategory[],\n guid: string | undefined,\n): DetailedCategory | undefined => {\n const parent = detailedCategories.find((dc) => dc.subCategories.find((sc) => sc.guid === guid))\n if (!parent) return undefined\n\n return parent.subCategories.find((sc) => sc.guid === guid)\n}\n\nexport const findCategoryTotalsByParent = (\n categories: Category[],\n dateRangeTotals: DateRangeCategoryTotals[],\n): CategoryTotal[] => {\n const categoryTotals = [] as CategoryTotal[]\n\n // Iterate over the category data from BE and roll up all categories into parent categories\n // acc is the accumulated category totals of type CategoryTotal that is initialized as an empty []\n // curr is the current DateRangeCategoryTotal\n\n for (const dateRangeTotal of dateRangeTotals) {\n const category = findCategory(categories, dateRangeTotal.category_guid)\n if (!category) continue\n\n const parentGuid = category.parent_guid ?? category.guid\n const parentCategory = findCategory(categories, parentGuid)\n if (!parentCategory) continue\n\n const categoryTotal = {\n amount: dateRangeTotal.total,\n category,\n guid: category.guid,\n subCategoryTotals: [],\n }\n\n const parentCategoryTotal = categoryTotals.find((ct) => ct.guid === parentGuid)\n if (parentCategoryTotal) {\n parentCategoryTotal.amount += dateRangeTotal.total\n parentCategoryTotal.subCategoryTotals.push(categoryTotal)\n } else {\n categoryTotals.push({\n amount: dateRangeTotal.total,\n category: parentCategory,\n guid: parentGuid,\n subCategoryTotals: [categoryTotal],\n })\n }\n }\n\n return categoryTotals\n}\n\nexport const isIncome = (categories: Category[], guid: string) => {\n const category = categories.find((c) => c.guid === guid)\n if (!category) return false\n\n return category.guid === CategoryGuids.INCOME || category.parent_guid === CategoryGuids.INCOME\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { DATE_FORMATS_INTL as T, formatDate as s } from "../../constants/DateFormats/index.es.js";
|
|
2
|
+
import { addMonths as i } from "date-fns/addMonths";
|
|
3
|
+
import { endOfMonth as h } from "date-fns/endOfMonth";
|
|
4
|
+
import { isBefore as n } from "date-fns/isBefore";
|
|
5
|
+
import { startOfToday as r } from "date-fns/startOfToday";
|
|
6
|
+
import { addYears as u } from "date-fns/addYears";
|
|
7
|
+
import { fromUnixTime as y } from "date-fns/fromUnixTime";
|
|
8
|
+
import { addQuarters as x } from "date-fns/addQuarters";
|
|
9
|
+
import { addWeeks as d } from "date-fns/addWeeks";
|
|
10
|
+
import { nextDay as p } from "date-fns/nextDay";
|
|
11
|
+
import { setDate as g } from "date-fns/setDate";
|
|
12
|
+
import { getDay as v } from "date-fns/getDay";
|
|
13
|
+
var B = (e) => {
|
|
14
|
+
let t = p(e, v(e));
|
|
15
|
+
for (; n(t, r()); ) t = d(t, 1);
|
|
16
|
+
return t;
|
|
17
|
+
}, H = (e) => {
|
|
18
|
+
let t = e;
|
|
19
|
+
for (; n(t, r()); ) t = d(t, 2);
|
|
20
|
+
return t;
|
|
21
|
+
}, M = (e, t) => {
|
|
22
|
+
const a = r(), [o, m] = [e, t].sort((f, l) => f - l), D = (f, l) => l >= 28 ? h(f) : g(f, l);
|
|
23
|
+
return [
|
|
24
|
+
D(a, o),
|
|
25
|
+
D(a, m),
|
|
26
|
+
D(i(a, 1), o),
|
|
27
|
+
D(i(a, 1), m),
|
|
28
|
+
D(i(a, 2), o),
|
|
29
|
+
D(i(a, 2), m)
|
|
30
|
+
];
|
|
31
|
+
}, Q = (e, t) => {
|
|
32
|
+
const a = r(), o = M(e, t);
|
|
33
|
+
return o.find((m) => !n(m, a)) ?? o[o.length - 1];
|
|
34
|
+
}, K = (e) => {
|
|
35
|
+
let t = g(r(), e.getDate());
|
|
36
|
+
for (; n(t, r()); ) t = i(t, 1);
|
|
37
|
+
return t;
|
|
38
|
+
}, R = (e) => {
|
|
39
|
+
let t = e;
|
|
40
|
+
for (; n(t, r()); ) t = i(t, 2);
|
|
41
|
+
return t;
|
|
42
|
+
}, I = (e) => {
|
|
43
|
+
let t = x(e, 1);
|
|
44
|
+
for (; n(t, r()); ) t = x(t, 1);
|
|
45
|
+
return t;
|
|
46
|
+
}, L = (e) => {
|
|
47
|
+
let t = e;
|
|
48
|
+
for (; n(t, r()); ) t = x(t, 2);
|
|
49
|
+
return t;
|
|
50
|
+
}, S = (e) => u(e, 1), N = (e) => {
|
|
51
|
+
const t = y(e);
|
|
52
|
+
return new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate());
|
|
53
|
+
}, b = (e) => s(y(e), T.DAY_OF_WEEK_MONTH_DAY), j = (e) => s(N(e), T.DAY_OF_WEEK_MONTH_DAY), q = (e) => e ? s(y(e), T.MONTH_YEAR) : "";
|
|
54
|
+
export {
|
|
55
|
+
q as fromTimestampToMonthYear,
|
|
56
|
+
b as fromUnixToDayOfWeekAndDate,
|
|
57
|
+
N as fromUnixUTC,
|
|
58
|
+
j as fromUnixUTCToDayOfWeekAndDate,
|
|
59
|
+
R as getNextBiMonthlyDate,
|
|
60
|
+
L as getNextBiQuarterlyDate,
|
|
61
|
+
H as getNextBiWeeklyDate,
|
|
62
|
+
K as getNextMonthlyDate,
|
|
63
|
+
I as getNextQuarterlyDate,
|
|
64
|
+
Q as getNextTwiceMonthlyDate,
|
|
65
|
+
B as getNextWeeklyDate,
|
|
66
|
+
S as getNextYearlyDate,
|
|
67
|
+
M as getTwiceMonthlyDates
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/DateUtil.ts"],"sourcesContent":["import { addMonths } from 'date-fns/addMonths'\nimport { addQuarters } from 'date-fns/addQuarters'\nimport { addWeeks } from 'date-fns/addWeeks'\nimport { addYears } from 'date-fns/addYears'\nimport { endOfMonth } from 'date-fns/endOfMonth'\nimport { getDay } from 'date-fns/getDay'\nimport { isBefore } from 'date-fns/isBefore'\nimport { nextDay } from 'date-fns/nextDay'\nimport { setDate } from 'date-fns/setDate'\nimport { startOfToday } from 'date-fns/startOfToday'\nimport { fromUnixTime } from 'date-fns/fromUnixTime'\nimport { type Day } from 'date-fns'\n\nimport { DATE_FORMATS_INTL, formatDate } from '../constants'\n\nexport const getNextWeeklyDate = (date: Date): Date => {\n const dayOfWeek = getDay(date)\n let nextDate = nextDay(date, dayOfWeek as Day)\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addWeeks(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiWeeklyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addWeeks(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getTwiceMonthlyDates = (day1: number, day2: number): Date[] => {\n const today = startOfToday()\n const [firstDay, secondDay] = [day1, day2].sort((a, b) => a - b)\n const makeDateForDay = (month: Date, day: number) =>\n day >= 28 ? endOfMonth(month) : setDate(month, day)\n\n return [\n makeDateForDay(today, firstDay),\n makeDateForDay(today, secondDay),\n makeDateForDay(addMonths(today, 1), firstDay),\n makeDateForDay(addMonths(today, 1), secondDay),\n makeDateForDay(addMonths(today, 2), firstDay),\n makeDateForDay(addMonths(today, 2), secondDay),\n ]\n}\n\nexport const getNextTwiceMonthlyDate = (day1: number, day2: number): Date => {\n const today = startOfToday()\n const candidates = getTwiceMonthlyDates(day1, day2)\n return candidates.find((c) => !isBefore(c, today)) ?? candidates[candidates.length - 1]\n}\n\nexport const getNextMonthlyDate = (date: Date): Date => {\n let nextDate = setDate(startOfToday(), date.getDate())\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addMonths(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiMonthlyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addMonths(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getNextQuarterlyDate = (date: Date): Date => {\n let nextDate = addQuarters(date, 1)\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addQuarters(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiQuarterlyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addQuarters(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getNextYearlyDate = (date: Date): Date => {\n return addYears(date, 1)\n}\n\nexport const fromUnixUTC = (utcTime: number) => {\n const date = fromUnixTime(utcTime)\n return new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())\n}\n\nexport const fromUnixToDayOfWeekAndDate = (date: number) =>\n formatDate(fromUnixTime(date), DATE_FORMATS_INTL.DAY_OF_WEEK_MONTH_DAY)\n\n// UTC variant for post dates, which are absolute calendar dates that must not\n// shift across the day boundary when localized.\nexport const fromUnixUTCToDayOfWeekAndDate = (date: number) =>\n formatDate(fromUnixUTC(date), DATE_FORMATS_INTL.DAY_OF_WEEK_MONTH_DAY)\n\nexport const fromTimestampToMonthYear = (timestamp?: number) =>\n timestamp ? formatDate(fromUnixTime(timestamp), DATE_FORMATS_INTL.MONTH_YEAR) : ''\n"],"mappings":";;;;;;;;;;;;AAeA,IAAa,IAAA,CAAqB,MAAqB;AAErD,MAAI,IAAW,EAAQ,GADL,EAAO,CACI,CAAgB;AAC7C,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAS,GAAU,CAAC;AAEjC,SAAO;AACT,GAEa,IAAA,CAAuB,MAAqB;AACvD,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAS,GAAU,CAAC;AAEjC,SAAO;AACT,GAEa,IAAA,CAAwB,GAAc,MAAyB;AAC1E,QAAM,IAAQ,EAAa,GACrB,CAAC,GAAU,CAAA,IAAa,CAAC,GAAM,CAAI,EAAE,KAAA,CAAM,GAAG,MAAM,IAAI,CAAC,GACzD,IAAA,CAAkB,GAAa,MACnC,KAAO,KAAK,EAAW,CAAK,IAAI,EAAQ,GAAO,CAAG;AAEpD,SAAO;AAAA,IACL,EAAe,GAAO,CAAQ;AAAA,IAC9B,EAAe,GAAO,CAAS;AAAA,IAC/B,EAAe,EAAU,GAAO,CAAC,GAAG,CAAQ;AAAA,IAC5C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAS;AAAA,IAC7C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAQ;AAAA,IAC5C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAS;AAAA,EAC/C;AACF,GAEa,IAAA,CAA2B,GAAc,MAAuB;AAC3E,QAAM,IAAQ,EAAa,GACrB,IAAa,EAAqB,GAAM,CAAI;AAClD,SAAO,EAAW,KAAA,CAAM,MAAM,CAAC,EAAS,GAAG,CAAK,CAAC,KAAK,EAAW,EAAW,SAAS,CAAA;AACvF,GAEa,IAAA,CAAsB,MAAqB;AACtD,MAAI,IAAW,EAAQ,EAAa,GAAG,EAAK,QAAQ,CAAC;AACrD,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAU,GAAU,CAAC;AAElC,SAAO;AACT,GAEa,IAAA,CAAwB,MAAqB;AACxD,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAU,GAAU,CAAC;AAElC,SAAO;AACT,GAEa,IAAA,CAAwB,MAAqB;AACxD,MAAI,IAAW,EAAY,GAAM,CAAC;AAClC,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAY,GAAU,CAAC;AAEpC,SAAO;AACT,GAEa,IAAA,CAA0B,MAAqB;AAC1D,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAY,GAAU,CAAC;AAEpC,SAAO;AACT,GAEa,IAAA,CAAqB,MACzB,EAAS,GAAM,CAAC,GAGZ,IAAA,CAAe,MAAoB;AAC9C,QAAM,IAAO,EAAa,CAAO;AACjC,SAAO,IAAI,KAAK,EAAK,eAAe,GAAG,EAAK,YAAY,GAAG,EAAK,WAAW,CAAC;AAC9E,GAEa,IAAA,CAA8B,MACzC,EAAW,EAAa,CAAI,GAAG,EAAkB,qBAAqB,GAI3D,IAAA,CAAiC,MAC5C,EAAW,EAAY,CAAI,GAAG,EAAkB,qBAAqB,GAE1D,IAAA,CAA4B,MACvC,IAAY,EAAW,EAAa,CAAS,GAAG,EAAkB,UAAU,IAAI"}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { AccountType as C } from "../../types/Account/index.es.js";
|
|
2
|
+
import { DebtPriority as b } from "../../constants/Debts/index.es.js";
|
|
3
|
+
import { addMonths as E } from "date-fns/addMonths";
|
|
4
|
+
import { startOfMonth as x } from "date-fns/startOfMonth";
|
|
5
|
+
import { getUnixTime as w } from "date-fns/getUnixTime";
|
|
6
|
+
import { getDate as T } from "date-fns/getDate";
|
|
7
|
+
import { fromUnixTime as d } from "date-fns/fromUnixTime";
|
|
8
|
+
var F = { unnamed_label: "Unnamed Debt" }, G = (a, n, t = 0) => {
|
|
9
|
+
const r = a.map((s) => ({ ...s }));
|
|
10
|
+
S(r, n);
|
|
11
|
+
const i = /* @__PURE__ */ new Date(), e = [];
|
|
12
|
+
let o = 0, m = 1;
|
|
13
|
+
for (const s of r) e.push({
|
|
14
|
+
...s,
|
|
15
|
+
dataset: [{
|
|
16
|
+
x: new Date(i),
|
|
17
|
+
y: s.balance
|
|
18
|
+
}]
|
|
19
|
+
});
|
|
20
|
+
for (; r.some((s) => s.balance >= 0.01 && !s.is_impossible); ) {
|
|
21
|
+
let s = !1, p = !1, c = !1;
|
|
22
|
+
for (const [_, l] of r.entries()) {
|
|
23
|
+
if (l.balance <= 0.01) continue;
|
|
24
|
+
const y = e[_].dataset, u = (l.interest_rate ?? 0) / 100 / 12, D = l.balance * u, v = l.monthly_payment ?? 0;
|
|
25
|
+
let M = v, h = 0;
|
|
26
|
+
!c && t > 0 && (M += t, c = !0), !p && o > 0 && (h = o, p = !0), l.balance += D;
|
|
27
|
+
const f = Math.min(l.balance, M + h);
|
|
28
|
+
if (f <= D) {
|
|
29
|
+
l.is_impossible = !0, e[_].is_impossible = !0, e[_].priority = void 0, y.push({
|
|
30
|
+
x: new Date(i),
|
|
31
|
+
y: l.balance
|
|
32
|
+
});
|
|
33
|
+
continue;
|
|
34
|
+
}
|
|
35
|
+
l.balance -= f, l.balance = l.balance < 0.01 ? 0 : l.balance, y.push({
|
|
36
|
+
x: new Date(i),
|
|
37
|
+
y: Math.max(0, l.balance),
|
|
38
|
+
payment: f,
|
|
39
|
+
extra: h
|
|
40
|
+
}), l.balance <= 0 && (o += v, e[_].projected_payoff_date = new Date(i)), f > 0 && (s = !0);
|
|
41
|
+
}
|
|
42
|
+
s && i.setMonth(i.getMonth() + 1);
|
|
43
|
+
}
|
|
44
|
+
return e.forEach((s) => {
|
|
45
|
+
(s.interest_rate === void 0 || s.monthly_payment === void 0) && (s.projected_payoff_date = void 0);
|
|
46
|
+
}), e.forEach((s) => {
|
|
47
|
+
s.priority = !s.is_paid_off && !s.is_impossible ? m++ : void 0;
|
|
48
|
+
}), e;
|
|
49
|
+
}, U = (a, n, t) => ({
|
|
50
|
+
description: n ? a.empty_state_description : a.empty_state_description_no_aggregation,
|
|
51
|
+
header: n ? a.empty_state_header : a.empty_state_header_no_aggregation,
|
|
52
|
+
onClickHandler: n ? t : void 0,
|
|
53
|
+
primaryButton: n ? a.connect_accounts : void 0
|
|
54
|
+
});
|
|
55
|
+
function K(a, n) {
|
|
56
|
+
const t = a.filter((e) => e.account_type === C.CHECKING_LINE_OF_CREDIT ? Number(e.balance) <= 0 : e.is_excluded_from_debts !== !0), r = n.filter((e) => t.some((o) => o.guid === e.account_guid)).map((e) => P(t.find((o) => o.guid === e.account_guid), e)), i = t.filter((e) => !r.some((o) => o.account.guid === e.guid)).map((e) => P(e));
|
|
57
|
+
return [...r, ...i];
|
|
58
|
+
}
|
|
59
|
+
function P(a, n) {
|
|
60
|
+
const t = {
|
|
61
|
+
account: a,
|
|
62
|
+
goal: n,
|
|
63
|
+
guid: a.guid
|
|
64
|
+
};
|
|
65
|
+
if (n) {
|
|
66
|
+
const r = n.payment_due_at ? T(d(n.payment_due_at)) : 1, i = x(/* @__PURE__ */ new Date()).setDate(r);
|
|
67
|
+
t.balance = Math.abs(n.amount - n.current_amount), t.interest_rate = n.interest_rate, t.is_paid_off = n.is_complete, t.monthly_payment = n.monthly_payment, t.name = n.name, t.original_balance = n.initial_amount, t.payment_due_date = i;
|
|
68
|
+
} else {
|
|
69
|
+
const r = a.payment_due_at ? T(d(a.payment_due_at)) : 1, i = x(/* @__PURE__ */ new Date()).setDate(r), e = a.balance ?? 0, o = a.minimum_payment ?? void 0, m = a.interest_rate ?? a.apr ?? a.apy;
|
|
70
|
+
t.balance = Math.max(e, 0), t.interest_rate = m, t.is_paid_off = e === 0, t.monthly_payment = o, t.name = a?.name ?? F.unnamed_label, t.original_balance = a.original_balance, t.payment_due_date = i;
|
|
71
|
+
}
|
|
72
|
+
return t.is_impossible = !1, t.priority = void 0, t.projected_payoff_date = void 0, t;
|
|
73
|
+
}
|
|
74
|
+
var I = (a) => (a[a.length - 1] || {}).timestamp, S = (a, n) => {
|
|
75
|
+
const [t, r] = a.reduce(([i, e], o) => (o.is_paid_off || o.is_impossible ? e.push({
|
|
76
|
+
...o,
|
|
77
|
+
minimumPayments: []
|
|
78
|
+
}) : i.push(A(o)), [i, e]), [[], []]);
|
|
79
|
+
switch (n) {
|
|
80
|
+
case b.FASTEST_PAYOFF_FIRST:
|
|
81
|
+
t.sort((i, e) => (i.minimumFinalPayment ?? 0) - (e.minimumFinalPayment ?? 0));
|
|
82
|
+
break;
|
|
83
|
+
case b.HIGHEST_INTEREST:
|
|
84
|
+
t.sort((i, e) => (e.interest_rate ?? 0) - (i.interest_rate ?? 0));
|
|
85
|
+
break;
|
|
86
|
+
case b.LOWEST_BALANCE:
|
|
87
|
+
t.sort((i, e) => i.balance - e.balance);
|
|
88
|
+
break;
|
|
89
|
+
case b.HIGHEST_BALANCE:
|
|
90
|
+
t.sort((i, e) => e.balance - i.balance);
|
|
91
|
+
break;
|
|
92
|
+
default:
|
|
93
|
+
t.sort((i, e) => i.balance - e.balance);
|
|
94
|
+
}
|
|
95
|
+
a.splice(0, a.length, ...t, ...r);
|
|
96
|
+
}, A = (a) => {
|
|
97
|
+
const { monthly_payment: n, interest_rate: t, balance: r, payment_due_date: i } = a, e = H(r, t ?? 0, n ?? 0), o = N(e, r, t ?? 0, n ?? 0, i), m = I(o);
|
|
98
|
+
return {
|
|
99
|
+
...a,
|
|
100
|
+
minimumFinalPayment: m,
|
|
101
|
+
minimumPayments: o
|
|
102
|
+
};
|
|
103
|
+
}, H = (a, n = 0, t = 0) => {
|
|
104
|
+
if (t === 0) return 0;
|
|
105
|
+
const r = n / 1200;
|
|
106
|
+
return Math.ceil(r === 0 ? a / t : -Math.log(1 - r * a / t) / Math.log(1 + r));
|
|
107
|
+
}, N = (a, n, t, r, i) => {
|
|
108
|
+
const e = [];
|
|
109
|
+
if (t === 0) {
|
|
110
|
+
for (let m = 0; m < a; m++) {
|
|
111
|
+
const s = n - r * (m + 1), p = n - r * m, c = s >= 0 ? r : p;
|
|
112
|
+
e.push({
|
|
113
|
+
balance: s >= 0 ? s : 0,
|
|
114
|
+
interest: t,
|
|
115
|
+
payment: c,
|
|
116
|
+
principal: c,
|
|
117
|
+
timestamp: w(E(d(i), m + 1))
|
|
118
|
+
});
|
|
119
|
+
}
|
|
120
|
+
return e;
|
|
121
|
+
}
|
|
122
|
+
const o = t / 1200;
|
|
123
|
+
for (let m = 0; m < a; m++) {
|
|
124
|
+
const s = w(E(d(i), m + 1)), p = Math.pow(1 + o, m), c = n * p - r * ((p - 1) / o), _ = Math.pow(1 + o, m + 1), l = n * _ - r * ((_ - 1) / o), y = r + Math.min(l, 0), u = c * o;
|
|
125
|
+
e.push({
|
|
126
|
+
balance: Math.max(0, l),
|
|
127
|
+
interest: u,
|
|
128
|
+
payment: y,
|
|
129
|
+
principal: y - u,
|
|
130
|
+
timestamp: s
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
return e;
|
|
134
|
+
};
|
|
135
|
+
export {
|
|
136
|
+
U as buildEmptyStateProps,
|
|
137
|
+
I as calculateFinalPayment,
|
|
138
|
+
P as createDebt,
|
|
139
|
+
K as loadDebts,
|
|
140
|
+
S as sortDebtsByPrioriy,
|
|
141
|
+
G as transformDebtsChartData
|
|
142
|
+
};
|
|
143
|
+
|
|
144
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/DebtUtils.ts"],"sourcesContent":["import { getDate } from 'date-fns/getDate'\nimport { addMonths } from 'date-fns/addMonths'\nimport { fromUnixTime } from 'date-fns/fromUnixTime'\nimport { getUnixTime } from 'date-fns/getUnixTime'\nimport { startOfMonth } from 'date-fns/startOfMonth'\n\nimport { DebtPriority, INTEREST_TO_DECIMAL, MONTHS } from '../constants/Debts'\nimport { AccountType, type Account, type Debt, type DebtsCopy, type Goal } from '../types'\n\nconst copy = {\n unnamed_label: 'Unnamed Debt',\n}\n\ntype DataPoint = { x: Date; y: number; payment?: number; extra?: number }\ntype Dataset = DataPoint[]\n\nexport interface DebtChartData extends Debt {\n dataset: Dataset\n}\n\ninterface MonthlyPayment {\n balance: number\n interest: number\n payment: number\n principal: number\n timestamp: number\n}\n\ninterface DebtWithPayments extends Debt {\n minimumPayments: MonthlyPayment[]\n minimumFinalPayment?: number | undefined\n}\n\nexport const transformDebtsChartData = (\n debts: Debt[],\n debtPriority: DebtPriority,\n extraPaydown = 0,\n): DebtChartData[] => {\n // Copy debts to avoid overwiting balance during payoff calculation\n const sortedDebts = debts.map((d) => ({ ...d }))\n sortDebtsByPrioriy(sortedDebts, debtPriority)\n\n const currentDate = new Date()\n const chartData: DebtChartData[] = []\n let monthlyExtra = 0\n let priorityCounter = 1\n\n // Initialize chartData for each debt\n for (const debt of sortedDebts) {\n chartData.push({\n ...debt,\n // Start with the initial balance\n dataset: [{ x: new Date(currentDate), y: debt.balance }],\n })\n }\n\n // Process debts using the Snowball method\n while (sortedDebts.some((debt) => debt.balance >= 0.01 && !debt.is_impossible)) {\n let madePayment = false // Track if any payment was made this month\n let hasAppliedSnowballExtra = false // Track if snowball extra has been applied this month\n let hasAppliedExtraPaydown = false // Track if extraPaydown has been applied this month\n\n for (const [index, debt] of sortedDebts.entries()) {\n // Skip if debt is already paid off\n if (debt.balance <= 0.01) continue\n\n const dataset = chartData[index].dataset\n const interestRate = (debt.interest_rate ?? 0) / 100\n const monthlyRate = interestRate / 12\n const monthlyInterest = debt.balance * monthlyRate\n const baseMonthlyPayment = debt.monthly_payment ?? 0\n let monthlyPayment = baseMonthlyPayment\n let extraThisMonth = 0\n\n // Add extra payment to the highest priority unpaid debt (first unpaid debt in sorted order)\n if (!hasAppliedExtraPaydown && extraPaydown > 0) {\n monthlyPayment += extraPaydown\n hasAppliedExtraPaydown = true\n }\n\n // Add snowball extra payment to the highest priority unpaid debt\n if (!hasAppliedSnowballExtra && monthlyExtra > 0) {\n extraThisMonth = monthlyExtra\n hasAppliedSnowballExtra = true\n }\n\n // Apply interest before payment\n debt.balance += monthlyInterest\n // Apply monthly payment with any extra payment from snowball\n const appliedPayment = Math.min(debt.balance, monthlyPayment + extraThisMonth)\n\n // If payment doesn't reduce balance, mark as stagnant\n if (appliedPayment <= monthlyInterest) {\n debt.is_impossible = true\n chartData[index].is_impossible = true\n chartData[index].priority = undefined\n dataset.push({ x: new Date(currentDate), y: debt.balance })\n continue\n }\n\n debt.balance -= appliedPayment\n // Avoid floating-point precision issues\n debt.balance = debt.balance < 0.01 ? 0 : debt.balance\n // Add a data point for the current debt balance\n dataset.push({\n x: new Date(currentDate),\n y: Math.max(0, debt.balance),\n payment: appliedPayment,\n extra: extraThisMonth,\n })\n\n // Roll over payments when debt gets paid off (snowball effect)\n // Only roll over the base monthly payment to avoid double-counting extraPaydown\n if (debt.balance <= 0) {\n monthlyExtra += baseMonthlyPayment\n chartData[index].projected_payoff_date = new Date(currentDate)\n }\n\n if (appliedPayment > 0) madePayment = true\n }\n\n if (madePayment) currentDate.setMonth(currentDate.getMonth() + 1)\n }\n\n // Don't project a debt as paid off until missing info is provided\n chartData.forEach((d) => {\n if (d.interest_rate === undefined || d.monthly_payment === undefined) {\n d.projected_payoff_date = undefined\n }\n })\n\n // Set priorities after all calculations\n chartData.forEach((debt) => {\n debt.priority = !debt.is_paid_off && !debt.is_impossible ? priorityCounter++ : undefined\n })\n\n return chartData\n}\n\nexport const buildEmptyStateProps = (\n copy: DebtsCopy,\n hasAggregation: boolean,\n handler: () => void,\n) => ({\n description: hasAggregation\n ? copy.empty_state_description\n : copy.empty_state_description_no_aggregation,\n header: hasAggregation ? copy.empty_state_header : copy.empty_state_header_no_aggregation,\n onClickHandler: hasAggregation ? handler : undefined,\n primaryButton: hasAggregation ? copy.connect_accounts : undefined,\n})\n\nexport function loadDebts(accounts: Account[], goals: Goal[]): Debt[] {\n const debtAccounts = accounts.filter((acc) => {\n // Exclude checking line of credit accounts with positive balance\n // Q: Because CLOC spending is represented by negative? (this logic is from raja)\n if (acc.account_type === AccountType.CHECKING_LINE_OF_CREDIT) {\n return Number(acc.balance) <= 0\n }\n // Exclude explicity excluded acccounts\n return acc.is_excluded_from_debts !== true\n })\n\n // Creat debts with associated goals\n const goalDebts = goals\n .filter((goal) => debtAccounts.some((acc) => acc.guid === goal.account_guid))\n .map((goal) =>\n createDebt(debtAccounts.find((acc) => acc.guid === goal.account_guid) as Account, goal),\n )\n\n // Create debts without associated goals, but are based on liabity accounts\n const liabilityDebts = debtAccounts\n .filter((acc) => !goalDebts.some((debt) => debt.account.guid === acc.guid))\n .map((account) => createDebt(account))\n\n return [...goalDebts, ...liabilityDebts]\n}\n\nexport function createDebt(account: Account, goal?: Goal): Debt {\n const debt = { account, goal, guid: account.guid } as Debt\n\n if (goal) {\n // Derive next payment date; default to 1st of month\n const paymentDay = goal.payment_due_at ? getDate(fromUnixTime(goal.payment_due_at)) : 1\n const paymentDueDate = startOfMonth(new Date()).setDate(paymentDay)\n\n debt.balance = Math.abs(goal.amount - goal.current_amount)\n debt.interest_rate = goal.interest_rate\n debt.is_paid_off = goal.is_complete\n debt.monthly_payment = goal.monthly_payment\n debt.name = goal.name\n debt.original_balance = goal.initial_amount // TODO: Does a debt need this?\n debt.payment_due_date = paymentDueDate\n } else {\n // Derive next payment date; default to 1st of month\n const paymentDay = account.payment_due_at ? getDate(fromUnixTime(account.payment_due_at)) : 1\n const paymentDueDate = startOfMonth(new Date()).setDate(paymentDay)\n const balance = account.balance ?? 0\n const monthlyPayment = account.minimum_payment ?? undefined\n const rate = account.interest_rate ?? account.apr ?? account.apy\n\n debt.balance = Math.max(balance, 0) // Don't use overpaid/negative balances for debt calculations\n debt.interest_rate = rate\n debt.is_paid_off = balance === 0\n debt.monthly_payment = monthlyPayment\n debt.name = account?.name ?? copy.unnamed_label\n debt.original_balance = account.original_balance // TODO: Does a debt need this?\n debt.payment_due_date = paymentDueDate\n }\n\n debt.is_impossible = false\n debt.priority = undefined\n debt.projected_payoff_date = undefined\n\n return debt\n}\n\nexport const calculateFinalPayment = (monthlyPayments: MonthlyPayment[]) => {\n const lastPayment = monthlyPayments[monthlyPayments.length - 1] || {}\n\n return lastPayment.timestamp\n}\n\n// Sorts (in place) the passed debts array, according to the given priority\nexport const sortDebtsByPrioriy = (debts: Debt[], debtPriority: DebtPriority) => {\n // Separate valid debts that can be prioritized from those that can't be\n\n const [activeDebts, inactiveDebts] = debts.reduce<[DebtWithPayments[], DebtWithPayments[]]>(\n ([active, inactive], debt) => {\n if (debt.is_paid_off || debt.is_impossible) {\n inactive.push({ ...debt, minimumPayments: [] })\n } else {\n active.push(calculateMinimumPayments(debt))\n }\n return [active, inactive]\n },\n [[], []],\n )\n\n switch (debtPriority) {\n case DebtPriority.FASTEST_PAYOFF_FIRST:\n activeDebts.sort((a, b) => (a.minimumFinalPayment ?? 0) - (b.minimumFinalPayment ?? 0))\n break\n case DebtPriority.HIGHEST_INTEREST:\n activeDebts.sort((a, b) => (b.interest_rate ?? 0) - (a.interest_rate ?? 0))\n break\n case DebtPriority.LOWEST_BALANCE:\n activeDebts.sort((a, b) => a.balance - b.balance)\n break\n case DebtPriority.HIGHEST_BALANCE:\n activeDebts.sort((a, b) => b.balance - a.balance)\n break\n default:\n activeDebts.sort((a, b) => a.balance - b.balance) // Default to lowest balance\n }\n\n // Reorder debts to begin with sorted/active and end with paid/impossible\n debts.splice(0, debts.length, ...activeDebts, ...inactiveDebts)\n}\n\nconst calculateMinimumPayments = (debt: Debt): DebtWithPayments => {\n const { monthly_payment, interest_rate, balance, payment_due_date } = debt\n const paymentCount = getPaymentCount(balance, interest_rate ?? 0, monthly_payment ?? 0)\n\n const minimumPayments = getMonthlyPayments(\n paymentCount,\n balance,\n interest_rate ?? 0,\n monthly_payment ?? 0,\n payment_due_date,\n )\n\n const minimumFinalPayment = calculateFinalPayment(minimumPayments)\n\n return {\n ...debt,\n minimumFinalPayment,\n minimumPayments,\n }\n}\n\nconst getPaymentCount = (\n balance: number,\n interestRate: number | undefined = 0,\n minimumPayment: number | undefined = 0,\n) => {\n if (minimumPayment === 0) return 0\n\n const monthlyInterestRate = interestRate / (MONTHS * INTEREST_TO_DECIMAL)\n\n return Math.ceil(\n monthlyInterestRate === 0\n ? balance / minimumPayment\n : -Math.log(1 - (monthlyInterestRate * balance) / minimumPayment) /\n Math.log(1 + monthlyInterestRate),\n )\n}\n\nconst getMonthlyPayments = (\n paymentCount: number,\n startingBalance: number,\n interestRate: number,\n scheduledPayment: number,\n startingDate: number,\n) => {\n const monthlyPayments = []\n // If the interest rate is zero, getting the monthly payment is easier, so\n // keep its logic separate from actual interest rate calculations.\n\n if (interestRate === 0) {\n for (let i = 0; i < paymentCount; i++) {\n const newBalance = startingBalance - scheduledPayment * (i + 1)\n const prevBalance = startingBalance - scheduledPayment * i\n const payment = newBalance >= 0 ? scheduledPayment : prevBalance\n monthlyPayments.push({\n balance: newBalance >= 0 ? newBalance : 0,\n interest: interestRate,\n payment,\n principal: payment,\n timestamp: getUnixTime(\n addMonths(\n fromUnixTime(startingDate), // convert seconds → Date\n i + 1, // add (index + 1) months\n ),\n ),\n })\n }\n return monthlyPayments\n }\n const monthlyRate = interestRate / 1200\n\n for (let index = 0; index < paymentCount; index++) {\n const timestamp = getUnixTime(addMonths(fromUnixTime(startingDate), index + 1))\n\n const priorPow = Math.pow(1 + monthlyRate, index)\n const priorBalance =\n startingBalance * priorPow - scheduledPayment * ((priorPow - 1) / monthlyRate)\n\n const pow = Math.pow(1 + monthlyRate, index + 1)\n const balance = startingBalance * pow - scheduledPayment * ((pow - 1) / monthlyRate)\n\n const payment = scheduledPayment + Math.min(balance, 0)\n const interest = priorBalance * monthlyRate\n\n monthlyPayments.push({\n balance: Math.max(0, balance),\n interest,\n payment,\n principal: payment - interest,\n timestamp,\n })\n }\n\n return monthlyPayments\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { getLocale as h } from "../Localization/index.es.js";
|
|
2
|
+
var o = class extends Error {
|
|
3
|
+
status;
|
|
4
|
+
constructor(s, r) {
|
|
5
|
+
super(s), this.name = "ApiError", this.status = r;
|
|
6
|
+
}
|
|
7
|
+
}, a = class {
|
|
8
|
+
endpoint = "/";
|
|
9
|
+
headers;
|
|
10
|
+
onError;
|
|
11
|
+
constructor(s, r, t, n) {
|
|
12
|
+
this.endpoint = s;
|
|
13
|
+
const e = {
|
|
14
|
+
Accept: "application/json",
|
|
15
|
+
"Accept-Language": h(),
|
|
16
|
+
"Content-Type": "application/json",
|
|
17
|
+
"MD-Session-Token": r
|
|
18
|
+
};
|
|
19
|
+
this.headers = t || e, this.onError = n;
|
|
20
|
+
}
|
|
21
|
+
get = async (s) => {
|
|
22
|
+
const r = {
|
|
23
|
+
method: "GET",
|
|
24
|
+
headers: this.headers
|
|
25
|
+
};
|
|
26
|
+
return fetch(`${this.endpoint}${s}`, r).then((t) => {
|
|
27
|
+
if (!t.ok) throw new o(`ApiGetRequestError: ${t.status} ${t.statusText}`, t.status);
|
|
28
|
+
return t.text();
|
|
29
|
+
}).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
|
|
30
|
+
throw this.onError?.(t, void 0, "ApiGetRequestError"), t;
|
|
31
|
+
});
|
|
32
|
+
};
|
|
33
|
+
post = async (s, r) => {
|
|
34
|
+
const t = r ? JSON.stringify(r) : void 0, n = {
|
|
35
|
+
method: "POST",
|
|
36
|
+
headers: this.headers,
|
|
37
|
+
body: t
|
|
38
|
+
};
|
|
39
|
+
return fetch(`${this.endpoint}${s}`, n).then((e) => {
|
|
40
|
+
if (!e.ok) throw new o(`ApiPostRequestError: ${e.status} ${e.statusText}`, e.status);
|
|
41
|
+
return e.text();
|
|
42
|
+
}).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e);
|
|
43
|
+
};
|
|
44
|
+
put = async (s, r) => {
|
|
45
|
+
const t = JSON.stringify(r), n = {
|
|
46
|
+
method: "PUT",
|
|
47
|
+
headers: this.headers,
|
|
48
|
+
body: t
|
|
49
|
+
};
|
|
50
|
+
return fetch(`${this.endpoint}${s}`, n).then((e) => {
|
|
51
|
+
if (!e.ok) throw new o(`ApiPutRequestError: ${e.status} ${e.statusText}`, e.status);
|
|
52
|
+
return e.text();
|
|
53
|
+
}).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e).catch((e) => {
|
|
54
|
+
throw window?.app?.config?.type === "pulse" && this.onError?.(e, void 0, "ApiPutRequestError"), e;
|
|
55
|
+
});
|
|
56
|
+
};
|
|
57
|
+
delete = async (s) => {
|
|
58
|
+
const r = {
|
|
59
|
+
method: "DELETE",
|
|
60
|
+
headers: this.headers
|
|
61
|
+
};
|
|
62
|
+
return fetch(`${this.endpoint}${s}`, r).then((t) => {
|
|
63
|
+
if (!t.ok) throw new o(`ApiDeleteRequestError: ${t.status} ${t.statusText}`, t.status);
|
|
64
|
+
return t.text();
|
|
65
|
+
}).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t);
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
export {
|
|
69
|
+
o as ApiError,
|
|
70
|
+
a as Fetch,
|
|
71
|
+
a as default
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/Fetch.ts"],"sourcesContent":["import { type GlobalErrorHandler } from '../types'\nimport { getLocale } from './Localization'\n\nexport class ApiError extends Error {\n public status: number\n constructor(message: string, status: number) {\n super(message)\n this.name = 'ApiError'\n this.status = status\n }\n}\n\nexport class Fetch {\n endpoint = '/'\n headers: Record<string, string>\n onError?: GlobalErrorHandler\n\n constructor(\n endpoint: string,\n token: string,\n headers?: Record<string, string>,\n onError?: GlobalErrorHandler,\n ) {\n this.endpoint = endpoint\n const defaultHeaders = {\n Accept: 'application/json',\n 'Accept-Language': getLocale(),\n 'Content-Type': 'application/json',\n 'MD-Session-Token': token,\n }\n this.headers = headers || defaultHeaders\n this.onError = onError\n }\n\n get = async (url: string) => {\n const options = {\n method: 'GET',\n headers: this.headers,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiGetRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n .catch((err) => {\n this.onError?.(err, undefined, 'ApiGetRequestError')\n throw err\n })\n }\n\n post = async (url: string, data?: any) => {\n const body = data ? JSON.stringify(data) : undefined\n const options = {\n method: 'POST',\n headers: this.headers,\n body,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiPostRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n }\n\n put = async (url: string, data: any) => {\n const body = JSON.stringify(data)\n const options = {\n method: 'PUT',\n headers: this.headers,\n body,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiPutRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n .catch((err) => {\n if (window?.app?.config?.type === 'pulse') {\n this.onError?.(err, undefined, 'ApiPutRequestError')\n }\n throw err\n })\n }\n\n delete = async (url: string) => {\n const options = {\n method: 'DELETE',\n headers: this.headers,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiDeleteRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n }\n}\n\nexport default Fetch\n"],"mappings":"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"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DATE_FORMATS_INTL as t, formatDate as h } from "../../constants/DateFormats/index.es.js";
|
|
2
|
+
var o = (r) => r.sort((e, a) => e.monthly_health_score_average.year !== a.monthly_health_score_average.year ? e.monthly_health_score_average.year - a.monthly_health_score_average.year : e.monthly_health_score_average.month - a.monthly_health_score_average.month).map((e) => ({
|
|
3
|
+
x: h(new Date(0, e.monthly_health_score_average.month - 1, 1), t.MONTH_SHORT),
|
|
4
|
+
y: Math.round(e.monthly_health_score_average.average_health_score)
|
|
5
|
+
})), n = (r) => r.map(({ transaction: e }) => ({ ...e })).sort((e, a) => a.date - e.date);
|
|
6
|
+
export {
|
|
7
|
+
o as augmentChartData,
|
|
8
|
+
n as augmentSpendingFeeTransactions
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/FinstrongUtils.ts"],"sourcesContent":["import { DATE_FORMATS_INTL, formatDate } from '../constants'\nimport { type Transaction } from '../types'\nimport type { SpendingFeeTransaction, MonthlyHealthScoreItem } from '../../core/types/Finstrong'\n\nexport const augmentChartData = (averageHealthScores: MonthlyHealthScoreItem[]) => {\n return averageHealthScores\n .sort((a, b) => {\n // Sort by year first, then by month\n if (a.monthly_health_score_average.year !== b.monthly_health_score_average.year) {\n return a.monthly_health_score_average.year - b.monthly_health_score_average.year\n }\n return a.monthly_health_score_average.month - b.monthly_health_score_average.month\n })\n .map((item) => ({\n x: formatDate(\n new Date(0, item.monthly_health_score_average.month - 1, 1),\n DATE_FORMATS_INTL.MONTH_SHORT,\n ),\n y: Math.round(item.monthly_health_score_average.average_health_score),\n }))\n}\n\nexport const augmentSpendingFeeTransactions = (\n spendingFeeTransactions: SpendingFeeTransaction[],\n): Transaction[] => {\n const organizedSpendingFeeTransactions = spendingFeeTransactions\n .map(({ transaction }: SpendingFeeTransaction) => {\n return {\n ...transaction,\n }\n })\n .sort((a, b) => b.date - a.date)\n\n return organizedSpendingFeeTransactions\n}\n"],"mappings":";AAIA,IAAa,IAAA,CAAoB,MACxB,EACJ,KAAA,CAAM,GAAG,MAEJ,EAAE,6BAA6B,SAAS,EAAE,6BAA6B,OAClE,EAAE,6BAA6B,OAAO,EAAE,6BAA6B,OAEvE,EAAE,6BAA6B,QAAQ,EAAE,6BAA6B,KAC9E,EACA,IAAA,CAAK,OAAU;AAAA,EACd,GAAG,EACD,IAAI,KAAK,GAAG,EAAK,6BAA6B,QAAQ,GAAG,CAAC,GAC1D,EAAkB,WACpB;AAAA,EACA,GAAG,KAAK,MAAM,EAAK,6BAA6B,oBAAoB;AACtE,EAAE,GAGO,IAAA,CACX,MAEyC,EACtC,IAAA,CAAK,EAAE,aAAA,EAAA,OACC,EACL,GAAG,EACL,EACD,EACA,KAAA,CAAM,GAAG,MAAM,EAAE,OAAO,EAAE,IAEtB"}
|