@mx-cartographer/experiences 8.1.0 → 8.1.1
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/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
- package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
- package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
- package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
- package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
- package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-nxHZqg1Z.mjs} +3 -3
- package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
- package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
- package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-Cwvpb7xl.mjs} +46 -46
- package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
- package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
- package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
- package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
- package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
- package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
- package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
- package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
- package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
- package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
- package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
- package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
- package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
- package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
- package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
- package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
- package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
- package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
- package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
- package/dist/{Help-cTsMzSQh.mjs → Help-Dfw_GHKi.mjs} +95 -98
- package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
- package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
- package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
- package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
- package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-wgo-qbdP.mjs} +8 -8
- package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
- package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
- package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
- package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-BFFIl-wS.mjs} +8 -8
- package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
- package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-Dn5pPRVS.mjs} +2 -2
- package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
- package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
- package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
- package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
- package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
- package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
- package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-RtFvutJ0.mjs} +4 -4
- package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
- package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
- package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Cb6vauzy.mjs} +21 -21
- package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
- package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
- package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
- package/dist/{WidgetContainer-Bc75FqK7.mjs → WidgetContainer-MhgZzIaI.mjs} +19 -19
- package/dist/accounts/index.es.js +28 -28
- package/dist/analytics/index.es.js +10 -10
- package/dist/budgets/index.es.js +18 -18
- package/dist/cashflow/index.es.js +109 -109
- package/dist/categories/index.es.js +2 -2
- package/dist/common/index.es.js +250 -250
- package/dist/core/index.es.js +64 -64
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/index.es.js +21 -21
- package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
- package/dist/finstrong/index.es.js +21 -21
- package/dist/goals/index.es.js +16 -16
- package/dist/help/index.es.js +5 -5
- package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
- package/dist/insights/index.es.js +328 -328
- package/dist/investments/index.es.js +9 -9
- package/dist/merchants/index.es.js +9 -9
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/index.es.js +25 -25
- package/dist/notifications/index.es.js +5 -5
- package/dist/recurringtransactions/index.es.js +23 -23
- package/dist/settings/index.es.js +95 -95
- package/dist/spending/index.es.js +64 -64
- package/dist/transactions/index.es.js +73 -73
- package/dist/trends/index.es.js +54 -54
- package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
- package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
- package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
- package/package.json +20 -20
- package/dist/DateUtil-C57sqxn4.mjs +0 -54
- package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
- package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
|
@@ -11,8 +11,8 @@ import A from "@mui/material/Stack";
|
|
|
11
11
|
import { ChevronLeft as ce } from "@mxenabled/mx-icons";
|
|
12
12
|
import { Icon as D, Text as G, DateRangePicker as J } from "@mxenabled/mxui";
|
|
13
13
|
import { u as ue } from "./useDimensions-CeDR9V8N.mjs";
|
|
14
|
-
import { G as pe } from "./GlobalAccountFilter-
|
|
15
|
-
import { b as oe, u as ne, g as ge, a as he, W as fe } from "./hooks-
|
|
14
|
+
import { G as pe } from "./GlobalAccountFilter-CZbiDwBH.mjs";
|
|
15
|
+
import { b as oe, u as ne, g as ge, a as he, W as fe } from "./hooks-HwStH7q_.mjs";
|
|
16
16
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
17
17
|
import { addDays as be } from "date-fns/addDays";
|
|
18
18
|
import { addYears as Z } from "date-fns/addYears";
|
|
@@ -35,11 +35,11 @@ import Pe from "@mui/material/ToggleButton";
|
|
|
35
35
|
import Se from "@mui/material/ToggleButtonGroup";
|
|
36
36
|
import Le from "@mui/material/styles/useTheme";
|
|
37
37
|
import { u as Ye } from "./useAriaLive-MkYebyUR.mjs";
|
|
38
|
-
import { D as Ee } from "./Dialog-
|
|
39
|
-
import { D as Ae } from "./Drawer-
|
|
38
|
+
import { D as Ee } from "./Dialog-iLlBR8TG.mjs";
|
|
39
|
+
import { D as Ae } from "./Drawer-XPaLYjiO.mjs";
|
|
40
40
|
import { u as ie } from "./useScreenSize-CUcpY7aJ.mjs";
|
|
41
41
|
import { f as M, D as v } from "./DateFormats-CaOj_4eI.mjs";
|
|
42
|
-
import { L as Be } from "./Loader-
|
|
42
|
+
import { L as Be } from "./Loader-CxeBwuPG.mjs";
|
|
43
43
|
import { A as Oe } from "./Analytics-0Xm_BjHU.mjs";
|
|
44
44
|
const Ne = (o) => {
|
|
45
45
|
const { isDesktop: d, isMobile: a, isSmallTablet: m, isTablet: r } = ie(o), n = 24;
|
|
@@ -95,9 +95,9 @@ const Ne = (o) => {
|
|
|
95
95
|
h.useEffect(() => {
|
|
96
96
|
_(m), B(m);
|
|
97
97
|
}, [m]), h.useEffect(() => {
|
|
98
|
-
(n === "timeframebuttons" || n === "timeframetabs") && o.onRangeChanged(
|
|
98
|
+
(n === "timeframebuttons" || n === "timeframetabs") && o.onRangeChanged(q());
|
|
99
99
|
}, [S]);
|
|
100
|
-
const
|
|
100
|
+
const q = () => {
|
|
101
101
|
const t = w(ee());
|
|
102
102
|
return [w(V(t, S)), t];
|
|
103
103
|
}, N = (t) => {
|
|
@@ -307,7 +307,7 @@ const Ne = (o) => {
|
|
|
307
307
|
}
|
|
308
308
|
)
|
|
309
309
|
] });
|
|
310
|
-
}, we =
|
|
310
|
+
}, we = re(
|
|
311
311
|
({ calendarActions: o, dateRange: d, dateRangeVariant: a }) => {
|
|
312
312
|
const { displayedDateRange: m } = oe(), { common: r } = ne(), n = {
|
|
313
313
|
dateRangePickerCopy: {
|
|
@@ -329,7 +329,7 @@ const Ne = (o) => {
|
|
|
329
329
|
dateRangePreviousAria: r.date_range_picker.previous_aria
|
|
330
330
|
}, u = d ? d.start : m.start, c = d ? d.end : m.end;
|
|
331
331
|
return /* @__PURE__ */ e(
|
|
332
|
-
|
|
332
|
+
Ie,
|
|
333
333
|
{
|
|
334
334
|
calendarActions: o,
|
|
335
335
|
copy: n,
|
|
@@ -339,7 +339,7 @@ const Ne = (o) => {
|
|
|
339
339
|
}
|
|
340
340
|
);
|
|
341
341
|
}
|
|
342
|
-
),
|
|
342
|
+
), Pt = re(
|
|
343
343
|
({
|
|
344
344
|
actions: o,
|
|
345
345
|
allowedAccountTypes: d,
|
|
@@ -362,7 +362,7 @@ const Ne = (o) => {
|
|
|
362
362
|
containerSquareCorners: S,
|
|
363
363
|
headerHeadingLevel: j,
|
|
364
364
|
headerPaddingBottom: O,
|
|
365
|
-
headerPaddingTop:
|
|
365
|
+
headerPaddingTop: q,
|
|
366
366
|
headerPaddingX: N,
|
|
367
367
|
iconSize: L,
|
|
368
368
|
isCompact: y,
|
|
@@ -385,7 +385,7 @@ const Ne = (o) => {
|
|
|
385
385
|
children: /* @__PURE__ */ e(ce, { size: 24 })
|
|
386
386
|
}
|
|
387
387
|
) : null, x = a && /* @__PURE__ */ e(A, { alignItems: "center", sx: t, children: /* @__PURE__ */ e(
|
|
388
|
-
|
|
388
|
+
we,
|
|
389
389
|
{
|
|
390
390
|
calendarActions: a,
|
|
391
391
|
dateRange: n,
|
|
@@ -410,7 +410,7 @@ const Ne = (o) => {
|
|
|
410
410
|
justifyContent: "space-between",
|
|
411
411
|
sx: {
|
|
412
412
|
pb: O,
|
|
413
|
-
pt:
|
|
413
|
+
pt: q,
|
|
414
414
|
px: N
|
|
415
415
|
},
|
|
416
416
|
children: [
|
|
@@ -433,10 +433,10 @@ const Ne = (o) => {
|
|
|
433
433
|
onAccountFilterClick: P
|
|
434
434
|
}
|
|
435
435
|
),
|
|
436
|
-
o?.map((
|
|
437
|
-
if (h.isValidElement(
|
|
438
|
-
return h.cloneElement(
|
|
439
|
-
const { iconName: I, onClick: X, label: U } =
|
|
436
|
+
o?.map(($) => {
|
|
437
|
+
if (h.isValidElement($))
|
|
438
|
+
return h.cloneElement($, { isDesktop: Y });
|
|
439
|
+
const { iconName: I, onClick: X, label: U } = $;
|
|
440
440
|
return Y ? /* @__PURE__ */ e(
|
|
441
441
|
z,
|
|
442
442
|
{
|
|
@@ -462,7 +462,7 @@ const Ne = (o) => {
|
|
|
462
462
|
}
|
|
463
463
|
);
|
|
464
464
|
export {
|
|
465
|
-
|
|
466
|
-
|
|
465
|
+
Ie as D,
|
|
466
|
+
Pt as W,
|
|
467
467
|
Ne as u
|
|
468
468
|
};
|
|
@@ -10,15 +10,15 @@ import O from "@mui/material/List";
|
|
|
10
10
|
import B from "@mui/material/ListSubheader";
|
|
11
11
|
import P from "@mui/system/Stack";
|
|
12
12
|
import { useTheme as V1, alpha as M1 } from "@mui/material/styles";
|
|
13
|
-
import { u as x, A as y1 } from "../AccountDetailsHeader-
|
|
14
|
-
import { L as w1 } from "../LineChart-
|
|
15
|
-
import { g as x1, a as R1, b as S1 } from "../SpendingData-
|
|
16
|
-
import { l as T1, u as A, d as E, g as D, h as m1, b as G, a as E1 } from "../hooks-
|
|
17
|
-
import { A as I, g as L, N as p1 } from "../Account-
|
|
18
|
-
import { I as _1, P as L1, S as f1 } from "../Account-
|
|
19
|
-
import { a as D1, b as k1 } from "../AccountFields-
|
|
20
|
-
import { g as i2 } from "../AccountFields-
|
|
21
|
-
import { A as U } from "../AccountListItem-
|
|
13
|
+
import { u as x, A as y1 } from "../AccountDetailsHeader-D_a0XUkL.mjs";
|
|
14
|
+
import { L as w1 } from "../LineChart-jJVBE8V8.mjs";
|
|
15
|
+
import { g as x1, a as R1, b as S1 } from "../SpendingData-Dj85XEUp.mjs";
|
|
16
|
+
import { l as T1, u as A, d as E, g as D, h as m1, b as G, a as E1 } from "../hooks-HwStH7q_.mjs";
|
|
17
|
+
import { A as I, g as L, N as p1 } from "../Account-CMjOp7S2.mjs";
|
|
18
|
+
import { I as _1, P as L1, S as f1 } from "../Account-BIKn4XEZ.mjs";
|
|
19
|
+
import { a as D1, b as k1 } from "../AccountFields-nrrEXd46.mjs";
|
|
20
|
+
import { g as i2 } from "../AccountFields-nrrEXd46.mjs";
|
|
21
|
+
import { A as U } from "../AccountListItem-D80egD01.mjs";
|
|
22
22
|
import a1 from "@mui/material/Tab";
|
|
23
23
|
import I1 from "@mui/material/Tabs";
|
|
24
24
|
import Z1 from "@mui/material/Switch";
|
|
@@ -26,18 +26,18 @@ import T from "@mui/material/ListItem";
|
|
|
26
26
|
import $ from "@mui/material/ListItemButton";
|
|
27
27
|
import Z from "@mui/material/ListItemText";
|
|
28
28
|
import { A as w } from "../Analytics-0Xm_BjHU.mjs";
|
|
29
|
-
import { D as Q } from "../Dialog-
|
|
29
|
+
import { D as Q } from "../Dialog-iLlBR8TG.mjs";
|
|
30
30
|
import { b as f } from "../Localization-CkQ49EKr.mjs";
|
|
31
|
-
import { D as t1 } from "../Drawer-
|
|
31
|
+
import { D as t1 } from "../Drawer-XPaLYjiO.mjs";
|
|
32
32
|
import Y from "@mui/material/ListItemAvatar";
|
|
33
33
|
import N1 from "@mui/material/styles/useTheme";
|
|
34
|
-
import {
|
|
35
|
-
import { C as z } from "../ConnectDrawer-
|
|
34
|
+
import { Language as O1, Error as g1, CheckCircle as F1 } from "@mxenabled/mx-icons";
|
|
35
|
+
import { C as z } from "../ConnectDrawer-5BpU4IQU.mjs";
|
|
36
36
|
import { fromUnixTime as P1 } from "date-fns/fromUnixTime";
|
|
37
37
|
import { isToday as W1 } from "date-fns/isToday";
|
|
38
38
|
import { isYesterday as B1 } from "date-fns/isYesterday";
|
|
39
39
|
import { f as s1, D as l1 } from "../DateFormats-CaOj_4eI.mjs";
|
|
40
|
-
import { I as j } from "../IconBacking-
|
|
40
|
+
import { I as j } from "../IconBacking-DgT8DCeh.mjs";
|
|
41
41
|
import { addMonths as U1 } from "date-fns/addMonths";
|
|
42
42
|
import { AdapterDateFns as $1 } from "@mui/x-date-pickers/AdapterDateFnsV3";
|
|
43
43
|
import { DateCalendar as G1 } from "@mui/x-date-pickers/DateCalendar";
|
|
@@ -49,23 +49,23 @@ import X1 from "@mui/material/Select";
|
|
|
49
49
|
import J1 from "@mui/material/TextField";
|
|
50
50
|
import { F as X } from "../Accounts-CseLC3lL.mjs";
|
|
51
51
|
import { M as a2 } from "../Accounts-CseLC3lL.mjs";
|
|
52
|
-
import { C as q1 } from "../CurrencyInput-
|
|
52
|
+
import { C as q1 } from "../CurrencyInput-CSJ3zMgE.mjs";
|
|
53
53
|
import Q1 from "@mui/material/Alert";
|
|
54
54
|
import e3 from "@mui/material/AlertTitle";
|
|
55
55
|
import t3 from "@mui/material/Link";
|
|
56
56
|
import n3 from "@mui/material/Paper";
|
|
57
|
-
import {
|
|
58
|
-
import { T as a3 } from "../EmbeddedCard-
|
|
59
|
-
import { T as s3 } from "../TransactionDetails-
|
|
60
|
-
import { T as r1 } from "../TabContentContainer-
|
|
57
|
+
import { endOfToday as o3, subDays as i3, startOfToday as c3 } from "date-fns";
|
|
58
|
+
import { T as a3 } from "../EmbeddedCard-BCcn_fK2.mjs";
|
|
59
|
+
import { T as s3 } from "../TransactionDetails-Cb6vauzy.mjs";
|
|
60
|
+
import { T as r1 } from "../TabContentContainer-CnMXkVqr.mjs";
|
|
61
61
|
import { f as d1 } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
62
|
-
import { C as l3 } from "../ConnectionsDrawer-
|
|
62
|
+
import { C as l3 } from "../ConnectionsDrawer-DxpSlJN7.mjs";
|
|
63
63
|
import { u as H1 } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
64
|
-
import { u as n1 } from "../useWidgetLoadTimer-
|
|
65
|
-
import { L as o1 } from "../Loader-
|
|
66
|
-
import { W as r3 } from "../WidgetContainer-
|
|
67
|
-
import { M as v1 } from "../MiniWidgetContainer-
|
|
68
|
-
import { A as l2 } from "../AccountStore-
|
|
64
|
+
import { u as n1 } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
65
|
+
import { L as o1 } from "../Loader-CxeBwuPG.mjs";
|
|
66
|
+
import { W as r3 } from "../WidgetContainer-MhgZzIaI.mjs";
|
|
67
|
+
import { M as v1 } from "../MiniWidgetContainer-CmTGSUL5.mjs";
|
|
68
|
+
import { A as l2 } from "../AccountStore-nxHZqg1Z.mjs";
|
|
69
69
|
const d3 = (t, o) => {
|
|
70
70
|
const n = _1.includes(o) ? x1(t) : [], i = L1.includes(o) ? R1(t) : [], c = f1.includes(o) ? S1(t) : [];
|
|
71
71
|
return [n, i, c].filter((l) => l.length > 0);
|
|
@@ -437,7 +437,7 @@ const d3 = (t, o) => {
|
|
|
437
437
|
secondaryMessage: `${u.title}.`
|
|
438
438
|
} : {
|
|
439
439
|
color: "success.main",
|
|
440
|
-
icon: /* @__PURE__ */ e(
|
|
440
|
+
icon: /* @__PURE__ */ e(F1, { filled: !0, sx: { ...q } }),
|
|
441
441
|
mainMessage: u.statusName,
|
|
442
442
|
secondaryMessage: u.title
|
|
443
443
|
};
|
|
@@ -497,7 +497,7 @@ const d3 = (t, o) => {
|
|
|
497
497
|
},
|
|
498
498
|
size: 32,
|
|
499
499
|
children: /* @__PURE__ */ e(
|
|
500
|
-
|
|
500
|
+
O1,
|
|
501
501
|
{
|
|
502
502
|
sx: {
|
|
503
503
|
...q,
|
|
@@ -779,7 +779,7 @@ const d3 = (t, o) => {
|
|
|
779
779
|
);
|
|
780
780
|
return h.useEffect(() => {
|
|
781
781
|
a({
|
|
782
|
-
dateRange: { start:
|
|
782
|
+
dateRange: { start: i3(c3(), 90), end: o3() },
|
|
783
783
|
accounts: [i.guid]
|
|
784
784
|
});
|
|
785
785
|
}, [i]), h.useEffect(() => n(w.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ C(R, { children: [
|
|
@@ -3,12 +3,12 @@ import c from "react";
|
|
|
3
3
|
import { observer as h } from "mobx-react-lite";
|
|
4
4
|
import { SurveyQuestionType as C } from "posthog-js";
|
|
5
5
|
import R from "@mui/material/Alert";
|
|
6
|
-
import
|
|
6
|
+
import j from "@mui/material/Button";
|
|
7
7
|
import s from "@mui/material/Stack";
|
|
8
|
-
import { Text as u, TextField as
|
|
9
|
-
import { L
|
|
10
|
-
import { M as
|
|
11
|
-
import { j as f, u as g, g as
|
|
8
|
+
import { Text as u, TextField as A } from "@mxenabled/mxui";
|
|
9
|
+
import { L } from "../Loader-CxeBwuPG.mjs";
|
|
10
|
+
import { M as W } from "../MiniWidgetContainer-CmTGSUL5.mjs";
|
|
11
|
+
import { j as f, u as g, g as $, b as q } from "../hooks-HwStH7q_.mjs";
|
|
12
12
|
import E from "@mui/material/ToggleButton";
|
|
13
13
|
import Q from "@mui/material/ToggleButtonGroup";
|
|
14
14
|
import B from "@mui/material/styles/useTheme";
|
|
@@ -59,7 +59,7 @@ const G = () => {
|
|
|
59
59
|
}, O = h(G), z = () => {
|
|
60
60
|
const { response: n, setResponse: a } = f(), { analytics: t } = g();
|
|
61
61
|
return /* @__PURE__ */ e(
|
|
62
|
-
|
|
62
|
+
A,
|
|
63
63
|
{
|
|
64
64
|
label: t.feedback,
|
|
65
65
|
multiline: !0,
|
|
@@ -72,7 +72,7 @@ const G = () => {
|
|
|
72
72
|
}
|
|
73
73
|
);
|
|
74
74
|
}, H = h(z), I = () => {
|
|
75
|
-
const { onEvent: n } =
|
|
75
|
+
const { onEvent: n } = $(), {
|
|
76
76
|
surveyId: a,
|
|
77
77
|
question: t,
|
|
78
78
|
isLastQuestion: o,
|
|
@@ -101,7 +101,7 @@ const G = () => {
|
|
|
101
101
|
n("survey sent", r), x(), _(!0);
|
|
102
102
|
};
|
|
103
103
|
return k ? !t && !b ? null : /* @__PURE__ */ i(
|
|
104
|
-
|
|
104
|
+
W,
|
|
105
105
|
{
|
|
106
106
|
closeLabel: w.close_aria,
|
|
107
107
|
onClose: M,
|
|
@@ -130,7 +130,7 @@ const G = () => {
|
|
|
130
130
|
t.type === C.Open && /* @__PURE__ */ e(H, {})
|
|
131
131
|
] }),
|
|
132
132
|
/* @__PURE__ */ e(s, { sx: { px: 24, py: 16 }, children: /* @__PURE__ */ e(
|
|
133
|
-
|
|
133
|
+
j,
|
|
134
134
|
{
|
|
135
135
|
disabled: !o && !p,
|
|
136
136
|
onClick: o ? F : T,
|
|
@@ -145,7 +145,7 @@ const G = () => {
|
|
|
145
145
|
] })
|
|
146
146
|
]
|
|
147
147
|
}
|
|
148
|
-
) : /* @__PURE__ */ e(
|
|
148
|
+
) : /* @__PURE__ */ e(L, {});
|
|
149
149
|
}, se = h(I);
|
|
150
150
|
export {
|
|
151
151
|
se as SurveyMiniWidget
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -12,7 +12,7 @@ import ce from "@mui/material/styles/useTheme";
|
|
|
12
12
|
import Y from "@mui/material/Box";
|
|
13
13
|
import X from "@mui/material/List";
|
|
14
14
|
import { Text as C, CategoryIcon as H, Icon as z, H3 as Le } from "@mxenabled/mxui";
|
|
15
|
-
import { u as E, m as w, i as le, l as Z, p as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-
|
|
15
|
+
import { u as E, m as w, i as le, l as Z, p as de, a as Ne, g as q, b as J, h as Q, d as ke } from "../hooks-HwStH7q_.mjs";
|
|
16
16
|
import { f as D } from "../NumberFormatting-CyrvFgfd.mjs";
|
|
17
17
|
import $e from "@mui/material/Button";
|
|
18
18
|
import ue from "@mui/material/Divider";
|
|
@@ -21,37 +21,37 @@ import me from "@mui/material/ListItemAvatar";
|
|
|
21
21
|
import te from "@mui/material/ListItemButton";
|
|
22
22
|
import oe from "@mui/material/ListItemText";
|
|
23
23
|
import { b as R } from "../Localization-CkQ49EKr.mjs";
|
|
24
|
-
import { D as $ } from "../Drawer-
|
|
24
|
+
import { D as $ } from "../Drawer-XPaLYjiO.mjs";
|
|
25
25
|
import Xe from "@mui/material/ListItemSecondaryAction";
|
|
26
|
-
import { C as Ze } from "../CurrencyInput-
|
|
27
|
-
import { D as W } from "../Dialog-
|
|
28
|
-
import { C as qe } from "../ConnectionsDrawer-
|
|
26
|
+
import { C as Ze } from "../CurrencyInput-CSJ3zMgE.mjs";
|
|
27
|
+
import { D as W } from "../Dialog-iLlBR8TG.mjs";
|
|
28
|
+
import { C as qe } from "../ConnectionsDrawer-DxpSlJN7.mjs";
|
|
29
29
|
import * as O from "d3";
|
|
30
30
|
import Je from "@mui/material/Tooltip";
|
|
31
31
|
import { useTheme as Ge, alpha as Qe } from "@mui/material/styles";
|
|
32
32
|
import { u as ge } from "../useScreenSize-CUcpY7aJ.mjs";
|
|
33
|
-
import { L as pe } from "../Loader-
|
|
33
|
+
import { L as pe } from "../Loader-CxeBwuPG.mjs";
|
|
34
34
|
import { E as _e } from "../EmptyState-DHAkGsjk.mjs";
|
|
35
35
|
import { A as P } from "../Analytics-0Xm_BjHU.mjs";
|
|
36
36
|
import Ee from "@mui/material/Tab";
|
|
37
37
|
import et from "@mui/material/Tabs";
|
|
38
|
-
import { e as tt } from "../exportTransactionsToCSV-
|
|
39
|
-
import { T as ve } from "../EmbeddedCard-
|
|
40
|
-
import { T as ot, c as nt } from "../TransactionDetails-
|
|
38
|
+
import { e as tt } from "../exportTransactionsToCSV-B2Lp7AMl.mjs";
|
|
39
|
+
import { T as ve } from "../EmbeddedCard-BCcn_fK2.mjs";
|
|
40
|
+
import { T as ot, c as nt } from "../TransactionDetails-Cb6vauzy.mjs";
|
|
41
41
|
import Te from "@mui/material/Card";
|
|
42
42
|
import De from "@mui/material/CardContent";
|
|
43
|
-
import { S as Se } from "../StatusBar-
|
|
44
|
-
import { S as Pe } from "../SingleSegmentDonut-
|
|
45
|
-
import { u as at,
|
|
43
|
+
import { S as Se } from "../StatusBar-CPfSXe80.mjs";
|
|
44
|
+
import { S as Pe } from "../SingleSegmentDonut-PsRQPkmV.mjs";
|
|
45
|
+
import { u as at, C as rt } from "../CategorySelectorDrawer-DjeHNx71.mjs";
|
|
46
46
|
import je from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as st } from "date-fns/subDays";
|
|
48
48
|
import it from "@mui/material/IconButton";
|
|
49
|
-
import { M as ct } from "../ManageIncome-
|
|
50
|
-
import { u as ze } from "../useWidgetLoadTimer-
|
|
51
|
-
import { W as lt } from "../WidgetContainer-
|
|
52
|
-
import { u as dt, l as ut,
|
|
53
|
-
import { M as gt } from "../MiniWidgetContainer-
|
|
54
|
-
import { b as we } from "../CategoryUtil-
|
|
49
|
+
import { M as ct } from "../ManageIncome-wgo-qbdP.mjs";
|
|
50
|
+
import { u as ze } from "../useWidgetLoadTimer-wkBTL5xx.mjs";
|
|
51
|
+
import { W as lt } from "../WidgetContainer-MhgZzIaI.mjs";
|
|
52
|
+
import { u as dt, l as ut, d as mt } from "../BudgetUtil-Cwvpb7xl.mjs";
|
|
53
|
+
import { M as gt } from "../MiniWidgetContainer-CmTGSUL5.mjs";
|
|
54
|
+
import { b as we } from "../CategoryUtil-BJOHgYKS.mjs";
|
|
55
55
|
const pt = I(() => {
|
|
56
56
|
const { budgets: t } = E(), { totalBudgeted: n } = w(), { incomeTotal: c } = le(), i = c - n;
|
|
57
57
|
return /* @__PURE__ */ m(A, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|