@mx-cartographer/experiences 7.4.12 → 7.4.14
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 +8 -0
- package/dist/{Account-BrOTlmeK.mjs → Account-CvR2-dSR.mjs} +1 -1
- package/dist/{AccountDetailsContent-BcWGqnxx.mjs → AccountDetailsContent-CitErkuS.mjs} +87 -80
- package/dist/{AccountDetailsHeader-C8MxsxhN.mjs → AccountDetailsHeader-BkG3MNYo.mjs} +3 -3
- package/dist/{AccountFields-BQZ-o6Kj.mjs → AccountFields-zCMqet85.mjs} +2 -2
- package/dist/{AccountListItem-aIE9WWTO.mjs → AccountListItem-DHrz8Mml.mjs} +3 -3
- package/dist/{AccountStore-DqO84Aer.mjs → AccountStore-LgfBcYMe.mjs} +1 -1
- package/dist/{Accounts-DC_A4UCa.mjs → Accounts-Bzy1_REQ.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-SUgfE5GN.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +1 -1
- package/dist/{ConnectDrawer-KL8t1qSC.mjs → ConnectDrawer-BkvlItWx.mjs} +1 -1
- package/dist/{ConnectionsDrawer-DaK5uIL5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +2 -2
- package/dist/{DebtsStore-DVPZbv2C.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
- package/dist/Drawer-By9V-B5L.mjs +178 -0
- package/dist/{GoalStore-o4rrjGSJ.mjs → GoalStore-1P19goZ7.mjs} +1 -1
- package/dist/{Help-BjLMsuMS.mjs → Help-Ea3BlXQp.mjs} +1 -1
- package/dist/{ManageIncome-BcSaZ_b1.mjs → ManageIncome-CaoQl609.mjs} +3 -3
- package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
- package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
- package/dist/{NetWorthStore-DG2X69jG.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
- package/dist/{NotificationSettings-Cy0qgDf6.mjs → NotificationSettings-uzM8tCoH.mjs} +1 -1
- package/dist/{RecurringSettings-BAberQCv.mjs → RecurringSettings-B4ybrS0B.mjs} +2 -2
- package/dist/{SpendingLegend-DLh6CQbW.mjs → SpendingLegend-DsNH6ziK.mjs} +1 -1
- package/dist/{TransactionDetails-CXy1vL_K.mjs → TransactionDetails-m5PddMQn.mjs} +3 -3
- package/dist/{WidgetContainer-CaPjoWeE.mjs → WidgetContainer-CoFDmQRE.mjs} +2 -2
- package/dist/accounts/index.es.js +14 -14
- package/dist/analytics/index.es.js +1 -1
- package/dist/budgets/index.es.js +7 -7
- package/dist/cashflow/index.es.js +7 -7
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +12 -12
- package/dist/dashboard/index.es.js +1 -1
- package/dist/debts/index.es.js +6 -6
- package/dist/finstrong/index.es.js +9 -9
- package/dist/goals/index.es.js +9 -9
- package/dist/help/index.es.js +2 -2
- package/dist/investments/index.es.js +3 -3
- package/dist/networth/index.es.js +6 -6
- 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 +5 -5
- package/dist/transactions/index.es.js +6 -6
- package/dist/trends/index.es.js +6 -6
- package/dist/{useAccountDisplayName-Cjx8YmKK.mjs → useAccountDisplayName-B7iXTNM8.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-BEtCk82g.mjs +0 -163
- package/dist/MicroWidgetContainer-B2hO9rOG.mjs +0 -45
- package/dist/MiniWidgetContainer-98-hKFqm.mjs +0 -56
|
@@ -14,7 +14,7 @@ import I from "@mui/material/Button";
|
|
|
14
14
|
import $ from "@mui/material/IconButton";
|
|
15
15
|
import H from "@mui/material/Tooltip";
|
|
16
16
|
import R from "@mui/material/useMediaQuery";
|
|
17
|
-
import { k as j, l as Q } from "../ConnectDrawer-
|
|
17
|
+
import { k as j, l as Q } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
18
18
|
import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
19
|
import { u as E } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
20
20
|
const N = _(() => {
|
package/dist/debts/index.es.js
CHANGED
|
@@ -8,22 +8,22 @@ 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 P, M as Ee, I as Ie } from "../DebtsStore-
|
|
12
|
-
import { a as Lr } from "../DebtsStore-
|
|
11
|
+
import { D as P, M as Ee, I as Ie } from "../DebtsStore-Bq-aPy-5.mjs";
|
|
12
|
+
import { a as Lr } from "../DebtsStore-Bq-aPy-5.mjs";
|
|
13
13
|
import { f as k, a as Be } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
14
14
|
import { f as K, a as U } from "../Dialog-BPTr3qHE.mjs";
|
|
15
15
|
import { G as Me, w as q, u as S, l as V, g as F, d as Z, b as Pe } from "../hooks-ZMp65DFz.mjs";
|
|
16
16
|
import { u as Y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
17
|
-
import { D as te } from "../Drawer-
|
|
17
|
+
import { D as te } from "../Drawer-By9V-B5L.mjs";
|
|
18
18
|
import { b as E } from "../Localization-2MODESHW.mjs";
|
|
19
|
-
import { A as ke, u as Ne } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as ke, u as Ne } from "../AccountDetailsHeader-BkG3MNYo.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-CoFDmQRE.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";
|
|
@@ -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-BkvlItWx.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";
|
|
@@ -15,8 +15,8 @@ import m from "react";
|
|
|
15
15
|
import B from "@mui/material/Button";
|
|
16
16
|
import V from "@mui/material/Card";
|
|
17
17
|
import { L as Ye } from "../LineChart-BQRxZF3p.mjs";
|
|
18
|
-
import { C as St } from "../ConnectionsDrawer-
|
|
19
|
-
import { l as re, g as Ct, A as Ge } from "../ConnectDrawer-
|
|
18
|
+
import { C as St } from "../ConnectionsDrawer-VmuVFHbL.mjs";
|
|
19
|
+
import { l as re, g as Ct, A as Ge } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
20
20
|
import se from "@mui/material/Tab";
|
|
21
21
|
import Xe from "@mui/material/Tabs";
|
|
22
22
|
import Fe from "@mui/material/TextField";
|
|
@@ -24,12 +24,12 @@ import { u as qe } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
|
24
24
|
import { D as Bn, f as Wn, a as $n } from "../Dialog-BPTr3qHE.mjs";
|
|
25
25
|
import { u as vt } from "../useDimensions-27p2evRx.mjs";
|
|
26
26
|
import zn from "@mui/material/Chip";
|
|
27
|
-
import { D as oe } from "../Drawer-
|
|
27
|
+
import { D as oe } from "../Drawer-By9V-B5L.mjs";
|
|
28
28
|
import le from "@mui/material/Divider";
|
|
29
29
|
import ye from "@mui/material/ListItem";
|
|
30
30
|
import wt from "@mui/material/ListItemAvatar";
|
|
31
31
|
import be from "@mui/material/ListItemText";
|
|
32
|
-
import { g as kt } from "../AccountFields-
|
|
32
|
+
import { g as kt } from "../AccountFields-zCMqet85.mjs";
|
|
33
33
|
import Ee from "@mui/material/List";
|
|
34
34
|
import Gn from "@mui/material/ListItemButton";
|
|
35
35
|
import En from "@mui/material/ListSubheader";
|
|
@@ -38,7 +38,7 @@ import { b as j } from "../Localization-2MODESHW.mjs";
|
|
|
38
38
|
import { S as rt, F as Mt, e as Hn, R as Dt } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
39
39
|
import { S as Nn } from "../StatusBar-BK_uYHAB.mjs";
|
|
40
40
|
import { h as It } from "../DateUtil-CBdcsyuk.mjs";
|
|
41
|
-
import { T as jn, s as Kn, h as Vn, S as Yn, c as Xn } from "../TransactionDetails-
|
|
41
|
+
import { T as jn, s as Kn, h as Vn, S as Yn, c as Xn } from "../TransactionDetails-m5PddMQn.mjs";
|
|
42
42
|
import { T as ce } from "../TabContentContainer-j01JYR_7.mjs";
|
|
43
43
|
import { E as Re } from "../EmptyState-DoxNUae-.mjs";
|
|
44
44
|
import qn from "@mui/material/useMediaQuery";
|
|
@@ -48,15 +48,15 @@ import { ResponsiveChartContainer as Zn } from "@mui/x-charts/ResponsiveChartCon
|
|
|
48
48
|
import { useSpring as Jn, animated as at } from "@react-spring/web";
|
|
49
49
|
import { startOfMonth as At } from "date-fns/startOfMonth";
|
|
50
50
|
import { endOfMonth as Tt } from "date-fns/endOfMonth";
|
|
51
|
-
import { g as eo, S as to, b as no } from "../SpendingLegend-
|
|
51
|
+
import { g as eo, S as to, b as no } from "../SpendingLegend-DsNH6ziK.mjs";
|
|
52
52
|
import { formatISO as oo } from "date-fns/formatISO";
|
|
53
53
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
54
54
|
import { startOfToday as it } from "date-fns/startOfToday";
|
|
55
55
|
import { subDays as ao } from "date-fns/subDays";
|
|
56
|
-
import { c as io, d as st, S as so, i as co } from "../ManageIncome-
|
|
56
|
+
import { c as io, d as st, S as so, i as co } from "../ManageIncome-CaoQl609.mjs";
|
|
57
57
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
58
58
|
import { AdapterDateFns as Ot } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
59
|
-
import { R as ho } from "../RecurringSettings-
|
|
59
|
+
import { R as ho } from "../RecurringSettings-B4ybrS0B.mjs";
|
|
60
60
|
import { LocalizationProvider as uo } from "@mui/x-date-pickers/LocalizationProvider";
|
|
61
61
|
import { format as mo } from "date-fns/format";
|
|
62
62
|
import go from "@mui/lab/Timeline";
|
|
@@ -70,7 +70,7 @@ import wo from "@mui/material/AccordionDetails";
|
|
|
70
70
|
import ko from "@mui/material/AccordionSummary";
|
|
71
71
|
import Mo from "@mui/material/CardHeader";
|
|
72
72
|
import { u as Do } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
73
|
-
import { W as Io } from "../WidgetContainer-
|
|
73
|
+
import { W as Io } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
74
74
|
const Ao = ({
|
|
75
75
|
dialScoreData: t,
|
|
76
76
|
dataIndex: o,
|
package/dist/goals/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { g as ue, T as u, G as me, a as Pe, M as J, C as Ae, b as Ve } from "../GoalStore-
|
|
2
|
-
import { c as qn, d as Jn } from "../GoalStore-
|
|
1
|
+
import { g as ue, T as u, G as me, a as Pe, M as J, C as Ae, b as Ve } from "../GoalStore-1P19goZ7.mjs";
|
|
2
|
+
import { c as qn, d as Jn } from "../GoalStore-1P19goZ7.mjs";
|
|
3
3
|
import { jsxs as r, jsx as e, Fragment as U } from "react/jsx-runtime";
|
|
4
4
|
import y from "react";
|
|
5
5
|
import { observer as D } from "mobx-react-lite";
|
|
@@ -30,17 +30,17 @@ import N from "@mui/material/ListItem";
|
|
|
30
30
|
import k from "@mui/material/ListItemButton";
|
|
31
31
|
import w from "@mui/material/ListItemText";
|
|
32
32
|
import { DataGridPro as et } from "@mui/x-data-grid-pro";
|
|
33
|
-
import { D as j } from "../Drawer-
|
|
33
|
+
import { D as j } from "../Drawer-By9V-B5L.mjs";
|
|
34
34
|
import { b as L } from "../Localization-2MODESHW.mjs";
|
|
35
35
|
import { f as ae, a as re, D as tt } from "../Dialog-BPTr3qHE.mjs";
|
|
36
36
|
import P from "@mui/material/ListItemAvatar";
|
|
37
|
-
import { g as we, A as ye } from "../ConnectDrawer-
|
|
37
|
+
import { g as we, A as ye } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
38
38
|
import nt from "@mui/material/Collapse";
|
|
39
39
|
import ot from "@mui/material/ListItemIcon";
|
|
40
40
|
import at from "@mui/material/Checkbox";
|
|
41
|
-
import { u as rt, A as it } from "../AccountDetailsHeader-
|
|
42
|
-
import { A as st } from "../AccountDetailsContent-
|
|
43
|
-
import { u as lt } from "../useAccountDisplayName-
|
|
41
|
+
import { u as rt, A as it } from "../AccountDetailsHeader-BkG3MNYo.mjs";
|
|
42
|
+
import { A as st } from "../AccountDetailsContent-CitErkuS.mjs";
|
|
43
|
+
import { u as lt } from "../useAccountDisplayName-B7iXTNM8.mjs";
|
|
44
44
|
import De from "@mui/material/TextField";
|
|
45
45
|
import { M as ct, I as dt, O as mt } from "../OriginalBalanceAction-C6jdS4ws.mjs";
|
|
46
46
|
import { getUnixTime as ut } from "date-fns/getUnixTime";
|
|
@@ -49,14 +49,14 @@ import { AdapterDateFns as pt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
49
49
|
import { DatePicker as ht } from "@mui/x-date-pickers";
|
|
50
50
|
import { LocalizationProvider as gt } from "@mui/x-date-pickers/LocalizationProvider";
|
|
51
51
|
import { u as Ke } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
52
|
-
import { A as Y, W as bt } from "../WidgetContainer-
|
|
52
|
+
import { A as Y, W as bt } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
53
53
|
import { L as Me } from "../Loader-DUaFpDGv.mjs";
|
|
54
54
|
import { E as ft } from "../EmptyState-DoxNUae-.mjs";
|
|
55
55
|
import yt from "@mui/material/Stack/Stack";
|
|
56
56
|
import At from "@mui/material/Box";
|
|
57
57
|
import Tt from "@mui/material/styles/useTheme";
|
|
58
58
|
import { S as Ct } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
59
|
-
import { M as St } from "../MicroWidgetContainer-
|
|
59
|
+
import { M as St } from "../MicroWidgetContainer-r6mtxRer.mjs";
|
|
60
60
|
function ce({ title: t, subtitle: n }) {
|
|
61
61
|
return /* @__PURE__ */ r(f, { children: [
|
|
62
62
|
/* @__PURE__ */ e(A, { bold: !0, variant: "Body", children: t }),
|
package/dist/help/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } 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-Ea3BlXQp.mjs";
|
|
4
4
|
import { b as a } from "../hooks-ZMp65DFz.mjs";
|
|
5
5
|
import { u as d } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
6
6
|
import { L as p } from "../Loader-DUaFpDGv.mjs";
|
|
7
|
-
import { W as f } from "../WidgetContainer-
|
|
7
|
+
import { W as f } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
8
8
|
const b = m(({ onBackClick: i, sx: t }) => {
|
|
9
9
|
const { isCopyLoaded: r, isInitialized: e } = a();
|
|
10
10
|
return d({
|
|
@@ -4,7 +4,7 @@ import { observer as P } from "mobx-react-lite";
|
|
|
4
4
|
import _ from "@mui/material/Stack";
|
|
5
5
|
import Ee from "@mui/material/Tab";
|
|
6
6
|
import Ne from "@mui/material/Tabs";
|
|
7
|
-
import { C as ge } from "../ConnectionsDrawer-
|
|
7
|
+
import { C as ge } from "../ConnectionsDrawer-VmuVFHbL.mjs";
|
|
8
8
|
import pe from "@mui/material/useMediaQuery";
|
|
9
9
|
import Ge from "@mui/material/Box";
|
|
10
10
|
import Me from "@mui/material/Collapse";
|
|
@@ -17,7 +17,7 @@ import ye from "@mui/material/ToggleButtonGroup";
|
|
|
17
17
|
import { Text as r, H1 as fe, P as ve, InstitutionLogo as ne } from "@mxenabled/mxui";
|
|
18
18
|
import Ue from "@mui/material/Button";
|
|
19
19
|
import { u as G, g as be, s as H, b as Q, d as se } from "../hooks-ZMp65DFz.mjs";
|
|
20
|
-
import { A as z, W as je } from "../WidgetContainer-
|
|
20
|
+
import { A as z, W as je } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
21
21
|
import { a as ze, f as oe } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
22
22
|
import { u as U } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import le from "@mui/material/styles/useTheme";
|
|
@@ -34,7 +34,7 @@ import Ce from "@mui/material/AccordionSummary";
|
|
|
34
34
|
import ie from "@mui/material/Paper";
|
|
35
35
|
import p from "@mui/system/Stack";
|
|
36
36
|
import Se from "@mui/material/TextField";
|
|
37
|
-
import { D as $e } from "../Drawer-
|
|
37
|
+
import { D as $e } from "../Drawer-By9V-B5L.mjs";
|
|
38
38
|
import { DataGridPro as qe } from "@mui/x-data-grid-pro";
|
|
39
39
|
import { Stack as Ke } from "@mui/material";
|
|
40
40
|
import { L as De } from "../Loader-DUaFpDGv.mjs";
|
|
@@ -19,21 +19,21 @@ import { i as oe } from "../DateUtil-CBdcsyuk.mjs";
|
|
|
19
19
|
import { C as y } from "../CurrencyText-Dr0EZ7bp.mjs";
|
|
20
20
|
import { Button as Le, Stack as Ne } from "@mui/material";
|
|
21
21
|
import { format as Ee, fromUnixTime as ke, differenceInMonths as De } from "date-fns";
|
|
22
|
-
import { g as U } from "../NetWorthStore-
|
|
23
|
-
import { N as Rt } from "../NetWorthStore-
|
|
22
|
+
import { g as U } from "../NetWorthStore-rC0q7P7t.mjs";
|
|
23
|
+
import { N as Rt } from "../NetWorthStore-rC0q7P7t.mjs";
|
|
24
24
|
import { Icon as re } from "@mxenabled/mx-icons";
|
|
25
25
|
import { f as V } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
26
26
|
import { u as ie } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
27
|
-
import { A as b, W as Me } from "../WidgetContainer-
|
|
27
|
+
import { A as b, W as Me } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
28
28
|
import { L as O } from "../Loader-DUaFpDGv.mjs";
|
|
29
|
-
import { M as Ae } from "../MicroWidgetContainer-
|
|
29
|
+
import { M as Ae } from "../MicroWidgetContainer-r6mtxRer.mjs";
|
|
30
30
|
import ae from "@mui/material/Box";
|
|
31
|
-
import { C as He } from "../ConnectionsDrawer-
|
|
31
|
+
import { C as He } from "../ConnectionsDrawer-VmuVFHbL.mjs";
|
|
32
32
|
import Be from "@mui/material/Collapse";
|
|
33
33
|
import Y from "@mui/material/ListItemIcon";
|
|
34
34
|
import se from "@mui/material/styles/useTheme";
|
|
35
35
|
import { E as Oe } from "../EmptyState-DoxNUae-.mjs";
|
|
36
|
-
import { D as q } from "../Drawer-
|
|
36
|
+
import { D as q } from "../Drawer-By9V-B5L.mjs";
|
|
37
37
|
const ze = ({
|
|
38
38
|
chartData: t,
|
|
39
39
|
hoveredData: s,
|
|
@@ -17,8 +17,8 @@ import P from "@mui/material/Button";
|
|
|
17
17
|
import W from "@mui/material/Stack";
|
|
18
18
|
import { L as w } from "../Loader-DUaFpDGv.mjs";
|
|
19
19
|
import $ from "@mui/material/IconButton";
|
|
20
|
-
import { N as H } from "../NotificationSettings-
|
|
21
|
-
import { D as C } from "../Drawer-
|
|
20
|
+
import { N as H } from "../NotificationSettings-uzM8tCoH.mjs";
|
|
21
|
+
import { D as C } from "../Drawer-By9V-B5L.mjs";
|
|
22
22
|
const yt = (e) => {
|
|
23
23
|
switch (e) {
|
|
24
24
|
case b.BudgetExceeded:
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import l from "@mui/material/Stack";
|
|
11
|
-
import { R as Ne } from "../RecurringSettings-
|
|
12
|
-
import { M as Gn } from "../RecurringSettings-
|
|
11
|
+
import { R as Ne } from "../RecurringSettings-B4ybrS0B.mjs";
|
|
12
|
+
import { M as Gn } from "../RecurringSettings-B4ybrS0B.mjs";
|
|
13
13
|
import { addMonths as Fe } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Ue } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as je } from "date-fns/isBefore";
|
|
@@ -32,7 +32,7 @@ import { u as w, b as Z, j as I, g as J, p as ke, d as he, h as fe } from "../ho
|
|
|
32
32
|
import { c as v, a as D, g as Me, f as at } from "../RecurringTransactions-BqijW_8S.mjs";
|
|
33
33
|
import { T as H } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
34
34
|
import { R as kn } from "../RecurringTransactionsStore-BhBUVm9a.mjs";
|
|
35
|
-
import { A as _, W as st } from "../WidgetContainer-
|
|
35
|
+
import { A as _, W as st } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
36
36
|
import ct from "@mui/material/Button";
|
|
37
37
|
import le from "@mui/material/Divider";
|
|
38
38
|
import ve from "@mui/material/List";
|
|
@@ -41,10 +41,10 @@ import lt from "@mui/material/ListSubheader";
|
|
|
41
41
|
import dt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import ut from "@mui/material/ListItemButton";
|
|
43
43
|
import mt from "@mui/material/ListItemText";
|
|
44
|
-
import { b as pt } from "../ManageIncome-
|
|
45
|
-
import { c as $n, M as Bn, S as Pn } from "../ManageIncome-
|
|
44
|
+
import { b as pt } from "../ManageIncome-CaoQl609.mjs";
|
|
45
|
+
import { c as $n, M as Bn, S as Pn } from "../ManageIncome-CaoQl609.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
47
|
-
import { D as xe } from "../Drawer-
|
|
47
|
+
import { D as xe } from "../Drawer-By9V-B5L.mjs";
|
|
48
48
|
import { b as G } from "../Localization-2MODESHW.mjs";
|
|
49
49
|
import { f as A, a as E } from "../Dialog-BPTr3qHE.mjs";
|
|
50
50
|
import O from "@mui/material/Box";
|
|
@@ -52,9 +52,9 @@ import { S as $e } from "../StatusBar-BK_uYHAB.mjs";
|
|
|
52
52
|
import { u as ye } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
53
53
|
import { u as be } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
54
54
|
import { L as V } from "../Loader-DUaFpDGv.mjs";
|
|
55
|
-
import { M as gt } from "../MiniWidgetContainer-
|
|
55
|
+
import { M as gt } from "../MiniWidgetContainer-Bg02sF1Y.mjs";
|
|
56
56
|
import { u as ht } from "../useDimensions-27p2evRx.mjs";
|
|
57
|
-
import { M as ft } from "../MicroWidgetContainer-
|
|
57
|
+
import { M as ft } from "../MicroWidgetContainer-r6mtxRer.mjs";
|
|
58
58
|
const Q = {
|
|
59
59
|
gridRow: 1,
|
|
60
60
|
gridColumn: 1,
|
|
@@ -16,8 +16,8 @@ import F from "@mui/material/Box";
|
|
|
16
16
|
import Q from "@mui/material/Button";
|
|
17
17
|
import I from "@mui/material/TextField";
|
|
18
18
|
import { H3 as J, P as L, Text as x, Icon as N, ChevronRightIcon as ve } from "@mxenabled/mxui";
|
|
19
|
-
import { V as Ce, a as De, N as G } from "../NotificationSettings-
|
|
20
|
-
import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-
|
|
19
|
+
import { V as Ce, a as De, N as G } from "../NotificationSettings-uzM8tCoH.mjs";
|
|
20
|
+
import { A as Qt, B as Zt, I as eo } from "../NotificationSettings-uzM8tCoH.mjs";
|
|
21
21
|
import { u as w, a as W, r as A, o as Se, b as Z, m as ee } from "../hooks-ZMp65DFz.mjs";
|
|
22
22
|
import { u as H } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
23
23
|
import { D as $ } from "../Dialog-BPTr3qHE.mjs";
|
|
@@ -35,15 +35,15 @@ import { L as ie } from "../Loader-DUaFpDGv.mjs";
|
|
|
35
35
|
import Ae from "@mui/material/List";
|
|
36
36
|
import j from "@mui/material/Divider";
|
|
37
37
|
import Ee from "@mui/material/ListSubheader";
|
|
38
|
-
import { a as Re, u as Pe } from "../CategorySelectorDrawer-
|
|
38
|
+
import { a as Re, u as Pe } from "../CategorySelectorDrawer-B-I3kajA.mjs";
|
|
39
39
|
import Be from "@mui/material/ListItem";
|
|
40
40
|
import Ne from "@mui/material/ListItemButton";
|
|
41
41
|
import Me from "@mui/material/ListItemIcon";
|
|
42
42
|
import Le from "@mui/material/ListItemText";
|
|
43
|
-
import { D as He } from "../Drawer-
|
|
43
|
+
import { D as He } from "../Drawer-By9V-B5L.mjs";
|
|
44
44
|
import { u as ne } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
45
|
-
import { H as Oe } from "../Help-
|
|
46
|
-
import { W as K } from "../WidgetContainer-
|
|
45
|
+
import { H as Oe } from "../Help-Ea3BlXQp.mjs";
|
|
46
|
+
import { W as K } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
47
47
|
const Ue = ({ availableWidth: t, handleOnLeavClick: a }) => {
|
|
48
48
|
const o = xe(), { common: i, settings: n } = w(), { isDesktop: d, isMobile: l, isSmallMobile: r, isTablet: s } = H(t), { config: g } = W(), { updateUser: _ } = A(), { user: m } = Se(), [u, S] = p.useState({
|
|
49
49
|
first_name: m.first_name,
|
|
@@ -8,27 +8,27 @@ import C from "@mui/material/Stack";
|
|
|
8
8
|
import E from "@mui/material/Tab";
|
|
9
9
|
import st from "@mui/material/Tabs";
|
|
10
10
|
import bt from "@mui/material/styles/useTheme";
|
|
11
|
-
import { g as ct, a as lt, S as W, b as Q } from "../SpendingLegend-
|
|
11
|
+
import { g as ct, a as lt, S as W, b as Q } from "../SpendingLegend-DsNH6ziK.mjs";
|
|
12
12
|
import { Text as y, Icon as _t } from "@mxenabled/mxui";
|
|
13
13
|
import { f as A } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
14
14
|
import { u as w, b as R, m as F, d as dt, a as V, h as Ct, g as yt } from "../hooks-ZMp65DFz.mjs";
|
|
15
15
|
import { u as gt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
16
16
|
import { L as P } from "../Loader-DUaFpDGv.mjs";
|
|
17
|
-
import { M as St } from "../MiniWidgetContainer-
|
|
17
|
+
import { M as St } from "../MiniWidgetContainer-Bg02sF1Y.mjs";
|
|
18
18
|
import { startOfToday as Z } from "date-fns/startOfToday";
|
|
19
19
|
import Tt from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Mt } from "@mui/material";
|
|
21
21
|
import { e as xt } from "../exportTransactionsToCSV-DuAaI5XA.mjs";
|
|
22
|
-
import { T as wt, a as vt } from "../TransactionDetails-
|
|
22
|
+
import { T as wt, a as vt } from "../TransactionDetails-m5PddMQn.mjs";
|
|
23
23
|
import Dt from "@mui/material/Collapse";
|
|
24
24
|
import z from "@mui/material/Divider";
|
|
25
25
|
import tt from "@mui/material/List";
|
|
26
26
|
import et from "@mui/material/ListItem";
|
|
27
27
|
import Lt from "@mui/material/ListItemButton";
|
|
28
28
|
import { u as It } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
29
|
-
import { D as nt } from "../Drawer-
|
|
29
|
+
import { D as nt } from "../Drawer-By9V-B5L.mjs";
|
|
30
30
|
import { b as L } from "../Category-CevNQ03n.mjs";
|
|
31
|
-
import { A as ot, W as At } from "../WidgetContainer-
|
|
31
|
+
import { A as ot, W as At } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
32
32
|
const N = ({ amount: e, label: d }) => /* @__PURE__ */ l(C, { direction: "column", children: [
|
|
33
33
|
/* @__PURE__ */ t(y, { bold: !0, sx: { textTransform: "none" }, variant: "Body", children: d }),
|
|
34
34
|
/* @__PURE__ */ t(y, { variant: "XSmall", children: A(e, "0,0") })
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as Sa } from "../TransactionApi-CjBoLleL.mjs";
|
|
2
|
-
import { b as W, C as Pe, D as We, M as $e, d as Ve, u as Ge, T as Ue, a as Fe } from "../TransactionDetails-
|
|
3
|
-
import { B as wa, e as Ia, c as va } from "../TransactionDetails-
|
|
2
|
+
import { b as W, C as Pe, D as We, M as $e, d as Ve, u as Ge, T as Ue, a as Fe } from "../TransactionDetails-m5PddMQn.mjs";
|
|
3
|
+
import { B as wa, e as Ia, c as va } from "../TransactionDetails-m5PddMQn.mjs";
|
|
4
4
|
import { T as M } from "../User-Cnlegl1N.mjs";
|
|
5
5
|
import { O as Na } from "../User-Cnlegl1N.mjs";
|
|
6
6
|
import { S as ae, D as ze } from "../TransactionStore-PRlwE-TF.mjs";
|
|
@@ -26,19 +26,19 @@ import { getUnixTime as st } from "date-fns/getUnixTime";
|
|
|
26
26
|
import { startOfMonth as it } from "date-fns/startOfMonth";
|
|
27
27
|
import { startOfToday as K } from "date-fns/startOfToday";
|
|
28
28
|
import ct from "@mui/material/styles/useTheme";
|
|
29
|
-
import { l as lt } from "../ConnectDrawer-
|
|
29
|
+
import { l as lt } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
30
30
|
import dt from "@mui/material/Divider";
|
|
31
31
|
import ut from "@mui/material/MenuItem";
|
|
32
32
|
import mt from "@mui/material/RadioGroup";
|
|
33
33
|
import { ExpandMore as _t } from "@mxenabled/mx-icons";
|
|
34
34
|
import { C as pt } from "../CurrencyInput-itK0R3wV.mjs";
|
|
35
|
-
import { a as gt, u as ht } from "../CategorySelectorDrawer-
|
|
35
|
+
import { a as gt, u as ht } from "../CategorySelectorDrawer-B-I3kajA.mjs";
|
|
36
36
|
import { b as q } from "../Localization-2MODESHW.mjs";
|
|
37
|
-
import { A, W as ft } from "../WidgetContainer-
|
|
37
|
+
import { A, W as ft } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
38
38
|
import { u as Ct } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
39
39
|
import { u as yt } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
40
40
|
import { S as bt } from "../SearchBox-B2_zLv8-.mjs";
|
|
41
|
-
import { D as oe } from "../Drawer-
|
|
41
|
+
import { D as oe } from "../Drawer-By9V-B5L.mjs";
|
|
42
42
|
const Tt = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "Small", children: [
|
|
43
43
|
`${t.row.account}`,
|
|
44
44
|
t.row.number && ` | ${t.row.number}`
|
package/dist/trends/index.es.js
CHANGED
|
@@ -30,16 +30,16 @@ import At from "@mui/material/ToggleButtonGroup";
|
|
|
30
30
|
import { DataGridPro as Rt } from "@mui/x-data-grid-pro";
|
|
31
31
|
import { H as Be } from "../HeaderCell-DjuifqHJ.mjs";
|
|
32
32
|
import { T as G, b as kt } from "../ViewMoreMicroCard-DwR0v_ll.mjs";
|
|
33
|
-
import { A as v, W as Xe } from "../WidgetContainer-
|
|
34
|
-
import { a as Ze, T as Qe } from "../TransactionDetails-
|
|
35
|
-
import { D as He } from "../Drawer-
|
|
33
|
+
import { A as v, W as Xe } from "../WidgetContainer-CoFDmQRE.mjs";
|
|
34
|
+
import { a as Ze, T as Qe } from "../TransactionDetails-m5PddMQn.mjs";
|
|
35
|
+
import { D as He } from "../Drawer-By9V-B5L.mjs";
|
|
36
36
|
import { u as we } from "../useWidgetLoadTimer-hIOioiKx.mjs";
|
|
37
37
|
import { L as ge } from "../Loader-DUaFpDGv.mjs";
|
|
38
38
|
import { L as We } from "../LineChart-BQRxZF3p.mjs";
|
|
39
|
-
import { M as Ht } from "../MiniWidgetContainer-
|
|
39
|
+
import { M as Ht } from "../MiniWidgetContainer-Bg02sF1Y.mjs";
|
|
40
40
|
import { subMonths as Nt } from "date-fns";
|
|
41
41
|
import { TrendingUp as Wt, TrendingDown as Ot, MultilineChart as Gt, ExpandLess as Bt, ExpandMore as Vt } from "@mxenabled/mx-icons";
|
|
42
|
-
import { M as Pt } from "../MicroWidgetContainer-
|
|
42
|
+
import { M as Pt } from "../MicroWidgetContainer-r6mtxRer.mjs";
|
|
43
43
|
import Ft from "@mui/material/Collapse";
|
|
44
44
|
import $t from "@mui/material/List";
|
|
45
45
|
import zt from "@mui/material/ListItem";
|
|
@@ -52,7 +52,7 @@ import { b as Xt } from "../CategoryUtil-DUM8NuGO.mjs";
|
|
|
52
52
|
import { E as Zt } from "../ExportCsvAction-Cglo8Mca.mjs";
|
|
53
53
|
import { u as Qt } from "../useInsightsEnabled-B7dxpDrX.mjs";
|
|
54
54
|
import { E as qt } from "../EmptyState-DoxNUae-.mjs";
|
|
55
|
-
import { l as Jt } from "../ConnectDrawer-
|
|
55
|
+
import { l as Jt } from "../ConnectDrawer-BkvlItWx.mjs";
|
|
56
56
|
const Je = ({ categoryGuid: o, topLevelCategoryGuid: r }) => {
|
|
57
57
|
const { categories: t } = N(), { getCategoryName: n } = U(), s = n(o);
|
|
58
58
|
return /* @__PURE__ */ f(b, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
|
package/package.json
CHANGED
package/dist/Drawer-BEtCk82g.mjs
DELETED
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import u from "@mui/material/Box";
|
|
3
|
-
import s from "@mui/material/Stack";
|
|
4
|
-
import { H2 as y, Drawer as B } from "@mxenabled/mxui";
|
|
5
|
-
import x from "@mui/material/Button";
|
|
6
|
-
import v from "@mui/material/IconButton";
|
|
7
|
-
import { ArrowBack as j } from "@mxenabled/mx-icons";
|
|
8
|
-
const F = ({
|
|
9
|
-
footerStyles: e = {},
|
|
10
|
-
hasSecondaryAction: a = !0,
|
|
11
|
-
isPrimaryDisabled: t,
|
|
12
|
-
onPrimaryAction: o,
|
|
13
|
-
onSecondaryAction: n,
|
|
14
|
-
primaryButtonProps: l = {},
|
|
15
|
-
primaryColor: c = "primary",
|
|
16
|
-
primaryText: i = "Save",
|
|
17
|
-
secondaryColor: d = "primary",
|
|
18
|
-
secondaryText: p = "Cancel"
|
|
19
|
-
}) => /* @__PURE__ */ h(
|
|
20
|
-
s,
|
|
21
|
-
{
|
|
22
|
-
sx: {
|
|
23
|
-
bgcolor: "background.paper",
|
|
24
|
-
flexDirection: "row",
|
|
25
|
-
gap: 16,
|
|
26
|
-
justifyContent: "flex-end",
|
|
27
|
-
p: 24,
|
|
28
|
-
...e
|
|
29
|
-
},
|
|
30
|
-
children: [
|
|
31
|
-
a && /* @__PURE__ */ r(
|
|
32
|
-
x,
|
|
33
|
-
{
|
|
34
|
-
color: d,
|
|
35
|
-
onClick: n,
|
|
36
|
-
variant: o ? "outlined" : "contained",
|
|
37
|
-
children: p
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
o && /* @__PURE__ */ r(
|
|
41
|
-
x,
|
|
42
|
-
{
|
|
43
|
-
...l,
|
|
44
|
-
color: c,
|
|
45
|
-
disabled: t,
|
|
46
|
-
onClick: o,
|
|
47
|
-
variant: "contained",
|
|
48
|
-
children: i
|
|
49
|
-
}
|
|
50
|
-
)
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
), H = ({
|
|
54
|
-
ariaLabelClose: e,
|
|
55
|
-
onClose: a,
|
|
56
|
-
shouldShowBorders: t,
|
|
57
|
-
shouldShowShadow: o,
|
|
58
|
-
title: n
|
|
59
|
-
}) => /* @__PURE__ */ h(
|
|
60
|
-
s,
|
|
61
|
-
{
|
|
62
|
-
"aria-level": 1,
|
|
63
|
-
direction: "row",
|
|
64
|
-
role: "heading",
|
|
65
|
-
sx: {
|
|
66
|
-
alignItems: "center",
|
|
67
|
-
backgroundColor: "background.paper",
|
|
68
|
-
...t && {
|
|
69
|
-
borderBottom: 1,
|
|
70
|
-
borderTop: 1,
|
|
71
|
-
borderColor: "border.light"
|
|
72
|
-
},
|
|
73
|
-
...o && {
|
|
74
|
-
boxShadow: "0px 2px 8px 0px #6A73811F"
|
|
75
|
-
},
|
|
76
|
-
padding: "8px 8px 8px 8px"
|
|
77
|
-
},
|
|
78
|
-
children: [
|
|
79
|
-
/* @__PURE__ */ r(v, { "aria-label": e, color: "primary", onClick: a, children: /* @__PURE__ */ r(j, { color: "primary", sx: { fontSize: 22 } }) }),
|
|
80
|
-
/* @__PURE__ */ r(
|
|
81
|
-
u,
|
|
82
|
-
{
|
|
83
|
-
sx: {
|
|
84
|
-
flexGrow: 1,
|
|
85
|
-
margin: "auto",
|
|
86
|
-
textAlign: "center"
|
|
87
|
-
},
|
|
88
|
-
children: /* @__PURE__ */ r(y, { bold: !0, variant: "Body", children: n })
|
|
89
|
-
}
|
|
90
|
-
),
|
|
91
|
-
/* @__PURE__ */ r(u, { width: "44px" })
|
|
92
|
-
]
|
|
93
|
-
}
|
|
94
|
-
), I = ({
|
|
95
|
-
ariaLabelClose: e = "Close",
|
|
96
|
-
children: a,
|
|
97
|
-
footerStyles: t = {},
|
|
98
|
-
hasSecondaryAction: o = !0,
|
|
99
|
-
id: n,
|
|
100
|
-
isOpen: l,
|
|
101
|
-
isPrimaryDisabled: c,
|
|
102
|
-
onClose: i,
|
|
103
|
-
onPrimaryAction: d,
|
|
104
|
-
onSecondaryAction: p,
|
|
105
|
-
primaryButtonProps: b,
|
|
106
|
-
primaryColor: m = "primary",
|
|
107
|
-
primaryText: g,
|
|
108
|
-
secondaryColor: w = "secondary",
|
|
109
|
-
secondaryText: f,
|
|
110
|
-
shouldShowHeaderBorders: k = !0,
|
|
111
|
-
shouldShowHeaderShadow: C = !1,
|
|
112
|
-
title: D,
|
|
113
|
-
...S
|
|
114
|
-
}) => /* @__PURE__ */ r(
|
|
115
|
-
B,
|
|
116
|
-
{
|
|
117
|
-
id: n,
|
|
118
|
-
isOpen: l,
|
|
119
|
-
onClose: i,
|
|
120
|
-
sx: {
|
|
121
|
-
"& .MuiDrawer-paper": {
|
|
122
|
-
backgroundColor: "background.default",
|
|
123
|
-
borderRadius: 0
|
|
124
|
-
},
|
|
125
|
-
height: "100%",
|
|
126
|
-
"& .MuiToolbar-root": {
|
|
127
|
-
backgroundColor: "background.paper"
|
|
128
|
-
}
|
|
129
|
-
},
|
|
130
|
-
...S,
|
|
131
|
-
children: /* @__PURE__ */ h(s, { height: "100%", justifyContent: "space-between", children: [
|
|
132
|
-
/* @__PURE__ */ r(
|
|
133
|
-
H,
|
|
134
|
-
{
|
|
135
|
-
ariaLabelClose: e,
|
|
136
|
-
onClose: i,
|
|
137
|
-
shouldShowBorders: k,
|
|
138
|
-
shouldShowShadow: C,
|
|
139
|
-
title: D
|
|
140
|
-
}
|
|
141
|
-
),
|
|
142
|
-
/* @__PURE__ */ r(u, { height: "100%", overflow: "auto", children: a }),
|
|
143
|
-
d && /* @__PURE__ */ r(
|
|
144
|
-
F,
|
|
145
|
-
{
|
|
146
|
-
footerStyles: t,
|
|
147
|
-
hasSecondaryAction: o,
|
|
148
|
-
isPrimaryDisabled: c,
|
|
149
|
-
onPrimaryAction: d,
|
|
150
|
-
onSecondaryAction: p ?? i,
|
|
151
|
-
primaryButtonProps: b,
|
|
152
|
-
primaryColor: m,
|
|
153
|
-
primaryText: g,
|
|
154
|
-
secondaryColor: w,
|
|
155
|
-
secondaryText: f
|
|
156
|
-
}
|
|
157
|
-
)
|
|
158
|
-
] })
|
|
159
|
-
}
|
|
160
|
-
), q = I;
|
|
161
|
-
export {
|
|
162
|
-
q as D
|
|
163
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as r, jsxs as p, Fragment as f } from "react/jsx-runtime";
|
|
2
|
-
import x from "@mui/material/Button";
|
|
3
|
-
import C from "@mui/material/Card";
|
|
4
|
-
import g from "@mui/material/CardContent";
|
|
5
|
-
import b from "@mui/material/CardHeader";
|
|
6
|
-
import { P as u, H3 as v } from "@mxenabled/mxui";
|
|
7
|
-
import { ChevronRight as W } from "@mxenabled/mx-icons";
|
|
8
|
-
import { u as M } from "./useDimensions-27p2evRx.mjs";
|
|
9
|
-
import { W as w } from "./hooks-ZMp65DFz.mjs";
|
|
10
|
-
const H = ({
|
|
11
|
-
children: e,
|
|
12
|
-
className: o,
|
|
13
|
-
ctaLabel: n,
|
|
14
|
-
onCTAClick: a,
|
|
15
|
-
subHeader: t,
|
|
16
|
-
sx: s,
|
|
17
|
-
title: c,
|
|
18
|
-
variant: d = "borderless"
|
|
19
|
-
}) => {
|
|
20
|
-
const [m, { height: l, width: h }] = M(), i = /* @__PURE__ */ p(f, { children: [
|
|
21
|
-
/* @__PURE__ */ r(
|
|
22
|
-
b,
|
|
23
|
-
{
|
|
24
|
-
action: /* @__PURE__ */ r(
|
|
25
|
-
x,
|
|
26
|
-
{
|
|
27
|
-
endIcon: /* @__PURE__ */ r(W, { size: 20 }),
|
|
28
|
-
onClick: a,
|
|
29
|
-
size: "small",
|
|
30
|
-
variant: "text",
|
|
31
|
-
children: n
|
|
32
|
-
}
|
|
33
|
-
),
|
|
34
|
-
subheader: t && /* @__PURE__ */ r(u, { sx: { color: "text.secondary" }, variant: "body2", children: t }),
|
|
35
|
-
sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
|
|
36
|
-
title: /* @__PURE__ */ r(v, { sx: { width: "calc(100% - 10px)" }, children: c })
|
|
37
|
-
}
|
|
38
|
-
),
|
|
39
|
-
/* @__PURE__ */ r(g, { ref: m, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ r(w, { availableHeight: l, availableWidth: h, children: e }) })
|
|
40
|
-
] });
|
|
41
|
-
return d === "borderless" ? i : /* @__PURE__ */ r(C, { className: o, sx: { alignItems: "center", p: 16, ...s }, children: i });
|
|
42
|
-
}, F = H;
|
|
43
|
-
export {
|
|
44
|
-
F as M
|
|
45
|
-
};
|