@mx-cartographer/experiences 8.0.0-alpha.bb2 → 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 (222) 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 -199
  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/SkeletonLoader.d.ts +7 -0
  81. package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
  82. package/dist/common/components/charts/LineChart.d.ts +12 -2
  83. package/dist/common/components/charts/index.d.ts +0 -3
  84. package/dist/common/components/charts/linechart/CustomLegend.d.ts +3 -1
  85. package/dist/common/components/charts/linechart/CustomMark.d.ts +5 -1
  86. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  87. package/dist/common/components/drawer/Footer.d.ts +17 -0
  88. package/dist/common/components/index.d.ts +0 -1
  89. package/dist/common/hooks/index.d.ts +0 -1
  90. package/dist/common/hooks/useAriaLive.d.ts +1 -1
  91. package/dist/common/index.es.js +413 -674
  92. package/dist/common/stores/GlobalStore.d.ts +7 -1
  93. package/dist/common/stores/GlobalUiStore.d.ts +3 -2
  94. package/dist/common/types/Finstrong.d.ts +54 -0
  95. package/dist/common/types/Global.d.ts +1 -0
  96. package/dist/common/types/Widgets.d.ts +1 -0
  97. package/dist/common/types/index.d.ts +1 -1
  98. package/dist/common/types/localization/FinstrongCopy.d.ts +105 -2
  99. package/dist/common/types/localization/GoalsCopy.d.ts +1 -0
  100. package/dist/common/utils/Theme.d.ts +1 -3
  101. package/dist/dashboard/index.es.js +21 -21
  102. package/dist/debts/components/DebtsChart.d.ts +1 -2
  103. package/dist/debts/index.es.js +673 -665
  104. package/dist/exportTransactionsToCSV-BgV_wTLT.mjs +48 -0
  105. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  106. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  107. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  108. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  109. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  110. package/dist/finstrong/components/FinancialStrengthGraph.d.ts +7 -1
  111. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  112. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  113. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  114. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  115. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  116. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  117. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  118. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  119. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  120. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  121. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  122. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  123. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  124. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  125. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  126. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  127. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  128. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  129. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  130. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  131. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  132. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  133. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  134. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  135. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  136. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  137. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  138. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  139. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  140. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  141. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  142. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  143. package/dist/finstrong/components/shared/DialScoreCard.d.ts +7 -1
  144. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  145. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  146. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  147. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  148. package/dist/finstrong/constants/index.d.ts +9 -0
  149. package/dist/finstrong/index.es.js +3175 -1067
  150. package/dist/finstrong/stores/FinstrongStore.d.ts +25 -2
  151. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  152. package/dist/goals/index.es.js +580 -570
  153. package/dist/help/components/content/BottomImageContent.d.ts +1 -1
  154. package/dist/help/components/content/LeftImageContent.d.ts +1 -1
  155. package/dist/help/components/content/RightImageContent.d.ts +1 -1
  156. package/dist/help/components/content/TopImageContent.d.ts +1 -1
  157. package/dist/help/index.es.js +6 -6
  158. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  159. package/dist/insights/index.es.js +1 -1
  160. package/dist/investments/index.es.js +537 -536
  161. package/dist/merchants/index.es.js +9 -9
  162. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -9
  163. package/dist/microinsights/beaticons/BeatMerchantLogo.d.ts +3 -2
  164. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon.d.ts +2 -1
  165. package/dist/microinsights/cards/{MicroInsightCard.d.ts → BaseCard.d.ts} +1 -8
  166. package/dist/microinsights/cards/{BeatCard.d.ts → InsightCard.d.ts} +2 -2
  167. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +2 -5
  168. package/dist/microinsights/cards/ZeroStateCard.d.ts +2 -5
  169. package/dist/microinsights/carousel/BeatList.d.ts +10 -0
  170. package/dist/microinsights/carousel/CarouselControls.d.ts +1 -3
  171. package/dist/microinsights/carousel/CarouselHeader.d.ts +1 -2
  172. package/dist/microinsights/constants/App.d.ts +0 -1
  173. package/dist/microinsights/index.d.ts +3 -3
  174. package/dist/microinsights/index.es.js +7 -7
  175. package/dist/microinsights/interfaces.d.ts +0 -6
  176. package/dist/networth/components/NetWorthChange.d.ts +3 -1
  177. package/dist/networth/index.es.js +262 -254
  178. package/dist/notifications/index.es.js +90 -91
  179. package/dist/recurringtransactions/components/MicroWidgetContent.d.ts +3 -0
  180. package/dist/recurringtransactions/index.es.js +586 -562
  181. package/dist/recurringtransactions/stores/RecurringTransactionsStore.d.ts +1 -0
  182. package/dist/settings/index.es.js +371 -365
  183. package/dist/spending/index.es.js +267 -419
  184. package/dist/spending/utils/SpendingData.d.ts +2 -1
  185. package/dist/transactions/components/shared/TransactionDetails.d.ts +1 -0
  186. package/dist/transactions/components/shared/TransactionList.d.ts +1 -0
  187. package/dist/transactions/index.es.js +231 -226
  188. package/dist/transactions/stores/TransactionStore.d.ts +1 -1
  189. package/dist/transactions/stores/UiStore.d.ts +0 -2
  190. package/dist/trends/index.es.js +988 -612
  191. package/dist/{useAccountDisplayName-BUAApBIb.mjs → useAccountDisplayName-CcIp09Xc.mjs} +2 -2
  192. package/dist/{useCombineEvents-BUDIR1ba.mjs → useCombineEvents-kNzLTWCp.mjs} +3 -3
  193. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  194. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-B5afALev.mjs} +1 -1
  195. package/package.json +51 -56
  196. package/dist/AccountDetailsContent-CAM9y39M.mjs +0 -679
  197. package/dist/AccountDetailsHeader-JtSX6Uf9.mjs +0 -120
  198. package/dist/AccountListItem-JFMZROh7.mjs +0 -90
  199. package/dist/CurrencyInput-DUsQbkXb.mjs +0 -85
  200. package/dist/Drawer-kEE73B87.mjs +0 -113
  201. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  202. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  203. package/dist/LineChart-D4GI7nVh.mjs +0 -541
  204. package/dist/Loader-DUaFpDGv.mjs +0 -24
  205. package/dist/MicroWidgetContainer-DpeqN9n3.mjs +0 -45
  206. package/dist/MiniWidgetContainer-D0gfmbaF.mjs +0 -56
  207. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  208. package/dist/TransactionApi-B3Tksf7L.mjs +0 -86
  209. package/dist/TransactionDetails-oP1eSuiS.mjs +0 -1334
  210. package/dist/TrendsStore-DCYbpXPO.mjs +0 -559
  211. package/dist/accounts/components/AccountsWidgetContent.d.ts +0 -3
  212. package/dist/common/components/barchart/Bar.d.ts +0 -25
  213. package/dist/common/components/barchart/BarChart.d.ts +0 -34
  214. package/dist/common/components/barchart/BarColumn.d.ts +0 -37
  215. package/dist/common/components/barchart/Legend.d.ts +0 -8
  216. package/dist/common/components/barchart/Util.d.ts +0 -42
  217. package/dist/common/components/barchart/index.d.ts +0 -1
  218. package/dist/common/hooks/usePrevious.d.ts +0 -2
  219. package/dist/exportTransactionsToCSV-7bVS7KXf.mjs +0 -47
  220. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
  221. package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +0 -7
  222. package/dist/useAriaLive-B3_pRUio.mjs +0 -35
@@ -1,42 +1,42 @@
1
- import { A as f, B as b } from "../ToggleListItem-r0Kx56wF.mjs";
2
- import { A as _ } from "../Fetch-87LIQbEA.mjs";
3
- import { s as L } from "../NotificationStore-BxP_P2dA.mjs";
4
- import { N as Nt, f as St } from "../NotificationStore-BxP_P2dA.mjs";
5
- import { jsx as t, jsxs as d, Fragment as x } from "react/jsx-runtime";
6
- import k, { useEffect as A } from "react";
1
+ import { A as f, B as y } from "../ToggleListItem-ciFTiqRS.mjs";
2
+ import { A as g } from "../Fetch-DecPFeGU.mjs";
3
+ import { s as v } from "../NotificationStore-Ck2KdNmT.mjs";
4
+ import { N as xt, f as Nt } from "../NotificationStore-Ck2KdNmT.mjs";
5
+ import { jsx as t, jsxs as l, Fragment as C } from "react/jsx-runtime";
6
+ import k, { useEffect as L } from "react";
7
7
  import { observer as p } from "mobx-react-lite";
8
- import y from "@mui/material/Box";
9
- import D from "@mui/material/Divider";
10
- import B from "@mui/material/List";
11
- import { Text as m, InstitutionLogo as T, CategoryIcon as R } from "@mxenabled/mxui";
12
- import { h as I } from "../DateUtil-BcuH7ErC.mjs";
13
- import { useTheme as O, Card as G } from "@mui/material";
14
- import { d as E, i as j, u as g, o as N, b as S, a as z } from "../hooks-D6XlXHf4.mjs";
15
- import { Icon as U, Settings as F } from "@mxenabled/mx-icons";
16
- import P from "@mui/material/Button";
17
- import W from "@mui/material/Stack";
18
- import { L as w } from "../Loader-DUaFpDGv.mjs";
19
- import $ from "@mui/material/IconButton";
20
- import { N as H } from "../NotificationSettings-DqrkNMod.mjs";
21
- import { D as C } from "../Drawer-kEE73B87.mjs";
22
- const yt = (e) => {
8
+ import h from "@mui/material/Box";
9
+ import A from "@mui/material/Divider";
10
+ import D from "@mui/material/List";
11
+ import { Text as m, InstitutionLogo as B, CategoryIcon as T } from "@mxenabled/mxui";
12
+ import { h as I } from "../DateUtil-CDPZw_-m.mjs";
13
+ import { useTheme as R, Card as O } from "@mui/material";
14
+ import { d as G, i as E, u as _, o as x, b as N, a as j } from "../hooks-C41HAxM5.mjs";
15
+ import { Icon as z, Settings as U } from "@mxenabled/mx-icons";
16
+ import F from "@mui/material/Button";
17
+ import P from "@mui/material/Stack";
18
+ import { L as S } from "../Loader-Ckqi9Rx6.mjs";
19
+ import W from "@mui/material/IconButton";
20
+ import { N as $ } from "../NotificationSettings-B74rQVYC.mjs";
21
+ import { D as b } from "../Drawer-BF40nbsH.mjs";
22
+ const _t = (e) => {
23
23
  switch (e) {
24
- case b.BudgetExceeded:
25
- case b.BudgetOffTarget:
26
- return _.BUDGETS;
24
+ case y.BudgetExceeded:
25
+ case y.BudgetOffTarget:
26
+ return g.BUDGETS;
27
27
  case f.DebtPaymentReminder:
28
28
  case f.AccountBalanceLow:
29
29
  case f.AccountDepositLarge:
30
- return _.ACCOUNTS;
30
+ return g.ACCOUNTS;
31
31
  case f.TransactionExpenseLarge:
32
32
  case f.TransactionFeeCharge:
33
33
  case f.InternationalTransaction:
34
- return _.TRANSACTIONS;
34
+ return g.TRANSACTIONS;
35
35
  default:
36
36
  return null;
37
37
  }
38
- }, M = ({ date: e }) => /* @__PURE__ */ t(y, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(m, { bold: !0, variant: "Small", children: I(e) }) }), V = ({ notification: e }) => {
39
- const { accounts: o } = E(), { budgets: a } = j(), { accounts: s } = g(), i = o.find((l) => l.guid === e.entity_guid), r = a.find((l) => l.guid === e.entity_guid), u = e.entity_guid.includes("GOL"), c = {
38
+ }, M = ({ date: e }) => /* @__PURE__ */ t(h, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(m, { bold: !0, variant: "body2", children: I(e) }) }), V = ({ notification: e }) => {
39
+ const { accounts: n } = G(), { budgets: r } = E(), { accounts: s } = _(), o = n.find((i) => i.guid === e.entity_guid), a = r.find((i) => i.guid === e.entity_guid), d = e.entity_guid.includes("GOL"), u = {
40
40
  badge: {
41
41
  display: "flex",
42
42
  alignItems: "center",
@@ -45,16 +45,16 @@ const yt = (e) => {
45
45
  marginRight: 12
46
46
  }
47
47
  };
48
- return i || u ? /* @__PURE__ */ t("div", { style: c.badge, children: /* @__PURE__ */ t(
49
- T,
48
+ return o || d ? /* @__PURE__ */ t("div", { style: u.badge, children: /* @__PURE__ */ t(
49
+ B,
50
50
  {
51
- alt: i?.institutionName || s.institution_logo_alt,
52
- institutionGuid: i?.institution_guid ?? "",
51
+ alt: o?.institutionName || s.institution_logo_alt,
52
+ institutionGuid: o?.institution_guid ?? "",
53
53
  size: 33
54
54
  }
55
- ) }) : /* @__PURE__ */ t("div", { style: c.badge, children: /* @__PURE__ */ t(R, { categoryGuid: r?.category_guid, size: 36 }) });
56
- }, X = p(V), Y = ({ notification: e, onClick: o }) => {
57
- const { updateNotification: a } = N(), s = O(), i = {
55
+ ) }) : /* @__PURE__ */ t("div", { style: u.badge, children: /* @__PURE__ */ t(T, { categoryGuid: a?.category_guid, size: 36 }) });
56
+ }, X = p(V), Y = ({ notification: e, onClick: n }) => {
57
+ const { updateNotification: r } = x(), s = R(), o = {
58
58
  card: {
59
59
  alignItems: "center",
60
60
  cursor: "pointer",
@@ -79,19 +79,19 @@ const yt = (e) => {
79
79
  width: 8
80
80
  }
81
81
  };
82
- return /* @__PURE__ */ d(G, { onClick: () => {
83
- o(e), a({ ...e, has_been_viewed: !0 }).finally();
84
- }, sx: i.card, children: [
85
- e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: i.dot }),
82
+ return /* @__PURE__ */ l(O, { onClick: () => {
83
+ n(e), r({ ...e, has_been_viewed: !0 }).finally();
84
+ }, sx: o.card, children: [
85
+ e.has_been_viewed ? null : /* @__PURE__ */ t("div", { "data-testid": "new-message-dot", style: o.dot }),
86
86
  /* @__PURE__ */ t(X, { notification: e }),
87
- /* @__PURE__ */ t(m, { bold: !e.has_been_viewed, truncate: !1, variant: "Small", children: e.content })
87
+ /* @__PURE__ */ t(m, { bold: !e.has_been_viewed, truncate: !1, variant: "body2", children: e.content })
88
88
  ] });
89
89
  }, q = p(
90
90
  ({ onManageNotifications: e }) => {
91
- const { notifications: o } = g();
92
- return /* @__PURE__ */ d(W, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
93
- /* @__PURE__ */ t(U, { name: "notifications", size: 32 }),
94
- /* @__PURE__ */ t(m, { sx: { pt: 32 }, variant: "H3", children: o.notification_empty_state.no_new_notifications }),
91
+ const { notifications: n } = _();
92
+ return /* @__PURE__ */ l(P, { sx: { alignItems: "center", height: "95%", justifyContent: "center" }, children: [
93
+ /* @__PURE__ */ t(z, { name: "notifications", size: 32 }),
94
+ /* @__PURE__ */ t(m, { sx: { pt: 32 }, variant: "h3", children: n.notification_empty_state.no_new_notifications }),
95
95
  /* @__PURE__ */ t(
96
96
  m,
97
97
  {
@@ -103,90 +103,89 @@ const yt = (e) => {
103
103
  whiteSpace: "normal"
104
104
  },
105
105
  variant: "subtitle1",
106
- children: o.notification_empty_state.notification_description
106
+ children: n.notification_empty_state.notification_description
107
107
  }
108
108
  ),
109
- /* @__PURE__ */ t(P, { onClick: e, sx: { p: "12px 16px" }, variant: "outlined", children: o.notification_empty_state.manage_notifications })
109
+ /* @__PURE__ */ t(F, { onClick: e, sx: { p: "12px 16px" }, variant: "outlined", children: n.notification_empty_state.manage_notifications })
110
110
  ] });
111
111
  }
112
- ), J = ({ onClick: e, onManageNotifications: o }) => {
113
- const { isLoading: a, loadNotifications: s, recentNotifications: i, markAllAsViewed: r } = N(), { notifications: u } = g(), { isCopyLoaded: c } = S(), l = (n) => {
114
- e?.(n);
112
+ ), H = ({ onClick: e, onManageNotifications: n }) => {
113
+ const { isLoading: r, loadNotifications: s, newNotifications: o, markAllAsViewed: a } = x(), { isInitialized: d } = N(), u = (i) => {
114
+ e?.(i);
115
115
  };
116
- return A(() => (s().finally(), () => {
117
- r().finally();
118
- }), []), /* @__PURE__ */ d(x, { children: [
119
- (!c || a) && /* @__PURE__ */ t(w, { label: u?.loading, size: 40 }),
120
- c && !a && i.length === 0 && /* @__PURE__ */ t(q, { onManageNotifications: o }),
121
- /* @__PURE__ */ t(B, { sx: { p: 16 }, children: c && !a && i.slice().sort((n, h) => h.delivered_at - n.delivered_at).map((n, h) => {
122
- const v = L(h, i);
123
- return /* @__PURE__ */ d(y, { sx: { mb: 12 }, children: [
124
- v && /* @__PURE__ */ d(y, { sx: { mb: 12 }, children: [
125
- /* @__PURE__ */ t(M, { date: n.delivered_at }),
126
- /* @__PURE__ */ t(D, {})
116
+ return L(() => {
117
+ s().then(() => a()).finally();
118
+ }, []), !d || r ? /* @__PURE__ */ t(S, {}) : /* @__PURE__ */ l(C, { children: [
119
+ o.length === 0 && /* @__PURE__ */ t(q, { onManageNotifications: n }),
120
+ /* @__PURE__ */ t(D, { sx: { p: 16 }, children: o.slice().sort((i, c) => c.delivered_at - i.delivered_at).map((i, c) => {
121
+ const w = v(c, o);
122
+ return /* @__PURE__ */ l(h, { sx: { mb: 12 }, children: [
123
+ w && /* @__PURE__ */ l(h, { sx: { mb: 12 }, children: [
124
+ /* @__PURE__ */ t(M, { date: i.delivered_at }),
125
+ /* @__PURE__ */ t(A, {})
127
126
  ] }),
128
- /* @__PURE__ */ t(Y, { notification: n, onClick: l })
129
- ] }, n.guid);
127
+ /* @__PURE__ */ t(Y, { notification: i, onClick: u })
128
+ ] }, i.guid);
130
129
  }) })
131
130
  ] });
132
- }, K = p(J), bt = p(
133
- ({ notificationTypes: e, isOpen: o, onClose: a, onNotificationClick: s }) => {
134
- const { config: i } = z(), { notifications: r, settings: u } = g(), { isCopyLoaded: c } = S(), [l, n] = k.useState(!1);
135
- return c ? /* @__PURE__ */ d(x, { children: [
136
- /* @__PURE__ */ d(
137
- C,
131
+ }, J = p(H), yt = p(
132
+ ({ notificationTypes: e, isOpen: n, onClose: r, onNotificationClick: s }) => {
133
+ const { config: o } = j(), { notifications: a, settings: d } = _(), { isCopyLoaded: u } = N(), [i, c] = k.useState(!1);
134
+ return u ? /* @__PURE__ */ l(C, { children: [
135
+ /* @__PURE__ */ l(
136
+ b,
138
137
  {
139
- ariaLabelClose: r.close_notifications,
140
- isOpen: o,
141
- onClose: a,
142
- title: r.notifications_title,
138
+ ariaLabelClose: a.close_notifications,
139
+ isOpen: n,
140
+ onClose: r,
141
+ title: a.notifications_title,
143
142
  children: [
144
143
  /* @__PURE__ */ t(
145
- $,
144
+ W,
146
145
  {
147
- "aria-label": u.open_notification_settings_btn_aria,
148
- onClick: () => n(!0),
146
+ "aria-label": d.open_notification_settings_btn_aria,
147
+ onClick: () => c(!0),
149
148
  sx: {
150
149
  position: "absolute",
151
150
  right: 8,
152
151
  top: 8
153
152
  },
154
- children: /* @__PURE__ */ t(F, { size: 24 })
153
+ children: /* @__PURE__ */ t(U, { size: 24 })
155
154
  }
156
155
  ),
157
156
  /* @__PURE__ */ t(
158
- K,
157
+ J,
159
158
  {
160
159
  onClick: s,
161
- onManageNotifications: () => n(!0)
160
+ onManageNotifications: () => c(!0)
162
161
  }
163
162
  )
164
163
  ]
165
164
  }
166
165
  ),
167
166
  /* @__PURE__ */ t(
168
- C,
167
+ b,
169
168
  {
170
- ariaLabelClose: r.close_notification_settings,
171
- isOpen: l,
172
- onClose: () => n(!1),
173
- title: u.notification_settings_title,
169
+ ariaLabelClose: a.close_notification_settings,
170
+ isOpen: i,
171
+ onClose: () => c(!1),
172
+ title: d.notification_settings_title,
174
173
  children: /* @__PURE__ */ t(
175
- H,
174
+ $,
176
175
  {
177
176
  notificationTypes: e,
178
- showPersonalDetails: !i.display_user_profile_in_settings
177
+ showPersonalDetails: !o.display_user_profile_in_settings
179
178
  }
180
179
  )
181
180
  }
182
181
  )
183
- ] }) : /* @__PURE__ */ t(w, {});
182
+ ] }) : /* @__PURE__ */ t(S, {});
184
183
  }
185
184
  );
186
185
  export {
187
- bt as NotificationDrawer,
188
- K as NotificationList,
189
- Nt as NotificationStore,
190
- St as filterRecentNotifications,
191
- yt as getNotificationDetailRoute
186
+ yt as NotificationDrawer,
187
+ J as NotificationList,
188
+ xt as NotificationStore,
189
+ Nt as filterRecentNotifications,
190
+ _t as getNotificationDetailRoute
192
191
  };
@@ -0,0 +1,3 @@
1
+ export declare const MicroWidgetContent: (() => import("react/jsx-runtime").JSX.Element) & {
2
+ displayName: string;
3
+ };