@mx-cartographer/experiences 8.1.6 → 8.1.8
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 +8 -0
- package/dist/AccountDetailsHeader-D8NIfmO8.mjs +95 -0
- package/dist/{AccountFields-nrrEXd46.mjs → AccountFields-BWmpVsS3.mjs} +51 -51
- package/dist/AccountListItem-DSuv36PF.mjs +95 -0
- package/dist/accounts/index.es.js +424 -420
- package/dist/accounts/utils/AccountFields.d.ts +2 -2
- package/dist/cashflow/index.es.js +1 -1
- package/dist/debts/index.es.js +1 -1
- package/dist/finstrong/index.es.js +11 -3
- package/dist/goals/index.es.js +373 -372
- package/package.json +1 -1
- package/dist/AccountDetailsHeader-D_a0XUkL.mjs +0 -95
- package/dist/AccountListItem-D80egD01.mjs +0 -94
|
@@ -16,12 +16,12 @@ export type AccountField = {
|
|
|
16
16
|
valueFormatter: (val: any) => any;
|
|
17
17
|
};
|
|
18
18
|
export declare const getAccountDetailFields: (account: Account, copy: AccountsCopy) => AccountField[];
|
|
19
|
-
export declare const getAccountBalanceDetails: (account: Account, copy: AccountsCopy) => {
|
|
19
|
+
export declare const getAccountBalanceDetails: (account: Account, copy: AccountsCopy, showAvailableBalance: boolean) => {
|
|
20
20
|
firstSubtitle: string;
|
|
21
21
|
firstValue: number | undefined;
|
|
22
22
|
secondSubtitle: string | import("react/jsx-runtime").JSX.Element | null;
|
|
23
23
|
secondValue: string | null;
|
|
24
24
|
hasAvailableBalance: boolean;
|
|
25
25
|
};
|
|
26
|
-
export declare const getClosedAccountBalanceTotal: (accounts: Account[], copy: AccountsCopy) => number;
|
|
26
|
+
export declare const getClosedAccountBalanceTotal: (accounts: Account[], copy: AccountsCopy, showAvailableBalance: boolean) => number;
|
|
27
27
|
export {};
|
|
@@ -24,7 +24,7 @@ import ye from "@mui/material/Tab";
|
|
|
24
24
|
import { getUnixTime as le } from "date-fns/getUnixTime";
|
|
25
25
|
import Q from "@mui/material/List";
|
|
26
26
|
import ee from "@mui/material/ListItem";
|
|
27
|
-
import { A as tt } from "../AccountListItem-
|
|
27
|
+
import { A as tt } from "../AccountListItem-DSuv36PF.mjs";
|
|
28
28
|
import { f as U, D as Y } from "../DateFormats-CaOj_4eI.mjs";
|
|
29
29
|
import nt from "@mui/material/ListSubheader";
|
|
30
30
|
import { f as J } from "../NumberFormatting-CyrvFgfd.mjs";
|
package/dist/debts/index.es.js
CHANGED
|
@@ -16,7 +16,7 @@ import { G as ze, x as ee, u as C, k as V, g as B, d as te, a as Ye, b as Ve } f
|
|
|
16
16
|
import { u as ae } from "../useScreenSize-CeFhWTt_.mjs";
|
|
17
17
|
import { D as ie } from "../Drawer-XPaLYjiO.mjs";
|
|
18
18
|
import { b as E } from "../Localization-CkQ49EKr.mjs";
|
|
19
|
-
import { A as Ke, u as Ue } from "../AccountDetailsHeader-
|
|
19
|
+
import { A as Ke, u as Ue } from "../AccountDetailsHeader-D8NIfmO8.mjs";
|
|
20
20
|
import qe from "@mui/material/Card";
|
|
21
21
|
import Xe from "@mui/material/CardContent";
|
|
22
22
|
import Ze from "@mui/material/CardHeader";
|
|
@@ -31,7 +31,7 @@ import xe from "@mui/material/ListItem";
|
|
|
31
31
|
import vt from "@mui/material/ListItemAvatar";
|
|
32
32
|
import Se from "@mui/material/ListItemText";
|
|
33
33
|
import { g as wt } from "../AccountDisplayName-CO7z3v99.mjs";
|
|
34
|
-
import { g as kt } from "../AccountFields-
|
|
34
|
+
import { g as kt } from "../AccountFields-BWmpVsS3.mjs";
|
|
35
35
|
import He from "@mui/material/List";
|
|
36
36
|
import $n from "@mui/material/ListItemButton";
|
|
37
37
|
import En from "@mui/material/ListSubheader";
|
|
@@ -829,7 +829,11 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
829
829
|
sx: { bgcolor: "background.paper" },
|
|
830
830
|
children: [
|
|
831
831
|
_.map((m, b) => {
|
|
832
|
-
const { firstValue: v } = kt(
|
|
832
|
+
const { firstValue: v } = kt(
|
|
833
|
+
m,
|
|
834
|
+
s,
|
|
835
|
+
r.display_available_balance_in_accounts
|
|
836
|
+
), x = wt(m, {
|
|
833
837
|
allowNickname: r?.show_account_nicknames_in_master
|
|
834
838
|
}), S = /* @__PURE__ */ i(H, { children: [
|
|
835
839
|
/* @__PURE__ */ e(vt, { children: /* @__PURE__ */ e(pt, { alt: "MX", institutionGuid: m.institution_guid ?? "" }) }),
|
|
@@ -860,7 +864,11 @@ const Ao = "https://content.moneydesktop.com/storage/MD_Assets/serenity/loading_
|
|
|
860
864
|
),
|
|
861
865
|
[c, t]
|
|
862
866
|
), v = h.useMemo(() => b.slice(0, 3), [b]), x = (S) => {
|
|
863
|
-
const { firstValue: f } = kt(
|
|
867
|
+
const { firstValue: f } = kt(
|
|
868
|
+
S,
|
|
869
|
+
l,
|
|
870
|
+
r.display_available_balance_in_accounts
|
|
871
|
+
);
|
|
864
872
|
return f;
|
|
865
873
|
};
|
|
866
874
|
return b.length >= 1 ? /* @__PURE__ */ i(H, { children: [
|