@m4l/components 2.0.2 → 2.0.3
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.68a8c117.js → index.b8f938bc.js} +3 -3
- package/components/AppBar/{index.09ac84de.js → index.a6c11abf.js} +4 -4
- package/components/BaseModule/{index.51f3fd59.js → index.a2748ad4.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.c9aae474.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.4f465b17.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.5b2f9ea3.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.606f6965.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c7fab394.js → index.7ddd8fed.js} +1 -1
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0a1b3610.js → index.d53a08b2.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.30890ddd.js → index.24871f1a.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.9aa14799.js → index.e2028765.js} +1 -1
- package/components/DataGrid/formatters/{index.90ed715b.js → index.9f76fa68.js} +2 -2
- package/components/DataGrid/{index.58b8d903.js → index.83acf2ec.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.ea70129c.js → index.b2e43df5.js} +11 -11
- package/components/DragResizeWindow/{index.8c51fb79.js → index.71f98a3f.js} +1 -1
- package/components/DynamicFilter/{dictionary.10bebb21.js → dictionary.0ca834c5.js} +2 -2
- package/components/DynamicFilter/{index.a978aea9.js → index.dd9542f7.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.26eaa1b1.js → dynamicFilterSlots.fc8ba331.js} +5 -5
- package/components/DynamicFilter/store/{index.81a5dd49.js → index.a3881e3f.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.bc09a76f.js → index.2c1b4665.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.891b913a.js → index.5a48a3f9.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8fbcaf0f.js → index.8cd8e454.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.699a1d82.js → index.942393bc.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.59293b05.js → index.6e5db1db.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.ca652641.js → index.8be39e45.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.22eac312.js → index.8afc53ef.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.3e2ae583.js → index.4c275e36.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.25df1e76.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.69d8bda3.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b312fd70.js → index.2efc775c.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.1796f1dd.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.43857f7a.js → index.d7e77279.js} +2 -2
- package/components/FieldLabel/{index.2aaaac6f.js → index.bcb6f05d.js} +3 -3
- package/components/GridLayout/{index.2f9a1cff.js → index.fba6e114.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.f904e69e.js → index.24adfcc1.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.ef62bea3.js → index.41358259.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.2707f196.js → index.b2a45435.js} +1 -1
- package/components/HelperText/{index.25891eda.js → index.1d152104.js} +2 -2
- package/components/Icon/{index.89dba21c.js → index.e79efafa.js} +3 -3
- package/components/Image/{index.94949e55.js → index.27d3bf2a.js} +2 -2
- package/components/LanguagePopover/{index.54aff144.js → index.73b2da28.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.e25f9201.js → index.49f4fbd4.js} +1 -1
- package/components/LoadingError/{index.ef15a461.js → index.a4ad865d.js} +5 -5
- package/components/MFIsolationApp/{index.083fad1c.js → index.88ea1147.js} +2 -2
- package/components/MFLoader/{index.342598a8.js → index.0e50e984.js} +2 -2
- package/components/ModalDialog/{index.545ef5eb.js → index.de979aa7.js} +3 -3
- package/components/NavLink/{index.6a6f3671.js → index.1229fbb2.js} +2 -2
- package/components/NoItemSelected/{index.0d1e8d29.js → index.4c345906.js} +1 -1
- package/components/ObjectLogs/{index.32555956.js → index.af581566.js} +9 -9
- package/components/PDFViewer/{index.e909be56.js → index.46aab44b.js} +2 -2
- package/components/Page/{index.d42de29f.js → index.37b8df68.js} +1 -1
- package/components/PaperForm/{index.dbcbd677.js → index.471089c1.js} +2 -2
- package/components/Period/{index.76c4e428.js → index.c6c42384.js} +4 -4
- package/components/PrintingSystem/{index.3381ece1.js → index.7da645cd.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.da4c231c.js → index.94eafe80.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4871c76e.js → index.d1d4df7c.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f768c90f.js → index.99d66340.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.725664fd.js → index.505dfe08.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.caebf8e6.js → index.a191c50e.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a5f20406.js → index.56ddc2c3.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.6d2ed690.js → index.e319581e.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.ec9d332c.js → index.d0ddaaf8.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e9449a3f.js → index.6c8ec606.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.bf55f5a7.js → index.b4bf6aa2.js} +1 -1
- package/components/PropertyValue/{index.9dd592cd.js → index.0f4c6047.js} +3 -3
- package/components/Resizeable/{index.6cbe80f0.js → index.cec51d22.js} +1 -1
- package/components/ScrollBar/{index.aedb43d9.js → index.50d66dbb.js} +1 -1
- package/components/SideBar/{index.edd76204.js → index.6b4343bd.js} +5 -5
- package/components/SplitLayout/{index.5289a660.js → index.05f12155.js} +1 -1
- package/components/ToastContainer/{index.8f9f75e9.js → index.aeb842ca.js} +2 -2
- package/components/animate/LoadingScreen/{index.c5cf3b93.js → index.53f75ce6.js} +1 -1
- package/components/animate/{index.9c9ee071.js → index.c32350f3.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a52bb40d.js → index.eb7f0465.js} +14 -14
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.de8df5d3.js → index.30c06d82.js} +71 -34
- package/components/areas/contexts/AreasContext/{index.514df5ff.js → index.58db339a.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6c943645.js → index.b155b0dd.js} +1 -1
- package/components/commercial/AppBarCommercial/{index.cac50795.js → index.eda47057.js} +1 -1
- package/components/commercial/SectionCommercial/{index.c967ba14.js → index.f04720cd.js} +1 -1
- package/components/commercial/TopBar/{index.85568231.js → index.09698b46.js} +5 -5
- package/components/commercial/{index.d872094e.js → index.f2615c66.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.1da1e6b0.js → index.710d2b28.js} +2 -2
- package/components/formatters/{index.ac081b3a.js → index.6ee697c8.js} +2 -2
- package/components/hook-form/HelperError/{index.296a4c82.js → index.aa7d32dc.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.b1c29dd0.js → index.8f569ae5.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.fb434e68.js → index.9dcde1ca.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.140d872f.js → index.c83df993.js} +3 -3
- package/components/hook-form/RHFColorPicker/{index.3eb719ac.js → index.959c3cad.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.54f97b37.js → index.cf48b018.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c8238ea4.js → index.738d7bb0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.78ec0e22.js → index.242cda5c.js} +1 -1
- package/components/hook-form/RHFTextField/{index.984a4dba.js → index.9fb17e41.js} +4 -4
- package/components/hook-form/RHFUpload/{index.0516dc8f.js → index.699268ca.js} +5 -5
- package/components/maps/components/GpsTools/{index.779e5b17.js → index.c4b62b00.js} +22 -22
- package/components/maps/components/Map/{index.14ce256b.js → index.4308fef5.js} +12 -12
- package/components/modal/{WindowBase.a6654e8c.js → WindowBase.36d9a627.js} +3 -3
- package/components/modal/{WindowConfirm.38a79eee.js → WindowConfirm.402ad54e.js} +6 -6
- package/components/mui_extended/Accordion/{index.0e62423b.js → index.51a15c0e.js} +4 -4
- package/components/mui_extended/Avatar/{index.edcf899d.js → index.79c26d4f.js} +1 -1
- package/components/mui_extended/Badge/{index.a6dceff2.js → index.17eae617.js} +1 -1
- package/components/mui_extended/Button/{index.9c6c173c.js → index.ab6e0ce4.js} +3 -3
- package/components/mui_extended/{CheckBox.9d43398b.js → CheckBox.e80fe5f3.js} +2 -2
- package/components/mui_extended/IconButton/{index.42efd85d.js → index.f0c09b00.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b1f8a1be.js → index.2597f410.js} +5 -5
- package/components/mui_extended/Pager/{index.3687d8b6.js → index.3f25697d.js} +4 -4
- package/components/mui_extended/Popover/{index.58f8522b.js → index.b0bfd9c7.js} +1 -1
- package/components/mui_extended/Stack/{index.b0690398.js → index.5c75c025.js} +1 -1
- package/components/mui_extended/Tab/{index.8a0bd49c.js → index.5269b568.js} +1 -1
- package/components/mui_extended/ToggleButton/{index.c4e62f10.js → index.1317263c.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.7635e223.js → index.2e766f5c.js} +1 -1
- package/components/mui_extended/Typography/{index.24a872e2.js → index.4ba02863.js} +1 -1
- package/components/popups/PopupsViewer/{index.eaa54c6c.js → index.ea8cf50a.js} +4 -4
- package/components/popups/PopupsViewer/slots/{popupsViewerSlots.45032030.js → popupsViewerSlots.2dab56ff.js} +2 -2
- package/contexts/ModalContext/{index.7f4d2b18.js → index.6e8cbe8a.js} +1 -1
- package/contexts/RHFormContext/{index.19edaacb.js → index.390245ca.js} +1 -1
- package/hooks/useFormAddEdit/{index.aa9cc210.js → index.a9d5298d.js} +2 -2
- package/hooks/useModal/{index.a2a50f01.js → index.a9bf26b8.js} +1 -1
- package/hooks/useTab/{index.c0a8f413.js → index.f0bd61d3.js} +1 -1
- package/index.js +118 -118
- package/package.json +1 -1
- package/styles/{index.59da2f54.js → index.dbc66bb9.js} +7 -7
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.
|
|
2
|
+
import { a8 as WindowRoot, a9 as WrapperWindowModal, aa as AreasViewerRoot } from "../../../../styles/index.dbc66bb9.js";
|
|
3
3
|
import { shallow } from "zustand/shallow";
|
|
4
4
|
import React__default, { useMemo, useEffect } from "react";
|
|
5
5
|
import clsx from "clsx";
|
|
6
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
6
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.b155b0dd.js";
|
|
7
7
|
import { generateUtilityClasses, Skeleton } 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_VIEWER_CLASS_NAME } from "../../constants.66529246.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.2597f410.js";
|
|
13
13
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
14
14
|
import { I as ICONS } from "../../icons.8266ccc8.js";
|
|
15
15
|
import { g as getAreasDictionary, D as DICCTIONARY } from "../../dictionary.08cfc4c9.js";
|
|
16
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
17
|
-
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.
|
|
18
|
-
import { I as Icon } from "../../../Icon/index.
|
|
19
|
-
import { T as Typography } from "../../../mui_extended/Typography/index.
|
|
20
|
-
import { M as MFLoader } from "../../../MFLoader/index.
|
|
16
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.f0c09b00.js";
|
|
17
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.49f4fbd4.js";
|
|
18
|
+
import { I as Icon } from "../../../Icon/index.e79efafa.js";
|
|
19
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.4ba02863.js";
|
|
20
|
+
import { M as MFLoader } from "../../../MFLoader/index.0e50e984.js";
|
|
21
21
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.992ae7a3.js";
|
|
22
22
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.3d9ad0ad.js";
|
|
23
23
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.4092bb69.js";
|
|
24
24
|
import { T as TEST_PROP_ID } from "../../../../test/constants_no_mock.86c553a9.js";
|
|
25
25
|
import { g as getNameDataTestId } from "../../../../test/getNameDataTestId.0faeade8.js";
|
|
26
|
-
import { R as RESPONSIVE_COLAPSED_HEIGHTS, a as RESPONSIVE_ROW_HEIGHTS, M as MARGIN_GRIDLAYOUT, P as PADDING_GRIDLAYOUT } from "../../contexts/AreasContext/index.
|
|
27
|
-
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.
|
|
28
|
-
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.58db339a.js";
|
|
27
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.b2a45435.js";
|
|
28
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.41358259.js";
|
|
29
29
|
import { useLocation } from "react-router-dom";
|
|
30
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
30
|
+
import { L as LoadingError } from "../../../LoadingError/index.a4ad865d.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.cec51d22.js";
|
|
33
33
|
const areasViewerClasses = generateUtilityClasses(
|
|
34
34
|
AREAS_VIEWER_CLASS_NAME,
|
|
35
35
|
[
|
|
@@ -61,6 +61,7 @@ const areasViewerClasses = generateUtilityClasses(
|
|
|
61
61
|
"windowToastyClose",
|
|
62
62
|
"panelWindowsRoot",
|
|
63
63
|
"panelWindowsButtonContainer",
|
|
64
|
+
"panelWindowsSeparator",
|
|
64
65
|
"containerLinearProgress",
|
|
65
66
|
"resizeHandle",
|
|
66
67
|
"loaderContainer",
|
|
@@ -120,6 +121,7 @@ const useAreasViewerUtilityClasses = (ownerState) => {
|
|
|
120
121
|
windowToastyClose: ["windowToastyClose"],
|
|
121
122
|
panelWindowsRoot: ["panelWindowsRoot"],
|
|
122
123
|
panelWindowsButtonContainer: ["panelWindowsButtonContainer"],
|
|
124
|
+
panelWindowsSeparator: ["panelWindowsSeparator"],
|
|
123
125
|
resizeHandle: ["resizeHandle"],
|
|
124
126
|
loaderContainer: ["loaderContainer"],
|
|
125
127
|
containerComponent: ["containerComponent"]
|
|
@@ -674,6 +676,17 @@ const PanelWindows = (props) => {
|
|
|
674
676
|
})),
|
|
675
677
|
shallow
|
|
676
678
|
);
|
|
679
|
+
const hashPopuosItems = useAreasStore(
|
|
680
|
+
(state) => state.hashAreas[areaId].layoutItemsIds.filter((itemId) => state.hashWindows[itemId].emergeType === "popup").map((key) => ({
|
|
681
|
+
i: key,
|
|
682
|
+
url_icon: state.hashWindows[key].url_icon,
|
|
683
|
+
title: state.hashWindows[key].title,
|
|
684
|
+
moduleId: state.hashWindows[key].moduleId,
|
|
685
|
+
emergeType: state.hashWindows[key].emergeType,
|
|
686
|
+
windowId: state.hashWindows[key].windowId
|
|
687
|
+
})),
|
|
688
|
+
shallow
|
|
689
|
+
);
|
|
677
690
|
const { maximizeLayout } = useAreasStore((state) => state.areaActions);
|
|
678
691
|
const onTouched = (layoutId) => {
|
|
679
692
|
maximizeLayout(areaId, layoutId);
|
|
@@ -685,27 +698,51 @@ const PanelWindows = (props) => {
|
|
|
685
698
|
if (!maximizedId || hashLayoutItems.length < 2) {
|
|
686
699
|
return null;
|
|
687
700
|
}
|
|
688
|
-
return /* @__PURE__ */
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
701
|
+
return /* @__PURE__ */ jsxs("div", { className: areasViewerClasses.panelWindowsRoot, children: [
|
|
702
|
+
hashLayoutItems.map((kl) => {
|
|
703
|
+
return /* @__PURE__ */ jsx(
|
|
704
|
+
"div",
|
|
705
|
+
{
|
|
706
|
+
className: clsx(
|
|
707
|
+
areasViewerClasses.panelWindowsButtonContainer,
|
|
708
|
+
maximizedId === kl.i && kl.emergeType !== "popup" || maximizedIdParent === kl.windowId && kl.moduleId === currentParam ? areasViewerClasses.selected : null
|
|
709
|
+
),
|
|
710
|
+
children: /* @__PURE__ */ jsx(
|
|
711
|
+
IconButton,
|
|
712
|
+
{
|
|
713
|
+
src: kl.url_icon,
|
|
714
|
+
size: "small",
|
|
715
|
+
onClick: () => onTouched(kl.i),
|
|
716
|
+
tooltip: maximizedId !== kl.i ? kl.title : void 0
|
|
717
|
+
}
|
|
718
|
+
)
|
|
719
|
+
},
|
|
720
|
+
kl.i
|
|
721
|
+
);
|
|
722
|
+
}),
|
|
723
|
+
hashPopuosItems.length > 0 && /* @__PURE__ */ jsx("div", { className: areasViewerClasses.panelWindowsSeparator }),
|
|
724
|
+
hashPopuosItems.map((kl) => {
|
|
725
|
+
return /* @__PURE__ */ jsx(
|
|
726
|
+
"div",
|
|
727
|
+
{
|
|
728
|
+
className: clsx(
|
|
729
|
+
areasViewerClasses.panelWindowsButtonContainer,
|
|
730
|
+
maximizedId === kl.i && kl.emergeType !== "popup" || maximizedIdParent === kl.windowId && kl.moduleId === currentParam ? areasViewerClasses.selected : null
|
|
731
|
+
),
|
|
732
|
+
children: /* @__PURE__ */ jsx(
|
|
733
|
+
IconButton,
|
|
734
|
+
{
|
|
735
|
+
src: kl.url_icon,
|
|
736
|
+
size: "small",
|
|
737
|
+
onClick: () => onTouched(kl.i),
|
|
738
|
+
tooltip: maximizedId !== kl.i ? kl.title : void 0
|
|
739
|
+
}
|
|
740
|
+
)
|
|
741
|
+
},
|
|
742
|
+
kl.i
|
|
743
|
+
);
|
|
744
|
+
})
|
|
745
|
+
] });
|
|
709
746
|
} else {
|
|
710
747
|
return null;
|
|
711
748
|
}
|
|
@@ -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.30c06d82.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.eb7f0465.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.41358259.js";
|
|
14
14
|
import { debounce, cloneDeep } from "lodash";
|
|
15
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
15
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.fba6e114.js";
|
|
16
16
|
const PADDING_GRIDLAYOUT = 11;
|
|
17
17
|
const MARGIN_GRIDLAYOUT = 11;
|
|
18
18
|
const DEBOUCED_SAVE_TIME = 500;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { b as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { b as AreasContext } from "../../contexts/AreasContext/index.58db339a.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
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.
|
|
5
|
+
import { ab as AppBarComercialRoot } from "../../../styles/index.dbc66bb9.js";
|
|
6
6
|
const componentName = "M4LAppBarCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
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 { ac as SectionCommercialRoot } from "../../../styles/index.
|
|
5
|
+
import { ac as SectionCommercialRoot } from "../../../styles/index.dbc66bb9.js";
|
|
6
6
|
const componentName = "M4LSectionCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -5,13 +5,13 @@ 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 { ad as ArrowIconRoot } from "../../../styles/index.
|
|
9
|
-
import { I as Icon } from "../../Icon/index.
|
|
8
|
+
import { ad as ArrowIconRoot } from "../../../styles/index.dbc66bb9.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.e79efafa.js";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { g as getNameDataTestId } from "../../../test/getNameDataTestId.0faeade8.js";
|
|
12
|
-
import { A as Accordion } from "../../mui_extended/Accordion/index.
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
12
|
+
import { A as Accordion } from "../../mui_extended/Accordion/index.51a15c0e.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.ab6e0ce4.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.b0bfd9c7.js";
|
|
15
15
|
const componentName = "M4LTopBar";
|
|
16
16
|
const TopBarClasses = generateUtilityClasses(componentName, [
|
|
17
17
|
"root",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
|
-
import { ae as HamburgerMenuRoot } from "../../styles/index.
|
|
3
|
+
import { ae as HamburgerMenuRoot } from "../../styles/index.dbc66bb9.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.
|
|
8
|
+
import { S as SideBar } from "../SideBar/index.6b4343bd.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.f0c09b00.js";
|
|
10
10
|
const componentName = "M4LHamburgerMenuCommercial";
|
|
11
11
|
generateUtilityClasses(componentName, ["root", "ImageLogo"]);
|
|
12
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.e79efafa.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.6ee697c8.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,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
|
-
import { af as FormatterRootContainer } from "../../styles/index.
|
|
4
|
+
import { af as FormatterRootContainer } from "../../styles/index.dbc66bb9.js";
|
|
5
5
|
import { W as WrapperComponent } from "../WrapperComponent/index.57964195.js";
|
|
6
6
|
import { useModuleDictionary } from "@m4l/core";
|
|
7
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.
|
|
7
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY } from "./BooleanFormatter/index.710d2b28.js";
|
|
8
8
|
const COMPONENT_CLASS_NAME = "M4LFormatter";
|
|
9
9
|
const formatterClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
10
10
|
"root",
|
|
@@ -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.1d152104.js";
|
|
4
4
|
function HelperError(props) {
|
|
5
5
|
const { name } = props;
|
|
6
6
|
const { control } = useFormContext();
|
|
@@ -6,14 +6,14 @@ import { generateUtilityClasses, generateUtilityClass, Skeleton, useTheme, Autoc
|
|
|
6
6
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
7
|
import { useFormContext, Controller } from "react-hook-form";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.
|
|
9
|
+
import { ag as WrapperOption, ah as AutocompleteRoot } from "../../../styles/index.dbc66bb9.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import { I as Image } from "../../Image/index.
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
11
|
+
import { I as Image } from "../../Image/index.27d3bf2a.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.4ba02863.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.bcb6f05d.js";
|
|
15
15
|
import { C as CircularProgress } from "../../mui_extended/CircularProgress/index.967e70b7.js";
|
|
16
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
16
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.f0c09b00.js";
|
|
17
17
|
const componentName = "M4LRHFAutocomplete";
|
|
18
18
|
generateUtilityClasses(
|
|
19
19
|
componentName,
|
|
@@ -4,9 +4,9 @@ import { useState, useCallback, useEffect } from "react";
|
|
|
4
4
|
import debounce from "lodash/debounce";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.
|
|
7
|
+
import { ai as RHFAutocompleteAsyncRoot } from "../../../styles/index.dbc66bb9.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
9
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.8f569ae5.js";
|
|
10
10
|
const componentName = "M4LRHFAutocompleteAsync";
|
|
11
11
|
generateUtilityClasses(
|
|
12
12
|
componentName,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.
|
|
3
|
+
import { aj as RHFCheckboxRoot, ak as ContainerCheckTypography } from "../../../styles/index.dbc66bb9.js";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { useModuleSkeleton } from "@m4l/core";
|
|
10
10
|
import { useFormFocus } from "../../../index.js";
|
|
11
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox.
|
|
11
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox.e80fe5f3.js";
|
|
12
12
|
generateUtilityClasses("M4LRHFCheckbox", [
|
|
13
13
|
"root",
|
|
14
14
|
"checkTypography",
|
|
@@ -3,17 +3,17 @@ import { useState } from "react";
|
|
|
3
3
|
import { useFormContext, useWatch, Controller } from "react-hook-form";
|
|
4
4
|
import { useModuleSkeleton, useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
5
5
|
import { SketchPicker } from "react-color";
|
|
6
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
6
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
7
7
|
import { generateUtilityClasses, generateUtilityClass, Skeleton } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { al as RHFColorPickerRoot } from "../../../styles/index.
|
|
9
|
+
import { al as RHFColorPickerRoot } from "../../../styles/index.dbc66bb9.js";
|
|
10
10
|
import { useTheme } from "@mui/material/styles";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { useFormFocus } from "../../../index.js";
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
15
|
-
import { I as Icon } from "../../Icon/index.
|
|
16
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.bcb6f05d.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.b0bfd9c7.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.e79efafa.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index.ab6e0ce4.js";
|
|
17
17
|
const componentName = "M4LRHFColorPicker";
|
|
18
18
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
19
19
|
"root",
|
|
@@ -7,12 +7,12 @@ import { useFormatter, useResponsiveDesktop } from "@m4l/graphics";
|
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import clsx from "clsx";
|
|
10
|
-
import { am as RHFDateTimeRoot } from "../../../styles/index.
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
10
|
+
import { am as RHFDateTimeRoot } from "../../../styles/index.dbc66bb9.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
12
12
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
15
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.bcb6f05d.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.e79efafa.js";
|
|
16
16
|
const SkeletonRHFDateTime = (props) => {
|
|
17
17
|
const { skeletonWidth, skeletonHeight, className, label } = props;
|
|
18
18
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
|
-
import { an as RHFPeriodRoot } from "../../../styles/index.
|
|
2
|
+
import { an as RHFPeriodRoot } from "../../../styles/index.dbc66bb9.js";
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { useFormFocus } from "../../../index.js";
|
|
9
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
10
|
-
import { P as Period } from "../../Period/index.
|
|
9
|
+
import { F as FieldLabel } from "../../FieldLabel/index.bcb6f05d.js";
|
|
10
|
+
import { P as Period } from "../../Period/index.c6c42384.js";
|
|
11
11
|
const componentName = "M4LRHFPeriod";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
13
13
|
"root",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { RadioGroup, FormControlLabel, FormHelperText, Radio } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.e79efafa.js";
|
|
5
5
|
function OptionIconLabelFormatter(option, getOptionLabel, getOptionIconUrl) {
|
|
6
6
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
7
7
|
/* @__PURE__ */ jsx(
|
|
@@ -2,16 +2,16 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { forwardRef, useState, useEffect } from "react";
|
|
5
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
5
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.f0c09b00.js";
|
|
6
6
|
import { useFormContext, Controller } from "react-hook-form";
|
|
7
|
-
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.
|
|
7
|
+
import { ao as SkeletonTextFieldRoot, ap as WrapperSkeletonRHFTextField, aq as RHFTextFieldRoot, ar as RHFTextFieldPasswordRoot } from "../../../styles/index.dbc66bb9.js";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { g as getComponentUtilityClass } from "../../../utils/index.14912462.js";
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
13
|
import { useFormFocus } from "../../../index.js";
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.bcb6f05d.js";
|
|
15
15
|
const RHFTEXTFIELD_ROOT_TEST_ID = "RHFTextFieldRoot";
|
|
16
16
|
const RHFTEXTFIELD_INPUT_TEST_ID = "RHFTextFieldInput";
|
|
17
17
|
const RHFTEXTFIELD_PREFIX = "RHFTextField";
|
|
@@ -3,15 +3,15 @@ import { useCallback } from "react";
|
|
|
3
3
|
import { useFormContext, Controller } from "react-hook-form";
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
|
-
import { I as Image } from "../../Image/index.
|
|
6
|
+
import { I as Image } from "../../Image/index.27d3bf2a.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
|
-
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.
|
|
8
|
+
import { as as UploadImageRoot, at as WrapperRHFUploadImage } from "../../../styles/index.dbc66bb9.js";
|
|
9
9
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
14
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.4ba02863.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.ab6e0ce4.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.1d152104.js";
|
|
15
15
|
const ICON_PREFIX = "M4LRHFUploadImage";
|
|
16
16
|
const getNameRHFUploadImageDataTestId = (KEY) => {
|
|
17
17
|
return `${ICON_PREFIX}-${KEY}`;
|
|
@@ -5,42 +5,42 @@ import { shallow } from "zustand/shallow";
|
|
|
5
5
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
6
6
|
import "@geoman-io/leaflet-geoman-free";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.
|
|
9
|
-
import { D as DynamicFilter } from "../../../DynamicFilter/index.
|
|
10
|
-
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.
|
|
8
|
+
import { au as RHFormProviderStyled, av as StackGeofenceListRoot, aw as DivTabGpsToolsRoot } from "../../../../styles/index.dbc66bb9.js";
|
|
9
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index.dd9542f7.js";
|
|
10
|
+
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.9f76fa68.js";
|
|
11
11
|
import { C as ColumnDateFormatter } from "../../../DataGrid/formatters/ColumnDateFormatter/index.e00d0cf2.js";
|
|
12
12
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
13
13
|
import { useFormContext, useWatch, useFormState } from "react-hook-form";
|
|
14
|
-
import { H as HelperError } from "../../../hook-form/HelperError/index.
|
|
15
|
-
import { u as useModal } from "../../../../hooks/useModal/index.
|
|
14
|
+
import { H as HelperError } from "../../../hook-form/HelperError/index.aa7d32dc.js";
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index.a9bf26b8.js";
|
|
16
16
|
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.776c62e7.js";
|
|
17
17
|
import { createStore, useStore } from "zustand";
|
|
18
18
|
import { devtools } from "zustand/middleware";
|
|
19
19
|
import { immer } from "zustand/middleware/immer";
|
|
20
20
|
import { enableMapSet } from "immer";
|
|
21
|
-
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.
|
|
22
|
-
import { W as WindowConfirm } from "../../../modal/WindowConfirm.
|
|
23
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
24
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
21
|
+
import { A as ActionFormIntro } from "../../../CommonActions/components/ActionFormIntro/index.5b2f9ea3.js";
|
|
22
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.402ad54e.js";
|
|
23
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.7ddd8fed.js";
|
|
24
|
+
import { B as Button } from "../../../mui_extended/Button/index.ab6e0ce4.js";
|
|
25
25
|
import { useMap } from "react-leaflet";
|
|
26
26
|
import * as L from "leaflet";
|
|
27
27
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
28
|
-
import { u as useTab } from "../../../../hooks/useTab/index.
|
|
28
|
+
import { u as useTab } from "../../../../hooks/useTab/index.f0bd61d3.js";
|
|
29
29
|
import { generateUtilityClasses } from "@mui/material";
|
|
30
30
|
import "@mui/base";
|
|
31
|
-
import { P as PaperForm } from "../../../PaperForm/index.
|
|
32
|
-
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.
|
|
33
|
-
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.
|
|
34
|
-
import { S as Stack } from "../../../mui_extended/Stack/index.
|
|
35
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
36
|
-
import { P as PropertyValue } from "../../../PropertyValue/index.
|
|
37
|
-
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.
|
|
38
|
-
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.
|
|
39
|
-
import { I as Icon } from "../../../Icon/index.
|
|
31
|
+
import { P as PaperForm } from "../../../PaperForm/index.471089c1.js";
|
|
32
|
+
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.8f569ae5.js";
|
|
33
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.9fb17e41.js";
|
|
34
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.5c75c025.js";
|
|
35
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.f0c09b00.js";
|
|
36
|
+
import { P as PropertyValue } from "../../../PropertyValue/index.0f4c6047.js";
|
|
37
|
+
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.959c3cad.js";
|
|
38
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.5269b568.js";
|
|
39
|
+
import { I as Icon } from "../../../Icon/index.e79efafa.js";
|
|
40
40
|
import * as Yup from "yup";
|
|
41
|
-
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.
|
|
42
|
-
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.
|
|
43
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
41
|
+
import { u as useFormAddEdit } from "../../../../hooks/useFormAddEdit/index.a9d5298d.js";
|
|
42
|
+
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.4308fef5.js";
|
|
43
|
+
import { D as DataGrid } from "../../../DataGrid/index.83acf2ec.js";
|
|
44
44
|
const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
|
|
45
45
|
const COMPONENT_MAP_TOOLS_ID = "gps_tools";
|
|
46
46
|
const STYLE_OPACITIES = [
|
|
@@ -9,24 +9,24 @@ import { createPortal } from "react-dom";
|
|
|
9
9
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment, useModulePrivileges } from "@m4l/core";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { A as Actions } from "../../../CommonActions/components/Actions/index.
|
|
13
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
12
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.7ddd8fed.js";
|
|
13
|
+
import { B as Button } from "../../../mui_extended/Button/index.ab6e0ce4.js";
|
|
14
14
|
import * as Yup from "yup";
|
|
15
15
|
import { u as useFormReadyForUpdate } from "../../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
16
|
-
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.
|
|
17
|
-
import { S as Stack } from "../../../mui_extended/Stack/index.
|
|
18
|
-
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.
|
|
19
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
16
|
+
import { R as RHFAutocompleteAsync } from "../../../hook-form/RHFAutocompleteAsync/index.9dcde1ca.js";
|
|
17
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.5c75c025.js";
|
|
18
|
+
import { R as RHFormProvider } from "../../../../contexts/RHFormContext/index.390245ca.js";
|
|
19
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.f0c09b00.js";
|
|
20
20
|
import { u as usePopupsStore, P as PopupsProvider } from "../../../popups/PopupsProvider/index.776c62e7.js";
|
|
21
|
-
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.
|
|
22
|
-
import { D as DataGrid } from "../../../DataGrid/index.
|
|
21
|
+
import { T as ToggleIconButton } from "../../../mui_extended/ToggleIconButton/index.2e766f5c.js";
|
|
22
|
+
import { D as DataGrid } from "../../../DataGrid/index.83acf2ec.js";
|
|
23
23
|
import { generateUtilityClasses, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
24
24
|
import { C as ColumnSetCheckFormatter } from "../../../DataGrid/formatters/ColumnSetCheckFormatter/index.4045b2f2.js";
|
|
25
|
-
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.
|
|
25
|
+
import { I as Icon, M as MarkerIconLabel } from "../../../Icon/index.e79efafa.js";
|
|
26
26
|
import { u as useStateRef } from "../../../../hooks/useStateRef/index.538edb89.js";
|
|
27
|
-
import { C as CheckBox } from "../../../mui_extended/CheckBox.
|
|
28
|
-
import { P as Popover } from "../../../mui_extended/Popover/index.
|
|
29
|
-
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.
|
|
27
|
+
import { C as CheckBox } from "../../../mui_extended/CheckBox.e80fe5f3.js";
|
|
28
|
+
import { P as Popover } from "../../../mui_extended/Popover/index.b0bfd9c7.js";
|
|
29
|
+
import { P as PopupsViewer } from "../../../popups/PopupsViewer/index.ea8cf50a.js";
|
|
30
30
|
import { createPathComponent } from "@react-leaflet/core";
|
|
31
31
|
import "leaflet.markercluster";
|
|
32
32
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index.81eb6def.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
6
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.e79efafa.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.f0c09b00.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.a9bf26b8.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const { title, onClickCancel, urlIcon, classes } = props;
|
|
10
10
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
2
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.7ddd8fed.js";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
6
|
-
import { I as Image } from "../Image/index.
|
|
5
|
+
import { u as useModal } from "../../hooks/useModal/index.a9bf26b8.js";
|
|
6
|
+
import { I as Image } from "../Image/index.27d3bf2a.js";
|
|
7
7
|
import { m as modalUtilityClasses } from "./index.81eb6def.js";
|
|
8
|
-
import { W as WindowBase } from "./WindowBase.
|
|
9
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
10
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
8
|
+
import { W as WindowBase } from "./WindowBase.36d9a627.js";
|
|
9
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.c9aae474.js";
|
|
10
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.606f6965.js";
|
|
11
11
|
const dictionary = {
|
|
12
12
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
13
13
|
};
|