@m4l/components 0.1.74 → 0.1.75
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 +46 -1
- package/components/AccountPopover/classes/constants.d.ts +1 -1
- package/components/AccountPopover/classes/index.d.ts +7 -1
- package/components/AccountPopover/classes/types.d.ts +9 -1
- package/components/AccountPopover/index.93aefccd.js +265 -0
- package/components/AccountPopover/subcomponents/PopOver/types.d.ts +2 -1
- package/components/AccountPopover/types.d.ts +13 -0
- package/components/AppBar/classes/index.d.ts +3 -1
- package/components/AppBar/classes/types.d.ts +4 -0
- package/components/AppBar/index.cc974d56.js +85 -0
- package/components/AppBar/tests/constants.d.ts +1 -1
- package/components/AppBar/types.d.ts +3 -2
- package/components/CommonActions/classes/index.d.ts +1 -1
- package/components/CommonActions/classes/types.d.ts +3 -2
- package/components/CommonActions/components/ActionCancel/{index.fad4a0dc.js → index.574ea031.js} +3 -3
- package/components/CommonActions/components/ActionFormCancel/{index.a26820a9.js → index.e62db5d3.js} +20 -20
- package/components/CommonActions/components/ActionFormIntro/{index.403d8952.js → index.304da410.js} +4 -4
- package/components/CommonActions/components/ActionIntro/{index.0fb6efbe.js → index.d635cbc4.js} +4 -4
- package/components/CommonActions/components/Actions/{index.51b9c92a.js → index.37ffde59.js} +35 -25
- package/components/CommonActions/tests/constants.d.ts +1 -0
- package/components/CommonActions/tests/utils.d.ts +2 -0
- package/components/DataGrid/{index.dbae54dd.js → index.c0c626cd.js} +20 -20
- package/components/DraggableWindow/index.b95a678e.js +39 -0
- package/components/DynamicFilter/{index.cb7fd1b6.js → index.3034c6ba.js} +32 -32
- package/components/HelperText/{index.d449d124.js → index.ec9b3e6a.js} +9 -9
- package/components/Icon/{index.d214a74d.js → index.f9119f5e.js} +6 -63
- package/components/Image/{index.1af119da.js → index.8aae9322.js} +1 -1
- package/components/LanguagePopover/classes/index.d.ts +1 -1
- package/components/LanguagePopover/{index.4fef99ac.js → index.491e1306.js} +10 -10
- package/components/Loadable/{index.117eaced.js → index.e994fc3e.js} +1 -1
- package/components/ModalDialog/{index.6c35e653.js → index.f652ea12.js} +6 -6
- package/components/NavLink/{index.9e56bcd3.js → index.f8aee9f4.js} +10 -10
- package/components/NoItemSelected/{index.cd842b62.js → index.cce86db4.js} +1 -1
- package/components/ObjectLogs/{index.e1a1b27c.js → index.c31b3f8b.js} +16 -16
- package/components/PaperForm/{index.76bd3a6d.js → index.d79c6f76.js} +1 -1
- package/components/Period/{index.b93d22fa.js → index.ff110093.js} +19 -19
- package/components/Resizeable/{index.834a9144.js → index.41a8048b.js} +1 -1
- package/components/SideBar/classes/index.d.ts +1 -1
- package/components/SideBar/{index.ff7cbe91.js → index.1ae13a73.js} +6 -6
- package/components/SplitLayout/SplitLayout.d.ts +3 -0
- package/components/SplitLayout/classes/constants.d.ts +1 -0
- package/components/SplitLayout/classes/index.d.ts +9 -0
- package/components/SplitLayout/classes/types.d.ts +10 -0
- package/components/SplitLayout/index.9ef430f6.js +99 -0
- package/components/SplitLayout/index.d.ts +2 -3
- package/components/SplitLayout/styles.d.ts +1 -1
- package/components/SplitLayout/tests/constants.d.ts +1 -0
- package/components/SplitLayout/tests/utils.d.ts +2 -0
- package/components/SplitLayout/types.d.ts +2 -0
- package/components/animate/PropagateLoader/{index.be5b02c3.js → index.7fab43c8.js} +1 -1
- package/components/animate/index.1f8eadd4.js +66 -0
- package/components/areas/components/AreasAdmin/{index.1eda80b9.js → index.158621e0.js} +31 -31
- package/components/areas/components/AreasViewer/{index.eddc9945.js → index.621c0de4.js} +50 -44
- package/components/areas/components/index.2ed9d60b.js +14 -0
- package/components/areas/contexts/AreasContext/{index.a88b73a6.js → index.d98b89fc.js} +2 -2
- package/components/areas/contexts/{index.7dd01403.js → index.79d1912d.js} +1 -1
- package/components/areas/hooks/useAreas/{index.7a37ede8.js → index.a7b597fb.js} +1 -1
- package/components/areas/{index.95c4ed37.js → index.d6b8e205.js} +5 -5
- package/components/formatters/BooleanFormatter/{index.820a2130.js → index.60aa1c9d.js} +1 -1
- package/components/formatters/{index.0c692a4b.js → index.1f0efb32.js} +2 -2
- package/components/hook-form/RHFAutocomplete/{index.72437d8a.js → index.af3296ac.js} +11 -11
- package/components/hook-form/RHFAutocompleteAsync/{index.2a84f2b2.js → index.76864056.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.6e6389e7.js → index.865ba239.js} +3 -3
- package/components/hook-form/RHFDateTime/classes/index.d.ts +1 -1
- package/components/hook-form/RHFDateTime/{index.745b101b.js → index.fd9c5aca.js} +65 -57
- package/components/hook-form/RHFDateTime/test/constants.d.ts +1 -0
- package/components/hook-form/RHFDateTime/test/utils.d.ts +2 -0
- package/components/hook-form/RHFPeriod/{index.6969af99.js → index.77486f61.js} +2 -2
- package/components/hook-form/RHFTextField/{index.ca7393a7.js → index.abcbc2d3.js} +6 -6
- package/components/hook-form/RHFUpload/{index.d74ca00d.js → index.522bcad5.js} +1 -1
- package/components/index.d.ts +1 -1
- package/components/modal/{WindowBase.9b93578e.js → WindowBase.c223e4da.js} +11 -11
- package/components/modal/{WindowConfirm.7ec9dcd3.js → WindowConfirm.023e293f.js} +16 -16
- package/components/modal/index.dbce0cab.js +36 -0
- package/components/mui_extended/Accordion/{index.09a89d3d.js → index.03bd0e2a.js} +2 -2
- package/components/mui_extended/Avatar/{index.d.ts → Avatar.d.ts} +0 -1
- package/components/mui_extended/Avatar/classes/constants.d.ts +1 -0
- package/components/mui_extended/Avatar/classes/index.d.ts +7 -0
- package/components/mui_extended/Avatar/classes/types.d.ts +7 -0
- package/components/mui_extended/Avatar/index.1e1a91a3.js +69 -0
- package/components/mui_extended/Avatar/styles.d.ts +2 -0
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/index.d.ts +2 -1
- package/components/mui_extended/Avatar/subcomponents/SkeletonAvatar/types.d.ts +3 -0
- package/components/mui_extended/Avatar/tests/constants.d.ts +1 -0
- package/components/mui_extended/Avatar/tests/utils.d.ts +2 -0
- package/components/mui_extended/Avatar/types.d.ts +1 -5
- package/components/mui_extended/Button/{index.f9d54780.js → index.aebbab34.js} +5 -4
- package/components/mui_extended/IconButton/{index.822cdaac.js → index.3b05af71.js} +1 -1
- package/components/mui_extended/MenuActions/{index.03403529.js → index.ca5ce35a.js} +2 -2
- package/components/mui_extended/Pager/{index.6428b07c.js → index.80ec975a.js} +1 -1
- package/components/mui_extended/Typography/{index.e2d9e3f2.js → index.443590d6.js} +1 -1
- package/components/mui_extended/index.6dcdbb1f.js +20 -0
- package/components/mui_extended/index.d.ts +1 -1
- package/contexts/ModalContext/{index.0484ca54.js → index.a0de81f0.js} +1 -1
- package/hooks/useModal/{index.c6069beb.js → index.26075cdd.js} +1 -1
- package/index.js +207 -203
- package/package.json +1 -1
- package/{react-draggable.17b4ec8a.js → react-draggable.e625b0d1.js} +1 -1
- package/{react-resizable.ffd7c2aa.js → react-resizable.24367d77.js} +2 -2
- package/test/constants_no_mock.86c553a9.js +4 -0
- package/utils/{index.aca80f3a.js → index.b61dccbe.js} +0 -5
- package/components/AccountPopover/subcomponents/PopOver/styles.d.ts +0 -8
- package/components/SplitLayout/index.5a8355d8.js +0 -133
- package/components/areas/components/index.f3a98b6d.js +0 -14
- package/components/modal/index.dba72820.js +0 -36
- package/components/mui_extended/Avatar/index.fe06afd7.js +0 -51
- package/components/mui_extended/index.b4ced9e3.js +0 -20
- package/vendor.99e0c856.js +0 -456
- /package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/createAvatar.d.ts +0 -0
- /package/components/{AppBar → AccountPopover}/subcomponents/MyAvatar/index.d.ts +0 -0
- /package/{node_modules.416f1da3.js → react-spinners.342a6578.js} +0 -0
|
@@ -1,84 +1,87 @@
|
|
|
1
1
|
import { styled } from "@mui/material/styles";
|
|
2
|
-
import { r as react_resizable_css } from "../../../../react-resizable.
|
|
2
|
+
import { r as react_resizable_css } from "../../../../react-resizable.24367d77.js";
|
|
3
3
|
import { generateUtilityClasses, Skeleton, styled as styled$1, Typography as Typography$1, Dialog } from "@mui/material";
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
|
-
import { g as getComponentUtilityClass } from "../../../../utils/index.
|
|
5
|
+
import { g as getComponentUtilityClass } from "../../../../utils/index.b61dccbe.js";
|
|
6
6
|
import { a as AREAS_VIEWER_CLASS_NAME } from "../../constants.66529246.js";
|
|
7
7
|
import React__default, { useMemo, useState, useRef, useCallback, useEffect } from "react";
|
|
8
8
|
import { WidthProvider, Responsive } from "react-grid-layout";
|
|
9
9
|
import { shallow } from "zustand/shallow";
|
|
10
|
-
import
|
|
10
|
+
import "../../../animate/index.1f8eadd4.js";
|
|
11
11
|
import { m } from "framer-motion";
|
|
12
12
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
13
13
|
import "react-router-dom";
|
|
14
14
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
15
|
-
import "../../../animate/PropagateLoader/index.
|
|
15
|
+
import "../../../animate/PropagateLoader/index.7fab43c8.js";
|
|
16
16
|
import { useModuleDictionary, useEnvironment, useModuleSkeleton, useNetwork, useHostTools, axiosOperation } from "@m4l/core";
|
|
17
|
-
import { I as
|
|
17
|
+
import { I as Icon } from "../../../Icon/index.f9119f5e.js";
|
|
18
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.3b05af71.js";
|
|
18
19
|
import clsx from "clsx";
|
|
19
20
|
import { useResponsiveDesktop, useHostTheme, useFormatter, useLocales, useFirstRender, useResizeObserver } from "@m4l/graphics";
|
|
20
|
-
import { u as useAreasStore } from "../../hooks/useAreas/index.
|
|
21
|
-
import "../AreasAdmin/index.
|
|
21
|
+
import { u as useAreasStore } from "../../hooks/useAreas/index.a7b597fb.js";
|
|
22
|
+
import "../AreasAdmin/index.158621e0.js";
|
|
22
23
|
import { I as ICONS } from "../../icons.3ec589d3.js";
|
|
23
24
|
import "../../../ScrollBar/index.bbe48f4d.js";
|
|
24
|
-
import { R as ROW_HEIGTH_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, C as CONTAINER_PADDING_GRIDLAYOUT, T as THROTTLE_RESIZE_TIME } from "../../contexts/AreasContext/index.
|
|
25
|
+
import { R as ROW_HEIGTH_GRIDLAYOUT, M as MARGIN_GRIDLAYOUT, C as CONTAINER_PADDING_GRIDLAYOUT, T as THROTTLE_RESIZE_TIME } from "../../contexts/AreasContext/index.d98b89fc.js";
|
|
25
26
|
import { W as WindowToolsMFProvider } from "../../contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
26
27
|
import "zustand";
|
|
27
28
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
28
29
|
import "react-hook-form";
|
|
29
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
30
|
-
import { I as Image } from "../../../Image/index.
|
|
31
|
-
import { T as Typography } from "../../../mui_extended/Typography/index.
|
|
32
|
-
import "../../../mui_extended/Accordion/index.
|
|
33
|
-
import "../../../mui_extended/Avatar/index.
|
|
30
|
+
import "../../../hook-form/RHFAutocomplete/index.af3296ac.js";
|
|
31
|
+
import { I as Image } from "../../../Image/index.8aae9322.js";
|
|
32
|
+
import { T as Typography } from "../../../mui_extended/Typography/index.443590d6.js";
|
|
33
|
+
import "../../../mui_extended/Accordion/index.03bd0e2a.js";
|
|
34
|
+
import "../../../mui_extended/Avatar/index.1e1a91a3.js";
|
|
34
35
|
import "@mui/material/Button";
|
|
35
|
-
import { B as Button } from "../../../mui_extended/Button/index.
|
|
36
|
+
import { B as Button } from "../../../mui_extended/Button/index.aebbab34.js";
|
|
36
37
|
import "@mui/lab";
|
|
37
38
|
import "../../../mui_extended/Popover/index.9f35d0eb.js";
|
|
38
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
39
|
-
import "../../../mui_extended/Pager/index.
|
|
39
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.ca5ce35a.js";
|
|
40
|
+
import "../../../mui_extended/Pager/index.80ec975a.js";
|
|
40
41
|
import "../../../mui_extended/Tab/index.e0653a0a.js";
|
|
41
|
-
import "../../../HelperText/index.
|
|
42
|
+
import "../../../HelperText/index.ec9b3e6a.js";
|
|
42
43
|
import debounce from "lodash/debounce";
|
|
43
|
-
import "../../../hook-form/RHFAutocompleteAsync/index.
|
|
44
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
44
|
+
import "../../../hook-form/RHFAutocompleteAsync/index.76864056.js";
|
|
45
|
+
import "../../../hook-form/RHFCheckbox/index.865ba239.js";
|
|
45
46
|
import "@mui/x-date-pickers";
|
|
46
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
47
|
-
import "../../../hook-form/RHFTextField/index.
|
|
48
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
49
|
-
import "../../../Period/index.
|
|
50
|
-
import "../../../CommonActions/components/Actions/index.
|
|
51
|
-
import "../../../../contexts/ModalContext/index.
|
|
52
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
53
|
-
import "../../../ModalDialog/index.
|
|
54
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
55
|
-
import "../../../modal/WindowConfirm.
|
|
56
|
-
import "../../../modal/WindowBase.
|
|
47
|
+
import "../../../hook-form/RHFDateTime/index.fd9c5aca.js";
|
|
48
|
+
import "../../../hook-form/RHFTextField/index.abcbc2d3.js";
|
|
49
|
+
import "../../../hook-form/RHFPeriod/index.77486f61.js";
|
|
50
|
+
import "../../../Period/index.ff110093.js";
|
|
51
|
+
import "../../../CommonActions/components/Actions/index.37ffde59.js";
|
|
52
|
+
import "../../../../contexts/ModalContext/index.a0de81f0.js";
|
|
53
|
+
import { c as cjs } from "../../../../react-draggable.e625b0d1.js";
|
|
54
|
+
import "../../../ModalDialog/index.f652ea12.js";
|
|
55
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.41a8048b.js";
|
|
56
|
+
import "../../../modal/WindowConfirm.023e293f.js";
|
|
57
|
+
import "../../../modal/WindowBase.c223e4da.js";
|
|
57
58
|
import "lodash/isString";
|
|
58
59
|
import "react-dropzone";
|
|
59
|
-
import "../../../hook-form/RHFUpload/index.
|
|
60
|
-
import "../../../DataGrid/index.
|
|
60
|
+
import "../../../hook-form/RHFUpload/index.522bcad5.js";
|
|
61
|
+
import "../../../DataGrid/index.c0c626cd.js";
|
|
61
62
|
import "react-dnd";
|
|
62
63
|
import "react-dnd-html5-backend";
|
|
63
|
-
import "../../../DynamicFilter/index.
|
|
64
|
+
import "../../../DynamicFilter/index.3034c6ba.js";
|
|
64
65
|
import "yup";
|
|
65
66
|
import "@hookform/resolvers/yup";
|
|
66
67
|
import "../../../../contexts/RHFormContext/index.a7511399.js";
|
|
67
|
-
import "../../../LanguagePopover/index.
|
|
68
|
-
import "../../../NavLink/index.
|
|
69
|
-
import "../../../NoItemSelected/index.
|
|
70
|
-
import "../../../ObjectLogs/index.
|
|
68
|
+
import "../../../LanguagePopover/index.491e1306.js";
|
|
69
|
+
import "../../../NavLink/index.f8aee9f4.js";
|
|
70
|
+
import "../../../NoItemSelected/index.cce86db4.js";
|
|
71
|
+
import "../../../ObjectLogs/index.c31b3f8b.js";
|
|
71
72
|
import "../../../../react-json-view.57125fcf.js";
|
|
72
|
-
import "../../../PaperForm/index.
|
|
73
|
+
import "../../../PaperForm/index.d79c6f76.js";
|
|
73
74
|
import "../../../Page/index.4237c241.js";
|
|
74
75
|
import "../../../PropertyValue/index.dfcfe1ba.js";
|
|
76
|
+
import "../../../SplitLayout/index.9ef430f6.js";
|
|
75
77
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
76
|
-
import "../../../
|
|
77
|
-
import "../../../
|
|
78
|
-
import
|
|
78
|
+
import "../../../SideBar/index.1ae13a73.js";
|
|
79
|
+
import "../../../AppBar/index.cc974d56.js";
|
|
80
|
+
import "../../../AccountPopover/index.93aefccd.js";
|
|
79
81
|
import { g as getAreasDictionary } from "../../dictionary.e72db809.js";
|
|
80
82
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
81
83
|
import { v as varBounce } from "../../../animate/variants/bounce.784aaaaa.js";
|
|
84
|
+
import { D as DraggableWindow } from "../../../DraggableWindow/index.b95a678e.js";
|
|
82
85
|
import { throttle } from "lodash";
|
|
83
86
|
const areasViewerClasses = generateUtilityClasses(AREAS_VIEWER_CLASS_NAME, [
|
|
84
87
|
"root",
|
|
@@ -1034,9 +1037,7 @@ const WindowRoot = styled("div")`
|
|
|
1034
1037
|
&.${areasViewerClasses.selected} {
|
|
1035
1038
|
border-top: 1px solid green;
|
|
1036
1039
|
}
|
|
1037
|
-
|
|
1038
|
-
border-left: 2px solid red;
|
|
1039
|
-
}
|
|
1040
|
+
|
|
1040
1041
|
// windowHeader
|
|
1041
1042
|
& .${areasViewerClasses.windowHeader} {
|
|
1042
1043
|
display: flex;
|
|
@@ -1060,6 +1061,11 @@ const WindowRoot = styled("div")`
|
|
|
1060
1061
|
margin-right: 12px;
|
|
1061
1062
|
}
|
|
1062
1063
|
}
|
|
1064
|
+
/*
|
|
1065
|
+
&.${areasViewerClasses.loading} .${areasViewerClasses.windowHeader} {
|
|
1066
|
+
border-bottom: 2px solid red !important;
|
|
1067
|
+
}
|
|
1068
|
+
*/
|
|
1063
1069
|
// windowHeaderTitle
|
|
1064
1070
|
& .${areasViewerClasses.windowHeaderTitle} {
|
|
1065
1071
|
width: 100%;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import "react";
|
|
2
|
+
import "@m4l/core";
|
|
3
|
+
import "@mui/material";
|
|
4
|
+
import "../../Icon/index.f9119f5e.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "../../mui_extended/IconButton/index.3b05af71.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "zustand";
|
|
10
|
+
import "../contexts/AreasContext/index.d98b89fc.js";
|
|
11
|
+
import "./AreasAdmin/index.158621e0.js";
|
|
12
|
+
import "zustand/shallow";
|
|
13
|
+
import "../../ScrollBar/index.bbe48f4d.js";
|
|
14
|
+
import "./AreasViewer/index.621c0de4.js";
|
|
@@ -5,8 +5,8 @@ import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
|
5
5
|
import { useHostTools, useModuleDictionary, useNetwork, useModuleSkeleton, EmitEvents } from "@m4l/core";
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import { immer } from "zustand/middleware/immer";
|
|
8
|
-
import { u as useAreasViewerUtilityClasses, a as areasViewerClasses } from "../../components/AreasViewer/index.
|
|
9
|
-
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.
|
|
8
|
+
import { u as useAreasViewerUtilityClasses, a as areasViewerClasses } from "../../components/AreasViewer/index.621c0de4.js";
|
|
9
|
+
import { u as useAreasAdminUtilityClasses } from "../../components/AreasAdmin/index.158621e0.js";
|
|
10
10
|
import { c as createDynamicMFStore } from "../DynamicMFParmsContext/index.1607c78e.js";
|
|
11
11
|
import { g as getAreasDictionary } from "../../dictionary.e72db809.js";
|
|
12
12
|
import { debounce, cloneDeep } from "lodash";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./AreasContext/index.
|
|
1
|
+
import "./AreasContext/index.d98b89fc.js";
|
|
2
2
|
import "./WindowToolsMFContext/index.8f3e2a04.js";
|
|
@@ -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.d98b89fc.js";
|
|
4
4
|
function useAreasStore(selector, equalityFn) {
|
|
5
5
|
const context = useContext(AreasContext);
|
|
6
6
|
if (!context)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import "react";
|
|
2
2
|
import "@m4l/core";
|
|
3
3
|
import "@mui/material";
|
|
4
|
-
import "../Icon/index.
|
|
4
|
+
import "../Icon/index.f9119f5e.js";
|
|
5
5
|
import "clsx";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
|
-
import "../mui_extended/IconButton/index.
|
|
7
|
+
import "../mui_extended/IconButton/index.3b05af71.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.d98b89fc.js";
|
|
11
|
+
import "./components/AreasAdmin/index.158621e0.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
13
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
14
|
-
import "./components/AreasViewer/index.
|
|
14
|
+
import "./components/AreasViewer/index.621c0de4.js";
|
|
15
15
|
import "./contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
16
16
|
import "./contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.f9119f5e.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
@@ -2,11 +2,11 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.f9119f5e.js";
|
|
6
6
|
import "@mui/material";
|
|
7
7
|
import "clsx";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.60aa1c9d.js";
|
|
10
10
|
function getFormatConcatenated(values, separator) {
|
|
11
11
|
const returnSymbol = "";
|
|
12
12
|
if (values === null)
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import { useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
3
|
import { styled as styled$1, Skeleton, generateUtilityClasses, generateUtilityClass, Autocomplete, Popper, TextField, CircularProgress } from "@mui/material";
|
|
4
|
-
import { I as Image } from "../../Image/index.
|
|
4
|
+
import { I as Image } from "../../Image/index.8aae9322.js";
|
|
5
5
|
import { useMemo, useState, useEffect } from "react";
|
|
6
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
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
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
9
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
8
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
9
|
+
import { H as HelperText } from "../../HelperText/index.ec9b3e6a.js";
|
|
10
10
|
import { styled } from "@mui/material/styles";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
12
|
import "clsx";
|
|
13
|
-
import "../../Icon/index.
|
|
14
|
-
import "../../mui_extended/IconButton/index.
|
|
13
|
+
import "../../Icon/index.f9119f5e.js";
|
|
14
|
+
import "../../mui_extended/IconButton/index.3b05af71.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "../../mui_extended/Accordion/index.
|
|
17
|
-
import "../../mui_extended/Avatar/index.
|
|
16
|
+
import "../../mui_extended/Accordion/index.03bd0e2a.js";
|
|
17
|
+
import "../../mui_extended/Avatar/index.1e1a91a3.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
20
|
-
import "../../mui_extended/Button/index.
|
|
20
|
+
import "../../mui_extended/Button/index.aebbab34.js";
|
|
21
21
|
import "@mui/lab";
|
|
22
22
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
23
|
-
import "../../mui_extended/MenuActions/index.
|
|
24
|
-
import "../../mui_extended/Pager/index.
|
|
23
|
+
import "../../mui_extended/MenuActions/index.ca5ce35a.js";
|
|
24
|
+
import "../../mui_extended/Pager/index.80ec975a.js";
|
|
25
25
|
import "../../mui_extended/Tab/index.e0653a0a.js";
|
|
26
26
|
const AutocompleteRoot = styled("div")(({
|
|
27
27
|
theme
|
|
@@ -4,8 +4,8 @@ import debounce from "lodash/debounce";
|
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
8
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
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.af3296ac.js";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
10
10
|
styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Checkbox } from "@mui/material";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
4
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
5
5
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
7
7
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
9
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
8
|
+
import { H as HelperText } from "../../HelperText/index.ec9b3e6a.js";
|
|
9
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
10
10
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
11
11
|
display: "flex",
|
|
12
12
|
justifyContent: "center",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RHFDateTimeClassesType } from './types';
|
|
2
2
|
import { OwnerState } from '../types';
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const dateTimeClasses: RHFDateTimeClassesType;
|
|
4
4
|
export declare function getRHFCheckboxUtilityClass(slot: string): string;
|
|
5
5
|
export declare const useUtilityClasses: (ownerState: OwnerState) => {
|
|
6
6
|
root: string;
|
|
@@ -2,25 +2,26 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
2
2
|
import { DateTimePicker } from "@mui/x-date-pickers";
|
|
3
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
4
|
import { Skeleton, generateUtilityClasses, generateUtilityClass, styled as styled$1 } from "@mui/material";
|
|
5
|
-
import { jsxs, jsx } from "react/jsx-runtime";
|
|
5
|
+
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.
|
|
10
|
-
import "
|
|
11
|
-
import "../../mui_extended/
|
|
12
|
-
import "../../mui_extended/
|
|
9
|
+
import "../../Icon/index.f9119f5e.js";
|
|
10
|
+
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
11
|
+
import "../../mui_extended/IconButton/index.3b05af71.js";
|
|
12
|
+
import "../../mui_extended/Accordion/index.03bd0e2a.js";
|
|
13
|
+
import "../../mui_extended/Avatar/index.1e1a91a3.js";
|
|
13
14
|
import "react-router-dom";
|
|
14
15
|
import "@mui/material/Button";
|
|
15
|
-
import "../../mui_extended/Button/index.
|
|
16
|
-
import "../../Image/index.
|
|
16
|
+
import "../../mui_extended/Button/index.aebbab34.js";
|
|
17
|
+
import "../../Image/index.8aae9322.js";
|
|
17
18
|
import "@mui/lab";
|
|
18
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
19
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
19
20
|
import "../../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../../mui_extended/MenuActions/index.
|
|
21
|
-
import "../../mui_extended/Pager/index.
|
|
21
|
+
import "../../mui_extended/MenuActions/index.ca5ce35a.js";
|
|
22
|
+
import "../../mui_extended/Pager/index.80ec975a.js";
|
|
22
23
|
import "../../mui_extended/Tab/index.e0653a0a.js";
|
|
23
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
24
|
+
import { H as HelperText } from "../../HelperText/index.ec9b3e6a.js";
|
|
24
25
|
import { styled } from "@mui/material/styles";
|
|
25
26
|
import { unstable_composeClasses } from "@mui/base";
|
|
26
27
|
const SKTRHFWrapperTextField = styled("div")(({
|
|
@@ -83,6 +84,10 @@ const useUtilityClasses = (ownerState) => {
|
|
|
83
84
|
const RHFDateTimeRoot = styled$1("div")(({ theme }) => ({
|
|
84
85
|
...theme.components?.M4LRHFDateTime?.styleOverrides
|
|
85
86
|
}));
|
|
87
|
+
const RHFDATETIME_PREFIX = "RHFDateTime";
|
|
88
|
+
const getNameRHFDateTimeDataTestId = (KEY) => {
|
|
89
|
+
return `${RHFDATETIME_PREFIX}-${KEY}`;
|
|
90
|
+
};
|
|
86
91
|
function RHFDateTime(props) {
|
|
87
92
|
const {
|
|
88
93
|
name: nameRHF,
|
|
@@ -131,55 +136,58 @@ function RHFDateTime(props) {
|
|
|
131
136
|
variant: currentVariant
|
|
132
137
|
};
|
|
133
138
|
const classes = useUtilityClasses(ownerState);
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
render: ({
|
|
145
|
-
field: {
|
|
146
|
-
value,
|
|
147
|
-
onChange,
|
|
148
|
-
ref
|
|
149
|
-
},
|
|
150
|
-
fieldState: {
|
|
151
|
-
error
|
|
152
|
-
}
|
|
153
|
-
}) => {
|
|
154
|
-
return /* @__PURE__ */ jsxs(RHFDateTimeRoot, {
|
|
155
|
-
className: clsx(classes.root, className),
|
|
156
|
-
children: [label && /* @__PURE__ */ jsx(Typography, {
|
|
157
|
-
variant: "body",
|
|
158
|
-
children: label
|
|
159
|
-
}), /* @__PURE__ */ jsx(DateTimePicker, {
|
|
160
|
-
inputRef: ref,
|
|
161
|
-
ampm: false,
|
|
139
|
+
return /* @__PURE__ */ jsx(RHFDateTimeRoot, {
|
|
140
|
+
className: clsx(classes.root, className),
|
|
141
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
142
|
+
[TEST_PROP_ID]: getNameRHFDateTimeDataTestId("root")
|
|
143
|
+
} : {},
|
|
144
|
+
children: !isSkeleton ? /* @__PURE__ */ jsx(Controller, {
|
|
145
|
+
name: nameRHF,
|
|
146
|
+
control,
|
|
147
|
+
render: ({
|
|
148
|
+
field: {
|
|
162
149
|
value,
|
|
163
|
-
onChange
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
150
|
+
onChange,
|
|
151
|
+
ref
|
|
152
|
+
},
|
|
153
|
+
fieldState: {
|
|
154
|
+
error
|
|
155
|
+
}
|
|
156
|
+
}) => {
|
|
157
|
+
return /* @__PURE__ */ jsxs(Fragment, {
|
|
158
|
+
children: [label && /* @__PURE__ */ jsx(Typography, {
|
|
159
|
+
variant: "body",
|
|
160
|
+
children: label
|
|
161
|
+
}), /* @__PURE__ */ jsx(DateTimePicker, {
|
|
162
|
+
inputRef: ref,
|
|
163
|
+
ampm: false,
|
|
164
|
+
value,
|
|
165
|
+
onChange: (newValue) => {
|
|
166
|
+
onChange(newValue);
|
|
172
167
|
},
|
|
173
|
-
|
|
174
|
-
|
|
168
|
+
slots: {},
|
|
169
|
+
slotProps: {
|
|
170
|
+
textField: {
|
|
171
|
+
error: !!error,
|
|
172
|
+
helperText: error?.message,
|
|
173
|
+
onFocus: handlerFocus,
|
|
174
|
+
onBlur: handlerBlur
|
|
175
|
+
},
|
|
176
|
+
field: {
|
|
177
|
+
format: datetimeFormat
|
|
178
|
+
}
|
|
175
179
|
}
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
})
|
|
181
|
-
}
|
|
182
|
-
}
|
|
180
|
+
}), currentVariant ? /* @__PURE__ */ jsx(HelperText, {
|
|
181
|
+
variant: currentVariant,
|
|
182
|
+
message: currentVariant !== "error" ? helperMessage : error?.message
|
|
183
|
+
}) : null]
|
|
184
|
+
});
|
|
185
|
+
}
|
|
186
|
+
}) : /* @__PURE__ */ jsx(SkeletonRHFDateTime, {
|
|
187
|
+
skeletonWidth,
|
|
188
|
+
skeletonHeight,
|
|
189
|
+
className: classes.skeleton
|
|
190
|
+
})
|
|
183
191
|
});
|
|
184
192
|
}
|
|
185
193
|
export {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RHFDATETIME_PREFIX = "RHFDateTime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } 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.ec9b3e6a.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.ff110093.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,18 +1,18 @@
|
|
|
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.
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.3b05af71.js";
|
|
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.f9119f5e.js";
|
|
8
8
|
import "clsx";
|
|
9
9
|
import "@m4l/graphics";
|
|
10
10
|
import { useFormContext, Controller } from "react-hook-form";
|
|
11
11
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
12
12
|
import { unstable_composeClasses } from "@mui/base";
|
|
13
|
-
import { g as getComponentUtilityClass } from "../../../utils/index.
|
|
14
|
-
import { T as Typography } from "../../mui_extended/Typography/index.
|
|
15
|
-
import { H as HelperText } from "../../HelperText/index.
|
|
13
|
+
import { g as getComponentUtilityClass } from "../../../utils/index.b61dccbe.js";
|
|
14
|
+
import { T as Typography } from "../../mui_extended/Typography/index.443590d6.js";
|
|
15
|
+
import { H as HelperText } from "../../HelperText/index.ec9b3e6a.js";
|
|
16
16
|
const SkeletonTextFieldRoot = styled("div")(() => ({
|
|
17
17
|
display: "flex",
|
|
18
18
|
flexDirection: "column",
|
|
@@ -4,7 +4,7 @@ import { useFormContext, Controller } from "react-hook-form";
|
|
|
4
4
|
import isString from "lodash/isString";
|
|
5
5
|
import { useDropzone } from "react-dropzone";
|
|
6
6
|
import { styled, alpha } from "@mui/material/styles";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.8aae9322.js";
|
|
8
8
|
import { useEnvironment, useModuleDictionary, useModuleSkeleton } from "@m4l/core";
|
|
9
9
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
10
10
|
const WrapperUploadImage = styled("div")(({
|
package/components/index.d.ts
CHANGED
|
@@ -35,7 +35,7 @@ export * from './PropertyValue';
|
|
|
35
35
|
export * from './ResizeableWindow';
|
|
36
36
|
export * from './ScrollBar';
|
|
37
37
|
export { ScrollToTop } from './ScrollToTop';
|
|
38
|
-
export * from './SplitLayout';
|
|
38
|
+
export * from './SplitLayout/SplitLayout';
|
|
39
39
|
export * from './SideBar';
|
|
40
40
|
export * from './AppBar';
|
|
41
41
|
export * from './AccountPopover';
|
|
@@ -1,24 +1,24 @@
|
|
|
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.26075cdd.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
|
-
import { a as getThemeVariantColor } from "../../utils/index.
|
|
6
|
-
import { I as Icon } from "../Icon/index.
|
|
5
|
+
import { a as getThemeVariantColor } from "../../utils/index.b61dccbe.js";
|
|
6
|
+
import { I as Icon } from "../Icon/index.f9119f5e.js";
|
|
7
7
|
import "@mui/material";
|
|
8
|
-
import { I as IconButton } from "../mui_extended/IconButton/index.
|
|
9
|
-
import "../mui_extended/Accordion/index.
|
|
8
|
+
import { I as IconButton } from "../mui_extended/IconButton/index.3b05af71.js";
|
|
9
|
+
import "../mui_extended/Accordion/index.03bd0e2a.js";
|
|
10
10
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
11
|
-
import "../mui_extended/Avatar/index.
|
|
11
|
+
import "../mui_extended/Avatar/index.1e1a91a3.js";
|
|
12
12
|
import "react-router-dom";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
|
-
import "../mui_extended/Button/index.
|
|
14
|
+
import "../mui_extended/Button/index.aebbab34.js";
|
|
15
15
|
import "clsx";
|
|
16
|
-
import "../Image/index.
|
|
16
|
+
import "../Image/index.8aae9322.js";
|
|
17
17
|
import "@mui/lab";
|
|
18
|
-
import "../mui_extended/Typography/index.
|
|
18
|
+
import "../mui_extended/Typography/index.443590d6.js";
|
|
19
19
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
20
|
-
import "../mui_extended/MenuActions/index.
|
|
21
|
-
import "../mui_extended/Pager/index.
|
|
20
|
+
import "../mui_extended/MenuActions/index.ca5ce35a.js";
|
|
21
|
+
import "../mui_extended/Pager/index.80ec975a.js";
|
|
22
22
|
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
23
23
|
const WrapperWindowBase = styled("div")(({ theme }) => ({
|
|
24
24
|
display: "flex",
|