@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-alpha.mega1
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 +50 -0
- package/dist/{Account-B4CDD-zq.mjs → Account-CvR2-dSR.mjs} +1 -1
- package/dist/AccountDetailsContent-CitErkuS.mjs +686 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-BkG3MNYo.mjs} +19 -19
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-zCMqet85.mjs} +10 -12
- package/dist/AccountListItem-DHrz8Mml.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-LgfBcYMe.mjs} +101 -75
- package/dist/Accounts-Bzy1_REQ.mjs +9 -0
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-BmZXkL0C.mjs} +32 -32
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +27 -27
- package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
- package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BkvlItWx.mjs} +55 -56
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
- package/dist/CurrencyInput-itK0R3wV.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-Bq-aPy-5.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/Drawer-By9V-B5L.mjs +178 -0
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-Cglo8Mca.mjs} +4 -4
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-1P19goZ7.mjs} +111 -151
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{Help-DBfsTkAi.mjs → Help-Ea3BlXQp.mjs} +146 -125
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/LineChart-KpPw1phO.mjs +580 -0
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-BxTkF6Tz.mjs} +2 -2
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-CaoQl609.mjs} +142 -142
- package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
- package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-rC0q7P7t.mjs} +4 -4
- package/dist/NotificationSettings-uzM8tCoH.mjs +674 -0
- package/dist/{NotificationStore-Ck2KdNmT.mjs → NotificationStore-CDX_kqHa.mjs} +14 -22
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +9 -9
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-B4ybrS0B.mjs} +17 -17
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BqijW_8S.mjs} +79 -79
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +81 -91
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
- package/dist/SpendingData-DQ1b9uqq.mjs +53 -0
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CDO060GT.mjs} +65 -65
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
- package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
- package/dist/TrendsStore-yO7qYv97.mjs +186 -0
- package/dist/{User-BklmOUSd.mjs → User-Cnlegl1N.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +211 -205
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-CoFDmQRE.mjs} +36 -36
- package/dist/accounts/index.es.js +200 -197
- package/dist/accounts/stores/AccountStore.d.ts +22 -25
- package/dist/accounts/utils/Accounts.d.ts +1 -2
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/components/AddBudgets.d.ts +2 -1
- package/dist/budgets/index.es.js +703 -669
- package/dist/budgets/store/BudgetsStore.d.ts +0 -1
- package/dist/cashflow/index.es.js +420 -404
- package/dist/categories/index.es.js +2 -2
- package/dist/categories/stores/CategoryStore.d.ts +3 -6
- package/dist/categories/util/CategoryUtil.d.ts +2 -3
- package/dist/common/components/ErrorBoundary.d.ts +1 -1
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
- package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/hooks/index.d.ts +2 -0
- package/dist/common/hooks/useAriaLive.d.ts +1 -1
- package/dist/common/hooks/usePrevious.d.ts +2 -0
- package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
- package/dist/common/index.es.js +712 -436
- package/dist/common/stores/AppDataStore.d.ts +1 -3
- package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
- package/dist/common/stores/GlobalStore.d.ts +3 -3
- package/dist/common/stores/GlobalUiStore.d.ts +2 -3
- package/dist/common/stores/UserStore.d.ts +2 -3
- package/dist/common/types/Account.d.ts +6 -9
- package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +93 -91
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +529 -527
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-DuAaI5XA.mjs} +3 -3
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +4 -5
- package/dist/finstrong/index.es.js +876 -867
- package/dist/goals/index.es.js +526 -525
- package/dist/goals/stores/GoalStore.d.ts +4 -17
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +13 -9
- package/dist/{hooks-C41HAxM5.mjs → hooks-ZMp65DFz.mjs} +11 -11
- package/dist/investments/index.es.js +534 -531
- package/dist/investments/stores/HoldingStore.d.ts +0 -1
- package/dist/merchants/index.es.js +8 -8
- package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
- package/dist/microinsights/index.d.ts +1 -0
- package/dist/microinsights/index.es.js +101 -14
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +284 -285
- package/dist/notifications/index.es.js +95 -94
- package/dist/notifications/stores/NotificationStore.d.ts +1 -3
- package/dist/recurringtransactions/index.es.js +582 -562
- package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -4
- package/dist/settings/index.es.js +340 -337
- package/dist/spending/index.es.js +281 -268
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +253 -255
- package/dist/transactions/stores/TransactionStore.d.ts +77 -21
- package/dist/transactions/stores/UiStore.d.ts +2 -0
- package/dist/trends/components/TrendsTable.d.ts +0 -2
- package/dist/trends/index.es.js +838 -793
- package/dist/trends/utils/TrendsData.d.ts +1 -0
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useInsightsEnabled-CNjP5cfR.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
- package/package.json +57 -52
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/Accounts-CRUehOiy.mjs +0 -27
- package/dist/CategoryStore-MUwRWH9e.mjs +0 -176
- package/dist/CategoryUtil-DfVKKkRf.mjs +0 -80
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/Drawer-BF40nbsH.mjs +0 -163
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/LineChart-C1PxNf7P.mjs +0 -581
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/NotificationSettings-B74rQVYC.mjs +0 -672
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/SkeletonLoader-BaNboJjD.mjs +0 -38
- package/dist/SpendingData-DPQ96k3x.mjs +0 -55
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
- package/dist/TransactionStore-DbwAutwC.mjs +0 -671
- package/dist/TrendsStore-_mRaFUdf.mjs +0 -182
- package/dist/common/components/SkeletonLoader.d.ts +0 -7
- package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +0 -3
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import { observer as i } from "mobx-react-lite";
|
|
3
|
-
import s from "@mui/material/Box";
|
|
4
|
-
import p from "@mui/material/IconButton";
|
|
5
|
-
import n from "@mui/material/InputAdornment";
|
|
6
|
-
import { TextField as d, Icon as a } from "@mxenabled/mxui";
|
|
7
|
-
const h = ({
|
|
8
|
-
ariaLabel: c = "Search",
|
|
9
|
-
cancelAriaLabel: t = "Cancel Search",
|
|
10
|
-
onChange: o,
|
|
11
|
-
placeholder: l = "Search",
|
|
12
|
-
searchValue: e
|
|
13
|
-
}) => /* @__PURE__ */ r(s, { className: "mx-cmn-search-box", px: 24, py: 16, children: /* @__PURE__ */ r(
|
|
14
|
-
d,
|
|
15
|
-
{
|
|
16
|
-
InputProps: {
|
|
17
|
-
startAdornment: /* @__PURE__ */ r(n, { position: "start", children: /* @__PURE__ */ r(a, { color: "disabled", name: "search", size: 26 }) }),
|
|
18
|
-
endAdornment: /* @__PURE__ */ r(n, { position: "end", sx: { p: 0 }, children: e ? /* @__PURE__ */ r(
|
|
19
|
-
p,
|
|
20
|
-
{
|
|
21
|
-
"aria-label": t,
|
|
22
|
-
className: "mx-cat-cancel-search-button",
|
|
23
|
-
color: "primary",
|
|
24
|
-
onClick: () => o(""),
|
|
25
|
-
children: /* @__PURE__ */ r(a, { name: "cancel", size: 24 })
|
|
26
|
-
}
|
|
27
|
-
) : null })
|
|
28
|
-
},
|
|
29
|
-
"aria-label": c,
|
|
30
|
-
name: "search",
|
|
31
|
-
onChange: (m) => o(m.target.value),
|
|
32
|
-
placeholder: l,
|
|
33
|
-
sx: { bgcolor: "background.paper", width: "100%" },
|
|
34
|
-
value: e
|
|
35
|
-
}
|
|
36
|
-
) }), g = i(h);
|
|
37
|
-
export {
|
|
38
|
-
g as S
|
|
39
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { jsxs as d, jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import t from "@mui/material/Stack";
|
|
3
|
-
import i from "@mui/material/Skeleton";
|
|
4
|
-
const g = ({ sx: e = {}, variant: h = "list" }) => /* @__PURE__ */ d(t, { sx: [...Array.isArray(e) ? e : [e]], children: [
|
|
5
|
-
h === "list" && /* @__PURE__ */ d(t, { gap: 24, children: [
|
|
6
|
-
/* @__PURE__ */ r(i, { height: 25, variant: "rounded", width: 150 }),
|
|
7
|
-
/* @__PURE__ */ r(i, { height: 50, variant: "rounded" }),
|
|
8
|
-
/* @__PURE__ */ r(i, { height: 50, variant: "rounded" }),
|
|
9
|
-
/* @__PURE__ */ r(i, { height: 50, variant: "rounded" })
|
|
10
|
-
] }),
|
|
11
|
-
h === "card" && /* @__PURE__ */ d(t, { gap: 24, children: [
|
|
12
|
-
/* @__PURE__ */ r(i, { height: 50, variant: "rounded" }),
|
|
13
|
-
/* @__PURE__ */ d(t, { direction: "row", gap: 24, children: [
|
|
14
|
-
/* @__PURE__ */ r(i, { height: 300, variant: "rounded", width: "20%" }),
|
|
15
|
-
/* @__PURE__ */ r(i, { height: 300, variant: "rounded", width: "80%" })
|
|
16
|
-
] })
|
|
17
|
-
] }),
|
|
18
|
-
h === "dashboard" && /* @__PURE__ */ d(t, { gap: 24, children: [
|
|
19
|
-
/* @__PURE__ */ r(i, { height: 75, variant: "rounded" }),
|
|
20
|
-
/* @__PURE__ */ d(t, { gap: 24, children: [
|
|
21
|
-
/* @__PURE__ */ d(t, { direction: "row", gap: 24, children: [
|
|
22
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "75%" }),
|
|
23
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "25%" })
|
|
24
|
-
] }),
|
|
25
|
-
/* @__PURE__ */ d(t, { direction: "row", gap: 24, children: [
|
|
26
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "75%" }),
|
|
27
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "25%" })
|
|
28
|
-
] }),
|
|
29
|
-
/* @__PURE__ */ d(t, { direction: "row", gap: 24, children: [
|
|
30
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "75%" }),
|
|
31
|
-
/* @__PURE__ */ r(i, { height: 250, variant: "rounded", width: "25%" })
|
|
32
|
-
] })
|
|
33
|
-
] })
|
|
34
|
-
] })
|
|
35
|
-
] });
|
|
36
|
-
export {
|
|
37
|
-
g as S
|
|
38
|
-
};
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { addMonths as u } from "date-fns/addMonths";
|
|
2
|
-
import { isBefore as d } from "date-fns/isBefore";
|
|
3
|
-
import { startOfMonth as _ } from "date-fns/startOfMonth";
|
|
4
|
-
import { subMonths as y } from "date-fns/subMonths";
|
|
5
|
-
import { endOfMonth as M } from "date-fns/endOfMonth";
|
|
6
|
-
import { b as n, P as l } from "./Category-Ccoew_sA.mjs";
|
|
7
|
-
import { f as m, a as T } from "./Dialog-CDV0kKxj.mjs";
|
|
8
|
-
const i = (e) => (e.top_level_category_guid === n.INCOME || e.category_guid === n.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === n.TRANSFER || e.category_guid === n.TRANSFER, h = (e) => e.top_level_category_guid === n.INVESTMENTS || e.category_guid === n.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
|
|
9
|
-
if (r === 0) return 0;
|
|
10
|
-
const a = (e - r) / r;
|
|
11
|
-
return isNaN(a) ? 0 : a;
|
|
12
|
-
}, g = (e, r) => {
|
|
13
|
-
const a = [];
|
|
14
|
-
let t = _(r?.start ?? y(/* @__PURE__ */ new Date(), 5));
|
|
15
|
-
const s = r?.end ?? /* @__PURE__ */ new Date();
|
|
16
|
-
for (; d(t, s); )
|
|
17
|
-
a.push({
|
|
18
|
-
x: m(t, T.MONTH_SHORT),
|
|
19
|
-
y: e.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
|
|
20
|
-
}), t = u(t, 1);
|
|
21
|
-
return a;
|
|
22
|
-
}, b = (e, r) => {
|
|
23
|
-
const a = e.filter(i);
|
|
24
|
-
return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
|
|
25
|
-
}, A = (e, r) => {
|
|
26
|
-
const a = e.filter(p);
|
|
27
|
-
return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
|
|
28
|
-
}, x = (e, r) => {
|
|
29
|
-
const a = e.filter(N);
|
|
30
|
-
return g(a, r);
|
|
31
|
-
}, H = (e) => {
|
|
32
|
-
const r = [], a = e.filter(
|
|
33
|
-
(o) => o.top_level_category_guid !== n.INCOME && o.top_level_category_guid !== n.TRANSFER && o.total > 0
|
|
34
|
-
);
|
|
35
|
-
let t = _(y(/* @__PURE__ */ new Date(), 5));
|
|
36
|
-
const s = M(/* @__PURE__ */ new Date());
|
|
37
|
-
for (; d(t, s); )
|
|
38
|
-
r.push({
|
|
39
|
-
x: m(t, T.MONTH_SHORT),
|
|
40
|
-
y: a.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
|
|
41
|
-
}), t = u(t, 1);
|
|
42
|
-
return r;
|
|
43
|
-
};
|
|
44
|
-
export {
|
|
45
|
-
A as a,
|
|
46
|
-
x as b,
|
|
47
|
-
f as c,
|
|
48
|
-
w as d,
|
|
49
|
-
i as e,
|
|
50
|
-
C as f,
|
|
51
|
-
b as g,
|
|
52
|
-
H as h,
|
|
53
|
-
h as i,
|
|
54
|
-
F as j
|
|
55
|
-
};
|