@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/CHANGELOG.md
CHANGED
|
@@ -2,19 +2,19 @@ import { jsx as t, jsxs as r } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as _ } from "mobx-react-lite";
|
|
3
3
|
import s from "@mui/material/Stack";
|
|
4
4
|
import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mxui";
|
|
5
|
+
import { f as P } from "./NumberFormatting--XMeeBfr.mjs";
|
|
5
6
|
import p from "react";
|
|
6
|
-
import { G
|
|
7
|
-
import { g as
|
|
8
|
-
import { A as i } from "./Account-
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import { L as
|
|
13
|
-
import { I as
|
|
14
|
-
import { u as
|
|
15
|
-
import { f as B } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
7
|
+
import { G, d as f, l as O, f as R, a as v, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
8
|
+
import { g as L } from "./AccountFields-CAy0x_4i.mjs";
|
|
9
|
+
import { A as i } from "./Account-BaJmiJAG.mjs";
|
|
10
|
+
import H from "@mui/material/Card";
|
|
11
|
+
import M from "@mui/material/CardContent";
|
|
12
|
+
import U from "@mui/material/CardHeader";
|
|
13
|
+
import { L as Y } from "./Loader-CxeBwuPG.mjs";
|
|
14
|
+
import { I as j, P as z, S as k } from "./Account-BxHMlV9R.mjs";
|
|
15
|
+
import { u as B } from "./useAccountDisplayName-CFa_MrS6.mjs";
|
|
16
16
|
const C = () => {
|
|
17
|
-
if (!p.useContext(
|
|
17
|
+
if (!p.useContext(G))
|
|
18
18
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
19
19
|
return f().uiStore;
|
|
20
20
|
}, F = (o, e) => {
|
|
@@ -32,13 +32,13 @@ const C = () => {
|
|
|
32
32
|
ChartComponent: e,
|
|
33
33
|
header: c
|
|
34
34
|
}) => {
|
|
35
|
-
const { loadMonthlyCategoryTotals: n } =
|
|
35
|
+
const { loadMonthlyCategoryTotals: n } = O(), { isInitialized: l } = R(), { selectedAccount: a } = C(), [u, m] = p.useState(!1);
|
|
36
36
|
return p.useEffect(() => {
|
|
37
37
|
l && n([a]).finally(() => {
|
|
38
38
|
m(!0);
|
|
39
39
|
});
|
|
40
|
-
}, [l, a]), !l || !u ? /* @__PURE__ */ t(
|
|
41
|
-
|
|
40
|
+
}, [l, a]), !l || !u ? /* @__PURE__ */ t(Y, {}) : /* @__PURE__ */ r(
|
|
41
|
+
H,
|
|
42
42
|
{
|
|
43
43
|
sx: {
|
|
44
44
|
"& .MuiCardContent-root:last-child": {
|
|
@@ -47,8 +47,8 @@ const C = () => {
|
|
|
47
47
|
...o
|
|
48
48
|
},
|
|
49
49
|
children: [
|
|
50
|
-
/* @__PURE__ */ t(
|
|
51
|
-
/* @__PURE__ */ t(
|
|
50
|
+
/* @__PURE__ */ t(U, { sx: { pb: 0 }, title: /* @__PURE__ */ t(x, { sx: { pb: 4 }, children: c }) }),
|
|
51
|
+
/* @__PURE__ */ t(M, { sx: { p: 0 }, children: e ? /* @__PURE__ */ t(e, {}) : null })
|
|
52
52
|
]
|
|
53
53
|
}
|
|
54
54
|
);
|
|
@@ -56,13 +56,13 @@ const C = () => {
|
|
|
56
56
|
customDetailsChart: o,
|
|
57
57
|
ChartComponent: e
|
|
58
58
|
}) => {
|
|
59
|
-
const { institutions: c } = f(), { selectedAccount: n } = C(), { config: l } =
|
|
59
|
+
const { institutions: c } = f(), { selectedAccount: n } = C(), { config: l } = v(), { accounts: a } = w(), { firstSubtitle: u, firstValue: m, hasAvailableBalance: b, secondSubtitle: h, secondValue: A } = L(n, a, l.display_available_balance_in_accounts), y = c.find(
|
|
60
60
|
(T) => T.guid === n?.institution_guid
|
|
61
61
|
), g = [
|
|
62
|
-
...Y,
|
|
63
62
|
...j,
|
|
64
|
-
...z
|
|
65
|
-
|
|
63
|
+
...z,
|
|
64
|
+
...k
|
|
65
|
+
].includes(n.account_type), E = B(n), { title: S, description: I } = F(n.account_type, a);
|
|
66
66
|
return /* @__PURE__ */ r(s, { bgcolor: "background.default", p: 24, children: [
|
|
67
67
|
/* @__PURE__ */ r(s, { gap: 12, children: [
|
|
68
68
|
/* @__PURE__ */ t(
|
|
@@ -79,7 +79,7 @@ const C = () => {
|
|
|
79
79
|
/* @__PURE__ */ t(N, { children: E }),
|
|
80
80
|
/* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
|
|
81
81
|
/* @__PURE__ */ t(d, { bold: b, variant: "body1", children: u }),
|
|
82
|
-
/* @__PURE__ */ t(d, { bold: !0, variant: "body1", children:
|
|
82
|
+
/* @__PURE__ */ t(d, { bold: !0, variant: "body1", children: P(m, "0,0.00") })
|
|
83
83
|
] }),
|
|
84
84
|
/* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
|
|
85
85
|
/* @__PURE__ */ t(d, { variant: "body2", children: h }),
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as p } from "react/jsx-runtime";
|
|
2
2
|
import { Text as v, Icon as b } from "@mxenabled/mxui";
|
|
3
|
-
import { A as d, a as h, P as F, b as T } from "./Account-
|
|
4
|
-
import { i as A, u as D, a as g, b as O, c as C } from "./
|
|
3
|
+
import { A as d, a as h, P as F, b as T } from "./Account-BaJmiJAG.mjs";
|
|
4
|
+
import { i as A, u as D, a as g, b as O, c as C } from "./AccountUtils-T5_Odvos.mjs";
|
|
5
5
|
import { F as m } from "./Accounts-CseLC3lL.mjs";
|
|
6
|
-
import { f as N } from "./DateUtil-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { f
|
|
6
|
+
import { f as N } from "./DateUtil-Bhq59ZVg.mjs";
|
|
7
|
+
import { f as s, i as o, a as S, b as I } from "./NumberFormatting--XMeeBfr.mjs";
|
|
8
|
+
import { b as i } from "./Localization-DnoVyBNK.mjs";
|
|
9
|
+
import { f, D as c } from "./DateFormats-HudZ3Bjs.mjs";
|
|
10
10
|
const Y = (l, e) => {
|
|
11
11
|
const n = [
|
|
12
12
|
{
|
|
@@ -10,11 +10,11 @@ import L from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as j } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as T } from "./IconBacking-DgT8DCeh.mjs";
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
13
|
+
import { f as $ } from "./NumberFormatting--XMeeBfr.mjs";
|
|
14
|
+
import { g as k } from "./AccountFields-CAy0x_4i.mjs";
|
|
15
|
+
import { u as w } from "./useAccountDisplayName-CFa_MrS6.mjs";
|
|
16
|
+
import { a as E, u as M } from "./hooks-BaO_gOI6.mjs";
|
|
17
|
+
import { C as d } from "./Account-BaJmiJAG.mjs";
|
|
18
18
|
const z = {
|
|
19
19
|
gridRow: 1,
|
|
20
20
|
gridColumn: 1,
|
|
@@ -25,7 +25,7 @@ const z = {
|
|
|
25
25
|
listItemProps: s,
|
|
26
26
|
shouldShowConnectionStatus: p = !1
|
|
27
27
|
}) => {
|
|
28
|
-
const u = L(), f =
|
|
28
|
+
const u = L(), f = w(t), { config: g } = E(), { accounts: i } = M(), { firstSubtitle: h, firstValue: x, secondSubtitle: b, secondValue: y } = k(
|
|
29
29
|
t,
|
|
30
30
|
i,
|
|
31
31
|
g.display_available_balance_in_accounts
|
|
@@ -67,7 +67,7 @@ const z = {
|
|
|
67
67
|
secondary: /* @__PURE__ */ o(c, { children: [
|
|
68
68
|
/* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
69
69
|
/* @__PURE__ */ e(r, { variant: "caption", children: h }),
|
|
70
|
-
/* @__PURE__ */ e(r, { bold: !0, variant: "body2", children:
|
|
70
|
+
/* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: $(x, "0,0.00") })
|
|
71
71
|
] }),
|
|
72
72
|
/* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
73
73
|
/* @__PURE__ */ e(r, { variant: "caption", children: b }),
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as e, C as u, E as p,
|
|
1
|
+
import { A as e, C as u, E as p, e as y, M as d } from "./Account-BaJmiJAG.mjs";
|
|
2
2
|
const m = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, f = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, R = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, N = (t, n, s, _, a) => t.filter((i) => !(i.member_is_managed_by_user && _)).filter((i) => !(!i.member_is_managed_by_user && a)).sort(C).map((i) => {
|
|
3
3
|
const r = n.find((c) => c.guid === i.institution_guid), o = s.find((c) => c.guid === i.member_guid);
|
|
4
4
|
return E(i, r, o);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import u from "react";
|
|
2
2
|
import { getUnixTime as r } from "date-fns/getUnixTime";
|
|
3
|
-
import { A as l } from "./GlobalCopyApi-
|
|
3
|
+
import { A as l } from "./GlobalCopyApi-wcnDUzMV.mjs";
|
|
4
4
|
const A = (s, i) => {
|
|
5
5
|
const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticEvent && typeof n?.onAnalyticEvent == "function" ? [...e, n.onAnalyticEvent] : e, []), a = [...s, ...o];
|
|
6
6
|
return u.useMemo(() => (e) => {
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
const _ = {
|
|
2
|
+
ACCOUNTS: "accounts",
|
|
3
|
+
ANALYTICS_EVENTS: "analytics_events",
|
|
4
|
+
ANALYTICS_FEATURE_VISITS: "feature_visits",
|
|
5
|
+
ANALYTICS_PAGEVIEWS: "analytics_pageviews",
|
|
6
|
+
ANALYTICS_SESSION: "analytics_sessions",
|
|
7
|
+
APP_DATA: "raja/data?type=master",
|
|
8
|
+
BEATS: "beats",
|
|
9
|
+
BUDGETS: "budgets",
|
|
10
|
+
CATEGORIES: "categories",
|
|
11
|
+
DATE_RANGE_CATEGORY_TOTALS: "date_range_category_totals",
|
|
12
|
+
DEVICES: "devices",
|
|
13
|
+
EMAIL_VERIFICATIONS: "email_verifications",
|
|
14
|
+
GOALS: "goals",
|
|
15
|
+
HEALTH_SCORES: "health_scores",
|
|
16
|
+
HOLDINGS: "holdings",
|
|
17
|
+
INSTITUTIONS: "institutions",
|
|
18
|
+
INSIGHTS_NOTIFICATION_PROFILES: "insight_notification_profiles",
|
|
19
|
+
LOCALIZED_COPY: "localized_copies",
|
|
20
|
+
LOCALIZED_CONTENT: "localized_content",
|
|
21
|
+
MEMBERS: "members",
|
|
22
|
+
MERCHANTS: "merchants",
|
|
23
|
+
MERCHANT_BUDGETS: "merchant_budgets",
|
|
24
|
+
MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
|
|
25
|
+
MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
|
|
26
|
+
OFFERS: "offers",
|
|
27
|
+
NOTIFICATION_PROFILES: "notification_profiles",
|
|
28
|
+
NOTIFICATIONS: "notifications",
|
|
29
|
+
PHONE_VERIFICATIONS: "sms_verification",
|
|
30
|
+
PULSE_COMMUNICATIONS: "pulse_communications",
|
|
31
|
+
REPEATING_TRANSACTIONS: "repeating_transactions",
|
|
32
|
+
RETIREMENT_GOALS: "retirement_goals",
|
|
33
|
+
RETIREMENT_GOAL_ACCOUNTS: "retirement_goal_accounts",
|
|
34
|
+
SCHEDULED_PAYMENTS: "scheduled_payments",
|
|
35
|
+
SPENDING_PLANS: "spending_plans",
|
|
36
|
+
SUPPORT_TICKETS: "support_tickets",
|
|
37
|
+
TAGGINGS: "taggings",
|
|
38
|
+
TAGS: "tags",
|
|
39
|
+
TRANSACTION_RULES: "transaction_rules",
|
|
40
|
+
TRANSACTIONS: "transactions",
|
|
41
|
+
USER: "user",
|
|
42
|
+
USER_COMMUNICATION_PROFILE: "user_communication_profile",
|
|
43
|
+
USER_FEATURES: "user_features",
|
|
44
|
+
USER_PROFILES: "user_profiles",
|
|
45
|
+
WIDGET_URLS: "widget_urls"
|
|
46
|
+
};
|
|
47
|
+
export {
|
|
48
|
+
_ as A
|
|
49
|
+
};
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { f as _, a as y } from "./TransactionUtils-BphBJBbU.mjs";
|
|
2
|
+
import { f as d } from "./NumberFormatting--XMeeBfr.mjs";
|
|
3
|
+
import { b as f } from "./Localization-DnoVyBNK.mjs";
|
|
4
|
+
const w = (n, t) => !!n.find((e) => e.feature_name === t)?.is_enabled, l = (n, t) => !n && !t ? 0 : !n && t ? 101 : t / n * 100, p = (n, t) => {
|
|
5
|
+
const e = {
|
|
6
|
+
background: t.palette.success.main,
|
|
7
|
+
description: n <= 100 ? t.palette.text.secondary : t.palette.error.main,
|
|
8
|
+
text: t.palette.common.white,
|
|
9
|
+
mercury: t.palette.success.lighter
|
|
10
|
+
};
|
|
11
|
+
return n > 100 ? (e.background = t.palette.error.main, e.mercury = t.palette.error.lighter) : n > 80 && (e.background = t.palette.warning.main, e.text = t.palette.grey[900], e.mercury = t.palette.warning.lighter), e;
|
|
12
|
+
}, D = (n) => n.map((e) => {
|
|
13
|
+
const r = e.transaction_total;
|
|
14
|
+
return e.amount - r;
|
|
15
|
+
}).reduce((e, r) => e + r, 0), M = (n, t, e, r) => {
|
|
16
|
+
const a = [];
|
|
17
|
+
for (const o of n) {
|
|
18
|
+
const s = _(t, o.category_guid);
|
|
19
|
+
if (!s) continue;
|
|
20
|
+
const i = s.totalAmount, u = l(o.amount, i), c = o.amount - i;
|
|
21
|
+
a.push({
|
|
22
|
+
...o,
|
|
23
|
+
budgetColors: p(u, r),
|
|
24
|
+
category: s,
|
|
25
|
+
description: f(
|
|
26
|
+
c < 0 ? e.budget_remaining_over : e.budget_remaining_left,
|
|
27
|
+
d(Math.abs(c), "0,0")
|
|
28
|
+
),
|
|
29
|
+
percentage: u,
|
|
30
|
+
subBudgets: [],
|
|
31
|
+
transaction_total: i
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
for (const o of n) {
|
|
35
|
+
const s = y(t, o.category_guid);
|
|
36
|
+
if (!s) continue;
|
|
37
|
+
const i = s.currentAmount, u = a.find((b) => b.category_guid === s.parent_guid);
|
|
38
|
+
if (!u) continue;
|
|
39
|
+
const c = o.amount - i, g = l(o.amount, i);
|
|
40
|
+
u && u.subBudgets.push({
|
|
41
|
+
...o,
|
|
42
|
+
budgetColors: p(g, r),
|
|
43
|
+
category: s,
|
|
44
|
+
description: f(
|
|
45
|
+
c < 0 ? e.budget_remaining_over : e.budget_remaining_left,
|
|
46
|
+
d(Math.abs(c), "0,0")
|
|
47
|
+
),
|
|
48
|
+
percentage: g,
|
|
49
|
+
subBudgets: [],
|
|
50
|
+
transaction_total: i
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
return a;
|
|
54
|
+
}, m = (n, t) => n.find((e) => e.guid === t), k = (n, t, e) => {
|
|
55
|
+
const r = m(n, e);
|
|
56
|
+
if (r)
|
|
57
|
+
return m(r.subBudgets, t);
|
|
58
|
+
}, v = (n, t) => {
|
|
59
|
+
const e = Math.max(0, t - n), r = t > 0 ? Math.min(100, n / t * 100) : 0;
|
|
60
|
+
let a = "success";
|
|
61
|
+
return r >= 100 ? a = "error" : r >= 50 && (a = "warning"), {
|
|
62
|
+
remainingAmount: e,
|
|
63
|
+
spentPercentage: r,
|
|
64
|
+
iconColor: a
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
v as a,
|
|
69
|
+
k as b,
|
|
70
|
+
M as c,
|
|
71
|
+
m as f,
|
|
72
|
+
D as g,
|
|
73
|
+
w as i
|
|
74
|
+
};
|
|
@@ -2,9 +2,10 @@ import { jsx as t, jsxs as _ } from "react/jsx-runtime";
|
|
|
2
2
|
import { observer as E } from "mobx-react-lite";
|
|
3
3
|
import p from "react";
|
|
4
4
|
import $ from "@mui/material/Stack";
|
|
5
|
-
import { G as K, l as f, u as S, g as A, b as B } from "./hooks-
|
|
5
|
+
import { G as K, l as f, u as S, g as A, b as B } from "./hooks-BaO_gOI6.mjs";
|
|
6
6
|
import U from "@mui/material/List";
|
|
7
7
|
import V from "@mui/material/Paper";
|
|
8
|
+
import { b as g } from "./Localization-DnoVyBNK.mjs";
|
|
8
9
|
import Y from "@mui/material/Divider";
|
|
9
10
|
import x from "@mui/material/ListItem";
|
|
10
11
|
import W from "@mui/material/ListItemAvatar";
|
|
@@ -15,7 +16,6 @@ import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxen
|
|
|
15
16
|
import { Text as q, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
|
|
16
17
|
import Q from "@mui/material/Collapse";
|
|
17
18
|
import Z from "@mui/material/DialogContent";
|
|
18
|
-
import { b as g } from "./Localization-CkQ49EKr.mjs";
|
|
19
19
|
import { D as ee } from "./Dialog-iLlBR8TG.mjs";
|
|
20
20
|
import te from "@mui/material/Box";
|
|
21
21
|
import oe from "@mui/material/Chip";
|
|
@@ -5,7 +5,7 @@ import s from "@mui/material/CircularProgress";
|
|
|
5
5
|
import m from "@mui/material/Stack";
|
|
6
6
|
import { Text as a } from "@mxenabled/mxui";
|
|
7
7
|
import { M as t } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { u as p } from "./hooks-
|
|
8
|
+
import { u as p } from "./hooks-BaO_gOI6.mjs";
|
|
9
9
|
const l = ({ status: r = t.Loading }) => {
|
|
10
10
|
const { connect: n } = p();
|
|
11
11
|
return /* @__PURE__ */ o(
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { jsxs as r, jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import n from "react";
|
|
3
|
+
import m from "@mui/material/Button";
|
|
4
|
+
import l from "@mui/material/Card";
|
|
5
|
+
import d from "@mui/material/CardContent";
|
|
6
|
+
import p from "@mui/material/CardHeader";
|
|
7
|
+
import C from "@mui/material/Stack";
|
|
8
|
+
import { AccountBalance as f, ChevronRight as x } from "@mxenabled/mx-icons";
|
|
9
|
+
import { Text as a } from "@mxenabled/mxui";
|
|
10
|
+
import { C as h } from "./ConnectDrawer-DgfsTpyW.mjs";
|
|
11
|
+
const H = ({ description: i, label: e, title: s }) => {
|
|
12
|
+
const [c, o] = n.useState(!1);
|
|
13
|
+
return /* @__PURE__ */ r(n.Fragment, { children: [
|
|
14
|
+
/* @__PURE__ */ r(l, { sx: { m: 24 }, children: [
|
|
15
|
+
/* @__PURE__ */ t(
|
|
16
|
+
p,
|
|
17
|
+
{
|
|
18
|
+
avatar: /* @__PURE__ */ t(f, {}),
|
|
19
|
+
sx: { ".MuiCardHeader-avatar": { mr: 8 } },
|
|
20
|
+
title: /* @__PURE__ */ t(a, { bold: !0, variant: "body1", children: s })
|
|
21
|
+
}
|
|
22
|
+
),
|
|
23
|
+
/* @__PURE__ */ t(d, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ r(C, { alignItems: "flex-start", spacing: 2, children: [
|
|
24
|
+
/* @__PURE__ */ t(a, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "subtitle2", children: i }),
|
|
25
|
+
/* @__PURE__ */ t(
|
|
26
|
+
m,
|
|
27
|
+
{
|
|
28
|
+
endIcon: /* @__PURE__ */ t(x, {}),
|
|
29
|
+
onClick: () => o(!0),
|
|
30
|
+
sx: {
|
|
31
|
+
pl: 0,
|
|
32
|
+
":hover": {
|
|
33
|
+
bgcolor: "unset"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
variant: "text",
|
|
37
|
+
children: e
|
|
38
|
+
}
|
|
39
|
+
)
|
|
40
|
+
] }) })
|
|
41
|
+
] }),
|
|
42
|
+
/* @__PURE__ */ t(
|
|
43
|
+
h,
|
|
44
|
+
{
|
|
45
|
+
onClose: () => o(!1),
|
|
46
|
+
showConnectWidget: c,
|
|
47
|
+
title: e
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
] });
|
|
51
|
+
};
|
|
52
|
+
export {
|
|
53
|
+
H as C
|
|
54
|
+
};
|
|
@@ -3,9 +3,9 @@ import s from "react";
|
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import g from "@mui/material/styles/useTheme";
|
|
5
5
|
import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { b as a, a as c } from "./Connect-
|
|
6
|
+
import { b as a, a as c } from "./Connect-Dk6GZEsA.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { d as D, e as L, u as w } from "./hooks-
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
9
9
|
import { D as y } from "./Drawer-XPaLYjiO.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
loadWidgetProps: l,
|
|
@@ -3,9 +3,9 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as _ } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, a as c } from "./Connect-
|
|
6
|
+
import { C as a, a as c } from "./Connect-Dk6GZEsA.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { d as D, e as L, u as w } from "./hooks-
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
|
|
9
9
|
import { D as x } from "./Drawer-XPaLYjiO.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
onClose: l,
|