@mx-cartographer/experiences 7.11.1 → 7.11.3
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.
- package/CHANGELOG.md +9 -0
- package/dist/{AccountDetailsHeader-Bf3yJZ-O.mjs → AccountDetailsHeader-hDo7gojQ.mjs} +1 -1
- package/dist/{AccountFields-Dnc0q9ee.mjs → AccountFields-C-sby5mF.mjs} +1 -1
- package/dist/{AccountListItem-BH5hrQCD.mjs → AccountListItem-CjeAlrPC.mjs} +1 -1
- package/dist/Accounts-CseLC3lL.mjs +5 -0
- package/dist/Connect-Dg9HlAWv.mjs +39 -0
- package/dist/ConnectDrawer-BLwcW0Oe.mjs +58 -0
- package/dist/{ConnectionsDrawer-VoUA-VzG.mjs → ConnectionsDrawer-UQTh9UEc.mjs} +8 -7
- package/dist/GlobalAccountFilter-C8mpfudV.mjs +215 -0
- package/dist/{GoalStore-LzW4e18a.mjs → GoalStore-DzOZ0je_.mjs} +1 -1
- package/dist/{WidgetContainer-lNbK1wCG.mjs → WidgetContainer-B5jzz8M1.mjs} +1 -1
- package/dist/accounts/index.es.js +29 -28
- package/dist/budgets/index.es.js +2 -2
- package/dist/cashflow/index.es.js +2 -2
- package/dist/common/index.es.js +154 -153
- package/dist/dashboard/index.es.js +35 -34
- package/dist/debts/components/actions/DebtsPriorityAction.d.ts +5 -1
- package/dist/debts/components/debtspaydown/PaydownButton.d.ts +2 -1
- package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
- package/dist/debts/index.es.js +159 -143
- package/dist/finstrong/index.es.js +4 -4
- package/dist/goals/index.es.js +3 -3
- package/dist/help/index.es.js +1 -1
- package/dist/insights/index.es.js +1 -1
- package/dist/investments/index.es.js +2 -2
- package/dist/networth/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +1 -1
- package/dist/settings/index.es.js +1 -1
- package/dist/spending/index.es.js +1 -1
- package/dist/transactions/index.es.js +2 -2
- package/dist/trends/index.es.js +2 -2
- package/package.json +1 -1
- package/dist/GlobalAccountFilter-DnhoRX8C.mjs +0 -318
package/dist/common/index.es.js
CHANGED
|
@@ -12,52 +12,53 @@ import { H } from "../Help-B8mD4aLJ.mjs";
|
|
|
12
12
|
import { E as Ge } from "../Help-B8mD4aLJ.mjs";
|
|
13
13
|
import { M as We } from "../MicroWidgetContainer-jvYZ5bb6.mjs";
|
|
14
14
|
import { M as Ye } from "../MiniWidgetContainer-B4gbUTJ2.mjs";
|
|
15
|
-
import { D as Ke, W as ze } from "../WidgetContainer-
|
|
16
|
-
import {
|
|
15
|
+
import { D as Ke, W as ze } from "../WidgetContainer-B5jzz8M1.mjs";
|
|
16
|
+
import { C as Ve } from "../ConnectDrawer-BLwcW0Oe.mjs";
|
|
17
17
|
import { f as W, a as q, b as C } from "../BudgetUtil-C71e-szt.mjs";
|
|
18
|
-
import { C as
|
|
19
|
-
import { C as
|
|
20
|
-
import { L as
|
|
21
|
-
import { R as
|
|
22
|
-
import { S as
|
|
18
|
+
import { C as Ze, g as Je, e as ts, c as es, d as ss, i as rs } from "../BudgetUtil-C71e-szt.mjs";
|
|
19
|
+
import { C as as } from "../CurrencyInput-PMOAH5R3.mjs";
|
|
20
|
+
import { L as ns } from "../Loader-D3rjKx72.mjs";
|
|
21
|
+
import { R as us } from "../ResponsiveButton-DZFp78fJ.mjs";
|
|
22
|
+
import { S as ls } from "../SearchBox-B7km148n.mjs";
|
|
23
23
|
import { T as Y } from "../TransactionStore-DYXYuq5s.mjs";
|
|
24
|
-
import { S as
|
|
25
|
-
import { T as
|
|
26
|
-
import { I as
|
|
27
|
-
import { D as
|
|
24
|
+
import { S as ps } from "../TransactionStore-DYXYuq5s.mjs";
|
|
25
|
+
import { T as _s } from "../TabContentContainer-j01JYR_7.mjs";
|
|
26
|
+
import { I as ms } from "../IconBacking-B9oC6uL2.mjs";
|
|
27
|
+
import { D as Ss, F as bs, c as ws, d as Cs, R as Ds, S as As } from "../RecurringTransactions-B_I4_FGO.mjs";
|
|
28
28
|
import { C as Q } from "../CashflowStore-DEdQJU5i.mjs";
|
|
29
|
-
import { I as
|
|
30
|
-
import { d as K } from "../GoalStore-
|
|
31
|
-
import { C as
|
|
32
|
-
import { C as
|
|
33
|
-
import { E as
|
|
34
|
-
import { L as
|
|
29
|
+
import { I as xs } from "../CashflowStore-DEdQJU5i.mjs";
|
|
30
|
+
import { d as K } from "../GoalStore-DzOZ0je_.mjs";
|
|
31
|
+
import { C as Is, G as vs, M as Bs, T as ks } from "../GoalStore-DzOZ0je_.mjs";
|
|
32
|
+
import { C as Ns } from "../CurrencyText-C-85TnUF.mjs";
|
|
33
|
+
import { E as Ls } from "../EmptyState-DHAkGsjk.mjs";
|
|
34
|
+
import { L as Ps } from "../ListItemAction-Dq1lMdxh.mjs";
|
|
35
35
|
import { T as z } from "../TrendsStore-Ys6BY_Uo.mjs";
|
|
36
|
-
import { L as
|
|
37
|
-
import { A as
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import { D as
|
|
36
|
+
import { L as Fs } from "../TrendsStore-Ys6BY_Uo.mjs";
|
|
37
|
+
import { A as Gs, B as Hs, I as Ws, N as qs, T as Ys, a as Qs } from "../Notification-CMBNDGC-.mjs";
|
|
38
|
+
import { G as zs } from "../GlobalAccountFilter-C8mpfudV.mjs";
|
|
39
|
+
import { C as Vs, a as Xs } from "../User-C8w4H0cj.mjs";
|
|
40
|
+
import { S as Js } from "../StatusBar-BK_uYHAB.mjs";
|
|
41
|
+
import { D as er } from "../Donut-DSGXraiS.mjs";
|
|
42
|
+
import { D as rr } from "../Dialog-BqUCsQvo.mjs";
|
|
42
43
|
import { jsxs as D, jsx as b } from "react/jsx-runtime";
|
|
43
44
|
import { css as j } from "@mxenabled/cssinjs";
|
|
44
45
|
import { D as V, a as X } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
45
|
-
import { S as
|
|
46
|
-
import { D as
|
|
47
|
-
import { A as
|
|
48
|
-
import { D as
|
|
49
|
-
import { I as
|
|
46
|
+
import { S as ar } from "../SingleSegmentDonut-BgbLgwHi.mjs";
|
|
47
|
+
import { D as nr } from "../Drawer-DV4NTsFg.mjs";
|
|
48
|
+
import { A as ur } from "../Analytics-i5h6BxR1.mjs";
|
|
49
|
+
import { D as lr, O as hr, a as pr, f as gr } from "../DateFormats-Cs-NbEZ7.mjs";
|
|
50
|
+
import { I as fr, P as mr, S as yr } from "../Account-DuOz1a27.mjs";
|
|
50
51
|
import { b as f } from "../Category-CevNQ03n.mjs";
|
|
51
|
-
import { C as
|
|
52
|
-
import { C as
|
|
52
|
+
import { C as br, c as wr, a as Cr, P as Dr } from "../Category-CevNQ03n.mjs";
|
|
53
|
+
import { C as Er, f as xr, b as Tr, a as Ir, g as vr, i as Br } from "../NumberFormatting-DjTD0t3W.mjs";
|
|
53
54
|
import { R as Z } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
|
|
54
|
-
import { S as
|
|
55
|
-
import { G as
|
|
56
|
-
import { u as
|
|
57
|
-
import { u as
|
|
58
|
-
import { u as
|
|
55
|
+
import { S as Mr, T as Nr } from "../RecurringTransactionsStore-DAX5ozGz.mjs";
|
|
56
|
+
import { G as Lr, C as Or, D as Pr, W as Rr, d as Fr, a as $r, k as Gr, t as Hr, m as Wr, v as qr, w as Yr, g as Qr, y as Kr, u as zr, f as jr, b as Vr, l as Xr, z as Zr, s as Jr, x as to, c as eo, q as so, n as ro, A as oo, i as ao, r as io, h as no, B as co, o as uo, p as lo } from "../hooks-0kWPTHNb.mjs";
|
|
57
|
+
import { u as po } from "../useAccountDisplayName-BQfelpG3.mjs";
|
|
58
|
+
import { u as _o } from "../useInsightsEnabled-bDCTNOJS.mjs";
|
|
59
|
+
import { u as mo } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
59
60
|
import { useRef as J, useEffect as tt } from "react";
|
|
60
|
-
import { u as
|
|
61
|
+
import { u as So } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
|
|
61
62
|
import { makeAutoObservable as l, runInAction as g, reaction as L, autorun as et } from "mobx";
|
|
62
63
|
import { A as st } from "../AccountStore-DdGz1ig2.mjs";
|
|
63
64
|
import rt from "posthog-js";
|
|
@@ -73,9 +74,9 @@ import { N as ht } from "../NetWorthStore-yV43kJro.mjs";
|
|
|
73
74
|
import { a as pt } from "../SettingsStore-BqPjOIWk.mjs";
|
|
74
75
|
import { addMonths as gt } from "date-fns/addMonths";
|
|
75
76
|
import { getMonth as m } from "date-fns/getMonth";
|
|
76
|
-
import { a as
|
|
77
|
-
import { i as
|
|
78
|
-
import { b as
|
|
77
|
+
import { a as wo, e as Co, d as Do, A as Ao, f as Eo, C as xo, g as To, E as Io, M as vo, N as Bo, c as ko, P as Mo, h as No, S as Uo } from "../Account-BiB1F8lL.mjs";
|
|
78
|
+
import { i as Oo } from "../DateUtil-CVXVMbjf.mjs";
|
|
79
|
+
import { b as Ro, a as Fo, g as $o } from "../Localization-2MODESHW.mjs";
|
|
79
80
|
import { alpha as _t, lighten as E, darken as x } from "@mui/material";
|
|
80
81
|
var ft = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(ft || {});
|
|
81
82
|
const me = [
|
|
@@ -1008,103 +1009,103 @@ class Ae {
|
|
|
1008
1009
|
};
|
|
1009
1010
|
}
|
|
1010
1011
|
export {
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1012
|
+
ur as ANALYTICS_EVENTS,
|
|
1013
|
+
wo as AccountIcon,
|
|
1014
|
+
Co as AccountIconVariants,
|
|
1015
|
+
Gs as AccountNotificationTypes,
|
|
1016
|
+
Do as AccountSubType,
|
|
1017
|
+
Ao as AccountType,
|
|
1018
|
+
Eo as AccountTypeName,
|
|
1018
1019
|
Te as AnalyticsApi,
|
|
1019
1020
|
a as ApiEndpoints,
|
|
1020
1021
|
T as BannerApi,
|
|
1021
1022
|
Me as BeatApi,
|
|
1022
|
-
|
|
1023
|
-
|
|
1024
|
-
|
|
1023
|
+
Hs as BudgetNotificationTypes,
|
|
1024
|
+
Vs as Calendar,
|
|
1025
|
+
Xs as CalendarSelectionTypes,
|
|
1025
1026
|
Ue as CategoryApi,
|
|
1026
|
-
|
|
1027
|
-
|
|
1027
|
+
br as CategoryColors,
|
|
1028
|
+
wr as CategoryGuidToName,
|
|
1028
1029
|
f as CategoryGuids,
|
|
1029
|
-
|
|
1030
|
-
|
|
1030
|
+
Cr as CategoryIcon,
|
|
1031
|
+
Is as ConnectCard,
|
|
1031
1032
|
Ve as ConnectDrawer,
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1033
|
+
xo as ConnectionStatus,
|
|
1034
|
+
To as ConnectionStatusEnums,
|
|
1035
|
+
Er as CurrencyCodes,
|
|
1036
|
+
Ze as CurrencyDialog,
|
|
1037
|
+
as as CurrencyInput,
|
|
1038
|
+
Ns as CurrencyText,
|
|
1039
|
+
lr as DATE_FORMATS_INTL,
|
|
1039
1040
|
V as DEFAULT_DONUT_SIZE,
|
|
1040
1041
|
X as DEFAULT_STROKE_WIDTH,
|
|
1041
|
-
|
|
1042
|
+
Ss as DataRow,
|
|
1042
1043
|
Ke as DateRangeSelector,
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1044
|
+
rr as Dialog,
|
|
1045
|
+
er as Donut,
|
|
1046
|
+
nr as Drawer,
|
|
1047
|
+
Ls as EmptyState,
|
|
1047
1048
|
Ge as ErrorBoundary,
|
|
1048
|
-
|
|
1049
|
+
Io as ErrorStatuses,
|
|
1049
1050
|
xt as ExpenseStatus,
|
|
1050
1051
|
h as Fetch,
|
|
1051
|
-
|
|
1052
|
-
|
|
1052
|
+
bs as Frequency,
|
|
1053
|
+
zs as GlobalAccountFilter,
|
|
1053
1054
|
w as GlobalCopyApi,
|
|
1054
1055
|
Dt as GlobalCopyStore,
|
|
1055
|
-
|
|
1056
|
-
|
|
1056
|
+
Lr as GlobalDataContext,
|
|
1057
|
+
Or as GlobalDataProvider,
|
|
1057
1058
|
Ae as GlobalStore,
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1059
|
+
vs as GoalType,
|
|
1060
|
+
fr as INCOME_ACCOUNT_TYPES,
|
|
1061
|
+
ms as IconBacking,
|
|
1062
|
+
xs as InformationTooltip,
|
|
1063
|
+
Ws as InsightNotificationTypes,
|
|
1063
1064
|
yt as IterationItemTypes,
|
|
1064
1065
|
ye as LOADING_STATUS,
|
|
1065
|
-
|
|
1066
|
-
|
|
1066
|
+
Ps as ListItemAction,
|
|
1067
|
+
Fs as ListItemRow,
|
|
1067
1068
|
Re as ListItemWrapper,
|
|
1068
|
-
|
|
1069
|
+
ns as Loader,
|
|
1069
1070
|
be as LocalizedCopyApi,
|
|
1070
|
-
|
|
1071
|
-
|
|
1071
|
+
Bs as MetaType,
|
|
1072
|
+
vo as MfaStatuses,
|
|
1072
1073
|
We as MicroWidgetContainer,
|
|
1073
1074
|
Ye as MiniWidgetContainer,
|
|
1074
1075
|
De as MultiSegmentDonut,
|
|
1075
|
-
|
|
1076
|
+
Bo as NonConnectedStatuses,
|
|
1076
1077
|
Oe as NotificationApi,
|
|
1077
|
-
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1078
|
+
qs as NotificationTypes,
|
|
1079
|
+
hr as ORDINAL_DATE_FORMAT,
|
|
1080
|
+
pr as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
1081
|
+
mr as PAYMENT_ACCOUNT_TYPES,
|
|
1082
|
+
Dr as PaymentCategories,
|
|
1082
1083
|
mt as PlanTypes,
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1084
|
+
ko as ProcessingStatuses,
|
|
1085
|
+
Mo as PropertyType,
|
|
1086
|
+
No as PropertyTypeName,
|
|
1086
1087
|
me as RECURRENCE_COPY,
|
|
1087
|
-
|
|
1088
|
-
|
|
1088
|
+
ws as RecurrenceStatus,
|
|
1089
|
+
Cs as RecurrenceType,
|
|
1089
1090
|
ft as RecurrenceTypes,
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1091
|
+
Ds as RepeatingType,
|
|
1092
|
+
us as ResponsiveButton,
|
|
1093
|
+
yr as SPENDING_ACCOUNT_TYPES,
|
|
1093
1094
|
Tt as ScheduledPaymentTypes,
|
|
1094
1095
|
we as ScheduledPaymentsApi,
|
|
1095
1096
|
It as ScreenSize,
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1097
|
+
ls as SearchBox,
|
|
1098
|
+
As as Select,
|
|
1099
|
+
ps as SelectionBox,
|
|
1100
|
+
ar as SingleSegmentDonut,
|
|
1101
|
+
Mr as Sizes,
|
|
1102
|
+
Js as StatusBar,
|
|
1103
|
+
Uo as StatusName,
|
|
1104
|
+
Nr as TOUCH_TARGET,
|
|
1105
|
+
_s as TabContentContainer,
|
|
1106
|
+
Ys as ToggleButtonListItem,
|
|
1107
|
+
Qs as ToggleListItem,
|
|
1108
|
+
ks as TrackType,
|
|
1108
1109
|
Fe as TransactionStatus,
|
|
1109
1110
|
G as TransactionType,
|
|
1110
1111
|
I as UserApi,
|
|
@@ -1112,56 +1113,56 @@ export {
|
|
|
1112
1113
|
Et as UserVerification,
|
|
1113
1114
|
v as WidgetApi,
|
|
1114
1115
|
ze as WidgetContainer,
|
|
1115
|
-
|
|
1116
|
-
|
|
1116
|
+
Pr as WidgetContainerContext,
|
|
1117
|
+
Rr as WidgetContainerProvider,
|
|
1117
1118
|
Ie as analyticsSession,
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1119
|
+
Ro as buildDynamicCopy,
|
|
1120
|
+
Fo as buildPluralCopy,
|
|
1121
|
+
xr as formatCurrency,
|
|
1122
|
+
gr as formatDate,
|
|
1123
|
+
Tr as formatOrdinal,
|
|
1124
|
+
Ir as formatPercentage,
|
|
1125
|
+
Oo as fromTimestampToMonthYear,
|
|
1126
|
+
Je as getCategory,
|
|
1127
|
+
ts as getCategoryTotalsByParent,
|
|
1127
1128
|
Se as getClientTheme,
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1129
|
+
vr as getCurrencyCodes,
|
|
1130
|
+
es as getDetailedCategory,
|
|
1131
|
+
ss as getDetailedSubCategory,
|
|
1132
|
+
$o as getLocale,
|
|
1133
|
+
rs as isIncome,
|
|
1134
|
+
Br as isValidNumber,
|
|
1135
|
+
po as useAccountDisplayName,
|
|
1136
|
+
Fr as useAccountStore,
|
|
1137
|
+
$r as useAppConfig,
|
|
1138
|
+
Gr as useBudgetsStore,
|
|
1139
|
+
Hr as useCashflowStore,
|
|
1140
|
+
Wr as useCategoryStore,
|
|
1140
1141
|
ve as useCombineEvents,
|
|
1141
1142
|
Be as useCombinePageviews,
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1143
|
+
qr as useDebtStore,
|
|
1144
|
+
Yr as useError,
|
|
1145
|
+
Qr as useEvent,
|
|
1146
|
+
Kr as useFinstrongStore,
|
|
1147
|
+
zr as useGlobalCopyStore,
|
|
1148
|
+
jr as useGlobalStore,
|
|
1149
|
+
Vr as useGlobalUiStore,
|
|
1150
|
+
Xr as useGoalStore,
|
|
1151
|
+
Zr as useHelpStore,
|
|
1152
|
+
Jr as useHoldingStore,
|
|
1153
|
+
_o as useInsightsEnabled,
|
|
1154
|
+
to as useLoad,
|
|
1155
|
+
eo as useMerchantStore,
|
|
1156
|
+
so as useNetWorthStore,
|
|
1157
|
+
ro as useNotificationStore,
|
|
1158
|
+
oo as usePageView,
|
|
1158
1159
|
Ce as usePrevious,
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1160
|
+
ao as useRecurringTransactionsStore,
|
|
1161
|
+
mo as useScreenSize,
|
|
1162
|
+
io as useSettingsStore,
|
|
1163
|
+
no as useTransactionStore,
|
|
1164
|
+
co as useTrendsStore,
|
|
1165
|
+
uo as useUserStore,
|
|
1166
|
+
lo as useWidgetContainerProvider,
|
|
1167
|
+
So as useWidgetLoadTimer
|
|
1167
1168
|
};
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
|
-
import
|
|
2
|
+
import n from "react";
|
|
3
3
|
import { observer as p } from "mobx-react-lite";
|
|
4
4
|
import u from "@mui/material/Unstable_Grid2";
|
|
5
5
|
import m from "@mui/material/Skeleton";
|
|
6
6
|
import s from "@mui/material/Stack";
|
|
7
7
|
import S from "@mui/material/styles/useTheme";
|
|
8
8
|
import { f as _, u as b, a as v } from "../hooks-0kWPTHNb.mjs";
|
|
9
|
-
import
|
|
10
|
-
import { Icon as w, H2 as
|
|
9
|
+
import C from "@mui/material/Paper";
|
|
10
|
+
import { Icon as w, H2 as M, P as D } from "@mxenabled/mxui";
|
|
11
11
|
import { useMediaQuery as G } from "@mui/system";
|
|
12
12
|
import W from "@mui/material/Box";
|
|
13
13
|
import k from "@mui/material/Button";
|
|
14
14
|
import A from "@mui/material/IconButton";
|
|
15
15
|
import I from "@mui/material/Tooltip";
|
|
16
16
|
import B from "@mui/material/useMediaQuery";
|
|
17
|
-
import { G as F
|
|
17
|
+
import { G as F } from "../GlobalAccountFilter-C8mpfudV.mjs";
|
|
18
18
|
import { u as y } from "../useScreenSize-B6JyS_Lj.mjs";
|
|
19
|
+
import { C as $ } from "../ConnectDrawer-BLwcW0Oe.mjs";
|
|
19
20
|
import { u as z } from "../useWidgetLoadTimer-yzSfT9dS.mjs";
|
|
20
21
|
const H = p(() => {
|
|
21
22
|
const t = S(), {
|
|
22
|
-
appDataStore: { banner:
|
|
23
|
+
appDataStore: { banner: o, loadBanner: i, user: a }
|
|
23
24
|
} = _();
|
|
24
|
-
return
|
|
25
|
+
return n.useEffect(() => {
|
|
25
26
|
i().finally();
|
|
26
|
-
}, [a]),
|
|
27
|
+
}, [a]), o?.image_url ? /* @__PURE__ */ e(
|
|
27
28
|
s,
|
|
28
29
|
{
|
|
29
30
|
sx: {
|
|
@@ -34,7 +35,7 @@ const H = p(() => {
|
|
|
34
35
|
children: /* @__PURE__ */ e(
|
|
35
36
|
"a",
|
|
36
37
|
{
|
|
37
|
-
href:
|
|
38
|
+
href: o?.redirect_url,
|
|
38
39
|
rel: "noreferrer",
|
|
39
40
|
style: {
|
|
40
41
|
width: "100%"
|
|
@@ -44,7 +45,7 @@ const H = p(() => {
|
|
|
44
45
|
"img",
|
|
45
46
|
{
|
|
46
47
|
alt: "",
|
|
47
|
-
src:
|
|
48
|
+
src: o.image_url,
|
|
48
49
|
style: {
|
|
49
50
|
width: "100%",
|
|
50
51
|
height: "auto",
|
|
@@ -57,14 +58,14 @@ const H = p(() => {
|
|
|
57
58
|
}
|
|
58
59
|
) : null;
|
|
59
60
|
}), R = ({ handleConnectClick: t }) => {
|
|
60
|
-
const { common:
|
|
61
|
-
return /* @__PURE__ */ e(W, { my: 4, children: i ? /* @__PURE__ */ e(I, { id: "add-accounts", placement: "bottom", title:
|
|
61
|
+
const { common: o } = b(), i = B("(max-width: 700px)");
|
|
62
|
+
return /* @__PURE__ */ e(W, { my: 4, children: i ? /* @__PURE__ */ e(I, { id: "add-accounts", placement: "bottom", title: o.add_accounts, children: /* @__PURE__ */ e(
|
|
62
63
|
A,
|
|
63
64
|
{
|
|
64
65
|
"aria-controls": "add_accounts",
|
|
65
66
|
"aria-describedby": "add-accounts",
|
|
66
67
|
"aria-haspopup": !0,
|
|
67
|
-
"aria-label":
|
|
68
|
+
"aria-label": o.add_accounts,
|
|
68
69
|
color: "primary",
|
|
69
70
|
onClick: t,
|
|
70
71
|
children: /* @__PURE__ */ e(w, { name: "add", size: 24 })
|
|
@@ -74,7 +75,7 @@ const H = p(() => {
|
|
|
74
75
|
{
|
|
75
76
|
"aria-controls": "add_accounts",
|
|
76
77
|
"aria-haspopup": !0,
|
|
77
|
-
"aria-label":
|
|
78
|
+
"aria-label": o.add_accounts,
|
|
78
79
|
onClick: t,
|
|
79
80
|
startIcon: /* @__PURE__ */ e(w, { name: "add", size: 24 }),
|
|
80
81
|
sx: {
|
|
@@ -83,29 +84,29 @@ const H = p(() => {
|
|
|
83
84
|
minWidth: "max-content"
|
|
84
85
|
},
|
|
85
86
|
variant: "text",
|
|
86
|
-
children:
|
|
87
|
+
children: o.add_accounts
|
|
87
88
|
}
|
|
88
89
|
) });
|
|
89
90
|
}, T = p(R), j = () => {
|
|
90
|
-
const [t,
|
|
91
|
+
const [t, o] = n.useState(!1), i = G("(max-width:320px)"), { common: a, connect: g } = b(), { config: d } = v(), { isMobile: f } = y(), x = () => {
|
|
91
92
|
const l = (/* @__PURE__ */ new Date()).getHours();
|
|
92
93
|
return l > 1 && l < 12 ? a.good_morning : l >= 12 && l < 18 ? a.good_afternoon : a.good_evening;
|
|
93
94
|
};
|
|
94
|
-
return /* @__PURE__ */ c(
|
|
95
|
-
/* @__PURE__ */ e(
|
|
95
|
+
return /* @__PURE__ */ c(n.Fragment, { children: [
|
|
96
|
+
/* @__PURE__ */ e(C, { sx: { gap: 12, mb: f ? 24 : 0, p: 24 }, children: /* @__PURE__ */ c(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
|
|
96
97
|
/* @__PURE__ */ c(s, { children: [
|
|
97
|
-
/* @__PURE__ */ e(
|
|
98
|
+
/* @__PURE__ */ e(M, { variant: i ? "H2" : "H1", children: x() }),
|
|
98
99
|
/* @__PURE__ */ e(D, { color: "text.secondary", children: a.heres_your_spending_overview })
|
|
99
100
|
] }),
|
|
100
101
|
/* @__PURE__ */ c(s, { flexDirection: "row", children: [
|
|
101
|
-
d.show_connections_widget_in_master && /* @__PURE__ */ e(T, { handleConnectClick: () =>
|
|
102
|
+
d.show_connections_widget_in_master && /* @__PURE__ */ e(T, { handleConnectClick: () => o(!0) }),
|
|
102
103
|
/* @__PURE__ */ e(F, {})
|
|
103
104
|
] })
|
|
104
105
|
] }) }),
|
|
105
106
|
t && /* @__PURE__ */ e(
|
|
106
107
|
$,
|
|
107
108
|
{
|
|
108
|
-
onClose: () =>
|
|
109
|
+
onClose: () => o(!1),
|
|
109
110
|
showConnectWidget: t,
|
|
110
111
|
title: g.mini_title
|
|
111
112
|
}
|
|
@@ -113,41 +114,41 @@ const H = p(() => {
|
|
|
113
114
|
] });
|
|
114
115
|
}, Q = p(j);
|
|
115
116
|
var h = /* @__PURE__ */ ((t) => (t[t.Main = 0] = "Main", t[t.RightSide = 1] = "RightSide", t[t.Disabled = 2] = "Disabled", t))(h || {});
|
|
116
|
-
const P = ({ widgets: t, isLoading:
|
|
117
|
+
const P = ({ widgets: t, isLoading: o }) => {
|
|
117
118
|
const { isDesktop: i, isMobile: a } = y(), { copyStore: g } = _();
|
|
118
119
|
z({
|
|
119
120
|
widgetName: "Dashboard",
|
|
120
|
-
isLoaded: !
|
|
121
|
+
isLoaded: !o
|
|
121
122
|
});
|
|
122
|
-
const d =
|
|
123
|
-
() => t.filter((
|
|
123
|
+
const d = n.useMemo(
|
|
124
|
+
() => t.filter((r) => r.location !== h.Disabled).sort((r, l) => r.index - l.index),
|
|
124
125
|
[t]
|
|
125
|
-
), f =
|
|
126
|
-
() => d.filter((
|
|
126
|
+
), f = n.useMemo(
|
|
127
|
+
() => d.filter((r) => r.location === h.Main),
|
|
127
128
|
[d]
|
|
128
|
-
), x =
|
|
129
|
-
() => d.filter((
|
|
129
|
+
), x = n.useMemo(
|
|
130
|
+
() => d.filter((r) => r.location === h.RightSide),
|
|
130
131
|
[d]
|
|
131
132
|
);
|
|
132
133
|
return /* @__PURE__ */ c(u, { container: !0, spacing: a ? 0 : 24, sx: { overflow: "scroll" }, children: [
|
|
133
134
|
/* @__PURE__ */ e(u, { xs: 12, children: g.isInitialized && /* @__PURE__ */ e(Q, {}) }),
|
|
134
135
|
/* @__PURE__ */ c(u, { lg: 8, xs: 12, children: [
|
|
135
136
|
/* @__PURE__ */ e(H, {}),
|
|
136
|
-
|
|
137
|
+
o && /* @__PURE__ */ c(s, { direction: "column", spacing: 24, children: [
|
|
137
138
|
/* @__PURE__ */ e(m, { height: 100, variant: "rounded", width: "100%" }),
|
|
138
139
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" }),
|
|
139
140
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" })
|
|
140
141
|
] }),
|
|
141
|
-
!
|
|
142
|
+
!o && /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: i ? f.map((r) => /* @__PURE__ */ e(n.Fragment, { children: r.component }, r.index)) : d.map((r) => /* @__PURE__ */ e(n.Fragment, { children: r.component }, r.index)) })
|
|
142
143
|
] }),
|
|
143
|
-
i && /* @__PURE__ */ e(u, { lg: 4, children:
|
|
144
|
+
i && /* @__PURE__ */ e(u, { lg: 4, children: o ? /* @__PURE__ */ c(s, { direction: "column", spacing: 24, children: [
|
|
144
145
|
/* @__PURE__ */ e(m, { height: 200, variant: "rounded", width: "100%" }),
|
|
145
146
|
/* @__PURE__ */ e(m, { height: 100, variant: "rounded", width: "100%" }),
|
|
146
147
|
/* @__PURE__ */ e(m, { height: 300, variant: "rounded", width: "100%" })
|
|
147
|
-
] }) : /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: x.map((
|
|
148
|
+
] }) : /* @__PURE__ */ e(s, { direction: "column", spacing: 24, children: x.map((r) => /* @__PURE__ */ e(n.Fragment, { children: r.component }, r.index)) }) })
|
|
148
149
|
] });
|
|
149
|
-
},
|
|
150
|
+
}, se = p(P);
|
|
150
151
|
export {
|
|
151
|
-
|
|
152
|
+
se as Dashboard,
|
|
152
153
|
h as DashboardLocation
|
|
153
154
|
};
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
interface DebtsPriorityActionProps {
|
|
2
|
+
disabled?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const DebtsPriorityAction: (({ disabled }: DebtsPriorityActionProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
2
5
|
displayName: string;
|
|
3
6
|
};
|
|
7
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
interface PaydownButtonProps {
|
|
2
|
+
disabled?: boolean;
|
|
2
3
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
3
4
|
}
|
|
4
|
-
export declare const PaydownButton: (({ onClick }: PaydownButtonProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
|
+
export declare const PaydownButton: (({ disabled, onClick }: PaydownButtonProps) => import("react/jsx-runtime").JSX.Element) & {
|
|
5
6
|
displayName: string;
|
|
6
7
|
};
|
|
7
8
|
export {};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
interface DebtsPrioriyButtonProps {
|
|
3
3
|
buttonText: string;
|
|
4
|
+
disabled?: boolean;
|
|
4
5
|
isOpen: boolean;
|
|
5
6
|
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const DebtsPriorityButton: ({ buttonText, isOpen, onClick }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare const DebtsPriorityButton: ({ buttonText, disabled, isOpen, onClick, }: DebtsPrioriyButtonProps) => import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|