@mx-cartographer/experiences 9.0.8-alpha.al0 → 9.0.8
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 +6 -2
- package/dist/{AccountDetailsDrawer-C8oJP3J4.mjs → AccountDetailsDrawer-DEk4STDa.mjs} +4 -4
- package/dist/{CategorySelectorDrawer-BArJC27L.mjs → CategorySelectorDrawer-NJsFsKP1.mjs} +1 -1
- package/dist/{ConnectCard-Dwfgv24k.mjs → ConnectCard-D7uxoH5Y.mjs} +1 -1
- package/dist/{ConnectDrawer-DytyIhaF.mjs → ConnectDrawer-CW4LA3H3.mjs} +1 -1
- package/dist/{ConnectionsDrawer-BHJPKXYF.mjs → ConnectionsDrawer-CZU9ku-k.mjs} +1 -1
- package/dist/{Drawer-BXqqBMxg.mjs → Drawer-DsnW2o0v.mjs} +19 -19
- package/dist/{EmbeddedCard-CQpbZrmP.mjs → EmbeddedCard-BxgB26dd.mjs} +1 -1
- package/dist/{ExportCsvAction-bovG-NJr.mjs → ExportCsvAction-BV69DnpC.mjs} +1 -1
- package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +229 -0
- package/dist/{Help-5klKVqkX.mjs → Help-BMCejaQr.mjs} +1 -1
- package/dist/{ManageIncome-Cz6hvpdA.mjs → ManageIncome-Bak38F25.mjs} +4 -4
- package/dist/{NotificationSettings-Ci89BBRI.mjs → NotificationSettings-CW7okUrk.mjs} +1 -1
- package/dist/{RecurringSettings-ClYjsmPz.mjs → RecurringSettings--7poMYYz.mjs} +1 -1
- package/dist/{TransactionDetails-DRN0GIaZ.mjs → TransactionDetails-DwSNzM4U.mjs} +3 -3
- package/dist/{WidgetContainer-D-LzIKFb.mjs → WidgetContainer-DJnp6t6c.mjs} +3 -3
- package/dist/accounts/index.es.js +5 -5
- package/dist/budgets/index.es.js +7 -7
- package/dist/cashflow/index.es.js +6 -6
- package/dist/categories/index.es.js +1 -1
- package/dist/common/index.es.js +223 -247
- package/dist/common/utils/Theme.d.ts +9 -12
- package/dist/core/types/AppData.d.ts +0 -14
- package/dist/core/types/Client.d.ts +13 -20
- package/dist/core/types/index.d.ts +1 -1
- package/dist/dashboard/index.es.js +2 -2
- package/dist/debts/index.es.js +3 -3
- package/dist/finstrong/index.es.js +7 -7
- package/dist/goals/index.es.js +3 -3
- package/dist/help/index.es.js +2 -2
- package/dist/insights/index.es.js +3 -3
- package/dist/investments/index.es.js +3 -3
- package/dist/networth/index.es.js +3 -3
- package/dist/notifications/index.es.js +2 -2
- package/dist/recurringtransactions/index.es.js +6 -6
- package/dist/settings/index.es.js +6 -6
- package/dist/spending/index.es.js +4 -4
- package/dist/transactions/index.es.js +9 -9
- package/dist/trends/index.es.js +6 -6
- package/package.json +2 -2
- package/dist/GlobalAccountFilter-CYqzqmAd.mjs +0 -237
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 o =
|
|
49
|
-
return
|
|
1
|
+
import { l as Y } from "../UserStore-DzWku3t0.mjs";
|
|
2
|
+
import { b as $, a as H } from "../Localization-DnoVyBNK.mjs";
|
|
3
|
+
import { f as j, b as V, a as K, c as Z, g as J, d as X } from "../NumberFormatting--XMeeBfr.mjs";
|
|
4
|
+
import { C as rr, a as er, b as or } from "../CurrencyDialog-DumQCTPO.mjs";
|
|
5
|
+
import { C as ar } from "../CurrencyInput-DaGEQaLW.mjs";
|
|
6
|
+
import { D as nr, S as ir } from "../Select-CSpkK5cR.mjs";
|
|
7
|
+
import { D as lr, W as mr, u as dr } from "../WidgetContainer-DJnp6t6c.mjs";
|
|
8
|
+
import { D as fr } from "../Dialog-Bvd2n8hz.mjs";
|
|
9
|
+
import { D as yr } from "../Donut-SzzfZDHF.mjs";
|
|
10
|
+
import { D as xr } from "../Drawer-DsnW2o0v.mjs";
|
|
11
|
+
import { E as hr } from "../ErrorBoundary-CsdOcnJ9.mjs";
|
|
12
|
+
import { I as Cr } from "../IconBacking-DgT8DCeh.mjs";
|
|
13
|
+
import { I as vr } from "../InformationTooltip-4su8bn1e.mjs";
|
|
14
|
+
import { L as br } from "../Loader-CxeBwuPG.mjs";
|
|
15
|
+
import { M as Dr } from "../MicroWidgetContainer-B2NnKBgW.mjs";
|
|
16
|
+
import { M as Ir } from "../MiniWidgetContainer-Bmv_WeUd.mjs";
|
|
17
|
+
import { jsxs as g, jsx as y } from "react/jsx-runtime";
|
|
18
|
+
import { css as C } from "@mxenabled/cssinjs";
|
|
19
|
+
import { D as _, a as v } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
20
|
+
import { S as Mr } from "../SingleSegmentDonut-7Uy6VEld.mjs";
|
|
21
|
+
import { R as wr } from "../ResponsiveButton-CC9F_Ezk.mjs";
|
|
22
|
+
import { S as Lr } from "../SelectionBox-B4xELRgp.mjs";
|
|
23
|
+
import { S as Ur } from "../StatusBar-CPfSXe80.mjs";
|
|
24
|
+
import { I as Br, P as Rr, S as qr, T as Yr } from "../TabContentContainer-B0eYJP5p.mjs";
|
|
25
|
+
import { A as $r } from "../Analytics-WeZYytR0.mjs";
|
|
26
|
+
import { C as Qr } from "../ConnectCard-D7uxoH5Y.mjs";
|
|
27
|
+
import { C as Vr } from "../ConnectDrawer-CW4LA3H3.mjs";
|
|
28
|
+
import { C as Zr } from "../CurrencyText-CCbE6MmF.mjs";
|
|
29
|
+
import { E as Xr } from "../EmptyState-CJUDc3kD.mjs";
|
|
30
|
+
import { E as re } from "../Error-Dtw6yxkf.mjs";
|
|
31
|
+
import { G as oe } from "../GlobalAccountFilter-BhzR5Vb1.mjs";
|
|
32
|
+
import { G as ae, m as se, n as ne, W as ie, c as ue, i as le, o as me, p as de, l as ce, q as fe, r as pe, f as ye, s as ge, u as xe, e as Ee, a as he, k as Se, t as Ce, v as _e, w as ve, b as ke, x as be, y as Oe, z as De, h as Te, A as Ie, g as Ae, B as Me, C as Pe, D as we } from "../hooks-97sNJ_lf.mjs";
|
|
33
|
+
import { L as Le } from "../ListItemAction-BqUCLj_w.mjs";
|
|
34
|
+
import { L as Ue } from "../ListItemRow-kH1rn8Xu.mjs";
|
|
35
|
+
import { L as Be } from "../ListItemWrapper-BHIbqx7E.mjs";
|
|
36
|
+
import { S as qe } from "../SearchBox-Cpgu_gdO.mjs";
|
|
37
|
+
import { S as Fe, T as $e } from "../Sizes-DISGrlUg.mjs";
|
|
38
|
+
import { T as Qe, a as je } from "../ToggleListItem-Dl1lXNwj.mjs";
|
|
39
|
+
import { a as Ke, u as Ze, b as Je } from "../Analytics-CkYXKvco.mjs";
|
|
40
|
+
import { alpha as k, darken as x, lighten as E } from "@mui/material";
|
|
41
|
+
import { u as ze } from "../useAccountDisplayName-BsiXA0qf.mjs";
|
|
42
|
+
import { u as eo } from "../useInsightsEnabled-D5Sdm0TJ.mjs";
|
|
43
|
+
import { useRef as b, useEffect as O } from "react";
|
|
44
|
+
import { u as to } from "../useScreenSize-mWpmnh5w.mjs";
|
|
45
|
+
import { u as so } from "../useWidgetLoadTimer-B0tB-yzL.mjs";
|
|
46
|
+
var i = /* @__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))(i || {});
|
|
47
|
+
const N = (r) => {
|
|
48
|
+
const o = b(null);
|
|
49
|
+
return O(() => {
|
|
50
50
|
o.current = r;
|
|
51
51
|
}, [r]), o.current;
|
|
52
|
-
},
|
|
53
|
-
{ id:
|
|
54
|
-
{ id:
|
|
55
|
-
{ id:
|
|
56
|
-
{ id:
|
|
57
|
-
{ id:
|
|
58
|
-
{ id:
|
|
59
|
-
{ id:
|
|
60
|
-
{ id:
|
|
61
|
-
],
|
|
52
|
+
}, L = [
|
|
53
|
+
{ id: i.Unknown, copy: "frequency_unknown" },
|
|
54
|
+
{ id: i.EveryWeek, copy: "frequency_every_week" },
|
|
55
|
+
{ id: i.EveryOtherWeek, copy: "frequency_every_other_week" },
|
|
56
|
+
{ id: i.EveryMonth, copy: "frequency_every_month" },
|
|
57
|
+
{ id: i.EveryOtherMonth, copy: "frequency_every_other_month" },
|
|
58
|
+
{ id: i.EveryQuarter, copy: "frequency_every_quarter" },
|
|
59
|
+
{ id: i.EveryOtherQuarter, copy: "frequency_every_other_quarter" },
|
|
60
|
+
{ id: i.EveryYear, copy: "frequency_every_year" }
|
|
61
|
+
], W = {
|
|
62
62
|
ERROR: "ERROR",
|
|
63
63
|
LOADING: "LOADING",
|
|
64
64
|
SUCCESS: "SUCCESS"
|
|
65
|
-
},
|
|
65
|
+
}, U = ({
|
|
66
66
|
hasGap: r = !1,
|
|
67
67
|
segments: o,
|
|
68
|
-
size:
|
|
69
|
-
strokeWidth:
|
|
70
|
-
children:
|
|
68
|
+
size: n = _,
|
|
69
|
+
strokeWidth: u = v,
|
|
70
|
+
children: m
|
|
71
71
|
}) => {
|
|
72
|
-
const
|
|
73
|
-
let
|
|
74
|
-
return /* @__PURE__ */
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
-
/* @__PURE__ */
|
|
72
|
+
const d = D(n), t = (n - u) / 2, a = n / 2;
|
|
73
|
+
let c = -90 - (r ? 1 : 0), s = 0;
|
|
74
|
+
return /* @__PURE__ */ g("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
|
|
75
|
+
/* @__PURE__ */ g("svg", { height: n, width: n, children: [
|
|
76
|
+
/* @__PURE__ */ y(
|
|
77
77
|
"circle",
|
|
78
78
|
{
|
|
79
|
-
cx:
|
|
80
|
-
cy:
|
|
79
|
+
cx: a,
|
|
80
|
+
cy: a,
|
|
81
81
|
fill: "none",
|
|
82
|
-
r:
|
|
82
|
+
r: t,
|
|
83
83
|
stroke: "#E4E8EE",
|
|
84
|
-
strokeWidth:
|
|
84
|
+
strokeWidth: u
|
|
85
85
|
}
|
|
86
86
|
),
|
|
87
|
-
o.map((
|
|
87
|
+
o.map((l, f) => (c += 360 * s + (r ? 1 : 0), s = (l.percent - (r ? 0.3 : 0)) / 100, /* @__PURE__ */ y(
|
|
88
88
|
"circle",
|
|
89
89
|
{
|
|
90
|
-
cx:
|
|
91
|
-
cy:
|
|
90
|
+
cx: a,
|
|
91
|
+
cy: a,
|
|
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: t,
|
|
94
|
+
stroke: l.color,
|
|
95
|
+
strokeDasharray: 2 * Math.PI * t,
|
|
96
|
+
strokeDashoffset: 2 * Math.PI * t * (1 - s),
|
|
97
|
+
strokeWidth: u,
|
|
98
|
+
transform: `rotate(${c}, ${a}, ${a})`
|
|
99
99
|
},
|
|
100
|
-
|
|
100
|
+
f
|
|
101
101
|
)))
|
|
102
102
|
] }),
|
|
103
|
-
/* @__PURE__ */
|
|
103
|
+
/* @__PURE__ */ y("div", { className: "mx-cmn-multi-segment-donut-children", children: m })
|
|
104
104
|
] });
|
|
105
|
-
},
|
|
105
|
+
}, D = (r) => C({
|
|
106
106
|
height: r,
|
|
107
107
|
marginTop: "-8px",
|
|
108
108
|
position: "relative",
|
|
@@ -114,7 +114,7 @@ const F = (r) => {
|
|
|
114
114
|
top: "50%",
|
|
115
115
|
transform: "translate(-50%, -50%)"
|
|
116
116
|
}
|
|
117
|
-
}),
|
|
117
|
+
}), T = [
|
|
118
118
|
"fontFamily",
|
|
119
119
|
"h1",
|
|
120
120
|
"h2",
|
|
@@ -126,210 +126,186 @@ const F = (r) => {
|
|
|
126
126
|
"subtitle1",
|
|
127
127
|
"subtitle2",
|
|
128
128
|
"tiny"
|
|
129
|
-
],
|
|
129
|
+
], h = [
|
|
130
130
|
{ key: "primary", light: "primary_color", dark: "primary_color_dark" },
|
|
131
131
|
{ key: "secondary", light: "neutral_color", dark: "neutral_color_dark" },
|
|
132
132
|
{ key: "error", light: "error_color", dark: "error_color_dark" },
|
|
133
133
|
{ key: "warning", light: "warning_color", dark: "warning_color_dark" },
|
|
134
134
|
{ key: "info", light: "info_color", dark: "info_color_dark" },
|
|
135
135
|
{ key: "success", light: "success_color", dark: "success_color_dark" }
|
|
136
|
-
],
|
|
137
|
-
|
|
138
|
-
{
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
{ source: "info_color", target: "info" },
|
|
142
|
-
{ source: "success_color", target: "success" },
|
|
143
|
-
{ source: "neutral_color", target: "grey" }
|
|
144
|
-
], L = [
|
|
145
|
-
{ source: "background_color", target: "default" },
|
|
146
|
-
{ source: "paper_color", target: "paper" }
|
|
147
|
-
], $ = (r, o, a) => {
|
|
148
|
-
const m = (t) => r?.[t] || o?.[t], s = {}, c = {};
|
|
149
|
-
for (const { source: t, target: g } of M) {
|
|
150
|
-
const f = m(t);
|
|
151
|
-
f && (c[g] = f);
|
|
136
|
+
], G = (r, o) => {
|
|
137
|
+
const n = o === "dark", u = {};
|
|
138
|
+
for (const { key: m, light: d, dark: t } of h) {
|
|
139
|
+
const a = r?.[n ? t : d];
|
|
140
|
+
a && (u[m] = a);
|
|
152
141
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
return [u, i(C || E, r.palette[u])];
|
|
174
|
-
})
|
|
175
|
-
), p = Object.fromEntries(
|
|
176
|
-
N.map((u) => [
|
|
177
|
-
u,
|
|
178
|
-
u === "fontFamily" ? c : { fontFamily: c }
|
|
142
|
+
return u;
|
|
143
|
+
}, B = (r, o, n) => {
|
|
144
|
+
const u = r.palette.mode === "dark", m = (n?.master?.style?.font_name || o?.system_font) ?? r.typography.fontFamily, d = (e, p) => e ? {
|
|
145
|
+
lighter: E(e, 0.5),
|
|
146
|
+
light: E(e, 0.25),
|
|
147
|
+
main: e,
|
|
148
|
+
dark: x(e, 0.25),
|
|
149
|
+
darker: x(e, 0.5)
|
|
150
|
+
} : p, t = Object.fromEntries(
|
|
151
|
+
h.map(({ key: e, light: p, dark: S }) => [
|
|
152
|
+
e,
|
|
153
|
+
d(
|
|
154
|
+
o?.[u ? S : p],
|
|
155
|
+
r.palette[e]
|
|
156
|
+
)
|
|
157
|
+
])
|
|
158
|
+
), a = Object.fromEntries(
|
|
159
|
+
T.map((e) => [
|
|
160
|
+
e,
|
|
161
|
+
e === "fontFamily" ? m : { fontFamily: m }
|
|
179
162
|
])
|
|
180
|
-
),
|
|
163
|
+
), c = {
|
|
181
164
|
MuiTabs: {
|
|
182
165
|
styleOverrides: {
|
|
183
|
-
indicator: { backgroundColor:
|
|
166
|
+
indicator: { backgroundColor: t.primary.light }
|
|
184
167
|
}
|
|
185
168
|
},
|
|
186
169
|
MuiPickersCalendarHeader: {
|
|
187
170
|
styleOverrides: {
|
|
188
171
|
switchViewButton: {
|
|
189
|
-
color:
|
|
190
|
-
"&:hover": { backgroundColor:
|
|
172
|
+
color: t.primary.lighter,
|
|
173
|
+
"&:hover": { backgroundColor: k(t.primary.light, 0.1) }
|
|
191
174
|
}
|
|
192
175
|
}
|
|
193
176
|
}
|
|
194
|
-
},
|
|
195
|
-
...
|
|
196
|
-
...
|
|
177
|
+
}, s = o?.button_corner_radius, l = o?.card_corner_radius, f = {
|
|
178
|
+
...c,
|
|
179
|
+
...s && {
|
|
197
180
|
MuiButton: {
|
|
198
181
|
styleOverrides: {
|
|
199
|
-
root: { borderRadius: `${
|
|
182
|
+
root: { borderRadius: `${s}px`, textTransform: "none" }
|
|
200
183
|
}
|
|
201
184
|
},
|
|
202
185
|
MuiIconButton: {
|
|
203
186
|
styleOverrides: {
|
|
204
187
|
root: {
|
|
205
|
-
borderRadius: `${
|
|
206
|
-
minWidth:
|
|
207
|
-
minHeight:
|
|
188
|
+
borderRadius: `${s}px`,
|
|
189
|
+
minWidth: s,
|
|
190
|
+
minHeight: s
|
|
208
191
|
}
|
|
209
192
|
}
|
|
210
193
|
},
|
|
211
194
|
MuiToggleButton: {
|
|
212
195
|
styleOverrides: {
|
|
213
|
-
root: { borderRadius: `${
|
|
196
|
+
root: { borderRadius: `${s}px`, textTransform: "none" }
|
|
214
197
|
}
|
|
215
198
|
}
|
|
216
199
|
},
|
|
217
|
-
...
|
|
200
|
+
...l && {
|
|
218
201
|
MuiCard: {
|
|
219
|
-
styleOverrides: { root: { borderRadius: `${
|
|
202
|
+
styleOverrides: { root: { borderRadius: `${l}px` } }
|
|
220
203
|
}
|
|
221
204
|
},
|
|
222
|
-
...
|
|
205
|
+
...l && {
|
|
223
206
|
MuiPaper: {
|
|
224
207
|
styleOverrides: {
|
|
225
|
-
|
|
226
|
-
...g && {
|
|
227
|
-
root: {
|
|
228
|
-
backgroundColor: "rgba(255, 255, 255, 0.1)",
|
|
229
|
-
backdropFilter: "blur(10px)",
|
|
230
|
-
WebkitBackdropFilter: "blur(10px)"
|
|
231
|
-
}
|
|
232
|
-
}
|
|
208
|
+
rounded: { borderRadius: `${l}px` }
|
|
233
209
|
}
|
|
234
210
|
}
|
|
235
211
|
}
|
|
236
212
|
};
|
|
237
|
-
return { typography:
|
|
213
|
+
return { typography: a, palette: t, components: f };
|
|
238
214
|
};
|
|
239
215
|
export {
|
|
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
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
216
|
+
$r as ANALYTICS_EVENTS,
|
|
217
|
+
rr as Calendar,
|
|
218
|
+
er as CalendarSelectionTypes,
|
|
219
|
+
Qr as ConnectCard,
|
|
220
|
+
Vr as ConnectDrawer,
|
|
221
|
+
or as CurrencyDialog,
|
|
222
|
+
ar as CurrencyInput,
|
|
223
|
+
Zr as CurrencyText,
|
|
224
|
+
_ as DEFAULT_DONUT_SIZE,
|
|
225
|
+
v as DEFAULT_STROKE_WIDTH,
|
|
226
|
+
nr as DataRow,
|
|
227
|
+
lr as DateRangeSelector,
|
|
228
|
+
fr as Dialog,
|
|
229
|
+
yr as Donut,
|
|
230
|
+
xr as Drawer,
|
|
231
|
+
Xr as EmptyState,
|
|
232
|
+
re as Error,
|
|
233
|
+
hr as ErrorBoundary,
|
|
234
|
+
oe as GlobalAccountFilter,
|
|
235
|
+
ae as GlobalDataContext,
|
|
236
|
+
se as GlobalDataProvider,
|
|
237
|
+
Y as GlobalStore,
|
|
238
|
+
Br as INCOME_ACCOUNT_TYPES,
|
|
239
|
+
Cr as IconBacking,
|
|
240
|
+
vr as InformationTooltip,
|
|
241
|
+
W as LOADING_STATUS,
|
|
242
|
+
Le as ListItemAction,
|
|
243
|
+
Ue as ListItemRow,
|
|
244
|
+
Be as ListItemWrapper,
|
|
245
|
+
br as Loader,
|
|
246
|
+
Dr as MicroWidgetContainer,
|
|
247
|
+
Ir as MiniWidgetContainer,
|
|
248
|
+
U as MultiSegmentDonut,
|
|
249
|
+
Rr as PAYMENT_ACCOUNT_TYPES,
|
|
250
|
+
L as RECURRENCE_COPY,
|
|
251
|
+
wr as ResponsiveButton,
|
|
252
|
+
qr as SPENDING_ACCOUNT_TYPES,
|
|
253
|
+
qe as SearchBox,
|
|
254
|
+
ir as Select,
|
|
255
|
+
Lr as SelectionBox,
|
|
256
|
+
Mr as SingleSegmentDonut,
|
|
257
|
+
Fe as Sizes,
|
|
258
|
+
Ur as StatusBar,
|
|
259
|
+
$e as TOUCH_TARGET,
|
|
260
|
+
Yr as TabContentContainer,
|
|
261
|
+
Qe as ToggleButtonListItem,
|
|
262
|
+
je as ToggleListItem,
|
|
263
|
+
mr as WidgetContainer,
|
|
264
|
+
ne as WidgetContainerContext,
|
|
265
|
+
ie as WidgetContainerProvider,
|
|
266
|
+
Ke as analyticsSession,
|
|
267
|
+
$ as buildDynamicCopy,
|
|
268
|
+
H as buildPluralCopy,
|
|
269
|
+
j as formatCurrency,
|
|
270
|
+
V as formatOrdinal,
|
|
271
|
+
K as formatPercentage,
|
|
272
|
+
Z as generateEqualIntervals,
|
|
273
|
+
G as getClientPaletteOptions,
|
|
274
|
+
B as getClientTheme,
|
|
275
|
+
J as getCurrencyCodes,
|
|
276
|
+
X as getPluralRules,
|
|
277
|
+
ze as useAccountDisplayName,
|
|
278
|
+
ue as useAccountStore,
|
|
279
|
+
le as useAppConfig,
|
|
280
|
+
me as useBudgetsStore,
|
|
281
|
+
de as useCashflowStore,
|
|
282
|
+
ce as useCategoryStore,
|
|
283
|
+
Ze as useCombineEvents,
|
|
284
|
+
Je as useCombinePageviews,
|
|
285
|
+
fe as useDebtStore,
|
|
286
|
+
pe as useError,
|
|
287
|
+
ye as useEvent,
|
|
288
|
+
ge as useFinstrongStore,
|
|
289
|
+
xe as useGlobalCopyStore,
|
|
290
|
+
Ee as useGlobalStore,
|
|
291
|
+
he as useGlobalUiStore,
|
|
292
|
+
Se as useGoalStore,
|
|
293
|
+
Ce as useHelpStore,
|
|
294
|
+
_e as useHoldingStore,
|
|
295
|
+
eo as useInsightsEnabled,
|
|
296
|
+
ve as useLoad,
|
|
297
|
+
ke as useMerchantStore,
|
|
298
|
+
be as useNetWorthStore,
|
|
299
|
+
Oe as useNotificationStore,
|
|
300
|
+
De as usePageView,
|
|
301
|
+
N as usePrevious,
|
|
302
|
+
Te as useRecurringTransactionsStore,
|
|
303
|
+
to as useScreenSize,
|
|
304
|
+
Ie as useSettingsStore,
|
|
305
|
+
Ae as useTransactionStore,
|
|
306
|
+
Me as useTrendsStore,
|
|
307
|
+
Pe as useUserStore,
|
|
308
|
+
we as useWidgetContainerProvider,
|
|
309
|
+
dr as useWidgetHeaderStyles,
|
|
310
|
+
so as useWidgetLoadTimer
|
|
335
311
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { PaletteColor, PaletteMode, Theme } from '@mui/material';
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
export declare const getClientPaletteOptions: (
|
|
5
|
-
export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile,
|
|
2
|
+
import { ClientStyleProfile } from '../../core';
|
|
3
|
+
import { ClientConfig } from '../../core/types/AppData';
|
|
4
|
+
export declare const getClientPaletteOptions: (clientStyleProfile: ClientStyleProfile, mode: PaletteMode) => Record<string, string>;
|
|
5
|
+
export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientStyleProfile, clientConfig?: ClientConfig) => {
|
|
6
6
|
typography: {
|
|
7
7
|
[k: string]: string | {
|
|
8
8
|
fontFamily: string | undefined;
|
|
@@ -10,22 +10,19 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
10
10
|
};
|
|
11
11
|
palette: {
|
|
12
12
|
[k: string]: PaletteColor | {
|
|
13
|
+
lighter: string;
|
|
13
14
|
light: string;
|
|
14
15
|
main: string;
|
|
15
16
|
dark: string;
|
|
17
|
+
darker: string;
|
|
16
18
|
};
|
|
17
19
|
};
|
|
18
20
|
components: {
|
|
19
21
|
MuiPaper?: {
|
|
20
22
|
styleOverrides: {
|
|
21
|
-
|
|
22
|
-
backgroundColor: string;
|
|
23
|
-
backdropFilter: string;
|
|
24
|
-
WebkitBackdropFilter: string;
|
|
25
|
-
} | undefined;
|
|
26
|
-
rounded?: {
|
|
23
|
+
rounded: {
|
|
27
24
|
borderRadius: string;
|
|
28
|
-
}
|
|
25
|
+
};
|
|
29
26
|
};
|
|
30
27
|
} | undefined;
|
|
31
28
|
MuiCard?: {
|
|
@@ -70,7 +67,7 @@ export declare const getClientTheme: (theme: Theme, clientStyleProfile: ClientSt
|
|
|
70
67
|
MuiPickersCalendarHeader: {
|
|
71
68
|
styleOverrides: {
|
|
72
69
|
switchViewButton: {
|
|
73
|
-
color: string;
|
|
70
|
+
color: string | undefined;
|
|
74
71
|
'&:hover': {
|
|
75
72
|
backgroundColor: string;
|
|
76
73
|
};
|
|
@@ -48,21 +48,7 @@ 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;
|
|
54
51
|
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_font_url?: boolean;
|
|
63
|
-
use_glass?: boolean;
|
|
64
|
-
use_header_font_url?: boolean;
|
|
65
|
-
warning_color?: string;
|
|
66
52
|
}
|
|
67
53
|
export interface DeepLinkParams {
|
|
68
54
|
account_guids?: string[];
|