@mx-cartographer/experiences 8.1.0 → 8.1.2
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 +9 -0
- package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
- package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
- package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
- package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
- package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
- package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-B3S_p5Qa.mjs} +3 -3
- package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
- package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
- package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-DalEN9--.mjs} +47 -47
- package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
- package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
- package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
- package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
- package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
- package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
- package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
- package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
- package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
- package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
- package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
- package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
- package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
- package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
- package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
- package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
- package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
- package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
- package/dist/{Help-cTsMzSQh.mjs → Help-DuhUdMTZ.mjs} +95 -98
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
- package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
- package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
- package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-CrHDAku7.mjs} +8 -8
- package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
- package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
- package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
- package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-DOgnTxzv.mjs} +9 -9
- package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
- package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-CIpZL4CX.mjs} +2 -2
- package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
- package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
- package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
- package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
- package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-DIWHSsKw.mjs} +5 -5
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Db8dwHoM.mjs} +21 -21
- package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
- package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
- package/dist/WidgetContainer-CCR7I0gu.mjs +470 -0
- package/dist/accounts/index.es.js +29 -29
- package/dist/analytics/index.es.js +10 -10
- package/dist/budgets/index.es.js +19 -19
- package/dist/cashflow/index.es.js +110 -110
- package/dist/categories/index.es.js +2 -2
- package/dist/common/hooks/useWidgetHeaderStyles.d.ts +1 -0
- package/dist/common/index.es.js +250 -250
- package/dist/core/index.es.js +64 -64
- package/dist/dashboard/index.es.js +22 -22
- package/dist/debts/index.es.js +22 -22
- package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
- package/dist/finstrong/index.es.js +22 -22
- package/dist/goals/index.es.js +17 -17
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
- package/dist/insights/index.es.js +328 -328
- package/dist/investments/index.es.js +10 -10
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +25 -25
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +23 -23
- package/dist/settings/index.es.js +96 -96
- package/dist/spending/index.es.js +65 -65
- package/dist/transactions/index.es.js +74 -74
- package/dist/trends/index.es.js +55 -55
- package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
- package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
- package/dist/{useScreenSize-CUcpY7aJ.mjs → useScreenSize-CeFhWTt_.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
- package/package.json +20 -20
- package/dist/DateUtil-C57sqxn4.mjs +0 -54
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
- package/dist/WidgetContainer-Bc75FqK7.mjs +0 -468
|
@@ -3,10 +3,10 @@ import s from "react";
|
|
|
3
3
|
import { observer as E } from "mobx-react-lite";
|
|
4
4
|
import { useTheme as _ } from "@mui/material/styles";
|
|
5
5
|
import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
|
|
6
|
-
import { C as a, a as c } from "./Connect-
|
|
6
|
+
import { C as a, a as c } from "./Connect-BRLh-69J.mjs";
|
|
7
7
|
import { M as i } from "./Accounts-CseLC3lL.mjs";
|
|
8
|
-
import { d as D, e as L, u as w } from "./hooks-
|
|
9
|
-
import { D as x } from "./Drawer-
|
|
8
|
+
import { d as D, e as L, u as w } from "./hooks-HwStH7q_.mjs";
|
|
9
|
+
import { D as x } from "./Drawer-XPaLYjiO.mjs";
|
|
10
10
|
const I = ({
|
|
11
11
|
onClose: l,
|
|
12
12
|
showConnectionsWidget: o,
|
|
@@ -4,26 +4,26 @@ import { css as k } from "@mxenabled/cssinjs";
|
|
|
4
4
|
import { v4 as q } from "uuid";
|
|
5
5
|
import { TextField as B, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { g as L, C as O, f as y, M as C } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
7
|
-
import { u as W } from "./hooks-
|
|
7
|
+
import { u as W } from "./hooks-HwStH7q_.mjs";
|
|
8
8
|
import { b } from "./Localization-CkQ49EKr.mjs";
|
|
9
9
|
import { g } from "./Localization-C_HZg9tJ.mjs";
|
|
10
|
-
const
|
|
10
|
+
const K = ({
|
|
11
11
|
allowDecimals: o = !0,
|
|
12
12
|
ariaLabel: h,
|
|
13
13
|
amount: c,
|
|
14
|
-
amountIsRequired:
|
|
15
|
-
copy:
|
|
16
|
-
customValidate:
|
|
14
|
+
amountIsRequired: M = !0,
|
|
15
|
+
copy: a,
|
|
16
|
+
customValidate: $ = () => !0,
|
|
17
17
|
errorText: S = "",
|
|
18
|
-
label:
|
|
18
|
+
label: u,
|
|
19
19
|
minAmount: f = 1,
|
|
20
20
|
setAmount: x,
|
|
21
21
|
setHasValidInput: e,
|
|
22
22
|
...N
|
|
23
23
|
}) => {
|
|
24
|
-
const [
|
|
24
|
+
const [d, t] = i.useState(""), { common: P } = W(), n = a || P.currency_input, R = j(), A = /^[0-9]*$/, E = /^(\d)*(\,)?([0-9]{1,2})?$/, T = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
25
25
|
let s;
|
|
26
|
-
const
|
|
26
|
+
const p = i.useRef(q());
|
|
27
27
|
if (o)
|
|
28
28
|
switch (L()) {
|
|
29
29
|
case O.CAD:
|
|
@@ -39,7 +39,7 @@ const j = ({
|
|
|
39
39
|
l(c);
|
|
40
40
|
}, [c]);
|
|
41
41
|
const l = (r) => {
|
|
42
|
-
|
|
42
|
+
!M && (r === "" || r === "." || r === ",") ? (t(""), e?.(!1)) : Number(r) < f ? (t(
|
|
43
43
|
b(
|
|
44
44
|
n.error_amount_must_be_equal_to,
|
|
45
45
|
y(f, "0")
|
|
@@ -49,7 +49,7 @@ const j = ({
|
|
|
49
49
|
n.error_amount_must_be_less_than_or_equal_to,
|
|
50
50
|
y(C, o ? "0,0.00" : "0,0", Math.floor)
|
|
51
51
|
)
|
|
52
|
-
), e?.(!1)) : r.toString().match(s) ?
|
|
52
|
+
), e?.(!1)) : r.toString().match(s) ? $() ? (t(""), e?.(!0)) : (t(S), e?.(!1)) : (t(n.error_amount_is_invalid), e?.(!1)), x(r.toString());
|
|
53
53
|
};
|
|
54
54
|
return /* @__PURE__ */ m(
|
|
55
55
|
B,
|
|
@@ -59,28 +59,28 @@ const j = ({
|
|
|
59
59
|
startAdornment: g().includes("fr-ca") ? void 0 : /* @__PURE__ */ m(_, { children: "$" })
|
|
60
60
|
},
|
|
61
61
|
className: `mx-cmn-currency-input ${R}`,
|
|
62
|
-
error: !!
|
|
63
|
-
helperText:
|
|
64
|
-
hiddenLabel: !
|
|
65
|
-
id: `currency-input-${
|
|
62
|
+
error: !!d,
|
|
63
|
+
helperText: d,
|
|
64
|
+
hiddenLabel: !u,
|
|
65
|
+
id: `currency-input-${p.current}`,
|
|
66
66
|
inputMode: o ? "decimal" : "numeric",
|
|
67
67
|
inputProps: {
|
|
68
68
|
"aria-label": h || n.enter_amount,
|
|
69
69
|
noValidate: !0,
|
|
70
70
|
pattern: o ? "[0-9]*\\.?[0-9]*" : "[0-9]*"
|
|
71
71
|
},
|
|
72
|
-
label:
|
|
73
|
-
name: `currency-input-${
|
|
72
|
+
label: u,
|
|
73
|
+
name: `currency-input-${p.current}`,
|
|
74
74
|
onChange: (r) => l(r.target.value),
|
|
75
75
|
value: c,
|
|
76
76
|
...N
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
|
-
},
|
|
79
|
+
}, j = () => k({
|
|
80
80
|
"& .MuiInputBase-adornedStart > .p": {
|
|
81
81
|
marginRight: 4
|
|
82
82
|
}
|
|
83
|
-
})
|
|
83
|
+
});
|
|
84
84
|
export {
|
|
85
85
|
K as C
|
|
86
86
|
};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { addMonths as m } from "date-fns/addMonths";
|
|
2
|
+
import { addQuarters as n } from "date-fns/addQuarters";
|
|
3
|
+
import { addWeeks as i } from "date-fns/addWeeks";
|
|
4
|
+
import { addYears as l } from "date-fns/addYears";
|
|
5
|
+
import { getDay as x } from "date-fns/getDay";
|
|
6
|
+
import { isBefore as a } from "date-fns/isBefore";
|
|
7
|
+
import { nextDay as T } from "date-fns/nextDay";
|
|
8
|
+
import { setDate as c } from "date-fns/setDate";
|
|
9
|
+
import { startOfToday as r } from "date-fns/startOfToday";
|
|
10
|
+
import { fromUnixTime as s } from "date-fns/fromUnixTime";
|
|
11
|
+
import { f as D, D as f } from "./DateFormats-CaOj_4eI.mjs";
|
|
12
|
+
const Y = (e) => {
|
|
13
|
+
const t = x(e);
|
|
14
|
+
let o = T(e, t);
|
|
15
|
+
for (; a(o, r()); )
|
|
16
|
+
o = i(o, 1);
|
|
17
|
+
return o;
|
|
18
|
+
}, _ = (e) => {
|
|
19
|
+
let t = e;
|
|
20
|
+
for (; a(t, r()); )
|
|
21
|
+
t = i(t, 2);
|
|
22
|
+
return t;
|
|
23
|
+
}, A = (e) => {
|
|
24
|
+
let t = c(r(), e.getDate());
|
|
25
|
+
for (; a(t, r()); )
|
|
26
|
+
t = m(t, 1);
|
|
27
|
+
return t;
|
|
28
|
+
}, W = (e) => {
|
|
29
|
+
let t = e;
|
|
30
|
+
for (; a(t, r()); )
|
|
31
|
+
t = m(t, 2);
|
|
32
|
+
return t;
|
|
33
|
+
}, k = (e) => {
|
|
34
|
+
let t = n(e, 1);
|
|
35
|
+
for (; a(t, r()); )
|
|
36
|
+
t = n(t, 1);
|
|
37
|
+
return t;
|
|
38
|
+
}, B = (e) => {
|
|
39
|
+
let t = e;
|
|
40
|
+
for (; a(t, r()); )
|
|
41
|
+
t = n(t, 2);
|
|
42
|
+
return t;
|
|
43
|
+
}, C = (e) => l(e, 1), E = (e) => {
|
|
44
|
+
const t = s(e);
|
|
45
|
+
return new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate());
|
|
46
|
+
}, F = (e) => D(s(e), f.DAY_OF_WEEK_MONTH_DAY), Q = (e) => e ? D(s(e), f.MONTH_YEAR) : "";
|
|
47
|
+
export {
|
|
48
|
+
B as a,
|
|
49
|
+
k as b,
|
|
50
|
+
W as c,
|
|
51
|
+
A as d,
|
|
52
|
+
_ as e,
|
|
53
|
+
E as f,
|
|
54
|
+
C as g,
|
|
55
|
+
Y as h,
|
|
56
|
+
F as i,
|
|
57
|
+
Q as j
|
|
58
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as d } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as b } from "./Account-
|
|
3
|
+
import { A as b } from "./Account-CMjOp7S2.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const p = {
|
|
@@ -2,8 +2,8 @@ import { jsx as r, jsxs as y } from "react/jsx-runtime";
|
|
|
2
2
|
import x from "@mui/material/Dialog";
|
|
3
3
|
import P from "@mui/material/DialogContent";
|
|
4
4
|
import { DialogHeader as u, DialogFooter as A } from "@mxenabled/mxui";
|
|
5
|
-
const
|
|
6
|
-
className:
|
|
5
|
+
const H = ({
|
|
6
|
+
className: l,
|
|
7
7
|
copy: o,
|
|
8
8
|
disablePrimaryButton: t = !1,
|
|
9
9
|
isOpen: n = !1,
|
|
@@ -11,7 +11,7 @@ const $ = ({
|
|
|
11
11
|
onPrimaryAction: c,
|
|
12
12
|
primaryColor: s = "primary",
|
|
13
13
|
primaryText: m = "Confirm",
|
|
14
|
-
onSecondaryAction:
|
|
14
|
+
onSecondaryAction: e,
|
|
15
15
|
secondaryColor: d = "primary",
|
|
16
16
|
secondaryText: p = "Cancel",
|
|
17
17
|
children: g,
|
|
@@ -20,9 +20,9 @@ const $ = ({
|
|
|
20
20
|
const i = o?.title ?? "", D = o?.close_aria ?? "Close", b = () => {
|
|
21
21
|
c?.(), a();
|
|
22
22
|
}, h = () => {
|
|
23
|
-
|
|
23
|
+
e && e(), a();
|
|
24
24
|
};
|
|
25
|
-
return /* @__PURE__ */ r("div", { className: `mx-cmn-dialog ${
|
|
25
|
+
return /* @__PURE__ */ r("div", { className: `mx-cmn-dialog ${l}`, children: /* @__PURE__ */ y(
|
|
26
26
|
x,
|
|
27
27
|
{
|
|
28
28
|
PaperProps: {
|
|
@@ -57,7 +57,7 @@ const $ = ({
|
|
|
57
57
|
]
|
|
58
58
|
}
|
|
59
59
|
) });
|
|
60
|
-
}
|
|
60
|
+
};
|
|
61
61
|
export {
|
|
62
62
|
H as D
|
|
63
63
|
};
|
|
@@ -3,12 +3,12 @@ import A from "react";
|
|
|
3
3
|
import { selectAll as b, interpolateString as x, arc as I } from "d3";
|
|
4
4
|
import u from "@mui/material/Box";
|
|
5
5
|
import { useTheme as S, darken as m, lighten as E } from "@mui/material/styles";
|
|
6
|
-
const _ = 100, v = 140, B = 10,
|
|
6
|
+
const _ = 100, v = 140, B = 10, K = ({
|
|
7
7
|
data: h,
|
|
8
8
|
hoveredId: p,
|
|
9
9
|
onClick: a,
|
|
10
|
-
onMouseEnter:
|
|
11
|
-
onMouseLeave:
|
|
10
|
+
onMouseEnter: l,
|
|
11
|
+
onMouseLeave: s,
|
|
12
12
|
selectedId: i,
|
|
13
13
|
size: t = 300,
|
|
14
14
|
children: f
|
|
@@ -18,9 +18,9 @@ const _ = 100, v = 140, B = 10, N = ({
|
|
|
18
18
|
const g = (o, n) => {
|
|
19
19
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), a?.(n));
|
|
20
20
|
}, y = (o) => {
|
|
21
|
-
s?.(o);
|
|
22
|
-
}, D = (o) => {
|
|
23
21
|
l?.(o);
|
|
22
|
+
}, k = (o) => {
|
|
23
|
+
s?.(o);
|
|
24
24
|
};
|
|
25
25
|
return A.useEffect(() => {
|
|
26
26
|
b(".arc-outer").transition("roll").duration(500).attrTween("transform", () => x("rotate(0)", "rotate(360)"));
|
|
@@ -45,11 +45,11 @@ const _ = 100, v = 140, B = 10, N = ({
|
|
|
45
45
|
/* @__PURE__ */ e("g", { children: h.map((o) => {
|
|
46
46
|
const n = r;
|
|
47
47
|
r = r + 2 * Math.PI * (o.value / 100);
|
|
48
|
-
const
|
|
48
|
+
const w = r, D = I().cornerRadius(4)({
|
|
49
49
|
innerRadius: _,
|
|
50
50
|
outerRadius: v + (o.id === i || o.id === p ? B : 0),
|
|
51
51
|
startAngle: n,
|
|
52
|
-
endAngle:
|
|
52
|
+
endAngle: w,
|
|
53
53
|
padAngle: 0.025
|
|
54
54
|
});
|
|
55
55
|
return /* @__PURE__ */ e(
|
|
@@ -58,14 +58,14 @@ const _ = 100, v = 140, B = 10, N = ({
|
|
|
58
58
|
"aria-label": o.label || `Segment ${o.id}`,
|
|
59
59
|
"aria-pressed": o.id === i,
|
|
60
60
|
className: "arc-outer",
|
|
61
|
-
d:
|
|
61
|
+
d: D,
|
|
62
62
|
fill: o.color,
|
|
63
|
-
onBlur: () =>
|
|
63
|
+
onBlur: () => k(o.id),
|
|
64
64
|
onClick: () => a?.(o.id),
|
|
65
65
|
onFocus: () => y(o.id),
|
|
66
66
|
onKeyDown: (R) => g(R, o.id),
|
|
67
|
-
onMouseEnter: () =>
|
|
68
|
-
onMouseLeave: () =>
|
|
67
|
+
onMouseEnter: () => l?.(o.id),
|
|
68
|
+
onMouseLeave: () => s?.(o.id),
|
|
69
69
|
role: "button",
|
|
70
70
|
stroke: c.palette.mode === "light" ? m(o.color, 0.3) : E(o.color, 0.3),
|
|
71
71
|
strokeWidth: 2,
|
|
@@ -82,7 +82,7 @@ const _ = 100, v = 140, B = 10, N = ({
|
|
|
82
82
|
}
|
|
83
83
|
)
|
|
84
84
|
] });
|
|
85
|
-
}
|
|
85
|
+
};
|
|
86
86
|
export {
|
|
87
87
|
K as D
|
|
88
88
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsxs as u, jsx as r } from "react/jsx-runtime";
|
|
2
2
|
import s from "@mui/material/Box";
|
|
3
3
|
import h from "@mui/material/Stack";
|
|
4
|
-
import { H2 as
|
|
4
|
+
import { H2 as D, Drawer as v } from "@mxenabled/mxui";
|
|
5
5
|
import b from "@mui/material/Button";
|
|
6
6
|
import B from "@mui/material/IconButton";
|
|
7
|
-
import { ArrowBack as
|
|
8
|
-
const
|
|
7
|
+
import { ArrowBack as j } from "@mxenabled/mx-icons";
|
|
8
|
+
const $ = ({
|
|
9
9
|
footerStyles: a = {},
|
|
10
10
|
hasSecondaryAction: t = !0,
|
|
11
11
|
isPrimaryDisabled: i,
|
|
@@ -74,7 +74,7 @@ const j = ({
|
|
|
74
74
|
padding: "8px 8px 8px 8px"
|
|
75
75
|
},
|
|
76
76
|
children: [
|
|
77
|
-
/* @__PURE__ */ r(B, { "aria-label": a, color: "primary", onClick: t, children: /* @__PURE__ */ r(
|
|
77
|
+
/* @__PURE__ */ r(B, { "aria-label": a, color: "primary", onClick: t, children: /* @__PURE__ */ r(j, { color: "primary", sx: { fontSize: 22 } }) }),
|
|
78
78
|
/* @__PURE__ */ r(
|
|
79
79
|
s,
|
|
80
80
|
{
|
|
@@ -84,7 +84,7 @@ const j = ({
|
|
|
84
84
|
textAlign: "center"
|
|
85
85
|
},
|
|
86
86
|
children: /* @__PURE__ */ r(
|
|
87
|
-
|
|
87
|
+
D,
|
|
88
88
|
{
|
|
89
89
|
bold: !0,
|
|
90
90
|
id: `${e?.replace(/\s+/g, "-").toLowerCase()}-header-title`,
|
|
@@ -97,7 +97,7 @@ const j = ({
|
|
|
97
97
|
/* @__PURE__ */ r(s, { width: "44px" })
|
|
98
98
|
]
|
|
99
99
|
}
|
|
100
|
-
),
|
|
100
|
+
), R = ({
|
|
101
101
|
ariaLabelClose: a = "Close",
|
|
102
102
|
children: t,
|
|
103
103
|
footerStyles: i = {},
|
|
@@ -116,7 +116,7 @@ const j = ({
|
|
|
116
116
|
shouldShowHeaderBorders: C = !0,
|
|
117
117
|
shouldShowHeaderShadow: y = !1,
|
|
118
118
|
title: x,
|
|
119
|
-
...
|
|
119
|
+
...S
|
|
120
120
|
}) => /* @__PURE__ */ r(
|
|
121
121
|
v,
|
|
122
122
|
{
|
|
@@ -140,7 +140,7 @@ const j = ({
|
|
|
140
140
|
backgroundColor: "background.paper"
|
|
141
141
|
}
|
|
142
142
|
},
|
|
143
|
-
...
|
|
143
|
+
...S,
|
|
144
144
|
children: /* @__PURE__ */ u(h, { height: "100%", justifyContent: "space-between", children: [
|
|
145
145
|
/* @__PURE__ */ r(
|
|
146
146
|
L,
|
|
@@ -154,7 +154,7 @@ const j = ({
|
|
|
154
154
|
),
|
|
155
155
|
/* @__PURE__ */ r(s, { height: "100%", overflow: "auto", children: t }),
|
|
156
156
|
l && /* @__PURE__ */ r(
|
|
157
|
-
|
|
157
|
+
$,
|
|
158
158
|
{
|
|
159
159
|
footerStyles: i,
|
|
160
160
|
hasSecondaryAction: o,
|
|
@@ -170,7 +170,7 @@ const j = ({
|
|
|
170
170
|
)
|
|
171
171
|
] })
|
|
172
172
|
}
|
|
173
|
-
)
|
|
173
|
+
);
|
|
174
174
|
export {
|
|
175
|
-
|
|
175
|
+
R as D
|
|
176
176
|
};
|