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

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 (203) hide show
  1. package/CHANGELOG.md +178 -1
  2. package/dist/{Account-Bxw0_4FU.mjs → Account-CvR2-dSR.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CAM9y39M.mjs → AccountDetailsContent-CitErkuS.mjs} +89 -82
  4. package/dist/AccountDetailsHeader-BkG3MNYo.mjs +87 -0
  5. package/dist/{AccountFields-C9FlatNb.mjs → AccountFields-zCMqet85.mjs} +6 -6
  6. package/dist/{AccountListItem-JFMZROh7.mjs → AccountListItem-DHrz8Mml.mjs} +9 -9
  7. package/dist/{AccountStore-BgNOyMdp.mjs → AccountStore-LgfBcYMe.mjs} +112 -75
  8. package/dist/Accounts-Bzy1_REQ.mjs +9 -0
  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-BmZXkL0C.mjs} +2 -2
  12. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-B-I3kajA.mjs} +23 -21
  13. package/dist/CategoryStore-CA3tS1BO.mjs +186 -0
  14. package/dist/CategoryUtil-DUM8NuGO.mjs +78 -0
  15. package/dist/{ConnectDrawer-BQNs-hjk.mjs → ConnectDrawer-BkvlItWx.mjs} +11 -11
  16. package/dist/{ConnectionsDrawer-ByGQE7D5.mjs → ConnectionsDrawer-VmuVFHbL.mjs} +5 -5
  17. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-itK0R3wV.mjs} +2 -2
  18. package/dist/{CurrencyText-kyC1aseI.mjs → CurrencyText-Dr0EZ7bp.mjs} +1 -1
  19. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  20. package/dist/{DebtsStore-C9bblOgW.mjs → DebtsStore-Bq-aPy-5.mjs} +1 -1
  21. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  22. package/dist/{Donut-oaQFlbit.mjs → Donut-Dmy3JTWd.mjs} +12 -12
  23. package/dist/Drawer-By9V-B5L.mjs +178 -0
  24. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  25. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-Cglo8Mca.mjs} +3 -3
  26. package/dist/{Fetch-87LIQbEA.mjs → Fetch-DecPFeGU.mjs} +24 -22
  27. package/dist/FinstrongStore-BIrX0Xg2.mjs +451 -0
  28. package/dist/{GoalStore-D-aB35SY.mjs → GoalStore-1P19goZ7.mjs} +112 -152
  29. package/dist/{Help-B6dIcujh.mjs → Help-Ea3BlXQp.mjs} +2 -2
  30. package/dist/LineChart-KpPw1phO.mjs +580 -0
  31. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-BxTkF6Tz.mjs} +10 -10
  32. package/dist/{ManageIncome-1s_q5W4X.mjs → ManageIncome-CaoQl609.mjs} +91 -88
  33. package/dist/{MerchantStore-DrFvsUyy.mjs → MerchantStore-WvZ4gnQe.mjs} +1 -1
  34. package/dist/MicroWidgetContainer-r6mtxRer.mjs +52 -0
  35. package/dist/MiniWidgetContainer-Bg02sF1Y.mjs +71 -0
  36. package/dist/{NetWorthStore-DCsTZpuS.mjs → NetWorthStore-rC0q7P7t.mjs} +2 -2
  37. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-uzM8tCoH.mjs} +236 -231
  38. package/dist/{NotificationStore-BxP_P2dA.mjs → NotificationStore-CDX_kqHa.mjs} +7 -15
  39. package/dist/{NumberFormatting-Buh7u8Oi.mjs → NumberFormatting-DjTD0t3W.mjs} +9 -9
  40. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-C6jdS4ws.mjs} +4 -4
  41. package/dist/{RecurringSettings-A_rAGCTP.mjs → RecurringSettings-B4ybrS0B.mjs} +4 -4
  42. package/dist/{RecurringTransactions-DK8dWldr.mjs → RecurringTransactions-BqijW_8S.mjs} +49 -48
  43. package/dist/{RecurringTransactionsStore-C4YOD7_D.mjs → RecurringTransactionsStore-BhBUVm9a.mjs} +26 -29
  44. package/dist/{SettingsStore-BcgS_Ohv.mjs → SettingsStore-krIRNwHK.mjs} +3 -3
  45. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-DQ1b9uqq.mjs} +11 -13
  46. package/dist/SpendingLegend-CDO060GT.mjs +193 -0
  47. package/dist/{ToggleListItem-r0Kx56wF.mjs → ToggleListItem-ciFTiqRS.mjs} +19 -14
  48. package/dist/TransactionApi-CjBoLleL.mjs +86 -0
  49. package/dist/TransactionDetails-m5PddMQn.mjs +1380 -0
  50. package/dist/TransactionStore-PRlwE-TF.mjs +677 -0
  51. package/dist/TrendsStore-yO7qYv97.mjs +186 -0
  52. package/dist/{User-BQUxBeZV.mjs → User-Cnlegl1N.mjs} +2 -2
  53. package/dist/{ViewMoreMicroCard-SCn2wt4i.mjs → ViewMoreMicroCard-DwR0v_ll.mjs} +711 -728
  54. package/dist/{WidgetContainer-BHWANqT4.mjs → WidgetContainer-CoFDmQRE.mjs} +4 -4
  55. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  56. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart.d.ts +4 -1
  57. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader.d.ts +2 -1
  58. package/dist/accounts/index.es.js +245 -235
  59. package/dist/accounts/stores/AccountStore.d.ts +24 -25
  60. package/dist/accounts/utils/Accounts.d.ts +1 -2
  61. package/dist/analytics/index.es.js +2 -2
  62. package/dist/budgets/components/AddBudgets.d.ts +2 -1
  63. package/dist/budgets/index.es.js +611 -580
  64. package/dist/budgets/store/BudgetsStore.d.ts +0 -1
  65. package/dist/cashflow/index.es.js +187 -180
  66. package/dist/categories/index.es.js +2 -2
  67. package/dist/categories/stores/CategoryStore.d.ts +2 -5
  68. package/dist/categories/util/CategoryUtil.d.ts +2 -3
  69. package/dist/common/components/Select.d.ts +4 -2
  70. package/dist/common/components/charts/LineChart.d.ts +12 -2
  71. package/dist/common/components/charts/index.d.ts +0 -3
  72. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  73. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  74. package/dist/common/components/charts/linechart/CustomTooltip.d.ts +6 -1
  75. package/dist/common/components/charts/stackedlinechart/CustomPointTooltip.d.ts +5 -2
  76. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  77. package/dist/common/components/drawer/Footer.d.ts +17 -0
  78. package/dist/common/hooks/index.d.ts +1 -0
  79. package/dist/common/hooks/useWidgetLoadTimer.d.ts +6 -0
  80. package/dist/common/index.es.js +397 -387
  81. package/dist/common/stores/AppDataStore.d.ts +1 -3
  82. package/dist/common/stores/GlobalCopyStore.d.ts +1 -0
  83. package/dist/common/stores/GlobalStore.d.ts +10 -4
  84. package/dist/common/stores/GlobalUiStore.d.ts +2 -3
  85. package/dist/common/stores/UserStore.d.ts +2 -3
  86. package/dist/common/types/Account.d.ts +6 -9
  87. package/dist/common/types/Finstrong.d.ts +54 -0
  88. package/dist/common/types/Global.d.ts +1 -0
  89. package/dist/common/types/Widgets.d.ts +1 -0
  90. package/dist/common/types/index.d.ts +1 -1
  91. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  92. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  93. package/dist/common/types/localization/TransactionsCopy.d.ts +1 -0
  94. package/dist/dashboard/index.es.js +90 -88
  95. package/dist/debts/index.es.js +458 -448
  96. package/dist/exportTransactionsToCSV-DuAaI5XA.mjs +48 -0
  97. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  98. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  99. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  100. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  101. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  102. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  103. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  104. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  105. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  106. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  107. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  108. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  109. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  110. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  111. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  112. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  113. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  114. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  115. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  116. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  117. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  118. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  119. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  120. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  121. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  122. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  123. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  124. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  125. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  126. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  127. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  128. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  129. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  130. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  131. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  132. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  133. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  134. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +24 -0
  135. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  136. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  137. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  138. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  139. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  140. package/dist/finstrong/constants/index.d.ts +9 -0
  141. package/dist/finstrong/index.es.js +3190 -1073
  142. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  143. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  144. package/dist/goals/index.es.js +302 -291
  145. package/dist/goals/stores/GoalStore.d.ts +4 -17
  146. package/dist/help/index.es.js +13 -9
  147. package/dist/{hooks-D6XlXHf4.mjs → hooks-ZMp65DFz.mjs} +12 -12
  148. package/dist/insights/index.es.js +1 -1
  149. package/dist/investments/index.es.js +108 -104
  150. package/dist/investments/stores/HoldingStore.d.ts +0 -1
  151. package/dist/merchants/index.es.js +2 -2
  152. package/dist/microinsights/MicroCardTemplate.d.ts +16 -0
  153. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  154. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  155. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  156. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  157. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  158. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  159. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  160. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  161. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  162. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  163. package/dist/microinsights/constants/App.d.ts +0 -1
  164. package/dist/microinsights/index.d.ts +4 -3
  165. package/dist/microinsights/index.es.js +101 -14
  166. package/dist/microinsights/interfaces.d.ts +0 -6
  167. package/dist/networth/index.es.js +197 -190
  168. package/dist/notifications/index.es.js +25 -25
  169. package/dist/notifications/stores/NotificationStore.d.ts +1 -3
  170. package/dist/recurringtransactions/index.es.js +395 -351
  171. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +2 -3
  172. package/dist/settings/index.es.js +307 -298
  173. package/dist/spending/index.es.js +299 -438
  174. package/dist/spending/utils/SpendingData.d.ts +2 -1
  175. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  176. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  177. package/dist/transactions/index.es.js +115 -112
  178. package/dist/transactions/stores/TransactionStore.d.ts +77 -21
  179. package/dist/trends/components/TrendsTable.d.ts +0 -2
  180. package/dist/trends/index.es.js +1025 -604
  181. package/dist/trends/utils/TrendsData.d.ts +1 -0
  182. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-B7iXTNM8.mjs} +2 -2
  183. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-CRwX-qWE.mjs} +1 -1
  184. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-B7dxpDrX.mjs} +1 -1
  185. package/dist/useWidgetLoadTimer-hIOioiKx.mjs +19 -0
  186. package/package.json +4 -4
  187. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  188. package/dist/Accounts-BRf_YeTf.mjs +0 -27
  189. package/dist/CategoryStore-yHI0hWmK.mjs +0 -174
  190. package/dist/CategoryUtil-pZRIYOgN.mjs +0 -80
  191. package/dist/Drawer-kEE73B87.mjs +0 -113
  192. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  193. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  194. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  195. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  196. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  197. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  198. package/dist/TransactionStore-ai3uII_r.mjs +0 -690
  199. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  200. package/dist/common/components/SkeletonLoader.d.ts +0 -7
  201. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  202. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  203. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,125 +1,130 @@
1
- import { jsxs as i, jsx as e } from "react/jsx-runtime";
2
- import d from "react";
3
- import { observer as x } from "mobx-react-lite";
4
- import u from "@mui/material/Stack";
1
+ import { jsx as e, jsxs as r, Fragment as J } from "react/jsx-runtime";
2
+ import h from "react";
3
+ import { observer as v } from "mobx-react-lite";
4
+ import E from "@mui/material/Box";
5
+ import y from "@mui/material/Divider";
6
+ import F from "@mui/material/List";
7
+ import O from "@mui/material/ListSubheader";
8
+ import Z from "@mui/system/Stack";
5
9
  import { Text as g } from "@mxenabled/mxui";
6
- import s from "@mui/material/Skeleton";
7
- import O from "@mui/material/Box";
8
- import b from "@mui/material/Divider";
9
- import B from "@mui/material/List";
10
- import I from "@mui/material/ListSubheader";
11
- import S from "@mui/system/Stack";
12
- import { A as P } from "../AccountDetailsContent-CAM9y39M.mjs";
13
- import { u as U1 } from "../AccountDetailsContent-CAM9y39M.mjs";
14
- import { u as Y, A as q } from "../AccountDetailsHeader-JtSX6Uf9.mjs";
15
- import { A as W } from "../AccountListItem-JFMZROh7.mjs";
16
- import { a as J } from "../AccountFields-C9FlatNb.mjs";
17
- import { g as j1, b as G1 } from "../AccountFields-C9FlatNb.mjs";
18
- import { u as A, b as F, d as D, g as U, a as Q } from "../hooks-D6XlXHf4.mjs";
19
- import { f as N } from "../NumberFormatting-Buh7u8Oi.mjs";
20
- import { D as X } from "../Drawer-kEE73B87.mjs";
21
- import { A as k, W as e1 } from "../WidgetContainer-BHWANqT4.mjs";
22
- import { C as t1 } from "../ConnectionsDrawer-ByGQE7D5.mjs";
23
- import { u as $ } from "../useScreenSize-B6JyS_Lj.mjs";
24
- import { L as T } from "../Loader-DUaFpDGv.mjs";
25
- import { l as j, m as i1 } from "../ConnectDrawer-BQNs-hjk.mjs";
26
- import { F as z1, f as P1 } from "../ConnectDrawer-BQNs-hjk.mjs";
27
- import l1 from "@mui/material/ListItem";
28
- import { M as G } from "../MiniWidgetContainer-D0gfmbaF.mjs";
29
- import { A as q1, a as J1 } from "../AccountStore-BgNOyMdp.mjs";
30
- const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [...Array.isArray(n) ? n : [n]], children: [
31
- r === "list" && /* @__PURE__ */ i(u, { gap: 24, children: [
32
- /* @__PURE__ */ e(s, { height: 25, variant: "rounded", width: 150 }),
33
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
34
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
35
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" })
36
- ] }),
37
- r === "card" && /* @__PURE__ */ i(u, { gap: 24, children: [
38
- /* @__PURE__ */ e(s, { height: 50, variant: "rounded" }),
39
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
40
- /* @__PURE__ */ e(s, { height: 300, variant: "rounded", width: "20%" }),
41
- /* @__PURE__ */ e(s, { height: 300, variant: "rounded", width: "80%" })
42
- ] })
43
- ] }),
44
- r === "dashboard" && /* @__PURE__ */ i(u, { gap: 24, children: [
45
- /* @__PURE__ */ e(s, { height: 75, variant: "rounded" }),
46
- /* @__PURE__ */ i(u, { gap: 24, children: [
47
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
48
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
49
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
50
- ] }),
51
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
52
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
53
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
54
- ] }),
55
- /* @__PURE__ */ i(u, { direction: "row", gap: 24, children: [
56
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "75%" }),
57
- /* @__PURE__ */ e(s, { height: 250, variant: "rounded", width: "25%" })
58
- ] })
59
- ] })
60
- ] })
61
- ] }), n1 = () => {
62
- const [n, r] = d.useState(""), { accounts: C } = A(), { selectedAccounts: l } = F(), { setSelectedAccount: f, setSelectedMember: L } = Y(), { members: V } = D(), { onEvent: h } = U(), v = [...new Set(l.map((t) => t.account_type))], H = l.find((t) => n === t.guid), c = d.useMemo(
63
- () => l.filter((t) => t.is_hidden),
64
- [l]
65
- ), p = d.useMemo(
66
- () => l.filter((t) => t.is_closed),
67
- [l]
68
- ), R = c.reduce(
69
- (t, o) => (o.available_balance || o.balance || 0) + t,
10
+ import { useTheme as Q } from "@mui/material/styles";
11
+ import { u as U, A as X } from "../AccountDetailsHeader-BkG3MNYo.mjs";
12
+ import { L as e1 } from "../LineChart-KpPw1phO.mjs";
13
+ import { g as t1, a as n1, b as l1 } from "../SpendingData-DQ1b9uqq.mjs";
14
+ import { m as i1, u as M, b as S, d as W, g as P, a as o1 } from "../hooks-ZMp65DFz.mjs";
15
+ import { A as I, l as G, m as C1 } from "../ConnectDrawer-BkvlItWx.mjs";
16
+ import { F as C3, M as d3 } from "../ConnectDrawer-BkvlItWx.mjs";
17
+ import { I as $, P as j, S as Y } from "../Account-CvR2-dSR.mjs";
18
+ import { a as d1 } from "../AccountFields-zCMqet85.mjs";
19
+ import { g as s3, b as a3 } from "../AccountFields-zCMqet85.mjs";
20
+ import { A as N } from "../AccountListItem-DHrz8Mml.mjs";
21
+ import { A as c1 } from "../AccountDetailsContent-CitErkuS.mjs";
22
+ import { u as L3 } from "../AccountDetailsContent-CitErkuS.mjs";
23
+ import { f as D } from "../NumberFormatting-DjTD0t3W.mjs";
24
+ import { D as s1 } from "../Drawer-By9V-B5L.mjs";
25
+ import { A as x, W as a1 } from "../WidgetContainer-CoFDmQRE.mjs";
26
+ import { C as r1 } from "../ConnectionsDrawer-VmuVFHbL.mjs";
27
+ import { u as K } from "../useScreenSize-B6JyS_Lj.mjs";
28
+ import { u as B } from "../useWidgetLoadTimer-hIOioiKx.mjs";
29
+ import { L as w } from "../Loader-DUaFpDGv.mjs";
30
+ import L1 from "@mui/material/ListItem";
31
+ import { M as z } from "../MiniWidgetContainer-Bg02sF1Y.mjs";
32
+ import u1 from "@mui/material/Stack";
33
+ import { A as h3, a as H3 } from "../AccountStore-LgfBcYMe.mjs";
34
+ const h1 = (o, C) => {
35
+ const l = $.includes(C) ? t1(o) : [], t = j.includes(C) ? n1(o) : [], L = Y.includes(C) ? l1(o) : [];
36
+ return [l, t, L].filter((i) => i.length > 0);
37
+ }, H1 = (o, C, l) => {
38
+ const [t, L] = o, i = t, d = L ?? t, s = [];
39
+ if (i && d && $.includes(C)) {
40
+ const c = i[i.length - 1].y;
41
+ s.push({ label: l.income_label, amount: c });
42
+ } else if (j.includes(C)) {
43
+ const c = i[i.length - 1].y;
44
+ s.push({ label: l.payments_label, amount: c });
45
+ }
46
+ if (d && Y.includes(C)) {
47
+ const c = d[d.length - 1].y;
48
+ s.push({ label: l.spending_label, amount: c });
49
+ }
50
+ return s;
51
+ }, p1 = () => {
52
+ const o = Q(), { selectedAccount: C } = U(), { monthlyCategoryTotals: l } = i1(), { trends: t } = M(), L = [o.palette.chart?.chart1, o.palette.chart?.chart2], i = h1(l, C.account_type), d = H1(i, C.account_type, t), s = [I.LOAN, I.MORTGAGE].includes(C.account_type);
53
+ return /* @__PURE__ */ e("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ e(
54
+ e1,
55
+ {
56
+ colors: L,
57
+ datasets: i,
58
+ height: 185,
59
+ labels: d,
60
+ showAverage: s,
61
+ showBars: s,
62
+ showLegend: !0,
63
+ valueFormatterString: "0,0"
64
+ }
65
+ ) });
66
+ }, m1 = v(p1), f1 = () => {
67
+ const [o, C] = h.useState(""), { accounts: l } = M(), { selectedAccounts: t } = S(), { setSelectedAccount: L, setSelectedMember: i } = U(), { members: d } = W(), { onEvent: s } = P(), c = [...new Set(t.map((n) => n.account_type))], H = t.find((n) => o === n.guid), p = h.useMemo(
68
+ () => t.filter((n) => n.is_hidden),
69
+ [t]
70
+ ), m = h.useMemo(
71
+ () => t.filter((n) => n.is_closed),
72
+ [t]
73
+ ), R = p.reduce(
74
+ (n, a) => (a.available_balance || a.balance || 0) + n,
70
75
  0
71
- ), M = J(p, C);
72
- d.useEffect(() => {
76
+ ), b = d1(m, l);
77
+ h.useEffect(() => {
73
78
  if (H) {
74
- f(H);
75
- const t = V.find((o) => o.guid === H?.member_guid) || {};
76
- t && L(t);
79
+ L(H);
80
+ const n = d.find((a) => a.guid === H?.member_guid) || {};
81
+ n && i(n);
77
82
  }
78
- }, [H, n]);
79
- const _ = (t) => {
80
- r(t.guid), h(k.ACCOUNTS_CLICK_ACCOUNT, {
81
- account_guid: t.guid,
82
- account_type: t.account_type
83
+ }, [H, o]);
84
+ const _ = (n) => {
85
+ C(n.guid), s(x.ACCOUNTS_CLICK_ACCOUNT, {
86
+ account_guid: n.guid,
87
+ account_type: n.account_type
83
88
  });
84
- }, w = (t) => {
85
- const o = t === "hidden" ? c : p, Z = t === "hidden" ? R : M, a = t === "hidden" ? C.account_hidden : C.account_closed;
86
- return /* @__PURE__ */ e(O, { children: /* @__PURE__ */ e(
87
- B,
89
+ }, V = (n) => {
90
+ const a = n === "hidden" ? p : m, k = n === "hidden" ? R : b, u = n === "hidden" ? l.account_hidden : l.account_closed;
91
+ return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
92
+ F,
88
93
  {
89
- "aria-label": a,
90
- subheader: /* @__PURE__ */ e(I, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ i(
91
- S,
94
+ "aria-label": u,
95
+ subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ r(
96
+ Z,
92
97
  {
93
98
  component: "span",
94
99
  direction: "row",
95
100
  sx: { justifyContent: "space-between", color: "grey.700" },
96
101
  children: [
97
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: a }),
98
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: N(Z, "0,0.00") })
102
+ /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: u }),
103
+ /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: D(k, "0,0.00") })
99
104
  ]
100
105
  }
101
106
  ) }),
102
- children: /* @__PURE__ */ e(S, { children: o.map((m, y, z) => {
103
- const E = y === z.length - 1;
104
- return /* @__PURE__ */ i(d.Fragment, { children: [
107
+ children: /* @__PURE__ */ e(Z, { children: a.map((f, A, q) => {
108
+ const T = A === q.length - 1;
109
+ return /* @__PURE__ */ r(h.Fragment, { children: [
105
110
  /* @__PURE__ */ e(
106
- W,
111
+ N,
107
112
  {
108
- account: m,
109
- onRowClick: () => _(m),
113
+ account: f,
114
+ onRowClick: () => _(f),
110
115
  shouldShowConnectionStatus: !0
111
116
  }
112
117
  ),
113
- t === "hidden" ? /* @__PURE__ */ e(
114
- b,
118
+ n === "hidden" ? /* @__PURE__ */ e(
119
+ y,
115
120
  {
116
121
  sx: {
117
- mb: E ? 24 : 4,
118
- ml: E ? 24 : 68
122
+ mb: T ? 24 : 4,
123
+ ml: T ? 24 : 68
119
124
  }
120
125
  }
121
- ) : !E && /* @__PURE__ */ e(
122
- b,
126
+ ) : !T && /* @__PURE__ */ e(
127
+ y,
123
128
  {
124
129
  sx: {
125
130
  mb: 4,
@@ -127,168 +132,170 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
127
132
  }
128
133
  }
129
134
  )
130
- ] }, m.guid);
135
+ ] }, f.guid);
131
136
  }) })
132
137
  }
133
138
  ) });
134
139
  };
135
- return /* @__PURE__ */ i(O, { sx: { pt: 24 }, children: [
136
- v.map((t) => {
137
- const o = l.filter(
138
- (a) => a.account_type === t && !a.is_closed && !a.is_hidden
139
- ), Z = o.reduce(
140
- (a, m) => (m.balance || 0) + a,
140
+ return /* @__PURE__ */ r(E, { sx: { pt: 24 }, children: [
141
+ c.map((n) => {
142
+ const a = t.filter(
143
+ (u) => u.account_type === n && !u.is_closed && !u.is_hidden
144
+ ), k = a.reduce(
145
+ (u, f) => (f.balance || 0) + u,
141
146
  0
142
147
  );
143
- return o.length === 0 ? null : /* @__PURE__ */ e(
144
- B,
148
+ return a.length === 0 ? null : /* @__PURE__ */ e(
149
+ F,
145
150
  {
146
- "aria-label": C.account_type_accounts[o[0]?.account_type],
147
- subheader: /* @__PURE__ */ e(I, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ i(
148
- S,
151
+ "aria-label": l.account_type_accounts[a[0]?.account_type],
152
+ subheader: /* @__PURE__ */ e(O, { component: "h2", sx: { backgroundColor: "transparent", px: 24 }, children: /* @__PURE__ */ r(
153
+ Z,
149
154
  {
150
155
  component: "span",
151
156
  direction: "row",
152
157
  sx: { display: "flex", justifyContent: "space-between" },
153
158
  children: [
154
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: C.account_types[t] }),
155
- /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: N(Z, "0,0.00") })
159
+ /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: l.account_types[n] }),
160
+ /* @__PURE__ */ e(g, { bold: !0, variant: "Body", children: D(k, "0,0.00") })
156
161
  ]
157
162
  }
158
163
  ) }),
159
- children: /* @__PURE__ */ e(S, { children: o.map((a) => {
160
- const m = l.indexOf(a) === l.length - 1, y = o.indexOf(a) === o.length - 1;
161
- return /* @__PURE__ */ i(d.Fragment, { children: [
164
+ children: /* @__PURE__ */ e(Z, { children: a.map((u) => {
165
+ const f = t.indexOf(u) === t.length - 1, A = a.indexOf(u) === a.length - 1;
166
+ return /* @__PURE__ */ r(h.Fragment, { children: [
162
167
  /* @__PURE__ */ e(
163
- W,
168
+ N,
164
169
  {
165
- account: a,
166
- onRowClick: () => _(a),
170
+ account: u,
171
+ onRowClick: () => _(u),
167
172
  shouldShowConnectionStatus: !0
168
173
  }
169
174
  ),
170
- (!m || p.length > 0 || c.length > 0) && /* @__PURE__ */ e(
171
- b,
175
+ (!f || m.length > 0 || p.length > 0) && /* @__PURE__ */ e(
176
+ y,
172
177
  {
173
178
  sx: {
174
- mb: y ? 24 : 4,
175
- ml: y ? 24 : 68
179
+ mb: A ? 24 : 4,
180
+ ml: A ? 24 : 68
176
181
  }
177
182
  }
178
183
  )
179
- ] }, a.guid);
184
+ ] }, u.guid);
180
185
  }) })
181
186
  },
182
- t
187
+ n
183
188
  );
184
189
  }),
185
- c.length > 0 && w("hidden"),
186
- p.length > 0 && w("closed"),
187
- /* @__PURE__ */ i(
188
- X,
190
+ p.length > 0 && V("hidden"),
191
+ m.length > 0 && V("closed"),
192
+ /* @__PURE__ */ r(
193
+ s1,
189
194
  {
190
- ariaLabelClose: C.close_account_details_aria,
191
- isOpen: !!n,
192
- onClose: () => r(""),
193
- title: C.account_details,
195
+ ariaLabelClose: l.close_account_details_aria,
196
+ isOpen: !!o,
197
+ onClose: () => C(""),
198
+ title: l.account_details,
194
199
  children: [
195
- /* @__PURE__ */ e(q, {}),
196
- /* @__PURE__ */ e(P, {})
200
+ /* @__PURE__ */ e(X, { ChartComponent: m1 }),
201
+ /* @__PURE__ */ e(c1, {})
197
202
  ]
198
203
  }
199
204
  )
200
205
  ] });
201
- }, o1 = x(n1), d1 = ({ onBackClick: n, sx: r = {} }) => {
202
- const [C, l] = d.useState(!1), [f, L] = d.useState(!1), { config: V } = Q(), { detailedAccounts: h, isAccountDataLoaded: v, loadAccountData: H } = D(), { accounts: c, connect: p } = A(), { isInitialized: R, selectedAccountGuids: M, setSelectedAccounts: _ } = F(), { isDesktop: w } = $(), { onEvent: t } = U();
203
- d.useEffect(() => {
204
- v || H().finally();
205
- }, []), d.useEffect(() => {
206
- _(h);
207
- }, [h]);
208
- const o = () => {
209
- l(!0), t(k.ACCOUNTS_CLICK_CONNECT);
210
- }, Z = () => {
211
- L(!0), t(k.ACCOUNTS_CLICK_CONNECT);
206
+ }, V1 = v(f1), g1 = ({ onBackClick: o, sx: C = {} }) => {
207
+ const [l, t] = h.useState(!1), [L, i] = h.useState(!1), { config: d } = o1(), { accounts: s } = W(), { accounts: c, connect: H } = M(), { isCopyLoaded: p, isInitialized: m, setSelectedAccounts: R, selectedAccountGuids: b } = S(), { isDesktop: _ } = K(), { onEvent: V } = P();
208
+ B({
209
+ widgetName: "AccountsWidget",
210
+ isLoaded: m && p
211
+ }), h.useEffect(() => {
212
+ R(s);
213
+ }, [s]);
214
+ const n = () => {
215
+ t(!0), V(x.ACCOUNTS_CLICK_CONNECT);
216
+ }, a = () => {
217
+ i(!0), V(x.ACCOUNTS_CLICK_CONNECT);
212
218
  };
213
- return R ? /* @__PURE__ */ i(
214
- e1,
219
+ return p ? /* @__PURE__ */ e(
220
+ a1,
215
221
  {
216
- accountOptions: h,
217
- actions: V.show_connections_widget_in_master ? [
218
- { iconName: "add", label: c.add, onClick: o },
222
+ accountOptions: s,
223
+ actions: d.show_connections_widget_in_master ? [
224
+ { iconName: "add", label: c.add, onClick: n },
219
225
  {
220
226
  iconName: "credit_card_gear",
221
227
  label: c.manage,
222
- onClick: Z
228
+ onClick: a
223
229
  }
224
230
  ] : [],
225
- onAccountsFilterClick: () => t(k.ACCOUNTS_CLICK_FILTER),
226
- onBackClick: n,
227
- sx: r,
231
+ onAccountsFilterClick: () => V(x.ACCOUNTS_CLICK_FILTER),
232
+ onBackClick: o,
233
+ sx: C,
228
234
  title: c.title,
229
- children: [
230
- v ? /* @__PURE__ */ i(u, { sx: { px: w ? 24 : 12 }, children: [
231
- M.length < 1 && /* @__PURE__ */ e(g, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
232
- /* @__PURE__ */ e(o1, {})
233
- ] }) : /* @__PURE__ */ e(K, { sx: { px: w ? 48 : 24, pt: 24 }, variant: "list" }),
235
+ children: m ? /* @__PURE__ */ r(J, { children: [
236
+ /* @__PURE__ */ r(E, { sx: { px: _ ? 24 : 12 }, children: [
237
+ b.length < 1 && /* @__PURE__ */ e(g, { display: "flex", justifyContent: "center", my: 24, children: c.no_accounts }),
238
+ /* @__PURE__ */ e(V1, {})
239
+ ] }),
234
240
  /* @__PURE__ */ e(
235
- j,
241
+ G,
236
242
  {
237
- onClose: () => l(!1),
238
- showConnectWidget: C,
239
- title: p.mini_title
243
+ onClose: () => t(!1),
244
+ showConnectWidget: l,
245
+ title: H.mini_title
240
246
  }
241
247
  ),
242
248
  /* @__PURE__ */ e(
243
- t1,
249
+ r1,
244
250
  {
245
- onClose: () => L(!1),
246
- showConnectionsWidget: f,
251
+ onClose: () => i(!1),
252
+ showConnectionsWidget: L,
247
253
  title: c.manage_connections
248
254
  }
249
255
  )
250
- ]
256
+ ] }) : /* @__PURE__ */ e(w, {})
251
257
  }
252
- ) : /* @__PURE__ */ e(T, {});
253
- }, D1 = x(d1), C1 = ({ onPrimaryCtaClick: n, sx: r }) => {
254
- const { visibleAccounts: C, isAccountDataLoaded: l, loadAccountData: f } = D(), { accounts: L } = A(), { isInitialized: V, selectedAccounts: h, setSelectedAccounts: v } = F(), { isDesktop: H } = $();
255
- d.useEffect(() => {
256
- l || f().finally();
257
- }, []), d.useEffect(() => {
258
- v(C);
259
- }, [C]);
260
- const c = d.useMemo(
261
- () => i1(h, H ? 5 : 3),
262
- [h, H]
258
+ ) : /* @__PURE__ */ e(w, {});
259
+ }, t3 = v(g1), v1 = ({ onPrimaryCtaClick: o, sx: C }) => {
260
+ const { visibleAccounts: l } = W(), { accounts: t } = M(), { isCopyLoaded: L, isInitialized: i, selectedAccounts: d, setSelectedAccounts: s } = S(), { isDesktop: c } = K();
261
+ B({
262
+ widgetName: "AccountsMiniWidget",
263
+ isLoaded: i
264
+ }), h.useEffect(() => {
265
+ s(l);
266
+ }, [l]);
267
+ const H = h.useMemo(
268
+ () => C1(d, c ? 5 : 3),
269
+ [d, c]
263
270
  );
264
- return V ? /* @__PURE__ */ e(
265
- G,
271
+ return L ? /* @__PURE__ */ e(
272
+ z,
266
273
  {
267
274
  className: "mx-exp-accounts-miniwidget",
268
- onPrimaryCtaClick: n,
269
- primaryCtaLabel: L.primary_cta,
270
- sx: r,
271
- title: L.mini_title,
272
- children: l ? /* @__PURE__ */ i(B, { children: [
273
- h.length === 0 && /* @__PURE__ */ e(l1, { sx: { justifyContent: "center" }, children: L.no_accounts }),
274
- c.map((p, R) => {
275
- const M = c.indexOf(p) === c.length - 1;
276
- return /* @__PURE__ */ i(d.Fragment, { children: [
275
+ onPrimaryCtaClick: o,
276
+ primaryCtaLabel: t.primary_cta,
277
+ sx: C,
278
+ title: t.mini_title,
279
+ children: i ? /* @__PURE__ */ r(F, { children: [
280
+ d.length === 0 && /* @__PURE__ */ e(L1, { sx: { justifyContent: "center" }, children: t.no_accounts }),
281
+ H.map((p, m) => {
282
+ const R = H.indexOf(p) === H.length - 1;
283
+ return /* @__PURE__ */ r(h.Fragment, { children: [
277
284
  /* @__PURE__ */ e(
278
- W,
285
+ N,
279
286
  {
280
287
  account: p,
281
288
  listItemProps: { sx: { px: 24 } },
282
289
  shouldShowConnectionStatus: !0
283
290
  }
284
291
  ),
285
- !M && /* @__PURE__ */ e(b, { "aria-hidden": "true", variant: "inset" })
286
- ] }, `account-item${R}`);
292
+ !R && /* @__PURE__ */ e(y, { "aria-hidden": "true", variant: "inset" })
293
+ ] }, `account-item${m}`);
287
294
  })
288
- ] }) : /* @__PURE__ */ e(K, { sx: { px: 12, py: 8 }, variant: "list" })
295
+ ] }) : /* @__PURE__ */ e(w, {})
289
296
  }
290
- ) : /* @__PURE__ */ e(T, {});
291
- }, T1 = x(C1), c1 = () => /* @__PURE__ */ i(
297
+ ) : /* @__PURE__ */ e(w, {});
298
+ }, n3 = v(v1), M1 = () => /* @__PURE__ */ r(
292
299
  "svg",
293
300
  {
294
301
  fill: "none",
@@ -296,7 +303,7 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
296
303
  viewBox: "0 0 272 66",
297
304
  xmlns: "http://www.w3.org/2000/svg",
298
305
  children: [
299
- /* @__PURE__ */ i("g", { opacity: "0.35", children: [
306
+ /* @__PURE__ */ r("g", { opacity: "0.35", children: [
300
307
  /* @__PURE__ */ e("rect", { fill: "#CD1141", height: "40.3437", rx: "2.81371", width: "39.6876", x: "19.6553" }),
301
308
  /* @__PURE__ */ e(
302
309
  "path",
@@ -582,7 +589,7 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
582
589
  children: /* @__PURE__ */ e("rect", { fill: "white", height: "47.5848", rx: "3.31025", width: "46.8064", x: "113.168", y: "18.1035" })
583
590
  }
584
591
  ),
585
- /* @__PURE__ */ i("g", { mask: "url(#mask1_6197_80303)", children: [
592
+ /* @__PURE__ */ r("g", { mask: "url(#mask1_6197_80303)", children: [
586
593
  /* @__PURE__ */ e(
587
594
  "mask",
588
595
  {
@@ -727,10 +734,10 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
727
734
  )
728
735
  ]
729
736
  }
730
- ), a1 = () => {
731
- const { connect: n } = A();
732
- return /* @__PURE__ */ i(u, { alignItems: "center", direction: "column", m: 24, children: [
733
- /* @__PURE__ */ e(c1, {}),
737
+ ), R1 = () => {
738
+ const { connect: o } = M();
739
+ return /* @__PURE__ */ r(u1, { alignItems: "center", direction: "column", m: 24, children: [
740
+ /* @__PURE__ */ e(M1, {}),
734
741
  /* @__PURE__ */ e(
735
742
  g,
736
743
  {
@@ -740,52 +747,55 @@ const K = ({ sx: n = {}, variant: r = "list" }) => /* @__PURE__ */ i(u, { sx: [.
740
747
  textAlign: "center"
741
748
  },
742
749
  variant: "Paragraph",
743
- children: n.mini_widget_content
750
+ children: o.mini_widget_content
744
751
  }
745
752
  )
746
753
  ] });
747
- }, s1 = x(a1), r1 = ({
748
- onPrimaryCtaClick: n = () => {
754
+ }, w1 = v(R1), _1 = ({
755
+ onPrimaryCtaClick: o = () => {
749
756
  },
750
- sx: r
757
+ sx: C
751
758
  }) => {
752
- const { isCopyLoaded: C } = F(), { connect: l } = A(), [f, L] = d.useState(!1), V = () => {
753
- L(!0), n();
759
+ const { isCopyLoaded: l } = S(), { connect: t } = M(), [L, i] = h.useState(!1), d = () => {
760
+ i(!0), o();
754
761
  };
755
- return C ? /* @__PURE__ */ i(
756
- G,
762
+ return B({
763
+ widgetName: "ConnectMiniWidget",
764
+ isLoaded: l
765
+ }), l ? /* @__PURE__ */ r(
766
+ z,
757
767
  {
758
768
  className: "mx-exp-connect-miniwidget",
759
- onPrimaryCtaClick: V,
760
- primaryCtaLabel: l.primary_cta,
761
- sx: r,
762
- title: l.mini_title,
769
+ onPrimaryCtaClick: d,
770
+ primaryCtaLabel: t.primary_cta,
771
+ sx: C,
772
+ title: t.mini_title,
763
773
  children: [
764
- /* @__PURE__ */ e(s1, {}),
765
- f && /* @__PURE__ */ e(
766
- j,
774
+ /* @__PURE__ */ e(w1, {}),
775
+ L && /* @__PURE__ */ e(
776
+ G,
767
777
  {
768
- onClose: () => L(!1),
769
- showConnectWidget: f,
770
- title: l.mini_title
778
+ onClose: () => i(!1),
779
+ showConnectWidget: L,
780
+ title: t.mini_title
771
781
  }
772
782
  )
773
783
  ]
774
784
  }
775
- ) : /* @__PURE__ */ e(T, {});
776
- }, O1 = x(r1);
785
+ ) : /* @__PURE__ */ e(w, {});
786
+ }, l3 = v(_1);
777
787
  export {
778
- q1 as AccountApi,
779
- P as AccountDetailsContent,
780
- q as AccountDetailsHeader,
781
- J1 as AccountStore,
782
- T1 as AccountsMiniWidget,
783
- D1 as AccountsWidget,
784
- O1 as ConnectMiniWidget,
785
- z1 as FieldType,
786
- P1 as MemberConnectionStatus,
787
- j1 as getAccountBalanceDetails,
788
- G1 as getAccountDetailFields,
789
- Y as useAccountUiStore,
790
- U1 as useGetMergeableAccounts
788
+ h3 as AccountApi,
789
+ c1 as AccountDetailsContent,
790
+ X as AccountDetailsHeader,
791
+ H3 as AccountStore,
792
+ n3 as AccountsMiniWidget,
793
+ t3 as AccountsWidget,
794
+ l3 as ConnectMiniWidget,
795
+ C3 as FieldType,
796
+ d3 as MemberConnectionStatus,
797
+ s3 as getAccountBalanceDetails,
798
+ a3 as getAccountDetailFields,
799
+ U as useAccountUiStore,
800
+ L3 as useGetMergeableAccounts
791
801
  };