@m4l/components 0.1.77 → 0.1.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/@types/export.d.ts +3 -3
- package/components/AccountPopover/{index.3a79c395.js → index.7e76dbb7.js} +6 -6
- package/components/AppBar/{index.71b38ee9.js → index.06858422.js} +6 -6
- package/components/CommonActions/components/ActionCancel/{index.b748a38e.js → index.d536ccfa.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.27ad09e1.js → index.a915b105.js} +13 -13
- package/components/CommonActions/components/ActionFormIntro/{index.2556f054.js → index.14e65d6c.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.a7d92e66.js → index.aa1648eb.js} +1 -1
- package/components/CommonActions/components/Actions/{index.3eba9d91.js → index.52125041.js} +11 -11
- package/components/DataGrid/{index.545b492f.js → index.9fb3e6a1.js} +20 -23
- package/components/DataGrid/types.d.ts +1 -1
- package/components/DynamicFilter/constants.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +6 -1
- package/components/DynamicFilter/{index.d7be0f37.js → index.d1a2e2d1.js} +50 -50
- package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +1 -2
- package/components/DynamicFilter/tests/contants.d.ts +2 -3
- package/components/GridLayout/Responsive/{index.a12a8cec.js → index.0905a698.js} +61 -43
- package/components/GridLayout/WidthProvider/{index.8ff65909.js → index.9a26dfe4.js} +1 -3
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/{index.4ba3767a.js → index.da6fd387.js} +103 -93
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +1 -0
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +2 -0
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +6 -3
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +1 -3
- package/components/HelperText/{index.ef31df1f.js → index.a019742c.js} +6 -6
- package/components/Icon/{index.ecb63e65.js → index.9fcd1476.js} +1 -1
- package/components/LanguagePopover/{index.0023d069.js → index.98b63dcb.js} +6 -6
- package/components/ModalDialog/{index.d880e685.js → index.d9937d46.js} +4 -4
- package/components/NavLink/{index.cd92eceb.js → index.a5dea6d3.js} +6 -6
- package/components/ObjectLogs/{index.f174c542.js → index.d9d20b9d.js} +22 -16
- package/components/ObjectLogs/types.d.ts +1 -0
- package/components/PaperForm/{index.1bd86ee5.js → index.ba38a0bd.js} +1 -1
- package/components/Period/{index.711db043.js → index.7b94c418.js} +12 -12
- package/components/PropertyValue/constants.d.ts +3 -0
- package/components/PropertyValue/{index.8a1adf3e.js → index.45c73161.js} +17 -11
- package/components/PropertyValue/types.d.ts +2 -1
- package/components/SideBar/{index.c5ce0bad.js → index.2f497e6c.js} +2 -2
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +3 -0
- package/components/areas/components/AreasAdmin/{index.cc4cbf56.js → index.43ecd998.js} +91 -79
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -0
- package/components/areas/components/AreasViewer/{index.9c2aaaeb.js → index.14e62059.js} +143 -161
- package/components/areas/components/{index.0f7ac464.js → index.a87653a9.js} +9 -9
- package/components/areas/contexts/AreasContext/helper.d.ts +3 -1
- package/components/areas/contexts/AreasContext/{index.c8147e8e.js → index.02c4e7be.js} +99 -78
- package/components/areas/contexts/AreasContext/types.d.ts +1 -2
- package/components/areas/contexts/{index.02336412.js → index.1ff9b360.js} +1 -1
- package/components/areas/hooks/useAreas/{index.3406a6cb.js → index.85e4b2e2.js} +1 -1
- package/components/areas/{index.6f2e5dab.js → index.d1dcccf5.js} +9 -9
- package/components/areas/types.d.ts +0 -1
- package/components/formatters/BooleanFormatter/{index.5268b024.js → index.e8de8e4c.js} +1 -1
- package/components/formatters/{index.137169d8.js → index.67aeb049.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.ac2b1fae.js → index.6aa51705.js} +23 -12
- package/components/hook-form/RHFAutocompleteAsync/{index.8b4ccc8d.js → index.1a3dfe5f.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.acef119c.js → index.a08a65b3.js} +1 -1
- package/components/hook-form/RHFDateTime/{index.5b080342.js → index.4d671108.js} +7 -7
- package/components/hook-form/RHFPeriod/{index.5304e3bd.js → index.39b4be49.js} +2 -2
- package/components/hook-form/RHFTextField/{index.e751dca7.js → index.9004e898.js} +3 -3
- package/components/hook-form/RHFUpload/{index.25db0511.js → index.bed8573e.js} +7 -10
- package/components/modal/{WindowBase.850ea31a.js → WindowBase.a0c0b322.js} +8 -8
- package/components/modal/{WindowConfirm.cb37bc58.js → WindowConfirm.6c063f2d.js} +14 -14
- package/components/modal/{index.a0978193.js → index.00efea85.js} +11 -11
- package/components/mui_extended/Accordion/constants.d.ts +1 -0
- package/components/mui_extended/Accordion/{index.12b1339a.js → index.9877f7bf.js} +8 -9
- package/components/mui_extended/Accordion/types.d.ts +1 -0
- package/components/mui_extended/IconButton/{index.fc5b7c2d.js → index.12f1a3c3.js} +4 -1
- package/components/mui_extended/MenuActions/{index.f5b1c022.js → index.43a2e1ae.js} +15 -6
- package/components/mui_extended/MenuActions/index.d.ts +3 -2
- package/components/mui_extended/MenuActions/types.d.ts +1 -0
- package/components/mui_extended/Pager/{index.435af0df.js → index.2f6d6d7d.js} +1 -1
- package/components/mui_extended/Tab/constant.d.ts +1 -0
- package/components/mui_extended/Tab/{index.9e2f6e34.js → index.7c82e43d.js} +5 -6
- package/components/mui_extended/Tab/types.d.ts +1 -0
- package/components/mui_extended/{index.83979b6a.js → index.0e2ff642.js} +6 -6
- package/contexts/ModalContext/{index.dee85a61.js → index.e9a7ba4a.js} +1 -1
- package/hooks/useModal/{index.de522a10.js → index.8e85f7ae.js} +1 -1
- package/index.js +220 -217
- package/package.json +1 -1
- package/test/getNameDataTestId.d.ts +1 -0
- package/vendor.e353394b.js +124 -0
- package/components/DynamicFilter/subcomponents/InnerForHooks/types.d.ts +0 -2
- package/components/DynamicFilter/tests/types.d.ts +0 -2
- package/components/DynamicFilter/tests/utils.d.ts +0 -2
- package/components/PropertyValue/tests/constants.d.ts +0 -1
- package/components/PropertyValue/tests/utils.d.ts +0 -2
- package/components/mui_extended/Accordion/tests/constants.d.ts +0 -1
- package/components/mui_extended/Accordion/tests/utils.d.ts +0 -2
- package/components/mui_extended/Tab/tests/constants.d.ts +0 -1
- package/components/mui_extended/Tab/tests/utils.d.ts +0 -2
|
@@ -6,10 +6,10 @@ import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
|
6
6
|
import { useFormatter } from "@m4l/graphics";
|
|
7
7
|
import { useState, useEffect } from "react";
|
|
8
8
|
import clsx from "clsx";
|
|
9
|
-
import "../../Icon/index.
|
|
9
|
+
import "../../Icon/index.9fcd1476.js";
|
|
10
10
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
-
import "../../mui_extended/IconButton/index.
|
|
12
|
-
import "../../mui_extended/Accordion/index.
|
|
11
|
+
import "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
12
|
+
import "../../mui_extended/Accordion/index.9877f7bf.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";
|
|
@@ -18,12 +18,12 @@ import "../../mui_extended/Button/index.4288f9fc.js";
|
|
|
18
18
|
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
19
19
|
import "../../Image/index.c18ebf5a.js";
|
|
20
20
|
import "@mui/lab";
|
|
21
|
+
import "../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
21
22
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../../mui_extended/
|
|
23
|
-
import "../../mui_extended/
|
|
24
|
-
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
23
|
+
import "../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
24
|
+
import "../../mui_extended/Tab/index.7c82e43d.js";
|
|
25
25
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
26
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
26
|
+
import { H as HelperText } from "../../HelperText/index.a019742c.js";
|
|
27
27
|
import { styled } from "@mui/material/styles";
|
|
28
28
|
import { unstable_composeClasses } from "@mui/base";
|
|
29
29
|
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.a019742c.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.7b94c418.js";
|
|
5
5
|
import { unstable_composeClasses } from "@mui/base";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
const RHFPeriodRoot = styled("div")(({
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, InputAdornment, generateUtilityClass } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState, useEffect } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
5
5
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
6
6
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
7
|
-
import "../../Icon/index.
|
|
7
|
+
import "../../Icon/index.9fcd1476.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
10
|
import { useFormContext, Controller } from "react-hook-form";
|
|
@@ -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.a019742c.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -9,23 +9,23 @@ 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.4288f9fc.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.a019742c.js";
|
|
13
13
|
import "clsx";
|
|
14
14
|
import { styled } from "@mui/material/styles";
|
|
15
15
|
import { unstable_composeClasses } from "@mui/base";
|
|
16
16
|
import "@mui/material/Button";
|
|
17
|
-
import "../../Icon/index.
|
|
18
|
-
import "../../mui_extended/IconButton/index.
|
|
17
|
+
import "../../Icon/index.9fcd1476.js";
|
|
18
|
+
import "../../mui_extended/IconButton/index.12f1a3c3.js";
|
|
19
19
|
import "@m4l/graphics";
|
|
20
|
-
import "../../mui_extended/Accordion/index.
|
|
20
|
+
import "../../mui_extended/Accordion/index.9877f7bf.js";
|
|
21
21
|
import "../../mui_extended/Avatar/index.75e6ed57.js";
|
|
22
22
|
import "react-router-dom";
|
|
23
23
|
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
24
24
|
import "@mui/lab";
|
|
25
|
+
import "../../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
25
26
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
26
|
-
import "../../mui_extended/
|
|
27
|
-
import "../../mui_extended/
|
|
28
|
-
import "../../mui_extended/Tab/index.9e2f6e34.js";
|
|
27
|
+
import "../../mui_extended/Pager/index.2f6d6d7d.js";
|
|
28
|
+
import "../../mui_extended/Tab/index.7c82e43d.js";
|
|
29
29
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
const UploadImageRoot = styled("div")(({
|
|
31
31
|
theme
|
|
@@ -124,9 +124,6 @@ function UploadImage({
|
|
|
124
124
|
isDragActive,
|
|
125
125
|
hasFile: file
|
|
126
126
|
};
|
|
127
|
-
console.log("isSkeleton", isSkeleton);
|
|
128
|
-
console.log("file load", file);
|
|
129
|
-
console.log("ownerState", ownerSate);
|
|
130
127
|
const classes = RHFUploadImageUtilityClasses(ownerSate);
|
|
131
128
|
return /* @__PURE__ */ jsx(UploadImageRoot, {
|
|
132
129
|
className: classes.root,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { m as modalUtilityClasses } from "./index.
|
|
5
|
-
import { I as Icon } from "../Icon/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.8e85f7ae.js";
|
|
4
|
+
import { m as modalUtilityClasses } from "./index.00efea85.js";
|
|
5
|
+
import { I as Icon } from "../Icon/index.9fcd1476.js";
|
|
6
6
|
import "@mui/material";
|
|
7
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
8
|
-
import "../mui_extended/Accordion/index.
|
|
7
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
8
|
+
import "../mui_extended/Accordion/index.9877f7bf.js";
|
|
9
9
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
11
|
import clsx from "clsx";
|
|
@@ -16,10 +16,10 @@ import "../mui_extended/Button/index.4288f9fc.js";
|
|
|
16
16
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
19
20
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../mui_extended/
|
|
21
|
-
import "../mui_extended/
|
|
22
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
21
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
22
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
23
23
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
24
24
|
const Header = (props) => {
|
|
25
25
|
const {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
5
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.8e85f7ae.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.52125041.js";
|
|
5
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.d536ccfa.js";
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.aa1648eb.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
@@ -13,27 +13,27 @@ import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
|
13
13
|
import "../../react-draggable.7abb5d0a.js";
|
|
14
14
|
import "../Resizeable/index.9a9c79a4.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../Icon/index.
|
|
17
|
-
import { m as modalUtilityClasses } from "./index.
|
|
16
|
+
import "../Icon/index.9fcd1476.js";
|
|
17
|
+
import { m as modalUtilityClasses } from "./index.00efea85.js";
|
|
18
18
|
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
19
|
-
import "../mui_extended/IconButton/index.
|
|
20
|
-
import "../mui_extended/Accordion/index.
|
|
19
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
20
|
+
import "../mui_extended/Accordion/index.9877f7bf.js";
|
|
21
21
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
22
22
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
23
23
|
import "react-router-dom";
|
|
24
24
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
25
25
|
import "@mui/lab";
|
|
26
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
26
27
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
|
-
import "../mui_extended/
|
|
28
|
-
import "../mui_extended/
|
|
29
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
28
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
29
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
30
30
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
31
31
|
import "zustand";
|
|
32
|
-
import "../areas/contexts/AreasContext/index.
|
|
33
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.02c4e7be.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.43ecd998.js";
|
|
34
34
|
import "zustand/shallow";
|
|
35
35
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
36
|
-
import "../areas/components/AreasViewer/index.
|
|
36
|
+
import "../areas/components/AreasViewer/index.14e62059.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,37 +1,37 @@
|
|
|
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.e9a7ba4a.js";
|
|
5
5
|
import "../Resizeable/index.9a9c79a4.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@m4l/graphics";
|
|
8
|
-
import "../Icon/index.
|
|
8
|
+
import "../Icon/index.9fcd1476.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "@m4l/core";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import "../CommonActions/components/Actions/index.
|
|
12
|
+
import "../CommonActions/components/Actions/index.52125041.js";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
14
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
15
15
|
import "react-hook-form";
|
|
16
|
-
import "../mui_extended/IconButton/index.
|
|
17
|
-
import "../mui_extended/Accordion/index.
|
|
16
|
+
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
17
|
+
import "../mui_extended/Accordion/index.9877f7bf.js";
|
|
18
18
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
19
19
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
20
20
|
import "react-router-dom";
|
|
21
21
|
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
22
22
|
import "../Image/index.c18ebf5a.js";
|
|
23
23
|
import "@mui/lab";
|
|
24
|
+
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
24
25
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
-
import "../mui_extended/
|
|
26
|
-
import "../mui_extended/
|
|
27
|
-
import "../mui_extended/Tab/index.9e2f6e34.js";
|
|
26
|
+
import "../mui_extended/Pager/index.2f6d6d7d.js";
|
|
27
|
+
import "../mui_extended/Tab/index.7c82e43d.js";
|
|
28
28
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
29
|
import "zustand";
|
|
30
|
-
import "../areas/contexts/AreasContext/index.
|
|
31
|
-
import "../areas/components/AreasAdmin/index.
|
|
30
|
+
import "../areas/contexts/AreasContext/index.02c4e7be.js";
|
|
31
|
+
import "../areas/components/AreasAdmin/index.43ecd998.js";
|
|
32
32
|
import "zustand/shallow";
|
|
33
33
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
34
|
-
import "../areas/components/AreasViewer/index.
|
|
34
|
+
import "../areas/components/AreasViewer/index.14e62059.js";
|
|
35
35
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
36
36
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
37
37
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const COMPONENT_PREFIX = "m4l-accordion";
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass, styled, Accordion as Accordion$1, AccordionSummary, AccordionDetails } from "@mui/material";
|
|
2
|
-
import { I as IconButton } from "../IconButton/index.
|
|
2
|
+
import { I as IconButton } from "../IconButton/index.12f1a3c3.js";
|
|
3
3
|
import { useEnvironment } from "@m4l/core";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { I as Icon } from "../../Icon/index.
|
|
5
|
+
import { I as Icon } from "../../Icon/index.9fcd1476.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.e353394b.js";
|
|
9
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
11
|
const componentName = "M4LAccordion";
|
|
11
12
|
generateUtilityClasses(componentName, [
|
|
@@ -58,10 +59,7 @@ const AccordionRoot = styled("div")(({
|
|
|
58
59
|
}) => ({
|
|
59
60
|
...theme.components?.M4LAccordion?.styleOverrides
|
|
60
61
|
}));
|
|
61
|
-
const
|
|
62
|
-
const getNameAccordionDataTestId = (KEY) => {
|
|
63
|
-
return `${ICON_PREFIX}-${KEY}`;
|
|
64
|
-
};
|
|
62
|
+
const COMPONENT_PREFIX = "m4l-accordion";
|
|
65
63
|
function Accordion(props) {
|
|
66
64
|
const {
|
|
67
65
|
label,
|
|
@@ -71,7 +69,8 @@ function Accordion(props) {
|
|
|
71
69
|
accordionProps,
|
|
72
70
|
summaryProps,
|
|
73
71
|
labelIcon,
|
|
74
|
-
className
|
|
72
|
+
className,
|
|
73
|
+
dataTestId = ""
|
|
75
74
|
} = props;
|
|
76
75
|
const {
|
|
77
76
|
host_static_assets,
|
|
@@ -81,7 +80,7 @@ function Accordion(props) {
|
|
|
81
80
|
return /* @__PURE__ */ jsx(AccordionRoot, {
|
|
82
81
|
className: clsx(classes.root, className),
|
|
83
82
|
...process.env.NODE_ENV !== "production" ? {
|
|
84
|
-
[TEST_PROP_ID]:
|
|
83
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
85
84
|
} : {},
|
|
86
85
|
children: /* @__PURE__ */ jsxs(Accordion$1, {
|
|
87
86
|
variant: "outlined",
|
|
@@ -103,7 +102,7 @@ function Accordion(props) {
|
|
|
103
102
|
children: /* @__PURE__ */ jsxs("div", {
|
|
104
103
|
className: classes.labelIcon,
|
|
105
104
|
...process.env.NODE_ENV !== "production" ? {
|
|
106
|
-
[TEST_PROP_ID]:
|
|
105
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "labelIcon", dataTestId)
|
|
107
106
|
} : {},
|
|
108
107
|
children: [labelIcon && /* @__PURE__ */ jsx(Icon, {
|
|
109
108
|
src: labelIcon
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo, useState } from "react";
|
|
2
2
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
3
3
|
import { Skeleton, styled, generateUtilityClasses, generateUtilityClass, Tooltip, IconButton as IconButton$1 } from "@mui/material";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.9fcd1476.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -59,6 +59,7 @@ const IconButton = (props) => {
|
|
|
59
59
|
variant = "line",
|
|
60
60
|
disabled,
|
|
61
61
|
className,
|
|
62
|
+
onClick,
|
|
62
63
|
...other
|
|
63
64
|
} = props;
|
|
64
65
|
const {
|
|
@@ -101,6 +102,7 @@ const IconButton = (props) => {
|
|
|
101
102
|
title: finalTooltip || "",
|
|
102
103
|
children: /* @__PURE__ */ jsx(IconButton$1, {
|
|
103
104
|
...other,
|
|
105
|
+
onClick,
|
|
104
106
|
disableRipple: true,
|
|
105
107
|
onFocusVisible: handlerOnFocus,
|
|
106
108
|
onBlur: handlerOnBlur,
|
|
@@ -112,6 +114,7 @@ const IconButton = (props) => {
|
|
|
112
114
|
})
|
|
113
115
|
}) : /* @__PURE__ */ jsx(IconButton$1, {
|
|
114
116
|
...other,
|
|
117
|
+
onClick,
|
|
115
118
|
disableRipple: true,
|
|
116
119
|
onFocusVisible: handlerOnFocus,
|
|
117
120
|
onBlur: handlerOnBlur,
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { useState, useMemo } from "react";
|
|
1
|
+
import React__default, { useState, useMemo } from "react";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { IconButton, MenuItem, Badge } from "@mui/material";
|
|
4
4
|
import { P as Popover } from "../Popover/index.9f35d0eb.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
|
-
import { I as Icon } from "../../Icon/index.
|
|
7
|
-
import { I as IconButton$1 } from "../IconButton/index.
|
|
6
|
+
import { I as Icon } from "../../Icon/index.9fcd1476.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.12f1a3c3.js";
|
|
8
|
+
import clsx from "clsx";
|
|
8
9
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
10
|
styled(IconButton)(() => ({}));
|
|
10
11
|
const LabelMemuItem = styled("div")(({
|
|
@@ -48,7 +49,9 @@ function MenuActions(props) {
|
|
|
48
49
|
} = useModuleDictionary();
|
|
49
50
|
const [open, setOpen] = useState(null);
|
|
50
51
|
const handleOpen = (event) => {
|
|
52
|
+
console.log("handleOpen");
|
|
51
53
|
setOpen(event.currentTarget);
|
|
54
|
+
event.stopPropagation();
|
|
52
55
|
};
|
|
53
56
|
const urlFinalIcon = useMemo(() => {
|
|
54
57
|
if (urlIcon)
|
|
@@ -58,9 +61,10 @@ function MenuActions(props) {
|
|
|
58
61
|
const handleClose = () => {
|
|
59
62
|
setOpen(null);
|
|
60
63
|
};
|
|
61
|
-
const handleClick = (menuAction) => {
|
|
64
|
+
const handleClick = (e, menuAction) => {
|
|
62
65
|
setOpen(null);
|
|
63
66
|
menuAction.onClick();
|
|
67
|
+
e.stopPropagation();
|
|
64
68
|
};
|
|
65
69
|
const finalActions = useMemo(() => {
|
|
66
70
|
let ret;
|
|
@@ -112,11 +116,14 @@ function MenuActions(props) {
|
|
|
112
116
|
...other,
|
|
113
117
|
children: [finalActions.map((menuAction, index) => /* @__PURE__ */ jsxs(MenuItem, {
|
|
114
118
|
dense: true,
|
|
115
|
-
onClick: () =>
|
|
119
|
+
onClick: (e) => {
|
|
120
|
+
handleClick(e, menuAction);
|
|
121
|
+
},
|
|
116
122
|
sx: {
|
|
117
123
|
color: menuAction.color ?? "text.main"
|
|
118
124
|
},
|
|
119
125
|
disabled: menuAction.disabled,
|
|
126
|
+
className: clsx(menuAction?.className),
|
|
120
127
|
children: [menuAction.urlIcon ? /* @__PURE__ */ jsx(Icon, {
|
|
121
128
|
src: menuAction.urlIcon
|
|
122
129
|
}) : null, /* @__PURE__ */ jsx(LabelMemuItem, {
|
|
@@ -126,7 +133,9 @@ function MenuActions(props) {
|
|
|
126
133
|
})]
|
|
127
134
|
});
|
|
128
135
|
}
|
|
136
|
+
const MemonizedMenuActions = React__default.memo(MenuActions);
|
|
129
137
|
export {
|
|
130
138
|
LabelMemuItem as L,
|
|
131
|
-
MenuActions as M
|
|
139
|
+
MenuActions as M,
|
|
140
|
+
MemonizedMenuActions as a
|
|
132
141
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { MenuActionsProps } from './types';
|
|
3
|
-
export declare function MenuActions(props: MenuActionsProps):
|
|
3
|
+
export declare function MenuActions(props: MenuActionsProps): React.JSX.Element;
|
|
4
|
+
export declare const MemonizedMenuActions: React.MemoExoticComponent<typeof MenuActions>;
|
|
4
5
|
export default MenuActions;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { Skeleton, TablePagination } from "@mui/material";
|
|
3
3
|
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { I as IconButton } from "../IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../IconButton/index.12f1a3c3.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
const WrapperPagerActions = styled("div")(({ theme }) => ({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const COMPONENT_PREFIX = "m4l-tab";
|
|
@@ -4,6 +4,7 @@ import { styled } from "@mui/material/styles";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
+
import { g as getNameDataTestId } from "../../../vendor.e353394b.js";
|
|
7
8
|
import { jsx } from "react/jsx-runtime";
|
|
8
9
|
const TabRoot = styled("div")(({
|
|
9
10
|
theme
|
|
@@ -33,15 +34,13 @@ const tabUtilityClasses = () => {
|
|
|
33
34
|
...composedClasses
|
|
34
35
|
};
|
|
35
36
|
};
|
|
36
|
-
const
|
|
37
|
-
const getNameTabDataTestId = (KEY) => {
|
|
38
|
-
return `${ICON_PREFIX}-${KEY}`;
|
|
39
|
-
};
|
|
37
|
+
const COMPONENT_PREFIX = "m4l-tab";
|
|
40
38
|
function Tab(props) {
|
|
41
39
|
const {
|
|
42
40
|
SKTWidth,
|
|
43
41
|
SKTHeight,
|
|
44
42
|
className,
|
|
43
|
+
dataTestId = "",
|
|
45
44
|
...other
|
|
46
45
|
} = props;
|
|
47
46
|
const isSkeleton = useModuleSkeleton();
|
|
@@ -49,14 +48,14 @@ function Tab(props) {
|
|
|
49
48
|
return /* @__PURE__ */ jsx(TabRoot, {
|
|
50
49
|
className: clsx(classes.root, className),
|
|
51
50
|
...process.env.NODE_ENV !== "production" ? {
|
|
52
|
-
[TEST_PROP_ID]:
|
|
51
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "root", dataTestId)
|
|
53
52
|
} : {},
|
|
54
53
|
children: !isSkeleton ? /* @__PURE__ */ jsx(Tab$1, {
|
|
55
54
|
...other
|
|
56
55
|
}) : /* @__PURE__ */ jsx(SKTTabWrapper, {
|
|
57
56
|
className: classes.skeleton,
|
|
58
57
|
...process.env.NODE_ENV !== "production" ? {
|
|
59
|
-
[TEST_PROP_ID]:
|
|
58
|
+
[TEST_PROP_ID]: getNameDataTestId(COMPONENT_PREFIX, "skeleton", dataTestId)
|
|
60
59
|
} : {},
|
|
61
60
|
children: /* @__PURE__ */ jsx(Skeleton, {
|
|
62
61
|
variant: "text",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.9fcd1476.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "./IconButton/index.
|
|
7
|
+
import "./IconButton/index.12f1a3c3.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.
|
|
9
|
+
import "./Accordion/index.9877f7bf.js";
|
|
10
10
|
import "./Typography/index.443590d6.js";
|
|
11
11
|
import "./Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
@@ -15,8 +15,8 @@ import "./Button/index.4288f9fc.js";
|
|
|
15
15
|
import "./Badge/index.8c2b8b66.js";
|
|
16
16
|
import "../Image/index.c18ebf5a.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
+
import "./MenuActions/index.43a2e1ae.js";
|
|
18
19
|
import "./Popover/index.9f35d0eb.js";
|
|
19
|
-
import "./
|
|
20
|
-
import "./
|
|
21
|
-
import "./Tab/index.9e2f6e34.js";
|
|
20
|
+
import "./Pager/index.2f6d6d7d.js";
|
|
21
|
+
import "./Tab/index.7c82e43d.js";
|
|
22
22
|
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.d9937d46.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|
|
@@ -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.e9a7ba4a.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|