@mx-cartographer/experiences 9.2.4-alpha.al5 → 9.3.0-alph.bb2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts/AccountsMiniWidget.es.js +56 -0
- package/dist/accounts/AccountsMiniWidget.es.js.map +1 -0
- package/dist/accounts/AccountsWidget.es.js +75 -0
- package/dist/accounts/AccountsWidget.es.js.map +1 -0
- package/dist/accounts/ConnectMiniWidget.es.js +35 -0
- package/dist/accounts/ConnectMiniWidget.es.js.map +1 -0
- package/dist/accounts/components/AccountListItem.es.js +91 -0
- package/dist/accounts/components/AccountListItem.es.js.map +1 -0
- package/dist/accounts/components/AccountsList.es.js +129 -0
- package/dist/accounts/components/AccountsList.es.js.map +1 -0
- package/dist/accounts/components/AccountsListCompact.es.js +86 -0
- package/dist/accounts/components/AccountsListCompact.es.js.map +1 -0
- package/dist/accounts/components/ConnectImage.es.js +388 -0
- package/dist/accounts/components/ConnectImage.es.js.map +1 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js +27 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js.map +1 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js +23 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js.map +1 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js +52 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js +32 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +158 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js +119 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js +38 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js +81 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js +22 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +37 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js.map +1 -0
- package/dist/accounts/constants/Accounts.d.ts +1 -4
- package/dist/accounts/constants/Accounts.es.js +10 -0
- package/dist/accounts/constants/Accounts.es.js.map +1 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js +11 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js.map +1 -0
- package/dist/accounts/hooks/useUiStore.es.js +12 -0
- package/dist/accounts/hooks/useUiStore.es.js.map +1 -0
- package/dist/accounts/index.es.js +23 -784
- package/dist/accounts/utils/AccountDetails.es.js +28 -0
- package/dist/accounts/utils/AccountDetails.es.js.map +1 -0
- package/dist/accounts/utils/AccountFields.es.js +131 -0
- package/dist/accounts/utils/AccountFields.es.js.map +1 -0
- package/dist/accounts/utils/getConnectionMessages.es.js +131 -0
- package/dist/accounts/utils/getConnectionMessages.es.js.map +1 -0
- package/dist/analytics/SurveyMiniWidget.es.js +117 -0
- package/dist/analytics/SurveyMiniWidget.es.js.map +1 -0
- package/dist/analytics/components/OpenTextField.es.js +23 -0
- package/dist/analytics/components/OpenTextField.es.js.map +1 -0
- package/dist/analytics/components/RatingScale.es.js +56 -0
- package/dist/analytics/components/RatingScale.es.js.map +1 -0
- package/dist/analytics/index.es.js +2 -151
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js +100 -0
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js.map +1 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js +143 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js.map +1 -0
- package/dist/budgets/components/AddBudgets.es.js +31 -0
- package/dist/budgets/components/AddBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleBudgets.es.js +47 -0
- package/dist/budgets/components/BubbleBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart.es.js +59 -0
- package/dist/budgets/components/BubbleChart.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js +106 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js +126 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js.map +1 -0
- package/dist/budgets/components/BudgetList.es.js +44 -0
- package/dist/budgets/components/BudgetList.es.js.map +1 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js +109 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js.map +1 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js +54 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/Overview.es.js +129 -0
- package/dist/budgets/components/Overview.es.js.map +1 -0
- package/dist/budgets/components/addbudget/Header.es.js +70 -0
- package/dist/budgets/components/addbudget/Header.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js +62 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js.map +1 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +50 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js +128 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js +29 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js +98 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js +66 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/Header.es.js +48 -0
- package/dist/budgets/components/budgetdetails/Header.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +98 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js +71 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js +62 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js +38 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js +27 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js +84 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js.map +1 -0
- package/dist/budgets/index.es.js +6 -1400
- package/dist/budgets/utils/BubblesSVG.es.js +73 -0
- package/dist/budgets/utils/BubblesSVG.es.js.map +1 -0
- package/dist/cashflow/CashflowMiniWidget.es.js +45 -0
- package/dist/cashflow/CashflowMiniWidget.es.js.map +1 -0
- package/dist/cashflow/CashflowOnboarding.es.js +224 -0
- package/dist/cashflow/CashflowOnboarding.es.js.map +1 -0
- package/dist/cashflow/CashflowWidget.es.js +101 -0
- package/dist/cashflow/CashflowWidget.es.js.map +1 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js +45 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowContent.es.js +63 -0
- package/dist/cashflow/components/CashflowContent.es.js.map +1 -0
- package/dist/cashflow/components/CashflowHeading.es.js +101 -0
- package/dist/cashflow/components/CashflowHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js +167 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js +37 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js +57 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js.map +1 -0
- package/dist/cashflow/components/DetailsFooter.es.js +21 -0
- package/dist/cashflow/components/DetailsFooter.es.js.map +1 -0
- package/dist/cashflow/components/DetailsTab.es.js +90 -0
- package/dist/cashflow/components/DetailsTab.es.js.map +1 -0
- package/dist/cashflow/components/RemainingCash.es.js +35 -0
- package/dist/cashflow/components/RemainingCash.es.js.map +1 -0
- package/dist/cashflow/components/SummaryTab.es.js +258 -0
- package/dist/cashflow/components/SummaryTab.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js +128 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js +26 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js.map +1 -0
- package/dist/cashflow/constants/CashflowImages.es.js +9 -0
- package/dist/cashflow/constants/CashflowImages.es.js.map +1 -0
- package/dist/cashflow/context/hooks.d.ts +1 -1
- package/dist/cashflow/context/hooks.es.js +12 -0
- package/dist/cashflow/context/hooks.es.js.map +1 -0
- package/dist/cashflow/index.es.js +6 -1058
- package/dist/cashflow/util/Filters.es.js +9 -0
- package/dist/cashflow/util/Filters.es.js.map +1 -0
- package/dist/categories/components/CategoryList.es.js +38 -0
- package/dist/categories/components/CategoryList.es.js.map +1 -0
- package/dist/categories/components/CategoryRow.es.js +65 -0
- package/dist/categories/components/CategoryRow.es.js.map +1 -0
- package/dist/categories/components/CategorySelector.es.js +39 -0
- package/dist/categories/components/CategorySelector.es.js.map +1 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js +24 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js +46 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js +61 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js +26 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js +29 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js.map +1 -0
- package/dist/categories/components/SubcategoryList.es.js +41 -0
- package/dist/categories/components/SubcategoryList.es.js.map +1 -0
- package/dist/categories/components/SubcategoryRow.es.js +90 -0
- package/dist/categories/components/SubcategoryRow.es.js.map +1 -0
- package/dist/categories/constants/OnClickEvents.es.js +18 -0
- package/dist/categories/constants/OnClickEvents.es.js.map +1 -0
- package/dist/categories/context/hooks.es.js +12 -0
- package/dist/categories/context/hooks.es.js.map +1 -0
- package/dist/categories/index.es.js +8 -6
- package/dist/common/components/Banner.es.js +39 -0
- package/dist/common/components/Banner.es.js.map +1 -0
- package/dist/common/components/ConnectCard.es.js +58 -0
- package/dist/common/components/ConnectCard.es.js.map +1 -0
- package/dist/common/components/ConnectDrawer.es.js +53 -0
- package/dist/common/components/ConnectDrawer.es.js.map +1 -0
- package/dist/common/components/ConnectStatus.d.ts +6 -0
- package/dist/common/components/ConnectStatus.es.js +39 -0
- package/dist/common/components/ConnectStatus.es.js.map +1 -0
- package/dist/common/components/CurrencyDialog.es.js +119 -0
- package/dist/common/components/CurrencyDialog.es.js.map +1 -0
- package/dist/common/components/CurrencyInput.es.js +49 -0
- package/dist/common/components/CurrencyInput.es.js.map +1 -0
- package/dist/common/components/CurrencyText.es.js +17 -0
- package/dist/common/components/CurrencyText.es.js.map +1 -0
- package/dist/common/components/DataRow.es.js +53 -0
- package/dist/common/components/DataRow.es.js.map +1 -0
- package/dist/common/components/EmptyState.es.js +68 -0
- package/dist/common/components/EmptyState.es.js.map +1 -0
- package/dist/common/components/Error.es.js +86 -0
- package/dist/common/components/Error.es.js.map +1 -0
- package/dist/common/components/ErrorBoundary.es.js +26 -0
- package/dist/common/components/ErrorBoundary.es.js.map +1 -0
- package/dist/common/components/GlobalAccountFilter.es.js +97 -0
- package/dist/common/components/GlobalAccountFilter.es.js.map +1 -0
- package/dist/common/components/IconBacking.es.js +25 -0
- package/dist/common/components/IconBacking.es.js.map +1 -0
- package/dist/common/components/InformationTooltip.es.js +49 -0
- package/dist/common/components/InformationTooltip.es.js.map +1 -0
- package/dist/common/components/ListItemAction.es.js +55 -0
- package/dist/common/components/ListItemAction.es.js.map +1 -0
- package/dist/common/components/ListItemRow.es.js +65 -0
- package/dist/common/components/ListItemRow.es.js.map +1 -0
- package/dist/common/components/ListItemWrapper.es.js +37 -0
- package/dist/common/components/ListItemWrapper.es.js.map +1 -0
- package/dist/common/components/Loader.es.js +17 -0
- package/dist/common/components/Loader.es.js.map +1 -0
- package/dist/common/components/MicroWidgetContainer.es.js +60 -0
- package/dist/common/components/MicroWidgetContainer.es.js.map +1 -0
- package/dist/common/components/MiniWidgetContainer.es.js +77 -0
- package/dist/common/components/MiniWidgetContainer.es.js.map +1 -0
- package/dist/common/components/ResponsiveButton.es.js +37 -0
- package/dist/common/components/ResponsiveButton.es.js.map +1 -0
- package/dist/common/components/SearchBox.es.js +59 -0
- package/dist/common/components/SearchBox.es.js.map +1 -0
- package/dist/common/components/Select.d.ts +1 -1
- package/dist/common/components/Select.es.js +33 -0
- package/dist/common/components/Select.es.js.map +1 -0
- package/dist/common/components/SelectionBox.es.js +45 -0
- package/dist/common/components/SelectionBox.es.js.map +1 -0
- package/dist/common/components/SkeletonLoader.es.js +104 -0
- package/dist/common/components/SkeletonLoader.es.js.map +1 -0
- package/dist/common/components/SubheaderRow.es.js +23 -0
- package/dist/common/components/SubheaderRow.es.js.map +1 -0
- package/dist/common/components/TabContentContainer.es.js +14 -0
- package/dist/common/components/TabContentContainer.es.js.map +1 -0
- package/dist/common/components/TinyBarChart.d.ts +1 -1
- package/dist/common/components/TinyBarChart.es.js +81 -0
- package/dist/common/components/TinyBarChart.es.js.map +1 -0
- package/dist/common/components/WidgetContainer.es.js +146 -0
- package/dist/common/components/WidgetContainer.es.js.map +1 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js +38 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js.map +1 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js +50 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js.map +1 -0
- package/dist/common/components/calendar/Calendar.es.js +148 -0
- package/dist/common/components/calendar/Calendar.es.js.map +1 -0
- package/dist/common/components/calendar/Day.es.js +82 -0
- package/dist/common/components/calendar/Day.es.js.map +1 -0
- package/dist/common/components/calendar/Header.es.js +42 -0
- package/dist/common/components/calendar/Header.es.js.map +1 -0
- package/dist/common/components/charts/Donut.es.js +82 -0
- package/dist/common/components/charts/Donut.es.js.map +1 -0
- package/dist/common/components/charts/LineChart.es.js +195 -0
- package/dist/common/components/charts/LineChart.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart.es.js.map +1 -0
- package/dist/common/components/charts/StatusBar.es.js +25 -0
- package/dist/common/components/charts/StatusBar.es.js.map +1 -0
- package/dist/common/components/charts/chartSlotProps.d.ts +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js +95 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js +27 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js +56 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js +138 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js.map +1 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js +26 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js +31 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js +97 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js +54 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js +51 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js.map +1 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js +262 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js.map +1 -0
- package/dist/common/components/dialog/Dialog.es.js +58 -0
- package/dist/common/components/dialog/Dialog.es.js.map +1 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js +53 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js.map +1 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js +50 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js.map +1 -0
- package/dist/common/components/drawer/Drawer.es.js +57 -0
- package/dist/common/components/drawer/Drawer.es.js.map +1 -0
- package/dist/common/components/drawer/Footer.es.js +31 -0
- package/dist/common/components/drawer/Footer.es.js.map +1 -0
- package/dist/common/components/drawer/Header.es.js +52 -0
- package/dist/common/components/drawer/Header.es.js.map +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +133 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js +41 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js +54 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleListItem.es.js +37 -0
- package/dist/common/components/listitems/ToggleListItem.es.js.map +1 -0
- package/dist/common/constants/Account.es.js +32 -0
- package/dist/common/constants/Account.es.js.map +1 -0
- package/dist/common/constants/Analytics.es.js +139 -0
- package/dist/common/constants/Analytics.es.js.map +1 -0
- package/dist/common/constants/Connect.d.ts +4 -0
- package/dist/common/constants/Connect.es.js +10 -0
- package/dist/common/constants/Connect.es.js.map +1 -0
- package/dist/common/constants/Donut.es.js +7 -0
- package/dist/common/constants/Donut.es.js.map +1 -0
- package/dist/common/constants/FinStrong.es.js +33 -0
- package/dist/common/constants/FinStrong.es.js.map +1 -0
- package/dist/common/constants/ScheduledPayment.es.js +40 -0
- package/dist/common/constants/ScheduledPayment.es.js.map +1 -0
- package/dist/common/constants/Sizes.es.js +9 -0
- package/dist/common/constants/Sizes.es.js.map +1 -0
- package/dist/common/constants/SpendingPlan.es.js +10 -0
- package/dist/common/constants/SpendingPlan.es.js.map +1 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/context/GlobalDataProvider.es.js +19 -0
- package/dist/common/context/GlobalDataProvider.es.js.map +1 -0
- package/dist/common/context/WidgetContainerProvider.es.js +16 -0
- package/dist/common/context/WidgetContainerProvider.es.js.map +1 -0
- package/dist/common/context/hooks.es.js +46 -0
- package/dist/common/context/hooks.es.js.map +1 -0
- package/dist/common/hooks/useAccountDisplayName.es.js +13 -0
- package/dist/common/hooks/useAccountDisplayName.es.js.map +1 -0
- package/dist/common/hooks/useAriaLive.es.js +34 -0
- package/dist/common/hooks/useAriaLive.es.js.map +1 -0
- package/dist/common/hooks/useCombineEvents.es.js +22 -0
- package/dist/common/hooks/useCombineEvents.es.js.map +1 -0
- package/dist/common/hooks/useDimensions.es.js +41 -0
- package/dist/common/hooks/useDimensions.es.js.map +1 -0
- package/dist/common/hooks/useInsightsEnabled.es.js +13 -0
- package/dist/common/hooks/useInsightsEnabled.es.js.map +1 -0
- package/dist/common/hooks/usePrevious.es.js +13 -0
- package/dist/common/hooks/usePrevious.es.js.map +1 -0
- package/dist/common/hooks/useScreenSize.es.js +26 -0
- package/dist/common/hooks/useScreenSize.es.js.map +1 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js +46 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js.map +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js +24 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js.map +1 -0
- package/dist/common/index.es.js +154 -310
- package/dist/common/types/Charts.d.ts +10 -0
- package/dist/common/utils/AccountDisplayName.es.js +14 -0
- package/dist/common/utils/AccountDisplayName.es.js.map +1 -0
- package/dist/common/utils/AccountFilter.es.js +31 -0
- package/dist/common/utils/AccountFilter.es.js.map +1 -0
- package/dist/common/utils/Analytics.es.js +31 -0
- package/dist/common/utils/Analytics.es.js.map +1 -0
- package/dist/common/utils/PostMessage.es.js +29 -0
- package/dist/common/utils/PostMessage.es.js.map +1 -0
- package/dist/common/utils/Theme.es.js +96 -0
- package/dist/common/utils/Theme.es.js.map +1 -0
- package/dist/core/api/AccountApi.es.js +22 -0
- package/dist/core/api/AccountApi.es.js.map +1 -0
- package/dist/core/api/AnalyticsApi.es.js +34 -0
- package/dist/core/api/AnalyticsApi.es.js.map +1 -0
- package/dist/core/api/AppDataApi.es.js +14 -0
- package/dist/core/api/AppDataApi.es.js.map +1 -0
- package/dist/core/api/BannerApi.es.js +23 -0
- package/dist/core/api/BannerApi.es.js.map +1 -0
- package/dist/core/api/BeatApi.es.js +24 -0
- package/dist/core/api/BeatApi.es.js.map +1 -0
- package/dist/core/api/BudgetsApi.es.js +28 -0
- package/dist/core/api/BudgetsApi.es.js.map +1 -0
- package/dist/core/api/CategoryApi.es.js +29 -0
- package/dist/core/api/CategoryApi.es.js.map +1 -0
- package/dist/core/api/FinstrongApi.es.js +22 -0
- package/dist/core/api/FinstrongApi.es.js.map +1 -0
- package/dist/core/api/GlobalCopyApi.es.js +14 -0
- package/dist/core/api/GlobalCopyApi.es.js.map +1 -0
- package/dist/core/api/GoalApi.es.js +28 -0
- package/dist/core/api/GoalApi.es.js.map +1 -0
- package/dist/core/api/HelpApi.es.js +14 -0
- package/dist/core/api/HelpApi.es.js.map +1 -0
- package/dist/core/api/HoldingApi.es.js +15 -0
- package/dist/core/api/HoldingApi.es.js.map +1 -0
- package/dist/core/api/MerchantApi.es.js +18 -0
- package/dist/core/api/MerchantApi.es.js.map +1 -0
- package/dist/core/api/NotificationApi.es.js +19 -0
- package/dist/core/api/NotificationApi.es.js.map +1 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js +17 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js.map +1 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js +22 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js.map +1 -0
- package/dist/core/api/SettingsApi.es.js +24 -0
- package/dist/core/api/SettingsApi.es.js.map +1 -0
- package/dist/core/api/TransactionApi.es.js +55 -0
- package/dist/core/api/TransactionApi.es.js.map +1 -0
- package/dist/core/api/UserApi.es.js +16 -0
- package/dist/core/api/UserApi.es.js.map +1 -0
- package/dist/core/api/WidgetApi.es.js +14 -0
- package/dist/core/api/WidgetApi.es.js.map +1 -0
- package/dist/core/constants/ApiEndpoints.es.js +51 -0
- package/dist/core/constants/ApiEndpoints.es.js.map +1 -0
- package/dist/core/constants/Category.es.js +299 -0
- package/dist/core/constants/Category.es.js.map +1 -0
- package/dist/core/constants/DateFormats.es.js +55 -0
- package/dist/core/constants/DateFormats.es.js.map +1 -0
- package/dist/core/constants/Debts.es.js +8 -0
- package/dist/core/constants/Debts.es.js.map +1 -0
- package/dist/core/constants/DefaultConfig.es.js +109 -0
- package/dist/core/constants/DefaultConfig.es.js.map +1 -0
- package/dist/core/constants/Help.es.js +183 -0
- package/dist/core/constants/Help.es.js.map +1 -0
- package/dist/core/constants/Investments.es.js +56 -0
- package/dist/core/constants/Investments.es.js.map +1 -0
- package/dist/core/constants/Numbers.es.js +9 -0
- package/dist/core/constants/Numbers.es.js.map +1 -0
- package/dist/core/constants/Table.es.js +18 -0
- package/dist/core/constants/Table.es.js.map +1 -0
- package/dist/core/constants/Transaction.es.js +43 -0
- package/dist/core/constants/Transaction.es.js.map +1 -0
- package/dist/core/constants/repeatingTransactions.es.js +8 -0
- package/dist/core/constants/repeatingTransactions.es.js.map +1 -0
- package/dist/core/index.es.js +134 -107
- package/dist/core/stores/AccountStore.es.js +247 -0
- package/dist/core/stores/AccountStore.es.js.map +1 -0
- package/dist/core/stores/AnalyticsStore.es.js +55 -0
- package/dist/core/stores/AnalyticsStore.es.js.map +1 -0
- package/dist/core/stores/AppDataStore.d.ts +2 -2
- package/dist/core/stores/AppDataStore.es.js +61 -0
- package/dist/core/stores/AppDataStore.es.js.map +1 -0
- package/dist/core/stores/BeatStore.es.js +43 -0
- package/dist/core/stores/BeatStore.es.js.map +1 -0
- package/dist/core/stores/BudgetsStore.es.js +155 -0
- package/dist/core/stores/BudgetsStore.es.js.map +1 -0
- package/dist/core/stores/CashflowStore.es.js +62 -0
- package/dist/core/stores/CashflowStore.es.js.map +1 -0
- package/dist/core/stores/CategoryStore.es.js +147 -0
- package/dist/core/stores/CategoryStore.es.js.map +1 -0
- package/dist/core/stores/ConnectStore.es.js +19 -0
- package/dist/core/stores/ConnectStore.es.js.map +1 -0
- package/dist/core/stores/DebtsStore.es.js +40 -0
- package/dist/core/stores/DebtsStore.es.js.map +1 -0
- package/dist/core/stores/FinstrongStore.es.js +156 -0
- package/dist/core/stores/FinstrongStore.es.js.map +1 -0
- package/dist/core/stores/GlobalCopyStore.es.js +32 -0
- package/dist/core/stores/GlobalCopyStore.es.js.map +1 -0
- package/dist/core/stores/GlobalStore.es.js +87 -0
- package/dist/core/stores/GlobalStore.es.js.map +1 -0
- package/dist/core/stores/GlobalUiStore.d.ts +2 -2
- package/dist/core/stores/GlobalUiStore.es.js +68 -0
- package/dist/core/stores/GlobalUiStore.es.js.map +1 -0
- package/dist/core/stores/GoalStore.es.js +233 -0
- package/dist/core/stores/GoalStore.es.js.map +1 -0
- package/dist/core/stores/HelpStore.d.ts +1 -1
- package/dist/core/stores/HelpStore.es.js +45 -0
- package/dist/core/stores/HelpStore.es.js.map +1 -0
- package/dist/core/stores/HoldingStore.es.js +60 -0
- package/dist/core/stores/HoldingStore.es.js.map +1 -0
- package/dist/core/stores/MerchantStore.es.js +28 -0
- package/dist/core/stores/MerchantStore.es.js.map +1 -0
- package/dist/core/stores/NetWorthStore.es.js +73 -0
- package/dist/core/stores/NetWorthStore.es.js.map +1 -0
- package/dist/core/stores/NotificationStore.es.js +46 -0
- package/dist/core/stores/NotificationStore.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js +198 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js.map +1 -0
- package/dist/core/stores/SettingsStore.d.ts +1 -1
- package/dist/core/stores/SettingsStore.es.js +184 -0
- package/dist/core/stores/SettingsStore.es.js.map +1 -0
- package/dist/core/stores/TransactionStore.es.js +372 -0
- package/dist/core/stores/TransactionStore.es.js.map +1 -0
- package/dist/core/stores/TrendsStore.es.js +51 -0
- package/dist/core/stores/TrendsStore.es.js.map +1 -0
- package/dist/core/stores/UserStore.es.js +49 -0
- package/dist/core/stores/UserStore.es.js.map +1 -0
- package/dist/core/types/Account.es.js +118 -0
- package/dist/core/types/Account.es.js.map +1 -0
- package/dist/core/types/Beat.es.js +8 -0
- package/dist/core/types/Beat.es.js.map +1 -0
- package/dist/core/types/Expense.es.js +11 -0
- package/dist/core/types/Expense.es.js.map +1 -0
- package/dist/core/types/Finstrong.es.js +14 -0
- package/dist/core/types/Finstrong.es.js.map +1 -0
- package/dist/core/types/Goal.es.js +14 -0
- package/dist/core/types/Goal.es.js.map +1 -0
- package/dist/core/types/Notification.es.js +17 -0
- package/dist/core/types/Notification.es.js.map +1 -0
- package/dist/core/types/RepeatingTransaction.es.js +17 -0
- package/dist/core/types/RepeatingTransaction.es.js.map +1 -0
- package/dist/core/types/ScreenSize.es.js +8 -0
- package/dist/core/types/ScreenSize.es.js.map +1 -0
- package/dist/core/types/Transaction.es.js +11 -0
- package/dist/core/types/Transaction.es.js.map +1 -0
- package/dist/core/utils/AccountUtils.es.js +27 -0
- package/dist/core/utils/AccountUtils.es.js.map +1 -0
- package/dist/core/utils/BeatUtils.es.js +50 -0
- package/dist/core/utils/BeatUtils.es.js.map +1 -0
- package/dist/core/utils/BudgetUtil.es.js +71 -0
- package/dist/core/utils/BudgetUtil.es.js.map +1 -0
- package/dist/core/utils/CategoryUtil.es.js +60 -0
- package/dist/core/utils/CategoryUtil.es.js.map +1 -0
- package/dist/core/utils/DateUtil.es.js +70 -0
- package/dist/core/utils/DateUtil.es.js.map +1 -0
- package/dist/core/utils/DebtUtils.es.js +144 -0
- package/dist/core/utils/DebtUtils.es.js.map +1 -0
- package/dist/core/utils/Fetch.es.js +74 -0
- package/dist/core/utils/Fetch.es.js.map +1 -0
- package/dist/core/utils/FinstrongUtils.es.js +11 -0
- package/dist/core/utils/FinstrongUtils.es.js.map +1 -0
- package/dist/core/utils/GoalsUtil.es.js +113 -0
- package/dist/core/utils/GoalsUtil.es.js.map +1 -0
- package/dist/core/utils/HelpUtil.es.js +23 -0
- package/dist/core/utils/HelpUtil.es.js.map +1 -0
- package/dist/core/utils/InvestmentUtil.es.js +77 -0
- package/dist/core/utils/InvestmentUtil.es.js.map +1 -0
- package/dist/core/utils/Localization.es.js +34 -0
- package/dist/core/utils/Localization.es.js.map +1 -0
- package/dist/core/utils/NetWorthUtils.es.js +115 -0
- package/dist/core/utils/NetWorthUtils.es.js.map +1 -0
- package/dist/core/utils/NotificationUtils.es.js +17 -0
- package/dist/core/utils/NotificationUtils.es.js.map +1 -0
- package/dist/core/utils/NumberFormatting.es.js +31 -0
- package/dist/core/utils/NumberFormatting.es.js.map +1 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js +285 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js.map +1 -0
- package/dist/core/utils/SettingsUtil.es.js +56 -0
- package/dist/core/utils/SettingsUtil.es.js.map +1 -0
- package/dist/core/utils/TransactionUtils.es.js +113 -0
- package/dist/core/utils/TransactionUtils.es.js.map +1 -0
- package/dist/core/utils/TrendsUtil.es.js +72 -0
- package/dist/core/utils/TrendsUtil.es.js.map +1 -0
- package/dist/core/utils/UserUtils.es.js +6 -0
- package/dist/core/utils/UserUtils.es.js.map +1 -0
- package/dist/dashboard/Dashboard.es.js +99 -0
- package/dist/dashboard/Dashboard.es.js.map +1 -0
- package/dist/dashboard/Greeting.es.js +49 -0
- package/dist/dashboard/Greeting.es.js.map +1 -0
- package/dist/dashboard/constants/Dashboard.es.js +8 -0
- package/dist/dashboard/constants/Dashboard.es.js.map +1 -0
- package/dist/dashboard/index.es.js +4 -153
- package/dist/debts/DebtsWidget.es.js +138 -0
- package/dist/debts/DebtsWidget.es.js.map +1 -0
- package/dist/debts/components/DebtDrawer.es.js +26 -0
- package/dist/debts/components/DebtDrawer.es.js.map +1 -0
- package/dist/debts/components/DebtsChart.es.js +135 -0
- package/dist/debts/components/DebtsChart.es.js.map +1 -0
- package/dist/debts/components/DebtsTable.es.js +193 -0
- package/dist/debts/components/DebtsTable.es.js.map +1 -0
- package/dist/debts/components/PaydownDrawer.es.js +19 -0
- package/dist/debts/components/PaydownDrawer.es.js.map +1 -0
- package/dist/debts/components/SnowballCard.es.js +87 -0
- package/dist/debts/components/SnowballCard.es.js.map +1 -0
- package/dist/debts/components/SnowballDrawer.es.js +457 -0
- package/dist/debts/components/SnowballDrawer.es.js.map +1 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js +37 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js.map +1 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/InterestRateAction.es.js +41 -0
- package/dist/debts/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js +43 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js +43 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +54 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +40 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +108 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js +86 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js +32 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js +77 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js +32 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js +78 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js.map +1 -0
- package/dist/debts/components/debtstable/AccountCell.es.js +30 -0
- package/dist/debts/components/debtstable/AccountCell.es.js.map +1 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js +35 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js.map +1 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js +12 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js.map +1 -0
- package/dist/debts/index.es.js +6 -1496
- package/dist/debts/utils/DebtsChart.es.js +15 -0
- package/dist/debts/utils/DebtsChart.es.js.map +1 -0
- package/dist/debts/utils/DebtsTable.es.js +17 -0
- package/dist/debts/utils/DebtsTable.es.js.map +1 -0
- package/dist/debts/utils/SnowballCard.es.js +40 -0
- package/dist/debts/utils/SnowballCard.es.js.map +1 -0
- package/dist/finstrong/FinancialStrengthCard.es.js +127 -0
- package/dist/finstrong/FinancialStrengthCard.es.js.map +1 -0
- package/dist/finstrong/FinstrongWidget.es.js +175 -0
- package/dist/finstrong/FinstrongWidget.es.js.map +1 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js +80 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js +39 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js +22 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js.map +1 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js +61 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js.map +1 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js +44 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js +43 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +88 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js +73 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js +40 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HealthChart.es.js +117 -0
- package/dist/finstrong/components/HealthChart.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js +71 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js +92 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js +73 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +65 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js +93 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js +78 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js +170 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js +51 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js +53 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js.map +1 -0
- package/dist/finstrong/components/ManageCreditScore.es.js +52 -0
- package/dist/finstrong/components/ManageCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/ManageDOB.es.js +79 -0
- package/dist/finstrong/components/ManageDOB.es.js.map +1 -0
- package/dist/finstrong/components/MissingData.es.js +51 -0
- package/dist/finstrong/components/MissingData.es.js.map +1 -0
- package/dist/finstrong/components/ProfileDrawer.es.js +124 -0
- package/dist/finstrong/components/ProfileDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ProfileList.es.js +65 -0
- package/dist/finstrong/components/ProfileList.es.js.map +1 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js +32 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/ProgressBar.es.js +53 -0
- package/dist/finstrong/components/ProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js +27 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +51 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js +56 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js +34 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js.map +1 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js +90 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js +118 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js +130 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js +50 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/StatusChip.es.js +37 -0
- package/dist/finstrong/components/StatusChip.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js +57 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js +57 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js +46 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js +28 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js +313 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js +25 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js +69 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js +38 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js.map +1 -0
- package/dist/finstrong/components/shared/Accounts.es.js +102 -0
- package/dist/finstrong/components/shared/Accounts.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js +49 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js +52 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js.map +1 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js +186 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js +196 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js.map +1 -0
- package/dist/finstrong/components/shared/LineGraph.es.js +136 -0
- package/dist/finstrong/components/shared/LineGraph.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +107 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js +40 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js.map +1 -0
- package/dist/finstrong/components/shared/TotalCard.es.js +30 -0
- package/dist/finstrong/components/shared/TotalCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/Transactions.es.js +129 -0
- package/dist/finstrong/components/shared/Transactions.es.js.map +1 -0
- package/dist/finstrong/constants/index.es.js +9 -0
- package/dist/finstrong/constants/index.es.js.map +1 -0
- package/dist/finstrong/index.es.js +8 -3912
- package/dist/finstrong/util/finstrongUtils.es.js +206 -0
- package/dist/finstrong/util/finstrongUtils.es.js.map +1 -0
- package/dist/goals/GoalsMicroWidget.es.js +44 -0
- package/dist/goals/GoalsMicroWidget.es.js.map +1 -0
- package/dist/goals/GoalsWidget.es.js +141 -0
- package/dist/goals/GoalsWidget.es.js.map +1 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js +54 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js.map +1 -0
- package/dist/goals/components/AddGoal.es.js +59 -0
- package/dist/goals/components/AddGoal.es.js.map +1 -0
- package/dist/goals/components/GoalDetails.es.js +115 -0
- package/dist/goals/components/GoalDetails.es.js.map +1 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js +83 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js.map +1 -0
- package/dist/goals/components/GoalList.es.js +135 -0
- package/dist/goals/components/GoalList.es.js.map +1 -0
- package/dist/goals/components/GoalStatusCard.es.js +95 -0
- package/dist/goals/components/GoalStatusCard.es.js.map +1 -0
- package/dist/goals/components/ManageGoals.es.js +89 -0
- package/dist/goals/components/ManageGoals.es.js.map +1 -0
- package/dist/goals/components/TabTitle.es.js +19 -0
- package/dist/goals/components/TabTitle.es.js.map +1 -0
- package/dist/goals/components/actions/AccountAction.es.js +28 -0
- package/dist/goals/components/actions/AccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js +56 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js +45 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js.map +1 -0
- package/dist/goals/components/actions/BirthdayAction.es.js +44 -0
- package/dist/goals/components/actions/BirthdayAction.es.js.map +1 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js +127 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/ContributionAction.es.js +49 -0
- package/dist/goals/components/actions/ContributionAction.es.js.map +1 -0
- package/dist/goals/components/actions/GoalNameAction.es.js +41 -0
- package/dist/goals/components/actions/GoalNameAction.es.js.map +1 -0
- package/dist/goals/components/actions/InterestRateAction.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js +47 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js +47 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js +42 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js.map +1 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js +72 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js +59 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js +83 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js.map +1 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js +64 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js.map +1 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js +35 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js.map +1 -0
- package/dist/goals/index.es.js +4 -1088
- package/dist/help/HelpWidget.es.js +25 -0
- package/dist/help/HelpWidget.es.js.map +1 -0
- package/dist/help/components/Help.es.js +48 -0
- package/dist/help/components/Help.es.js.map +1 -0
- package/dist/help/components/HelpContent.es.js +25 -0
- package/dist/help/components/HelpContent.es.js.map +1 -0
- package/dist/help/components/HelpList.es.js +142 -0
- package/dist/help/components/HelpList.es.js.map +1 -0
- package/dist/help/components/content/BottomImageContent.es.js +51 -0
- package/dist/help/components/content/BottomImageContent.es.js.map +1 -0
- package/dist/help/components/content/ContentItem.es.js +46 -0
- package/dist/help/components/content/ContentItem.es.js.map +1 -0
- package/dist/help/components/content/Header.es.js +83 -0
- package/dist/help/components/content/Header.es.js.map +1 -0
- package/dist/help/components/content/LeftImageContent.es.js +57 -0
- package/dist/help/components/content/LeftImageContent.es.js.map +1 -0
- package/dist/help/components/content/NoImageContent.es.js +15 -0
- package/dist/help/components/content/NoImageContent.es.js.map +1 -0
- package/dist/help/components/content/RightImageContent.es.js +55 -0
- package/dist/help/components/content/RightImageContent.es.js.map +1 -0
- package/dist/help/components/content/TopImageContent.es.js +51 -0
- package/dist/help/components/content/TopImageContent.es.js.map +1 -0
- package/dist/help/components/content/section/Accounts.es.js +159 -0
- package/dist/help/components/content/section/Accounts.es.js.map +1 -0
- package/dist/help/components/content/section/Budgets.es.js +66 -0
- package/dist/help/components/content/section/Budgets.es.js.map +1 -0
- package/dist/help/components/content/section/CashFlow.es.js +47 -0
- package/dist/help/components/content/section/CashFlow.es.js.map +1 -0
- package/dist/help/components/content/section/Debts.es.js +168 -0
- package/dist/help/components/content/section/Debts.es.js.map +1 -0
- package/dist/help/components/content/section/General.es.js +84 -0
- package/dist/help/components/content/section/General.es.js.map +1 -0
- package/dist/help/components/content/section/Goals.es.js +112 -0
- package/dist/help/components/content/section/Goals.es.js.map +1 -0
- package/dist/help/components/content/section/Insights.es.js +79 -0
- package/dist/help/components/content/section/Insights.es.js.map +1 -0
- package/dist/help/components/content/section/Investments.es.js +48 -0
- package/dist/help/components/content/section/Investments.es.js.map +1 -0
- package/dist/help/components/content/section/Mobile.es.js +48 -0
- package/dist/help/components/content/section/Mobile.es.js.map +1 -0
- package/dist/help/components/content/section/NetWorth.es.js +61 -0
- package/dist/help/components/content/section/NetWorth.es.js.map +1 -0
- package/dist/help/components/content/section/Notifications.es.js +53 -0
- package/dist/help/components/content/section/Notifications.es.js.map +1 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js +72 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js.map +1 -0
- package/dist/help/components/content/section/Spending.es.js +63 -0
- package/dist/help/components/content/section/Spending.es.js.map +1 -0
- package/dist/help/components/content/section/Transactions.es.js +209 -0
- package/dist/help/components/content/section/Transactions.es.js.map +1 -0
- package/dist/help/components/content/section/Trends.es.js +43 -0
- package/dist/help/components/content/section/Trends.es.js.map +1 -0
- package/dist/help/components/content/section/index.es.js +37 -0
- package/dist/help/components/content/section/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js +90 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js.map +1 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js +103 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js +52 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js +24 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js +40 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js +172 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js +46 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js +47 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js +68 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js +71 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js.map +1 -0
- package/dist/help/constants/HelpImages.es.js +49 -0
- package/dist/help/constants/HelpImages.es.js.map +1 -0
- package/dist/help/index.es.js +4 -26
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js +16 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js.map +1 -0
- package/dist/insights/components/feed/Header.es.js +75 -0
- package/dist/insights/components/feed/Header.es.js.map +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js +12 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js +22 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js +274 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js +56 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js +35 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js +41 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js +45 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js +6 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js +55 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js +46 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js +48 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js +66 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js.map +1 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +24 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js +120 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +143 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js +20 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js +29 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js +20 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js +55 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js +494 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js +88 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js.map +1 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js +44 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js +33 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js +29 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js +42 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js +27 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js +28 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js +33 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js +37 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js +35 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js +20 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js +83 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js +42 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js +40 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js.map +1 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js +19 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js +104 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js +37 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js +25 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js +36 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js +38 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js +86 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js +34 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +133 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js +59 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js +23 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js +51 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js.map +1 -0
- package/dist/insights/components/shared/BottomSheet.es.js +39 -0
- package/dist/insights/components/shared/BottomSheet.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js +66 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js +60 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js.map +1 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js +76 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js +147 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js +148 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js +75 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js +80 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +4 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js +32 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js +52 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js +46 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js +118 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js +116 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js +14 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Confetti.es.js +32 -0
- package/dist/insights/components/shared/Confetti.es.js.map +1 -0
- package/dist/insights/components/shared/ConnectionCard.es.js +90 -0
- package/dist/insights/components/shared/ConnectionCard.es.js.map +1 -0
- package/dist/insights/components/shared/Coupon.es.js +66 -0
- package/dist/insights/components/shared/Coupon.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js +34 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js +20 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +163 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js +19 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js +16 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js +85 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +20 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js +33 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js +43 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js.map +1 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js +82 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js +58 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js +264 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js +76 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js +57 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js +47 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js +16 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js +29 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js +50 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js +45 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js.map +1 -0
- package/dist/insights/components/shared/GoalProgress.es.js +42 -0
- package/dist/insights/components/shared/GoalProgress.es.js.map +1 -0
- package/dist/insights/components/shared/GradientBox.es.js +33 -0
- package/dist/insights/components/shared/GradientBox.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +32 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js +24 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js +28 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js +21 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js +38 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js +69 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js +120 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js +25 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js +44 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js +42 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js +728 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js.map +1 -0
- package/dist/insights/components/shared/MenuAction.es.js +68 -0
- package/dist/insights/components/shared/MenuAction.es.js.map +1 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js +69 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js.map +1 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js +107 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js.map +1 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js +75 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js.map +1 -0
- package/dist/insights/components/shared/ProgressBar.es.js +39 -0
- package/dist/insights/components/shared/ProgressBar.es.js.map +1 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js +55 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js +77 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js +12 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js.map +1 -0
- package/dist/insights/components/shared/StatusIndicator.es.js +69 -0
- package/dist/insights/components/shared/StatusIndicator.es.js.map +1 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js +49 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js.map +1 -0
- package/dist/insights/components/shared/TransactionCard.es.js +93 -0
- package/dist/insights/components/shared/TransactionCard.es.js.map +1 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js +23 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js +101 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js +38 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js.map +1 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js +101 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js +91 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js +21 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js +815 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js.map +1 -0
- package/dist/insights/hooks/useContainerDimensions.es.js +26 -0
- package/dist/insights/hooks/useContainerDimensions.es.js.map +1 -0
- package/dist/insights/images/Loading.es.js +6 -0
- package/dist/insights/images/Loading.es.js.map +1 -0
- package/dist/insights/index.es.js +183 -4871
- package/dist/insights/types/Charts/BarChart.d.ts +2 -11
- package/dist/insights/types/CommonBeat.es.js +8 -0
- package/dist/insights/types/CommonBeat.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget.es.js +98 -0
- package/dist/investments/InvestmentsWidget.es.js.map +1 -0
- package/dist/investments/components/Allocation.es.js +55 -0
- package/dist/investments/components/Allocation.es.js.map +1 -0
- package/dist/investments/components/Analysis.es.js +167 -0
- package/dist/investments/components/Analysis.es.js.map +1 -0
- package/dist/investments/components/AnalysisDetails.es.js +86 -0
- package/dist/investments/components/AnalysisDetails.es.js.map +1 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js +52 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js.map +1 -0
- package/dist/investments/components/HeaderCell.es.js +28 -0
- package/dist/investments/components/HeaderCell.es.js.map +1 -0
- package/dist/investments/components/HoldingDrawer.es.js +343 -0
- package/dist/investments/components/HoldingDrawer.es.js.map +1 -0
- package/dist/investments/components/HoldingTable.es.js +199 -0
- package/dist/investments/components/HoldingTable.es.js.map +1 -0
- package/dist/investments/components/InfoToolTip.es.js +45 -0
- package/dist/investments/components/InfoToolTip.es.js.map +1 -0
- package/dist/investments/components/Overview.es.js +456 -0
- package/dist/investments/components/Overview.es.js.map +1 -0
- package/dist/investments/components/TabTitle.es.js +12 -0
- package/dist/investments/components/TabTitle.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js +136 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js +86 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js.map +1 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js +103 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js.map +1 -0
- package/dist/investments/index.es.js +2 -1675
- package/dist/merchants/components/MerchantLookup.es.js +91 -0
- package/dist/merchants/components/MerchantLookup.es.js.map +1 -0
- package/dist/merchants/index.es.js +2 -76
- package/dist/microinsights/InsightsMicroWidget.es.js +109 -0
- package/dist/microinsights/InsightsMicroWidget.es.js.map +1 -0
- package/dist/microinsights/MicroCardTemplate.es.js +159 -0
- package/dist/microinsights/MicroCardTemplate.es.js.map +1 -0
- package/dist/microinsights/MicroWidgetContainer.es.js +24 -0
- package/dist/microinsights/MicroWidgetContainer.es.js.map +1 -0
- package/dist/microinsights/Spinner.es.js +19 -0
- package/dist/microinsights/Spinner.es.js.map +1 -0
- package/dist/microinsights/analytics.es.js +12 -0
- package/dist/microinsights/analytics.es.js.map +1 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js +18 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js +23 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js +16 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js +162 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js +25 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js +20 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js.map +1 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js +21 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js +12 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js +17 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js +722 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js.map +1 -0
- package/dist/microinsights/cards/InsightCard.es.js +71 -0
- package/dist/microinsights/cards/InsightCard.es.js.map +1 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js +38 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js.map +1 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js +43 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js.map +1 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js +32 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js.map +1 -0
- package/dist/microinsights/carousel/BeatList.es.js +37 -0
- package/dist/microinsights/carousel/BeatList.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselControls.es.js +63 -0
- package/dist/microinsights/carousel/CarouselControls.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js +39 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js.map +1 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js +147 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js.map +1 -0
- package/dist/microinsights/constants/Analytics.es.js +148 -0
- package/dist/microinsights/constants/Analytics.es.js.map +1 -0
- package/dist/microinsights/constants/App.es.js +11 -0
- package/dist/microinsights/constants/App.es.js.map +1 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js +17 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js.map +1 -0
- package/dist/microinsights/context/hooks.es.js +27 -0
- package/dist/microinsights/context/hooks.es.js.map +1 -0
- package/dist/microinsights/index.es.js +28 -826
- package/dist/microinsights/stores/AppStore.es.js +27 -0
- package/dist/microinsights/stores/AppStore.es.js.map +1 -0
- package/dist/microinsights/stores/CopyStore.es.js +34 -0
- package/dist/microinsights/stores/CopyStore.es.js.map +1 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js +33 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js.map +1 -0
- package/dist/microinsights/utils/DataSeries.es.js +11 -0
- package/dist/microinsights/utils/DataSeries.es.js.map +1 -0
- package/dist/microinsights/utils/colorType.es.js +13 -0
- package/dist/microinsights/utils/colorType.es.js.map +1 -0
- package/dist/networth/NetWorthMicroWidget.es.js +40 -0
- package/dist/networth/NetWorthMicroWidget.es.js.map +1 -0
- package/dist/networth/NetWorthWidget.es.js +78 -0
- package/dist/networth/NetWorthWidget.es.js.map +1 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +158 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js.map +1 -0
- package/dist/networth/components/GainsLossesDetail.es.js +137 -0
- package/dist/networth/components/GainsLossesDetail.es.js.map +1 -0
- package/dist/networth/components/NetWorthChange.es.js +34 -0
- package/dist/networth/components/NetWorthChange.es.js.map +1 -0
- package/dist/networth/components/NetWorthChart.es.js +58 -0
- package/dist/networth/components/NetWorthChart.es.js.map +1 -0
- package/dist/networth/components/NetWorthList.es.js +99 -0
- package/dist/networth/components/NetWorthList.es.js.map +1 -0
- package/dist/networth/components/NetWorthListItem.es.js +50 -0
- package/dist/networth/components/NetWorthListItem.es.js.map +1 -0
- package/dist/networth/components/NetWorthSummary.es.js +38 -0
- package/dist/networth/components/NetWorthSummary.es.js.map +1 -0
- package/dist/networth/components/micro/NetworthData.es.js +49 -0
- package/dist/networth/components/micro/NetworthData.es.js.map +1 -0
- package/dist/networth/components/micro/ZeroState.es.js +31 -0
- package/dist/networth/components/micro/ZeroState.es.js.map +1 -0
- package/dist/networth/index.es.js +4 -565
- package/dist/notifications/components/DateRow.es.js +23 -0
- package/dist/notifications/components/DateRow.es.js.map +1 -0
- package/dist/notifications/components/NotificationBadge.es.js +33 -0
- package/dist/notifications/components/NotificationBadge.es.js.map +1 -0
- package/dist/notifications/components/NotificationCard.es.js +56 -0
- package/dist/notifications/components/NotificationCard.es.js.map +1 -0
- package/dist/notifications/components/NotificationDrawer.es.js +47 -0
- package/dist/notifications/components/NotificationDrawer.es.js.map +1 -0
- package/dist/notifications/components/NotificationList.es.js +42 -0
- package/dist/notifications/components/NotificationList.es.js.map +1 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js +49 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js.map +1 -0
- package/dist/notifications/constants/NotificationConstants.es.js +24 -0
- package/dist/notifications/constants/NotificationConstants.es.js.map +1 -0
- package/dist/notifications/index.es.js +6 -198
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js +54 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js +47 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js +89 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js.map +1 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js +30 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js +103 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js +45 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js +133 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js +64 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js +87 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +133 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js +20 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js +114 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js +27 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js +155 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js.map +1 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js +63 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js +46 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +47 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js +19 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js +33 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js +37 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js +111 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js +37 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +93 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js +42 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js +57 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +72 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +96 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js +47 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js +45 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/index.es.js +18 -1022
- package/dist/settings/NotificationSettingsWidget.es.js +32 -0
- package/dist/settings/NotificationSettingsWidget.es.js.map +1 -0
- package/dist/settings/SettingsWidget.es.js +82 -0
- package/dist/settings/SettingsWidget.es.js.map +1 -0
- package/dist/settings/TransactionRulesWidget.es.js +28 -0
- package/dist/settings/TransactionRulesWidget.es.js.map +1 -0
- package/dist/settings/components/SettingsWidgetContents.es.js +47 -0
- package/dist/settings/components/SettingsWidgetContents.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceDialog.es.js +127 -0
- package/dist/settings/components/devices/DeviceDialog.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceList.es.js +125 -0
- package/dist/settings/components/devices/DeviceList.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTab.es.js +107 -0
- package/dist/settings/components/devices/DeviceTab.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTable.es.js +120 -0
- package/dist/settings/components/devices/DeviceTable.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js +92 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js +44 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js +84 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js.map +1 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js +78 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js.map +1 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js +80 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js +94 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js.map +1 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js +111 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js.map +1 -0
- package/dist/settings/components/profile/ProfileTab.es.js +178 -0
- package/dist/settings/components/profile/ProfileTab.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js +88 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js +105 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js +40 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js +35 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js +31 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js +45 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js +36 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js +46 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js +26 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js.map +1 -0
- package/dist/settings/constants/Settings.es.js +8 -0
- package/dist/settings/constants/Settings.es.js.map +1 -0
- package/dist/settings/index.es.js +23 -892
- package/dist/spending/SpendingMiniWidget.es.js +41 -0
- package/dist/spending/SpendingMiniWidget.es.js.map +1 -0
- package/dist/spending/SpendingWidget.es.js +51 -0
- package/dist/spending/SpendingWidget.es.js.map +1 -0
- package/dist/spending/components/MiniSpendingChart.es.js +112 -0
- package/dist/spending/components/MiniSpendingChart.es.js.map +1 -0
- package/dist/spending/components/Spending.es.js +123 -0
- package/dist/spending/components/Spending.es.js.map +1 -0
- package/dist/spending/components/SpendingChart.es.js +60 -0
- package/dist/spending/components/SpendingChart.es.js.map +1 -0
- package/dist/spending/components/SpendingDonut.es.js +132 -0
- package/dist/spending/components/SpendingDonut.es.js.map +1 -0
- package/dist/spending/components/SpendingLegend.es.js +46 -0
- package/dist/spending/components/SpendingLegend.es.js.map +1 -0
- package/dist/spending/components/SpendingList.es.js +124 -0
- package/dist/spending/components/SpendingList.es.js.map +1 -0
- package/dist/spending/components/SpendingTabLabel.es.js +22 -0
- package/dist/spending/components/SpendingTabLabel.es.js.map +1 -0
- package/dist/spending/index.es.js +4 -491
- package/dist/spending/utils/SpendingData.es.js +72 -0
- package/dist/spending/utils/SpendingData.es.js.map +1 -0
- package/dist/transactions/TransactionWidget.es.js +189 -0
- package/dist/transactions/TransactionWidget.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js +255 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList.es.js +92 -0
- package/dist/transactions/components/shared/TransactionList.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable.es.js +124 -0
- package/dist/transactions/components/shared/TransactionTable.es.js.map +1 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js +25 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js +85 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js +49 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js +151 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js +39 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js +82 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +161 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +105 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +103 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +66 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +77 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +90 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +101 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +150 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +94 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +92 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js +39 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js +30 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js +38 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js +14 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js +46 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js +28 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js +68 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js +119 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/Header.es.js +68 -0
- package/dist/transactions/components/tagmanager/Header.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js +48 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js +36 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js +108 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js +33 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js +44 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js +26 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js.map +1 -0
- package/dist/transactions/constants/Actions.es.js +22 -0
- package/dist/transactions/constants/Actions.es.js.map +1 -0
- package/dist/transactions/constants/OnClickEvents.es.js +50 -0
- package/dist/transactions/constants/OnClickEvents.es.js.map +1 -0
- package/dist/transactions/context/hooks.es.js +12 -0
- package/dist/transactions/context/hooks.es.js.map +1 -0
- package/dist/transactions/index.es.js +17 -604
- package/dist/transactions/utils/Filters.es.js +11 -0
- package/dist/transactions/utils/Filters.es.js.map +1 -0
- package/dist/transactions/utils/Transactions.es.js +24 -0
- package/dist/transactions/utils/Transactions.es.js.map +1 -0
- package/dist/trends/TrendsFullWidget.es.js +154 -0
- package/dist/trends/TrendsFullWidget.es.js.map +1 -0
- package/dist/trends/TrendsMicroWidget.es.js +72 -0
- package/dist/trends/TrendsMicroWidget.es.js.map +1 -0
- package/dist/trends/TrendsMiniWidget.es.js +43 -0
- package/dist/trends/TrendsMiniWidget.es.js.map +1 -0
- package/dist/trends/TrendsWidget.es.js +207 -0
- package/dist/trends/TrendsWidget.es.js.map +1 -0
- package/dist/trends/ZeroStateMicroWidget.es.js +30 -0
- package/dist/trends/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/trends/components/CategoriesList.es.js +64 -0
- package/dist/trends/components/CategoriesList.es.js.map +1 -0
- package/dist/trends/components/CategoriesListItem.es.js +44 -0
- package/dist/trends/components/CategoriesListItem.es.js.map +1 -0
- package/dist/trends/components/CategoryDetailChart.es.js +45 -0
- package/dist/trends/components/CategoryDetailChart.es.js.map +1 -0
- package/dist/trends/components/CategoryDetails.es.js +104 -0
- package/dist/trends/components/CategoryDetails.es.js.map +1 -0
- package/dist/trends/components/DateRangeText.es.js +26 -0
- package/dist/trends/components/DateRangeText.es.js.map +1 -0
- package/dist/trends/components/SpendingChart.es.js +28 -0
- package/dist/trends/components/SpendingChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChart.es.js +63 -0
- package/dist/trends/components/TrendsChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChartTotals.es.js +58 -0
- package/dist/trends/components/TrendsChartTotals.es.js.map +1 -0
- package/dist/trends/components/TrendsDrawer.es.js +38 -0
- package/dist/trends/components/TrendsDrawer.es.js.map +1 -0
- package/dist/trends/components/TrendsInsights.es.js +38 -0
- package/dist/trends/components/TrendsInsights.es.js.map +1 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js +82 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js.map +1 -0
- package/dist/trends/components/TrendsTableContainer.es.js +56 -0
- package/dist/trends/components/TrendsTableContainer.es.js.map +1 -0
- package/dist/trends/components/TrendsViewToggle.es.js +28 -0
- package/dist/trends/components/TrendsViewToggle.es.js.map +1 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js +49 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js.map +1 -0
- package/dist/trends/components/trendstable/AmountCell.es.js +24 -0
- package/dist/trends/components/trendstable/AmountCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js +30 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js +12 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js +53 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js.map +1 -0
- package/dist/trends/constants/TrendsInsights.es.js +40 -0
- package/dist/trends/constants/TrendsInsights.es.js.map +1 -0
- package/dist/trends/constants/TrendsWidget.es.js +6 -0
- package/dist/trends/constants/TrendsWidget.es.js.map +1 -0
- package/dist/trends/index.es.js +8 -1612
- package/dist/trends/utils/SpendingData.es.js +53 -0
- package/dist/trends/utils/SpendingData.es.js.map +1 -0
- package/dist/trends/utils/TrendsTable.es.js +101 -0
- package/dist/trends/utils/TrendsTable.es.js.map +1 -0
- package/dist/trends/utils/TrendsWidget.es.js +11 -0
- package/dist/trends/utils/TrendsWidget.es.js.map +1 -0
- package/dist/trends/utils/shared.es.js +18 -0
- package/dist/trends/utils/shared.es.js.map +1 -0
- package/package.json +34 -39
- package/dist/Account-DR7Plrqy.mjs +0 -119
- package/dist/Account-DR7Plrqy.mjs.map +0 -1
- package/dist/AccountDetailsDrawer-DVZTB7Dp.mjs +0 -922
- package/dist/AccountDetailsDrawer-DVZTB7Dp.mjs.map +0 -1
- package/dist/AccountDetailsHeader-C84CSN2K.mjs +0 -230
- package/dist/AccountDetailsHeader-C84CSN2K.mjs.map +0 -1
- package/dist/AccountUtils-Cbh8r9cP.mjs +0 -29
- package/dist/AccountUtils-Cbh8r9cP.mjs.map +0 -1
- package/dist/Analytics-B8AaC22u.mjs +0 -54
- package/dist/Analytics-B8AaC22u.mjs.map +0 -1
- package/dist/Analytics-D-jdcL72.mjs +0 -140
- package/dist/Analytics-D-jdcL72.mjs.map +0 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +0 -50
- package/dist/ApiEndpoints-DXwIYNUV.mjs.map +0 -1
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -27
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +0 -1
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +0 -75
- package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +0 -1
- package/dist/Category-DEKZGLYe.mjs +0 -302
- package/dist/Category-DEKZGLYe.mjs.map +0 -1
- package/dist/CategorySelectorDrawer-CWZoNePh.mjs +0 -431
- package/dist/CategorySelectorDrawer-CWZoNePh.mjs.map +0 -1
- package/dist/Connect-BH0Pt6zc.mjs +0 -43
- package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
- package/dist/ConnectCard-CVMLPujx.mjs +0 -55
- package/dist/ConnectCard-CVMLPujx.mjs.map +0 -1
- package/dist/ConnectDrawer-L-UwjKiw.mjs +0 -58
- package/dist/ConnectDrawer-L-UwjKiw.mjs.map +0 -1
- package/dist/ConnectionsDrawer-B2-IGB21.mjs +0 -54
- package/dist/ConnectionsDrawer-B2-IGB21.mjs.map +0 -1
- package/dist/CurrencyDialog-DumQCTPO.mjs +0 -374
- package/dist/CurrencyDialog-DumQCTPO.mjs.map +0 -1
- package/dist/CurrencyInput-DaGEQaLW.mjs +0 -88
- package/dist/CurrencyInput-DaGEQaLW.mjs.map +0 -1
- package/dist/CurrencyText-CCbE6MmF.mjs +0 -21
- package/dist/CurrencyText-CCbE6MmF.mjs.map +0 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +0 -65
- package/dist/DateFormats-HudZ3Bjs.mjs.map +0 -1
- package/dist/DateUtil-Bl7d7C1W.mjs +0 -76
- package/dist/DateUtil-Bl7d7C1W.mjs.map +0 -1
- package/dist/DebtUtils-i4pI2Uoe.mjs +0 -154
- package/dist/DebtUtils-i4pI2Uoe.mjs.map +0 -1
- package/dist/Dialog-Bvd2n8hz.mjs +0 -67
- package/dist/Dialog-Bvd2n8hz.mjs.map +0 -1
- package/dist/Donut-SzzfZDHF.mjs +0 -89
- package/dist/Donut-SzzfZDHF.mjs.map +0 -1
- package/dist/Drawer-BDN1RgiP.mjs +0 -233
- package/dist/Drawer-BDN1RgiP.mjs.map +0 -1
- package/dist/EmbeddedCard-B1xiWlSD.mjs +0 -860
- package/dist/EmbeddedCard-B1xiWlSD.mjs.map +0 -1
- package/dist/EmptyState-CJUDc3kD.mjs +0 -85
- package/dist/EmptyState-CJUDc3kD.mjs.map +0 -1
- package/dist/Error-Dtw6yxkf.mjs +0 -85
- package/dist/Error-Dtw6yxkf.mjs.map +0 -1
- package/dist/ErrorBoundary-C7BlHx04.mjs +0 -27
- package/dist/ErrorBoundary-C7BlHx04.mjs.map +0 -1
- package/dist/ExportCsvAction-BmhxpUxp.mjs +0 -25
- package/dist/ExportCsvAction-BmhxpUxp.mjs.map +0 -1
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +0 -230
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +0 -1
- package/dist/GlobalCopyApi-CLhyon-B.mjs +0 -145
- package/dist/GlobalCopyApi-CLhyon-B.mjs.map +0 -1
- package/dist/GoalsUtil-C9EnLWvC.mjs +0 -108
- package/dist/GoalsUtil-C9EnLWvC.mjs.map +0 -1
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -7
- package/dist/HeaderCell-P8w6CmfO.mjs.map +0 -1
- package/dist/Help-CkQTjORd.mjs +0 -300
- package/dist/Help-CkQTjORd.mjs.map +0 -1
- package/dist/Help-CsyZsI4_.mjs +0 -3210
- package/dist/Help-CsyZsI4_.mjs.map +0 -1
- package/dist/IconBacking-DgT8DCeh.mjs +0 -40
- package/dist/IconBacking-DgT8DCeh.mjs.map +0 -1
- package/dist/InformationTooltip-4su8bn1e.mjs +0 -42
- package/dist/InformationTooltip-4su8bn1e.mjs.map +0 -1
- package/dist/InvestmentUtil-BItV7uEs.mjs +0 -135
- package/dist/InvestmentUtil-BItV7uEs.mjs.map +0 -1
- package/dist/LineChart-CUfiH86G.mjs +0 -613
- package/dist/LineChart-CUfiH86G.mjs.map +0 -1
- package/dist/ListItemAction-BqUCLj_w.mjs +0 -70
- package/dist/ListItemAction-BqUCLj_w.mjs.map +0 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +0 -68
- package/dist/ListItemRow-kH1rn8Xu.mjs.map +0 -1
- package/dist/ListItemWrapper-DRse79Iu.mjs +0 -44
- package/dist/ListItemWrapper-DRse79Iu.mjs.map +0 -1
- package/dist/Loader-CxeBwuPG.mjs +0 -22
- package/dist/Loader-CxeBwuPG.mjs.map +0 -1
- package/dist/Localization-DnoVyBNK.mjs +0 -39
- package/dist/Localization-DnoVyBNK.mjs.map +0 -1
- package/dist/ManageIncome-Cy_iopks.mjs +0 -906
- package/dist/ManageIncome-Cy_iopks.mjs.map +0 -1
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs +0 -46
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +0 -1
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +0 -67
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +0 -1
- package/dist/NetWorthUtils-Dj7CgAg2.mjs +0 -96
- package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +0 -1
- package/dist/Notification-DTNYSd8P.mjs +0 -8
- package/dist/Notification-DTNYSd8P.mjs.map +0 -1
- package/dist/NotificationSettings-C7-S6PC1.mjs +0 -678
- package/dist/NotificationSettings-C7-S6PC1.mjs.map +0 -1
- package/dist/NotificationUtils-BRGFTePr.mjs +0 -24
- package/dist/NotificationUtils-BRGFTePr.mjs.map +0 -1
- package/dist/NumberFormatting--XMeeBfr.mjs +0 -50
- package/dist/NumberFormatting--XMeeBfr.mjs.map +0 -1
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs +0 -115
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +0 -1
- package/dist/RecurringSettings-UHjXxW8J.mjs +0 -89
- package/dist/RecurringSettings-UHjXxW8J.mjs.map +0 -1
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs +0 -299
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs.map +0 -1
- package/dist/ResponsiveButton-CC9F_Ezk.mjs +0 -46
- package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +0 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +0 -51
- package/dist/SearchBox-Cpgu_gdO.mjs.map +0 -1
- package/dist/Select-CSpkK5cR.mjs +0 -62
- package/dist/Select-CSpkK5cR.mjs.map +0 -1
- package/dist/SelectionBox-B4xELRgp.mjs +0 -49
- package/dist/SelectionBox-B4xELRgp.mjs.map +0 -1
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs +0 -70
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +0 -1
- package/dist/Sizes-DISGrlUg.mjs +0 -7
- package/dist/Sizes-DISGrlUg.mjs.map +0 -1
- package/dist/SkeletonLoader-BaNboJjD.mjs +0 -39
- package/dist/SkeletonLoader-BaNboJjD.mjs.map +0 -1
- package/dist/SpendingData-Fii_xATx.mjs +0 -54
- package/dist/SpendingData-Fii_xATx.mjs.map +0 -1
- package/dist/SpendingLegend-CxvNOg3c.mjs +0 -204
- package/dist/SpendingLegend-CxvNOg3c.mjs.map +0 -1
- package/dist/StatusBar-CPfSXe80.mjs +0 -31
- package/dist/StatusBar-CPfSXe80.mjs.map +0 -1
- package/dist/TabContentContainer-B0eYJP5p.mjs +0 -49
- package/dist/TabContentContainer-B0eYJP5p.mjs.map +0 -1
- package/dist/ToggleListItem-Dl1lXNwj.mjs +0 -92
- package/dist/ToggleListItem-Dl1lXNwj.mjs.map +0 -1
- package/dist/TransactionDetails-Nuyunc5m.mjs +0 -1710
- package/dist/TransactionDetails-Nuyunc5m.mjs.map +0 -1
- package/dist/TransactionUtils-BphBJBbU.mjs +0 -235
- package/dist/TransactionUtils-BphBJBbU.mjs.map +0 -1
- package/dist/TrendsUtil-D9z3kIj_.mjs +0 -70
- package/dist/TrendsUtil-D9z3kIj_.mjs.map +0 -1
- package/dist/UserStore-Cp-2Jtnw.mjs +0 -3210
- package/dist/UserStore-Cp-2Jtnw.mjs.map +0 -1
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs +0 -1280
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs.map +0 -1
- package/dist/WidgetContainer-By47tuTw.mjs +0 -487
- package/dist/WidgetContainer-By47tuTw.mjs.map +0 -1
- package/dist/accounts/components/ConnectStatus.d.ts +0 -7
- package/dist/accounts/index.es.js.map +0 -1
- package/dist/analytics/index.es.js.map +0 -1
- package/dist/budgets/index.es.js.map +0 -1
- package/dist/cashflow/index.es.js.map +0 -1
- package/dist/categories/index.es.js.map +0 -1
- package/dist/common/index.es.js.map +0 -1
- package/dist/core/index.es.js.map +0 -1
- package/dist/dashboard/index.es.js.map +0 -1
- package/dist/debts/index.es.js.map +0 -1
- package/dist/finstrong/index.es.js.map +0 -1
- package/dist/goals/index.es.js.map +0 -1
- package/dist/help/index.es.js.map +0 -1
- package/dist/hooks-97sNJ_lf.mjs +0 -78
- package/dist/hooks-97sNJ_lf.mjs.map +0 -1
- package/dist/insights/index.es.js.map +0 -1
- package/dist/investments/index.es.js.map +0 -1
- package/dist/merchants/index.es.js.map +0 -1
- package/dist/microinsights/index.es.js.map +0 -1
- package/dist/networth/index.es.js.map +0 -1
- package/dist/notifications/index.es.js.map +0 -1
- package/dist/recurringtransactions/index.es.js.map +0 -1
- package/dist/settings/index.es.js.map +0 -1
- package/dist/spending/index.es.js.map +0 -1
- package/dist/transactions/index.es.js.map +0 -1
- package/dist/trends/index.es.js.map +0 -1
- package/dist/useAccountDisplayName-BsiXA0qf.mjs +0 -24
- package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +0 -1
- package/dist/useAriaLive-MkYebyUR.mjs +0 -36
- package/dist/useAriaLive-MkYebyUR.mjs.map +0 -1
- package/dist/useDimensions-CeDR9V8N.mjs +0 -37
- package/dist/useDimensions-CeDR9V8N.mjs.map +0 -1
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +0 -12
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +0 -1
- package/dist/useScreenSize-mWpmnh5w.mjs +0 -37
- package/dist/useScreenSize-mWpmnh5w.mjs.map +0 -1
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +0 -20
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +0 -1
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { useAccountStore as _, useGlobalCopyStore as A } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { TrackType as e } from "../../core/types/Goal.es.js";
|
|
3
|
+
import { InterestRateAction as R } from "./actions/InterestRateAction.es.js";
|
|
4
|
+
import { MonthlyPaymentAction as f } from "./actions/MonthlyPaymentAction.es.js";
|
|
5
|
+
import { OriginalBalanceAction as y } from "./actions/OriginalBalanceAction.es.js";
|
|
6
|
+
import { GoalStatusCard as E } from "./GoalStatusCard.es.js";
|
|
7
|
+
import { AccountAction as u } from "./actions/AccountAction.es.js";
|
|
8
|
+
import { AmountToSaveAction as x } from "./actions/AmountToSaveAction.es.js";
|
|
9
|
+
import { ChangeAccountAction as h } from "./actions/ChangeAccountAction.es.js";
|
|
10
|
+
import { GoalNameAction as C } from "./actions/GoalNameAction.es.js";
|
|
11
|
+
import { RetirementAgeAction as I } from "./actions/RetirementAgeAction.es.js";
|
|
12
|
+
import { BirthdayAction as b } from "./actions/BirthdayAction.es.js";
|
|
13
|
+
import { AddRetirementAccountAction as v } from "./actions/AddRetirementAccountAction.es.js";
|
|
14
|
+
import k from "react";
|
|
15
|
+
import { observer as K } from "mobx-react-lite";
|
|
16
|
+
import p from "@mui/material/Stack";
|
|
17
|
+
import { Text as n } from "@mxenabled/mxui";
|
|
18
|
+
import { Fragment as m, jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
19
|
+
import o from "@mui/material/Divider";
|
|
20
|
+
import N from "@mui/material/List";
|
|
21
|
+
import M from "@mui/material/ListItem";
|
|
22
|
+
import S from "@mui/material/ListItemText";
|
|
23
|
+
var tt = K(({ goal: r }) => {
|
|
24
|
+
const { goals: c } = A(), { visibleAccounts: d } = _(), l = k.useMemo(() => d.find((T) => T.guid === r.account_guid), [d, r]), a = r.track_type;
|
|
25
|
+
let s = c.details_save_title;
|
|
26
|
+
return r.track_type === e.DEBT_TRACK ? s = c.details_debt_title : r.track_type === e.RETIREMENT_TRACK && (s = c.details_retirement_title), /* @__PURE__ */ i(p, { children: [
|
|
27
|
+
/* @__PURE__ */ i(p, {
|
|
28
|
+
mx: 24,
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ t(n, {
|
|
31
|
+
color: "text.secondary",
|
|
32
|
+
sx: {
|
|
33
|
+
mb: 4,
|
|
34
|
+
mt: 24
|
|
35
|
+
},
|
|
36
|
+
variant: "caption",
|
|
37
|
+
children: s
|
|
38
|
+
}),
|
|
39
|
+
/* @__PURE__ */ t(E, {
|
|
40
|
+
goal: r,
|
|
41
|
+
isInDrawer: !0
|
|
42
|
+
}),
|
|
43
|
+
/* @__PURE__ */ t(n, {
|
|
44
|
+
color: "text.secondary",
|
|
45
|
+
sx: {
|
|
46
|
+
mb: 4,
|
|
47
|
+
mt: 24
|
|
48
|
+
},
|
|
49
|
+
variant: "caption",
|
|
50
|
+
children: c.details_title
|
|
51
|
+
})
|
|
52
|
+
]
|
|
53
|
+
}),
|
|
54
|
+
/* @__PURE__ */ i(N, {
|
|
55
|
+
sx: { bgcolor: "background.paper" },
|
|
56
|
+
children: [
|
|
57
|
+
a !== e.RETIREMENT_TRACK ? /* @__PURE__ */ t(C, { goal: r }) : /* @__PURE__ */ t(M, {
|
|
58
|
+
sx: { px: 24 },
|
|
59
|
+
children: /* @__PURE__ */ t(S, {
|
|
60
|
+
primary: /* @__PURE__ */ i(p, {
|
|
61
|
+
alignItems: "center",
|
|
62
|
+
direction: "row",
|
|
63
|
+
justifyContent: "space-between",
|
|
64
|
+
children: [/* @__PURE__ */ t(n, {
|
|
65
|
+
variant: "body1",
|
|
66
|
+
children: c.details_goal_name
|
|
67
|
+
}), /* @__PURE__ */ t(n, {
|
|
68
|
+
bold: !0,
|
|
69
|
+
color: "text.primary",
|
|
70
|
+
sx: { mr: 4 },
|
|
71
|
+
variant: "body1",
|
|
72
|
+
children: c.retirement
|
|
73
|
+
})]
|
|
74
|
+
}),
|
|
75
|
+
slotProps: { primary: { variant: "body1" } }
|
|
76
|
+
})
|
|
77
|
+
}),
|
|
78
|
+
/* @__PURE__ */ t(o, { sx: { ml: 24 } }),
|
|
79
|
+
(a === e.SAVINGS_TRACK || a === e.RETIREMENT_TRACK) && /* @__PURE__ */ i(m, { children: [/* @__PURE__ */ t(x, { goal: r }), /* @__PURE__ */ t(o, { sx: { ml: a === e.RETIREMENT_TRACK ? 24 : 0 } })] }),
|
|
80
|
+
r.track_type === e.DEBT_TRACK && /* @__PURE__ */ i(m, { children: [
|
|
81
|
+
/* @__PURE__ */ t(f, { goal: r }),
|
|
82
|
+
/* @__PURE__ */ t(o, { sx: { ml: 24 } }),
|
|
83
|
+
/* @__PURE__ */ t(R, { goal: r }),
|
|
84
|
+
/* @__PURE__ */ t(o, { sx: { ml: 24 } }),
|
|
85
|
+
/* @__PURE__ */ t(y, { goal: r }),
|
|
86
|
+
/* @__PURE__ */ t(o, { variant: "fullWidth" })
|
|
87
|
+
] }),
|
|
88
|
+
r.track_type === e.RETIREMENT_TRACK && /* @__PURE__ */ i(m, { children: [
|
|
89
|
+
/* @__PURE__ */ t(I, { goal: r }),
|
|
90
|
+
/* @__PURE__ */ t(o, { sx: { ml: 24 } }),
|
|
91
|
+
/* @__PURE__ */ t(b, { goal: r }),
|
|
92
|
+
/* @__PURE__ */ t(o, { variant: "fullWidth" })
|
|
93
|
+
] })
|
|
94
|
+
]
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ t(n, {
|
|
97
|
+
color: "text.secondary",
|
|
98
|
+
sx: {
|
|
99
|
+
mb: 4,
|
|
100
|
+
ml: 24,
|
|
101
|
+
mt: 12
|
|
102
|
+
},
|
|
103
|
+
variant: "caption",
|
|
104
|
+
children: r.track_type === e.RETIREMENT_TRACK ? c.details_accounts : c.details_account
|
|
105
|
+
}),
|
|
106
|
+
r.track_type !== e.RETIREMENT_TRACK && l && /* @__PURE__ */ i(m, { children: [/* @__PURE__ */ t(u, { account: l }), /* @__PURE__ */ t(o, {})] }),
|
|
107
|
+
r.track_type === e.RETIREMENT_TRACK && /* @__PURE__ */ i(m, { children: [/* @__PURE__ */ t(v, { goal: r }), /* @__PURE__ */ t(o, {})] }),
|
|
108
|
+
r.track_type === e.SAVINGS_TRACK && !r.is_complete && /* @__PURE__ */ t(h, { goal: r })
|
|
109
|
+
] });
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
tt as GoalDetails
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
//# sourceMappingURL=GoalDetails.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalDetails.es.js","names":[],"sources":["../../../src/goals/components/GoalDetails.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\nimport ListItem from '@mui/material/ListItem'\nimport ListItemText from '@mui/material/ListItemText'\n\nimport Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { useAccountStore, useGlobalCopyStore } from '../../common'\nimport { Goal, TrackType } from '../../core'\n\nimport { AccountAction } from './actions/AccountAction'\nimport { AmountToSaveAction } from './actions/AmountToSaveAction'\nimport { ChangeAccountAction } from './actions/ChangeAccountAction'\nimport { GoalNameAction } from './actions/GoalNameAction'\nimport { GoalStatusCard } from './GoalStatusCard'\nimport { MonthlyPaymentAction } from './actions/MonthlyPaymentAction'\nimport { OriginalBalanceAction } from './actions/OriginalBalanceAction'\nimport { InterestRateAction } from './actions/InterestRateAction'\nimport { RetirementAgeAction } from './actions/RetirementAgeAction'\nimport { BirthdayAction } from './actions/BirthdayAction'\nimport { AddRetirementAccountAction } from './actions/AddRetirementAccountAction'\n\ninterface GoalDetailsProps {\n goal: Goal\n}\n\nexport const GoalDetails = observer(({ goal }: GoalDetailsProps) => {\n const { goals: copy } = useGlobalCopyStore()\n const { visibleAccounts: accounts } = useAccountStore()\n\n const account = React.useMemo(\n () => accounts.find((a) => a.guid === goal.account_guid),\n [accounts, goal],\n )\n\n const goalType = goal.track_type\n\n let goalTitle = copy.details_save_title\n if (goal.track_type === TrackType.DEBT_TRACK) {\n goalTitle = copy.details_debt_title\n } else if (goal.track_type === TrackType.RETIREMENT_TRACK) {\n goalTitle = copy.details_retirement_title\n }\n\n return (\n <Stack>\n <Stack mx={24}>\n <Text color=\"text.secondary\" sx={{ mb: 4, mt: 24 }} variant=\"caption\">\n {goalTitle}\n </Text>\n <GoalStatusCard goal={goal} isInDrawer={true} />\n\n <Text color=\"text.secondary\" sx={{ mb: 4, mt: 24 }} variant=\"caption\">\n {copy.details_title}\n </Text>\n </Stack>\n\n <List sx={{ bgcolor: 'background.paper' }}>\n {goalType !== TrackType.RETIREMENT_TRACK ? (\n <GoalNameAction goal={goal} />\n ) : (\n <ListItem sx={{ px: 24 }}>\n <ListItemText\n primary={\n <Stack alignItems=\"center\" direction=\"row\" justifyContent=\"space-between\">\n <Text variant=\"body1\">{copy.details_goal_name}</Text>\n <Text bold={true} color={'text.primary'} sx={{ mr: 4 }} variant=\"body1\">\n {copy.retirement}\n </Text>\n </Stack>\n }\n slotProps={{ primary: { variant: 'body1' } }}\n />\n </ListItem>\n )}\n\n <Divider sx={{ ml: 24 }} />\n\n {(goalType === TrackType.SAVINGS_TRACK || goalType === TrackType.RETIREMENT_TRACK) && (\n <>\n <AmountToSaveAction goal={goal} />\n <Divider sx={{ ml: goalType === TrackType.RETIREMENT_TRACK ? 24 : 0 }} />\n </>\n )}\n\n {goal.track_type === TrackType.DEBT_TRACK && (\n <>\n <MonthlyPaymentAction goal={goal} />\n <Divider sx={{ ml: 24 }} />\n\n <InterestRateAction goal={goal} />\n <Divider sx={{ ml: 24 }} />\n\n <OriginalBalanceAction goal={goal} />\n <Divider variant=\"fullWidth\" />\n </>\n )}\n\n {goal.track_type === TrackType.RETIREMENT_TRACK && (\n <>\n <RetirementAgeAction goal={goal} />\n <Divider sx={{ ml: 24 }} />\n\n <BirthdayAction goal={goal} />\n <Divider variant=\"fullWidth\" />\n </>\n )}\n </List>\n\n <Text color=\"text.secondary\" sx={{ mb: 4, ml: 24, mt: 12 }} variant=\"caption\">\n {goal.track_type === TrackType.RETIREMENT_TRACK\n ? copy.details_accounts\n : copy.details_account}\n </Text>\n\n {goal.track_type !== TrackType.RETIREMENT_TRACK && account && (\n <>\n <AccountAction account={account} />\n <Divider />\n </>\n )}\n\n {goal.track_type === TrackType.RETIREMENT_TRACK && (\n <>\n <AddRetirementAccountAction goal={goal} />\n <Divider />\n </>\n )}\n\n {goal.track_type === TrackType.SAVINGS_TRACK && !goal.is_complete && (\n <ChangeAccountAction goal={goal} />\n )}\n </Stack>\n )\n})\n"],"mappings":"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"}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { buildDynamicCopy as B } from "../../core/utils/Localization.es.js";
|
|
2
|
+
import { useAccountStore as K, useGlobalCopyStore as M, useGoalStore as O, useUserStore as P } from "../../common/context/hooks.es.js";
|
|
3
|
+
import V from "../../common/components/dialog/Dialog.es.js";
|
|
4
|
+
import j from "../../common/components/drawer/Drawer.es.js";
|
|
5
|
+
import { TrackType as r } from "../../core/types/Goal.es.js";
|
|
6
|
+
import { GoalDetails as L } from "./GoalDetails.es.js";
|
|
7
|
+
import _ from "react";
|
|
8
|
+
import { observer as U } from "mobx-react-lite";
|
|
9
|
+
import W from "@mui/material/Stack";
|
|
10
|
+
import { Text as $ } from "@mxenabled/mxui";
|
|
11
|
+
import { jsx as c, jsxs as q } from "react/jsx-runtime";
|
|
12
|
+
var re = U(({ onClose: G }) => {
|
|
13
|
+
const { visibleRetirementAccounts: f } = K(), { goals: o, common: i } = M(), { addGoal: b, addRetirementGoal: E, deleteGoal: h, deleteRetirementGoal: S, newRetirementGoalAccounts: y, retirementGoalAccounts: T, selectedGoal: e, setAlert: m, setSelectedGoal: n, updateGoal: v } = O(), { user: R } = P(), [D, A] = _.useState(!1), a = !e?.guid, d = e?.track_type === r.SAVINGS_TRACK && e.is_complete && !e.has_been_spent, C = _.useMemo(() => {
|
|
14
|
+
const t = a ? y : T;
|
|
15
|
+
return f.filter((l) => t.some((s) => s.account_guid === l.guid));
|
|
16
|
+
}, [
|
|
17
|
+
a,
|
|
18
|
+
f,
|
|
19
|
+
y,
|
|
20
|
+
T
|
|
21
|
+
]), k = _.useMemo(() => {
|
|
22
|
+
if (!e) return !1;
|
|
23
|
+
if (!a && !d) return !0;
|
|
24
|
+
const { account_guid: t, track_type: l, name: s, amount: g, retirement_age: N } = e;
|
|
25
|
+
return l === r.SAVINGS_TRACK ? t ? !!s && !!g : !1 : l === r.RETIREMENT_TRACK ? C.length ? !!s && !!g && !!N && !!R.birthday : !1 : !0;
|
|
26
|
+
}, [
|
|
27
|
+
e,
|
|
28
|
+
C,
|
|
29
|
+
R.birthday
|
|
30
|
+
]);
|
|
31
|
+
let u = i.delete_button, p = () => A(!0);
|
|
32
|
+
a ? (p = () => w(), u = i.save_button) : d && (p = () => I(), u = o.mark_as_complete_button);
|
|
33
|
+
const w = async () => {
|
|
34
|
+
if (e) {
|
|
35
|
+
const t = e.track_type;
|
|
36
|
+
t !== r.RETIREMENT_TRACK ? await b(e) : t === r.RETIREMENT_TRACK && await E({
|
|
37
|
+
...e,
|
|
38
|
+
target_amount: e.amount
|
|
39
|
+
}), m(o.alert_goal_added), n(void 0), t && G?.(t);
|
|
40
|
+
}
|
|
41
|
+
}, x = async () => {
|
|
42
|
+
e && (e.track_type !== r.RETIREMENT_TRACK ? await h(e.guid) : e.track_type === r.RETIREMENT_TRACK && await S(e), m(o.alert_goal_deleted), n(void 0));
|
|
43
|
+
}, I = async () => {
|
|
44
|
+
const t = {
|
|
45
|
+
...e,
|
|
46
|
+
has_been_spent: !0
|
|
47
|
+
};
|
|
48
|
+
await v(t), m(o.alert_goal_completed), n(void 0);
|
|
49
|
+
};
|
|
50
|
+
return /* @__PURE__ */ q(W, { children: [/* @__PURE__ */ c(j, {
|
|
51
|
+
ariaLabelClose: i.close_aria,
|
|
52
|
+
hasSecondaryAction: a,
|
|
53
|
+
isOpen: !!e,
|
|
54
|
+
isPrimaryDisabled: !k,
|
|
55
|
+
onClose: () => n(void 0),
|
|
56
|
+
onPrimaryAction: p,
|
|
57
|
+
primaryColor: a || d ? "primary" : "error",
|
|
58
|
+
primaryText: u,
|
|
59
|
+
secondaryColor: "primary",
|
|
60
|
+
title: o.goal_details,
|
|
61
|
+
children: e && /* @__PURE__ */ c(L, { goal: e })
|
|
62
|
+
}), /* @__PURE__ */ c(V, {
|
|
63
|
+
copy: {
|
|
64
|
+
close_aria: i.close_aria,
|
|
65
|
+
title: o.delete_goal
|
|
66
|
+
},
|
|
67
|
+
isOpen: D,
|
|
68
|
+
maxWidth: "xs",
|
|
69
|
+
onClose: () => A(!1),
|
|
70
|
+
onPrimaryAction: x,
|
|
71
|
+
primaryColor: "error",
|
|
72
|
+
primaryText: i.delete_button,
|
|
73
|
+
children: /* @__PURE__ */ c($, {
|
|
74
|
+
variant: "subtitle1",
|
|
75
|
+
children: B(o.delete_description, e?.name || "")
|
|
76
|
+
})
|
|
77
|
+
})] });
|
|
78
|
+
});
|
|
79
|
+
export {
|
|
80
|
+
re as GoalDetailsDrawer
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
//# sourceMappingURL=GoalDetailsDrawer.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalDetailsDrawer.es.js","names":[],"sources":["../../../src/goals/components/GoalDetailsDrawer.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport {\n Dialog,\n Drawer,\n useAccountStore,\n useGlobalCopyStore,\n useGoalStore,\n useUserStore,\n} from '../../common'\nimport { type Goal, TrackType } from '../../core'\n\nimport { GoalDetails } from './GoalDetails'\nimport { buildDynamicCopy } from '../../core/utils/Localization'\n\ninterface GoalDetailsDrawerProps {\n onClose?: (trackType: TrackType) => void\n}\n\nexport const GoalDetailsDrawer = observer(({ onClose }: GoalDetailsDrawerProps) => {\n const { visibleRetirementAccounts: retirementAccounts } = useAccountStore()\n const { goals: copy, common: commonCopy } = useGlobalCopyStore()\n const {\n addGoal,\n addRetirementGoal,\n deleteGoal,\n deleteRetirementGoal,\n newRetirementGoalAccounts,\n retirementGoalAccounts,\n selectedGoal,\n setAlert,\n setSelectedGoal,\n updateGoal,\n } = useGoalStore()\n const { user } = useUserStore()\n\n const [isDeleteOpen, setIsDeleteOpen] = React.useState(false)\n\n const isNew = !selectedGoal?.guid\n const isComplete =\n selectedGoal?.track_type === TrackType.SAVINGS_TRACK &&\n selectedGoal.is_complete &&\n !selectedGoal.has_been_spent\n\n const accounts = React.useMemo(() => {\n const goalAccounts = isNew ? newRetirementGoalAccounts : retirementGoalAccounts\n return retirementAccounts.filter((a) => goalAccounts.some((rga) => rga.account_guid === a.guid))\n }, [isNew, retirementAccounts, newRetirementGoalAccounts, retirementGoalAccounts])\n\n const isValidGoal = React.useMemo(() => {\n if (!selectedGoal) return false\n\n // Allow deletion of existing goals even if the accounts are not associated with the goals,\n // as long as the goal is not new and not already complete.\n if (!isNew && !isComplete) return true\n\n const { account_guid, track_type, name, amount, retirement_age } = selectedGoal\n\n if (track_type === TrackType.SAVINGS_TRACK) {\n if (!account_guid) return false\n return Boolean(name) && Boolean(amount)\n }\n\n if (track_type === TrackType.RETIREMENT_TRACK) {\n if (!accounts.length) return false\n return Boolean(name) && Boolean(amount) && Boolean(retirement_age) && Boolean(user.birthday)\n }\n\n return true\n }, [selectedGoal, accounts, user.birthday])\n\n let primaryText = commonCopy.delete_button\n let primaryAction = () => setIsDeleteOpen(true)\n if (isNew) {\n primaryAction = () => handleSave()\n primaryText = commonCopy.save_button\n } else if (isComplete) {\n primaryAction = () => handleComplete()\n primaryText = copy.mark_as_complete_button\n }\n\n const handleSave = async () => {\n if (selectedGoal) {\n const trackType = selectedGoal.track_type\n if (trackType !== TrackType.RETIREMENT_TRACK) {\n await addGoal(selectedGoal)\n } else if (trackType === TrackType.RETIREMENT_TRACK) {\n await addRetirementGoal({ ...selectedGoal, target_amount: selectedGoal.amount })\n }\n setAlert(copy.alert_goal_added)\n setSelectedGoal(undefined)\n if (trackType) {\n onClose?.(trackType)\n }\n }\n }\n\n const handleDelete = async () => {\n if (!selectedGoal) return\n\n if (selectedGoal.track_type !== TrackType.RETIREMENT_TRACK) {\n await deleteGoal(selectedGoal.guid)\n } else if (selectedGoal.track_type === TrackType.RETIREMENT_TRACK) {\n await deleteRetirementGoal(selectedGoal)\n }\n setAlert(copy.alert_goal_deleted)\n setSelectedGoal(undefined)\n }\n\n const handleComplete = async () => {\n const updatedGoal = {\n ...selectedGoal,\n has_been_spent: true,\n } as Goal\n await updateGoal(updatedGoal)\n setAlert(copy.alert_goal_completed)\n setSelectedGoal(undefined)\n }\n\n return (\n <Stack>\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n hasSecondaryAction={isNew}\n isOpen={Boolean(selectedGoal)}\n isPrimaryDisabled={!isValidGoal}\n onClose={() => setSelectedGoal(undefined)}\n onPrimaryAction={primaryAction}\n primaryColor={isNew || isComplete ? 'primary' : 'error'}\n primaryText={primaryText}\n secondaryColor=\"primary\"\n title={copy.goal_details}\n >\n {selectedGoal && <GoalDetails goal={selectedGoal} />}\n </Drawer>\n <Dialog\n copy={{ close_aria: commonCopy.close_aria, title: copy.delete_goal }}\n isOpen={isDeleteOpen}\n maxWidth=\"xs\"\n onClose={() => setIsDeleteOpen(false)}\n onPrimaryAction={handleDelete}\n primaryColor=\"error\"\n primaryText={commonCopy.delete_button}\n >\n <Text variant=\"subtitle1\">\n {buildDynamicCopy(copy.delete_description, selectedGoal?.name || '') as string}\n </Text>\n </Dialog>\n </Stack>\n )\n})\n"],"mappings":"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"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { useGlobalCopyStore as R, useGlobalUiStore as x, useGoalStore as A } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { useScreenSize as G } from "../../common/hooks/useScreenSize.es.js";
|
|
3
|
+
import { TrackType as r } from "../../core/types/Goal.es.js";
|
|
4
|
+
import { formatCurrency as T } from "../../core/utils/NumberFormatting.es.js";
|
|
5
|
+
import { getZeroStateOngoing as k } from "../../core/utils/GoalsUtil.es.js";
|
|
6
|
+
import { GoalStatusCard as I } from "./GoalStatusCard.es.js";
|
|
7
|
+
import { ManageGoals as v } from "./ManageGoals.es.js";
|
|
8
|
+
import { observer as w } from "mobx-react-lite";
|
|
9
|
+
import o from "@mui/material/Stack";
|
|
10
|
+
import { H3 as _, Icon as E, P as h, Text as u } from "@mxenabled/mxui";
|
|
11
|
+
import K from "@mui/material/Button";
|
|
12
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
13
|
+
import N from "@mui/material/Card";
|
|
14
|
+
import z from "@mui/material/CardContent";
|
|
15
|
+
import b from "@mui/material/Grid";
|
|
16
|
+
import j from "@mui/material/CardActionArea";
|
|
17
|
+
var Y = w(({ trackType: c, onAddGoals: f }) => {
|
|
18
|
+
const { isMobile: s } = G(), { goals: n } = R(), { selectedAccountGuids: y } = x(), { orderedGoals: C, setSelectedGoal: a } = A(), d = C.filter((e) => e.track_type === c && (e.track_type !== r.RETIREMENT_TRACK && y.includes(e.account_guid) || e.track_type === r.RETIREMENT_TRACK)), l = d.filter((e) => e.track_type === r.SAVINGS_TRACK && !e.has_been_spent || e.track_type !== r.SAVINGS_TRACK && !e.is_complete), m = d.filter((e) => e.track_type === r.SAVINGS_TRACK && e.has_been_spent || e.track_type !== r.SAVINGS_TRACK && e.is_complete), S = c === r.DEBT_TRACK ? n.zero_state_complete_debt : n.zero_state_complete_savings;
|
|
19
|
+
return /* @__PURE__ */ i(o, {
|
|
20
|
+
mt: 16,
|
|
21
|
+
mx: s ? 24 : 0,
|
|
22
|
+
children: [
|
|
23
|
+
/* @__PURE__ */ i(o, {
|
|
24
|
+
alignItems: "center",
|
|
25
|
+
direction: "row",
|
|
26
|
+
justifyContent: "space-between",
|
|
27
|
+
mb: 8,
|
|
28
|
+
children: [/* @__PURE__ */ t(_, {
|
|
29
|
+
color: "text.secondary",
|
|
30
|
+
variant: "body2",
|
|
31
|
+
children: n.ongoing_title
|
|
32
|
+
}), /* @__PURE__ */ t(v, { trackType: c })]
|
|
33
|
+
}),
|
|
34
|
+
l.length > 0 ? /* @__PURE__ */ t(b, {
|
|
35
|
+
container: !0,
|
|
36
|
+
spacing: 24,
|
|
37
|
+
children: l.map((e, p, g) => /* @__PURE__ */ t(b, {
|
|
38
|
+
size: s || p === 0 && g.length !== 2 ? 12 : 6,
|
|
39
|
+
children: /* @__PURE__ */ t(I, {
|
|
40
|
+
goal: e,
|
|
41
|
+
onClick: () => a(e)
|
|
42
|
+
}, e.guid)
|
|
43
|
+
}, p))
|
|
44
|
+
}) : /* @__PURE__ */ i(o, {
|
|
45
|
+
alignItems: "center",
|
|
46
|
+
bgcolor: "background.default",
|
|
47
|
+
borderRadius: 2,
|
|
48
|
+
height: 166,
|
|
49
|
+
justifyContent: "center",
|
|
50
|
+
py: 18,
|
|
51
|
+
children: [/* @__PURE__ */ t(h, {
|
|
52
|
+
sx: (e) => ({
|
|
53
|
+
color: "text.secondary",
|
|
54
|
+
[e.breakpoints.down("sm")]: { px: 10 },
|
|
55
|
+
width: { sm: 381 }
|
|
56
|
+
}),
|
|
57
|
+
variant: "body2",
|
|
58
|
+
children: k(c, n)
|
|
59
|
+
}), /* @__PURE__ */ t(K, {
|
|
60
|
+
onClick: f,
|
|
61
|
+
sx: {
|
|
62
|
+
mt: 16,
|
|
63
|
+
width: { sm: 224 }
|
|
64
|
+
},
|
|
65
|
+
variant: "contained",
|
|
66
|
+
children: n.add_goals_button
|
|
67
|
+
})]
|
|
68
|
+
}),
|
|
69
|
+
c !== r.RETIREMENT_TRACK && /* @__PURE__ */ i(o, {
|
|
70
|
+
gap: 16,
|
|
71
|
+
mt: 48,
|
|
72
|
+
children: [
|
|
73
|
+
/* @__PURE__ */ t(_, {
|
|
74
|
+
color: "text.secondary",
|
|
75
|
+
variant: "body2",
|
|
76
|
+
children: n.complete_title
|
|
77
|
+
}),
|
|
78
|
+
m.length === 0 && /* @__PURE__ */ t(o, {
|
|
79
|
+
alignItems: "center",
|
|
80
|
+
bgcolor: "background.default",
|
|
81
|
+
borderRadius: 2,
|
|
82
|
+
py: 18,
|
|
83
|
+
children: /* @__PURE__ */ t(h, {
|
|
84
|
+
sx: (e) => ({
|
|
85
|
+
color: "text.secondary",
|
|
86
|
+
width: { sm: 393 },
|
|
87
|
+
[e.breakpoints.down("sm")]: { px: 10 }
|
|
88
|
+
}),
|
|
89
|
+
variant: "body2",
|
|
90
|
+
children: S
|
|
91
|
+
})
|
|
92
|
+
}),
|
|
93
|
+
m.map((e) => /* @__PURE__ */ t(N, {
|
|
94
|
+
elevation: 2,
|
|
95
|
+
children: /* @__PURE__ */ t(j, {
|
|
96
|
+
onClick: () => a(e),
|
|
97
|
+
children: /* @__PURE__ */ t(z, {
|
|
98
|
+
sx: { ":last-child": { pb: 16 } },
|
|
99
|
+
children: /* @__PURE__ */ i(o, {
|
|
100
|
+
alignItems: "center",
|
|
101
|
+
direction: "row",
|
|
102
|
+
justifyContent: "space-between",
|
|
103
|
+
children: [/* @__PURE__ */ i(o, {
|
|
104
|
+
alignItems: "center",
|
|
105
|
+
direction: "row",
|
|
106
|
+
gap: 6,
|
|
107
|
+
children: [/* @__PURE__ */ t(E, {
|
|
108
|
+
color: "success",
|
|
109
|
+
fill: !0,
|
|
110
|
+
name: "check_circle",
|
|
111
|
+
size: 20
|
|
112
|
+
}), /* @__PURE__ */ t(u, {
|
|
113
|
+
color: "text.secondary",
|
|
114
|
+
variant: "body1",
|
|
115
|
+
children: e.name
|
|
116
|
+
})]
|
|
117
|
+
}), /* @__PURE__ */ t(u, {
|
|
118
|
+
bold: !0,
|
|
119
|
+
variant: "body1",
|
|
120
|
+
children: T(e.amount, "0,0.00")
|
|
121
|
+
})]
|
|
122
|
+
})
|
|
123
|
+
})
|
|
124
|
+
})
|
|
125
|
+
}, e.guid))
|
|
126
|
+
]
|
|
127
|
+
})
|
|
128
|
+
]
|
|
129
|
+
});
|
|
130
|
+
});
|
|
131
|
+
export {
|
|
132
|
+
Y as GoalList
|
|
133
|
+
};
|
|
134
|
+
|
|
135
|
+
//# sourceMappingURL=GoalList.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalList.es.js","names":[],"sources":["../../../src/goals/components/GoalList.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\n\nimport Button from '@mui/material/Button'\nimport Card from '@mui/material/Card'\nimport CardActionArea from '@mui/material/CardActionArea'\nimport CardContent from '@mui/material/CardContent'\nimport Grid from '@mui/material/Grid'\nimport Stack from '@mui/material/Stack'\nimport type { Theme } from '@mui/system'\n\nimport { H3, Icon, P, Text } from '@mxenabled/mxui'\n\nimport { useGlobalCopyStore, useGlobalUiStore, useGoalStore, useScreenSize } from '../../common'\nimport { TrackType } from '../../core'\n\nimport { GoalStatusCard } from './GoalStatusCard'\nimport { ManageGoals } from './ManageGoals'\nimport { getZeroStateOngoing } from '../../core/utils/GoalsUtil'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\n\ninterface GoalListProps {\n trackType: TrackType\n onAddGoals: () => void\n}\n\nexport const GoalList = observer(({ trackType, onAddGoals }: GoalListProps) => {\n const { isMobile } = useScreenSize()\n const { goals: copy } = useGlobalCopyStore()\n const { selectedAccountGuids } = useGlobalUiStore()\n const { orderedGoals: allGoals, setSelectedGoal } = useGoalStore()\n\n const goals = allGoals.filter(\n (goal) =>\n goal.track_type === trackType &&\n ((goal.track_type !== TrackType.RETIREMENT_TRACK &&\n selectedAccountGuids.includes(goal.account_guid)) ||\n goal.track_type === TrackType.RETIREMENT_TRACK),\n )\n\n const ongoing = goals.filter(\n (goal) =>\n (goal.track_type === TrackType.SAVINGS_TRACK && !goal.has_been_spent) ||\n (goal.track_type !== TrackType.SAVINGS_TRACK && !goal.is_complete),\n )\n\n const complete = goals.filter(\n (goal) =>\n (goal.track_type === TrackType.SAVINGS_TRACK && goal.has_been_spent) ||\n (goal.track_type !== TrackType.SAVINGS_TRACK && goal.is_complete),\n )\n\n const zeroStateComplete =\n trackType === TrackType.DEBT_TRACK\n ? copy.zero_state_complete_debt\n : copy.zero_state_complete_savings\n\n return (\n <Stack mt={16} mx={isMobile ? 24 : 0}>\n <Stack alignItems=\"center\" direction=\"row\" justifyContent=\"space-between\" mb={8}>\n <H3 color=\"text.secondary\" variant=\"body2\">\n {copy.ongoing_title}\n </H3>\n <ManageGoals trackType={trackType} />\n </Stack>\n {ongoing.length > 0 ? (\n <Grid container={true} spacing={24}>\n {ongoing.map((goal, index, goals) => (\n // Goal should be full width in mobile or if it's the first goal (unless there are 2)\n <Grid key={index} size={isMobile || (index === 0 && goals.length !== 2) ? 12 : 6}>\n <GoalStatusCard goal={goal} key={goal.guid} onClick={() => setSelectedGoal(goal)} />\n </Grid>\n ))}\n </Grid>\n ) : (\n <Stack\n alignItems=\"center\"\n bgcolor=\"background.default\"\n borderRadius={2}\n height={166}\n justifyContent=\"center\"\n py={18}\n >\n <P\n sx={(theme) => ({\n color: 'text.secondary',\n [(theme as Theme).breakpoints.down('sm')]: {\n px: 10,\n },\n width: { sm: 381 },\n })}\n variant=\"body2\"\n >\n {getZeroStateOngoing(trackType, copy)}\n </P>\n <Button onClick={onAddGoals} sx={{ mt: 16, width: { sm: 224 } }} variant=\"contained\">\n {copy.add_goals_button}\n </Button>\n </Stack>\n )}\n {trackType !== TrackType.RETIREMENT_TRACK && (\n <Stack gap={16} mt={48}>\n <H3 color=\"text.secondary\" variant=\"body2\">\n {copy.complete_title}\n </H3>\n {complete.length === 0 && (\n <Stack alignItems=\"center\" bgcolor=\"background.default\" borderRadius={2} py={18}>\n <P\n sx={(theme) => ({\n color: 'text.secondary',\n width: { sm: 393 },\n [(theme as Theme).breakpoints.down('sm')]: {\n px: 10,\n },\n })}\n variant=\"body2\"\n >\n {zeroStateComplete}\n </P>\n </Stack>\n )}\n {complete.map((goal) => (\n <Card elevation={2} key={goal.guid}>\n <CardActionArea onClick={() => setSelectedGoal(goal)}>\n <CardContent sx={{ ':last-child': { pb: 16 } }}>\n <Stack alignItems=\"center\" direction=\"row\" justifyContent=\"space-between\">\n <Stack alignItems=\"center\" direction=\"row\" gap={6}>\n <Icon color=\"success\" fill={true} name=\"check_circle\" size={20} />\n <Text color=\"text.secondary\" variant=\"body1\">\n {goal.name}\n </Text>\n </Stack>\n <Text bold={true} variant=\"body1\">\n {formatCurrency(goal.amount, '0,0.00')}\n </Text>\n </Stack>\n </CardContent>\n </CardActionArea>\n </Card>\n ))}\n </Stack>\n )}\n </Stack>\n )\n})\n"],"mappings":"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"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import b from "../../common/components/charts/StatusBar.es.js";
|
|
2
|
+
import { useGlobalCopyStore as _ } from "../../common/context/hooks.es.js";
|
|
3
|
+
import { useScreenSize as S } from "../../common/hooks/useScreenSize.es.js";
|
|
4
|
+
import { TrackType as n } from "../../core/types/Goal.es.js";
|
|
5
|
+
import { formatCurrency as m } from "../../core/utils/NumberFormatting.es.js";
|
|
6
|
+
import { getGoalStatusData as g } from "../../core/utils/GoalsUtil.es.js";
|
|
7
|
+
import { observer as A } from "mobx-react-lite";
|
|
8
|
+
import d from "@mui/material/Stack";
|
|
9
|
+
import { Text as i } from "@mxenabled/mxui";
|
|
10
|
+
import { NoteStack as $, Payments as k, Person as j } from "@mxenabled/mx-icons";
|
|
11
|
+
import { jsx as r, jsxs as c } from "react/jsx-runtime";
|
|
12
|
+
import E from "@mui/material/Card";
|
|
13
|
+
import R from "@mui/material/CardContent";
|
|
14
|
+
import z from "@mui/material/CardHeader";
|
|
15
|
+
import H from "@mui/material/Avatar";
|
|
16
|
+
import M from "@mui/material/CardActionArea";
|
|
17
|
+
var w = (t, e) => e ? m(t, t < 1e3 ? "0" : "0.00a").replace(/(\d+)(?:\.0+|(\.\d*?[1-9])0*)([a-zA-Z]* ?\$?)/g, "$1$2$3") : m(t, "0,0.00"), V = A(({ goal: t, isInDrawer: e = !1, onClick: p }) => {
|
|
18
|
+
const { goals: l } = _(), { isMobile: f, isTablet: h } = S(), o = f || h, { backgroundColor: s, color: x, percentage: u, percentageText: y, projectedText: C } = g(l, t), T = t.track_type === n.DEBT_TRACK ? t.initial_amount : t.amount, v = [{
|
|
19
|
+
color: s,
|
|
20
|
+
percentage: `${u}`
|
|
21
|
+
}];
|
|
22
|
+
let a = /* @__PURE__ */ r(k, {});
|
|
23
|
+
return t.track_type === n.DEBT_TRACK ? a = /* @__PURE__ */ r($, {}) : t.track_type === n.RETIREMENT_TRACK && (a = /* @__PURE__ */ r(j, {})), /* @__PURE__ */ r(E, {
|
|
24
|
+
elevation: 2,
|
|
25
|
+
sx: { "&:focus-within": {
|
|
26
|
+
outline: "2px solid",
|
|
27
|
+
outlineColor: "primary.main"
|
|
28
|
+
} },
|
|
29
|
+
children: /* @__PURE__ */ c(M, {
|
|
30
|
+
disabled: !p,
|
|
31
|
+
onClick: p,
|
|
32
|
+
children: [/* @__PURE__ */ r(z, {
|
|
33
|
+
avatar: /* @__PURE__ */ r(H, {
|
|
34
|
+
sx: {
|
|
35
|
+
bgcolor: s,
|
|
36
|
+
color: x,
|
|
37
|
+
height: 48,
|
|
38
|
+
width: 48
|
|
39
|
+
},
|
|
40
|
+
variant: "rounded",
|
|
41
|
+
children: a
|
|
42
|
+
}),
|
|
43
|
+
subheader: /* @__PURE__ */ r(i, {
|
|
44
|
+
sx: {
|
|
45
|
+
fontWeight: 700,
|
|
46
|
+
fontSize: e || o ? "18px" : "23px",
|
|
47
|
+
lineHeight: e || o ? "24px" : "32px"
|
|
48
|
+
},
|
|
49
|
+
children: `${m(t.current_amount, o ? "0,0" : "0,0.00")} / ${w(T, o)}`
|
|
50
|
+
}),
|
|
51
|
+
sx: {
|
|
52
|
+
alignItems: "flex-start",
|
|
53
|
+
"& .MuiCardHeader-content": { minWidth: 0 }
|
|
54
|
+
},
|
|
55
|
+
title: /* @__PURE__ */ r(i, {
|
|
56
|
+
color: "text.secondary",
|
|
57
|
+
fontWeight: 400,
|
|
58
|
+
sx: {
|
|
59
|
+
fontSize: "15px",
|
|
60
|
+
lineHeight: "20px"
|
|
61
|
+
},
|
|
62
|
+
variant: "h4",
|
|
63
|
+
children: t.name
|
|
64
|
+
})
|
|
65
|
+
}), /* @__PURE__ */ r(R, {
|
|
66
|
+
sx: { pt: 0 },
|
|
67
|
+
children: /* @__PURE__ */ c(d, {
|
|
68
|
+
gap: 6,
|
|
69
|
+
children: [/* @__PURE__ */ r(b, {
|
|
70
|
+
data: v,
|
|
71
|
+
height: 24
|
|
72
|
+
}), /* @__PURE__ */ c(d, {
|
|
73
|
+
alignItems: "center",
|
|
74
|
+
direction: "row",
|
|
75
|
+
justifyContent: "space-between",
|
|
76
|
+
children: [/* @__PURE__ */ r(i, {
|
|
77
|
+
color: "text.secondary",
|
|
78
|
+
variant: "caption",
|
|
79
|
+
children: y
|
|
80
|
+
}), t.projected_to_complete_at && /* @__PURE__ */ r(i, {
|
|
81
|
+
color: "text.secondary",
|
|
82
|
+
variant: "caption",
|
|
83
|
+
children: C
|
|
84
|
+
})]
|
|
85
|
+
})]
|
|
86
|
+
})
|
|
87
|
+
})]
|
|
88
|
+
})
|
|
89
|
+
});
|
|
90
|
+
});
|
|
91
|
+
export {
|
|
92
|
+
V as GoalStatusCard
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
//# sourceMappingURL=GoalStatusCard.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GoalStatusCard.es.js","names":[],"sources":["../../../src/goals/components/GoalStatusCard.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\n\nimport Avatar from '@mui/material/Avatar'\nimport Card from '@mui/material/Card'\nimport CardActionArea from '@mui/material/CardActionArea'\nimport CardContent from '@mui/material/CardContent'\nimport CardHeader from '@mui/material/CardHeader'\nimport Stack from '@mui/material/Stack'\n\nimport { NoteStack, Payments, Person } from '@mxenabled/mx-icons'\n\nimport { Text } from '@mxenabled/mxui'\n\nimport { StatusBar, StatusBarData, useGlobalCopyStore, useScreenSize } from '../../common'\nimport { type Goal, TrackType } from '../../core'\n\nimport { getGoalStatusData } from '../../core/utils/GoalsUtil'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\n\ninterface GoalStatusCardProps {\n goal: Goal\n isInDrawer?: boolean\n onClick?: () => void\n}\n\nconst formatCurrencyForDeviceType = (amount: number, isMobileOrTablet: boolean) => {\n if (!isMobileOrTablet) return formatCurrency(amount, '0,0.00')\n return formatCurrency(amount, amount < 1000 ? '0' : '0.00a').replace(\n /(\\d+)(?:\\.0+|(\\.\\d*?[1-9])0*)([a-zA-Z]* ?\\$?)/g,\n '$1$2$3',\n )\n}\n\nexport const GoalStatusCard = observer(\n ({ goal, isInDrawer = false, onClick }: GoalStatusCardProps) => {\n const { goals: copy } = useGlobalCopyStore()\n const { isMobile, isTablet } = useScreenSize()\n\n const isMobileOrTablet = isMobile || isTablet\n\n const {\n backgroundColor: bgcolor,\n color,\n percentage,\n percentageText,\n projectedText,\n } = getGoalStatusData(copy, goal)\n\n const amount = goal.track_type === TrackType.DEBT_TRACK ? goal.initial_amount : goal.amount\n const data = [\n {\n color: bgcolor,\n percentage: `${percentage}`,\n },\n ] as StatusBarData[]\n\n let avatarIcon = <Payments />\n if (goal.track_type === TrackType.DEBT_TRACK) {\n avatarIcon = <NoteStack />\n } else if (goal.track_type === TrackType.RETIREMENT_TRACK) {\n avatarIcon = <Person />\n }\n\n return (\n <Card\n elevation={2}\n sx={{\n '&:focus-within': {\n outline: '2px solid',\n outlineColor: 'primary.main',\n },\n }}\n >\n <CardActionArea disabled={!onClick} onClick={onClick}>\n <CardHeader\n avatar={\n <Avatar sx={{ bgcolor, color, height: 48, width: 48 }} variant=\"rounded\">\n {avatarIcon}\n </Avatar>\n }\n subheader={\n <Text\n sx={{\n fontWeight: 700,\n fontSize: isInDrawer || isMobileOrTablet ? '18px' : '23px',\n lineHeight: isInDrawer || isMobileOrTablet ? '24px' : '32px',\n }}\n >\n {`${formatCurrency(goal.current_amount, isMobileOrTablet ? '0,0' : '0,0.00')} / ${formatCurrencyForDeviceType(\n amount,\n isMobileOrTablet,\n )}`}\n </Text>\n }\n sx={{ alignItems: 'flex-start', '& .MuiCardHeader-content': { minWidth: 0 } }}\n title={\n <Text\n color=\"text.secondary\"\n fontWeight={400}\n sx={{\n fontSize: '15px',\n lineHeight: '20px',\n }}\n variant=\"h4\"\n >\n {goal.name}\n </Text>\n }\n />\n <CardContent sx={{ pt: 0 }}>\n <Stack gap={6}>\n <StatusBar data={data} height={24} />\n <Stack alignItems=\"center\" direction=\"row\" justifyContent=\"space-between\">\n <Text color=\"text.secondary\" variant=\"caption\">\n {percentageText}\n </Text>\n {goal.projected_to_complete_at && (\n <Text color=\"text.secondary\" variant=\"caption\">\n {projectedText}\n </Text>\n )}\n </Stack>\n </Stack>\n </CardContent>\n </CardActionArea>\n </Card>\n )\n },\n)\n"],"mappings":";;;;;;;;;;;;;;;;AAyBA,IAAM,IAAA,CAA+B,GAAgB,MAC9C,IACE,EAAe,GAAQ,IAAS,MAAO,MAAM,OAAO,EAAE,QAC3D,kDACA,QACF,IAJ8B,EAAe,GAAQ,QAAQ,GAOlD,IAAiB,EAAA,CAC3B,EAAE,MAAA,GAAM,YAAA,IAAa,IAAO,SAAA,EAAA,MAAmC;AAC9D,QAAM,EAAE,OAAO,EAAA,IAAS,EAAmB,GACrC,EAAE,UAAA,GAAU,UAAA,EAAA,IAAa,EAAc,GAEvC,IAAmB,KAAY,GAE/B,EACJ,iBAAiB,GACjB,OAAA,GACA,YAAA,GACA,gBAAA,GACA,eAAA,EAAA,IACE,EAAkB,GAAM,CAAI,GAE1B,IAAS,EAAK,eAAe,EAAU,aAAa,EAAK,iBAAiB,EAAK,QAC/E,IAAO,CACX;AAAA,IACE,OAAO;AAAA,IACP,YAAY,GAAG,CAAA;AAAA,EACjB,CACF;AAEA,MAAI,IAAa,gBAAA,EAAC,GAAD,CAAW,CAAA;AAC5B,SAAI,EAAK,eAAe,EAAU,aAChC,IAAa,gBAAA,EAAC,GAAD,CAAY,CAAA,IAChB,EAAK,eAAe,EAAU,qBACvC,IAAa,gBAAA,EAAC,GAAD,CAAS,CAAA,IAItB,gBAAA,EAAC,GAAD;AAAA,IACE,WAAW;AAAA,IACX,IAAI,EACF,kBAAkB;AAAA,MAChB,SAAS;AAAA,MACT,cAAc;AAAA,IAChB,EACF;AAAA,cAEA,gBAAA,EAAC,GAAD;AAAA,MAAgB,UAAU,CAAC;AAAA,MAAkB,SAAA;AAAA,gBAA7C,CACE,gBAAA,EAAC,GAAD;AAAA,QACE,QACE,gBAAA,EAAC,GAAD;AAAA,UAAQ,IAAI;AAAA,YAAE,SAAA;AAAA,YAAS,OAAA;AAAA,YAAO,QAAQ;AAAA,YAAI,OAAO;AAAA,UAAG;AAAA,UAAG,SAAQ;AAAA,oBAC5D;AAAA,QACK,CAAA;AAAA,QAEV,WACE,gBAAA,EAAC,GAAD;AAAA,UACE,IAAI;AAAA,YACF,YAAY;AAAA,YACZ,UAAU,KAAc,IAAmB,SAAS;AAAA,YACpD,YAAY,KAAc,IAAmB,SAAS;AAAA,UACxD;AAAA,oBAEC,GAAG,EAAe,EAAK,gBAAgB,IAAmB,QAAQ,QAAQ,CAAA,MAAO,EAChF,GACA,CACF,CAAA;AAAA,QACI,CAAA;AAAA,QAER,IAAI;AAAA,UAAE,YAAY;AAAA,UAAc,4BAA4B,EAAE,UAAU,EAAE;AAAA,QAAE;AAAA,QAC5E,OACE,gBAAA,EAAC,GAAD;AAAA,UACE,OAAM;AAAA,UACN,YAAY;AAAA,UACZ,IAAI;AAAA,YACF,UAAU;AAAA,YACV,YAAY;AAAA,UACd;AAAA,UACA,SAAQ;AAAA,oBAEP,EAAK;AAAA,QACF,CAAA;AAAA,MAET,CAAA,GACD,gBAAA,EAAC,GAAD;AAAA,QAAa,IAAI,EAAE,IAAI,EAAE;AAAA,kBACvB,gBAAA,EAAC,GAAD;AAAA,UAAO,KAAK;AAAA,oBAAZ,CACE,gBAAA,EAAC,GAAD;AAAA,YAAiB,MAAA;AAAA,YAAM,QAAQ;AAAA,UAAK,CAAA,GACpC,gBAAA,EAAC,GAAD;AAAA,YAAO,YAAW;AAAA,YAAS,WAAU;AAAA,YAAM,gBAAe;AAAA,sBAA1D,CACE,gBAAA,EAAC,GAAD;AAAA,cAAM,OAAM;AAAA,cAAiB,SAAQ;AAAA,wBAClC;AAAA,YACG,CAAA,GACL,EAAK,4BACJ,gBAAA,EAAC,GAAD;AAAA,cAAM,OAAM;AAAA,cAAiB,SAAQ;AAAA,wBAClC;AAAA,YACG,CAAA,CAEH;AAAA,YACF;AAAA;MACI,CAAA,CACC;AAAA;EACZ,CAAA;AAEV,CACF"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { useGlobalCopyStore as w, useGoalStore as y } from "../../common/context/hooks.es.js";
|
|
2
|
+
import k from "../../common/components/drawer/Drawer.es.js";
|
|
3
|
+
import { TrackType as n } from "../../core/types/Goal.es.js";
|
|
4
|
+
import { ContributionAction as E } from "./actions/ContributionAction.es.js";
|
|
5
|
+
import { OngoingListItem as K } from "./managegoals/OngoingListItem.es.js";
|
|
6
|
+
import { CompleteListItem as L } from "./managegoals/CompleteListItem.es.js";
|
|
7
|
+
import N from "react";
|
|
8
|
+
import l from "@mui/material/Stack";
|
|
9
|
+
import { H3 as D, P as M, Text as C } from "@mxenabled/mxui";
|
|
10
|
+
import V from "@mui/material/Button";
|
|
11
|
+
import { ChevronRight as B } from "@mxenabled/mx-icons";
|
|
12
|
+
import { jsx as r, jsxs as s } from "react/jsx-runtime";
|
|
13
|
+
import v from "@mui/material/Divider";
|
|
14
|
+
import x from "@mui/material/List";
|
|
15
|
+
var Z = ({ trackType: m }) => {
|
|
16
|
+
const { goals: t, common: R } = w(), { loadGoals: T, orderedGoals: A, reorderGoals: G } = y(), h = A.filter((e) => e.track_type === m), c = h.filter((e) => e.track_type === n.SAVINGS_TRACK && !e.has_been_spent || e.track_type !== n.SAVINGS_TRACK && !e.is_complete), u = h.filter((e) => e.track_type === n.SAVINGS_TRACK && e.has_been_spent || e.track_type !== n.SAVINGS_TRACK && e.is_complete), [I, b] = N.useState(!1);
|
|
17
|
+
let d = t.manage_saving_goals, p = t.manage_saving_drawer_title, _ = t.manage_saving_title, g = t.manage_saving_description;
|
|
18
|
+
m === n.DEBT_TRACK ? (d = t.manage_debt_goals, p = t.manage_debt_drawer_title, _ = t.manage_debt_title, g = t.manage_debt_description) : m === n.RETIREMENT_TRACK && (d = t.manage_retirement_goals, p = t.manage_retirement_drawer_title, _ = t.manage_retirement_title, g = t.manage_retirement_description);
|
|
19
|
+
const S = async (e) => {
|
|
20
|
+
const i = [...c], o = i.findIndex((a) => a.guid === e.guid);
|
|
21
|
+
let f = o - 1;
|
|
22
|
+
f < 0 && (f = i.length - 1), i.splice(f, 0, i.splice(o, 1)[0]);
|
|
23
|
+
for (let a = 0; a < i.length; a++) i[a].position = a + 1;
|
|
24
|
+
await G(i), await T();
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ s(l, { children: [/* @__PURE__ */ r(V, {
|
|
27
|
+
endIcon: /* @__PURE__ */ r(B, {}),
|
|
28
|
+
onClick: () => b(!0),
|
|
29
|
+
children: d
|
|
30
|
+
}), /* @__PURE__ */ r(k, {
|
|
31
|
+
ariaLabelClose: R.close_aria,
|
|
32
|
+
isOpen: I,
|
|
33
|
+
onClose: () => b(!1),
|
|
34
|
+
title: p,
|
|
35
|
+
children: /* @__PURE__ */ s(l, { children: [
|
|
36
|
+
/* @__PURE__ */ s(l, {
|
|
37
|
+
m: 24,
|
|
38
|
+
children: [/* @__PURE__ */ r(D, { children: _ }), /* @__PURE__ */ r(M, {
|
|
39
|
+
color: "text.secondary",
|
|
40
|
+
variant: "subtitle2",
|
|
41
|
+
children: g
|
|
42
|
+
})]
|
|
43
|
+
}),
|
|
44
|
+
/* @__PURE__ */ r(E, { trackType: m }),
|
|
45
|
+
/* @__PURE__ */ r(C, {
|
|
46
|
+
bold: !0,
|
|
47
|
+
sx: {
|
|
48
|
+
mb: 4,
|
|
49
|
+
mx: 24,
|
|
50
|
+
mt: 12
|
|
51
|
+
},
|
|
52
|
+
variant: "caption",
|
|
53
|
+
children: t.goal_priority
|
|
54
|
+
}),
|
|
55
|
+
/* @__PURE__ */ r(x, {
|
|
56
|
+
sx: { bgcolor: "background.paper" },
|
|
57
|
+
children: c.map((e, i) => {
|
|
58
|
+
const o = i >= c.length - 1;
|
|
59
|
+
return /* @__PURE__ */ s(l, { children: [/* @__PURE__ */ r(K, {
|
|
60
|
+
goal: e,
|
|
61
|
+
index: i,
|
|
62
|
+
onUpClick: S
|
|
63
|
+
}), /* @__PURE__ */ r(v, { variant: o ? "fullWidth" : "inset" })] }, `ongoing-${e.guid}`);
|
|
64
|
+
})
|
|
65
|
+
}),
|
|
66
|
+
m !== n.RETIREMENT_TRACK && u.length > 0 && /* @__PURE__ */ s(l, { children: [/* @__PURE__ */ r(C, {
|
|
67
|
+
bold: !0,
|
|
68
|
+
sx: {
|
|
69
|
+
mb: 4,
|
|
70
|
+
mx: 24,
|
|
71
|
+
mt: 12
|
|
72
|
+
},
|
|
73
|
+
variant: "caption",
|
|
74
|
+
children: t.complete_title
|
|
75
|
+
}), /* @__PURE__ */ r(x, {
|
|
76
|
+
sx: { bgcolor: "background.paper" },
|
|
77
|
+
children: u.map((e, i) => {
|
|
78
|
+
const o = i > c.length - 1;
|
|
79
|
+
return /* @__PURE__ */ s(l, { children: [/* @__PURE__ */ r(L, { goal: e }), /* @__PURE__ */ r(v, { variant: o ? "fullWidth" : "inset" })] }, `complete-${e.guid}`);
|
|
80
|
+
})
|
|
81
|
+
})] })
|
|
82
|
+
] })
|
|
83
|
+
})] });
|
|
84
|
+
};
|
|
85
|
+
export {
|
|
86
|
+
Z as ManageGoals
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
//# sourceMappingURL=ManageGoals.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ManageGoals.es.js","names":[],"sources":["../../../src/goals/components/ManageGoals.tsx"],"sourcesContent":["import React from 'react'\n\nimport Button from '@mui/material/Button'\nimport Divider from '@mui/material/Divider'\nimport List from '@mui/material/List'\nimport Stack from '@mui/material/Stack'\n\nimport { ChevronRight } from '@mxenabled/mx-icons'\n\nimport { H3, P, Text } from '@mxenabled/mxui'\n\nimport { Drawer, useGlobalCopyStore, useGoalStore } from '../../common'\nimport { Goal, TrackType } from '../../core'\n\nimport { ContributionAction } from './actions/ContributionAction'\nimport { OngoingListItem } from './managegoals/OngoingListItem'\nimport { CompleteListItem } from './managegoals/CompleteListItem'\n\ninterface ManageGoalProps {\n trackType: TrackType\n}\n\nexport const ManageGoals = ({ trackType }: ManageGoalProps) => {\n const { goals: copy, common: commonCopy } = useGlobalCopyStore()\n const { loadGoals, orderedGoals: allGoals, reorderGoals } = useGoalStore()\n\n const goals = allGoals.filter((goal) => goal.track_type === trackType)\n const ongoing = goals.filter(\n (goal) =>\n (goal.track_type === TrackType.SAVINGS_TRACK && !goal.has_been_spent) ||\n (goal.track_type !== TrackType.SAVINGS_TRACK && !goal.is_complete),\n )\n const complete = goals.filter(\n (goal) =>\n (goal.track_type === TrackType.SAVINGS_TRACK && goal.has_been_spent) ||\n (goal.track_type !== TrackType.SAVINGS_TRACK && goal.is_complete),\n )\n\n const [isOpen, setIsOpen] = React.useState(false)\n\n let manageButtonLabel = copy.manage_saving_goals\n let drawerTitle = copy.manage_saving_drawer_title\n let manageTitle = copy.manage_saving_title\n let manageDescription = copy.manage_saving_description\n\n if (trackType === TrackType.DEBT_TRACK) {\n manageButtonLabel = copy.manage_debt_goals\n drawerTitle = copy.manage_debt_drawer_title\n manageTitle = copy.manage_debt_title\n manageDescription = copy.manage_debt_description\n } else if (trackType === TrackType.RETIREMENT_TRACK) {\n manageButtonLabel = copy.manage_retirement_goals\n drawerTitle = copy.manage_retirement_drawer_title\n manageTitle = copy.manage_retirement_title\n manageDescription = copy.manage_retirement_description\n }\n\n const handleMoveGoalUp = async (goal: Goal) => {\n const reordered = [...ongoing]\n const index = reordered.findIndex((g) => g.guid === goal.guid)\n\n let newIndex = index - 1\n if (newIndex < 0) {\n newIndex = reordered.length - 1\n }\n\n reordered.splice(newIndex, 0, reordered.splice(index, 1)[0])\n\n for (let i = 0; i < reordered.length; i++) {\n reordered[i].position = i + 1\n }\n\n await reorderGoals(reordered)\n await loadGoals()\n }\n\n return (\n <Stack>\n <Button endIcon={<ChevronRight />} onClick={() => setIsOpen(true)}>\n {manageButtonLabel}\n </Button>\n\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n isOpen={isOpen}\n onClose={() => setIsOpen(false)}\n title={drawerTitle}\n >\n <Stack>\n <Stack m={24}>\n <H3>{manageTitle}</H3>\n <P color=\"text.secondary\" variant=\"subtitle2\">\n {manageDescription}\n </P>\n </Stack>\n\n <ContributionAction trackType={trackType} />\n\n <Text bold={true} sx={{ mb: 4, mx: 24, mt: 12 }} variant=\"caption\">\n {copy.goal_priority}\n </Text>\n\n <List sx={{ bgcolor: 'background.paper' }}>\n {ongoing.map((goal, index) => {\n const isLast = index >= ongoing.length - 1\n return (\n <Stack key={`ongoing-${goal.guid}`}>\n <OngoingListItem goal={goal} index={index} onUpClick={handleMoveGoalUp} />\n <Divider variant={isLast ? 'fullWidth' : 'inset'} />\n </Stack>\n )\n })}\n </List>\n\n {trackType !== TrackType.RETIREMENT_TRACK && complete.length > 0 && (\n <Stack>\n <Text bold={true} sx={{ mb: 4, mx: 24, mt: 12 }} variant=\"caption\">\n {copy.complete_title}\n </Text>\n\n <List sx={{ bgcolor: 'background.paper' }}>\n {complete.map((goal, index) => {\n const isLast = index > ongoing.length - 1\n return (\n <Stack key={`complete-${goal.guid}`}>\n <CompleteListItem goal={goal} />\n <Divider variant={isLast ? 'fullWidth' : 'inset'} />\n </Stack>\n )\n })}\n </List>\n </Stack>\n )}\n </Stack>\n </Drawer>\n </Stack>\n )\n}\n"],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import e from "@mui/material/Stack";
|
|
2
|
+
import { Text as r } from "@mxenabled/mxui";
|
|
3
|
+
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
4
|
+
function c({ title: o, subtitle: i }) {
|
|
5
|
+
return /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t(r, {
|
|
6
|
+
bold: !0,
|
|
7
|
+
variant: "body1",
|
|
8
|
+
children: o
|
|
9
|
+
}), /* @__PURE__ */ t(r, {
|
|
10
|
+
sx: { fontWeight: 400 },
|
|
11
|
+
variant: "body1",
|
|
12
|
+
children: i
|
|
13
|
+
})] });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
c as TabTitle
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=TabTitle.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TabTitle.es.js","names":[],"sources":["../../../src/goals/components/TabTitle.tsx"],"sourcesContent":["import Stack from '@mui/material/Stack'\n\nimport { Text } from '@mxenabled/mxui'\n\ninterface TabTitleProps {\n title: string\n subtitle: string\n}\n\nexport function TabTitle({ title, subtitle }: TabTitleProps) {\n return (\n <Stack>\n <Text bold={true} variant=\"body1\">\n {title}\n </Text>\n <Text sx={{ fontWeight: 400 }} variant=\"body1\">\n {subtitle}\n </Text>\n </Stack>\n )\n}\n"],"mappings":";;;AASA,SAAgB,EAAS,EAAE,OAAA,GAAO,UAAA,EAAA,GAA2B;AAC3D,SACE,gBAAA,EAAC,GAAD,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IAAM,MAAM;AAAA,IAAM,SAAQ;AAAA,cACvB;AAAA,EACG,CAAA,GACN,gBAAA,EAAC,GAAD;AAAA,IAAM,IAAI,EAAE,YAAY,IAAI;AAAA,IAAG,SAAQ;AAAA,cACpC;AAAA,EACG,CAAA,CACD,EAAA,CAAA;AAEX"}
|