@mx-cartographer/experiences 8.0.0-alpha.bb4 → 8.0.0-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.
- package/dist/{Account-B4CDD-zq.mjs → Account-BDXA6PWh.mjs} +1 -1
- package/dist/AccountDetailsContent-CUztd3-b.mjs +683 -0
- package/dist/{AccountDetailsHeader-DRjFuyJT.mjs → AccountDetailsHeader-i3KFhNuo.mjs} +18 -18
- package/dist/{AccountFields-Cl4KHoSj.mjs → AccountFields-QZspYAji.mjs} +10 -12
- package/dist/AccountListItem-DX5upmCS.mjs +90 -0
- package/dist/{AccountStore-HbVblv86.mjs → AccountStore-BcnDpyLL.mjs} +3 -3
- package/dist/{Accounts-CRUehOiy.mjs → Accounts-DXfZotRC.mjs} +1 -1
- package/dist/{BudgetUtil-Jv8h9H9l.mjs → BudgetUtil-Df2nII9u.mjs} +31 -31
- package/dist/{CashflowStore-CA190BPF.mjs → CashflowStore-D9Dpuz7X.mjs} +25 -18
- package/dist/{Category-Ccoew_sA.mjs → Category-CevNQ03n.mjs} +2 -2
- package/dist/{CategorySelectorDrawer-Dl006GKy.mjs → CategorySelectorDrawer-DqJK_rrL.mjs} +27 -27
- package/dist/{CategoryStore-MUwRWH9e.mjs → CategoryStore-DTgyAMM7.mjs} +2 -2
- package/dist/{CategoryUtil-DfVKKkRf.mjs → CategoryUtil-C5cR-nfQ.mjs} +4 -4
- package/dist/{ConnectDrawer-DVp54lUH.mjs → ConnectDrawer-BIbTqYOH.mjs} +47 -48
- package/dist/{ConnectionsDrawer-Dsc04-4Z.mjs → ConnectionsDrawer-BFfY3_zB.mjs} +2 -2
- package/dist/CurrencyInput-BFKcs-_K.mjs +85 -0
- package/dist/{DateUtil-CDPZw_-m.mjs → DateUtil-CBdcsyuk.mjs} +1 -1
- package/dist/{DebtsStore-pL63fmdT.mjs → DebtsStore-BbJB0nmu.mjs} +3 -3
- package/dist/{Dialog-CDV0kKxj.mjs → Dialog-BPTr3qHE.mjs} +24 -24
- package/dist/{Drawer-BF40nbsH.mjs → Drawer-BEtCk82g.mjs} +17 -17
- package/dist/{ExportCsvAction-QhQK4_FU.mjs → ExportCsvAction-DzTrtPzk.mjs} +3 -3
- package/dist/{FinstrongStore-BGf36b0z.mjs → FinstrongStore-BIrX0Xg2.mjs} +56 -56
- package/dist/{GoalStore-C1-w3Y1E.mjs → GoalStore-DpWY3gVb.mjs} +4 -4
- package/dist/HeaderCell-DjuifqHJ.mjs +6 -0
- package/dist/{Help-DBfsTkAi.mjs → Help-BnPXM_N2.mjs} +145 -124
- package/dist/{Help-c-zHlDbv.mjs → Help-DhcC-C05.mjs} +8 -8
- package/dist/{IconBacking-DgT8DCeh.mjs → IconBacking-B9oC6uL2.mjs} +11 -11
- package/dist/{LineChart-C1PxNf7P.mjs → LineChart-bc1D9xBE.mjs} +78 -78
- package/dist/{ListItemAction-BNCWQAN_.mjs → ListItemAction-uobBrm_a.mjs} +1 -1
- package/dist/Loader-DUaFpDGv.mjs +24 -0
- package/dist/{ManageIncome-8EsStyIQ.mjs → ManageIncome-NpXHhO1n.mjs} +46 -46
- package/dist/MicroWidgetContainer-DEiRnYVa.mjs +45 -0
- package/dist/MiniWidgetContainer-CmXpTylX.mjs +56 -0
- package/dist/{NetWorthStore-Bti6u-d9.mjs → NetWorthStore-lsuhEpn6.mjs} +4 -4
- package/dist/{NotificationSettings-B74rQVYC.mjs → NotificationSettings-CNmJWVeI.mjs} +77 -77
- package/dist/{OriginalBalanceAction-2Y_3U_mg.mjs → OriginalBalanceAction-DK8_LkPz.mjs} +8 -8
- package/dist/{RecurringSettings-DAncu--R.mjs → RecurringSettings-CqZh1SQa.mjs} +3 -3
- package/dist/{RecurringTransactions-CxcSL1dY.mjs → RecurringTransactions-BKcYmpv3.mjs} +77 -77
- package/dist/{RecurringTransactionsStore-CNFxyGB6.mjs → RecurringTransactionsStore-Ni5tSQIO.mjs} +1 -1
- package/dist/{ResponsiveButton-Cn6-R7ue.mjs → ResponsiveButton-DZFp78fJ.mjs} +10 -10
- package/dist/SearchBox-B2_zLv8-.mjs +42 -0
- package/dist/{SettingsStore-BASMQSIp.mjs → SettingsStore-krIRNwHK.mjs} +1 -1
- package/dist/{SingleSegmentDonut-7Uy6VEld.mjs → SingleSegmentDonut-BgbLgwHi.mjs} +6 -6
- package/dist/{SpendingData-DPQ96k3x.mjs → SpendingData-BuJ03S9d.mjs} +4 -4
- package/dist/{SpendingLegend-6FqtMcBV.mjs → SpendingLegend-CjX-hX2O.mjs} +12 -12
- package/dist/{StatusBar-CPfSXe80.mjs → StatusBar-BK_uYHAB.mjs} +6 -6
- package/dist/{TabContentContainer-CnMXkVqr.mjs → TabContentContainer-j01JYR_7.mjs} +8 -8
- package/dist/TransactionDetails-5M2vfr59.mjs +1379 -0
- package/dist/{TransactionStore-DbwAutwC.mjs → TransactionStore-D-Q3BU9Z.mjs} +58 -41
- package/dist/{TrendsStore-_mRaFUdf.mjs → TrendsStore-BW9FGQeE.mjs} +37 -37
- package/dist/{User-BklmOUSd.mjs → User-wXzDI4M8.mjs} +107 -107
- package/dist/{ViewMoreMicroCard-DAkyNRlD.mjs → ViewMoreMicroCard-C0832BMe.mjs} +233 -231
- package/dist/{WidgetContainer-CDh9fjpR.mjs → WidgetContainer-BhQ1Kx2z.mjs} +36 -36
- package/dist/accounts/index.es.js +94 -94
- package/dist/analytics/index.es.js +27 -27
- package/dist/budgets/index.es.js +251 -250
- package/dist/cashflow/index.es.js +158 -157
- package/dist/categories/index.es.js +2 -2
- package/dist/common/components/Loader.d.ts +2 -1
- package/dist/common/components/accountfilter/AccountFilterOptions.d.ts +1 -1
- package/dist/common/components/barchart/Bar.d.ts +25 -0
- package/dist/common/components/barchart/BarChart.d.ts +34 -0
- package/dist/common/components/barchart/BarColumn.d.ts +37 -0
- package/dist/common/components/barchart/Legend.d.ts +8 -0
- package/dist/common/components/barchart/Util.d.ts +42 -0
- package/dist/common/components/barchart/index.d.ts +1 -0
- package/dist/common/components/charts/linechart/CustomMark.d.ts +1 -1
- package/dist/common/components/index.d.ts +1 -0
- package/dist/common/index.es.js +660 -395
- package/dist/common/utils/Theme.d.ts +3 -1
- package/dist/dashboard/index.es.js +21 -21
- package/dist/debts/components/DebtsChart.d.ts +2 -1
- package/dist/debts/index.es.js +440 -440
- package/dist/{exportTransactionsToCSV-BgV_wTLT.mjs → exportTransactionsToCSV-Cz2t0lmA.mjs} +3 -3
- package/dist/finstrong/index.es.js +118 -118
- package/dist/goals/index.es.js +380 -386
- package/dist/help/components/content/BottomImageContent.d.ts +1 -1
- package/dist/help/components/content/LeftImageContent.d.ts +1 -1
- package/dist/help/components/content/RightImageContent.d.ts +1 -1
- package/dist/help/components/content/TopImageContent.d.ts +1 -1
- package/dist/help/index.es.js +6 -6
- package/dist/investments/index.es.js +279 -278
- package/dist/merchants/index.es.js +7 -7
- package/dist/microinsights/index.es.js +1 -1
- package/dist/networth/components/NetWorthChange.d.ts +1 -3
- package/dist/networth/index.es.js +185 -191
- package/dist/notifications/index.es.js +30 -30
- package/dist/recurringtransactions/index.es.js +85 -85
- package/dist/settings/index.es.js +270 -270
- package/dist/spending/index.es.js +44 -44
- package/dist/transactions/components/shared/transactionlist/DateRow.d.ts +7 -0
- package/dist/transactions/index.es.js +169 -168
- package/dist/trends/index.es.js +318 -317
- package/dist/{useAccountDisplayName-CcIp09Xc.mjs → useAccountDisplayName-CFNF8766.mjs} +1 -1
- package/dist/{useCombineEvents-kNzLTWCp.mjs → useCombineEvents-CRwX-qWE.mjs} +2 -2
- package/dist/{useScreenSize-B5afALev.mjs → useScreenSize-B6JyS_Lj.mjs} +1 -1
- package/package.json +50 -45
- package/dist/AccountDetailsContent-adZTkM52.mjs +0 -683
- package/dist/AccountListItem-wgmlex-_.mjs +0 -90
- package/dist/CurrencyInput-D1cjbdCI.mjs +0 -85
- package/dist/HeaderCell-P8w6CmfO.mjs +0 -6
- package/dist/Loader-Ckqi9Rx6.mjs +0 -21
- package/dist/MicroWidgetContainer-BGpNl5ZS.mjs +0 -45
- package/dist/MiniWidgetContainer-CKzf_Ira.mjs +0 -56
- package/dist/SearchBox-B7km148n.mjs +0 -39
- package/dist/TransactionDetails-Bn0qY5Hw.mjs +0 -1336
|
@@ -5,15 +5,15 @@ import { SurveyQuestionType as S } from "posthog-js";
|
|
|
5
5
|
import A from "@mui/material/Alert";
|
|
6
6
|
import B from "@mui/material/Button";
|
|
7
7
|
import a from "@mui/material/Stack";
|
|
8
|
-
import
|
|
8
|
+
import _ from "@mui/material/styles/useTheme";
|
|
9
9
|
import { Text as u, TextField as L } from "@mxenabled/mxui";
|
|
10
|
-
import { L as W } from "../Loader-
|
|
11
|
-
import { M as j } from "../MiniWidgetContainer-
|
|
12
|
-
import { k as f, u as
|
|
10
|
+
import { L as W } from "../Loader-DUaFpDGv.mjs";
|
|
11
|
+
import { M as j } from "../MiniWidgetContainer-CmXpTylX.mjs";
|
|
12
|
+
import { k as f, u as b, g as q, b as E } from "../hooks-C41HAxM5.mjs";
|
|
13
13
|
import Q from "@mui/material/ToggleButton";
|
|
14
14
|
import G from "@mui/material/ToggleButtonGroup";
|
|
15
15
|
const O = () => {
|
|
16
|
-
const { question: s, response: o, setResponse: i } = f(), { analytics: r } =
|
|
16
|
+
const { question: s, response: o, setResponse: i } = f(), { analytics: r } = b(), t = _(), p = s, m = (h, n) => {
|
|
17
17
|
i(n);
|
|
18
18
|
};
|
|
19
19
|
return /* @__PURE__ */ l(d.Fragment, { children: [
|
|
@@ -33,14 +33,14 @@ const O = () => {
|
|
|
33
33
|
Q,
|
|
34
34
|
{
|
|
35
35
|
sx: {
|
|
36
|
-
borderColor: t.palette.
|
|
36
|
+
borderColor: t.palette.border.light,
|
|
37
37
|
fontWeight: "bold",
|
|
38
38
|
width: `${100 / p.scale}%`,
|
|
39
39
|
"&:hover": {
|
|
40
40
|
backgroundColor: t.palette.background.paper
|
|
41
41
|
},
|
|
42
42
|
"&.Mui-selected, &.Mui-selected:hover": {
|
|
43
|
-
backgroundColor: t.palette.mode === "dark" ? "#0749B240" : t.palette.primary.
|
|
43
|
+
backgroundColor: t.palette.mode === "dark" ? "#0749B240" : t.palette.primary.lighter,
|
|
44
44
|
border: `1px solid ${t.palette.primary.main}`,
|
|
45
45
|
color: t.palette.primary.main
|
|
46
46
|
}
|
|
@@ -61,14 +61,14 @@ const O = () => {
|
|
|
61
61
|
justifyContent: "space-between"
|
|
62
62
|
},
|
|
63
63
|
children: [
|
|
64
|
-
/* @__PURE__ */ e(u, { bold: !0, variant: "
|
|
65
|
-
/* @__PURE__ */ e(u, { bold: !0, variant: "
|
|
64
|
+
/* @__PURE__ */ e(u, { bold: !0, variant: "XSmall", children: r.strongly_disagree }),
|
|
65
|
+
/* @__PURE__ */ e(u, { bold: !0, variant: "XSmall", children: r.strongly_agree })
|
|
66
66
|
]
|
|
67
67
|
}
|
|
68
68
|
)
|
|
69
69
|
] });
|
|
70
|
-
},
|
|
71
|
-
const { response: s, setResponse: o } = f(), { analytics: i } =
|
|
70
|
+
}, X = y(O), z = () => {
|
|
71
|
+
const { response: s, setResponse: o } = f(), { analytics: i } = b();
|
|
72
72
|
return /* @__PURE__ */ e(
|
|
73
73
|
L,
|
|
74
74
|
{
|
|
@@ -82,7 +82,7 @@ const O = () => {
|
|
|
82
82
|
value: s
|
|
83
83
|
}
|
|
84
84
|
);
|
|
85
|
-
},
|
|
85
|
+
}, H = y(z), I = () => {
|
|
86
86
|
const { onEvent: s } = q(), o = _(), {
|
|
87
87
|
surveyId: i,
|
|
88
88
|
question: r,
|
|
@@ -92,9 +92,9 @@ const O = () => {
|
|
|
92
92
|
questionCount: h,
|
|
93
93
|
response: n,
|
|
94
94
|
responsePayload: k,
|
|
95
|
-
resetStore:
|
|
95
|
+
resetStore: g,
|
|
96
96
|
survey: w
|
|
97
|
-
} = f(), { analytics: c, common: M } =
|
|
97
|
+
} = f(), { analytics: c, common: M } = b(), { isCopyLoaded: T, isInitialized: v } = E(), [x, C] = d.useState(!1);
|
|
98
98
|
d.useEffect(() => {
|
|
99
99
|
v && m();
|
|
100
100
|
}, [v]), d.useEffect(() => {
|
|
@@ -102,20 +102,20 @@ const O = () => {
|
|
|
102
102
|
$survey_id: i
|
|
103
103
|
});
|
|
104
104
|
}, [w]);
|
|
105
|
-
const
|
|
105
|
+
const $ = () => {
|
|
106
106
|
s("survey dismissed", {
|
|
107
107
|
$survey_id: i
|
|
108
|
-
}),
|
|
109
|
-
},
|
|
108
|
+
}), g(), C(!1);
|
|
109
|
+
}, F = () => {
|
|
110
110
|
p();
|
|
111
|
-
},
|
|
112
|
-
s("survey sent", k),
|
|
111
|
+
}, R = () => {
|
|
112
|
+
s("survey sent", k), g(), C(!0);
|
|
113
113
|
};
|
|
114
114
|
return T ? !r && !x ? null : /* @__PURE__ */ l(
|
|
115
115
|
j,
|
|
116
116
|
{
|
|
117
117
|
closeLabel: M.close_aria,
|
|
118
|
-
onClose:
|
|
118
|
+
onClose: $,
|
|
119
119
|
sx: {
|
|
120
120
|
"& .MuiCardHeader-root": {
|
|
121
121
|
px: 24,
|
|
@@ -134,22 +134,22 @@ const O = () => {
|
|
|
134
134
|
r && /* @__PURE__ */ l(d.Fragment, { children: [
|
|
135
135
|
/* @__PURE__ */ l(a, { sx: { gap: 4, px: 24, py: 16 }, children: [
|
|
136
136
|
/* @__PURE__ */ e(u, { bold: !0, truncate: !1, children: r.question }),
|
|
137
|
-
/* @__PURE__ */ e(u, { variant: "
|
|
137
|
+
/* @__PURE__ */ e(u, { variant: "XSmall", children: h })
|
|
138
138
|
] }),
|
|
139
139
|
/* @__PURE__ */ l(a, { sx: { gap: 6, px: 24, pb: 8 }, children: [
|
|
140
|
-
r.type === S.Rating && /* @__PURE__ */ e(
|
|
141
|
-
r.type === S.Open && /* @__PURE__ */ e(
|
|
140
|
+
r.type === S.Rating && /* @__PURE__ */ e(X, {}),
|
|
141
|
+
r.type === S.Open && /* @__PURE__ */ e(H, {})
|
|
142
142
|
] }),
|
|
143
143
|
/* @__PURE__ */ e(a, { sx: { px: 24, py: 16 }, children: /* @__PURE__ */ e(
|
|
144
144
|
B,
|
|
145
145
|
{
|
|
146
146
|
disabled: !t && !n,
|
|
147
|
-
onClick: t ?
|
|
147
|
+
onClick: t ? R : F,
|
|
148
148
|
sx: {
|
|
149
|
-
borderColor: o.palette.
|
|
149
|
+
borderColor: o.palette.border.light,
|
|
150
150
|
"&:hover": {
|
|
151
151
|
// temp hardcoded dark mode color until design team decision
|
|
152
|
-
backgroundColor: o.palette.mode === "dark" ? "#0749B240" : o.palette.primary.
|
|
152
|
+
backgroundColor: o.palette.mode === "dark" ? "#0749B240" : o.palette.primary.lighter,
|
|
153
153
|
borderColor: o.palette.primary.main
|
|
154
154
|
}
|
|
155
155
|
},
|
|
@@ -165,7 +165,7 @@ const O = () => {
|
|
|
165
165
|
]
|
|
166
166
|
}
|
|
167
167
|
) : /* @__PURE__ */ e(W, {});
|
|
168
|
-
}, ie = y(
|
|
168
|
+
}, ie = y(I);
|
|
169
169
|
export {
|
|
170
170
|
ie as SurveyMiniWidget
|
|
171
171
|
};
|