@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
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { jsx as t, jsxs as a } from "react/jsx-runtime";
|
|
2
|
+
import c from "@mui/material/IconButton";
|
|
3
|
+
import m from "@mui/material/Stack";
|
|
4
|
+
import l from "@mui/material/Tooltip";
|
|
5
|
+
import { Text as s, Icon as p, IconWeight as h } from "@mxenabled/mxui";
|
|
6
|
+
import { makeAutoObservable as i } from "mobx";
|
|
7
|
+
import { addDays as d } from "date-fns/addDays";
|
|
8
|
+
import { differenceInDays as f } from "date-fns/differenceInDays";
|
|
9
|
+
import { endOfMonth as x } from "date-fns/endOfMonth";
|
|
10
|
+
import { isBefore as u } from "date-fns/isBefore";
|
|
11
|
+
import { startOfToday as r } from "date-fns/startOfToday";
|
|
12
|
+
const g = ({
|
|
13
|
+
body: o,
|
|
14
|
+
iconName: e = "info",
|
|
15
|
+
title: n
|
|
16
|
+
}) => /* @__PURE__ */ t(
|
|
17
|
+
l,
|
|
18
|
+
{
|
|
19
|
+
enterTouchDelay: 500,
|
|
20
|
+
title: /* @__PURE__ */ a(m, { gap: 2, p: 12, sx: { textOverflow: "none" }, children: [
|
|
21
|
+
/* @__PURE__ */ t(s, { bold: !0, variant: "Body", children: n }),
|
|
22
|
+
/* @__PURE__ */ t(s, { sx: { whiteSpace: "unset" }, variant: "Small", children: o })
|
|
23
|
+
] }),
|
|
24
|
+
children: /* @__PURE__ */ t(
|
|
25
|
+
c,
|
|
26
|
+
{
|
|
27
|
+
"aria-label": n,
|
|
28
|
+
sx: {
|
|
29
|
+
minHeight: 0,
|
|
30
|
+
minWidth: 0,
|
|
31
|
+
p: 0
|
|
32
|
+
},
|
|
33
|
+
children: /* @__PURE__ */ t(
|
|
34
|
+
p,
|
|
35
|
+
{
|
|
36
|
+
name: e,
|
|
37
|
+
sx: { color: "primary.main", fontSize: 16 },
|
|
38
|
+
weight: h.Dark
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
}
|
|
44
|
+
), E = g;
|
|
45
|
+
class I {
|
|
46
|
+
// Cashflow is hard-coded to display 30 days starting from today
|
|
47
|
+
dateRange = { start: r(), end: d(r(), 30) };
|
|
48
|
+
isDirty = !1;
|
|
49
|
+
nextIncome = void 0;
|
|
50
|
+
upcomingExpenses = [];
|
|
51
|
+
selectedCashAccounts = [];
|
|
52
|
+
constructor() {
|
|
53
|
+
i(this);
|
|
54
|
+
}
|
|
55
|
+
// Returns the number of days until the next income activity or 0 if there is no income activity
|
|
56
|
+
get daysUntilNextIncome() {
|
|
57
|
+
return this.nextIncome ? Math.abs(f(r(), this.nextIncome.expectedDate)) : 0;
|
|
58
|
+
}
|
|
59
|
+
// Returns the expenses (Activities) until the next income activity or the end of the month
|
|
60
|
+
// if there is no income activity
|
|
61
|
+
get expensesTilNextIncome() {
|
|
62
|
+
return this.upcomingExpenses.filter(
|
|
63
|
+
(e) => u(e.expectedDate, this.nextIncome?.expectedDate || x(/* @__PURE__ */ new Date()))
|
|
64
|
+
);
|
|
65
|
+
}
|
|
66
|
+
setNextIncome = (e) => {
|
|
67
|
+
this.nextIncome = e;
|
|
68
|
+
};
|
|
69
|
+
setUpcomingExpenses = (e) => {
|
|
70
|
+
this.upcomingExpenses = e;
|
|
71
|
+
};
|
|
72
|
+
setSelectedCashAccounts = (e) => this.selectedCashAccounts = e;
|
|
73
|
+
}
|
|
74
|
+
class _ {
|
|
75
|
+
globalStore;
|
|
76
|
+
uiStore;
|
|
77
|
+
constructor(e) {
|
|
78
|
+
this.globalStore = e, this.uiStore = new I(), i(this);
|
|
79
|
+
}
|
|
80
|
+
completeOnboarding = async () => {
|
|
81
|
+
const e = {
|
|
82
|
+
...this.globalStore.userStore.userProfile,
|
|
83
|
+
has_completed_cash_flow_onboarding: !0
|
|
84
|
+
};
|
|
85
|
+
await this.globalStore.userStore.updateUserProfile(e);
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
export {
|
|
89
|
+
_ as C,
|
|
90
|
+
E as I
|
|
91
|
+
};
|
|
@@ -124,7 +124,7 @@ const A = {
|
|
|
124
124
|
A.CREDIT_CARD_PAYMENT,
|
|
125
125
|
A.MORTGAGE_PAYMENT,
|
|
126
126
|
A.AUTO_PAYMENT
|
|
127
|
-
],
|
|
127
|
+
], a = {
|
|
128
128
|
// Top-level categories
|
|
129
129
|
[A.AUTO_AND_TRANSPORT]: "Auto & Transport",
|
|
130
130
|
[A.BILLS_AND_UTILITIES]: "Bills & Utilities",
|
|
@@ -246,7 +246,7 @@ const A = {
|
|
|
246
246
|
[A.DENTIST]: "Dentist",
|
|
247
247
|
[A.BONUS]: "Bonus",
|
|
248
248
|
[A.PET_FOOD_SUPPLIES]: "Pet Food & Supplies"
|
|
249
|
-
},
|
|
249
|
+
}, T = {
|
|
250
250
|
[A.AUTO_AND_TRANSPORT]: "#4B9DBC",
|
|
251
251
|
[A.BILLS_AND_UTILITIES]: "#EF9B2C",
|
|
252
252
|
[A.BUSINESS_SERVICES]: "#B3DE8C",
|
|
@@ -293,9 +293,9 @@ const A = {
|
|
|
293
293
|
UNKNOWN: "help"
|
|
294
294
|
};
|
|
295
295
|
export {
|
|
296
|
-
a as
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
E as
|
|
300
|
-
|
|
296
|
+
a as C,
|
|
297
|
+
e as P,
|
|
298
|
+
T as a,
|
|
299
|
+
E as b,
|
|
300
|
+
A as c
|
|
301
301
|
};
|
|
@@ -0,0 +1,397 @@
|
|
|
1
|
+
import { jsx as t, jsxs as E } from "react/jsx-runtime";
|
|
2
|
+
import { observer as g } from "mobx-react-lite";
|
|
3
|
+
import C from "react";
|
|
4
|
+
import $ from "@mui/material/Stack";
|
|
5
|
+
import { G as K, k as y, u as b, g as D, a as U } from "./hooks-ClhFlg78.mjs";
|
|
6
|
+
import Y from "@mui/material/List";
|
|
7
|
+
import V from "@mui/material/Paper";
|
|
8
|
+
import v from "@mui/material/Divider";
|
|
9
|
+
import x from "@mui/material/ListItem";
|
|
10
|
+
import W from "@mui/material/ListItemAvatar";
|
|
11
|
+
import N from "@mui/material/ListItemButton";
|
|
12
|
+
import F from "@mui/material/ListItemIcon";
|
|
13
|
+
import G from "@mui/material/ListItemText";
|
|
14
|
+
import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxenabled/mx-icons";
|
|
15
|
+
import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
|
|
16
|
+
import J from "@mui/material/Collapse";
|
|
17
|
+
import Q from "@mui/material/DialogContent";
|
|
18
|
+
import { b as S } from "./Localization-2MODESHW.mjs";
|
|
19
|
+
import { a as Z } from "./Dialog-CWW597AF.mjs";
|
|
20
|
+
import ee from "@mui/material/Box";
|
|
21
|
+
import te from "@mui/material/Chip";
|
|
22
|
+
import I from "@mui/material/IconButton";
|
|
23
|
+
import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
|
|
24
|
+
import { L as k } from "./Loader-Dp1P2gNw.mjs";
|
|
25
|
+
import { D as ae } from "./Drawer-kEE73B87.mjs";
|
|
26
|
+
const h = () => {
|
|
27
|
+
if (!C.useContext(K))
|
|
28
|
+
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
29
|
+
return y().uiStore;
|
|
30
|
+
}, m = {
|
|
31
|
+
ON_CATEGORY_EXPANDED: "onCategoryExpanded",
|
|
32
|
+
ON_CATEGORY_COLLAPSED: "onCategoryCollapsed",
|
|
33
|
+
ON_CATEGORY_SELECTED: "onCategorySelected",
|
|
34
|
+
ON_SUBCATEGORY_ADD_CLICK: "onSubcategoryAddClick",
|
|
35
|
+
ON_SUBCATEGORY_ADD_CANCEL_CLICK: "onSubcategoryAddCancelClick",
|
|
36
|
+
ON_SUBCATEGORY_ADDED: "onSubcategoryAdded",
|
|
37
|
+
ON_SUBCATEGORY_EDIT_CLICK: "onSubcategoryEditClick",
|
|
38
|
+
ON_SUBCATEGORY_EDIT_CANCEL_CLICK: "onSubcategoryEditCancelClick",
|
|
39
|
+
ON_SUBCATEGORY_DELETE_CLICK: "onSubcategoryDeleteClick",
|
|
40
|
+
ON_SUBCATEGORY_DELETED: "onSubcategoryDeleted",
|
|
41
|
+
ON_SUBCATEGORY_SAVED: "onSubcategorySaved"
|
|
42
|
+
};
|
|
43
|
+
var L = /* @__PURE__ */ ((e) => (e.ADD = "add", e.EDIT = "edit", e.DELETE = "delete", e))(L || {});
|
|
44
|
+
const re = ({
|
|
45
|
+
categoryName: e = "",
|
|
46
|
+
onClose: o,
|
|
47
|
+
onSave: r,
|
|
48
|
+
isOpen: c,
|
|
49
|
+
type: s
|
|
50
|
+
}) => {
|
|
51
|
+
const [a, i] = C.useState(e), { categories: n } = b(), { setShouldDisableDrawerScroll: l } = h();
|
|
52
|
+
let u = "", d = [];
|
|
53
|
+
const _ = s === "delete";
|
|
54
|
+
switch (s) {
|
|
55
|
+
case "add":
|
|
56
|
+
u = n.add_subcategory_title;
|
|
57
|
+
break;
|
|
58
|
+
case "edit":
|
|
59
|
+
u = S(n.edit_subcategory_title, e);
|
|
60
|
+
break;
|
|
61
|
+
case "delete":
|
|
62
|
+
u = n.delete_subcategory_heading, d = S(
|
|
63
|
+
n.all_transactions_in_this_subcategory,
|
|
64
|
+
/* @__PURE__ */ t(B, { bold: !0, children: S(n.all_parent_category, e) })
|
|
65
|
+
);
|
|
66
|
+
break;
|
|
67
|
+
}
|
|
68
|
+
return /* @__PURE__ */ t(
|
|
69
|
+
Z,
|
|
70
|
+
{
|
|
71
|
+
copy: {
|
|
72
|
+
title: u
|
|
73
|
+
},
|
|
74
|
+
disablePrimaryButton: !a,
|
|
75
|
+
isOpen: c,
|
|
76
|
+
onClose: () => {
|
|
77
|
+
l(!1), o();
|
|
78
|
+
},
|
|
79
|
+
onPrimaryAction: () => {
|
|
80
|
+
l(!1), r(a);
|
|
81
|
+
},
|
|
82
|
+
children: /* @__PURE__ */ t(Q, { children: _ ? /* @__PURE__ */ t(B, { children: d }) : /* @__PURE__ */ t(
|
|
83
|
+
q,
|
|
84
|
+
{
|
|
85
|
+
"aria-label": s === "edit" ? n.edit_subcategory_aria : n.add_subcategory_aria,
|
|
86
|
+
name: "modify-subcategory",
|
|
87
|
+
onChange: (p) => i(p.target.value),
|
|
88
|
+
placeholder: n.input_placeholder,
|
|
89
|
+
sx: { width: "100%" },
|
|
90
|
+
value: a
|
|
91
|
+
}
|
|
92
|
+
) })
|
|
93
|
+
}
|
|
94
|
+
);
|
|
95
|
+
}, R = g(re), ne = ({ parentCategory: e }) => {
|
|
96
|
+
const [o, r] = C.useState(!1), { addCategory: c } = y(), { categories: s } = b(), { onEvent: a } = D(), { setShouldDisableDrawerScroll: i } = h(), n = async (d) => {
|
|
97
|
+
await c(d.trim(), e.guid), a(m.ON_SUBCATEGORY_ADDED), r(!1);
|
|
98
|
+
}, l = async () => {
|
|
99
|
+
a(m.ON_SUBCATEGORY_ADD_CLICK), i(!0), r(!0);
|
|
100
|
+
}, u = () => {
|
|
101
|
+
r(!1), a(m.ON_SUBCATEGORY_ADD_CANCEL_CLICK);
|
|
102
|
+
};
|
|
103
|
+
return /* @__PURE__ */ E(x, { disableGutters: !0, disablePadding: !0, children: [
|
|
104
|
+
/* @__PURE__ */ t(N, { onClick: l, sx: { ml: 60 }, children: /* @__PURE__ */ t(
|
|
105
|
+
G,
|
|
106
|
+
{
|
|
107
|
+
primary: s.add_subcategory_button,
|
|
108
|
+
primaryTypographyProps: { color: "primary", fontWeight: "normal", variant: "Body" }
|
|
109
|
+
}
|
|
110
|
+
) }),
|
|
111
|
+
o && /* @__PURE__ */ t(
|
|
112
|
+
R,
|
|
113
|
+
{
|
|
114
|
+
isOpen: o,
|
|
115
|
+
onClose: u,
|
|
116
|
+
onSave: n,
|
|
117
|
+
type: L.ADD
|
|
118
|
+
}
|
|
119
|
+
)
|
|
120
|
+
] });
|
|
121
|
+
}, se = g(ne), ie = ({
|
|
122
|
+
setShowRename: e,
|
|
123
|
+
subCategory: o,
|
|
124
|
+
showRename: r
|
|
125
|
+
}) => {
|
|
126
|
+
const { updateCategory: c } = y(), { onEvent: s } = D(), a = async (n) => {
|
|
127
|
+
await c({ ...o, name: n }), s(m.ON_SUBCATEGORY_SAVED), e(!1);
|
|
128
|
+
}, i = () => {
|
|
129
|
+
e(!1), s(m.ON_SUBCATEGORY_EDIT_CANCEL_CLICK);
|
|
130
|
+
};
|
|
131
|
+
return /* @__PURE__ */ t(
|
|
132
|
+
R,
|
|
133
|
+
{
|
|
134
|
+
categoryName: o.name,
|
|
135
|
+
isOpen: r,
|
|
136
|
+
onClose: i,
|
|
137
|
+
onSave: a,
|
|
138
|
+
type: L.EDIT
|
|
139
|
+
}
|
|
140
|
+
);
|
|
141
|
+
}, ce = g(ie), le = ({
|
|
142
|
+
parentCategory: e,
|
|
143
|
+
showDelete: o,
|
|
144
|
+
setShowDelete: r,
|
|
145
|
+
subCategory: c
|
|
146
|
+
}) => {
|
|
147
|
+
const { onEvent: s } = D(), { removeCategory: a } = y(), i = () => {
|
|
148
|
+
r(!1), s(m.ON_SUBCATEGORY_DELETE_CLICK);
|
|
149
|
+
}, n = async () => {
|
|
150
|
+
s(m.ON_SUBCATEGORY_DELETED), await a(c.guid), r(!1);
|
|
151
|
+
};
|
|
152
|
+
return /* @__PURE__ */ t(
|
|
153
|
+
R,
|
|
154
|
+
{
|
|
155
|
+
categoryName: e.name,
|
|
156
|
+
isOpen: o,
|
|
157
|
+
onClose: i,
|
|
158
|
+
onSave: n,
|
|
159
|
+
type: L.DELETE
|
|
160
|
+
}
|
|
161
|
+
);
|
|
162
|
+
}, de = g(le), ue = ({ parentCategory: e, subCategory: o }) => {
|
|
163
|
+
const {
|
|
164
|
+
onSelect: r,
|
|
165
|
+
selectedGuid: c,
|
|
166
|
+
setSelectedGuid: s,
|
|
167
|
+
setShouldDisableDrawerScroll: a,
|
|
168
|
+
showSelected: i,
|
|
169
|
+
unselectable: n,
|
|
170
|
+
unselectableText: l
|
|
171
|
+
} = h(), { categories: u } = b(), { onEvent: d } = D(), [_, p] = C.useState(!1), [f, O] = C.useState(!1), T = !!o.revision, A = o.guid === c, w = !n.some((P) => P === o.guid);
|
|
172
|
+
return /* @__PURE__ */ E(
|
|
173
|
+
x,
|
|
174
|
+
{
|
|
175
|
+
className: "mx-cat-subcategory-row",
|
|
176
|
+
disableGutters: !0,
|
|
177
|
+
disablePadding: !0,
|
|
178
|
+
sx: { pl: 58 },
|
|
179
|
+
children: [
|
|
180
|
+
/* @__PURE__ */ E(
|
|
181
|
+
N,
|
|
182
|
+
{
|
|
183
|
+
"aria-pressed": A,
|
|
184
|
+
color: "secondary",
|
|
185
|
+
onClick: () => {
|
|
186
|
+
w && (s(o.guid), r(o.guid), d(m.ON_CATEGORY_SELECTED));
|
|
187
|
+
},
|
|
188
|
+
sx: { height: 44 },
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ t(
|
|
191
|
+
G,
|
|
192
|
+
{
|
|
193
|
+
primary: o.name,
|
|
194
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
195
|
+
}
|
|
196
|
+
),
|
|
197
|
+
i && A && /* @__PURE__ */ t(M, { fontSize: "small" }),
|
|
198
|
+
!w && /* @__PURE__ */ t(te, { label: l })
|
|
199
|
+
]
|
|
200
|
+
}
|
|
201
|
+
),
|
|
202
|
+
T && /* @__PURE__ */ E(ee, { className: "mx-cat-subcategory-edit-container", sx: { marginRight: 24 }, children: [
|
|
203
|
+
/* @__PURE__ */ t(
|
|
204
|
+
I,
|
|
205
|
+
{
|
|
206
|
+
"aria-label": S(u.edit_subcategory_aria, o.name),
|
|
207
|
+
onClick: () => {
|
|
208
|
+
p(!0), a(!0), d(m.ON_SUBCATEGORY_EDIT_CLICK);
|
|
209
|
+
},
|
|
210
|
+
children: /* @__PURE__ */ t(j, { color: "secondary" })
|
|
211
|
+
}
|
|
212
|
+
),
|
|
213
|
+
/* @__PURE__ */ t(
|
|
214
|
+
I,
|
|
215
|
+
{
|
|
216
|
+
"aria-label": S(u.delete_subcategory_aria, o.name),
|
|
217
|
+
edge: "end",
|
|
218
|
+
onClick: () => {
|
|
219
|
+
O(!0), a(!0), d(m.ON_SUBCATEGORY_DELETE_CLICK);
|
|
220
|
+
},
|
|
221
|
+
children: /* @__PURE__ */ t(X, { color: "secondary" })
|
|
222
|
+
}
|
|
223
|
+
)
|
|
224
|
+
] }),
|
|
225
|
+
f && /* @__PURE__ */ t(
|
|
226
|
+
de,
|
|
227
|
+
{
|
|
228
|
+
parentCategory: e,
|
|
229
|
+
setShowDelete: O,
|
|
230
|
+
showDelete: f,
|
|
231
|
+
subCategory: o
|
|
232
|
+
}
|
|
233
|
+
),
|
|
234
|
+
_ && /* @__PURE__ */ t(
|
|
235
|
+
ce,
|
|
236
|
+
{
|
|
237
|
+
setShowRename: p,
|
|
238
|
+
showRename: _,
|
|
239
|
+
subCategory: o
|
|
240
|
+
}
|
|
241
|
+
)
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
);
|
|
245
|
+
}, me = g(ue), Ce = ({ categories: e, parentCategory: o }) => {
|
|
246
|
+
const { expandedGuid: r, searchValue: c } = h(), s = o.guid === r, a = !!c;
|
|
247
|
+
return /* @__PURE__ */ t(
|
|
248
|
+
J,
|
|
249
|
+
{
|
|
250
|
+
in: s || a,
|
|
251
|
+
sx: { backgroundColor: "background.default" },
|
|
252
|
+
timeout: "auto",
|
|
253
|
+
unmountOnExit: !0,
|
|
254
|
+
children: /* @__PURE__ */ E(
|
|
255
|
+
Y,
|
|
256
|
+
{
|
|
257
|
+
"aria-labelledby": `category-${o.guid}`,
|
|
258
|
+
className: "mx-cat-subcategory-list",
|
|
259
|
+
id: `subcategories-${o.guid}`,
|
|
260
|
+
children: [
|
|
261
|
+
e.map((i) => /* @__PURE__ */ E(C.Fragment, { children: [
|
|
262
|
+
/* @__PURE__ */ t(me, { parentCategory: o, subCategory: i }),
|
|
263
|
+
/* @__PURE__ */ t(v, { sx: { ml: 58 } })
|
|
264
|
+
] }, i.guid)),
|
|
265
|
+
!a && /* @__PURE__ */ t(se, { parentCategory: o })
|
|
266
|
+
]
|
|
267
|
+
}
|
|
268
|
+
)
|
|
269
|
+
}
|
|
270
|
+
);
|
|
271
|
+
}, ge = g(Ce), _e = ({ category: e, subCategories: o }) => {
|
|
272
|
+
const { expandedGuid: r, searchValue: c, setExpandedGuid: s } = h(), { onEvent: a } = D(), i = e.guid === r, n = () => {
|
|
273
|
+
const l = e.guid !== r ? e.guid : null;
|
|
274
|
+
s(l), a(l ? m.ON_CATEGORY_EXPANDED : m.ON_CATEGORY_COLLAPSED);
|
|
275
|
+
};
|
|
276
|
+
return /* @__PURE__ */ E(C.Fragment, { children: [
|
|
277
|
+
/* @__PURE__ */ t(x, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ E(
|
|
278
|
+
N,
|
|
279
|
+
{
|
|
280
|
+
"aria-controls": `subcategories-${e.guid}`,
|
|
281
|
+
"aria-expanded": e.guid === r,
|
|
282
|
+
"aria-label": e.name,
|
|
283
|
+
id: `category-${e.guid}`,
|
|
284
|
+
onClick: n,
|
|
285
|
+
children: [
|
|
286
|
+
/* @__PURE__ */ t(W, { children: /* @__PURE__ */ t(H, { categoryGuid: e.guid }) }),
|
|
287
|
+
/* @__PURE__ */ t(
|
|
288
|
+
G,
|
|
289
|
+
{
|
|
290
|
+
primary: e.name,
|
|
291
|
+
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
292
|
+
}
|
|
293
|
+
),
|
|
294
|
+
/* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(
|
|
295
|
+
z,
|
|
296
|
+
{
|
|
297
|
+
sx: {
|
|
298
|
+
transition: "transform 0.3s ease-in-out",
|
|
299
|
+
transform: i || c ? "rotate(180deg)" : "rotate(0deg)"
|
|
300
|
+
}
|
|
301
|
+
}
|
|
302
|
+
) })
|
|
303
|
+
]
|
|
304
|
+
},
|
|
305
|
+
e.guid
|
|
306
|
+
) }),
|
|
307
|
+
/* @__PURE__ */ t(v, { sx: { ml: 58 } }),
|
|
308
|
+
/* @__PURE__ */ t(ge, { categories: o, parentCategory: e })
|
|
309
|
+
] });
|
|
310
|
+
}, Ee = g(_e), he = () => {
|
|
311
|
+
const { categories: e } = y(), { searchValue: o } = h(), { categories: r } = b(), s = ((a, i = "") => a.reduce((n, l) => {
|
|
312
|
+
if (l.parent_guid === null) {
|
|
313
|
+
const d = [
|
|
314
|
+
{
|
|
315
|
+
...l,
|
|
316
|
+
name: S(r.all_parent_category, l.name),
|
|
317
|
+
parent_guid: l.guid
|
|
318
|
+
},
|
|
319
|
+
...a
|
|
320
|
+
].filter(
|
|
321
|
+
(_) => _.parent_guid === l.guid && _.name.toLowerCase().includes(i.toLowerCase())
|
|
322
|
+
);
|
|
323
|
+
if (l.name.toLowerCase().includes(i.toLowerCase()) || d.length > 0)
|
|
324
|
+
return [...n, { category: { ...l }, children: d }];
|
|
325
|
+
}
|
|
326
|
+
return n;
|
|
327
|
+
}, []))(e, o);
|
|
328
|
+
return /* @__PURE__ */ t(V, { className: "mx-cat-category-list", sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(Y, { children: s.map((a) => /* @__PURE__ */ t(
|
|
329
|
+
Ee,
|
|
330
|
+
{
|
|
331
|
+
category: a.category,
|
|
332
|
+
subCategories: a.children
|
|
333
|
+
},
|
|
334
|
+
a.category.guid
|
|
335
|
+
)) }) });
|
|
336
|
+
}, pe = g(he), Se = ({
|
|
337
|
+
initialSelected: e,
|
|
338
|
+
onSelect: o = void 0,
|
|
339
|
+
showSelected: r = !0,
|
|
340
|
+
unselectable: c = [],
|
|
341
|
+
unselectableText: s = "Unselectable"
|
|
342
|
+
}) => {
|
|
343
|
+
const { categories: a, loadCategories: i } = y(), { common: n } = b(), { isCopyLoaded: l } = U(), {
|
|
344
|
+
searchValue: u,
|
|
345
|
+
setOnSelect: d,
|
|
346
|
+
setSearchValue: _,
|
|
347
|
+
setSelectedGuid: p,
|
|
348
|
+
setShowSelected: f,
|
|
349
|
+
setUnselectable: O,
|
|
350
|
+
setUnselectableText: T
|
|
351
|
+
} = h();
|
|
352
|
+
return C.useEffect(() => {
|
|
353
|
+
o && d(o);
|
|
354
|
+
}), C.useEffect(() => {
|
|
355
|
+
a.length || i();
|
|
356
|
+
}, []), C.useEffect(() => {
|
|
357
|
+
e && p(e), f(r), O(c), T(s);
|
|
358
|
+
}, [e, r, c, s]), l ? /* @__PURE__ */ E($, { className: "mx-cat-category-selector", sx: { width: "100%" }, children: [
|
|
359
|
+
/* @__PURE__ */ t(
|
|
360
|
+
oe,
|
|
361
|
+
{
|
|
362
|
+
ariaLabel: n.search_aria,
|
|
363
|
+
cancelAriaLabel: n.cancel_search_aria,
|
|
364
|
+
onChange: (A) => _(A),
|
|
365
|
+
placeholder: n.search_placeholder,
|
|
366
|
+
searchValue: u
|
|
367
|
+
}
|
|
368
|
+
),
|
|
369
|
+
/* @__PURE__ */ t(pe, {})
|
|
370
|
+
] }) : /* @__PURE__ */ t(k, {});
|
|
371
|
+
}, ye = g(Se), be = ({
|
|
372
|
+
id: e,
|
|
373
|
+
onClose: o,
|
|
374
|
+
title: r,
|
|
375
|
+
showDrawer: c,
|
|
376
|
+
...s
|
|
377
|
+
}) => {
|
|
378
|
+
const { common: a } = b(), { isCopyLoaded: i } = U();
|
|
379
|
+
return i ? /* @__PURE__ */ t(
|
|
380
|
+
ae,
|
|
381
|
+
{
|
|
382
|
+
ariaLabelClose: a.close_aria,
|
|
383
|
+
className: "mx-cat-category-selector-drawer",
|
|
384
|
+
id: e,
|
|
385
|
+
isOpen: c,
|
|
386
|
+
onClose: o,
|
|
387
|
+
title: r,
|
|
388
|
+
children: /* @__PURE__ */ t(ye, { ...s })
|
|
389
|
+
}
|
|
390
|
+
) : /* @__PURE__ */ t(k, {});
|
|
391
|
+
}, ze = g(be);
|
|
392
|
+
export {
|
|
393
|
+
ye as C,
|
|
394
|
+
ze as a,
|
|
395
|
+
Ee as b,
|
|
396
|
+
h as u
|
|
397
|
+
};
|
|
@@ -1,16 +1,63 @@
|
|
|
1
|
-
import { makeAutoObservable as
|
|
1
|
+
import { makeAutoObservable as u, runInAction as l } from "mobx";
|
|
2
2
|
import { getUnixTime as r } from "date-fns/getUnixTime";
|
|
3
|
-
import { subMonths as
|
|
4
|
-
import { startOfMonth as
|
|
5
|
-
import { endOfMonth as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
3
|
+
import { subMonths as g } from "date-fns/subMonths";
|
|
4
|
+
import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
5
|
+
import { endOfMonth as d } from "date-fns/endOfMonth";
|
|
6
|
+
import { a as T, g as m } from "./CategoryUtil-DRyruNgi.mjs";
|
|
7
|
+
import { F as p, A as i } from "./Fetch-CkFKy79O.mjs";
|
|
8
|
+
import { c as f, C as w } from "./Category-5S6uwuXz.mjs";
|
|
9
|
+
class y {
|
|
10
|
+
fetchInstance;
|
|
11
|
+
constructor(t, e) {
|
|
12
|
+
this.fetchInstance = new p(t, e);
|
|
13
|
+
}
|
|
14
|
+
addCategory = async (t) => this.fetchInstance.post(i.CATEGORIES, t).then((e) => e.category);
|
|
15
|
+
getCategories = async () => this.fetchInstance.get(i.CATEGORIES).then((t) => t.categories);
|
|
16
|
+
getDateRangeCategoryTotals = async (t, e, o) => o.length === 0 ? [] : this.fetchInstance.post(`${i.DATE_RANGE_CATEGORY_TOTALS}/from/${t}/to/${e}`, {
|
|
17
|
+
account_guid: o.map((a) => a.guid)
|
|
18
|
+
}).then((a) => a.date_range_category_totals);
|
|
19
|
+
getMonthlyCategoryTotals = async (t, e, o) => {
|
|
20
|
+
try {
|
|
21
|
+
const a = `${i.MONTHLY_CATEGORY_TOTALS}/from/${t}/to/${e}`;
|
|
22
|
+
if (o) {
|
|
23
|
+
const s = o.length === 0 ? [""] : o.map((C) => C.guid);
|
|
24
|
+
return (await this.fetchInstance.post(a, { account_guid: s })).monthly_category_totals;
|
|
25
|
+
} else
|
|
26
|
+
return (await this.fetchInstance.get(a)).monthly_category_totals;
|
|
27
|
+
} catch (a) {
|
|
28
|
+
throw console.error("Error fetching monthly category totals:", a), a;
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
removeCategory = async (t) => this.fetchInstance.delete(`${i.CATEGORIES}/${t}`);
|
|
32
|
+
updateCategory = async (t) => this.fetchInstance.put(`${i.CATEGORIES}/${t.guid}`, t).then((e) => e.category);
|
|
33
|
+
}
|
|
34
|
+
class S {
|
|
35
|
+
expandedGuid = null;
|
|
36
|
+
selectedGuid = null;
|
|
37
|
+
searchValue = "";
|
|
38
|
+
showSelected = !0;
|
|
39
|
+
shouldDisableDrawerScroll = !1;
|
|
40
|
+
unselectable = [];
|
|
41
|
+
unselectableText = "";
|
|
42
|
+
savedOnSelect;
|
|
43
|
+
// todo
|
|
44
|
+
constructor() {
|
|
45
|
+
u(this);
|
|
46
|
+
}
|
|
47
|
+
setExpandedGuid = (t) => this.expandedGuid = t;
|
|
48
|
+
setSelectedGuid = (t) => this.selectedGuid = t;
|
|
49
|
+
setSearchValue = (t) => this.searchValue = t;
|
|
50
|
+
setShouldDisableDrawerScroll = (t) => this.shouldDisableDrawerScroll = t;
|
|
51
|
+
setShowSelected = (t) => this.showSelected = t;
|
|
52
|
+
setUnselectable = (t) => this.unselectable = t;
|
|
53
|
+
setUnselectableText = (t) => this.unselectableText = t;
|
|
54
|
+
onSelect = (t) => this.savedOnSelect(t);
|
|
55
|
+
setOnSelect = (t) => this.savedOnSelect = t;
|
|
56
|
+
}
|
|
57
|
+
class G {
|
|
11
58
|
globalStore;
|
|
12
59
|
uiStore;
|
|
13
|
-
api = new
|
|
60
|
+
api = new y("/", "");
|
|
14
61
|
categories = [];
|
|
15
62
|
dateRangeCategoryTotals = [];
|
|
16
63
|
monthlyCategoryTotals = [];
|
|
@@ -18,17 +65,17 @@ class $ {
|
|
|
18
65
|
isLoadingCategoryTotals = !1;
|
|
19
66
|
monthlyTotalsLoaded = !1;
|
|
20
67
|
constructor(t) {
|
|
21
|
-
this.globalStore = t, this.uiStore = new
|
|
68
|
+
this.globalStore = t, this.uiStore = new S(), this.api = new y(t.endpoint, t.sessionToken), u(this);
|
|
22
69
|
}
|
|
23
70
|
get detailedCategories() {
|
|
24
|
-
return
|
|
71
|
+
return T(
|
|
25
72
|
this.categories,
|
|
26
73
|
this.dateRangeCategoryTotals,
|
|
27
74
|
this.monthlyCategoryTotals
|
|
28
75
|
);
|
|
29
76
|
}
|
|
30
77
|
get detailedCategoriesWithTransactions() {
|
|
31
|
-
return
|
|
78
|
+
return m(
|
|
32
79
|
this.detailedCategories,
|
|
33
80
|
this.globalStore.transactionStore.sortedTransactions
|
|
34
81
|
);
|
|
@@ -38,7 +85,7 @@ class $ {
|
|
|
38
85
|
}
|
|
39
86
|
get spendCategories() {
|
|
40
87
|
return this.detailedCategories.filter(
|
|
41
|
-
(t) => !t.is_income && !t.isTransfer && t.guid !==
|
|
88
|
+
(t) => !t.is_income && !t.isTransfer && t.guid !== f.INVESTMENTS
|
|
42
89
|
);
|
|
43
90
|
}
|
|
44
91
|
get transferCategories() {
|
|
@@ -55,7 +102,7 @@ class $ {
|
|
|
55
102
|
loadCategories = async (t) => {
|
|
56
103
|
try {
|
|
57
104
|
const e = t || await this.api.getCategories(), { default_categories: o } = this.globalStore.copyStore.copy.categories;
|
|
58
|
-
|
|
105
|
+
l(() => {
|
|
59
106
|
this.categories = e.map((a) => ({
|
|
60
107
|
...a,
|
|
61
108
|
name: o[a.guid] ? o[a.guid].replace(/&/g, "&") : a.name
|
|
@@ -73,7 +120,7 @@ class $ {
|
|
|
73
120
|
r(o),
|
|
74
121
|
t
|
|
75
122
|
);
|
|
76
|
-
|
|
123
|
+
l(() => {
|
|
77
124
|
this.dateRangeCategoryTotals = a, this.setIsLoadingCategoryTotals(!1), this.dataRangeTotalsLoaded = !0;
|
|
78
125
|
});
|
|
79
126
|
} catch (a) {
|
|
@@ -81,14 +128,14 @@ class $ {
|
|
|
81
128
|
}
|
|
82
129
|
};
|
|
83
130
|
loadMonthlyCategoryTotals = async (t = this.globalStore.globalUiStore.selectedAccounts, e, o) => {
|
|
84
|
-
const a = r(
|
|
131
|
+
const a = r(h(e ?? g(/* @__PURE__ */ new Date(), 11))), s = r(d(o ?? /* @__PURE__ */ new Date()));
|
|
85
132
|
try {
|
|
86
|
-
const
|
|
87
|
-
|
|
88
|
-
this.monthlyCategoryTotals =
|
|
133
|
+
const n = await this.api.getMonthlyCategoryTotals(a, s, t);
|
|
134
|
+
l(() => {
|
|
135
|
+
this.monthlyCategoryTotals = n, this.monthlyTotalsLoaded = !0;
|
|
89
136
|
});
|
|
90
|
-
} catch (
|
|
91
|
-
console.error(`Error occurred while getting monthly category totals: ${
|
|
137
|
+
} catch (n) {
|
|
138
|
+
console.error(`Error occurred while getting monthly category totals: ${n}`);
|
|
92
139
|
}
|
|
93
140
|
};
|
|
94
141
|
reloadCategoryTotals = async (t, e, o) => {
|
|
@@ -98,13 +145,13 @@ class $ {
|
|
|
98
145
|
r(e),
|
|
99
146
|
r(o),
|
|
100
147
|
t
|
|
101
|
-
),
|
|
102
|
-
r(
|
|
103
|
-
r(
|
|
148
|
+
), s = await this.api.getMonthlyCategoryTotals(
|
|
149
|
+
r(h(g(o, 11))),
|
|
150
|
+
r(d(o)),
|
|
104
151
|
t
|
|
105
152
|
);
|
|
106
|
-
|
|
107
|
-
this.dateRangeCategoryTotals = a, this.monthlyCategoryTotals =
|
|
153
|
+
l(() => {
|
|
154
|
+
this.dateRangeCategoryTotals = a, this.monthlyCategoryTotals = s, this.dataRangeTotalsLoaded = !0, this.monthlyTotalsLoaded = !0, this.setIsLoadingCategoryTotals(!1);
|
|
108
155
|
});
|
|
109
156
|
} catch (a) {
|
|
110
157
|
console.error(`Error occurred while getting category totals: ${a}`);
|
|
@@ -128,8 +175,9 @@ class $ {
|
|
|
128
175
|
}
|
|
129
176
|
};
|
|
130
177
|
// TODO: Remove this after refactoring Trends components to use detailedCategories
|
|
131
|
-
getCategoryName = (t) => this.categories.find((o) => o.guid === t)?.name ??
|
|
178
|
+
getCategoryName = (t) => this.categories.find((o) => o.guid === t)?.name ?? w[t];
|
|
132
179
|
}
|
|
133
180
|
export {
|
|
134
|
-
|
|
181
|
+
G as C,
|
|
182
|
+
y as a
|
|
135
183
|
};
|