@m4l/components 0.1.59 → 0.1.60
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.5852dbc5.js → index.c4054a25.js} +11 -11
- package/components/CommonActions/components/ActionIntro/{index.12e8f032.js → index.56a0dcf9.js} +1 -1
- package/components/CommonActions/components/Actions/{index.63c3d3a3.js → index.06b651ab.js} +10 -10
- package/components/DataGrid/dictionary.d.ts +5 -2
- package/components/DataGrid/{index.947577ed.js → index.b06e687e.js} +33 -20
- package/components/DynamicFilter/{index.7843c415.js → index.ceabc6b6.js} +21 -21
- package/components/ErrorLabel/{index.908fb555.js → index.e140421c.js} +3 -3
- package/components/LanguagePopover/{index.14d4d878.js → index.df9b47a6.js} +3 -3
- package/components/ModalDialog/{index.708aa5a5.js → index.99cde79e.js} +2 -2
- package/components/ObjectLogs/{index.389c3814.js → index.db704dfe.js} +13 -13
- package/components/Period/{index.5494a974.js → index.0ffcbec1.js} +11 -11
- package/components/areas/components/AreasAdmin/{index.4f8dffdd.js → index.1a331d66.js} +4 -4
- package/components/areas/components/AreasContainer/{index.1658078b.js → index.ff33521a.js} +2 -2
- package/components/areas/components/GridLayout/{index.55821687.js → index.c6c8e0d5.js} +4 -4
- package/components/areas/components/Window/icons.d.ts +3 -0
- package/components/areas/components/Window/{index.8cfef0db.js → index.735d6080.js} +29 -26
- package/components/areas/components/WindowPopUp/{index.54401e43.js → index.037ecadd.js} +26 -26
- package/components/areas/components/{index.c299e20f.js → index.37fd13b9.js} +8 -8
- package/components/areas/contexts/AreaContext/{index.d497504c.js → index.b67ffbb9.js} +1 -1
- package/components/areas/contexts/AreasContext/{index.002c04af.js → index.5e4e0c5d.js} +1 -1
- package/components/areas/contexts/{index.6bee8850.js → index.065f1714.js} +1 -1
- package/components/areas/hooks/{index.cb80f6a9.js → index.75b5ba77.js} +1 -1
- package/components/areas/hooks/useArea/{index.91e7484b.js → index.59bd8d21.js} +2 -2
- package/components/areas/{index.c9c73495.js → index.de327843.js} +6 -6
- package/components/formatters/BooleanFormatter/dictionary.d.ts +7 -0
- package/components/formatters/BooleanFormatter/{index.a50933fb.js → index.bf947220.js} +16 -3
- package/components/formatters/PeriodFormatter/dictionary.d.ts +9 -0
- package/components/formatters/dictionary.d.ts +1 -8
- package/components/formatters/{index.7d2ad9ca.js → index.12ac825b.js} +25 -25
- package/components/hook-form/RHFAutocomplete/{index.8eab6160.js → index.89e7963b.js} +1 -1
- package/components/hook-form/RHFAutocompleteAsync/{index.5be8b7a8.js → index.89cba5be.js} +1 -1
- package/components/hook-form/RHFCheckbox/{index.da7bc824.js → index.6e80f572.js} +1 -1
- package/components/hook-form/RHFPeriod/{index.19ef4171.js → index.60c2cc90.js} +2 -2
- package/components/hook-form/RHFTextField/{index.3f6a18e3.js → index.b172f4a8.js} +2 -2
- package/components/modal/{WindowBase.545521d2.js → WindowBase.d1e40422.js} +1 -1
- package/components/modal/{WindowConfirm.547d3fa0.js → WindowConfirm.897eb532.js} +11 -11
- package/components/modal/{index.1da0fe8f.js → index.342c37d1.js} +11 -11
- package/components/mui_extended/Accordion/{index.002bad72.js → index.725a10af.js} +1 -1
- package/components/mui_extended/IconButton/{index.460c0476.js → index.afa201a7.js} +1 -0
- package/components/mui_extended/Pager/{index.458f9f0d.js → index.d4d1a1a0.js} +1 -1
- package/components/mui_extended/{index.5095705d.js → index.9ce0bca3.js} +3 -3
- package/contexts/ModalContext/{index.5a9041b8.js → index.f215bf0b.js} +1 -1
- package/hooks/useModal/{index.404c0539.js → index.e338782f.js} +1 -1
- package/index.js +62 -68
- package/package.json +1 -1
- package/{vendor.c2aabf37.js → vendor.925c029e.js} +30 -30
|
@@ -7,70 +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.37fd13b9.js";
|
|
11
|
+
import "../AreasAdmin/index.1a331d66.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.afa201a7.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../../contexts/AreasContext/index.
|
|
15
|
+
import "../../contexts/AreasContext/index.5e4e0c5d.js";
|
|
16
16
|
import { shallow } from "zustand/shallow";
|
|
17
|
-
import "../AreasContainer/index.
|
|
17
|
+
import "../AreasContainer/index.ff33521a.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
19
|
import "../../../../react-resizable.b620abed.js";
|
|
20
|
-
import { W as WindowToolsMFProvider, a as WindowMFProvider } from "../../contexts/index.
|
|
20
|
+
import { W as WindowToolsMFProvider, a as WindowMFProvider } from "../../contexts/index.065f1714.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.89e7963b.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.6e80f572.js";
|
|
27
|
+
import "../../../mui_extended/Accordion/index.725a10af.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.8ed52492.js";
|
|
33
33
|
import { M as MenuActions } from "../../../mui_extended/MenuActions/index.1affe51a.js";
|
|
34
|
-
import "../../../mui_extended/Pager/index.
|
|
34
|
+
import "../../../mui_extended/Pager/index.d4d1a1a0.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.e140421c.js";
|
|
38
38
|
import "@mui/x-date-pickers";
|
|
39
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.
|
|
41
|
+
import "../../../hook-form/RHFTextField/index.b172f4a8.js";
|
|
42
|
+
import "../../../hook-form/RHFPeriod/index.60c2cc90.js";
|
|
43
|
+
import "../../../Period/index.0ffcbec1.js";
|
|
44
|
+
import "../../../CommonActions/components/Actions/index.06b651ab.js";
|
|
45
|
+
import "../../../../contexts/ModalContext/index.f215bf0b.js";
|
|
46
46
|
import { c as cjs } from "../../../../react-draggable.6471b07e.js";
|
|
47
|
-
import "../../../ModalDialog/index.
|
|
47
|
+
import "../../../ModalDialog/index.99cde79e.js";
|
|
48
48
|
import { R as ResizeableWindow } from "../../../Resizeable/index.04fa8de5.js";
|
|
49
|
-
import "../../../modal/WindowConfirm.
|
|
50
|
-
import "../../../modal/WindowBase.
|
|
49
|
+
import "../../../modal/WindowConfirm.897eb532.js";
|
|
50
|
+
import "../../../modal/WindowBase.d1e40422.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.b06e687e.js";
|
|
55
55
|
import "react-dnd";
|
|
56
56
|
import "react-dnd-html5-backend";
|
|
57
|
-
import "../../../DynamicFilter/index.
|
|
57
|
+
import "../../../DynamicFilter/index.ceabc6b6.js";
|
|
58
58
|
import "../../../ScrollBar/index.35ebe9a1.js";
|
|
59
59
|
import "yup";
|
|
60
60
|
import "clsx";
|
|
61
61
|
import "@hookform/resolvers/yup";
|
|
62
62
|
import "../../../../contexts/RHFormContext/index.3dc6e2f5.js";
|
|
63
|
-
import "../../../LanguagePopover/index.
|
|
63
|
+
import "../../../LanguagePopover/index.df9b47a6.js";
|
|
64
64
|
import "../../../NoItemSelected/index.9636ec8a.js";
|
|
65
|
-
import "../../../ObjectLogs/index.
|
|
65
|
+
import "../../../ObjectLogs/index.db704dfe.js";
|
|
66
66
|
import "../../../../react-json-view.57125fcf.js";
|
|
67
67
|
import "../../../PaperForm/index.3cdac885.js";
|
|
68
68
|
import "../../../Page/index.4237c241.js";
|
|
69
69
|
import "../../../PropertyValue/index.dfcfe1ba.js";
|
|
70
70
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
71
71
|
import "../../../SplitLayout/index.5a8355d8.js";
|
|
72
|
-
import { a as useAreaStore } from "../../hooks/useArea/index.
|
|
73
|
-
import { a as useWindow, b as useWindowStore } from "../../hooks/index.
|
|
72
|
+
import { a as useAreaStore } from "../../hooks/useArea/index.59bd8d21.js";
|
|
73
|
+
import { a as useWindow, b as useWindowStore } from "../../hooks/index.75b5ba77.js";
|
|
74
74
|
import { L as LinearProgress } from "../../../mui_extended/LinearProgress/index.c92b9ba9.js";
|
|
75
75
|
import { v as varBounce } from "../../../animate/variants/bounce.784aaaaa.js";
|
|
76
76
|
const WrapperWindow = styled("div", {
|
|
@@ -287,6 +287,9 @@ function SKTModuleHeader() {
|
|
|
287
287
|
})]
|
|
288
288
|
});
|
|
289
289
|
}
|
|
290
|
+
const icons = {
|
|
291
|
+
CLOSE: "close.svg"
|
|
292
|
+
};
|
|
290
293
|
function getMenuActions(isDesktop, moduleActions) {
|
|
291
294
|
let menuActions = [...moduleActions.filter((action) => action.visibility !== "allways")];
|
|
292
295
|
if (isDesktop !== void 0 && isDesktop) {
|
|
@@ -383,7 +386,7 @@ function Header() {
|
|
|
383
386
|
}), onClose && /* @__PURE__ */ jsx(IconButton, {
|
|
384
387
|
onClick: onCloseLocal,
|
|
385
388
|
"aria-label": "click",
|
|
386
|
-
src: `${host_static_assets}/${environment_assets}/frontend/
|
|
389
|
+
src: `${host_static_assets}/${environment_assets}/frontend/commons/assets/icons/${icons.CLOSE}`
|
|
387
390
|
}), isDesktop && /* @__PURE__ */ jsx(Button, {
|
|
388
391
|
onClick: maxNormalize,
|
|
389
392
|
"aria-label": "click",
|
|
@@ -7,71 +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.37fd13b9.js";
|
|
11
|
+
import "../AreasAdmin/index.1a331d66.js";
|
|
12
12
|
import "@m4l/core";
|
|
13
|
-
import "../../../mui_extended/IconButton/index.
|
|
13
|
+
import "../../../mui_extended/IconButton/index.afa201a7.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../../contexts/AreasContext/index.
|
|
15
|
+
import "../../contexts/AreasContext/index.5e4e0c5d.js";
|
|
16
16
|
import "zustand/shallow";
|
|
17
|
-
import "../AreasContainer/index.
|
|
17
|
+
import "../AreasContainer/index.ff33521a.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
19
|
import "../../../../react-resizable.b620abed.js";
|
|
20
|
-
import "../../contexts/index.
|
|
20
|
+
import "../../contexts/index.065f1714.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.89e7963b.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.6e80f572.js";
|
|
27
|
+
import "../../../mui_extended/Accordion/index.725a10af.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.8ed52492.js";
|
|
33
33
|
import "../../../mui_extended/MenuActions/index.1affe51a.js";
|
|
34
|
-
import "../../../mui_extended/Pager/index.
|
|
34
|
+
import "../../../mui_extended/Pager/index.d4d1a1a0.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.e140421c.js";
|
|
38
38
|
import "@mui/x-date-pickers";
|
|
39
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.
|
|
41
|
+
import "../../../hook-form/RHFTextField/index.b172f4a8.js";
|
|
42
|
+
import "../../../hook-form/RHFPeriod/index.60c2cc90.js";
|
|
43
|
+
import "../../../Period/index.0ffcbec1.js";
|
|
44
|
+
import "../../../CommonActions/components/Actions/index.06b651ab.js";
|
|
45
|
+
import "../../../../contexts/ModalContext/index.f215bf0b.js";
|
|
46
46
|
import "../../../../react-draggable.6471b07e.js";
|
|
47
|
-
import "../../../ModalDialog/index.
|
|
47
|
+
import "../../../ModalDialog/index.99cde79e.js";
|
|
48
48
|
import { R as ResizeableWindow } from "../../../Resizeable/index.04fa8de5.js";
|
|
49
|
-
import "../../../modal/WindowConfirm.
|
|
50
|
-
import "../../../modal/WindowBase.
|
|
49
|
+
import "../../../modal/WindowConfirm.897eb532.js";
|
|
50
|
+
import "../../../modal/WindowBase.d1e40422.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.b06e687e.js";
|
|
55
55
|
import "react-dnd";
|
|
56
56
|
import "react-dnd-html5-backend";
|
|
57
|
-
import "../../../DynamicFilter/index.
|
|
57
|
+
import "../../../DynamicFilter/index.ceabc6b6.js";
|
|
58
58
|
import "../../../ScrollBar/index.35ebe9a1.js";
|
|
59
59
|
import "yup";
|
|
60
60
|
import "clsx";
|
|
61
61
|
import "@hookform/resolvers/yup";
|
|
62
62
|
import "../../../../contexts/RHFormContext/index.3dc6e2f5.js";
|
|
63
|
-
import { D as DraggableWindow } from "../../../../vendor.
|
|
64
|
-
import "../../../LanguagePopover/index.
|
|
63
|
+
import { D as DraggableWindow } from "../../../../vendor.925c029e.js";
|
|
64
|
+
import "../../../LanguagePopover/index.df9b47a6.js";
|
|
65
65
|
import "../../../NoItemSelected/index.9636ec8a.js";
|
|
66
|
-
import "../../../ObjectLogs/index.
|
|
66
|
+
import "../../../ObjectLogs/index.db704dfe.js";
|
|
67
67
|
import "../../../../react-json-view.57125fcf.js";
|
|
68
68
|
import "../../../PaperForm/index.3cdac885.js";
|
|
69
69
|
import "../../../Page/index.4237c241.js";
|
|
70
70
|
import "../../../PropertyValue/index.dfcfe1ba.js";
|
|
71
71
|
import "../../../../react-splitter-layout.8b1655c8.js";
|
|
72
72
|
import "../../../SplitLayout/index.5a8355d8.js";
|
|
73
|
-
import { a as useAreaStore } from "../../hooks/useArea/index.
|
|
74
|
-
import { W as Window } from "../Window/index.
|
|
73
|
+
import { a as useAreaStore } from "../../hooks/useArea/index.59bd8d21.js";
|
|
74
|
+
import { W as Window } from "../Window/index.735d6080.js";
|
|
75
75
|
const WindowPopUp = (props) => {
|
|
76
76
|
const {
|
|
77
77
|
windowProps,
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { A as AreaProvider } from "../contexts/AreaContext/index.
|
|
1
|
+
import { A as AreaProvider } from "../contexts/AreaContext/index.b67ffbb9.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.c6c8e0d5.js";
|
|
4
|
+
import { a as useAreaStore } from "../hooks/useArea/index.59bd8d21.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.735d6080.js";
|
|
7
7
|
import { useResponsiveDesktop } from "@m4l/graphics";
|
|
8
|
-
import "./AreasAdmin/index.
|
|
8
|
+
import "./AreasAdmin/index.1a331d66.js";
|
|
9
9
|
import "react";
|
|
10
10
|
import "@m4l/core";
|
|
11
11
|
import "@mui/material";
|
|
12
12
|
import "../../Icon/index.b29ff2d9.js";
|
|
13
|
-
import "../../mui_extended/IconButton/index.
|
|
13
|
+
import "../../mui_extended/IconButton/index.afa201a7.js";
|
|
14
14
|
import "zustand";
|
|
15
|
-
import "../contexts/AreasContext/index.
|
|
15
|
+
import "../contexts/AreasContext/index.5e4e0c5d.js";
|
|
16
16
|
import "zustand/shallow";
|
|
17
|
-
import "./AreasContainer/index.
|
|
17
|
+
import "./AreasContainer/index.ff33521a.js";
|
|
18
18
|
import "react-grid-layout/css/styles.css";
|
|
19
19
|
import "../../../react-resizable.b620abed.js";
|
|
20
20
|
const WrapperArea = styled("div", {
|
|
@@ -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.59bd8d21.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.de327843.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.5e4e0c5d.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.065f1714.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.5e4e0c5d.js";
|
|
4
|
+
import { a as AreaContext } from "../../contexts/AreaContext/index.b67ffbb9.js";
|
|
5
5
|
function useAreasStore(selector, equalityFn) {
|
|
6
6
|
const context = useContext(AreasContext);
|
|
7
7
|
if (!context)
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import "./components/index.
|
|
2
|
-
import "./components/AreasAdmin/index.
|
|
1
|
+
import "./components/index.37fd13b9.js";
|
|
2
|
+
import "./components/AreasAdmin/index.1a331d66.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import "@m4l/core";
|
|
5
5
|
import "@mui/material";
|
|
6
6
|
import "../Icon/index.b29ff2d9.js";
|
|
7
7
|
import "@mui/material/styles";
|
|
8
8
|
import "react/jsx-runtime";
|
|
9
|
-
import "../mui_extended/IconButton/index.
|
|
9
|
+
import "../mui_extended/IconButton/index.afa201a7.js";
|
|
10
10
|
import "zustand";
|
|
11
|
-
import "./contexts/AreasContext/index.
|
|
11
|
+
import "./contexts/AreasContext/index.5e4e0c5d.js";
|
|
12
12
|
import "zustand/shallow";
|
|
13
|
-
import "./components/AreasContainer/index.
|
|
13
|
+
import "./components/AreasContainer/index.ff33521a.js";
|
|
14
14
|
import "react-grid-layout/css/styles.css";
|
|
15
15
|
import "../../react-resizable.b620abed.js";
|
|
16
|
-
import "./contexts/index.
|
|
16
|
+
import "./contexts/index.065f1714.js";
|
|
17
17
|
import "./contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
18
18
|
const LABEL_NEW_AREA = "label_new_area";
|
|
19
19
|
export {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
export declare const BOOLEAN_FORMATTER_DICTIONARY_KEY = "boolean_formatter";
|
|
2
|
+
export declare const LABEL_BOOLEAN_YES: string;
|
|
3
|
+
export declare const LABEL_BOOLEAN_NO: string;
|
|
4
|
+
export declare const LABEL_BOOLEAN_TRUE: string;
|
|
5
|
+
export declare const LABEL_BOOLEAN_FALSE: string;
|
|
6
|
+
export declare function getFormattersComponentsDictionary(): string;
|
|
7
|
+
export declare const BOOLEAN_FORMATTER_DICTIONARY_LABELS: string[];
|
|
@@ -3,6 +3,17 @@ import { useModuleDictionary, useEnvironment } from "@m4l/core";
|
|
|
3
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
|
+
const BOOLEAN_FORMATTER_DICTIONARY_KEY = `boolean_formatter`;
|
|
7
|
+
const LABEL_BOOLEAN_YES = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_yes`;
|
|
8
|
+
const LABEL_BOOLEAN_NO = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_no`;
|
|
9
|
+
const LABEL_BOOLEAN_TRUE = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_true`;
|
|
10
|
+
const LABEL_BOOLEAN_FALSE = `${BOOLEAN_FORMATTER_DICTIONARY_KEY}.boolean_false`;
|
|
11
|
+
const BOOLEAN_FORMATTER_DICTIONARY_LABELS = [
|
|
12
|
+
LABEL_BOOLEAN_YES,
|
|
13
|
+
LABEL_BOOLEAN_NO,
|
|
14
|
+
LABEL_BOOLEAN_TRUE,
|
|
15
|
+
LABEL_BOOLEAN_FALSE
|
|
16
|
+
];
|
|
6
17
|
function BooleanFormatter(props) {
|
|
7
18
|
const {
|
|
8
19
|
presentationType,
|
|
@@ -22,12 +33,12 @@ function BooleanFormatter(props) {
|
|
|
22
33
|
const memoComponent = useMemo(() => {
|
|
23
34
|
if (presentationType === "string_yes_no") {
|
|
24
35
|
return /* @__PURE__ */ jsx(Component, {
|
|
25
|
-
children: final_value ? getLabel(
|
|
36
|
+
children: final_value ? getLabel(LABEL_BOOLEAN_YES) : getLabel(LABEL_BOOLEAN_NO)
|
|
26
37
|
});
|
|
27
38
|
}
|
|
28
39
|
if (presentationType === "string_true_false") {
|
|
29
40
|
return /* @__PURE__ */ jsx(Component, {
|
|
30
|
-
children: final_value ? getLabel(
|
|
41
|
+
children: final_value ? getLabel(LABEL_BOOLEAN_TRUE) : getLabel(LABEL_BOOLEAN_FALSE)
|
|
31
42
|
});
|
|
32
43
|
}
|
|
33
44
|
return /* @__PURE__ */ jsx(Component, {
|
|
@@ -40,5 +51,7 @@ function BooleanFormatter(props) {
|
|
|
40
51
|
return memoComponent;
|
|
41
52
|
}
|
|
42
53
|
export {
|
|
43
|
-
BooleanFormatter as B
|
|
54
|
+
BooleanFormatter as B,
|
|
55
|
+
BOOLEAN_FORMATTER_DICTIONARY_KEY as a,
|
|
56
|
+
BOOLEAN_FORMATTER_DICTIONARY_LABELS as b
|
|
44
57
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const PERIOD_FORMATTER_DICTIONARY_KEY = "period_formatter";
|
|
2
|
+
export declare const LABEL_YEARS: string;
|
|
3
|
+
export declare const LABEL_YEAR: string;
|
|
4
|
+
export declare const LABEL_MONTHS: string;
|
|
5
|
+
export declare const LABEL_MONTH: string;
|
|
6
|
+
export declare const LABEL_DAYS: string;
|
|
7
|
+
export declare const LABEL_DAY: string;
|
|
8
|
+
export declare function getFormattersComponentsDictionary(): string;
|
|
9
|
+
export declare const PERIOD_FORMATTER_DICTIONARY_LABELS: string[];
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import { Dictionary } from '@m4l/core';
|
|
2
1
|
export declare function getFormattersComponentsDictionary(): string[];
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const LABEL_YEARS = "formatters.label_years";
|
|
5
|
-
export declare const LABEL_YEAR = "formatters.label_year";
|
|
6
|
-
export declare const LABEL_MONTHS = "formatters.label_months";
|
|
7
|
-
export declare const LABEL_MONTH = "formatters.label_month";
|
|
8
|
-
export declare const LABEL_DAYS = "formatters.label_days";
|
|
9
|
-
export declare const LABEL_DAY = "formatters.label_day";
|
|
2
|
+
export declare const FORMATTER_DICTIONARY: string[];
|
|
@@ -6,6 +6,7 @@ import "../Icon/index.b29ff2d9.js";
|
|
|
6
6
|
import "@mui/material/styles";
|
|
7
7
|
import "@mui/material";
|
|
8
8
|
import "@m4l/graphics";
|
|
9
|
+
import { a as BOOLEAN_FORMATTER_DICTIONARY_KEY, b as BOOLEAN_FORMATTER_DICTIONARY_LABELS } from "./BooleanFormatter/index.bf947220.js";
|
|
9
10
|
function getFormatConcatenated(values, separator) {
|
|
10
11
|
const returnSymbol = "";
|
|
11
12
|
if (values === null)
|
|
@@ -42,23 +43,21 @@ function ConcatenatedFormatter(props) {
|
|
|
42
43
|
children: getFormatConcatenated(values, separator)
|
|
43
44
|
});
|
|
44
45
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
}
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
const LABEL_DAYS = "formatters.label_days";
|
|
61
|
-
const LABEL_DAY = "formatters.label_day";
|
|
46
|
+
const PERIOD_FORMATTER_DICTIONARY_KEY = `period_formatter`;
|
|
47
|
+
const LABEL_YEARS = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_years`;
|
|
48
|
+
const LABEL_YEAR = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_year`;
|
|
49
|
+
const LABEL_MONTHS = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_months`;
|
|
50
|
+
const LABEL_MONTH = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_month`;
|
|
51
|
+
const LABEL_DAYS = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_days`;
|
|
52
|
+
const LABEL_DAY = `${PERIOD_FORMATTER_DICTIONARY_KEY}.label_day`;
|
|
53
|
+
const PERIOD_FORMATTER_DICTIONARY_LABELS = [
|
|
54
|
+
LABEL_YEARS,
|
|
55
|
+
LABEL_YEAR,
|
|
56
|
+
LABEL_MONTHS,
|
|
57
|
+
LABEL_MONTH,
|
|
58
|
+
LABEL_DAYS,
|
|
59
|
+
LABEL_DAY
|
|
60
|
+
];
|
|
62
61
|
function getFormatPeriod(years, months, days) {
|
|
63
62
|
const {
|
|
64
63
|
getLabel
|
|
@@ -115,17 +114,18 @@ function PeriodFormatter(props) {
|
|
|
115
114
|
children: getFormatPeriod(years, months, days)
|
|
116
115
|
});
|
|
117
116
|
}
|
|
117
|
+
function getFormattersComponentsDictionary() {
|
|
118
|
+
return [
|
|
119
|
+
BOOLEAN_FORMATTER_DICTIONARY_KEY,
|
|
120
|
+
PERIOD_FORMATTER_DICTIONARY_KEY
|
|
121
|
+
];
|
|
122
|
+
}
|
|
123
|
+
const FORMATTER_DICTIONARY = BOOLEAN_FORMATTER_DICTIONARY_LABELS.concat(PERIOD_FORMATTER_DICTIONARY_LABELS);
|
|
118
124
|
export {
|
|
119
125
|
ConcatenatedFormatter as C,
|
|
120
|
-
|
|
126
|
+
FORMATTER_DICTIONARY as F,
|
|
121
127
|
PeriodFormatter as P,
|
|
122
128
|
getFormatPeriod as a,
|
|
123
129
|
getFormattersComponentsDictionary as b,
|
|
124
|
-
|
|
125
|
-
defaultFormattersDictionary as d,
|
|
126
|
-
LABEL_MONTHS as e,
|
|
127
|
-
LABEL_MONTH as f,
|
|
128
|
-
getFormatConcatenated as g,
|
|
129
|
-
LABEL_DAYS as h,
|
|
130
|
-
LABEL_DAY as i
|
|
130
|
+
getFormatConcatenated as g
|
|
131
131
|
};
|
|
@@ -5,7 +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.
|
|
8
|
+
import { T as TEST_PROP_ID } from "../../../vendor.925c029e.js";
|
|
9
9
|
const WrapperAutocomplete = styled("div")(({
|
|
10
10
|
theme
|
|
11
11
|
}) => ({
|
|
@@ -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.89e7963b.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.e140421c.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 { 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.e140421c.js";
|
|
4
|
+
import { P as Period } from "../../Period/index.0ffcbec1.js";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
const Wrapper = styled("div")(({
|
|
7
7
|
theme
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { useModuleSkeleton, useEnvironment } from "@m4l/core";
|
|
2
2
|
import { styled, Skeleton, generateUtilityClasses, TextField, generateUtilityClass, InputAdornment } from "@mui/material";
|
|
3
3
|
import { forwardRef, useState } from "react";
|
|
4
|
-
import { I as IconButton } from "../../mui_extended/IconButton/index.
|
|
4
|
+
import { I as IconButton } from "../../mui_extended/IconButton/index.afa201a7.js";
|
|
5
5
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
6
6
|
import "../../Icon/index.b29ff2d9.js";
|
|
7
7
|
import { styled as styled$1 } from "@mui/material/styles";
|
|
8
8
|
import { useFormContext, Controller } from "react-hook-form";
|
|
9
9
|
import { unstable_composeClasses } from "@mui/base";
|
|
10
10
|
import { g as getComponentUtilityClass } from "../../../utils/index.b6ae791a.js";
|
|
11
|
-
import { T as TEST_PROP_ID } from "../../../vendor.
|
|
11
|
+
import { T as TEST_PROP_ID } from "../../../vendor.925c029e.js";
|
|
12
12
|
const WrapperSkeletonRHFTextField = styled("div")(({
|
|
13
13
|
theme
|
|
14
14
|
}) => ({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.e338782f.js";
|
|
4
4
|
import { styled } from "@mui/material/styles";
|
|
5
5
|
import { b as getThemeVariantColor } from "../../utils/index.b6ae791a.js";
|
|
6
6
|
import { IconButton } from "@mui/material";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { useEnvironment } from "@m4l/core";
|
|
2
2
|
import "react";
|
|
3
|
-
import { u as useModal } from "../../hooks/useModal/index.
|
|
4
|
-
import { A as Actions } from "../CommonActions/components/Actions/index.
|
|
3
|
+
import { u as useModal } from "../../hooks/useModal/index.e338782f.js";
|
|
4
|
+
import { A as Actions } from "../CommonActions/components/Actions/index.06b651ab.js";
|
|
5
5
|
import { A as ActionCancel } from "../CommonActions/components/ActionCancel/index.a81752ef.js";
|
|
6
|
-
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.
|
|
6
|
+
import { A as ActionIntro } from "../CommonActions/components/ActionIntro/index.56a0dcf9.js";
|
|
7
7
|
import "react-hook-form";
|
|
8
8
|
import { Typography } from "@mui/material";
|
|
9
9
|
import "@mui/material/Button";
|
|
10
10
|
import "../mui_extended/Button/index.8406ed5b.js";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import "../../react-draggable.6471b07e.js";
|
|
13
|
-
import "../ModalDialog/index.
|
|
13
|
+
import "../ModalDialog/index.99cde79e.js";
|
|
14
14
|
import "../Resizeable/index.04fa8de5.js";
|
|
15
15
|
import "@m4l/graphics";
|
|
16
16
|
import { styled } from "@mui/material/styles";
|
|
17
17
|
import { I as Icon } from "../Icon/index.b29ff2d9.js";
|
|
18
18
|
import { c as getVariantColor } from "../../utils/index.b6ae791a.js";
|
|
19
|
-
import { W as WindowBase } from "./WindowBase.
|
|
20
|
-
import "../areas/components/index.
|
|
21
|
-
import "../areas/components/AreasAdmin/index.
|
|
22
|
-
import "../mui_extended/IconButton/index.
|
|
19
|
+
import { W as WindowBase } from "./WindowBase.d1e40422.js";
|
|
20
|
+
import "../areas/components/index.37fd13b9.js";
|
|
21
|
+
import "../areas/components/AreasAdmin/index.1a331d66.js";
|
|
22
|
+
import "../mui_extended/IconButton/index.afa201a7.js";
|
|
23
23
|
import "zustand";
|
|
24
|
-
import "../areas/contexts/AreasContext/index.
|
|
24
|
+
import "../areas/contexts/AreasContext/index.5e4e0c5d.js";
|
|
25
25
|
import "zustand/shallow";
|
|
26
|
-
import "../areas/components/AreasContainer/index.
|
|
26
|
+
import "../areas/components/AreasContainer/index.ff33521a.js";
|
|
27
27
|
import "react-grid-layout/css/styles.css";
|
|
28
28
|
import "../../react-resizable.b620abed.js";
|
|
29
|
-
import "../areas/contexts/index.
|
|
29
|
+
import "../areas/contexts/index.065f1714.js";
|
|
30
30
|
import "../areas/contexts/DynamicMFParmsContext/index.c19cb8cc.js";
|
|
31
31
|
import "@mui/lab";
|
|
32
32
|
const WrapperMessageIlustration = styled("div")(() => ({
|