@mx-cartographer/experiences 8.0.26-alpha.al0 → 8.1.1

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 (180) hide show
  1. package/CHANGELOG.md +12 -9
  2. package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
  3. package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
  4. package/dist/{AccountApi-ChQr5PAZ.mjs → AccountApi-WEM2M9tg.mjs} +1 -1
  5. package/dist/{AccountDetailsHeader-D9gbTbUt.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +7 -7
  6. package/dist/{AccountFields-CxqONzjY.mjs → AccountFields-nrrEXd46.mjs} +32 -31
  7. package/dist/{AccountListItem-D9WJDbZ1.mjs → AccountListItem-D80egD01.mjs} +6 -6
  8. package/dist/{AccountStore-B7zfcad7.mjs → AccountStore-nxHZqg1Z.mjs} +4 -4
  9. package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
  10. package/dist/Analytics-CxK7O19c.mjs +53 -0
  11. package/dist/{Fetch-B6tMJC1r.mjs → ApiEndpoints-C5IA97i7.mjs} +48 -50
  12. package/dist/{BeatApi-EFHXULDx.mjs → BeatApi-C6pBa0Rb.mjs} +1 -1
  13. package/dist/{BeatStore-C6CAT-ce.mjs → BeatStore-DuvvrljY.mjs} +1 -1
  14. package/dist/{BudgetUtil-DZpOoZQa.mjs → BudgetUtil-Cwvpb7xl.mjs} +85 -85
  15. package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
  16. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  17. package/dist/CategoryApi-CogDFScz.mjs +29 -0
  18. package/dist/{CategorySelectorDrawer-Dc9Widy9.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +8 -8
  19. package/dist/CategoryStore-CA4NTaKH.mjs +160 -0
  20. package/dist/{CategoryUtil-BVixr0d5.mjs → CategoryUtil-BJOHgYKS.mjs} +4 -4
  21. package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
  22. package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
  23. package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
  24. package/dist/{CurrencyInput-DuMktPu3.mjs → CurrencyInput-CSJ3zMgE.mjs} +20 -19
  25. package/dist/{CurrencyText-CA-E5N_y.mjs → CurrencyText-oqd6cX3M.mjs} +1 -1
  26. package/dist/{DateFormats-BMpMrZpW.mjs → DateFormats-CaOj_4eI.mjs} +1 -1
  27. package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
  28. package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
  29. package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
  30. package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
  31. package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
  32. package/dist/{EmbeddedCard-qwIhF1VP.mjs → EmbeddedCard-BCcn_fK2.mjs} +194 -194
  33. package/dist/{ExportCsvAction-CHCmCCqf.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
  34. package/dist/FinstrongApi-FpmsS_sy.mjs +19 -0
  35. package/dist/{FinstrongStore-BQxXxxYD.mjs → FinstrongStore-DYawCv1d.mjs} +122 -138
  36. package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
  37. package/dist/GlobalCopyApi-DkS-2Zf_.mjs +41 -0
  38. package/dist/Goal-MFBpoOIC.mjs +29 -0
  39. package/dist/{GoalStore-fgXt--2Y.mjs → GoalStore-DmqM1ZfW.mjs} +81 -104
  40. package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
  41. package/dist/{Help-BkmSY96v.mjs → Help-Dfw_GHKi.mjs} +96 -99
  42. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  43. package/dist/{LineChart-EAr5ox5U.mjs → LineChart-jJVBE8V8.mjs} +2 -2
  44. package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
  45. package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
  46. package/dist/Localization-C_HZg9tJ.mjs +15 -0
  47. package/dist/Localization-CkQ49EKr.mjs +26 -0
  48. package/dist/{ManageIncome-DqqI9HB1.mjs → ManageIncome-wgo-qbdP.mjs} +24 -24
  49. package/dist/MerchantApi-D8ahYxiG.mjs +15 -0
  50. package/dist/MerchantStore-CyZTv-BM.mjs +26 -0
  51. package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
  52. package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
  53. package/dist/{NetWorthStore-BqZ44-4M.mjs → NetWorthStore-BY-B_hxy.mjs} +5 -5
  54. package/dist/NotificationApi-DF0obHoR.mjs +20 -0
  55. package/dist/{NotificationSettings-DBT37CVB.mjs → NotificationSettings-BFFIl-wS.mjs} +10 -10
  56. package/dist/NotificationStore-DlAM5Ue0.mjs +69 -0
  57. package/dist/{NumberFormatting-QCaNwbjv.mjs → NumberFormatting-CyrvFgfd.mjs} +1 -1
  58. package/dist/{OriginalBalanceAction-DjpvVVFz.mjs → OriginalBalanceAction-C8VJZUat.mjs} +10 -10
  59. package/dist/{RecurringSettings-OBGLelZQ.mjs → RecurringSettings-Dn5pPRVS.mjs} +9 -9
  60. package/dist/{RecurringTransactions-BbZ6MQsX.mjs → RecurringTransactions-DCt94TN4.mjs} +50 -50
  61. package/dist/{RecurringTransactionsStore-BE_eUfTC.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +76 -90
  62. package/dist/{RepeatingTransaction-DF4vJn_v.mjs → RepeatingTransaction-D2gmBTd0.mjs} +3 -3
  63. package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +17 -0
  64. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
  65. package/dist/SettingsApi-D9d7SLhB.mjs +22 -0
  66. package/dist/{SettingsStore-BoIoiRLj.mjs → SettingsStore-BcbuKfFO.mjs} +41 -60
  67. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  68. package/dist/{SpendingData-Bz1bCWAs.mjs → SpendingData-Dj85XEUp.mjs} +4 -4
  69. package/dist/{SpendingLegend-CypdabwS.mjs → SpendingLegend-RtFvutJ0.mjs} +5 -5
  70. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  71. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  72. package/dist/{Transaction-C3Pg9TKf.mjs → Transaction-Cn5_iFm0.mjs} +2 -2
  73. package/dist/{TransactionApi-Ck5Ua-7F.mjs → TransactionApi-CLG2eSNe.mjs} +1 -1
  74. package/dist/{TransactionDetails-I1ny1ecc.mjs → TransactionDetails-Cb6vauzy.mjs} +22 -22
  75. package/dist/{TransactionStore-BUsgGRL1.mjs → TransactionStore-BUsP-unK.mjs} +48 -65
  76. package/dist/{TrendsStore-CYdTo7cN.mjs → TrendsStore-bYjIGqyR.mjs} +2 -2
  77. package/dist/{ViewMoreMicroCard-BJOZcYnB.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +96 -96
  78. package/dist/WidgetApi-C0BA2cFX.mjs +102 -0
  79. package/dist/{WidgetContainer-CFaupcpE.mjs → WidgetContainer-MhgZzIaI.mjs} +136 -158
  80. package/dist/accounts/index.d.ts +0 -1
  81. package/dist/accounts/index.es.js +79 -81
  82. package/dist/accounts/stores/AccountStore.d.ts +1 -1
  83. package/dist/analytics/index.es.js +10 -10
  84. package/dist/budgets/index.es.js +20 -20
  85. package/dist/budgets/store/BudgetsStore.d.ts +1 -1
  86. package/dist/cashflow/index.d.ts +0 -1
  87. package/dist/cashflow/index.es.js +413 -434
  88. package/dist/categories/index.es.js +2 -2
  89. package/dist/categories/stores/CategoryStore.d.ts +2 -1
  90. package/dist/common/components/Error.d.ts +11 -0
  91. package/dist/common/components/index.d.ts +1 -0
  92. package/dist/common/constants/index.d.ts +0 -1
  93. package/dist/common/index.d.ts +0 -1
  94. package/dist/common/index.es.js +388 -489
  95. package/dist/common/stores/AppDataStore.d.ts +2 -2
  96. package/dist/common/stores/ConnectStore.d.ts +1 -1
  97. package/dist/common/stores/GlobalCopyStore.d.ts +1 -1
  98. package/dist/common/stores/UserStore.d.ts +1 -1
  99. package/dist/common/utils/Localization.d.ts +0 -9
  100. package/dist/common/utils/index.d.ts +1 -2
  101. package/dist/{accounts → core}/api/AccountApi.d.ts +2 -2
  102. package/dist/{common → core}/api/AnalyticsApi.d.ts +1 -1
  103. package/dist/{common → core}/api/AppDataApi.d.ts +2 -2
  104. package/dist/{common → core}/api/BannerApi.d.ts +1 -1
  105. package/dist/{common → core}/api/BeatApi.d.ts +2 -2
  106. package/dist/{budgets → core}/api/BudgetsApi.d.ts +2 -2
  107. package/dist/{common → core}/api/CategoryApi.d.ts +2 -2
  108. package/dist/{finstrong → core}/api/FinstrongApi.d.ts +2 -2
  109. package/dist/{common → core}/api/GlobalCopyApi.d.ts +2 -2
  110. package/dist/{goals → core}/api/GoalApi.d.ts +2 -2
  111. package/dist/{help → core}/api/HelpApi.d.ts +2 -2
  112. package/dist/{investments → core}/api/HoldingApi.d.ts +2 -2
  113. package/dist/{merchants → core}/api/MerchantApi.d.ts +2 -2
  114. package/dist/{common → core}/api/NotificationApi.d.ts +2 -2
  115. package/dist/{recurringtransactions → core}/api/RepeatingTransactionsApi.d.ts +2 -2
  116. package/dist/{common → core}/api/ScheduledPaymentsApi.d.ts +2 -2
  117. package/dist/{settings → core}/api/SettingsApi.d.ts +2 -2
  118. package/dist/{transactions → core}/api/TransactionApi.d.ts +2 -2
  119. package/dist/{common → core}/api/UserApi.d.ts +2 -2
  120. package/dist/{common → core}/api/WidgetApi.d.ts +1 -1
  121. package/dist/core/api/index.d.ts +20 -0
  122. package/dist/{common → core}/constants/ApiEndpoints.d.ts +0 -2
  123. package/dist/core/constants/index.d.ts +1 -0
  124. package/dist/core/index.d.ts +2 -0
  125. package/dist/core/index.es.js +91 -39
  126. package/dist/{common → core}/utils/Fetch.d.ts +1 -1
  127. package/dist/core/utils/Localization.d.ts +9 -0
  128. package/dist/core/utils/index.d.ts +2 -0
  129. package/dist/dashboard/index.es.js +21 -21
  130. package/dist/debts/index.es.js +23 -23
  131. package/dist/{exportTransactionsToCSV-DgdB3TBt.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
  132. package/dist/finstrong/index.d.ts +0 -1
  133. package/dist/finstrong/index.es.js +26 -27
  134. package/dist/finstrong/stores/FinstrongStore.d.ts +1 -1
  135. package/dist/goals/index.d.ts +0 -1
  136. package/dist/goals/index.es.js +61 -62
  137. package/dist/goals/stores/GoalStore.d.ts +1 -1
  138. package/dist/help/index.es.js +5 -5
  139. package/dist/help/store/HelpStore.d.ts +1 -1
  140. package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
  141. package/dist/insights/index.es.js +328 -328
  142. package/dist/insights/store/BeatStore.d.ts +1 -1
  143. package/dist/investments/index.es.js +9 -9
  144. package/dist/investments/stores/HoldingStore.d.ts +1 -1
  145. package/dist/merchants/index.es.js +10 -10
  146. package/dist/merchants/stores/MerchantStore.d.ts +1 -1
  147. package/dist/microinsights/index.es.js +1 -1
  148. package/dist/microinsights/stores/CopyStore.d.ts +1 -1
  149. package/dist/microinsights/stores/InsightsMicroWidgetStore.d.ts +1 -1
  150. package/dist/networth/index.es.js +28 -28
  151. package/dist/networth/stores/NetWorthStore.d.ts +1 -1
  152. package/dist/notifications/index.es.js +8 -8
  153. package/dist/notifications/stores/NotificationStore.d.ts +2 -1
  154. package/dist/recurringtransactions/index.es.js +40 -39
  155. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -1
  156. package/dist/settings/index.d.ts +0 -1
  157. package/dist/settings/index.es.js +85 -86
  158. package/dist/settings/stores/SettingsStore.d.ts +2 -2
  159. package/dist/spending/index.es.js +65 -65
  160. package/dist/transactions/index.d.ts +0 -1
  161. package/dist/transactions/index.es.js +81 -83
  162. package/dist/transactions/stores/TransactionStore.d.ts +3 -2
  163. package/dist/trends/index.es.js +58 -58
  164. package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
  165. package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
  166. package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
  167. package/package.json +20 -20
  168. package/dist/CategoryStore-FTxUbn0f.mjs +0 -186
  169. package/dist/DateUtil-wcYTmDRD.mjs +0 -54
  170. package/dist/Goal-0loDagc5.mjs +0 -6
  171. package/dist/Localization-CPkpIwIx.mjs +0 -37
  172. package/dist/MerchantStore-BzGi4JAZ.mjs +0 -37
  173. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
  174. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
  175. package/dist/NotificationStore-D_e8zo5M.mjs +0 -86
  176. package/dist/cashflow/api/CashflowApi.d.ts +0 -13
  177. package/dist/common/api/LocalizedCopyApi.d.ts +0 -8
  178. package/dist/common/api/index.d.ts +0 -10
  179. package/dist/repeatingTransactions-DHIG94pi.mjs +0 -4
  180. package/dist/useCombineEvents-Bqojlv8q.mjs +0 -92
package/CHANGELOG.md CHANGED
@@ -1,3 +1,15 @@
1
+ ## [8.1.1] - 04-22-2026
2
+
3
+ - **FIXED** - payment dates
4
+
5
+ ## [8.1.0] - 04-21-2026
6
+
7
+ **UPDATED** - All apis have been moved into `src/core/api`
8
+
9
+ ## [8.0.25] - 04-20-2026
10
+
11
+ - **ADDED** - `Error` component from MD
12
+
1
13
  ## [8.0.24] - 04-20-2026
2
14
 
3
15
  - **UPDATED** - `@tanstack/react-virtual` from 3.13.2 to 3.13.19
@@ -919,16 +931,7 @@
919
931
 
920
932
  ## [7.2.14] - 11-24-2025
921
933
 
922
- =======
923
-
924
- ## [7.2.14] - 11-25-2025
925
-
926
- > > > > > > > fd2b3985 (Icon cleanup)
927
-
928
934
  - **UPDATED** - remove uneeded client color scheme reference from `microinsights`
929
-
930
- > > > > > > > 38a99394 (remove client color scheme references)
931
-
932
935
  - **UPDATED** - icon code cleanup in `microinsights`
933
936
 
934
937
  ## [7.2.13] - 11-24-2025
@@ -1,4 +1,4 @@
1
- import { A as C } from "./Account-BiB1F8lL.mjs";
1
+ import { A as C } from "./Account-CMjOp7S2.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -111,8 +111,8 @@ export {
111
111
  G as b,
112
112
  C as c,
113
113
  N as d,
114
- H as e,
115
- A as f,
114
+ A as e,
115
+ H as f,
116
116
  R as g,
117
117
  T as h
118
118
  };
@@ -1,4 +1,4 @@
1
- import { F as s, A as e } from "./Fetch-B6tMJC1r.mjs";
1
+ import { F as s, A as e } from "./ApiEndpoints-C5IA97i7.mjs";
2
2
  class r {
3
3
  fetchInstance;
4
4
  constructor(t, c, n) {
@@ -3,16 +3,16 @@ import { observer as f } from "mobx-react-lite";
3
3
  import s from "@mui/material/Stack";
4
4
  import { H3 as T, InstitutionLogo as x, Text as l, H2 as D } from "@mxenabled/mxui";
5
5
  import p from "react";
6
- import { G as N, d as _, l as P, f as G, u as O } from "./hooks-BxkfR-Ff.mjs";
7
- import { g as R } from "./AccountFields-CxqONzjY.mjs";
8
- import { A as r } from "./Account-BiB1F8lL.mjs";
6
+ import { G as N, d as _, l as P, f as G, u as O } from "./hooks-HwStH7q_.mjs";
7
+ import { g as R } from "./AccountFields-nrrEXd46.mjs";
8
+ import { A as r } from "./Account-CMjOp7S2.mjs";
9
9
  import w from "@mui/material/Card";
10
10
  import v from "@mui/material/CardContent";
11
11
  import L from "@mui/material/CardHeader";
12
- import { L as H } from "./Loader-D3rjKx72.mjs";
13
- import { I as M, P as U, S as Y } from "./Account-DuOz1a27.mjs";
14
- import { u as j } from "./useAccountDisplayName-DKwT1mWv.mjs";
15
- import { f as z } from "./NumberFormatting-QCaNwbjv.mjs";
12
+ import { L as H } from "./Loader-CxeBwuPG.mjs";
13
+ import { I as M, P as U, S as Y } from "./Account-BIKn4XEZ.mjs";
14
+ import { u as j } from "./useAccountDisplayName-SrQA7K_6.mjs";
15
+ import { f as z } from "./NumberFormatting-CyrvFgfd.mjs";
16
16
  const C = () => {
17
17
  if (!p.useContext(N))
18
18
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
@@ -1,12 +1,13 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
- import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { A as d, a as v, P as h, b as F } from "./Account-BiB1F8lL.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-o7ohkngR.mjs";
2
+ import { Text as y, Icon as p } from "@mxenabled/mxui";
3
+ import { A as b, a as v, P as h, b as F } from "./Account-CMjOp7S2.mjs";
4
+ import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-DX3xJE97.mjs";
5
5
  import { F as m } from "./Accounts-CseLC3lL.mjs";
6
- import { f as _, i as b, a as N, b as C } from "./NumberFormatting-QCaNwbjv.mjs";
7
- import { b as i } from "./Localization-CPkpIwIx.mjs";
8
- import { f as o, D as f } from "./DateFormats-BMpMrZpW.mjs";
9
- const x = (l, e) => {
6
+ import { f as C } from "./DateUtil-D0TO0DaZ.mjs";
7
+ import { b as i } from "./Localization-CkQ49EKr.mjs";
8
+ import { f as o, D as f } from "./DateFormats-CaOj_4eI.mjs";
9
+ import { f as s, i as d, a as N, b as S } from "./NumberFormatting-CyrvFgfd.mjs";
10
+ const U = (l, e) => {
10
11
  const r = [
11
12
  {
12
13
  event: "account_details_click_account_name",
@@ -24,9 +25,9 @@ const x = (l, e) => {
24
25
  name: "balance",
25
26
  placeholder: i(e.enter_value, e.account_balance),
26
27
  type: m.Currency,
27
- valueFormatter: (t) => _(t, "0,0.00")
28
+ valueFormatter: (t) => s(t, "0,0.00")
28
29
  });
29
- const a = Object.keys(d).filter((t) => Number(t)).map((t) => ({
30
+ const a = Object.keys(b).filter((t) => Number(t)).map((t) => ({
30
31
  label: e.account_types[t],
31
32
  value: Number(t),
32
33
  icon: /* @__PURE__ */ u(p, { name: v[t] })
@@ -40,7 +41,7 @@ const x = (l, e) => {
40
41
  valueFormatter: (t) => a.find((n) => n.value === t)?.label
41
42
  });
42
43
  }
43
- if (l.account_type === d.PROPERTY) {
44
+ if (l.account_type === b.PROPERTY) {
44
45
  const a = Object.keys(h).filter((t) => Number(t)).map((t) => ({
45
46
  label: e.property_types[t],
46
47
  value: Number(t),
@@ -55,7 +56,7 @@ const x = (l, e) => {
55
56
  valueFormatter: (t) => a.find((n) => n.value === t)?.label
56
57
  });
57
58
  }
58
- if (D(l)) {
59
+ if (A(l)) {
59
60
  let a = e.interest_rate, t = "interest_rate";
60
61
  l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
61
62
  event: "account_details_click_interest_rate",
@@ -63,16 +64,16 @@ const x = (l, e) => {
63
64
  name: t,
64
65
  placeholder: i(e.enter_value, a),
65
66
  type: m.Input,
66
- validation: (n) => b(n) ? "" : e.error_amount_is_invalid,
67
- valueFormatter: (n) => b(n) ? N(n / 100) : n
67
+ validation: (n) => d(n) ? "" : e.error_amount_is_invalid,
68
+ valueFormatter: (n) => d(n) ? N(n / 100) : n
68
69
  });
69
70
  }
70
- return A(l) && (r.push({
71
+ return D(l) && (r.push({
71
72
  label: e.minimum_payment,
72
73
  name: "minimum_payment",
73
74
  placeholder: i(e.enter_value, e.minimum_payment),
74
75
  type: m.Currency,
75
- valueFormatter: (a) => _(a, "0,0.00")
76
+ valueFormatter: (a) => s(a, "0,0.00")
76
77
  }), l.payment_due_at ? r.push({
77
78
  label: e.next_payment,
78
79
  name: "payment_due_at",
@@ -88,53 +89,53 @@ const x = (l, e) => {
88
89
  type: m.Date,
89
90
  valueFormatter: (a) => i(
90
91
  e.day_of_every_month,
91
- C(a <= 31 ? a : new Date(a).getDate())
92
+ S(a <= 31 ? a : new Date(a).getDate())
92
93
  )
93
94
  })), g(l) && r.push({
94
95
  label: e.credit_limit,
95
96
  name: "credit_limit",
96
97
  placeholder: i(e.enter_value, e.credit_limit),
97
98
  type: m.Currency,
98
- valueFormatter: (a) => _(a, "0,0.00")
99
+ valueFormatter: (a) => s(a, "0,0.00")
99
100
  }), O(l) && r.push({
100
101
  label: e.original_balance,
101
102
  minAmount: 1,
102
103
  name: "original_balance",
103
104
  placeholder: i(e.enter_value, e.original_balance),
104
105
  type: m.Currency,
105
- valueFormatter: (a) => _(a, "0,0.00")
106
+ valueFormatter: (a) => s(a, "0,0.00")
106
107
  }), r;
107
- }, S = (l, e) => {
108
- let r = "", a = null, t = null, n = null, s = !1;
108
+ }, I = (l, e) => {
109
+ let r = "", a = null, t = null, n = null, _ = !1;
109
110
  switch (l.account_type) {
110
111
  case 1:
111
112
  case 2: {
112
- l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = _(l.balance, "0,0.00"), s = !0) : (r = e.current_balance, a = l.balance);
113
+ l.available_balance ? (r = e.available_balance, a = l.available_balance, t = l.available_balance ? e.current_balance : null, n = s(l.balance, "0,0.00"), _ = !0) : (r = e.current_balance, a = l.balance);
113
114
  break;
114
115
  }
115
116
  default:
116
117
  if (r = e.current_balance, a = l.balance, l.minimum_payment && l.payment_due_at) {
117
- const c = typeof l.payment_due_at == "number" ? new Date(l.payment_due_at * 1e3) : l.payment_due_at;
118
+ const c = C(l.payment_due_at);
118
119
  t = /* @__PURE__ */ u(y, { component: "strong", variant: "caption", children: i(
119
120
  e.payment_due_on,
120
- _(l.minimum_payment, "0,0.00"),
121
+ s(l.minimum_payment, "0,0.00"),
121
122
  o(c, f.FULL_MONTH_DAY)
122
123
  ) });
123
- } else l.credit_limit && (t = e.available_credit, n = _(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
124
+ } else l.credit_limit && (t = e.available_credit, n = s(l.credit_limit - (l?.balance ?? 0), "0,0.00"));
124
125
  }
125
126
  return {
126
127
  firstSubtitle: r,
127
128
  firstValue: a,
128
129
  secondSubtitle: t,
129
130
  secondValue: n,
130
- hasAvailableBalance: s
131
+ hasAvailableBalance: _
131
132
  };
132
- }, B = (l, e) => l.reduce((a, t) => {
133
- const s = S(t, e).firstValue || 0;
134
- return a + s;
133
+ }, Y = (l, e) => l.reduce((a, t) => {
134
+ const _ = I(t, e).firstValue || 0;
135
+ return a + _;
135
136
  }, 0);
136
137
  export {
137
- x as a,
138
- B as b,
139
- S as g
138
+ U as a,
139
+ Y as b,
140
+ I as g
140
141
  };
@@ -9,12 +9,12 @@ import _ from "@mui/material/ListItemText";
9
9
  import L from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as A, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as B } from "@mxenabled/mx-icons";
12
- import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as T } from "./AccountFields-CxqONzjY.mjs";
14
- import { u as $ } from "./useAccountDisplayName-DKwT1mWv.mjs";
15
- import { u as k } from "./hooks-BxkfR-Ff.mjs";
16
- import { C as c } from "./Account-BiB1F8lL.mjs";
17
- import { f as w } from "./NumberFormatting-QCaNwbjv.mjs";
12
+ import { I as j } from "./IconBacking-DgT8DCeh.mjs";
13
+ import { g as T } from "./AccountFields-nrrEXd46.mjs";
14
+ import { u as $ } from "./useAccountDisplayName-SrQA7K_6.mjs";
15
+ import { u as k } from "./hooks-HwStH7q_.mjs";
16
+ import { C as c } from "./Account-CMjOp7S2.mjs";
17
+ import { f as w } from "./NumberFormatting-CyrvFgfd.mjs";
18
18
  const E = {
19
19
  gridRow: 1,
20
20
  gridColumn: 1,
@@ -1,8 +1,8 @@
1
1
  import { makeAutoObservable as h, runInAction as a } from "mobx";
2
- import { i as g } from "./BudgetUtil-DZpOoZQa.mjs";
3
- import { A as d } from "./AccountApi-ChQr5PAZ.mjs";
4
- import { d as p } from "./Accounts-o7ohkngR.mjs";
5
- import { A as s, d as u } from "./Account-BiB1F8lL.mjs";
2
+ import { i as g } from "./BudgetUtil-Cwvpb7xl.mjs";
3
+ import { A as d } from "./AccountApi-WEM2M9tg.mjs";
4
+ import { d as p } from "./Accounts-DX3xJE97.mjs";
5
+ import { A as s, d as u } from "./Account-CMjOp7S2.mjs";
6
6
  class m {
7
7
  isLoading = !1;
8
8
  selectedAccount = {};
@@ -1,4 +1,4 @@
1
- import { A as e, C as u, E as p, c as y, M as d } from "./Account-BiB1F8lL.mjs";
1
+ import { A as e, C as u, E as p, c as y, M as d } from "./Account-CMjOp7S2.mjs";
2
2
  const m = (t) => t && (t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CHECKING_LINE_OF_CREDIT), I = (t) => t.is_manual || !t.guid, f = (t) => t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.CHECKING_LINE_OF_CREDIT, R = (t) => t.account_type === e.SAVINGS || t.account_type === e.CHECKING || t.account_type === e.LINE_OF_CREDIT || t.account_type === e.CREDIT_CARD || t.account_type === e.LOAN || t.account_type === e.MORTGAGE, A = (t) => t.account_type === e.LOAN || t.account_type === e.MORTGAGE, N = (t, n, s, _, a) => t.filter((i) => !(i.member_is_managed_by_user && _)).filter((i) => !(!i.member_is_managed_by_user && a)).sort(C).map((i) => {
3
3
  const r = n.find((c) => c.guid === i.institution_guid), o = s.find((c) => c.guid === i.member_guid);
4
4
  return E(i, r, o);
@@ -0,0 +1,53 @@
1
+ import u from "react";
2
+ import { getUnixTime as r } from "date-fns/getUnixTime";
3
+ import { A as l } from "./GlobalCopyApi-DkS-2Zf_.mjs";
4
+ const A = (s, i) => {
5
+ const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticEvent && typeof n?.onAnalyticEvent == "function" ? [...e, n.onAnalyticEvent] : e, []), a = [...s, ...o];
6
+ return u.useMemo(() => (e) => {
7
+ a.forEach((n) => {
8
+ t ? n(e, t) : n(e);
9
+ });
10
+ }, [s, t]);
11
+ }, d = (s, i) => {
12
+ const { session: t } = i, o = Object.values(i).reduce((e, n) => t && n?.onAnalyticPageView && typeof n?.onAnalyticPageView == "function" ? [...e, n.onAnalyticPageView] : e, []), a = [...s, ...o];
13
+ return u.useMemo(() => (e) => {
14
+ a.forEach((n) => {
15
+ t ? n(e, t) : n(e);
16
+ });
17
+ }, [s, t]);
18
+ }, w = async (s, i, t = "1.0.0", o = "Experiences") => {
19
+ const a = new l(s, i), { analytics_session: e } = await a.initializeAnalyticsSession(
20
+ t,
21
+ o
22
+ ), n = window.location.hostname;
23
+ return {
24
+ sendAnalyticEvent: async (c) => await a.sendAnalyticEvent({
25
+ analytics_event: {
26
+ ...c,
27
+ app_version: "widgets-v2",
28
+ created_at: r(/* @__PURE__ */ new Date()).toString(),
29
+ host: n,
30
+ name: c?.label || "",
31
+ session_id: e.guid,
32
+ user_agent: navigator.userAgent || "",
33
+ version: 2
34
+ }
35
+ }),
36
+ sendAnalyticsPageview: async (c) => await a.sendAnalyticsPageview({
37
+ analytics_pageview: {
38
+ ...c,
39
+ app_version: "widgets-v2",
40
+ created_at: r(/* @__PURE__ */ new Date()).toString(),
41
+ host: n,
42
+ name: c.name,
43
+ session_id: e.guid,
44
+ user_agent: navigator.userAgent || ""
45
+ }
46
+ })
47
+ };
48
+ };
49
+ export {
50
+ w as a,
51
+ d as b,
52
+ A as u
53
+ };
@@ -1,52 +1,4 @@
1
- import { g as i } from "./Localization-CPkpIwIx.mjs";
2
- const E = {
3
- ACCOUNTS: "accounts",
4
- ANALYTICS_EVENTS: "analytics_events",
5
- ANALYTICS_FEATURE_VISITS: "feature_visits",
6
- ANALYTICS_PAGEVIEWS: "analytics_pageviews",
7
- ANALYTICS_SESSION: "analytics_sessions",
8
- APP_DATA: "raja/data?type=master",
9
- BEATS: "beats",
10
- BUDGETS: "budgets",
11
- CASHFLOW_EVENTS: "cashflow_events",
12
- CASHFLOW_SEQUENCES: "cashflow_sequences",
13
- CATEGORIES: "categories",
14
- DATE_RANGE_CATEGORY_TOTALS: "date_range_category_totals",
15
- DEVICES: "devices",
16
- EMAIL_VERIFICATIONS: "email_verifications",
17
- GOALS: "goals",
18
- HEALTH_SCORES: "health_scores",
19
- HOLDINGS: "holdings",
20
- INSTITUTIONS: "institutions",
21
- INSIGHTS_NOTIFICATION_PROFILES: "insight_notification_profiles",
22
- LOCALIZED_COPY: "localized_copies",
23
- LOCALIZED_CONTENT: "localized_content",
24
- MEMBERS: "members",
25
- MERCHANTS: "merchants",
26
- MERCHANT_BUDGETS: "merchant_budgets",
27
- MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
28
- MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
29
- OFFERS: "offers",
30
- NOTIFICATION_PROFILES: "notification_profiles",
31
- NOTIFICATIONS: "notifications",
32
- PHONE_VERIFICATIONS: "sms_verification",
33
- PULSE_COMMUNICATIONS: "pulse_communications",
34
- REPEATING_TRANSACTIONS: "repeating_transactions",
35
- RETIREMENT_GOALS: "retirement_goals",
36
- RETIREMENT_GOAL_ACCOUNTS: "retirement_goal_accounts",
37
- SCHEDULED_PAYMENTS: "scheduled_payments",
38
- SPENDING_PLANS: "spending_plans",
39
- SUPPORT_TICKETS: "support_tickets",
40
- TAGGINGS: "taggings",
41
- TAGS: "tags",
42
- TRANSACTION_RULES: "transaction_rules",
43
- TRANSACTIONS: "transactions",
44
- USER: "user",
45
- USER_COMMUNICATION_PROFILE: "user_communication_profile",
46
- USER_FEATURES: "user_features",
47
- USER_PROFILES: "user_profiles",
48
- WIDGET_URLS: "widget_urls"
49
- };
1
+ import { g as i } from "./Localization-C_HZg9tJ.mjs";
50
2
  class _ {
51
3
  endpoint = "/";
52
4
  headers;
@@ -114,7 +66,53 @@ class _ {
114
66
  });
115
67
  };
116
68
  }
69
+ const h = {
70
+ ACCOUNTS: "accounts",
71
+ ANALYTICS_EVENTS: "analytics_events",
72
+ ANALYTICS_FEATURE_VISITS: "feature_visits",
73
+ ANALYTICS_PAGEVIEWS: "analytics_pageviews",
74
+ ANALYTICS_SESSION: "analytics_sessions",
75
+ APP_DATA: "raja/data?type=master",
76
+ BEATS: "beats",
77
+ BUDGETS: "budgets",
78
+ CATEGORIES: "categories",
79
+ DATE_RANGE_CATEGORY_TOTALS: "date_range_category_totals",
80
+ DEVICES: "devices",
81
+ EMAIL_VERIFICATIONS: "email_verifications",
82
+ GOALS: "goals",
83
+ HEALTH_SCORES: "health_scores",
84
+ HOLDINGS: "holdings",
85
+ INSTITUTIONS: "institutions",
86
+ INSIGHTS_NOTIFICATION_PROFILES: "insight_notification_profiles",
87
+ LOCALIZED_COPY: "localized_copies",
88
+ LOCALIZED_CONTENT: "localized_content",
89
+ MEMBERS: "members",
90
+ MERCHANTS: "merchants",
91
+ MERCHANT_BUDGETS: "merchant_budgets",
92
+ MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
93
+ MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
94
+ OFFERS: "offers",
95
+ NOTIFICATION_PROFILES: "notification_profiles",
96
+ NOTIFICATIONS: "notifications",
97
+ PHONE_VERIFICATIONS: "sms_verification",
98
+ PULSE_COMMUNICATIONS: "pulse_communications",
99
+ REPEATING_TRANSACTIONS: "repeating_transactions",
100
+ RETIREMENT_GOALS: "retirement_goals",
101
+ RETIREMENT_GOAL_ACCOUNTS: "retirement_goal_accounts",
102
+ SCHEDULED_PAYMENTS: "scheduled_payments",
103
+ SPENDING_PLANS: "spending_plans",
104
+ SUPPORT_TICKETS: "support_tickets",
105
+ TAGGINGS: "taggings",
106
+ TAGS: "tags",
107
+ TRANSACTION_RULES: "transaction_rules",
108
+ TRANSACTIONS: "transactions",
109
+ USER: "user",
110
+ USER_COMMUNICATION_PROFILE: "user_communication_profile",
111
+ USER_FEATURES: "user_features",
112
+ USER_PROFILES: "user_profiles",
113
+ WIDGET_URLS: "widget_urls"
114
+ };
117
115
  export {
118
- E as A,
116
+ h as A,
119
117
  _ as F
120
118
  };
@@ -1,4 +1,4 @@
1
- import { F as c, A as s } from "./Fetch-B6tMJC1r.mjs";
1
+ import { F as c, A as s } from "./ApiEndpoints-C5IA97i7.mjs";
2
2
  class i {
3
3
  fetchInstance;
4
4
  constructor(t, e, n) {
@@ -1,5 +1,5 @@
1
1
  import { makeAutoObservable as c, runInAction as r } from "mobx";
2
- import { B as l } from "./BeatApi-EFHXULDx.mjs";
2
+ import { B as l } from "./BeatApi-C6pBa0Rb.mjs";
3
3
  function d(t, e, s, i = "asc") {
4
4
  const a = i === "desc" ? -1 : 1;
5
5
  return [...t, ...e].sort((_, n) => _[s] < n[s] ? -1 * a : _[s] > n[s] ? 1 * a : 0);