@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.sms2
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-B4CDD-zq.mjs → Account-Cp30A3ad.mjs} +1 -1
- package/dist/AccountDetailsContent-C1HumFnW.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-NMx79DGs.mjs} +17 -17
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-CW6cIthP.mjs} +8 -8
- package/dist/AccountListItem-DxmAs98Z.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-hIs-yA6W.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DUHkUyK4.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-CIDAPPPT.mjs} +30 -30
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-naOtJcwo.mjs} +22 -15
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqDAA_5I.mjs} +26 -26
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-Dn1MlqLz.mjs} +60 -61
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-CSo6AFkG.mjs} +2 -2
- package/dist/CurrencyInput-BrGvhgVK.mjs +85 -0
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-hi1cqrRk.mjs} +3 -3
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-Dqe5EqvA.mjs} +6 -6
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-CQ1grpwo.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-dKZOZ2hM.mjs} +3 -3
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-CFeAJloA.mjs} +3 -3
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-i4OasOO-.mjs} +176 -158
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/Loader-BSWSYqvn.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-D_qVX5dN.mjs} +44 -44
- package/dist/{MiniWidgetContainer-CKzf_Ira.mjs → MiniWidgetContainer-D7MkHG15.mjs} +12 -12
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-8FFC1Bs0.mjs} +2 -2
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-BsWiYD94.mjs} +67 -67
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-62e0mU_3.mjs} +7 -7
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-RfZ8Wuhh.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-Bhx56aA3.mjs} +76 -76
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-D3EOKZ2B.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-C6KH8JH4.mjs} +1 -1
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +1 -1
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CZzDb-7d.mjs} +10 -10
- package/dist/TransactionDetails-Duv1X9ec.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-DgLrYW4C.mjs} +3 -3
- package/dist/{User-BklmOUSd.mjs → User-DqNX2GAK.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-CH9E-jOx.mjs} +178 -177
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-B1Jzb4XA.mjs} +6 -6
- package/dist/accounts/index.es.js +45 -45
- package/dist/analytics/index.es.js +22 -22
- package/dist/budgets/index.es.js +266 -265
- package/dist/cashflow/index.es.js +155 -154
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +659 -394
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +438 -438
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-BFpuIAXW.mjs} +1 -1
- package/dist/finstrong/index.es.js +113 -113
- package/dist/goals/index.es.js +379 -385
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +3 -3
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +16 -16
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +29 -29
- package/dist/recurringtransactions/index.es.js +82 -82
- package/dist/settings/index.es.js +254 -254
- package/dist/spending/index.es.js +43 -43
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +150 -149
- package/dist/trends/index.es.js +297 -296
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-usSZCQ7I.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +30 -30
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -2,7 +2,7 @@ import { jsx as g } from "react/jsx-runtime";
|
|
|
2
2
|
import x from "@mui/material/Box";
|
|
3
3
|
import P from "@mui/material/FormControlLabel";
|
|
4
4
|
import H from "@mui/material/Radio";
|
|
5
|
-
import
|
|
5
|
+
import K from "@mui/material/styles/useTheme";
|
|
6
6
|
import U from "@mui/material/Tooltip";
|
|
7
7
|
import { makeAutoObservable as p } from "mobx";
|
|
8
8
|
import { endOfToday as f } from "date-fns/endOfToday";
|
|
@@ -12,10 +12,10 @@ import { isBefore as v } from "date-fns/isBefore";
|
|
|
12
12
|
import { startOfMonth as h } from "date-fns/startOfMonth";
|
|
13
13
|
import { startOfToday as m } from "date-fns/startOfToday";
|
|
14
14
|
import { subDays as B } from "date-fns/subDays";
|
|
15
|
-
import { O as o, a as y, T as b } from "./User-
|
|
15
|
+
import { O as o, a as y, T as b } from "./User-DqNX2GAK.mjs";
|
|
16
16
|
import { T as u } from "./TransactionApi-CjBoLleL.mjs";
|
|
17
17
|
import { b as Y } from "./Category-Ccoew_sA.mjs";
|
|
18
|
-
import { f as F } from "./exportTransactionsToCSV-
|
|
18
|
+
import { f as F } from "./exportTransactionsToCSV-BFpuIAXW.mjs";
|
|
19
19
|
import { format as W } from "date-fns/format";
|
|
20
20
|
import { fromUnixTime as $ } from "date-fns/fromUnixTime";
|
|
21
21
|
import { f as I, a as C, O as k } from "./Dialog-CDV0kKxj.mjs";
|
|
@@ -1,44 +1,44 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as h, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import A from "react";
|
|
3
|
-
import { css as
|
|
3
|
+
import { css as p } from "@mxenabled/cssinjs";
|
|
4
4
|
import { addDays as b } from "date-fns/addDays";
|
|
5
|
-
import { addMonths as
|
|
6
|
-
import { eachDayOfInterval as
|
|
7
|
-
import { eachWeekOfInterval as
|
|
8
|
-
import { endOfMonth as
|
|
9
|
-
import { format as
|
|
10
|
-
import { isBefore as
|
|
11
|
-
import { isSameMonth as
|
|
12
|
-
import { startOfMonth as
|
|
5
|
+
import { addMonths as B } from "date-fns/addMonths";
|
|
6
|
+
import { eachDayOfInterval as P } from "date-fns/eachDayOfInterval";
|
|
7
|
+
import { eachWeekOfInterval as $ } from "date-fns/eachWeekOfInterval";
|
|
8
|
+
import { endOfMonth as U } from "date-fns/endOfMonth";
|
|
9
|
+
import { format as y } from "date-fns/format";
|
|
10
|
+
import { isBefore as j } from "date-fns/isBefore";
|
|
11
|
+
import { isSameMonth as W } from "date-fns/isSameMonth";
|
|
12
|
+
import { startOfMonth as V } from "date-fns/startOfMonth";
|
|
13
13
|
import { startOfToday as f } from "date-fns/startOfToday";
|
|
14
|
-
import { subMonths as
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import { H2 as
|
|
18
|
-
import { ChevronLeft as
|
|
19
|
-
import { f as
|
|
14
|
+
import { subMonths as F } from "date-fns/subMonths";
|
|
15
|
+
import E from "@mui/material/Button";
|
|
16
|
+
import Y from "@mui/material/Paper";
|
|
17
|
+
import { useTokens as v, H2 as z, Text as G } from "@mxenabled/mxui";
|
|
18
|
+
import { ChevronLeft as X, ChevronRight as Z } from "@mxenabled/mx-icons";
|
|
19
|
+
import { f as q, a as J } from "./Dialog-CDV0kKxj.mjs";
|
|
20
20
|
import { isSameDay as T } from "date-fns/isSameDay";
|
|
21
|
-
import { isWithinInterval as
|
|
22
|
-
import
|
|
23
|
-
import
|
|
24
|
-
import
|
|
25
|
-
import { g as
|
|
26
|
-
var
|
|
27
|
-
const
|
|
28
|
-
const
|
|
29
|
-
return /* @__PURE__ */
|
|
30
|
-
/* @__PURE__ */ e(
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */ e(
|
|
33
|
-
/* @__PURE__ */ e(
|
|
21
|
+
import { isWithinInterval as Q } from "date-fns/isWithinInterval";
|
|
22
|
+
import nn from "@mui/material/styles/useTheme";
|
|
23
|
+
import k from "@mui/material/ListItem";
|
|
24
|
+
import an from "@mui/material/ListItemButton";
|
|
25
|
+
import { g as tn } from "./hooks-C41HAxM5.mjs";
|
|
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
|
+
const rn = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
28
|
+
const c = v(), l = cn(c);
|
|
29
|
+
return /* @__PURE__ */ h("div", { className: `mx-cmn-calendar-header ${l}`, children: [
|
|
30
|
+
/* @__PURE__ */ e(z, { className: "mx-cmn-calendar-header-title", variant: "H3", children: q(a, J.MONTH_YEAR) }),
|
|
31
|
+
/* @__PURE__ */ h("div", { className: "mx-cmn-calendar-header-button-container", children: [
|
|
32
|
+
/* @__PURE__ */ e(E, { "aria-label": n.prevAria, onClick: r, children: /* @__PURE__ */ e(X, { size: 24 }) }),
|
|
33
|
+
/* @__PURE__ */ e(E, { "aria-label": n.nextAria, onClick: o, children: /* @__PURE__ */ e(Z, { size: 24 }) })
|
|
34
34
|
] })
|
|
35
35
|
] });
|
|
36
|
-
},
|
|
36
|
+
}, cn = (n) => p({
|
|
37
37
|
alignItems: "center",
|
|
38
38
|
display: "flex",
|
|
39
|
-
marginBottom:
|
|
40
|
-
marginRight: -
|
|
41
|
-
paddingLeft:
|
|
39
|
+
marginBottom: n.Spacing.Medium,
|
|
40
|
+
marginRight: -n.Spacing.Medium,
|
|
41
|
+
paddingLeft: n.Spacing.XSmall,
|
|
42
42
|
"& .mx-cmn-calendar-header-title": {
|
|
43
43
|
flexGrow: 1
|
|
44
44
|
},
|
|
@@ -46,44 +46,44 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
|
46
46
|
display: "flex",
|
|
47
47
|
gap: 4
|
|
48
48
|
}
|
|
49
|
-
}),
|
|
50
|
-
const
|
|
49
|
+
}), sn = ({ beginDate: n, date: a, endDate: o, isInMonth: r, onClick: c }) => {
|
|
50
|
+
const l = nn(), S = Tn(l), g = n && o && Q(a, { start: n, end: o }) && !T(a, n) && !T(a, o), s = n && o && T(n, a) && !T(n, o), N = o && n && T(o, a) && !T(n, o), i = n && T(n, a) || o && T(o, a), C = T(a, f());
|
|
51
51
|
return /* @__PURE__ */ e(
|
|
52
52
|
"div",
|
|
53
53
|
{
|
|
54
54
|
className: `
|
|
55
55
|
mx-cmn-calendar-day
|
|
56
|
-
${
|
|
56
|
+
${S}
|
|
57
57
|
${r ? "" : "mx-cmn-out-of-month"}
|
|
58
|
-
${
|
|
58
|
+
${g ? "mx-cmn-date-interval" : ""}
|
|
59
59
|
`,
|
|
60
60
|
children: /* @__PURE__ */ e(
|
|
61
|
-
|
|
61
|
+
E,
|
|
62
62
|
{
|
|
63
63
|
className: `
|
|
64
64
|
mx-cmn-calendar-day-button
|
|
65
|
-
${
|
|
66
|
-
${
|
|
65
|
+
${s ? "mx-cmn-range-start" : ""}
|
|
66
|
+
${N ? "mx-cmn-range-end" : ""}
|
|
67
67
|
`,
|
|
68
|
-
color:
|
|
69
|
-
onClick: () =>
|
|
70
|
-
variant:
|
|
68
|
+
color: i ? "primary" : "secondary",
|
|
69
|
+
onClick: () => c(a),
|
|
70
|
+
variant: i ? "contained" : "text",
|
|
71
71
|
children: /* @__PURE__ */ e(
|
|
72
|
-
|
|
72
|
+
G,
|
|
73
73
|
{
|
|
74
74
|
className: `
|
|
75
75
|
mx-cmn-calendar-day-text
|
|
76
|
-
${
|
|
77
|
-
${
|
|
78
|
-
variant: "
|
|
79
|
-
children:
|
|
76
|
+
${i ? "mx-cmn-day-selected" : ""}
|
|
77
|
+
${C ? "mx-cmn-today" : ""}`,
|
|
78
|
+
variant: "Small",
|
|
79
|
+
children: y(a, "d")
|
|
80
80
|
}
|
|
81
81
|
)
|
|
82
82
|
}
|
|
83
83
|
)
|
|
84
84
|
}
|
|
85
85
|
);
|
|
86
|
-
},
|
|
86
|
+
}, Tn = (n) => p({
|
|
87
87
|
height: I,
|
|
88
88
|
width: I,
|
|
89
89
|
display: "flex",
|
|
@@ -128,72 +128,72 @@ const on = ({ copy: n, date: a, onNextClick: o, onPreviousClick: r }) => {
|
|
|
128
128
|
paddingBottom: 5
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
}),
|
|
132
|
-
var
|
|
131
|
+
}), ln = 340, I = 44;
|
|
132
|
+
var Cn = /* @__PURE__ */ ((n) => (n.None = "None", n.Single = "Single", n.Range = "Range", n))(Cn || {});
|
|
133
133
|
const bn = ({
|
|
134
134
|
copy: n,
|
|
135
135
|
beginDate: a = void 0,
|
|
136
136
|
endDate: o = void 0,
|
|
137
137
|
onDateSelected: r,
|
|
138
|
-
onRangeSelected:
|
|
139
|
-
selectionType:
|
|
138
|
+
onRangeSelected: c,
|
|
139
|
+
selectionType: l = "Single"
|
|
140
140
|
/* Single */
|
|
141
141
|
}) => {
|
|
142
|
-
const
|
|
142
|
+
const S = v(), g = Nn(S), [s, N] = A.useState(f), [i, C] = A.useState(a), [R, d] = A.useState(o);
|
|
143
143
|
A.useEffect(() => {
|
|
144
|
-
|
|
144
|
+
C(a), d(o), a && N(a);
|
|
145
145
|
}, [a, o]);
|
|
146
|
-
const
|
|
147
|
-
const t =
|
|
148
|
-
for (let
|
|
149
|
-
const
|
|
150
|
-
for (let
|
|
151
|
-
x.push(
|
|
152
|
-
|
|
146
|
+
const D = A.useMemo(() => {
|
|
147
|
+
const t = $({ start: V(s), end: U(s) }), m = [];
|
|
148
|
+
for (let _ = 0; _ < t.length; _++) {
|
|
149
|
+
const O = t[_], u = P({ start: O, end: b(O, 6) }), x = [];
|
|
150
|
+
for (let L = 0; L < u.length; L++)
|
|
151
|
+
x.push(u[L]);
|
|
152
|
+
m.push(x);
|
|
153
153
|
}
|
|
154
|
-
return
|
|
155
|
-
}, [
|
|
156
|
-
if (
|
|
157
|
-
if (
|
|
158
|
-
|
|
154
|
+
return m;
|
|
155
|
+
}, [s]), K = (t) => {
|
|
156
|
+
if (l !== "None") {
|
|
157
|
+
if (l === "Single") {
|
|
158
|
+
C(t), r?.(t);
|
|
159
159
|
return;
|
|
160
160
|
}
|
|
161
|
-
!
|
|
161
|
+
!i || R ? (C(t), d(void 0)) : j(t, i) ? (d(i), C(t), c?.(t, i)) : (d(t), c?.(i, t));
|
|
162
162
|
}
|
|
163
|
-
}, G = () => {
|
|
164
|
-
const t = f();
|
|
165
|
-
N(t), C !== "None" && (s(t), C === "Single" ? r?.(t) : (m(t), i?.(t, t)));
|
|
166
|
-
}, K = () => {
|
|
167
|
-
N(w(c, 1));
|
|
168
163
|
}, M = () => {
|
|
169
|
-
|
|
164
|
+
const t = f();
|
|
165
|
+
N(t), l !== "None" && (C(t), l === "Single" ? r?.(t) : (d(t), c?.(t, t)));
|
|
166
|
+
}, w = () => {
|
|
167
|
+
N(B(s, 1));
|
|
168
|
+
}, H = () => {
|
|
169
|
+
N(F(s, 1));
|
|
170
170
|
};
|
|
171
|
-
return /* @__PURE__ */ e("div", { className: `mx-cmn-calendar ${
|
|
171
|
+
return /* @__PURE__ */ e("div", { className: `mx-cmn-calendar ${g}`, children: /* @__PURE__ */ h(Y, { sx: { boxShadow: "none" }, children: [
|
|
172
172
|
/* @__PURE__ */ e(
|
|
173
|
-
|
|
173
|
+
rn,
|
|
174
174
|
{
|
|
175
175
|
copy: n,
|
|
176
|
-
date:
|
|
177
|
-
onNextClick:
|
|
178
|
-
onPreviousClick:
|
|
176
|
+
date: s,
|
|
177
|
+
onNextClick: w,
|
|
178
|
+
onPreviousClick: H
|
|
179
179
|
}
|
|
180
180
|
),
|
|
181
|
-
/* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-row", children:
|
|
182
|
-
|
|
183
|
-
|
|
181
|
+
/* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-row", children: D[0].map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ e(G, { bold: !0, variant: "Small", children: y(t, "EEEEE") }) }, m)) }),
|
|
182
|
+
D.map((t, m) => /* @__PURE__ */ e("div", { className: "mx-cmn-calendar-week", children: t.map((_, O) => /* @__PURE__ */ e(
|
|
183
|
+
sn,
|
|
184
184
|
{
|
|
185
|
-
beginDate:
|
|
186
|
-
date:
|
|
187
|
-
endDate:
|
|
188
|
-
isInMonth:
|
|
189
|
-
onClick:
|
|
185
|
+
beginDate: i,
|
|
186
|
+
date: _,
|
|
187
|
+
endDate: R,
|
|
188
|
+
isInMonth: W(_, s),
|
|
189
|
+
onClick: K
|
|
190
190
|
},
|
|
191
|
-
|
|
192
|
-
)) }, `w-${
|
|
193
|
-
/* @__PURE__ */ e("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ e(
|
|
191
|
+
O
|
|
192
|
+
)) }, `w-${m}`)),
|
|
193
|
+
/* @__PURE__ */ e("div", { className: "mx-cmn-calendar-today-container", children: /* @__PURE__ */ e(E, { onClick: M, size: "small", variant: "text", children: n.today }) })
|
|
194
194
|
] }) });
|
|
195
|
-
},
|
|
196
|
-
width:
|
|
195
|
+
}, Nn = (n) => p({
|
|
196
|
+
width: ln,
|
|
197
197
|
"& .MuiPaper-root": {
|
|
198
198
|
paddingLeft: 24,
|
|
199
199
|
paddingRight: 24,
|
|
@@ -224,7 +224,7 @@ const bn = ({
|
|
|
224
224
|
},
|
|
225
225
|
"& .mx-cmn-calendar-today-container": {
|
|
226
226
|
display: "block",
|
|
227
|
-
marginTop:
|
|
227
|
+
marginTop: n.Spacing.Medium,
|
|
228
228
|
textAlign: "center",
|
|
229
229
|
width: "100%",
|
|
230
230
|
"& > .MuiButton-root": {
|
|
@@ -233,23 +233,23 @@ const bn = ({
|
|
|
233
233
|
marginRight: "auto"
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
}),
|
|
236
|
+
}), Bn = ({
|
|
237
237
|
children: n,
|
|
238
238
|
clickEventName: a,
|
|
239
239
|
onClick: o,
|
|
240
240
|
sx: r = {}
|
|
241
241
|
}) => {
|
|
242
|
-
const { onEvent:
|
|
243
|
-
return o ? /* @__PURE__ */ e(
|
|
244
|
-
|
|
242
|
+
const { onEvent: c } = tn();
|
|
243
|
+
return o ? /* @__PURE__ */ e(k, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ e(
|
|
244
|
+
an,
|
|
245
245
|
{
|
|
246
246
|
onClick: () => {
|
|
247
|
-
a &&
|
|
247
|
+
a && c(a), o();
|
|
248
248
|
},
|
|
249
249
|
children: n
|
|
250
250
|
}
|
|
251
251
|
) }) : /* @__PURE__ */ e(
|
|
252
|
-
|
|
252
|
+
k,
|
|
253
253
|
{
|
|
254
254
|
disableGutters: !1,
|
|
255
255
|
disablePadding: !1,
|
|
@@ -257,7 +257,7 @@ const bn = ({
|
|
|
257
257
|
children: n
|
|
258
258
|
}
|
|
259
259
|
);
|
|
260
|
-
},
|
|
260
|
+
}, Pn = {
|
|
261
261
|
ON_TRANSACTION_CATEGORY_CLICK: "onTransactionCategoryClick",
|
|
262
262
|
ON_TRANSACTION_CATEGORY_CHANGED: "onTransactionCategoryChanged",
|
|
263
263
|
ON_TRANSACTION_MANUAL_ADD_CLICK: "onTransactionManualAddClick",
|
|
@@ -301,13 +301,13 @@ const bn = ({
|
|
|
301
301
|
ON_TRANSACTION_UNHIDE_CANCEL_CLICK: "onTransactionUnHideCancelClick",
|
|
302
302
|
ON_TRANSACTION_UNSPLIT: "onTransactionUnsplit",
|
|
303
303
|
ON_TRANSACTION_UNSPLIT_CANCEL: "onTransactionUnsplitCancel"
|
|
304
|
-
},
|
|
304
|
+
}, $n = (n, a) => !!n.find((o) => o.feature_name === a)?.is_enabled;
|
|
305
305
|
export {
|
|
306
306
|
bn as C,
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
307
|
+
Bn as L,
|
|
308
|
+
Pn as O,
|
|
309
|
+
on as T,
|
|
310
|
+
en as a,
|
|
311
|
+
Cn as b,
|
|
312
|
+
$n as i
|
|
313
313
|
};
|