@mx-cartographer/experiences 8.0.0-alpha.bb3 → 8.0.0-alpha.bb4

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 (219) hide show
  1. package/CHANGELOG.md +128 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-B4CDD-zq.mjs} +1 -1
  3. package/dist/AccountDetailsContent-adZTkM52.mjs +683 -0
  4. package/dist/AccountDetailsHeader-DRjFuyJT.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-Cl4KHoSj.mjs} +14 -12
  6. package/dist/AccountListItem-wgmlex-_.mjs +90 -0
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-HbVblv86.mjs} +19 -8
  8. package/dist/{Accounts-BRf_YeTf.mjs → Accounts-CRUehOiy.mjs} +1 -1
  9. package/dist/{BeatApi-DhJpgCLz.mjs → BeatApi-De2IaqH2.mjs} +1 -1
  10. package/dist/{BeatStore-IBnXd4YK.mjs → BeatStore-D_NYuBSz.mjs} +1 -1
  11. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-Jv8h9H9l.mjs} +33 -33
  12. package/dist/{CashflowStore-D9Dpuz7X.mjs → CashflowStore-CA190BPF.mjs} +18 -25
  13. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  14. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-Dl006GKy.mjs} +43 -41
  15. package/dist/{CategoryStore-yHI0hWmK.mjs → CategoryStore-MUwRWH9e.mjs} +13 -11
  16. package/dist/{CategoryUtil-pZRIYOgN.mjs → CategoryUtil-DfVKKkRf.mjs} +4 -4
  17. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-DVp54lUH.mjs} +49 -48
  18. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-Dsc04-4Z.mjs} +3 -3
  19. package/dist/CurrencyInput-D1cjbdCI.mjs +85 -0
  20. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  21. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CDPZw_-m.mjs} +3 -3
  22. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-pL63fmdT.mjs} +3 -3
  23. package/dist/{Dialog-CWW597AF.mjs → Dialog-CDV0kKxj.mjs} +24 -24
  24. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  25. package/dist/Drawer-BF40nbsH.mjs +163 -0
  26. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  27. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-QhQK4_FU.mjs} +4 -4
  28. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  29. package/dist/FinstrongStore-BGf36b0z.mjs +451 -0
  30. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-C1-w3Y1E.mjs} +7 -7
  31. package/dist/HeaderCell-P8w6CmfO.mjs +6 -0
  32. package/dist/{Help-B6dIcujh.mjs → Help-DBfsTkAi.mjs} +125 -146
  33. package/dist/{Help-DhcC-C05.mjs → Help-c-zHlDbv.mjs} +8 -8
  34. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  35. package/dist/LineChart-C1PxNf7P.mjs +581 -0
  36. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BNCWQAN_.mjs} +10 -10
  37. package/dist/Loader-Ckqi9Rx6.mjs +21 -0
  38. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-8EsStyIQ.mjs} +195 -192
  39. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  40. package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +45 -0
  41. package/dist/MiniWidgetContainer-CKzf_Ira.mjs +56 -0
  42. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-Bti6u-d9.mjs} +4 -4
  43. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-B74rQVYC.mjs} +276 -273
  44. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-Ck2KdNmT.mjs} +10 -10
  45. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  46. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-2Y_3U_mg.mjs} +10 -10
  47. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-DAncu--R.mjs} +17 -17
  48. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-CxcSL1dY.mjs} +106 -105
  49. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-CNFxyGB6.mjs} +80 -73
  50. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-Cn6-R7ue.mjs} +10 -10
  51. package/dist/SearchBox-B7km148n.mjs +39 -0
  52. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-BASMQSIp.mjs} +3 -3
  53. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +6 -6
  54. package/dist/SkeletonLoader-BaNboJjD.mjs +38 -0
  55. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DPQ96k3x.mjs} +19 -19
  56. package/dist/SpendingLegend-6FqtMcBV.mjs +193 -0
  57. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  58. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  59. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  60. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  61. package/dist/TransactionDetails-Bn0qY5Hw.mjs +1336 -0
  62. package/dist/{TransactionStore-ai3uII_r.mjs → TransactionStore-DbwAutwC.mjs} +146 -165
  63. package/dist/TrendsStore-_mRaFUdf.mjs +182 -0
  64. package/dist/{User-BQUxBeZV.mjs → User-BklmOUSd.mjs} +107 -107
  65. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DAkyNRlD.mjs} +706 -729
  66. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CDh9fjpR.mjs} +36 -36
  67. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  68. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  69. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  70. package/dist/accounts/index.es.js +228 -221
  71. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  72. package/dist/analytics/index.es.js +27 -27
  73. package/dist/budgets/index.es.js +459 -462
  74. package/dist/cashflow/index.es.js +419 -428
  75. package/dist/categories/index.es.js +2 -2
  76. package/dist/categories/stores/CategoryStore.d.ts +1 -1
  77. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  78. package/dist/common/components/Loader.d.ts +1 -2
  79. package/dist/common/components/Select.d.ts +4 -2
  80. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  81. package/dist/common/components/charts/LineChart.d.ts +12 -2
  82. package/dist/common/components/charts/index.d.ts +0 -3
  83. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  84. package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
  85. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  86. package/dist/common/components/drawer/Footer.d.ts +17 -0
  87. package/dist/common/components/index.d.ts +0 -1
  88. package/dist/common/hooks/index.d.ts +0 -1
  89. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  90. package/dist/common/index.es.js +402 -668
  91. package/dist/common/stores/GlobalStore.d.ts +7 -1
  92. package/dist/common/types/Finstrong.d.ts +54 -0
  93. package/dist/common/types/Global.d.ts +1 -0
  94. package/dist/common/types/Widgets.d.ts +1 -0
  95. package/dist/common/types/index.d.ts +1 -1
  96. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  97. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  98. package/dist/common/utils/Theme.d.ts +1 -3
  99. package/dist/dashboard/index.es.js +21 -21
  100. package/dist/debts/components/DebtsChart.d.ts +1 -2
  101. package/dist/debts/index.es.js +673 -665
  102. package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
  103. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  104. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  105. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  106. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  107. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  108. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  109. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  110. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  111. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  112. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  113. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  114. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  115. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  116. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  117. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  118. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  119. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  120. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  121. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  122. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  123. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  124. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  125. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  126. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  127. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  128. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  129. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  130. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  131. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  132. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  133. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  134. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  135. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  136. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  137. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  138. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  139. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  140. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  141. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  142. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  143. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  144. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  145. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  146. package/dist/finstrong/constants/index.d.ts +9 -0
  147. package/dist/finstrong/index.es.js +3175 -1067
  148. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  149. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  150. package/dist/goals/index.es.js +580 -570
  151. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  152. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  153. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  154. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  155. package/dist/help/index.es.js +6 -6
  156. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  157. package/dist/insights/index.es.js +1 -1
  158. package/dist/investments/index.es.js +537 -536
  159. package/dist/merchants/index.es.js +9 -9
  160. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  161. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  162. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  163. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  164. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  165. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  166. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  167. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  168. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  169. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  170. package/dist/microinsights/constants/App.d.ts +0 -1
  171. package/dist/microinsights/index.d.ts +3 -3
  172. package/dist/microinsights/index.es.js +7 -7
  173. package/dist/microinsights/interfaces.d.ts +0 -6
  174. package/dist/networth/components/NetWorthChange.d.ts +3 -1
  175. package/dist/networth/index.es.js +262 -254
  176. package/dist/notifications/index.es.js +90 -91
  177. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  178. package/dist/recurringtransactions/index.es.js +586 -562
  179. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
  180. package/dist/settings/index.es.js +371 -365
  181. package/dist/spending/index.es.js +267 -419
  182. package/dist/spending/utils/SpendingData.d.ts +2 -1
  183. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  184. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  185. package/dist/transactions/index.es.js +231 -226
  186. package/dist/transactions/stores/TransactionStore.d.ts +1 -1
  187. package/dist/transactions/stores/UiStore.d.ts +0 -2
  188. package/dist/trends/index.es.js +988 -612
  189. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
  190. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
  191. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  192. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
  193. package/package.json +51 -56
  194. package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
  195. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  196. package/dist/AccountListItem-JFMZROh7.mjs +0 -90
  197. package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
  198. package/dist/Drawer-kEE73B87.mjs +0 -113
  199. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  200. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  201. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  202. package/dist/Loader-DUaFpDGv.mjs +0 -24
  203. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  204. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  205. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  206. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  207. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  208. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  209. package/dist/common/components/barchart/Bar.d.ts +0 -25
  210. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  211. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  212. package/dist/common/components/barchart/Legend.d.ts +0 -8
  213. package/dist/common/components/barchart/Util.d.ts +0 -42
  214. package/dist/common/components/barchart/index.d.ts +0 -1
  215. package/dist/common/hooks/usePrevious.d.ts +0 -2
  216. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  217. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  218. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  219. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -0,0 +1,683 @@
1
+ import { jsxs as d, Fragment as g, jsx as e } from "react/jsx-runtime";
2
+ import u from "react";
3
+ import { observer as E } from "mobx-react-lite";
4
+ import j from "@mui/material/Tab";
5
+ import nt from "@mui/material/Tabs";
6
+ import $ from "@mui/material/List";
7
+ import Y from "@mui/material/ListSubheader";
8
+ import ot from "@mui/material/Switch";
9
+ import { Text as D, Icon as M } from "@mxenabled/mxui";
10
+ import v from "@mui/material/Divider";
11
+ import I from "@mui/material/ListItem";
12
+ import N from "@mui/material/ListItemButton";
13
+ import w from "@mui/material/ListItemText";
14
+ import { u as y } from "./AccountDetailsHeader-DRjFuyJT.mjs";
15
+ import { d as z, u as S, g as O, h as J } from "./hooks-C41HAxM5.mjs";
16
+ import { A as at } from "./AccountListItem-wgmlex-_.mjs";
17
+ import { D as V, f as B, a as G } from "./Dialog-CDV0kKxj.mjs";
18
+ import { D as X } from "./Drawer-BF40nbsH.mjs";
19
+ import { A as k } from "./WidgetContainer-CDh9fjpR.mjs";
20
+ import { b as h } from "./Localization-2MODESHW.mjs";
21
+ import R from "@mui/material/ListItemAvatar";
22
+ import ct from "@mui/material/Stack";
23
+ import { Language as st, Error as q, CheckCircle as it } from "@mxenabled/mx-icons";
24
+ import { n as p, N as Q, l as Z, F as P } from "./ConnectDrawer-DVp54lUH.mjs";
25
+ import { fromUnixTime as rt } from "date-fns/fromUnixTime";
26
+ import { isToday as lt } from "date-fns/isToday";
27
+ import { isYesterday as dt } from "date-fns/isYesterday";
28
+ import { I as F } from "./IconBacking-DgT8DCeh.mjs";
29
+ import { addMonths as ut } from "date-fns/addMonths";
30
+ import { alpha as _t } from "@mui/material/styles";
31
+ import { AdapterDateFns as mt } from "@mui/x-date-pickers/AdapterDateFnsV3";
32
+ import { DateCalendar as pt } from "@mui/x-date-pickers/DateCalendar";
33
+ import ht from "@mui/material/FormControl";
34
+ import gt from "@mui/material/InputLabel";
35
+ import { LocalizationProvider as Ct } from "@mui/x-date-pickers-pro";
36
+ import H from "@mui/material/MenuItem";
37
+ import ft from "@mui/material/Select";
38
+ import bt from "@mui/material/TextField";
39
+ import { C as At } from "./CurrencyInput-D1cjbdCI.mjs";
40
+ import { b as Dt } from "./AccountFields-Cl4KHoSj.mjs";
41
+ import Tt from "@mui/material/Alert";
42
+ import Et from "@mui/material/AlertTitle";
43
+ import yt from "@mui/material/Link";
44
+ import St from "@mui/material/Paper";
45
+ import { endOfToday as xt, subDays as wt, startOfToday as kt } from "date-fns";
46
+ import { T as Mt, a as vt } from "./TransactionDetails-Bn0qY5Hw.mjs";
47
+ import { T as K } from "./TabContentContainer-CnMXkVqr.mjs";
48
+ const U = ({
49
+ children: n,
50
+ isLast: o = !1,
51
+ onClick: t,
52
+ primaryText: r,
53
+ secondaryText: c
54
+ }) => /* @__PURE__ */ d(g, { children: [
55
+ /* @__PURE__ */ e(I, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ d(N, { onClick: t, children: [
56
+ /* @__PURE__ */ e(w, { primary: r, secondary: c }),
57
+ n
58
+ ] }) }),
59
+ /* @__PURE__ */ e(v, { sx: { ml: o ? 0 : 24 } })
60
+ ] }), It = () => {
61
+ const { accounts: n } = z(), { selectedAccount: o, selectedMember: t } = y();
62
+ return n.filter(
63
+ (r) => r.member_guid === t.guid && t.successfully_aggregated_at && r.guid !== o.guid
64
+ );
65
+ }, Lt = () => {
66
+ const [n, o] = u.useState(!1), [t, r] = u.useState(!1), [c, l] = u.useState(!1), [s, _] = u.useState({}), { selectedAccount: i } = y(), { mergeAccounts: f, updateAccount: b } = z(), { accounts: a } = S(), C = It(), { onEvent: T } = O(), { modifyTransactionByAccountGuid: x } = J(), L = async (A) => {
67
+ await b({
68
+ ...i,
69
+ ...A
70
+ }), "is_closed" in A && A.is_closed !== i.is_closed && x(i.guid, { accountIsClosed: A.is_closed });
71
+ }, m = () => {
72
+ f([i.guid, s.guid]).finally(
73
+ () => r(!1)
74
+ );
75
+ };
76
+ return /* @__PURE__ */ d(g, { children: [
77
+ /* @__PURE__ */ e(Y, { sx: { backgroundColor: "transparent", mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(D, { bold: !0, component: "h2", variant: "caption", children: a.actions }) }),
78
+ /* @__PURE__ */ e(
79
+ U,
80
+ {
81
+ onClick: () => {
82
+ L({ is_hidden: !i.is_hidden }), T(k.ACCOUNT_DETAILS_CLICK_HIDE, { account_guid: i.guid });
83
+ },
84
+ primaryText: i.is_hidden ? a.unhide_account : a.hide_Account,
85
+ secondaryText: i.is_hidden ? a.include_this_account : a.exclude_this_account,
86
+ children: /* @__PURE__ */ e(ot, { checked: i.is_hidden })
87
+ }
88
+ ),
89
+ /* @__PURE__ */ e(
90
+ U,
91
+ {
92
+ onClick: () => {
93
+ o(!0), T(k.ACCOUNT_DETAILS_CLICK_MARK_CLOSED, {
94
+ account_guid: i.guid
95
+ });
96
+ },
97
+ primaryText: i.is_closed ? a.mark_as_open : a.mark_as_closed,
98
+ secondaryText: i.is_closed ? a.this_will_set_the_closed_account : a.this_will_set_the_account_balance_to_0,
99
+ children: /* @__PURE__ */ e(M, { name: "chevron_right" })
100
+ }
101
+ ),
102
+ C.length > 0 && /* @__PURE__ */ e(
103
+ U,
104
+ {
105
+ isLast: !0,
106
+ onClick: () => {
107
+ r(!0), T(k.ACCOUNT_DETAILS_CLICK_MARK_DUPLICATE, {
108
+ account_guid: i.guid
109
+ });
110
+ },
111
+ primaryText: a.mark_as_duplicate,
112
+ secondaryText: a.if_a_connected_account_is_showing_up_twice,
113
+ children: /* @__PURE__ */ e(M, { name: "chevron_right" })
114
+ }
115
+ ),
116
+ /* @__PURE__ */ e(
117
+ V,
118
+ {
119
+ copy: {
120
+ close_aria: a.close_modal,
121
+ title: i.is_closed ? a.confirm_mark_as_open : a.confirm_mark_closed
122
+ },
123
+ isOpen: n,
124
+ onClose: () => {
125
+ o(!1);
126
+ },
127
+ onPrimaryAction: () => L({ is_closed: !i.is_closed }),
128
+ children: /* @__PURE__ */ e(D, { truncate: !1, children: h(
129
+ i.is_closed ? a.this_will_resume_updating_the_balance : a.this_will_set_the_balance_of_your_account,
130
+ i.name
131
+ ) })
132
+ }
133
+ ),
134
+ /* @__PURE__ */ e(
135
+ X,
136
+ {
137
+ ariaLabelClose: a.close_drawer,
138
+ isOpen: t,
139
+ onClose: () => r(!1),
140
+ title: a.mark_as_duplicate,
141
+ children: /* @__PURE__ */ e($, { children: C.map((A) => {
142
+ const et = C.indexOf(A) === C.length - 1;
143
+ return /* @__PURE__ */ d(u.Fragment, { children: [
144
+ /* @__PURE__ */ e(
145
+ at,
146
+ {
147
+ account: A,
148
+ onRowClick: () => {
149
+ l(!0), _(A);
150
+ }
151
+ }
152
+ ),
153
+ /* @__PURE__ */ e($, { sx: { ml: et ? 0 : 24 } })
154
+ ] }, A.guid);
155
+ }) })
156
+ }
157
+ ),
158
+ c && /* @__PURE__ */ d(
159
+ V,
160
+ {
161
+ copy: {
162
+ close_aria: a.close_modal,
163
+ title: a.confirm_merge
164
+ },
165
+ isOpen: c,
166
+ onClose: () => l(!1),
167
+ onPrimaryAction: m,
168
+ children: [
169
+ /* @__PURE__ */ e(D, { truncate: !1, children: h(
170
+ a.this_means_accounts_will_be_merged,
171
+ i.name,
172
+ s.name
173
+ ) }),
174
+ /* @__PURE__ */ e(D, { color: "error", sx: { mt: 24 }, children: a.this_action_cannot_be_undone })
175
+ ]
176
+ }
177
+ )
178
+ ] });
179
+ }, Nt = E(Lt), tt = (n, o) => {
180
+ const { connection_messages: t } = o;
181
+ switch (n.connection_status) {
182
+ case p.CHALLENGED:
183
+ return {
184
+ cta: t.challenged_cta,
185
+ main: h(
186
+ t.challenged_connection_description,
187
+ n.name
188
+ ),
189
+ statusName: o.connection_statuses[n.connection_status],
190
+ title: t.challenged_connection_title
191
+ };
192
+ case p.CLOSED:
193
+ return {
194
+ main: t.closed_connection_description,
195
+ statusName: o.connection_statuses[n.connection_status],
196
+ title: t.closed_connection_title
197
+ };
198
+ case p.DEGRADED:
199
+ return {
200
+ main: t.degraded_connection_description,
201
+ statusName: o.connection_statuses[n.connection_status],
202
+ title: t.degraded_connection_title
203
+ };
204
+ case p.DELAYED:
205
+ return {
206
+ main: h(
207
+ t.delayed_connection_description,
208
+ n.name
209
+ ),
210
+ statusName: o.connection_statuses[n.connection_status],
211
+ title: t.delayed_connection_title
212
+ };
213
+ case p.DENIED:
214
+ return {
215
+ cta: t.denied_cta,
216
+ main: h(
217
+ t.denied_connection_description,
218
+ n.name
219
+ ),
220
+ statusName: o.connection_statuses[n.connection_status],
221
+ title: t.denied_connection_title
222
+ };
223
+ case p.DISABLED:
224
+ return {
225
+ main: t.disabled_connection_description,
226
+ statusName: o.connection_statuses[n.connection_status],
227
+ title: t.disabled_connection_title
228
+ };
229
+ case p.DISCONNECTED:
230
+ return {
231
+ main: h(
232
+ t.disconnected_connection_description,
233
+ n.name
234
+ ),
235
+ statusName: o.connection_statuses[n.connection_status],
236
+ title: t.disconnected_connection_title
237
+ };
238
+ case p.DISCONTINUED:
239
+ return {
240
+ main: t.discontinued_connection_description,
241
+ statusName: o.connection_statuses[n.connection_status],
242
+ title: t.discontinued_connection_title
243
+ };
244
+ case p.EXPIRED:
245
+ return {
246
+ cta: t.expired_cta,
247
+ main: t.expired_connection_description,
248
+ statusName: o.connection_statuses[n.connection_status],
249
+ title: t.expired_connection_title
250
+ };
251
+ case p.FAILED:
252
+ return {
253
+ main: h(
254
+ t.failed_connection_description,
255
+ n.name
256
+ ),
257
+ statusName: o.connection_statuses[n.connection_status],
258
+ title: t.failed_connection_title
259
+ };
260
+ case p.IMPAIRED:
261
+ return {
262
+ cta: t.impaired_cta,
263
+ main: h(
264
+ t.impaired_connection_description,
265
+ n.name
266
+ ),
267
+ statusName: o.connection_statuses[n.connection_status],
268
+ title: t.impaired_connection_title
269
+ };
270
+ case p.IMPEDED:
271
+ return {
272
+ main: h(
273
+ t.impeded_connection_description,
274
+ n.name,
275
+ n.name
276
+ ),
277
+ statusName: o.connection_statuses[n.connection_status],
278
+ title: t.impeded_connection_title
279
+ };
280
+ case p.IMPORTED:
281
+ return {
282
+ cta: t.imported_cta,
283
+ main: h(
284
+ t.imported_connection_description,
285
+ n.name
286
+ ),
287
+ statusName: o.connection_statuses[n.connection_status],
288
+ title: t.imported_connection_title
289
+ };
290
+ case p.LOCKED:
291
+ return {
292
+ cta: t.locked_cta,
293
+ main: h(
294
+ t.locked_connection_description,
295
+ n.name
296
+ ),
297
+ statusName: o.connection_statuses[n.connection_status],
298
+ title: t.locked_connection_title
299
+ };
300
+ case p.PREVENTED:
301
+ return {
302
+ cta: t.prevented_cta,
303
+ main: t.prevented_connection_description,
304
+ statusName: o.connection_statuses[n.connection_status],
305
+ title: t.prevented_connection_title
306
+ };
307
+ case p.REJECTED:
308
+ return {
309
+ cta: t.rejected_cta,
310
+ main: t.rejected_connection_description,
311
+ statusName: o.connection_statuses[n.connection_status],
312
+ title: t.rejected_connection_title
313
+ };
314
+ default: {
315
+ const r = () => {
316
+ const c = n.successfully_aggregated_at ? rt(n.successfully_aggregated_at) : void 0, l = c && B(c, G.TIME_STAMP_HOUR_MINUTE);
317
+ if (l)
318
+ return lt(c) ? h(o.last_updated_at, o.today, l) : dt(c) ? h(o.last_updated_at, o.yesterday, l) : h(
319
+ o.last_updated_at,
320
+ B(c, G.MONTH_DAY_YEAR),
321
+ l
322
+ );
323
+ };
324
+ return {
325
+ statusName: o.connection_statuses[6],
326
+ // Connected
327
+ title: r()
328
+ };
329
+ }
330
+ }
331
+ }, W = {
332
+ color: "background.default",
333
+ fontSize: 20,
334
+ gridRow: 1,
335
+ gridColumn: 1,
336
+ zIndex: 2
337
+ }, Ot = () => {
338
+ const [n, o] = u.useState(!1), { selectedMember: t } = y(), { accounts: r, connect: c } = S(), l = tt(t, c), s = Q.includes(t.connection_status) ? {
339
+ color: "error.main",
340
+ ctaCopy: l.cta ?? "",
341
+ icon: /* @__PURE__ */ e(q, { filled: !0, sx: { ...W } }),
342
+ mainMessage: l.statusName,
343
+ secondaryMessage: `${l.title}.`
344
+ } : {
345
+ color: "success.main",
346
+ icon: /* @__PURE__ */ e(it, { filled: !0, sx: { ...W } }),
347
+ mainMessage: l.statusName,
348
+ secondaryMessage: l.title
349
+ };
350
+ return /* @__PURE__ */ d(g, { children: [
351
+ /* @__PURE__ */ e(Y, { sx: { mb: 4, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(D, { bold: !0, component: "h2", variant: "caption", children: r.connection_status }) }),
352
+ /* @__PURE__ */ e(I, { sx: { backgroundColor: "background.paper" }, children: t.is_manual || !s.ctaCopy ? /* @__PURE__ */ d(ct, { alignItems: "center", direction: "row", px: 24, py: 12, children: [
353
+ /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(F, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
354
+ /* @__PURE__ */ e(w, { primary: s.mainMessage, secondary: s.secondaryMessage })
355
+ ] }) : /* @__PURE__ */ d(N, { onClick: () => o(!0), children: [
356
+ /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(F, { backingSx: { backgroundColor: s.color, borderRadius: 1 }, size: 32, children: s.icon }) }),
357
+ /* @__PURE__ */ e(
358
+ w,
359
+ {
360
+ primary: s.mainMessage,
361
+ secondary: s.secondaryMessage && /* @__PURE__ */ d(g, { children: [
362
+ s.secondaryMessage,
363
+ " ",
364
+ /* @__PURE__ */ e(D, { bold: !0, sx: { color: "action.active" }, variant: "caption", children: s.ctaCopy })
365
+ ] })
366
+ }
367
+ ),
368
+ /* @__PURE__ */ e(M, { name: "chevron_right" })
369
+ ] }) }),
370
+ /* @__PURE__ */ e(v, { sx: { ml: t.is_manual || !t.institution_url ? 0 : 24 } }),
371
+ !t.is_manual && t.institution_url && /* @__PURE__ */ d(g, { children: [
372
+ /* @__PURE__ */ e(I, { sx: { backgroundColor: "background.paper" }, children: /* @__PURE__ */ d(N, { component: "a", href: t.institution_url, target: "_blank", children: [
373
+ /* @__PURE__ */ e(R, { children: /* @__PURE__ */ e(
374
+ F,
375
+ {
376
+ backingSx: {
377
+ bgcolor: "neutral.light",
378
+ borderRadius: 1
379
+ },
380
+ size: 32,
381
+ children: /* @__PURE__ */ e(
382
+ st,
383
+ {
384
+ sx: {
385
+ ...W,
386
+ color: "text.primary"
387
+ }
388
+ }
389
+ )
390
+ }
391
+ ) }),
392
+ /* @__PURE__ */ e(w, { primary: t.name, secondary: t.institution_url }),
393
+ /* @__PURE__ */ e(M, { name: "launch" })
394
+ ] }) }),
395
+ /* @__PURE__ */ e(v, {})
396
+ ] }),
397
+ n && /* @__PURE__ */ e(
398
+ Z,
399
+ {
400
+ loadWidgetProps: { current_member_guid: t.guid },
401
+ onClose: () => o(!1),
402
+ showConnectWidget: n,
403
+ title: r.manage_connection
404
+ }
405
+ )
406
+ ] });
407
+ }, Rt = E(Ot), Pt = ({ field: n, isOpen: o, onClose: t }) => {
408
+ const { updateAccount: r } = z(), { selectedAccount: c } = y(), { accounts: l } = S(), [s, _] = u.useState(c[n.name]), [i, f] = u.useState(""), [b, a] = u.useState(!0), C = () => {
409
+ _(""), f(""), t();
410
+ }, T = () => {
411
+ switch (n.type) {
412
+ case P.Select:
413
+ return /* @__PURE__ */ d(ht, { fullWidth: !0, children: [
414
+ /* @__PURE__ */ e(gt, { id: `${n.label}-select-label`, children: n.label }),
415
+ /* @__PURE__ */ d(
416
+ ft,
417
+ {
418
+ id: `${n.label}-select`,
419
+ inputProps: {
420
+ sx: {
421
+ backgroundColor: "background.paper"
422
+ }
423
+ },
424
+ label: n.label,
425
+ labelId: `${n.label}-select-label`,
426
+ onChange: (m) => _(m.target.value),
427
+ renderValue: (m) => m.length === 0 ? /* @__PURE__ */ e("em", { children: n.placeholder }) : m.join(","),
428
+ value: s,
429
+ children: [
430
+ /* @__PURE__ */ e(H, { disabled: !0, value: "", children: /* @__PURE__ */ e("em", { children: n.placeholder }) }),
431
+ n.options?.map((m) => /* @__PURE__ */ e(H, { value: m.value, children: m.label }, m.value))
432
+ ]
433
+ }
434
+ )
435
+ ] });
436
+ case P.Currency:
437
+ return /* @__PURE__ */ e(
438
+ At,
439
+ {
440
+ amount: s || "",
441
+ ariaLabel: n.placeholder,
442
+ fullWidth: !0,
443
+ label: n.label,
444
+ placeholder: n.placeholder,
445
+ setAmount: _,
446
+ setHasValidInput: a
447
+ }
448
+ );
449
+ case P.Date:
450
+ return /* @__PURE__ */ e(Ct, { dateAdapter: mt, children: /* @__PURE__ */ e(
451
+ pt,
452
+ {
453
+ maxDate: ut(/* @__PURE__ */ new Date(), 1),
454
+ minDate: /* @__PURE__ */ new Date(),
455
+ onChange: (m) => {
456
+ c[n.name] && Number(c[n.name]) <= 31 ? _(m.getDate()) : _(m);
457
+ },
458
+ sx: {
459
+ "& .MuiPickersDay-today": {
460
+ color: "primary.light"
461
+ },
462
+ "& .MuiPickersArrowSwitcher-button": {
463
+ color: "primary.light",
464
+ "&:hover": {
465
+ backgroundColor: (m) => _t(m.palette.primary.light, 0.1)
466
+ }
467
+ }
468
+ },
469
+ views: ["day"]
470
+ }
471
+ ) });
472
+ default:
473
+ return /* @__PURE__ */ e(
474
+ bt,
475
+ {
476
+ defaultValue: c[n.name],
477
+ error: !!i,
478
+ fullWidth: !0,
479
+ helperText: i,
480
+ inputProps: {
481
+ "aria-label": n.placeholder
482
+ },
483
+ onChange: L,
484
+ placeholder: n.placeholder
485
+ }
486
+ );
487
+ }
488
+ }, x = () => {
489
+ c[n.name] !== s && r({
490
+ ...c,
491
+ [n.name]: s
492
+ }), C();
493
+ }, L = (m) => {
494
+ _(m.target.value), n.validation && f(n.validation(m.target.value));
495
+ };
496
+ return /* @__PURE__ */ e(
497
+ V,
498
+ {
499
+ copy: {
500
+ close_aria: l.close_aria,
501
+ title: h(l.edit_field, n.label)
502
+ },
503
+ disablePrimaryButton: !!i || !b,
504
+ isOpen: o,
505
+ onClose: C,
506
+ onPrimaryAction: x,
507
+ primaryText: l.save,
508
+ children: T()
509
+ }
510
+ );
511
+ }, Ft = E(Pt), Ut = () => {
512
+ const n = window.app?.config, { onEvent: o } = O(), { selectedAccount: t } = y(), { accounts: r } = S(), c = Dt(t, r), l = t.member_is_managed_by_user || !t.member_is_managed_by_user && n.enable_renaming_home_accounts, [s, _] = u.useState(!1), [i, f] = u.useState(c[0]), b = c.filter(
513
+ (a) => l || t[a.name] || t[a.name] === 0
514
+ );
515
+ return /* @__PURE__ */ d(g, { children: [
516
+ b.map((a) => {
517
+ const C = t[a.name] || t[a.name] === 0, T = b.indexOf(a) === b.length - 1, x = /* @__PURE__ */ e(
518
+ w,
519
+ {
520
+ disableTypography: !0,
521
+ primary: /* @__PURE__ */ e(D, { sx: { fontSize: 11 }, children: a.label }),
522
+ secondary: /* @__PURE__ */ e(D, { bold: !0, sx: { fontSize: 15 }, children: C ? a.valueFormatter(t[a.name]) : a.placeholder })
523
+ }
524
+ );
525
+ return /* @__PURE__ */ e(u.Fragment, { children: l ? /* @__PURE__ */ d(g, { children: [
526
+ /* @__PURE__ */ e(I, { sx: { backgroundColor: "background.paper", px: 0 }, children: /* @__PURE__ */ d(
527
+ N,
528
+ {
529
+ onClick: () => {
530
+ f(a), _(!0), a?.event && o(a.event, { account_guid: t.guid });
531
+ },
532
+ children: [
533
+ x,
534
+ /* @__PURE__ */ e(M, { name: "chevron_right" })
535
+ ]
536
+ }
537
+ ) }),
538
+ /* @__PURE__ */ e(v, { sx: { ml: T ? 0 : 24 } })
539
+ ] }) : C && /* @__PURE__ */ d(g, { children: [
540
+ /* @__PURE__ */ e(I, { sx: { backgroundColor: "background.paper", px: 24 }, children: x }),
541
+ /* @__PURE__ */ e(v, { sx: { ml: T ? 0 : 24 } })
542
+ ] }) }, a.name);
543
+ }),
544
+ s && i && /* @__PURE__ */ e(
545
+ Ft,
546
+ {
547
+ field: i,
548
+ isOpen: s,
549
+ onClose: () => _(!1)
550
+ }
551
+ )
552
+ ] });
553
+ }, Wt = E(Ut), $t = () => {
554
+ const { onEvent: n } = O();
555
+ return u.useEffect(() => n(k.ACCOUNT_DETAILS_VIEW), []), /* @__PURE__ */ d($, { children: [
556
+ /* @__PURE__ */ e(Wt, {}),
557
+ /* @__PURE__ */ e(Rt, {}),
558
+ /* @__PURE__ */ e(Nt, {})
559
+ ] });
560
+ }, Vt = E($t), zt = ({ setTabValue: n }) => {
561
+ const [o, t] = u.useState(!1), { selectedMember: r } = y(), { accounts: c, connect: l } = S(), s = r.connection_status && Q.includes(r.connection_status);
562
+ if (u.useEffect(() => {
563
+ s && n(1);
564
+ }, [s]), !s) return;
565
+ const _ = tt(r, l);
566
+ return /* @__PURE__ */ d(g, { children: [
567
+ /* @__PURE__ */ e(
568
+ St,
569
+ {
570
+ sx: {
571
+ mb: 16,
572
+ mt: 24,
573
+ mx: 24
574
+ },
575
+ children: /* @__PURE__ */ d(
576
+ Tt,
577
+ {
578
+ icon: /* @__PURE__ */ e(q, { filled: !0 }),
579
+ severity: "error",
580
+ sx: {
581
+ borderLeft: 5,
582
+ borderTopLeftRadius: 6,
583
+ borderBottomLeftRadius: 6,
584
+ borderColor: "error.main",
585
+ color: "text.primary",
586
+ "&.MuiPaper-root": {
587
+ backgroundColor: "background.paper"
588
+ }
589
+ },
590
+ children: [
591
+ _.title && /* @__PURE__ */ e(Et, { sx: { fontWeight: 600, marginTop: 2 }, variant: "body1", children: _.title }),
592
+ /* @__PURE__ */ e(D, { component: "p", sx: { whiteSpace: "wrap" }, variant: "subtitle2", children: _.main }),
593
+ _.cta && /* @__PURE__ */ e(
594
+ yt,
595
+ {
596
+ onClick: () => t(!0),
597
+ sx: { fontSize: 15, fontWeight: 600, ml: 0 },
598
+ children: _.cta
599
+ }
600
+ )
601
+ ]
602
+ }
603
+ )
604
+ }
605
+ ),
606
+ o && /* @__PURE__ */ e(
607
+ Z,
608
+ {
609
+ loadWidgetProps: { current_member_guid: r.guid },
610
+ onClose: () => t(!1),
611
+ showConnectWidget: o,
612
+ title: c.manage_connection
613
+ }
614
+ )
615
+ ] });
616
+ }, jt = E(zt), Bt = () => {
617
+ const [n, o] = u.useState(""), { onEvent: t } = O(), { selectedAccount: r } = y(), { accounts: c } = S(), { isTransactionDataLoaded: l, loadTransactionData: s, setFilter: _, sortedTransactions: i } = J();
618
+ u.useEffect(() => {
619
+ l || s().finally();
620
+ }, []);
621
+ const f = u.useMemo(
622
+ () => i.find((b) => b.guid === n),
623
+ [n, i]
624
+ );
625
+ return u.useEffect(() => {
626
+ _({
627
+ dateRange: { start: wt(kt(), 90), end: xt() },
628
+ accounts: [r.guid]
629
+ });
630
+ }, [r]), u.useEffect(() => t(k.ACCOUNT_DETAILS_VIEW_TRANSACTIONS), []), /* @__PURE__ */ d(g, { children: [
631
+ /* @__PURE__ */ e(Mt, { onClick: o }),
632
+ f && /* @__PURE__ */ e(
633
+ X,
634
+ {
635
+ ariaLabelClose: c.close_drawer,
636
+ isOpen: !!n,
637
+ onClose: () => o(""),
638
+ title: c.transaction_drawer_title,
639
+ children: /* @__PURE__ */ e(vt, { transaction: f })
640
+ }
641
+ )
642
+ ] });
643
+ }, Gt = E(Bt), Ht = () => {
644
+ const [n, o] = u.useState(0), { accounts: t } = S();
645
+ return /* @__PURE__ */ d(g, { children: [
646
+ /* @__PURE__ */ e(jt, { setTabValue: o }),
647
+ /* @__PURE__ */ d(
648
+ nt,
649
+ {
650
+ "aria-label": t.transactions_and_details_aria,
651
+ centered: !0,
652
+ onChange: (r, c) => o(c),
653
+ textColor: "primary",
654
+ value: n,
655
+ variant: "fullWidth",
656
+ children: [
657
+ /* @__PURE__ */ e(
658
+ j,
659
+ {
660
+ "aria-controls": "transaction-details-tabpanel-0",
661
+ id: "transaction-details-tab-0",
662
+ label: t.transactions
663
+ }
664
+ ),
665
+ /* @__PURE__ */ e(
666
+ j,
667
+ {
668
+ "aria-controls": "account-details-tabpanel-1",
669
+ id: "account-details-tab-1",
670
+ label: t.account_details
671
+ }
672
+ )
673
+ ]
674
+ }
675
+ ),
676
+ /* @__PURE__ */ e(K, { index: 0, name: "transaction-details", value: n, children: /* @__PURE__ */ e(Gt, {}) }),
677
+ /* @__PURE__ */ e(K, { index: 1, name: "account-details", value: n, children: /* @__PURE__ */ e(Vt, {}) })
678
+ ] });
679
+ }, $e = E(Ht);
680
+ export {
681
+ $e as A,
682
+ It as u
683
+ };