@m4l/components 0.1.84 → 0.1.86
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 +25 -4
- package/components/AccountPopover/{index.bbeb9142.js → index.09f33fee.js} +29 -30
- package/components/AppBar/{index.43f8b54f.js → index.4fac1368.js} +9 -8
- package/components/CommonActions/components/ActionCancel/{index.29517521.js → index.d995d986.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.89f1ac8e.js → index.48e066b3.js} +17 -16
- package/components/CommonActions/components/ActionFormIntro/{index.bbc35e74.js → index.cc97ed0a.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.a9420126.js → index.98eb4b3b.js} +2 -2
- package/components/CommonActions/components/Actions/{index.e70e8779.js → index.99a8e55e.js} +15 -14
- package/components/CommonActions/index.d.ts +1 -0
- package/components/DataGrid/{index.1d0a3dec.js → index.d38e3b49.js} +8 -7
- package/components/DataGrid/subcomponents/Actions/{index.a8fc9f6a.js → index.7015aadc.js} +22 -20
- package/components/DynamicFilter/classes/types.d.ts +1 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +6 -2
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +4 -0
- package/components/DynamicFilter/{index.912679cc.js → index.fddefc23.js} +44 -31
- package/components/GridLayout/{index.c55f16eb.js → index.2383aaf9.js} +69 -10
- package/components/GridLayout/index.d.ts +1 -1
- package/components/GridLayout/subcomponents/Griditem/{index.6c68811f.js → index.58168132.js} +1 -1
- package/components/GridLayout/subcomponents/Responsive/{index.a6e33b8d.js → index.a6642437.js} +1 -1
- package/components/HelperText/{index.a47ff233.js → index.bbbe24c9.js} +9 -8
- package/components/Icon/{index.d1402200.js → index.435df215.js} +1 -1
- package/components/LanguagePopover/{index.807f5272.js → index.7d2ccfe4.js} +9 -8
- package/components/ModalDialog/{index.42e804cf.js → index.b66c43e7.js} +4 -4
- package/components/NavLink/{index.ff5a939c.js → index.abbcb9b2.js} +9 -8
- package/components/NoItemSelected/classes/constants.d.ts +1 -0
- package/components/NoItemSelected/classes/index.d.ts +6 -0
- package/components/NoItemSelected/classes/types.d.ts +6 -0
- package/components/NoItemSelected/{index.23dfc897.js → index.a2807715.js} +46 -31
- package/components/NoItemSelected/index.d.ts +2 -1
- package/components/NoItemSelected/types.d.ts +4 -0
- package/components/ObjectLogs/{index.dc02715d.js → index.ad313913.js} +22 -19
- package/components/PaperForm/{index.249c2404.js → index.ad703ab6.js} +1 -1
- package/components/Period/{index.e129cdec.js → index.32d475b8.js} +16 -15
- package/components/PropertyValue/{index.93e40532.js → index.d52295d9.js} +1 -1
- package/components/ScrollBar/classes/constants.d.ts +1 -0
- package/components/ScrollBar/classes/index.d.ts +6 -0
- package/components/ScrollBar/classes/types.d.ts +6 -0
- package/components/ScrollBar/index.65bb2930.js +121 -0
- package/components/SideBar/{index.327679a6.js → index.387a2fa1.js} +111 -50
- package/components/SideBar/subcomponents/ContentGroups/subcomponents/ItemListRoot/subcomponents/NavItemRoot/type.d.ts +5 -0
- package/components/areas/components/AreasAdmin/classes/index.d.ts +1 -1
- package/components/areas/components/AreasAdmin/classes/types.d.ts +2 -0
- package/components/areas/components/AreasAdmin/{index.8ab71eb9.js → index.23a09c81.js} +105 -56
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +1 -1
- package/components/areas/components/AreasViewer/{index.933e506b.js → index.68eb0f6b.js} +72 -126
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/AreaGridLayout/subcomponents/ResizeHandle/index.d.ts +4 -0
- package/components/areas/components/index.296bc2a4.js +31 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +3 -3
- package/components/areas/contexts/AreasContext/{index.230d1584.js → index.8af3058c.js} +91 -78
- package/components/areas/contexts/AreasContext/types.d.ts +20 -8
- package/components/areas/contexts/{index.f494e241.js → index.41c24465.js} +1 -1
- package/components/areas/hooks/useAreas/{index.b8449343.js → index.d1cf9820.js} +1 -1
- package/components/areas/{index.32db4fa7.js → index.fd46ec65.js} +13 -12
- package/components/formatters/BooleanFormatter/{index.b2f02bc4.js → index.14cfcbc7.js} +1 -1
- package/components/formatters/{index.f9ad88b4.js → index.b574dda9.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.d5afb409.js → index.60c6f592.js} +10 -9
- package/components/hook-form/RHFAutocompleteAsync/{index.a4f00088.js → index.9a40fb06.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.9bf6edb0.js → index.da4ebb03.js} +10 -9
- package/components/hook-form/RHFDateTime/{index.a2c1ed2c.js → index.c56219ea.js} +10 -9
- package/components/hook-form/RHFPeriod/{index.b5204ce2.js → index.ee6a3d61.js} +2 -2
- package/components/hook-form/RHFTextField/{index.5a0fa776.js → index.413a74ca.js} +3 -3
- package/components/hook-form/RHFUpload/{index.b36539d6.js → index.03faa7f0.js} +10 -9
- package/components/modal/{WindowBase.37158e8d.js → WindowBase.0eea1a27.js} +27 -13
- package/components/modal/{WindowConfirm.a68aa0f1.js → WindowConfirm.6896f0aa.js} +25 -24
- package/components/modal/{index.6f281ef8.js → index.6cdf65c9.js} +17 -16
- package/components/modal/index.d.ts +1 -1
- package/components/mui_extended/Accordion/{index.46771196.js → index.d15e51bf.js} +3 -3
- package/components/mui_extended/Badge/classes/constants.d.ts +1 -1
- package/components/mui_extended/Badge/{index.cad260fe.js → index.8c2b8b66.js} +1 -1
- package/components/mui_extended/Button/{index.40af964e.js → index.f79eb74e.js} +2 -1
- package/components/mui_extended/IconButton/{index.62aea582.js → index.d88a3f2e.js} +1 -1
- package/components/mui_extended/MenuActions/{index.2493b1b1.js → index.c53370f6.js} +7 -4
- package/components/mui_extended/MenuActions/types.d.ts +1 -0
- package/components/mui_extended/Pager/{index.a7f87c96.js → index.d6c87c44.js} +1 -1
- package/components/mui_extended/Stack/Stack.d.ts +3 -0
- package/components/mui_extended/Stack/classes/constants.d.ts +1 -0
- package/components/mui_extended/Stack/classes/index.d.ts +6 -0
- package/components/mui_extended/Stack/classes/types.d.ts +6 -0
- package/components/mui_extended/Stack/index.0e53197c.js +39 -0
- package/components/mui_extended/Stack/index.d.ts +2 -0
- package/components/mui_extended/Stack/types.d.ts +2 -0
- package/components/mui_extended/Tab/{index.756fe693.js → index.97d04d6b.js} +42 -9
- package/components/mui_extended/Tabs/Tabs.d.ts +3 -0
- package/components/mui_extended/Tabs/classes/constants.d.ts +1 -0
- package/components/mui_extended/Tabs/classes/index.d.ts +6 -0
- package/components/mui_extended/Tabs/classes/types.d.ts +6 -0
- package/components/mui_extended/Tabs/index.d.ts +1 -0
- package/components/mui_extended/{index.ba27649e.js → index.0d5b8e73.js} +9 -8
- package/components/mui_extended/index.d.ts +2 -0
- package/contexts/ModalContext/{index.51da83de.js → index.5c908fe3.js} +1 -1
- package/contexts/RHFormContext/dictionary.d.ts +3 -0
- package/contexts/RHFormContext/{index.b9266262.js → index.ea2758ed.js} +6 -2
- package/contexts/index.d.ts +1 -0
- package/hooks/index.d.ts +1 -0
- package/hooks/useFormAddEdit/dictionary.d.ts +1 -0
- package/hooks/useFormAddEdit/index.16475afe.js +111 -0
- package/hooks/useFormAddEdit/index.d.ts +1 -0
- package/hooks/useModal/{index.7611bf21.js → index.2387ea76.js} +1 -1
- package/index.js +71 -67
- package/package.json +1 -1
- package/{vendor.1af105d6.js → vendor.7751caf6.js} +62 -62
- package/components/GridLayout/subcomponents/SizeProvider/index.bfa05dfa.js +0 -62
- package/components/ScrollBar/index.d4410cb5.js +0 -72
- package/components/areas/components/index.9e48d8ff.js +0 -30
- package/hooks/useFormAddEdit/index.15de3ba8.js +0 -49
- /package/components/GridLayout/subcomponents/{SizeProvider → WidthProvider}/index.d.ts +0 -0
- /package/components/areas/components/{AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header → AreasAdmin}/subcomponents/PanelWindowPopUp/index.d.ts +0 -0
- /package/components/areas/components/{AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header → AreasAdmin}/subcomponents/PanelWindowPopUp/types.d.ts +0 -0
|
@@ -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.d88a3f2e.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.435df215.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import { useResponsiveDesktop } from "@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.bbbe24c9.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -7,26 +7,27 @@ import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/cor
|
|
|
7
7
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
9
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
10
|
-
import { B as Button } from "../../mui_extended/Button/index.
|
|
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.bbbe24c9.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.435df215.js";
|
|
18
|
+
import "../../mui_extended/IconButton/index.d88a3f2e.js";
|
|
19
19
|
import "@m4l/graphics";
|
|
20
|
-
import "../../mui_extended/Accordion/index.
|
|
20
|
+
import "../../mui_extended/Accordion/index.d15e51bf.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
|
-
import "../../mui_extended/Badge/index.
|
|
24
|
+
import "../../mui_extended/Badge/index.8c2b8b66.js";
|
|
25
25
|
import "@mui/lab";
|
|
26
|
-
import "../../mui_extended/MenuActions/index.
|
|
26
|
+
import "../../mui_extended/MenuActions/index.c53370f6.js";
|
|
27
27
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
28
|
-
import "../../mui_extended/
|
|
29
|
-
import "../../mui_extended/Tab/index.
|
|
28
|
+
import "../../mui_extended/Stack/index.0e53197c.js";
|
|
29
|
+
import "../../mui_extended/Tab/index.97d04d6b.js";
|
|
30
|
+
import "../../mui_extended/Pager/index.d6c87c44.js";
|
|
30
31
|
import "../../mui_extended/Tooltip/index.5a795dcd.js";
|
|
31
32
|
const UploadImageRoot = styled("div")(({
|
|
32
33
|
theme
|
|
@@ -1,28 +1,42 @@
|
|
|
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.6f281ef8.js";
|
|
5
|
-
import { I as Icon } from "../Icon/index.d1402200.js";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.2387ea76.js";
|
|
6
4
|
import "@mui/material";
|
|
7
|
-
import
|
|
8
|
-
import "../
|
|
9
|
-
import "../mui_extended/Typography/index.443590d6.js";
|
|
5
|
+
import "../../react-draggable.7abb5d0a.js";
|
|
6
|
+
import "../Resizeable/index.9a9c79a4.js";
|
|
10
7
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import { I as Icon } from "../Icon/index.435df215.js";
|
|
11
10
|
import clsx from "clsx";
|
|
11
|
+
import { m as modalUtilityClasses } from "./index.6cdf65c9.js";
|
|
12
|
+
import "../CommonActions/components/Actions/index.99a8e55e.js";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
15
|
+
import "react-hook-form";
|
|
16
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
17
|
+
import "zustand";
|
|
18
|
+
import "../areas/contexts/AreasContext/index.8af3058c.js";
|
|
19
|
+
import "../areas/components/AreasAdmin/index.23a09c81.js";
|
|
20
|
+
import "zustand/shallow";
|
|
21
|
+
import "../ScrollBar/index.65bb2930.js";
|
|
22
|
+
import "../mui_extended/Accordion/index.d15e51bf.js";
|
|
23
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
12
24
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
13
25
|
import "react-router-dom";
|
|
14
|
-
import "@mui/material/Button";
|
|
15
|
-
import "../mui_extended/Button/index.40af964e.js";
|
|
16
26
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
17
|
-
import "../mui_extended/Badge/index.
|
|
27
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
18
28
|
import "../Image/index.c18ebf5a.js";
|
|
19
29
|
import "@mui/lab";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
30
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
21
31
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
22
|
-
import "../mui_extended/
|
|
23
|
-
import "
|
|
24
|
-
import "../mui_extended/
|
|
32
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
33
|
+
import "../mui_extended/Tab/index.97d04d6b.js";
|
|
34
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
25
35
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
36
|
+
import "../areas/components/AreasViewer/index.68eb0f6b.js";
|
|
37
|
+
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
38
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
39
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
26
40
|
const Header = (props) => {
|
|
27
41
|
const {
|
|
28
42
|
title,
|
|
@@ -1,40 +1,41 @@
|
|
|
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.e70e8779.js";
|
|
5
|
-
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.29517521.js";
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.a9420126.js";
|
|
7
|
-
import "react-hook-form";
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.2387ea76.js";
|
|
8
4
|
import { Typography } from "@mui/material";
|
|
9
|
-
import "@mui/material/Button";
|
|
10
|
-
import "../mui_extended/Button/index.40af964e.js";
|
|
11
|
-
import "clsx";
|
|
12
|
-
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
13
5
|
import "../../react-draggable.7abb5d0a.js";
|
|
14
6
|
import "../Resizeable/index.9a9c79a4.js";
|
|
7
|
+
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
15
8
|
import "@m4l/graphics";
|
|
16
|
-
import "../Icon/index.
|
|
17
|
-
import
|
|
18
|
-
import {
|
|
19
|
-
import "../
|
|
20
|
-
import "../
|
|
9
|
+
import "../Icon/index.435df215.js";
|
|
10
|
+
import "clsx";
|
|
11
|
+
import { m as modalUtilityClasses } from "./index.6cdf65c9.js";
|
|
12
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.99a8e55e.js";
|
|
13
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.d995d986.js";
|
|
14
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.98eb4b3b.js";
|
|
15
|
+
import "react-hook-form";
|
|
16
|
+
import "@mui/material/Button";
|
|
17
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
18
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
19
|
+
import "zustand";
|
|
20
|
+
import "../areas/contexts/AreasContext/index.8af3058c.js";
|
|
21
|
+
import "../areas/components/AreasAdmin/index.23a09c81.js";
|
|
22
|
+
import "zustand/shallow";
|
|
23
|
+
import "../ScrollBar/index.65bb2930.js";
|
|
24
|
+
import "../mui_extended/Accordion/index.d15e51bf.js";
|
|
21
25
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
22
26
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
23
27
|
import "react-router-dom";
|
|
24
28
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
25
|
-
import "../mui_extended/Badge/index.
|
|
29
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
30
|
+
import { I as Image } from "../Image/index.c18ebf5a.js";
|
|
26
31
|
import "@mui/lab";
|
|
27
|
-
import "../mui_extended/MenuActions/index.
|
|
32
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
28
33
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
29
|
-
import "../mui_extended/
|
|
30
|
-
import "../mui_extended/Tab/index.
|
|
34
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
35
|
+
import "../mui_extended/Tab/index.97d04d6b.js";
|
|
36
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
31
37
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
32
|
-
import "
|
|
33
|
-
import "../areas/contexts/AreasContext/index.230d1584.js";
|
|
34
|
-
import "../areas/components/AreasAdmin/index.8ab71eb9.js";
|
|
35
|
-
import "zustand/shallow";
|
|
36
|
-
import "../ScrollBar/index.d4410cb5.js";
|
|
37
|
-
import "../areas/components/AreasViewer/index.933e506b.js";
|
|
38
|
+
import "../areas/components/AreasViewer/index.68eb0f6b.js";
|
|
38
39
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
39
40
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
40
41
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,38 +1,39 @@
|
|
|
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.5c908fe3.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.435df215.js";
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "@m4l/core";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import "../
|
|
13
|
-
import "
|
|
14
|
-
import "../mui_extended/Button/index.40af964e.js";
|
|
15
|
-
import "react-hook-form";
|
|
16
|
-
import "../mui_extended/IconButton/index.62aea582.js";
|
|
17
|
-
import "../mui_extended/Accordion/index.46771196.js";
|
|
12
|
+
import "../mui_extended/IconButton/index.d88a3f2e.js";
|
|
13
|
+
import "../mui_extended/Accordion/index.d15e51bf.js";
|
|
18
14
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
19
15
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
20
16
|
import "react-router-dom";
|
|
17
|
+
import "@mui/material/Button";
|
|
18
|
+
import "../mui_extended/Button/index.f79eb74e.js";
|
|
21
19
|
import "../mui_extended/CheckBox.38abccd8.js";
|
|
22
|
-
import "../mui_extended/Badge/index.
|
|
20
|
+
import "../mui_extended/Badge/index.8c2b8b66.js";
|
|
23
21
|
import "../Image/index.c18ebf5a.js";
|
|
24
22
|
import "@mui/lab";
|
|
25
|
-
import "../mui_extended/MenuActions/index.
|
|
23
|
+
import "../mui_extended/MenuActions/index.c53370f6.js";
|
|
26
24
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
|
-
import "../mui_extended/
|
|
28
|
-
import "../mui_extended/Tab/index.
|
|
25
|
+
import "../mui_extended/Stack/index.0e53197c.js";
|
|
26
|
+
import "../mui_extended/Tab/index.97d04d6b.js";
|
|
27
|
+
import "../mui_extended/Pager/index.d6c87c44.js";
|
|
29
28
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
|
+
import "../CommonActions/components/Actions/index.99a8e55e.js";
|
|
30
|
+
import "react-hook-form";
|
|
30
31
|
import "zustand";
|
|
31
|
-
import "../areas/contexts/AreasContext/index.
|
|
32
|
-
import "../areas/components/AreasAdmin/index.
|
|
32
|
+
import "../areas/contexts/AreasContext/index.8af3058c.js";
|
|
33
|
+
import "../areas/components/AreasAdmin/index.23a09c81.js";
|
|
33
34
|
import "zustand/shallow";
|
|
34
|
-
import "../ScrollBar/index.
|
|
35
|
-
import "../areas/components/AreasViewer/index.
|
|
35
|
+
import "../ScrollBar/index.65bb2930.js";
|
|
36
|
+
import "../areas/components/AreasViewer/index.68eb0f6b.js";
|
|
36
37
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
37
38
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
38
39
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ModalDialog } from './ModalDialog';
|
|
2
2
|
export * from './ModalDialog/dictionary';
|
|
3
|
-
export
|
|
3
|
+
export * from './WindowConfirm';
|
|
4
4
|
export type { WindowConfirmProps } from './WindowConfirm/types';
|
|
5
5
|
export * from './WindowBase';
|
|
@@ -1,12 +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.d88a3f2e.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.435df215.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.7751caf6.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const componentName = "
|
|
1
|
+
export declare const componentName = "M4LBadge";
|
|
@@ -2,7 +2,7 @@ import { generateUtilityClasses, styled, Badge as Badge$1 } from "@mui/material"
|
|
|
2
2
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import "@mui/base";
|
|
5
|
-
const componentName = "
|
|
5
|
+
const componentName = "M4LBadge";
|
|
6
6
|
const badgeClasses = generateUtilityClasses(componentName, [
|
|
7
7
|
"root"
|
|
8
8
|
]);
|
|
@@ -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.435df215.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -3,8 +3,8 @@ 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.435df215.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.d88a3f2e.js";
|
|
8
8
|
import clsx from "clsx";
|
|
9
9
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
10
10
|
styled(IconButton)(() => ({}));
|
|
@@ -27,6 +27,7 @@ function MenuActions(props) {
|
|
|
27
27
|
endListElement,
|
|
28
28
|
menuActionSx,
|
|
29
29
|
className,
|
|
30
|
+
iconButtonClassName = "",
|
|
30
31
|
objItem = {},
|
|
31
32
|
urlIcon,
|
|
32
33
|
toolTip = "",
|
|
@@ -98,12 +99,14 @@ function MenuActions(props) {
|
|
|
98
99
|
children: /* @__PURE__ */ jsx(IconButton$1, {
|
|
99
100
|
src: urlFinalIcon,
|
|
100
101
|
onClick: handleOpen,
|
|
101
|
-
tooltip: toolTip
|
|
102
|
+
tooltip: toolTip,
|
|
103
|
+
className: iconButtonClassName
|
|
102
104
|
})
|
|
103
105
|
}) : /* @__PURE__ */ jsx(IconButton$1, {
|
|
104
106
|
src: urlFinalIcon,
|
|
105
107
|
onClick: handleOpen,
|
|
106
|
-
tooltip: toolTip
|
|
108
|
+
tooltip: toolTip,
|
|
109
|
+
className: iconButtonClassName
|
|
107
110
|
})
|
|
108
111
|
});
|
|
109
112
|
return /* @__PURE__ */ jsxs(Fragment, {
|
|
@@ -19,6 +19,7 @@ export declare type MenuAction = {
|
|
|
19
19
|
className?: string;
|
|
20
20
|
};
|
|
21
21
|
export interface MenuActionsProps extends Omit<PopoverProps, 'open'> {
|
|
22
|
+
iconButtonClassName?: string;
|
|
22
23
|
objItem?: any;
|
|
23
24
|
urlIcon?: string;
|
|
24
25
|
menuActions: MenuAction[] | ((row: any) => MenuAction[]);
|
|
@@ -3,7 +3,7 @@ import { styled } from "@mui/material/styles";
|
|
|
3
3
|
import { generateUtilityClasses, generateUtilityClass, useTheme, Select, InputBase, MenuItem } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
6
|
-
import { I as IconButton } from "../IconButton/index.
|
|
6
|
+
import { I as IconButton } from "../IconButton/index.d88a3f2e.js";
|
|
7
7
|
import { useEnvironment } from "@m4l/core";
|
|
8
8
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
9
9
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LStack";
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { generateUtilityClasses, generateUtilityClass, styled, Stack as Stack$1 } from "@mui/material";
|
|
2
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
const componentName = "M4LStack";
|
|
6
|
+
generateUtilityClasses(componentName, [
|
|
7
|
+
"root"
|
|
8
|
+
]);
|
|
9
|
+
function getStackUtilityClass(slot) {
|
|
10
|
+
return generateUtilityClass(componentName, slot);
|
|
11
|
+
}
|
|
12
|
+
const useStackUtilityClasses = () => {
|
|
13
|
+
const slots = {
|
|
14
|
+
root: ["root"]
|
|
15
|
+
};
|
|
16
|
+
const composedClasses = unstable_composeClasses(slots, getStackUtilityClass, {});
|
|
17
|
+
return {
|
|
18
|
+
...composedClasses
|
|
19
|
+
};
|
|
20
|
+
};
|
|
21
|
+
const MUISTack = styled(Stack$1)(({ theme }) => ({
|
|
22
|
+
...theme.components?.M4LStack?.styleOverrides
|
|
23
|
+
}));
|
|
24
|
+
const classes = useStackUtilityClasses();
|
|
25
|
+
const Stack = (props) => {
|
|
26
|
+
const {
|
|
27
|
+
children,
|
|
28
|
+
className,
|
|
29
|
+
...others
|
|
30
|
+
} = props;
|
|
31
|
+
return /* @__PURE__ */ jsx(MUISTack, {
|
|
32
|
+
...others,
|
|
33
|
+
className: clsx(classes.root, className),
|
|
34
|
+
children
|
|
35
|
+
});
|
|
36
|
+
};
|
|
37
|
+
export {
|
|
38
|
+
Stack as S
|
|
39
|
+
};
|
|
@@ -1,17 +1,49 @@
|
|
|
1
|
-
import { useModuleSkeleton } from "@m4l/core";
|
|
2
|
-
import { generateUtilityClasses, generateUtilityClass, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
3
|
-
import { styled } from "@mui/material/styles";
|
|
4
|
-
import { unstable_composeClasses } from "@mui/base";
|
|
5
1
|
import clsx from "clsx";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../../vendor.1af105d6.js";
|
|
8
2
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
|
|
3
|
+
import { generateUtilityClasses, generateUtilityClass, styled, Tabs as Tabs$1, Tab as Tab$1, Skeleton } from "@mui/material";
|
|
4
|
+
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
+
import { useModuleSkeleton } from "@m4l/core";
|
|
6
|
+
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
8
|
+
import { g as getNameDataTestId } from "../../../vendor.7751caf6.js";
|
|
9
|
+
const componentName$1 = "M4LTabs";
|
|
10
|
+
generateUtilityClasses(componentName$1, [
|
|
11
|
+
"root"
|
|
12
|
+
]);
|
|
13
|
+
function getTabsUtilityClass(slot) {
|
|
14
|
+
return generateUtilityClass(componentName$1, slot);
|
|
15
|
+
}
|
|
16
|
+
const useTabsUtilityClasses = () => {
|
|
17
|
+
const slots = {
|
|
18
|
+
root: ["root"]
|
|
19
|
+
};
|
|
20
|
+
const composedClasses = unstable_composeClasses(slots, getTabsUtilityClass, {});
|
|
21
|
+
return {
|
|
22
|
+
...composedClasses
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
const MUITabs = styled(Tabs$1)(({ theme }) => ({
|
|
26
|
+
...theme.components?.M4LTabs?.styleOverrides
|
|
27
|
+
}));
|
|
28
|
+
const Tabs = (props) => {
|
|
29
|
+
const {
|
|
30
|
+
children,
|
|
31
|
+
className,
|
|
32
|
+
...others
|
|
33
|
+
} = props;
|
|
34
|
+
const classes = useTabsUtilityClasses();
|
|
35
|
+
return /* @__PURE__ */ jsx(MUITabs, {
|
|
36
|
+
className: clsx(classes.root, className),
|
|
37
|
+
...others,
|
|
38
|
+
children
|
|
39
|
+
});
|
|
40
|
+
};
|
|
41
|
+
const TabRoot = styled$1("div")(({
|
|
10
42
|
theme
|
|
11
43
|
}) => ({
|
|
12
44
|
...theme.components?.M4LTab?.styleOverrides
|
|
13
45
|
}));
|
|
14
|
-
const SKTTabWrapper = styled("div")(({
|
|
46
|
+
const SKTTabWrapper = styled$1("div")(({
|
|
15
47
|
theme
|
|
16
48
|
}) => ({
|
|
17
49
|
padding: theme.spacing(1.5, 2)
|
|
@@ -66,5 +98,6 @@ function Tab(props) {
|
|
|
66
98
|
});
|
|
67
99
|
}
|
|
68
100
|
export {
|
|
69
|
-
Tab as T
|
|
101
|
+
Tab as T,
|
|
102
|
+
Tabs as a
|
|
70
103
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const componentName = "M4LTabs";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Tabs } from './Tabs';
|
|
@@ -1,23 +1,24 @@
|
|
|
1
1
|
import "@mui/material";
|
|
2
2
|
import "react";
|
|
3
3
|
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.435df215.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "./IconButton/index.
|
|
7
|
+
import "./IconButton/index.d88a3f2e.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.
|
|
9
|
+
import "./Accordion/index.d15e51bf.js";
|
|
10
10
|
import "./Typography/index.443590d6.js";
|
|
11
11
|
import "./Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
|
-
import "./Button/index.
|
|
14
|
+
import "./Button/index.f79eb74e.js";
|
|
15
15
|
import "./CheckBox.38abccd8.js";
|
|
16
|
-
import "./Badge/index.
|
|
16
|
+
import "./Badge/index.8c2b8b66.js";
|
|
17
17
|
import "../Image/index.c18ebf5a.js";
|
|
18
18
|
import "@mui/lab";
|
|
19
|
-
import "./MenuActions/index.
|
|
19
|
+
import "./MenuActions/index.c53370f6.js";
|
|
20
20
|
import "./Popover/index.9f35d0eb.js";
|
|
21
|
-
import "./
|
|
22
|
-
import "./Tab/index.
|
|
21
|
+
import "./Stack/index.0e53197c.js";
|
|
22
|
+
import "./Tab/index.97d04d6b.js";
|
|
23
|
+
import "./Pager/index.d6c87c44.js";
|
|
23
24
|
import "./Tooltip/index.5a795dcd.js";
|
|
@@ -16,6 +16,8 @@ export { LoadingButton } from './LoadingButton';
|
|
|
16
16
|
export { MenuActions } from './MenuActions';
|
|
17
17
|
export type { MenuAction, ComponentActionProps } from './MenuActions/types';
|
|
18
18
|
export * from './Popover/Popover';
|
|
19
|
+
export * from './Stack';
|
|
20
|
+
export * from './Tabs';
|
|
19
21
|
export { Pager } from './Pager';
|
|
20
22
|
export type { PagerProps } from './Pager/types';
|
|
21
23
|
export { getPagerComponentsDictionary } from './Pager/dicctionary';
|
|
@@ -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.b66c43e7.js";
|
|
3
3
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
4
4
|
const ModalContext = createContext(null);
|
|
5
5
|
function ModalProvider({
|
|
@@ -2,7 +2,7 @@ import { useEffect } from "react";
|
|
|
2
2
|
import { useForm, FormProvider } from "react-hook-form";
|
|
3
3
|
import { yupResolver } from "@hookform/resolvers/yup";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { S as ScrollBar } from "../../components/ScrollBar/index.
|
|
5
|
+
import { S as ScrollBar } from "../../components/ScrollBar/index.65bb2930.js";
|
|
6
6
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -77,6 +77,10 @@ function RHFormProvider(props) {
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
}
|
|
80
|
+
function getFormComponentsDictionary() {
|
|
81
|
+
return ["form_provider"];
|
|
82
|
+
}
|
|
80
83
|
export {
|
|
81
|
-
RHFormProvider as R
|
|
84
|
+
RHFormProvider as R,
|
|
85
|
+
getFormComponentsDictionary as g
|
|
82
86
|
};
|
package/contexts/index.d.ts
CHANGED
|
@@ -3,3 +3,4 @@ export * from './ModalContext/index';
|
|
|
3
3
|
export * from './ModalContext/types';
|
|
4
4
|
export type { FormInitialValues, FormStatusLoad } from './RHFormContext/types';
|
|
5
5
|
export { RHFormProvider } from './RHFormContext';
|
|
6
|
+
export { getFormComponentsDictionary } from './RHFormContext/dictionary';
|
package/hooks/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getformAddEditDictionary: () => string;
|