@mx-cartographer/experiences 9.2.4-alpha.al4 → 9.3.0-alph.bb2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accounts/AccountsMiniWidget.es.js +56 -0
- package/dist/accounts/AccountsMiniWidget.es.js.map +1 -0
- package/dist/accounts/AccountsWidget.es.js +75 -0
- package/dist/accounts/AccountsWidget.es.js.map +1 -0
- package/dist/accounts/ConnectMiniWidget.es.js +35 -0
- package/dist/accounts/ConnectMiniWidget.es.js.map +1 -0
- package/dist/accounts/components/AccountListItem.es.js +91 -0
- package/dist/accounts/components/AccountListItem.es.js.map +1 -0
- package/dist/accounts/components/AccountsList.es.js +129 -0
- package/dist/accounts/components/AccountsList.es.js.map +1 -0
- package/dist/accounts/components/AccountsListCompact.es.js +86 -0
- package/dist/accounts/components/AccountsListCompact.es.js.map +1 -0
- package/dist/accounts/components/ConnectImage.es.js +388 -0
- package/dist/accounts/components/ConnectImage.es.js.map +1 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js +27 -0
- package/dist/accounts/components/ConnectMiniWidgetCard.es.js.map +1 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js +23 -0
- package/dist/accounts/components/ConnectionStatusIcons.es.js.map +1 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js +52 -0
- package/dist/accounts/components/ConnectionsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js +32 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js +158 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js +119 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js +38 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js +81 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js +22 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js +75 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.es.js.map +1 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js +37 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab.es.js.map +1 -0
- package/dist/accounts/constants/Accounts.d.ts +1 -4
- package/dist/accounts/constants/Accounts.es.js +10 -0
- package/dist/accounts/constants/Accounts.es.js.map +1 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js +11 -0
- package/dist/accounts/hooks/useGetMergeableAccounts.es.js.map +1 -0
- package/dist/accounts/hooks/useUiStore.es.js +12 -0
- package/dist/accounts/hooks/useUiStore.es.js.map +1 -0
- package/dist/accounts/index.es.js +23 -784
- package/dist/accounts/utils/AccountDetails.es.js +28 -0
- package/dist/accounts/utils/AccountDetails.es.js.map +1 -0
- package/dist/accounts/utils/AccountFields.es.js +131 -0
- package/dist/accounts/utils/AccountFields.es.js.map +1 -0
- package/dist/accounts/utils/getConnectionMessages.es.js +131 -0
- package/dist/accounts/utils/getConnectionMessages.es.js.map +1 -0
- package/dist/analytics/SurveyMiniWidget.es.js +117 -0
- package/dist/analytics/SurveyMiniWidget.es.js.map +1 -0
- package/dist/analytics/components/OpenTextField.es.js +23 -0
- package/dist/analytics/components/OpenTextField.es.js.map +1 -0
- package/dist/analytics/components/RatingScale.es.js +56 -0
- package/dist/analytics/components/RatingScale.es.js.map +1 -0
- package/dist/analytics/index.es.js +2 -151
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js +100 -0
- package/dist/budgets/BubbleBudgetsMiniWidget.es.js.map +1 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js +143 -0
- package/dist/budgets/BubbleBudgetsWidget.es.js.map +1 -0
- package/dist/budgets/components/AddBudgets.es.js +31 -0
- package/dist/budgets/components/AddBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleBudgets.es.js +47 -0
- package/dist/budgets/components/BubbleBudgets.es.js.map +1 -0
- package/dist/budgets/components/BubbleChart.es.js +59 -0
- package/dist/budgets/components/BubbleChart.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js +106 -0
- package/dist/budgets/components/BudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js +126 -0
- package/dist/budgets/components/BudgetDetailsDrawerV2.es.js.map +1 -0
- package/dist/budgets/components/BudgetList.es.js +44 -0
- package/dist/budgets/components/BudgetList.es.js.map +1 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js +109 -0
- package/dist/budgets/components/BudgetsEmptyState.es.js.map +1 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js +54 -0
- package/dist/budgets/components/MerchantBudgetDetailsDrawer.es.js.map +1 -0
- package/dist/budgets/components/Overview.es.js +129 -0
- package/dist/budgets/components/Overview.es.js.map +1 -0
- package/dist/budgets/components/addbudget/Header.es.js +70 -0
- package/dist/budgets/components/addbudget/Header.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js +62 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets.es.js.map +1 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js +50 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js +128 -0
- package/dist/budgets/components/bubblechart/Bubble.es.js.map +1 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js +29 -0
- package/dist/budgets/components/bubblechart/Mercury.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js +98 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js +66 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/Header.es.js +48 -0
- package/dist/budgets/components/budgetdetails/Header.es.js.map +1 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js +98 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js +71 -0
- package/dist/budgets/components/budgetlist/BudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js +62 -0
- package/dist/budgets/components/budgetlist/SubBudgetRow.es.js.map +1 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js +38 -0
- package/dist/budgets/components/budgetlist/SubBudgetZeroState.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js +27 -0
- package/dist/budgets/components/shared/BudgetAmount.es.js.map +1 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js +84 -0
- package/dist/budgets/components/shared/BudgetDetailsTopSection.es.js.map +1 -0
- package/dist/budgets/index.es.js +6 -1400
- package/dist/budgets/utils/BubblesSVG.es.js +73 -0
- package/dist/budgets/utils/BubblesSVG.es.js.map +1 -0
- package/dist/cashflow/CashflowMiniWidget.es.js +45 -0
- package/dist/cashflow/CashflowMiniWidget.es.js.map +1 -0
- package/dist/cashflow/CashflowOnboarding.es.js +224 -0
- package/dist/cashflow/CashflowOnboarding.es.js.map +1 -0
- package/dist/cashflow/CashflowWidget.es.js +101 -0
- package/dist/cashflow/CashflowWidget.es.js.map +1 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js +45 -0
- package/dist/cashflow/components/CashflowAmountHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowContent.es.js +63 -0
- package/dist/cashflow/components/CashflowContent.es.js.map +1 -0
- package/dist/cashflow/components/CashflowHeading.es.js +101 -0
- package/dist/cashflow/components/CashflowHeading.es.js.map +1 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js +167 -0
- package/dist/cashflow/components/CashflowWidgetContent.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js +37 -0
- package/dist/cashflow/components/DetailsExpenseHeader.es.js.map +1 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js +57 -0
- package/dist/cashflow/components/DetailsExpenseRow.es.js.map +1 -0
- package/dist/cashflow/components/DetailsFooter.es.js +21 -0
- package/dist/cashflow/components/DetailsFooter.es.js.map +1 -0
- package/dist/cashflow/components/DetailsTab.es.js +90 -0
- package/dist/cashflow/components/DetailsTab.es.js.map +1 -0
- package/dist/cashflow/components/RemainingCash.es.js +35 -0
- package/dist/cashflow/components/RemainingCash.es.js.map +1 -0
- package/dist/cashflow/components/SummaryTab.es.js +258 -0
- package/dist/cashflow/components/SummaryTab.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js +128 -0
- package/dist/cashflow/components/onboarding/StepOne.es.js.map +1 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js +26 -0
- package/dist/cashflow/components/onboarding/StepTwo.es.js.map +1 -0
- package/dist/cashflow/constants/CashflowImages.es.js +9 -0
- package/dist/cashflow/constants/CashflowImages.es.js.map +1 -0
- package/dist/cashflow/context/hooks.d.ts +1 -1
- package/dist/cashflow/context/hooks.es.js +12 -0
- package/dist/cashflow/context/hooks.es.js.map +1 -0
- package/dist/cashflow/index.es.js +6 -1058
- package/dist/cashflow/util/Filters.es.js +9 -0
- package/dist/cashflow/util/Filters.es.js.map +1 -0
- package/dist/categories/components/CategoryList.es.js +38 -0
- package/dist/categories/components/CategoryList.es.js.map +1 -0
- package/dist/categories/components/CategoryRow.es.js +65 -0
- package/dist/categories/components/CategoryRow.es.js.map +1 -0
- package/dist/categories/components/CategorySelector.es.js +39 -0
- package/dist/categories/components/CategorySelector.es.js.map +1 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js +24 -0
- package/dist/categories/components/CategorySelectorDrawer.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js +46 -0
- package/dist/categories/components/CustomCategories/AddSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js +61 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js +26 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory.es.js.map +1 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js +29 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory.es.js.map +1 -0
- package/dist/categories/components/SubcategoryList.es.js +41 -0
- package/dist/categories/components/SubcategoryList.es.js.map +1 -0
- package/dist/categories/components/SubcategoryRow.es.js +90 -0
- package/dist/categories/components/SubcategoryRow.es.js.map +1 -0
- package/dist/categories/constants/OnClickEvents.es.js +18 -0
- package/dist/categories/constants/OnClickEvents.es.js.map +1 -0
- package/dist/categories/context/hooks.es.js +12 -0
- package/dist/categories/context/hooks.es.js.map +1 -0
- package/dist/categories/index.es.js +8 -6
- package/dist/common/components/Banner.es.js +39 -0
- package/dist/common/components/Banner.es.js.map +1 -0
- package/dist/common/components/ConnectCard.es.js +58 -0
- package/dist/common/components/ConnectCard.es.js.map +1 -0
- package/dist/common/components/ConnectDrawer.es.js +53 -0
- package/dist/common/components/ConnectDrawer.es.js.map +1 -0
- package/dist/common/components/ConnectStatus.d.ts +6 -0
- package/dist/common/components/ConnectStatus.es.js +39 -0
- package/dist/common/components/ConnectStatus.es.js.map +1 -0
- package/dist/common/components/CurrencyDialog.es.js +119 -0
- package/dist/common/components/CurrencyDialog.es.js.map +1 -0
- package/dist/common/components/CurrencyInput.es.js +49 -0
- package/dist/common/components/CurrencyInput.es.js.map +1 -0
- package/dist/common/components/CurrencyText.es.js +17 -0
- package/dist/common/components/CurrencyText.es.js.map +1 -0
- package/dist/common/components/DataRow.es.js +53 -0
- package/dist/common/components/DataRow.es.js.map +1 -0
- package/dist/common/components/EmptyState.es.js +68 -0
- package/dist/common/components/EmptyState.es.js.map +1 -0
- package/dist/common/components/Error.es.js +86 -0
- package/dist/common/components/Error.es.js.map +1 -0
- package/dist/common/components/ErrorBoundary.es.js +26 -0
- package/dist/common/components/ErrorBoundary.es.js.map +1 -0
- package/dist/common/components/GlobalAccountFilter.es.js +97 -0
- package/dist/common/components/GlobalAccountFilter.es.js.map +1 -0
- package/dist/common/components/IconBacking.es.js +25 -0
- package/dist/common/components/IconBacking.es.js.map +1 -0
- package/dist/common/components/InformationTooltip.es.js +49 -0
- package/dist/common/components/InformationTooltip.es.js.map +1 -0
- package/dist/common/components/ListItemAction.es.js +55 -0
- package/dist/common/components/ListItemAction.es.js.map +1 -0
- package/dist/common/components/ListItemRow.es.js +65 -0
- package/dist/common/components/ListItemRow.es.js.map +1 -0
- package/dist/common/components/ListItemWrapper.es.js +37 -0
- package/dist/common/components/ListItemWrapper.es.js.map +1 -0
- package/dist/common/components/Loader.es.js +17 -0
- package/dist/common/components/Loader.es.js.map +1 -0
- package/dist/common/components/MicroWidgetContainer.es.js +60 -0
- package/dist/common/components/MicroWidgetContainer.es.js.map +1 -0
- package/dist/common/components/MiniWidgetContainer.es.js +77 -0
- package/dist/common/components/MiniWidgetContainer.es.js.map +1 -0
- package/dist/common/components/ResponsiveButton.es.js +37 -0
- package/dist/common/components/ResponsiveButton.es.js.map +1 -0
- package/dist/common/components/SearchBox.es.js +59 -0
- package/dist/common/components/SearchBox.es.js.map +1 -0
- package/dist/common/components/Select.d.ts +1 -1
- package/dist/common/components/Select.es.js +33 -0
- package/dist/common/components/Select.es.js.map +1 -0
- package/dist/common/components/SelectionBox.es.js +45 -0
- package/dist/common/components/SelectionBox.es.js.map +1 -0
- package/dist/common/components/SkeletonLoader.es.js +104 -0
- package/dist/common/components/SkeletonLoader.es.js.map +1 -0
- package/dist/common/components/SubheaderRow.es.js +23 -0
- package/dist/common/components/SubheaderRow.es.js.map +1 -0
- package/dist/common/components/TabContentContainer.es.js +14 -0
- package/dist/common/components/TabContentContainer.es.js.map +1 -0
- package/dist/common/components/TinyBarChart.d.ts +1 -1
- package/dist/common/components/TinyBarChart.es.js +81 -0
- package/dist/common/components/TinyBarChart.es.js.map +1 -0
- package/dist/common/components/WidgetContainer.es.js +146 -0
- package/dist/common/components/WidgetContainer.es.js.map +1 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js +38 -0
- package/dist/common/components/WidgetDateRangeSelector.es.js.map +1 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js +50 -0
- package/dist/common/components/addaccounts/AddAccounts.es.js.map +1 -0
- package/dist/common/components/calendar/Calendar.es.js +148 -0
- package/dist/common/components/calendar/Calendar.es.js.map +1 -0
- package/dist/common/components/calendar/Day.es.js +82 -0
- package/dist/common/components/calendar/Day.es.js.map +1 -0
- package/dist/common/components/calendar/Header.es.js +42 -0
- package/dist/common/components/calendar/Header.es.js.map +1 -0
- package/dist/common/components/charts/Donut.es.js +82 -0
- package/dist/common/components/charts/Donut.es.js.map +1 -0
- package/dist/common/components/charts/LineChart.es.js +195 -0
- package/dist/common/components/charts/LineChart.es.js.map +1 -0
- package/dist/common/components/charts/StackedLineChart.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart.es.js.map +1 -0
- package/dist/common/components/charts/StatusBar.es.js +25 -0
- package/dist/common/components/charts/StatusBar.es.js.map +1 -0
- package/dist/common/components/charts/chartSlotProps.d.ts +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js +16 -0
- package/dist/common/components/charts/chartSlotProps.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js +95 -0
- package/dist/common/components/charts/linechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js +27 -0
- package/dist/common/components/charts/linechart/CustomLine.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js +56 -0
- package/dist/common/components/charts/linechart/CustomMark.es.js.map +1 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js +138 -0
- package/dist/common/components/charts/linechart/CustomTooltip.es.js.map +1 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js +26 -0
- package/dist/common/components/charts/linechart/utils/markerShapes.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js +31 -0
- package/dist/common/components/charts/stackedlinechart/CategoryIconLabel.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js +97 -0
- package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js +54 -0
- package/dist/common/components/charts/stackedlinechart/CustomLegend.es.js.map +1 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js +51 -0
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.es.js.map +1 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js +262 -0
- package/dist/common/components/daterangeselector/DateRangeSelector.es.js.map +1 -0
- package/dist/common/components/dialog/Dialog.es.js +58 -0
- package/dist/common/components/dialog/Dialog.es.js.map +1 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js +53 -0
- package/dist/common/components/donuts/MultiSegmentDonut.es.js.map +1 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js +50 -0
- package/dist/common/components/donuts/SingleSegmentDonut.es.js.map +1 -0
- package/dist/common/components/drawer/Drawer.es.js +57 -0
- package/dist/common/components/drawer/Drawer.es.js.map +1 -0
- package/dist/common/components/drawer/Footer.es.js +31 -0
- package/dist/common/components/drawer/Footer.es.js.map +1 -0
- package/dist/common/components/drawer/Header.es.js +52 -0
- package/dist/common/components/drawer/Header.es.js.map +1 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js +133 -0
- package/dist/common/components/globalaccountfilter/GlobalAccountFilterList.es.js.map +1 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js +41 -0
- package/dist/common/components/listitems/CollapseExpandListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js +54 -0
- package/dist/common/components/listitems/ToggleButtonListItem.es.js.map +1 -0
- package/dist/common/components/listitems/ToggleListItem.es.js +37 -0
- package/dist/common/components/listitems/ToggleListItem.es.js.map +1 -0
- package/dist/common/constants/Account.es.js +32 -0
- package/dist/common/constants/Account.es.js.map +1 -0
- package/dist/common/constants/Analytics.es.js +139 -0
- package/dist/common/constants/Analytics.es.js.map +1 -0
- package/dist/common/constants/Connect.d.ts +4 -0
- package/dist/common/constants/Connect.es.js +10 -0
- package/dist/common/constants/Connect.es.js.map +1 -0
- package/dist/common/constants/Donut.es.js +7 -0
- package/dist/common/constants/Donut.es.js.map +1 -0
- package/dist/common/constants/FinStrong.es.js +33 -0
- package/dist/common/constants/FinStrong.es.js.map +1 -0
- package/dist/common/constants/ScheduledPayment.es.js +40 -0
- package/dist/common/constants/ScheduledPayment.es.js.map +1 -0
- package/dist/common/constants/Sizes.es.js +9 -0
- package/dist/common/constants/Sizes.es.js.map +1 -0
- package/dist/common/constants/SpendingPlan.es.js +10 -0
- package/dist/common/constants/SpendingPlan.es.js.map +1 -0
- package/dist/common/constants/index.d.ts +1 -0
- package/dist/common/context/GlobalDataProvider.es.js +19 -0
- package/dist/common/context/GlobalDataProvider.es.js.map +1 -0
- package/dist/common/context/WidgetContainerProvider.es.js +16 -0
- package/dist/common/context/WidgetContainerProvider.es.js.map +1 -0
- package/dist/common/context/hooks.es.js +46 -0
- package/dist/common/context/hooks.es.js.map +1 -0
- package/dist/common/hooks/useAccountDisplayName.es.js +13 -0
- package/dist/common/hooks/useAccountDisplayName.es.js.map +1 -0
- package/dist/common/hooks/useAriaLive.es.js +34 -0
- package/dist/common/hooks/useAriaLive.es.js.map +1 -0
- package/dist/common/hooks/useCombineEvents.es.js +22 -0
- package/dist/common/hooks/useCombineEvents.es.js.map +1 -0
- package/dist/common/hooks/useDimensions.es.js +41 -0
- package/dist/common/hooks/useDimensions.es.js.map +1 -0
- package/dist/common/hooks/useInsightsEnabled.es.js +13 -0
- package/dist/common/hooks/useInsightsEnabled.es.js.map +1 -0
- package/dist/common/hooks/usePrevious.es.js +13 -0
- package/dist/common/hooks/usePrevious.es.js.map +1 -0
- package/dist/common/hooks/useScreenSize.es.js +26 -0
- package/dist/common/hooks/useScreenSize.es.js.map +1 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js +46 -0
- package/dist/common/hooks/useWidgetHeaderStyles.es.js.map +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +1 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js +24 -0
- package/dist/common/hooks/useWidgetLoadTimer.es.js.map +1 -0
- package/dist/common/index.es.js +154 -310
- package/dist/common/types/Charts.d.ts +10 -0
- package/dist/common/utils/AccountDisplayName.es.js +14 -0
- package/dist/common/utils/AccountDisplayName.es.js.map +1 -0
- package/dist/common/utils/AccountFilter.es.js +31 -0
- package/dist/common/utils/AccountFilter.es.js.map +1 -0
- package/dist/common/utils/Analytics.es.js +31 -0
- package/dist/common/utils/Analytics.es.js.map +1 -0
- package/dist/common/utils/PostMessage.es.js +29 -0
- package/dist/common/utils/PostMessage.es.js.map +1 -0
- package/dist/common/utils/Theme.es.js +96 -0
- package/dist/common/utils/Theme.es.js.map +1 -0
- package/dist/core/api/AccountApi.es.js +22 -0
- package/dist/core/api/AccountApi.es.js.map +1 -0
- package/dist/core/api/AnalyticsApi.es.js +34 -0
- package/dist/core/api/AnalyticsApi.es.js.map +1 -0
- package/dist/core/api/AppDataApi.es.js +14 -0
- package/dist/core/api/AppDataApi.es.js.map +1 -0
- package/dist/core/api/BannerApi.es.js +23 -0
- package/dist/core/api/BannerApi.es.js.map +1 -0
- package/dist/core/api/BeatApi.es.js +24 -0
- package/dist/core/api/BeatApi.es.js.map +1 -0
- package/dist/core/api/BudgetsApi.es.js +28 -0
- package/dist/core/api/BudgetsApi.es.js.map +1 -0
- package/dist/core/api/CategoryApi.es.js +29 -0
- package/dist/core/api/CategoryApi.es.js.map +1 -0
- package/dist/core/api/FinstrongApi.es.js +22 -0
- package/dist/core/api/FinstrongApi.es.js.map +1 -0
- package/dist/core/api/GlobalCopyApi.es.js +14 -0
- package/dist/core/api/GlobalCopyApi.es.js.map +1 -0
- package/dist/core/api/GoalApi.es.js +28 -0
- package/dist/core/api/GoalApi.es.js.map +1 -0
- package/dist/core/api/HelpApi.es.js +14 -0
- package/dist/core/api/HelpApi.es.js.map +1 -0
- package/dist/core/api/HoldingApi.es.js +15 -0
- package/dist/core/api/HoldingApi.es.js.map +1 -0
- package/dist/core/api/MerchantApi.es.js +18 -0
- package/dist/core/api/MerchantApi.es.js.map +1 -0
- package/dist/core/api/NotificationApi.es.js +19 -0
- package/dist/core/api/NotificationApi.es.js.map +1 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js +17 -0
- package/dist/core/api/RepeatingTransactionsApi.es.js.map +1 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js +22 -0
- package/dist/core/api/ScheduledPaymentsApi.es.js.map +1 -0
- package/dist/core/api/SettingsApi.es.js +24 -0
- package/dist/core/api/SettingsApi.es.js.map +1 -0
- package/dist/core/api/TransactionApi.es.js +55 -0
- package/dist/core/api/TransactionApi.es.js.map +1 -0
- package/dist/core/api/UserApi.es.js +16 -0
- package/dist/core/api/UserApi.es.js.map +1 -0
- package/dist/core/api/WidgetApi.es.js +14 -0
- package/dist/core/api/WidgetApi.es.js.map +1 -0
- package/dist/core/constants/ApiEndpoints.es.js +51 -0
- package/dist/core/constants/ApiEndpoints.es.js.map +1 -0
- package/dist/core/constants/Category.es.js +299 -0
- package/dist/core/constants/Category.es.js.map +1 -0
- package/dist/core/constants/DateFormats.es.js +55 -0
- package/dist/core/constants/DateFormats.es.js.map +1 -0
- package/dist/core/constants/Debts.es.js +8 -0
- package/dist/core/constants/Debts.es.js.map +1 -0
- package/dist/core/constants/DefaultConfig.es.js +109 -0
- package/dist/core/constants/DefaultConfig.es.js.map +1 -0
- package/dist/core/constants/Help.es.js +183 -0
- package/dist/core/constants/Help.es.js.map +1 -0
- package/dist/core/constants/Investments.es.js +56 -0
- package/dist/core/constants/Investments.es.js.map +1 -0
- package/dist/core/constants/Numbers.es.js +9 -0
- package/dist/core/constants/Numbers.es.js.map +1 -0
- package/dist/core/constants/Table.es.js +18 -0
- package/dist/core/constants/Table.es.js.map +1 -0
- package/dist/core/constants/Transaction.es.js +43 -0
- package/dist/core/constants/Transaction.es.js.map +1 -0
- package/dist/core/constants/repeatingTransactions.es.js +8 -0
- package/dist/core/constants/repeatingTransactions.es.js.map +1 -0
- package/dist/core/index.es.js +134 -107
- package/dist/core/stores/AccountStore.es.js +247 -0
- package/dist/core/stores/AccountStore.es.js.map +1 -0
- package/dist/core/stores/AnalyticsStore.es.js +55 -0
- package/dist/core/stores/AnalyticsStore.es.js.map +1 -0
- package/dist/core/stores/AppDataStore.d.ts +2 -2
- package/dist/core/stores/AppDataStore.es.js +61 -0
- package/dist/core/stores/AppDataStore.es.js.map +1 -0
- package/dist/core/stores/BeatStore.es.js +43 -0
- package/dist/core/stores/BeatStore.es.js.map +1 -0
- package/dist/core/stores/BudgetsStore.es.js +155 -0
- package/dist/core/stores/BudgetsStore.es.js.map +1 -0
- package/dist/core/stores/CashflowStore.es.js +62 -0
- package/dist/core/stores/CashflowStore.es.js.map +1 -0
- package/dist/core/stores/CategoryStore.es.js +147 -0
- package/dist/core/stores/CategoryStore.es.js.map +1 -0
- package/dist/core/stores/ConnectStore.es.js +19 -0
- package/dist/core/stores/ConnectStore.es.js.map +1 -0
- package/dist/core/stores/DebtsStore.es.js +40 -0
- package/dist/core/stores/DebtsStore.es.js.map +1 -0
- package/dist/core/stores/FinstrongStore.es.js +156 -0
- package/dist/core/stores/FinstrongStore.es.js.map +1 -0
- package/dist/core/stores/GlobalCopyStore.es.js +32 -0
- package/dist/core/stores/GlobalCopyStore.es.js.map +1 -0
- package/dist/core/stores/GlobalStore.es.js +87 -0
- package/dist/core/stores/GlobalStore.es.js.map +1 -0
- package/dist/core/stores/GlobalUiStore.d.ts +2 -2
- package/dist/core/stores/GlobalUiStore.es.js +68 -0
- package/dist/core/stores/GlobalUiStore.es.js.map +1 -0
- package/dist/core/stores/GoalStore.es.js +233 -0
- package/dist/core/stores/GoalStore.es.js.map +1 -0
- package/dist/core/stores/HelpStore.d.ts +1 -1
- package/dist/core/stores/HelpStore.es.js +45 -0
- package/dist/core/stores/HelpStore.es.js.map +1 -0
- package/dist/core/stores/HoldingStore.es.js +60 -0
- package/dist/core/stores/HoldingStore.es.js.map +1 -0
- package/dist/core/stores/MerchantStore.es.js +28 -0
- package/dist/core/stores/MerchantStore.es.js.map +1 -0
- package/dist/core/stores/NetWorthStore.es.js +73 -0
- package/dist/core/stores/NetWorthStore.es.js.map +1 -0
- package/dist/core/stores/NotificationStore.es.js +46 -0
- package/dist/core/stores/NotificationStore.es.js.map +1 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js +198 -0
- package/dist/core/stores/RecurringTransactionsStore.es.js.map +1 -0
- package/dist/core/stores/SettingsStore.d.ts +1 -1
- package/dist/core/stores/SettingsStore.es.js +184 -0
- package/dist/core/stores/SettingsStore.es.js.map +1 -0
- package/dist/core/stores/TransactionStore.es.js +372 -0
- package/dist/core/stores/TransactionStore.es.js.map +1 -0
- package/dist/core/stores/TrendsStore.es.js +51 -0
- package/dist/core/stores/TrendsStore.es.js.map +1 -0
- package/dist/core/stores/UserStore.es.js +49 -0
- package/dist/core/stores/UserStore.es.js.map +1 -0
- package/dist/core/types/Account.es.js +118 -0
- package/dist/core/types/Account.es.js.map +1 -0
- package/dist/core/types/Beat.es.js +8 -0
- package/dist/core/types/Beat.es.js.map +1 -0
- package/dist/core/types/Expense.es.js +11 -0
- package/dist/core/types/Expense.es.js.map +1 -0
- package/dist/core/types/Finstrong.es.js +14 -0
- package/dist/core/types/Finstrong.es.js.map +1 -0
- package/dist/core/types/Goal.es.js +14 -0
- package/dist/core/types/Goal.es.js.map +1 -0
- package/dist/core/types/Notification.es.js +17 -0
- package/dist/core/types/Notification.es.js.map +1 -0
- package/dist/core/types/RepeatingTransaction.es.js +17 -0
- package/dist/core/types/RepeatingTransaction.es.js.map +1 -0
- package/dist/core/types/ScreenSize.es.js +8 -0
- package/dist/core/types/ScreenSize.es.js.map +1 -0
- package/dist/core/types/Transaction.es.js +11 -0
- package/dist/core/types/Transaction.es.js.map +1 -0
- package/dist/core/utils/AccountUtils.es.js +27 -0
- package/dist/core/utils/AccountUtils.es.js.map +1 -0
- package/dist/core/utils/BeatUtils.es.js +50 -0
- package/dist/core/utils/BeatUtils.es.js.map +1 -0
- package/dist/core/utils/BudgetUtil.es.js +71 -0
- package/dist/core/utils/BudgetUtil.es.js.map +1 -0
- package/dist/core/utils/CategoryUtil.es.js +60 -0
- package/dist/core/utils/CategoryUtil.es.js.map +1 -0
- package/dist/core/utils/DateUtil.es.js +70 -0
- package/dist/core/utils/DateUtil.es.js.map +1 -0
- package/dist/core/utils/DebtUtils.es.js +144 -0
- package/dist/core/utils/DebtUtils.es.js.map +1 -0
- package/dist/core/utils/Fetch.es.js +74 -0
- package/dist/core/utils/Fetch.es.js.map +1 -0
- package/dist/core/utils/FinstrongUtils.es.js +11 -0
- package/dist/core/utils/FinstrongUtils.es.js.map +1 -0
- package/dist/core/utils/GoalsUtil.es.js +113 -0
- package/dist/core/utils/GoalsUtil.es.js.map +1 -0
- package/dist/core/utils/HelpUtil.es.js +23 -0
- package/dist/core/utils/HelpUtil.es.js.map +1 -0
- package/dist/core/utils/InvestmentUtil.es.js +77 -0
- package/dist/core/utils/InvestmentUtil.es.js.map +1 -0
- package/dist/core/utils/Localization.es.js +34 -0
- package/dist/core/utils/Localization.es.js.map +1 -0
- package/dist/core/utils/NetWorthUtils.es.js +115 -0
- package/dist/core/utils/NetWorthUtils.es.js.map +1 -0
- package/dist/core/utils/NotificationUtils.es.js +17 -0
- package/dist/core/utils/NotificationUtils.es.js.map +1 -0
- package/dist/core/utils/NumberFormatting.es.js +31 -0
- package/dist/core/utils/NumberFormatting.es.js.map +1 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js +285 -0
- package/dist/core/utils/RecurringTransactionsUtil.es.js.map +1 -0
- package/dist/core/utils/SettingsUtil.es.js +56 -0
- package/dist/core/utils/SettingsUtil.es.js.map +1 -0
- package/dist/core/utils/TransactionUtils.es.js +113 -0
- package/dist/core/utils/TransactionUtils.es.js.map +1 -0
- package/dist/core/utils/TrendsUtil.es.js +72 -0
- package/dist/core/utils/TrendsUtil.es.js.map +1 -0
- package/dist/core/utils/UserUtils.es.js +6 -0
- package/dist/core/utils/UserUtils.es.js.map +1 -0
- package/dist/dashboard/Dashboard.es.js +99 -0
- package/dist/dashboard/Dashboard.es.js.map +1 -0
- package/dist/dashboard/Greeting.es.js +49 -0
- package/dist/dashboard/Greeting.es.js.map +1 -0
- package/dist/dashboard/constants/Dashboard.es.js +8 -0
- package/dist/dashboard/constants/Dashboard.es.js.map +1 -0
- package/dist/dashboard/index.es.js +4 -153
- package/dist/debts/DebtsWidget.es.js +138 -0
- package/dist/debts/DebtsWidget.es.js.map +1 -0
- package/dist/debts/components/DebtDrawer.es.js +26 -0
- package/dist/debts/components/DebtDrawer.es.js.map +1 -0
- package/dist/debts/components/DebtsChart.es.js +135 -0
- package/dist/debts/components/DebtsChart.es.js.map +1 -0
- package/dist/debts/components/DebtsTable.es.js +193 -0
- package/dist/debts/components/DebtsTable.es.js.map +1 -0
- package/dist/debts/components/PaydownDrawer.es.js +19 -0
- package/dist/debts/components/PaydownDrawer.es.js.map +1 -0
- package/dist/debts/components/SnowballCard.es.js +87 -0
- package/dist/debts/components/SnowballCard.es.js.map +1 -0
- package/dist/debts/components/SnowballDrawer.es.js +457 -0
- package/dist/debts/components/SnowballDrawer.es.js.map +1 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js +37 -0
- package/dist/debts/components/actions/DebtsPriorityAction.es.js.map +1 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/ExtraPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/InterestRateAction.es.js +41 -0
- package/dist/debts/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js +43 -0
- package/dist/debts/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js +43 -0
- package/dist/debts/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js +43 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js +54 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js +40 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js +108 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab.es.js.map +1 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js +86 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js +32 -0
- package/dist/debts/components/debtspaydown/PaydownButton.es.js.map +1 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js +77 -0
- package/dist/debts/components/debtspaydown/PaydownContent.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js +32 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton.es.js.map +1 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js +78 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover.es.js.map +1 -0
- package/dist/debts/components/debtstable/AccountCell.es.js +30 -0
- package/dist/debts/components/debtstable/AccountCell.es.js.map +1 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js +35 -0
- package/dist/debts/components/debtstable/PriorityCell.es.js.map +1 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js +12 -0
- package/dist/debts/hooks/useDebtsUiStore.es.js.map +1 -0
- package/dist/debts/index.es.js +6 -1496
- package/dist/debts/utils/DebtsChart.es.js +15 -0
- package/dist/debts/utils/DebtsChart.es.js.map +1 -0
- package/dist/debts/utils/DebtsTable.es.js +17 -0
- package/dist/debts/utils/DebtsTable.es.js.map +1 -0
- package/dist/debts/utils/SnowballCard.es.js +40 -0
- package/dist/debts/utils/SnowballCard.es.js.map +1 -0
- package/dist/finstrong/FinancialStrengthCard.es.js +127 -0
- package/dist/finstrong/FinancialStrengthCard.es.js.map +1 -0
- package/dist/finstrong/FinstrongWidget.es.js +175 -0
- package/dist/finstrong/FinstrongWidget.es.js.map +1 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js +80 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js +39 -0
- package/dist/finstrong/components/CreditScore/CreditScoreContent.es.js.map +1 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js +22 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.es.js.map +1 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js +61 -0
- package/dist/finstrong/components/CreditScoreGraph.es.js.map +1 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js +44 -0
- package/dist/finstrong/components/FinancialStrengthGraph.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js +43 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js +88 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js +73 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js +40 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.es.js.map +1 -0
- package/dist/finstrong/components/HealthChart.es.js +117 -0
- package/dist/finstrong/components/HealthChart.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js +71 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js +92 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js +73 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js +65 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js +93 -0
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.es.js.map +1 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js +78 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js +170 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js +51 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.es.js.map +1 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js +53 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.es.js.map +1 -0
- package/dist/finstrong/components/ManageCreditScore.es.js +52 -0
- package/dist/finstrong/components/ManageCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/ManageDOB.es.js +79 -0
- package/dist/finstrong/components/ManageDOB.es.js.map +1 -0
- package/dist/finstrong/components/MissingData.es.js +51 -0
- package/dist/finstrong/components/MissingData.es.js.map +1 -0
- package/dist/finstrong/components/ProfileDrawer.es.js +124 -0
- package/dist/finstrong/components/ProfileDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ProfileList.es.js +65 -0
- package/dist/finstrong/components/ProfileList.es.js.map +1 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js +32 -0
- package/dist/finstrong/components/ProfileProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/ProgressBar.es.js +53 -0
- package/dist/finstrong/components/ProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js +27 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js +51 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js +56 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js +34 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.es.js.map +1 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js +90 -0
- package/dist/finstrong/components/ScoreHistoryDrawer.es.js.map +1 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js +118 -0
- package/dist/finstrong/components/ScoreRubricDrawer.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js +130 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.es.js.map +1 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js +50 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.es.js.map +1 -0
- package/dist/finstrong/components/StatusChip.es.js +37 -0
- package/dist/finstrong/components/StatusChip.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js +57 -0
- package/dist/finstrong/components/onboarding/Onboarding.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js +57 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js +46 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js +28 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js +313 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.es.js.map +1 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js +25 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js +69 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.es.js.map +1 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js +38 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.es.js.map +1 -0
- package/dist/finstrong/components/shared/Accounts.es.js +102 -0
- package/dist/finstrong/components/shared/Accounts.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js +49 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js +52 -0
- package/dist/finstrong/components/shared/CustomPieArc.es.js.map +1 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js +186 -0
- package/dist/finstrong/components/shared/DialScoreCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js +196 -0
- package/dist/finstrong/components/shared/DoubleBarChart.es.js.map +1 -0
- package/dist/finstrong/components/shared/LineGraph.es.js +136 -0
- package/dist/finstrong/components/shared/LineGraph.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js +107 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline.es.js.map +1 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js +40 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem.es.js.map +1 -0
- package/dist/finstrong/components/shared/TotalCard.es.js +30 -0
- package/dist/finstrong/components/shared/TotalCard.es.js.map +1 -0
- package/dist/finstrong/components/shared/Transactions.es.js +129 -0
- package/dist/finstrong/components/shared/Transactions.es.js.map +1 -0
- package/dist/finstrong/constants/index.es.js +9 -0
- package/dist/finstrong/constants/index.es.js.map +1 -0
- package/dist/finstrong/index.es.js +8 -3912
- package/dist/finstrong/util/finstrongUtils.es.js +206 -0
- package/dist/finstrong/util/finstrongUtils.es.js.map +1 -0
- package/dist/goals/GoalsMicroWidget.es.js +44 -0
- package/dist/goals/GoalsMicroWidget.es.js.map +1 -0
- package/dist/goals/GoalsWidget.es.js +141 -0
- package/dist/goals/GoalsWidget.es.js.map +1 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js +54 -0
- package/dist/goals/components/AccountSelectionDrawer.es.js.map +1 -0
- package/dist/goals/components/AddGoal.es.js +59 -0
- package/dist/goals/components/AddGoal.es.js.map +1 -0
- package/dist/goals/components/GoalDetails.es.js +115 -0
- package/dist/goals/components/GoalDetails.es.js.map +1 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js +83 -0
- package/dist/goals/components/GoalDetailsDrawer.es.js.map +1 -0
- package/dist/goals/components/GoalList.es.js +135 -0
- package/dist/goals/components/GoalList.es.js.map +1 -0
- package/dist/goals/components/GoalStatusCard.es.js +95 -0
- package/dist/goals/components/GoalStatusCard.es.js.map +1 -0
- package/dist/goals/components/ManageGoals.es.js +89 -0
- package/dist/goals/components/ManageGoals.es.js.map +1 -0
- package/dist/goals/components/TabTitle.es.js +19 -0
- package/dist/goals/components/TabTitle.es.js.map +1 -0
- package/dist/goals/components/actions/AccountAction.es.js +28 -0
- package/dist/goals/components/actions/AccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js +56 -0
- package/dist/goals/components/actions/AddRetirementAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js +45 -0
- package/dist/goals/components/actions/AmountToSaveAction.es.js.map +1 -0
- package/dist/goals/components/actions/BirthdayAction.es.js +44 -0
- package/dist/goals/components/actions/BirthdayAction.es.js.map +1 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js +127 -0
- package/dist/goals/components/actions/ChangeAccountAction.es.js.map +1 -0
- package/dist/goals/components/actions/ContributionAction.es.js +49 -0
- package/dist/goals/components/actions/ContributionAction.es.js.map +1 -0
- package/dist/goals/components/actions/GoalNameAction.es.js +41 -0
- package/dist/goals/components/actions/GoalNameAction.es.js.map +1 -0
- package/dist/goals/components/actions/InterestRateAction.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction.es.js.map +1 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js +47 -0
- package/dist/goals/components/actions/MonthlyPaymentAction.es.js.map +1 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js +47 -0
- package/dist/goals/components/actions/OriginalBalanceAction.es.js.map +1 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js +42 -0
- package/dist/goals/components/actions/RetirementAgeAction.es.js.map +1 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js +72 -0
- package/dist/goals/components/addgoal/AddGoalListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js +59 -0
- package/dist/goals/components/managegoals/CompleteListItem.es.js.map +1 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js +83 -0
- package/dist/goals/components/managegoals/OngoingListItem.es.js.map +1 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js +64 -0
- package/dist/goals/components/micro/GoalMicroStatusCard.es.js.map +1 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js +35 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState.es.js.map +1 -0
- package/dist/goals/index.es.js +4 -1088
- package/dist/help/HelpWidget.es.js +25 -0
- package/dist/help/HelpWidget.es.js.map +1 -0
- package/dist/help/components/Help.es.js +48 -0
- package/dist/help/components/Help.es.js.map +1 -0
- package/dist/help/components/HelpContent.es.js +25 -0
- package/dist/help/components/HelpContent.es.js.map +1 -0
- package/dist/help/components/HelpList.es.js +142 -0
- package/dist/help/components/HelpList.es.js.map +1 -0
- package/dist/help/components/content/BottomImageContent.es.js +51 -0
- package/dist/help/components/content/BottomImageContent.es.js.map +1 -0
- package/dist/help/components/content/ContentItem.es.js +46 -0
- package/dist/help/components/content/ContentItem.es.js.map +1 -0
- package/dist/help/components/content/Header.es.js +83 -0
- package/dist/help/components/content/Header.es.js.map +1 -0
- package/dist/help/components/content/LeftImageContent.es.js +57 -0
- package/dist/help/components/content/LeftImageContent.es.js.map +1 -0
- package/dist/help/components/content/NoImageContent.es.js +15 -0
- package/dist/help/components/content/NoImageContent.es.js.map +1 -0
- package/dist/help/components/content/RightImageContent.es.js +55 -0
- package/dist/help/components/content/RightImageContent.es.js.map +1 -0
- package/dist/help/components/content/TopImageContent.es.js +51 -0
- package/dist/help/components/content/TopImageContent.es.js.map +1 -0
- package/dist/help/components/content/section/Accounts.es.js +159 -0
- package/dist/help/components/content/section/Accounts.es.js.map +1 -0
- package/dist/help/components/content/section/Budgets.es.js +66 -0
- package/dist/help/components/content/section/Budgets.es.js.map +1 -0
- package/dist/help/components/content/section/CashFlow.es.js +47 -0
- package/dist/help/components/content/section/CashFlow.es.js.map +1 -0
- package/dist/help/components/content/section/Debts.es.js +168 -0
- package/dist/help/components/content/section/Debts.es.js.map +1 -0
- package/dist/help/components/content/section/General.es.js +84 -0
- package/dist/help/components/content/section/General.es.js.map +1 -0
- package/dist/help/components/content/section/Goals.es.js +112 -0
- package/dist/help/components/content/section/Goals.es.js.map +1 -0
- package/dist/help/components/content/section/Insights.es.js +79 -0
- package/dist/help/components/content/section/Insights.es.js.map +1 -0
- package/dist/help/components/content/section/Investments.es.js +48 -0
- package/dist/help/components/content/section/Investments.es.js.map +1 -0
- package/dist/help/components/content/section/Mobile.es.js +48 -0
- package/dist/help/components/content/section/Mobile.es.js.map +1 -0
- package/dist/help/components/content/section/NetWorth.es.js +61 -0
- package/dist/help/components/content/section/NetWorth.es.js.map +1 -0
- package/dist/help/components/content/section/Notifications.es.js +53 -0
- package/dist/help/components/content/section/Notifications.es.js.map +1 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js +72 -0
- package/dist/help/components/content/section/RecurringTransactions.es.js.map +1 -0
- package/dist/help/components/content/section/Spending.es.js +63 -0
- package/dist/help/components/content/section/Spending.es.js.map +1 -0
- package/dist/help/components/content/section/Transactions.es.js +209 -0
- package/dist/help/components/content/section/Transactions.es.js.map +1 -0
- package/dist/help/components/content/section/Trends.es.js +43 -0
- package/dist/help/components/content/section/Trends.es.js.map +1 -0
- package/dist/help/components/content/section/index.es.js +37 -0
- package/dist/help/components/content/section/index.es.js.map +1 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js +90 -0
- package/dist/help/components/requestsupport/ContactSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList.es.js.map +1 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js +103 -0
- package/dist/help/components/requestsupport/MissingInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js +52 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js +24 -0
- package/dist/help/components/requestsupport/PopularTopicsList.es.js.map +1 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js +40 -0
- package/dist/help/components/requestsupport/PopularTopicsRow.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js +172 -0
- package/dist/help/components/requestsupport/RequestSupport.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js +46 -0
- package/dist/help/components/requestsupport/RequestSupportFooter.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js +47 -0
- package/dist/help/components/requestsupport/RequestSupportHeader.es.js.map +1 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js +68 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution.es.js.map +1 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js +71 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage.es.js.map +1 -0
- package/dist/help/constants/HelpImages.es.js +49 -0
- package/dist/help/constants/HelpImages.es.js.map +1 -0
- package/dist/help/index.es.js +4 -26
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js +16 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid.es.js.map +1 -0
- package/dist/insights/components/feed/Header.es.js +75 -0
- package/dist/insights/components/feed/Header.es.js.map +1 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js +12 -0
- package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js +22 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js +274 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.es.js.map +1 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js +56 -0
- package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js +35 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard.es.js.map +1 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js +41 -0
- package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js +45 -0
- package/dist/insights/components/insights/CashBack/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js +6 -0
- package/dist/insights/components/insights/CashBack/images/CashBack.es.js.map +1 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js +55 -0
- package/dist/insights/components/insights/CategoryBudget/CategoryBudget.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js +46 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2.es.js.map +1 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js +48 -0
- package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js +66 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.es.js.map +1 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js +85 -0
- package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.es.js.map +1 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js +24 -0
- package/dist/insights/components/insights/CustomTransaction/CustomTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js +120 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js +143 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent.es.js.map +1 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js +20 -0
- package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js +29 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js +20 -0
- package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js +55 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js +494 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.es.js.map +1 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js +88 -0
- package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.es.js.map +1 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js +44 -0
- package/dist/insights/components/insights/MarketingHub/Offer.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js +33 -0
- package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js +29 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js +42 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js +27 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js +28 -0
- package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js +33 -0
- package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js +37 -0
- package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js +35 -0
- package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js +20 -0
- package/dist/insights/components/insights/P2pCategorization/P2pCategorization.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js +83 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions.es.js.map +1 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js +42 -0
- package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction.es.js.map +1 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js +40 -0
- package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary.es.js.map +1 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js +19 -0
- package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js +104 -0
- package/dist/insights/components/insights/SharedDeposit/SharedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js +37 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js +25 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js +36 -0
- package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js +38 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit.es.js.map +1 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js +86 -0
- package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js +34 -0
- package/dist/insights/components/insights/UserFeedback/StyledToggleButton.es.js.map +1 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js +133 -0
- package/dist/insights/components/insights/UserFeedback/UserFeedback.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js +59 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js +23 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js +51 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.es.js.map +1 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js +6 -0
- package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.es.js.map +1 -0
- package/dist/insights/components/shared/BottomSheet.es.js +39 -0
- package/dist/insights/components/shared/BottomSheet.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js +66 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate.es.js.map +1 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js +60 -0
- package/dist/insights/components/shared/ChartDrawerTemplate/TipSection.es.js.map +1 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js +76 -0
- package/dist/insights/components/shared/ChartTransactionWithDrillDown.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js +147 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js +148 -0
- package/dist/insights/components/shared/Charts/BarChart/BarChartV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js +75 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js +80 -0
- package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.d.ts +4 -1
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js +32 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js +52 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js +46 -0
- package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js +118 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js +73 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js +116 -0
- package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI.es.js.map +1 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js +14 -0
- package/dist/insights/components/shared/Charts/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/Confetti.es.js +32 -0
- package/dist/insights/components/shared/Confetti.es.js.map +1 -0
- package/dist/insights/components/shared/ConnectionCard.es.js +90 -0
- package/dist/insights/components/shared/ConnectionCard.es.js.map +1 -0
- package/dist/insights/components/shared/Coupon.es.js +66 -0
- package/dist/insights/components/shared/Coupon.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js +34 -0
- package/dist/insights/components/shared/DeepLinks/DeepLinkDialog.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js +20 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js +163 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js +19 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot.es.js.map +1 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js +16 -0
- package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js +85 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDeposit.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js +20 -0
- package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js +33 -0
- package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/LeftBox.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js +29 -0
- package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader.es.js.map +1 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js +43 -0
- package/dist/insights/components/shared/DirectDeposit/RightBox.es.js.map +1 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js +82 -0
- package/dist/insights/components/shared/DiscoveredAccountsConnect.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js +58 -0
- package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper.es.js.map +1 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js +264 -0
- package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js +76 -0
- package/dist/insights/components/shared/ErrorCard/ErrorCard.es.js.map +1 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js +57 -0
- package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js +47 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackButtons.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js +16 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackDescription.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js +29 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackHeader.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js +50 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackOptions.es.js.map +1 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js +45 -0
- package/dist/insights/components/shared/GenericFeedback/FeedbackText.es.js.map +1 -0
- package/dist/insights/components/shared/GoalProgress.es.js +42 -0
- package/dist/insights/components/shared/GoalProgress.es.js.map +1 -0
- package/dist/insights/components/shared/GradientBox.es.js +33 -0
- package/dist/insights/components/shared/GradientBox.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/BeatCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js +32 -0
- package/dist/insights/components/shared/InsightsCard/BeatCardMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js +20 -0
- package/dist/insights/components/shared/InsightsCard/CardButtonSection.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardError.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js +24 -0
- package/dist/insights/components/shared/InsightsCard/CardFooter.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js +28 -0
- package/dist/insights/components/shared/InsightsCard/CardHeader.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/CardHeaderMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js +21 -0
- package/dist/insights/components/shared/InsightsCard/CardLoading.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js +38 -0
- package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js +43 -0
- package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js +31 -0
- package/dist/insights/components/shared/InsightsCard/Description.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js +30 -0
- package/dist/insights/components/shared/InsightsCard/DescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js +69 -0
- package/dist/insights/components/shared/InsightsCard/EmbeddedCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js +120 -0
- package/dist/insights/components/shared/InsightsCard/FeedbackCard.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js +25 -0
- package/dist/insights/components/shared/InsightsCard/InsightButton.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js +44 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescription.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js +42 -0
- package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI.es.js.map +1 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js +728 -0
- package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.es.js.map +1 -0
- package/dist/insights/components/shared/MenuAction.es.js +68 -0
- package/dist/insights/components/shared/MenuAction.es.js.map +1 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js +69 -0
- package/dist/insights/components/shared/MiniInsightCard.es.js.map +1 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js +107 -0
- package/dist/insights/components/shared/P2P/P2PMultipleCategorization.es.js.map +1 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js +75 -0
- package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount.es.js.map +1 -0
- package/dist/insights/components/shared/ProgressBar.es.js +39 -0
- package/dist/insights/components/shared/ProgressBar.es.js.map +1 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js +55 -0
- package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js +77 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection.es.js.map +1 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js +12 -0
- package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection.es.js.map +1 -0
- package/dist/insights/components/shared/StatusIndicator.es.js +69 -0
- package/dist/insights/components/shared/StatusIndicator.es.js.map +1 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js +49 -0
- package/dist/insights/components/shared/ThemedSVGImage.es.js.map +1 -0
- package/dist/insights/components/shared/TransactionCard.es.js +93 -0
- package/dist/insights/components/shared/TransactionCard.es.js.map +1 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js +23 -0
- package/dist/insights/components/shared/ZeroState/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js +101 -0
- package/dist/insights/components/shared/images/BarChartEmptyState.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeft.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js +104 -0
- package/dist/insights/components/shared/images/CouponLeftDark.es.js.map +1 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js +38 -0
- package/dist/insights/components/shared/images/CouponPerferation.es.js.map +1 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js +101 -0
- package/dist/insights/components/shared/images/EmptyBarChart.es.js.map +1 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js +91 -0
- package/dist/insights/components/shared/images/LinedCardZeroState.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js +21 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.es.js.map +1 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js +815 -0
- package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.es.js.map +1 -0
- package/dist/insights/hooks/useContainerDimensions.es.js +26 -0
- package/dist/insights/hooks/useContainerDimensions.es.js.map +1 -0
- package/dist/insights/images/Loading.es.js +6 -0
- package/dist/insights/images/Loading.es.js.map +1 -0
- package/dist/insights/index.es.js +183 -4871
- package/dist/insights/types/Charts/BarChart.d.ts +2 -11
- package/dist/insights/types/CommonBeat.es.js +8 -0
- package/dist/insights/types/CommonBeat.es.js.map +1 -0
- package/dist/investments/InvestmentsWidget.es.js +98 -0
- package/dist/investments/InvestmentsWidget.es.js.map +1 -0
- package/dist/investments/components/Allocation.es.js +55 -0
- package/dist/investments/components/Allocation.es.js.map +1 -0
- package/dist/investments/components/Analysis.es.js +167 -0
- package/dist/investments/components/Analysis.es.js.map +1 -0
- package/dist/investments/components/AnalysisDetails.es.js +86 -0
- package/dist/investments/components/AnalysisDetails.es.js.map +1 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js +52 -0
- package/dist/investments/components/EmptyStateFooterComponent.es.js.map +1 -0
- package/dist/investments/components/HeaderCell.es.js +28 -0
- package/dist/investments/components/HeaderCell.es.js.map +1 -0
- package/dist/investments/components/HoldingDrawer.es.js +343 -0
- package/dist/investments/components/HoldingDrawer.es.js.map +1 -0
- package/dist/investments/components/HoldingTable.es.js +199 -0
- package/dist/investments/components/HoldingTable.es.js.map +1 -0
- package/dist/investments/components/InfoToolTip.es.js +45 -0
- package/dist/investments/components/InfoToolTip.es.js.map +1 -0
- package/dist/investments/components/Overview.es.js +456 -0
- package/dist/investments/components/Overview.es.js.map +1 -0
- package/dist/investments/components/TabTitle.es.js +12 -0
- package/dist/investments/components/TabTitle.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js +136 -0
- package/dist/investments/components/allocation/InvestementAllocationList.es.js.map +1 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js +86 -0
- package/dist/investments/components/allocation/InvestmentsAllocationChart.es.js.map +1 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js +103 -0
- package/dist/investments/components/allocation/util/createInvestementsAllocationData.es.js.map +1 -0
- package/dist/investments/index.es.js +2 -1675
- package/dist/merchants/components/MerchantLookup.es.js +91 -0
- package/dist/merchants/components/MerchantLookup.es.js.map +1 -0
- package/dist/merchants/index.es.js +2 -76
- package/dist/microinsights/InsightsMicroWidget.es.js +109 -0
- package/dist/microinsights/InsightsMicroWidget.es.js.map +1 -0
- package/dist/microinsights/MicroCardTemplate.es.js +159 -0
- package/dist/microinsights/MicroCardTemplate.es.js.map +1 -0
- package/dist/microinsights/MicroWidgetContainer.es.js +24 -0
- package/dist/microinsights/MicroWidgetContainer.es.js.map +1 -0
- package/dist/microinsights/Spinner.es.js +19 -0
- package/dist/microinsights/Spinner.es.js.map +1 -0
- package/dist/microinsights/analytics.es.js +12 -0
- package/dist/microinsights/analytics.es.js.map +1 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js +18 -0
- package/dist/microinsights/beaticons/AreaChartIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js +23 -0
- package/dist/microinsights/beaticons/AverageSpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js +16 -0
- package/dist/microinsights/beaticons/BeatCategoryIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js +162 -0
- package/dist/microinsights/beaticons/BeatIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js +25 -0
- package/dist/microinsights/beaticons/BeatMaterialIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js +20 -0
- package/dist/microinsights/beaticons/BeatMerchantLogo.es.js.map +1 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js +21 -0
- package/dist/microinsights/beaticons/ChartFilledIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js +12 -0
- package/dist/microinsights/beaticons/InstitutionLogoIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js +17 -0
- package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.es.js.map +1 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js +722 -0
- package/dist/microinsights/beaticons/ZeroStateIcon.es.js.map +1 -0
- package/dist/microinsights/cards/InsightCard.es.js +71 -0
- package/dist/microinsights/cards/InsightCard.es.js.map +1 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js +38 -0
- package/dist/microinsights/cards/NoRelevantInsightsCard.es.js.map +1 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js +43 -0
- package/dist/microinsights/cards/ViewMoreMicroCard.es.js.map +1 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js +32 -0
- package/dist/microinsights/cards/ZeroStateCard.es.js.map +1 -0
- package/dist/microinsights/carousel/BeatList.es.js +37 -0
- package/dist/microinsights/carousel/BeatList.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselControls.es.js +63 -0
- package/dist/microinsights/carousel/CarouselControls.es.js.map +1 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js +39 -0
- package/dist/microinsights/carousel/CarouselHeader.es.js.map +1 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js +147 -0
- package/dist/microinsights/carousel/MicroBeatCarousel.es.js.map +1 -0
- package/dist/microinsights/constants/Analytics.es.js +148 -0
- package/dist/microinsights/constants/Analytics.es.js.map +1 -0
- package/dist/microinsights/constants/App.es.js +11 -0
- package/dist/microinsights/constants/App.es.js.map +1 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js +17 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider.es.js.map +1 -0
- package/dist/microinsights/context/hooks.es.js +27 -0
- package/dist/microinsights/context/hooks.es.js.map +1 -0
- package/dist/microinsights/index.es.js +28 -826
- package/dist/microinsights/stores/AppStore.es.js +27 -0
- package/dist/microinsights/stores/AppStore.es.js.map +1 -0
- package/dist/microinsights/stores/CopyStore.es.js +34 -0
- package/dist/microinsights/stores/CopyStore.es.js.map +1 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js +33 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore.es.js.map +1 -0
- package/dist/microinsights/utils/DataSeries.es.js +11 -0
- package/dist/microinsights/utils/DataSeries.es.js.map +1 -0
- package/dist/microinsights/utils/colorType.es.js +13 -0
- package/dist/microinsights/utils/colorType.es.js.map +1 -0
- package/dist/networth/NetWorthMicroWidget.es.js +40 -0
- package/dist/networth/NetWorthMicroWidget.es.js.map +1 -0
- package/dist/networth/NetWorthWidget.es.js +78 -0
- package/dist/networth/NetWorthWidget.es.js.map +1 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js +158 -0
- package/dist/networth/components/AssetsLiabilitiesDetail.es.js.map +1 -0
- package/dist/networth/components/GainsLossesDetail.es.js +137 -0
- package/dist/networth/components/GainsLossesDetail.es.js.map +1 -0
- package/dist/networth/components/NetWorthChange.es.js +34 -0
- package/dist/networth/components/NetWorthChange.es.js.map +1 -0
- package/dist/networth/components/NetWorthChart.es.js +58 -0
- package/dist/networth/components/NetWorthChart.es.js.map +1 -0
- package/dist/networth/components/NetWorthList.es.js +99 -0
- package/dist/networth/components/NetWorthList.es.js.map +1 -0
- package/dist/networth/components/NetWorthListItem.es.js +50 -0
- package/dist/networth/components/NetWorthListItem.es.js.map +1 -0
- package/dist/networth/components/NetWorthSummary.es.js +38 -0
- package/dist/networth/components/NetWorthSummary.es.js.map +1 -0
- package/dist/networth/components/micro/NetworthData.es.js +49 -0
- package/dist/networth/components/micro/NetworthData.es.js.map +1 -0
- package/dist/networth/components/micro/ZeroState.es.js +31 -0
- package/dist/networth/components/micro/ZeroState.es.js.map +1 -0
- package/dist/networth/index.es.js +4 -565
- package/dist/notifications/components/DateRow.es.js +23 -0
- package/dist/notifications/components/DateRow.es.js.map +1 -0
- package/dist/notifications/components/NotificationBadge.es.js +33 -0
- package/dist/notifications/components/NotificationBadge.es.js.map +1 -0
- package/dist/notifications/components/NotificationCard.es.js +56 -0
- package/dist/notifications/components/NotificationCard.es.js.map +1 -0
- package/dist/notifications/components/NotificationDrawer.es.js +47 -0
- package/dist/notifications/components/NotificationDrawer.es.js.map +1 -0
- package/dist/notifications/components/NotificationList.es.js +42 -0
- package/dist/notifications/components/NotificationList.es.js.map +1 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js +49 -0
- package/dist/notifications/components/NotificationsEmptyState.es.js.map +1 -0
- package/dist/notifications/constants/NotificationConstants.es.js +24 -0
- package/dist/notifications/constants/NotificationConstants.es.js.map +1 -0
- package/dist/notifications/index.es.js +6 -198
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js +54 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js +47 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget.es.js.map +1 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js +89 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget.es.js.map +1 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js +30 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js +103 -0
- package/dist/recurringtransactions/components/MicroWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js +45 -0
- package/dist/recurringtransactions/components/MiniWidgetContent.es.js.map +1 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js +133 -0
- package/dist/recurringtransactions/components/PaymentSchedule.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js +64 -0
- package/dist/recurringtransactions/components/RecurrenceBadges.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js +87 -0
- package/dist/recurringtransactions/components/RecurrenceList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js +133 -0
- package/dist/recurringtransactions/components/RecurrenceRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js +20 -0
- package/dist/recurringtransactions/components/RecurringSettingsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js +114 -0
- package/dist/recurringtransactions/components/RecurringStatus.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js +27 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js +181 -0
- package/dist/recurringtransactions/components/RecurringTransactionList.es.js.map +1 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js +155 -0
- package/dist/recurringtransactions/components/RecurringTransactions.es.js.map +1 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js +63 -0
- package/dist/recurringtransactions/components/UpcomingRecurrenceCard.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js +46 -0
- package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js +28 -0
- package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.es.js.map +1 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js +47 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js +19 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js +33 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos.es.js.map +1 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js +37 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js +111 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar.es.js.map +1 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js +48 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js +37 -0
- package/dist/recurringtransactions/components/shared/RecurringSettings.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js +93 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js +42 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js +57 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js +72 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js +96 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js +47 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringSettingsZeroState.es.js.map +1 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js +45 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction.es.js.map +1 -0
- package/dist/recurringtransactions/index.es.js +18 -1022
- package/dist/settings/NotificationSettingsWidget.es.js +32 -0
- package/dist/settings/NotificationSettingsWidget.es.js.map +1 -0
- package/dist/settings/SettingsWidget.es.js +82 -0
- package/dist/settings/SettingsWidget.es.js.map +1 -0
- package/dist/settings/TransactionRulesWidget.es.js +28 -0
- package/dist/settings/TransactionRulesWidget.es.js.map +1 -0
- package/dist/settings/components/SettingsWidgetContents.es.js +47 -0
- package/dist/settings/components/SettingsWidgetContents.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceDialog.es.js +127 -0
- package/dist/settings/components/devices/DeviceDialog.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceList.es.js +125 -0
- package/dist/settings/components/devices/DeviceList.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTab.es.js +107 -0
- package/dist/settings/components/devices/DeviceTab.es.js.map +1 -0
- package/dist/settings/components/devices/DeviceTable.es.js +120 -0
- package/dist/settings/components/devices/DeviceTable.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js +92 -0
- package/dist/settings/components/notifications/AccountNotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js +44 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js +84 -0
- package/dist/settings/components/notifications/AccountProfileListItem.es.js.map +1 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js +78 -0
- package/dist/settings/components/notifications/DeliveryMethods.es.js.map +1 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js +14 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js +80 -0
- package/dist/settings/components/notifications/NotificationProfile.es.js.map +1 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js +94 -0
- package/dist/settings/components/notifications/NotificationSettings.es.js.map +1 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js +111 -0
- package/dist/settings/components/notifications/PersonalDetails.es.js.map +1 -0
- package/dist/settings/components/profile/ProfileTab.es.js +178 -0
- package/dist/settings/components/profile/ProfileTab.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js +88 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js +105 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction.es.js.map +1 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js +40 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js +35 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js +31 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js +45 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js +36 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js +46 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails.es.js.map +1 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js +26 -0
- package/dist/settings/components/transactionrules/components/RuleListItem.es.js.map +1 -0
- package/dist/settings/constants/Settings.es.js +8 -0
- package/dist/settings/constants/Settings.es.js.map +1 -0
- package/dist/settings/index.es.js +23 -892
- package/dist/spending/SpendingMiniWidget.es.js +41 -0
- package/dist/spending/SpendingMiniWidget.es.js.map +1 -0
- package/dist/spending/SpendingWidget.es.js +51 -0
- package/dist/spending/SpendingWidget.es.js.map +1 -0
- package/dist/spending/components/MiniSpendingChart.es.js +112 -0
- package/dist/spending/components/MiniSpendingChart.es.js.map +1 -0
- package/dist/spending/components/Spending.es.js +123 -0
- package/dist/spending/components/Spending.es.js.map +1 -0
- package/dist/spending/components/SpendingChart.es.js +60 -0
- package/dist/spending/components/SpendingChart.es.js.map +1 -0
- package/dist/spending/components/SpendingDonut.es.js +132 -0
- package/dist/spending/components/SpendingDonut.es.js.map +1 -0
- package/dist/spending/components/SpendingLegend.es.js +46 -0
- package/dist/spending/components/SpendingLegend.es.js.map +1 -0
- package/dist/spending/components/SpendingList.es.js +124 -0
- package/dist/spending/components/SpendingList.es.js.map +1 -0
- package/dist/spending/components/SpendingTabLabel.es.js +22 -0
- package/dist/spending/components/SpendingTabLabel.es.js.map +1 -0
- package/dist/spending/index.es.js +4 -491
- package/dist/spending/utils/SpendingData.es.js +72 -0
- package/dist/spending/utils/SpendingData.es.js.map +1 -0
- package/dist/transactions/TransactionWidget.es.js +189 -0
- package/dist/transactions/TransactionWidget.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js +255 -0
- package/dist/transactions/components/shared/TransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionList.es.js +92 -0
- package/dist/transactions/components/shared/TransactionList.es.js.map +1 -0
- package/dist/transactions/components/shared/TransactionTable.es.js +124 -0
- package/dist/transactions/components/shared/TransactionTable.es.js.map +1 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js +25 -0
- package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js +85 -0
- package/dist/transactions/components/shared/transactiondetails/Description.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js +49 -0
- package/dist/transactions/components/shared/transactiondetails/FlagTransaction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js +151 -0
- package/dist/transactions/components/shared/transactiondetails/ManualTransactionDetails.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js +39 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionAmountHeader.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js +82 -0
- package/dist/transactions/components/shared/transactiondetails/TransactionDetailsView.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js +161 -0
- package/dist/transactions/components/shared/transactiondetails/actions/AddMerchantBudgetAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js +105 -0
- package/dist/transactions/components/shared/transactiondetails/actions/CategoryAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js +103 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DateAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js +66 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js +77 -0
- package/dist/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js +90 -0
- package/dist/transactions/components/shared/transactiondetails/actions/ExcludeAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js +101 -0
- package/dist/transactions/components/shared/transactiondetails/actions/MemoAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js +150 -0
- package/dist/transactions/components/shared/transactiondetails/actions/SplitAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js +94 -0
- package/dist/transactions/components/shared/transactiondetails/actions/TagsAction.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js +92 -0
- package/dist/transactions/components/shared/transactionlist/TransactionRow.es.js.map +1 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js +39 -0
- package/dist/transactions/components/shared/transactionlist/ZeroState.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/AccountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js +30 -0
- package/dist/transactions/components/shared/transactiontable/cells/AmountCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js +38 -0
- package/dist/transactions/components/shared/transactiontable/cells/CategoryCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js +14 -0
- package/dist/transactions/components/shared/transactiontable/cells/DateCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js +46 -0
- package/dist/transactions/components/shared/transactiontable/cells/FlagCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js +12 -0
- package/dist/transactions/components/shared/transactiontable/cells/HeaderCell.es.js.map +1 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js +28 -0
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js +68 -0
- package/dist/transactions/components/splitmanager/SplitManager.es.js.map +1 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js +119 -0
- package/dist/transactions/components/splitmanager/SplitRow.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/Header.es.js +68 -0
- package/dist/transactions/components/tagmanager/Header.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js +48 -0
- package/dist/transactions/components/tagmanager/SearchBox.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js +36 -0
- package/dist/transactions/components/tagmanager/TagManager.es.js.map +1 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js +108 -0
- package/dist/transactions/components/tagmanager/TagRow.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js +33 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js +44 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction.es.js.map +1 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js +26 -0
- package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.es.js.map +1 -0
- package/dist/transactions/constants/Actions.es.js +22 -0
- package/dist/transactions/constants/Actions.es.js.map +1 -0
- package/dist/transactions/constants/OnClickEvents.es.js +50 -0
- package/dist/transactions/constants/OnClickEvents.es.js.map +1 -0
- package/dist/transactions/context/hooks.es.js +12 -0
- package/dist/transactions/context/hooks.es.js.map +1 -0
- package/dist/transactions/index.es.js +17 -604
- package/dist/transactions/utils/Filters.es.js +11 -0
- package/dist/transactions/utils/Filters.es.js.map +1 -0
- package/dist/transactions/utils/Transactions.es.js +24 -0
- package/dist/transactions/utils/Transactions.es.js.map +1 -0
- package/dist/trends/TrendsFullWidget.es.js +154 -0
- package/dist/trends/TrendsFullWidget.es.js.map +1 -0
- package/dist/trends/TrendsMicroWidget.es.js +72 -0
- package/dist/trends/TrendsMicroWidget.es.js.map +1 -0
- package/dist/trends/TrendsMiniWidget.es.js +43 -0
- package/dist/trends/TrendsMiniWidget.es.js.map +1 -0
- package/dist/trends/TrendsWidget.es.js +207 -0
- package/dist/trends/TrendsWidget.es.js.map +1 -0
- package/dist/trends/ZeroStateMicroWidget.es.js +30 -0
- package/dist/trends/ZeroStateMicroWidget.es.js.map +1 -0
- package/dist/trends/components/CategoriesList.es.js +64 -0
- package/dist/trends/components/CategoriesList.es.js.map +1 -0
- package/dist/trends/components/CategoriesListItem.es.js +44 -0
- package/dist/trends/components/CategoriesListItem.es.js.map +1 -0
- package/dist/trends/components/CategoryDetailChart.es.js +45 -0
- package/dist/trends/components/CategoryDetailChart.es.js.map +1 -0
- package/dist/trends/components/CategoryDetails.es.js +104 -0
- package/dist/trends/components/CategoryDetails.es.js.map +1 -0
- package/dist/trends/components/DateRangeText.es.js +26 -0
- package/dist/trends/components/DateRangeText.es.js.map +1 -0
- package/dist/trends/components/SpendingChart.es.js +28 -0
- package/dist/trends/components/SpendingChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChart.es.js +63 -0
- package/dist/trends/components/TrendsChart.es.js.map +1 -0
- package/dist/trends/components/TrendsChartTotals.es.js +58 -0
- package/dist/trends/components/TrendsChartTotals.es.js.map +1 -0
- package/dist/trends/components/TrendsDrawer.es.js +38 -0
- package/dist/trends/components/TrendsDrawer.es.js.map +1 -0
- package/dist/trends/components/TrendsInsights.es.js +38 -0
- package/dist/trends/components/TrendsInsights.es.js.map +1 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js +82 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox.es.js.map +1 -0
- package/dist/trends/components/TrendsTableContainer.es.js +56 -0
- package/dist/trends/components/TrendsTableContainer.es.js.map +1 -0
- package/dist/trends/components/TrendsViewToggle.es.js +28 -0
- package/dist/trends/components/TrendsViewToggle.es.js.map +1 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js +49 -0
- package/dist/trends/components/trendstable/AccessibleSortIcon.es.js.map +1 -0
- package/dist/trends/components/trendstable/AmountCell.es.js +24 -0
- package/dist/trends/components/trendstable/AmountCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js +30 -0
- package/dist/trends/components/trendstable/CategoryCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js +12 -0
- package/dist/trends/components/trendstable/HeaderCell.es.js.map +1 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js +53 -0
- package/dist/trends/components/trendstable/TrendsTable.es.js.map +1 -0
- package/dist/trends/constants/TrendsInsights.es.js +40 -0
- package/dist/trends/constants/TrendsInsights.es.js.map +1 -0
- package/dist/trends/constants/TrendsWidget.es.js +6 -0
- package/dist/trends/constants/TrendsWidget.es.js.map +1 -0
- package/dist/trends/index.es.js +8 -1612
- package/dist/trends/utils/SpendingData.es.js +53 -0
- package/dist/trends/utils/SpendingData.es.js.map +1 -0
- package/dist/trends/utils/TrendsTable.es.js +101 -0
- package/dist/trends/utils/TrendsTable.es.js.map +1 -0
- package/dist/trends/utils/TrendsWidget.es.js +11 -0
- package/dist/trends/utils/TrendsWidget.es.js.map +1 -0
- package/dist/trends/utils/shared.es.js +18 -0
- package/dist/trends/utils/shared.es.js.map +1 -0
- package/package.json +34 -39
- package/dist/Account-DR7Plrqy.mjs +0 -119
- package/dist/Account-DR7Plrqy.mjs.map +0 -1
- package/dist/AccountDetailsDrawer-BcwBkxIE.mjs +0 -922
- package/dist/AccountDetailsDrawer-BcwBkxIE.mjs.map +0 -1
- package/dist/AccountDetailsHeader-C84CSN2K.mjs +0 -230
- package/dist/AccountDetailsHeader-C84CSN2K.mjs.map +0 -1
- package/dist/AccountUtils-Cbh8r9cP.mjs +0 -29
- package/dist/AccountUtils-Cbh8r9cP.mjs.map +0 -1
- package/dist/Analytics-B8AaC22u.mjs +0 -54
- package/dist/Analytics-B8AaC22u.mjs.map +0 -1
- package/dist/Analytics-D-jdcL72.mjs +0 -140
- package/dist/Analytics-D-jdcL72.mjs.map +0 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +0 -50
- package/dist/ApiEndpoints-DXwIYNUV.mjs.map +0 -1
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -27
- package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +0 -1
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +0 -75
- package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +0 -1
- package/dist/Category-DEKZGLYe.mjs +0 -302
- package/dist/Category-DEKZGLYe.mjs.map +0 -1
- package/dist/CategorySelectorDrawer-BIsncOhX.mjs +0 -431
- package/dist/CategorySelectorDrawer-BIsncOhX.mjs.map +0 -1
- package/dist/Connect-BH0Pt6zc.mjs +0 -43
- package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
- package/dist/ConnectCard-BdxyIUkW.mjs +0 -55
- package/dist/ConnectCard-BdxyIUkW.mjs.map +0 -1
- package/dist/ConnectDrawer-CYP3sd5f.mjs +0 -58
- package/dist/ConnectDrawer-CYP3sd5f.mjs.map +0 -1
- package/dist/ConnectionsDrawer-Pjc0E6uI.mjs +0 -54
- package/dist/ConnectionsDrawer-Pjc0E6uI.mjs.map +0 -1
- package/dist/CurrencyDialog-DumQCTPO.mjs +0 -374
- package/dist/CurrencyDialog-DumQCTPO.mjs.map +0 -1
- package/dist/CurrencyInput-DaGEQaLW.mjs +0 -88
- package/dist/CurrencyInput-DaGEQaLW.mjs.map +0 -1
- package/dist/CurrencyText-CCbE6MmF.mjs +0 -21
- package/dist/CurrencyText-CCbE6MmF.mjs.map +0 -1
- package/dist/DateFormats-HudZ3Bjs.mjs +0 -65
- package/dist/DateFormats-HudZ3Bjs.mjs.map +0 -1
- package/dist/DateUtil-Bl7d7C1W.mjs +0 -76
- package/dist/DateUtil-Bl7d7C1W.mjs.map +0 -1
- package/dist/DebtUtils-i4pI2Uoe.mjs +0 -154
- package/dist/DebtUtils-i4pI2Uoe.mjs.map +0 -1
- package/dist/Dialog-Bvd2n8hz.mjs +0 -67
- package/dist/Dialog-Bvd2n8hz.mjs.map +0 -1
- package/dist/Donut-SzzfZDHF.mjs +0 -89
- package/dist/Donut-SzzfZDHF.mjs.map +0 -1
- package/dist/Drawer-DLUMdk6P.mjs +0 -201
- package/dist/Drawer-DLUMdk6P.mjs.map +0 -1
- package/dist/EmbeddedCard-DCR-ziFE.mjs +0 -860
- package/dist/EmbeddedCard-DCR-ziFE.mjs.map +0 -1
- package/dist/EmptyState-CJUDc3kD.mjs +0 -85
- package/dist/EmptyState-CJUDc3kD.mjs.map +0 -1
- package/dist/Error-Dtw6yxkf.mjs +0 -85
- package/dist/Error-Dtw6yxkf.mjs.map +0 -1
- package/dist/ErrorBoundary-C7BlHx04.mjs +0 -27
- package/dist/ErrorBoundary-C7BlHx04.mjs.map +0 -1
- package/dist/ExportCsvAction-C2Y4D7Kn.mjs +0 -25
- package/dist/ExportCsvAction-C2Y4D7Kn.mjs.map +0 -1
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +0 -230
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +0 -1
- package/dist/GlobalCopyApi-CLhyon-B.mjs +0 -145
- package/dist/GlobalCopyApi-CLhyon-B.mjs.map +0 -1
- package/dist/GoalsUtil-C9EnLWvC.mjs +0 -108
- package/dist/GoalsUtil-C9EnLWvC.mjs.map +0 -1
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -7
- package/dist/HeaderCell-P8w6CmfO.mjs.map +0 -1
- package/dist/Help-CTmDMtG2.mjs +0 -3210
- package/dist/Help-CTmDMtG2.mjs.map +0 -1
- package/dist/Help-CkQTjORd.mjs +0 -300
- package/dist/Help-CkQTjORd.mjs.map +0 -1
- package/dist/IconBacking-DgT8DCeh.mjs +0 -40
- package/dist/IconBacking-DgT8DCeh.mjs.map +0 -1
- package/dist/InformationTooltip-4su8bn1e.mjs +0 -42
- package/dist/InformationTooltip-4su8bn1e.mjs.map +0 -1
- package/dist/InvestmentUtil-BItV7uEs.mjs +0 -135
- package/dist/InvestmentUtil-BItV7uEs.mjs.map +0 -1
- package/dist/LineChart-CUfiH86G.mjs +0 -613
- package/dist/LineChart-CUfiH86G.mjs.map +0 -1
- package/dist/ListItemAction-BqUCLj_w.mjs +0 -70
- package/dist/ListItemAction-BqUCLj_w.mjs.map +0 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +0 -68
- package/dist/ListItemRow-kH1rn8Xu.mjs.map +0 -1
- package/dist/ListItemWrapper-DRse79Iu.mjs +0 -44
- package/dist/ListItemWrapper-DRse79Iu.mjs.map +0 -1
- package/dist/Loader-CxeBwuPG.mjs +0 -22
- package/dist/Loader-CxeBwuPG.mjs.map +0 -1
- package/dist/Localization-DnoVyBNK.mjs +0 -39
- package/dist/Localization-DnoVyBNK.mjs.map +0 -1
- package/dist/ManageIncome-CRSMKFWt.mjs +0 -906
- package/dist/ManageIncome-CRSMKFWt.mjs.map +0 -1
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs +0 -46
- package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +0 -1
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +0 -67
- package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +0 -1
- package/dist/NetWorthUtils-Dj7CgAg2.mjs +0 -96
- package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +0 -1
- package/dist/Notification-DTNYSd8P.mjs +0 -8
- package/dist/Notification-DTNYSd8P.mjs.map +0 -1
- package/dist/NotificationSettings-BXpzPNjH.mjs +0 -678
- package/dist/NotificationSettings-BXpzPNjH.mjs.map +0 -1
- package/dist/NotificationUtils-BRGFTePr.mjs +0 -24
- package/dist/NotificationUtils-BRGFTePr.mjs.map +0 -1
- package/dist/NumberFormatting--XMeeBfr.mjs +0 -50
- package/dist/NumberFormatting--XMeeBfr.mjs.map +0 -1
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs +0 -115
- package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +0 -1
- package/dist/RecurringSettings-7zGNq-fh.mjs +0 -89
- package/dist/RecurringSettings-7zGNq-fh.mjs.map +0 -1
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs +0 -299
- package/dist/RecurringTransactionsUtil-CfWviBh1.mjs.map +0 -1
- package/dist/ResponsiveButton-CC9F_Ezk.mjs +0 -46
- package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +0 -1
- package/dist/SearchBox-Cpgu_gdO.mjs +0 -51
- package/dist/SearchBox-Cpgu_gdO.mjs.map +0 -1
- package/dist/Select-CSpkK5cR.mjs +0 -62
- package/dist/Select-CSpkK5cR.mjs.map +0 -1
- package/dist/SelectionBox-B4xELRgp.mjs +0 -49
- package/dist/SelectionBox-B4xELRgp.mjs.map +0 -1
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs +0 -70
- package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +0 -1
- package/dist/Sizes-DISGrlUg.mjs +0 -7
- package/dist/Sizes-DISGrlUg.mjs.map +0 -1
- package/dist/SkeletonLoader-BaNboJjD.mjs +0 -39
- package/dist/SkeletonLoader-BaNboJjD.mjs.map +0 -1
- package/dist/SpendingData-Fii_xATx.mjs +0 -54
- package/dist/SpendingData-Fii_xATx.mjs.map +0 -1
- package/dist/SpendingLegend-CxvNOg3c.mjs +0 -204
- package/dist/SpendingLegend-CxvNOg3c.mjs.map +0 -1
- package/dist/StatusBar-CPfSXe80.mjs +0 -31
- package/dist/StatusBar-CPfSXe80.mjs.map +0 -1
- package/dist/TabContentContainer-B0eYJP5p.mjs +0 -49
- package/dist/TabContentContainer-B0eYJP5p.mjs.map +0 -1
- package/dist/ToggleListItem-Dl1lXNwj.mjs +0 -92
- package/dist/ToggleListItem-Dl1lXNwj.mjs.map +0 -1
- package/dist/TransactionDetails-C5JAB8SL.mjs +0 -1710
- package/dist/TransactionDetails-C5JAB8SL.mjs.map +0 -1
- package/dist/TransactionUtils-BphBJBbU.mjs +0 -235
- package/dist/TransactionUtils-BphBJBbU.mjs.map +0 -1
- package/dist/TrendsUtil-D9z3kIj_.mjs +0 -70
- package/dist/TrendsUtil-D9z3kIj_.mjs.map +0 -1
- package/dist/UserStore-Cp-2Jtnw.mjs +0 -3210
- package/dist/UserStore-Cp-2Jtnw.mjs.map +0 -1
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs +0 -1280
- package/dist/ViewMoreMicroCard-B4oeGrbE.mjs.map +0 -1
- package/dist/WidgetContainer-DKRs7nIV.mjs +0 -487
- package/dist/WidgetContainer-DKRs7nIV.mjs.map +0 -1
- package/dist/accounts/components/ConnectStatus.d.ts +0 -7
- package/dist/accounts/index.es.js.map +0 -1
- package/dist/analytics/index.es.js.map +0 -1
- package/dist/budgets/index.es.js.map +0 -1
- package/dist/cashflow/index.es.js.map +0 -1
- package/dist/categories/index.es.js.map +0 -1
- package/dist/common/index.es.js.map +0 -1
- package/dist/core/index.es.js.map +0 -1
- package/dist/dashboard/index.es.js.map +0 -1
- package/dist/debts/index.es.js.map +0 -1
- package/dist/finstrong/index.es.js.map +0 -1
- package/dist/goals/index.es.js.map +0 -1
- package/dist/help/index.es.js.map +0 -1
- package/dist/hooks-97sNJ_lf.mjs +0 -78
- package/dist/hooks-97sNJ_lf.mjs.map +0 -1
- package/dist/insights/index.es.js.map +0 -1
- package/dist/investments/index.es.js.map +0 -1
- package/dist/merchants/index.es.js.map +0 -1
- package/dist/microinsights/index.es.js.map +0 -1
- package/dist/networth/index.es.js.map +0 -1
- package/dist/notifications/index.es.js.map +0 -1
- package/dist/recurringtransactions/index.es.js.map +0 -1
- package/dist/settings/index.es.js.map +0 -1
- package/dist/spending/index.es.js.map +0 -1
- package/dist/transactions/index.es.js.map +0 -1
- package/dist/trends/index.es.js.map +0 -1
- package/dist/useAccountDisplayName-BsiXA0qf.mjs +0 -24
- package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +0 -1
- package/dist/useAriaLive-MkYebyUR.mjs +0 -36
- package/dist/useAriaLive-MkYebyUR.mjs.map +0 -1
- package/dist/useDimensions-CeDR9V8N.mjs +0 -37
- package/dist/useDimensions-CeDR9V8N.mjs.map +0 -1
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +0 -12
- package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +0 -1
- package/dist/useScreenSize-mWpmnh5w.mjs +0 -37
- package/dist/useScreenSize-mWpmnh5w.mjs.map +0 -1
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +0 -20
- package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +0 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { useEvent as v, useGlobalCopyStore as T, useTrendsStore as A } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { useScreenSize as D } from "../../common/hooks/useScreenSize.es.js";
|
|
3
|
+
import { ANALYTICS_EVENTS as M } from "../../common/constants/Analytics.es.js";
|
|
4
|
+
import { TRENDS_ANALYTICS_METADATA as _ } from "../constants/TrendsWidget.es.js";
|
|
5
|
+
import { CollapseExpandListItem as b } from "../../common/components/listitems/CollapseExpandListItem.es.js";
|
|
6
|
+
import a from "./CategoriesListItem.es.js";
|
|
7
|
+
import d from "react";
|
|
8
|
+
import { observer as k } from "mobx-react-lite";
|
|
9
|
+
import c from "@mui/material/Stack";
|
|
10
|
+
import { H3 as N } from "@mxenabled/mxui";
|
|
11
|
+
import { jsx as e, jsxs as h } from "react/jsx-runtime";
|
|
12
|
+
import f from "@mui/material/List";
|
|
13
|
+
import w from "@mui/material/Collapse";
|
|
14
|
+
var J = k(({ availableHeight: n = 0, onCategoryClick: l }) => {
|
|
15
|
+
const { collapsedCategories: i, visibleCategories: o, setVisibleListLength: L } = A(), { isLargeDesktop: u, isDesktop: C } = D(), { trends: g } = T(), { onEvent: E } = v(), [r, m] = d.useState(!1), x = C || u;
|
|
16
|
+
d.useEffect(() => {
|
|
17
|
+
const t = Math.floor(n / 64) - 1, s = o.length + i.length;
|
|
18
|
+
t !== o.length && (L(x ? Math.max(t, 5) : 5), m(t >= s));
|
|
19
|
+
}, [n]);
|
|
20
|
+
const I = () => {
|
|
21
|
+
m(!r), E(M.TRENDS_CLICK_VIEW_MORE, { ..._ });
|
|
22
|
+
}, p = o.length + (r ? i.length : 0);
|
|
23
|
+
return /* @__PURE__ */ h(c, {
|
|
24
|
+
sx: { width: "100%" },
|
|
25
|
+
children: [/* @__PURE__ */ e(c, {
|
|
26
|
+
sx: {
|
|
27
|
+
pb: 4,
|
|
28
|
+
pt: 16,
|
|
29
|
+
px: 16
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ e(N, { children: g.categories })
|
|
32
|
+
}), /* @__PURE__ */ h(f, { children: [
|
|
33
|
+
o.map((t, s) => /* @__PURE__ */ e(a, {
|
|
34
|
+
...t,
|
|
35
|
+
isLastItem: s === p - 1,
|
|
36
|
+
onClick: t.transactions.length > 0 ? () => l(t) : void 0,
|
|
37
|
+
showDivider: !0
|
|
38
|
+
}, t.guid)),
|
|
39
|
+
/* @__PURE__ */ e(w, {
|
|
40
|
+
component: "li",
|
|
41
|
+
in: r,
|
|
42
|
+
sx: { "&.MuiCollapse-root .MuiListItemButton-root": { paddingLeft: 24 } },
|
|
43
|
+
children: /* @__PURE__ */ e(f, { children: i.map((t, s) => {
|
|
44
|
+
const S = o.length + s;
|
|
45
|
+
return /* @__PURE__ */ e(a, {
|
|
46
|
+
...t,
|
|
47
|
+
isLastItem: S === p - 1,
|
|
48
|
+
onClick: t.transactions.length > 0 ? () => l(t) : void 0,
|
|
49
|
+
showDivider: !0
|
|
50
|
+
}, t.guid);
|
|
51
|
+
}) })
|
|
52
|
+
}),
|
|
53
|
+
i.length > 0 && /* @__PURE__ */ e(b, {
|
|
54
|
+
isExpanded: r,
|
|
55
|
+
onClick: I
|
|
56
|
+
})
|
|
57
|
+
] })]
|
|
58
|
+
});
|
|
59
|
+
});
|
|
60
|
+
export {
|
|
61
|
+
J as default
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
//# sourceMappingURL=CategoriesList.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoriesList.es.js","names":[],"sources":["../../../src/trends/components/CategoriesList.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\nimport React from 'react'\n\nimport Collapse from '@mui/material/Collapse'\n\nimport List from '@mui/material/List'\nimport Stack from '@mui/material/Stack'\n\nimport { H3 } from '@mxenabled/mxui'\n\nimport {\n ANALYTICS_EVENTS,\n useEvent,\n useGlobalCopyStore,\n useScreenSize,\n useTrendsStore,\n} from '../../common'\nimport { type DetailedCategoryWithTransactions } from '../../core'\nimport { CollapseExpandListItem } from '../../common/components/listitems/CollapseExpandListItem'\nimport CategoriesListItem from './CategoriesListItem'\nimport { TRENDS_ANALYTICS_METADATA } from '../constants/TrendsWidget'\n\ninterface CategoriesListProps {\n availableHeight?: number\n minHeight?: number\n onCategoryClick: (data: DetailedCategoryWithTransactions) => void\n}\n\nconst CategoriesList: React.FC<CategoriesListProps> = observer(\n ({ availableHeight = 0, onCategoryClick }) => {\n const { collapsedCategories, visibleCategories, setVisibleListLength } = useTrendsStore()\n const { isLargeDesktop, isDesktop } = useScreenSize()\n const { trends: copy } = useGlobalCopyStore()\n const { onEvent } = useEvent()\n const [isExpanded, setIsExpanded] = React.useState(false)\n\n const isLargeLayout = isDesktop || isLargeDesktop\n\n React.useEffect(() => {\n // Divide available height by item height (64px), minus 1 for more/less button\n const newVisibleListLength = Math.floor(availableHeight / 64) - 1\n const totalListItems = visibleCategories.length + collapsedCategories.length\n\n if (newVisibleListLength !== visibleCategories.length) {\n // Always show at least 5 items on large layout, and 5 items on small layout\n // Also ignores when availableHeight < 0 on initial render\n setVisibleListLength(isLargeLayout ? Math.max(newVisibleListLength, 5) : 5)\n setIsExpanded(newVisibleListLength >= totalListItems)\n }\n }, [availableHeight])\n\n const handleCollapseExpand = () => {\n setIsExpanded(!isExpanded)\n onEvent(ANALYTICS_EVENTS.TRENDS_CLICK_VIEW_MORE, {\n ...TRENDS_ANALYTICS_METADATA,\n })\n }\n\n const totalCategories = visibleCategories.length + (isExpanded ? collapsedCategories.length : 0)\n return (\n <Stack sx={{ width: '100%' }}>\n <Stack sx={{ pb: 4, pt: 16, px: 16 }}>\n <H3>{copy.categories}</H3>\n </Stack>\n <List>\n {visibleCategories.map((category, index) => (\n <CategoriesListItem\n key={category.guid}\n {...category}\n isLastItem={index === totalCategories - 1}\n onClick={\n category.transactions.length > 0 ? () => onCategoryClick(category) : undefined\n }\n showDivider={true}\n />\n ))}\n <Collapse\n component=\"li\"\n in={isExpanded}\n sx={{ '&.MuiCollapse-root .MuiListItemButton-root': { paddingLeft: 24 } }}\n >\n <List>\n {collapsedCategories.map((category, index) => {\n const adjustedIndex = visibleCategories.length + index\n return (\n <CategoriesListItem\n key={category.guid}\n {...category}\n isLastItem={adjustedIndex === totalCategories - 1}\n onClick={\n category.transactions.length > 0 ? () => onCategoryClick(category) : undefined\n }\n showDivider={true}\n />\n )\n })}\n </List>\n </Collapse>\n {collapsedCategories.length > 0 && (\n <CollapseExpandListItem isExpanded={isExpanded} onClick={handleCollapseExpand} />\n )}\n </List>\n </Stack>\n )\n },\n)\n\nexport default CategoriesList\n"],"mappings":";;;;;;;;;;;;;AA4BA,IAAM,IAAgD,EAAA,CACnD,EAAE,iBAAA,IAAkB,GAAG,iBAAA,EAAA,MAAsB;AAC5C,QAAM,EAAE,qBAAA,GAAqB,mBAAA,GAAmB,sBAAA,EAAA,IAAyB,EAAe,GAClF,EAAE,gBAAA,GAAgB,WAAA,EAAA,IAAc,EAAc,GAC9C,EAAE,QAAQ,EAAA,IAAS,EAAmB,GACtC,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,CAAC,GAAY,CAAA,IAAiB,EAAM,SAAS,EAAK,GAElD,IAAgB,KAAa;AAEnC,EAAA,EAAM,UAAA,MAAgB;AAEpB,UAAM,IAAuB,KAAK,MAAM,IAAkB,EAAE,IAAI,GAC1D,IAAiB,EAAkB,SAAS,EAAoB;AAEtE,IAAI,MAAyB,EAAkB,WAG7C,EAAqB,IAAgB,KAAK,IAAI,GAAsB,CAAC,IAAI,CAAC,GAC1E,EAAc,KAAwB,CAAc;AAAA,EAExD,GAAG,CAAC,CAAe,CAAC;AAEpB,QAAM,IAAA,MAA6B;AACjC,IAAA,EAAc,CAAC,CAAU,GACzB,EAAQ,EAAiB,wBAAwB,EAC/C,GAAG,EACL,CAAC;AAAA,EACH,GAEM,IAAkB,EAAkB,UAAU,IAAa,EAAoB,SAAS;AAC9F,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,OAAO,OAAO;AAAA,cAA3B,CACE,gBAAA,EAAC,GAAD;AAAA,MAAO,IAAI;AAAA,QAAE,IAAI;AAAA,QAAG,IAAI;AAAA,QAAI,IAAI;AAAA,MAAG;AAAA,gBACjC,gBAAA,EAAC,GAAD,EAAA,UAAK,EAAK,WAAe,CAAA;AAAA,IACpB,CAAA,GACP,gBAAA,EAAC,GAAD,EAAA,UAAA;AAAA,MACG,EAAkB,IAAA,CAAK,GAAU,MAChC,gBAAA,EAAC,GAAD;AAAA,QAEE,GAAI;AAAA,QACJ,YAAY,MAAU,IAAkB;AAAA,QACxC,SACE,EAAS,aAAa,SAAS,IAAA,MAAU,EAAgB,CAAQ,IAAI;AAAA,QAEvE,aAAa;AAAA,MACd,GAPM,EAAS,IAOf,CACF;AAAA,MACD,gBAAA,EAAC,GAAD;AAAA,QACE,WAAU;AAAA,QACV,IAAI;AAAA,QACJ,IAAI,EAAE,8CAA8C,EAAE,aAAa,GAAG,EAAE;AAAA,kBAExE,gBAAA,EAAC,GAAD,EAAA,UACG,EAAoB,IAAA,CAAK,GAAU,MAAU;AAC5C,gBAAM,IAAgB,EAAkB,SAAS;AACjD,iBACE,gBAAA,EAAC,GAAD;AAAA,YAEE,GAAI;AAAA,YACJ,YAAY,MAAkB,IAAkB;AAAA,YAChD,SACE,EAAS,aAAa,SAAS,IAAA,MAAU,EAAgB,CAAQ,IAAI;AAAA,YAEvE,aAAa;AAAA,UACd,GAPM,EAAS,IAOf;AAAA,QAEL,CAAC,EACG,CAAA;AAAA,MACE,CAAA;AAAA,MACT,EAAoB,SAAS,KAC5B,gBAAA,EAAC,GAAD;AAAA,QAAoC,YAAA;AAAA,QAAY,SAAS;AAAA,MAAuB,CAAA;AAAA,IAE9E,EAAA,CAAA,CACD;AAAA;AAEX,CACF"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { useEvent as h, useGlobalCopyStore as I } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { ANALYTICS_EVENTS as T } from "../../common/constants/Analytics.es.js";
|
|
3
|
+
import { getCategoryColor as s } from "../../core/utils/CategoryUtil.es.js";
|
|
4
|
+
import { formatCurrency as g } from "../../core/utils/NumberFormatting.es.js";
|
|
5
|
+
import { ListItemRow as v } from "../../common/components/ListItemRow.es.js";
|
|
6
|
+
import { TRENDS_ANALYTICS_METADATA as x } from "../constants/TrendsWidget.es.js";
|
|
7
|
+
import E from "react";
|
|
8
|
+
import { observer as y } from "mobx-react-lite";
|
|
9
|
+
import { CategoryIcon as A } from "@mxenabled/mxui";
|
|
10
|
+
import { ChevronRight as S } from "@mxenabled/mx-icons";
|
|
11
|
+
import { jsx as t, jsxs as b } from "react/jsx-runtime";
|
|
12
|
+
import { alpha as d, useTheme as u } from "@mui/material/styles";
|
|
13
|
+
import L from "@mui/material/Divider";
|
|
14
|
+
var V = y(({ totalAmount: a, guid: o, name: r, transactions: e, onClick: m, isLastItem: l = !1, showDivider: p = !0 }) => {
|
|
15
|
+
const { trends: i } = I(), { onEvent: c } = h(), n = u(), f = `${e.length} ${e.length === 1 ? i.transaction : i.transactions}`, C = () => {
|
|
16
|
+
m?.(), c(T.TRENDS_CLICK_LIST_ITEM, {
|
|
17
|
+
...x,
|
|
18
|
+
listItem: r
|
|
19
|
+
});
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ b(E.Fragment, { children: [/* @__PURE__ */ t(v, {
|
|
22
|
+
leftIcon: o ? /* @__PURE__ */ t(A, {
|
|
23
|
+
categoryGuid: o,
|
|
24
|
+
sx: {
|
|
25
|
+
bgcolor: d(s(o, n), 0.15),
|
|
26
|
+
border: `1px solid ${s(o, n)}`,
|
|
27
|
+
color: "text.primary"
|
|
28
|
+
}
|
|
29
|
+
}) : void 0,
|
|
30
|
+
onClick: C,
|
|
31
|
+
rightContent: g(Math.abs(a), "0,0.00"),
|
|
32
|
+
rightIcon: m ? /* @__PURE__ */ t(S, {}) : void 0,
|
|
33
|
+
subtitle: f,
|
|
34
|
+
title: r
|
|
35
|
+
}), p && /* @__PURE__ */ t(L, {
|
|
36
|
+
component: "li",
|
|
37
|
+
sx: { ml: l ? 24 : 68 }
|
|
38
|
+
})] }, o);
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
V as default
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
//# sourceMappingURL=CategoriesListItem.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoriesListItem.es.js","names":[],"sources":["../../../src/trends/components/CategoriesListItem.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport Divider from '@mui/material/Divider'\nimport { alpha } from '@mui/material/styles'\nimport { useTheme } from '@mui/material/styles'\n\nimport { ChevronRight } from '@mxenabled/mx-icons'\nimport { CategoryIcon } from '@mxenabled/mxui'\n\nimport { ANALYTICS_EVENTS, ListItemRow, useEvent, useGlobalCopyStore } from '../../common'\nimport { type DetailedCategoryWithTransactions } from '../../core'\n\nimport { TRENDS_ANALYTICS_METADATA } from '../constants/TrendsWidget'\nimport { getCategoryColor } from '../../core/utils/CategoryUtil'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\ninterface CategoriesListItemProps extends DetailedCategoryWithTransactions {\n onClick?: () => void\n isLastItem?: boolean\n showDivider?: boolean\n}\n\nconst CategoriesListItem = observer(\n ({\n totalAmount,\n guid,\n name,\n transactions,\n onClick,\n isLastItem = false,\n showDivider = true,\n }: CategoriesListItemProps) => {\n const { trends: copy } = useGlobalCopyStore()\n const { onEvent } = useEvent()\n const theme = useTheme()\n\n const transactionCountText = `${transactions.length} ${transactions.length === 1 ? copy.transaction : copy.transactions}`\n\n const handleClick = () => {\n onClick?.()\n onEvent(ANALYTICS_EVENTS.TRENDS_CLICK_LIST_ITEM, {\n ...TRENDS_ANALYTICS_METADATA,\n listItem: name,\n })\n }\n\n return (\n <React.Fragment key={guid}>\n <ListItemRow\n leftIcon={\n guid ? (\n <CategoryIcon\n categoryGuid={guid}\n sx={{\n bgcolor: alpha(getCategoryColor(guid, theme), 0.15),\n border: `1px solid ${getCategoryColor(guid, theme)}`,\n color: 'text.primary',\n }}\n />\n ) : undefined\n }\n onClick={handleClick}\n rightContent={formatCurrency(Math.abs(totalAmount), '0,0.00')}\n rightIcon={onClick ? <ChevronRight /> : undefined}\n subtitle={transactionCountText}\n title={name}\n />\n {showDivider && <Divider component=\"li\" sx={{ ml: isLastItem ? 24 : 68 }} />}\n </React.Fragment>\n )\n },\n)\n\nexport default CategoriesListItem\n"],"mappings":";;;;;;;;;;;;;AAsBA,IAAM,IAAqB,EAAA,CACxB,EACC,aAAA,GACA,MAAA,GACA,MAAA,GACA,cAAA,GACA,SAAA,GACA,YAAA,IAAa,IACb,aAAA,IAAc,GAAA,MACe;AAC7B,QAAM,EAAE,QAAQ,EAAA,IAAS,EAAmB,GACtC,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,IAAQ,EAAS,GAEjB,IAAuB,GAAG,EAAa,MAAA,IAAU,EAAa,WAAW,IAAI,EAAK,cAAc,EAAK,YAAA,IAErG,IAAA,MAAoB;AACxB,IAAA,IAAU,GACV,EAAQ,EAAiB,wBAAwB;AAAA,MAC/C,GAAG;AAAA,MACH,UAAU;AAAA,IACZ,CAAC;AAAA,EACH;AAEA,SACE,gBAAA,EAAC,EAAM,UAAP,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IACE,UACE,IACE,gBAAA,EAAC,GAAD;AAAA,MACE,cAAc;AAAA,MACd,IAAI;AAAA,QACF,SAAS,EAAM,EAAiB,GAAM,CAAK,GAAG,IAAI;AAAA,QAClD,QAAQ,aAAa,EAAiB,GAAM,CAAK,CAAA;AAAA,QACjD,OAAO;AAAA,MACT;AAAA,IACD,CAAA,IACC;AAAA,IAEN,SAAS;AAAA,IACT,cAAc,EAAe,KAAK,IAAI,CAAW,GAAG,QAAQ;AAAA,IAC5D,WAAW,IAAU,gBAAA,EAAC,GAAD,CAAe,CAAA,IAAI;AAAA,IACxC,UAAU;AAAA,IACV,OAAO;AAAA,EACR,CAAA,GACA,KAAe,gBAAA,EAAC,GAAD;AAAA,IAAS,WAAU;AAAA,IAAK,IAAI,EAAE,IAAI,IAAa,KAAK,GAAG;AAAA,EAAI,CAAA,CAC7D,EAAA,GArBK,CAqBL;AAEpB,CACF"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { useEvent as a, useTrendsStore as m } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { ANALYTICS_EVENTS as l } from "../../common/constants/Analytics.es.js";
|
|
3
|
+
import { LineChart as u } from "../../common/components/charts/LineChart.es.js";
|
|
4
|
+
import { TRENDS_ANALYTICS_METADATA as h } from "../constants/TrendsWidget.es.js";
|
|
5
|
+
import { observer as n } from "mobx-react-lite";
|
|
6
|
+
import A from "@mui/material/Stack";
|
|
7
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
8
|
+
var f = n(({ chartLabel: r, chartColor: t }) => {
|
|
9
|
+
const { onEvent: o } = a(), { categoryDetailsChartData: { monthlyAmounts: s, tooltipLabels: i } } = m();
|
|
10
|
+
return /* @__PURE__ */ e(A, {
|
|
11
|
+
sx: {
|
|
12
|
+
pt: 12,
|
|
13
|
+
width: "100%"
|
|
14
|
+
},
|
|
15
|
+
children: /* @__PURE__ */ e(u, {
|
|
16
|
+
baseline: "min",
|
|
17
|
+
colors: [t],
|
|
18
|
+
curveType: "bump",
|
|
19
|
+
customTooltipLabels: i,
|
|
20
|
+
datasets: [s],
|
|
21
|
+
height: 265,
|
|
22
|
+
labels: [r],
|
|
23
|
+
markStyles: () => ({ stroke: t }),
|
|
24
|
+
onItemClick: () => {
|
|
25
|
+
o(l.TRENDS_CLICK_CHART, h);
|
|
26
|
+
},
|
|
27
|
+
showArea: !0,
|
|
28
|
+
showAverage: !0,
|
|
29
|
+
showAxisHighlight: !0,
|
|
30
|
+
showLegend: !0,
|
|
31
|
+
showTooltip: !0,
|
|
32
|
+
showXAxis: !0,
|
|
33
|
+
showXAxisTicks: !0,
|
|
34
|
+
showYAxis: !0,
|
|
35
|
+
showYAxisTicks: !0,
|
|
36
|
+
useCustomMark: !0,
|
|
37
|
+
valueFormatterString: "0,0"
|
|
38
|
+
})
|
|
39
|
+
});
|
|
40
|
+
});
|
|
41
|
+
export {
|
|
42
|
+
f as default
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
//# sourceMappingURL=CategoryDetailChart.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryDetailChart.es.js","names":[],"sources":["../../../src/trends/components/CategoryDetailChart.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\n\nimport Stack from '@mui/material/Stack'\n\nimport { ANALYTICS_EVENTS, useEvent, useTrendsStore } from '../../common'\nimport { LineChart } from '../../common/components/charts/LineChart'\n\nimport { TRENDS_ANALYTICS_METADATA } from '../constants/TrendsWidget'\ninterface CategoryDetailChartProps {\n chartColor: string\n chartLabel: string\n}\nconst CategoryDetailChart = observer(({ chartLabel, chartColor }: CategoryDetailChartProps) => {\n const { onEvent } = useEvent()\n const {\n categoryDetailsChartData: { monthlyAmounts, tooltipLabels },\n } = useTrendsStore()\n\n const handleItemClick = () => {\n onEvent(ANALYTICS_EVENTS.TRENDS_CLICK_CHART, TRENDS_ANALYTICS_METADATA)\n }\n\n return (\n <Stack sx={{ pt: 12, width: '100%' }}>\n <LineChart\n baseline=\"min\"\n colors={[chartColor]}\n curveType=\"bump\"\n customTooltipLabels={tooltipLabels}\n datasets={[monthlyAmounts]}\n height={265}\n labels={[chartLabel]}\n markStyles={() => ({\n stroke: chartColor,\n })}\n onItemClick={handleItemClick}\n showArea={true}\n showAverage={true}\n showAxisHighlight={true}\n showLegend={true}\n showTooltip={true}\n showXAxis={true}\n showXAxisTicks={true}\n showYAxis={true}\n showYAxisTicks={true}\n useCustomMark={true}\n valueFormatterString=\"0,0\"\n />\n </Stack>\n )\n})\nexport default CategoryDetailChart\n"],"mappings":";;;;;;;AAYA,IAAM,IAAsB,EAAA,CAAU,EAAE,YAAA,GAAY,YAAA,EAAA,MAA2C;AAC7F,QAAM,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EACJ,0BAA0B,EAAE,gBAAA,GAAgB,eAAA,EAAA,EAAA,IAC1C,EAAe;AAMnB,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,IAAI;AAAA,MAAI,OAAO;AAAA,IAAO;AAAA,cACjC,gBAAA,EAAC,GAAD;AAAA,MACE,UAAS;AAAA,MACT,QAAQ,CAAC,CAAU;AAAA,MACnB,WAAU;AAAA,MACV,qBAAqB;AAAA,MACrB,UAAU,CAAC,CAAc;AAAA,MACzB,QAAQ;AAAA,MACR,QAAQ,CAAC,CAAU;AAAA,MACnB,YAAA,OAAmB,EACjB,QAAQ,EACV;AAAA,MACA,aAjBA,MAAwB;AAC5B,QAAA,EAAQ,EAAiB,oBAAoB,CAAyB;AAAA,MACxE;AAAA,MAgBM,UAAU;AAAA,MACV,aAAa;AAAA,MACb,mBAAmB;AAAA,MACnB,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,WAAW;AAAA,MACX,gBAAgB;AAAA,MAChB,WAAW;AAAA,MACX,gBAAgB;AAAA,MAChB,eAAe;AAAA,MACf,sBAAqB;AAAA,IACtB,CAAA;AAAA,EACI,CAAA;AAEX,CAAC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { useAppConfig as I, useGlobalCopyStore as A, useTransactionStore as G, useTrendsStore as R } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { useScreenSize as j } from "../../common/hooks/useScreenSize.es.js";
|
|
3
|
+
import k from "../../common/components/drawer/Drawer.es.js";
|
|
4
|
+
import { getCategoryColor as z } from "../../core/utils/CategoryUtil.es.js";
|
|
5
|
+
import { formatCurrency as M } from "../../core/utils/NumberFormatting.es.js";
|
|
6
|
+
import $ from "../../transactions/components/transactionwidget/actions/ExportCsvAction.es.js";
|
|
7
|
+
import B from "../../transactions/components/shared/TransactionList.es.js";
|
|
8
|
+
import E from "../../transactions/components/shared/TransactionDetails.es.js";
|
|
9
|
+
import F from "./CategoryDetailChart.es.js";
|
|
10
|
+
import d from "react";
|
|
11
|
+
import { observer as O } from "mobx-react-lite";
|
|
12
|
+
import c from "@mui/material/Stack";
|
|
13
|
+
import { CategoryIcon as P, Text as f } from "@mxenabled/mxui";
|
|
14
|
+
import { jsx as t, jsxs as i } from "react/jsx-runtime";
|
|
15
|
+
import { useTheme as W } from "@mui/material/styles";
|
|
16
|
+
import q from "@mui/material/List";
|
|
17
|
+
import H from "@mui/material/ListItem";
|
|
18
|
+
import J from "@mui/material/ListItemText";
|
|
19
|
+
import K from "@mui/material/ListItemAvatar";
|
|
20
|
+
var dt = O(() => {
|
|
21
|
+
const h = W(), { is_mobile_webview: u } = I(), { isDesktop: g, isSmallTablet: y, isTablet: b } = j(), { common: C, trends: o } = A(), { selectedCategoryData: e, selectedDateRangeMonthRange: x } = R(), { sortedTransactions: a } = G(), [m, l] = d.useState(null);
|
|
22
|
+
if (!e) return null;
|
|
23
|
+
const { guid: r, name: v, is_income: _, totalAmount: S } = e, T = z(r, h), L = _ ? o.income_label : o.spending_label, w = ` ${e.transactions.length === 1 ? o.transaction : o.transactions} (${e.transactions.length})`, s = d.useMemo(() => a.find((n) => n.guid === m), [m, a]), D = a.length > 0 && !u && (g || b && !y), p = (n) => n.category_guid === r || n.top_level_category_guid === r;
|
|
24
|
+
return /* @__PURE__ */ i(c, {
|
|
25
|
+
sx: {
|
|
26
|
+
alignItems: "center",
|
|
27
|
+
height: "100%"
|
|
28
|
+
},
|
|
29
|
+
children: [
|
|
30
|
+
/* @__PURE__ */ i(c, {
|
|
31
|
+
sx: {
|
|
32
|
+
borderRadius: 0,
|
|
33
|
+
pb: 4,
|
|
34
|
+
pt: 16,
|
|
35
|
+
px: 12,
|
|
36
|
+
width: "100%"
|
|
37
|
+
},
|
|
38
|
+
children: [
|
|
39
|
+
/* @__PURE__ */ t(q, {
|
|
40
|
+
sx: { px: 12 },
|
|
41
|
+
children: /* @__PURE__ */ i(H, { children: [
|
|
42
|
+
/* @__PURE__ */ t(K, { children: /* @__PURE__ */ t(P, { categoryGuid: r }) }),
|
|
43
|
+
/* @__PURE__ */ t(J, {
|
|
44
|
+
primary: v,
|
|
45
|
+
secondary: x,
|
|
46
|
+
slotProps: {
|
|
47
|
+
primary: {
|
|
48
|
+
component: "div",
|
|
49
|
+
variant: "h3",
|
|
50
|
+
fontSize: 18,
|
|
51
|
+
fontWeight: 700
|
|
52
|
+
},
|
|
53
|
+
secondary: {
|
|
54
|
+
component: "div",
|
|
55
|
+
variant: "body2",
|
|
56
|
+
fontSize: 13
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}),
|
|
60
|
+
/* @__PURE__ */ t(f, {
|
|
61
|
+
component: "div",
|
|
62
|
+
variant: "h3",
|
|
63
|
+
children: M(Math.abs(S), "0,0.00")
|
|
64
|
+
})
|
|
65
|
+
] })
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ t(F, {
|
|
68
|
+
chartColor: T,
|
|
69
|
+
chartLabel: L
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ i(c, {
|
|
72
|
+
alignItems: "center",
|
|
73
|
+
direction: "row",
|
|
74
|
+
justifyContent: "space-between",
|
|
75
|
+
sx: { mx: 12 },
|
|
76
|
+
children: [/* @__PURE__ */ t(f, {
|
|
77
|
+
bold: !0,
|
|
78
|
+
variant: "body1",
|
|
79
|
+
children: w
|
|
80
|
+
}), D && /* @__PURE__ */ t($, { filter: p })]
|
|
81
|
+
})
|
|
82
|
+
]
|
|
83
|
+
}),
|
|
84
|
+
/* @__PURE__ */ t(B, {
|
|
85
|
+
bgcolor: "transparent",
|
|
86
|
+
filter: p,
|
|
87
|
+
height: "calc(100vh - 475px)",
|
|
88
|
+
onClick: l
|
|
89
|
+
}),
|
|
90
|
+
/* @__PURE__ */ t(k, {
|
|
91
|
+
ariaLabelClose: C.close_aria,
|
|
92
|
+
isOpen: !!s,
|
|
93
|
+
onClose: () => l(""),
|
|
94
|
+
title: o.transaction,
|
|
95
|
+
children: s && /* @__PURE__ */ t(E, { transaction: s })
|
|
96
|
+
})
|
|
97
|
+
]
|
|
98
|
+
});
|
|
99
|
+
});
|
|
100
|
+
export {
|
|
101
|
+
dt as CategoryDetails
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
//# sourceMappingURL=CategoryDetails.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CategoryDetails.es.js","names":[],"sources":["../../../src/trends/components/CategoryDetails.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport List from '@mui/material/List'\nimport ListItem from '@mui/material/ListItem'\nimport ListItemAvatar from '@mui/material/ListItemAvatar'\nimport ListItemText from '@mui/material/ListItemText'\nimport Stack from '@mui/material/Stack'\nimport { useTheme } from '@mui/material/styles'\n\nimport { CategoryIcon, Text } from '@mxenabled/mxui'\n\nimport {\n Drawer,\n useAppConfig,\n useGlobalCopyStore,\n useTrendsStore,\n useTransactionStore,\n useScreenSize,\n} from '../../common'\nimport { type Transaction } from '../../core'\n\nimport { getCategoryColor } from '../../core/utils/CategoryUtil'\nimport { ExportCsvAction, TransactionDetails, TransactionList } from '../../transactions'\n\nimport CategoryDetailChart from './CategoryDetailChart'\nimport { formatCurrency } from '../../core/utils/NumberFormatting'\n\nexport const CategoryDetails = observer(() => {\n const theme = useTheme()\n const { is_mobile_webview } = useAppConfig()\n const { isDesktop, isSmallTablet, isTablet } = useScreenSize()\n const { common: commonCopy, trends: copy } = useGlobalCopyStore()\n const { selectedCategoryData, selectedDateRangeMonthRange } = useTrendsStore()\n const { sortedTransactions: transactions } = useTransactionStore()\n\n const [transactionGuid, setTransactionGuid] = React.useState<string | null>(null)\n\n if (!selectedCategoryData) {\n return null\n }\n\n const { guid, name, is_income, totalAmount } = selectedCategoryData\n\n const chartColor = getCategoryColor(guid, theme)\n const chartLabel = is_income ? copy.income_label : copy.spending_label\n const transactionCountLabel = ` ${\n selectedCategoryData.transactions.length === 1 ? copy.transaction : copy.transactions\n } (${selectedCategoryData.transactions.length})`\n\n const transaction = React.useMemo(\n () => transactions.find((t) => t.guid === transactionGuid),\n [transactionGuid, transactions],\n )\n\n const shouldShowExportButton =\n transactions.length > 0 && !is_mobile_webview && (isDesktop || (isTablet && !isSmallTablet))\n\n const categoryFilter = (t: Transaction) =>\n t.category_guid === guid || t.top_level_category_guid === guid\n\n return (\n <Stack sx={{ alignItems: 'center', height: '100%' }}>\n <Stack sx={{ borderRadius: 0, pb: 4, pt: 16, px: 12, width: '100%' }}>\n <List sx={{ px: 12 }}>\n <ListItem>\n <ListItemAvatar>\n <CategoryIcon categoryGuid={guid} />\n </ListItemAvatar>\n <ListItemText\n primary={name}\n secondary={selectedDateRangeMonthRange}\n slotProps={{\n primary: { component: 'div', variant: 'h3', fontSize: 18, fontWeight: 700 },\n secondary: { component: 'div', variant: 'body2', fontSize: 13 },\n }}\n />\n <Text component=\"div\" variant=\"h3\">\n {formatCurrency(Math.abs(totalAmount), '0,0.00')}\n </Text>\n </ListItem>\n </List>\n\n <CategoryDetailChart chartColor={chartColor} chartLabel={chartLabel} />\n\n <Stack alignItems=\"center\" direction=\"row\" justifyContent=\"space-between\" sx={{ mx: 12 }}>\n <Text bold={true} variant=\"body1\">\n {transactionCountLabel}\n </Text>\n {shouldShowExportButton && <ExportCsvAction filter={categoryFilter} />}\n </Stack>\n </Stack>\n <TransactionList\n bgcolor=\"transparent\"\n filter={categoryFilter}\n height=\"calc(100vh - 475px)\"\n onClick={setTransactionGuid}\n />\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n isOpen={Boolean(transaction)}\n onClose={() => setTransactionGuid('')}\n title={copy.transaction}\n >\n {transaction && <TransactionDetails transaction={transaction} />}\n </Drawer>\n </Stack>\n )\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;AA4BA,IAAa,KAAkB,EAAA,MAAe;AAC5C,QAAM,IAAQ,EAAS,GACjB,EAAE,mBAAA,EAAA,IAAsB,EAAa,GACrC,EAAE,WAAA,GAAW,eAAA,GAAe,UAAA,EAAA,IAAa,EAAc,GACvD,EAAE,QAAQ,GAAY,QAAQ,EAAA,IAAS,EAAmB,GAC1D,EAAE,sBAAA,GAAsB,6BAAA,EAAA,IAAgC,EAAe,GACvE,EAAE,oBAAoB,EAAA,IAAiB,EAAoB,GAE3D,CAAC,GAAiB,CAAA,IAAsB,EAAM,SAAwB,IAAI;AAEhF,MAAI,CAAC,EACH,QAAO;AAGT,QAAM,EAAE,MAAA,GAAM,MAAA,GAAM,WAAA,GAAW,aAAA,EAAA,IAAgB,GAEzC,IAAa,EAAiB,GAAM,CAAK,GACzC,IAAa,IAAY,EAAK,eAAe,EAAK,gBAClD,IAAwB,IAC5B,EAAqB,aAAa,WAAW,IAAI,EAAK,cAAc,EAAK,YAAA,KACtE,EAAqB,aAAa,MAAA,KAEjC,IAAc,EAAM,QAAA,MAClB,EAAa,KAAA,CAAM,MAAM,EAAE,SAAS,CAAe,GACzD,CAAC,GAAiB,CAAY,CAChC,GAEM,IACJ,EAAa,SAAS,KAAK,CAAC,MAAsB,KAAc,KAAY,CAAC,IAEzE,IAAA,CAAkB,MACtB,EAAE,kBAAkB,KAAQ,EAAE,4BAA4B;AAE5D,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI;AAAA,MAAE,YAAY;AAAA,MAAU,QAAQ;AAAA,IAAO;AAAA,cAAlD;AAAA,MACE,gBAAA,EAAC,GAAD;AAAA,QAAO,IAAI;AAAA,UAAE,cAAc;AAAA,UAAG,IAAI;AAAA,UAAG,IAAI;AAAA,UAAI,IAAI;AAAA,UAAI,OAAO;AAAA,QAAO;AAAA,kBAAnE;AAAA,UACE,gBAAA,EAAC,GAAD;AAAA,YAAM,IAAI,EAAE,IAAI,GAAG;AAAA,sBACjB,gBAAA,EAAC,GAAD,EAAA,UAAA;AAAA,cACE,gBAAA,EAAC,GAAD,EAAA,UACE,gBAAA,EAAC,GAAD,EAAc,cAAc,EAAO,CAAA,EACrB,CAAA;AAAA,cAChB,gBAAA,EAAC,GAAD;AAAA,gBACE,SAAS;AAAA,gBACT,WAAW;AAAA,gBACX,WAAW;AAAA,kBACT,SAAS;AAAA,oBAAE,WAAW;AAAA,oBAAO,SAAS;AAAA,oBAAM,UAAU;AAAA,oBAAI,YAAY;AAAA,kBAAI;AAAA,kBAC1E,WAAW;AAAA,oBAAE,WAAW;AAAA,oBAAO,SAAS;AAAA,oBAAS,UAAU;AAAA,kBAAG;AAAA,gBAChE;AAAA,cACD,CAAA;AAAA,cACD,gBAAA,EAAC,GAAD;AAAA,gBAAM,WAAU;AAAA,gBAAM,SAAQ;AAAA,0BAC3B,EAAe,KAAK,IAAI,CAAW,GAAG,QAAQ;AAAA,cAC3C,CAAA;AAAA,YACE,EAAA,CAAA;AAAA,UACN,CAAA;AAAA,UAEN,gBAAA,EAAC,GAAD;AAAA,YAAiC,YAAA;AAAA,YAAwB,YAAA;AAAA,UAAa,CAAA;AAAA,UAEtE,gBAAA,EAAC,GAAD;AAAA,YAAO,YAAW;AAAA,YAAS,WAAU;AAAA,YAAM,gBAAe;AAAA,YAAgB,IAAI,EAAE,IAAI,GAAG;AAAA,sBAAvF,CACE,gBAAA,EAAC,GAAD;AAAA,cAAM,MAAM;AAAA,cAAM,SAAQ;AAAA,wBACvB;AAAA,YACG,CAAA,GACL,KAA0B,gBAAA,EAAC,GAAD,EAAiB,QAAQ,EAAiB,CAAA,CAChE;AAAA;QACF;AAAA;MACP,gBAAA,EAAC,GAAD;AAAA,QACE,SAAQ;AAAA,QACR,QAAQ;AAAA,QACR,QAAO;AAAA,QACP,SAAS;AAAA,MACV,CAAA;AAAA,MACD,gBAAA,EAAC,GAAD;AAAA,QACE,gBAAgB,EAAW;AAAA,QAC3B,QAAQ,EAAQ;AAAA,QAChB,SAAA,MAAe,EAAmB,EAAE;AAAA,QACpC,OAAO,EAAK;AAAA,kBAEX,KAAe,gBAAA,EAAC,GAAD,EAAiC,aAAA,EAAc,CAAA;AAAA,MACzD,CAAA;AAAA,IACH;AAAA;AAEX,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { DATE_FORMATS_INTL as r, formatDate as e } from "../../core/constants/DateFormats.es.js";
|
|
2
|
+
import { useCategoryStore as _, useGlobalCopyStore as a } from "../../common/context/hooks.es.js";
|
|
3
|
+
import { useScreenSize as f } from "../../common/hooks/useScreenSize.es.js";
|
|
4
|
+
import O from "react";
|
|
5
|
+
import { H3 as p, Text as x } from "@mxenabled/mxui";
|
|
6
|
+
import { jsx as m, jsxs as H } from "react/jsx-runtime";
|
|
7
|
+
import M from "@mui/material/Box";
|
|
8
|
+
var Y = ({ selectedDateRange: t, selectedCategoryGuid: T }) => {
|
|
9
|
+
const { trends: i } = a(), { isMobile: o, isDesktop: s } = f(), { getCategoryName: l } = _(), n = O.useMemo(() => `${t.start.getFullYear() === t.end.getFullYear() ? e(t.start, o ? r.MONTH_SHORT : r.MONTH_LONG) : e(t.start, o ? r.MONTH_SHORT_YEAR : r.MONTH_YEAR)} - ${e(t.end, o ? r.MONTH_SHORT_YEAR : r.MONTH_YEAR)}`, [t, o]), u = l(T) || (o ? i.sub_title : i.sub_title_by_category);
|
|
10
|
+
return /* @__PURE__ */ H(M, { children: [/* @__PURE__ */ m(p, {
|
|
11
|
+
sx: {
|
|
12
|
+
fontSize: s ? null : 15,
|
|
13
|
+
overflow: "visible",
|
|
14
|
+
textOverflow: "unset"
|
|
15
|
+
},
|
|
16
|
+
children: u
|
|
17
|
+
}), /* @__PURE__ */ m(x, {
|
|
18
|
+
variant: s ? "subtitle1" : "body2",
|
|
19
|
+
children: n
|
|
20
|
+
})] });
|
|
21
|
+
};
|
|
22
|
+
export {
|
|
23
|
+
Y as default
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=DateRangeText.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DateRangeText.es.js","names":[],"sources":["../../../src/trends/components/DateRangeText.tsx"],"sourcesContent":["import React from 'react'\nimport { H3, Text } from '@mxenabled/mxui'\nimport Box from '@mui/material/Box'\nimport { useCategoryStore, useGlobalCopyStore, useScreenSize } from '../../common'\nimport { DATE_FORMATS_INTL, formatDate } from '../../core/constants'\n\ninterface DateRangeTextProps {\n selectedDateRange: { start: Date; end: Date }\n selectedCategoryGuid: string\n}\n\nconst DateRangeText = ({ selectedDateRange, selectedCategoryGuid }: DateRangeTextProps) => {\n const { trends: copy } = useGlobalCopyStore()\n const { isMobile, isDesktop } = useScreenSize()\n const { getCategoryName } = useCategoryStore()\n\n // Build date range text for display\n // e.g. October 2023 - March 2024, or Oct 2023 - Mar 2024\n const dateRangeText = React.useMemo(() => {\n const startDate =\n selectedDateRange.start.getFullYear() === selectedDateRange.end.getFullYear()\n ? formatDate(\n selectedDateRange.start,\n isMobile ? DATE_FORMATS_INTL.MONTH_SHORT : DATE_FORMATS_INTL.MONTH_LONG,\n )\n : formatDate(\n selectedDateRange.start,\n isMobile ? DATE_FORMATS_INTL.MONTH_SHORT_YEAR : DATE_FORMATS_INTL.MONTH_YEAR,\n )\n const endDate = formatDate(\n selectedDateRange.end,\n isMobile ? DATE_FORMATS_INTL.MONTH_SHORT_YEAR : DATE_FORMATS_INTL.MONTH_YEAR,\n )\n return `${startDate} - ${endDate}`\n }, [selectedDateRange, isMobile])\n\n const categoryName = getCategoryName(selectedCategoryGuid)\n const titleText = categoryName || (isMobile ? copy.sub_title : copy.sub_title_by_category)\n\n return (\n <Box>\n <H3\n sx={{\n fontSize: !isDesktop ? 15 : null,\n overflow: 'visible',\n textOverflow: 'unset',\n }}\n >\n {titleText}\n </H3>\n\n <Text variant={isDesktop ? 'subtitle1' : 'body2'}>{dateRangeText}</Text>\n </Box>\n )\n}\n\nexport default DateRangeText\n"],"mappings":";;;;;;;AAWA,IAAM,IAAA,CAAiB,EAAE,mBAAA,GAAmB,sBAAA,EAAA,MAA+C;AACzF,QAAM,EAAE,QAAQ,EAAA,IAAS,EAAmB,GACtC,EAAE,UAAA,GAAU,WAAA,EAAA,IAAc,EAAc,GACxC,EAAE,iBAAA,EAAA,IAAoB,EAAiB,GAIvC,IAAgB,EAAM,QAAA,MAenB,GAbL,EAAkB,MAAM,YAAY,MAAM,EAAkB,IAAI,YAAY,IACxE,EACE,EAAkB,OAClB,IAAW,EAAkB,cAAc,EAAkB,UAC/D,IACA,EACE,EAAkB,OAClB,IAAW,EAAkB,mBAAmB,EAAkB,UACpE,CAAA,MACU,EACd,EAAkB,KAClB,IAAW,EAAkB,mBAAmB,EAAkB,UAE3C,CAAA,IACxB,CAAC,GAAmB,CAAQ,CAAC,GAG1B,IADe,EAAgB,CACnB,MAAiB,IAAW,EAAK,YAAY,EAAK;AAEpE,SACE,gBAAA,EAAC,GAAD,EAAA,UAAA,CACE,gBAAA,EAAC,GAAD;AAAA,IACE,IAAI;AAAA,MACF,UAAW,IAAiB,OAAL;AAAA,MACvB,UAAU;AAAA,MACV,cAAc;AAAA,IAChB;AAAA,cAEC;AAAA,EACC,CAAA,GAEJ,gBAAA,EAAC,GAAD;AAAA,IAAM,SAAS,IAAY,cAAc;AAAA,cAAU;AAAA,EAAoB,CAAA,CACpE,EAAA,CAAA;AAET"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { useCategoryStore as s, useGlobalCopyStore as n, useWidgetContainerProvider as i } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { LineChart as m } from "../../common/components/charts/LineChart.es.js";
|
|
3
|
+
import { getSpendingData as l } from "../utils/SpendingData.es.js";
|
|
4
|
+
import p from "react";
|
|
5
|
+
import { observer as u } from "mobx-react-lite";
|
|
6
|
+
import { jsx as d } from "react/jsx-runtime";
|
|
7
|
+
import { useTheme as g } from "@mui/material/styles";
|
|
8
|
+
var h = () => {
|
|
9
|
+
const { monthlyCategoryTotals: e } = s(), { trends: t } = n(), r = g(), { availableHeight: o = 300 } = i(), a = p.useMemo(() => l(e), [e]);
|
|
10
|
+
return /* @__PURE__ */ d(m, {
|
|
11
|
+
baseline: "min",
|
|
12
|
+
colors: [r.palette.primary.main],
|
|
13
|
+
datasets: [a],
|
|
14
|
+
height: o,
|
|
15
|
+
labels: [t.spending_label],
|
|
16
|
+
showArea: !0,
|
|
17
|
+
showAverage: !0,
|
|
18
|
+
showLegend: !0,
|
|
19
|
+
showMarkLabel: !0,
|
|
20
|
+
useCustomMark: !0,
|
|
21
|
+
valueFormatterString: "0,0"
|
|
22
|
+
});
|
|
23
|
+
}, w = u(h);
|
|
24
|
+
export {
|
|
25
|
+
w as default
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
//# sourceMappingURL=SpendingChart.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SpendingChart.es.js","names":[],"sources":["../../../src/trends/components/SpendingChart.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport { useTheme } from '@mui/material/styles'\n\nimport { useCategoryStore, useGlobalCopyStore, useWidgetContainerProvider } from '../../common'\nimport { LineChart } from '../../common/components/charts/LineChart'\n\nimport { getSpendingData } from '../utils/SpendingData'\n\nconst SpendingChart = () => {\n const { monthlyCategoryTotals } = useCategoryStore()\n const { trends: trendsCopy } = useGlobalCopyStore()\n const theme = useTheme()\n const { availableHeight = 300 } = useWidgetContainerProvider()\n\n const data = React.useMemo(() => getSpendingData(monthlyCategoryTotals), [monthlyCategoryTotals])\n\n return (\n <LineChart\n baseline=\"min\"\n colors={[theme.palette.primary.main]}\n datasets={[data]}\n height={availableHeight}\n labels={[trendsCopy.spending_label]}\n showArea={true}\n showAverage={true}\n showLegend={true}\n showMarkLabel={true}\n useCustomMark={true}\n valueFormatterString=\"0,0\"\n />\n )\n}\n\nexport default observer(SpendingChart)\n"],"mappings":";;;;;;;AAUA,IAAM,IAAA,MAAsB;AAC1B,QAAM,EAAE,uBAAA,EAAA,IAA0B,EAAiB,GAC7C,EAAE,QAAQ,EAAA,IAAe,EAAmB,GAC5C,IAAQ,EAAS,GACjB,EAAE,iBAAA,IAAkB,IAAA,IAAQ,EAA2B,GAEvD,IAAO,EAAM,QAAA,MAAc,EAAgB,CAAqB,GAAG,CAAC,CAAqB,CAAC;AAEhG,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,UAAS;AAAA,IACT,QAAQ,CAAC,EAAM,QAAQ,QAAQ,IAAI;AAAA,IACnC,UAAU,CAAC,CAAI;AAAA,IACf,QAAQ;AAAA,IACR,QAAQ,CAAC,EAAW,cAAc;AAAA,IAClC,UAAU;AAAA,IACV,aAAa;AAAA,IACb,YAAY;AAAA,IACZ,eAAe;AAAA,IACf,eAAe;AAAA,IACf,sBAAqB;AAAA,EACtB,CAAA;AAEL,GAEA,IAAe,EAAS,CAAa"}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { useCategoryStore as g, useGlobalCopyStore as p } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { AccountType as c } from "../../core/types/Account.es.js";
|
|
3
|
+
import { INCOME_ACCOUNT_TYPES as u, PAYMENT_ACCOUNT_TYPES as m, SPENDING_ACCOUNT_TYPES as d } from "../../common/constants/Account.es.js";
|
|
4
|
+
import { useAccountUiStore as A } from "../../accounts/hooks/useUiStore.es.js";
|
|
5
|
+
import { LineChart as T } from "../../common/components/charts/LineChart.es.js";
|
|
6
|
+
import { getIncomeTotals as f, getPaymentTotals as C, getSpendingTotals as _ } from "../utils/SpendingData.es.js";
|
|
7
|
+
import { observer as b } from "mobx-react-lite";
|
|
8
|
+
import { jsx as h } from "react/jsx-runtime";
|
|
9
|
+
import { useTheme as S } from "@mui/material/styles";
|
|
10
|
+
var w = (e, t) => [
|
|
11
|
+
u.includes(t) ? f(e) : [],
|
|
12
|
+
m.includes(t) ? C(e) : [],
|
|
13
|
+
d.includes(t) ? _(e) : []
|
|
14
|
+
].filter((o) => o.length > 0), y = (e, t, o) => {
|
|
15
|
+
const [l, i] = e, s = l, n = i ?? l, r = [];
|
|
16
|
+
if (s && n && u.includes(t)) {
|
|
17
|
+
const a = s[s.length - 1].y;
|
|
18
|
+
r.push({
|
|
19
|
+
label: o.income_label,
|
|
20
|
+
amount: a
|
|
21
|
+
});
|
|
22
|
+
} else if (m.includes(t)) {
|
|
23
|
+
const a = s[s.length - 1].y;
|
|
24
|
+
r.push({
|
|
25
|
+
label: o.payments_label,
|
|
26
|
+
amount: a
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
if (n && d.includes(t)) {
|
|
30
|
+
const a = n[n.length - 1].y;
|
|
31
|
+
r.push({
|
|
32
|
+
label: o.spending_label,
|
|
33
|
+
amount: a
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
return r;
|
|
37
|
+
}, v = () => {
|
|
38
|
+
const e = S(), { selectedAccount: t } = A(), { monthlyCategoryTotals: o } = g(), { trends: l } = p(), i = [e.palette.chart?.chart1, e.palette.chart?.chart2], s = w(o, t.account_type), n = y(s, t.account_type, l), r = [c.LOAN, c.MORTGAGE].includes(t.account_type);
|
|
39
|
+
return /* @__PURE__ */ h("div", {
|
|
40
|
+
"data-testid": "TrendsChart",
|
|
41
|
+
children: /* @__PURE__ */ h(T, {
|
|
42
|
+
colors: i,
|
|
43
|
+
datasets: s,
|
|
44
|
+
height: 185,
|
|
45
|
+
labels: n,
|
|
46
|
+
showAverage: r,
|
|
47
|
+
showAxisHighlight: !0,
|
|
48
|
+
showBars: r,
|
|
49
|
+
showLegend: !0,
|
|
50
|
+
showTooltip: !0,
|
|
51
|
+
showXAxis: !0,
|
|
52
|
+
showXAxisTicks: !0,
|
|
53
|
+
showYAxis: !0,
|
|
54
|
+
showYAxisTicks: !0,
|
|
55
|
+
valueFormatterString: "0,0"
|
|
56
|
+
})
|
|
57
|
+
});
|
|
58
|
+
}, U = b(v);
|
|
59
|
+
export {
|
|
60
|
+
U as default
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
//# sourceMappingURL=TrendsChart.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendsChart.es.js","names":[],"sources":["../../../src/trends/components/TrendsChart.tsx"],"sourcesContent":["import { observer } from 'mobx-react-lite'\nimport { useTheme } from '@mui/material/styles'\n\nimport {\n useCategoryStore,\n useGlobalCopyStore,\n INCOME_ACCOUNT_TYPES,\n PAYMENT_ACCOUNT_TYPES,\n SPENDING_ACCOUNT_TYPES,\n} from '../../common'\nimport { AccountType, MonthlyCategoryTotals, TrendsCopy } from '../../core'\n\nimport { useAccountUiStore } from '../../accounts/hooks/useUiStore'\nimport { LineChart } from '../../common/components/charts/LineChart'\nimport type { LineChartDataset, LineChartLabel } from '../../common/components/charts/LineChart'\n\nimport { getIncomeTotals, getPaymentTotals, getSpendingTotals } from '../utils/SpendingData'\n\nconst getDatasets = (\n totals: MonthlyCategoryTotals[],\n accountType: AccountType,\n): LineChartDataset[] => {\n const incomeData = INCOME_ACCOUNT_TYPES.includes(accountType) ? getIncomeTotals(totals) : []\n const paymentData = PAYMENT_ACCOUNT_TYPES.includes(accountType) ? getPaymentTotals(totals) : []\n const spendingData = SPENDING_ACCOUNT_TYPES.includes(accountType) ? getSpendingTotals(totals) : []\n\n // There should always be 1-2 datasets returned. No account type will have all three categories.\n return [incomeData, paymentData, spendingData].filter((data) => data.length > 0)\n}\n\nconst getLabels = (datasets: LineChartDataset[], accountType: AccountType, copy: TrendsCopy) => {\n const [dataA, dataB] = datasets\n const credits = dataA\n const debits = dataB ?? dataA\n const labels: LineChartLabel[] = []\n\n if (credits && debits && INCOME_ACCOUNT_TYPES.includes(accountType)) {\n const lastIncome = credits[credits.length - 1].y\n labels.push({ label: copy.income_label, amount: lastIncome })\n } else if (PAYMENT_ACCOUNT_TYPES.includes(accountType)) {\n const lastPayment = credits[credits.length - 1].y\n labels.push({ label: copy.payments_label, amount: lastPayment })\n }\n\n if (debits && SPENDING_ACCOUNT_TYPES.includes(accountType)) {\n const lastSpending = debits[debits.length - 1].y\n labels.push({ label: copy.spending_label, amount: lastSpending })\n }\n\n return labels\n}\n\nconst TrendsChart = () => {\n const theme = useTheme()\n const { selectedAccount } = useAccountUiStore()\n const { monthlyCategoryTotals } = useCategoryStore()\n const { trends: trendsCopy } = useGlobalCopyStore()\n\n const colors = [theme.palette.chart?.chart1, theme.palette.chart?.chart2]\n const datasets = getDatasets(monthlyCategoryTotals, selectedAccount.account_type)\n const labels = getLabels(datasets, selectedAccount.account_type, trendsCopy)\n const isLoan = [AccountType.LOAN, AccountType.MORTGAGE].includes(selectedAccount.account_type)\n\n return (\n <div data-testid=\"TrendsChart\">\n <LineChart\n colors={colors}\n datasets={datasets}\n height={185}\n labels={labels}\n showAverage={isLoan}\n showAxisHighlight={true}\n showBars={isLoan}\n showLegend={true}\n showTooltip={true}\n showXAxis={true}\n showXAxisTicks={true}\n showYAxis={true}\n showYAxisTicks={true}\n valueFormatterString=\"0,0\"\n />\n </div>\n )\n}\n\nexport default observer(TrendsChart)\n"],"mappings":";;;;;;;;;AAkBA,IAAM,IAAA,CACJ,GACA,MAOO;AAAA,EALY,EAAqB,SAAS,CAAW,IAAI,EAAgB,CAAM,IAAI,CAAC;AAAA,EACvE,EAAsB,SAAS,CAAW,IAAI,EAAiB,CAAM,IAAI,CAAC;AAAA,EACzE,EAAuB,SAAS,CAAW,IAAI,EAAkB,CAAM,IAAI,CAAC;AAGpD,EAAE,OAAA,CAAQ,MAAS,EAAK,SAAS,CAAC,GAG3E,IAAA,CAAa,GAA8B,GAA0B,MAAqB;AAC9F,QAAM,CAAC,GAAO,CAAA,IAAS,GACjB,IAAU,GACV,IAAS,KAAS,GAClB,IAA2B,CAAC;AAElC,MAAI,KAAW,KAAU,EAAqB,SAAS,CAAW,GAAG;AACnE,UAAM,IAAa,EAAQ,EAAQ,SAAS,CAAA,EAAG;AAC/C,IAAA,EAAO,KAAK;AAAA,MAAE,OAAO,EAAK;AAAA,MAAc,QAAQ;AAAA,IAAW,CAAC;AAAA,EAC9D,WAAW,EAAsB,SAAS,CAAW,GAAG;AACtD,UAAM,IAAc,EAAQ,EAAQ,SAAS,CAAA,EAAG;AAChD,IAAA,EAAO,KAAK;AAAA,MAAE,OAAO,EAAK;AAAA,MAAgB,QAAQ;AAAA,IAAY,CAAC;AAAA,EACjE;AAEA,MAAI,KAAU,EAAuB,SAAS,CAAW,GAAG;AAC1D,UAAM,IAAe,EAAO,EAAO,SAAS,CAAA,EAAG;AAC/C,IAAA,EAAO,KAAK;AAAA,MAAE,OAAO,EAAK;AAAA,MAAgB,QAAQ;AAAA,IAAa,CAAC;AAAA,EAClE;AAEA,SAAO;AACT,GAEM,IAAA,MAAoB;AACxB,QAAM,IAAQ,EAAS,GACjB,EAAE,iBAAA,EAAA,IAAoB,EAAkB,GACxC,EAAE,uBAAA,EAAA,IAA0B,EAAiB,GAC7C,EAAE,QAAQ,EAAA,IAAe,EAAmB,GAE5C,IAAS,CAAC,EAAM,QAAQ,OAAO,QAAQ,EAAM,QAAQ,OAAO,MAAM,GAClE,IAAW,EAAY,GAAuB,EAAgB,YAAY,GAC1E,IAAS,EAAU,GAAU,EAAgB,cAAc,CAAU,GACrE,IAAS,CAAC,EAAY,MAAM,EAAY,QAAQ,EAAE,SAAS,EAAgB,YAAY;AAE7F,SACE,gBAAA,EAAC,OAAD;AAAA,IAAK,eAAY;AAAA,cACf,gBAAA,EAAC,GAAD;AAAA,MACU,QAAA;AAAA,MACE,UAAA;AAAA,MACV,QAAQ;AAAA,MACA,QAAA;AAAA,MACR,aAAa;AAAA,MACb,mBAAmB;AAAA,MACnB,UAAU;AAAA,MACV,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,WAAW;AAAA,MACX,gBAAgB;AAAA,MAChB,WAAW;AAAA,MACX,gBAAgB;AAAA,MAChB,sBAAqB;AAAA,IACtB,CAAA;AAAA,EACE,CAAA;AAET,GAEA,IAAe,EAAS,CAAW"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { useEvent as w, useGlobalCopyStore as v } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { useScreenSize as x } from "../../common/hooks/useScreenSize.es.js";
|
|
3
|
+
import { ANALYTICS_EVENTS as E } from "../../common/constants/Analytics.es.js";
|
|
4
|
+
import { LineChart as H } from "../../common/components/charts/LineChart.es.js";
|
|
5
|
+
import { getIncomeTotals as I, getSpendingTotals as _ } from "../utils/SpendingData.es.js";
|
|
6
|
+
import { TRENDS_ANALYTICS_METADATA as k } from "../constants/TrendsWidget.es.js";
|
|
7
|
+
import m from "react";
|
|
8
|
+
import { observer as D } from "mobx-react-lite";
|
|
9
|
+
import { jsx as L } from "react/jsx-runtime";
|
|
10
|
+
import { useTheme as M } from "@mui/material/styles";
|
|
11
|
+
var N = (t, e) => [I(t, e), _(t, e)].filter((o) => o.length > 0), y = (t, e) => {
|
|
12
|
+
const [o, c] = t, s = o, l = c ?? o, r = [];
|
|
13
|
+
if (s) {
|
|
14
|
+
const a = s.reduce((n, i) => n + i.y, 0);
|
|
15
|
+
r.push({
|
|
16
|
+
label: e.income_label,
|
|
17
|
+
amount: a
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
if (l) {
|
|
21
|
+
const a = l.reduce((n, i) => n + i.y, 0);
|
|
22
|
+
r.push({
|
|
23
|
+
label: e.spending_label,
|
|
24
|
+
amount: a
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
return r;
|
|
28
|
+
}, Y = ({ availableHeight: t = 0, minHeight: e = 500, selectedDateRange: o, totals: c }) => {
|
|
29
|
+
const s = M(), { onEvent: l } = w(), { trends: r } = v(), { isSmallMobile: a, isMobile: n, isSmallTablet: i, isTablet: u } = x(), p = [s.palette.chart?.chart1, s.palette.chart?.chart2], h = N(c, o), T = y(h, r), [d, g] = m.useState(0), b = 458, f = 195, A = 56, C = n || a ? f : i || u ? b : d;
|
|
30
|
+
return m.useEffect(() => {
|
|
31
|
+
const S = Math.max(t - A, e);
|
|
32
|
+
g(S);
|
|
33
|
+
}, [t]), /* @__PURE__ */ L(H, {
|
|
34
|
+
baseline: "min",
|
|
35
|
+
colors: p,
|
|
36
|
+
curveType: "bump",
|
|
37
|
+
datasets: h,
|
|
38
|
+
height: C,
|
|
39
|
+
labels: T,
|
|
40
|
+
onItemClick: () => {
|
|
41
|
+
l(E.TRENDS_CLICK_CHART, k);
|
|
42
|
+
},
|
|
43
|
+
showArea: !0,
|
|
44
|
+
showAxisHighlight: !0,
|
|
45
|
+
showLegend: !0,
|
|
46
|
+
showTooltip: !0,
|
|
47
|
+
showXAxis: !0,
|
|
48
|
+
showXAxisTicks: !0,
|
|
49
|
+
showYAxis: !0,
|
|
50
|
+
showYAxisTicks: !0,
|
|
51
|
+
valueFormatterString: "0.0a"
|
|
52
|
+
});
|
|
53
|
+
}, O = D(Y);
|
|
54
|
+
export {
|
|
55
|
+
O as default
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
//# sourceMappingURL=TrendsChartTotals.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendsChartTotals.es.js","names":[],"sources":["../../../src/trends/components/TrendsChartTotals.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport { useTheme } from '@mui/material/styles'\n\nimport { ANALYTICS_EVENTS, useEvent, useGlobalCopyStore, useScreenSize } from '../../common'\nimport { DateRange, MonthlyCategoryTotals, TrendsCopy } from '../../core'\nimport { LineChart } from '../../common/components/charts/LineChart'\nimport type { LineChartDataset, LineChartLabel } from '../../common/components/charts/LineChart'\n\nimport { TRENDS_ANALYTICS_METADATA } from '../constants/TrendsWidget'\nimport { getIncomeTotals, getSpendingTotals } from '../utils/SpendingData'\n\nconst getDatasets = (totals: MonthlyCategoryTotals[], dateRange: DateRange): LineChartDataset[] => {\n const incomeData = getIncomeTotals(totals, dateRange)\n const spendingData = getSpendingTotals(totals, dateRange)\n return [incomeData, spendingData].filter((data) => data.length > 0)\n}\n\nconst getLabels = (datasets: LineChartDataset[], copy: TrendsCopy) => {\n const [dataA, dataB] = datasets\n const credits = dataA\n const debits = dataB ?? dataA\n const labels: LineChartLabel[] = []\n\n if (credits) {\n const totalIncome = credits.reduce((sum, item) => sum + item.y, 0)\n labels.push({ label: copy.income_label, amount: totalIncome })\n }\n\n if (debits) {\n const totalSpending = debits.reduce((sum, item) => sum + item.y, 0)\n labels.push({ label: copy.spending_label, amount: totalSpending })\n }\n\n return labels\n}\n\ninterface TrendsChartTotalsProps {\n availableHeight?: number\n minHeight?: number\n selectedDateRange: DateRange\n totals: MonthlyCategoryTotals[]\n}\n\nconst TrendsChartTotals: React.FC<TrendsChartTotalsProps> = ({\n availableHeight = 0,\n minHeight = 500,\n selectedDateRange,\n totals,\n}) => {\n const theme = useTheme()\n const { onEvent } = useEvent()\n const { trends: trendsCopy } = useGlobalCopyStore()\n const { isSmallMobile, isMobile, isSmallTablet, isTablet } = useScreenSize()\n\n const colors = [theme.palette.chart?.chart1, theme.palette.chart?.chart2]\n const datasets = getDatasets(totals, selectedDateRange)\n const labels = getLabels(datasets, trendsCopy)\n\n const [chartDesktopHeight, setChartDesktopHeight] = React.useState<number>(0)\n const chartTabletHeight = 458\n const chartMobileHeight = 195\n const legendHeight = 56\n\n // prettier-ignore\n // eslint-disable-next-line no-nested-ternary\n const chartHeight = (isMobile || isSmallMobile) ? chartMobileHeight :\n (isSmallTablet || isTablet) ? chartTabletHeight : chartDesktopHeight;\n\n // Control responsive chart height based on available height\n React.useEffect(() => {\n const newChartHeight = Math.max(availableHeight - legendHeight, minHeight)\n setChartDesktopHeight(newChartHeight)\n }, [availableHeight])\n\n const handleItemClick = () => {\n onEvent(ANALYTICS_EVENTS.TRENDS_CLICK_CHART, TRENDS_ANALYTICS_METADATA)\n }\n\n return (\n <LineChart\n baseline=\"min\"\n colors={colors}\n curveType=\"bump\"\n datasets={datasets}\n height={chartHeight}\n labels={labels}\n onItemClick={handleItemClick}\n showArea={true}\n showAxisHighlight={true}\n showLegend={true}\n showTooltip={true}\n showXAxis={true}\n showXAxisTicks={true}\n showYAxis={true}\n showYAxisTicks={true}\n valueFormatterString=\"0.0a\"\n />\n )\n}\n\nexport default observer(TrendsChartTotals)\n"],"mappings":";;;;;;;;;;AAaA,IAAM,IAAA,CAAe,GAAiC,MAG7C,CAFY,EAAgB,GAAQ,CAEnC,GADa,EAAkB,GAAQ,CAC3B,CAAY,EAAE,OAAA,CAAQ,MAAS,EAAK,SAAS,CAAC,GAG9D,IAAA,CAAa,GAA8B,MAAqB;AACpE,QAAM,CAAC,GAAO,CAAA,IAAS,GACjB,IAAU,GACV,IAAS,KAAS,GAClB,IAA2B,CAAC;AAElC,MAAI,GAAS;AACX,UAAM,IAAc,EAAQ,OAAA,CAAQ,GAAK,MAAS,IAAM,EAAK,GAAG,CAAC;AACjE,IAAA,EAAO,KAAK;AAAA,MAAE,OAAO,EAAK;AAAA,MAAc,QAAQ;AAAA,IAAY,CAAC;AAAA,EAC/D;AAEA,MAAI,GAAQ;AACV,UAAM,IAAgB,EAAO,OAAA,CAAQ,GAAK,MAAS,IAAM,EAAK,GAAG,CAAC;AAClE,IAAA,EAAO,KAAK;AAAA,MAAE,OAAO,EAAK;AAAA,MAAgB,QAAQ;AAAA,IAAc,CAAC;AAAA,EACnE;AAEA,SAAO;AACT,GASM,IAAA,CAAuD,EAC3D,iBAAA,IAAkB,GAClB,WAAA,IAAY,KACZ,mBAAA,GACA,QAAA,EAAA,MACI;AACJ,QAAM,IAAQ,EAAS,GACjB,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EAAE,QAAQ,EAAA,IAAe,EAAmB,GAC5C,EAAE,eAAA,GAAe,UAAA,GAAU,eAAA,GAAe,UAAA,EAAA,IAAa,EAAc,GAErE,IAAS,CAAC,EAAM,QAAQ,OAAO,QAAQ,EAAM,QAAQ,OAAO,MAAM,GAClE,IAAW,EAAY,GAAQ,CAAiB,GAChD,IAAS,EAAU,GAAU,CAAU,GAEvC,CAAC,GAAoB,CAAA,IAAyB,EAAM,SAAiB,CAAC,GACtE,IAAoB,KACpB,IAAoB,KACpB,IAAe,IAIf,IAAe,KAAY,IAAiB,IACjD,KAAiB,IAAY,IAAoB;AAGlD,SAAA,EAAM,UAAA,MAAgB;AACpB,UAAM,IAAiB,KAAK,IAAI,IAAkB,GAAc,CAAS;AACzE,IAAA,EAAsB,CAAc;AAAA,EACtC,GAAG,CAAC,CAAe,CAAC,GAOlB,gBAAA,EAAC,GAAD;AAAA,IACE,UAAS;AAAA,IACD,QAAA;AAAA,IACR,WAAU;AAAA,IACA,UAAA;AAAA,IACV,QAAQ;AAAA,IACA,QAAA;AAAA,IACR,aAZE,MAAwB;AAC5B,MAAA,EAAQ,EAAiB,oBAAoB,CAAyB;AAAA,IACxE;AAAA,IAWI,UAAU;AAAA,IACV,mBAAmB;AAAA,IACnB,YAAY;AAAA,IACZ,aAAa;AAAA,IACb,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,WAAW;AAAA,IACX,gBAAgB;AAAA,IAChB,sBAAqB;AAAA,EACtB,CAAA;AAEL,GAEA,IAAe,EAAS,CAAiB"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useEvent as _, useGlobalCopyStore as S, useGlobalUiStore as C, useTransactionStore as E } from "../../common/context/hooks.es.js";
|
|
2
|
+
import v from "../../common/components/drawer/Drawer.es.js";
|
|
3
|
+
import { ANALYTICS_EVENTS as A } from "../../common/constants/Analytics.es.js";
|
|
4
|
+
import D from "../../transactions/components/shared/TransactionList.es.js";
|
|
5
|
+
import N from "../../transactions/components/shared/TransactionDetails.es.js";
|
|
6
|
+
import e from "react";
|
|
7
|
+
import { observer as b } from "mobx-react-lite";
|
|
8
|
+
import { jsx as l, jsxs as w } from "react/jsx-runtime";
|
|
9
|
+
var L = { title: "Transaction List" }, h = ({ categoryGuid: o, dateRange: r, isOpen: m, onClose: u }) => {
|
|
10
|
+
const { onEvent: f } = _(), { selectedAccountGuids: n } = C(), { common: p } = S(), { setFilter: d, sortedTransactions: a } = E(), [i, c] = e.useState(""), s = e.useMemo(() => a.find((t) => t.guid === i), [i, a]);
|
|
11
|
+
e.useEffect(() => {
|
|
12
|
+
d({
|
|
13
|
+
accounts: n,
|
|
14
|
+
dateRange: r,
|
|
15
|
+
custom: (t) => o === "" || o === t.category_guid || o === t.top_level_category_guid,
|
|
16
|
+
showSplits: !!o
|
|
17
|
+
});
|
|
18
|
+
}, [
|
|
19
|
+
n,
|
|
20
|
+
o,
|
|
21
|
+
r
|
|
22
|
+
]), e.useEffect(() => f(A.TRENDS_VIEW_TRANSACTIONS), []);
|
|
23
|
+
const T = () => {
|
|
24
|
+
c(""), u();
|
|
25
|
+
};
|
|
26
|
+
return /* @__PURE__ */ w(v, {
|
|
27
|
+
ariaLabelClose: p.close_aria,
|
|
28
|
+
isOpen: m,
|
|
29
|
+
onClose: T,
|
|
30
|
+
title: L.title,
|
|
31
|
+
children: [s && /* @__PURE__ */ l(N, { transaction: s }), !s && /* @__PURE__ */ l(D, { onClick: c })]
|
|
32
|
+
});
|
|
33
|
+
}, B = b(h);
|
|
34
|
+
export {
|
|
35
|
+
B as default
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=TrendsDrawer.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendsDrawer.es.js","names":[],"sources":["../../../src/trends/components/TrendsDrawer.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\n\nimport {\n ANALYTICS_EVENTS,\n Drawer,\n useGlobalCopyStore,\n useEvent,\n useTransactionStore,\n useGlobalUiStore,\n} from '../../common'\nimport { Transaction } from '../../core'\nimport { TransactionDetails, TransactionList } from '../../transactions'\n\nconst copy = {\n title: 'Transaction List',\n}\n\ninterface TrendsDrawerProps {\n categoryGuid: string\n dateRange: {\n start: Date\n end: Date\n }\n isOpen: boolean\n onClose: () => void\n}\n\nconst TrendsDrawer: React.FC<TrendsDrawerProps> = ({\n categoryGuid,\n dateRange,\n isOpen,\n onClose,\n}) => {\n const { onEvent } = useEvent()\n const { selectedAccountGuids: accounts } = useGlobalUiStore()\n const { common: commonCopy } = useGlobalCopyStore()\n const { setFilter, sortedTransactions } = useTransactionStore()\n\n const [guid, setGuid] = React.useState('')\n const transaction = React.useMemo(\n () => sortedTransactions.find((t) => t.guid === guid),\n [guid, sortedTransactions],\n )\n\n React.useEffect(() => {\n setFilter({\n accounts,\n dateRange,\n custom: (t: Transaction) =>\n categoryGuid === '' ||\n categoryGuid === t.category_guid ||\n categoryGuid === t.top_level_category_guid,\n showSplits: Boolean(categoryGuid),\n })\n }, [accounts, categoryGuid, dateRange])\n\n React.useEffect(() => onEvent(ANALYTICS_EVENTS.TRENDS_VIEW_TRANSACTIONS), [])\n\n const handleClose = () => {\n setGuid('')\n onClose()\n }\n\n return (\n <Drawer\n ariaLabelClose={commonCopy.close_aria}\n isOpen={isOpen}\n onClose={handleClose}\n title={copy.title}\n >\n {transaction && <TransactionDetails transaction={transaction} />}\n {!transaction && <TransactionList onClick={setGuid} />}\n </Drawer>\n )\n}\n\nexport default observer(TrendsDrawer)\n"],"mappings":";;;;;;;;AAcA,IAAM,IAAO,EACX,OAAO,mBACT,GAYM,IAAA,CAA6C,EACjD,cAAA,GACA,WAAA,GACA,QAAA,GACA,SAAA,EAAA,MACI;AACJ,QAAM,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EAAE,sBAAsB,EAAA,IAAa,EAAiB,GACtD,EAAE,QAAQ,EAAA,IAAe,EAAmB,GAC5C,EAAE,WAAA,GAAW,oBAAA,EAAA,IAAuB,EAAoB,GAExD,CAAC,GAAM,CAAA,IAAW,EAAM,SAAS,EAAE,GACnC,IAAc,EAAM,QAAA,MAClB,EAAmB,KAAA,CAAM,MAAM,EAAE,SAAS,CAAI,GACpD,CAAC,GAAM,CAAkB,CAC3B;AAEA,EAAA,EAAM,UAAA,MAAgB;AACpB,IAAA,EAAU;AAAA,MACR,UAAA;AAAA,MACA,WAAA;AAAA,MACA,QAAA,CAAS,MACP,MAAiB,MACjB,MAAiB,EAAE,iBACnB,MAAiB,EAAE;AAAA,MACrB,YAAY,EAAQ;AAAA,IACtB,CAAC;AAAA,EACH,GAAG;AAAA,IAAC;AAAA,IAAU;AAAA,IAAc;AAAA,EAAS,CAAC,GAEtC,EAAM,UAAA,MAAgB,EAAQ,EAAiB,wBAAwB,GAAG,CAAC,CAAC;AAE5E,QAAM,IAAA,MAAoB;AACxB,IAAA,EAAQ,EAAE,GACV,EAAQ;AAAA,EACV;AAEA,SACE,gBAAA,EAAC,GAAD;AAAA,IACE,gBAAgB,EAAW;AAAA,IACnB,QAAA;AAAA,IACR,SAAS;AAAA,IACT,OAAO,EAAK;AAAA,cAJd,CAMG,KAAe,gBAAA,EAAC,GAAD,EAAiC,aAAA,EAAc,CAAA,GAC9D,CAAC,KAAe,gBAAA,EAAC,GAAD,EAAiB,SAAS,EAAU,CAAA,CAC/C;AAAA;AAEZ,GAEA,IAAe,EAAS,CAAY"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { useEvent as S, useGlobalStore as C } from "../../common/context/hooks.es.js";
|
|
2
|
+
import { useScreenSize as T } from "../../common/hooks/useScreenSize.es.js";
|
|
3
|
+
import { ANALYTICS_EVENTS as I } from "../../common/constants/Analytics.es.js";
|
|
4
|
+
import { TRENDS_ANALYTICS_METADATA as L } from "../constants/TrendsWidget.es.js";
|
|
5
|
+
import k from "../../microinsights/InsightsMicroWidget.es.js";
|
|
6
|
+
import "react";
|
|
7
|
+
import { observer as v } from "mobx-react-lite";
|
|
8
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
9
|
+
import { Stack as A } from "@mui/material";
|
|
10
|
+
var E = ({ beats: o, onInsightCardClick: t }) => {
|
|
11
|
+
const { onEvent: s } = S(), { isMobile: i, isDesktop: n, isLargeDesktop: a } = T(), { beatStore: l, endpoint: d, sessionToken: c } = C(), e = n || a, u = e || i ? 1 : 2, h = () => null, m = (p) => {
|
|
12
|
+
t?.(p), s(I.TRENDS_CLICK_INSIGHT, L);
|
|
13
|
+
}, g = e ? 200 : 170, f = e ? 170 : 124;
|
|
14
|
+
return /* @__PURE__ */ r(A, {
|
|
15
|
+
sx: { height: o.length > 0 ? g : f },
|
|
16
|
+
children: /* @__PURE__ */ r(k, {
|
|
17
|
+
areBeatsLoading: l.isLoading,
|
|
18
|
+
beats: o,
|
|
19
|
+
cardStyle: "border",
|
|
20
|
+
endpoint: d,
|
|
21
|
+
headerSx: { p: 0 },
|
|
22
|
+
logOutUser: h,
|
|
23
|
+
onCardClick: m,
|
|
24
|
+
showCarouselControls: !0,
|
|
25
|
+
showHeader: e,
|
|
26
|
+
showIcon: !0,
|
|
27
|
+
showWithMargin: !1,
|
|
28
|
+
token: c,
|
|
29
|
+
userHasFullInsightFeedBeats: !1,
|
|
30
|
+
visibleCardsCount: u
|
|
31
|
+
})
|
|
32
|
+
});
|
|
33
|
+
}, z = v(E);
|
|
34
|
+
export {
|
|
35
|
+
z as default
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
//# sourceMappingURL=TrendsInsights.es.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TrendsInsights.es.js","names":[],"sources":["../../../src/trends/components/TrendsInsights.tsx"],"sourcesContent":["import React from 'react'\nimport { observer } from 'mobx-react-lite'\nimport { Stack } from '@mui/material'\n\nimport { Beat } from '../../core/types/Beat'\nimport { ANALYTICS_EVENTS, useEvent, useGlobalStore, useScreenSize } from '../../common'\n\nimport { InsightsMicroWidget } from '../../microinsights'\nimport { TRENDS_ANALYTICS_METADATA } from '../constants/TrendsWidget'\n\ninterface TrendsMicroInsightsProps {\n beats: Beat[]\n onInsightCardClick?: (beat?: Beat) => void\n}\n\nconst TrendsMicroInsights: React.FC<TrendsMicroInsightsProps> = ({ beats, onInsightCardClick }) => {\n const { onEvent } = useEvent()\n const { isMobile, isDesktop, isLargeDesktop } = useScreenSize()\n const { beatStore, endpoint, sessionToken } = useGlobalStore()\n\n const isLargeLayout = isDesktop || isLargeDesktop\n const visibleCards = isLargeLayout || isMobile ? 1 : 2\n\n const handleLogOutUser = () => {\n return null\n }\n\n const handleCardClick = (beat?: Beat) => {\n onInsightCardClick?.(beat)\n onEvent(ANALYTICS_EVENTS.TRENDS_CLICK_INSIGHT, TRENDS_ANALYTICS_METADATA)\n }\n\n const carouselHeight = isLargeLayout ? 200 : 170\n const zeroStateHeight = isLargeLayout ? 170 : 124\n const containerHeight = beats.length > 0 ? carouselHeight : zeroStateHeight\n\n return (\n <Stack sx={{ height: containerHeight }}>\n <InsightsMicroWidget\n areBeatsLoading={beatStore.isLoading}\n beats={beats}\n cardStyle=\"border\"\n endpoint={endpoint}\n headerSx={{ p: 0 }}\n logOutUser={handleLogOutUser}\n onCardClick={handleCardClick}\n showCarouselControls={true}\n showHeader={isLargeLayout}\n showIcon={true}\n showWithMargin={false}\n token={sessionToken}\n userHasFullInsightFeedBeats={false}\n visibleCardsCount={visibleCards}\n />\n </Stack>\n )\n}\n\nexport default observer(TrendsMicroInsights)\n"],"mappings":";;;;;;;;;AAeA,IAAM,IAAA,CAA2D,EAAE,OAAA,GAAO,oBAAA,EAAA,MAAyB;AACjG,QAAM,EAAE,SAAA,EAAA,IAAY,EAAS,GACvB,EAAE,UAAA,GAAU,WAAA,GAAW,gBAAA,EAAA,IAAmB,EAAc,GACxD,EAAE,WAAA,GAAW,UAAA,GAAU,cAAA,EAAA,IAAiB,EAAe,GAEvD,IAAgB,KAAa,GAC7B,IAAe,KAAiB,IAAW,IAAI,GAE/C,IAAA,MACG,MAGH,IAAA,CAAmB,MAAgB;AACvC,IAAA,IAAqB,CAAI,GACzB,EAAQ,EAAiB,sBAAsB,CAAyB;AAAA,EAC1E,GAEM,IAAiB,IAAgB,MAAM,KACvC,IAAkB,IAAgB,MAAM;AAG9C,SACE,gBAAA,EAAC,GAAD;AAAA,IAAO,IAAI,EAAE,QAHS,EAAM,SAAS,IAAI,IAAiB,EAGrB;AAAA,cACnC,gBAAA,EAAC,GAAD;AAAA,MACE,iBAAiB,EAAU;AAAA,MACpB,OAAA;AAAA,MACP,WAAU;AAAA,MACA,UAAA;AAAA,MACV,UAAU,EAAE,GAAG,EAAE;AAAA,MACjB,YAAY;AAAA,MACZ,aAAa;AAAA,MACb,sBAAsB;AAAA,MACtB,YAAY;AAAA,MACZ,UAAU;AAAA,MACV,gBAAgB;AAAA,MAChB,OAAO;AAAA,MACP,6BAA6B;AAAA,MAC7B,mBAAmB;AAAA,IACpB,CAAA;AAAA,EACI,CAAA;AAEX,GAEA,IAAe,EAAS,CAAmB"}
|