@m4l/components 0.1.95 → 0.1.97
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/export.d.ts +13 -4
- package/{commonjs.565e6834.js → commonjs.333e55c7.js} +5 -0
- package/components/AccountPopover/{index.3711d526.js → index.252cc907.js} +2 -4
- package/components/AccountPopover/index.d.ts +1 -0
- package/components/AppBar/AppBar.d.ts +24 -0
- package/components/AppBar/classes/index.d.ts +2 -0
- package/components/AppBar/classes/types.d.ts +2 -0
- package/components/AppBar/{index.512042a9.js → index.f1a995c7.js} +26 -5
- package/components/AppBar/types.d.ts +14 -0
- package/components/CommonActions/components/ActionCancel/{index.bb383946.js → index.918fe98b.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.97ecdeef.js → index.8b12f4b2.js} +5 -14
- package/components/CommonActions/components/ActionFormIntro/{index.3deddb07.js → index.c2e8b360.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.4bc5780e.js → index.ee716861.js} +2 -2
- package/components/CommonActions/components/Actions/{index.ccf731c1.js → index.2f6286eb.js} +1 -1
- package/components/DataGrid/formatters/columnPointsFormatter/{index.5e645334.js → index.a19b7b90.js} +1 -1
- package/components/DataGrid/{index.47a152d0.js → index.227eb189.js} +6 -7
- package/components/DataGrid/subcomponents/Actions/{index.8d9feca6.js → index.1b896eae.js} +9 -9
- package/components/DataGrid/types.d.ts +3 -0
- package/components/DraggableWindow/{index.8f423ed7.js → index.f9f067bd.js} +1 -1
- package/components/DynamicFilter/classes/index.d.ts +1 -1
- package/components/DynamicFilter/classes/types.d.ts +1 -0
- package/components/DynamicFilter/{index.a50a1483.js → index.91f911cc.js} +16 -12
- package/components/GridLayout/{index.4a245d9e.js → index.e8c04242.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.ea745285.js → index.4d38f12e.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.edb59c22.js → index.e25df1dc.js} +1 -1
- package/components/Icon/index.4e424a81.js +248 -0
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/{index.9799dfc0.js → index.8b134b95.js} +44 -2
- package/components/Image/types.d.ts +2 -2
- package/components/LanguagePopover/{index.087b430d.js → index.c5eb0191.js} +2 -2
- package/components/LinearProgressIndeterminate/{index.c46da124.js → index.a0ad2d9e.js} +1 -1
- package/components/LoadingError/{index.08cf9728.js → index.536db030.js} +3 -3
- package/components/MFLoader/{index.4b531d2d.js → index.3ba9d320.js} +1 -1
- package/components/ModalDialog/{index.ec55087e.js → index.89e26413.js} +4 -4
- package/components/NoItemSelected/{index.8a2a13f8.js → index.216d87c8.js} +1 -1
- package/components/ObjectLogs/{index.55b5c933.js → index.882325f1.js} +6 -6
- package/components/Page/{index.49d18c85.js → index.c100afa4.js} +1 -1
- package/components/PaperForm/{index.a2b69977.js → index.b7918854.js} +1 -1
- package/components/Period/{index.8cccbb4b.js → index.5f3af84b.js} +2 -2
- package/components/PrintingSystem/{index.d1fd7818.js → index.2147b2c3.js} +14 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.f6410daa.js → index.7bed0f05.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.6b30abe0.js → index.c552eb03.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.dcac3bc0.js → index.007d01ab.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.dd21921e.js → index.72ef9241.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.eb5ebe06.js → index.2fac7376.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.48e8769c.js → index.01ae9ede.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.ccec72dc.js → index.cfd86519.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.807e0343.js → index.c4fa3813.js} +1 -1
- package/components/PrintingSystem/subcomponents/QRImageNode/index.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/QRImageNode/types.d.ts +3 -0
- package/components/PrintingSystem/subcomponents/SectionNode/{index.622df623.js → index.13e656ad.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.f06ac3d5.js → index.0c3db261.js} +1 -1
- package/components/PrintingSystem/types.d.ts +10 -1
- package/components/PropertyValue/classes/index.d.ts +1 -1
- package/components/PropertyValue/classes/types.d.ts +4 -1
- package/components/PropertyValue/index.3d5e8c52.js +206 -0
- package/components/PropertyValue/types.d.ts +5 -7
- package/components/Resizeable/{index.8c53c1fa.js → index.6478d7d8.js} +1 -1
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/{index.ce301edd.js → index.ed0211ba.js} +11 -11
- package/components/SideBar/types.d.ts +3 -3
- package/components/SplitLayout/{index.9ef430f6.js → index.30fd5861.js} +1 -1
- package/components/ToastContainer/ToastContainer.d.ts +3 -0
- package/components/ToastContainer/classes/constants.d.ts +1 -0
- package/components/ToastContainer/classes/index.d.ts +8 -0
- package/components/ToastContainer/classes/types.d.ts +9 -0
- package/components/ToastContainer/index.2343fd28.js +87 -0
- package/components/ToastContainer/index.d.ts +2 -0
- package/components/ToastContainer/subcomponents/ToastMessage/index.d.ts +3 -0
- package/components/ToastContainer/subcomponents/ToastMessage/types.d.ts +5 -0
- package/components/ToastContainer/types.d.ts +4 -0
- package/components/areas/components/AreasAdmin/{index.3c182644.js → index.917f9ff2.js} +11 -11
- package/components/areas/components/AreasViewer/{index.a0a969e7.js → index.7d3415a5.js} +15 -15
- package/components/areas/contexts/AreasContext/{index.d43aceaf.js → index.e3324e71.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6a1d525c.js → index.c6264add.js} +1 -1
- package/components/formatters/BooleanFormatter/{index.00596be3.js → index.35005602.js} +2 -2
- package/components/formatters/PointsFormatter/{index.80a4e414.js → index.5c94c5e8.js} +2 -2
- package/components/formatters/PointsFormatter/index.d.ts +1 -1
- package/components/formatters/{index.1906141f.js → index.e8bd78a5.js} +1 -1
- package/components/hook-form/RHFAutocomplete/classes/types.d.ts +2 -0
- package/components/hook-form/RHFAutocomplete/{index.a5f1034a.js → index.b01b97e3.js} +26 -35
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/index.d.ts +1 -1
- package/components/hook-form/RHFAutocomplete/subcomponents/Skeleton/types.d.ts +1 -2
- package/components/hook-form/RHFAutocomplete/types.d.ts +8 -3
- package/components/hook-form/RHFAutocompleteAsync/{index.047ff594.js → index.8241ce18.js} +1 -1
- package/components/hook-form/RHFColorPicker/classes/constants.d.ts +1 -0
- package/components/hook-form/RHFColorPicker/classes/index.d.ts +11 -0
- package/components/hook-form/RHFColorPicker/classes/types.d.ts +11 -0
- package/components/hook-form/RHFColorPicker/index.d.ts +9 -0
- package/components/hook-form/RHFColorPicker/subcomponents/Skeleton/indext.d.ts +2 -0
- package/components/hook-form/RHFColorPicker/types.d.ts +8 -0
- package/components/hook-form/RHFDateTime/{index.a273293c.js → index.e8ea2555.js} +1 -1
- package/components/hook-form/RHFDateTime/types.d.ts +0 -1
- package/components/hook-form/RHFPeriod/{index.53827a17.js → index.584f515c.js} +1 -1
- package/components/hook-form/RHFTextField/{index.5801338a.js → index.87c99323.js} +2 -2
- package/components/hook-form/RHFUpload/{index.f04df1c9.js → index.f2983d70.js} +4 -4
- package/components/hook-form/index.d.ts +1 -0
- package/components/index.d.ts +1 -0
- package/components/modal/{WindowBase.beb2fb3e.js → WindowBase.b1f12376.js} +3 -3
- package/components/modal/{WindowConfirm.477e6f63.js → WindowConfirm.481ef7a0.js} +6 -6
- package/components/mui_extended/Accordion/{index.08ff7e2f.js → index.54101c95.js} +3 -3
- package/components/mui_extended/Button/classes/types.d.ts +2 -0
- package/components/mui_extended/Button/{index.857c2dfe.js → index.158a9a65.js} +3 -3
- package/components/mui_extended/IconButton/{index.5499ffdb.js → index.3c568901.js} +1 -1
- package/components/mui_extended/LoadingButton/classes/constants.d.ts +1 -1
- package/components/mui_extended/MenuActions/{index.d8d0c00e.js → index.4817512a.js} +2 -2
- package/components/mui_extended/Pager/{index.47343062.js → index.ba2163c2.js} +1 -1
- package/components/mui_extended/Tab/{index.2f9a6815.js → index.ed3c7b65.js} +1 -1
- package/contexts/ModalContext/{index.436c2938.js → index.b39d303d.js} +1 -1
- package/hooks/useFormAddEdit/{index.b9ccd95f.js → index.6929cc88.js} +5 -4
- package/hooks/useFormAddEdit/types.d.ts +1 -0
- package/hooks/useModal/{index.05d1821e.js → index.abdc0962.js} +1 -1
- package/index.js +106 -91
- package/node_modules.a40403af.js +6921 -0
- package/package.json +4 -2
- package/{react-draggable.e4725f3a.js → react-draggable.ee21cb7e.js} +4 -4
- package/{react-json-view.57125fcf.js → react-json-view.5636414a.js} +1 -1
- package/{react-resizable.c07d63fb.js → react-resizable.ee028152.js} +5 -5
- package/{react-splitter-layout.8b1655c8.js → react-splitter-layout.c5d98bf7.js} +3 -3
- package/vendor.c4bc5f4d.js +249 -0
- package/components/Icon/index.11a7a77c.js +0 -147
- package/components/PropertyValue/index.4ae0bb21.js +0 -220
- package/components/PropertyValue/skeleton.d.ts +0 -3
- package/vendor.6019bf6e.js +0 -104
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/index.d.ts +0 -0
- /package/components/GridLayout/subcomponents/{Griditem → GridItem}/types.d.ts +0 -0
- /package/utils/{index.6469f148.js → index.de903261.js} +0 -0
|
@@ -3,9 +3,12 @@ export interface PropertyValueClassesType {
|
|
|
3
3
|
root: string;
|
|
4
4
|
property: string;
|
|
5
5
|
value: string;
|
|
6
|
-
|
|
6
|
+
iconProperty: string;
|
|
7
7
|
isDisabled: string;
|
|
8
8
|
isFocus: string;
|
|
9
|
+
variantIsForm: string;
|
|
10
|
+
isTabSelected: string;
|
|
11
|
+
isMobile: string;
|
|
9
12
|
}
|
|
10
13
|
export declare type PropertyValueClassesKey = keyof PropertyValueClassesType;
|
|
11
14
|
export declare type Classes = ReturnType<typeof propertyValueUtilityClasses>;
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
import { styled } from "@mui/material/styles";
|
|
2
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
3
|
+
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import clsx from "clsx";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
|
+
import { g as getNameDataTestId } from "../../vendor.c4bc5f4d.js";
|
|
8
|
+
import { useState } from "react";
|
|
9
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
10
|
+
import { I as Icon } from "../Icon/index.4e424a81.js";
|
|
11
|
+
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
12
|
+
const PropertyValueRoot = styled("div")(({
|
|
13
|
+
theme
|
|
14
|
+
}) => ({
|
|
15
|
+
...theme.components?.M4LPropertyValue?.styleOverrides
|
|
16
|
+
}));
|
|
17
|
+
const componentName = "M4LPropertyValue";
|
|
18
|
+
generateUtilityClasses(componentName, [
|
|
19
|
+
"root",
|
|
20
|
+
"property",
|
|
21
|
+
"iconProperty",
|
|
22
|
+
"value",
|
|
23
|
+
"isDisabled",
|
|
24
|
+
"isFocus",
|
|
25
|
+
"variantIsForm",
|
|
26
|
+
"isTabSelected",
|
|
27
|
+
"isMobile"
|
|
28
|
+
]);
|
|
29
|
+
function getPropertyValueUtilityClass(slot) {
|
|
30
|
+
return generateUtilityClass(componentName, slot);
|
|
31
|
+
}
|
|
32
|
+
const propertyValueUtilityClasses = (ownerState) => {
|
|
33
|
+
const slots = {
|
|
34
|
+
root: ["root", ownerState.disabled && "isDisabled", ownerState.isFocus && "isFocus", ownerState.isForm && "variantIsForm", ownerState.isTabSelected && "isTabSelected", ownerState.isMobile && "isMobile"],
|
|
35
|
+
property: ["property"],
|
|
36
|
+
iconProperty: ["iconProperty"],
|
|
37
|
+
value: ["value"]
|
|
38
|
+
};
|
|
39
|
+
const composedClasses = unstable_composeClasses(slots, getPropertyValueUtilityClass, {});
|
|
40
|
+
return {
|
|
41
|
+
...composedClasses
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
const COMPONENT_PREFIX = "m4l-property-value";
|
|
45
|
+
const TEST_PROPS_DATA = `${COMPONENT_PREFIX}-data`;
|
|
46
|
+
function PropertyValue(props) {
|
|
47
|
+
const {
|
|
48
|
+
property,
|
|
49
|
+
iconProperty,
|
|
50
|
+
value,
|
|
51
|
+
propertyWidth = 200,
|
|
52
|
+
valueHeight = "auto",
|
|
53
|
+
valueWidth = "100",
|
|
54
|
+
valueWidthMobile,
|
|
55
|
+
isForm,
|
|
56
|
+
className,
|
|
57
|
+
dataTestId = "",
|
|
58
|
+
disabled = false
|
|
59
|
+
} = props;
|
|
60
|
+
const isDesktop = useResponsiveDesktop();
|
|
61
|
+
const [isFocus, setIsFocus] = useState(false);
|
|
62
|
+
const [isTabSelected, setIsTabSelected] = useState(false);
|
|
63
|
+
const getValueW = () => {
|
|
64
|
+
if (valueWidthMobile && !isDesktop) {
|
|
65
|
+
return valueWidthMobile;
|
|
66
|
+
}
|
|
67
|
+
if (valueWidth === 75 && isDesktop) {
|
|
68
|
+
return 75;
|
|
69
|
+
} else if (valueWidth === 75 && !isDesktop) {
|
|
70
|
+
return 100;
|
|
71
|
+
}
|
|
72
|
+
if (valueWidth === 50 && isDesktop) {
|
|
73
|
+
return 50;
|
|
74
|
+
} else if (valueWidth === 50 && !isDesktop) {
|
|
75
|
+
return 100;
|
|
76
|
+
}
|
|
77
|
+
if (valueWidth === 25 && isDesktop || valueWidth === 12.5 && isDesktop) {
|
|
78
|
+
return valueWidth;
|
|
79
|
+
}
|
|
80
|
+
if (valueWidth === 25 && !isDesktop) {
|
|
81
|
+
return 50;
|
|
82
|
+
}
|
|
83
|
+
if (valueWidth === 12.5 && !isDesktop) {
|
|
84
|
+
return 25;
|
|
85
|
+
}
|
|
86
|
+
return 100;
|
|
87
|
+
};
|
|
88
|
+
const handlerFocus = () => {
|
|
89
|
+
setIsFocus(true);
|
|
90
|
+
};
|
|
91
|
+
const handlerKeyUp = (event) => {
|
|
92
|
+
if (event.key === "Tab") {
|
|
93
|
+
console.log("handlerKeyDown condition ok");
|
|
94
|
+
setIsTabSelected(true);
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
const handlerOnBlur = () => {
|
|
98
|
+
setIsFocus(false);
|
|
99
|
+
setIsTabSelected(false);
|
|
100
|
+
};
|
|
101
|
+
const ownerState = {
|
|
102
|
+
disabled: isForm && disabled ? disabled : false,
|
|
103
|
+
isFocus: !disabled && isForm ? isFocus : false,
|
|
104
|
+
isTabSelected: !disabled && isForm ? isTabSelected : false,
|
|
105
|
+
isForm: isForm ? true : false,
|
|
106
|
+
isMobile: !isDesktop
|
|
107
|
+
};
|
|
108
|
+
const classes = propertyValueUtilityClasses(ownerState);
|
|
109
|
+
if (!isForm) {
|
|
110
|
+
return /* @__PURE__ */ jsxs(PropertyValueRoot, {
|
|
111
|
+
className: clsx(classes.root, className),
|
|
112
|
+
style: {
|
|
113
|
+
gridTemplateColumns: propertyWidth ? `${propertyWidth}px 1fr` : "150px 1fr"
|
|
114
|
+
},
|
|
115
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
116
|
+
[TEST_PROPS_DATA]: JSON.stringify([{
|
|
117
|
+
property: property ? true : false,
|
|
118
|
+
value: value ? true : false
|
|
119
|
+
}]),
|
|
120
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
121
|
+
} : {},
|
|
122
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
123
|
+
className: classes.property,
|
|
124
|
+
style: {
|
|
125
|
+
width: propertyWidth && isDesktop ? propertyWidth : "150px",
|
|
126
|
+
minWidth: propertyWidth && isDesktop ? propertyWidth : "150px"
|
|
127
|
+
},
|
|
128
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
129
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "property", dataTestId)
|
|
130
|
+
} : {},
|
|
131
|
+
children: [iconProperty ? /* @__PURE__ */ jsx(Icon, {
|
|
132
|
+
src: iconProperty,
|
|
133
|
+
className: classes.iconProperty
|
|
134
|
+
}) : null, /* @__PURE__ */ jsx(Typography, {
|
|
135
|
+
variant: "body",
|
|
136
|
+
skeletonWidth: "70px",
|
|
137
|
+
children: property
|
|
138
|
+
})]
|
|
139
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
140
|
+
className: classes.value,
|
|
141
|
+
style: {
|
|
142
|
+
width: `${getValueW()}%`,
|
|
143
|
+
maxWidth: `${getValueW()}%`,
|
|
144
|
+
height: valueHeight
|
|
145
|
+
},
|
|
146
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
147
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "value", dataTestId)
|
|
148
|
+
} : {},
|
|
149
|
+
children: value
|
|
150
|
+
})]
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
return /* @__PURE__ */ jsxs(PropertyValueRoot, {
|
|
154
|
+
className: clsx(classes.root, className),
|
|
155
|
+
style: {
|
|
156
|
+
gridTemplateColumns: propertyWidth ? `${propertyWidth}px 1fr` : "150px 1fr"
|
|
157
|
+
},
|
|
158
|
+
role: "button",
|
|
159
|
+
tabIndex: 0,
|
|
160
|
+
onClick: handlerFocus,
|
|
161
|
+
onBlur: handlerOnBlur,
|
|
162
|
+
onKeyUp: handlerKeyUp,
|
|
163
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
164
|
+
[TEST_PROPS_DATA]: JSON.stringify([{
|
|
165
|
+
property: property ? true : false,
|
|
166
|
+
value: value ? true : false
|
|
167
|
+
}]),
|
|
168
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
169
|
+
} : {},
|
|
170
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
171
|
+
className: clsx(classes.root, className),
|
|
172
|
+
style: {
|
|
173
|
+
width: propertyWidth ? `${propertyWidth}px 1fr` : "150px 1fr"
|
|
174
|
+
},
|
|
175
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
176
|
+
[TEST_PROPS_DATA]: JSON.stringify([{
|
|
177
|
+
property: property ? true : false,
|
|
178
|
+
value: value ? true : false
|
|
179
|
+
}]),
|
|
180
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
181
|
+
} : {},
|
|
182
|
+
children: [iconProperty ? /* @__PURE__ */ jsx(Icon, {
|
|
183
|
+
src: iconProperty,
|
|
184
|
+
className: classes.iconProperty
|
|
185
|
+
}) : null, /* @__PURE__ */ jsx(Typography, {
|
|
186
|
+
variant: "body",
|
|
187
|
+
skeletonWidth: "70px",
|
|
188
|
+
children: property
|
|
189
|
+
})]
|
|
190
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
191
|
+
className: classes.value,
|
|
192
|
+
style: {
|
|
193
|
+
width: `${getValueW()}%`,
|
|
194
|
+
maxWidth: `${getValueW()}%`,
|
|
195
|
+
height: valueHeight
|
|
196
|
+
},
|
|
197
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
198
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "value", dataTestId)
|
|
199
|
+
} : {},
|
|
200
|
+
children: value
|
|
201
|
+
})]
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
export {
|
|
205
|
+
PropertyValue as P
|
|
206
|
+
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { ReactNode } from 'react';
|
|
2
2
|
export interface PropertyProps {
|
|
3
3
|
propertyWidth?: number;
|
|
4
|
+
iconProperty?: string;
|
|
4
5
|
}
|
|
5
6
|
export interface ValueProps {
|
|
6
7
|
valueHeight?: number | string;
|
|
@@ -15,12 +16,9 @@ export interface PropertyValueProps extends PropertyProps, ValueProps {
|
|
|
15
16
|
dataTestId?: string;
|
|
16
17
|
disabled?: boolean;
|
|
17
18
|
}
|
|
18
|
-
export declare type WrapperProps = PropertyProps & Pick<PropertyValueProps, 'isForm'>;
|
|
19
|
-
export declare type WrapperPropertyProps = WrapperProps;
|
|
20
|
-
export declare type WrapperValueProps = Omit<ValueProps, 'valueWidthMobile'>;
|
|
21
|
-
export interface SKTPropertyProps extends Pick<PropertyValueProps, 'dataTestId'> {
|
|
22
|
-
className: string;
|
|
23
|
-
}
|
|
24
19
|
export interface OwnerState extends Pick<PropertyValueProps, 'disabled'> {
|
|
25
|
-
|
|
20
|
+
isFocus: boolean;
|
|
21
|
+
isForm: boolean;
|
|
22
|
+
isTabSelected: boolean;
|
|
23
|
+
isMobile: boolean;
|
|
26
24
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { a as ResizableBox } from "../../react-resizable.
|
|
2
|
+
import { a as ResizableBox } from "../../react-resizable.ee028152.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
const WrapperResizeable = styled(ResizableBox)(({
|
|
5
5
|
theme
|
|
@@ -5,11 +5,11 @@ export declare const getSideBarClassesByState: (ownerState: SideBarState) => {
|
|
|
5
5
|
root: string;
|
|
6
6
|
drawer: string;
|
|
7
7
|
popover: string;
|
|
8
|
+
containerLogo: string;
|
|
8
9
|
containerSideBarLogo: string;
|
|
9
10
|
contentDesktop: string;
|
|
10
11
|
contentMobile: string;
|
|
11
12
|
collapseButton: string;
|
|
12
|
-
containerLogo: string;
|
|
13
13
|
contentGroups: string;
|
|
14
14
|
wrapperGroup: string;
|
|
15
15
|
wrapperGroupTitle: string;
|
|
@@ -4,12 +4,12 @@ import { styled as styled$1, generateUtilityClasses, ListItemText, Tooltip, List
|
|
|
4
4
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
5
5
|
import { createContext, useContext, useState, useEffect } from "react";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
7
|
+
import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
|
|
8
8
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
9
9
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
10
|
-
import { I as Image } from "../Image/index.
|
|
11
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
12
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
10
|
+
import { I as Image } from "../Image/index.8b134b95.js";
|
|
11
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.3c568901.js";
|
|
12
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.4e424a81.js";
|
|
13
13
|
import { T as Typography } from "../mui_extended/Typography/index.379dd374.js";
|
|
14
14
|
import clsx from "clsx";
|
|
15
15
|
import { useLocation } from "react-router-dom";
|
|
@@ -235,7 +235,7 @@ function CollapseButton(props) {
|
|
|
235
235
|
children: /* @__PURE__ */ jsx(Image, {
|
|
236
236
|
width: "100%",
|
|
237
237
|
height: "100%",
|
|
238
|
-
src: companyLogoNormalUrl,
|
|
238
|
+
src: companyLogoNormalUrl || "",
|
|
239
239
|
alt: "logo"
|
|
240
240
|
}, "Logo")
|
|
241
241
|
}), /* @__PURE__ */ jsx("div", {
|
|
@@ -905,7 +905,7 @@ const ContentDesktop = () => {
|
|
|
905
905
|
...process.env.NODE_ENV !== "production" ? {
|
|
906
906
|
[TEST_PROP_ID]: getNameDataTestId("contentDesktop")
|
|
907
907
|
} : {},
|
|
908
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
908
|
+
children: [companyLogoSmallUrl ? /* @__PURE__ */ jsx("div", {
|
|
909
909
|
className: classes.containerSideBarLogo,
|
|
910
910
|
...process.env.NODE_ENV !== "production" ? {
|
|
911
911
|
[TEST_PROP_ID]: getNameDataTestId("containerSideBarLogo")
|
|
@@ -920,16 +920,16 @@ const ContentDesktop = () => {
|
|
|
920
920
|
height: "60px",
|
|
921
921
|
src: companyLogoSmallUrl,
|
|
922
922
|
alt: "logo"
|
|
923
|
-
}, "Logo"), /* @__PURE__ */ jsx(Typography, {
|
|
923
|
+
}, "Logo"), companyName ? /* @__PURE__ */ jsx(Typography, {
|
|
924
924
|
variant: "subtitleDens",
|
|
925
925
|
skeletonWidth: "100px",
|
|
926
926
|
style: {
|
|
927
927
|
width: collapsed ? "0px" : "auto"
|
|
928
928
|
},
|
|
929
929
|
children: companyName
|
|
930
|
-
})]
|
|
930
|
+
}) : null]
|
|
931
931
|
})
|
|
932
|
-
}), /* @__PURE__ */ jsx(ContentGroups, {}), /* @__PURE__ */ jsx(CollapseButton, {
|
|
932
|
+
}) : null, /* @__PURE__ */ jsx(ContentGroups, {}), /* @__PURE__ */ jsx(CollapseButton, {
|
|
933
933
|
onToggleCollapse,
|
|
934
934
|
collapsed
|
|
935
935
|
})]
|
|
@@ -996,7 +996,7 @@ const ContentMobile = () => {
|
|
|
996
996
|
...process.env.NODE_ENV !== "production" ? {
|
|
997
997
|
[TEST_PROP_ID]: getNameDataTestId("contentMobile")
|
|
998
998
|
} : {},
|
|
999
|
-
children: [/* @__PURE__ */ jsx("div", {
|
|
999
|
+
children: [companyLogoSmallUrl ? /* @__PURE__ */ jsx("div", {
|
|
1000
1000
|
className: classes.containerSideBarLogo,
|
|
1001
1001
|
...process.env.NODE_ENV !== "production" ? {
|
|
1002
1002
|
[TEST_PROP_ID]: getNameDataTestId("containerSideBarLogo")
|
|
@@ -1017,7 +1017,7 @@ const ContentMobile = () => {
|
|
|
1017
1017
|
children: companyName
|
|
1018
1018
|
})]
|
|
1019
1019
|
})
|
|
1020
|
-
}), /* @__PURE__ */ jsx(ContentGroups, {})]
|
|
1020
|
+
}) : null, /* @__PURE__ */ jsx(ContentGroups, {})]
|
|
1021
1021
|
})]
|
|
1022
1022
|
})
|
|
1023
1023
|
});
|
|
@@ -21,11 +21,11 @@ export interface SideBarProps {
|
|
|
21
21
|
onToggleVisible: VoidFunction;
|
|
22
22
|
collapsed: boolean;
|
|
23
23
|
visible: boolean;
|
|
24
|
-
companyLogoSmallUrl
|
|
25
|
-
companyLogoNormalUrl
|
|
24
|
+
companyLogoSmallUrl?: string;
|
|
25
|
+
companyLogoNormalUrl?: string;
|
|
26
26
|
collapsedWidht?: string | number;
|
|
27
27
|
unCollapsedWidht?: string | number;
|
|
28
|
-
companyName
|
|
28
|
+
companyName?: string;
|
|
29
29
|
}
|
|
30
30
|
export declare type Classes = ReturnType<typeof getSideBarClassesByState>;
|
|
31
31
|
export declare type SideBarState = Pick<SideBarProps, 'collapsed' | 'visible'>;
|
|
@@ -3,7 +3,7 @@ import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
6
|
-
import { S as SplitterLayout } from "../../react-splitter-layout.
|
|
6
|
+
import { S as SplitterLayout } from "../../react-splitter-layout.c5d98bf7.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
const SplitLayoutRoot = styled("div")(({
|
|
9
9
|
theme
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LToastContainer";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { getToastClassesByState } from ".";
|
|
2
|
+
export interface ToastClassesType {
|
|
3
|
+
root: string;
|
|
4
|
+
toastMessageContainer: string;
|
|
5
|
+
toastMessageIcon: string;
|
|
6
|
+
toastMessageInfo: string;
|
|
7
|
+
}
|
|
8
|
+
export declare type ToastClassesKey = keyof ToastClassesType;
|
|
9
|
+
export declare type Classes = ReturnType<typeof getToastClassesByState>;
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { styled, generateUtilityClasses } from "@mui/material";
|
|
2
|
+
import { A } from "../../node_modules.a40403af.js";
|
|
3
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../utils/index.de903261.js";
|
|
6
|
+
import { useEnvironment } from "@m4l/core";
|
|
7
|
+
import { useMemo } from "react";
|
|
8
|
+
import { I as Icon } from "../Icon/index.4e424a81.js";
|
|
9
|
+
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
|
+
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
|
+
}));
|
|
12
|
+
const componentName = "M4LToastContainer";
|
|
13
|
+
const toastClasses = generateUtilityClasses(
|
|
14
|
+
componentName,
|
|
15
|
+
[
|
|
16
|
+
"root",
|
|
17
|
+
"toastMessageContainer",
|
|
18
|
+
"toastMessageIcon",
|
|
19
|
+
"toastMessageInfo"
|
|
20
|
+
]
|
|
21
|
+
);
|
|
22
|
+
const getToastClassesByState = () => {
|
|
23
|
+
const slots = {
|
|
24
|
+
root: ["root"],
|
|
25
|
+
toastMessageContainer: ["toastMessageContainer"],
|
|
26
|
+
toastMessageIcon: ["toastMessageIcon"],
|
|
27
|
+
toastMessageInfo: ["toastMessageInfo"]
|
|
28
|
+
};
|
|
29
|
+
const composedClasses = unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
30
|
+
return {
|
|
31
|
+
...composedClasses
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
const ToastContainer = (props) => {
|
|
35
|
+
const {
|
|
36
|
+
children
|
|
37
|
+
} = props;
|
|
38
|
+
const classes = getToastClassesByState();
|
|
39
|
+
return /* @__PURE__ */ jsxs(ToastContainerRoot, {
|
|
40
|
+
className: classes.root,
|
|
41
|
+
children: ["test bruce", /* @__PURE__ */ jsx(A, {}), children]
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
const ToastMessage = (props) => {
|
|
45
|
+
const {
|
|
46
|
+
messageType,
|
|
47
|
+
children
|
|
48
|
+
} = props;
|
|
49
|
+
const {
|
|
50
|
+
host_static_assets,
|
|
51
|
+
environment_assets
|
|
52
|
+
} = useEnvironment();
|
|
53
|
+
const iconSuccess = `${host_static_assets}/${environment_assets}/frontend/components/toast/assets/icons/success.svg`;
|
|
54
|
+
const iconInfo = `${host_static_assets}/${environment_assets}/frontend/components/toast/assets/icons/info.svg`;
|
|
55
|
+
const iconWarning = `${host_static_assets}/${environment_assets}/frontend/components/toast/assets/icons/warning.svg`;
|
|
56
|
+
const iconError = `${host_static_assets}/${environment_assets}/frontend/components/toast/assets/icons/error.svg`;
|
|
57
|
+
const finalIcon = useMemo(() => {
|
|
58
|
+
switch (messageType) {
|
|
59
|
+
case "info":
|
|
60
|
+
return iconInfo;
|
|
61
|
+
case "success":
|
|
62
|
+
return iconSuccess;
|
|
63
|
+
case "warning":
|
|
64
|
+
return iconWarning;
|
|
65
|
+
case "error":
|
|
66
|
+
return iconError;
|
|
67
|
+
default:
|
|
68
|
+
return "";
|
|
69
|
+
}
|
|
70
|
+
}, [messageType]);
|
|
71
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
72
|
+
className: toastClasses.toastMessageContainer,
|
|
73
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
74
|
+
className: toastClasses.toastMessageIcon,
|
|
75
|
+
children: /* @__PURE__ */ jsx(Icon, {
|
|
76
|
+
src: finalIcon
|
|
77
|
+
})
|
|
78
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
79
|
+
className: toastClasses.toastMessageInfo,
|
|
80
|
+
children
|
|
81
|
+
})]
|
|
82
|
+
});
|
|
83
|
+
};
|
|
84
|
+
export {
|
|
85
|
+
ToastContainer as T,
|
|
86
|
+
ToastMessage as a
|
|
87
|
+
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
1
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.c6264add.js";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useRef, useMemo } from "react";
|
|
4
4
|
import * as Yup from "yup";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
8
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
|
|
9
9
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
10
10
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
@@ -13,19 +13,19 @@ import { styled } from "@mui/material/styles";
|
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { shallow } from "zustand/shallow";
|
|
15
15
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
16
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
17
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.b3eca6b1.js";
|
|
16
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.4817512a.js";
|
|
18
17
|
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.1755b324.js";
|
|
19
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
20
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
21
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
22
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
23
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
18
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.87c99323.js";
|
|
19
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.2f6286eb.js";
|
|
20
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.918fe98b.js";
|
|
21
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.ee716861.js";
|
|
22
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.3c568901.js";
|
|
23
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.b3eca6b1.js";
|
|
24
24
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
25
25
|
import { S as ScrollBar } from "../../../ScrollBar/index.65bb2930.js";
|
|
26
26
|
import TouchRipple from "@mui/material/ButtonBase/TouchRipple";
|
|
27
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
28
|
-
import { I as Icon } from "../../../Icon/index.
|
|
27
|
+
import { B as Button } from "../../../mui_extended/Button/index.158a9a65.js";
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.4e424a81.js";
|
|
29
29
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
30
30
|
const areasAdminClasses = generateUtilityClasses(AREAS_ADMIN_CLASS_NAME, [
|
|
31
31
|
"root",
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { r as react_resizable_css } from "../../../../react-resizable.
|
|
2
|
+
import { r as react_resizable_css } from "../../../../react-resizable.ee028152.js";
|
|
3
3
|
import { generateUtilityClasses, Skeleton, Dialog } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.de903261.js";
|
|
6
6
|
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
7
7
|
import { shallow } from "zustand/shallow";
|
|
8
8
|
import React__default, { useMemo, useEffect } from "react";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
10
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.c6264add.js";
|
|
11
11
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
12
|
-
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
12
|
+
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.4817512a.js";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
15
15
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
16
16
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
17
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
18
|
-
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.
|
|
19
|
-
import { I as Icon } from "../../../Icon/index.
|
|
17
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.3c568901.js";
|
|
18
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.a0ad2d9e.js";
|
|
19
|
+
import { I as Icon } from "../../../Icon/index.4e424a81.js";
|
|
20
20
|
import { T as Typography } from "../../../mui_extended/Typography/index.379dd374.js";
|
|
21
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
21
|
+
import { M as MFLoader } from "../../../MFLoader/index.3ba9d320.js";
|
|
22
22
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
23
23
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
24
24
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
25
25
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
26
|
-
import { g as getNameDataTestId } from "../../../../vendor.
|
|
27
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
28
|
-
import { S as SizeProvider } from "../../../GridLayout/index.
|
|
29
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
26
|
+
import { g as getNameDataTestId } from "../../../../vendor.c4bc5f4d.js";
|
|
27
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.e3324e71.js";
|
|
28
|
+
import { S as SizeProvider } from "../../../GridLayout/index.e8c04242.js";
|
|
29
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.e25df1dc.js";
|
|
30
30
|
import { useLocation } from "react-router-dom";
|
|
31
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
32
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
33
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
31
|
+
import { L as LoadingError } from "../../../LoadingError/index.536db030.js";
|
|
32
|
+
import { c as cjs } from "../../../../react-draggable.ee21cb7e.js";
|
|
33
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.6478d7d8.js";
|
|
34
34
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
35
35
|
"root",
|
|
36
36
|
"areaRoot",
|
|
@@ -5,13 +5,13 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.7d3415a5.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.917f9ff2.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
12
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
12
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.e25df1dc.js";
|
|
13
13
|
import { debounce, cloneDeep } from "lodash";
|
|
14
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
14
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.e8c04242.js";
|
|
15
15
|
import { useNavigate } from "react-router-dom";
|
|
16
16
|
import { jsx } from "react/jsx-runtime";
|
|
17
17
|
const PADDING_GRIDLAYOUT = 4;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.e3324e71.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.4e424a81.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
5
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.e8bd78a5.js";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|