@mx-cartographer/experiences 4.0.13 → 4.0.14-alpha.JB1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/debts/components/SnowballCard.d.ts +3 -1
- package/dist/debts/components/SnowballDrawer.d.ts +9 -0
- package/dist/index.es.js +3905 -3522
- package/dist/index.es.js.map +1 -1
- package/package.json +23 -3
- package/src/accounts/AccountsMiniWidget.tsx +62 -0
- package/src/accounts/AccountsWidget.tsx +93 -0
- package/src/accounts/ConnectMiniWidget.tsx +36 -0
- package/src/accounts/__tests__/Accounts.test.tsx +561 -0
- package/src/accounts/api/AccountApi.ts +74 -0
- package/src/accounts/api/__mocks__/AccountApi.ts +46 -0
- package/src/accounts/components/AccountListItem.tsx +102 -0
- package/src/accounts/components/AccountsList.tsx +133 -0
- package/src/accounts/components/ConnectImage.tsx +314 -0
- package/src/accounts/components/ConnectMiniWidgetCard.tsx +41 -0
- package/src/accounts/components/ConnectStatus.tsx +44 -0
- package/src/accounts/components/ConnectionStatusIcons.tsx +26 -0
- package/src/accounts/components/ConnectionsDrawer.tsx +84 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountActions.tsx +177 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountActionsRow.tsx +33 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountConnection.tsx +139 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetailEdit.tsx +162 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetails.tsx +98 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.tsx +63 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetailsContent.tsx +52 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.tsx +71 -0
- package/src/accounts/components/detailsdrawer/Accounts/AccountDetailsTab.tsx +25 -0
- package/src/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage.tsx +99 -0
- package/src/accounts/components/detailsdrawer/Transactions/TransactionsTab.tsx +51 -0
- package/src/accounts/constants/Accounts.ts +11 -0
- package/src/accounts/hooks/useGetMergeableAccounts.tsx +13 -0
- package/src/accounts/hooks/useUiStore.ts +12 -0
- package/src/accounts/index.ts +8 -0
- package/src/accounts/stores/AccountStore.ts +220 -0
- package/src/accounts/stores/UiStore.ts +18 -0
- package/src/accounts/stores/__tests__/AccountStore.test.ts +204 -0
- package/src/accounts/utils/AccountFields.tsx +248 -0
- package/src/accounts/utils/Accounts.ts +28 -0
- package/src/accounts/utils/__tests__/AccountFieldsUtils.test.tsx +215 -0
- package/src/accounts/utils/__tests__/AccountsUtils.test.tsx +104 -0
- package/src/accounts/utils/getConnectionMessages.tsx +198 -0
- package/src/accounts/utils/index.ts +1 -0
- package/src/budgets/BubbleBudgetsMiniWidget.tsx +57 -0
- package/src/budgets/BubbleBudgetsWidget.tsx +154 -0
- package/src/budgets/__tests__/BubbleBudgetsWidget.test.tsx +40 -0
- package/src/budgets/__tests__/BudgetList.test.tsx +38 -0
- package/src/budgets/__tests__/BudgetsStore.test.tsx +48 -0
- package/src/budgets/__tests__/Overview.test.tsx +38 -0
- package/src/budgets/api/BudgetsApi.ts +43 -0
- package/src/budgets/api/__mocks__/BudgetsApi.ts +7 -0
- package/src/budgets/components/AddBudgets.tsx +50 -0
- package/src/budgets/components/BubbleBudgets.tsx +73 -0
- package/src/budgets/components/BubbleChart.tsx +50 -0
- package/src/budgets/components/BudgetDetailsDrawer.tsx +134 -0
- package/src/budgets/components/BudgetList.tsx +50 -0
- package/src/budgets/components/Overview.tsx +156 -0
- package/src/budgets/components/ZeroState.tsx +23 -0
- package/src/budgets/components/addbudget/Header.tsx +59 -0
- package/src/budgets/components/addbudget/RecalculateBudgetRow.tsx +53 -0
- package/src/budgets/components/addbudget/RecalculateBudgets.tsx +69 -0
- package/src/budgets/components/addbudget/UnbudgetedRow.tsx +57 -0
- package/src/budgets/components/bubblechart/Bubble.tsx +148 -0
- package/src/budgets/components/bubblechart/Mercury.tsx +57 -0
- package/src/budgets/components/budgetdetails/AddSubBudget.tsx +111 -0
- package/src/budgets/components/budgetdetails/BudgetDetails.tsx +93 -0
- package/src/budgets/components/budgetdetails/Header.tsx +48 -0
- package/src/budgets/components/budgetdetails/SubBudgetList.tsx +148 -0
- package/src/budgets/components/budgetlist/BudgetRow.tsx +63 -0
- package/src/budgets/components/budgetlist/SubBudgetRow.tsx +64 -0
- package/src/budgets/components/budgetlist/SubBudgetZeroState.tsx +22 -0
- package/src/budgets/components/shared/BudgetAmount.tsx +54 -0
- package/src/budgets/index.ts +2 -0
- package/src/budgets/store/BudgetsStore.ts +183 -0
- package/src/budgets/utils/BubblesSVG.ts +142 -0
- package/src/budgets/utils/BudgetUtil.ts +140 -0
- package/src/cashflow/CashflowMiniWidget.tsx +25 -0
- package/src/cashflow/CashflowOnboarding.tsx +298 -0
- package/src/cashflow/CashflowWidget.tsx +111 -0
- package/src/cashflow/api/CashflowApi.ts +62 -0
- package/src/cashflow/api/__mocks__/CashflowApi.ts +15 -0
- package/src/cashflow/components/CashflowAmountHeading.tsx +46 -0
- package/src/cashflow/components/CashflowContent.tsx +63 -0
- package/src/cashflow/components/CashflowHeading.tsx +172 -0
- package/src/cashflow/components/CashflowWidgetContent.tsx +225 -0
- package/src/cashflow/components/DetailsExpenseHeader.tsx +47 -0
- package/src/cashflow/components/DetailsExpenseRow.tsx +46 -0
- package/src/cashflow/components/DetailsFooter.tsx +28 -0
- package/src/cashflow/components/DetailsTab.tsx +128 -0
- package/src/cashflow/components/RemainingCash.tsx +44 -0
- package/src/cashflow/components/SummaryTab.tsx +247 -0
- package/src/cashflow/components/onboarding/StepOne.tsx +90 -0
- package/src/cashflow/components/onboarding/StepTwo.tsx +23 -0
- package/src/cashflow/context/hooks.tsx +12 -0
- package/src/cashflow/images/cashflow-onboarding.png +0 -0
- package/src/cashflow/images/loading-animation.gif +0 -0
- package/src/cashflow/index.ts +5 -0
- package/src/cashflow/stores/CashflowStore.ts +26 -0
- package/src/cashflow/stores/UiStore.ts +48 -0
- package/src/cashflow/stores/__tests__/CashflowStore.test.ts +16 -0
- package/src/cashflow/util/Filters.ts +15 -0
- package/src/categories/components/CategoryList.tsx +64 -0
- package/src/categories/components/CategoryRow.tsx +68 -0
- package/src/categories/components/CategorySelector.tsx +80 -0
- package/src/categories/components/CategorySelectorDrawer.tsx +41 -0
- package/src/categories/components/CustomCategories/AddSubcategory.tsx +65 -0
- package/src/categories/components/CustomCategories/CustomCategoryModal.tsx +99 -0
- package/src/categories/components/CustomCategories/DeleteSubcategory.tsx +49 -0
- package/src/categories/components/CustomCategories/RenameSubcategory.tsx +48 -0
- package/src/categories/components/CustomCategories/index.ts +4 -0
- package/src/categories/components/SubcategoryList.tsx +47 -0
- package/src/categories/components/SubcategoryRow.tsx +123 -0
- package/src/categories/constants/Analytics.ts +89 -0
- package/src/categories/constants/OnClickEvents.ts +13 -0
- package/src/categories/context/hooks.ts +12 -0
- package/src/categories/index.ts +5 -0
- package/src/categories/stores/CategoryStore.ts +184 -0
- package/src/categories/stores/UiStore.ts +36 -0
- package/src/categories/stores/__tests__/CategoryStore.test.ts +54 -0
- package/src/categories/util/CategoryUtil.ts +136 -0
- package/src/common/api/AnalyticsApi.ts +49 -0
- package/src/common/api/BeatApi.ts +32 -0
- package/src/common/api/CategoryApi.ts +52 -0
- package/src/common/api/GlobalCopyApi.ts +17 -0
- package/src/common/api/LocalizedCopyApi.ts +21 -0
- package/src/common/api/NotificationApi.ts +40 -0
- package/src/common/api/ScheduledPaymentsApi.ts +37 -0
- package/src/common/api/UserApi.ts +23 -0
- package/src/common/api/WidgetApi.ts +15 -0
- package/src/common/api/__mocks__/BeatApi.ts +8 -0
- package/src/common/api/__mocks__/CategoryApi.ts +15 -0
- package/src/common/api/__mocks__/GlobalCopyApi.ts +7 -0
- package/src/common/api/__mocks__/NotificationApi.ts +11 -0
- package/src/common/api/__mocks__/ScheduledPaymentsApi.ts +7 -0
- package/src/common/api/__mocks__/UserApi.ts +9 -0
- package/src/common/api/__mocks__/WidgetApi.ts +11 -0
- package/src/common/api/index.ts +9 -0
- package/src/common/components/ConnectDrawer.tsx +87 -0
- package/src/common/components/CurrencyInput.tsx +147 -0
- package/src/common/components/CurrencyText.tsx +44 -0
- package/src/common/components/DataRow.tsx +52 -0
- package/src/common/components/IconBacking.tsx +41 -0
- package/src/common/components/InformationTooltip.tsx +52 -0
- package/src/common/components/ListItemWrapper.tsx +49 -0
- package/src/common/components/Loader.tsx +24 -0
- package/src/common/components/MiniWidgetContainer.tsx +64 -0
- package/src/common/components/ResponsiveButton.tsx +65 -0
- package/src/common/components/SearchBox.tsx +64 -0
- package/src/common/components/SelectionBox.tsx +64 -0
- package/src/common/components/SubheaderRow.tsx +22 -0
- package/src/common/components/TabContentContainer.tsx +28 -0
- package/src/common/components/WidgetContainer.tsx +239 -0
- package/src/common/components/accountfilter/AccountFilter.tsx +133 -0
- package/src/common/components/accountfilter/AccountFilterOptions.tsx +263 -0
- package/src/common/components/accountfilter/index.ts +1 -0
- package/src/common/components/barchart/Bar.tsx +123 -0
- package/src/common/components/barchart/BarChart.tsx +136 -0
- package/src/common/components/barchart/BarColumn.tsx +150 -0
- package/src/common/components/barchart/Legend.tsx +60 -0
- package/src/common/components/barchart/Util.ts +54 -0
- package/src/common/components/barchart/__tests__/BarChart.test.tsx +46 -0
- package/src/common/components/barchart/index.ts +1 -0
- package/src/common/components/calendar/Calendar.tsx +223 -0
- package/src/common/components/calendar/Day.tsx +127 -0
- package/src/common/components/calendar/Header.tsx +58 -0
- package/src/common/components/calendar/__tests__/Calendar.test.tsx +50 -0
- package/src/common/components/calendar/index.ts +1 -0
- package/src/common/components/calendar/upcomingActivity/CalendarIcons.tsx +40 -0
- package/src/common/components/charts/Donut.tsx +82 -0
- package/src/common/components/charts/LineChart.tsx +204 -0
- package/src/common/components/charts/StackedLineChart.tsx +292 -0
- package/src/common/components/charts/StatusBar.tsx +41 -0
- package/src/common/components/charts/index.ts +4 -0
- package/src/common/components/charts/linechart/CustomLegend.tsx +49 -0
- package/src/common/components/charts/linechart/CustomLine.tsx +31 -0
- package/src/common/components/charts/linechart/CustomMark.tsx +68 -0
- package/src/common/components/charts/stackedlinechart/CategoryIconLabel.tsx +29 -0
- package/src/common/components/charts/stackedlinechart/CustomAreaTooltip.tsx +115 -0
- package/src/common/components/charts/stackedlinechart/CustomLegend.tsx +73 -0
- package/src/common/components/charts/stackedlinechart/CustomPointTooltip.tsx +41 -0
- package/src/common/components/charts/stackedlinechart/utils.ts +13 -0
- package/src/common/components/daterangeselector/DateRangeSelector.tsx +383 -0
- package/src/common/components/daterangeselector/index.ts +1 -0
- package/src/common/components/dialog/Dialog.tsx +92 -0
- package/src/common/components/dialog/index.ts +1 -0
- package/src/common/components/donuts/MultiSegmentDonut.tsx +89 -0
- package/src/common/components/donuts/SingleSegmentDonut.tsx +75 -0
- package/src/common/components/donuts/index.ts +2 -0
- package/src/common/components/drawer/Drawer.tsx +97 -0
- package/src/common/components/drawer/Header.tsx +64 -0
- package/src/common/components/drawer/index.ts +1 -0
- package/src/common/components/index.ts +22 -0
- package/src/common/constants/Account.ts +30 -0
- package/src/common/constants/Analytics.ts +70 -0
- package/src/common/constants/ApiEndpoints.ts +30 -0
- package/src/common/constants/Category.ts +302 -0
- package/src/common/constants/Connect.ts +2 -0
- package/src/common/constants/DateFormats.ts +122 -0
- package/src/common/constants/Donut.ts +2 -0
- package/src/common/constants/Numbers.ts +6 -0
- package/src/common/constants/ScheduledPayment.ts +21 -0
- package/src/common/constants/Sizes.ts +7 -0
- package/src/common/constants/SpendingPlan.ts +17 -0
- package/src/common/constants/Table.ts +13 -0
- package/src/common/constants/index.ts +21 -0
- package/src/common/context/GlobalDataProvider.tsx +31 -0
- package/src/common/context/WidgetContainerProvider.tsx +24 -0
- package/src/common/context/__mocks__/GlobalDataProvider.tsx +25 -0
- package/src/common/context/hooks.tsx +57 -0
- package/src/common/context/index.ts +22 -0
- package/src/common/hooks/__tests__/useDimensions.test.tsx +190 -0
- package/src/common/hooks/index.ts +3 -0
- package/src/common/hooks/useCombineEvents.tsx +53 -0
- package/src/common/hooks/useDimensions.tsx +78 -0
- package/src/common/hooks/usePrevious.tsx +10 -0
- package/src/common/hooks/useScreenSize.tsx +15 -0
- package/src/common/index.ts +23 -0
- package/src/common/stores/ConnectStore.ts +26 -0
- package/src/common/stores/GlobalCopyStore.ts +36 -0
- package/src/common/stores/GlobalStore.ts +83 -0
- package/src/common/stores/GlobalUiStore.ts +66 -0
- package/src/common/stores/UserStore.ts +45 -0
- package/src/common/stores/__tests__/GlobalCopyStore.test.ts +23 -0
- package/src/common/stores/__tests__/GlobalStore.test.ts +24 -0
- package/src/common/stores/index.ts +3 -0
- package/src/common/types/Account.ts +406 -0
- package/src/common/types/Activity.ts +31 -0
- package/src/common/types/Analytics.ts +70 -0
- package/src/common/types/Beat.ts +71 -0
- package/src/common/types/Budget.ts +29 -0
- package/src/common/types/Cashflow.ts +110 -0
- package/src/common/types/Category.ts +68 -0
- package/src/common/types/Date.ts +2 -0
- package/src/common/types/Debt.ts +19 -0
- package/src/common/types/Expense.ts +20 -0
- package/src/common/types/Global.ts +13 -0
- package/src/common/types/GlobalCopy.ts +37 -0
- package/src/common/types/Goal.ts +59 -0
- package/src/common/types/Institution.ts +11 -0
- package/src/common/types/LocalizedContent.ts +9 -0
- package/src/common/types/Merchant.ts +6 -0
- package/src/common/types/Notification.ts +15 -0
- package/src/common/types/ScheduledPayment.ts +15 -0
- package/src/common/types/ScreenSize.tsx +4 -0
- package/src/common/types/SpendingPlan.ts +48 -0
- package/src/common/types/Transaction.ts +91 -0
- package/src/common/types/User.ts +20 -0
- package/src/common/types/Widgets.ts +11 -0
- package/src/common/types/index.ts +93 -0
- package/src/common/types/localization/AccountFilterCopy.ts +12 -0
- package/src/common/types/localization/AccountTypeCopy.ts +16 -0
- package/src/common/types/localization/AccountsCopy.ts +113 -0
- package/src/common/types/localization/BudgetsCopy.ts +52 -0
- package/src/common/types/localization/CashflowCopy.ts +77 -0
- package/src/common/types/localization/CategoryCopy.ts +18 -0
- package/src/common/types/localization/CommonCopy.ts +30 -0
- package/src/common/types/localization/ConnectCopy.ts +74 -0
- package/src/common/types/localization/CurrencyInputCopy.ts +6 -0
- package/src/common/types/localization/DateRangePickerCopy.ts +23 -0
- package/src/common/types/localization/GoalsCopy.ts +37 -0
- package/src/common/types/localization/InsightsFeedCopy.ts +26 -0
- package/src/common/types/localization/MicroInsightsCopy.ts +28 -0
- package/src/common/types/localization/NetWorthCopy.ts +14 -0
- package/src/common/types/localization/NotificationsCopy.ts +7 -0
- package/src/common/types/localization/RecurringCopy.ts +76 -0
- package/src/common/types/localization/SpendingCopy.ts +16 -0
- package/src/common/types/localization/TransactionsCopy.ts +81 -0
- package/src/common/types/localization/TrendsCopy.ts +10 -0
- package/src/common/types/localization/index.ts +19 -0
- package/src/common/utils/AccountFilter.ts +45 -0
- package/src/common/utils/Analytics.ts +51 -0
- package/src/common/utils/Categories.ts +75 -0
- package/src/common/utils/DateUtil.ts +67 -0
- package/src/common/utils/Fetch.ts +115 -0
- package/src/common/utils/Localization.ts +67 -0
- package/src/common/utils/NumberFormatting.ts +65 -0
- package/src/common/utils/__tests__/Fetch.test.tsx +34 -0
- package/src/common/utils/index.ts +18 -0
- package/src/dashboard/Dashboard.tsx +92 -0
- package/src/dashboard/Greeting.tsx +75 -0
- package/src/dashboard/__tests__/Dashboard.test.tsx +84 -0
- package/src/dashboard/constants/Dashboard.ts +4 -0
- package/src/dashboard/index.ts +3 -0
- package/src/dashboard/types/DashboardTypes.ts +9 -0
- package/src/debts/DebtsWidget.tsx +90 -0
- package/src/debts/components/DebtsChart.tsx +190 -0
- package/src/debts/components/DebtsTable.tsx +209 -0
- package/src/debts/components/SnowballCard.tsx +70 -0
- package/src/debts/components/SnowballDrawer.tsx +384 -0
- package/src/debts/components/debtstable/AccountCell.tsx +25 -0
- package/src/debts/components/debtstable/PriorityCell.tsx +46 -0
- package/src/debts/index.ts +4 -0
- package/src/debts/store/DebtsStore.ts +20 -0
- package/src/debts/utils/DebtStore.ts +75 -0
- package/src/debts/utils/DebtsWidget.ts +32 -0
- package/src/debts/utils/SnowballCard.tsx +48 -0
- package/src/goals/GoalsWidget.tsx +128 -0
- package/src/goals/api/GoalApi.ts +29 -0
- package/src/goals/components/GoalDetails.tsx +240 -0
- package/src/goals/components/GoalList.tsx +101 -0
- package/src/goals/components/GoalStatusCard.tsx +87 -0
- package/src/goals/components/TabTitle.tsx +21 -0
- package/src/goals/constants/CopyKeys.ts +29 -0
- package/src/goals/index.ts +2 -0
- package/src/goals/stores/GoalStore.ts +47 -0
- package/src/goals/util/GoalsUtil.ts +61 -0
- package/src/index.ts +17 -0
- package/src/insights/README.md +16 -0
- package/src/insights/contexts/ToastContext.tsx +62 -0
- package/src/insights/index.ts +5 -0
- package/src/insights/settings/SettingsDrawer.tsx +40 -0
- package/src/insights/settings/__tests__/SettingsDrawer.test.tsx +50 -0
- package/src/insights/settings/components/PulseSubheaderRow.tsx +34 -0
- package/src/insights/settings/components/SettingsItem.tsx +55 -0
- package/src/insights/settings/components/Toast.tsx +69 -0
- package/src/insights/settings/hiddeninsights/__tests__/HiddenInsightsDrawer.test.tsx +108 -0
- package/src/insights/settings/hiddeninsights/__tests__/SubCategoryDrawer.test.tsx +150 -0
- package/src/insights/settings/hiddeninsights/components/CategoryEmptyState.tsx +50 -0
- package/src/insights/settings/hiddeninsights/components/HiddenInsightsDrawer.tsx +222 -0
- package/src/insights/settings/hiddeninsights/components/HiddenInsightsDrawerWrapper.tsx +24 -0
- package/src/insights/settings/hiddeninsights/components/SubCategoryDrawer.tsx +256 -0
- package/src/insights/settings/hiddeninsights/images/no-insights.png +0 -0
- package/src/insights/settings/hiddeninsights/types/index.ts +74 -0
- package/src/insights/settings/manageaccounts/__tests__/AccountGroup.test.tsx +92 -0
- package/src/insights/settings/manageaccounts/__tests__/ManageAccountsDrawer.test.tsx +83 -0
- package/src/insights/settings/manageaccounts/components/AccountGroup.tsx +109 -0
- package/src/insights/settings/manageaccounts/components/ManageAccountsDrawer.tsx +63 -0
- package/src/insights/settings/manageaccounts/types/index.ts +13 -0
- package/src/insights/settings/types/index.ts +4 -0
- package/src/insights/store/BeatStore.ts +25 -0
- package/src/insights/utils/beatTemplateCategories.ts +103 -0
- package/src/merchants/api/MerchantApi.ts +33 -0
- package/src/merchants/components/MerchantLookup.tsx +117 -0
- package/src/merchants/index.ts +2 -0
- package/src/merchants/stores/MerchantStore.ts +42 -0
- package/src/microinsights/analytics.ts +31 -0
- package/src/microinsights/components/beatCard/BeatCard.tsx +124 -0
- package/src/microinsights/components/beaticons/BeatCategoryIcon.tsx +20 -0
- package/src/microinsights/components/beaticons/BeatIcon.tsx +45 -0
- package/src/microinsights/components/beaticons/BeatMerchantLogo.tsx +33 -0
- package/src/microinsights/components/beaticons/ChartFilledIcon.tsx +37 -0
- package/src/microinsights/components/beaticons/MonthlySpendComparisonIcon.tsx +30 -0
- package/src/microinsights/components/beaticons/ZeroStateIcon.tsx +558 -0
- package/src/microinsights/components/beaticons/index.tsx +7 -0
- package/src/microinsights/components/carouselheader/CarouselHeader.tsx +111 -0
- package/src/microinsights/components/insightsmicrowidget/InsightsMicroWidget.tsx +163 -0
- package/src/microinsights/components/microBeatCarousel/CarouselControls.tsx +99 -0
- package/src/microinsights/components/microBeatCarousel/MicroBeatCarousel.tsx +207 -0
- package/src/microinsights/components/microInsightCard/MicroInsightCard.tsx +173 -0
- package/src/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard.tsx +89 -0
- package/src/microinsights/components/spinner/Spinner.tsx +21 -0
- package/src/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard.tsx +101 -0
- package/src/microinsights/components/zeroStateCard/ZeroStateCard.tsx +62 -0
- package/src/microinsights/constants/Analytics.ts +192 -0
- package/src/microinsights/constants/App.ts +53 -0
- package/src/microinsights/constants/Insights.tsx +3 -0
- package/src/microinsights/constants/OnClickEvents.ts +3 -0
- package/src/microinsights/context/InsightsMicroWidgetDataProvider.tsx +24 -0
- package/src/microinsights/context/hooks.tsx +65 -0
- package/src/microinsights/index.ts +16 -0
- package/src/microinsights/interfaces.ts +28 -0
- package/src/microinsights/stores/AppStore.ts +34 -0
- package/src/microinsights/stores/CopyStore.ts +38 -0
- package/src/microinsights/stores/InsightsMicroWidgetStore.ts +61 -0
- package/src/microinsights/types/BeatUIComponent.ts +5 -0
- package/src/microinsights/utils/DataSeries.ts +20 -0
- package/src/networth/NetWorthWidget.tsx +171 -0
- package/src/networth/__tests__/AssetsLiabilitiesDetail.test.tsx +94 -0
- package/src/networth/__tests__/NetWorthChart.test.tsx +31 -0
- package/src/networth/__tests__/NetWorthList.test.tsx +33 -0
- package/src/networth/components/AssetsLiabilitiesDetail.tsx +146 -0
- package/src/networth/components/GainsLossesDetail.tsx +110 -0
- package/src/networth/components/NetWorthChange.tsx +51 -0
- package/src/networth/components/NetWorthChart.tsx +71 -0
- package/src/networth/components/NetWorthList.tsx +91 -0
- package/src/networth/components/NetWorthListItem.tsx +72 -0
- package/src/networth/components/NetWorthSummary.tsx +36 -0
- package/src/networth/index.ts +5 -0
- package/src/networth/stores/NetWorthStore.ts +99 -0
- package/src/networth/stores/__tests__/NetWorthStore.test.ts +32 -0
- package/src/networth/types/NetWorth.ts +59 -0
- package/src/networth/utils/NetWorthUtils.ts +177 -0
- package/src/networth/utils/__tests__/NetWorthUtils.test.ts +198 -0
- package/src/notifications/__tests__/NotificationList.test.tsx +67 -0
- package/src/notifications/components/DateRow.tsx +21 -0
- package/src/notifications/components/NotificationBadge.tsx +51 -0
- package/src/notifications/components/NotificationCard.tsx +63 -0
- package/src/notifications/components/NotificationList.tsx +65 -0
- package/src/notifications/constants/NotificationConstants.ts +104 -0
- package/src/notifications/index.ts +3 -0
- package/src/notifications/stores/NotificationStore.ts +62 -0
- package/src/notifications/utils/NotificationUtils.ts +21 -0
- package/src/recurringactivity/RecurringActivityMiniWidget.tsx +45 -0
- package/src/recurringactivity/RecurringActivityWidget.tsx +89 -0
- package/src/recurringactivity/__tests__/BuildActivities.test.ts +30 -0
- package/src/recurringactivity/__tests__/BuildNewActivity.test.ts +59 -0
- package/src/recurringactivity/__tests__/RecurringActivityWidget.test.tsx +33 -0
- package/src/recurringactivity/components/ActivityBadges.tsx +40 -0
- package/src/recurringactivity/components/ActivityDetails.tsx +196 -0
- package/src/recurringactivity/components/ActivityList.tsx +141 -0
- package/src/recurringactivity/components/ActivityRow.tsx +161 -0
- package/src/recurringactivity/components/ActivityStatus.tsx +82 -0
- package/src/recurringactivity/components/MiniWidgetContent.tsx +61 -0
- package/src/recurringactivity/components/RecurringActivity.tsx +165 -0
- package/src/recurringactivity/components/actions/FrequencyAction.tsx +130 -0
- package/src/recurringactivity/components/actions/PaymentDateAction.tsx +99 -0
- package/src/recurringactivity/components/activitycalendar/ActivityCalendar.tsx +100 -0
- package/src/recurringactivity/components/activitycalendar/ActivityDay.tsx +88 -0
- package/src/recurringactivity/components/activitycalendar/Legend.tsx +42 -0
- package/src/recurringactivity/components/shared/ActivitySettings.tsx +43 -0
- package/src/recurringactivity/components/shared/activitysettings/AddActivity.tsx +175 -0
- package/src/recurringactivity/components/shared/activitysettings/AddActivityDetails.tsx +148 -0
- package/src/recurringactivity/components/shared/activitysettings/ManageExpenses.tsx +84 -0
- package/src/recurringactivity/components/shared/activitysettings/ManageIncome.tsx +102 -0
- package/src/recurringactivity/components/shared/activitysettings/SelectTransaction.tsx +45 -0
- package/src/recurringactivity/index.ts +5 -0
- package/src/recurringactivity/stores/RecurringActivityStore.ts +312 -0
- package/src/recurringactivity/util/RecurringActivityUtils.ts +40 -0
- package/src/recurringactivity/util/buildActivities.ts +334 -0
- package/src/recurringactivity/util/buildNewActivity.ts +111 -0
- package/src/recurringactivity/util/getRecurrence.ts +50 -0
- package/src/recurringactivity/util/getStatus.ts +32 -0
- package/src/recurringactivity/util/updateActivity.ts +66 -0
- package/src/spending/SpendingMiniWidget.tsx +23 -0
- package/src/spending/SpendingWidget.tsx +71 -0
- package/src/spending/__tests__/MiniSpendingChart.test.tsx +43 -0
- package/src/spending/__tests__/SpendingData.test.ts +38 -0
- package/src/spending/__tests__/SpendingMiniWidget.test.tsx +49 -0
- package/src/spending/__tests__/SpendingWidget.test.tsx +49 -0
- package/src/spending/components/MiniSpendingChart.tsx +125 -0
- package/src/spending/components/Spending.tsx +175 -0
- package/src/spending/components/SpendingChart.tsx +74 -0
- package/src/spending/components/SpendingDonut.tsx +125 -0
- package/src/spending/components/SpendingLegend.tsx +41 -0
- package/src/spending/components/SpendingList.tsx +112 -0
- package/src/spending/components/SpendingTabLabel.tsx +25 -0
- package/src/spending/index.ts +2 -0
- package/src/spending/utils/SpendingData.ts +196 -0
- package/src/transactions/TransactionWidget.tsx +319 -0
- package/src/transactions/analytics.ts +12 -0
- package/src/transactions/api/TransactionApi.ts +204 -0
- package/src/transactions/api/__mocks__/TransactionApi.ts +20 -0
- package/src/transactions/components/shared/TransactionDetails.tsx +140 -0
- package/src/transactions/components/shared/TransactionList.tsx +124 -0
- package/src/transactions/components/shared/TransactionTable.tsx +123 -0
- package/src/transactions/components/shared/transactiondetails/Description.tsx +97 -0
- package/src/transactions/components/shared/transactiondetails/FlagTransaction.tsx +63 -0
- package/src/transactions/components/shared/transactiondetails/ManualTransactionDetails.tsx +148 -0
- package/src/transactions/components/shared/transactiondetails/TransactionAmountHeader.tsx +39 -0
- package/src/transactions/components/shared/transactiondetails/actions/CategoryAction.tsx +149 -0
- package/src/transactions/components/shared/transactiondetails/actions/DateAction.tsx +119 -0
- package/src/transactions/components/shared/transactiondetails/actions/DeleteAction.tsx +85 -0
- package/src/transactions/components/shared/transactiondetails/actions/DeleteLogoAction.tsx +88 -0
- package/src/transactions/components/shared/transactiondetails/actions/HideAction.tsx +126 -0
- package/src/transactions/components/shared/transactiondetails/actions/MemoAction.tsx +112 -0
- package/src/transactions/components/shared/transactiondetails/actions/SplitAction.tsx +234 -0
- package/src/transactions/components/shared/transactiondetails/actions/TagsAction.tsx +119 -0
- package/src/transactions/components/shared/transactiondetails/actions/index.ts +8 -0
- package/src/transactions/components/shared/transactionlist/DateRow.tsx +33 -0
- package/src/transactions/components/shared/transactionlist/TransactionRow.tsx +92 -0
- package/src/transactions/components/shared/transactionlist/ZeroState.tsx +36 -0
- package/src/transactions/components/shared/transactiontable/cells/AccountCell.tsx +12 -0
- package/src/transactions/components/shared/transactiontable/cells/AmountCell.tsx +35 -0
- package/src/transactions/components/shared/transactiontable/cells/CategoryCell.tsx +37 -0
- package/src/transactions/components/shared/transactiontable/cells/DateCell.tsx +17 -0
- package/src/transactions/components/shared/transactiontable/cells/FlagCell.tsx +43 -0
- package/src/transactions/components/shared/transactiontable/cells/HeaderCell.tsx +11 -0
- package/src/transactions/components/shared/transactiontable/cells/PayeeCell.tsx +21 -0
- package/src/transactions/components/shared/transactiontable/cells/index.ts +7 -0
- package/src/transactions/components/splitmanager/SplitManager.tsx +93 -0
- package/src/transactions/components/splitmanager/SplitRow.tsx +149 -0
- package/src/transactions/components/splitmanager/index.ts +1 -0
- package/src/transactions/components/tagmanager/Header.tsx +100 -0
- package/src/transactions/components/tagmanager/SearchBox.tsx +60 -0
- package/src/transactions/components/tagmanager/TagManager.tsx +51 -0
- package/src/transactions/components/tagmanager/TagRow.tsx +145 -0
- package/src/transactions/components/tagmanager/index.ts +1 -0
- package/src/transactions/components/transactionwidget/AddAccountModal.tsx +30 -0
- package/src/transactions/components/transactionwidget/actions/AddTransactionAction.tsx +74 -0
- package/src/transactions/components/transactionwidget/actions/EditCategoryAction.tsx +80 -0
- package/src/transactions/components/transactionwidget/actions/ExportCsvAction.tsx +32 -0
- package/src/transactions/constants/Actions.ts +28 -0
- package/src/transactions/constants/Analytics.ts +272 -0
- package/src/transactions/constants/OnClickEvents.ts +45 -0
- package/src/transactions/constants/Transaction.ts +32 -0
- package/src/transactions/constants/TransactionsTable.ts +26 -0
- package/src/transactions/context/hooks.tsx +12 -0
- package/src/transactions/index.ts +12 -0
- package/src/transactions/stores/TransactionStore.ts +327 -0
- package/src/transactions/stores/UiStore.ts +72 -0
- package/src/transactions/stores/__tests__/TransactionStore.test.ts +80 -0
- package/src/transactions/utils/Filters.ts +35 -0
- package/src/transactions/utils/Transactions.ts +22 -0
- package/src/transactions/utils/buildDetailedTransactions.ts +66 -0
- package/src/transactions/utils/exportTransactionsToCSV.ts +85 -0
- package/src/transactions/utils/sortAndFilterTransactions.ts +127 -0
- package/src/trends/TrendsFullWidget.tsx +286 -0
- package/src/trends/TrendsMiniWidget.tsx +49 -0
- package/src/trends/__tests__/TrendsFullWidget.test.tsx +45 -0
- package/src/trends/__tests__/TrendsMiniWidget.test.tsx +35 -0
- package/src/trends/components/SpendingChart.tsx +29 -0
- package/src/trends/components/TrendsChart.tsx +75 -0
- package/src/trends/components/TrendsDrawer.tsx +74 -0
- package/src/trends/components/TrendsTable.tsx +161 -0
- package/src/trends/components/__tests__/SpendingChart.test.tsx +37 -0
- package/src/trends/components/trendstable/AmountCell.tsx +14 -0
- package/src/trends/components/trendstable/CategoryCell.tsx +39 -0
- package/src/trends/components/trendstable/HeaderCell.tsx +8 -0
- package/src/trends/index.ts +2 -0
- package/src/trends/mocks.ts +423 -0
- package/src/trends/utils/SpendingData.ts +76 -0
- package/src/trends/utils/TrendsData.ts +127 -0
- package/src/trends/utils/shared.ts +39 -0
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import Box from '@mui/material/Box'
|
|
4
|
+
import Stack from '@mui/material/Stack'
|
|
5
|
+
import type { SxProps } from '@mui/material/styles'
|
|
6
|
+
|
|
7
|
+
import { Drawer as KMuiDrawer, Footer } from '@kyper/mui'
|
|
8
|
+
|
|
9
|
+
import Header from './Header'
|
|
10
|
+
|
|
11
|
+
export type CopyObject = {
|
|
12
|
+
close_drawer_aria: string
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
interface DrawerProps {
|
|
16
|
+
ariaLabelClose?: string
|
|
17
|
+
className?: string
|
|
18
|
+
id?: string
|
|
19
|
+
isOpen: boolean
|
|
20
|
+
isPrimaryDisabled?: boolean
|
|
21
|
+
onClose: () => void
|
|
22
|
+
onPrimaryAction?: () => void
|
|
23
|
+
onSecondaryAction?: () => void
|
|
24
|
+
primaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning'
|
|
25
|
+
primaryText?: string
|
|
26
|
+
secondaryColor?: 'primary' | 'inherit' | 'secondary' | 'success' | 'error' | 'info' | 'warning'
|
|
27
|
+
secondaryText?: string
|
|
28
|
+
shouldShowHeaderBorders?: boolean
|
|
29
|
+
shouldShowHeaderShadow?: boolean
|
|
30
|
+
sx?: SxProps
|
|
31
|
+
title: string
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
const Drawer: React.FC<React.PropsWithChildren<DrawerProps>> = ({
|
|
35
|
+
ariaLabelClose = 'Close',
|
|
36
|
+
children,
|
|
37
|
+
id,
|
|
38
|
+
isOpen,
|
|
39
|
+
isPrimaryDisabled,
|
|
40
|
+
onClose,
|
|
41
|
+
onPrimaryAction,
|
|
42
|
+
onSecondaryAction,
|
|
43
|
+
primaryColor = 'primary',
|
|
44
|
+
primaryText,
|
|
45
|
+
secondaryColor = 'secondary',
|
|
46
|
+
secondaryText,
|
|
47
|
+
shouldShowHeaderBorders = true,
|
|
48
|
+
shouldShowHeaderShadow = false,
|
|
49
|
+
title,
|
|
50
|
+
...rest
|
|
51
|
+
}) => {
|
|
52
|
+
return (
|
|
53
|
+
<KMuiDrawer
|
|
54
|
+
id={id}
|
|
55
|
+
isOpen={isOpen}
|
|
56
|
+
onClose={onClose}
|
|
57
|
+
sx={{
|
|
58
|
+
'& .MuiDrawer-paper': {
|
|
59
|
+
backgroundColor: 'background.default',
|
|
60
|
+
},
|
|
61
|
+
height: '100%',
|
|
62
|
+
'& .MuiToolbar-root': {
|
|
63
|
+
backgroundColor: 'background.paper',
|
|
64
|
+
},
|
|
65
|
+
}}
|
|
66
|
+
{...rest}
|
|
67
|
+
>
|
|
68
|
+
<Stack height="100%" justifyContent="space-between">
|
|
69
|
+
<Header
|
|
70
|
+
ariaLabelClose={ariaLabelClose}
|
|
71
|
+
onClose={onClose}
|
|
72
|
+
shouldShowBorders={shouldShowHeaderBorders}
|
|
73
|
+
shouldShowShadow={shouldShowHeaderShadow}
|
|
74
|
+
title={title}
|
|
75
|
+
/>
|
|
76
|
+
|
|
77
|
+
<Box height="100%" overflow="auto">
|
|
78
|
+
{children}
|
|
79
|
+
</Box>
|
|
80
|
+
|
|
81
|
+
{onPrimaryAction && (
|
|
82
|
+
<Footer
|
|
83
|
+
isPrimaryDisabled={isPrimaryDisabled}
|
|
84
|
+
onPrimaryAction={onPrimaryAction}
|
|
85
|
+
onSecondaryAction={onSecondaryAction ?? onClose}
|
|
86
|
+
primaryColor={primaryColor}
|
|
87
|
+
primaryText={primaryText}
|
|
88
|
+
secondaryColor={secondaryColor}
|
|
89
|
+
secondaryText={secondaryText}
|
|
90
|
+
/>
|
|
91
|
+
)}
|
|
92
|
+
</Stack>
|
|
93
|
+
</KMuiDrawer>
|
|
94
|
+
)
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
export default Drawer
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import React from 'react'
|
|
2
|
+
|
|
3
|
+
import Box from '@mui/material/Box'
|
|
4
|
+
import Stack from '@mui/material/Stack'
|
|
5
|
+
import IconButton from '@mui/material/IconButton'
|
|
6
|
+
import ArrowBackOutlinedIcon from '@mui/icons-material/ArrowBackOutlined'
|
|
7
|
+
|
|
8
|
+
import { H2 } from '@kyper/mui'
|
|
9
|
+
|
|
10
|
+
interface DrawerHeaderProps {
|
|
11
|
+
ariaLabelClose: string
|
|
12
|
+
onClose: () => void
|
|
13
|
+
shouldShowBorders: boolean
|
|
14
|
+
shouldShowShadow?: boolean
|
|
15
|
+
title: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
const DrawerHeader: React.FC<DrawerHeaderProps> = ({
|
|
19
|
+
ariaLabelClose,
|
|
20
|
+
onClose,
|
|
21
|
+
shouldShowBorders,
|
|
22
|
+
shouldShowShadow,
|
|
23
|
+
title,
|
|
24
|
+
}) => {
|
|
25
|
+
return (
|
|
26
|
+
<Stack
|
|
27
|
+
aria-level={1}
|
|
28
|
+
direction="row"
|
|
29
|
+
role="heading"
|
|
30
|
+
sx={{
|
|
31
|
+
alignItems: 'center',
|
|
32
|
+
backgroundColor: 'background.paper',
|
|
33
|
+
...(shouldShowBorders && {
|
|
34
|
+
borderBottom: 1,
|
|
35
|
+
borderTop: 1,
|
|
36
|
+
borderColor: 'border.light',
|
|
37
|
+
}),
|
|
38
|
+
...(shouldShowShadow && {
|
|
39
|
+
boxShadow: '0px 2px 8px 0px #6A73811F',
|
|
40
|
+
}),
|
|
41
|
+
padding: '8px 8px 8px 8px',
|
|
42
|
+
}}
|
|
43
|
+
>
|
|
44
|
+
<IconButton aria-label={ariaLabelClose} color="primary" onClick={onClose}>
|
|
45
|
+
<ArrowBackOutlinedIcon color="primary" sx={{ fontSize: 22 }} />
|
|
46
|
+
</IconButton>
|
|
47
|
+
<Box
|
|
48
|
+
sx={{
|
|
49
|
+
flexGrow: 1,
|
|
50
|
+
margin: 'auto',
|
|
51
|
+
textAlign: 'center',
|
|
52
|
+
}}
|
|
53
|
+
>
|
|
54
|
+
<H2 bold={true} variant="Body">
|
|
55
|
+
{title}
|
|
56
|
+
</H2>
|
|
57
|
+
</Box>
|
|
58
|
+
{/* placeholder for when we add a button here, this also ensures the title text is centered */}
|
|
59
|
+
<Box width="44px" />
|
|
60
|
+
</Stack>
|
|
61
|
+
)
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export default DrawerHeader
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Drawer } from './Drawer'
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export * from './accountfilter'
|
|
2
|
+
export * from './barchart'
|
|
3
|
+
export * from './calendar'
|
|
4
|
+
export * from './charts'
|
|
5
|
+
export * from './daterangeselector'
|
|
6
|
+
export * from './dialog'
|
|
7
|
+
export * from './donuts'
|
|
8
|
+
export * from './drawer'
|
|
9
|
+
export { default as MiniWidgetContainer } from './MiniWidgetContainer'
|
|
10
|
+
export { default as WidgetContainer } from './WidgetContainer'
|
|
11
|
+
export { default as ConnectDrawer } from './ConnectDrawer'
|
|
12
|
+
export { default as CurrencyInput } from './CurrencyInput'
|
|
13
|
+
export { default as Loader } from './Loader'
|
|
14
|
+
export { default as ResponsiveButton } from './ResponsiveButton'
|
|
15
|
+
export { default as SearchBox } from './SearchBox'
|
|
16
|
+
export { default as SelectionBox } from './SelectionBox'
|
|
17
|
+
export { default as TabContentContainer } from './TabContentContainer'
|
|
18
|
+
export { default as IconBacking } from './IconBacking'
|
|
19
|
+
export { default as DataRow } from './DataRow'
|
|
20
|
+
export { default as InformationTooltip } from './InformationTooltip'
|
|
21
|
+
export { CurrencyText } from './CurrencyText'
|
|
22
|
+
export { ListItemWrapper } from './ListItemWrapper'
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { AccountType } from '../types/Account'
|
|
2
|
+
|
|
3
|
+
export const INCOME_ACCOUNT_TYPES = [
|
|
4
|
+
AccountType.ANY,
|
|
5
|
+
AccountType.CASH,
|
|
6
|
+
AccountType.CHECKING,
|
|
7
|
+
AccountType.DIGITAL_WALLET,
|
|
8
|
+
AccountType.PREPAID,
|
|
9
|
+
AccountType.SAVINGS,
|
|
10
|
+
]
|
|
11
|
+
|
|
12
|
+
export const PAYMENT_ACCOUNT_TYPES = [
|
|
13
|
+
AccountType.CHECKING_LINE_OF_CREDIT,
|
|
14
|
+
AccountType.CREDIT_CARD,
|
|
15
|
+
AccountType.LINE_OF_CREDIT,
|
|
16
|
+
AccountType.LOAN,
|
|
17
|
+
AccountType.MORTGAGE,
|
|
18
|
+
]
|
|
19
|
+
|
|
20
|
+
export const SPENDING_ACCOUNT_TYPES = [
|
|
21
|
+
AccountType.ANY,
|
|
22
|
+
AccountType.CASH,
|
|
23
|
+
AccountType.CHECKING,
|
|
24
|
+
AccountType.CHECKING_LINE_OF_CREDIT,
|
|
25
|
+
AccountType.CREDIT_CARD,
|
|
26
|
+
AccountType.DIGITAL_WALLET,
|
|
27
|
+
AccountType.LINE_OF_CREDIT,
|
|
28
|
+
AccountType.PREPAID,
|
|
29
|
+
AccountType.SAVINGS,
|
|
30
|
+
]
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export const ANALYTICS_EVENTS = {
|
|
2
|
+
ACCOUNTS_CLICK_SYNC: 'accounts_widget_click_sync',
|
|
3
|
+
ACCOUNTS_CLICK_CONNECT: 'accounts_widget_click_connect_accounts',
|
|
4
|
+
ACCOUNTS_CLICK_FILTER: 'accounts_widget_click_filter_accounts',
|
|
5
|
+
ACCOUNTS_CLICK_ACCOUNT: 'accounts_widget_click_account',
|
|
6
|
+
ACCOUNT_DETAILS_CLICK_HIDE: 'account_details_click_hide_account',
|
|
7
|
+
ACCOUNT_DETAILS_CLICK_MARK_CLOSED: 'account_details_click_mark_as_closed',
|
|
8
|
+
ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE: 'account_details_click_mark_as_duplicate',
|
|
9
|
+
ACCOUNT_DETAILS_CLICK_TRANSACTION: 'account_details_click_transaction',
|
|
10
|
+
ACCOUNT_DETAILS_VIEW: 'account_details',
|
|
11
|
+
ACCOUNT_DETAILS_VIEW_TRANSACTIONS: 'account_details_transactions',
|
|
12
|
+
BUDGETS_CLICK_FILTER: 'budgets_widget_click_filter_accounts',
|
|
13
|
+
BUDGETS_CLICK_ADD: 'budgets_widget_click_add_budget',
|
|
14
|
+
BUDGETS_CLICK_EDIT_INCOME: 'budgets_widget_click_edit_income',
|
|
15
|
+
BUDGETS_CLICK_BUDGET_CATEGORY: 'budgets_widget_click_budget_category',
|
|
16
|
+
BUDGETS_VIEW: 'budgets',
|
|
17
|
+
CASH_FLOW_CLICK_SETTINGS: 'cash_flow_widget_click_settings',
|
|
18
|
+
CASH_FLOW_CLICK_FILTER: 'cash_flow_widget_click_filter_accounts',
|
|
19
|
+
DEBTS_CLICK_TABLE_SORT: 'debts_widget_click_table_sort',
|
|
20
|
+
DEBTS_CLICK_TABLE_ROW: 'debts_widget_click_table_row',
|
|
21
|
+
GOALS_VIEW: 'goals',
|
|
22
|
+
GOALS_CLICK_FILTER: 'goals_widget_click_filter_accounts',
|
|
23
|
+
GOALS_CLICK_ADD: 'goals_widget_click_add',
|
|
24
|
+
NET_WORTH_VIEW: 'net_worth',
|
|
25
|
+
NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES: 'net_worth_widget_click_view_assets_liabilities',
|
|
26
|
+
NET_WORTH_WIDGET_CLICK_FILTER: 'net_worth_widget_click_filter_accounts',
|
|
27
|
+
NET_WORTH_WIDGET_CLICK_TIMEFRAME: 'net_worth_widget_click_time_period',
|
|
28
|
+
RECURRING_ACTIVITY_CLICK_SETTINGS: 'recurring_transactions_widget_click_settings',
|
|
29
|
+
RECURRING_ACTIVITY_CLICK_FILTER: 'recurring_transactions_widget_click_filter_accounts',
|
|
30
|
+
RECURRING_ACTIVITY_CLICK_UPCOMING: 'recurring_transactions_widget_click_upcoming_transaction',
|
|
31
|
+
RECURRING_ACTIVITY_CLICK_PAID: 'recurring_transactions_widget_click_paid_expense',
|
|
32
|
+
RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT: 'recurring_transactions_widget_click_calendar_right',
|
|
33
|
+
RECURRING_ACTIVITY_CLICK_EXPENSE: 'recurring_transactions_widget_manage_expenses_click_expense',
|
|
34
|
+
RECURRING_ACTIVITY_CLICK_ADD_EXPENSE:
|
|
35
|
+
'recurring_transactions_widget_manage_expenses_click_add_expense',
|
|
36
|
+
RECURRING_ACTIVITY_CLICK_INCOME: 'recurring_transactions_widget_click_income',
|
|
37
|
+
RECURRING_ACTIVITY_CLICK_ADD_INCOME:
|
|
38
|
+
'recurring_transactions_widget_income_details_click_add_income',
|
|
39
|
+
SPENDING_VIEW: 'spending',
|
|
40
|
+
SPENDING_CLICK_FILTER: 'spending_widget_click_filter_accounts',
|
|
41
|
+
TRANSACTIONS_VIEW: 'transactions',
|
|
42
|
+
TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL: 'transactions_add_manual_account_modal',
|
|
43
|
+
TRANSACTIONS_CLICK_SEARCH: 'transactions_click_search',
|
|
44
|
+
TRANSACTIONS_CLICK_FILTER: 'transactions_click_filter_accounts',
|
|
45
|
+
TRANSACTIONS_CLICK_EXPORT: 'transactions_click_export_csv',
|
|
46
|
+
TRANSACTIONS_CLICK_ADD: 'transactions_click_add_transaction',
|
|
47
|
+
TRANSACTIONS_CLICK_DETAILS: 'transactions_click_transaction_details',
|
|
48
|
+
TRANSACTION_DETAILS_VIEW: 'transaction_details',
|
|
49
|
+
TRANSACTION_DETAILS_CLICK_DESCRIPTION: 'transaction_details_click_edit_description',
|
|
50
|
+
TRANSACTION_DETAILS_CLICK_FLAG: 'transaction_details_click_flag_transaction',
|
|
51
|
+
TRANSACTION_DETAILS_CLICK_CATEGORY: 'transaction_details_click_category',
|
|
52
|
+
TRANSACTION_DETAILS_CLICK_DATE: 'transaction_details_click_date',
|
|
53
|
+
TRANSACTION_DETAILS_CLICK_DELETE_LOGO: 'transaction_details_click_delete_merchant_logo',
|
|
54
|
+
TRANSACTION_DETAILS_CLICK_MEMO: 'transaction_details_click_memo',
|
|
55
|
+
TRANSACTION_DETAILS_CLICK_SPLIT: 'transaction_details_click_split_transaction',
|
|
56
|
+
TRANSACTION_DETAILS_CLICK_UNSPLIT: 'transaction_details_click_unsplit_transaction',
|
|
57
|
+
TRANSACTION_DETAILS_CLICK_TAGS: 'transaction_details_click_tags',
|
|
58
|
+
TRANSACTION_DETAILS_CLICK_AMOUNT: 'transaction_details_click_transaction_amount',
|
|
59
|
+
TRENDS_CLICK_FILTER: 'trends_widget_click_filter_accounts',
|
|
60
|
+
TRENDS_CLICK_TOGGLE: 'trends_widget_toggle_chart_table',
|
|
61
|
+
TRENDS_CLICK_DATE: 'trends_widget_click_date_range',
|
|
62
|
+
TRENDS_CLICK_TABLE_SORT: 'trends_widget_click_table_sort',
|
|
63
|
+
TRENDS_CLICK_TABLE_ROW: 'trends_widget_click_table_row',
|
|
64
|
+
TRENDS_CLICK_LEGEND: 'trends_widget_click_legend',
|
|
65
|
+
TRENDS_HOVER_LEGEND: 'trends_widget_hover_legend',
|
|
66
|
+
TRENDS_HOVER_AREA: 'trends_widget_hover_chart_area',
|
|
67
|
+
TRENDS_HOVER_POINT: 'trends_widget_hover_chart_point',
|
|
68
|
+
TRENDS_VIEW_TRANSACTIONS: 'trends_widget_view_transactions',
|
|
69
|
+
WIDGET_BACK_CLICK: 'widget_back_button_click',
|
|
70
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export const ApiEndpoints = {
|
|
2
|
+
ACCOUNTS: 'accounts',
|
|
3
|
+
ANALYTICS_EVENTS: 'analytics_events',
|
|
4
|
+
ANALYTICS_FEATURE_VISITS: 'feature_visits',
|
|
5
|
+
ANALYTICS_PAGEVIEWS: 'analytics_pageviews',
|
|
6
|
+
ANALYTICS_SESSION: 'analytics_sessions',
|
|
7
|
+
APP_DATA: 'raja/data?type=master',
|
|
8
|
+
BEATS: 'beats',
|
|
9
|
+
BUDGETS: 'budgets',
|
|
10
|
+
CASHFLOW_EVENTS: 'cashflow_events',
|
|
11
|
+
CASHFLOW_SEQUENCES: 'cashflow_sequences',
|
|
12
|
+
CATEGORIES: 'categories',
|
|
13
|
+
DATE_RANGE_CATEGORY_TOTALS: 'date_range_category_totals',
|
|
14
|
+
GOALS: 'goals',
|
|
15
|
+
INSTITUTIONS: 'institutions',
|
|
16
|
+
LOCALIZED_COPY: 'localized_copies',
|
|
17
|
+
LOCALIZED_CONTENT: 'localized_content',
|
|
18
|
+
MEMBERS: 'members',
|
|
19
|
+
MERCHANTS: 'merchants',
|
|
20
|
+
MONTHLY_CATEGORY_TOTALS: 'monthly_category_totals',
|
|
21
|
+
NOTIFICATIONS: 'notifications',
|
|
22
|
+
SCHEDULED_PAYMENTS: 'scheduled_payments',
|
|
23
|
+
SPENDING_PLANS: 'spending_plans',
|
|
24
|
+
TAGGINGS: 'taggings',
|
|
25
|
+
TAGS: 'tags',
|
|
26
|
+
TRANSACTION_RULES: 'transaction_rules',
|
|
27
|
+
TRANSACTIONS: 'transactions',
|
|
28
|
+
USER_PROFILES: 'user_profiles',
|
|
29
|
+
WIDGET_URLS: 'widget_urls',
|
|
30
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
export const CategoryGuids = {
|
|
2
|
+
// Top-level categories
|
|
3
|
+
AUTO_AND_TRANSPORT: 'CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874',
|
|
4
|
+
BILLS_AND_UTILITIES: 'CAT-79b02f2f-2adc-88f0-ac2b-4e71ead9cfc8',
|
|
5
|
+
BUSINESS_SERVICES: 'CAT-94b11142-e97b-941a-f67f-6e18d246a23f',
|
|
6
|
+
EDUCATION: 'CAT-bf5c9cca-c96b-b50d-440d-38d9adfda5b0',
|
|
7
|
+
ENTERTAINMENT: 'CAT-e04e9d1e-e041-c315-2e50-094143ab3f73',
|
|
8
|
+
FEES_AND_CHARGES: 'CAT-d73ee74b-13a4-ac3e-4015-fc4ba9a62b2a',
|
|
9
|
+
FINANCIAL: 'CAT-6c7de3f8-de6c-7061-1dd2-b093044014bf',
|
|
10
|
+
FOOD_AND_DINING: 'CAT-bd56d35a-a9a7-6e10-66c1-5b9cc1b6c81a',
|
|
11
|
+
GIFTS_AND_DONATIONS: 'CAT-8edf9663-623e-4735-490e-31288f0a70b0',
|
|
12
|
+
HEALTH_AND_FITNESS: 'CAT-52fa4693-c088-afb2-2a99-7bc39bb23a0f',
|
|
13
|
+
HOME: 'CAT-b709172b-4eb7-318e-3b5d-e0f0500b32ac',
|
|
14
|
+
INCOME: 'CAT-bf9f3294-4c40-1677-d269-54fbc189faf3',
|
|
15
|
+
INVESTMENTS: 'CAT-ccd42390-9e8c-3fb6-a5d9-6c31182d9c5c',
|
|
16
|
+
KIDS: 'CAT-0cb1d99d-f558-99e3-2282-b31f359b411a',
|
|
17
|
+
PERSONAL_CARE: 'CAT-e5154228-fe45-790d-a280-f6bf5ae5ac9f',
|
|
18
|
+
PETS: 'CAT-7cccbafa-87d7-c9a6-661b-8b3402fe9e78',
|
|
19
|
+
SHOPPING: 'CAT-aad51b46-d6f7-3da5-fd6e-492328b3023f',
|
|
20
|
+
TAXES: 'CAT-d00fc539-aa14-009b-4ffb-7e8c7b839954',
|
|
21
|
+
TRANSFER: 'CAT-bce48142-fea4-ff45-20d9-0a642d44de83',
|
|
22
|
+
TRAVEL: 'CAT-ea23d844-cbd1-eb10-f6ac-0df9610e59ae',
|
|
23
|
+
UNCATEGORIZED: 'CAT-d7851c65-3353-e490-1953-fb9235e681e4',
|
|
24
|
+
// Subcategories
|
|
25
|
+
LOCAL_TAX: 'CAT-0bbdacce-ba14-3e73-e1aa-cc64e671575c',
|
|
26
|
+
WITHDRAWAL: 'CAT-00c762a2-be42-c735-2d3f-b14a1e58453f',
|
|
27
|
+
TRADE_COMMISSIONS: 'CAT-1a01ddd4-9a37-b96b-33dc-6c68457e7806',
|
|
28
|
+
BABYSITTER_DAYCARE: 'CAT-2ba97a5c-a371-3b4f-d018-cba64bb9767a',
|
|
29
|
+
CHILD_SUPPORT: 'CAT-2cb0a3a8-3f05-9325-1203-27ed2d619dce',
|
|
30
|
+
CREDIT_CARD_PAYMENT: 'CAT-2cc9b500-e09d-88be-e3e0-0a8a82a54586',
|
|
31
|
+
STUDENT_LOAN: 'CAT-2ce4972e-5620-57be-8475-d084edf88888',
|
|
32
|
+
LIFE_INSURANCE: 'CAT-2cf64b94-e966-0949-0d07-b211080ddaa6',
|
|
33
|
+
PRINTING: 'CAT-3b09fb0b-3296-c76c-2bbd-a2bce0012d83',
|
|
34
|
+
FINANCIAL_ADVISOR: 'CAT-3db5697d-5dce-6bd9-c08f-5065b25e96c8',
|
|
35
|
+
INTEREST_INCOME: 'CAT-5aa555dc-a071-c727-8d04-cb337832d342',
|
|
36
|
+
LATE_FEE: 'CAT-5bfddc95-a506-b1d2-0f73-63b1afeddb91',
|
|
37
|
+
LAWN_GARDEN: 'CAT-5cc7f5e2-3f2e-61ce-52e7-4acf366c2ee3',
|
|
38
|
+
FINANCE_CHARGE: 'CAT-5dab8347-e0b4-daf9-0a65-f2be80feb8ad',
|
|
39
|
+
FRAUD_PROTECTION: 'CAT-5f7f2084-6f8a-d927-6fa7-8e699912432a',
|
|
40
|
+
MOVIES_DVDS: 'CAT-6ab65efd-36e4-69ca-969a-a7304d05240a',
|
|
41
|
+
HOME_INSURANCE: 'CAT-6cb40bc6-0c0d-6fae-db3b-62a6bc4bb1a2',
|
|
42
|
+
CASH: 'CAT-08a5d861-2890-686e-ebaf-d7632ec88540',
|
|
43
|
+
TUITION: 'CAT-8b01fafd-9bf5-7999-49c9-cb67da50b14d',
|
|
44
|
+
HEALTH_INSURANCE: 'CAT-8faa2a11-f393-9c13-2885-e7d11fa6a51a',
|
|
45
|
+
DIVIDEND_CAP_GAINS: 'CAT-9b21122f-bd17-97ce-ef5c-3f034e75fd6c',
|
|
46
|
+
ALCOHOL_BARS: 'CAT-9d58b17b-0982-18b5-5a6e-8a76337c4f88',
|
|
47
|
+
LEGAL: 'CAT-13c1e57c-3749-41b4-3bc4-b1b334adab85',
|
|
48
|
+
PUBLIC_TRANSPORTATION: 'CAT-19e6ec13-83ed-5511-7f75-3688d3f97a8e',
|
|
49
|
+
MORTGAGE_RENT: 'CAT-23b4b4c6-5fbb-9299-b887-4b56196e6fb4',
|
|
50
|
+
HOTEL: 'CAT-28be9904-9f4c-c4af-d2b7-bb24763ae0ae',
|
|
51
|
+
TRANSFER_FOR_CASH_SPENDING: 'CAT-28d5fc92-cb41-8daa-3ab7-6f7bbde118fb',
|
|
52
|
+
UTILITIES: 'CAT-56a2979d-d6df-25da-f357-06282f08208e',
|
|
53
|
+
DEPOSIT: 'CAT-58aced66-6d70-4024-7667-77e98b6e5805',
|
|
54
|
+
HOME_PHONE: 'CAT-60d81dd3-8ac1-a6fb-b181-b736dbb42be3',
|
|
55
|
+
SERVICE_PARTS: 'CAT-67a20fb1-1a61-dc27-3fff-f28fa904025f',
|
|
56
|
+
INTERNET: 'CAT-78d29c63-54db-197d-9851-feeb94cf6e10',
|
|
57
|
+
BOOKS: 'CAT-80a40aa1-9f7e-2393-0dfe-b222dc8099a2',
|
|
58
|
+
NEWSPAPERS_MAGAZINES: 'CAT-84f5a582-f620-bea1-fb2c-a746094e9955',
|
|
59
|
+
FAST_FOOD: 'CAT-88cbb033-0fc1-ff06-6532-0f357c0f5081',
|
|
60
|
+
COFFEE_SHOPS: 'CAT-93ebd80b-4801-cf52-e844-91594ed4c217',
|
|
61
|
+
SELL: 'CAT-095e8e70-f5fa-9e68-8187-6cac76d14f85',
|
|
62
|
+
OFFICE_SUPPLIES: 'CAT-97a2b899-5a32-4196-b87c-a8e65d8a9849',
|
|
63
|
+
PET_GROOMING: 'CAT-99b03e0f-c678-268b-a97c-81092e68efab',
|
|
64
|
+
AMUSEMENT: 'CAT-163c92ab-5ac1-3125-6a0b-c3aff5cdbb59',
|
|
65
|
+
BOOKS_SUPPLIES: 'CAT-167d816f-c68e-9988-e064-173dc6417a90',
|
|
66
|
+
VACATION: 'CAT-206fbc35-a569-c89a-30be-a3b65d0fbea7',
|
|
67
|
+
SERVICE_FEE: 'CAT-386e01dd-8cc0-a433-f4a9-b3a2d153abbf',
|
|
68
|
+
GIFT: 'CAT-465a2e70-099b-dc43-4422-913c21311002',
|
|
69
|
+
CHARITY: 'CAT-583f1ede-3608-3ec6-b39b-0874198626ed',
|
|
70
|
+
PARKING: 'CAT-726da718-d572-1e4d-7c3f-0b8b5370fe71',
|
|
71
|
+
SHIPPING: 'CAT-748efd05-e27a-5c79-1217-681a0ec5cc67',
|
|
72
|
+
ARTS: 'CAT-967a9441-5694-9419-6b40-67f15cd55fe4',
|
|
73
|
+
PAYCHECK: 'CAT-982ea9e6-3f0e-0c5b-611b-6657a10ba819',
|
|
74
|
+
FURNISHINGS: 'CAT-2910e436-7fed-f922-184c-60bc1b6c5417',
|
|
75
|
+
RESTAURANTS: 'CAT-006862be-64a0-e778-f035-0936445b9c16',
|
|
76
|
+
SPA_MASSAGE: 'CAT-8008cdab-ba5c-26e9-310d-a3ff4afeeb62',
|
|
77
|
+
RENTAL_CAR_TAXI: 'CAT-9588eaad-90a4-bb5c-66c8-1812503d0db8',
|
|
78
|
+
ALLOWANCE: 'CAT-9961e379-d9e9-490c-1c4b-bfa233899167',
|
|
79
|
+
BANKING_FEE: 'CAT-30283e5b-f0fb-d8ab-a9fd-de992b508eac',
|
|
80
|
+
BUY: 'CAT-70215a5e-bd15-e0ac-3842-058b5e8e99b7',
|
|
81
|
+
STATE_TAX: 'CAT-7248227b-303e-ee19-e30c-c4f389da169b',
|
|
82
|
+
TOYS: 'CAT-7524310a-da68-ac09-2312-71ca60a40ec0',
|
|
83
|
+
KIDS_ACTIVITIES: 'CAT-32012156-b11d-a1db-9697-b15432e18215',
|
|
84
|
+
RENTAL_INCOME: 'CAT-67070667-8b54-b450-4e84-5f8da2d70d85',
|
|
85
|
+
VETERINARY: 'CAT-71380790-762a-6e2a-d79e-d7f47689af25',
|
|
86
|
+
SPORTING_GOODS: 'CAT-a9abd9b1-2e2c-4236-040d-fb414d334419',
|
|
87
|
+
LAUNDRY: 'CAT-a9fb2085-ce57-a196-4cbd-338c85bae0b0',
|
|
88
|
+
CLOTHING: 'CAT-a96c2e17-f69a-9805-34aa-633276a42cec',
|
|
89
|
+
PHARMACY: 'CAT-a5600b35-c9b1-347d-f678-781597851104',
|
|
90
|
+
HOME_SERVICES: 'CAT-a64154ee-d5e9-09c7-d5f1-59b3273c6e3c',
|
|
91
|
+
ATM_FEE: 'CAT-ac2eba3a-100a-30ac-09c3-d7d88415ca1a',
|
|
92
|
+
HAIR: 'CAT-af671119-50a2-636c-ddfe-c794c38e8181',
|
|
93
|
+
GROCERIES: 'CAT-b1de2a04-db08-b6ed-f6fe-ca2f5b11c2d0',
|
|
94
|
+
GAS: 'CAT-b6d63a19-30a7-e852-2703-bdfb4072289e',
|
|
95
|
+
FEDERAL_TAX: 'CAT-b8cc4011-cdc9-10b0-b79d-bf1d534296dc',
|
|
96
|
+
HOSTING: 'CAT-b74fdd98-4391-8015-eafa-e9ca0fad3bee',
|
|
97
|
+
TELEVISION: 'CAT-b316e683-c898-6497-a476-6bc48d12e51d',
|
|
98
|
+
MOBILE_PHONE: 'CAT-b4789667-6acc-a112-975e-15746003ed61',
|
|
99
|
+
BABY_SUPPLIES: 'CAT-c9c99041-e009-4a45-4b1d-fa92daeb5dd4',
|
|
100
|
+
MUSIC: 'CAT-c874ccff-d069-40df-d7c5-ddba6fbdd225',
|
|
101
|
+
MORTGAGE_PAYMENT: 'CAT-c94442a5-a762-8830-4c80-2a2f6a79e627',
|
|
102
|
+
SPORTS: 'CAT-cb3de962-ea82-27a9-d096-c232caeb96bd',
|
|
103
|
+
AUTO_PAYMENT: 'CAT-cb93691a-684d-b326-4c32-f8abaecfde90',
|
|
104
|
+
GYM: 'CAT-cd9f9f60-622d-0488-d203-044c8726a7eb',
|
|
105
|
+
REIMBURSEMENT: 'CAT-ce7b7bc8-71b7-9f41-af10-b8c2d5bafc37',
|
|
106
|
+
AIR_TRAVEL: 'CAT-cf82d772-fbe2-4658-303a-f4cd13d9c3c2',
|
|
107
|
+
EYECARE: 'CAT-cf183729-fb60-d16a-32d0-2e1d21ff21cd',
|
|
108
|
+
HOBBIES: 'CAT-d1e54c52-80cc-01ba-3907-5bbdaa0ff521',
|
|
109
|
+
SALES_TAX: 'CAT-d1244982-f8d0-09b8-77bb-6495c6e0c12a',
|
|
110
|
+
ELECTRONICS_SOFTWARE: 'CAT-db5d480c-5130-b42e-def4-f6dabf9c1d10',
|
|
111
|
+
DOCTOR: 'CAT-db6391b3-c218-fbe5-e496-139dca993645',
|
|
112
|
+
RETURNED_PURCHASE: 'CAT-dc201021-6aa2-636b-f041-8577e6f1bc73',
|
|
113
|
+
HOME_IMPROVEMENT: 'CAT-ddc9b8e0-a9a1-e31e-a467-2c33e553afd9',
|
|
114
|
+
AUTO_INSURANCE: 'CAT-de7c2dc7-90e6-85a2-6509-5ec10942e887',
|
|
115
|
+
PROPERTY_TAX: 'CAT-dfdf9324-3c48-589d-8886-bb21bb73b5d6',
|
|
116
|
+
DOMAIN_NAMES: 'CAT-e7c5ebc7-f73d-955a-db06-3724bbcf6faa',
|
|
117
|
+
HOME_SUPPLIES: 'CAT-e671e3a1-b7cb-f0a9-ac6e-bc4632245c31',
|
|
118
|
+
ADVERTISING: 'CAT-e6682ebe-f239-c654-8233-0970b94cc162',
|
|
119
|
+
CHECK: 'CAT-ea6db36f-3985-719d-1304-ccb7eeef5ecc',
|
|
120
|
+
DENTIST: 'CAT-ee48b740-c981-778b-3c02-04540dec0262',
|
|
121
|
+
BONUS: 'CAT-f52f2a88-2cb6-04e4-e36a-58f7b7c6a798',
|
|
122
|
+
PET_FOOD_SUPPLIES: 'CAT-fbcdb437-2533-2857-1d1a-0624c9d9e1dc',
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export const PaymentCategories = [
|
|
126
|
+
CategoryGuids.CREDIT_CARD_PAYMENT,
|
|
127
|
+
CategoryGuids.MORTGAGE_PAYMENT,
|
|
128
|
+
CategoryGuids.AUTO_PAYMENT,
|
|
129
|
+
]
|
|
130
|
+
|
|
131
|
+
export const CategoryGuidToName = {
|
|
132
|
+
// Top-level categories
|
|
133
|
+
[CategoryGuids.AUTO_AND_TRANSPORT]: 'Auto & Transport',
|
|
134
|
+
[CategoryGuids.BILLS_AND_UTILITIES]: 'Bills & Utilities',
|
|
135
|
+
[CategoryGuids.BUSINESS_SERVICES]: 'Business Services',
|
|
136
|
+
[CategoryGuids.EDUCATION]: 'Education',
|
|
137
|
+
[CategoryGuids.ENTERTAINMENT]: 'Entertainment',
|
|
138
|
+
[CategoryGuids.FEES_AND_CHARGES]: 'Fees & Charges',
|
|
139
|
+
[CategoryGuids.FINANCIAL]: 'Financial',
|
|
140
|
+
[CategoryGuids.FOOD_AND_DINING]: 'Food & Dining',
|
|
141
|
+
[CategoryGuids.GIFTS_AND_DONATIONS]: 'Gifts & Donations',
|
|
142
|
+
[CategoryGuids.HEALTH_AND_FITNESS]: 'Health & Fitness',
|
|
143
|
+
[CategoryGuids.HOME]: 'Home',
|
|
144
|
+
[CategoryGuids.INCOME]: 'Income',
|
|
145
|
+
[CategoryGuids.INVESTMENTS]: 'Investments',
|
|
146
|
+
[CategoryGuids.KIDS]: 'Kids',
|
|
147
|
+
[CategoryGuids.PERSONAL_CARE]: 'Personal Care',
|
|
148
|
+
[CategoryGuids.PETS]: 'Pets',
|
|
149
|
+
[CategoryGuids.SHOPPING]: 'Shopping',
|
|
150
|
+
[CategoryGuids.TAXES]: 'Taxes',
|
|
151
|
+
[CategoryGuids.TRANSFER]: 'Transfer',
|
|
152
|
+
[CategoryGuids.TRAVEL]: 'Travel',
|
|
153
|
+
[CategoryGuids.UNCATEGORIZED]: 'Uncategorized',
|
|
154
|
+
// Subcategories
|
|
155
|
+
[CategoryGuids.LOCAL_TAX]: 'Local Tax',
|
|
156
|
+
[CategoryGuids.WITHDRAWAL]: 'Withdrawal',
|
|
157
|
+
[CategoryGuids.TRADE_COMMISSIONS]: 'Trade Commissions',
|
|
158
|
+
[CategoryGuids.BABYSITTER_DAYCARE]: 'Babysitter & Daycare',
|
|
159
|
+
[CategoryGuids.CHILD_SUPPORT]: 'Child Support',
|
|
160
|
+
[CategoryGuids.CREDIT_CARD_PAYMENT]: 'Credit Card Payment',
|
|
161
|
+
[CategoryGuids.STUDENT_LOAN]: 'Student Loan',
|
|
162
|
+
[CategoryGuids.LIFE_INSURANCE]: 'Life Insurance',
|
|
163
|
+
[CategoryGuids.PRINTING]: 'Printing',
|
|
164
|
+
[CategoryGuids.FINANCIAL_ADVISOR]: 'Financial Advisor',
|
|
165
|
+
[CategoryGuids.INTEREST_INCOME]: 'Interest Income',
|
|
166
|
+
[CategoryGuids.LATE_FEE]: 'Late Fee',
|
|
167
|
+
[CategoryGuids.LAWN_GARDEN]: 'Lawn & Garden',
|
|
168
|
+
[CategoryGuids.FINANCE_CHARGE]: 'Finance Charge',
|
|
169
|
+
[CategoryGuids.FRAUD_PROTECTION]: 'Fraud Protection',
|
|
170
|
+
[CategoryGuids.MOVIES_DVDS]: 'Movies & DVDs',
|
|
171
|
+
[CategoryGuids.HOME_INSURANCE]: 'Home Insurance',
|
|
172
|
+
[CategoryGuids.CASH]: 'Cash',
|
|
173
|
+
[CategoryGuids.TUITION]: 'Tuition',
|
|
174
|
+
[CategoryGuids.HEALTH_INSURANCE]: 'Health Insurance',
|
|
175
|
+
[CategoryGuids.DIVIDEND_CAP_GAINS]: 'Dividend & Cap Gains',
|
|
176
|
+
[CategoryGuids.ALCOHOL_BARS]: 'Alcohol & Bars',
|
|
177
|
+
[CategoryGuids.LEGAL]: 'Legal',
|
|
178
|
+
[CategoryGuids.PUBLIC_TRANSPORTATION]: 'Public Transportation',
|
|
179
|
+
[CategoryGuids.MORTGAGE_RENT]: 'Mortgage & Rent',
|
|
180
|
+
[CategoryGuids.HOTEL]: 'Hotel',
|
|
181
|
+
[CategoryGuids.TRANSFER_FOR_CASH_SPENDING]: 'Transfer for Cash Spending',
|
|
182
|
+
[CategoryGuids.UTILITIES]: 'Utilities',
|
|
183
|
+
[CategoryGuids.DEPOSIT]: 'Deposit',
|
|
184
|
+
[CategoryGuids.HOME_PHONE]: 'Home Phone',
|
|
185
|
+
[CategoryGuids.SERVICE_PARTS]: 'Service Parts',
|
|
186
|
+
[CategoryGuids.INTERNET]: 'Internet',
|
|
187
|
+
[CategoryGuids.BOOKS]: 'Books',
|
|
188
|
+
[CategoryGuids.NEWSPAPERS_MAGAZINES]: 'Newspapers & Magazines',
|
|
189
|
+
[CategoryGuids.FAST_FOOD]: 'Fast Food',
|
|
190
|
+
[CategoryGuids.COFFEE_SHOPS]: 'Coffee Shops',
|
|
191
|
+
[CategoryGuids.SELL]: 'Sell',
|
|
192
|
+
[CategoryGuids.OFFICE_SUPPLIES]: 'Office Supplies',
|
|
193
|
+
[CategoryGuids.PET_GROOMING]: 'Pet Grooming',
|
|
194
|
+
[CategoryGuids.AMUSEMENT]: 'Amusement',
|
|
195
|
+
[CategoryGuids.BOOKS_SUPPLIES]: 'Books & Supplies',
|
|
196
|
+
[CategoryGuids.VACATION]: 'Vacation',
|
|
197
|
+
[CategoryGuids.SERVICE_FEE]: 'Service Fee',
|
|
198
|
+
[CategoryGuids.GIFT]: 'Gift',
|
|
199
|
+
[CategoryGuids.CHARITY]: 'Charity',
|
|
200
|
+
[CategoryGuids.PARKING]: 'Parking',
|
|
201
|
+
[CategoryGuids.SHIPPING]: 'Shipping',
|
|
202
|
+
[CategoryGuids.ARTS]: 'Arts',
|
|
203
|
+
[CategoryGuids.PAYCHECK]: 'Paycheck',
|
|
204
|
+
[CategoryGuids.FURNISHINGS]: 'Furnishings',
|
|
205
|
+
[CategoryGuids.RESTAURANTS]: 'Restaurants',
|
|
206
|
+
[CategoryGuids.SPA_MASSAGE]: 'Spa & Massage',
|
|
207
|
+
[CategoryGuids.RENTAL_CAR_TAXI]: 'Rental Car & Taxi',
|
|
208
|
+
[CategoryGuids.ALLOWANCE]: 'Allowance',
|
|
209
|
+
[CategoryGuids.BANKING_FEE]: 'Banking Fee',
|
|
210
|
+
[CategoryGuids.BUY]: 'Buy',
|
|
211
|
+
[CategoryGuids.STATE_TAX]: 'State Tax',
|
|
212
|
+
[CategoryGuids.TOYS]: 'Toys',
|
|
213
|
+
[CategoryGuids.KIDS_ACTIVITIES]: 'Kids Activities',
|
|
214
|
+
[CategoryGuids.RENTAL_INCOME]: 'Rental Income',
|
|
215
|
+
[CategoryGuids.VETERINARY]: 'Veterinary',
|
|
216
|
+
[CategoryGuids.SPORTING_GOODS]: 'Sporting Goods',
|
|
217
|
+
[CategoryGuids.LAUNDRY]: 'Laundry',
|
|
218
|
+
[CategoryGuids.CLOTHING]: 'Clothing',
|
|
219
|
+
[CategoryGuids.PHARMACY]: 'Pharmacy',
|
|
220
|
+
[CategoryGuids.HOME_SERVICES]: 'Home Services',
|
|
221
|
+
[CategoryGuids.ATM_FEE]: 'ATM Fee',
|
|
222
|
+
[CategoryGuids.HAIR]: 'Hair',
|
|
223
|
+
[CategoryGuids.GROCERIES]: 'Groceries',
|
|
224
|
+
[CategoryGuids.GAS]: 'Gas',
|
|
225
|
+
[CategoryGuids.FEDERAL_TAX]: 'Federal Tax',
|
|
226
|
+
[CategoryGuids.HOSTING]: 'Hosting',
|
|
227
|
+
[CategoryGuids.TELEVISION]: 'Television',
|
|
228
|
+
[CategoryGuids.MOBILE_PHONE]: 'Mobile Phone',
|
|
229
|
+
[CategoryGuids.BABY_SUPPLIES]: 'Baby Supplies',
|
|
230
|
+
[CategoryGuids.MUSIC]: 'Music',
|
|
231
|
+
[CategoryGuids.MORTGAGE_PAYMENT]: 'Mortgage Payment',
|
|
232
|
+
[CategoryGuids.SPORTS]: 'Sports',
|
|
233
|
+
[CategoryGuids.AUTO_PAYMENT]: 'Auto Payment',
|
|
234
|
+
[CategoryGuids.GYM]: 'Gym',
|
|
235
|
+
[CategoryGuids.REIMBURSEMENT]: 'Reimbursement',
|
|
236
|
+
[CategoryGuids.AIR_TRAVEL]: 'Air Travel',
|
|
237
|
+
[CategoryGuids.EYECARE]: 'Eyecare',
|
|
238
|
+
[CategoryGuids.HOBBIES]: 'Hobbies',
|
|
239
|
+
[CategoryGuids.SALES_TAX]: 'Sales Tax',
|
|
240
|
+
[CategoryGuids.ELECTRONICS_SOFTWARE]: 'Electronics & Software',
|
|
241
|
+
[CategoryGuids.DOCTOR]: 'Doctor',
|
|
242
|
+
[CategoryGuids.RETURNED_PURCHASE]: 'Returned Purchase',
|
|
243
|
+
[CategoryGuids.HOME_IMPROVEMENT]: 'Home Improvement',
|
|
244
|
+
[CategoryGuids.AUTO_INSURANCE]: 'Auto Insurance',
|
|
245
|
+
[CategoryGuids.PROPERTY_TAX]: 'Property Tax',
|
|
246
|
+
[CategoryGuids.DOMAIN_NAMES]: 'Domain Names',
|
|
247
|
+
[CategoryGuids.HOME_SUPPLIES]: 'Home Supplies',
|
|
248
|
+
[CategoryGuids.ADVERTISING]: 'Advertising',
|
|
249
|
+
[CategoryGuids.CHECK]: 'Check',
|
|
250
|
+
[CategoryGuids.DENTIST]: 'Dentist',
|
|
251
|
+
[CategoryGuids.BONUS]: 'Bonus',
|
|
252
|
+
[CategoryGuids.PET_FOOD_SUPPLIES]: 'Pet Food & Supplies',
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export const CategoryColors = {
|
|
256
|
+
[CategoryGuids.AUTO_AND_TRANSPORT]: '#4B9DBC',
|
|
257
|
+
[CategoryGuids.BILLS_AND_UTILITIES]: '#EF9B2C',
|
|
258
|
+
[CategoryGuids.BUSINESS_SERVICES]: '#B3DE8C',
|
|
259
|
+
[CategoryGuids.EDUCATION]: '#F8AB3A',
|
|
260
|
+
[CategoryGuids.ENTERTAINMENT]: '#AB5B89',
|
|
261
|
+
[CategoryGuids.FEES_AND_CHARGES]: '#FF9696',
|
|
262
|
+
[CategoryGuids.FINANCIAL]: '#6BCDDB',
|
|
263
|
+
[CategoryGuids.FOOD_AND_DINING]: '#58AC7B',
|
|
264
|
+
[CategoryGuids.GIFTS_AND_DONATIONS]: '#347AA5',
|
|
265
|
+
[CategoryGuids.HEALTH_AND_FITNESS]: '#5C446E',
|
|
266
|
+
[CategoryGuids.HOME]: '#FFD84D',
|
|
267
|
+
[CategoryGuids.INCOME]: '#133F49',
|
|
268
|
+
[CategoryGuids.INVESTMENTS]: '#FF7070',
|
|
269
|
+
[CategoryGuids.KIDS]: '#82D196',
|
|
270
|
+
[CategoryGuids.PERSONAL_CARE]: '#338B7A',
|
|
271
|
+
[CategoryGuids.PETS]: '#615BAB',
|
|
272
|
+
[CategoryGuids.SHOPPING]: '#CF5F84',
|
|
273
|
+
[CategoryGuids.TAXES]: '#32588D',
|
|
274
|
+
[CategoryGuids.TRANSFER]: '#959CA6',
|
|
275
|
+
[CategoryGuids.TRAVEL]: '#E37434',
|
|
276
|
+
[CategoryGuids.UNCATEGORIZED]: '#FA5555',
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
export const CategoryIcon = {
|
|
280
|
+
[CategoryGuids.AUTO_AND_TRANSPORT]: 'directions_car',
|
|
281
|
+
[CategoryGuids.BILLS_AND_UTILITIES]: 'electrical_services',
|
|
282
|
+
[CategoryGuids.BUSINESS_SERVICES]: 'business_center',
|
|
283
|
+
[CategoryGuids.EDUCATION]: 'school',
|
|
284
|
+
[CategoryGuids.ENTERTAINMENT]: 'stadium',
|
|
285
|
+
[CategoryGuids.FEES_AND_CHARGES]: 'problem',
|
|
286
|
+
[CategoryGuids.FINANCIAL]: 'price_check',
|
|
287
|
+
[CategoryGuids.FOOD_AND_DINING]: 'grocery',
|
|
288
|
+
[CategoryGuids.GIFTS_AND_DONATIONS]: 'featured_seasonal_and_gifts',
|
|
289
|
+
[CategoryGuids.HEALTH_AND_FITNESS]: 'ecg_heart',
|
|
290
|
+
[CategoryGuids.HOME]: 'cottage',
|
|
291
|
+
[CategoryGuids.INCOME]: 'monetization_on',
|
|
292
|
+
[CategoryGuids.INVESTMENTS]: 'bid_landscape',
|
|
293
|
+
[CategoryGuids.KIDS]: 'face',
|
|
294
|
+
[CategoryGuids.PERSONAL_CARE]: 'volunteer_activism',
|
|
295
|
+
[CategoryGuids.PETS]: 'pet_supplies',
|
|
296
|
+
[CategoryGuids.SHOPPING]: 'shopping_cart',
|
|
297
|
+
[CategoryGuids.TAXES]: 'heap_snapshot_large',
|
|
298
|
+
[CategoryGuids.TRANSFER]: 'compare_arrows',
|
|
299
|
+
[CategoryGuids.TRAVEL]: 'airplane_ticket',
|
|
300
|
+
[CategoryGuids.UNCATEGORIZED]: 'category',
|
|
301
|
+
UNKNOWN: 'help',
|
|
302
|
+
}
|