@mx-cartographer/experiences 3.8.1-alpha.sms2 → 3.8.1-alpha.sms3
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.es.js +802 -799
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
@@ -6,7 +6,7 @@ import X from "@mui/material/Divider";
|
|
6
6
|
import oA from "@mui/material/List";
|
7
7
|
import Ve from "@mui/material/ListSubheader";
|
8
8
|
import tr from "@mui/system/Stack";
|
9
|
-
import { AccountsIcon as Ri, P as fA, Icon as
|
9
|
+
import { AccountsIcon as Ri, P as fA, Icon as N, useTokens as yA, Text as y, H2 as Kt, CategoryIcon as Oe, DialogHeader as Hi, DialogFooter as zi, Drawer as qi, Footer as Ki, DateRangePicker as nr, H3 as sa, H1 as ve, TextField as be, IconWeight as qA, MerchantLogo as xe, CategoryIconVariants as ca, InstitutionLogo as me, THEMES as rr, createMXTheme as Ct } from "@kyper/mui";
|
10
10
|
import Bi from "bowser";
|
11
11
|
import { getUnixTime as gA } from "date-fns/getUnixTime";
|
12
12
|
import { Honeybadger as yt } from "@honeybadger-io/react";
|
@@ -16,7 +16,7 @@ import iA from "@mui/material/Button";
|
|
16
16
|
import ft from "@mui/material/Tooltip";
|
17
17
|
import RA from "@mui/material/IconButton";
|
18
18
|
import cn from "@mui/material/FormControlLabel";
|
19
|
-
import
|
19
|
+
import Z from "@mui/material/ListItem";
|
20
20
|
import dA from "@mui/material/ListItemButton";
|
21
21
|
import lA from "@mui/material/ListItemText";
|
22
22
|
import ki from "@mui/material/Popover";
|
@@ -34,8 +34,8 @@ import { format as JA } from "date-fns/format";
|
|
34
34
|
import { isBefore as hA } from "date-fns/isBefore";
|
35
35
|
import { isSameMonth as Fi } from "date-fns/isSameMonth";
|
36
36
|
import { startOfMonth as EA } from "date-fns/startOfMonth";
|
37
|
-
import { startOfToday as
|
38
|
-
import { subMonths as
|
37
|
+
import { startOfToday as $ } from "date-fns/startOfToday";
|
38
|
+
import { subMonths as fe } from "date-fns/subMonths";
|
39
39
|
import oe from "@mui/material/Paper";
|
40
40
|
import ji from "@mui/icons-material/KeyboardArrowLeftRounded";
|
41
41
|
import Ui from "@mui/icons-material/KeyboardArrowRightRounded";
|
@@ -65,10 +65,10 @@ import { v4 as ho } from "uuid";
|
|
65
65
|
import wn from "@mui/material/CircularProgress";
|
66
66
|
import bt from "@mui/material/InputAdornment";
|
67
67
|
import go from "@mui/material/Radio";
|
68
|
-
import
|
68
|
+
import pe from "@mui/material/Avatar";
|
69
69
|
import PA from "@mui/material/ListItemAvatar";
|
70
70
|
import re from "@mui/material/ListItemIcon";
|
71
|
-
import { makeAutoObservable as wA, runInAction as
|
71
|
+
import { makeAutoObservable as wA, runInAction as nA, observable as Co } from "mobx";
|
72
72
|
import { differenceInDays as fo } from "date-fns/differenceInDays";
|
73
73
|
import { getMonth as Qe } from "date-fns/getMonth";
|
74
74
|
import { useVirtualizer as ga } from "@tanstack/react-virtual";
|
@@ -76,7 +76,7 @@ import { fromUnixTime as lr, isSameDay as vo, subDays as mo, startOfToday as po,
|
|
76
76
|
import ee from "@mui/material/Tab";
|
77
77
|
import Ze from "@mui/material/Tabs";
|
78
78
|
import { parseISO as Ca } from "date-fns/parseISO";
|
79
|
-
import
|
79
|
+
import ue from "@mui/material/Skeleton";
|
80
80
|
import { isAfter as lt } from "date-fns/isAfter";
|
81
81
|
import { addQuarters as Ne } from "date-fns/addQuarters";
|
82
82
|
import { addWeeks as Fe } from "date-fns/addWeeks";
|
@@ -193,14 +193,14 @@ const As = async (A, e, n = "1.0.0", r = "Experiences") => {
|
|
193
193
|
[]
|
194
194
|
);
|
195
195
|
return n ? a : a.join("");
|
196
|
-
}, Mg = (A, e, n, ...r) => !A || !e ? "" : z(n === 1 ? A : e, ...r),
|
196
|
+
}, Mg = (A, e, n, ...r) => !A || !e ? "" : z(n === 1 ? A : e, ...r), De = () => (window?.app?.options?.language || document.querySelector("html")?.getAttribute("lang") || "en-US").toLowerCase();
|
197
197
|
class FA {
|
198
198
|
endpoint = "/";
|
199
199
|
headers = {};
|
200
200
|
constructor(e, n) {
|
201
201
|
this.endpoint = e, this.headers = {
|
202
202
|
Accept: "application/json",
|
203
|
-
"Accept-Language":
|
203
|
+
"Accept-Language": De(),
|
204
204
|
"Content-Type": "application/json",
|
205
205
|
"MD-Session-Token": n
|
206
206
|
};
|
@@ -392,7 +392,7 @@ const H = {
|
|
392
392
|
day: "numeric",
|
393
393
|
year: "numeric"
|
394
394
|
}
|
395
|
-
},
|
395
|
+
}, J = (A, e) => _i(new Date(A), Object.assign(e), { locale: De() });
|
396
396
|
var j = /* @__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))(j || {}), ns = /* @__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))(ns || {}), Ta = /* @__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))(Ta || {}), MA = /* @__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))(MA || {});
|
397
397
|
const rs = [
|
398
398
|
0,
|
@@ -640,7 +640,7 @@ const Hg = {
|
|
640
640
|
m.CREDIT_CARD_PAYMENT,
|
641
641
|
m.MORTGAGE_PAYMENT,
|
642
642
|
m.AUTO_PAYMENT
|
643
|
-
],
|
643
|
+
], Te = {
|
644
644
|
// Top-level categories
|
645
645
|
[m.AUTO_AND_TRANSPORT]: "Auto & Transport",
|
646
646
|
[m.BILLS_AND_UTILITIES]: "Bills & Utilities",
|
@@ -827,14 +827,14 @@ var ss = /* @__PURE__ */ ((A) => (A[A.SpendingPlan = 0] = "SpendingPlan", A[A.Bu
|
|
827
827
|
const Oa = 48, xa = 4;
|
828
828
|
var ls = /* @__PURE__ */ ((A) => (A.Small = "small", A.Medium = "medium", A.Large = "large", A))(ls || {});
|
829
829
|
const et = 44, F = (A, e, n) => {
|
830
|
-
switch (
|
830
|
+
switch (De()) {
|
831
831
|
case "fr-ca":
|
832
832
|
return ar(A).format(`${e} $`, n);
|
833
833
|
default:
|
834
834
|
return ar(A).format(`$${e}`, n);
|
835
835
|
}
|
836
836
|
}, ds = () => {
|
837
|
-
switch (
|
837
|
+
switch (De()) {
|
838
838
|
case "fr-ca":
|
839
839
|
return Ot.CAD;
|
840
840
|
default:
|
@@ -844,7 +844,7 @@ const et = 44, F = (A, e, n) => {
|
|
844
844
|
style: "percent",
|
845
845
|
minimumFractionDigits: 2,
|
846
846
|
maximumFractionDigits: 2
|
847
|
-
}, hs = (A, e = us) => hn(A) ? new Intl.NumberFormat(
|
847
|
+
}, hs = (A, e = us) => hn(A) ? new Intl.NumberFormat(De(), e).format(Number(A)) : A, gs = (A) => new Intl.PluralRules(De(), A), Cs = (A, e = { type: "ordinal" }, n = {
|
848
848
|
one: "st",
|
849
849
|
two: "nd",
|
850
850
|
few: "rd",
|
@@ -1055,7 +1055,7 @@ const tn = (A, e) => A.reduce((n, r) => (n[r.guid] = e?.includes(r.guid), n), {}
|
|
1055
1055
|
}
|
1056
1056
|
},
|
1057
1057
|
children: [
|
1058
|
-
/* @__PURE__ */ t(
|
1058
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ t(
|
1059
1059
|
cn,
|
1060
1060
|
{
|
1061
1061
|
control: /* @__PURE__ */ t(
|
@@ -1086,7 +1086,7 @@ const tn = (A, e) => A.reduce((n, r) => (n[r.guid] = e?.includes(r.guid), n), {}
|
|
1086
1086
|
const T = C[E], S = T.every(
|
1087
1087
|
(L) => c[L.guid]
|
1088
1088
|
);
|
1089
|
-
return /* @__PURE__ */ t(
|
1089
|
+
return /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ t(
|
1090
1090
|
oA,
|
1091
1091
|
{
|
1092
1092
|
"aria-label": z(n.accountTypeAccounts, E),
|
@@ -1119,9 +1119,9 @@ const tn = (A, e) => A.reduce((n, r) => (n[r.guid] = e?.includes(r.guid), n), {}
|
|
1119
1119
|
) }),
|
1120
1120
|
sx: { overflow: "auto", width: "100%" },
|
1121
1121
|
children: T.map((L) => {
|
1122
|
-
const O = c[L.guid],
|
1122
|
+
const O = c[L.guid], M = `${L.name}${h && L.accountNumber ? ` *${L.accountNumber.slice(-4)}` : ""}`;
|
1123
1123
|
return /* @__PURE__ */ t(
|
1124
|
-
|
1124
|
+
Z,
|
1125
1125
|
{
|
1126
1126
|
className: "mx-cmn-account-options-container",
|
1127
1127
|
disableGutters: !0,
|
@@ -1148,7 +1148,7 @@ const tn = (A, e) => A.reduce((n, r) => (n[r.guid] = e?.includes(r.guid), n), {}
|
|
1148
1148
|
}
|
1149
1149
|
}
|
1150
1150
|
),
|
1151
|
-
label:
|
1151
|
+
label: M
|
1152
1152
|
}
|
1153
1153
|
)
|
1154
1154
|
},
|
@@ -1238,7 +1238,7 @@ const ms = (A, e) => {
|
|
1238
1238
|
"aria-haspopup": !0,
|
1239
1239
|
"aria-label": e.title,
|
1240
1240
|
onClick: f,
|
1241
|
-
children: /* @__PURE__ */ t(
|
1241
|
+
children: /* @__PURE__ */ t(N, { name: "filter_alt" })
|
1242
1242
|
}
|
1243
1243
|
) }) : /* @__PURE__ */ t(
|
1244
1244
|
iA,
|
@@ -1247,7 +1247,7 @@ const ms = (A, e) => {
|
|
1247
1247
|
"aria-haspopup": !0,
|
1248
1248
|
"aria-label": e.title,
|
1249
1249
|
onClick: f,
|
1250
|
-
startIcon: /* @__PURE__ */ t(
|
1250
|
+
startIcon: /* @__PURE__ */ t(N, { name: "filter_alt" }),
|
1251
1251
|
variant: s,
|
1252
1252
|
children: e.title
|
1253
1253
|
}
|
@@ -1484,10 +1484,10 @@ const ms = (A, e) => {
|
|
1484
1484
|
selectedIndex: c,
|
1485
1485
|
valueFormatter: u = (l) => `${l}`
|
1486
1486
|
}) => {
|
1487
|
-
const l = yA(), h = Ds(l), C = r.reduce(Is, []), f = A !== void 0 ? A : C.reduce(Ts, 0) / C.length, v = Math.max(...C), p = Math.min(...C), E = C.reduce(Ss, 0), T = v >= 0, S = p < 0, L = Lr(T, S, a), O = Lr(S, T, a),
|
1487
|
+
const l = yA(), h = Ds(l), C = r.reduce(Is, []), f = A !== void 0 ? A : C.reduce(Ts, 0) / C.length, v = Math.max(...C), p = Math.min(...C), E = C.reduce(Ss, 0), T = v >= 0, S = p < 0, L = Lr(T, S, a), O = Lr(S, T, a), M = bs(f, v, p, L || O), x = (B) => c === void 0 || B === c ? n : `${n}80`, K = () => /* @__PURE__ */ t(
|
1488
1488
|
wr,
|
1489
1489
|
{
|
1490
|
-
averageLineHeight:
|
1490
|
+
averageLineHeight: M,
|
1491
1491
|
bottomHeight: O,
|
1492
1492
|
color: "",
|
1493
1493
|
range: E,
|
@@ -1504,7 +1504,7 @@ const ms = (A, e) => {
|
|
1504
1504
|
wr,
|
1505
1505
|
{
|
1506
1506
|
ariaLabel: B.ariaLabel,
|
1507
|
-
averageLineHeight:
|
1507
|
+
averageLineHeight: M,
|
1508
1508
|
bottomHeight: O,
|
1509
1509
|
color: x(_),
|
1510
1510
|
index: _,
|
@@ -1534,7 +1534,7 @@ const ms = (A, e) => {
|
|
1534
1534
|
}), Os = ({ copy: A, date: e, onNextClick: n, onPreviousClick: r }) => {
|
1535
1535
|
const a = yA(), i = xs(a);
|
1536
1536
|
return /* @__PURE__ */ d("div", { className: `mx-cmn-calendar-header ${i}`, children: [
|
1537
|
-
/* @__PURE__ */ t(Kt, { className: "mx-cmn-calendar-header-title", variant: "H3", children:
|
1537
|
+
/* @__PURE__ */ t(Kt, { className: "mx-cmn-calendar-header-title", variant: "H3", children: J(e, U.MONTH_YEAR) }),
|
1538
1538
|
/* @__PURE__ */ d("div", { className: "mx-cmn-calendar-header-button-container", children: [
|
1539
1539
|
/* @__PURE__ */ t(iA, { "aria-label": A.prevAria, onClick: r, children: /* @__PURE__ */ t(ji, {}) }),
|
1540
1540
|
/* @__PURE__ */ t(iA, { "aria-label": A.nextAria, onClick: n, children: /* @__PURE__ */ t(Ui, {}) })
|
@@ -1554,7 +1554,7 @@ const ms = (A, e) => {
|
|
1554
1554
|
gap: 4
|
1555
1555
|
}
|
1556
1556
|
}), Ps = ({ beginDate: A, date: e, endDate: n, isInMonth: r, onClick: a }) => {
|
1557
|
-
const i = CA(), o = yA(), s = Ns(o, i), c = A && n && We(e, { start: A, end: n }) && !GA(e, A) && !GA(e, n), u = A && n && GA(A, e) && !GA(A, n), l = n && A && GA(n, e) && !GA(A, n), h = A && GA(A, e) || n && GA(n, e), C = GA(e,
|
1557
|
+
const i = CA(), o = yA(), s = Ns(o, i), c = A && n && We(e, { start: A, end: n }) && !GA(e, A) && !GA(e, n), u = A && n && GA(A, e) && !GA(A, n), l = n && A && GA(n, e) && !GA(A, n), h = A && GA(A, e) || n && GA(n, e), C = GA(e, $());
|
1558
1558
|
return /* @__PURE__ */ t(
|
1559
1559
|
"div",
|
1560
1560
|
{
|
@@ -1646,14 +1646,14 @@ const Rs = ({
|
|
1646
1646
|
selectionType: i = "Single"
|
1647
1647
|
/* Single */
|
1648
1648
|
}) => {
|
1649
|
-
const o = yA(), s = Hs(o), [c, u] = g.useState(
|
1649
|
+
const o = yA(), s = Hs(o), [c, u] = g.useState($), [l, h] = g.useState(e), [C, f] = g.useState(n);
|
1650
1650
|
g.useEffect(() => {
|
1651
1651
|
h(e), f(n), e && u(e);
|
1652
1652
|
}, [e, n]);
|
1653
1653
|
const v = g.useMemo(() => {
|
1654
1654
|
const L = Qi({ start: EA(c), end: DA(c) }), O = [];
|
1655
|
-
for (let
|
1656
|
-
const x = L[
|
1655
|
+
for (let M = 0; M < L.length; M++) {
|
1656
|
+
const x = L[M], K = Xi({ start: x, end: ce(x, 6) }), B = [];
|
1657
1657
|
for (let _ = 0; _ < K.length; _++)
|
1658
1658
|
B.push(K[_]);
|
1659
1659
|
O.push(B);
|
@@ -1668,12 +1668,12 @@ const Rs = ({
|
|
1668
1668
|
!l || C ? (h(L), f(void 0)) : hA(L, l) ? (f(l), h(L), a?.(L, l)) : (f(L), a?.(l, L));
|
1669
1669
|
}
|
1670
1670
|
}, E = () => {
|
1671
|
-
const L =
|
1671
|
+
const L = $();
|
1672
1672
|
u(L), i !== "None" && (h(L), i === "Single" ? r?.(L) : (f(L), a?.(L, L)));
|
1673
1673
|
}, T = () => {
|
1674
1674
|
u(YA(c, 1));
|
1675
1675
|
}, S = () => {
|
1676
|
-
u(
|
1676
|
+
u(fe(c, 1));
|
1677
1677
|
};
|
1678
1678
|
return /* @__PURE__ */ t("div", { className: `mx-cmn-calendar ${s}`, children: /* @__PURE__ */ d(oe, { sx: { boxShadow: "none" }, children: [
|
1679
1679
|
/* @__PURE__ */ t(
|
@@ -1686,13 +1686,13 @@ const Rs = ({
|
|
1686
1686
|
}
|
1687
1687
|
),
|
1688
1688
|
/* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-row", children: v[0].map((L, O) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-header-cell", children: /* @__PURE__ */ t(y, { bold: !0, variant: "Small", children: JA(L, "EEEEE") }) }, O)) }),
|
1689
|
-
v.map((L, O) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-week", children: L.map((
|
1689
|
+
v.map((L, O) => /* @__PURE__ */ t("div", { className: "mx-cmn-calendar-week", children: L.map((M, x) => /* @__PURE__ */ t(
|
1690
1690
|
Ps,
|
1691
1691
|
{
|
1692
1692
|
beginDate: l,
|
1693
|
-
date:
|
1693
|
+
date: M,
|
1694
1694
|
endDate: C,
|
1695
|
-
isInMonth: Fi(
|
1695
|
+
isInMonth: Fi(M, c),
|
1696
1696
|
onClick: p
|
1697
1697
|
},
|
1698
1698
|
x
|
@@ -2002,13 +2002,13 @@ const Rs = ({
|
|
2002
2002
|
if (!e)
|
2003
2003
|
throw new Error(`${A}() must be used within the GlobalDataContext`);
|
2004
2004
|
return e;
|
2005
|
-
}, OA = () => _A("useAccountStore").globalStore.accountStore, Xt = () => _A("useBudgetsStore").globalStore.budgetsStore, Hn = () => _A("useCashflowStore").globalStore.cashflowStore, xA = () => _A("useCategoryStore").globalStore.categoryStore, Ka = () => _A("useConnectStore").globalStore.connectStore, zn = () => _A("useGlobalStore").globalStore, vA = () => _A("useGlobalUiStore").globalStore.globalUiStore, b = () => _A("globalCopyStore").globalStore.copyStore.copy, Qs = () => _A("useMerchantStore").globalStore.merchantStore, Ba = () => _A("useNotificationStore").globalStore.notificationStore, KA = () => _A("useRecurringActivityStore").globalStore.recurringActivityStore, cA = () => _A("useTransactionStore").globalStore.transactionStore, Qt = () => _A("useUserStore").globalStore.userStore,
|
2005
|
+
}, OA = () => _A("useAccountStore").globalStore.accountStore, Xt = () => _A("useBudgetsStore").globalStore.budgetsStore, Hn = () => _A("useCashflowStore").globalStore.cashflowStore, xA = () => _A("useCategoryStore").globalStore.categoryStore, Ka = () => _A("useConnectStore").globalStore.connectStore, zn = () => _A("useGlobalStore").globalStore, vA = () => _A("useGlobalUiStore").globalStore.globalUiStore, b = () => _A("globalCopyStore").globalStore.copyStore.copy, Qs = () => _A("useMerchantStore").globalStore.merchantStore, Ba = () => _A("useNotificationStore").globalStore.notificationStore, KA = () => _A("useRecurringActivityStore").globalStore.recurringActivityStore, cA = () => _A("useTransactionStore").globalStore.transactionStore, Qt = () => _A("useUserStore").globalStore.userStore, V = () => ({ onEvent: _A().onEvent }), Gg = () => ({ onPageView: _A().onPageView }), Fs = (A = "useWidgetContainerContext") => {
|
2006
2006
|
const e = g.useContext(za);
|
2007
2007
|
if (!e)
|
2008
2008
|
throw new Error(`${A}() must be used within the WidgetContainerContext`);
|
2009
2009
|
return e;
|
2010
2010
|
}, vt = () => Fs(), _a = ({ categoryGuid: A }) => {
|
2011
|
-
const { categories: e } = b(), n =
|
2011
|
+
const { categories: e } = b(), n = Te[A];
|
2012
2012
|
return /* @__PURE__ */ d(je, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
|
2013
2013
|
/* @__PURE__ */ t(
|
2014
2014
|
te,
|
@@ -2016,7 +2016,7 @@ const Rs = ({
|
|
2016
2016
|
"aria-label": z(e.category_icon_label_aria, n),
|
2017
2017
|
mb: 4,
|
2018
2018
|
role: "img",
|
2019
|
-
children: /* @__PURE__ */ t(
|
2019
|
+
children: /* @__PURE__ */ t(Oe, { categoryGuid: A })
|
2020
2020
|
}
|
2021
2021
|
),
|
2022
2022
|
/* @__PURE__ */ t(y, { variant: "Body", children: n })
|
@@ -2067,7 +2067,7 @@ const Rs = ({
|
|
2067
2067
|
/* @__PURE__ */ t(ir, { container: !0, children: e.map((l, h) => /* @__PURE__ */ d(g.Fragment, { children: [
|
2068
2068
|
h > 0 && h % 3 === 0 && /* @__PURE__ */ t(ln, { sx: { my: 16, width: "100%" } }),
|
2069
2069
|
/* @__PURE__ */ t(ir, { item: !0, xs: 4, children: /* @__PURE__ */ d(te, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
2070
|
-
/* @__PURE__ */ t(y, { color: i.palette.text.secondary, variant: "XSmall", children:
|
2070
|
+
/* @__PURE__ */ t(y, { color: i.palette.text.secondary, variant: "XSmall", children: J(String(l.x), U.MONTH_SHORT) }),
|
2071
2071
|
/* @__PURE__ */ t(
|
2072
2072
|
zA,
|
2073
2073
|
{
|
@@ -2090,7 +2090,7 @@ const Rs = ({
|
|
2090
2090
|
const r = Je(), a = n?.[e];
|
2091
2091
|
return a === void 0 ? null : /* @__PURE__ */ t(pn, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(da, { children: /* @__PURE__ */ d(te, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
2092
2092
|
/* @__PURE__ */ t(_a, { categoryGuid: A }),
|
2093
|
-
/* @__PURE__ */ t(y, { color: r.palette.text.secondary, variant: "Small", children:
|
2093
|
+
/* @__PURE__ */ t(y, { color: r.palette.text.secondary, variant: "Small", children: J(String(e), U.MONTH_SHORT_YEAR) }),
|
2094
2094
|
/* @__PURE__ */ t(zA, { amount: a ?? "", bold: !0, formatString: "0,0", variant: "Body" })
|
2095
2095
|
] }) }) });
|
2096
2096
|
}, Ys = ({
|
@@ -2165,42 +2165,42 @@ const Rs = ({
|
|
2165
2165
|
hoveredAreaData: null,
|
2166
2166
|
isAreaHovered: !1,
|
2167
2167
|
cursorPos: { x: 0, y: 0 }
|
2168
|
-
}), { hoveredSeriesId: S, hoveredAreaData: L, isAreaHovered: O, cursorPos:
|
2169
|
-
const TA = LA.reduce((WA,
|
2170
|
-
return TA >
|
2171
|
-
}, 0),
|
2168
|
+
}), { hoveredSeriesId: S, hoveredAreaData: L, isAreaHovered: O, cursorPos: M } = E, x = O && S && L, K = !x, B = [...a, ...s], _ = B.flat().map((Y) => Y.x), G = B.flat().map((Y) => Y.y), k = Math.floor(Math.min(...G) / 100) * 100, P = B.reduce((Y, LA) => {
|
2169
|
+
const TA = LA.reduce((WA, ye) => WA + ye.y, 0);
|
2170
|
+
return TA > Y ? TA : Y;
|
2171
|
+
}, 0), W = i.map((Y) => Te[Y]), rA = a.map((Y, LA) => ({
|
2172
2172
|
id: `stacked-${LA}`,
|
2173
2173
|
area: !0,
|
2174
2174
|
color: r[LA] ?? h.palette.primary.main,
|
2175
|
-
data:
|
2176
|
-
label:
|
2175
|
+
data: Y.map((TA) => TA.y),
|
2176
|
+
label: W[LA],
|
2177
2177
|
stack: "total",
|
2178
2178
|
type: "line",
|
2179
2179
|
highlightScope: {
|
2180
2180
|
highlight: "item"
|
2181
2181
|
},
|
2182
2182
|
valueFormatter: (TA) => F(TA, "0,0")
|
2183
|
-
})), IA = c.map((
|
2183
|
+
})), IA = c.map((Y) => Te[Y]), sA = s.map((Y, LA) => ({
|
2184
2184
|
id: `unstacked-${LA}`,
|
2185
2185
|
area: !1,
|
2186
2186
|
color: o[LA],
|
2187
|
-
data:
|
2187
|
+
data: Y.map((TA) => TA.y),
|
2188
2188
|
label: IA[LA],
|
2189
2189
|
type: "line",
|
2190
2190
|
valueFormatter: (TA) => F(TA, "0,0")
|
2191
|
-
})), bA = [...rA, ...sA],
|
2192
|
-
p(
|
2191
|
+
})), bA = [...rA, ...sA], Pe = [...W, ...IA], le = (Y) => Y.startsWith("stacked-") ? i[parseInt(Y.split("-")[1])] : c[parseInt(Y.split("-")[1])], Ge = (Y) => {
|
2192
|
+
p(Y), n?.(Y ?? "");
|
2193
2193
|
};
|
2194
2194
|
return /* @__PURE__ */ t(
|
2195
2195
|
te,
|
2196
2196
|
{
|
2197
|
-
onMouseMove: (
|
2198
|
-
const LA =
|
2197
|
+
onMouseMove: (Y) => {
|
2198
|
+
const LA = Y.currentTarget.getBoundingClientRect();
|
2199
2199
|
T((TA) => ({
|
2200
2200
|
...TA,
|
2201
2201
|
cursorPos: {
|
2202
|
-
x:
|
2203
|
-
y:
|
2202
|
+
x: Y.clientX - LA.left,
|
2203
|
+
y: Y.clientY - LA.top
|
2204
2204
|
}
|
2205
2205
|
}));
|
2206
2206
|
},
|
@@ -2218,36 +2218,36 @@ const Rs = ({
|
|
2218
2218
|
{
|
2219
2219
|
height: u || 400,
|
2220
2220
|
margin: { bottom: 50 },
|
2221
|
-
onHighlightChange: (
|
2222
|
-
const LA =
|
2221
|
+
onHighlightChange: (Y) => {
|
2222
|
+
const LA = Y?.seriesId && bA.find((ye) => ye.id === Y.seriesId), TA = LA && Y?.dataIndex !== void 0, WA = LA && Y?.dataIndex === void 0;
|
2223
2223
|
if (TA)
|
2224
2224
|
T({
|
2225
|
-
hoveredSeriesId: String(
|
2225
|
+
hoveredSeriesId: String(Y.seriesId),
|
2226
2226
|
hoveredAreaData: null,
|
2227
2227
|
isAreaHovered: !1,
|
2228
|
-
cursorPos:
|
2228
|
+
cursorPos: M
|
2229
2229
|
}), e?.(
|
2230
|
-
|
2230
|
+
Te[le(String(Y.seriesId))]
|
2231
2231
|
);
|
2232
2232
|
else if (WA) {
|
2233
|
-
const
|
2233
|
+
const ye = LA?.data.map(($t, An) => ({
|
2234
2234
|
x: _[An],
|
2235
2235
|
y: $t
|
2236
2236
|
})) ?? [];
|
2237
2237
|
T({
|
2238
|
-
hoveredSeriesId: String(
|
2239
|
-
hoveredAreaData:
|
2238
|
+
hoveredSeriesId: String(Y.seriesId),
|
2239
|
+
hoveredAreaData: ye,
|
2240
2240
|
isAreaHovered: !0,
|
2241
|
-
cursorPos:
|
2241
|
+
cursorPos: M
|
2242
2242
|
}), A?.(
|
2243
|
-
|
2243
|
+
Te[le(String(Y.seriesId))]
|
2244
2244
|
);
|
2245
2245
|
} else
|
2246
2246
|
T({
|
2247
2247
|
hoveredSeriesId: null,
|
2248
2248
|
hoveredAreaData: null,
|
2249
2249
|
isAreaHovered: !1,
|
2250
|
-
cursorPos:
|
2250
|
+
cursorPos: M
|
2251
2251
|
});
|
2252
2252
|
},
|
2253
2253
|
series: bA,
|
@@ -2257,11 +2257,11 @@ const Rs = ({
|
|
2257
2257
|
}
|
2258
2258
|
},
|
2259
2259
|
slots: {
|
2260
|
-
itemContent: (
|
2260
|
+
itemContent: (Y) => K && S ? /* @__PURE__ */ t(
|
2261
2261
|
Ws,
|
2262
2262
|
{
|
2263
2263
|
categoryGuid: le(S),
|
2264
|
-
...
|
2264
|
+
...Y
|
2265
2265
|
}
|
2266
2266
|
) : null
|
2267
2267
|
},
|
@@ -2281,11 +2281,11 @@ const Rs = ({
|
|
2281
2281
|
'& [class*="MuiLineElement-series-unstacked-"]': {
|
2282
2282
|
strokeWidth: 3
|
2283
2283
|
},
|
2284
|
-
...v && rA.reduce((
|
2284
|
+
...v && rA.reduce((Y, LA, TA) => {
|
2285
2285
|
const WA = `.MuiAreaElement-series-stacked-${TA}`;
|
2286
|
-
return
|
2287
|
-
opacity:
|
2288
|
-
},
|
2286
|
+
return Y[WA] = {
|
2287
|
+
opacity: W[TA] === v ? 0.9 : 0.2
|
2288
|
+
}, Y;
|
2289
2289
|
}, {})
|
2290
2290
|
},
|
2291
2291
|
tooltip: {
|
@@ -2296,13 +2296,13 @@ const Rs = ({
|
|
2296
2296
|
{
|
2297
2297
|
data: _,
|
2298
2298
|
scaleType: "point",
|
2299
|
-
valueFormatter: (
|
2299
|
+
valueFormatter: (Y) => J(Y, U.MONTH_SHORT_YEAR)
|
2300
2300
|
}
|
2301
2301
|
],
|
2302
2302
|
yAxis: [
|
2303
2303
|
{
|
2304
|
-
min:
|
2305
|
-
max:
|
2304
|
+
min: k,
|
2305
|
+
max: P || 100
|
2306
2306
|
}
|
2307
2307
|
]
|
2308
2308
|
}
|
@@ -2311,10 +2311,10 @@ const Rs = ({
|
|
2311
2311
|
Ys,
|
2312
2312
|
{
|
2313
2313
|
hoveredLegend: v,
|
2314
|
-
labels:
|
2314
|
+
labels: Pe,
|
2315
2315
|
setHoveredLegend: Ge,
|
2316
2316
|
stackedColors: r,
|
2317
|
-
stackedLabels:
|
2317
|
+
stackedLabels: W,
|
2318
2318
|
sx: { px: C ? 0 : 24 },
|
2319
2319
|
unstackedColors: o,
|
2320
2320
|
unstackedLabels: IA
|
@@ -2325,7 +2325,7 @@ const Rs = ({
|
|
2325
2325
|
{
|
2326
2326
|
categoryGuid: le(S),
|
2327
2327
|
chartContainerRef: f,
|
2328
|
-
cursorPosition:
|
2328
|
+
cursorPosition: M,
|
2329
2329
|
hoveredAreaData: L
|
2330
2330
|
}
|
2331
2331
|
)
|
@@ -2431,7 +2431,7 @@ const Rs = ({
|
|
2431
2431
|
padding: "8px 20px 8px 8px"
|
2432
2432
|
},
|
2433
2433
|
children: [
|
2434
|
-
/* @__PURE__ */ t(RA, { "aria-label": A, onClick: e, children: /* @__PURE__ */ t(
|
2434
|
+
/* @__PURE__ */ t(RA, { "aria-label": A, onClick: e, children: /* @__PURE__ */ t(N, { name: "west" }) }),
|
2435
2435
|
/* @__PURE__ */ t(
|
2436
2436
|
D,
|
2437
2437
|
{
|
@@ -2490,12 +2490,12 @@ const Rs = ({
|
|
2490
2490
|
calendarActions: A,
|
2491
2491
|
color: e = "primary",
|
2492
2492
|
copy: n,
|
2493
|
-
range: r = [EA(
|
2493
|
+
range: r = [EA($()), DA(ze())],
|
2494
2494
|
shouldShrinkToIcon: a = !0,
|
2495
2495
|
toolTipContent: i = "",
|
2496
2496
|
variant: o = "outlined"
|
2497
2497
|
}) => {
|
2498
|
-
const s = CA(), c = s.palette.mode === "dark", { isDesktop: u, isMobile: l } = jA(), [h, C] = g.useState(r), [f, v] = g.useState(n.dateRangePickerCopy.dateRangeThisMonth), [p, E] = g.useState(h), [T, S] = g.useState(!1), [L, O] = g.useState(!0), [
|
2498
|
+
const s = CA(), c = s.palette.mode === "dark", { isDesktop: u, isMobile: l } = jA(), [h, C] = g.useState(r), [f, v] = g.useState(n.dateRangePickerCopy.dateRangeThisMonth), [p, E] = g.useState(h), [T, S] = g.useState(!1), [L, O] = g.useState(!0), [M, x] = g.useState(6), K = [
|
2499
2499
|
{ label: "3M", value: 3 },
|
2500
2500
|
{ label: "6M", value: 6 },
|
2501
2501
|
{ label: "9M", value: 9 },
|
@@ -2505,27 +2505,27 @@ const Rs = ({
|
|
2505
2505
|
E(r);
|
2506
2506
|
}, [r]), g.useEffect(() => {
|
2507
2507
|
A.onRangeChanged(B());
|
2508
|
-
}, [
|
2508
|
+
}, [M]);
|
2509
2509
|
const B = () => {
|
2510
|
-
const
|
2511
|
-
return [DA(
|
2512
|
-
}, _ = (
|
2513
|
-
const
|
2510
|
+
const P = DA(ze());
|
2511
|
+
return [DA(fe(P, M)), P];
|
2512
|
+
}, _ = (P) => {
|
2513
|
+
const W = [...h], rA = h[0], IA = h[1], sA = P === "previous";
|
2514
2514
|
if (f === n.dateRangePickerCopy.dateRangeThisMonth)
|
2515
|
-
|
2515
|
+
W[0] = sA ? fe(rA, 1) : YA(rA, 1), W[1] = DA(sA ? fe(IA, 1) : YA(IA, 1));
|
2516
2516
|
else if (f === n.dateRangePickerCopy.dateRangeYTD || f === n.dateRangePickerCopy.dateRangeLastYear)
|
2517
|
-
|
2517
|
+
W[0] = sA ? cr(sr(rA), 1) : ct(sr(rA), 1), W[1] = sA ? cr(or(rA), 1) : ct(or(rA), 1);
|
2518
2518
|
else {
|
2519
2519
|
const bA = co(IA, rA);
|
2520
|
-
|
2520
|
+
W[0] = P === "previous" ? ne(rA, bA) : ce(rA, bA), W[1] = P === "previous" ? ne(IA, bA) : ce(IA, bA);
|
2521
2521
|
}
|
2522
|
-
C(
|
2523
|
-
},
|
2522
|
+
C(W), A.onRangeChanged(W);
|
2523
|
+
}, G = () => {
|
2524
2524
|
C(p), O(
|
2525
2525
|
f === n.dateRangePickerCopy.dateRangeThisMonth || f === n.dateRangePickerCopy.dateRangeLastMonth
|
2526
2526
|
), A.onRangeChanged(p);
|
2527
|
-
},
|
2528
|
-
x(
|
2527
|
+
}, k = (P) => {
|
2528
|
+
x(P);
|
2529
2529
|
};
|
2530
2530
|
return /* @__PURE__ */ d(D, { className: "mx-cmn-date-range-selector", m: 4, children: [
|
2531
2531
|
/* @__PURE__ */ t(
|
@@ -2541,7 +2541,7 @@ const Rs = ({
|
|
2541
2541
|
"aria-describedby": "select-date",
|
2542
2542
|
"aria-label": "Select a date",
|
2543
2543
|
onClick: () => S(!0),
|
2544
|
-
children: /* @__PURE__ */ t(
|
2544
|
+
children: /* @__PURE__ */ t(N, { name: "calendar_month" })
|
2545
2545
|
}
|
2546
2546
|
)
|
2547
2547
|
}
|
@@ -2558,10 +2558,10 @@ const Rs = ({
|
|
2558
2558
|
},
|
2559
2559
|
children: [
|
2560
2560
|
o === "readonly" && /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
2561
|
-
/* @__PURE__ */ t(
|
2562
|
-
/* @__PURE__ */ t(y, { bold: !0, children:
|
2563
|
-
/* @__PURE__ */ t(
|
2564
|
-
/* @__PURE__ */ t(y, { bold: !0, children:
|
2561
|
+
/* @__PURE__ */ t(N, { name: "calendar_month", size: 24 }),
|
2562
|
+
/* @__PURE__ */ t(y, { bold: !0, children: J(p[0], U.MONTH_DAY) }),
|
2563
|
+
/* @__PURE__ */ t(N, { name: "remove" }),
|
2564
|
+
/* @__PURE__ */ t(y, { bold: !0, children: J(p[1], U.MONTH_DAY_YEAR) })
|
2565
2565
|
] }),
|
2566
2566
|
o !== "readonly" && o !== "timeframebuttons" && /* @__PURE__ */ d(
|
2567
2567
|
lo,
|
@@ -2582,7 +2582,7 @@ const Rs = ({
|
|
2582
2582
|
"aria-label": n.dateRangePreviousAria,
|
2583
2583
|
color: A.shouldDisablePrevious ? "secondary" : "primary",
|
2584
2584
|
onClick: () => A.shouldDisablePrevious ? null : _("previous"),
|
2585
|
-
children: /* @__PURE__ */ t(
|
2585
|
+
children: /* @__PURE__ */ t(N, { name: "chevron_left", size: 28 })
|
2586
2586
|
}
|
2587
2587
|
),
|
2588
2588
|
/* @__PURE__ */ t(
|
@@ -2591,16 +2591,16 @@ const Rs = ({
|
|
2591
2591
|
"aria-disabled": A.shouldDisablePicker,
|
2592
2592
|
color: e,
|
2593
2593
|
onClick: () => A.shouldDisablePicker ? null : S(!0),
|
2594
|
-
startIcon: /* @__PURE__ */ t(
|
2594
|
+
startIcon: /* @__PURE__ */ t(N, { name: "calendar_month", size: 20 }),
|
2595
2595
|
sx: {
|
2596
2596
|
p: l ? 0 : 8,
|
2597
2597
|
width: u ? 280 : 232
|
2598
2598
|
},
|
2599
|
-
children: L ?
|
2600
|
-
|
2599
|
+
children: L ? J(h[0], U.MONTH_YEAR) : /* @__PURE__ */ d("span", { children: [
|
2600
|
+
J(h[0], U.MONTH_DAY_YEAR),
|
2601
2601
|
" -",
|
2602
2602
|
" ",
|
2603
|
-
|
2603
|
+
J(h[1], U.MONTH_DAY_YEAR)
|
2604
2604
|
] })
|
2605
2605
|
}
|
2606
2606
|
),
|
@@ -2611,7 +2611,7 @@ const Rs = ({
|
|
2611
2611
|
"aria-label": n.dateRangeNextAria,
|
2612
2612
|
color: A.shouldDisableNext ? "secondary" : "primary",
|
2613
2613
|
onClick: () => A.shouldDisableNext ? null : _("next"),
|
2614
|
-
children: /* @__PURE__ */ t(
|
2614
|
+
children: /* @__PURE__ */ t(N, { name: "chevron_right", size: 28 })
|
2615
2615
|
}
|
2616
2616
|
)
|
2617
2617
|
]
|
@@ -2623,11 +2623,11 @@ const Rs = ({
|
|
2623
2623
|
color: e,
|
2624
2624
|
exclusive: !0,
|
2625
2625
|
orientation: "horizontal",
|
2626
|
-
value:
|
2627
|
-
children: K?.map((
|
2626
|
+
value: M,
|
2627
|
+
children: K?.map((P) => /* @__PURE__ */ t(
|
2628
2628
|
En,
|
2629
2629
|
{
|
2630
|
-
onClick: () =>
|
2630
|
+
onClick: () => k(P.value),
|
2631
2631
|
sx: {
|
2632
2632
|
fontSize: 15,
|
2633
2633
|
fontWeight: 600,
|
@@ -2651,10 +2651,10 @@ const Rs = ({
|
|
2651
2651
|
color: s.palette.grey[500]
|
2652
2652
|
}
|
2653
2653
|
},
|
2654
|
-
value:
|
2655
|
-
children:
|
2654
|
+
value: P.value,
|
2655
|
+
children: P.label
|
2656
2656
|
},
|
2657
|
-
|
2657
|
+
P.label
|
2658
2658
|
))
|
2659
2659
|
}
|
2660
2660
|
)
|
@@ -2668,7 +2668,7 @@ const Rs = ({
|
|
2668
2668
|
isOpen: T,
|
2669
2669
|
onClose: () => S(!1),
|
2670
2670
|
onPrimaryAction: () => {
|
2671
|
-
|
2671
|
+
G(), S(!1);
|
2672
2672
|
},
|
2673
2673
|
primaryText: n.dateRangeEditApply,
|
2674
2674
|
title: n.dateRangeEditTitle,
|
@@ -2677,8 +2677,8 @@ const Rs = ({
|
|
2677
2677
|
{
|
2678
2678
|
copy: n.dateRangePickerCopy,
|
2679
2679
|
dateRange: p,
|
2680
|
-
onRangeChanged: (
|
2681
|
-
E(
|
2680
|
+
onRangeChanged: (P, W) => {
|
2681
|
+
E(P), v(W);
|
2682
2682
|
},
|
2683
2683
|
selectedShortcut: f,
|
2684
2684
|
sx: { p: 16 }
|
@@ -2692,7 +2692,7 @@ const Rs = ({
|
|
2692
2692
|
copy: { title: n.dateRangeEditTitle },
|
2693
2693
|
isOpen: !0,
|
2694
2694
|
onClose: () => S(!1),
|
2695
|
-
onPrimaryAction: () =>
|
2695
|
+
onPrimaryAction: () => G(),
|
2696
2696
|
primaryText: n.dateRangeEditApply,
|
2697
2697
|
sx: {
|
2698
2698
|
"& .MuiDialogContent-root": {
|
@@ -2704,8 +2704,8 @@ const Rs = ({
|
|
2704
2704
|
{
|
2705
2705
|
copy: n.dateRangePickerCopy,
|
2706
2706
|
dateRange: p,
|
2707
|
-
onRangeChanged: (
|
2708
|
-
E(
|
2707
|
+
onRangeChanged: (P, W) => {
|
2708
|
+
E(P), v(W);
|
2709
2709
|
},
|
2710
2710
|
selectedShortcut: f,
|
2711
2711
|
sx: {
|
@@ -2870,7 +2870,7 @@ const Be = ({
|
|
2870
2870
|
action: n && /* @__PURE__ */ t(
|
2871
2871
|
iA,
|
2872
2872
|
{
|
2873
|
-
endIcon: /* @__PURE__ */ t(
|
2873
|
+
endIcon: /* @__PURE__ */ t(N, { name: "keyboard_arrow_right_rounded" }),
|
2874
2874
|
onClick: n,
|
2875
2875
|
children: /* @__PURE__ */ t(y, { bold: !0, variant: "Small", children: r })
|
2876
2876
|
}
|
@@ -2897,7 +2897,7 @@ const Be = ({
|
|
2897
2897
|
sx: l = {},
|
2898
2898
|
title: h = ""
|
2899
2899
|
}) => {
|
2900
|
-
const [C, { height: f, width: v }] = ka(), { onEvent: p } =
|
2900
|
+
const [C, { height: f, width: v }] = ka(), { onEvent: p } = V(), { isDesktop: E, isMobile: T, isTablet: S } = jA(), { displayedDateRange: L, selectedAccountGuids: O, setSelectedAccountGuids: M } = vA(), { common: x } = b(), K = () => {
|
2901
2901
|
c && (c(), p(Q.WIDGET_BACK_CLICK));
|
2902
2902
|
}, B = {
|
2903
2903
|
accountFilterOptionsCopy: {
|
@@ -2931,7 +2931,7 @@ const Be = ({
|
|
2931
2931
|
dateRangeEditTitle: x.date_range_picker.edit_title,
|
2932
2932
|
dateRangeNextAria: x.date_range_picker.next_aria,
|
2933
2933
|
dateRangePreviousAria: x.date_range_picker.previous_aria
|
2934
|
-
},
|
2934
|
+
}, G = a ? a.start : L.start, k = a ? a.end : L.end;
|
2935
2935
|
return /* @__PURE__ */ d(
|
2936
2936
|
He,
|
2937
2937
|
{
|
@@ -2958,7 +2958,7 @@ const Be = ({
|
|
2958
2958
|
{
|
2959
2959
|
calendarActions: n,
|
2960
2960
|
copy: _,
|
2961
|
-
range: [
|
2961
|
+
range: [G, k],
|
2962
2962
|
shouldShrinkToIcon: !1,
|
2963
2963
|
variant: i
|
2964
2964
|
}
|
@@ -2968,9 +2968,9 @@ const Be = ({
|
|
2968
2968
|
{
|
2969
2969
|
accounts: A,
|
2970
2970
|
copy: B,
|
2971
|
-
onFilterClick: (
|
2972
|
-
const
|
2973
|
-
|
2971
|
+
onFilterClick: (P) => {
|
2972
|
+
const W = A.filter((rA) => P.includes(rA.guid)).map((rA) => rA.guid);
|
2973
|
+
M(W), u?.();
|
2974
2974
|
},
|
2975
2975
|
selectedAccountGuids: O,
|
2976
2976
|
showAccountNumbers: !1,
|
@@ -2979,23 +2979,23 @@ const Be = ({
|
|
2979
2979
|
}
|
2980
2980
|
),
|
2981
2981
|
e.map(
|
2982
|
-
(
|
2982
|
+
(P) => E || S ? /* @__PURE__ */ t(
|
2983
2983
|
iA,
|
2984
2984
|
{
|
2985
|
-
onClick:
|
2986
|
-
startIcon: /* @__PURE__ */ t(
|
2985
|
+
onClick: P.onClick,
|
2986
|
+
startIcon: /* @__PURE__ */ t(N, { name: P.iconName }),
|
2987
2987
|
sx: { mx: 4 },
|
2988
|
-
children:
|
2988
|
+
children: P.label
|
2989
2989
|
},
|
2990
|
-
|
2990
|
+
P.iconName
|
2991
2991
|
) : /* @__PURE__ */ t(
|
2992
2992
|
RA,
|
2993
2993
|
{
|
2994
|
-
"aria-label":
|
2995
|
-
onClick:
|
2996
|
-
children: /* @__PURE__ */ t(
|
2994
|
+
"aria-label": P.label,
|
2995
|
+
onClick: P.onClick,
|
2996
|
+
children: /* @__PURE__ */ t(N, { name: P.iconName })
|
2997
2997
|
},
|
2998
|
-
|
2998
|
+
P.iconName
|
2999
2999
|
)
|
3000
3000
|
)
|
3001
3001
|
] }),
|
@@ -3009,17 +3009,17 @@ const Be = ({
|
|
3009
3009
|
p: E ? 48 : 24,
|
3010
3010
|
pb: 0
|
3011
3011
|
},
|
3012
|
-
title: E ? /* @__PURE__ */ t(
|
3012
|
+
title: E ? /* @__PURE__ */ t(ve, { children: h }) : /* @__PURE__ */ d(w, { alignItems: "center", flexDirection: "row", children: [
|
3013
3013
|
T && c && /* @__PURE__ */ t(
|
3014
3014
|
RA,
|
3015
3015
|
{
|
3016
3016
|
"aria-label": x.back_to_dashboard,
|
3017
3017
|
onClick: K,
|
3018
3018
|
sx: { ml: -16, mr: 16 },
|
3019
|
-
children: /* @__PURE__ */ t(
|
3019
|
+
children: /* @__PURE__ */ t(N, { name: "arrow_back" })
|
3020
3020
|
}
|
3021
3021
|
),
|
3022
|
-
/* @__PURE__ */ t(
|
3022
|
+
/* @__PURE__ */ t(ve, { variant: "H3", children: h })
|
3023
3023
|
] })
|
3024
3024
|
}
|
3025
3025
|
),
|
@@ -3031,7 +3031,7 @@ const Be = ({
|
|
3031
3031
|
{
|
3032
3032
|
calendarActions: n,
|
3033
3033
|
copy: _,
|
3034
|
-
range: [
|
3034
|
+
range: [G, k],
|
3035
3035
|
shouldShrinkToIcon: !1,
|
3036
3036
|
variant: i
|
3037
3037
|
}
|
@@ -3056,19 +3056,19 @@ const Be = ({
|
|
3056
3056
|
...h
|
3057
3057
|
}) => {
|
3058
3058
|
const [C, f] = g.useState(""), { common: v } = b(), p = a || v.currency_input, E = yA(), T = nc(E), S = /^[0-9]*$/, L = /^(\d)*(\,)?([0-9]{1,2})?$/, O = /^(\d)*(\.)?([0-9]{1,2})?$/;
|
3059
|
-
let
|
3059
|
+
let M;
|
3060
3060
|
const x = g.useRef(ho());
|
3061
3061
|
if (A)
|
3062
3062
|
switch (ds()) {
|
3063
3063
|
case Ot.CAD:
|
3064
|
-
|
3064
|
+
M = L;
|
3065
3065
|
break;
|
3066
3066
|
default:
|
3067
|
-
|
3067
|
+
M = O;
|
3068
3068
|
break;
|
3069
3069
|
}
|
3070
3070
|
else
|
3071
|
-
|
3071
|
+
M = S;
|
3072
3072
|
g.useEffect(() => {
|
3073
3073
|
K(n);
|
3074
3074
|
}, [n]);
|
@@ -3083,14 +3083,14 @@ const Be = ({
|
|
3083
3083
|
p.error_amount_must_be_less_than_or_equal_to,
|
3084
3084
|
F(Cr, A ? "0,0.00" : "0,0", Math.floor)
|
3085
3085
|
)
|
3086
|
-
), l?.(!1)) : B.toString().match(
|
3086
|
+
), l?.(!1)) : B.toString().match(M) ? i() ? (f(""), l?.(!0)) : (f(o), l?.(!1)) : (f(p.error_amount_is_invalid), l?.(!1)), u(B.toString());
|
3087
3087
|
};
|
3088
3088
|
return /* @__PURE__ */ t(
|
3089
|
-
|
3089
|
+
be,
|
3090
3090
|
{
|
3091
3091
|
InputProps: {
|
3092
|
-
endAdornment:
|
3093
|
-
startAdornment:
|
3092
|
+
endAdornment: De().includes("fr-ca") ? /* @__PURE__ */ t(fA, { children: "$" }) : void 0,
|
3093
|
+
startAdornment: De().includes("fr-ca") ? void 0 : /* @__PURE__ */ t(fA, { children: "$" })
|
3094
3094
|
},
|
3095
3095
|
"aria-label": e || p.enter_amount,
|
3096
3096
|
className: `mx-cmn-currency-input ${T}`,
|
@@ -3112,7 +3112,7 @@ const Be = ({
|
|
3112
3112
|
"& .MuiInputBase-adornedStart > .p": {
|
3113
3113
|
marginRight: A.Spacing.Tiny
|
3114
3114
|
}
|
3115
|
-
}),
|
3115
|
+
}), Ee = ({ label: A = "", size: e = 32 }) => {
|
3116
3116
|
const n = yA();
|
3117
3117
|
return /* @__PURE__ */ d(w, { alignItems: "center", gap: n.Spacing.XLarge, height: 450, justifyContent: "center", children: [
|
3118
3118
|
/* @__PURE__ */ t(wn, { size: e }),
|
@@ -3166,14 +3166,14 @@ const Be = ({
|
|
3166
3166
|
"aria-label": e,
|
3167
3167
|
className: "mx-cat-cancel-search-button",
|
3168
3168
|
onClick: () => n(""),
|
3169
|
-
children: /* @__PURE__ */ t(
|
3169
|
+
children: /* @__PURE__ */ t(N, { name: "cancel", size: 24 })
|
3170
3170
|
}
|
3171
3171
|
);
|
3172
3172
|
return /* @__PURE__ */ t(D, { className: "mx-cmn-search-box", px: i.Spacing.Large, py: i.Spacing.Medium, children: /* @__PURE__ */ t(
|
3173
|
-
|
3173
|
+
be,
|
3174
3174
|
{
|
3175
3175
|
InputProps: {
|
3176
|
-
startAdornment: /* @__PURE__ */ t(bt, { position: "start", children: /* @__PURE__ */ t(
|
3176
|
+
startAdornment: /* @__PURE__ */ t(bt, { position: "start", children: /* @__PURE__ */ t(N, { color: "disabled", name: "search", size: 26 }) }),
|
3177
3177
|
endAdornment: /* @__PURE__ */ t(bt, { position: "end", sx: { p: 0 }, children: a ? o : null })
|
3178
3178
|
},
|
3179
3179
|
"aria-label": A,
|
@@ -3238,7 +3238,7 @@ const Be = ({
|
|
3238
3238
|
...a,
|
3239
3239
|
children: r === e && A
|
3240
3240
|
}
|
3241
|
-
),
|
3241
|
+
), Se = ({
|
3242
3242
|
backingSx: A,
|
3243
3243
|
children: e,
|
3244
3244
|
size: n,
|
@@ -3272,7 +3272,7 @@ const Be = ({
|
|
3272
3272
|
}
|
3273
3273
|
), Nt = ({ iconName: A, label: e, onClick: n, value: r }) => {
|
3274
3274
|
const a = /* @__PURE__ */ d(aA, { children: [
|
3275
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
3275
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: A, sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
3276
3276
|
/* @__PURE__ */ t(
|
3277
3277
|
lA,
|
3278
3278
|
{
|
@@ -3283,10 +3283,10 @@ const Be = ({
|
|
3283
3283
|
}
|
3284
3284
|
)
|
3285
3285
|
] });
|
3286
|
-
return n ? /* @__PURE__ */ t(
|
3286
|
+
return n ? /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(dA, { onClick: n, children: [
|
3287
3287
|
a,
|
3288
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
3289
|
-
] }) }) : /* @__PURE__ */ t(
|
3288
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", size: 24 }) })
|
3289
|
+
] }) }) : /* @__PURE__ */ t(Z, { disableGutters: !1, disablePadding: !1, children: a });
|
3290
3290
|
}, Mt = ({
|
3291
3291
|
body: A,
|
3292
3292
|
iconName: e = "info",
|
@@ -3299,7 +3299,7 @@ const Be = ({
|
|
3299
3299
|
/* @__PURE__ */ t(y, { sx: { whiteSpace: "unset" }, variant: "Small", children: A })
|
3300
3300
|
] }),
|
3301
3301
|
children: /* @__PURE__ */ t(RA, { "aria-label": n, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ t(
|
3302
|
-
|
3302
|
+
N,
|
3303
3303
|
{
|
3304
3304
|
name: e,
|
3305
3305
|
sx: { color: "action.active", fontSize: 16 },
|
@@ -3313,8 +3313,8 @@ const Be = ({
|
|
3313
3313
|
onClick: n,
|
3314
3314
|
sx: r = {}
|
3315
3315
|
}) => {
|
3316
|
-
const { onEvent: a } =
|
3317
|
-
return n ? /* @__PURE__ */ t(
|
3316
|
+
const { onEvent: a } = V();
|
3317
|
+
return n ? /* @__PURE__ */ t(Z, { sx: { bgcolor: "background.paper", ...r }, children: /* @__PURE__ */ t(
|
3318
3318
|
dA,
|
3319
3319
|
{
|
3320
3320
|
onClick: () => {
|
@@ -3323,7 +3323,7 @@ const Be = ({
|
|
3323
3323
|
children: A
|
3324
3324
|
}
|
3325
3325
|
) }) : /* @__PURE__ */ t(
|
3326
|
-
|
3326
|
+
Z,
|
3327
3327
|
{
|
3328
3328
|
disableGutters: !1,
|
3329
3329
|
disablePadding: !1,
|
@@ -3341,14 +3341,14 @@ class ic {
|
|
3341
3341
|
wA(this);
|
3342
3342
|
}
|
3343
3343
|
initialize = async (e, n) => {
|
3344
|
-
this.api = new xt(e, n), await this.getCopy(this.featureNamespace),
|
3344
|
+
this.api = new xt(e, n), await this.getCopy(this.featureNamespace), nA(() => {
|
3345
3345
|
this.isInitialized = !0;
|
3346
3346
|
});
|
3347
3347
|
};
|
3348
3348
|
getCopy = async (e, n = "") => {
|
3349
3349
|
try {
|
3350
3350
|
const r = await this.api.getGlobalCopy(e, n);
|
3351
|
-
|
3351
|
+
nA(() => {
|
3352
3352
|
this.copy = r[e];
|
3353
3353
|
});
|
3354
3354
|
} catch (r) {
|
@@ -3367,7 +3367,7 @@ class oc {
|
|
3367
3367
|
};
|
3368
3368
|
loadBeats = async () => {
|
3369
3369
|
const e = await this.api.getBeats();
|
3370
|
-
|
3370
|
+
nA(() => {
|
3371
3371
|
this.beats = e;
|
3372
3372
|
});
|
3373
3373
|
};
|
@@ -3394,7 +3394,7 @@ class sc {
|
|
3394
3394
|
loadBudgets = async () => {
|
3395
3395
|
try {
|
3396
3396
|
const e = await this.api.getBudgets();
|
3397
|
-
|
3397
|
+
nA(() => {
|
3398
3398
|
this.budgets = e.filter(
|
3399
3399
|
(n) => n.category_guid !== m.INCOME && n.category_guid !== m.TRANSFER
|
3400
3400
|
);
|
@@ -3442,10 +3442,10 @@ const At = () => {
|
|
3442
3442
|
v && h(v), f(p);
|
3443
3443
|
}, [v, p]);
|
3444
3444
|
const E = g.useMemo(
|
3445
|
-
() => r.filter((O) => i.includes(O.guid)).reduce((O,
|
3445
|
+
() => r.filter((O) => i.includes(O.guid)).reduce((O, M) => O + (M?.balance || 0), 0),
|
3446
3446
|
[i, p]
|
3447
3447
|
), T = g.useMemo(
|
3448
|
-
() => u.filter((O) => i.includes(O.accountGuid || "")).reduce((O,
|
3448
|
+
() => u.filter((O) => i.includes(O.accountGuid || "")).reduce((O, M) => O + M.amount, 0),
|
3449
3449
|
[i, u]
|
3450
3450
|
), S = g.useMemo(
|
3451
3451
|
() => E - T,
|
@@ -3467,12 +3467,12 @@ const At = () => {
|
|
3467
3467
|
l.length
|
3468
3468
|
) })
|
3469
3469
|
] }),
|
3470
|
-
/* @__PURE__ */ t(w, { pt: 18, children: /* @__PURE__ */ t(
|
3470
|
+
/* @__PURE__ */ t(w, { pt: 18, children: /* @__PURE__ */ t(N, { name: "remove" }) }),
|
3471
3471
|
/* @__PURE__ */ d(w, { pb: 14, pt: 12, children: [
|
3472
3472
|
/* @__PURE__ */ t(zA, { amount: T, variant: "H2" }),
|
3473
3473
|
/* @__PURE__ */ t(fA, { variant: "XSmall", whiteSpace: "nowrap", children: z(o.expenses_due, u.length) })
|
3474
3474
|
] }),
|
3475
|
-
/* @__PURE__ */ t(w, { pt: 18, children: /* @__PURE__ */ t(
|
3475
|
+
/* @__PURE__ */ t(w, { pt: 18, children: /* @__PURE__ */ t(N, { name: "equals" }) }),
|
3476
3476
|
/* @__PURE__ */ d(w, { pb: 14, pr: 24, pt: 12, children: [
|
3477
3477
|
/* @__PURE__ */ t(zA, { amount: S, variant: "H2" }),
|
3478
3478
|
/* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
@@ -3487,7 +3487,7 @@ const At = () => {
|
|
3487
3487
|
iA,
|
3488
3488
|
{
|
3489
3489
|
onClick: A,
|
3490
|
-
startIcon: /* @__PURE__ */ t(
|
3490
|
+
startIcon: /* @__PURE__ */ t(N, { name: "add" }),
|
3491
3491
|
sx: { fontSize: 13, lineHeight: "initial" },
|
3492
3492
|
children: o.add_income
|
3493
3493
|
}
|
@@ -3541,7 +3541,7 @@ const At = () => {
|
|
3541
3541
|
iA,
|
3542
3542
|
{
|
3543
3543
|
onClick: A,
|
3544
|
-
startIcon: /* @__PURE__ */ t(
|
3544
|
+
startIcon: /* @__PURE__ */ t(N, { name: "add" }),
|
3545
3545
|
sx: { fontSize: 13 },
|
3546
3546
|
children: o.add_income
|
3547
3547
|
}
|
@@ -3743,7 +3743,7 @@ const hc = [
|
|
3743
3743
|
tags: l
|
3744
3744
|
};
|
3745
3745
|
});
|
3746
|
-
},
|
3746
|
+
}, AA = {
|
3747
3747
|
ADD: "Add",
|
3748
3748
|
ADD_CATEGORY: "Add Category",
|
3749
3749
|
CHANGE_CATEGORY: "Change Category",
|
@@ -3757,11 +3757,11 @@ const hc = [
|
|
3757
3757
|
SELECT: "Select",
|
3758
3758
|
UNHIDE: "Unhide",
|
3759
3759
|
UNSPLIT: "Unsplit"
|
3760
|
-
},
|
3760
|
+
}, eA = {
|
3761
3761
|
TRANSACTION_DETAILS: "Transaction Details",
|
3762
3762
|
TRANSACTIONS_LIST: "Transactions List",
|
3763
3763
|
TRANSACTIONS_WIDGET: "Transactions Widget"
|
3764
|
-
},
|
3764
|
+
}, tA = {
|
3765
3765
|
ADD_TRANSACTION: "Manual Transaction",
|
3766
3766
|
CATEGORY: "Category",
|
3767
3767
|
DATE: "Date",
|
@@ -3783,216 +3783,216 @@ const hc = [
|
|
3783
3783
|
}, Dr = {
|
3784
3784
|
// splits
|
3785
3785
|
[R.ON_TRANSACTION_SPLIT_CLICK]: {
|
3786
|
-
action:
|
3787
|
-
category:
|
3788
|
-
label:
|
3786
|
+
action: AA.SELECT,
|
3787
|
+
category: eA.TRANSACTION_DETAILS,
|
3788
|
+
label: tA.SPLITS
|
3789
3789
|
},
|
3790
3790
|
[R.ON_TRANSACTION_SPLIT_CATEGORY_CLICK]: {
|
3791
|
-
action:
|
3792
|
-
category:
|
3793
|
-
label:
|
3791
|
+
action: AA.ADD_CATEGORY,
|
3792
|
+
category: eA.TRANSACTION_DETAILS,
|
3793
|
+
label: tA.SPLITS
|
3794
3794
|
},
|
3795
3795
|
[R.ON_TRANSACTION_SPLIT_DELETE_CLICK]: {
|
3796
|
-
action:
|
3797
|
-
category:
|
3798
|
-
label:
|
3796
|
+
action: AA.DELETE,
|
3797
|
+
category: eA.TRANSACTION_DETAILS,
|
3798
|
+
label: tA.SPLITS
|
3799
3799
|
},
|
3800
3800
|
[R.ON_TRANSACTION_SPLIT_SAVE_CLICK]: {
|
3801
|
-
action:
|
3802
|
-
category:
|
3803
|
-
label:
|
3801
|
+
action: AA.SPLIT,
|
3802
|
+
category: eA.TRANSACTION_DETAILS,
|
3803
|
+
label: tA.SPLITS
|
3804
3804
|
},
|
3805
3805
|
[R.ON_TRANSACTION_UNSPLIT]: {
|
3806
|
-
action:
|
3807
|
-
category:
|
3808
|
-
label:
|
3806
|
+
action: AA.UNSPLIT,
|
3807
|
+
category: eA.TRANSACTION_DETAILS,
|
3808
|
+
label: tA.SPLITS
|
3809
3809
|
},
|
3810
3810
|
// category
|
3811
3811
|
[R.ON_TRANSACTION_CATEGORY_CLICK]: {
|
3812
|
-
action:
|
3813
|
-
category:
|
3814
|
-
label:
|
3812
|
+
action: AA.SELECT,
|
3813
|
+
category: eA.TRANSACTIONS_LIST,
|
3814
|
+
label: tA.CATEGORY
|
3815
3815
|
},
|
3816
3816
|
[R.ON_TRANSACTION_CATEGORY_CHANGED]: {
|
3817
|
-
action:
|
3818
|
-
category:
|
3819
|
-
label:
|
3817
|
+
action: AA.CHANGE_CATEGORY,
|
3818
|
+
category: eA.TRANSACTION_DETAILS,
|
3819
|
+
label: tA.CATEGORY
|
3820
3820
|
},
|
3821
3821
|
// date
|
3822
3822
|
[R.ON_TRANSACTION_DATE_CHANGED]: {
|
3823
|
-
action:
|
3824
|
-
category:
|
3825
|
-
label:
|
3823
|
+
action: AA.SAVE,
|
3824
|
+
category: eA.TRANSACTION_DETAILS,
|
3825
|
+
label: tA.DATE
|
3826
3826
|
},
|
3827
3827
|
[R.ON_TRANSACTION_DATE_CLICK]: {
|
3828
|
-
action:
|
3829
|
-
category:
|
3830
|
-
label:
|
3828
|
+
action: AA.SELECT,
|
3829
|
+
category: eA.TRANSACTION_DETAILS,
|
3830
|
+
label: tA.DATE
|
3831
3831
|
},
|
3832
3832
|
// merchant logo
|
3833
3833
|
[R.ON_TRANSACTION_DELETE_LOGO_CANCEL]: {
|
3834
|
-
action:
|
3835
|
-
category:
|
3836
|
-
label:
|
3834
|
+
action: AA.CLOSE,
|
3835
|
+
category: eA.TRANSACTION_DETAILS,
|
3836
|
+
label: tA.DELETE_MERCHANT_LOGO
|
3837
3837
|
},
|
3838
3838
|
[R.ON_TRANSACTION_DELETE_LOGO_CLICK]: {
|
3839
|
-
action:
|
3840
|
-
category:
|
3841
|
-
label:
|
3839
|
+
action: AA.SELECT,
|
3840
|
+
category: eA.TRANSACTION_DETAILS,
|
3841
|
+
label: tA.DELETE_MERCHANT_LOGO
|
3842
3842
|
},
|
3843
3843
|
[R.ON_TRANSACTION_DELETE_LOGO_DELETED]: {
|
3844
|
-
action:
|
3845
|
-
category:
|
3846
|
-
label:
|
3844
|
+
action: AA.DELETE,
|
3845
|
+
category: eA.TRANSACTION_DETAILS,
|
3846
|
+
label: tA.DELETE_MERCHANT_LOGO
|
3847
3847
|
},
|
3848
3848
|
// description
|
3849
3849
|
[R.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK]: {
|
3850
|
-
action:
|
3851
|
-
category:
|
3852
|
-
label:
|
3850
|
+
action: AA.EDIT,
|
3851
|
+
category: eA.TRANSACTION_DETAILS,
|
3852
|
+
label: tA.DESCRIPTION
|
3853
3853
|
},
|
3854
3854
|
[R.ON_TRANSACTION_DESCRIPTION_SAVE_CLICK]: {
|
3855
|
-
action:
|
3856
|
-
category:
|
3857
|
-
label:
|
3855
|
+
action: AA.SAVE,
|
3856
|
+
category: eA.TRANSACTION_DETAILS,
|
3857
|
+
label: tA.DESCRIPTION
|
3858
3858
|
},
|
3859
3859
|
// hide transactions
|
3860
3860
|
[R.ON_TRANSACTION_HIDDEN]: {
|
3861
|
-
action:
|
3862
|
-
category:
|
3863
|
-
label:
|
3861
|
+
action: AA.SAVE,
|
3862
|
+
category: eA.TRANSACTION_DETAILS,
|
3863
|
+
label: tA.HIDE_TRANSACTION
|
3864
3864
|
},
|
3865
3865
|
[R.ON_TRANSACTION_HIDE_CLICK]: {
|
3866
|
-
action:
|
3867
|
-
category:
|
3868
|
-
label:
|
3866
|
+
action: AA.SELECT,
|
3867
|
+
category: eA.TRANSACTION_DETAILS,
|
3868
|
+
label: tA.HIDE_TRANSACTION
|
3869
3869
|
},
|
3870
3870
|
[R.ON_TRANSACTION_HIDE_CANCEL_CLICK]: {
|
3871
|
-
action:
|
3872
|
-
category:
|
3873
|
-
label:
|
3871
|
+
action: AA.CLOSE,
|
3872
|
+
category: eA.TRANSACTION_DETAILS,
|
3873
|
+
label: tA.HIDE_TRANSACTION
|
3874
3874
|
},
|
3875
3875
|
// transaction list
|
3876
3876
|
[R.ON_TRANSACTION_LIST_ITEM_CLICK]: {
|
3877
|
-
action:
|
3878
|
-
category:
|
3879
|
-
label:
|
3877
|
+
action: AA.SELECT,
|
3878
|
+
category: eA.TRANSACTIONS_LIST,
|
3879
|
+
label: tA.TRANSACTION
|
3880
3880
|
},
|
3881
3881
|
// memo
|
3882
3882
|
[R.ON_TRANSACTION_MEMO_CHANGED]: {
|
3883
|
-
action:
|
3884
|
-
category:
|
3885
|
-
label:
|
3883
|
+
action: AA.SAVE,
|
3884
|
+
category: eA.TRANSACTION_DETAILS,
|
3885
|
+
label: tA.MEMO
|
3886
3886
|
},
|
3887
3887
|
[R.ON_TRANSACTION_MEMO_CLICK]: {
|
3888
|
-
action:
|
3889
|
-
category:
|
3890
|
-
label:
|
3888
|
+
action: AA.SELECT,
|
3889
|
+
category: eA.TRANSACTION_DETAILS,
|
3890
|
+
label: tA.MEMO
|
3891
3891
|
},
|
3892
3892
|
// tags
|
3893
3893
|
[R.ON_TRANSACTION_TAGS_CHANGED]: {
|
3894
|
-
action:
|
3895
|
-
category:
|
3896
|
-
label:
|
3894
|
+
action: AA.SAVE,
|
3895
|
+
category: eA.TRANSACTION_DETAILS,
|
3896
|
+
label: tA.TAGS
|
3897
3897
|
},
|
3898
3898
|
[R.ON_TRANSACTION_TAGS_CLICK]: {
|
3899
|
-
action:
|
3900
|
-
category:
|
3901
|
-
label:
|
3899
|
+
action: AA.SELECT,
|
3900
|
+
category: eA.TRANSACTION_DETAILS,
|
3901
|
+
label: tA.TAGS
|
3902
3902
|
},
|
3903
3903
|
[R.ON_TRANSACTION_TAGS_TAG_ADD_CANCEL_CLICK]: {
|
3904
|
-
action:
|
3905
|
-
category:
|
3906
|
-
label:
|
3904
|
+
action: AA.CLOSE,
|
3905
|
+
category: eA.TRANSACTION_DETAILS,
|
3906
|
+
label: tA.TAGS
|
3907
3907
|
},
|
3908
3908
|
[R.ON_TRANSACTION_TAGS_TAG_ADD_CLICK]: {
|
3909
|
-
action:
|
3910
|
-
category:
|
3911
|
-
label:
|
3909
|
+
action: AA.ADD,
|
3910
|
+
category: eA.TRANSACTION_DETAILS,
|
3911
|
+
label: tA.TAG_ADD
|
3912
3912
|
},
|
3913
3913
|
[R.ON_TRANSACTION_TAGS_TAG_ADDED]: {
|
3914
|
-
action:
|
3915
|
-
category:
|
3916
|
-
label:
|
3914
|
+
action: AA.SAVE,
|
3915
|
+
category: eA.TRANSACTION_DETAILS,
|
3916
|
+
label: tA.TAG_ADD
|
3917
3917
|
},
|
3918
3918
|
[R.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK]: {
|
3919
|
-
action:
|
3920
|
-
category:
|
3921
|
-
label:
|
3919
|
+
action: AA.SELECT,
|
3920
|
+
category: eA.TRANSACTION_DETAILS,
|
3921
|
+
label: tA.TAG_DELETE
|
3922
3922
|
},
|
3923
3923
|
[R.ON_TRANSACTION_TAGS_TAG_DELETE_CANCEL_CLICK]: {
|
3924
|
-
action:
|
3925
|
-
category:
|
3926
|
-
label:
|
3924
|
+
action: AA.CLOSE,
|
3925
|
+
category: eA.TRANSACTION_DETAILS,
|
3926
|
+
label: tA.TAG_DELETE
|
3927
3927
|
},
|
3928
3928
|
[R.ON_TRANSACTION_TAGS_TAG_DELETED]: {
|
3929
|
-
action:
|
3930
|
-
category:
|
3931
|
-
label:
|
3929
|
+
action: AA.SAVE,
|
3930
|
+
category: eA.TRANSACTION_DETAILS,
|
3931
|
+
label: tA.TAG_DELETE
|
3932
3932
|
},
|
3933
3933
|
[R.ON_TRANSACTION_TAGS_TAG_EDIT_CLICK]: {
|
3934
|
-
action:
|
3935
|
-
category:
|
3936
|
-
label:
|
3934
|
+
action: AA.EDIT,
|
3935
|
+
category: eA.TRANSACTION_DETAILS,
|
3936
|
+
label: tA.TAG_EDIT
|
3937
3937
|
},
|
3938
3938
|
[R.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED]: {
|
3939
|
-
action:
|
3940
|
-
category:
|
3941
|
-
label:
|
3939
|
+
action: AA.SAVE,
|
3940
|
+
category: eA.TRANSACTION_DETAILS,
|
3941
|
+
label: tA.TAG_EDIT
|
3942
3942
|
},
|
3943
3943
|
// flag
|
3944
3944
|
[R.ON_TRANSACTION_TOGGLE_FLAG_CLICK]: {
|
3945
|
-
action:
|
3946
|
-
category:
|
3947
|
-
label:
|
3945
|
+
action: AA.SELECT,
|
3946
|
+
category: eA.TRANSACTION_DETAILS,
|
3947
|
+
label: tA.FLAG
|
3948
3948
|
},
|
3949
3949
|
// hide
|
3950
3950
|
[R.ON_TRANSACTION_UNHIDDEN]: {
|
3951
|
-
action:
|
3952
|
-
category:
|
3953
|
-
label:
|
3951
|
+
action: AA.SAVE,
|
3952
|
+
category: eA.TRANSACTION_DETAILS,
|
3953
|
+
label: tA.UNHIDE_TRANSACTION
|
3954
3954
|
},
|
3955
3955
|
[R.ON_TRANSACTION_UNHIDE_CLICK]: {
|
3956
|
-
action:
|
3957
|
-
category:
|
3958
|
-
label:
|
3956
|
+
action: AA.SELECT,
|
3957
|
+
category: eA.TRANSACTION_DETAILS,
|
3958
|
+
label: tA.UNHIDE_TRANSACTION
|
3959
3959
|
},
|
3960
3960
|
[R.ON_TRANSACTION_UNHIDE_CANCEL_CLICK]: {
|
3961
|
-
action:
|
3962
|
-
category:
|
3963
|
-
label:
|
3961
|
+
action: AA.CLOSE,
|
3962
|
+
category: eA.TRANSACTION_DETAILS,
|
3963
|
+
label: tA.UNHIDE_TRANSACTION
|
3964
3964
|
},
|
3965
3965
|
// export CSV
|
3966
3966
|
[R.ON_TRANSACTION_EXPORT_CSV_CLICK]: {
|
3967
|
-
action:
|
3968
|
-
category:
|
3969
|
-
label:
|
3967
|
+
action: AA.SELECT,
|
3968
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3969
|
+
label: tA.EXPORT_CSV
|
3970
3970
|
},
|
3971
3971
|
// add transaction
|
3972
3972
|
[R.ON_TRANSACTION_MANUAL_ADD_CLICK]: {
|
3973
|
-
action:
|
3974
|
-
category:
|
3975
|
-
label:
|
3973
|
+
action: AA.SELECT,
|
3974
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3975
|
+
label: tA.ADD_TRANSACTION
|
3976
3976
|
},
|
3977
3977
|
[R.ON_TRANSACTION_MANUAL_ADD_ADDED]: {
|
3978
|
-
action:
|
3979
|
-
category:
|
3980
|
-
label:
|
3978
|
+
action: AA.ADD,
|
3979
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3980
|
+
label: tA.ADD_TRANSACTION
|
3981
3981
|
},
|
3982
3982
|
[R.ON_TRANSACTION_DELETE_CLICK]: {
|
3983
|
-
action:
|
3984
|
-
category:
|
3985
|
-
label:
|
3983
|
+
action: AA.SELECT,
|
3984
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3985
|
+
label: tA.DELETE_TRANSACTION
|
3986
3986
|
},
|
3987
3987
|
[R.ON_TRANSACTION_DELETE_CANCEL]: {
|
3988
|
-
action:
|
3989
|
-
category:
|
3990
|
-
label:
|
3988
|
+
action: AA.CLOSE,
|
3989
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3990
|
+
label: tA.DELETE_TRANSACTION
|
3991
3991
|
},
|
3992
3992
|
[R.ON_TRANSACTION_DELETE_DELETED]: {
|
3993
|
-
action:
|
3994
|
-
category:
|
3995
|
-
label:
|
3993
|
+
action: AA.DELETE,
|
3994
|
+
category: eA.TRANSACTIONS_WIDGET,
|
3995
|
+
label: tA.DELETE_TRANSACTION
|
3996
3996
|
}
|
3997
3997
|
}, fc = async (A, e) => !e || !Dr[A] ? null : e.sendAnalyticEvent(Dr[A]), gn = {
|
3998
3998
|
FLAG: "flag",
|
@@ -4010,7 +4010,7 @@ const hc = [
|
|
4010
4010
|
}, pc = (A, e, n) => {
|
4011
4011
|
const {
|
4012
4012
|
accounts: r = [],
|
4013
|
-
dateRange: a = { start: ne(
|
4013
|
+
dateRange: a = { start: ne($(), 90), end: ze() },
|
4014
4014
|
custom: i = () => !0,
|
4015
4015
|
searchTerm: o = ""
|
4016
4016
|
} = A;
|
@@ -4022,7 +4022,7 @@ const hc = [
|
|
4022
4022
|
const u = s.tags.some(
|
4023
4023
|
(h) => VA(o, e.find((C) => C.guid === h)?.name)
|
4024
4024
|
), l = NA(s.date);
|
4025
|
-
return VA(o, s.payee) || VA(o, s.feed_description) || VA(o, s.category) || VA(o,
|
4025
|
+
return VA(o, s.payee) || VA(o, s.feed_description) || VA(o, s.category) || VA(o, J(l, U.MONTH)) || VA(o, J(l, U.DAY)) || VA(o, J(l, U.FULL_MONTH_DAY)) || VA(o, J(l, U.MONTH_DAY_YEAR)) || VA(o, JA(l, ts)) || VA(o, s.account) || VA(o, `${s.amount}`) || VA(o, s.memo) || u;
|
4026
4026
|
});
|
4027
4027
|
}, Ec = (A, e, n) => [...A].sort((r, a) => {
|
4028
4028
|
const i = e, o = (r[i] || "") > (a[i] || "");
|
@@ -4111,7 +4111,7 @@ class Ic {
|
|
4111
4111
|
transactionRules = [];
|
4112
4112
|
transactions = [];
|
4113
4113
|
associatedBeats = [];
|
4114
|
-
cachedStartDate = ne(
|
4114
|
+
cachedStartDate = ne($(), 90);
|
4115
4115
|
onAnalyticEvent = fc;
|
4116
4116
|
sortColumn = gn.DATE;
|
4117
4117
|
sortDirection = Ga.DESC;
|
@@ -4164,7 +4164,7 @@ class Ic {
|
|
4164
4164
|
};
|
4165
4165
|
addTransaction = async (e) => {
|
4166
4166
|
const n = await this.api.addTransaction(e);
|
4167
|
-
n &&
|
4167
|
+
n && nA(
|
4168
4168
|
() => this.transactions = this.augmentTransactions([n, ...this.transactions])
|
4169
4169
|
);
|
4170
4170
|
};
|
@@ -4176,19 +4176,19 @@ class Ic {
|
|
4176
4176
|
);
|
4177
4177
|
loadAssociatedBeats = async (e) => {
|
4178
4178
|
const n = e ? Ln(e, { representation: "date" }) : void 0, r = await this.beatApi.getBeatsWithAssociatedTransaction(n);
|
4179
|
-
|
4179
|
+
nA(() => this.associatedBeats = r);
|
4180
4180
|
};
|
4181
4181
|
loadTags = async () => {
|
4182
4182
|
const e = await this.api.getTags();
|
4183
|
-
|
4183
|
+
nA(() => this.tags = e);
|
4184
4184
|
};
|
4185
4185
|
loadTaggings = async () => {
|
4186
4186
|
const e = await this.api.getTaggings();
|
4187
|
-
|
4187
|
+
nA(() => this.taggings = e);
|
4188
4188
|
};
|
4189
4189
|
loadTransactionRules = async () => {
|
4190
4190
|
const e = await this.api.getTransactionRules();
|
4191
|
-
|
4191
|
+
nA(() => this.transactionRules = e);
|
4192
4192
|
};
|
4193
4193
|
loadTransactions = async (e = this.cachedStartDate, n = ze()) => {
|
4194
4194
|
this.setIsLoading(!0), this.transactions = [];
|
@@ -4197,7 +4197,7 @@ class Ic {
|
|
4197
4197
|
gA(e),
|
4198
4198
|
gA(n)
|
4199
4199
|
);
|
4200
|
-
|
4200
|
+
nA(() => {
|
4201
4201
|
this.transactions = this.augmentTransactions(r);
|
4202
4202
|
});
|
4203
4203
|
} catch (r) {
|
@@ -4223,7 +4223,7 @@ class Ic {
|
|
4223
4223
|
const n = this.transactions.findIndex((r) => r.guid === e);
|
4224
4224
|
if (n >= 0) {
|
4225
4225
|
const r = [...this.transactions];
|
4226
|
-
r.splice(n, 1),
|
4226
|
+
r.splice(n, 1), nA(() => this.transactions = r);
|
4227
4227
|
}
|
4228
4228
|
};
|
4229
4229
|
setFilter = (e) => {
|
@@ -4242,7 +4242,7 @@ class Ic {
|
|
4242
4242
|
a.push(s);
|
4243
4243
|
}
|
4244
4244
|
const i = this.transactions.findIndex((o) => o.guid === e.guid);
|
4245
|
-
i >= 0 &&
|
4245
|
+
i >= 0 && nA(
|
4246
4246
|
() => this.transactions = this.augmentTransactions([
|
4247
4247
|
...this.transactions.slice(0, i),
|
4248
4248
|
r,
|
@@ -4260,7 +4260,7 @@ class Ic {
|
|
4260
4260
|
s >= 0 && r.splice(s, 1);
|
4261
4261
|
});
|
4262
4262
|
const a = r.findIndex((o) => o.guid === e), i = r[a];
|
4263
|
-
i.has_been_split = !1, a >= 0 &&
|
4263
|
+
i.has_been_split = !1, a >= 0 && nA(
|
4264
4264
|
() => this.transactions = [
|
4265
4265
|
...r.slice(0, a),
|
4266
4266
|
i,
|
@@ -4284,7 +4284,7 @@ class Ic {
|
|
4284
4284
|
};
|
4285
4285
|
updateTransaction = async (e) => {
|
4286
4286
|
const n = await this.api.updateTransaction(e), r = this.transactions.findIndex((a) => a.guid === e.guid);
|
4287
|
-
r >= 0 &&
|
4287
|
+
r >= 0 && nA(
|
4288
4288
|
() => this.transactions = this.augmentTransactions([
|
4289
4289
|
...this.transactions.slice(0, r),
|
4290
4290
|
n,
|
@@ -4306,7 +4306,7 @@ const UA = () => {
|
|
4306
4306
|
onClick: e ? () => e(A.guid) : void 0,
|
4307
4307
|
children: [
|
4308
4308
|
/* @__PURE__ */ t(PA, { children: A.parent_guid ? /* @__PURE__ */ t(g.Fragment, {}) : /* @__PURE__ */ t(
|
4309
|
-
|
4309
|
+
xe,
|
4310
4310
|
{
|
4311
4311
|
categoryGuid: A.top_level_category_guid || "",
|
4312
4312
|
merchantGuid: A.merchant_guid || ""
|
@@ -4318,9 +4318,9 @@ const UA = () => {
|
|
4318
4318
|
disableTypography: !0,
|
4319
4319
|
secondary: /* @__PURE__ */ d(w, { direction: "row", justifyContent: "space-between", children: [
|
4320
4320
|
/* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 4, children: [
|
4321
|
-
A.is_flagged && /* @__PURE__ */ t(
|
4322
|
-
A.is_hidden && /* @__PURE__ */ t(
|
4323
|
-
A.has_been_split && /* @__PURE__ */ t(
|
4321
|
+
A.is_flagged && /* @__PURE__ */ t(N, { fill: !0, name: "flag", size: 16, sx: { color: "warning.dark" } }),
|
4322
|
+
A.is_hidden && /* @__PURE__ */ t(N, { name: "visibility_off", size: 16 }),
|
4323
|
+
A.has_been_split && /* @__PURE__ */ t(N, { name: "call_split", size: 16 }),
|
4324
4324
|
/* @__PURE__ */ t(y, { variant: "XSmall", children: A.has_been_split ? r.split_transaction_category_label : A.category })
|
4325
4325
|
] }),
|
4326
4326
|
o && a && /* @__PURE__ */ t(y, { bold: !0, color: "action.active", variant: "XSmall", children: o.short_title })
|
@@ -4359,15 +4359,15 @@ const UA = () => {
|
|
4359
4359
|
}, Gn = (A) => {
|
4360
4360
|
const e = dt(A);
|
4361
4361
|
let n = dn(A, e);
|
4362
|
-
for (; hA(n,
|
4362
|
+
for (; hA(n, $()); )
|
4363
4363
|
n = Fe(n, 1);
|
4364
4364
|
return n;
|
4365
4365
|
}, Pc = (A) => {
|
4366
4366
|
const e = Gn(A);
|
4367
4367
|
return Fe(e, 1);
|
4368
4368
|
}, xr = (A) => {
|
4369
|
-
let e = un(
|
4370
|
-
for (; hA(e,
|
4369
|
+
let e = un($(), A.getDate());
|
4370
|
+
for (; hA(e, $()); )
|
4371
4371
|
e = YA(e, 1);
|
4372
4372
|
return e;
|
4373
4373
|
}, Nc = (A) => {
|
@@ -4375,7 +4375,7 @@ const UA = () => {
|
|
4375
4375
|
return YA(e, 1);
|
4376
4376
|
}, Qa = (A) => {
|
4377
4377
|
let e = Ne(A, 1);
|
4378
|
-
for (; hA(e,
|
4378
|
+
for (; hA(e, $()); )
|
4379
4379
|
e = Ne(e, 1);
|
4380
4380
|
return e;
|
4381
4381
|
}, Mc = (A) => {
|
@@ -4384,17 +4384,17 @@ const UA = () => {
|
|
4384
4384
|
}, Rc = (A) => ct(A, 1), st = (A) => {
|
4385
4385
|
const e = NA(A);
|
4386
4386
|
return new Date(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate());
|
4387
|
-
}, jt = (A) =>
|
4387
|
+
}, jt = (A) => J(NA(A), U.DAY_OF_WEEK_MONTH_DAY), Pr = 65, Nr = 34, Hc = ({
|
4388
4388
|
bgcolor: A,
|
4389
4389
|
height: e = "calc(100dvh - 36px)",
|
4390
|
-
loader: n = /* @__PURE__ */ t(
|
4390
|
+
loader: n = /* @__PURE__ */ t(Ee, { label: "Loading", size: 40 }),
|
4391
4391
|
onClick: r,
|
4392
4392
|
showInsights: a = !1,
|
4393
4393
|
showLoader: i = !1,
|
4394
4394
|
width: o = "100%",
|
4395
4395
|
zeroState: s = /* @__PURE__ */ t(Oc, {})
|
4396
4396
|
}) => {
|
4397
|
-
const { isLoading: c, sortedTransactions: u } = cA(), { setShowInsights: l, toggleSplit: h } = UA(), { onEvent: C } =
|
4397
|
+
const { isLoading: c, sortedTransactions: u } = cA(), { setShowInsights: l, toggleSplit: h } = UA(), { onEvent: C } = V(), f = (E) => {
|
4398
4398
|
const T = u.find((S) => S.guid === E);
|
4399
4399
|
if (T?.has_been_split) {
|
4400
4400
|
h(T.guid);
|
@@ -4470,13 +4470,13 @@ const UA = () => {
|
|
4470
4470
|
onMouseLeave: () => r(!1),
|
4471
4471
|
width: "100%",
|
4472
4472
|
children: [
|
4473
|
-
A.row.has_been_split && /* @__PURE__ */ t(
|
4473
|
+
A.row.has_been_split && /* @__PURE__ */ t(N, { name: "call_split", size: 16 }),
|
4474
4474
|
/* @__PURE__ */ t(y, { tabIndex: A.tabIndex, variant: "Small", children: A.row.has_been_split ? e.split_transaction_category_label : A.row.category }),
|
4475
|
-
!A.row.has_been_split && n && /* @__PURE__ */ t(
|
4475
|
+
!A.row.has_been_split && n && /* @__PURE__ */ t(N, { name: "edit", sx: { color: "action.active" } })
|
4476
4476
|
]
|
4477
4477
|
}
|
4478
4478
|
);
|
4479
|
-
}, Bc = I(Kc), _c = (A) => /* @__PURE__ */ t(y, { tabIndex: A.tabIndex, variant: "Small", children:
|
4479
|
+
}, Bc = I(Kc), _c = (A) => /* @__PURE__ */ t(y, { tabIndex: A.tabIndex, variant: "Small", children: J(NA(A.row.date), U.MONTH_DAY) }), kc = (A) => {
|
4480
4480
|
const e = Ke(), { transactions: n } = b(), { is_flagged: r, is_hidden: a, has_been_viewed: i, parent_guid: o } = A.row, c = !i && !!!o;
|
4481
4481
|
return /* @__PURE__ */ d(
|
4482
4482
|
D,
|
@@ -4484,8 +4484,8 @@ const UA = () => {
|
|
4484
4484
|
"aria-label": a ? n.is_hidden : n.is_flagged,
|
4485
4485
|
tabIndex: A.tabIndex,
|
4486
4486
|
children: [
|
4487
|
-
r && /* @__PURE__ */ t(
|
4488
|
-
!r && a && /* @__PURE__ */ t(
|
4487
|
+
r && /* @__PURE__ */ t(N, { fill: !0, name: "flag", size: 16, sx: { color: "warning.dark" } }),
|
4488
|
+
!r && a && /* @__PURE__ */ t(N, { name: "visibility_off", size: 16 }),
|
4489
4489
|
c && /* @__PURE__ */ t(
|
4490
4490
|
"svg",
|
4491
4491
|
{
|
@@ -4506,7 +4506,7 @@ const UA = () => {
|
|
4506
4506
|
);
|
4507
4507
|
}, Gc = I(kc), tt = (A) => /* @__PURE__ */ t(y, { fontWeight: 600, variant: "Small", children: A.colDef.headerName }), Xc = (A) => /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
4508
4508
|
/* @__PURE__ */ t(
|
4509
|
-
|
4509
|
+
xe,
|
4510
4510
|
{
|
4511
4511
|
categoryGuid: A.row.top_level_category_guid || "",
|
4512
4512
|
merchantGuid: A.row.merchant_guid || ""
|
@@ -4652,7 +4652,7 @@ const jc = ({
|
|
4652
4652
|
c(!1), n(i);
|
4653
4653
|
},
|
4654
4654
|
children: /* @__PURE__ */ t(ha, { children: h ? /* @__PURE__ */ t(y, { children: l }) : /* @__PURE__ */ t(
|
4655
|
-
|
4655
|
+
be,
|
4656
4656
|
{
|
4657
4657
|
"aria-label": a === "edit" ? s.edit_subcategory_aria : s.add_subcategory_aria,
|
4658
4658
|
name: "modify-subcategory",
|
@@ -4665,14 +4665,14 @@ const jc = ({
|
|
4665
4665
|
}
|
4666
4666
|
);
|
4667
4667
|
}, Xn = I(jc), Uc = ({ parentCategory: A }) => {
|
4668
|
-
const [e, n] = g.useState(!1), { addCategory: r } = xA(), { categories: a } = b(), { onEvent: i } =
|
4668
|
+
const [e, n] = g.useState(!1), { addCategory: r } = xA(), { categories: a } = b(), { onEvent: i } = V(), { setShouldDisableDrawerScroll: o } = _e(), s = async (l) => {
|
4669
4669
|
await r(l.trim(), A.guid), i(Ae.ON_SUBCATEGORY_ADDED), n(!1);
|
4670
4670
|
}, c = async () => {
|
4671
4671
|
i(Ae.ON_SUBCATEGORY_ADD_CLICK), o(!0), n(!0);
|
4672
4672
|
}, u = () => {
|
4673
4673
|
n(!1), i(Ae.ON_SUBCATEGORY_ADD_CANCEL_CLICK);
|
4674
4674
|
};
|
4675
|
-
return /* @__PURE__ */ d(
|
4675
|
+
return /* @__PURE__ */ d(Z, { disableGutters: !0, disablePadding: !0, children: [
|
4676
4676
|
/* @__PURE__ */ t(dA, { onClick: c, sx: { ml: 60 }, children: /* @__PURE__ */ t(
|
4677
4677
|
lA,
|
4678
4678
|
{
|
@@ -4695,7 +4695,7 @@ const jc = ({
|
|
4695
4695
|
subCategory: e,
|
4696
4696
|
showRename: n
|
4697
4697
|
}) => {
|
4698
|
-
const { updateCategory: r } = xA(), { onEvent: a } =
|
4698
|
+
const { updateCategory: r } = xA(), { onEvent: a } = V(), i = async (s) => {
|
4699
4699
|
await r({ ...e, name: s }), a(Ae.ON_SUBCATEGORY_SAVED), A(!1);
|
4700
4700
|
}, o = () => {
|
4701
4701
|
A(!1), a(Ae.ON_SUBCATEGORY_EDIT_CANCEL_CLICK);
|
@@ -4716,7 +4716,7 @@ const jc = ({
|
|
4716
4716
|
setShowDelete: n,
|
4717
4717
|
subCategory: r
|
4718
4718
|
}) => {
|
4719
|
-
const { onEvent: a } =
|
4719
|
+
const { onEvent: a } = V(), { removeCategory: i } = xA(), o = () => {
|
4720
4720
|
n(!1), a(Ae.ON_SUBCATEGORY_DELETE_CLICK);
|
4721
4721
|
}, s = async () => {
|
4722
4722
|
a(Ae.ON_SUBCATEGORY_DELETED), await i(r.guid), n(!1);
|
@@ -4740,9 +4740,9 @@ const jc = ({
|
|
4740
4740
|
showSelected: o,
|
4741
4741
|
unselectable: s,
|
4742
4742
|
unselectableText: c
|
4743
|
-
} = _e(), { categories: u } = b(), { onEvent: l } =
|
4743
|
+
} = _e(), { categories: u } = b(), { onEvent: l } = V(), [h, C] = g.useState(!1), [f, v] = g.useState(!1), p = !!e.revision, E = e.guid === r, T = !s.some((L) => L === e.guid);
|
4744
4744
|
return /* @__PURE__ */ d(
|
4745
|
-
|
4745
|
+
Z,
|
4746
4746
|
{
|
4747
4747
|
className: "mx-cat-subcategory-row",
|
4748
4748
|
disableGutters: !0,
|
@@ -4841,12 +4841,12 @@ const jc = ({
|
|
4841
4841
|
}
|
4842
4842
|
);
|
4843
4843
|
}, tl = I(el), nl = ({ category: A, subCategories: e }) => {
|
4844
|
-
const { expandedGuid: n, searchValue: r, setExpandedGuid: a } = _e(), { onEvent: i } =
|
4844
|
+
const { expandedGuid: n, searchValue: r, setExpandedGuid: a } = _e(), { onEvent: i } = V(), o = A.guid === n, s = () => {
|
4845
4845
|
const c = A.guid !== n ? A.guid : null;
|
4846
4846
|
a(c), i(c ? Ae.ON_CATEGORY_EXPANDED : Ae.ON_CATEGORY_COLLAPSED);
|
4847
4847
|
};
|
4848
4848
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
4849
|
-
/* @__PURE__ */ t(
|
4849
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
4850
4850
|
dA,
|
4851
4851
|
{
|
4852
4852
|
"aria-controls": `subcategories-${A.guid}`,
|
@@ -4855,7 +4855,7 @@ const jc = ({
|
|
4855
4855
|
id: `category-${A.guid}`,
|
4856
4856
|
onClick: s,
|
4857
4857
|
children: [
|
4858
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
4858
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(Oe, { categoryGuid: A.guid }) }),
|
4859
4859
|
/* @__PURE__ */ t(
|
4860
4860
|
lA,
|
4861
4861
|
{
|
@@ -5017,7 +5017,7 @@ class ul {
|
|
5017
5017
|
return {
|
5018
5018
|
...e,
|
5019
5019
|
average: c,
|
5020
|
-
color: Ue[
|
5020
|
+
color: Ue[Te[e.parent_guid || e.guid]],
|
5021
5021
|
generalHistory: s,
|
5022
5022
|
history: o,
|
5023
5023
|
icon: Da[e.parent_guid || e.guid],
|
@@ -5034,10 +5034,10 @@ class ul {
|
|
5034
5034
|
return o[c] === void 0 && (o[c] = []), o[c].push(s), o;
|
5035
5035
|
}, {}), i = [];
|
5036
5036
|
for (let o = 0; o < r; o++) {
|
5037
|
-
const s =
|
5037
|
+
const s = fe(n, o), c = Number(JA(s, "yyyyMM"));
|
5038
5038
|
i.push({
|
5039
5039
|
timestamp: gA(s),
|
5040
|
-
label:
|
5040
|
+
label: J(s, U.MONTH_YEAR),
|
5041
5041
|
total: a[c] !== void 0 ? a[c].reduce((u, l) => u + l.total, 0) : 0
|
5042
5042
|
});
|
5043
5043
|
}
|
@@ -5046,7 +5046,7 @@ class ul {
|
|
5046
5046
|
loadCategories = async () => {
|
5047
5047
|
try {
|
5048
5048
|
const e = await this.api.getCategories(), { default_categories: n } = this.globalStore.copyStore.copy.categories;
|
5049
|
-
|
5049
|
+
nA(() => {
|
5050
5050
|
this.categories = e.map((r) => ({
|
5051
5051
|
...r,
|
5052
5052
|
name: n[r.guid] ? n[r.guid].replace(/&/g, "&") : r.name
|
@@ -5064,7 +5064,7 @@ class ul {
|
|
5064
5064
|
gA(r),
|
5065
5065
|
e
|
5066
5066
|
);
|
5067
|
-
|
5067
|
+
nA(() => {
|
5068
5068
|
this.dateRangeCategoryTotals = a, this.detailedCategories = this.augmentCategories(), this.setIsLoadingCategoryTotals(!1);
|
5069
5069
|
});
|
5070
5070
|
} catch (a) {
|
@@ -5072,10 +5072,10 @@ class ul {
|
|
5072
5072
|
}
|
5073
5073
|
};
|
5074
5074
|
loadMonthlyCategoryTotals = async (e = this.globalStore.accountStore.accounts, n, r) => {
|
5075
|
-
const a = gA(EA(n ??
|
5075
|
+
const a = gA(EA(n ?? fe(/* @__PURE__ */ new Date(), 5))), i = gA(DA(r ?? /* @__PURE__ */ new Date()));
|
5076
5076
|
try {
|
5077
5077
|
const o = await this.api.getMonthlyCategoryTotals(a, i, e);
|
5078
|
-
|
5078
|
+
nA(() => {
|
5079
5079
|
this.monthlyCategoryTotals = o, this.detailedCategories = this.augmentCategories();
|
5080
5080
|
});
|
5081
5081
|
} catch (o) {
|
@@ -5101,7 +5101,7 @@ class ul {
|
|
5101
5101
|
};
|
5102
5102
|
}
|
5103
5103
|
const Fa = ({ transaction: A }) => {
|
5104
|
-
const { addOrUpdateTransactionRule: e, updateTransaction: n } = cA(), { categories: r } = xA(), { onEvent: a } =
|
5104
|
+
const { addOrUpdateTransactionRule: e, updateTransaction: n } = cA(), { categories: r } = xA(), { onEvent: a } = V(), { setShouldDisableDrawerScroll: i, updateManualTransaction: o } = UA(), { transactions: s } = b(), [c, u] = g.useState(!1), [l, h] = g.useState(""), C = async (E) => {
|
5105
5105
|
await n({ ...A, category_guid: l }), E && await e(l, A), h(""), a(Q.TRANSACTION_DETAILS_CLICK_CATEGORY, {
|
5106
5106
|
transaction_guid: A.guid
|
5107
5107
|
});
|
@@ -5124,15 +5124,15 @@ const Fa = ({ transaction: A }) => {
|
|
5124
5124
|
[l]
|
5125
5125
|
);
|
5126
5126
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
5127
|
-
/* @__PURE__ */ t(
|
5127
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5128
5128
|
dA,
|
5129
5129
|
{
|
5130
5130
|
onClick: () => {
|
5131
5131
|
a(R.ON_TRANSACTION_CATEGORY_CLICK), u(!0);
|
5132
5132
|
},
|
5133
5133
|
children: [
|
5134
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5135
|
-
|
5134
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
|
5135
|
+
Oe,
|
5136
5136
|
{
|
5137
5137
|
categoryGuid: A.top_level_category_guid,
|
5138
5138
|
size: 24,
|
@@ -5148,7 +5148,7 @@ const Fa = ({ transaction: A }) => {
|
|
5148
5148
|
secondary: /* @__PURE__ */ t(y, { bold: !0, variant: "Body", children: A.category ?? s.actions_select_a_category })
|
5149
5149
|
}
|
5150
5150
|
),
|
5151
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
5151
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5152
5152
|
]
|
5153
5153
|
}
|
5154
5154
|
) }),
|
@@ -5186,7 +5186,7 @@ const Fa = ({ transaction: A }) => {
|
|
5186
5186
|
)
|
5187
5187
|
] });
|
5188
5188
|
}, ja = ({ transaction: A }) => {
|
5189
|
-
const e = yA(), { onEvent: n } =
|
5189
|
+
const e = yA(), { onEvent: n } = V(), { updateTransaction: r } = cA(), { updateManualTransaction: a } = UA(), { common: i, transactions: o } = b(), [s, c] = g.useState(!1), [u, l] = g.useState(A.date), h = (f) => {
|
5190
5190
|
l(gA(f));
|
5191
5191
|
}, C = async () => {
|
5192
5192
|
if (A.is_manual && !A.guid) {
|
@@ -5196,23 +5196,23 @@ const Fa = ({ transaction: A }) => {
|
|
5196
5196
|
await r({ ...A, date: u }), n(Q.TRANSACTION_DETAILS_CLICK_DATE, { transaction_guid: A.guid }), c(!1);
|
5197
5197
|
};
|
5198
5198
|
return /* @__PURE__ */ d(D, { className: "mx-txn-date-action", children: [
|
5199
|
-
/* @__PURE__ */ t(
|
5199
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5200
5200
|
dA,
|
5201
5201
|
{
|
5202
5202
|
onClick: () => {
|
5203
5203
|
n(R.ON_TRANSACTION_DATE_CLICK), c(!0);
|
5204
5204
|
},
|
5205
5205
|
children: [
|
5206
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5206
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: "calendar_month", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5207
5207
|
/* @__PURE__ */ t(
|
5208
5208
|
lA,
|
5209
5209
|
{
|
5210
5210
|
primary: o.date_title,
|
5211
5211
|
primaryTypographyProps: { variant: "XSmall" },
|
5212
|
-
secondary: /* @__PURE__ */ t(y, { bold: !0, variant: "Body", children:
|
5212
|
+
secondary: /* @__PURE__ */ t(y, { bold: !0, variant: "Body", children: J(NA(A.date), U.YEAR_MONTH_DAY) })
|
5213
5213
|
}
|
5214
5214
|
),
|
5215
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
5215
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5216
5216
|
]
|
5217
5217
|
}
|
5218
5218
|
) }),
|
@@ -5243,18 +5243,18 @@ const Fa = ({ transaction: A }) => {
|
|
5243
5243
|
)
|
5244
5244
|
] });
|
5245
5245
|
}, hl = ({ transaction: A }) => {
|
5246
|
-
const { onEvent: e } =
|
5246
|
+
const { onEvent: e } = V(), { removeTransaction: n } = cA(), { setShouldDisableDrawerScroll: r } = UA(), { common: a, transactions: i } = b(), [o, s] = g.useState(!1), c = async () => {
|
5247
5247
|
await n(A.guid), e(R.ON_TRANSACTION_DELETE_DELETED);
|
5248
5248
|
};
|
5249
5249
|
return /* @__PURE__ */ d(D, { className: "mx-txn-delete", children: [
|
5250
|
-
A && /* @__PURE__ */ t(
|
5250
|
+
A && /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5251
5251
|
dA,
|
5252
5252
|
{
|
5253
5253
|
onClick: () => {
|
5254
5254
|
e(R.ON_TRANSACTION_DELETE_CLICK), r(!0), s(!0);
|
5255
5255
|
},
|
5256
5256
|
children: [
|
5257
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5257
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { variant: "rounded", children: /* @__PURE__ */ t(ut, { color: "secondary", fontSize: "small" }) }) }),
|
5258
5258
|
/* @__PURE__ */ t(
|
5259
5259
|
lA,
|
5260
5260
|
{
|
@@ -5283,22 +5283,22 @@ const Fa = ({ transaction: A }) => {
|
|
5283
5283
|
)
|
5284
5284
|
] });
|
5285
5285
|
}, gl = I(hl), Cl = ({ transaction: A }) => {
|
5286
|
-
const { onEvent: e } =
|
5286
|
+
const { onEvent: e } = V(), { updateTransaction: n } = cA(), { setShouldDisableDrawerScroll: r } = UA(), { common: a, transactions: i } = b(), [o, s] = g.useState(!1), c = async () => {
|
5287
5287
|
await n({ ...A, merchant_guid: "" }), e(Q.TRANSACTION_DETAILS_CLICK_DELETE_LOGO, {
|
5288
5288
|
transaction_guid: A.guid
|
5289
5289
|
});
|
5290
5290
|
};
|
5291
5291
|
return /* @__PURE__ */ d(D, { className: "mx-txn-delete-logo", children: [
|
5292
|
-
A && /* @__PURE__ */ t(
|
5292
|
+
A && /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5293
5293
|
dA,
|
5294
5294
|
{
|
5295
5295
|
onClick: () => {
|
5296
5296
|
e(R.ON_TRANSACTION_DELETE_LOGO_CLICK), s(!0);
|
5297
5297
|
},
|
5298
5298
|
children: [
|
5299
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5299
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: "delete", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5300
5300
|
/* @__PURE__ */ t(lA, { primary: i.merchant_logo_title, secondary: i.merchant_logo_desc }),
|
5301
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
5301
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5302
5302
|
]
|
5303
5303
|
}
|
5304
5304
|
) }),
|
@@ -5323,13 +5323,13 @@ const Fa = ({ transaction: A }) => {
|
|
5323
5323
|
)
|
5324
5324
|
] });
|
5325
5325
|
}, fl = I(Cl), vl = ({ transaction: A }) => {
|
5326
|
-
const { onEvent: e } =
|
5326
|
+
const { onEvent: e } = V(), { updateTransaction: n } = cA(), { setShouldDisableDrawerScroll: r } = UA(), { common: a, transactions: i } = b(), [o, s] = g.useState(!1), c = A.is_hidden, u = async () => {
|
5327
5327
|
await n({ ...A, is_hidden: !A.is_hidden }), e(
|
5328
5328
|
c ? R.ON_TRANSACTION_UNHIDDEN : R.ON_TRANSACTION_HIDDEN
|
5329
5329
|
);
|
5330
5330
|
};
|
5331
5331
|
return /* @__PURE__ */ d(D, { className: "mx-txn-hide-transaction", children: [
|
5332
|
-
A && /* @__PURE__ */ t(
|
5332
|
+
A && /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5333
5333
|
dA,
|
5334
5334
|
{
|
5335
5335
|
"aria-checked": c,
|
@@ -5345,14 +5345,14 @@ const Fa = ({ transaction: A }) => {
|
|
5345
5345
|
},
|
5346
5346
|
role: "switch",
|
5347
5347
|
children: [
|
5348
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5349
|
-
|
5348
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: c ? /* @__PURE__ */ t(
|
5349
|
+
N,
|
5350
5350
|
{
|
5351
5351
|
name: "visibilityOff",
|
5352
5352
|
sx: { color: "text.primary" },
|
5353
5353
|
weight: qA.Dark
|
5354
5354
|
}
|
5355
|
-
) : /* @__PURE__ */ t(
|
5355
|
+
) : /* @__PURE__ */ t(N, { name: "visibility", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5356
5356
|
/* @__PURE__ */ t(
|
5357
5357
|
lA,
|
5358
5358
|
{
|
@@ -5396,7 +5396,7 @@ const Fa = ({ transaction: A }) => {
|
|
5396
5396
|
const { amount: e, description: n, isIncome: r, merchant_guid: a, payee: i, top_level_category_guid: o } = A;
|
5397
5397
|
return /* @__PURE__ */ d(w, { className: "mx-txn-amount-header", direction: "row", gap: 12, px: 16, py: 24, children: [
|
5398
5398
|
/* @__PURE__ */ t(
|
5399
|
-
|
5399
|
+
xe,
|
5400
5400
|
{
|
5401
5401
|
categoryGuid: o || "",
|
5402
5402
|
merchantGuid: a || "",
|
@@ -5405,14 +5405,14 @@ const Fa = ({ transaction: A }) => {
|
|
5405
5405
|
),
|
5406
5406
|
/* @__PURE__ */ d(w, { overflow: "hidden'", children: [
|
5407
5407
|
/* @__PURE__ */ t(y, { bold: !0, mb: 4, truncate: !0, variant: "Body", children: n || i }),
|
5408
|
-
/* @__PURE__ */ d(
|
5408
|
+
/* @__PURE__ */ d(ve, { color: r ? "success.main" : "text.primary", truncate: !0, children: [
|
5409
5409
|
r ? "+" : "",
|
5410
5410
|
F(e, "0,0.00")
|
5411
5411
|
] })
|
5412
5412
|
] })
|
5413
5413
|
] });
|
5414
5414
|
}, pl = ({ transaction: A }) => {
|
5415
|
-
const { onEvent: e } =
|
5415
|
+
const { onEvent: e } = V(), { updateTransaction: n } = cA(), { updateManualTransaction: r } = UA(), { common: a, transactions: i } = b(), [o, s] = g.useState(!1), [c, u] = g.useState("");
|
5416
5416
|
g.useEffect(() => {
|
5417
5417
|
o && u(A.memo ? A.memo : "");
|
5418
5418
|
}, [o]);
|
@@ -5424,14 +5424,14 @@ const Fa = ({ transaction: A }) => {
|
|
5424
5424
|
await n({ ...A, memo: c }), e(Q.TRANSACTION_DETAILS_CLICK_MEMO, { transaction_guid: A.guid }), s(!1);
|
5425
5425
|
};
|
5426
5426
|
return /* @__PURE__ */ d("div", { className: "mx-txn-memo-action", children: [
|
5427
|
-
/* @__PURE__ */ t(
|
5427
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5428
5428
|
dA,
|
5429
5429
|
{
|
5430
5430
|
onClick: () => {
|
5431
5431
|
e(R.ON_TRANSACTION_MEMO_CLICK), s(!0);
|
5432
5432
|
},
|
5433
5433
|
children: [
|
5434
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5434
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: "article", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5435
5435
|
/* @__PURE__ */ t(
|
5436
5436
|
lA,
|
5437
5437
|
{
|
@@ -5440,7 +5440,7 @@ const Fa = ({ transaction: A }) => {
|
|
5440
5440
|
secondary: /* @__PURE__ */ t(y, { bold: !0, variant: "Body", children: A.memo ? A.memo : i.memo_desc })
|
5441
5441
|
}
|
5442
5442
|
),
|
5443
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
5443
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5444
5444
|
]
|
5445
5445
|
}
|
5446
5446
|
) }),
|
@@ -5479,7 +5479,7 @@ const Fa = ({ transaction: A }) => {
|
|
5479
5479
|
onUpdateAmount: r,
|
5480
5480
|
split: a
|
5481
5481
|
}) => {
|
5482
|
-
const i = yA(), { onEvent: o } =
|
5482
|
+
const i = yA(), { onEvent: o } = V(), { transactions: s } = b(), [c, u] = g.useState(`${a.amount}`), [l, h] = g.useState(!1), C = A === 0, f = (v) => {
|
5483
5483
|
isNaN(Number(v)) || (u(v), r(A, Number(v)));
|
5484
5484
|
};
|
5485
5485
|
return /* @__PURE__ */ d(
|
@@ -5497,7 +5497,7 @@ const Fa = ({ transaction: A }) => {
|
|
5497
5497
|
{
|
5498
5498
|
endIcon: /* @__PURE__ */ t(kt, {}),
|
5499
5499
|
onClick: () => h(!0),
|
5500
|
-
startIcon: /* @__PURE__ */ t(
|
5500
|
+
startIcon: /* @__PURE__ */ t(Oe, { categoryGuid: a.top_level_category_guid }),
|
5501
5501
|
sx: { px: i.Spacing.Small, py: i.Spacing.XSmall },
|
5502
5502
|
children: a.category
|
5503
5503
|
}
|
@@ -5581,7 +5581,7 @@ const Fa = ({ transaction: A }) => {
|
|
5581
5581
|
splits: a,
|
5582
5582
|
transaction: i
|
5583
5583
|
}) => {
|
5584
|
-
const o = yA(), { transactions: s } = b(), { onEvent: c } =
|
5584
|
+
const o = yA(), { transactions: s } = b(), { onEvent: c } = V(), [u, l] = g.useState("");
|
5585
5585
|
return g.useEffect(() => {
|
5586
5586
|
l(a.length <= 1 ? s.split_transaction_errors_min_splits : ""), l(
|
5587
5587
|
a[0].amount < 0 ? z(
|
@@ -5626,7 +5626,7 @@ const Fa = ({ transaction: A }) => {
|
|
5626
5626
|
) })
|
5627
5627
|
] });
|
5628
5628
|
}, Ll = I(wl), Tl = ({ transaction: A }) => {
|
5629
|
-
const { onEvent: e } =
|
5629
|
+
const { onEvent: e } = V(), { splitTransaction: n, unSplitTransaction: r } = cA(), { common: a, transactions: i } = b(), { setShouldDisableDrawerScroll: o } = UA(), { categories: s } = xA(), c = {
|
5630
5630
|
...A,
|
5631
5631
|
amount: A.amount - 1,
|
5632
5632
|
guid: "",
|
@@ -5646,23 +5646,23 @@ const Fa = ({ transaction: A }) => {
|
|
5646
5646
|
_.push({ ...u }), _[0].amount -= 1, p(_);
|
5647
5647
|
}, T = (_) => {
|
5648
5648
|
if (_ > 0) {
|
5649
|
-
const
|
5650
|
-
|
5649
|
+
const G = v[_], k = [...v];
|
5650
|
+
k.splice(_, 1), k[0].amount += G.amount, p(k);
|
5651
5651
|
}
|
5652
|
-
}, S = (_,
|
5653
|
-
const
|
5654
|
-
|
5655
|
-
(
|
5652
|
+
}, S = (_, G) => {
|
5653
|
+
const k = [...v];
|
5654
|
+
k[_].amount = G, k[0].amount = A.amount - k.reduce(
|
5655
|
+
(P, W, rA) => P + (rA !== 0 ? W.amount : 0),
|
5656
5656
|
0
|
5657
|
-
), p(
|
5658
|
-
}, L = (_,
|
5659
|
-
const
|
5660
|
-
|
5661
|
-
...
|
5662
|
-
category_guid:
|
5663
|
-
category:
|
5664
|
-
top_level_category_guid:
|
5665
|
-
}, p(
|
5657
|
+
), p(k);
|
5658
|
+
}, L = (_, G) => {
|
5659
|
+
const k = [...v], P = s.find((W) => W.guid === G);
|
5660
|
+
P && (k[_] = {
|
5661
|
+
...k[_],
|
5662
|
+
category_guid: G,
|
5663
|
+
category: P.name,
|
5664
|
+
top_level_category_guid: P.parent_guid || G
|
5665
|
+
}, p(k));
|
5666
5666
|
}, O = () => {
|
5667
5667
|
if (A.parent_guid || A.has_been_split) {
|
5668
5668
|
f(!0);
|
@@ -5671,7 +5671,7 @@ const Fa = ({ transaction: A }) => {
|
|
5671
5671
|
p([{ ...c }, { ...u }]), e(Q.TRANSACTION_DETAILS_CLICK_SPLIT, {
|
5672
5672
|
transaction_guid: A.guid
|
5673
5673
|
}), h(!0);
|
5674
|
-
},
|
5674
|
+
}, M = async () => {
|
5675
5675
|
e(R.ON_TRANSACTION_SPLIT_SAVE_CLICK), await n({ ...A, has_been_split: !0 }, v), h(!1);
|
5676
5676
|
}, x = async () => {
|
5677
5677
|
e(R.ON_TRANSACTION_SPLIT_CANCEL_CLICK), p([{ ...c }, { ...u }]), h(!1);
|
@@ -5682,12 +5682,12 @@ const Fa = ({ transaction: A }) => {
|
|
5682
5682
|
const _ = A.parent_guid ?? A.guid;
|
5683
5683
|
await r(_);
|
5684
5684
|
}, B = g.useMemo(() => {
|
5685
|
-
const _ = v.some((
|
5686
|
-
return _ ||
|
5685
|
+
const _ = v.some((k) => !k.category_guid), G = v.some((k) => k.amount <= 0);
|
5686
|
+
return _ || G;
|
5687
5687
|
}, [v]);
|
5688
5688
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
5689
|
-
A && /* @__PURE__ */ t(
|
5690
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5689
|
+
A && /* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(dA, { onClick: O, children: [
|
5690
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: "call_split", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5691
5691
|
/* @__PURE__ */ t(
|
5692
5692
|
lA,
|
5693
5693
|
{
|
@@ -5695,7 +5695,7 @@ const Fa = ({ transaction: A }) => {
|
|
5695
5695
|
secondary: A.has_been_split || A.parent_guid ? i.split_transaction_unsplit_subtitle : i.split_transaction_desc
|
5696
5696
|
}
|
5697
5697
|
),
|
5698
|
-
/* @__PURE__ */ t(re, { children: A.has_been_split || A.parent_guid ? /* @__PURE__ */ t(
|
5698
|
+
/* @__PURE__ */ t(re, { children: A.has_been_split || A.parent_guid ? /* @__PURE__ */ t(N, { name: "delete", weight: qA.Dark }) : /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5699
5699
|
] }) }),
|
5700
5700
|
/* @__PURE__ */ d(
|
5701
5701
|
uA,
|
@@ -5704,7 +5704,7 @@ const Fa = ({ transaction: A }) => {
|
|
5704
5704
|
isOpen: l,
|
5705
5705
|
isPrimaryDisabled: B,
|
5706
5706
|
onClose: x,
|
5707
|
-
onPrimaryAction:
|
5707
|
+
onPrimaryAction: M,
|
5708
5708
|
primaryText: a.save_button,
|
5709
5709
|
secondaryText: a.cancel_button,
|
5710
5710
|
title: i.split_transaction_title,
|
@@ -5746,7 +5746,7 @@ const Fa = ({ transaction: A }) => {
|
|
5746
5746
|
)
|
5747
5747
|
] });
|
5748
5748
|
}, Sl = I(Tl), Il = () => {
|
5749
|
-
const A = CA(), { onEvent: e } =
|
5749
|
+
const A = CA(), { onEvent: e } = V(), { addTag: n } = cA(), { transactions: r } = b(), [a, i] = g.useState(!1), [o, s] = g.useState(""), [c, u] = g.useState(""), l = g.useRef(null);
|
5750
5750
|
g.useEffect(() => {
|
5751
5751
|
a && l?.current?.focus();
|
5752
5752
|
}, [a]);
|
@@ -5793,7 +5793,7 @@ const Fa = ({ transaction: A }) => {
|
|
5793
5793
|
onSecondaryAction: () => i(!1),
|
5794
5794
|
children: [
|
5795
5795
|
/* @__PURE__ */ t(
|
5796
|
-
|
5796
|
+
be,
|
5797
5797
|
{
|
5798
5798
|
"aria-label": r.tags_placeholder,
|
5799
5799
|
name: "add-tag",
|
@@ -5818,7 +5818,7 @@ const Fa = ({ transaction: A }) => {
|
|
5818
5818
|
}
|
5819
5819
|
);
|
5820
5820
|
return /* @__PURE__ */ t(D, { className: "mx-txn-tag-manager-search", px: a.Spacing.Large, py: a.Spacing.Medium, children: /* @__PURE__ */ t(
|
5821
|
-
|
5821
|
+
be,
|
5822
5822
|
{
|
5823
5823
|
InputProps: {
|
5824
5824
|
startAdornment: /* @__PURE__ */ t(bt, { position: "start", children: /* @__PURE__ */ t(Io, { color: "disabled" }) }),
|
@@ -5833,7 +5833,7 @@ const Fa = ({ transaction: A }) => {
|
|
5833
5833
|
}
|
5834
5834
|
) });
|
5835
5835
|
}, Ol = I(Dl), xl = ({ onTagChecked: A, selectedTags: e, tag: n }) => {
|
5836
|
-
const { onEvent: r } =
|
5836
|
+
const { onEvent: r } = V(), { removeTag: a, updateTag: i } = cA(), { common: o, transactions: s } = b(), [c, u] = g.useState(!1), [l, h] = g.useState(!1), [C, f] = g.useState(""), [v, p] = g.useState(""), E = async () => {
|
5837
5837
|
r(R.ON_TRANSACTION_TAGS_TAG_EDIT_SAVED), n && await i({ ...n, name: C }), u(!1);
|
5838
5838
|
}, T = async () => {
|
5839
5839
|
r(R.ON_TRANSACTION_TAGS_TAG_DELETED), await a(n.guid), h(!1);
|
@@ -5847,7 +5847,7 @@ const Fa = ({ transaction: A }) => {
|
|
5847
5847
|
r(R.ON_TRANSACTION_TAGS_TAG_DELETE_CLICK), h(!0);
|
5848
5848
|
};
|
5849
5849
|
return /* @__PURE__ */ d(
|
5850
|
-
|
5850
|
+
Z,
|
5851
5851
|
{
|
5852
5852
|
className: "mx-txn-transaction-manager-row",
|
5853
5853
|
disableGutters: !0,
|
@@ -5895,7 +5895,7 @@ const Fa = ({ transaction: A }) => {
|
|
5895
5895
|
onSecondaryAction: () => u(!1),
|
5896
5896
|
children: [
|
5897
5897
|
/* @__PURE__ */ t(
|
5898
|
-
|
5898
|
+
be,
|
5899
5899
|
{
|
5900
5900
|
"aria-describedby": v ? "update-tag-error" : void 0,
|
5901
5901
|
"aria-label": s.tags_update_the_tag_name,
|
@@ -5945,7 +5945,7 @@ const Fa = ({ transaction: A }) => {
|
|
5945
5945
|
] }, o.guid)) }) })
|
5946
5946
|
] });
|
5947
5947
|
}, Ml = I(Nl), Rl = ({ transaction: A }) => {
|
5948
|
-
const { onEvent: e } =
|
5948
|
+
const { onEvent: e } = V(), { tags: n, updateTaggings: r, updateTransaction: a } = cA(), { common: i, transactions: o } = b(), { updateManualTransaction: s } = UA(), [c, u] = g.useState(!1), [l, h] = g.useState(A.tags);
|
5949
5949
|
g.useEffect(() => {
|
5950
5950
|
h(A.tags);
|
5951
5951
|
}, [c, A]);
|
@@ -5965,14 +5965,14 @@ const Fa = ({ transaction: A }) => {
|
|
5965
5965
|
[n, A]
|
5966
5966
|
);
|
5967
5967
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
5968
|
-
/* @__PURE__ */ t(
|
5968
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(
|
5969
5969
|
dA,
|
5970
5970
|
{
|
5971
5971
|
onClick: () => {
|
5972
5972
|
e(R.ON_TRANSACTION_TAGS_CLICK), u(!0);
|
5973
5973
|
},
|
5974
5974
|
children: [
|
5975
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
5975
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(pe, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(N, { name: "local_offer", sx: { color: "text.primary" }, weight: qA.Dark }) }) }),
|
5976
5976
|
/* @__PURE__ */ t(
|
5977
5977
|
lA,
|
5978
5978
|
{
|
@@ -5981,7 +5981,7 @@ const Fa = ({ transaction: A }) => {
|
|
5981
5981
|
secondary: /* @__PURE__ */ t(y, { bold: !0, variant: "Body", children: A.tags?.length > 0 ? v : o.tags_desc })
|
5982
5982
|
}
|
5983
5983
|
),
|
5984
|
-
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(
|
5984
|
+
/* @__PURE__ */ t(re, { children: /* @__PURE__ */ t(N, { name: "chevron_right", weight: qA.Dark }) })
|
5985
5985
|
]
|
5986
5986
|
}
|
5987
5987
|
) }),
|
@@ -6000,7 +6000,7 @@ const Fa = ({ transaction: A }) => {
|
|
6000
6000
|
)
|
6001
6001
|
] });
|
6002
6002
|
}, Ya = I(Rl), Hl = ({ transaction: A }) => {
|
6003
|
-
const { updateTransaction: e } = cA(), { common: n, transactions: r } = b(), { onEvent: a } =
|
6003
|
+
const { updateTransaction: e } = cA(), { common: n, transactions: r } = b(), { onEvent: a } = V(), [i, o] = g.useState(!1), [s, c] = g.useState(""), u = g.useRef(null);
|
6004
6004
|
g.useEffect(() => {
|
6005
6005
|
i && (c(A.description), u?.current?.focus());
|
6006
6006
|
}, [i]);
|
@@ -6046,12 +6046,12 @@ const Fa = ({ transaction: A }) => {
|
|
6046
6046
|
o(!0), a(R.ON_TRANSACTION_DESCRIPTION_EDIT_CLICK);
|
6047
6047
|
},
|
6048
6048
|
sx: { color: "action.active" },
|
6049
|
-
children: /* @__PURE__ */ t(
|
6049
|
+
children: /* @__PURE__ */ t(N, { name: "create", size: 22 })
|
6050
6050
|
}
|
6051
6051
|
)
|
6052
6052
|
] }) });
|
6053
6053
|
}, zl = I(Hl), ql = ({ transaction: A }) => {
|
6054
|
-
const { updateTransaction: e } = cA(), { transactions: n } = b(), { onEvent: r } =
|
6054
|
+
const { updateTransaction: e } = cA(), { transactions: n } = b(), { onEvent: r } = V(), a = CA(), i = async () => {
|
6055
6055
|
r(Q.TRANSACTION_DETAILS_CLICK_FLAG, { transaction_guid: A.guid }), await e({ ...A, is_flagged: !A.is_flagged });
|
6056
6056
|
};
|
6057
6057
|
return /* @__PURE__ */ t("div", { className: "mx-txn-transaction-flag", children: /* @__PURE__ */ t(
|
@@ -6087,14 +6087,14 @@ const Fa = ({ transaction: A }) => {
|
|
6087
6087
|
topActions: e = hc,
|
6088
6088
|
transaction: n
|
6089
6089
|
}) => {
|
6090
|
-
const r = yA(), a = n?.number && n.number.length > 4, { onEvent: i } =
|
6090
|
+
const r = yA(), a = n?.number && n.number.length > 4, { onEvent: i } = V();
|
6091
6091
|
return g.useEffect(
|
6092
6092
|
() => i(Q.TRANSACTION_DETAILS_VIEW, { transaction_guid: n.guid }),
|
6093
6093
|
[]
|
6094
6094
|
), /* @__PURE__ */ t(D, { className: "mx-txn-transaction-details", width: "100%", children: n && /* @__PURE__ */ d(w, { children: [
|
6095
6095
|
/* @__PURE__ */ d(w, { gap: r.Spacing.Small, p: r.Spacing.Large, children: [
|
6096
6096
|
/* @__PURE__ */ t(oe, { elevation: 2, sx: { borderRadius: r.BorderRadius.Small, width: 64 }, children: /* @__PURE__ */ t(
|
6097
|
-
|
6097
|
+
xe,
|
6098
6098
|
{
|
6099
6099
|
categoryGuid: n.top_level_category_guid || "",
|
6100
6100
|
merchantGuid: n.merchant_guid || "",
|
@@ -6103,7 +6103,7 @@ const Fa = ({ transaction: A }) => {
|
|
6103
6103
|
) }),
|
6104
6104
|
/* @__PURE__ */ t(zl, { transaction: n }),
|
6105
6105
|
/* @__PURE__ */ d(w, { direction: "row", justifyContent: "space-between", children: [
|
6106
|
-
/* @__PURE__ */ d(
|
6106
|
+
/* @__PURE__ */ d(ve, { color: n.isIncome ? "success.main" : "text.primary", children: [
|
6107
6107
|
n.isIncome ? "+" : "",
|
6108
6108
|
F(n.amount, "0,0.00")
|
6109
6109
|
] }),
|
@@ -6170,7 +6170,7 @@ const Fa = ({ transaction: A }) => {
|
|
6170
6170
|
Description: Fl(n),
|
6171
6171
|
"Original Description": n.feed_description,
|
6172
6172
|
Amount: `${n.amount}`,
|
6173
|
-
"Parent Category":
|
6173
|
+
"Parent Category": Te[n.top_level_category_guid || ""],
|
6174
6174
|
Category: n.category,
|
6175
6175
|
Account: n.account,
|
6176
6176
|
Tags: jl(n, e),
|
@@ -6183,7 +6183,7 @@ const Fa = ({ transaction: A }) => {
|
|
6183
6183
|
}, Fl = (A) => {
|
6184
6184
|
let e = A.parent_guid ? "Split: " : "";
|
6185
6185
|
return e += A.is_hidden ? "(Excluded) " : "", e += A.description, e;
|
6186
|
-
}, jl = (A, e) => A.tags.map((n) => e.filter((a) => a.guid === n)[0]?.name ?? "").join(" "), Ul = ({ status: A =
|
6186
|
+
}, jl = (A, e) => A.tags.map((n) => e.filter((a) => a.guid === n)[0]?.name ?? "").join(" "), Ul = ({ status: A = Ie.Loading }) => {
|
6187
6187
|
const { connect: e } = b();
|
6188
6188
|
return /* @__PURE__ */ t(
|
6189
6189
|
D,
|
@@ -6194,7 +6194,7 @@ const Fa = ({ transaction: A }) => {
|
|
6194
6194
|
width: "100%"
|
6195
6195
|
},
|
6196
6196
|
children: /* @__PURE__ */ d(w, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
|
6197
|
-
A ===
|
6197
|
+
A === Ie.Loading && /* @__PURE__ */ t(wn, { color: "primary", size: 48 }),
|
6198
6198
|
/* @__PURE__ */ t(
|
6199
6199
|
y,
|
6200
6200
|
{
|
@@ -6202,14 +6202,14 @@ const Fa = ({ transaction: A }) => {
|
|
6202
6202
|
color: "grey.600",
|
6203
6203
|
marginTop: "16px"
|
6204
6204
|
},
|
6205
|
-
children: A ===
|
6205
|
+
children: A === Ie.Error ? e.oops : e.loading
|
6206
6206
|
}
|
6207
6207
|
)
|
6208
6208
|
] })
|
6209
6209
|
}
|
6210
6210
|
);
|
6211
6211
|
}, Rt = I(Ul);
|
6212
|
-
var
|
6212
|
+
var Ie = /* @__PURE__ */ ((A) => (A.Loading = "loading", A.Error = "error", A))(Ie || {}), kA = /* @__PURE__ */ ((A) => (A.Currency = "currency", A.Date = "date", A.Input = "input", A.Select = "select", A))(kA || {});
|
6213
6213
|
const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
6214
6214
|
loadWidgetProps: A,
|
6215
6215
|
onClose: e,
|
@@ -6249,8 +6249,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6249
6249
|
},
|
6250
6250
|
title: r,
|
6251
6251
|
children: /* @__PURE__ */ d("div", { id: Mr, children: [
|
6252
|
-
l && /* @__PURE__ */ t(Rt, { status:
|
6253
|
-
c && /* @__PURE__ */ t(Rt, { status:
|
6252
|
+
l && /* @__PURE__ */ t(Rt, { status: Ie.Error }),
|
6253
|
+
c && /* @__PURE__ */ t(Rt, { status: Ie.Loading })
|
6254
6254
|
] })
|
6255
6255
|
}
|
6256
6256
|
);
|
@@ -6321,7 +6321,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6321
6321
|
}
|
6322
6322
|
),
|
6323
6323
|
/* @__PURE__ */ t(
|
6324
|
-
|
6324
|
+
be,
|
6325
6325
|
{
|
6326
6326
|
label: n.payee_title,
|
6327
6327
|
name: "payee",
|
@@ -6331,7 +6331,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6331
6331
|
}
|
6332
6332
|
),
|
6333
6333
|
/* @__PURE__ */ t(
|
6334
|
-
|
6334
|
+
be,
|
6335
6335
|
{
|
6336
6336
|
InputLabelProps: { shrink: !0 },
|
6337
6337
|
SelectProps: { defaultValue: -1, IconComponent: fa },
|
@@ -6406,24 +6406,24 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6406
6406
|
setSearchValue: l,
|
6407
6407
|
setShowInsights: h,
|
6408
6408
|
updateManualTransaction: C
|
6409
|
-
} = UA(), { addTransaction: f, filter: v, setFilter: p, tags: E, transactions: T, updateTransaction: S } = cA(), { common: L, transactions: O } = b(), { userProfile:
|
6409
|
+
} = UA(), { addTransaction: f, filter: v, setFilter: p, tags: E, transactions: T, updateTransaction: S } = cA(), { common: L, transactions: O } = b(), { userProfile: M } = Qt(), { onEvent: x } = V(), {
|
6410
6410
|
displayedDateRange: K,
|
6411
6411
|
isInitialized: B,
|
6412
6412
|
selectedAccountGuids: _,
|
6413
|
-
selectedAccounts:
|
6414
|
-
setDisplayedDate:
|
6415
|
-
setSelectedAccounts:
|
6416
|
-
} = vA(), [
|
6413
|
+
selectedAccounts: G,
|
6414
|
+
setDisplayedDate: k,
|
6415
|
+
setSelectedAccounts: P
|
6416
|
+
} = vA(), [W, rA] = g.useState(""), [IA, sA] = g.useState(""), [bA, Pe] = g.useState(!1), [le, Ge] = g.useState(!1), [Y, LA] = g.useState(!1);
|
6417
6417
|
g.useEffect(() => {
|
6418
|
-
|
6418
|
+
P(a);
|
6419
6419
|
}, [a]), g.useEffect(() => {
|
6420
|
-
const SA = EA(
|
6421
|
-
|
6420
|
+
const SA = EA($()), er = DA($());
|
6421
|
+
k(SA, er), p({
|
6422
6422
|
dateRange: { start: SA, end: er },
|
6423
|
-
accounts:
|
6423
|
+
accounts: G.map((xi) => xi.guid)
|
6424
6424
|
}), LA(!0), x(Q.TRANSACTIONS_VIEW);
|
6425
6425
|
}, []), g.useEffect(() => {
|
6426
|
-
|
6426
|
+
Y && p({
|
6427
6427
|
...v,
|
6428
6428
|
dateRange: { start: K.start, end: K.end },
|
6429
6429
|
accounts: _
|
@@ -6434,8 +6434,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6434
6434
|
const TA = g.useMemo(
|
6435
6435
|
() => a.filter((SA) => SA.is_manual),
|
6436
6436
|
[a]
|
6437
|
-
), WA = IA ? T.find((SA) => SA.guid === IA) : void 0,
|
6438
|
-
|
6437
|
+
), WA = IA ? T.find((SA) => SA.guid === IA) : void 0, ye = c && !!s.payee && !!s.account_guid && !!s.category_guid, $t = (SA) => {
|
6438
|
+
k(SA[0], SA[1]);
|
6439
6439
|
}, An = (SA) => {
|
6440
6440
|
l(SA), p({
|
6441
6441
|
...v,
|
@@ -6446,20 +6446,20 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6446
6446
|
}, Ii = () => {
|
6447
6447
|
TA.length > 0 ? (C({
|
6448
6448
|
...Xa,
|
6449
|
-
date: gA(
|
6450
|
-
user_guid:
|
6449
|
+
date: gA($()),
|
6450
|
+
user_guid: M?.user_guid || ""
|
6451
6451
|
}), rA(
|
6452
6452
|
"addTransaction"
|
6453
6453
|
/* AddTransaction */
|
6454
|
-
), x(Q.TRANSACTIONS_CLICK_ADD)) : (
|
6454
|
+
), x(Q.TRANSACTIONS_CLICK_ADD)) : (Pe(!0), x(Q.TRANSACTIONS_ADD_MANUAL_ACCOUNT_MODAL));
|
6455
6455
|
}, bi = async () => {
|
6456
|
-
|
6456
|
+
ye && await f(s), rA("");
|
6457
6457
|
}, Di = () => {
|
6458
|
-
|
6458
|
+
Pe(!1), Ge(!0);
|
6459
6459
|
}, Oi = () => {
|
6460
6460
|
Ge(!1), i();
|
6461
6461
|
};
|
6462
|
-
return !B || !
|
6462
|
+
return !B || !Y ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ d(
|
6463
6463
|
qe,
|
6464
6464
|
{
|
6465
6465
|
accountOptions: a,
|
@@ -6543,7 +6543,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6543
6543
|
uA,
|
6544
6544
|
{
|
6545
6545
|
ariaLabelClose: L.close_aria,
|
6546
|
-
isOpen:
|
6546
|
+
isOpen: W === "transaction",
|
6547
6547
|
onClose: () => {
|
6548
6548
|
WA && !WA.has_been_viewed && S({ ...WA, has_been_viewed: !0 }), rA("");
|
6549
6549
|
},
|
@@ -6551,7 +6551,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6551
6551
|
children: WA && /* @__PURE__ */ t(Wt, { transaction: WA })
|
6552
6552
|
}
|
6553
6553
|
),
|
6554
|
-
WA &&
|
6554
|
+
WA && W === "category" && /* @__PURE__ */ t(
|
6555
6555
|
Zl,
|
6556
6556
|
{
|
6557
6557
|
onClose: () => {
|
@@ -6564,8 +6564,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6564
6564
|
uA,
|
6565
6565
|
{
|
6566
6566
|
ariaLabelClose: L.close_aria,
|
6567
|
-
isOpen:
|
6568
|
-
isPrimaryDisabled: !
|
6567
|
+
isOpen: W === "addTransaction",
|
6568
|
+
isPrimaryDisabled: !ye,
|
6569
6569
|
onClose: () => rA(""),
|
6570
6570
|
onPrimaryAction: bi,
|
6571
6571
|
title: O.add_transaction_title,
|
@@ -6578,7 +6578,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6578
6578
|
copy: { title: O.add_manual_account },
|
6579
6579
|
isOpen: bA,
|
6580
6580
|
onClose: () => {
|
6581
|
-
|
6581
|
+
Pe(!1);
|
6582
6582
|
},
|
6583
6583
|
onPrimaryAction: Di
|
6584
6584
|
}
|
@@ -6626,7 +6626,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6626
6626
|
occurs_on: Ln(A.expectedDate, { representation: "date" }),
|
6627
6627
|
recurrence_type: A.recurrenceType
|
6628
6628
|
}), Ad = ({ activity: A }) => {
|
6629
|
-
const { recurring: e } = b(), { cashflowSequences: n, scheduledPayments: r, updateCashflowSequence: a, updateScheduledPayment: i } = KA(), { onEvent: o } =
|
6629
|
+
const { recurring: e } = b(), { cashflowSequences: n, scheduledPayments: r, updateCashflowSequence: a, updateScheduledPayment: i } = KA(), { onEvent: o } = V(), [s, c] = g.useState(!1), u = A.activityType === mA.Income, l = [
|
6630
6630
|
{ id: q.EveryWeek, label: e.frequency_every_week },
|
6631
6631
|
{ id: q.EveryOtherWeek, label: e.frequency_every_other_week },
|
6632
6632
|
{ id: q.EveryMonth, label: e.frequency_every_month },
|
@@ -6676,7 +6676,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6676
6676
|
A.activityType === mA.Expense || v.id !== q.EveryOtherMonth && v.id !== q.EveryOtherQuarter
|
6677
6677
|
)
|
6678
6678
|
).map((v) => /* @__PURE__ */ d(g.Fragment, { children: [
|
6679
|
-
/* @__PURE__ */ t(
|
6679
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(dA, { onClick: () => h(v.id), children: [
|
6680
6680
|
/* @__PURE__ */ t(
|
6681
6681
|
lA,
|
6682
6682
|
{
|
@@ -6684,7 +6684,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6684
6684
|
primaryTypographyProps: { fontWeight: 400 }
|
6685
6685
|
}
|
6686
6686
|
),
|
6687
|
-
A.recurrenceType === v.id && /* @__PURE__ */ t(
|
6687
|
+
A.recurrenceType === v.id && /* @__PURE__ */ t(N, { color: "primary", fill: !0, name: "check_circle", size: 24 })
|
6688
6688
|
] }) }, v.id),
|
6689
6689
|
/* @__PURE__ */ t(X, {})
|
6690
6690
|
] }, v.id)) })
|
@@ -6692,7 +6692,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6692
6692
|
)
|
6693
6693
|
] });
|
6694
6694
|
}, ed = I(Ad), td = ({ activity: A }) => {
|
6695
|
-
const { recurring: e } = b(), { cashflowSequences: n, scheduledPayments: r, updateCashflowSequence: a, updateScheduledPayment: i } = KA(), { onEvent: o } =
|
6695
|
+
const { recurring: e } = b(), { cashflowSequences: n, scheduledPayments: r, updateCashflowSequence: a, updateScheduledPayment: i } = KA(), { onEvent: o } = V(), [s, c] = g.useState(!1), [u, l] = g.useState(A.expectedDate), h = A.activityType === mA.Income, C = () => {
|
6696
6696
|
l(A.expectedDate), c(!0), o(
|
6697
6697
|
h ? "recurring_transactions_widget_income_details_click_next_payment_due" : "recurring_transactions_widget_expense_details_click_next_payment_due",
|
6698
6698
|
{
|
@@ -6717,7 +6717,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6717
6717
|
iconName: "calendar_month",
|
6718
6718
|
label: e.activity_payment_date,
|
6719
6719
|
onClick: C,
|
6720
|
-
value:
|
6720
|
+
value: J(A.expectedDate, U.MONTH_DAY_YEAR)
|
6721
6721
|
}
|
6722
6722
|
),
|
6723
6723
|
/* @__PURE__ */ t(
|
@@ -6731,7 +6731,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6731
6731
|
children: /* @__PURE__ */ t(Dn, { dateAdapter: Gt, children: /* @__PURE__ */ t(
|
6732
6732
|
bn,
|
6733
6733
|
{
|
6734
|
-
minDate:
|
6734
|
+
minDate: $(),
|
6735
6735
|
onChange: (v) => l(v),
|
6736
6736
|
value: u
|
6737
6737
|
}
|
@@ -6740,25 +6740,25 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6740
6740
|
)
|
6741
6741
|
] });
|
6742
6742
|
}, nd = I(td), rd = ({ activity: A, onDeleted: e }) => {
|
6743
|
-
const { recurring: n } = b(), { categories: r } = xA(), { deleteCashflowSequence: a, deleteScheduledPayment: i, paidActivities: o } = KA(), { filter: s, setFilter: c, transactions: u } = cA(), { selectedAccountGuids: l } = vA(), { onEvent: h } =
|
6744
|
-
() => u.find((
|
6743
|
+
const { recurring: n } = b(), { categories: r } = xA(), { deleteCashflowSequence: a, deleteScheduledPayment: i, paidActivities: o } = KA(), { filter: s, setFilter: c, transactions: u } = cA(), { selectedAccountGuids: l } = vA(), { onEvent: h } = V(), [C, f] = g.useState(!1), [v, p] = g.useState(""), E = r.find((M) => M.guid === A.categoryGuid), T = A.activityType === mA.Income, S = g.useMemo(
|
6744
|
+
() => u.find((M) => M.guid === v),
|
6745
6745
|
[v]
|
6746
6746
|
);
|
6747
6747
|
g.useEffect(() => {
|
6748
6748
|
c({
|
6749
6749
|
accounts: l,
|
6750
|
-
dateRange: { start: ne(
|
6750
|
+
dateRange: { start: ne($(), 90), end: DA($()) }
|
6751
6751
|
});
|
6752
6752
|
}, []), g.useEffect(() => {
|
6753
6753
|
if (T && A.sequenceGuid) {
|
6754
|
-
const
|
6754
|
+
const M = o.filter((x) => x.sequenceGuid === A.sequenceGuid).map((x) => x.transactionGuid);
|
6755
6755
|
c({
|
6756
6756
|
...s,
|
6757
|
-
custom: (x) => !!
|
6757
|
+
custom: (x) => !!M.find((K) => x.guid === K)
|
6758
6758
|
});
|
6759
6759
|
} else !T && A.scheduledPaymentGuid && c({
|
6760
6760
|
...s,
|
6761
|
-
custom: (
|
6761
|
+
custom: (M) => M.scheduled_payment_guid === A.scheduledPaymentGuid
|
6762
6762
|
});
|
6763
6763
|
}, [A]);
|
6764
6764
|
const L = async () => {
|
@@ -6774,7 +6774,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6774
6774
|
return /* @__PURE__ */ d(w, { bgcolor: "background.default", direction: "column", height: "100%", children: [
|
6775
6775
|
/* @__PURE__ */ d(w, { direction: "column", gap: 12, m: 24, children: [
|
6776
6776
|
/* @__PURE__ */ t(
|
6777
|
-
|
6777
|
+
xe,
|
6778
6778
|
{
|
6779
6779
|
categoryGuid: A.categoryGuid || "",
|
6780
6780
|
merchantGuid: A.merchantGuid || "",
|
@@ -6782,7 +6782,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6782
6782
|
}
|
6783
6783
|
),
|
6784
6784
|
/* @__PURE__ */ t(y, { bold: !0, variant: "Body", children: A.name }),
|
6785
|
-
/* @__PURE__ */ d(
|
6785
|
+
/* @__PURE__ */ d(ve, { color: T ? "success.main" : "text.primary", children: [
|
6786
6786
|
T ? "+" : "",
|
6787
6787
|
F(A.amount, "0,0.00")
|
6788
6788
|
] })
|
@@ -6820,7 +6820,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6820
6820
|
{
|
6821
6821
|
color: "error",
|
6822
6822
|
onClick: O,
|
6823
|
-
startIcon: /* @__PURE__ */ t(
|
6823
|
+
startIcon: /* @__PURE__ */ t(N, { name: "delete" }),
|
6824
6824
|
sx: { mx: 24, my: 16 },
|
6825
6825
|
variant: "text",
|
6826
6826
|
children: T ? n.delete_income_title : n.delete_expense_title
|
@@ -6856,7 +6856,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6856
6856
|
gridRow: 1,
|
6857
6857
|
gridColumn: 1,
|
6858
6858
|
zIndex: 2
|
6859
|
-
}, Vt = (A) => A ? { margin: "0 0 -6px -4px" } : void 0, jn = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(
|
6859
|
+
}, Vt = (A) => A ? { margin: "0 0 -6px -4px" } : void 0, jn = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Se, { size: e, sx: { ...Vt(A) }, children: /* @__PURE__ */ t(No, { color: "primary", sx: { fontSize: e, ...Yt } }) }), Un = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Se, { size: e, sx: { ...Vt(A) }, children: /* @__PURE__ */ t(Mo, { sx: { color: "categories.income", fontSize: e, ...Yt } }) }), Wn = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Se, { size: e, sx: { ...Vt(A) }, children: /* @__PURE__ */ t(Dt, { color: "error", sx: { fontSize: e, ...Yt } }) }), Yn = ({ isOffset: A = !1, size: e = 16 }) => /* @__PURE__ */ t(Se, { size: e, sx: { ...Vt(A) }, children: /* @__PURE__ */ t(ma, { color: "success", sx: { fontSize: e, ...Yt } }) }), zr = ({ copy: A, date: e, type: n }) => {
|
6860
6860
|
let r = e && Ro(e) ? z(A.monthly_ordinal, JA(e, "do")) : A.monthly;
|
6861
6861
|
switch (n) {
|
6862
6862
|
case q.EveryQuarter:
|
@@ -6884,17 +6884,17 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6884
6884
|
case pA.Paid:
|
6885
6885
|
return A.occurredOnDate ? z(
|
6886
6886
|
e.paid_on,
|
6887
|
-
|
6887
|
+
J(A.occurredOnDate, U.MONTH_DAY)
|
6888
6888
|
) : e.paid;
|
6889
6889
|
case pA.Missed:
|
6890
6890
|
return z(
|
6891
6891
|
e.missed_on,
|
6892
|
-
|
6892
|
+
J(A.expectedDate, U.MONTH_DAY)
|
6893
6893
|
);
|
6894
6894
|
case pA.Upcoming:
|
6895
6895
|
return z(
|
6896
6896
|
e.upcoming_on,
|
6897
|
-
|
6897
|
+
J(A.expectedDate, U.MONTH_DAY)
|
6898
6898
|
);
|
6899
6899
|
default:
|
6900
6900
|
return e.unknown;
|
@@ -6923,12 +6923,12 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6923
6923
|
copy: a,
|
6924
6924
|
date: A.expectedDate,
|
6925
6925
|
type: A.recurrenceType
|
6926
|
-
} : { copy: a, date: null, type: A.recurrenceType })), /* @__PURE__ */ d(
|
6926
|
+
} : { copy: a, date: null, type: A.recurrenceType })), /* @__PURE__ */ d(Z, { disableGutters: !0, disablePadding: !0, children: [
|
6927
6927
|
/* @__PURE__ */ d(dA, { onClick: () => {
|
6928
6928
|
o(A.sequenceGuid || A.scheduledPaymentGuid || ""), n(A);
|
6929
6929
|
}, children: [
|
6930
6930
|
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
6931
|
-
|
6931
|
+
xe,
|
6932
6932
|
{
|
6933
6933
|
categoryGuid: A.categoryGuid || "",
|
6934
6934
|
merchantGuid: A.merchantGuid || ""
|
@@ -6942,7 +6942,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6942
6942
|
/* @__PURE__ */ t(y, { variant: "XSmall", children: id(A, a) })
|
6943
6943
|
] }) : /* @__PURE__ */ d(aA, { children: [
|
6944
6944
|
A.institutionGuid && /* @__PURE__ */ t(
|
6945
|
-
|
6945
|
+
me,
|
6946
6946
|
{
|
6947
6947
|
alt: A.institution || "",
|
6948
6948
|
institutionGuid: A.institutionGuid,
|
@@ -6966,8 +6966,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
6966
6966
|
F(A.amount, "0,0.00")
|
6967
6967
|
] }),
|
6968
6968
|
!e && /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 6, textTransform: "uppercase", children: [
|
6969
|
-
c && /* @__PURE__ */ t(
|
6970
|
-
u && /* @__PURE__ */ t(
|
6969
|
+
c && /* @__PURE__ */ t(N, { color: "success", fill: !0, name: "check_circle", size: 12 }),
|
6970
|
+
u && /* @__PURE__ */ t(N, { color: "error", fill: !0, name: "cancel", size: 12 }),
|
6971
6971
|
/* @__PURE__ */ t(y, { bold: !0, color: "secondary.light", variant: "XSmall", children: h })
|
6972
6972
|
] })
|
6973
6973
|
] })
|
@@ -7137,7 +7137,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7137
7137
|
{
|
7138
7138
|
InputLabelProps: { shrink: !0 },
|
7139
7139
|
SelectProps: {
|
7140
|
-
IconComponent: (l) => /* @__PURE__ */ t(
|
7140
|
+
IconComponent: (l) => /* @__PURE__ */ t(N, { fill: !1, name: "expand_more", size: 20, sx: { mr: 4 }, ...l })
|
7141
7141
|
},
|
7142
7142
|
defaultValue: 0,
|
7143
7143
|
label: s.frequency,
|
@@ -7172,7 +7172,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7172
7172
|
h(!0), c(A ? { ...s, custom: ht } : { ...s, custom: Cn });
|
7173
7173
|
}, O = async () => {
|
7174
7174
|
if (n(), !S || !E) {
|
7175
|
-
|
7175
|
+
M();
|
7176
7176
|
return;
|
7177
7177
|
}
|
7178
7178
|
if (A) {
|
@@ -7185,17 +7185,17 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7185
7185
|
const x = cd(S, v, E);
|
7186
7186
|
await o(x, S);
|
7187
7187
|
}
|
7188
|
-
|
7189
|
-
},
|
7188
|
+
M();
|
7189
|
+
}, M = () => {
|
7190
7190
|
f(""), h(!1);
|
7191
7191
|
};
|
7192
7192
|
return /* @__PURE__ */ d(D, { children: [
|
7193
|
-
/* @__PURE__ */ t(
|
7193
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ t(dA, { onClick: L, children: /* @__PURE__ */ t(lA, { children: /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
7194
7194
|
/* @__PURE__ */ d(w, { alignItems: "center", direction: "row", gap: 8, children: [
|
7195
|
-
/* @__PURE__ */ t(
|
7195
|
+
/* @__PURE__ */ t(N, { fill: !0, name: "add_box", size: 24, sx: { color: "action.active" } }),
|
7196
7196
|
/* @__PURE__ */ t(y, { bold: !0, sx: { color: "action.active" }, variant: "Body", children: e })
|
7197
7197
|
] }),
|
7198
|
-
/* @__PURE__ */ t(
|
7198
|
+
/* @__PURE__ */ t(N, { name: "chevron_right", size: 24, sx: { color: "primary.light" } })
|
7199
7199
|
] }) }) }) }),
|
7200
7200
|
/* @__PURE__ */ t(X, {}),
|
7201
7201
|
/* @__PURE__ */ t(
|
@@ -7259,7 +7259,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7259
7259
|
scheduledPaymentGuid: r.guid
|
7260
7260
|
};
|
7261
7261
|
}), Cd = () => {
|
7262
|
-
const { recurring: A } = b(), { scheduledPayments: e } = KA(), { transactions: n } = cA(), { selectedAccounts: r } = vA(), { onEvent: a } =
|
7262
|
+
const { recurring: A } = b(), { scheduledPayments: e } = KA(), { transactions: n } = cA(), { selectedAccounts: r } = vA(), { onEvent: a } = V(), i = gd(r, e, n), o = (c) => {
|
7263
7263
|
a(Q.RECURRING_ACTIVITY_CLICK_EXPENSE, {
|
7264
7264
|
transaction_guid: c.transactionGuid
|
7265
7265
|
});
|
@@ -7301,8 +7301,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7301
7301
|
};
|
7302
7302
|
}), s = r.filter(
|
7303
7303
|
(l) => We(NA(l.expected_date), {
|
7304
|
-
start: EA(
|
7305
|
-
end: ce(
|
7304
|
+
start: EA($()),
|
7305
|
+
end: ce($(), 30)
|
7306
7306
|
})
|
7307
7307
|
).filter((l) => {
|
7308
7308
|
const h = a.find((f) => f.guid === l.cashflow_sequence_guid), C = e.find(
|
@@ -7351,7 +7351,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7351
7351
|
recurrenceDay: e.recurrence_day,
|
7352
7352
|
scheduledPaymentGuid: e.guid,
|
7353
7353
|
transactionGuid: ""
|
7354
|
-
}, c = e.recurrence_day, u =
|
7354
|
+
}, c = e.recurrence_day, u = $(), l = EA($()), h = ce($(), 30);
|
7355
7355
|
let C = l;
|
7356
7356
|
switch (e.recurrence_type) {
|
7357
7357
|
case q.EveryWeek:
|
@@ -7454,7 +7454,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7454
7454
|
sequenceGuid: i.guid
|
7455
7455
|
};
|
7456
7456
|
}), Ed = () => {
|
7457
|
-
const { recurring: A } = b(), { selectedAccounts: e } = vA(), { cashflowEvents: n, cashflowSequences: r, projectedEvents: a } = KA(), { transactions: i } = cA(), { onEvent: o } =
|
7457
|
+
const { recurring: A } = b(), { selectedAccounts: e } = vA(), { cashflowEvents: n, cashflowSequences: r, projectedEvents: a } = KA(), { transactions: i } = cA(), { onEvent: o } = V(), s = pd(
|
7458
7458
|
e,
|
7459
7459
|
n,
|
7460
7460
|
a,
|
@@ -7475,7 +7475,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7475
7475
|
/* @__PURE__ */ t(ni, { isIncome: !0, label: A.add_income, onAddActivity: u })
|
7476
7476
|
] });
|
7477
7477
|
}, ri = I(Ed), yd = () => {
|
7478
|
-
const [A, e] = g.useState(0), { onEvent: n } =
|
7478
|
+
const [A, e] = g.useState(0), { onEvent: n } = V(), { recurring: r } = b();
|
7479
7479
|
return /* @__PURE__ */ d(D, { bgcolor: "background.default", height: "100%", children: [
|
7480
7480
|
/* @__PURE__ */ d(
|
7481
7481
|
Ze,
|
@@ -7498,17 +7498,17 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7498
7498
|
A === 1 && /* @__PURE__ */ t(ri, {})
|
7499
7499
|
] });
|
7500
7500
|
}, ai = I(yd), nt = (A, e) => A + e.amount, nn = (A) => A.activityType === mA.Income && We(A.expectedDate, {
|
7501
|
-
start: EA(
|
7502
|
-
end: DA(
|
7501
|
+
start: EA($()),
|
7502
|
+
end: DA($())
|
7503
7503
|
}), Lt = (A) => A.activityType === mA.Expense && We(A.expectedDate, {
|
7504
|
-
start: EA(
|
7505
|
-
end: DA(
|
7504
|
+
start: EA($()),
|
7505
|
+
end: DA($())
|
7506
7506
|
}), rn = (A) => A.occurredOnDate && We(A.occurredOnDate, {
|
7507
7507
|
start: EA(/* @__PURE__ */ new Date()),
|
7508
|
-
end: ce(
|
7508
|
+
end: ce($(), 30)
|
7509
7509
|
}) || We(A.expectedDate, {
|
7510
7510
|
start: EA(/* @__PURE__ */ new Date()),
|
7511
|
-
end: ce(
|
7511
|
+
end: ce($(), 30)
|
7512
7512
|
}), wd = ({ day: A, outsideCurrentMonth: e, ...n }) => {
|
7513
7513
|
const { recurring: r } = b(), { selectedAccountGuids: a } = vA(), { activities: i, setSelectedDay: o } = KA(), c = g.useMemo(
|
7514
7514
|
() => i.filter((v) => a.includes(v.accountGuid || "")),
|
@@ -7585,7 +7585,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7585
7585
|
}
|
7586
7586
|
);
|
7587
7587
|
}, Sd = I(Td), qr = 58, Id = () => {
|
7588
|
-
const A = CA(), { onEvent: e } =
|
7588
|
+
const A = CA(), { onEvent: e } = V(), { selectedDay: n } = KA(), [r, a] = g.useState(
|
7589
7589
|
ur(/* @__PURE__ */ new Date()) * et + qr
|
7590
7590
|
), i = (s) => {
|
7591
7591
|
a(ur(s) * et + qr), e(Q.RECURRING_ACTIVITY_CLICK_CALENDAR_RIGHT);
|
@@ -7675,10 +7675,10 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7675
7675
|
),
|
7676
7676
|
/* @__PURE__ */ t(X, { sx: { mx: 24 } })
|
7677
7677
|
] })) : s.map((c) => /* @__PURE__ */ d(aA, { children: [
|
7678
|
-
/* @__PURE__ */ t(
|
7678
|
+
/* @__PURE__ */ t(Z, { children: /* @__PURE__ */ t(
|
7679
7679
|
oA,
|
7680
7680
|
{
|
7681
|
-
subheader: /* @__PURE__ */ t(Ve, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ t(y, { bold: !0, variant: "XSmall", children:
|
7681
|
+
subheader: /* @__PURE__ */ t(Ve, { sx: { bgcolor: "background.paper", ml: 8, pb: 4, pt: 12 }, children: /* @__PURE__ */ t(y, { bold: !0, variant: "XSmall", children: J(
|
7682
7682
|
c.activities[0].occurredOnDate || c.activities[0].expectedDate,
|
7683
7683
|
U.DAY_OF_WEEK_MONTH_DAY
|
7684
7684
|
) }) }),
|
@@ -7729,7 +7729,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7729
7729
|
/* @__PURE__ */ t(y, { variant: "XSmall", children: o.expected })
|
7730
7730
|
] })
|
7731
7731
|
] }),
|
7732
|
-
i && /* @__PURE__ */ t(iA, { onClick: i, startIcon: /* @__PURE__ */ t(
|
7732
|
+
i && /* @__PURE__ */ t(iA, { onClick: i, startIcon: /* @__PURE__ */ t(N, { name: "add" }), variant: "text", children: o.add_new })
|
7733
7733
|
] }),
|
7734
7734
|
/* @__PURE__ */ t(Js, { data: c })
|
7735
7735
|
] });
|
@@ -7742,8 +7742,8 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7742
7742
|
selectedDayActivities: o,
|
7743
7743
|
setSelectedDay: s,
|
7744
7744
|
upcomingActivities: c
|
7745
|
-
} = KA(), [u, l] = g.useState(0), { onEvent: h } =
|
7746
|
-
l(
|
7745
|
+
} = KA(), [u, l] = g.useState(0), { onEvent: h } = V(), C = n.filter(rn), f = a.filter(rn), v = r.filter(rn), p = C.filter(Lt).reduce(nt, 0), E = f.filter(Lt).reduce(nt, 0), T = v.filter(Lt).reduce(nt, 0), S = C.filter(Lt).length, L = C.filter(nn).reduce(nt, 0), O = f.filter(nn).reduce(nt, 0), M = C.filter(nn).length, x = (_, G) => {
|
7746
|
+
l(G);
|
7747
7747
|
}, K = (_) => {
|
7748
7748
|
h(Q.RECURRING_ACTIVITY_CLICK_UPCOMING, {
|
7749
7749
|
transaction_guid: _.transactionGuid
|
@@ -7771,7 +7771,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7771
7771
|
expected: L,
|
7772
7772
|
paid: O,
|
7773
7773
|
title: A.deposits,
|
7774
|
-
total:
|
7774
|
+
total: M
|
7775
7775
|
}
|
7776
7776
|
),
|
7777
7777
|
!e && /* @__PURE__ */ t(
|
@@ -7817,19 +7817,19 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7817
7817
|
onResetClick: i ? () => s(i) : void 0,
|
7818
7818
|
title: i ? z(
|
7819
7819
|
A.day_transactions,
|
7820
|
-
|
7820
|
+
J(i, U.MONTH_DAY)
|
7821
7821
|
) : A.paid_activity
|
7822
7822
|
}
|
7823
7823
|
)
|
7824
7824
|
] }) })
|
7825
7825
|
] });
|
7826
7826
|
}, Pd = I(xd), Nd = ({ onBackClick: A, sx: e = {} }) => {
|
7827
|
-
const { accounts: n } = OA(), { recurring: r } = b(), { isInitialized: a, selectedAccountGuids: i, setSelectedAccounts: o } = vA(), { setFilter: s } = cA(), { isLoading: c } = KA(), { onEvent: u } =
|
7827
|
+
const { accounts: n } = OA(), { recurring: r } = b(), { isInitialized: a, selectedAccountGuids: i, setSelectedAccounts: o } = vA(), { setFilter: s } = cA(), { isLoading: c } = KA(), { onEvent: u } = V();
|
7828
7828
|
g.useEffect(() => {
|
7829
7829
|
o(n);
|
7830
7830
|
}, [n]), g.useEffect(() => {
|
7831
7831
|
a && s({
|
7832
|
-
dateRange: { start: ne(
|
7832
|
+
dateRange: { start: ne($(), 90), end: ze() },
|
7833
7833
|
accounts: i
|
7834
7834
|
});
|
7835
7835
|
}, [a, i]);
|
@@ -7853,9 +7853,9 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7853
7853
|
title: r.title,
|
7854
7854
|
children: [
|
7855
7855
|
a || !c ? /* @__PURE__ */ t(Pd, {}) : /* @__PURE__ */ d(w, { direction: "column", p: 48, spacing: 24, children: [
|
7856
|
-
/* @__PURE__ */ t(
|
7857
|
-
/* @__PURE__ */ t(
|
7858
|
-
/* @__PURE__ */ t(
|
7856
|
+
/* @__PURE__ */ t(ue, { height: 100, variant: "rounded", width: "100%" }),
|
7857
|
+
/* @__PURE__ */ t(ue, { height: 100, variant: "rounded", width: "100%" }),
|
7858
|
+
/* @__PURE__ */ t(ue, { height: 600, variant: "rounded", width: "100%" })
|
7859
7859
|
] }),
|
7860
7860
|
/* @__PURE__ */ t(
|
7861
7861
|
uA,
|
@@ -7890,7 +7890,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7890
7890
|
sx: { width: c ? "100%" : "calc(100% - 336px)", mt: 12 },
|
7891
7891
|
title: n ? z(
|
7892
7892
|
A.day_transactions,
|
7893
|
-
|
7893
|
+
J(n, U.MONTH_DAY)
|
7894
7894
|
) : A.upcoming_activity
|
7895
7895
|
}
|
7896
7896
|
)
|
@@ -7899,7 +7899,7 @@ const Mr = "connect_widget", Rr = "connections_widget", Wl = ({
|
|
7899
7899
|
const { recurring: n } = b(), { isInitialized: r, selectedAccountGuids: a } = vA(), { setFilter: i } = cA();
|
7900
7900
|
return g.useEffect(() => {
|
7901
7901
|
r && i({
|
7902
|
-
dateRange: { start: ne(
|
7902
|
+
dateRange: { start: ne($(), 90), end: ze() },
|
7903
7903
|
accounts: a
|
7904
7904
|
});
|
7905
7905
|
}, [r, a]), /* @__PURE__ */ t(
|
@@ -7958,7 +7958,7 @@ class zd {
|
|
7958
7958
|
return this.upcomingActivities.filter((e) => e.activityType === mA.Income);
|
7959
7959
|
}
|
7960
7960
|
get nextIncomeActivity() {
|
7961
|
-
return this.upcomingIncome.find((e) => lt(e.expectedDate,
|
7961
|
+
return this.upcomingIncome.find((e) => lt(e.expectedDate, $()));
|
7962
7962
|
}
|
7963
7963
|
get selectedDayActivities() {
|
7964
7964
|
return this.selectedDay && this.activities.filter(
|
@@ -7968,7 +7968,7 @@ class zd {
|
|
7968
7968
|
addCashflowEvent = async (e) => {
|
7969
7969
|
try {
|
7970
7970
|
const n = await this.cashflowApi.addCashflowEvent(e);
|
7971
|
-
|
7971
|
+
nA(() => {
|
7972
7972
|
this.cashflowEvents = [...this.cashflowEvents, n];
|
7973
7973
|
});
|
7974
7974
|
} catch (n) {
|
@@ -7989,7 +7989,7 @@ class zd {
|
|
7989
7989
|
await this.globalStore.transactionStore.updateTransaction({
|
7990
7990
|
...n,
|
7991
7991
|
scheduled_payment_guid: r.guid
|
7992
|
-
}),
|
7992
|
+
}), nA(() => {
|
7993
7993
|
this.scheduledPayments = [...this.scheduledPayments, r];
|
7994
7994
|
});
|
7995
7995
|
} catch (r) {
|
@@ -8005,7 +8005,7 @@ class zd {
|
|
8005
8005
|
};
|
8006
8006
|
deleteScheduledPayment = async (e) => {
|
8007
8007
|
try {
|
8008
|
-
await this.api.deleteScheduledPayment(e),
|
8008
|
+
await this.api.deleteScheduledPayment(e), nA(() => {
|
8009
8009
|
const n = this.scheduledPayments.findIndex((r) => r.guid === e);
|
8010
8010
|
n >= 0 && this.scheduledPayments.splice(n, 1);
|
8011
8011
|
});
|
@@ -8015,7 +8015,7 @@ class zd {
|
|
8015
8015
|
};
|
8016
8016
|
loadActivity = () => {
|
8017
8017
|
this.isLoading = !0, Promise.all([this.loadExpenseActivity(), this.loadIncomeActivity()]).finally(
|
8018
|
-
() =>
|
8018
|
+
() => nA(() => {
|
8019
8019
|
this.isLoading = !1;
|
8020
8020
|
})
|
8021
8021
|
);
|
@@ -8028,7 +8028,7 @@ class zd {
|
|
8028
8028
|
};
|
8029
8029
|
loadCashflowSequences = async () => {
|
8030
8030
|
const e = await this.cashflowApi.getCashflowSequences();
|
8031
|
-
|
8031
|
+
nA(() => {
|
8032
8032
|
this.cashflowSequences = e.filter(
|
8033
8033
|
(n) => n.transaction_type === QA.CREDIT
|
8034
8034
|
);
|
@@ -8037,10 +8037,10 @@ class zd {
|
|
8037
8037
|
loadExpectedEvents = async () => {
|
8038
8038
|
try {
|
8039
8039
|
const e = await this.cashflowApi.getProjectedCashflowEvents(
|
8040
|
-
EA(
|
8041
|
-
ce(
|
8040
|
+
EA($()),
|
8041
|
+
ce($(), 30)
|
8042
8042
|
);
|
8043
|
-
|
8043
|
+
nA(() => {
|
8044
8044
|
this.projectedEvents = e.filter(
|
8045
8045
|
(n) => n.transaction_type === QA.CREDIT
|
8046
8046
|
);
|
@@ -8052,10 +8052,10 @@ class zd {
|
|
8052
8052
|
loadPaidEvents = async () => {
|
8053
8053
|
try {
|
8054
8054
|
const e = await this.cashflowApi.getCashflowEventsByDateRange(
|
8055
|
-
ne(
|
8056
|
-
DA(
|
8055
|
+
ne($(), 90),
|
8056
|
+
DA($())
|
8057
8057
|
);
|
8058
|
-
|
8058
|
+
nA(() => {
|
8059
8059
|
this.cashflowEvents = e.filter(
|
8060
8060
|
(n) => n.transaction_type === QA.CREDIT
|
8061
8061
|
);
|
@@ -8067,7 +8067,7 @@ class zd {
|
|
8067
8067
|
loadScheduledPayments = async () => {
|
8068
8068
|
try {
|
8069
8069
|
const e = await this.api.getScheduledPayments();
|
8070
|
-
|
8070
|
+
nA(() => {
|
8071
8071
|
this.scheduledPayments = e;
|
8072
8072
|
});
|
8073
8073
|
} catch (e) {
|
@@ -8101,7 +8101,7 @@ class zd {
|
|
8101
8101
|
try {
|
8102
8102
|
const n = await this.api.updateScheduledPayment(e), r = this.scheduledPayments.findIndex((a) => a.guid === e.guid);
|
8103
8103
|
if (r < 0) return;
|
8104
|
-
|
8104
|
+
nA(() => {
|
8105
8105
|
this.scheduledPayments = [
|
8106
8106
|
...this.scheduledPayments.slice(0, r),
|
8107
8107
|
n,
|
@@ -8117,7 +8117,7 @@ const qd = {
|
|
8117
8117
|
gridRow: 1,
|
8118
8118
|
gridColumn: 1,
|
8119
8119
|
zIndex: 2
|
8120
|
-
}, Kd = ({ size: A = 20 }) => /* @__PURE__ */ t(
|
8120
|
+
}, Kd = ({ size: A = 20 }) => /* @__PURE__ */ t(Se, { size: A, children: /* @__PURE__ */ t(On, { color: "error", sx: { fontSize: A, ...qd } }) }), Bd = (A) => A && (A.account_type === j.CREDIT_CARD || A.account_type === j.LOAN || A.account_type === j.MORTGAGE || A.account_type === j.LINE_OF_CREDIT || A.account_type === j.CHECKING_LINE_OF_CREDIT), _d = (A) => A.is_manual || !A.guid, kd = (A) => A.account_type === j.LINE_OF_CREDIT || A.account_type === j.CREDIT_CARD || A.account_type === j.CHECKING_LINE_OF_CREDIT, Gd = (A) => A.account_type === j.SAVINGS || A.account_type === j.CHECKING || A.account_type === j.LINE_OF_CREDIT || A.account_type === j.CREDIT_CARD || A.account_type === j.LOAN || A.account_type === j.MORTGAGE, Xd = (A) => A.account_type === j.LOAN || A.account_type === j.MORTGAGE, Qd = (A, e) => {
|
8121
8121
|
const n = [
|
8122
8122
|
{
|
8123
8123
|
event: "account_details_click_account_name",
|
@@ -8140,7 +8140,7 @@ const qd = {
|
|
8140
8140
|
const r = Object.keys(j).filter((a) => Number(a)).map((a) => ({
|
8141
8141
|
label: e.account_types[a],
|
8142
8142
|
value: Number(a),
|
8143
|
-
icon: /* @__PURE__ */ t(
|
8143
|
+
icon: /* @__PURE__ */ t(N, { name: is[a] })
|
8144
8144
|
}));
|
8145
8145
|
n.push({
|
8146
8146
|
label: e.account_type,
|
@@ -8155,7 +8155,7 @@ const qd = {
|
|
8155
8155
|
const r = Object.keys(Ta).filter((a) => Number(a)).map((a) => ({
|
8156
8156
|
label: e.property_types[a],
|
8157
8157
|
value: Number(a),
|
8158
|
-
icon: /* @__PURE__ */ t(
|
8158
|
+
icon: /* @__PURE__ */ t(N, { name: os[a] })
|
8159
8159
|
}));
|
8160
8160
|
n.push({
|
8161
8161
|
label: e.property_type,
|
@@ -8190,7 +8190,7 @@ const qd = {
|
|
8190
8190
|
type: kA.Date,
|
8191
8191
|
valueFormatter: (r) => {
|
8192
8192
|
const a = typeof r == "number" ? new Date(r * 1e3) : r;
|
8193
|
-
return
|
8193
|
+
return J(a, U.MED_MONTH_SHORT_DAY_FULL_YEAR);
|
8194
8194
|
}
|
8195
8195
|
}) : n.push({
|
8196
8196
|
label: e.day_payment_due,
|
@@ -8229,7 +8229,7 @@ const qd = {
|
|
8229
8229
|
a = /* @__PURE__ */ t(y, { component: "strong", variant: "XSmall", children: z(
|
8230
8230
|
e.payment_due_on,
|
8231
8231
|
F(A.minimum_payment, "0,0.00"),
|
8232
|
-
|
8232
|
+
J(s, U.FULL_MONTH_DAY)
|
8233
8233
|
) });
|
8234
8234
|
} else A.credit_limit && (a = e.available_credit, i = F(A.credit_limit, "0,0.00"));
|
8235
8235
|
}
|
@@ -8262,7 +8262,7 @@ const qd = {
|
|
8262
8262
|
right: -1
|
8263
8263
|
}
|
8264
8264
|
},
|
8265
|
-
children: /* @__PURE__ */ t(
|
8265
|
+
children: /* @__PURE__ */ t(me, { alt: "MX", institutionGuid: A.institution_guid || "" })
|
8266
8266
|
}
|
8267
8267
|
) }),
|
8268
8268
|
/* @__PURE__ */ t(
|
@@ -8288,9 +8288,9 @@ const qd = {
|
|
8288
8288
|
}
|
8289
8289
|
)
|
8290
8290
|
] });
|
8291
|
-
return /* @__PURE__ */ t(
|
8291
|
+
return /* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper" }, ...n, children: e ? /* @__PURE__ */ t(dA, { alignItems: "flex-start", onClick: e, sx: { px: 24 }, children: l }) : l });
|
8292
8292
|
}, Jt = I(Fd), jd = ({ remaining: A }) => /* @__PURE__ */ t(
|
8293
|
-
|
8293
|
+
Z,
|
8294
8294
|
{
|
8295
8295
|
sx: {
|
8296
8296
|
alignItems: "center",
|
@@ -8307,10 +8307,10 @@ const qd = {
|
|
8307
8307
|
);
|
8308
8308
|
var gt = /* @__PURE__ */ ((A) => (A.EXPENSE = "expense", A.INCOME = "income", A))(gt || {});
|
8309
8309
|
const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
8310
|
-
/* @__PURE__ */ d(
|
8310
|
+
/* @__PURE__ */ d(Z, { sx: { display: "flex", alignItems: "center", gap: 16, px: 24, py: 12 }, children: [
|
8311
8311
|
/* @__PURE__ */ d(w, { alignItems: "center", height: 32, width: 32, children: [
|
8312
|
-
/* @__PURE__ */ t(y, { bold: !0, sx: { fontSize: 11 }, children:
|
8313
|
-
/* @__PURE__ */ t(y, { bold: !0, sx: { fontSize: 11 }, children:
|
8312
|
+
/* @__PURE__ */ t(y, { bold: !0, sx: { fontSize: 11 }, children: J(A.expectedDate, U.MONTH) }),
|
8313
|
+
/* @__PURE__ */ t(y, { bold: !0, sx: { fontSize: 11 }, children: J(A.expectedDate, U.DAY) })
|
8314
8314
|
] }),
|
8315
8315
|
/* @__PURE__ */ t(y, { sx: { flexGrow: 1, fontSize: 13 }, children: A.name }),
|
8316
8316
|
/* @__PURE__ */ t(
|
@@ -8355,10 +8355,10 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8355
8355
|
/* @__PURE__ */ d(w, { flexDirection: "row", justifyContent: "space-between", children: [
|
8356
8356
|
/* @__PURE__ */ t(y, { bold: !0, sx: { fontSize: 15, mb: 12 }, children: A.accounts_breakdown }),
|
8357
8357
|
/* @__PURE__ */ d(y, { bold: !0, sx: { fontSize: 15, mb: 12 }, children: [
|
8358
|
-
|
8358
|
+
J(r.start, U.FULL_MONTH_DAY),
|
8359
8359
|
" -",
|
8360
8360
|
" ",
|
8361
|
-
|
8361
|
+
J(r.end, U.FULL_MONTH_DAY)
|
8362
8362
|
] })
|
8363
8363
|
] }),
|
8364
8364
|
/* @__PURE__ */ t(w, { children: a.map((i) => {
|
@@ -8393,7 +8393,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8393
8393
|
}
|
8394
8394
|
),
|
8395
8395
|
/* @__PURE__ */ t(X, {}),
|
8396
|
-
o.length > 0 && /* @__PURE__ */ t(
|
8396
|
+
o.length > 0 && /* @__PURE__ */ t(Z, { children: /* @__PURE__ */ t(
|
8397
8397
|
oA,
|
8398
8398
|
{
|
8399
8399
|
subheader: /* @__PURE__ */ t(_r, { total: c, type: gt.INCOME }),
|
@@ -8401,7 +8401,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8401
8401
|
children: o.map((l) => /* @__PURE__ */ t(Br, { activity: l }, l.sequenceGuid))
|
8402
8402
|
}
|
8403
8403
|
) }),
|
8404
|
-
s.length > 0 && /* @__PURE__ */ t(
|
8404
|
+
s.length > 0 && /* @__PURE__ */ t(Z, { children: /* @__PURE__ */ t(
|
8405
8405
|
oA,
|
8406
8406
|
{
|
8407
8407
|
subheader: /* @__PURE__ */ t(_r, { total: u, type: gt.EXPENSE }),
|
@@ -8431,7 +8431,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8431
8431
|
const f = l || u;
|
8432
8432
|
return /* @__PURE__ */ d(w, { alignItems: "center", flexDirection: "row", gap: 12, children: [
|
8433
8433
|
/* @__PURE__ */ t(
|
8434
|
-
|
8434
|
+
me,
|
8435
8435
|
{
|
8436
8436
|
alt: n.institution_logo,
|
8437
8437
|
institutionGuid: h || "",
|
@@ -8510,10 +8510,10 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8510
8510
|
)
|
8511
8511
|
] }),
|
8512
8512
|
/* @__PURE__ */ d(y, { bold: !0, sx: { fontSize: 15 }, children: [
|
8513
|
-
|
8513
|
+
J(i.start, U.FULL_MONTH_DAY),
|
8514
8514
|
" -",
|
8515
8515
|
" ",
|
8516
|
-
|
8516
|
+
J(i.end, U.FULL_MONTH_DAY)
|
8517
8517
|
] })
|
8518
8518
|
] }),
|
8519
8519
|
A > 650 ? /* @__PURE__ */ t(
|
@@ -8545,7 +8545,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8545
8545
|
borderRadius: 1,
|
8546
8546
|
marginBottom: 24
|
8547
8547
|
},
|
8548
|
-
children: /* @__PURE__ */ t(
|
8548
|
+
children: /* @__PURE__ */ t(Z, { sx: { minHeight: "auto" }, children: /* @__PURE__ */ d(w, { width: "100%", children: [
|
8549
8549
|
/* @__PURE__ */ d(
|
8550
8550
|
w,
|
8551
8551
|
{
|
@@ -8557,7 +8557,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8557
8557
|
children: [
|
8558
8558
|
/* @__PURE__ */ d(w, { alignItems: "center", flexDirection: "row", gap: 8, children: [
|
8559
8559
|
/* @__PURE__ */ t(
|
8560
|
-
|
8560
|
+
me,
|
8561
8561
|
{
|
8562
8562
|
alt: n.institution_logo,
|
8563
8563
|
institutionGuid: C || "",
|
@@ -8624,7 +8624,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8624
8624
|
}
|
8625
8625
|
);
|
8626
8626
|
}, Zd = I(Jd), $d = () => {
|
8627
|
-
const { cashflow: A } = b(), { isDesktop: e } = jA(), { onEvent: n } =
|
8627
|
+
const { cashflow: A } = b(), { isDesktop: e } = jA(), { onEvent: n } = V(), [r, a] = g.useState(0), i = (o, s) => {
|
8628
8628
|
a(s);
|
8629
8629
|
};
|
8630
8630
|
return g.useEffect(() => {
|
@@ -8664,7 +8664,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8664
8664
|
/* @__PURE__ */ t(Pt, { index: 0, name: "cashflow", value: r, children: /* @__PURE__ */ t(D, { sx: { m: e ? 48 : 16 }, children: /* @__PURE__ */ t(Zd, {}) }) }),
|
8665
8665
|
/* @__PURE__ */ t(Pt, { index: 1, name: "cashflow", value: r, children: /* @__PURE__ */ t(D, { sx: { m: e ? 48 : 16 }, children: /* @__PURE__ */ t(Vd, {}) }) })
|
8666
8666
|
] });
|
8667
|
-
}, Au = I($d),
|
8667
|
+
}, Au = I($d), we = ({
|
8668
8668
|
amount: A,
|
8669
8669
|
isMobile: e = !1,
|
8670
8670
|
isTotal: n = !1,
|
@@ -8702,7 +8702,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8702
8702
|
return /* @__PURE__ */ d(w, { flexDirection: "row", gap: 24, justifyContent: "center", my: T ? 24 : 42, children: [
|
8703
8703
|
T ? /* @__PURE__ */ d(w, { border: "1px solid", borderColor: "border.light", borderRadius: 1, mx: 16, width: "100%", children: [
|
8704
8704
|
/* @__PURE__ */ t(
|
8705
|
-
|
8705
|
+
we,
|
8706
8706
|
{
|
8707
8707
|
amount: C,
|
8708
8708
|
isMobile: !0,
|
@@ -8711,7 +8711,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8711
8711
|
),
|
8712
8712
|
/* @__PURE__ */ t(X, {}),
|
8713
8713
|
E ? /* @__PURE__ */ t(
|
8714
|
-
|
8714
|
+
we,
|
8715
8715
|
{
|
8716
8716
|
amount: v,
|
8717
8717
|
isMobile: !0,
|
@@ -8722,14 +8722,14 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8722
8722
|
iA,
|
8723
8723
|
{
|
8724
8724
|
onClick: () => e(!0),
|
8725
|
-
startIcon: /* @__PURE__ */ t(
|
8725
|
+
startIcon: /* @__PURE__ */ t(N, { name: "add" }),
|
8726
8726
|
sx: { fontSize: 13 },
|
8727
8727
|
children: r.add_income
|
8728
8728
|
}
|
8729
8729
|
),
|
8730
8730
|
/* @__PURE__ */ t(X, {}),
|
8731
8731
|
/* @__PURE__ */ t(
|
8732
|
-
|
8732
|
+
we,
|
8733
8733
|
{
|
8734
8734
|
amount: f,
|
8735
8735
|
isMobile: !0,
|
@@ -8739,7 +8739,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8739
8739
|
),
|
8740
8740
|
/* @__PURE__ */ t(X, {}),
|
8741
8741
|
/* @__PURE__ */ t(
|
8742
|
-
|
8742
|
+
we,
|
8743
8743
|
{
|
8744
8744
|
amount: p,
|
8745
8745
|
isMobile: !0,
|
@@ -8755,11 +8755,11 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8755
8755
|
}
|
8756
8756
|
)
|
8757
8757
|
] }) : /* @__PURE__ */ d(aA, { children: [
|
8758
|
-
/* @__PURE__ */ t(
|
8758
|
+
/* @__PURE__ */ t(we, { amount: C, label: r.cash_and_bank }),
|
8759
8759
|
E ? /* @__PURE__ */ d(aA, { children: [
|
8760
8760
|
/* @__PURE__ */ t(y, { sx: { fontSize: 25, lineHeight: 1 }, children: "+" }),
|
8761
8761
|
/* @__PURE__ */ t(
|
8762
|
-
|
8762
|
+
we,
|
8763
8763
|
{
|
8764
8764
|
amount: v,
|
8765
8765
|
label: r.to_be_received
|
@@ -8769,16 +8769,16 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8769
8769
|
iA,
|
8770
8770
|
{
|
8771
8771
|
onClick: () => e(!0),
|
8772
|
-
startIcon: /* @__PURE__ */ t(
|
8772
|
+
startIcon: /* @__PURE__ */ t(N, { name: "add" }),
|
8773
8773
|
sx: { fontSize: 13 },
|
8774
8774
|
children: r.add_income
|
8775
8775
|
}
|
8776
8776
|
),
|
8777
8777
|
/* @__PURE__ */ t(y, { sx: { fontSize: 25, lineHeight: 1 }, children: "-" }),
|
8778
|
-
/* @__PURE__ */ t(
|
8778
|
+
/* @__PURE__ */ t(we, { amount: f, label: r.to_be_paid_out }),
|
8779
8779
|
/* @__PURE__ */ t(y, { sx: { fontSize: 25, lineHeight: 1 }, children: "=" }),
|
8780
8780
|
/* @__PURE__ */ t(
|
8781
|
-
|
8781
|
+
we,
|
8782
8782
|
{
|
8783
8783
|
amount: p,
|
8784
8784
|
label: r.remaining_cash,
|
@@ -8807,7 +8807,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8807
8807
|
}, tu = I(eu), nu = ({ handleNextStep: A }) => {
|
8808
8808
|
const { completeOnboarding: e } = Hn(), { cashflow: n } = b(), r = CA();
|
8809
8809
|
return /* @__PURE__ */ d(w, { children: [
|
8810
|
-
/* @__PURE__ */ t(
|
8810
|
+
/* @__PURE__ */ t(ve, { pb: 12, children: n.welcome_title }),
|
8811
8811
|
/* @__PURE__ */ t(
|
8812
8812
|
Kt,
|
8813
8813
|
{
|
@@ -8831,7 +8831,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8831
8831
|
mr: 24,
|
8832
8832
|
sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
|
8833
8833
|
width: 44,
|
8834
|
-
children: /* @__PURE__ */ t(
|
8834
|
+
children: /* @__PURE__ */ t(N, { color: "primary", name: "currency_exchange" })
|
8835
8835
|
}
|
8836
8836
|
),
|
8837
8837
|
n.bullet_one
|
@@ -8847,7 +8847,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8847
8847
|
mr: 24,
|
8848
8848
|
sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
|
8849
8849
|
width: 44,
|
8850
|
-
children: /* @__PURE__ */ t(
|
8850
|
+
children: /* @__PURE__ */ t(N, { color: "primary", name: "cardiology" })
|
8851
8851
|
}
|
8852
8852
|
),
|
8853
8853
|
n.bullet_two
|
@@ -8863,7 +8863,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8863
8863
|
mr: 24,
|
8864
8864
|
sx: { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0 },
|
8865
8865
|
width: 44,
|
8866
|
-
children: /* @__PURE__ */ t(
|
8866
|
+
children: /* @__PURE__ */ t(N, { color: "primary", name: "flare" })
|
8867
8867
|
}
|
8868
8868
|
),
|
8869
8869
|
n.bullet_three
|
@@ -8878,7 +8878,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8878
8878
|
const { cashflow: A } = b();
|
8879
8879
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
8880
8880
|
/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("img", { alt: "Loading", src: au }) }),
|
8881
|
-
/* @__PURE__ */ t(
|
8881
|
+
/* @__PURE__ */ t(ve, { pb: 12, children: A.loading_title }),
|
8882
8882
|
/* @__PURE__ */ t(fA, { children: A.loading_description })
|
8883
8883
|
] });
|
8884
8884
|
}, ou = I(iu), su = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAakAAAHiCAYAAABSszP0AACU5ElEQVR4Ae2dCZwb5Xn/n/fVsdpb62Ot9YFlY/Caywsh2EkIXnLZCaE2aRPT0NQmbQNJkwJtQtq0KaZH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7qv3oEcY05WxOFS53zQkFDpiUtmxhkruXSAIAjCMowM+kYoj1DdYWBffW43dKXpd+fpd4UaEaqUO0/oEh8rP2eCIAhbYFXWWMrt9qglC1FTZZSMCZVet5tVcTitjJKezwOtOr1llAiCIGxDagDVW4duswE3061gVQznM2oCgfkuS60enh5BmRAqI+ns+sTHSBwudVx9QoX7UA0/giBsAtcVO/ky26F7AW0cdoCRMkoKXKdWpzA7lRzTtxXoMORSxPMtdM5fVtuRYLr35oIxHEzfxjJRAEFdn0dqKcBtMAqFxSeVzn6bWlFe33Gv1lVGSatkgVUd9ZwzQRCEhXC1KoSe2Elqvcwh3SV49JZR0gZ9bNdupHSQHlLrrvyGLDX9g36qosaofI/5zhnLIgn1/fl1fR7aWio952F0X71llHDff2VLdJVRIgiCsBCuLlwVcqY/qmumv1XXAtqpZZQKud0mZu+dqhVhJimh0mcFTgz69+ge9PWUUUoVhL06XXO+cFkpo+cRl9ao2WWUUue9WV30SxAEUSFSwyYmG7gAG/Wt19lQDwfDO6DekoaInemirOaiNRfkcF/B95dqWYFu0DtNbYUxsW9Qnsvmgt17tfPQ08kYwTgcg66CHZK1lhxMumad0lKFIAgincigL2CeCtzrXQtkLJPPqhTnVNLDQd3uK73JF0YqakysM7Jy0a++OFxqTRctzCUIwrZMb3qYagJ4C2DAv5AVYQStISLAVmmB3ZbXArOy+V5KoLDJ4b0FLRkArRV8uKAVmNp3qzzuekDXXr7PLmUxoluzw6Jmi/rb16cs3ZAl1itBEIQlpCwZ84PleEyMx+i1kFLrdsw/j1T7+k7d+xvdV8/+qTJRnYaObQSrjksQBFFG/j8PBBCz3Jop0AAAAABJRU5ErkJggg==", cu = Ji`
|
@@ -8889,24 +8889,24 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8889
8889
|
transform: rotate(360deg);
|
8890
8890
|
}
|
8891
8891
|
`, lu = () => {
|
8892
|
-
const { addCashflowEvent: A, addCashflowSequence: e, cashflowSequences: n } = KA(), { cashflow: r, common: a } = b(), { completeOnboarding: i } = Hn(), { isDirty: o } = At(), { isMobile: s } = jA(), { setDisplayedDate: c } = vA(), { filter: u, setFilter: l, transactions: h } = cA(), C = CA(), [f, v] = ie(!0), [p, E] = g.useState(q.EveryMonth), [T, S] = ie(!1), [L, O] = g.useState(null), [
|
8892
|
+
const { addCashflowEvent: A, addCashflowSequence: e, cashflowSequences: n } = KA(), { cashflow: r, common: a } = b(), { completeOnboarding: i } = Hn(), { isDirty: o } = At(), { isMobile: s } = jA(), { setDisplayedDate: c } = vA(), { filter: u, setFilter: l, transactions: h } = cA(), C = CA(), [f, v] = ie(!0), [p, E] = g.useState(q.EveryMonth), [T, S] = ie(!1), [L, O] = g.useState(null), [M, x] = ie(1), [K, B] = ie([]), [_, G] = ie(""), k = g.useMemo(
|
8893
8893
|
() => h.find((sA) => sA.guid === _),
|
8894
8894
|
[_]
|
8895
|
-
),
|
8895
|
+
), P = !!n.length, W = async () => {
|
8896
8896
|
x(2), c(
|
8897
8897
|
// Beginning of the month, 90 days before today
|
8898
|
-
EA(ne(
|
8899
|
-
|
8898
|
+
EA(ne($(), 90)),
|
8899
|
+
$()
|
8900
8900
|
), l({ ...u, custom: ht }), x(3);
|
8901
8901
|
}, rA = async () => {
|
8902
8902
|
if (!(K.length < 1)) {
|
8903
8903
|
S(!0);
|
8904
8904
|
for (let sA = 0; sA < K.length; sA++) {
|
8905
|
-
const bA = K[sA],
|
8905
|
+
const bA = K[sA], Pe = Za(
|
8906
8906
|
bA,
|
8907
8907
|
bA.frequency,
|
8908
8908
|
bA.nextDate
|
8909
|
-
), le = await e(
|
8909
|
+
), le = await e(Pe);
|
8910
8910
|
if (le) {
|
8911
8911
|
const Ge = $a(le, bA);
|
8912
8912
|
await A(Ge);
|
@@ -8914,7 +8914,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8914
8914
|
}
|
8915
8915
|
i();
|
8916
8916
|
}
|
8917
|
-
}, IA = !
|
8917
|
+
}, IA = !k && f || !k && K.length < 1;
|
8918
8918
|
return /* @__PURE__ */ d(
|
8919
8919
|
D,
|
8920
8920
|
{
|
@@ -8929,16 +8929,16 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8929
8929
|
py: 24
|
8930
8930
|
},
|
8931
8931
|
children: [
|
8932
|
-
|
8932
|
+
M === 1 && /* @__PURE__ */ t(
|
8933
8933
|
D,
|
8934
8934
|
{
|
8935
8935
|
sx: {
|
8936
8936
|
...s ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
8937
8937
|
},
|
8938
|
-
children: /* @__PURE__ */ t(ru, { handleNextStep:
|
8938
|
+
children: /* @__PURE__ */ t(ru, { handleNextStep: W })
|
8939
8939
|
}
|
8940
8940
|
),
|
8941
|
-
|
8941
|
+
M === 2 && /* @__PURE__ */ t(
|
8942
8942
|
D,
|
8943
8943
|
{
|
8944
8944
|
sx: {
|
@@ -8947,16 +8947,16 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8947
8947
|
children: /* @__PURE__ */ t(ou, {})
|
8948
8948
|
}
|
8949
8949
|
),
|
8950
|
-
|
8950
|
+
M === 3 && /* @__PURE__ */ d(
|
8951
8951
|
D,
|
8952
8952
|
{
|
8953
8953
|
sx: {
|
8954
8954
|
...s ? { display: "flex", flexDirection: "column", maxWidth: "100%", padding: "0 16px" } : { maxWidth: 590, ml: "40%", mr: 90 }
|
8955
8955
|
},
|
8956
8956
|
children: [
|
8957
|
-
/* @__PURE__ */ t(
|
8957
|
+
/* @__PURE__ */ t(ve, { pb: 12, children: r.add_income_title }),
|
8958
8958
|
/* @__PURE__ */ t(fA, { mb: 24, children: r.add_income_description }),
|
8959
|
-
K.length > 0 && !
|
8959
|
+
K.length > 0 && !k && /* @__PURE__ */ d(aA, { children: [
|
8960
8960
|
/* @__PURE__ */ t(oA, { children: K.map((sA, bA) => /* @__PURE__ */ d(g.Fragment, { children: [
|
8961
8961
|
/* @__PURE__ */ t(kn, { bgcolor: "background.paper", children: jt(
|
8962
8962
|
gA(sA.nextDate || sA.date)
|
@@ -8970,7 +8970,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8970
8970
|
iA,
|
8971
8971
|
{
|
8972
8972
|
onClick: () => v(!0),
|
8973
|
-
startIcon: /* @__PURE__ */ t(
|
8973
|
+
startIcon: /* @__PURE__ */ t(N, { name: "add", size: 20 }),
|
8974
8974
|
children: r.add_additional_income_button
|
8975
8975
|
}
|
8976
8976
|
)
|
@@ -8985,12 +8985,12 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
8985
8985
|
custom: (bA) => sA ? ti(bA, sA) : ht(bA)
|
8986
8986
|
}),
|
8987
8987
|
onSelected: (sA) => {
|
8988
|
-
|
8988
|
+
G(sA), v(!1);
|
8989
8989
|
}
|
8990
8990
|
}
|
8991
8991
|
),
|
8992
|
-
!
|
8993
|
-
|
8992
|
+
!P && o && /* @__PURE__ */ t(fA, { color: "error", mt: 16, children: r.confirm_error }),
|
8993
|
+
k && /* @__PURE__ */ d(aA, { children: [
|
8994
8994
|
/* @__PURE__ */ t(
|
8995
8995
|
ei,
|
8996
8996
|
{
|
@@ -9000,17 +9000,17 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
9000
9000
|
nextDate: L,
|
9001
9001
|
onFrequencyChange: E,
|
9002
9002
|
onNextDateChange: O,
|
9003
|
-
transaction:
|
9003
|
+
transaction: k
|
9004
9004
|
}
|
9005
9005
|
),
|
9006
9006
|
/* @__PURE__ */ d(w, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
9007
9007
|
/* @__PURE__ */ t(
|
9008
9008
|
iA,
|
9009
9009
|
{
|
9010
|
-
"aria-disabled": !
|
9010
|
+
"aria-disabled": !k || !L,
|
9011
9011
|
onClick: () => {
|
9012
9012
|
const sA = [...K];
|
9013
|
-
sA.push({ ...
|
9013
|
+
sA.push({ ...k, nextDate: L, frequency: p }), B(sA), G("");
|
9014
9014
|
},
|
9015
9015
|
variant: "contained",
|
9016
9016
|
children: a.confirm_button
|
@@ -9020,7 +9020,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
9020
9020
|
iA,
|
9021
9021
|
{
|
9022
9022
|
onClick: () => {
|
9023
|
-
|
9023
|
+
G(""), v(!0), W();
|
9024
9024
|
},
|
9025
9025
|
variant: "outlined",
|
9026
9026
|
children: a.cancel_button
|
@@ -9028,14 +9028,14 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
9028
9028
|
)
|
9029
9029
|
] })
|
9030
9030
|
] }),
|
9031
|
-
K.length > 0 && !
|
9031
|
+
K.length > 0 && !k && /* @__PURE__ */ d(w, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
9032
9032
|
/* @__PURE__ */ t(
|
9033
9033
|
iA,
|
9034
9034
|
{
|
9035
9035
|
"aria-disabled": K.length < 1 || T,
|
9036
9036
|
onClick: rA,
|
9037
9037
|
startIcon: T ? /* @__PURE__ */ t(
|
9038
|
-
|
9038
|
+
N,
|
9039
9039
|
{
|
9040
9040
|
name: "progress_activity",
|
9041
9041
|
sx: {
|
@@ -9062,7 +9062,7 @@ const Ud = ({ activity: A }) => /* @__PURE__ */ d(aA, { children: [
|
|
9062
9062
|
setSelectedAccounts: a,
|
9063
9063
|
shouldDisableNextDate: i,
|
9064
9064
|
shouldDisablePrevDate: o
|
9065
|
-
} = vA(), { onEvent: s } =
|
9065
|
+
} = vA(), { onEvent: s } = V(), { cashAccounts: c } = OA(), { setFilter: u } = cA(), { userProfile: l } = Qt(), { dateRange: h, setSelectedCashAccounts: C } = At(), { cashflow: f } = b(), [v, p] = g.useState(!1);
|
9066
9066
|
return g.useEffect(() => {
|
9067
9067
|
a(c);
|
9068
9068
|
}, [c]), g.useEffect(() => {
|
@@ -9143,7 +9143,7 @@ class Xr {
|
|
9143
9143
|
}
|
9144
9144
|
let hu = class {
|
9145
9145
|
// Cashflow is hard-coded to display 30 days starting from today
|
9146
|
-
dateRange = { start:
|
9146
|
+
dateRange = { start: $(), end: ce($(), 30) };
|
9147
9147
|
isDirty = !1;
|
9148
9148
|
nextIncome = void 0;
|
9149
9149
|
upcomingExpenses = [];
|
@@ -9153,7 +9153,7 @@ let hu = class {
|
|
9153
9153
|
}
|
9154
9154
|
// Returns the number of days until the next income activity or 0 if there is no income activity
|
9155
9155
|
get daysUntilNextIncome() {
|
9156
|
-
return this.nextIncome ? Math.abs(fo(
|
9156
|
+
return this.nextIncome ? Math.abs(fo($(), this.nextIncome.expectedDate)) : 0;
|
9157
9157
|
}
|
9158
9158
|
// Returns the expenses (Activities) until the next income activity or the end of the month
|
9159
9159
|
// if there is no income activity
|
@@ -9268,7 +9268,7 @@ const vu = /^[ a-zA-ZÀ-ÿ0-9]+$/, mu = 50, Qr = 65, pu = ({
|
|
9268
9268
|
),
|
9269
9269
|
/* @__PURE__ */ t(oe, { sx: { boxShadow: "none" }, children: /* @__PURE__ */ t(oA, { children: /* @__PURE__ */ d(D, { height: A, overflow: "auto", ref: l, children: [
|
9270
9270
|
/* @__PURE__ */ d(D, { height: h.getTotalSize(), position: "relative", children: [
|
9271
|
-
n && /* @__PURE__ */ t(
|
9271
|
+
n && /* @__PURE__ */ t(Ee, { label: "Loading...", size: 32 }),
|
9272
9272
|
!n && h.getVirtualItems().length > 0 && h.getVirtualItems().map((C) => {
|
9273
9273
|
const f = r[C.index];
|
9274
9274
|
return /* @__PURE__ */ d(
|
@@ -9279,8 +9279,8 @@ const vu = /^[ a-zA-ZÀ-ÿ0-9]+$/, mu = 50, Qr = 65, pu = ({
|
|
9279
9279
|
sx: { transform: `translateY(${C.start}px)` },
|
9280
9280
|
width: "100%",
|
9281
9281
|
children: [
|
9282
|
-
/* @__PURE__ */ t(
|
9283
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
9282
|
+
/* @__PURE__ */ t(Z, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ d(dA, { onClick: () => c(f.guid), children: [
|
9283
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(xe, { categoryGuid: "", merchantGuid: f.guid }) }),
|
9284
9284
|
/* @__PURE__ */ t(lA, { primary: f.name })
|
9285
9285
|
] }) }),
|
9286
9286
|
/* @__PURE__ */ t(X, { sx: { ml: 24 } })
|
@@ -9319,13 +9319,13 @@ class Eu {
|
|
9319
9319
|
loadMerchants = async (e = "") => {
|
9320
9320
|
this.isLoading = !0;
|
9321
9321
|
const n = await this.api.getMerchants([e]);
|
9322
|
-
|
9322
|
+
nA(() => {
|
9323
9323
|
this.merchants = n, this.isLoading = !1;
|
9324
9324
|
});
|
9325
9325
|
};
|
9326
9326
|
loadMerchantByGuid = async (e) => {
|
9327
9327
|
const n = await this.api.getMerchantByGuid(e);
|
9328
|
-
|
9328
|
+
nA(() => this.merchant = n);
|
9329
9329
|
};
|
9330
9330
|
}
|
9331
9331
|
const eC = (A) => {
|
@@ -9372,7 +9372,7 @@ class wu {
|
|
9372
9372
|
try {
|
9373
9373
|
this.isLoading = !0;
|
9374
9374
|
const e = await this.api.getNotifications();
|
9375
|
-
|
9375
|
+
nA(() => {
|
9376
9376
|
this.notifications = e, this.recentNotifications = yu(e), this.isLoading = !1;
|
9377
9377
|
});
|
9378
9378
|
} catch (e) {
|
@@ -9400,13 +9400,13 @@ const Lu = (A, e) => {
|
|
9400
9400
|
}
|
9401
9401
|
};
|
9402
9402
|
return a || o ? /* @__PURE__ */ t("div", { style: s.badge, children: /* @__PURE__ */ t(
|
9403
|
-
|
9403
|
+
me,
|
9404
9404
|
{
|
9405
9405
|
alt: a?.institutionName || r.institution_logo_alt,
|
9406
9406
|
institutionGuid: a?.institution_guid ?? "",
|
9407
9407
|
size: 33
|
9408
9408
|
}
|
9409
|
-
) }) : /* @__PURE__ */ t("div", { style: s.badge, children: /* @__PURE__ */ t(
|
9409
|
+
) }) : /* @__PURE__ */ t("div", { style: s.badge, children: /* @__PURE__ */ t(Oe, { categoryGuid: i?.category_guid, size: 36 }) });
|
9410
9410
|
}, Su = I(Tu), Iu = ({ notification: A, onClick: e }) => {
|
9411
9411
|
const { updateNotification: n } = Ba(), r = Je(), a = {
|
9412
9412
|
card: {
|
@@ -9448,7 +9448,7 @@ const Lu = (A, e) => {
|
|
9448
9448
|
return se(() => () => {
|
9449
9449
|
r().finally();
|
9450
9450
|
}, []), /* @__PURE__ */ d(so, { sx: { p: 16 }, children: [
|
9451
|
-
e && /* @__PURE__ */ t(
|
9451
|
+
e && /* @__PURE__ */ t(Ee, { label: a.loading, size: 40 }),
|
9452
9452
|
!e && n.length === 0 && /* @__PURE__ */ t(te, { sx: { p: 16 }, children: /* @__PURE__ */ t(y, { fontStyle: "italic", sx: { textAlign: "center" }, children: a.no_notifications }) }),
|
9453
9453
|
!e && n.sort((o, s) => s.delivered_at - o.delivered_at).map((o, s) => {
|
9454
9454
|
const c = Lu(s, n);
|
@@ -9474,7 +9474,7 @@ class Ou {
|
|
9474
9474
|
loadUserProfile = async () => {
|
9475
9475
|
try {
|
9476
9476
|
const e = await this.api.getUserProfile();
|
9477
|
-
|
9477
|
+
nA(() => {
|
9478
9478
|
this.userProfile = e;
|
9479
9479
|
});
|
9480
9480
|
} catch (e) {
|
@@ -9484,7 +9484,7 @@ class Ou {
|
|
9484
9484
|
updateUserProfile = async (e) => {
|
9485
9485
|
try {
|
9486
9486
|
const n = await this.api.updateUserProfile(e);
|
9487
|
-
|
9487
|
+
nA(() => {
|
9488
9488
|
this.userProfile = n;
|
9489
9489
|
});
|
9490
9490
|
} catch (n) {
|
@@ -9534,7 +9534,7 @@ const an = ({
|
|
9534
9534
|
primaryText: r,
|
9535
9535
|
secondaryText: a
|
9536
9536
|
}) => /* @__PURE__ */ d(aA, { children: [
|
9537
|
-
/* @__PURE__ */ t(
|
9537
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ d(dA, { onClick: n, children: [
|
9538
9538
|
/* @__PURE__ */ t(lA, { primary: r, secondary: a }),
|
9539
9539
|
A
|
9540
9540
|
] }) }),
|
@@ -9549,7 +9549,7 @@ const an = ({
|
|
9549
9549
|
(r) => r.member_guid === n.guid && n.successfully_aggregated_at && r.guid !== e.guid
|
9550
9550
|
);
|
9551
9551
|
}, Pu = () => {
|
9552
|
-
const [A, e] = g.useState(!1), [n, r] = g.useState(!1), [a, i] = g.useState(!1), [o, s] = g.useState({}), { selectedAccount: c } = ae(), { mergeAccounts: u, updateAccount: l } = OA(), { accounts: h } = b(), C = xu(), { onEvent: f } =
|
9552
|
+
const [A, e] = g.useState(!1), [n, r] = g.useState(!1), [a, i] = g.useState(!1), [o, s] = g.useState({}), { selectedAccount: c } = ae(), { mergeAccounts: u, updateAccount: l } = OA(), { accounts: h } = b(), C = xu(), { onEvent: f } = V(), v = (E) => {
|
9553
9553
|
l({
|
9554
9554
|
...c,
|
9555
9555
|
...E
|
@@ -9582,7 +9582,7 @@ const an = ({
|
|
9582
9582
|
},
|
9583
9583
|
primaryText: c.is_closed ? h.mark_as_open : h.mark_as_closed,
|
9584
9584
|
secondaryText: h.this_will_set_the_account_balance_to_0,
|
9585
|
-
children: /* @__PURE__ */ t(
|
9585
|
+
children: /* @__PURE__ */ t(N, { name: "chevron_right" })
|
9586
9586
|
}
|
9587
9587
|
),
|
9588
9588
|
C.length > 0 && /* @__PURE__ */ t(
|
@@ -9596,7 +9596,7 @@ const an = ({
|
|
9596
9596
|
},
|
9597
9597
|
primaryText: h.mark_as_duplicate,
|
9598
9598
|
secondaryText: h.if_a_connected_account_is_showing_up_twice,
|
9599
|
-
children: /* @__PURE__ */ t(
|
9599
|
+
children: /* @__PURE__ */ t(N, { name: "chevron_right" })
|
9600
9600
|
}
|
9601
9601
|
),
|
9602
9602
|
/* @__PURE__ */ t(
|
@@ -9799,11 +9799,11 @@ const an = ({
|
|
9799
9799
|
};
|
9800
9800
|
default: {
|
9801
9801
|
const r = () => {
|
9802
|
-
const a = A.successfully_aggregated_at ? NA(A.successfully_aggregated_at) : void 0, i = a &&
|
9802
|
+
const a = A.successfully_aggregated_at ? NA(A.successfully_aggregated_at) : void 0, i = a && J(a, U.TIME_STAMP_HOUR_MINUTE);
|
9803
9803
|
if (i)
|
9804
9804
|
return xn(a) ? z(e.last_updated_at, e.today, i) : _o(a) ? z(e.last_updated_at, e.yesterday, i) : z(
|
9805
9805
|
e.last_updated_at,
|
9806
|
-
|
9806
|
+
J(a, U.MONTH_DAY_YEAR),
|
9807
9807
|
i
|
9808
9808
|
);
|
9809
9809
|
};
|
@@ -9837,11 +9837,11 @@ const an = ({
|
|
9837
9837
|
};
|
9838
9838
|
return /* @__PURE__ */ d(aA, { children: [
|
9839
9839
|
/* @__PURE__ */ t(Ve, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(y, { bold: !0, component: "h2", variant: "XSmall", children: a.connection_status }) }),
|
9840
|
-
/* @__PURE__ */ t(
|
9841
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
9840
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper" }, children: r.is_manual || !s.ctaCopy ? /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
|
9841
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(Se, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
|
9842
9842
|
/* @__PURE__ */ t(lA, { primary: s.mainMessage, secondary: s.secondaryMessage })
|
9843
9843
|
] }) : /* @__PURE__ */ d(dA, { onClick: () => e(!0), children: [
|
9844
|
-
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
9844
|
+
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(Se, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
|
9845
9845
|
/* @__PURE__ */ t(
|
9846
9846
|
lA,
|
9847
9847
|
{
|
@@ -9853,13 +9853,13 @@ const an = ({
|
|
9853
9853
|
] })
|
9854
9854
|
}
|
9855
9855
|
),
|
9856
|
-
/* @__PURE__ */ t(
|
9856
|
+
/* @__PURE__ */ t(N, { name: "chevron_right" })
|
9857
9857
|
] }) }),
|
9858
9858
|
/* @__PURE__ */ t(X, { sx: { ml: r.is_manual || !r.institution_url ? 0 : 24 } }),
|
9859
9859
|
!r.is_manual && r.institution_url && /* @__PURE__ */ d(aA, { children: [
|
9860
|
-
/* @__PURE__ */ t(
|
9860
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ d(dA, { component: "a", href: r.institution_url, target: "_blank", children: [
|
9861
9861
|
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
9862
|
-
|
9862
|
+
Se,
|
9863
9863
|
{
|
9864
9864
|
backingSx: {
|
9865
9865
|
backgroundColor: n === rr.LIGHT ? "grey.300" : "grey.700",
|
@@ -9878,7 +9878,7 @@ const an = ({
|
|
9878
9878
|
}
|
9879
9879
|
) }),
|
9880
9880
|
/* @__PURE__ */ t(lA, { primary: r.name, secondary: r.institution_url }),
|
9881
|
-
/* @__PURE__ */ t(
|
9881
|
+
/* @__PURE__ */ t(N, { name: "launch" })
|
9882
9882
|
] }) }),
|
9883
9883
|
/* @__PURE__ */ t(X, {})
|
9884
9884
|
] }),
|
@@ -9979,7 +9979,7 @@ const an = ({
|
|
9979
9979
|
}
|
9980
9980
|
);
|
9981
9981
|
}, zu = I(Hu), qu = () => {
|
9982
|
-
const A = window.app?.config, { onEvent: e } =
|
9982
|
+
const A = window.app?.config, { onEvent: e } = V(), { selectedAccount: n } = ae(), { accounts: r } = b(), a = Qd(n, r), i = n.member_is_managed_by_user || !n.member_is_managed_by_user && A.enable_renaming_home_accounts, [o, s] = g.useState(!1), [c, u] = g.useState(a[0]), l = a.filter(
|
9983
9983
|
(h) => i || n[h.name] || n[h.name] === 0
|
9984
9984
|
);
|
9985
9985
|
return /* @__PURE__ */ d(aA, { children: [
|
@@ -9993,7 +9993,7 @@ const an = ({
|
|
9993
9993
|
}
|
9994
9994
|
);
|
9995
9995
|
return /* @__PURE__ */ t(g.Fragment, { children: i ? /* @__PURE__ */ d(aA, { children: [
|
9996
|
-
/* @__PURE__ */ t(
|
9996
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper", px: 0 }, children: /* @__PURE__ */ d(
|
9997
9997
|
dA,
|
9998
9998
|
{
|
9999
9999
|
onClick: () => {
|
@@ -10001,13 +10001,13 @@ const an = ({
|
|
10001
10001
|
},
|
10002
10002
|
children: [
|
10003
10003
|
v,
|
10004
|
-
/* @__PURE__ */ t(
|
10004
|
+
/* @__PURE__ */ t(N, { name: "chevron_right" })
|
10005
10005
|
]
|
10006
10006
|
}
|
10007
10007
|
) }),
|
10008
10008
|
/* @__PURE__ */ t(X, { sx: { ml: f ? 0 : 24 } })
|
10009
10009
|
] }) : C && /* @__PURE__ */ d(aA, { children: [
|
10010
|
-
/* @__PURE__ */ t(
|
10010
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper", px: 24 }, children: v }),
|
10011
10011
|
/* @__PURE__ */ t(X, { sx: { ml: f ? 0 : 24 } })
|
10012
10012
|
] }) }, h.name);
|
10013
10013
|
}),
|
@@ -10021,7 +10021,7 @@ const an = ({
|
|
10021
10021
|
)
|
10022
10022
|
] });
|
10023
10023
|
}, Ku = I(qu), Bu = () => {
|
10024
|
-
const { onEvent: A } =
|
10024
|
+
const { onEvent: A } = V();
|
10025
10025
|
return g.useEffect(() => A(Q.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ d(oA, { children: [
|
10026
10026
|
/* @__PURE__ */ t(Ku, {}),
|
10027
10027
|
/* @__PURE__ */ t(Ru, {}),
|
@@ -10084,7 +10084,7 @@ const an = ({
|
|
10084
10084
|
)
|
10085
10085
|
] });
|
10086
10086
|
}, Gu = I(ku), Xu = () => {
|
10087
|
-
const [A, e] = g.useState(""), { onEvent: n } =
|
10087
|
+
const [A, e] = g.useState(""), { onEvent: n } = V(), { selectedAccount: r } = ae(), { accounts: a } = b(), { setFilter: i, sortedTransactions: o } = cA(), s = g.useMemo(() => o.find((c) => c.guid === A), [A]);
|
10088
10088
|
return g.useEffect(() => {
|
10089
10089
|
i({
|
10090
10090
|
dateRange: { start: mo(po(), 90), end: Eo() },
|
@@ -10139,15 +10139,15 @@ const an = ({
|
|
10139
10139
|
/* @__PURE__ */ t(Pt, { index: 1, name: "account-details", value: A, children: /* @__PURE__ */ t(_u, {}) })
|
10140
10140
|
] });
|
10141
10141
|
}, ju = I(Fu), Vn = (A) => A.top_level_category_guid === m.INCOME || A.category_guid === m.INCOME, ci = (A) => gr.includes(A.top_level_category_guid) || gr.includes(A.category_guid), Uu = (A) => A.top_level_category_guid === m.TRANSFER || A.category_guid === m.TRANSFER, li = (A) => !Vn(A) && !ci(A) && !Uu(A), jr = (A) => [...new Set(A.map((n) => n.category_guid))].map((n) => A.filter((r) => r.category_guid === n).map((r) => ({
|
10142
|
-
x:
|
10142
|
+
x: J(new Date(r.year, r.month), U.MONTH_SHORT_YEAR),
|
10143
10143
|
y: r.total
|
10144
10144
|
}))), Jn = (A, e) => {
|
10145
10145
|
const n = [];
|
10146
|
-
let r = EA(
|
10146
|
+
let r = EA(fe(/* @__PURE__ */ new Date(), 5));
|
10147
10147
|
const a = /* @__PURE__ */ new Date();
|
10148
10148
|
for (; hA(r, a); )
|
10149
10149
|
n.push({
|
10150
|
-
x:
|
10150
|
+
x: J(r, U.MONTH_SHORT),
|
10151
10151
|
y: A.filter((i) => i.year === r.getFullYear() && i.month === r.getMonth() + 1).reduce((i, o) => i + o.total, 0)
|
10152
10152
|
}), r = YA(r, 1);
|
10153
10153
|
return n;
|
@@ -10199,7 +10199,7 @@ const an = ({
|
|
10199
10199
|
n && e([r]).finally(() => {
|
10200
10200
|
i(!0);
|
10201
10201
|
});
|
10202
|
-
}, [n, r]), !n || !a ? /* @__PURE__ */ t(
|
10202
|
+
}, [n, r]), !n || !a ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ d(
|
10203
10203
|
He,
|
10204
10204
|
{
|
10205
10205
|
sx: {
|
@@ -10214,7 +10214,7 @@ const an = ({
|
|
10214
10214
|
Bt,
|
10215
10215
|
{
|
10216
10216
|
sx: { pb: 0 },
|
10217
|
-
title: /* @__PURE__ */ t(sa, { sx: { pb: 4 }, children:
|
10217
|
+
title: /* @__PURE__ */ t(sa, { sx: { pb: 4 }, children: J(/* @__PURE__ */ new Date(), U.MONTH_LONG) })
|
10218
10218
|
}
|
10219
10219
|
),
|
10220
10220
|
/* @__PURE__ */ t(yn, { sx: { p: 0 }, children: /* @__PURE__ */ t(t1, {}) })
|
@@ -10232,7 +10232,7 @@ const an = ({
|
|
10232
10232
|
return /* @__PURE__ */ d(w, { p: 24, children: [
|
10233
10233
|
/* @__PURE__ */ d(w, { gap: 12, children: [
|
10234
10234
|
/* @__PURE__ */ t(
|
10235
|
-
|
10235
|
+
me,
|
10236
10236
|
{
|
10237
10237
|
alt: n.institution_logo_alt,
|
10238
10238
|
institutionGuid: e.institution_guid || "",
|
@@ -10255,7 +10255,7 @@ const an = ({
|
|
10255
10255
|
u && /* @__PURE__ */ t(w, { children: /* @__PURE__ */ t(r1, {}) })
|
10256
10256
|
] });
|
10257
10257
|
}, i1 = I(a1), o1 = () => {
|
10258
|
-
const [A, e] = g.useState(""), { accounts: n } = b(), { selectedAccounts: r } = vA(), { setSelectedAccount: a, setSelectedMember: i } = ae(), { members: o } = OA(), { onEvent: s } =
|
10258
|
+
const [A, e] = g.useState(""), { accounts: n } = b(), { selectedAccounts: r } = vA(), { setSelectedAccount: a, setSelectedMember: i } = ae(), { members: o } = OA(), { onEvent: s } = V(), c = [...new Set(r.map((l) => l.account_type))], u = r.find((l) => A === l.guid);
|
10259
10259
|
return g.useEffect(() => {
|
10260
10260
|
if (u) {
|
10261
10261
|
a(u);
|
@@ -10364,13 +10364,13 @@ const an = ({
|
|
10364
10364
|
},
|
10365
10365
|
title: n,
|
10366
10366
|
children: /* @__PURE__ */ d("div", { id: Rr, children: [
|
10367
|
-
l && /* @__PURE__ */ t(Rt, { status:
|
10368
|
-
c && /* @__PURE__ */ t(Rt, { status:
|
10367
|
+
l && /* @__PURE__ */ t(Rt, { status: Ie.Error }),
|
10368
|
+
c && /* @__PURE__ */ t(Rt, { status: Ie.Loading })
|
10369
10369
|
] })
|
10370
10370
|
}
|
10371
10371
|
);
|
10372
10372
|
}, l1 = I(c1), d1 = ({ onBackClick: A, sx: e = {} }) => {
|
10373
|
-
const [n, r] = g.useState(!1), [a, i] = g.useState(!1), { accounts: o, refreshMembers: s } = OA(), { accounts: c } = b(), { setSelectedAccounts: u, selectedAccountGuids: l } = vA(), { isDesktop: h } = jA(), { onEvent: C } =
|
10373
|
+
const [n, r] = g.useState(!1), [a, i] = g.useState(!1), { accounts: o, refreshMembers: s } = OA(), { accounts: c } = b(), { setSelectedAccounts: u, selectedAccountGuids: l } = vA(), { isDesktop: h } = jA(), { onEvent: C } = V();
|
10374
10374
|
g.useEffect(() => {
|
10375
10375
|
u(o);
|
10376
10376
|
}, [o]);
|
@@ -10401,7 +10401,7 @@ const an = ({
|
|
10401
10401
|
onBackClick: A,
|
10402
10402
|
sx: e,
|
10403
10403
|
title: c.title,
|
10404
|
-
children: a ? /* @__PURE__ */ t(
|
10404
|
+
children: a ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ d(aA, { children: [
|
10405
10405
|
/* @__PURE__ */ d(D, { sx: { px: h ? 24 : 12 }, children: [
|
10406
10406
|
l.length < 1 && /* @__PURE__ */ t(y, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
|
10407
10407
|
/* @__PURE__ */ t(s1, {})
|
@@ -10430,7 +10430,7 @@ const an = ({
|
|
10430
10430
|
sx: e,
|
10431
10431
|
title: r.mini_title,
|
10432
10432
|
children: /* @__PURE__ */ d(oA, { children: [
|
10433
|
-
i.length < 1 && /* @__PURE__ */ t(
|
10433
|
+
i.length < 1 && /* @__PURE__ */ t(Z, { sx: { justifyContent: "center" }, children: r.no_accounts }),
|
10434
10434
|
i.map((s, c) => {
|
10435
10435
|
const u = i.indexOf(s) === i.length - 1;
|
10436
10436
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
@@ -10964,7 +10964,7 @@ class v1 {
|
|
10964
10964
|
addAccount = async (e) => {
|
10965
10965
|
try {
|
10966
10966
|
const n = await this.api.createAccount(e);
|
10967
|
-
|
10967
|
+
nA(() => {
|
10968
10968
|
this.accounts = [...this.accounts, n];
|
10969
10969
|
});
|
10970
10970
|
} catch (n) {
|
@@ -10992,7 +10992,7 @@ class v1 {
|
|
10992
10992
|
await this.loadMembers();
|
10993
10993
|
try {
|
10994
10994
|
const e = await this.api.getAccounts();
|
10995
|
-
|
10995
|
+
nA(() => {
|
10996
10996
|
this.accounts = this.sortAccounts(this.augmentAccounts(e));
|
10997
10997
|
});
|
10998
10998
|
} catch (e) {
|
@@ -11002,7 +11002,7 @@ class v1 {
|
|
11002
11002
|
loadInstitutions = async () => {
|
11003
11003
|
try {
|
11004
11004
|
const e = await this.api.getInstitutions();
|
11005
|
-
|
11005
|
+
nA(() => {
|
11006
11006
|
this.institutions = e;
|
11007
11007
|
});
|
11008
11008
|
} catch (e) {
|
@@ -11012,7 +11012,7 @@ class v1 {
|
|
11012
11012
|
loadMembers = async () => {
|
11013
11013
|
try {
|
11014
11014
|
const e = await this.api.getMembers();
|
11015
|
-
|
11015
|
+
nA(() => {
|
11016
11016
|
this.members = e;
|
11017
11017
|
});
|
11018
11018
|
} catch (e) {
|
@@ -11022,7 +11022,7 @@ class v1 {
|
|
11022
11022
|
mergeAccounts = async (e) => {
|
11023
11023
|
try {
|
11024
11024
|
const n = await this.api.mergeAccounts(e), r = n[Object.keys(n)[0]];
|
11025
|
-
|
11025
|
+
nA(() => {
|
11026
11026
|
const a = this.accounts.findIndex((o) => o.guid === e[1]);
|
11027
11027
|
this.accounts.splice(a, 1);
|
11028
11028
|
const i = this.accounts.findIndex((o) => o.guid === e[0]);
|
@@ -11045,7 +11045,7 @@ class v1 {
|
|
11045
11045
|
};
|
11046
11046
|
removeAccount = async (e) => {
|
11047
11047
|
try {
|
11048
|
-
await this.api.deleteAccount(e),
|
11048
|
+
await this.api.deleteAccount(e), nA(() => {
|
11049
11049
|
const n = this.accounts.findIndex((r) => r.guid === e);
|
11050
11050
|
this.accounts.splice(n, 1);
|
11051
11051
|
});
|
@@ -11056,7 +11056,7 @@ class v1 {
|
|
11056
11056
|
updateAccount = async (e) => {
|
11057
11057
|
try {
|
11058
11058
|
const n = await this.api.updateAccount(e);
|
11059
|
-
|
11059
|
+
nA(() => {
|
11060
11060
|
const r = this.accounts.findIndex(
|
11061
11061
|
(a) => a.guid === n.guid
|
11062
11062
|
);
|
@@ -11259,7 +11259,7 @@ const m1 = (A, e) => !A && !e ? 0 : !A && e ? 101 : e / A * 100, p1 = (A, e, n)
|
|
11259
11259
|
}, N1 = () => {
|
11260
11260
|
const { budgets: A } = b();
|
11261
11261
|
return /* @__PURE__ */ d(w, { alignItems: "center", gap: 12, sx: { mx: 24, textAlign: "center" }, children: [
|
11262
|
-
/* @__PURE__ */ t(
|
11262
|
+
/* @__PURE__ */ t(N, { name: "bubble_chart", size: 48 }),
|
11263
11263
|
/* @__PURE__ */ t(y, { bold: !0, variant: "Paragraph", children: A.zero_state_title }),
|
11264
11264
|
/* @__PURE__ */ t(y, { sx: { whiteSpace: "wrap" }, variant: "Paragraph", children: A.zero_state_description })
|
11265
11265
|
] });
|
@@ -11326,7 +11326,7 @@ const z1 = () => {
|
|
11326
11326
|
};
|
11327
11327
|
return /* @__PURE__ */ t(oe, { sx: { mb: r ? 24 : 0, p: 24 }, children: /* @__PURE__ */ d(w, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
11328
11328
|
/* @__PURE__ */ d(w, { children: [
|
11329
|
-
/* @__PURE__ */ t(
|
11329
|
+
/* @__PURE__ */ t(ve, { children: (() => {
|
11330
11330
|
const c = (/* @__PURE__ */ new Date()).getHours();
|
11331
11331
|
return c > 1 && c < 12 ? a.good_morning : c >= 12 && c < 18 ? a.good_afternoon : a.good_evening;
|
11332
11332
|
})() }),
|
@@ -11366,16 +11366,16 @@ const z1 = () => {
|
|
11366
11366
|
/* @__PURE__ */ t(Me, { xs: 12, children: a.isInitialized && /* @__PURE__ */ t(q1, {}) }),
|
11367
11367
|
/* @__PURE__ */ d(Me, { xl: 8, xs: 12, children: [
|
11368
11368
|
e && /* @__PURE__ */ d(w, { direction: "column", spacing: 24, children: [
|
11369
|
-
/* @__PURE__ */ t(
|
11370
|
-
/* @__PURE__ */ t(
|
11371
|
-
/* @__PURE__ */ t(
|
11369
|
+
/* @__PURE__ */ t(ue, { height: 100, variant: "rounded", width: "100%" }),
|
11370
|
+
/* @__PURE__ */ t(ue, { height: 300, variant: "rounded", width: "100%" }),
|
11371
|
+
/* @__PURE__ */ t(ue, { height: 300, variant: "rounded", width: "100%" })
|
11372
11372
|
] }),
|
11373
11373
|
!e && /* @__PURE__ */ t(w, { direction: "column", spacing: 24, children: n ? c.map((l) => /* @__PURE__ */ t(g.Fragment, { children: l.component }, l.index)) : s.map((l) => /* @__PURE__ */ t(g.Fragment, { children: l.component }, l.index)) })
|
11374
11374
|
] }),
|
11375
11375
|
n && /* @__PURE__ */ t(Me, { xl: 4, children: e ? /* @__PURE__ */ d(w, { direction: "column", spacing: 24, children: [
|
11376
|
-
/* @__PURE__ */ t(
|
11377
|
-
/* @__PURE__ */ t(
|
11378
|
-
/* @__PURE__ */ t(
|
11376
|
+
/* @__PURE__ */ t(ue, { height: 200, variant: "rounded", width: "100%" }),
|
11377
|
+
/* @__PURE__ */ t(ue, { height: 100, variant: "rounded", width: "100%" }),
|
11378
|
+
/* @__PURE__ */ t(ue, { height: 300, variant: "rounded", width: "100%" })
|
11379
11379
|
] }) : /* @__PURE__ */ t(w, { direction: "column", spacing: 24, children: u.map((l) => /* @__PURE__ */ t(g.Fragment, { children: l.component }, l.index)) }) })
|
11380
11380
|
] });
|
11381
11381
|
}, sC = I(K1), cC = () => /* @__PURE__ */ t("div", { children: "Goals" }), Zn = ({
|
@@ -11421,9 +11421,9 @@ const z1 = () => {
|
|
11421
11421
|
return /* @__PURE__ */ d(D, { children: [
|
11422
11422
|
/* @__PURE__ */ t(Zn, { children: r }),
|
11423
11423
|
A.map((h, C) => /* @__PURE__ */ d(D, { children: [
|
11424
|
-
/* @__PURE__ */ t(
|
11424
|
+
/* @__PURE__ */ t(Z, { children: /* @__PURE__ */ d(dA, { onClick: () => c(h), children: [
|
11425
11425
|
/* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(
|
11426
|
-
|
11426
|
+
me,
|
11427
11427
|
{
|
11428
11428
|
alt: `${h.displayName} logo`,
|
11429
11429
|
institutionGuid: h.institution_guid || ""
|
@@ -11463,8 +11463,8 @@ const z1 = () => {
|
|
11463
11463
|
}, di = ({ iconName: A, label: e, onClick: n, itemCount: r }) => {
|
11464
11464
|
const a = CA();
|
11465
11465
|
return /* @__PURE__ */ d(aA, { children: [
|
11466
|
-
/* @__PURE__ */ t(
|
11467
|
-
/* @__PURE__ */ t(
|
11466
|
+
/* @__PURE__ */ t(Z, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ d(dA, { onClick: n, children: [
|
11467
|
+
/* @__PURE__ */ t(N, { name: A, size: 24, sx: { marginRight: 16 } }),
|
11468
11468
|
/* @__PURE__ */ t(
|
11469
11469
|
lA,
|
11470
11470
|
{
|
@@ -11489,7 +11489,7 @@ const z1 = () => {
|
|
11489
11489
|
children: r
|
11490
11490
|
}
|
11491
11491
|
),
|
11492
|
-
/* @__PURE__ */ t(
|
11492
|
+
/* @__PURE__ */ t(N, { name: "chevron_right", size: 24 })
|
11493
11493
|
] }) }),
|
11494
11494
|
/* @__PURE__ */ t(X, {})
|
11495
11495
|
] });
|
@@ -11672,18 +11672,18 @@ const gi = ({
|
|
11672
11672
|
f && !a && l(c);
|
11673
11673
|
}, [f, a, c, l]);
|
11674
11674
|
const v = (L) => {
|
11675
|
-
const { name: O, checked:
|
11675
|
+
const { name: O, checked: M } = L.target;
|
11676
11676
|
l((x) => ({
|
11677
11677
|
...x,
|
11678
|
-
[O]:
|
11678
|
+
[O]: M
|
11679
11679
|
}));
|
11680
11680
|
}, p = Object.values(u).filter(Boolean).length, E = () => {
|
11681
11681
|
l(c), i();
|
11682
11682
|
}, T = () => {
|
11683
11683
|
const L = e.reduce(
|
11684
|
-
(O,
|
11684
|
+
(O, M) => ({
|
11685
11685
|
...O,
|
11686
|
-
[
|
11686
|
+
[M.name]: p !== e.length
|
11687
11687
|
}),
|
11688
11688
|
{}
|
11689
11689
|
);
|
@@ -11760,12 +11760,12 @@ const gi = ({
|
|
11760
11760
|
) }),
|
11761
11761
|
sx: { height: "100%" },
|
11762
11762
|
children: e.sort((L, O) => L.name < O.name ? -1 : 1).map((L, O) => /* @__PURE__ */ d(D, { children: [
|
11763
|
-
/* @__PURE__ */ t(
|
11763
|
+
/* @__PURE__ */ t(Z, { disablePadding: !0, children: /* @__PURE__ */ d(
|
11764
11764
|
dA,
|
11765
11765
|
{
|
11766
|
-
onClick: () => l((
|
11767
|
-
...
|
11768
|
-
[L.name]: !
|
11766
|
+
onClick: () => l((M) => ({
|
11767
|
+
...M,
|
11768
|
+
[L.name]: !M[L.name]
|
11769
11769
|
})),
|
11770
11770
|
children: [
|
11771
11771
|
/* @__PURE__ */ t(
|
@@ -11913,20 +11913,20 @@ const gi = ({
|
|
11913
11913
|
update: r,
|
11914
11914
|
isUpdateError: a,
|
11915
11915
|
isUpdateLoading: i
|
11916
|
-
} = e, [o, s, c] = U1(n), { toastState: u, showToast: l, hideToast: h, setMessage: C } = hi(), [f, v] = g.useState(!1), [p, E] = g.useState(!1), [T, S] = g.useState(""), [L, O] = g.useState(""),
|
11916
|
+
} = e, [o, s, c] = U1(n), { toastState: u, showToast: l, hideToast: h, setMessage: C } = hi(), [f, v] = g.useState(!1), [p, E] = g.useState(!1), [T, S] = g.useState(""), [L, O] = g.useState(""), M = Na(i);
|
11917
11917
|
se(() => {
|
11918
|
-
|
11919
|
-
}, [
|
11918
|
+
M && !i && (a ? l(A.something_went_wrong, "error") : l(void 0, "success"));
|
11919
|
+
}, [M, a]);
|
11920
11920
|
const x = () => {
|
11921
11921
|
C(
|
11922
11922
|
n.length > 1 ? A.insights_unhidden : A.insight_unhidden
|
11923
|
-
), r(n.map((
|
11924
|
-
}, K = (
|
11925
|
-
E(!0), S(
|
11923
|
+
), r(n.map((G) => G.name));
|
11924
|
+
}, K = (G, k) => {
|
11925
|
+
E(!0), S(G), O(k);
|
11926
11926
|
}, B = () => {
|
11927
11927
|
E(!1), O(""), S("");
|
11928
|
-
}, _ = (
|
11929
|
-
r(
|
11928
|
+
}, _ = (G, k) => {
|
11929
|
+
r(G), k && E(!1), C(G.length > 1 ? A.insights_unhidden : A.insight_unhidden);
|
11930
11930
|
};
|
11931
11931
|
return /* @__PURE__ */ d(aA, { children: [
|
11932
11932
|
/* @__PURE__ */ t(
|
@@ -11954,40 +11954,40 @@ const gi = ({
|
|
11954
11954
|
children: [
|
11955
11955
|
/* @__PURE__ */ t(X, {}),
|
11956
11956
|
n.length > 0 ? /* @__PURE__ */ t(oA, { sx: { height: "100%" }, children: o.map(
|
11957
|
-
(
|
11957
|
+
(G) => s[G.key] !== "" && /* @__PURE__ */ t(
|
11958
11958
|
oA,
|
11959
11959
|
{
|
11960
|
-
subheader: /* @__PURE__ */ t(Zn, { children: s[
|
11961
|
-
children:
|
11962
|
-
(
|
11963
|
-
/* @__PURE__ */ t(
|
11960
|
+
subheader: /* @__PURE__ */ t(Zn, { children: s[G.key] }),
|
11961
|
+
children: G.subcategories.map(
|
11962
|
+
(k, P) => k.beats.length > 0 && /* @__PURE__ */ d(D, { children: [
|
11963
|
+
/* @__PURE__ */ t(Z, { disablePadding: !0, children: /* @__PURE__ */ d(
|
11964
11964
|
dA,
|
11965
11965
|
{
|
11966
|
-
onClick: () => K(
|
11966
|
+
onClick: () => K(G.key, k.key),
|
11967
11967
|
children: [
|
11968
11968
|
/* @__PURE__ */ t(
|
11969
11969
|
lA,
|
11970
11970
|
{
|
11971
|
-
primary: c[
|
11971
|
+
primary: c[k.key].replace(
|
11972
11972
|
/&/g,
|
11973
11973
|
"&"
|
11974
11974
|
),
|
11975
11975
|
secondary: /* @__PURE__ */ d(g.Fragment, { children: [
|
11976
|
-
|
11976
|
+
k.beats.length,
|
11977
11977
|
" ",
|
11978
|
-
|
11978
|
+
k.beats.length > 1 ? A.insights_hidden : A.insight_hidden
|
11979
11979
|
] })
|
11980
11980
|
}
|
11981
11981
|
),
|
11982
|
-
/* @__PURE__ */ t(
|
11982
|
+
/* @__PURE__ */ t(N, { name: "chevron_right", size: 24 })
|
11983
11983
|
]
|
11984
11984
|
}
|
11985
11985
|
) }),
|
11986
|
-
/* @__PURE__ */ t(X, { sx: { ml:
|
11987
|
-
] },
|
11986
|
+
/* @__PURE__ */ t(X, { sx: { ml: P < G.subcategories.length - 1 ? 24 : 0 } })
|
11987
|
+
] }, k.key)
|
11988
11988
|
)
|
11989
11989
|
},
|
11990
|
-
|
11990
|
+
G.key
|
11991
11991
|
)
|
11992
11992
|
) }) : /* @__PURE__ */ t(X1, { content: A }),
|
11993
11993
|
/* @__PURE__ */ d(D, { boxSizing: "border-box", pb: 32, pt: 24, px: 24, children: [
|
@@ -12021,7 +12021,7 @@ const gi = ({
|
|
12021
12021
|
Q1,
|
12022
12022
|
{
|
12023
12023
|
content: A,
|
12024
|
-
disabledBeatTemplates: L !== "" ? o.filter((
|
12024
|
+
disabledBeatTemplates: L !== "" ? o.filter((G) => G.key === T)[0].subcategories.filter((G) => G.key === L)[0].beats : [],
|
12025
12025
|
handleEnableBeatTemplates: _,
|
12026
12026
|
isOpen: p,
|
12027
12027
|
isUpdateLoading: i,
|
@@ -12098,7 +12098,7 @@ const gi = ({
|
|
12098
12098
|
sx: { display: "flex", flexDirection: "row", gap: 8, justifyContent: "center" },
|
12099
12099
|
children: [
|
12100
12100
|
/* @__PURE__ */ t(
|
12101
|
-
|
12101
|
+
me,
|
12102
12102
|
{
|
12103
12103
|
alt: "MX",
|
12104
12104
|
"data-ui-test": "mx-insights-sudd-mini-body-header-logo",
|
@@ -12156,7 +12156,7 @@ const gi = ({
|
|
12156
12156
|
zIndex: 10
|
12157
12157
|
},
|
12158
12158
|
children: /* @__PURE__ */ t(
|
12159
|
-
|
12159
|
+
me,
|
12160
12160
|
{
|
12161
12161
|
alt: "MX",
|
12162
12162
|
"data-ui-test": "mx-insights-sudd-full-feed-body-logo",
|
@@ -12281,7 +12281,7 @@ class V1 {
|
|
12281
12281
|
};
|
12282
12282
|
loadCopy = async () => {
|
12283
12283
|
const e = await this.copyApi.getGlobalCopy(this.namespace, this.translationKey);
|
12284
|
-
|
12284
|
+
nA(() => {
|
12285
12285
|
this.copyObject = e[this.translationKey];
|
12286
12286
|
});
|
12287
12287
|
};
|
@@ -12318,8 +12318,8 @@ const $n = {
|
|
12318
12318
|
(A, e) => ({
|
12319
12319
|
...A,
|
12320
12320
|
[Ci(e)]: {
|
12321
|
-
action:
|
12322
|
-
category:
|
12321
|
+
action: Ce.MICRO_BEAT_CLICKED,
|
12322
|
+
category: ge.BEAT_INTERACTION,
|
12323
12323
|
label: Ar(e),
|
12324
12324
|
value: ZA
|
12325
12325
|
}
|
@@ -12329,8 +12329,8 @@ const $n = {
|
|
12329
12329
|
(A, e) => ({
|
12330
12330
|
...A,
|
12331
12331
|
[fi(e)]: {
|
12332
|
-
action:
|
12333
|
-
category:
|
12332
|
+
action: Ce.MICRO_BEAT_DISPLAYED,
|
12333
|
+
category: ge.BEAT_INTERACTION,
|
12334
12334
|
label: Ar(e),
|
12335
12335
|
value: ZA
|
12336
12336
|
}
|
@@ -12340,19 +12340,19 @@ const $n = {
|
|
12340
12340
|
(A, e) => ({
|
12341
12341
|
...A,
|
12342
12342
|
[vi(e)]: {
|
12343
|
-
action:
|
12344
|
-
category:
|
12343
|
+
action: Ce.MICRO_BEAT_DISPLAYED_FIRST_TIME,
|
12344
|
+
category: ge.BEAT_INTERACTION,
|
12345
12345
|
label: Ar(e),
|
12346
12346
|
value: ZA
|
12347
12347
|
}
|
12348
12348
|
}),
|
12349
12349
|
{}
|
12350
|
-
),
|
12350
|
+
), he = {
|
12351
12351
|
CARD: "Card",
|
12352
12352
|
CAROUSEL_CONTROL: "Carousel Control",
|
12353
12353
|
MICRO_WIDGET: "Micro Widget",
|
12354
12354
|
VIEW_MORE: "View More"
|
12355
|
-
},
|
12355
|
+
}, ge = {
|
12356
12356
|
MICRO_WIDGET_INTERACTION: "Micro Widget Interaction",
|
12357
12357
|
BEAT_INTERACTION: "Beat Interaction"
|
12358
12358
|
}, $A = {
|
@@ -12364,7 +12364,7 @@ const $n = {
|
|
12364
12364
|
ON_VIEW_MORE_CLICKED: "onViewMoreClicked"
|
12365
12365
|
}, mi = {
|
12366
12366
|
ON_VIEW_MORE_VIEWED: "onViewMoreCardView"
|
12367
|
-
},
|
12367
|
+
}, Ce = {
|
12368
12368
|
CONTROL_BACKWARD: "Control Backward",
|
12369
12369
|
CONTROL_FORWARD: "Control Forward",
|
12370
12370
|
MICRO_BEAT_CLICKED: "Micro Beat Clicked",
|
@@ -12372,68 +12372,68 @@ const $n = {
|
|
12372
12372
|
MICRO_BEAT_DISPLAYED_FIRST_TIME: "Micro Beat Displayed For First Time",
|
12373
12373
|
SWIPE_BACKWARD: "Swipe Backward",
|
12374
12374
|
SWIPE_FORWARD: "Swipe Forward"
|
12375
|
-
},
|
12375
|
+
}, Le = {
|
12376
12376
|
MICRO_WIDGET_CAROUSEL: "Micro Widget Carousel",
|
12377
12377
|
MICRO_WIDGET_CAROUSEL_ZERO_STATE: "Micro Widget Carousel Zero State",
|
12378
12378
|
MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS: "Micro Widget Carousel No Relevant Insights"
|
12379
12379
|
}, $r = {
|
12380
|
-
[
|
12381
|
-
label:
|
12382
|
-
name:
|
12380
|
+
[Le.MICRO_WIDGET_CAROUSEL]: {
|
12381
|
+
label: he.MICRO_WIDGET,
|
12382
|
+
name: Le.MICRO_WIDGET_CAROUSEL,
|
12383
12383
|
path: Zr.INSIGHTS_MICRO_WIDGET,
|
12384
12384
|
value: ZA
|
12385
12385
|
},
|
12386
12386
|
// zero state
|
12387
|
-
[
|
12388
|
-
label:
|
12389
|
-
name:
|
12387
|
+
[Le.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
|
12388
|
+
label: he.MICRO_WIDGET,
|
12389
|
+
name: Le.MICRO_WIDGET_CAROUSEL_ZERO_STATE,
|
12390
12390
|
path: Zr.INSIGHTS_MICRO_WIDGET,
|
12391
12391
|
value: ZA
|
12392
12392
|
},
|
12393
12393
|
// no relevant cards
|
12394
|
-
[
|
12395
|
-
label:
|
12396
|
-
name:
|
12394
|
+
[Le.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS]: {
|
12395
|
+
label: he.MICRO_WIDGET,
|
12396
|
+
name: Le.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS,
|
12397
12397
|
path: "/micro-widget",
|
12398
12398
|
value: ZA
|
12399
12399
|
}
|
12400
12400
|
}, Aa = {
|
12401
12401
|
// carousel control interaction events - clicks and swipes
|
12402
12402
|
[$A.ON_CAROUSEL_BACK_CLICK]: {
|
12403
|
-
action:
|
12404
|
-
category:
|
12405
|
-
label:
|
12403
|
+
action: Ce.CONTROL_BACKWARD,
|
12404
|
+
category: ge.MICRO_WIDGET_INTERACTION,
|
12405
|
+
label: he.CAROUSEL_CONTROL,
|
12406
12406
|
value: ZA
|
12407
12407
|
},
|
12408
12408
|
[$A.ON_CAROUSEL_FORWARD_CLICK]: {
|
12409
|
-
action:
|
12410
|
-
category:
|
12411
|
-
label:
|
12409
|
+
action: Ce.CONTROL_FORWARD,
|
12410
|
+
category: ge.MICRO_WIDGET_INTERACTION,
|
12411
|
+
label: he.CAROUSEL_CONTROL,
|
12412
12412
|
value: ZA
|
12413
12413
|
},
|
12414
12414
|
[$A.ON_CAROUSEL_BACK_SWIPE]: {
|
12415
|
-
action:
|
12416
|
-
category:
|
12417
|
-
label:
|
12415
|
+
action: Ce.SWIPE_BACKWARD,
|
12416
|
+
category: ge.MICRO_WIDGET_INTERACTION,
|
12417
|
+
label: he.CAROUSEL_CONTROL,
|
12418
12418
|
value: ZA
|
12419
12419
|
},
|
12420
12420
|
[$A.ON_CAROUSEL_FORWARD_SWIPE]: {
|
12421
|
-
action:
|
12422
|
-
category:
|
12423
|
-
label:
|
12421
|
+
action: Ce.SWIPE_FORWARD,
|
12422
|
+
category: ge.MICRO_WIDGET_INTERACTION,
|
12423
|
+
label: he.CAROUSEL_CONTROL,
|
12424
12424
|
value: ZA
|
12425
12425
|
},
|
12426
12426
|
// read more card events
|
12427
12427
|
[$A.ON_VIEW_MORE_CLICKED]: {
|
12428
|
-
action:
|
12429
|
-
category:
|
12430
|
-
label:
|
12428
|
+
action: Ce.MICRO_BEAT_CLICKED,
|
12429
|
+
category: ge.BEAT_INTERACTION,
|
12430
|
+
label: he.VIEW_MORE,
|
12431
12431
|
value: ZA
|
12432
12432
|
},
|
12433
12433
|
[mi.ON_VIEW_MORE_VIEWED]: {
|
12434
|
-
action:
|
12435
|
-
category:
|
12436
|
-
label:
|
12434
|
+
action: Ce.MICRO_BEAT_DISPLAYED,
|
12435
|
+
category: ge.BEAT_INTERACTION,
|
12436
|
+
label: he.VIEW_MORE,
|
12437
12437
|
value: ZA
|
12438
12438
|
},
|
12439
12439
|
...J1(),
|
@@ -12477,7 +12477,7 @@ class eh {
|
|
12477
12477
|
this.copyStore = new V1(), this.insightsMicroWidgetStore = new Ah(), wA(this);
|
12478
12478
|
}
|
12479
12479
|
initialize = async (e, n, r) => {
|
12480
|
-
console.log("Experiences > microinsights initialize"), await this.copyStore.initialize(e, n), await this.insightsMicroWidgetStore.initialize(e, n, r), this.session = await As(e, n, "1.0.0", "Micro Insights Carousel"),
|
12480
|
+
console.log("Experiences > microinsights initialize"), await this.copyStore.initialize(e, n), await this.insightsMicroWidgetStore.initialize(e, n, r), this.session = await As(e, n, "1.0.0", "Micro Insights Carousel"), nA(() => {
|
12481
12481
|
this.isInitialized = !0;
|
12482
12482
|
});
|
12483
12483
|
};
|
@@ -12491,11 +12491,11 @@ const pt = g.createContext(null), th = ({
|
|
12491
12491
|
const [e, n] = ie(m.UNCATEGORIZED);
|
12492
12492
|
return se(() => {
|
12493
12493
|
A.primary_category_guid ? n(A.primary_category_guid) : A.category_guids?.length && n(A.category_guids[0]);
|
12494
|
-
}, []), /* @__PURE__ */ t(
|
12494
|
+
}, []), /* @__PURE__ */ t(Oe, { categoryGuid: e, size: 16, style: { minWidth: 16 } });
|
12495
12495
|
}, rh = ({ beat: A }) => {
|
12496
12496
|
const e = yA(), n = ah(e);
|
12497
12497
|
return /* @__PURE__ */ t(
|
12498
|
-
|
12498
|
+
xe,
|
12499
12499
|
{
|
12500
12500
|
categoryGuid: A.primary_category_guid || A.category_guids && A.category_guids[0] || "",
|
12501
12501
|
className: n,
|
@@ -12544,7 +12544,7 @@ const pt = g.createContext(null), th = ({
|
|
12544
12544
|
return !a.length || !i.length ? e.Color.Primary300 : a[0].amount > i[0].amount ? e.Color.Error300 : a[0].amount < i[0].amount ? e.Color.Success300 : e.Color.Primary300;
|
12545
12545
|
}, lh = ({ beat: A }) => {
|
12546
12546
|
const e = yA(), n = ch(A.data_series, e);
|
12547
|
-
return /* @__PURE__ */ t(
|
12547
|
+
return /* @__PURE__ */ t(N, { name: "bar_chart", sx: { color: n } });
|
12548
12548
|
}, pi = () => /* @__PURE__ */ d("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
|
12549
12549
|
/* @__PURE__ */ t(
|
12550
12550
|
"path",
|
@@ -13328,8 +13328,8 @@ const pt = g.createContext(null), th = ({
|
|
13328
13328
|
] })
|
13329
13329
|
] }), na = ({ beat: A, clientColorScheme: e, color: n, type: r }) => {
|
13330
13330
|
const a = CA(), i = e?.primary_300 ? e.primary_300 : a.palette.primary.main;
|
13331
|
-
return r === 0 ? /* @__PURE__ */ t(
|
13332
|
-
|
13331
|
+
return r === 0 ? /* @__PURE__ */ t(N, { fill: !0, name: "error", sx: { color: n || i } }) : r === 1 && A ? /* @__PURE__ */ t(nh, { beat: A }) : r === 2 && A ? /* @__PURE__ */ t(ih, { beat: A }) : r === 3 && A ? /* @__PURE__ */ t(lh, { beat: A }) : /* @__PURE__ */ t(
|
13332
|
+
N,
|
13333
13333
|
{
|
13334
13334
|
fill: !0,
|
13335
13335
|
name: "info",
|
@@ -13516,7 +13516,7 @@ const pt = g.createContext(null), th = ({
|
|
13516
13516
|
variant: u,
|
13517
13517
|
widthOverrides: l
|
13518
13518
|
}) => {
|
13519
|
-
const h = mh(r, c, l), C = g.useRef(null), [f, v] = g.useState(0), [p, E] = g.useState(null), [T, S] = g.useState(null), { carouselCopy: L } = ke(), { onEvent: O } = Et(),
|
13519
|
+
const h = mh(r, c, l), C = g.useRef(null), [f, v] = g.useState(0), [p, E] = g.useState(null), [T, S] = g.useState(null), { carouselCopy: L } = ke(), { onEvent: O } = Et(), M = () => {
|
13520
13520
|
O($A.ON_CAROUSEL_FORWARD_CLICK), C.current && C.current.scrollTo({
|
13521
13521
|
left: (
|
13522
13522
|
// Adds the flex gap to the carousel ulRef's width
|
@@ -13538,16 +13538,16 @@ const pt = g.createContext(null), th = ({
|
|
13538
13538
|
T - p > dh ? O($A.ON_CAROUSEL_FORWARD_SWIPE) : O($A.ON_CAROUSEL_BACK_SWIPE);
|
13539
13539
|
}, _ = (rA) => {
|
13540
13540
|
E(rA.targetTouches[0].clientX);
|
13541
|
-
},
|
13541
|
+
}, G = (rA) => {
|
13542
13542
|
E(null), S(rA.targetTouches[0].clientX);
|
13543
|
-
},
|
13543
|
+
}, k = {
|
13544
13544
|
clientColorScheme: e,
|
13545
13545
|
showCTAColocatedWithText: n,
|
13546
13546
|
heightOverrides: r,
|
13547
13547
|
showIcon: s,
|
13548
13548
|
variant: u,
|
13549
13549
|
widthOverrides: l
|
13550
|
-
},
|
13550
|
+
}, P = C.current && C.current.offsetWidth ? Math.round(f / C.current.offsetWidth) : 0, W = C.current ? C.current.scrollWidth - C.current.offsetWidth : 0;
|
13551
13551
|
return /* @__PURE__ */ d("div", { className: h, children: [
|
13552
13552
|
/* @__PURE__ */ d(
|
13553
13553
|
"ul",
|
@@ -13556,7 +13556,7 @@ const pt = g.createContext(null), th = ({
|
|
13556
13556
|
onScroll: K,
|
13557
13557
|
onTouchEnd: B,
|
13558
13558
|
onTouchMove: _,
|
13559
|
-
onTouchStart:
|
13559
|
+
onTouchStart: G,
|
13560
13560
|
ref: C,
|
13561
13561
|
children: [
|
13562
13562
|
A.map((rA, IA) => /* @__PURE__ */ t(
|
@@ -13569,19 +13569,19 @@ const pt = g.createContext(null), th = ({
|
|
13569
13569
|
),
|
13570
13570
|
beat: rA,
|
13571
13571
|
index: IA,
|
13572
|
-
isActiveCard: IA ===
|
13572
|
+
isActiveCard: IA === P,
|
13573
13573
|
onCardClick: a,
|
13574
13574
|
posthog: i,
|
13575
|
-
...
|
13575
|
+
...k
|
13576
13576
|
},
|
13577
13577
|
`${rA.guid} ${IA}`
|
13578
13578
|
)),
|
13579
13579
|
/* @__PURE__ */ t(
|
13580
13580
|
bh,
|
13581
13581
|
{
|
13582
|
-
isActiveCard:
|
13582
|
+
isActiveCard: P === A.length,
|
13583
13583
|
onCardClick: a,
|
13584
|
-
...
|
13584
|
+
...k
|
13585
13585
|
}
|
13586
13586
|
)
|
13587
13587
|
]
|
@@ -13591,11 +13591,11 @@ const pt = g.createContext(null), th = ({
|
|
13591
13591
|
gh,
|
13592
13592
|
{
|
13593
13593
|
clientColorScheme: e,
|
13594
|
-
currentBeatIndex:
|
13594
|
+
currentBeatIndex: P,
|
13595
13595
|
numBeats: A.length + 1,
|
13596
|
-
onNextClick:
|
13596
|
+
onNextClick: M,
|
13597
13597
|
onPreviousClick: x,
|
13598
|
-
scrollRightBoundary:
|
13598
|
+
scrollRightBoundary: W,
|
13599
13599
|
scrollX: f
|
13600
13600
|
}
|
13601
13601
|
)
|
@@ -13648,8 +13648,8 @@ const pt = g.createContext(null), th = ({
|
|
13648
13648
|
g.useEffect(() => {
|
13649
13649
|
p && p <= 325 && S(3), p && p > 325 && S(2);
|
13650
13650
|
}, [p]);
|
13651
|
-
const { cardStyle: L, linkTextStyle: O } = h,
|
13652
|
-
|
13651
|
+
const { cardStyle: L, linkTextStyle: O } = h, M = v ? L : { border: "none", boxShadow: "none", ...L }, x = ph(
|
13652
|
+
M,
|
13653
13653
|
a,
|
13654
13654
|
C,
|
13655
13655
|
T,
|
@@ -13830,7 +13830,7 @@ const pt = g.createContext(null), th = ({
|
|
13830
13830
|
},
|
13831
13831
|
children: /* @__PURE__ */ t(wn, {})
|
13832
13832
|
}
|
13833
|
-
),
|
13833
|
+
), de = new eh(), Lh = ({
|
13834
13834
|
areBeatsLoading: A,
|
13835
13835
|
beats: e = [],
|
13836
13836
|
// This also determines the length of the carousel controls (beat.length + 1)
|
@@ -13858,12 +13858,15 @@ const pt = g.createContext(null), th = ({
|
|
13858
13858
|
variant: L,
|
13859
13859
|
widthOverrides: O
|
13860
13860
|
}) => {
|
13861
|
-
const [
|
13861
|
+
const [M, x] = ie("STANDARD"), [K, B] = ie(!1), _ = ms([c], de), G = ps([u], de);
|
13862
13862
|
g.useEffect(() => {
|
13863
|
-
|
13864
|
-
}, [a, E, o]), g.useEffect(() => {
|
13865
|
-
|
13866
|
-
|
13863
|
+
de.isInitialized || de.initialize(a, E, o);
|
13864
|
+
}, [a, E, o, de.isInitialized]), g.useEffect(() => {
|
13865
|
+
const W = window.innerHeight;
|
13866
|
+
W < 180 ? x("STANDARD") : W >= 180 && W < 200 ? x("LARGE") : W >= 200 && W < 248 ? x("XLARGE") : W >= 248 && x("XXLARGE");
|
13867
|
+
}, [window.innerHeight]), g.useEffect(() => {
|
13868
|
+
B(!A && de.isInitialized);
|
13869
|
+
}, [A, de.isInitialized]);
|
13867
13870
|
const k = {
|
13868
13871
|
showCTAColocatedWithText: r,
|
13869
13872
|
heightOverrides: i,
|
@@ -13872,8 +13875,8 @@ const pt = g.createContext(null), th = ({
|
|
13872
13875
|
showWithMargin: p,
|
13873
13876
|
useDarkMode: T,
|
13874
13877
|
widthOverrides: O
|
13875
|
-
},
|
13876
|
-
carouselSize:
|
13878
|
+
}, P = {
|
13879
|
+
carouselSize: M,
|
13877
13880
|
posthog: l,
|
13878
13881
|
variant: L,
|
13879
13882
|
...k
|
@@ -13882,7 +13885,7 @@ const pt = g.createContext(null), th = ({
|
|
13882
13885
|
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
13883
13886
|
/* @__PURE__ */ d(la, { theme: Ct(T ? "dark" : "light"), children: [
|
13884
13887
|
/* @__PURE__ */ t($o, {}),
|
13885
|
-
/* @__PURE__ */ t(th, { onEvent:
|
13888
|
+
/* @__PURE__ */ t(th, { onEvent: _, onPageview: G, store: de, children: /* @__PURE__ */ d(
|
13886
13889
|
D,
|
13887
13890
|
{
|
13888
13891
|
sx: {
|
@@ -13892,8 +13895,8 @@ const pt = g.createContext(null), th = ({
|
|
13892
13895
|
width: O ? void 0 : "100%"
|
13893
13896
|
},
|
13894
13897
|
children: [
|
13895
|
-
(A || !
|
13896
|
-
|
13898
|
+
(A || !de.isInitialized) && /* @__PURE__ */ t(wh, {}),
|
13899
|
+
K && f && /* @__PURE__ */ t(
|
13897
13900
|
yh,
|
13898
13901
|
{
|
13899
13902
|
clientColorScheme: n,
|
@@ -13902,7 +13905,7 @@ const pt = g.createContext(null), th = ({
|
|
13902
13905
|
widthOverrides: O
|
13903
13906
|
}
|
13904
13907
|
),
|
13905
|
-
|
13908
|
+
K && !!e.length && /* @__PURE__ */ t(
|
13906
13909
|
vh,
|
13907
13910
|
{
|
13908
13911
|
beats: e,
|
@@ -13912,8 +13915,8 @@ const pt = g.createContext(null), th = ({
|
|
13912
13915
|
...k
|
13913
13916
|
}
|
13914
13917
|
),
|
13915
|
-
|
13916
|
-
|
13918
|
+
K && !e.length && S && /* @__PURE__ */ t(Sh, { clientColorScheme: n, ...P }),
|
13919
|
+
K && !e.length && !S && /* @__PURE__ */ t(Oh, { ...P })
|
13917
13920
|
]
|
13918
13921
|
}
|
13919
13922
|
) })
|
@@ -13933,7 +13936,7 @@ const pt = g.createContext(null), th = ({
|
|
13933
13936
|
}) => {
|
13934
13937
|
const { cardsCopy: l } = ke(), { onEvent: h } = Et(), { onPageview: C } = wi(), f = window.app?.config.client_guid;
|
13935
13938
|
g.useEffect(() => {
|
13936
|
-
C(
|
13939
|
+
C(Le.MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS);
|
13937
13940
|
}, []);
|
13938
13941
|
const v = () => {
|
13939
13942
|
a && a(), h($A.ON_NO_RELEVANT_INSIGHTS_CLICKED), i?.capture && f && i.capture("micro_widget_clicked_insight", {
|
@@ -14035,7 +14038,7 @@ const pt = g.createContext(null), th = ({
|
|
14035
14038
|
}) => {
|
14036
14039
|
const { onPageview: c } = wi(), { zeroStateCopy: u } = ke();
|
14037
14040
|
return g.useEffect(() => {
|
14038
|
-
c(
|
14041
|
+
c(Le.MICRO_WIDGET_CAROUSEL_ZERO_STATE);
|
14039
14042
|
}, []), /* @__PURE__ */ t(
|
14040
14043
|
Zt,
|
14041
14044
|
{
|
@@ -14173,7 +14176,7 @@ const pt = g.createContext(null), th = ({
|
|
14173
14176
|
sx: s === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
|
14174
14177
|
children: [
|
14175
14178
|
/* @__PURE__ */ t(
|
14176
|
-
|
14179
|
+
Oe,
|
14177
14180
|
{
|
14178
14181
|
categoryGuid: e ? m.INCOME : h.guid,
|
14179
14182
|
color: h.color,
|
@@ -14332,7 +14335,7 @@ const pt = g.createContext(null), th = ({
|
|
14332
14335
|
/* @__PURE__ */ t(X, { "aria-hidden": "true" }),
|
14333
14336
|
/* @__PURE__ */ t(oA, { children: A.categoryData.map((o) => /* @__PURE__ */ d(g.Fragment, { children: [
|
14334
14337
|
/* @__PURE__ */ t(
|
14335
|
-
|
14338
|
+
Z,
|
14336
14339
|
{
|
14337
14340
|
disableGutters: !0,
|
14338
14341
|
disablePadding: !0,
|
@@ -14377,7 +14380,7 @@ const pt = g.createContext(null), th = ({
|
|
14377
14380
|
/* @__PURE__ */ t(X, {}),
|
14378
14381
|
o.categoryTotals && o.categoryTotals.length > 0 && /* @__PURE__ */ t(pa, { in: i?.guid === o.guid, unmountOnExit: !0, children: /* @__PURE__ */ d(oA, { children: [
|
14379
14382
|
i?.categoryTotals?.map((s) => /* @__PURE__ */ t(
|
14380
|
-
|
14383
|
+
Z,
|
14381
14384
|
{
|
14382
14385
|
sx: {
|
14383
14386
|
pl: 24,
|
@@ -14474,7 +14477,7 @@ const pt = g.createContext(null), th = ({
|
|
14474
14477
|
), O = g.useMemo(
|
14475
14478
|
() => u.find((B) => B.guid === v),
|
14476
14479
|
[v]
|
14477
|
-
),
|
14480
|
+
), M = (B, _) => {
|
14478
14481
|
f(_), h("");
|
14479
14482
|
}, x = (B) => {
|
14480
14483
|
h(l === B || B === "0" ? "" : B);
|
@@ -14485,25 +14488,25 @@ const pt = g.createContext(null), th = ({
|
|
14485
14488
|
};
|
14486
14489
|
if (C === 0)
|
14487
14490
|
if (B === "other") {
|
14488
|
-
const
|
14491
|
+
const G = S.categoryData.find((k) => k.guid === "other");
|
14489
14492
|
c({
|
14490
14493
|
..._,
|
14491
|
-
custom: (
|
14494
|
+
custom: (k) => !!G?.categoryTotals?.find((P) => P.guid === k.top_level_category_guid)
|
14492
14495
|
});
|
14493
14496
|
} else
|
14494
14497
|
c({
|
14495
14498
|
..._,
|
14496
|
-
custom: (
|
14499
|
+
custom: (G) => B ? G.top_level_category_guid === B : G.top_level_category_guid !== m.INCOME
|
14497
14500
|
});
|
14498
14501
|
else
|
14499
14502
|
c({
|
14500
14503
|
..._,
|
14501
|
-
custom: (
|
14504
|
+
custom: (G) => B ? G.category_guid === B : G.top_level_category_guid === m.INCOME
|
14502
14505
|
});
|
14503
14506
|
T(!0);
|
14504
14507
|
};
|
14505
14508
|
return /* @__PURE__ */ d(D, { children: [
|
14506
|
-
/* @__PURE__ */ d(Ze, { onChange:
|
14509
|
+
/* @__PURE__ */ d(Ze, { onChange: M, value: C, variant: "fullWidth", children: [
|
14507
14510
|
/* @__PURE__ */ t(
|
14508
14511
|
ee,
|
14509
14512
|
{
|
@@ -14571,16 +14574,16 @@ const pt = g.createContext(null), th = ({
|
|
14571
14574
|
)
|
14572
14575
|
] });
|
14573
14576
|
}, _h = I(Bh), kh = ({ onBackClick: A, sx: e = {} }) => {
|
14574
|
-
const { accounts: n } = OA(), { spending: r } = b(), { isInitialized: a, setDisplayedDate: i, setSelectedAccounts: o } = vA(), { onEvent: s } =
|
14577
|
+
const { accounts: n } = OA(), { spending: r } = b(), { isInitialized: a, setDisplayedDate: i, setSelectedAccounts: o } = vA(), { onEvent: s } = V(), [c, u] = g.useState(!1);
|
14575
14578
|
g.useEffect(() => {
|
14576
14579
|
o(n);
|
14577
14580
|
}, [n]), g.useEffect(() => {
|
14578
|
-
i(EA(
|
14581
|
+
i(EA($()), DA($())), u(!0), s(Q.SPENDING_VIEW);
|
14579
14582
|
}, []);
|
14580
14583
|
const l = (h) => {
|
14581
14584
|
i(h[0], h[1]);
|
14582
14585
|
};
|
14583
|
-
return !a || !c ? /* @__PURE__ */ t(
|
14586
|
+
return !a || !c ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ t(
|
14584
14587
|
qe,
|
14585
14588
|
{
|
14586
14589
|
accountOptions: n,
|
@@ -14596,14 +14599,14 @@ const pt = g.createContext(null), th = ({
|
|
14596
14599
|
const e = A.row[A.field];
|
14597
14600
|
return /* @__PURE__ */ t(w, { alignItems: "flex-end", tabIndex: A.tabIndex, children: /* @__PURE__ */ t(zA, { amount: e, variant: "Small" }) });
|
14598
14601
|
}, Xh = ({ categoryGuid: A }) => {
|
14599
|
-
const { categories: e } = b(), n =
|
14602
|
+
const { categories: e } = b(), n = Te[A];
|
14600
14603
|
return /* @__PURE__ */ d(w, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
14601
14604
|
/* @__PURE__ */ t(
|
14602
14605
|
D,
|
14603
14606
|
{
|
14604
14607
|
"aria-label": z(e.category_icon_label_aria, n),
|
14605
14608
|
role: "img",
|
14606
|
-
children: /* @__PURE__ */ t(
|
14609
|
+
children: /* @__PURE__ */ t(Oe, { categoryGuid: A })
|
14607
14610
|
}
|
14608
14611
|
),
|
14609
14612
|
/* @__PURE__ */ t(y, { sx: { ml: 12, pb: 6 }, variant: "Small", children: n })
|
@@ -14613,9 +14616,9 @@ const pt = g.createContext(null), th = ({
|
|
14613
14616
|
height: e = "100dvh",
|
14614
14617
|
sx: n = {}
|
14615
14618
|
}) => {
|
14616
|
-
const { onEvent: r } =
|
14619
|
+
const { onEvent: r } = V(), a = J(/* @__PURE__ */ new Date(), U.MONTH_SHORT), [i, o] = g.useState([
|
14617
14620
|
{ field: a, sort: "desc" }
|
14618
|
-
]), s = A.reduce((l, h) => (l[h.month] || (l[h.month] =
|
14621
|
+
]), s = A.reduce((l, h) => (l[h.month] || (l[h.month] = J(
|
14619
14622
|
new Date(h.year, h.month, 1),
|
14620
14623
|
U.MONTH
|
14621
14624
|
)), l), []).filter(Boolean), c = [
|
@@ -14649,7 +14652,7 @@ const pt = g.createContext(null), th = ({
|
|
14649
14652
|
const { category_guid: f, top_level_category_guid: v, month: p, total: E, year: T } = C;
|
14650
14653
|
if (f === v) {
|
14651
14654
|
h[f] || (h[f] = { id: f, category: f });
|
14652
|
-
const S =
|
14655
|
+
const S = J(new Date(T, p, 1), U.MONTH_SHORT);
|
14653
14656
|
h[f][S] = E;
|
14654
14657
|
}
|
14655
14658
|
return h;
|
@@ -14677,11 +14680,11 @@ const pt = g.createContext(null), th = ({
|
|
14677
14680
|
}
|
14678
14681
|
) });
|
14679
14682
|
}, jh = ({ onBackClick: A, sx: e }) => {
|
14680
|
-
const n = Ke(), { onEvent: r } =
|
14681
|
-
start: EA(
|
14683
|
+
const n = Ke(), { onEvent: r } = V(), { isDesktop: a, isTablet: i, isMobile: o } = jA(), { accounts: s } = OA(), { categories: c, loadMonthlyCategoryTotals: u, monthlyCategoryTotals: l } = xA(), { isInitialized: h, selectedAccounts: C, setSelectedAccounts: f } = vA(), { trends: v } = b(), p = n.palette.mode === "dark", [E, T] = g.useState(!1), [S, L] = g.useState("Chart"), [O, M] = g.useState({
|
14684
|
+
start: EA(fe(/* @__PURE__ */ new Date(), 5)),
|
14682
14685
|
end: DA(/* @__PURE__ */ new Date())
|
14683
|
-
}), x = (
|
14684
|
-
L(
|
14686
|
+
}), x = (P, W) => {
|
14687
|
+
L(W ?? S), r(Q.TRENDS_CLICK_TOGGLE);
|
14685
14688
|
};
|
14686
14689
|
g.useEffect(() => {
|
14687
14690
|
f(s);
|
@@ -14693,38 +14696,38 @@ const pt = g.createContext(null), th = ({
|
|
14693
14696
|
).finally(() => {
|
14694
14697
|
T(!0);
|
14695
14698
|
});
|
14696
|
-
}, [c, h, C,
|
14699
|
+
}, [c, h, C, M]);
|
14697
14700
|
const K = g.useMemo(
|
14698
|
-
() => Ju(l).sort((
|
14701
|
+
() => Ju(l).sort((P, W) => P.month - W.month),
|
14699
14702
|
[l]
|
14700
14703
|
), B = g.useMemo(
|
14701
14704
|
() => jr(K.filter(li)),
|
14702
14705
|
[c, l]
|
14703
14706
|
), _ = g.useMemo(
|
14704
|
-
() => K.map((
|
14705
|
-
[c, l]
|
14706
|
-
), k = g.useMemo(
|
14707
|
-
() => [...new Set(K.map((M) => M.category_guid))],
|
14707
|
+
() => K.map((P) => Ue[P.category_guid] ?? Ue.default),
|
14708
14708
|
[c, l]
|
14709
14709
|
), G = g.useMemo(
|
14710
|
+
() => [...new Set(K.map((P) => P.category_guid))],
|
14711
|
+
[c, l]
|
14712
|
+
), k = g.useMemo(
|
14710
14713
|
() => jr(K.filter(Vn)),
|
14711
14714
|
[c, l]
|
14712
14715
|
);
|
14713
|
-
return !h || !E ? /* @__PURE__ */ t(
|
14716
|
+
return !h || !E ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ t(
|
14714
14717
|
qe,
|
14715
14718
|
{
|
14716
14719
|
accountOptions: s,
|
14717
14720
|
calendarActions: {
|
14718
|
-
onRangeChanged(
|
14721
|
+
onRangeChanged(P) {
|
14719
14722
|
u(
|
14720
14723
|
C,
|
14721
|
-
|
14722
|
-
|
14723
|
-
),
|
14724
|
-
start:
|
14725
|
-
end:
|
14724
|
+
P?.[0],
|
14725
|
+
P?.[1]
|
14726
|
+
), M({
|
14727
|
+
start: P?.[0],
|
14728
|
+
end: P?.[1]
|
14726
14729
|
}), r(Q.TRENDS_CLICK_DATE, {
|
14727
|
-
time_period: yo(
|
14730
|
+
time_period: yo(P?.[1], P?.[0]) + "M"
|
14728
14731
|
});
|
14729
14732
|
}
|
14730
14733
|
},
|
@@ -14765,14 +14768,14 @@ const pt = g.createContext(null), th = ({
|
|
14765
14768
|
}
|
14766
14769
|
),
|
14767
14770
|
/* @__PURE__ */ d(y, { variant: a ? "Body" : "Small", children: [
|
14768
|
-
|
14771
|
+
J(
|
14769
14772
|
O.start,
|
14770
14773
|
o ? U.MONTH_SHORT_YEAR : U.MONTH_YEAR
|
14771
14774
|
),
|
14772
14775
|
" ",
|
14773
14776
|
"-",
|
14774
14777
|
" ",
|
14775
|
-
|
14778
|
+
J(
|
14776
14779
|
O.end,
|
14777
14780
|
o ? U.MONTH_SHORT_YEAR : U.MONTH_YEAR
|
14778
14781
|
)
|
@@ -14785,7 +14788,7 @@ const pt = g.createContext(null), th = ({
|
|
14785
14788
|
onChange: x,
|
14786
14789
|
orientation: "horizontal",
|
14787
14790
|
value: S,
|
14788
|
-
children: ["Chart", "Table"].map((
|
14791
|
+
children: ["Chart", "Table"].map((P) => /* @__PURE__ */ t(
|
14789
14792
|
En,
|
14790
14793
|
{
|
14791
14794
|
sx: {
|
@@ -14810,10 +14813,10 @@ const pt = g.createContext(null), th = ({
|
|
14810
14813
|
color: n.palette.grey[500]
|
14811
14814
|
}
|
14812
14815
|
},
|
14813
|
-
value:
|
14814
|
-
children:
|
14816
|
+
value: P,
|
14817
|
+
children: P === "Chart" ? /* @__PURE__ */ t(N, { name: "table_chart_view" }) : /* @__PURE__ */ t(N, { name: "format_list_bulleted" })
|
14815
14818
|
},
|
14816
|
-
|
14819
|
+
P
|
14817
14820
|
))
|
14818
14821
|
}
|
14819
14822
|
)
|
@@ -14824,21 +14827,21 @@ const pt = g.createContext(null), th = ({
|
|
14824
14827
|
S === "Chart" && /* @__PURE__ */ t(
|
14825
14828
|
Vs,
|
14826
14829
|
{
|
14827
|
-
onHoverArea: (
|
14828
|
-
category:
|
14830
|
+
onHoverArea: (P) => r(Q.TRENDS_HOVER_AREA, {
|
14831
|
+
category: P
|
14829
14832
|
}),
|
14830
|
-
onHoverLegend: (
|
14831
|
-
category:
|
14833
|
+
onHoverLegend: (P) => r(Q.TRENDS_HOVER_LEGEND, {
|
14834
|
+
category: P
|
14832
14835
|
}),
|
14833
|
-
onHoverPoint: (
|
14834
|
-
category:
|
14836
|
+
onHoverPoint: (P) => r(Q.TRENDS_HOVER_POINT, {
|
14837
|
+
category: P
|
14835
14838
|
}),
|
14836
|
-
stackedCategoryGuids:
|
14839
|
+
stackedCategoryGuids: G,
|
14837
14840
|
stackedColors: _,
|
14838
14841
|
stackedDatasets: B,
|
14839
14842
|
unstackedCategoryGuids: [m.INCOME],
|
14840
14843
|
unstackedColors: [Ue[m.INCOME]],
|
14841
|
-
unstackedDatasets:
|
14844
|
+
unstackedDatasets: k
|
14842
14845
|
}
|
14843
14846
|
),
|
14844
14847
|
S === "Table" && /* @__PURE__ */ t(Fh, { monthlyCategoryTotals: l, sx: {} })
|
@@ -14852,11 +14855,11 @@ const pt = g.createContext(null), th = ({
|
|
14852
14855
|
const e = [], n = A.filter(
|
14853
14856
|
(i) => i.top_level_category_guid !== m.INCOME && i.top_level_category_guid !== m.TRANSFER && i.total > 0
|
14854
14857
|
);
|
14855
|
-
let r = EA(
|
14858
|
+
let r = EA(fe(/* @__PURE__ */ new Date(), 5));
|
14856
14859
|
const a = DA(/* @__PURE__ */ new Date());
|
14857
14860
|
for (; hA(r, a); )
|
14858
14861
|
e.push({
|
14859
|
-
x:
|
14862
|
+
x: J(r, U.MONTH_SHORT),
|
14860
14863
|
y: n.filter((i) => i.year === r.getFullYear() && i.month === r.getMonth() + 1).reduce((i, o) => i + o.total, 0)
|
14861
14864
|
}), r = YA(r, 1);
|
14862
14865
|
return e;
|
@@ -14880,7 +14883,7 @@ const pt = g.createContext(null), th = ({
|
|
14880
14883
|
r && n(i).finally(() => {
|
14881
14884
|
s(!0);
|
14882
14885
|
});
|
14883
|
-
}, [r, i]), !r || !o ? /* @__PURE__ */ t(
|
14886
|
+
}, [r, i]), !r || !o ? /* @__PURE__ */ t(Ee, {}) : /* @__PURE__ */ t(
|
14884
14887
|
Be,
|
14885
14888
|
{
|
14886
14889
|
onPrimaryCtaClick: A,
|
@@ -14925,7 +14928,7 @@ export {
|
|
14925
14928
|
Zg as CashflowWidget,
|
14926
14929
|
fr as CategoryApi,
|
14927
14930
|
Ue as CategoryColors,
|
14928
|
-
|
14931
|
+
Te as CategoryGuidToName,
|
14929
14932
|
m as CategoryGuids,
|
14930
14933
|
Da as CategoryIcon,
|
14931
14934
|
cl as CategorySelector,
|
@@ -14959,7 +14962,7 @@ export {
|
|
14959
14962
|
cC as GoalsWidget,
|
14960
14963
|
dC as HiddenInsightsDrawer,
|
14961
14964
|
Nn as INCOME_ACCOUNT_TYPES,
|
14962
|
-
|
14965
|
+
Se as IconBacking,
|
14963
14966
|
Mt as InformationTooltip,
|
14964
14967
|
gC as InsightsMicroWidget,
|
14965
14968
|
th as InsightsMicroWidgetDataProvider,
|
@@ -14967,11 +14970,11 @@ export {
|
|
14967
14970
|
Kg as LOADING_STATUS,
|
14968
14971
|
Ha as LineChart,
|
14969
14972
|
ac as ListItemWrapper,
|
14970
|
-
|
14973
|
+
Ee as Loader,
|
14971
14974
|
Bg as LocalizedCopyApi,
|
14972
14975
|
lC as ManageAccountsDrawer,
|
14973
14976
|
ri as ManageIncome,
|
14974
|
-
|
14977
|
+
Ie as MemberConnectionStatus,
|
14975
14978
|
AC as MerchantLookup,
|
14976
14979
|
Eu as MerchantStore,
|
14977
14980
|
Sa as MfaStatuses,
|
@@ -15042,13 +15045,13 @@ export {
|
|
15042
15045
|
z as buildDynamicCopy,
|
15043
15046
|
Mg as buildPluralCopy,
|
15044
15047
|
F as formatCurrency,
|
15045
|
-
|
15048
|
+
J as formatDate,
|
15046
15049
|
Cs as formatOrdinal,
|
15047
15050
|
hs as formatPercentage,
|
15048
15051
|
oi as getAccountBalanceDetails,
|
15049
15052
|
Qd as getAccountDetailFields,
|
15050
15053
|
ds as getCurrencyCodes,
|
15051
|
-
|
15054
|
+
De as getLocale,
|
15052
15055
|
eC as getNotificationDetailRoute,
|
15053
15056
|
hn as isValidNumber,
|
15054
15057
|
OA as useAccountStore,
|
@@ -15058,7 +15061,7 @@ export {
|
|
15058
15061
|
_e as useCategoryUiStore,
|
15059
15062
|
ms as useCombineEvents,
|
15060
15063
|
ps as useCombinePageviews,
|
15061
|
-
|
15064
|
+
V as useEvent,
|
15062
15065
|
xu as useGetMergeableAccounts,
|
15063
15066
|
b as useGlobalCopyStore,
|
15064
15067
|
zn as useGlobalStore,
|