@mx-cartographer/experiences 9.0.3 → 9.0.4-alpha.mm0

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 (93) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/dist/{Account-BaJmiJAG.mjs → Account-DR7Plrqy.mjs} +10 -10
  3. package/dist/AccountDetailsDrawer-C8oJP3J4.mjs +921 -0
  4. package/dist/AccountDetailsHeader-ByGNPZpO.mjs +228 -0
  5. package/dist/{AccountUtils-T5_Odvos.mjs → AccountUtils-B8ZzWI-d.mjs} +3 -3
  6. package/dist/{Analytics-CzGzz_sE.mjs → Analytics-WeZYytR0.mjs} +3 -0
  7. package/dist/BeatMaterialIcon-1KOfRZrA.mjs +26 -0
  8. package/dist/{CategorySelectorDrawer-8soGrhB8.mjs → CategorySelectorDrawer-BArJC27L.mjs} +1 -1
  9. package/dist/Connect-BH0Pt6zc.mjs +42 -0
  10. package/dist/{ConnectCard-CCep7Zqe.mjs → ConnectCard-Dwfgv24k.mjs} +1 -1
  11. package/dist/{ConnectDrawer-Cnjr3Ddg.mjs → ConnectDrawer-DytyIhaF.mjs} +8 -9
  12. package/dist/{ConnectionsDrawer-CtfPXk0M.mjs → ConnectionsDrawer-BHJPKXYF.mjs} +8 -9
  13. package/dist/{CurrencyInput-adTIRtL3.mjs → CurrencyInput-DaGEQaLW.mjs} +1 -1
  14. package/dist/DateUtil-CzBmbjmA.mjs +74 -0
  15. package/dist/{DebtUtils-DD3186U-.mjs → DebtUtils-i4pI2Uoe.mjs} +6 -6
  16. package/dist/{EmbeddedCard-DPwJjqMH.mjs → EmbeddedCard-CQpbZrmP.mjs} +4 -4
  17. package/dist/{Error-Dogaw2jO.mjs → Error-Dtw6yxkf.mjs} +1 -1
  18. package/dist/{ExportCsvAction-Bw02ZJEj.mjs → ExportCsvAction-bovG-NJr.mjs} +2 -2
  19. package/dist/{GlobalAccountFilter-7Cg2-9A5.mjs → GlobalAccountFilter-CYqzqmAd.mjs} +10 -10
  20. package/dist/{Help-DJ8PrVHX.mjs → Help-5klKVqkX.mjs} +2 -2
  21. package/dist/{LineChart-CejWS_rh.mjs → LineChart-CUfiH86G.mjs} +1 -1
  22. package/dist/{ListItemAction-CzZ8s39Z.mjs → ListItemAction-BqUCLj_w.mjs} +1 -1
  23. package/dist/{ListItemWrapper-B5r-YQQ_.mjs → ListItemWrapper-BHIbqx7E.mjs} +3 -3
  24. package/dist/ManageIncome-Cz6hvpdA.mjs +902 -0
  25. package/dist/{MicroWidgetContainer-CfKdQfhi.mjs → MicroWidgetContainer-B2NnKBgW.mjs} +1 -1
  26. package/dist/{MiniWidgetContainer-BdPiUU-u.mjs → MiniWidgetContainer-Bmv_WeUd.mjs} +1 -1
  27. package/dist/{NetWorthUtils-DilGN1nW.mjs → NetWorthUtils-DfSH3z70.mjs} +2 -2
  28. package/dist/{NotificationSettings-B4JA5IKE.mjs → NotificationSettings-Ci89BBRI.mjs} +4 -4
  29. package/dist/{OriginalBalanceAction-BybTXDtO.mjs → OriginalBalanceAction-YrvxBYAl.mjs} +3 -3
  30. package/dist/{RecurringSettings-D2xbNb67.mjs → RecurringSettings-ClYjsmPz.mjs} +4 -4
  31. package/dist/RecurringTransactionsUtil-zOxq5pzY.mjs +298 -0
  32. package/dist/Select-CSpkK5cR.mjs +61 -0
  33. package/dist/{SpendingLegend-5Ct_FZ8o.mjs → SpendingLegend-Bn3DzGyK.mjs} +1 -1
  34. package/dist/TabContentContainer-B0eYJP5p.mjs +48 -0
  35. package/dist/{TransactionDetails-DctXr07p.mjs → TransactionDetails-DRN0GIaZ.mjs} +6 -6
  36. package/dist/{UserStore-CRpKQjpP.mjs → UserStore-DzWku3t0.mjs} +81 -40
  37. package/dist/{ViewMoreMicroCard-BD_MNc2z.mjs → ViewMoreMicroCard-Dxghxphh.mjs} +211 -231
  38. package/dist/{WidgetContainer-CmbU4CBH.mjs → WidgetContainer-D-LzIKFb.mjs} +3 -3
  39. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer.d.ts +6 -0
  40. package/dist/accounts/index.d.ts +1 -0
  41. package/dist/accounts/index.es.js +220 -1035
  42. package/dist/analytics/index.es.js +8 -8
  43. package/dist/budgets/index.es.js +11 -11
  44. package/dist/cashflow/index.es.js +41 -41
  45. package/dist/categories/index.es.js +1 -1
  46. package/dist/common/components/DataRow.d.ts +1 -0
  47. package/dist/common/constants/Analytics.d.ts +3 -0
  48. package/dist/common/index.es.js +82 -83
  49. package/dist/core/index.es.js +8 -8
  50. package/dist/core/stores/RecurringTransactionsStore.d.ts +27 -1
  51. package/dist/core/types/localization/RecurringCopy.d.ts +14 -1
  52. package/dist/core/utils/DateUtil.d.ts +2 -0
  53. package/dist/core/utils/RecurringTransactionsUtil.d.ts +2 -1
  54. package/dist/dashboard/index.es.js +4 -4
  55. package/dist/debts/index.es.js +73 -73
  56. package/dist/finstrong/index.es.js +17 -17
  57. package/dist/goals/index.es.js +22 -23
  58. package/dist/help/index.es.js +4 -4
  59. package/dist/{hooks-BaO_gOI6.mjs → hooks-97sNJ_lf.mjs} +9 -9
  60. package/dist/insights/index.es.js +4 -4
  61. package/dist/investments/index.es.js +6 -6
  62. package/dist/merchants/index.es.js +1 -1
  63. package/dist/microinsights/index.es.js +12 -11
  64. package/dist/networth/index.es.js +9 -9
  65. package/dist/notifications/index.es.js +9 -9
  66. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer.d.ts +3 -0
  67. package/dist/recurringtransactions/components/RecurringTransactionList.d.ts +11 -0
  68. package/dist/recurringtransactions/components/UpcomingRecurrenceCard.d.ts +6 -0
  69. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer.d.ts +10 -0
  70. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog.d.ts +7 -0
  71. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog.d.ts +7 -0
  72. package/dist/recurringtransactions/index.es.js +402 -376
  73. package/dist/settings/index.es.js +7 -7
  74. package/dist/spending/index.es.js +8 -8
  75. package/dist/transactions/index.es.js +12 -12
  76. package/dist/trends/index.es.js +13 -13
  77. package/dist/useAccountDisplayName-BsiXA0qf.mjs +23 -0
  78. package/dist/{useInsightsEnabled-DaNLPmUU.mjs → useInsightsEnabled-D5Sdm0TJ.mjs} +1 -1
  79. package/dist/{useWidgetLoadTimer-CJb-RELP.mjs → useWidgetLoadTimer-B0tB-yzL.mjs} +1 -1
  80. package/package.json +1 -1
  81. package/dist/Account-BxHMlV9R.mjs +0 -30
  82. package/dist/AccountDetailsHeader-DIysk_4w.mjs +0 -95
  83. package/dist/AccountDisplayName-CO7z3v99.mjs +0 -11
  84. package/dist/AccountFields-mwJ8NXsX.mjs +0 -141
  85. package/dist/AccountListItem-BDXHs4tV.mjs +0 -94
  86. package/dist/Accounts-CseLC3lL.mjs +0 -5
  87. package/dist/Connect-Dk6GZEsA.mjs +0 -39
  88. package/dist/DateUtil-Bhq59ZVg.mjs +0 -58
  89. package/dist/ManageIncome-D1yBODQi.mjs +0 -595
  90. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +0 -253
  91. package/dist/Select-BFt-HD-L.mjs +0 -55
  92. package/dist/TabContentContainer-CnMXkVqr.mjs +0 -21
  93. package/dist/useAccountDisplayName-CFa_MrS6.mjs +0 -15
@@ -1,7 +1,7 @@
1
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-T5_Odvos.mjs";
2
+ import { d as At } from "./AccountUtils-B8ZzWI-d.mjs";
3
3
  import { i as wt, f as bt, b as It, c as k } from "./BudgetUtil-Bg2AQJpQ.mjs";
4
- import { A as h, f as M } from "./Account-BaJmiJAG.mjs";
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
7
  import Ct from "posthog-js";
@@ -9,26 +9,26 @@ 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
11
  import { C as w, b as Et } from "./Category-DEKZGLYe.mjs";
12
- import { addDays as Dt } from "date-fns/addDays";
13
- import { differenceInDays as Rt } from "date-fns/differenceInDays";
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 Lt, d as vt, C as $t, h as Nt, i as Gt, 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-DD3186U-.mjs";
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
19
  import { format as Ft } from "date-fns/format";
20
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
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-DilGN1nW.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
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 { e as O, f as Zt, a as f, b as Q } from "./RecurringTransactionsUtil-B3rLEx_g.mjs";
31
- import { I as u, A as _, B as N } from "./Notification-DTNYSd8P.mjs";
30
+ import { f as O, h as Zt, a as f, b as Q } from "./RecurringTransactionsUtil-zOxq5pzY.mjs";
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
33
  import { formatISO as te } from "date-fns/formatISO";
34
34
  import { addSeconds as ee } from "date-fns/addSeconds";
@@ -37,7 +37,7 @@ import { f as ae, b as ne } from "./TrendsUtil-D9z3kIj_.mjs";
37
37
  import { addMonths as ie } from "date-fns/addMonths";
38
38
  import { getMonth as L } from "date-fns/getMonth";
39
39
  import { a as re } from "./Help-CkQTjORd.mjs";
40
- class G {
40
+ class N {
41
41
  fetchInstance;
42
42
  constructor(t, e, s) {
43
43
  this.fetchInstance = new g(t, e, void 0, s);
@@ -345,7 +345,7 @@ class ct {
345
345
  }
346
346
  class oe {
347
347
  globalStore;
348
- api = new G("/", "");
348
+ api = new N("/", "");
349
349
  accounts = [];
350
350
  accountsLoaded = !1;
351
351
  accountsLoading = !1;
@@ -357,7 +357,7 @@ class oe {
357
357
  membersLoading = !1;
358
358
  uiStore;
359
359
  constructor(t) {
360
- this.globalStore = t, this.uiStore = new ce(), this.api = new G(t.endpoint, t.sessionToken, t.onError), d(this);
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()]);
@@ -951,7 +951,7 @@ class _e {
951
951
  }
952
952
  let fe = class {
953
953
  // Cashflow is hard-coded to display 30 days starting from today
954
- dateRange = { start: y(), end: Dt(y(), 30) };
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 fe = 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(Rt(y(), this.nextIncome.expectedDate)) : 0;
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
@@ -1431,7 +1431,7 @@ const lt = {
1431
1431
  postHogPublicKey: "phc_1fVYJICC69TpW4wagp9o2XqQ8E7X98cAmcR5psSpfkE",
1432
1432
  userFeatures: []
1433
1433
  };
1434
- class Ns {
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 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 De(this), this.helpStore = new ve(this), this.holdingStore = new $e(this), this.merchantStore = new Ne(this), this.netWorthStore = new Ge(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(() => {
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
@@ -1597,7 +1597,7 @@ class Ee {
1597
1597
  }
1598
1598
  };
1599
1599
  }
1600
- class De {
1600
+ class Re {
1601
1601
  globalStore;
1602
1602
  api = new tt("/", "");
1603
1603
  goals = [];
@@ -1835,7 +1835,7 @@ class De {
1835
1835
  }
1836
1836
  };
1837
1837
  }
1838
- const Re = (n, t) => n.guid === "general" || n.guid === "insights" ? !0 : n.flags ? n.flags.every((e) => t[e]) : !1, Le = (n, t) => {
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
1840
  for (const s of re) {
1841
1841
  const a = t[s.guid];
@@ -1848,7 +1848,7 @@ const Re = (n, t) => n.guid === "general" || n.guid === "insights" ? !0 : n.flag
1848
1848
  label: a.topics[l]
1849
1849
  }))
1850
1850
  };
1851
- Re(o, n) && e.push(o);
1851
+ De(o, n) && e.push(o);
1852
1852
  }
1853
1853
  return e;
1854
1854
  };
@@ -1941,7 +1941,7 @@ class $e {
1941
1941
  }
1942
1942
  };
1943
1943
  }
1944
- class Ne {
1944
+ class Ge {
1945
1945
  globalStore;
1946
1946
  api = new at("/", "");
1947
1947
  merchant = null;
@@ -1962,9 +1962,9 @@ class Ne {
1962
1962
  c(() => this.merchant = e);
1963
1963
  };
1964
1964
  }
1965
- class Ge {
1965
+ class Ne {
1966
1966
  globalStore;
1967
- accountsApi = new G("/", "");
1967
+ accountsApi = new N("/", "");
1968
1968
  monthlyAccountBalances = [];
1969
1969
  monthlyAccountBalancesLoaded = !1;
1970
1970
  hoveredIndex = -1;
@@ -1972,7 +1972,7 @@ class Ge {
1972
1972
  timeframe = 6;
1973
1973
  // default timeframe is 6 months
1974
1974
  constructor(t) {
1975
- this.globalStore = t, this.accountsApi = new G(
1975
+ this.globalStore = t, this.accountsApi = new N(
1976
1976
  t.endpoint,
1977
1977
  t.sessionToken,
1978
1978
  t.onError
@@ -2090,6 +2090,8 @@ class xe {
2090
2090
  isDataLoaded = !1;
2091
2091
  selectedDay;
2092
2092
  dateRange = { start: E(y()), end: T(y()) };
2093
+ selectedRepeatingTransactionGuid = null;
2094
+ alert = { message: "", severity: void 0 };
2093
2095
  constructor(t) {
2094
2096
  this.globalStore = t, this.api = new it(
2095
2097
  t.endpoint,
@@ -2097,6 +2099,9 @@ class xe {
2097
2099
  t.onError
2098
2100
  ), d(this);
2099
2101
  }
2102
+ get copy() {
2103
+ return this.globalStore.copyStore.copy.recurring;
2104
+ }
2100
2105
  get detailedRepeatingTransactions() {
2101
2106
  return O(
2102
2107
  this.globalStore.accountStore.visibleAccounts,
@@ -2229,6 +2234,12 @@ class xe {
2229
2234
  (t) => this.selectedDay && K(t.occurredOnDate || t.expectedDate, this.selectedDay)
2230
2235
  );
2231
2236
  }
2237
+ get selectedRepeatingTransaction() {
2238
+ return this.selectedRepeatingTransactionGuid ? this.detailedRepeatingTransactions.find(
2239
+ (t) => t.guid === this.selectedRepeatingTransactionGuid
2240
+ ) : void 0;
2241
+ }
2242
+ setSelectedRepeatingTransactionGuid = (t) => this.selectedRepeatingTransactionGuid = t;
2232
2243
  setRepeatingTransactions = (t) => {
2233
2244
  this.repeatingTransactions = t, this.isDataLoaded = !0;
2234
2245
  };
@@ -2327,10 +2338,40 @@ class xe {
2327
2338
  console.error(`Error occurred while updating repeating transaction: ${e}`);
2328
2339
  }
2329
2340
  };
2341
+ /**
2342
+ * Mark a recurrence as paid by linking a transaction to the repeating transaction.
2343
+ * @param repeatingTransactionGuid - The GUID of the repeating transaction.
2344
+ * @param transaction - The transaction to link.
2345
+ */
2346
+ markRecurrenceAsPaid = async (t, e) => {
2347
+ try {
2348
+ await this.globalStore.transactionStore.updateTransaction({
2349
+ ...e,
2350
+ repeating_transaction_guid: t
2351
+ }), await this.loadRepeatingTransactions(), this.setAlert(this.copy.link_transaction_success, "success");
2352
+ } catch (s) {
2353
+ console.error(`Error occurred while marking recurrence as paid: ${s}`), this.setAlert(this.copy.link_transaction_error, "error");
2354
+ }
2355
+ };
2356
+ /**
2357
+ * Mark a recurrence as unpaid by unlinking the associated transaction from the repeating transaction.
2358
+ * @param transaction - The transaction to unlink.
2359
+ */
2360
+ markRecurrenceAsUnpaid = async (t) => {
2361
+ try {
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");
2366
+ } catch (e) {
2367
+ console.error(`Error occurred while marking recurrence as unpaid: ${e}`), this.setAlert(this.copy.unlink_transaction_error, "error");
2368
+ }
2369
+ };
2370
+ setAlert = (t, e = void 0) => this.alert = { message: t, severity: e };
2330
2371
  }
2331
2372
  const ht = "PARENT-ENTITY", Me = (n, t) => ({
2332
- [N.BudgetExceeded]: t.notification_budget_exceeded,
2333
- [N.BudgetOffTarget]: t.notification_budget_off_target,
2373
+ [G.BudgetExceeded]: t.notification_budget_exceeded,
2374
+ [G.BudgetOffTarget]: t.notification_budget_off_target,
2334
2375
  [_.DebtPaymentReminder]: t.notification_debt_payment_reminder,
2335
2376
  [_.AccountBalanceLow]: t.notification_low_balance,
2336
2377
  [_.AccountDepositLargePosted]: t.notification_large_deposit,
@@ -2371,19 +2412,19 @@ const ht = "PARENT-ENTITY", Me = (n, t) => ({
2371
2412
  opted_out_of_sms_notifications: ft,
2372
2413
  opted_out_of_push_notifications: yt
2373
2414
  } = a;
2374
- for (const I of s.filter((D) => D.entity_guid === ht)) {
2375
- const D = Me(I.notification_type, e), mt = s.filter(
2415
+ for (const I of s.filter((R) => R.entity_guid === ht)) {
2416
+ const R = Me(I.notification_type, e), mt = s.filter(
2376
2417
  (C) => C.entity_guid !== ht && C.notification_type === I.notification_type && n.some((x) => x.guid === C.entity_guid)
2377
- ), R = [];
2378
- l && !_t && I.email_channel && o.email && R.push(e.delivery_method_email_label), p && !ft && I.sms_channel && o.phone && R.push(e.delivery_method_sms_label), b && !yt && I.push_channel && R.push(e.delivery_method_push_label), r.push({
2418
+ ), D = [];
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({
2379
2420
  ...I,
2380
2421
  children: mt.map((C) => ({
2381
2422
  ...C,
2382
2423
  account: n.find((x) => x.guid === C.entity_guid),
2383
- label: D
2424
+ label: R
2384
2425
  })),
2385
- deliveryMethodsLabel: R.join(", "),
2386
- label: D
2426
+ deliveryMethodsLabel: D.join(", "),
2427
+ label: R
2387
2428
  });
2388
2429
  }
2389
2430
  return r;
@@ -2413,7 +2454,7 @@ class Pe {
2413
2454
  get budgetProfiles() {
2414
2455
  const t = this.globalStore.appDataStore.clientCommunicationProfile;
2415
2456
  return this.detailedNotificationProfiles.filter(
2416
- (e) => e.notification_type === N.BudgetExceeded && t.budget_exceeded_notifications_enabled || e.notification_type === N.BudgetOffTarget && t.budget_off_target_notifications_enabled
2457
+ (e) => e.notification_type === G.BudgetExceeded && t.budget_exceeded_notifications_enabled || e.notification_type === G.BudgetOffTarget && t.budget_off_target_notifications_enabled
2417
2458
  );
2418
2459
  }
2419
2460
  get insightsProfiles() {
@@ -2596,7 +2637,7 @@ class Ue {
2596
2637
  isLoading = !0;
2597
2638
  alert = "";
2598
2639
  sortColumn = $t.DATE;
2599
- sortDirection = Nt.DESC;
2640
+ sortDirection = Gt.DESC;
2600
2641
  constructor(t) {
2601
2642
  this.globalStore = t, this.uiStore = new Fe(), this.api = new B(
2602
2643
  t.endpoint,
@@ -2618,7 +2659,7 @@ class Ue {
2618
2659
  return this.associatedBeatsLoaded && this.tagsLoaded && this.taggingsLoaded && this.transactionRulesLoaded && this.transactionsLoaded;
2619
2660
  }
2620
2661
  get detailedTransactions() {
2621
- return this.isTransactionDataLoaded ? Gt(
2662
+ return this.isTransactionDataLoaded ? Nt(
2622
2663
  this.transactions,
2623
2664
  this.globalStore.accountStore.visibleAccounts,
2624
2665
  this.globalStore.categoryStore.categories,
@@ -2959,7 +3000,7 @@ class He {
2959
3000
  };
2960
3001
  }
2961
3002
  export {
2962
- G as A,
3003
+ N as A,
2963
3004
  j as B,
2964
3005
  _e as C,
2965
3006
  Te as D,
@@ -2967,7 +3008,7 @@ export {
2967
3008
  Ee as G,
2968
3009
  et as H,
2969
3010
  at as M,
2970
- Ge as N,
3011
+ Ne as N,
2971
3012
  xe as R,
2972
3013
  rt as S,
2973
3014
  B as T,
@@ -2984,14 +3025,14 @@ export {
2984
3025
  ye as i,
2985
3026
  Se as j,
2986
3027
  Ie as k,
2987
- Ns as l,
3028
+ Gs as l,
2988
3029
  Ce as m,
2989
3030
  tt as n,
2990
- De as o,
3031
+ Re as o,
2991
3032
  ve as p,
2992
3033
  st as q,
2993
3034
  $e as r,
2994
- Ne as s,
3035
+ Ge as s,
2995
3036
  nt as t,
2996
3037
  Be as u,
2997
3038
  it as v,