@m4l/components 0.1.52 → 0.1.53
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/components/CommonActions/components/ActionFormCancel/{index.bd0d16d6.js → index.8dedf1d5.js} +15 -15
- package/components/CommonActions/components/ActionIntro/{index.d567aebb.js → index.5d5294f2.js} +5 -0
- package/components/CommonActions/components/ActionIntro/test/contants.d.ts +1 -0
- package/components/CommonActions/components/Actions/{index.f0a3167b.js → index.93c9823a.js} +14 -14
- package/components/DataGrid/{index.85390177.js → index.1a6508e2.js} +20 -20
- package/components/DynamicFilter/DynamicFilter.d.ts +9 -0
- package/components/DynamicFilter/classes/index.d.ts +5 -0
- package/components/DynamicFilter/classes/types.d.ts +22 -0
- package/components/DynamicFilter/constants.d.ts +14 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/helpers.d.ts +24 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/index.d.ts +18 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/store.d.ts +213 -0
- package/components/DynamicFilter/contexts/DynamicFilterContext/types.d.ts +5 -0
- package/components/DynamicFilter/dictionary.d.ts +21 -0
- package/components/DynamicFilter/hooks/useDynamicFilter.d.ts +2 -0
- package/components/DynamicFilter/index.2189989e.js +1808 -0
- package/components/DynamicFilter/index.d.ts +4 -6
- package/components/DynamicFilter/subcomponents/ApplyedFilters/subcomponents/ApplyedFilter/index.d.ts +3 -0
- package/components/DynamicFilter/subcomponents/ClearFilters/index.d.ts +1 -1
- package/components/DynamicFilter/subcomponents/FilterButton/index.d.ts +10 -0
- package/components/DynamicFilter/subcomponents/InnerForHooks/index.d.ts +6 -0
- package/components/DynamicFilter/subcomponents/InputFilter/index.d.ts +7 -1
- package/components/DynamicFilter/subcomponents/PopoverFilter/index.d.ts +15 -0
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/index.d.ts +12 -0
- package/components/DynamicFilter/subcomponents/PopoverMenuFields/types.d.ts +6 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/helpers.d.ts +39 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/BooleanFilter/index.d.ts +4 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/helpers.d.ts +42 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/DateTimeFilter/index.d.ts +4 -3
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/helpers.d.ts +36 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/NumberFilter/index.d.ts +4 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/helpers.d.ts +39 -0
- package/components/DynamicFilter/subcomponents/fieldstypes/StringFilter/index.d.ts +4 -2
- package/components/DynamicFilter/subcomponents/fieldstypes/factory.d.ts +72 -4
- package/components/DynamicFilter/subcomponents/fieldstypes/validations.d.ts +25 -6
- package/components/DynamicFilter/tests/contants.d.ts +6 -0
- package/components/DynamicFilter/tests/types.d.ts +2 -0
- package/components/DynamicFilter/tests/utils.d.ts +2 -0
- package/components/DynamicFilter/types.d.ts +173 -42
- package/components/ErrorLabel/{index.78553a1e.js → index.12994bff.js} +5 -5
- package/components/Icon/{index.f6e8d810.js → index.b29ff2d9.js} +1 -1
- package/components/LanguagePopover/{index.5047b444.js → index.628fe97f.js} +5 -5
- package/components/ModalDialog/{index.5a307e29.js → index.49c40899.js} +5 -5
- package/components/ObjectLogs/{index.1315af37.js → index.d7c0092a.js} +23 -23
- package/components/PaperForm/{index.0114aa9b.js → index.c04000a9.js} +1 -1
- package/components/Period/{index.85fe764a.js → index.4f6e419d.js} +15 -15
- package/components/Resizeable/{index.8a442a8b.js → index.04fa8de5.js} +1 -1
- package/components/ScrollBar/{index.39eeb2de.js → index.35ebe9a1.js} +8 -3
- package/components/areas/components/AreasAdmin/{index.dbab59f1.js → index.25e50e70.js} +6 -6
- package/components/areas/components/AreasContainer/{index.f3f921b9.js → index.432b9d4c.js} +3 -3
- package/components/areas/components/GridLayout/{index.9953146d.js → index.359e777e.js} +5 -5
- package/components/areas/components/Window/{index.e34225ae.js → index.2b9f12fe.js} +35 -36
- package/components/areas/components/WindowPopUp/{index.90eb0348.js → index.d5fa0d74.js} +36 -37
- package/components/areas/components/{index.6d863764.js → index.912056a0.js} +10 -10
- package/components/areas/contexts/AreaContext/{index.f25f7180.js → index.b1439daf.js} +1 -1
- package/components/areas/contexts/AreasContext/{index.7406c20f.js → index.fb21af84.js} +1 -1
- package/components/areas/contexts/{index.e80d8f0f.js → index.1e46147e.js} +1 -1
- package/components/areas/hooks/{index.0fd57f88.js → index.5feefc73.js} +1 -1
- package/components/areas/hooks/useArea/{index.7bdbbb79.js → index.6f45f930.js} +2 -2
- package/components/areas/index.3df8c6d4.js +21 -0
- package/components/formatters/BooleanFormatter/{index.b3fb8a75.js → index.a50933fb.js} +1 -1
- package/components/formatters/{index.90a19f9f.js → index.7d2ad9ca.js} +2 -1
- package/components/hook-form/RHFAutocomplete/{index.74add0d0.js → index.0ffa2185.js} +69 -59
- package/components/hook-form/RHFAutocomplete/test/contants.d.ts +1 -0
- package/components/hook-form/RHFAutocompleteAsync/{index.0aa3c224.js → index.2dfbe7aa.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.ca94a050.js → index.1fcf42c8.js} +1 -1
- package/components/hook-form/RHFDateTime/{index.7f1cbd85.js → index.6c129ce4.js} +14 -25
- package/components/hook-form/RHFPeriod/{index.5d2a2071.js → index.1f6aa4c6.js} +2 -2
- package/components/hook-form/RHFTextField/classes/index.d.ts +0 -1
- package/components/hook-form/RHFTextField/{index.bef7eced.js → index.a021a2b3.js} +21 -11
- package/components/hook-form/RHFTextField/tests/contants.d.ts +2 -0
- package/components/index.d.ts +1 -3
- package/components/modal/{WindowBase.b5e29758.js → WindowBase.66ef3c9a.js} +3 -3
- package/components/modal/{WindowConfirm.cbc7720c.js → WindowConfirm.b31ed329.js} +16 -16
- package/components/modal/index.6d5b19ef.js +29 -0
- package/components/mui_extended/Accordion/{index.1d513477.js → index.002bad72.js} +2 -2
- package/components/mui_extended/IconButton/{index.1318a283.js → index.460c0476.js} +1 -1
- package/components/mui_extended/MenuActions/{index.1261168c.js → index.aaafafc3.js} +1 -1
- package/components/mui_extended/Pager/{index.984aac44.js → index.458f9f0d.js} +1 -1
- package/components/mui_extended/{index.cb9d48d2.js → index.915e84dc.js} +5 -5
- package/contexts/ModalContext/{index.3d92d9f9.js → index.d1aaddbc.js} +1 -1
- package/contexts/RHFormContext/{index.828b60ad.js → index.3dc6e2f5.js} +1 -0
- package/hooks/useModal/{index.4454145e.js → index.f77ab08b.js} +1 -1
- package/index.js +196 -225
- package/package.json +2 -2
- package/{react-draggable.0eef011c.js → react-draggable.6471b07e.js} +1 -1
- package/{react-resizable.bb58c8fc.js → react-resizable.b620abed.js} +2 -2
- package/test/constants_no_mock.d.ts +1 -0
- package/utils/{index.e882b264.js → index.b6ae791a.js} +12 -3
- package/utils/index.d.ts +2 -0
- package/vendor.d5904857.js +145 -0
- package/components/DynamicFilter/contexts/BaseContext/index.d.ts +0 -5
- package/components/DynamicFilter/contexts/BaseContext/types.d.ts +0 -45
- package/components/DynamicFilter/hooks/useFilter.d.ts +0 -1
- package/components/DynamicFilter/index.cddd7472.js +0 -1756
- package/components/DynamicFilter/subcomponents/ApplyedFilters/components/ApplyedFilter/index.d.ts +0 -3
- package/components/DynamicFilter/subcomponents/PopupEditFilter/index.d.ts +0 -2
- package/components/DynamicFilter/utils/Clases/index.d.ts +0 -20
- package/components/DynamicFilter/utils/Clases/types.d.ts +0 -17
- package/components/areas/index.6f09d168.js +0 -21
- package/components/modal/index.f6de895f.js +0 -29
package/index.js
CHANGED
|
@@ -1,286 +1,257 @@
|
|
|
1
|
-
import { I, a } from "./components/Icon/index.f6e8d810.js";
|
|
2
|
-
import "framer-motion";
|
|
3
|
-
import "@mui/material";
|
|
4
|
-
import { jsx } from "react/jsx-runtime";
|
|
5
|
-
import "@mui/material/styles";
|
|
6
|
-
import "react-router-dom";
|
|
7
|
-
import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
8
|
-
import { P } from "./components/animate/PropagateLoader/index.be5b02c3.js";
|
|
9
|
-
import { a as a2, D, M } from "./components/areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
10
|
-
import { M as M2, a as a3 } from "./contexts/ModalContext/index.3d92d9f9.js";
|
|
11
|
-
import { useState } from "react";
|
|
12
|
-
import "react-hook-form";
|
|
13
|
-
import "@hookform/resolvers/yup";
|
|
14
|
-
import { R } from "./contexts/RHFormContext/index.828b60ad.js";
|
|
15
|
-
import "@m4l/core";
|
|
16
|
-
import { R as R2, g } from "./components/hook-form/RHFAutocomplete/index.74add0d0.js";
|
|
17
|
-
import { I as I2 } from "./components/Image/index.aa24e982.js";
|
|
18
|
-
import "lodash/debounce";
|
|
19
|
-
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.ca94a050.js";
|
|
20
|
-
import { I as I3 } from "./components/mui_extended/IconButton/index.1318a283.js";
|
|
21
|
-
import { A } from "./components/mui_extended/Accordion/index.1d513477.js";
|
|
22
|
-
import { A as A2 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
|
|
23
|
-
import "@mui/material/Button";
|
|
24
|
-
import { B, I as I4, L as L2, i } from "./components/mui_extended/Button/index.8406ed5b.js";
|
|
25
|
-
import "@mui/lab";
|
|
26
|
-
import { P as P2 } from "./components/mui_extended/Popover/index.58c49cc0.js";
|
|
27
|
-
import { M as M3 } from "./components/mui_extended/MenuActions/index.1261168c.js";
|
|
28
|
-
import { P as P3, g as g2 } from "./components/mui_extended/Pager/index.984aac44.js";
|
|
29
|
-
import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
30
|
-
import { T as T2, t } from "./components/mui_extended/Typography/index.be3a279a.js";
|
|
31
|
-
import { E, e } from "./components/ErrorLabel/index.78553a1e.js";
|
|
32
|
-
import "@mui/x-date-pickers";
|
|
33
|
-
import { R as R4 } from "./components/hook-form/RHFDateTime/index.7f1cbd85.js";
|
|
34
|
-
import "@m4l/graphics";
|
|
35
|
-
import { R as R5, a as a4 } from "./components/hook-form/RHFTextField/index.bef7eced.js";
|
|
36
|
-
import { R as R6 } from "./components/hook-form/RHFPeriod/index.5d2a2071.js";
|
|
37
|
-
import { P as P4, g as g3 } from "./components/Period/index.85fe764a.js";
|
|
38
|
-
import { A as A3, d, g as g4 } from "./components/CommonActions/components/Actions/index.f0a3167b.js";
|
|
39
|
-
import { c as cjs } from "./react-draggable.0eef011c.js";
|
|
40
|
-
import { M as M4, d as d2, g as g5 } from "./components/ModalDialog/index.5a307e29.js";
|
|
41
|
-
import { R as R7 } from "./components/Resizeable/index.8a442a8b.js";
|
|
42
|
-
import { W } from "./components/modal/WindowConfirm.cbc7720c.js";
|
|
43
|
-
import { W as W2 } from "./components/modal/WindowBase.b5e29758.js";
|
|
44
|
-
import { A as A4 } from "./components/areas/components/index.6d863764.js";
|
|
45
|
-
import { A as A5 } from "./components/areas/components/AreasAdmin/index.dbab59f1.js";
|
|
46
|
-
import "zustand";
|
|
47
|
-
import { A as A6, a as a5 } from "./components/areas/contexts/AreasContext/index.7406c20f.js";
|
|
48
|
-
import "zustand/shallow";
|
|
49
|
-
import { A as A7 } from "./components/areas/components/AreasContainer/index.f3f921b9.js";
|
|
50
|
-
import "react-grid-layout/css/styles.css";
|
|
51
|
-
import "./react-resizable.bb58c8fc.js";
|
|
52
|
-
import { c, W as W3 } from "./components/areas/contexts/index.e80d8f0f.js";
|
|
53
|
-
import "lodash/isString";
|
|
54
|
-
import "react-dropzone";
|
|
55
|
-
import { R as R8 } from "./components/hook-form/RHFUpload/index.7fdff30f.js";
|
|
56
|
-
import { D as D2, N, T as T3, c as c2, d as d3, b, a as a6, g as g6 } from "./components/DataGrid/index.85390177.js";
|
|
57
|
-
import "react-dnd";
|
|
58
|
-
import "react-dnd-html5-backend";
|
|
59
|
-
import { S } from "./components/ScrollBar/index.39eeb2de.js";
|
|
60
|
-
import { D as D3, a as a7, d as d4, g as g7 } from "./components/DynamicFilter/index.cddd7472.js";
|
|
61
|
-
import "clsx";
|
|
62
|
-
import "simplebar/dist/simplebar.min.css";
|
|
63
|
-
import "yup";
|
|
64
|
-
import { L as L3 } from "./components/LanguagePopover/index.5047b444.js";
|
|
65
|
-
import { N as N2, d as d5, g as g8 } from "./components/NoItemSelected/index.9636ec8a.js";
|
|
66
|
-
import { O, d as d6, g as g9 } from "./components/ObjectLogs/index.1315af37.js";
|
|
67
|
-
import "./react-json-view.57125fcf.js";
|
|
68
|
-
import { P as P5 } from "./components/PaperForm/index.0114aa9b.js";
|
|
69
|
-
import { H } from "./components/Page/index.4237c241.js";
|
|
70
|
-
import { P as P6 } from "./components/PropertyValue/index.dfcfe1ba.js";
|
|
71
|
-
import "./react-splitter-layout.8b1655c8.js";
|
|
72
|
-
import { S as S2 } from "./components/SplitLayout/index.5a8355d8.js";
|
|
73
1
|
import { v } from "./components/animate/variants/fade.b561c0fc.js";
|
|
74
2
|
import { v as v2 } from "./components/animate/variants/bounce.784aaaaa.js";
|
|
75
3
|
import { v as v3 } from "./components/animate/variants/container.11f82b76.js";
|
|
76
|
-
import { v as v4, a
|
|
77
|
-
import {
|
|
78
|
-
import { M
|
|
4
|
+
import { v as v4, a, b } from "./components/animate/variants/transition.bd46b9ce.js";
|
|
5
|
+
import { I, a as a2 } from "./components/Icon/index.b29ff2d9.js";
|
|
6
|
+
import { M } from "./components/animate/MotionContainer/index.8d9f9d80.js";
|
|
7
|
+
import { M as M2 } from "./components/animate/MotionLazyContainer/index.572dd012.js";
|
|
8
|
+
import { L } from "./components/animate/LoadingScreen/index.1d0c4307.js";
|
|
9
|
+
import { P } from "./components/animate/PropagateLoader/index.be5b02c3.js";
|
|
10
|
+
import { A } from "./components/areas/components/index.912056a0.js";
|
|
11
|
+
import { A as A2 } from "./components/areas/components/AreasAdmin/index.25e50e70.js";
|
|
12
|
+
import { A as A3 } from "./components/areas/components/AreasContainer/index.432b9d4c.js";
|
|
13
|
+
import { A as A4, a as a3 } from "./components/areas/contexts/AreasContext/index.fb21af84.js";
|
|
14
|
+
import { c, W } from "./components/areas/contexts/index.1e46147e.js";
|
|
79
15
|
import { u } from "./components/areas/hooks/useDynamicMFParameters/index.041a666b.js";
|
|
80
|
-
import { u as u2 } from "./components/areas/hooks/index.
|
|
81
|
-
import { R
|
|
82
|
-
import { R as
|
|
83
|
-
import { R as
|
|
84
|
-
import { R as
|
|
85
|
-
import {
|
|
86
|
-
import {
|
|
16
|
+
import { u as u2 } from "./components/areas/hooks/index.5feefc73.js";
|
|
17
|
+
import { R, g } from "./components/hook-form/RHFAutocomplete/index.0ffa2185.js";
|
|
18
|
+
import { R as R2, g as g2 } from "./components/hook-form/RHFAutocompleteAsync/index.2dfbe7aa.js";
|
|
19
|
+
import { R as R3 } from "./components/hook-form/RHFCheckbox/index.1fcf42c8.js";
|
|
20
|
+
import { R as R4 } from "./components/hook-form/RHFDateTime/index.6c129ce4.js";
|
|
21
|
+
import { R as R5 } from "./components/hook-form/RHFMultiCheckbox/index.2680b3b6.js";
|
|
22
|
+
import { R as R6 } from "./components/hook-form/RHFSelect/index.b6ca8bb2.js";
|
|
23
|
+
import { R as R7, a as a4 } from "./components/hook-form/RHFTextField/index.a021a2b3.js";
|
|
24
|
+
import { R as R8 } from "./components/hook-form/RHFRadioGroup/index.b3335e13.js";
|
|
25
|
+
import { R as R9 } from "./components/hook-form/RHFPeriod/index.1f6aa4c6.js";
|
|
26
|
+
import { P as P2, g as g3 } from "./components/Period/index.4f6e419d.js";
|
|
27
|
+
import { R as R10 } from "./components/hook-form/RHFUpload/index.7fdff30f.js";
|
|
28
|
+
import { A as A5 } from "./components/mui_extended/Accordion/index.002bad72.js";
|
|
29
|
+
import { A as A6 } from "./components/mui_extended/Avatar/index.fe06afd7.js";
|
|
30
|
+
import { B } from "./components/mui_extended/BoxIcon/index.e638ecc8.js";
|
|
31
|
+
import { B as B2 } from "./components/mui_extended/Breadcrumbs/index.5e37d903.js";
|
|
32
|
+
import { B as B3, I as I2, L as L2, i } from "./components/mui_extended/Button/index.8406ed5b.js";
|
|
87
33
|
import { C } from "./components/mui_extended/CircularProgress/index.ad569afd.js";
|
|
88
|
-
import {
|
|
89
|
-
import { L as
|
|
90
|
-
import {
|
|
91
|
-
import {
|
|
92
|
-
import {
|
|
93
|
-
import { P as
|
|
94
|
-
import {
|
|
95
|
-
import {
|
|
34
|
+
import { I as I3 } from "./components/mui_extended/IconButton/index.460c0476.js";
|
|
35
|
+
import { L as L3 } from "./components/mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
36
|
+
import { L as L4 } from "./components/mui_extended/LinkWithRoute/index.16436ab8.js";
|
|
37
|
+
import { M as M3 } from "./components/mui_extended/MenuActions/index.aaafafc3.js";
|
|
38
|
+
import { P as P3 } from "./components/mui_extended/Popover/index.58c49cc0.js";
|
|
39
|
+
import { P as P4, g as g4 } from "./components/mui_extended/Pager/index.458f9f0d.js";
|
|
40
|
+
import { T } from "./components/mui_extended/Tab/index.e0653a0a.js";
|
|
41
|
+
import { T as T2, t } from "./components/mui_extended/Typography/index.be3a279a.js";
|
|
42
|
+
import { B as B4 } from "./components/formatters/BooleanFormatter/index.a50933fb.js";
|
|
43
|
+
import { D, g as g5 } from "./components/formatters/DateFormatter/index.578a9f53.js";
|
|
44
|
+
import { U, g as g6 } from "./components/formatters/UncertaintyFormatter/index.08e1b79f.js";
|
|
45
|
+
import { P as P5, g as g7 } from "./components/formatters/PointsFormatter/index.80a4e414.js";
|
|
46
|
+
import { C as C2, i as i2, h, f, e, c as c2, L as L5, P as P6, d, g as g8, a as a5, b as b2 } from "./components/formatters/index.7d2ad9ca.js";
|
|
47
|
+
import { P as P7, g as g9 } from "./components/formatters/PriceFormatter/index.83cbe7be.js";
|
|
48
|
+
import { D as D2, N, T as T3, c as c3, d as d2, b as b3, a as a6, g as g10 } from "./components/DataGrid/index.1a6508e2.js";
|
|
96
49
|
import { c as c4 } from "./components/DataGrid/formatters/columnUncertaintyFormatter/index.cae2057a.js";
|
|
97
50
|
import { c as c5 } from "./components/DataGrid/formatters/columnPointsFormatter/index.5e645334.js";
|
|
98
51
|
import { c as c6 } from "./components/DataGrid/formatters/columnNestedValueFormatter/index.f68ef4e1.js";
|
|
99
52
|
import { c as c7 } from "./components/DataGrid/formatters/columnPriceFormatter/index.e612fda3.js";
|
|
53
|
+
import { b as b4, a as a7, D as D3, L as L6, d as d3, g as g11, c as c8 } from "./components/DynamicFilter/index.2189989e.js";
|
|
54
|
+
import { E, e as e2 } from "./components/ErrorLabel/index.12994bff.js";
|
|
55
|
+
import { A as A7, d as d4, g as g12 } from "./components/CommonActions/components/Actions/index.93c9823a.js";
|
|
100
56
|
import { A as A8 } from "./components/CommonActions/components/ActionCancel/index.a81752ef.js";
|
|
101
|
-
import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.
|
|
102
|
-
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.
|
|
57
|
+
import { A as A9 } from "./components/CommonActions/components/ActionIntro/index.5d5294f2.js";
|
|
58
|
+
import { A as A10 } from "./components/CommonActions/components/ActionFormCancel/index.8dedf1d5.js";
|
|
103
59
|
import { A as A11 } from "./components/CommonActions/components/ActionFormIntro/index.ca4d2674.js";
|
|
104
|
-
import {
|
|
105
|
-
import {
|
|
60
|
+
import { D as D4 } from "./vendor.d5904857.js";
|
|
61
|
+
import { L as L7 } from "./components/LanguagePopover/index.628fe97f.js";
|
|
62
|
+
import { I as I4 } from "./components/Image/index.aa24e982.js";
|
|
63
|
+
import { L as L8 } from "./components/Loadable/index.117eaced.js";
|
|
64
|
+
import { M as M4, d as d5, g as g13 } from "./components/ModalDialog/index.49c40899.js";
|
|
65
|
+
import { W as W2 } from "./components/modal/WindowConfirm.b31ed329.js";
|
|
66
|
+
import { W as W3 } from "./components/modal/WindowBase.66ef3c9a.js";
|
|
67
|
+
import { N as N2, d as d6, g as g14 } from "./components/NoItemSelected/index.9636ec8a.js";
|
|
68
|
+
import { O, d as d7, g as g15 } from "./components/ObjectLogs/index.d7c0092a.js";
|
|
69
|
+
import { P as P8 } from "./components/PaperForm/index.c04000a9.js";
|
|
70
|
+
import { H } from "./components/Page/index.4237c241.js";
|
|
71
|
+
import { P as P9 } from "./components/PropertyValue/index.dfcfe1ba.js";
|
|
72
|
+
import { R as R11 } from "./components/Resizeable/index.04fa8de5.js";
|
|
73
|
+
import { S } from "./components/ScrollBar/index.35ebe9a1.js";
|
|
74
|
+
import { S as S2 } from "./components/ScrollToTop/index.e06f98f6.js";
|
|
75
|
+
import { S as S3 } from "./components/SplitLayout/index.5a8355d8.js";
|
|
76
|
+
import { a as a8, D as D5, M as M5 } from "./components/areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
77
|
+
import { M as M6, a as a9 } from "./contexts/ModalContext/index.d1aaddbc.js";
|
|
78
|
+
import { R as R12 } from "./contexts/RHFormContext/index.3dc6e2f5.js";
|
|
106
79
|
import { u as u3 } from "./hooks/useFormAddEdit/index.15de3ba8.js";
|
|
107
|
-
import { u as u4 } from "./hooks/useModal/index.
|
|
108
|
-
import { L as
|
|
109
|
-
import "
|
|
80
|
+
import { u as u4 } from "./hooks/useModal/index.f77ab08b.js";
|
|
81
|
+
import { L as L9 } from "./assets/Logo/index.228dcb5a.js";
|
|
82
|
+
import "framer-motion";
|
|
83
|
+
import "react";
|
|
84
|
+
import "@mui/material";
|
|
85
|
+
import "react/jsx-runtime";
|
|
86
|
+
import "@mui/material/styles";
|
|
87
|
+
import "./utils/index.b6ae791a.js";
|
|
110
88
|
import "@mui/base";
|
|
111
89
|
import "./node_modules.416f1da3.js";
|
|
112
|
-
import "
|
|
90
|
+
import "./components/areas/contexts/AreaContext/index.b1439daf.js";
|
|
91
|
+
import "zustand/shallow";
|
|
92
|
+
import "@m4l/core";
|
|
93
|
+
import "zustand";
|
|
113
94
|
import "zustand/middleware/immer";
|
|
114
|
-
import "
|
|
115
|
-
import "
|
|
116
|
-
import "./components/areas/contexts/AreaContext/index.f25f7180.js";
|
|
95
|
+
import "zustand/middleware";
|
|
96
|
+
import "lodash/debounce";
|
|
117
97
|
import "lodash.clonedeep";
|
|
118
|
-
import "./components/areas/hooks/useArea/index.
|
|
119
|
-
import "
|
|
98
|
+
import "./components/areas/hooks/useArea/index.6f45f930.js";
|
|
99
|
+
import "@m4l/graphics";
|
|
100
|
+
import "./components/areas/components/GridLayout/index.359e777e.js";
|
|
120
101
|
import "react-grid-layout";
|
|
121
|
-
import "./components/areas/components/WindowPopUp/index.
|
|
122
|
-
import "
|
|
123
|
-
import "
|
|
124
|
-
import "./
|
|
125
|
-
import "./react-
|
|
126
|
-
import "
|
|
102
|
+
import "./components/areas/components/WindowPopUp/index.d5fa0d74.js";
|
|
103
|
+
import "react-router-dom";
|
|
104
|
+
import "react-grid-layout/css/styles.css";
|
|
105
|
+
import "./react-resizable.b620abed.js";
|
|
106
|
+
import "./react-draggable.6471b07e.js";
|
|
107
|
+
import "prop-types";
|
|
108
|
+
import "react-dom";
|
|
109
|
+
import "clsx";
|
|
110
|
+
import "react-hook-form";
|
|
111
|
+
import "@mui/material/Button";
|
|
112
|
+
import "@mui/lab";
|
|
113
|
+
import "@mui/x-date-pickers";
|
|
114
|
+
import "lodash/isString";
|
|
115
|
+
import "react-dropzone";
|
|
116
|
+
import "react-dnd";
|
|
117
|
+
import "react-dnd-html5-backend";
|
|
118
|
+
import "yup";
|
|
119
|
+
import "@hookform/resolvers/yup";
|
|
120
|
+
import "./react-json-view.57125fcf.js";
|
|
127
121
|
import "./commonjs.565e6834.js";
|
|
128
|
-
import "react-
|
|
122
|
+
import "./react-splitter-layout.8b1655c8.js";
|
|
123
|
+
import "./components/areas/components/Window/index.2b9f12fe.js";
|
|
124
|
+
import "./components/areas/index.3df8c6d4.js";
|
|
129
125
|
import "./components/WrapperComponent/index.5e872594.js";
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
defaultPosition,
|
|
136
|
-
...others
|
|
137
|
-
} = props;
|
|
138
|
-
const [position, setPosition] = useState(defaultPosition || {
|
|
139
|
-
x: 0,
|
|
140
|
-
y: 0
|
|
141
|
-
});
|
|
142
|
-
const onDrag = (_e, data) => {
|
|
143
|
-
const {
|
|
144
|
-
x,
|
|
145
|
-
y
|
|
146
|
-
} = data;
|
|
147
|
-
const xPos = x < 0 ? 0 : Math.round(x);
|
|
148
|
-
const yPos = y < 0 ? 0 : Math.round(y);
|
|
149
|
-
setPosition({
|
|
150
|
-
x: xPos,
|
|
151
|
-
y: yPos
|
|
152
|
-
});
|
|
153
|
-
};
|
|
154
|
-
return /* @__PURE__ */ jsx(cjs.exports, {
|
|
155
|
-
handle,
|
|
156
|
-
cancel,
|
|
157
|
-
position,
|
|
158
|
-
onDrag,
|
|
159
|
-
...others,
|
|
160
|
-
children
|
|
161
|
-
});
|
|
162
|
-
};
|
|
126
|
+
import "./react-data-grid.d46d625e.js";
|
|
127
|
+
import "@m4l/styles";
|
|
128
|
+
import "react-helmet-async";
|
|
129
|
+
import "simplebar-react";
|
|
130
|
+
import "simplebar/dist/simplebar.min.css?used";
|
|
163
131
|
export {
|
|
164
|
-
|
|
132
|
+
A5 as Accordion,
|
|
165
133
|
A8 as ActionCancel,
|
|
166
134
|
A10 as ActionFormCancel,
|
|
167
135
|
A11 as ActionFormIntro,
|
|
168
136
|
A9 as ActionIntro,
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
137
|
+
A7 as Actions,
|
|
138
|
+
A as Area,
|
|
139
|
+
A2 as AreasAdmin,
|
|
140
|
+
A3 as AreasContainer,
|
|
141
|
+
A4 as AreasContext,
|
|
142
|
+
a3 as AreasProvider,
|
|
143
|
+
A6 as Avatar,
|
|
176
144
|
B4 as BooleanFormatter,
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
145
|
+
B as BoxIcon,
|
|
146
|
+
B2 as Breadcrumbs,
|
|
147
|
+
B3 as Button,
|
|
180
148
|
C as CircularProgress,
|
|
181
149
|
C2 as ConcatenatedFormatter,
|
|
150
|
+
b4 as DICCTIONARY,
|
|
151
|
+
a7 as DYNAMICFILTER_DICTIONARY_ID,
|
|
182
152
|
D2 as DataGrid,
|
|
183
|
-
|
|
184
|
-
DraggableWindow,
|
|
153
|
+
D as DateFormatter,
|
|
154
|
+
D4 as DraggableWindow,
|
|
185
155
|
D3 as DynamicFilter,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
D as DynamicMFParmsProvider,
|
|
156
|
+
a8 as DynamicMFParmsContext,
|
|
157
|
+
D5 as DynamicMFParmsProvider,
|
|
189
158
|
E as ErrorLabel,
|
|
190
159
|
H as HelmetPage,
|
|
191
160
|
I as Icon,
|
|
192
161
|
I3 as IconButton,
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
162
|
+
a2 as IconButtonAnimate,
|
|
163
|
+
I4 as Image,
|
|
164
|
+
I2 as ImageButton,
|
|
196
165
|
i2 as LABEL_DAY,
|
|
197
166
|
h as LABEL_DAYS,
|
|
167
|
+
L6 as LABEL_FILTER_BUTTON,
|
|
198
168
|
f as LABEL_MONTH,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
169
|
+
e as LABEL_MONTHS,
|
|
170
|
+
c2 as LABEL_YEAR,
|
|
171
|
+
L5 as LABEL_YEARS,
|
|
172
|
+
L7 as LanguagePopover,
|
|
173
|
+
L3 as LinearProgress,
|
|
174
|
+
L4 as LinkWithRoute,
|
|
175
|
+
L8 as Loadable,
|
|
206
176
|
L2 as LoadingButton,
|
|
207
177
|
L as LoadingScreen,
|
|
208
|
-
|
|
209
|
-
|
|
178
|
+
L9 as Logo,
|
|
179
|
+
M5 as MemonizedDynamicMFParmsProvider,
|
|
210
180
|
M3 as MenuActions,
|
|
211
|
-
|
|
181
|
+
M6 as ModalContext,
|
|
212
182
|
M4 as ModalDialog,
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
183
|
+
a9 as ModalProvider,
|
|
184
|
+
M as MotionContainer,
|
|
185
|
+
M2 as MotionLazyContainer,
|
|
216
186
|
N2 as NoItemSelected,
|
|
217
187
|
N as NumberEditor,
|
|
218
188
|
O as ObjectLogs,
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
189
|
+
P4 as Pager,
|
|
190
|
+
P8 as PaperForm,
|
|
191
|
+
P2 as Period,
|
|
192
|
+
P6 as PeriodFormatter,
|
|
193
|
+
P5 as PointsFormatter,
|
|
194
|
+
P3 as Popover,
|
|
195
|
+
P7 as PriceFormatter,
|
|
226
196
|
P as PropagateLoader,
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
197
|
+
P9 as PropertyValue,
|
|
198
|
+
R as RHFAutocomplete,
|
|
199
|
+
R2 as RHFAutocompleteAsync,
|
|
230
200
|
R3 as RHFCheckbox,
|
|
231
201
|
R4 as RHFDateTime,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
202
|
+
R5 as RHFMultiCheckbox,
|
|
203
|
+
R9 as RHFPeriod,
|
|
204
|
+
R8 as RHFRadioGroup,
|
|
205
|
+
R6 as RHFSelect,
|
|
206
|
+
R7 as RHFTextField,
|
|
237
207
|
a4 as RHFTextFieldPassword,
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
208
|
+
R10 as RHFUploadImage,
|
|
209
|
+
R12 as RHFormProvider,
|
|
210
|
+
R11 as ResizeableWindow,
|
|
241
211
|
S as ScrollBar,
|
|
242
|
-
|
|
243
|
-
|
|
212
|
+
S2 as ScrollToTop,
|
|
213
|
+
S3 as SplitLayout,
|
|
244
214
|
T as Tab,
|
|
245
215
|
T3 as TextEditor,
|
|
246
216
|
T2 as Typography,
|
|
247
217
|
U as UncertaintyFormatter,
|
|
248
|
-
|
|
249
|
-
|
|
218
|
+
W3 as WindowBase,
|
|
219
|
+
W2 as WindowConfirm,
|
|
250
220
|
c as WindowToolsMFContext,
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
221
|
+
W as WindowToolsMFProvider,
|
|
222
|
+
c3 as columnBooleanFormatter,
|
|
223
|
+
d2 as columnConcatenatedValuesFormatter,
|
|
224
|
+
b3 as columnDateFormatter,
|
|
255
225
|
c6 as columnNestedValueFormatter,
|
|
256
226
|
c5 as columnPointsFormatter,
|
|
257
227
|
c7 as columnPriceFormatter,
|
|
258
228
|
c4 as columnUncertaintyFormatter,
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
229
|
+
d4 as defaultCommonActionsDictionary,
|
|
230
|
+
d3 as defaultDynamicFilterDictionary,
|
|
231
|
+
d as defaultFormattersDictionary,
|
|
232
|
+
d5 as defaultModalDialogDictionary,
|
|
233
|
+
d6 as defaultNoItemSelectedDictionary,
|
|
234
|
+
d7 as defaultObjectLogDictionary,
|
|
235
|
+
e2 as errorLabelClasses,
|
|
236
|
+
g12 as getCommonActionsDictionary,
|
|
267
237
|
a6 as getDataGridRowsFromSet,
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
238
|
+
g11 as getDynamicFilterComponentsDictionary,
|
|
239
|
+
c8 as getDynamicFilterDictionary,
|
|
240
|
+
g8 as getFormatConcatenated,
|
|
241
|
+
g5 as getFormatDate,
|
|
242
|
+
a5 as getFormatPeriod,
|
|
243
|
+
g7 as getFormatPoints,
|
|
244
|
+
g9 as getFormatPrice,
|
|
245
|
+
b2 as getFormattersComponentsDictionary,
|
|
246
|
+
g10 as getGridComponentsDictionary,
|
|
247
|
+
g13 as getModalDialogComponentsDictionary,
|
|
248
|
+
g14 as getNoItemSelectedComponentsDictionary,
|
|
249
|
+
g15 as getObjectLogsComponentsDictionary,
|
|
250
|
+
g4 as getPagerComponentsDictionary,
|
|
280
251
|
g3 as getPeriodComponetsDictionary,
|
|
281
|
-
|
|
252
|
+
g2 as getRHFAutocompleteAsyncComponentsDictionary,
|
|
282
253
|
g as getRHFAutocompleteComponentsDictionary,
|
|
283
|
-
|
|
254
|
+
g6 as getUncertaintyFormat,
|
|
284
255
|
i as imageButtonClasses,
|
|
285
256
|
t as typographyClasses,
|
|
286
257
|
u as useDynamicMFParametersStore,
|
|
@@ -291,6 +262,6 @@ export {
|
|
|
291
262
|
v3 as varContainer,
|
|
292
263
|
v as varFade,
|
|
293
264
|
v4 as varTranEnter,
|
|
294
|
-
|
|
295
|
-
|
|
265
|
+
a as varTranExit,
|
|
266
|
+
b as varTranHover
|
|
296
267
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.53",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@hookform/resolvers": "^2.9.5",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"@mui/lab": "5.0.0-alpha.89",
|
|
11
11
|
"@mui/material": "5.10.4",
|
|
12
12
|
"@mui/system": "5.10.4",
|
|
13
|
-
"@mui/x-date-pickers": "
|
|
13
|
+
"@mui/x-date-pickers": "6.2.0",
|
|
14
14
|
"immer": "^9.0.21",
|
|
15
15
|
"install": "^0.13.0",
|
|
16
16
|
"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.b6ae791a.js";
|
|
6
6
|
var cjs = { exports: {} };
|
|
7
7
|
var Draggable$1 = {};
|
|
8
8
|
var DraggableCore$2 = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import { c as cjs } from "./react-draggable.
|
|
3
|
-
import { u as utils } from "./utils/index.
|
|
2
|
+
import { c as cjs } from "./react-draggable.6471b07e.js";
|
|
3
|
+
import { u as utils } from "./utils/index.b6ae791a.js";
|
|
4
4
|
import require$$1 from "prop-types";
|
|
5
5
|
var reactResizable = { exports: {} };
|
|
6
6
|
var Resizable$1 = {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TEST_PROP_ID = "data-testid";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { generateUtilityClass } from "@mui/material";
|
|
1
2
|
import React__default from "react";
|
|
2
3
|
var domFns = {};
|
|
3
4
|
var shims = {};
|
|
@@ -475,6 +476,9 @@ Object.defineProperty(log$1, "__esModule", {
|
|
|
475
476
|
log$1.default = log;
|
|
476
477
|
function log() {
|
|
477
478
|
}
|
|
479
|
+
function isValidDate(d) {
|
|
480
|
+
return d && d instanceof Date && !isNaN(d.getTime());
|
|
481
|
+
}
|
|
478
482
|
const getPaletteColor = function(palette, s) {
|
|
479
483
|
s = s.replace(/\[(\w+)\]/g, ".$1");
|
|
480
484
|
s = s.replace(/^\./, "");
|
|
@@ -515,6 +519,9 @@ const getThemeVariantColor = (theme, variant) => {
|
|
|
515
519
|
}
|
|
516
520
|
return theme.palette.text.primary;
|
|
517
521
|
};
|
|
522
|
+
function getComponentUtilityClass(componentName) {
|
|
523
|
+
return (slot) => generateUtilityClass(componentName, slot);
|
|
524
|
+
}
|
|
518
525
|
var utils = {};
|
|
519
526
|
utils.__esModule = true;
|
|
520
527
|
utils.cloneElement = cloneElement;
|
|
@@ -578,10 +585,12 @@ function cloneElement(element, props) {
|
|
|
578
585
|
return /* @__PURE__ */ _react.default.cloneElement(element, props);
|
|
579
586
|
}
|
|
580
587
|
export {
|
|
581
|
-
|
|
582
|
-
|
|
588
|
+
getPaletteColor as a,
|
|
589
|
+
getThemeVariantColor as b,
|
|
590
|
+
getVariantColor as c,
|
|
583
591
|
domFns as d,
|
|
584
|
-
|
|
592
|
+
getComponentUtilityClass as g,
|
|
593
|
+
isValidDate as i,
|
|
585
594
|
log$1 as l,
|
|
586
595
|
positionFns as p,
|
|
587
596
|
shims as s,
|
package/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { Palette, Theme } from '@mui/material/styles';
|
|
2
2
|
import { VariantColor } from './types';
|
|
3
|
+
export declare function isValidDate(d: Date): boolean;
|
|
3
4
|
export declare const getPaletteColor: (palette: Palette, s: string) => any;
|
|
4
5
|
export declare const getVariantColor: (variant: VariantColor | undefined) => "error" | "warning" | "info" | "primary";
|
|
5
6
|
export declare const getThemeVariantColor: (theme: Theme, variant: VariantColor | undefined) => string;
|
|
7
|
+
export declare function getComponentUtilityClass(componentName: string): (slot: string) => string;
|