@mx-cartographer/experiences 7.2.10 → 7.2.12-alpha-ram1-finstrong-testing
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/{Account-B-CuHOYf.mjs → Account-CBQnFO6w.mjs} +1 -1
- package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-BkurfGCr.mjs} +48 -44
- package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-CaIoP_2Q.mjs} +8 -8
- package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CLbLAhLf.mjs} +5 -5
- package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CPm3572e.mjs} +4 -4
- package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DttEGFeu.mjs} +40 -29
- package/dist/{Accounts-IeEtQjzA.mjs → Accounts-B5Yr0e_o.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-ZO9N26Kx.mjs} +3 -3
- package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
- package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
- package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer-FyY0AWYQ.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Cd_rztVC.mjs} +3 -3
- package/dist/CurrencyInput-xH-hqry9.mjs +85 -0
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-DB5U2WMC.mjs} +1 -1
- package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
- package/dist/Drawer-BEtCk82g.mjs +163 -0
- package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
- package/dist/FinstrongStore-CJBV4K5Y.mjs +432 -0
- package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-deVLYr7n.mjs} +3 -3
- package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
- package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-CqNstpx_.mjs} +63 -61
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
- package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-CUz0bwVm.mjs} +2 -2
- package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
- package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
- package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-DfAMEAuh.mjs} +4 -4
- package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
- package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
- package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
- package/dist/SpendingLegend-squvjEhu.mjs +170 -0
- package/dist/{TransactionDetails-BWffqew4.mjs → TransactionDetails-CabNHK_I.mjs} +12 -12
- package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-DvOEbOzL.mjs} +3 -3
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
- package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
- package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-GoNq8wwm.mjs} +4 -4
- package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
- package/dist/accounts/index.es.js +14 -14
- package/dist/accounts/stores/AccountStore.d.ts +2 -0
- package/dist/analytics/index.es.js +2 -2
- package/dist/budgets/index.es.js +12 -12
- package/dist/cashflow/index.es.js +44 -44
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/charts/LineChart.d.ts +8 -2
- package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/index.es.js +33 -33
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/index.d.ts +1 -1
- package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
- package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
- package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
- package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
- package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
- package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
- package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
- package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
- package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
- package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
- package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
- package/dist/finstrong/components/ProgressBar.d.ts +15 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
- package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
- package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
- package/dist/finstrong/components/StatusChip.d.ts +5 -0
- package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
- package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
- package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
- package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
- package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
- package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
- package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
- package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
- package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
- package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
- package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
- package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
- package/dist/finstrong/constants/index.d.ts +8 -0
- package/dist/finstrong/index.es.js +3119 -1044
- package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
- package/dist/goals/index.es.js +14 -14
- package/dist/help/index.es.js +3 -3
- package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/networth/index.es.js +34 -34
- package/dist/notifications/index.es.js +4 -4
- package/dist/recurringtransactions/index.es.js +13 -13
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +222 -373
- package/dist/transactions/index.es.js +103 -103
- package/dist/trends/index.es.js +94 -94
- package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-B5O6hQ1B.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
- package/package.json +1 -1
- package/dist/CurrencyInput-CsCy7uaS.mjs +0 -83
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import m from "react";
|
|
3
|
+
import { css as q } from "@mxenabled/cssinjs";
|
|
4
|
+
import { v4 as B } from "uuid";
|
|
5
|
+
import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
|
|
6
|
+
import { b as y, g as C } from "./Localization-2MODESHW.mjs";
|
|
7
|
+
import { g as W, C as j, f as g, M as b } from "./NumberFormatting-Buh7u8Oi.mjs";
|
|
8
|
+
import { u as D } from "./hooks-C41HAxM5.mjs";
|
|
9
|
+
const F = ({
|
|
10
|
+
allowDecimals: o = !0,
|
|
11
|
+
ariaLabel: h,
|
|
12
|
+
amount: c,
|
|
13
|
+
amountIsRequired: $ = !0,
|
|
14
|
+
copy: a,
|
|
15
|
+
customValidate: M = () => !0,
|
|
16
|
+
errorText: S = "",
|
|
17
|
+
label: u,
|
|
18
|
+
minAmount: f = 1,
|
|
19
|
+
setAmount: x,
|
|
20
|
+
setHasValidInput: r,
|
|
21
|
+
...N
|
|
22
|
+
}) => {
|
|
23
|
+
const [l, t] = m.useState(""), { common: T } = D(), n = a || T.currency_input, k = L(), P = G(k), R = /^[0-9]*$/, A = /^(\d)*(\,)?([0-9]{1,2})?$/, E = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
|
24
|
+
let s;
|
|
25
|
+
const p = m.useRef(B());
|
|
26
|
+
if (o)
|
|
27
|
+
switch (W()) {
|
|
28
|
+
case j.CAD:
|
|
29
|
+
s = A;
|
|
30
|
+
break;
|
|
31
|
+
default:
|
|
32
|
+
s = E;
|
|
33
|
+
break;
|
|
34
|
+
}
|
|
35
|
+
else
|
|
36
|
+
s = R;
|
|
37
|
+
m.useEffect(() => {
|
|
38
|
+
d(c);
|
|
39
|
+
}, [c]);
|
|
40
|
+
const d = (e) => {
|
|
41
|
+
!$ && (e === "" || e === "." || e === ",") ? (t(""), r?.(!1)) : Number(e) < f ? (t(
|
|
42
|
+
y(
|
|
43
|
+
n.error_amount_must_be_equal_to,
|
|
44
|
+
g(f, "0")
|
|
45
|
+
)
|
|
46
|
+
), r?.(!1)) : Number(e) > b ? (t(
|
|
47
|
+
y(
|
|
48
|
+
n.error_amount_must_be_less_than_or_equal_to,
|
|
49
|
+
g(b, o ? "0,0.00" : "0,0", Math.floor)
|
|
50
|
+
)
|
|
51
|
+
), r?.(!1)) : e.toString().match(s) ? M() ? (t(""), r?.(!0)) : (t(S), r?.(!1)) : (t(n.error_amount_is_invalid), r?.(!1)), x(e.toString());
|
|
52
|
+
};
|
|
53
|
+
return /* @__PURE__ */ i(
|
|
54
|
+
O,
|
|
55
|
+
{
|
|
56
|
+
InputProps: {
|
|
57
|
+
endAdornment: C().includes("fr-ca") ? /* @__PURE__ */ i(_, { children: "$" }) : void 0,
|
|
58
|
+
startAdornment: C().includes("fr-ca") ? void 0 : /* @__PURE__ */ i(_, { children: "$" })
|
|
59
|
+
},
|
|
60
|
+
className: `mx-cmn-currency-input ${P}`,
|
|
61
|
+
error: !!l,
|
|
62
|
+
helperText: l,
|
|
63
|
+
hiddenLabel: !u,
|
|
64
|
+
id: `currency-input-${p.current}`,
|
|
65
|
+
inputMode: o ? "decimal" : "numeric",
|
|
66
|
+
inputProps: {
|
|
67
|
+
"aria-label": h || n.enter_amount,
|
|
68
|
+
noValidate: !0,
|
|
69
|
+
pattern: "[0-9]*"
|
|
70
|
+
},
|
|
71
|
+
label: u,
|
|
72
|
+
name: `currency-input-${p.current}`,
|
|
73
|
+
onChange: (e) => d(e.target.value),
|
|
74
|
+
value: c,
|
|
75
|
+
...N
|
|
76
|
+
}
|
|
77
|
+
);
|
|
78
|
+
}, G = (o) => q({
|
|
79
|
+
"& .MuiInputBase-adornedStart > .p": {
|
|
80
|
+
marginRight: o.Spacing.Tiny
|
|
81
|
+
}
|
|
82
|
+
}), Q = F;
|
|
83
|
+
export {
|
|
84
|
+
Q as C
|
|
85
|
+
};
|
|
@@ -7,8 +7,8 @@ import { isBefore as n } from "date-fns/isBefore";
|
|
|
7
7
|
import { nextDay as c } from "date-fns/nextDay";
|
|
8
8
|
import { setDate as d } from "date-fns/setDate";
|
|
9
9
|
import { startOfToday as o } from "date-fns/startOfToday";
|
|
10
|
-
import { fromUnixTime as
|
|
11
|
-
import { f as
|
|
10
|
+
import { fromUnixTime as i } from "date-fns/fromUnixTime";
|
|
11
|
+
import { f as D, a as f } from "./Dialog-BPTr3qHE.mjs";
|
|
12
12
|
const x = (t) => {
|
|
13
13
|
const e = y(t);
|
|
14
14
|
let r = c(t, e);
|
|
@@ -34,7 +34,7 @@ const x = (t) => {
|
|
|
34
34
|
}, Q = (t) => {
|
|
35
35
|
const e = p(t);
|
|
36
36
|
return a(e, 1);
|
|
37
|
-
}, w = (t) => l(t, 1), F = (t) => i(
|
|
37
|
+
}, w = (t) => l(t, 1), F = (t) => D(i(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? D(i(t), f.MONTH_YEAR) : "";
|
|
38
38
|
export {
|
|
39
39
|
Q as a,
|
|
40
40
|
p as b,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { makeAutoObservable as l } from "mobx";
|
|
2
2
|
import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
|
|
3
|
-
import { A as p } from "./ConnectDrawer-
|
|
3
|
+
import { A as p } from "./ConnectDrawer-FyY0AWYQ.mjs";
|
|
4
4
|
const E = 12, T = 100;
|
|
5
5
|
var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
|
|
6
6
|
const b = {
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { jsxs as h, jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import u from "@mui/material/Box";
|
|
3
|
+
import s from "@mui/material/Stack";
|
|
4
|
+
import { H2 as y, Drawer as B } from "@mxenabled/mxui";
|
|
5
|
+
import x from "@mui/material/Button";
|
|
6
|
+
import v from "@mui/material/IconButton";
|
|
7
|
+
import { ArrowBack as j } from "@mxenabled/mx-icons";
|
|
8
|
+
const F = ({
|
|
9
|
+
footerStyles: e = {},
|
|
10
|
+
hasSecondaryAction: a = !0,
|
|
11
|
+
isPrimaryDisabled: t,
|
|
12
|
+
onPrimaryAction: o,
|
|
13
|
+
onSecondaryAction: n,
|
|
14
|
+
primaryButtonProps: l = {},
|
|
15
|
+
primaryColor: c = "primary",
|
|
16
|
+
primaryText: i = "Save",
|
|
17
|
+
secondaryColor: d = "primary",
|
|
18
|
+
secondaryText: p = "Cancel"
|
|
19
|
+
}) => /* @__PURE__ */ h(
|
|
20
|
+
s,
|
|
21
|
+
{
|
|
22
|
+
sx: {
|
|
23
|
+
bgcolor: "background.paper",
|
|
24
|
+
flexDirection: "row",
|
|
25
|
+
gap: 16,
|
|
26
|
+
justifyContent: "flex-end",
|
|
27
|
+
p: 24,
|
|
28
|
+
...e
|
|
29
|
+
},
|
|
30
|
+
children: [
|
|
31
|
+
a && /* @__PURE__ */ r(
|
|
32
|
+
x,
|
|
33
|
+
{
|
|
34
|
+
color: d,
|
|
35
|
+
onClick: n,
|
|
36
|
+
variant: o ? "outlined" : "contained",
|
|
37
|
+
children: p
|
|
38
|
+
}
|
|
39
|
+
),
|
|
40
|
+
o && /* @__PURE__ */ r(
|
|
41
|
+
x,
|
|
42
|
+
{
|
|
43
|
+
...l,
|
|
44
|
+
color: c,
|
|
45
|
+
disabled: t,
|
|
46
|
+
onClick: o,
|
|
47
|
+
variant: "contained",
|
|
48
|
+
children: i
|
|
49
|
+
}
|
|
50
|
+
)
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
), H = ({
|
|
54
|
+
ariaLabelClose: e,
|
|
55
|
+
onClose: a,
|
|
56
|
+
shouldShowBorders: t,
|
|
57
|
+
shouldShowShadow: o,
|
|
58
|
+
title: n
|
|
59
|
+
}) => /* @__PURE__ */ h(
|
|
60
|
+
s,
|
|
61
|
+
{
|
|
62
|
+
"aria-level": 1,
|
|
63
|
+
direction: "row",
|
|
64
|
+
role: "heading",
|
|
65
|
+
sx: {
|
|
66
|
+
alignItems: "center",
|
|
67
|
+
backgroundColor: "background.paper",
|
|
68
|
+
...t && {
|
|
69
|
+
borderBottom: 1,
|
|
70
|
+
borderTop: 1,
|
|
71
|
+
borderColor: "border.light"
|
|
72
|
+
},
|
|
73
|
+
...o && {
|
|
74
|
+
boxShadow: "0px 2px 8px 0px #6A73811F"
|
|
75
|
+
},
|
|
76
|
+
padding: "8px 8px 8px 8px"
|
|
77
|
+
},
|
|
78
|
+
children: [
|
|
79
|
+
/* @__PURE__ */ r(v, { "aria-label": e, color: "primary", onClick: a, children: /* @__PURE__ */ r(j, { color: "primary", sx: { fontSize: 22 } }) }),
|
|
80
|
+
/* @__PURE__ */ r(
|
|
81
|
+
u,
|
|
82
|
+
{
|
|
83
|
+
sx: {
|
|
84
|
+
flexGrow: 1,
|
|
85
|
+
margin: "auto",
|
|
86
|
+
textAlign: "center"
|
|
87
|
+
},
|
|
88
|
+
children: /* @__PURE__ */ r(y, { bold: !0, variant: "Body", children: n })
|
|
89
|
+
}
|
|
90
|
+
),
|
|
91
|
+
/* @__PURE__ */ r(u, { width: "44px" })
|
|
92
|
+
]
|
|
93
|
+
}
|
|
94
|
+
), I = ({
|
|
95
|
+
ariaLabelClose: e = "Close",
|
|
96
|
+
children: a,
|
|
97
|
+
footerStyles: t = {},
|
|
98
|
+
hasSecondaryAction: o = !0,
|
|
99
|
+
id: n,
|
|
100
|
+
isOpen: l,
|
|
101
|
+
isPrimaryDisabled: c,
|
|
102
|
+
onClose: i,
|
|
103
|
+
onPrimaryAction: d,
|
|
104
|
+
onSecondaryAction: p,
|
|
105
|
+
primaryButtonProps: b,
|
|
106
|
+
primaryColor: m = "primary",
|
|
107
|
+
primaryText: g,
|
|
108
|
+
secondaryColor: w = "secondary",
|
|
109
|
+
secondaryText: f,
|
|
110
|
+
shouldShowHeaderBorders: k = !0,
|
|
111
|
+
shouldShowHeaderShadow: C = !1,
|
|
112
|
+
title: D,
|
|
113
|
+
...S
|
|
114
|
+
}) => /* @__PURE__ */ r(
|
|
115
|
+
B,
|
|
116
|
+
{
|
|
117
|
+
id: n,
|
|
118
|
+
isOpen: l,
|
|
119
|
+
onClose: i,
|
|
120
|
+
sx: {
|
|
121
|
+
"& .MuiDrawer-paper": {
|
|
122
|
+
backgroundColor: "background.default",
|
|
123
|
+
borderRadius: 0
|
|
124
|
+
},
|
|
125
|
+
height: "100%",
|
|
126
|
+
"& .MuiToolbar-root": {
|
|
127
|
+
backgroundColor: "background.paper"
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
...S,
|
|
131
|
+
children: /* @__PURE__ */ h(s, { height: "100%", justifyContent: "space-between", children: [
|
|
132
|
+
/* @__PURE__ */ r(
|
|
133
|
+
H,
|
|
134
|
+
{
|
|
135
|
+
ariaLabelClose: e,
|
|
136
|
+
onClose: i,
|
|
137
|
+
shouldShowBorders: k,
|
|
138
|
+
shouldShowShadow: C,
|
|
139
|
+
title: D
|
|
140
|
+
}
|
|
141
|
+
),
|
|
142
|
+
/* @__PURE__ */ r(u, { height: "100%", overflow: "auto", children: a }),
|
|
143
|
+
d && /* @__PURE__ */ r(
|
|
144
|
+
F,
|
|
145
|
+
{
|
|
146
|
+
footerStyles: t,
|
|
147
|
+
hasSecondaryAction: o,
|
|
148
|
+
isPrimaryDisabled: c,
|
|
149
|
+
onPrimaryAction: d,
|
|
150
|
+
onSecondaryAction: p ?? i,
|
|
151
|
+
primaryButtonProps: b,
|
|
152
|
+
primaryColor: m,
|
|
153
|
+
primaryText: g,
|
|
154
|
+
secondaryColor: w,
|
|
155
|
+
secondaryText: f
|
|
156
|
+
}
|
|
157
|
+
)
|
|
158
|
+
] })
|
|
159
|
+
}
|
|
160
|
+
), q = I;
|
|
161
|
+
export {
|
|
162
|
+
q as D
|
|
163
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as o } from "react/jsx-runtime";
|
|
2
2
|
import { observer as c } from "mobx-react-lite";
|
|
3
3
|
import { Icon as i } from "@mxenabled/mxui";
|
|
4
|
-
import { e as p } from "./exportTransactionsToCSV-
|
|
5
|
-
import { O as m } from "./User-
|
|
4
|
+
import { e as p } from "./exportTransactionsToCSV-hrNpJ77n.mjs";
|
|
5
|
+
import { O as m } from "./User-wXzDI4M8.mjs";
|
|
6
6
|
import { R as x } from "./ResponsiveButton-DZFp78fJ.mjs";
|
|
7
|
-
import { g as _, h as C, u as l } from "./hooks-
|
|
7
|
+
import { g as _, h as C, u as l } from "./hooks-C41HAxM5.mjs";
|
|
8
8
|
const v = ({ filter: t }) => {
|
|
9
9
|
const { onEvent: r } = _(), { tags: e, sortedTransactions: s } = C(), { transactions: n } = l(), a = () => {
|
|
10
10
|
r(m.ON_TRANSACTION_EXPORT_CSV_CLICK), p(t ? s.filter(t) : s, e);
|