@mx-cartographer/experiences 6.26.18-alpha.mega2 → 6.26.18-alpha.mega3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -4
- package/dist/accounts/AccountsMiniWidget/index.es.js +45 -0
- package/dist/accounts/AccountsWidget/index.es.js +67 -0
- package/dist/accounts/ConnectMiniWidget/index.es.js +41 -0
- package/dist/accounts/api/AccountApi/index.es.js +20 -0
- package/dist/accounts/components/AccountListItem/index.es.js +84 -0
- package/dist/accounts/components/AccountsList/index.es.js +164 -0
- package/dist/accounts/components/ConnectImage/index.es.js +444 -0
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
- package/dist/accounts/components/ConnectStatus/index.es.js +37 -0
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +12 -0
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +54 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +21 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +103 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +120 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +58 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +43 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +47 -0
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +20 -0
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +74 -0
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
- package/dist/accounts/constants/Accounts/index.es.js +5 -0
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
- package/dist/accounts/hooks/useUiStore/index.es.js +11 -0
- package/dist/accounts/index.es.js +26 -0
- package/dist/accounts/stores/AccountStore/index.es.js +204 -0
- package/dist/accounts/stores/UiStore/index.es.js +15 -0
- package/dist/accounts/utils/AccountFields/index.es.js +136 -0
- package/dist/accounts/utils/Accounts/index.es.js +9 -0
- package/dist/accounts/utils/getConnectionMessages/index.es.js +162 -0
- package/dist/analytics/SurveyMiniWidget/index.es.js +101 -0
- package/dist/analytics/components/OpenTextField/index.es.js +23 -0
- package/dist/analytics/components/RatingScale/index.es.js +68 -0
- package/dist/analytics/index.es.js +4 -0
- package/dist/analytics/stores/AnalyticsStore/index.es.js +54 -0
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +71 -0
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +139 -0
- package/dist/budgets/api/BudgetsApi/index.es.js +26 -0
- package/dist/budgets/components/AddBudgets/index.es.js +30 -0
- package/dist/budgets/components/BubbleBudgets/index.es.js +61 -0
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +97 -0
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +27 -0
- package/dist/budgets/components/BubbleChart/index.es.js +22 -0
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +95 -0
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +42 -0
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +36 -0
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +16 -0
- package/dist/budgets/components/BudgetList/index.es.js +30 -0
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +85 -0
- package/dist/budgets/components/Overview/index.es.js +105 -0
- package/dist/budgets/components/addbudget/Header/index.es.js +28 -0
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +39 -0
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +46 -0
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +73 -0
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +75 -0
- package/dist/budgets/components/budgetdetails/Header/index.es.js +31 -0
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +102 -0
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +37 -0
- package/dist/budgets/index.es.js +6 -0
- package/dist/budgets/store/BudgetsStore/index.es.js +139 -0
- package/dist/budgets/utils/BubblesSVG/index.es.js +51 -0
- package/dist/budgets/utils/BudgetUtil/index.es.js +70 -0
- package/dist/cashflow/CashflowMiniWidget/index.es.js +27 -0
- package/dist/cashflow/CashflowOnboarding/index.es.js +220 -0
- package/dist/cashflow/CashflowWidget/index.es.js +91 -0
- package/dist/cashflow/api/CashflowApi/index.es.js +25 -0
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +32 -0
- package/dist/cashflow/components/CashflowContent/index.es.js +61 -0
- package/dist/cashflow/components/CashflowHeading/index.es.js +113 -0
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +146 -0
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +38 -0
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +31 -0
- package/dist/cashflow/components/DetailsFooter/index.es.js +22 -0
- package/dist/cashflow/components/DetailsTab/index.es.js +92 -0
- package/dist/cashflow/components/RemainingCash/index.es.js +27 -0
- package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +82 -0
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +17 -0
- package/dist/cashflow/constants/CashflowImages/index.es.js +7 -0
- package/dist/cashflow/context/hooks/index.es.js +11 -0
- package/dist/cashflow/index.es.js +12 -0
- package/dist/cashflow/stores/CashflowStore/index.es.js +19 -0
- package/dist/cashflow/stores/UiStore/index.es.js +38 -0
- package/dist/cashflow/util/Filters/index.es.js +7 -0
- package/dist/categories/components/CategoryList/index.es.js +38 -0
- package/dist/categories/components/CategoryRow/index.es.js +58 -0
- package/dist/categories/components/CategorySelector/index.es.js +48 -0
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +40 -0
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +66 -0
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +30 -0
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
- package/dist/categories/components/SubcategoryList/index.es.js +39 -0
- package/dist/categories/components/SubcategoryRow/index.es.js +103 -0
- package/dist/categories/constants/OnClickEvents/index.es.js +16 -0
- package/dist/categories/context/hooks/index.es.js +11 -0
- package/dist/categories/index.es.js +12 -0
- package/dist/categories/stores/CategoryStore/index.es.js +135 -0
- package/dist/categories/stores/UiStore/index.es.js +27 -0
- package/dist/categories/util/CategoryUtil/index.es.js +78 -0
- package/dist/common/api/AnalyticsApi/index.es.js +34 -0
- package/dist/common/api/AppDataApi/index.es.js +12 -0
- package/dist/common/api/BannerApi/index.es.js +21 -0
- package/dist/common/api/BeatApi/index.es.js +22 -0
- package/dist/common/api/CategoryApi/index.es.js +30 -0
- package/dist/common/api/GlobalCopyApi/index.es.js +12 -0
- package/dist/common/api/LocalizedCopyApi/index.es.js +13 -0
- package/dist/common/api/NotificationApi/index.es.js +21 -0
- package/dist/common/api/ScheduledPaymentsApi/index.es.js +20 -0
- package/dist/common/api/UserApi/index.es.js +14 -0
- package/dist/common/api/WidgetApi/index.es.js +12 -0
- package/dist/common/components/Banner/index.es.js +49 -0
- package/dist/common/components/ConnectCard/index.es.js +56 -0
- package/dist/common/components/ConnectDrawer/index.es.js +58 -0
- package/dist/common/components/CurrencyInput/index.es.js +84 -0
- package/dist/common/components/CurrencyText/index.es.js +20 -0
- package/dist/common/components/DataRow/index.es.js +29 -0
- package/dist/common/components/EmptyState/index.es.js +55 -0
- package/dist/common/components/ErrorBoundary/index.es.js +24 -0
- package/dist/common/components/IconBacking/index.es.js +39 -0
- package/dist/common/components/InformationTooltip/index.es.js +41 -0
- package/dist/common/components/ListItemAction/index.es.js +69 -0
- package/dist/common/components/ListItemRow/index.es.js +67 -0
- package/dist/common/components/ListItemWrapper/index.es.js +32 -0
- package/dist/common/components/Loader/index.es.js +14 -0
- package/dist/common/components/MicroWidgetContainer/index.es.js +45 -0
- package/dist/common/components/MiniWidgetContainer/index.es.js +39 -0
- package/dist/common/components/ResponsiveButton/index.es.js +45 -0
- package/dist/common/components/SearchBox/index.es.js +42 -0
- package/dist/common/components/Select/index.es.js +25 -0
- package/dist/common/components/SelectionBox/index.es.js +48 -0
- package/dist/common/components/SubheaderRow/index.es.js +10 -0
- package/dist/common/components/TabContentContainer/index.es.js +21 -0
- package/dist/common/components/WidgetContainer/index.es.js +195 -0
- package/dist/common/components/accountfilter/AccountFilter/index.es.js +93 -0
- package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +222 -0
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +43 -0
- package/dist/common/components/barchart/Bar/index.es.js +79 -0
- package/dist/common/components/barchart/BarChart/index.es.js +70 -0
- package/dist/common/components/barchart/BarColumn/index.es.js +86 -0
- package/dist/common/components/barchart/Legend/index.es.js +45 -0
- package/dist/common/components/barchart/Util/index.es.js +11 -0
- package/dist/common/components/calendar/Calendar/index.es.js +131 -0
- package/dist/common/components/calendar/Day/index.es.js +96 -0
- package/dist/common/components/calendar/Header/index.es.js +32 -0
- package/dist/common/components/charts/Donut/index.es.js +57 -0
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +64 -0
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +22 -0
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +65 -0
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +73 -0
- package/dist/common/components/charts/LineChart/index.es.js +208 -0
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +24 -0
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +69 -0
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +70 -0
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +22 -0
- package/dist/common/components/charts/StackedLineChart/index.es.js +222 -0
- package/dist/common/components/charts/StatusBar/index.es.js +30 -0
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +254 -0
- package/dist/common/components/dialog/Dialog/index.es.js +61 -0
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +60 -0
- package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +68 -0
- package/dist/common/components/drawer/Drawer/index.es.js +71 -0
- package/dist/common/components/drawer/Header/index.es.js +51 -0
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +36 -0
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +42 -0
- package/dist/common/components/listitems/ToggleListItem/index.es.js +38 -0
- package/dist/common/constants/Account/index.es.js +30 -0
- package/dist/common/constants/Analytics/index.es.js +117 -0
- package/dist/common/constants/ApiEndpoints/index.es.js +50 -0
- package/dist/common/constants/Category/index.es.js +301 -0
- package/dist/common/constants/Connect/index.es.js +5 -0
- package/dist/common/constants/DateFormats/index.es.js +65 -0
- package/dist/common/constants/DefaultConfig/index.es.js +105 -0
- package/dist/common/constants/Donut/index.es.js +5 -0
- package/dist/common/constants/FinStrong/index.es.js +31 -0
- package/dist/common/constants/Numbers/index.es.js +6 -0
- package/dist/common/constants/ScheduledPayment/index.es.js +15 -0
- package/dist/common/constants/Sizes/index.es.js +6 -0
- package/dist/common/constants/SpendingPlan/index.es.js +11 -0
- package/dist/common/constants/Table/index.es.js +16 -0
- package/dist/common/context/GlobalDataProvider/index.es.js +23 -0
- package/dist/common/context/WidgetContainerProvider/index.es.js +17 -0
- package/dist/common/context/hooks/index.es.js +44 -0
- package/dist/common/context/hooks.d.ts +13 -13
- package/dist/common/hooks/useCombineEvents/index.es.js +20 -0
- package/dist/common/hooks/useDimensions/index.es.js +36 -0
- package/dist/common/hooks/useInsightsEnabled/index.es.js +11 -0
- package/dist/common/hooks/usePrevious/index.es.js +11 -0
- package/dist/common/hooks/useScreenSize/index.es.js +36 -0
- package/dist/common/index.es.js +234 -0
- package/dist/common/stores/AppDataStore/index.es.js +57 -0
- package/dist/common/stores/ConnectStore/index.es.js +15 -0
- package/dist/common/stores/GlobalCopyStore/index.es.js +35 -0
- package/dist/common/stores/GlobalStore/index.es.js +90 -0
- package/dist/common/stores/GlobalUiStore/index.es.js +54 -0
- package/dist/common/stores/UserStore/index.es.js +50 -0
- package/dist/common/types/Account/index.es.js +118 -0
- package/dist/common/types/Beat/index.es.js +4 -0
- package/dist/common/types/Expense/index.es.js +5 -0
- package/dist/common/types/Goal/index.es.js +6 -0
- package/dist/common/types/Notification/index.es.js +7 -0
- package/dist/common/types/RepeatingTransaction/index.es.js +7 -0
- package/dist/common/types/ScreenSize/index.es.js +4 -0
- package/dist/common/types/Transaction/index.es.js +5 -0
- package/dist/common/utils/AccountFilter/index.es.js +13 -0
- package/dist/common/utils/Analytics/index.es.js +36 -0
- package/dist/common/utils/Categories/index.es.js +37 -0
- package/dist/common/utils/DateUtil/index.es.js +48 -0
- package/dist/common/utils/Fetch/index.es.js +69 -0
- package/dist/common/utils/Localization/index.es.js +30 -0
- package/dist/common/utils/NumberFormatting/index.es.js +38 -0
- package/dist/common/utils/PostMessage/index.es.js +19 -0
- package/dist/common/utils/Theme/index.es.js +136 -0
- package/dist/dashboard/Dashboard/index.es.js +47 -0
- package/dist/dashboard/Greeting/index.es.js +71 -0
- package/dist/dashboard/constants/Dashboard/index.es.js +4 -0
- package/dist/dashboard/index.es.js +6 -0
- package/dist/debts/DebtsWidget/index.es.js +111 -0
- package/dist/debts/components/DebtDrawer/index.es.js +28 -0
- package/dist/debts/components/DebtsChart/index.es.js +134 -0
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +24 -0
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +32 -0
- package/dist/debts/components/DebtsTable/index.es.js +174 -0
- package/dist/debts/components/PaydownDrawer/index.es.js +21 -0
- package/dist/debts/components/SnowballCard/index.es.js +65 -0
- package/dist/debts/components/SnowballDrawer/index.es.js +374 -0
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +28 -0
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +46 -0
- package/dist/debts/components/actions/InterestRateAction/index.es.js +42 -0
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +44 -0
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +44 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +41 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +51 -0
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +38 -0
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +80 -0
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +61 -0
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +25 -0
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +31 -0
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +34 -0
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +74 -0
- package/dist/debts/constants/index/index.es.js +4 -0
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +11 -0
- package/dist/debts/index.es.js +10 -0
- package/dist/debts/store/DebtsStore/index.es.js +20 -0
- package/dist/debts/store/DebtsUiStore/index.es.js +23 -0
- package/dist/debts/utils/DebtStore/index.es.js +26 -0
- package/dist/debts/utils/DebtsChart/index.es.js +13 -0
- package/dist/debts/utils/DebtsTable/index.es.js +15 -0
- package/dist/debts/utils/DebtsWidget/index.es.js +42 -0
- package/dist/debts/utils/SnowballCard/index.es.js +37 -0
- package/dist/debts/utils/shared/index.es.js +21 -0
- package/dist/finstrong/FinancialStrengthCard/index.es.js +113 -0
- package/dist/finstrong/FinstrongWidget/index.es.js +141 -0
- package/dist/finstrong/api/FinstrongApi/index.es.js +15 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +76 -0
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +75 -0
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +30 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +49 -0
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +63 -0
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +58 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +68 -0
- package/dist/finstrong/components/ManageCreditScore/index.es.js +49 -0
- package/dist/finstrong/components/ManageDOB/index.es.js +62 -0
- package/dist/finstrong/components/MissingData/index.es.js +38 -0
- package/dist/finstrong/components/ProfileDrawer/index.es.js +107 -0
- package/dist/finstrong/components/ProfileList/index.es.js +56 -0
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +26 -0
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +69 -0
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +63 -0
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +190 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +106 -0
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +20 -0
- package/dist/finstrong/index.es.js +14 -0
- package/dist/finstrong/stores/FinstrongStore/index.es.js +81 -0
- package/dist/finstrong/util/finstrongUtils/index.es.js +108 -0
- package/dist/finstrong/utils/Finstrong/index.es.js +13 -0
- package/dist/goals/GoalsMicroWidget/index.es.js +51 -0
- package/dist/goals/GoalsWidget/index.es.js +138 -0
- package/dist/goals/api/GoalApi/index.es.js +26 -0
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +73 -0
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +51 -0
- package/dist/goals/components/AddGoal/index.es.js +56 -0
- package/dist/goals/components/GoalDetails/index.es.js +69 -0
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +82 -0
- package/dist/goals/components/GoalList/index.es.js +87 -0
- package/dist/goals/components/GoalStatusCard/index.es.js +59 -0
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +35 -0
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +47 -0
- package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +118 -0
- package/dist/goals/components/ManageGoals/index.es.js +74 -0
- package/dist/goals/components/TabTitle/index.es.js +12 -0
- package/dist/goals/components/actions/AccountAction/index.es.js +46 -0
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +66 -0
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +46 -0
- package/dist/goals/components/actions/BirthdayAction/index.es.js +42 -0
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +91 -0
- package/dist/goals/components/actions/ContributionAction/index.es.js +46 -0
- package/dist/goals/components/actions/GoalNameAction/index.es.js +42 -0
- package/dist/goals/components/actions/InterestRateAction/index.es.js +44 -0
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +45 -0
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +45 -0
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +43 -0
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +42 -0
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +31 -0
- package/dist/goals/index.es.js +10 -0
- package/dist/goals/stores/GoalStore/index.es.js +184 -0
- package/dist/goals/util/GoalsUtil/index.es.js +98 -0
- package/dist/help/HelpWidget/index.es.js +13 -0
- package/dist/help/api/HelpApi/index.es.js +12 -0
- package/dist/help/components/Help/index.es.js +45 -0
- package/dist/help/components/HelpContent/index.es.js +32 -0
- package/dist/help/components/HelpList/index.es.js +118 -0
- package/dist/help/components/content/BottomImageContent/index.es.js +50 -0
- package/dist/help/components/content/ContentItem/index.es.js +21 -0
- package/dist/help/components/content/Header/index.es.js +62 -0
- package/dist/help/components/content/LeftImageContent/index.es.js +50 -0
- package/dist/help/components/content/NoImageContent/index.es.js +14 -0
- package/dist/help/components/content/RightImageContent/index.es.js +48 -0
- package/dist/help/components/content/TopImageContent/index.es.js +50 -0
- package/dist/help/components/content/section/Accounts/index.es.js +249 -0
- package/dist/help/components/content/section/Budgets/index.es.js +102 -0
- package/dist/help/components/content/section/CashFlow/index.es.js +71 -0
- package/dist/help/components/content/section/Debts/index.es.js +252 -0
- package/dist/help/components/content/section/General/index.es.js +163 -0
- package/dist/help/components/content/section/Goals/index.es.js +195 -0
- package/dist/help/components/content/section/Insights/index.es.js +136 -0
- package/dist/help/components/content/section/Investments/index.es.js +71 -0
- package/dist/help/components/content/section/Mobile/index.es.js +85 -0
- package/dist/help/components/content/section/NetWorth/index.es.js +142 -0
- package/dist/help/components/content/section/Notifications/index.es.js +120 -0
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +104 -0
- package/dist/help/components/content/section/Spending/index.es.js +112 -0
- package/dist/help/components/content/section/Transactions/index.es.js +389 -0
- package/dist/help/components/content/section/Trends/index.es.js +83 -0
- package/dist/help/components/content/section/index/index.es.js +35 -0
- package/dist/help/components/content/section/index.d.ts +15 -15
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +99 -0
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +82 -0
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +95 -0
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +50 -0
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +22 -0
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +30 -0
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +179 -0
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +26 -0
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +39 -0
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +75 -0
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +29 -0
- package/dist/help/constants/Help/index.es.js +299 -0
- package/dist/help/constants/HelpImages/index.es.js +47 -0
- package/dist/help/index.es.js +6 -0
- package/dist/help/store/HelpStore/index.es.js +42 -0
- package/dist/help/utils/getAccessibleHelpCategories/index.es.js +21 -0
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +14 -0
- package/dist/index.d.ts +0 -22
- package/dist/insights/index.d.ts +1 -0
- package/dist/insights/index.es.js +4 -0
- package/dist/insights/store/BeatStore/index.es.js +35 -0
- package/dist/investments/InvestmentsWidget/index.es.js +107 -0
- package/dist/investments/api/HoldingApi/index.es.js +13 -0
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +126 -0
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +67 -0
- package/dist/investments/components/Allocation/index.es.js +67 -0
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +134 -0
- package/dist/investments/components/Analysis/index.es.js +169 -0
- package/dist/investments/components/AnalysisDetails/index.es.js +81 -0
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
- package/dist/investments/components/HeaderCell/index.es.js +11 -0
- package/dist/investments/components/HoldingDrawer/index.es.js +322 -0
- package/dist/investments/components/HoldingTable/index.es.js +183 -0
- package/dist/investments/components/InfoToolTip/index.es.js +25 -0
- package/dist/investments/components/Overview/index.es.js +441 -0
- package/dist/investments/components/TabTitle/index.es.js +6 -0
- package/dist/investments/constants/index/index.es.js +53 -0
- package/dist/investments/index.es.js +4 -0
- package/dist/investments/stores/HoldingStore/index.es.js +59 -0
- package/dist/investments/util/InvestmentUtil/index.es.js +100 -0
- package/dist/merchants/api/MerchantApi/index.es.js +16 -0
- package/dist/merchants/components/MerchantLookup/index.es.js +77 -0
- package/dist/merchants/index.es.js +6 -0
- package/dist/merchants/stores/MerchantStore/index.es.js +26 -0
- package/dist/microinsights/analytics/index.es.js +10 -0
- package/dist/microinsights/components/MicroWidgetContainer/index.es.js +28 -0
- package/dist/microinsights/components/beatCard/BeatCard/index.es.js +98 -0
- package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +13 -0
- package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +22 -0
- package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +24 -0
- package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +31 -0
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +14 -0
- package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +786 -0
- package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +82 -0
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +105 -0
- package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +101 -0
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +187 -0
- package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +152 -0
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +67 -0
- package/dist/microinsights/components/spinner/Spinner/index.es.js +19 -0
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +58 -0
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +55 -0
- package/dist/microinsights/constants/Analytics/index.es.js +163 -0
- package/dist/microinsights/constants/App/index.es.js +11 -0
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +12 -0
- package/dist/microinsights/context/hooks/index.es.js +31 -0
- package/dist/microinsights/index.es.js +28 -0
- package/dist/microinsights/stores/AppStore/index.es.js +25 -0
- package/dist/microinsights/stores/CopyStore/index.es.js +32 -0
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +31 -0
- package/dist/microinsights/utils/DataSeries/index.es.js +9 -0
- package/dist/microinsights/utils/beatUtils/index.es.js +51 -0
- package/dist/networth/NetWorthMicroWidget/index.es.js +44 -0
- package/dist/networth/NetWorthWidget/index.es.js +159 -0
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +109 -0
- package/dist/networth/components/GainsLossesDetail/index.es.js +94 -0
- package/dist/networth/components/NetWorthChange/index.es.js +31 -0
- package/dist/networth/components/NetWorthChart/index.es.js +45 -0
- package/dist/networth/components/NetWorthList/index.es.js +60 -0
- package/dist/networth/components/NetWorthListItem/index.es.js +60 -0
- package/dist/networth/components/NetWorthSummary/index.es.js +20 -0
- package/dist/networth/components/micro/NetworthData/index.es.js +21 -0
- package/dist/networth/components/micro/ZeroState/index.es.js +14 -0
- package/dist/networth/index.es.js +14 -0
- package/dist/networth/stores/NetWorthStore/index.es.js +65 -0
- package/dist/networth/utils/NetWorthUtils/index.es.js +95 -0
- package/dist/notifications/components/DateRow/index.es.js +8 -0
- package/dist/notifications/components/NotificationBadge/index.es.js +26 -0
- package/dist/notifications/components/NotificationCard/index.es.js +42 -0
- package/dist/notifications/components/NotificationDrawer/index.es.js +67 -0
- package/dist/notifications/components/NotificationList/index.es.js +36 -0
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +34 -0
- package/dist/notifications/constants/NotificationConstants/index.es.js +22 -0
- package/dist/notifications/index.es.js +12 -0
- package/dist/notifications/stores/NotificationStore/index.es.js +37 -0
- package/dist/notifications/utils/NotificationUtils/index.es.js +16 -0
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +179 -0
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +37 -0
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +67 -0
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +18 -0
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +32 -0
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +100 -0
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +20 -0
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +69 -0
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +149 -0
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +42 -0
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +130 -0
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +163 -0
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +56 -0
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +17 -0
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +44 -0
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +31 -0
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +32 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +84 -0
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +68 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +114 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +44 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +31 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +38 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +108 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +37 -0
- package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +36 -0
- package/dist/recurringtransactions/index.es.js +20 -0
- package/dist/recurringtransactions/stores/RecurringTransactionsStore/index.es.js +247 -0
- package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +232 -0
- package/dist/settings/NotificationSettingsWidget/index.es.js +13 -0
- package/dist/settings/SettingsWidget/index.es.js +55 -0
- package/dist/settings/TransactionRulesWidget/index.es.js +12 -0
- package/dist/settings/api/SettingsApi/index.es.js +23 -0
- package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
- package/dist/settings/components/devices/DeviceDialog/index.es.js +129 -0
- package/dist/settings/components/devices/DeviceList/index.es.js +118 -0
- package/dist/settings/components/devices/DeviceTab/index.es.js +79 -0
- package/dist/settings/components/devices/DeviceTable/index.es.js +134 -0
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +80 -0
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +55 -0
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +102 -0
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +77 -0
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +12 -0
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +96 -0
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +89 -0
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +99 -0
- package/dist/settings/components/profile/ProfileTab/index.es.js +204 -0
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +63 -0
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +80 -0
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +36 -0
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +23 -0
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +38 -0
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +52 -0
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +33 -0
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +52 -0
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +20 -0
- package/dist/settings/constants/Settings/index.es.js +4 -0
- package/dist/settings/index.es.js +29 -0
- package/dist/settings/stores/SettingsStore/index.es.js +187 -0
- package/dist/settings/util/Notifications/index.es.js +64 -0
- package/dist/spending/SpendingMiniWidget/index.es.js +26 -0
- package/dist/spending/SpendingWidget/index.es.js +38 -0
- package/dist/spending/components/MiniSpendingChart/index.es.js +115 -0
- package/dist/spending/components/Spending/index.es.js +141 -0
- package/dist/spending/components/SpendingChart/index.es.js +61 -0
- package/dist/spending/components/SpendingDonut/index.es.js +69 -0
- package/dist/spending/components/SpendingLegend/index.es.js +25 -0
- package/dist/spending/components/SpendingList/index.es.js +96 -0
- package/dist/spending/components/SpendingTabLabel/index.es.js +11 -0
- package/dist/spending/index.es.js +6 -0
- package/dist/spending/utils/SpendingData/index.es.js +86 -0
- package/dist/transactions/TransactionWidget/index.es.js +242 -0
- package/dist/transactions/analytics/index.es.js +5 -0
- package/dist/transactions/api/TransactionApi/index.es.js +87 -0
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +68 -0
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +43 -0
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +126 -0
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +27 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +81 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +60 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +90 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +91 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +143 -0
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +75 -0
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +79 -0
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +84 -0
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +17 -0
- package/dist/transactions/components/shared/TransactionList/index.es.js +82 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +9 -0
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +20 -0
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +29 -0
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +8 -0
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +38 -0
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +6 -0
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +16 -0
- package/dist/transactions/components/shared/TransactionTable/index.es.js +110 -0
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +69 -0
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +126 -0
- package/dist/transactions/components/tagmanager/Header/index.es.js +78 -0
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +37 -0
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +32 -0
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +114 -0
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +29 -0
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +54 -0
- package/dist/transactions/constants/Actions/index.es.js +19 -0
- package/dist/transactions/constants/Analytics/index.es.js +259 -0
- package/dist/transactions/constants/OnClickEvents/index.es.js +48 -0
- package/dist/transactions/constants/Transaction/index.es.js +33 -0
- package/dist/transactions/constants/TransactionsTable/index.es.js +11 -0
- package/dist/transactions/context/hooks/index.es.js +11 -0
- package/dist/transactions/index.es.js +27 -0
- package/dist/transactions/stores/TransactionStore/index.es.js +224 -0
- package/dist/transactions/stores/UiStore/index.es.js +48 -0
- package/dist/transactions/utils/Filters/index.es.js +9 -0
- package/dist/transactions/utils/Transactions/index.es.js +13 -0
- package/dist/transactions/utils/buildDetailedTransactions/index.es.js +35 -0
- package/dist/transactions/utils/exportTransactionsToCSV/index.es.js +47 -0
- package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +44 -0
- package/dist/trends/TrendsFullWidget/index.es.js +157 -0
- package/dist/trends/TrendsMicroWidget/index.es.js +86 -0
- package/dist/trends/TrendsMiniWidget/index.es.js +28 -0
- package/dist/trends/TrendsWidget/index.es.js +173 -0
- package/dist/trends/ZeroStateMicroWidget/index.es.js +19 -0
- package/dist/trends/components/CategoriesList/index.es.js +62 -0
- package/dist/trends/components/CategoriesListItem/index.es.js +25 -0
- package/dist/trends/components/CategoryDetailChart/index.es.js +34 -0
- package/dist/trends/components/CategoryDetailDrawer/index.es.js +44 -0
- package/dist/trends/components/DateRangeText/index.es.js +39 -0
- package/dist/trends/components/SpendingChart/index.es.js +28 -0
- package/dist/trends/components/TransactionsList/index.es.js +81 -0
- package/dist/trends/components/TrendsChart/index.es.js +45 -0
- package/dist/trends/components/TrendsChartTotals/index.es.js +56 -0
- package/dist/trends/components/TrendsDrawer/index.es.js +48 -0
- package/dist/trends/components/TrendsInsights/index.es.js +43 -0
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +96 -0
- package/dist/trends/components/TrendsTable/AmountCell/index.es.js +10 -0
- package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +30 -0
- package/dist/trends/components/TrendsTable/HeaderCell/index.es.js +6 -0
- package/dist/trends/components/TrendsTable/index.es.js +96 -0
- package/dist/trends/components/TrendsViewToggle/index.es.js +17 -0
- package/dist/trends/constants/TrendsInsights/index.es.js +38 -0
- package/dist/trends/index.es.js +12 -0
- package/dist/trends/stores/TrendsStore/index.es.js +77 -0
- package/dist/trends/utils/SpendingData/index.es.js +47 -0
- package/dist/trends/utils/TrendsData/index.es.js +41 -0
- package/dist/trends/utils/shared/index.es.js +15 -0
- package/package.json +155 -3
- package/dist/index.es.js +0 -30339
- package/dist/index.es.js.map +0 -1
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
- /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
- /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
- /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
- /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
- /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
- /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
- /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
- /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/HideAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/DateRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
- /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/AmountCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/CategoryCell.d.ts +0 -0
- /package/dist/trends/components/{trendstable → TrendsTable}/HeaderCell.d.ts +0 -0
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { jsxs as r, jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import u from "react";
|
|
3
|
+
import { observer as R } from "mobx-react-lite";
|
|
4
|
+
import T from "@mui/material/Box";
|
|
5
|
+
import w from "@mui/material/Chip";
|
|
6
|
+
import f from "@mui/material/IconButton";
|
|
7
|
+
import I from "@mui/material/ListItem";
|
|
8
|
+
import L from "@mui/material/ListItemButton";
|
|
9
|
+
import B from "@mui/material/ListItemText";
|
|
10
|
+
import { CheckCircle as G, Edit as N, Delete as O } from "@mxenabled/mx-icons";
|
|
11
|
+
import k from "../CustomCategories/RenameSubcategory/index.es.js";
|
|
12
|
+
import v from "../CustomCategories/DeleteSubcategory/index.es.js";
|
|
13
|
+
import { useCategoryUiStore as A } from "../../context/hooks/index.es.js";
|
|
14
|
+
import { ON_CLICK_EVENTS as i } from "../../constants/OnClickEvents/index.es.js";
|
|
15
|
+
import { buildDynamicCopy as S } from "../../../common/utils/Localization/index.es.js";
|
|
16
|
+
import { useGlobalCopyStore as K, useEvent as U } from "../../../common/context/hooks/index.es.js";
|
|
17
|
+
const Y = ({ parentCategory: h, subCategory: e }) => {
|
|
18
|
+
const {
|
|
19
|
+
onSelect: E,
|
|
20
|
+
selectedGuid: _,
|
|
21
|
+
setSelectedGuid: C,
|
|
22
|
+
setShouldDisableDrawerScroll: a,
|
|
23
|
+
showSelected: g,
|
|
24
|
+
unselectable: y,
|
|
25
|
+
unselectableText: b
|
|
26
|
+
} = A(), { categories: l } = K(), { onEvent: t } = U(), [c, s] = u.useState(!1), [m, n] = u.useState(!1), x = !!e.revision, d = e.guid === _, p = !y.some((D) => D === e.guid);
|
|
27
|
+
return /* @__PURE__ */ r(
|
|
28
|
+
I,
|
|
29
|
+
{
|
|
30
|
+
className: "mx-cat-subcategory-row",
|
|
31
|
+
disableGutters: !0,
|
|
32
|
+
disablePadding: !0,
|
|
33
|
+
sx: { pl: 58 },
|
|
34
|
+
children: [
|
|
35
|
+
/* @__PURE__ */ r(
|
|
36
|
+
L,
|
|
37
|
+
{
|
|
38
|
+
"aria-pressed": d,
|
|
39
|
+
color: "secondary",
|
|
40
|
+
onClick: () => {
|
|
41
|
+
p && (C(e.guid), E(e.guid), t(i.ON_CATEGORY_SELECTED));
|
|
42
|
+
},
|
|
43
|
+
sx: { height: 44 },
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ o(
|
|
46
|
+
B,
|
|
47
|
+
{
|
|
48
|
+
primary: e.name,
|
|
49
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
g && d && /* @__PURE__ */ o(G, { fontSize: "small" }),
|
|
53
|
+
!p && /* @__PURE__ */ o(w, { label: b })
|
|
54
|
+
]
|
|
55
|
+
}
|
|
56
|
+
),
|
|
57
|
+
x && /* @__PURE__ */ r(T, { className: "mx-cat-subcategory-edit-container", sx: { marginRight: 24 }, children: [
|
|
58
|
+
/* @__PURE__ */ o(
|
|
59
|
+
f,
|
|
60
|
+
{
|
|
61
|
+
"aria-label": S(l.edit_subcategory_aria, e.name),
|
|
62
|
+
onClick: () => {
|
|
63
|
+
s(!0), a(!0), t(i.ON_SUBCATEGORY_EDIT_CLICK);
|
|
64
|
+
},
|
|
65
|
+
children: /* @__PURE__ */ o(N, { color: "secondary" })
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
/* @__PURE__ */ o(
|
|
69
|
+
f,
|
|
70
|
+
{
|
|
71
|
+
"aria-label": S(l.delete_subcategory_aria, e.name),
|
|
72
|
+
edge: "end",
|
|
73
|
+
onClick: () => {
|
|
74
|
+
n(!0), a(!0), t(i.ON_SUBCATEGORY_DELETE_CLICK);
|
|
75
|
+
},
|
|
76
|
+
children: /* @__PURE__ */ o(O, { color: "secondary" })
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
] }),
|
|
80
|
+
m && /* @__PURE__ */ o(
|
|
81
|
+
v,
|
|
82
|
+
{
|
|
83
|
+
parentCategory: h,
|
|
84
|
+
setShowDelete: n,
|
|
85
|
+
showDelete: m,
|
|
86
|
+
subCategory: e
|
|
87
|
+
}
|
|
88
|
+
),
|
|
89
|
+
c && /* @__PURE__ */ o(
|
|
90
|
+
k,
|
|
91
|
+
{
|
|
92
|
+
setShowRename: s,
|
|
93
|
+
showRename: c,
|
|
94
|
+
subCategory: e
|
|
95
|
+
}
|
|
96
|
+
)
|
|
97
|
+
]
|
|
98
|
+
}
|
|
99
|
+
);
|
|
100
|
+
}, re = R(Y);
|
|
101
|
+
export {
|
|
102
|
+
re as default
|
|
103
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
const C = {
|
|
2
|
+
ON_CATEGORY_EXPANDED: "onCategoryExpanded",
|
|
3
|
+
ON_CATEGORY_COLLAPSED: "onCategoryCollapsed",
|
|
4
|
+
ON_CATEGORY_SELECTED: "onCategorySelected",
|
|
5
|
+
ON_SUBCATEGORY_ADD_CLICK: "onSubcategoryAddClick",
|
|
6
|
+
ON_SUBCATEGORY_ADD_CANCEL_CLICK: "onSubcategoryAddCancelClick",
|
|
7
|
+
ON_SUBCATEGORY_ADDED: "onSubcategoryAdded",
|
|
8
|
+
ON_SUBCATEGORY_EDIT_CLICK: "onSubcategoryEditClick",
|
|
9
|
+
ON_SUBCATEGORY_EDIT_CANCEL_CLICK: "onSubcategoryEditCancelClick",
|
|
10
|
+
ON_SUBCATEGORY_DELETE_CLICK: "onSubcategoryDeleteClick",
|
|
11
|
+
ON_SUBCATEGORY_DELETED: "onSubcategoryDeleted",
|
|
12
|
+
ON_SUBCATEGORY_SAVED: "onSubcategorySaved"
|
|
13
|
+
};
|
|
14
|
+
export {
|
|
15
|
+
C as ON_CLICK_EVENTS
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import t from "react";
|
|
2
|
+
import { useCategoryStore as o } from "../../../common/context/hooks/index.es.js";
|
|
3
|
+
import { GlobalDataContext as e } from "../../../common/context/GlobalDataProvider/index.es.js";
|
|
4
|
+
const s = () => {
|
|
5
|
+
if (!t.useContext(e))
|
|
6
|
+
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
7
|
+
return o().uiStore;
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
s as useCategoryUiStore
|
|
11
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { default as o } from "./components/CategorySelector/index.es.js";
|
|
2
|
+
import { default as a } from "./components/CategorySelectorDrawer/index.es.js";
|
|
3
|
+
import { default as g } from "./components/CategoryRow/index.es.js";
|
|
4
|
+
import { CategoryStore as m } from "./stores/CategoryStore/index.es.js";
|
|
5
|
+
import { useCategoryUiStore as x } from "./context/hooks/index.es.js";
|
|
6
|
+
export {
|
|
7
|
+
g as CategoryRow,
|
|
8
|
+
o as CategorySelector,
|
|
9
|
+
a as CategorySelectorDrawer,
|
|
10
|
+
m as CategoryStore,
|
|
11
|
+
x as useCategoryUiStore
|
|
12
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import { makeAutoObservable as h, runInAction as s } from "mobx";
|
|
2
|
+
import { getUnixTime as r } from "date-fns/getUnixTime";
|
|
3
|
+
import { subMonths as n } from "date-fns/subMonths";
|
|
4
|
+
import { startOfMonth as l } from "date-fns/startOfMonth";
|
|
5
|
+
import { endOfMonth as c } from "date-fns/endOfMonth";
|
|
6
|
+
import { augmentCategories as y, getDetailedCategoryTransactions as C } from "../../util/CategoryUtil/index.es.js";
|
|
7
|
+
import { UiStore as m } from "../UiStore/index.es.js";
|
|
8
|
+
import { CategoryApi as d } from "../../../common/api/CategoryApi/index.es.js";
|
|
9
|
+
import { CategoryGuids as T, CategoryGuidToName as u } from "../../../common/constants/Category/index.es.js";
|
|
10
|
+
class $ {
|
|
11
|
+
globalStore;
|
|
12
|
+
uiStore;
|
|
13
|
+
api = new d("/", "");
|
|
14
|
+
categories = [];
|
|
15
|
+
dateRangeCategoryTotals = [];
|
|
16
|
+
monthlyCategoryTotals = [];
|
|
17
|
+
dataRangeTotalsLoaded = !1;
|
|
18
|
+
isLoadingCategoryTotals = !1;
|
|
19
|
+
monthlyTotalsLoaded = !1;
|
|
20
|
+
constructor(t) {
|
|
21
|
+
this.globalStore = t, this.uiStore = new m(), this.api = new d(t.endpoint, t.sessionToken), h(this);
|
|
22
|
+
}
|
|
23
|
+
get detailedCategories() {
|
|
24
|
+
return y(
|
|
25
|
+
this.categories,
|
|
26
|
+
this.dateRangeCategoryTotals,
|
|
27
|
+
this.monthlyCategoryTotals
|
|
28
|
+
);
|
|
29
|
+
}
|
|
30
|
+
get detailedCategoriesWithTransactions() {
|
|
31
|
+
return C(
|
|
32
|
+
this.detailedCategories,
|
|
33
|
+
this.globalStore.transactionStore.sortedTransactions
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
get incomeCategories() {
|
|
37
|
+
return this.detailedCategories.filter((t) => t.is_income);
|
|
38
|
+
}
|
|
39
|
+
get spendCategories() {
|
|
40
|
+
return this.detailedCategories.filter(
|
|
41
|
+
(t) => !t.is_income && !t.isTransfer && t.guid !== T.INVESTMENTS
|
|
42
|
+
);
|
|
43
|
+
}
|
|
44
|
+
get transferCategories() {
|
|
45
|
+
return this.detailedCategories.filter((t) => t.isTransfer);
|
|
46
|
+
}
|
|
47
|
+
addCategory = async (t, e) => {
|
|
48
|
+
const o = { name: t, parent_guid: e };
|
|
49
|
+
try {
|
|
50
|
+
await this.api.addCategory(o), await this.loadCategories();
|
|
51
|
+
} catch (a) {
|
|
52
|
+
console.error(`Error occurred while adding category: ${a}`);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
loadCategories = async (t) => {
|
|
56
|
+
try {
|
|
57
|
+
const e = t || await this.api.getCategories(), { default_categories: o } = this.globalStore.copyStore.copy.categories;
|
|
58
|
+
s(() => {
|
|
59
|
+
this.categories = e.map((a) => ({
|
|
60
|
+
...a,
|
|
61
|
+
name: o[a.guid] ? o[a.guid].replace(/&/g, "&") : a.name
|
|
62
|
+
}));
|
|
63
|
+
});
|
|
64
|
+
} catch (e) {
|
|
65
|
+
console.error(`Error occurred while getting categories: ${e}`);
|
|
66
|
+
}
|
|
67
|
+
};
|
|
68
|
+
loadDateRangeCategoryTotals = async (t, e, o) => {
|
|
69
|
+
this.setIsLoadingCategoryTotals(!0);
|
|
70
|
+
try {
|
|
71
|
+
const a = await this.api.getDateRangeCategoryTotals(
|
|
72
|
+
r(e),
|
|
73
|
+
r(o),
|
|
74
|
+
t
|
|
75
|
+
);
|
|
76
|
+
s(() => {
|
|
77
|
+
this.dateRangeCategoryTotals = a, this.setIsLoadingCategoryTotals(!1), this.dataRangeTotalsLoaded = !0;
|
|
78
|
+
});
|
|
79
|
+
} catch (a) {
|
|
80
|
+
this.setIsLoadingCategoryTotals(!1), console.error(`Error occurred while getting date range category totals: ${a}`);
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
loadMonthlyCategoryTotals = async (t = this.globalStore.globalUiStore.selectedAccounts, e, o) => {
|
|
84
|
+
const a = r(l(e ?? n(/* @__PURE__ */ new Date(), 11))), i = r(c(o ?? /* @__PURE__ */ new Date()));
|
|
85
|
+
try {
|
|
86
|
+
const g = await this.api.getMonthlyCategoryTotals(a, i, t);
|
|
87
|
+
s(() => {
|
|
88
|
+
this.monthlyCategoryTotals = g, this.monthlyTotalsLoaded = !0;
|
|
89
|
+
});
|
|
90
|
+
} catch (g) {
|
|
91
|
+
console.error(`Error occurred while getting monthly category totals: ${g}`);
|
|
92
|
+
}
|
|
93
|
+
};
|
|
94
|
+
reloadCategoryTotals = async (t, e, o) => {
|
|
95
|
+
this.setIsLoadingCategoryTotals(!0);
|
|
96
|
+
try {
|
|
97
|
+
const a = await this.api.getDateRangeCategoryTotals(
|
|
98
|
+
r(e),
|
|
99
|
+
r(o),
|
|
100
|
+
t
|
|
101
|
+
), i = await this.api.getMonthlyCategoryTotals(
|
|
102
|
+
r(l(n(o, 11))),
|
|
103
|
+
r(c(o)),
|
|
104
|
+
t
|
|
105
|
+
);
|
|
106
|
+
s(() => {
|
|
107
|
+
this.dateRangeCategoryTotals = a, this.monthlyCategoryTotals = i, this.dataRangeTotalsLoaded = !0, this.monthlyTotalsLoaded = !0, this.setIsLoadingCategoryTotals(!1);
|
|
108
|
+
});
|
|
109
|
+
} catch (a) {
|
|
110
|
+
console.error(`Error occurred while getting category totals: ${a}`);
|
|
111
|
+
}
|
|
112
|
+
};
|
|
113
|
+
removeCategory = async (t) => {
|
|
114
|
+
try {
|
|
115
|
+
await this.api.removeCategory(t), await this.loadCategories();
|
|
116
|
+
} catch (e) {
|
|
117
|
+
console.error(`Error occurred while removing category: ${e}`);
|
|
118
|
+
}
|
|
119
|
+
};
|
|
120
|
+
setIsLoadingCategoryTotals = (t) => {
|
|
121
|
+
this.isLoadingCategoryTotals = t;
|
|
122
|
+
};
|
|
123
|
+
updateCategory = async (t) => {
|
|
124
|
+
try {
|
|
125
|
+
await this.api.updateCategory(t), await this.loadCategories();
|
|
126
|
+
} catch (e) {
|
|
127
|
+
console.error(`Error occurred while updating category: ${e}`);
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
// TODO: Remove this after refactoring Trends components to use detailedCategories
|
|
131
|
+
getCategoryName = (t) => this.categories.find((o) => o.guid === t)?.name ?? u[t];
|
|
132
|
+
}
|
|
133
|
+
export {
|
|
134
|
+
$ as CategoryStore
|
|
135
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { makeAutoObservable as l } from "mobx";
|
|
2
|
+
class a {
|
|
3
|
+
expandedGuid = null;
|
|
4
|
+
selectedGuid = null;
|
|
5
|
+
searchValue = "";
|
|
6
|
+
showSelected = !0;
|
|
7
|
+
shouldDisableDrawerScroll = !1;
|
|
8
|
+
unselectable = [];
|
|
9
|
+
unselectableText = "";
|
|
10
|
+
savedOnSelect;
|
|
11
|
+
// todo
|
|
12
|
+
constructor() {
|
|
13
|
+
l(this);
|
|
14
|
+
}
|
|
15
|
+
setExpandedGuid = (e) => this.expandedGuid = e;
|
|
16
|
+
setSelectedGuid = (e) => this.selectedGuid = e;
|
|
17
|
+
setSearchValue = (e) => this.searchValue = e;
|
|
18
|
+
setShouldDisableDrawerScroll = (e) => this.shouldDisableDrawerScroll = e;
|
|
19
|
+
setShowSelected = (e) => this.showSelected = e;
|
|
20
|
+
setUnselectable = (e) => this.unselectable = e;
|
|
21
|
+
setUnselectableText = (e) => this.unselectableText = e;
|
|
22
|
+
onSelect = (e) => this.savedOnSelect(e);
|
|
23
|
+
setOnSelect = (e) => this.savedOnSelect = e;
|
|
24
|
+
}
|
|
25
|
+
export {
|
|
26
|
+
a as UiStore
|
|
27
|
+
};
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { format as l } from "date-fns/format";
|
|
2
|
+
import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
3
|
+
import { startOfToday as M } from "date-fns/startOfToday";
|
|
4
|
+
import { subMonths as T } from "date-fns/subMonths";
|
|
5
|
+
import { CategoryIconList as C } from "@mxenabled/mxui";
|
|
6
|
+
import { CategoryColors as N, CategoryIcon as O, CategoryGuids as D } from "../../../common/constants/Category/index.es.js";
|
|
7
|
+
import { formatDate as E, DATE_FORMATS_INTL as R } from "../../../common/constants/DateFormats/index.es.js";
|
|
8
|
+
const b = 3, d = 12, Y = (n, r, t) => n.filter((e) => !e.parent_guid).map(
|
|
9
|
+
(e) => _(
|
|
10
|
+
e,
|
|
11
|
+
r,
|
|
12
|
+
t,
|
|
13
|
+
n.filter((o) => o.parent_guid === e.guid)
|
|
14
|
+
)
|
|
15
|
+
), x = (n, r) => {
|
|
16
|
+
const t = C.find((e) => e.guid === n);
|
|
17
|
+
return t ? r.palette.categories[t.colorName] || "" : r.palette.categories.uncategorized || "";
|
|
18
|
+
}, _ = (n, r, t, e = []) => {
|
|
19
|
+
const o = n.guid, s = n.parent_guid || o, u = o === s, i = r.find((a) => a.category_guid === o)?.total || 0, c = f(
|
|
20
|
+
t.filter((a) => a.category_guid === o)
|
|
21
|
+
), m = f(
|
|
22
|
+
t.filter(
|
|
23
|
+
(a) => a.category_guid === o || a.top_level_category_guid === o
|
|
24
|
+
)
|
|
25
|
+
), g = e.map(
|
|
26
|
+
(a) => _(a, r, t)
|
|
27
|
+
), p = g.reduce(
|
|
28
|
+
(a, A) => a + A.currentAmount,
|
|
29
|
+
i
|
|
30
|
+
);
|
|
31
|
+
return {
|
|
32
|
+
...n,
|
|
33
|
+
currentAmount: i,
|
|
34
|
+
averageAmount: y(c),
|
|
35
|
+
color: N[s],
|
|
36
|
+
icon: O[s],
|
|
37
|
+
isTransfer: s === D.TRANSFER,
|
|
38
|
+
monthlyAmounts: c,
|
|
39
|
+
subCategories: g,
|
|
40
|
+
totalAmount: u ? p : 0,
|
|
41
|
+
totalAverageAmount: y(m),
|
|
42
|
+
totalMonthlyAmounts: u ? m : []
|
|
43
|
+
};
|
|
44
|
+
}, k = (n, r) => n.map((t) => {
|
|
45
|
+
const e = r.filter(
|
|
46
|
+
(o) => o.category_guid === t.guid || o.top_level_category_guid === t.guid
|
|
47
|
+
);
|
|
48
|
+
return {
|
|
49
|
+
...t,
|
|
50
|
+
transactions: e
|
|
51
|
+
};
|
|
52
|
+
}), y = (n, r = b) => {
|
|
53
|
+
const t = r > history.length ? history.length : r;
|
|
54
|
+
return Math.ceil(
|
|
55
|
+
Math.max(
|
|
56
|
+
0,
|
|
57
|
+
n.slice(-t).reduce((e, o) => e + o.amount, 0) / t
|
|
58
|
+
)
|
|
59
|
+
);
|
|
60
|
+
}, f = (n) => {
|
|
61
|
+
const r = [], t = M();
|
|
62
|
+
for (let e = 0; e <= d; e++) {
|
|
63
|
+
const o = h(T(t, d - e)), u = n.filter(
|
|
64
|
+
(i) => i.year_month === Number(l(o, "yyyyMM"))
|
|
65
|
+
).reduce((i, c) => i + c.total, 0);
|
|
66
|
+
r.push({
|
|
67
|
+
amount: u,
|
|
68
|
+
isoDate: l(o, "yyyy-MM-dd"),
|
|
69
|
+
label: E(o, R.MONTH_YEAR)
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
return r;
|
|
73
|
+
};
|
|
74
|
+
export {
|
|
75
|
+
Y as augmentCategories,
|
|
76
|
+
x as getCategoryColor,
|
|
77
|
+
k as getDetailedCategoryTransactions
|
|
78
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import r from "bowser";
|
|
2
|
+
import { Fetch as o } from "../../utils/Fetch/index.es.js";
|
|
3
|
+
import { ApiEndpoints as e } from "../../constants/ApiEndpoints/index.es.js";
|
|
4
|
+
class h {
|
|
5
|
+
fetchInstance;
|
|
6
|
+
constructor(t, s) {
|
|
7
|
+
this.fetchInstance = new o(t, s);
|
|
8
|
+
}
|
|
9
|
+
initializeAnalyticsSession = async (t, s) => {
|
|
10
|
+
const i = r.getParser(window.navigator.userAgent), { analytics_session: n } = await this.fetchInstance.post(e.ANALYTICS_SESSION, {
|
|
11
|
+
browser_name: i.getBrowserName() || "Unknown",
|
|
12
|
+
browser_version: i.getBrowserVersion() || "0.0.0",
|
|
13
|
+
is_first_visit: !1,
|
|
14
|
+
product_name: "Individual Widget",
|
|
15
|
+
product_version: t
|
|
16
|
+
});
|
|
17
|
+
return n ? (this.fetchInstance.post(e.ANALYTICS_FEATURE_VISITS, {
|
|
18
|
+
feature_visit: {
|
|
19
|
+
analytics_session_guid: n.guid,
|
|
20
|
+
feature_name: s || "Experiences",
|
|
21
|
+
is_first_visit: n.is_first_visit
|
|
22
|
+
}
|
|
23
|
+
}), { analytics_session: n }) : { analytics_session: null };
|
|
24
|
+
};
|
|
25
|
+
sendAnalyticEvent = async (t) => this.fetchInstance.post(e.ANALYTICS_EVENTS, t).catch((s) => {
|
|
26
|
+
throw s;
|
|
27
|
+
});
|
|
28
|
+
sendAnalyticsPageview = async (t) => this.fetchInstance.post(e.ANALYTICS_PAGEVIEWS, t).catch((s) => {
|
|
29
|
+
throw s;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
export {
|
|
33
|
+
h as AnalyticsApi
|
|
34
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fetch as n } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as c } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class r {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new n(t, e);
|
|
7
|
+
}
|
|
8
|
+
getAppData = async () => this.fetchInstance.get(c.APP_DATA).then((t) => t);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
r as AppDataApi
|
|
12
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Fetch as r } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
class o {
|
|
3
|
+
fetchInstance;
|
|
4
|
+
constructor(n) {
|
|
5
|
+
this.fetchInstance = new r(n, "", {
|
|
6
|
+
Accept: "application/json",
|
|
7
|
+
"Content-Type": "application/json"
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
getBanner = async (n) => {
|
|
11
|
+
try {
|
|
12
|
+
const t = `/banner/${n}/account_widget_banner`;
|
|
13
|
+
return this.fetchInstance?.get(t).then((e) => e.banner) ?? {};
|
|
14
|
+
} catch (t) {
|
|
15
|
+
return console.error("Error fetching banner:", t), null;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
o as BannerApi
|
|
21
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Fetch as c } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as n } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class o {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new c(t, e);
|
|
7
|
+
}
|
|
8
|
+
getBeats = async (t, e) => {
|
|
9
|
+
const s = `page=${t || 1}&per_page=${e || 5}`;
|
|
10
|
+
return this.fetchInstance.get(`${n.BEATS}?${s}`).then((a) => a.beats);
|
|
11
|
+
};
|
|
12
|
+
getBeatsWithAssociatedTransaction = async (t) => {
|
|
13
|
+
let e = "has_associated_transaction_guid=true";
|
|
14
|
+
return e += t ? `&from_date=${t}` : "", this.fetchInstance.get(`${n.BEATS}?${e}`).then((s) => s.beats);
|
|
15
|
+
};
|
|
16
|
+
getOffers = async () => this.fetchInstance.get(`${n.OFFERS}/${n.PULSE_COMMUNICATIONS}`).then((t) => t.pulse_communications);
|
|
17
|
+
updateBeat = async (t) => this.fetchInstance.put(`${n.BEATS}/${t.guid}`, t).then((e) => e.beat);
|
|
18
|
+
updateOffer = async (t) => this.fetchInstance.put(`${n.OFFERS}/${t.guid}`, t).then((e) => e.beat);
|
|
19
|
+
}
|
|
20
|
+
export {
|
|
21
|
+
o as BeatApi
|
|
22
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Fetch as c } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as o } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class u {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new c(t, e);
|
|
7
|
+
}
|
|
8
|
+
addCategory = async (t) => this.fetchInstance.post(o.CATEGORIES, t).then((e) => e.category);
|
|
9
|
+
getCategories = async () => this.fetchInstance.get(o.CATEGORIES).then((t) => t.categories);
|
|
10
|
+
getDateRangeCategoryTotals = async (t, e, r) => r.length === 0 ? [] : this.fetchInstance.post(`${o.DATE_RANGE_CATEGORY_TOTALS}/from/${t}/to/${e}`, {
|
|
11
|
+
account_guid: r.map((n) => n.guid)
|
|
12
|
+
}).then((n) => n.date_range_category_totals);
|
|
13
|
+
getMonthlyCategoryTotals = async (t, e, r) => {
|
|
14
|
+
try {
|
|
15
|
+
const n = `${o.MONTHLY_CATEGORY_TOTALS}/from/${t}/to/${e}`;
|
|
16
|
+
if (r) {
|
|
17
|
+
const s = r.length === 0 ? [""] : r.map((a) => a.guid);
|
|
18
|
+
return (await this.fetchInstance.post(n, { account_guid: s })).monthly_category_totals;
|
|
19
|
+
} else
|
|
20
|
+
return (await this.fetchInstance.get(n)).monthly_category_totals;
|
|
21
|
+
} catch (n) {
|
|
22
|
+
throw console.error("Error fetching monthly category totals:", n), n;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
removeCategory = async (t) => this.fetchInstance.delete(`${o.CATEGORIES}/${t}`);
|
|
26
|
+
updateCategory = async (t) => this.fetchInstance.put(`${o.CATEGORIES}/${t.guid}`, t).then((e) => e.category);
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
u as CategoryApi
|
|
30
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fetch as e } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as s } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class p {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, n) {
|
|
6
|
+
this.fetchInstance = new e(t, n);
|
|
7
|
+
}
|
|
8
|
+
getGlobalCopy = async (t, n) => this.fetchInstance.post(`${s.LOCALIZED_CONTENT}/${t}`, { translation_key: n }).then((o) => o);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
p as GlobalCopyApi
|
|
12
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Fetch as c } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as n } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class r {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new c(t, e);
|
|
7
|
+
}
|
|
8
|
+
getLocalizedCopy = async (t) => this.fetchInstance.post(n.LOCALIZED_COPY, t).then((e) => e);
|
|
9
|
+
getLocalizedContent = async (t) => this.fetchInstance.post(`${n.LOCALIZED_CONTENT}/${t}`).then((e) => e);
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
r as LocalizedCopyApi
|
|
13
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Fetch as n } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as i } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class o {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new n(t, e);
|
|
7
|
+
}
|
|
8
|
+
getNotifications = () => this.fetchInstance.get(i.NOTIFICATIONS).then(
|
|
9
|
+
(t) => t.notifications.map((e) => e.notification)
|
|
10
|
+
).finally();
|
|
11
|
+
updateNotification = (t) => this.fetchInstance.put(`${i.NOTIFICATIONS}/${t.guid}`, {
|
|
12
|
+
guid: t.guid,
|
|
13
|
+
has_been_viewed: t.has_been_viewed
|
|
14
|
+
}).then((e) => e.notification).finally();
|
|
15
|
+
// Note: The notifications/mark_all_as_viewed endpoint is broken, but still returns 202.
|
|
16
|
+
// A bug ticket has been filed to fix it, but should not require any changes here.
|
|
17
|
+
markAllAsViewed = (t) => this.fetchInstance.put(`${i.NOTIFICATIONS}/mark_all_as_viewed`, { channel: t }).finally();
|
|
18
|
+
}
|
|
19
|
+
export {
|
|
20
|
+
o as NotificationApi
|
|
21
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Fetch as c } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as n } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
import { TransactionType as s } from "../../types/Transaction/index.es.js";
|
|
4
|
+
class u {
|
|
5
|
+
fetchInstance;
|
|
6
|
+
constructor(e, t) {
|
|
7
|
+
this.fetchInstance = new c(e, t);
|
|
8
|
+
}
|
|
9
|
+
addScheduledPayment = async (e) => this.fetchInstance.post(n.SCHEDULED_PAYMENTS, {
|
|
10
|
+
...e,
|
|
11
|
+
is_recurring: "true",
|
|
12
|
+
transaction_type: s.DEBIT
|
|
13
|
+
}).then((t) => t.scheduled_payment);
|
|
14
|
+
getScheduledPayments = async () => this.fetchInstance.get(n.SCHEDULED_PAYMENTS).then((e) => e.scheduled_payments);
|
|
15
|
+
updateScheduledPayment = async (e) => this.fetchInstance.put(`${n.SCHEDULED_PAYMENTS}/${e.guid}`, e).then((t) => t.scheduled_payment);
|
|
16
|
+
deleteScheduledPayment = async (e) => this.fetchInstance.delete(`${n.SCHEDULED_PAYMENTS}/${e}`).then((t) => t);
|
|
17
|
+
}
|
|
18
|
+
export {
|
|
19
|
+
u as ScheduledPaymentsApi
|
|
20
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Fetch as n } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as s } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class h {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new n(t, e);
|
|
7
|
+
}
|
|
8
|
+
getUserFeatures = async () => this.fetchInstance.get(s.USER_FEATURES).then((t) => t.user_features).catch((t) => t);
|
|
9
|
+
updateUser = async (t) => this.fetchInstance.put(s.USER, t).then((e) => e.user);
|
|
10
|
+
updateUserProfile = async (t) => this.fetchInstance.put(`${s.USER_PROFILES}/${t.guid}`, t).then((e) => e.user_profile);
|
|
11
|
+
}
|
|
12
|
+
export {
|
|
13
|
+
h as UserApi
|
|
14
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fetch as n } from "../../utils/Fetch/index.es.js";
|
|
2
|
+
import { ApiEndpoints as r } from "../../constants/ApiEndpoints/index.es.js";
|
|
3
|
+
class o {
|
|
4
|
+
fetchInstance;
|
|
5
|
+
constructor(t, e) {
|
|
6
|
+
this.fetchInstance = new n(t, e);
|
|
7
|
+
}
|
|
8
|
+
requestWidgetUrl = async (t) => this.fetchInstance.post(r.WIDGET_URLS, t).then((e) => e.widget_url);
|
|
9
|
+
}
|
|
10
|
+
export {
|
|
11
|
+
o as WidgetApi
|
|
12
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import i from "react";
|
|
3
|
+
import { observer as l } from "mobx-react-lite";
|
|
4
|
+
import m from "@mui/material/styles/useTheme";
|
|
5
|
+
import n from "@mui/material/Stack";
|
|
6
|
+
import { useGlobalStore as s } from "../../context/hooks/index.es.js";
|
|
7
|
+
const g = l(() => {
|
|
8
|
+
const t = m(), {
|
|
9
|
+
appDataStore: { banner: r, loadBanner: o, user: a }
|
|
10
|
+
} = s();
|
|
11
|
+
return i.useEffect(() => {
|
|
12
|
+
o().finally();
|
|
13
|
+
}, [a]), r?.image_url ? /* @__PURE__ */ e(
|
|
14
|
+
n,
|
|
15
|
+
{
|
|
16
|
+
sx: {
|
|
17
|
+
alignItems: "center",
|
|
18
|
+
width: "100%",
|
|
19
|
+
mb: 24
|
|
20
|
+
},
|
|
21
|
+
children: /* @__PURE__ */ e(
|
|
22
|
+
"a",
|
|
23
|
+
{
|
|
24
|
+
href: r?.redirect_url,
|
|
25
|
+
rel: "noreferrer",
|
|
26
|
+
style: {
|
|
27
|
+
width: "100%"
|
|
28
|
+
},
|
|
29
|
+
target: "_blank",
|
|
30
|
+
children: /* @__PURE__ */ e(
|
|
31
|
+
"img",
|
|
32
|
+
{
|
|
33
|
+
alt: "",
|
|
34
|
+
src: r.image_url,
|
|
35
|
+
style: {
|
|
36
|
+
width: "100%",
|
|
37
|
+
height: "auto",
|
|
38
|
+
border: `1px solid ${t.palette.grey[300]}`
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
)
|
|
42
|
+
}
|
|
43
|
+
)
|
|
44
|
+
}
|
|
45
|
+
) : null;
|
|
46
|
+
});
|
|
47
|
+
export {
|
|
48
|
+
g as Banner
|
|
49
|
+
};
|