@mx-cartographer/experiences 8.1.10 → 8.2.0-alpha.bb0

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 (246) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-CMjOp7S2.mjs → Account-BTOmbrEK.mjs} +5 -5
  3. package/dist/{Account-BIKn4XEZ.mjs → Account-DC2d-cjn.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-IDZ6GTT0.mjs} +10 -10
  5. package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-BRAl-Hro.mjs} +6 -6
  6. package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-B8koowMf.mjs} +7 -7
  7. package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-Bc-SndzX.mjs} +1 -1
  8. package/dist/{Analytics-CxK7O19c.mjs → Analytics-vgPYa2Zt.mjs} +1 -1
  9. package/dist/AnalyticsApi-DwgSyZ6m.mjs +102 -0
  10. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  11. package/dist/BudgetUtil-CGchXaek.mjs +74 -0
  12. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  13. package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-nHEBR24E.mjs} +2 -2
  14. package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
  15. package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
  16. package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
  17. package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
  18. package/dist/CurrencyDialog-C7r7JqVu.mjs +371 -0
  19. package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-BUd8mAcE.mjs} +15 -16
  20. package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-Dd3NxFYY.mjs} +1 -1
  21. package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-BSktnUw6.mjs} +6 -7
  22. package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bdm-ZxFw.mjs} +1 -1
  23. package/dist/DebtUtils-DPn1cXKG.mjs +153 -0
  24. package/dist/EmbeddedCard-CAY_HJjE.mjs +856 -0
  25. package/dist/Error-Dogaw2jO.mjs +84 -0
  26. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  27. package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-DzeJOb_g.mjs} +6 -5
  28. package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
  29. package/dist/GlobalCopyApi-C75qVBk6.mjs +30 -0
  30. package/dist/GoalsUtil-B-Z6fq_t.mjs +107 -0
  31. package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
  32. package/dist/{Help-C_CM4gpK.mjs → Help-HoxJgoVt.mjs} +68 -67
  33. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  34. package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-DNynWPGz.mjs} +2 -2
  35. package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
  36. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  37. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  38. package/dist/Localization-Li21_krp.mjs +37 -0
  39. package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-C_FjST7B.mjs} +24 -24
  40. package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
  41. package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
  42. package/dist/NetWorthUtils-CyVz9bUn.mjs +95 -0
  43. package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-B8pH9TOv.mjs} +13 -13
  44. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  45. package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting-Dnk0YyfZ.mjs} +1 -1
  46. package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-BEBuqeS1.mjs} +4 -4
  47. package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-eQb1AS5x.mjs} +9 -9
  48. package/dist/RecurringTransactionsUtil-DbMNqEu_.mjs +253 -0
  49. package/dist/Select-BZRUpOib.mjs +51 -0
  50. package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
  51. package/dist/Sizes-DISGrlUg.mjs +6 -0
  52. package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-CktOElG1.mjs} +6 -6
  53. package/dist/{SpendingLegend-DLElSvH0.mjs → SpendingLegend-CM5L_1Ka.mjs} +4 -4
  54. package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-BP-sFltN.mjs} +33 -33
  55. package/dist/TransactionUtils-CvJW9wDu.mjs +234 -0
  56. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  57. package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-DWOpU5L8.mjs} +28 -30
  58. package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-CAgbD0ZS.mjs} +3 -3
  59. package/dist/accounts/hooks/useUiStore.d.ts +6 -1
  60. package/dist/accounts/index.d.ts +0 -1
  61. package/dist/accounts/index.es.js +52 -54
  62. package/dist/analytics/index.es.js +2 -2
  63. package/dist/budgets/index.es.js +18 -18
  64. package/dist/cashflow/context/hooks.d.ts +15 -1
  65. package/dist/cashflow/index.d.ts +0 -1
  66. package/dist/cashflow/index.es.js +28 -31
  67. package/dist/categories/context/hooks.d.ts +19 -1
  68. package/dist/categories/index.d.ts +0 -1
  69. package/dist/categories/index.es.js +4 -6
  70. package/dist/common/constants/ScheduledPayment.d.ts +1 -1
  71. package/dist/common/constants/index.d.ts +0 -3
  72. package/dist/common/context/GlobalDataProvider.d.ts +1 -1
  73. package/dist/common/context/hooks.d.ts +21 -21
  74. package/dist/common/index.d.ts +0 -1
  75. package/dist/common/index.es.js +203 -961
  76. package/dist/common/utils/AccountFilter.d.ts +1 -1
  77. package/dist/common/utils/index.d.ts +0 -4
  78. package/dist/{common → core}/constants/DefaultConfig.d.ts +1 -1
  79. package/dist/core/constants/Transaction.d.ts +10 -0
  80. package/dist/core/constants/index.d.ts +2 -0
  81. package/dist/core/index.d.ts +1 -1
  82. package/dist/core/index.es.js +3060 -88
  83. package/dist/{accounts → core}/stores/AccountStore.d.ts +14 -4
  84. package/dist/{analytics → core}/stores/AnalyticsStore.d.ts +1 -1
  85. package/dist/{common → core}/stores/AppDataStore.d.ts +4 -5
  86. package/dist/{insights/store → core/stores}/BeatStore.d.ts +3 -3
  87. package/dist/{budgets/store → core/stores}/BudgetsStore.d.ts +3 -4
  88. package/dist/{cashflow/stores/UiStore.d.ts → core/stores/CashflowStore.d.ts} +10 -2
  89. package/dist/{categories → core}/stores/CategoryStore.d.ts +24 -4
  90. package/dist/{common → core}/stores/ConnectStore.d.ts +2 -2
  91. package/dist/core/stores/DebtsStore.d.ts +22 -0
  92. package/dist/{finstrong → core}/stores/FinstrongStore.d.ts +4 -4
  93. package/dist/{common → core}/stores/GlobalCopyStore.d.ts +2 -2
  94. package/dist/{common → core}/stores/GlobalStore.d.ts +2 -25
  95. package/dist/{common → core}/stores/GlobalUiStore.d.ts +3 -3
  96. package/dist/{goals → core}/stores/GoalStore.d.ts +3 -3
  97. package/dist/{help/store → core/stores}/HelpStore.d.ts +4 -6
  98. package/dist/{investments → core}/stores/HoldingStore.d.ts +4 -4
  99. package/dist/{merchants → core}/stores/MerchantStore.d.ts +3 -3
  100. package/dist/{networth → core}/stores/NetWorthStore.d.ts +3 -4
  101. package/dist/{notifications → core}/stores/NotificationStore.d.ts +3 -3
  102. package/dist/{recurringtransactions → core}/stores/RecurringTransactionsStore.d.ts +3 -3
  103. package/dist/{settings → core}/stores/SettingsStore.d.ts +4 -5
  104. package/dist/{transactions → core}/stores/TransactionStore.d.ts +27 -6
  105. package/dist/{trends → core}/stores/TrendsStore.d.ts +11 -5
  106. package/dist/{common → core}/stores/UserStore.d.ts +2 -2
  107. package/dist/core/stores/index.d.ts +24 -0
  108. package/dist/{networth → core}/types/NetWorth.d.ts +1 -10
  109. package/dist/core/types/Offer.d.ts +32 -0
  110. package/dist/core/types/index.d.ts +3 -1
  111. package/dist/{accounts/utils/Accounts.d.ts → core/utils/AccountUtils.d.ts} +1 -1
  112. package/dist/{microinsights/utils/beatUtils.d.ts → core/utils/BeatUtils.d.ts} +1 -1
  113. package/dist/{budgets → core}/utils/BudgetUtil.d.ts +2 -2
  114. package/dist/{categories/util → core/utils}/CategoryUtil.d.ts +6 -1
  115. package/dist/core/utils/DebtUtils.d.ts +31 -0
  116. package/dist/core/utils/FinstrongUtils.d.ts +7 -0
  117. package/dist/{goals/util → core/utils}/GoalsUtil.d.ts +1 -1
  118. package/dist/core/utils/HelpUtil.d.ts +3 -0
  119. package/dist/{investments/util → core/utils}/InvestmentUtil.d.ts +2 -2
  120. package/dist/core/utils/Localization.d.ts +2 -0
  121. package/dist/{networth → core}/utils/NetWorthUtils.d.ts +1 -2
  122. package/dist/{notifications → core}/utils/NotificationUtils.d.ts +1 -1
  123. package/dist/{common → core}/utils/NumberFormatting.d.ts +1 -1
  124. package/dist/{recurringtransactions/util/RecurringTransactions.d.ts → core/utils/RecurringTransactionsUtil.d.ts} +1 -1
  125. package/dist/{settings/util/Notifications.d.ts → core/utils/SettingsUtil.d.ts} +1 -1
  126. package/dist/{transactions/utils/buildDetailedTransactions.d.ts → core/utils/TransactionUtils.d.ts} +12 -2
  127. package/dist/{trends/utils/TrendsData.d.ts → core/utils/TrendsUtil.d.ts} +1 -1
  128. package/dist/{common/utils/User.d.ts → core/utils/UserUtils.d.ts} +1 -1
  129. package/dist/core/utils/index.d.ts +1 -1
  130. package/dist/dashboard/index.es.js +4 -4
  131. package/dist/debts/components/DebtsChart.d.ts +1 -1
  132. package/dist/debts/components/DebtsTable.d.ts +1 -1
  133. package/dist/debts/components/SnowballCard.d.ts +1 -1
  134. package/dist/debts/components/actions/InterestRateAction.d.ts +1 -1
  135. package/dist/debts/components/actions/MonthlyPaymentAction.d.ts +1 -1
  136. package/dist/debts/components/actions/OriginalBalanceAction.d.ts +1 -1
  137. package/dist/debts/hooks/useDebtsUiStore.d.ts +1 -1
  138. package/dist/debts/index.d.ts +0 -1
  139. package/dist/debts/index.es.js +568 -691
  140. package/dist/debts/utils/DebtsTable.d.ts +1 -1
  141. package/dist/debts/utils/SnowballCard.d.ts +2 -2
  142. package/dist/finstrong/index.d.ts +0 -1
  143. package/dist/finstrong/index.es.js +1565 -1342
  144. package/dist/finstrong/util/finstrongUtils.d.ts +1 -7
  145. package/dist/goals/components/addgoal/AddGoalListItem.d.ts +1 -1
  146. package/dist/goals/index.d.ts +0 -1
  147. package/dist/goals/index.es.js +71 -73
  148. package/dist/help/index.es.js +4 -4
  149. package/dist/help/utils/index.d.ts +0 -1
  150. package/dist/{hooks-RzCoiTd0.mjs → hooks-BaO_gOI6.mjs} +17 -17
  151. package/dist/insights/index.d.ts +0 -1
  152. package/dist/insights/index.es.js +52 -54
  153. package/dist/investments/components/AnalysisDetails.d.ts +1 -1
  154. package/dist/investments/index.es.js +6 -6
  155. package/dist/merchants/index.d.ts +0 -1
  156. package/dist/merchants/index.es.js +12 -14
  157. package/dist/microinsights/index.es.js +1 -1
  158. package/dist/microinsights/interfaces.d.ts +1 -33
  159. package/dist/networth/components/AssetsLiabilitiesDetail.d.ts +1 -1
  160. package/dist/networth/components/GainsLossesDetail.d.ts +1 -1
  161. package/dist/networth/components/NetWorthChange.d.ts +1 -1
  162. package/dist/networth/components/NetWorthListItem.d.ts +1 -1
  163. package/dist/networth/components/NetWorthSummary.d.ts +1 -1
  164. package/dist/networth/index.d.ts +0 -4
  165. package/dist/networth/index.es.js +232 -237
  166. package/dist/notifications/index.d.ts +0 -2
  167. package/dist/notifications/index.es.js +23 -26
  168. package/dist/recurringtransactions/index.d.ts +0 -1
  169. package/dist/recurringtransactions/index.es.js +67 -71
  170. package/dist/settings/index.d.ts +0 -1
  171. package/dist/settings/index.es.js +11 -13
  172. package/dist/spending/index.es.js +10 -10
  173. package/dist/transactions/context/hooks.d.ts +1 -1
  174. package/dist/transactions/index.d.ts +0 -4
  175. package/dist/transactions/index.es.js +102 -109
  176. package/dist/trends/index.d.ts +0 -1
  177. package/dist/trends/index.es.js +67 -68
  178. package/dist/trends/utils/shared.d.ts +1 -1
  179. package/dist/{useAccountDisplayName-pliH6hz0.mjs → useAccountDisplayName-CFa_MrS6.mjs} +1 -1
  180. package/dist/{useInsightsEnabled-CzJoG8xi.mjs → useInsightsEnabled-DaNLPmUU.mjs} +1 -1
  181. package/dist/{useWidgetLoadTimer-BZjr-BiE.mjs → useWidgetLoadTimer-CJb-RELP.mjs} +1 -1
  182. package/package.json +1 -1
  183. package/dist/AccountApi-WEM2M9tg.mjs +0 -19
  184. package/dist/AccountStore-CGrjC2Oe.mjs +0 -253
  185. package/dist/ApiEndpoints-C5IA97i7.mjs +0 -118
  186. package/dist/BeatApi-C6pBa0Rb.mjs +0 -21
  187. package/dist/BeatStore-C7-PIhpB.mjs +0 -163
  188. package/dist/BudgetUtil-H9igoNVm.mjs +0 -479
  189. package/dist/CashflowStore-BEi92kJg.mjs +0 -91
  190. package/dist/CategoryApi-CogDFScz.mjs +0 -29
  191. package/dist/CategoryStore-CA4NTaKH.mjs +0 -160
  192. package/dist/CategoryUtil-BJOHgYKS.mjs +0 -80
  193. package/dist/DebtsStore-BJlC2-yO.mjs +0 -63
  194. package/dist/EmbeddedCard-B9JoBaan.mjs +0 -811
  195. package/dist/FinstrongApi-FpmsS_sy.mjs +0 -19
  196. package/dist/FinstrongStore-DYawCv1d.mjs +0 -435
  197. package/dist/GlobalCopyApi-DkS-2Zf_.mjs +0 -41
  198. package/dist/Goal-MFBpoOIC.mjs +0 -29
  199. package/dist/GoalStore-BBAEbf43.mjs +0 -395
  200. package/dist/Localization-C_HZg9tJ.mjs +0 -15
  201. package/dist/Localization-CkQ49EKr.mjs +0 -26
  202. package/dist/MerchantApi-D8ahYxiG.mjs +0 -15
  203. package/dist/MerchantStore-CyZTv-BM.mjs +0 -26
  204. package/dist/NetWorthStore-BY-B_hxy.mjs +0 -168
  205. package/dist/NotificationApi-DF0obHoR.mjs +0 -20
  206. package/dist/NotificationStore-DlAM5Ue0.mjs +0 -69
  207. package/dist/RecurringTransactions-DCt94TN4.mjs +0 -297
  208. package/dist/RecurringTransactionsStore-CFJYC7lI.mjs +0 -264
  209. package/dist/RepeatingTransaction-D2gmBTd0.mjs +0 -7
  210. package/dist/RepeatingTransactionsApi-BNZgZPLs.mjs +0 -17
  211. package/dist/SettingsApi-D9d7SLhB.mjs +0 -22
  212. package/dist/SettingsStore-BcbuKfFO.mjs +0 -250
  213. package/dist/Transaction-Cn5_iFm0.mjs +0 -5
  214. package/dist/TransactionApi-CLG2eSNe.mjs +0 -86
  215. package/dist/TransactionStore-amPYxHnA.mjs +0 -710
  216. package/dist/TrendsStore-bYjIGqyR.mjs +0 -183
  217. package/dist/WidgetApi-C0BA2cFX.mjs +0 -102
  218. package/dist/accounts/stores/UiStore.d.ts +0 -10
  219. package/dist/accounts/utils/index.d.ts +0 -1
  220. package/dist/cashflow/stores/CashflowStore.d.ts +0 -8
  221. package/dist/categories/stores/UiStore.d.ts +0 -20
  222. package/dist/common/stores/index.d.ts +0 -3
  223. package/dist/common/utils/Categories.d.ts +0 -6
  224. package/dist/common/utils/Localization.d.ts +0 -3
  225. package/dist/debts/store/DebtsStore.d.ts +0 -10
  226. package/dist/debts/store/DebtsUiStore.d.ts +0 -13
  227. package/dist/debts/utils/DebtStore.d.ts +0 -4
  228. package/dist/debts/utils/DebtsWidget.d.ts +0 -20
  229. package/dist/debts/utils/shared.d.ts +0 -12
  230. package/dist/exportTransactionsToCSV-CSvbZrvL.mjs +0 -133
  231. package/dist/help/constants/index.d.ts +0 -1
  232. package/dist/help/utils/getAccessibleHelpCategories.d.ts +0 -3
  233. package/dist/transactions/analytics.d.ts +0 -3
  234. package/dist/transactions/constants/Transaction.d.ts +0 -2
  235. package/dist/transactions/constants/TransactionsTable.d.ts +0 -17
  236. package/dist/transactions/stores/UiStore.d.ts +0 -25
  237. package/dist/transactions/utils/exportTransactionsToCSV.d.ts +0 -9
  238. package/dist/transactions/utils/sortAndFilterTransactions.d.ts +0 -3
  239. /package/dist/{common → core}/constants/Category.d.ts +0 -0
  240. /package/dist/{common → core}/constants/DateFormats.d.ts +0 -0
  241. /package/dist/{debts/constants/index.d.ts → core/constants/Debts.d.ts} +0 -0
  242. /package/dist/{help → core}/constants/Help.d.ts +0 -0
  243. /package/dist/{investments/constants/index.d.ts → core/constants/Investments.d.ts} +0 -0
  244. /package/dist/{common → core}/constants/Numbers.d.ts +0 -0
  245. /package/dist/{common → core}/constants/Table.d.ts +0 -0
  246. /package/dist/{common → core}/utils/DateUtil.d.ts +0 -0
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [8.2.0] - 05-05-2026
2
+
3
+ - **UPDATED** - Moved all MobX stores into src/core/stores
4
+
1
5
  ## [8.1.10] - 05-05-2026
2
6
 
3
7
  - **UPDATED** - Error component UI and no network fallback
@@ -109,10 +109,10 @@ export {
109
109
  U as S,
110
110
  M as a,
111
111
  G as b,
112
- C as c,
113
- N as d,
114
- A as e,
115
- H as f,
116
- R as g,
112
+ A as c,
113
+ H as d,
114
+ C as e,
115
+ R as f,
116
+ N as g,
117
117
  T as h
118
118
  };
@@ -1,4 +1,4 @@
1
- import { A as C } from "./Account-CMjOp7S2.mjs";
1
+ import { A as C } from "./Account-BTOmbrEK.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -3,16 +3,16 @@ import { observer as _ } from "mobx-react-lite";
3
3
  import s from "@mui/material/Stack";
4
4
  import { H3 as x, InstitutionLogo as D, Text as d, H2 as N } from "@mxenabled/mxui";
5
5
  import p from "react";
6
- import { G as P, d as f, l as G, f as O, a as R, u as v } from "./hooks-RzCoiTd0.mjs";
7
- import { g as w } from "./AccountFields-BWmpVsS3.mjs";
8
- import { A as i } from "./Account-CMjOp7S2.mjs";
6
+ import { G as P, d as f, l as G, f as O, a as R, u as v } from "./hooks-BaO_gOI6.mjs";
7
+ import { g as w } from "./AccountFields-BRAl-Hro.mjs";
8
+ import { A as i } from "./Account-BTOmbrEK.mjs";
9
9
  import L from "@mui/material/Card";
10
10
  import H from "@mui/material/CardContent";
11
11
  import M from "@mui/material/CardHeader";
12
12
  import { L as U } from "./Loader-CxeBwuPG.mjs";
13
- import { I as Y, P as j, S as z } from "./Account-BIKn4XEZ.mjs";
14
- import { u as k } from "./useAccountDisplayName-pliH6hz0.mjs";
15
- import { f as B } from "./NumberFormatting-CyrvFgfd.mjs";
13
+ import { f as Y } from "./NumberFormatting-Dnk0YyfZ.mjs";
14
+ import { I as j, P as z, S as k } from "./Account-DC2d-cjn.mjs";
15
+ import { u as B } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
16
  const C = () => {
17
17
  if (!p.useContext(P))
18
18
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
@@ -59,10 +59,10 @@ const C = () => {
59
59
  const { institutions: c } = f(), { selectedAccount: n } = C(), { config: l } = R(), { accounts: a } = v(), { firstSubtitle: u, firstValue: m, hasAvailableBalance: b, secondSubtitle: h, secondValue: A } = w(n, a, l.display_available_balance_in_accounts), y = c.find(
60
60
  (T) => T.guid === n?.institution_guid
61
61
  ), g = [
62
- ...Y,
63
62
  ...j,
64
- ...z
65
- ].includes(n.account_type), E = k(n), { title: S, description: I } = F(n.account_type, a);
63
+ ...z,
64
+ ...k
65
+ ].includes(n.account_type), E = B(n), { title: S, description: I } = F(n.account_type, a);
66
66
  return /* @__PURE__ */ r(s, { bgcolor: "background.default", p: 24, children: [
67
67
  /* @__PURE__ */ r(s, { gap: 12, children: [
68
68
  /* @__PURE__ */ t(
@@ -79,7 +79,7 @@ const C = () => {
79
79
  /* @__PURE__ */ t(N, { children: E }),
80
80
  /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
81
81
  /* @__PURE__ */ t(d, { bold: b, variant: "body1", children: u }),
82
- /* @__PURE__ */ t(d, { bold: !0, variant: "body1", children: B(m, "0,0.00") })
82
+ /* @__PURE__ */ t(d, { bold: !0, variant: "body1", children: Y(m, "0,0.00") })
83
83
  ] }),
84
84
  /* @__PURE__ */ r(s, { direction: "row", justifyContent: "space-between", children: [
85
85
  /* @__PURE__ */ t(d, { variant: "body2", children: h }),
@@ -1,12 +1,12 @@
1
1
  import { jsx as p } from "react/jsx-runtime";
2
2
  import { Text as v, Icon as b } from "@mxenabled/mxui";
3
- import { A as d, a as h, P as F, b as T } from "./Account-CMjOp7S2.mjs";
4
- import { i as A, u as D, a as g, b as O, c as C } from "./Accounts-DX3xJE97.mjs";
3
+ import { A as d, a as h, P as F, b as T } from "./Account-BTOmbrEK.mjs";
4
+ import { i as A, u as D, a as g, b as O, c as C } from "./AccountUtils-Bc-SndzX.mjs";
5
5
  import { F as m } from "./Accounts-CseLC3lL.mjs";
6
- import { f as N } from "./DateUtil-D0TO0DaZ.mjs";
7
- import { b as i } from "./Localization-CkQ49EKr.mjs";
8
- import { f, D as c } from "./DateFormats-CaOj_4eI.mjs";
9
- import { f as s, i as o, a as S, b as I } from "./NumberFormatting-CyrvFgfd.mjs";
6
+ import { f as N } from "./DateUtil-Bdm-ZxFw.mjs";
7
+ import { f as s, i as o, a as S, b as I } from "./NumberFormatting-Dnk0YyfZ.mjs";
8
+ import { b as i } from "./Localization-Li21_krp.mjs";
9
+ import { f, D as c } from "./DateFormats-BSktnUw6.mjs";
10
10
  const Y = (l, e) => {
11
11
  const n = [
12
12
  {
@@ -10,11 +10,11 @@ import L from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as r } from "@mxenabled/mxui";
11
11
  import { Error as j } from "@mxenabled/mx-icons";
12
12
  import { I as T } from "./IconBacking-DgT8DCeh.mjs";
13
- import { g as $ } from "./AccountFields-BWmpVsS3.mjs";
14
- import { u as k } from "./useAccountDisplayName-pliH6hz0.mjs";
15
- import { a as w, u as E } from "./hooks-RzCoiTd0.mjs";
16
- import { C as d } from "./Account-CMjOp7S2.mjs";
17
- import { f as M } from "./NumberFormatting-CyrvFgfd.mjs";
13
+ import { g as $ } from "./AccountFields-BRAl-Hro.mjs";
14
+ import { f as k } from "./NumberFormatting-Dnk0YyfZ.mjs";
15
+ import { u as w } from "./useAccountDisplayName-CFa_MrS6.mjs";
16
+ import { a as E, u as M } from "./hooks-BaO_gOI6.mjs";
17
+ import { C as d } from "./Account-BTOmbrEK.mjs";
18
18
  const z = {
19
19
  gridRow: 1,
20
20
  gridColumn: 1,
@@ -25,7 +25,7 @@ const z = {
25
25
  listItemProps: s,
26
26
  shouldShowConnectionStatus: p = !1
27
27
  }) => {
28
- const u = L(), f = k(t), { config: g } = w(), { accounts: i } = E(), { firstSubtitle: h, firstValue: x, secondSubtitle: b, secondValue: y } = $(
28
+ const u = L(), f = w(t), { config: g } = E(), { accounts: i } = M(), { firstSubtitle: h, firstValue: x, secondSubtitle: b, secondValue: y } = $(
29
29
  t,
30
30
  i,
31
31
  g.display_available_balance_in_accounts
@@ -67,7 +67,7 @@ const z = {
67
67
  secondary: /* @__PURE__ */ o(c, { children: [
68
68
  /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
69
69
  /* @__PURE__ */ e(r, { variant: "caption", children: h }),
70
- /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: M(x, "0,0.00") })
70
+ /* @__PURE__ */ e(r, { bold: !0, variant: "body2", children: k(x, "0,0.00") })
71
71
  ] }),
72
72
  /* @__PURE__ */ o(m, { sx: { alignItems: "center", display: "flex", justifyContent: "space-between" }, children: [
73
73
  /* @__PURE__ */ e(r, { variant: "caption", children: b }),
@@ -1,4 +1,4 @@
1
- import { A as e, C as u, E as p, c as y, M as d } from "./Account-CMjOp7S2.mjs";
1
+ import { A as e, C as u, E as p, e as y, M as d } from "./Account-BTOmbrEK.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);
@@ -1,6 +1,6 @@
1
1
  import u from "react";
2
2
  import { getUnixTime as r } from "date-fns/getUnixTime";
3
- import { A as l } from "./GlobalCopyApi-DkS-2Zf_.mjs";
3
+ import { A as l } from "./AnalyticsApi-DwgSyZ6m.mjs";
4
4
  const A = (s, i) => {
5
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
6
  return u.useMemo(() => (e) => {
@@ -0,0 +1,102 @@
1
+ import h from "bowser";
2
+ import { g as a } from "./Localization-Li21_krp.mjs";
3
+ import { A as i } from "./ApiEndpoints-DXwIYNUV.mjs";
4
+ class c {
5
+ endpoint = "/";
6
+ headers;
7
+ onError;
8
+ constructor(s, n, t, r) {
9
+ this.endpoint = s;
10
+ const e = {
11
+ Accept: "application/json",
12
+ "Accept-Language": a(),
13
+ "Content-Type": "application/json",
14
+ "MD-Session-Token": n
15
+ };
16
+ this.headers = t || e, this.onError = r;
17
+ }
18
+ get = async (s) => {
19
+ const n = {
20
+ method: "GET",
21
+ headers: this.headers
22
+ };
23
+ return fetch(`${this.endpoint}${s}`, n).then((t) => {
24
+ if (t.ok)
25
+ return t.text();
26
+ throw t;
27
+ }).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
28
+ throw this.onError?.(t, void 0, "ApiGetRequestError"), t;
29
+ });
30
+ };
31
+ post = async (s, n) => {
32
+ const t = n ? JSON.stringify(n) : void 0, r = {
33
+ method: "POST",
34
+ headers: this.headers,
35
+ body: t
36
+ };
37
+ return fetch(`${this.endpoint}${s}`, r).then((e) => {
38
+ if (!e.ok)
39
+ throw e;
40
+ return e.text();
41
+ }).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e).catch((e) => {
42
+ throw e;
43
+ });
44
+ };
45
+ put = async (s, n) => {
46
+ const t = JSON.stringify(n), r = {
47
+ method: "PUT",
48
+ headers: this.headers,
49
+ body: t
50
+ };
51
+ return fetch(`${this.endpoint}${s}`, r).then((e) => {
52
+ if (e.ok)
53
+ return e.text();
54
+ throw new Error(`${e.status}`);
55
+ }).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e).catch((e) => {
56
+ throw window?.app?.config?.type === "pulse" && this.onError?.(e.message), e.message;
57
+ });
58
+ };
59
+ delete = async (s) => {
60
+ const n = {
61
+ method: "DELETE",
62
+ headers: this.headers
63
+ };
64
+ return fetch(`${this.endpoint}${s}`, n).then((t) => t.ok ? t.text() : t.text().then((r) => {
65
+ throw new Error(r);
66
+ })).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
67
+ throw t;
68
+ });
69
+ };
70
+ }
71
+ class f {
72
+ fetchInstance;
73
+ constructor(s, n, t) {
74
+ this.fetchInstance = new c(s, n, void 0, t);
75
+ }
76
+ initializeAnalyticsSession = async (s, n) => {
77
+ const t = h.getParser(window.navigator.userAgent), { analytics_session: r } = await this.fetchInstance.post(i.ANALYTICS_SESSION, {
78
+ browser_name: t.getBrowserName() || "Unknown",
79
+ browser_version: t.getBrowserVersion() || "0.0.0",
80
+ is_first_visit: !1,
81
+ product_name: "Individual Widget",
82
+ product_version: s
83
+ });
84
+ return r ? (this.fetchInstance.post(i.ANALYTICS_FEATURE_VISITS, {
85
+ feature_visit: {
86
+ analytics_session_guid: r.guid,
87
+ feature_name: n || "Experiences",
88
+ is_first_visit: r.is_first_visit
89
+ }
90
+ }), { analytics_session: r }) : { analytics_session: null };
91
+ };
92
+ sendAnalyticEvent = async (s) => this.fetchInstance.post(i.ANALYTICS_EVENTS, s).catch((n) => {
93
+ throw n;
94
+ });
95
+ sendAnalyticsPageview = async (s) => this.fetchInstance.post(i.ANALYTICS_PAGEVIEWS, s).catch((n) => {
96
+ throw n;
97
+ });
98
+ }
99
+ export {
100
+ f as A,
101
+ c as F
102
+ };
@@ -0,0 +1,49 @@
1
+ const _ = {
2
+ ACCOUNTS: "accounts",
3
+ ANALYTICS_EVENTS: "analytics_events",
4
+ ANALYTICS_FEATURE_VISITS: "feature_visits",
5
+ ANALYTICS_PAGEVIEWS: "analytics_pageviews",
6
+ ANALYTICS_SESSION: "analytics_sessions",
7
+ APP_DATA: "raja/data?type=master",
8
+ BEATS: "beats",
9
+ BUDGETS: "budgets",
10
+ CATEGORIES: "categories",
11
+ DATE_RANGE_CATEGORY_TOTALS: "date_range_category_totals",
12
+ DEVICES: "devices",
13
+ EMAIL_VERIFICATIONS: "email_verifications",
14
+ GOALS: "goals",
15
+ HEALTH_SCORES: "health_scores",
16
+ HOLDINGS: "holdings",
17
+ INSTITUTIONS: "institutions",
18
+ INSIGHTS_NOTIFICATION_PROFILES: "insight_notification_profiles",
19
+ LOCALIZED_COPY: "localized_copies",
20
+ LOCALIZED_CONTENT: "localized_content",
21
+ MEMBERS: "members",
22
+ MERCHANTS: "merchants",
23
+ MERCHANT_BUDGETS: "merchant_budgets",
24
+ MONTHLY_CASH_FLOW_PROFILE: "monthly_cash_flow_profile",
25
+ MONTHLY_CATEGORY_TOTALS: "monthly_category_totals",
26
+ OFFERS: "offers",
27
+ NOTIFICATION_PROFILES: "notification_profiles",
28
+ NOTIFICATIONS: "notifications",
29
+ PHONE_VERIFICATIONS: "sms_verification",
30
+ PULSE_COMMUNICATIONS: "pulse_communications",
31
+ REPEATING_TRANSACTIONS: "repeating_transactions",
32
+ RETIREMENT_GOALS: "retirement_goals",
33
+ RETIREMENT_GOAL_ACCOUNTS: "retirement_goal_accounts",
34
+ SCHEDULED_PAYMENTS: "scheduled_payments",
35
+ SPENDING_PLANS: "spending_plans",
36
+ SUPPORT_TICKETS: "support_tickets",
37
+ TAGGINGS: "taggings",
38
+ TAGS: "tags",
39
+ TRANSACTION_RULES: "transaction_rules",
40
+ TRANSACTIONS: "transactions",
41
+ USER: "user",
42
+ USER_COMMUNICATION_PROFILE: "user_communication_profile",
43
+ USER_FEATURES: "user_features",
44
+ USER_PROFILES: "user_profiles",
45
+ WIDGET_URLS: "widget_urls"
46
+ };
47
+ export {
48
+ _ as A
49
+ };
@@ -0,0 +1,74 @@
1
+ import { f as _, a as y } from "./TransactionUtils-CvJW9wDu.mjs";
2
+ import { f as d } from "./NumberFormatting-Dnk0YyfZ.mjs";
3
+ import { b as f } from "./Localization-Li21_krp.mjs";
4
+ const w = (n, t) => !!n.find((e) => e.feature_name === t)?.is_enabled, l = (n, t) => !n && !t ? 0 : !n && t ? 101 : t / n * 100, p = (n, t) => {
5
+ const e = {
6
+ background: t.palette.success.main,
7
+ description: n <= 100 ? t.palette.text.secondary : t.palette.error.main,
8
+ text: t.palette.common.white,
9
+ mercury: t.palette.success.lighter
10
+ };
11
+ return n > 100 ? (e.background = t.palette.error.main, e.mercury = t.palette.error.lighter) : n > 80 && (e.background = t.palette.warning.main, e.text = t.palette.grey[900], e.mercury = t.palette.warning.lighter), e;
12
+ }, D = (n) => n.map((e) => {
13
+ const r = e.transaction_total;
14
+ return e.amount - r;
15
+ }).reduce((e, r) => e + r, 0), M = (n, t, e, r) => {
16
+ const a = [];
17
+ for (const o of n) {
18
+ const s = _(t, o.category_guid);
19
+ if (!s) continue;
20
+ const i = s.totalAmount, u = l(o.amount, i), c = o.amount - i;
21
+ a.push({
22
+ ...o,
23
+ budgetColors: p(u, r),
24
+ category: s,
25
+ description: f(
26
+ c < 0 ? e.budget_remaining_over : e.budget_remaining_left,
27
+ d(Math.abs(c), "0,0")
28
+ ),
29
+ percentage: u,
30
+ subBudgets: [],
31
+ transaction_total: i
32
+ });
33
+ }
34
+ for (const o of n) {
35
+ const s = y(t, o.category_guid);
36
+ if (!s) continue;
37
+ const i = s.currentAmount, u = a.find((b) => b.category_guid === s.parent_guid);
38
+ if (!u) continue;
39
+ const c = o.amount - i, g = l(o.amount, i);
40
+ u && u.subBudgets.push({
41
+ ...o,
42
+ budgetColors: p(g, r),
43
+ category: s,
44
+ description: f(
45
+ c < 0 ? e.budget_remaining_over : e.budget_remaining_left,
46
+ d(Math.abs(c), "0,0")
47
+ ),
48
+ percentage: g,
49
+ subBudgets: [],
50
+ transaction_total: i
51
+ });
52
+ }
53
+ return a;
54
+ }, m = (n, t) => n.find((e) => e.guid === t), k = (n, t, e) => {
55
+ const r = m(n, e);
56
+ if (r)
57
+ return m(r.subBudgets, t);
58
+ }, v = (n, t) => {
59
+ const e = Math.max(0, t - n), r = t > 0 ? Math.min(100, n / t * 100) : 0;
60
+ let a = "success";
61
+ return r >= 100 ? a = "error" : r >= 50 && (a = "warning"), {
62
+ remainingAmount: e,
63
+ spentPercentage: r,
64
+ iconColor: a
65
+ };
66
+ };
67
+ export {
68
+ v as a,
69
+ k as b,
70
+ M as c,
71
+ m as f,
72
+ D as g,
73
+ w as i
74
+ };
@@ -293,9 +293,9 @@ const A = {
293
293
  UNKNOWN: "help"
294
294
  };
295
295
  export {
296
- E as C,
296
+ A as C,
297
297
  e as P,
298
298
  T as a,
299
- A as b,
300
- a as c
299
+ a as b,
300
+ E as c
301
301
  };
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as _ } from "react/jsx-runtime";
2
2
  import { observer as E } from "mobx-react-lite";
3
3
  import p from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, l as f, u as S, g as A, b as B } from "./hooks-RzCoiTd0.mjs";
5
+ import { G as K, l as f, u as S, g as A, b as B } from "./hooks-BaO_gOI6.mjs";
6
6
  import U from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import Y from "@mui/material/Divider";
@@ -15,7 +15,7 @@ import { CheckCircle as M, Edit as j, Delete as X, ExpandMore as z } from "@mxen
15
15
  import { Text as q, TextField as H, CategoryIcon as J } from "@mxenabled/mxui";
16
16
  import Q from "@mui/material/Collapse";
17
17
  import Z from "@mui/material/DialogContent";
18
- import { b as g } from "./Localization-CkQ49EKr.mjs";
18
+ import { b as g } from "./Localization-Li21_krp.mjs";
19
19
  import { D as ee } from "./Dialog-iLlBR8TG.mjs";
20
20
  import te from "@mui/material/Box";
21
21
  import oe from "@mui/material/Chip";
@@ -5,7 +5,7 @@ import s from "@mui/material/CircularProgress";
5
5
  import m from "@mui/material/Stack";
6
6
  import { Text as a } from "@mxenabled/mxui";
7
7
  import { M as t } from "./Accounts-CseLC3lL.mjs";
8
- import { u as p } from "./hooks-RzCoiTd0.mjs";
8
+ import { u as p } from "./hooks-BaO_gOI6.mjs";
9
9
  const l = ({ status: r = t.Loading }) => {
10
10
  const { connect: n } = p();
11
11
  return /* @__PURE__ */ o(
@@ -0,0 +1,54 @@
1
+ import { jsxs as r, jsx as t } from "react/jsx-runtime";
2
+ import n from "react";
3
+ import m from "@mui/material/Button";
4
+ import l from "@mui/material/Card";
5
+ import d from "@mui/material/CardContent";
6
+ import p from "@mui/material/CardHeader";
7
+ import C from "@mui/material/Stack";
8
+ import { AccountBalance as f, ChevronRight as x } from "@mxenabled/mx-icons";
9
+ import { Text as a } from "@mxenabled/mxui";
10
+ import { C as h } from "./ConnectDrawer-DgfsTpyW.mjs";
11
+ const H = ({ description: i, label: e, title: s }) => {
12
+ const [c, o] = n.useState(!1);
13
+ return /* @__PURE__ */ r(n.Fragment, { children: [
14
+ /* @__PURE__ */ r(l, { sx: { m: 24 }, children: [
15
+ /* @__PURE__ */ t(
16
+ p,
17
+ {
18
+ avatar: /* @__PURE__ */ t(f, {}),
19
+ sx: { ".MuiCardHeader-avatar": { mr: 8 } },
20
+ title: /* @__PURE__ */ t(a, { bold: !0, variant: "body1", children: s })
21
+ }
22
+ ),
23
+ /* @__PURE__ */ t(d, { sx: { ":last-child": { pb: 4 }, ml: 28, py: 0 }, children: /* @__PURE__ */ r(C, { alignItems: "flex-start", spacing: 2, children: [
24
+ /* @__PURE__ */ t(a, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "subtitle2", children: i }),
25
+ /* @__PURE__ */ t(
26
+ m,
27
+ {
28
+ endIcon: /* @__PURE__ */ t(x, {}),
29
+ onClick: () => o(!0),
30
+ sx: {
31
+ pl: 0,
32
+ ":hover": {
33
+ bgcolor: "unset"
34
+ }
35
+ },
36
+ variant: "text",
37
+ children: e
38
+ }
39
+ )
40
+ ] }) })
41
+ ] }),
42
+ /* @__PURE__ */ t(
43
+ h,
44
+ {
45
+ onClose: () => o(!1),
46
+ showConnectWidget: c,
47
+ title: e
48
+ }
49
+ )
50
+ ] });
51
+ };
52
+ export {
53
+ H as C
54
+ };
@@ -3,9 +3,9 @@ import s from "react";
3
3
  import { observer as _ } from "mobx-react-lite";
4
4
  import g from "@mui/material/styles/useTheme";
5
5
  import { ConnectWidget as x } from "@mxenabled/web-widget-sdk";
6
- import { b as a, a as c } from "./Connect-CBBTL1HJ.mjs";
6
+ import { b as a, a as c } from "./Connect-Dk6GZEsA.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
- import { d as D, e as L, u as w } from "./hooks-RzCoiTd0.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
9
9
  import { D as y } from "./Drawer-XPaLYjiO.mjs";
10
10
  const I = ({
11
11
  loadWidgetProps: l,
@@ -3,9 +3,9 @@ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as _ } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as b } from "@mxenabled/web-widget-sdk";
6
- import { C as a, a as c } from "./Connect-CBBTL1HJ.mjs";
6
+ import { C as a, a as c } from "./Connect-Dk6GZEsA.mjs";
7
7
  import { M as i } from "./Accounts-CseLC3lL.mjs";
8
- import { d as D, e as L, u as w } from "./hooks-RzCoiTd0.mjs";
8
+ import { d as D, e as L, u as w } from "./hooks-BaO_gOI6.mjs";
9
9
  import { D as x } from "./Drawer-XPaLYjiO.mjs";
10
10
  const I = ({
11
11
  onClose: l,