@mx-cartographer/experiences 8.0.25 → 8.1.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 -9
- package/dist/{AccountApi-ChQr5PAZ.mjs → AccountApi-WEM2M9tg.mjs} +1 -1
- package/dist/{AccountDetailsHeader-D9gbTbUt.mjs → AccountDetailsHeader-IPRH6Wja.mjs} +2 -2
- package/dist/{AccountFields-CxqONzjY.mjs → AccountFields-BbPSfzru.mjs} +3 -3
- package/dist/{AccountListItem-D9WJDbZ1.mjs → AccountListItem-qpACFl6i.mjs} +2 -2
- package/dist/{AccountStore-B7zfcad7.mjs → AccountStore-BeEiLNhW.mjs} +2 -2
- package/dist/Analytics-CjZ0emfs.mjs +53 -0
- package/dist/{Fetch-B6tMJC1r.mjs → ApiEndpoints-C5IA97i7.mjs} +48 -50
- package/dist/{BeatApi-EFHXULDx.mjs → BeatApi-C6pBa0Rb.mjs} +1 -1
- package/dist/{BeatStore-C6CAT-ce.mjs → BeatStore-DuvvrljY.mjs} +1 -1
- package/dist/{BudgetUtil-DZpOoZQa.mjs → BudgetUtil-CLh4xtj4.mjs} +60 -60
- package/dist/CategoryApi-CogDFScz.mjs +29 -0
- package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-BG04ByUx.mjs} +1 -1
- package/dist/CategoryStore-Bp1kO9Z-.mjs +160 -0
- package/dist/{CategoryUtil-BVixr0d5.mjs → CategoryUtil-DKRCegQv.mjs} +1 -1
- package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-BkNVHxSV.mjs} +14 -13
- package/dist/{CurrencyText-CA-E5N_y.mjs → CurrencyText-oqd6cX3M.mjs} +1 -1
- package/dist/{DateFormats-BMpMrZpW.mjs → DateFormats-CaOj_4eI.mjs} +1 -1
- package/dist/{DateUtil-wcYTmDRD.mjs → DateUtil-C57sqxn4.mjs} +1 -1
- package/dist/{EmbeddedCard-qwIhF1VP.mjs → EmbeddedCard-j7IGx3s1.mjs} +5 -5
- package/dist/{ExportCsvAction-CHCmCCqf.mjs → ExportCsvAction-7sjz7AXQ.mjs} +1 -1
- package/dist/FinstrongApi-FpmsS_sy.mjs +19 -0
- package/dist/{FinstrongStore-BQxXxxYD.mjs → FinstrongStore-DgyDJTEP.mjs} +121 -137
- package/dist/GlobalCopyApi-DkS-2Zf_.mjs +41 -0
- package/dist/Goal-MFBpoOIC.mjs +29 -0
- package/dist/{GoalStore-fgXt--2Y.mjs → GoalStore-DcaT4fM6.mjs} +81 -104
- package/dist/{Help-BkmSY96v.mjs → Help-cTsMzSQh.mjs} +1 -1
- package/dist/{LineChart-EAr5ox5U.mjs → LineChart-DkD_s9NN.mjs} +1 -1
- package/dist/Localization-C_HZg9tJ.mjs +15 -0
- package/dist/Localization-CkQ49EKr.mjs +26 -0
- package/dist/{ManageIncome-DqqI9HB1.mjs → ManageIncome-DwSE_a8L.mjs} +20 -20
- package/dist/MerchantApi-D8ahYxiG.mjs +15 -0
- package/dist/MerchantStore-CyZTv-BM.mjs +26 -0
- package/dist/{NetWorthStore-BqZ44-4M.mjs → NetWorthStore-Ba3q3VcH.mjs} +1 -1
- package/dist/NotificationApi-DF0obHoR.mjs +20 -0
- package/dist/{NotificationSettings-DBT37CVB.mjs → NotificationSettings-DB-eNgSv.mjs} +3 -3
- package/dist/NotificationStore-DlAM5Ue0.mjs +69 -0
- package/dist/{NumberFormatting-QCaNwbjv.mjs → NumberFormatting-CyrvFgfd.mjs} +1 -1
- package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-AB1TGb5P.mjs} +2 -2
- package/dist/{RecurringSettings-OBGLelZQ.mjs → RecurringSettings-CZKeZC4m.mjs} +8 -8
- package/dist/{RecurringTransactions-BbZ6MQsX.mjs → RecurringTransactions-kzlU8OFY.mjs} +5 -5
- package/dist/{RecurringTransactionsStore-BE_eUfTC.mjs → RecurringTransactionsStore-D62Dt2BF.mjs} +76 -90
- package/dist/{RepeatingTransaction-DF4vJn_v.mjs → RepeatingTransaction-D2gmBTd0.mjs} +3 -3
- package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +17 -0
- package/dist/SettingsApi-D9d7SLhB.mjs +22 -0
- package/dist/{SettingsStore-BoIoiRLj.mjs → SettingsStore-Dsz1mvd3.mjs} +41 -60
- package/dist/{SpendingData-Bz1bCWAs.mjs → SpendingData-CoZOmlZD.mjs} +1 -1
- package/dist/{SpendingLegend-CypdabwS.mjs → SpendingLegend-DljKEG69.mjs} +2 -2
- package/dist/{Transaction-C3Pg9TKf.mjs → Transaction-Cn5_iFm0.mjs} +2 -2
- package/dist/{TransactionApi-Ck5Ua-7F.mjs → TransactionApi-CLG2eSNe.mjs} +1 -1
- package/dist/{TransactionDetails-I1ny1ecc.mjs → TransactionDetails-CN-yZkin.mjs} +9 -9
- package/dist/{TransactionStore-BUsgGRL1.mjs → TransactionStore-6ovFO8P1.mjs} +10 -10
- package/dist/{TrendsStore-CYdTo7cN.mjs → TrendsStore-DZa6cyQC.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BJOZcYnB.mjs → ViewMoreMicroCard-BsEitNRJ.mjs} +10 -9
- package/dist/WidgetApi-C0BA2cFX.mjs +102 -0
- package/dist/{WidgetContainer-DYKMArWw.mjs → WidgetContainer-Bc75FqK7.mjs} +1 -1
- package/dist/accounts/index.d.ts +0 -1
- package/dist/accounts/index.es.js +63 -65
- package/dist/accounts/stores/AccountStore.d.ts +1 -1
- package/dist/budgets/index.es.js +11 -11
- package/dist/budgets/store/BudgetsStore.d.ts +1 -1
- package/dist/cashflow/index.d.ts +0 -1
- package/dist/cashflow/index.es.js +428 -449
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +2 -1
- package/dist/common/constants/index.d.ts +0 -1
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.es.js +389 -521
- package/dist/common/stores/AppDataStore.d.ts +2 -2
- package/dist/common/stores/ConnectStore.d.ts +1 -1
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
- package/dist/common/stores/UserStore.d.ts +1 -1
- package/dist/common/utils/Localization.d.ts +0 -9
- package/dist/common/utils/index.d.ts +1 -2
- package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
- package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
- package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
- package/dist/{common → core}/api/BannerApi.d.ts +1 -1
- package/dist/{common → core}/api/BeatApi.d.ts +2 -2
- package/dist/{budgets → core}/api/BudgetsApi.d.ts +2 -2
- package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
- package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
- package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
- package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
- package/dist/{help → core}/api/HelpApi.d.ts +2 -2
- package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
- package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
- package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
- package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -2
- package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
- package/dist/{settings → core}/api/SettingsApi.d.ts +2 -2
- package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
- package/dist/{common → core}/api/UserApi.d.ts +2 -2
- package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
- package/dist/core/api/index.d.ts +20 -0
- package/dist/{common → core}/constants/ApiEndpoints.d.ts +0 -2
- package/dist/core/constants/index.d.ts +1 -0
- package/dist/core/index.d.ts +2 -0
- package/dist/core/index.es.js +90 -38
- package/dist/{common → core}/utils/Fetch.d.ts +1 -1
- package/dist/core/utils/Localization.d.ts +9 -0
- package/dist/core/utils/index.d.ts +2 -0
- package/dist/debts/index.es.js +7 -7
- package/dist/{exportTransactionsToCSV-DgdB3TBt.mjs → exportTransactionsToCSV-Dnd5lVq7.mjs} +2 -2
- package/dist/finstrong/index.d.ts +0 -1
- package/dist/finstrong/index.es.js +16 -17
- package/dist/finstrong/stores/FinstrongStore.d.ts +1 -1
- package/dist/goals/index.d.ts +0 -1
- package/dist/goals/index.es.js +50 -51
- package/dist/goals/stores/GoalStore.d.ts +1 -1
- package/dist/help/index.es.js +2 -2
- package/dist/help/store/HelpStore.d.ts +1 -1
- package/dist/insights/index.es.js +6 -6
- package/dist/insights/store/BeatStore.d.ts +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/investments/stores/HoldingStore.d.ts +1 -1
- package/dist/merchants/index.es.js +1 -1
- package/dist/merchants/stores/MerchantStore.d.ts +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/microinsights/stores/CopyStore.d.ts +1 -1
- package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
- package/dist/networth/index.es.js +8 -8
- package/dist/networth/stores/NetWorthStore.d.ts +1 -1
- package/dist/notifications/index.es.js +5 -5
- package/dist/notifications/stores/NotificationStore.d.ts +2 -1
- package/dist/recurringtransactions/index.es.js +26 -25
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -1
- package/dist/settings/index.d.ts +0 -1
- package/dist/settings/index.es.js +65 -66
- package/dist/settings/stores/SettingsStore.d.ts +2 -2
- package/dist/spending/index.es.js +6 -6
- package/dist/transactions/index.d.ts +0 -1
- package/dist/transactions/index.es.js +22 -24
- package/dist/transactions/stores/TransactionStore.d.ts +3 -2
- package/dist/trends/index.es.js +14 -14
- package/package.json +1 -1
- package/dist/CategoryStore-FTxUbn0f.mjs +0 -186
- package/dist/Goal-0loDagc5.mjs +0 -6
- package/dist/Localization-CPkpIwIx.mjs +0 -37
- package/dist/MerchantStore-BzGi4JAZ.mjs +0 -37
- package/dist/NotificationStore-D_e8zo5M.mjs +0 -86
- package/dist/cashflow/api/CashflowApi.d.ts +0 -13
- package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
- package/dist/common/api/index.d.ts +0 -10
- package/dist/repeatingTransactions-DHIG94pi.mjs +0 -4
- package/dist/useCombineEvents-Bqojlv8q.mjs +0 -92
package/dist/goals/index.es.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { g as me, a as ze, C as Te, b as Pe } from "../GoalStore-fgXt--2Y.mjs";
|
|
2
|
-
import { G as Zn, c as qn } from "../GoalStore-fgXt--2Y.mjs";
|
|
3
1
|
import { jsxs as c, jsx as e, Fragment as $ } from "react/jsx-runtime";
|
|
4
2
|
import T from "react";
|
|
5
3
|
import { observer as D } from "mobx-react-lite";
|
|
6
|
-
import
|
|
7
|
-
import
|
|
4
|
+
import ze from "@mui/material/Alert";
|
|
5
|
+
import Pe from "@mui/material/Snackbar";
|
|
8
6
|
import f from "@mui/material/Stack";
|
|
9
7
|
import re from "@mui/material/Tab";
|
|
10
|
-
import
|
|
11
|
-
import { Text as C, H3 as le, P as q, Icon as
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
8
|
+
import je from "@mui/material/Tabs";
|
|
9
|
+
import { Text as C, H3 as le, P as q, Icon as Fe, InstitutionLogo as ee, H2 as Te } from "@mxenabled/mxui";
|
|
10
|
+
import me from "@mui/material/Button";
|
|
11
|
+
import Ce from "@mui/material/Card";
|
|
12
|
+
import xe from "@mui/material/CardActionArea";
|
|
13
|
+
import Re from "@mui/material/CardContent";
|
|
16
14
|
import ye from "@mui/material/Unstable_Grid2";
|
|
17
15
|
import ne from "@mui/material/Avatar";
|
|
18
|
-
import
|
|
19
|
-
import { Payments as
|
|
16
|
+
import $e from "@mui/material/CardHeader";
|
|
17
|
+
import { Payments as Se, NoteStack as Ee, Person as ve, ArrowUpwardAlt as He, CheckCircle as Ue, ChevronRight as V, Icon as ge, ExpandLess as Ye, ExpandMore as Ze, AddBox as Ie, Trophy as qe } from "@mxenabled/mx-icons";
|
|
18
|
+
import { g as ue, a as Je, C as Ge, b as Qe } from "../GoalStore-DcaT4fM6.mjs";
|
|
19
|
+
import { G as Zn } from "../GoalStore-DcaT4fM6.mjs";
|
|
20
20
|
import { u as R, k as G, b as _e, a as pe, d as P, o as Ne, g as ke } from "../hooks-BxkfR-Ff.mjs";
|
|
21
21
|
import { u as he } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
22
|
-
import { T as r,
|
|
23
|
-
import { f as v } from "../NumberFormatting-
|
|
22
|
+
import { T as r, a as de, M as Z } from "../Goal-MFBpoOIC.mjs";
|
|
23
|
+
import { f as v } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
24
24
|
import { S as Xe } from "../StatusBar-BK_uYHAB.mjs";
|
|
25
25
|
import E from "@mui/material/Divider";
|
|
26
26
|
import O from "@mui/material/List";
|
|
27
27
|
import { L as J } from "../ListItemAction-4KB7P75M.mjs";
|
|
28
|
-
import { C as we } from "../CurrencyInput-
|
|
28
|
+
import { C as we } from "../CurrencyInput-BkNVHxSV.mjs";
|
|
29
29
|
import { fromUnixTime as te } from "date-fns/fromUnixTime";
|
|
30
30
|
import et from "@mui/material/IconButton";
|
|
31
31
|
import k from "@mui/material/ListItem";
|
|
32
32
|
import z from "@mui/material/ListItemAvatar";
|
|
33
33
|
import L from "@mui/material/ListItemButton";
|
|
34
34
|
import w from "@mui/material/ListItemText";
|
|
35
|
-
import { b as W } from "../Localization-
|
|
36
|
-
import { f as be, D as fe } from "../DateFormats-
|
|
35
|
+
import { b as W } from "../Localization-CkQ49EKr.mjs";
|
|
36
|
+
import { f as be, D as fe } from "../DateFormats-CaOj_4eI.mjs";
|
|
37
37
|
import { D as Q } from "../Drawer-Bbe4AMB1.mjs";
|
|
38
38
|
import { g as De } from "../AccountDisplayName-CO7z3v99.mjs";
|
|
39
39
|
import tt from "@mui/material/Collapse";
|
|
@@ -42,7 +42,7 @@ import ot from "@mui/material/Checkbox";
|
|
|
42
42
|
import { A as Ae } from "../Account-BiB1F8lL.mjs";
|
|
43
43
|
import { u as at } from "../useAccountDisplayName-DKwT1mWv.mjs";
|
|
44
44
|
import Ke from "@mui/material/TextField";
|
|
45
|
-
import { M as it, I as rt, O as st } from "../OriginalBalanceAction-
|
|
45
|
+
import { M as it, I as rt, O as st } from "../OriginalBalanceAction-AB1TGb5P.mjs";
|
|
46
46
|
import { getUnixTime as ct } from "date-fns/getUnixTime";
|
|
47
47
|
import { isValid as lt } from "date-fns/isValid";
|
|
48
48
|
import { AdapterDateFns as dt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
@@ -52,7 +52,7 @@ import { D as _t } from "../Dialog-Ck34yr-d.mjs";
|
|
|
52
52
|
import { u as Me } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
53
53
|
import { A as H } from "../Analytics-0Xm_BjHU.mjs";
|
|
54
54
|
import { L as Le } from "../Loader-D3rjKx72.mjs";
|
|
55
|
-
import { W as pt } from "../WidgetContainer-
|
|
55
|
+
import { W as pt } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
56
56
|
import { E as ht } from "../EmptyState-DHAkGsjk.mjs";
|
|
57
57
|
import bt from "@mui/material/Stack/Stack";
|
|
58
58
|
import ft from "@mui/material/Box";
|
|
@@ -76,15 +76,15 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
76
76
|
percentage: b,
|
|
77
77
|
percentageText: a,
|
|
78
78
|
projectedText: o
|
|
79
|
-
} =
|
|
79
|
+
} = ue(l, t), h = t.track_type === r.DEBT_TRACK ? t.initial_amount : t.amount, m = [
|
|
80
80
|
{
|
|
81
81
|
color: p,
|
|
82
82
|
percentage: `${b}`
|
|
83
83
|
}
|
|
84
84
|
];
|
|
85
|
-
let g = /* @__PURE__ */ e(
|
|
86
|
-
return t.track_type === r.DEBT_TRACK ? g = /* @__PURE__ */ e(
|
|
87
|
-
|
|
85
|
+
let g = /* @__PURE__ */ e(Se, {});
|
|
86
|
+
return t.track_type === r.DEBT_TRACK ? g = /* @__PURE__ */ e(Ee, {}) : t.track_type === r.RETIREMENT_TRACK && (g = /* @__PURE__ */ e(ve, {})), /* @__PURE__ */ e(
|
|
87
|
+
Ce,
|
|
88
88
|
{
|
|
89
89
|
elevation: 2,
|
|
90
90
|
sx: {
|
|
@@ -93,9 +93,9 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
93
93
|
outlineColor: "primary.main"
|
|
94
94
|
}
|
|
95
95
|
},
|
|
96
|
-
children: /* @__PURE__ */ c(
|
|
96
|
+
children: /* @__PURE__ */ c(xe, { disabled: !u, onClick: u, children: [
|
|
97
97
|
/* @__PURE__ */ e(
|
|
98
|
-
|
|
98
|
+
$e,
|
|
99
99
|
{
|
|
100
100
|
avatar: /* @__PURE__ */ e(ne, { sx: { bgcolor: p, color: s, height: 48, width: 48 }, variant: "rounded", children: g }),
|
|
101
101
|
subheader: /* @__PURE__ */ e(
|
|
@@ -130,7 +130,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
130
130
|
)
|
|
131
131
|
}
|
|
132
132
|
),
|
|
133
|
-
/* @__PURE__ */ e(
|
|
133
|
+
/* @__PURE__ */ e(Re, { sx: { pt: 0 }, children: /* @__PURE__ */ c(f, { gap: 6, children: [
|
|
134
134
|
/* @__PURE__ */ e(Xe, { data: m, height: 24 }),
|
|
135
135
|
/* @__PURE__ */ c(f, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
136
136
|
/* @__PURE__ */ e(C, { color: "text.secondary", variant: "caption", children: a }),
|
|
@@ -179,7 +179,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
179
179
|
}
|
|
180
180
|
) });
|
|
181
181
|
}), xt = ({ goal: t, index: n, onUpClick: u }) => {
|
|
182
|
-
const { goals: l } = R(), { percentage: _ } =
|
|
182
|
+
const { goals: l } = R(), { percentage: _ } = ue(l, t), i = t.goal_type === de.KEEP_BALANCE_BELOW || t.has_been_spent ? l.goal_completed : W(l.goal_percentage_reached, `${_ * 100}`);
|
|
183
183
|
return /* @__PURE__ */ e(k, { children: /* @__PURE__ */ c(
|
|
184
184
|
L,
|
|
185
185
|
{
|
|
@@ -195,7 +195,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
195
195
|
justifyContent: "center",
|
|
196
196
|
".MuiAvatar-root": { height: "16px", width: "16px" }
|
|
197
197
|
},
|
|
198
|
-
children: t.track_type === r.SAVINGS_TRACK ? /* @__PURE__ */ e(et, { onClick: () => u?.(t), children: /* @__PURE__ */ e(
|
|
198
|
+
children: t.track_type === r.SAVINGS_TRACK ? /* @__PURE__ */ e(et, { onClick: () => u?.(t), children: /* @__PURE__ */ e(He, { color: "primary", size: 24 }) }) : /* @__PURE__ */ e(ne, { sx: { bgcolor: "text.primary", height: "16px", width: "16px" }, children: /* @__PURE__ */ e(C, { bold: !0, variant: "caption", children: n + 1 }) })
|
|
199
199
|
}
|
|
200
200
|
),
|
|
201
201
|
/* @__PURE__ */ e(w, { primaryTypographyProps: { variant: "body1" }, children: /* @__PURE__ */ c(f, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
@@ -222,7 +222,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
222
222
|
disableRipple: !0,
|
|
223
223
|
sx: { ":hover": { backgroundColor: "unset" }, cursor: "default" },
|
|
224
224
|
children: [
|
|
225
|
-
/* @__PURE__ */ e(z, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(
|
|
225
|
+
/* @__PURE__ */ e(z, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(Ue, { color: "success", filled: !0, size: 20 }) }),
|
|
226
226
|
/* @__PURE__ */ e(w, { primaryTypographyProps: { variant: "body1" }, children: /* @__PURE__ */ c(f, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
227
227
|
/* @__PURE__ */ c(f, { children: [
|
|
228
228
|
/* @__PURE__ */ e(C, { bold: !0, variant: "body1", children: t.name }),
|
|
@@ -256,7 +256,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
256
256
|
await i(A), await l();
|
|
257
257
|
};
|
|
258
258
|
return /* @__PURE__ */ c(f, { children: [
|
|
259
|
-
/* @__PURE__ */ e(
|
|
259
|
+
/* @__PURE__ */ e(me, { endIcon: /* @__PURE__ */ e(V, {}), onClick: () => a(!0), children: o }),
|
|
260
260
|
/* @__PURE__ */ e(
|
|
261
261
|
Q,
|
|
262
262
|
{
|
|
@@ -329,10 +329,10 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
329
329
|
width: { sm: 381 }
|
|
330
330
|
}),
|
|
331
331
|
variant: "body2",
|
|
332
|
-
children:
|
|
332
|
+
children: Je(t, l)
|
|
333
333
|
}
|
|
334
334
|
),
|
|
335
|
-
/* @__PURE__ */ e(
|
|
335
|
+
/* @__PURE__ */ e(me, { onClick: n, sx: { mt: 16, width: { sm: 224 } }, variant: "contained", children: l.add_goals_button })
|
|
336
336
|
]
|
|
337
337
|
}
|
|
338
338
|
),
|
|
@@ -352,9 +352,9 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
352
352
|
children: a
|
|
353
353
|
}
|
|
354
354
|
) }),
|
|
355
|
-
b.map((o) => /* @__PURE__ */ e(
|
|
355
|
+
b.map((o) => /* @__PURE__ */ e(Ce, { elevation: 2, children: /* @__PURE__ */ e(xe, { onClick: () => d(o), children: /* @__PURE__ */ e(Re, { sx: { ":last-child": { pb: 16 } }, children: /* @__PURE__ */ c(f, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
356
356
|
/* @__PURE__ */ c(f, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
357
|
-
/* @__PURE__ */ e(
|
|
357
|
+
/* @__PURE__ */ e(Fe, { color: "success", fill: !0, name: "check_circle", size: 20 }),
|
|
358
358
|
/* @__PURE__ */ e(C, { color: "text.secondary", variant: "body1", children: o.name })
|
|
359
359
|
] }),
|
|
360
360
|
/* @__PURE__ */ e(C, { bold: !0, variant: "body1", children: v(o.amount, "0,0.00") })
|
|
@@ -376,7 +376,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
376
376
|
/* @__PURE__ */ e(z, { children: /* @__PURE__ */ e(ne, { sx: { bgcolor: l }, variant: "rounded", children: /* @__PURE__ */ e(ge, { name: _, sx: { color: "grey.900" } }) }) }),
|
|
377
377
|
/* @__PURE__ */ e(w, { primary: i, secondary: d, sx: { mr: 24 } }),
|
|
378
378
|
!o && /* @__PURE__ */ e(V, {}),
|
|
379
|
-
o && (b ? /* @__PURE__ */ e(
|
|
379
|
+
o && (b ? /* @__PURE__ */ e(Ye, {}) : /* @__PURE__ */ e(Ze, {}))
|
|
380
380
|
]
|
|
381
381
|
}
|
|
382
382
|
) }),
|
|
@@ -439,7 +439,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
439
439
|
] }, o.guid))
|
|
440
440
|
] }),
|
|
441
441
|
p.show_connections_widget_in_master && /* @__PURE__ */ e(
|
|
442
|
-
|
|
442
|
+
Ge,
|
|
443
443
|
{
|
|
444
444
|
description: i.connect_description,
|
|
445
445
|
label: i.connect_button,
|
|
@@ -450,7 +450,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
450
450
|
}
|
|
451
451
|
);
|
|
452
452
|
}, vt = ({ onClose: t }) => {
|
|
453
|
-
const { goals: n } = R(), { addGoal: u, debtGoals: l, setAlert: _, setSelectedGoal: i } = G(), { config: d } = pe(), { visibleDebtAccounts: p } = P(), [s, b] = T.useState(!1), a =
|
|
453
|
+
const { goals: n } = R(), { addGoal: u, debtGoals: l, setAlert: _, setSelectedGoal: i } = G(), { config: d } = pe(), { visibleDebtAccounts: p } = P(), [s, b] = T.useState(!1), a = Qe(n), o = (m, g, S) => {
|
|
454
454
|
S === r.DEBT_TRACK ? b(!0) : i({
|
|
455
455
|
amount: 0,
|
|
456
456
|
current_amount: 0,
|
|
@@ -553,12 +553,12 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
553
553
|
return /* @__PURE__ */ c(f, { children: [
|
|
554
554
|
b && !t.account_guid ? /* @__PURE__ */ e(k, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ c(L, { onClick: () => o(!0), children: [
|
|
555
555
|
/* @__PURE__ */ e(w, { children: /* @__PURE__ */ c(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
|
|
556
|
-
/* @__PURE__ */ e(
|
|
556
|
+
/* @__PURE__ */ e(Ie, { filled: !0 }),
|
|
557
557
|
_.details_add_account
|
|
558
558
|
] }) }),
|
|
559
559
|
/* @__PURE__ */ e(V, { color: "primary" })
|
|
560
560
|
] }) }) : /* @__PURE__ */ c(f, { sx: { gap: 8, my: 24, mx: 24 }, children: [
|
|
561
|
-
/* @__PURE__ */ e(
|
|
561
|
+
/* @__PURE__ */ e(me, { onClick: () => o(!0), variant: "text", children: _.details_change_account }),
|
|
562
562
|
/* @__PURE__ */ e(
|
|
563
563
|
C,
|
|
564
564
|
{
|
|
@@ -607,7 +607,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
607
607
|
/* @__PURE__ */ e(V, {})
|
|
608
608
|
] }) }, m.guid)) }),
|
|
609
609
|
i.show_connections_widget_in_master && /* @__PURE__ */ e(
|
|
610
|
-
|
|
610
|
+
Ge,
|
|
611
611
|
{
|
|
612
612
|
description: _.connect_description,
|
|
613
613
|
label: _.connect_button,
|
|
@@ -742,7 +742,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
742
742
|
] }, y.guid)),
|
|
743
743
|
/* @__PURE__ */ e(k, { disableGutters: !0, disablePadding: !0, sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ c(L, { onClick: () => o(!0), children: [
|
|
744
744
|
/* @__PURE__ */ e(w, { children: /* @__PURE__ */ c(f, { alignItems: "center", color: "primary.main", direction: "row", gap: 8, children: [
|
|
745
|
-
/* @__PURE__ */ e(
|
|
745
|
+
/* @__PURE__ */ e(Ie, { filled: !0 }),
|
|
746
746
|
n.details_add_account
|
|
747
747
|
] }) }),
|
|
748
748
|
/* @__PURE__ */ e(V, { color: "primary" })
|
|
@@ -938,7 +938,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
938
938
|
children: [
|
|
939
939
|
/* @__PURE__ */ c(f, { mx: _ ? 0 : 48, my: 24, children: [
|
|
940
940
|
/* @__PURE__ */ c(
|
|
941
|
-
|
|
941
|
+
je,
|
|
942
942
|
{
|
|
943
943
|
onChange: (F, Ve) => x(Ve),
|
|
944
944
|
sx: { bgcolor: "background.paper" },
|
|
@@ -1002,7 +1002,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
1002
1002
|
children: /* @__PURE__ */ e(vt, { onClose: I })
|
|
1003
1003
|
}
|
|
1004
1004
|
),
|
|
1005
|
-
/* @__PURE__ */ e(
|
|
1005
|
+
/* @__PURE__ */ e(Pe, { onClose: () => S(""), open: !!a, children: /* @__PURE__ */ e(ze, { onClose: () => S(""), severity: "success", variant: "filled", children: a }) })
|
|
1006
1006
|
]
|
|
1007
1007
|
}
|
|
1008
1008
|
);
|
|
@@ -1012,12 +1012,12 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
1012
1012
|
color: _,
|
|
1013
1013
|
percentage: i,
|
|
1014
1014
|
projectedText: d
|
|
1015
|
-
} =
|
|
1016
|
-
let s = /* @__PURE__ */ e(
|
|
1017
|
-
return t.track_type === r.DEBT_TRACK ? s = /* @__PURE__ */ e(
|
|
1015
|
+
} = ue(n, t), p = Math.round(i * 100);
|
|
1016
|
+
let s = /* @__PURE__ */ e(Se, {});
|
|
1017
|
+
return t.track_type === r.DEBT_TRACK ? s = /* @__PURE__ */ e(Ee, {}) : t.track_type === r.RETIREMENT_TRACK && (s = /* @__PURE__ */ e(ve, {})), /* @__PURE__ */ c(f, { alignItems: "center", direction: "row", spacing: 12, sx: { py: 12 }, children: [
|
|
1018
1018
|
/* @__PURE__ */ e(ne, { sx: { bgcolor: l, color: _, height: 32, width: 32 }, variant: "rounded", children: s }),
|
|
1019
1019
|
/* @__PURE__ */ c(ft, { sx: { width: "100%" }, children: [
|
|
1020
|
-
/* @__PURE__ */ e(
|
|
1020
|
+
/* @__PURE__ */ e(Te, { fontSize: 15, fontWeight: 600, variant: "body1", children: t.name }),
|
|
1021
1021
|
t.projected_to_complete_at && /* @__PURE__ */ e(C, { color: "text.secondary", variant: "caption", children: d })
|
|
1022
1022
|
] }),
|
|
1023
1023
|
/* @__PURE__ */ e(
|
|
@@ -1042,8 +1042,8 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
1042
1042
|
...u
|
|
1043
1043
|
},
|
|
1044
1044
|
children: [
|
|
1045
|
-
/* @__PURE__ */ e(
|
|
1046
|
-
/* @__PURE__ */ e(
|
|
1045
|
+
/* @__PURE__ */ e(qe, { size: 32 }),
|
|
1046
|
+
/* @__PURE__ */ e(Te, { fontSize: 15, fontWeight: 600, children: t }),
|
|
1047
1047
|
/* @__PURE__ */ e(
|
|
1048
1048
|
q,
|
|
1049
1049
|
{
|
|
@@ -1096,8 +1096,7 @@ const Tt = (t, n) => n ? v(t, t < 1e3 ? "0" : "0.00a").replace(
|
|
|
1096
1096
|
);
|
|
1097
1097
|
});
|
|
1098
1098
|
export {
|
|
1099
|
-
Zn as
|
|
1100
|
-
qn as GoalStore,
|
|
1099
|
+
Zn as GoalStore,
|
|
1101
1100
|
Hn as GoalsMicroWidget,
|
|
1102
1101
|
$n as GoalsWidget
|
|
1103
1102
|
};
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import { observer as m } from "mobx-react-lite";
|
|
3
|
-
import { H as s } from "../Help-
|
|
3
|
+
import { H as s } from "../Help-cTsMzSQh.mjs";
|
|
4
4
|
import { b as a } from "../hooks-BxkfR-Ff.mjs";
|
|
5
5
|
import { u as p } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
6
6
|
import { L as d } from "../Loader-D3rjKx72.mjs";
|
|
7
|
-
import { W as f } from "../WidgetContainer-
|
|
7
|
+
import { W as f } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
8
8
|
const L = m(({ onBackClick: e, onMenuClick: i, sx: t }) => {
|
|
9
9
|
const { isInitialized: o } = a();
|
|
10
10
|
return p({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { B as Z5 } from "../BeatStore-
|
|
2
|
-
import { e as K, p as $1, B as O1, b as e2 } from "../EmbeddedCard-
|
|
3
|
-
import { f as b5, C as S5, E as v5 } from "../EmbeddedCard-
|
|
1
|
+
import { B as Z5 } from "../BeatStore-DuvvrljY.mjs";
|
|
2
|
+
import { e as K, p as $1, B as O1, b as e2 } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
3
|
+
import { f as b5, C as S5, E as v5 } from "../EmbeddedCard-j7IGx3s1.mjs";
|
|
4
4
|
import { jsx as t, jsxs as s, Fragment as N } from "react/jsx-runtime";
|
|
5
5
|
import * as e from "react";
|
|
6
6
|
import Z, { forwardRef as G, useRef as h1, useEffect as t2, useState as e1, useLayoutEffect as A1 } from "react";
|
|
@@ -35,14 +35,14 @@ import P1 from "@mui/material/RadioGroup";
|
|
|
35
35
|
import G2 from "@mui/material/TextField";
|
|
36
36
|
import { TextareaAutosize as R2 } from "@mui/base/TextareaAutosize";
|
|
37
37
|
import I2 from "@mui/material/styles/useTheme";
|
|
38
|
-
import { b as Y2 } from "../CategoryUtil-
|
|
38
|
+
import { b as Y2 } from "../CategoryUtil-DKRCegQv.mjs";
|
|
39
39
|
import H1 from "@mui/material/List";
|
|
40
40
|
import G1 from "@mui/material/ListItem";
|
|
41
41
|
import D2 from "@mui/material/ToggleButton";
|
|
42
42
|
import { u as N2 } from "../hooks-BxkfR-Ff.mjs";
|
|
43
43
|
import { D as O2 } from "../Drawer-Bbe4AMB1.mjs";
|
|
44
|
-
import { f as j } from "../NumberFormatting-
|
|
45
|
-
import { b as A2 } from "../Localization-
|
|
44
|
+
import { f as j } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
45
|
+
import { b as A2 } from "../Localization-CkQ49EKr.mjs";
|
|
46
46
|
const z2 = ({
|
|
47
47
|
allowScroll: r,
|
|
48
48
|
children: i,
|
|
@@ -18,7 +18,7 @@ import { Text as i, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
|
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
19
|
import { u as N, g as ve, s as U, b as J, d as le } from "../hooks-BxkfR-Ff.mjs";
|
|
20
20
|
import { A as z } from "../Analytics-0Xm_BjHU.mjs";
|
|
21
|
-
import { a as je, f as ie } from "../NumberFormatting-
|
|
21
|
+
import { a as je, f as ie } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
22
22
|
import { u as j } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
23
23
|
import ce from "@mui/material/styles/useTheme";
|
|
24
24
|
import { Icon as B } from "@mxenabled/mx-icons";
|
|
@@ -39,7 +39,7 @@ import { DataGridPro as Pe } from "@mui/x-data-grid-pro";
|
|
|
39
39
|
import { Stack as qe } from "@mui/material";
|
|
40
40
|
import { L as De } from "../Loader-D3rjKx72.mjs";
|
|
41
41
|
import { u as Ke } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
42
|
-
import { W as Ye } from "../WidgetContainer-
|
|
42
|
+
import { W as Ye } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
43
43
|
import { A as Qe } from "../Account-BiB1F8lL.mjs";
|
|
44
44
|
import { E as Je } from "../EmptyState-DHAkGsjk.mjs";
|
|
45
45
|
const me = ({ sx: t = {} }) => {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GlobalStore } from '../../common';
|
|
2
2
|
import { Holding } from '../../core';
|
|
3
|
-
import { HoldingApi } from '
|
|
3
|
+
import { HoldingApi } from '../../core/api/HoldingApi';
|
|
4
4
|
import { AnalysisType } from '../constants';
|
|
5
5
|
export declare class HoldingStore {
|
|
6
6
|
analysisType: AnalysisType;
|
|
@@ -15,7 +15,7 @@ import { MerchantLogo as V, Text as R } from "@mxenabled/mxui";
|
|
|
15
15
|
import { c as v, u as w, b as C } from "../hooks-BxkfR-Ff.mjs";
|
|
16
16
|
import { L as p } from "../Loader-D3rjKx72.mjs";
|
|
17
17
|
import { S as N } from "../SearchBox-CwDgvWVJ.mjs";
|
|
18
|
-
import { M as ne } from "../MerchantStore-
|
|
18
|
+
import { M as ne } from "../MerchantStore-CyZTv-BM.mjs";
|
|
19
19
|
const B = /^[ a-zA-ZÀ-ÿ0-9]+$/, H = 50, u = 65, P = ({
|
|
20
20
|
height: f = "calc(100dvh - 120px)",
|
|
21
21
|
onSelect: g
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as u, B as s, C as c, a as v, b as C, I as R, M as H, d as M, c as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-
|
|
1
|
+
import { A as u, B as s, C as c, a as v, b as C, I as R, M as H, d as M, c as F, N as V, V as k, Z as x } from "../ViewMoreMicroCard-BsEitNRJ.mjs";
|
|
2
2
|
import { jsx as e, jsxs as l } from "react/jsx-runtime";
|
|
3
3
|
const a = ({
|
|
4
4
|
color: i = "currentColor",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AnalyticSession } from '../analytics';
|
|
2
|
-
import { BeatApi } from '../../
|
|
2
|
+
import { BeatApi } from '../../core/api/BeatApi';
|
|
3
3
|
import { Beat } from '../../core/types/Beat';
|
|
4
4
|
export interface ErrPromise<TSuccess, TError = unknown> {
|
|
5
5
|
then<TResult1 = TSuccess, TResult2 = never>(onfulfilled?: ((value: TSuccess) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: TError) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>;
|
|
@@ -3,10 +3,10 @@ import { fromUnixTime as rt } from "date-fns/fromUnixTime";
|
|
|
3
3
|
import { observer as _ } from "mobx-react-lite";
|
|
4
4
|
import it from "@mui/material/Stack/Stack";
|
|
5
5
|
import { useTheme as z } from "@mui/material/styles";
|
|
6
|
-
import { L as at } from "../LineChart-
|
|
6
|
+
import { L as at } from "../LineChart-DkD_s9NN.mjs";
|
|
7
7
|
import { p as st, q as R, u as E, g as G, d as ct, b as Y } from "../hooks-BxkfR-Ff.mjs";
|
|
8
8
|
import { u as q } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
9
|
-
import { f as lt, D as mt } from "../DateFormats-
|
|
9
|
+
import { f as lt, D as mt } from "../DateFormats-CaOj_4eI.mjs";
|
|
10
10
|
import u from "react";
|
|
11
11
|
import dt from "@mui/material/Button";
|
|
12
12
|
import L from "@mui/material/Divider";
|
|
@@ -17,25 +17,25 @@ import { Text as m, Icon as H, P as Z } from "@mxenabled/mxui";
|
|
|
17
17
|
import O from "@mui/material/ListItem";
|
|
18
18
|
import J from "@mui/material/ListItemButton";
|
|
19
19
|
import b from "@mui/material/ListItemText";
|
|
20
|
-
import { i as Q } from "../DateUtil-
|
|
21
|
-
import { C as x } from "../CurrencyText-
|
|
20
|
+
import { i as Q } from "../DateUtil-C57sqxn4.mjs";
|
|
21
|
+
import { C as x } from "../CurrencyText-oqd6cX3M.mjs";
|
|
22
22
|
import P from "@mui/material/styles/useTheme";
|
|
23
23
|
import { Stack as ht } from "@mui/material";
|
|
24
24
|
import tt from "@mui/material/Box";
|
|
25
25
|
import pt from "@mui/material/Collapse";
|
|
26
26
|
import F from "@mui/material/ListItemIcon";
|
|
27
|
-
import { g as K } from "../NetWorthStore-
|
|
28
|
-
import { N as Se } from "../NetWorthStore-
|
|
27
|
+
import { g as K } from "../NetWorthStore-Ba3q3VcH.mjs";
|
|
28
|
+
import { N as Se } from "../NetWorthStore-Ba3q3VcH.mjs";
|
|
29
29
|
import { D as U } from "../Drawer-Bbe4AMB1.mjs";
|
|
30
30
|
import { A as v } from "../Analytics-0Xm_BjHU.mjs";
|
|
31
31
|
import { format as ut, fromUnixTime as ft, differenceInMonths as xt } from "date-fns";
|
|
32
32
|
import { Icon as et } from "@mxenabled/mx-icons";
|
|
33
|
-
import { f as V } from "../NumberFormatting-
|
|
33
|
+
import { f as V } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
34
34
|
import { u as nt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
35
35
|
import { L as ot } from "../Loader-D3rjKx72.mjs";
|
|
36
36
|
import { M as gt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
|
|
37
37
|
import { C as yt } from "../ConnectionsDrawer-IA7vnv1J.mjs";
|
|
38
|
-
import { W as Ct } from "../WidgetContainer-
|
|
38
|
+
import { W as Ct } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
39
39
|
import { E as bt } from "../EmptyState-DHAkGsjk.mjs";
|
|
40
40
|
const _t = () => {
|
|
41
41
|
const { isMobile: e } = q(), { availableWidth: s } = st(), i = z(), {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { GlobalStore } from '../../common';
|
|
2
2
|
import { DetailedAccount, MonthlyAccountBalance } from '../../core';
|
|
3
|
-
import { AccountApi } from '../../
|
|
3
|
+
import { AccountApi } from '../../core/api/AccountApi';
|
|
4
4
|
import { AssetsLiabilities, GainsLosses, NetWorth, NetWorthData } from '../types/NetWorth';
|
|
5
5
|
export declare class NetWorthStore {
|
|
6
6
|
globalStore: GlobalStore;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { A as f, B as N, N as A } from "../Notification-DTNYSd8P.mjs";
|
|
2
|
-
import { A as y } from "../
|
|
3
|
-
import { g as T, s as D } from "../NotificationStore-
|
|
4
|
-
import { N as kt, f as Lt } from "../NotificationStore-
|
|
2
|
+
import { A as y } from "../ApiEndpoints-C5IA97i7.mjs";
|
|
3
|
+
import { g as T, s as D } from "../NotificationStore-DlAM5Ue0.mjs";
|
|
4
|
+
import { N as kt, f as Lt } from "../NotificationStore-DlAM5Ue0.mjs";
|
|
5
5
|
import { jsx as t, jsxs as l, Fragment as S } from "react/jsx-runtime";
|
|
6
6
|
import B, { useEffect as I } from "react";
|
|
7
7
|
import { observer as p } from "mobx-react-lite";
|
|
@@ -9,7 +9,7 @@ import b from "@mui/material/Box";
|
|
|
9
9
|
import R from "@mui/material/Divider";
|
|
10
10
|
import O from "@mui/material/List";
|
|
11
11
|
import { Text as g, InstitutionLogo as G, CategoryIcon as E } from "@mxenabled/mxui";
|
|
12
|
-
import { h as j } from "../DateUtil-
|
|
12
|
+
import { h as j } from "../DateUtil-C57sqxn4.mjs";
|
|
13
13
|
import { useTheme as z, Card as U } from "@mui/material";
|
|
14
14
|
import { d as F, m as P, u as C, n as w, b as v, a as V } from "../hooks-BxkfR-Ff.mjs";
|
|
15
15
|
import { Icon as W, Settings as $ } from "@mxenabled/mx-icons";
|
|
@@ -17,7 +17,7 @@ import M from "@mui/material/Button";
|
|
|
17
17
|
import X from "@mui/material/Stack";
|
|
18
18
|
import { L as k } from "../Loader-D3rjKx72.mjs";
|
|
19
19
|
import Y from "@mui/material/IconButton";
|
|
20
|
-
import { N as q } from "../NotificationSettings-
|
|
20
|
+
import { N as q } from "../NotificationSettings-DB-eNgSv.mjs";
|
|
21
21
|
import { D as x } from "../Drawer-Bbe4AMB1.mjs";
|
|
22
22
|
const xt = (i) => {
|
|
23
23
|
switch (i) {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GlobalStore } from '../../common';
|
|
2
|
+
import { NotificationApi } from '../../core/api/NotificationApi';
|
|
2
3
|
import { Notification } from '../../core';
|
|
3
4
|
export declare class NotificationStore {
|
|
4
5
|
globalStore: GlobalStore;
|
|
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as Te } from "../RecurringSettings-
|
|
10
|
-
import { M as
|
|
9
|
+
import { R as Te } from "../RecurringSettings-CZKeZC4m.mjs";
|
|
10
|
+
import { M as jn } from "../RecurringSettings-CZKeZC4m.mjs";
|
|
11
11
|
import { addMonths as He } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -33,32 +33,33 @@ import ot from "@mui/material/Badge";
|
|
|
33
33
|
import { PickersDay as at } from "@mui/x-date-pickers/PickersDay";
|
|
34
34
|
import { I as F } from "../IconBacking-B9oC6uL2.mjs";
|
|
35
35
|
import { u as y, b as z, i as I, g as U, p as we, h as re } from "../hooks-BxkfR-Ff.mjs";
|
|
36
|
-
import {
|
|
37
|
-
import { f as S, D as w } from "../DateFormats-
|
|
38
|
-
import { T as G } from "../RecurringTransactionsStore-
|
|
39
|
-
import { R as
|
|
40
|
-
import { g as st, L as W
|
|
36
|
+
import { a as A, R as D } from "../RepeatingTransaction-D2gmBTd0.mjs";
|
|
37
|
+
import { f as S, D as w } from "../DateFormats-CaOj_4eI.mjs";
|
|
38
|
+
import { T as G } from "../RecurringTransactionsStore-D62Dt2BF.mjs";
|
|
39
|
+
import { R as Vn } from "../RecurringTransactionsStore-D62Dt2BF.mjs";
|
|
40
|
+
import { g as st, L as W } from "../Localization-C_HZg9tJ.mjs";
|
|
41
41
|
import { A as L } from "../Analytics-0Xm_BjHU.mjs";
|
|
42
42
|
import ct from "@mui/material/Button";
|
|
43
43
|
import X from "@mui/material/Divider";
|
|
44
44
|
import be from "@mui/material/List";
|
|
45
45
|
import Ie from "@mui/material/ListItem";
|
|
46
46
|
import lt from "@mui/material/ListSubheader";
|
|
47
|
-
import { g as Ce, d as dt } from "../RecurringTransactions-
|
|
47
|
+
import { g as Ce, d as dt } from "../RecurringTransactions-kzlU8OFY.mjs";
|
|
48
48
|
import ut from "@mui/material/ListItemAvatar";
|
|
49
49
|
import mt from "@mui/material/ListItemButton";
|
|
50
50
|
import pt from "@mui/material/ListItemText";
|
|
51
|
-
import {
|
|
52
|
-
import { c as
|
|
53
|
-
import { f as E } from "../NumberFormatting-
|
|
51
|
+
import { d as gt } from "../ManageIncome-DwSE_a8L.mjs";
|
|
52
|
+
import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-DwSE_a8L.mjs";
|
|
53
|
+
import { f as E } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
54
54
|
import { D as ie } from "../Drawer-Bbe4AMB1.mjs";
|
|
55
|
+
import { b as N } from "../Localization-CkQ49EKr.mjs";
|
|
55
56
|
import O from "@mui/material/Box";
|
|
56
57
|
import { S as Me } from "../StatusBar-BK_uYHAB.mjs";
|
|
57
58
|
import { u as Le } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
58
59
|
import { S as ve } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
59
60
|
import { u as oe } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
|
|
60
61
|
import { L as ae } from "../Loader-D3rjKx72.mjs";
|
|
61
|
-
import { W as ht } from "../WidgetContainer-
|
|
62
|
+
import { W as ht } from "../WidgetContainer-Bc75FqK7.mjs";
|
|
62
63
|
import { M as ft } from "../MiniWidgetContainer-Bhkv-hpz.mjs";
|
|
63
64
|
import { u as xt } from "../useDimensions-CeDR9V8N.mjs";
|
|
64
65
|
import { M as bt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
|
|
@@ -624,7 +625,7 @@ const Y = {
|
|
|
624
625
|
]
|
|
625
626
|
}
|
|
626
627
|
);
|
|
627
|
-
}),
|
|
628
|
+
}), $n = R(
|
|
628
629
|
({ onBackClick: t, onMenuClick: n, sx: r = {} }) => {
|
|
629
630
|
const { recurring: i } = y(), { isInitialized: o, selectedAccountGuids: c } = z(), { isDataLoaded: u, loadRepeatingTransactionData: p, setDateRange: a } = I(), { setFilter: d } = re(), { onEvent: m } = U(), [g, b] = x.useState(!1);
|
|
630
631
|
return oe({
|
|
@@ -691,7 +692,7 @@ const Y = {
|
|
|
691
692
|
}
|
|
692
693
|
)
|
|
693
694
|
] });
|
|
694
|
-
}),
|
|
695
|
+
}), Bn = R(
|
|
695
696
|
({ onPrimaryCtaClick: t, sx: n }) => {
|
|
696
697
|
const { recurring: r } = y(), { setFilter: i } = re(), { isDataLoaded: o, loadRepeatingTransactionData: c } = I(), { isInitialized: u, selectedAccountGuids: p } = z();
|
|
697
698
|
return oe({
|
|
@@ -896,7 +897,7 @@ const Y = {
|
|
|
896
897
|
)
|
|
897
898
|
] })
|
|
898
899
|
] });
|
|
899
|
-
}),
|
|
900
|
+
}), Fn = R(
|
|
900
901
|
({ onCTAClick: t }) => {
|
|
901
902
|
const { onEvent: n } = U(), { isInitialized: r, selectedAccountGuids: i } = z(), {
|
|
902
903
|
loadRepeatingTransactionData: o,
|
|
@@ -938,7 +939,7 @@ const Y = {
|
|
|
938
939
|
}
|
|
939
940
|
);
|
|
940
941
|
}
|
|
941
|
-
),
|
|
942
|
+
), zn = R(
|
|
942
943
|
({ isOpen: t, onClose: n, selectedTab: r }) => {
|
|
943
944
|
const { cashflow: i } = y();
|
|
944
945
|
return /* @__PURE__ */ e(
|
|
@@ -954,14 +955,14 @@ const Y = {
|
|
|
954
955
|
}
|
|
955
956
|
);
|
|
956
957
|
export {
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
958
|
+
Zn as AddRecurringTransactionDetails,
|
|
959
|
+
jn as ManageExpenses,
|
|
960
|
+
Xn as ManageIncome,
|
|
960
961
|
Te as RecurringSettings,
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
962
|
+
zn as RecurringSettingsDrawer,
|
|
963
|
+
Fn as RecurringTransactionsMicroWidget,
|
|
964
|
+
Bn as RecurringTransactionsMiniWidget,
|
|
965
|
+
Vn as RecurringTransactionsStore,
|
|
966
|
+
$n as RecurringTransactionsWidget,
|
|
967
|
+
Jn as SelectTransaction
|
|
967
968
|
};
|