@mx-cartographer/experiences 6.26.18-alpha.mega3 → 6.26.18-alpha.mega4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{common/constants/Account/index.es.js → Account-DM32_5k9.mjs} +4 -4
- package/dist/AccountDetailsContent-B_qRSB8l.mjs +677 -0
- package/dist/AccountDetailsHeader-CAm6ADMq.mjs +119 -0
- package/dist/{accounts/utils/AccountFields/index.es.js → AccountFields-Bb4pds0q.mjs} +17 -18
- package/dist/AccountListItem-G7iAesaO.mjs +90 -0
- package/dist/{accounts/stores/AccountStore/index.es.js → AccountStore-RSanus_m.mjs} +50 -24
- package/dist/Accounts-BfAQRG8R.mjs +9 -0
- package/dist/BeatApi-DLu87ijw.mjs +21 -0
- package/dist/{microinsights/utils/beatUtils/index.es.js → BeatStore-By4aGoRM.mjs} +36 -6
- package/dist/BudgetUtil-DcqclhiQ.mjs +101 -0
- package/dist/CashflowStore-D9Dpuz7X.mjs +91 -0
- package/dist/{common/constants/Category/index.es.js → Category-5S6uwuXz.mjs} +7 -7
- package/dist/CategorySelectorDrawer-DgrePTRg.mjs +397 -0
- package/dist/{categories/stores/CategoryStore/index.es.js → CategoryStore-B5EW6I1d.mjs} +77 -29
- package/dist/{categories/util/CategoryUtil/index.es.js → CategoryUtil-DRyruNgi.mjs} +22 -22
- package/dist/ConnectDrawer-DPnfeIfn.mjs +508 -0
- package/dist/ConnectionsDrawer-BCzpuNsK.mjs +52 -0
- package/dist/{common/components/CurrencyInput/index.es.js → CurrencyInput-DzsPiUsU.mjs} +24 -25
- package/dist/CurrencyText-YUhH2caW.mjs +20 -0
- package/dist/DateUtil-BcuH7ErC.mjs +48 -0
- package/dist/DebtsStore-C6VcBnpG.mjs +60 -0
- package/dist/Dialog-CWW597AF.mjs +123 -0
- package/dist/{common/components/charts/Donut/index.es.js → Donut-1UMNcG67.mjs} +11 -11
- package/dist/Drawer-kEE73B87.mjs +113 -0
- package/dist/{common/components/EmptyState/index.es.js → EmptyState-Dcb-o2tl.mjs} +1 -1
- package/dist/Fetch-CkFKy79O.mjs +116 -0
- package/dist/FinstrongStore-mkALvztw.mjs +101 -0
- package/dist/GoalStore-DyCr4wNc.mjs +263 -0
- package/dist/{trends/components/TrendsTable/HeaderCell/index.es.js → HeaderCell-DjuifqHJ.mjs} +1 -1
- package/dist/{help/constants/Help/index.es.js → Help-DhcC-C05.mjs} +27 -6
- package/dist/Help-toqAK5eD.mjs +3173 -0
- package/dist/{common/components/IconBacking/index.es.js → IconBacking-B9oC6uL2.mjs} +10 -10
- package/dist/InvestmentUtil-jOyOgzIB.mjs +134 -0
- package/dist/LineChart-CQWu5KoO.mjs +403 -0
- package/dist/{common/components/ListItemAction/index.es.js → ListItemAction-Df3OPMOW.mjs} +18 -18
- package/dist/Loader-Dp1P2gNw.mjs +14 -0
- package/dist/{common/utils/Localization/index.es.js → Localization-2MODESHW.mjs} +8 -8
- package/dist/ManageIncome-BVt_XQbo.mjs +535 -0
- package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
- package/dist/{common/components/MicroWidgetContainer/index.es.js → MicroWidgetContainer-DaLW43tE.mjs} +11 -11
- package/dist/{common/components/MiniWidgetContainer/index.es.js → MiniWidgetContainer-BcNPxZt2.mjs} +11 -11
- package/dist/NetWorthStore-DE8CQBMM.mjs +150 -0
- package/dist/Notification-AMGWM1Al.mjs +78 -0
- package/dist/NotificationSettings-CPZN0l8X.mjs +667 -0
- package/dist/NotificationStore-DHtSGySy.mjs +67 -0
- package/dist/NumberFormatting-CtWHhyBX.mjs +40 -0
- package/dist/OriginalBalanceAction-s9sUxofR.mjs +115 -0
- package/dist/RecurringSettings-DIEsympT.mjs +57 -0
- package/dist/{recurringtransactions/stores/RecurringTransactionsStore/index.es.js → RecurringTransactionsStore-BKLD3OWo.mjs} +65 -49
- package/dist/RepeatingTransaction-BPWfaB3f.mjs +282 -0
- package/dist/{common/components/SearchBox/index.es.js → SearchBox-B2_zLv8-.mjs} +12 -12
- package/dist/SettingsStore-CE7jDVFL.mjs +265 -0
- package/dist/{common/components/donuts/SingleSegmentDonut/index.es.js → SingleSegmentDonut-BgbLgwHi.mjs} +27 -26
- package/dist/SpendingData-ByFCw95X.mjs +53 -0
- package/dist/{common/components/charts/StatusBar/index.es.js → StatusBar-BK_uYHAB.mjs} +1 -1
- package/dist/{common/components/TabContentContainer/index.es.js → TabContentContainer-j01JYR_7.mjs} +1 -1
- package/dist/Transaction-C-5-Iuab.mjs +312 -0
- package/dist/{transactions/api/TransactionApi/index.es.js → TransactionApi-DbbcjI2L.mjs} +4 -5
- package/dist/TransactionDetails-B5qfs9Zh.mjs +1283 -0
- package/dist/TransactionStore-BWi6_2Ny.mjs +669 -0
- package/dist/TrendsStore-Borh98aN.mjs +448 -0
- package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +1959 -0
- package/dist/WidgetContainer-CmGNZW0M.mjs +548 -0
- package/dist/accounts/index.es.js +750 -24
- package/dist/analytics/index.es.js +169 -2
- package/dist/budgets/index.es.js +1068 -4
- package/dist/cashflow/index.es.js +1096 -10
- package/dist/categories/index.es.js +7 -10
- package/dist/common/index.es.js +1449 -232
- package/dist/dashboard/index.es.js +179 -4
- package/dist/debts/index.es.js +1458 -8
- package/dist/{transactions/utils/exportTransactionsToCSV/index.es.js → exportTransactionsToCSV-j4g8bdVZ.mjs} +9 -9
- package/dist/finstrong/index.es.js +1453 -12
- package/dist/goals/index.es.js +1207 -8
- package/dist/help/index.es.js +12 -4
- package/dist/hooks-ClhFlg78.mjs +71 -0
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +1636 -2
- package/dist/merchants/index.es.js +77 -4
- package/dist/microinsights/index.es.js +13 -25
- package/dist/networth/index.es.js +540 -12
- package/dist/notifications/index.es.js +190 -10
- package/dist/recurringtransactions/index.es.js +877 -18
- package/dist/settings/index.es.js +877 -27
- package/dist/spending/index.es.js +568 -4
- package/dist/transactions/index.es.js +585 -25
- package/dist/trends/index.es.js +1101 -10
- package/dist/useCombineEvents-DaDBSR_1.mjs +92 -0
- package/dist/{common/hooks/useDimensions/index.es.js → useDimensions-27p2evRx.mjs} +1 -1
- package/dist/{common/hooks/useScreenSize/index.es.js → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +1 -1
- package/dist/accounts/AccountsMiniWidget/index.es.js +0 -45
- package/dist/accounts/AccountsWidget/index.es.js +0 -67
- package/dist/accounts/ConnectMiniWidget/index.es.js +0 -41
- package/dist/accounts/api/AccountApi/index.es.js +0 -20
- package/dist/accounts/components/AccountListItem/index.es.js +0 -84
- package/dist/accounts/components/AccountsList/index.es.js +0 -164
- package/dist/accounts/components/ConnectImage/index.es.js +0 -444
- package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +0 -27
- package/dist/accounts/components/ConnectStatus/index.es.js +0 -37
- package/dist/accounts/components/ConnectionStatusIcons/index.es.js +0 -12
- package/dist/accounts/components/ConnectionsDrawer/index.es.js +0 -54
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +0 -134
- package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +0 -21
- package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +0 -103
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +0 -120
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +0 -58
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +0 -43
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +0 -50
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +0 -47
- package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +0 -20
- package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +0 -74
- package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +0 -37
- package/dist/accounts/constants/Accounts/index.es.js +0 -5
- package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +0 -11
- package/dist/accounts/hooks/useUiStore/index.es.js +0 -11
- package/dist/accounts/stores/UiStore/index.es.js +0 -15
- package/dist/accounts/utils/Accounts/index.es.js +0 -9
- package/dist/accounts/utils/getConnectionMessages/index.es.js +0 -162
- package/dist/analytics/SurveyMiniWidget/index.es.js +0 -101
- package/dist/analytics/components/OpenTextField/index.es.js +0 -23
- package/dist/analytics/components/RatingScale/index.es.js +0 -68
- package/dist/analytics/stores/AnalyticsStore/index.es.js +0 -54
- package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +0 -71
- package/dist/budgets/BubbleBudgetsWidget/index.es.js +0 -139
- package/dist/budgets/api/BudgetsApi/index.es.js +0 -26
- package/dist/budgets/components/AddBudgets/index.es.js +0 -30
- package/dist/budgets/components/BubbleBudgets/index.es.js +0 -61
- package/dist/budgets/components/BubbleChart/Bubble/index.es.js +0 -97
- package/dist/budgets/components/BubbleChart/Mercury/index.es.js +0 -27
- package/dist/budgets/components/BubbleChart/index.es.js +0 -22
- package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +0 -95
- package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +0 -42
- package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +0 -36
- package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +0 -16
- package/dist/budgets/components/BudgetList/index.es.js +0 -30
- package/dist/budgets/components/BudgetsEmptyState/index.es.js +0 -85
- package/dist/budgets/components/Overview/index.es.js +0 -105
- package/dist/budgets/components/addbudget/Header/index.es.js +0 -28
- package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +0 -30
- package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +0 -39
- package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +0 -46
- package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +0 -73
- package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +0 -75
- package/dist/budgets/components/budgetdetails/Header/index.es.js +0 -31
- package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +0 -102
- package/dist/budgets/components/shared/BudgetAmount/index.es.js +0 -37
- package/dist/budgets/store/BudgetsStore/index.es.js +0 -139
- package/dist/budgets/utils/BubblesSVG/index.es.js +0 -51
- package/dist/budgets/utils/BudgetUtil/index.es.js +0 -70
- package/dist/cashflow/CashflowMiniWidget/index.es.js +0 -27
- package/dist/cashflow/CashflowOnboarding/index.es.js +0 -220
- package/dist/cashflow/CashflowWidget/index.es.js +0 -91
- package/dist/cashflow/api/CashflowApi/index.es.js +0 -25
- package/dist/cashflow/components/CashflowAmountHeading/index.es.js +0 -32
- package/dist/cashflow/components/CashflowContent/index.es.js +0 -61
- package/dist/cashflow/components/CashflowHeading/index.es.js +0 -113
- package/dist/cashflow/components/CashflowWidgetContent/index.es.js +0 -146
- package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +0 -38
- package/dist/cashflow/components/DetailsExpenseRow/index.es.js +0 -31
- package/dist/cashflow/components/DetailsFooter/index.es.js +0 -22
- package/dist/cashflow/components/DetailsTab/index.es.js +0 -92
- package/dist/cashflow/components/RemainingCash/index.es.js +0 -27
- package/dist/cashflow/components/SummaryTab/index.es.js +0 -258
- package/dist/cashflow/components/onboarding/StepOne/index.es.js +0 -82
- package/dist/cashflow/components/onboarding/StepTwo/index.es.js +0 -17
- package/dist/cashflow/constants/CashflowImages/index.es.js +0 -7
- package/dist/cashflow/context/hooks/index.es.js +0 -11
- package/dist/cashflow/stores/CashflowStore/index.es.js +0 -19
- package/dist/cashflow/stores/UiStore/index.es.js +0 -38
- package/dist/cashflow/util/Filters/index.es.js +0 -7
- package/dist/categories/components/CategoryList/index.es.js +0 -38
- package/dist/categories/components/CategoryRow/index.es.js +0 -58
- package/dist/categories/components/CategorySelector/index.es.js +0 -48
- package/dist/categories/components/CategorySelectorDrawer/index.es.js +0 -30
- package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +0 -40
- package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +0 -66
- package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +0 -30
- package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +0 -29
- package/dist/categories/components/SubcategoryList/index.es.js +0 -39
- package/dist/categories/components/SubcategoryRow/index.es.js +0 -103
- package/dist/categories/constants/OnClickEvents/index.es.js +0 -16
- package/dist/categories/context/hooks/index.es.js +0 -11
- package/dist/categories/stores/UiStore/index.es.js +0 -27
- package/dist/common/api/AnalyticsApi/index.es.js +0 -34
- package/dist/common/api/AppDataApi/index.es.js +0 -12
- package/dist/common/api/BannerApi/index.es.js +0 -21
- package/dist/common/api/BeatApi/index.es.js +0 -22
- package/dist/common/api/CategoryApi/index.es.js +0 -30
- package/dist/common/api/GlobalCopyApi/index.es.js +0 -12
- package/dist/common/api/LocalizedCopyApi/index.es.js +0 -13
- package/dist/common/api/NotificationApi/index.es.js +0 -21
- package/dist/common/api/ScheduledPaymentsApi/index.es.js +0 -20
- package/dist/common/api/UserApi/index.es.js +0 -14
- package/dist/common/api/WidgetApi/index.es.js +0 -12
- package/dist/common/components/Banner/index.es.js +0 -49
- package/dist/common/components/ConnectCard/index.es.js +0 -56
- package/dist/common/components/ConnectDrawer/index.es.js +0 -58
- package/dist/common/components/CurrencyText/index.es.js +0 -20
- package/dist/common/components/DataRow/index.es.js +0 -29
- package/dist/common/components/ErrorBoundary/index.es.js +0 -24
- package/dist/common/components/InformationTooltip/index.es.js +0 -41
- package/dist/common/components/ListItemRow/index.es.js +0 -67
- package/dist/common/components/ListItemWrapper/index.es.js +0 -32
- package/dist/common/components/Loader/index.es.js +0 -14
- package/dist/common/components/ResponsiveButton/index.es.js +0 -45
- package/dist/common/components/Select/index.es.js +0 -25
- package/dist/common/components/SelectionBox/index.es.js +0 -48
- package/dist/common/components/SubheaderRow/index.es.js +0 -10
- package/dist/common/components/WidgetContainer/index.es.js +0 -195
- package/dist/common/components/accountfilter/AccountFilter/index.es.js +0 -93
- package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +0 -222
- package/dist/common/components/addaccounts/AddAccounts/index.es.js +0 -43
- package/dist/common/components/barchart/Bar/index.es.js +0 -79
- package/dist/common/components/barchart/BarChart/index.es.js +0 -70
- package/dist/common/components/barchart/BarColumn/index.es.js +0 -86
- package/dist/common/components/barchart/Legend/index.es.js +0 -45
- package/dist/common/components/barchart/Util/index.es.js +0 -11
- package/dist/common/components/calendar/Calendar/index.es.js +0 -131
- package/dist/common/components/calendar/Day/index.es.js +0 -96
- package/dist/common/components/calendar/Header/index.es.js +0 -32
- package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +0 -64
- package/dist/common/components/charts/LineChart/CustomLine/index.es.js +0 -22
- package/dist/common/components/charts/LineChart/CustomMark/index.es.js +0 -65
- package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +0 -73
- package/dist/common/components/charts/LineChart/index.es.js +0 -208
- package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +0 -24
- package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +0 -69
- package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +0 -70
- package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +0 -22
- package/dist/common/components/charts/StackedLineChart/index.es.js +0 -222
- package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +0 -254
- package/dist/common/components/dialog/Dialog/index.es.js +0 -61
- package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +0 -60
- package/dist/common/components/drawer/Drawer/index.es.js +0 -71
- package/dist/common/components/drawer/Header/index.es.js +0 -51
- package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +0 -36
- package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +0 -42
- package/dist/common/components/listitems/ToggleListItem/index.es.js +0 -38
- package/dist/common/constants/Analytics/index.es.js +0 -117
- package/dist/common/constants/ApiEndpoints/index.es.js +0 -50
- package/dist/common/constants/Connect/index.es.js +0 -5
- package/dist/common/constants/DateFormats/index.es.js +0 -65
- package/dist/common/constants/DefaultConfig/index.es.js +0 -105
- package/dist/common/constants/Donut/index.es.js +0 -5
- package/dist/common/constants/FinStrong/index.es.js +0 -31
- package/dist/common/constants/Numbers/index.es.js +0 -6
- package/dist/common/constants/ScheduledPayment/index.es.js +0 -15
- package/dist/common/constants/Sizes/index.es.js +0 -6
- package/dist/common/constants/SpendingPlan/index.es.js +0 -11
- package/dist/common/constants/Table/index.es.js +0 -16
- package/dist/common/context/GlobalDataProvider/index.es.js +0 -23
- package/dist/common/context/WidgetContainerProvider/index.es.js +0 -17
- package/dist/common/context/hooks/index.es.js +0 -44
- package/dist/common/hooks/useCombineEvents/index.es.js +0 -20
- package/dist/common/hooks/useInsightsEnabled/index.es.js +0 -11
- package/dist/common/hooks/usePrevious/index.es.js +0 -11
- package/dist/common/stores/AppDataStore/index.es.js +0 -57
- package/dist/common/stores/ConnectStore/index.es.js +0 -15
- package/dist/common/stores/GlobalCopyStore/index.es.js +0 -35
- package/dist/common/stores/GlobalStore/index.es.js +0 -90
- package/dist/common/stores/GlobalUiStore/index.es.js +0 -54
- package/dist/common/stores/UserStore/index.es.js +0 -50
- package/dist/common/types/Account/index.es.js +0 -118
- package/dist/common/types/Beat/index.es.js +0 -4
- package/dist/common/types/Expense/index.es.js +0 -5
- package/dist/common/types/Goal/index.es.js +0 -6
- package/dist/common/types/Notification/index.es.js +0 -7
- package/dist/common/types/RepeatingTransaction/index.es.js +0 -7
- package/dist/common/types/ScreenSize/index.es.js +0 -4
- package/dist/common/types/Transaction/index.es.js +0 -5
- package/dist/common/utils/AccountFilter/index.es.js +0 -13
- package/dist/common/utils/Analytics/index.es.js +0 -36
- package/dist/common/utils/Categories/index.es.js +0 -37
- package/dist/common/utils/DateUtil/index.es.js +0 -48
- package/dist/common/utils/Fetch/index.es.js +0 -69
- package/dist/common/utils/NumberFormatting/index.es.js +0 -38
- package/dist/common/utils/PostMessage/index.es.js +0 -19
- package/dist/common/utils/Theme/index.es.js +0 -136
- package/dist/dashboard/Dashboard/index.es.js +0 -47
- package/dist/dashboard/Greeting/index.es.js +0 -71
- package/dist/dashboard/constants/Dashboard/index.es.js +0 -4
- package/dist/debts/DebtsWidget/index.es.js +0 -111
- package/dist/debts/components/DebtDrawer/index.es.js +0 -28
- package/dist/debts/components/DebtsChart/index.es.js +0 -134
- package/dist/debts/components/DebtsTable/AccountCell/index.es.js +0 -24
- package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +0 -32
- package/dist/debts/components/DebtsTable/index.es.js +0 -174
- package/dist/debts/components/PaydownDrawer/index.es.js +0 -21
- package/dist/debts/components/SnowballCard/index.es.js +0 -65
- package/dist/debts/components/SnowballDrawer/index.es.js +0 -374
- package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +0 -28
- package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +0 -46
- package/dist/debts/components/actions/InterestRateAction/index.es.js +0 -42
- package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +0 -44
- package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +0 -44
- package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +0 -41
- package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +0 -51
- package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +0 -38
- package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +0 -80
- package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +0 -61
- package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +0 -25
- package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +0 -31
- package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +0 -34
- package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +0 -74
- package/dist/debts/constants/index/index.es.js +0 -4
- package/dist/debts/hooks/useDebtsUiStore/index.es.js +0 -11
- package/dist/debts/store/DebtsStore/index.es.js +0 -20
- package/dist/debts/store/DebtsUiStore/index.es.js +0 -23
- package/dist/debts/utils/DebtStore/index.es.js +0 -26
- package/dist/debts/utils/DebtsChart/index.es.js +0 -13
- package/dist/debts/utils/DebtsTable/index.es.js +0 -15
- package/dist/debts/utils/DebtsWidget/index.es.js +0 -42
- package/dist/debts/utils/SnowballCard/index.es.js +0 -37
- package/dist/debts/utils/shared/index.es.js +0 -21
- package/dist/finstrong/FinancialStrengthCard/index.es.js +0 -113
- package/dist/finstrong/FinstrongWidget/index.es.js +0 -141
- package/dist/finstrong/api/FinstrongApi/index.es.js +0 -15
- package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +0 -76
- package/dist/finstrong/components/CreditScoreGraph/index.es.js +0 -75
- package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +0 -30
- package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +0 -63
- package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +0 -49
- package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +0 -63
- package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +0 -58
- package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +0 -58
- package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +0 -68
- package/dist/finstrong/components/ManageCreditScore/index.es.js +0 -49
- package/dist/finstrong/components/ManageDOB/index.es.js +0 -62
- package/dist/finstrong/components/MissingData/index.es.js +0 -38
- package/dist/finstrong/components/ProfileDrawer/index.es.js +0 -107
- package/dist/finstrong/components/ProfileList/index.es.js +0 -56
- package/dist/finstrong/components/ProfileProgressBar/index.es.js +0 -26
- package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +0 -69
- package/dist/finstrong/components/shared/CustomPieArc/index.es.js +0 -63
- package/dist/finstrong/components/shared/DialScoreCard/index.es.js +0 -190
- package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +0 -106
- package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +0 -20
- package/dist/finstrong/stores/FinstrongStore/index.es.js +0 -81
- package/dist/finstrong/util/finstrongUtils/index.es.js +0 -108
- package/dist/finstrong/utils/Finstrong/index.es.js +0 -13
- package/dist/goals/GoalsMicroWidget/index.es.js +0 -51
- package/dist/goals/GoalsWidget/index.es.js +0 -138
- package/dist/goals/api/GoalApi/index.es.js +0 -26
- package/dist/goals/components/AccountSelectionDrawer/index.es.js +0 -73
- package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +0 -51
- package/dist/goals/components/AddGoal/index.es.js +0 -56
- package/dist/goals/components/GoalDetails/index.es.js +0 -69
- package/dist/goals/components/GoalDetailsDrawer/index.es.js +0 -82
- package/dist/goals/components/GoalList/index.es.js +0 -87
- package/dist/goals/components/GoalStatusCard/index.es.js +0 -59
- package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +0 -35
- package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +0 -47
- package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +0 -118
- package/dist/goals/components/ManageGoals/index.es.js +0 -74
- package/dist/goals/components/TabTitle/index.es.js +0 -12
- package/dist/goals/components/actions/AccountAction/index.es.js +0 -46
- package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +0 -66
- package/dist/goals/components/actions/AmountToSaveAction/index.es.js +0 -46
- package/dist/goals/components/actions/BirthdayAction/index.es.js +0 -42
- package/dist/goals/components/actions/ChangeAccountAction/index.es.js +0 -91
- package/dist/goals/components/actions/ContributionAction/index.es.js +0 -46
- package/dist/goals/components/actions/GoalNameAction/index.es.js +0 -42
- package/dist/goals/components/actions/InterestRateAction/index.es.js +0 -44
- package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +0 -45
- package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +0 -45
- package/dist/goals/components/actions/RetirementAgeAction/index.es.js +0 -43
- package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +0 -42
- package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +0 -31
- package/dist/goals/stores/GoalStore/index.es.js +0 -184
- package/dist/goals/util/GoalsUtil/index.es.js +0 -98
- package/dist/help/HelpWidget/index.es.js +0 -13
- package/dist/help/api/HelpApi/index.es.js +0 -12
- package/dist/help/components/Help/index.es.js +0 -45
- package/dist/help/components/HelpContent/index.es.js +0 -32
- package/dist/help/components/HelpList/index.es.js +0 -118
- package/dist/help/components/content/BottomImageContent/index.es.js +0 -50
- package/dist/help/components/content/ContentItem/index.es.js +0 -21
- package/dist/help/components/content/Header/index.es.js +0 -62
- package/dist/help/components/content/LeftImageContent/index.es.js +0 -50
- package/dist/help/components/content/NoImageContent/index.es.js +0 -14
- package/dist/help/components/content/RightImageContent/index.es.js +0 -48
- package/dist/help/components/content/TopImageContent/index.es.js +0 -50
- package/dist/help/components/content/section/Accounts/index.es.js +0 -249
- package/dist/help/components/content/section/Budgets/index.es.js +0 -102
- package/dist/help/components/content/section/CashFlow/index.es.js +0 -71
- package/dist/help/components/content/section/Debts/index.es.js +0 -252
- package/dist/help/components/content/section/General/index.es.js +0 -163
- package/dist/help/components/content/section/Goals/index.es.js +0 -195
- package/dist/help/components/content/section/Insights/index.es.js +0 -136
- package/dist/help/components/content/section/Investments/index.es.js +0 -71
- package/dist/help/components/content/section/Mobile/index.es.js +0 -85
- package/dist/help/components/content/section/NetWorth/index.es.js +0 -142
- package/dist/help/components/content/section/Notifications/index.es.js +0 -120
- package/dist/help/components/content/section/RecurringTransactions/index.es.js +0 -104
- package/dist/help/components/content/section/Spending/index.es.js +0 -112
- package/dist/help/components/content/section/Transactions/index.es.js +0 -389
- package/dist/help/components/content/section/Trends/index.es.js +0 -83
- package/dist/help/components/content/section/index/index.es.js +0 -35
- package/dist/help/components/requestsupport/ContactSupport/index.es.js +0 -99
- package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +0 -82
- package/dist/help/components/requestsupport/MissingInstitution/index.es.js +0 -95
- package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +0 -50
- package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +0 -22
- package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +0 -30
- package/dist/help/components/requestsupport/RequestSupport/index.es.js +0 -179
- package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +0 -26
- package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +0 -39
- package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +0 -75
- package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +0 -29
- package/dist/help/constants/HelpImages/index.es.js +0 -47
- package/dist/help/store/HelpStore/index.es.js +0 -42
- package/dist/help/utils/getAccessibleHelpCategories/index.es.js +0 -21
- package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +0 -14
- package/dist/insights/store/BeatStore/index.es.js +0 -35
- package/dist/investments/InvestmentsWidget/index.es.js +0 -107
- package/dist/investments/api/HoldingApi/index.es.js +0 -13
- package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +0 -126
- package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +0 -67
- package/dist/investments/components/Allocation/index.es.js +0 -67
- package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +0 -134
- package/dist/investments/components/Analysis/index.es.js +0 -169
- package/dist/investments/components/AnalysisDetails/index.es.js +0 -81
- package/dist/investments/components/EmptyStateFooterComponent/index.es.js +0 -52
- package/dist/investments/components/HeaderCell/index.es.js +0 -11
- package/dist/investments/components/HoldingDrawer/index.es.js +0 -322
- package/dist/investments/components/HoldingTable/index.es.js +0 -183
- package/dist/investments/components/InfoToolTip/index.es.js +0 -25
- package/dist/investments/components/Overview/index.es.js +0 -441
- package/dist/investments/components/TabTitle/index.es.js +0 -6
- package/dist/investments/constants/index/index.es.js +0 -53
- package/dist/investments/stores/HoldingStore/index.es.js +0 -59
- package/dist/investments/util/InvestmentUtil/index.es.js +0 -100
- package/dist/merchants/api/MerchantApi/index.es.js +0 -16
- package/dist/merchants/components/MerchantLookup/index.es.js +0 -77
- package/dist/merchants/stores/MerchantStore/index.es.js +0 -26
- package/dist/microinsights/analytics/index.es.js +0 -10
- package/dist/microinsights/components/MicroWidgetContainer/index.es.js +0 -28
- package/dist/microinsights/components/beatCard/BeatCard/index.es.js +0 -98
- package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +0 -13
- package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +0 -22
- package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +0 -24
- package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +0 -31
- package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +0 -14
- package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +0 -786
- package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +0 -82
- package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +0 -105
- package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +0 -101
- package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +0 -187
- package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +0 -152
- package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +0 -67
- package/dist/microinsights/components/spinner/Spinner/index.es.js +0 -19
- package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +0 -58
- package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +0 -55
- package/dist/microinsights/constants/Analytics/index.es.js +0 -163
- package/dist/microinsights/constants/App/index.es.js +0 -11
- package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +0 -12
- package/dist/microinsights/context/hooks/index.es.js +0 -31
- package/dist/microinsights/stores/AppStore/index.es.js +0 -25
- package/dist/microinsights/stores/CopyStore/index.es.js +0 -32
- package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +0 -31
- package/dist/microinsights/utils/DataSeries/index.es.js +0 -9
- package/dist/networth/NetWorthMicroWidget/index.es.js +0 -44
- package/dist/networth/NetWorthWidget/index.es.js +0 -159
- package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +0 -109
- package/dist/networth/components/GainsLossesDetail/index.es.js +0 -94
- package/dist/networth/components/NetWorthChange/index.es.js +0 -31
- package/dist/networth/components/NetWorthChart/index.es.js +0 -45
- package/dist/networth/components/NetWorthList/index.es.js +0 -60
- package/dist/networth/components/NetWorthListItem/index.es.js +0 -60
- package/dist/networth/components/NetWorthSummary/index.es.js +0 -20
- package/dist/networth/components/micro/NetworthData/index.es.js +0 -21
- package/dist/networth/components/micro/ZeroState/index.es.js +0 -14
- package/dist/networth/stores/NetWorthStore/index.es.js +0 -65
- package/dist/networth/utils/NetWorthUtils/index.es.js +0 -95
- package/dist/notifications/components/DateRow/index.es.js +0 -8
- package/dist/notifications/components/NotificationBadge/index.es.js +0 -26
- package/dist/notifications/components/NotificationCard/index.es.js +0 -42
- package/dist/notifications/components/NotificationDrawer/index.es.js +0 -67
- package/dist/notifications/components/NotificationList/index.es.js +0 -36
- package/dist/notifications/components/NotificationsEmptyState/index.es.js +0 -34
- package/dist/notifications/constants/NotificationConstants/index.es.js +0 -22
- package/dist/notifications/stores/NotificationStore/index.es.js +0 -37
- package/dist/notifications/utils/NotificationUtils/index.es.js +0 -16
- package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +0 -179
- package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +0 -37
- package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +0 -67
- package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +0 -19
- package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +0 -18
- package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +0 -32
- package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +0 -100
- package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +0 -20
- package/dist/recurringtransactions/components/RecurrenceList/index.es.js +0 -69
- package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +0 -149
- package/dist/recurringtransactions/components/RecurringStatus/index.es.js +0 -42
- package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +0 -130
- package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +0 -163
- package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +0 -56
- package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +0 -17
- package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +0 -44
- package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +0 -31
- package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +0 -32
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +0 -84
- package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +0 -68
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +0 -114
- package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +0 -44
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +0 -31
- package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +0 -38
- package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +0 -108
- package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +0 -37
- package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +0 -36
- package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +0 -232
- package/dist/settings/NotificationSettingsWidget/index.es.js +0 -13
- package/dist/settings/SettingsWidget/index.es.js +0 -55
- package/dist/settings/TransactionRulesWidget/index.es.js +0 -12
- package/dist/settings/api/SettingsApi/index.es.js +0 -23
- package/dist/settings/components/SettingsWidgetContents/index.es.js +0 -47
- package/dist/settings/components/devices/DeviceDialog/index.es.js +0 -129
- package/dist/settings/components/devices/DeviceList/index.es.js +0 -118
- package/dist/settings/components/devices/DeviceTab/index.es.js +0 -79
- package/dist/settings/components/devices/DeviceTable/index.es.js +0 -134
- package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +0 -80
- package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +0 -55
- package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +0 -102
- package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +0 -12
- package/dist/settings/components/notifications/DeliveryMethods/index.es.js +0 -77
- package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +0 -12
- package/dist/settings/components/notifications/NotificationProfile/index.es.js +0 -96
- package/dist/settings/components/notifications/NotificationSettings/index.es.js +0 -89
- package/dist/settings/components/notifications/PersonalDetails/index.es.js +0 -99
- package/dist/settings/components/profile/ProfileTab/index.es.js +0 -204
- package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +0 -63
- package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +0 -80
- package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +0 -36
- package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +0 -23
- package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +0 -34
- package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +0 -38
- package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +0 -52
- package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +0 -33
- package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +0 -52
- package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +0 -20
- package/dist/settings/constants/Settings/index.es.js +0 -4
- package/dist/settings/stores/SettingsStore/index.es.js +0 -187
- package/dist/settings/util/Notifications/index.es.js +0 -64
- package/dist/spending/SpendingMiniWidget/index.es.js +0 -26
- package/dist/spending/SpendingWidget/index.es.js +0 -38
- package/dist/spending/components/MiniSpendingChart/index.es.js +0 -115
- package/dist/spending/components/Spending/index.es.js +0 -141
- package/dist/spending/components/SpendingChart/index.es.js +0 -61
- package/dist/spending/components/SpendingDonut/index.es.js +0 -69
- package/dist/spending/components/SpendingLegend/index.es.js +0 -25
- package/dist/spending/components/SpendingList/index.es.js +0 -96
- package/dist/spending/components/SpendingTabLabel/index.es.js +0 -11
- package/dist/spending/utils/SpendingData/index.es.js +0 -86
- package/dist/transactions/TransactionWidget/index.es.js +0 -242
- package/dist/transactions/analytics/index.es.js +0 -5
- package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +0 -68
- package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +0 -43
- package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +0 -126
- package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +0 -27
- package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +0 -105
- package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +0 -81
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +0 -60
- package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +0 -60
- package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +0 -90
- package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +0 -91
- package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +0 -143
- package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +0 -75
- package/dist/transactions/components/shared/TransactionDetails/index.es.js +0 -79
- package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +0 -84
- package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +0 -17
- package/dist/transactions/components/shared/TransactionList/index.es.js +0 -82
- package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +0 -9
- package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +0 -20
- package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +0 -29
- package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +0 -8
- package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +0 -38
- package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +0 -6
- package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +0 -16
- package/dist/transactions/components/shared/TransactionTable/index.es.js +0 -110
- package/dist/transactions/components/splitmanager/SplitManager/index.es.js +0 -69
- package/dist/transactions/components/splitmanager/SplitRow/index.es.js +0 -126
- package/dist/transactions/components/tagmanager/Header/index.es.js +0 -78
- package/dist/transactions/components/tagmanager/SearchBox/index.es.js +0 -37
- package/dist/transactions/components/tagmanager/TagManager/index.es.js +0 -32
- package/dist/transactions/components/tagmanager/TagRow/index.es.js +0 -114
- package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +0 -29
- package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +0 -54
- package/dist/transactions/constants/Actions/index.es.js +0 -19
- package/dist/transactions/constants/Analytics/index.es.js +0 -259
- package/dist/transactions/constants/OnClickEvents/index.es.js +0 -48
- package/dist/transactions/constants/Transaction/index.es.js +0 -33
- package/dist/transactions/constants/TransactionsTable/index.es.js +0 -11
- package/dist/transactions/context/hooks/index.es.js +0 -11
- package/dist/transactions/stores/TransactionStore/index.es.js +0 -224
- package/dist/transactions/stores/UiStore/index.es.js +0 -48
- package/dist/transactions/utils/Filters/index.es.js +0 -9
- package/dist/transactions/utils/Transactions/index.es.js +0 -13
- package/dist/transactions/utils/buildDetailedTransactions/index.es.js +0 -35
- package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +0 -44
- package/dist/trends/TrendsFullWidget/index.es.js +0 -157
- package/dist/trends/TrendsMicroWidget/index.es.js +0 -86
- package/dist/trends/TrendsMiniWidget/index.es.js +0 -28
- package/dist/trends/TrendsWidget/index.es.js +0 -173
- package/dist/trends/ZeroStateMicroWidget/index.es.js +0 -19
- package/dist/trends/components/CategoriesList/index.es.js +0 -62
- package/dist/trends/components/CategoriesListItem/index.es.js +0 -25
- package/dist/trends/components/CategoryDetailChart/index.es.js +0 -34
- package/dist/trends/components/CategoryDetailDrawer/index.es.js +0 -44
- package/dist/trends/components/DateRangeText/index.es.js +0 -39
- package/dist/trends/components/SpendingChart/index.es.js +0 -28
- package/dist/trends/components/TransactionsList/index.es.js +0 -81
- package/dist/trends/components/TrendsChart/index.es.js +0 -45
- package/dist/trends/components/TrendsChartTotals/index.es.js +0 -56
- package/dist/trends/components/TrendsDrawer/index.es.js +0 -48
- package/dist/trends/components/TrendsInsights/index.es.js +0 -43
- package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +0 -96
- package/dist/trends/components/TrendsTable/AmountCell/index.es.js +0 -10
- package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +0 -30
- package/dist/trends/components/TrendsTable/index.es.js +0 -96
- package/dist/trends/components/TrendsViewToggle/index.es.js +0 -17
- package/dist/trends/constants/TrendsInsights/index.es.js +0 -38
- package/dist/trends/stores/TrendsStore/index.es.js +0 -77
- package/dist/trends/utils/SpendingData/index.es.js +0 -47
- package/dist/trends/utils/TrendsData/index.es.js +0 -41
- package/dist/trends/utils/shared/index.es.js +0 -15
- /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
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { makeAutoObservable as n, reaction as c, runInAction as s } from "mobx";
|
|
2
|
-
import { endOfMonth as l } from "date-fns/endOfMonth";
|
|
3
|
-
import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
4
|
-
import { startOfToday as o } from "date-fns/startOfToday";
|
|
5
|
-
import { BudgetsApi as u } from "../../api/BudgetsApi/index.es.js";
|
|
6
|
-
import { findBudget as p, findSubBudget as B, augmentBudgets as a } from "../../utils/BudgetUtil/index.es.js";
|
|
7
|
-
import { CategoryGuids as i } from "../../../common/constants/Category/index.es.js";
|
|
8
|
-
class E {
|
|
9
|
-
api = new u("/", "");
|
|
10
|
-
globalStore;
|
|
11
|
-
alert = "";
|
|
12
|
-
dateRange = { start: h(o()), end: l(o()) };
|
|
13
|
-
budgets = [];
|
|
14
|
-
selectedBudget;
|
|
15
|
-
selectedSubBudget;
|
|
16
|
-
isDataLoaded = !1;
|
|
17
|
-
theme = {};
|
|
18
|
-
constructor(e) {
|
|
19
|
-
this.globalStore = e, this.api = new u(e.endpoint, e.sessionToken), n(this);
|
|
20
|
-
}
|
|
21
|
-
loadBudgetData = async () => {
|
|
22
|
-
await this.loadBudgets(), c(
|
|
23
|
-
() => this.detailedBudgets,
|
|
24
|
-
(e) => {
|
|
25
|
-
if (e) {
|
|
26
|
-
const d = this.selectedBudget;
|
|
27
|
-
d && (this.selectedBudget = p(e, d.guid));
|
|
28
|
-
const t = this.selectedSubBudget;
|
|
29
|
-
t && t.parent_guid && (this.selectedSubBudget = B(
|
|
30
|
-
e,
|
|
31
|
-
t.guid,
|
|
32
|
-
t.parent_guid
|
|
33
|
-
));
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
get detailedBudgets() {
|
|
39
|
-
return a(
|
|
40
|
-
this.budgets.filter(
|
|
41
|
-
(e) => e.category_guid !== i.INCOME && e.category_guid !== i.TRANSFER && e.category_guid !== i.INVESTMENTS
|
|
42
|
-
),
|
|
43
|
-
this.globalStore.categoryStore.detailedCategories,
|
|
44
|
-
this.globalStore.copyStore.copy.budgets,
|
|
45
|
-
this.theme
|
|
46
|
-
).sort((e, d) => e.percentage > d.percentage ? -1 : e.percentage < d.percentage ? 1 : 0);
|
|
47
|
-
}
|
|
48
|
-
get incomeBudget() {
|
|
49
|
-
return a(
|
|
50
|
-
this.budgets.filter((t) => !t.parent_guid),
|
|
51
|
-
this.globalStore.categoryStore.detailedCategories,
|
|
52
|
-
this.globalStore.copyStore.copy.budgets,
|
|
53
|
-
this.theme
|
|
54
|
-
).reduce(
|
|
55
|
-
(t, r) => r.category_guid !== i.INCOME ? t : !t || r.percentage > t.percentage ? r : t,
|
|
56
|
-
void 0
|
|
57
|
-
)?.amount;
|
|
58
|
-
}
|
|
59
|
-
get unbudgetedCategories() {
|
|
60
|
-
return this.globalStore.categoryStore.spendCategories.filter(
|
|
61
|
-
(e) => !this.detailedBudgets.find((d) => d.category_guid === e.guid)
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
get totalBudgeted() {
|
|
65
|
-
return this.detailedBudgets.reduce((e, d) => e + d.amount, 0);
|
|
66
|
-
}
|
|
67
|
-
addBudget = async (e, d, t = null) => {
|
|
68
|
-
try {
|
|
69
|
-
const r = await this.api.addBudget(e, d, t);
|
|
70
|
-
s(() => {
|
|
71
|
-
this.budgets.push(r);
|
|
72
|
-
});
|
|
73
|
-
} catch (r) {
|
|
74
|
-
console.error(`Error adding budget: ${r}`);
|
|
75
|
-
}
|
|
76
|
-
};
|
|
77
|
-
deleteBudget = async (e) => {
|
|
78
|
-
try {
|
|
79
|
-
await this.api.deleteBudget(e), s(() => {
|
|
80
|
-
const d = this.budgets.findIndex((t) => t.guid === e);
|
|
81
|
-
d >= 0 && this.budgets.splice(d, 1);
|
|
82
|
-
});
|
|
83
|
-
} catch (d) {
|
|
84
|
-
console.error(`Error deleting budget: ${d}`);
|
|
85
|
-
}
|
|
86
|
-
};
|
|
87
|
-
loadBudgets = async () => {
|
|
88
|
-
try {
|
|
89
|
-
const e = await this.api.getBudgets();
|
|
90
|
-
s(() => {
|
|
91
|
-
this.budgets = e, this.isDataLoaded = !0;
|
|
92
|
-
});
|
|
93
|
-
} catch (e) {
|
|
94
|
-
throw console.error(`Error occurred while loading budgets: ${e}`), e;
|
|
95
|
-
}
|
|
96
|
-
};
|
|
97
|
-
setAlert = (e) => this.alert = e;
|
|
98
|
-
setDateRange = (e) => this.dateRange = e;
|
|
99
|
-
setSelectedBudget = (e) => this.selectedBudget = e;
|
|
100
|
-
setSelectedSubBudget = (e) => this.selectedSubBudget = e;
|
|
101
|
-
setTheme = (e) => this.theme = e;
|
|
102
|
-
/**
|
|
103
|
-
* Recalculate budget by using the average amount from top-level categories
|
|
104
|
-
* @param categories Detailed categories
|
|
105
|
-
*/
|
|
106
|
-
recalculateBudgets = async (e) => {
|
|
107
|
-
try {
|
|
108
|
-
for (const t of e) {
|
|
109
|
-
const r = this.budgets.find((g) => g.category_guid === t.guid);
|
|
110
|
-
r ? await this.api.updateBudget({
|
|
111
|
-
...r,
|
|
112
|
-
amount: t.totalAverageAmount
|
|
113
|
-
}) : await this.api.addBudget(t, t.totalAverageAmount);
|
|
114
|
-
}
|
|
115
|
-
const d = this.budgets.filter(
|
|
116
|
-
(t) => !e.find((r) => r.guid === t.category_guid)
|
|
117
|
-
);
|
|
118
|
-
for (const t of d)
|
|
119
|
-
await this.api.deleteBudget(t.guid);
|
|
120
|
-
return await this.loadBudgets(), { data: this.budgets, isSuccess: !0 };
|
|
121
|
-
} catch (d) {
|
|
122
|
-
return console.error("error recalculating budgets", d), { data: [], isSuccess: !1 };
|
|
123
|
-
}
|
|
124
|
-
};
|
|
125
|
-
updateBudget = async (e) => {
|
|
126
|
-
try {
|
|
127
|
-
const d = await this.api.updateBudget(e);
|
|
128
|
-
s(() => {
|
|
129
|
-
const t = this.budgets.findIndex((r) => r.guid === e.guid);
|
|
130
|
-
t >= 0 && (this.budgets[t] = d);
|
|
131
|
-
});
|
|
132
|
-
} catch (d) {
|
|
133
|
-
console.error(`Error updating budget: ${d}`);
|
|
134
|
-
}
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
export {
|
|
138
|
-
E as BudgetsStore
|
|
139
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as o from "d3";
|
|
2
|
-
const i = 5, u = 100, d = 25, f = (a) => {
|
|
3
|
-
const n = (t) => {
|
|
4
|
-
t.active || a.alphaTarget(0.3).restart(), t.subject.fx = t.subject.x, t.subject.fy = t.subject.y;
|
|
5
|
-
}, e = (t) => {
|
|
6
|
-
t.subject.fx = t.x, t.subject.fy = t.y;
|
|
7
|
-
}, c = (t) => {
|
|
8
|
-
t.active || a.alphaTarget(0), t.subject.fx = null, t.subject.fy = null;
|
|
9
|
-
};
|
|
10
|
-
return o.drag().on("start", n).on("drag", e).on("end", c);
|
|
11
|
-
}, x = (a) => {
|
|
12
|
-
let n = a.transaction_total / a.amount;
|
|
13
|
-
n < 0 ? n = 0 : n > 1 && (n = 1);
|
|
14
|
-
const e = n * 2 * Math.PI, c = o.interpolate(0, e), t = o.arc().cornerRadius(5).innerRadius(a.radius - i * 2).outerRadius(a.radius - i).startAngle(0).endAngle(0);
|
|
15
|
-
return (r) => (t.endAngle(c(r)), t(a) || "");
|
|
16
|
-
}, g = (a) => {
|
|
17
|
-
o.selectAll(".bubble").call(f(a));
|
|
18
|
-
}, h = (a, n, e) => {
|
|
19
|
-
a.alpha(1).restart().force(
|
|
20
|
-
"x",
|
|
21
|
-
o.forceX().x(e / 2).strength(0.01)
|
|
22
|
-
).force(
|
|
23
|
-
"y",
|
|
24
|
-
o.forceY().y(n / 2).strength(0.01)
|
|
25
|
-
);
|
|
26
|
-
}, m = (a, n) => o.scaleLinear().domain([a, n]).range([d, u]), y = (a) => {
|
|
27
|
-
const n = a.reduce((r, s) => {
|
|
28
|
-
const l = Math.max(s.transaction_total, s.amount);
|
|
29
|
-
return l > r ? l : r;
|
|
30
|
-
}, 0), e = a.reduce((r, s) => {
|
|
31
|
-
const l = Math.max(s.transaction_total, s.amount);
|
|
32
|
-
return l < r ? l : r;
|
|
33
|
-
}, n), c = m(e, n), t = a.map((r) => {
|
|
34
|
-
const s = c(Math.max(r.transaction_total, r.amount)) || 25;
|
|
35
|
-
return {
|
|
36
|
-
...r,
|
|
37
|
-
radius: s
|
|
38
|
-
};
|
|
39
|
-
});
|
|
40
|
-
return o.forceSimulation(t).velocityDecay(0.05).force("collide", o.forceCollide((r) => r.radius + 2).strength(0.5)).on("tick", () => {
|
|
41
|
-
o.selectAll(".bubble").data(t).attr("transform", (r) => `translate(${r.x},${r.y})`);
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
x as arcTween,
|
|
46
|
-
f as drag,
|
|
47
|
-
g as enableDrag,
|
|
48
|
-
m as getScale,
|
|
49
|
-
h as resize,
|
|
50
|
-
y as simulate
|
|
51
|
-
};
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { useBudgetsStore as _ } from "../../../common/context/hooks/index.es.js";
|
|
2
|
-
import { getDetailedCategory as B, getDetailedSubCategory as y } from "../../../common/utils/Categories/index.es.js";
|
|
3
|
-
import { buildDynamicCopy as d } from "../../../common/utils/Localization/index.es.js";
|
|
4
|
-
import { formatCurrency as f } from "../../../common/utils/NumberFormatting/index.es.js";
|
|
5
|
-
const l = (n, t) => !n && !t ? 0 : !n && t ? 101 : t / n * 100, p = (n, t) => {
|
|
6
|
-
const e = {
|
|
7
|
-
background: t.palette.success.main,
|
|
8
|
-
description: n <= 100 ? t.palette.text.secondary : t.palette.error.main,
|
|
9
|
-
text: t.palette.common.white,
|
|
10
|
-
mercury: t.palette.success.lighter
|
|
11
|
-
};
|
|
12
|
-
return n > 100 ? (e.background = t.palette.error.main, e.mercury = t.palette.error.lighter) : n > 80 && (e.background = t.palette.warning.main, e.text = t.palette.grey[900], e.mercury = t.palette.warning.lighter), e;
|
|
13
|
-
}, v = () => {
|
|
14
|
-
const { detailedBudgets: n } = _();
|
|
15
|
-
return n.map((e) => {
|
|
16
|
-
const r = e.transaction_total;
|
|
17
|
-
return e.amount - r;
|
|
18
|
-
}).reduce((e, r) => e + r, 0);
|
|
19
|
-
}, w = (n, t, e, r) => {
|
|
20
|
-
const c = [];
|
|
21
|
-
for (const o of n) {
|
|
22
|
-
const u = B(t, o.category_guid);
|
|
23
|
-
if (!u) continue;
|
|
24
|
-
const i = u.totalAmount, s = l(o.amount, i), a = o.amount - i;
|
|
25
|
-
c.push({
|
|
26
|
-
...o,
|
|
27
|
-
budgetColors: p(s, r),
|
|
28
|
-
category: u,
|
|
29
|
-
description: d(
|
|
30
|
-
a < 0 ? e.budget_remaining_over : e.budget_remaining_left,
|
|
31
|
-
f(Math.abs(a), "0,0")
|
|
32
|
-
),
|
|
33
|
-
percentage: s,
|
|
34
|
-
subBudgets: [],
|
|
35
|
-
transaction_total: i
|
|
36
|
-
});
|
|
37
|
-
}
|
|
38
|
-
for (const o of n) {
|
|
39
|
-
const u = y(t, o.category_guid);
|
|
40
|
-
if (!u) continue;
|
|
41
|
-
const i = u.currentAmount, s = c.find((b) => b.category_guid === u.parent_guid);
|
|
42
|
-
if (!s) continue;
|
|
43
|
-
const a = o.amount - i, g = l(o.amount, i);
|
|
44
|
-
s && s.subBudgets.push({
|
|
45
|
-
...o,
|
|
46
|
-
budgetColors: p(g, r),
|
|
47
|
-
category: u,
|
|
48
|
-
description: d(
|
|
49
|
-
a < 0 ? e.budget_remaining_over : e.budget_remaining_left,
|
|
50
|
-
f(Math.abs(a), "0,0")
|
|
51
|
-
),
|
|
52
|
-
percentage: g,
|
|
53
|
-
subBudgets: [],
|
|
54
|
-
transaction_total: i
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
return c;
|
|
58
|
-
}, m = (n, t) => n.find((e) => e.guid === t), S = (n, t, e) => {
|
|
59
|
-
const r = m(n, e);
|
|
60
|
-
if (r)
|
|
61
|
-
return m(r.subBudgets, t);
|
|
62
|
-
};
|
|
63
|
-
export {
|
|
64
|
-
w as augmentBudgets,
|
|
65
|
-
m as findBudget,
|
|
66
|
-
S as findSubBudget,
|
|
67
|
-
p as getBudgetColors,
|
|
68
|
-
l as getBudgetPercentage,
|
|
69
|
-
v as useGetBudgetDifference
|
|
70
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import n from "react";
|
|
3
|
-
import { observer as l } from "mobx-react-lite";
|
|
4
|
-
import m from "../components/CashflowWidgetContent/index.es.js";
|
|
5
|
-
import f from "../../common/components/MiniWidgetContainer/index.es.js";
|
|
6
|
-
import { useGlobalCopyStore as c, useGlobalUiStore as p, useRecurringTransactionsStore as d } from "../../common/context/hooks/index.es.js";
|
|
7
|
-
import u from "../../common/components/Loader/index.es.js";
|
|
8
|
-
const C = ({ onPrimaryCtaClick: i, sx: r = {} }) => {
|
|
9
|
-
const { cashflow: o } = c(), { isCopyLoaded: s, isInitialized: e } = p(), { loadRepeatingTransactions: a } = d();
|
|
10
|
-
return n.useEffect(() => {
|
|
11
|
-
e && a().finally();
|
|
12
|
-
}, [e]), s ? /* @__PURE__ */ t(
|
|
13
|
-
f,
|
|
14
|
-
{
|
|
15
|
-
className: "mx-exp-cashflow-miniwidget",
|
|
16
|
-
onPrimaryCtaClick: i,
|
|
17
|
-
primaryCtaLabel: o.primary_cta,
|
|
18
|
-
subTitle: o.sub_title,
|
|
19
|
-
sx: r,
|
|
20
|
-
title: o.title,
|
|
21
|
-
children: /* @__PURE__ */ t(m, { onAddIncomeClick: i })
|
|
22
|
-
}
|
|
23
|
-
) : /* @__PURE__ */ t(u, {});
|
|
24
|
-
}, L = l(C);
|
|
25
|
-
export {
|
|
26
|
-
L as default
|
|
27
|
-
};
|
|
@@ -1,220 +0,0 @@
|
|
|
1
|
-
import { jsx as t, jsxs as i, Fragment as w } from "react/jsx-runtime";
|
|
2
|
-
import m, { useState as d } from "react";
|
|
3
|
-
import { observer as tt } from "mobx-react-lite";
|
|
4
|
-
import { formatISO as et } from "date-fns/formatISO";
|
|
5
|
-
import { fromUnixTime as F } from "date-fns/fromUnixTime";
|
|
6
|
-
import { getUnixTime as ot } from "date-fns/getUnixTime";
|
|
7
|
-
import { startOfMonth as nt } from "date-fns/startOfMonth";
|
|
8
|
-
import { startOfToday as O } from "date-fns/startOfToday";
|
|
9
|
-
import { subDays as rt } from "date-fns/subDays";
|
|
10
|
-
import p from "@mui/material/Box";
|
|
11
|
-
import l from "@mui/material/Button";
|
|
12
|
-
import R from "@mui/material/Divider";
|
|
13
|
-
import it from "@mui/material/List";
|
|
14
|
-
import h from "@mui/material/Stack";
|
|
15
|
-
import { keyframes as at } from "@mui/material/styles";
|
|
16
|
-
import ct from "@mui/material/styles/useTheme";
|
|
17
|
-
import { H1 as st, P as W, Icon as v } from "@mxenabled/mxui";
|
|
18
|
-
import mt from "../components/onboarding/StepOne/index.es.js";
|
|
19
|
-
import dt from "../components/onboarding/StepTwo/index.es.js";
|
|
20
|
-
import lt from "../../common/components/SubheaderRow/index.es.js";
|
|
21
|
-
import { useCashflowUiStore as pt } from "../context/hooks/index.es.js";
|
|
22
|
-
import ut from "../../transactions/components/shared/transactionlist/TransactionRow/index.es.js";
|
|
23
|
-
import { incomeFilterSearch as ft, incomeFilter as A } from "../../transactions/utils/Filters/index.es.js";
|
|
24
|
-
import { SelectTransaction as gt } from "../../recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js";
|
|
25
|
-
import { AddRecurringTransactionDetails as ht } from "../../recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js";
|
|
26
|
-
import { getNextPaymentDate as G } from "../../recurringtransactions/util/RecurringTransactions/index.es.js";
|
|
27
|
-
import { fromUnixToDayOfWeekAndDate as yt } from "../../common/utils/DateUtil/index.es.js";
|
|
28
|
-
import { CASHFLOW_IMAGES as xt } from "../constants/CashflowImages/index.es.js";
|
|
29
|
-
import { useRecurringTransactionsStore as St, useGlobalCopyStore as bt, useCashflowStore as _t, useGlobalUiStore as Dt, useTransactionStore as Tt } from "../../common/context/hooks/index.es.js";
|
|
30
|
-
import { useScreenSize as Ct } from "../../common/hooks/useScreenSize/index.es.js";
|
|
31
|
-
import { Frequency as kt, RepeatingType as L } from "../../common/types/RepeatingTransaction/index.es.js";
|
|
32
|
-
import It from "../../common/components/Loader/index.es.js";
|
|
33
|
-
const wt = at`
|
|
34
|
-
from {
|
|
35
|
-
transform: rotate(0deg);
|
|
36
|
-
}
|
|
37
|
-
to {
|
|
38
|
-
transform: rotate(360deg);
|
|
39
|
-
}
|
|
40
|
-
`, Ft = () => {
|
|
41
|
-
const { addRepeatingTransaction: M, repeatingTransactions: U } = St(), { cashflow: a, common: y } = bt(), { completeOnboarding: x } = _t(), { isDirty: q } = pt(), { isMobile: c } = Ct(), { isCopyLoaded: N, setDisplayedDate: z } = Dt(), { filter: S, setFilter: b, transactions: _ } = Tt(), B = ct(), [H, u] = d(!0), [s, P] = m.useState(kt.EveryMonth), [$, j] = m.useState(1), [E, J] = m.useState(15), [D, K] = d(!1), [f, T] = d(1), [n, Q] = d([]), [C, g] = d(""), r = m.useMemo(
|
|
42
|
-
() => _.find((e) => e.guid === C),
|
|
43
|
-
[C, _]
|
|
44
|
-
), X = !!U.filter(
|
|
45
|
-
(e) => e.repeating_transaction_type === L.Income
|
|
46
|
-
).length, k = async () => {
|
|
47
|
-
T(2), z(
|
|
48
|
-
// Beginning of the month, 90 days before today
|
|
49
|
-
nt(rt(O(), 90)),
|
|
50
|
-
O()
|
|
51
|
-
), b({ ...S, custom: A }), T(3);
|
|
52
|
-
}, Y = async () => {
|
|
53
|
-
if (!(n.length < 1)) {
|
|
54
|
-
K(!0);
|
|
55
|
-
for (let e = 0; e < n.length; e++) {
|
|
56
|
-
const o = n[e], I = G(s, F(o.date)), V = {
|
|
57
|
-
account_guid: o.account_guid,
|
|
58
|
-
amount: o.amount,
|
|
59
|
-
merchant_guid: o.merchant_guid,
|
|
60
|
-
description: o.feed_description || o.description,
|
|
61
|
-
predicted_occurs_on: et(I, { representation: "date" }),
|
|
62
|
-
recurrence_day: I.getDay(),
|
|
63
|
-
recurrence_type: s,
|
|
64
|
-
repeating_transaction_type: L.Income,
|
|
65
|
-
transaction_type: o.transaction_type
|
|
66
|
-
};
|
|
67
|
-
await M(V, o);
|
|
68
|
-
}
|
|
69
|
-
await x();
|
|
70
|
-
}
|
|
71
|
-
}, Z = !r && H || !r && n.length < 1;
|
|
72
|
-
return N ? /* @__PURE__ */ i(
|
|
73
|
-
p,
|
|
74
|
-
{
|
|
75
|
-
sx: {
|
|
76
|
-
display: "flex",
|
|
77
|
-
alignItems: c ? "flex-start" : "center",
|
|
78
|
-
backgroundColor: B.palette.background.paper,
|
|
79
|
-
backgroundImage: c ? null : `url(${xt.CASHFLOW_ONBOARDING})`,
|
|
80
|
-
backgroundRepeat: "no-repeat",
|
|
81
|
-
backgroundPosition: "left 100px",
|
|
82
|
-
backgroundSize: "35%",
|
|
83
|
-
py: 24
|
|
84
|
-
},
|
|
85
|
-
children: [
|
|
86
|
-
f === 1 && /* @__PURE__ */ t(
|
|
87
|
-
p,
|
|
88
|
-
{
|
|
89
|
-
sx: {
|
|
90
|
-
...c ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
|
91
|
-
},
|
|
92
|
-
children: /* @__PURE__ */ t(mt, { handleNextStep: k })
|
|
93
|
-
}
|
|
94
|
-
),
|
|
95
|
-
f === 2 && /* @__PURE__ */ t(
|
|
96
|
-
p,
|
|
97
|
-
{
|
|
98
|
-
sx: {
|
|
99
|
-
...c ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
|
100
|
-
},
|
|
101
|
-
children: /* @__PURE__ */ t(dt, {})
|
|
102
|
-
}
|
|
103
|
-
),
|
|
104
|
-
f === 3 && /* @__PURE__ */ i(
|
|
105
|
-
p,
|
|
106
|
-
{
|
|
107
|
-
sx: {
|
|
108
|
-
...c ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
|
109
|
-
},
|
|
110
|
-
children: [
|
|
111
|
-
/* @__PURE__ */ t(st, { pb: 12, children: a.add_income_title }),
|
|
112
|
-
/* @__PURE__ */ t(W, { mb: 24, children: a.add_income_description }),
|
|
113
|
-
n.length > 0 && !r && /* @__PURE__ */ i(w, { children: [
|
|
114
|
-
/* @__PURE__ */ t(it, { children: n.map((e, o) => /* @__PURE__ */ i(m.Fragment, { children: [
|
|
115
|
-
/* @__PURE__ */ t(lt, { bgcolor: "background.paper", children: yt(
|
|
116
|
-
ot(e.nextDate || e.date)
|
|
117
|
-
) }),
|
|
118
|
-
/* @__PURE__ */ t(ut, { transaction: e }),
|
|
119
|
-
o !== n.length - 1 && /* @__PURE__ */ t(R, {})
|
|
120
|
-
] }, e.guid)) }),
|
|
121
|
-
/* @__PURE__ */ i(h, { alignItems: "center", direction: "row", children: [
|
|
122
|
-
/* @__PURE__ */ t(R, { sx: { flexGrow: 1 } }),
|
|
123
|
-
/* @__PURE__ */ t(
|
|
124
|
-
l,
|
|
125
|
-
{
|
|
126
|
-
onClick: () => u(!0),
|
|
127
|
-
startIcon: /* @__PURE__ */ t(v, { name: "add", size: 20 }),
|
|
128
|
-
children: a.add_income
|
|
129
|
-
}
|
|
130
|
-
)
|
|
131
|
-
] })
|
|
132
|
-
] }),
|
|
133
|
-
Z && /* @__PURE__ */ t(
|
|
134
|
-
gt,
|
|
135
|
-
{
|
|
136
|
-
bgcolor: "background.paper",
|
|
137
|
-
onSearch: (e) => b({
|
|
138
|
-
...S,
|
|
139
|
-
custom: (o) => e ? ft(o, e) : A(o)
|
|
140
|
-
}),
|
|
141
|
-
onSelected: (e) => {
|
|
142
|
-
g(e), u(!1);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
),
|
|
146
|
-
!X && q && /* @__PURE__ */ t(W, { color: "error", mt: 16, children: a.confirm_error }),
|
|
147
|
-
r && /* @__PURE__ */ i(w, { children: [
|
|
148
|
-
/* @__PURE__ */ t(
|
|
149
|
-
ht,
|
|
150
|
-
{
|
|
151
|
-
bgcolor: "background.paper",
|
|
152
|
-
firstDay: $,
|
|
153
|
-
frequency: s,
|
|
154
|
-
onFirstDayChange: j,
|
|
155
|
-
onFrequencyChange: P,
|
|
156
|
-
onSecondDayChange: J,
|
|
157
|
-
secondDay: E,
|
|
158
|
-
transaction: r
|
|
159
|
-
}
|
|
160
|
-
),
|
|
161
|
-
/* @__PURE__ */ i(h, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
|
162
|
-
/* @__PURE__ */ t(
|
|
163
|
-
l,
|
|
164
|
-
{
|
|
165
|
-
"aria-disabled": !r,
|
|
166
|
-
onClick: () => {
|
|
167
|
-
const e = [...n];
|
|
168
|
-
e.push({
|
|
169
|
-
...r,
|
|
170
|
-
nextDate: G(s, F(r.date)),
|
|
171
|
-
frequency: s
|
|
172
|
-
}), Q(e), g("");
|
|
173
|
-
},
|
|
174
|
-
variant: "contained",
|
|
175
|
-
children: y.confirm_button
|
|
176
|
-
}
|
|
177
|
-
),
|
|
178
|
-
/* @__PURE__ */ t(
|
|
179
|
-
l,
|
|
180
|
-
{
|
|
181
|
-
onClick: () => {
|
|
182
|
-
g(""), u(!0), k().finally();
|
|
183
|
-
},
|
|
184
|
-
variant: "outlined",
|
|
185
|
-
children: y.cancel_button
|
|
186
|
-
}
|
|
187
|
-
)
|
|
188
|
-
] })
|
|
189
|
-
] }),
|
|
190
|
-
n.length > 0 && !r && /* @__PURE__ */ i(h, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
|
191
|
-
/* @__PURE__ */ t(
|
|
192
|
-
l,
|
|
193
|
-
{
|
|
194
|
-
"aria-disabled": n.length < 1 || D,
|
|
195
|
-
onClick: Y,
|
|
196
|
-
startIcon: D ? /* @__PURE__ */ t(
|
|
197
|
-
v,
|
|
198
|
-
{
|
|
199
|
-
name: "progress_activity",
|
|
200
|
-
sx: {
|
|
201
|
-
animation: `${wt} 2s linear infinite`
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
) : null,
|
|
205
|
-
variant: "contained",
|
|
206
|
-
children: a.confirm_income_button
|
|
207
|
-
}
|
|
208
|
-
),
|
|
209
|
-
/* @__PURE__ */ t(l, { onClick: x, variant: "outlined", children: a.skip_button })
|
|
210
|
-
] })
|
|
211
|
-
]
|
|
212
|
-
}
|
|
213
|
-
)
|
|
214
|
-
]
|
|
215
|
-
}
|
|
216
|
-
) : /* @__PURE__ */ t(It, {});
|
|
217
|
-
}, ce = tt(Ft);
|
|
218
|
-
export {
|
|
219
|
-
ce as default
|
|
220
|
-
};
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { jsx as e, jsxs as O } from "react/jsx-runtime";
|
|
2
|
-
import i from "react";
|
|
3
|
-
import { observer as y } from "mobx-react-lite";
|
|
4
|
-
import { RecurringSettings as v } from "../../recurringtransactions/components/shared/RecurringSettings/index.es.js";
|
|
5
|
-
import I from "../components/CashflowContent/index.es.js";
|
|
6
|
-
import x from "../components/CashflowHeading/index.es.js";
|
|
7
|
-
import N from "../CashflowOnboarding/index.es.js";
|
|
8
|
-
import { useCashflowUiStore as F } from "../context/hooks/index.es.js";
|
|
9
|
-
import { subDays as G } from "date-fns/subDays";
|
|
10
|
-
import { startOfToday as W } from "date-fns/startOfToday";
|
|
11
|
-
import { endOfToday as H } from "date-fns/endOfToday";
|
|
12
|
-
import { useGlobalUiStore as f, useEvent as P, useAccountStore as U, useTransactionStore as j, useUserStore as K, useRecurringTransactionsStore as V, useGlobalCopyStore as k } from "../../common/context/hooks/index.es.js";
|
|
13
|
-
import z from "../../common/components/Loader/index.es.js";
|
|
14
|
-
import m from "../../common/components/WidgetContainer/index.es.js";
|
|
15
|
-
import { ANALYTICS_EVENTS as h } from "../../common/constants/Analytics/index.es.js";
|
|
16
|
-
import Y from "../../common/components/drawer/Drawer/index.es.js";
|
|
17
|
-
const $ = ({ onBackClick: n, sx: p = {} }) => {
|
|
18
|
-
const {
|
|
19
|
-
selectedAccounts: a,
|
|
20
|
-
selectedAccountGuids: g,
|
|
21
|
-
setSelectedAccounts: C,
|
|
22
|
-
shouldDisableNextDate: S,
|
|
23
|
-
shouldDisablePrevDate: A
|
|
24
|
-
} = f(), { onEvent: c } = P(), { visibleCashAccounts: o } = U(), { setFilter: _ } = j(), { userProfile: b } = K(), { dateRange: l, setSelectedCashAccounts: w } = F(), { loadRepeatingTransactions: D, setDateRange: R } = V(), { cashflow: s } = k(), { isCopyLoaded: T, isInitialized: r } = f(), [E, u] = i.useState(!1);
|
|
25
|
-
return i.useEffect(() => {
|
|
26
|
-
r && (R(l), D().finally());
|
|
27
|
-
}, [r]), i.useEffect(() => {
|
|
28
|
-
C(o);
|
|
29
|
-
}, [o]), i.useEffect(() => {
|
|
30
|
-
const L = o.map((t) => t.guid), d = a.filter(
|
|
31
|
-
(t) => g.includes(t.guid) && L.includes(t.guid)
|
|
32
|
-
);
|
|
33
|
-
w(d), _({
|
|
34
|
-
dateRange: { start: G(W(), 90), end: H() },
|
|
35
|
-
accounts: d.map((t) => t.guid)
|
|
36
|
-
});
|
|
37
|
-
}, [o, a]), !T || !r ? /* @__PURE__ */ e(z, {}) : b?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ O(
|
|
38
|
-
m,
|
|
39
|
-
{
|
|
40
|
-
accountOptions: o,
|
|
41
|
-
actions: [
|
|
42
|
-
{
|
|
43
|
-
label: s.cashflow_settings,
|
|
44
|
-
iconName: "settings",
|
|
45
|
-
onClick: () => {
|
|
46
|
-
u(!0), c(h.CASH_FLOW_CLICK_SETTINGS);
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
calendarActions: {
|
|
51
|
-
shouldDisableNext: S,
|
|
52
|
-
shouldDisablePrevious: A,
|
|
53
|
-
shouldDisablePicker: !0,
|
|
54
|
-
onRangeChanged: () => {
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
dateRange: l,
|
|
58
|
-
dateRangeVariant: "readonly",
|
|
59
|
-
onAccountsFilterClick: () => c(h.CASH_FLOW_CLICK_FILTER),
|
|
60
|
-
onBackClick: n,
|
|
61
|
-
sx: p,
|
|
62
|
-
title: s.title,
|
|
63
|
-
children: [
|
|
64
|
-
/* @__PURE__ */ e(x, {}),
|
|
65
|
-
/* @__PURE__ */ e(I, {}),
|
|
66
|
-
/* @__PURE__ */ e(
|
|
67
|
-
Y,
|
|
68
|
-
{
|
|
69
|
-
ariaLabelClose: s.close_settings_aria,
|
|
70
|
-
isOpen: E,
|
|
71
|
-
onClose: () => u(!1),
|
|
72
|
-
shouldShowHeaderBorders: !1,
|
|
73
|
-
title: s.cashflow_settings,
|
|
74
|
-
children: /* @__PURE__ */ e(v, {})
|
|
75
|
-
}
|
|
76
|
-
)
|
|
77
|
-
]
|
|
78
|
-
}
|
|
79
|
-
) : /* @__PURE__ */ e(
|
|
80
|
-
m,
|
|
81
|
-
{
|
|
82
|
-
onBackClick: n,
|
|
83
|
-
sx: { height: "100%", overflow: "auto" },
|
|
84
|
-
title: s.title,
|
|
85
|
-
children: /* @__PURE__ */ e(N, {})
|
|
86
|
-
}
|
|
87
|
-
);
|
|
88
|
-
}, le = y($);
|
|
89
|
-
export {
|
|
90
|
-
le as default
|
|
91
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { getUnixTime as s } from "date-fns/getUnixTime";
|
|
2
|
-
import { Fetch as h } from "../../../common/utils/Fetch/index.es.js";
|
|
3
|
-
import { ApiEndpoints as n } from "../../../common/constants/ApiEndpoints/index.es.js";
|
|
4
|
-
class E {
|
|
5
|
-
fetchInstance;
|
|
6
|
-
constructor(e, t) {
|
|
7
|
-
this.fetchInstance = new h(e, t);
|
|
8
|
-
}
|
|
9
|
-
addCashflowEvent = async (e) => this.fetchInstance.post(n.CASHFLOW_EVENTS, { ...e }).then((t) => t);
|
|
10
|
-
addCashflowSequence = async (e) => this.fetchInstance.post(n.CASHFLOW_SEQUENCES, { ...e }).then((t) => t.cashflow_sequence);
|
|
11
|
-
getCashflowSequences = async () => this.fetchInstance.get(n.CASHFLOW_SEQUENCES).then((e) => e.cashflow_sequences);
|
|
12
|
-
getCashflowEventsByDateRange = async (e, t) => this.fetchInstance.get(
|
|
13
|
-
`${n.CASHFLOW_EVENTS}/from/${s(e)}/to/${s(t)}`
|
|
14
|
-
).then((c) => c.cashflow_events);
|
|
15
|
-
deleteCashflowSequence = async (e) => this.fetchInstance.delete(`${n.CASHFLOW_SEQUENCES}/${e}`).then((t) => t);
|
|
16
|
-
getProjectedCashflowEvents = async (e, t) => this.fetchInstance.get(
|
|
17
|
-
`${n.CASHFLOW_SEQUENCES}/projected_events/from/${s(
|
|
18
|
-
e
|
|
19
|
-
)}/to/${s(t)}`
|
|
20
|
-
).then((c) => c.cashflow_events);
|
|
21
|
-
updateCashflowSequence = async (e) => this.fetchInstance.put(`${n.CASHFLOW_SEQUENCES}/${e.guid}`, e).then((t) => t.cashflow_sequence);
|
|
22
|
-
}
|
|
23
|
-
export {
|
|
24
|
-
E as CashflowApi
|
|
25
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { jsxs as e, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import a from "@mui/material/Stack";
|
|
3
|
-
import { Text as p } from "@mxenabled/mxui";
|
|
4
|
-
import { CurrencyText as m } from "../../../common/components/CurrencyText/index.es.js";
|
|
5
|
-
const x = ({
|
|
6
|
-
amount: n,
|
|
7
|
-
isMobile: t = !1,
|
|
8
|
-
isTotal: o = !1,
|
|
9
|
-
label: c,
|
|
10
|
-
symbol: d,
|
|
11
|
-
tooltip: i
|
|
12
|
-
}) => /* @__PURE__ */ e(
|
|
13
|
-
a,
|
|
14
|
-
{
|
|
15
|
-
bgcolor: o ? "background.default" : "transparent",
|
|
16
|
-
direction: t ? "row" : "column",
|
|
17
|
-
justifyContent: t ? "space-between" : "initial",
|
|
18
|
-
padding: t ? "14px 16px" : 0,
|
|
19
|
-
sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
|
|
20
|
-
children: [
|
|
21
|
-
!t && /* @__PURE__ */ r(m, { amount: n, component: "h2", variant: "H2" }),
|
|
22
|
-
/* @__PURE__ */ e(a, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
|
|
23
|
-
/* @__PURE__ */ r(p, { bold: o, variant: "Small", children: c }),
|
|
24
|
-
i
|
|
25
|
-
] }),
|
|
26
|
-
t && /* @__PURE__ */ r(m, { amount: n, component: "h2", symbol: d, variant: "Small" })
|
|
27
|
-
]
|
|
28
|
-
}
|
|
29
|
-
);
|
|
30
|
-
export {
|
|
31
|
-
x as default
|
|
32
|
-
};
|