@mx-cartographer/experiences 9.0.6 → 9.0.7-alpha.al1
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/README.md +10 -10
- package/dist/common/index.es.js +235 -244
- package/dist/common/utils/Theme.d.ts +9 -23
- package/dist/common/utils/index.d.ts +1 -1
- package/dist/core/types/AppData.d.ts +14 -0
- package/dist/core/types/Client.d.ts +20 -13
- package/dist/core/types/index.d.ts +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -41,9 +41,9 @@ The library is built using a modern React stack, leveraging industry-standard to
|
|
|
41
41
|
|
|
42
42
|
### Prerequisites
|
|
43
43
|
- **Node.js**: v18.0.0 or higher
|
|
44
|
-
- **Yarn**: 4.
|
|
45
|
-
- **React**:
|
|
46
|
-
- **MobX**: 6.
|
|
44
|
+
- **Yarn**: 4.15.0 [^YARN_VER]
|
|
45
|
+
- **React**: 19.x [^REACT_VER]
|
|
46
|
+
- **MobX**: 6.15.0 [^MOBX_VER]
|
|
47
47
|
|
|
48
48
|
### Installation
|
|
49
49
|
|
|
@@ -219,10 +219,10 @@ For technical assistance or internal inquiries:
|
|
|
219
219
|
[^2]: [src/common/context/WidgetContainerProvider.tsx:10](src/common/context/WidgetContainerProvider.tsx#L10)
|
|
220
220
|
[^3]: [src/common/context/GlobalStoreProvider.tsx:10](src/common/context/GlobalStoreProvider.tsx#L10)
|
|
221
221
|
[^4]: [src/common/hooks/useScreenSize.tsx:4](src/common/hooks/useScreenSize.tsx#L4)
|
|
222
|
-
[^5]: [package.json:
|
|
223
|
-
[^6]: [package.json:
|
|
224
|
-
[^MUI_VER]: [package.json:
|
|
225
|
-
[^MXUI_VER]: [package.json:
|
|
226
|
-
[^MOBX_VER]: [package.json:
|
|
227
|
-
[^REACT_VER]: [package.json:
|
|
228
|
-
[^YARN_VER]: [package.json:
|
|
222
|
+
[^5]: [package.json:187](package.json#L187)
|
|
223
|
+
[^6]: [package.json:229](package.json#L229)
|
|
224
|
+
[^MUI_VER]: [package.json:195](package.json#L195)
|
|
225
|
+
[^MXUI_VER]: [package.json:203](package.json#L203)
|
|
226
|
+
[^MOBX_VER]: [package.json:209](package.json#L209)
|
|
227
|
+
[^REACT_VER]: [package.json:213](package.json#L213)
|
|
228
|
+
[^YARN_VER]: [package.json:297](package.json#L297)
|
package/dist/common/index.es.js
CHANGED
|
@@ -1,108 +1,108 @@
|
|
|
1
|
-
import { l as
|
|
2
|
-
import { b as
|
|
3
|
-
import { f as
|
|
4
|
-
import { C as
|
|
5
|
-
import { C as
|
|
6
|
-
import { D as
|
|
7
|
-
import { D as
|
|
8
|
-
import { D as
|
|
9
|
-
import { D as
|
|
10
|
-
import { D as
|
|
11
|
-
import { E as
|
|
12
|
-
import { I as
|
|
13
|
-
import { I as
|
|
14
|
-
import { L as
|
|
15
|
-
import { M as
|
|
16
|
-
import { M as
|
|
17
|
-
import { jsxs as
|
|
18
|
-
import { css as
|
|
19
|
-
import { D as
|
|
20
|
-
import { S as
|
|
21
|
-
import { R as
|
|
22
|
-
import { S as
|
|
23
|
-
import { S as
|
|
24
|
-
import { I as
|
|
25
|
-
import { A as
|
|
26
|
-
import { C as
|
|
27
|
-
import { C as
|
|
28
|
-
import { C as
|
|
29
|
-
import { E as
|
|
30
|
-
import { E as
|
|
31
|
-
import { G as
|
|
32
|
-
import { G as
|
|
33
|
-
import { L as
|
|
34
|
-
import { L as
|
|
35
|
-
import { L as
|
|
36
|
-
import { S as
|
|
37
|
-
import { S as
|
|
38
|
-
import { T as
|
|
39
|
-
import { a as
|
|
40
|
-
import { alpha as
|
|
41
|
-
import { u as
|
|
42
|
-
import { u as
|
|
43
|
-
import { useRef as
|
|
44
|
-
import { u as
|
|
45
|
-
import { u as
|
|
46
|
-
var
|
|
47
|
-
const
|
|
48
|
-
const
|
|
49
|
-
return
|
|
50
|
-
|
|
51
|
-
}, [r]),
|
|
52
|
-
},
|
|
53
|
-
{ id:
|
|
54
|
-
{ id:
|
|
55
|
-
{ id:
|
|
56
|
-
{ id:
|
|
57
|
-
{ id:
|
|
58
|
-
{ id:
|
|
59
|
-
{ id:
|
|
60
|
-
{ id:
|
|
61
|
-
],
|
|
1
|
+
import { l as U } from "../UserStore-DzWku3t0.mjs";
|
|
2
|
+
import { b as B, a as q } from "../Localization-DnoVyBNK.mjs";
|
|
3
|
+
import { f as P, b as Y, a as $, c as F, g as H, d as Q } from "../NumberFormatting--XMeeBfr.mjs";
|
|
4
|
+
import { C as j, a as K, b as Z } from "../CurrencyDialog-DumQCTPO.mjs";
|
|
5
|
+
import { C as J } from "../CurrencyInput-DaGEQaLW.mjs";
|
|
6
|
+
import { D as rr, S as or } from "../Select-CSpkK5cR.mjs";
|
|
7
|
+
import { D as tr, W as ar, u as sr } from "../WidgetContainer-D-LzIKFb.mjs";
|
|
8
|
+
import { D as ir } from "../Dialog-Bvd2n8hz.mjs";
|
|
9
|
+
import { D as dr } from "../Donut-SzzfZDHF.mjs";
|
|
10
|
+
import { D as cr } from "../Drawer-BXqqBMxg.mjs";
|
|
11
|
+
import { E as pr } from "../ErrorBoundary-CsdOcnJ9.mjs";
|
|
12
|
+
import { I as gr } from "../IconBacking-DgT8DCeh.mjs";
|
|
13
|
+
import { I as _r } from "../InformationTooltip-4su8bn1e.mjs";
|
|
14
|
+
import { L as hr } from "../Loader-CxeBwuPG.mjs";
|
|
15
|
+
import { M as Er } from "../MicroWidgetContainer-B2NnKBgW.mjs";
|
|
16
|
+
import { M as Sr } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
|
|
17
|
+
import { jsxs as f, jsx as p } from "react/jsx-runtime";
|
|
18
|
+
import { css as g } from "@mxenabled/cssinjs";
|
|
19
|
+
import { D as y, a as _ } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
20
|
+
import { S as br } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
21
|
+
import { R as Dr } from "../ResponsiveButton-CC9F_Ezk.mjs";
|
|
22
|
+
import { S as Tr } from "../SelectionBox-B4xELRgp.mjs";
|
|
23
|
+
import { S as Ar } from "../StatusBar-CPfSXe80.mjs";
|
|
24
|
+
import { I as Nr, P as Lr, S as Wr, T as Ur } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
25
|
+
import { A as Br } from "../Analytics-WeZYytR0.mjs";
|
|
26
|
+
import { C as Rr } from "../ConnectCard-Dwfgv24k.mjs";
|
|
27
|
+
import { C as Yr } from "../ConnectDrawer-DytyIhaF.mjs";
|
|
28
|
+
import { C as Fr } from "../CurrencyText-CCbE6MmF.mjs";
|
|
29
|
+
import { E as Qr } from "../EmptyState-CJUDc3kD.mjs";
|
|
30
|
+
import { E as jr } from "../Error-Dtw6yxkf.mjs";
|
|
31
|
+
import { G as Zr } from "../GlobalAccountFilter-CYqzqmAd.mjs";
|
|
32
|
+
import { G as Jr, m as Xr, n as ro, W as oo, c as eo, i as to, o as ao, p as so, l as no, q as io, r as uo, f as lo, s as co, u as mo, e as po, a as fo, k as go, t as yo, v as _o, w as xo, b as ho, x as Co, y as Eo, z as ko, h as So, A as vo, g as bo, B as Oo, C as Do, D as Io } from "../hooks-97sNJ_lf.mjs";
|
|
33
|
+
import { L as Mo } from "../ListItemAction-BqUCLj_w.mjs";
|
|
34
|
+
import { L as wo } from "../ListItemRow-kH1rn8Xu.mjs";
|
|
35
|
+
import { L as Lo } from "../ListItemWrapper-BHIbqx7E.mjs";
|
|
36
|
+
import { S as Uo } from "../SearchBox-Cpgu_gdO.mjs";
|
|
37
|
+
import { S as Bo, T as qo } from "../Sizes-DISGrlUg.mjs";
|
|
38
|
+
import { T as Po, a as Yo } from "../ToggleListItem-Dl1lXNwj.mjs";
|
|
39
|
+
import { a as Fo, u as Ho, b as Qo } from "../Analytics-CkYXKvco.mjs";
|
|
40
|
+
import { alpha as x } from "@mui/material";
|
|
41
|
+
import { u as jo } from "../useAccountDisplayName-BsiXA0qf.mjs";
|
|
42
|
+
import { u as Zo } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
|
|
43
|
+
import { useRef as h, useEffect as C } from "react";
|
|
44
|
+
import { u as Jo } from "../useScreenSize-mWpmnh5w.mjs";
|
|
45
|
+
import { u as re } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
46
|
+
var s = /* @__PURE__ */ ((r) => (r[r.Unknown = 0] = "Unknown", r[r.EveryWeek = 1] = "EveryWeek", r[r.EveryOtherWeek = 2] = "EveryOtherWeek", r[r.EveryMonth = 3] = "EveryMonth", r[r.EveryOtherMonth = 4] = "EveryOtherMonth", r[r.EveryQuarter = 5] = "EveryQuarter", r[r.EveryOtherQuarter = 6] = "EveryOtherQuarter", r[r.EveryYear = 7] = "EveryYear", r))(s || {});
|
|
47
|
+
const I = (r) => {
|
|
48
|
+
const a = h(null);
|
|
49
|
+
return C(() => {
|
|
50
|
+
a.current = r;
|
|
51
|
+
}, [r]), a.current;
|
|
52
|
+
}, T = [
|
|
53
|
+
{ id: s.Unknown, copy: "frequency_unknown" },
|
|
54
|
+
{ id: s.EveryWeek, copy: "frequency_every_week" },
|
|
55
|
+
{ id: s.EveryOtherWeek, copy: "frequency_every_other_week" },
|
|
56
|
+
{ id: s.EveryMonth, copy: "frequency_every_month" },
|
|
57
|
+
{ id: s.EveryOtherMonth, copy: "frequency_every_other_month" },
|
|
58
|
+
{ id: s.EveryQuarter, copy: "frequency_every_quarter" },
|
|
59
|
+
{ id: s.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
|
|
60
|
+
{ id: s.EveryYear, copy: "frequency_every_year" }
|
|
61
|
+
], M = {
|
|
62
62
|
ERROR: "ERROR",
|
|
63
63
|
LOADING: "LOADING",
|
|
64
64
|
SUCCESS: "SUCCESS"
|
|
65
|
-
},
|
|
65
|
+
}, A = ({
|
|
66
66
|
hasGap: r = !1,
|
|
67
|
-
segments:
|
|
68
|
-
size:
|
|
69
|
-
strokeWidth:
|
|
70
|
-
children:
|
|
67
|
+
segments: a,
|
|
68
|
+
size: o = y,
|
|
69
|
+
strokeWidth: e = _,
|
|
70
|
+
children: i
|
|
71
71
|
}) => {
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
72
|
+
const u = E(o), n = (o - e) / 2, t = o / 2;
|
|
73
|
+
let l = -90 - (r ? 1 : 0), d = 0;
|
|
74
|
+
return /* @__PURE__ */ f("div", { className: `mx-cmn-multi-segment-donut ${u}`, children: [
|
|
75
|
+
/* @__PURE__ */ f("svg", { height: o, width: o, children: [
|
|
76
|
+
/* @__PURE__ */ p(
|
|
77
77
|
"circle",
|
|
78
78
|
{
|
|
79
|
-
cx:
|
|
80
|
-
cy:
|
|
79
|
+
cx: t,
|
|
80
|
+
cy: t,
|
|
81
81
|
fill: "none",
|
|
82
|
-
r:
|
|
82
|
+
r: n,
|
|
83
83
|
stroke: "#E4E8EE",
|
|
84
|
-
strokeWidth:
|
|
84
|
+
strokeWidth: e
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
|
-
|
|
87
|
+
a.map((c, m) => (l += 360 * d + (r ? 1 : 0), d = (c.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ p(
|
|
88
88
|
"circle",
|
|
89
89
|
{
|
|
90
|
-
cx:
|
|
91
|
-
cy:
|
|
90
|
+
cx: t,
|
|
91
|
+
cy: t,
|
|
92
92
|
fill: "none",
|
|
93
|
-
r:
|
|
94
|
-
stroke:
|
|
95
|
-
strokeDasharray: 2 * Math.PI *
|
|
96
|
-
strokeDashoffset: 2 * Math.PI *
|
|
97
|
-
strokeWidth:
|
|
98
|
-
transform: `rotate(${
|
|
93
|
+
r: n,
|
|
94
|
+
stroke: c.color,
|
|
95
|
+
strokeDasharray: 2 * Math.PI * n,
|
|
96
|
+
strokeDashoffset: 2 * Math.PI * n * (1 - d),
|
|
97
|
+
strokeWidth: e,
|
|
98
|
+
transform: `rotate(${l}, ${t}, ${t})`
|
|
99
99
|
},
|
|
100
|
-
|
|
100
|
+
m
|
|
101
101
|
)))
|
|
102
102
|
] }),
|
|
103
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ p("div", { className: "mx-cmn-multi-segment-donut-children", children: i })
|
|
104
104
|
] });
|
|
105
|
-
},
|
|
105
|
+
}, E = (r) => g({
|
|
106
106
|
height: r,
|
|
107
107
|
marginTop: "-8px",
|
|
108
108
|
position: "relative",
|
|
@@ -114,198 +114,189 @@ const N = (r) => {
|
|
|
114
114
|
top: "50%",
|
|
115
115
|
transform: "translate(-50%, -50%)"
|
|
116
116
|
}
|
|
117
|
-
}),
|
|
118
|
-
"fontFamily",
|
|
119
|
-
"h1",
|
|
120
|
-
"h2",
|
|
121
|
-
"h3",
|
|
122
|
-
"body1",
|
|
123
|
-
"body2",
|
|
124
|
-
"button",
|
|
125
|
-
"caption",
|
|
126
|
-
"subtitle1",
|
|
127
|
-
"subtitle2",
|
|
128
|
-
"tiny"
|
|
129
|
-
], h = [
|
|
117
|
+
}), k = [
|
|
130
118
|
{ key: "primary", light: "primary_color", dark: "primary_color_dark" },
|
|
131
|
-
{ key: "secondary", light: "
|
|
119
|
+
{ key: "secondary", light: "secondary_color", dark: "secondary_color_dark" },
|
|
132
120
|
{ key: "error", light: "error_color", dark: "error_color_dark" },
|
|
133
121
|
{ key: "warning", light: "warning_color", dark: "warning_color_dark" },
|
|
134
122
|
{ key: "info", light: "info_color", dark: "info_color_dark" },
|
|
135
|
-
{ key: "success", light: "success_color", dark: "success_color_dark" }
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
123
|
+
{ key: "success", light: "success_color", dark: "success_color_dark" },
|
|
124
|
+
{ key: "grey", light: "neutral_color", dark: "neutral_color_dark" }
|
|
125
|
+
], w = (r, a) => {
|
|
126
|
+
const o = a === "dark", e = {};
|
|
127
|
+
for (const { key: l, light: d, dark: c } of k) {
|
|
128
|
+
const m = r?.[o ? c : d];
|
|
129
|
+
m && (e[l] = m);
|
|
141
130
|
}
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
131
|
+
const i = r?.background_color;
|
|
132
|
+
i && (e.background = {
|
|
133
|
+
...e.background,
|
|
134
|
+
default: o ? { light: "", dark: i } : { light: i, dark: "" }
|
|
135
|
+
});
|
|
136
|
+
const u = r?.paper_color;
|
|
137
|
+
u && (e.background = {
|
|
138
|
+
...e.background,
|
|
139
|
+
paper: o ? { light: "", dark: u } : { light: u, dark: "" }
|
|
140
|
+
});
|
|
141
|
+
const n = r?.body_font_name || r?.system_font, t = r?.header_font_name;
|
|
142
|
+
return {
|
|
143
|
+
paletteOptions: e,
|
|
144
|
+
...r?.use_glass != null && {
|
|
145
|
+
styleOptions: { useGlass: r.use_glass }
|
|
146
|
+
},
|
|
147
|
+
...(n || t) && {
|
|
148
|
+
typographyOptions: {
|
|
149
|
+
...n && { fontFamily: n },
|
|
150
|
+
...t && { headerFontFamily: t }
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
...r?.card_corner_radius != null && {
|
|
154
|
+
shapeOptions: { borderRadius: r.card_corner_radius }
|
|
155
|
+
}
|
|
156
|
+
};
|
|
157
|
+
}, N = (r, a) => {
|
|
158
|
+
const o = a?.button_corner_radius, e = a?.card_corner_radius;
|
|
159
|
+
return { components: {
|
|
164
160
|
MuiTabs: {
|
|
165
161
|
styleOverrides: {
|
|
166
|
-
indicator: { backgroundColor:
|
|
162
|
+
indicator: { backgroundColor: r.palette.primary.light }
|
|
167
163
|
}
|
|
168
164
|
},
|
|
169
165
|
MuiPickersCalendarHeader: {
|
|
170
166
|
styleOverrides: {
|
|
171
167
|
switchViewButton: {
|
|
172
|
-
color:
|
|
173
|
-
"&:hover": { backgroundColor:
|
|
168
|
+
color: r.palette.primary.lighter,
|
|
169
|
+
"&:hover": { backgroundColor: x(r.palette.primary.light, 0.1) }
|
|
174
170
|
}
|
|
175
171
|
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
...c,
|
|
179
|
-
...s && {
|
|
172
|
+
},
|
|
173
|
+
...o && {
|
|
180
174
|
MuiButton: {
|
|
181
175
|
styleOverrides: {
|
|
182
|
-
root: { borderRadius: `${
|
|
176
|
+
root: { borderRadius: `${o}px`, textTransform: "none" }
|
|
183
177
|
}
|
|
184
178
|
},
|
|
185
179
|
MuiIconButton: {
|
|
186
180
|
styleOverrides: {
|
|
187
181
|
root: {
|
|
188
|
-
borderRadius: `${
|
|
189
|
-
minWidth:
|
|
190
|
-
minHeight:
|
|
182
|
+
borderRadius: `${o}px`,
|
|
183
|
+
minWidth: o,
|
|
184
|
+
minHeight: o
|
|
191
185
|
}
|
|
192
186
|
}
|
|
193
187
|
},
|
|
194
188
|
MuiToggleButton: {
|
|
195
189
|
styleOverrides: {
|
|
196
|
-
root: { borderRadius: `${
|
|
190
|
+
root: { borderRadius: `${o}px`, textTransform: "none" }
|
|
197
191
|
}
|
|
198
192
|
}
|
|
199
193
|
},
|
|
200
|
-
...
|
|
194
|
+
...e && {
|
|
201
195
|
MuiCard: {
|
|
202
|
-
styleOverrides: { root: { borderRadius: `${
|
|
203
|
-
}
|
|
204
|
-
},
|
|
205
|
-
...l && {
|
|
196
|
+
styleOverrides: { root: { borderRadius: `${e}px` } }
|
|
197
|
+
},
|
|
206
198
|
MuiPaper: {
|
|
207
199
|
styleOverrides: {
|
|
208
|
-
rounded: { borderRadius: `${
|
|
200
|
+
rounded: { borderRadius: `${e}px` }
|
|
209
201
|
}
|
|
210
202
|
}
|
|
211
203
|
}
|
|
212
|
-
};
|
|
213
|
-
return { typography: a, palette: t, components: f };
|
|
204
|
+
} };
|
|
214
205
|
};
|
|
215
206
|
export {
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
207
|
+
Br as ANALYTICS_EVENTS,
|
|
208
|
+
j as Calendar,
|
|
209
|
+
K as CalendarSelectionTypes,
|
|
210
|
+
Rr as ConnectCard,
|
|
211
|
+
Yr as ConnectDrawer,
|
|
212
|
+
Z as CurrencyDialog,
|
|
213
|
+
J as CurrencyInput,
|
|
214
|
+
Fr as CurrencyText,
|
|
215
|
+
y as DEFAULT_DONUT_SIZE,
|
|
216
|
+
_ as DEFAULT_STROKE_WIDTH,
|
|
217
|
+
rr as DataRow,
|
|
218
|
+
tr as DateRangeSelector,
|
|
219
|
+
ir as Dialog,
|
|
220
|
+
dr as Donut,
|
|
221
|
+
cr as Drawer,
|
|
222
|
+
Qr as EmptyState,
|
|
223
|
+
jr as Error,
|
|
224
|
+
pr as ErrorBoundary,
|
|
225
|
+
Zr as GlobalAccountFilter,
|
|
226
|
+
Jr as GlobalDataContext,
|
|
227
|
+
Xr as GlobalDataProvider,
|
|
228
|
+
U as GlobalStore,
|
|
229
|
+
Nr as INCOME_ACCOUNT_TYPES,
|
|
230
|
+
gr as IconBacking,
|
|
231
|
+
_r as InformationTooltip,
|
|
232
|
+
M as LOADING_STATUS,
|
|
233
|
+
Mo as ListItemAction,
|
|
234
|
+
wo as ListItemRow,
|
|
235
|
+
Lo as ListItemWrapper,
|
|
236
|
+
hr as Loader,
|
|
237
|
+
Er as MicroWidgetContainer,
|
|
238
|
+
Sr as MiniWidgetContainer,
|
|
239
|
+
A as MultiSegmentDonut,
|
|
240
|
+
Lr as PAYMENT_ACCOUNT_TYPES,
|
|
241
|
+
T as RECURRENCE_COPY,
|
|
242
|
+
Dr as ResponsiveButton,
|
|
243
|
+
Wr as SPENDING_ACCOUNT_TYPES,
|
|
244
|
+
Uo as SearchBox,
|
|
245
|
+
or as Select,
|
|
246
|
+
Tr as SelectionBox,
|
|
247
|
+
br as SingleSegmentDonut,
|
|
248
|
+
Bo as Sizes,
|
|
249
|
+
Ar as StatusBar,
|
|
250
|
+
qo as TOUCH_TARGET,
|
|
251
|
+
Ur as TabContentContainer,
|
|
252
|
+
Po as ToggleButtonListItem,
|
|
253
|
+
Yo as ToggleListItem,
|
|
254
|
+
ar as WidgetContainer,
|
|
255
|
+
ro as WidgetContainerContext,
|
|
256
|
+
oo as WidgetContainerProvider,
|
|
257
|
+
Fo as analyticsSession,
|
|
258
|
+
B as buildDynamicCopy,
|
|
259
|
+
q as buildPluralCopy,
|
|
260
|
+
P as formatCurrency,
|
|
261
|
+
Y as formatOrdinal,
|
|
262
|
+
$ as formatPercentage,
|
|
263
|
+
F as generateEqualIntervals,
|
|
264
|
+
w as getClientCustomizations,
|
|
265
|
+
N as getClientTheme,
|
|
266
|
+
H as getCurrencyCodes,
|
|
267
|
+
Q as getPluralRules,
|
|
268
|
+
jo as useAccountDisplayName,
|
|
269
|
+
eo as useAccountStore,
|
|
270
|
+
to as useAppConfig,
|
|
271
|
+
ao as useBudgetsStore,
|
|
272
|
+
so as useCashflowStore,
|
|
273
|
+
no as useCategoryStore,
|
|
274
|
+
Ho as useCombineEvents,
|
|
275
|
+
Qo as useCombinePageviews,
|
|
276
|
+
io as useDebtStore,
|
|
277
|
+
uo as useError,
|
|
278
|
+
lo as useEvent,
|
|
279
|
+
co as useFinstrongStore,
|
|
280
|
+
mo as useGlobalCopyStore,
|
|
281
|
+
po as useGlobalStore,
|
|
282
|
+
fo as useGlobalUiStore,
|
|
283
|
+
go as useGoalStore,
|
|
284
|
+
yo as useHelpStore,
|
|
285
|
+
_o as useHoldingStore,
|
|
286
|
+
Zo as useInsightsEnabled,
|
|
287
|
+
xo as useLoad,
|
|
288
|
+
ho as useMerchantStore,
|
|
289
|
+
Co as useNetWorthStore,
|
|
290
|
+
Eo as useNotificationStore,
|
|
291
|
+
ko as usePageView,
|
|
292
|
+
I as usePrevious,
|
|
293
|
+
So as useRecurringTransactionsStore,
|
|
294
|
+
Jo as useScreenSize,
|
|
295
|
+
vo as useSettingsStore,
|
|
296
|
+
bo as useTransactionStore,
|
|
297
|
+
Oo as useTrendsStore,
|
|
298
|
+
Do as useUserStore,
|
|
299
|
+
Io as useWidgetContainerProvider,
|
|
300
|
+
sr as useWidgetHeaderStyles,
|
|
301
|
+
re as useWidgetLoadTimer
|
|
311
302
|
};
|
|
@@ -1,33 +1,19 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PaletteMode, Theme } from '@mui/material';
|
|
2
|
+
import { Customizations } from '@mxenabled/mxui';
|
|
2
3
|
import { ClientStyleProfile } from '../../core';
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
|
|
6
|
-
typography: {
|
|
7
|
-
[k: string]: string | {
|
|
8
|
-
fontFamily: string | undefined;
|
|
9
|
-
} | undefined;
|
|
10
|
-
};
|
|
11
|
-
palette: {
|
|
12
|
-
[k: string]: PaletteColor | {
|
|
13
|
-
lighter: string;
|
|
14
|
-
light: string;
|
|
15
|
-
main: string;
|
|
16
|
-
dark: string;
|
|
17
|
-
darker: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
4
|
+
export declare const getClientCustomizations: (clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Customizations;
|
|
5
|
+
export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile) => {
|
|
20
6
|
components: {
|
|
21
|
-
|
|
7
|
+
MuiCard?: {
|
|
22
8
|
styleOverrides: {
|
|
23
|
-
|
|
9
|
+
root: {
|
|
24
10
|
borderRadius: string;
|
|
25
11
|
};
|
|
26
12
|
};
|
|
27
13
|
} | undefined;
|
|
28
|
-
|
|
14
|
+
MuiPaper?: {
|
|
29
15
|
styleOverrides: {
|
|
30
|
-
|
|
16
|
+
rounded: {
|
|
31
17
|
borderRadius: string;
|
|
32
18
|
};
|
|
33
19
|
};
|
|
@@ -67,7 +53,7 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
67
53
|
MuiPickersCalendarHeader: {
|
|
68
54
|
styleOverrides: {
|
|
69
55
|
switchViewButton: {
|
|
70
|
-
color:
|
|
56
|
+
color: any;
|
|
71
57
|
'&:hover': {
|
|
72
58
|
backgroundColor: string;
|
|
73
59
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { analyticsSession } from './Analytics';
|
|
2
|
-
export {
|
|
2
|
+
export { getClientCustomizations, getClientTheme } from './Theme';
|
|
@@ -48,7 +48,21 @@ export interface MasterConfig {
|
|
|
48
48
|
ui_message_webview_url_scheme?: string;
|
|
49
49
|
}
|
|
50
50
|
export interface StyleConfig {
|
|
51
|
+
background_color?: string;
|
|
52
|
+
corner_radius?: number;
|
|
53
|
+
error_color?: string;
|
|
51
54
|
font_name?: string;
|
|
55
|
+
header_font_name?: string;
|
|
56
|
+
info_color?: string;
|
|
57
|
+
neutral_color?: string;
|
|
58
|
+
paper_color?: string;
|
|
59
|
+
primary_color?: string;
|
|
60
|
+
secondary_color?: string;
|
|
61
|
+
success_color?: string;
|
|
62
|
+
use_body_font_url?: boolean;
|
|
63
|
+
use_glass?: boolean;
|
|
64
|
+
use_header_font_url?: boolean;
|
|
65
|
+
warning_color?: string;
|
|
52
66
|
}
|
|
53
67
|
export interface DeepLinkParams {
|
|
54
68
|
account_guids?: string[];
|
|
@@ -96,23 +96,30 @@ export interface ClientInsightProfile {
|
|
|
96
96
|
is_recurring_transactions_manager_enabled: boolean;
|
|
97
97
|
}
|
|
98
98
|
export interface ClientStyleProfile {
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
99
|
+
background_color?: string;
|
|
100
|
+
body_font_name?: string;
|
|
101
|
+
body_font_url?: string;
|
|
102
|
+
button_corner_radius?: number;
|
|
103
|
+
card_corner_radius?: number;
|
|
104
104
|
error_color?: string;
|
|
105
|
-
|
|
105
|
+
error_color_dark?: string;
|
|
106
|
+
header_font_name?: string;
|
|
107
|
+
header_font_url?: string;
|
|
106
108
|
info_color?: string;
|
|
109
|
+
info_color_dark?: string;
|
|
110
|
+
mode?: 'dark' | 'light' | 'browser';
|
|
111
|
+
neutral_color?: string;
|
|
112
|
+
neutral_color_dark?: string;
|
|
113
|
+
paper_color?: string;
|
|
114
|
+
primary_color?: string;
|
|
107
115
|
primary_color_dark?: string;
|
|
116
|
+
primary_font_regular?: string;
|
|
117
|
+
secondary_color?: string;
|
|
108
118
|
secondary_color_dark?: string;
|
|
109
|
-
|
|
119
|
+
success_color?: string;
|
|
110
120
|
success_color_dark?: string;
|
|
111
|
-
error_color_dark?: string;
|
|
112
|
-
warning_color_dark?: string;
|
|
113
|
-
info_color_dark?: string;
|
|
114
|
-
mode?: 'dark' | 'light' | 'browser';
|
|
115
121
|
system_font?: string;
|
|
116
|
-
|
|
117
|
-
|
|
122
|
+
use_glass?: boolean;
|
|
123
|
+
warning_color?: string;
|
|
124
|
+
warning_color_dark?: string;
|
|
118
125
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export type { Account, DetailedAccount, Member, MonthlyAccountBalance } from './Account';
|
|
2
2
|
export { AccountIcon, AccountIconVariants, AccountSubType, AccountType, AccountTypeName, ConnectionStatus, ConnectionStatusEnums, ErrorStatuses, MfaStatuses, NonConnectedStatuses, ProcessingStatuses, PropertyType, PropertyTypeName, StatusName, } from './Account';
|
|
3
3
|
export type { AnalyticsEvent, AnalyticsPageview, BasicAnalyticsEvent, BasicAnalyticsPageview, AnalyticsSession, AnalyticEventFunction, AnalyticPageviewFunction, AnalyticsSessionInstance, } from './Analytics';
|
|
4
|
-
export type { AppConfig, AppData, Banner, ClientConfig, Config, Options } from './AppData';
|
|
4
|
+
export type { AppConfig, AppData, Banner, ClientConfig, Config, Options, StyleConfig } from './AppData';
|
|
5
5
|
export type { Beat, DataSeries } from './Beat';
|
|
6
6
|
export { UserVerification } from './Beat';
|
|
7
7
|
export type { Budget, BudgetColors, DetailedBudget, MerchantBudget } from './Budget';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mx-cartographer/experiences",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.7-alpha.al1",
|
|
4
4
|
"description": "Library containing experience widgets",
|
|
5
5
|
"author": "MX",
|
|
6
6
|
"license": "MIT",
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
"@mui/x-date-pickers-pro": "^7.29.4",
|
|
201
201
|
"@mxenabled/cssinjs": "^0.6.0",
|
|
202
202
|
"@mxenabled/mx-icons": "^2",
|
|
203
|
-
"@mxenabled/mxui": "2.5.
|
|
203
|
+
"@mxenabled/mxui": "2.5.4-alpha.al0",
|
|
204
204
|
"@mxenabled/web-widget-sdk": "^0.0.15",
|
|
205
205
|
"@tanstack/react-virtual": "^3.13.24",
|
|
206
206
|
"bowser": "^2.14.1",
|