@mx-cartographer/experiences 7.2.5 → 11.6.4-alpha.san1
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 +2 -19
- package/dist/{Account-B-CuHOYf.mjs → Account-CpRTVIHg.mjs} +1 -1
- package/dist/{AccountDetailsContent-DfzPOeMI.mjs → AccountDetailsContent-JfTu_amk.mjs} +10 -10
- package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5XdFMtT.mjs} +8 -8
- package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
- package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
- package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-CKHyaGMR.mjs} +40 -29
- package/dist/{Accounts-IeEtQjzA.mjs → Accounts-D0BmvNxn.mjs} +1 -1
- package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
- package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-DomNyubP.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--gJHyp-S.mjs} +2 -2
- package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
- package/dist/{CurrencyInput-CsCy7uaS.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
- package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
- package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-9aR2sTJQ.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-Um-CDa4C.mjs} +3 -3
- package/dist/FinstrongStore-CjErZ73K.mjs +432 -0
- package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
- package/dist/{Help-B6dIcujh.mjs → Help-BZ8pIkkR.mjs} +2 -2
- package/dist/{LineChart-D4GI7nVh.mjs → LineChart-ClUGPuYX.mjs} +3 -3
- package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
- package/dist/{ManageIncome-D3n1EWxe.mjs → ManageIncome-BaNgfwr5.mjs} +63 -61
- package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
- package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
- package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
- package/dist/{NotificationSettings-BRm_EJZV.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
- package/dist/{OriginalBalanceAction-CAaVbVMO.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
- package/dist/{RecurringSettings-C28GrQcP.mjs → RecurringSettings-DE4T4yQy.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-D24CEkL3.mjs +170 -0
- package/dist/{TransactionDetails-BWffqew4.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
- package/dist/{TransactionStore-DxPLdF3B.mjs → TransactionStore-BHTdiLRW.mjs} +3 -3
- package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
- package/dist/{User-BQUxBeZV.mjs → User-BthIKO4w.mjs} +2 -2
- package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-C5yQiaed.mjs} +40 -41
- package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-DJA1bxLn.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 +436 -440
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Select.d.ts +4 -2
- package/dist/common/components/drawer/Drawer.d.ts +3 -0
- package/dist/common/components/drawer/Footer.d.ts +17 -0
- package/dist/common/context/GlobalDataProvider.d.ts +0 -1
- package/dist/common/context/hooks.d.ts +0 -3
- package/dist/common/context/index.d.ts +1 -1
- package/dist/common/index.es.js +57 -58
- package/dist/common/types/Finstrong.d.ts +50 -0
- package/dist/common/types/Widgets.d.ts +2 -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 +79 -81
- package/dist/debts/index.es.js +11 -11
- package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
- package/dist/finstrong/FinstrongWidget.d.ts +1 -1
- 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 +5 -2
- package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +6 -3
- package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +12 -0
- package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +5 -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 +6 -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 +2903 -1005
- package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
- package/dist/finstrong/util/finstrongUtils.d.ts +60 -1
- package/dist/goals/index.es.js +14 -14
- package/dist/help/index.es.js +3 -3
- package/dist/hooks-CBST3rkm.mjs +74 -0
- package/dist/investments/index.es.js +4 -4
- package/dist/merchants/index.es.js +1 -1
- package/dist/microinsights/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 +24 -24
- package/dist/settings/index.es.js +8 -8
- package/dist/spending/index.es.js +222 -373
- package/dist/transactions/index.es.js +15 -15
- package/dist/trends/index.es.js +451 -451
- package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
- package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
- package/package.json +1 -1
- package/dist/Drawer-kEE73B87.mjs +0 -113
- package/dist/FinstrongStore-F2c607dj.mjs +0 -101
- package/dist/finstrong/utils/Finstrong.d.ts +0 -6
- package/dist/hooks-D6XlXHf4.mjs +0 -77
|
@@ -4,9 +4,9 @@ import { observer as G } from "mobx-react-lite";
|
|
|
4
4
|
import Pe from "@mui/material/Button";
|
|
5
5
|
import K from "@mui/material/Stack";
|
|
6
6
|
import Ge from "@mui/material/Typography";
|
|
7
|
-
import { ChevronLeft as
|
|
8
|
-
import { L as
|
|
9
|
-
import
|
|
7
|
+
import { ChevronLeft as Ue, ChevronRight as Se } from "@mxenabled/mx-icons";
|
|
8
|
+
import { L as be } from "./Loader-DUaFpDGv.mjs";
|
|
9
|
+
import b from "@mui/material/Box";
|
|
10
10
|
import pe from "@mui/material/IconButton";
|
|
11
11
|
import { useTheme as ze } from "@mui/material/styles";
|
|
12
12
|
import { useInView as Me } from "react-intersection-observer";
|
|
@@ -123,7 +123,7 @@ const he = {
|
|
|
123
123
|
ON_CAROUSEL_FORWARD_SWIPE: "onCarouselForwardSwipe",
|
|
124
124
|
ON_NO_RELEVANT_INSIGHTS_CLICKED: "onNoRelevantInsightsClicked",
|
|
125
125
|
ON_VIEW_MORE_CLICKED: "onViewMoreClicked"
|
|
126
|
-
},
|
|
126
|
+
}, De = {
|
|
127
127
|
ON_VIEW_MORE_VIEWED: "onViewMoreCardView"
|
|
128
128
|
}, w = {
|
|
129
129
|
CONTROL_BACKWARD: "Control Backward",
|
|
@@ -191,7 +191,7 @@ const he = {
|
|
|
191
191
|
label: T.VIEW_MORE,
|
|
192
192
|
value: S
|
|
193
193
|
},
|
|
194
|
-
[
|
|
194
|
+
[De.ON_VIEW_MORE_VIEWED]: {
|
|
195
195
|
action: w.MICRO_BEAT_DISPLAYED,
|
|
196
196
|
category: W.BEAT_INTERACTION,
|
|
197
197
|
label: T.VIEW_MORE,
|
|
@@ -272,7 +272,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
272
272
|
variant: c,
|
|
273
273
|
widthOverrides: E
|
|
274
274
|
}, R) {
|
|
275
|
-
const I = se(), [
|
|
275
|
+
const I = se(), [D, O] = u.useState(!1), { cardStyle: y, linkTextStyle: F } = f, z = c ? y : { border: "none", boxShadow: "none", ...y }, g = /* @__PURE__ */ e(
|
|
276
276
|
Ke,
|
|
277
277
|
{
|
|
278
278
|
className: "mx-micro-card-description",
|
|
@@ -299,7 +299,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
299
299
|
}
|
|
300
300
|
);
|
|
301
301
|
return /* @__PURE__ */ e(
|
|
302
|
-
|
|
302
|
+
b,
|
|
303
303
|
{
|
|
304
304
|
"aria-hidden": !d,
|
|
305
305
|
"aria-label": t,
|
|
@@ -313,7 +313,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
313
313
|
fontFamily: I.typography.fontFamily
|
|
314
314
|
},
|
|
315
315
|
children: /* @__PURE__ */ e(
|
|
316
|
-
|
|
316
|
+
b,
|
|
317
317
|
{
|
|
318
318
|
"aria-hidden": !d,
|
|
319
319
|
"aria-label": t,
|
|
@@ -324,7 +324,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
324
324
|
ref: R,
|
|
325
325
|
role: "button",
|
|
326
326
|
sx: {
|
|
327
|
-
border:
|
|
327
|
+
border: D ? "1px solid rgba(82, 138, 224, 0.8)" : void 0,
|
|
328
328
|
borderRadius: "8px",
|
|
329
329
|
height: "100%"
|
|
330
330
|
},
|
|
@@ -337,7 +337,6 @@ const $ = u.createContext(null), Et = ({
|
|
|
337
337
|
role: "group",
|
|
338
338
|
sx: {
|
|
339
339
|
backgroundColor: r,
|
|
340
|
-
boxSizing: "border-box",
|
|
341
340
|
cursor: "pointer",
|
|
342
341
|
height: l ? "100%" : 124,
|
|
343
342
|
p: 16,
|
|
@@ -375,14 +374,14 @@ const $ = u.createContext(null), Et = ({
|
|
|
375
374
|
p: 0
|
|
376
375
|
},
|
|
377
376
|
children: /* @__PURE__ */ e(
|
|
378
|
-
|
|
377
|
+
b,
|
|
379
378
|
{
|
|
380
|
-
sx: (
|
|
381
|
-
color: h.buttonColor ? h.buttonColor :
|
|
379
|
+
sx: (x) => ({
|
|
380
|
+
color: h.buttonColor ? h.buttonColor : x.palette.primary.main,
|
|
382
381
|
fontSize: 14,
|
|
383
382
|
fontWeight: "bold",
|
|
384
383
|
px: 28,
|
|
385
|
-
fontFamily:
|
|
384
|
+
fontFamily: x.typography.fontFamily,
|
|
386
385
|
...F
|
|
387
386
|
}),
|
|
388
387
|
children: o
|
|
@@ -458,7 +457,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
458
457
|
}, gt = ({ beat: i }) => {
|
|
459
458
|
const o = Ae(), t = Rt(i.data_series, o);
|
|
460
459
|
return /* @__PURE__ */ e(ie, { name: "bar_chart", sx: { color: t } });
|
|
461
|
-
},
|
|
460
|
+
}, xe = () => /* @__PURE__ */ v("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
462
461
|
/* @__PURE__ */ e(
|
|
463
462
|
"path",
|
|
464
463
|
{
|
|
@@ -1295,9 +1294,9 @@ const $ = u.createContext(null), Et = ({
|
|
|
1295
1294
|
}) => {
|
|
1296
1295
|
const { ref: m, inView: c } = Me({
|
|
1297
1296
|
threshold: Ve
|
|
1298
|
-
}), { cardsCopy: E } = k(), { onEvent: R } = Y(), { updateBeat: I, updateOffer:
|
|
1297
|
+
}), { cardsCopy: E } = k(), { onEvent: R } = Y(), { updateBeat: I, updateOffer: D } = It();
|
|
1299
1298
|
oe(() => {
|
|
1300
|
-
c && (t.has_been_displayed ? R(We(t.template)) : (t.guid.startsWith("OFR") ?
|
|
1299
|
+
c && (t.has_been_displayed ? R(We(t.template)) : (t.guid.startsWith("OFR") ? D({
|
|
1301
1300
|
...t,
|
|
1302
1301
|
has_been_displayed: !0
|
|
1303
1302
|
}) : I({
|
|
@@ -1399,7 +1398,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1399
1398
|
disabled: f,
|
|
1400
1399
|
onClick: n,
|
|
1401
1400
|
children: /* @__PURE__ */ e(
|
|
1402
|
-
|
|
1401
|
+
Ue,
|
|
1403
1402
|
{
|
|
1404
1403
|
style: {
|
|
1405
1404
|
color: f ? m : c
|
|
@@ -1411,7 +1410,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1411
1410
|
Array.from({ length: t }).map((E, R) => {
|
|
1412
1411
|
const I = R === o;
|
|
1413
1412
|
return /* @__PURE__ */ e(
|
|
1414
|
-
|
|
1413
|
+
b,
|
|
1415
1414
|
{
|
|
1416
1415
|
className: "mx-insights-micro-carousel-dots",
|
|
1417
1416
|
sx: {
|
|
@@ -1472,7 +1471,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1472
1471
|
visibleCardsCount: c = 1
|
|
1473
1472
|
// Default to 1 card visible
|
|
1474
1473
|
}) => {
|
|
1475
|
-
const E = u.useRef(null), R = u.useRef(null), [I,
|
|
1474
|
+
const E = u.useRef(null), R = u.useRef(null), [I, D] = u.useState(0), [O, y] = u.useState(null), [F, z] = u.useState(null), [g, x] = u.useState(null), [U, B] = u.useState(p), { carouselCopy: j } = k(), { onEvent: Z } = Y();
|
|
1476
1475
|
u.useEffect(() => {
|
|
1477
1476
|
if (E.current && !o) {
|
|
1478
1477
|
const s = E.current.offsetWidth, A = 8;
|
|
@@ -1482,7 +1481,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1482
1481
|
N = (s - J - (c - 1) * A) / c;
|
|
1483
1482
|
} else
|
|
1484
1483
|
N = s;
|
|
1485
|
-
|
|
1484
|
+
x(N);
|
|
1486
1485
|
}
|
|
1487
1486
|
}, [c, E.current?.offsetWidth]), u.useEffect(() => {
|
|
1488
1487
|
const s = R.current?.offsetWidth;
|
|
@@ -1498,10 +1497,10 @@ const $ = u.createContext(null), Et = ({
|
|
|
1498
1497
|
].find((ce) => P <= ce.maxWidth);
|
|
1499
1498
|
return ee ? ee.cardWidth : 750;
|
|
1500
1499
|
};
|
|
1501
|
-
|
|
1500
|
+
x(A(s));
|
|
1502
1501
|
const N = () => {
|
|
1503
1502
|
const P = R.current?.offsetWidth;
|
|
1504
|
-
typeof P == "number" &&
|
|
1503
|
+
typeof P == "number" && x(A(P));
|
|
1505
1504
|
};
|
|
1506
1505
|
return window.addEventListener("resize", N), () => {
|
|
1507
1506
|
window.removeEventListener("resize", N);
|
|
@@ -1521,7 +1520,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1521
1520
|
behavior: "smooth"
|
|
1522
1521
|
});
|
|
1523
1522
|
}, ne = () => {
|
|
1524
|
-
E.current &&
|
|
1523
|
+
E.current && D(E.current.scrollLeft);
|
|
1525
1524
|
}, Q = () => {
|
|
1526
1525
|
if (!F || !O) return;
|
|
1527
1526
|
F - O > yt ? Z(M.ON_CAROUSEL_FORWARD_SWIPE, i) : Z(M.ON_CAROUSEL_BACK_SWIPE, i);
|
|
@@ -1620,7 +1619,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1620
1619
|
onPreviousClick: le,
|
|
1621
1620
|
scrollRightBoundary: Fe,
|
|
1622
1621
|
scrollX: I,
|
|
1623
|
-
shouldApplyNewAnimation:
|
|
1622
|
+
shouldApplyNewAnimation: U,
|
|
1624
1623
|
visibleCardsCount: c
|
|
1625
1624
|
}
|
|
1626
1625
|
)
|
|
@@ -1677,7 +1676,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1677
1676
|
)
|
|
1678
1677
|
]
|
|
1679
1678
|
}
|
|
1680
|
-
) : /* @__PURE__ */ e(
|
|
1679
|
+
) : /* @__PURE__ */ e(be, {});
|
|
1681
1680
|
}, Tt = G(Ot), Wt = ({
|
|
1682
1681
|
heightOverrides: i,
|
|
1683
1682
|
widthOverrides: o,
|
|
@@ -1685,7 +1684,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1685
1684
|
}) => {
|
|
1686
1685
|
const { carouselCopy: r } = k();
|
|
1687
1686
|
return /* @__PURE__ */ e(
|
|
1688
|
-
|
|
1687
|
+
b,
|
|
1689
1688
|
{
|
|
1690
1689
|
"aria-label": r?.carousel_title,
|
|
1691
1690
|
"aria-roledescription": "carousel",
|
|
@@ -1728,7 +1727,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1728
1727
|
description: C.no_relevant_insights_card_description,
|
|
1729
1728
|
fontColors: { buttonColor: t?.primary_300 },
|
|
1730
1729
|
heightOverrides: r,
|
|
1731
|
-
icon: /* @__PURE__ */ e(
|
|
1730
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
1732
1731
|
isZeroState: !0,
|
|
1733
1732
|
onCardClick: m,
|
|
1734
1733
|
posthog: l,
|
|
@@ -1773,7 +1772,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1773
1772
|
ariaLabel: i,
|
|
1774
1773
|
description: C.carousel_zero_state_description,
|
|
1775
1774
|
heightOverrides: t,
|
|
1776
|
-
icon: /* @__PURE__ */ e(
|
|
1775
|
+
icon: /* @__PURE__ */ e(xe, {}),
|
|
1777
1776
|
isZeroState: !0,
|
|
1778
1777
|
onCardClick: r,
|
|
1779
1778
|
posthog: n,
|
|
@@ -1796,7 +1795,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1796
1795
|
}
|
|
1797
1796
|
);
|
|
1798
1797
|
}, ni = G(ke), wt = () => /* @__PURE__ */ e(
|
|
1799
|
-
|
|
1798
|
+
b,
|
|
1800
1799
|
{
|
|
1801
1800
|
sx: {
|
|
1802
1801
|
alignItems: "center",
|
|
@@ -1807,7 +1806,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1807
1806
|
},
|
|
1808
1807
|
children: /* @__PURE__ */ e(qe, {})
|
|
1809
1808
|
}
|
|
1810
|
-
), V = new ht(),
|
|
1809
|
+
), V = new ht(), Dt = ({
|
|
1811
1810
|
allowSingleCardPeeking: i,
|
|
1812
1811
|
areBeatsLoading: o,
|
|
1813
1812
|
beats: t = [],
|
|
@@ -1831,19 +1830,19 @@ const $ = u.createContext(null), Et = ({
|
|
|
1831
1830
|
showHeader: E,
|
|
1832
1831
|
showIcon: R,
|
|
1833
1832
|
showWithMargin: I = !0,
|
|
1834
|
-
token:
|
|
1833
|
+
token: D = "",
|
|
1835
1834
|
useDarkMode: O,
|
|
1836
1835
|
userHasFullInsightFeedBeats: y,
|
|
1837
1836
|
variant: F,
|
|
1838
1837
|
visibleCardsCount: z = 1,
|
|
1839
1838
|
widthOverrides: g
|
|
1840
1839
|
}) => {
|
|
1841
|
-
const [
|
|
1840
|
+
const [x, U] = te("STANDARD"), [B, j] = te(!1), [Z, X] = te(!1), le = et([_], V), ne = tt([C], V);
|
|
1842
1841
|
u.useEffect(() => {
|
|
1843
|
-
!V.isInitialized && !Z && (V.initialize(l,
|
|
1844
|
-
}, [l,
|
|
1842
|
+
!V.isInitialized && !Z && (V.initialize(l, D, d).catch(() => X(!1)), X(!0));
|
|
1843
|
+
}, [l, D, d, V.isInitialized, Z]), u.useEffect(() => {
|
|
1845
1844
|
const L = window.innerHeight;
|
|
1846
|
-
L < 180 ?
|
|
1845
|
+
L < 180 ? U("STANDARD") : L >= 180 && L < 200 ? U("LARGE") : L >= 200 && L < 248 ? U("XLARGE") : L >= 248 && U("XXLARGE");
|
|
1847
1846
|
}, [window.innerHeight]), u.useEffect(() => {
|
|
1848
1847
|
j(!o && V.isInitialized);
|
|
1849
1848
|
}, [o, V.isInitialized]);
|
|
@@ -1857,7 +1856,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1857
1856
|
useDarkMode: O,
|
|
1858
1857
|
widthOverrides: g
|
|
1859
1858
|
}, q = {
|
|
1860
|
-
carouselSize:
|
|
1859
|
+
carouselSize: x,
|
|
1861
1860
|
variant: F,
|
|
1862
1861
|
...Q
|
|
1863
1862
|
};
|
|
@@ -1890,7 +1889,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1890
1889
|
B && !t.length && y && /* @__PURE__ */ e(He, { clientColorScheme: r, ...q }),
|
|
1891
1890
|
B && !t.length && !y && /* @__PURE__ */ e(ke, { ...q })
|
|
1892
1891
|
] }) });
|
|
1893
|
-
}, ai = G(
|
|
1892
|
+
}, ai = G(Dt), xt = ({
|
|
1894
1893
|
isActiveCard: i,
|
|
1895
1894
|
ariaLabel: o,
|
|
1896
1895
|
clientColorScheme: t,
|
|
@@ -1905,7 +1904,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1905
1904
|
threshold: Ve
|
|
1906
1905
|
}), { cardsCopy: h } = k(), { onEvent: m } = Y();
|
|
1907
1906
|
oe(() => {
|
|
1908
|
-
f && (m(
|
|
1907
|
+
f && (m(De.ON_VIEW_MORE_VIEWED), l?.capture("viewed_insight", {
|
|
1909
1908
|
template: "view_more_card"
|
|
1910
1909
|
}));
|
|
1911
1910
|
}, [f]);
|
|
@@ -1933,7 +1932,7 @@ const $ = u.createContext(null), Et = ({
|
|
|
1933
1932
|
widthOverrides: p
|
|
1934
1933
|
}
|
|
1935
1934
|
);
|
|
1936
|
-
}, Lt = G(
|
|
1935
|
+
}, Lt = G(xt);
|
|
1937
1936
|
export {
|
|
1938
1937
|
ht as A,
|
|
1939
1938
|
vt as B,
|
|
@@ -1948,5 +1947,5 @@ export {
|
|
|
1948
1947
|
ai as b,
|
|
1949
1948
|
ft as c,
|
|
1950
1949
|
gt as d,
|
|
1951
|
-
|
|
1950
|
+
xe as e
|
|
1952
1951
|
};
|
|
@@ -13,7 +13,7 @@ import { ChevronLeft as le } from "@mxenabled/mx-icons";
|
|
|
13
13
|
import { Icon as T, Text as X, DateRangePicker as J, H1 as Ce, H3 as de } from "@mxenabled/mxui";
|
|
14
14
|
import { u as Te } from "./useDimensions-27p2evRx.mjs";
|
|
15
15
|
import { L as Ie } from "./Loader-DUaFpDGv.mjs";
|
|
16
|
-
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-
|
|
16
|
+
import { g as Ee, b as Re, u as ge, a as Ae, W as Se } from "./hooks-CBST3rkm.mjs";
|
|
17
17
|
import { u as ie } from "./useScreenSize-B6JyS_Lj.mjs";
|
|
18
18
|
import { addMonths as Q } from "date-fns/addMonths";
|
|
19
19
|
import { addDays as ue } from "date-fns/addDays";
|
|
@@ -35,9 +35,9 @@ import be from "@mui/material/Tabs";
|
|
|
35
35
|
import we from "@mui/material/ToggleButton";
|
|
36
36
|
import Ke from "@mui/material/ToggleButtonGroup";
|
|
37
37
|
import Ge from "@mui/material/styles/useTheme";
|
|
38
|
-
import { f as K,
|
|
39
|
-
import { D as We } from "./Drawer-
|
|
40
|
-
import { k as ye, l as xe } from "./ConnectDrawer-
|
|
38
|
+
import { f as K, a as G, D as Me } from "./Dialog-BPTr3qHE.mjs";
|
|
39
|
+
import { D as We } from "./Drawer-BEtCk82g.mjs";
|
|
40
|
+
import { k as ye, l as xe } from "./ConnectDrawer--gJHyp-S.mjs";
|
|
41
41
|
const ve = {
|
|
42
42
|
ACCOUNTS_CLICK_ACCOUNT: "accounts_widget_click_account",
|
|
43
43
|
ACCOUNTS_CLICK_CONNECT: "accounts_widget_click_connect_accounts",
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Account, AccountType } from '../../common';
|
|
2
|
+
interface AccountsListCompactProps {
|
|
3
|
+
onClick?: (account: Account) => void;
|
|
4
|
+
shouldShowBalance?: boolean;
|
|
5
|
+
loadAccounts?: AccountType[];
|
|
6
|
+
}
|
|
7
|
+
declare const _default: (({ onClick, shouldShowBalance, loadAccounts, }: AccountsListCompactProps) => import("react/jsx-runtime").JSX.Element | null) & {
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
@@ -7,25 +7,25 @@ import E from "@mui/material/List";
|
|
|
7
7
|
import O from "@mui/material/ListSubheader";
|
|
8
8
|
import _ from "@mui/system/Stack";
|
|
9
9
|
import { Text as v } from "@mxenabled/mxui";
|
|
10
|
-
import { A as K } from "../AccountDetailsContent-
|
|
11
|
-
import { u as D1 } from "../AccountDetailsContent-
|
|
12
|
-
import { u as z, A as P } from "../AccountDetailsHeader-
|
|
13
|
-
import { A as W } from "../AccountListItem-
|
|
14
|
-
import { a as Y } from "../AccountFields-
|
|
15
|
-
import { g as U1, b as $1 } from "../AccountFields-
|
|
16
|
-
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-
|
|
10
|
+
import { A as K } from "../AccountDetailsContent-JfTu_amk.mjs";
|
|
11
|
+
import { u as D1 } from "../AccountDetailsContent-JfTu_amk.mjs";
|
|
12
|
+
import { u as z, A as P } from "../AccountDetailsHeader-D5XdFMtT.mjs";
|
|
13
|
+
import { A as W } from "../AccountListItem-CTT5m4qx.mjs";
|
|
14
|
+
import { a as Y } from "../AccountFields-DOLjKu5l.mjs";
|
|
15
|
+
import { g as U1, b as $1 } from "../AccountFields-DOLjKu5l.mjs";
|
|
16
|
+
import { u as w, b as S, d as T, g as D, a as q } from "../hooks-CBST3rkm.mjs";
|
|
17
17
|
import { f as I } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
18
|
-
import { D as J } from "../Drawer-
|
|
19
|
-
import { A as y, W as Q } from "../WidgetContainer-
|
|
20
|
-
import { C as X } from "../ConnectionsDrawer-
|
|
18
|
+
import { D as J } from "../Drawer-BEtCk82g.mjs";
|
|
19
|
+
import { A as y, W as Q } from "../WidgetContainer-DJA1bxLn.mjs";
|
|
20
|
+
import { C as X } from "../ConnectionsDrawer-DabiwV9L.mjs";
|
|
21
21
|
import { u as N } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
22
22
|
import { L as R } from "../Loader-DUaFpDGv.mjs";
|
|
23
|
-
import { l as U, m as e1 } from "../ConnectDrawer-
|
|
24
|
-
import { F as G1, M as K1 } from "../ConnectDrawer-
|
|
23
|
+
import { l as U, m as e1 } from "../ConnectDrawer--gJHyp-S.mjs";
|
|
24
|
+
import { F as G1, M as K1 } from "../ConnectDrawer--gJHyp-S.mjs";
|
|
25
25
|
import t1 from "@mui/material/ListItem";
|
|
26
|
-
import { M as $ } from "../MiniWidgetContainer-
|
|
26
|
+
import { M as $ } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
|
|
27
27
|
import l1 from "@mui/material/Stack";
|
|
28
|
-
import { A as P1, a as Y1 } from "../AccountStore-
|
|
28
|
+
import { A as P1, a as Y1 } from "../AccountStore-CKHyaGMR.mjs";
|
|
29
29
|
const i1 = () => {
|
|
30
30
|
const [c, H] = d.useState(""), { accounts: C } = w(), { selectedAccounts: l } = S(), { setSelectedAccount: h, setSelectedMember: r } = z(), { members: L } = T(), { onEvent: f } = D(), s = [...new Set(l.map((t) => t.account_type))], a = l.find((t) => c === t.guid), u = d.useMemo(
|
|
31
31
|
() => l.filter((t) => t.is_hidden),
|
|
@@ -30,6 +30,8 @@ export declare class AccountStore {
|
|
|
30
30
|
get visibleRetirementAccounts(): Account[];
|
|
31
31
|
get visibleInvestmentAccounts(): Account[];
|
|
32
32
|
get visibleSavingsAccounts(): Account[];
|
|
33
|
+
get savingsAndCheckingAccountsBalance(): number;
|
|
34
|
+
get savingsAndCheckingAccounts(): Account[];
|
|
33
35
|
addAccount: (account: Account) => Promise<void>;
|
|
34
36
|
augmentAccounts: (accounts?: Account[]) => Account[];
|
|
35
37
|
loadAccounts: (accountsOverride?: Account[]) => Promise<void>;
|
|
@@ -8,8 +8,8 @@ import a from "@mui/material/Stack";
|
|
|
8
8
|
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
10
|
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { k as f, u as b, g as q, b as E } from "../hooks-
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
|
|
12
|
+
import { k as f, u as b, g as q, b as E } from "../hooks-CBST3rkm.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
package/dist/budgets/index.es.js
CHANGED
|
@@ -8,7 +8,7 @@ import S from "@mui/material/Stack";
|
|
|
8
8
|
import Q from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as y, CategoryIcon as H, Icon as N, H1 as ze, H3 as xe } from "@mxenabled/mxui";
|
|
10
10
|
import W from "@mui/material/List";
|
|
11
|
-
import { u as w, i as D, j as ee, m as j,
|
|
11
|
+
import { u as w, i as D, j as ee, m as j, p as te, g as X, b as ne, h as oe, a as Ue, d as ve } from "../hooks-CBST3rkm.mjs";
|
|
12
12
|
import { f as T } from "../NumberFormatting-Buh7u8Oi.mjs";
|
|
13
13
|
import Ae from "@mui/material/Button";
|
|
14
14
|
import ae from "@mui/material/Divider";
|
|
@@ -17,36 +17,36 @@ import re from "@mui/material/ListItemAvatar";
|
|
|
17
17
|
import V from "@mui/material/ListItemButton";
|
|
18
18
|
import Y from "@mui/material/ListItemText";
|
|
19
19
|
import { b as M } from "../Localization-2MODESHW.mjs";
|
|
20
|
-
import { D as k } from "../Drawer-
|
|
20
|
+
import { D as k } from "../Drawer-BEtCk82g.mjs";
|
|
21
21
|
import Fe from "@mui/material/ListItemSecondaryAction";
|
|
22
|
-
import { C as He } from "../CurrencyInput-
|
|
23
|
-
import {
|
|
24
|
-
import { C as We } from "../ConnectionsDrawer-
|
|
22
|
+
import { C as He } from "../CurrencyInput-CC5cwVit.mjs";
|
|
23
|
+
import { D as $ } from "../Dialog-BPTr3qHE.mjs";
|
|
24
|
+
import { C as We } from "../ConnectionsDrawer-DabiwV9L.mjs";
|
|
25
25
|
import * as O from "d3";
|
|
26
26
|
import Xe from "@mui/material/Tooltip";
|
|
27
27
|
import { u as se } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
28
28
|
import { L as G } from "../Loader-DUaFpDGv.mjs";
|
|
29
29
|
import { E as de } from "../EmptyState-DA_lfRBv.mjs";
|
|
30
|
-
import { A as L, W as Ke } from "../WidgetContainer-
|
|
31
|
-
import { u as Ve } from "../BudgetUtil-
|
|
32
|
-
import { M as Ye } from "../MiniWidgetContainer-
|
|
30
|
+
import { A as L, W as Ke } from "../WidgetContainer-DJA1bxLn.mjs";
|
|
31
|
+
import { u as Ve } from "../BudgetUtil-D2Jcp-E-.mjs";
|
|
32
|
+
import { M as Ye } from "../MiniWidgetContainer-LtXXgZ6H.mjs";
|
|
33
33
|
import { isAfter as Ze } from "date-fns/isAfter";
|
|
34
34
|
import { startOfToday as Z } from "date-fns/startOfToday";
|
|
35
35
|
import qe from "@mui/material/Alert";
|
|
36
36
|
import Je from "@mui/material/Snackbar";
|
|
37
37
|
import ye from "@mui/material/Tab";
|
|
38
38
|
import Qe from "@mui/material/Tabs";
|
|
39
|
-
import { e as et } from "../exportTransactionsToCSV-
|
|
40
|
-
import { T as Te, a as tt } from "../TransactionDetails-
|
|
39
|
+
import { e as et } from "../exportTransactionsToCSV-XqdHNe2V.mjs";
|
|
40
|
+
import { T as Te, a as tt } from "../TransactionDetails-DRlrltGq.mjs";
|
|
41
41
|
import pe from "@mui/material/Card";
|
|
42
42
|
import he from "@mui/material/CardContent";
|
|
43
43
|
import { S as ge } from "../StatusBar-BK_uYHAB.mjs";
|
|
44
44
|
import { S as we } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { u as nt, b as ot } from "../CategorySelectorDrawer-
|
|
45
|
+
import { u as nt, b as ot } from "../CategorySelectorDrawer-DomNyubP.mjs";
|
|
46
46
|
import De from "@mui/material/CardHeader";
|
|
47
47
|
import { subDays as at } from "date-fns/subDays";
|
|
48
48
|
import rt from "@mui/material/IconButton";
|
|
49
|
-
import { M as st } from "../ManageIncome-
|
|
49
|
+
import { M as st } from "../ManageIncome-BaNgfwr5.mjs";
|
|
50
50
|
const it = I(() => {
|
|
51
51
|
const { budgets: t } = w(), { totalBudgeted: o } = D(), { incomeTotal: i } = ee(), s = i - o;
|
|
52
52
|
return /* @__PURE__ */ m(S, { direction: "row", justifyContent: "center", my: 16, spacing: 20, children: [
|