@mx-cartographer/experiences 9.1.5 → 9.1.6

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.
Files changed (30) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Analytics-CkYXKvco.mjs → Analytics-B8AaC22u.mjs} +2 -2
  3. package/dist/{Analytics-CkYXKvco.mjs.map → Analytics-B8AaC22u.mjs.map} +1 -1
  4. package/dist/ErrorBoundary-C7BlHx04.mjs +27 -0
  5. package/dist/ErrorBoundary-C7BlHx04.mjs.map +1 -0
  6. package/dist/GlobalCopyApi-CLhyon-B.mjs +145 -0
  7. package/dist/GlobalCopyApi-CLhyon-B.mjs.map +1 -0
  8. package/dist/{Help-zVZdcmlk.mjs → Help-D4sOpItq.mjs} +2 -2
  9. package/dist/{Help-zVZdcmlk.mjs.map → Help-D4sOpItq.mjs.map} +1 -1
  10. package/dist/{UserStore-DApsX4aO.mjs → UserStore-Bksi48jC.mjs} +66 -62
  11. package/dist/UserStore-Bksi48jC.mjs.map +1 -0
  12. package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs → ViewMoreMicroCard-B4oeGrbE.mjs} +3 -3
  13. package/dist/{ViewMoreMicroCard-fnwE0hqd.mjs.map → ViewMoreMicroCard-B4oeGrbE.mjs.map} +1 -1
  14. package/dist/common/components/ErrorBoundary.d.ts +2 -0
  15. package/dist/common/index.es.js +3 -3
  16. package/dist/core/index.es.js +3 -3
  17. package/dist/core/stores/GlobalStore.d.ts +4 -2
  18. package/dist/core/types/Handlers.d.ts +1 -0
  19. package/dist/core/types/index.d.ts +1 -1
  20. package/dist/core/utils/Fetch.d.ts +4 -0
  21. package/dist/help/index.es.js +1 -1
  22. package/dist/microinsights/index.es.js +1 -1
  23. package/dist/settings/index.es.js +1 -1
  24. package/dist/trends/index.es.js +1 -1
  25. package/package.json +1 -1
  26. package/dist/ErrorBoundary-CsdOcnJ9.mjs +0 -24
  27. package/dist/ErrorBoundary-CsdOcnJ9.mjs.map +0 -1
  28. package/dist/GlobalCopyApi-wcnDUzMV.mjs +0 -129
  29. package/dist/GlobalCopyApi-wcnDUzMV.mjs.map +0 -1
  30. package/dist/UserStore-DApsX4aO.mjs.map +0 -1
@@ -1,12 +1,12 @@
1
1
  import { makeAutoObservable as d, runInAction as c, reaction as ut, autorun as St, observable as Tt } from "mobx";
2
2
  import { d as At, g as wt } from "./AccountUtils-Cbh8r9cP.mjs";
3
- import { i as bt, f as It, b as Ct, c as W } from "./BudgetUtil-Bg2AQJpQ.mjs";
3
+ import { i as bt, f as It, b as Et, c as W } from "./BudgetUtil-Bg2AQJpQ.mjs";
4
4
  import { c as h, d as O } from "./Account-DR7Plrqy.mjs";
5
- import { F as g, B as $, G as V } from "./GlobalCopyApi-wcnDUzMV.mjs";
5
+ import { F as g, B as $, G as V } from "./GlobalCopyApi-CLhyon-B.mjs";
6
6
  import { A as i } from "./ApiEndpoints-DXwIYNUV.mjs";
7
- import Et from "posthog-js";
7
+ import Ct from "posthog-js";
8
8
  import { endOfMonth as T } from "date-fns/endOfMonth";
9
- import { startOfMonth as E } from "date-fns/startOfMonth";
9
+ import { startOfMonth as C } from "date-fns/startOfMonth";
10
10
  import { startOfToday as y } from "date-fns/startOfToday";
11
11
  import { C as w, b as Rt } from "./Category-DEKZGLYe.mjs";
12
12
  import { addDays as Dt } from "date-fns/addDays";
@@ -14,11 +14,11 @@ import { differenceInDays as Lt } from "date-fns/differenceInDays";
14
14
  import { isBefore as H } from "date-fns/isBefore";
15
15
  import { getUnixTime as m } from "date-fns/getUnixTime";
16
16
  import { subMonths as G } from "date-fns/subMonths";
17
- import { c as vt, d as $t, C as Gt, h as Nt, i as Bt, s as xt, j as Mt, T as Ot, D as Pt } from "./TransactionUtils-BphBJBbU.mjs";
18
- import { l as Ft, D as Ut } from "./DebtUtils-i4pI2Uoe.mjs";
17
+ import { c as vt, d as $t, C as Gt, h as Nt, i as xt, s as Bt, j as Mt, T as Ot, D as Pt } from "./TransactionUtils-BphBJBbU.mjs";
18
+ import { l as Ut, D as Ft } from "./DebtUtils-i4pI2Uoe.mjs";
19
19
  import { format as kt } from "date-fns/format";
20
20
  import { fromUnixTime as Ht } from "date-fns/fromUnixTime";
21
- import { f as U, D as k } from "./DateFormats-HudZ3Bjs.mjs";
21
+ import { f as F, D as k } from "./DateFormats-HudZ3Bjs.mjs";
22
22
  import { T as S, c as z } from "./GoalsUtil-C9EnLWvC.mjs";
23
23
  import { A as Wt, m as Vt, a as zt, b as Kt } from "./InvestmentUtil-BItV7uEs.mjs";
24
24
  import { f as Qt, b as qt, a as K, c as Yt, d as jt, e as Xt, s as Jt } from "./NetWorthUtils-Dj7CgAg2.mjs";
@@ -27,7 +27,7 @@ import { isAfter as P } from "date-fns/isAfter";
27
27
  import { isSameDay as Q } 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 F, h as te, b as L, a as f } from "./RecurringTransactionsUtil-CfWviBh1.mjs";
30
+ import { f as U, h as te, b as L, a as f } from "./RecurringTransactionsUtil-CfWviBh1.mjs";
31
31
  import { I as u, A as _, B as N } from "./Notification-DTNYSd8P.mjs";
32
32
  import { endOfToday as q } from "date-fns/endOfToday";
33
33
  import { formatISO as ee } from "date-fns/formatISO";
@@ -37,7 +37,7 @@ import { f as ne, b as ie } from "./TrendsUtil-D9z3kIj_.mjs";
37
37
  import { addMonths as re } from "date-fns/addMonths";
38
38
  import { getMonth as v } from "date-fns/getMonth";
39
39
  import { a as oe } from "./Help-CkQTjORd.mjs";
40
- class B {
40
+ class x {
41
41
  fetchInstance;
42
42
  constructor(t, e, s) {
43
43
  this.fetchInstance = new g(t, e, void 0, s);
@@ -245,7 +245,7 @@ class rt {
245
245
  updateUserCommunicationProfile = async (t) => this.fetchInstance.put(i.USER_COMMUNICATION_PROFILE, t).then((e) => e.user_communication_profile);
246
246
  getInsightsNotificationProfiles = async () => this.fetchInstance.get(`${i.NOTIFICATION_PROFILES}/${i.INSIGHTS_NOTIFICATION_PROFILES}`).then((t) => t);
247
247
  }
248
- class x {
248
+ class B {
249
249
  fetchInstance;
250
250
  constructor(t, e, s) {
251
251
  this.fetchInstance = new g(t, e, void 0, s);
@@ -332,7 +332,7 @@ class ot {
332
332
  constructor(t, e, s) {
333
333
  this.fetchInstance = new g(t, e, void 0, s);
334
334
  }
335
- getUserFeatures = async () => this.fetchInstance.get(i.USER_FEATURES).then((t) => t.user_features).catch((t) => t);
335
+ getUserFeatures = async () => this.fetchInstance.get(i.USER_FEATURES).then((t) => t.user_features);
336
336
  updateUser = async (t) => this.fetchInstance.put(i.USER, t).then((e) => e.user);
337
337
  updateUserProfile = async (t) => this.fetchInstance.put(`${i.USER_PROFILES}/${t.guid}`, t).then((e) => e.user_profile);
338
338
  }
@@ -345,7 +345,7 @@ class ct {
345
345
  }
346
346
  class ce {
347
347
  globalStore;
348
- api = new B("/", "");
348
+ api = new x("/", "");
349
349
  accounts = [];
350
350
  accountsLoaded = !1;
351
351
  accountsLoading = !1;
@@ -357,7 +357,7 @@ class ce {
357
357
  membersLoading = !1;
358
358
  uiStore;
359
359
  constructor(t) {
360
- this.globalStore = t, this.uiStore = new le(), this.api = new B(t.endpoint, t.sessionToken, t.onError), d(this);
360
+ this.globalStore = t, this.uiStore = new le(), this.api = new x(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()]);
@@ -672,7 +672,7 @@ class he {
672
672
  return this.survey ? this.survey.questions : [];
673
673
  }
674
674
  loadSurvey = (t = !1) => {
675
- Et.getActiveMatchingSurveys((e) => {
675
+ Ct.getActiveMatchingSurveys((e) => {
676
676
  c(() => {
677
677
  if (e.length > 0) {
678
678
  const s = e.find((a) => a.id === this.surveyId);
@@ -771,7 +771,7 @@ class _e {
771
771
  api = new X("/", "");
772
772
  globalStore;
773
773
  alert = "";
774
- dateRange = { start: E(y()), end: T(y()) };
774
+ dateRange = { start: C(y()), end: T(y()) };
775
775
  budgets = [];
776
776
  selectedBudget;
777
777
  selectedSubBudget;
@@ -789,7 +789,7 @@ class _e {
789
789
  const e = this.selectedBudget;
790
790
  e && (this.selectedBudget = It(t, e.guid));
791
791
  const s = this.selectedSubBudget;
792
- s && s.parent_guid && (this.selectedSubBudget = Ct(
792
+ s && s.parent_guid && (this.selectedSubBudget = Et(
793
793
  t,
794
794
  s.guid,
795
795
  s.parent_guid
@@ -1097,7 +1097,7 @@ class me {
1097
1097
  loadMonthlyCategoryTotals = async (t = this.globalStore.globalUiStore.selectedAccounts, e, s) => {
1098
1098
  if (this.monthlyTotalsLoading) return;
1099
1099
  this.monthlyTotalsLoading = !0;
1100
- const a = m(E(e ?? G(/* @__PURE__ */ new Date(), 11))), o = m(T(s ?? /* @__PURE__ */ new Date()));
1100
+ const a = m(C(e ?? G(/* @__PURE__ */ new Date(), 11))), o = m(T(s ?? /* @__PURE__ */ new Date()));
1101
1101
  try {
1102
1102
  const r = await this.api.getMonthlyCategoryTotals(a, o, t);
1103
1103
  this.setMonthlyCategoryTotals(r);
@@ -1174,7 +1174,7 @@ class Ae {
1174
1174
  }
1175
1175
  get debts() {
1176
1176
  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;
1177
- return Ft(a, s);
1177
+ return Ut(a, s);
1178
1178
  }
1179
1179
  get totalMonthlyPayments() {
1180
1180
  return this.debts.map((e) => Number(e.monthly_payment)).filter((e) => !isNaN(e)).reduce((e, s) => e + s, 0);
@@ -1183,7 +1183,7 @@ class Ae {
1183
1183
  let we = class {
1184
1184
  isLoading = !1;
1185
1185
  selectedDebtChartData = {};
1186
- selectedDebtPriority = Ut.LOWEST_BALANCE;
1186
+ selectedDebtPriority = Ft.LOWEST_BALANCE;
1187
1187
  constructor() {
1188
1188
  d(this);
1189
1189
  }
@@ -1199,7 +1199,7 @@ let we = class {
1199
1199
  setSelectedDebtPriority = (t) => this.selectedDebtPriority = t;
1200
1200
  };
1201
1201
  const be = (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) => ({
1202
- x: U(
1202
+ x: F(
1203
1203
  new Date(0, t.monthly_health_score_average.month - 1, 1),
1204
1204
  k.MONTH_SHORT
1205
1205
  ),
@@ -1207,7 +1207,7 @@ const be = (n) => n.sort((t, e) => t.monthly_health_score_average.year !== e.mon
1207
1207
  })), Ie = (n) => n.map(({ transaction: e }) => ({
1208
1208
  ...e
1209
1209
  })).sort((e, s) => s.date - e.date);
1210
- class Ce {
1210
+ class Ee {
1211
1211
  api = new Z("/", "");
1212
1212
  augmentedChartData = [];
1213
1213
  averageHealthScores = [];
@@ -1465,6 +1465,7 @@ class Ns {
1465
1465
  appConfig = lt;
1466
1466
  endpoint = "/";
1467
1467
  sessionToken = "";
1468
+ onCaptureException;
1468
1469
  onError;
1469
1470
  onStoreUpdate;
1470
1471
  // Data Stores
@@ -1492,17 +1493,20 @@ class Ns {
1492
1493
  userStore;
1493
1494
  // UI Stores
1494
1495
  globalUiStore;
1495
- constructor(t = lt, e = "/", s, a) {
1496
- this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onError = s, this.onStoreUpdate = a, this.accountStore = new ce(this), this.appDataStore = new de(this), this.analyticsStore = new he(this), this.beatStore = new pe(this), this.budgetsStore = new _e(this), this.cashflowStore = new fe(this), this.categoryStore = new me(this), this.connectStore = new Te(this), this.copyStore = new Re(this), this.debtsStore = new Ae(this), this.finstrongStore = new Ce(this), this.goalStore = new De(this), this.helpStore = new $e(this), this.holdingStore = new Ge(this), this.merchantStore = new Ne(this), this.netWorthStore = new Be(this), this.notificationStore = new xe(this), this.recurringTransactionsStore = new Me(this), this.settingsStore = new Fe(this), this.transactionStore = new Ue(this), this.trendsStore = new He(this), this.userStore = new We(this), this.globalUiStore = new Ee(this), d(this), St(() => {
1497
- const { transactions: o } = this.transactionStore;
1496
+ constructor(t = lt, e = "/", s, a, o) {
1497
+ this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.onCaptureException = o, this.onError = s, this.onStoreUpdate = a, this.accountStore = new ce(this), this.appDataStore = new de(this), this.analyticsStore = new he(this), this.beatStore = new pe(this), this.budgetsStore = new _e(this), this.cashflowStore = new fe(this), this.categoryStore = new me(this), this.connectStore = new Te(this), this.copyStore = new Re(this), this.debtsStore = new Ae(this), this.finstrongStore = new Ee(this), this.goalStore = new De(this), this.helpStore = new $e(this), this.holdingStore = new Ge(this), this.merchantStore = new Ne(this), this.netWorthStore = new xe(this), this.notificationStore = new Be(this), this.recurringTransactionsStore = new Me(this), this.settingsStore = new Ue(this), this.transactionStore = new Fe(this), this.trendsStore = new He(this), this.userStore = new We(this), this.globalUiStore = new Ce(this), d(this), St(() => {
1498
+ const { transactions: r } = this.transactionStore;
1498
1499
  this.emitUpdate({
1499
- transactions: o
1500
+ transactions: r
1500
1501
  });
1501
1502
  });
1502
1503
  }
1503
1504
  get isInitialized() {
1504
1505
  return this.globalUiStore.isInitialized;
1505
1506
  }
1507
+ captureException = (t, e) => {
1508
+ this.onCaptureException?.(t, e);
1509
+ };
1506
1510
  // emits change triggered in the autorun
1507
1511
  emitUpdate = (t) => {
1508
1512
  this.onStoreUpdate?.(t);
@@ -1530,12 +1534,12 @@ class Ns {
1530
1534
  (!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);
1531
1535
  };
1532
1536
  }
1533
- class Ee {
1537
+ class Ce {
1534
1538
  globalStore;
1535
1539
  accountFilterMap = /* @__PURE__ */ new Map();
1536
1540
  displayedDate = /* @__PURE__ */ new Date();
1537
1541
  displayedDateRange = {
1538
- start: E(this.displayedDate),
1542
+ start: C(this.displayedDate),
1539
1543
  end: T(this.displayedDate)
1540
1544
  };
1541
1545
  constructor(t) {
@@ -1991,9 +1995,9 @@ class Ne {
1991
1995
  c(() => this.merchant = e);
1992
1996
  };
1993
1997
  }
1994
- class Be {
1998
+ class xe {
1995
1999
  globalStore;
1996
- accountsApi = new B("/", "");
2000
+ accountsApi = new x("/", "");
1997
2001
  monthlyAccountBalances = [];
1998
2002
  monthlyAccountBalancesLoaded = !1;
1999
2003
  hoveredIndex = -1;
@@ -2001,7 +2005,7 @@ class Be {
2001
2005
  timeframe = 6;
2002
2006
  // default timeframe is 6 months
2003
2007
  constructor(t) {
2004
- this.globalStore = t, this.accountsApi = new B(
2008
+ this.globalStore = t, this.accountsApi = new x(
2005
2009
  t.endpoint,
2006
2010
  t.sessionToken,
2007
2011
  t.onError
@@ -2068,7 +2072,7 @@ class Be {
2068
2072
  setSelectedIndex = (t) => this.selectedIndex = t;
2069
2073
  setTimeframe = (t) => this.timeframe = t;
2070
2074
  }
2071
- class xe {
2075
+ class Be {
2072
2076
  globalStore;
2073
2077
  api = new nt("/", "");
2074
2078
  isLoading = !0;
@@ -2118,7 +2122,7 @@ class Me {
2118
2122
  repeatingTransactions = [];
2119
2123
  isDataLoaded = !1;
2120
2124
  selectedDay;
2121
- dateRange = { start: E(y()), end: T(y()) };
2125
+ dateRange = { start: C(y()), end: T(y()) };
2122
2126
  selectedRepeatingTransactionGuid = null;
2123
2127
  selectedRecurrence = null;
2124
2128
  alert = { message: "", severity: void 0 };
@@ -2139,7 +2143,7 @@ class Me {
2139
2143
  return this.globalStore.copyStore.copy.recurring;
2140
2144
  }
2141
2145
  get detailedRepeatingTransactions() {
2142
- return F(
2146
+ return U(
2143
2147
  this.globalStore.accountStore.visibleAccounts,
2144
2148
  this.repeatingTransactions,
2145
2149
  this.globalStore.transactionStore.transactions
@@ -2358,7 +2362,7 @@ class Me {
2358
2362
  }), c(() => {
2359
2363
  this.repeatingTransactions = [
2360
2364
  ...this.repeatingTransactions,
2361
- ...F(
2365
+ ...U(
2362
2366
  this.globalStore.accountStore.visibleAccounts,
2363
2367
  [s],
2364
2368
  this.globalStore.transactionStore.transactions
@@ -2397,7 +2401,7 @@ class Me {
2397
2401
  c(() => {
2398
2402
  this.repeatingTransactions = [
2399
2403
  ...this.repeatingTransactions.slice(0, s),
2400
- ...F(
2404
+ ...U(
2401
2405
  this.globalStore.accountStore.visibleAccounts,
2402
2406
  [e],
2403
2407
  this.globalStore.transactionStore.transactions
@@ -2485,13 +2489,13 @@ const ht = "PARENT-ENTITY", Oe = (n, t) => ({
2485
2489
  } = a;
2486
2490
  for (const I of s.filter((R) => R.entity_guid === ht)) {
2487
2491
  const R = Oe(I.notification_type, e), mt = s.filter(
2488
- (C) => C.entity_guid !== ht && C.notification_type === I.notification_type && n.some((M) => M.guid === C.entity_guid)
2492
+ (E) => E.entity_guid !== ht && E.notification_type === I.notification_type && n.some((M) => M.guid === E.entity_guid)
2489
2493
  ), D = [];
2490
2494
  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({
2491
2495
  ...I,
2492
- children: mt.map((C) => ({
2493
- ...C,
2494
- account: n.find((M) => M.guid === C.entity_guid),
2496
+ children: mt.map((E) => ({
2497
+ ...E,
2498
+ account: n.find((M) => M.guid === E.entity_guid),
2495
2499
  label: R
2496
2500
  })),
2497
2501
  deliveryMethodsLabel: D.join(", "),
@@ -2500,17 +2504,17 @@ const ht = "PARENT-ENTITY", Oe = (n, t) => ({
2500
2504
  }
2501
2505
  return r;
2502
2506
  };
2503
- class Fe {
2507
+ class Ue {
2504
2508
  globalStore;
2505
2509
  api = new rt("/", "");
2506
- transactionApi = new x("/", "");
2510
+ transactionApi = new B("/", "");
2507
2511
  alert = { message: "", severity: void 0 };
2508
2512
  devices = [];
2509
2513
  notificationProfiles = [];
2510
2514
  selectedRule = void 0;
2511
2515
  transactionRules = [];
2512
2516
  constructor(t) {
2513
- this.globalStore = t, this.api = new rt(t.endpoint, t.sessionToken, t.onError), this.transactionApi = new x(
2517
+ this.globalStore = t, this.api = new rt(t.endpoint, t.sessionToken, t.onError), this.transactionApi = new B(
2514
2518
  t.endpoint,
2515
2519
  t.sessionToken,
2516
2520
  t.onError
@@ -2683,10 +2687,10 @@ class Fe {
2683
2687
  }
2684
2688
  };
2685
2689
  }
2686
- class Ue {
2690
+ class Fe {
2687
2691
  globalStore;
2688
2692
  uiStore;
2689
- api = new x("/", "");
2693
+ api = new B("/", "");
2690
2694
  beatApi = new $("/", "");
2691
2695
  associatedBeats = [];
2692
2696
  associatedBeatsLoaded = !1;
@@ -2711,7 +2715,7 @@ class Ue {
2711
2715
  sortColumn = Gt.DATE;
2712
2716
  sortDirection = Nt.DESC;
2713
2717
  constructor(t) {
2714
- this.globalStore = t, this.uiStore = new ke(), this.api = new x(
2718
+ this.globalStore = t, this.uiStore = new ke(), this.api = new B(
2715
2719
  t.endpoint,
2716
2720
  t.sessionToken,
2717
2721
  t.onError
@@ -2719,7 +2723,7 @@ class Ue {
2719
2723
  }
2720
2724
  loadTransactionData = async () => {
2721
2725
  this.globalStore.accountStore.isAccountDataLoaded || await this.globalStore.accountStore.loadAccountData(), this.globalStore.categoryStore.categoriesLoaded || await this.globalStore.categoryStore.loadCategories(), await Promise.all([
2722
- this.loadAssociatedBeats(E(/* @__PURE__ */ new Date())),
2726
+ this.loadAssociatedBeats(C(/* @__PURE__ */ new Date())),
2723
2727
  this.loadTags(),
2724
2728
  this.loadTaggings(),
2725
2729
  this.loadTransactionRules(),
@@ -2731,7 +2735,7 @@ class Ue {
2731
2735
  return this.associatedBeatsLoaded && this.tagsLoaded && this.taggingsLoaded && this.transactionRulesLoaded && this.transactionsLoaded;
2732
2736
  }
2733
2737
  get detailedTransactions() {
2734
- return this.isTransactionDataLoaded ? Bt(
2738
+ return this.isTransactionDataLoaded ? xt(
2735
2739
  this.transactions,
2736
2740
  this.globalStore.accountStore.visibleAccounts,
2737
2741
  this.globalStore.categoryStore.categories,
@@ -2739,7 +2743,7 @@ class Ue {
2739
2743
  ) : [];
2740
2744
  }
2741
2745
  get sortedTransactions() {
2742
- return xt(
2746
+ return Bt(
2743
2747
  this.filter,
2744
2748
  this.uiStore.expandedSplits,
2745
2749
  this.sortColumn,
@@ -2977,7 +2981,7 @@ class Ue {
2977
2981
  };
2978
2982
  }
2979
2983
  class ke {
2980
- beginDate = E(/* @__PURE__ */ new Date());
2984
+ beginDate = C(/* @__PURE__ */ new Date());
2981
2985
  endDate = T(/* @__PURE__ */ new Date());
2982
2986
  expandedSplits = [];
2983
2987
  height = 550;
@@ -3044,7 +3048,7 @@ class He {
3044
3048
  return ae(this.selectedDateRange.end, this.selectedDateRange.start) + 1;
3045
3049
  }
3046
3050
  get selectedDateRangeMonthRange() {
3047
- const t = U(this.selectedDateRange.start, k.MONTH_LONG), e = U(this.selectedDateRange.end, k.MONTH_LONG);
3051
+ const t = F(this.selectedDateRange.start, k.MONTH_LONG), e = F(this.selectedDateRange.end, k.MONTH_LONG);
3048
3052
  return `${t} - ${e}`;
3049
3053
  }
3050
3054
  get visibleCategories() {
@@ -3082,7 +3086,7 @@ class We {
3082
3086
  const t = await this.api.getUserFeatures();
3083
3087
  this.setUserFeatures(t);
3084
3088
  } catch (t) {
3085
- console.error(`Error occurred while loading user features: ${t}`);
3089
+ console.error("Error occurred while loading user features:", t), this.globalStore.captureException(t, { store: "UserStore" }), this.setUserFeatures([]);
3086
3090
  }
3087
3091
  };
3088
3092
  updateUser = async (t) => {
@@ -3090,7 +3094,7 @@ class We {
3090
3094
  const e = await this.api.updateUser(t);
3091
3095
  this.globalStore.appDataStore.setUser(e);
3092
3096
  } catch (e) {
3093
- console.error(`Error updating User: ${e}`);
3097
+ console.error("Error updating User:", e), this.globalStore.captureException(e, { store: "UserStore" });
3094
3098
  }
3095
3099
  };
3096
3100
  updateUserProfile = async (t) => {
@@ -3098,12 +3102,12 @@ class We {
3098
3102
  const e = await this.api.updateUserProfile(t);
3099
3103
  this.globalStore.appDataStore.setUserProfile(e);
3100
3104
  } catch (e) {
3101
- console.error(`Error occurred while updating user profile: ${e}`);
3105
+ console.error("Error occurred while updating user profile:", e), this.globalStore.captureException(e, { store: "UserStore" });
3102
3106
  }
3103
3107
  };
3104
3108
  }
3105
3109
  export {
3106
- B as A,
3110
+ x as A,
3107
3111
  j as B,
3108
3112
  fe as C,
3109
3113
  Ae as D,
@@ -3111,10 +3115,10 @@ export {
3111
3115
  Re as G,
3112
3116
  et as H,
3113
3117
  at as M,
3114
- Be as N,
3118
+ xe as N,
3115
3119
  Me as R,
3116
3120
  rt as S,
3117
- x as T,
3121
+ B as T,
3118
3122
  ot as U,
3119
3123
  ct as W,
3120
3124
  ce as a,
@@ -3127,9 +3131,9 @@ export {
3127
3131
  J as h,
3128
3132
  me as i,
3129
3133
  Te as j,
3130
- Ce as k,
3134
+ Ee as k,
3131
3135
  Ns as l,
3132
- Ee as m,
3136
+ Ce as m,
3133
3137
  tt as n,
3134
3138
  De as o,
3135
3139
  $e as p,
@@ -3137,11 +3141,11 @@ export {
3137
3141
  Ge as r,
3138
3142
  Ne as s,
3139
3143
  nt as t,
3140
- xe as u,
3144
+ Be as u,
3141
3145
  it as v,
3142
- Fe as w,
3143
- Ue as x,
3146
+ Ue as w,
3147
+ Fe as x,
3144
3148
  He as y,
3145
3149
  We as z
3146
3150
  };
3147
- //# sourceMappingURL=UserStore-DApsX4aO.mjs.map
3151
+ //# sourceMappingURL=UserStore-Bksi48jC.mjs.map