@m4l/layouts 0.1.53 → 0.1.54
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
CHANGED
|
@@ -5,7 +5,7 @@ import { B } from "./components/BaseModule/index.8ff0193e.js";
|
|
|
5
5
|
import { a, A } from "./contexts/AuthContext/index.6f966215.js";
|
|
6
6
|
import { a as a2, d, g } from "./layouts/ModuleLayout/index.e7218171.js";
|
|
7
7
|
import { a as a3, d as d2, g as g2 } from "./layouts/MasterDetailLayout/index.748f7ada.js";
|
|
8
|
-
import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.
|
|
8
|
+
import { N, d as d3, g as g3 } from "./layouts/NoAuthModuleLayout/index.1da3bcd4.js";
|
|
9
9
|
import { u } from "./hooks/useMasterDetail/index.d45f2a86.js";
|
|
10
10
|
import { u as u2 } from "./hooks/useAuth/index.cb6a3420.js";
|
|
11
11
|
import { u as u3 } from "./hooks/useModule/index.b5f598b1.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useResponsiveDesktop, useLocales } from "@m4l/graphics";
|
|
1
|
+
import { useResponsiveDesktop, useLocales, ResponsiveContainerProvider } from "@m4l/graphics";
|
|
2
2
|
import { LanguagePopover, IconButton, Image, Typography, Stack, ScrollBar, HelmetPage } from "@m4l/components";
|
|
3
3
|
import { styled } from "@mui/material";
|
|
4
4
|
import { useBase, useModuleDictionary, useDomain, useEnvironment, BaseProvider, FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider } from "@m4l/core";
|
|
@@ -382,7 +382,8 @@ const NoAuthModuleLayout = (props) => {
|
|
|
382
382
|
companyLogoSmallUrl,
|
|
383
383
|
companyLogoNormalUrl,
|
|
384
384
|
moduleIlustrationUrl,
|
|
385
|
-
handleSetting
|
|
385
|
+
handleSetting,
|
|
386
|
+
observedDivRef
|
|
386
387
|
} = props;
|
|
387
388
|
const {
|
|
388
389
|
host_static_assets,
|
|
@@ -414,7 +415,10 @@ const NoAuthModuleLayout = (props) => {
|
|
|
414
415
|
currentLang: localeString,
|
|
415
416
|
children: /* @__PURE__ */ jsx(ModuleSkeletonProvider, {
|
|
416
417
|
flags: finalSkeletonFlags,
|
|
417
|
-
children: /* @__PURE__ */ jsx(
|
|
418
|
+
children: /* @__PURE__ */ jsx(ResponsiveContainerProvider, {
|
|
419
|
+
observedDivRef,
|
|
420
|
+
children: /* @__PURE__ */ jsx(InnerModule, {})
|
|
421
|
+
})
|
|
418
422
|
})
|
|
419
423
|
})
|
|
420
424
|
})
|