@m4l/layouts 9.4.0 → 9.4.1-beta-feature-701-create-extended-library.0

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.
@@ -1 +1 @@
1
- {"version":3,"file":"useModuleDatailTabs.d.ts","sourceRoot":"","sources":["../../../../../../packages/layouts/src/components/ModuleDetailTabs/useModuleDatailTabs.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,qBAAqB,EAAmB,MAAM,SAAS,CAAC;AAGjE;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnD,KAAK,EAAE,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAeC,MAAM;;EAyI1C"}
1
+ {"version":3,"file":"useModuleDatailTabs.d.ts","sourceRoot":"","sources":["../../../../../../packages/layouts/src/components/ModuleDetailTabs/useModuleDatailTabs.tsx"],"names":[],"mappings":"AAKA,OAAO,EAAE,qBAAqB,EAAmB,MAAM,SAAS,CAAC;AAGjE;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnD,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EACnD,KAAK,EAAE,qBAAqB,CAAC,CAAC,EAAE,CAAC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gCAeC,MAAM;;EAyI1C"}
@@ -2,16 +2,17 @@ import { jsx as S } from "@emotion/react/jsx-runtime";
2
2
  import { useState as r, useCallback as L, useMemo as O, useEffect as m } from "react";
3
3
  import { useMasterDetail as k } from "../../hooks/useMasterDetail/index.js";
4
4
  import { useModuleDictionary as w, useNetwork as N } from "@m4l/core";
5
- import { useWindowToolsMF as $, ObjectLogs as A, Icon as F } from "@m4l/components";
6
- function B(I) {
7
- const { tabs: b, defaultTab: i, urlAssetsPrefix: p, objectLogsProps: s, getEndPoint: c } = I, [u, l] = r(i), [d, P] = r(void 0), [f, C] = r(void 0), [j, g] = r(!0), [_, h] = r(0), { masterSelection: e } = k(), { getLabel: v } = w(), { startProgress: T, stopProgress: y } = $(), { networkOperation: D } = N(), x = (o) => {
5
+ import { useWindowToolsMF as $, ObjectLogs as A } from "@m4l/components";
6
+ import { Icon as F } from "@m4l/base";
7
+ function G(I) {
8
+ const { tabs: p, defaultTab: i, urlAssetsPrefix: b, objectLogsProps: s, getEndPoint: c } = I, [u, l] = r(i), [d, P] = r(void 0), [f, C] = r(void 0), [j, g] = r(!0), [_, h] = r(0), { masterSelection: e } = k(), { getLabel: v } = w(), { startProgress: T, stopProgress: y } = $(), { networkOperation: D } = N(), x = (o) => {
8
9
  l(o);
9
10
  }, E = L(() => {
10
11
  h((o) => o + 1);
11
12
  }, [h]), n = O(() => {
12
13
  if (e === void 0 || e.length === 0)
13
14
  return [];
14
- const o = [...b];
15
+ const o = [...p];
15
16
  if (s) {
16
17
  const t = {
17
18
  ...s.type === "other" ? {
@@ -36,10 +37,10 @@ function B(I) {
36
37
  return o.map((t) => ({
37
38
  ...t,
38
39
  unmountable: t.unmountable === void 0 ? !0 : t.unmountable,
39
- icon: typeof t.icon == "string" ? /* @__PURE__ */ S(F, { src: `${p}${t.icon}` }) : t.icon,
40
+ icon: typeof t.icon == "string" ? /* @__PURE__ */ S(F, { src: `${b}${t.icon}` }) : t.icon,
40
41
  label: t.dictionaryId ? v(t.dictionaryId) : void 0
41
42
  })).filter((t) => t.visibilityCondition ? t.visibilityCondition(d, f) : !0);
42
- }, [e, b, s, p, v, d, f]);
43
+ }, [e, p, s, b, v, d, f]);
43
44
  m(() => {
44
45
  e === void 0 || e.length === 0 || P(e[0]);
45
46
  }, [e]), m(() => {
@@ -75,5 +76,5 @@ function B(I) {
75
76
  };
76
77
  }
77
78
  export {
78
- B as useModuleDetailTabs
79
+ G as useModuleDetailTabs
79
80
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/layouts/src/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/BaseContent/index.tsx"],"names":[],"mappings":"AAeA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,qDAoElD,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../../../packages/layouts/src/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/BaseContent/index.tsx"],"names":[],"mappings":"AAgBA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAG3C;;GAEG;AACH,eAAO,MAAM,WAAW,GAAI,OAAO,gBAAgB,qDAoElD,CAAC"}
@@ -1,15 +1,16 @@
1
1
  import { jsxs as t, Fragment as C, jsx as e } from "@emotion/react/jsx-runtime";
2
- import { useComponentSize as _, LanguagePopover as v, IconButton as L, Typography as s, Stack as k } from "@m4l/components";
3
- import { DesktopBackgroundStyled as f, WrapperFormContentStyled as O, HeaderContainerStyled as U, ButtonHomeNavigationStyled as b, ContainerLanguageAndSettingsStyled as N, ContainerCompanyLogoStyled as A, ImageComponayLogoStyled as I, FormContentStyled as T, ContainerModuleNameStyled as B } from "../../../../slots/NoAuthModuleLayoutSlots.js";
2
+ import { useComponentSize as _, LanguagePopover as v, IconButton as L, Stack as f } from "@m4l/components";
3
+ import { Typography as s } from "@m4l/base";
4
+ import { DesktopBackgroundStyled as k, WrapperFormContentStyled as O, HeaderContainerStyled as U, ButtonHomeNavigationStyled as b, ContainerLanguageAndSettingsStyled as N, ContainerCompanyLogoStyled as A, ImageComponayLogoStyled as I, FormContentStyled as T, ContainerModuleNameStyled as B } from "../../../../slots/NoAuthModuleLayoutSlots.js";
4
5
  import { useLocation as $, useNavigate as x } from "react-router-dom";
5
6
  import { useEnvironment as D, useBase as E, useModuleDictionary as H } from "@m4l/core";
6
7
  import { NO_AUTH_MODULE_LAYOUT_CLASSES as M, NOT_AUTH_MODULE_LAYOUT_ICONS as l, DICTIONARY_KEYS as Y } from "../../../../constants.js";
7
- const K = (c) => {
8
+ const R = (c) => {
8
9
  const { children: m, backgroundLoginUrl: d } = c, { host_static_assets: n, environment_assets: r } = D(), { currentSize: h } = _(), u = $(), { handleSetting: g, companyLogoUrl: p, footerComponent: a, homePath: i } = E(), S = x(), y = {
9
10
  size: h
10
11
  }, { getLabel: o } = H();
11
12
  return /* @__PURE__ */ t(C, { children: [
12
- /* @__PURE__ */ e(f, { enableIntersectionObserver: !1, src: d, className: M.desktopBackground }),
13
+ /* @__PURE__ */ e(k, { enableIntersectionObserver: !1, src: d, className: M.desktopBackground }),
13
14
  /* @__PURE__ */ t(O, { children: [
14
15
  /* @__PURE__ */ t(U, { children: [
15
16
  u.pathname !== i && /* @__PURE__ */ e(
@@ -51,12 +52,12 @@ const K = (c) => {
51
52
  }
52
53
  )
53
54
  ] }),
54
- /* @__PURE__ */ e(k, { direction: "column", height: "auto", style: { overflow: "auto", position: "relative" }, children: m })
55
+ /* @__PURE__ */ e(f, { direction: "column", height: "auto", style: { overflow: "auto", position: "relative" }, children: m })
55
56
  ] }),
56
57
  a && a
57
58
  ] })
58
59
  ] });
59
60
  };
60
61
  export {
61
- K as BaseContent
62
+ R as BaseContent
62
63
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@m4l/layouts",
3
- "version": "9.4.0",
3
+ "version": "9.4.1-beta-feature-701-create-extended-library.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },