@mx-cartographer/experiences 6.0.1 → 6.0.2-alpha.bb2
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/dist/index.es.js +123 -119
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx as e, jsxs as s, Fragment as
|
|
1
|
+
import { jsx as e, jsxs as s, Fragment as $ } from "react/jsx-runtime";
|
|
2
2
|
import h, { useMemo as cI, useRef as wo, useEffect as zt, useState as We } from "react";
|
|
3
3
|
import { observer as g } from "mobx-react-lite";
|
|
4
4
|
import L from "@mui/material/Box";
|
|
@@ -358,7 +358,7 @@ const Ss = async (A, t, i = "1.0.0", n = "Experiences") => {
|
|
|
358
358
|
year: "numeric"
|
|
359
359
|
}
|
|
360
360
|
}, rA = (A, t) => PI(new Date(A), Object.assign(t), { locale: lt() });
|
|
361
|
-
var
|
|
361
|
+
var _ = /* @__PURE__ */ ((A) => (A[A.ANY = 0] = "ANY", A[A.CHECKING = 1] = "CHECKING", A[A.SAVINGS = 2] = "SAVINGS", A[A.LOAN = 3] = "LOAN", A[A.CREDIT_CARD = 4] = "CREDIT_CARD", A[A.INVESTMENT = 5] = "INVESTMENT", A[A.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", A[A.MORTGAGE = 7] = "MORTGAGE", A[A.PROPERTY = 8] = "PROPERTY", A[A.CASH = 9] = "CASH", A[A.INSURANCE = 10] = "INSURANCE", A[A.PREPAID = 11] = "PREPAID", A[A.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", A[A.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", A))(_ || {}), Fs = /* @__PURE__ */ ((A) => (A[A.NONE = 0] = "NONE", A[A.MONEY_MARKET = 1] = "MONEY_MARKET", A[A.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", A[A.AUTO = 3] = "AUTO", A[A.STUDENT = 4] = "STUDENT", A[A.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", A[A.PERSONAL = 6] = "PERSONAL", A[A.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", A[A.HOME_EQUITY = 8] = "HOME_EQUITY", A[A.PLAN_401_K = 9] = "PLAN_401_K", A[A.PLAN_403_B = 10] = "PLAN_403_B", A[A.PLAN_529 = 11] = "PLAN_529", A[A.IRA = 12] = "IRA", A[A.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", A[A.ROTH_IRA = 14] = "ROTH_IRA", A[A.TAXABLE = 15] = "TAXABLE", A[A.NON_TAXABLE = 16] = "NON_TAXABLE", A[A.BROKERAGE = 17] = "BROKERAGE", A[A.TRUST = 18] = "TRUST", A[A.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", A[A.PLAN_457 = 20] = "PLAN_457", A[A.PENSION = 21] = "PENSION", A[A.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", A[A.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", A[A.SIMPLE_IRA = 24] = "SIMPLE_IRA", A[A.BOAT = 25] = "BOAT", A[A.POWERSPORTS = 26] = "POWERSPORTS", A[A.RV = 27] = "RV", A[A.HELOC = 28] = "HELOC", A[A.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", A[A.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", A[A.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", A[A.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", A[A.DISABILITY = 33] = "DISABILITY", A[A.HEALTH = 34] = "HEALTH", A[A.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", A[A.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", A[A.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", A[A.TERM_LIFE = 38] = "TERM_LIFE", A[A.WHOLE_LIFE = 39] = "WHOLE_LIFE", A[A.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", A[A.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", A[A.HSA = 42] = "HSA", A[A.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", A[A.INDIVIDUAL = 44] = "INDIVIDUAL", A[A.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", A[A.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", A[A.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", A[A.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", A[A.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", A[A.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", A[A.PLAN_401_A = 51] = "PLAN_401_A", A[A.SARSEP_IRA = 52] = "SARSEP_IRA", A[A.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", A[A.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", A[A.SEPP_IRA = 55] = "SEPP_IRA", A[A.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", A[A.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", A[A.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", A[A.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", A[A.COVERDELL = 60] = "COVERDELL", A[A.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", A[A.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", A[A.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", A[A.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", A[A.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", A[A.CUSTODIAL = 66] = "CUSTODIAL", A[A.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", A[A.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", A[A.EDUCATIONAL = 69] = "EDUCATIONAL", A[A.ESTATE = 70] = "ESTATE", A[A.EXECUTOR = 71] = "EXECUTOR", A[A.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", A[A.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", A[A.HRA = 74] = "HRA", A[A.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", A[A.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", A[A.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", A[A.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", A[A.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", A[A.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", A[A.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", A[A.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", A[A.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", A[A.LIVING_TRUST = 84] = "LIVING_TRUST", A[A.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", A[A.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", A[A.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", A[A.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", A[A.PARTNERSHIP = 89] = "PARTNERSHIP", A[A.PLAN_409_A = 90] = "PLAN_409_A", A[A.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", A[A.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", A[A.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", A[A.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", A[A.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", A[A.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", A[A.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", A[A.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", A[A.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", A[A.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", A[A.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", A[A.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", A[A.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", A[A.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", A[A.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", A[A.HSA_SAVINGS = 106] = "HSA_SAVINGS", A[A.HSA_CHECKING = 107] = "HSA_CHECKING", A))(Fs || {}), Vo = /* @__PURE__ */ ((A) => (A[A.REAL_ESTATE = 0] = "REAL_ESTATE", A[A.VEHICLE = 1] = "VEHICLE", A[A.ART = 2] = "ART", A[A.JEWELRY = 3] = "JEWELRY", A[A.FURNITURE = 4] = "FURNITURE", A[A.APPLIANCES = 5] = "APPLIANCES", A[A.COMPUTER = 6] = "COMPUTER", A[A.ELECTRONICS = 7] = "ELECTRONICS", A[A.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", A[A.MISCELLANEOUS = 9] = "MISCELLANEOUS", A))(Vo || {}), ne = /* @__PURE__ */ ((A) => (A[A.CREATED = 0] = "CREATED", A[A.PREVENTED = 1] = "PREVENTED", A[A.DENIED = 2] = "DENIED", A[A.CHALLENGED = 3] = "CHALLENGED", A[A.REJECTED = 4] = "REJECTED", A[A.LOCKED = 5] = "LOCKED", A[A.CONNECTED = 6] = "CONNECTED", A[A.IMPEDED = 7] = "IMPEDED", A[A.RECONNECTED = 8] = "RECONNECTED", A[A.DEGRADED = 9] = "DEGRADED", A[A.DISCONNECTED = 10] = "DISCONNECTED", A[A.DISCONTINUED = 11] = "DISCONTINUED", A[A.CLOSED = 12] = "CLOSED", A[A.DELAYED = 13] = "DELAYED", A[A.FAILED = 14] = "FAILED", A[A.UPDATED = 15] = "UPDATED", A[A.DISABLED = 16] = "DISABLED", A[A.IMPORTED = 17] = "IMPORTED", A[A.RESUMED = 18] = "RESUMED", A[A.EXPIRED = 19] = "EXPIRED", A[A.IMPAIRED = 20] = "IMPAIRED", A[A.PENDING = 21] = "PENDING", A))(ne || {});
|
|
362
362
|
const Ws = [
|
|
363
363
|
0,
|
|
364
364
|
15,
|
|
@@ -459,28 +459,28 @@ const dP = {
|
|
|
459
459
|
8: "sports_baseball",
|
|
460
460
|
9: "monetization_on"
|
|
461
461
|
}, qn = [
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
462
|
+
_.ANY,
|
|
463
|
+
_.CASH,
|
|
464
|
+
_.CHECKING,
|
|
465
|
+
_.DIGITAL_WALLET,
|
|
466
|
+
_.PREPAID,
|
|
467
|
+
_.SAVINGS
|
|
468
468
|
], Gn = [
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
469
|
+
_.CHECKING_LINE_OF_CREDIT,
|
|
470
|
+
_.CREDIT_CARD,
|
|
471
|
+
_.LINE_OF_CREDIT,
|
|
472
|
+
_.LOAN,
|
|
473
|
+
_.MORTGAGE
|
|
474
474
|
], Mn = [
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
475
|
+
_.ANY,
|
|
476
|
+
_.CASH,
|
|
477
|
+
_.CHECKING,
|
|
478
|
+
_.CHECKING_LINE_OF_CREDIT,
|
|
479
|
+
_.CREDIT_CARD,
|
|
480
|
+
_.DIGITAL_WALLET,
|
|
481
|
+
_.LINE_OF_CREDIT,
|
|
482
|
+
_.PREPAID,
|
|
483
|
+
_.SAVINGS
|
|
484
484
|
], X = {
|
|
485
485
|
// Top-level categories
|
|
486
486
|
AUTO_AND_TRANSPORT: "CAT-7829f71c-2e8c-afa5-2f55-fa3634b89874",
|
|
@@ -1922,7 +1922,7 @@ const yc = ({
|
|
|
1922
1922
|
] });
|
|
1923
1923
|
}, Oc = (A) => {
|
|
1924
1924
|
const t = ae(), i = A.showLabel, n = A.style, r = Number(A.x), o = Number(A.y), a = A.handlers?.onMarkClick, I = A.handlers?.onMouseEnter, c = A.handlers?.onMouseLeave;
|
|
1925
|
-
return /* @__PURE__ */ s(
|
|
1925
|
+
return /* @__PURE__ */ s($, { children: [
|
|
1926
1926
|
i && /* @__PURE__ */ e(
|
|
1927
1927
|
"text",
|
|
1928
1928
|
{
|
|
@@ -1960,7 +1960,7 @@ const yc = ({
|
|
|
1960
1960
|
}
|
|
1961
1961
|
)
|
|
1962
1962
|
] });
|
|
1963
|
-
}, Qc = (A) => /* @__PURE__ */ s(
|
|
1963
|
+
}, Qc = (A) => /* @__PURE__ */ s($, { children: [
|
|
1964
1964
|
/* @__PURE__ */ e("clipPath", { id: A.id, children: /* @__PURE__ */ e("rect", { height: A.height, width: A.width, x: "0", y: "0" }) }),
|
|
1965
1965
|
/* @__PURE__ */ e("g", { children: /* @__PURE__ */ e(
|
|
1966
1966
|
"path",
|
|
@@ -3598,7 +3598,7 @@ const mr = "connect_widget", Lr = "connections_widget", Jc = ({
|
|
|
3598
3598
|
]
|
|
3599
3599
|
}
|
|
3600
3600
|
), zi = ({ iconName: A, label: t, onClick: i, value: n }) => {
|
|
3601
|
-
const r = /* @__PURE__ */ s(
|
|
3601
|
+
const r = /* @__PURE__ */ s($, { children: [
|
|
3602
3602
|
/* @__PURE__ */ e(mA, { children: /* @__PURE__ */ e(qe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ e(q, { name: A, sx: { color: "text.primary" }, weight: se.Dark }) }) }),
|
|
3603
3603
|
/* @__PURE__ */ e(
|
|
3604
3604
|
tA,
|
|
@@ -4152,7 +4152,7 @@ const Tt = () => {
|
|
|
4152
4152
|
return Yn().uiStore;
|
|
4153
4153
|
}, sd = ({ remaining: A }) => {
|
|
4154
4154
|
const { cashflow: t } = p();
|
|
4155
|
-
return /* @__PURE__ */ s(
|
|
4155
|
+
return /* @__PURE__ */ s($, { children: [
|
|
4156
4156
|
/* @__PURE__ */ e(
|
|
4157
4157
|
L,
|
|
4158
4158
|
{
|
|
@@ -4222,7 +4222,7 @@ const Tt = () => {
|
|
|
4222
4222
|
/* @__PURE__ */ e(Ci, { body: I.tooltip_body, title: I.tooltip_title })
|
|
4223
4223
|
] })
|
|
4224
4224
|
] }),
|
|
4225
|
-
/* @__PURE__ */ e(P, { borderLeft: `1px solid ${t.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: j ? /* @__PURE__ */ s(
|
|
4225
|
+
/* @__PURE__ */ e(P, { borderLeft: `1px solid ${t.palette.border.light}`, pb: 12, pl: 24, pt: 12, children: j ? /* @__PURE__ */ s($, { children: [
|
|
4226
4226
|
/* @__PURE__ */ e(R, { variant: "H2", children: z(I.days, f) }),
|
|
4227
4227
|
/* @__PURE__ */ e(pA, { variant: "XSmall", whiteSpace: "nowrap", children: I.next_paycheck })
|
|
4228
4228
|
] }) : /* @__PURE__ */ e(
|
|
@@ -7377,7 +7377,7 @@ const va = ({ transaction: A }) => {
|
|
|
7377
7377
|
}
|
|
7378
7378
|
);
|
|
7379
7379
|
}, v = d.find((u) => u.id === A.recurrenceType);
|
|
7380
|
-
return /* @__PURE__ */ s(
|
|
7380
|
+
return /* @__PURE__ */ s($, { children: [
|
|
7381
7381
|
/* @__PURE__ */ e(
|
|
7382
7382
|
zi,
|
|
7383
7383
|
{
|
|
@@ -7435,7 +7435,7 @@ const va = ({ transaction: A }) => {
|
|
|
7435
7435
|
}
|
|
7436
7436
|
c(!1);
|
|
7437
7437
|
};
|
|
7438
|
-
return /* @__PURE__ */ s(
|
|
7438
|
+
return /* @__PURE__ */ s($, { children: [
|
|
7439
7439
|
/* @__PURE__ */ e(
|
|
7440
7440
|
zi,
|
|
7441
7441
|
{
|
|
@@ -7513,7 +7513,7 @@ const va = ({ transaction: A }) => {
|
|
|
7513
7513
|
] })
|
|
7514
7514
|
] }),
|
|
7515
7515
|
/* @__PURE__ */ s(nA, { sx: { bgcolor: "background.paper" }, children: [
|
|
7516
|
-
A.institution && /* @__PURE__ */ s(
|
|
7516
|
+
A.institution && /* @__PURE__ */ s($, { children: [
|
|
7517
7517
|
/* @__PURE__ */ e(
|
|
7518
7518
|
zi,
|
|
7519
7519
|
{
|
|
@@ -7524,7 +7524,7 @@ const va = ({ transaction: A }) => {
|
|
|
7524
7524
|
),
|
|
7525
7525
|
/* @__PURE__ */ e(G, { color: "secondary", variant: "inset" })
|
|
7526
7526
|
] }),
|
|
7527
|
-
b && /* @__PURE__ */ s(
|
|
7527
|
+
b && /* @__PURE__ */ s($, { children: [
|
|
7528
7528
|
/* @__PURE__ */ e(
|
|
7529
7529
|
zi,
|
|
7530
7530
|
{
|
|
@@ -7675,7 +7675,7 @@ const va = ({ transaction: A }) => {
|
|
|
7675
7675
|
/* @__PURE__ */ e(P, { alignItems: "center", direction: "row", gap: 6, children: t ? /* @__PURE__ */ s(P, { direction: "row", gap: 4, children: [
|
|
7676
7676
|
eE(A),
|
|
7677
7677
|
/* @__PURE__ */ e(R, { variant: "XSmall", children: AE(A, r) })
|
|
7678
|
-
] }) : /* @__PURE__ */ s(
|
|
7678
|
+
] }) : /* @__PURE__ */ s($, { children: [
|
|
7679
7679
|
A.institutionGuid && /* @__PURE__ */ e(
|
|
7680
7680
|
Le,
|
|
7681
7681
|
{
|
|
@@ -8274,7 +8274,7 @@ const va = ({ transaction: A }) => {
|
|
|
8274
8274
|
return /* @__PURE__ */ e(
|
|
8275
8275
|
Go,
|
|
8276
8276
|
{
|
|
8277
|
-
badgeContent: c.length > 0 && /* @__PURE__ */ s(
|
|
8277
|
+
badgeContent: c.length > 0 && /* @__PURE__ */ s($, { children: [
|
|
8278
8278
|
d && /* @__PURE__ */ e(Zn, { isOffset: !0 }),
|
|
8279
8279
|
E && /* @__PURE__ */ e(Jn, { isOffset: !0 }),
|
|
8280
8280
|
f && /* @__PURE__ */ e(kn, { isOffset: !0 }),
|
|
@@ -8412,7 +8412,7 @@ const va = ({ transaction: A }) => {
|
|
|
8412
8412
|
/* @__PURE__ */ e(R, { bold: !0, variant: "Body", children: o }),
|
|
8413
8413
|
i && /* @__PURE__ */ e(AA, { onClick: i, sx: { mt: -12 }, variant: "text", children: a.reset })
|
|
8414
8414
|
] }),
|
|
8415
|
-
A.length === 0 ? /* @__PURE__ */ e(R, { fontStyle: "italic", py: 24, sx: { textAlign: "center" }, children: a.no_activities }) : /* @__PURE__ */ e(nA, { children: t ? A.map((c, f) => /* @__PURE__ */ s(
|
|
8415
|
+
A.length === 0 ? /* @__PURE__ */ e(R, { fontStyle: "italic", py: 24, sx: { textAlign: "center" }, children: a.no_activities }) : /* @__PURE__ */ e(nA, { children: t ? A.map((c, f) => /* @__PURE__ */ s(h.Fragment, { children: [
|
|
8416
8416
|
/* @__PURE__ */ e(
|
|
8417
8417
|
Xi,
|
|
8418
8418
|
{
|
|
@@ -8423,31 +8423,33 @@ const va = ({ transaction: A }) => {
|
|
|
8423
8423
|
c.expectedDate.toString() + f
|
|
8424
8424
|
),
|
|
8425
8425
|
/* @__PURE__ */ e(G, { sx: { mx: 24 } })
|
|
8426
|
-
] })) : I.map(
|
|
8427
|
-
/* @__PURE__ */
|
|
8428
|
-
|
|
8429
|
-
|
|
8430
|
-
|
|
8431
|
-
|
|
8432
|
-
|
|
8433
|
-
|
|
8434
|
-
|
|
8435
|
-
|
|
8436
|
-
/* @__PURE__ */
|
|
8437
|
-
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8426
|
+
] }, `activity-${f}`)) : I.map(
|
|
8427
|
+
(c, f) => /* @__PURE__ */ s(h.Fragment, { children: [
|
|
8428
|
+
/* @__PURE__ */ e(W, { children: /* @__PURE__ */ e(
|
|
8429
|
+
nA,
|
|
8430
|
+
{
|
|
8431
|
+
subheader: /* @__PURE__ */ e(He, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ e(R, { bold: !0, variant: "XSmall", children: rA(
|
|
8432
|
+
c.activities[0].occurredOnDate || c.activities[0].expectedDate,
|
|
8433
|
+
eA.DAY_OF_WEEK_MONTH_DAY
|
|
8434
|
+
) }) }),
|
|
8435
|
+
sx: { width: "100%" },
|
|
8436
|
+
children: c.activities.map((d, E) => /* @__PURE__ */ s($, { children: [
|
|
8437
|
+
/* @__PURE__ */ e(
|
|
8438
|
+
Xi,
|
|
8439
|
+
{
|
|
8440
|
+
activity: d,
|
|
8441
|
+
isMini: t,
|
|
8442
|
+
onActivityClick: n
|
|
8443
|
+
},
|
|
8444
|
+
d.expectedDate.toString() + E
|
|
8445
|
+
),
|
|
8446
|
+
E !== c.activities.length - 1 && /* @__PURE__ */ e(G, { sx: { ml: 64, mr: 24 } })
|
|
8447
|
+
] }))
|
|
8448
|
+
}
|
|
8449
|
+
) }, c.id),
|
|
8450
|
+
/* @__PURE__ */ e(G, { sx: { mx: 24 } })
|
|
8451
|
+
] }, `activity-${f}`)
|
|
8452
|
+
) })
|
|
8451
8453
|
] });
|
|
8452
8454
|
}, kt = g(zE), CE = ({
|
|
8453
8455
|
title: A,
|
|
@@ -8468,7 +8470,7 @@ const va = ({ transaction: A }) => {
|
|
|
8468
8470
|
/* @__PURE__ */ s(P, { direction: "row", gap: 2, mb: 8, children: [
|
|
8469
8471
|
/* @__PURE__ */ e(R, { bold: !0, variant: "XSmall", children: M(i, "0,0.00") }),
|
|
8470
8472
|
/* @__PURE__ */ e(R, { variant: "XSmall", children: a.paid?.toLowerCase() }),
|
|
8471
|
-
n !== void 0 && /* @__PURE__ */ s(
|
|
8473
|
+
n !== void 0 && /* @__PURE__ */ s($, { children: [
|
|
8472
8474
|
/* @__PURE__ */ e(R, { variant: "XSmall", children: "/" }),
|
|
8473
8475
|
/* @__PURE__ */ e(R, { bold: !0, variant: "XSmall", children: M(n, "0,0.00") }),
|
|
8474
8476
|
/* @__PURE__ */ e(R, { variant: "XSmall", children: a.missed?.toLowerCase() })
|
|
@@ -8865,7 +8867,7 @@ const jE = {
|
|
|
8865
8867
|
gridRow: 1,
|
|
8866
8868
|
gridColumn: 1,
|
|
8867
8869
|
zIndex: 2
|
|
8868
|
-
}, mE = ({ size: A = 20 }) => /* @__PURE__ */ e(ft, { size: A, children: /* @__PURE__ */ e(Qi, { color: "error", sx: { fontSize: A, ...jE } }) }), $n = (A) => A && (A.account_type ===
|
|
8870
|
+
}, mE = ({ size: A = 20 }) => /* @__PURE__ */ e(ft, { size: A, children: /* @__PURE__ */ e(Qi, { color: "error", sx: { fontSize: A, ...jE } }) }), $n = (A) => A && (A.account_type === _.CREDIT_CARD || A.account_type === _.LOAN || A.account_type === _.MORTGAGE || A.account_type === _.LINE_OF_CREDIT || A.account_type === _.CHECKING_LINE_OF_CREDIT), LE = (A) => A.is_manual || !A.guid, OE = (A) => A.account_type === _.LINE_OF_CREDIT || A.account_type === _.CREDIT_CARD || A.account_type === _.CHECKING_LINE_OF_CREDIT, QE = (A) => A.account_type === _.SAVINGS || A.account_type === _.CHECKING || A.account_type === _.LINE_OF_CREDIT || A.account_type === _.CREDIT_CARD || A.account_type === _.LOAN || A.account_type === _.MORTGAGE, qE = (A) => A.account_type === _.LOAN || A.account_type === _.MORTGAGE, GE = (A, t) => {
|
|
8869
8871
|
const i = [
|
|
8870
8872
|
{
|
|
8871
8873
|
event: "account_details_click_account_name",
|
|
@@ -8885,7 +8887,7 @@ const jE = {
|
|
|
8885
8887
|
type: Ee.Currency,
|
|
8886
8888
|
valueFormatter: (r) => M(r, "0,0.00")
|
|
8887
8889
|
});
|
|
8888
|
-
const n = Object.keys(
|
|
8890
|
+
const n = Object.keys(_).filter((r) => Number(r)).map((r) => ({
|
|
8889
8891
|
label: t.account_types[r],
|
|
8890
8892
|
value: Number(r),
|
|
8891
8893
|
icon: /* @__PURE__ */ e(q, { name: Fo[r] })
|
|
@@ -8899,7 +8901,7 @@ const jE = {
|
|
|
8899
8901
|
valueFormatter: (r) => n.find((o) => o.value === r)?.label
|
|
8900
8902
|
});
|
|
8901
8903
|
}
|
|
8902
|
-
if (A.account_type ===
|
|
8904
|
+
if (A.account_type === _.PROPERTY) {
|
|
8903
8905
|
const n = Object.keys(Vo).filter((r) => Number(r)).map((r) => ({
|
|
8904
8906
|
label: t.property_types[r],
|
|
8905
8907
|
value: Number(r),
|
|
@@ -9000,7 +9002,7 @@ const jE = {
|
|
|
9000
9002
|
);
|
|
9001
9003
|
let d;
|
|
9002
9004
|
(A.connectionStatus === Ht.Error || A.connectionStatus === Ht.RequiresMfa) && (d = /* @__PURE__ */ e(mE, { size: 16 }));
|
|
9003
|
-
const E = /* @__PURE__ */ s(
|
|
9005
|
+
const E = /* @__PURE__ */ s($, { children: [
|
|
9004
9006
|
/* @__PURE__ */ e(mA, { children: /* @__PURE__ */ e(
|
|
9005
9007
|
Go,
|
|
9006
9008
|
{
|
|
@@ -9032,7 +9034,7 @@ const jE = {
|
|
|
9032
9034
|
]
|
|
9033
9035
|
}
|
|
9034
9036
|
),
|
|
9035
|
-
secondary: /* @__PURE__ */ s(
|
|
9037
|
+
secondary: /* @__PURE__ */ s($, { children: [
|
|
9036
9038
|
/* @__PURE__ */ s(L, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
|
|
9037
9039
|
/* @__PURE__ */ e(R, { variant: "XSmall", children: a }),
|
|
9038
9040
|
/* @__PURE__ */ e(R, { bold: !0, variant: "Small", children: M(I, "0,0.00") })
|
|
@@ -9070,7 +9072,7 @@ const jE = {
|
|
|
9070
9072
|
}
|
|
9071
9073
|
);
|
|
9072
9074
|
var oi = /* @__PURE__ */ ((A) => (A.EXPENSE = "expense", A.INCOME = "income", A))(oi || {});
|
|
9073
|
-
const TE = ({ activity: A }) => /* @__PURE__ */ s(
|
|
9075
|
+
const TE = ({ activity: A }) => /* @__PURE__ */ s($, { children: [
|
|
9074
9076
|
/* @__PURE__ */ s(W, { sx: { display: "flex", alignItems: "center", gap: 16, px: 24, py: 12 }, children: [
|
|
9075
9077
|
/* @__PURE__ */ s(P, { alignItems: "center", height: 32, width: 32, children: [
|
|
9076
9078
|
/* @__PURE__ */ e(R, { bold: !0, sx: { fontSize: 11 }, children: rA(A.expectedDate, eA.MONTH) }),
|
|
@@ -9089,7 +9091,7 @@ const TE = ({ activity: A }) => /* @__PURE__ */ s(_, { children: [
|
|
|
9089
9091
|
/* @__PURE__ */ e(G, {})
|
|
9090
9092
|
] }), Kr = g(TE), YE = ({ total: A, type: t }) => {
|
|
9091
9093
|
const { cashflow: i } = p();
|
|
9092
|
-
return /* @__PURE__ */ s(
|
|
9094
|
+
return /* @__PURE__ */ s($, { children: [
|
|
9093
9095
|
/* @__PURE__ */ s(
|
|
9094
9096
|
He,
|
|
9095
9097
|
{
|
|
@@ -9536,9 +9538,9 @@ const TE = ({ activity: A }) => /* @__PURE__ */ s(_, { children: [
|
|
|
9536
9538
|
)
|
|
9537
9539
|
}
|
|
9538
9540
|
)
|
|
9539
|
-
] }) : /* @__PURE__ */ s(
|
|
9541
|
+
] }) : /* @__PURE__ */ s($, { children: [
|
|
9540
9542
|
/* @__PURE__ */ e(It, { amount: l, label: n.cash_and_bank }),
|
|
9541
|
-
b ? /* @__PURE__ */ s(
|
|
9543
|
+
b ? /* @__PURE__ */ s($, { children: [
|
|
9542
9544
|
/* @__PURE__ */ e(R, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
|
|
9543
9545
|
/* @__PURE__ */ e(
|
|
9544
9546
|
It,
|
|
@@ -9738,7 +9740,7 @@ const TE = ({ activity: A }) => /* @__PURE__ */ s(_, { children: [
|
|
|
9738
9740
|
children: [
|
|
9739
9741
|
/* @__PURE__ */ e(nt, { pb: 12, children: n.add_income_title }),
|
|
9740
9742
|
/* @__PURE__ */ e(pA, { mb: 24, children: n.add_income_description }),
|
|
9741
|
-
m.length > 0 && !Z && /* @__PURE__ */ s(
|
|
9743
|
+
m.length > 0 && !Z && /* @__PURE__ */ s($, { children: [
|
|
9742
9744
|
/* @__PURE__ */ e(nA, { children: m.map((hA, DA) => /* @__PURE__ */ s(h.Fragment, { children: [
|
|
9743
9745
|
/* @__PURE__ */ e(Fn, { bgcolor: "background.paper", children: Mi(
|
|
9744
9746
|
yA(hA.nextDate || hA.date)
|
|
@@ -9772,7 +9774,7 @@ const TE = ({ activity: A }) => /* @__PURE__ */ s(_, { children: [
|
|
|
9772
9774
|
}
|
|
9773
9775
|
),
|
|
9774
9776
|
!fA && a && /* @__PURE__ */ e(pA, { color: "error", mt: 16, children: n.confirm_error }),
|
|
9775
|
-
Z && /* @__PURE__ */ s(
|
|
9777
|
+
Z && /* @__PURE__ */ s($, { children: [
|
|
9776
9778
|
/* @__PURE__ */ e(
|
|
9777
9779
|
pa,
|
|
9778
9780
|
{
|
|
@@ -10487,7 +10489,7 @@ const Ke = () => {
|
|
|
10487
10489
|
}
|
|
10488
10490
|
return I;
|
|
10489
10491
|
}, zh = () => {
|
|
10490
|
-
const A = ae(), { selectedAccount: t } = pe(), { monthlyCategoryTotals: i } = GA(), { trends: n } = p(), r = [A.palette.chart?.chart1, A.palette.chart?.chart2], o = bh(i, t.account_type), a = Hh(o, t.account_type, n), I = [
|
|
10492
|
+
const A = ae(), { selectedAccount: t } = pe(), { monthlyCategoryTotals: i } = GA(), { trends: n } = p(), r = [A.palette.chart?.chart1, A.palette.chart?.chart2], o = bh(i, t.account_type), a = Hh(o, t.account_type, n), I = [_.LOAN, _.MORTGAGE].includes(t.account_type);
|
|
10491
10493
|
return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
|
|
10492
10494
|
Tn,
|
|
10493
10495
|
{
|
|
@@ -10693,7 +10695,7 @@ const Qa = ({
|
|
|
10693
10695
|
);
|
|
10694
10696
|
}, xh = () => {
|
|
10695
10697
|
const A = rt(), { debts: t } = p(), { selectedDebtChartData: i } = Ke();
|
|
10696
|
-
return /* @__PURE__ */ s(
|
|
10698
|
+
return /* @__PURE__ */ s($, { children: [
|
|
10697
10699
|
/* @__PURE__ */ s(
|
|
10698
10700
|
Ce,
|
|
10699
10701
|
{
|
|
@@ -10730,7 +10732,7 @@ const Qa = ({
|
|
|
10730
10732
|
variant: "Small",
|
|
10731
10733
|
children: o ? i.schedule_error_message : i.schedule_complete_message
|
|
10732
10734
|
}
|
|
10733
|
-
) : /* @__PURE__ */ s(
|
|
10735
|
+
) : /* @__PURE__ */ s($, { children: [
|
|
10734
10736
|
/* @__PURE__ */ s(P, { flexDirection: "row", justifyContent: "space-between", sx: { pt: 12, px: 24, pb: 8 }, children: [
|
|
10735
10737
|
/* @__PURE__ */ e(R, { bold: !0, variant: "XSmall", children: i.schedule_month_heading }),
|
|
10736
10738
|
/* @__PURE__ */ e(R, { bold: !0, variant: "XSmall", children: i.schedule_amount_heading })
|
|
@@ -10981,7 +10983,7 @@ const Qa = ({
|
|
|
10981
10983
|
}), qh = () => {
|
|
10982
10984
|
const { onEvent: A } = J(), { selectedDebtChartData: t } = Ke();
|
|
10983
10985
|
return h.useEffect(() => A(Y.DEBT_DETAILS_VIEW), []), /* @__PURE__ */ s(P, { bgcolor: "background.paper", children: [
|
|
10984
|
-
t?.goal && /* @__PURE__ */ s(
|
|
10986
|
+
t?.goal && /* @__PURE__ */ s($, { children: [
|
|
10985
10987
|
/* @__PURE__ */ e(Ga, { goal: t.goal }),
|
|
10986
10988
|
/* @__PURE__ */ e(G, {}),
|
|
10987
10989
|
/* @__PURE__ */ e(qa, { goal: t.goal }),
|
|
@@ -10989,7 +10991,7 @@ const Qa = ({
|
|
|
10989
10991
|
/* @__PURE__ */ e(Ma, { goal: t.goal }),
|
|
10990
10992
|
/* @__PURE__ */ e(G, {})
|
|
10991
10993
|
] }),
|
|
10992
|
-
!t?.goal && t?.account && /* @__PURE__ */ s(
|
|
10994
|
+
!t?.goal && t?.account && /* @__PURE__ */ s($, { children: [
|
|
10993
10995
|
/* @__PURE__ */ e(Oh, { debt: t }),
|
|
10994
10996
|
/* @__PURE__ */ e(G, {}),
|
|
10995
10997
|
/* @__PURE__ */ e(Lh, { debt: t }),
|
|
@@ -11002,7 +11004,7 @@ const Qa = ({
|
|
|
11002
11004
|
const { debts: i } = p(), { showError: n, showCompleted: r } = Ke();
|
|
11003
11005
|
return h.useEffect(() => {
|
|
11004
11006
|
n && A(1);
|
|
11005
|
-
}, [n]), !n && !r ? /* @__PURE__ */ e(
|
|
11007
|
+
}, [n]), !n && !r ? /* @__PURE__ */ e($, {}) : /* @__PURE__ */ s(lA, { gap: 16, children: [
|
|
11006
11008
|
/* @__PURE__ */ e(je, { sx: { my: 16, mx: 24, ...t }, children: /* @__PURE__ */ s(
|
|
11007
11009
|
ht,
|
|
11008
11010
|
{
|
|
@@ -11027,7 +11029,7 @@ const Qa = ({
|
|
|
11027
11029
|
n && /* @__PURE__ */ e(je, { sx: { borderRadius: 8, mb: 16, mt: 100, mx: 24, ...t }, children: /* @__PURE__ */ s(
|
|
11028
11030
|
ht,
|
|
11029
11031
|
{
|
|
11030
|
-
icon: /* @__PURE__ */ e(
|
|
11032
|
+
icon: /* @__PURE__ */ e($, {}),
|
|
11031
11033
|
severity: "error",
|
|
11032
11034
|
sx: {
|
|
11033
11035
|
borderRadius: 2,
|
|
@@ -11045,7 +11047,7 @@ const Qa = ({
|
|
|
11045
11047
|
] });
|
|
11046
11048
|
}, Nh = g(Mh), Th = () => {
|
|
11047
11049
|
const { debts: A } = p(), { showError: t, showCompleted: i } = Ke(), [n, r] = h.useState(0);
|
|
11048
|
-
return /* @__PURE__ */ s(
|
|
11050
|
+
return /* @__PURE__ */ s($, { children: [
|
|
11049
11051
|
(t || i) && /* @__PURE__ */ e(Nh, { setTabValue: r, sx: { mt: -24 } }),
|
|
11050
11052
|
/* @__PURE__ */ s(
|
|
11051
11053
|
Ue,
|
|
@@ -11079,7 +11081,7 @@ const Qa = ({
|
|
|
11079
11081
|
/* @__PURE__ */ e(qt, { index: 1, name: "debt-details", value: n, children: /* @__PURE__ */ e(Gh, {}) })
|
|
11080
11082
|
] });
|
|
11081
11083
|
}, Yh = g(Th), Vh = ({ isOpen: A, onClose: t, sx: i }) => {
|
|
11082
|
-
const { debts: n } = p(), { showError: r, showCompleted: o } = Ke(), a = r || o ? /* @__PURE__ */ e(
|
|
11084
|
+
const { debts: n } = p(), { showError: r, showCompleted: o } = Ke(), a = r || o ? /* @__PURE__ */ e($, {}) : /* @__PURE__ */ e(Dh, {});
|
|
11083
11085
|
return /* @__PURE__ */ e(
|
|
11084
11086
|
oA,
|
|
11085
11087
|
{
|
|
@@ -11608,7 +11610,7 @@ const ye = (A) => /* @__PURE__ */ e(R, { fontWeight: 600, variant: "Small", chil
|
|
|
11608
11610
|
unnamed_label: "Unnamed Debt"
|
|
11609
11611
|
};
|
|
11610
11612
|
function ol(A, t) {
|
|
11611
|
-
const i = A.filter((o) => o.account_type ===
|
|
11613
|
+
const i = A.filter((o) => o.account_type === _.CHECKING_LINE_OF_CREDIT ? Number(o.balance) <= 0 : o.is_excluded_from_debts !== !0), n = t.filter((o) => i.some((a) => a.guid === o.account_guid)).map(
|
|
11612
11614
|
(o) => Ao(i.find((a) => a.guid === o.account_guid), o)
|
|
11613
11615
|
), r = i.filter((o) => !n.some((a) => a.account.guid === o.guid)).map((o) => Ao(o));
|
|
11614
11616
|
return [...n, ...r];
|
|
@@ -12184,7 +12186,7 @@ const dl = (A, t) => {
|
|
|
12184
12186
|
}, E = async (l) => {
|
|
12185
12187
|
for (const v of l) {
|
|
12186
12188
|
let u = le.CREDIT_CARD;
|
|
12187
|
-
v.account_type ===
|
|
12189
|
+
v.account_type === _.LOAN ? u = le.LOANS : v.account_type === _.LINE_OF_CREDIT && (u = le.LINE_OF_CREDIT), await i({
|
|
12188
12190
|
account_guid: v.guid,
|
|
12189
12191
|
amount: 0,
|
|
12190
12192
|
current_amount: 0,
|
|
@@ -12496,11 +12498,11 @@ const dl = (A, t) => {
|
|
|
12496
12498
|
/* @__PURE__ */ s(nA, { sx: { bgcolor: "background.paper" }, children: [
|
|
12497
12499
|
/* @__PURE__ */ e(zl, { goal: A }),
|
|
12498
12500
|
/* @__PURE__ */ e(G, { sx: { ml: 24 } }),
|
|
12499
|
-
(r === V.SAVINGS_TRACK || r === V.RETIREMENT_TRACK) && /* @__PURE__ */ s(
|
|
12501
|
+
(r === V.SAVINGS_TRACK || r === V.RETIREMENT_TRACK) && /* @__PURE__ */ s($, { children: [
|
|
12500
12502
|
/* @__PURE__ */ e(bl, { goal: A }),
|
|
12501
12503
|
/* @__PURE__ */ e(G, { sx: { ml: r === V.RETIREMENT_TRACK ? 24 : 0 } })
|
|
12502
12504
|
] }),
|
|
12503
|
-
A.track_type === V.DEBT_TRACK && /* @__PURE__ */ s(
|
|
12505
|
+
A.track_type === V.DEBT_TRACK && /* @__PURE__ */ s($, { children: [
|
|
12504
12506
|
/* @__PURE__ */ e(Ga, { goal: A }),
|
|
12505
12507
|
/* @__PURE__ */ e(G, { sx: { ml: 24 } }),
|
|
12506
12508
|
/* @__PURE__ */ e(qa, { goal: A }),
|
|
@@ -12508,7 +12510,7 @@ const dl = (A, t) => {
|
|
|
12508
12510
|
/* @__PURE__ */ e(Ma, { goal: A }),
|
|
12509
12511
|
/* @__PURE__ */ e(G, { variant: "fullWidth" })
|
|
12510
12512
|
] }),
|
|
12511
|
-
A.track_type === V.RETIREMENT_TRACK && /* @__PURE__ */ s(
|
|
12513
|
+
A.track_type === V.RETIREMENT_TRACK && /* @__PURE__ */ s($, { children: [
|
|
12512
12514
|
/* @__PURE__ */ e(Cl, { goal: A }),
|
|
12513
12515
|
/* @__PURE__ */ e(G, { sx: { ml: 24 } }),
|
|
12514
12516
|
/* @__PURE__ */ e(gl, { goal: A }),
|
|
@@ -12516,11 +12518,11 @@ const dl = (A, t) => {
|
|
|
12516
12518
|
] })
|
|
12517
12519
|
] }),
|
|
12518
12520
|
/* @__PURE__ */ e(R, { color: "text.secondary", sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: A.track_type === V.RETIREMENT_TRACK ? t.details_accounts : t.details_account }),
|
|
12519
|
-
A.track_type !== V.RETIREMENT_TRACK && n && /* @__PURE__ */ s(
|
|
12521
|
+
A.track_type !== V.RETIREMENT_TRACK && n && /* @__PURE__ */ s($, { children: [
|
|
12520
12522
|
/* @__PURE__ */ e(Ya, { account: n }),
|
|
12521
12523
|
/* @__PURE__ */ e(G, {})
|
|
12522
12524
|
] }),
|
|
12523
|
-
A.track_type === V.RETIREMENT_TRACK && /* @__PURE__ */ s(
|
|
12525
|
+
A.track_type === V.RETIREMENT_TRACK && /* @__PURE__ */ s($, { children: [
|
|
12524
12526
|
/* @__PURE__ */ e(Xl, { goal: A }),
|
|
12525
12527
|
/* @__PURE__ */ e(G, {})
|
|
12526
12528
|
] }),
|
|
@@ -12668,7 +12670,7 @@ const dl = (A, t) => {
|
|
|
12668
12670
|
onClick: Z,
|
|
12669
12671
|
subText: c.empty_state_subheader
|
|
12670
12672
|
}
|
|
12671
|
-
) : /* @__PURE__ */ s(
|
|
12673
|
+
) : /* @__PURE__ */ s($, { children: [
|
|
12672
12674
|
C === 0 && /* @__PURE__ */ e(on, { onAddGoals: Z, trackType: V.SAVINGS_TRACK }),
|
|
12673
12675
|
C === 1 && /* @__PURE__ */ e(on, { onAddGoals: Z, trackType: V.DEBT_TRACK }),
|
|
12674
12676
|
C === 2 && /* @__PURE__ */ e(on, { onAddGoals: Z, trackType: V.RETIREMENT_TRACK })
|
|
@@ -13550,7 +13552,7 @@ const Ul = ({
|
|
|
13550
13552
|
);
|
|
13551
13553
|
}, Ba = g(Av), ev = ({ accounts: A, name: t, icon: i }) => {
|
|
13552
13554
|
const [n, r] = h.useState(!1);
|
|
13553
|
-
return /* @__PURE__ */ s(
|
|
13555
|
+
return /* @__PURE__ */ s($, { children: [
|
|
13554
13556
|
/* @__PURE__ */ e(W, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ s(IA, { onClick: () => r(!n), children: [
|
|
13555
13557
|
i && /* @__PURE__ */ e(oe, { children: /* @__PURE__ */ e(q, { name: i, size: 24, sx: { mr: 12 } }) }),
|
|
13556
13558
|
/* @__PURE__ */ e(
|
|
@@ -13576,7 +13578,7 @@ const Ul = ({
|
|
|
13576
13578
|
a < A.length - 1 ? /* @__PURE__ */ e(G, { variant: "inset" }) : /* @__PURE__ */ e(G, {})
|
|
13577
13579
|
] }, o.accountName)) })
|
|
13578
13580
|
] });
|
|
13579
|
-
}, ao = ({ groupedAccounts: A }) => /* @__PURE__ */ e(
|
|
13581
|
+
}, ao = ({ groupedAccounts: A }) => /* @__PURE__ */ e($, { children: A.map(({ accounts: t, icon: i, name: n }) => /* @__PURE__ */ e(ev, { accounts: t, icon: i, name: n }, n)) }), tv = ({
|
|
13580
13582
|
netWorth: A,
|
|
13581
13583
|
assets: t,
|
|
13582
13584
|
liabilities: i,
|
|
@@ -13584,7 +13586,7 @@ const Ul = ({
|
|
|
13584
13586
|
totalLiabilities: r
|
|
13585
13587
|
}) => {
|
|
13586
13588
|
const { net_worth: o } = p(), a = vA();
|
|
13587
|
-
return /* @__PURE__ */ s(
|
|
13589
|
+
return /* @__PURE__ */ s($, { children: [
|
|
13588
13590
|
/* @__PURE__ */ s(
|
|
13589
13591
|
L,
|
|
13590
13592
|
{
|
|
@@ -13642,7 +13644,7 @@ const Ul = ({
|
|
|
13642
13644
|
totalLosses: r
|
|
13643
13645
|
}) => {
|
|
13644
13646
|
const { net_worth: o } = p(), a = vA();
|
|
13645
|
-
return /* @__PURE__ */ s(
|
|
13647
|
+
return /* @__PURE__ */ s($, { children: [
|
|
13646
13648
|
/* @__PURE__ */ s(P, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
|
|
13647
13649
|
/* @__PURE__ */ e(R, { variant: "Small", children: Jo(A?.x) }),
|
|
13648
13650
|
/* @__PURE__ */ e(R, { variant: "Body", children: o.total_change }),
|
|
@@ -13687,7 +13689,7 @@ const Ul = ({
|
|
|
13687
13689
|
] })
|
|
13688
13690
|
}
|
|
13689
13691
|
) }),
|
|
13690
|
-
i?.map((I) => /* @__PURE__ */ s(
|
|
13692
|
+
i?.map((I) => /* @__PURE__ */ s($, { children: [
|
|
13691
13693
|
/* @__PURE__ */ e(
|
|
13692
13694
|
W,
|
|
13693
13695
|
{
|
|
@@ -13767,8 +13769,8 @@ const Ul = ({
|
|
|
13767
13769
|
showDividerAboveDateSelector: !1,
|
|
13768
13770
|
sx: { p: C ? 0 : 48 },
|
|
13769
13771
|
title: a.net_worth,
|
|
13770
|
-
children: x ? /* @__PURE__ */ s(
|
|
13771
|
-
v.length ? /* @__PURE__ */ s(
|
|
13772
|
+
children: x ? /* @__PURE__ */ s($, { children: [
|
|
13773
|
+
v.length ? /* @__PURE__ */ s($, { children: [
|
|
13772
13774
|
u && /* @__PURE__ */ e($l, { hoveredData: d, selectedData: u }),
|
|
13773
13775
|
/* @__PURE__ */ s(
|
|
13774
13776
|
P,
|
|
@@ -14007,7 +14009,7 @@ const so = "PARENT-ENTITY", lv = (A, t) => {
|
|
|
14007
14009
|
} = r;
|
|
14008
14010
|
for (const l of n.filter((v) => v.entity_guid === so)) {
|
|
14009
14011
|
const v = lv(l.notification_type, i), u = n.filter(
|
|
14010
|
-
(b) => b.entity_guid !== so && b.notification_type === l.notification_type
|
|
14012
|
+
(b) => b.entity_guid !== so && b.notification_type === l.notification_type && A.some((C) => C.guid === b.entity_guid)
|
|
14011
14013
|
), H = [];
|
|
14012
14014
|
a && !f && l.email_channel && H.push(i.delivery_method_email_label), I && !d && l.sms_channel && H.push(i.delivery_method_sms_label), c && !E && l.push_channel && H.push(i.delivery_method_push_label), o.push({
|
|
14013
14015
|
...l,
|
|
@@ -14343,7 +14345,7 @@ const bv = ({
|
|
|
14343
14345
|
content: A,
|
|
14344
14346
|
hasDivider: t = !0,
|
|
14345
14347
|
sx: i
|
|
14346
|
-
}) => /* @__PURE__ */ s(
|
|
14348
|
+
}) => /* @__PURE__ */ s($, { children: [
|
|
14347
14349
|
/* @__PURE__ */ e(L, { sx: { pb: 48, ...i }, children: A }),
|
|
14348
14350
|
t && /* @__PURE__ */ e(G, {})
|
|
14349
14351
|
] }), Ve = ({
|
|
@@ -18201,7 +18203,7 @@ const U9 = ({
|
|
|
18201
18203
|
};
|
|
18202
18204
|
return /* @__PURE__ */ s(P, { children: [
|
|
18203
18205
|
/* @__PURE__ */ e(re, { sx: { mt: 24 }, children: A.delivery_method_title }),
|
|
18204
|
-
t.email_notifications_enabled && /* @__PURE__ */ s(
|
|
18206
|
+
t.email_notifications_enabled && /* @__PURE__ */ s($, { children: [
|
|
18205
18207
|
/* @__PURE__ */ e(
|
|
18206
18208
|
mt,
|
|
18207
18209
|
{
|
|
@@ -18215,7 +18217,7 @@ const U9 = ({
|
|
|
18215
18217
|
),
|
|
18216
18218
|
/* @__PURE__ */ e(G, {})
|
|
18217
18219
|
] }),
|
|
18218
|
-
t.sms_notifications_enabled && /* @__PURE__ */ s(
|
|
18220
|
+
t.sms_notifications_enabled && /* @__PURE__ */ s($, { children: [
|
|
18219
18221
|
/* @__PURE__ */ e(
|
|
18220
18222
|
mt,
|
|
18221
18223
|
{
|
|
@@ -18814,7 +18816,7 @@ const In = ({
|
|
|
18814
18816
|
onClick: i,
|
|
18815
18817
|
primaryText: n,
|
|
18816
18818
|
secondaryText: r
|
|
18817
|
-
}) => /* @__PURE__ */ s(
|
|
18819
|
+
}) => /* @__PURE__ */ s($, { children: [
|
|
18818
18820
|
/* @__PURE__ */ e(W, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ s(IA, { onClick: i, children: [
|
|
18819
18821
|
/* @__PURE__ */ e(tA, { primary: n, secondary: r }),
|
|
18820
18822
|
A
|
|
@@ -18836,7 +18838,7 @@ const In = ({
|
|
|
18836
18838
|
() => n(!1)
|
|
18837
18839
|
);
|
|
18838
18840
|
};
|
|
18839
|
-
return /* @__PURE__ */ s(
|
|
18841
|
+
return /* @__PURE__ */ s($, { children: [
|
|
18840
18842
|
/* @__PURE__ */ e(He, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(R, { bold: !0, component: "h2", variant: "XSmall", children: E.actions }) }),
|
|
18841
18843
|
/* @__PURE__ */ e(
|
|
18842
18844
|
In,
|
|
@@ -19112,7 +19114,7 @@ const In = ({
|
|
|
19112
19114
|
mainMessage: a.statusName,
|
|
19113
19115
|
secondaryMessage: a.title
|
|
19114
19116
|
};
|
|
19115
|
-
return /* @__PURE__ */ s(
|
|
19117
|
+
return /* @__PURE__ */ s($, { children: [
|
|
19116
19118
|
/* @__PURE__ */ e(He, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(R, { bold: !0, component: "h2", variant: "XSmall", children: r.connection_status }) }),
|
|
19117
19119
|
/* @__PURE__ */ e(W, { sx: { backgroundColor: "background.paper" }, children: n.is_manual || !I.ctaCopy ? /* @__PURE__ */ s(P, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
|
|
19118
19120
|
/* @__PURE__ */ e(mA, { children: /* @__PURE__ */ e(ft, { backingSx: { backgroundColor: I.color, borderRadius: 1 }, size: 32, children: I.icon }) }),
|
|
@@ -19123,7 +19125,7 @@ const In = ({
|
|
|
19123
19125
|
tA,
|
|
19124
19126
|
{
|
|
19125
19127
|
primary: I.mainMessage,
|
|
19126
|
-
secondary: I.secondaryMessage && /* @__PURE__ */ s(
|
|
19128
|
+
secondary: I.secondaryMessage && /* @__PURE__ */ s($, { children: [
|
|
19127
19129
|
I.secondaryMessage,
|
|
19128
19130
|
" ",
|
|
19129
19131
|
/* @__PURE__ */ e(R, { bold: !0, sx: { color: "action.active" }, variant: "XSmall", children: I.ctaCopy })
|
|
@@ -19133,7 +19135,7 @@ const In = ({
|
|
|
19133
19135
|
/* @__PURE__ */ e(q, { name: "chevron_right" })
|
|
19134
19136
|
] }) }),
|
|
19135
19137
|
/* @__PURE__ */ e(G, { sx: { ml: n.is_manual || !n.institution_url ? 0 : 24 } }),
|
|
19136
|
-
!n.is_manual && n.institution_url && /* @__PURE__ */ s(
|
|
19138
|
+
!n.is_manual && n.institution_url && /* @__PURE__ */ s($, { children: [
|
|
19137
19139
|
/* @__PURE__ */ e(W, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ s(IA, { component: "a", href: n.institution_url, target: "_blank", children: [
|
|
19138
19140
|
/* @__PURE__ */ e(mA, { children: /* @__PURE__ */ e(
|
|
19139
19141
|
ft,
|
|
@@ -19259,7 +19261,7 @@ const In = ({
|
|
|
19259
19261
|
const A = window.app?.config, { onEvent: t } = J(), { selectedAccount: i } = pe(), { accounts: n } = p(), r = GE(i, n), o = i.member_is_managed_by_user || !i.member_is_managed_by_user && A.enable_renaming_home_accounts, [a, I] = h.useState(!1), [c, f] = h.useState(r[0]), d = r.filter(
|
|
19260
19262
|
(E) => o || i[E.name] || i[E.name] === 0
|
|
19261
19263
|
);
|
|
19262
|
-
return /* @__PURE__ */ s(
|
|
19264
|
+
return /* @__PURE__ */ s($, { children: [
|
|
19263
19265
|
d.map((E) => {
|
|
19264
19266
|
const l = i[E.name] || i[E.name] === 0, v = d.indexOf(E) === d.length - 1, u = /* @__PURE__ */ e(
|
|
19265
19267
|
tA,
|
|
@@ -19269,7 +19271,7 @@ const In = ({
|
|
|
19269
19271
|
secondary: /* @__PURE__ */ e(R, { bold: !0, sx: { fontSize: 15 }, children: l ? E.valueFormatter(i[E.name]) : E.placeholder })
|
|
19270
19272
|
}
|
|
19271
19273
|
);
|
|
19272
|
-
return /* @__PURE__ */ e(h.Fragment, { children: o ? /* @__PURE__ */ s(
|
|
19274
|
+
return /* @__PURE__ */ e(h.Fragment, { children: o ? /* @__PURE__ */ s($, { children: [
|
|
19273
19275
|
/* @__PURE__ */ e(W, { sx: { backgroundColor: "background.paper", px: 0 }, children: /* @__PURE__ */ s(
|
|
19274
19276
|
IA,
|
|
19275
19277
|
{
|
|
@@ -19283,7 +19285,7 @@ const In = ({
|
|
|
19283
19285
|
}
|
|
19284
19286
|
) }),
|
|
19285
19287
|
/* @__PURE__ */ e(G, { sx: { ml: v ? 0 : 24 } })
|
|
19286
|
-
] }) : l && /* @__PURE__ */ s(
|
|
19288
|
+
] }) : l && /* @__PURE__ */ s($, { children: [
|
|
19287
19289
|
/* @__PURE__ */ e(W, { sx: { backgroundColor: "background.paper", px: 24 }, children: u }),
|
|
19288
19290
|
/* @__PURE__ */ e(G, { sx: { ml: v ? 0 : 24 } })
|
|
19289
19291
|
] }) }, E.name);
|
|
@@ -19310,7 +19312,7 @@ const In = ({
|
|
|
19310
19312
|
a && A(1);
|
|
19311
19313
|
}, [a]), !a) return;
|
|
19312
19314
|
const I = Fa(n, o);
|
|
19313
|
-
return /* @__PURE__ */ s(
|
|
19315
|
+
return /* @__PURE__ */ s($, { children: [
|
|
19314
19316
|
/* @__PURE__ */ e(
|
|
19315
19317
|
je,
|
|
19316
19318
|
{
|
|
@@ -19367,7 +19369,7 @@ const In = ({
|
|
|
19367
19369
|
dateRange: { start: ls(vs(), 90), end: Rs() },
|
|
19368
19370
|
accounts: [n.guid]
|
|
19369
19371
|
});
|
|
19370
|
-
}, [n]), h.useEffect(() => i(Y.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ s(
|
|
19372
|
+
}, [n]), h.useEffect(() => i(Y.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ s($, { children: [
|
|
19371
19373
|
/* @__PURE__ */ e(ut, { onClick: t }),
|
|
19372
19374
|
I && /* @__PURE__ */ e(
|
|
19373
19375
|
oA,
|
|
@@ -19382,7 +19384,7 @@ const In = ({
|
|
|
19382
19384
|
] });
|
|
19383
19385
|
}, CR = g(zR), gR = () => {
|
|
19384
19386
|
const [A, t] = h.useState(0), { accounts: i } = p();
|
|
19385
|
-
return /* @__PURE__ */ s(
|
|
19387
|
+
return /* @__PURE__ */ s($, { children: [
|
|
19386
19388
|
/* @__PURE__ */ e(HR, { setTabValue: t }),
|
|
19387
19389
|
/* @__PURE__ */ s(
|
|
19388
19390
|
Ue,
|
|
@@ -19569,7 +19571,7 @@ const In = ({
|
|
|
19569
19571
|
onBackClick: A,
|
|
19570
19572
|
sx: t,
|
|
19571
19573
|
title: f.title,
|
|
19572
|
-
children: !E || r ? /* @__PURE__ */ e(cA, {}) : /* @__PURE__ */ s(
|
|
19574
|
+
children: !E || r ? /* @__PURE__ */ e(cA, {}) : /* @__PURE__ */ s($, { children: [
|
|
19573
19575
|
/* @__PURE__ */ s(L, { sx: { px: u ? 24 : 12 }, children: [
|
|
19574
19576
|
v.length < 1 && /* @__PURE__ */ e(R, { display: "flex", justifyContent: "center", my: 24, children: f.no_accounts }),
|
|
19575
19577
|
/* @__PURE__ */ e(pR, {})
|
|
@@ -20143,27 +20145,27 @@ class OR {
|
|
|
20143
20145
|
};
|
|
20144
20146
|
get cashAccounts() {
|
|
20145
20147
|
return this.accounts.filter(
|
|
20146
|
-
(t) => t.account_type ===
|
|
20148
|
+
(t) => t.account_type === _.CASH || t.account_type === _.CHECKING || t.account_type === _.PREPAID || t.account_type === _.SAVINGS || t.account_type === _.CHECKING_LINE_OF_CREDIT
|
|
20147
20149
|
);
|
|
20148
20150
|
}
|
|
20149
20151
|
get cashBalance() {
|
|
20150
20152
|
return this.cashAccounts.reduce((t, i) => t + (i?.balance || 0), 0);
|
|
20151
20153
|
}
|
|
20152
20154
|
get checkingAccounts() {
|
|
20153
|
-
return this.accounts.filter((t) => t.account_type ===
|
|
20155
|
+
return this.accounts.filter((t) => t.account_type === _.CHECKING);
|
|
20154
20156
|
}
|
|
20155
20157
|
get debtAccounts() {
|
|
20156
20158
|
return this.accounts.filter(
|
|
20157
|
-
(t) => t.account_type ===
|
|
20159
|
+
(t) => t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT
|
|
20158
20160
|
);
|
|
20159
20161
|
}
|
|
20160
20162
|
get investmentAccounts() {
|
|
20161
20163
|
return this.accounts.filter(
|
|
20162
|
-
(t) => t.account_type ===
|
|
20164
|
+
(t) => t.account_type === _.INVESTMENT
|
|
20163
20165
|
);
|
|
20164
20166
|
}
|
|
20165
20167
|
get savingsAccounts() {
|
|
20166
|
-
return this.accounts.filter((t) => t.account_type ===
|
|
20168
|
+
return this.accounts.filter((t) => t.account_type === _.SAVINGS);
|
|
20167
20169
|
}
|
|
20168
20170
|
get visibleAccounts() {
|
|
20169
20171
|
return this.accounts.filter((t) => !t.is_hidden);
|
|
@@ -21502,8 +21504,10 @@ class b3 {
|
|
|
21502
21504
|
this.copyStore = new l3(), this.insightsMicroWidgetStore = new P3(), LA(this);
|
|
21503
21505
|
}
|
|
21504
21506
|
initialize = async (t, i, n) => {
|
|
21505
|
-
await this.copyStore.initialize(t, i), await this.insightsMicroWidgetStore.initialize(t, i, n)
|
|
21506
|
-
|
|
21507
|
+
await this.copyStore.initialize(t, i), await this.insightsMicroWidgetStore.initialize(t, i, n);
|
|
21508
|
+
const r = await Ss(t, i, "1.0.0", "Micro Insights Carousel");
|
|
21509
|
+
U(() => {
|
|
21510
|
+
this.session = r, this.isInitialized = !0;
|
|
21507
21511
|
});
|
|
21508
21512
|
};
|
|
21509
21513
|
}
|
|
@@ -24046,7 +24050,7 @@ export {
|
|
|
24046
24050
|
ks as AccountIconVariants,
|
|
24047
24051
|
OR as AccountStore,
|
|
24048
24052
|
Fs as AccountSubType,
|
|
24049
|
-
|
|
24053
|
+
_ as AccountType,
|
|
24050
24054
|
Qn as AccountTypeName,
|
|
24051
24055
|
VP as AccountsMiniWidget,
|
|
24052
24056
|
YP as AccountsWidget,
|