@mx-cartographer/experiences 7.4.2 → 7.4.3
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 +4 -0
- package/dist/{AccountDetailsContent-gke-5zMF.mjs → AccountDetailsContent-COMjOzwr.mjs} +5 -5
- package/dist/{AccountDetailsHeader-CRzfuFA2.mjs → AccountDetailsHeader-Cbi5G6fJ.mjs} +2 -2
- package/dist/{AccountFields-CPkGZ3SD.mjs → AccountFields-Cd_nOWmf.mjs} +1 -1
- package/dist/{AccountListItem-D4uG9yC-.mjs → AccountListItem-DxY4cCF1.mjs} +2 -2
- package/dist/{BudgetUtil-wjoNuj7B.mjs → BudgetUtil-Df2nII9u.mjs} +1 -1
- package/dist/{CurrencyInput-xH-hqry9.mjs → CurrencyInput-BFKcs-_K.mjs} +1 -1
- package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
- package/dist/{FinstrongStore-CfD6bbJk.mjs → FinstrongStore-BnBCtVTl.mjs} +1 -1
- package/dist/{GoalStore-j6QYHgEa.mjs → GoalStore-CrNhjvNc.mjs} +1 -1
- package/dist/{LineChart-DttMO7uS.mjs → LineChart-bc1D9xBE.mjs} +81 -81
- package/dist/{ManageIncome-CU5C0AeO.mjs → ManageIncome-A69EUO5u.mjs} +3 -3
- package/dist/{NotificationSettings-DI5B1spM.mjs → NotificationSettings-CNmJWVeI.mjs} +2 -2
- package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
- package/dist/{OriginalBalanceAction-CCmnsd7y.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +2 -2
- package/dist/{RecurringSettings-Cm5Bqcai.mjs → RecurringSettings-B0uObPlD.mjs} +2 -2
- package/dist/{RecurringTransactions-CngsRZ3K.mjs → RecurringTransactions-BqijW_8S.mjs} +1 -1
- package/dist/{RecurringTransactionsStore-Bc1wCiNB.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +1 -1
- package/dist/{SpendingLegend-B2BYr8B4.mjs → SpendingLegend-BbrZWbFX.mjs} +2 -2
- package/dist/{TransactionDetails-CtbBBSoU.mjs → TransactionDetails-COH0OKNG.mjs} +2 -2
- package/dist/accounts/index.es.js +8 -8
- package/dist/budgets/index.es.js +5 -5
- package/dist/cashflow/index.es.js +7 -7
- package/dist/common/index.es.js +11 -11
- package/dist/debts/index.es.js +4 -4
- package/dist/finstrong/index.es.js +417 -413
- package/dist/goals/index.es.js +7 -7
- package/dist/investments/index.es.js +1 -1
- package/dist/networth/index.es.js +3 -3
- package/dist/notifications/index.es.js +1 -1
- package/dist/recurringtransactions/index.es.js +8 -8
- package/dist/settings/index.es.js +2 -2
- package/dist/spending/index.es.js +3 -3
- package/dist/transactions/index.es.js +4 -4
- package/dist/trends/index.es.js +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -11,9 +11,9 @@ import M from "@mui/material/Divider";
|
|
|
11
11
|
import v from "@mui/material/ListItem";
|
|
12
12
|
import N from "@mui/material/ListItemButton";
|
|
13
13
|
import w from "@mui/material/ListItemText";
|
|
14
|
-
import { u as D } from "./AccountDetailsHeader-
|
|
14
|
+
import { u as D } from "./AccountDetailsHeader-Cbi5G6fJ.mjs";
|
|
15
15
|
import { d as z, u as E, g as O, h as X } from "./hooks-C41HAxM5.mjs";
|
|
16
|
-
import { A as at } from "./AccountListItem-
|
|
16
|
+
import { A as at } from "./AccountListItem-DxY4cCF1.mjs";
|
|
17
17
|
import { A as k } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
18
18
|
import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
|
|
19
19
|
import { b as h } from "./Localization-2MODESHW.mjs";
|
|
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
|
|
|
37
37
|
import bt from "@mui/material/MenuItem";
|
|
38
38
|
import At from "@mui/material/Select";
|
|
39
39
|
import Tt from "@mui/material/TextField";
|
|
40
|
-
import { C as St } from "./CurrencyInput-
|
|
41
|
-
import { b as Dt } from "./AccountFields-
|
|
40
|
+
import { C as St } from "./CurrencyInput-BFKcs-_K.mjs";
|
|
41
|
+
import { b as Dt } from "./AccountFields-Cd_nOWmf.mjs";
|
|
42
42
|
import Et from "@mui/material/Alert";
|
|
43
43
|
import yt from "@mui/material/AlertTitle";
|
|
44
44
|
import xt from "@mui/material/Link";
|
|
45
45
|
import wt from "@mui/material/Paper";
|
|
46
46
|
import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
|
|
47
|
-
import { T as vt, a as Lt } from "./TransactionDetails-
|
|
47
|
+
import { T as vt, a as Lt } from "./TransactionDetails-COH0OKNG.mjs";
|
|
48
48
|
import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
|
|
49
49
|
const U = ({
|
|
50
50
|
children: e,
|
|
@@ -4,7 +4,7 @@ import e from "@mui/material/Stack";
|
|
|
4
4
|
import { H3 as _, InstitutionLogo as x, Text as a, H2 as T } from "@mxenabled/mxui";
|
|
5
5
|
import d from "react";
|
|
6
6
|
import { G as N, d as f, m as D, f as w, u as E } from "./hooks-C41HAxM5.mjs";
|
|
7
|
-
import { g as I } from "./AccountFields-
|
|
7
|
+
import { g as I } from "./AccountFields-Cd_nOWmf.mjs";
|
|
8
8
|
import G from "@mui/material/Card";
|
|
9
9
|
import v from "@mui/material/CardContent";
|
|
10
10
|
import O from "@mui/material/CardHeader";
|
|
@@ -12,7 +12,7 @@ import { L as H } from "./Loader-DUaFpDGv.mjs";
|
|
|
12
12
|
import { f as M, a as P } from "./Dialog-BPTr3qHE.mjs";
|
|
13
13
|
import { I as L, P as U, S as j } from "./Account-01wOyrH1.mjs";
|
|
14
14
|
import { u as z } from "./useAccountDisplayName-CMMlIOXF.mjs";
|
|
15
|
-
import { f as B } from "./NumberFormatting-
|
|
15
|
+
import { f as B } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
16
16
|
const p = () => {
|
|
17
17
|
if (!d.useContext(N))
|
|
18
18
|
throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
|
|
@@ -2,7 +2,7 @@ import { jsx as u } from "react/jsx-runtime";
|
|
|
2
2
|
import { Icon as p, Text as y } from "@mxenabled/mxui";
|
|
3
3
|
import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
4
4
|
import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D7QljYas.mjs";
|
|
5
|
-
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-
|
|
5
|
+
import { f as _, i as b, a as N, b as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
6
6
|
import { b as i } from "./Localization-2MODESHW.mjs";
|
|
7
7
|
import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
|
|
8
8
|
const w = (l, e) => {
|
|
@@ -10,11 +10,11 @@ import B from "@mui/material/styles/useTheme";
|
|
|
10
10
|
import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
|
|
11
11
|
import { Error as A } from "@mxenabled/mx-icons";
|
|
12
12
|
import { I as j } from "./IconBacking-B9oC6uL2.mjs";
|
|
13
|
-
import { g as T } from "./AccountFields-
|
|
13
|
+
import { g as T } from "./AccountFields-Cd_nOWmf.mjs";
|
|
14
14
|
import { u as X } from "./useAccountDisplayName-CMMlIOXF.mjs";
|
|
15
15
|
import { d } from "./ConnectDrawer-CuUj16NH.mjs";
|
|
16
16
|
import { u as $ } from "./hooks-C41HAxM5.mjs";
|
|
17
|
-
import { f as k } from "./NumberFormatting-
|
|
17
|
+
import { f as k } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
18
18
|
const w = {
|
|
19
19
|
gridRow: 1,
|
|
20
20
|
gridColumn: 1,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as _ } from "./hooks-C41HAxM5.mjs";
|
|
2
2
|
import { b as d } from "./Category-CevNQ03n.mjs";
|
|
3
3
|
import { b as f } from "./Localization-2MODESHW.mjs";
|
|
4
|
-
import { f as l } from "./NumberFormatting-
|
|
4
|
+
import { f as l } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
5
5
|
const p = (n, e) => n.find((t) => t.guid === e), B = (n, e) => n.find((t) => t.guid === e), T = (n, e) => {
|
|
6
6
|
const t = n.find((r) => r.subCategories.find((a) => a.guid === e));
|
|
7
7
|
if (t)
|
|
@@ -4,7 +4,7 @@ import { css as q } from "@mxenabled/cssinjs";
|
|
|
4
4
|
import { v4 as B } from "uuid";
|
|
5
5
|
import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
6
|
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
|
-
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-
|
|
7
|
+
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
8
|
import { u as D } from "./hooks-C41HAxM5.mjs";
|
|
9
9
|
const F = ({
|
|
10
10
|
allowDecimals: o = !0,
|
|
@@ -25,7 +25,7 @@ import j from "@mui/material/ListItemText";
|
|
|
25
25
|
import { Text as y } from "@mxenabled/mxui";
|
|
26
26
|
import { f as T, a as _ } from "./Dialog-BPTr3qHE.mjs";
|
|
27
27
|
import { b as z } from "./Localization-2MODESHW.mjs";
|
|
28
|
-
import { f as q } from "./NumberFormatting-
|
|
28
|
+
import { f as q } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
29
29
|
const m = {
|
|
30
30
|
creditScore: {
|
|
31
31
|
poor: 600,
|
|
@@ -15,7 +15,7 @@ import { fromUnixTime as G } from "date-fns/fromUnixTime";
|
|
|
15
15
|
import { addYears as x } from "date-fns/addYears";
|
|
16
16
|
import { getUnixTime as K } from "date-fns/getUnixTime";
|
|
17
17
|
import { b as E } from "./Localization-2MODESHW.mjs";
|
|
18
|
-
import { a as F } from "./NumberFormatting-
|
|
18
|
+
import { a as F } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
19
19
|
import { f as B, a as U } from "./Dialog-BPTr3qHE.mjs";
|
|
20
20
|
var a = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(a || {}), $ = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))($ || {}), l = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(l || {});
|
|
21
21
|
const at = ({ description: e, label: t, title: o }) => {
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as B, jsx as t } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
3
|
-
import { useTheme as
|
|
4
|
-
import { ResponsiveChartContainer as
|
|
5
|
-
import { f as p, c as
|
|
2
|
+
import F from "@mui/material/Box";
|
|
3
|
+
import { useTheme as Y } from "@mui/material/styles";
|
|
4
|
+
import { ResponsiveChartContainer as fe, ChartsReferenceLine as xe, AreaPlot as ye, LinePlot as ge, MarkPlot as pe, BarPlot as be, ChartsXAxis as ke, ChartsYAxis as Me, ChartsAxisHighlight as Ce } from "@mui/x-charts";
|
|
5
|
+
import { f as p, c as O } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
6
6
|
import we from "@mui/material/useMediaQuery";
|
|
7
7
|
import { observer as Le } from "mobx-react-lite";
|
|
8
8
|
import P from "@mui/material/Stack";
|
|
9
9
|
import { Text as l } from "@mxenabled/mxui";
|
|
10
10
|
import { u as Se } from "./hooks-C41HAxM5.mjs";
|
|
11
|
-
import { useTheme as ve, Stack as M, Box as
|
|
11
|
+
import { useTheme as ve, Stack as M, Box as X } from "@mui/material";
|
|
12
12
|
import { ChartsTooltip as Te } from "@mui/x-charts/ChartsTooltip";
|
|
13
13
|
const De = (e) => {
|
|
14
|
-
const r =
|
|
14
|
+
const r = Y(), s = e.showLabel, o = e.style, b = o?.markLabelStyles, x = Number(e.x), u = Number(e.y), h = e.handlers?.onMarkClick, m = e.handlers?.onMouseEnter, c = e.handlers?.onMouseLeave, i = we(r.breakpoints.up("sm")), f = e.valueFormatterString ? p(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), d = i ? r.typography.Small?.fontSize : r.typography.XSmall?.fontSize, T = 30, D = 24, A = x - T / 2, I = u - 30;
|
|
15
15
|
return /* @__PURE__ */ a(B, { children: [
|
|
16
16
|
s && /* @__PURE__ */ a(B, { children: [
|
|
17
17
|
e.labelBackgroundColor && /* @__PURE__ */ t(
|
|
18
18
|
"rect",
|
|
19
19
|
{
|
|
20
20
|
fill: e.labelBackgroundColor,
|
|
21
|
-
height:
|
|
21
|
+
height: D,
|
|
22
22
|
rx: "3",
|
|
23
|
-
width:
|
|
24
|
-
x:
|
|
25
|
-
y:
|
|
23
|
+
width: T,
|
|
24
|
+
x: A,
|
|
25
|
+
y: I
|
|
26
26
|
}
|
|
27
27
|
),
|
|
28
28
|
/* @__PURE__ */ t(
|
|
@@ -37,7 +37,7 @@ const De = (e) => {
|
|
|
37
37
|
},
|
|
38
38
|
textAnchor: "middle",
|
|
39
39
|
x,
|
|
40
|
-
y: u - 28 +
|
|
40
|
+
y: u - 28 + D / 2,
|
|
41
41
|
children: f
|
|
42
42
|
}
|
|
43
43
|
)
|
|
@@ -115,7 +115,7 @@ const De = (e) => {
|
|
|
115
115
|
style: { alignItems: "center", flexDirection: "row", flexWrap: "wrap" },
|
|
116
116
|
children: [
|
|
117
117
|
/* @__PURE__ */ t(
|
|
118
|
-
|
|
118
|
+
F,
|
|
119
119
|
{
|
|
120
120
|
sx: {
|
|
121
121
|
width: 10,
|
|
@@ -215,7 +215,7 @@ function $e({
|
|
|
215
215
|
},
|
|
216
216
|
children: [
|
|
217
217
|
/* @__PURE__ */ t(
|
|
218
|
-
|
|
218
|
+
X,
|
|
219
219
|
{
|
|
220
220
|
sx: {
|
|
221
221
|
width: "12px",
|
|
@@ -269,7 +269,7 @@ function $e({
|
|
|
269
269
|
children: [
|
|
270
270
|
/* @__PURE__ */ a(M, { sx: { flexDirection: "row", alignItems: "center", gap: 8 }, children: [
|
|
271
271
|
/* @__PURE__ */ t(
|
|
272
|
-
|
|
272
|
+
X,
|
|
273
273
|
{
|
|
274
274
|
sx: {
|
|
275
275
|
width: "12px",
|
|
@@ -309,68 +309,68 @@ const Qe = ({
|
|
|
309
309
|
customLegendBoxSx: i,
|
|
310
310
|
customTooltipLabels: f,
|
|
311
311
|
datasets: d,
|
|
312
|
-
height:
|
|
313
|
-
isGraphClippingXAxis:
|
|
314
|
-
labels:
|
|
315
|
-
labelBackgroundColor:
|
|
312
|
+
height: T,
|
|
313
|
+
isGraphClippingXAxis: D = !1,
|
|
314
|
+
labels: A,
|
|
315
|
+
labelBackgroundColor: I,
|
|
316
316
|
labelFontColor: $,
|
|
317
|
-
labelFontSize:
|
|
318
|
-
margin:
|
|
319
|
-
markHandlers:
|
|
320
|
-
markStyles:
|
|
321
|
-
minRange:
|
|
322
|
-
maxRange:
|
|
317
|
+
labelFontSize: q,
|
|
318
|
+
margin: Q,
|
|
319
|
+
markHandlers: U,
|
|
320
|
+
markStyles: V,
|
|
321
|
+
minRange: J,
|
|
322
|
+
maxRange: K,
|
|
323
323
|
onItemClick: j,
|
|
324
324
|
peerAverage: W,
|
|
325
325
|
showArea: E = !1,
|
|
326
326
|
showAverage: H = !1,
|
|
327
|
-
showAxisHighlight:
|
|
327
|
+
showAxisHighlight: Z = !1,
|
|
328
328
|
showBars: z = !1,
|
|
329
|
-
showLegend:
|
|
330
|
-
showMark:
|
|
331
|
-
showMarkLabel:
|
|
332
|
-
showTooltip:
|
|
333
|
-
showXAxis:
|
|
334
|
-
showXAxisTicks:
|
|
335
|
-
showYAxis:
|
|
336
|
-
showYAxisTicks:
|
|
337
|
-
title:
|
|
338
|
-
useCustomMark:
|
|
329
|
+
showLegend: _ = !1,
|
|
330
|
+
showMark: ee = !0,
|
|
331
|
+
showMarkLabel: te = !1,
|
|
332
|
+
showTooltip: ne = !1,
|
|
333
|
+
showXAxis: re = !1,
|
|
334
|
+
showXAxisTicks: ae = !1,
|
|
335
|
+
showYAxis: ie = !1,
|
|
336
|
+
showYAxisTicks: oe = !1,
|
|
337
|
+
title: le,
|
|
338
|
+
useCustomMark: se = !1,
|
|
339
339
|
valueFormatterString: k,
|
|
340
|
-
width:
|
|
341
|
-
xAxisScaleType:
|
|
340
|
+
width: ce,
|
|
341
|
+
xAxisScaleType: de
|
|
342
342
|
}) => {
|
|
343
|
-
const y =
|
|
343
|
+
const y = Y(), he = d.flat().map((n) => n.x), C = d.flat().map((n) => n.y), G = W || Math.round(C.reduce((n, v) => v + n, 0) / C.length), w = Math.floor(Math.min(...C) / 100) * 100, L = Math.ceil(Math.max(...C) / 100) * 100, N = d.map((n, v) => ({
|
|
344
344
|
type: z ? "bar" : "line",
|
|
345
345
|
curve: h,
|
|
346
|
-
color: z ? y.palette.chart?.chart6 : u[
|
|
346
|
+
color: z ? y.palette.chart?.chart6 : u[v] ?? y.palette.primary.main,
|
|
347
347
|
data: n.map((g) => g.y),
|
|
348
348
|
area: E,
|
|
349
349
|
baseline: s,
|
|
350
350
|
showMark: !0,
|
|
351
351
|
valueFormatter: (g) => k ? p(g || 0, k) : String(g)
|
|
352
|
-
})),
|
|
352
|
+
})), me = {
|
|
353
353
|
...{
|
|
354
354
|
top: 60,
|
|
355
355
|
right: 35,
|
|
356
356
|
bottom: 50,
|
|
357
357
|
left: 50
|
|
358
358
|
},
|
|
359
|
-
...
|
|
359
|
+
...Q
|
|
360
360
|
};
|
|
361
|
-
let
|
|
361
|
+
let S = J ?? w, R = K ?? L;
|
|
362
362
|
if (o === "networthChart") {
|
|
363
|
-
const n = L - w,
|
|
364
|
-
|
|
363
|
+
const n = L - w, v = n < L * 0.05 ? 0.25 : 0.2, g = Math.max(n * v, L * 0.015);
|
|
364
|
+
S = w - g < 0 ? w : w - g, R = L + g;
|
|
365
365
|
}
|
|
366
|
-
const
|
|
366
|
+
const ue = () => {
|
|
367
367
|
if (o === "creditOverTime")
|
|
368
|
-
return
|
|
368
|
+
return O(S, 850, 5);
|
|
369
369
|
if (o === "networthChart")
|
|
370
|
-
return
|
|
370
|
+
return O(S, R, 5);
|
|
371
371
|
};
|
|
372
372
|
return /* @__PURE__ */ a(
|
|
373
|
-
|
|
373
|
+
F,
|
|
374
374
|
{
|
|
375
375
|
sx: {
|
|
376
376
|
position: "relative",
|
|
@@ -389,10 +389,10 @@ const Qe = ({
|
|
|
389
389
|
},
|
|
390
390
|
children: [
|
|
391
391
|
/* @__PURE__ */ a(
|
|
392
|
-
|
|
392
|
+
fe,
|
|
393
393
|
{
|
|
394
|
-
height:
|
|
395
|
-
margin:
|
|
394
|
+
height: T,
|
|
395
|
+
margin: me,
|
|
396
396
|
series: N,
|
|
397
397
|
sx: {
|
|
398
398
|
"& .MuiBarLabel-root": {
|
|
@@ -409,16 +409,16 @@ const Qe = ({
|
|
|
409
409
|
fontFamily: y.typography.Small.fontFamily
|
|
410
410
|
}
|
|
411
411
|
},
|
|
412
|
-
width:
|
|
413
|
-
xAxis: [{ data:
|
|
412
|
+
width: ce,
|
|
413
|
+
xAxis: [{ data: he, scaleType: de || (z ? "band" : "point") }],
|
|
414
414
|
yAxis: [
|
|
415
415
|
{
|
|
416
|
-
tickInterval:
|
|
417
|
-
min:
|
|
416
|
+
tickInterval: ue(),
|
|
417
|
+
min: D ? -22 : S,
|
|
418
418
|
max: R || 100,
|
|
419
419
|
colorMap: E && N.length < 2 ? {
|
|
420
420
|
type: "continuous",
|
|
421
|
-
min:
|
|
421
|
+
min: S,
|
|
422
422
|
max: R,
|
|
423
423
|
color: [
|
|
424
424
|
y.palette.background.paper,
|
|
@@ -430,10 +430,10 @@ const Qe = ({
|
|
|
430
430
|
],
|
|
431
431
|
children: [
|
|
432
432
|
H && /* @__PURE__ */ t(
|
|
433
|
-
|
|
433
|
+
xe,
|
|
434
434
|
{
|
|
435
435
|
lineStyle: {
|
|
436
|
-
stroke:
|
|
436
|
+
stroke: I ? y.palette.neutral.main : y.palette.neutral.dark,
|
|
437
437
|
strokeDasharray: "10, 8",
|
|
438
438
|
strokeWidth: 2
|
|
439
439
|
},
|
|
@@ -441,7 +441,7 @@ const Qe = ({
|
|
|
441
441
|
}
|
|
442
442
|
),
|
|
443
443
|
/* @__PURE__ */ t(
|
|
444
|
-
|
|
444
|
+
ye,
|
|
445
445
|
{
|
|
446
446
|
onItemClick: j,
|
|
447
447
|
...e && {
|
|
@@ -458,7 +458,7 @@ const Qe = ({
|
|
|
458
458
|
}
|
|
459
459
|
),
|
|
460
460
|
/* @__PURE__ */ t(
|
|
461
|
-
|
|
461
|
+
ge,
|
|
462
462
|
{
|
|
463
463
|
onItemClick: j,
|
|
464
464
|
slots: {
|
|
@@ -473,20 +473,20 @@ const Qe = ({
|
|
|
473
473
|
}
|
|
474
474
|
),
|
|
475
475
|
/* @__PURE__ */ t(
|
|
476
|
-
|
|
476
|
+
pe,
|
|
477
477
|
{
|
|
478
478
|
onItemClick: j,
|
|
479
|
-
slots:
|
|
479
|
+
slots: se ? {
|
|
480
480
|
mark: (n) => /* @__PURE__ */ t(
|
|
481
481
|
De,
|
|
482
482
|
{
|
|
483
|
-
handlers:
|
|
484
|
-
labelBackgroundColor:
|
|
483
|
+
handlers: U,
|
|
484
|
+
labelBackgroundColor: I,
|
|
485
485
|
labelFontColor: $,
|
|
486
|
-
labelFontSize:
|
|
487
|
-
showLabel:
|
|
488
|
-
showMark:
|
|
489
|
-
style:
|
|
486
|
+
labelFontSize: q,
|
|
487
|
+
showLabel: te,
|
|
488
|
+
showMark: ee || n.dataIndex === d[0].length - 1,
|
|
489
|
+
style: V?.(n.dataIndex) ?? {},
|
|
490
490
|
valueFormatterString: k,
|
|
491
491
|
yData: C,
|
|
492
492
|
...n
|
|
@@ -496,17 +496,17 @@ const Qe = ({
|
|
|
496
496
|
}
|
|
497
497
|
),
|
|
498
498
|
/* @__PURE__ */ t(
|
|
499
|
-
|
|
499
|
+
be,
|
|
500
500
|
{
|
|
501
501
|
barLabel: (n) => Number(n.value) > 0 ? `$${n.value}` : null,
|
|
502
502
|
borderRadius: 10
|
|
503
503
|
}
|
|
504
504
|
),
|
|
505
505
|
/* @__PURE__ */ t(
|
|
506
|
-
|
|
506
|
+
ke,
|
|
507
507
|
{
|
|
508
|
-
disableLine: !
|
|
509
|
-
disableTicks: !
|
|
508
|
+
disableLine: !re,
|
|
509
|
+
disableTicks: !ae,
|
|
510
510
|
slotProps: r ? {
|
|
511
511
|
axisLine: {
|
|
512
512
|
style: {
|
|
@@ -523,10 +523,10 @@ const Qe = ({
|
|
|
523
523
|
}
|
|
524
524
|
),
|
|
525
525
|
/* @__PURE__ */ t(
|
|
526
|
-
|
|
526
|
+
Me,
|
|
527
527
|
{
|
|
528
|
-
disableLine: !
|
|
529
|
-
disableTicks: !
|
|
528
|
+
disableLine: !ie,
|
|
529
|
+
disableTicks: !oe,
|
|
530
530
|
slotProps: r ? {
|
|
531
531
|
axisLine: {
|
|
532
532
|
style: {
|
|
@@ -542,25 +542,25 @@ const Qe = ({
|
|
|
542
542
|
sx: { ...x }
|
|
543
543
|
}
|
|
544
544
|
),
|
|
545
|
-
|
|
546
|
-
|
|
545
|
+
Z && /* @__PURE__ */ t(Ce, { x: "line" }),
|
|
546
|
+
ne && /* @__PURE__ */ t(
|
|
547
547
|
$e,
|
|
548
548
|
{
|
|
549
549
|
customLabels: f,
|
|
550
|
-
labels:
|
|
550
|
+
labels: A,
|
|
551
551
|
valueFormatterString: k
|
|
552
552
|
}
|
|
553
553
|
)
|
|
554
554
|
]
|
|
555
555
|
}
|
|
556
556
|
),
|
|
557
|
-
|
|
557
|
+
_ && /* @__PURE__ */ t(
|
|
558
558
|
Be,
|
|
559
559
|
{
|
|
560
560
|
average: H ? G : void 0,
|
|
561
561
|
customLegendBoxSx: i,
|
|
562
562
|
customLegendVariant: m,
|
|
563
|
-
labels:
|
|
563
|
+
labels: A,
|
|
564
564
|
series: N,
|
|
565
565
|
style: {
|
|
566
566
|
position: "absolute",
|
|
@@ -568,7 +568,7 @@ const Qe = ({
|
|
|
568
568
|
left: 16,
|
|
569
569
|
...c
|
|
570
570
|
},
|
|
571
|
-
title:
|
|
571
|
+
title: le,
|
|
572
572
|
valueFormatterString: k
|
|
573
573
|
}
|
|
574
574
|
)
|
|
@@ -10,21 +10,21 @@ import ie from "@mui/material/ListItem";
|
|
|
10
10
|
import se from "@mui/material/ListItemAvatar";
|
|
11
11
|
import ce from "@mui/material/ListItemButton";
|
|
12
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-
|
|
13
|
+
import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-BqijW_8S.mjs";
|
|
14
14
|
import { subDays as ue } from "date-fns/subDays";
|
|
15
15
|
import { startOfToday as z } from "date-fns/startOfToday";
|
|
16
16
|
import { endOfMonth as _e } from "date-fns/endOfMonth";
|
|
17
17
|
import { parseISO as me } from "date-fns/parseISO";
|
|
18
18
|
import $ from "@mui/material/Button";
|
|
19
19
|
import { Delete as pe, Add as he, ReceiptLong as ye } from "@mxenabled/mx-icons";
|
|
20
|
-
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-
|
|
20
|
+
import { T as X, a as ge, b as fe, S as Ce, c as be } from "./TransactionDetails-COH0OKNG.mjs";
|
|
21
21
|
import { getDayOfYear as xe } from "date-fns/getDayOfYear";
|
|
22
22
|
import { setDayOfYear as Se } from "date-fns/setDayOfYear";
|
|
23
23
|
import { AdapterDateFns as ve } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
24
24
|
import { DatePicker as we } from "@mui/x-date-pickers";
|
|
25
25
|
import { LocalizationProvider as Ae } from "@mui/x-date-pickers/LocalizationProvider";
|
|
26
26
|
import { u as w, j as F, g as G, b as Ie, h as Z, p as De } from "./hooks-C41HAxM5.mjs";
|
|
27
|
-
import { b as Ee, f as J } from "./NumberFormatting-
|
|
27
|
+
import { b as Ee, f as J } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
28
28
|
import { D as O } from "./Drawer-BEtCk82g.mjs";
|
|
29
29
|
import { A as R } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
30
30
|
import { f as Re, a as Te, D as Le } from "./Dialog-BPTr3qHE.mjs";
|
|
@@ -17,9 +17,9 @@ import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
|
17
17
|
import { A as oe, T as R, a as P, N as y } from "./ToggleListItem-ciFTiqRS.mjs";
|
|
18
18
|
import { u as D, s as T, p as I, d as se, g as ae, a as W, n as ce, b as le } from "./hooks-C41HAxM5.mjs";
|
|
19
19
|
import { b as re } from "./Localization-2MODESHW.mjs";
|
|
20
|
-
import { b as de, f as me } from "./NumberFormatting-
|
|
20
|
+
import { b as de, f as me } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
21
21
|
import { D as N } from "./Dialog-BPTr3qHE.mjs";
|
|
22
|
-
import { C as he } from "./CurrencyInput-
|
|
22
|
+
import { C as he } from "./CurrencyInput-BFKcs-_K.mjs";
|
|
23
23
|
import { u as _e } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
24
24
|
import { D as J } from "./Drawer-BEtCk82g.mjs";
|
|
25
25
|
import ue from "@mui/material/Collapse";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import o from "numeral";
|
|
2
2
|
import { g as a } from "./Localization-2MODESHW.mjs";
|
|
3
|
-
const
|
|
3
|
+
const D = 9999999999e-2;
|
|
4
4
|
var c = /* @__PURE__ */ ((t) => (t.CAD = "CAD", t.USD = "USD", t))(c || {});
|
|
5
|
-
const
|
|
5
|
+
const h = (t, r, e) => {
|
|
6
6
|
const s = [], l = (r - t) / (e - 1);
|
|
7
7
|
for (let n = 0; n < e; n++) {
|
|
8
8
|
const i = t + n * l;
|
|
9
9
|
s.push(i);
|
|
10
10
|
}
|
|
11
|
-
return s[e - 1] = r, s;
|
|
12
|
-
},
|
|
11
|
+
return s[e - 1] = r, s.map(Math.round);
|
|
12
|
+
}, w = (t, r, e) => {
|
|
13
13
|
switch (a()) {
|
|
14
14
|
case "fr-ca":
|
|
15
15
|
return o(t).format(`${r} $`, e);
|
|
16
16
|
default:
|
|
17
17
|
return o(t).format(`$${r}`, e);
|
|
18
18
|
}
|
|
19
|
-
},
|
|
19
|
+
}, $ = () => {
|
|
20
20
|
switch (a()) {
|
|
21
21
|
case "fr-ca":
|
|
22
22
|
return c.CAD;
|
|
@@ -38,11 +38,11 @@ const w = (t, r, e) => {
|
|
|
38
38
|
};
|
|
39
39
|
export {
|
|
40
40
|
c as C,
|
|
41
|
-
|
|
41
|
+
D as M,
|
|
42
42
|
N as a,
|
|
43
43
|
P as b,
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
44
|
+
h as c,
|
|
45
|
+
w as f,
|
|
46
|
+
$ as g,
|
|
47
47
|
f as i
|
|
48
48
|
};
|
|
@@ -4,8 +4,8 @@ import { observer as p } from "mobx-react-lite";
|
|
|
4
4
|
import v from "@mui/material/TextField";
|
|
5
5
|
import { L as y } from "./ListItemAction-uobBrm_a.mjs";
|
|
6
6
|
import { u as h, l as b } from "./hooks-C41HAxM5.mjs";
|
|
7
|
-
import { a as T, f as S } from "./NumberFormatting-
|
|
8
|
-
import { C as f } from "./CurrencyInput-
|
|
7
|
+
import { a as T, f as S } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
8
|
+
import { C as f } from "./CurrencyInput-BFKcs-_K.mjs";
|
|
9
9
|
const F = p(({ goal: e }) => {
|
|
10
10
|
const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
|
|
11
11
|
const n = { ...e, interest_rate: t };
|
|
@@ -7,9 +7,9 @@ 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-A69EUO5u.mjs";
|
|
11
11
|
import { u as _, j as A, g as f } from "./hooks-C41HAxM5.mjs";
|
|
12
|
-
import { R as y, F as N } from "./RecurringTransactions-
|
|
12
|
+
import { R as y, F as N } from "./RecurringTransactions-BqijW_8S.mjs";
|
|
13
13
|
import { A as m } from "./WidgetContainer-6dsjtOVg.mjs";
|
|
14
14
|
const I = h(() => {
|
|
15
15
|
const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
|
|
@@ -30,7 +30,7 @@ import { subYears as T } from "date-fns/subYears";
|
|
|
30
30
|
import { lastDayOfMonth as q } from "date-fns/lastDayOfMonth";
|
|
31
31
|
import { setDayOfYear as F } from "date-fns/setDayOfYear";
|
|
32
32
|
import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-CBdcsyuk.mjs";
|
|
33
|
-
import { b as W } from "./NumberFormatting-
|
|
33
|
+
import { b as W } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
34
34
|
import { f as v, a as k } from "./Dialog-BPTr3qHE.mjs";
|
|
35
35
|
import { b as l } from "./Localization-2MODESHW.mjs";
|
|
36
36
|
var s = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(s || {}), p = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(p || {}), O = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(O || {}), Y = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(Y || {});
|
package/dist/{RecurringTransactionsStore-Bc1wCiNB.mjs → RecurringTransactionsStore-BhBUVm9a.mjs}
RENAMED
|
@@ -8,7 +8,7 @@ import { startOfMonth as S } from "date-fns/startOfMonth";
|
|
|
8
8
|
import { startOfToday as c } from "date-fns/startOfToday";
|
|
9
9
|
import { subDays as y } from "date-fns/subDays";
|
|
10
10
|
import { F as x, A as o } from "./Fetch-DecPFeGU.mjs";
|
|
11
|
-
import { b as E, a, c as d, d as u } from "./RecurringTransactions-
|
|
11
|
+
import { b as E, a, c as d, d as u } from "./RecurringTransactions-BqijW_8S.mjs";
|
|
12
12
|
var A = /* @__PURE__ */ ((r) => (r.Small = "small", r.Medium = "medium", r.Large = "large", r))(A || {});
|
|
13
13
|
const U = 44;
|
|
14
14
|
class h {
|
|
@@ -5,13 +5,13 @@ import x from "react";
|
|
|
5
5
|
import { observer as w } from "mobx-react-lite";
|
|
6
6
|
import f from "@mui/material/Stack";
|
|
7
7
|
import { CategoryIcon as M, CategoryIconVariants as N, Text as h } from "@mxenabled/mxui";
|
|
8
|
-
import { u as k } from "./TransactionDetails-
|
|
8
|
+
import { u as k } from "./TransactionDetails-COH0OKNG.mjs";
|
|
9
9
|
import A from "@mui/material/Button";
|
|
10
10
|
import { useTheme as G } from "@mui/material";
|
|
11
11
|
import { D as O } from "./Donut-oaQFlbit.mjs";
|
|
12
12
|
import { u as $ } from "./hooks-C41HAxM5.mjs";
|
|
13
13
|
import { u as j } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
14
|
-
import { f as D } from "./NumberFormatting-
|
|
14
|
+
import { f as D } from "./NumberFormatting-DjTD0t3W.mjs";
|
|
15
15
|
import R from "@mui/material/Box";
|
|
16
16
|
const T = 5, B = (i, l, g, d) => d.reduce((o, n) => {
|
|
17
17
|
const a = i.find((s) => s.guid === n.category_guid);
|