@m4l/layouts 9.3.4 → 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/components/ModuleDetailTabs/useModuleDatailTabs.d.ts +85 -85
- 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
|
+
}
|
|
@@ -20,120 +20,120 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
|
|
|
20
20
|
size?: Extract<import('@m4l/styles').Sizes, "small" | "medium"> | undefined;
|
|
21
21
|
children?: null | undefined;
|
|
22
22
|
ref?: ((instance: HTMLDivElement | null) => void | import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES[keyof import('react').DO_NOT_USE_OR_YOU_WILL_BE_FIRED_CALLBACK_REF_RETURN_VALUES]) | import('react').RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
-
title?: string | undefined;
|
|
23
|
+
title?: string | undefined | undefined;
|
|
24
24
|
component?: React.ElementType | undefined;
|
|
25
|
-
id?: string | undefined;
|
|
25
|
+
id?: string | undefined | undefined;
|
|
26
26
|
disabled?: boolean | undefined;
|
|
27
27
|
action?: React.Ref<import('@mui/material').ButtonBaseActions> | undefined;
|
|
28
|
-
hidden?: boolean | undefined;
|
|
28
|
+
hidden?: boolean | undefined | undefined;
|
|
29
29
|
color?: Extract<import('@m4l/styles').ComponentPalletColor, "default"> | undefined;
|
|
30
|
-
content?: string | undefined;
|
|
30
|
+
content?: string | undefined | undefined;
|
|
31
31
|
style?: React.CSSProperties | undefined;
|
|
32
|
-
translate?: "yes" | "no" | undefined;
|
|
32
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
33
33
|
urlIcon?: string | undefined;
|
|
34
|
-
lang?: string | undefined;
|
|
35
|
-
slot?: string | undefined;
|
|
36
|
-
dir?: string | undefined;
|
|
34
|
+
lang?: string | undefined | undefined;
|
|
35
|
+
slot?: string | undefined | undefined;
|
|
36
|
+
dir?: string | undefined | undefined;
|
|
37
37
|
className?: string | undefined;
|
|
38
38
|
classes?: (Partial<import('@mui/material').TabClasses> & Partial<import('@mui/material').ClassNameMap<never>>) | undefined;
|
|
39
39
|
sx?: import('@mui/system').SxProps<import('@mui/material').Theme> | undefined;
|
|
40
40
|
key?: import('react').Key | null | undefined;
|
|
41
|
-
defaultChecked?: boolean | undefined;
|
|
41
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
42
42
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
43
|
-
suppressContentEditableWarning?: boolean | undefined;
|
|
44
|
-
suppressHydrationWarning?: boolean | undefined;
|
|
45
|
-
accessKey?: string | undefined;
|
|
46
|
-
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {});
|
|
47
|
-
autoFocus?: boolean | undefined;
|
|
48
|
-
contentEditable?: (boolean | "false" | "true") | "
|
|
49
|
-
contextMenu?: string | undefined;
|
|
43
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
44
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
45
|
+
accessKey?: string | undefined | undefined;
|
|
46
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
47
|
+
autoFocus?: boolean | undefined | undefined;
|
|
48
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
49
|
+
contextMenu?: string | undefined | undefined;
|
|
50
50
|
draggable?: (boolean | "false" | "true") | undefined;
|
|
51
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
52
|
-
nonce?: string | undefined;
|
|
51
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
52
|
+
nonce?: string | undefined | undefined;
|
|
53
53
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
54
54
|
tabIndex?: NonNullable<React.HTMLAttributes<any>["tabIndex"]> | undefined;
|
|
55
|
-
radioGroup?: string | undefined;
|
|
55
|
+
radioGroup?: string | undefined | undefined;
|
|
56
56
|
role?: import('react').AriaRole | undefined;
|
|
57
|
-
about?: string | undefined;
|
|
58
|
-
datatype?: string | undefined;
|
|
57
|
+
about?: string | undefined | undefined;
|
|
58
|
+
datatype?: string | undefined | undefined;
|
|
59
59
|
inlist?: any;
|
|
60
|
-
prefix?: string | undefined;
|
|
61
|
-
property?: string | undefined;
|
|
62
|
-
rel?: string | undefined;
|
|
63
|
-
resource?: string | undefined;
|
|
64
|
-
rev?: string | undefined;
|
|
65
|
-
typeof?: string | undefined;
|
|
66
|
-
vocab?: string | undefined;
|
|
67
|
-
autoCorrect?: string | undefined;
|
|
68
|
-
autoSave?: string | undefined;
|
|
69
|
-
itemProp?: string | undefined;
|
|
70
|
-
itemScope?: boolean | undefined;
|
|
71
|
-
itemType?: string | undefined;
|
|
72
|
-
itemID?: string | undefined;
|
|
73
|
-
itemRef?: string | undefined;
|
|
74
|
-
results?: number | undefined;
|
|
75
|
-
security?: string | undefined;
|
|
76
|
-
unselectable?: "on" | "off" | undefined;
|
|
77
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
78
|
-
is?: string | undefined;
|
|
79
|
-
exportparts?: string | undefined;
|
|
80
|
-
part?: string | undefined;
|
|
81
|
-
"aria-activedescendant"?: string | undefined;
|
|
60
|
+
prefix?: string | undefined | undefined;
|
|
61
|
+
property?: string | undefined | undefined;
|
|
62
|
+
rel?: string | undefined | undefined;
|
|
63
|
+
resource?: string | undefined | undefined;
|
|
64
|
+
rev?: string | undefined | undefined;
|
|
65
|
+
typeof?: string | undefined | undefined;
|
|
66
|
+
vocab?: string | undefined | undefined;
|
|
67
|
+
autoCorrect?: string | undefined | undefined;
|
|
68
|
+
autoSave?: string | undefined | undefined;
|
|
69
|
+
itemProp?: string | undefined | undefined;
|
|
70
|
+
itemScope?: boolean | undefined | undefined;
|
|
71
|
+
itemType?: string | undefined | undefined;
|
|
72
|
+
itemID?: string | undefined | undefined;
|
|
73
|
+
itemRef?: string | undefined | undefined;
|
|
74
|
+
results?: number | undefined | undefined;
|
|
75
|
+
security?: string | undefined | undefined;
|
|
76
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
77
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
78
|
+
is?: string | undefined | undefined;
|
|
79
|
+
exportparts?: string | undefined | undefined;
|
|
80
|
+
part?: string | undefined | undefined;
|
|
81
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
82
82
|
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
83
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
84
|
-
"aria-braillelabel"?: string | undefined;
|
|
85
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
83
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
84
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
85
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
86
86
|
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
87
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
88
|
-
"aria-colcount"?: number | undefined;
|
|
89
|
-
"aria-colindex"?: number | undefined;
|
|
90
|
-
"aria-colindextext"?: string | undefined;
|
|
91
|
-
"aria-colspan"?: number | undefined;
|
|
92
|
-
"aria-controls"?: string | undefined;
|
|
93
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
94
|
-
"aria-describedby"?: string | undefined;
|
|
95
|
-
"aria-description"?: string | undefined;
|
|
96
|
-
"aria-details"?: string | undefined;
|
|
87
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
88
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
89
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
90
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
91
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
92
|
+
"aria-controls"?: string | undefined | undefined;
|
|
93
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
94
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
95
|
+
"aria-description"?: string | undefined | undefined;
|
|
96
|
+
"aria-details"?: string | undefined | undefined;
|
|
97
97
|
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
98
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
99
|
-
"aria-errormessage"?: string | undefined;
|
|
98
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
99
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
100
100
|
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
101
|
-
"aria-flowto"?: string | undefined;
|
|
101
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
102
102
|
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
103
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
103
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
104
104
|
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
105
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
106
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
107
|
-
"aria-label"?: string | undefined;
|
|
108
|
-
"aria-labelledby"?: string | undefined;
|
|
109
|
-
"aria-level"?: number | undefined;
|
|
110
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
105
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
106
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
107
|
+
"aria-label"?: string | undefined | undefined;
|
|
108
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
109
|
+
"aria-level"?: number | undefined | undefined;
|
|
110
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
111
111
|
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
112
112
|
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
113
113
|
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
114
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
115
|
-
"aria-owns"?: string | undefined;
|
|
116
|
-
"aria-placeholder"?: string | undefined;
|
|
117
|
-
"aria-posinset"?: number | undefined;
|
|
118
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
114
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
115
|
+
"aria-owns"?: string | undefined | undefined;
|
|
116
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
117
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
118
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
119
119
|
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
120
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
120
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
121
121
|
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
122
|
-
"aria-roledescription"?: string | undefined;
|
|
123
|
-
"aria-rowcount"?: number | undefined;
|
|
124
|
-
"aria-rowindex"?: number | undefined;
|
|
125
|
-
"aria-rowindextext"?: string | undefined;
|
|
126
|
-
"aria-rowspan"?: number | undefined;
|
|
122
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
123
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
124
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
125
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
126
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
127
127
|
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
128
|
-
"aria-setsize"?: number | undefined;
|
|
129
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
130
|
-
"aria-valuemax"?: number | undefined;
|
|
131
|
-
"aria-valuemin"?: number | undefined;
|
|
132
|
-
"aria-valuenow"?: number | undefined;
|
|
133
|
-
"aria-valuetext"?: string | undefined;
|
|
128
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
129
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
130
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
131
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
132
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
133
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
134
134
|
dangerouslySetInnerHTML?: {
|
|
135
135
|
__html: string | TrustedHTML;
|
|
136
|
-
} | undefined;
|
|
136
|
+
} | undefined | undefined;
|
|
137
137
|
onCopy?: import('react').ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
138
138
|
onCopyCapture?: import('react').ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
139
139
|
onCut?: import('react').ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
@@ -304,7 +304,7 @@ export declare function useModuleDetailTabs<T extends Record<string, any> = Reco
|
|
|
304
304
|
touchRippleRef?: React.Ref<import('@mui/material/ButtonBase/TouchRipple').TouchRippleActions> | undefined;
|
|
305
305
|
disableFocusRipple?: boolean | undefined;
|
|
306
306
|
ariaLabel?: string | undefined;
|
|
307
|
-
iconPosition?:
|
|
307
|
+
iconPosition?: "top" | "bottom" | "start" | "end" | undefined;
|
|
308
308
|
wrapped?: boolean | undefined;
|
|
309
309
|
}[];
|
|
310
310
|
handleChangeTab: (newValue: string) => void;
|
|
@@ -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>>, {}>;
|