@mx-cartographer/experiences 6.26.18-alpha.mega4 → 6.26.18-alpha.sms1

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 (97) hide show
  1. package/dist/common/context/hooks.d.ts +13 -13
  2. package/dist/help/components/content/section/index.d.ts +15 -15
  3. package/dist/index.d.ts +22 -0
  4. package/dist/index.es.js +30335 -0
  5. package/dist/index.es.js.map +1 -0
  6. package/package.json +3 -155
  7. package/dist/Account-DM32_5k9.mjs +0 -30
  8. package/dist/AccountDetailsContent-B_qRSB8l.mjs +0 -677
  9. package/dist/AccountDetailsHeader-CAm6ADMq.mjs +0 -119
  10. package/dist/AccountFields-Bb4pds0q.mjs +0 -135
  11. package/dist/AccountListItem-G7iAesaO.mjs +0 -90
  12. package/dist/AccountStore-RSanus_m.mjs +0 -230
  13. package/dist/Accounts-BfAQRG8R.mjs +0 -9
  14. package/dist/BeatApi-DLu87ijw.mjs +0 -21
  15. package/dist/BeatStore-By4aGoRM.mjs +0 -81
  16. package/dist/BudgetUtil-DcqclhiQ.mjs +0 -101
  17. package/dist/CashflowStore-D9Dpuz7X.mjs +0 -91
  18. package/dist/Category-5S6uwuXz.mjs +0 -301
  19. package/dist/CategorySelectorDrawer-DgrePTRg.mjs +0 -397
  20. package/dist/CategoryStore-B5EW6I1d.mjs +0 -183
  21. package/dist/CategoryUtil-DRyruNgi.mjs +0 -78
  22. package/dist/ConnectDrawer-DPnfeIfn.mjs +0 -508
  23. package/dist/ConnectionsDrawer-BCzpuNsK.mjs +0 -52
  24. package/dist/CurrencyInput-DzsPiUsU.mjs +0 -83
  25. package/dist/CurrencyText-YUhH2caW.mjs +0 -20
  26. package/dist/DateUtil-BcuH7ErC.mjs +0 -48
  27. package/dist/DebtsStore-C6VcBnpG.mjs +0 -60
  28. package/dist/Dialog-CWW597AF.mjs +0 -123
  29. package/dist/Donut-1UMNcG67.mjs +0 -57
  30. package/dist/Drawer-kEE73B87.mjs +0 -113
  31. package/dist/EmptyState-Dcb-o2tl.mjs +0 -55
  32. package/dist/Fetch-CkFKy79O.mjs +0 -116
  33. package/dist/FinstrongStore-mkALvztw.mjs +0 -101
  34. package/dist/GoalStore-DyCr4wNc.mjs +0 -263
  35. package/dist/HeaderCell-DjuifqHJ.mjs +0 -6
  36. package/dist/Help-DhcC-C05.mjs +0 -320
  37. package/dist/Help-toqAK5eD.mjs +0 -3173
  38. package/dist/IconBacking-B9oC6uL2.mjs +0 -39
  39. package/dist/InvestmentUtil-jOyOgzIB.mjs +0 -134
  40. package/dist/LineChart-CQWu5KoO.mjs +0 -403
  41. package/dist/ListItemAction-Df3OPMOW.mjs +0 -69
  42. package/dist/Loader-Dp1P2gNw.mjs +0 -14
  43. package/dist/Localization-2MODESHW.mjs +0 -30
  44. package/dist/ManageIncome-BVt_XQbo.mjs +0 -535
  45. package/dist/MerchantStore-DVH-QOf0.mjs +0 -37
  46. package/dist/MicroWidgetContainer-DaLW43tE.mjs +0 -45
  47. package/dist/MiniWidgetContainer-BcNPxZt2.mjs +0 -39
  48. package/dist/NetWorthStore-DE8CQBMM.mjs +0 -150
  49. package/dist/Notification-AMGWM1Al.mjs +0 -78
  50. package/dist/NotificationSettings-CPZN0l8X.mjs +0 -667
  51. package/dist/NotificationStore-DHtSGySy.mjs +0 -67
  52. package/dist/NumberFormatting-CtWHhyBX.mjs +0 -40
  53. package/dist/OriginalBalanceAction-s9sUxofR.mjs +0 -115
  54. package/dist/RecurringSettings-DIEsympT.mjs +0 -57
  55. package/dist/RecurringTransactionsStore-BKLD3OWo.mjs +0 -263
  56. package/dist/RepeatingTransaction-BPWfaB3f.mjs +0 -282
  57. package/dist/SearchBox-B2_zLv8-.mjs +0 -42
  58. package/dist/SettingsStore-CE7jDVFL.mjs +0 -265
  59. package/dist/SingleSegmentDonut-BgbLgwHi.mjs +0 -69
  60. package/dist/SpendingData-ByFCw95X.mjs +0 -53
  61. package/dist/StatusBar-BK_uYHAB.mjs +0 -30
  62. package/dist/TabContentContainer-j01JYR_7.mjs +0 -21
  63. package/dist/Transaction-C-5-Iuab.mjs +0 -312
  64. package/dist/TransactionApi-DbbcjI2L.mjs +0 -86
  65. package/dist/TransactionDetails-B5qfs9Zh.mjs +0 -1283
  66. package/dist/TransactionStore-BWi6_2Ny.mjs +0 -669
  67. package/dist/TrendsStore-Borh98aN.mjs +0 -448
  68. package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +0 -1959
  69. package/dist/WidgetContainer-CmGNZW0M.mjs +0 -548
  70. package/dist/accounts/index.es.js +0 -752
  71. package/dist/analytics/index.es.js +0 -171
  72. package/dist/budgets/index.es.js +0 -1070
  73. package/dist/cashflow/index.es.js +0 -1098
  74. package/dist/categories/index.es.js +0 -9
  75. package/dist/common/index.es.js +0 -1451
  76. package/dist/dashboard/index.es.js +0 -181
  77. package/dist/debts/index.es.js +0 -1460
  78. package/dist/exportTransactionsToCSV-j4g8bdVZ.mjs +0 -47
  79. package/dist/finstrong/index.es.js +0 -1455
  80. package/dist/goals/index.es.js +0 -1209
  81. package/dist/help/index.es.js +0 -14
  82. package/dist/hooks-ClhFlg78.mjs +0 -71
  83. package/dist/insights/index.d.ts +0 -1
  84. package/dist/insights/index.es.js +0 -4
  85. package/dist/investments/index.es.js +0 -1638
  86. package/dist/merchants/index.es.js +0 -79
  87. package/dist/microinsights/index.es.js +0 -16
  88. package/dist/networth/index.es.js +0 -542
  89. package/dist/notifications/index.es.js +0 -192
  90. package/dist/recurringtransactions/index.es.js +0 -879
  91. package/dist/settings/index.es.js +0 -879
  92. package/dist/spending/index.es.js +0 -570
  93. package/dist/transactions/index.es.js +0 -587
  94. package/dist/trends/index.es.js +0 -1103
  95. package/dist/useCombineEvents-DaDBSR_1.mjs +0 -92
  96. package/dist/useDimensions-27p2evRx.mjs +0 -36
  97. package/dist/useScreenSize-B6JyS_Lj.mjs +0 -36
@@ -1,181 +0,0 @@
1
- import { jsx as t, jsxs as a } from "react/jsx-runtime";
2
- import r from "react";
3
- import { observer as f } from "mobx-react-lite";
4
- import p from "@mui/material/Unstable_Grid2";
5
- import u from "@mui/material/Skeleton";
6
- import s from "@mui/material/Stack";
7
- import B from "@mui/material/styles/useTheme";
8
- import { l as A, u as v, c as C, a as M, j as D } from "../hooks-ClhFlg78.mjs";
9
- import G from "@mui/material/Paper";
10
- import { Icon as S, H1 as k, P as F } from "@mxenabled/mxui";
11
- import { useMediaQuery as W } from "@mui/system";
12
- import I from "@mui/material/Box";
13
- import T from "@mui/material/Button";
14
- import j from "@mui/material/IconButton";
15
- import $ from "@mui/material/Tooltip";
16
- import H from "@mui/material/useMediaQuery";
17
- import { i as R, j as Q } from "../ConnectDrawer-DPnfeIfn.mjs";
18
- import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
19
- const E = f(() => {
20
- const e = B(), {
21
- appDataStore: { banner: c, loadBanner: i, user: d }
22
- } = A();
23
- return r.useEffect(() => {
24
- i().finally();
25
- }, [d]), c?.image_url ? /* @__PURE__ */ t(
26
- s,
27
- {
28
- sx: {
29
- alignItems: "center",
30
- width: "100%",
31
- mb: 24
32
- },
33
- children: /* @__PURE__ */ t(
34
- "a",
35
- {
36
- href: c?.redirect_url,
37
- rel: "noreferrer",
38
- style: {
39
- width: "100%"
40
- },
41
- target: "_blank",
42
- children: /* @__PURE__ */ t(
43
- "img",
44
- {
45
- alt: "",
46
- src: c.image_url,
47
- style: {
48
- width: "100%",
49
- height: "auto",
50
- border: `1px solid ${e.palette.grey[300]}`
51
- }
52
- }
53
- )
54
- }
55
- )
56
- }
57
- ) : null;
58
- }), P = ({ handleConnectClick: e }) => {
59
- const { common: c } = v(), i = H("(max-width: 700px)");
60
- return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t($, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
61
- j,
62
- {
63
- "aria-controls": "add_accounts",
64
- "aria-describedby": "add-accounts",
65
- "aria-haspopup": !0,
66
- "aria-label": c.add_accounts,
67
- color: "primary",
68
- onClick: e,
69
- children: /* @__PURE__ */ t(S, { name: "add", size: 24 })
70
- }
71
- ) }) : /* @__PURE__ */ t(
72
- T,
73
- {
74
- "aria-controls": "add_accounts",
75
- "aria-haspopup": !0,
76
- "aria-label": c.add_accounts,
77
- onClick: e,
78
- startIcon: /* @__PURE__ */ t(S, { name: "add", size: 24 }),
79
- sx: {
80
- p: 12,
81
- whiteSpace: "nowrap",
82
- minWidth: "max-content"
83
- },
84
- variant: "text",
85
- children: c.add_accounts
86
- }
87
- ) });
88
- }, N = f(P), O = () => {
89
- const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: _, setSelectedAccountGuids: g } = M(), { common: o, connect: l } = v(), { config: x } = D(), { isMobile: b } = z(), n = {
90
- accountFilterOptionsCopy: {
91
- accountTypeAccounts: o.account_filter.account_type_accounts,
92
- cancelButton: o.cancel_button,
93
- filterButton: o.filter_button,
94
- filterButtonAria: o.account_filter.filter_button_generic_aria,
95
- selectAllAccounts: o.account_filter.select_all_accounts,
96
- toggleAccountTypeAccounts: o.account_filter.toggle_account_type_accounts,
97
- unselectAllAccounts: o.account_filter.unselect_all_accounts,
98
- zeroStateButton: o.account_filter.zero_state_button,
99
- zeroStateDescription: o.account_filter.zero_state_description,
100
- zeroStateTitle: o.account_filter.zero_state_title
101
- },
102
- title: o.filter_button
103
- }, y = () => {
104
- const m = (/* @__PURE__ */ new Date()).getHours();
105
- return m > 1 && m < 12 ? o.good_morning : m >= 12 && m < 18 ? o.good_afternoon : o.good_evening;
106
- };
107
- return /* @__PURE__ */ a(r.Fragment, { children: [
108
- /* @__PURE__ */ t(G, { sx: { gap: 12, mb: b ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
109
- /* @__PURE__ */ a(s, { children: [
110
- /* @__PURE__ */ t(k, { variant: i ? "H2" : "H1", children: y() }),
111
- /* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
112
- ] }),
113
- /* @__PURE__ */ a(s, { flexDirection: "row", children: [
114
- x.show_connections_widget_in_master && /* @__PURE__ */ t(N, { handleConnectClick: () => c(!0) }),
115
- /* @__PURE__ */ t(
116
- R,
117
- {
118
- accounts: d,
119
- copy: n,
120
- onConnectAccountClick: () => c(!0),
121
- onFilterClick: (w) => {
122
- g(w);
123
- },
124
- selectedAccountGuids: _,
125
- showAccountNumbers: !1,
126
- sx: {
127
- maxWidth: "100%"
128
- },
129
- variant: "text"
130
- }
131
- )
132
- ] })
133
- ] }) }),
134
- e && /* @__PURE__ */ t(
135
- Q,
136
- {
137
- onClose: () => c(!1),
138
- showConnectWidget: e,
139
- title: l.mini_title
140
- }
141
- )
142
- ] });
143
- }, U = f(O);
144
- var h = /* @__PURE__ */ ((e) => (e[e.Main = 0] = "Main", e[e.RightSide = 1] = "RightSide", e[e.Disabled = 2] = "Disabled", e))(h || {});
145
- const q = ({ widgets: e, isLoading: c }) => {
146
- const { isDesktop: i, isMobile: d } = z(), { copyStore: _ } = A(), { setSelectedAccounts: g } = M(), { visibleAccounts: o } = C();
147
- r.useEffect(() => {
148
- g(o);
149
- }, [o]);
150
- const l = r.useMemo(
151
- () => e.filter((n) => n.location !== h.Disabled).sort((n, y) => n.index - y.index),
152
- [e]
153
- ), x = r.useMemo(
154
- () => l.filter((n) => n.location === h.Main),
155
- [l]
156
- ), b = r.useMemo(
157
- () => l.filter((n) => n.location === h.RightSide),
158
- [l]
159
- );
160
- return /* @__PURE__ */ a(p, { container: !0, spacing: d ? 0 : 24, sx: { overflow: "scroll" }, children: [
161
- /* @__PURE__ */ t(p, { xs: 12, children: _.isInitialized && /* @__PURE__ */ t(U, {}) }),
162
- /* @__PURE__ */ a(p, { lg: 8, xs: 12, children: [
163
- /* @__PURE__ */ t(E, {}),
164
- c && /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
165
- /* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
166
- /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" }),
167
- /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
168
- ] }),
169
- !c && /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: i ? x.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) : l.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) })
170
- ] }),
171
- i && /* @__PURE__ */ t(p, { lg: 4, children: c ? /* @__PURE__ */ a(s, { direction: "column", spacing: 24, children: [
172
- /* @__PURE__ */ t(u, { height: 200, variant: "rounded", width: "100%" }),
173
- /* @__PURE__ */ t(u, { height: 100, variant: "rounded", width: "100%" }),
174
- /* @__PURE__ */ t(u, { height: 300, variant: "rounded", width: "100%" })
175
- ] }) : /* @__PURE__ */ t(s, { direction: "column", spacing: 24, children: b.map((n) => /* @__PURE__ */ t(r.Fragment, { children: n.component }, n.index)) }) })
176
- ] });
177
- }, dt = f(q);
178
- export {
179
- dt as Dashboard,
180
- h as DashboardLocation
181
- };