@mx-cartographer/experiences 9.2.4-alpha.al2 → 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,61 @@
|
|
|
1
|
+
import { AppDataApi as a } from "../../api/AppDataApi/index.es.js";
|
|
2
|
+
import { BannerApi as e } from "../../api/BannerApi/index.es.js";
|
|
3
|
+
import { makeAutoObservable as i, runInAction as o } from "mobx";
|
|
4
|
+
var l = class {
|
|
5
|
+
globalStore;
|
|
6
|
+
api = new a("/", "");
|
|
7
|
+
bannerApi = new e("/");
|
|
8
|
+
appData = {};
|
|
9
|
+
isAppDataLoaded = !1;
|
|
10
|
+
banner = {};
|
|
11
|
+
constructor(t) {
|
|
12
|
+
this.globalStore = t, this.api = new a(t.endpoint, t.sessionToken, t.onError), i(this);
|
|
13
|
+
}
|
|
14
|
+
get appConfig() {
|
|
15
|
+
return this.globalStore.appConfig;
|
|
16
|
+
}
|
|
17
|
+
get clientCommunicationProfile() {
|
|
18
|
+
return this.appData.client_communication_profile;
|
|
19
|
+
}
|
|
20
|
+
get clientInsightProfile() {
|
|
21
|
+
return this.appData.client_insight_profile;
|
|
22
|
+
}
|
|
23
|
+
get user() {
|
|
24
|
+
return this.appData.user;
|
|
25
|
+
}
|
|
26
|
+
get userCommunicationProfile() {
|
|
27
|
+
return this.appData.user_communication_profile;
|
|
28
|
+
}
|
|
29
|
+
get userProfile() {
|
|
30
|
+
return this.appData.user_profile;
|
|
31
|
+
}
|
|
32
|
+
setAppData = (t) => {
|
|
33
|
+
this.appData = t, this.bannerApi = new e(t.address?.bullseye || "/"), this.isAppDataLoaded = !0;
|
|
34
|
+
};
|
|
35
|
+
loadAppData = async () => {
|
|
36
|
+
try {
|
|
37
|
+
const t = await this.api.getAppData();
|
|
38
|
+
this.setAppData(t);
|
|
39
|
+
} catch (t) {
|
|
40
|
+
console.error("Error loading app data:", t), this.globalStore.captureException(t, { store: "AppDataStore" });
|
|
41
|
+
}
|
|
42
|
+
};
|
|
43
|
+
loadBanner = async () => {
|
|
44
|
+
try {
|
|
45
|
+
const t = this.user?.guid ?? null, r = t ? await this.bannerApi.getBanner(t) : {};
|
|
46
|
+
o(() => {
|
|
47
|
+
this.banner = r;
|
|
48
|
+
});
|
|
49
|
+
} catch (t) {
|
|
50
|
+
console.error("Error loading banner:", t), this.globalStore.captureException(t, { store: "AppDataStore" });
|
|
51
|
+
}
|
|
52
|
+
};
|
|
53
|
+
setUser = (t) => this.appData.user = t;
|
|
54
|
+
setUserCommunicationProfile = (t) => this.appData.user_communication_profile = t;
|
|
55
|
+
setUserProfile = (t) => this.appData.user_profile = t;
|
|
56
|
+
};
|
|
57
|
+
export {
|
|
58
|
+
l as AppDataStore
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/AppDataStore.ts"],"sourcesContent":["import { makeAutoObservable, runInAction } from 'mobx'\n\nimport { AppDataApi, BannerApi } from '../api'\nimport type {\n AppConfig,\n AppData,\n Banner,\n User,\n UserCommunicationProfile,\n UserProfile,\n} from '../types'\n\nimport { GlobalStore } from './GlobalStore'\n\nexport class AppDataStore {\n globalStore: GlobalStore\n api: AppDataApi = new AppDataApi('/', '')\n bannerApi: BannerApi = new BannerApi('/')\n\n appData: AppData = {} as AppData\n isAppDataLoaded: boolean = false\n banner: Banner = {}\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.api = new AppDataApi(globalStore.endpoint, globalStore.sessionToken, globalStore.onError)\n\n makeAutoObservable(this)\n }\n\n get appConfig(): AppConfig {\n return this.globalStore.appConfig\n }\n\n get clientCommunicationProfile() {\n return this.appData.client_communication_profile\n }\n\n get clientInsightProfile() {\n return this.appData.client_insight_profile\n }\n\n get user() {\n return this.appData.user\n }\n\n get userCommunicationProfile() {\n return this.appData.user_communication_profile\n }\n\n get userProfile() {\n return this.appData.user_profile\n }\n\n setAppData = (appData: AppData) => {\n this.appData = appData\n this.bannerApi = new BannerApi(appData.address?.bullseye || '/')\n this.isAppDataLoaded = true\n }\n\n loadAppData = async () => {\n try {\n const appData = await this.api.getAppData()\n this.setAppData(appData)\n } catch (error) {\n console.error('Error loading app data:', error)\n this.globalStore.captureException(error, { store: 'AppDataStore' })\n }\n }\n\n loadBanner = async () => {\n try {\n const userGuid = this.user?.guid ?? null\n const banner = userGuid ? await this.bannerApi.getBanner(userGuid) : {}\n\n runInAction(() => {\n this.banner = banner\n })\n } catch (error) {\n console.error('Error loading banner:', error)\n this.globalStore.captureException(error, { store: 'AppDataStore' })\n }\n }\n\n setUser = (user: User) => (this.appData.user = user)\n\n setUserCommunicationProfile = (profile: UserCommunicationProfile) =>\n (this.appData.user_communication_profile = profile)\n\n setUserProfile = (userProfile: UserProfile) => (this.appData.user_profile = userProfile)\n}\n"],"mappings":";;;AAcA,IAAa,IAAb,MAA0B;AAAA,EACxB;AAAA,EACA,MAAkB,IAAI,EAAW,KAAK,EAAE;AAAA,EACxC,YAAuB,IAAI,EAAU,GAAG;AAAA,EAExC,UAAmB,CAAC;AAAA,EACpB,kBAA2B;AAAA,EAC3B,SAAiB,CAAC;AAAA,EAElB,YAAY,GAA0B;AACpC,SAAK,cAAc,GACnB,KAAK,MAAM,IAAI,EAAW,EAAY,UAAU,EAAY,cAAc,EAAY,OAAO,GAE7F,EAAmB,IAAI;AAAA,EACzB;AAAA,EAEA,IAAI,YAAuB;AACzB,WAAO,KAAK,YAAY;AAAA,EAC1B;AAAA,EAEA,IAAI,6BAA6B;AAC/B,WAAO,KAAK,QAAQ;AAAA,EACtB;AAAA,EAEA,IAAI,uBAAuB;AACzB,WAAO,KAAK,QAAQ;AAAA,EACtB;AAAA,EAEA,IAAI,OAAO;AACT,WAAO,KAAK,QAAQ;AAAA,EACtB;AAAA,EAEA,IAAI,2BAA2B;AAC7B,WAAO,KAAK,QAAQ;AAAA,EACtB;AAAA,EAEA,IAAI,cAAc;AAChB,WAAO,KAAK,QAAQ;AAAA,EACtB;AAAA,EAEA,aAAA,CAAc,MAAqB;AACjC,SAAK,UAAU,GACf,KAAK,YAAY,IAAI,EAAU,EAAQ,SAAS,YAAY,GAAG,GAC/D,KAAK,kBAAkB;AAAA,EACzB;AAAA,EAEA,cAAc,YAAY;AACxB,QAAI;AACF,YAAM,IAAU,MAAM,KAAK,IAAI,WAAW;AAC1C,WAAK,WAAW,CAAO;AAAA,IACzB,SAAS,GAAO;AACd,cAAQ,MAAM,2BAA2B,CAAK,GAC9C,KAAK,YAAY,iBAAiB,GAAO,EAAE,OAAO,eAAe,CAAC;AAAA,IACpE;AAAA,EACF;AAAA,EAEA,aAAa,YAAY;AACvB,QAAI;AACF,YAAM,IAAW,KAAK,MAAM,QAAQ,MAC9B,IAAS,IAAW,MAAM,KAAK,UAAU,UAAU,CAAQ,IAAI,CAAC;AAEtE,MAAA,EAAA,MAAkB;AAChB,aAAK,SAAS;AAAA,MAChB,CAAC;AAAA,IACH,SAAS,GAAO;AACd,cAAQ,MAAM,yBAAyB,CAAK,GAC5C,KAAK,YAAY,iBAAiB,GAAO,EAAE,OAAO,eAAe,CAAC;AAAA,IACpE;AAAA,EACF;AAAA,EAEA,UAAA,CAAW,MAAgB,KAAK,QAAQ,OAAO;AAAA,EAE/C,8BAAA,CAA+B,MAC5B,KAAK,QAAQ,6BAA6B;AAAA,EAE7C,iBAAA,CAAkB,MAA8B,KAAK,QAAQ,eAAe;AAC9E"}
|
|
@@ -10,8 +10,8 @@ export declare class AppDataStore {
|
|
|
10
10
|
banner: Banner;
|
|
11
11
|
constructor(globalStore: GlobalStore);
|
|
12
12
|
get appConfig(): AppConfig;
|
|
13
|
-
get clientCommunicationProfile(): import('
|
|
14
|
-
get clientInsightProfile(): import('
|
|
13
|
+
get clientCommunicationProfile(): import('..').ClientCommunicationProfile;
|
|
14
|
+
get clientInsightProfile(): import('..').ClientInsightProfile;
|
|
15
15
|
get user(): User;
|
|
16
16
|
get userCommunicationProfile(): UserCommunicationProfile;
|
|
17
17
|
get userProfile(): UserProfile;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { BeatApi as s } from "../../api/BeatApi/index.es.js";
|
|
2
|
+
import { orderArray as o, transformOfferIntoBeatLikeObject as n } from "../../utils/BeatUtils/index.es.js";
|
|
3
|
+
import { makeAutoObservable as l, runInAction as i } from "mobx";
|
|
4
|
+
var B = class {
|
|
5
|
+
globalStore;
|
|
6
|
+
api = new s("/", "");
|
|
7
|
+
beats = [];
|
|
8
|
+
isLoading = !1;
|
|
9
|
+
constructor(t) {
|
|
10
|
+
this.globalStore = t, this.api = new s(t.endpoint, t.sessionToken, t.onError), l(this);
|
|
11
|
+
}
|
|
12
|
+
loadBeats = async () => {
|
|
13
|
+
this.isLoading = !0;
|
|
14
|
+
try {
|
|
15
|
+
const t = await this.api.getBeats(), r = (await this.api.getOffers()).map((a) => n(a));
|
|
16
|
+
i(() => {
|
|
17
|
+
this.beats = o(t, r, "active_at", "desc");
|
|
18
|
+
});
|
|
19
|
+
} catch (t) {
|
|
20
|
+
console.error("Error occurred while loading beats:", t), this.globalStore.captureException(t, { store: "BeatStore" });
|
|
21
|
+
} finally {
|
|
22
|
+
i(() => {
|
|
23
|
+
this.isLoading = !1;
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
};
|
|
27
|
+
getFilteredBeats(t) {
|
|
28
|
+
const { categoryGuids: r, templates: a } = t;
|
|
29
|
+
let e = this.beats;
|
|
30
|
+
return r && (e = this.filterBeatsByCategory(e, r)), a && (e = this.filterBeatsByTemplate(e, a)), e;
|
|
31
|
+
}
|
|
32
|
+
filterBeatsByCategory(t, r) {
|
|
33
|
+
return t.filter((a) => a.category_guids?.some((e) => r.includes(e)));
|
|
34
|
+
}
|
|
35
|
+
filterBeatsByTemplate(t, r) {
|
|
36
|
+
return t.filter((a) => r.some((e) => a.template === e));
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
export {
|
|
40
|
+
B as BeatStore
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/BeatStore.ts"],"sourcesContent":["import { makeAutoObservable, runInAction } from 'mobx'\n\nimport { BeatApi } from '../api'\nimport type { Beat, Offer } from '../types'\nimport { orderArray, transformOfferIntoBeatLikeObject } from '../utils/BeatUtils'\n\nimport { GlobalStore } from './GlobalStore'\n\nexport class BeatStore {\n globalStore: GlobalStore\n api: BeatApi = new BeatApi('/', '')\n beats: Beat[] = []\n isLoading = false\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.api = new BeatApi(globalStore.endpoint, globalStore.sessionToken, globalStore.onError)\n\n makeAutoObservable(this)\n }\n\n loadBeats = async () => {\n this.isLoading = true\n try {\n const beats = await this.api.getBeats()\n const offers = await this.api.getOffers()\n const beatLikeOffers = offers.map((o: Offer) => transformOfferIntoBeatLikeObject(o))\n\n runInAction(() => {\n this.beats = orderArray(beats, beatLikeOffers, 'active_at', 'desc')\n })\n } catch (error) {\n console.error('Error occurred while loading beats:', error)\n this.globalStore.captureException(error, { store: 'BeatStore' })\n } finally {\n runInAction(() => {\n this.isLoading = false\n })\n }\n }\n\n getFilteredBeats(filter: { categoryGuids?: string[]; templates?: string[] }): Beat[] {\n const { categoryGuids, templates } = filter\n let filteredBeats = this.beats\n if (categoryGuids) filteredBeats = this.filterBeatsByCategory(filteredBeats, categoryGuids)\n if (templates) filteredBeats = this.filterBeatsByTemplate(filteredBeats, templates)\n return filteredBeats\n }\n\n // Return beats with any beat.category_guids that are in categoryGuids\n filterBeatsByCategory(beats: Beat[], categoryGuids: string[]): Beat[] {\n return beats.filter((beat) => {\n return beat.category_guids?.some((guid) => categoryGuids.includes(guid))\n })\n }\n\n // Return beats with a beat.template that is in templates\n filterBeatsByTemplate(beats: Beat[], templates: string[]): Beat[] {\n return beats.filter((beat) => {\n return templates.some((template) => beat.template === template)\n })\n }\n}\n"],"mappings":";;;AAQA,IAAa,IAAb,MAAuB;AAAA,EACrB;AAAA,EACA,MAAe,IAAI,EAAQ,KAAK,EAAE;AAAA,EAClC,QAAgB,CAAC;AAAA,EACjB,YAAY;AAAA,EAEZ,YAAY,GAA0B;AACpC,SAAK,cAAc,GACnB,KAAK,MAAM,IAAI,EAAQ,EAAY,UAAU,EAAY,cAAc,EAAY,OAAO,GAE1F,EAAmB,IAAI;AAAA,EACzB;AAAA,EAEA,YAAY,YAAY;AACtB,SAAK,YAAY;AACjB,QAAI;AACF,YAAM,IAAQ,MAAM,KAAK,IAAI,SAAS,GAEhC,KAAiB,MADF,KAAK,IAAI,UAAU,GACV,IAAA,CAAK,MAAa,EAAiC,CAAC,CAAC;AAEnF,MAAA,EAAA,MAAkB;AAChB,aAAK,QAAQ,EAAW,GAAO,GAAgB,aAAa,MAAM;AAAA,MACpE,CAAC;AAAA,IACH,SAAS,GAAO;AACd,cAAQ,MAAM,uCAAuC,CAAK,GAC1D,KAAK,YAAY,iBAAiB,GAAO,EAAE,OAAO,YAAY,CAAC;AAAA,IACjE,UAAA;AACE,MAAA,EAAA,MAAkB;AAChB,aAAK,YAAY;AAAA,MACnB,CAAC;AAAA,IACH;AAAA,EACF;AAAA,EAEA,iBAAiB,GAAoE;AACnF,UAAM,EAAE,eAAA,GAAe,WAAA,EAAA,IAAc;AACrC,QAAI,IAAgB,KAAK;AACzB,WAAI,MAAe,IAAgB,KAAK,sBAAsB,GAAe,CAAa,IACtF,MAAW,IAAgB,KAAK,sBAAsB,GAAe,CAAS,IAC3E;AAAA,EACT;AAAA,EAGA,sBAAsB,GAAe,GAAiC;AACpE,WAAO,EAAM,OAAA,CAAQ,MACZ,EAAK,gBAAgB,KAAA,CAAM,MAAS,EAAc,SAAS,CAAI,CAAC,CACxE;AAAA,EACH;AAAA,EAGA,sBAAsB,GAAe,GAA6B;AAChE,WAAO,EAAM,OAAA,CAAQ,MACZ,EAAU,KAAA,CAAM,MAAa,EAAK,aAAa,CAAQ,CAC/D;AAAA,EACH;AACF"}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
import { CategoryGuids as i } from "../../constants/Category/index.es.js";
|
|
2
|
+
import { BudgetsApi as o } from "../../api/BudgetsApi/index.es.js";
|
|
3
|
+
import { augmentBudgets as u, findBudget as c, findSubBudget as h } from "../../utils/BudgetUtil/index.es.js";
|
|
4
|
+
import { endOfMonth as l } from "date-fns/endOfMonth";
|
|
5
|
+
import { startOfMonth as p } from "date-fns/startOfMonth";
|
|
6
|
+
import { startOfToday as g } from "date-fns/startOfToday";
|
|
7
|
+
import { makeAutoObservable as B, reaction as S, runInAction as d } from "mobx";
|
|
8
|
+
var x = class {
|
|
9
|
+
api = new o("/", "");
|
|
10
|
+
globalStore;
|
|
11
|
+
alert = "";
|
|
12
|
+
dateRange = {
|
|
13
|
+
start: p(g()),
|
|
14
|
+
end: l(g())
|
|
15
|
+
};
|
|
16
|
+
budgets = [];
|
|
17
|
+
selectedBudget;
|
|
18
|
+
selectedSubBudget;
|
|
19
|
+
isDataLoaded = !1;
|
|
20
|
+
theme = {};
|
|
21
|
+
merchantBudgets = [];
|
|
22
|
+
constructor(t) {
|
|
23
|
+
this.globalStore = t, this.api = new o(t.endpoint, t.sessionToken, t.onError), B(this);
|
|
24
|
+
}
|
|
25
|
+
loadBudgetData = async () => {
|
|
26
|
+
this.globalStore.recurringTransactionsStore.isDataLoaded || await this.globalStore.recurringTransactionsStore.loadRepeatingTransactionData(), await this.loadBudgets(), S(() => this.detailedBudgets, (t) => {
|
|
27
|
+
if (t) {
|
|
28
|
+
const e = this.selectedBudget;
|
|
29
|
+
e && (this.selectedBudget = c(t, e.guid));
|
|
30
|
+
const r = this.selectedSubBudget;
|
|
31
|
+
r && r.parent_guid && (this.selectedSubBudget = h(t, r.guid, r.parent_guid));
|
|
32
|
+
}
|
|
33
|
+
});
|
|
34
|
+
};
|
|
35
|
+
get detailedBudgets() {
|
|
36
|
+
return u(this.budgets.filter((t) => t.category_guid !== i.INCOME && t.category_guid !== i.TRANSFER && t.category_guid !== i.INVESTMENTS), this.globalStore.categoryStore.detailedCategories, this.globalStore.copyStore.copy.budgets, this.theme).sort((t, e) => t.percentage > e.percentage ? -1 : t.percentage < e.percentage ? 1 : 0);
|
|
37
|
+
}
|
|
38
|
+
get incomeBudget() {
|
|
39
|
+
return u(this.budgets.filter((t) => !t.parent_guid), this.globalStore.categoryStore.detailedCategories, this.globalStore.copyStore.copy.budgets, this.theme).reduce((t, e) => e.category_guid !== i.INCOME ? t : !t || e.percentage > t.percentage ? e : t, void 0)?.amount;
|
|
40
|
+
}
|
|
41
|
+
get unbudgetedCategories() {
|
|
42
|
+
return this.globalStore.categoryStore.spendCategories.filter((t) => !this.detailedBudgets.find((e) => e.category_guid === t.guid));
|
|
43
|
+
}
|
|
44
|
+
get totalBudgeted() {
|
|
45
|
+
return this.detailedBudgets.reduce((t, e) => t + e.amount, 0);
|
|
46
|
+
}
|
|
47
|
+
addBudget = async (t, e, r = null) => {
|
|
48
|
+
try {
|
|
49
|
+
const s = await this.api.addBudget(t, e, r);
|
|
50
|
+
d(() => {
|
|
51
|
+
this.budgets.push(s);
|
|
52
|
+
});
|
|
53
|
+
} catch (s) {
|
|
54
|
+
console.error("Error adding budget:", s), this.globalStore.captureException(s, { store: "BudgetsStore" });
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
deleteBudget = async (t) => {
|
|
58
|
+
try {
|
|
59
|
+
await this.api.deleteBudget(t), d(() => {
|
|
60
|
+
const e = this.budgets.findIndex((r) => r.guid === t);
|
|
61
|
+
e >= 0 && this.budgets.splice(e, 1);
|
|
62
|
+
});
|
|
63
|
+
} catch (e) {
|
|
64
|
+
console.error("Error deleting budget:", e), this.globalStore.captureException(e, { store: "BudgetsStore" });
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
loadBudgets = async () => {
|
|
68
|
+
try {
|
|
69
|
+
const t = await this.api.getBudgets();
|
|
70
|
+
this.setBudgets(t);
|
|
71
|
+
} catch (t) {
|
|
72
|
+
throw console.error("Error occurred while loading budgets:", t), this.globalStore.captureException(t, { store: "BudgetsStore" }), t;
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
setAlert = (t) => this.alert = t;
|
|
76
|
+
setBudgets = (t) => {
|
|
77
|
+
this.budgets = t, this.isDataLoaded = !0;
|
|
78
|
+
};
|
|
79
|
+
setDateRange = (t) => this.dateRange = t;
|
|
80
|
+
setSelectedBudget = (t) => this.selectedBudget = t;
|
|
81
|
+
setSelectedSubBudget = (t) => this.selectedSubBudget = t;
|
|
82
|
+
setTheme = (t) => this.theme = t;
|
|
83
|
+
recalculateBudgets = async (t) => {
|
|
84
|
+
try {
|
|
85
|
+
for (const r of t) {
|
|
86
|
+
const s = this.budgets.find((a) => a.category_guid === r.guid);
|
|
87
|
+
s ? await this.api.updateBudget({
|
|
88
|
+
...s,
|
|
89
|
+
amount: r.totalAverageAmount
|
|
90
|
+
}) : await this.api.addBudget(r, r.totalAverageAmount);
|
|
91
|
+
}
|
|
92
|
+
const e = this.budgets.filter((r) => !t.find((s) => s.guid === r.category_guid));
|
|
93
|
+
for (const r of e) await this.api.deleteBudget(r.guid);
|
|
94
|
+
return await this.loadBudgets(), {
|
|
95
|
+
data: this.budgets,
|
|
96
|
+
isSuccess: !0
|
|
97
|
+
};
|
|
98
|
+
} catch (e) {
|
|
99
|
+
return console.error("Error recalculating budgets:", e), this.globalStore.captureException(e, { store: "BudgetsStore" }), {
|
|
100
|
+
data: [],
|
|
101
|
+
isSuccess: !1
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
updateBudget = async (t) => {
|
|
106
|
+
try {
|
|
107
|
+
const e = await this.api.updateBudget(t);
|
|
108
|
+
d(() => {
|
|
109
|
+
const r = this.budgets.findIndex((s) => s.guid === t.guid);
|
|
110
|
+
r >= 0 && (this.budgets[r] = e);
|
|
111
|
+
});
|
|
112
|
+
} catch (e) {
|
|
113
|
+
console.error("Error updating budget:", e), this.globalStore.captureException(e, { store: "BudgetsStore" });
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
getMerchantBudgetByMerchantGuid = (t) => this.merchantBudgets.find((e) => e?.merchant_guid === t);
|
|
117
|
+
setMerchantBudgets = (t) => {
|
|
118
|
+
this.merchantBudgets = t;
|
|
119
|
+
};
|
|
120
|
+
addMerchantBudget = async (t, e) => {
|
|
121
|
+
try {
|
|
122
|
+
const r = await this.api.addMerchantBudget(t, e);
|
|
123
|
+
return d(() => {
|
|
124
|
+
this.merchantBudgets.push(r);
|
|
125
|
+
}), { isSuccess: !0 };
|
|
126
|
+
} catch (r) {
|
|
127
|
+
return console.error("Error adding merchant budget:", r), this.globalStore.captureException(r, { store: "BudgetsStore" }), { isSuccess: !1 };
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
updateMerchantBudget = async (t) => {
|
|
131
|
+
try {
|
|
132
|
+
const { guid: e, amount: r } = t, s = await this.api.updateMerchantBudget(e, r);
|
|
133
|
+
return d(() => {
|
|
134
|
+
const a = this.merchantBudgets.findIndex((n) => n.guid === t.guid);
|
|
135
|
+
a >= 0 && (this.merchantBudgets[a] = s);
|
|
136
|
+
}), { isSuccess: !0 };
|
|
137
|
+
} catch (e) {
|
|
138
|
+
return console.error("Error updating merchant budget:", e), this.globalStore.captureException(e, { store: "BudgetsStore" }), { isSuccess: !1 };
|
|
139
|
+
}
|
|
140
|
+
};
|
|
141
|
+
deleteMerchantBudget = async (t) => {
|
|
142
|
+
try {
|
|
143
|
+
return await this.api.deleteMerchantBudget(t), d(() => {
|
|
144
|
+
this.merchantBudgets = this.merchantBudgets.filter((e) => e.guid !== t);
|
|
145
|
+
}), { isSuccess: !0 };
|
|
146
|
+
} catch (e) {
|
|
147
|
+
return console.error("Error deleting merchant budget:", e), this.globalStore.captureException(e, { store: "BudgetsStore" }), { isSuccess: !1 };
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
export {
|
|
152
|
+
x as BudgetsStore
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/BudgetsStore.ts"],"sourcesContent":["import { makeAutoObservable, reaction, runInAction } from 'mobx'\n\nimport { endOfMonth } from 'date-fns/endOfMonth'\nimport { startOfMonth } from 'date-fns/startOfMonth'\nimport { startOfToday } from 'date-fns/startOfToday'\n\nimport { Theme } from '@mui/system'\n\nimport { BudgetsApi } from '../api'\nimport { CategoryGuids } from '../constants'\nimport { augmentBudgets, findBudget, findSubBudget } from '../utils/BudgetUtil'\n\nimport { GlobalStore } from './GlobalStore'\n\nimport type {\n Budget,\n Category,\n DateRange,\n DetailedBudget,\n DetailedCategory,\n MerchantBudget,\n} from '../types'\n\nexport class BudgetsStore {\n api: BudgetsApi = new BudgetsApi('/', '')\n\n globalStore: GlobalStore\n\n alert: string = ''\n dateRange: DateRange = { start: startOfMonth(startOfToday()), end: endOfMonth(startOfToday()) }\n budgets: Budget[] = []\n selectedBudget: DetailedBudget | undefined\n selectedSubBudget: DetailedBudget | undefined\n isDataLoaded = false\n theme = {} as Theme\n merchantBudgets: MerchantBudget[] = []\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.api = new BudgetsApi(globalStore.endpoint, globalStore.sessionToken, globalStore.onError)\n\n makeAutoObservable(this)\n }\n\n loadBudgetData = async () => {\n if (!this.globalStore.recurringTransactionsStore.isDataLoaded) {\n await this.globalStore.recurringTransactionsStore.loadRepeatingTransactionData()\n }\n await this.loadBudgets()\n\n /** Reaction to update the selected budget/sub-budget if detailedBudgets is updated **/\n reaction(\n () => this.detailedBudgets,\n (detailedBudgets) => {\n if (detailedBudgets) {\n const budget = this.selectedBudget\n if (budget) {\n this.selectedBudget = findBudget(detailedBudgets, budget.guid)\n }\n\n const subBudget = this.selectedSubBudget\n if (subBudget && subBudget.parent_guid) {\n this.selectedSubBudget = findSubBudget(\n detailedBudgets,\n subBudget.guid,\n subBudget.parent_guid,\n )\n }\n }\n },\n )\n }\n\n get detailedBudgets(): DetailedBudget[] {\n return augmentBudgets(\n this.budgets.filter(\n (budget: Budget) =>\n budget.category_guid !== CategoryGuids.INCOME &&\n budget.category_guid !== CategoryGuids.TRANSFER &&\n budget.category_guid !== CategoryGuids.INVESTMENTS,\n ),\n this.globalStore.categoryStore.detailedCategories,\n this.globalStore.copyStore.copy.budgets,\n this.theme,\n ).sort((a, b) => {\n if (a.percentage > b.percentage) return -1\n if (a.percentage < b.percentage) return 1\n return 0\n })\n }\n\n // TODO: Replace this with income from recurring transactions. Income budgets are deprecated.\n get incomeBudget(): number | undefined {\n const filteredBudgets = augmentBudgets(\n this.budgets.filter((budget: Budget) => !budget.parent_guid),\n this.globalStore.categoryStore.detailedCategories,\n this.globalStore.copyStore.copy.budgets,\n this.theme,\n )\n\n const incomeBudget = filteredBudgets.reduce(\n (acc, curr) => {\n if (curr.category_guid !== CategoryGuids.INCOME) return acc\n if (!acc || curr.percentage > acc.percentage) return curr\n return acc\n },\n undefined as DetailedBudget | undefined,\n )\n\n return incomeBudget?.amount\n }\n\n get unbudgetedCategories(): DetailedCategory[] {\n return this.globalStore.categoryStore.spendCategories.filter(\n (category) => !this.detailedBudgets.find((budget) => budget.category_guid === category.guid),\n )\n }\n\n get totalBudgeted(): number {\n return this.detailedBudgets.reduce((total, budget) => total + budget.amount, 0)\n }\n\n addBudget = async (category: Category, amount: number, parentGuid: string | null = null) => {\n try {\n const budget = await this.api.addBudget(category, amount, parentGuid)\n runInAction(() => {\n this.budgets.push(budget)\n })\n } catch (error) {\n console.error('Error adding budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n }\n }\n\n deleteBudget = async (guid: string) => {\n try {\n await this.api.deleteBudget(guid)\n\n runInAction(() => {\n const index = this.budgets.findIndex((budget) => budget.guid === guid)\n if (index >= 0) {\n this.budgets.splice(index, 1)\n }\n })\n } catch (error) {\n console.error('Error deleting budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n }\n }\n\n loadBudgets = async () => {\n try {\n const budgets = await this.api.getBudgets()\n this.setBudgets(budgets)\n } catch (error) {\n console.error('Error occurred while loading budgets:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n throw error\n }\n }\n\n setAlert = (alert: string) => (this.alert = alert)\n\n setBudgets = (budgets: Budget[]) => {\n this.budgets = budgets\n this.isDataLoaded = true\n }\n\n setDateRange = (dateRange: DateRange) => (this.dateRange = dateRange)\n\n setSelectedBudget = (budget: DetailedBudget | undefined) => (this.selectedBudget = budget)\n\n setSelectedSubBudget = (budget: DetailedBudget | undefined) => (this.selectedSubBudget = budget)\n\n setTheme = (theme: Theme) => (this.theme = theme)\n\n /**\n * Recalculate budget by using the average amount from top-level categories\n * @param categories Detailed categories\n */\n recalculateBudgets = async (categories: DetailedCategory[]) => {\n try {\n for (const category of categories) {\n const budget = this.budgets.find((budget) => budget.category_guid === category.guid)\n if (budget) {\n await this.api.updateBudget({\n ...budget,\n amount: category.totalAverageAmount,\n })\n } else {\n await this.api.addBudget(category, category.totalAverageAmount)\n }\n }\n const budgetsToDelete = this.budgets.filter(\n (budget) => !categories.find((c) => c.guid === budget.category_guid),\n )\n\n for (const budgetToDelete of budgetsToDelete) {\n await this.api.deleteBudget(budgetToDelete.guid)\n }\n\n await this.loadBudgets()\n\n return { data: this.budgets, isSuccess: true }\n } catch (error) {\n console.error('Error recalculating budgets:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n return { data: [], isSuccess: false }\n }\n }\n\n updateBudget = async (budget: Budget) => {\n try {\n const updatedBudget = await this.api.updateBudget(budget)\n\n runInAction(() => {\n const index = this.budgets.findIndex((b) => b.guid === budget.guid)\n if (index >= 0) {\n this.budgets[index] = updatedBudget\n }\n })\n } catch (error) {\n console.error('Error updating budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n }\n }\n\n getMerchantBudgetByMerchantGuid = (merchantGuid: string): MerchantBudget | undefined => {\n return this.merchantBudgets.find(\n (eachMerchantBudget) => eachMerchantBudget?.merchant_guid === merchantGuid,\n )\n }\n\n setMerchantBudgets = (merchantBudgets: MerchantBudget[]) => {\n this.merchantBudgets = merchantBudgets\n }\n\n addMerchantBudget = async (merchantGuid: string, amount: number) => {\n try {\n const newMerchantBudget = await this.api.addMerchantBudget(merchantGuid, amount)\n\n runInAction(() => {\n this.merchantBudgets.push(newMerchantBudget)\n })\n return { isSuccess: true }\n } catch (error) {\n console.error('Error adding merchant budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n return { isSuccess: false }\n }\n }\n\n updateMerchantBudget = async (merchantBudget: MerchantBudget) => {\n try {\n const { guid: merchantBudgetGuid, amount } = merchantBudget\n const updatedMerchantBudget = await this.api.updateMerchantBudget(merchantBudgetGuid, amount)\n\n runInAction(() => {\n const index = this.merchantBudgets.findIndex((b) => b.guid === merchantBudget.guid)\n if (index >= 0) {\n this.merchantBudgets[index] = updatedMerchantBudget\n }\n })\n return { isSuccess: true }\n } catch (error) {\n console.error('Error updating merchant budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n return { isSuccess: false }\n }\n }\n\n deleteMerchantBudget = async (merchantBudgetGuid: string) => {\n try {\n await this.api.deleteMerchantBudget(merchantBudgetGuid)\n\n runInAction(() => {\n this.merchantBudgets = this.merchantBudgets.filter((b) => b.guid !== merchantBudgetGuid)\n })\n return { isSuccess: true }\n } catch (error) {\n console.error('Error deleting merchant budget:', error)\n this.globalStore.captureException(error, { store: 'BudgetsStore' })\n return { isSuccess: false }\n }\n }\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { getAccountStartingBalance as a } from "../../utils/AccountUtils/index.es.js";
|
|
2
|
+
import { addDays as s } from "date-fns/addDays";
|
|
3
|
+
import { endOfMonth as i } from "date-fns/endOfMonth";
|
|
4
|
+
import { isBefore as c } from "date-fns/isBefore";
|
|
5
|
+
import { startOfToday as o } from "date-fns/startOfToday";
|
|
6
|
+
import { makeAutoObservable as r } from "mobx";
|
|
7
|
+
import { differenceInDays as l } from "date-fns/differenceInDays";
|
|
8
|
+
var f = class {
|
|
9
|
+
globalStore;
|
|
10
|
+
uiStore;
|
|
11
|
+
constructor(e) {
|
|
12
|
+
this.globalStore = e, this.uiStore = new g(e), r(this);
|
|
13
|
+
}
|
|
14
|
+
completeOnboarding = async () => {
|
|
15
|
+
const e = {
|
|
16
|
+
...this.globalStore.userStore.userProfile,
|
|
17
|
+
has_completed_cash_flow_onboarding: !0
|
|
18
|
+
};
|
|
19
|
+
await this.globalStore.userStore.updateUserProfile(e);
|
|
20
|
+
};
|
|
21
|
+
}, g = class {
|
|
22
|
+
globalStore;
|
|
23
|
+
dateRange = {
|
|
24
|
+
start: o(),
|
|
25
|
+
end: s(o(), 30)
|
|
26
|
+
};
|
|
27
|
+
isDirty = !1;
|
|
28
|
+
constructor(e) {
|
|
29
|
+
this.globalStore = e, r(this);
|
|
30
|
+
}
|
|
31
|
+
get income() {
|
|
32
|
+
return this.globalStore.recurringTransactionsStore.incomeForRange(this.dateRange);
|
|
33
|
+
}
|
|
34
|
+
get upcomingIncome() {
|
|
35
|
+
return this.globalStore.recurringTransactionsStore.upcomingIncomeForRange(this.dateRange);
|
|
36
|
+
}
|
|
37
|
+
get upcomingExpenses() {
|
|
38
|
+
return this.globalStore.recurringTransactionsStore.upcomingExpensesForRange(this.dateRange);
|
|
39
|
+
}
|
|
40
|
+
get nextIncome() {
|
|
41
|
+
return this.globalStore.recurringTransactionsStore.nextIncomeForRange(this.dateRange);
|
|
42
|
+
}
|
|
43
|
+
get selectedCashAccounts() {
|
|
44
|
+
const { selectedAccountGuids: e } = this.globalStore.globalUiStore;
|
|
45
|
+
return this.globalStore.accountStore.visibleCashAccounts.filter((t) => e.includes(t.guid));
|
|
46
|
+
}
|
|
47
|
+
get selectedCashBalance() {
|
|
48
|
+
const e = this.globalStore.appConfig.config.display_available_balance_in_accounts;
|
|
49
|
+
return this.selectedCashAccounts.reduce((t, n) => t + a(n, e), 0);
|
|
50
|
+
}
|
|
51
|
+
get daysUntilNextIncome() {
|
|
52
|
+
return this.nextIncome ? Math.abs(l(o(), this.nextIncome.expectedDate)) : 0;
|
|
53
|
+
}
|
|
54
|
+
get expensesTilNextIncome() {
|
|
55
|
+
return this.upcomingExpenses.filter((e) => c(e.expectedDate, this.nextIncome?.expectedDate || i(/* @__PURE__ */ new Date())));
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
export {
|
|
59
|
+
f as CashflowStore
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/CashflowStore.ts"],"sourcesContent":["import { makeAutoObservable } from 'mobx'\nimport { addDays } from 'date-fns/addDays'\nimport { differenceInDays } from 'date-fns/differenceInDays'\nimport { endOfMonth } from 'date-fns/endOfMonth'\nimport { isBefore } from 'date-fns/isBefore'\nimport { startOfToday } from 'date-fns/startOfToday'\n\nimport type { Account, Recurrence, UserProfile } from '../types'\nimport { getAccountStartingBalance } from '../utils/AccountUtils'\n\nimport { GlobalStore } from './GlobalStore'\n\nexport class CashflowStore {\n globalStore: GlobalStore\n uiStore: UiStore\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.uiStore = new UiStore(globalStore)\n\n makeAutoObservable(this)\n }\n\n completeOnboarding = async () => {\n const updatedUserProfile = {\n ...this.globalStore.userStore.userProfile,\n has_completed_cash_flow_onboarding: true,\n } as UserProfile\n\n await this.globalStore.userStore.updateUserProfile(updatedUserProfile)\n }\n}\n\nclass UiStore {\n globalStore: GlobalStore\n\n // Cashflow is hard-coded to display 30 days starting from today. This is the\n // single source of truth for Cash Flow's window; it intentionally does NOT\n // mutate RecurringTransactionsStore.dateRange, so Cash Flow stays decoupled\n // from other widgets (e.g. Recurring Transactions) that drive that shared range.\n dateRange = { start: startOfToday(), end: addDays(startOfToday(), 30) }\n isDirty = false\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n\n makeAutoObservable(this)\n }\n\n // Recurrence data scoped to Cash Flow's own dateRange, sourced from the\n // range-parameterized helpers on RecurringTransactionsStore. Computeds (not\n // component state) per the project's MobX conventions.\n get income(): Recurrence[] {\n return this.globalStore.recurringTransactionsStore.incomeForRange(this.dateRange)\n }\n\n get upcomingIncome(): Recurrence[] {\n return this.globalStore.recurringTransactionsStore.upcomingIncomeForRange(this.dateRange)\n }\n\n get upcomingExpenses(): Recurrence[] {\n return this.globalStore.recurringTransactionsStore.upcomingExpensesForRange(this.dateRange)\n }\n\n get nextIncome(): Recurrence | undefined {\n return this.globalStore.recurringTransactionsStore.nextIncomeForRange(this.dateRange)\n }\n\n // Visible cash accounts that are currently selected in the account filter.\n // Computed (single source of truth) so it stays in sync with account data and\n // the filter without effect-based syncing in components.\n get selectedCashAccounts(): Account[] {\n const { selectedAccountGuids } = this.globalStore.globalUiStore\n return this.globalStore.accountStore.visibleCashAccounts.filter((account) =>\n selectedAccountGuids.includes(account.guid),\n )\n }\n\n // Total spendable/starting balance across the selected cash accounts, using\n // the shared per-account balance rule (available vs current balance).\n get selectedCashBalance(): number {\n const showAvailableBalance =\n this.globalStore.appConfig.config.display_available_balance_in_accounts\n return this.selectedCashAccounts.reduce(\n (total, account) => total + getAccountStartingBalance(account, showAvailableBalance),\n 0,\n )\n }\n // Returns the number of days until the next income activity or 0 if there is no income activity\n get daysUntilNextIncome() {\n return this.nextIncome\n ? Math.abs(differenceInDays(startOfToday(), this.nextIncome.expectedDate))\n : 0\n }\n\n // Returns the expenses (Activities) until the next income activity or the end of the month\n // if there is no income activity\n get expensesTilNextIncome() {\n return this.upcomingExpenses.filter((a) =>\n isBefore(a.expectedDate, this.nextIncome?.expectedDate || endOfMonth(new Date())),\n )\n }\n}\n"],"mappings":";;;;;;;AAYA,IAAa,IAAb,MAA2B;AAAA,EACzB;AAAA,EACA;AAAA,EAEA,YAAY,GAA0B;AACpC,SAAK,cAAc,GACnB,KAAK,UAAU,IAAI,EAAQ,CAAW,GAEtC,EAAmB,IAAI;AAAA,EACzB;AAAA,EAEA,qBAAqB,YAAY;AAC/B,UAAM,IAAqB;AAAA,MACzB,GAAG,KAAK,YAAY,UAAU;AAAA,MAC9B,oCAAoC;AAAA,IACtC;AAEA,UAAM,KAAK,YAAY,UAAU,kBAAkB,CAAkB;AAAA,EACvE;AACF,GAEM,IAAN,MAAc;AAAA,EACZ;AAAA,EAMA,YAAY;AAAA,IAAE,OAAO,EAAa;AAAA,IAAG,KAAK,EAAQ,EAAa,GAAG,EAAE;AAAA,EAAE;AAAA,EACtE,UAAU;AAAA,EAEV,YAAY,GAA0B;AACpC,SAAK,cAAc,GAEnB,EAAmB,IAAI;AAAA,EACzB;AAAA,EAKA,IAAI,SAAuB;AACzB,WAAO,KAAK,YAAY,2BAA2B,eAAe,KAAK,SAAS;AAAA,EAClF;AAAA,EAEA,IAAI,iBAA+B;AACjC,WAAO,KAAK,YAAY,2BAA2B,uBAAuB,KAAK,SAAS;AAAA,EAC1F;AAAA,EAEA,IAAI,mBAAiC;AACnC,WAAO,KAAK,YAAY,2BAA2B,yBAAyB,KAAK,SAAS;AAAA,EAC5F;AAAA,EAEA,IAAI,aAAqC;AACvC,WAAO,KAAK,YAAY,2BAA2B,mBAAmB,KAAK,SAAS;AAAA,EACtF;AAAA,EAKA,IAAI,uBAAkC;AACpC,UAAM,EAAE,sBAAA,EAAA,IAAyB,KAAK,YAAY;AAClD,WAAO,KAAK,YAAY,aAAa,oBAAoB,OAAA,CAAQ,MAC/D,EAAqB,SAAS,EAAQ,IAAI,CAC5C;AAAA,EACF;AAAA,EAIA,IAAI,sBAA8B;AAChC,UAAM,IACJ,KAAK,YAAY,UAAU,OAAO;AACpC,WAAO,KAAK,qBAAqB,OAAA,CAC9B,GAAO,MAAY,IAAQ,EAA0B,GAAS,CAAoB,GACnF,CACF;AAAA,EACF;AAAA,EAEA,IAAI,sBAAsB;AACxB,WAAO,KAAK,aACR,KAAK,IAAI,EAAiB,EAAa,GAAG,KAAK,WAAW,YAAY,CAAC,IACvE;AAAA,EACN;AAAA,EAIA,IAAI,wBAAwB;AAC1B,WAAO,KAAK,iBAAiB,OAAA,CAAQ,MACnC,EAAS,EAAE,cAAc,KAAK,YAAY,gBAAgB,EAAW,oBAAI,KAAK,CAAC,CAAC,CAClF;AAAA,EACF;AACF"}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { CategoryGuidToName as h, CategoryGuids as l } from "../../constants/Category/index.es.js";
|
|
2
|
+
import { CategoryApi as n } from "../../api/CategoryApi/index.es.js";
|
|
3
|
+
import { augmentCategories as y, getDetailedCategoryTransactions as u } from "../../utils/CategoryUtil/index.es.js";
|
|
4
|
+
import { endOfMonth as g } from "date-fns/endOfMonth";
|
|
5
|
+
import { startOfMonth as C } from "date-fns/startOfMonth";
|
|
6
|
+
import { subMonths as c } from "date-fns/subMonths";
|
|
7
|
+
import { makeAutoObservable as d, runInAction as T } from "mobx";
|
|
8
|
+
import { getUnixTime as i } from "date-fns/getUnixTime";
|
|
9
|
+
var R = class {
|
|
10
|
+
globalStore;
|
|
11
|
+
uiStore;
|
|
12
|
+
api = new n("/", "");
|
|
13
|
+
categories = [];
|
|
14
|
+
categoriesLoaded = !1;
|
|
15
|
+
categoriesLoading = !1;
|
|
16
|
+
dateRangeCategoryTotals = [];
|
|
17
|
+
monthlyCategoryTotals = [];
|
|
18
|
+
dateRangeTotalsLoaded = !1;
|
|
19
|
+
dateRangeTotalsLoading = !1;
|
|
20
|
+
monthlyTotalsLoaded = !1;
|
|
21
|
+
monthlyTotalsLoading = !1;
|
|
22
|
+
constructor(e) {
|
|
23
|
+
this.globalStore = e, this.uiStore = new S(), this.api = new n(e.endpoint, e.sessionToken, e.onError), d(this);
|
|
24
|
+
}
|
|
25
|
+
get detailedCategories() {
|
|
26
|
+
return this.globalStore.isInitialized ? y(this.categories, this.globalStore.copyStore.copy.categories, this.dateRangeCategoryTotals, this.monthlyCategoryTotals) : [];
|
|
27
|
+
}
|
|
28
|
+
get detailedCategoriesWithTransactions() {
|
|
29
|
+
return u(this.detailedCategories, this.globalStore.transactionStore.sortedTransactions);
|
|
30
|
+
}
|
|
31
|
+
get incomeCategories() {
|
|
32
|
+
return this.detailedCategories.filter((e) => e.is_income);
|
|
33
|
+
}
|
|
34
|
+
get spendCategories() {
|
|
35
|
+
return this.detailedCategories.filter((e) => !e.is_income && !e.isTransfer && e.guid !== l.INVESTMENTS);
|
|
36
|
+
}
|
|
37
|
+
get transferCategories() {
|
|
38
|
+
return this.detailedCategories.filter((e) => e.isTransfer);
|
|
39
|
+
}
|
|
40
|
+
setCategories = (e) => {
|
|
41
|
+
this.categories = e, this.categoriesLoading = !1, this.categoriesLoaded = !0;
|
|
42
|
+
};
|
|
43
|
+
setMonthlyCategoryTotals = (e) => {
|
|
44
|
+
this.monthlyCategoryTotals = e, this.monthlyTotalsLoading = !1, this.monthlyTotalsLoaded = !0;
|
|
45
|
+
};
|
|
46
|
+
setDateRangeCategoryTotals = (e) => {
|
|
47
|
+
this.dateRangeCategoryTotals = e, this.dateRangeTotalsLoading = !1, this.dateRangeTotalsLoaded = !0;
|
|
48
|
+
};
|
|
49
|
+
get trendsCategories() {
|
|
50
|
+
return this.detailedCategories.filter((e) => e.totalAmount !== 0).filter((e) => e.guid !== l.INVESTMENTS && e.guid !== l.TRANSFER);
|
|
51
|
+
}
|
|
52
|
+
addCategory = async (e, t) => {
|
|
53
|
+
const a = {
|
|
54
|
+
name: e,
|
|
55
|
+
parent_guid: t
|
|
56
|
+
};
|
|
57
|
+
try {
|
|
58
|
+
await this.api.addCategory(a), await this.loadCategories();
|
|
59
|
+
} catch (o) {
|
|
60
|
+
console.error("Error occurred while adding category:", o), this.globalStore.captureException(o, { store: "CategoryStore" });
|
|
61
|
+
}
|
|
62
|
+
};
|
|
63
|
+
loadCategories = async () => {
|
|
64
|
+
if (!this.categoriesLoading) {
|
|
65
|
+
this.categoriesLoading = !0;
|
|
66
|
+
try {
|
|
67
|
+
const e = await this.api.getCategories();
|
|
68
|
+
this.setCategories(e);
|
|
69
|
+
} catch (e) {
|
|
70
|
+
console.error("Error occurred while getting categories:", e), this.globalStore.captureException(e, { store: "CategoryStore" }), T(() => {
|
|
71
|
+
this.categoriesLoading = !1;
|
|
72
|
+
});
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
};
|
|
76
|
+
loadDateRangeCategoryTotals = async (e, t, a) => {
|
|
77
|
+
if (!this.dateRangeTotalsLoading) {
|
|
78
|
+
this.dateRangeTotalsLoading = !0;
|
|
79
|
+
try {
|
|
80
|
+
const o = await this.api.getDateRangeCategoryTotals(i(t), i(a), e);
|
|
81
|
+
this.setDateRangeCategoryTotals(o);
|
|
82
|
+
} catch (o) {
|
|
83
|
+
console.error("Error occurred while getting date range category totals:", o), this.globalStore.captureException(o, { store: "CategoryStore" }), this.setDateRangeCategoryTotals([]);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
};
|
|
87
|
+
loadMonthlyCategoryTotals = async (e = this.globalStore.globalUiStore.selectedAccounts, t, a) => {
|
|
88
|
+
if (this.monthlyTotalsLoading) return;
|
|
89
|
+
this.monthlyTotalsLoading = !0;
|
|
90
|
+
const o = i(C(t ?? c(/* @__PURE__ */ new Date(), 11))), s = i(g(a ?? /* @__PURE__ */ new Date()));
|
|
91
|
+
try {
|
|
92
|
+
const r = await this.api.getMonthlyCategoryTotals(o, s, e);
|
|
93
|
+
this.setMonthlyCategoryTotals(r);
|
|
94
|
+
} catch (r) {
|
|
95
|
+
console.error("Error occurred while getting monthly category totals:", r), this.globalStore.captureException(r, { store: "CategoryStore" }), this.setMonthlyCategoryTotals([]);
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
reloadCategoryTotals = async (e, t, a) => {
|
|
99
|
+
const o = t ?? c(/* @__PURE__ */ new Date(), 11), s = a ?? g(/* @__PURE__ */ new Date());
|
|
100
|
+
try {
|
|
101
|
+
await Promise.all([this.loadMonthlyCategoryTotals(e, o, s), this.loadDateRangeCategoryTotals(e, o, s)]);
|
|
102
|
+
} catch (r) {
|
|
103
|
+
console.error("Error occurred while getting category totals:", r), this.globalStore.captureException(r, { store: "CategoryStore" });
|
|
104
|
+
}
|
|
105
|
+
};
|
|
106
|
+
removeCategory = async (e) => {
|
|
107
|
+
try {
|
|
108
|
+
await this.api.removeCategory(e), await this.loadCategories();
|
|
109
|
+
} catch (t) {
|
|
110
|
+
console.error("Error occurred while removing category:", t), this.globalStore.captureException(t, { store: "CategoryStore" });
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
updateCategory = async (e) => {
|
|
114
|
+
try {
|
|
115
|
+
await this.api.updateCategory(e), await this.loadCategories();
|
|
116
|
+
} catch (t) {
|
|
117
|
+
console.error("Error occurred while updating category:", t), this.globalStore.captureException(t, { store: "CategoryStore" });
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
getCategoryName = (e) => this.categories.find((t) => t.guid === e)?.name ?? h[e];
|
|
121
|
+
}, S = class {
|
|
122
|
+
expandedGuid = null;
|
|
123
|
+
selectedGuid = null;
|
|
124
|
+
searchValue = "";
|
|
125
|
+
showSelected = !0;
|
|
126
|
+
shouldDisableDrawerScroll = !1;
|
|
127
|
+
unselectable = [];
|
|
128
|
+
unselectableText = "";
|
|
129
|
+
savedOnSelect;
|
|
130
|
+
constructor() {
|
|
131
|
+
d(this);
|
|
132
|
+
}
|
|
133
|
+
setExpandedGuid = (e) => this.expandedGuid = e;
|
|
134
|
+
setSelectedGuid = (e) => this.selectedGuid = e;
|
|
135
|
+
setSearchValue = (e) => this.searchValue = e;
|
|
136
|
+
setShouldDisableDrawerScroll = (e) => this.shouldDisableDrawerScroll = e;
|
|
137
|
+
setShowSelected = (e) => this.showSelected = e;
|
|
138
|
+
setUnselectable = (e) => this.unselectable = e;
|
|
139
|
+
setUnselectableText = (e) => this.unselectableText = e;
|
|
140
|
+
onSelect = (e) => this.savedOnSelect(e);
|
|
141
|
+
setOnSelect = (e) => this.savedOnSelect = e;
|
|
142
|
+
};
|
|
143
|
+
export {
|
|
144
|
+
R as CategoryStore
|
|
145
|
+
};
|
|
146
|
+
|
|
147
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/CategoryStore.ts"],"sourcesContent":["import { makeAutoObservable, runInAction } from 'mobx'\nimport { getUnixTime } from 'date-fns/getUnixTime'\nimport { subMonths } from 'date-fns/subMonths'\nimport { startOfMonth } from 'date-fns/startOfMonth'\nimport { endOfMonth } from 'date-fns/endOfMonth'\n\nimport { CategoryGuids, CategoryGuidToName } from '../constants'\nimport { CategoryApi } from '../api'\n\nimport { GlobalStore } from './GlobalStore'\n\nimport type {\n Account,\n Category,\n DetailedCategory,\n DetailedCategoryWithTransactions,\n DateRangeCategoryTotals,\n MonthlyCategoryTotals,\n} from '../types'\n\nimport { augmentCategories, getDetailedCategoryTransactions } from '../utils/CategoryUtil'\n\nexport class CategoryStore {\n globalStore: GlobalStore\n uiStore: UiStore\n api = new CategoryApi('/', '')\n\n categories: Category[] = []\n categoriesLoaded: boolean = false\n categoriesLoading: boolean = false\n dateRangeCategoryTotals: DateRangeCategoryTotals[] = []\n monthlyCategoryTotals: MonthlyCategoryTotals[] = []\n\n dateRangeTotalsLoaded = false\n dateRangeTotalsLoading = false\n monthlyTotalsLoaded = false\n monthlyTotalsLoading = false\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.uiStore = new UiStore()\n this.api = new CategoryApi(globalStore.endpoint, globalStore.sessionToken, globalStore.onError)\n\n makeAutoObservable(this)\n }\n\n get detailedCategories(): DetailedCategory[] {\n if (!this.globalStore.isInitialized) return []\n return augmentCategories(\n this.categories,\n this.globalStore.copyStore.copy.categories,\n this.dateRangeCategoryTotals,\n this.monthlyCategoryTotals,\n )\n }\n\n get detailedCategoriesWithTransactions(): DetailedCategoryWithTransactions[] {\n return getDetailedCategoryTransactions(\n this.detailedCategories,\n this.globalStore.transactionStore.sortedTransactions,\n )\n }\n\n get incomeCategories(): DetailedCategory[] {\n return this.detailedCategories.filter((c) => c.is_income)\n }\n\n get spendCategories(): DetailedCategory[] {\n return this.detailedCategories.filter(\n (c) => !c.is_income && !c.isTransfer && c.guid !== CategoryGuids.INVESTMENTS,\n )\n }\n\n get transferCategories(): DetailedCategory[] {\n return this.detailedCategories.filter((c) => c.isTransfer)\n }\n\n setCategories = (categories: Category[]) => {\n this.categories = categories\n this.categoriesLoading = false\n this.categoriesLoaded = true\n }\n\n setMonthlyCategoryTotals = (totals: MonthlyCategoryTotals[]) => {\n this.monthlyCategoryTotals = totals\n this.monthlyTotalsLoading = false\n this.monthlyTotalsLoaded = true\n }\n\n setDateRangeCategoryTotals = (totals: DateRangeCategoryTotals[]) => {\n this.dateRangeCategoryTotals = totals\n this.dateRangeTotalsLoading = false\n this.dateRangeTotalsLoaded = true\n }\n\n get trendsCategories(): DetailedCategory[] {\n return this.detailedCategories\n .filter((c) => c.totalAmount !== 0)\n .filter((c) => c.guid !== CategoryGuids.INVESTMENTS && c.guid !== CategoryGuids.TRANSFER)\n }\n\n addCategory = async (name: string, parentGuid: string) => {\n const category = { name, parent_guid: parentGuid } as Category\n\n try {\n await this.api.addCategory(category)\n await this.loadCategories()\n } catch (error) {\n console.error('Error occurred while adding category:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n }\n }\n\n loadCategories = async () => {\n if (this.categoriesLoading) return\n\n this.categoriesLoading = true\n try {\n const categories = await this.api.getCategories()\n this.setCategories(categories)\n } catch (error) {\n console.error('Error occurred while getting categories:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n runInAction(() => {\n this.categoriesLoading = false\n })\n }\n }\n\n loadDateRangeCategoryTotals = async (accounts: Account[], startDate: Date, endDate: Date) => {\n if (this.dateRangeTotalsLoading) return\n\n this.dateRangeTotalsLoading = true\n try {\n const totals = await this.api.getDateRangeCategoryTotals(\n getUnixTime(startDate),\n getUnixTime(endDate),\n accounts,\n )\n this.setDateRangeCategoryTotals(totals)\n } catch (error) {\n console.error('Error occurred while getting date range category totals:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n this.setDateRangeCategoryTotals([])\n }\n }\n\n loadMonthlyCategoryTotals = async (\n accounts: Account[] = this.globalStore.globalUiStore.selectedAccounts,\n startDate?: Date,\n endDate?: Date,\n ) => {\n if (this.monthlyTotalsLoading) return\n\n this.monthlyTotalsLoading = true\n const start = getUnixTime(startOfMonth(startDate ?? subMonths(new Date(), 11)))\n const end = getUnixTime(endOfMonth(endDate ?? new Date()))\n\n try {\n const totals = await this.api.getMonthlyCategoryTotals(start, end, accounts)\n this.setMonthlyCategoryTotals(totals)\n } catch (error) {\n console.error('Error occurred while getting monthly category totals:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n // Setter clears monthlyTotalsLoading and marks loaded so the UI recovers\n // and retries aren't blocked. (MEW-3538)\n this.setMonthlyCategoryTotals([])\n }\n }\n\n reloadCategoryTotals = async (accounts: Account[], startDate?: Date, endDate?: Date) => {\n const start = startDate ?? subMonths(new Date(), 11)\n const end = endDate ?? endOfMonth(new Date())\n try {\n await Promise.all([\n this.loadMonthlyCategoryTotals(accounts, start, end),\n this.loadDateRangeCategoryTotals(accounts, start, end),\n ])\n } catch (error) {\n console.error('Error occurred while getting category totals:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n }\n }\n\n removeCategory = async (guid: string) => {\n try {\n await this.api.removeCategory(guid)\n await this.loadCategories()\n } catch (error) {\n console.error('Error occurred while removing category:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n }\n }\n\n updateCategory = async (category: Category) => {\n try {\n await this.api.updateCategory(category)\n await this.loadCategories()\n } catch (error) {\n console.error('Error occurred while updating category:', error)\n this.globalStore.captureException(error, { store: 'CategoryStore' })\n }\n }\n\n // TODO: Remove this after refactoring Trends components to use detailedCategories\n getCategoryName = (guid: string) => {\n const category = this.categories.find((c) => c.guid === guid)\n return category?.name ?? CategoryGuidToName[guid]\n }\n}\n\n// TODO: Move into CategoryStore\nclass UiStore {\n expandedGuid: string | null = null\n selectedGuid: string | null = null\n searchValue = ''\n showSelected = true\n shouldDisableDrawerScroll = false\n unselectable: string[] = []\n unselectableText = ''\n\n savedOnSelect: any // todo\n\n constructor() {\n makeAutoObservable(this)\n }\n\n setExpandedGuid = (guid: string | null) => (this.expandedGuid = guid)\n\n setSelectedGuid = (guid: string | null) => (this.selectedGuid = guid)\n\n setSearchValue = (value: string) => (this.searchValue = value)\n\n setShouldDisableDrawerScroll = (shouldDisable: boolean) =>\n (this.shouldDisableDrawerScroll = shouldDisable)\n\n setShowSelected = (showSelected: boolean) => (this.showSelected = showSelected)\n\n setUnselectable = (unselectable: string[]) => (this.unselectable = unselectable)\n\n setUnselectableText = (text: string) => (this.unselectableText = text)\n\n onSelect = (guid: string) => this.savedOnSelect(guid)\n\n setOnSelect = (callback: any) => (this.savedOnSelect = callback)\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { WidgetApi as e } from "../../api/WidgetApi/index.es.js";
|
|
2
|
+
import { makeAutoObservable as r } from "mobx";
|
|
3
|
+
var d = class {
|
|
4
|
+
globalStore;
|
|
5
|
+
widgetApi = new e("/", "");
|
|
6
|
+
constructor(t) {
|
|
7
|
+
this.globalStore = t, this.widgetApi = new e(t.endpoint, t.sessionToken), r(this);
|
|
8
|
+
}
|
|
9
|
+
loadWidget = async ({ widget: t = "connect_widget", mode: i = "light", ...o }) => await this.widgetApi.requestWidgetUrl({ widget_url: {
|
|
10
|
+
widget_type: t,
|
|
11
|
+
color_scheme: i,
|
|
12
|
+
...o
|
|
13
|
+
} });
|
|
14
|
+
};
|
|
15
|
+
export {
|
|
16
|
+
d as ConnectStore
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=index.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/stores/ConnectStore.ts"],"sourcesContent":["import { makeAutoObservable } from 'mobx'\n\nimport { WidgetApi } from '../api'\n\nimport { GlobalStore } from './GlobalStore'\n\nexport class ConnectStore {\n globalStore: GlobalStore\n widgetApi: WidgetApi = new WidgetApi('/', '')\n\n constructor(globalStore: GlobalStore) {\n this.globalStore = globalStore\n this.widgetApi = new WidgetApi(globalStore.endpoint, globalStore.sessionToken)\n\n makeAutoObservable(this)\n }\n\n loadWidget = async ({ widget = 'connect_widget', mode = 'light', ...rest }) => {\n return await this.widgetApi.requestWidgetUrl({\n widget_url: { widget_type: widget, color_scheme: mode, ...rest },\n })\n }\n}\n"],"mappings":";;AAMA,IAAa,IAAb,MAA0B;AAAA,EACxB;AAAA,EACA,YAAuB,IAAI,EAAU,KAAK,EAAE;AAAA,EAE5C,YAAY,GAA0B;AACpC,SAAK,cAAc,GACnB,KAAK,YAAY,IAAI,EAAU,EAAY,UAAU,EAAY,YAAY,GAE7E,EAAmB,IAAI;AAAA,EACzB;AAAA,EAEA,aAAa,OAAO,EAAE,QAAA,IAAS,kBAAkB,MAAA,IAAO,SAAS,GAAG,EAAA,MAC3D,MAAM,KAAK,UAAU,iBAAiB,EAC3C,YAAY;AAAA,IAAE,aAAa;AAAA,IAAQ,cAAc;AAAA,IAAM,GAAG;AAAA,EAAK,EACjE,CAAC;AAEL"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { DebtPriority as i } from "../../constants/Debts/index.es.js";
|
|
2
|
+
import { loadDebts as a } from "../../utils/DebtUtils/index.es.js";
|
|
3
|
+
import { makeAutoObservable as o } from "mobx";
|
|
4
|
+
var d = class {
|
|
5
|
+
globalStore;
|
|
6
|
+
uiStore;
|
|
7
|
+
constructor(t) {
|
|
8
|
+
this.globalStore = t, this.uiStore = new l(), o(this);
|
|
9
|
+
}
|
|
10
|
+
get debts() {
|
|
11
|
+
const { visibleDebtAccounts: t } = this.globalStore.accountStore, { selectedAccountGuids: e } = this.globalStore.globalUiStore, { debtGoals: r } = this.globalStore.goalStore;
|
|
12
|
+
return a(e.length ? t.filter((s) => e.includes(s.guid)) : t, r);
|
|
13
|
+
}
|
|
14
|
+
get totalMonthlyPayments() {
|
|
15
|
+
return this.debts.map((t) => Number(t.monthly_payment)).filter((t) => !isNaN(t)).reduce((t, e) => t + e, 0);
|
|
16
|
+
}
|
|
17
|
+
}, l = class {
|
|
18
|
+
isLoading = !1;
|
|
19
|
+
selectedDebtChartData = {};
|
|
20
|
+
selectedDebtPriority = i.LOWEST_BALANCE;
|
|
21
|
+
constructor() {
|
|
22
|
+
o(this);
|
|
23
|
+
}
|
|
24
|
+
get showError() {
|
|
25
|
+
const { interest_rate: t, monthly_payment: e } = this.selectedDebtChartData;
|
|
26
|
+
return t === void 0 || e === void 0;
|
|
27
|
+
}
|
|
28
|
+
get showCompleted() {
|
|
29
|
+
return this.selectedDebtChartData.is_paid_off;
|
|
30
|
+
}
|
|
31
|
+
setIsLoading = (t) => this.isLoading = t;
|
|
32
|
+
setSelectedDebtChartData = (t) => this.selectedDebtChartData = t;
|
|
33
|
+
setSelectedDebtPriority = (t) => this.selectedDebtPriority = t;
|
|
34
|
+
};
|
|
35
|
+
export {
|
|
36
|
+
d as DebtsStore,
|
|
37
|
+
l as UiStore
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
//# sourceMappingURL=index.es.js.map
|