@mx-cartographer/experiences 7.0.43 → 7.0.44-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 (46) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-9Tt9DsMn.mjs → Account-CYkoSG86.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-BkxDh8cY.mjs → AccountDetailsContent-BuXTLptM.mjs} +6 -6
  4. package/dist/{AccountDetailsHeader-B3DiwvB7.mjs → AccountDetailsHeader-BWl2e21n.mjs} +3 -3
  5. package/dist/{AccountFields-DvACKQho.mjs → AccountFields-x4A7Loe5.mjs} +2 -2
  6. package/dist/{AccountListItem-FmvNfEP8.mjs → AccountListItem-D9mpJkCP.mjs} +2 -2
  7. package/dist/{AccountStore-BKK7dA8Y.mjs → AccountStore-WQAkYgx1.mjs} +2 -2
  8. package/dist/{Accounts-DR3xTyAx.mjs → Accounts-CeeJag5-.mjs} +1 -1
  9. package/dist/ConnectDrawer-CNdzwKdX.mjs +528 -0
  10. package/dist/{ConnectionsDrawer-B-dZx6gH.mjs → ConnectionsDrawer-CcBzf4l5.mjs} +1 -1
  11. package/dist/{DebtsStore-3kGPnxRQ.mjs → DebtsStore-EZh5aBxe.mjs} +1 -1
  12. package/dist/{ExportCsvAction-hsbyeBjg.mjs → ExportCsvAction-BKxnEFRu.mjs} +2 -2
  13. package/dist/{GoalStore-B_nwDz-L.mjs → GoalStore-B9lVADw5.mjs} +2 -2
  14. package/dist/{ManageIncome-4_bSdxXr.mjs → ManageIncome-D1XoZlqY.mjs} +4 -4
  15. package/dist/{NetWorthStore-fst-mYe9.mjs → NetWorthStore-N5esR-KJ.mjs} +2 -2
  16. package/dist/{NotificationSettings-zI5EGf1a.mjs → NotificationSettings-CWZR6ki-.mjs} +1 -1
  17. package/dist/{RecurringSettings-RduF8gt3.mjs → RecurringSettings-DA6qT8ai.mjs} +3 -3
  18. package/dist/{RecurringTransactionsStore-DeLXfuC4.mjs → RecurringTransactionsStore-Djo9IeDd.mjs} +1 -1
  19. package/dist/{SettingsStore-Dc34Tzx8.mjs → SettingsStore-BcgS_Ohv.mjs} +1 -1
  20. package/dist/{TransactionDetails-C-2UEbmQ.mjs → TransactionDetails-DO_YihKP.mjs} +2 -2
  21. package/dist/{TransactionStore-De9d82Ao.mjs → TransactionStore-B2Vq95Fg.mjs} +2 -2
  22. package/dist/{User-BwjK6Fwz.mjs → User-Bfnq7dd4.mjs} +20 -21
  23. package/dist/{WidgetContainer-ztkGgdIH.mjs → WidgetContainer-DfyV39Ru.mjs} +1 -1
  24. package/dist/accounts/index.es.js +128 -123
  25. package/dist/budgets/index.es.js +5 -5
  26. package/dist/cashflow/index.es.js +6 -6
  27. package/dist/common/index.es.js +43 -43
  28. package/dist/common/utils/AccountFilter.d.ts +5 -0
  29. package/dist/dashboard/index.es.js +1 -1
  30. package/dist/debts/index.es.js +5 -5
  31. package/dist/{exportTransactionsToCSV--LPpH3es.mjs → exportTransactionsToCSV-BgWQsGWy.mjs} +1 -1
  32. package/dist/finstrong/index.es.js +4 -4
  33. package/dist/goals/index.es.js +6 -6
  34. package/dist/help/index.es.js +1 -1
  35. package/dist/investments/index.es.js +2 -2
  36. package/dist/networth/index.es.js +4 -4
  37. package/dist/notifications/index.es.js +2 -2
  38. package/dist/recurringtransactions/index.es.js +8 -8
  39. package/dist/settings/index.es.js +4 -4
  40. package/dist/spending/index.es.js +2 -2
  41. package/dist/transactions/index.es.js +10 -10
  42. package/dist/trends/index.es.js +4 -4
  43. package/package.json +1 -1
  44. package/dist/ConnectDrawer-L1_xPNYt.mjs +0 -507
  45. package/dist/{RepeatingTransaction-BW4J-jeJ.mjs → RecurringTransactions-DTUx9VN1.mjs} +1 -1
  46. package/dist/{Notification-aGCHxikw.mjs → ToggleListItem-r0Kx56wF.mjs} +1 -1
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ## [7.0.44] - 10-07-2025
2
+
3
+ **UPDATED** - Enhance accounts list UI for mini view
4
+
1
5
  ## [7.0.43] - 10-06-2025
2
6
 
3
7
  - **UPDATED** - Theme font to be applied in additional areas
@@ -1,4 +1,4 @@
1
- import { A as C } from "./ConnectDrawer-L1_xPNYt.mjs";
1
+ import { A as C } from "./ConnectDrawer-CNdzwKdX.mjs";
2
2
  const I = [
3
3
  C.ANY,
4
4
  C.CASH,
@@ -11,10 +11,10 @@ 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-B3DiwvB7.mjs";
14
+ import { u as D } from "./AccountDetailsHeader-BWl2e21n.mjs";
15
15
  import { c as z, u as E, f as O, g as X } from "./hooks-BAAimqdq.mjs";
16
- import { A as at } from "./AccountListItem-FmvNfEP8.mjs";
17
- import { A as k } from "./WidgetContainer-ztkGgdIH.mjs";
16
+ import { A as at } from "./AccountListItem-D9mpJkCP.mjs";
17
+ import { A as k } from "./WidgetContainer-DfyV39Ru.mjs";
18
18
  import { a as V, f as B, D as j } from "./Dialog-CWW597AF.mjs";
19
19
  import { b as h } from "./Localization-2MODESHW.mjs";
20
20
  import { D as J } from "./Drawer-kEE73B87.mjs";
@@ -22,7 +22,7 @@ import R 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 { k as m, N as Q, j as Z, F as P } from "./ConnectDrawer-L1_xPNYt.mjs";
25
+ import { l as m, N as Q, j as Z, F as P } from "./ConnectDrawer-CNdzwKdX.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";
@@ -38,13 +38,13 @@ import At from "@mui/material/MenuItem";
38
38
  import bt from "@mui/material/Select";
39
39
  import Tt from "@mui/material/TextField";
40
40
  import { C as St } from "./CurrencyInput-pHmLzc_c.mjs";
41
- import { b as Dt } from "./AccountFields-DvACKQho.mjs";
41
+ import { b as Dt } from "./AccountFields-x4A7Loe5.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-C-2UEbmQ.mjs";
47
+ import { T as vt, a as Lt } from "./TransactionDetails-DO_YihKP.mjs";
48
48
  import { T as K } from "./TabContentContainer-j01JYR_7.mjs";
49
49
  const U = ({
50
50
  children: e,
@@ -2,7 +2,7 @@ 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 N } from "./AccountFields-DvACKQho.mjs";
5
+ import { g as N } from "./AccountFields-x4A7Loe5.mjs";
6
6
  import h from "react";
7
7
  import { G as v, c as S, m as y, u as _, e as E } from "./hooks-BAAimqdq.mjs";
8
8
  import G from "@mui/material/Card";
@@ -11,8 +11,8 @@ import P from "@mui/material/CardHeader";
11
11
  import { useTheme as M } from "@mui/material/styles";
12
12
  import { g as B, a as H, b as U } from "./SpendingData-D5vsfYKo.mjs";
13
13
  import { L as j } from "./LineChart-CHTf3RcN.mjs";
14
- import { I as f, P as g, S as C } from "./Account-9Tt9DsMn.mjs";
15
- import { A } from "./ConnectDrawer-L1_xPNYt.mjs";
14
+ import { I as f, P as g, S as C } from "./Account-CYkoSG86.mjs";
15
+ import { A } from "./ConnectDrawer-CNdzwKdX.mjs";
16
16
  import { L as z } from "./Loader-DUaFpDGv.mjs";
17
17
  import { f as Y, D as R } from "./Dialog-CWW597AF.mjs";
18
18
  import { f as $ } from "./NumberFormatting-CtWHhyBX.mjs";
@@ -1,7 +1,7 @@
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-L1_xPNYt.mjs";
4
- import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-DR3xTyAx.mjs";
3
+ import { F as m, A as d, a as v, P as h, b as F } from "./ConnectDrawer-CNdzwKdX.mjs";
4
+ import { i as T, u as D, a as A, b as g, c as O } from "./Accounts-CeeJag5-.mjs";
5
5
  import { f as _, i as b, a as N, b as S } from "./NumberFormatting-CtWHhyBX.mjs";
6
6
  import { b as i } from "./Localization-2MODESHW.mjs";
7
7
  import { f as o, D as f } from "./Dialog-CWW597AF.mjs";
@@ -10,8 +10,8 @@ import C from "@mui/material/styles/useTheme";
10
10
  import { InstitutionLogo as B, Text as o } from "@mxenabled/mxui";
11
11
  import { Error as L } from "@mxenabled/mx-icons";
12
12
  import { I as A } from "./IconBacking-B9oC6uL2.mjs";
13
- import { g as j } from "./AccountFields-DvACKQho.mjs";
14
- import { d } from "./ConnectDrawer-L1_xPNYt.mjs";
13
+ import { g as j } from "./AccountFields-x4A7Loe5.mjs";
14
+ import { d } from "./ConnectDrawer-CNdzwKdX.mjs";
15
15
  import { u as T } from "./hooks-BAAimqdq.mjs";
16
16
  import { f as X } from "./NumberFormatting-CtWHhyBX.mjs";
17
17
  const $ = {
@@ -1,7 +1,7 @@
1
1
  import { makeAutoObservable as _, runInAction as a } from "mobx";
2
- import { i as g } from "./User-BwjK6Fwz.mjs";
2
+ import { i as g } from "./User-Bfnq7dd4.mjs";
3
3
  import { F as f, A as i } from "./Fetch-87LIQbEA.mjs";
4
- import { A as n, d as h, E as p, g as y, h as I } from "./ConnectDrawer-L1_xPNYt.mjs";
4
+ import { A as n, d as h, E as p, g as y, h as I } from "./ConnectDrawer-CNdzwKdX.mjs";
5
5
  class l {
6
6
  fetchInstance;
7
7
  constructor(t, e, s) {
@@ -1,4 +1,4 @@
1
- import { A as _ } from "./ConnectDrawer-L1_xPNYt.mjs";
1
+ import { A as _ } from "./ConnectDrawer-CNdzwKdX.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,
@@ -0,0 +1,528 @@
1
+ import { jsx as _, jsxs as h } from "react/jsx-runtime";
2
+ import m, { useMemo as Z } from "react";
3
+ import G from "@mui/material/Button";
4
+ import { AccountsIcon as S, P as x, Icon as o, Text as n } from "@mxenabled/mxui";
5
+ import b from "@mui/material/Tooltip";
6
+ import j from "@mui/material/Box";
7
+ import p from "@mui/material/IconButton";
8
+ import K from "@mui/material/FormControlLabel";
9
+ import k from "@mui/material/List";
10
+ import g from "@mui/material/ListItem";
11
+ import y from "@mui/material/ListItemButton";
12
+ import c from "@mui/material/ListSubheader";
13
+ import u from "@mui/material/ListItemText";
14
+ import EE from "@mui/material/Popover";
15
+ import F from "@mui/material/Stack";
16
+ import v from "@mui/material/Checkbox";
17
+ import { u as B, c as IE, d as _E } from "./hooks-BAAimqdq.mjs";
18
+ import { b as W } from "./Localization-2MODESHW.mjs";
19
+ import { u as NE } from "./useScreenSize-B6JyS_Lj.mjs";
20
+ import { observer as $ } from "mobx-react-lite";
21
+ import rE from "@mui/material/styles/useTheme";
22
+ import { ConnectWidget as RE } from "@mxenabled/web-widget-sdk";
23
+ import iE from "@mui/material/CircularProgress";
24
+ import { D as OE } from "./Drawer-kEE73B87.mjs";
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 || {}), lE = /* @__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))(lE || {}), aE = /* @__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))(aE || {}), LE = /* @__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))(LE || {});
26
+ const qE = [
27
+ 0,
28
+ 15,
29
+ 18
30
+ /* RESUMED */
31
+ ], sE = [
32
+ 3,
33
+ 4
34
+ /* REJECTED */
35
+ ], eE = [
36
+ 1,
37
+ 2,
38
+ 5,
39
+ 7,
40
+ 9,
41
+ 10,
42
+ 11,
43
+ 12,
44
+ 13,
45
+ 14,
46
+ 16,
47
+ 17,
48
+ 19,
49
+ 20
50
+ /* IMPAIRED */
51
+ ], ZE = [...eE, ...sE];
52
+ var DE = /* @__PURE__ */ ((E) => (E.Connected = "Connected", E.Error = "Error", E.Processing = "Processing", E.RequiresMfa = "RequiresMfa", E))(DE || {});
53
+ const SE = {
54
+ 3: "Challenged",
55
+ 12: "Closed",
56
+ 9: "Degraded",
57
+ 13: "Delayed",
58
+ 2: "Denied",
59
+ 16: "Disabled",
60
+ 10: "Disconnected",
61
+ 11: "Discontinued",
62
+ 19: "Expired",
63
+ 14: "Failed",
64
+ 20: "Impaired",
65
+ 7: "Impeded",
66
+ 17: "Imported",
67
+ 5: "Locked",
68
+ 1: "Prevented",
69
+ 4: "Rejected"
70
+ }, CE = {
71
+ 0: "Any",
72
+ 9: "Cash",
73
+ 1: "Checking",
74
+ 12: "Checking Line of Credit",
75
+ 4: "Credit Card",
76
+ 13: "Digital Wallet",
77
+ 10: "Insurance",
78
+ 5: "Investment",
79
+ 6: "Line of Credit",
80
+ 3: "Loan",
81
+ 7: "Mortgage",
82
+ 11: "Prepaid",
83
+ 8: "Property",
84
+ 2: "Savings"
85
+ }, nE = {
86
+ 0: "account_balance",
87
+ 9: "monetization_on",
88
+ 1: "checkbook",
89
+ 12: "checkbook",
90
+ // Checking line of credit has the same icon as checking
91
+ 4: "credit_card",
92
+ 13: "wallet",
93
+ 10: "monitor_heart",
94
+ 5: "trending_up",
95
+ 6: "add_credit",
96
+ 3: "loans",
97
+ 7: "house",
98
+ 11: "credit_card",
99
+ 8: "key",
100
+ 2: "savings"
101
+ }, bE = {
102
+ 5: "bid_landscape"
103
+ }, pE = {
104
+ 0: "Real Estate",
105
+ 1: "Vehicle",
106
+ 2: "Art",
107
+ 3: "Jewelry",
108
+ 4: "Furniture",
109
+ 5: "Appliances",
110
+ 6: "Computer",
111
+ 7: "Electronics",
112
+ 8: "Sports Equipment",
113
+ 9: "Miscellaneous"
114
+ }, yE = {
115
+ 0: "home_work",
116
+ 1: "directions_car",
117
+ 2: "insert_photo",
118
+ 3: "diamond",
119
+ 4: "chair",
120
+ 5: "kitchen",
121
+ 6: "computer",
122
+ 7: "camera_alt",
123
+ 8: "sports_baseball",
124
+ 9: "monetization_on"
125
+ }, V = (E, N) => E.reduce((I, R) => (I[R.guid] = N?.includes(R.guid), I), {}), dE = (E, N) => E.reduce((I, R) => {
126
+ const r = CE[R.account_type], l = {
127
+ accountNumber: R.account_number,
128
+ name: `${R.name || R.feed_name} ${R.is_closed ? `(${N})` : ""}`,
129
+ guid: R.guid
130
+ };
131
+ return Object.prototype.hasOwnProperty.call(I, r) ? I[r] = I[r].concat(l) : I[r] = [l], I;
132
+ }, {});
133
+ function PE(E) {
134
+ const { heldAccounts: N, externalAccounts: I } = E.reduce(
135
+ (R, r) => (r.member_is_managed_by_user ? R.externalAccounts.push(r) : R.heldAccounts.push(r), R),
136
+ { heldAccounts: [], externalAccounts: [] }
137
+ );
138
+ return {
139
+ heldAccounts: X(N),
140
+ externalAccounts: X(I)
141
+ };
142
+ }
143
+ function cE(E, N) {
144
+ const { heldAccounts: I, externalAccounts: R } = PE(E), r = I.slice(0, N);
145
+ return r.length < N && r.push(...R.slice(0, N - r.length)), r;
146
+ }
147
+ const w = (E) => E === t.CHECKING ? 1 : E === t.SAVINGS ? 2 : E === t.CREDIT_CARD ? 3 : E + 100, X = (E) => E.sort((N, I) => {
148
+ const R = w(N.account_type), r = w(I.account_type), l = R - r;
149
+ if (l !== 0) return l;
150
+ const e = N.name ?? N.feed_name ?? "", P = I.name ?? I.feed_name ?? "";
151
+ return e.localeCompare(P);
152
+ }), Q = ({
153
+ accounts: E,
154
+ accountFilterButtonEl: N,
155
+ copy: I,
156
+ onAccountClick: R,
157
+ onAccountGroupClick: r,
158
+ onCancelClick: l,
159
+ onConnectAccountClick: e,
160
+ onFilterClick: P,
161
+ selectedOptions: D,
162
+ setSelectedOptions: C,
163
+ handleClose: A,
164
+ showAccountNumbers: O
165
+ }) => {
166
+ const { connect: L } = B(), d = Z(
167
+ () => dE(E, L.connection_statuses[12]),
168
+ [E]
169
+ ), U = E.length < 1, a = !!N, H = Object.values(D).every((i) => !!i);
170
+ return /* @__PURE__ */ _(
171
+ EE,
172
+ {
173
+ anchorEl: N,
174
+ anchorOrigin: {
175
+ vertical: "bottom",
176
+ horizontal: "left"
177
+ },
178
+ onClose: A,
179
+ open: a,
180
+ sx: { maxHeight: 400, maxWidth: U ? "100%" : 300 },
181
+ transformOrigin: {
182
+ vertical: "top",
183
+ horizontal: "left"
184
+ },
185
+ children: U ? /* @__PURE__ */ h(
186
+ F,
187
+ {
188
+ sx: {
189
+ alignItems: "center",
190
+ flexDirection: "column",
191
+ padding: 16,
192
+ textAlign: "center",
193
+ width: 320,
194
+ maxWidth: "100%"
195
+ },
196
+ children: [
197
+ /* @__PURE__ */ _(S, { size: 32 }),
198
+ /* @__PURE__ */ _(x, { bold: !0, mt: 12, children: I.zeroStateTitle }),
199
+ /* @__PURE__ */ _(x, { mt: 12, children: I.zeroStateDescription }),
200
+ e && /* @__PURE__ */ _(G, { onClick: e, children: I.zeroStateButton })
201
+ ]
202
+ }
203
+ ) : /* @__PURE__ */ h("form", { onSubmit: A, children: [
204
+ /* @__PURE__ */ h(
205
+ k,
206
+ {
207
+ className: "mx-cmn-account-options",
208
+ dense: !0,
209
+ id: "filter_accounts",
210
+ sx: {
211
+ overflow: "auto",
212
+ maxHeight: 300,
213
+ minWidth: 268,
214
+ "& .MuiFormControlLabel-root": {
215
+ m: 4,
216
+ borderRadius: 1,
217
+ width: "100%",
218
+ "&:hover": {
219
+ bgcolor: "background.default"
220
+ },
221
+ "&:focus-within": {
222
+ outline: "2px solid rgba(82, 138, 224, 0.8)",
223
+ outlineOffset: "2px"
224
+ },
225
+ "& .MuiFormControlLabel-label": {
226
+ fontSize: 13
227
+ }
228
+ }
229
+ },
230
+ children: [
231
+ /* @__PURE__ */ _(g, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(
232
+ K,
233
+ {
234
+ control: /* @__PURE__ */ _(
235
+ v,
236
+ {
237
+ checked: H,
238
+ "data-ui-test": `checked-${H}`,
239
+ disableRipple: !0,
240
+ onChange: () => {
241
+ const i = {};
242
+ Object.keys(D).forEach((M) => {
243
+ i[M] = !H;
244
+ }), C(i);
245
+ },
246
+ size: "small",
247
+ sx: {
248
+ "&.Mui-focusVisible": {
249
+ outline: "none",
250
+ boxShadow: "none"
251
+ }
252
+ }
253
+ }
254
+ ),
255
+ label: H ? I.unselectAllAccounts : I.selectAllAccounts
256
+ }
257
+ ) }),
258
+ Object.keys(d).map((i) => {
259
+ const M = d[i], T = M.every(
260
+ (s) => D[s.guid]
261
+ );
262
+ return /* @__PURE__ */ _(g, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ _(
263
+ k,
264
+ {
265
+ "aria-label": W(I.accountTypeAccounts, i),
266
+ className: "mx-cmn-account-options-group",
267
+ dense: !0,
268
+ subheader: /* @__PURE__ */ _(c, { disableGutters: !0, children: /* @__PURE__ */ _(
269
+ y,
270
+ {
271
+ "aria-label": W(I.toggleAccountTypeAccounts, i),
272
+ "aria-pressed": T,
273
+ disableGutters: !0,
274
+ onClick: () => r(
275
+ i,
276
+ d,
277
+ T
278
+ ),
279
+ sx: {
280
+ paddingLeft: 12,
281
+ minHeight: 40,
282
+ justifyContent: "left"
283
+ },
284
+ children: /* @__PURE__ */ _(
285
+ u,
286
+ {
287
+ primary: i,
288
+ primaryTypographyProps: { variant: "XSmall", fontWeight: "bold" }
289
+ }
290
+ )
291
+ }
292
+ ) }),
293
+ sx: { overflow: "auto", width: "100%" },
294
+ children: M.map((s) => {
295
+ const Y = D[s.guid], q = `${s.name}${O && s.accountNumber ? ` *${s.accountNumber.slice(-4)}` : ""}`;
296
+ return /* @__PURE__ */ _(
297
+ g,
298
+ {
299
+ className: "mx-cmn-account-options-container",
300
+ disableGutters: !0,
301
+ disablePadding: !0,
302
+ children: /* @__PURE__ */ _(
303
+ K,
304
+ {
305
+ control: /* @__PURE__ */ _(
306
+ v,
307
+ {
308
+ checked: Y,
309
+ "data-ui-test": `checked-${Y}`,
310
+ disableRipple: !0,
311
+ id: s.guid,
312
+ onChange: () => {
313
+ R(s);
314
+ },
315
+ size: "small",
316
+ sx: {
317
+ "&.Mui-focusVisible": {
318
+ outline: "none",
319
+ boxShadow: "none"
320
+ }
321
+ }
322
+ }
323
+ ),
324
+ label: q
325
+ }
326
+ )
327
+ },
328
+ s.guid
329
+ );
330
+ })
331
+ }
332
+ ) }, i);
333
+ })
334
+ ]
335
+ }
336
+ ),
337
+ /* @__PURE__ */ h(F, { direction: "row", justifyContent: "flex-end", padding: 12, spacing: 16, children: [
338
+ /* @__PURE__ */ _(G, { onClick: l, variant: "outlined", children: I.cancelButton }),
339
+ /* @__PURE__ */ _(
340
+ G,
341
+ {
342
+ "aria-label": I.filterButtonAria,
343
+ color: "primary",
344
+ onClick: P,
345
+ variant: "contained",
346
+ children: I.filterButton
347
+ }
348
+ )
349
+ ] })
350
+ ] })
351
+ }
352
+ );
353
+ };
354
+ Q.displayName = "AccountFilterOptions";
355
+ const AE = ({
356
+ accounts: E,
357
+ copy: N,
358
+ onFilterClick: I,
359
+ onConnectAccountClick: R,
360
+ selectedAccountGuids: r,
361
+ showAccountNumbers: l,
362
+ sx: e = {},
363
+ variant: P = "outlined"
364
+ }) => {
365
+ const { isDesktop: D } = NE(), [C, A] = m.useState(null), [O, L] = m.useState(
366
+ V(E, r)
367
+ );
368
+ m.useEffect(() => {
369
+ L(V(E, r));
370
+ }, [E, r]);
371
+ const d = (a) => {
372
+ A(a.currentTarget);
373
+ }, U = () => {
374
+ A(null);
375
+ };
376
+ return /* @__PURE__ */ h(j, { className: "mx-cmn-account-filter", m: 4, sx: { ...e }, children: [
377
+ D ? /* @__PURE__ */ _(
378
+ G,
379
+ {
380
+ "aria-controls": "filter_accounts",
381
+ "aria-haspopup": !0,
382
+ "aria-label": N.title,
383
+ onClick: d,
384
+ startIcon: /* @__PURE__ */ _(o, { name: "filter_alt", size: 24 }),
385
+ sx: { p: 8, whiteSpace: "nowrap", minWidth: "max-content" },
386
+ variant: P,
387
+ children: N.accountFilterOptionsCopy.filterButton
388
+ }
389
+ ) : /* @__PURE__ */ _(b, { id: "filter-accounts", placement: "bottom", title: N.title, children: /* @__PURE__ */ _(
390
+ p,
391
+ {
392
+ "aria-controls": "filter_accounts",
393
+ "aria-describedby": "filter-accounts",
394
+ "aria-haspopup": !0,
395
+ "aria-label": N.title,
396
+ color: "primary",
397
+ onClick: d,
398
+ sx: { p: 8 },
399
+ children: /* @__PURE__ */ _(o, { name: "filter_alt", size: 24 })
400
+ }
401
+ ) }),
402
+ /* @__PURE__ */ _(
403
+ Q,
404
+ {
405
+ accountFilterButtonEl: C,
406
+ accounts: E,
407
+ copy: N.accountFilterOptionsCopy,
408
+ handleClose: U,
409
+ onAccountClick: (a) => {
410
+ L({ ...O, [a.guid]: !O[a.guid] });
411
+ },
412
+ onAccountGroupClick: (a, H, i) => {
413
+ const M = { ...O };
414
+ H[a].forEach((T) => {
415
+ M[T.guid] = !i;
416
+ }), L(M);
417
+ },
418
+ onCancelClick: () => {
419
+ L(V(E, r)), U();
420
+ },
421
+ onConnectAccountClick: R ? () => {
422
+ U(), R();
423
+ } : void 0,
424
+ onFilterClick: () => {
425
+ I(Object.keys(O).filter((a) => O[a])), U();
426
+ },
427
+ selectedOptions: O,
428
+ setSelectedOptions: L,
429
+ showAccountNumbers: l
430
+ }
431
+ )
432
+ ] });
433
+ }, uE = AE, UE = ({ status: E = f.Loading }) => {
434
+ const { connect: N } = B();
435
+ return /* @__PURE__ */ _(
436
+ j,
437
+ {
438
+ sx: {
439
+ height: "calc(100% - 62px)",
440
+ position: "absolute",
441
+ width: "100%"
442
+ },
443
+ children: /* @__PURE__ */ h(F, { alignItems: "center", direction: "column", justifyContent: "center", sx: { height: "100%" }, children: [
444
+ E === f.Loading && /* @__PURE__ */ _(iE, { color: "primary", size: 48 }),
445
+ /* @__PURE__ */ _(
446
+ n,
447
+ {
448
+ sx: {
449
+ color: "grey.600",
450
+ marginTop: "16px"
451
+ },
452
+ children: E === f.Error ? N.oops : N.loading
453
+ }
454
+ )
455
+ ] })
456
+ }
457
+ );
458
+ }, z = $(UE);
459
+ var f = /* @__PURE__ */ ((E) => (E.Loading = "loading", E.Error = "error", E))(f || {}), ME = /* @__PURE__ */ ((E) => (E.Currency = "currency", E.Date = "date", E.Input = "input", E.Select = "select", E))(ME || {});
460
+ const J = "connect_widget", EI = "connections_widget", hE = ({
461
+ loadWidgetProps: E,
462
+ onClose: N,
463
+ showConnectWidget: I,
464
+ title: R
465
+ }) => {
466
+ let r;
467
+ const { refreshAccounts: l } = IE(), { loadWidget: e } = _E(), { connect: P } = B(), [D, C] = m.useState(!1), [A, O] = m.useState(!1), {
468
+ palette: { mode: L }
469
+ } = rE();
470
+ return m.useEffect(() => (I ? (C(!0), e({ mode: L, ...E }).then((d) => {
471
+ r = new RE({
472
+ container: `#${J}`,
473
+ style: {
474
+ height: "calc(100% - 62px)",
475
+ maxWidth: "450px",
476
+ position: "absolute",
477
+ width: "100%"
478
+ },
479
+ url: d.url,
480
+ onSsoUrlLoadError: () => {
481
+ C(!1), O(!0);
482
+ },
483
+ onLoad: () => {
484
+ C(!1), O(!1);
485
+ }
486
+ });
487
+ })) : (C(!1), O(!1)), () => {
488
+ r?.unmount();
489
+ }), [I]), /* @__PURE__ */ _(
490
+ OE,
491
+ {
492
+ ariaLabelClose: P.close_manage_connection_aria,
493
+ isOpen: I,
494
+ onClose: () => {
495
+ N(), l();
496
+ },
497
+ title: R,
498
+ children: /* @__PURE__ */ h("div", { id: J, children: [
499
+ A && /* @__PURE__ */ _(z, { status: f.Error }),
500
+ D && /* @__PURE__ */ _(z, { status: f.Loading })
501
+ ] })
502
+ }
503
+ );
504
+ }, II = $(hE);
505
+ export {
506
+ t as A,
507
+ EI as C,
508
+ eE as E,
509
+ ME as F,
510
+ f as M,
511
+ ZE as N,
512
+ aE as P,
513
+ SE as S,
514
+ nE as a,
515
+ yE as b,
516
+ z as c,
517
+ DE as d,
518
+ bE as e,
519
+ CE as f,
520
+ qE as g,
521
+ sE as h,
522
+ uE as i,
523
+ II as j,
524
+ cE as k,
525
+ LE as l,
526
+ lE as m,
527
+ pE as n
528
+ };
@@ -3,7 +3,7 @@ import r from "react";
3
3
  import { observer as E } from "mobx-react-lite";
4
4
  import { useTheme as D } from "@mui/material/styles";
5
5
  import { ConnectionsWidget as L } from "@mxenabled/web-widget-sdk";
6
- import { C as a, c, M as i } from "./ConnectDrawer-L1_xPNYt.mjs";
6
+ import { C as a, c, M as i } from "./ConnectDrawer-CNdzwKdX.mjs";
7
7
  import { c as b, d as w, u as _ } from "./hooks-BAAimqdq.mjs";
8
8
  import { D as x } from "./Drawer-kEE73B87.mjs";
9
9
  const I = ({
@@ -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-L1_xPNYt.mjs";
3
+ import { A as p } from "./ConnectDrawer-CNdzwKdX.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 = {