@m4l/components 4.1.1 → 4.1.2
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/index.js +1 -1
- package/package.json +1 -1
- package/{vendor-tlD-fre6.js → vendor-frAXUcQ5.js} +11 -11
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r, Y, bN, aQ, aS, aT, aR, aP, A, bL, bT, c3, j, o, n, k, Z, a1, bY, an, _, $, a9, aa, a0, aE, aG, aF, aI, aD, aC, aH, aJ, aB, bf, av, w, D, ap, aW, aL, b_, bZ, aM, bg, bi, aY, bU, bC, aN, b5, ab, I, b8, ac, t, b6, a2, b7, a3, b9, a4, bp, L, bX, br, ba, bc, bb, be, b$, a5, c5, bj, c4, M, c, b, bt, N, bw, bA, a6, bz, bB, ax, as, ad, bR, bQ, bS, ay, b4, P, bD, R, z, Q, K, C, E, G, J, F, U, V, X, c0, bE, aZ, bF, S, bW, bK, bG, ae, a8, ag, ai, ah, af, T, bH, bJ, al, am, aj, bV, ak, aq, bo, bn, l, W, a$, a_, b0, m, bI, aV, bm, bv, by, aX, aO, bO, bM, s, x, aU, a, aK, c1, au, ao, aw, at, az, aA, g, bq, bs, bl, bk, bu, bx, a7, H, B, y, O, ar, c9, b2, b1, c2, cc, u, c6, ca, cb, bd, bh, c7, bP, q, c8, p, d, e, v, h, i, f, b3 } from "./vendor-
|
|
1
|
+
import { r, Y, bN, aQ, aS, aT, aR, aP, A, bL, bT, c3, j, o, n, k, Z, a1, bY, an, _, $, a9, aa, a0, aE, aG, aF, aI, aD, aC, aH, aJ, aB, bf, av, w, D, ap, aW, aL, b_, bZ, aM, bg, bi, aY, bU, bC, aN, b5, ab, I, b8, ac, t, b6, a2, b7, a3, b9, a4, bp, L, bX, br, ba, bc, bb, be, b$, a5, c5, bj, c4, M, c, b, bt, N, bw, bA, a6, bz, bB, ax, as, ad, bR, bQ, bS, ay, b4, P, bD, R, z, Q, K, C, E, G, J, F, U, V, X, c0, bE, aZ, bF, S, bW, bK, bG, ae, a8, ag, ai, ah, af, T, bH, bJ, al, am, aj, bV, ak, aq, bo, bn, l, W, a$, a_, b0, m, bI, aV, bm, bv, by, aX, aO, bO, bM, s, x, aU, a, aK, c1, au, ao, aw, at, az, aA, g, bq, bs, bl, bk, bu, bx, a7, H, B, y, O, ar, c9, b2, b1, c2, cc, u, c6, ca, cb, bd, bh, c7, bP, q, c8, p, d, e, v, h, i, f, b3 } from "./vendor-frAXUcQ5.js";
|
|
2
2
|
export {
|
|
3
3
|
r as AREAS_DICTIONARY_ID,
|
|
4
4
|
Y as Accordion,
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
14
14
|
import { useForm, FormProvider, useFormContext, Controller, useWatch, useFormState, useController } from "react-hook-form";
|
|
15
15
|
import { createStore, useStore } from "zustand";
|
|
16
16
|
import { shallow } from "zustand/shallow";
|
|
17
|
-
import { useResponsiveDesktop, useFirstRender, useResizeObserver, useResponsiveContainerStore, useIsMobile, useFormatter, useHostTheme, useLocales,
|
|
17
|
+
import { useResponsiveDesktop, useFirstRender, useResizeObserver, useResponsiveContainerStore, useIsMobile, useFormatter, useHostTheme, useLocales, HostThemeProvider, FormatterProvider, LocalesProvider, getLocaleFromNetwork, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
18
18
|
import isString from "lodash/isString";
|
|
19
19
|
import { useDropzone } from "react-dropzone";
|
|
20
20
|
import * as Yup from "yup";
|
|
@@ -10661,8 +10661,9 @@ const toastStyles = {
|
|
|
10661
10661
|
margin: "0",
|
|
10662
10662
|
padding: "0",
|
|
10663
10663
|
backgroundColor: theme.vars.palette.background.default,
|
|
10664
|
-
boxShadow: theme.customShadows?.
|
|
10664
|
+
boxShadow: theme.customShadows?.z4,
|
|
10665
10665
|
borderRadius: "4px",
|
|
10666
|
+
border: `1px solid ${theme.vars.palette.border.primary}`,
|
|
10666
10667
|
[theme.breakpoints.down(480)]: {
|
|
10667
10668
|
margin: "1%",
|
|
10668
10669
|
width: "98% !important"
|
|
@@ -10706,12 +10707,12 @@ const toastStyles = {
|
|
|
10706
10707
|
"& .Toastify__progress-bar--warning": {},
|
|
10707
10708
|
"& .Toastify__progress-bar--error": {}
|
|
10708
10709
|
}),
|
|
10709
|
-
messageRoot: {
|
|
10710
|
+
messageRoot: ({ ownerState }) => ({
|
|
10710
10711
|
display: "flex",
|
|
10711
10712
|
flexDirection: "column",
|
|
10712
10713
|
width: "100%",
|
|
10713
|
-
padding: "4px"
|
|
10714
|
-
},
|
|
10714
|
+
padding: ownerState.hasDescription ? "4px" : "8px"
|
|
10715
|
+
}),
|
|
10715
10716
|
messageHeader: {
|
|
10716
10717
|
width: "100%",
|
|
10717
10718
|
display: "flex",
|
|
@@ -10734,15 +10735,14 @@ const toastStyles = {
|
|
|
10734
10735
|
messageTitle: ({ theme }) => ({
|
|
10735
10736
|
flex: 1,
|
|
10736
10737
|
paddingLeft: "4px",
|
|
10737
|
-
...theme.
|
|
10738
|
-
fontWeight: theme.
|
|
10738
|
+
...theme.typography.bodyDens,
|
|
10739
|
+
fontWeight: theme.typography.fontWeightMedium,
|
|
10739
10740
|
color: theme.vars.palette.text.primary
|
|
10740
10741
|
}),
|
|
10741
10742
|
messageDescription: ({ theme }) => ({
|
|
10742
|
-
...theme.
|
|
10743
|
-
fontWeight: theme.colorSchemes.finalTheme.typography.fontWeightRegular,
|
|
10743
|
+
...theme.typography.body,
|
|
10744
10744
|
color: theme.vars.palette.text.primary,
|
|
10745
|
-
padding: "
|
|
10745
|
+
padding: "4px 4px 4px 30px"
|
|
10746
10746
|
}),
|
|
10747
10747
|
messageCloseButton: {
|
|
10748
10748
|
border: "none",
|
|
@@ -24365,7 +24365,7 @@ const SectionCommercial = (props) => {
|
|
|
24365
24365
|
function MFAuthApp(props) {
|
|
24366
24366
|
const { children, user, pwd } = props;
|
|
24367
24367
|
const { isAuthenticated, isInitialized, login, user: authUser } = useAuth();
|
|
24368
|
-
const isMobile =
|
|
24368
|
+
const isMobile = useIsMobile();
|
|
24369
24369
|
useEffect(() => {
|
|
24370
24370
|
if (isInitialized && isAuthenticated === false) {
|
|
24371
24371
|
login(user, pwd, false);
|