@mx-cartographer/experiences 8.1.12 → 8.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/dist/{Account-CMjOp7S2.mjs → Account-BaJmiJAG.mjs} +4 -4
- package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
- package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
- package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
- package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
- package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
- package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
- package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
- package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
- package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
- package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
- package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
- package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
- package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
- package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
- package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
- package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
- package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
- package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
- package/dist/DebtUtils-DD3186U-.mjs +153 -0
- package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
- package/dist/Error-Dogaw2jO.mjs +84 -0
- package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
- package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
- package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
- package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
- package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
- package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
- package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
- package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
- package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
- package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
- package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
- package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
- package/dist/Localization-DnoVyBNK.mjs +38 -0
- package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
- package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
- package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
- package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
- package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
- package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
- package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
- package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
- package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
- package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
- package/dist/Select-BZRUpOib.mjs +51 -0
- package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
- package/dist/Sizes-DISGrlUg.mjs +6 -0
- package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
- package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
- package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
- package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
- package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
- package/dist/UserStore-CRpKQjpP.mjs +3002 -0
- package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
- package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.mjs} +3 -3
- package/dist/accounts/hooks/useUiStore.d.ts +6 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +62 -64
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/context/hooks.d.ts +15 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +28 -31
- package/dist/categories/context/hooks.d.ts +19 -1
- package/dist/categories/index.d.ts +0 -1
- package/dist/categories/index.es.js +4 -6
- package/dist/common/constants/ScheduledPayment.d.ts +1 -1
- package/dist/common/constants/index.d.ts +0 -3
- package/dist/common/context/GlobalDataProvider.d.ts +1 -1
- package/dist/common/context/hooks.d.ts +20 -20
- package/dist/common/index.d.ts +3 -1
- package/dist/common/index.es.js +215 -961
- package/dist/common/utils/AccountFilter.d.ts +1 -1
- package/dist/common/utils/index.d.ts +0 -4
- package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
- package/dist/core/constants/Transaction.d.ts +10 -0
- package/dist/core/constants/index.d.ts +2 -0
- package/dist/core/index.d.ts +1 -1
- package/dist/core/index.es.js +94 -79
- package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
- package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
- package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
- package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
- package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
- package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
- package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
- package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
- package/dist/core/stores/DebtsStore.d.ts +22 -0
- package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
- package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
- package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
- package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
- package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
- package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
- package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
- package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
- package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
- package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
- package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
- package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
- package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
- package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
- package/dist/{common → core}/stores/UserStore.d.ts +2 -2
- package/dist/core/stores/index.d.ts +24 -0
- package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
- package/dist/core/types/Offer.d.ts +32 -0
- package/dist/core/types/index.d.ts +3 -1
- package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
- package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
- package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
- package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
- package/dist/core/utils/DebtUtils.d.ts +31 -0
- package/dist/core/utils/FinstrongUtils.d.ts +7 -0
- package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
- package/dist/core/utils/HelpUtil.d.ts +3 -0
- package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
- package/dist/core/utils/Localization.d.ts +3 -0
- package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
- package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
- package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
- package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
- package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
- package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
- package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
- package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
- package/dist/core/utils/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +4 -4
- package/dist/debts/components/DebtsChart.d.ts +1 -1
- package/dist/debts/components/DebtsTable.d.ts +1 -1
- package/dist/debts/components/SnowballCard.d.ts +1 -1
- package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
- package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
- package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
- package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
- package/dist/debts/index.d.ts +0 -1
- package/dist/debts/index.es.js +568 -691
- package/dist/debts/utils/DebtsTable.d.ts +1 -1
- package/dist/debts/utils/SnowballCard.d.ts +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +1565 -1342
- package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
- package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +71 -73
- package/dist/help/index.es.js +4 -4
- package/dist/help/utils/index.d.ts +0 -1
- package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
- package/dist/insights/index.d.ts +0 -1
- package/dist/insights/index.es.js +52 -54
- package/dist/investments/components/AnalysisDetails.d.ts +1 -1
- package/dist/investments/index.es.js +6 -6
- package/dist/merchants/index.d.ts +0 -1
- package/dist/merchants/index.es.js +12 -14
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/interfaces.d.ts +1 -33
- package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
- package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -1
- package/dist/networth/components/NetWorthListItem.d.ts +1 -1
- package/dist/networth/components/NetWorthSummary.d.ts +1 -1
- package/dist/networth/index.d.ts +0 -4
- package/dist/networth/index.es.js +232 -237
- package/dist/notifications/index.d.ts +0 -2
- package/dist/notifications/index.es.js +23 -26
- package/dist/recurringtransactions/index.d.ts +0 -1
- package/dist/recurringtransactions/index.es.js +92 -96
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +11 -13
- package/dist/spending/index.es.js +10 -10
- package/dist/transactions/context/hooks.d.ts +1 -1
- package/dist/transactions/index.d.ts +0 -4
- package/dist/transactions/index.es.js +102 -109
- package/dist/trends/index.d.ts +0 -1
- package/dist/trends/index.es.js +67 -68
- package/dist/trends/utils/shared.d.ts +1 -1
- package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
- package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
- package/package.json +1 -1
- package/dist/AccountApi-WEM2M9tg.mjs +0 -19
- package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
- package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
- package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
- package/dist/BeatStore-C7-PIhpB.mjs +0 -163
- package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
- package/dist/CashflowStore-BEi92kJg.mjs +0 -91
- package/dist/CategoryApi-CogDFScz.mjs +0 -29
- package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
- package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
- package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
- package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
- package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
- package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
- package/dist/Goal-MFBpoOIC.mjs +0 -29
- package/dist/GoalStore-BBAEbf43.mjs +0 -395
- package/dist/Localization-C_HZg9tJ.mjs +0 -15
- package/dist/Localization-CkQ49EKr.mjs +0 -26
- package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
- package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
- package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
- package/dist/NotificationApi-DF0obHoR.mjs +0 -20
- package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
- package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
- package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
- package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
- package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
- package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
- package/dist/Transaction-Cn5_iFm0.mjs +0 -5
- package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
- package/dist/TransactionStore-amPYxHnA.mjs +0 -710
- package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
- package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
- package/dist/accounts/stores/UiStore.d.ts +0 -10
- package/dist/accounts/utils/index.d.ts +0 -1
- package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
- package/dist/categories/stores/UiStore.d.ts +0 -20
- package/dist/common/stores/index.d.ts +0 -3
- package/dist/common/utils/Categories.d.ts +0 -6
- package/dist/common/utils/Localization.d.ts +0 -3
- package/dist/debts/store/DebtsStore.d.ts +0 -10
- package/dist/debts/store/DebtsUiStore.d.ts +0 -13
- package/dist/debts/utils/DebtStore.d.ts +0 -4
- package/dist/debts/utils/DebtsWidget.d.ts +0 -20
- package/dist/debts/utils/shared.d.ts +0 -12
- package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
- package/dist/help/constants/index.d.ts +0 -1
- package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
- package/dist/transactions/analytics.d.ts +0 -3
- package/dist/transactions/constants/Transaction.d.ts +0 -2
- package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
- package/dist/transactions/stores/UiStore.d.ts +0 -25
- package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
- package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
- /package/dist/{common → core}/constants/Category.d.ts +0 -0
- /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
- /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
- /package/dist/{help → core}/constants/Help.d.ts +0 -0
- /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
- /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
- /package/dist/{common → core}/constants/Table.d.ts +0 -0
- /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
package/dist/budgets/index.es.js
CHANGED
|
@@ -11,21 +11,21 @@ import x from "@mui/material/Stack";
|
|
|
11
11
|
import ce from "@mui/material/styles/useTheme";
|
|
12
12
|
import Y from "@mui/material/Box";
|
|
13
13
|
import X from "@mui/material/List";
|
|
14
|
+
import { b as R } from "../Localization-DnoVyBNK.mjs";
|
|
14
15
|
import { Text as C, CategoryIcon as H, Icon as z, H3 as Le } from "@mxenabled/mxui";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
16
|
+
import { f as D } from "../NumberFormatting--XMeeBfr.mjs";
|
|
17
|
+
import { u as E, o as w, i as le, l as Z, D as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-BaO_gOI6.mjs";
|
|
17
18
|
import $e from "@mui/material/Button";
|
|
18
19
|
import ue from "@mui/material/Divider";
|
|
19
20
|
import ee from "@mui/material/ListItem";
|
|
20
21
|
import me from "@mui/material/ListItemAvatar";
|
|
21
22
|
import te from "@mui/material/ListItemButton";
|
|
22
23
|
import oe from "@mui/material/ListItemText";
|
|
23
|
-
import { b as R } from "../Localization-CkQ49EKr.mjs";
|
|
24
24
|
import { D as $ } from "../Drawer-XPaLYjiO.mjs";
|
|
25
25
|
import Xe from "@mui/material/ListItemSecondaryAction";
|
|
26
|
-
import { C as Ze } from "../CurrencyInput-
|
|
26
|
+
import { C as Ze } from "../CurrencyInput-B59ugxPN.mjs";
|
|
27
27
|
import { D as W } from "../Dialog-iLlBR8TG.mjs";
|
|
28
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
28
|
+
import { C as qe } from "../ConnectionsDrawer-D7IXAza2.mjs";
|
|
29
29
|
import * as O from "d3";
|
|
30
30
|
import Je from "@mui/material/Tooltip";
|
|
31
31
|
import { useTheme as Ge, alpha as Qe } from "@mui/material/styles";
|
|
@@ -35,23 +35,23 @@ import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
|
|
|
35
35
|
import { A as P } from "../Analytics-CzGzz_sE.mjs";
|
|
36
36
|
import Ee from "@mui/material/Tab";
|
|
37
37
|
import et from "@mui/material/Tabs";
|
|
38
|
-
import { e as tt } from "../
|
|
39
|
-
import { T as ve } from "../EmbeddedCard-
|
|
40
|
-
import { T as ot, c as nt } from "../TransactionDetails-
|
|
38
|
+
import { e as tt, g as we } from "../TransactionUtils-BphBJBbU.mjs";
|
|
39
|
+
import { T as ve } from "../EmbeddedCard-BNl3quCs.mjs";
|
|
40
|
+
import { T as ot, c as nt } from "../TransactionDetails-CbBSxdOi.mjs";
|
|
41
41
|
import Te from "@mui/material/Card";
|
|
42
42
|
import De from "@mui/material/CardContent";
|
|
43
43
|
import { S as Se } from "../StatusBar-CPfSXe80.mjs";
|
|
44
44
|
import { S as Pe } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
45
|
-
import { u as at, C as rt } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as at, C as rt } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
|
|
46
46
|
import je from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as st } from "date-fns/subDays";
|
|
48
48
|
import it from "@mui/material/IconButton";
|
|
49
|
-
import { M as ct } from "../ManageIncome-
|
|
50
|
-
import { u as ze } from "../useWidgetLoadTimer-
|
|
51
|
-
import { W as lt } from "../WidgetContainer-
|
|
52
|
-
import {
|
|
53
|
-
import { M as
|
|
54
|
-
import { b as
|
|
49
|
+
import { M as ct } from "../ManageIncome-DwylSiWs.mjs";
|
|
50
|
+
import { u as ze } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
51
|
+
import { W as lt } from "../WidgetContainer-DalWyz5A.mjs";
|
|
52
|
+
import { g as dt, a as ut } from "../BudgetUtil-Bg2AQJpQ.mjs";
|
|
53
|
+
import { M as mt } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
54
|
+
import { b as gt } from "../CurrencyDialog-d4dL7vA5.mjs";
|
|
55
55
|
const pt = I(() => {
|
|
56
56
|
const { budgets: t } = E(), { totalBudgeted: n } = w(), { incomeTotal: c } = le(), i = c - n;
|
|
57
57
|
return /* @__PURE__ */ m(x, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -1189,7 +1189,7 @@ const It = ({
|
|
|
1189
1189
|
] })
|
|
1190
1190
|
] });
|
|
1191
1191
|
}, Ut = (t) => {
|
|
1192
|
-
const n = ce(), { onEvent: c } = q(), { detailedBudgets: i, isDataLoaded: a, loadBudgetData: s, setTheme: o } = w(), { budgets: r, common: p } = E(), { isInitialized: d, selectedAccounts: u } = J(), { loadDateRangeCategoryTotals: S, loadMonthlyCategoryTotals: g } = Z(), h = dt(), [_, y] = l.useState(!1);
|
|
1192
|
+
const n = ce(), { onEvent: c } = q(), { detailedBudgets: i, isDataLoaded: a, loadBudgetData: s, setTheme: o } = w(), { budgets: r, common: p } = E(), { isInitialized: d, selectedAccounts: u } = J(), { loadDateRangeCategoryTotals: S, loadMonthlyCategoryTotals: g } = Z(), h = dt(i), [_, y] = l.useState(!1);
|
|
1193
1193
|
l.useEffect(() => {
|
|
1194
1194
|
a || s().finally();
|
|
1195
1195
|
}, []), l.useEffect(() => {
|
|
@@ -1212,7 +1212,7 @@ const It = ({
|
|
|
1212
1212
|
}), !d || !a) return /* @__PURE__ */ e(pe, {});
|
|
1213
1213
|
const B = i.length === 0;
|
|
1214
1214
|
return /* @__PURE__ */ m(
|
|
1215
|
-
|
|
1215
|
+
mt,
|
|
1216
1216
|
{
|
|
1217
1217
|
contentStyles: { height: "calc(100% - 66px)", ":last-child": { pb: 0 } },
|
|
1218
1218
|
primaryCtaLabel: B ? r.get_started_cta : r.details_cta,
|
|
@@ -1372,7 +1372,7 @@ const It = ({
|
|
|
1372
1372
|
}
|
|
1373
1373
|
),
|
|
1374
1374
|
f && /* @__PURE__ */ e(
|
|
1375
|
-
|
|
1375
|
+
gt,
|
|
1376
1376
|
{
|
|
1377
1377
|
closeAriaLabel: h.close_aria,
|
|
1378
1378
|
content: ye(
|
|
@@ -1 +1,15 @@
|
|
|
1
|
-
export declare const useCashflowUiStore: () =>
|
|
1
|
+
export declare const useCashflowUiStore: () => {
|
|
2
|
+
dateRange: {
|
|
3
|
+
start: Date;
|
|
4
|
+
end: Date;
|
|
5
|
+
};
|
|
6
|
+
isDirty: boolean;
|
|
7
|
+
nextIncome: import('../../core').Recurrence | undefined;
|
|
8
|
+
upcomingExpenses: import('../../core').Recurrence[];
|
|
9
|
+
selectedCashAccounts: import('../../core').Account[];
|
|
10
|
+
get daysUntilNextIncome(): number;
|
|
11
|
+
get expensesTilNextIncome(): import('../../core').Recurrence[];
|
|
12
|
+
setNextIncome: (nextIncome: import('../../core').Recurrence) => void;
|
|
13
|
+
setUpcomingExpenses: (expenses: import('../../core').Recurrence[]) => void;
|
|
14
|
+
setSelectedCashAccounts: (accounts: import('../../core').Account[]) => import('../../core').Account[];
|
|
15
|
+
};
|
package/dist/cashflow/index.d.ts
CHANGED
|
@@ -8,26 +8,25 @@ import v from "@mui/material/Divider";
|
|
|
8
8
|
import s from "@mui/material/Stack";
|
|
9
9
|
import ie from "@mui/material/styles/useTheme";
|
|
10
10
|
import { Text as m, P as N, Icon as z, InstitutionLogo as xe, H2 as de, H3 as qe } from "@mxenabled/mxui";
|
|
11
|
-
import {
|
|
12
|
-
import { C as
|
|
11
|
+
import { b as H } from "../Localization-DnoVyBNK.mjs";
|
|
12
|
+
import { G as Ke, p as me, u as k, D as ae, d as ke, b as P, i as B, g as Le, a as Ve, h as Ne, C as Xe } from "../hooks-BaO_gOI6.mjs";
|
|
13
|
+
import { C as E } from "../CurrencyText-CCbE6MmF.mjs";
|
|
13
14
|
import { u as ue } from "../useScreenSize-CeFhWTt_.mjs";
|
|
14
15
|
import { L as Z } from "../Loader-CxeBwuPG.mjs";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { u as Oe } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
|
|
19
|
-
import { M as Je } from "../MiniWidgetContainer-BOv3n4iw.mjs";
|
|
16
|
+
import { I as pe } from "../InformationTooltip-4su8bn1e.mjs";
|
|
17
|
+
import { u as Oe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
|
|
18
|
+
import { M as Je } from "../MiniWidgetContainer-BdPiUU-u.mjs";
|
|
20
19
|
import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
|
|
21
|
-
import { R as Ze } from "../RecurringSettings-
|
|
20
|
+
import { R as Ze } from "../RecurringSettings-CPXLW6AR.mjs";
|
|
22
21
|
import et from "@mui/material/Tabs";
|
|
23
22
|
import ye from "@mui/material/Tab";
|
|
24
23
|
import { getUnixTime as le } from "date-fns/getUnixTime";
|
|
25
24
|
import Q from "@mui/material/List";
|
|
26
25
|
import ee from "@mui/material/ListItem";
|
|
27
|
-
import { A as tt } from "../AccountListItem-
|
|
28
|
-
import { f as U, D as Y } from "../DateFormats-
|
|
26
|
+
import { A as tt } from "../AccountListItem-BYyeeCf6.mjs";
|
|
27
|
+
import { f as U, D as Y } from "../DateFormats-HudZ3Bjs.mjs";
|
|
29
28
|
import nt from "@mui/material/ListSubheader";
|
|
30
|
-
import { f as J } from "../NumberFormatting
|
|
29
|
+
import { f as J } from "../NumberFormatting--XMeeBfr.mjs";
|
|
31
30
|
import { isAfter as Ge } from "date-fns/isAfter";
|
|
32
31
|
import { isBefore as Me } from "date-fns/isBefore";
|
|
33
32
|
import { isToday as Fe } from "date-fns/isToday";
|
|
@@ -36,20 +35,19 @@ import { alpha as ot, keyframes as it } from "@mui/material/styles";
|
|
|
36
35
|
import { DataGridPro as at } from "@mui/x-data-grid-pro";
|
|
37
36
|
import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
38
37
|
import W from "@mui/material/Button";
|
|
39
|
-
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-
|
|
38
|
+
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-DwylSiWs.mjs";
|
|
40
39
|
import { D as He } from "../Drawer-XPaLYjiO.mjs";
|
|
41
40
|
import { subDays as We } from "date-fns/subDays";
|
|
42
41
|
import { endOfToday as dt } from "date-fns/endOfToday";
|
|
43
|
-
import { W as mt } from "../WidgetContainer-
|
|
44
|
-
import { A as X } from "../Account-
|
|
42
|
+
import { W as mt } from "../WidgetContainer-DalWyz5A.mjs";
|
|
43
|
+
import { A as X } from "../Account-BaJmiJAG.mjs";
|
|
45
44
|
import { A as Se } from "../Analytics-CzGzz_sE.mjs";
|
|
46
45
|
import { formatISO as ut } from "date-fns/formatISO";
|
|
47
46
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
48
47
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
49
|
-
import { S as ht, a as ft } from "../EmbeddedCard-
|
|
50
|
-
import {
|
|
51
|
-
import { i as
|
|
52
|
-
import { F as bt, b as ve } from "../RepeatingTransaction-D2gmBTd0.mjs";
|
|
48
|
+
import { S as ht, a as ft } from "../EmbeddedCard-BNl3quCs.mjs";
|
|
49
|
+
import { F as gt, R as Ie, c as ve } from "../RecurringTransactionsUtil-B3rLEx_g.mjs";
|
|
50
|
+
import { i as bt } from "../DateUtil-Bhq59ZVg.mjs";
|
|
53
51
|
const q = () => {
|
|
54
52
|
if (!h.useContext(Ke))
|
|
55
53
|
throw new Error("useCashflowUiStore() must be used within the GlobalDataContext");
|
|
@@ -205,7 +203,7 @@ const q = () => {
|
|
|
205
203
|
]
|
|
206
204
|
}
|
|
207
205
|
) : /* @__PURE__ */ e(Z, {});
|
|
208
|
-
},
|
|
206
|
+
}, Fn = A(Ct), wt = ({ remaining: i }) => /* @__PURE__ */ e(
|
|
209
207
|
ee,
|
|
210
208
|
{
|
|
211
209
|
sx: {
|
|
@@ -802,7 +800,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
802
800
|
]
|
|
803
801
|
}
|
|
804
802
|
) : /* @__PURE__ */ e(Z, {});
|
|
805
|
-
},
|
|
803
|
+
}, Hn = A(Nt), Ot = ({ handleNextStep: i }) => {
|
|
806
804
|
const { completeOnboarding: o } = me(), { cashflow: t } = k(), r = ie();
|
|
807
805
|
return /* @__PURE__ */ n(s, { children: [
|
|
808
806
|
/* @__PURE__ */ e(de, { pb: 12, variant: "h1", children: t.welcome_title }),
|
|
@@ -889,11 +887,11 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
889
887
|
transform: rotate(360deg);
|
|
890
888
|
}
|
|
891
889
|
`, Wt = () => {
|
|
892
|
-
const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), C = ie(), [w, R] = V(!0), [D, L] = h.useState(
|
|
890
|
+
const { addRepeatingTransaction: i, repeatingTransactions: o } = B(), { cashflow: t, common: r } = k(), { user: f } = Xe(), { completeOnboarding: u } = me(), { isDirty: c } = q(), { isMobile: l } = ue(), { isCopyLoaded: b, setDisplayedDate: a } = P(), { filter: g, setFilter: d, transactions: x } = Ne(), C = ie(), [w, R] = V(!0), [D, L] = h.useState(gt.EveryMonth), [p, _] = h.useState(1), [S, re] = h.useState(15), [K, se] = V(!1), [$, G] = V(1), [O, je] = V([]), [fe, ce] = V(""), M = h.useMemo(
|
|
893
891
|
() => x.find((y) => y.guid === fe),
|
|
894
892
|
[fe, x]
|
|
895
893
|
), Be = !!o.filter(
|
|
896
|
-
(y) => y.repeating_transaction_type ===
|
|
894
|
+
(y) => y.repeating_transaction_type === Ie.Income
|
|
897
895
|
).length, ge = async () => {
|
|
898
896
|
G(2), a(
|
|
899
897
|
// Beginning of the month, 90 days before today
|
|
@@ -904,7 +902,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
904
902
|
if (!(O.length < 1)) {
|
|
905
903
|
se(!0);
|
|
906
904
|
for (let y = 0; y < O.length; y++) {
|
|
907
|
-
const T = O[y], be =
|
|
905
|
+
const T = O[y], be = ve(D, De(T.date)), Ue = {
|
|
908
906
|
account_guid: T.account_guid,
|
|
909
907
|
amount: T.amount,
|
|
910
908
|
created_by: 0,
|
|
@@ -914,7 +912,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
914
912
|
predicted_occurs_on: ut(be, { representation: "date" }),
|
|
915
913
|
recurrence_day: be.getDay(),
|
|
916
914
|
recurrence_type: D,
|
|
917
|
-
repeating_transaction_type:
|
|
915
|
+
repeating_transaction_type: Ie.Income,
|
|
918
916
|
second_recurrence_day: S,
|
|
919
917
|
transaction_type: T.transaction_type,
|
|
920
918
|
user_guid: f.guid
|
|
@@ -967,7 +965,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
967
965
|
/* @__PURE__ */ e(N, { mb: 24, children: t.add_income_description }),
|
|
968
966
|
O.length > 0 && !M && /* @__PURE__ */ n(j, { children: [
|
|
969
967
|
/* @__PURE__ */ e(Q, { children: O.map((y, T) => /* @__PURE__ */ n(h.Fragment, { children: [
|
|
970
|
-
/* @__PURE__ */ e(ht, { bgcolor: "background.paper", children:
|
|
968
|
+
/* @__PURE__ */ e(ht, { bgcolor: "background.paper", children: bt(
|
|
971
969
|
le(y.nextDate || y.date)
|
|
972
970
|
) }),
|
|
973
971
|
/* @__PURE__ */ e(ft, { transaction: y }),
|
|
@@ -1022,7 +1020,7 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
1022
1020
|
const y = [...O];
|
|
1023
1021
|
y.push({
|
|
1024
1022
|
...M,
|
|
1025
|
-
nextDate:
|
|
1023
|
+
nextDate: ve(D, De(M.date)),
|
|
1026
1024
|
frequency: D
|
|
1027
1025
|
}), je(y), ce("");
|
|
1028
1026
|
},
|
|
@@ -1069,10 +1067,9 @@ const St = ({ recurrence: i }) => /* @__PURE__ */ n(j, { children: [
|
|
|
1069
1067
|
]
|
|
1070
1068
|
}
|
|
1071
1069
|
) : /* @__PURE__ */ e(Z, {});
|
|
1072
|
-
},
|
|
1070
|
+
}, Wn = A(Wt);
|
|
1073
1071
|
export {
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
Wn as CashflowWidget
|
|
1072
|
+
Fn as CashflowMiniWidget,
|
|
1073
|
+
Wn as CashflowOnboarding,
|
|
1074
|
+
Hn as CashflowWidget
|
|
1078
1075
|
};
|
|
@@ -1 +1,19 @@
|
|
|
1
|
-
export declare const useCategoryUiStore: () =>
|
|
1
|
+
export declare const useCategoryUiStore: () => {
|
|
2
|
+
expandedGuid: string | null;
|
|
3
|
+
selectedGuid: string | null;
|
|
4
|
+
searchValue: string;
|
|
5
|
+
showSelected: boolean;
|
|
6
|
+
shouldDisableDrawerScroll: boolean;
|
|
7
|
+
unselectable: string[];
|
|
8
|
+
unselectableText: string;
|
|
9
|
+
savedOnSelect: any;
|
|
10
|
+
setExpandedGuid: (guid: string | null) => string | null;
|
|
11
|
+
setSelectedGuid: (guid: string | null) => string | null;
|
|
12
|
+
setSearchValue: (value: string) => string;
|
|
13
|
+
setShouldDisableDrawerScroll: (shouldDisable: boolean) => boolean;
|
|
14
|
+
setShowSelected: (showSelected: boolean) => boolean;
|
|
15
|
+
setUnselectable: (unselectable: string[]) => string[];
|
|
16
|
+
setUnselectableText: (text: string) => string;
|
|
17
|
+
onSelect: (guid: string) => any;
|
|
18
|
+
setOnSelect: (callback: any) => any;
|
|
19
|
+
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default as CategorySelector } from './components/CategorySelector';
|
|
2
2
|
export { default as CategorySelectorDrawer } from './components/CategorySelectorDrawer';
|
|
3
3
|
export { default as CategoryRow } from './components/CategoryRow';
|
|
4
|
-
export { CategoryStore } from './stores/CategoryStore';
|
|
5
4
|
export { useCategoryUiStore } from './context/hooks';
|
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { C as
|
|
2
|
-
import { C as g } from "../CategoryStore-CA4NTaKH.mjs";
|
|
1
|
+
import { C as a, a as o, b as t, u as s } from "../CategorySelectorDrawer-Cu1ohxeM.mjs";
|
|
3
2
|
export {
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
a as CategoryRow,
|
|
4
|
+
o as CategorySelector,
|
|
6
5
|
t as CategorySelectorDrawer,
|
|
7
|
-
|
|
8
|
-
C as useCategoryUiStore
|
|
6
|
+
s as useCategoryUiStore
|
|
9
7
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
export { ANALYTICS_EVENTS } from './Analytics';
|
|
2
|
-
export { DATE_FORMATS_INTL, formatDate, ORDINAL_DATE_FORMAT, ORDINAL_MONTH_DAY_YEAR_FORMAT, } from './DateFormats';
|
|
3
2
|
export { INCOME_ACCOUNT_TYPES, PAYMENT_ACCOUNT_TYPES, SPENDING_ACCOUNT_TYPES } from './Account';
|
|
4
|
-
export { CategoryColors, CategoryGuids, CategoryGuidToName, CategoryIcon, PaymentCategories, } from './Category';
|
|
5
|
-
export { CurrencyCodes } from './Numbers';
|
|
6
3
|
export { RECURRENCE_COPY } from './ScheduledPayment';
|
|
7
4
|
export { LOADING_STATUS } from './SpendingPlan';
|
|
8
5
|
export { DEFAULT_DONUT_SIZE, DEFAULT_STROKE_WIDTH } from './Donut';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { GlobalErrorHandler, GlobalEventHandler } from '../../core';
|
|
3
|
-
import { GlobalStore } from '
|
|
3
|
+
import { GlobalStore } from '../../core/stores';
|
|
4
4
|
export interface GlobalStoreContextTypes {
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
onError: GlobalErrorHandler;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
export declare const useGlobalDataContext: (providerName?: string) => import('./GlobalDataProvider').GlobalStoreContextTypes;
|
|
2
|
-
export declare const useAccountStore: () => import('../../
|
|
2
|
+
export declare const useAccountStore: () => import('../../core').AccountStore;
|
|
3
3
|
export declare const useAppConfig: () => import('../../core').AppConfig;
|
|
4
|
-
export declare const useAnalyticsStore: () => import('../../
|
|
5
|
-
export declare const useBudgetsStore: () => import('../../
|
|
6
|
-
export declare const useCashflowStore: () => import('../../
|
|
7
|
-
export declare const useCategoryStore: () => import('../../
|
|
8
|
-
export declare const useConnectStore: () => import('
|
|
9
|
-
export declare const useDebtStore: () => import('../../
|
|
10
|
-
export declare const useFinstrongStore: () => import('../../
|
|
4
|
+
export declare const useAnalyticsStore: () => import('../../core').AnalyticsStore;
|
|
5
|
+
export declare const useBudgetsStore: () => import('../../core').BudgetsStore;
|
|
6
|
+
export declare const useCashflowStore: () => import('../../core').CashflowStore;
|
|
7
|
+
export declare const useCategoryStore: () => import('../../core').CategoryStore;
|
|
8
|
+
export declare const useConnectStore: () => import('../../core').ConnectStore;
|
|
9
|
+
export declare const useDebtStore: () => import('../../core').DebtsStore;
|
|
10
|
+
export declare const useFinstrongStore: () => import('../../core').FinstrongStore;
|
|
11
11
|
export declare const useGlobalStore: () => import('..').GlobalStore;
|
|
12
|
-
export declare const useGlobalUiStore: () => import('
|
|
12
|
+
export declare const useGlobalUiStore: () => import('../../core').GlobalUiStore;
|
|
13
13
|
export declare const useGlobalCopyStore: () => import('../../core').GlobalCopy;
|
|
14
|
-
export declare const useGoalStore: () => import('../../
|
|
15
|
-
export declare const useHelpStore: () => import('../../
|
|
16
|
-
export declare const useHoldingStore: () => import('../../
|
|
17
|
-
export declare const useMerchantStore: () => import('../../
|
|
18
|
-
export declare const useNetWorthStore: () => import('../../
|
|
19
|
-
export declare const useNotificationStore: () => import('../../
|
|
20
|
-
export declare const useRecurringTransactionsStore: () => import('../../
|
|
21
|
-
export declare const useSettingsStore: () => import('../../
|
|
22
|
-
export declare const useTransactionStore: () => import('../../
|
|
23
|
-
export declare const useTrendsStore: () => import('../../
|
|
24
|
-
export declare const useUserStore: () => import('
|
|
14
|
+
export declare const useGoalStore: () => import('../../core').GoalStore;
|
|
15
|
+
export declare const useHelpStore: () => import('../../core').HelpStore;
|
|
16
|
+
export declare const useHoldingStore: () => import('../../core').HoldingStore;
|
|
17
|
+
export declare const useMerchantStore: () => import('../../core').MerchantStore;
|
|
18
|
+
export declare const useNetWorthStore: () => import('../../core').NetWorthStore;
|
|
19
|
+
export declare const useNotificationStore: () => import('../../core').NotificationStore;
|
|
20
|
+
export declare const useRecurringTransactionsStore: () => import('../../core').RecurringTransactionsStore;
|
|
21
|
+
export declare const useSettingsStore: () => import('../../core').SettingsStore;
|
|
22
|
+
export declare const useTransactionStore: () => import('../../core').TransactionStore;
|
|
23
|
+
export declare const useTrendsStore: () => import('../../core').TrendsStore;
|
|
24
|
+
export declare const useUserStore: () => import('../../core').UserStore;
|
|
25
25
|
export declare const useError: () => {
|
|
26
26
|
onError: import('../../core').GlobalErrorHandler;
|
|
27
27
|
};
|
package/dist/common/index.d.ts
CHANGED
|
@@ -2,5 +2,7 @@ export * from './components';
|
|
|
2
2
|
export * from './constants';
|
|
3
3
|
export * from './context';
|
|
4
4
|
export * from './hooks';
|
|
5
|
-
export * from './stores';
|
|
6
5
|
export * from './utils';
|
|
6
|
+
export { GlobalStore } from '../core/stores/GlobalStore';
|
|
7
|
+
export { buildDynamicCopy, buildPluralCopy } from '../core/utils/Localization';
|
|
8
|
+
export { formatOrdinal, formatCurrency, formatPercentage, getCurrencyCodes, getPluralRules, generateEqualIntervals, } from '../core/utils/NumberFormatting';
|