@m4l/components 0.1.80 → 0.1.81
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 +4 -2
- package/components/AccountPopover/{index.00d1d15f.js → index.fea740a5.js} +2 -2
- package/components/AppBar/{index.c85b100d.js → index.6bdee075.js} +2 -2
- package/components/CommonActions/components/ActionCancel/{index.1051a117.js → index.6928b5ae.js} +1 -1
- package/components/CommonActions/components/ActionFormCancel/{index.a0d727b2.js → index.28d32483.js} +9 -9
- package/components/CommonActions/components/ActionFormIntro/{index.a20dc88d.js → index.f044e93c.js} +1 -1
- package/components/CommonActions/components/ActionIntro/{index.bfe3256c.js → index.8b1b3afc.js} +1 -1
- package/components/CommonActions/components/Actions/{index.19d67bc6.js → index.265d99c8.js} +7 -7
- package/components/DataGrid/{index.2f175eba.js → index.820e0043.js} +18 -676
- package/components/DataGrid/subcomponents/Actions/index.43325b59.js +618 -0
- package/components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js +64 -0
- package/components/DynamicFilter/{index.c1f9d560.js → index.2b80238b.js} +20 -20
- package/components/GridLayout/GridLayout.d.ts +1 -0
- package/components/GridLayout/classes/index.d.ts +4 -0
- package/components/GridLayout/classes/types.d.ts +17 -0
- package/components/GridLayout/constants.d.ts +26 -0
- package/components/GridLayout/{index.a792aacb.js → index.76bccc4f.js} +322 -575
- package/components/GridLayout/index.d.ts +4 -3
- package/components/GridLayout/subcomponents/Griditem/index.01fc14c3.js +370 -0
- package/components/GridLayout/subcomponents/Griditem/index.d.ts +9 -0
- package/components/GridLayout/subcomponents/Griditem/types.d.ts +103 -0
- package/components/GridLayout/subcomponents/Responsive/helper.d.ts +10 -0
- package/components/GridLayout/subcomponents/Responsive/index.d.ts +15 -2
- package/components/GridLayout/{Responsive/index.1671380a.js → subcomponents/Responsive/index.e589d8bf.js} +95 -139
- package/components/GridLayout/subcomponents/Responsive/responsiveUtils.d.ts +3 -6
- package/components/GridLayout/subcomponents/Responsive/types.d.ts +114 -33
- package/components/GridLayout/{WidthProvider/index.9a26dfe4.js → subcomponents/WidthProvider/index.50dafd87.js} +5 -5
- package/components/GridLayout/subcomponents/WidthProvider/index.d.ts +4 -5
- package/components/GridLayout/types.d.ts +83 -18
- package/components/GridLayout/utils.d.ts +15 -12
- package/components/HelperText/{index.6ef76993.js → index.2c408d8a.js} +2 -2
- package/components/LanguagePopover/{index.1564bd08.js → index.4596bf54.js} +2 -2
- package/components/ModalDialog/{index.fbc4cd71.js → index.62ffad3a.js} +3 -3
- package/components/NavLink/{index.6c9c2588.js → index.68392bd4.js} +2 -2
- package/components/ObjectLogs/{index.eab1c15f.js → index.665e043d.js} +11 -11
- package/components/Period/{index.26071a16.js → index.7d44c0e5.js} +8 -8
- package/components/PropertyValue/{index.18d3c0fd.js → index.a66988e1.js} +1 -1
- package/components/areas/components/AreasAdmin/{index.7a0dabbe.js → index.5562f65f.js} +19 -19
- package/components/areas/components/AreasViewer/{index.fd49f06c.js → index.1004b7a0.js} +31 -143
- package/components/areas/components/{index.7756928a.js → index.a441c8b1.js} +5 -5
- package/components/areas/contexts/AreasContext/helper.d.ts +2 -2
- package/components/areas/contexts/AreasContext/{index.0a08a08b.js → index.4bf1eabe.js} +12 -6
- package/components/areas/contexts/AreasContext/types.d.ts +4 -4
- package/components/areas/contexts/{index.b303b664.js → index.2938bc5a.js} +1 -1
- package/components/areas/hooks/useAreas/{index.c6eb2569.js → index.c77a2416.js} +1 -1
- package/components/areas/{index.6e67d89a.js → index.09851bae.js} +5 -5
- package/components/hook-form/RHFAutocomplete/{index.d1bbb015.js → index.9a9d7c73.js} +3 -3
- package/components/hook-form/RHFAutocompleteAsync/{index.f9a9ef48.js → index.172df421.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.7b4a21d7.js → index.47f0157b.js} +3 -3
- package/components/hook-form/RHFDateTime/{index.46cf616e.js → index.f46e987f.js} +3 -3
- package/components/hook-form/RHFPeriod/{index.ce513149.js → index.2e07ba7b.js} +2 -2
- package/components/hook-form/RHFTextField/{index.f7ee202c.js → index.253620eb.js} +1 -1
- package/components/hook-form/RHFUpload/{index.1befd5bb.js → index.9f00121f.js} +3 -3
- package/components/modal/{WindowBase.7e19843e.js → WindowBase.37b59511.js} +4 -4
- package/components/modal/{WindowConfirm.12a9608a.js → WindowConfirm.1a8c8c21.js} +10 -10
- package/components/modal/{index.b0a7236c.js → index.c8e23b8d.js} +7 -7
- package/components/mui_extended/Accordion/{index.a6447bf8.js → index.fa658639.js} +1 -1
- package/components/mui_extended/Tab/{index.c39a6681.js → index.f94d233e.js} +1 -1
- package/components/mui_extended/{index.d78bde19.js → index.07fcc38f.js} +2 -2
- package/contexts/ModalContext/{index.89805978.js → index.66e060a3.js} +1 -1
- package/hooks/useModal/{index.e1c5c31e.js → index.61968b84.js} +1 -1
- package/index.js +61 -58
- package/package.json +1 -2
- package/{vendor.f57d47a7.js → vendor.fefd45a3.js} +39 -36
- package/components/GridLayout/subcomponents/GridItem/index.d.ts +0 -26
- package/components/GridLayout/subcomponents/GridItem/types.d.ts +0 -78
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { generateUtilityClasses, generateUtilityClass } from "@mui/material";
|
|
2
2
|
import "../../react-draggable.7abb5d0a.js";
|
|
3
3
|
import "react";
|
|
4
|
-
import "../../contexts/ModalContext/index.
|
|
4
|
+
import "../../contexts/ModalContext/index.66e060a3.js";
|
|
5
5
|
import "../Resizeable/index.9a9c79a4.js";
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "@m4l/graphics";
|
|
@@ -9,12 +9,12 @@ import "../Icon/index.9fcd1476.js";
|
|
|
9
9
|
import "clsx";
|
|
10
10
|
import "@m4l/core";
|
|
11
11
|
import { unstable_composeClasses } from "@mui/base";
|
|
12
|
-
import "../CommonActions/components/Actions/index.
|
|
12
|
+
import "../CommonActions/components/Actions/index.265d99c8.js";
|
|
13
13
|
import "@mui/material/Button";
|
|
14
14
|
import "../mui_extended/Button/index.4288f9fc.js";
|
|
15
15
|
import "react-hook-form";
|
|
16
16
|
import "../mui_extended/IconButton/index.12f1a3c3.js";
|
|
17
|
-
import "../mui_extended/Accordion/index.
|
|
17
|
+
import "../mui_extended/Accordion/index.fa658639.js";
|
|
18
18
|
import "../mui_extended/Typography/index.443590d6.js";
|
|
19
19
|
import "../mui_extended/Avatar/index.75e6ed57.js";
|
|
20
20
|
import "react-router-dom";
|
|
@@ -25,14 +25,14 @@ import "@mui/lab";
|
|
|
25
25
|
import "../mui_extended/MenuActions/index.43a2e1ae.js";
|
|
26
26
|
import "../mui_extended/Popover/index.9f35d0eb.js";
|
|
27
27
|
import "../mui_extended/Pager/index.82e89328.js";
|
|
28
|
-
import "../mui_extended/Tab/index.
|
|
28
|
+
import "../mui_extended/Tab/index.f94d233e.js";
|
|
29
29
|
import "../mui_extended/Tooltip/index.5a795dcd.js";
|
|
30
30
|
import "zustand";
|
|
31
|
-
import "../areas/contexts/AreasContext/index.
|
|
32
|
-
import "../areas/components/AreasAdmin/index.
|
|
31
|
+
import "../areas/contexts/AreasContext/index.4bf1eabe.js";
|
|
32
|
+
import "../areas/components/AreasAdmin/index.5562f65f.js";
|
|
33
33
|
import "zustand/shallow";
|
|
34
34
|
import "../ScrollBar/index.bbe48f4d.js";
|
|
35
|
-
import "../areas/components/AreasViewer/index.
|
|
35
|
+
import "../areas/components/AreasViewer/index.1004b7a0.js";
|
|
36
36
|
import "../LinearProgressIndeterminate/index.60dabc06.js";
|
|
37
37
|
import "../areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
38
38
|
import "../areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
@@ -6,7 +6,7 @@ import { I as Icon } from "../../Icon/index.9fcd1476.js";
|
|
|
6
6
|
import { T as Typography } from "../Typography/index.443590d6.js";
|
|
7
7
|
import clsx from "clsx";
|
|
8
8
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
9
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
9
|
+
import { g as getNameDataTestId } from "../../../vendor.fefd45a3.js";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
const componentName = "M4LAccordion";
|
|
12
12
|
generateUtilityClasses(componentName, [
|
|
@@ -4,7 +4,7 @@ import { styled } from "@mui/material/styles";
|
|
|
4
4
|
import { unstable_composeClasses } from "@mui/base";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { T as TEST_PROP_ID } from "../../../test/constants_no_mock.86c553a9.js";
|
|
7
|
-
import { g as getNameDataTestId } from "../../../vendor.
|
|
7
|
+
import { g as getNameDataTestId } from "../../../vendor.fefd45a3.js";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
const TabRoot = styled("div")(({
|
|
10
10
|
theme
|
|
@@ -6,7 +6,7 @@ import "clsx";
|
|
|
6
6
|
import "react/jsx-runtime";
|
|
7
7
|
import "./IconButton/index.12f1a3c3.js";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
-
import "./Accordion/index.
|
|
9
|
+
import "./Accordion/index.fa658639.js";
|
|
10
10
|
import "./Typography/index.443590d6.js";
|
|
11
11
|
import "./Avatar/index.75e6ed57.js";
|
|
12
12
|
import "react-router-dom";
|
|
@@ -19,5 +19,5 @@ import "@mui/lab";
|
|
|
19
19
|
import "./MenuActions/index.43a2e1ae.js";
|
|
20
20
|
import "./Popover/index.9f35d0eb.js";
|
|
21
21
|
import "./Pager/index.82e89328.js";
|
|
22
|
-
import "./Tab/index.
|
|
22
|
+
import "./Tab/index.f94d233e.js";
|
|
23
23
|
import "./Tooltip/index.5a795dcd.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createContext, useState } from "react";
|
|
2
|
-
import { M as ModalDialog } from "../../components/ModalDialog/index.
|
|
2
|
+
import { M as ModalDialog } from "../../components/ModalDialog/index.62ffad3a.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.66e060a3.js";
|
|
3
3
|
function useModal() {
|
|
4
4
|
const context = useContext(ModalContext);
|
|
5
5
|
if (!context)
|
package/index.js
CHANGED
|
@@ -7,25 +7,25 @@ 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.7fab43c8.js";
|
|
10
|
-
import { A } from "./components/areas/components/AreasAdmin/index.
|
|
11
|
-
import { A as A2 } from "./components/areas/components/AreasViewer/index.
|
|
12
|
-
import { A as A3, a as a2 } from "./components/areas/contexts/AreasContext/index.
|
|
10
|
+
import { A } from "./components/areas/components/AreasAdmin/index.5562f65f.js";
|
|
11
|
+
import { A as A2 } from "./components/areas/components/AreasViewer/index.1004b7a0.js";
|
|
12
|
+
import { A as A3, a as a2 } from "./components/areas/contexts/AreasContext/index.4bf1eabe.js";
|
|
13
13
|
import { a as a3, W } from "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
14
14
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.e52c5392.js";
|
|
15
15
|
import { u as u2 } from "./components/areas/hooks/useWindowToolsMF/index.b7afaf88.js";
|
|
16
16
|
import { A as A4, D, L as L2, a as a4, g } from "./components/areas/dictionary.afb7e3d9.js";
|
|
17
|
-
import { R, g as g2 } from "./components/hook-form/RHFAutocomplete/index.
|
|
18
|
-
import { R as R2, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.
|
|
19
|
-
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.
|
|
20
|
-
import { R as R4 } from "./components/hook-form/RHFDateTime/index.
|
|
17
|
+
import { R, g as g2 } from "./components/hook-form/RHFAutocomplete/index.9a9d7c73.js";
|
|
18
|
+
import { R as R2, g as g3 } from "./components/hook-form/RHFAutocompleteAsync/index.172df421.js";
|
|
19
|
+
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.47f0157b.js";
|
|
20
|
+
import { R as R4 } from "./components/hook-form/RHFDateTime/index.f46e987f.js";
|
|
21
21
|
import { R as R5 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
22
22
|
import { R as R6 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
23
|
-
import { b as b2, c, a as a5, R as R7, d } from "./components/hook-form/RHFTextField/index.
|
|
23
|
+
import { b as b2, c, a as a5, R as R7, d } from "./components/hook-form/RHFTextField/index.253620eb.js";
|
|
24
24
|
import { R as R8 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
25
|
-
import { R as R9 } from "./components/hook-form/RHFPeriod/index.
|
|
26
|
-
import { P as P2, g as g4 } from "./components/Period/index.
|
|
27
|
-
import { R as R10 } from "./components/hook-form/RHFUpload/index.
|
|
28
|
-
import { A as A5 } from "./components/mui_extended/Accordion/index.
|
|
25
|
+
import { R as R9 } from "./components/hook-form/RHFPeriod/index.2e07ba7b.js";
|
|
26
|
+
import { P as P2, g as g4 } from "./components/Period/index.7d44c0e5.js";
|
|
27
|
+
import { R as R10 } from "./components/hook-form/RHFUpload/index.9f00121f.js";
|
|
28
|
+
import { A as A5 } from "./components/mui_extended/Accordion/index.fa658639.js";
|
|
29
29
|
import { A as A6 } from "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
30
30
|
import { B } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
31
31
|
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
@@ -39,7 +39,7 @@ import { L as L5 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.
|
|
|
39
39
|
import { M as M3 } from "./components/mui_extended/MenuActions/index.43a2e1ae.js";
|
|
40
40
|
import { P as P3 } from "./components/mui_extended/Popover/index.9f35d0eb.js";
|
|
41
41
|
import { P as P4, g as g5 } from "./components/mui_extended/Pager/index.82e89328.js";
|
|
42
|
-
import { T } from "./components/mui_extended/Tab/index.
|
|
42
|
+
import { T } from "./components/mui_extended/Tab/index.f94d233e.js";
|
|
43
43
|
import { T as T2 } from "./components/mui_extended/Tooltip/index.5a795dcd.js";
|
|
44
44
|
import { T as T3 } from "./components/mui_extended/Typography/index.443590d6.js";
|
|
45
45
|
import { B as B5 } from "./components/formatters/BooleanFormatter/index.e8de8e4c.js";
|
|
@@ -48,48 +48,49 @@ import { U, g as g7 } from "./components/formatters/UncertaintyFormatter/index.0
|
|
|
48
48
|
import { P as P5, g as g8 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
|
|
49
49
|
import { C as C3, F, P as P6, g as g9, a as a6, b as b3 } from "./components/formatters/index.67aeb049.js";
|
|
50
50
|
import { P as P7, g as g10 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
51
|
-
import { D as D3,
|
|
51
|
+
import { D as D3, e, h, f, c as c2, g as g11 } from "./components/DataGrid/index.820e0043.js";
|
|
52
52
|
import { c as c3 } from "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
|
|
53
53
|
import { c as c4 } from "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
54
54
|
import { c as c5 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
|
|
55
55
|
import { c as c6 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import { A as
|
|
60
|
-
import { A as
|
|
61
|
-
import { A as
|
|
62
|
-
import { A as
|
|
56
|
+
import { N, T as T4 } from "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
57
|
+
import { D as D4, g as g12 } from "./components/DynamicFilter/index.2b80238b.js";
|
|
58
|
+
import { H, e as e2 } from "./components/HelperText/index.2c408d8a.js";
|
|
59
|
+
import { A as A7, d as d2, g as g13 } from "./components/CommonActions/components/Actions/index.265d99c8.js";
|
|
60
|
+
import { A as A8 } from "./components/CommonActions/components/ActionCancel/index.6928b5ae.js";
|
|
61
|
+
import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.8b1b3afc.js";
|
|
62
|
+
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.28d32483.js";
|
|
63
|
+
import { A as A11 } from "./components/CommonActions/components/ActionFormIntro/index.f044e93c.js";
|
|
63
64
|
import { D as D5 } from "./components/DraggableWindow/index.c702d3f2.js";
|
|
64
|
-
import { G } from "./components/GridLayout/index.
|
|
65
|
-
import { R as R11, a as
|
|
66
|
-
import { W as W2 } from "./components/GridLayout/WidthProvider/index.
|
|
65
|
+
import { G, w, z } from "./components/GridLayout/index.76bccc4f.js";
|
|
66
|
+
import { R as R11, a as a7, b as b4, c as c7 } from "./components/GridLayout/subcomponents/Responsive/index.e589d8bf.js";
|
|
67
|
+
import { W as W2 } from "./components/GridLayout/subcomponents/WidthProvider/index.50dafd87.js";
|
|
67
68
|
import { I as I4 } from "./components/Icon/index.9fcd1476.js";
|
|
68
|
-
import { L as L6 } from "./components/LanguagePopover/index.
|
|
69
|
+
import { L as L6 } from "./components/LanguagePopover/index.4596bf54.js";
|
|
69
70
|
import { L as L7 } from "./components/LinearProgressIndeterminate/index.60dabc06.js";
|
|
70
71
|
import { I as I5 } from "./components/Image/index.c18ebf5a.js";
|
|
71
72
|
import { L as L8 } from "./components/Loadable/index.e994fc3e.js";
|
|
72
|
-
import { M as M4, d as
|
|
73
|
-
import { W as W3 } from "./components/modal/WindowConfirm.
|
|
74
|
-
import { W as W4 } from "./components/modal/WindowBase.
|
|
75
|
-
import { N as N2 } from "./components/NavLink/index.
|
|
76
|
-
import { N as N3, d as
|
|
77
|
-
import { O, d as
|
|
73
|
+
import { M as M4, d as d3, g as g14 } from "./components/ModalDialog/index.62ffad3a.js";
|
|
74
|
+
import { W as W3 } from "./components/modal/WindowConfirm.1a8c8c21.js";
|
|
75
|
+
import { W as W4 } from "./components/modal/WindowBase.37b59511.js";
|
|
76
|
+
import { N as N2 } from "./components/NavLink/index.68392bd4.js";
|
|
77
|
+
import { N as N3, d as d4, g as g15 } from "./components/NoItemSelected/index.23dfc897.js";
|
|
78
|
+
import { O, d as d5, g as g16 } from "./components/ObjectLogs/index.665e043d.js";
|
|
78
79
|
import { P as P8 } from "./components/PaperForm/index.ba38a0bd.js";
|
|
79
80
|
import { H as H2 } from "./components/Page/index.4237c241.js";
|
|
80
|
-
import { P as P9 } from "./components/PropertyValue/index.
|
|
81
|
+
import { P as P9 } from "./components/PropertyValue/index.a66988e1.js";
|
|
81
82
|
import { R as R12 } from "./components/Resizeable/index.9a9c79a4.js";
|
|
82
83
|
import { S } from "./components/ScrollBar/index.bbe48f4d.js";
|
|
83
84
|
import { S as S2 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
84
85
|
import { S as S3 } from "./components/SplitLayout/index.9ef430f6.js";
|
|
85
86
|
import { S as S4 } from "./components/SideBar/index.2f497e6c.js";
|
|
86
|
-
import { A as A12 } from "./components/AppBar/index.
|
|
87
|
-
import { A as A13 } from "./components/AccountPopover/index.
|
|
88
|
-
import { a as
|
|
89
|
-
import { M as M6, a as
|
|
87
|
+
import { A as A12 } from "./components/AppBar/index.6bdee075.js";
|
|
88
|
+
import { A as A13 } from "./components/AccountPopover/index.fea740a5.js";
|
|
89
|
+
import { a as a8, D as D6, M as M5 } from "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
90
|
+
import { M as M6, a as a9 } from "./contexts/ModalContext/index.66e060a3.js";
|
|
90
91
|
import { R as R13 } from "./contexts/RHFormContext/index.fe175bab.js";
|
|
91
92
|
import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
92
|
-
import { u as u4 } from "./hooks/useModal/index.
|
|
93
|
+
import { u as u4 } from "./hooks/useModal/index.61968b84.js";
|
|
93
94
|
import { L as L9 } from "./assets/Logo/index.228dcb5a.js";
|
|
94
95
|
import "framer-motion";
|
|
95
96
|
import "react";
|
|
@@ -98,7 +99,7 @@ import "react/jsx-runtime";
|
|
|
98
99
|
import "@mui/material/styles";
|
|
99
100
|
import "react-router-dom";
|
|
100
101
|
import "./react-spinners.342a6578.js";
|
|
101
|
-
import "./components/areas/hooks/useAreas/index.
|
|
102
|
+
import "./components/areas/hooks/useAreas/index.c77a2416.js";
|
|
102
103
|
import "zustand";
|
|
103
104
|
import "@m4l/core";
|
|
104
105
|
import "yup";
|
|
@@ -116,13 +117,17 @@ import "@mui/x-date-pickers";
|
|
|
116
117
|
import "./react-draggable.7abb5d0a.js";
|
|
117
118
|
import "prop-types";
|
|
118
119
|
import "react-dom";
|
|
119
|
-
import "./components/modal/index.
|
|
120
|
+
import "./components/modal/index.c8e23b8d.js";
|
|
120
121
|
import "zustand/shallow";
|
|
121
122
|
import "lodash/isString";
|
|
122
123
|
import "react-dropzone";
|
|
123
124
|
import "./react-resizable.ba08699a.js";
|
|
125
|
+
import "./components/GridLayout/subcomponents/Griditem/index.01fc14c3.js";
|
|
126
|
+
import "./node_modules.d73a220d.js";
|
|
124
127
|
import "react-dnd";
|
|
125
128
|
import "react-dnd-html5-backend";
|
|
129
|
+
import "./components/DataGrid/subcomponents/Actions/index.43325b59.js";
|
|
130
|
+
import "./react-data-grid.d46d625e.js";
|
|
126
131
|
import "lodash";
|
|
127
132
|
import "./react-json-view.57125fcf.js";
|
|
128
133
|
import "./commonjs.565e6834.js";
|
|
@@ -130,10 +135,8 @@ import "./react-splitter-layout.8b1655c8.js";
|
|
|
130
135
|
import "zustand/middleware";
|
|
131
136
|
import "zustand/middleware/immer";
|
|
132
137
|
import "./test/constants_no_mock.86c553a9.js";
|
|
133
|
-
import "./vendor.
|
|
138
|
+
import "./vendor.fefd45a3.js";
|
|
134
139
|
import "./components/WrapperComponent/index.5e872594.js";
|
|
135
|
-
import "./react-data-grid.d46d625e.js";
|
|
136
|
-
import "./node_modules.d73a220d.js";
|
|
137
140
|
import "react-helmet-async";
|
|
138
141
|
import "simplebar-react";
|
|
139
142
|
import "simplebar/dist/simplebar.min.css?used";
|
|
@@ -166,7 +169,7 @@ export {
|
|
|
166
169
|
D2 as DateFormatter,
|
|
167
170
|
D5 as DraggableWindow,
|
|
168
171
|
D4 as DynamicFilter,
|
|
169
|
-
|
|
172
|
+
a8 as DynamicMFParmsContext,
|
|
170
173
|
D6 as DynamicMFParmsProvider,
|
|
171
174
|
F as FORMATTER_DICTIONARY,
|
|
172
175
|
G as GridLayout,
|
|
@@ -190,7 +193,7 @@ export {
|
|
|
190
193
|
M3 as MenuActions,
|
|
191
194
|
M6 as ModalContext,
|
|
192
195
|
M4 as ModalDialog,
|
|
193
|
-
|
|
196
|
+
a9 as ModalProvider,
|
|
194
197
|
M as MotionContainer,
|
|
195
198
|
M2 as MotionLazyContainer,
|
|
196
199
|
N2 as NavLink,
|
|
@@ -237,25 +240,25 @@ export {
|
|
|
237
240
|
W3 as WindowConfirm,
|
|
238
241
|
a3 as WindowToolsMFContext,
|
|
239
242
|
W as WindowToolsMFProvider,
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
243
|
+
a7 as addLayoutItemToBreakPointIfNoExists,
|
|
244
|
+
b4 as addLayoutItemToBreakPoints,
|
|
245
|
+
c7 as cloneLayouts,
|
|
246
|
+
e as columnBooleanFormatter,
|
|
247
|
+
h as columnConcatenatedValuesFormatter,
|
|
248
|
+
f as columnDateFormatter,
|
|
246
249
|
c5 as columnNestedValueFormatter,
|
|
247
250
|
c4 as columnPointsFormatter,
|
|
248
251
|
c6 as columnPriceFormatter,
|
|
249
252
|
c3 as columnUncertaintyFormatter,
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
253
|
+
d2 as defaultCommonActionsDictionary,
|
|
254
|
+
d3 as defaultModalDialogDictionary,
|
|
255
|
+
d4 as defaultNoItemSelectedDictionary,
|
|
256
|
+
d5 as defaultObjectLogDictionary,
|
|
257
|
+
e2 as errorLabelClasses,
|
|
255
258
|
a4 as getAreasComponentsDictionary,
|
|
256
259
|
g as getAreasDictionary,
|
|
257
260
|
g13 as getCommonActionsDictionary,
|
|
258
|
-
|
|
261
|
+
c2 as getDataGridRowsFromSet,
|
|
259
262
|
g12 as getDynamicFilterComponentsDictionary,
|
|
260
263
|
g9 as getFormatConcatenated,
|
|
261
264
|
g6 as getFormatDate,
|
|
@@ -272,8 +275,8 @@ export {
|
|
|
272
275
|
g3 as getRHFAutocompleteAsyncComponentsDictionary,
|
|
273
276
|
g2 as getRHFAutocompleteComponentsDictionary,
|
|
274
277
|
g7 as getUncertaintyFormat,
|
|
275
|
-
|
|
276
|
-
|
|
278
|
+
w as isEqualLayout,
|
|
279
|
+
z as isEqualLayouts,
|
|
277
280
|
u as useDynamicMFParametersStore,
|
|
278
281
|
u3 as useFormAddEdit,
|
|
279
282
|
u4 as useModal,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.81",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@emotion/react": "^11.9.0",
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"npm": "^9.6.2",
|
|
22
22
|
"react-dnd": "^16.0.1",
|
|
23
23
|
"react-dnd-html5-backend": "^16.0.1",
|
|
24
|
-
"react-grid-layout": "1.3.4",
|
|
25
24
|
"react-helmet-async": "^1.3.0",
|
|
26
25
|
"react-hook-form": "^7.33.1",
|
|
27
26
|
"react-router-dom": "6.3.0",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import "./components/areas/contexts/DynamicMFParmsContext/index.1607c78e.js";
|
|
2
|
-
import "./contexts/ModalContext/index.
|
|
2
|
+
import "./contexts/ModalContext/index.66e060a3.js";
|
|
3
3
|
import "./contexts/RHFormContext/index.fe175bab.js";
|
|
4
4
|
import "@m4l/core";
|
|
5
5
|
import "react";
|
|
6
6
|
import "react-hook-form";
|
|
7
7
|
import "@mui/material";
|
|
8
|
-
import "./components/hook-form/RHFAutocomplete/index.
|
|
8
|
+
import "./components/hook-form/RHFAutocomplete/index.9a9d7c73.js";
|
|
9
9
|
import "./components/Image/index.c18ebf5a.js";
|
|
10
10
|
import "react/jsx-runtime";
|
|
11
11
|
import "clsx";
|
|
@@ -13,7 +13,7 @@ import "./components/mui_extended/Typography/index.443590d6.js";
|
|
|
13
13
|
import "./components/Icon/index.9fcd1476.js";
|
|
14
14
|
import "./components/mui_extended/IconButton/index.12f1a3c3.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
|
-
import "./components/mui_extended/Accordion/index.
|
|
16
|
+
import "./components/mui_extended/Accordion/index.fa658639.js";
|
|
17
17
|
import "./components/mui_extended/Avatar/index.75e6ed57.js";
|
|
18
18
|
import "react-router-dom";
|
|
19
19
|
import "@mui/material/Button";
|
|
@@ -24,57 +24,60 @@ import "@mui/lab";
|
|
|
24
24
|
import "./components/mui_extended/MenuActions/index.43a2e1ae.js";
|
|
25
25
|
import "./components/mui_extended/Popover/index.9f35d0eb.js";
|
|
26
26
|
import "./components/mui_extended/Pager/index.82e89328.js";
|
|
27
|
-
import "./components/mui_extended/Tab/index.
|
|
27
|
+
import "./components/mui_extended/Tab/index.f94d233e.js";
|
|
28
28
|
import "./components/mui_extended/Tooltip/index.5a795dcd.js";
|
|
29
|
-
import "./components/HelperText/index.
|
|
29
|
+
import "./components/HelperText/index.2c408d8a.js";
|
|
30
30
|
import "lodash/debounce";
|
|
31
|
-
import "./components/hook-form/RHFAutocompleteAsync/index.
|
|
32
|
-
import "./components/hook-form/RHFCheckbox/index.
|
|
31
|
+
import "./components/hook-form/RHFAutocompleteAsync/index.172df421.js";
|
|
32
|
+
import "./components/hook-form/RHFCheckbox/index.47f0157b.js";
|
|
33
33
|
import "@mui/x-date-pickers";
|
|
34
|
-
import "./components/hook-form/RHFDateTime/index.
|
|
35
|
-
import "./components/hook-form/RHFTextField/index.
|
|
36
|
-
import "./components/hook-form/RHFPeriod/index.
|
|
37
|
-
import "./components/Period/index.
|
|
38
|
-
import "./components/CommonActions/components/Actions/index.
|
|
34
|
+
import "./components/hook-form/RHFDateTime/index.f46e987f.js";
|
|
35
|
+
import "./components/hook-form/RHFTextField/index.253620eb.js";
|
|
36
|
+
import "./components/hook-form/RHFPeriod/index.2e07ba7b.js";
|
|
37
|
+
import "./components/Period/index.7d44c0e5.js";
|
|
38
|
+
import "./components/CommonActions/components/Actions/index.265d99c8.js";
|
|
39
39
|
import "./react-draggable.7abb5d0a.js";
|
|
40
40
|
import "./components/Resizeable/index.9a9c79a4.js";
|
|
41
|
-
import "./components/modal/index.
|
|
41
|
+
import "./components/modal/index.c8e23b8d.js";
|
|
42
42
|
import "zustand";
|
|
43
|
-
import "./components/areas/contexts/AreasContext/index.
|
|
44
|
-
import "./components/areas/components/AreasAdmin/index.
|
|
43
|
+
import "./components/areas/contexts/AreasContext/index.4bf1eabe.js";
|
|
44
|
+
import "./components/areas/components/AreasAdmin/index.5562f65f.js";
|
|
45
45
|
import "zustand/shallow";
|
|
46
46
|
import "./components/ScrollBar/index.bbe48f4d.js";
|
|
47
|
-
import "./components/areas/components/AreasViewer/index.
|
|
47
|
+
import "./components/areas/components/AreasViewer/index.1004b7a0.js";
|
|
48
48
|
import "./components/LinearProgressIndeterminate/index.60dabc06.js";
|
|
49
49
|
import "./components/areas/contexts/WindowToolsMFContext/index.8f3e2a04.js";
|
|
50
50
|
import "lodash/isString";
|
|
51
51
|
import "react-dropzone";
|
|
52
|
-
import "./components/hook-form/RHFUpload/index.
|
|
52
|
+
import "./components/hook-form/RHFUpload/index.9f00121f.js";
|
|
53
53
|
import "./components/animate/index.1f8eadd4.js";
|
|
54
54
|
import "framer-motion";
|
|
55
55
|
import "@mui/material/styles";
|
|
56
56
|
import "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
57
57
|
import "./components/animate/PropagateLoader/index.7fab43c8.js";
|
|
58
|
-
import "./components/DataGrid/index.
|
|
58
|
+
import "./components/DataGrid/index.820e0043.js";
|
|
59
59
|
import "react-dnd";
|
|
60
60
|
import "react-dnd-html5-backend";
|
|
61
|
-
import "./components/
|
|
61
|
+
import "./components/DataGrid/subcomponents/Actions/index.43325b59.js";
|
|
62
|
+
import "./components/DataGrid/subcomponents/editors/TextEditor/index.91380a55.js";
|
|
63
|
+
import "./components/DynamicFilter/index.2b80238b.js";
|
|
62
64
|
import "yup";
|
|
63
|
-
import "./components/GridLayout/index.
|
|
65
|
+
import "./components/GridLayout/subcomponents/Griditem/index.01fc14c3.js";
|
|
66
|
+
import "./components/GridLayout/index.76bccc4f.js";
|
|
64
67
|
import "lodash";
|
|
65
|
-
import "./components/LanguagePopover/index.
|
|
66
|
-
import "./components/NavLink/index.
|
|
68
|
+
import "./components/LanguagePopover/index.4596bf54.js";
|
|
69
|
+
import "./components/NavLink/index.68392bd4.js";
|
|
67
70
|
import "./components/NoItemSelected/index.23dfc897.js";
|
|
68
|
-
import "./components/ObjectLogs/index.
|
|
71
|
+
import "./components/ObjectLogs/index.665e043d.js";
|
|
69
72
|
import "./react-json-view.57125fcf.js";
|
|
70
73
|
import "./components/PaperForm/index.ba38a0bd.js";
|
|
71
74
|
import "./components/Page/index.4237c241.js";
|
|
72
|
-
import "./components/PropertyValue/index.
|
|
75
|
+
import "./components/PropertyValue/index.a66988e1.js";
|
|
73
76
|
import "./components/SplitLayout/index.9ef430f6.js";
|
|
74
77
|
import "./react-splitter-layout.8b1655c8.js";
|
|
75
78
|
import "./components/SideBar/index.2f497e6c.js";
|
|
76
|
-
import "./components/AppBar/index.
|
|
77
|
-
import "./components/AccountPopover/index.
|
|
79
|
+
import "./components/AppBar/index.6bdee075.js";
|
|
80
|
+
import "./components/AccountPopover/index.fea740a5.js";
|
|
78
81
|
import "./components/animate/variants/fade.b561c0fc.js";
|
|
79
82
|
import "./components/animate/variants/bounce.784aaaaa.js";
|
|
80
83
|
import "./components/animate/variants/container.11f82b76.js";
|
|
@@ -102,20 +105,20 @@ import "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae205
|
|
|
102
105
|
import "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
103
106
|
import "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
|
|
104
107
|
import "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
105
|
-
import "./components/CommonActions/components/ActionCancel/index.
|
|
106
|
-
import "./components/CommonActions/components/ActionIntro/index.
|
|
107
|
-
import "./components/CommonActions/components/ActionFormCancel/index.
|
|
108
|
-
import "./components/CommonActions/components/ActionFormIntro/index.
|
|
108
|
+
import "./components/CommonActions/components/ActionCancel/index.6928b5ae.js";
|
|
109
|
+
import "./components/CommonActions/components/ActionIntro/index.8b1b3afc.js";
|
|
110
|
+
import "./components/CommonActions/components/ActionFormCancel/index.28d32483.js";
|
|
111
|
+
import "./components/CommonActions/components/ActionFormIntro/index.f044e93c.js";
|
|
109
112
|
import "./components/DraggableWindow/index.c702d3f2.js";
|
|
110
|
-
import "./components/GridLayout/Responsive/index.
|
|
111
|
-
import "./components/GridLayout/WidthProvider/index.
|
|
113
|
+
import "./components/GridLayout/subcomponents/Responsive/index.e589d8bf.js";
|
|
114
|
+
import "./components/GridLayout/subcomponents/WidthProvider/index.50dafd87.js";
|
|
112
115
|
import "./components/Loadable/index.e994fc3e.js";
|
|
113
|
-
import "./components/ModalDialog/index.
|
|
114
|
-
import "./components/modal/WindowConfirm.
|
|
115
|
-
import "./components/modal/WindowBase.
|
|
116
|
+
import "./components/ModalDialog/index.62ffad3a.js";
|
|
117
|
+
import "./components/modal/WindowConfirm.1a8c8c21.js";
|
|
118
|
+
import "./components/modal/WindowBase.37b59511.js";
|
|
116
119
|
import "./components/ScrollToTop/index.e06f98f6.js";
|
|
117
120
|
import "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
118
|
-
import "./hooks/useModal/index.
|
|
121
|
+
import "./hooks/useModal/index.61968b84.js";
|
|
119
122
|
import "./assets/Logo/index.228dcb5a.js";
|
|
120
123
|
const getNameDataTestId = (ELEMENT_PREFIX, ELEMENT_KEY, ELEMENT_ID) => {
|
|
121
124
|
return `${ELEMENT_PREFIX}-${[ELEMENT_KEY]}-${ELEMENT_ID}`;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GridItemProps } from './types';
|
|
3
|
-
export declare type RefProps = {
|
|
4
|
-
cols: number;
|
|
5
|
-
x: number;
|
|
6
|
-
y: number;
|
|
7
|
-
w: number;
|
|
8
|
-
h: number;
|
|
9
|
-
minW: number;
|
|
10
|
-
maxW: number;
|
|
11
|
-
minH: number;
|
|
12
|
-
maxH: number;
|
|
13
|
-
containerWidth: number;
|
|
14
|
-
containerHeight: number;
|
|
15
|
-
margin: [number, number];
|
|
16
|
-
containerPadding: [number, number];
|
|
17
|
-
rowHeight: number;
|
|
18
|
-
maxRows: number;
|
|
19
|
-
colapsed?: boolean;
|
|
20
|
-
visible?: boolean;
|
|
21
|
-
};
|
|
22
|
-
/**
|
|
23
|
-
* An individual item within a ReactGridLayout.
|
|
24
|
-
*/
|
|
25
|
-
export declare function GridItem(props: GridItemProps): React.JSX.Element;
|
|
26
|
-
export declare const MemonizedGridItem: React.MemoExoticComponent<typeof GridItem>;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
import { DroppingPosition, GridDragEvent, GridResizeEvent, LayoutItemRender, LayoutItemType, ResizeHandle } from '../../types';
|
|
3
|
-
export declare type GridItemState = {
|
|
4
|
-
resizing?: {
|
|
5
|
-
width: number;
|
|
6
|
-
height: number;
|
|
7
|
-
};
|
|
8
|
-
dragging?: {
|
|
9
|
-
top: number;
|
|
10
|
-
left: number;
|
|
11
|
-
};
|
|
12
|
-
className: string;
|
|
13
|
-
};
|
|
14
|
-
export declare type PartialPosition = {
|
|
15
|
-
top: number;
|
|
16
|
-
left: number;
|
|
17
|
-
};
|
|
18
|
-
export interface DraggableData {
|
|
19
|
-
node: HTMLElement;
|
|
20
|
-
x: number;
|
|
21
|
-
y: number;
|
|
22
|
-
deltaX: number;
|
|
23
|
-
deltaY: number;
|
|
24
|
-
lastX: number;
|
|
25
|
-
lastY: number;
|
|
26
|
-
}
|
|
27
|
-
export declare type GridItemCallback<T extends GridDragEvent | GridResizeEvent> = (i: string, w: number, h: number, data: T) => void;
|
|
28
|
-
export declare type Maximize = 'maximize_me' | 'maximize_other' | 'none';
|
|
29
|
-
export declare type GridItemProps = {
|
|
30
|
-
type: LayoutItemType;
|
|
31
|
-
layoutItemRender: LayoutItemRender;
|
|
32
|
-
cols: number;
|
|
33
|
-
containerWidth: number;
|
|
34
|
-
containerHeight: number;
|
|
35
|
-
margin: [number, number];
|
|
36
|
-
containerPadding: [number, number];
|
|
37
|
-
rowHeight: number;
|
|
38
|
-
colapsedHeight?: number;
|
|
39
|
-
maxRows: number;
|
|
40
|
-
isDraggable: boolean;
|
|
41
|
-
isResizable: boolean;
|
|
42
|
-
isBounded: boolean;
|
|
43
|
-
static?: boolean;
|
|
44
|
-
useCSSTransforms?: boolean;
|
|
45
|
-
usePercentages?: boolean;
|
|
46
|
-
droppingPosition?: DroppingPosition;
|
|
47
|
-
style?: CSSProperties;
|
|
48
|
-
cancel?: string;
|
|
49
|
-
handle?: string;
|
|
50
|
-
x: number;
|
|
51
|
-
y: number;
|
|
52
|
-
w: number;
|
|
53
|
-
h: number;
|
|
54
|
-
className?: string;
|
|
55
|
-
minW?: number;
|
|
56
|
-
maxW?: number;
|
|
57
|
-
minH?: number;
|
|
58
|
-
maxH?: number;
|
|
59
|
-
transformScale?: number;
|
|
60
|
-
i: string;
|
|
61
|
-
maximize: Maximize;
|
|
62
|
-
colapsed?: boolean;
|
|
63
|
-
visible?: boolean;
|
|
64
|
-
resizeHandles?: ResizeHandle[];
|
|
65
|
-
/**
|
|
66
|
-
* Defines custom component for resize handle
|
|
67
|
-
*/
|
|
68
|
-
resizeHandle?: React.ReactNode | ((resizeHandle: ResizeHandle) => React.ReactNode);
|
|
69
|
-
onDrag?: (i: string, x: number, y: number, gridDragEvent: GridDragEvent) => void;
|
|
70
|
-
onDragStart?: (i: string, x: number, y: number, gridDragEvent: GridDragEvent) => void;
|
|
71
|
-
onDragStop?: (i: string, x: number, y: number, gridDragEvent: GridDragEvent) => void;
|
|
72
|
-
onResize?: GridItemCallback<GridResizeEvent>;
|
|
73
|
-
onResizeStart?: GridItemCallback<GridResizeEvent>;
|
|
74
|
-
onResizeStop?: GridItemCallback<GridResizeEvent>;
|
|
75
|
-
onFreeMoveClick?: (i: string) => void;
|
|
76
|
-
freeMove?: boolean;
|
|
77
|
-
zIndex?: number;
|
|
78
|
-
};
|