@m4l/components 1.0.17 → 1.0.19
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/components/AccountPopover/{index.f2226cb9.js → index.9b044daa.js} +3 -3
- package/components/AppBar/{index.50d090b7.js → index.a0029a89.js} +4 -7
- package/components/CommonActions/components/ActionCancel/{index.609a78ca.js → index.cc077569.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.03a5915a.js → index.a446a103.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.34d569d1.js → index.a4d872e3.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ebac0bc1.js → index.995a344b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.258bf919.js → index.494c618b.js} +1 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.e0dbec18.js → index.dca86907.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.671116f2.js → index.e86a7f66.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.f7b20493.js → index.373b1880.js} +1 -1
- package/components/DataGrid/{index.447c4e44.js → index.7524b3f5.js} +7 -23
- package/components/DataGrid/subcomponents/Actions/{index.aff74341.js → index.f5288cc6.js} +11 -54
- package/components/DragResizeWindow/{index.132406ef.js → index.04160a98.js} +2 -2
- package/components/DynamicFilter/{dictionary.80fc7baf.js → dictionary.ca734fa9.js} +2 -2
- package/components/DynamicFilter/index.0ec944c8.js +117 -0
- package/components/DynamicFilter/slots/{index.e2218307.js → index.bba3ba1e.js} +6 -6
- package/components/DynamicFilter/store/{index.b9c2fe0b.js → index.0cc464be.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f0fe22f7.js → index.de673d55.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.30d89b6c.js → index.9c6bc54f.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.edd7ed6f.js → index.fc514b86.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.f926af49.js → index.db00ecae.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.2382297a.js → index.2a77b273.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7b4dccf7.js → index.840bfab2.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.2258fceb.js → index.dfacda9b.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.82ca3e32.js → index.125b714c.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.f4457f31.js → index.9e2e9be9.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.ba70cf6a.js → index.fa9a7fa8.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.c7d72fb4.js → index.8d6b2af3.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c2014303.js → index.3c2d4a23.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.895fbe45.js → index.89f18def.js} +2 -2
- package/components/FieldLabel/{index.9fd6697a.js → index.8dec5531.js} +4 -6
- package/components/GridLayout/{index.68d907d4.js → index.932b1f7a.js} +2 -160
- package/components/GridLayout/subcomponents/Griditem/{index.8955a794.js → index.27677da0.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.45cecca2.js → index.2bbbfe01.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.7050ac4f.js → index.0af78226.js} +1 -1
- package/components/HelperText/{index.09e80920.js → index.4934c100.js} +2 -5
- package/components/Icon/{index.5cf594aa.js → index.997ca9db.js} +4 -26
- package/components/Image/{index.19aa7ff5.js → index.54e91742.js} +2 -5
- package/components/LanguagePopover/{index.921efd11.js → index.4875286a.js} +4 -24
- package/components/LinearProgressIndeterminate/{index.ea9c8518.js → index.429c171a.js} +2 -4
- package/components/LoadingError/{index.427a569c.js → index.f9be29f1.js} +5 -8
- package/components/MFLoader/{index.12ccba1a.js → index.84bfb72b.js} +3 -5
- package/components/ModalDialog/{index.0dd5af28.js → index.c740247e.js} +3 -3
- package/components/NavLink/{index.ad039baf.js → index.7da464f6.js} +2 -5
- package/components/NoItemSelected/index.8267dd2b.js +52 -0
- package/components/ObjectLogs/{index.a3ed9816.js → index.d3c24da1.js} +9 -38
- package/components/PDFViewer/{index.35f68e67.js → index.ab3cfe38.js} +3 -5
- package/components/Page/{index.f4755eba.js → index.a2d2b98f.js} +1 -1
- package/components/PaperForm/{index.9ed65352.js → index.9d886148.js} +2 -41
- package/components/Period/{index.78867b45.js → index.d860a3be.js} +4 -45
- package/components/PrintingSystem/{index.a69a9d85.js → index.7fd5ffcf.js} +14 -16
- package/components/PrintingSystem/subcomponents/BodyNode/{index.528fcfbf.js → index.8389d56b.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.fbe87257.js → index.2b375c6a.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f5adab1d.js → index.43e2ab84.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.f42ca7dc.js → index.34950c99.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.041b9cff.js → index.be0aabc4.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a8140332.js → index.1149d198.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.aabde2bb.js → index.5c60d9fe.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.7f75ca46.js → index.c5d095bb.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.61babb47.js → index.bee3139e.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.4d0e67a3.js → index.8af6a690.js} +1 -1
- package/components/PropertyValue/{index.4f0da54d.js → index.9ad8e8f9.js} +4 -6
- package/components/Resizeable/index.6e2eff97.js +20 -0
- package/components/ScrollBar/index.8de83634.js +33 -0
- package/components/SideBar/{index.0298ead4.js → index.49ad5aaa.js} +6 -128
- package/components/SplitLayout/{index.15756f0f.js → index.ec8d1a77.js} +2 -24
- package/components/ToastContainer/{index.e6d48658.js → index.193d0169.js} +3 -5
- package/components/animate/LoadingScreen/{index.779690a7.js → index.ff08276e.js} +2 -19
- package/components/animate/{index.b8497385.js → index.4edabfc2.js} +2 -39
- package/components/areas/components/AreasAdmin/{index.5af510af.js → index.af6a6611.js} +16 -52
- package/components/areas/components/AreasViewer/{index.343f0452.js → index.0527c2be.js} +18 -247
- package/components/areas/contexts/AreasContext/{index.91e1acfc.js → index.07a979ba.js} +4 -4
- package/components/areas/hooks/useAreas/{index.98ea6788.js → index.d27f97ee.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.cbd55cf8.js → index.7685e1d4.js} +2 -4
- package/components/commercial/SectionCommercial/{index.d22ebbd5.js → index.e9a04cb5.js} +2 -5
- package/components/commercial/TopBar/{index.df994f5f.js → index.e1f7f962.js} +6 -10
- package/components/commercial/{index.73cf794c.js → index.302b64c1.js} +3 -6
- package/components/formatters/BooleanFormatter/{index.699e0aee.js → index.1b4ca0c5.js} +2 -2
- package/components/formatters/{index.8abccc30.js → index.b317b35a.js} +3 -5
- package/components/hook-form/HelperError/{index.c0109d5b.js → index.ab4c23c3.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.1efaddc9.js → index.1a95aa1d.js} +6 -14
- package/components/hook-form/RHFAutocompleteAsync/{index.2f123535.js → index.4d327235.js} +2 -32
- package/components/hook-form/RHFCheckbox/{index.a9cf6faf.js → index.b79256e3.js} +4 -22
- package/components/hook-form/RHFColorPicker/{index.963323e4.js → index.84b77d99.js} +7 -9
- package/components/hook-form/RHFDateTime/{index.b3d0b2de.js → index.ef88c356.js} +5 -7
- package/components/hook-form/RHFPeriod/{index.d1f45273.js → index.7017b940.js} +4 -13
- package/components/hook-form/RHFTextField/{index.97ba17ae.js → index.b959b63e.js} +4 -34
- package/components/hook-form/RHFUpload/{index.7fd23b2a.js → index.2aa4dcee.js} +6 -14
- package/components/maps/components/GpsTools/{index.0c6dff10.js → index.c825dd0d.js} +21 -75
- package/components/maps/components/Map/{index.50447504.js → index.b9c876b4.js} +13 -13
- package/components/modal/{WindowBase.bf119f28.js → WindowBase.5de22950.js} +3 -3
- package/components/modal/{WindowConfirm.b70c4b0f.js → WindowConfirm.7059a58b.js} +6 -6
- package/components/mui_extended/Accordion/{index.427d380a.js → index.b7f847a7.js} +4 -25
- package/components/mui_extended/Avatar/{index.fb9ad158.js → index.8d873242.js} +2 -4
- package/components/mui_extended/Badge/{index.8beaeefc.js → index.1729018e.js} +1 -5
- package/components/mui_extended/Button/{index.d742e9ee.js → index.86ad58f1.js} +4 -16
- package/components/mui_extended/{CheckBox.84c57702.js → CheckBox.bc4e775d.js} +3 -5
- package/components/mui_extended/IconButton/{index.ee45bba2.js → index.6e48e3fc.js} +2 -5
- package/components/mui_extended/MenuActions/{index.06aaa091.js → index.3979e313.js} +8 -17
- package/components/mui_extended/Pager/{index.c77a7694.js → index.509c6c23.js} +4 -7
- package/components/mui_extended/Popover/{index.2348fc4f.js → index.bc28f6d4.js} +3 -5
- package/components/mui_extended/Stack/{index.fe363ca5.js → index.ea662d2e.js} +2 -4
- package/components/mui_extended/Tab/{index.e911930f.js → index.6dce21fc.js} +2 -14
- package/components/mui_extended/ToggleButton/{index.b834f5f0.js → index.eb60a2ff.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.50ce11e4.js → index.c34eeb98.js} +1 -1
- package/components/mui_extended/Typography/{index.642798f1.js → index.116902dc.js} +1 -4
- package/components/popups/PopupsProvider/{index.7ed83556.js → index.28a77d4f.js} +1 -1
- package/components/popups/PopupsViewer/{index.9b734a0a.js → index.237e7f33.js} +4 -4
- package/contexts/ModalContext/{index.ad1fb73b.js → index.f8d78543.js} +1 -1
- package/contexts/RHFormContext/{index.bf3a2812.js → index.78938329.js} +2 -4
- package/hooks/useFormAddEdit/{index.3468c18c.js → index.cb45a92c.js} +2 -2
- package/hooks/useModal/{index.2003c854.js → index.81061efe.js} +1 -1
- package/hooks/useTab/{index.8d1a6e63.js → index.05151df5.js} +1 -1
- package/index.js +135 -133
- package/package.json +1 -1
- package/{components/DynamicFilter/index.a7cb7710.js → styles/DynamicFilter.c74cdedd.js} +2 -117
- package/styles/index.2e92ddf7.js +1444 -0
- package/components/NoItemSelected/index.d10603d7.js +0 -71
- package/components/Resizeable/index.4f75c0b5.js +0 -124
- package/components/ScrollBar/index.21bc5025.js +0 -104
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { m } from "framer-motion";
|
|
3
3
|
import { forwardRef, useRef } from "react";
|
|
4
|
-
import { IconButton, Box
|
|
5
|
-
import {
|
|
6
|
-
import SimpleBarReact from "simplebar-react";
|
|
4
|
+
import { IconButton, Box } from "@mui/material";
|
|
5
|
+
import { a5 as AnimatedScrollRoot } from "../../styles/index.2e92ddf7.js";
|
|
7
6
|
const varSmall = {
|
|
8
7
|
hover: { scale: 1.1 },
|
|
9
8
|
tap: { scale: 0.95 }
|
|
@@ -37,42 +36,6 @@ const IconButtonAnimate = forwardRef(
|
|
|
37
36
|
({ children, size = "medium", ...other }, ref) => /* @__PURE__ */ jsx(AnimateWrap, { size, children: /* @__PURE__ */ jsx(IconButton, { size, ref, ...other, children }) })
|
|
38
37
|
);
|
|
39
38
|
IconButtonAnimate.displayName = "IconButtonAnimate";
|
|
40
|
-
styled(SimpleBarReact)(({ theme }) => ({
|
|
41
|
-
height: "100%",
|
|
42
|
-
"& .simplebar-scrollbar": {
|
|
43
|
-
"&:before": {
|
|
44
|
-
backgroundColor: alpha(theme.colorSchemes.finalTheme.palette.grey[600], 0.48)
|
|
45
|
-
},
|
|
46
|
-
"&.simplebar-visible:before": {
|
|
47
|
-
opacity: 1
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"& .simplebar-track.simplebar-vertical": {
|
|
51
|
-
width: 10
|
|
52
|
-
},
|
|
53
|
-
"& .simplebar-track.simplebar-horizontal .simplebar-scrollbar": {
|
|
54
|
-
height: 6
|
|
55
|
-
},
|
|
56
|
-
"& .simplebar-mask": {
|
|
57
|
-
zIndex: "inherit"
|
|
58
|
-
},
|
|
59
|
-
"& .simplebar-content": {
|
|
60
|
-
display: "flex",
|
|
61
|
-
height: "100%"
|
|
62
|
-
}
|
|
63
|
-
}));
|
|
64
|
-
const AnimatedScrollRoot = styled("div")(() => ({
|
|
65
|
-
width: "100%",
|
|
66
|
-
height: "100%",
|
|
67
|
-
overflowX: "auto",
|
|
68
|
-
overflowY: "hidden",
|
|
69
|
-
transition: "scroll-behavior 0.5s",
|
|
70
|
-
scrollbarWidth: "none",
|
|
71
|
-
msOverflowStyle: "none",
|
|
72
|
-
"&::-webkit-scrollbar": {
|
|
73
|
-
width: 0
|
|
74
|
-
}
|
|
75
|
-
}));
|
|
76
39
|
const AnimatedScroll = (props) => {
|
|
77
40
|
const { children } = props;
|
|
78
41
|
const containerRef = useRef(null);
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
2
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.d27f97ee.js";
|
|
3
3
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import { useState, useRef, useMemo } from "react";
|
|
5
5
|
import * as Yup from "yup";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
-
import { generateUtilityClasses, useTheme
|
|
7
|
+
import { generateUtilityClasses, useTheme } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
|
|
10
10
|
import { A as AREAS_ADMIN_CLASS_NAME } from "../../constants.66529246.js";
|
|
11
11
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
12
12
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
13
|
-
import {
|
|
13
|
+
import { a6 as EditAreaHeader, a7 as AreasAdminRoot } from "../../../../styles/index.2e92ddf7.js";
|
|
14
14
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
15
15
|
import { shallow } from "zustand/shallow";
|
|
16
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
17
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
18
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
19
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
20
|
-
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.
|
|
21
|
-
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.
|
|
22
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
23
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.
|
|
24
|
-
import { T as Typography } from "../../../mui_extended/Typography/index.
|
|
25
|
-
import { S as ScrollBar } from "../../../ScrollBar/index.
|
|
16
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.3979e313.js";
|
|
17
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.78938329.js";
|
|
18
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.b959b63e.js";
|
|
19
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.494c618b.js";
|
|
20
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.cc077569.js";
|
|
21
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.995a344b.js";
|
|
22
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.6e48e3fc.js";
|
|
23
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.bc28f6d4.js";
|
|
24
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.116902dc.js";
|
|
25
|
+
import { S as ScrollBar } from "../../../ScrollBar/index.8de83634.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.86ad58f1.js";
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.997ca9db.js";
|
|
29
29
|
import { u as useOnClickOutside } from "../../index.4cc6a221.js";
|
|
30
30
|
const areasAdminClasses = generateUtilityClasses(
|
|
31
31
|
AREAS_ADMIN_CLASS_NAME,
|
|
@@ -87,31 +87,6 @@ const useAreasAdminUtilityClasses = (ownerState) => {
|
|
|
87
87
|
};
|
|
88
88
|
return unstable_composeClasses(slots, getComponentUtilityClass(AREAS_ADMIN_CLASS_NAME), {});
|
|
89
89
|
};
|
|
90
|
-
styled("div")(() => ({
|
|
91
|
-
display: "flex",
|
|
92
|
-
flexDirection: "row",
|
|
93
|
-
border: "1px solid gray",
|
|
94
|
-
"&.active": {
|
|
95
|
-
border: "1px solid red"
|
|
96
|
-
}
|
|
97
|
-
}));
|
|
98
|
-
styled("div")(({ theme }) => ({
|
|
99
|
-
height: "100%",
|
|
100
|
-
width: theme.spacing(1),
|
|
101
|
-
backgroundColor: theme.vars.palette.background.default,
|
|
102
|
-
"&.active": {
|
|
103
|
-
backgroundColor: theme.vars.palette.primary.main
|
|
104
|
-
}
|
|
105
|
-
}));
|
|
106
|
-
const EditAreaHeader = styled("div")(({ theme }) => ({
|
|
107
|
-
display: "flex",
|
|
108
|
-
width: "100%",
|
|
109
|
-
height: "25px",
|
|
110
|
-
borderBottom: "1px solid",
|
|
111
|
-
borderColor: theme.vars.palette.state.default,
|
|
112
|
-
justifyContent: "space-between",
|
|
113
|
-
alignItems: "center"
|
|
114
|
-
}));
|
|
115
90
|
const ChipActionsMobile = (props) => {
|
|
116
91
|
const { handlerOpenPopoverEditArea, areaId } = props;
|
|
117
92
|
const { deleteArea } = useAreasStore((state) => state.areasActions);
|
|
@@ -335,18 +310,6 @@ const AreaChip = (props) => {
|
|
|
335
310
|
] });
|
|
336
311
|
};
|
|
337
312
|
AreaChip.displayName = "AreaButtons";
|
|
338
|
-
const AreasAdminRoot = styled$1("div")`
|
|
339
|
-
display: flex;
|
|
340
|
-
position: relative;
|
|
341
|
-
background-color: transparent;
|
|
342
|
-
|
|
343
|
-
//areaRoot
|
|
344
|
-
& .${areasAdminClasses.areaChipRoot} {
|
|
345
|
-
display: flex;
|
|
346
|
-
}
|
|
347
|
-
|
|
348
|
-
${(props) => props.theme.components?.M4LAreasAdmin?.styleOverrides}
|
|
349
|
-
`;
|
|
350
313
|
const ChipMobile = (props) => {
|
|
351
314
|
const { areaId, selected, disabled, setAnchorMenuAreas } = props;
|
|
352
315
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -729,5 +692,6 @@ function AreasAdmin() {
|
|
|
729
692
|
}
|
|
730
693
|
export {
|
|
731
694
|
AreasAdmin as A,
|
|
695
|
+
areasAdminClasses as a,
|
|
732
696
|
useAreasAdminUtilityClasses as u
|
|
733
697
|
};
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
|
|
5
|
-
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
2
|
+
import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.2e92ddf7.js";
|
|
6
3
|
import { shallow } from "zustand/shallow";
|
|
7
4
|
import React__default, { useMemo, useEffect } from "react";
|
|
8
5
|
import clsx from "clsx";
|
|
9
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
6
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.d27f97ee.js";
|
|
7
|
+
import { generateUtilityClasses, Skeleton } from "@mui/material";
|
|
8
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.14912462.js";
|
|
10
|
+
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
10
11
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
11
|
-
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.
|
|
12
|
+
import { a as MemonizedMenuActions } from "../../../mui_extended/MenuActions/index.3979e313.js";
|
|
12
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
14
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
14
15
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
15
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
16
|
-
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.
|
|
17
|
-
import { I as Icon } from "../../../Icon/index.
|
|
18
|
-
import { T as Typography } from "../../../mui_extended/Typography/index.
|
|
19
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
16
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.6e48e3fc.js";
|
|
17
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.429c171a.js";
|
|
18
|
+
import { I as Icon } from "../../../Icon/index.997ca9db.js";
|
|
19
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.116902dc.js";
|
|
20
|
+
import { M as MFLoader } from "../../../MFLoader/index.84bfb72b.js";
|
|
20
21
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.992ae7a3.js";
|
|
21
22
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
22
23
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.4092bb69.js";
|
|
23
24
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
24
25
|
import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
|
|
25
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
26
|
-
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.
|
|
27
|
-
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
26
|
+
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.07a979ba.js";
|
|
27
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.0af78226.js";
|
|
28
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.2bbbfe01.js";
|
|
28
29
|
import { useLocation } from "react-router-dom";
|
|
29
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
30
|
-
import { styled as styled$1 } from "@mui/material/styles";
|
|
30
|
+
import { L as LoadingError } from "../../../LoadingError/index.f9be29f1.js";
|
|
31
31
|
import { c as cjs } from "../../../../react-draggable.1c1ba224.js";
|
|
32
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
32
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.6e2eff97.js";
|
|
33
33
|
const areasViewerClasses = generateUtilityClasses(
|
|
34
34
|
AREAS_VIEWER_CLASS_NAME,
|
|
35
35
|
[
|
|
@@ -126,127 +126,6 @@ const useAreasViewerUtilityClasses = (ownerState) => {
|
|
|
126
126
|
};
|
|
127
127
|
return unstable_composeClasses(slots, getComponentUtilityClass(AREAS_VIEWER_CLASS_NAME), {});
|
|
128
128
|
};
|
|
129
|
-
const react_resizable_css = {};
|
|
130
|
-
const AreasViewerRoot = styled("div")`
|
|
131
|
-
/* display: flex; */
|
|
132
|
-
width: 100%;
|
|
133
|
-
height: 100%;
|
|
134
|
-
overflow: hidden;
|
|
135
|
-
/* flex-grow: 1; */
|
|
136
|
-
position: relative;
|
|
137
|
-
|
|
138
|
-
//areaRoot
|
|
139
|
-
& .${areasViewerClasses.areaRoot} {
|
|
140
|
-
display: none;
|
|
141
|
-
position: absolute;
|
|
142
|
-
/* flex-grow: 1; */
|
|
143
|
-
flex-direction: row;
|
|
144
|
-
inset: 0;
|
|
145
|
-
/* width: 100%; */
|
|
146
|
-
overflow: hidden;
|
|
147
|
-
justify-content: top;
|
|
148
|
-
align-items: flex-start;
|
|
149
|
-
|
|
150
|
-
visibility: hidden;
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
& .${areasViewerClasses.areaRoot}.${areasViewerClasses.selected} {
|
|
154
|
-
display: block;
|
|
155
|
-
visibility: visible;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
&.${areasViewerClasses.isMobile} .${areasViewerClasses.areaRoot} {
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
// areaGridLayoutPanelContainer
|
|
162
|
-
& .${areasViewerClasses.areaGridLayoutPanelContainer} {
|
|
163
|
-
display: flex;
|
|
164
|
-
flex-direction: row;
|
|
165
|
-
height: 100%;
|
|
166
|
-
width: 100%;
|
|
167
|
-
overflow: hidden;
|
|
168
|
-
}
|
|
169
|
-
&.${areasViewerClasses.isMobile} .${areasViewerClasses.areaGridLayoutPanelContainer} {
|
|
170
|
-
flex-direction: column-reverse;
|
|
171
|
-
}
|
|
172
|
-
// areaGridLayout
|
|
173
|
-
& .${areasViewerClasses.areaGridLayout} {
|
|
174
|
-
height: 100% !important;
|
|
175
|
-
overflow: auto;
|
|
176
|
-
flex-grow: 1;
|
|
177
|
-
}
|
|
178
|
-
&.${areasViewerClasses.isMobile} .${areasViewerClasses.areaGridLayout} {
|
|
179
|
-
flex-direction: column-reverse;
|
|
180
|
-
height: unset;
|
|
181
|
-
width: 100%;
|
|
182
|
-
}
|
|
183
|
-
// areaGridLayoutPopupsContainer
|
|
184
|
-
& .${areasViewerClasses.areaGridLayoutPopupsContainer} {
|
|
185
|
-
z-index: 1; //Garantizar q el contenedor de los popus este por encima de los layouts
|
|
186
|
-
// // ' .react-draggable': {
|
|
187
|
-
// // position: 'absolute',
|
|
188
|
-
// // },
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
// PanelWindowsRoot
|
|
192
|
-
& .${areasViewerClasses.panelWindowsRoot} {
|
|
193
|
-
display: flex;
|
|
194
|
-
flex-direction: column;
|
|
195
|
-
position: relative;
|
|
196
|
-
}
|
|
197
|
-
&.${areasViewerClasses.isMobile} .${areasViewerClasses.panelWindowsRoot} {
|
|
198
|
-
flex-direction: row;
|
|
199
|
-
}
|
|
200
|
-
|
|
201
|
-
// windowRoot
|
|
202
|
-
& .${areasViewerClasses.windowRoot} {
|
|
203
|
-
inset: 0;
|
|
204
|
-
position: absolute;
|
|
205
|
-
display: flex;
|
|
206
|
-
flex-direction: column;
|
|
207
|
-
/* height: 100%; */
|
|
208
|
-
/* width: 100%; */
|
|
209
|
-
overflow: hidden;
|
|
210
|
-
border: 1px solid gray;
|
|
211
|
-
|
|
212
|
-
background-color: ${(props) => props.theme.vars.palette.background.default};
|
|
213
|
-
padding: ${(props) => props.theme.spacing(0)};
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
& .${areasViewerClasses.windowRoot}.${areasViewerClasses.selected} {
|
|
217
|
-
border-top: 1px solid green;
|
|
218
|
-
}
|
|
219
|
-
// windowHeaderTitle
|
|
220
|
-
& .${areasViewerClasses.windowHeaderTitle} {
|
|
221
|
-
width: 100%;
|
|
222
|
-
max-width: 100%;
|
|
223
|
-
overflow: hidden;
|
|
224
|
-
white-space: nowrap;
|
|
225
|
-
color: ${(props) => props.theme.vars.palette.text.primary};
|
|
226
|
-
text-overflow: ellipsis;
|
|
227
|
-
}
|
|
228
|
-
// windowHeaderMainActions
|
|
229
|
-
& .${areasViewerClasses.windowHeaderMainActions} {
|
|
230
|
-
display: flex;
|
|
231
|
-
|
|
232
|
-
gap: 4px;
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
// windowHeaderMainActions
|
|
236
|
-
& .${areasViewerClasses.windowContent} {
|
|
237
|
-
flex-grow: 1;
|
|
238
|
-
position: relative;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
// windowModalRoot
|
|
242
|
-
& .${areasViewerClasses.windowModalRoot} {
|
|
243
|
-
padding: 16px;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
|
-
${react_resizable_css}
|
|
247
|
-
|
|
248
|
-
${(props) => props.theme.components?.M4LAreasViewer?.styleOverrides}
|
|
249
|
-
`;
|
|
250
129
|
function WindowHeaderSkeleton(props) {
|
|
251
130
|
const { colapsed } = props;
|
|
252
131
|
return /* @__PURE__ */ jsx("div", { className: clsx(areasViewerClasses.windowHeader), children: /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.windowHeaderContent, children: [
|
|
@@ -524,99 +403,6 @@ const Component = (props) => {
|
|
|
524
403
|
return /* @__PURE__ */ jsx(WindowToolsMFProvider, { ...windowTools, children: /* @__PURE__ */ jsx(DynamicMFParmsProvider, { store: dynamicMFStore, children: /* @__PURE__ */ jsx("div", { className: areasViewerClasses.containerComponent, children: typeof component === "function" ? component({ windowTools, dynamicMFStore }) : component }) }) });
|
|
525
404
|
};
|
|
526
405
|
React__default.memo(Component);
|
|
527
|
-
const WindowRoot = styled("div")`
|
|
528
|
-
inset: 0;
|
|
529
|
-
position: absolute;
|
|
530
|
-
display: flex;
|
|
531
|
-
flex-direction: column;
|
|
532
|
-
/* height: 100%; */
|
|
533
|
-
/* width: 100%; */
|
|
534
|
-
overflow: hidden;
|
|
535
|
-
border: 1px solid gray;
|
|
536
|
-
|
|
537
|
-
background-color: ${(props) => props.theme.vars.palette.background.default};
|
|
538
|
-
padding: ${(props) => props.theme.spacing(0)};
|
|
539
|
-
&.${areasViewerClasses.selected} {
|
|
540
|
-
border-top: 1px solid green;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
// windowHeader
|
|
544
|
-
/*
|
|
545
|
-
&.${areasViewerClasses.loading} .${areasViewerClasses.windowHeader} {
|
|
546
|
-
border-bottom: 2px solid red !important;
|
|
547
|
-
}
|
|
548
|
-
*/
|
|
549
|
-
// windowHeaderTitle
|
|
550
|
-
& .${areasViewerClasses.windowHeaderTitle} {
|
|
551
|
-
width: 100%;
|
|
552
|
-
max-width: 100%;
|
|
553
|
-
overflow: hidden;
|
|
554
|
-
white-space: nowrap;
|
|
555
|
-
color: ${(props) => props.theme.vars.palette.text.primary};
|
|
556
|
-
text-overflow: ellipsis;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
& .${areasViewerClasses.windowHeaderCancelHandle} {
|
|
560
|
-
display: flex;
|
|
561
|
-
cursor: default;
|
|
562
|
-
}
|
|
563
|
-
|
|
564
|
-
// windowHeaderMainActions
|
|
565
|
-
& .${areasViewerClasses.windowHeaderMainActions} {
|
|
566
|
-
display: flex;
|
|
567
|
-
|
|
568
|
-
gap: 4px;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
// windowHeaderMainActions
|
|
572
|
-
& .${areasViewerClasses.windowContent} {
|
|
573
|
-
flex-grow: 1;
|
|
574
|
-
position: relative;
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
& .${areasViewerClasses.windowContent}.${areasViewerClasses.colapsed} {
|
|
578
|
-
display: none !important;
|
|
579
|
-
}
|
|
580
|
-
// windowModalRoot
|
|
581
|
-
& .${areasViewerClasses.windowModalRoot} {
|
|
582
|
-
padding: 16px;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
// windowToastiesContainer
|
|
586
|
-
& .${areasViewerClasses.windowToastiesContainer} {
|
|
587
|
-
padding: 4px;
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
// windowToastyContainer
|
|
591
|
-
& .${areasViewerClasses.windowToastyContainer} {
|
|
592
|
-
display: flex;
|
|
593
|
-
flex-direction: column;
|
|
594
|
-
}
|
|
595
|
-
// windowToastyContainer
|
|
596
|
-
& .${areasViewerClasses.windowToastyContainer}.${areasViewerClasses.success} {
|
|
597
|
-
background-color: ${(props) => props.theme.vars.palette.success.main};
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
// windowToastyMeesageButtonsContainer
|
|
601
|
-
& .${areasViewerClasses.windowToastyMeesageButtonsContainer} {
|
|
602
|
-
display: flex;
|
|
603
|
-
}
|
|
604
|
-
& .MuiLinearProgress-root {
|
|
605
|
-
width: 100%;
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
// windowToastyMessage
|
|
609
|
-
& .${areasViewerClasses.windowToastyMessage} {
|
|
610
|
-
flex-grow: 1;
|
|
611
|
-
}
|
|
612
|
-
|
|
613
|
-
// windowToastyContainer
|
|
614
|
-
& .${areasViewerClasses.windowToastyPin}.${areasViewerClasses.pinIn} {
|
|
615
|
-
border: 1px solid red;
|
|
616
|
-
}
|
|
617
|
-
|
|
618
|
-
${(props) => props.theme.components?.M4LAreasViewerWindow?.styleOverrides}
|
|
619
|
-
`;
|
|
620
406
|
function Toasty(props) {
|
|
621
407
|
const { windowId, toastyId } = props;
|
|
622
408
|
const toasty = useAreasStore(
|
|
@@ -963,22 +749,6 @@ const Area = (props) => {
|
|
|
963
749
|
);
|
|
964
750
|
};
|
|
965
751
|
Area.displayName = "Area";
|
|
966
|
-
styled$1("div")(({ theme }) => ({
|
|
967
|
-
display: "flex",
|
|
968
|
-
flexDirection: "column",
|
|
969
|
-
height: "100%",
|
|
970
|
-
overflow: "hidden",
|
|
971
|
-
padding: theme.spacing(3)
|
|
972
|
-
}));
|
|
973
|
-
const WrapperWindowModal = styled$1(Dialog)(({ theme }) => ({
|
|
974
|
-
hola: 1,
|
|
975
|
-
backgroundColor: theme.vars.palette.background.paper,
|
|
976
|
-
"& .MuiDialog-container": {},
|
|
977
|
-
"&.m4l_selected": {
|
|
978
|
-
borderTop: "1px solid green"
|
|
979
|
-
},
|
|
980
|
-
...theme.components?.M4LAreasViewerModal?.styleOverrides
|
|
981
|
-
}));
|
|
982
752
|
const WindowModal = (props) => {
|
|
983
753
|
const { windowId } = props;
|
|
984
754
|
const { onClose } = useAreasStore((state) => state.hashWindowsModals[windowId]);
|
|
@@ -1068,5 +838,6 @@ function AreasViewer() {
|
|
|
1068
838
|
}
|
|
1069
839
|
export {
|
|
1070
840
|
AreasViewer as A,
|
|
841
|
+
areasViewerClasses as a,
|
|
1071
842
|
useAreasViewerUtilityClasses as u
|
|
1072
843
|
};
|
|
@@ -6,13 +6,13 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
6
6
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
7
7
|
import { devtools } from "zustand/middleware";
|
|
8
8
|
import { immer } from "zustand/middleware/immer";
|
|
9
|
-
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.
|
|
10
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
9
|
+
import { u as useAreasViewerUtilityClasses } from "../../components/AreasViewer/index.0527c2be.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.af6a6611.js";
|
|
11
11
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
12
12
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
13
|
-
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.
|
|
13
|
+
import { a as addLayoutItemToBreakPointIfNoExists, b as addLayoutItemToBreakPoints, c as cloneLayouts } from "../../../GridLayout/subcomponents/Responsive/index.2bbbfe01.js";
|
|
14
14
|
import { debounce, cloneDeep } from "lodash";
|
|
15
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
15
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.932b1f7a.js";
|
|
16
16
|
import { useNavigate } from "react-router-dom";
|
|
17
17
|
const PADDING_GRIDLAYOUT = 11;
|
|
18
18
|
const MARGIN_GRIDLAYOUT = 11;
|
|
@@ -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.07a979ba.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { generateUtilityClasses
|
|
2
|
+
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
|
|
5
|
+
import { ab as AppBarComercialRoot } from "../../../styles/index.2e92ddf7.js";
|
|
5
6
|
const componentName = "M4LAppBarCommercial";
|
|
6
7
|
generateUtilityClasses(
|
|
7
8
|
componentName,
|
|
@@ -15,9 +16,6 @@ const useAppBarComercialUtilityClasses = () => {
|
|
|
15
16
|
};
|
|
16
17
|
return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
17
18
|
};
|
|
18
|
-
const AppBarComercialRoot = styled("div")(({ theme }) => ({
|
|
19
|
-
...theme.components?.M4LAppBarCommercial?.styleOverrides
|
|
20
|
-
}));
|
|
21
19
|
const AppBarComercial = (props) => {
|
|
22
20
|
const { children } = props;
|
|
23
21
|
const classes = useAppBarComercialUtilityClasses();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { generateUtilityClasses
|
|
2
|
+
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
4
|
import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
|
|
5
|
-
import {
|
|
5
|
+
import { ac as SectionCommercialRoot } from "../../../styles/index.2e92ddf7.js";
|
|
6
6
|
const componentName = "M4LSectionCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -24,9 +24,6 @@ const useAppBarComercialUtilityClasses = (ownerState) => {
|
|
|
24
24
|
};
|
|
25
25
|
return unstable_composeClasses(slots, getComponentUtilityClass(componentName), {});
|
|
26
26
|
};
|
|
27
|
-
const SectionCommercialRoot = styled(Stack)(({ theme }) => ({
|
|
28
|
-
...theme.components?.M4LSectionCommercial?.styleOverrides
|
|
29
|
-
}));
|
|
30
27
|
const SectionCommercial = (props) => {
|
|
31
28
|
const {
|
|
32
29
|
children,
|
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
3
|
-
import { generateUtilityClasses,
|
|
3
|
+
import { generateUtilityClasses, useTheme, Box, Grid, styled } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
|
|
6
6
|
import { createContext, useContext, useState } from "react";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import {
|
|
8
|
+
import { ad as ArrowIconRoot } from "../../../styles/index.2e92ddf7.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.997ca9db.js";
|
|
9
10
|
import clsx from "clsx";
|
|
10
11
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
11
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index.
|
|
12
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
12
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index.b7f847a7.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.86ad58f1.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.bc28f6d4.js";
|
|
14
15
|
const componentName = "M4LTopBar";
|
|
15
16
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
16
17
|
"root",
|
|
@@ -58,11 +59,6 @@ const TopBarProvider = (props) => {
|
|
|
58
59
|
};
|
|
59
60
|
const useTopBar = () => useContext(TopBarContext);
|
|
60
61
|
const useTopBar$1 = useTopBar;
|
|
61
|
-
const ArrowIconRoot = styled("div")(() => ({
|
|
62
|
-
display: "flex",
|
|
63
|
-
alignSelf: "center",
|
|
64
|
-
lineHeight: 0
|
|
65
|
-
}));
|
|
66
62
|
function ArrowIcon(props) {
|
|
67
63
|
const { openState } = props;
|
|
68
64
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import {
|
|
3
|
+
import { ae as HamburgerMenuRoot } from "../../styles/index.2e92ddf7.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
|
-
import { S as SideBar } from "../SideBar/index.
|
|
9
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
10
|
-
const HamburgerMenuRoot = styled("header")(({ theme }) => ({
|
|
11
|
-
...theme.components?.M4LHamburgerMenuCommercial?.styleOverrides
|
|
12
|
-
}));
|
|
8
|
+
import { S as SideBar } from "../SideBar/index.49ad5aaa.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.6e48e3fc.js";
|
|
13
10
|
const componentName = "M4LHamburgerMenuCommercial";
|
|
14
11
|
generateUtilityClasses(componentName, ["root", "ImageLogo"]);
|
|
15
12
|
function getHamburgerMenuComercialClassesUtilityClass(slot) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo } from "react";
|
|
3
3
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.997ca9db.js";
|
|
5
5
|
import { W as WrapperComponent } from "../../WrapperComponent/index.57964195.js";
|
|
6
|
-
import { F as FormatterRoot, f as formatterClasses } from "../index.
|
|
6
|
+
import { F as FormatterRoot, f as formatterClasses } from "../index.b317b35a.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
9
9
|
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { generateUtilityClasses
|
|
2
|
+
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
+
import { af as FormatterRootContainer } from "../../styles/index.2e92ddf7.js";
|
|
4
5
|
import { W as WrapperComponent } from "../WrapperComponent/index.57964195.js";
|
|
5
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
6
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
7
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.1b4ca0c5.js";
|
|
7
8
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
8
9
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
9
10
|
"root",
|
|
10
11
|
"booleanFormatterIcon",
|
|
11
12
|
"booleanFormatterCheck"
|
|
12
13
|
]);
|
|
13
|
-
const FormatterRootContainer = styled("div")(({ theme }) => ({
|
|
14
|
-
...theme.components?.M4LFormatter?.styleOverrides
|
|
15
|
-
}));
|
|
16
14
|
const FormatterRoot = (props) => {
|
|
17
15
|
const { children } = props;
|
|
18
16
|
return /* @__PURE__ */ jsx(FormatterRootContainer, { className: formatterClasses.root, children });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, useController } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.4934c100.js";
|
|
4
4
|
function HelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|