@mx-cartographer/experiences 8.1.5 → 8.1.6
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 +6 -0
- package/dist/EmbeddedCard-BqVpA1Jn.mjs +811 -0
- package/dist/{ManageIncome-Deq2AZEM.mjs → ManageIncome-n1ueMTrW.mjs} +2 -2
- package/dist/{RecurringSettings-B8KJllGX.mjs → RecurringSettings-DxsDZAp1.mjs} +1 -1
- package/dist/TransactionDetails-Bpp1FDUI.mjs +1721 -0
- package/dist/{TransactionStore-BUsP-unK.mjs → TransactionStore-DfaO_9m-.mjs} +105 -101
- package/dist/accounts/index.es.js +2 -2
- package/dist/budgets/index.es.js +3 -3
- package/dist/cashflow/index.es.js +3 -3
- package/dist/common/index.es.js +2 -2
- package/dist/core/types/localization/TransactionsCopy.d.ts +11 -6
- package/dist/finstrong/index.es.js +3 -3
- package/dist/insights/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +4 -4
- package/dist/spending/index.es.js +2 -2
- package/dist/transactions/components/shared/TransactionList.d.ts +0 -1
- package/dist/transactions/components/shared/transactiondetails/actions/{HideAction.d.ts → ExcludeAction.d.ts} +2 -2
- package/dist/transactions/components/shared/transactiondetails/actions/index.d.ts +1 -1
- package/dist/transactions/components/shared/transactiontable/cells/PayeeCell.d.ts +4 -1
- package/dist/transactions/index.es.js +90 -84
- package/dist/transactions/stores/TransactionStore.d.ts +2 -0
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
- package/dist/EmbeddedCard-CBS3uUbk.mjs +0 -810
- package/dist/TransactionDetails-DLnK244l.mjs +0 -1703
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx as I } from "react/jsx-runtime";
|
|
2
2
|
import x from "@mui/material/Box";
|
|
3
3
|
import P from "@mui/material/FormControlLabel";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
4
|
+
import B from "@mui/material/Radio";
|
|
5
|
+
import H from "@mui/material/styles/useTheme";
|
|
6
6
|
import K from "@mui/material/Tooltip";
|
|
7
7
|
import { makeAutoObservable as f } from "mobx";
|
|
8
|
-
import { endOfToday as
|
|
9
|
-
import { formatISO as
|
|
8
|
+
import { endOfToday as O } from "date-fns/endOfToday";
|
|
9
|
+
import { formatISO as V } from "date-fns/formatISO";
|
|
10
10
|
import { getUnixTime as E } from "date-fns/getUnixTime";
|
|
11
|
-
import { isBefore as
|
|
11
|
+
import { isBefore as U } from "date-fns/isBefore";
|
|
12
12
|
import { startOfMonth as L } from "date-fns/startOfMonth";
|
|
13
13
|
import { startOfToday as m } from "date-fns/startOfToday";
|
|
14
14
|
import { subDays as v } from "date-fns/subDays";
|
|
@@ -19,7 +19,7 @@ import { a as y, T as b } from "./Transaction-Cn5_iFm0.mjs";
|
|
|
19
19
|
import { b as F } from "./Category-Ccoew_sA.mjs";
|
|
20
20
|
import { format as W } from "date-fns/format";
|
|
21
21
|
import { fromUnixTime as $ } from "date-fns/fromUnixTime";
|
|
22
|
-
import { f as C, D as
|
|
22
|
+
import { f as C, D as u, O as k } from "./DateFormats-CaOj_4eI.mjs";
|
|
23
23
|
import { f as z } from "./NumberFormatting-CyrvFgfd.mjs";
|
|
24
24
|
import { endOfMonth as X } from "date-fns/endOfMonth";
|
|
25
25
|
const ft = ({
|
|
@@ -29,7 +29,7 @@ const ft = ({
|
|
|
29
29
|
tooltip: s = "",
|
|
30
30
|
value: A
|
|
31
31
|
}) => {
|
|
32
|
-
const d =
|
|
32
|
+
const d = H(), e = d.palette.mode === "light" ? d.palette.grey[400] : d.palette.grey[700], c = l ? d.palette.action.active : e;
|
|
33
33
|
return /* @__PURE__ */ I(
|
|
34
34
|
x,
|
|
35
35
|
{
|
|
@@ -46,7 +46,7 @@ const ft = ({
|
|
|
46
46
|
P,
|
|
47
47
|
{
|
|
48
48
|
control: /* @__PURE__ */ I(
|
|
49
|
-
|
|
49
|
+
B,
|
|
50
50
|
{
|
|
51
51
|
disableRipple: !0,
|
|
52
52
|
sx: { "&.Mui-checked": { color: d.palette.action.active } }
|
|
@@ -74,11 +74,11 @@ const ft = ({
|
|
|
74
74
|
SPLIT: "Split",
|
|
75
75
|
SELECT: "Select",
|
|
76
76
|
UNSPLIT: "Unsplit"
|
|
77
|
-
},
|
|
77
|
+
}, r = {
|
|
78
78
|
TRANSACTION_DETAILS: "Transaction Details",
|
|
79
79
|
TRANSACTIONS_LIST: "Transactions List",
|
|
80
80
|
TRANSACTIONS_WIDGET: "Transactions Widget"
|
|
81
|
-
},
|
|
81
|
+
}, T = {
|
|
82
82
|
ADD_TRANSACTION: "Manual Transaction",
|
|
83
83
|
CATEGORY: "Category",
|
|
84
84
|
DATE: "Date",
|
|
@@ -87,7 +87,7 @@ const ft = ({
|
|
|
87
87
|
DESCRIPTION: "Description",
|
|
88
88
|
EXPORT_CSV: "Export CSV",
|
|
89
89
|
FLAG: "Flag",
|
|
90
|
-
HIDE_TRANSACTION: "
|
|
90
|
+
HIDE_TRANSACTION: "Exclude Transaction",
|
|
91
91
|
MEMO: "Memo",
|
|
92
92
|
SPLITS: "Split Transactions",
|
|
93
93
|
TAGS: "Tags",
|
|
@@ -95,222 +95,222 @@ const ft = ({
|
|
|
95
95
|
TAG_DELETE: "Delete Tag",
|
|
96
96
|
TAG_EDIT: "Edit Tag",
|
|
97
97
|
TRANSACTION: "Transaction",
|
|
98
|
-
UNHIDE_TRANSACTION: "
|
|
98
|
+
UNHIDE_TRANSACTION: "Include Transaction"
|
|
99
99
|
}, p = {
|
|
100
100
|
// splits
|
|
101
101
|
[n.ON_TRANSACTION_SPLIT_CLICK]: {
|
|
102
102
|
action: o.SELECT,
|
|
103
|
-
category:
|
|
104
|
-
label:
|
|
103
|
+
category: r.TRANSACTION_DETAILS,
|
|
104
|
+
label: T.SPLITS
|
|
105
105
|
},
|
|
106
106
|
[n.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
|
|
107
107
|
action: o.ADD_CATEGORY,
|
|
108
|
-
category:
|
|
109
|
-
label:
|
|
108
|
+
category: r.TRANSACTION_DETAILS,
|
|
109
|
+
label: T.SPLITS
|
|
110
110
|
},
|
|
111
111
|
[n.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
|
|
112
112
|
action: o.DELETE,
|
|
113
|
-
category:
|
|
114
|
-
label:
|
|
113
|
+
category: r.TRANSACTION_DETAILS,
|
|
114
|
+
label: T.SPLITS
|
|
115
115
|
},
|
|
116
116
|
[n.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
|
|
117
117
|
action: o.SPLIT,
|
|
118
|
-
category:
|
|
119
|
-
label:
|
|
118
|
+
category: r.TRANSACTION_DETAILS,
|
|
119
|
+
label: T.SPLITS
|
|
120
120
|
},
|
|
121
121
|
[n.ON_TRANSACTION_UNSPLIT]: {
|
|
122
122
|
action: o.UNSPLIT,
|
|
123
|
-
category:
|
|
124
|
-
label:
|
|
123
|
+
category: r.TRANSACTION_DETAILS,
|
|
124
|
+
label: T.SPLITS
|
|
125
125
|
},
|
|
126
126
|
// category
|
|
127
127
|
[n.ON_TRANSACTION_CATEGORY_CLICK]: {
|
|
128
128
|
action: o.SELECT,
|
|
129
|
-
category:
|
|
130
|
-
label:
|
|
129
|
+
category: r.TRANSACTIONS_LIST,
|
|
130
|
+
label: T.CATEGORY
|
|
131
131
|
},
|
|
132
132
|
[n.ON_TRANSACTION_CATEGORY_CHANGED]: {
|
|
133
133
|
action: o.CHANGE_CATEGORY,
|
|
134
|
-
category:
|
|
135
|
-
label:
|
|
134
|
+
category: r.TRANSACTION_DETAILS,
|
|
135
|
+
label: T.CATEGORY
|
|
136
136
|
},
|
|
137
137
|
// date
|
|
138
138
|
[n.ON_TRANSACTION_DATE_CHANGED]: {
|
|
139
139
|
action: o.SAVE,
|
|
140
|
-
category:
|
|
141
|
-
label:
|
|
140
|
+
category: r.TRANSACTION_DETAILS,
|
|
141
|
+
label: T.DATE
|
|
142
142
|
},
|
|
143
143
|
[n.ON_TRANSACTION_DATE_CLICK]: {
|
|
144
144
|
action: o.SELECT,
|
|
145
|
-
category:
|
|
146
|
-
label:
|
|
145
|
+
category: r.TRANSACTION_DETAILS,
|
|
146
|
+
label: T.DATE
|
|
147
147
|
},
|
|
148
148
|
// merchant logo
|
|
149
149
|
[n.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
|
|
150
150
|
action: o.CLOSE,
|
|
151
|
-
category:
|
|
152
|
-
label:
|
|
151
|
+
category: r.TRANSACTION_DETAILS,
|
|
152
|
+
label: T.DELETE_MERCHANT_LOGO
|
|
153
153
|
},
|
|
154
154
|
[n.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
|
|
155
155
|
action: o.SELECT,
|
|
156
|
-
category:
|
|
157
|
-
label:
|
|
156
|
+
category: r.TRANSACTION_DETAILS,
|
|
157
|
+
label: T.DELETE_MERCHANT_LOGO
|
|
158
158
|
},
|
|
159
159
|
[n.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
|
|
160
160
|
action: o.DELETE,
|
|
161
|
-
category:
|
|
162
|
-
label:
|
|
161
|
+
category: r.TRANSACTION_DETAILS,
|
|
162
|
+
label: T.DELETE_MERCHANT_LOGO
|
|
163
163
|
},
|
|
164
164
|
// description
|
|
165
165
|
[n.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
|
|
166
166
|
action: o.EDIT,
|
|
167
|
-
category:
|
|
168
|
-
label:
|
|
167
|
+
category: r.TRANSACTION_DETAILS,
|
|
168
|
+
label: T.DESCRIPTION
|
|
169
169
|
},
|
|
170
170
|
[n.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
|
|
171
171
|
action: o.SAVE,
|
|
172
|
-
category:
|
|
173
|
-
label:
|
|
172
|
+
category: r.TRANSACTION_DETAILS,
|
|
173
|
+
label: T.DESCRIPTION
|
|
174
174
|
},
|
|
175
175
|
// hide transactions
|
|
176
176
|
[n.ON_TRANSACTION_HIDDEN]: {
|
|
177
177
|
action: o.SAVE,
|
|
178
|
-
category:
|
|
179
|
-
label:
|
|
178
|
+
category: r.TRANSACTION_DETAILS,
|
|
179
|
+
label: T.HIDE_TRANSACTION
|
|
180
180
|
},
|
|
181
181
|
[n.ON_TRANSACTION_HIDE_CLICK]: {
|
|
182
182
|
action: o.SELECT,
|
|
183
|
-
category:
|
|
184
|
-
label:
|
|
183
|
+
category: r.TRANSACTION_DETAILS,
|
|
184
|
+
label: T.HIDE_TRANSACTION
|
|
185
185
|
},
|
|
186
186
|
[n.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
|
|
187
187
|
action: o.CLOSE,
|
|
188
|
-
category:
|
|
189
|
-
label:
|
|
188
|
+
category: r.TRANSACTION_DETAILS,
|
|
189
|
+
label: T.HIDE_TRANSACTION
|
|
190
190
|
},
|
|
191
191
|
// transaction list
|
|
192
192
|
[n.ON_TRANSACTION_LIST_ITEM_CLICK]: {
|
|
193
193
|
action: o.SELECT,
|
|
194
|
-
category:
|
|
195
|
-
label:
|
|
194
|
+
category: r.TRANSACTIONS_LIST,
|
|
195
|
+
label: T.TRANSACTION
|
|
196
196
|
},
|
|
197
197
|
// memo
|
|
198
198
|
[n.ON_TRANSACTION_MEMO_CHANGED]: {
|
|
199
199
|
action: o.SAVE,
|
|
200
|
-
category:
|
|
201
|
-
label:
|
|
200
|
+
category: r.TRANSACTION_DETAILS,
|
|
201
|
+
label: T.MEMO
|
|
202
202
|
},
|
|
203
203
|
[n.ON_TRANSACTION_MEMO_CLICK]: {
|
|
204
204
|
action: o.SELECT,
|
|
205
|
-
category:
|
|
206
|
-
label:
|
|
205
|
+
category: r.TRANSACTION_DETAILS,
|
|
206
|
+
label: T.MEMO
|
|
207
207
|
},
|
|
208
208
|
// tags
|
|
209
209
|
[n.ON_TRANSACTION_TAGS_CHANGED]: {
|
|
210
210
|
action: o.SAVE,
|
|
211
|
-
category:
|
|
212
|
-
label:
|
|
211
|
+
category: r.TRANSACTION_DETAILS,
|
|
212
|
+
label: T.TAGS
|
|
213
213
|
},
|
|
214
214
|
[n.ON_TRANSACTION_TAGS_CLICK]: {
|
|
215
215
|
action: o.SELECT,
|
|
216
|
-
category:
|
|
217
|
-
label:
|
|
216
|
+
category: r.TRANSACTION_DETAILS,
|
|
217
|
+
label: T.TAGS
|
|
218
218
|
},
|
|
219
219
|
[n.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
|
|
220
220
|
action: o.CLOSE,
|
|
221
|
-
category:
|
|
222
|
-
label:
|
|
221
|
+
category: r.TRANSACTION_DETAILS,
|
|
222
|
+
label: T.TAGS
|
|
223
223
|
},
|
|
224
224
|
[n.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
|
|
225
225
|
action: o.ADD,
|
|
226
|
-
category:
|
|
227
|
-
label:
|
|
226
|
+
category: r.TRANSACTION_DETAILS,
|
|
227
|
+
label: T.TAG_ADD
|
|
228
228
|
},
|
|
229
229
|
[n.ON_TRANSACTION_TAGS_TAG_ADDED]: {
|
|
230
230
|
action: o.SAVE,
|
|
231
|
-
category:
|
|
232
|
-
label:
|
|
231
|
+
category: r.TRANSACTION_DETAILS,
|
|
232
|
+
label: T.TAG_ADD
|
|
233
233
|
},
|
|
234
234
|
[n.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
|
|
235
235
|
action: o.SELECT,
|
|
236
|
-
category:
|
|
237
|
-
label:
|
|
236
|
+
category: r.TRANSACTION_DETAILS,
|
|
237
|
+
label: T.TAG_DELETE
|
|
238
238
|
},
|
|
239
239
|
[n.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
|
|
240
240
|
action: o.CLOSE,
|
|
241
|
-
category:
|
|
242
|
-
label:
|
|
241
|
+
category: r.TRANSACTION_DETAILS,
|
|
242
|
+
label: T.TAG_DELETE
|
|
243
243
|
},
|
|
244
244
|
[n.ON_TRANSACTION_TAGS_TAG_DELETED]: {
|
|
245
245
|
action: o.SAVE,
|
|
246
|
-
category:
|
|
247
|
-
label:
|
|
246
|
+
category: r.TRANSACTION_DETAILS,
|
|
247
|
+
label: T.TAG_DELETE
|
|
248
248
|
},
|
|
249
249
|
[n.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
|
|
250
250
|
action: o.EDIT,
|
|
251
|
-
category:
|
|
252
|
-
label:
|
|
251
|
+
category: r.TRANSACTION_DETAILS,
|
|
252
|
+
label: T.TAG_EDIT
|
|
253
253
|
},
|
|
254
254
|
[n.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
|
|
255
255
|
action: o.SAVE,
|
|
256
|
-
category:
|
|
257
|
-
label:
|
|
256
|
+
category: r.TRANSACTION_DETAILS,
|
|
257
|
+
label: T.TAG_EDIT
|
|
258
258
|
},
|
|
259
259
|
// flag
|
|
260
260
|
[n.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
|
|
261
261
|
action: o.SELECT,
|
|
262
|
-
category:
|
|
263
|
-
label:
|
|
262
|
+
category: r.TRANSACTION_DETAILS,
|
|
263
|
+
label: T.FLAG
|
|
264
264
|
},
|
|
265
265
|
// hide
|
|
266
266
|
[n.ON_TRANSACTION_UNHIDDEN]: {
|
|
267
267
|
action: o.SAVE,
|
|
268
|
-
category:
|
|
269
|
-
label:
|
|
268
|
+
category: r.TRANSACTION_DETAILS,
|
|
269
|
+
label: T.UNHIDE_TRANSACTION
|
|
270
270
|
},
|
|
271
271
|
[n.ON_TRANSACTION_UNHIDE_CLICK]: {
|
|
272
272
|
action: o.SELECT,
|
|
273
|
-
category:
|
|
274
|
-
label:
|
|
273
|
+
category: r.TRANSACTION_DETAILS,
|
|
274
|
+
label: T.UNHIDE_TRANSACTION
|
|
275
275
|
},
|
|
276
276
|
[n.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
|
|
277
277
|
action: o.CLOSE,
|
|
278
|
-
category:
|
|
279
|
-
label:
|
|
278
|
+
category: r.TRANSACTION_DETAILS,
|
|
279
|
+
label: T.UNHIDE_TRANSACTION
|
|
280
280
|
},
|
|
281
281
|
// export CSV
|
|
282
282
|
[n.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
|
|
283
283
|
action: o.SELECT,
|
|
284
|
-
category:
|
|
285
|
-
label:
|
|
284
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
285
|
+
label: T.EXPORT_CSV
|
|
286
286
|
},
|
|
287
287
|
// add transaction
|
|
288
288
|
[n.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
|
|
289
289
|
action: o.SELECT,
|
|
290
|
-
category:
|
|
291
|
-
label:
|
|
290
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
291
|
+
label: T.ADD_TRANSACTION
|
|
292
292
|
},
|
|
293
293
|
[n.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
|
|
294
294
|
action: o.ADD,
|
|
295
|
-
category:
|
|
296
|
-
label:
|
|
295
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
296
|
+
label: T.ADD_TRANSACTION
|
|
297
297
|
},
|
|
298
298
|
[n.ON_TRANSACTION_DELETE_CLICK]: {
|
|
299
299
|
action: o.SELECT,
|
|
300
|
-
category:
|
|
301
|
-
label:
|
|
300
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
301
|
+
label: T.DELETE_TRANSACTION
|
|
302
302
|
},
|
|
303
303
|
[n.ON_TRANSACTION_DELETE_CANCEL]: {
|
|
304
304
|
action: o.CLOSE,
|
|
305
|
-
category:
|
|
306
|
-
label:
|
|
305
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
306
|
+
label: T.DELETE_TRANSACTION
|
|
307
307
|
},
|
|
308
308
|
[n.ON_TRANSACTION_DELETE_DELETED]: {
|
|
309
309
|
action: o.DELETE,
|
|
310
|
-
category:
|
|
311
|
-
label:
|
|
310
|
+
category: r.TRANSACTIONS_WIDGET,
|
|
311
|
+
label: T.DELETE_TRANSACTION
|
|
312
312
|
}
|
|
313
|
-
}, j = async (l, t) => !t || !p[l] ? null : t.sendAnalyticEvent(p[l]),
|
|
313
|
+
}, j = async (l, t) => !t || !p[l] ? null : t.sendAnalyticEvent(p[l]), h = {
|
|
314
314
|
DATE: "date",
|
|
315
315
|
AMOUNT: "amount"
|
|
316
316
|
}, Z = (l, t, a, s = []) => {
|
|
@@ -351,7 +351,7 @@ const ft = ({
|
|
|
351
351
|
}, Q = (l, t, a) => {
|
|
352
352
|
const {
|
|
353
353
|
accounts: s = [],
|
|
354
|
-
dateRange: A = { start: L(m()), end:
|
|
354
|
+
dateRange: A = { start: L(m()), end: O() },
|
|
355
355
|
custom: d = () => !0,
|
|
356
356
|
searchTerm: e = "",
|
|
357
357
|
showSplits: c = !1
|
|
@@ -364,12 +364,12 @@ const ft = ({
|
|
|
364
364
|
const N = i.tags.some(
|
|
365
365
|
(w) => _(e, t.find((M) => M.guid === w)?.name)
|
|
366
366
|
), g = $(i.date);
|
|
367
|
-
return _(e, i.payee) || _(e, i.feed_description) || _(e, i.category) || _(e, C(g,
|
|
367
|
+
return _(e, i.payee) || _(e, i.feed_description) || _(e, i.category) || _(e, C(g, u.MONTH)) || _(e, C(g, u.DAY)) || _(e, C(g, u.FULL_MONTH_DAY)) || _(e, C(g, u.MONTH_DAY_YEAR)) || _(e, W(g, k)) || _(e, i.account) || _(e, z(i.amount, "0,0.00")) || _(e, i.memo) || N;
|
|
368
368
|
});
|
|
369
369
|
}, tt = (l, t, a) => [...l].sort((s, A) => {
|
|
370
370
|
const d = t, e = (s[d] || "") > (A[d] || "");
|
|
371
371
|
let c = e ? -1 : 1, i = e ? 1 : -1;
|
|
372
|
-
return (t ===
|
|
372
|
+
return (t === h.DATE || t === h.AMOUNT) && (c = e ? 1 : -1, i = e ? -1 : 1), a === G.ASC ? c : i;
|
|
373
373
|
}), _ = (l, t) => {
|
|
374
374
|
const a = l.toLowerCase().split(" "), s = t?.toString().toLowerCase() ?? "";
|
|
375
375
|
return a.every((A) => s.indexOf(A) > -1);
|
|
@@ -464,7 +464,8 @@ class mt {
|
|
|
464
464
|
cachedStartDate = v(m(), 90);
|
|
465
465
|
filter = {};
|
|
466
466
|
isLoading = !0;
|
|
467
|
-
|
|
467
|
+
alert = "";
|
|
468
|
+
sortColumn = h.DATE;
|
|
468
469
|
sortDirection = G.DESC;
|
|
469
470
|
onAnalyticEvent = j;
|
|
470
471
|
constructor(t) {
|
|
@@ -523,6 +524,9 @@ class mt {
|
|
|
523
524
|
setTransactions = (t) => {
|
|
524
525
|
this.transactions = t, this.transactionsLoading = !1, this.transactionsLoaded = !0;
|
|
525
526
|
};
|
|
527
|
+
setAlert = (t) => {
|
|
528
|
+
this.alert = t;
|
|
529
|
+
};
|
|
526
530
|
addTag = async (t) => {
|
|
527
531
|
await this.api.addTag({ name: t }), await this.loadTags();
|
|
528
532
|
};
|
|
@@ -557,7 +561,7 @@ class mt {
|
|
|
557
561
|
loadAssociatedBeats = async (t) => {
|
|
558
562
|
if (this.associatedBeatsLoading) return;
|
|
559
563
|
this.associatedBeatsLoading = !0;
|
|
560
|
-
const a = t ?
|
|
564
|
+
const a = t ? V(t, { representation: "date" }) : void 0;
|
|
561
565
|
try {
|
|
562
566
|
const s = await this.beatApi.getBeatsWithAssociatedTransaction(a);
|
|
563
567
|
this.setAssociatedBeats(s);
|
|
@@ -599,7 +603,7 @@ class mt {
|
|
|
599
603
|
try {
|
|
600
604
|
const a = await this.api.getTransactionsByDateRange(
|
|
601
605
|
E(t),
|
|
602
|
-
E(
|
|
606
|
+
E(O())
|
|
603
607
|
);
|
|
604
608
|
this.setTransactions(a);
|
|
605
609
|
} catch (a) {
|
|
@@ -628,7 +632,7 @@ class mt {
|
|
|
628
632
|
}
|
|
629
633
|
};
|
|
630
634
|
setFilter = (t) => {
|
|
631
|
-
this.filter = t, t.dateRange &&
|
|
635
|
+
this.filter = t, t.dateRange && U(t.dateRange.start, this.cachedStartDate) && this.loadTransactions(t.dateRange.start).then(() => {
|
|
632
636
|
t.dateRange && (this.cachedStartDate = t.dateRange.start);
|
|
633
637
|
});
|
|
634
638
|
};
|
|
@@ -691,7 +695,7 @@ class mt {
|
|
|
691
695
|
try {
|
|
692
696
|
const a = await this.api.getTransactionsByDateRange(
|
|
693
697
|
E(t),
|
|
694
|
-
E(
|
|
698
|
+
E(O())
|
|
695
699
|
);
|
|
696
700
|
this.cachedStartDate = t, this.transactions = a;
|
|
697
701
|
} catch (a) {
|
|
@@ -55,8 +55,8 @@ import e3 from "@mui/material/AlertTitle";
|
|
|
55
55
|
import t3 from "@mui/material/Link";
|
|
56
56
|
import n3 from "@mui/material/Paper";
|
|
57
57
|
import { endOfToday as o3, subDays as i3, startOfToday as c3 } from "date-fns";
|
|
58
|
-
import { T as a3 } from "../EmbeddedCard-
|
|
59
|
-
import { T as s3 } from "../TransactionDetails-
|
|
58
|
+
import { T as a3 } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-Bpp1FDUI.mjs";
|
|
60
60
|
import { T as r1 } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
61
61
|
import { f as d1 } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
62
62
|
import { C as l3 } from "../ConnectionsDrawer-DxpSlJN7.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -36,8 +36,8 @@ import { A as P } from "../Analytics-CzGzz_sE.mjs";
|
|
|
36
36
|
import Ee from "@mui/material/Tab";
|
|
37
37
|
import et from "@mui/material/Tabs";
|
|
38
38
|
import { e as tt } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
|
|
39
|
-
import { T as ve } from "../EmbeddedCard-
|
|
40
|
-
import { T as ot, c as nt } from "../TransactionDetails-
|
|
39
|
+
import { T as ve } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
40
|
+
import { T as ot, c as nt } from "../TransactionDetails-Bpp1FDUI.mjs";
|
|
41
41
|
import Te from "@mui/material/Card";
|
|
42
42
|
import De from "@mui/material/CardContent";
|
|
43
43
|
import { S as Se } from "../StatusBar-CPfSXe80.mjs";
|
|
@@ -46,7 +46,7 @@ import { u as at, C as rt } from "../CategorySelectorDrawer-DjeHNx71.mjs";
|
|
|
46
46
|
import je from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as st } from "date-fns/subDays";
|
|
48
48
|
import it from "@mui/material/IconButton";
|
|
49
|
-
import { M as ct } from "../ManageIncome-
|
|
49
|
+
import { M as ct } from "../ManageIncome-n1ueMTrW.mjs";
|
|
50
50
|
import { u as ze } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
51
51
|
import { W as lt } from "../WidgetContainer-_Fzy--dt.mjs";
|
|
52
52
|
import { u as dt, l as ut, d as mt } from "../BudgetUtil-DalEN9--.mjs";
|
|
@@ -18,7 +18,7 @@ import { C as $n } from "../CashflowStore-BEi92kJg.mjs";
|
|
|
18
18
|
import { u as Oe } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
19
19
|
import { M as Je } from "../MiniWidgetContainer-CmTGSUL5.mjs";
|
|
20
20
|
import { E as Qe } from "../EmptyState-DHAkGsjk.mjs";
|
|
21
|
-
import { R as Ze } from "../RecurringSettings-
|
|
21
|
+
import { R as Ze } from "../RecurringSettings-DxsDZAp1.mjs";
|
|
22
22
|
import et from "@mui/material/Tabs";
|
|
23
23
|
import ye from "@mui/material/Tab";
|
|
24
24
|
import { getUnixTime as le } from "date-fns/getUnixTime";
|
|
@@ -36,7 +36,7 @@ import { alpha as ot, keyframes as it } from "@mui/material/styles";
|
|
|
36
36
|
import { DataGridPro as at } from "@mui/x-data-grid-pro";
|
|
37
37
|
import { T as Ce } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
38
38
|
import W from "@mui/material/Button";
|
|
39
|
-
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-
|
|
39
|
+
import { M as rt, S as st, i as ct, b as we, c as lt } from "../ManageIncome-n1ueMTrW.mjs";
|
|
40
40
|
import { D as He } from "../Drawer-XPaLYjiO.mjs";
|
|
41
41
|
import { subDays as We } from "date-fns/subDays";
|
|
42
42
|
import { endOfToday as dt } from "date-fns/endOfToday";
|
|
@@ -46,7 +46,7 @@ import { A as Se } from "../Analytics-CzGzz_sE.mjs";
|
|
|
46
46
|
import { formatISO as ut } from "date-fns/formatISO";
|
|
47
47
|
import { fromUnixTime as De } from "date-fns/fromUnixTime";
|
|
48
48
|
import { startOfMonth as pt } from "date-fns/startOfMonth";
|
|
49
|
-
import { S as ht, a as ft } from "../EmbeddedCard-
|
|
49
|
+
import { S as ht, a as ft } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
50
50
|
import { c as Ie } from "../RecurringTransactions-DCt94TN4.mjs";
|
|
51
51
|
import { i as gt } from "../DateUtil-D0TO0DaZ.mjs";
|
|
52
52
|
import { F as bt, b as ve } from "../RepeatingTransaction-D2gmBTd0.mjs";
|
package/dist/common/index.es.js
CHANGED
|
@@ -19,8 +19,8 @@ import { css as q } from "@mxenabled/cssinjs";
|
|
|
19
19
|
import { D as Q, a as Y } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
20
20
|
import { S as ns } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
21
21
|
import { R as cs } from "../ResponsiveButton-BNsV08Ud.mjs";
|
|
22
|
-
import { T as V } from "../TransactionStore-
|
|
23
|
-
import { S as ls } from "../TransactionStore-
|
|
22
|
+
import { T as V } from "../TransactionStore-DfaO_9m-.mjs";
|
|
23
|
+
import { S as ls } from "../TransactionStore-DfaO_9m-.mjs";
|
|
24
24
|
import { S as gs } from "../StatusBar-CPfSXe80.mjs";
|
|
25
25
|
import { T as _s } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
26
26
|
import { A as fs } from "../Analytics-CzGzz_sE.mjs";
|
|
@@ -21,15 +21,16 @@ export interface TransactionsCopy {
|
|
|
21
21
|
description_edit_transaction_name: string;
|
|
22
22
|
description_save_button: string;
|
|
23
23
|
details_title: string;
|
|
24
|
+
exclude: string;
|
|
25
|
+
exclude_transaction: string;
|
|
26
|
+
excluding_transaction: string;
|
|
24
27
|
export_csv_btn: string;
|
|
25
28
|
export_csv_title: string;
|
|
26
29
|
flag_btn_aria: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
hide_trnx_subtitle_unhide_trnx: string;
|
|
32
|
-
is_hidden: string;
|
|
30
|
+
include: string;
|
|
31
|
+
include_transaction: string;
|
|
32
|
+
including_transaction: string;
|
|
33
|
+
is_excluded: string;
|
|
33
34
|
is_flagged: string;
|
|
34
35
|
manual_transaction_credit_button_label: string;
|
|
35
36
|
manual_transaction_credit_button_tooltip: string;
|
|
@@ -79,6 +80,10 @@ export interface TransactionsCopy {
|
|
|
79
80
|
tags_title: string;
|
|
80
81
|
tags_update_the_tag_name: string;
|
|
81
82
|
tags_your_tags: string;
|
|
83
|
+
transaction_excluded: string;
|
|
84
|
+
transaction_included: string;
|
|
85
|
+
transaction_not_excluded: string;
|
|
86
|
+
transaction_not_included: string;
|
|
82
87
|
transaction_status: string;
|
|
83
88
|
transactions_title: string;
|
|
84
89
|
zero_state_no_transactions: string;
|
|
@@ -41,7 +41,7 @@ import { S as it, c as zn } from "../RecurringTransactions-DCt94TN4.mjs";
|
|
|
41
41
|
import { A as Ne } from "../Account-CMjOp7S2.mjs";
|
|
42
42
|
import { S as Gn } from "../StatusBar-CPfSXe80.mjs";
|
|
43
43
|
import { i as Mt } from "../DateUtil-D0TO0DaZ.mjs";
|
|
44
|
-
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-
|
|
44
|
+
import { T as Hn, s as Nn, h as jn, S as Kn, a as Vn } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
45
45
|
import { f as Yn, D as Xn } from "../DateFormats-CaOj_4eI.mjs";
|
|
46
46
|
import { T as pe } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
47
47
|
import qn from "@mui/material/useMediaQuery";
|
|
@@ -56,11 +56,11 @@ import { formatISO as oo } from "date-fns/formatISO";
|
|
|
56
56
|
import { fromUnixTime as ro } from "date-fns/fromUnixTime";
|
|
57
57
|
import { startOfToday as st } from "date-fns/startOfToday";
|
|
58
58
|
import { subDays as ao } from "date-fns/subDays";
|
|
59
|
-
import { c as io, b as ct, S as so, i as co } from "../ManageIncome-
|
|
59
|
+
import { c as io, b as ct, S as so, i as co } from "../ManageIncome-n1ueMTrW.mjs";
|
|
60
60
|
import { LocalizationProvider as lo, DatePicker as po, StaticDatePicker as _o } from "@mui/x-date-pickers";
|
|
61
61
|
import { AdapterDateFns as Tt } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
62
62
|
import { F as At, b as Ot } from "../RepeatingTransaction-D2gmBTd0.mjs";
|
|
63
|
-
import { R as uo } from "../RecurringSettings-
|
|
63
|
+
import { R as uo } from "../RecurringSettings-DxsDZAp1.mjs";
|
|
64
64
|
import { LocalizationProvider as ho } from "@mui/x-date-pickers/LocalizationProvider";
|
|
65
65
|
import { format as mo } from "date-fns/format";
|
|
66
66
|
import go from "@mui/lab/Timeline";
|
|
@@ -2,8 +2,8 @@ import { B as p5 } from "../BeatStore-DuvvrljY.mjs";
|
|
|
2
2
|
import { jsx as t, jsxs as s, Fragment as N } from "react/jsx-runtime";
|
|
3
3
|
import { BottomSheetTransition as $1, Text as E, MerchantLogo as X, InstitutionLogo as F, P as v, H3 as h1, H2 as s1, CategoryIcon as k1, createMXTheme as e2, CheckmarkFilledIcon as t2, Icon as O1 } from "@mxenabled/mxui";
|
|
4
4
|
import C from "@mui/material/Stack";
|
|
5
|
-
import { e as K, p as r2, B as A1, b as i2 } from "../EmbeddedCard-
|
|
6
|
-
import { f as u5, C as f5, E as x5 } from "../EmbeddedCard-
|
|
5
|
+
import { e as K, p as r2, B as A1, b as i2 } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
6
|
+
import { f as u5, C as f5, E as x5 } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
7
7
|
import { CardHeader as n2, Stack as H, Button as l2, Box as L1, ToggleButtonGroup as a2, TextField as o2, Grow as c2, Alert as s2, useTheme as h2, useMediaQuery as J1, AppBar as d2, Toolbar as C2, IconButton as u1, Card as m2, List as p2, ListItem as E2, Divider as u2 } from "@mui/material";
|
|
8
8
|
import { useTheme as f2, styled as x2, Stack as f1 } from "@mui/system";
|
|
9
9
|
import { Link as M2, Icon as S, CheckCircle as y2, ChevronRight as k2 } from "@mxenabled/mx-icons";
|
|
@@ -6,8 +6,8 @@ import { endOfToday as J } from "date-fns/endOfToday";
|
|
|
6
6
|
import { startOfMonth as k } from "date-fns/startOfMonth";
|
|
7
7
|
import { startOfToday as Q } from "date-fns/startOfToday";
|
|
8
8
|
import { subDays as ee } from "date-fns/subDays";
|
|
9
|
-
import { R as Te } from "../RecurringSettings-
|
|
10
|
-
import { M as jn } from "../RecurringSettings-
|
|
9
|
+
import { R as Te } from "../RecurringSettings-DxsDZAp1.mjs";
|
|
10
|
+
import { M as jn } from "../RecurringSettings-DxsDZAp1.mjs";
|
|
11
11
|
import { addMonths as He } from "date-fns/addMonths";
|
|
12
12
|
import { subMonths as $e } from "date-fns/subMonths";
|
|
13
13
|
import { isBefore as Be } from "date-fns/isBefore";
|
|
@@ -48,8 +48,8 @@ import { g as Ce, d as dt } from "../RecurringTransactions-DCt94TN4.mjs";
|
|
|
48
48
|
import ut from "@mui/material/ListItemAvatar";
|
|
49
49
|
import mt from "@mui/material/ListItemButton";
|
|
50
50
|
import pt from "@mui/material/ListItemText";
|
|
51
|
-
import { d as gt } from "../ManageIncome-
|
|
52
|
-
import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-
|
|
51
|
+
import { d as gt } from "../ManageIncome-n1ueMTrW.mjs";
|
|
52
|
+
import { c as Zn, M as Xn, S as Jn } from "../ManageIncome-n1ueMTrW.mjs";
|
|
53
53
|
import { f as E } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
54
54
|
import { D as ie } from "../Drawer-XPaLYjiO.mjs";
|
|
55
55
|
import { b as N } from "../Localization-CkQ49EKr.mjs";
|
|
@@ -19,8 +19,8 @@ import { startOfToday as q } from "date-fns/startOfToday";
|
|
|
19
19
|
import St from "@mui/material/Button";
|
|
20
20
|
import { useTheme as Tt } from "@mui/material";
|
|
21
21
|
import { e as Mt } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
|
|
22
|
-
import { T as Dt } from "../EmbeddedCard-
|
|
23
|
-
import { T as xt } from "../TransactionDetails-
|
|
22
|
+
import { T as Dt } from "../EmbeddedCard-BqVpA1Jn.mjs";
|
|
23
|
+
import { T as xt } from "../TransactionDetails-Bpp1FDUI.mjs";
|
|
24
24
|
import vt from "@mui/material/Collapse";
|
|
25
25
|
import wt from "@mui/material/Divider";
|
|
26
26
|
import J from "@mui/material/List";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { Transaction } from '../../../../../core';
|
|
3
|
-
interface
|
|
3
|
+
interface ExcludeActionProps {
|
|
4
4
|
transaction: Transaction;
|
|
5
5
|
}
|
|
6
|
-
declare const _default: React.FunctionComponent<
|
|
6
|
+
declare const _default: React.FunctionComponent<ExcludeActionProps>;
|
|
7
7
|
export default _default;
|
|
@@ -3,7 +3,7 @@ export { default as CategoryAction } from './CategoryAction';
|
|
|
3
3
|
export { default as DateAction } from './DateAction';
|
|
4
4
|
export { default as DeleteAction } from './DeleteAction';
|
|
5
5
|
export { default as DeleteLogoAction } from './DeleteLogoAction';
|
|
6
|
-
export { default as
|
|
6
|
+
export { default as ExcludeAction } from './ExcludeAction';
|
|
7
7
|
export { default as MemoAction } from './MemoAction';
|
|
8
8
|
export { default as SplitAction } from './SplitAction';
|
|
9
9
|
export { default as TagsAction } from './TagsAction';
|