@m4l/components 1.0.7 → 1.0.8
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.97e53037.js → index.fbe7e445.js} +4 -4
- package/components/AppBar/{index.1cd669e2.js → index.88ae8b87.js} +4 -4
- package/components/CommonActions/index.9d9c7d2d.js +170 -0
- package/components/DragResizeWindow/{index.5e316291.js → index.8b3e79f7.js} +3 -3
- package/components/DynamicFilter/dynamicFilterSlots.d.ts +16 -16
- package/components/DynamicFilter/{index.b56ee9d3.js → index.b79e3e3f.js} +21 -18
- package/components/FieldLabel/{index.b4e9c18c.js → index.5d964cbd.js} +4 -4
- package/components/GridLayout/{index.7156fbc9.js → index.656840a5.js} +2 -2
- package/components/GridLayout/subcomponents/Griditem/{index.8946f18e.js → index.b23625d7.js} +4 -4
- package/components/GridLayout/subcomponents/Responsive/{index.3c68f0cb.js → index.97505a31.js} +2 -2
- package/components/GridLayout/subcomponents/SizeProvider/{index.a5b2190d.js → index.36cb4139.js} +1 -1
- package/components/HamburgerMenu/{index.ead6996d.js → index.3bb9880f.js} +3 -3
- package/components/HelperText/{index.651a9b4b.js → index.ebb53dac.js} +1 -1
- package/components/Icon/{index.0e4bc1c2.js → index.3887ef2f.js} +3 -3
- package/components/Image/{index.a3e64dcd.js → index.01f0cdca.js} +2 -2
- package/components/LoadingError/{index.12973823.js → index.c95950b0.js} +5 -5
- package/components/MFLoader/{index.bf9ffe58.js → index.b980701c.js} +3 -3
- package/components/ModalDialog/{index.7e584b4c.js → index.5c9ce220.js} +4 -4
- package/components/NavLink/{index.badec599.js → index.9f5d5670.js} +2 -2
- package/components/NoItemSelected/{index.71be932c.js → index.ed990b9b.js} +2 -2
- package/components/ObjectLogs/{index.a7df0772.js → index.994c87f7.js} +7 -7
- package/components/PDFViewer/{index.c856f823.js → index.4e9adad1.js} +2 -2
- package/components/Page/{index.f9995356.js → index.1a6915e1.js} +1 -1
- package/components/PaperForm/{index.ca9e19ab.js → index.9aee22a8.js} +2 -2
- package/components/Period/{index.2c78168c.js → index.a1124549.js} +4 -4
- package/components/PrintingSystem/{index.8bfc836d.js → index.986a7f36.js} +15 -15
- package/components/PrintingSystem/subcomponents/BodyNode/{index.f37aeaea.js → index.03795652.js} +1 -1
- package/components/PrintingSystem/subcomponents/ChartNode/{index.602fb570.js → index.c0695dce.js} +1 -1
- package/components/PrintingSystem/subcomponents/DividerNode/{index.2278f796.js → index.b1c64ac8.js} +1 -1
- package/components/PrintingSystem/subcomponents/FooterNode/{index.8d76df3f.js → index.a25fe8c0.js} +1 -1
- package/components/PrintingSystem/subcomponents/GridNode/{index.1e3c435e.js → index.63126c45.js} +1 -1
- package/components/PrintingSystem/subcomponents/HeaderNode/{index.3f0ab738.js → index.4265f4d0.js} +1 -1
- package/components/PrintingSystem/subcomponents/PaperNode/{index.f444cad7.js → index.3689165b.js} +1 -1
- package/components/PrintingSystem/subcomponents/PropertyValueNode/{index.592f3293.js → index.f6d75fa7.js} +1 -1
- package/components/PrintingSystem/subcomponents/SectionNode/{index.41fb608c.js → index.8be372b6.js} +1 -1
- package/components/PrintingSystem/subcomponents/TextBoxNode/{index.d378b833.js → index.17bfe615.js} +1 -1
- package/components/PropertyValue/{index.7e4bce22.js → index.d371ce09.js} +3 -3
- package/components/Resizeable/{index.8c72e36a.js → index.414ff687.js} +1 -1
- package/components/ScrollBar/{index.9bfcc74f.js → index.1e89bb44.js} +1 -1
- package/components/SideBar/{index.a0a2ae27.js → index.8ba746a8.js} +7 -7
- package/components/SplitLayout/{index.aed78a1f.js → index.7d9edf4e.js} +1 -1
- package/components/ToastContainer/{index.5fe6b0f7.js → index.32c1142f.js} +3 -3
- package/components/areas/{constants.630a4f42.js → constants.0d3ba950.js} +19 -23
- package/components/areas/contexts/AreasContext/{index.f0aa2770.js → index.8813e482.js} +4 -4
- package/components/areas/{dictionary.f7ba553d.js → dictionary.5fa9b201.js} +13 -25
- package/components/areas/hooks/useAreas/{index.e80b5f68.js → index.d4e3b9af.js} +1 -1
- package/components/hook-form/HelperError/{index.fd10c3ab.js → index.2ed03a3c.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.0aa27d6f.js → index.29408b18.js} +3 -3
- package/components/hook-form/RHFCheckbox/{index.fe5a2e61.js → index.fd1193ae.js} +4 -4
- package/components/hook-form/RHFColorPicker/{index.2891deae.js → index.451c6787.js} +6 -6
- package/components/hook-form/RHFDateTime/{index.fc07eaa6.js → index.a9d2ba66.js} +5 -5
- package/components/hook-form/RHFPeriod/{index.34a5f497.js → index.92cc371e.js} +4 -4
- package/components/hook-form/RHFTextField/{index.51fca2b2.js → index.2b2632c1.js} +6 -6
- package/components/hook-form/RHFUpload/{index.1c48cd8d.js → index.f1cfc225.js} +5 -5
- package/components/maps/components/GpsTools/{index.50942c36.js → index.72796708.js} +3 -3
- package/components/maps/{index.b4317695.js → index.00de5f7b.js} +12 -12
- package/components/modal/{WindowBase.27baa3c5.js → WindowBase.6140e216.js} +4 -4
- package/components/modal/{WindowConfirm.4ef45869.js → WindowConfirm.a8f65450.js} +6 -6
- package/components/modal/{index.7ca17f55.js → index.5bce430d.js} +1 -1
- package/components/mui_extended/Accordion/{index.c50787bf.js → index.c91a6f3d.js} +4 -4
- package/components/mui_extended/Avatar/{index.3ba36655.js → index.12b96914.js} +1 -1
- package/components/mui_extended/Badge/{index.3465d7fb.js → index.4737c113.js} +1 -1
- package/components/mui_extended/Button/{index.9c53e7ad.js → index.84b7159a.js} +6 -6
- package/components/mui_extended/CheckBox/{index.902aff74.js → index.b1f18922.js} +1 -1
- package/components/mui_extended/IconButton/index.d.ts +0 -1
- package/components/mui_extended/IconButton/{index.d6e94af1.js → index.fd8a76af.js} +1 -1
- package/components/mui_extended/LinearProgress/{index.52edc848.js → index.e9455b2e.js} +2 -2
- package/components/mui_extended/Pager/{index.9293ab27.js → index.fba94d09.js} +4 -4
- package/components/mui_extended/Popover/{index.99fe777c.js → index.2e637571.js} +14 -13
- package/components/mui_extended/Popover/index.d.ts +1 -0
- package/components/mui_extended/Popover/subcomponts/ArrowIcon/index.d.ts +1 -1
- package/components/mui_extended/Tab/{index.14641316.js → index.243402a1.js} +18 -17
- package/components/mui_extended/ToggleButton/{index.393e624f.js → index.aeb04226.js} +1 -1
- package/components/mui_extended/ToggleIconButton/{index.540a46b2.js → index.f74a798e.js} +1 -1
- package/components/mui_extended/ToggleIconButton/types.d.ts +1 -1
- package/components/mui_extended/Typography/{index.2a1c68f8.js → index.463f613f.js} +1 -1
- package/components/mui_extended/index.d.ts +2 -2
- package/components/popups/PopupsProvider/{index.e3f8ce5d.js → index.5d90b31f.js} +1 -1
- package/components/popups/PopupsViewer/{index.077e47cd.js → index.b6a68e24.js} +5 -5
- package/contexts/ModalContext/{index.4956950f.js → index.a166538d.js} +1 -1
- package/contexts/RHFormContext/{index.e942a298.js → index.95ebabc9.js} +1 -1
- package/hooks/useFormAddEdit/{index.3cd8d179.js → index.ca90cd13.js} +2 -2
- package/hooks/useModal/{index.898c7559.js → index.167828d6.js} +4 -3
- package/index.js +150 -150
- package/package.json +1 -1
- package/{react-draggable.2df3b71a.js → react-draggable.0cc9b257.js} +1 -1
- package/{react-resizable.c60f3843.js → react-resizable.837c446d.js} +2 -2
- package/utils/{index.0660ee9c.js → index.c64c2dd1.js} +4 -8
- package/{vendor.fc11ba1a.js → vendor.f1f6f92c.js} +106 -241
- package/test/index.6d4b98b9.js +0 -4
|
@@ -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.fd8a76af.js";
|
|
6
6
|
import { useFormContext, Controller } from "react-hook-form";
|
|
7
7
|
import { styled } from "@mui/material/styles";
|
|
8
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.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.c64c2dd1.js";
|
|
11
|
+
import { H as HelperText } from "../../HelperText/index.ebb53dac.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.f1f6f92c.js";
|
|
14
|
+
import { F as FieldLabel } from "../../FieldLabel/index.5d964cbd.js";
|
|
15
15
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
16
16
|
display: "flex",
|
|
17
17
|
flexDirection: "column",
|
|
@@ -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.01f0cdca.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
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
10
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.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.463f613f.js";
|
|
13
|
+
import { B as Button } from "../../mui_extended/Button/index.84b7159a.js";
|
|
14
|
+
import { H as HelperText } from "../../HelperText/index.ebb53dac.js";
|
|
15
15
|
const UploadImageRoot = styled("div")(({ theme }) => ({
|
|
16
16
|
...theme.components?.M4LRHFUploadImage?.styleOverrides
|
|
17
17
|
}));
|
|
@@ -7,12 +7,12 @@ 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.00de5f7b.js";
|
|
11
|
+
import { G as GeofencesFeaturesLayers, T as TabsGpsTools } from "../../../mui_extended/Tab/index.243402a1.js";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
13
|
import { generateUtilityClasses } from "@mui/material";
|
|
14
14
|
import "@mui/base";
|
|
15
|
-
import { _ as COMPONENT_CLASS_NAME, M as MAP_ZINDEX_OVER_MAP } from "../../../areas/constants.
|
|
15
|
+
import { _ as COMPONENT_CLASS_NAME, M as MAP_ZINDEX_OVER_MAP } from "../../../areas/constants.0d3ba950.js";
|
|
16
16
|
enableMapSet();
|
|
17
17
|
const createGpsToolsStore = (initProps) => {
|
|
18
18
|
const startProps = {
|
|
@@ -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 "
|
|
14
|
-
import { B as Button, Z as ZoomButtons } from "../mui_extended/Button/index.
|
|
12
|
+
import { M as MAP_DICCTIONARY } from "../areas/dictionary.5fa9b201.js";
|
|
13
|
+
import { A as Actions } from "../CommonActions/index.9d9c7d2d.js";
|
|
14
|
+
import { B as Button, Z as ZoomButtons } from "../mui_extended/Button/index.84b7159a.js";
|
|
15
15
|
import * as Yup from "yup";
|
|
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.
|
|
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.0d3ba950.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.29408b18.js";
|
|
19
19
|
import { S as Stack } from "../mui_extended/Stack/index.fe363ca5.js";
|
|
20
|
-
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.
|
|
20
|
+
import { R as RHFormProvider } from "../../contexts/RHFormContext/index.95ebabc9.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.5d90b31f.js";
|
|
23
|
+
import { T as ToggleIconButton } from "../mui_extended/ToggleIconButton/index.f74a798e.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.2e637571.js";
|
|
25
|
+
import { P as PopupsViewer } from "../popups/PopupsViewer/index.b6a68e24.js";
|
|
26
26
|
import { createPathComponent } from "@react-leaflet/core";
|
|
27
27
|
import "leaflet.markercluster";
|
|
28
28
|
import { cloneDeep, throttle } from "lodash";
|
|
@@ -34,8 +34,8 @@ import { devtools } from "zustand/middleware";
|
|
|
34
34
|
import { immer } from "zustand/middleware/immer";
|
|
35
35
|
import { generateUtilityClasses } from "@mui/material";
|
|
36
36
|
import { unstable_composeClasses } from "@mui/base";
|
|
37
|
-
import { g as getComponentUtilityClass } from "../../utils/index.
|
|
38
|
-
import { M as MarkerIconLabel } from "../Icon/index.
|
|
37
|
+
import { g as getComponentUtilityClass } from "../../utils/index.c64c2dd1.js";
|
|
38
|
+
import { M as MarkerIconLabel } from "../Icon/index.3887ef2f.js";
|
|
39
39
|
import "leaflet-polylinedecorator";
|
|
40
40
|
const updateOwnerStateClasses = (_state) => {
|
|
41
41
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
2
|
-
import { m as modalUtilityClasses } from "./index.
|
|
2
|
+
import { m as modalUtilityClasses } from "./index.5bce430d.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { I as
|
|
6
|
-
import { I as
|
|
7
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
5
|
+
import { I as Icon } from "../Icon/index.3887ef2f.js";
|
|
6
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.fd8a76af.js";
|
|
7
|
+
import { u as useModal } from "../../hooks/useModal/index.167828d6.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,
|
|
2
|
+
import { A as Actions, a as ActionCancel, b as ActionIntro } from "../CommonActions/index.9d9c7d2d.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.
|
|
8
|
-
import { m as modalUtilityClasses } from "./index.
|
|
9
|
-
import { W as WindowBase } from "./WindowBase.
|
|
5
|
+
import { f as dictionary } from "../areas/dictionary.5fa9b201.js";
|
|
6
|
+
import { u as useModal } from "../../hooks/useModal/index.167828d6.js";
|
|
7
|
+
import { I as Image } from "../Image/index.01f0cdca.js";
|
|
8
|
+
import { m as modalUtilityClasses } from "./index.5bce430d.js";
|
|
9
|
+
import { W as WindowBase } from "./WindowBase.6140e216.js";
|
|
10
10
|
const MessageIlustration = (props) => {
|
|
11
11
|
const { getLabel } = useModuleDictionary();
|
|
12
12
|
const { variant } = useModal();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
-
import { a8 as componentName } from "../areas/constants.
|
|
3
|
+
import { a8 as componentName } from "../areas/constants.0d3ba950.js";
|
|
4
4
|
generateUtilityClasses(componentName, [
|
|
5
5
|
"root",
|
|
6
6
|
"windowBaseRoot",
|
|
@@ -1,14 +1,14 @@
|
|
|
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.fd8a76af.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
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
9
9
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
10
|
-
import { I as Icon } from "../../Icon/index.
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
10
|
+
import { I as Icon } from "../../Icon/index.3887ef2f.js";
|
|
11
|
+
import { T as Typography } from "../Typography/index.463f613f.js";
|
|
12
12
|
const componentName = "M4LAccordion";
|
|
13
13
|
generateUtilityClasses(componentName, [
|
|
14
14
|
"root",
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { forwardRef } from "react";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled, Avatar as Avatar$1 } from "@mui/material";
|
|
4
4
|
import { useModuleSkeleton } from "@m4l/core";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
const AVATAR_PREFIX = "M4LAvatar";
|
|
@@ -2,7 +2,7 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { generateUtilityClasses, Badge as Badge$1 } from "@mui/material";
|
|
3
3
|
import "@mui/base";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
6
6
|
const componentName = "M4LBadge";
|
|
7
7
|
const badgeClasses = generateUtilityClasses(componentName, [
|
|
8
8
|
"root"
|
|
@@ -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.
|
|
10
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
9
|
+
import { I as Image } from "../../Image/index.01f0cdca.js";
|
|
10
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
11
11
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
12
|
-
import { T as Typography } from "../Typography/index.
|
|
12
|
+
import { T as Typography } from "../Typography/index.463f613f.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.00de5f7b.js";
|
|
16
|
+
import { I as IconButton$1 } from "../IconButton/index.fd8a76af.js";
|
|
17
|
+
import { u as useSideBar, g as getNameDataTestId$2 } from "../../SideBar/index.8ba746a8.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.5d964cbd.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.3887ef2f.js";
|
|
6
6
|
import { styled } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import clsx from "clsx";
|
|
@@ -2,8 +2,8 @@ import { jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { LinearProgress as LinearProgress$1, generateUtilityClasses, styled } from "@mui/material";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.c64c2dd1.js";
|
|
6
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
7
7
|
const LinearProgress = (props) => {
|
|
8
8
|
const { ...other } = props;
|
|
9
9
|
return /* @__PURE__ */ jsx(LinearProgress$1, { ...other });
|
|
@@ -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.fd8a76af.js";
|
|
7
7
|
import { useEnvironment, useBase } from "@m4l/core";
|
|
8
8
|
import { useResponsiveContainerStore } from "@m4l/graphics";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
-
import { I as Icon } from "../../Icon/index.
|
|
12
|
-
import { c as classes } from "../../PrintingSystem/index.
|
|
10
|
+
import { T as Typography } from "../Typography/index.463f613f.js";
|
|
11
|
+
import { I as Icon } from "../../Icon/index.3887ef2f.js";
|
|
12
|
+
import { c as classes } from "../../PrintingSystem/index.986a7f36.js";
|
|
13
13
|
import clsx from "clsx";
|
|
14
14
|
const PagerRoot = styled("div")(({ theme }) => ({
|
|
15
15
|
...theme.components?.M4LPager?.styleOverrides
|
|
@@ -1,26 +1,27 @@
|
|
|
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.b79e3e3f.js";
|
|
3
3
|
import { useModuleDictionary, useEnvironment, useNetwork, useModulePrivileges } from "@m4l/core";
|
|
4
4
|
import React__default, { useRef, useMemo, useCallback, useState, useEffect } from "react";
|
|
5
|
-
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.
|
|
6
|
-
import {
|
|
7
|
-
import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass,
|
|
8
|
-
import { I as Image } from "../../Image/index.
|
|
5
|
+
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.js";
|
|
6
|
+
import { a as ActionCancel, b as ActionIntro } from "../../CommonActions/index.9d9c7d2d.js";
|
|
7
|
+
import { Popover as Popover$1, generateUtilityClasses, generateUtilityClass, Stack, MenuItem, Tooltip, FormControl, RadioGroup, FormControlLabel, Radio, useTheme } from "@mui/material";
|
|
8
|
+
import { I as Image } from "../../Image/index.01f0cdca.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.84b7159a.js";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
13
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.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.5fa9b201.js";
|
|
16
16
|
import { M as MAP_ICONS } from "../../areas/icons.504ec098.js";
|
|
17
|
+
import { C as ColumnSetCheckFormatter, a as DataGrid } from "../../../vendor.f1f6f92c.js";
|
|
17
18
|
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.
|
|
19
|
+
import { I as Icon } from "../../Icon/index.3887ef2f.js";
|
|
20
|
+
import { u as useMapStore, a as useDisableZoomEvents, m as mapClasses } from "../../maps/index.00de5f7b.js";
|
|
20
21
|
import { u as useStateRef } from "../../../hooks/useStateRef/index.538edb89.js";
|
|
21
22
|
import clsx from "clsx";
|
|
22
|
-
import { C as CheckBox } from "../CheckBox/index.
|
|
23
|
-
import { I as IconButton } from "../IconButton/index.
|
|
23
|
+
import { C as CheckBox } from "../CheckBox/index.b1f18922.js";
|
|
24
|
+
import { I as IconButton } from "../IconButton/index.fd8a76af.js";
|
|
24
25
|
const PopoverRoot = styled(Popover$1)(({ theme }) => ({
|
|
25
26
|
...theme.components?.M4LPopover?.styleOverrides
|
|
26
27
|
}));
|
|
@@ -68,7 +69,7 @@ const useUtilityClasses$1 = (ownerState) => {
|
|
|
68
69
|
...composedClasses
|
|
69
70
|
};
|
|
70
71
|
};
|
|
71
|
-
const ArrowStyle = styled
|
|
72
|
+
const ArrowStyle = styled("span")(({ arrowType, theme }) => {
|
|
72
73
|
const SIZE = 12;
|
|
73
74
|
const POSITION = -(SIZE / 2);
|
|
74
75
|
const borderStyle = `solid 1px ${theme.vars.palette.state.borderDens}`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Popover';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { ArrowStyleProps } from '../../types';
|
|
3
|
-
export declare const ArrowStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & ArrowStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
3
|
+
export declare const ArrowStyle: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme> & ArrowStyleProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
@@ -4,40 +4,41 @@ 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 {
|
|
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.
|
|
7
|
+
import { d as useDataGrid, e as useFilters, M as MenuActions, f as ColumnDateFormatter, R as RHFAutocomplete, a as DataGrid } from "../../../vendor.f1f6f92c.js";
|
|
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.0d3ba950.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.5fa9b201.js";
|
|
11
|
+
import { u as useGpsToolsStore, g as gpsToolsClasses, a as useLayers, D as DivGpsToolsRoot } from "../../maps/components/GpsTools/index.72796708.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.b79e3e3f.js";
|
|
18
18
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
19
19
|
import { useFormContext, useWatch } from "react-hook-form";
|
|
20
|
-
import { H as HelperError } from "../../hook-form/HelperError/index.
|
|
21
|
-
import { u as usePopupsStore } from "../../popups/PopupsProvider/index.
|
|
22
|
-
import {
|
|
20
|
+
import { H as HelperError } from "../../hook-form/HelperError/index.2ed03a3c.js";
|
|
21
|
+
import { u as usePopupsStore } from "../../popups/PopupsProvider/index.5d90b31f.js";
|
|
22
|
+
import { A as Actions, c as ActionFormIntro } from "../../CommonActions/index.9d9c7d2d.js";
|
|
23
|
+
import { B as Button } from "../Button/index.84b7159a.js";
|
|
23
24
|
import { useMap } from "react-leaflet";
|
|
24
25
|
import { u as useFormReadyForUpdate } from "../../../hooks/useFormReadyForUpdate/index.f60f500e.js";
|
|
25
26
|
import * as L from "leaflet";
|
|
26
|
-
import { P as PaperForm } from "../../PaperForm/index.
|
|
27
|
-
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.
|
|
27
|
+
import { P as PaperForm } from "../../PaperForm/index.9aee22a8.js";
|
|
28
|
+
import { R as RHFTextField } from "../../hook-form/RHFTextField/index.2b2632c1.js";
|
|
28
29
|
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.
|
|
30
|
+
import { P as PropertyValue } from "../../PropertyValue/index.d371ce09.js";
|
|
31
|
+
import { R as RHFColorPicker } from "../../hook-form/RHFColorPicker/index.451c6787.js";
|
|
31
32
|
import { unstable_composeClasses } from "@mui/base";
|
|
32
33
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
33
34
|
import { a as getNameDataTestId } from "../../../test/getNameDataTestId.aee44365.js";
|
|
34
35
|
import { T as Tooltip } from "../Tooltip/index.49bb5ee1.js";
|
|
35
36
|
import * as Yup from "yup";
|
|
36
|
-
import { R as RHFormProvider } from "../../../contexts/RHFormContext/index.
|
|
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 { R as RHFormProvider } from "../../../contexts/RHFormContext/index.95ebabc9.js";
|
|
38
|
+
import { u as useFormAddEdit } from "../../../hooks/useFormAddEdit/index.ca90cd13.js";
|
|
39
|
+
import { u as useModal } from "../../../hooks/useModal/index.167828d6.js";
|
|
40
|
+
import { W as WindowConfirm } from "../../modal/WindowConfirm.a8f65450.js";
|
|
41
|
+
import { u as useMapStore } from "../../maps/index.00de5f7b.js";
|
|
41
42
|
const componentName$2 = "M4LTabs";
|
|
42
43
|
generateUtilityClasses(componentName$2, [
|
|
43
44
|
"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.84b7159a.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.fd8a76af.js";
|
|
4
4
|
import { w as withToggle } from "../../../hocs/withToggle/index.548aeace.js";
|
|
5
5
|
const ToggleAbleIconButton = ({
|
|
6
6
|
onToggle,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ToggleableProps } from '../../../hocs/withToggle/types';
|
|
2
|
-
import { IconButtonProps } from '../IconButton';
|
|
2
|
+
import { IconButtonProps } from '../IconButton/types';
|
|
3
3
|
export interface ToggleIconButtonProps extends Omit<IconButtonProps, 'onClick'>, ToggleableProps {
|
|
4
4
|
}
|
|
@@ -4,7 +4,7 @@ import { Skeleton, generateUtilityClasses, generateUtilityClass, Typography as T
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../areas/constants.
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../areas/constants.0d3ba950.js";
|
|
8
8
|
const WarpperTypography = styled("div")(({ theme }) => ({
|
|
9
9
|
...theme.components?.M4LTypography?.styleOverrides
|
|
10
10
|
}));
|
|
@@ -8,14 +8,14 @@ export * from './Button/Button';
|
|
|
8
8
|
export * from './CheckBox';
|
|
9
9
|
export { CircularProgress } from './CircularProgress';
|
|
10
10
|
export { Badge } from './Badge';
|
|
11
|
-
export * from './IconButton
|
|
11
|
+
export * from './IconButton';
|
|
12
12
|
export * from './ImageButton/ImageButton';
|
|
13
13
|
export { LinearProgress } from './LinearProgress';
|
|
14
14
|
export { LinkWithRoute } from './LinkWithRoute';
|
|
15
15
|
export { LoadingButton } from './LoadingButton';
|
|
16
16
|
export { MenuActions } from './MenuActions';
|
|
17
17
|
export type { MenuAction, ComponentActionProps } from './MenuActions/types';
|
|
18
|
-
export * from './Popover
|
|
18
|
+
export * from './Popover';
|
|
19
19
|
export * from './Stack';
|
|
20
20
|
export * from './Tabs';
|
|
21
21
|
export * from './TabContent';
|
|
@@ -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.b6a68e24.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.5d90b31f.js";
|
|
8
8
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
|
-
import { af as COMPONENT_CLASS_NAME } from "../../areas/constants.
|
|
10
|
+
import { af as COMPONENT_CLASS_NAME } from "../../areas/constants.0d3ba950.js";
|
|
11
11
|
import { P as POPUPS_ICONS } from "../../areas/icons.504ec098.js";
|
|
12
|
-
import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.
|
|
13
|
-
import { I as Icon } from "../../Icon/index.
|
|
14
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
12
|
+
import { d as draggableWindowClasses, D as DragResizeWindow } from "../../DragResizeWindow/index.8b3e79f7.js";
|
|
13
|
+
import { I as Icon } from "../../Icon/index.3887ef2f.js";
|
|
14
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.fd8a76af.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.5c9ce220.js";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({ children }) {
|
|
6
6
|
const [modalOptions, setModalOptions] = useState({
|
|
@@ -5,7 +5,7 @@ import { useForm, FormProvider } from "react-hook-form";
|
|
|
5
5
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
6
6
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { ag as componentName } from "../../components/areas/constants.
|
|
8
|
+
import { ag as componentName } from "../../components/areas/constants.0d3ba950.js";
|
|
9
9
|
const FormProviderRoot = styled("form")(({ theme }) => ({
|
|
10
10
|
...theme.components?.M4LRHFormProvider?.styleOverrides
|
|
11
11
|
}));
|
|
@@ -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.167828d6.js";
|
|
5
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.a8f65450.js";
|
|
6
6
|
function useFormAddEdit(props) {
|
|
7
7
|
const {
|
|
8
8
|
initialValues,
|
|
@@ -2,9 +2,10 @@ 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 {
|
|
6
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
7
|
-
import { W as WindowBase } from "../../components/modal/WindowBase.
|
|
5
|
+
import { d as useDataGrid, g as DataGridRoot, h as ColumnsConfig } from "../../vendor.f1f6f92c.js";
|
|
6
|
+
import { M as ModalContext } from "../../contexts/ModalContext/index.a166538d.js";
|
|
7
|
+
import { W as WindowBase } from "../../components/modal/WindowBase.6140e216.js";
|
|
8
|
+
import { A as Actions, a as ActionCancel, b as ActionIntro } from "../../components/CommonActions/index.9d9c7d2d.js";
|
|
8
9
|
function useModal() {
|
|
9
10
|
const context = useContext(ModalContext);
|
|
10
11
|
if (!context)
|