@m4l/components 0.1.89 → 0.1.92
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.bb2c369d.js → index.eebea1c5.js} +3 -3
- package/components/AppBar/{index.58233583.js → index.90cceb7d.js} +3 -3
- package/components/CommonActions/components/ActionCancel/{index.ffc5618a.js → index.54588e5b.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.baa35ca3.js → index.7907e6f4.js} +10 -10
- package/components/CommonActions/components/ActionFormIntro/{index.906d46a0.js → index.f7cd515b.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.81d2648b.js → index.f20cffae.js} +1 -1
- package/components/CommonActions/components/Actions/{index.366cb775.js → index.7a196c44.js} +8 -8
- package/components/DataGrid/{index.8c887df9.js → index.95cea2ca.js} +3 -3
- package/components/DataGrid/subcomponents/Actions/{index.895fc73f.js → index.5b0b1fbf.js} +13 -13
- package/components/DynamicFilter/{index.d2e7bdcc.js → index.e9192ebd.js} +21 -21
- package/components/GridLayout/{index.8ae34c50.js → index.5e43414d.js} +15 -12
- package/components/GridLayout/subcomponents/Griditem/{index.c7a33781.js → index.d6f326d2.js} +2 -1
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +1 -0
- package/components/GridLayout/subcomponents/Responsive/{index.96cdb1b4.js → index.d41e31ca.js} +32 -11
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +2 -2
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +22 -1
- package/components/GridLayout/types.d.ts +11 -0
- package/components/HelperText/{index.69791151.js → index.191348cc.js} +3 -3
- package/components/LanguagePopover/{index.349d359c.js → index.a74f2065.js} +3 -3
- package/components/ModalDialog/{index.302a87c9.js → index.99745527.js} +3 -3
- package/components/NavLink/{index.8fe407ef.js → index.f12bba32.js} +3 -3
- package/components/ObjectLogs/{index.98d3400e.js → index.9bbac2a0.js} +12 -12
- package/components/Period/{index.972dbe64.js → index.ebd5e3b7.js} +9 -9
- package/components/PropertyValue/{index.d3d71d50.js → index.76fa6a12.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.cb3d7bd6.js → index.cd054608.js} +21 -21
- package/components/areas/components/AreasViewer/{index.1eef603d.js → index.62abf0bb.js} +32 -31
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/index.d.ts +2 -2
- package/components/areas/components/{index.44ec162f.js → index.ea2f9914.js} +6 -6
- package/components/areas/contexts/AreasContext/helper.d.ts +14 -1
- package/components/areas/contexts/AreasContext/{index.7a2d5394.js → index.d528f6e7.js} +12 -10
- package/components/areas/contexts/{index.7bae4208.js → index.6e9bbc64.js} +1 -1
- package/components/areas/hooks/useAreas/{index.1f112e0b.js → index.d417e4b2.js} +1 -1
- package/components/areas/{index.aaaa1f62.js → index.8d6d8969.js} +6 -6
- package/components/hook-form/RHFAutocomplete/{index.5c23bd25.js → index.29a4c62c.js} +4 -4
- package/components/hook-form/RHFAutocompleteAsync/{index.85b11f3a.js → index.647c3f9c.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.a136882e.js → index.0b89ea5c.js} +4 -4
- package/components/hook-form/RHFDateTime/{index.1ca795b0.js → index.1adc88ad.js} +4 -4
- package/components/hook-form/RHFPeriod/{index.90777c53.js → index.a4476d23.js} +2 -2
- package/components/hook-form/RHFTextField/{index.ccea64e7.js → index.a1a240b1.js} +2 -2
- package/components/hook-form/RHFUpload/{index.85e59119.js → index.a4582341.js} +4 -4
- package/components/modal/{WindowBase.39a70f35.js → WindowBase.a4752aa1.js} +9 -9
- package/components/modal/{WindowConfirm.f53c02f6.js → WindowConfirm.7a9c12c0.js} +12 -12
- package/components/modal/{index.dbdb6ac0.js → index.b434146b.js} +8 -8
- package/components/mui_extended/Accordion/{index.0e0090ca.js → index.cdedddba.js} +1 -1
- package/components/mui_extended/MenuActions/{index.4c2e48d4.js → index.7669b8af.js} +2 -2
- package/components/mui_extended/Tab/{index.3db2e0c7.js → index.5f09e16a.js} +1 -1
- package/components/mui_extended/{index.9e8aeca8.js → index.fe189e7d.js} +3 -3
- package/contexts/ModalContext/{index.1fc9f5d9.js → index.347f6738.js} +1 -1
- package/hooks/useFormAddEdit/{index.4906dbb4.js → index.e8e7f758.js} +9 -10
- package/hooks/useModal/{index.6457198c.js → index.fa6dfaa1.js} +1 -1
- package/index.js +59 -59
- package/package.json +1 -1
- package/{vendor.92191f81.js → vendor.e14dec76.js} +39 -39
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.d528f6e7.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -7,11 +7,11 @@ import "react/jsx-runtime";
|
|
|
7
7
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
9
|
import "zustand";
|
|
10
|
-
import "./contexts/AreasContext/index.
|
|
11
|
-
import "./components/AreasAdmin/index.
|
|
10
|
+
import "./contexts/AreasContext/index.d528f6e7.js";
|
|
11
|
+
import "./components/AreasAdmin/index.cd054608.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../ScrollBar/index.65bb2930.js";
|
|
14
|
-
import "../mui_extended/Accordion/index.
|
|
14
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
15
15
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
@@ -21,13 +21,13 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
21
21
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../mui_extended/MenuActions/index.
|
|
24
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
25
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../mui_extended/Tab/index.
|
|
27
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
28
28
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
|
-
import "./components/AreasViewer/index.
|
|
30
|
+
import "./components/AreasViewer/index.62abf0bb.js";
|
|
31
31
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
32
32
|
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
33
33
|
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -6,14 +6,14 @@ import { useMemo, useRef, useState, useEffect } from "react";
|
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
8
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
10
10
|
import { I as IconButton } from "../../mui_extended/IconButton/index.76624519.js";
|
|
11
11
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
12
12
|
import { styled } from "@mui/material/styles";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { unstable_composeClasses } from "@mui/base";
|
|
15
15
|
import "../../Icon/index.a70c4729.js";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
17
17
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
@@ -21,10 +21,10 @@ import "../../mui_extended/Button/index.f79eb74e.js";
|
|
|
21
21
|
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
22
22
|
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
28
|
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const AutocompleteRoot = styled("div")(({
|
|
@@ -5,7 +5,7 @@ import { styled } from "@mui/material/styles";
|
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
8
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.29a4c62c.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -2,7 +2,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
3
|
import { Skeleton, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
5
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
8
|
import "react";
|
|
@@ -11,7 +11,7 @@ import "../../Icon/index.a70c4729.js";
|
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
13
13
|
import "../../mui_extended/IconButton/index.76624519.js";
|
|
14
|
-
import "../../mui_extended/Accordion/index.
|
|
14
|
+
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
15
15
|
import "../../mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
@@ -21,10 +21,10 @@ import { C as CheckBox } from "../../mui_extended/CheckBox.38abccd8.js";
|
|
|
21
21
|
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
+
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
25
25
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../mui_extended/Tab/index.
|
|
27
|
+
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
28
28
|
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const RHFCheckboxRoot = styled("div")(({
|
|
@@ -9,7 +9,7 @@ import clsx from "clsx";
|
|
|
9
9
|
import "../../Icon/index.a70c4729.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
11
|
import "../../mui_extended/IconButton/index.76624519.js";
|
|
12
|
-
import "../../mui_extended/Accordion/index.
|
|
12
|
+
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
13
13
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
14
14
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
15
15
|
import "react-router-dom";
|
|
@@ -19,13 +19,13 @@ import "../../mui_extended/CheckBox.38abccd8.js";
|
|
|
19
19
|
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
20
20
|
import "../../Image/index.c18ebf5a.js";
|
|
21
21
|
import "@mui/lab";
|
|
22
|
-
import "../../mui_extended/MenuActions/index.
|
|
22
|
+
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
23
23
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
24
24
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
25
|
-
import "../../mui_extended/Tab/index.
|
|
25
|
+
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
26
26
|
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
27
27
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
28
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
28
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
29
29
|
import { styled } from "@mui/material/styles";
|
|
30
30
|
import { unstable_composeClasses } from "@mui/base";
|
|
31
31
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled, generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
4
|
-
import { P as Period } from "../../Period/index.
|
|
3
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.ebd5e3b7.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
const RHFPeriodRoot = styled("div")(({
|
|
@@ -12,7 +12,7 @@ import { styled as styled$1 } from "@mui/material/styles";
|
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
13
|
import { g as getComponentUtilityClass } from "../../../utils/index.c43a95f4.js";
|
|
14
14
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
15
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
15
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -227,7 +227,7 @@ const RHFTextField = forwardRef((props, ref) => {
|
|
|
227
227
|
onChange: onInternalChange,
|
|
228
228
|
onFocus: handleFocus,
|
|
229
229
|
onBlur: handleBlur,
|
|
230
|
-
value: type === "number" ? isNaN(value) ? 0 : value : value,
|
|
230
|
+
value: type === "number" ? isNaN(value) ? 0 : value : value || "",
|
|
231
231
|
name,
|
|
232
232
|
inputProps: {
|
|
233
233
|
...process.env.NODE_ENV !== "production" ? {
|
|
@@ -9,7 +9,7 @@ import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
|
9
9
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
10
10
|
import { B as Button } from "../../mui_extended/Button/index.f79eb74e.js";
|
|
11
11
|
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
12
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
12
|
+
import { H as HelperText } from "../../HelperText/index.191348cc.js";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { styled } from "@mui/material/styles";
|
|
15
15
|
import { unstable_composeClasses } from "@mui/base";
|
|
@@ -17,16 +17,16 @@ import "@mui/material/Button";
|
|
|
17
17
|
import "../../Icon/index.a70c4729.js";
|
|
18
18
|
import "../../mui_extended/IconButton/index.76624519.js";
|
|
19
19
|
import "@m4l/graphics";
|
|
20
|
-
import "../../mui_extended/Accordion/index.
|
|
20
|
+
import "../../mui_extended/Accordion/index.cdedddba.js";
|
|
21
21
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
22
22
|
import "react-router-dom";
|
|
23
23
|
import "../../mui_extended/CheckBox.38abccd8.js";
|
|
24
24
|
import "../../mui_extended/Badge/index.b09524fe.js";
|
|
25
25
|
import "@mui/lab";
|
|
26
|
-
import "../../mui_extended/MenuActions/index.
|
|
26
|
+
import "../../mui_extended/MenuActions/index.7669b8af.js";
|
|
27
27
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
28
28
|
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
29
|
-
import "../../mui_extended/Tab/index.
|
|
29
|
+
import "../../mui_extended/Tab/index.5f09e16a.js";
|
|
30
30
|
import "../../mui_extended/Pager/index.ac2a21f0.js";
|
|
31
31
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
32
32
|
const UploadImageRoot = styled("div")(({
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
4
4
|
import "@mui/material";
|
|
5
5
|
import "../../react-draggable.7abb5d0a.js";
|
|
6
6
|
import "../Resizeable/index.676c96fe.js";
|
|
7
7
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { m as modalUtilityClasses } from "./index.
|
|
10
|
-
import "../CommonActions/components/Actions/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "./index.b434146b.js";
|
|
10
|
+
import "../CommonActions/components/Actions/index.7a196c44.js";
|
|
11
11
|
import "@mui/material/Button";
|
|
12
12
|
import "../mui_extended/Button/index.f79eb74e.js";
|
|
13
13
|
import clsx from "clsx";
|
|
@@ -15,11 +15,11 @@ import "react-hook-form";
|
|
|
15
15
|
import { I as Icon } from "../Icon/index.a70c4729.js";
|
|
16
16
|
import { I as IconButton } from "../mui_extended/IconButton/index.76624519.js";
|
|
17
17
|
import "zustand";
|
|
18
|
-
import "../areas/contexts/AreasContext/index.
|
|
19
|
-
import "../areas/components/AreasAdmin/index.
|
|
18
|
+
import "../areas/contexts/AreasContext/index.d528f6e7.js";
|
|
19
|
+
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
20
20
|
import "zustand/shallow";
|
|
21
21
|
import "../ScrollBar/index.65bb2930.js";
|
|
22
|
-
import "../mui_extended/Accordion/index.
|
|
22
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
23
23
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
24
24
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
25
25
|
import "react-router-dom";
|
|
@@ -27,13 +27,13 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
27
27
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
28
28
|
import "../Image/index.c18ebf5a.js";
|
|
29
29
|
import "@mui/lab";
|
|
30
|
-
import "../mui_extended/MenuActions/index.
|
|
30
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
31
31
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
32
32
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
33
|
-
import "../mui_extended/Tab/index.
|
|
33
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
34
34
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
35
35
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.
|
|
36
|
+
import "../areas/components/AreasViewer/index.62abf0bb.js";
|
|
37
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
39
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.fa6dfaa1.js";
|
|
4
4
|
import { Typography } from "@mui/material";
|
|
5
5
|
import "../../react-draggable.7abb5d0a.js";
|
|
6
6
|
import "../Resizeable/index.676c96fe.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { m as modalUtilityClasses } from "./index.
|
|
10
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
11
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
12
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
9
|
+
import { m as modalUtilityClasses } from "./index.b434146b.js";
|
|
10
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.7a196c44.js";
|
|
11
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.54588e5b.js";
|
|
12
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.f20cffae.js";
|
|
13
13
|
import "react-hook-form";
|
|
14
14
|
import "@mui/material/Button";
|
|
15
15
|
import "../mui_extended/Button/index.f79eb74e.js";
|
|
@@ -17,11 +17,11 @@ import "clsx";
|
|
|
17
17
|
import "../Icon/index.a70c4729.js";
|
|
18
18
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
19
19
|
import "zustand";
|
|
20
|
-
import "../areas/contexts/AreasContext/index.
|
|
21
|
-
import "../areas/components/AreasAdmin/index.
|
|
20
|
+
import "../areas/contexts/AreasContext/index.d528f6e7.js";
|
|
21
|
+
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
22
22
|
import "zustand/shallow";
|
|
23
23
|
import "../ScrollBar/index.65bb2930.js";
|
|
24
|
-
import "../mui_extended/Accordion/index.
|
|
24
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
25
25
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
26
26
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
27
27
|
import "react-router-dom";
|
|
@@ -29,17 +29,17 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
29
29
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
30
30
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
31
31
|
import "@mui/lab";
|
|
32
|
-
import "../mui_extended/MenuActions/index.
|
|
32
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
33
33
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
34
34
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
35
|
-
import "../mui_extended/Tab/index.
|
|
35
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
36
36
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
37
37
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
38
|
-
import "../areas/components/AreasViewer/index.
|
|
38
|
+
import "../areas/components/AreasViewer/index.62abf0bb.js";
|
|
39
39
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
40
40
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
41
41
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
42
|
-
import { W as WindowBase } from "./WindowBase.
|
|
42
|
+
import { W as WindowBase } from "./WindowBase.a4752aa1.js";
|
|
43
43
|
const dictionary = {
|
|
44
44
|
MESSAGE: "common_actions.confirm_quit_msg"
|
|
45
45
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "../../react-draggable.7abb5d0a.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../contexts/ModalContext/index.
|
|
4
|
+
import "../../contexts/ModalContext/index.347f6738.js";
|
|
5
5
|
import "../Resizeable/index.676c96fe.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@m4l/graphics";
|
|
@@ -10,7 +10,7 @@ import "@m4l/core";
|
|
|
10
10
|
import "../Icon/index.a70c4729.js";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import "../mui_extended/IconButton/index.76624519.js";
|
|
13
|
-
import "../mui_extended/Accordion/index.
|
|
13
|
+
import "../mui_extended/Accordion/index.cdedddba.js";
|
|
14
14
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
15
15
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
16
16
|
import "react-router-dom";
|
|
@@ -20,20 +20,20 @@ import "../mui_extended/CheckBox.38abccd8.js";
|
|
|
20
20
|
import "../mui_extended/Badge/index.b09524fe.js";
|
|
21
21
|
import "../Image/index.c18ebf5a.js";
|
|
22
22
|
import "@mui/lab";
|
|
23
|
-
import "../mui_extended/MenuActions/index.
|
|
23
|
+
import "../mui_extended/MenuActions/index.7669b8af.js";
|
|
24
24
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
25
|
import "../mui_extended/Stack/index.0e53197c.js";
|
|
26
|
-
import "../mui_extended/Tab/index.
|
|
26
|
+
import "../mui_extended/Tab/index.5f09e16a.js";
|
|
27
27
|
import "../mui_extended/Pager/index.ac2a21f0.js";
|
|
28
28
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
|
-
import "../CommonActions/components/Actions/index.
|
|
29
|
+
import "../CommonActions/components/Actions/index.7a196c44.js";
|
|
30
30
|
import "react-hook-form";
|
|
31
31
|
import "zustand";
|
|
32
|
-
import "../areas/contexts/AreasContext/index.
|
|
33
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.d528f6e7.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.cd054608.js";
|
|
34
34
|
import "zustand/shallow";
|
|
35
35
|
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.
|
|
36
|
+
import "../areas/components/AreasViewer/index.62abf0bb.js";
|
|
37
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
39
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -6,7 +6,7 @@ import { I as Icon } from "../../Icon/index.a70c4729.js";
|
|
|
6
6
|
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../../vendor.e14dec76.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
@@ -6,7 +6,7 @@ import { styled } from "@mui/material/styles";
|
|
|
6
6
|
import { I as Icon } from "../../Icon/index.a70c4729.js";
|
|
7
7
|
import { I as IconButton$1 } from "../IconButton/index.76624519.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import "../Accordion/index.
|
|
9
|
+
import "../Accordion/index.cdedddba.js";
|
|
10
10
|
import "../Typography/index.443590d6.js";
|
|
11
11
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
12
12
|
import "../Avatar/index.75e6ed57.js";
|
|
@@ -18,7 +18,7 @@ import { B as Badge } from "../Badge/index.b09524fe.js";
|
|
|
18
18
|
import "../../Image/index.c18ebf5a.js";
|
|
19
19
|
import "@mui/lab";
|
|
20
20
|
import "../Stack/index.0e53197c.js";
|
|
21
|
-
import "../Tab/index.
|
|
21
|
+
import "../Tab/index.5f09e16a.js";
|
|
22
22
|
import "../Pager/index.ac2a21f0.js";
|
|
23
23
|
import "@m4l/graphics";
|
|
24
24
|
import "../Tooltip/index.5a795dcd.js";
|
|
@@ -5,7 +5,7 @@ import { unstable_composeClasses } from "@mui/base";
|
|
|
5
5
|
import { useModuleSkeleton } from "@m4l/core";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
8
|
+
import { g as getNameDataTestId } from "../../../vendor.e14dec76.js";
|
|
9
9
|
const componentName$2 = "M4LTabs";
|
|
10
10
|
generateUtilityClasses(componentName$2, [
|
|
11
11
|
"root"
|
|
@@ -6,7 +6,7 @@ import "clsx";
|
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "./IconButton/index.76624519.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.
|
|
9
|
+
import "./Accordion/index.cdedddba.js";
|
|
10
10
|
import "./Typography/index.443590d6.js";
|
|
11
11
|
import "./Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
@@ -16,9 +16,9 @@ import "./CheckBox.38abccd8.js";
|
|
|
16
16
|
import "./Badge/index.b09524fe.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
-
import "./MenuActions/index.
|
|
19
|
+
import "./MenuActions/index.7669b8af.js";
|
|
20
20
|
import "./Popover/index.9f35d0eb.js";
|
|
21
21
|
import "./Stack/index.0e53197c.js";
|
|
22
|
-
import "./Tab/index.
|
|
22
|
+
import "./Tab/index.5f09e16a.js";
|
|
23
23
|
import "./Pager/index.ac2a21f0.js";
|
|
24
24
|
import "./Tooltip/index.5a795dcd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useState } from "react";
|
|
2
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
2
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.99745527.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { useNetwork, useFlags, useModuleDictionary } from "@m4l/core";
|
|
2
2
|
import { useState, useEffect } from "react";
|
|
3
|
-
import { u as useModal } from "../useModal/index.
|
|
3
|
+
import { u as useModal } from "../useModal/index.fa6dfaa1.js";
|
|
4
4
|
import "@mui/material";
|
|
5
5
|
import "../../react-draggable.7abb5d0a.js";
|
|
6
6
|
import "../../components/Resizeable/index.676c96fe.js";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "../../components/modal/index.
|
|
10
|
-
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.
|
|
9
|
+
import "../../components/modal/index.b434146b.js";
|
|
10
|
+
import { W as WindowConfirm } from "../../components/modal/WindowConfirm.7a9c12c0.js";
|
|
11
11
|
import "../../components/Icon/index.a70c4729.js";
|
|
12
12
|
import "clsx";
|
|
13
13
|
import "../../components/mui_extended/IconButton/index.76624519.js";
|
|
14
|
-
import "../../components/mui_extended/Accordion/index.
|
|
14
|
+
import "../../components/mui_extended/Accordion/index.cdedddba.js";
|
|
15
15
|
import "../../components/mui_extended/Typography/index.443590d6.js";
|
|
16
16
|
import "../../components/mui_extended/Avatar/index.75e6ed57.js";
|
|
17
17
|
import "react-router-dom";
|
|
@@ -21,10 +21,10 @@ import "../../components/mui_extended/CheckBox.38abccd8.js";
|
|
|
21
21
|
import "../../components/mui_extended/Badge/index.b09524fe.js";
|
|
22
22
|
import "../../components/Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
-
import "../../components/mui_extended/MenuActions/index.
|
|
24
|
+
import "../../components/mui_extended/MenuActions/index.7669b8af.js";
|
|
25
25
|
import "../../components/mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "../../components/mui_extended/Stack/index.0e53197c.js";
|
|
27
|
-
import "../../components/mui_extended/Tab/index.
|
|
27
|
+
import "../../components/mui_extended/Tab/index.5f09e16a.js";
|
|
28
28
|
import "../../components/mui_extended/Pager/index.ac2a21f0.js";
|
|
29
29
|
import "../../components/mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const useFormAddEdit = (props) => {
|
|
@@ -57,12 +57,11 @@ const useFormAddEdit = (props) => {
|
|
|
57
57
|
};
|
|
58
58
|
useEffect(() => {
|
|
59
59
|
let mounted = true;
|
|
60
|
-
const arrForPromises = Array.isArray(endPoint) ? endPoint : [endPoint];
|
|
61
60
|
if (statusLoad === "edit") {
|
|
62
|
-
|
|
61
|
+
networkOperation({
|
|
63
62
|
method: "GET",
|
|
64
|
-
endPoint: `${
|
|
65
|
-
})
|
|
63
|
+
endPoint: `${endPoint}/${objectId}`
|
|
64
|
+
}).then((response) => {
|
|
66
65
|
if (mounted) {
|
|
67
66
|
if (formatDataEnpoint) {
|
|
68
67
|
setFormValues(formatDataEnpoint(response));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
|
-
import { M as ModalContext } from "../../contexts/ModalContext/index.
|
|
2
|
+
import { M as ModalContext } from "../../contexts/ModalContext/index.347f6738.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|