@m4l/layouts 9.3.4-J25062025.beta.1 → 9.3.5-B07072025beta.1
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/@types/types.d.ts +20 -0
- package/hooks/useDynamicAccordions/useBaseAccordions.js +1 -1
- package/hooks/useDynamicAccordions/useDynamicAccordions.js +1 -1
- package/layouts/NoAuthModuleLayout/constants.d.ts +15 -0
- package/layouts/NoAuthModuleLayout/constants.js +16 -1
- package/layouts/NoAuthModuleLayout/index.js +9 -2
- package/layouts/NoAuthModuleLayout/slots/NoAuthModuleLayoutEnum.d.ts +8 -21
- package/layouts/NoAuthModuleLayout/slots/NoAuthModuleLayoutEnum.js +14 -31
- package/layouts/NoAuthModuleLayout/slots/NoAuthModuleLayoutSlots.d.ts +30 -19
- package/layouts/NoAuthModuleLayout/slots/NoAuthModuleLayoutSlots.js +35 -79
- package/layouts/NoAuthModuleLayout/styles.js +71 -232
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/index.js +3 -6
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/BaseContent/index.d.ts +5 -0
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/BaseContent/index.js +69 -0
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/BaseContent/types.d.ts +5 -0
- package/layouts/NoAuthModuleLayout/types.d.ts +25 -5
- package/package.json +3 -3
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/DesktopContent/index.d.ts +0 -6
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/DesktopContent/index.js +0 -48
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/MobileContent/index.d.ts +0 -6
- package/layouts/NoAuthModuleLayout/subcomponents/BaseNoAuthModuleLayout/subcomponents/MobileContent/index.js +0 -44
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NoAuthModuleLayoutOwnerState, NoAuthModuleLayoutSlotsType } from '../layouts/NoAuthModuleLayout/types';
|
|
2
|
+
|
|
3
|
+
declare module '@mui/material/styles' {
|
|
4
|
+
// Define the slots in the theme
|
|
5
|
+
interface ComponentNameToClassKey {
|
|
6
|
+
M4LNoAuthModuleLayout: NoAuthModuleLayoutSlotsType;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
interface ComponentsPropsList {
|
|
10
|
+
M4LNoAuthModuleLayout: Partial<NoAuthModuleLayoutOwnerState>;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
interface Components {
|
|
14
|
+
M4LNoAuthModuleLayout?: {
|
|
15
|
+
defaultProps?: ComponentsPropsList['M4LNoAuthModuleLayout'];
|
|
16
|
+
styleOverrides?: ComponentsOverrides<Theme>['M4LNoAuthModuleLayout'];
|
|
17
|
+
variants?: ComponentsVariants['M4LNoAuthModuleLayout'];
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -18,7 +18,7 @@ function useBaseAccordions(props) {
|
|
|
18
18
|
accordionProps: {
|
|
19
19
|
...accordion.accordionProps
|
|
20
20
|
},
|
|
21
|
-
children: /* @__PURE__ */ jsx(Stack, { direction: "column",
|
|
21
|
+
children: /* @__PURE__ */ jsx(Stack, { direction: "column", children: accordion.properties.map((property) => {
|
|
22
22
|
const value = property.getValue(data, endPointData);
|
|
23
23
|
return /* @__PURE__ */ createElement(
|
|
24
24
|
PropertyValue,
|
|
@@ -10,7 +10,7 @@ function useDynamicAccordions(props) {
|
|
|
10
10
|
endPointData,
|
|
11
11
|
configDynamicAccordions
|
|
12
12
|
});
|
|
13
|
-
return /* @__PURE__ */ jsx(Stack, { direction: "column", gap: "
|
|
13
|
+
return /* @__PURE__ */ jsx(Stack, { direction: "column", gap: "8px", style: { height: "auto" }, children: accordionsComponents });
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
16
|
export {
|
|
@@ -1 +1,16 @@
|
|
|
1
1
|
export declare const NOT_AUTH_MODULE_LAYOUT_KEY = "M4LNoAuthModuleLayout";
|
|
2
|
+
/**
|
|
3
|
+
* Lista de iconos
|
|
4
|
+
*/
|
|
5
|
+
export declare const NOT_AUTH_MODULE_LAYOUT_ICONS: {
|
|
6
|
+
home: string;
|
|
7
|
+
themeSettings: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Lista de keys de diccionario
|
|
11
|
+
*/
|
|
12
|
+
export declare const DICTIONARY_KEYS: {
|
|
13
|
+
label_home_navigation: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const DEFAULT_HOME_PATH = "/auth/login";
|
|
16
|
+
export declare const NO_AUTH_MODULE_LAYOUT_CLASSES: Record<string, string>;
|
|
@@ -1,4 +1,19 @@
|
|
|
1
|
+
import { getComponentClasses } from "@m4l/components";
|
|
2
|
+
import { N as NoAuthModuleLayoutSlots } from "./slots/NoAuthModuleLayoutEnum.js";
|
|
1
3
|
const NOT_AUTH_MODULE_LAYOUT_KEY = "M4LNoAuthModuleLayout";
|
|
4
|
+
const NOT_AUTH_MODULE_LAYOUT_ICONS = {
|
|
5
|
+
home: "frontend/layouts/no_auth_module_layout/commons/assets/icons/house.svg",
|
|
6
|
+
themeSettings: "frontend/layouts/no_auth_module_layout/commons/assets/icons/configuration.svg"
|
|
7
|
+
};
|
|
8
|
+
const DICTIONARY_KEYS = {
|
|
9
|
+
label_home_navigation: "label_home_navigation"
|
|
10
|
+
};
|
|
11
|
+
const DEFAULT_HOME_PATH = "/auth/login";
|
|
12
|
+
const NO_AUTH_MODULE_LAYOUT_CLASSES = getComponentClasses(NOT_AUTH_MODULE_LAYOUT_KEY, NoAuthModuleLayoutSlots);
|
|
2
13
|
export {
|
|
3
|
-
|
|
14
|
+
DEFAULT_HOME_PATH as D,
|
|
15
|
+
NOT_AUTH_MODULE_LAYOUT_KEY as N,
|
|
16
|
+
NO_AUTH_MODULE_LAYOUT_CLASSES as a,
|
|
17
|
+
NOT_AUTH_MODULE_LAYOUT_ICONS as b,
|
|
18
|
+
DICTIONARY_KEYS as c
|
|
4
19
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { D as DEFAULT_HOME_PATH } from "./constants.js";
|
|
2
3
|
import { B as BaseNoAuthModuleLayout } from "./subcomponents/BaseNoAuthModuleLayout/index.js";
|
|
3
4
|
import { useEnvironment, BaseProvider, FlagsProvider, ModuleDictionaryProvider, ModuleSkeletonProvider } from "@m4l/core";
|
|
4
5
|
import { useLocales } from "@m4l/graphics";
|
|
@@ -13,7 +14,10 @@ const NoAuthModuleLayout = (props) => {
|
|
|
13
14
|
companyLogoSmallUrl,
|
|
14
15
|
companyLogoNormalUrl,
|
|
15
16
|
moduleIlustrationUrl,
|
|
16
|
-
handleSetting
|
|
17
|
+
handleSetting,
|
|
18
|
+
bannerUrl,
|
|
19
|
+
footerComponent,
|
|
20
|
+
homePath = DEFAULT_HOME_PATH
|
|
17
21
|
} = props;
|
|
18
22
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
19
23
|
const localeString = useLocales().currentLocale?.localeString;
|
|
@@ -32,7 +36,10 @@ const NoAuthModuleLayout = (props) => {
|
|
|
32
36
|
companyLogoSmallUrl: finalCompanyLogoSmallUrl,
|
|
33
37
|
companyLogoNormalUrl: finalCompanyLogoNormalUrl,
|
|
34
38
|
moduleIlustrationUrl: finalIllustrationUrl,
|
|
35
|
-
|
|
39
|
+
footerComponent,
|
|
40
|
+
handleSetting,
|
|
41
|
+
bannerUrl,
|
|
42
|
+
homePath
|
|
36
43
|
},
|
|
37
44
|
children: /* @__PURE__ */ jsx(FlagsProvider, { children: /* @__PURE__ */ jsx(
|
|
38
45
|
ModuleDictionaryProvider,
|
|
@@ -1,25 +1,12 @@
|
|
|
1
|
-
export declare enum
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
mobileContentRoot = "mobileContentRoot",
|
|
6
|
-
mobileBanner = "mobileBanner",
|
|
7
|
-
containerImageLanguage = "containerImageLanguage",
|
|
8
|
-
containerLogo = "containerLogo",
|
|
9
|
-
companyName = "companyName",
|
|
10
|
-
formContent = "formContent",
|
|
1
|
+
export declare enum NoAuthModuleLayoutSlots {
|
|
2
|
+
headerContainer = "headerContainer",
|
|
3
|
+
buttonHomeNavigation = "buttonHomeNavigation",
|
|
4
|
+
containerModuleName = "containerModuleName",
|
|
11
5
|
wrapperFormContent = "wrapperFormContent",
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare enum DesktopContentSlots {
|
|
15
|
-
desktopContentRoot = "desktopContentRoot",
|
|
6
|
+
containerLanguageAndSettings = "containerLanguageAndSettings",
|
|
7
|
+
containerCompanyLogo = "containerCompanyLogo",
|
|
16
8
|
desktopBanner = "desktopBanner",
|
|
17
|
-
containerLogoDesktop = "containerLogoDesktop",
|
|
18
|
-
companyNameDesktop = "companyNameDesktop",
|
|
19
|
-
companyLeyendDesktop = "companyLeyendDesktop",
|
|
20
|
-
formContentDesktop = "formContentDesktop",
|
|
21
|
-
wrapperFormContentDesktop = "wrapperFormContentDesktop",
|
|
22
|
-
containerModuleNameDesktop = "containerModuleNameDesktop",
|
|
23
9
|
contentFormDesktop = "contentFormDesktop",
|
|
24
|
-
|
|
10
|
+
baseNoAuthModuleLayoutRoot = "baseNoAuthModuleLayoutRoot",
|
|
11
|
+
formContent = "formContent"
|
|
25
12
|
}
|
|
@@ -1,33 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
return MobileContentSlots2;
|
|
15
|
-
})(MobileContentSlots || {});
|
|
16
|
-
var DesktopContentSlots = /* @__PURE__ */ ((DesktopContentSlots2) => {
|
|
17
|
-
DesktopContentSlots2["desktopContentRoot"] = "desktopContentRoot";
|
|
18
|
-
DesktopContentSlots2["desktopBanner"] = "desktopBanner";
|
|
19
|
-
DesktopContentSlots2["containerLogoDesktop"] = "containerLogoDesktop";
|
|
20
|
-
DesktopContentSlots2["companyNameDesktop"] = "companyNameDesktop";
|
|
21
|
-
DesktopContentSlots2["companyLeyendDesktop"] = "companyLeyendDesktop";
|
|
22
|
-
DesktopContentSlots2["formContentDesktop"] = "formContentDesktop";
|
|
23
|
-
DesktopContentSlots2["wrapperFormContentDesktop"] = "wrapperFormContentDesktop";
|
|
24
|
-
DesktopContentSlots2["containerModuleNameDesktop"] = "containerModuleNameDesktop";
|
|
25
|
-
DesktopContentSlots2["contentFormDesktop"] = "contentFormDesktop";
|
|
26
|
-
DesktopContentSlots2["typographyBanner"] = "typographyBanner";
|
|
27
|
-
return DesktopContentSlots2;
|
|
28
|
-
})(DesktopContentSlots || {});
|
|
1
|
+
var NoAuthModuleLayoutSlots = /* @__PURE__ */ ((NoAuthModuleLayoutSlots2) => {
|
|
2
|
+
NoAuthModuleLayoutSlots2["headerContainer"] = "headerContainer";
|
|
3
|
+
NoAuthModuleLayoutSlots2["buttonHomeNavigation"] = "buttonHomeNavigation";
|
|
4
|
+
NoAuthModuleLayoutSlots2["containerModuleName"] = "containerModuleName";
|
|
5
|
+
NoAuthModuleLayoutSlots2["wrapperFormContent"] = "wrapperFormContent";
|
|
6
|
+
NoAuthModuleLayoutSlots2["containerLanguageAndSettings"] = "containerLanguageAndSettings";
|
|
7
|
+
NoAuthModuleLayoutSlots2["containerCompanyLogo"] = "containerCompanyLogo";
|
|
8
|
+
NoAuthModuleLayoutSlots2["desktopBanner"] = "desktopBanner";
|
|
9
|
+
NoAuthModuleLayoutSlots2["contentFormDesktop"] = "contentFormDesktop";
|
|
10
|
+
NoAuthModuleLayoutSlots2["baseNoAuthModuleLayoutRoot"] = "baseNoAuthModuleLayoutRoot";
|
|
11
|
+
NoAuthModuleLayoutSlots2["formContent"] = "formContent";
|
|
12
|
+
return NoAuthModuleLayoutSlots2;
|
|
13
|
+
})(NoAuthModuleLayoutSlots || {});
|
|
29
14
|
export {
|
|
30
|
-
|
|
31
|
-
InnerModuleSlots as I,
|
|
32
|
-
MobileContentSlots as M
|
|
15
|
+
NoAuthModuleLayoutSlots as N
|
|
33
16
|
};
|
|
@@ -1,19 +1,30 @@
|
|
|
1
|
-
export declare const BaseNoAuthModuleLayoutRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export declare const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export declare const
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export declare const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export declare const
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
export declare const
|
|
1
|
+
export declare const BaseNoAuthModuleLayoutRootStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
2
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
3
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
4
|
+
export declare const WrapperFormContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
5
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
6
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
7
|
+
export declare const DesktopBannerStyled: import('@emotion/styled').StyledComponent<Pick<import('@m4l/components/src/components/Image').ImageProps, keyof import('@m4l/components/src/components/Image').ImageProps> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
8
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
9
|
+
}, {}, {}>;
|
|
10
|
+
export declare const ContainerModuleNameStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
11
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
12
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
13
|
+
export declare const ContentFormDesktopStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
14
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
15
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
16
|
+
export declare const HeaderContainerStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
17
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
18
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
19
|
+
export declare const ContainerLanguageAndSettingsStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
20
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
21
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
22
|
+
export declare const ButtonHomeNavigationStyled: import('@emotion/styled').StyledComponent<Pick<Omit<import('@m4l/components/src/components/mui_extended/Button').ButtonProps, "ref"> & import('react').RefAttributes<HTMLButtonElement>, "value" | "size" | "children" | "title" | "component" | "name" | "id" | "type" | "disabled" | "action" | "hidden" | "color" | "content" | "style" | "variant" | "translate" | "lang" | "form" | "label" | "slot" | "dir" | "className" | "classes" | "sx" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "nonce" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "href" | "skeletonWidth" | "startIcon" | "endIcon" | keyof import('react').RefAttributes<HTMLButtonElement> | "disableElevation" | "fullWidth"> & import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
23
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
24
|
+
}, {}, {}>;
|
|
25
|
+
export declare const ContainerCompanyLogoStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
26
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
27
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
28
|
+
export declare const FormContentStyled: import('@emotion/styled').StyledComponent<import('@mui/system').MUIStyledCommonProps<import('@mui/material/styles').Theme> & Record<string, unknown> & {
|
|
29
|
+
ownerState?: (Partial<import('../types').NoAuthModuleLayoutOwnerState> & Record<string, unknown>) | undefined;
|
|
30
|
+
}, Pick<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof import('react').ClassAttributes<HTMLDivElement> | keyof import('react').HTMLAttributes<HTMLDivElement>>, {}>;
|
|
@@ -1,100 +1,56 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import {
|
|
2
|
+
import { N as NoAuthModuleLayoutSlots } from "./NoAuthModuleLayoutEnum.js";
|
|
3
3
|
import { N as NOT_AUTH_MODULE_LAYOUT_KEY } from "../constants.js";
|
|
4
|
-
import { Typography } from "@m4l/components";
|
|
5
4
|
import { n as noAuthModuleLayoutStyles } from "../styles.js";
|
|
5
|
+
import { Image, Button } from "@m4l/components";
|
|
6
6
|
const BaseNoAuthModuleLayoutRootStyled = styled("div", {
|
|
7
7
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
8
|
-
slot:
|
|
8
|
+
slot: NoAuthModuleLayoutSlots.baseNoAuthModuleLayoutRoot
|
|
9
9
|
})(noAuthModuleLayoutStyles?.baseNoAuthModuleLayoutRoot);
|
|
10
|
-
const MobileContentRootStyled = styled("div", {
|
|
11
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
12
|
-
slot: MobileContentSlots.mobileContentRoot
|
|
13
|
-
})(noAuthModuleLayoutStyles.mobileContentRoot);
|
|
14
|
-
const MobileBannerStyled = styled("div", {
|
|
15
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
16
|
-
slot: MobileContentSlots.mobileBanner
|
|
17
|
-
})(noAuthModuleLayoutStyles.mobileBanner);
|
|
18
|
-
styled("div", {
|
|
19
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
20
|
-
slot: MobileContentSlots.containerImageLanguage
|
|
21
|
-
})(noAuthModuleLayoutStyles.containerImageLanguage);
|
|
22
|
-
const ContainerLogoStyled = styled("div", {
|
|
23
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
24
|
-
slot: MobileContentSlots.containerLogo
|
|
25
|
-
})(noAuthModuleLayoutStyles.containerLogo);
|
|
26
|
-
const CompanyNameStyled = styled("div", {
|
|
27
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
28
|
-
slot: MobileContentSlots.companyName
|
|
29
|
-
})(noAuthModuleLayoutStyles.companyName);
|
|
30
|
-
const FormContentStyled = styled("div", {
|
|
31
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
32
|
-
slot: MobileContentSlots.formContent
|
|
33
|
-
})(noAuthModuleLayoutStyles.formContent);
|
|
34
10
|
const WrapperFormContentStyled = styled("div", {
|
|
35
11
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
36
|
-
slot:
|
|
12
|
+
slot: NoAuthModuleLayoutSlots.wrapperFormContent
|
|
37
13
|
})(noAuthModuleLayoutStyles.wrapperFormContent);
|
|
38
|
-
const
|
|
39
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
40
|
-
slot: MobileContentSlots.containerModuleName
|
|
41
|
-
})(noAuthModuleLayoutStyles.containerModuleName);
|
|
42
|
-
const DesktopContentRootStyled = styled("div", {
|
|
43
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
44
|
-
slot: DesktopContentSlots.desktopContentRoot
|
|
45
|
-
})(noAuthModuleLayoutStyles.desktopContentRoot);
|
|
46
|
-
const DesktopBannerStyled = styled("div", {
|
|
14
|
+
const DesktopBannerStyled = styled(Image, {
|
|
47
15
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
48
|
-
slot:
|
|
16
|
+
slot: NoAuthModuleLayoutSlots.desktopBanner
|
|
49
17
|
})(noAuthModuleLayoutStyles.desktopBanner);
|
|
50
|
-
const
|
|
51
|
-
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
52
|
-
slot: DesktopContentSlots.containerLogoDesktop
|
|
53
|
-
})(noAuthModuleLayoutStyles.containerLogoDesktop);
|
|
54
|
-
const CompanyNameDesktopStyled = styled("div", {
|
|
18
|
+
const ContainerModuleNameStyled = styled("div", {
|
|
55
19
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
56
|
-
slot:
|
|
57
|
-
})(noAuthModuleLayoutStyles.
|
|
58
|
-
|
|
20
|
+
slot: NoAuthModuleLayoutSlots.containerModuleName
|
|
21
|
+
})(noAuthModuleLayoutStyles.containerModuleName);
|
|
22
|
+
styled("div", {
|
|
59
23
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
60
|
-
slot:
|
|
61
|
-
})(noAuthModuleLayoutStyles.
|
|
62
|
-
const
|
|
24
|
+
slot: NoAuthModuleLayoutSlots.contentFormDesktop
|
|
25
|
+
})(noAuthModuleLayoutStyles.contentFormDesktop);
|
|
26
|
+
const HeaderContainerStyled = styled("div", {
|
|
63
27
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
64
|
-
slot:
|
|
65
|
-
})(noAuthModuleLayoutStyles.
|
|
66
|
-
const
|
|
28
|
+
slot: NoAuthModuleLayoutSlots.headerContainer
|
|
29
|
+
})(noAuthModuleLayoutStyles.headerContainer);
|
|
30
|
+
const ContainerLanguageAndSettingsStyled = styled("div", {
|
|
67
31
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
68
|
-
slot:
|
|
69
|
-
})(noAuthModuleLayoutStyles.
|
|
70
|
-
const
|
|
32
|
+
slot: NoAuthModuleLayoutSlots.containerLanguageAndSettings
|
|
33
|
+
})(noAuthModuleLayoutStyles.containerLanguageAndSettings);
|
|
34
|
+
const ButtonHomeNavigationStyled = styled(Button, {
|
|
71
35
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
72
|
-
slot:
|
|
73
|
-
})(noAuthModuleLayoutStyles.
|
|
74
|
-
styled("div", {
|
|
36
|
+
slot: NoAuthModuleLayoutSlots.buttonHomeNavigation
|
|
37
|
+
})(noAuthModuleLayoutStyles.buttonHomeNavigation);
|
|
38
|
+
const ContainerCompanyLogoStyled = styled("div", {
|
|
75
39
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
76
|
-
slot:
|
|
77
|
-
})(noAuthModuleLayoutStyles.
|
|
78
|
-
const
|
|
40
|
+
slot: NoAuthModuleLayoutSlots.containerCompanyLogo
|
|
41
|
+
})(noAuthModuleLayoutStyles.containerCompanyLogo);
|
|
42
|
+
const FormContentStyled = styled("div", {
|
|
79
43
|
name: NOT_AUTH_MODULE_LAYOUT_KEY,
|
|
80
|
-
slot:
|
|
81
|
-
})(noAuthModuleLayoutStyles.
|
|
44
|
+
slot: NoAuthModuleLayoutSlots.formContent
|
|
45
|
+
})(noAuthModuleLayoutStyles.formContent);
|
|
82
46
|
export {
|
|
83
47
|
BaseNoAuthModuleLayoutRootStyled as B,
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
CompanyLeyendDesktopStyled as c,
|
|
93
|
-
ContainerModuleNameDesktopStyled as d,
|
|
94
|
-
MobileBannerStyled as e,
|
|
95
|
-
ContainerLogoStyled as f,
|
|
96
|
-
CompanyNameStyled as g,
|
|
97
|
-
WrapperFormContentStyled as h,
|
|
98
|
-
FormContentStyled as i,
|
|
99
|
-
ContainerModuleNameStyled as j
|
|
48
|
+
ContainerLanguageAndSettingsStyled as C,
|
|
49
|
+
DesktopBannerStyled as D,
|
|
50
|
+
FormContentStyled as F,
|
|
51
|
+
HeaderContainerStyled as H,
|
|
52
|
+
WrapperFormContentStyled as W,
|
|
53
|
+
ButtonHomeNavigationStyled as a,
|
|
54
|
+
ContainerCompanyLogoStyled as b,
|
|
55
|
+
ContainerModuleNameStyled as c
|
|
100
56
|
};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { alpha } from "@mui/material/styles";
|
|
2
1
|
const noAuthModuleLayoutStyles = {
|
|
3
2
|
/**
|
|
4
3
|
* ****************************************************
|
|
@@ -7,47 +6,18 @@ const noAuthModuleLayoutStyles = {
|
|
|
7
6
|
* ****************************************************
|
|
8
7
|
*/
|
|
9
8
|
baseNoAuthModuleLayoutRoot: ({ theme }) => ({
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
* DesktopContent.
|
|
23
|
-
* ****************************************************
|
|
24
|
-
*/
|
|
25
|
-
desktopContentRoot: ({ theme }) => ({
|
|
26
|
-
display: "flex",
|
|
27
|
-
borderRadius: theme.vars.size.borderRadius.r4,
|
|
28
|
-
backgroundColor: theme.vars.palette.background.surface,
|
|
29
|
-
boxShadow: theme.vars.customShadows?.z4,
|
|
30
|
-
padding: `${theme.vars.size.baseSpacings.sp5}`,
|
|
31
|
-
width: "100%",
|
|
32
|
-
height: "100%",
|
|
33
|
-
maxWidth: "965px",
|
|
34
|
-
//No hay token para este valor
|
|
35
|
-
maxHeight: "900px",
|
|
36
|
-
//No hay token para este valor
|
|
37
|
-
position: "relative",
|
|
38
|
-
overflow: "auto",
|
|
39
|
-
"& .M4LLanguagePopover-root": {
|
|
40
|
-
position: "absolute",
|
|
41
|
-
top: theme.vars.size.baseSpacings.sp5,
|
|
42
|
-
right: theme.vars.size.baseSpacings.sp5,
|
|
43
|
-
zIndex: 1
|
|
44
|
-
},
|
|
45
|
-
"& .M4LIconButton-root.config-icon": {
|
|
46
|
-
position: "absolute",
|
|
47
|
-
top: "25px",
|
|
48
|
-
//No hay token para este valor
|
|
49
|
-
right: theme.vars.size.baseSpacings.sp14,
|
|
50
|
-
zIndex: 1
|
|
9
|
+
"&&&": {
|
|
10
|
+
display: "flex",
|
|
11
|
+
justifyContent: "center",
|
|
12
|
+
alignItems: "center",
|
|
13
|
+
width: "100%",
|
|
14
|
+
height: "100vh",
|
|
15
|
+
position: "relative",
|
|
16
|
+
"& .M4LRHFormProvider-root": {
|
|
17
|
+
gap: theme.vars.size.baseSpacings.sp3,
|
|
18
|
+
alignItems: "center",
|
|
19
|
+
overflow: "auto"
|
|
20
|
+
}
|
|
51
21
|
}
|
|
52
22
|
}),
|
|
53
23
|
/**
|
|
@@ -56,257 +26,126 @@ const noAuthModuleLayoutStyles = {
|
|
|
56
26
|
* ****************************************************
|
|
57
27
|
*/
|
|
58
28
|
desktopBanner: ({ theme }) => ({
|
|
59
|
-
display: "flex",
|
|
60
|
-
flexDirection: "column",
|
|
61
|
-
justifyContent: "center",
|
|
62
|
-
alignItems: "center",
|
|
63
|
-
borderRadius: theme.vars.size.borderRadius.r3,
|
|
64
29
|
width: "100%",
|
|
65
|
-
maxWidth: "400px",
|
|
66
|
-
//No hay token para este valor
|
|
67
30
|
height: "100%",
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
//No hay token para el valor 60px
|
|
72
|
-
gap: theme.vars.size.baseSpacings.sp10,
|
|
31
|
+
objectFit: "cover",
|
|
32
|
+
objectPosition: "center",
|
|
33
|
+
flex: 1,
|
|
73
34
|
overflow: "hidden",
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
display: "flex",
|
|
77
|
-
justifyContent: "center",
|
|
78
|
-
textAlign: "center",
|
|
79
|
-
textTransform: "uppercase"
|
|
80
|
-
},
|
|
81
|
-
"& .M4LTypography-root .MuiSkeleton-root": {
|
|
82
|
-
backgroundColor: alpha(`${theme.colorSchemes.finalTheme.palette.common.white}`, 0.24),
|
|
83
|
-
margin: "auto"
|
|
35
|
+
...theme.generalSettings.isMobile && {
|
|
36
|
+
display: "none"
|
|
84
37
|
}
|
|
85
38
|
}),
|
|
86
|
-
/**
|
|
87
|
-
* ****************************************************
|
|
88
|
-
* Estilos para el contenedor del logo en Desktop.
|
|
89
|
-
* ****************************************************
|
|
90
|
-
*/
|
|
91
|
-
containerLogoDesktop: ({ theme }) => ({
|
|
92
|
-
display: "flex",
|
|
93
|
-
width: "84px",
|
|
94
|
-
//No hay token para este valor
|
|
95
|
-
height: "84px",
|
|
96
|
-
//No hay token para este valor
|
|
97
|
-
borderRadius: theme.vars.size.borderRadius["r1-5"],
|
|
98
|
-
backgroundColor: theme.vars.palette.primary.hover,
|
|
99
|
-
justifyContent: "center",
|
|
100
|
-
alignItems: "center",
|
|
101
|
-
padding: theme.vars.size.baseSpacings.sp3,
|
|
102
|
-
"& .M4LImage-root": {
|
|
103
|
-
backgroundColor: theme.vars.palette.common?.white,
|
|
104
|
-
borderRadius: theme.vars.size.borderRadius["r1-5"]
|
|
105
|
-
}
|
|
106
|
-
}),
|
|
107
|
-
/**
|
|
108
|
-
* ****************************************************
|
|
109
|
-
* Estilos para el contenedor del nombre de la empresa
|
|
110
|
-
* en Desktop.
|
|
111
|
-
* ****************************************************
|
|
112
|
-
*/
|
|
113
|
-
companyNameDesktop: ({ theme }) => ({
|
|
114
|
-
display: "flex",
|
|
115
|
-
flexDirection: "column",
|
|
116
|
-
gap: theme.vars.size.baseSpacings.sp2,
|
|
117
|
-
width: "100%"
|
|
118
|
-
}),
|
|
119
|
-
/**
|
|
120
|
-
* ****************************************************
|
|
121
|
-
* Estilos para el contenedor del eslogan de la empresa
|
|
122
|
-
* en Desktop.
|
|
123
|
-
* ****************************************************
|
|
124
|
-
*/
|
|
125
|
-
companyLeyendDesktop: ({ theme }) => ({
|
|
126
|
-
display: "flex",
|
|
127
|
-
flexDirection: "column",
|
|
128
|
-
gap: theme.vars.size.baseSpacings.sp2,
|
|
129
|
-
width: "100%"
|
|
130
|
-
}),
|
|
131
39
|
/**
|
|
132
40
|
* ****************************************************
|
|
133
41
|
* Estilos para el contenedor del formulario en Desktop.
|
|
134
42
|
* ****************************************************
|
|
135
43
|
*/
|
|
136
|
-
|
|
44
|
+
formContent: ({ theme }) => ({
|
|
137
45
|
display: "flex",
|
|
138
46
|
flexDirection: "column",
|
|
139
|
-
padding: `${theme.vars.size.baseSpacings.sp0} 72px`,
|
|
140
|
-
//No hay token para los valores 60px y 80px
|
|
141
47
|
margin: "auto 0",
|
|
142
|
-
width: "
|
|
48
|
+
width: "335px",
|
|
143
49
|
height: "auto",
|
|
144
|
-
gap: theme.vars.size.baseSpacings.
|
|
50
|
+
gap: theme.vars.size.baseSpacings.sp8,
|
|
51
|
+
overflow: "auto",
|
|
52
|
+
...theme.generalSettings.isMobile && {
|
|
53
|
+
width: "100%"
|
|
54
|
+
}
|
|
145
55
|
}),
|
|
146
56
|
/**
|
|
147
57
|
* ****************************************************
|
|
148
58
|
* Estilos para el wrapper del contenedor en desktop
|
|
149
59
|
* ****************************************************
|
|
150
60
|
*/
|
|
151
|
-
|
|
152
|
-
display: "flex",
|
|
153
|
-
width: "100%",
|
|
154
|
-
height: "100%"
|
|
155
|
-
}),
|
|
156
|
-
/**
|
|
157
|
-
* ************************************************************
|
|
158
|
-
* Estilos para el contenedor del nombre de la app en desktop
|
|
159
|
-
* ************************************************************
|
|
160
|
-
*/
|
|
161
|
-
containerModuleNameDesktop: ({ theme }) => ({
|
|
61
|
+
wrapperFormContent: ({ theme }) => ({
|
|
162
62
|
display: "flex",
|
|
163
63
|
flexDirection: "column",
|
|
164
|
-
|
|
165
|
-
|
|
64
|
+
alignItems: "center",
|
|
65
|
+
minWidth: "500px",
|
|
66
|
+
height: "100%",
|
|
67
|
+
padding: theme.vars.size.baseSpacings.sp6,
|
|
68
|
+
gap: theme.vars.size.baseSpacings.sp13,
|
|
69
|
+
overflow: "auto",
|
|
70
|
+
...theme.generalSettings.isMobile && {
|
|
71
|
+
minWidth: "100%"
|
|
72
|
+
}
|
|
166
73
|
}),
|
|
167
74
|
/**
|
|
168
75
|
* ************************************************************
|
|
169
|
-
* Estilos para el contenedor del
|
|
76
|
+
* Estilos para el contenedor del nombre de la app en desktop
|
|
170
77
|
* ************************************************************
|
|
171
78
|
*/
|
|
172
|
-
|
|
173
|
-
display: "flex",
|
|
174
|
-
width: "100%",
|
|
175
|
-
height: "100%",
|
|
176
|
-
justifyContent: "center",
|
|
177
|
-
alignItems: "center"
|
|
178
|
-
}),
|
|
179
|
-
typographyBanner: ({ theme }) => ({
|
|
180
|
-
color: `${theme.vars.palette.primary.contrastText} !important`
|
|
181
|
-
}),
|
|
182
|
-
/**
|
|
183
|
-
* ****************************************************
|
|
184
|
-
* Estilos para el contenedor raíz del componente
|
|
185
|
-
* MobileContent.
|
|
186
|
-
* ****************************************************
|
|
187
|
-
*/
|
|
188
|
-
mobileContentRoot: ({ theme }) => ({
|
|
189
|
-
display: "flex",
|
|
190
|
-
flexDirection: "column",
|
|
191
|
-
width: "100%",
|
|
192
|
-
height: "100%",
|
|
193
|
-
backgroundColor: theme.vars.palette.background.surface,
|
|
194
|
-
padding: theme.vars.size.baseSpacings.sp3,
|
|
195
|
-
gap: theme.vars.size.baseSpacings.sp8
|
|
196
|
-
}),
|
|
197
|
-
/**
|
|
198
|
-
* ****************************************************
|
|
199
|
-
* Estilos para el contenedor del banner móvil.
|
|
200
|
-
* ****************************************************
|
|
201
|
-
*/
|
|
202
|
-
mobileBanner: ({ theme }) => ({
|
|
79
|
+
containerModuleName: ({ theme }) => ({
|
|
203
80
|
display: "flex",
|
|
204
81
|
flexDirection: "column",
|
|
205
|
-
padding: theme.vars.size.baseSpacings.sp3,
|
|
206
|
-
gap: theme.vars.size.baseSpacings.sp5,
|
|
207
82
|
width: "100%",
|
|
208
|
-
|
|
209
|
-
boxShadow: theme.customShadows?.z4,
|
|
210
|
-
position: "relative",
|
|
211
|
-
borderRadius: theme.vars.size.borderRadius.r2,
|
|
212
|
-
"& .M4LLanguagePopover-root": {
|
|
213
|
-
position: "absolute",
|
|
214
|
-
top: theme.vars.size.baseSpacings.sp3,
|
|
215
|
-
right: theme.vars.size.baseSpacings.sp3,
|
|
216
|
-
zIndex: 1
|
|
217
|
-
},
|
|
218
|
-
"& .M4LIconButton-root.config-icon": {
|
|
219
|
-
position: "absolute",
|
|
220
|
-
top: theme.vars.size.baseSpacings.sp3,
|
|
221
|
-
right: theme.vars.size.baseSpacings.sp10,
|
|
222
|
-
zIndex: 1,
|
|
223
|
-
"& .M4LIcon-root .M4LIcon-icon": {
|
|
224
|
-
backgroundColor: theme.vars.palette.common?.white
|
|
225
|
-
}
|
|
226
|
-
},
|
|
83
|
+
gap: theme.vars.size.baseSpacings.sp2,
|
|
227
84
|
"& .MuiTypography-root": {
|
|
228
|
-
|
|
229
|
-
display: "flex",
|
|
230
|
-
textTransform: "uppercase"
|
|
231
|
-
},
|
|
232
|
-
"& .MuiSkeleton-root": {
|
|
233
|
-
backgroundColor: alpha(`${theme.colorSchemes.finalTheme.palette.common.white}`, 0.24),
|
|
234
|
-
margin: "auto"
|
|
85
|
+
textAlign: "center"
|
|
235
86
|
}
|
|
236
87
|
}),
|
|
237
88
|
/**
|
|
238
89
|
* ****************************************************
|
|
239
|
-
* Estilos para el contenedor de la
|
|
240
|
-
* representa el lenguaje
|
|
90
|
+
* Estilos para el contenedor del logo de la empresa
|
|
241
91
|
* ****************************************************
|
|
242
92
|
*/
|
|
243
|
-
|
|
244
|
-
display: "flex"
|
|
245
|
-
}),
|
|
246
|
-
/**
|
|
247
|
-
* ****************************************************
|
|
248
|
-
* Estilos para el contenedor del logo
|
|
249
|
-
* ****************************************************
|
|
250
|
-
*/
|
|
251
|
-
containerLogo: ({ theme }) => ({
|
|
93
|
+
containerCompanyLogo: ({ theme }) => ({
|
|
252
94
|
display: "flex",
|
|
253
|
-
width: theme.vars.size.baseSpacings.sp13,
|
|
254
|
-
height: theme.vars.size.baseSpacings.sp13,
|
|
255
|
-
borderRadius: theme.vars.size.borderRadius["r1-5"],
|
|
256
|
-
backgroundColor: theme.vars.palette.primary.hover,
|
|
257
95
|
justifyContent: "center",
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
borderRadius: theme.vars.size.borderRadius["r1-5"]
|
|
262
|
-
}
|
|
96
|
+
height: theme.vars.size.baseSpacings.sp14,
|
|
97
|
+
width: "100%",
|
|
98
|
+
marginBottom: theme.vars.size.baseSpacings.sp2
|
|
263
99
|
}),
|
|
264
100
|
/**
|
|
265
101
|
* ****************************************************
|
|
266
|
-
* Estilos para el contenedor del
|
|
102
|
+
* Estilos para el contenedor del encabezado en desktop
|
|
267
103
|
* ****************************************************
|
|
268
104
|
*/
|
|
269
|
-
|
|
270
|
-
display: "flex",
|
|
271
|
-
flexDirection: "column",
|
|
105
|
+
headerContainer: () => ({
|
|
272
106
|
width: "100%",
|
|
273
|
-
|
|
107
|
+
height: "fit-content",
|
|
108
|
+
display: "flex",
|
|
109
|
+
justifyContent: "space-between",
|
|
110
|
+
alignItems: "center"
|
|
274
111
|
}),
|
|
275
112
|
/**
|
|
276
113
|
* ****************************************************
|
|
277
|
-
*
|
|
114
|
+
* Botón de navegación a la página principal de no auth
|
|
278
115
|
* ****************************************************
|
|
279
116
|
*/
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
flexDirection: "column",
|
|
283
|
-
padding: theme.vars.size.baseSpacings.sp4,
|
|
284
|
-
margin: "auto 0",
|
|
285
|
-
width: "100%",
|
|
286
|
-
gap: theme.vars.size.baseSpacings.sp5
|
|
117
|
+
buttonHomeNavigation: ({ theme }) => ({
|
|
118
|
+
boxShadow: theme.vars.customShadows?.z1
|
|
287
119
|
}),
|
|
288
120
|
/**
|
|
289
121
|
* ****************************************************
|
|
290
|
-
*
|
|
122
|
+
* Estilos para el contenedor de la configuración y
|
|
123
|
+
* el lenguaje en desktop
|
|
291
124
|
* ****************************************************
|
|
292
125
|
*/
|
|
293
|
-
|
|
126
|
+
containerLanguageAndSettings: ({ theme }) => ({
|
|
294
127
|
display: "flex",
|
|
295
|
-
width: "
|
|
296
|
-
height: "
|
|
297
|
-
|
|
128
|
+
width: "fit-content",
|
|
129
|
+
height: "fit-content",
|
|
130
|
+
padding: theme.vars.size.baseSpacings["sp0-5"],
|
|
131
|
+
gap: theme.vars.size.baseSpacings.sp1,
|
|
132
|
+
backgroundColor: theme.vars.palette.background.base,
|
|
133
|
+
borderRadius: theme.vars.size.borderRadius.r2,
|
|
134
|
+
border: theme.vars.size.borderStroke.container,
|
|
135
|
+
borderColor: theme.vars.palette.border.disabled,
|
|
136
|
+
marginLeft: "auto"
|
|
298
137
|
}),
|
|
299
138
|
/**
|
|
300
|
-
*
|
|
301
|
-
* Estilos para el contenedor del
|
|
302
|
-
*
|
|
303
|
-
* ****************************************************
|
|
139
|
+
* ************************************************************
|
|
140
|
+
* Estilos para el contenedor del formulario en desktop
|
|
141
|
+
* ************************************************************
|
|
304
142
|
*/
|
|
305
|
-
|
|
143
|
+
contentFormDesktop: () => ({
|
|
306
144
|
display: "flex",
|
|
307
|
-
flexDirection: "column",
|
|
308
145
|
width: "100%",
|
|
309
|
-
|
|
146
|
+
height: "100%",
|
|
147
|
+
justifyContent: "center",
|
|
148
|
+
alignItems: "center"
|
|
310
149
|
})
|
|
311
150
|
};
|
|
312
151
|
export {
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { HelmetPage } from "@m4l/components";
|
|
3
3
|
import { useModuleDictionary, useBase } from "@m4l/core";
|
|
4
|
-
import {
|
|
5
|
-
import { M as MobileContent } from "./subcomponents/MobileContent/index.js";
|
|
6
|
-
import { useIsMobile } from "@m4l/graphics";
|
|
4
|
+
import { B as BaseContent } from "./subcomponents/BaseContent/index.js";
|
|
7
5
|
import { B as BaseNoAuthModuleLayoutRootStyled } from "../../slots/NoAuthModuleLayoutSlots.js";
|
|
8
6
|
const BaseNoAuthModuleLayout = (props) => {
|
|
9
7
|
const { children } = props;
|
|
10
8
|
const { getModuleLabel } = useModuleDictionary();
|
|
11
|
-
const
|
|
12
|
-
|
|
13
|
-
return /* @__PURE__ */ jsx(HelmetPage, { title: getModuleLabel(), subtitle, children: /* @__PURE__ */ jsx(BaseNoAuthModuleLayoutRootStyled, { id: "modulerootnouth", "data-testid": "modulerootnouth", children: isMobile ? /* @__PURE__ */ jsx(MobileContent, { children }) : /* @__PURE__ */ jsx(DesktopContent, { children }) }) });
|
|
9
|
+
const { subtitle, bannerUrl } = useBase();
|
|
10
|
+
return /* @__PURE__ */ jsx(HelmetPage, { title: getModuleLabel(), subtitle, children: /* @__PURE__ */ jsx(BaseNoAuthModuleLayoutRootStyled, { id: "modulerootnouth", "data-testid": "modulerootnouth", children: /* @__PURE__ */ jsx(BaseContent, { children, bannerUrl }) }) });
|
|
14
11
|
};
|
|
15
12
|
export {
|
|
16
13
|
BaseNoAuthModuleLayout as B
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useComponentSize, LanguagePopover, IconButton, Image, Typography, Stack } from "@m4l/components";
|
|
3
|
+
import { D as DesktopBannerStyled, W as WrapperFormContentStyled, H as HeaderContainerStyled, a as ButtonHomeNavigationStyled, C as ContainerLanguageAndSettingsStyled, b as ContainerCompanyLogoStyled, F as FormContentStyled, c as ContainerModuleNameStyled } from "../../../../slots/NoAuthModuleLayoutSlots.js";
|
|
4
|
+
import { useLocation, useNavigate } from "react-router-dom";
|
|
5
|
+
import { useEnvironment, useBase, useModuleDictionary } from "@m4l/core";
|
|
6
|
+
import { a as NO_AUTH_MODULE_LAYOUT_CLASSES, b as NOT_AUTH_MODULE_LAYOUT_ICONS, c as DICTIONARY_KEYS } from "../../../../constants.js";
|
|
7
|
+
const BaseContent = (props) => {
|
|
8
|
+
const { children, bannerUrl } = props;
|
|
9
|
+
const { host_static_assets, environment_assets } = useEnvironment();
|
|
10
|
+
const { currentSize } = useComponentSize();
|
|
11
|
+
const location = useLocation();
|
|
12
|
+
const { handleSetting, companyLogoNormalUrl, footerComponent, homePath } = useBase();
|
|
13
|
+
const navigate = useNavigate();
|
|
14
|
+
const ownerState = {
|
|
15
|
+
size: currentSize
|
|
16
|
+
};
|
|
17
|
+
const { getLabel } = useModuleDictionary();
|
|
18
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
19
|
+
/* @__PURE__ */ jsx(DesktopBannerStyled, { enableIntersectionObserver: false, src: bannerUrl, className: NO_AUTH_MODULE_LAYOUT_CLASSES.desktopBanner }),
|
|
20
|
+
/* @__PURE__ */ jsxs(WrapperFormContentStyled, { children: [
|
|
21
|
+
/* @__PURE__ */ jsxs(HeaderContainerStyled, { children: [
|
|
22
|
+
location.pathname !== homePath && /* @__PURE__ */ jsx(
|
|
23
|
+
ButtonHomeNavigationStyled,
|
|
24
|
+
{
|
|
25
|
+
variant: "text",
|
|
26
|
+
ownerState: { ownerState },
|
|
27
|
+
label: getLabel(DICTIONARY_KEYS.label_home_navigation),
|
|
28
|
+
startIcon: `${host_static_assets}/${environment_assets}/${NOT_AUTH_MODULE_LAYOUT_ICONS.home}`,
|
|
29
|
+
onClick: () => {
|
|
30
|
+
navigate(homePath || "/");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ jsxs(ContainerLanguageAndSettingsStyled, { children: [
|
|
35
|
+
/* @__PURE__ */ jsx(LanguagePopover, {}),
|
|
36
|
+
/* @__PURE__ */ jsx(
|
|
37
|
+
IconButton,
|
|
38
|
+
{
|
|
39
|
+
icon: `${host_static_assets}/${environment_assets}/${NOT_AUTH_MODULE_LAYOUT_ICONS.themeSettings}`,
|
|
40
|
+
variant: "text",
|
|
41
|
+
onClick: () => {
|
|
42
|
+
handleSetting?.();
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
] })
|
|
47
|
+
] }),
|
|
48
|
+
/* @__PURE__ */ jsx(ContainerCompanyLogoStyled, { children: /* @__PURE__ */ jsx(Image, { src: companyLogoNormalUrl }) }),
|
|
49
|
+
/* @__PURE__ */ jsxs(FormContentStyled, { children: [
|
|
50
|
+
/* @__PURE__ */ jsxs(ContainerModuleNameStyled, { children: [
|
|
51
|
+
/* @__PURE__ */ jsx(Typography, { variant: "h5", skeletonWidth: "20%", children: getLabel("module_name") }),
|
|
52
|
+
/* @__PURE__ */ jsx(
|
|
53
|
+
Typography,
|
|
54
|
+
{
|
|
55
|
+
variant: "subtitle",
|
|
56
|
+
skeletonWidth: "40%",
|
|
57
|
+
children: getLabel("module_description")
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
] }),
|
|
61
|
+
/* @__PURE__ */ jsx(Stack, { direction: "column", height: "auto", style: { overflow: "auto", position: "relative" }, children })
|
|
62
|
+
] }),
|
|
63
|
+
footerComponent && footerComponent
|
|
64
|
+
] })
|
|
65
|
+
] });
|
|
66
|
+
};
|
|
67
|
+
export {
|
|
68
|
+
BaseContent as B
|
|
69
|
+
};
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
1
|
+
import { ReactElement, ReactNode } from 'react';
|
|
3
2
|
import { Theme } from '@mui/material/styles';
|
|
4
|
-
import {
|
|
3
|
+
import { NoAuthModuleLayoutSlots } from './slots/NoAuthModuleLayoutEnum';
|
|
5
4
|
import { NOT_AUTH_MODULE_LAYOUT_KEY } from './constants';
|
|
5
|
+
import { Sizes } from '@m4l/styles';
|
|
6
|
+
import { M4LOverridesStyleRules } from '@m4l/components';
|
|
6
7
|
export interface ContainerProps {
|
|
7
8
|
vertical: boolean;
|
|
8
9
|
}
|
|
@@ -28,6 +29,18 @@ export declare interface NoAuthBaseBaseProps {
|
|
|
28
29
|
* Función que se ejecuta al hacer clic en el botón de configuración
|
|
29
30
|
*/
|
|
30
31
|
handleSetting?: () => void;
|
|
32
|
+
/**
|
|
33
|
+
* Url de la imagen del banner
|
|
34
|
+
*/
|
|
35
|
+
bannerUrl?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Componente que se debe cargar en el footer
|
|
38
|
+
*/
|
|
39
|
+
footerComponent?: ReactElement;
|
|
40
|
+
/**
|
|
41
|
+
* Ruta de la página de inicio
|
|
42
|
+
*/
|
|
43
|
+
homePath?: string;
|
|
31
44
|
}
|
|
32
45
|
export declare interface NoAuthBaseProviderProps extends NoAuthBaseBaseProps {
|
|
33
46
|
/**
|
|
@@ -56,12 +69,19 @@ export interface NoAuthModuleLayoutProps extends NoAuthBaseProviderProps {
|
|
|
56
69
|
* Referencia al div observado
|
|
57
70
|
*/
|
|
58
71
|
observedDivRef: Element | Text | null;
|
|
72
|
+
/**
|
|
73
|
+
* Componente que se debe cargar en el footer
|
|
74
|
+
*/
|
|
75
|
+
footerComponent?: ReactElement;
|
|
76
|
+
}
|
|
77
|
+
export interface NoAuthModuleLayoutOwnerState {
|
|
78
|
+
size: Extract<Sizes, 'small' | 'medium'>;
|
|
59
79
|
}
|
|
60
80
|
/**
|
|
61
81
|
* Define los tipos de Slots disponibles para el `NoAuthModuleLayout`.
|
|
62
82
|
*/
|
|
63
|
-
export type NoAuthModuleLayoutSlotsType =
|
|
83
|
+
export type NoAuthModuleLayoutSlotsType = keyof typeof NoAuthModuleLayoutSlots;
|
|
64
84
|
/**
|
|
65
85
|
* Estilos aplicables al `NoAuthModuleLayout`
|
|
66
86
|
*/
|
|
67
|
-
export type NoAuthModuleLayoutStyles =
|
|
87
|
+
export type NoAuthModuleLayoutStyles = M4LOverridesStyleRules<NoAuthModuleLayoutSlotsType, typeof NOT_AUTH_MODULE_LAYOUT_KEY, Theme>;
|
package/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/layouts",
|
|
3
|
-
"version": "9.3.
|
|
3
|
+
"version": "9.3.5-B07072025beta.1",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"author": "M4L Team ",
|
|
6
6
|
"lint-staged": {
|
|
7
7
|
"*.{js,ts,tsx}": "eslint --fix --max-warnings 0"
|
|
8
8
|
},
|
|
9
9
|
"peerDependencies": {
|
|
10
|
-
"@m4l/components": "
|
|
10
|
+
"@m4l/components": "9.0.0-B07072025beta.1",
|
|
11
11
|
"@m4l/core": "^2.0.0",
|
|
12
12
|
"@m4l/graphics": "^7.0.0",
|
|
13
|
-
"@m4l/styles": "
|
|
13
|
+
"@m4l/styles": "7.0.0-B07072025beta.1"
|
|
14
14
|
},
|
|
15
15
|
"resolutions": {
|
|
16
16
|
"glob": "^10.4.5",
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { LanguagePopover, Image, Typography, Stack } from "@m4l/components";
|
|
3
|
-
import { D as DesktopContentRootStyled, a as DesktopBannerStyled, C as ContainerLogoDesktopStyled, b as CompanyNameDesktopStyled, T as TypographyBannerStyled, c as CompanyLeyendDesktopStyled, W as WrapperFormContentDesktopStyled, F as FormContentDesktopStyled, d as ContainerModuleNameDesktopStyled } from "../../../../slots/NoAuthModuleLayoutSlots.js";
|
|
4
|
-
import { useBase, useModuleDictionary, useDomain } from "@m4l/core";
|
|
5
|
-
const DesktopContent = (props) => {
|
|
6
|
-
const { children } = props;
|
|
7
|
-
const { companyLogoSmallUrl } = useBase();
|
|
8
|
-
const { getLabel } = useModuleDictionary();
|
|
9
|
-
const { name, slogan } = useDomain();
|
|
10
|
-
return /* @__PURE__ */ jsxs(DesktopContentRootStyled, { children: [
|
|
11
|
-
/* @__PURE__ */ jsx(LanguagePopover, {}),
|
|
12
|
-
/* @__PURE__ */ jsxs(DesktopBannerStyled, { children: [
|
|
13
|
-
/* @__PURE__ */ jsx(ContainerLogoDesktopStyled, { children: /* @__PURE__ */ jsx(Image, { src: companyLogoSmallUrl, width: "60px", height: "60px" }) }),
|
|
14
|
-
/* @__PURE__ */ jsxs(CompanyNameDesktopStyled, { children: [
|
|
15
|
-
/* @__PURE__ */ jsx(
|
|
16
|
-
TypographyBannerStyled,
|
|
17
|
-
{
|
|
18
|
-
variant: "subtitleDens",
|
|
19
|
-
skeletonWidth: "70%",
|
|
20
|
-
children: name
|
|
21
|
-
}
|
|
22
|
-
),
|
|
23
|
-
/* @__PURE__ */ jsx(TypographyBannerStyled, { variant: "subtitle", skeletonWidth: "40%", children: getLabel("company_name_subtitle") })
|
|
24
|
-
] }),
|
|
25
|
-
/* @__PURE__ */ jsxs(CompanyLeyendDesktopStyled, { children: [
|
|
26
|
-
/* @__PURE__ */ jsx(TypographyBannerStyled, { variant: "h5", skeletonWidth: "50%", children: getLabel("module_leyend") }),
|
|
27
|
-
/* @__PURE__ */ jsx(TypographyBannerStyled, { variant: "paragraph", skeletonWidth: "80%", children: slogan })
|
|
28
|
-
] })
|
|
29
|
-
] }),
|
|
30
|
-
/* @__PURE__ */ jsx(WrapperFormContentDesktopStyled, { children: /* @__PURE__ */ jsxs(FormContentDesktopStyled, { children: [
|
|
31
|
-
/* @__PURE__ */ jsxs(ContainerModuleNameDesktopStyled, { children: [
|
|
32
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h3", skeletonWidth: "20%", children: getLabel("module_name") }),
|
|
33
|
-
/* @__PURE__ */ jsx(
|
|
34
|
-
Typography,
|
|
35
|
-
{
|
|
36
|
-
variant: "subtitle",
|
|
37
|
-
skeletonWidth: "40%",
|
|
38
|
-
children: getLabel("module_description")
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
] }),
|
|
42
|
-
/* @__PURE__ */ jsx(Stack, { direction: "column", height: "auto", style: { overflow: "auto", position: "relative" }, children })
|
|
43
|
-
] }) })
|
|
44
|
-
] });
|
|
45
|
-
};
|
|
46
|
-
export {
|
|
47
|
-
DesktopContent as D
|
|
48
|
-
};
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { Image, LanguagePopover, Typography } from "@m4l/components";
|
|
3
|
-
import { M as MobileContentRootStyled, e as MobileBannerStyled, f as ContainerLogoStyled, g as CompanyNameStyled, T as TypographyBannerStyled, h as WrapperFormContentStyled, i as FormContentStyled, j as ContainerModuleNameStyled } from "../../../../slots/NoAuthModuleLayoutSlots.js";
|
|
4
|
-
import { useBase, useModuleDictionary, useDomain } from "@m4l/core";
|
|
5
|
-
const MobileContent = (props) => {
|
|
6
|
-
const { children } = props;
|
|
7
|
-
const { companyLogoSmallUrl } = useBase();
|
|
8
|
-
const { getLabel } = useModuleDictionary();
|
|
9
|
-
const { name } = useDomain();
|
|
10
|
-
return /* @__PURE__ */ jsxs(MobileContentRootStyled, { children: [
|
|
11
|
-
/* @__PURE__ */ jsxs(MobileBannerStyled, { children: [
|
|
12
|
-
/* @__PURE__ */ jsx(ContainerLogoStyled, { children: /* @__PURE__ */ jsx(Image, { src: companyLogoSmallUrl, width: "44px", height: "44px" }) }),
|
|
13
|
-
/* @__PURE__ */ jsxs(CompanyNameStyled, { children: [
|
|
14
|
-
/* @__PURE__ */ jsx(
|
|
15
|
-
TypographyBannerStyled,
|
|
16
|
-
{
|
|
17
|
-
variant: "subtitleDens",
|
|
18
|
-
skeletonWidth: "70%",
|
|
19
|
-
children: name
|
|
20
|
-
}
|
|
21
|
-
),
|
|
22
|
-
/* @__PURE__ */ jsx(TypographyBannerStyled, { variant: "subtitle", skeletonWidth: "40%", children: getLabel("company_name_subtitle") })
|
|
23
|
-
] }),
|
|
24
|
-
/* @__PURE__ */ jsx(LanguagePopover, {})
|
|
25
|
-
] }),
|
|
26
|
-
/* @__PURE__ */ jsx(WrapperFormContentStyled, { children: /* @__PURE__ */ jsxs(FormContentStyled, { style: { overflow: "auto", position: "relative" }, children: [
|
|
27
|
-
/* @__PURE__ */ jsxs(ContainerModuleNameStyled, { children: [
|
|
28
|
-
/* @__PURE__ */ jsx(Typography, { variant: "h3", skeletonWidth: "20%", children: getLabel("module_name") }),
|
|
29
|
-
/* @__PURE__ */ jsx(
|
|
30
|
-
Typography,
|
|
31
|
-
{
|
|
32
|
-
variant: "subtitle",
|
|
33
|
-
skeletonWidth: "40%",
|
|
34
|
-
children: getLabel("module_description")
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
] }),
|
|
38
|
-
children
|
|
39
|
-
] }) })
|
|
40
|
-
] });
|
|
41
|
-
};
|
|
42
|
-
export {
|
|
43
|
-
MobileContent as M
|
|
44
|
-
};
|