@mx-cartographer/experiences 7.2.14-alpha.sms1 → 7.2.15-alpha-ram1-finstromg-testing

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 (134) hide show
  1. package/CHANGELOG.md +6 -2
  2. package/dist/{Account-B-CuHOYf.mjs → Account-01wOyrH1.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DXVLAjNQ.mjs → AccountDetailsContent-C_ZRryuO.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-vcy67tuH.mjs → AccountDetailsHeader-D5h5tdeG.mjs} +8 -8
  5. package/dist/{AccountFields-cUP-9Hm6.mjs → AccountFields-CPkGZ3SD.mjs} +5 -5
  6. package/dist/{AccountListItem-DChcf3SN.mjs → AccountListItem-D4uG9yC-.mjs} +4 -4
  7. package/dist/{AccountStore-D6KiXA1B.mjs → AccountStore-DYwH7yC9.mjs} +40 -29
  8. package/dist/{Accounts-IeEtQjzA.mjs → Accounts-D7QljYas.mjs} +1 -1
  9. package/dist/{BudgetUtil-B2ZXyw-g.mjs → BudgetUtil-wjoNuj7B.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-DUe4lH5-.mjs → CategorySelectorDrawer-ZO9N26Kx.mjs} +3 -3
  11. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-DaFRU5st.mjs → ConnectDrawer-CuUj16NH.mjs} +3 -2
  14. package/dist/{ConnectionsDrawer-DHJ7qdWL.mjs → ConnectionsDrawer-Bz4uwdFE.mjs} +14 -13
  15. package/dist/{CurrencyInput-DUsQbkXb.mjs → CurrencyInput-xH-hqry9.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-z3VARSO6.mjs → DebtsStore-Bu8rRRSL.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Drawer-BEtCk82g.mjs +163 -0
  20. package/dist/{EmptyState-DA_lfRBv.mjs → EmptyState-DoxNUae-.mjs} +24 -22
  21. package/dist/{ExportCsvAction-sX8Rg4Ov.mjs → ExportCsvAction-DlGZfm4y.mjs} +3 -3
  22. package/dist/FinstrongStore-BbnA6Crl.mjs +434 -0
  23. package/dist/{GoalStore-TD0BfzWX.mjs → GoalStore-Dcnj5pii.mjs} +3 -3
  24. package/dist/{Help-B6dIcujh.mjs → Help-BnPXM_N2.mjs} +2 -2
  25. package/dist/{LineChart-D4GI7nVh.mjs → LineChart-Ct9DNmhS.mjs} +209 -181
  26. package/dist/{ListItemAction-DHa3KJPs.mjs → ListItemAction-uobBrm_a.mjs} +10 -10
  27. package/dist/{ManageIncome-B5zuYyxg.mjs → ManageIncome-n6qSYGHO.mjs} +152 -149
  28. package/dist/{MicroWidgetContainer-DpeqN9n3.mjs → MicroWidgetContainer-DEiRnYVa.mjs} +1 -1
  29. package/dist/{MiniWidgetContainer-D0gfmbaF.mjs → MiniWidgetContainer-CmXpTylX.mjs} +1 -1
  30. package/dist/{NetWorthStore-B_1oulrt.mjs → NetWorthStore-CpL_kqvx.mjs} +2 -2
  31. package/dist/{NotificationSettings-DqrkNMod.mjs → NotificationSettings-BKKuULAd.mjs} +5 -5
  32. package/dist/{OriginalBalanceAction-CWuVvRq9.mjs → OriginalBalanceAction-CCmnsd7y.mjs} +3 -3
  33. package/dist/{RecurringSettings-CMwUC_rw.mjs → RecurringSettings-BwnDPthJ.mjs} +4 -4
  34. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  35. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  36. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  37. package/dist/SpendingLegend-CW8mIzqd.mjs +196 -0
  38. package/dist/{TransactionDetails-CuqEbcYg.mjs → TransactionDetails-CaJruWq3.mjs} +12 -9
  39. package/dist/{TransactionStore-B4FCabkO.mjs → TransactionStore-DvOEbOzL.mjs} +34 -37
  40. package/dist/{TrendsStore-DCYbpXPO.mjs → TrendsStore-BVNxGsE4.mjs} +14 -14
  41. package/dist/{User-BQUxBeZV.mjs → User-wXzDI4M8.mjs} +2 -2
  42. package/dist/{ViewMoreMicroCard-iInbzbw0.mjs → ViewMoreMicroCard-SCn2wt4i.mjs} +571 -545
  43. package/dist/{WidgetContainer-C88Ecu2W.mjs → WidgetContainer-6dsjtOVg.mjs} +4 -4
  44. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  45. package/dist/accounts/index.es.js +14 -14
  46. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  47. package/dist/analytics/index.es.js +2 -2
  48. package/dist/budgets/index.es.js +13 -13
  49. package/dist/cashflow/index.es.js +45 -45
  50. package/dist/categories/index.es.js +2 -2
  51. package/dist/common/components/Select.d.ts +4 -2
  52. package/dist/common/components/charts/LineChart.d.ts +8 -2
  53. package/dist/common/components/charts/linechart/CustomMark.d.ts +4 -0
  54. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  55. package/dist/common/components/drawer/Footer.d.ts +17 -0
  56. package/dist/common/index.es.js +34 -34
  57. package/dist/common/types/Finstrong.d.ts +50 -0
  58. package/dist/common/types/Widgets.d.ts +1 -0
  59. package/dist/common/types/index.d.ts +1 -1
  60. package/dist/common/types/localization/FinstrongCopy.d.ts +58 -1
  61. package/dist/dashboard/index.es.js +2 -2
  62. package/dist/debts/index.es.js +11 -11
  63. package/dist/{exportTransactionsToCSV-7bVS7KXf.mjs → exportTransactionsToCSV-hrNpJ77n.mjs} +2 -2
  64. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  65. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  66. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +3 -1
  67. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  68. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  71. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  72. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  73. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +4 -1
  75. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  76. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  77. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  78. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  79. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  80. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  81. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  82. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  83. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  86. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  88. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  89. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  90. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  91. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  92. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +17 -0
  93. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  94. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  95. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  96. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  97. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  98. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  99. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  100. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  101. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  102. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  103. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  104. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  105. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  106. package/dist/finstrong/constants/index.d.ts +8 -0
  107. package/dist/finstrong/index.es.js +3179 -1054
  108. package/dist/finstrong/stores/FinstrongStore.d.ts +10 -1
  109. package/dist/finstrong/util/finstrongUtils.d.ts +58 -1
  110. package/dist/goals/index.es.js +15 -15
  111. package/dist/help/index.es.js +3 -3
  112. package/dist/{hooks-D6XlXHf4.mjs → hooks-C41HAxM5.mjs} +3 -3
  113. package/dist/investments/index.es.js +5 -5
  114. package/dist/merchants/index.es.js +1 -1
  115. package/dist/microinsights/beaticons/BeatIcon.d.ts +2 -0
  116. package/dist/microinsights/cards/MicroInsightCard.d.ts +7 -0
  117. package/dist/microinsights/carousel/CarouselControls.d.ts +2 -0
  118. package/dist/microinsights/carousel/CarouselHeader.d.ts +2 -1
  119. package/dist/microinsights/index.d.ts +1 -1
  120. package/dist/microinsights/index.es.js +1 -1
  121. package/dist/microinsights/interfaces.d.ts +4 -0
  122. package/dist/networth/index.es.js +35 -35
  123. package/dist/notifications/index.es.js +4 -4
  124. package/dist/recurringtransactions/index.es.js +13 -13
  125. package/dist/settings/index.es.js +8 -8
  126. package/dist/spending/index.es.js +238 -415
  127. package/dist/transactions/index.es.js +15 -15
  128. package/dist/trends/index.es.js +96 -96
  129. package/dist/{useAccountDisplayName-BcRqfar8.mjs → useAccountDisplayName-CMMlIOXF.mjs} +2 -2
  130. package/dist/{useInsightsEnabled-DBpwEq10.mjs → useInsightsEnabled-CNjP5cfR.mjs} +1 -1
  131. package/package.json +1 -1
  132. package/dist/Drawer-kEE73B87.mjs +0 -113
  133. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  134. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
package/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
- ## [7.2.14] - 11-24-2025
1
+ ## [7.2.15] - 11-25-2025
2
2
 
3
- - **UPDATED** - remove uneeded client color scheme reference from `microinsights`
3
+ - **FIXED** - Next recurring transaction date displayed offset by one day
4
+
5
+ ## [7.2.14] - 11-25-2025
6
+
7
+ - **FIXED** - Removed border from embedded widgets
4
8
 
5
9
  ## [7.2.13] - 11-24-2025
6
10
 
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-DaFRU5st.mjs";
1
+ import { A as C } from "./ConnectDrawer-CuUj16NH.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,18 +11,18 @@ import M from "@mui/material/Divider";
11
11
  import v from "@mui/material/ListItem";
12
12
  import N from "@mui/material/ListItemButton";
13
13
  import w from "@mui/material/ListItemText";
14
- import { u as D } from "./AccountDetailsHeader-vcy67tuH.mjs";
15
- import { d as z, u as E, g as O, h as X } from "./hooks-D6XlXHf4.mjs";
16
- import { A as at } from "./AccountListItem-DChcf3SN.mjs";
17
- import { A as k } from "./WidgetContainer-C88Ecu2W.mjs";
18
- import { a as V, f as B, D as K } from "./Dialog-CWW597AF.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-D5h5tdeG.mjs";
15
+ import { d as z, u as E, g as O, h as X } from "./hooks-C41HAxM5.mjs";
16
+ import { A as at } from "./AccountListItem-D4uG9yC-.mjs";
17
+ import { A as k } from "./WidgetContainer-6dsjtOVg.mjs";
18
+ import { D as V, f as B, a as K } from "./Dialog-BPTr3qHE.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
- import { D as J } from "./Drawer-kEE73B87.mjs";
20
+ import { D as J } from "./Drawer-BEtCk82g.mjs";
21
21
  import P from "@mui/material/ListItemAvatar";
22
22
  import ct from "@mui/material/Stack";
23
23
  import st from "@mui/material/styles/useTheme";
24
24
  import { Error as q, CheckCircle as it, Language as rt } from "@mxenabled/mx-icons";
25
- import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-DaFRU5st.mjs";
25
+ import { n as m, N as Q, l as Z, F as R } from "./ConnectDrawer-CuUj16NH.mjs";
26
26
  import { fromUnixTime as lt } from "date-fns/fromUnixTime";
27
27
  import { isToday as dt } from "date-fns/isToday";
28
28
  import { isYesterday as ut } from "date-fns/isYesterday";
@@ -37,14 +37,14 @@ import { LocalizationProvider as ft } from "@mui/x-date-pickers-pro";
37
37
  import bt from "@mui/material/MenuItem";
38
38
  import At from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
- import { C as St } from "./CurrencyInput-DUsQbkXb.mjs";
41
- import { b as Dt } from "./AccountFields-cUP-9Hm6.mjs";
40
+ import { C as St } from "./CurrencyInput-xH-hqry9.mjs";
41
+ import { b as Dt } from "./AccountFields-CPkGZ3SD.mjs";
42
42
  import Et from "@mui/material/Alert";
43
43
  import yt from "@mui/material/AlertTitle";
44
44
  import xt from "@mui/material/Link";
45
45
  import wt from "@mui/material/Paper";
46
46
  import { subDays as kt, startOfToday as It, endOfToday as Mt } from "date-fns";
47
- import { T as vt, a as Lt } from "./TransactionDetails-CuqEbcYg.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-CaJruWq3.mjs";
48
48
  import { T as j } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -2,20 +2,20 @@ import { jsx as e, jsxs as u } from "react/jsx-runtime";
2
2
  import { observer as p } from "mobx-react-lite";
3
3
  import d from "@mui/material/Stack";
4
4
  import { H3 as w, InstitutionLogo as I, Text as m, H2 as L } from "@mxenabled/mxui";
5
- import { g as v } from "./AccountFields-cUP-9Hm6.mjs";
5
+ import { g as v } from "./AccountFields-CPkGZ3SD.mjs";
6
6
  import h from "react";
7
- import { G as E, d as y, m as S, u as _, f as G } from "./hooks-D6XlXHf4.mjs";
7
+ import { G as E, d as y, m as S, u as _, f as G } from "./hooks-C41HAxM5.mjs";
8
8
  import O from "@mui/material/Card";
9
9
  import P from "@mui/material/CardContent";
10
10
  import M from "@mui/material/CardHeader";
11
11
  import { useTheme as B } from "@mui/material/styles";
12
- import { g as H, a as U, b as j } from "./SpendingData-D5vsfYKo.mjs";
13
- import { L as z } from "./LineChart-D4GI7nVh.mjs";
14
- import { I as f, P as g, S as C } from "./Account-B-CuHOYf.mjs";
15
- import { A } from "./ConnectDrawer-DaFRU5st.mjs";
12
+ import { g as H, a as U, b as j } from "./SpendingData-BuJ03S9d.mjs";
13
+ import { L as z } from "./LineChart-Ct9DNmhS.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-01wOyrH1.mjs";
15
+ import { A } from "./ConnectDrawer-CuUj16NH.mjs";
16
16
  import { L as Y } from "./Loader-DUaFpDGv.mjs";
17
- import { f as R, D as $ } from "./Dialog-CWW597AF.mjs";
18
- import { u as k } from "./useAccountDisplayName-BcRqfar8.mjs";
17
+ import { f as R, a as $ } from "./Dialog-BPTr3qHE.mjs";
18
+ import { u as k } from "./useAccountDisplayName-CMMlIOXF.mjs";
19
19
  import { f as F } from "./NumberFormatting-Buh7u8Oi.mjs";
20
20
  const b = () => {
21
21
  if (!h.useContext(E))
@@ -1,10 +1,10 @@
1
1
  import { jsx as u } from "react/jsx-runtime";
2
2
  import { Icon as p, Text as y } from "@mxenabled/mxui";
3
- import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-DaFRU5st.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-IeEtQjzA.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CuUj16NH.mjs";
4
+ import { i as T, u as A, a as D, b as g, c as O } from "./Accounts-D7QljYas.mjs";
5
5
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-Buh7u8Oi.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
- import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
7
+ import { f as o, a as f } from "./Dialog-BPTr3qHE.mjs";
8
8
  const w = (l, e) => {
9
9
  const r = [
10
10
  {
@@ -54,7 +54,7 @@ const w = (l, e) => {
54
54
  valueFormatter: (t) => a.find((n) => n.value === t)?.label
55
55
  });
56
56
  }
57
- if (D(l)) {
57
+ if (A(l)) {
58
58
  let a = e.interest_rate, t = "interest_rate";
59
59
  l.is_manual || (typeof l.apr == "number" && (a = e.apr, t = "apr"), typeof l.apy == "number" && (a = e.apy, t = "apy")), r.push({
60
60
  event: "account_details_click_interest_rate",
@@ -66,7 +66,7 @@ const w = (l, e) => {
66
66
  valueFormatter: (n) => b(n) ? N(n / 100) : n
67
67
  });
68
68
  }
69
- return A(l) && (r.push({
69
+ return D(l) && (r.push({
70
70
  label: e.minimum_payment,
71
71
  name: "minimum_payment",
72
72
  placeholder: i(e.enter_value, e.minimum_payment),
@@ -10,10 +10,10 @@ import B from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as L, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as A } from "@mxenabled/mx-icons";
12
12
  import { I as j } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as T } from "./AccountFields-cUP-9Hm6.mjs";
14
- import { u as X } from "./useAccountDisplayName-BcRqfar8.mjs";
15
- import { d } from "./ConnectDrawer-DaFRU5st.mjs";
16
- import { u as $ } from "./hooks-D6XlXHf4.mjs";
13
+ import { g as T } from "./AccountFields-CPkGZ3SD.mjs";
14
+ import { u as X } from "./useAccountDisplayName-CMMlIOXF.mjs";
15
+ import { d } from "./ConnectDrawer-CuUj16NH.mjs";
16
+ import { u as $ } from "./hooks-C41HAxM5.mjs";
17
17
  import { f as k } from "./NumberFormatting-Buh7u8Oi.mjs";
18
18
  const w = {
19
19
  gridRow: 1,
@@ -1,8 +1,8 @@
1
- import { makeAutoObservable as A, runInAction as a } from "mobx";
2
- import { i as f } from "./User-BQUxBeZV.mjs";
1
+ import { makeAutoObservable as _, runInAction as a } from "mobx";
2
+ import { i as f } from "./User-wXzDI4M8.mjs";
3
3
  import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
4
- import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-DaFRU5st.mjs";
5
- class _ {
4
+ import { A as c, h as d, d as h, E as y, i as I, j as b } from "./ConnectDrawer-CuUj16NH.mjs";
5
+ class A {
6
6
  fetchInstance;
7
7
  constructor(t, e, n) {
8
8
  this.fetchInstance = new p(t, e, void 0, n);
@@ -17,26 +17,26 @@ class _ {
17
17
  refreshAllMembers = async () => this.fetchInstance.get(`${i.MEMBERS}/refresh_all`).then((t) => t).catch((t) => t);
18
18
  updateAccount = async (t) => this.fetchInstance.put(`${i.ACCOUNTS}/${t.guid}`, t).then((e) => e.account).catch((e) => e);
19
19
  }
20
- class E {
20
+ class C {
21
21
  isLoading = !1;
22
22
  selectedAccount = {};
23
23
  selectedMember = {};
24
24
  constructor() {
25
- A(this);
25
+ _(this);
26
26
  }
27
27
  setIsLoading = (t) => this.isLoading = t;
28
28
  setSelectedAccount = (t) => this.selectedAccount = t;
29
29
  setSelectedMember = (t) => this.selectedMember = t;
30
30
  }
31
- class T {
31
+ class w {
32
32
  globalStore;
33
- api = new _("/", "");
33
+ api = new A("/", "");
34
34
  accounts = [];
35
35
  institutions = [];
36
36
  members = [];
37
37
  uiStore;
38
38
  constructor(t) {
39
- this.globalStore = t, this.uiStore = new E(), this.api = new _(t.endpoint, t.sessionToken, t.onError), A(this);
39
+ this.globalStore = t, this.uiStore = new C(), this.api = new A(t.endpoint, t.sessionToken, t.onError), _(this);
40
40
  }
41
41
  loadAccountData = async ({
42
42
  accounts: t,
@@ -111,6 +111,17 @@ class T {
111
111
  get visibleSavingsAccounts() {
112
112
  return this.savingsAccounts.filter((t) => !t.is_hidden);
113
113
  }
114
+ get savingsAndCheckingAccountsBalance() {
115
+ return this.savingsAndCheckingAccounts.reduce(
116
+ (e, n) => e + (n?.balance || 0),
117
+ 0
118
+ );
119
+ }
120
+ get savingsAndCheckingAccounts() {
121
+ return this.accounts.filter(
122
+ (e) => e.account_type === c.SAVINGS || e.account_type === c.CHECKING
123
+ );
124
+ }
114
125
  addAccount = async (t) => {
115
126
  try {
116
127
  const e = await this.api.createAccount(t);
@@ -126,22 +137,22 @@ class T {
126
137
  n,
127
138
  "MD_EXCLUDE_EXTERNAL_ACCOUNTS"
128
139
  );
129
- for (const r of t) {
130
- if (s && r.member_is_managed_by_user) continue;
131
- const o = this.members.find((g) => g.guid === r.member_guid);
132
- if (!o) continue;
140
+ for (const o of t) {
141
+ if (s && o.member_is_managed_by_user) continue;
142
+ const r = this.members.find((m) => m.guid === o.member_guid);
143
+ if (!r) continue;
133
144
  let u = h.Connected;
134
- y.includes(o.connection_status) ? u = h.Error : I.includes(o.connection_status) ? u = h.Processing : b.includes(o.connection_status) && (u = h.RequiresMfa);
135
- const m = [
136
- r.user_name || r.feed_name || "",
137
- r.account_number ? `*${r.account_number}` : ""
145
+ y.includes(r.connection_status) ? u = h.Error : I.includes(r.connection_status) ? u = h.Processing : b.includes(r.connection_status) && (u = h.RequiresMfa);
146
+ const g = [
147
+ o.user_name || o.feed_name || "",
148
+ o.account_number ? `*${o.account_number}` : ""
138
149
  ].join(" ").trim();
139
150
  e.push({
140
- ...r,
151
+ ...o,
141
152
  connectionStatus: u,
142
- institutionName: m,
143
- memberName: o.name
144
- }), o.connectionStatus = u;
153
+ institutionName: g,
154
+ memberName: r.name
155
+ }), r.connectionStatus = u;
145
156
  }
146
157
  return e;
147
158
  };
@@ -180,10 +191,10 @@ class T {
180
191
  try {
181
192
  const e = await this.api.mergeAccounts(t), n = e[Object.keys(e)[0]];
182
193
  a(() => {
183
- const s = this.accounts.findIndex((o) => o.guid === t[1]);
194
+ const s = this.accounts.findIndex((r) => r.guid === t[1]);
184
195
  this.accounts.splice(s, 1);
185
- const r = this.accounts.findIndex((o) => o.guid === t[0]);
186
- this.accounts.splice(r, 1, n);
196
+ const o = this.accounts.findIndex((r) => r.guid === t[0]);
197
+ this.accounts.splice(o, 1, n);
187
198
  });
188
199
  } catch (e) {
189
200
  console.error(`Error occurred while merging accounts: ${e}`);
@@ -231,19 +242,19 @@ class T {
231
242
  };
232
243
  updateAccountFiltering = async (t, e) => {
233
244
  for (const n of t) {
234
- const s = this.accounts.find((r) => r.guid === n);
245
+ const s = this.accounts.find((o) => o.guid === n);
235
246
  if (s) {
236
247
  s.is_excluded_from_accounts = e, s.is_excluded_from_budgets = e, s.is_excluded_from_cash_flow = e, s.is_excluded_from_debts = e, s.is_excluded_from_goals = e, s.is_excluded_from_investments = e, s.is_excluded_from_net_worth = e, s.is_excluded_from_spending = e, s.is_excluded_from_transactions = e, s.is_excluded_from_trends = e;
237
248
  try {
238
249
  this.updateAccount(s);
239
- } catch (r) {
240
- console.error(`Failed to update account ${n} (added):`, r);
250
+ } catch (o) {
251
+ console.error(`Failed to update account ${n} (added):`, o);
241
252
  }
242
253
  }
243
254
  }
244
255
  };
245
256
  }
246
257
  export {
247
- _ as A,
248
- T as a
258
+ A,
259
+ w as a
249
260
  };
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-DaFRU5st.mjs";
1
+ import { A as _ } from "./ConnectDrawer-CuUj16NH.mjs";
2
2
  const s = (t) => t && (t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CHECKING_LINE_OF_CREDIT), p = (t) => t.is_manual || !t.guid, E = (t) => t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.CHECKING_LINE_OF_CREDIT, a = (t) => t.account_type === _.SAVINGS || t.account_type === _.CHECKING || t.account_type === _.LINE_OF_CREDIT || t.account_type === _.CREDIT_CARD || t.account_type === _.LOAN || t.account_type === _.MORTGAGE, y = (t) => t.account_type === _.LOAN || t.account_type === _.MORTGAGE;
3
3
  export {
4
4
  s as a,
@@ -1,4 +1,4 @@
1
- import { i as _ } from "./hooks-D6XlXHf4.mjs";
1
+ import { i as _ } from "./hooks-C41HAxM5.mjs";
2
2
  import { b as d } from "./Category-CevNQ03n.mjs";
3
3
  import { b as f } from "./Localization-2MODESHW.mjs";
4
4
  import { f as l } from "./NumberFormatting-Buh7u8Oi.mjs";
@@ -2,7 +2,7 @@ import { jsx as t, jsxs as E } from "react/jsx-runtime";
2
2
  import { observer as g } from "mobx-react-lite";
3
3
  import C from "react";
4
4
  import $ from "@mui/material/Stack";
5
- import { G as K, m as y, u as b, g as D, b as U } from "./hooks-D6XlXHf4.mjs";
5
+ import { G as K, m as y, u as b, g as D, b as U } from "./hooks-C41HAxM5.mjs";
6
6
  import Y from "@mui/material/List";
7
7
  import V from "@mui/material/Paper";
8
8
  import v from "@mui/material/Divider";
@@ -16,13 +16,13 @@ import { Text as B, TextField as q, CategoryIcon as H } from "@mxenabled/mxui";
16
16
  import J from "@mui/material/Collapse";
17
17
  import Q from "@mui/material/DialogContent";
18
18
  import { b as S } from "./Localization-2MODESHW.mjs";
19
- import { a as Z } from "./Dialog-CWW597AF.mjs";
19
+ import { D as Z } from "./Dialog-BPTr3qHE.mjs";
20
20
  import ee from "@mui/material/Box";
21
21
  import te from "@mui/material/Chip";
22
22
  import I from "@mui/material/IconButton";
23
23
  import { S as oe } from "./SearchBox-B2_zLv8-.mjs";
24
24
  import { L as k } from "./Loader-DUaFpDGv.mjs";
25
- import { D as ae } from "./Drawer-kEE73B87.mjs";
25
+ import { D as ae } from "./Drawer-BEtCk82g.mjs";
26
26
  const h = () => {
27
27
  if (!C.useContext(K))
28
28
  throw new Error("useCategoryUiStore() must be used within the GlobalDataContext");
@@ -3,7 +3,7 @@ import { getUnixTime as r } from "date-fns/getUnixTime";
3
3
  import { subMonths as g } from "date-fns/subMonths";
4
4
  import { startOfMonth as h } from "date-fns/startOfMonth";
5
5
  import { endOfMonth as d } from "date-fns/endOfMonth";
6
- import { a as T, g as m } from "./CategoryUtil-BR3H5i6n.mjs";
6
+ import { a as T, g as m } from "./CategoryUtil-DUM8NuGO.mjs";
7
7
  import { F as p, A as i } from "./Fetch-87LIQbEA.mjs";
8
8
  import { b as f, c as w } from "./Category-CevNQ03n.mjs";
9
9
  class y {
@@ -4,7 +4,7 @@ import { startOfToday as M } from "date-fns/startOfToday";
4
4
  import { subMonths as T } from "date-fns/subMonths";
5
5
  import { CategoryIconList as C } from "@mxenabled/mxui";
6
6
  import { C as N, a as O, b } from "./Category-CevNQ03n.mjs";
7
- import { f as D, D as E } from "./Dialog-CWW597AF.mjs";
7
+ import { f as D, a as E } from "./Dialog-BPTr3qHE.mjs";
8
8
  const R = 3, d = 12, Y = (n, r, t) => n.filter((e) => !e.parent_guid).map(
9
9
  (e) => _(
10
10
  e,
@@ -14,14 +14,14 @@ import EE from "@mui/material/ListItemText";
14
14
  import IE from "@mui/material/Popover";
15
15
  import F from "@mui/material/Stack";
16
16
  import w from "@mui/material/Checkbox";
17
- import { u as o, f as _E, d as NE, e as rE } from "./hooks-D6XlXHf4.mjs";
17
+ import { u as o, f as _E, d as NE, e as rE } from "./hooks-C41HAxM5.mjs";
18
18
  import { b as W } from "./Localization-2MODESHW.mjs";
19
19
  import { u as RE } from "./useScreenSize-B6JyS_Lj.mjs";
20
20
  import { observer as Q } from "mobx-react-lite";
21
21
  import iE from "@mui/material/styles/useTheme";
22
22
  import { ConnectWidget as aE } from "@mxenabled/web-widget-sdk";
23
23
  import lE from "@mui/material/CircularProgress";
24
- import { D as OE } from "./Drawer-kEE73B87.mjs";
24
+ import { D as OE } from "./Drawer-BEtCk82g.mjs";
25
25
  var T = /* @__PURE__ */ ((E) => (E[E.ANY = 0] = "ANY", E[E.CHECKING = 1] = "CHECKING", E[E.SAVINGS = 2] = "SAVINGS", E[E.LOAN = 3] = "LOAN", E[E.CREDIT_CARD = 4] = "CREDIT_CARD", E[E.INVESTMENT = 5] = "INVESTMENT", E[E.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", E[E.MORTGAGE = 7] = "MORTGAGE", E[E.PROPERTY = 8] = "PROPERTY", E[E.CASH = 9] = "CASH", E[E.INSURANCE = 10] = "INSURANCE", E[E.PREPAID = 11] = "PREPAID", E[E.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", E[E.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", E))(T || {}), sE = /* @__PURE__ */ ((E) => (E[E.NONE = 0] = "NONE", E[E.MONEY_MARKET = 1] = "MONEY_MARKET", E[E.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", E[E.AUTO = 3] = "AUTO", E[E.STUDENT = 4] = "STUDENT", E[E.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", E[E.PERSONAL = 6] = "PERSONAL", E[E.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", E[E.HOME_EQUITY = 8] = "HOME_EQUITY", E[E.PLAN_401_K = 9] = "PLAN_401_K", E[E.PLAN_403_B = 10] = "PLAN_403_B", E[E.PLAN_529 = 11] = "PLAN_529", E[E.IRA = 12] = "IRA", E[E.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", E[E.ROTH_IRA = 14] = "ROTH_IRA", E[E.TAXABLE = 15] = "TAXABLE", E[E.NON_TAXABLE = 16] = "NON_TAXABLE", E[E.BROKERAGE = 17] = "BROKERAGE", E[E.TRUST = 18] = "TRUST", E[E.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", E[E.PLAN_457 = 20] = "PLAN_457", E[E.PENSION = 21] = "PENSION", E[E.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", E[E.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", E[E.SIMPLE_IRA = 24] = "SIMPLE_IRA", E[E.BOAT = 25] = "BOAT", E[E.POWERSPORTS = 26] = "POWERSPORTS", E[E.RV = 27] = "RV", E[E.HELOC = 28] = "HELOC", E[E.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", E[E.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", E[E.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", E[E.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", E[E.DISABILITY = 33] = "DISABILITY", E[E.HEALTH = 34] = "HEALTH", E[E.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", E[E.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", E[E.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", E[E.TERM_LIFE = 38] = "TERM_LIFE", E[E.WHOLE_LIFE = 39] = "WHOLE_LIFE", E[E.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", E[E.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", E[E.HSA = 42] = "HSA", E[E.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", E[E.INDIVIDUAL = 44] = "INDIVIDUAL", E[E.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", E[E.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", E[E.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", E[E.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", E[E.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", E[E.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", E[E.PLAN_401_A = 51] = "PLAN_401_A", E[E.SARSEP_IRA = 52] = "SARSEP_IRA", E[E.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", E[E.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", E[E.SEPP_IRA = 55] = "SEPP_IRA", E[E.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", E[E.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", E[E.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", E[E.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", E[E.COVERDELL = 60] = "COVERDELL", E[E.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", E[E.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", E[E.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", E[E.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", E[E.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", E[E.CUSTODIAL = 66] = "CUSTODIAL", E[E.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", E[E.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", E[E.EDUCATIONAL = 69] = "EDUCATIONAL", E[E.ESTATE = 70] = "ESTATE", E[E.EXECUTOR = 71] = "EXECUTOR", E[E.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", E[E.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", E[E.HRA = 74] = "HRA", E[E.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", E[E.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", E[E.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", E[E.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", E[E.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", E[E.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", E[E.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", E[E.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", E[E.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", E[E.LIVING_TRUST = 84] = "LIVING_TRUST", E[E.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", E[E.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", E[E.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", E[E.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", E[E.PARTNERSHIP = 89] = "PARTNERSHIP", E[E.PLAN_409_A = 90] = "PLAN_409_A", E[E.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", E[E.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", E[E.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", E[E.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", E[E.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", E[E.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", E[E.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", E[E.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", E[E.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", E[E.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", E[E.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", E[E.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", E[E.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", E[E.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", E[E.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", E[E.HSA_SAVINGS = 106] = "HSA_SAVINGS", E[E.HSA_CHECKING = 107] = "HSA_CHECKING", E))(sE || {}), LE = /* @__PURE__ */ ((E) => (E[E.REAL_ESTATE = 0] = "REAL_ESTATE", E[E.VEHICLE = 1] = "VEHICLE", E[E.ART = 2] = "ART", E[E.JEWELRY = 3] = "JEWELRY", E[E.FURNITURE = 4] = "FURNITURE", E[E.APPLIANCES = 5] = "APPLIANCES", E[E.COMPUTER = 6] = "COMPUTER", E[E.ELECTRONICS = 7] = "ELECTRONICS", E[E.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", E[E.MISCELLANEOUS = 9] = "MISCELLANEOUS", E))(LE || {}), eE = /* @__PURE__ */ ((E) => (E[E.CREATED = 0] = "CREATED", E[E.PREVENTED = 1] = "PREVENTED", E[E.DENIED = 2] = "DENIED", E[E.CHALLENGED = 3] = "CHALLENGED", E[E.REJECTED = 4] = "REJECTED", E[E.LOCKED = 5] = "LOCKED", E[E.CONNECTED = 6] = "CONNECTED", E[E.IMPEDED = 7] = "IMPEDED", E[E.RECONNECTED = 8] = "RECONNECTED", E[E.DEGRADED = 9] = "DEGRADED", E[E.DISCONNECTED = 10] = "DISCONNECTED", E[E.DISCONTINUED = 11] = "DISCONTINUED", E[E.CLOSED = 12] = "CLOSED", E[E.DELAYED = 13] = "DELAYED", E[E.FAILED = 14] = "FAILED", E[E.UPDATED = 15] = "UPDATED", E[E.DISABLED = 16] = "DISABLED", E[E.IMPORTED = 17] = "IMPORTED", E[E.RESUMED = 18] = "RESUMED", E[E.EXPIRED = 19] = "EXPIRED", E[E.IMPAIRED = 20] = "IMPAIRED", E[E.PENDING = 21] = "PENDING", E))(eE || {});
26
26
  const bE = [
27
27
  0,
@@ -486,6 +486,7 @@ const j = "connect_widget", rI = "connections_widget", HE = ({
486
486
  r = new aE({
487
487
  container: `#${j}`,
488
488
  style: {
489
+ border: "none",
489
490
  height: "calc(100% - 62px)",
490
491
  maxWidth: "450px",
491
492
  position: "absolute",
@@ -1,22 +1,23 @@
1
- import { jsx as s, jsxs as g } from "react/jsx-runtime";
2
- import r from "react";
1
+ import { jsx as r, jsxs as g } from "react/jsx-runtime";
2
+ import s from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
- import { useTheme as D } from "@mui/material/styles";
5
- import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-DaFRU5st.mjs";
7
- import { d as b, e as w, u as _ } from "./hooks-D6XlXHf4.mjs";
8
- import { D as x } from "./Drawer-kEE73B87.mjs";
4
+ import { useTheme as b } from "@mui/material/styles";
5
+ import { ConnectionsWidget as D } from "@mxenabled/web-widget-sdk";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-CuUj16NH.mjs";
7
+ import { d as L, e as w, u as _ } from "./hooks-C41HAxM5.mjs";
8
+ import { D as x } from "./Drawer-BEtCk82g.mjs";
9
9
  const I = ({
10
10
  onClose: l,
11
11
  showConnectionsWidget: o,
12
12
  title: u
13
13
  }) => {
14
14
  let n;
15
- const { refreshAccounts: m } = b(), { loadWidget: f } = w(), { connect: d } = _(), p = D(), [C, e] = r.useState(!1), [S, t] = r.useState(!1);
16
- return r.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
- n = new L({
15
+ const { refreshAccounts: m } = L(), { loadWidget: f } = w(), { connect: d } = _(), p = b(), [C, e] = s.useState(!1), [S, t] = s.useState(!1);
16
+ return s.useEffect(() => (o ? (e(!0), f({ widget: "connections_widget", mode: p.palette.mode }).then((h) => {
17
+ n = new D({
18
18
  container: `#${a}`,
19
19
  style: {
20
+ border: "none",
20
21
  height: "calc(100% - 62px)",
21
22
  width: "100%",
22
23
  position: "absolute"
@@ -31,7 +32,7 @@ const I = ({
31
32
  });
32
33
  })) : (e(!1), t(!1)), () => {
33
34
  n?.unmount();
34
- }), [o]), /* @__PURE__ */ s(
35
+ }), [o]), /* @__PURE__ */ r(
35
36
  x,
36
37
  {
37
38
  ariaLabelClose: d.close_connections_aria,
@@ -41,8 +42,8 @@ const I = ({
41
42
  },
42
43
  title: u,
43
44
  children: /* @__PURE__ */ g("div", { id: a, children: [
44
- S && /* @__PURE__ */ s(c, { status: i.Error }),
45
- C && /* @__PURE__ */ s(c, { status: i.Loading })
45
+ S && /* @__PURE__ */ r(c, { status: i.Error }),
46
+ C && /* @__PURE__ */ r(c, { status: i.Loading })
46
47
  ] })
47
48
  }
48
49
  );
@@ -5,7 +5,7 @@ import { v4 as B } from "uuid";
5
5
  import { useTokens as L, TextField as O, P as _ } from "@mxenabled/mxui";
6
6
  import { b as y, g as C } from "./Localization-2MODESHW.mjs";
7
7
  import { g as W, C as j, f as g, M as b } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { u as D } from "./hooks-D6XlXHf4.mjs";
8
+ import { u as D } from "./hooks-C41HAxM5.mjs";
9
9
  const F = ({
10
10
  allowDecimals: o = !0,
11
11
  ariaLabel: h,
@@ -7,8 +7,8 @@ import { isBefore as n } from "date-fns/isBefore";
7
7
  import { nextDay as c } from "date-fns/nextDay";
8
8
  import { setDate as d } from "date-fns/setDate";
9
9
  import { startOfToday as o } from "date-fns/startOfToday";
10
- import { fromUnixTime as D } from "date-fns/fromUnixTime";
11
- import { f as i, D as f } from "./Dialog-CWW597AF.mjs";
10
+ import { fromUnixTime as i } from "date-fns/fromUnixTime";
11
+ import { f as D, a as f } from "./Dialog-BPTr3qHE.mjs";
12
12
  const x = (t) => {
13
13
  const e = y(t);
14
14
  let r = c(t, e);
@@ -34,7 +34,7 @@ const x = (t) => {
34
34
  }, Q = (t) => {
35
35
  const e = p(t);
36
36
  return a(e, 1);
37
- }, w = (t) => l(t, 1), F = (t) => i(D(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? i(D(t), f.MONTH_YEAR) : "";
37
+ }, w = (t) => l(t, 1), F = (t) => D(i(t), f.DAY_OF_WEEK_MONTH_DAY), H = (t) => t ? D(i(t), f.MONTH_YEAR) : "";
38
38
  export {
39
39
  Q as a,
40
40
  p as b,
@@ -1,6 +1,6 @@
1
1
  import { makeAutoObservable as l } from "mobx";
2
2
  import { getDate as r, fromUnixTime as _, startOfMonth as m } from "date-fns";
3
- import { A as p } from "./ConnectDrawer-DaFRU5st.mjs";
3
+ import { A as p } from "./ConnectDrawer-CuUj16NH.mjs";
4
4
  const E = 12, T = 100;
5
5
  var c = /* @__PURE__ */ ((a) => (a[a.FASTEST_PAYOFF_FIRST = 1] = "FASTEST_PAYOFF_FIRST", a[a.HIGHEST_INTEREST = 2] = "HIGHEST_INTEREST", a[a.LOWEST_BALANCE = 3] = "LOWEST_BALANCE", a[a.HIGHEST_BALANCE = 4] = "HIGHEST_BALANCE", a))(c || {});
6
6
  const b = {
@@ -115,9 +115,9 @@ const L = "do", S = "MMM do, yyyy", x = {
115
115
  ) });
116
116
  }, I = N;
117
117
  export {
118
- x as D,
118
+ I as D,
119
119
  L as O,
120
- I as a,
120
+ x as a,
121
121
  S as b,
122
122
  b as f
123
123
  };