@mx-cartographer/experiences 8.1.12 → 8.2.0

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-BaJmiJAG.mjs} +4 -4
  3. package/dist/{Account-BIKn4XEZ.mjs → Account-BxHMlV9R.mjs} +1 -1
  4. package/dist/{AccountDetailsHeader-CzefHTWU.mjs → AccountDetailsHeader-CfdnKyJK.mjs} +21 -21
  5. package/dist/{AccountFields-BWmpVsS3.mjs → AccountFields-CAy0x_4i.mjs} +6 -6
  6. package/dist/{AccountListItem-DRDxaRBe.mjs → AccountListItem-BYyeeCf6.mjs} +7 -7
  7. package/dist/{Accounts-DX3xJE97.mjs → AccountUtils-T5_Odvos.mjs} +1 -1
  8. package/dist/{Analytics-CxK7O19c.mjs → Analytics-CkYXKvco.mjs} +1 -1
  9. package/dist/ApiEndpoints-DXwIYNUV.mjs +49 -0
  10. package/dist/BudgetUtil-Bg2AQJpQ.mjs +74 -0
  11. package/dist/{Category-Ccoew_sA.mjs → Category-DEKZGLYe.mjs} +3 -3
  12. package/dist/{CategorySelectorDrawer-hhDdSFHO.mjs → CategorySelectorDrawer-Cu1ohxeM.mjs} +2 -2
  13. package/dist/{Connect-CBBTL1HJ.mjs → Connect-Dk6GZEsA.mjs} +1 -1
  14. package/dist/ConnectCard-Dix8BoV_.mjs +54 -0
  15. package/dist/{ConnectDrawer-DNnuF80E.mjs → ConnectDrawer-DgfsTpyW.mjs} +2 -2
  16. package/dist/{ConnectionsDrawer-DX6d7uwJ.mjs → ConnectionsDrawer-D7IXAza2.mjs} +2 -2
  17. package/dist/CurrencyDialog-d4dL7vA5.mjs +371 -0
  18. package/dist/{CurrencyInput-BMbUVSvz.mjs → CurrencyInput-B59ugxPN.mjs} +15 -16
  19. package/dist/{CurrencyText-oqd6cX3M.mjs → CurrencyText-CCbE6MmF.mjs} +1 -1
  20. package/dist/{DateFormats-CaOj_4eI.mjs → DateFormats-HudZ3Bjs.mjs} +6 -7
  21. package/dist/{DateUtil-D0TO0DaZ.mjs → DateUtil-Bhq59ZVg.mjs} +1 -1
  22. package/dist/DebtUtils-DD3186U-.mjs +153 -0
  23. package/dist/EmbeddedCard-BNl3quCs.mjs +856 -0
  24. package/dist/Error-Dogaw2jO.mjs +84 -0
  25. package/dist/ErrorBoundary-CsdOcnJ9.mjs +23 -0
  26. package/dist/{ExportCsvAction-BDFu6YIe.mjs → ExportCsvAction-hDprC41l.mjs} +6 -5
  27. package/dist/{GlobalAccountFilter-jkFxqPg6.mjs → GlobalAccountFilter-DrhtwPqh.mjs} +1 -1
  28. package/dist/GlobalCopyApi-wcnDUzMV.mjs +128 -0
  29. package/dist/GoalsUtil-C9EnLWvC.mjs +107 -0
  30. package/dist/{Help-C_CM4gpK.mjs → Help-BSQm9o29.mjs} +68 -67
  31. package/dist/{Help-CgpJK03Q.mjs → Help-CkQTjORd.mjs} +6 -27
  32. package/dist/InformationTooltip-4su8bn1e.mjs +41 -0
  33. package/dist/{LineChart-CeZnCZ7j.mjs → LineChart-CejWS_rh.mjs} +2 -2
  34. package/dist/{ListItemAction-CNpknVvo.mjs → ListItemAction-DGjHxNDJ.mjs} +1 -1
  35. package/dist/ListItemRow-kH1rn8Xu.mjs +67 -0
  36. package/dist/ListItemWrapper-B5r-YQQ_.mjs +42 -0
  37. package/dist/Localization-DnoVyBNK.mjs +38 -0
  38. package/dist/{ManageIncome-BX2IqW57.mjs → ManageIncome-DwylSiWs.mjs} +51 -51
  39. package/dist/{MicroWidgetContainer-DAesImQ6.mjs → MicroWidgetContainer-CfKdQfhi.mjs} +1 -1
  40. package/dist/{MiniWidgetContainer-BOv3n4iw.mjs → MiniWidgetContainer-BdPiUU-u.mjs} +1 -1
  41. package/dist/NetWorthUtils-DilGN1nW.mjs +95 -0
  42. package/dist/{NotificationSettings-DatCL2Ej.mjs → NotificationSettings-CCg-Tml2.mjs} +13 -13
  43. package/dist/NotificationUtils-BRGFTePr.mjs +23 -0
  44. package/dist/{NumberFormatting-CyrvFgfd.mjs → NumberFormatting--XMeeBfr.mjs} +2 -1
  45. package/dist/{OriginalBalanceAction-CWQ0CK-T.mjs → OriginalBalanceAction-CvDx0K6k.mjs} +4 -4
  46. package/dist/{RecurringSettings-DCplGEv_.mjs → RecurringSettings-CPXLW6AR.mjs} +9 -9
  47. package/dist/RecurringTransactionsUtil-B3rLEx_g.mjs +253 -0
  48. package/dist/Select-BZRUpOib.mjs +51 -0
  49. package/dist/SelectionBox-Bx2a5rh4.mjs +48 -0
  50. package/dist/Sizes-DISGrlUg.mjs +6 -0
  51. package/dist/{SpendingData-Dj85XEUp.mjs → SpendingData-PKlh8caU.mjs} +6 -6
  52. package/dist/{SpendingLegend-BS8mHUbu.mjs → SpendingLegend-BmkEr9Nh.mjs} +4 -4
  53. package/dist/{TransactionDetails-C_skrQk8.mjs → TransactionDetails-CbBSxdOi.mjs} +33 -33
  54. package/dist/TransactionUtils-BphBJBbU.mjs +234 -0
  55. package/dist/TrendsUtil-D9z3kIj_.mjs +69 -0
  56. package/dist/UserStore-CRpKQjpP.mjs +3002 -0
  57. package/dist/{ViewMoreMicroCard-D1j0w64K.mjs → ViewMoreMicroCard-K69RRs_b.mjs} +28 -30
  58. package/dist/{WidgetContainer-BPJoDkhL.mjs → WidgetContainer-DalWyz5A.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 +62 -64
  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 +20 -20
  74. package/dist/common/index.d.ts +3 -1
  75. package/dist/common/index.es.js +215 -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 +94 -79
  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 +3 -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 +92 -96
  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
@@ -11,20 +11,16 @@ import ae from "@mui/material/IconButton";
11
11
  import { alpha as s, useTheme as j } from "@mui/material/styles";
12
12
  import { useInView as Re } from "react-intersection-observer";
13
13
  import se from "@mui/material/styles/useTheme";
14
- import { b as je } from "./Category-Ccoew_sA.mjs";
15
- import { b as Ye } from "./Localization-CkQ49EKr.mjs";
14
+ import { C as je } from "./Category-DEKZGLYe.mjs";
15
+ import { b as Ye } from "./Localization-DnoVyBNK.mjs";
16
16
  import Xe from "@mui/material/CircularProgress";
17
17
  import { makeAutoObservable as ce, runInAction as Oe } from "mobx";
18
- import { a as Ze, u as Qe, b as qe } from "./Analytics-CxK7O19c.mjs";
19
- import { G as Ce } from "./GlobalCopyApi-DkS-2Zf_.mjs";
20
- import { B as he } from "./BeatApi-C6pBa0Rb.mjs";
21
- import { u as Je } from "./useWidgetLoadTimer-BZjr-BiE.mjs";
18
+ import { a as Ze, u as Qe, b as qe } from "./Analytics-CkYXKvco.mjs";
19
+ import { G as Ce, B as he } from "./GlobalCopyApi-wcnDUzMV.mjs";
20
+ import { u as Je } from "./useWidgetLoadTimer-CJb-RELP.mjs";
22
21
  import et from "@mui/material/Card";
23
22
  import tt from "@mui/material/CardActionArea";
24
23
  import ot from "@mui/material/Avatar";
25
- const ge = {
26
- featureVersion: "spendVsIncomeTrends"
27
- };
28
24
  class nt {
29
25
  copyApi = new Ce("/", "");
30
26
  copyObject = {};
@@ -72,7 +68,7 @@ const le = {
72
68
  WeeklyNewMerchantsV2: "WeeklyNewMerchantsV2",
73
69
  MonthlySpendComparison: "MonthlySpendComparison",
74
70
  MonthlySpendToIncomeComparison: "MonthlySpendToIncomeComparison"
75
- }, R = window?.app?.clientConfig?.microwidget_instance_id || "", Ee = {
71
+ }, R = window?.app?.clientConfig?.microwidget_instance_id || "", ge = {
76
72
  INSIGHTS_MICRO_WIDGET: "/micro-insights-carousel"
77
73
  }, We = (t) => `on${t}Click`, we = (t) => `on${t}View`, Ne = (t) => `on${t}ViewFirstTime`, de = (t) => t.replace(/([a-z])([A-Z])/g, "$1 $2"), rt = () => Object.values(le).reduce(
78
74
  (t, e) => ({
@@ -135,18 +131,18 @@ const le = {
135
131
  MICRO_WIDGET_CAROUSEL: "Micro Widget Carousel",
136
132
  MICRO_WIDGET_CAROUSEL_ZERO_STATE: "Micro Widget Carousel Zero State",
137
133
  MICRO_WIDGET_CAROUSEL_NO_RELEVANT_INSIGHTS: "Micro Widget Carousel No Relevant Insights"
138
- }, Ie = {
134
+ }, Ee = {
139
135
  [G.MICRO_WIDGET_CAROUSEL]: {
140
136
  label: b.MICRO_WIDGET,
141
137
  name: G.MICRO_WIDGET_CAROUSEL,
142
- path: Ee.INSIGHTS_MICRO_WIDGET,
138
+ path: ge.INSIGHTS_MICRO_WIDGET,
143
139
  value: R
144
140
  },
145
141
  // zero state
146
142
  [G.MICRO_WIDGET_CAROUSEL_ZERO_STATE]: {
147
143
  label: b.MICRO_WIDGET,
148
144
  name: G.MICRO_WIDGET_CAROUSEL_ZERO_STATE,
149
- path: Ee.INSIGHTS_MICRO_WIDGET,
145
+ path: ge.INSIGHTS_MICRO_WIDGET,
150
146
  value: R
151
147
  },
152
148
  // no relevant cards
@@ -156,7 +152,7 @@ const le = {
156
152
  path: "/micro-widget",
157
153
  value: R
158
154
  }
159
- }, fe = {
155
+ }, Ie = {
160
156
  // carousel control interaction events - clicks and swipes
161
157
  [O.ON_CAROUSEL_BACK_CLICK]: {
162
158
  action: D.CONTROL_BACKWARD,
@@ -198,25 +194,25 @@ const le = {
198
194
  ...rt(),
199
195
  ...it(),
200
196
  ...at()
201
- }, ye = async (t, e) => !e || !fe[t] ? null : e.sendAnalyticEvent(fe[t]).then((n) => n).catch((n) => {
197
+ }, fe = async (t, e) => !e || !Ie[t] ? null : e.sendAnalyticEvent(Ie[t]).then((n) => n).catch((n) => {
202
198
  throw n;
203
- }), Ae = async (t, e) => !e || !Ie[t] ? null : e.sendAnalyticsPageview(Ie[t]).then((n) => n).catch((n) => {
199
+ }), ye = async (t, e) => !e || !Ee[t] ? null : e.sendAnalyticsPageview(Ee[t]).then((n) => n).catch((n) => {
204
200
  throw n;
205
201
  });
206
202
  class st {
207
- onAnalyticEvent = ye;
208
- onAnalyticPageView = Ae;
203
+ onAnalyticEvent = fe;
204
+ onAnalyticPageView = ye;
209
205
  beatApi = new he("/", "");
210
206
  constructor() {
211
207
  ce(this);
212
208
  }
213
209
  initialize = async (e, n, r) => {
214
210
  this.onAnalyticEvent = (i, l) => {
215
- ye(i, l).then((a) => a).catch((a) => {
211
+ fe(i, l).then((a) => a).catch((a) => {
216
212
  throw a.status === 401 && r(), a;
217
213
  });
218
214
  }, this.onAnalyticPageView = (i, l) => {
219
- Ae(i, l).then((a) => a).catch((a) => {
215
+ ye(i, l).then((a) => a).catch((a) => {
220
216
  throw a.status === 401 && r(), a;
221
217
  });
222
218
  }, this.beatApi = new he(e, n);
@@ -1084,7 +1080,7 @@ const Y = h.createContext(null), lt = ({
1084
1080
  variant: l
1085
1081
  }
1086
1082
  );
1087
- }, io = U(Pe), Be = ({
1083
+ }, ro = U(Pe), Be = ({
1088
1084
  ariaLabel: t,
1089
1085
  heightOverrides: e,
1090
1086
  onCardClick: n,
@@ -1110,7 +1106,7 @@ const Y = h.createContext(null), lt = ({
1110
1106
  variant: i
1111
1107
  }
1112
1108
  );
1113
- }, ao = U(Be), bt = () => /* @__PURE__ */ o(
1109
+ }, io = U(Be), bt = () => /* @__PURE__ */ o(
1114
1110
  $,
1115
1111
  {
1116
1112
  sx: {
@@ -1122,7 +1118,9 @@ const Y = h.createContext(null), lt = ({
1122
1118
  },
1123
1119
  children: /* @__PURE__ */ o(Xe, {})
1124
1120
  }
1125
- ), V = new ct(), Lt = ({
1121
+ ), Ae = {
1122
+ featureVersion: "spendVsIncomeTrends"
1123
+ }, V = new ct(), Lt = ({
1126
1124
  allowSingleCardPeeking: t,
1127
1125
  areBeatsLoading: e,
1128
1126
  beats: n = [],
@@ -1181,7 +1179,7 @@ const Y = h.createContext(null), lt = ({
1181
1179
  T && m && /* @__PURE__ */ o(
1182
1180
  Nt,
1183
1181
  {
1184
- analyticsMetadata: ge,
1182
+ analyticsMetadata: Ae,
1185
1183
  headerSx: l,
1186
1184
  onCardClick: u,
1187
1185
  posthog: d,
@@ -1192,7 +1190,7 @@ const Y = h.createContext(null), lt = ({
1192
1190
  Wt,
1193
1191
  {
1194
1192
  allowSingleCardPeeking: t,
1195
- analyticsMetadata: ge,
1193
+ analyticsMetadata: Ae,
1196
1194
  beats: n,
1197
1195
  showCarouselControls: p,
1198
1196
  variant: _ ? M : void 0,
@@ -1221,7 +1219,7 @@ const Y = h.createContext(null), lt = ({
1221
1219
  }
1222
1220
  )
1223
1221
  ] }) });
1224
- }, so = U(Lt), Dt = ({
1222
+ }, ao = U(Lt), Dt = ({
1225
1223
  ariaLabel: t,
1226
1224
  heightOverrides: e,
1227
1225
  isActiveCard: n,
@@ -1273,11 +1271,11 @@ export {
1273
1271
  Nt as C,
1274
1272
  St as I,
1275
1273
  Wt as M,
1276
- io as N,
1277
- ge as T,
1274
+ ro as N,
1275
+ Ae as T,
1278
1276
  xt as V,
1279
- ao as Z,
1280
- so as a,
1277
+ io as Z,
1278
+ ao as a,
1281
1279
  lt as b,
1282
1280
  J as c,
1283
1281
  ut as d
@@ -11,8 +11,8 @@ import B from "@mui/material/Stack";
11
11
  import { ChevronLeft as pe } from "@mxenabled/mx-icons";
12
12
  import { Icon as D, Text as W, DateRangePicker as Z } from "@mxenabled/mxui";
13
13
  import { u as ge } from "./useDimensions-CeDR9V8N.mjs";
14
- import { G as he } from "./GlobalAccountFilter-jkFxqPg6.mjs";
15
- import { b as ie, u as se, g as fe, a as be, W as _e } from "./hooks-RzCoiTd0.mjs";
14
+ import { G as he } from "./GlobalAccountFilter-DrhtwPqh.mjs";
15
+ import { b as ie, u as se, g as fe, a as be, W as _e } from "./hooks-BaO_gOI6.mjs";
16
16
  import { addMonths as J } from "date-fns/addMonths";
17
17
  import { addDays as Re } from "date-fns/addDays";
18
18
  import { addYears as ee } from "date-fns/addYears";
@@ -38,7 +38,7 @@ import { u as Ae } from "./useAriaLive-MkYebyUR.mjs";
38
38
  import { D as Be } from "./Dialog-iLlBR8TG.mjs";
39
39
  import { D as Ne } from "./Drawer-XPaLYjiO.mjs";
40
40
  import { u as le } from "./useScreenSize-CeFhWTt_.mjs";
41
- import { f as P, D as S } from "./DateFormats-CaOj_4eI.mjs";
41
+ import { f as P, D as S } from "./DateFormats-HudZ3Bjs.mjs";
42
42
  import { L as Oe } from "./Loader-CxeBwuPG.mjs";
43
43
  import we from "@mui/material/useMediaQuery";
44
44
  import { A as oe } from "./Analytics-CzGzz_sE.mjs";
@@ -1 +1,6 @@
1
- export declare const useAccountUiStore: () => import('../stores/UiStore').UiStore;
1
+ export declare const useAccountUiStore: () => {
2
+ selectedAccount: import('../../core').Account;
3
+ selectedMember: import('../../core').Member;
4
+ setSelectedAccount: (account: import('../../core').Account) => import('../../core').Account;
5
+ setSelectedMember: (member: import('../../core').Member) => import('../../core').Member;
6
+ };
@@ -6,5 +6,4 @@ export { default as AccountDetailsContent } from './components/detailsdrawer/Acc
6
6
  export { getAccountBalanceDetails, getAccountDetailFields } from './utils/AccountFields';
7
7
  export { FieldType, MemberConnectionStatus } from './constants/Accounts';
8
8
  export { useGetMergeableAccounts } from './hooks/useGetMergeableAccounts';
9
- export { AccountStore } from './stores/AccountStore';
10
9
  export { useAccountUiStore } from './hooks/useUiStore';
@@ -1,6 +1,6 @@
1
1
  import { jsx as e, jsxs as C, Fragment as S } from "react/jsx-runtime";
2
2
  import h from "react";
3
- import { observer as A } from "mobx-react-lite";
3
+ import { observer as V } from "mobx-react-lite";
4
4
  import t1 from "@mui/material/Stack";
5
5
  import { Text as v, Icon as N, THEMES as c1 } from "@mxenabled/mxui";
6
6
  import { S as m1 } from "../SkeletonLoader-BaNboJjD.mjs";
@@ -9,34 +9,35 @@ import W from "@mui/material/Divider";
9
9
  import O from "@mui/material/List";
10
10
  import B from "@mui/material/ListSubheader";
11
11
  import P from "@mui/system/Stack";
12
+ import { f as s1 } from "../NumberFormatting--XMeeBfr.mjs";
12
13
  import { useTheme as y1, alpha as w1 } from "@mui/material/styles";
13
- import { u as R, A as x1 } from "../AccountDetailsHeader-CzefHTWU.mjs";
14
- import { L as R1 } from "../LineChart-CeZnCZ7j.mjs";
15
- import { g as S1, a as T1, b as E1 } from "../SpendingData-Dj85XEUp.mjs";
16
- import { l as D1, u as V, d as D, g as k, h as p1, a as _1, b as G } from "../hooks-RzCoiTd0.mjs";
17
- import { A as I, g as f, N as L1 } from "../Account-CMjOp7S2.mjs";
18
- import { I as f1, P as g1, S as H1 } from "../Account-BIKn4XEZ.mjs";
19
- import { a as k1, b as I1 } from "../AccountFields-BWmpVsS3.mjs";
20
- import { g as c2 } from "../AccountFields-BWmpVsS3.mjs";
21
- import { A as U } from "../AccountListItem-DRDxaRBe.mjs";
22
- import s1 from "@mui/material/Tab";
14
+ import { u as R, A as x1 } from "../AccountDetailsHeader-CfdnKyJK.mjs";
15
+ import { L as R1 } from "../LineChart-CejWS_rh.mjs";
16
+ import { g as S1, a as T1, b as E1 } from "../SpendingData-PKlh8caU.mjs";
17
+ import { l as D1, u as A, d as D, g as k, h as p1, a as _1, b as G } from "../hooks-BaO_gOI6.mjs";
18
+ import { A as I, g as f, N as L1 } from "../Account-BaJmiJAG.mjs";
19
+ import { I as f1, P as g1, S as H1 } from "../Account-BxHMlV9R.mjs";
20
+ import { a as k1, b as I1 } from "../AccountFields-CAy0x_4i.mjs";
21
+ import { g as c2 } from "../AccountFields-CAy0x_4i.mjs";
22
+ import { A as U } from "../AccountListItem-BYyeeCf6.mjs";
23
+ import l1 from "@mui/material/Tab";
23
24
  import Z1 from "@mui/material/Tabs";
24
25
  import N1 from "@mui/material/Switch";
25
26
  import E from "@mui/material/ListItem";
26
27
  import $ from "@mui/material/ListItemButton";
27
28
  import Z from "@mui/material/ListItemText";
29
+ import { b as H } from "../Localization-DnoVyBNK.mjs";
28
30
  import { A as x } from "../Analytics-CzGzz_sE.mjs";
29
31
  import { D as e1 } from "../Dialog-iLlBR8TG.mjs";
30
- import { b as H } from "../Localization-CkQ49EKr.mjs";
31
32
  import { D as n1 } from "../Drawer-XPaLYjiO.mjs";
32
33
  import j from "@mui/material/ListItemAvatar";
33
34
  import O1 from "@mui/material/styles/useTheme";
34
35
  import { Language as F1, Error as v1, CheckCircle as P1 } from "@mxenabled/mx-icons";
35
- import { C as z } from "../ConnectDrawer-DNnuF80E.mjs";
36
+ import { C as z } from "../ConnectDrawer-DgfsTpyW.mjs";
36
37
  import { fromUnixTime as W1 } from "date-fns/fromUnixTime";
37
38
  import { isToday as B1 } from "date-fns/isToday";
38
39
  import { isYesterday as U1 } from "date-fns/isYesterday";
39
- import { f as l1, D as r1 } from "../DateFormats-CaOj_4eI.mjs";
40
+ import { f as r1, D as d1 } from "../DateFormats-HudZ3Bjs.mjs";
40
41
  import { I as X } from "../IconBacking-DgT8DCeh.mjs";
41
42
  import { addMonths as $1 } from "date-fns/addMonths";
42
43
  import { AdapterDateFns as G1 } from "@mui/x-date-pickers/AdapterDateFnsV3";
@@ -49,23 +50,21 @@ import J1 from "@mui/material/Select";
49
50
  import q1 from "@mui/material/TextField";
50
51
  import { F as J } from "../Accounts-CseLC3lL.mjs";
51
52
  import { M as s2 } from "../Accounts-CseLC3lL.mjs";
52
- import { C as Q1 } from "../CurrencyInput-BMbUVSvz.mjs";
53
+ import { C as Q1 } from "../CurrencyInput-B59ugxPN.mjs";
53
54
  import e3 from "@mui/material/Alert";
54
55
  import t3 from "@mui/material/AlertTitle";
55
56
  import n3 from "@mui/material/Link";
56
57
  import o3 from "@mui/material/Paper";
57
58
  import { endOfToday as i3, subDays as c3, startOfToday as a3 } from "date-fns";
58
- import { T as s3 } from "../EmbeddedCard-B9JoBaan.mjs";
59
- import { T as l3 } from "../TransactionDetails-C_skrQk8.mjs";
60
- import { T as d1 } from "../TabContentContainer-CnMXkVqr.mjs";
61
- import { f as u1 } from "../NumberFormatting-CyrvFgfd.mjs";
62
- import { C as r3 } from "../ConnectionsDrawer-DX6d7uwJ.mjs";
59
+ import { T as s3 } from "../EmbeddedCard-BNl3quCs.mjs";
60
+ import { T as l3 } from "../TransactionDetails-CbBSxdOi.mjs";
61
+ import { T as u1 } from "../TabContentContainer-CnMXkVqr.mjs";
62
+ import { C as r3 } from "../ConnectionsDrawer-D7IXAza2.mjs";
63
63
  import { u as b1 } from "../useScreenSize-CeFhWTt_.mjs";
64
- import { u as o1 } from "../useWidgetLoadTimer-BZjr-BiE.mjs";
64
+ import { u as o1 } from "../useWidgetLoadTimer-CJb-RELP.mjs";
65
65
  import { L as i1 } from "../Loader-CxeBwuPG.mjs";
66
- import { W as d3 } from "../WidgetContainer-BPJoDkhL.mjs";
67
- import { M as A1 } from "../MiniWidgetContainer-BOv3n4iw.mjs";
68
- import { A as r2 } from "../AccountStore-CGrjC2Oe.mjs";
66
+ import { W as d3 } from "../WidgetContainer-DalWyz5A.mjs";
67
+ import { M as V1 } from "../MiniWidgetContainer-BdPiUU-u.mjs";
69
68
  const u3 = (t, o) => {
70
69
  const n = f1.includes(o) ? S1(t) : [], c = g1.includes(o) ? T1(t) : [], i = H1.includes(o) ? E1(t) : [];
71
70
  return [n, c, i].filter((l) => l.length > 0);
@@ -84,7 +83,7 @@ const u3 = (t, o) => {
84
83
  }
85
84
  return a;
86
85
  }, h3 = () => {
87
- const t = y1(), { selectedAccount: o } = R(), { monthlyCategoryTotals: n } = D1(), { trends: c } = V(), i = [t.palette.chart?.chart1, t.palette.chart?.chart2], l = u3(n, o.account_type), d = C3(l, o.account_type, c), a = [I.LOAN, I.MORTGAGE].includes(o.account_type);
86
+ const t = y1(), { selectedAccount: o } = R(), { monthlyCategoryTotals: n } = D1(), { trends: c } = A(), i = [t.palette.chart?.chart1, t.palette.chart?.chart2], l = u3(n, o.account_type), d = C3(l, o.account_type, c), a = [I.LOAN, I.MORTGAGE].includes(o.account_type);
88
87
  return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
89
88
  R1,
90
89
  {
@@ -104,7 +103,7 @@ const u3 = (t, o) => {
104
103
  valueFormatterString: "0,0"
105
104
  }
106
105
  ) });
107
- }, m3 = A(h3), q = ({
106
+ }, m3 = V(h3), q = ({
108
107
  ariaPressed: t,
109
108
  children: o,
110
109
  isLast: n = !1,
@@ -138,7 +137,7 @@ const u3 = (t, o) => {
138
137
  (c) => c.member_guid === n.guid && n.successfully_aggregated_at && c.guid !== o.guid
139
138
  );
140
139
  }, _3 = () => {
141
- const [t, o] = h.useState(!1), [n, c] = h.useState(!1), [i, l] = h.useState(!1), [d, a] = h.useState({}), { selectedAccount: r } = R(), { mergeAccounts: L, updateAccount: m } = D(), { accounts: s } = V(), _ = p3(), { onEvent: M } = k(), { modifyTransactionByAccountGuid: w } = p1(), y = async (u) => {
140
+ const [t, o] = h.useState(!1), [n, c] = h.useState(!1), [i, l] = h.useState(!1), [d, a] = h.useState({}), { selectedAccount: r } = R(), { mergeAccounts: L, updateAccount: m } = D(), { accounts: s } = A(), _ = p3(), { onEvent: M } = k(), { modifyTransactionByAccountGuid: w } = p1(), y = async (u) => {
142
141
  await m({
143
142
  ...r,
144
143
  ...u
@@ -268,7 +267,7 @@ const u3 = (t, o) => {
268
267
  }
269
268
  )
270
269
  ] });
271
- }, L3 = A(_3), V1 = (t, o) => {
270
+ }, L3 = V(_3), A1 = (t, o) => {
272
271
  const { connection_messages: n } = o;
273
272
  switch (t.connection_status) {
274
273
  case f.CHALLENGED:
@@ -405,11 +404,11 @@ const u3 = (t, o) => {
405
404
  };
406
405
  default: {
407
406
  const c = () => {
408
- const i = t.successfully_aggregated_at ? W1(t.successfully_aggregated_at) : void 0, l = i && l1(i, r1.TIME_STAMP_HOUR_MINUTE);
407
+ const i = t.successfully_aggregated_at ? W1(t.successfully_aggregated_at) : void 0, l = i && r1(i, d1.TIME_STAMP_HOUR_MINUTE);
409
408
  if (l)
410
409
  return B1(i) ? H(o.last_updated_at, o.today, l) : U1(i) ? H(o.last_updated_at, o.yesterday, l) : H(
411
410
  o.last_updated_at,
412
- l1(i, r1.MONTH_DAY_YEAR),
411
+ r1(i, d1.MONTH_DAY_YEAR),
413
412
  l
414
413
  );
415
414
  };
@@ -429,7 +428,7 @@ const u3 = (t, o) => {
429
428
  }, f3 = () => {
430
429
  const [t, o] = h.useState(!1), {
431
430
  palette: { mode: n }
432
- } = O1(), { selectedMember: c } = R(), { accounts: i, connect: l } = V(), d = V1(c, l), a = L1.includes(c.connection_status) ? {
431
+ } = O1(), { selectedMember: c } = R(), { accounts: i, connect: l } = A(), d = A1(c, l), a = L1.includes(c.connection_status) ? {
433
432
  color: "error.main",
434
433
  ctaCopy: d.cta ?? "",
435
434
  icon: /* @__PURE__ */ e(v1, { filled: !0, sx: { ...Q } }),
@@ -522,8 +521,8 @@ const u3 = (t, o) => {
522
521
  }
523
522
  )
524
523
  ] });
525
- }, g3 = A(f3), H3 = ({ field: t, isOpen: o, onClose: n }) => {
526
- const { updateAccount: c } = D(), { selectedAccount: i } = R(), { accounts: l } = V(), [d, a] = h.useState(i[t.name]), [r, L] = h.useState(""), [m, s] = h.useState(!0), _ = () => {
524
+ }, g3 = V(f3), H3 = ({ field: t, isOpen: o, onClose: n }) => {
525
+ const { updateAccount: c } = D(), { selectedAccount: i } = R(), { accounts: l } = A(), [d, a] = h.useState(i[t.name]), [r, L] = h.useState(""), [m, s] = h.useState(!0), _ = () => {
527
526
  a(""), L(""), n();
528
527
  }, M = () => {
529
528
  switch (t.type) {
@@ -630,8 +629,8 @@ const u3 = (t, o) => {
630
629
  children: M()
631
630
  }
632
631
  );
633
- }, v3 = A(H3), b3 = () => {
634
- const t = window.app?.config, { onEvent: o } = k(), { selectedAccount: n } = R(), { accounts: c } = V(), i = k1(n, c), l = n.member_is_managed_by_user || !n.member_is_managed_by_user && t.enable_renaming_home_accounts, [d, a] = h.useState(!1), [r, L] = h.useState(i[0]), m = i.filter(
632
+ }, v3 = V(H3), b3 = () => {
633
+ const t = window.app?.config, { onEvent: o } = k(), { selectedAccount: n } = R(), { accounts: c } = A(), i = k1(n, c), l = n.member_is_managed_by_user || !n.member_is_managed_by_user && t.enable_renaming_home_accounts, [d, a] = h.useState(!1), [r, L] = h.useState(i[0]), m = i.filter(
635
634
  (s) => l || n[s.name] || n[s.name] === 0
636
635
  );
637
636
  return /* @__PURE__ */ C(S, { children: [
@@ -704,19 +703,19 @@ const u3 = (t, o) => {
704
703
  }
705
704
  )
706
705
  ] });
707
- }, A3 = A(b3), V3 = () => {
706
+ }, V3 = V(b3), A3 = () => {
708
707
  const { onEvent: t } = k();
709
708
  return h.useEffect(() => t(x.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ C(O, { children: [
710
- /* @__PURE__ */ e(A3, {}),
709
+ /* @__PURE__ */ e(V3, {}),
711
710
  /* @__PURE__ */ e(g3, {}),
712
711
  /* @__PURE__ */ e(L3, {})
713
712
  ] });
714
- }, M3 = A(V3), y3 = ({ setTabValue: t }) => {
715
- const [o, n] = h.useState(!1), { selectedMember: c } = R(), { accounts: i, connect: l } = V(), d = c.connection_status && L1.includes(c.connection_status);
713
+ }, M3 = V(A3), y3 = ({ setTabValue: t }) => {
714
+ const [o, n] = h.useState(!1), { selectedMember: c } = R(), { accounts: i, connect: l } = A(), d = c.connection_status && L1.includes(c.connection_status);
716
715
  if (h.useEffect(() => {
717
716
  d && t(1);
718
717
  }, [d]), !d) return;
719
- const a = V1(c, l);
718
+ const a = A1(c, l);
720
719
  return /* @__PURE__ */ C(S, { children: [
721
720
  /* @__PURE__ */ e(
722
721
  o3,
@@ -768,8 +767,8 @@ const u3 = (t, o) => {
768
767
  }
769
768
  )
770
769
  ] });
771
- }, w3 = A(y3), x3 = () => {
772
- const [t, o] = h.useState(""), { onEvent: n } = k(), { selectedAccount: c } = R(), { accounts: i } = V(), { isTransactionDataLoaded: l, loadTransactionData: d, setFilter: a, sortedTransactions: r } = p1();
770
+ }, w3 = V(y3), x3 = () => {
771
+ const [t, o] = h.useState(""), { onEvent: n } = k(), { selectedAccount: c } = R(), { accounts: i } = A(), { isTransactionDataLoaded: l, loadTransactionData: d, setFilter: a, sortedTransactions: r } = p1();
773
772
  h.useEffect(() => {
774
773
  l || d().finally();
775
774
  }, []);
@@ -795,8 +794,8 @@ const u3 = (t, o) => {
795
794
  }
796
795
  )
797
796
  ] });
798
- }, R3 = A(x3), S3 = () => {
799
- const [t, o] = h.useState(0), { accounts: n } = V();
797
+ }, R3 = V(x3), S3 = () => {
798
+ const [t, o] = h.useState(0), { accounts: n } = A();
800
799
  return /* @__PURE__ */ C(S, { children: [
801
800
  /* @__PURE__ */ e(w3, { setTabValue: o }),
802
801
  /* @__PURE__ */ C(
@@ -810,7 +809,7 @@ const u3 = (t, o) => {
810
809
  variant: "fullWidth",
811
810
  children: [
812
811
  /* @__PURE__ */ e(
813
- s1,
812
+ l1,
814
813
  {
815
814
  "aria-controls": "transaction-details-tabpanel-0",
816
815
  id: "transaction-details-tab-0",
@@ -818,7 +817,7 @@ const u3 = (t, o) => {
818
817
  }
819
818
  ),
820
819
  /* @__PURE__ */ e(
821
- s1,
820
+ l1,
822
821
  {
823
822
  "aria-controls": "account-details-tabpanel-1",
824
823
  id: "account-details-tab-1",
@@ -828,11 +827,11 @@ const u3 = (t, o) => {
828
827
  ]
829
828
  }
830
829
  ),
831
- /* @__PURE__ */ e(d1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(R3, {}) }),
832
- /* @__PURE__ */ e(d1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(M3, {}) })
830
+ /* @__PURE__ */ e(u1, { index: 0, name: "transaction-details", value: t, children: /* @__PURE__ */ e(R3, {}) }),
831
+ /* @__PURE__ */ e(u1, { index: 1, name: "account-details", value: t, children: /* @__PURE__ */ e(M3, {}) })
833
832
  ] });
834
- }, T3 = A(S3), E3 = () => {
835
- const [t, o] = h.useState(""), { config: n } = _1(), { accounts: c } = V(), { allSelectedAccounts: i } = G(), { setSelectedAccount: l, setSelectedMember: d } = R(), { members: a } = D(), { onEvent: r } = k(), L = [...new Set(i.map((u) => u.account_type))], m = i.find((u) => t === u.guid), s = h.useMemo(
833
+ }, T3 = V(S3), E3 = () => {
834
+ const [t, o] = h.useState(""), { config: n } = _1(), { accounts: c } = A(), { allSelectedAccounts: i } = G(), { setSelectedAccount: l, setSelectedMember: d } = R(), { members: a } = D(), { onEvent: r } = k(), L = [...new Set(i.map((u) => u.account_type))], m = i.find((u) => t === u.guid), s = h.useMemo(
836
835
  () => i.filter((u) => u.is_hidden),
837
836
  [i]
838
837
  ), _ = h.useMemo(
@@ -872,7 +871,7 @@ const u3 = (t, o) => {
872
871
  sx: { justifyContent: "space-between", color: "grey.700" },
873
872
  children: [
874
873
  /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: b }),
875
- /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: u1(K, "0,0.00") })
874
+ /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: s1(K, "0,0.00") })
876
875
  ]
877
876
  }
878
877
  ) }),
@@ -929,7 +928,7 @@ const u3 = (t, o) => {
929
928
  sx: { display: "flex", justifyContent: "space-between" },
930
929
  children: [
931
930
  /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: c.account_types[u] }),
932
- /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: u1(K, "0,0.00") })
931
+ /* @__PURE__ */ e(v, { bold: !0, variant: "body1", children: s1(K, "0,0.00") })
933
932
  ]
934
933
  }
935
934
  ) }),
@@ -975,8 +974,8 @@ const u3 = (t, o) => {
975
974
  }
976
975
  )
977
976
  ] });
978
- }, D3 = A(E3), k3 = ({ onBackClick: t, onMenuClick: o, sx: n = {} }) => {
979
- const [c, i] = h.useState(!1), [l, d] = h.useState(!1), { config: a } = _1(), { isAccountDataLoaded: r, loadAccountData: L } = D(), { accounts: m, connect: s } = V(), { isInitialized: _, selectedAccountGuids: M } = G(), { isDesktop: w } = b1(), { onEvent: y } = k();
977
+ }, D3 = V(E3), k3 = ({ onBackClick: t, onMenuClick: o, sx: n = {} }) => {
978
+ const [c, i] = h.useState(!1), [l, d] = h.useState(!1), { config: a } = _1(), { isAccountDataLoaded: r, loadAccountData: L } = D(), { accounts: m, connect: s } = A(), { isInitialized: _, selectedAccountGuids: M } = G(), { isDesktop: w } = b1(), { onEvent: y } = k();
980
979
  o1({
981
980
  widgetName: "AccountsWidget",
982
981
  isLoaded: r
@@ -1029,7 +1028,7 @@ const u3 = (t, o) => {
1029
1028
  ]
1030
1029
  }
1031
1030
  ) : /* @__PURE__ */ e(i1, {});
1032
- }, e2 = A(k3);
1031
+ }, e2 = V(k3);
1033
1032
  function I3(t) {
1034
1033
  const { heldAccounts: o, externalAccounts: n } = t.reduce(
1035
1034
  (c, i) => (i.member_is_managed_by_user ? c.externalAccounts.push(i) : c.heldAccounts.push(i), c),
@@ -1054,7 +1053,7 @@ const N3 = {
1054
1053
  const d = o.name ?? o.feed_name ?? "", a = n.name ?? n.feed_name ?? "";
1055
1054
  return d.localeCompare(a);
1056
1055
  }), O3 = ({ onPrimaryCtaClick: t, sx: o }) => {
1057
- const { isAccountDataLoaded: n, loadAccountData: c } = D(), { accounts: i } = V(), { isInitialized: l, selectedAccounts: d } = G(), { isDesktop: a } = b1();
1056
+ const { isAccountDataLoaded: n, loadAccountData: c } = D(), { accounts: i } = A(), { isInitialized: l, selectedAccounts: d } = G(), { isDesktop: a } = b1();
1058
1057
  o1({
1059
1058
  widgetName: "AccountsMiniWidget",
1060
1059
  isLoaded: l
@@ -1066,7 +1065,7 @@ const N3 = {
1066
1065
  [d, a]
1067
1066
  );
1068
1067
  return l ? /* @__PURE__ */ e(
1069
- A1,
1068
+ V1,
1070
1069
  {
1071
1070
  className: "mx-exp-accounts-miniwidget",
1072
1071
  onPrimaryCtaClick: t,
@@ -1092,7 +1091,7 @@ const N3 = {
1092
1091
  ] }) : /* @__PURE__ */ e(m1, { sx: { px: 12, py: 8 }, variant: "list" })
1093
1092
  }
1094
1093
  ) : /* @__PURE__ */ e(i1, {});
1095
- }, t2 = A(O3), F3 = () => /* @__PURE__ */ C(
1094
+ }, t2 = V(O3), F3 = () => /* @__PURE__ */ C(
1096
1095
  "svg",
1097
1096
  {
1098
1097
  fill: "none",
@@ -1532,7 +1531,7 @@ const N3 = {
1532
1531
  ]
1533
1532
  }
1534
1533
  ), P3 = () => {
1535
- const { connect: t } = V();
1534
+ const { connect: t } = A();
1536
1535
  return /* @__PURE__ */ C(t1, { alignItems: "center", direction: "column", m: 24, children: [
1537
1536
  /* @__PURE__ */ e(F3, {}),
1538
1537
  /* @__PURE__ */ e(
@@ -1548,19 +1547,19 @@ const N3 = {
1548
1547
  }
1549
1548
  )
1550
1549
  ] });
1551
- }, W3 = A(P3), B3 = ({
1550
+ }, W3 = V(P3), B3 = ({
1552
1551
  onPrimaryCtaClick: t = () => {
1553
1552
  },
1554
1553
  sx: o
1555
1554
  }) => {
1556
- const { isCopyLoaded: n } = G(), { connect: c } = V(), [i, l] = h.useState(!1), d = () => {
1555
+ const { isCopyLoaded: n } = G(), { connect: c } = A(), [i, l] = h.useState(!1), d = () => {
1557
1556
  l(!0), t();
1558
1557
  };
1559
1558
  return o1({
1560
1559
  widgetName: "ConnectMiniWidget",
1561
1560
  isLoaded: n
1562
1561
  }), n ? /* @__PURE__ */ C(
1563
- A1,
1562
+ V1,
1564
1563
  {
1565
1564
  className: "mx-exp-connect-miniwidget",
1566
1565
  onPrimaryCtaClick: d,
@@ -1580,11 +1579,10 @@ const N3 = {
1580
1579
  ]
1581
1580
  }
1582
1581
  ) : /* @__PURE__ */ e(i1, {});
1583
- }, n2 = A(B3);
1582
+ }, n2 = V(B3);
1584
1583
  export {
1585
1584
  T3 as AccountDetailsContent,
1586
1585
  x1 as AccountDetailsHeader,
1587
- r2 as AccountStore,
1588
1586
  t2 as AccountsMiniWidget,
1589
1587
  e2 as AccountsWidget,
1590
1588
  n2 as ConnectMiniWidget,
@@ -7,8 +7,8 @@ import j from "@mui/material/Button";
7
7
  import s from "@mui/material/Stack";
8
8
  import { Text as u, TextField as A } from "@mxenabled/mxui";
9
9
  import { L } from "../Loader-CxeBwuPG.mjs";
10
- import { M as W } from "../MiniWidgetContainer-BOv3n4iw.mjs";
11
- import { j as f, u as g, g as $, b as q } from "../hooks-RzCoiTd0.mjs";
10
+ import { M as W } from "../MiniWidgetContainer-BdPiUU-u.mjs";
11
+ import { j as f, u as g, g as $, b as q } from "../hooks-BaO_gOI6.mjs";
12
12
  import E from "@mui/material/ToggleButton";
13
13
  import Q from "@mui/material/ToggleButtonGroup";
14
14
  import B from "@mui/material/styles/useTheme";