@m4l/components 0.1.70 → 0.1.72
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 +20 -0
- package/components/CommonActions/components/ActionCancel/{index.9d521b2a.js → index.07ba5a89.js} +2 -2
- package/components/CommonActions/components/ActionFormCancel/{index.4756457f.js → index.9bdae569.js} +21 -19
- package/components/CommonActions/components/ActionFormIntro/{index.40321b1b.js → index.e077d11f.js} +2 -2
- package/components/CommonActions/components/ActionIntro/{index.1ba5b02b.js → index.a454d0e4.js} +3 -3
- package/components/CommonActions/components/Actions/{index.154d7cb6.js → index.e190561b.js} +20 -18
- package/components/DataGrid/{index.2f4a0e64.js → index.549bd646.js} +22 -20
- package/components/DynamicFilter/{index.789ab474.js → index.c1a3e2f1.js} +48 -98
- package/components/HelperText/{index.a69e9509.js → index.4c27bfc1.js} +11 -10
- package/components/Icon/{index.caaed284.js → index.9839297c.js} +6 -4
- package/components/Icon/types.d.ts +1 -0
- package/components/Image/{index.82a6cd46.js → index.a88f6341.js} +3 -3
- package/components/LanguagePopover/{index.5af28b9e.js → index.84c51cd3.js} +11 -11
- package/components/ModalDialog/{index.cdfd1ae8.js → index.75ddf6de.js} +19 -5
- package/components/NavLink/{index.251fcf0d.js → index.e88494ef.js} +12 -11
- package/components/NoItemSelected/{index.3b9d16e3.js → index.c3b67da1.js} +1 -1
- package/components/ObjectLogs/{index.57ea68b3.js → index.88bcf75a.js} +17 -15
- package/components/PaperForm/{index.d2d492ea.js → index.b141d583.js} +1 -1
- package/components/Period/{index.fbf074d3.js → index.2ab4f2a1.js} +20 -18
- package/components/Resizeable/{index.aafda79e.js → index.086ff29e.js} +20 -6
- package/components/SideBar/{index.3bc6a634.js → index.90137dc5.js} +55 -40
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/Drawer.d.ts +3 -0
- package/components/SideBar/subcomponents/ContentMobile/subcomponents/types.d.ts +8 -0
- package/components/areas/components/AreasAdmin/index.218451cf.js +289 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/styles.d.ts +4 -0
- package/components/areas/components/AreasAdmin/subcomponents/AreaChip/types.d.ts +4 -0
- package/components/areas/components/AreasViewer/classes/index.d.ts +1 -1
- package/components/areas/components/AreasViewer/classes/types.d.ts +2 -0
- package/components/areas/components/{index.359c2b18.js → AreasViewer/index.51ee3d38.js} +163 -197
- package/components/areas/components/AreasViewer/subcomponents/Area/subcomponents/Window/subcomponents/Header/helper.d.ts +3 -3
- package/components/areas/components/index.ae4cbf2e.js +14 -0
- package/components/areas/constants.66529246.js +6 -0
- package/components/areas/contexts/AreasContext/helper.d.ts +6 -4
- package/components/areas/contexts/AreasContext/{index.de8b4e78.js → index.0b50676d.js} +102 -15
- package/components/areas/contexts/AreasContext/types.d.ts +8 -3
- package/components/areas/contexts/DynamicMFParmsContext/store.d.ts +1 -1
- package/components/areas/contexts/DynamicMFParmsContext/types.d.ts +1 -1
- package/components/areas/contexts/WindowToolsMFContext/types.d.ts +2 -10
- package/components/areas/contexts/{index.771827bb.js → index.b0ce327e.js} +1 -1
- package/components/areas/contexts/index.d.ts +2 -1
- package/components/areas/dictionary.d.ts +2 -0
- package/components/areas/dictionary.e72db809.js +22 -0
- package/components/areas/hooks/index.0184c6f7.js +4 -0
- package/components/areas/hooks/{useArea/index.2adbe001.js → useAreas/index.e868e3d9.js} +1 -1
- package/components/areas/hooks/{index.ae8d8631.js → useWindowToolsMF/index.b7afaf88.js} +1 -3
- package/components/areas/icons.b36751f2.js +17 -0
- package/components/areas/icons.d.ts +2 -0
- package/components/areas/index.05b7b8e2.js +16 -0
- package/components/areas/types.d.ts +25 -3
- package/components/formatters/BooleanFormatter/{index.7eb0498c.js → index.e610de08.js} +1 -1
- package/components/formatters/{index.f6b9ed01.js → index.982e909b.js} +3 -2
- package/components/hook-form/RHFAutocomplete/{index.09c400c3.js → index.b185393e.js} +12 -11
- package/components/hook-form/RHFAutocompleteAsync/{index.e8acff04.js → index.7a569646.js} +2 -2
- package/components/hook-form/RHFCheckbox/{index.70310f35.js → index.7a9ea396.js} +3 -3
- package/components/hook-form/RHFDateTime/{index.7b815072.js → index.2fd1d56b.js} +10 -10
- package/components/hook-form/RHFPeriod/{index.3c7d393c.js → index.df3d3f69.js} +2 -2
- package/components/hook-form/RHFTextField/{index.d4c39859.js → index.e1b50c30.js} +7 -6
- package/components/hook-form/RHFUpload/{index.31044674.js → index.ec977af6.js} +1 -1
- package/components/modal/{WindowBase.6a40a945.js → WindowBase.e5ec6128.js} +11 -11
- package/components/modal/{WindowConfirm.e21763cb.js → WindowConfirm.b89712de.js} +17 -15
- package/components/modal/index.97752555.js +36 -0
- package/components/mui_extended/Accordion/{index.437bb3f8.js → index.d420b666.js} +2 -2
- package/components/mui_extended/Button/{index.f8ce9ccd.js → index.1cd0c4e4.js} +6 -4
- package/components/mui_extended/Button/types.d.ts +2 -0
- package/components/mui_extended/IconButton/{index.57824447.js → index.590049b4.js} +7 -3
- package/components/mui_extended/MenuActions/{index.37043326.js → index.f9eb6463.js} +3 -3
- package/components/mui_extended/Pager/{index.eeed3bd5.js → index.c058b933.js} +1 -1
- package/components/mui_extended/Popover/{index.226f247e.js → index.9f35d0eb.js} +1 -3
- package/components/mui_extended/Popover/types.d.ts +6 -2
- package/components/mui_extended/Typography/{index.b3c6e71c.js → index.1659d310.js} +1 -1
- package/components/mui_extended/index.ec312b5a.js +20 -0
- package/contexts/ModalContext/{index.8e3cd7a8.js → index.92e80136.js} +1 -1
- package/hooks/useModal/{index.d590f506.js → index.18a7cb8f.js} +1 -1
- package/index.js +88 -85
- package/package.json +3 -1
- package/{react-draggable.0d64c8b1.js → react-draggable.21aa9ee1.js} +1 -1
- package/{react-resizable.8307e056.js → react-resizable.e78d1cc8.js} +3 -3
- package/utils/{index.a2312a73.js → index.8608d16c.js} +1 -1
- package/{vendor.8edaef93.js → vendor.d194839d.js} +48 -47
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/styles.d.ts +0 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/styles.d.ts +0 -2
- package/components/areas/index.8a58bcbf.js +0 -50
- package/components/modal/index.438777d9.js +0 -34
- package/components/mui_extended/index.dacbb059.js +0 -19
|
@@ -1,32 +1,34 @@
|
|
|
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.18a7cb8f.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.e190561b.js";
|
|
5
|
+
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.07ba5a89.js";
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.a454d0e4.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
10
|
-
import "../mui_extended/Button/index.
|
|
10
|
+
import "../mui_extended/Button/index.1cd0c4e4.js";
|
|
11
11
|
import "clsx";
|
|
12
12
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
13
|
-
import "../../react-draggable.
|
|
14
|
-
import "../ModalDialog/index.
|
|
15
|
-
import "../Resizeable/index.
|
|
13
|
+
import "../../react-draggable.21aa9ee1.js";
|
|
14
|
+
import "../ModalDialog/index.75ddf6de.js";
|
|
15
|
+
import "../Resizeable/index.086ff29e.js";
|
|
16
16
|
import "@m4l/graphics";
|
|
17
|
+
import { I as Icon } from "../Icon/index.9839297c.js";
|
|
17
18
|
import { styled } from "@mui/material/styles";
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import
|
|
21
|
-
import "../mui_extended/IconButton/index.57824447.js";
|
|
19
|
+
import { b as getVariantColor } from "../../utils/index.8608d16c.js";
|
|
20
|
+
import { W as WindowBase } from "./WindowBase.e5ec6128.js";
|
|
21
|
+
import "../mui_extended/IconButton/index.590049b4.js";
|
|
22
22
|
import "zustand";
|
|
23
|
-
import "../areas/contexts/AreasContext/index.
|
|
24
|
-
import "../areas/components/index.
|
|
23
|
+
import "../areas/contexts/AreasContext/index.0b50676d.js";
|
|
24
|
+
import "../areas/components/AreasAdmin/index.218451cf.js";
|
|
25
25
|
import "zustand/shallow";
|
|
26
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
27
|
+
import "../areas/components/AreasViewer/index.51ee3d38.js";
|
|
26
28
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
27
29
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
28
30
|
import "@mui/lab";
|
|
29
|
-
import "../mui_extended/Typography/index.
|
|
31
|
+
import "../mui_extended/Typography/index.1659d310.js";
|
|
30
32
|
const WrapperMessageIlustration = styled("div")(() => ({
|
|
31
33
|
display: "flex",
|
|
32
34
|
flexDirection: "column",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "../../react-draggable.21aa9ee1.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "../../contexts/ModalContext/index.92e80136.js";
|
|
5
|
+
import "../ModalDialog/index.75ddf6de.js";
|
|
6
|
+
import "../Resizeable/index.086ff29e.js";
|
|
7
|
+
import "react/jsx-runtime";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "../Icon/index.9839297c.js";
|
|
10
|
+
import "clsx";
|
|
11
|
+
import "@m4l/core";
|
|
12
|
+
import "../CommonActions/components/Actions/index.e190561b.js";
|
|
13
|
+
import "@mui/material/Button";
|
|
14
|
+
import "../mui_extended/Button/index.1cd0c4e4.js";
|
|
15
|
+
import "react-hook-form";
|
|
16
|
+
import "./WindowBase.e5ec6128.js";
|
|
17
|
+
import "../mui_extended/IconButton/index.590049b4.js";
|
|
18
|
+
import "../mui_extended/Accordion/index.d420b666.js";
|
|
19
|
+
import "../mui_extended/Avatar/index.fe06afd7.js";
|
|
20
|
+
import "react-router-dom";
|
|
21
|
+
import "../Image/index.a88f6341.js";
|
|
22
|
+
import "@mui/lab";
|
|
23
|
+
import "../mui_extended/Typography/index.1659d310.js";
|
|
24
|
+
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
25
|
+
import "../mui_extended/MenuActions/index.f9eb6463.js";
|
|
26
|
+
import "../mui_extended/Pager/index.c058b933.js";
|
|
27
|
+
import "../mui_extended/Tab/index.e0653a0a.js";
|
|
28
|
+
import "zustand";
|
|
29
|
+
import "../areas/contexts/AreasContext/index.0b50676d.js";
|
|
30
|
+
import "../areas/components/AreasAdmin/index.218451cf.js";
|
|
31
|
+
import "zustand/shallow";
|
|
32
|
+
import "../ScrollBar/index.bbe48f4d.js";
|
|
33
|
+
import "../areas/components/AreasViewer/index.51ee3d38.js";
|
|
34
|
+
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
35
|
+
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
36
|
+
import "./WindowConfirm.b89712de.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Skeleton, 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.590049b4.js";
|
|
3
3
|
import { useEnvironment, useModuleSkeleton } from "@m4l/core";
|
|
4
|
-
import { I as Icon } from "../../Icon/index.
|
|
4
|
+
import { I as Icon } from "../../Icon/index.9839297c.js";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
styled("div")(({
|
|
@@ -4,11 +4,11 @@ import MuiButton from "@mui/material/Button";
|
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
import { useMemo } from "react";
|
|
7
|
-
import { I as Image } from "../../Image/index.
|
|
7
|
+
import { I as Image } from "../../Image/index.a88f6341.js";
|
|
8
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
9
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
9
|
+
import { T as TEST_PROP_ID } from "../../../vendor.d194839d.js";
|
|
10
10
|
import { LoadingButton as LoadingButton$1 } from "@mui/lab";
|
|
11
|
-
import { T as Typography } from "../Typography/index.
|
|
11
|
+
import { T as Typography } from "../Typography/index.1659d310.js";
|
|
12
12
|
const ButtonRoot = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -49,6 +49,8 @@ const Button = (props) => {
|
|
|
49
49
|
variant = "contained",
|
|
50
50
|
className,
|
|
51
51
|
disabled,
|
|
52
|
+
skeletonWidth = "100px",
|
|
53
|
+
skeletonHeight = "28px",
|
|
52
54
|
...others
|
|
53
55
|
} = props;
|
|
54
56
|
const isSkeleton = useModuleSkeleton();
|
|
@@ -70,7 +72,7 @@ const Button = (props) => {
|
|
|
70
72
|
className: classes.skeleton,
|
|
71
73
|
"data-testid": "MuiSkeleton",
|
|
72
74
|
variant: "rectangular",
|
|
73
|
-
width:
|
|
75
|
+
width: skeletonWidth
|
|
74
76
|
})
|
|
75
77
|
});
|
|
76
78
|
};
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { ButtonProps } from '@mui/material';
|
|
2
2
|
export interface ExtendButtonProps extends Omit<ButtonProps, 'size'> {
|
|
3
3
|
size?: 'small' | 'medium';
|
|
4
|
+
skeletonWidth?: number | string;
|
|
5
|
+
skeletonHeight?: number | string;
|
|
4
6
|
}
|
|
5
7
|
export interface OwnerState extends Pick<ExtendButtonProps, 'size' | 'variant'> {
|
|
6
8
|
isDisabled?: boolean;
|
|
@@ -1,9 +1,10 @@
|
|
|
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.9839297c.js";
|
|
5
5
|
import { jsx, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import clsx from "clsx";
|
|
7
|
+
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
7
8
|
import { unstable_composeClasses } from "@mui/base";
|
|
8
9
|
const SkeletonIconButton = (props) => {
|
|
9
10
|
const {
|
|
@@ -63,6 +64,7 @@ const IconButton = (props) => {
|
|
|
63
64
|
const {
|
|
64
65
|
getLabel
|
|
65
66
|
} = useModuleDictionary();
|
|
67
|
+
const isDesktop = useResponsiveDesktop();
|
|
66
68
|
const isSkeleton = useModuleSkeleton();
|
|
67
69
|
const finalTooltip = useMemo(() => {
|
|
68
70
|
if (disabled) {
|
|
@@ -85,7 +87,7 @@ const IconButton = (props) => {
|
|
|
85
87
|
};
|
|
86
88
|
const ownerState = {
|
|
87
89
|
variant,
|
|
88
|
-
size,
|
|
90
|
+
size: isDesktop ? size : "medium",
|
|
89
91
|
isSkeleton,
|
|
90
92
|
isFocus: disabled ? false : isfocus,
|
|
91
93
|
isDisabled: disabled
|
|
@@ -99,6 +101,7 @@ const IconButton = (props) => {
|
|
|
99
101
|
title: finalTooltip || "",
|
|
100
102
|
children: /* @__PURE__ */ jsx(IconButton$1, {
|
|
101
103
|
...other,
|
|
104
|
+
disableRipple: true,
|
|
102
105
|
onFocusVisible: handlerOnFocus,
|
|
103
106
|
onBlur: handlerOnBlur,
|
|
104
107
|
disabled,
|
|
@@ -109,12 +112,13 @@ const IconButton = (props) => {
|
|
|
109
112
|
})
|
|
110
113
|
}) : /* @__PURE__ */ jsx(IconButton$1, {
|
|
111
114
|
...other,
|
|
115
|
+
disableRipple: true,
|
|
112
116
|
onFocusVisible: handlerOnFocus,
|
|
113
117
|
onBlur: handlerOnBlur,
|
|
114
118
|
disabled,
|
|
115
119
|
children: /* @__PURE__ */ jsx(Icon, {
|
|
116
120
|
src,
|
|
117
|
-
size,
|
|
121
|
+
size: isDesktop ? size : "medium",
|
|
118
122
|
rotationAngle
|
|
119
123
|
})
|
|
120
124
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { useState, useMemo } from "react";
|
|
2
2
|
import { useEnvironment, useModuleDictionary } from "@m4l/core";
|
|
3
3
|
import { IconButton, MenuItem } from "@mui/material";
|
|
4
|
-
import { P as Popover } from "../Popover/index.
|
|
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.9839297c.js";
|
|
7
|
+
import { I as IconButton$1 } from "../IconButton/index.590049b4.js";
|
|
8
8
|
import { jsxs, Fragment, jsx } from "react/jsx-runtime";
|
|
9
9
|
styled(IconButton)(() => ({}));
|
|
10
10
|
const LabelMemuItem = styled("div")(({
|
|
@@ -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.590049b4.js";
|
|
5
5
|
import { useEnvironment } from "@m4l/core";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
const WrapperPagerActions = styled("div")(({ theme }) => ({
|
|
@@ -142,7 +142,6 @@ const Popover = (props) => {
|
|
|
142
142
|
const {
|
|
143
143
|
children,
|
|
144
144
|
arrowType = "top-right",
|
|
145
|
-
sx,
|
|
146
145
|
className,
|
|
147
146
|
...other
|
|
148
147
|
} = props;
|
|
@@ -165,8 +164,7 @@ const Popover = (props) => {
|
|
|
165
164
|
PaperProps: {
|
|
166
165
|
sx: {
|
|
167
166
|
p: 1,
|
|
168
|
-
overflow: "inherit"
|
|
169
|
-
...sx
|
|
167
|
+
overflow: "inherit"
|
|
170
168
|
}
|
|
171
169
|
},
|
|
172
170
|
...other,
|
|
@@ -1,9 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ComponentNameToClassKey } from '@mui/material';
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
|
+
import { PopoverProps as MUIPopeverProps, SxProps } from '@mui/material';
|
|
4
|
+
import { OverridesStyleRules } from '@mui/material/styles/overrides';
|
|
2
5
|
export declare type ArrowType = 'no-arrow' | 'top-left' | 'top-center' | 'top-right' | 'bottom-left' | 'bottom-center' | 'bottom-right' | 'left-top' | 'left-center' | 'left-bottom' | 'right-top' | 'right-center' | 'right-bottom';
|
|
3
6
|
export declare type ArrowStyleProps = {
|
|
4
7
|
arrowType: ArrowType;
|
|
5
8
|
};
|
|
6
9
|
export declare type OwnerState = ArrowStyleProps;
|
|
7
|
-
export interface PopoverProps extends MUIPopeverProps {
|
|
10
|
+
export interface PopoverProps extends Omit<MUIPopeverProps, 'sx'> {
|
|
8
11
|
arrowType?: ArrowType;
|
|
12
|
+
sx?: SxProps<Theme> | Partial<OverridesStyleRules<string, ComponentNameToClassKey, Theme>>;
|
|
9
13
|
}
|
|
@@ -2,7 +2,7 @@ import { useModuleSkeleton } from "@m4l/core";
|
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, generateUtilityClass, Typography as Typography$1 } from "@mui/material";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
5
|
+
import { T as TEST_PROP_ID } from "../../../vendor.d194839d.js";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
7
|
const WarpperTypography = styled("div")(({
|
|
8
8
|
theme
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "@mui/material";
|
|
2
|
+
import "react";
|
|
3
|
+
import "@m4l/core";
|
|
4
|
+
import "../Icon/index.9839297c.js";
|
|
5
|
+
import "clsx";
|
|
6
|
+
import "react/jsx-runtime";
|
|
7
|
+
import "./IconButton/index.590049b4.js";
|
|
8
|
+
import "@m4l/graphics";
|
|
9
|
+
import "./Accordion/index.d420b666.js";
|
|
10
|
+
import "./Avatar/index.fe06afd7.js";
|
|
11
|
+
import "react-router-dom";
|
|
12
|
+
import "@mui/material/Button";
|
|
13
|
+
import "./Button/index.1cd0c4e4.js";
|
|
14
|
+
import "../Image/index.a88f6341.js";
|
|
15
|
+
import "@mui/lab";
|
|
16
|
+
import "./Typography/index.1659d310.js";
|
|
17
|
+
import "./Popover/index.9f35d0eb.js";
|
|
18
|
+
import "./MenuActions/index.f9eb6463.js";
|
|
19
|
+
import "./Pager/index.c058b933.js";
|
|
20
|
+
import "./Tab/index.e0653a0a.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.75ddf6de.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.92e80136.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|
package/index.js
CHANGED
|
@@ -2,114 +2,117 @@ import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
|
2
2
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
3
3
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
4
4
|
import { v as v4, a, b } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
5
|
-
import { I, a as a2 } from "./components/Icon/index.
|
|
5
|
+
import { I, a as a2 } from "./components/Icon/index.9839297c.js";
|
|
6
6
|
import { M } from "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
7
7
|
import { M as M2 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
8
8
|
import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
9
9
|
import { P } from "./components/animate/PropagateLoader/index.be5b02c3.js";
|
|
10
|
-
import { A
|
|
11
|
-
import { A as A2
|
|
10
|
+
import { A } from "./components/areas/components/AreasAdmin/index.218451cf.js";
|
|
11
|
+
import { A as A2 } from "./components/areas/components/AreasViewer/index.51ee3d38.js";
|
|
12
|
+
import { A as A3, a as a3 } from "./components/areas/contexts/AreasContext/index.0b50676d.js";
|
|
12
13
|
import { a as a4, W } from "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
13
14
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
14
|
-
import { u as u2 } from "./components/areas/hooks/index.
|
|
15
|
-
import {
|
|
16
|
-
import { R, g as g2 } from "./components/hook-form/RHFAutocomplete/index.
|
|
17
|
-
import { R as R2, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.
|
|
18
|
-
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.
|
|
19
|
-
import { R as R4 } from "./components/hook-form/RHFDateTime/index.
|
|
15
|
+
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
16
|
+
import { A as A4, D, L as L2, a as a5, g } from "./components/areas/dictionary.e72db809.js";
|
|
17
|
+
import { R, g as g2 } from "./components/hook-form/RHFAutocomplete/index.b185393e.js";
|
|
18
|
+
import { R as R2, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.7a569646.js";
|
|
19
|
+
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.7a9ea396.js";
|
|
20
|
+
import { R as R4 } from "./components/hook-form/RHFDateTime/index.2fd1d56b.js";
|
|
20
21
|
import { R as R5 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
21
22
|
import { R as R6 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
22
|
-
import { R as R7, a as
|
|
23
|
+
import { R as R7, a as a6 } from "./components/hook-form/RHFTextField/index.e1b50c30.js";
|
|
23
24
|
import { R as R8 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
24
|
-
import { R as R9 } from "./components/hook-form/RHFPeriod/index.
|
|
25
|
-
import { P as P2, g as g4 } from "./components/Period/index.
|
|
26
|
-
import { R as R10 } from "./components/hook-form/RHFUpload/index.
|
|
27
|
-
import { A as
|
|
28
|
-
import { A as
|
|
25
|
+
import { R as R9 } from "./components/hook-form/RHFPeriod/index.df3d3f69.js";
|
|
26
|
+
import { P as P2, g as g4 } from "./components/Period/index.2ab4f2a1.js";
|
|
27
|
+
import { R as R10 } from "./components/hook-form/RHFUpload/index.ec977af6.js";
|
|
28
|
+
import { A as A5 } from "./components/mui_extended/Accordion/index.d420b666.js";
|
|
29
|
+
import { A as A6 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
|
|
29
30
|
import { B } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
30
31
|
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
31
|
-
import { B as B3, I as I2, L as L3 } from "./components/mui_extended/Button/index.
|
|
32
|
+
import { B as B3, I as I2, L as L3 } from "./components/mui_extended/Button/index.1cd0c4e4.js";
|
|
32
33
|
import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
33
|
-
import { I as I3 } from "./components/mui_extended/IconButton/index.
|
|
34
|
+
import { I as I3 } from "./components/mui_extended/IconButton/index.590049b4.js";
|
|
34
35
|
import { L as L4 } from "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
35
36
|
import { L as L5 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
36
|
-
import { M as M3 } from "./components/mui_extended/MenuActions/index.
|
|
37
|
-
import { P as P3 } from "./components/mui_extended/Popover/index.
|
|
38
|
-
import { P as P4, g as g5 } from "./components/mui_extended/Pager/index.
|
|
37
|
+
import { M as M3 } from "./components/mui_extended/MenuActions/index.f9eb6463.js";
|
|
38
|
+
import { P as P3 } from "./components/mui_extended/Popover/index.9f35d0eb.js";
|
|
39
|
+
import { P as P4, g as g5 } from "./components/mui_extended/Pager/index.c058b933.js";
|
|
39
40
|
import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
40
|
-
import { T as T2 } from "./components/mui_extended/Typography/index.
|
|
41
|
-
import { B as B4 } from "./components/formatters/BooleanFormatter/index.
|
|
41
|
+
import { T as T2 } from "./components/mui_extended/Typography/index.1659d310.js";
|
|
42
|
+
import { B as B4 } from "./components/formatters/BooleanFormatter/index.e610de08.js";
|
|
42
43
|
import { D as D2, g as g6 } from "./components/formatters/DateFormatter/index.578a9f53.js";
|
|
43
44
|
import { U, g as g7 } from "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
|
|
44
45
|
import { P as P5, g as g8 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
|
|
45
|
-
import { C as C2, F, P as P6, g as g9, a as
|
|
46
|
+
import { C as C2, F, P as P6, g as g9, a as a7, b as b2 } from "./components/formatters/index.982e909b.js";
|
|
46
47
|
import { P as P7, g as g10 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
47
|
-
import { D as D3, N, T as T3, c
|
|
48
|
-
import { c as
|
|
49
|
-
import { c as
|
|
50
|
-
import { c as
|
|
51
|
-
import { c as
|
|
52
|
-
import { D as D4, g as g12 } from "./components/DynamicFilter/index.
|
|
53
|
-
import { H, e } from "./components/HelperText/index.
|
|
54
|
-
import { A as
|
|
55
|
-
import { A as
|
|
56
|
-
import { A as
|
|
57
|
-
import { A as
|
|
58
|
-
import { A as
|
|
59
|
-
import { a as
|
|
60
|
-
import { L as L6 } from "./components/LanguagePopover/index.
|
|
61
|
-
import { I as I4 } from "./components/Image/index.
|
|
48
|
+
import { D as D3, N, T as T3, c, d, b as b3, a as a8, g as g11 } from "./components/DataGrid/index.549bd646.js";
|
|
49
|
+
import { c as c2 } from "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
|
|
50
|
+
import { c as c3 } from "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
51
|
+
import { c as c4 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
|
|
52
|
+
import { c as c5 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
53
|
+
import { D as D4, g as g12 } from "./components/DynamicFilter/index.c1a3e2f1.js";
|
|
54
|
+
import { H, e } from "./components/HelperText/index.4c27bfc1.js";
|
|
55
|
+
import { A as A7, d as d2, g as g13 } from "./components/CommonActions/components/Actions/index.e190561b.js";
|
|
56
|
+
import { A as A8 } from "./components/CommonActions/components/ActionCancel/index.07ba5a89.js";
|
|
57
|
+
import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.a454d0e4.js";
|
|
58
|
+
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.9bdae569.js";
|
|
59
|
+
import { A as A11 } from "./components/CommonActions/components/ActionFormIntro/index.e077d11f.js";
|
|
60
|
+
import { a as a9, A as A12, D as D5 } from "./vendor.d194839d.js";
|
|
61
|
+
import { L as L6 } from "./components/LanguagePopover/index.84c51cd3.js";
|
|
62
|
+
import { I as I4 } from "./components/Image/index.a88f6341.js";
|
|
62
63
|
import { L as L7 } from "./components/Loadable/index.117eaced.js";
|
|
63
|
-
import { M as M4, d as d3, g as g14 } from "./components/ModalDialog/index.
|
|
64
|
-
import { W as W2 } from "./components/modal/WindowConfirm.
|
|
65
|
-
import { W as W3 } from "./components/modal/WindowBase.
|
|
66
|
-
import { N as N2 } from "./components/NavLink/index.
|
|
67
|
-
import { N as N3, d as d4, g as g15 } from "./components/NoItemSelected/index.
|
|
68
|
-
import { O, d as d5, g as g16 } from "./components/ObjectLogs/index.
|
|
69
|
-
import { P as P8 } from "./components/PaperForm/index.
|
|
64
|
+
import { M as M4, d as d3, g as g14 } from "./components/ModalDialog/index.75ddf6de.js";
|
|
65
|
+
import { W as W2 } from "./components/modal/WindowConfirm.b89712de.js";
|
|
66
|
+
import { W as W3 } from "./components/modal/WindowBase.e5ec6128.js";
|
|
67
|
+
import { N as N2 } from "./components/NavLink/index.e88494ef.js";
|
|
68
|
+
import { N as N3, d as d4, g as g15 } from "./components/NoItemSelected/index.c3b67da1.js";
|
|
69
|
+
import { O, d as d5, g as g16 } from "./components/ObjectLogs/index.88bcf75a.js";
|
|
70
|
+
import { P as P8 } from "./components/PaperForm/index.b141d583.js";
|
|
70
71
|
import { H as H2 } from "./components/Page/index.4237c241.js";
|
|
71
72
|
import { P as P9 } from "./components/PropertyValue/index.dfcfe1ba.js";
|
|
72
|
-
import { R as R11 } from "./components/Resizeable/index.
|
|
73
|
+
import { R as R11 } from "./components/Resizeable/index.086ff29e.js";
|
|
73
74
|
import { S } from "./components/ScrollBar/index.bbe48f4d.js";
|
|
74
75
|
import { S as S2 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
75
76
|
import { S as S3 } from "./components/SplitLayout/index.5a8355d8.js";
|
|
76
|
-
import { S as S4 } from "./components/SideBar/index.
|
|
77
|
-
import { a as
|
|
78
|
-
import { M as M6, a as
|
|
77
|
+
import { S as S4 } from "./components/SideBar/index.90137dc5.js";
|
|
78
|
+
import { a as a10, D as D6, M as M5 } from "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
79
|
+
import { M as M6, a as a11 } from "./contexts/ModalContext/index.92e80136.js";
|
|
79
80
|
import { R as R12 } from "./contexts/RHFormContext/index.a7511399.js";
|
|
80
81
|
import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
81
|
-
import { u as u4 } from "./hooks/useModal/index.
|
|
82
|
+
import { u as u4 } from "./hooks/useModal/index.18a7cb8f.js";
|
|
82
83
|
import { L as L8 } from "./assets/Logo/index.228dcb5a.js";
|
|
83
84
|
import "framer-motion";
|
|
84
85
|
import "react";
|
|
85
86
|
import "@mui/material";
|
|
86
87
|
import "react/jsx-runtime";
|
|
88
|
+
import "clsx";
|
|
87
89
|
import "@m4l/core";
|
|
88
90
|
import "@mui/base";
|
|
89
91
|
import "@mui/material/styles";
|
|
90
92
|
import "./node_modules.416f1da3.js";
|
|
91
|
-
import "./components/areas/hooks/
|
|
93
|
+
import "./components/areas/hooks/useAreas/index.e868e3d9.js";
|
|
92
94
|
import "zustand";
|
|
93
|
-
import "
|
|
94
|
-
import "clsx";
|
|
95
|
+
import "yup";
|
|
95
96
|
import "react-router-dom";
|
|
96
97
|
import "@mui/material/Button";
|
|
97
98
|
import "@mui/lab";
|
|
98
|
-
import "./utils/index.
|
|
99
|
-
import "./
|
|
100
|
-
import "./
|
|
101
|
-
import "prop-types";
|
|
102
|
-
import "react-dom";
|
|
103
|
-
import "react-grid-layout";
|
|
99
|
+
import "./utils/index.8608d16c.js";
|
|
100
|
+
import "./components/areas/constants.66529246.js";
|
|
101
|
+
import "./components/areas/icons.b36751f2.js";
|
|
104
102
|
import "react-hook-form";
|
|
105
103
|
import "lodash/debounce";
|
|
106
104
|
import "@mui/x-date-pickers";
|
|
107
105
|
import "@m4l/graphics";
|
|
106
|
+
import "./react-draggable.21aa9ee1.js";
|
|
107
|
+
import "prop-types";
|
|
108
|
+
import "react-dom";
|
|
109
|
+
import "zustand/shallow";
|
|
108
110
|
import "lodash/isString";
|
|
109
111
|
import "react-dropzone";
|
|
112
|
+
import "./react-resizable.e78d1cc8.js";
|
|
113
|
+
import "react-grid-layout";
|
|
110
114
|
import "react-dnd";
|
|
111
115
|
import "react-dnd-html5-backend";
|
|
112
|
-
import "yup";
|
|
113
116
|
import "@hookform/resolvers/yup";
|
|
114
117
|
import "./react-json-view.57125fcf.js";
|
|
115
118
|
import "./commonjs.565e6834.js";
|
|
@@ -123,20 +126,20 @@ import "react-helmet-async";
|
|
|
123
126
|
import "simplebar-react";
|
|
124
127
|
import "simplebar/dist/simplebar.min.css?used";
|
|
125
128
|
export {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
A4 as AREAS_DICTIONARY_ID,
|
|
130
|
+
A5 as Accordion,
|
|
131
|
+
a9 as AccountPopover,
|
|
132
|
+
A8 as ActionCancel,
|
|
133
|
+
A10 as ActionFormCancel,
|
|
134
|
+
A11 as ActionFormIntro,
|
|
135
|
+
A9 as ActionIntro,
|
|
136
|
+
A7 as Actions,
|
|
137
|
+
A12 as AppBar,
|
|
135
138
|
A as AreasAdmin,
|
|
136
|
-
|
|
139
|
+
A3 as AreasContext,
|
|
137
140
|
a3 as AreasProvider,
|
|
138
|
-
|
|
139
|
-
|
|
141
|
+
A2 as AreasViewer,
|
|
142
|
+
A6 as Avatar,
|
|
140
143
|
B4 as BooleanFormatter,
|
|
141
144
|
B as BoxIcon,
|
|
142
145
|
B2 as Breadcrumbs,
|
|
@@ -148,7 +151,7 @@ export {
|
|
|
148
151
|
D2 as DateFormatter,
|
|
149
152
|
D5 as DraggableWindow,
|
|
150
153
|
D4 as DynamicFilter,
|
|
151
|
-
|
|
154
|
+
a10 as DynamicMFParmsContext,
|
|
152
155
|
D6 as DynamicMFParmsProvider,
|
|
153
156
|
F as FORMATTER_DICTIONARY,
|
|
154
157
|
H2 as HelmetPage,
|
|
@@ -170,7 +173,7 @@ export {
|
|
|
170
173
|
M3 as MenuActions,
|
|
171
174
|
M6 as ModalContext,
|
|
172
175
|
M4 as ModalDialog,
|
|
173
|
-
|
|
176
|
+
a11 as ModalProvider,
|
|
174
177
|
M as MotionContainer,
|
|
175
178
|
M2 as MotionLazyContainer,
|
|
176
179
|
N2 as NavLink,
|
|
@@ -195,7 +198,7 @@ export {
|
|
|
195
198
|
R8 as RHFRadioGroup,
|
|
196
199
|
R6 as RHFSelect,
|
|
197
200
|
R7 as RHFTextField,
|
|
198
|
-
|
|
201
|
+
a6 as RHFTextFieldPassword,
|
|
199
202
|
R10 as RHFUploadImage,
|
|
200
203
|
R12 as RHFormProvider,
|
|
201
204
|
R11 as ResizeableWindow,
|
|
@@ -211,29 +214,29 @@ export {
|
|
|
211
214
|
W2 as WindowConfirm,
|
|
212
215
|
a4 as WindowToolsMFContext,
|
|
213
216
|
W as WindowToolsMFProvider,
|
|
214
|
-
|
|
217
|
+
c as columnBooleanFormatter,
|
|
215
218
|
d as columnConcatenatedValuesFormatter,
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
219
|
+
b3 as columnDateFormatter,
|
|
220
|
+
c4 as columnNestedValueFormatter,
|
|
221
|
+
c3 as columnPointsFormatter,
|
|
222
|
+
c5 as columnPriceFormatter,
|
|
223
|
+
c2 as columnUncertaintyFormatter,
|
|
221
224
|
d2 as defaultCommonActionsDictionary,
|
|
222
225
|
d3 as defaultModalDialogDictionary,
|
|
223
226
|
d4 as defaultNoItemSelectedDictionary,
|
|
224
227
|
d5 as defaultObjectLogDictionary,
|
|
225
228
|
e as errorLabelClasses,
|
|
226
|
-
|
|
229
|
+
a5 as getAreasComponentsDictionary,
|
|
227
230
|
g as getAreasDictionary,
|
|
228
231
|
g13 as getCommonActionsDictionary,
|
|
229
|
-
|
|
232
|
+
a8 as getDataGridRowsFromSet,
|
|
230
233
|
g12 as getDynamicFilterComponentsDictionary,
|
|
231
234
|
g9 as getFormatConcatenated,
|
|
232
235
|
g6 as getFormatDate,
|
|
233
|
-
|
|
236
|
+
a7 as getFormatPeriod,
|
|
234
237
|
g8 as getFormatPoints,
|
|
235
238
|
g10 as getFormatPrice,
|
|
236
|
-
|
|
239
|
+
b2 as getFormattersComponentsDictionary,
|
|
237
240
|
g11 as getGridComponentsDictionary,
|
|
238
241
|
g14 as getModalDialogComponentsDictionary,
|
|
239
242
|
g15 as getNoItemSelectedComponentsDictionary,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.72",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@emotion/react": "^11.9.0",
|
|
@@ -10,6 +10,8 @@
|
|
|
10
10
|
"@m4l/graphics": "*",
|
|
11
11
|
"@m4l/styles": "*",
|
|
12
12
|
"@mui/lab": "5.0.0-alpha.89",
|
|
13
|
+
"@mui/material": "5.10.4",
|
|
14
|
+
"@mui/x-date-pickers": "6.6.0",
|
|
13
15
|
"immer": "^9.0.21",
|
|
14
16
|
"install": "^0.13.0",
|
|
15
17
|
"lodash.clonedeep": "^4.5.0",
|
|
@@ -2,7 +2,7 @@ import React__default from "react";
|
|
|
2
2
|
import require$$1 from "prop-types";
|
|
3
3
|
import require$$2 from "react-dom";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { s as shims, l as log, d as domFns, p as positionFns } from "./utils/index.
|
|
5
|
+
import { s as shims, l as log, d as domFns, p as positionFns } from "./utils/index.8608d16c.js";
|
|
6
6
|
var cjs = { exports: {} };
|
|
7
7
|
var Draggable$1 = {};
|
|
8
8
|
var DraggableCore$2 = {};
|