@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,67 @@
|
|
|
1
|
+
import { makeAutoObservable as c, observable as f, runInAction as h } from "mobx";
|
|
2
|
+
import { fromUnixTime as o, isSameDay as d } from "date-fns";
|
|
3
|
+
import { F as l, A as n } from "./Fetch-CkFKy79O.mjs";
|
|
4
|
+
class s {
|
|
5
|
+
fetchInstance;
|
|
6
|
+
constructor(t, i) {
|
|
7
|
+
this.fetchInstance = new l(t, i);
|
|
8
|
+
}
|
|
9
|
+
getNotifications = () => this.fetchInstance.get(n.NOTIFICATIONS).then(
|
|
10
|
+
(t) => t.notifications.map((i) => i.notification)
|
|
11
|
+
).finally();
|
|
12
|
+
updateNotification = (t) => this.fetchInstance.put(`${n.NOTIFICATIONS}/${t.guid}`, {
|
|
13
|
+
guid: t.guid,
|
|
14
|
+
has_been_viewed: t.has_been_viewed
|
|
15
|
+
}).then((i) => i.notification).finally();
|
|
16
|
+
// Note: The notifications/mark_all_as_viewed endpoint is broken, but still returns 202.
|
|
17
|
+
// A bug ticket has been filed to fix it, but should not require any changes here.
|
|
18
|
+
markAllAsViewed = (t) => this.fetchInstance.put(`${n.NOTIFICATIONS}/mark_all_as_viewed`, { channel: t }).finally();
|
|
19
|
+
}
|
|
20
|
+
const w = (e, t) => {
|
|
21
|
+
const i = o(t[e].delivered_at), a = o(t[e - 1]?.delivered_at);
|
|
22
|
+
return !d(i, a);
|
|
23
|
+
};
|
|
24
|
+
function u(e) {
|
|
25
|
+
const i = Math.floor(Date.now() / 1e3);
|
|
26
|
+
return e.filter((a) => {
|
|
27
|
+
const r = a.delivered_at;
|
|
28
|
+
return i - r <= 604800;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
class A {
|
|
32
|
+
globalStore;
|
|
33
|
+
api = new s("/", "");
|
|
34
|
+
isLoading = !0;
|
|
35
|
+
notifications = [];
|
|
36
|
+
recentNotifications = [];
|
|
37
|
+
constructor(t) {
|
|
38
|
+
this.globalStore = t, this.api = new s(t.endpoint, t.sessionToken), c(this, { notifications: f });
|
|
39
|
+
}
|
|
40
|
+
// Used in Money Dashboard
|
|
41
|
+
get newNotifications() {
|
|
42
|
+
return this.recentNotifications.filter((t) => !t.has_been_viewed);
|
|
43
|
+
}
|
|
44
|
+
loadNotifications = async () => {
|
|
45
|
+
try {
|
|
46
|
+
this.isLoading = !0;
|
|
47
|
+
const t = await this.api.getNotifications();
|
|
48
|
+
h(() => {
|
|
49
|
+
this.notifications = t, this.recentNotifications = u(t), this.isLoading = !1;
|
|
50
|
+
});
|
|
51
|
+
} catch (t) {
|
|
52
|
+
console.error(`Error occurred while loading notifications: ${t}`);
|
|
53
|
+
}
|
|
54
|
+
};
|
|
55
|
+
markAllAsViewed = async () => {
|
|
56
|
+
this.notifications.forEach((t) => t.has_been_viewed = !0), await this.api.markAllAsViewed(), await this.loadNotifications();
|
|
57
|
+
};
|
|
58
|
+
updateNotification = async (t) => {
|
|
59
|
+
t.has_been_viewed = !0, await this.api.updateNotification(t);
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
export {
|
|
63
|
+
A as N,
|
|
64
|
+
s as a,
|
|
65
|
+
u as f,
|
|
66
|
+
w as s
|
|
67
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import n from "numeral";
|
|
2
|
+
import { g as s } from "./Localization-2MODESHW.mjs";
|
|
3
|
+
const u = 9999999999e-2;
|
|
4
|
+
var a = /* @__PURE__ */ ((t) => (t.CAD = "CAD", t.USD = "USD", t))(a || {});
|
|
5
|
+
const d = (t, r, e) => {
|
|
6
|
+
switch (s()) {
|
|
7
|
+
case "fr-ca":
|
|
8
|
+
return n(t).format(`${r} $`, e);
|
|
9
|
+
default:
|
|
10
|
+
return n(t).format(`$${r}`, e);
|
|
11
|
+
}
|
|
12
|
+
}, D = () => {
|
|
13
|
+
switch (s()) {
|
|
14
|
+
case "fr-ca":
|
|
15
|
+
return a.CAD;
|
|
16
|
+
default:
|
|
17
|
+
return a.USD;
|
|
18
|
+
}
|
|
19
|
+
}, c = (t) => t != null && t !== "" && isFinite(t), i = {
|
|
20
|
+
style: "percent",
|
|
21
|
+
minimumFractionDigits: 2,
|
|
22
|
+
maximumFractionDigits: 2
|
|
23
|
+
}, g = (t, r = i) => c(t) ? new Intl.NumberFormat(s(), r).format(Number(t)) : t, l = (t) => new Intl.PluralRules(s(), t), w = (t, r = { type: "ordinal" }, e = {
|
|
24
|
+
one: "st",
|
|
25
|
+
two: "nd",
|
|
26
|
+
few: "rd",
|
|
27
|
+
other: "th"
|
|
28
|
+
}) => {
|
|
29
|
+
const o = l(r).select(t);
|
|
30
|
+
return `${t}${e[o]}`;
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
a as C,
|
|
34
|
+
u as M,
|
|
35
|
+
g as a,
|
|
36
|
+
w as b,
|
|
37
|
+
d as f,
|
|
38
|
+
D as g,
|
|
39
|
+
c as i
|
|
40
|
+
};
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
import { jsx as o } from "react/jsx-runtime";
|
|
2
|
+
import _ from "react";
|
|
3
|
+
import { observer as p } from "mobx-react-lite";
|
|
4
|
+
import v from "@mui/material/TextField";
|
|
5
|
+
import { L as y } from "./ListItemAction-Df3OPMOW.mjs";
|
|
6
|
+
import { u as h, i as b } from "./hooks-ClhFlg78.mjs";
|
|
7
|
+
import { a as T, f as S } from "./NumberFormatting-CtWHhyBX.mjs";
|
|
8
|
+
import { C as f } from "./CurrencyInput-DzsPiUsU.mjs";
|
|
9
|
+
const F = p(({ goal: e }) => {
|
|
10
|
+
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
|
+
const n = { ...e, interest_rate: t };
|
|
12
|
+
e.interest_rate = t, c ? l(n) : (await m(n), r(a.alert_goal_updated_interest_rate));
|
|
13
|
+
}, u = () => {
|
|
14
|
+
setTimeout(() => {
|
|
15
|
+
s(e.interest_rate ?? 0);
|
|
16
|
+
}, 250);
|
|
17
|
+
};
|
|
18
|
+
return /* @__PURE__ */ o(
|
|
19
|
+
y,
|
|
20
|
+
{
|
|
21
|
+
isDisabled: e.is_complete,
|
|
22
|
+
isSaveDisabled: i,
|
|
23
|
+
label: `${a.details_interest_rate} (%)`,
|
|
24
|
+
onCancel: u,
|
|
25
|
+
onSave: d,
|
|
26
|
+
primaryText: a.details_interest_rate,
|
|
27
|
+
secondaryText: T(Number(e.interest_rate) / 100),
|
|
28
|
+
zeroStateText: e.interest_rate ? void 0 : a.add_interest_rate,
|
|
29
|
+
children: /* @__PURE__ */ o(
|
|
30
|
+
v,
|
|
31
|
+
{
|
|
32
|
+
error: i,
|
|
33
|
+
fullWidth: !0,
|
|
34
|
+
label: a.details_goal_name,
|
|
35
|
+
onChange: (n) => s(isNaN(parseFloat(n.target.value)) ? 0 : parseFloat(n.target.value)),
|
|
36
|
+
type: "number",
|
|
37
|
+
value: t
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
}
|
|
41
|
+
);
|
|
42
|
+
}), B = p(({ goal: e }) => {
|
|
43
|
+
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.monthly_payment ?? 0), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
44
|
+
const n = { ...e, monthly_payment: t };
|
|
45
|
+
e.monthly_payment = t, c ? l(n) : (await m({ ...e, monthly_payment: t }), r(a.alert_goal_updated_payment));
|
|
46
|
+
}, u = () => {
|
|
47
|
+
setTimeout(() => {
|
|
48
|
+
s(e.monthly_payment || 0);
|
|
49
|
+
}, 250);
|
|
50
|
+
};
|
|
51
|
+
return /* @__PURE__ */ o(
|
|
52
|
+
y,
|
|
53
|
+
{
|
|
54
|
+
isDisabled: e.is_complete,
|
|
55
|
+
isSaveDisabled: i,
|
|
56
|
+
label: a.details_monthly_payment,
|
|
57
|
+
onCancel: u,
|
|
58
|
+
onSave: d,
|
|
59
|
+
primaryText: a.details_monthly_payment,
|
|
60
|
+
secondaryText: S(e.monthly_payment, "0,0"),
|
|
61
|
+
zeroStateText: e.monthly_payment ? void 0 : a.add_monthly_payment,
|
|
62
|
+
children: /* @__PURE__ */ o(
|
|
63
|
+
f,
|
|
64
|
+
{
|
|
65
|
+
amount: t,
|
|
66
|
+
autoFocus: !0,
|
|
67
|
+
error: i,
|
|
68
|
+
fullWidth: !0,
|
|
69
|
+
minAmount: 0,
|
|
70
|
+
setAmount: (n) => s(isNaN(Number(n)) ? t : Number(n)),
|
|
71
|
+
sx: { ".MuiTypography-Body": { p: 0 } }
|
|
72
|
+
}
|
|
73
|
+
)
|
|
74
|
+
}
|
|
75
|
+
);
|
|
76
|
+
}), M = p(({ goal: e }) => {
|
|
77
|
+
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.initial_amount), c = !e.guid, i = t < 0 || t > 9999999999e-2, d = async () => {
|
|
78
|
+
const n = { ...e, initial_amount: t };
|
|
79
|
+
e.initial_amount = t, c ? l(n) : (await m({ ...e, initial_amount: t }), r(a.alert_goal_updated_balance));
|
|
80
|
+
}, u = () => {
|
|
81
|
+
setTimeout(() => {
|
|
82
|
+
s(e.initial_amount);
|
|
83
|
+
}, 250);
|
|
84
|
+
};
|
|
85
|
+
return /* @__PURE__ */ o(
|
|
86
|
+
y,
|
|
87
|
+
{
|
|
88
|
+
isDisabled: e.is_complete,
|
|
89
|
+
isSaveDisabled: i,
|
|
90
|
+
label: a.details_original_balance,
|
|
91
|
+
onCancel: u,
|
|
92
|
+
onSave: d,
|
|
93
|
+
primaryText: a.details_original_balance,
|
|
94
|
+
secondaryText: S(e.initial_amount, "0,0"),
|
|
95
|
+
zeroStateText: !e.initial_amount && !e.is_complete ? a.add_original_balance : void 0,
|
|
96
|
+
children: /* @__PURE__ */ o(
|
|
97
|
+
f,
|
|
98
|
+
{
|
|
99
|
+
amount: t,
|
|
100
|
+
autoFocus: !0,
|
|
101
|
+
error: i,
|
|
102
|
+
fullWidth: !0,
|
|
103
|
+
minAmount: 0,
|
|
104
|
+
setAmount: (n) => s(isNaN(Number(n)) ? t : Number(n)),
|
|
105
|
+
sx: { ".MuiTypography-Body": { p: 0 } }
|
|
106
|
+
}
|
|
107
|
+
)
|
|
108
|
+
}
|
|
109
|
+
);
|
|
110
|
+
});
|
|
111
|
+
export {
|
|
112
|
+
F as I,
|
|
113
|
+
B as M,
|
|
114
|
+
M as O
|
|
115
|
+
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { jsxs as s, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import p from "react";
|
|
3
|
+
import { observer as d } from "mobx-react-lite";
|
|
4
|
+
import _ from "@mui/material/Box";
|
|
5
|
+
import g from "@mui/material/Tab";
|
|
6
|
+
import R from "@mui/material/Tabs";
|
|
7
|
+
import T from "@mui/material/Divider";
|
|
8
|
+
import b from "@mui/material/List";
|
|
9
|
+
import { R as f, A as h, M as C } from "./ManageIncome-BVt_XQbo.mjs";
|
|
10
|
+
import { u as l, f as E, g as u } from "./hooks-ClhFlg78.mjs";
|
|
11
|
+
import { R as S, F as A } from "./RepeatingTransaction-BPWfaB3f.mjs";
|
|
12
|
+
import { A as m } from "./WidgetContainer-CmGNZW0M.mjs";
|
|
13
|
+
const v = d(() => {
|
|
14
|
+
const { recurring: n } = l(), { repeatingTransactions: a } = E(), { onEvent: o } = u(), t = (e) => {
|
|
15
|
+
o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
|
|
16
|
+
repeating_transaction_guid: e.guid
|
|
17
|
+
});
|
|
18
|
+
}, c = () => {
|
|
19
|
+
o(m.RECURRING_TRANSACTIONS_CLICK_ADD_EXPENSE);
|
|
20
|
+
};
|
|
21
|
+
return /* @__PURE__ */ s(b, { sx: { bgcolor: "background.paper" }, children: [
|
|
22
|
+
a.filter(
|
|
23
|
+
(e) => e.repeating_transaction_type !== S.Income && (e.transactions.length > 0 || e.recurrence_type === A.EveryYear)
|
|
24
|
+
).map((e, i) => /* @__PURE__ */ s(p.Fragment, { children: [
|
|
25
|
+
/* @__PURE__ */ r(f, { onClick: t, repeatingTransaction: e }),
|
|
26
|
+
/* @__PURE__ */ r(T, { variant: i < a.length - 1 ? "inset" : "fullWidth" })
|
|
27
|
+
] }, e.guid)),
|
|
28
|
+
/* @__PURE__ */ r(h, { label: n.add_expense, onAddRecurringTransaction: c })
|
|
29
|
+
] });
|
|
30
|
+
}), K = d(() => {
|
|
31
|
+
const [n, a] = p.useState(0), { onEvent: o } = u(), { recurring: t } = l();
|
|
32
|
+
return /* @__PURE__ */ s(_, { bgcolor: "background.default", height: "100%", children: [
|
|
33
|
+
/* @__PURE__ */ s(
|
|
34
|
+
R,
|
|
35
|
+
{
|
|
36
|
+
onChange: (e, i) => {
|
|
37
|
+
a(i), o(
|
|
38
|
+
i === 0 ? "recurring_transactions_widget_manage_expenses" : "recurring_transactions_widget_edit_income"
|
|
39
|
+
);
|
|
40
|
+
},
|
|
41
|
+
sx: { bgcolor: "background.paper" },
|
|
42
|
+
value: n,
|
|
43
|
+
variant: "fullWidth",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ r(g, { label: t.manage_expenses }),
|
|
46
|
+
/* @__PURE__ */ r(g, { label: t.manage_income })
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
),
|
|
50
|
+
n === 0 && /* @__PURE__ */ r(v, {}),
|
|
51
|
+
n === 1 && /* @__PURE__ */ r(C, {})
|
|
52
|
+
] });
|
|
53
|
+
});
|
|
54
|
+
export {
|
|
55
|
+
v as M,
|
|
56
|
+
K as R
|
|
57
|
+
};
|
|
@@ -1,40 +1,54 @@
|
|
|
1
|
-
import { makeAutoObservable as f, runInAction as
|
|
2
|
-
import { endOfMonth as
|
|
3
|
-
import { isAfter as
|
|
4
|
-
import { isBefore as
|
|
5
|
-
import { isSameDay as
|
|
6
|
-
import { isWithinInterval as
|
|
7
|
-
import { startOfMonth as
|
|
8
|
-
import { startOfToday as
|
|
1
|
+
import { makeAutoObservable as f, runInAction as i } from "mobx";
|
|
2
|
+
import { endOfMonth as R } from "date-fns/endOfMonth";
|
|
3
|
+
import { isAfter as p } from "date-fns/isAfter";
|
|
4
|
+
import { isBefore as S } from "date-fns/isBefore";
|
|
5
|
+
import { isSameDay as g } from "date-fns/isSameDay";
|
|
6
|
+
import { isWithinInterval as m } from "date-fns/isWithinInterval";
|
|
7
|
+
import { startOfMonth as I } from "date-fns/startOfMonth";
|
|
8
|
+
import { startOfToday as c } from "date-fns/startOfToday";
|
|
9
9
|
import { subDays as y } from "date-fns/subDays";
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
const
|
|
14
|
-
class
|
|
10
|
+
import { F as x, A as o } from "./Fetch-CkFKy79O.mjs";
|
|
11
|
+
import { b as A, a, c as h, d as u } from "./RepeatingTransaction-BPWfaB3f.mjs";
|
|
12
|
+
var E = /* @__PURE__ */ ((r) => (r.Small = "small", r.Medium = "medium", r.Large = "large", r))(E || {});
|
|
13
|
+
const U = 44;
|
|
14
|
+
class d {
|
|
15
|
+
fetchInstance;
|
|
16
|
+
constructor(e, t) {
|
|
17
|
+
this.fetchInstance = new x(e, t);
|
|
18
|
+
}
|
|
19
|
+
addRepeatingTransaction = async (e) => this.fetchInstance.post(o.REPEATING_TRANSACTIONS, e).then((t) => t.repeating_transaction);
|
|
20
|
+
getRepeatingTransactions = async () => this.fetchInstance.get(o.REPEATING_TRANSACTIONS).then((e) => e.repeating_transactions);
|
|
21
|
+
updateRepeatingTransaction = async (e) => this.fetchInstance.put(
|
|
22
|
+
`${o.REPEATING_TRANSACTIONS}/${e.guid}`,
|
|
23
|
+
e
|
|
24
|
+
).then((t) => t.repeating_transaction);
|
|
25
|
+
deleteRepeatingTransaction = async (e) => this.fetchInstance.delete(`${o.REPEATING_TRANSACTIONS}/${e}`).then((t) => t);
|
|
26
|
+
}
|
|
27
|
+
const l = (r, e) => m(e.expectedDate, r), s = (r, e) => r + e.amount;
|
|
28
|
+
class C {
|
|
15
29
|
globalStore;
|
|
16
|
-
api = new
|
|
30
|
+
api = new d("/", "");
|
|
17
31
|
transactions = [];
|
|
18
32
|
repeatingTransactions = [];
|
|
19
33
|
selectedDay;
|
|
20
|
-
dateRange = { start:
|
|
34
|
+
dateRange = { start: I(c()), end: R(c()) };
|
|
21
35
|
isDataLoaded = !1;
|
|
22
36
|
constructor(e) {
|
|
23
|
-
this.globalStore = e, this.api = new
|
|
37
|
+
this.globalStore = e, this.api = new d(e.endpoint, e.sessionToken), f(this);
|
|
24
38
|
}
|
|
25
39
|
/**
|
|
26
40
|
* Returns all recurrences built from repeating transactions and filtered by accounts.
|
|
27
41
|
*/
|
|
28
42
|
get recurrences() {
|
|
29
43
|
const e = this.globalStore.accountStore.visibleAccounts;
|
|
30
|
-
return
|
|
44
|
+
return A(this.repeatingTransactions, this.dateRange).filter((t) => e.some((n) => n.guid === t.accountGuid && !n.is_excluded_from_accounts)).filter((t) => m(t.expectedDate, this.dateRange));
|
|
31
45
|
}
|
|
32
46
|
/**
|
|
33
47
|
* Returns all recurrences that have occurred in the past, including those that are paid or missed
|
|
34
48
|
*/
|
|
35
49
|
get pastRecurrences() {
|
|
36
50
|
return this.recurrences.filter(
|
|
37
|
-
(e) => e.status ===
|
|
51
|
+
(e) => e.status === a.Paid || e.status === a.Missed
|
|
38
52
|
);
|
|
39
53
|
}
|
|
40
54
|
/**
|
|
@@ -43,7 +57,7 @@ class P {
|
|
|
43
57
|
*/
|
|
44
58
|
get upcomingRecurrences() {
|
|
45
59
|
return this.recurrences.filter(
|
|
46
|
-
(e) =>
|
|
60
|
+
(e) => p(e.expectedDate, y(c(), 3)) && S(e.expectedDate, this.dateRange.end) && e.status === a.Upcoming
|
|
47
61
|
);
|
|
48
62
|
}
|
|
49
63
|
/**
|
|
@@ -51,7 +65,7 @@ class P {
|
|
|
51
65
|
*/
|
|
52
66
|
get expenses() {
|
|
53
67
|
return this.recurrences.filter(
|
|
54
|
-
(e) => e.type ===
|
|
68
|
+
(e) => e.type === h.Expense
|
|
55
69
|
);
|
|
56
70
|
}
|
|
57
71
|
/**
|
|
@@ -59,7 +73,7 @@ class P {
|
|
|
59
73
|
*/
|
|
60
74
|
get upcomingExpenses() {
|
|
61
75
|
return this.expenses.filter(
|
|
62
|
-
(e) => e.status ===
|
|
76
|
+
(e) => e.status === a.Upcoming
|
|
63
77
|
);
|
|
64
78
|
}
|
|
65
79
|
/**
|
|
@@ -67,7 +81,7 @@ class P {
|
|
|
67
81
|
*/
|
|
68
82
|
get income() {
|
|
69
83
|
return this.recurrences.filter(
|
|
70
|
-
(e) => e.type ===
|
|
84
|
+
(e) => e.type === h.Income
|
|
71
85
|
);
|
|
72
86
|
}
|
|
73
87
|
/**
|
|
@@ -75,11 +89,11 @@ class P {
|
|
|
75
89
|
*/
|
|
76
90
|
get upcomingIncome() {
|
|
77
91
|
return this.income.filter(
|
|
78
|
-
(e) => e.status ===
|
|
92
|
+
(e) => e.status === a.Upcoming
|
|
79
93
|
);
|
|
80
94
|
}
|
|
81
95
|
get nextIncomeRecurrence() {
|
|
82
|
-
return this.upcomingIncome.find((e) =>
|
|
96
|
+
return this.upcomingIncome.find((e) => p(e.expectedDate, c()));
|
|
83
97
|
}
|
|
84
98
|
/**
|
|
85
99
|
* Returns the expense recurrences for the current month.
|
|
@@ -107,19 +121,19 @@ class P {
|
|
|
107
121
|
* Calculates the total amount of all paid expenses for the current month.
|
|
108
122
|
*/
|
|
109
123
|
get paidExpenseTotal() {
|
|
110
|
-
return this.currentMonthExpenses.filter((e) => e.status ===
|
|
124
|
+
return this.currentMonthExpenses.filter((e) => e.status === a.Paid).reduce(s, 0);
|
|
111
125
|
}
|
|
112
126
|
/**
|
|
113
127
|
* Calculates the total amount of all missed expenses for the current month.
|
|
114
128
|
*/
|
|
115
129
|
get missedExpenseTotal() {
|
|
116
|
-
return this.currentMonthExpenses.filter((e) => e.status ===
|
|
130
|
+
return this.currentMonthExpenses.filter((e) => e.status === a.Missed).reduce(s, 0);
|
|
117
131
|
}
|
|
118
132
|
/**
|
|
119
133
|
* Calculates the total amount of all upcoming expenses for the current month.
|
|
120
134
|
*/
|
|
121
135
|
get upcomingExpenseTotal() {
|
|
122
|
-
return this.currentMonthExpenses.filter((e) => e.status ===
|
|
136
|
+
return this.currentMonthExpenses.filter((e) => e.status === a.Upcoming).reduce(s, 0);
|
|
123
137
|
}
|
|
124
138
|
/**
|
|
125
139
|
* Calculates the total amount of all income for the current month.
|
|
@@ -131,20 +145,20 @@ class P {
|
|
|
131
145
|
* Calculates the total amount of all paid income for the current month.
|
|
132
146
|
*/
|
|
133
147
|
get paidIncomeTotal() {
|
|
134
|
-
return this.currentMonthIncome.filter((e) => e.status ===
|
|
148
|
+
return this.currentMonthIncome.filter((e) => e.status === a.Paid).reduce(s, 0);
|
|
135
149
|
}
|
|
136
150
|
/**
|
|
137
151
|
* Calculates the total amount of all upcoming income for the current month.
|
|
138
152
|
*/
|
|
139
153
|
get upcomingIncomeTotal() {
|
|
140
|
-
return this.currentMonthIncome.filter((e) => e.status ===
|
|
154
|
+
return this.currentMonthIncome.filter((e) => e.status === a.Upcoming).reduce(s, 0);
|
|
141
155
|
}
|
|
142
156
|
/**
|
|
143
157
|
* Get the recurrences for the currently selected day.
|
|
144
158
|
*/
|
|
145
159
|
get selectedDayRecurrences() {
|
|
146
160
|
return this.selectedDay && this.recurrences.filter(
|
|
147
|
-
(e) => this.selectedDay &&
|
|
161
|
+
(e) => this.selectedDay && g(e.occurredOnDate || e.expectedDate, this.selectedDay)
|
|
148
162
|
);
|
|
149
163
|
}
|
|
150
164
|
/**
|
|
@@ -157,7 +171,7 @@ class P {
|
|
|
157
171
|
* @param day - The day to select.
|
|
158
172
|
*/
|
|
159
173
|
setSelectedDay = (e) => {
|
|
160
|
-
this.selectedDay = this.selectedDay &&
|
|
174
|
+
this.selectedDay = this.selectedDay && g(e, this.selectedDay) ? void 0 : e;
|
|
161
175
|
};
|
|
162
176
|
/**
|
|
163
177
|
* Load repeating transactions and augment them with additional data.
|
|
@@ -165,8 +179,8 @@ class P {
|
|
|
165
179
|
loadRepeatingTransactions = async () => {
|
|
166
180
|
try {
|
|
167
181
|
const e = await this.api.getRepeatingTransactions();
|
|
168
|
-
|
|
169
|
-
this.repeatingTransactions =
|
|
182
|
+
i(() => {
|
|
183
|
+
this.repeatingTransactions = u(
|
|
170
184
|
this.globalStore.accountStore.visibleAccounts,
|
|
171
185
|
e,
|
|
172
186
|
this.globalStore.transactionStore.transactions
|
|
@@ -183,22 +197,22 @@ class P {
|
|
|
183
197
|
*/
|
|
184
198
|
addRepeatingTransaction = async (e, t) => {
|
|
185
199
|
try {
|
|
186
|
-
const
|
|
200
|
+
const n = await this.api.addRepeatingTransaction(e);
|
|
187
201
|
await this.globalStore.transactionStore.updateTransaction({
|
|
188
202
|
...t,
|
|
189
|
-
repeating_transaction_guid:
|
|
190
|
-
}),
|
|
203
|
+
repeating_transaction_guid: n.guid
|
|
204
|
+
}), i(() => {
|
|
191
205
|
this.repeatingTransactions = [
|
|
192
206
|
...this.repeatingTransactions,
|
|
193
|
-
...
|
|
207
|
+
...u(
|
|
194
208
|
this.globalStore.accountStore.visibleAccounts,
|
|
195
|
-
[
|
|
209
|
+
[n],
|
|
196
210
|
this.globalStore.transactionStore.transactions
|
|
197
211
|
)
|
|
198
212
|
];
|
|
199
213
|
});
|
|
200
|
-
} catch (
|
|
201
|
-
console.error(`Error occurred while adding repeating transaction: ${
|
|
214
|
+
} catch (n) {
|
|
215
|
+
console.error(`Error occurred while adding repeating transaction: ${n}`);
|
|
202
216
|
}
|
|
203
217
|
};
|
|
204
218
|
/**
|
|
@@ -207,7 +221,7 @@ class P {
|
|
|
207
221
|
*/
|
|
208
222
|
deleteRepeatingTransaction = async (e) => {
|
|
209
223
|
try {
|
|
210
|
-
await this.api.deleteRepeatingTransaction(e),
|
|
224
|
+
await this.api.deleteRepeatingTransaction(e), i(() => {
|
|
211
225
|
this.repeatingTransactions = [
|
|
212
226
|
...this.repeatingTransactions.filter((t) => t.guid !== e)
|
|
213
227
|
];
|
|
@@ -222,19 +236,19 @@ class P {
|
|
|
222
236
|
*/
|
|
223
237
|
updateRepeatingTransaction = async (e) => {
|
|
224
238
|
try {
|
|
225
|
-
const t = await this.api.updateRepeatingTransaction(e),
|
|
226
|
-
(
|
|
239
|
+
const t = await this.api.updateRepeatingTransaction(e), n = this.repeatingTransactions.findIndex(
|
|
240
|
+
(T) => T.guid === t.guid
|
|
227
241
|
);
|
|
228
|
-
if (
|
|
229
|
-
|
|
242
|
+
if (n < 0) return;
|
|
243
|
+
i(() => {
|
|
230
244
|
this.repeatingTransactions = [
|
|
231
|
-
...this.repeatingTransactions.slice(0,
|
|
232
|
-
...
|
|
245
|
+
...this.repeatingTransactions.slice(0, n),
|
|
246
|
+
...u(
|
|
233
247
|
this.globalStore.accountStore.visibleAccounts,
|
|
234
248
|
[t],
|
|
235
249
|
this.globalStore.transactionStore.transactions
|
|
236
250
|
),
|
|
237
|
-
...this.repeatingTransactions.slice(
|
|
251
|
+
...this.repeatingTransactions.slice(n + 1)
|
|
238
252
|
];
|
|
239
253
|
});
|
|
240
254
|
} catch (t) {
|
|
@@ -243,5 +257,7 @@ class P {
|
|
|
243
257
|
};
|
|
244
258
|
}
|
|
245
259
|
export {
|
|
246
|
-
|
|
260
|
+
C as R,
|
|
261
|
+
E as S,
|
|
262
|
+
U as T
|
|
247
263
|
};
|