@mx-cartographer/experiences 7.13.21 → 7.13.22-alpha.al0
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/{AccountDetailsHeader-D9gbTbUt.mjs → AccountDetailsHeader-CG9VtEpj.mjs} +2 -2
- package/dist/{AccountListItem-D9WJDbZ1.mjs → AccountListItem-BDFCEhSI.mjs} +2 -2
- package/dist/{AccountStore-DpYvNnql.mjs → AccountStore-Bn1eH2EU.mjs} +1 -1
- package/dist/{BudgetUtil-CLhRnCoX.mjs → BudgetUtil-BCSxP3M3.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-tvJUjmwZ.mjs} +1 -1
- package/dist/{Connect-eYIWqCEr.mjs → Connect-CmjOgy5v.mjs} +1 -1
- package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-Be0RkL7I.mjs} +2 -2
- package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-yeD_PsY1.mjs} +2 -2
- package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-xu9UcYZR.mjs} +1 -1
- package/dist/DateRangeSelector-DE4UR77m.mjs +275 -0
- package/dist/{ExportCsvAction-izkIdXj5.mjs → ExportCsvAction-CLUDN8jI.mjs} +3 -3
- package/dist/{GlobalAccountFilter-B73Pw1hJ.mjs → GlobalAccountFilter-BkUeAltd.mjs} +90 -96
- package/dist/{GoalStore-DB58sKTC.mjs → GoalStore-DMhiGiF4.mjs} +1 -1
- package/dist/{Help-D-laTbKu.mjs → Help-pcoNjCaF.mjs} +1 -1
- package/dist/{LineChart-EAr5ox5U.mjs → LineChart-DIjY-HBq.mjs} +1 -1
- package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-BQIdxB-9.mjs} +1 -1
- package/dist/{ManageIncome-B1j-AzI1.mjs → ManageIncome-DWVaWpCT.mjs} +4 -4
- package/dist/{MicroWidgetContainer-B_EnfvCq.mjs → MicroWidgetContainer-CTMkXRJM.mjs} +1 -1
- package/dist/{MiniWidgetContainer-Bhkv-hpz.mjs → MiniWidgetContainer-BKPN3c-6.mjs} +1 -1
- package/dist/{NotificationSettings-C77J42Ue.mjs → NotificationSettings-O3iUw7-O.mjs} +32 -32
- package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-2lCGZTRv.mjs} +3 -3
- package/dist/{RecurringSettings-Dyj3i0ZJ.mjs → RecurringSettings-DNko1CD0.mjs} +2 -2
- package/dist/{SpendingLegend-BgjazduU.mjs → SpendingLegend-CGYqNtOp.mjs} +1 -1
- package/dist/{StatusIndicator-CIKUOoN_.mjs → StatusIndicator-CnDblSmc.mjs} +2 -2
- package/dist/{Transaction-CqjlF6SO.mjs → Transaction-Bd0myZzA.mjs} +1 -1
- package/dist/{TransactionDetails-CwqokbQo.mjs → TransactionDetails-DAB5arBD.mjs} +6 -6
- package/dist/{TransactionStore-rpqhGX8m.mjs → TransactionStore-hzVucfUK.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-D24H9kDm.mjs → ViewMoreMicroCard-BWCe3UeO.mjs} +1 -1
- package/dist/WidgetContainer-BPeSl0Dj.mjs +180 -0
- package/dist/WidgetContainerV2-BjOelON7.mjs +127 -0
- package/dist/accounts/index.es.js +218 -219
- package/dist/analytics/index.es.js +8 -8
- package/dist/budgets/index.es.js +408 -409
- package/dist/cashflow/index.es.js +227 -228
- package/dist/categories/index.es.js +1 -1
- package/dist/common/components/GlobalAccountFilter.d.ts +1 -1
- package/dist/common/components/WidgetContainer.d.ts +3 -2
- package/dist/common/components/WidgetContainerV2.d.ts +4 -0
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +167 -164
- package/dist/dashboard/index.es.js +5 -5
- package/dist/debts/index.es.js +585 -586
- package/dist/{exportTransactionsToCSV-CdTF_RqL.mjs → exportTransactionsToCSV-CamFllci.mjs} +1 -1
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- package/dist/finstrong/index.es.js +641 -652
- package/dist/goals/GoalsWidget.d.ts +1 -1
- package/dist/goals/index.es.js +498 -499
- package/dist/help/index.es.js +8 -8
- package/dist/{hooks-BxkfR-Ff.mjs → hooks-DOWEalfb.mjs} +2 -2
- package/dist/insights/index.es.js +3 -3
- package/dist/investments/InvestmentsWidget.d.ts +1 -1
- package/dist/investments/index.es.js +448 -449
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +182 -196
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
- package/dist/recurringtransactions/index.es.js +240 -242
- package/dist/settings/index.es.js +7 -7
- package/dist/spending/index.es.js +8 -8
- package/dist/transactions/index.es.js +246 -248
- package/dist/trends/index.es.js +12 -12
- package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-DQc7zGqk.mjs} +1 -1
- package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DojdZhOg.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-DmYEMfRw.mjs} +1 -1
- package/package.json +1 -1
- package/dist/WidgetContainer-B7xDq2bM.mjs +0 -441
|
@@ -1,66 +1,66 @@
|
|
|
1
|
-
import { T as
|
|
2
|
-
import { C as
|
|
3
|
-
import { B as
|
|
4
|
-
import { T as E } from "../Transaction-
|
|
5
|
-
import { O as
|
|
6
|
-
import { S as Z, D as
|
|
7
|
-
import { T as
|
|
8
|
-
import { u as R, T as
|
|
9
|
-
import { a as
|
|
10
|
-
import { e as Ve } from "../exportTransactionsToCSV-
|
|
11
|
-
import { E as
|
|
1
|
+
import { T as xa } from "../TransactionApi-Ck5Ua-7F.mjs";
|
|
2
|
+
import { C as Oe, D as Me, M as Le, a as Re, T as He } from "../TransactionDetails-DAB5arBD.mjs";
|
|
3
|
+
import { B as Sa, b as Da } from "../TransactionDetails-DAB5arBD.mjs";
|
|
4
|
+
import { T as E } from "../Transaction-Bd0myZzA.mjs";
|
|
5
|
+
import { O as va } from "../Transaction-Bd0myZzA.mjs";
|
|
6
|
+
import { S as Z, D as Be } from "../TransactionStore-hzVucfUK.mjs";
|
|
7
|
+
import { T as Ea } from "../TransactionStore-hzVucfUK.mjs";
|
|
8
|
+
import { u as R, T as Pe } from "../StatusIndicator-CnDblSmc.mjs";
|
|
9
|
+
import { a as Oa } from "../StatusIndicator-CnDblSmc.mjs";
|
|
10
|
+
import { e as Ve } from "../exportTransactionsToCSV-CamFllci.mjs";
|
|
11
|
+
import { E as La } from "../ExportCsvAction-CLUDN8jI.mjs";
|
|
12
12
|
import { jsxs as _, jsx as e } from "react/jsx-runtime";
|
|
13
13
|
import m from "react";
|
|
14
|
-
import { observer as
|
|
15
|
-
import
|
|
16
|
-
import { DataGridPro as
|
|
17
|
-
import { h as H, u as
|
|
18
|
-
import
|
|
19
|
-
import { useTheme as
|
|
20
|
-
import { Text as C, Icon as L, MerchantLogo as
|
|
21
|
-
import { fromUnixTime as
|
|
22
|
-
import { f as
|
|
23
|
-
import
|
|
14
|
+
import { observer as D } from "mobx-react-lite";
|
|
15
|
+
import $e from "@mui/material/Paper";
|
|
16
|
+
import { DataGridPro as We } from "@mui/x-data-grid-pro";
|
|
17
|
+
import { h as H, u as I, b as K, d as oe, l as Ge, a as Fe, f as Ue, o as Ke } from "../hooks-DOWEalfb.mjs";
|
|
18
|
+
import w from "@mui/material/Box";
|
|
19
|
+
import { useTheme as ze } from "@mui/material/styles";
|
|
20
|
+
import { Text as C, Icon as L, MerchantLogo as qe, TextField as ee, P as je } from "@mxenabled/mxui";
|
|
21
|
+
import { fromUnixTime as Ye } from "date-fns/fromUnixTime";
|
|
22
|
+
import { f as Xe, D as Je } from "../DateFormats-BMpMrZpW.mjs";
|
|
23
|
+
import S from "@mui/material/Stack";
|
|
24
24
|
import { f as ne } from "../NumberFormatting-QCaNwbjv.mjs";
|
|
25
25
|
import { L as z } from "../Loader-D3rjKx72.mjs";
|
|
26
26
|
import { D as re } from "../Dialog-Ck34yr-d.mjs";
|
|
27
|
-
import { endOfMonth as
|
|
28
|
-
import { getUnixTime as
|
|
29
|
-
import { startOfMonth as
|
|
27
|
+
import { endOfMonth as Qe } from "date-fns/endOfMonth";
|
|
28
|
+
import { getUnixTime as Ze } from "date-fns/getUnixTime";
|
|
29
|
+
import { startOfMonth as et } from "date-fns/startOfMonth";
|
|
30
30
|
import { startOfToday as F } from "date-fns/startOfToday";
|
|
31
|
-
import
|
|
32
|
-
import { C as
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import
|
|
36
|
-
import { ExpandMore as
|
|
37
|
-
import { C as
|
|
38
|
-
import { a as
|
|
31
|
+
import tt from "@mui/material/styles/useTheme";
|
|
32
|
+
import { C as at } from "../ConnectDrawer-Be0RkL7I.mjs";
|
|
33
|
+
import ot from "@mui/material/Divider";
|
|
34
|
+
import nt from "@mui/material/MenuItem";
|
|
35
|
+
import rt from "@mui/material/RadioGroup";
|
|
36
|
+
import { ExpandMore as it } from "@mxenabled/mx-icons";
|
|
37
|
+
import { C as st } from "../CurrencyInput-xu9UcYZR.mjs";
|
|
38
|
+
import { a as ct, u as lt } from "../CategorySelectorDrawer-tvJUjmwZ.mjs";
|
|
39
39
|
import { b as U } from "../Localization-CPkpIwIx.mjs";
|
|
40
|
-
import { u as
|
|
41
|
-
import { S as
|
|
42
|
-
import { u as
|
|
43
|
-
import { u as
|
|
44
|
-
import { W as
|
|
45
|
-
import { A } from "../Analytics-BYItVAe-.mjs";
|
|
46
|
-
import { S as
|
|
40
|
+
import { u as dt } from "../useAriaLive-MkYebyUR.mjs";
|
|
41
|
+
import { S as ut } from "../SkeletonLoader-BaNboJjD.mjs";
|
|
42
|
+
import { u as mt } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
43
|
+
import { u as _t } from "../useWidgetLoadTimer-DmYEMfRw.mjs";
|
|
44
|
+
import { W as pt } from "../WidgetContainerV2-BjOelON7.mjs";
|
|
45
|
+
import { A as x } from "../Analytics-BYItVAe-.mjs";
|
|
46
|
+
import { S as gt } from "../SearchBox-CwDgvWVJ.mjs";
|
|
47
47
|
import { D as te } from "../Drawer-Bbe4AMB1.mjs";
|
|
48
|
-
const
|
|
48
|
+
const ht = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2", children: [
|
|
49
49
|
`${t.row.account}`,
|
|
50
50
|
t.row.number && ` | ${t.row.number}`
|
|
51
|
-
] }),
|
|
52
|
-
const { associatedBeats:
|
|
53
|
-
return /* @__PURE__ */ _(
|
|
51
|
+
] }), ft = (t) => {
|
|
52
|
+
const { associatedBeats: r } = H(), { showInsights: i } = R(), { amount: a, transaction_type: l } = t.row, s = r.find((h) => h.associated_transaction_guid === t.row.guid), c = l === E.CREDIT;
|
|
53
|
+
return /* @__PURE__ */ _(S, { alignItems: "flex-end", tabIndex: t.tabIndex, children: [
|
|
54
54
|
/* @__PURE__ */ _(C, { bold: c, color: c ? "success.main" : "text.primary", variant: "body2", children: [
|
|
55
55
|
c ? "+" : "",
|
|
56
56
|
ne(a, "0,0.00")
|
|
57
57
|
] }),
|
|
58
|
-
s &&
|
|
58
|
+
s && i && /* @__PURE__ */ e(C, { bold: !0, color: "primary.light", variant: "caption", children: s.short_title })
|
|
59
59
|
] });
|
|
60
|
-
},
|
|
61
|
-
const { transactions:
|
|
60
|
+
}, Ct = (t) => {
|
|
61
|
+
const { transactions: r } = I(), [i, a] = m.useState(!1);
|
|
62
62
|
return /* @__PURE__ */ _(
|
|
63
|
-
|
|
63
|
+
S,
|
|
64
64
|
{
|
|
65
65
|
alignItems: "center",
|
|
66
66
|
direction: "row",
|
|
@@ -71,15 +71,15 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
71
71
|
width: "100%",
|
|
72
72
|
children: [
|
|
73
73
|
t.row.has_been_split && /* @__PURE__ */ e(L, { name: "call_split", size: 16 }),
|
|
74
|
-
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ?
|
|
75
|
-
!t.row.has_been_split &&
|
|
74
|
+
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.has_been_split ? r.split_transaction_category_label : t.row.category }),
|
|
75
|
+
!t.row.has_been_split && i && /* @__PURE__ */ e(L, { name: "edit", sx: { color: "action.active" } })
|
|
76
76
|
]
|
|
77
77
|
}
|
|
78
78
|
);
|
|
79
|
-
},
|
|
80
|
-
const
|
|
79
|
+
}, yt = D(Ct), bt = (t) => /* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: Xe(Ye(t.row.date), Je.MONTH_DAY) }), Tt = (t) => {
|
|
80
|
+
const r = ze(), i = r.palette.mode === "dark", { transactions: a } = I(), { is_flagged: l, is_hidden: s, has_been_viewed: c, parent_guid: h } = t.row, d = !c && !!!h;
|
|
81
81
|
return /* @__PURE__ */ _(
|
|
82
|
-
|
|
82
|
+
w,
|
|
83
83
|
{
|
|
84
84
|
"aria-label": s ? a.is_hidden : a.is_flagged,
|
|
85
85
|
tabIndex: t.tabIndex,
|
|
@@ -90,18 +90,18 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
90
90
|
fill: !0,
|
|
91
91
|
name: "flag",
|
|
92
92
|
size: 16,
|
|
93
|
-
sx: { color:
|
|
93
|
+
sx: { color: i ? "primary.main" : "warning.dark" }
|
|
94
94
|
}
|
|
95
95
|
),
|
|
96
96
|
!l && s && /* @__PURE__ */ e(L, { name: "visibility_off", size: 16 }),
|
|
97
|
-
|
|
97
|
+
d && /* @__PURE__ */ e(
|
|
98
98
|
"svg",
|
|
99
99
|
{
|
|
100
100
|
"data-testid": "svg",
|
|
101
101
|
style: {
|
|
102
102
|
display: "inline-block",
|
|
103
103
|
height: 16,
|
|
104
|
-
fill:
|
|
104
|
+
fill: r.palette.primary.light,
|
|
105
105
|
verticalAlign: "middle",
|
|
106
106
|
width: 16
|
|
107
107
|
},
|
|
@@ -112,42 +112,42 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
112
112
|
]
|
|
113
113
|
}
|
|
114
114
|
);
|
|
115
|
-
},
|
|
115
|
+
}, At = D(Tt), N = (t) => /* @__PURE__ */ e(C, { fontWeight: 600, variant: "body2", children: t.colDef.headerName }), xt = (t) => /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
116
116
|
/* @__PURE__ */ e(
|
|
117
|
-
|
|
117
|
+
qe,
|
|
118
118
|
{
|
|
119
119
|
categoryGuid: t.row.top_level_category_guid || "",
|
|
120
120
|
merchantGuid: t.row.merchant_guid || ""
|
|
121
121
|
}
|
|
122
122
|
),
|
|
123
123
|
/* @__PURE__ */ e(C, { tabIndex: t.tabIndex, variant: "body2", children: t.row.payee })
|
|
124
|
-
] }),
|
|
124
|
+
] }), wt = ({
|
|
125
125
|
height: t = "100dvh",
|
|
126
|
-
onCategoryClick:
|
|
127
|
-
onRowClick:
|
|
126
|
+
onCategoryClick: r,
|
|
127
|
+
onRowClick: i
|
|
128
128
|
}) => {
|
|
129
|
-
const { transactions: a } =
|
|
129
|
+
const { transactions: a } = I(), { isCopyLoaded: l } = K(), { isLoading: s, sortedTransactions: c } = H(), { clearExpandedSplits: h, toggleSplit: y } = R();
|
|
130
130
|
m.useEffect(() => () => h(), []);
|
|
131
|
-
const
|
|
132
|
-
() => c.map((
|
|
133
|
-
id:
|
|
131
|
+
const d = m.useMemo(
|
|
132
|
+
() => c.map((n) => ({
|
|
133
|
+
id: n.guid,
|
|
134
134
|
isHovering: !1,
|
|
135
|
-
...
|
|
135
|
+
...n
|
|
136
136
|
})),
|
|
137
137
|
[c]
|
|
138
|
-
),
|
|
139
|
-
|
|
138
|
+
), p = ({ row: { id: n, guid: f, has_been_split: v }, field: o }) => v ? y(n) : o === "category" ? r?.(f) : i?.(f), g = (n, f) => {
|
|
139
|
+
f.key !== "Enter" && f.key !== " " || p(n);
|
|
140
140
|
};
|
|
141
141
|
if (!l)
|
|
142
142
|
return /* @__PURE__ */ e(z, {});
|
|
143
|
-
const
|
|
143
|
+
const A = [
|
|
144
144
|
{
|
|
145
145
|
field: "flag",
|
|
146
146
|
headerName: "",
|
|
147
147
|
minWidth: 32,
|
|
148
148
|
width: 32,
|
|
149
149
|
sortable: !1,
|
|
150
|
-
renderCell: (
|
|
150
|
+
renderCell: (n) => /* @__PURE__ */ e(At, { ...n }),
|
|
151
151
|
renderHeader: () => /* @__PURE__ */ e("span", { "aria-label": a.transaction_status, role: "presentation" })
|
|
152
152
|
},
|
|
153
153
|
{
|
|
@@ -155,7 +155,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
155
155
|
headerName: a.date_title,
|
|
156
156
|
width: 103,
|
|
157
157
|
renderHeader: N,
|
|
158
|
-
renderCell: (
|
|
158
|
+
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(bt, { ...n }),
|
|
159
159
|
sortingOrder: ["desc", "asc"]
|
|
160
160
|
},
|
|
161
161
|
{
|
|
@@ -164,7 +164,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
164
164
|
headerName: a.payee_title,
|
|
165
165
|
flex: 0.33,
|
|
166
166
|
renderHeader: N,
|
|
167
|
-
renderCell:
|
|
167
|
+
renderCell: xt,
|
|
168
168
|
sortingOrder: ["asc", "desc"]
|
|
169
169
|
},
|
|
170
170
|
{
|
|
@@ -172,7 +172,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
172
172
|
headerName: a.category_title,
|
|
173
173
|
flex: 0.25,
|
|
174
174
|
renderHeader: N,
|
|
175
|
-
renderCell: (
|
|
175
|
+
renderCell: (n) => /* @__PURE__ */ e(yt, { ...n }),
|
|
176
176
|
sortingOrder: ["asc", "desc"]
|
|
177
177
|
},
|
|
178
178
|
{
|
|
@@ -180,7 +180,7 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
180
180
|
headerName: a.account_title,
|
|
181
181
|
flex: 0.33,
|
|
182
182
|
renderHeader: N,
|
|
183
|
-
renderCell: (
|
|
183
|
+
renderCell: (n) => n.row.parent_guid ? null : /* @__PURE__ */ e(ht, { ...n }),
|
|
184
184
|
sortingOrder: ["asc", "desc"]
|
|
185
185
|
},
|
|
186
186
|
{
|
|
@@ -188,25 +188,25 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
188
188
|
headerName: a.amount_title,
|
|
189
189
|
flex: 0.25,
|
|
190
190
|
renderHeader: N,
|
|
191
|
-
renderCell:
|
|
191
|
+
renderCell: ft,
|
|
192
192
|
align: "right",
|
|
193
193
|
headerAlign: "right",
|
|
194
194
|
sortingOrder: ["asc", "desc"]
|
|
195
195
|
}
|
|
196
196
|
];
|
|
197
|
-
return /* @__PURE__ */ e(
|
|
198
|
-
|
|
197
|
+
return /* @__PURE__ */ e($e, { sx: { height: t, px: 24, width: "100%", boxShadow: "none" }, children: /* @__PURE__ */ e(
|
|
198
|
+
We,
|
|
199
199
|
{
|
|
200
|
-
columns:
|
|
200
|
+
columns: A,
|
|
201
201
|
disableColumnFilter: !0,
|
|
202
202
|
disableColumnMenu: !0,
|
|
203
|
-
getCellClassName: (
|
|
203
|
+
getCellClassName: (n) => n.row.parent_guid ? "split-row" : "",
|
|
204
204
|
hideFooter: !0,
|
|
205
205
|
initialState: { sorting: { sortModel: [{ field: "date", sort: "desc" }] } },
|
|
206
206
|
loading: s,
|
|
207
|
-
onCellClick:
|
|
208
|
-
onCellKeyDown:
|
|
209
|
-
rows:
|
|
207
|
+
onCellClick: p,
|
|
208
|
+
onCellKeyDown: g,
|
|
209
|
+
rows: d,
|
|
210
210
|
slotProps: { baseIconButton: { color: "secondary", sx: { ml: 8 } } },
|
|
211
211
|
sx: {
|
|
212
212
|
"& .split-row": {
|
|
@@ -215,16 +215,16 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
215
215
|
}
|
|
216
216
|
}
|
|
217
217
|
) });
|
|
218
|
-
},
|
|
219
|
-
const { common: l, transactions: s } =
|
|
218
|
+
}, St = D(wt), Dt = ({ copy: t, isOpen: r, onClose: i, onPrimaryAction: a }) => {
|
|
219
|
+
const { common: l, transactions: s } = I(), { isCopyLoaded: c } = K();
|
|
220
220
|
return c ? /* @__PURE__ */ _(
|
|
221
221
|
re,
|
|
222
222
|
{
|
|
223
223
|
copy: {
|
|
224
224
|
title: t.title
|
|
225
225
|
},
|
|
226
|
-
isOpen:
|
|
227
|
-
onClose:
|
|
226
|
+
isOpen: r,
|
|
227
|
+
onClose: i,
|
|
228
228
|
onPrimaryAction: a,
|
|
229
229
|
primaryText: s.add_manual_account,
|
|
230
230
|
secondaryText: l.cancel_button,
|
|
@@ -234,60 +234,60 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
234
234
|
]
|
|
235
235
|
}
|
|
236
236
|
) : /* @__PURE__ */ e(z, {});
|
|
237
|
-
},
|
|
238
|
-
const { visibleAccounts: t } = oe(), { common:
|
|
237
|
+
}, It = D(Dt), vt = () => {
|
|
238
|
+
const { visibleAccounts: t } = oe(), { common: r, transactions: i } = I(), { manualTransaction: a, setIsAmountValid: l, updateManualTransaction: s } = R(), [c, h] = m.useState(""), [y, d] = m.useState(""), p = m.useMemo(
|
|
239
239
|
() => t.filter((o) => o.is_manual),
|
|
240
240
|
[t]
|
|
241
241
|
).map((o) => ({
|
|
242
242
|
label: `${o.name} | ${ne(o.balance, "0,0.00")}`,
|
|
243
243
|
value: o.guid
|
|
244
|
-
})),
|
|
245
|
-
error_amount_is_invalid:
|
|
246
|
-
error_amount_must_be_equal_to:
|
|
247
|
-
error_amount_must_be_less_than_or_equal_to:
|
|
248
|
-
enter_amount:
|
|
249
|
-
},
|
|
244
|
+
})), g = {
|
|
245
|
+
error_amount_is_invalid: r.currency_input.error_amount_is_invalid,
|
|
246
|
+
error_amount_must_be_equal_to: r.currency_input.error_amount_must_be_equal_to,
|
|
247
|
+
error_amount_must_be_less_than_or_equal_to: r.currency_input.error_amount_must_be_less_than_or_equal_to,
|
|
248
|
+
enter_amount: r.currency_input.enter_amount
|
|
249
|
+
}, A = (o) => {
|
|
250
250
|
h(o), s({ ...a, amount: Number(o) });
|
|
251
|
-
},
|
|
251
|
+
}, n = (o, B) => {
|
|
252
252
|
s({ ...a, transaction_type: Number(B) });
|
|
253
|
-
},
|
|
254
|
-
|
|
253
|
+
}, f = (o) => {
|
|
254
|
+
d(o), s({ ...a, payee: o, description: o });
|
|
255
255
|
}, v = (o) => {
|
|
256
256
|
s({ ...a, account_guid: o });
|
|
257
257
|
};
|
|
258
|
-
return /* @__PURE__ */ _(
|
|
259
|
-
/* @__PURE__ */ _(
|
|
258
|
+
return /* @__PURE__ */ _(w, { className: "mx-txn-manual-transaction-details", children: [
|
|
259
|
+
/* @__PURE__ */ _(S, { gap: 40, mx: 24, my: 32, children: [
|
|
260
260
|
/* @__PURE__ */ _(
|
|
261
|
-
|
|
261
|
+
S,
|
|
262
262
|
{
|
|
263
263
|
direction: "row",
|
|
264
264
|
sx: { flexDirection: { xs: "column", sm: "row" }, gap: { xs: 40, sm: 8 } },
|
|
265
265
|
children: [
|
|
266
266
|
/* @__PURE__ */ e(
|
|
267
|
-
|
|
267
|
+
st,
|
|
268
268
|
{
|
|
269
269
|
allowDecimals: !0,
|
|
270
270
|
amount: c,
|
|
271
|
-
ariaLabel:
|
|
272
|
-
copy:
|
|
271
|
+
ariaLabel: i.amount_title,
|
|
272
|
+
copy: g,
|
|
273
273
|
inputProps: {
|
|
274
274
|
noValidate: !0
|
|
275
275
|
},
|
|
276
|
-
label:
|
|
277
|
-
setAmount:
|
|
276
|
+
label: i.amount_title,
|
|
277
|
+
setAmount: A,
|
|
278
278
|
setHasValidInput: l,
|
|
279
279
|
sx: { bgcolor: "background.paper" },
|
|
280
280
|
type: "number"
|
|
281
281
|
}
|
|
282
282
|
),
|
|
283
|
-
/* @__PURE__ */ e(
|
|
283
|
+
/* @__PURE__ */ e(rt, { name: "TransactionType", onChange: n, row: !0, children: /* @__PURE__ */ _(S, { alignItems: "center", direction: "row", children: [
|
|
284
284
|
/* @__PURE__ */ e(
|
|
285
285
|
Z,
|
|
286
286
|
{
|
|
287
287
|
checked: a.transaction_type === E.CREDIT,
|
|
288
|
-
label:
|
|
288
|
+
label: i.manual_transaction_credit_button_label,
|
|
289
289
|
sx: { ml: { xs: 0, sm: 8 } },
|
|
290
|
-
tooltip:
|
|
290
|
+
tooltip: i.manual_transaction_credit_button_tooltip,
|
|
291
291
|
value: E.CREDIT
|
|
292
292
|
}
|
|
293
293
|
),
|
|
@@ -295,8 +295,8 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
295
295
|
Z,
|
|
296
296
|
{
|
|
297
297
|
checked: a.transaction_type === E.DEBIT,
|
|
298
|
-
label:
|
|
299
|
-
tooltip:
|
|
298
|
+
label: i.manual_transaction_debit_button_label,
|
|
299
|
+
tooltip: i.manual_transaction_debit_button_tooltip,
|
|
300
300
|
value: E.DEBIT
|
|
301
301
|
}
|
|
302
302
|
)
|
|
@@ -307,9 +307,9 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
307
307
|
/* @__PURE__ */ e(
|
|
308
308
|
ee,
|
|
309
309
|
{
|
|
310
|
-
label:
|
|
310
|
+
label: i.payee_title,
|
|
311
311
|
name: "payee",
|
|
312
|
-
onChange: (o) =>
|
|
312
|
+
onChange: (o) => f(o.target.value),
|
|
313
313
|
sx: { bgcolor: "background.paper" },
|
|
314
314
|
value: y
|
|
315
315
|
}
|
|
@@ -318,39 +318,39 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
318
318
|
ee,
|
|
319
319
|
{
|
|
320
320
|
InputLabelProps: { shrink: !0 },
|
|
321
|
-
SelectProps: { defaultValue: -1, IconComponent:
|
|
322
|
-
label:
|
|
321
|
+
SelectProps: { defaultValue: -1, IconComponent: it },
|
|
322
|
+
label: i.manual_transaction_select_an_account,
|
|
323
323
|
onChange: (o) => v(o.target.value),
|
|
324
|
-
placeholder:
|
|
324
|
+
placeholder: i.manual_transaction_select,
|
|
325
325
|
select: !0,
|
|
326
326
|
sx: { bgcolor: "background.paper" },
|
|
327
|
-
children:
|
|
327
|
+
children: p.map((o) => /* @__PURE__ */ e(nt, { value: o.value, children: o.label }, o.value))
|
|
328
328
|
}
|
|
329
329
|
)
|
|
330
330
|
] }),
|
|
331
|
-
/* @__PURE__ */ e(
|
|
332
|
-
/* @__PURE__ */ _(
|
|
331
|
+
/* @__PURE__ */ e(ot, { light: !0 }),
|
|
332
|
+
/* @__PURE__ */ _(w, { bgcolor: "background.paper", children: [
|
|
333
|
+
/* @__PURE__ */ e(Oe, { transaction: a }),
|
|
333
334
|
/* @__PURE__ */ e(Me, { transaction: a }),
|
|
334
335
|
/* @__PURE__ */ e(Le, { transaction: a }),
|
|
335
|
-
/* @__PURE__ */ e(Re, { transaction: a })
|
|
336
|
-
/* @__PURE__ */ e(He, { transaction: a })
|
|
336
|
+
/* @__PURE__ */ e(Re, { transaction: a })
|
|
337
337
|
] })
|
|
338
338
|
] });
|
|
339
|
-
},
|
|
340
|
-
const { addOrUpdateTransactionRule:
|
|
341
|
-
() => s.find((
|
|
339
|
+
}, Nt = D(vt), Et = ({ onClose: t, transaction: r }) => {
|
|
340
|
+
const { addOrUpdateTransactionRule: i, updateTransaction: a } = H(), { transactions: l } = I(), { categories: s } = Ge(), [c, h] = m.useState(""), y = m.useMemo(
|
|
341
|
+
() => s.find((p) => p.guid === c),
|
|
342
342
|
[c]
|
|
343
|
-
),
|
|
344
|
-
await a({ ...
|
|
343
|
+
), d = async (p) => {
|
|
344
|
+
await a({ ...r, category_guid: c }), p && await i(c, r), h(""), t();
|
|
345
345
|
};
|
|
346
|
-
return /* @__PURE__ */ _(
|
|
346
|
+
return /* @__PURE__ */ _(w, { className: "mx-txn-edit-category-action", children: [
|
|
347
347
|
/* @__PURE__ */ e(
|
|
348
|
-
|
|
348
|
+
ct,
|
|
349
349
|
{
|
|
350
|
-
initialSelected:
|
|
350
|
+
initialSelected: r.category_guid,
|
|
351
351
|
onClose: t,
|
|
352
|
-
onSelect: (
|
|
353
|
-
showDrawer: !!
|
|
352
|
+
onSelect: (p) => h(p),
|
|
353
|
+
showDrawer: !!r,
|
|
354
354
|
title: l.actions_select_a_category
|
|
355
355
|
}
|
|
356
356
|
),
|
|
@@ -360,141 +360,139 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
360
360
|
copy: {
|
|
361
361
|
title: U(
|
|
362
362
|
l.actions_apply_to_all_transaction_types,
|
|
363
|
-
|
|
363
|
+
r.description
|
|
364
364
|
)
|
|
365
365
|
},
|
|
366
366
|
isOpen: !!c,
|
|
367
|
-
onClose: () =>
|
|
368
|
-
onPrimaryAction: () =>
|
|
369
|
-
onSecondaryAction: () =>
|
|
367
|
+
onClose: () => d(!1),
|
|
368
|
+
onPrimaryAction: () => d(!0),
|
|
369
|
+
onSecondaryAction: () => d(!1),
|
|
370
370
|
primaryText: l.actions_apply_to_all,
|
|
371
371
|
secondaryText: l.actions_this_time_only,
|
|
372
|
-
children: /* @__PURE__ */ e(
|
|
372
|
+
children: /* @__PURE__ */ e(je, { variant: "subtitle1", children: U(
|
|
373
373
|
l.actions_all_past_and_future,
|
|
374
|
-
|
|
374
|
+
r.description,
|
|
375
375
|
y?.name
|
|
376
376
|
) })
|
|
377
377
|
}
|
|
378
378
|
)
|
|
379
379
|
] });
|
|
380
|
-
},
|
|
380
|
+
}, kt = D(Et), ae = 120, Ot = ({
|
|
381
381
|
onBackClick: t,
|
|
382
|
-
height:
|
|
383
|
-
showInsights:
|
|
384
|
-
sx: a = {}
|
|
382
|
+
height: r = "100dvh",
|
|
383
|
+
showInsights: i = !1
|
|
385
384
|
}) => {
|
|
386
|
-
const { manualAccounts:
|
|
387
|
-
addTransaction:
|
|
388
|
-
filter:
|
|
385
|
+
const { manualAccounts: a, refreshAccounts: l } = oe(), { is_mobile_webview: s, clientConfig: c, config: h } = Fe(), { setSearchValue: y } = lt(), { onEvent: d } = Ue(), { common: p, transactions: g } = I(), { displayedDateRange: A, isInitialized: n, selectedAccountGuids: f, setDisplayedDate: v } = K(), { isDesktop: o, isTablet: B } = mt(), k = tt(), {
|
|
386
|
+
addTransaction: ie,
|
|
387
|
+
filter: se,
|
|
389
388
|
isTransactionDataLoaded: P,
|
|
390
|
-
loadTransactionData:
|
|
389
|
+
loadTransactionData: ce,
|
|
391
390
|
setFilter: q,
|
|
392
391
|
sortedTransactions: j,
|
|
393
|
-
sortedTransactionsWithSplits:
|
|
394
|
-
tags:
|
|
395
|
-
detailedTransactions:
|
|
396
|
-
updateTransaction:
|
|
392
|
+
sortedTransactionsWithSplits: le,
|
|
393
|
+
tags: de,
|
|
394
|
+
detailedTransactions: ue,
|
|
395
|
+
updateTransaction: me
|
|
397
396
|
} = H(), {
|
|
398
|
-
clearExpandedSplits:
|
|
399
|
-
isAmountValid:
|
|
397
|
+
clearExpandedSplits: _e,
|
|
398
|
+
isAmountValid: pe,
|
|
400
399
|
manualTransaction: O,
|
|
401
400
|
searchValue: Y,
|
|
402
|
-
setSearchValue:
|
|
403
|
-
setShowInsights:
|
|
404
|
-
updateManualTransaction:
|
|
405
|
-
} = R(), { userProfile:
|
|
406
|
-
|
|
401
|
+
setSearchValue: ge,
|
|
402
|
+
setShowInsights: he,
|
|
403
|
+
updateManualTransaction: fe
|
|
404
|
+
} = R(), { userProfile: Ce } = Ke(), [V, b] = m.useState(""), [X, M] = m.useState(""), [ye, $] = m.useState(!1), [be, J] = m.useState(!1), { announce: Te, ariaLive: Ae } = dt(), W = c?.transactions?.selected_account_guid;
|
|
405
|
+
_t({
|
|
407
406
|
widgetName: "TransactionWidget",
|
|
408
407
|
isLoaded: P
|
|
409
408
|
}), m.useEffect(() => {
|
|
410
|
-
P ||
|
|
411
|
-
const u =
|
|
412
|
-
|
|
409
|
+
P || ce().finally();
|
|
410
|
+
const u = et(F()), ke = Qe(F());
|
|
411
|
+
v(u, ke), d(x.TRANSACTIONS_VIEW);
|
|
413
412
|
}, []), m.useEffect(() => {
|
|
414
|
-
|
|
415
|
-
accounts: W ? [W] :
|
|
416
|
-
dateRange: { start:
|
|
413
|
+
n && q({
|
|
414
|
+
accounts: W ? [W] : f,
|
|
415
|
+
dateRange: { start: A.start, end: A.end },
|
|
417
416
|
searchTerm: Y
|
|
418
417
|
});
|
|
419
|
-
}, [
|
|
420
|
-
|
|
421
|
-
}, [
|
|
422
|
-
|
|
423
|
-
U(
|
|
418
|
+
}, [n, A, f]), m.useEffect(() => {
|
|
419
|
+
he(i);
|
|
420
|
+
}, [i]), m.useEffect(() => {
|
|
421
|
+
n && Te(
|
|
422
|
+
U(g.showing_transactions_count, j.length)
|
|
424
423
|
);
|
|
425
|
-
}, [
|
|
426
|
-
const T = X ?
|
|
427
|
-
|
|
428
|
-
},
|
|
429
|
-
|
|
430
|
-
...
|
|
424
|
+
}, [n, j]);
|
|
425
|
+
const T = X ? ue.find((u) => u.guid === X) : void 0, Q = pe && !!O.payee && !!O.account_guid && !!O.category_guid, xe = (u) => {
|
|
426
|
+
_e(), v(u[0], u[1]);
|
|
427
|
+
}, we = (u) => {
|
|
428
|
+
ge(u), q({
|
|
429
|
+
...se,
|
|
431
430
|
searchTerm: u
|
|
432
|
-
}), d(
|
|
431
|
+
}), d(x.TRANSACTIONS_CLICK_SEARCH, { search_term: u });
|
|
432
|
+
}, Se = () => {
|
|
433
|
+
Ve(le, de), d(x.TRANSACTIONS_CLICK_EXPORT);
|
|
433
434
|
}, De = () => {
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
date: et(F()),
|
|
439
|
-
user_guid: ye?.user_guid || ""
|
|
435
|
+
a.length > 0 ? (fe({
|
|
436
|
+
...Be,
|
|
437
|
+
date: Ze(F()),
|
|
438
|
+
user_guid: Ce?.user_guid || ""
|
|
440
439
|
}), b(
|
|
441
440
|
"addTransaction"
|
|
442
441
|
/* AddTransaction */
|
|
443
|
-
), d(
|
|
444
|
-
},
|
|
445
|
-
Q && await
|
|
446
|
-
},
|
|
447
|
-
|
|
442
|
+
), d(x.TRANSACTIONS_CLICK_ADD)) : ($(!0), d(x.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
|
443
|
+
}, Ie = async () => {
|
|
444
|
+
Q && await ie(O), b("");
|
|
445
|
+
}, ve = () => {
|
|
446
|
+
$(!1), J(!0);
|
|
447
|
+
}, Ne = async () => {
|
|
448
|
+
J(!1), await l();
|
|
448
449
|
}, Ee = async () => {
|
|
449
|
-
|
|
450
|
-
}, ke = async () => {
|
|
451
|
-
T && !T.has_been_viewed && await _e({ ...T, has_been_viewed: !0 }), b("");
|
|
450
|
+
T && !T.has_been_viewed && await me({ ...T, has_been_viewed: !0 }), b("");
|
|
452
451
|
};
|
|
453
|
-
if (!
|
|
452
|
+
if (!n)
|
|
454
453
|
return /* @__PURE__ */ e(z, {});
|
|
455
454
|
const G = [];
|
|
456
|
-
return !
|
|
455
|
+
return !s && (o || B) && G.push({
|
|
457
456
|
iconName: "open_in_new",
|
|
458
|
-
label:
|
|
459
|
-
onClick:
|
|
460
|
-
}),
|
|
457
|
+
label: g.export_csv_btn,
|
|
458
|
+
onClick: Se
|
|
459
|
+
}), h.show_connections_widget_in_master && G.push({
|
|
461
460
|
iconName: "add",
|
|
462
|
-
label:
|
|
463
|
-
onClick:
|
|
461
|
+
label: g.add_transaction_btn,
|
|
462
|
+
onClick: De
|
|
464
463
|
}), /* @__PURE__ */ _(
|
|
465
|
-
|
|
464
|
+
pt,
|
|
466
465
|
{
|
|
467
466
|
actions: G,
|
|
468
467
|
calendarActions: {
|
|
469
|
-
onRangeChanged:
|
|
468
|
+
onRangeChanged: xe
|
|
470
469
|
},
|
|
471
|
-
onAccountsFilterClick: () => d(
|
|
470
|
+
onAccountsFilterClick: () => d(x.ACCOUNTS_CLICK_FILTER),
|
|
472
471
|
onBackClick: t,
|
|
473
472
|
showAccountFilter: !W,
|
|
474
|
-
|
|
475
|
-
title: p.transactions_title,
|
|
473
|
+
title: g.transactions_title,
|
|
476
474
|
children: [
|
|
477
|
-
P ? /* @__PURE__ */ _(
|
|
478
|
-
|
|
479
|
-
/* @__PURE__ */ e(
|
|
480
|
-
|
|
475
|
+
P ? /* @__PURE__ */ _(S, { children: [
|
|
476
|
+
Ae,
|
|
477
|
+
/* @__PURE__ */ e(w, { mt: 16, children: /* @__PURE__ */ e(
|
|
478
|
+
gt,
|
|
481
479
|
{
|
|
482
|
-
onChange:
|
|
483
|
-
placeholder:
|
|
480
|
+
onChange: we,
|
|
481
|
+
placeholder: g.action_bar_search_placeholder,
|
|
484
482
|
searchValue: Y
|
|
485
483
|
}
|
|
486
484
|
) }),
|
|
487
485
|
/* @__PURE__ */ e(
|
|
488
|
-
|
|
486
|
+
w,
|
|
489
487
|
{
|
|
490
488
|
sx: {
|
|
491
489
|
[k.breakpoints.down("md")]: { display: "none" },
|
|
492
490
|
[k.breakpoints.up("md")]: { display: "block" }
|
|
493
491
|
},
|
|
494
492
|
children: /* @__PURE__ */ e(
|
|
495
|
-
|
|
493
|
+
St,
|
|
496
494
|
{
|
|
497
|
-
height: `calc(${
|
|
495
|
+
height: `calc(${r} - ${ae}px)`,
|
|
498
496
|
onCategoryClick: (u) => {
|
|
499
497
|
M(u), b(
|
|
500
498
|
"category"
|
|
@@ -505,23 +503,23 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
505
503
|
M(u), b(
|
|
506
504
|
"transaction"
|
|
507
505
|
/* Transaction */
|
|
508
|
-
), d(
|
|
506
|
+
), d(x.TRANSACTIONS_CLICK_DETAILS, { transaction_guid: u });
|
|
509
507
|
}
|
|
510
508
|
}
|
|
511
509
|
)
|
|
512
510
|
}
|
|
513
511
|
),
|
|
514
512
|
/* @__PURE__ */ e(
|
|
515
|
-
|
|
513
|
+
w,
|
|
516
514
|
{
|
|
517
515
|
sx: {
|
|
518
516
|
[k.breakpoints.down("md")]: { display: "block" },
|
|
519
517
|
[k.breakpoints.up("md")]: { display: "none" }
|
|
520
518
|
},
|
|
521
519
|
children: /* @__PURE__ */ e(
|
|
522
|
-
|
|
520
|
+
Pe,
|
|
523
521
|
{
|
|
524
|
-
height: `calc(${
|
|
522
|
+
height: `calc(${r} - ${ae}px)`,
|
|
525
523
|
onClick: (u) => {
|
|
526
524
|
M(u), b(
|
|
527
525
|
"transaction"
|
|
@@ -529,27 +527,27 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
529
527
|
);
|
|
530
528
|
},
|
|
531
529
|
showHiddenTransactions: !0,
|
|
532
|
-
showInsights:
|
|
530
|
+
showInsights: i
|
|
533
531
|
}
|
|
534
532
|
)
|
|
535
533
|
}
|
|
536
534
|
)
|
|
537
|
-
] }) : /* @__PURE__ */ e(
|
|
535
|
+
] }) : /* @__PURE__ */ e(ut, { sx: { m: 48 }, variant: "list" }),
|
|
538
536
|
/* @__PURE__ */ e(
|
|
539
537
|
te,
|
|
540
538
|
{
|
|
541
|
-
ariaLabelClose:
|
|
542
|
-
isOpen:
|
|
543
|
-
onClose:
|
|
544
|
-
title:
|
|
545
|
-
children: T && /* @__PURE__ */ e(
|
|
539
|
+
ariaLabelClose: p.close_aria,
|
|
540
|
+
isOpen: V === "transaction" && !!T,
|
|
541
|
+
onClose: Ee,
|
|
542
|
+
title: g.details_title,
|
|
543
|
+
children: T && /* @__PURE__ */ e(He, { transaction: T })
|
|
546
544
|
}
|
|
547
545
|
),
|
|
548
|
-
T &&
|
|
549
|
-
|
|
546
|
+
T && V === "category" && /* @__PURE__ */ e(
|
|
547
|
+
kt,
|
|
550
548
|
{
|
|
551
549
|
onClose: () => {
|
|
552
|
-
|
|
550
|
+
y(""), b(""), M("");
|
|
553
551
|
},
|
|
554
552
|
transaction: T
|
|
555
553
|
}
|
|
@@ -557,51 +555,51 @@ const ft = (t) => /* @__PURE__ */ _(C, { tabIndex: t.tabIndex, variant: "body2",
|
|
|
557
555
|
/* @__PURE__ */ e(
|
|
558
556
|
te,
|
|
559
557
|
{
|
|
560
|
-
ariaLabelClose:
|
|
561
|
-
isOpen:
|
|
558
|
+
ariaLabelClose: p.close_aria,
|
|
559
|
+
isOpen: V === "addTransaction",
|
|
562
560
|
isPrimaryDisabled: !Q,
|
|
563
561
|
onClose: () => b(""),
|
|
564
|
-
onPrimaryAction:
|
|
565
|
-
title:
|
|
566
|
-
children: /* @__PURE__ */ e(
|
|
562
|
+
onPrimaryAction: Ie,
|
|
563
|
+
title: g.add_transaction_title,
|
|
564
|
+
children: /* @__PURE__ */ e(Nt, {})
|
|
567
565
|
}
|
|
568
566
|
),
|
|
569
567
|
/* @__PURE__ */ e(
|
|
570
|
-
|
|
568
|
+
It,
|
|
571
569
|
{
|
|
572
|
-
copy: { title:
|
|
573
|
-
isOpen:
|
|
570
|
+
copy: { title: g.add_manual_account },
|
|
571
|
+
isOpen: ye,
|
|
574
572
|
onClose: () => {
|
|
575
|
-
|
|
573
|
+
$(!1);
|
|
576
574
|
},
|
|
577
|
-
onPrimaryAction:
|
|
575
|
+
onPrimaryAction: ve
|
|
578
576
|
}
|
|
579
577
|
),
|
|
580
578
|
/* @__PURE__ */ e(
|
|
581
|
-
|
|
579
|
+
at,
|
|
582
580
|
{
|
|
583
|
-
onClose:
|
|
584
|
-
showConnectWidget:
|
|
585
|
-
title:
|
|
581
|
+
onClose: Ne,
|
|
582
|
+
showConnectWidget: be,
|
|
583
|
+
title: g.add_manual_account
|
|
586
584
|
}
|
|
587
585
|
)
|
|
588
586
|
]
|
|
589
587
|
}
|
|
590
588
|
);
|
|
591
|
-
},
|
|
589
|
+
}, ba = D(Ot);
|
|
592
590
|
export {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
591
|
+
It as AddAccountModal,
|
|
592
|
+
Sa as BottomActions,
|
|
593
|
+
La as ExportCsvAction,
|
|
594
|
+
va as TRANSACTION_EVENTS,
|
|
595
|
+
Da as TopActions,
|
|
596
|
+
xa as TransactionApi,
|
|
597
|
+
He as TransactionDetails,
|
|
598
|
+
Pe as TransactionList,
|
|
599
|
+
Oa as TransactionRow,
|
|
600
|
+
Ea as TransactionStore,
|
|
601
|
+
St as TransactionTable,
|
|
602
|
+
ba as TransactionWidget,
|
|
605
603
|
Ve as exportTransactionsToCSV,
|
|
606
604
|
R as useTransactionsUiStore
|
|
607
605
|
};
|