@mx-cartographer/experiences 9.0.7-alpha.mm1 → 9.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/README.md +10 -10
- package/dist/{UserStore-N45sW80v.mjs → UserStore-DzWku3t0.mjs} +136 -134
- package/dist/common/index.es.js +1 -1
- package/dist/core/index.es.js +1 -1
- package/dist/insights/index.es.js +3 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -41,9 +41,9 @@ The library is built using a modern React stack, leveraging industry-standard to
|
|
|
41
41
|
|
|
42
42
|
### Prerequisites
|
|
43
43
|
- **Node.js**: v18.0.0 or higher
|
|
44
|
-
- **Yarn**: 4.
|
|
45
|
-
- **React**:
|
|
46
|
-
- **MobX**: 6.
|
|
44
|
+
- **Yarn**: 4.15.0 [^YARN_VER]
|
|
45
|
+
- **React**: 19.x [^REACT_VER]
|
|
46
|
+
- **MobX**: 6.15.0 [^MOBX_VER]
|
|
47
47
|
|
|
48
48
|
### Installation
|
|
49
49
|
|
|
@@ -219,10 +219,10 @@ For technical assistance or internal inquiries:
|
|
|
219
219
|
[^2]: [src/common/context/WidgetContainerProvider.tsx:10](src/common/context/WidgetContainerProvider.tsx#L10)
|
|
220
220
|
[^3]: [src/common/context/GlobalStoreProvider.tsx:10](src/common/context/GlobalStoreProvider.tsx#L10)
|
|
221
221
|
[^4]: [src/common/hooks/useScreenSize.tsx:4](src/common/hooks/useScreenSize.tsx#L4)
|
|
222
|
-
[^5]: [package.json:
|
|
223
|
-
[^6]: [package.json:
|
|
224
|
-
[^MUI_VER]: [package.json:
|
|
225
|
-
[^MXUI_VER]: [package.json:
|
|
226
|
-
[^MOBX_VER]: [package.json:
|
|
227
|
-
[^REACT_VER]: [package.json:
|
|
228
|
-
[^YARN_VER]: [package.json:
|
|
222
|
+
[^5]: [package.json:187](package.json#L187)
|
|
223
|
+
[^6]: [package.json:229](package.json#L229)
|
|
224
|
+
[^MUI_VER]: [package.json:195](package.json#L195)
|
|
225
|
+
[^MXUI_VER]: [package.json:203](package.json#L203)
|
|
226
|
+
[^MOBX_VER]: [package.json:209](package.json#L209)
|
|
227
|
+
[^REACT_VER]: [package.json:213](package.json#L213)
|
|
228
|
+
[^YARN_VER]: [package.json:297](package.json#L297)
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { makeAutoObservable as d, runInAction as c, reaction as ut, autorun as St, observable as Tt
|
|
2
|
-
import { d as
|
|
3
|
-
import { i as
|
|
1
|
+
import { makeAutoObservable as d, runInAction as c, reaction as ut, autorun as St, observable as Tt } from "mobx";
|
|
2
|
+
import { d as At } from "./AccountUtils-B8ZzWI-d.mjs";
|
|
3
|
+
import { i as wt, f as bt, b as It, c as k } from "./BudgetUtil-Bg2AQJpQ.mjs";
|
|
4
4
|
import { c as h, d as M } from "./Account-DR7Plrqy.mjs";
|
|
5
5
|
import { F as g, B as v, G as H } from "./GlobalCopyApi-wcnDUzMV.mjs";
|
|
6
6
|
import { A as i } from "./ApiEndpoints-DXwIYNUV.mjs";
|
|
7
|
-
import
|
|
7
|
+
import Ct from "posthog-js";
|
|
8
8
|
import { endOfMonth as T } from "date-fns/endOfMonth";
|
|
9
9
|
import { startOfMonth as E } from "date-fns/startOfMonth";
|
|
10
10
|
import { startOfToday as y } from "date-fns/startOfToday";
|
|
11
|
-
import { C as w, b as
|
|
12
|
-
import { addDays as
|
|
13
|
-
import { differenceInDays as
|
|
11
|
+
import { C as w, b as Et } from "./Category-DEKZGLYe.mjs";
|
|
12
|
+
import { addDays as Rt } from "date-fns/addDays";
|
|
13
|
+
import { differenceInDays as Dt } from "date-fns/differenceInDays";
|
|
14
14
|
import { isBefore as F } from "date-fns/isBefore";
|
|
15
15
|
import { getUnixTime as m } from "date-fns/getUnixTime";
|
|
16
16
|
import { subMonths as $ } from "date-fns/subMonths";
|
|
17
|
-
import { c as
|
|
18
|
-
import { l as
|
|
19
|
-
import { format as
|
|
20
|
-
import { fromUnixTime as
|
|
17
|
+
import { c as Lt, d as vt, C as $t, h as Gt, i as Nt, s as Bt, j as xt, T as Mt, D as Ot } from "./TransactionUtils-BphBJBbU.mjs";
|
|
18
|
+
import { l as Pt, D as Ut } from "./DebtUtils-i4pI2Uoe.mjs";
|
|
19
|
+
import { format as Ft } from "date-fns/format";
|
|
20
|
+
import { fromUnixTime as kt } from "date-fns/fromUnixTime";
|
|
21
21
|
import { f as P, D as U } from "./DateFormats-HudZ3Bjs.mjs";
|
|
22
22
|
import { T as S, c as W } from "./GoalsUtil-C9EnLWvC.mjs";
|
|
23
|
-
import { A as
|
|
24
|
-
import { f as
|
|
25
|
-
import { f as
|
|
23
|
+
import { A as Ht, m as Wt, a as Vt, b as zt } from "./InvestmentUtil-BItV7uEs.mjs";
|
|
24
|
+
import { f as Kt, b as Qt, a as V, c as qt, d as Yt, e as jt, s as Xt } from "./NetWorthUtils-DfSH3z70.mjs";
|
|
25
|
+
import { f as Jt } from "./NotificationUtils-BRGFTePr.mjs";
|
|
26
26
|
import { isAfter as z } from "date-fns/isAfter";
|
|
27
27
|
import { isSameDay as K } from "date-fns/isSameDay";
|
|
28
28
|
import { isWithinInterval as gt } from "date-fns/isWithinInterval";
|
|
29
29
|
import { subDays as pt } from "date-fns/subDays";
|
|
30
|
-
import { f as O, h as
|
|
30
|
+
import { f as O, h as Zt, a as f, b as Q } from "./RecurringTransactionsUtil-zOxq5pzY.mjs";
|
|
31
31
|
import { I as u, A as _, B as G } from "./Notification-DTNYSd8P.mjs";
|
|
32
32
|
import { endOfToday as q } from "date-fns/endOfToday";
|
|
33
|
-
import { formatISO as
|
|
34
|
-
import { addSeconds as
|
|
35
|
-
import { differenceInCalendarMonths as
|
|
36
|
-
import { f as
|
|
37
|
-
import { addMonths as
|
|
33
|
+
import { formatISO as te } from "date-fns/formatISO";
|
|
34
|
+
import { addSeconds as ee } from "date-fns/addSeconds";
|
|
35
|
+
import { differenceInCalendarMonths as se } from "date-fns/differenceInCalendarMonths";
|
|
36
|
+
import { f as ae, b as ne } from "./TrendsUtil-D9z3kIj_.mjs";
|
|
37
|
+
import { addMonths as ie } from "date-fns/addMonths";
|
|
38
38
|
import { getMonth as L } from "date-fns/getMonth";
|
|
39
|
-
import { a as
|
|
39
|
+
import { a as re } from "./Help-CkQTjORd.mjs";
|
|
40
40
|
class N {
|
|
41
41
|
fetchInstance;
|
|
42
42
|
constructor(t, e, s) {
|
|
@@ -343,7 +343,7 @@ class ct {
|
|
|
343
343
|
}
|
|
344
344
|
requestWidgetUrl = async (t) => this.fetchInstance.post(i.WIDGET_URLS, t).then((e) => e.widget_url);
|
|
345
345
|
}
|
|
346
|
-
class
|
|
346
|
+
class oe {
|
|
347
347
|
globalStore;
|
|
348
348
|
api = new N("/", "");
|
|
349
349
|
accounts = [];
|
|
@@ -357,7 +357,7 @@ class ce {
|
|
|
357
357
|
membersLoading = !1;
|
|
358
358
|
uiStore;
|
|
359
359
|
constructor(t) {
|
|
360
|
-
this.globalStore = t, this.uiStore = new
|
|
360
|
+
this.globalStore = t, this.uiStore = new ce(), this.api = new N(t.endpoint, t.sessionToken, t.onError), d(this);
|
|
361
361
|
}
|
|
362
362
|
loadAccountData = async () => {
|
|
363
363
|
await Promise.all([this.loadAccounts(), this.loadMembers(), this.loadInstitutions()]);
|
|
@@ -366,8 +366,8 @@ class ce {
|
|
|
366
366
|
return this.accountsLoaded && this.membersLoaded && this.institutionsLoaded;
|
|
367
367
|
}
|
|
368
368
|
get detailedAccounts() {
|
|
369
|
-
const t = this.globalStore.userStore.userFeatures, e =
|
|
370
|
-
return
|
|
369
|
+
const t = this.globalStore.userStore.userFeatures, e = wt(t, "MD_EXCLUDE_EXTERNAL_ACCOUNTS"), s = this.globalStore.appConfig.config.display_only_external_accounts_in_accounts && this.globalStore.appConfig.options.subtype === "accounts";
|
|
370
|
+
return At(
|
|
371
371
|
this.accounts,
|
|
372
372
|
this.institutions,
|
|
373
373
|
this.members,
|
|
@@ -580,7 +580,7 @@ class ce {
|
|
|
580
580
|
this.setAccounts(a);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
|
-
let
|
|
583
|
+
let ce = class {
|
|
584
584
|
selectedAccount = {};
|
|
585
585
|
selectedMember = {};
|
|
586
586
|
constructor() {
|
|
@@ -589,7 +589,7 @@ let le = class {
|
|
|
589
589
|
setSelectedAccount = (t) => this.selectedAccount = t;
|
|
590
590
|
setSelectedMember = (t) => this.selectedMember = t;
|
|
591
591
|
};
|
|
592
|
-
class
|
|
592
|
+
class le {
|
|
593
593
|
globalStore;
|
|
594
594
|
api = new Y("/", "");
|
|
595
595
|
bannerApi = new j("/");
|
|
@@ -642,7 +642,7 @@ class de {
|
|
|
642
642
|
setUserCommunicationProfile = (t) => this.appData.user_communication_profile = t;
|
|
643
643
|
setUserProfile = (t) => this.appData.user_profile = t;
|
|
644
644
|
}
|
|
645
|
-
class
|
|
645
|
+
class de {
|
|
646
646
|
globalStore;
|
|
647
647
|
survey = null;
|
|
648
648
|
currentQuestionIndex = 0;
|
|
@@ -672,7 +672,7 @@ class he {
|
|
|
672
672
|
return this.survey ? this.survey.questions : [];
|
|
673
673
|
}
|
|
674
674
|
loadSurvey = (t = !1) => {
|
|
675
|
-
|
|
675
|
+
Ct.getActiveMatchingSurveys((e) => {
|
|
676
676
|
c(() => {
|
|
677
677
|
if (e.length > 0) {
|
|
678
678
|
const s = e.find((a) => a.id === this.surveyId);
|
|
@@ -691,11 +691,11 @@ class he {
|
|
|
691
691
|
this.response = t, this.question && (this.responses[`$survey_response_${this.question.id}`] = t);
|
|
692
692
|
};
|
|
693
693
|
}
|
|
694
|
-
function
|
|
694
|
+
function he(n, t, e, s = "asc") {
|
|
695
695
|
const a = s === "desc" ? -1 : 1;
|
|
696
696
|
return [...n, ...t].sort((o, r) => o[e] < r[e] ? -1 * a : o[e] > r[e] ? 1 * a : 0);
|
|
697
697
|
}
|
|
698
|
-
const
|
|
698
|
+
const ue = (n) => ({
|
|
699
699
|
...n,
|
|
700
700
|
//fields that are offer specific, adding here for visibility
|
|
701
701
|
image_url: n.image_url,
|
|
@@ -738,7 +738,7 @@ const ge = (n) => ({
|
|
|
738
738
|
user_guid: "",
|
|
739
739
|
user_verification: 0
|
|
740
740
|
});
|
|
741
|
-
class
|
|
741
|
+
class ge {
|
|
742
742
|
globalStore;
|
|
743
743
|
api = new v("/", "");
|
|
744
744
|
beats = [];
|
|
@@ -748,9 +748,9 @@ class pe {
|
|
|
748
748
|
}
|
|
749
749
|
loadBeats = async () => {
|
|
750
750
|
this.isLoading = !0;
|
|
751
|
-
const t = await this.api.getBeats(), s = (await this.api.getOffers()).map((a) =>
|
|
751
|
+
const t = await this.api.getBeats(), s = (await this.api.getOffers()).map((a) => ue(a));
|
|
752
752
|
c(() => {
|
|
753
|
-
this.beats =
|
|
753
|
+
this.beats = he(t, s, "active_at", "desc"), this.isLoading = !1;
|
|
754
754
|
});
|
|
755
755
|
};
|
|
756
756
|
getFilteredBeats(t) {
|
|
@@ -767,7 +767,7 @@ class pe {
|
|
|
767
767
|
return t.filter((s) => e.some((a) => s.template === a));
|
|
768
768
|
}
|
|
769
769
|
}
|
|
770
|
-
class
|
|
770
|
+
class pe {
|
|
771
771
|
api = new X("/", "");
|
|
772
772
|
globalStore;
|
|
773
773
|
alert = "";
|
|
@@ -787,9 +787,9 @@ class _e {
|
|
|
787
787
|
(t) => {
|
|
788
788
|
if (t) {
|
|
789
789
|
const e = this.selectedBudget;
|
|
790
|
-
e && (this.selectedBudget =
|
|
790
|
+
e && (this.selectedBudget = bt(t, e.guid));
|
|
791
791
|
const s = this.selectedSubBudget;
|
|
792
|
-
s && s.parent_guid && (this.selectedSubBudget =
|
|
792
|
+
s && s.parent_guid && (this.selectedSubBudget = It(
|
|
793
793
|
t,
|
|
794
794
|
s.guid,
|
|
795
795
|
s.parent_guid
|
|
@@ -935,11 +935,11 @@ class _e {
|
|
|
935
935
|
}
|
|
936
936
|
};
|
|
937
937
|
}
|
|
938
|
-
class
|
|
938
|
+
class _e {
|
|
939
939
|
globalStore;
|
|
940
940
|
uiStore;
|
|
941
941
|
constructor(t) {
|
|
942
|
-
this.globalStore = t, this.uiStore = new
|
|
942
|
+
this.globalStore = t, this.uiStore = new fe(), d(this);
|
|
943
943
|
}
|
|
944
944
|
completeOnboarding = async () => {
|
|
945
945
|
const t = {
|
|
@@ -949,9 +949,9 @@ class fe {
|
|
|
949
949
|
await this.globalStore.userStore.updateUserProfile(t);
|
|
950
950
|
};
|
|
951
951
|
}
|
|
952
|
-
let
|
|
952
|
+
let fe = class {
|
|
953
953
|
// Cashflow is hard-coded to display 30 days starting from today
|
|
954
|
-
dateRange = { start: y(), end:
|
|
954
|
+
dateRange = { start: y(), end: Rt(y(), 30) };
|
|
955
955
|
isDirty = !1;
|
|
956
956
|
nextIncome = void 0;
|
|
957
957
|
upcomingExpenses = [];
|
|
@@ -961,7 +961,7 @@ let ye = class {
|
|
|
961
961
|
}
|
|
962
962
|
// Returns the number of days until the next income activity or 0 if there is no income activity
|
|
963
963
|
get daysUntilNextIncome() {
|
|
964
|
-
return this.nextIncome ? Math.abs(
|
|
964
|
+
return this.nextIncome ? Math.abs(Dt(y(), this.nextIncome.expectedDate)) : 0;
|
|
965
965
|
}
|
|
966
966
|
// Returns the expenses (Activities) until the next income activity or the end of the month
|
|
967
967
|
// if there is no income activity
|
|
@@ -978,7 +978,7 @@ let ye = class {
|
|
|
978
978
|
};
|
|
979
979
|
setSelectedCashAccounts = (t) => this.selectedCashAccounts = t;
|
|
980
980
|
};
|
|
981
|
-
class
|
|
981
|
+
class ye {
|
|
982
982
|
globalStore;
|
|
983
983
|
uiStore;
|
|
984
984
|
api = new J("/", "");
|
|
@@ -992,10 +992,10 @@ class me {
|
|
|
992
992
|
monthlyTotalsLoaded = !1;
|
|
993
993
|
monthlyTotalsLoading = !1;
|
|
994
994
|
constructor(t) {
|
|
995
|
-
this.globalStore = t, this.uiStore = new
|
|
995
|
+
this.globalStore = t, this.uiStore = new me(), this.api = new J(t.endpoint, t.sessionToken, t.onError), d(this);
|
|
996
996
|
}
|
|
997
997
|
get detailedCategories() {
|
|
998
|
-
return this.globalStore.isInitialized ?
|
|
998
|
+
return this.globalStore.isInitialized ? Lt(
|
|
999
999
|
this.categories,
|
|
1000
1000
|
this.globalStore.copyStore.copy.categories,
|
|
1001
1001
|
this.dateRangeCategoryTotals,
|
|
@@ -1003,7 +1003,7 @@ class me {
|
|
|
1003
1003
|
) : [];
|
|
1004
1004
|
}
|
|
1005
1005
|
get detailedCategoriesWithTransactions() {
|
|
1006
|
-
return
|
|
1006
|
+
return vt(
|
|
1007
1007
|
this.detailedCategories,
|
|
1008
1008
|
this.globalStore.transactionStore.sortedTransactions
|
|
1009
1009
|
);
|
|
@@ -1102,9 +1102,9 @@ class me {
|
|
|
1102
1102
|
}
|
|
1103
1103
|
};
|
|
1104
1104
|
// TODO: Remove this after refactoring Trends components to use detailedCategories
|
|
1105
|
-
getCategoryName = (t) => this.categories.find((s) => s.guid === t)?.name ??
|
|
1105
|
+
getCategoryName = (t) => this.categories.find((s) => s.guid === t)?.name ?? Et[t];
|
|
1106
1106
|
}
|
|
1107
|
-
let
|
|
1107
|
+
let me = class {
|
|
1108
1108
|
expandedGuid = null;
|
|
1109
1109
|
selectedGuid = null;
|
|
1110
1110
|
searchValue = "";
|
|
@@ -1127,7 +1127,7 @@ let Se = class {
|
|
|
1127
1127
|
onSelect = (t) => this.savedOnSelect(t);
|
|
1128
1128
|
setOnSelect = (t) => this.savedOnSelect = t;
|
|
1129
1129
|
};
|
|
1130
|
-
class
|
|
1130
|
+
class Se {
|
|
1131
1131
|
globalStore;
|
|
1132
1132
|
widgetApi = new ct("/", "");
|
|
1133
1133
|
constructor(t) {
|
|
@@ -1137,24 +1137,24 @@ class Te {
|
|
|
1137
1137
|
widget_url: { widget_type: t, color_scheme: e, ...s }
|
|
1138
1138
|
});
|
|
1139
1139
|
}
|
|
1140
|
-
class
|
|
1140
|
+
class Te {
|
|
1141
1141
|
globalStore;
|
|
1142
1142
|
uiStore;
|
|
1143
1143
|
constructor(t) {
|
|
1144
|
-
this.globalStore = t, this.uiStore = new
|
|
1144
|
+
this.globalStore = t, this.uiStore = new Ae(), d(this);
|
|
1145
1145
|
}
|
|
1146
1146
|
get debts() {
|
|
1147
1147
|
const { visibleDebtAccounts: t } = this.globalStore.accountStore, { selectedAccountGuids: e } = this.globalStore.globalUiStore, { debtGoals: s } = this.globalStore.goalStore, a = e.length ? t.filter((o) => e.includes(o.guid)) : t;
|
|
1148
|
-
return
|
|
1148
|
+
return Pt(a, s);
|
|
1149
1149
|
}
|
|
1150
1150
|
get totalMonthlyPayments() {
|
|
1151
1151
|
return this.debts.map((e) => Number(e.monthly_payment)).filter((e) => !isNaN(e)).reduce((e, s) => e + s, 0);
|
|
1152
1152
|
}
|
|
1153
1153
|
}
|
|
1154
|
-
let
|
|
1154
|
+
let Ae = class {
|
|
1155
1155
|
isLoading = !1;
|
|
1156
1156
|
selectedDebtChartData = {};
|
|
1157
|
-
selectedDebtPriority =
|
|
1157
|
+
selectedDebtPriority = Ut.LOWEST_BALANCE;
|
|
1158
1158
|
constructor() {
|
|
1159
1159
|
d(this);
|
|
1160
1160
|
}
|
|
@@ -1169,16 +1169,16 @@ let we = class {
|
|
|
1169
1169
|
setSelectedDebtChartData = (t) => this.selectedDebtChartData = t;
|
|
1170
1170
|
setSelectedDebtPriority = (t) => this.selectedDebtPriority = t;
|
|
1171
1171
|
};
|
|
1172
|
-
const
|
|
1172
|
+
const we = (n) => n.sort((t, e) => t.monthly_health_score_average.year !== e.monthly_health_score_average.year ? t.monthly_health_score_average.year - e.monthly_health_score_average.year : t.monthly_health_score_average.month - e.monthly_health_score_average.month).map((t) => ({
|
|
1173
1173
|
x: P(
|
|
1174
1174
|
new Date(0, t.monthly_health_score_average.month - 1, 1),
|
|
1175
1175
|
U.MONTH_SHORT
|
|
1176
1176
|
),
|
|
1177
1177
|
y: Math.round(t.monthly_health_score_average.average_health_score)
|
|
1178
|
-
})),
|
|
1178
|
+
})), be = (n) => n.map(({ transaction: e }) => ({
|
|
1179
1179
|
...e
|
|
1180
1180
|
})).sort((e, s) => s.date - e.date);
|
|
1181
|
-
class
|
|
1181
|
+
class Ie {
|
|
1182
1182
|
api = new Z("/", "");
|
|
1183
1183
|
augmentedChartData = [];
|
|
1184
1184
|
averageHealthScores = [];
|
|
@@ -1272,7 +1272,7 @@ class Ce {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
1274
1274
|
loadPeerScore = async () => {
|
|
1275
|
-
const t = kt(
|
|
1275
|
+
const t = Ft(kt(this.globalStore.appDataStore.user.birthday), "yyyy");
|
|
1276
1276
|
try {
|
|
1277
1277
|
const e = await this.api.getPeerScore(t);
|
|
1278
1278
|
c(() => {
|
|
@@ -1286,7 +1286,7 @@ class Ce {
|
|
|
1286
1286
|
try {
|
|
1287
1287
|
const t = await this.api.getAverageHealthScores();
|
|
1288
1288
|
c(() => {
|
|
1289
|
-
this.augmentedChartData =
|
|
1289
|
+
this.augmentedChartData = we(t);
|
|
1290
1290
|
});
|
|
1291
1291
|
} catch (t) {
|
|
1292
1292
|
console.error(`Error occurred while getting augmented chart data: ${t}`);
|
|
@@ -1294,7 +1294,7 @@ class Ce {
|
|
|
1294
1294
|
};
|
|
1295
1295
|
getSpendingFeeTransactions = async () => {
|
|
1296
1296
|
try {
|
|
1297
|
-
const t = await this.api.getSpendingFeeTransactions(), e =
|
|
1297
|
+
const t = await this.api.getSpendingFeeTransactions(), e = be(t);
|
|
1298
1298
|
c(() => {
|
|
1299
1299
|
this.spendingFeeTransactions = e;
|
|
1300
1300
|
});
|
|
@@ -1431,7 +1431,7 @@ const lt = {
|
|
|
1431
1431
|
postHogPublicKey: "phc_1fVYJICC69TpW4wagp9o2XqQ8E7X98cAmcR5psSpfkE",
|
|
1432
1432
|
userFeatures: []
|
|
1433
1433
|
};
|
|
1434
|
-
class
|
|
1434
|
+
class Gs {
|
|
1435
1435
|
// Global properties
|
|
1436
1436
|
appConfig = lt;
|
|
1437
1437
|
endpoint = "/";
|
|
@@ -1464,7 +1464,7 @@ class Ns {
|
|
|
1464
1464
|
// UI Stores
|
|
1465
1465
|
globalUiStore;
|
|
1466
1466
|
constructor(t = lt, e = "/", s, a) {
|
|
1467
|
-
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = s, this.onStoreUpdate = a, this.accountStore = new
|
|
1467
|
+
this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = s, this.onStoreUpdate = a, this.accountStore = new oe(this), this.appDataStore = new le(this), this.analyticsStore = new de(this), this.beatStore = new ge(this), this.budgetsStore = new pe(this), this.cashflowStore = new _e(this), this.categoryStore = new ye(this), this.connectStore = new Se(this), this.copyStore = new Ee(this), this.debtsStore = new Te(this), this.finstrongStore = new Ie(this), this.goalStore = new Re(this), this.helpStore = new ve(this), this.holdingStore = new $e(this), this.merchantStore = new Ge(this), this.netWorthStore = new Ne(this), this.notificationStore = new Be(this), this.recurringTransactionsStore = new xe(this), this.settingsStore = new Pe(this), this.transactionStore = new Ue(this), this.trendsStore = new ke(this), this.userStore = new He(this), this.globalUiStore = new Ce(this), d(this), St(() => {
|
|
1468
1468
|
const { transactions: o } = this.transactionStore;
|
|
1469
1469
|
this.emitUpdate({
|
|
1470
1470
|
transactions: o
|
|
@@ -1501,7 +1501,7 @@ class Ns {
|
|
|
1501
1501
|
(!e || !p) && await this.loadConfigData(), e && this.appDataStore.setAppData(e), p && this.userStore.setUserFeatures(p), t && (await this.accountStore.loadMembers(), o && this.accountStore.setInstitutions(o), this.accountStore.setAccounts(t)), s && this.transactionStore.setAssociatedBeats(s), a && this.categoryStore.setCategories(a), l && this.transactionStore.setTransactions(l), r && this.transactionStore.setTransactionRules(r), b && this.budgetsStore.setMerchantBudgets(b);
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
1504
|
-
class
|
|
1504
|
+
class Ce {
|
|
1505
1505
|
globalStore;
|
|
1506
1506
|
accountFilterMap = /* @__PURE__ */ new Map();
|
|
1507
1507
|
displayedDate = /* @__PURE__ */ new Date();
|
|
@@ -1560,7 +1560,7 @@ class Ee {
|
|
|
1560
1560
|
};
|
|
1561
1561
|
};
|
|
1562
1562
|
get shouldDisableNextDate() {
|
|
1563
|
-
const t = L(this.displayedDate), e = L(
|
|
1563
|
+
const t = L(this.displayedDate), e = L(ie(/* @__PURE__ */ new Date(), 1));
|
|
1564
1564
|
return t === e;
|
|
1565
1565
|
}
|
|
1566
1566
|
get shouldDisablePrevDate() {
|
|
@@ -1568,7 +1568,7 @@ class Ee {
|
|
|
1568
1568
|
return t === e;
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
|
-
class
|
|
1571
|
+
class Ee {
|
|
1572
1572
|
globalStore;
|
|
1573
1573
|
api = new H("/", "");
|
|
1574
1574
|
copy = {};
|
|
@@ -1597,7 +1597,7 @@ class Re {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
};
|
|
1599
1599
|
}
|
|
1600
|
-
class
|
|
1600
|
+
class Re {
|
|
1601
1601
|
globalStore;
|
|
1602
1602
|
api = new tt("/", "");
|
|
1603
1603
|
goals = [];
|
|
@@ -1835,9 +1835,9 @@ class De {
|
|
|
1835
1835
|
}
|
|
1836
1836
|
};
|
|
1837
1837
|
}
|
|
1838
|
-
const
|
|
1838
|
+
const De = (n, t) => n.guid === "general" || n.guid === "insights" ? !0 : n.flags ? n.flags.every((e) => t[e]) : !1, Le = (n, t) => {
|
|
1839
1839
|
const e = [];
|
|
1840
|
-
for (const s of
|
|
1840
|
+
for (const s of re) {
|
|
1841
1841
|
const a = t[s.guid];
|
|
1842
1842
|
if (!a) continue;
|
|
1843
1843
|
const o = {
|
|
@@ -1848,11 +1848,11 @@ const Le = (n, t) => n.guid === "general" || n.guid === "insights" ? !0 : n.flag
|
|
|
1848
1848
|
label: a.topics[l]
|
|
1849
1849
|
}))
|
|
1850
1850
|
};
|
|
1851
|
-
|
|
1851
|
+
De(o, n) && e.push(o);
|
|
1852
1852
|
}
|
|
1853
1853
|
return e;
|
|
1854
1854
|
};
|
|
1855
|
-
class
|
|
1855
|
+
class ve {
|
|
1856
1856
|
alert = { message: "", severity: void 0 };
|
|
1857
1857
|
api = new et("/", "");
|
|
1858
1858
|
appConfig;
|
|
@@ -1878,7 +1878,7 @@ class $e {
|
|
|
1878
1878
|
const { client_communication_profile: t, client_profile: e } = this.globalStore.appDataStore.appData, {
|
|
1879
1879
|
help: { category_list: s }
|
|
1880
1880
|
} = this.globalStore.copyStore.copy;
|
|
1881
|
-
return
|
|
1881
|
+
return Le(
|
|
1882
1882
|
{
|
|
1883
1883
|
...t,
|
|
1884
1884
|
...e,
|
|
@@ -1888,8 +1888,8 @@ class $e {
|
|
|
1888
1888
|
);
|
|
1889
1889
|
}
|
|
1890
1890
|
}
|
|
1891
|
-
class
|
|
1892
|
-
analysisType =
|
|
1891
|
+
class $e {
|
|
1892
|
+
analysisType = Ht.Stocks;
|
|
1893
1893
|
api = new st("/", "");
|
|
1894
1894
|
holdings = [];
|
|
1895
1895
|
holdingsLoaded = !1;
|
|
@@ -1899,10 +1899,10 @@ class Ge {
|
|
|
1899
1899
|
this.globalStore = t, this.api = new st(t.endpoint, t.sessionToken, t.onError), d(this);
|
|
1900
1900
|
}
|
|
1901
1901
|
get analysisChartData() {
|
|
1902
|
-
return Vt(
|
|
1902
|
+
return Wt(Vt(this.visibleHoldings), this.analysisType);
|
|
1903
1903
|
}
|
|
1904
1904
|
get analysisDetails() {
|
|
1905
|
-
return
|
|
1905
|
+
return zt(this.visibleHoldings)[this.analysisType] || {};
|
|
1906
1906
|
}
|
|
1907
1907
|
get visibleHoldings() {
|
|
1908
1908
|
return this.holdings.filter(
|
|
@@ -1941,7 +1941,7 @@ class Ge {
|
|
|
1941
1941
|
}
|
|
1942
1942
|
};
|
|
1943
1943
|
}
|
|
1944
|
-
class
|
|
1944
|
+
class Ge {
|
|
1945
1945
|
globalStore;
|
|
1946
1946
|
api = new at("/", "");
|
|
1947
1947
|
merchant = null;
|
|
@@ -1962,7 +1962,7 @@ class Ne {
|
|
|
1962
1962
|
c(() => this.merchant = e);
|
|
1963
1963
|
};
|
|
1964
1964
|
}
|
|
1965
|
-
class
|
|
1965
|
+
class Ne {
|
|
1966
1966
|
globalStore;
|
|
1967
1967
|
accountsApi = new N("/", "");
|
|
1968
1968
|
monthlyAccountBalances = [];
|
|
@@ -1982,7 +1982,7 @@ class Be {
|
|
|
1982
1982
|
return this.globalStore.accountStore.isAccountDataLoaded && this.monthlyAccountBalancesLoaded;
|
|
1983
1983
|
}
|
|
1984
1984
|
get netWorthAccounts() {
|
|
1985
|
-
return
|
|
1985
|
+
return Kt(
|
|
1986
1986
|
this.globalStore.globalUiStore.selectedAccounts,
|
|
1987
1987
|
this.globalStore.accountStore.members
|
|
1988
1988
|
);
|
|
@@ -1994,7 +1994,7 @@ class Be {
|
|
|
1994
1994
|
};
|
|
1995
1995
|
}
|
|
1996
1996
|
get netWorthChartData() {
|
|
1997
|
-
return
|
|
1997
|
+
return Qt(this.netWorthAccounts, this.monthlyAccountBalances, this.timeframe);
|
|
1998
1998
|
}
|
|
1999
1999
|
get selectedData() {
|
|
2000
2000
|
if (!(!this.netWorthChartData || this.netWorthChartData.length === 0))
|
|
@@ -2004,10 +2004,10 @@ class Be {
|
|
|
2004
2004
|
return this.hoveredIndex >= 0 ? this.netWorthChartData[this.hoveredIndex] : void 0;
|
|
2005
2005
|
}
|
|
2006
2006
|
get gainsLosses() {
|
|
2007
|
-
return
|
|
2007
|
+
return qt(this.selectedData);
|
|
2008
2008
|
}
|
|
2009
2009
|
get assetsLiabilities() {
|
|
2010
|
-
const { assets: t, liabilities: e, totalAssets: s, totalLiabilities: a } =
|
|
2010
|
+
const { assets: t, liabilities: e, totalAssets: s, totalLiabilities: a } = Yt(
|
|
2011
2011
|
this.netWorthData.accounts
|
|
2012
2012
|
);
|
|
2013
2013
|
return {
|
|
@@ -2022,7 +2022,7 @@ class Be {
|
|
|
2022
2022
|
this.globalStore.accountStore.isAccountDataLoaded || await this.globalStore.accountStore.loadAccountData();
|
|
2023
2023
|
const e = (await Promise.all(
|
|
2024
2024
|
this.netWorthAccounts.map((s) => this.getMonthlyAccountBalances(s.guid))
|
|
2025
|
-
)).reduce(
|
|
2025
|
+
)).reduce(jt, []).sort(Xt);
|
|
2026
2026
|
this.setMonthlyAccountBalances(e);
|
|
2027
2027
|
};
|
|
2028
2028
|
getMonthlyAccountBalances = async (t) => {
|
|
@@ -2039,7 +2039,7 @@ class Be {
|
|
|
2039
2039
|
setSelectedIndex = (t) => this.selectedIndex = t;
|
|
2040
2040
|
setTimeframe = (t) => this.timeframe = t;
|
|
2041
2041
|
}
|
|
2042
|
-
class
|
|
2042
|
+
class Be {
|
|
2043
2043
|
globalStore;
|
|
2044
2044
|
api = new nt("/", "");
|
|
2045
2045
|
isLoading = !0;
|
|
@@ -2057,7 +2057,7 @@ class xe {
|
|
|
2057
2057
|
return this.recentNotifications.filter((t) => !t.has_been_viewed);
|
|
2058
2058
|
}
|
|
2059
2059
|
get recentNotifications() {
|
|
2060
|
-
return
|
|
2060
|
+
return Jt(this.notifications);
|
|
2061
2061
|
}
|
|
2062
2062
|
setNotifications = (t) => {
|
|
2063
2063
|
this.notifications = t, this.notificationsLoaded = !0;
|
|
@@ -2083,7 +2083,7 @@ class xe {
|
|
|
2083
2083
|
};
|
|
2084
2084
|
}
|
|
2085
2085
|
const dt = (n, t) => gt(t.expectedDate, n), A = (n, t) => n + t.amount;
|
|
2086
|
-
class
|
|
2086
|
+
class xe {
|
|
2087
2087
|
globalStore;
|
|
2088
2088
|
api = new it("/", "");
|
|
2089
2089
|
repeatingTransactions = [];
|
|
@@ -2114,7 +2114,7 @@ class Me {
|
|
|
2114
2114
|
*/
|
|
2115
2115
|
get recurrences() {
|
|
2116
2116
|
const t = this.globalStore.accountStore.visibleAccounts;
|
|
2117
|
-
return
|
|
2117
|
+
return Zt(this.detailedRepeatingTransactions, this.dateRange).filter((e) => t.some((s) => s.guid === e.accountGuid && !s.is_excluded_from_accounts)).filter((e) => gt(e.expectedDate, this.dateRange));
|
|
2118
2118
|
}
|
|
2119
2119
|
/**
|
|
2120
2120
|
* Returns all recurrences that have occurred in the past, including those that are paid or missed
|
|
@@ -2359,15 +2359,17 @@ class Me {
|
|
|
2359
2359
|
*/
|
|
2360
2360
|
markRecurrenceAsUnpaid = async (t) => {
|
|
2361
2361
|
try {
|
|
2362
|
-
|
|
2363
|
-
|
|
2362
|
+
await this.globalStore.transactionStore.updateTransaction({
|
|
2363
|
+
...t,
|
|
2364
|
+
repeating_transaction_guid: null
|
|
2365
|
+
}), await this.loadRepeatingTransactions(), this.setAlert(this.copy.unlink_transaction_success, "success");
|
|
2364
2366
|
} catch (e) {
|
|
2365
2367
|
console.error(`Error occurred while marking recurrence as unpaid: ${e}`), this.setAlert(this.copy.unlink_transaction_error, "error");
|
|
2366
2368
|
}
|
|
2367
2369
|
};
|
|
2368
2370
|
setAlert = (t, e = void 0) => this.alert = { message: t, severity: e };
|
|
2369
2371
|
}
|
|
2370
|
-
const ht = "PARENT-ENTITY",
|
|
2372
|
+
const ht = "PARENT-ENTITY", Me = (n, t) => ({
|
|
2371
2373
|
[G.BudgetExceeded]: t.notification_budget_exceeded,
|
|
2372
2374
|
[G.BudgetOffTarget]: t.notification_budget_off_target,
|
|
2373
2375
|
[_.DebtPaymentReminder]: t.notification_debt_payment_reminder,
|
|
@@ -2400,7 +2402,7 @@ const ht = "PARENT-ENTITY", Oe = (n, t) => ({
|
|
|
2400
2402
|
[u.TransactionExpenseLarge]: t.large_transaction,
|
|
2401
2403
|
[u.PromotionalCampaignMessages]: t.promotional_campaign_messages,
|
|
2402
2404
|
[u.TransparentOverdraft]: t.transparent_overdraft
|
|
2403
|
-
})[n] || "",
|
|
2405
|
+
})[n] || "", Oe = (n, t, e, s, a, o) => {
|
|
2404
2406
|
const r = [], {
|
|
2405
2407
|
email_notifications_enabled: l,
|
|
2406
2408
|
sms_notifications_enabled: p,
|
|
@@ -2411,7 +2413,7 @@ const ht = "PARENT-ENTITY", Oe = (n, t) => ({
|
|
|
2411
2413
|
opted_out_of_push_notifications: yt
|
|
2412
2414
|
} = a;
|
|
2413
2415
|
for (const I of s.filter((R) => R.entity_guid === ht)) {
|
|
2414
|
-
const R =
|
|
2416
|
+
const R = Me(I.notification_type, e), mt = s.filter(
|
|
2415
2417
|
(C) => C.entity_guid !== ht && C.notification_type === I.notification_type && n.some((x) => x.guid === C.entity_guid)
|
|
2416
2418
|
), D = [];
|
|
2417
2419
|
l && !_t && I.email_channel && o.email && D.push(e.delivery_method_email_label), p && !ft && I.sms_channel && o.phone && D.push(e.delivery_method_sms_label), b && !yt && I.push_channel && D.push(e.delivery_method_push_label), r.push({
|
|
@@ -2427,7 +2429,7 @@ const ht = "PARENT-ENTITY", Oe = (n, t) => ({
|
|
|
2427
2429
|
}
|
|
2428
2430
|
return r;
|
|
2429
2431
|
};
|
|
2430
|
-
class
|
|
2432
|
+
class Pe {
|
|
2431
2433
|
globalStore;
|
|
2432
2434
|
api = new rt("/", "");
|
|
2433
2435
|
transactionApi = new B("/", "");
|
|
@@ -2467,7 +2469,7 @@ class Ue {
|
|
|
2467
2469
|
return this.globalStore.copyStore.copy.settings;
|
|
2468
2470
|
}
|
|
2469
2471
|
get detailedNotificationProfiles() {
|
|
2470
|
-
return this.globalStore.isInitialized ?
|
|
2472
|
+
return this.globalStore.isInitialized ? Oe(
|
|
2471
2473
|
this.globalStore.accountStore.accounts,
|
|
2472
2474
|
this.clientCommunicationProfile,
|
|
2473
2475
|
this.copy,
|
|
@@ -2610,7 +2612,7 @@ class Ue {
|
|
|
2610
2612
|
}
|
|
2611
2613
|
};
|
|
2612
2614
|
}
|
|
2613
|
-
class
|
|
2615
|
+
class Ue {
|
|
2614
2616
|
globalStore;
|
|
2615
2617
|
uiStore;
|
|
2616
2618
|
api = new B("/", "");
|
|
@@ -2634,10 +2636,10 @@ class Fe {
|
|
|
2634
2636
|
filter = {};
|
|
2635
2637
|
isLoading = !0;
|
|
2636
2638
|
alert = "";
|
|
2637
|
-
sortColumn =
|
|
2638
|
-
sortDirection =
|
|
2639
|
+
sortColumn = $t.DATE;
|
|
2640
|
+
sortDirection = Gt.DESC;
|
|
2639
2641
|
constructor(t) {
|
|
2640
|
-
this.globalStore = t, this.uiStore = new
|
|
2642
|
+
this.globalStore = t, this.uiStore = new Fe(), this.api = new B(
|
|
2641
2643
|
t.endpoint,
|
|
2642
2644
|
t.sessionToken,
|
|
2643
2645
|
t.onError
|
|
@@ -2657,7 +2659,7 @@ class Fe {
|
|
|
2657
2659
|
return this.associatedBeatsLoaded && this.tagsLoaded && this.taggingsLoaded && this.transactionRulesLoaded && this.transactionsLoaded;
|
|
2658
2660
|
}
|
|
2659
2661
|
get detailedTransactions() {
|
|
2660
|
-
return this.isTransactionDataLoaded ?
|
|
2662
|
+
return this.isTransactionDataLoaded ? Nt(
|
|
2661
2663
|
this.transactions,
|
|
2662
2664
|
this.globalStore.accountStore.visibleAccounts,
|
|
2663
2665
|
this.globalStore.categoryStore.categories,
|
|
@@ -2665,7 +2667,7 @@ class Fe {
|
|
|
2665
2667
|
) : [];
|
|
2666
2668
|
}
|
|
2667
2669
|
get sortedTransactions() {
|
|
2668
|
-
return
|
|
2670
|
+
return Bt(
|
|
2669
2671
|
this.filter,
|
|
2670
2672
|
this.uiStore.expandedSplits,
|
|
2671
2673
|
this.sortColumn,
|
|
@@ -2675,7 +2677,7 @@ class Fe {
|
|
|
2675
2677
|
);
|
|
2676
2678
|
}
|
|
2677
2679
|
get sortedTransactionsWithSplits() {
|
|
2678
|
-
return
|
|
2680
|
+
return xt(this.sortedTransactions, this.detailedTransactions);
|
|
2679
2681
|
}
|
|
2680
2682
|
setAssociatedBeats = (t) => {
|
|
2681
2683
|
this.associatedBeats = t, this.associatedBeatsLoading = !1, this.associatedBeatsLoaded = !0;
|
|
@@ -2722,14 +2724,14 @@ class Fe {
|
|
|
2722
2724
|
const e = await this.api.addTransaction(t);
|
|
2723
2725
|
if (e) {
|
|
2724
2726
|
this.setTransactions([e, ...this.transactions]);
|
|
2725
|
-
const s = e.transaction_type ===
|
|
2727
|
+
const s = e.transaction_type === Mt.CREDIT ? e.amount : -e.amount;
|
|
2726
2728
|
this.globalStore.accountStore.updateAccountBalance(e.account_guid, s);
|
|
2727
2729
|
}
|
|
2728
2730
|
};
|
|
2729
2731
|
loadAssociatedBeats = async (t) => {
|
|
2730
2732
|
if (this.associatedBeatsLoading) return;
|
|
2731
2733
|
this.associatedBeatsLoading = !0;
|
|
2732
|
-
const e = t ?
|
|
2734
|
+
const e = t ? te(t, { representation: "date" }) : void 0;
|
|
2733
2735
|
try {
|
|
2734
2736
|
const s = await this.beatApi.getBeatsWithAssociatedTransaction(e);
|
|
2735
2737
|
this.setAssociatedBeats(s);
|
|
@@ -2871,7 +2873,7 @@ class Fe {
|
|
|
2871
2873
|
}
|
|
2872
2874
|
};
|
|
2873
2875
|
}
|
|
2874
|
-
class
|
|
2876
|
+
class Fe {
|
|
2875
2877
|
beginDate = E(/* @__PURE__ */ new Date());
|
|
2876
2878
|
endDate = T(/* @__PURE__ */ new Date());
|
|
2877
2879
|
expandedSplits = [];
|
|
@@ -2880,7 +2882,7 @@ class ke {
|
|
|
2880
2882
|
shouldDisableDrawerScroll = !1;
|
|
2881
2883
|
searchValue = "";
|
|
2882
2884
|
selectedAccountGuids = [];
|
|
2883
|
-
manualTransaction =
|
|
2885
|
+
manualTransaction = Ot;
|
|
2884
2886
|
isAmountValid = !1;
|
|
2885
2887
|
showInsights = !1;
|
|
2886
2888
|
constructor() {
|
|
@@ -2910,14 +2912,14 @@ class ke {
|
|
|
2910
2912
|
this.manualTransaction = t;
|
|
2911
2913
|
};
|
|
2912
2914
|
}
|
|
2913
|
-
class
|
|
2915
|
+
class ke {
|
|
2914
2916
|
globalStore;
|
|
2915
2917
|
selectedCategoryData = null;
|
|
2916
2918
|
selectedDateRange;
|
|
2917
2919
|
visibleListLength = 5;
|
|
2918
2920
|
constructor(t) {
|
|
2919
2921
|
this.globalStore = t, this.selectedDateRange = {
|
|
2920
|
-
start:
|
|
2922
|
+
start: ee(T($(/* @__PURE__ */ new Date(), 6)), 1),
|
|
2921
2923
|
end: T(/* @__PURE__ */ new Date())
|
|
2922
2924
|
}, d(this);
|
|
2923
2925
|
}
|
|
@@ -2931,12 +2933,12 @@ class He {
|
|
|
2931
2933
|
this.visibleListLength = t;
|
|
2932
2934
|
};
|
|
2933
2935
|
get sortedDetailedCategoriesWithTransactions() {
|
|
2934
|
-
return
|
|
2936
|
+
return ae(
|
|
2935
2937
|
this.globalStore.categoryStore.detailedCategoriesWithTransactions
|
|
2936
2938
|
);
|
|
2937
2939
|
}
|
|
2938
2940
|
get selectedDateRangeMonthCount() {
|
|
2939
|
-
return
|
|
2941
|
+
return se(this.selectedDateRange.end, this.selectedDateRange.start) + 1;
|
|
2940
2942
|
}
|
|
2941
2943
|
get selectedDateRangeMonthRange() {
|
|
2942
2944
|
const t = P(this.selectedDateRange.start, U.MONTH_LONG), e = P(this.selectedDateRange.end, U.MONTH_LONG);
|
|
@@ -2949,13 +2951,13 @@ class He {
|
|
|
2949
2951
|
return this.sortedDetailedCategoriesWithTransactions.slice(this.visibleListLength);
|
|
2950
2952
|
}
|
|
2951
2953
|
get categoryDetailsChartData() {
|
|
2952
|
-
return
|
|
2954
|
+
return ne(
|
|
2953
2955
|
this.selectedCategoryData,
|
|
2954
2956
|
this.selectedDateRangeMonthCount
|
|
2955
2957
|
);
|
|
2956
2958
|
}
|
|
2957
2959
|
}
|
|
2958
|
-
class
|
|
2960
|
+
class He {
|
|
2959
2961
|
globalStore;
|
|
2960
2962
|
api = new ot("/", "");
|
|
2961
2963
|
userFeatures = [];
|
|
@@ -3000,42 +3002,42 @@ class We {
|
|
|
3000
3002
|
export {
|
|
3001
3003
|
N as A,
|
|
3002
3004
|
j as B,
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
+
_e as C,
|
|
3006
|
+
Te as D,
|
|
3005
3007
|
Z as F,
|
|
3006
|
-
|
|
3008
|
+
Ee as G,
|
|
3007
3009
|
et as H,
|
|
3008
3010
|
at as M,
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
+
Ne as N,
|
|
3012
|
+
xe as R,
|
|
3011
3013
|
rt as S,
|
|
3012
3014
|
B as T,
|
|
3013
3015
|
ot as U,
|
|
3014
3016
|
ct as W,
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
+
oe as a,
|
|
3018
|
+
de as b,
|
|
3017
3019
|
Y as c,
|
|
3018
|
-
|
|
3019
|
-
|
|
3020
|
+
le as d,
|
|
3021
|
+
ge as e,
|
|
3020
3022
|
X as f,
|
|
3021
|
-
|
|
3023
|
+
pe as g,
|
|
3022
3024
|
J as h,
|
|
3023
|
-
|
|
3024
|
-
|
|
3025
|
-
|
|
3026
|
-
|
|
3027
|
-
|
|
3025
|
+
ye as i,
|
|
3026
|
+
Se as j,
|
|
3027
|
+
Ie as k,
|
|
3028
|
+
Gs as l,
|
|
3029
|
+
Ce as m,
|
|
3028
3030
|
tt as n,
|
|
3029
|
-
|
|
3030
|
-
|
|
3031
|
+
Re as o,
|
|
3032
|
+
ve as p,
|
|
3031
3033
|
st as q,
|
|
3032
|
-
|
|
3033
|
-
|
|
3034
|
+
$e as r,
|
|
3035
|
+
Ge as s,
|
|
3034
3036
|
nt as t,
|
|
3035
|
-
|
|
3037
|
+
Be as u,
|
|
3036
3038
|
it as v,
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3039
|
+
Pe as w,
|
|
3040
|
+
Ue as x,
|
|
3041
|
+
ke as y,
|
|
3042
|
+
He as z
|
|
3041
3043
|
};
|
package/dist/common/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as Y } from "../UserStore-
|
|
1
|
+
import { l as Y } from "../UserStore-DzWku3t0.mjs";
|
|
2
2
|
import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
|
|
3
3
|
import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
|
|
4
4
|
import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
|
package/dist/core/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-
|
|
1
|
+
import { A as g, a as m, b as C, c as N, d as h, B as f, e as E, f as D, g as b, C as I, h as M, i as R, j as B, D as L, F as G, k as _, G as H, l as P, m as U, n as x, o as O, H as F, p as k, q as v, r as w, M as W, s as Y, N as $, t as q, u as K, R as j, v as z, S as J, w as Q, T as X, x as Z, y as V, U as tt, z as at, W as st } from "../UserStore-DzWku3t0.mjs";
|
|
2
2
|
import { b as ot, a as nt, d as rt, c as it, A as ct, C as pt, e as At, E as St, M as ut, N as lt, P as Tt, f as yt, g as dt, S as gt } from "../Account-DR7Plrqy.mjs";
|
|
3
3
|
import { A as Ct, B as Nt, I as ht, N as ft } from "../Notification-DTNYSd8P.mjs";
|
|
4
4
|
import { F as n } from "../GlobalCopyApi-wcnDUzMV.mjs";
|
|
@@ -2010,7 +2010,7 @@ const r1 = ({ height: r = 0, width: i = 0, shouldRun: n = !1 }) => /* @__PURE__
|
|
|
2010
2010
|
}
|
|
2011
2011
|
), $1 = ({ beat: r }) => {
|
|
2012
2012
|
const i = f2();
|
|
2013
|
-
return r.in_description_cta ? /* @__PURE__ */ t(v, { sx: { alignItems: "start", justifyContent: "center", minHeight: 28, mt: 6 }, children: /* @__PURE__ */ t(
|
|
2013
|
+
return !r.in_description_cta && !r.html_in_description_cta ? /* @__PURE__ */ t(N, {}) : /* @__PURE__ */ t(v, { sx: { alignItems: "start", justifyContent: "center", minHeight: 28, mt: 6 }, children: /* @__PURE__ */ t(
|
|
2014
2014
|
A1,
|
|
2015
2015
|
{
|
|
2016
2016
|
endIcon: /* @__PURE__ */ t(M2, {}),
|
|
@@ -2029,9 +2029,9 @@ const r1 = ({ height: r = 0, width: i = 0, shouldRun: n = !1 }) => /* @__PURE__
|
|
|
2029
2029
|
}
|
|
2030
2030
|
},
|
|
2031
2031
|
variant: "text",
|
|
2032
|
-
children: /* @__PURE__ */ t(E, { bold: !0, variant: "body2", children: r.in_description_cta })
|
|
2032
|
+
children: /* @__PURE__ */ t(E, { bold: !0, variant: "body2", children: r.in_description_cta || r.html_in_description_cta })
|
|
2033
2033
|
}
|
|
2034
|
-
) })
|
|
2034
|
+
) });
|
|
2035
2035
|
}, w4 = ({ beat: r, hasFullWidthImage: i, sx: n }) => {
|
|
2036
2036
|
const { html_description: l } = r;
|
|
2037
2037
|
return /* @__PURE__ */ c(
|