@m4l/components 1.0.4 → 1.0.6
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.ad5c92c6.js → index.dba0c4c9.js} +2 -2
- package/components/AppBar/{index.f7f5d8a5.js → index.04359fea.js} +2 -2
- package/components/DynamicFilter/dynamicFilterSlots.d.ts +14 -14
- package/components/DynamicFilter/{index.4b9f1fa3.js → index.bd03d088.js} +14 -16
- package/components/FieldLabel/{index.cb36e07d.js → index.49fb6686.js} +1 -1
- package/components/HamburgerMenu/{index.9667dd48.js → index.d1868329.js} +2 -2
- package/components/Icon/{index.55b824b0.js → index.f04409de.js} +2 -2
- package/components/Image/{index.e3d2a5a7.js → index.1526ba76.js} +1 -1
- package/components/LoadingError/{index.388e682d.js → index.8a456aae.js} +2 -2
- package/components/MFLoader/{index.5a00c658.js → index.06717f62.js} +1 -1
- package/components/ModalDialog/{index.b7aa969b.js → index.d9b463ed.js} +1 -1
- package/components/NoItemSelected/{index.12643086.js → index.ea471b56.js} +1 -1
- package/components/ObjectLogs/{index.4798fdbe.js → index.050d0dc0.js} +5 -5
- package/components/PDFViewer/{index.372402da.js → index.002f26a1.js} +1 -1
- package/components/Page/{index.6c8366a3.js → index.524d2862.js} +1 -1
- package/components/PaperForm/{index.6a0f6a64.js → index.7ee2dad6.js} +1 -1
- package/components/Period/{index.9e7887ea.js → index.50d2a757.js} +2 -2
- package/components/PrintingSystem/{index.d3aa9e9b.js → index.0a9529c0.js} +13 -13
- package/components/PrintingSystem/subcomponents/BodyNode/{index.006c2b5b.js → index.0a6e69b6.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.74c07592.js → index.4b0313c2.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.98cdfa8d.js → index.a9a03262.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.35236d8e.js → index.f1c9a0a9.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.384c101e.js → index.9f257603.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.401f62b1.js → index.f576e40f.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.2b2e5c81.js → index.e52f8181.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.202fd8ee.js → index.5d38b3a8.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.e596ed9c.js → index.ea6f6ca2.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.f175f03f.js → index.d7e19d41.js} +1 -1
- package/components/PropertyValue/{index.f3e9a5f9.js → index.6b3d9f77.js} +2 -2
- package/components/SideBar/{index.db4db5b3.js → index.8d4d790a.js} +4 -4
- package/components/ToastContainer/{index.43f740c5.js → index.04eb32b2.js} +1 -1
- package/components/areas/contexts/AreasContext/{index.102c1da1.js → index.640df83f.js} +2 -2
- package/components/areas/{dictionary.065970d6.js → dictionary.4ac716be.js} +1 -1
- package/components/areas/hooks/useAreas/{index.67b50df3.js → index.b6ca8954.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.35fecf34.js → index.f9035562.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.2ee8bd1b.js → index.a2328ed3.js} +2 -2
- package/components/hook-form/RHFColorPicker/{index.ae944d55.js → index.b29fa976.js} +5 -5
- package/components/hook-form/RHFDateTime/{index.905498fe.js → index.e05fee4a.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.2d49c7ff.js → index.80555a91.js} +3 -3
- package/components/hook-form/RHFTextField/{index.e7aa262f.js → index.22858b59.js} +3 -3
- package/components/hook-form/RHFUpload/{index.dcef3acf.js → index.5d46afc1.js} +2 -2
- package/components/maps/components/GpsTools/{index.459d5e3a.js → index.19504483.js} +2 -2
- package/components/maps/{index.877f3ee9.js → index.991d46a7.js} +9 -9
- package/components/modal/{WindowBase.0cdec505.js → WindowBase.d4b89141.js} +3 -3
- package/components/modal/{WindowConfirm.7d96113e.js → WindowConfirm.cf50cf61.js} +5 -5
- package/components/mui_extended/Accordion/{index.27efa9ea.js → index.3ad2cab5.js} +2 -2
- package/components/mui_extended/Button/{index.4cf37ad2.js → index.a0690b47.js} +4 -4
- package/components/mui_extended/CheckBox/{index.d07b48f8.js → index.ee95dc5c.js} +1 -1
- package/components/mui_extended/IconButton/{index.2b3bfefd.js → index.0adc5a75.js} +1 -1
- package/components/mui_extended/Pager/{index.d2cc5faf.js → index.8be43269.js} +3 -3
- package/components/mui_extended/Popover/{index.edb9186d.js → index.4f5074c1.js} +9 -9
- package/components/mui_extended/Tab/{index.6dcf4f7e.js → index.6559cae8.js} +14 -14
- package/components/mui_extended/ToggleButton/{index.0eee015b.js → index.489d121e.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.63f07e11.js → index.cb2bcdd4.js} +1 -1
- package/components/popups/PopupsProvider/{index.3f0bad2c.js → index.179a90bc.js} +1 -1
- package/components/popups/PopupsViewer/{index.4058b198.js → index.50d654b0.js} +3 -3
- package/contexts/ModalContext/{index.e844d949.js → index.1103b243.js} +1 -1
- package/hooks/useFormAddEdit/{index.c3e5ad25.js → index.0f99caf7.js} +2 -2
- package/hooks/useModal/{index.c5aa9bd7.js → index.4cbc8309.js} +3 -3
- package/index.js +59 -59
- package/package.json +1 -1
- package/{vendor.9222bc93.js → vendor.8af5e1c0.js} +48 -48
|
@@ -7,8 +7,8 @@ import { H as HelperText } from "../../HelperText/index.651a9b4b.js";
|
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
8
8
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
9
9
|
import { useModuleSkeleton } from "@m4l/core";
|
|
10
|
-
import { c as useFormFocus } from "../../../vendor.
|
|
11
|
-
import { C as CheckBox } from "../../mui_extended/CheckBox/index.
|
|
10
|
+
import { c as useFormFocus } from "../../../vendor.8af5e1c0.js";
|
|
11
|
+
import { C as CheckBox } from "../../mui_extended/CheckBox/index.ee95dc5c.js";
|
|
12
12
|
const RHFCheckboxRoot = styled("div")(({ theme }) => ({
|
|
13
13
|
...theme.components?.M4LRHFCheckbox?.styleOverrides
|
|
14
14
|
}));
|
|
@@ -8,11 +8,11 @@ import { generateUtilityClasses, generateUtilityClass, styled, Skeleton } from "
|
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
9
|
import { useTheme } from "@mui/material/styles";
|
|
10
10
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
11
|
-
import { c as useFormFocus } from "../../../vendor.
|
|
12
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
13
|
-
import { P as Popover } from "../../mui_extended/Popover/index.
|
|
14
|
-
import { I as Icon } from "../../Icon/index.
|
|
15
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
11
|
+
import { c as useFormFocus } from "../../../vendor.8af5e1c0.js";
|
|
12
|
+
import { F as FieldLabel } from "../../FieldLabel/index.49fb6686.js";
|
|
13
|
+
import { P as Popover } from "../../mui_extended/Popover/index.4f5074c1.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
15
|
+
import { B as Button } from "../../mui_extended/Button/index.a0690b47.js";
|
|
16
16
|
const componentName = "M4LRHFColorPicker";
|
|
17
17
|
const colorPickerClasses = generateUtilityClasses(componentName, [
|
|
18
18
|
"root",
|
|
@@ -9,9 +9,9 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { H as HelperText } from "../../HelperText/index.651a9b4b.js";
|
|
11
11
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
12
|
-
import { c as useFormFocus } from "../../../vendor.
|
|
13
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
14
|
-
import { I as Icon } from "../../Icon/index.
|
|
12
|
+
import { c as useFormFocus } from "../../../vendor.8af5e1c0.js";
|
|
13
|
+
import { F as FieldLabel } from "../../FieldLabel/index.49fb6686.js";
|
|
14
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
15
15
|
const SkeletonRHFDateTime = (props) => {
|
|
16
16
|
const { skeletonWidth, skeletonHeight, className, label } = props;
|
|
17
17
|
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -5,9 +5,9 @@ import { H as HelperText } from "../../HelperText/index.651a9b4b.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
|
-
import { c as useFormFocus } from "../../../vendor.
|
|
9
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
10
|
-
import { P as Period } from "../../Period/index.
|
|
8
|
+
import { c as useFormFocus } from "../../../vendor.8af5e1c0.js";
|
|
9
|
+
import { F as FieldLabel } from "../../FieldLabel/index.49fb6686.js";
|
|
10
|
+
import { P as Period } from "../../Period/index.50d2a757.js";
|
|
11
11
|
const RHFPeriodRoot = styled("div")(({ theme }) => ({
|
|
12
12
|
width: "100%",
|
|
13
13
|
display: "flex",
|
|
@@ -2,7 +2,7 @@ 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.0adc5a75.js";
|
|
6
6
|
import { useFormContext, Controller } from "react-hook-form";
|
|
7
7
|
import { styled } from "@mui/material/styles";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
@@ -10,8 +10,8 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
10
10
|
import { g as getComponentUtilityClass } from "../../../utils/index.0660ee9c.js";
|
|
11
11
|
import { H as HelperText } from "../../HelperText/index.651a9b4b.js";
|
|
12
12
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
13
|
-
import { c as useFormFocus } from "../../../vendor.
|
|
14
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
13
|
+
import { c as useFormFocus } from "../../../vendor.8af5e1c0.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.49fb6686.js";
|
|
15
15
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
16
16
|
display: "flex",
|
|
17
17
|
flexDirection: "column",
|
|
@@ -3,14 +3,14 @@ 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.1526ba76.js";
|
|
7
7
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
8
8
|
import { styled } from "@mui/material/styles";
|
|
9
9
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import { T as Typography } from "../../mui_extended/Typography/index.2a1c68f8.js";
|
|
13
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.a0690b47.js";
|
|
14
14
|
import { H as HelperText } from "../../HelperText/index.651a9b4b.js";
|
|
15
15
|
const UploadImageRoot = styled("div")(({ theme }) => ({
|
|
16
16
|
...theme.components?.M4LRHFUploadImage?.styleOverrides
|
|
@@ -7,8 +7,8 @@ import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
|
7
7
|
import { devtools } from "zustand/middleware";
|
|
8
8
|
import { immer } from "zustand/middleware/immer";
|
|
9
9
|
import { enableMapSet } from "immer";
|
|
10
|
-
import { u as useMapStore, C as CommonFeatureRender } from "../../index.
|
|
11
|
-
import { G as GeofencesFeaturesLayers, T as TabsGpsTools } from "../../../mui_extended/Tab/index.
|
|
10
|
+
import { u as useMapStore, C as CommonFeatureRender } from "../../index.991d46a7.js";
|
|
11
|
+
import { G as GeofencesFeaturesLayers, T as TabsGpsTools } from "../../../mui_extended/Tab/index.6559cae8.js";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
13
|
import { generateUtilityClasses } from "@mui/material";
|
|
14
14
|
import "@mui/base";
|
|
@@ -9,20 +9,20 @@ import { createPortal } from "react-dom";
|
|
|
9
9
|
import { useModuleDictionary, useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
10
10
|
import clsx from "clsx";
|
|
11
11
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
12
|
-
import { M as MAP_DICCTIONARY } from "../areas/dictionary.
|
|
13
|
-
import { A as Actions } from "../../vendor.
|
|
14
|
-
import { B as Button, Z as ZoomButtons } from "../mui_extended/Button/index.
|
|
12
|
+
import { M as MAP_DICCTIONARY } from "../areas/dictionary.4ac716be.js";
|
|
13
|
+
import { A as Actions } from "../../vendor.8af5e1c0.js";
|
|
14
|
+
import { B as Button, Z as ZoomButtons } from "../mui_extended/Button/index.a0690b47.js";
|
|
15
15
|
import * as Yup from "yup";
|
|
16
16
|
import { $ as COMPONENT_CLASS_NAME, a0 as STYLE_MEASURE_OPTIONS, a1 as MAP_ZINDEX_DEFAULT, a2 as INITIAL_FORM_VALUES, a3 as GPS_TOOLS_POPUP_DEFAULT_POSITION, a4 as MESURE_POPUP_DEFAULT_POSITION, a5 as TIME_DOUBLE_CLICK, a6 as MARKER_COLOR_DEFAULT, L as LABEL_BK_COLOR_DEFAULT, t as LABEL_COLOR_DEFAULT, a7 as SVG_ICON_DEFAULT } from "../areas/constants.630a4f42.js";
|
|
17
17
|
import { u as useFormReadyForUpdate } from "../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
18
|
-
import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.
|
|
18
|
+
import { R as RHFAutocompleteAsync } from "../hook-form/RHFAutocompleteAsync/index.f9035562.js";
|
|
19
19
|
import { S as Stack } from "../mui_extended/Stack/index.fe363ca5.js";
|
|
20
20
|
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.e942a298.js";
|
|
21
21
|
import { M as MAP_ICONS } from "../areas/icons.504ec098.js";
|
|
22
|
-
import { u as usePopupsStore, P as PopupsProvider } from "../popups/PopupsProvider/index.
|
|
23
|
-
import { T as ToggleIconButton } from "../mui_extended/ToggleIconButton/index.
|
|
24
|
-
import { T as TILE_LAYER_OSM, c as TILE_LAYER_GOOGLE, d as TILE_LAYER_GOOGLE_SATELLITE, e as TILE_LAYER_GOOGLE_HYBRID, f as TILE_LAYER_BING, L as LayersButton } from "../mui_extended/Popover/index.
|
|
25
|
-
import { P as PopupsViewer } from "../popups/PopupsViewer/index.
|
|
22
|
+
import { u as usePopupsStore, P as PopupsProvider } from "../popups/PopupsProvider/index.179a90bc.js";
|
|
23
|
+
import { T as ToggleIconButton } from "../mui_extended/ToggleIconButton/index.cb2bcdd4.js";
|
|
24
|
+
import { T as TILE_LAYER_OSM, c as TILE_LAYER_GOOGLE, d as TILE_LAYER_GOOGLE_SATELLITE, e as TILE_LAYER_GOOGLE_HYBRID, f as TILE_LAYER_BING, L as LayersButton } from "../mui_extended/Popover/index.4f5074c1.js";
|
|
25
|
+
import { P as PopupsViewer } from "../popups/PopupsViewer/index.50d654b0.js";
|
|
26
26
|
import { createPathComponent } from "@react-leaflet/core";
|
|
27
27
|
import "leaflet.markercluster";
|
|
28
28
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -35,7 +35,7 @@ import { immer } from "zustand/middleware/immer";
|
|
|
35
35
|
import { generateUtilityClasses } from "@mui/material";
|
|
36
36
|
import { unstable_composeClasses } from "@mui/base";
|
|
37
37
|
import { g as getComponentUtilityClass } from "../../utils/index.0660ee9c.js";
|
|
38
|
-
import { M as MarkerIconLabel } from "../Icon/index.
|
|
38
|
+
import { M as MarkerIconLabel } from "../Icon/index.f04409de.js";
|
|
39
39
|
import "leaflet-polylinedecorator";
|
|
40
40
|
const updateOwnerStateClasses = (_state) => {
|
|
41
41
|
};
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { m as modalUtilityClasses } from "./index.7ca17f55.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.0adc5a75.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.f04409de.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.4cbc8309.js";
|
|
8
8
|
const Header = (props) => {
|
|
9
9
|
const { title, onClickCancel, urlIcon, classes } = props;
|
|
10
10
|
const { host_static_assets, environment_assets } = useEnvironment();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { A as Actions, d as ActionCancel, e as ActionIntro } from "../../vendor.
|
|
2
|
+
import { A as Actions, d as ActionCancel, e as ActionIntro } from "../../vendor.8af5e1c0.js";
|
|
3
3
|
import { Typography } from "@mui/material";
|
|
4
4
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
5
|
-
import { f as dictionary } from "../areas/dictionary.
|
|
6
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
7
|
-
import { I as Image } from "../Image/index.
|
|
5
|
+
import { f as dictionary } from "../areas/dictionary.4ac716be.js";
|
|
6
|
+
import { u as useModal } from "../../hooks/useModal/index.4cbc8309.js";
|
|
7
|
+
import { I as Image } from "../Image/index.1526ba76.js";
|
|
8
8
|
import { m as modalUtilityClasses } from "./index.7ca17f55.js";
|
|
9
|
-
import { W as WindowBase } from "./WindowBase.
|
|
9
|
+
import { W as WindowBase } from "./WindowBase.d4b89141.js";
|
|
10
10
|
const MessageIlustration = (props) => {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { variant } = useModal();
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { generateUtilityClasses, generateUtilityClass, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
3
|
-
import { I as IconButton } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton } from "../IconButton/index.0adc5a75.js";
|
|
4
4
|
import { useEnvironment } from "@m4l/core";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
9
9
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
10
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
11
11
|
import { T as Typography } from "../Typography/index.2a1c68f8.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
@@ -6,15 +6,15 @@ import { styled } from "@mui/material/styles";
|
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { useMemo, useState, useEffect } from "react";
|
|
9
|
-
import { I as Image } from "../../Image/index.
|
|
9
|
+
import { I as Image } from "../../Image/index.1526ba76.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
11
11
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
12
12
|
import { T as Typography } from "../Typography/index.2a1c68f8.js";
|
|
13
13
|
import { useMap } from "react-leaflet";
|
|
14
14
|
import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
|
|
15
|
-
import { m as mapClasses } from "../../maps/index.
|
|
16
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
17
|
-
import { u as useSideBar, g as getNameDataTestId$2 } from "../../SideBar/index.
|
|
15
|
+
import { m as mapClasses } from "../../maps/index.991d46a7.js";
|
|
16
|
+
import { I as IconButton$1 } from "../IconButton/index.0adc5a75.js";
|
|
17
|
+
import { u as useSideBar, g as getNameDataTestId$2 } from "../../SideBar/index.8d4d790a.js";
|
|
18
18
|
const ButtonRoot = styled("div")(({ theme }) => ({
|
|
19
19
|
...theme.components?.M4LButton?.styleOverrides
|
|
20
20
|
}));
|
|
@@ -5,7 +5,7 @@ import { useResponsiveDesktop } from "@m4l/graphics";
|
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { forwardRef } from "react";
|
|
8
|
-
import { F as FieldLabel } from "../../FieldLabel/index.
|
|
8
|
+
import { F as FieldLabel } from "../../FieldLabel/index.49fb6686.js";
|
|
9
9
|
const COMPONENT_CLASS_NAME = "M4LCheckBox";
|
|
10
10
|
generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
11
11
|
"root",
|
|
@@ -2,7 +2,7 @@ import { jsx, Fragment } from "react/jsx-runtime";
|
|
|
2
2
|
import { useMemo, useState } from "react";
|
|
3
3
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.
|
|
5
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import clsx from "clsx";
|
|
@@ -3,13 +3,13 @@ import { useMemo } from "react";
|
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
4
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../IconButton/index.0adc5a75.js";
|
|
7
7
|
import { useEnvironment, useBase } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
10
|
import { T as Typography } from "../Typography/index.2a1c68f8.js";
|
|
11
|
-
import { I as Icon } from "../../Icon/index.
|
|
12
|
-
import { c as classes } from "../../PrintingSystem/index.
|
|
11
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
12
|
+
import { c as classes } from "../../PrintingSystem/index.0a9529c0.js";
|
|
13
13
|
import clsx from "clsx";
|
|
14
14
|
const PagerRoot = styled("div")(({ theme }) => ({
|
|
15
15
|
...theme.components?.M4LPager?.styleOverrides
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { u as useDynamicFilterStore, P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, f as fieldFactory, d as PopoverStyled, e as PopoverHeaderStyled, g as PopoverHeaderIconStyled, h as PopoverHeaderTitleStyled, i as PopoverContainerFieldsStyled, j as DataTypeComponent, k as PopoverHeaderActionsStyled } from "../../DynamicFilter/index.
|
|
2
|
+
import { u as useDynamicFilterStore, P as PopoverMenuStyled, a as PopoverMenuItemStyled, b as PopoverMenuItemIconStyled, c as PopoverMenuItemLabelStyled, f as fieldFactory, d as PopoverStyled, e as PopoverHeaderStyled, g as PopoverHeaderIconStyled, h as PopoverHeaderTitleStyled, i as PopoverContainerFieldsStyled, j as DataTypeComponent, k as PopoverHeaderActionsStyled } from "../../DynamicFilter/index.bd03d088.js";
|
|
3
3
|
import { useModuleDictionary, useEnvironment, useNetwork, useModulePrivileges } from "@m4l/core";
|
|
4
4
|
import React__default, { useRef, useMemo, useCallback, useState, useEffect } from "react";
|
|
5
5
|
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.e942a298.js";
|
|
6
|
-
import { d as ActionCancel, e as ActionIntro, C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.
|
|
6
|
+
import { d as ActionCancel, e as ActionIntro, C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.8af5e1c0.js";
|
|
7
7
|
import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass, styled as styled$1, Stack, MenuItem, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
8
|
+
import { I as Image } from "../../Image/index.1526ba76.js";
|
|
9
9
|
import { useLocales } from "@m4l/graphics";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
|
-
import { I as ImageButton } from "../Button/index.
|
|
11
|
+
import { I as ImageButton } from "../Button/index.a0690b47.js";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { T as TEST_PROP_ID } from "../../areas/constants.630a4f42.js";
|
|
14
14
|
import { C as CircularProgress } from "../CircularProgress/index.967e70b7.js";
|
|
15
|
-
import { M as MAP_DICCTIONARY } from "../../areas/dictionary.
|
|
15
|
+
import { M as MAP_DICCTIONARY } from "../../areas/dictionary.4ac716be.js";
|
|
16
16
|
import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
|
|
17
17
|
import { shallow } from "zustand/shallow";
|
|
18
|
-
import { I as Icon } from "../../Icon/index.
|
|
19
|
-
import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.
|
|
18
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
19
|
+
import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.991d46a7.js";
|
|
20
20
|
import { u as useStateRef } from "../../../hooks/useStateRef/index.538edb89.js";
|
|
21
21
|
import clsx from "clsx";
|
|
22
|
-
import { C as CheckBox } from "../CheckBox/index.
|
|
23
|
-
import { I as IconButton } from "../IconButton/index.
|
|
22
|
+
import { C as CheckBox } from "../CheckBox/index.ee95dc5c.js";
|
|
23
|
+
import { I as IconButton } from "../IconButton/index.0adc5a75.js";
|
|
24
24
|
const PopoverRoot = styled(Popover$1)(({ theme }) => ({
|
|
25
25
|
...theme.components?.M4LPopover?.styleOverrides
|
|
26
26
|
}));
|
|
@@ -4,40 +4,40 @@ import { u as useRowSelection, S as SelectCellFormatter, H as HeaderRenderer, D
|
|
|
4
4
|
import { useDrag, useDrop, DndProvider } from "react-dnd";
|
|
5
5
|
import { HTML5Backend } from "react-dnd-html5-backend";
|
|
6
6
|
import { generateUtilityClasses, generateUtilityClass, styled, Tabs as Tabs$1, Tab as Tab$1, Skeleton, SvgIcon, Checkbox, InputBase, useTheme } from "@mui/material";
|
|
7
|
-
import { f as useDataGrid, g as useFilters, M as MenuActions, h as ColumnDateFormatter, A as Actions, i as ActionFormIntro, R as RHFAutocomplete, a as DataGrid } from "../../../vendor.
|
|
7
|
+
import { f as useDataGrid, g as useFilters, M as MenuActions, h as ColumnDateFormatter, A as Actions, i as ActionFormIntro, R as RHFAutocomplete, a as DataGrid } from "../../../vendor.8af5e1c0.js";
|
|
8
8
|
import { T as TEST_PROP_ID, a9 as DATAGRID_SELECT_COLUMN_KEY, aa as DATAGRID_ACTIONS_COLUMN_KEY, ab as COMPONENT_MAP_TOOLS_ID, ac as STYLE_OPACITIES, ad as STYLE_WHEIGHTS, ae as STYLE_PATTERNS } from "../../areas/constants.630a4f42.js";
|
|
9
9
|
import { useModuleSkeleton, useModuleDictionary, getPropertyByString, useEnvironment, useHostTools, useNetwork, useModulePrivileges, usePaginate } from "@m4l/core";
|
|
10
|
-
import { M as MAP_DICCTIONARY } from "../../areas/dictionary.
|
|
11
|
-
import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.
|
|
10
|
+
import { M as MAP_DICCTIONARY } from "../../areas/dictionary.4ac716be.js";
|
|
11
|
+
import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.19504483.js";
|
|
12
12
|
import { shallow } from "zustand/shallow";
|
|
13
13
|
import "@geoman-io/leaflet-geoman-free/dist/leaflet-geoman.css";
|
|
14
14
|
import "@geoman-io/leaflet-geoman-free";
|
|
15
15
|
import clsx from "clsx";
|
|
16
16
|
import { G as GPSTOOLSICONS } from "../../areas/icons.504ec098.js";
|
|
17
|
-
import { D as DynamicFilter } from "../../DynamicFilter/index.
|
|
17
|
+
import { D as DynamicFilter } from "../../DynamicFilter/index.bd03d088.js";
|
|
18
18
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
19
19
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
20
20
|
import { H as HelperError } from "../../hook-form/HelperError/index.fd10c3ab.js";
|
|
21
|
-
import { u as usePopupsStore } from "../../popups/PopupsProvider/index.
|
|
22
|
-
import { B as Button } from "../Button/index.
|
|
21
|
+
import { u as usePopupsStore } from "../../popups/PopupsProvider/index.179a90bc.js";
|
|
22
|
+
import { B as Button } from "../Button/index.a0690b47.js";
|
|
23
23
|
import { useMap } from "react-leaflet";
|
|
24
24
|
import { u as useFormReadyForUpdate } from "../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
25
25
|
import * as L from "leaflet";
|
|
26
|
-
import { P as PaperForm } from "../../PaperForm/index.
|
|
27
|
-
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.
|
|
26
|
+
import { P as PaperForm } from "../../PaperForm/index.7ee2dad6.js";
|
|
27
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.22858b59.js";
|
|
28
28
|
import { S as Stack } from "../Stack/index.fe363ca5.js";
|
|
29
|
-
import { P as PropertyValue } from "../../PropertyValue/index.
|
|
30
|
-
import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.
|
|
29
|
+
import { P as PropertyValue } from "../../PropertyValue/index.6b3d9f77.js";
|
|
30
|
+
import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.b29fa976.js";
|
|
31
31
|
import { unstable_composeClasses } from "@mui/base";
|
|
32
32
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
33
33
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
34
34
|
import { T as Tooltip } from "../Tooltip/index.49bb5ee1.js";
|
|
35
35
|
import * as Yup from "yup";
|
|
36
36
|
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.e942a298.js";
|
|
37
|
-
import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.
|
|
38
|
-
import { u as useModal } from "../../../hooks/useModal/index.
|
|
39
|
-
import { W as WindowConfirm } from "../../modal/WindowConfirm.
|
|
40
|
-
import { u as useMapStore } from "../../maps/index.
|
|
37
|
+
import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.0f99caf7.js";
|
|
38
|
+
import { u as useModal } from "../../../hooks/useModal/index.4cbc8309.js";
|
|
39
|
+
import { W as WindowConfirm } from "../../modal/WindowConfirm.cf50cf61.js";
|
|
40
|
+
import { u as useMapStore } from "../../maps/index.991d46a7.js";
|
|
41
41
|
const componentName$2 = "M4LTabs";
|
|
42
42
|
generateUtilityClasses(componentName$2, [
|
|
43
43
|
"root"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { B as Button, b as buttonClasses } from "../Button/index.
|
|
3
|
+
import { B as Button, b as buttonClasses } from "../Button/index.a0690b47.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
|
|
5
5
|
const ToggleAbleButton = ({ onToggle, isToggled, ...props }) => {
|
|
6
6
|
return /* @__PURE__ */ jsx(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.
|
|
3
|
+
import { I as IconButton, i as iconButtonClasses } from "../IconButton/index.0adc5a75.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
@@ -6,7 +6,7 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
6
6
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
7
7
|
import { devtools } from "zustand/middleware";
|
|
8
8
|
import { immer } from "zustand/middleware/immer";
|
|
9
|
-
import { p as popupsUtilityClasses } from "../PopupsViewer/index.
|
|
9
|
+
import { p as popupsUtilityClasses } from "../PopupsViewer/index.50d654b0.js";
|
|
10
10
|
import { cloneDeep } from "lodash";
|
|
11
11
|
const updateOwnerStateClasses = (state) => {
|
|
12
12
|
state.classes = popupsUtilityClasses(state.ownerState);
|
|
@@ -4,14 +4,14 @@ import { shallow } from "zustand/shallow";
|
|
|
4
4
|
import { useState, useRef } from "react";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { useEnvironment } from "@m4l/core";
|
|
7
|
-
import { u as usePopupsStore } from "../PopupsProvider/index.
|
|
7
|
+
import { u as usePopupsStore } from "../PopupsProvider/index.179a90bc.js";
|
|
8
8
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { af as COMPONENT_CLASS_NAME } from "../../areas/constants.630a4f42.js";
|
|
11
11
|
import { P as POPUPS_ICONS } from "../../areas/icons.504ec098.js";
|
|
12
12
|
import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.5e316291.js";
|
|
13
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
13
|
+
import { I as Icon } from "../../Icon/index.f04409de.js";
|
|
14
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.0adc5a75.js";
|
|
15
15
|
import { u as useSizeContainer } from "../../../hooks/useSizeContainer/index.3c48670c.js";
|
|
16
16
|
import { styled } from "@mui/material/styles";
|
|
17
17
|
const popupsClasses = generateUtilityClasses(COMPONENT_CLASS_NAME, [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { createContext, useState } from "react";
|
|
3
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
3
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.d9b463ed.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useNetwork, useFlagsStore, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { useState, useEffect } from "react";
|
|
4
|
-
import { u as useModal } from "../useModal/index.
|
|
5
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
4
|
+
import { u as useModal } from "../useModal/index.4cbc8309.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.cf50cf61.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -2,9 +2,9 @@ import { jsxs, jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
3
|
import { useIsMobile } from "@m4l/graphics";
|
|
4
4
|
import { useContext, useRef, useCallback } from "react";
|
|
5
|
-
import { f as useDataGrid, j as DataGridRoot, k as ColumnsConfig, A as Actions, d as ActionCancel, e as ActionIntro } from "../../vendor.
|
|
6
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
7
|
-
import { W as WindowBase } from "../../components/modal/WindowBase.
|
|
5
|
+
import { f as useDataGrid, j as DataGridRoot, k as ColumnsConfig, A as Actions, d as ActionCancel, e as ActionIntro } from "../../vendor.8af5e1c0.js";
|
|
6
|
+
import { M as ModalContext } from "../../contexts/ModalContext/index.1103b243.js";
|
|
7
|
+
import { W as WindowBase } from "../../components/modal/WindowBase.d4b89141.js";
|
|
8
8
|
function useModal() {
|
|
9
9
|
const context = useContext(ModalContext);
|
|
10
10
|
if (!context)
|