@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,133 +0,0 @@
|
|
|
1
|
-
import { S as SplitterLayout } from "../../react-splitter-layout.8b1655c8.js";
|
|
2
|
-
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
-
const WrapperSplit = styled("div")(({
|
|
5
|
-
theme
|
|
6
|
-
}) => ({
|
|
7
|
-
display: "flex",
|
|
8
|
-
flexDirection: "column",
|
|
9
|
-
position: "relative",
|
|
10
|
-
flexGrow: 1,
|
|
11
|
-
overflow: "hidden",
|
|
12
|
-
"& .splitter-layout": {
|
|
13
|
-
position: "absolute",
|
|
14
|
-
display: "flex",
|
|
15
|
-
flexDirection: "row",
|
|
16
|
-
width: "100%",
|
|
17
|
-
height: "100%",
|
|
18
|
-
overflow: "hidden"
|
|
19
|
-
},
|
|
20
|
-
"& .splitter-layout .layout-pane": {
|
|
21
|
-
position: "relative",
|
|
22
|
-
flex: "0 0 auto",
|
|
23
|
-
overflow: "auto"
|
|
24
|
-
},
|
|
25
|
-
"& .splitter-layout .layout-pane.layout-pane-primary": {
|
|
26
|
-
flex: "1 1 auto"
|
|
27
|
-
},
|
|
28
|
-
"& .splitter-layout.layout-changing": {
|
|
29
|
-
cursor: "col-resize"
|
|
30
|
-
},
|
|
31
|
-
"& .splitter-layout > .layout-splitter": {
|
|
32
|
-
display: "flex",
|
|
33
|
-
alignItems: "center",
|
|
34
|
-
backgroundColor: theme.palette.divider,
|
|
35
|
-
boxSizing: "border-box",
|
|
36
|
-
backgroundClip: "padding-box",
|
|
37
|
-
width: "11px",
|
|
38
|
-
margin: "0 5px",
|
|
39
|
-
borderLeft: "5px solid hsla(0, 0%, 100%, 0)",
|
|
40
|
-
borderRight: "5px solid hsla(0, 0%, 100%, 0)",
|
|
41
|
-
cursor: "col-resize",
|
|
42
|
-
justifyContent: "center",
|
|
43
|
-
height: "100%"
|
|
44
|
-
},
|
|
45
|
-
"& .splitter-layout .layout-splitter:before": {
|
|
46
|
-
content: `""`,
|
|
47
|
-
height: "45px",
|
|
48
|
-
width: "4px",
|
|
49
|
-
top: "calc(50% - 22.5px)",
|
|
50
|
-
position: "absolute",
|
|
51
|
-
background: theme.palette.grey[500],
|
|
52
|
-
borderRadius: "6px"
|
|
53
|
-
},
|
|
54
|
-
"& .splitter-layout > .layout-splitter:hover": {
|
|
55
|
-
borderLeft: `5px solid ${theme.palette.grey[5008]}`,
|
|
56
|
-
borderRight: `5px solid ${theme.palette.grey[5008]}`
|
|
57
|
-
},
|
|
58
|
-
"& .splitter-layout.splitter-layout-vertical.layout-changing": {
|
|
59
|
-
cursor: "row-resize"
|
|
60
|
-
},
|
|
61
|
-
"& .splitter-layout.splitter-layout-vertical > .layout-splitter": {
|
|
62
|
-
height: "11px !important",
|
|
63
|
-
width: "100% !important",
|
|
64
|
-
margin: "5px 0",
|
|
65
|
-
borderTop: "5px solid hsla(0, 0%, 100%, 0)",
|
|
66
|
-
borderBottom: "5px solid hsla(0, 0%, 100%, 0)",
|
|
67
|
-
cursor: "row-resize"
|
|
68
|
-
},
|
|
69
|
-
"& .splitter-layout.splitter-layout-vertical .layout-splitter:before": {
|
|
70
|
-
width: "45px !important",
|
|
71
|
-
height: "4px !important",
|
|
72
|
-
left: "calc(50% - 22.5px)",
|
|
73
|
-
top: "unset"
|
|
74
|
-
},
|
|
75
|
-
"& .splitter-layout > .layout-splitter:hover:before, .splitter-layout.layout-changing > .layout-splitter:before": {
|
|
76
|
-
background: theme.palette.primary.main
|
|
77
|
-
},
|
|
78
|
-
"& .splitter-layout.splitter-layout-vertical": {
|
|
79
|
-
flexDirection: "column"
|
|
80
|
-
},
|
|
81
|
-
"& .splitter-layout.splitter-layout-vertical > .layout-splitter:hover": {
|
|
82
|
-
borderTop: `5px solid ${theme.palette.grey[5008]}`,
|
|
83
|
-
borderBottom: `5px solid ${theme.palette.grey[5008]}`
|
|
84
|
-
}
|
|
85
|
-
}));
|
|
86
|
-
const SplitMaster = styled("div")(() => ({
|
|
87
|
-
display: "flex",
|
|
88
|
-
flexDirection: "column",
|
|
89
|
-
position: "relative",
|
|
90
|
-
width: "100%",
|
|
91
|
-
height: "100%",
|
|
92
|
-
overflow: "hidden"
|
|
93
|
-
}));
|
|
94
|
-
const SplitDetail = styled("div")(() => ({
|
|
95
|
-
display: "flex",
|
|
96
|
-
flexDirection: "column",
|
|
97
|
-
justifyContent: "center",
|
|
98
|
-
alignItems: "center",
|
|
99
|
-
overflow: "hidden",
|
|
100
|
-
position: "absolute",
|
|
101
|
-
left: "0px",
|
|
102
|
-
right: "0px",
|
|
103
|
-
top: "0px",
|
|
104
|
-
bottom: "0px"
|
|
105
|
-
}));
|
|
106
|
-
function SplitLayout(props) {
|
|
107
|
-
const {
|
|
108
|
-
splitPosition,
|
|
109
|
-
firstPart,
|
|
110
|
-
secondPart,
|
|
111
|
-
secondParrtInitialSize = 50,
|
|
112
|
-
percentage = true
|
|
113
|
-
} = props;
|
|
114
|
-
return /* @__PURE__ */ jsx(WrapperSplit, {
|
|
115
|
-
id: "WrapperSplit",
|
|
116
|
-
className: `split_${splitPosition}`,
|
|
117
|
-
children: /* @__PURE__ */ jsxs(SplitterLayout, {
|
|
118
|
-
vertical: splitPosition === "vertical",
|
|
119
|
-
percentage,
|
|
120
|
-
secondaryInitialSize: secondParrtInitialSize,
|
|
121
|
-
children: [/* @__PURE__ */ jsx(SplitMaster, {
|
|
122
|
-
id: "splitMaster",
|
|
123
|
-
children: typeof firstPart === "function" ? firstPart() : firstPart
|
|
124
|
-
}), splitPosition !== "none" && /* @__PURE__ */ jsx(SplitDetail, {
|
|
125
|
-
id: "detail2",
|
|
126
|
-
children: typeof secondPart === "function" ? secondPart() : secondPart
|
|
127
|
-
})]
|
|
128
|
-
})
|
|
129
|
-
});
|
|
130
|
-
}
|
|
131
|
-
export {
|
|
132
|
-
SplitLayout as S
|
|
133
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import "react";
|
|
2
|
-
import "@m4l/core";
|
|
3
|
-
import "@mui/material";
|
|
4
|
-
import "../../Icon/index.d214a74d.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
|
-
import "../../mui_extended/IconButton/index.822cdaac.js";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "zustand";
|
|
10
|
-
import "../contexts/AreasContext/index.a88b73a6.js";
|
|
11
|
-
import "./AreasAdmin/index.1eda80b9.js";
|
|
12
|
-
import "zustand/shallow";
|
|
13
|
-
import "../../ScrollBar/index.bbe48f4d.js";
|
|
14
|
-
import "./AreasViewer/index.eddc9945.js";
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import "@mui/material";
|
|
2
|
-
import "../../react-draggable.17b4ec8a.js";
|
|
3
|
-
import "react";
|
|
4
|
-
import "../../contexts/ModalContext/index.0484ca54.js";
|
|
5
|
-
import "../ModalDialog/index.6c35e653.js";
|
|
6
|
-
import "../Resizeable/index.834a9144.js";
|
|
7
|
-
import "react/jsx-runtime";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "../Icon/index.d214a74d.js";
|
|
10
|
-
import "clsx";
|
|
11
|
-
import "@m4l/core";
|
|
12
|
-
import "../CommonActions/components/Actions/index.51b9c92a.js";
|
|
13
|
-
import "@mui/material/Button";
|
|
14
|
-
import "../mui_extended/Button/index.f9d54780.js";
|
|
15
|
-
import "react-hook-form";
|
|
16
|
-
import "./WindowBase.9b93578e.js";
|
|
17
|
-
import "../mui_extended/IconButton/index.822cdaac.js";
|
|
18
|
-
import "../mui_extended/Accordion/index.09a89d3d.js";
|
|
19
|
-
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
20
|
-
import "react-router-dom";
|
|
21
|
-
import "../Image/index.1af119da.js";
|
|
22
|
-
import "@mui/lab";
|
|
23
|
-
import "../mui_extended/Typography/index.e2d9e3f2.js";
|
|
24
|
-
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
-
import "../mui_extended/MenuActions/index.03403529.js";
|
|
26
|
-
import "../mui_extended/Pager/index.6428b07c.js";
|
|
27
|
-
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
28
|
-
import "zustand";
|
|
29
|
-
import "../areas/contexts/AreasContext/index.a88b73a6.js";
|
|
30
|
-
import "../areas/components/AreasAdmin/index.1eda80b9.js";
|
|
31
|
-
import "zustand/shallow";
|
|
32
|
-
import "../ScrollBar/index.bbe48f4d.js";
|
|
33
|
-
import "../areas/components/AreasViewer/index.eddc9945.js";
|
|
34
|
-
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
35
|
-
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
36
|
-
import "./WindowConfirm.7ec9dcd3.js";
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { forwardRef } from "react";
|
|
2
|
-
import { useTheme } from "@mui/material/styles";
|
|
3
|
-
import { Skeleton, Avatar as Avatar$1 } from "@mui/material";
|
|
4
|
-
import { useModuleSkeleton } from "@m4l/core";
|
|
5
|
-
import { jsx } from "react/jsx-runtime";
|
|
6
|
-
const SkeletonAvatar = () => {
|
|
7
|
-
return /* @__PURE__ */ jsx(Skeleton, {
|
|
8
|
-
variant: "circular",
|
|
9
|
-
width: "32px",
|
|
10
|
-
height: "32px"
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
const Avatar = forwardRef(({
|
|
14
|
-
color = "default",
|
|
15
|
-
children,
|
|
16
|
-
sx,
|
|
17
|
-
...other
|
|
18
|
-
}, ref) => {
|
|
19
|
-
const theme = useTheme();
|
|
20
|
-
const isSkeleton = useModuleSkeleton();
|
|
21
|
-
if (isSkeleton) {
|
|
22
|
-
return /* @__PURE__ */ jsx(SkeletonAvatar, {});
|
|
23
|
-
}
|
|
24
|
-
if (color === "default") {
|
|
25
|
-
return /* @__PURE__ */ jsx(Avatar$1, {
|
|
26
|
-
ref,
|
|
27
|
-
sx: {
|
|
28
|
-
cursor: "pointer",
|
|
29
|
-
...sx
|
|
30
|
-
},
|
|
31
|
-
...other,
|
|
32
|
-
children
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
return /* @__PURE__ */ jsx(Avatar$1, {
|
|
36
|
-
ref,
|
|
37
|
-
sx: {
|
|
38
|
-
fontWeight: theme.typography.fontWeightMedium,
|
|
39
|
-
color: theme.palette[color].contrastText,
|
|
40
|
-
backgroundColor: theme.palette[color].main,
|
|
41
|
-
cursor: "pointer",
|
|
42
|
-
...sx
|
|
43
|
-
},
|
|
44
|
-
...other,
|
|
45
|
-
children
|
|
46
|
-
});
|
|
47
|
-
});
|
|
48
|
-
Avatar.displayName = "Avatar";
|
|
49
|
-
export {
|
|
50
|
-
Avatar as A
|
|
51
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "@mui/material";
|
|
2
|
-
import "react";
|
|
3
|
-
import "@m4l/core";
|
|
4
|
-
import "../Icon/index.d214a74d.js";
|
|
5
|
-
import "clsx";
|
|
6
|
-
import "react/jsx-runtime";
|
|
7
|
-
import "./IconButton/index.822cdaac.js";
|
|
8
|
-
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.09a89d3d.js";
|
|
10
|
-
import "./Avatar/index.fe06afd7.js";
|
|
11
|
-
import "react-router-dom";
|
|
12
|
-
import "@mui/material/Button";
|
|
13
|
-
import "./Button/index.f9d54780.js";
|
|
14
|
-
import "../Image/index.1af119da.js";
|
|
15
|
-
import "@mui/lab";
|
|
16
|
-
import "./Typography/index.e2d9e3f2.js";
|
|
17
|
-
import "./Popover/index.9f35d0eb.js";
|
|
18
|
-
import "./MenuActions/index.03403529.js";
|
|
19
|
-
import "./Pager/index.6428b07c.js";
|
|
20
|
-
import "./Tab/index.e0653a0a.js";
|