@mx-cartographer/experiences 7.2.15-alpha.sms27 → 7.2.15-alpha.sms29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Account-vp_TAbGt.mjs → Account-D8_xcOve.mjs} +1 -1
- package/dist/{AccountDetailsContent-CoXcIoZf.mjs → AccountDetailsContent-BWNwFDe8.mjs} +8 -8
- package/dist/{AccountDetailsHeader-Df1JkzYi.mjs → AccountDetailsHeader-LjielyTa.mjs} +6 -6
- package/dist/{AccountFields-DUToRRqW.mjs → AccountFields-DtW_bYuN.mjs} +2 -2
- package/dist/{AccountListItem-CeY_WIpj.mjs → AccountListItem-BK0K0YlB.mjs} +4 -4
- package/dist/{AccountStore-BkoLK9Tq.mjs → AccountStore-BZ1CezOa.mjs} +2 -2
- package/dist/{Accounts-C1QxUB-e.mjs → Accounts-Bk0adkZI.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-DsFw1yw9.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-onIHfBx0.mjs} +1 -1
- package/dist/{ConnectDrawer-Bw5s6Dw1.mjs → ConnectDrawer-BMCNkK6D.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BDvVuJQf.mjs → ConnectionsDrawer-BnVPJoTH.mjs} +2 -2
- package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-eEYKPrQ6.mjs} +1 -1
- package/dist/{DebtsStore-BD_XwsI7.mjs → DebtsStore-CIDWqL0A.mjs} +1 -1
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-C4RpczZk.mjs} +3 -3
- package/dist/{GoalStore-DZ_Jvsa_.mjs → GoalStore-CR2aOvb_.mjs} +2 -2
- package/dist/{Help-B6dIcujh.mjs → Help-Jwr6bbkP.mjs} +1 -1
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-CTpS4Y61.mjs} +1 -1
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DTiJk1t_.mjs} +1 -1
- package/dist/{ManageIncome-uIZwg1-O.mjs → ManageIncome-AIbTCb_I.mjs} +4 -4
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DNgaK0ak.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-BdOme5JY.mjs} +1 -1
- package/dist/{NetWorthStore-D1NiDUcc.mjs → NetWorthStore-BLyvqhEl.mjs} +2 -2
- package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-CYBJk9rF.mjs} +3 -3
- package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C8aFD-xo.mjs} +3 -3
- package/dist/{RecurringSettings-6qo4-whb.mjs → RecurringSettings-BHrCHHHz.mjs} +3 -3
- package/dist/{TransactionDetails-dRfjqJ3s.mjs → TransactionDetails-8AR47aM0.mjs} +5 -5
- package/dist/{TransactionStore-CdycC8sN.mjs → TransactionStore-BwlO9c_x.mjs} +159 -175
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-CZ4g_NRT.mjs} +1 -1
- package/dist/{User-BQUxBeZV.mjs → User-DZI8rVQ6.mjs} +1 -1
- package/dist/{WidgetContainer-EbrN1oIo.mjs → WidgetContainer-u6xa7Lhc.mjs} +2 -2
- package/dist/accounts/index.es.js +13 -13
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +10 -10
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/context/GlobalDataProvider.d.ts +1 -0
- package/dist/common/index.es.js +49 -47
- package/dist/common/stores/GlobalStore.d.ts +7 -3
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +9 -9
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-BJCTuJjJ.mjs} +1 -1
- package/dist/finstrong/index.es.js +6 -6
- package/dist/goals/index.es.js +12 -12
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-Ws5qcl3x.mjs +79 -0
- package/dist/investments/index.es.js +3 -3
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +7 -7
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +13 -13
- package/dist/transactions/stores/TransactionStore.d.ts +0 -3
- package/dist/trends/index.es.js +11 -11
- package/dist/{useAccountDisplayName-jS05A6-6.mjs → useAccountDisplayName-COInIZyb.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-DRKd0OV2.mjs} +1 -1
- package/package.json +1 -1
- package/dist/hooks-D6XlXHf4.mjs +0 -77
|
@@ -22,7 +22,7 @@ import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
|
22
22
|
import nn from "@mui/material/styles/useTheme";
|
|
23
23
|
import k from "@mui/material/ListItem";
|
|
24
24
|
import an from "@mui/material/ListItemButton";
|
|
25
|
-
import { g as tn } from "./hooks-
|
|
25
|
+
import { g as tn } from "./hooks-Ws5qcl3x.mjs";
|
|
26
26
|
var on = /* @__PURE__ */ ((n) => (n[n.CREDIT = 1] = "CREDIT", n[n.DEBIT = 2] = "DEBIT", n))(on || {}), en = /* @__PURE__ */ ((n) => (n[n.POSTED = 1] = "POSTED", n[n.PENDING = 2] = "PENDING", n))(en || {});
|
|
27
27
|
const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
28
28
|
const c = v(), l = cn(c);
|
|
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
|
|
|
13
13
|
import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
|
|
14
14
|
import { u as Te } from "./useDimensions-27p2evRx.mjs";
|
|
15
15
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
16
|
-
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-
|
|
16
|
+
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-Ws5qcl3x.mjs";
|
|
17
17
|
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
18
18
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
19
19
|
import { addDays as ue } from "date-fns/addDays";
|
|
@@ -37,7 +37,7 @@ import Ke from "@mui/material/ToggleButtonGroup";
|
|
|
37
37
|
import Ge from "@mui/material/styles/useTheme";
|
|
38
38
|
import { f as K, D as G, a as Me } from "./Dialog-CWW597AF.mjs";
|
|
39
39
|
import { D as We } from "./Drawer-kEE73B87.mjs";
|
|
40
|
-
import { k as ye, l as xe } from "./ConnectDrawer-
|
|
40
|
+
import { k as ye, l as xe } from "./ConnectDrawer-BMCNkK6D.mjs";
|
|
41
41
|
const ve = {
|
|
42
42
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
43
43
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import _ from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as K } from "../AccountDetailsContent-
|
|
11
|
-
import { u as D1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as z, A as P } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as Y } from "../AccountFields-
|
|
15
|
-
import { g as U1, b as $1 } from "../AccountFields-
|
|
16
|
-
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-
|
|
10
|
+
import { A as K } from "../AccountDetailsContent-BWNwFDe8.mjs";
|
|
11
|
+
import { u as D1 } from "../AccountDetailsContent-BWNwFDe8.mjs";
|
|
12
|
+
import { u as z, A as P } from "../AccountDetailsHeader-LjielyTa.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-BK0K0YlB.mjs";
|
|
14
|
+
import { a as Y } from "../AccountFields-DtW_bYuN.mjs";
|
|
15
|
+
import { g as U1, b as $1 } from "../AccountFields-DtW_bYuN.mjs";
|
|
16
|
+
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-Ws5qcl3x.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
18
18
|
import { D as J } from "../Drawer-kEE73B87.mjs";
|
|
19
|
-
import { A as y, W as Q } from "../WidgetContainer-
|
|
20
|
-
import { C as X } from "../ConnectionsDrawer-
|
|
19
|
+
import { A as y, W as Q } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
20
|
+
import { C as X } from "../ConnectionsDrawer-BnVPJoTH.mjs";
|
|
21
21
|
import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { l as U, m as e1 } from "../ConnectDrawer-
|
|
24
|
-
import { F as G1, M as K1 } from "../ConnectDrawer-
|
|
23
|
+
import { l as U, m as e1 } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
24
|
+
import { F as G1, M as K1 } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as $ } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as $ } from "../MiniWidgetContainer-BdOme5JY.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
|
-
import { A as P1, a as Y1 } from "../AccountStore-
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-BZ1CezOa.mjs";
|
|
29
29
|
const i1 = () => {
|
|
30
30
|
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { k as f, u as b, g as q, b as E } from "../hooks-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-BdOme5JY.mjs";
|
|
12
|
+
import { k as f, u as b, g as q, b as E } from "../hooks-Ws5qcl3x.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -8,7 +8,7 @@ import B from "@mui/material/Stack";
|
|
|
8
8
|
import ee from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as y, CategoryIcon as W, Icon as P, H1 as ze, H3 as ve } from "@mxenabled/mxui";
|
|
10
10
|
import K from "@mui/material/List";
|
|
11
|
-
import { u as w, i as D, j as te, m as U, q as ne, g as X, b as oe, h as ae, a as Ue, d as Ae } from "../hooks-
|
|
11
|
+
import { u as w, i as D, j as te, m as U, q as ne, g as X, b as oe, h as ae, a as Ue, d as Ae } from "../hooks-Ws5qcl3x.mjs";
|
|
12
12
|
import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
13
13
|
import Te from "@mui/material/Button";
|
|
14
14
|
import re from "@mui/material/Divider";
|
|
@@ -19,35 +19,35 @@ import Z from "@mui/material/ListItemText";
|
|
|
19
19
|
import { b as R } from "../Localization-2MODESHW.mjs";
|
|
20
20
|
import { D as $ } from "../Drawer-kEE73B87.mjs";
|
|
21
21
|
import Fe from "@mui/material/ListItemSecondaryAction";
|
|
22
|
-
import { C as He } from "../CurrencyInput-
|
|
22
|
+
import { C as He } from "../CurrencyInput-eEYKPrQ6.mjs";
|
|
23
23
|
import { a as j } from "../Dialog-CWW597AF.mjs";
|
|
24
|
-
import { C as We } from "../ConnectionsDrawer-
|
|
24
|
+
import { C as We } from "../ConnectionsDrawer-BnVPJoTH.mjs";
|
|
25
25
|
import * as O from "d3";
|
|
26
26
|
import Ke from "@mui/material/Tooltip";
|
|
27
27
|
import { useTheme as Xe } from "@mui/material/styles";
|
|
28
28
|
import { u as ie } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
29
29
|
import { L as z } from "../Loader-DUaFpDGv.mjs";
|
|
30
30
|
import { E as ue } from "../EmptyState-DA_lfRBv.mjs";
|
|
31
|
-
import { A as k, W as Ve } from "../WidgetContainer-
|
|
32
|
-
import { u as Ye } from "../BudgetUtil-
|
|
33
|
-
import { M as Ze } from "../MiniWidgetContainer-
|
|
31
|
+
import { A as k, W as Ve } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
32
|
+
import { u as Ye } from "../BudgetUtil-DsFw1yw9.mjs";
|
|
33
|
+
import { M as Ze } from "../MiniWidgetContainer-BdOme5JY.mjs";
|
|
34
34
|
import { isAfter as qe } from "date-fns/isAfter";
|
|
35
35
|
import { startOfToday as q } from "date-fns/startOfToday";
|
|
36
36
|
import Je from "@mui/material/Alert";
|
|
37
37
|
import Qe from "@mui/material/Snackbar";
|
|
38
38
|
import _e from "@mui/material/Tab";
|
|
39
39
|
import et from "@mui/material/Tabs";
|
|
40
|
-
import { e as tt } from "../exportTransactionsToCSV-
|
|
41
|
-
import { T as we, a as nt } from "../TransactionDetails-
|
|
40
|
+
import { e as tt } from "../exportTransactionsToCSV-BJCTuJjJ.mjs";
|
|
41
|
+
import { T as we, a as nt } from "../TransactionDetails-8AR47aM0.mjs";
|
|
42
42
|
import he from "@mui/material/Card";
|
|
43
43
|
import fe from "@mui/material/CardContent";
|
|
44
44
|
import { S as pe } from "../StatusBar-BK_uYHAB.mjs";
|
|
45
45
|
import { S as De } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
|
-
import { u as ot, b as at } from "../CategorySelectorDrawer-
|
|
46
|
+
import { u as ot, b as at } from "../CategorySelectorDrawer-onIHfBx0.mjs";
|
|
47
47
|
import Ie from "@mui/material/CardHeader";
|
|
48
48
|
import { subDays as rt } from "date-fns/subDays";
|
|
49
49
|
import st from "@mui/material/IconButton";
|
|
50
|
-
import { M as it } from "../ManageIncome-
|
|
50
|
+
import { M as it } from "../ManageIncome-AIbTCb_I.mjs";
|
|
51
51
|
const ct = I(() => {
|
|
52
52
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = te(), s = i - o;
|
|
53
53
|
return /* @__PURE__ */ g(B, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -8,22 +8,22 @@ import D from "@mui/material/Divider";
|
|
|
8
8
|
import s from "@mui/material/Stack";
|
|
9
9
|
import le from "@mui/material/styles/useTheme";
|
|
10
10
|
import { Text as u, P as N, Icon as j, InstitutionLogo as ye, H1 as ue, H2 as Ye } from "@mxenabled/mxui";
|
|
11
|
-
import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-
|
|
11
|
+
import { G as Qe, v as he, u as O, q as de, d as Ne, b as X, j as q, g as ke, p as He, h as Fe, a as Ve } from "../hooks-Ws5qcl3x.mjs";
|
|
12
12
|
import { C as L } from "../CurrencyText-kyC1aseI.mjs";
|
|
13
13
|
import { u as pe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
14
14
|
import { L as oe } from "../Loader-DUaFpDGv.mjs";
|
|
15
15
|
import { I as fe } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
16
16
|
import { C as jn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
17
17
|
import { b as M } from "../Localization-2MODESHW.mjs";
|
|
18
|
-
import { M as Ke } from "../MiniWidgetContainer-
|
|
18
|
+
import { M as Ke } from "../MiniWidgetContainer-BdOme5JY.mjs";
|
|
19
19
|
import { E as Je } from "../EmptyState-DA_lfRBv.mjs";
|
|
20
|
-
import { R as Ze } from "../RecurringSettings-
|
|
20
|
+
import { R as Ze } from "../RecurringSettings-BHrCHHHz.mjs";
|
|
21
21
|
import et from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
24
24
|
import ne from "@mui/material/List";
|
|
25
25
|
import ae from "@mui/material/ListItem";
|
|
26
|
-
import { A as tt } from "../AccountListItem-
|
|
26
|
+
import { A as tt } from "../AccountListItem-BK0K0YlB.mjs";
|
|
27
27
|
import { f as Y, D as Q } from "../Dialog-CWW597AF.mjs";
|
|
28
28
|
import nt from "@mui/material/ListSubheader";
|
|
29
29
|
import { f as te } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
@@ -35,17 +35,17 @@ import { alpha as ot, keyframes as at } from "@mui/material/styles";
|
|
|
35
35
|
import { DataGridPro as it } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
37
|
import G from "@mui/material/Button";
|
|
38
|
-
import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-
|
|
38
|
+
import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-AIbTCb_I.mjs";
|
|
39
39
|
import { D as Ge } from "../Drawer-kEE73B87.mjs";
|
|
40
40
|
import { formatISO as dt } from "date-fns/formatISO";
|
|
41
41
|
import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
|
|
42
42
|
import { startOfMonth as mt } from "date-fns/startOfMonth";
|
|
43
43
|
import { subDays as je } from "date-fns/subDays";
|
|
44
|
-
import { S as ut, b as ht } from "../TransactionDetails-
|
|
44
|
+
import { S as ut, b as ht } from "../TransactionDetails-8AR47aM0.mjs";
|
|
45
45
|
import { F as pt, R as De, e as ve } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
46
46
|
import { h as ft } from "../DateUtil-BcuH7ErC.mjs";
|
|
47
47
|
import { endOfToday as gt } from "date-fns/endOfToday";
|
|
48
|
-
import { W as Ae, A as Ee } from "../WidgetContainer-
|
|
48
|
+
import { W as Ae, A as Ee } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
49
49
|
import { F as bt, A as B } from "../Fetch-87LIQbEA.mjs";
|
|
50
50
|
const V = () => {
|
|
51
51
|
if (!f.useContext(Qe))
|
|
@@ -7,6 +7,7 @@ export interface GlobalStoreContextTypes {
|
|
|
7
7
|
onLoad?: (widgetName: string) => void;
|
|
8
8
|
onPageView: (pageViewEvent: string) => void;
|
|
9
9
|
globalStore: GlobalStore;
|
|
10
|
+
onStoreUpdate?: (update: any) => void;
|
|
10
11
|
}
|
|
11
12
|
export declare const GlobalDataContext: React.Context<GlobalStoreContextTypes | null>;
|
|
12
13
|
export declare const GlobalDataProvider: React.FC<React.PropsWithChildren<GlobalStoreContextTypes>>;
|
package/dist/common/index.es.js
CHANGED
|
@@ -6,68 +6,68 @@ import { C as et } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
|
6
6
|
import { a as ls } from "../CategoryStore-BCcpI3oJ.mjs";
|
|
7
7
|
import { N as st } from "../NotificationStore-C6PH6MKm.mjs";
|
|
8
8
|
import { a as hs } from "../NotificationStore-C6PH6MKm.mjs";
|
|
9
|
-
import { T as rt } from "../User-
|
|
10
|
-
import { C as ps, b as ms, L as _s, a as fs } from "../User-
|
|
9
|
+
import { T as rt } from "../User-DZI8rVQ6.mjs";
|
|
10
|
+
import { C as ps, b as ms, L as _s, a as fs } from "../User-DZI8rVQ6.mjs";
|
|
11
11
|
import { H as ot } from "../Help-DhcC-C05.mjs";
|
|
12
12
|
import { E as Ss } from "../Help-DhcC-C05.mjs";
|
|
13
|
-
import { M as ws } from "../MicroWidgetContainer-
|
|
14
|
-
import { M as Cs } from "../MiniWidgetContainer-
|
|
15
|
-
import { A as Ds, D as
|
|
16
|
-
import { k as Bs, a as Is, e as Ns, h as Ms, A as ks, f as $s, l as Rs, d as Ps, n as Os, E as Us, j as Ls, N as Gs, i as Hs, P as Fs, o as Ws, S as qs } from "../ConnectDrawer-
|
|
17
|
-
import { C as Qs } from "../CurrencyInput-
|
|
13
|
+
import { M as ws } from "../MicroWidgetContainer-DNgaK0ak.mjs";
|
|
14
|
+
import { M as Cs } from "../MiniWidgetContainer-BdOme5JY.mjs";
|
|
15
|
+
import { A as Ds, D as As, W as Es } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
16
|
+
import { k as Bs, a as Is, e as Ns, h as Ms, A as ks, f as $s, l as Rs, d as Ps, n as Os, E as Us, j as Ls, N as Gs, i as Hs, P as Fs, o as Ws, S as qs } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
17
|
+
import { C as Qs } from "../CurrencyInput-eEYKPrQ6.mjs";
|
|
18
18
|
import { L as Xs } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import { R as Ks } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
20
20
|
import { S as Zs } from "../SearchBox-B2_zLv8-.mjs";
|
|
21
|
-
import { T as at } from "../TransactionStore-
|
|
22
|
-
import { S as tr } from "../TransactionStore-
|
|
21
|
+
import { T as at } from "../TransactionStore-BwlO9c_x.mjs";
|
|
22
|
+
import { S as tr } from "../TransactionStore-BwlO9c_x.mjs";
|
|
23
23
|
import { T as sr } from "../TabContentContainer-j01JYR_7.mjs";
|
|
24
24
|
import { I as or } from "../IconBacking-B9oC6uL2.mjs";
|
|
25
25
|
import { D as nr, F as ir, a as cr, c as dr, R as lr, S as ur } from "../RecurringTransactions-ej39mgA6.mjs";
|
|
26
26
|
import { C as nt } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
27
27
|
import { I as gr } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
28
|
-
import { d as it } from "../GoalStore-
|
|
29
|
-
import { C as mr, G as _r, M as fr, T as yr } from "../GoalStore-
|
|
28
|
+
import { d as it } from "../GoalStore-CR2aOvb_.mjs";
|
|
29
|
+
import { C as mr, G as _r, M as fr, T as yr } from "../GoalStore-CR2aOvb_.mjs";
|
|
30
30
|
import { C as br } from "../CurrencyText-kyC1aseI.mjs";
|
|
31
31
|
import { E as xr } from "../EmptyState-DA_lfRBv.mjs";
|
|
32
|
-
import { L as vr } from "../ListItemAction-
|
|
33
|
-
import { T as ct } from "../TrendsStore-
|
|
34
|
-
import { L as
|
|
32
|
+
import { L as vr } from "../ListItemAction-DTiJk1t_.mjs";
|
|
33
|
+
import { T as ct } from "../TrendsStore-CZ4g_NRT.mjs";
|
|
34
|
+
import { L as Ar, S as Er } from "../TrendsStore-CZ4g_NRT.mjs";
|
|
35
35
|
import { A as Br, B as Ir, I as Nr, N as Mr, T as kr, a as $r } from "../ToggleListItem-r0Kx56wF.mjs";
|
|
36
36
|
import { jsxs as y, jsx as n } from "react/jsx-runtime";
|
|
37
37
|
import dt, { useRef as lt, useEffect as ut } from "react";
|
|
38
38
|
import { css as x, keyframes as ht } from "@mxenabled/cssinjs";
|
|
39
39
|
import { useTokens as C, Text as B } from "@mxenabled/mxui";
|
|
40
40
|
import { D as Pr } from "../Donut-oaQFlbit.mjs";
|
|
41
|
-
import { L as Ur } from "../LineChart-
|
|
41
|
+
import { L as Ur } from "../LineChart-CTpS4Y61.mjs";
|
|
42
42
|
import { S as Gr } from "../StatusBar-BK_uYHAB.mjs";
|
|
43
43
|
import { D as Fr, a as Wr, O as qr, b as Yr, f as Qr } from "../Dialog-CWW597AF.mjs";
|
|
44
44
|
import { D as gt, a as pt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
45
|
import { S as Xr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
46
46
|
import { D as Kr } from "../Drawer-kEE73B87.mjs";
|
|
47
|
-
import { I as Zr, P as Jr, S as to } from "../Account-
|
|
48
|
-
import { b as
|
|
47
|
+
import { I as Zr, P as Jr, S as to } from "../Account-D8_xcOve.mjs";
|
|
48
|
+
import { b as E } from "../Category-CevNQ03n.mjs";
|
|
49
49
|
import { C as so, c as ro, a as oo, P as ao } from "../Category-CevNQ03n.mjs";
|
|
50
50
|
import { C as io, f as co, b as lo, a as uo, g as ho, i as go } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
51
51
|
import { R as mt } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
52
52
|
import { S as mo, T as _o } from "../RecurringTransactionsStore-DrzS1LmF.mjs";
|
|
53
|
-
import { G as yo, C as So, D as bo, W as wo, d as xo, a as Co, i as vo, v as Do, m as
|
|
54
|
-
import { u as jo } from "../useAccountDisplayName-
|
|
55
|
-
import { u as Vo } from "../useInsightsEnabled-
|
|
53
|
+
import { G as yo, C as So, D as bo, W as wo, d as xo, a as Co, i as vo, v as Do, m as Ao, y as Eo, z as To, g as Bo, x as Io, u as No, f as Mo, b as ko, l as $o, A as Ro, t as Po, n as Oo, c as Uo, r as Lo, o as Go, B as Ho, j as Fo, s as Wo, h as qo, w as Yo, p as Qo, q as zo } from "../hooks-Ws5qcl3x.mjs";
|
|
54
|
+
import { u as jo } from "../useAccountDisplayName-COInIZyb.mjs";
|
|
55
|
+
import { u as Vo } from "../useInsightsEnabled-DRKd0OV2.mjs";
|
|
56
56
|
import { u as Jo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
57
57
|
import { makeAutoObservable as f, runInAction as p, reaction as _t, autorun as ft } from "mobx";
|
|
58
|
-
import { a as yt } from "../AccountStore-
|
|
58
|
+
import { a as yt } from "../AccountStore-BZ1CezOa.mjs";
|
|
59
59
|
import St from "posthog-js";
|
|
60
60
|
import { B as bt } from "../BeatStore-IBnXd4YK.mjs";
|
|
61
61
|
import { endOfMonth as Z } from "date-fns/endOfMonth";
|
|
62
62
|
import { startOfMonth as J } from "date-fns/startOfMonth";
|
|
63
63
|
import { startOfToday as U } from "date-fns/startOfToday";
|
|
64
|
-
import { f as wt, a as xt, b as L } from "../BudgetUtil-
|
|
65
|
-
import { g as ea, e as sa, c as ra, d as oa, i as aa } from "../BudgetUtil-
|
|
66
|
-
import { a as Ct } from "../DebtsStore-
|
|
64
|
+
import { f as wt, a as xt, b as L } from "../BudgetUtil-DsFw1yw9.mjs";
|
|
65
|
+
import { g as ea, e as sa, c as ra, d as oa, i as aa } from "../BudgetUtil-DsFw1yw9.mjs";
|
|
66
|
+
import { a as Ct } from "../DebtsStore-CIDWqL0A.mjs";
|
|
67
67
|
import { a as vt } from "../FinstrongStore-F2c607dj.mjs";
|
|
68
|
-
import { A as Dt, m as
|
|
68
|
+
import { A as Dt, m as At, a as Et, b as Tt } from "../InvestmentUtil-jOyOgzIB.mjs";
|
|
69
69
|
import { M as Bt } from "../MerchantStore-DrFvsUyy.mjs";
|
|
70
|
-
import { N as It } from "../NetWorthStore-
|
|
70
|
+
import { N as It } from "../NetWorthStore-BLyvqhEl.mjs";
|
|
71
71
|
import { a as Nt } from "../SettingsStore-BcgS_Ohv.mjs";
|
|
72
72
|
import { addMonths as Mt } from "date-fns/addMonths";
|
|
73
73
|
import { getMonth as T } from "date-fns/getMonth";
|
|
@@ -373,7 +373,7 @@ const Ve = (s) => {
|
|
|
373
373
|
width: m,
|
|
374
374
|
xAxisLabel: i = ""
|
|
375
375
|
}) => {
|
|
376
|
-
const _ = C(), b = Qt(_, m), v = l / c * u, D = Math.abs(l) / c * e,
|
|
376
|
+
const _ = C(), b = Qt(_, m), v = l / c * u, D = Math.abs(l) / c * e, A = d === void 0 || d === o ? "primary" : "secondary";
|
|
377
377
|
return /* @__PURE__ */ y("div", { className: `mx-cmn-barchart-bar-column ${b}`, children: [
|
|
378
378
|
/* @__PURE__ */ n("div", { style: { height: u }, children: l >= 0 && /* @__PURE__ */ n(
|
|
379
379
|
q,
|
|
@@ -407,7 +407,7 @@ const Ve = (s) => {
|
|
|
407
407
|
{
|
|
408
408
|
className: `mx-cmn-bar-label ${a ? "mx-cmn-clickable" : ""}`,
|
|
409
409
|
onClick: a ? () => a(o) : void 0,
|
|
410
|
-
children: /* @__PURE__ */ n(B, { bold: d === o, color:
|
|
410
|
+
children: /* @__PURE__ */ n(B, { bold: d === o, color: A, variant: "Small", children: i })
|
|
411
411
|
}
|
|
412
412
|
)
|
|
413
413
|
] });
|
|
@@ -451,7 +451,7 @@ const Ve = (s) => {
|
|
|
451
451
|
selectedIndex: u,
|
|
452
452
|
valueFormatter: l = (g) => `${g}`
|
|
453
453
|
}) => {
|
|
454
|
-
const g = C(), m = Zt(g), i = r.reduce(jt, []), _ = s !== void 0 ? s : i.reduce(zt, 0) / i.length, b = Math.max(...i), v = Math.min(...i), D = i.reduce(Xt, 0),
|
|
454
|
+
const g = C(), m = Zt(g), i = r.reduce(jt, []), _ = s !== void 0 ? s : i.reduce(zt, 0) / i.length, b = Math.max(...i), v = Math.min(...i), D = i.reduce(Xt, 0), A = b >= 0, R = v < 0, I = Q(A, R, o), N = Q(R, A, o), P = Kt(_, b, v, I || N), tt = (w) => u === void 0 || w === u ? e : `${e}80`, O = () => /* @__PURE__ */ n(
|
|
455
455
|
Y,
|
|
456
456
|
{
|
|
457
457
|
averageLineHeight: P,
|
|
@@ -688,7 +688,7 @@ class re {
|
|
|
688
688
|
get detailedBudgets() {
|
|
689
689
|
return L(
|
|
690
690
|
this.budgets.filter(
|
|
691
|
-
(t) => t.category_guid !==
|
|
691
|
+
(t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
|
|
692
692
|
),
|
|
693
693
|
this.globalStore.categoryStore.detailedCategories,
|
|
694
694
|
this.globalStore.copyStore.copy.budgets,
|
|
@@ -702,7 +702,7 @@ class re {
|
|
|
702
702
|
this.globalStore.copyStore.copy.budgets,
|
|
703
703
|
this.theme
|
|
704
704
|
).reduce(
|
|
705
|
-
(r, o) => o.category_guid !==
|
|
705
|
+
(r, o) => o.category_guid !== E.INCOME ? r : !r || o.percentage > r.percentage ? o : r,
|
|
706
706
|
void 0
|
|
707
707
|
)?.amount;
|
|
708
708
|
}
|
|
@@ -863,7 +863,7 @@ class ie {
|
|
|
863
863
|
this.globalStore = t, this.api = new j(t.endpoint, t.sessionToken, t.onError), f(this);
|
|
864
864
|
}
|
|
865
865
|
get analysisChartData() {
|
|
866
|
-
return Et(
|
|
866
|
+
return At(Et(this.visibleHoldings), this.analysisType);
|
|
867
867
|
}
|
|
868
868
|
get analysisDetails() {
|
|
869
869
|
return Tt(this.visibleHoldings)[this.analysisType] || {};
|
|
@@ -1173,7 +1173,8 @@ class ts {
|
|
|
1173
1173
|
endpoint = "/";
|
|
1174
1174
|
sessionToken = "";
|
|
1175
1175
|
onError;
|
|
1176
|
-
listeners =
|
|
1176
|
+
listeners = [];
|
|
1177
|
+
onStoreUpdate;
|
|
1177
1178
|
// Data Stores
|
|
1178
1179
|
accountStore;
|
|
1179
1180
|
appDataStore;
|
|
@@ -1202,24 +1203,25 @@ class ts {
|
|
|
1202
1203
|
constructor(t = K, e = "/", r) {
|
|
1203
1204
|
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = r, this.accountStore = new yt(this), this.appDataStore = new ce(this), this.analyticsStore = new se(this), this.beatStore = new bt(this), this.budgetsStore = new re(this), this.cashflowStore = new nt(this), this.categoryStore = new et(this), this.connectStore = new de(this), this.copyStore = new ee(this), this.debtsStore = new Ct(this), this.finstrongStore = new vt(this), this.goalStore = new it(this), this.helpStore = new ne(this), this.holdingStore = new ie(this), this.merchantStore = new Bt(this), this.netWorthStore = new It(this), this.notificationStore = new st(this), this.recurringTransactionsStore = new mt(this), this.settingsStore = new Nt(this), this.transactionStore = new at(this), this.trendsStore = new ct(this), this.userStore = new ue(this), this.globalUiStore = new le(this), f(this), ft(() => {
|
|
1204
1205
|
const { transactions: o } = this.transactionStore;
|
|
1205
|
-
|
|
1206
|
-
transactions: o
|
|
1207
|
-
};
|
|
1206
|
+
console.log("change happened 4"), this.doThings(o);
|
|
1208
1207
|
});
|
|
1209
1208
|
}
|
|
1210
1209
|
get isInitialized() {
|
|
1211
1210
|
return this.globalUiStore.isInitialized;
|
|
1212
1211
|
}
|
|
1212
|
+
doThings = (t) => {
|
|
1213
|
+
console.log("i did things!"), this.onStoreUpdate?.(t);
|
|
1214
|
+
};
|
|
1213
1215
|
// for external libraries like Pulse to subscribe
|
|
1214
1216
|
// to global store snapshots, like `getTransactionStoreSnapshot` below
|
|
1215
1217
|
// using `useSyncExternalStore` https://react.dev/reference/react/useSyncExternalStore
|
|
1216
|
-
subscribe = (t) => (this.listeners.
|
|
1218
|
+
subscribe = (t) => (this.listeners = [...this.listeners, t], () => {
|
|
1219
|
+
this.listeners = this.listeners.filter((e) => e !== t);
|
|
1220
|
+
});
|
|
1217
1221
|
// returns change subscribed to in the autorun (found in the constructor)
|
|
1218
1222
|
getTransactionStoreSnapshot = () => this.transactionStore;
|
|
1219
1223
|
// emits change triggered in the autorun
|
|
1220
|
-
emitChange = () =>
|
|
1221
|
-
this.listeners.forEach((t) => t());
|
|
1222
|
-
};
|
|
1224
|
+
emitChange = (t) => t;
|
|
1223
1225
|
loadData = async ({
|
|
1224
1226
|
accounts: t,
|
|
1225
1227
|
appData: e,
|
|
@@ -1266,7 +1268,7 @@ export {
|
|
|
1266
1268
|
ls as CategoryApi,
|
|
1267
1269
|
so as CategoryColors,
|
|
1268
1270
|
ro as CategoryGuidToName,
|
|
1269
|
-
|
|
1271
|
+
E as CategoryGuids,
|
|
1270
1272
|
oo as CategoryIcon,
|
|
1271
1273
|
mr as ConnectCard,
|
|
1272
1274
|
Rs as ConnectDrawer,
|
|
@@ -1279,7 +1281,7 @@ export {
|
|
|
1279
1281
|
gt as DEFAULT_DONUT_SIZE,
|
|
1280
1282
|
pt as DEFAULT_STROKE_WIDTH,
|
|
1281
1283
|
nr as DataRow,
|
|
1282
|
-
|
|
1284
|
+
As as DateRangeSelector,
|
|
1283
1285
|
Wr as Dialog,
|
|
1284
1286
|
Pr as Donut,
|
|
1285
1287
|
Kr as Drawer,
|
|
@@ -1303,7 +1305,7 @@ export {
|
|
|
1303
1305
|
ze as LOADING_STATUS,
|
|
1304
1306
|
Ur as LineChart,
|
|
1305
1307
|
vr as ListItemAction,
|
|
1306
|
-
|
|
1308
|
+
Ar as ListItemRow,
|
|
1307
1309
|
_s as ListItemWrapper,
|
|
1308
1310
|
Xs as Loader,
|
|
1309
1311
|
je as LocalizedCopyApi,
|
|
@@ -1338,7 +1340,7 @@ export {
|
|
|
1338
1340
|
tr as SelectionBox,
|
|
1339
1341
|
Xr as SingleSegmentDonut,
|
|
1340
1342
|
mo as Sizes,
|
|
1341
|
-
|
|
1343
|
+
Er as StackedLineChart,
|
|
1342
1344
|
Gr as StatusBar,
|
|
1343
1345
|
qs as StatusName,
|
|
1344
1346
|
_o as TOUCH_TARGET,
|
|
@@ -1352,7 +1354,7 @@ export {
|
|
|
1352
1354
|
ue as UserStore,
|
|
1353
1355
|
Lt as UserVerification,
|
|
1354
1356
|
W as WidgetApi,
|
|
1355
|
-
|
|
1357
|
+
Es as WidgetContainer,
|
|
1356
1358
|
bo as WidgetContainerContext,
|
|
1357
1359
|
wo as WidgetContainerProvider,
|
|
1358
1360
|
os as analyticsSession,
|
|
@@ -1377,10 +1379,10 @@ export {
|
|
|
1377
1379
|
Co as useAppConfig,
|
|
1378
1380
|
vo as useBudgetsStore,
|
|
1379
1381
|
Do as useCashflowStore,
|
|
1380
|
-
|
|
1382
|
+
Ao as useCategoryStore,
|
|
1381
1383
|
as as useCombineEvents,
|
|
1382
1384
|
ns as useCombinePageviews,
|
|
1383
|
-
|
|
1385
|
+
Eo as useDebtStore,
|
|
1384
1386
|
To as useError,
|
|
1385
1387
|
Bo as useEvent,
|
|
1386
1388
|
Io as useFinstrongStore,
|
|
@@ -36,12 +36,15 @@ interface LoadDataProps {
|
|
|
36
36
|
transactions?: Transaction[];
|
|
37
37
|
userFeatures?: UserFeature[];
|
|
38
38
|
}
|
|
39
|
+
type Listener = () => void;
|
|
40
|
+
type OnStoreUpdate = (update: any) => void;
|
|
39
41
|
export declare class GlobalStore {
|
|
40
42
|
appConfig: AppConfig;
|
|
41
43
|
endpoint: string;
|
|
42
44
|
sessionToken: string;
|
|
43
45
|
onError?: GlobalErrorHandler;
|
|
44
|
-
listeners:
|
|
46
|
+
listeners: Listener[];
|
|
47
|
+
onStoreUpdate?: OnStoreUpdate;
|
|
45
48
|
accountStore: AccountStore;
|
|
46
49
|
appDataStore: AppDataStore;
|
|
47
50
|
analyticsStore: AnalyticsStore;
|
|
@@ -67,9 +70,10 @@ export declare class GlobalStore {
|
|
|
67
70
|
globalUiStore: GlobalUiStore;
|
|
68
71
|
constructor(appConfig?: AppConfig, endpoint?: string, onError?: GlobalErrorHandler);
|
|
69
72
|
get isInitialized(): boolean;
|
|
70
|
-
|
|
73
|
+
doThings: (thing: any) => void;
|
|
74
|
+
subscribe: (listener: any) => () => void;
|
|
71
75
|
getTransactionStoreSnapshot: () => TransactionStore;
|
|
72
|
-
emitChange: () =>
|
|
76
|
+
emitChange: (change: any) => any;
|
|
73
77
|
loadData: ({ accounts, appData, associatedBeats, categories, institutions, transactionRules, transactions, userFeatures, }?: LoadDataProps) => Promise<void>;
|
|
74
78
|
}
|
|
75
79
|
export {};
|
|
@@ -5,7 +5,7 @@ import h from "@mui/material/Unstable_Grid2";
|
|
|
5
5
|
import u from "@mui/material/Skeleton";
|
|
6
6
|
import l from "@mui/material/Stack";
|
|
7
7
|
import D from "@mui/material/styles/useTheme";
|
|
8
|
-
import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-
|
|
8
|
+
import { f as A, u as v, d as C, b as M, a as k, n as B } from "../hooks-Ws5qcl3x.mjs";
|
|
9
9
|
import G from "@mui/material/Paper";
|
|
10
10
|
import { Icon as S, H1 as F, P as W } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as I } from "@mui/system";
|
|
@@ -14,7 +14,7 @@ import $ from "@mui/material/Button";
|
|
|
14
14
|
import H from "@mui/material/IconButton";
|
|
15
15
|
import R from "@mui/material/Tooltip";
|
|
16
16
|
import j from "@mui/material/useMediaQuery";
|
|
17
|
-
import { k as E, l as Q } from "../ConnectDrawer-
|
|
17
|
+
import { k as E, l as Q } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
const P = _(() => {
|
|
20
20
|
const e = D(), {
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,30 +8,30 @@ import { intervalToDuration as Te, formatDuration as Ae } from "date-fns";
|
|
|
8
8
|
import { addMonths as le } from "date-fns/addMonths";
|
|
9
9
|
import { fromUnixTime as se } from "date-fns/fromUnixTime";
|
|
10
10
|
import { getUnixTime as ce } from "date-fns/getUnixTime";
|
|
11
|
-
import { D as B, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Fr } from "../DebtsStore-
|
|
11
|
+
import { D as B, M as Ee, I as Ie } from "../DebtsStore-CIDWqL0A.mjs";
|
|
12
|
+
import { a as Fr } from "../DebtsStore-CIDWqL0A.mjs";
|
|
13
13
|
import { f as M, a as Be } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
14
14
|
import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
|
|
15
|
-
import { G as Me, y as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-
|
|
15
|
+
import { G as Me, y as q, u as C, l as V, g as k, d as Z, b as Pe } from "../hooks-Ws5qcl3x.mjs";
|
|
16
16
|
import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
17
|
import { D as te } from "../Drawer-kEE73B87.mjs";
|
|
18
18
|
import { b as A } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Ne } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Ne } from "../AccountDetailsHeader-LjielyTa.mjs";
|
|
20
20
|
import Fe from "@mui/material/Card";
|
|
21
21
|
import Re from "@mui/material/CardContent";
|
|
22
22
|
import Le from "@mui/material/CardHeader";
|
|
23
23
|
import { LineChart as $e } from "@mui/x-charts";
|
|
24
24
|
import re from "@mui/material/Box";
|
|
25
25
|
import { useTheme as He } from "@mui/material/styles";
|
|
26
|
-
import { A as T, W as Oe } from "../WidgetContainer-
|
|
26
|
+
import { A as T, W as Oe } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
27
27
|
import de from "@mui/material/Tab";
|
|
28
28
|
import We from "@mui/material/Tabs";
|
|
29
29
|
import _e from "@mui/material/List";
|
|
30
30
|
import j from "@mui/material/Divider";
|
|
31
|
-
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-
|
|
31
|
+
import { M as Ge, I as je, O as ze } from "../OriginalBalanceAction-C8aFD-xo.mjs";
|
|
32
32
|
import Xe from "@mui/material/TextField";
|
|
33
|
-
import { L as J } from "../ListItemAction-
|
|
34
|
-
import { C as ae } from "../CurrencyInput-
|
|
33
|
+
import { L as J } from "../ListItemAction-DTiJk1t_.mjs";
|
|
34
|
+
import { C as ae } from "../CurrencyInput-eEYKPrQ6.mjs";
|
|
35
35
|
import pe from "@mui/material/Alert";
|
|
36
36
|
import me from "@mui/material/AlertTitle";
|
|
37
37
|
import he from "@mui/material/Paper";
|
|
@@ -39,7 +39,7 @@ import { Error as Ve, CheckCircle as ye } from "@mxenabled/mx-icons";
|
|
|
39
39
|
import { T as ue } from "../TabContentContainer-j01JYR_7.mjs";
|
|
40
40
|
import { DataGridPro as Ye } from "@mui/x-data-grid-pro";
|
|
41
41
|
import { H as z } from "../HeaderCell-DjuifqHJ.mjs";
|
|
42
|
-
import { f as Ke } from "../ConnectDrawer-
|
|
42
|
+
import { f as Ke } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
43
43
|
import fe from "@mui/material/Button";
|
|
44
44
|
import Ue from "@mui/material/IconButton";
|
|
45
45
|
import qe from "@mui/material/ListItem";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { fromUnixTime as d } from "date-fns/fromUnixTime";
|
|
2
2
|
import { c as u } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
|
|
4
|
-
import { T as g } from "./User-
|
|
4
|
+
import { T as g } from "./User-DZI8rVQ6.mjs";
|
|
5
5
|
function f(e) {
|
|
6
6
|
return new Set(
|
|
7
7
|
e.filter((n) => n.parent_guid !== void 0).map((n) => n.parent_guid)
|
|
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
|
|
|
17
17
|
import { b } from "../Localization-2MODESHW.mjs";
|
|
18
18
|
import * as ce from "d3";
|
|
19
19
|
import { observer as I } from "mobx-react-lite";
|
|
20
|
-
import { u as S, b as z, x as $, p as Y, d as fe, i as ye, m as Ke } from "../hooks-
|
|
20
|
+
import { u as S, b as z, x as $, p as Y, d as fe, i as ye, m as Ke } from "../hooks-Ws5qcl3x.mjs";
|
|
21
21
|
import { L as N } from "../Loader-DUaFpDGv.mjs";
|
|
22
22
|
import { F as No, a as Ko } from "../FinstrongStore-F2c607dj.mjs";
|
|
23
23
|
import q from "@mui/material/Button";
|
|
24
24
|
import J from "@mui/material/Card";
|
|
25
|
-
import { L as be } from "../LineChart-
|
|
26
|
-
import { l as xe } from "../ConnectDrawer-
|
|
25
|
+
import { L as be } from "../LineChart-CTpS4Y61.mjs";
|
|
26
|
+
import { l as xe } from "../ConnectDrawer-BMCNkK6D.mjs";
|
|
27
27
|
import Xe from "@mui/material/Accordion";
|
|
28
28
|
import je from "@mui/material/AccordionDetails";
|
|
29
29
|
import Ue from "@mui/material/AccordionSummary";
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
32
|
+
import { C as qe } from "../ConnectionsDrawer-BnVPJoTH.mjs";
|
|
33
|
+
import { R as Je } from "../RecurringSettings-BHrCHHHz.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -48,7 +48,7 @@ import ct from "@mui/lab/TimelineConnector";
|
|
|
48
48
|
import lt from "@mui/lab/TimelineContent";
|
|
49
49
|
import dt from "@mui/lab/TimelineDot";
|
|
50
50
|
import pt from "@mui/lab/TimelineSeparator";
|
|
51
|
-
import { W as mt } from "../WidgetContainer-
|
|
51
|
+
import { W as mt } from "../WidgetContainer-u6xa7Lhc.mjs";
|
|
52
52
|
var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
|
|
53
53
|
const ut = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
|
|
54
54
|
Be,
|