@mx-cartographer/experiences 7.2.13-alpha.mm2 → 7.2.13-alpha.mm3
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/{ManageIncome-DYH2F4Sj.mjs → ManageIncome-Cw-QhHiy.mjs} +71 -71
- package/dist/{RecurringSettings-BNdAIXRE.mjs → RecurringSettings-Dhf7DHVC.mjs} +1 -1
- package/dist/budgets/index.es.js +1 -1
- package/dist/cashflow/index.es.js +2 -2
- package/dist/finstrong/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +4 -4
- package/package.json +1 -1
|
@@ -5,36 +5,36 @@ import P from "@mui/material/Box";
|
|
|
5
5
|
import T from "@mui/material/Divider";
|
|
6
6
|
import K from "@mui/material/List";
|
|
7
7
|
import h from "@mui/material/Stack";
|
|
8
|
-
import { MerchantLogo as H, Text as S, H1 as
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import { F as d, S as N, D as Y, g as Q, R as E, e as
|
|
14
|
-
import { subDays as
|
|
8
|
+
import { MerchantLogo as H, Text as S, H1 as re, InstitutionLogo as ae, P as U } from "@mxenabled/mxui";
|
|
9
|
+
import ie from "@mui/material/ListItem";
|
|
10
|
+
import se from "@mui/material/ListItemAvatar";
|
|
11
|
+
import ce from "@mui/material/ListItemButton";
|
|
12
|
+
import le from "@mui/material/ListItemText";
|
|
13
|
+
import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-ej39mgA6.mjs";
|
|
14
|
+
import { subDays as ue } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import { b as Re, f as V } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
16
|
+
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
|
+
import { parseISO as me } from "date-fns/parseISO";
|
|
18
|
+
import $ from "@mui/material/Button";
|
|
19
|
+
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
+
import { T as X, a as ge, u as fe, S as Ce, b as be } from "./TransactionDetails-DW7T0W0z.mjs";
|
|
21
|
+
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
|
+
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
|
+
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
|
+
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
|
+
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
|
+
import { u as w, j as M, g as F, b as Ie, h as Z, p as De } from "./hooks-D6XlXHf4.mjs";
|
|
27
|
+
import { b as Ee, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
29
28
|
import { D as O } from "./Drawer-kEE73B87.mjs";
|
|
30
29
|
import { A as R } from "./WidgetContainer-C88Ecu2W.mjs";
|
|
31
|
-
import { f as
|
|
30
|
+
import { f as Re, D as Te, a as Le } from "./Dialog-CWW597AF.mjs";
|
|
31
|
+
import { formatISO as Oe } from "date-fns/formatISO";
|
|
32
32
|
import { fromUnixTime as ke } from "date-fns/fromUnixTime";
|
|
33
33
|
import { S as Ne } from "./SearchBox-B2_zLv8-.mjs";
|
|
34
34
|
import { h as Me } from "./DateUtil-BcuH7ErC.mjs";
|
|
35
35
|
import { b as B } from "./Category-CevNQ03n.mjs";
|
|
36
|
-
import { T as
|
|
37
|
-
const
|
|
36
|
+
import { T as V } from "./User-BQUxBeZV.mjs";
|
|
37
|
+
const ee = ({
|
|
38
38
|
frequency: n,
|
|
39
39
|
firstDay: t,
|
|
40
40
|
secondDay: r,
|
|
@@ -64,11 +64,11 @@ const te = ({
|
|
|
64
64
|
{ id: 6, label: o.weekday_saturday }
|
|
65
65
|
], y = [...Array(31).keys()].map((p) => ({
|
|
66
66
|
id: p + 1,
|
|
67
|
-
label:
|
|
67
|
+
label: Ee(p + 1)
|
|
68
68
|
}));
|
|
69
69
|
y[30].label += ` (${o.last_day_of_month})`;
|
|
70
|
-
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter,
|
|
71
|
-
p && s(
|
|
70
|
+
const C = y.slice(0, 15), v = y.slice(14), b = n === d.EveryWeek || n === d.EveryOtherWeek, g = n === d.TwiceAMonth || n === d.EveryMonth || n === d.EveryOtherMonth || n === d.EveryQuarter || n === d.EveryOtherQuarter, I = Se(z(), t), f = (p) => {
|
|
71
|
+
p && s(xe(p));
|
|
72
72
|
};
|
|
73
73
|
return /* @__PURE__ */ c(h, { gap: 24, sx: { m: 24 }, children: [
|
|
74
74
|
/* @__PURE__ */ e(
|
|
@@ -107,13 +107,13 @@ const te = ({
|
|
|
107
107
|
value: r || 0
|
|
108
108
|
}
|
|
109
109
|
),
|
|
110
|
-
n === d.EveryYear && /* @__PURE__ */ e(
|
|
111
|
-
|
|
110
|
+
n === d.EveryYear && /* @__PURE__ */ e(Ae, { dateAdapter: ve, children: /* @__PURE__ */ e(
|
|
111
|
+
we,
|
|
112
112
|
{
|
|
113
113
|
disablePast: !0,
|
|
114
114
|
label: o.next_payment_date,
|
|
115
115
|
onChange: f,
|
|
116
|
-
value:
|
|
116
|
+
value: I
|
|
117
117
|
}
|
|
118
118
|
) })
|
|
119
119
|
] });
|
|
@@ -147,7 +147,7 @@ const te = ({
|
|
|
147
147
|
onPrimaryAction: b,
|
|
148
148
|
title: t.payment_schedule,
|
|
149
149
|
children: /* @__PURE__ */ e(
|
|
150
|
-
|
|
150
|
+
ee,
|
|
151
151
|
{
|
|
152
152
|
firstDay: m,
|
|
153
153
|
frequency: o,
|
|
@@ -162,11 +162,11 @@ const te = ({
|
|
|
162
162
|
] });
|
|
163
163
|
}), Ge = A(
|
|
164
164
|
({ onDeleted: n, recurringTransaction: t }) => {
|
|
165
|
-
const { recurring: r } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } =
|
|
165
|
+
const { recurring: r } = w(), { selectedAccountGuids: i } = Ie(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, I] = u.useState("");
|
|
166
166
|
u.useEffect(() => {
|
|
167
167
|
o({
|
|
168
168
|
accounts: i,
|
|
169
|
-
dateRange: { start:
|
|
169
|
+
dateRange: { start: ue(z(), 90), end: _e(z()) },
|
|
170
170
|
custom: (_) => _.repeating_transaction_guid === t.guid
|
|
171
171
|
});
|
|
172
172
|
}, [t]);
|
|
@@ -190,13 +190,13 @@ const te = ({
|
|
|
190
190
|
}
|
|
191
191
|
),
|
|
192
192
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: y }),
|
|
193
|
-
/* @__PURE__ */ c(
|
|
193
|
+
/* @__PURE__ */ c(re, { color: p ? "success.main" : "text.primary", sx: { my: 4 }, children: [
|
|
194
194
|
p ? "+" : "",
|
|
195
|
-
|
|
195
|
+
J(m, "0,0.00")
|
|
196
196
|
] }),
|
|
197
|
-
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${
|
|
198
|
-
me(
|
|
199
|
-
|
|
197
|
+
/* @__PURE__ */ e(S, { color: "text.secondary", variant: "body2", children: `${r.next_payment_date}: ${Re(
|
|
198
|
+
me(t.predicted_occurs_on),
|
|
199
|
+
Te.MONTH_DAY_YEAR
|
|
200
200
|
)}` })
|
|
201
201
|
] }),
|
|
202
202
|
/* @__PURE__ */ c(K, { sx: { bgcolor: "background.paper" }, children: [
|
|
@@ -226,30 +226,30 @@ const te = ({
|
|
|
226
226
|
/* @__PURE__ */ e(T, {})
|
|
227
227
|
] }),
|
|
228
228
|
/* @__PURE__ */ e(
|
|
229
|
-
|
|
229
|
+
$,
|
|
230
230
|
{
|
|
231
231
|
color: "error",
|
|
232
232
|
onClick: G,
|
|
233
|
-
startIcon: /* @__PURE__ */ e(
|
|
233
|
+
startIcon: /* @__PURE__ */ e(pe, {}),
|
|
234
234
|
sx: { mx: 24, my: 16 },
|
|
235
235
|
variant: "text",
|
|
236
236
|
children: p ? r.delete_income_title : r.delete_expense_title
|
|
237
237
|
}
|
|
238
238
|
),
|
|
239
239
|
/* @__PURE__ */ e(S, { bold: !0, sx: { ml: 24, mt: 16 }, variant: "Body", children: r.paid_transactions }),
|
|
240
|
-
/* @__PURE__ */ e(
|
|
240
|
+
/* @__PURE__ */ e(X, { height: "30dvh", onClick: I }),
|
|
241
241
|
/* @__PURE__ */ e(
|
|
242
242
|
O,
|
|
243
243
|
{
|
|
244
244
|
ariaLabelClose: r.close_drawer_aria,
|
|
245
245
|
isOpen: !!g && !!f,
|
|
246
|
-
onClose: () =>
|
|
246
|
+
onClose: () => I(""),
|
|
247
247
|
title: r.transaction_details_drawer_title,
|
|
248
|
-
children: f && /* @__PURE__ */ e(
|
|
248
|
+
children: f && /* @__PURE__ */ e(ge, { transaction: f })
|
|
249
249
|
}
|
|
250
250
|
),
|
|
251
251
|
/* @__PURE__ */ e(
|
|
252
|
-
|
|
252
|
+
Le,
|
|
253
253
|
{
|
|
254
254
|
copy: {
|
|
255
255
|
title: p ? r.delete_income_title : r.delete_expense_title,
|
|
@@ -270,23 +270,23 @@ const te = ({
|
|
|
270
270
|
() => t.transactions.length === 0 ? "" : t.transactions[0].category_guid || "",
|
|
271
271
|
[t]
|
|
272
272
|
), o = t.account?.institutionName || "", a = t.repeating_transaction_type === E.Income, m = Q(r, t, !0);
|
|
273
|
-
return /* @__PURE__ */ c(
|
|
274
|
-
/* @__PURE__ */ c(
|
|
273
|
+
return /* @__PURE__ */ c(ie, { disableGutters: !0, disablePadding: !0, children: [
|
|
274
|
+
/* @__PURE__ */ c(ce, { onClick: () => {
|
|
275
275
|
n(t), s(!0);
|
|
276
276
|
}, children: [
|
|
277
|
-
/* @__PURE__ */ e(
|
|
277
|
+
/* @__PURE__ */ e(se, { children: /* @__PURE__ */ e(
|
|
278
278
|
H,
|
|
279
279
|
{
|
|
280
280
|
categoryGuid: l,
|
|
281
281
|
merchantGuid: t.merchant_guid
|
|
282
282
|
}
|
|
283
283
|
) }),
|
|
284
|
-
/* @__PURE__ */ e(
|
|
284
|
+
/* @__PURE__ */ e(le, { children: /* @__PURE__ */ c(h, { direction: "row", gap: 4, sx: { justifyContent: "space-between" }, children: [
|
|
285
285
|
/* @__PURE__ */ c(h, { direction: "column", sx: { width: "50%" }, children: [
|
|
286
286
|
/* @__PURE__ */ e(S, { bold: !0, variant: "body1", children: t.description }),
|
|
287
287
|
/* @__PURE__ */ c(h, { alignItems: "center", direction: "row", gap: 6, children: [
|
|
288
288
|
t.account?.institution_guid && /* @__PURE__ */ e(
|
|
289
|
-
|
|
289
|
+
ae,
|
|
290
290
|
{
|
|
291
291
|
alt: o,
|
|
292
292
|
institutionGuid: t.account?.institution_guid,
|
|
@@ -305,7 +305,7 @@ const te = ({
|
|
|
305
305
|
variant: "body1",
|
|
306
306
|
children: [
|
|
307
307
|
a ? "+" : "",
|
|
308
|
-
|
|
308
|
+
J(t.amount, "0,0.00")
|
|
309
309
|
]
|
|
310
310
|
}
|
|
311
311
|
),
|
|
@@ -351,7 +351,7 @@ const te = ({
|
|
|
351
351
|
onSearch: r,
|
|
352
352
|
onSelected: i
|
|
353
353
|
}) => {
|
|
354
|
-
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } =
|
|
354
|
+
const { recurring: s } = w(), { searchValue: l, setSearchValue: o } = fe();
|
|
355
355
|
return /* @__PURE__ */ c(h, { sx: { bgcolor: n, gap: 16, pt: 8 }, children: [
|
|
356
356
|
t && /* @__PURE__ */ e(U, { sx: { mx: 24 }, children: t }),
|
|
357
357
|
/* @__PURE__ */ e(
|
|
@@ -367,7 +367,7 @@ const te = ({
|
|
|
367
367
|
}
|
|
368
368
|
),
|
|
369
369
|
/* @__PURE__ */ e(
|
|
370
|
-
|
|
370
|
+
X,
|
|
371
371
|
{
|
|
372
372
|
bgcolor: n,
|
|
373
373
|
filter: (a) => !!a.merchant_guid,
|
|
@@ -392,12 +392,12 @@ const te = ({
|
|
|
392
392
|
const { recurring: m } = w();
|
|
393
393
|
return /* @__PURE__ */ c(h, { bgcolor: n, gap: 24, height: "100%", children: [
|
|
394
394
|
/* @__PURE__ */ c(h, { children: [
|
|
395
|
-
/* @__PURE__ */ e(
|
|
396
|
-
/* @__PURE__ */ e(
|
|
395
|
+
/* @__PURE__ */ e(Ce, { bgcolor: n, children: Me(a.date) }),
|
|
396
|
+
/* @__PURE__ */ e(be, { transaction: a })
|
|
397
397
|
] }),
|
|
398
398
|
/* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
|
|
399
399
|
/* @__PURE__ */ e(
|
|
400
|
-
|
|
400
|
+
ee,
|
|
401
401
|
{
|
|
402
402
|
firstDay: t,
|
|
403
403
|
frequency: i,
|
|
@@ -409,31 +409,31 @@ const te = ({
|
|
|
409
409
|
)
|
|
410
410
|
] });
|
|
411
411
|
}
|
|
412
|
-
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type ===
|
|
412
|
+
), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, ze = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, Be = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
|
|
413
413
|
({
|
|
414
414
|
isIncome: n = !1,
|
|
415
415
|
label: t,
|
|
416
416
|
onAddRecurringTransaction: r = () => null
|
|
417
417
|
}) => {
|
|
418
|
-
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } =
|
|
418
|
+
const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, I] = u.useState(d.EveryMonth), [f, p] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
|
|
419
419
|
() => o.find((x) => x.guid === v),
|
|
420
420
|
[v, o]
|
|
421
|
-
),
|
|
421
|
+
), ne = () => {
|
|
422
422
|
C(!0), l(n ? { ...s, custom: W } : { ...s, custom: q });
|
|
423
|
-
},
|
|
423
|
+
}, oe = async () => {
|
|
424
424
|
if (!_) {
|
|
425
425
|
j();
|
|
426
426
|
return;
|
|
427
427
|
}
|
|
428
428
|
r();
|
|
429
|
-
const x =
|
|
429
|
+
const x = de(g, ke(_.date)), D = {
|
|
430
430
|
account_guid: _.account_guid,
|
|
431
431
|
amount: _.amount,
|
|
432
432
|
created_by: 0,
|
|
433
433
|
// User
|
|
434
434
|
merchant_guid: _.merchant_guid,
|
|
435
435
|
description: _.payee || _.description || _.feed_description,
|
|
436
|
-
predicted_occurs_on:
|
|
436
|
+
predicted_occurs_on: Oe(x, { representation: "date" }),
|
|
437
437
|
recurrence_day: f,
|
|
438
438
|
recurrence_type: g,
|
|
439
439
|
repeating_transaction_type: n ? E.Income : E.Bill,
|
|
@@ -441,12 +441,12 @@ const te = ({
|
|
|
441
441
|
transaction_type: _.transaction_type,
|
|
442
442
|
user_guid: m.guid
|
|
443
443
|
};
|
|
444
|
-
await a(
|
|
444
|
+
await a(D, _), j();
|
|
445
445
|
}, j = () => {
|
|
446
446
|
b(""), C(!1);
|
|
447
447
|
};
|
|
448
448
|
return /* @__PURE__ */ c(L, { children: [
|
|
449
|
-
/* @__PURE__ */ e(
|
|
449
|
+
/* @__PURE__ */ e($, { onClick: ne, startIcon: /* @__PURE__ */ e(he, { size: 24 }), variant: "contained", children: t }),
|
|
450
450
|
/* @__PURE__ */ e(
|
|
451
451
|
O,
|
|
452
452
|
{
|
|
@@ -461,7 +461,7 @@ const te = ({
|
|
|
461
461
|
onSearch: (x) => {
|
|
462
462
|
l({
|
|
463
463
|
...s,
|
|
464
|
-
custom: (
|
|
464
|
+
custom: (D) => n ? x ? Be(D, x) : W(D) : x ? ze(D, x) : q(D)
|
|
465
465
|
});
|
|
466
466
|
},
|
|
467
467
|
onSelected: (x) => b(x)
|
|
@@ -475,7 +475,7 @@ const te = ({
|
|
|
475
475
|
ariaLabelClose: i.close_drawer_aria,
|
|
476
476
|
isOpen: !!v,
|
|
477
477
|
onClose: () => b(""),
|
|
478
|
-
onPrimaryAction:
|
|
478
|
+
onPrimaryAction: oe,
|
|
479
479
|
title: n ? i.income_details : i.expense_details,
|
|
480
480
|
children: _ && /* @__PURE__ */ e(
|
|
481
481
|
Ye,
|
|
@@ -483,7 +483,7 @@ const te = ({
|
|
|
483
483
|
firstDay: f,
|
|
484
484
|
frequency: g,
|
|
485
485
|
onFirstDayChange: p,
|
|
486
|
-
onFrequencyChange:
|
|
486
|
+
onFrequencyChange: I,
|
|
487
487
|
onSecondDayChange: G,
|
|
488
488
|
secondDay: k,
|
|
489
489
|
transaction: _
|
|
@@ -497,11 +497,11 @@ const te = ({
|
|
|
497
497
|
({ zeroStateFor: n }) => {
|
|
498
498
|
const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
|
|
499
499
|
return /* @__PURE__ */ c(h, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
|
|
500
|
-
/* @__PURE__ */ e(
|
|
500
|
+
/* @__PURE__ */ e(ye, { size: 48 }),
|
|
501
501
|
/* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
|
|
502
502
|
/* @__PURE__ */ e(U, { color: "text.secondary", sx: { mb: 32 }, variant: "subtitle2", children: l }),
|
|
503
503
|
/* @__PURE__ */ e(
|
|
504
|
-
|
|
504
|
+
te,
|
|
505
505
|
{
|
|
506
506
|
isIncome: i,
|
|
507
507
|
label: o,
|
|
@@ -514,7 +514,7 @@ const te = ({
|
|
|
514
514
|
)
|
|
515
515
|
] });
|
|
516
516
|
}
|
|
517
|
-
),
|
|
517
|
+
), It = A(({ forOverview: n = !1 }) => {
|
|
518
518
|
const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
|
|
519
519
|
i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
|
|
520
520
|
repeating_transaction_guid: a.guid
|
|
@@ -556,7 +556,7 @@ const te = ({
|
|
|
556
556
|
textAlign: "right"
|
|
557
557
|
},
|
|
558
558
|
children: /* @__PURE__ */ e(
|
|
559
|
-
|
|
559
|
+
te,
|
|
560
560
|
{
|
|
561
561
|
isIncome: !0,
|
|
562
562
|
label: t.add_income,
|
|
@@ -571,8 +571,8 @@ const te = ({
|
|
|
571
571
|
) : /* @__PURE__ */ e(qe, { zeroStateFor: "income" }) });
|
|
572
572
|
});
|
|
573
573
|
export {
|
|
574
|
-
|
|
575
|
-
|
|
574
|
+
te as A,
|
|
575
|
+
It as M,
|
|
576
576
|
Pe as R,
|
|
577
577
|
Ue as S,
|
|
578
578
|
qe as a,
|
|
@@ -7,7 +7,7 @@ import b from "@mui/material/Tabs";
|
|
|
7
7
|
import d from "@mui/material/Divider";
|
|
8
8
|
import R from "@mui/material/List";
|
|
9
9
|
import T from "@mui/material/Stack";
|
|
10
|
-
import { R as C, A as S, a as E, M as v } from "./ManageIncome-
|
|
10
|
+
import { R as C, A as S, a as E, M as v } from "./ManageIncome-Cw-QhHiy.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-D6XlXHf4.mjs";
|
|
12
12
|
import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
|
|
13
13
|
import { A as m } from "./WidgetContainer-C88Ecu2W.mjs";
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -46,7 +46,7 @@ import { u as nt, b as ot } from "../CategorySelectorDrawer-DUe4lH5-.mjs";
|
|
|
46
46
|
import De from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as at } from "date-fns/subDays";
|
|
48
48
|
import rt from "@mui/material/IconButton";
|
|
49
|
-
import { M as st } from "../ManageIncome-
|
|
49
|
+
import { M as st } from "../ManageIncome-Cw-QhHiy.mjs";
|
|
50
50
|
const it = I(() => {
|
|
51
51
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
|
|
52
52
|
return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
@@ -17,7 +17,7 @@ import { C as jn } from "../CashflowStore-D9Dpuz7X.mjs";
|
|
|
17
17
|
import { b as M } from "../Localization-2MODESHW.mjs";
|
|
18
18
|
import { M as Ke } from "../MiniWidgetContainer-D0gfmbaF.mjs";
|
|
19
19
|
import { E as Je } from "../EmptyState-DA_lfRBv.mjs";
|
|
20
|
-
import { R as Ze } from "../RecurringSettings-
|
|
20
|
+
import { R as Ze } from "../RecurringSettings-Dhf7DHVC.mjs";
|
|
21
21
|
import et from "@mui/material/Tabs";
|
|
22
22
|
import Ce from "@mui/material/Tab";
|
|
23
23
|
import { getUnixTime as U } from "date-fns/getUnixTime";
|
|
@@ -35,7 +35,7 @@ import { alpha as ot, keyframes as at } from "@mui/material/styles";
|
|
|
35
35
|
import { DataGridPro as it } from "@mui/x-data-grid-pro";
|
|
36
36
|
import { T as we } from "../TabContentContainer-j01JYR_7.mjs";
|
|
37
37
|
import G from "@mui/material/Button";
|
|
38
|
-
import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-
|
|
38
|
+
import { M as rt, S as st, i as ct, d as _e, c as lt } from "../ManageIncome-Cw-QhHiy.mjs";
|
|
39
39
|
import { D as Ge } from "../Drawer-kEE73B87.mjs";
|
|
40
40
|
import { formatISO as dt } from "date-fns/formatISO";
|
|
41
41
|
import { fromUnixTime as Ie } from "date-fns/fromUnixTime";
|
|
@@ -30,7 +30,7 @@ import Ue from "@mui/material/AccordionSummary";
|
|
|
30
30
|
import Ve from "@mui/material/CardHeader";
|
|
31
31
|
import { u as Ye } from "../useDimensions-27p2evRx.mjs";
|
|
32
32
|
import { C as qe } from "../ConnectionsDrawer-DHJ7qdWL.mjs";
|
|
33
|
-
import { R as Je } from "../RecurringSettings-
|
|
33
|
+
import { R as Je } from "../RecurringSettings-Dhf7DHVC.mjs";
|
|
34
34
|
import Qe from "@mui/material/TextField";
|
|
35
35
|
import { u as Ce } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
36
36
|
import { a as Ze } from "../Dialog-CWW597AF.mjs";
|
|
@@ -8,8 +8,8 @@ import { startOfToday as ue } from "date-fns/startOfToday";
|
|
|
8
8
|
import { subDays as me } from "date-fns/subDays";
|
|
9
9
|
import ae from "@mui/material/Skeleton";
|
|
10
10
|
import c from "@mui/material/Stack";
|
|
11
|
-
import { R as Ee } from "../RecurringSettings-
|
|
12
|
-
import { M as En } from "../RecurringSettings-
|
|
11
|
+
import { R as Ee } from "../RecurringSettings-Dhf7DHVC.mjs";
|
|
12
|
+
import { M as En } from "../RecurringSettings-Dhf7DHVC.mjs";
|
|
13
13
|
import { addMonths as ze } from "date-fns/addMonths";
|
|
14
14
|
import { subMonths as Fe } from "date-fns/subMonths";
|
|
15
15
|
import { isBefore as Ue } from "date-fns/isBefore";
|
|
@@ -41,8 +41,8 @@ import ct from "@mui/material/ListSubheader";
|
|
|
41
41
|
import lt from "@mui/material/ListItemAvatar";
|
|
42
42
|
import dt from "@mui/material/ListItemButton";
|
|
43
43
|
import ut from "@mui/material/ListItemText";
|
|
44
|
-
import { b as mt } from "../ManageIncome-
|
|
45
|
-
import { c as kn, M as Wn, S as $n } from "../ManageIncome-
|
|
44
|
+
import { b as mt } from "../ManageIncome-Cw-QhHiy.mjs";
|
|
45
|
+
import { c as kn, M as Wn, S as $n } from "../ManageIncome-Cw-QhHiy.mjs";
|
|
46
46
|
import { f as L } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
47
47
|
import { D as xe } from "../Drawer-kEE73B87.mjs";
|
|
48
48
|
import { b as N } from "../Localization-2MODESHW.mjs";
|