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