@m4l/components 1.0.18 → 1.0.20
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.4140090a.js} +3 -3
- package/components/AppBar/{index.50d090b7.js → index.0f184f51.js} +4 -7
- package/components/CommonActions/components/ActionCancel/{index.609a78ca.js → index.84664a29.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.03a5915a.js → index.42d6027c.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.34d569d1.js → index.7719f3c8.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.ebac0bc1.js → index.27a112d7.js} +2 -2
- package/components/CommonActions/components/Actions/{index.258bf919.js → index.e65a7bcf.js} +1 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.e0dbec18.js → index.ca85494e.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.671116f2.js → index.94d4cac8.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.f7b20493.js → index.b1c5af28.js} +1 -1
- package/components/DataGrid/{index.447c4e44.js → index.a04bda27.js} +7 -23
- package/components/DataGrid/subcomponents/Actions/{index.aff74341.js → index.929841cd.js} +11 -54
- package/components/DragResizeWindow/{index.132406ef.js → index.279d2d28.js} +2 -2
- package/components/DynamicFilter/{dictionary.80fc7baf.js → dictionary.54a4fec2.js} +2 -2
- package/components/DynamicFilter/index.8ef3a4d7.js +117 -0
- package/components/DynamicFilter/slots/{index.e2218307.js → dynamicFilterSlots.3715278c.js} +7 -7
- package/components/DynamicFilter/slots/index.36b12be1.js +1 -0
- package/components/DynamicFilter/slots/index.d.ts +2 -87
- package/components/DynamicFilter/store/{index.b9c2fe0b.js → index.6a1c6ebd.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.f0fe22f7.js → index.c392afc5.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.30d89b6c.js → index.f2746f8e.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.edd7ed6f.js → index.093fc1de.js} +7 -7
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.f926af49.js → index.62a94cc6.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.2382297a.js → index.e01b0972.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.7b4dccf7.js → index.d87d2102.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.2258fceb.js → index.0fcc1bf9.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.82ca3e32.js → index.2a517be1.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.f4457f31.js → index.ec96878f.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.ba70cf6a.js → index.6ae6c60b.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.c7d72fb4.js → index.aecc596f.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.c2014303.js → index.4ba51a6e.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.895fbe45.js → index.ceff0602.js} +2 -2
- package/components/DynamicFilter/types.d.ts +1 -1
- package/components/FieldLabel/{index.9fd6697a.js → index.fd98626d.js} +4 -6
- package/components/GridLayout/{index.68d907d4.js → index.75b39062.js} +2 -160
- package/components/GridLayout/subcomponents/Griditem/{index.8955a794.js → index.e6eee265.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.45cecca2.js → index.563cc6a3.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.7050ac4f.js → index.a4cc046b.js} +1 -1
- package/components/HelperText/{index.09e80920.js → index.844d7fab.js} +2 -5
- package/components/Icon/{index.5cf594aa.js → index.04c02216.js} +4 -26
- package/components/Image/{index.19aa7ff5.js → index.2510b352.js} +2 -5
- package/components/LanguagePopover/{index.921efd11.js → index.75e8c624.js} +4 -24
- package/components/LinearProgressIndeterminate/{index.ea9c8518.js → index.26813f64.js} +2 -4
- package/components/LoadingError/{index.427a569c.js → index.a40afdf7.js} +5 -8
- package/components/MFLoader/MFLoader.d.ts +0 -6
- package/components/MFLoader/{index.12ccba1a.js → index.81187b38.js} +3 -9
- package/components/ModalDialog/{index.0dd5af28.js → index.b5af0b1f.js} +3 -3
- package/components/NavLink/{index.ad039baf.js → index.0a27adcd.js} +2 -5
- package/components/NoItemSelected/index.cfe1e5a0.js +52 -0
- package/components/ObjectLogs/{index.a3ed9816.js → index.ada43757.js} +9 -38
- package/components/PDFViewer/{index.35f68e67.js → index.c400f3f0.js} +3 -5
- package/components/Page/{index.f4755eba.js → index.dd548b37.js} +1 -1
- package/components/PaperForm/{index.9ed65352.js → index.36c60c3d.js} +2 -41
- package/components/Period/{index.78867b45.js → index.deb4b0ee.js} +4 -45
- package/components/PrintingSystem/{index.a69a9d85.js → index.b3ed99bb.js} +14 -16
- package/components/PrintingSystem/subcomponents/BodyNode/{index.528fcfbf.js → index.f7aef0ee.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.fbe87257.js → index.7f51da5f.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f5adab1d.js → index.a59784e6.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.f42ca7dc.js → index.2c427ac5.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.041b9cff.js → index.0668e2e7.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a8140332.js → index.38fefa1e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.aabde2bb.js → index.95f1c171.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.7f75ca46.js → index.5ca53b9a.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.61babb47.js → index.84963bd7.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.4d0e67a3.js → index.8333cfac.js} +1 -1
- package/components/PropertyValue/{index.4f0da54d.js → index.dc42164f.js} +4 -6
- package/components/Resizeable/index.e06bb8be.js +20 -0
- package/components/ScrollBar/index.6ec54e64.js +33 -0
- package/components/SideBar/{index.0298ead4.js → index.d0a63ab1.js} +6 -128
- package/components/SplitLayout/{index.15756f0f.js → index.0212514c.js} +2 -24
- package/components/ToastContainer/{index.e6d48658.js → index.733671bf.js} +3 -5
- package/components/animate/LoadingScreen/{index.779690a7.js → index.964f6dbd.js} +2 -19
- package/components/animate/{index.b8497385.js → index.1fcd3d70.js} +2 -39
- package/components/areas/components/AreasAdmin/{index.5af510af.js → index.e59f2566.js} +16 -52
- package/components/areas/components/AreasViewer/{index.343f0452.js → index.f8f9cc1a.js} +18 -247
- package/components/areas/contexts/AreasContext/{index.91e1acfc.js → index.f0ba940e.js} +4 -4
- package/components/areas/hooks/useAreas/{index.98ea6788.js → index.566c6df3.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.cbd55cf8.js → index.32ac55a8.js} +2 -4
- package/components/commercial/SectionCommercial/{index.d22ebbd5.js → index.a43eed40.js} +2 -5
- package/components/commercial/TopBar/{index.df994f5f.js → index.1ab121f1.js} +6 -10
- package/components/commercial/{index.73cf794c.js → index.eba9a74e.js} +3 -6
- package/components/formatters/BooleanFormatter/{index.699e0aee.js → index.6a020b80.js} +2 -2
- package/components/formatters/{index.8abccc30.js → index.66129ebe.js} +3 -5
- package/components/hook-form/HelperError/{index.c0109d5b.js → index.86ec06fe.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.1efaddc9.js → index.1bfe3607.js} +6 -14
- package/components/hook-form/RHFAutocompleteAsync/{index.2f123535.js → index.d7b799af.js} +2 -32
- package/components/hook-form/RHFCheckbox/{index.a9cf6faf.js → index.f60adcca.js} +4 -22
- package/components/hook-form/RHFColorPicker/{index.963323e4.js → index.c1a58a8c.js} +7 -9
- package/components/hook-form/RHFDateTime/{index.b3d0b2de.js → index.08dc3eef.js} +5 -7
- package/components/hook-form/RHFPeriod/{index.d1f45273.js → index.ccfe43d5.js} +4 -13
- package/components/hook-form/RHFTextField/{index.97ba17ae.js → index.d80b8e93.js} +4 -34
- package/components/hook-form/RHFUpload/{index.7fd23b2a.js → index.e3d41879.js} +6 -14
- package/components/maps/components/GpsTools/{index.0c6dff10.js → index.dee0a9fb.js} +21 -75
- package/components/maps/components/Map/{index.50447504.js → index.8f7d0575.js} +13 -13
- package/components/modal/{WindowBase.bf119f28.js → WindowBase.62b9da74.js} +3 -3
- package/components/modal/{WindowConfirm.b70c4b0f.js → WindowConfirm.78a87ff2.js} +6 -6
- package/components/mui_extended/Accordion/{index.427d380a.js → index.b1c28e9b.js} +4 -25
- package/components/mui_extended/Avatar/{index.fb9ad158.js → index.be988f79.js} +2 -4
- package/components/mui_extended/Badge/{index.8beaeefc.js → index.ab4aa117.js} +1 -5
- package/components/mui_extended/Button/{index.d742e9ee.js → index.7b82d621.js} +4 -16
- package/components/mui_extended/{CheckBox.84c57702.js → CheckBox.fdfd68f4.js} +3 -5
- package/components/mui_extended/IconButton/{index.ee45bba2.js → index.3525b765.js} +2 -5
- package/components/mui_extended/MenuActions/{index.06aaa091.js → index.c4a0f78b.js} +8 -17
- package/components/mui_extended/Pager/{index.c77a7694.js → index.16b6e3e4.js} +4 -7
- package/components/mui_extended/Popover/{index.2348fc4f.js → index.1747563c.js} +3 -5
- package/components/mui_extended/Stack/{index.fe363ca5.js → index.55cd11a9.js} +2 -4
- package/components/mui_extended/Tab/{index.e911930f.js → index.ba96a6f0.js} +2 -14
- package/components/mui_extended/ToggleButton/{index.b834f5f0.js → index.dada68c8.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.50ce11e4.js → index.27fed8b4.js} +1 -1
- package/components/mui_extended/Typography/{index.642798f1.js → index.fd25cf61.js} +1 -4
- package/components/popups/PopupsProvider/{index.7ed83556.js → index.27b67a9b.js} +1 -1
- package/components/popups/PopupsViewer/{index.9b734a0a.js → index.fd732c17.js} +4 -4
- package/contexts/ModalContext/{index.ad1fb73b.js → index.cdf3bdf9.js} +1 -1
- package/contexts/RHFormContext/{index.bf3a2812.js → index.0e2d7d10.js} +2 -4
- package/hooks/useFormAddEdit/{index.3468c18c.js → index.73e642af.js} +2 -2
- package/hooks/useModal/{index.2003c854.js → index.773ef0ff.js} +1 -1
- package/hooks/useTab/{index.8d1a6e63.js → index.ad587c1d.js} +1 -1
- package/index.js +136 -134
- package/package.json +1 -1
- package/{components/DynamicFilter/index.a7cb7710.js → styles/DynamicFilter.27c16026.js} +17 -132
- package/styles/index.256d1a63.js +1444 -0
- package/components/AccountPopover/style.d.ts +0 -2
- package/components/AppBar/styles.d.ts +0 -2
- package/components/CommonActions/components/Actions/styles.d.ts +0 -2
- package/components/DataGrid/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/Actions/subcomponents/Settings/subcomponents/ColumnsConfig/styles.d.ts +0 -8
- package/components/DataGrid/subcomponents/Table/subcomponents/SkeletonFormatter/styles.d.ts +0 -2
- package/components/DataGrid/subcomponents/editors/TextEditor/index.d.ts +0 -6
- package/components/DragResizeWindow/styled.d.ts +0 -2
- package/components/FieldLabel/styles.d.ts +0 -2
- package/components/GridLayout/styles.d.ts +0 -2
- package/components/HelperText/styles.d.ts +0 -2
- package/components/Icon/styles.d.ts +0 -4
- package/components/Image/styles.d.ts +0 -2
- package/components/LanguagePopover/styles.d.ts +0 -6
- package/components/LinearProgressIndeterminate/styles.d.ts +0 -2
- package/components/LoadingError/styles.d.ts +0 -2
- package/components/MFLoader/styles.d.ts +0 -2
- package/components/NavLink/styles.d.ts +0 -2
- package/components/NoItemSelected/index.d10603d7.js +0 -71
- package/components/NoItemSelected/styles.d.ts +0 -5
- package/components/ObjectLogs/styles.d.ts +0 -4
- package/components/PDFViewer/styles.d.ts +0 -2
- package/components/PaperForm/styles.d.ts +0 -7
- package/components/Period/styles.d.ts +0 -7
- package/components/PrintingSystem/styles.d.ts +0 -2
- package/components/PropertyValue/styles.d.ts +0 -2
- package/components/Resizeable/index.4f75c0b5.js +0 -124
- package/components/ResizeableWindow/styles.d.ts +0 -5
- package/components/ScrollBar/index.21bc5025.js +0 -104
- package/components/ScrollBar/styles.d.ts +0 -9
- package/components/SideBar/styles.d.ts +0 -20
- package/components/SideBar/subcomponents/ContentDesktop/subcomponents/CollapseButton/styles.d.ts +0 -3
- package/components/SideBar/subcomponents/ContentGroups/styles.d.ts +0 -4
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/ArrowIcon/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/styles.d.ts +0 -9
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/styles.d.ts +0 -2
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavListSub/subcomponents/NavItemSub/subcomponents/NavItemSubContent/styles.d.ts +0 -6
- package/components/SideBar/subcomponents/ContentMobile/styles.d.ts +0 -3
- package/components/SplitLayout/styles.d.ts +0 -4
- package/components/ToastContainer/styles.d.ts +0 -2
- package/components/animate/AnimatedScroll/styles.d.ts +0 -6
- package/components/animate/LoadingScreen/styles.d.ts +0 -7
- package/components/animate/PropagateLoader/syles.d.ts +0 -2
- package/components/areas/components/AreasAdmin/styles.d.ts +0 -5
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +0 -4
- package/components/areas/components/AreasViewer/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/styles.d.ts +0 -2
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/WindowModal/styles.d.ts +0 -3
- package/components/commercial/AppBarCommercial/styles.d.ts +0 -2
- package/components/commercial/HamburgerMenu/styles.d.ts +0 -13
- package/components/commercial/SectionCommercial/styles.d.ts +0 -6
- package/components/commercial/TopBar/component/ConteinItem/subcomponets/NavItem/subcomponents/ArrowIcon/styles.d.ts +0 -2
- package/components/commercial/TopBar/style.d.ts +0 -2
- package/components/formatters/FormatterRoot/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocomplete/subcomponents/RenderOption/styles.d.ts +0 -2
- package/components/hook-form/RHFAutocompleteAsync/styles.d.ts +0 -5
- package/components/hook-form/RHFCheckbox/styles.d.ts +0 -7
- package/components/hook-form/RHFColorPicker/styles.d.ts +0 -2
- package/components/hook-form/RHFDateTime/styles.d.ts +0 -2
- package/components/hook-form/RHFPeriod/styles.d.ts +0 -2
- package/components/hook-form/RHFTextField/styles.d.ts +0 -3
- package/components/hook-form/RHFTextField/subcomponents/Skeleton/styles.d.ts +0 -3
- package/components/hook-form/RHFTextFieldPassword/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/styles.d.ts +0 -2
- package/components/hook-form/RHFUpload/RHFUploadImage/subcomponents/UploadImage/styles.d.ts +0 -2
- package/components/maps/components/GpsTools/styles.d.ts +0 -2
- package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofenceAddEdit/styles.d.ts +0 -1
- package/components/maps/components/GpsTools/subcomponents/TabsGpsTools/subcomponents/GeofencesList/styles.d.ts +0 -6
- package/components/maps/components/Map/styled.d.ts +0 -2
- package/components/mui_extended/Accordion/styles.d.ts +0 -4
- package/components/mui_extended/Avatar/styles.d.ts +0 -2
- package/components/mui_extended/Badge/styles.d.ts +0 -2
- package/components/mui_extended/Button/styles.d.ts +0 -5
- package/components/mui_extended/CheckBox/styles.d.ts +0 -2
- package/components/mui_extended/IconButton/styles.d.ts +0 -2
- package/components/mui_extended/ImageButton/styles.d.ts +0 -2
- package/components/mui_extended/LoadingButton/styles.d.ts +0 -2
- package/components/mui_extended/MenuActions/styles.d.ts +0 -5
- package/components/mui_extended/Pager/styles.d.ts +0 -2
- package/components/mui_extended/Popover/styles.d.ts +0 -1
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +0 -3
- package/components/mui_extended/Stack/styles.d.ts +0 -4
- package/components/mui_extended/Tab/styles.d.ts +0 -3
- package/components/mui_extended/TabContent/styles.d.ts +0 -2
- package/components/mui_extended/Tabs/styles.d.ts +0 -4
- package/components/mui_extended/Typography/styles.d.ts +0 -2
- package/components/popups/components/PopupsViewer/styled.d.ts +0 -2
- package/contexts/RHFormContext/styles.d.ts +0 -2
- /package/components/DynamicFilter/slots/{constants.13968194.js → SlotsEnum.104a03d4.js} +0 -0
- /package/components/DynamicFilter/slots/{constants.d.ts → SlotsEnum.d.ts} +0 -0
|
@@ -1,31 +1,19 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { O as NavItemMainRoot, Q as NavSubItemContentRoot, T as NavListSubItemRoot, U as ContainerListSubItem, V as ContentGroupsRoot, X as WrapperGroup, Y as WrapperGroupTitle, Z as CollapseButtonRoot, _ as WrapperContentMobile, $ as SideBarRoot } from "../../styles/index.256d1a63.js";
|
|
3
3
|
import { createContext, useState, useContext, useEffect } from "react";
|
|
4
|
-
import { generateUtilityClasses,
|
|
4
|
+
import { generateUtilityClasses, Collapse, Drawer as Drawer$1, useTheme } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { useEnvironment, useBase, BaseProvider } from "@m4l/core";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
10
|
-
import { I as Icon, A as ArrowIcon } from "../Icon/index.
|
|
11
|
-
import { T as Typography } from "../mui_extended/Typography/index.
|
|
10
|
+
import { I as Icon, A as ArrowIcon } from "../Icon/index.04c02216.js";
|
|
11
|
+
import { T as Typography } from "../mui_extended/Typography/index.fd25cf61.js";
|
|
12
12
|
import clsx from "clsx";
|
|
13
13
|
import { useLocation } from "react-router-dom";
|
|
14
|
-
import { I as Image } from "../Image/index.
|
|
15
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
14
|
+
import { I as Image } from "../Image/index.2510b352.js";
|
|
15
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.3525b765.js";
|
|
16
16
|
import { useResponsive } from "@m4l/styles";
|
|
17
|
-
const SideBarRoot = styled("div")(({ theme }) => ({
|
|
18
|
-
...theme.components?.M4LSideBar?.styleOverrides
|
|
19
|
-
}));
|
|
20
|
-
styled("div", {
|
|
21
|
-
shouldForwardProp: (props) => props !== "collapsed"
|
|
22
|
-
})((props) => ({
|
|
23
|
-
display: "flex",
|
|
24
|
-
flexDirection: "row",
|
|
25
|
-
justifyContent: "center",
|
|
26
|
-
alignItems: props.collapsed ? "center" : "normal",
|
|
27
|
-
padding: props.theme.spacing(3, 2.5, 2, 2.5)
|
|
28
|
-
}));
|
|
29
17
|
const componentName = "M4LSideBar";
|
|
30
18
|
generateUtilityClasses(
|
|
31
19
|
componentName,
|
|
@@ -206,53 +194,6 @@ const SIDEBAR_PREFIX = "M4LSideBar";
|
|
|
206
194
|
const getNameDataTestId = (KEY) => {
|
|
207
195
|
return `${SIDEBAR_PREFIX}-${KEY}`;
|
|
208
196
|
};
|
|
209
|
-
const WrapperGroup = styled("ul")(({ theme }) => ({
|
|
210
|
-
display: "flex",
|
|
211
|
-
width: "100%",
|
|
212
|
-
flexDirection: "column",
|
|
213
|
-
gap: theme.spacing(0.5),
|
|
214
|
-
listStyle: "none",
|
|
215
|
-
padding: "0px"
|
|
216
|
-
}));
|
|
217
|
-
const ContentGroupsRoot = styled("ul")(() => ({
|
|
218
|
-
display: "flex",
|
|
219
|
-
width: "100%",
|
|
220
|
-
height: "100%"
|
|
221
|
-
}));
|
|
222
|
-
const WrapperGroupTitle = styled("li")(({ theme }) => ({
|
|
223
|
-
...theme.colorSchemes.finalTheme.typography.overline,
|
|
224
|
-
paddingTop: theme.spacing(3),
|
|
225
|
-
paddingLeft: theme.spacing(2),
|
|
226
|
-
paddingBottom: theme.spacing(1),
|
|
227
|
-
color: theme.vars.palette.text.primary,
|
|
228
|
-
transition: theme.transitions.create("opacity", {
|
|
229
|
-
duration: theme.transitions.duration.shorter
|
|
230
|
-
})
|
|
231
|
-
}));
|
|
232
|
-
const NavItemMainRoot = styled("div", {
|
|
233
|
-
shouldForwardProp: (prop) => prop !== "activeRoot"
|
|
234
|
-
})(({ activeRoot, theme }) => ({
|
|
235
|
-
...activeRoot && {
|
|
236
|
-
...theme.colorSchemes.finalTheme.typography.subtitle2,
|
|
237
|
-
color: theme.vars.palette.primary.main,
|
|
238
|
-
backgroundColor: alpha(
|
|
239
|
-
theme.colorSchemes.finalTheme.palette.primary.main,
|
|
240
|
-
theme.vars.palette.action.selectedOpacity
|
|
241
|
-
)
|
|
242
|
-
}
|
|
243
|
-
}));
|
|
244
|
-
styled(ListItemText, {
|
|
245
|
-
shouldForwardProp: (prop) => prop !== "isCollapse"
|
|
246
|
-
})(({ isCollapse, theme }) => ({
|
|
247
|
-
whiteSpace: "nowrap",
|
|
248
|
-
transition: theme.transitions.create(["width", "opacity"], {
|
|
249
|
-
duration: theme.transitions.duration.shorter
|
|
250
|
-
}),
|
|
251
|
-
...isCollapse && {
|
|
252
|
-
width: 0,
|
|
253
|
-
opacity: 0
|
|
254
|
-
}
|
|
255
|
-
}));
|
|
256
197
|
const NavItemMainContent = (props) => {
|
|
257
198
|
const { item, onClick, handlerOpen, changeVisible, open } = props;
|
|
258
199
|
const { title, icon_url: icon, children } = item;
|
|
@@ -322,49 +263,6 @@ function NavItemMain(props) {
|
|
|
322
263
|
}
|
|
323
264
|
);
|
|
324
265
|
}
|
|
325
|
-
const ContainerListSubItem = styled("div")(({ theme }) => ({
|
|
326
|
-
width: "100%",
|
|
327
|
-
height: "auto",
|
|
328
|
-
paddingLeft: theme.spacing(2.75)
|
|
329
|
-
}));
|
|
330
|
-
const NavListSubItemRoot = styled$1("div")(() => ({
|
|
331
|
-
display: "flex",
|
|
332
|
-
flexDirection: "column"
|
|
333
|
-
}));
|
|
334
|
-
const NavSubItemContentRoot = styled(ListItemButton)(({ theme }) => ({
|
|
335
|
-
display: "flex",
|
|
336
|
-
padding: theme.spacing(0, 2),
|
|
337
|
-
alignItems: "center",
|
|
338
|
-
height: theme.spacing(6),
|
|
339
|
-
borderRadius: theme.spacing(1),
|
|
340
|
-
"& .m4l_icon": {
|
|
341
|
-
marginRight: theme.spacing(1)
|
|
342
|
-
}
|
|
343
|
-
}));
|
|
344
|
-
styled("span", {
|
|
345
|
-
shouldForwardProp: (props) => props !== "active"
|
|
346
|
-
})(({ theme, active }) => ({
|
|
347
|
-
width: "22px",
|
|
348
|
-
height: "22px",
|
|
349
|
-
display: "flex",
|
|
350
|
-
justifyContent: "center",
|
|
351
|
-
alignItems: "center",
|
|
352
|
-
borderRadius: "50%",
|
|
353
|
-
transition: theme.transitions.create("transform", {
|
|
354
|
-
duration: theme.transitions.duration.shorter
|
|
355
|
-
}),
|
|
356
|
-
"&::before": {
|
|
357
|
-
content: '""',
|
|
358
|
-
width: "4px",
|
|
359
|
-
height: "4px",
|
|
360
|
-
borderRadius: "50%",
|
|
361
|
-
backgroundColor: theme.vars.palette.text.disabled,
|
|
362
|
-
...active && {
|
|
363
|
-
transform: "scale(1.5)",
|
|
364
|
-
backgroundColor: theme.vars.palette.primary.main
|
|
365
|
-
}
|
|
366
|
-
}
|
|
367
|
-
}));
|
|
368
266
|
const NavSubItemContent = (props) => {
|
|
369
267
|
const { item, onClick, closePopover = () => {
|
|
370
268
|
}, setOpenSub, openSub } = props;
|
|
@@ -610,12 +508,6 @@ const ContentGroups = () => {
|
|
|
610
508
|
}
|
|
611
509
|
);
|
|
612
510
|
};
|
|
613
|
-
const CollapseButtonRoot = styled$1("div")(() => ({
|
|
614
|
-
display: "flex"
|
|
615
|
-
}));
|
|
616
|
-
styled$1("div")(() => ({
|
|
617
|
-
display: "flex"
|
|
618
|
-
}));
|
|
619
511
|
function FooterSidebar(_props) {
|
|
620
512
|
const { classes, companyLogoNormalUrl } = useSideBar$1();
|
|
621
513
|
return /* @__PURE__ */ jsx(
|
|
@@ -704,20 +596,6 @@ const ContentDesktop = () => {
|
|
|
704
596
|
const areaExpandMenuSize = collapsed ? !overlay ? MENU_COLLAPSED_SIZE : expandedWidth : expandedWidth;
|
|
705
597
|
return /* @__PURE__ */ jsx("div", { className: classes.areaExpandMenu, style: { width: areaExpandMenuSize }, children: /* @__PURE__ */ jsx(ContentComponent, {}) });
|
|
706
598
|
};
|
|
707
|
-
const WrapperContentMobile = styled$1("div")(({ theme }) => ({
|
|
708
|
-
"& .m4l_image": {
|
|
709
|
-
display: "flex",
|
|
710
|
-
gap: theme.spacing(3),
|
|
711
|
-
alignItems: "center",
|
|
712
|
-
justifyContent: "center",
|
|
713
|
-
flexShrink: 0
|
|
714
|
-
}
|
|
715
|
-
}));
|
|
716
|
-
styled$1("div")(({ theme }) => ({
|
|
717
|
-
width: "100%",
|
|
718
|
-
height: "auto",
|
|
719
|
-
padding: theme.spacing(0, 2)
|
|
720
|
-
}));
|
|
721
599
|
const Drawer = (props) => {
|
|
722
600
|
const { children } = props;
|
|
723
601
|
return /* @__PURE__ */ jsx(Drawer$1, { ...props, children });
|
|
@@ -1,32 +1,10 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a0 as SplitLayoutRoot, a1 as SplitMaster, a2 as SplitDetail } from "../../styles/index.256d1a63.js";
|
|
3
|
+
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
3
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
5
|
import clsx from "clsx";
|
|
5
6
|
import { T as TEST_PROP_ID } from "../../test/constants_no_mock.86c553a9.js";
|
|
6
7
|
import { S as SplitterLayout } from "../../react-splitter-layout.8b1655c8.js";
|
|
7
|
-
const SplitLayoutRoot = styled("div")(({ theme }) => ({
|
|
8
|
-
...theme.components?.M4LSplitLayout?.styleOverrides
|
|
9
|
-
}));
|
|
10
|
-
const SplitMaster = styled("div")(() => ({
|
|
11
|
-
display: "flex",
|
|
12
|
-
flexDirection: "column",
|
|
13
|
-
position: "relative",
|
|
14
|
-
width: "100%",
|
|
15
|
-
height: "100%",
|
|
16
|
-
overflow: "hidden"
|
|
17
|
-
}));
|
|
18
|
-
const SplitDetail = styled("div")(() => ({
|
|
19
|
-
display: "flex",
|
|
20
|
-
flexDirection: "column",
|
|
21
|
-
justifyContent: "center",
|
|
22
|
-
alignItems: "center",
|
|
23
|
-
overflow: "hidden",
|
|
24
|
-
position: "absolute",
|
|
25
|
-
left: "0px",
|
|
26
|
-
right: "0px",
|
|
27
|
-
top: "0px",
|
|
28
|
-
bottom: "0px"
|
|
29
|
-
}));
|
|
30
8
|
const componentName = "M4LSplitLayout";
|
|
31
9
|
generateUtilityClasses(componentName, [
|
|
32
10
|
"root",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { a3 as ToastContainerRoot } from "../../styles/index.256d1a63.js";
|
|
3
3
|
import { ToastContainer as ToastContainer$1 } from "react-toastify";
|
|
4
|
+
import { generateUtilityClasses } from "@mui/material";
|
|
4
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
6
|
import { g as getComponentUtilityClass } from "../../utils/index.14912462.js";
|
|
6
7
|
import { useEnvironment } from "@m4l/core";
|
|
7
8
|
import { useMemo } from "react";
|
|
8
|
-
import { I as Icon } from "../Icon/index.
|
|
9
|
-
const ToastContainerRoot = styled("div")(({ theme }) => ({
|
|
10
|
-
...theme.components?.M4LToastContainer?.styleOverrides
|
|
11
|
-
}));
|
|
9
|
+
import { I as Icon } from "../Icon/index.04c02216.js";
|
|
12
10
|
const componentName = "M4LToastContainer";
|
|
13
11
|
const toastClasses = generateUtilityClasses(
|
|
14
12
|
componentName,
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
import { jsx, Fragment, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { m } from "framer-motion";
|
|
3
3
|
import { alpha } from "@mui/material/styles";
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
shouldForwardProp: (props) => props !== "variant"
|
|
7
|
-
})(({ theme, variant }) => ({
|
|
8
|
-
right: 0,
|
|
9
|
-
bottom: 0,
|
|
10
|
-
zIndex: 99999,
|
|
11
|
-
width: "100%",
|
|
12
|
-
height: "100%",
|
|
13
|
-
position: "fixed",
|
|
14
|
-
display: "flex",
|
|
15
|
-
alignItems: "center",
|
|
16
|
-
justifyContent: "center",
|
|
17
|
-
backgroundColor: theme.vars.palette.background.default,
|
|
18
|
-
...variant === "microfrontend" && {
|
|
19
|
-
position: "relative",
|
|
20
|
-
zIndex: 0
|
|
21
|
-
}
|
|
22
|
-
}));
|
|
4
|
+
import { Box } from "@mui/material";
|
|
5
|
+
import { a4 as RootStyle } from "../../../styles/index.256d1a63.js";
|
|
23
6
|
function LoadingScreen(props) {
|
|
24
7
|
const { isDashboard, variant = "fullpage", ...other } = props;
|
|
25
8
|
return /* @__PURE__ */ jsx(Fragment, { children: !isDashboard && /* @__PURE__ */ jsxs(RootStyle, { variant, ...other, children: [
|
|
@@ -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.256d1a63.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.566c6df3.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.256d1a63.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.c4a0f78b.js";
|
|
17
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.0e2d7d10.js";
|
|
18
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.d80b8e93.js";
|
|
19
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.e65a7bcf.js";
|
|
20
|
+
import { A as ActionCancel } from "../../../CommonActions/components/ActionCancel/index.84664a29.js";
|
|
21
|
+
import { A as ActionIntro } from "../../../CommonActions/components/ActionIntro/index.27a112d7.js";
|
|
22
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.3525b765.js";
|
|
23
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.1747563c.js";
|
|
24
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.fd25cf61.js";
|
|
25
|
+
import { S as ScrollBar } from "../../../ScrollBar/index.6ec54e64.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.7b82d621.js";
|
|
28
|
+
import { I as Icon } from "../../../Icon/index.04c02216.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
|
};
|