@mx-cartographer/experiences 6.6.4 → 6.6.5
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/index.es.js +98 -105
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6,7 +6,7 @@ import B from "@mui/material/Divider";
|
|
|
6
6
|
import ae from "@mui/material/List";
|
|
7
7
|
import Dt from "@mui/material/ListSubheader";
|
|
8
8
|
import Se from "@mui/system/Stack";
|
|
9
|
-
import { AccountsIcon as Fc, P as Re, Icon as F, useTokens as
|
|
9
|
+
import { AccountsIcon as Fc, P as Re, Icon as F, useTokens as mt, Text as p, H2 as xn, CategoryIcon as Ot, DialogHeader as $c, DialogFooter as Wc, Drawer as Uc, Footer as Vc, DateRangePicker as vo, H3 as _t, H1 as Vt, TextField as mn, IconWeight as pt, MerchantLogo as Cn, CategoryIconVariants as jr, InstitutionLogo as Ct, ChevronRightIcon as Kc, THEMES as wo } from "@mxenabled/mxui";
|
|
10
10
|
import zc from "bowser";
|
|
11
11
|
import { getUnixTime as Pe } from "date-fns/getUnixTime";
|
|
12
12
|
import { intlFormat as Yc } from "date-fns/intlFormat";
|
|
@@ -71,7 +71,7 @@ import yl from "@mui/material/Dialog";
|
|
|
71
71
|
import Qr from "@mui/material/DialogContent";
|
|
72
72
|
import El from "@mui/icons-material/ArrowBackOutlined";
|
|
73
73
|
import rn from "@mui/material/CardHeader";
|
|
74
|
-
import { ChevronRight as
|
|
74
|
+
import { ChevronRight as ht, Icon as dt, AccountBalance as Tl, ExpandMore as Jr, Delete as Sl, Schedule as Al, MonetizationOn as Il, Cancel as es, CheckCircle as Wa, Add as xl, Payments as vl, NoteStack as wl, Person as Nl, ExpandLess as Dl, AddBox as ts, Star as Rl, Settings as Ol } from "@mxenabled/mx-icons";
|
|
75
75
|
import { ConnectWidget as Ll, ConnectionsWidget as Ml } from "@mxenabled/web-widget-sdk";
|
|
76
76
|
import Ua from "@mui/material/CircularProgress";
|
|
77
77
|
import { v4 as kl } from "uuid";
|
|
@@ -79,7 +79,7 @@ import Fi from "@mui/material/InputAdornment";
|
|
|
79
79
|
import Gl from "@mui/material/Radio";
|
|
80
80
|
import Yt from "@mui/material/Avatar";
|
|
81
81
|
import Ge from "@mui/material/ListItemAvatar";
|
|
82
|
-
import
|
|
82
|
+
import gt from "@mui/material/ListItemIcon";
|
|
83
83
|
import Va from "@mui/material/MenuItem";
|
|
84
84
|
import st from "@mui/material/TextField";
|
|
85
85
|
import Xi from "@mui/material/Switch";
|
|
@@ -1596,7 +1596,7 @@ const Yd = (e, n) => {
|
|
|
1596
1596
|
)
|
|
1597
1597
|
] });
|
|
1598
1598
|
}, Xd = ({ color: e, labelAverage: n, labelMain: i }) => {
|
|
1599
|
-
const a =
|
|
1599
|
+
const a = mt(), o = Zd(a, e);
|
|
1600
1600
|
return /* @__PURE__ */ l("div", { className: `mx-cmn-bar-chart-legend ${o}`, children: [
|
|
1601
1601
|
/* @__PURE__ */ t("div", { "aria-label": i, className: "mx-cmn-color-square", role: "img" }),
|
|
1602
1602
|
/* @__PURE__ */ t(p, { variant: "XSmall", children: i }),
|
|
@@ -1643,7 +1643,7 @@ const Yd = (e, n) => {
|
|
|
1643
1643
|
selectedIndex: s,
|
|
1644
1644
|
value: c
|
|
1645
1645
|
}) => {
|
|
1646
|
-
const d =
|
|
1646
|
+
const d = mt(), _ = qd(d, n, i), u = (C) => {
|
|
1647
1647
|
r && (C.key === " " || C.key === "Enter") && r(a);
|
|
1648
1648
|
}, g = s === void 0 || s === a ? "primary" : "secondary", m = () => /* @__PURE__ */ t(
|
|
1649
1649
|
p,
|
|
@@ -1720,7 +1720,7 @@ const Yd = (e, n) => {
|
|
|
1720
1720
|
width: g,
|
|
1721
1721
|
xAxisLabel: m = ""
|
|
1722
1722
|
}) => {
|
|
1723
|
-
const C =
|
|
1723
|
+
const C = mt(), f = Qd(C, g), b = _ / s * d, y = Math.abs(_) / s * i, S = c === void 0 || c === o ? "primary" : "secondary";
|
|
1724
1724
|
return /* @__PURE__ */ l("div", { className: `mx-cmn-barchart-bar-column ${f}`, children: [
|
|
1725
1725
|
/* @__PURE__ */ t("div", { style: { height: d }, children: _ >= 0 && /* @__PURE__ */ t(
|
|
1726
1726
|
zo,
|
|
@@ -1798,7 +1798,7 @@ const Yd = (e, n) => {
|
|
|
1798
1798
|
selectedIndex: d,
|
|
1799
1799
|
valueFormatter: _ = (u) => `${u}`
|
|
1800
1800
|
}) => {
|
|
1801
|
-
const u =
|
|
1801
|
+
const u = mt(), g = i_(u), m = a.reduce(t_, []), C = e !== void 0 ? e : m.reduce(Jd, 0) / m.length, f = Math.max(...m), b = Math.min(...m), y = m.reduce(e_, 0), S = f >= 0, N = b < 0, v = jo(S, N, o), A = jo(N, S, o), R = n_(C, f, b, v || A), M = (D) => d === void 0 || D === d ? i : `${i}80`, H = () => /* @__PURE__ */ t(
|
|
1802
1802
|
Yo,
|
|
1803
1803
|
{
|
|
1804
1804
|
averageLineHeight: R,
|
|
@@ -1846,7 +1846,7 @@ const Yd = (e, n) => {
|
|
|
1846
1846
|
marginBottom: e.Spacing.Medium
|
|
1847
1847
|
}
|
|
1848
1848
|
}), a_ = ({ copy: e, date: n, onNextClick: i, onPreviousClick: a }) => {
|
|
1849
|
-
const o =
|
|
1849
|
+
const o = mt(), r = o_(o);
|
|
1850
1850
|
return /* @__PURE__ */ l("div", { className: `mx-cmn-calendar-header ${r}`, children: [
|
|
1851
1851
|
/* @__PURE__ */ t(xn, { className: "mx-cmn-calendar-header-title", variant: "H3", children: oe(n, ne.MONTH_YEAR) }),
|
|
1852
1852
|
/* @__PURE__ */ l("div", { className: "mx-cmn-calendar-header-button-container", children: [
|
|
@@ -1960,7 +1960,7 @@ const l_ = ({
|
|
|
1960
1960
|
selectionType: r = "Single"
|
|
1961
1961
|
/* Single */
|
|
1962
1962
|
}) => {
|
|
1963
|
-
const s =
|
|
1963
|
+
const s = mt(), c = d_(s), [d, _] = h.useState(he), [u, g] = h.useState(n), [m, C] = h.useState(i);
|
|
1964
1964
|
h.useEffect(() => {
|
|
1965
1965
|
g(n), C(i), n && _(n);
|
|
1966
1966
|
}, [n, i]);
|
|
@@ -2363,7 +2363,7 @@ const l_ = ({
|
|
|
2363
2363
|
if (!n)
|
|
2364
2364
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
2365
2365
|
return n;
|
|
2366
|
-
}, Ne = () => qe("useAccountStore").globalStore.accountStore, Si = () => qe("useAppConfig").globalStore.appDataStore.appConfig, to = () => qe("useAnalyticsStore").globalStore.analyticsStore,
|
|
2366
|
+
}, Ne = () => qe("useAccountStore").globalStore.accountStore, Si = () => qe("useAppConfig").globalStore.appDataStore.appConfig, to = () => qe("useAnalyticsStore").globalStore.analyticsStore, lt = () => qe("useBudgetsStore").globalStore.budgetsStore, no = () => qe("useCashflowStore").globalStore.cashflowStore, Ve = () => qe("useCategoryStore").globalStore.categoryStore, Is = () => qe("useConnectStore").globalStore.connectStore, na = () => qe("useDebtsStore").globalStore.debtsStore, ia = () => qe("useGlobalStore").globalStore, de = () => qe("useGlobalUiStore").globalStore.globalUiStore, x = () => qe("globalCopyStore").globalStore.copyStore.copy, ot = () => qe("useGoalStore").globalStore.goalStore, io = () => qe("useHelpStore").globalStore.helpStore, di = () => qe("useHoldingStore").globalStore.holdingStore, f_ = () => qe("useMerchantStore").globalStore.merchantStore, xs = () => qe("useNetWorthStore").globalStore.netWorthStore, vs = () => qe("useNotificationStore").globalStore.notificationStore, Qe = () => qe("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, Lt = () => qe("useSettingsStore").globalStore.settingsStore, Oe = () => qe("useTransactionStore").globalStore.transactionStore, Mt = () => qe("useUserStore").globalStore.userStore, Y = () => ({ onEvent: qe().onEvent }), Y2 = () => ({ onPageView: qe().onPageView }), b_ = (e = "useWidgetContainerContext") => {
|
|
2367
2367
|
const n = h.useContext(Ss);
|
|
2368
2368
|
if (!n)
|
|
2369
2369
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -3143,7 +3143,7 @@ const l_ = ({
|
|
|
3143
3143
|
strokeWidth: a = ps,
|
|
3144
3144
|
children: o
|
|
3145
3145
|
}) => {
|
|
3146
|
-
const r =
|
|
3146
|
+
const r = mt(), s = x_(r, i), c = (i - a) / 2, d = i / 2;
|
|
3147
3147
|
let _ = -90 - (e ? 1 : 0), u = 0;
|
|
3148
3148
|
return /* @__PURE__ */ l("div", { className: `mx-cmn-multi-segment-donut ${s}`, children: [
|
|
3149
3149
|
/* @__PURE__ */ l("svg", { height: i, width: i, children: [
|
|
@@ -3263,7 +3263,7 @@ const l_ = ({
|
|
|
3263
3263
|
action: /* @__PURE__ */ t(
|
|
3264
3264
|
Q,
|
|
3265
3265
|
{
|
|
3266
|
-
endIcon: /* @__PURE__ */ t(
|
|
3266
|
+
endIcon: /* @__PURE__ */ t(ht, { size: 20 }),
|
|
3267
3267
|
onClick: a,
|
|
3268
3268
|
size: "small",
|
|
3269
3269
|
sx: {
|
|
@@ -3330,14 +3330,7 @@ const vn = ({
|
|
|
3330
3330
|
/* @__PURE__ */ t(
|
|
3331
3331
|
rn,
|
|
3332
3332
|
{
|
|
3333
|
-
action: a ? /* @__PURE__ */ t(Fe, { "aria-label": n, onClick: a, children: /* @__PURE__ */ t(
|
|
3334
|
-
Q,
|
|
3335
|
-
{
|
|
3336
|
-
endIcon: /* @__PURE__ */ t(lt, { name: "keyboard_arrow_right_rounded" }),
|
|
3337
|
-
onClick: o,
|
|
3338
|
-
children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: r })
|
|
3339
|
-
}
|
|
3340
|
-
),
|
|
3333
|
+
action: a ? /* @__PURE__ */ t(Fe, { "aria-label": n, onClick: a, children: /* @__PURE__ */ t(dt, { name: "close", size: 24 }) }) : o && /* @__PURE__ */ t(Q, { endIcon: /* @__PURE__ */ t(ht, {}), onClick: o, children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: r }) }),
|
|
3341
3334
|
subheader: s || null,
|
|
3342
3335
|
subheaderTypographyProps: { variant: "Small" },
|
|
3343
3336
|
sx: { pb: 4 },
|
|
@@ -3347,7 +3340,7 @@ const vn = ({
|
|
|
3347
3340
|
/* @__PURE__ */ t(wt, { ref: _, sx: { p: 0 }, children: /* @__PURE__ */ t(As, { availableHeight: u, availableWidth: g, children: i }) })
|
|
3348
3341
|
] });
|
|
3349
3342
|
}, _e = ({ height: e = 250, label: n = "", size: i = 32 }) => {
|
|
3350
|
-
const a =
|
|
3343
|
+
const a = mt();
|
|
3351
3344
|
return /* @__PURE__ */ l(E, { alignItems: "center", gap: a.Spacing.XLarge, height: e, justifyContent: "center", children: [
|
|
3352
3345
|
/* @__PURE__ */ t(Ua, { size: i }),
|
|
3353
3346
|
n && /* @__PURE__ */ t(p, { children: n })
|
|
@@ -3600,7 +3593,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3600
3593
|
setHasValidInput: u,
|
|
3601
3594
|
...g
|
|
3602
3595
|
}) => {
|
|
3603
|
-
const [m, C] = h.useState(""), { common: f } = x(), b = o || f.currency_input, y =
|
|
3596
|
+
const [m, C] = h.useState(""), { common: f } = x(), b = o || f.currency_input, y = mt(), S = O_(y), N = /^[0-9]*$/, v = /^(\d)*(\,)?([0-9]{1,2})?$/, A = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
3604
3597
|
let R;
|
|
3605
3598
|
const M = h.useRef(kl());
|
|
3606
3599
|
if (e)
|
|
@@ -3699,7 +3692,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3699
3692
|
placeholder: a = "Search",
|
|
3700
3693
|
searchValue: o
|
|
3701
3694
|
}) => {
|
|
3702
|
-
const r =
|
|
3695
|
+
const r = mt(), s = /* @__PURE__ */ t(
|
|
3703
3696
|
Fe,
|
|
3704
3697
|
{
|
|
3705
3698
|
"aria-label": n,
|
|
@@ -3812,7 +3805,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3812
3805
|
}
|
|
3813
3806
|
), Oa = ({ iconName: e, label: n, onClick: i, value: a }) => {
|
|
3814
3807
|
const o = /* @__PURE__ */ l(J, { children: [
|
|
3815
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: e, sx: { color: "text.primary" }, weight:
|
|
3808
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: e, sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
3816
3809
|
/* @__PURE__ */ t(
|
|
3817
3810
|
re,
|
|
3818
3811
|
{
|
|
@@ -3825,7 +3818,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3825
3818
|
] });
|
|
3826
3819
|
return i ? /* @__PURE__ */ t(K, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(ue, { onClick: i, children: [
|
|
3827
3820
|
o,
|
|
3828
|
-
/* @__PURE__ */ t(
|
|
3821
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", size: 24 }) })
|
|
3829
3822
|
] }) }) : /* @__PURE__ */ t(K, { disableGutters: !1, disablePadding: !1, children: o });
|
|
3830
3823
|
}, ao = ({
|
|
3831
3824
|
body: e,
|
|
@@ -3853,7 +3846,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3853
3846
|
{
|
|
3854
3847
|
name: n,
|
|
3855
3848
|
sx: { color: "primary.light", fontSize: 16 },
|
|
3856
|
-
weight:
|
|
3849
|
+
weight: pt.Dark
|
|
3857
3850
|
}
|
|
3858
3851
|
)
|
|
3859
3852
|
}
|
|
@@ -3877,7 +3870,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3877
3870
|
/* @__PURE__ */ t(
|
|
3878
3871
|
Q,
|
|
3879
3872
|
{
|
|
3880
|
-
endIcon: /* @__PURE__ */ t(
|
|
3873
|
+
endIcon: /* @__PURE__ */ t(ht, {}),
|
|
3881
3874
|
onClick: () => r(!0),
|
|
3882
3875
|
sx: {
|
|
3883
3876
|
pl: 0,
|
|
@@ -3919,7 +3912,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3919
3912
|
...c
|
|
3920
3913
|
},
|
|
3921
3914
|
children: [
|
|
3922
|
-
/* @__PURE__ */ t(
|
|
3915
|
+
/* @__PURE__ */ t(dt, { name: i, size: 54, sx: { color: e } }),
|
|
3923
3916
|
/* @__PURE__ */ t(xn, { color: "text.primary", sx: { textWrap: "wrap", textAlign: "center" }, children: n }),
|
|
3924
3917
|
/* @__PURE__ */ t(
|
|
3925
3918
|
p,
|
|
@@ -3984,7 +3977,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
3984
3977
|
primaryTypographyProps: { variant: "Body" }
|
|
3985
3978
|
}
|
|
3986
3979
|
),
|
|
3987
|
-
!n && !d && /* @__PURE__ */ t(
|
|
3980
|
+
!n && !d && /* @__PURE__ */ t(ht, {})
|
|
3988
3981
|
] }),
|
|
3989
3982
|
/* @__PURE__ */ t(
|
|
3990
3983
|
Me,
|
|
@@ -4075,7 +4068,7 @@ const Zo = "connect_widget", qo = "connections_widget", R_ = ({
|
|
|
4075
4068
|
/* @__PURE__ */ t(p, { variant: "Body", children: o }),
|
|
4076
4069
|
/* @__PURE__ */ t(p, { color: "text.secondary", variant: "XSmall", children: r })
|
|
4077
4070
|
] }) }) }),
|
|
4078
|
-
!n && /* @__PURE__ */ t(
|
|
4071
|
+
!n && /* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(ht, {}) })
|
|
4079
4072
|
]
|
|
4080
4073
|
}
|
|
4081
4074
|
)
|
|
@@ -4277,7 +4270,7 @@ const er = (e, n) => !e && !n ? 0 : !e && n ? 101 : n / e * 100, tr = (e, n) =>
|
|
|
4277
4270
|
};
|
|
4278
4271
|
return e > 100 ? (i.background = n.palette.error.main, i.mercury = n.palette.error.lighter) : e > 80 && (i.background = n.palette.warning.main, i.text = n.palette.grey[900], i.mercury = n.palette.warning.lighter), i;
|
|
4279
4272
|
}, F_ = () => {
|
|
4280
|
-
const { budgets: e } =
|
|
4273
|
+
const { budgets: e } = lt();
|
|
4281
4274
|
return e.map((i) => {
|
|
4282
4275
|
const a = i.transaction_total;
|
|
4283
4276
|
return i.amount - a;
|
|
@@ -5649,7 +5642,7 @@ const vu = ({ transaction: e, onClick: n }) => {
|
|
|
5649
5642
|
bgcolor: e = "background.default",
|
|
5650
5643
|
children: n
|
|
5651
5644
|
}) => /* @__PURE__ */ t(L, { display: "inline-block", pb: 4, pl: 24, pt: 4, sx: { bgcolor: e, width: "100%" }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "XSmall", children: n }) }), wu = ({ showIcon: e = !0, showSubtitle: n = !0 }) => {
|
|
5652
|
-
const i =
|
|
5645
|
+
const i = mt(), { transactions: a } = x();
|
|
5653
5646
|
return /* @__PURE__ */ l(E, { alignItems: "center", gap: i.Spacing.Small, height: "auto", mt: i.Spacing.Large, children: [
|
|
5654
5647
|
e && /* @__PURE__ */ t(rd, { color: "secondary", sx: { fontSize: 32 } }),
|
|
5655
5648
|
/* @__PURE__ */ t(p, { bold: !0, color: "secondary", variant: "Small", children: a.zero_state_no_transactions }),
|
|
@@ -6144,7 +6137,7 @@ const Wu = ({
|
|
|
6144
6137
|
primaryTypographyProps: { fontWeight: "normal", variant: "Body" }
|
|
6145
6138
|
}
|
|
6146
6139
|
),
|
|
6147
|
-
/* @__PURE__ */ t(
|
|
6140
|
+
/* @__PURE__ */ t(gt, { children: s || a ? /* @__PURE__ */ t(Qi, {}) : /* @__PURE__ */ t(qi, {}) })
|
|
6148
6141
|
]
|
|
6149
6142
|
},
|
|
6150
6143
|
e.guid
|
|
@@ -6476,7 +6469,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6476
6469
|
secondary: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.category ?? c.actions_select_a_category })
|
|
6477
6470
|
}
|
|
6478
6471
|
),
|
|
6479
|
-
/* @__PURE__ */ t(
|
|
6472
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
6480
6473
|
]
|
|
6481
6474
|
}
|
|
6482
6475
|
) }),
|
|
@@ -6514,7 +6507,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6514
6507
|
)
|
|
6515
6508
|
] });
|
|
6516
6509
|
}, Hs = ({ transaction: e }) => {
|
|
6517
|
-
const n =
|
|
6510
|
+
const n = mt(), { onEvent: i } = Y(), { updateTransaction: a } = Oe(), { updateManualTransaction: o } = Nt(), { common: r, transactions: s } = x(), [c, d] = h.useState(!1), [_, u] = h.useState(e.date), g = (C) => {
|
|
6518
6511
|
u(Pe(C));
|
|
6519
6512
|
}, m = async () => {
|
|
6520
6513
|
if (e.is_manual && !e.guid) {
|
|
@@ -6531,7 +6524,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6531
6524
|
i(V.ON_TRANSACTION_DATE_CLICK), d(!0);
|
|
6532
6525
|
},
|
|
6533
6526
|
children: [
|
|
6534
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "calendar_month", sx: { color: "text.primary" }, weight:
|
|
6527
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "calendar_month", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
6535
6528
|
/* @__PURE__ */ t(
|
|
6536
6529
|
re,
|
|
6537
6530
|
{
|
|
@@ -6540,7 +6533,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6540
6533
|
secondary: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: oe($e(e.date), ne.YEAR_MONTH_DAY) })
|
|
6541
6534
|
}
|
|
6542
6535
|
),
|
|
6543
|
-
/* @__PURE__ */ t(
|
|
6536
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
6544
6537
|
]
|
|
6545
6538
|
}
|
|
6546
6539
|
) }),
|
|
@@ -6590,7 +6583,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6590
6583
|
secondary: r.manual_transaction_delete_subtitle
|
|
6591
6584
|
}
|
|
6592
6585
|
),
|
|
6593
|
-
/* @__PURE__ */ t(
|
|
6586
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(ci, {}) })
|
|
6594
6587
|
]
|
|
6595
6588
|
}
|
|
6596
6589
|
) }),
|
|
@@ -6624,9 +6617,9 @@ const Bs = ({ transaction: e }) => {
|
|
|
6624
6617
|
n(V.ON_TRANSACTION_DELETE_LOGO_CLICK), c(!0);
|
|
6625
6618
|
},
|
|
6626
6619
|
children: [
|
|
6627
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "delete", sx: { color: "text.primary" }, weight:
|
|
6620
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "delete", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
6628
6621
|
/* @__PURE__ */ t(re, { primary: r.merchant_logo_title, secondary: r.merchant_logo_desc }),
|
|
6629
|
-
/* @__PURE__ */ t(
|
|
6622
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
6630
6623
|
]
|
|
6631
6624
|
}
|
|
6632
6625
|
) }),
|
|
@@ -6678,9 +6671,9 @@ const Bs = ({ transaction: e }) => {
|
|
|
6678
6671
|
{
|
|
6679
6672
|
name: "visibilityOff",
|
|
6680
6673
|
sx: { color: "text.primary" },
|
|
6681
|
-
weight:
|
|
6674
|
+
weight: pt.Dark
|
|
6682
6675
|
}
|
|
6683
|
-
) : /* @__PURE__ */ t(F, { name: "visibility", sx: { color: "text.primary" }, weight:
|
|
6676
|
+
) : /* @__PURE__ */ t(F, { name: "visibility", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
6684
6677
|
/* @__PURE__ */ t(
|
|
6685
6678
|
re,
|
|
6686
6679
|
{
|
|
@@ -6688,7 +6681,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6688
6681
|
secondary: d ? r.hide_trnx_desc_unhiding : r.hide_trnx_desc_hiding
|
|
6689
6682
|
}
|
|
6690
6683
|
),
|
|
6691
|
-
/* @__PURE__ */ t(
|
|
6684
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(
|
|
6692
6685
|
Xi,
|
|
6693
6686
|
{
|
|
6694
6687
|
checked: d,
|
|
@@ -6759,7 +6752,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6759
6752
|
n(V.ON_TRANSACTION_MEMO_CLICK), c(!0);
|
|
6760
6753
|
},
|
|
6761
6754
|
children: [
|
|
6762
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "article", sx: { color: "text.primary" }, weight:
|
|
6755
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "article", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
6763
6756
|
/* @__PURE__ */ t(
|
|
6764
6757
|
re,
|
|
6765
6758
|
{
|
|
@@ -6776,7 +6769,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6776
6769
|
)
|
|
6777
6770
|
}
|
|
6778
6771
|
),
|
|
6779
|
-
/* @__PURE__ */ t(
|
|
6772
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
6780
6773
|
]
|
|
6781
6774
|
}
|
|
6782
6775
|
) }),
|
|
@@ -6816,7 +6809,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6816
6809
|
onUpdateAmount: a,
|
|
6817
6810
|
split: o
|
|
6818
6811
|
}) => {
|
|
6819
|
-
const r =
|
|
6812
|
+
const r = mt(), { onEvent: s } = Y(), { transactions: c } = x(), [d, _] = h.useState(`${o.amount}`), [u, g] = h.useState(!1), m = e === 0, C = (f) => {
|
|
6820
6813
|
isNaN(Number(f)) || (_(f), a(e, Number(f)));
|
|
6821
6814
|
};
|
|
6822
6815
|
return /* @__PURE__ */ l(
|
|
@@ -6918,7 +6911,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
6918
6911
|
splits: o,
|
|
6919
6912
|
transaction: r
|
|
6920
6913
|
}) => {
|
|
6921
|
-
const s =
|
|
6914
|
+
const s = mt(), { transactions: c } = x(), { onEvent: d } = Y(), [_, u] = h.useState("");
|
|
6922
6915
|
return h.useEffect(() => {
|
|
6923
6916
|
u(o.length <= 1 ? c.split_transaction_errors_min_splits : ""), u(
|
|
6924
6917
|
o[0].amount < 0 ? T(
|
|
@@ -7024,7 +7017,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7024
7017
|
}, [f]);
|
|
7025
7018
|
return /* @__PURE__ */ l(h.Fragment, { children: [
|
|
7026
7019
|
e && /* @__PURE__ */ t(K, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ l(ue, { onClick: A, children: [
|
|
7027
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "call_split", sx: { color: "text.primary" }, weight:
|
|
7020
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "call_split", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
7028
7021
|
/* @__PURE__ */ t(
|
|
7029
7022
|
re,
|
|
7030
7023
|
{
|
|
@@ -7032,7 +7025,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7032
7025
|
secondary: e.has_been_split || e.parent_guid ? r.split_transaction_unsplit_subtitle : r.split_transaction_desc
|
|
7033
7026
|
}
|
|
7034
7027
|
),
|
|
7035
|
-
/* @__PURE__ */ t(
|
|
7028
|
+
/* @__PURE__ */ t(gt, { children: e.has_been_split || e.parent_guid ? /* @__PURE__ */ t(F, { name: "delete", weight: pt.Dark }) : /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
7036
7029
|
] }) }),
|
|
7037
7030
|
/* @__PURE__ */ l(
|
|
7038
7031
|
ce,
|
|
@@ -7146,7 +7139,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7146
7139
|
)
|
|
7147
7140
|
] });
|
|
7148
7141
|
}, Sh = I(Th), Ah = ({ onSearchValueChanged: e, searchValue: n }) => {
|
|
7149
|
-
const { common: i, transactions: a } = x(), o =
|
|
7142
|
+
const { common: i, transactions: a } = x(), o = mt(), r = /* @__PURE__ */ t(
|
|
7150
7143
|
Fe,
|
|
7151
7144
|
{
|
|
7152
7145
|
"aria-label": a.tags_cancel_search || "Search",
|
|
@@ -7217,7 +7210,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7217
7210
|
onClick: () => e(i.guid),
|
|
7218
7211
|
role: "checkbox",
|
|
7219
7212
|
children: [
|
|
7220
|
-
/* @__PURE__ */ t(
|
|
7213
|
+
/* @__PURE__ */ t(gt, { sx: { ml: 0 }, children: /* @__PURE__ */ t(Pi, { checked: n.includes(i.guid), edge: "start", tabIndex: -1 }) }),
|
|
7221
7214
|
/* @__PURE__ */ t(re, { children: i.name })
|
|
7222
7215
|
]
|
|
7223
7216
|
}
|
|
@@ -7309,7 +7302,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7309
7302
|
n(V.ON_TRANSACTION_TAGS_CLICK), _(!0);
|
|
7310
7303
|
},
|
|
7311
7304
|
children: [
|
|
7312
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "local_offer", sx: { color: "text.primary" }, weight:
|
|
7305
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(F, { name: "local_offer", sx: { color: "text.primary" }, weight: pt.Dark }) }) }),
|
|
7313
7306
|
/* @__PURE__ */ t(
|
|
7314
7307
|
re,
|
|
7315
7308
|
{
|
|
@@ -7318,7 +7311,7 @@ const Bs = ({ transaction: e }) => {
|
|
|
7318
7311
|
secondary: /* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: e.tags?.length > 0 ? f : s.tags_desc })
|
|
7319
7312
|
}
|
|
7320
7313
|
),
|
|
7321
|
-
/* @__PURE__ */ t(
|
|
7314
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: "chevron_right", weight: pt.Dark }) })
|
|
7322
7315
|
]
|
|
7323
7316
|
}
|
|
7324
7317
|
) }),
|
|
@@ -12189,7 +12182,7 @@ const Rm = (e, n) => {
|
|
|
12189
12182
|
justifyContent: "space-between",
|
|
12190
12183
|
children: [
|
|
12191
12184
|
/* @__PURE__ */ t(p, { color: "primary.light", variant: "Body", children: n.reorder_goals_title }),
|
|
12192
|
-
/* @__PURE__ */ t(
|
|
12185
|
+
/* @__PURE__ */ t(ht, { color: "primary" })
|
|
12193
12186
|
]
|
|
12194
12187
|
}
|
|
12195
12188
|
) }) }) }),
|
|
@@ -12284,7 +12277,7 @@ const Rm = (e, n) => {
|
|
|
12284
12277
|
), [c, d] = h.useState(!1);
|
|
12285
12278
|
let _ = n.manage_saving_goals, u = n.manage_saving_drawer_title, g = n.manage_saving_title, m = n.manage_saving_description;
|
|
12286
12279
|
return e === U.DEBT_TRACK ? (_ = n.manage_debt_goals, u = n.manage_debt_drawer_title, g = n.manage_debt_title, m = n.manage_debt_description) : e === U.RETIREMENT_TRACK && (_ = n.manage_retirement_goals, u = n.manage_retirement_drawer_title, g = n.manage_retirement_title, m = n.manage_retirement_description), /* @__PURE__ */ l(E, { children: [
|
|
12287
|
-
/* @__PURE__ */ t(Q, { endIcon: /* @__PURE__ */ t(
|
|
12280
|
+
/* @__PURE__ */ t(Q, { endIcon: /* @__PURE__ */ t(ht, {}), onClick: () => d(!0), children: _ }),
|
|
12288
12281
|
/* @__PURE__ */ t(
|
|
12289
12282
|
ce,
|
|
12290
12283
|
{
|
|
@@ -12410,16 +12403,16 @@ const Rm = (e, n) => {
|
|
|
12410
12403
|
d
|
|
12411
12404
|
),
|
|
12412
12405
|
children: [
|
|
12413
|
-
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: a }, variant: "rounded", children: /* @__PURE__ */ t(
|
|
12406
|
+
/* @__PURE__ */ t(Ge, { children: /* @__PURE__ */ t(Yt, { sx: { bgcolor: a }, variant: "rounded", children: /* @__PURE__ */ t(dt, { name: o, sx: { color: "grey.900" } }) }) }),
|
|
12414
12407
|
/* @__PURE__ */ t(re, { primary: r, secondary: s, sx: { mr: 24 } }),
|
|
12415
|
-
!g && /* @__PURE__ */ t(
|
|
12408
|
+
!g && /* @__PURE__ */ t(ht, {}),
|
|
12416
12409
|
g && (_ ? /* @__PURE__ */ t(Dl, {}) : /* @__PURE__ */ t(Jr, {}))
|
|
12417
12410
|
]
|
|
12418
12411
|
}
|
|
12419
12412
|
) }),
|
|
12420
12413
|
/* @__PURE__ */ t(B, { variant: "inset" }),
|
|
12421
12414
|
g && /* @__PURE__ */ t(Ei, { in: _, children: /* @__PURE__ */ t(ae, { sx: { bgcolor: "background.default" }, children: c.map((m, C) => /* @__PURE__ */ t(K, { sx: { pl: 48 }, children: /* @__PURE__ */ l(ue, { onClick: () => n(m.label, m.metaType, d), children: [
|
|
12422
|
-
/* @__PURE__ */ t(
|
|
12415
|
+
/* @__PURE__ */ t(gt, { sx: { mr: 8 }, children: /* @__PURE__ */ t(dt, { name: m.icon }) }),
|
|
12423
12416
|
/* @__PURE__ */ t(
|
|
12424
12417
|
re,
|
|
12425
12418
|
{
|
|
@@ -12427,7 +12420,7 @@ const Rm = (e, n) => {
|
|
|
12427
12420
|
primaryTypographyProps: { variant: "Body" }
|
|
12428
12421
|
}
|
|
12429
12422
|
),
|
|
12430
|
-
/* @__PURE__ */ t(
|
|
12423
|
+
/* @__PURE__ */ t(ht, {})
|
|
12431
12424
|
] }) }, C)) }) })
|
|
12432
12425
|
] }) });
|
|
12433
12426
|
}, sc = ({
|
|
@@ -12547,7 +12540,7 @@ const Rm = (e, n) => {
|
|
|
12547
12540
|
secondary: G(e.balance || 0, "0,0.00")
|
|
12548
12541
|
}
|
|
12549
12542
|
),
|
|
12550
|
-
/* @__PURE__ */ t(
|
|
12543
|
+
/* @__PURE__ */ t(ht, {})
|
|
12551
12544
|
] }),
|
|
12552
12545
|
/* @__PURE__ */ t(ce, { isOpen: a, onClose: () => o(!1), title: n.account_details, children: /* @__PURE__ */ l(E, { children: [
|
|
12553
12546
|
/* @__PURE__ */ t(fo, {}),
|
|
@@ -12599,7 +12592,7 @@ const Rm = (e, n) => {
|
|
|
12599
12592
|
/* @__PURE__ */ t(ts, { filled: !0 }),
|
|
12600
12593
|
o.details_add_account
|
|
12601
12594
|
] }) }),
|
|
12602
|
-
/* @__PURE__ */ t(
|
|
12595
|
+
/* @__PURE__ */ t(ht, { color: "primary" })
|
|
12603
12596
|
] }) }) : /* @__PURE__ */ l(E, { sx: { gap: 8, my: 24, mx: 24 }, children: [
|
|
12604
12597
|
/* @__PURE__ */ t(Q, { onClick: () => u(!0), variant: "text", children: o.details_change_account }),
|
|
12605
12598
|
/* @__PURE__ */ t(
|
|
@@ -12629,7 +12622,7 @@ const Rm = (e, n) => {
|
|
|
12629
12622
|
secondary: G(m?.balance || 0, "0,0.00")
|
|
12630
12623
|
}
|
|
12631
12624
|
),
|
|
12632
|
-
/* @__PURE__ */ t(
|
|
12625
|
+
/* @__PURE__ */ t(ht, {})
|
|
12633
12626
|
] }) }, m.guid)) }),
|
|
12634
12627
|
/* @__PURE__ */ t(p, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: a.account_types[2] }),
|
|
12635
12628
|
/* @__PURE__ */ t(ae, { sx: { bgcolor: "background.paper" }, children: i.map((m) => /* @__PURE__ */ t(K, { children: /* @__PURE__ */ l(ue, { onClick: () => g(m.guid), children: [
|
|
@@ -12647,7 +12640,7 @@ const Rm = (e, n) => {
|
|
|
12647
12640
|
secondary: G(m?.balance || 0, "0,0.00")
|
|
12648
12641
|
}
|
|
12649
12642
|
),
|
|
12650
|
-
/* @__PURE__ */ t(
|
|
12643
|
+
/* @__PURE__ */ t(ht, {})
|
|
12651
12644
|
] }) }, m.guid)) }),
|
|
12652
12645
|
/* @__PURE__ */ t(
|
|
12653
12646
|
Rs,
|
|
@@ -12783,7 +12776,7 @@ const Rm = (e, n) => {
|
|
|
12783
12776
|
/* @__PURE__ */ t(ts, { filled: !0 }),
|
|
12784
12777
|
n.details_add_account
|
|
12785
12778
|
] }) }),
|
|
12786
|
-
/* @__PURE__ */ t(
|
|
12779
|
+
/* @__PURE__ */ t(ht, { color: "primary" })
|
|
12787
12780
|
] }) }),
|
|
12788
12781
|
/* @__PURE__ */ t(
|
|
12789
12782
|
sc,
|
|
@@ -14020,7 +14013,7 @@ const Rp = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14020
14013
|
/* @__PURE__ */ t(Vt, { children: G(e, "0,0") }),
|
|
14021
14014
|
e !== 0 && /* @__PURE__ */ l(E, { sx: { color: a ? "success.main" : "text.secondary" }, children: [
|
|
14022
14015
|
/* @__PURE__ */ l(E, { sx: { flexDirection: "row", gap: 8 }, children: [
|
|
14023
|
-
/* @__PURE__ */ t(
|
|
14016
|
+
/* @__PURE__ */ t(dt, { name: r, size: 20 }),
|
|
14024
14017
|
/* @__PURE__ */ l(p, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: [
|
|
14025
14018
|
G(i, "0,0.00"),
|
|
14026
14019
|
" "
|
|
@@ -14032,7 +14025,7 @@ const Rp = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14032
14025
|
}, Op = {
|
|
14033
14026
|
zero_state_description: "Connect your accounts to view details"
|
|
14034
14027
|
}, Lp = ({ copy: e }) => /* @__PURE__ */ l(E, { sx: { flexDirection: "row", gap: 12, pb: 16, px: 16 }, children: [
|
|
14035
|
-
/* @__PURE__ */ t(
|
|
14028
|
+
/* @__PURE__ */ t(dt, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
|
|
14036
14029
|
/* @__PURE__ */ l(E, { children: [
|
|
14037
14030
|
/* @__PURE__ */ t(p, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
|
|
14038
14031
|
/* @__PURE__ */ t(p, { sx: { color: "text.secondary" }, variant: "body2", children: Op.zero_state_description })
|
|
@@ -14110,14 +14103,14 @@ const Rp = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
14110
14103
|
const [a, o] = h.useState(!1);
|
|
14111
14104
|
return /* @__PURE__ */ l(J, { children: [
|
|
14112
14105
|
/* @__PURE__ */ t(K, { sx: (r) => ({ backgroundColor: r.palette.background.paper }), children: /* @__PURE__ */ l(ue, { onClick: () => o(!a), children: [
|
|
14113
|
-
i && /* @__PURE__ */ t(
|
|
14106
|
+
i && /* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(F, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
14114
14107
|
/* @__PURE__ */ t(
|
|
14115
14108
|
re,
|
|
14116
14109
|
{
|
|
14117
14110
|
primary: /* @__PURE__ */ t(p, { sx: { fontWeight: 700 }, variant: "Body", children: n })
|
|
14118
14111
|
}
|
|
14119
14112
|
),
|
|
14120
|
-
/* @__PURE__ */ t(
|
|
14113
|
+
/* @__PURE__ */ t(gt, { children: a ? /* @__PURE__ */ t(F, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(F, { name: "expand_more", size: 24 }) })
|
|
14121
14114
|
] }) }),
|
|
14122
14115
|
/* @__PURE__ */ t(B, {}),
|
|
14123
14116
|
/* @__PURE__ */ t(Ei, { in: a, timeout: "auto", unmountOnExit: !0, children: e.map((r, s) => /* @__PURE__ */ l(ae, { children: [
|
|
@@ -14462,7 +14455,7 @@ const Up = (e, n) => {
|
|
|
14462
14455
|
const i = si(n[e].delivered_at), a = si(n[e - 1]?.delivered_at);
|
|
14463
14456
|
return !Kl(i, a);
|
|
14464
14457
|
}, Vp = ({ date: e }) => /* @__PURE__ */ t(L, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(p, { bold: !0, variant: "Small", children: ta(e) }) }), Kp = ({ notification: e }) => {
|
|
14465
|
-
const { accounts: n } = Ne(), { budgets: i } =
|
|
14458
|
+
const { accounts: n } = Ne(), { budgets: i } = lt(), { accounts: a } = x(), o = n.find((d) => d.guid === e.entity_guid), r = i.find((d) => d.guid === e.entity_guid), s = e.entity_guid.includes("GOL"), c = {
|
|
14466
14459
|
badge: {
|
|
14467
14460
|
display: "flex",
|
|
14468
14461
|
alignItems: "center",
|
|
@@ -14516,7 +14509,7 @@ const Up = (e, n) => {
|
|
|
14516
14509
|
({ onManageNotifications: e }) => {
|
|
14517
14510
|
const { notifications: n } = x();
|
|
14518
14511
|
return /* @__PURE__ */ l(E, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
|
|
14519
|
-
/* @__PURE__ */ t(
|
|
14512
|
+
/* @__PURE__ */ t(dt, { name: "notifications", size: 32 }),
|
|
14520
14513
|
/* @__PURE__ */ t(p, { sx: { pt: 32 }, variant: "H3", children: n.notification_empty_state.no_new_notifications }),
|
|
14521
14514
|
/* @__PURE__ */ t(
|
|
14522
14515
|
p,
|
|
@@ -17690,7 +17683,7 @@ const n1 = ({
|
|
|
17690
17683
|
secondaryTypographyProps: { variant: "XSmall" }
|
|
17691
17684
|
}
|
|
17692
17685
|
),
|
|
17693
|
-
/* @__PURE__ */ t(
|
|
17686
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(ht, {}) })
|
|
17694
17687
|
] }) }), Cc = ({ list: e, onClick: n, sx: i }) => /* @__PURE__ */ t(L, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ t(ae, { sx: { "& .MuiDivider-root:last-child": { ml: 0 } }, children: e.map(({ name: a, guid: o, subtitle: r, type: s }, c) => /* @__PURE__ */ l(h.Fragment, { children: [
|
|
17695
17688
|
/* @__PURE__ */ t(
|
|
17696
17689
|
v1,
|
|
@@ -18046,7 +18039,7 @@ const n1 = ({
|
|
|
18046
18039
|
return /* @__PURE__ */ l(h.Fragment, { children: [
|
|
18047
18040
|
/* @__PURE__ */ l(Q, { onClick: d, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
18048
18041
|
/* @__PURE__ */ t(p, { variant: "Small", children: n.verify_email }),
|
|
18049
|
-
/* @__PURE__ */ t(
|
|
18042
|
+
/* @__PURE__ */ t(ht, {})
|
|
18050
18043
|
] }),
|
|
18051
18044
|
/* @__PURE__ */ t(
|
|
18052
18045
|
Me,
|
|
@@ -18128,7 +18121,7 @@ const n1 = ({
|
|
|
18128
18121
|
return /* @__PURE__ */ l(h.Fragment, { children: [
|
|
18129
18122
|
/* @__PURE__ */ l(Q, { onClick: g, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
|
|
18130
18123
|
/* @__PURE__ */ t(p, { variant: "Small", children: n.verify_phone }),
|
|
18131
|
-
/* @__PURE__ */ t(
|
|
18124
|
+
/* @__PURE__ */ t(ht, {})
|
|
18132
18125
|
] }),
|
|
18133
18126
|
/* @__PURE__ */ t(
|
|
18134
18127
|
Me,
|
|
@@ -18724,7 +18717,7 @@ const W1 = ({
|
|
|
18724
18717
|
const o = Ce();
|
|
18725
18718
|
return /* @__PURE__ */ t(K, { sx: { bgcolor: o.palette.background.paper }, children: /* @__PURE__ */ l(ue, { alignItems: "flex-start", onClick: e, sx: a, children: [
|
|
18726
18719
|
/* @__PURE__ */ t(re, { primary: n, secondary: i }),
|
|
18727
|
-
/* @__PURE__ */ t(
|
|
18720
|
+
/* @__PURE__ */ t(gt, { children: /* @__PURE__ */ t(Kc, {}) })
|
|
18728
18721
|
] }) });
|
|
18729
18722
|
}
|
|
18730
18723
|
), Y1 = I(() => {
|
|
@@ -21450,7 +21443,7 @@ const XC = ({
|
|
|
21450
21443
|
onClick: a = () => {
|
|
21451
21444
|
}
|
|
21452
21445
|
}) => {
|
|
21453
|
-
const { detailedBudgets: o } =
|
|
21446
|
+
const { detailedBudgets: o } = lt();
|
|
21454
21447
|
return Jn = h.useMemo(() => KC(o), [o]), h.useEffect(() => {
|
|
21455
21448
|
UC(Jn, e, n), i && WC(Jn);
|
|
21456
21449
|
}, [Jn, e, n]), /* @__PURE__ */ t("svg", { height: e, style: { overflow: "visible" }, width: Math.abs(n), children: Jn.nodes().map((r) => /* @__PURE__ */ t(jC, { bubble: r, isDraggable: i, onClick: a }, r.guid)) });
|
|
@@ -21459,7 +21452,7 @@ const XC = ({
|
|
|
21459
21452
|
onConnectAccountsClick: n,
|
|
21460
21453
|
createBudgetOnClick: i
|
|
21461
21454
|
}) => {
|
|
21462
|
-
const { recalculateBudgets: a } =
|
|
21455
|
+
const { recalculateBudgets: a } = lt(), { spendCategories: o } = Ve(), { budgets: r } = x(), [s, c] = h.useState(!1), [d, _] = h.useState(!1), [u, g] = h.useState(!1), m = h.useMemo(() => [...o.filter((f) => f.totalAverageAmount > 0)], [o]), C = async () => {
|
|
21463
21456
|
g(!0);
|
|
21464
21457
|
const { data: f, isSuccess: b } = await a(m);
|
|
21465
21458
|
g(!1), b ? (f.length === 0 && c(!0), _(!1)) : _(!0);
|
|
@@ -21540,7 +21533,7 @@ const XC = ({
|
|
|
21540
21533
|
shouldShowZeroState: o,
|
|
21541
21534
|
unavailableWidth: r = 24
|
|
21542
21535
|
}) => {
|
|
21543
|
-
const { onEvent: s } = Y(), { setSelectedBudget: c } =
|
|
21536
|
+
const { onEvent: s } = Y(), { setSelectedBudget: c } = lt(), { isLoadingCategoryTotals: d } = Ve(), { isInitialized: _ } = de(), { accounts: u } = x(), { availableWidth: g } = Bn(), { isMobile: m } = Ae(), [C, f] = h.useState(!1), b = h.useMemo(() => g - r, [g]), y = (N) => {
|
|
21544
21537
|
c(N), s($.BUDGETS_CLICK_BUDGET_CATEGORY, {
|
|
21545
21538
|
budget_category: N.category.name,
|
|
21546
21539
|
click_type: "bubble"
|
|
@@ -21576,7 +21569,7 @@ const XC = ({
|
|
|
21576
21569
|
] });
|
|
21577
21570
|
}
|
|
21578
21571
|
), QC = (e) => {
|
|
21579
|
-
const n = Ce(), { accounts: i } = Ne(), { budgets: a, isDataLoaded: o, loadBudgetData: r, setTheme: s } =
|
|
21572
|
+
const n = Ce(), { accounts: i } = Ne(), { budgets: a, isDataLoaded: o, loadBudgetData: r, setTheme: s } = lt(), { budgets: c } = x(), { isCopyLoaded: d, isInitialized: _ } = de(), { reloadCategoryTotals: u } = Ve(), g = F_(), m = a.length === 0;
|
|
21580
21573
|
return h.useEffect(() => {
|
|
21581
21574
|
s(n);
|
|
21582
21575
|
}, [n]), h.useEffect(() => {
|
|
@@ -21606,7 +21599,7 @@ const XC = ({
|
|
|
21606
21599
|
}
|
|
21607
21600
|
) : /* @__PURE__ */ t(_e, {});
|
|
21608
21601
|
}, f4 = I(QC), JC = I(() => {
|
|
21609
|
-
const { budgets: e } = x(), { totalBudgeted: n } =
|
|
21602
|
+
const { budgets: e } = x(), { totalBudgeted: n } = lt(), { projectedIncome: i } = Qe(), a = i - n;
|
|
21610
21603
|
return /* @__PURE__ */ l(E, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|
|
21611
21604
|
/* @__PURE__ */ l(E, { alignItems: "center", children: [
|
|
21612
21605
|
/* @__PURE__ */ t(p, { bold: !0, variant: "Body", children: G(i, "0,0") }),
|
|
@@ -21625,7 +21618,7 @@ const XC = ({
|
|
|
21625
21618
|
] });
|
|
21626
21619
|
}), ef = I(
|
|
21627
21620
|
({ category: e }) => {
|
|
21628
|
-
const { budgets: n } = x(), { budgets: i } =
|
|
21621
|
+
const { budgets: n } = x(), { budgets: i } = lt(), a = h.useMemo(() => {
|
|
21629
21622
|
const o = i.find((c) => c.category_guid === e.guid), r = G(e.totalAverageAmount, "0,0"), s = o ? T(n.recalculate_previous_budget, G(o.amount, "0,0")) : n.recalculate_new_budget;
|
|
21630
21623
|
return `${r} - ${s}`;
|
|
21631
21624
|
}, [n, i]);
|
|
@@ -21638,7 +21631,7 @@ const XC = ({
|
|
|
21638
21631
|
] }, e.guid);
|
|
21639
21632
|
}
|
|
21640
21633
|
), tf = ({ onRecalculateBudgets: e }) => {
|
|
21641
|
-
const { budgets: n, common: i } = x(), { spendCategories: a } = Ve(), { recalculateBudgets: o, setAlert: r } =
|
|
21634
|
+
const { budgets: n, common: i } = x(), { spendCategories: a } = Ve(), { recalculateBudgets: o, setAlert: r } = lt(), [s, c] = h.useState(!1), d = a.filter((u) => u.totalAverageAmount > 0), _ = async () => {
|
|
21642
21635
|
await o(d), c(!1), r(n.alert_recalculated_budgets), e?.();
|
|
21643
21636
|
};
|
|
21644
21637
|
return /* @__PURE__ */ l(h.Fragment, { children: [
|
|
@@ -21667,7 +21660,7 @@ const XC = ({
|
|
|
21667
21660
|
categoryName: n,
|
|
21668
21661
|
onAmountChanged: i
|
|
21669
21662
|
}) => {
|
|
21670
|
-
const { budgets: a } = x(), { totalBudgeted: o } =
|
|
21663
|
+
const { budgets: a } = x(), { totalBudgeted: o } = lt(), { projectedIncome: r } = Qe(), s = r - o;
|
|
21671
21664
|
return /* @__PURE__ */ l(E, { gap: 16, children: [
|
|
21672
21665
|
/* @__PURE__ */ l(E, { children: [
|
|
21673
21666
|
/* @__PURE__ */ t(p, { children: T(
|
|
@@ -21718,7 +21711,7 @@ const XC = ({
|
|
|
21718
21711
|
)
|
|
21719
21712
|
] });
|
|
21720
21713
|
}), af = I(({ onRecalculateBudgets: e }) => {
|
|
21721
|
-
const { budgets: n } = x(), { addBudget: i, setAlert: a, unbudgetedCategories: o } =
|
|
21714
|
+
const { budgets: n } = x(), { addBudget: i, setAlert: a, unbudgetedCategories: o } = lt(), r = async (s, c) => {
|
|
21722
21715
|
await i(s, c), a(T(n.alert_budget_created, s.name));
|
|
21723
21716
|
};
|
|
21724
21717
|
return /* @__PURE__ */ l(E, { children: [
|
|
@@ -21767,7 +21760,7 @@ const XC = ({
|
|
|
21767
21760
|
category: a,
|
|
21768
21761
|
percentage: o,
|
|
21769
21762
|
transaction_total: r
|
|
21770
|
-
} = e, { setSelectedSubBudget: s } =
|
|
21763
|
+
} = e, { setSelectedSubBudget: s } = lt();
|
|
21771
21764
|
return /* @__PURE__ */ t(K, { children: /* @__PURE__ */ l(ue, { onClick: () => s(e), children: [
|
|
21772
21765
|
/* @__PURE__ */ t(Ge, { sx: { mb: -8, mr: 16 }, children: /* @__PURE__ */ t(Ns, { color: i, percent: o, size: 40, children: /* @__PURE__ */ t(Ot, { categoryGuid: a.parent_guid, variant: "basic" }) }) }),
|
|
21773
21766
|
/* @__PURE__ */ t(
|
|
@@ -21782,7 +21775,7 @@ const XC = ({
|
|
|
21782
21775
|
)
|
|
21783
21776
|
] }) });
|
|
21784
21777
|
}), sf = I(({ category: e, parentBudget: n }) => {
|
|
21785
|
-
const { budgets: i, common: a } = x(), { setExpandedGuid: o, setOnSelect: r } = sn(), { addBudget: s } =
|
|
21778
|
+
const { budgets: i, common: a } = x(), { setExpandedGuid: o, setOnSelect: r } = sn(), { addBudget: s } = lt(), [c, d] = h.useState(!1), [_, u] = h.useState(!1), [g, m] = h.useState(""), [C, f] = h.useState(void 0);
|
|
21786
21779
|
h.useEffect(() => {
|
|
21787
21780
|
r((S) => {
|
|
21788
21781
|
const N = e.subCategories.find((v) => v.guid === S);
|
|
@@ -21834,7 +21827,7 @@ const XC = ({
|
|
|
21834
21827
|
)
|
|
21835
21828
|
] });
|
|
21836
21829
|
}), cf = I(({ budget: e }) => {
|
|
21837
|
-
const { category: n, subBudgets: i } = e, { budgets: a, common: o } = x(), { deleteBudget: r, selectedSubBudget: s, setSelectedSubBudget: c, updateBudget: d } =
|
|
21830
|
+
const { category: n, subBudgets: i } = e, { budgets: a, common: o } = x(), { deleteBudget: r, selectedSubBudget: s, setSelectedSubBudget: c, updateBudget: d } = lt(), { filter: _, setFilter: u } = Oe(), [g, m] = h.useState(!1), [C, f] = h.useState(!1), [b, y] = h.useState("");
|
|
21838
21831
|
h.useEffect(() => {
|
|
21839
21832
|
s && (y(`${s.amount}`), u({
|
|
21840
21833
|
..._,
|
|
@@ -21915,7 +21908,7 @@ const XC = ({
|
|
|
21915
21908
|
] })
|
|
21916
21909
|
] });
|
|
21917
21910
|
}), lf = I(({ budget: e }) => {
|
|
21918
|
-
const { budgets: n, common: i, transactions: a } = x(), { setAlert: o } =
|
|
21911
|
+
const { budgets: n, common: i, transactions: a } = x(), { setAlert: o } = lt(), { sortedTransactions: r, tags: s } = Oe(), [c, d] = h.useState(0), [_, u] = h.useState(""), g = h.useMemo(
|
|
21919
21912
|
() => r.find((f) => f.guid === _),
|
|
21920
21913
|
[_]
|
|
21921
21914
|
), m = (f, b) => {
|
|
@@ -21985,7 +21978,7 @@ const XC = ({
|
|
|
21985
21978
|
setAlert: c,
|
|
21986
21979
|
setSelectedBudget: d,
|
|
21987
21980
|
updateBudget: _
|
|
21988
|
-
} =
|
|
21981
|
+
} = lt(), { setFilter: u } = Oe(), [g, m] = h.useState(!1), [C, f] = h.useState(!1), [b, y] = h.useState(!1), [S, N] = h.useState("");
|
|
21989
21982
|
h.useEffect(() => {
|
|
21990
21983
|
r && !s && (N(`${r.amount}`), m(!0), u({
|
|
21991
21984
|
accounts: e,
|
|
@@ -22086,7 +22079,7 @@ const XC = ({
|
|
|
22086
22079
|
)
|
|
22087
22080
|
] }) });
|
|
22088
22081
|
}, uf = I(() => {
|
|
22089
|
-
const { onEvent: e } = Y(), { budgets: n } = x(), { detailedBudgets: i, setSelectedBudget: a } =
|
|
22082
|
+
const { onEvent: e } = Y(), { budgets: n } = x(), { detailedBudgets: i, setSelectedBudget: a } = lt(), o = (r) => {
|
|
22090
22083
|
a(r), e($.BUDGETS_CLICK_BUDGET_CATEGORY, {
|
|
22091
22084
|
budget_category: r.category.name,
|
|
22092
22085
|
click_type: "list"
|
|
@@ -22100,7 +22093,7 @@ const XC = ({
|
|
|
22100
22093
|
] }, r.guid)) }) })
|
|
22101
22094
|
] });
|
|
22102
22095
|
}), hf = I(() => {
|
|
22103
|
-
const e = Ce(), { onEvent: n } = Y(), { visibleAccounts: i } = Ne(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ve(), { detailedBudgets: d, totalBudgeted: _ } =
|
|
22096
|
+
const e = Ce(), { onEvent: n } = Y(), { visibleAccounts: i } = Ne(), { budgets: a, common: o, recurring: r } = x(), { incomeCategories: s, spendCategories: c } = Ve(), { detailedBudgets: d, totalBudgeted: _ } = lt(), { projectedIncome: u } = Qe(), { setFilter: g } = Oe(), [m, C] = h.useState(!1), [f, b] = h.useMemo(() => {
|
|
22104
22097
|
const v = c.reduce((H, D) => H + D.totalAmount, 0);
|
|
22105
22098
|
let A = v / _;
|
|
22106
22099
|
A > 1 && (A = 1);
|
|
@@ -22192,7 +22185,7 @@ const XC = ({
|
|
|
22192
22185
|
setAlert: S,
|
|
22193
22186
|
setTheme: N,
|
|
22194
22187
|
budgets: v
|
|
22195
|
-
} =
|
|
22188
|
+
} = lt(), { loadRepeatingTransactions: A } = Qe(), { reloadCategoryTotals: R } = Ve(), { isSmallTablet: M, isMobile: H, isSmallMobile: D } = Ae(), O = M || H || D, [W, z] = h.useState(!1);
|
|
22196
22189
|
h.useEffect(() => {
|
|
22197
22190
|
N(i), g(o), u(C.start, C.end), a($.BUDGETS_VIEW);
|
|
22198
22191
|
}, []), h.useEffect(() => {
|
|
@@ -22733,7 +22726,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
22733
22726
|
/* @__PURE__ */ t(Vt, { color: "text.primary", children: oi(g?.value ?? e.totalMarketValue) }),
|
|
22734
22727
|
/* @__PURE__ */ l(E, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
22735
22728
|
!g && /* @__PURE__ */ t(
|
|
22736
|
-
|
|
22729
|
+
dt,
|
|
22737
22730
|
{
|
|
22738
22731
|
name: e.totalGainLoss >= 0 ? "trending_up" : "trending_down",
|
|
22739
22732
|
size: 20,
|
|
@@ -22899,7 +22892,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
22899
22892
|
enterTouchDelay: 500,
|
|
22900
22893
|
placement: e,
|
|
22901
22894
|
title: /* @__PURE__ */ t(Df, { body: n, title: i }),
|
|
22902
|
-
children: /* @__PURE__ */ t(Fe, { "aria-label": i, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ t(
|
|
22895
|
+
children: /* @__PURE__ */ t(Fe, { "aria-label": i, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ t(dt, { name: "info", sx: { color: "info.main" } }) })
|
|
22903
22896
|
}
|
|
22904
22897
|
), Of = () => {
|
|
22905
22898
|
const {
|
|
@@ -23056,7 +23049,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23056
23049
|
);
|
|
23057
23050
|
}, Lf = I(Of), Oi = (e) => /* @__PURE__ */ l(Ee, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
23058
23051
|
/* @__PURE__ */ t(p, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "Small", children: e.colDef.headerName }),
|
|
23059
|
-
/* @__PURE__ */ t(
|
|
23052
|
+
/* @__PURE__ */ t(dt, { name: "expand_all", size: 12 })
|
|
23060
23053
|
] }), Mf = ({
|
|
23061
23054
|
isOpen: e,
|
|
23062
23055
|
onClose: n,
|
|
@@ -23185,7 +23178,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23185
23178
|
}) }),
|
|
23186
23179
|
/* @__PURE__ */ l(Se, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
|
|
23187
23180
|
c.totalGainLoss !== 0 && /* @__PURE__ */ t(
|
|
23188
|
-
|
|
23181
|
+
dt,
|
|
23189
23182
|
{
|
|
23190
23183
|
name: c.totalGainLoss >= 0 ? "trending_up" : "trending_down",
|
|
23191
23184
|
size: 12,
|
|
@@ -23224,7 +23217,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23224
23217
|
)
|
|
23225
23218
|
] })
|
|
23226
23219
|
] }),
|
|
23227
|
-
/* @__PURE__ */ t(
|
|
23220
|
+
/* @__PURE__ */ t(dt, { name: "expand_more", size: 20 })
|
|
23228
23221
|
]
|
|
23229
23222
|
}
|
|
23230
23223
|
)
|
|
@@ -23375,7 +23368,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23375
23368
|
{
|
|
23376
23369
|
onClick: () => De(te.row.id, te.row.costBasis),
|
|
23377
23370
|
sx: { minWidth: 12, minHeight: 12 },
|
|
23378
|
-
children: /* @__PURE__ */ t(
|
|
23371
|
+
children: /* @__PURE__ */ t(dt, { name: "stylus", size: 12, sx: { color: "grey.700" } })
|
|
23379
23372
|
}
|
|
23380
23373
|
)
|
|
23381
23374
|
] });
|
|
@@ -23392,7 +23385,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23392
23385
|
const Ke = te.row.costBasis, Zt = Ke ? te.row.totalGainLoss / Ke * 100 : 0;
|
|
23393
23386
|
return /* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
|
|
23394
23387
|
te.value !== 0 && /* @__PURE__ */ t(
|
|
23395
|
-
|
|
23388
|
+
dt,
|
|
23396
23389
|
{
|
|
23397
23390
|
name: te.value > 0 ? "trending_up" : "trending_down",
|
|
23398
23391
|
size: 16,
|
|
@@ -23491,7 +23484,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23491
23484
|
}) }),
|
|
23492
23485
|
/* @__PURE__ */ l(Se, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
|
|
23493
23486
|
/* @__PURE__ */ t(
|
|
23494
|
-
|
|
23487
|
+
dt,
|
|
23495
23488
|
{
|
|
23496
23489
|
name: q >= 0 ? "trending_up" : "trending_down",
|
|
23497
23490
|
size: 20,
|
|
@@ -23619,7 +23612,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23619
23612
|
},
|
|
23620
23613
|
children: [
|
|
23621
23614
|
ke !== 0 && /* @__PURE__ */ t(
|
|
23622
|
-
|
|
23615
|
+
dt,
|
|
23623
23616
|
{
|
|
23624
23617
|
name: ke > 0 ? "trending_up" : "trending_down",
|
|
23625
23618
|
size: 20,
|
|
@@ -23732,7 +23725,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23732
23725
|
width: "100%"
|
|
23733
23726
|
},
|
|
23734
23727
|
children: [
|
|
23735
|
-
/* @__PURE__ */ t(
|
|
23728
|
+
/* @__PURE__ */ t(dt, { name: "expand_more", size: 20, sx: { color: nt } }),
|
|
23736
23729
|
/* @__PURE__ */ t(
|
|
23737
23730
|
Ct,
|
|
23738
23731
|
{
|
|
@@ -23762,7 +23755,7 @@ const bf = ({ widgets: e, isLoading: n }) => {
|
|
|
23762
23755
|
},
|
|
23763
23756
|
children: [
|
|
23764
23757
|
ke !== 0 && /* @__PURE__ */ t(
|
|
23765
|
-
|
|
23758
|
+
dt,
|
|
23766
23759
|
{
|
|
23767
23760
|
name: ke >= 0 ? "trending_up" : "trending_down",
|
|
23768
23761
|
size: 20,
|
|
@@ -24275,7 +24268,7 @@ const Ii = h.createContext(null), Uf = ({
|
|
|
24275
24268
|
e.primary_category_guid ? i(e.primary_category_guid) : e.category_guids?.length && i(e.category_guids[0]);
|
|
24276
24269
|
}, []), /* @__PURE__ */ t(Ot, { categoryGuid: n, size: 16, sx: { minWidth: 16 } });
|
|
24277
24270
|
}, Kf = ({ beat: e }) => {
|
|
24278
|
-
const n =
|
|
24271
|
+
const n = mt(), i = zf(n);
|
|
24279
24272
|
return /* @__PURE__ */ t(
|
|
24280
24273
|
Cn,
|
|
24281
24274
|
{
|
|
@@ -24325,7 +24318,7 @@ const Ii = h.createContext(null), Uf = ({
|
|
|
24325
24318
|
const i = Xf(e), a = i.length / 2, o = i.slice(0, a), r = i.slice(a);
|
|
24326
24319
|
return !o.length || !r.length ? n.Color.Primary300 : o[0].amount > r[0].amount ? n.Color.Error300 : o[0].amount < r[0].amount ? n.Color.Success300 : n.Color.Primary300;
|
|
24327
24320
|
}, qf = ({ beat: e }) => {
|
|
24328
|
-
const n =
|
|
24321
|
+
const n = mt(), i = Zf(e.data_series, n);
|
|
24329
24322
|
return /* @__PURE__ */ t(F, { name: "bar_chart", sx: { color: i } });
|
|
24330
24323
|
}, wc = () => /* @__PURE__ */ l("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
24331
24324
|
/* @__PURE__ */ t(
|
|
@@ -26910,7 +26903,7 @@ export {
|
|
|
26910
26903
|
Ne as useAccountStore,
|
|
26911
26904
|
kt as useAccountUiStore,
|
|
26912
26905
|
Si as useAppConfig,
|
|
26913
|
-
|
|
26906
|
+
lt as useBudgetsStore,
|
|
26914
26907
|
no as useCashflowStore,
|
|
26915
26908
|
Ve as useCategoryStore,
|
|
26916
26909
|
sn as useCategoryUiStore,
|