@m4l/components 2.0.2 → 2.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +269 -269
- package/@types/types.d.ts +37 -34
- package/components/AccountPopover/{index.68a8c117.js → index.323b6cf4.js} +3 -3
- package/components/AppBar/{index.09ac84de.js → index.209841e1.js} +4 -4
- package/components/BaseModule/{index.51f3fd59.js → index.aee40a28.js} +1 -1
- package/components/CommonActions/components/ActionCancel/{index.f6c15443.js → index.797d8195.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.33d49d50.js → index.d6776091.js} +4 -4
- package/components/CommonActions/components/ActionFormIntro/{index.0e78a223.js → index.2af9a15d.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.73b33789.js → index.865af0d8.js} +2 -2
- package/components/CommonActions/components/Actions/{index.c7fab394.js → index.841f1da0.js} +2 -2
- package/components/DataGrid/assets/icons/datagrid.svg +4 -4
- package/components/DataGrid/formatters/ColumnBooleanFormatter/{index.0a1b3610.js → index.5dac4b66.js} +1 -1
- package/components/DataGrid/formatters/ColumnConcatenatedValueFormatter/{index.30890ddd.js → index.12d2461f.js} +1 -1
- package/components/DataGrid/formatters/ColumnInteractiveCheckFormatter/{index.9aa14799.js → index.7234f4b9.js} +1 -1
- package/components/DataGrid/formatters/{index.90ed715b.js → index.93458be0.js} +2 -2
- package/components/DataGrid/{index.58b8d903.js → index.fa8634c0.js} +4 -4
- package/components/DataGrid/subcomponents/Actions/{index.ea70129c.js → index.5ff19f99.js} +11 -11
- package/components/DragResizeWindow/DragResizeWindow.d.ts +1 -1
- package/components/DragResizeWindow/{index.8c51fb79.js → index.c0382188.js} +5 -9
- package/components/DynamicFilter/{dictionary.10bebb21.js → dictionary.d36bea70.js} +2 -2
- package/components/DynamicFilter/{index.a978aea9.js → index.5d0688b9.js} +4 -4
- package/components/DynamicFilter/slots/{dynamicFilterSlots.26eaa1b1.js → dynamicFilterSlots.58ee518d.js} +6 -6
- package/components/DynamicFilter/store/{index.81a5dd49.js → index.2c9704ee.js} +1 -1
- package/components/DynamicFilter/subcomponents/AppliedFilterChip/{index.bc09a76f.js → index.faf637d6.js} +3 -3
- package/components/DynamicFilter/subcomponents/AppliedFilters/{index.891b913a.js → index.e1008442.js} +4 -4
- package/components/DynamicFilter/subcomponents/DynamicFilterBase/{index.8fbcaf0f.js → index.246c1304.js} +6 -6
- package/components/DynamicFilter/subcomponents/FieldTypes/BooleanFilter/{index.699a1d82.js → index.5c3063f2.js} +2 -2
- package/components/DynamicFilter/subcomponents/FieldTypes/DateTimeFilter/{index.59293b05.js → index.cc477a59.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/NumberFilter/{index.ca652641.js → index.88bb0dee.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/SelectFilter/{index.22eac312.js → index.eec7fa42.js} +4 -4
- package/components/DynamicFilter/subcomponents/FieldTypes/StringFilter/{index.3e2ae583.js → index.50a0dfb9.js} +3 -3
- package/components/DynamicFilter/subcomponents/FieldTypes/{index.0abab72e.js → index.06fb696b.js} +5 -5
- package/components/DynamicFilter/subcomponents/FilterActions/{index.06e8baff.js → index.415b11e6.js} +3 -3
- package/components/DynamicFilter/subcomponents/InputFilter/{index.b312fd70.js → index.46905747.js} +4 -4
- package/components/DynamicFilter/subcomponents/PopoverFilter/{index.eeb15b54.js → index.fe51263d.js} +6 -6
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/{index.43857f7a.js → index.0b52a455.js} +2 -2
- package/components/FieldLabel/{index.2aaaac6f.js → index.13a833c9.js} +4 -4
- package/components/GridLayout/{index.2f9a1cff.js → index.95c84243.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.f904e69e.js → index.99bf4b5c.js} +3 -3
- package/components/GridLayout/subcomponents/Responsive/{index.ef62bea3.js → index.83d6fc44.js} +1 -1
- package/components/GridLayout/subcomponents/SizeProvider/{index.2707f196.js → index.bf9a859a.js} +1 -1
- package/components/HelperText/{index.25891eda.js → index.83b28429.js} +2 -2
- package/components/Icon/{index.89dba21c.js → index.f9cd9367.js} +3 -3
- package/components/Image/{index.94949e55.js → index.eec95206.js} +2 -2
- package/components/LanguagePopover/{index.54aff144.js → index.becad7ef.js} +4 -4
- package/components/LinearProgressIndeterminate/{index.e25f9201.js → index.87be4283.js} +2 -2
- package/components/LoadingError/{index.ef15a461.js → index.8b7a3162.js} +5 -5
- package/components/MFIsolationApp/{index.083fad1c.js → index.d20c8218.js} +2 -2
- package/components/MFLoader/{index.342598a8.js → index.3e7b4cb5.js} +2 -2
- package/components/ModalDialog/{index.545ef5eb.js → index.ec0ab622.js} +4 -4
- package/components/NavLink/{index.6a6f3671.js → index.cca2c605.js} +2 -2
- package/components/NoItemSelected/{index.0d1e8d29.js → index.fa49cac5.js} +1 -1
- package/components/ObjectLogs/{index.32555956.js → index.f70e0c0c.js} +9 -9
- package/components/PDFViewer/{index.e909be56.js → index.cdc90184.js} +2 -2
- package/components/Page/{index.d42de29f.js → index.4759d66c.js} +1 -1
- package/components/PaperForm/{index.dbcbd677.js → index.5cc98ed7.js} +2 -2
- package/components/Period/{index.76c4e428.js → index.6b0b98c1.js} +4 -4
- package/components/PrintingSystem/{index.3381ece1.js → index.0acacf1b.js} +14 -14
- package/components/PrintingSystem/subcomponents/BodyNode/{index.da4c231c.js → index.779838e5.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.4871c76e.js → index.6a572f3d.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.f768c90f.js → index.a121da0d.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.725664fd.js → index.0775edc0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.caebf8e6.js → index.8d196cc6.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.a5f20406.js → index.1542db42.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.6d2ed690.js → index.34e7cd43.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.ec9d332c.js → index.8f42fe69.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e9449a3f.js → index.9a39e104.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.bf55f5a7.js → index.73fb8756.js} +1 -1
- package/components/PropertyValue/{index.9dd592cd.js → index.d1ca87c1.js} +3 -3
- package/components/Resizeable/{index.6cbe80f0.js → index.c2f229d6.js} +1 -1
- package/components/ScrollBar/{index.aedb43d9.js → index.424bd908.js} +1 -1
- package/components/SideBar/{index.edd76204.js → index.2ce72f65.js} +6 -6
- package/components/SplitLayout/{index.5289a660.js → index.4265a602.js} +1 -1
- package/components/ToastContainer/{index.8f9f75e9.js → index.b5413d7f.js} +3 -3
- package/components/animate/LoadingScreen/{index.c5cf3b93.js → index.20b1f443.js} +1 -1
- package/components/animate/{index.9c9ee071.js → index.680f5895.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.a52bb40d.js → index.b41fe898.js} +15 -15
- 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.be5f5a9d.js} +73 -36
- package/components/areas/contexts/AreasContext/{index.514df5ff.js → index.e4be3c65.js} +4 -4
- package/components/areas/hooks/useAreas/{index.6c943645.js → index.ce08327d.js} +1 -1
- package/components/areas/types.d.ts +1 -1
- package/components/commercial/AppBarCommercial/{index.cac50795.js → index.372ea01e.js} +2 -2
- package/components/commercial/SectionCommercial/{index.c967ba14.js → index.026cc71f.js} +2 -2
- package/components/commercial/TopBar/{index.85568231.js → index.fff88136.js} +6 -6
- package/components/commercial/{index.d872094e.js → index.1ea39cc1.js} +3 -3
- package/components/formatters/BooleanFormatter/{index.1da1e6b0.js → index.c29c63fc.js} +2 -2
- package/components/formatters/{index.ac081b3a.js → index.5f44ed46.js} +2 -2
- package/components/hook-form/HelperError/{index.296a4c82.js → index.f2b943ae.js} +1 -1
- package/components/hook-form/RHFAutocomplete/{index.b1c29dd0.js → index.3f11b4dd.js} +6 -6
- package/components/hook-form/RHFAutocompleteAsync/{index.fb434e68.js → index.60003c6b.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.140d872f.js → index.3ce32b03.js} +3 -3
- package/components/hook-form/RHFCheckbox/styles.d.ts +1 -1
- package/components/hook-form/RHFColorPicker/{index.3eb719ac.js → index.21ae7dca.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.54f97b37.js → index.0d2b3d0a.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.c8238ea4.js → index.c950b5d0.js} +4 -4
- package/components/hook-form/RHFRadioGroup/{index.78ec0e22.js → index.87be90b7.js} +1 -1
- package/components/hook-form/RHFTextField/{index.984a4dba.js → index.7f95edb6.js} +5 -5
- package/components/hook-form/RHFUpload/{index.0516dc8f.js → index.13724496.js} +5 -5
- package/components/maps/components/GpsTools/{index.779e5b17.js → index.6da62b64.js} +23 -23
- package/components/maps/components/Map/external/googleMutant/index.d.ts +159 -159
- package/components/maps/components/Map/{index.14ce256b.js → index.9c3b3cd0.js} +42 -35
- package/components/maps/leaflet-geoman.d.ts +1476 -1476
- package/components/modal/{WindowBase.a6654e8c.js → WindowBase.6c15797f.js} +3 -3
- package/components/modal/{WindowConfirm.38a79eee.js → WindowConfirm.0d48420b.js} +6 -6
- package/components/mui_extended/Accordion/{index.0e62423b.js → index.fd738d87.js} +4 -4
- package/components/mui_extended/Avatar/{index.edcf899d.js → index.c7b7541f.js} +1 -1
- package/components/mui_extended/Badge/{index.a6dceff2.js → index.cb26549b.js} +1 -1
- package/components/mui_extended/Button/{index.9c6c173c.js → index.19eb272d.js} +3 -3
- package/components/mui_extended/Button/styles.d.ts +1 -1
- package/components/mui_extended/{CheckBox.9d43398b.js → CheckBox.d6469bd2.js} +2 -2
- package/components/mui_extended/IconButton/{index.42efd85d.js → index.4134de6f.js} +2 -2
- package/components/mui_extended/MenuActions/{index.b1f8a1be.js → index.ee8887b7.js} +5 -5
- package/components/mui_extended/Pager/{index.3687d8b6.js → index.015df2f9.js} +4 -4
- package/components/mui_extended/Popover/{index.58f8522b.js → index.ab4709b3.js} +1 -1
- package/components/mui_extended/Stack/{index.b0690398.js → index.53be5d28.js} +1 -1
- package/components/mui_extended/Tab/{index.8a0bd49c.js → index.7abd42e8.js} +1 -1
- package/components/mui_extended/Tabs/styles.d.ts +1 -1
- package/components/mui_extended/ToggleButton/{index.c4e62f10.js → index.a34836ba.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.7635e223.js → index.1f4121fa.js} +1 -1
- package/components/mui_extended/Typography/{index.24a872e2.js → index.202945af.js} +1 -1
- package/components/popups/PopupsProvider/{index.776c62e7.js → index.9a23e1d0.js} +6 -1
- package/components/popups/PopupsViewer/{index.eaa54c6c.js → index.fb409d20.js} +12 -12
- package/components/popups/PopupsViewer/slots/{index.154e4e5f.js → index.37ef2263.js} +1 -1
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.00d8493c.js +46 -0
- package/components/popups/components/PopupsProvider/contexts/PopupsContext/types.d.ts +6 -1
- package/components/popups/components/PopupsViewer/PopupsViewer.d.ts +3 -4
- package/components/popups/components/PopupsViewer/constants.d.ts +0 -1
- package/components/popups/components/PopupsViewer/slots/popupsViewerSlots.d.ts +3 -3
- package/components/popups/components/PopupsViewer/slots/slots.d.ts +1 -1
- package/components/popups/components/PopupsViewer/types.d.ts +1 -1
- package/contexts/ModalContext/{index.7f4d2b18.js → index.eb616dfb.js} +1 -1
- package/contexts/RHFormContext/{index.19edaacb.js → index.2ced89c0.js} +1 -1
- package/hooks/useFormAddEdit/{index.aa9cc210.js → index.5f204081.js} +2 -2
- package/hooks/useModal/{index.a2a50f01.js → index.33e4befd.js} +1 -1
- package/hooks/useTab/{index.c0a8f413.js → index.bcbaa818.js} +1 -1
- package/index.js +133 -133
- package/package.json +1 -1
- package/{react-draggable.1c1ba224.js → react-draggable.310e3387.js} +1 -1
- package/{react-resizable.a59c14f4.js → react-resizable.3755959b.js} +2 -2
- package/styles/{DynamicFilter.27c16026.js → DynamicFilter.557ee3a7.js} +1 -1
- package/styles/{index.59da2f54.js → index.cabe6a64.js} +19 -11
- package/vite-env.d.ts +4 -4
- package/components/popups/PopupsViewer/slots/popupsViewerSlots.45032030.js +0 -39
- /package/utils/{index.14912462.js → index.78d1638f.js} +0 -0
|
@@ -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.cabe6a64.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.ce08327d.js";
|
|
7
7
|
import { generateUtilityClasses, Skeleton } from "@mui/material";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
9
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.78d1638f.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.ee8887b7.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.4134de6f.js";
|
|
17
|
+
import { L as LinearProgressIndeterminate } from "../../../LinearProgressIndeterminate/index.87be4283.js";
|
|
18
|
+
import { I as Icon } from "../../../Icon/index.f9cd9367.js";
|
|
19
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.202945af.js";
|
|
20
|
+
import { M as MFLoader } from "../../../MFLoader/index.3e7b4cb5.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.e4be3c65.js";
|
|
27
|
+
import { w as withSizeProvider } from "../../../GridLayout/subcomponents/SizeProvider/index.bf9a859a.js";
|
|
28
|
+
import { R as Responsive } from "../../../GridLayout/subcomponents/Responsive/index.83d6fc44.js";
|
|
29
29
|
import { useLocation } from "react-router-dom";
|
|
30
|
-
import { L as LoadingError } from "../../../LoadingError/index.
|
|
31
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
32
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
30
|
+
import { L as LoadingError } from "../../../LoadingError/index.8b7a3162.js";
|
|
31
|
+
import { c as cjs } from "../../../../react-draggable.310e3387.js";
|
|
32
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.c2f229d6.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.be5f5a9d.js";
|
|
10
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.b41fe898.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.83d6fc44.js";
|
|
14
14
|
import { debounce, cloneDeep } from "lodash";
|
|
15
|
-
import { A as isEqualLayouts } from "../../../GridLayout/index.
|
|
15
|
+
import { A as isEqualLayouts } from "../../../GridLayout/index.95c84243.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.e4be3c65.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
-
import { ab as AppBarComercialRoot } from "../../../styles/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
|
|
5
|
+
import { ab as AppBarComercialRoot } from "../../../styles/index.cabe6a64.js";
|
|
6
6
|
const componentName = "M4LAppBarCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses } from "@mui/material";
|
|
3
3
|
import { unstable_composeClasses } from "@mui/base";
|
|
4
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
-
import { ac as SectionCommercialRoot } from "../../../styles/index.
|
|
4
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
|
|
5
|
+
import { ac as SectionCommercialRoot } from "../../../styles/index.cabe6a64.js";
|
|
6
6
|
const componentName = "M4LSectionCommercial";
|
|
7
7
|
generateUtilityClasses(
|
|
8
8
|
componentName,
|
|
@@ -2,16 +2,16 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
3
3
|
import { generateUtilityClasses, useTheme, Box, Grid, styled } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.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.cabe6a64.js";
|
|
9
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.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.fd738d87.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.19eb272d.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ab4709b3.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.cabe6a64.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.2ce72f65.js";
|
|
9
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.4134de6f.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.f9cd9367.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.5f44ed46.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.cabe6a64.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.c29c63fc.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.83b28429.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.cabe6a64.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.eec95206.js";
|
|
12
|
+
import { T as Typography } from "../../mui_extended/Typography/index.202945af.js";
|
|
13
|
+
import { H as HelperText } from "../../HelperText/index.83b28429.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.13a833c9.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.4134de6f.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.cabe6a64.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.3f11b4dd.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.cabe6a64.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.83b28429.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.d6469bd2.js";
|
|
12
12
|
generateUtilityClasses("M4LRHFCheckbox", [
|
|
13
13
|
"root",
|
|
14
14
|
"checkTypography",
|
|
@@ -3,5 +3,5 @@ export declare const RHFCheckboxRoot: import("@emotion/styled").StyledComponent<
|
|
|
3
3
|
export declare const WrapperSKTRHFCheckbox: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
4
4
|
export declare const SKTCheckSkeleton: import("@emotion/styled").StyledComponent<import("@mui/material").SkeletonOwnProps & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & {
|
|
5
5
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
6
|
-
}, "style" | "children" | "width" | "className" | "height" | "animation" | "
|
|
6
|
+
}, "style" | "children" | "width" | "className" | "height" | "animation" | "variant" | "sx" | "classes"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
7
7
|
export declare const ContainerCheckTypography: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -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.83b28429.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.cabe6a64.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.13a833c9.js";
|
|
14
|
+
import { P as Popover } from "../../mui_extended/Popover/index.ab4709b3.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.js";
|
|
16
|
+
import { B as Button } from "../../mui_extended/Button/index.19eb272d.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.cabe6a64.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.83b28429.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.13a833c9.js";
|
|
15
|
+
import { I as Icon } from "../../Icon/index.f9cd9367.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.cabe6a64.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.83b28429.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.13a833c9.js";
|
|
10
|
+
import { P as Period } from "../../Period/index.6b0b98c1.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.f9cd9367.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.4134de6f.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.cabe6a64.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
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
11
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
10
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.78d1638f.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.83b28429.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.13a833c9.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.eec95206.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.cabe6a64.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.202945af.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.19eb272d.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.83b28429.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.cabe6a64.js";
|
|
9
|
+
import { D as DynamicFilter } from "../../../DynamicFilter/index.5d0688b9.js";
|
|
10
|
+
import { C as ColumnIconFormatter } from "../../../DataGrid/formatters/index.93458be0.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.
|
|
16
|
-
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.
|
|
14
|
+
import { H as HelperError } from "../../../hook-form/HelperError/index.f2b943ae.js";
|
|
15
|
+
import { u as useModal } from "../../../../hooks/useModal/index.33e4befd.js";
|
|
16
|
+
import { u as usePopupsStore } from "../../../popups/PopupsProvider/index.9a23e1d0.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.2af9a15d.js";
|
|
22
|
+
import { W as WindowConfirm } from "../../../modal/WindowConfirm.0d48420b.js";
|
|
23
|
+
import { A as Actions } from "../../../CommonActions/components/Actions/index.841f1da0.js";
|
|
24
|
+
import { B as Button } from "../../../mui_extended/Button/index.19eb272d.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.bcbaa818.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.5cc98ed7.js";
|
|
32
|
+
import { R as RHFAutocomplete } from "../../../hook-form/RHFAutocomplete/index.3f11b4dd.js";
|
|
33
|
+
import { R as RHFTextField } from "../../../hook-form/RHFTextField/index.7f95edb6.js";
|
|
34
|
+
import { S as Stack } from "../../../mui_extended/Stack/index.53be5d28.js";
|
|
35
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.4134de6f.js";
|
|
36
|
+
import { P as PropertyValue } from "../../../PropertyValue/index.d1ca87c1.js";
|
|
37
|
+
import { R as RHFColorPicker } from "../../../hook-form/RHFColorPicker/index.21ae7dca.js";
|
|
38
|
+
import { T as Tabs, a as Tab, b as TabContent, c as TabProvider } from "../../../mui_extended/Tab/index.7abd42e8.js";
|
|
39
|
+
import { I as Icon } from "../../../Icon/index.f9cd9367.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.5f204081.js";
|
|
42
|
+
import { u as useMapStore, C as CommonFeatureRender, G as GPS_TOOLS_POPUP_ID } from "../Map/index.9c3b3cd0.js";
|
|
43
|
+
import { D as DataGrid } from "../../../DataGrid/index.fa8634c0.js";
|
|
44
44
|
const COMPONENT_CLASS_NAME = "M4LMapGpsTools";
|
|
45
45
|
const COMPONENT_MAP_TOOLS_ID = "gps_tools";
|
|
46
46
|
const STYLE_OPACITIES = [
|