@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default, { useMemo, useState, useRef, useCallback, useEffect } from "react";
|
|
2
|
-
import { I as Icon } from "../../../Icon/index.
|
|
2
|
+
import { I as Icon } from "../../../Icon/index.b29ff2d9.js";
|
|
3
3
|
import { m } from "framer-motion";
|
|
4
4
|
import { Skeleton, Typography, styled as styled$1, Dialog, Paper } from "@mui/material";
|
|
5
5
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
@@ -7,71 +7,70 @@ import { styled } from "@mui/material/styles";
|
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
9
9
|
import "../../../animate/PropagateLoader/index.be5b02c3.js";
|
|
10
|
-
import "../index.
|
|
11
|
-
import "../AreasAdmin/index.
|
|
10
|
+
import "../index.912056a0.js";
|
|
11
|
+
import "../AreasAdmin/index.25e50e70.js";
|
|
12
12
|
import { useEnvironment, useModuleSkeleton, useModuleDictionary, useNetwork, useHostTools, axiosOperation } from "@m4l/core";
|
|
13
|
-
import { I as IconButton } from "../../../mui_extended/IconButton/index.
|
|
13
|
+
import { I as IconButton } from "../../../mui_extended/IconButton/index.460c0476.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../../contexts/AreasContext/index.
|
|
15
|
+
import "../../contexts/AreasContext/index.fb21af84.js";
|
|
16
16
|
import { shallow } from "zustand/shallow";
|
|
17
|
-
import "../AreasContainer/index.
|
|
17
|
+
import "../AreasContainer/index.432b9d4c.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
|
-
import "../../../../react-resizable.
|
|
20
|
-
import { W as WindowToolsMFProvider, a as WindowMFProvider } from "../../contexts/index.
|
|
19
|
+
import "../../../../react-resizable.b620abed.js";
|
|
20
|
+
import { W as WindowToolsMFProvider, a as WindowMFProvider } from "../../contexts/index.1e46147e.js";
|
|
21
21
|
import { D as DynamicMFParmsProvider } from "../../contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
22
22
|
import "react-hook-form";
|
|
23
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
23
|
+
import "../../../hook-form/RHFAutocomplete/index.0ffa2185.js";
|
|
24
24
|
import { I as Image } from "../../../Image/index.aa24e982.js";
|
|
25
25
|
import debounce from "lodash/debounce";
|
|
26
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
27
|
-
import "../../../mui_extended/Accordion/index.
|
|
26
|
+
import "../../../hook-form/RHFCheckbox/index.1fcf42c8.js";
|
|
27
|
+
import "../../../mui_extended/Accordion/index.002bad72.js";
|
|
28
28
|
import "../../../mui_extended/Avatar/index.fe06afd7.js";
|
|
29
29
|
import "@mui/material/Button";
|
|
30
30
|
import { B as Button } from "../../../mui_extended/Button/index.8406ed5b.js";
|
|
31
31
|
import "@mui/lab";
|
|
32
32
|
import "../../../mui_extended/Popover/index.58c49cc0.js";
|
|
33
|
-
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.
|
|
34
|
-
import "../../../mui_extended/Pager/index.
|
|
33
|
+
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.aaafafc3.js";
|
|
34
|
+
import "../../../mui_extended/Pager/index.458f9f0d.js";
|
|
35
35
|
import "../../../mui_extended/Tab/index.e0653a0a.js";
|
|
36
36
|
import "../../../mui_extended/Typography/index.be3a279a.js";
|
|
37
|
-
import "../../../ErrorLabel/index.
|
|
37
|
+
import "../../../ErrorLabel/index.12994bff.js";
|
|
38
38
|
import "@mui/x-date-pickers";
|
|
39
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
39
|
+
import "../../../hook-form/RHFDateTime/index.6c129ce4.js";
|
|
40
40
|
import { useResponsiveDesktop, useHostTheme, useFormatter, useLocales, useFirstRender } from "@m4l/graphics";
|
|
41
|
-
import "../../../hook-form/RHFTextField/index.
|
|
42
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
43
|
-
import "../../../Period/index.
|
|
44
|
-
import "../../../CommonActions/components/Actions/index.
|
|
45
|
-
import "../../../../contexts/ModalContext/index.
|
|
46
|
-
import { c as cjs } from "../../../../react-draggable.
|
|
47
|
-
import "../../../ModalDialog/index.
|
|
48
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
49
|
-
import "../../../modal/WindowConfirm.
|
|
50
|
-
import "../../../modal/WindowBase.
|
|
41
|
+
import "../../../hook-form/RHFTextField/index.a021a2b3.js";
|
|
42
|
+
import "../../../hook-form/RHFPeriod/index.1f6aa4c6.js";
|
|
43
|
+
import "../../../Period/index.4f6e419d.js";
|
|
44
|
+
import "../../../CommonActions/components/Actions/index.93c9823a.js";
|
|
45
|
+
import "../../../../contexts/ModalContext/index.d1aaddbc.js";
|
|
46
|
+
import { c as cjs } from "../../../../react-draggable.6471b07e.js";
|
|
47
|
+
import "../../../ModalDialog/index.49c40899.js";
|
|
48
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.04fa8de5.js";
|
|
49
|
+
import "../../../modal/WindowConfirm.b31ed329.js";
|
|
50
|
+
import "../../../modal/WindowBase.66ef3c9a.js";
|
|
51
51
|
import "lodash/isString";
|
|
52
52
|
import "react-dropzone";
|
|
53
53
|
import "../../../hook-form/RHFUpload/index.7fdff30f.js";
|
|
54
|
-
import "../../../DataGrid/index.
|
|
54
|
+
import "../../../DataGrid/index.1a6508e2.js";
|
|
55
55
|
import "react-dnd";
|
|
56
56
|
import "react-dnd-html5-backend";
|
|
57
|
-
import "../../../
|
|
58
|
-
import "../../../
|
|
57
|
+
import "../../../DynamicFilter/index.2189989e.js";
|
|
58
|
+
import "../../../ScrollBar/index.35ebe9a1.js";
|
|
59
|
+
import "yup";
|
|
59
60
|
import "clsx";
|
|
60
|
-
import "simplebar/dist/simplebar.min.css";
|
|
61
61
|
import "@hookform/resolvers/yup";
|
|
62
|
-
import "../../../../contexts/RHFormContext/index.
|
|
63
|
-
import "
|
|
64
|
-
import "../../../LanguagePopover/index.5047b444.js";
|
|
62
|
+
import "../../../../contexts/RHFormContext/index.3dc6e2f5.js";
|
|
63
|
+
import "../../../LanguagePopover/index.628fe97f.js";
|
|
65
64
|
import "../../../NoItemSelected/index.9636ec8a.js";
|
|
66
|
-
import "../../../ObjectLogs/index.
|
|
65
|
+
import "../../../ObjectLogs/index.d7c0092a.js";
|
|
67
66
|
import "../../../../react-json-view.57125fcf.js";
|
|
68
|
-
import "../../../PaperForm/index.
|
|
67
|
+
import "../../../PaperForm/index.c04000a9.js";
|
|
69
68
|
import "../../../Page/index.4237c241.js";
|
|
70
69
|
import "../../../PropertyValue/index.dfcfe1ba.js";
|
|
71
70
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
72
71
|
import "../../../SplitLayout/index.5a8355d8.js";
|
|
73
|
-
import { a as useAreaStore } from "../../hooks/useArea/index.
|
|
74
|
-
import { a as useWindow, b as useWindowStore } from "../../hooks/index.
|
|
72
|
+
import { a as useAreaStore } from "../../hooks/useArea/index.6f45f930.js";
|
|
73
|
+
import { a as useWindow, b as useWindowStore } from "../../hooks/index.5feefc73.js";
|
|
75
74
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
76
75
|
import { v as varBounce } from "../../../animate/variants/bounce.784aaaaa.js";
|
|
77
76
|
const WrapperWindow = styled("div", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React__default from "react";
|
|
2
|
-
import "../../../Icon/index.
|
|
2
|
+
import "../../../Icon/index.b29ff2d9.js";
|
|
3
3
|
import "framer-motion";
|
|
4
4
|
import "@mui/material";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -7,72 +7,71 @@ import "@mui/material/styles";
|
|
|
7
7
|
import "react-router-dom";
|
|
8
8
|
import "../../../animate/LoadingScreen/index.1d0c4307.js";
|
|
9
9
|
import "../../../animate/PropagateLoader/index.be5b02c3.js";
|
|
10
|
-
import "../index.
|
|
11
|
-
import "../AreasAdmin/index.
|
|
10
|
+
import "../index.912056a0.js";
|
|
11
|
+
import "../AreasAdmin/index.25e50e70.js";
|
|
12
12
|
import "@m4l/core";
|
|
13
|
-
import "../../../mui_extended/IconButton/index.
|
|
13
|
+
import "../../../mui_extended/IconButton/index.460c0476.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../../contexts/AreasContext/index.
|
|
15
|
+
import "../../contexts/AreasContext/index.fb21af84.js";
|
|
16
16
|
import "zustand/shallow";
|
|
17
|
-
import "../AreasContainer/index.
|
|
17
|
+
import "../AreasContainer/index.432b9d4c.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
|
-
import "../../../../react-resizable.
|
|
20
|
-
import "../../contexts/index.
|
|
19
|
+
import "../../../../react-resizable.b620abed.js";
|
|
20
|
+
import "../../contexts/index.1e46147e.js";
|
|
21
21
|
import "../../contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
22
22
|
import "react-hook-form";
|
|
23
|
-
import "../../../hook-form/RHFAutocomplete/index.
|
|
23
|
+
import "../../../hook-form/RHFAutocomplete/index.0ffa2185.js";
|
|
24
24
|
import "../../../Image/index.aa24e982.js";
|
|
25
25
|
import "lodash/debounce";
|
|
26
|
-
import "../../../hook-form/RHFCheckbox/index.
|
|
27
|
-
import "../../../mui_extended/Accordion/index.
|
|
26
|
+
import "../../../hook-form/RHFCheckbox/index.1fcf42c8.js";
|
|
27
|
+
import "../../../mui_extended/Accordion/index.002bad72.js";
|
|
28
28
|
import "../../../mui_extended/Avatar/index.fe06afd7.js";
|
|
29
29
|
import "@mui/material/Button";
|
|
30
30
|
import "../../../mui_extended/Button/index.8406ed5b.js";
|
|
31
31
|
import "@mui/lab";
|
|
32
32
|
import "../../../mui_extended/Popover/index.58c49cc0.js";
|
|
33
|
-
import "../../../mui_extended/MenuActions/index.
|
|
34
|
-
import "../../../mui_extended/Pager/index.
|
|
33
|
+
import "../../../mui_extended/MenuActions/index.aaafafc3.js";
|
|
34
|
+
import "../../../mui_extended/Pager/index.458f9f0d.js";
|
|
35
35
|
import "../../../mui_extended/Tab/index.e0653a0a.js";
|
|
36
36
|
import "../../../mui_extended/Typography/index.be3a279a.js";
|
|
37
|
-
import "../../../ErrorLabel/index.
|
|
37
|
+
import "../../../ErrorLabel/index.12994bff.js";
|
|
38
38
|
import "@mui/x-date-pickers";
|
|
39
|
-
import "../../../hook-form/RHFDateTime/index.
|
|
39
|
+
import "../../../hook-form/RHFDateTime/index.6c129ce4.js";
|
|
40
40
|
import "@m4l/graphics";
|
|
41
|
-
import "../../../hook-form/RHFTextField/index.
|
|
42
|
-
import "../../../hook-form/RHFPeriod/index.
|
|
43
|
-
import "../../../Period/index.
|
|
44
|
-
import "../../../CommonActions/components/Actions/index.
|
|
45
|
-
import "../../../../contexts/ModalContext/index.
|
|
46
|
-
import "../../../../react-draggable.
|
|
47
|
-
import "../../../ModalDialog/index.
|
|
48
|
-
import { R as ResizeableWindow } from "../../../Resizeable/index.
|
|
49
|
-
import "../../../modal/WindowConfirm.
|
|
50
|
-
import "../../../modal/WindowBase.
|
|
41
|
+
import "../../../hook-form/RHFTextField/index.a021a2b3.js";
|
|
42
|
+
import "../../../hook-form/RHFPeriod/index.1f6aa4c6.js";
|
|
43
|
+
import "../../../Period/index.4f6e419d.js";
|
|
44
|
+
import "../../../CommonActions/components/Actions/index.93c9823a.js";
|
|
45
|
+
import "../../../../contexts/ModalContext/index.d1aaddbc.js";
|
|
46
|
+
import "../../../../react-draggable.6471b07e.js";
|
|
47
|
+
import "../../../ModalDialog/index.49c40899.js";
|
|
48
|
+
import { R as ResizeableWindow } from "../../../Resizeable/index.04fa8de5.js";
|
|
49
|
+
import "../../../modal/WindowConfirm.b31ed329.js";
|
|
50
|
+
import "../../../modal/WindowBase.66ef3c9a.js";
|
|
51
51
|
import "lodash/isString";
|
|
52
52
|
import "react-dropzone";
|
|
53
53
|
import "../../../hook-form/RHFUpload/index.7fdff30f.js";
|
|
54
|
-
import "../../../DataGrid/index.
|
|
54
|
+
import "../../../DataGrid/index.1a6508e2.js";
|
|
55
55
|
import "react-dnd";
|
|
56
56
|
import "react-dnd-html5-backend";
|
|
57
|
-
import "../../../
|
|
58
|
-
import "../../../
|
|
57
|
+
import "../../../DynamicFilter/index.2189989e.js";
|
|
58
|
+
import "../../../ScrollBar/index.35ebe9a1.js";
|
|
59
|
+
import "yup";
|
|
59
60
|
import "clsx";
|
|
60
|
-
import "simplebar/dist/simplebar.min.css";
|
|
61
61
|
import "@hookform/resolvers/yup";
|
|
62
|
-
import "../../../../contexts/RHFormContext/index.
|
|
63
|
-
import "
|
|
64
|
-
import
|
|
65
|
-
import "../../../LanguagePopover/index.5047b444.js";
|
|
62
|
+
import "../../../../contexts/RHFormContext/index.3dc6e2f5.js";
|
|
63
|
+
import { D as DraggableWindow } from "../../../../vendor.d5904857.js";
|
|
64
|
+
import "../../../LanguagePopover/index.628fe97f.js";
|
|
66
65
|
import "../../../NoItemSelected/index.9636ec8a.js";
|
|
67
|
-
import "../../../ObjectLogs/index.
|
|
66
|
+
import "../../../ObjectLogs/index.d7c0092a.js";
|
|
68
67
|
import "../../../../react-json-view.57125fcf.js";
|
|
69
|
-
import "../../../PaperForm/index.
|
|
68
|
+
import "../../../PaperForm/index.c04000a9.js";
|
|
70
69
|
import "../../../Page/index.4237c241.js";
|
|
71
70
|
import "../../../PropertyValue/index.dfcfe1ba.js";
|
|
72
71
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
73
72
|
import "../../../SplitLayout/index.5a8355d8.js";
|
|
74
|
-
import { a as useAreaStore } from "../../hooks/useArea/index.
|
|
75
|
-
import { W as Window } from "../Window/index.
|
|
73
|
+
import { a as useAreaStore } from "../../hooks/useArea/index.6f45f930.js";
|
|
74
|
+
import { W as Window } from "../Window/index.2b9f12fe.js";
|
|
76
75
|
const WindowPopUp = (props) => {
|
|
77
76
|
const {
|
|
78
77
|
windowProps,
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { A as AreaProvider } from "../contexts/AreaContext/index.
|
|
1
|
+
import { A as AreaProvider } from "../contexts/AreaContext/index.b1439daf.js";
|
|
2
2
|
import { styled } from "@mui/material/styles";
|
|
3
|
-
import { G as GridLayout } from "./GridLayout/index.
|
|
4
|
-
import { a as useAreaStore } from "../hooks/useArea/index.
|
|
3
|
+
import { G as GridLayout } from "./GridLayout/index.359e777e.js";
|
|
4
|
+
import { a as useAreaStore } from "../hooks/useArea/index.6f45f930.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { b as WindowsPanel } from "./Window/index.
|
|
6
|
+
import { b as WindowsPanel } from "./Window/index.2b9f12fe.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import "./AreasAdmin/index.
|
|
8
|
+
import "./AreasAdmin/index.25e50e70.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import "@m4l/core";
|
|
11
11
|
import "@mui/material";
|
|
12
|
-
import "../../Icon/index.
|
|
13
|
-
import "../../mui_extended/IconButton/index.
|
|
12
|
+
import "../../Icon/index.b29ff2d9.js";
|
|
13
|
+
import "../../mui_extended/IconButton/index.460c0476.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../contexts/AreasContext/index.
|
|
15
|
+
import "../contexts/AreasContext/index.fb21af84.js";
|
|
16
16
|
import "zustand/shallow";
|
|
17
|
-
import "./AreasContainer/index.
|
|
17
|
+
import "./AreasContainer/index.432b9d4c.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
|
-
import "../../../react-resizable.
|
|
19
|
+
import "../../../react-resizable.b620abed.js";
|
|
20
20
|
const WrapperArea = styled("div", {
|
|
21
21
|
shouldForwardProp: (props) => props !== "isDesktop"
|
|
22
22
|
})(({
|
|
@@ -6,7 +6,7 @@ import { immer } from "zustand/middleware/immer";
|
|
|
6
6
|
import { devtools } from "zustand/middleware";
|
|
7
7
|
import debounce from "lodash/debounce";
|
|
8
8
|
import cloneDeep from "lodash.clonedeep";
|
|
9
|
-
import { u as useAreasStore } from "../../hooks/useArea/index.
|
|
9
|
+
import { u as useAreasStore } from "../../hooks/useArea/index.6f45f930.js";
|
|
10
10
|
import { useResponsiveDesktop, useFirstRender } from "@m4l/graphics";
|
|
11
11
|
import { jsx } from "react/jsx-runtime";
|
|
12
12
|
const ROW_HEIGTH_GRIDLAYOUT = 100;
|
|
@@ -3,7 +3,7 @@ import { useHostTools, useModuleDictionary, useNetwork, EmitEvents } from "@m4l/
|
|
|
3
3
|
import { createStore, useStore } from "zustand";
|
|
4
4
|
import { devtools } from "zustand/middleware";
|
|
5
5
|
import { immer } from "zustand/middleware/immer";
|
|
6
|
-
import { L as LABEL_NEW_AREA } from "../../index.
|
|
6
|
+
import { L as LABEL_NEW_AREA } from "../../index.3df8c6d4.js";
|
|
7
7
|
import { shallow } from "zustand/shallow";
|
|
8
8
|
import { useFirstRender } from "@m4l/graphics";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -6,7 +6,7 @@ import { devtools } from "zustand/middleware";
|
|
|
6
6
|
import { immer } from "zustand/middleware/immer";
|
|
7
7
|
import cloneDeep from "lodash.clonedeep";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
import "./AreasContext/index.
|
|
9
|
+
import "./AreasContext/index.fb21af84.js";
|
|
10
10
|
function getCookiesContainer(data, containerId) {
|
|
11
11
|
const cookies = {};
|
|
12
12
|
try {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { b as WindowContext, c as WindowToolsMFContext } from "../contexts/index.
|
|
3
|
+
import { b as WindowContext, c as WindowToolsMFContext } from "../contexts/index.1e46147e.js";
|
|
4
4
|
import "../contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
5
5
|
const useWindow = () => {
|
|
6
6
|
const context = useContext(WindowContext);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useContext } from "react";
|
|
2
2
|
import { useStore } from "zustand";
|
|
3
|
-
import { A as AreasContext } from "../../contexts/AreasContext/index.
|
|
4
|
-
import { a as AreaContext } from "../../contexts/AreaContext/index.
|
|
3
|
+
import { A as AreasContext } from "../../contexts/AreasContext/index.fb21af84.js";
|
|
4
|
+
import { a as AreaContext } from "../../contexts/AreaContext/index.b1439daf.js";
|
|
5
5
|
function useAreasStore(selector, equalityFn) {
|
|
6
6
|
const context = useContext(AreasContext);
|
|
7
7
|
if (!context)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import "./components/index.912056a0.js";
|
|
2
|
+
import "./components/AreasAdmin/index.25e50e70.js";
|
|
3
|
+
import "react";
|
|
4
|
+
import "@m4l/core";
|
|
5
|
+
import "@mui/material";
|
|
6
|
+
import "../Icon/index.b29ff2d9.js";
|
|
7
|
+
import "@mui/material/styles";
|
|
8
|
+
import "react/jsx-runtime";
|
|
9
|
+
import "../mui_extended/IconButton/index.460c0476.js";
|
|
10
|
+
import "zustand";
|
|
11
|
+
import "./contexts/AreasContext/index.fb21af84.js";
|
|
12
|
+
import "zustand/shallow";
|
|
13
|
+
import "./components/AreasContainer/index.432b9d4c.js";
|
|
14
|
+
import "react-grid-layout/css/styles.css";
|
|
15
|
+
import "../../react-resizable.b620abed.js";
|
|
16
|
+
import "./contexts/index.1e46147e.js";
|
|
17
|
+
import "./contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
18
|
+
const LABEL_NEW_AREA = "label_new_area";
|
|
19
|
+
export {
|
|
20
|
+
LABEL_NEW_AREA as L
|
|
21
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useMemo } from "react";
|
|
2
2
|
import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
3
|
-
import { I as Icon } from "../../Icon/index.
|
|
3
|
+
import { I as Icon } from "../../Icon/index.b29ff2d9.js";
|
|
4
4
|
import { W as WrapperComponent } from "../../WrapperComponent/index.5e872594.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
function BooleanFormatter(props) {
|
|
@@ -2,8 +2,9 @@ import { W as WrapperComponent } from "../WrapperComponent/index.5e872594.js";
|
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
import { useModuleDictionary } from "@m4l/core";
|
|
4
4
|
import "react";
|
|
5
|
-
import "../Icon/index.
|
|
5
|
+
import "../Icon/index.b29ff2d9.js";
|
|
6
6
|
import "@mui/material/styles";
|
|
7
|
+
import "@mui/material";
|
|
7
8
|
import "@m4l/graphics";
|
|
8
9
|
function getFormatConcatenated(values, separator) {
|
|
9
10
|
const returnSymbol = "";
|
|
@@ -5,6 +5,7 @@ import { styled } from "@mui/material/styles";
|
|
|
5
5
|
import { I as Image } from "../../Image/index.aa24e982.js";
|
|
6
6
|
import { useMemo, useState, useEffect } from "react";
|
|
7
7
|
import { jsxs, jsx, Fragment } from "react/jsx-runtime";
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../../vendor.d5904857.js";
|
|
8
9
|
const WrapperAutocomplete = styled("div")(({
|
|
9
10
|
theme
|
|
10
11
|
}) => ({
|
|
@@ -113,6 +114,7 @@ const SkeletonRHFAutocomplete = (props) => {
|
|
|
113
114
|
})]
|
|
114
115
|
});
|
|
115
116
|
};
|
|
117
|
+
const RHFTAUTOCOMPLET_ROOT_TEST_ID = "RHFAutocomplete";
|
|
116
118
|
function RHFAutocomplete(props) {
|
|
117
119
|
const {
|
|
118
120
|
name,
|
|
@@ -184,7 +186,8 @@ function RHFAutocomplete(props) {
|
|
|
184
186
|
render: ({
|
|
185
187
|
field: {
|
|
186
188
|
onChange,
|
|
187
|
-
value
|
|
189
|
+
value,
|
|
190
|
+
ref
|
|
188
191
|
},
|
|
189
192
|
fieldState: {
|
|
190
193
|
error
|
|
@@ -204,68 +207,75 @@ function RHFAutocomplete(props) {
|
|
|
204
207
|
e.preventDefault();
|
|
205
208
|
};
|
|
206
209
|
return /* @__PURE__ */ jsx(WrapperAutocomplete, {
|
|
210
|
+
...process.env.NODE_ENV !== "production" ? {
|
|
211
|
+
[TEST_PROP_ID]: `${RHFTAUTOCOMPLET_ROOT_TEST_ID}_${name}`
|
|
212
|
+
} : {},
|
|
207
213
|
className: "m4l_rhf_autocomplete",
|
|
208
|
-
children: /* @__PURE__ */ jsx(
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
if (
|
|
220
|
-
|
|
214
|
+
children: /* @__PURE__ */ jsx(
|
|
215
|
+
Autocomplete,
|
|
216
|
+
{
|
|
217
|
+
onKeyDown: checkKeyDown,
|
|
218
|
+
autoComplete: true,
|
|
219
|
+
autoSelect: false,
|
|
220
|
+
options,
|
|
221
|
+
getOptionLabel: getOptionLabelLocal,
|
|
222
|
+
inputValue,
|
|
223
|
+
clearOnBlur: false,
|
|
224
|
+
onInputChange: (_event, newValue, reason) => {
|
|
225
|
+
if (reason === "input") {
|
|
226
|
+
setInputValue(newValue);
|
|
227
|
+
if (onChangeFilterParmsLocal) {
|
|
228
|
+
onChangeFilterParmsLocal(newValue, reason);
|
|
229
|
+
}
|
|
221
230
|
}
|
|
231
|
+
onChange(null);
|
|
232
|
+
},
|
|
233
|
+
isOptionEqualToValue: isOptionEqualToValueLocal,
|
|
234
|
+
disableClearable: true,
|
|
235
|
+
value: value || null,
|
|
236
|
+
onOpen: onOpenLocal,
|
|
237
|
+
onClose: onCloseLocal,
|
|
238
|
+
onChange: (_e, val) => {
|
|
239
|
+
setInputValue(getOptionLabelLocal(val));
|
|
240
|
+
onChange(val);
|
|
241
|
+
},
|
|
242
|
+
filterOptions: onChangeFilterParmsLocal ? (x) => x : void 0,
|
|
243
|
+
loading,
|
|
244
|
+
loadingText: getLabel("rhf_autocomplete.loading_options"),
|
|
245
|
+
disabled,
|
|
246
|
+
noOptionsText: getLabel("rhf_autocomplete.no_options"),
|
|
247
|
+
renderOption: withImage ? withRenderOption(getOptionUrlImageLocal, imageWidth, imageHeight) : void 0,
|
|
248
|
+
renderInput: (params) => {
|
|
249
|
+
return /* @__PURE__ */ jsx(TextField, {
|
|
250
|
+
...params,
|
|
251
|
+
inputRef: ref,
|
|
252
|
+
label,
|
|
253
|
+
fullWidth: true,
|
|
254
|
+
SelectProps: {
|
|
255
|
+
native: true
|
|
256
|
+
},
|
|
257
|
+
InputProps: {
|
|
258
|
+
...params.InputProps,
|
|
259
|
+
startAdornment: withImage && value ? /* @__PURE__ */ jsx(Image, {
|
|
260
|
+
src: getOptionUrlImageLocal(value),
|
|
261
|
+
width: imageWidth,
|
|
262
|
+
height: imageHeight
|
|
263
|
+
}, "ImageTextField") : null,
|
|
264
|
+
endAdornment: /* @__PURE__ */ jsxs(Fragment, {
|
|
265
|
+
children: [loading ? /* @__PURE__ */ jsx(CircularProgress, {
|
|
266
|
+
color: "inherit",
|
|
267
|
+
size: 20
|
|
268
|
+
}) : null, params.InputProps.endAdornment]
|
|
269
|
+
})
|
|
270
|
+
},
|
|
271
|
+
autoComplete: "off",
|
|
272
|
+
error: !!error,
|
|
273
|
+
helperText: error?.message,
|
|
274
|
+
...other
|
|
275
|
+
});
|
|
222
276
|
}
|
|
223
|
-
onChange(null);
|
|
224
|
-
},
|
|
225
|
-
isOptionEqualToValue: isOptionEqualToValueLocal,
|
|
226
|
-
disableClearable: true,
|
|
227
|
-
value: value || null,
|
|
228
|
-
onOpen: onOpenLocal,
|
|
229
|
-
onClose: onCloseLocal,
|
|
230
|
-
onChange: (_e, val) => {
|
|
231
|
-
setInputValue(getOptionLabelLocal(val));
|
|
232
|
-
onChange(val);
|
|
233
|
-
},
|
|
234
|
-
filterOptions: onChangeFilterParmsLocal ? (x) => x : void 0,
|
|
235
|
-
loading,
|
|
236
|
-
loadingText: getLabel("rhf_autocomplete.loading_options"),
|
|
237
|
-
disabled,
|
|
238
|
-
noOptionsText: getLabel("rhf_autocomplete.no_options"),
|
|
239
|
-
renderOption: withImage ? withRenderOption(getOptionUrlImageLocal, imageWidth, imageHeight) : void 0,
|
|
240
|
-
renderInput: (params) => {
|
|
241
|
-
return /* @__PURE__ */ jsx(TextField, {
|
|
242
|
-
...params,
|
|
243
|
-
label,
|
|
244
|
-
fullWidth: true,
|
|
245
|
-
SelectProps: {
|
|
246
|
-
native: true
|
|
247
|
-
},
|
|
248
|
-
InputProps: {
|
|
249
|
-
...params.InputProps,
|
|
250
|
-
startAdornment: withImage && value ? /* @__PURE__ */ jsx(Image, {
|
|
251
|
-
src: getOptionUrlImageLocal(value),
|
|
252
|
-
width: imageWidth,
|
|
253
|
-
height: imageHeight
|
|
254
|
-
}, "ImageTextField") : null,
|
|
255
|
-
endAdornment: /* @__PURE__ */ jsxs(Fragment, {
|
|
256
|
-
children: [loading ? /* @__PURE__ */ jsx(CircularProgress, {
|
|
257
|
-
color: "inherit",
|
|
258
|
-
size: 20
|
|
259
|
-
}) : null, params.InputProps.endAdornment]
|
|
260
|
-
})
|
|
261
|
-
},
|
|
262
|
-
autoComplete: "off",
|
|
263
|
-
error: !!error,
|
|
264
|
-
helperText: error?.message,
|
|
265
|
-
...other
|
|
266
|
-
});
|
|
267
277
|
}
|
|
268
|
-
|
|
278
|
+
)
|
|
269
279
|
});
|
|
270
280
|
}
|
|
271
281
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const RHFTAUTOCOMPLET_ROOT_TEST_ID = "RHFAutocomplete";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useState, useCallback, useEffect } from "react";
|
|
2
2
|
import { useNetwork, getPropertyByString } from "@m4l/core";
|
|
3
3
|
import debounce from "lodash/debounce";
|
|
4
|
-
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.
|
|
4
|
+
import { R as RHFAutocomplete, g as getRHFAutocompleteComponentsDictionary } from "../RHFAutocomplete/index.0ffa2185.js";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
function RHFAutocompleteAsync(props) {
|
|
7
7
|
const {
|
|
@@ -4,7 +4,7 @@ import { useModuleSkeleton } from "@m4l/core";
|
|
|
4
4
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
5
5
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
6
6
|
import { unstable_composeClasses } from "@mui/base";
|
|
7
|
-
import { E as ErrorLabel } from "../../ErrorLabel/index.
|
|
7
|
+
import { E as ErrorLabel } from "../../ErrorLabel/index.12994bff.js";
|
|
8
8
|
import { T as Typography } from "../../mui_extended/Typography/index.be3a279a.js";
|
|
9
9
|
const WrapperSkeletonCheckBox = styled("div")(() => ({
|
|
10
10
|
display: "flex",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useFormContext, Controller } from "react-hook-form";
|
|
2
|
-
import { Skeleton, TextField } from "@mui/material";
|
|
3
2
|
import { DateTimePicker } from "@mui/x-date-pickers";
|
|
4
3
|
import { useModuleSkeleton } from "@m4l/core";
|
|
4
|
+
import { Skeleton } from "@mui/material";
|
|
5
5
|
import { styled } from "@mui/material/styles";
|
|
6
6
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
7
7
|
import { useFormatter } from "@m4l/graphics";
|
|
@@ -37,10 +37,8 @@ const SkeletonRHFDateTime = (props) => {
|
|
|
37
37
|
function RHFDateTime(props) {
|
|
38
38
|
const {
|
|
39
39
|
name,
|
|
40
|
-
autoComplete = "off",
|
|
41
40
|
skeletonWidth = "50%",
|
|
42
|
-
skeletonHeight = 14
|
|
43
|
-
withMask = true
|
|
41
|
+
skeletonHeight = 14
|
|
44
42
|
} = props;
|
|
45
43
|
const isSkeleton = useModuleSkeleton();
|
|
46
44
|
const {
|
|
@@ -48,8 +46,7 @@ function RHFDateTime(props) {
|
|
|
48
46
|
} = useFormContext();
|
|
49
47
|
const {
|
|
50
48
|
dateFormatter: {
|
|
51
|
-
datetimeFormat
|
|
52
|
-
datetimeMask
|
|
49
|
+
datetimeFormat
|
|
53
50
|
}
|
|
54
51
|
} = useFormatter();
|
|
55
52
|
if (isSkeleton) {
|
|
@@ -64,38 +61,30 @@ function RHFDateTime(props) {
|
|
|
64
61
|
render: ({
|
|
65
62
|
field: {
|
|
66
63
|
value,
|
|
67
|
-
onChange
|
|
64
|
+
onChange,
|
|
65
|
+
ref
|
|
68
66
|
},
|
|
69
67
|
fieldState: {
|
|
70
68
|
error
|
|
71
69
|
}
|
|
72
70
|
}) => {
|
|
73
71
|
return /* @__PURE__ */ jsx(DateTimePicker, {
|
|
72
|
+
className: "OLEEEEE ",
|
|
73
|
+
inputRef: ref,
|
|
74
74
|
ampm: false,
|
|
75
|
-
...(() => {
|
|
76
|
-
return withMask ? {
|
|
77
|
-
inputFormat: datetimeFormat,
|
|
78
|
-
mask: datetimeMask
|
|
79
|
-
} : {};
|
|
80
|
-
})(),
|
|
81
75
|
label: "",
|
|
82
76
|
value,
|
|
83
77
|
onChange: (newValue) => {
|
|
84
78
|
onChange(newValue);
|
|
85
79
|
},
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
if (e.code === "Enter")
|
|
89
|
-
e.preventDefault();
|
|
90
|
-
};
|
|
91
|
-
return /* @__PURE__ */ jsx(TextField, {
|
|
92
|
-
...params,
|
|
93
|
-
autoComplete,
|
|
94
|
-
fullWidth: true,
|
|
80
|
+
slotProps: {
|
|
81
|
+
textField: {
|
|
95
82
|
error: !!error,
|
|
96
|
-
helperText: error?.message
|
|
97
|
-
|
|
98
|
-
|
|
83
|
+
helperText: error?.message
|
|
84
|
+
},
|
|
85
|
+
field: {
|
|
86
|
+
format: datetimeFormat
|
|
87
|
+
}
|
|
99
88
|
}
|
|
100
89
|
});
|
|
101
90
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { styled } from "@mui/material";
|
|
2
2
|
import { useFormContext, Controller } from "react-hook-form";
|
|
3
|
-
import { E as ErrorLabel } from "../../ErrorLabel/index.
|
|
4
|
-
import { P as Period } from "../../Period/index.
|
|
3
|
+
import { E as ErrorLabel } from "../../ErrorLabel/index.12994bff.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.4f6e419d.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|